Values.UpdateDestinationInputSourceUpdates the specified destination of the specified Firehose stream. Use this operation to change the destination type (for example, to replace the Amazon S3 destination with Amazon Redshift) or change the parameters associated with a destination (for example, to change the bucket name of the Amazon S3 destination). The update might not occur immediately. The target Firehose stream remains active while the configurations are updated, so data writes to the Firehose stream can continue during this process. The updated configurations are usually effective within a few minutes. Switching between Amazon OpenSearch Service and other services is not supported. For an Amazon OpenSearch Service destination, you can only update to another Amazon OpenSearch Service destination. If the destination type is the same, Firehose merges the configuration parameters specified with the destination configuration that already exists on the delivery stream. If any of the parameters are not specified in the call, the existing values are retained. For example, in the Amazon S3 destination, if EncryptionConfiguration is not specified, then the existing EncryptionConfiguration is maintained on the destination. If the destination type is not the same, for example, changing the destination from Amazon S3 to Amazon Redshift, Firehose does not merge any parameters. In this case, all parameters must be specified. Firehose uses CurrentDeliveryStreamVersionId to avoid race conditions and conflicting merges. This is a required field, and the service updates the configuration only if the existing configuration has a version ID that matches. After the update is applied successfully, the version ID is updated, and can be retrieved using DescribeDeliveryStream. Use the new version ID to set CurrentDeliveryStreamVersionId in the next call.
type nonrec t = {deliveryStreamName : DeliveryStreamName.t;The name of the Firehose stream.
*)currentDeliveryStreamVersionId : DeliveryStreamVersionId.t;Obtain this value from the VersionId result of DeliveryStreamDescription. This value is required, and helps the service perform conditional operations. For example, if there is an interleaving update and this value is null, then the update destination fails. After the update is successful, the VersionId value is updated. The service then performs a merge of the old configuration with the new configuration.
*)destinationId : DestinationId.t;The ID of the destination.
*)s3DestinationUpdate : S3DestinationUpdate.t option;[Deprecated] Describes an update for a destination in Amazon S3.
*)extendedS3DestinationUpdate : ExtendedS3DestinationUpdate.t option;Describes an update for a destination in Amazon S3.
*)redshiftDestinationUpdate : RedshiftDestinationUpdate.t option;Describes an update for a destination in Amazon Redshift.
*)elasticsearchDestinationUpdate : ElasticsearchDestinationUpdate.t option;Describes an update for a destination in Amazon OpenSearch Service.
*)amazonopensearchserviceDestinationUpdate : AmazonopensearchserviceDestinationUpdate.t
option;Describes an update for a destination in Amazon OpenSearch Service.
*)splunkDestinationUpdate : SplunkDestinationUpdate.t option;Describes an update for a destination in Splunk.
*)httpEndpointDestinationUpdate : HttpEndpointDestinationUpdate.t option;Describes an update to the specified HTTP endpoint destination.
*)amazonOpenSearchServerlessDestinationUpdate : AmazonOpenSearchServerlessDestinationUpdate.t
option;Describes an update for a destination in the Serverless offering for Amazon OpenSearch Service.
*)snowflakeDestinationUpdate : SnowflakeDestinationUpdate.t option;Update to the Snowflake destination configuration settings.
*)icebergDestinationUpdate : IcebergDestinationUpdate.t option;Describes an update for a destination in Apache Iceberg Tables.
*)}val make :
?s3DestinationUpdate:??? ->
?extendedS3DestinationUpdate:??? ->
?redshiftDestinationUpdate:??? ->
?elasticsearchDestinationUpdate:??? ->
?amazonopensearchserviceDestinationUpdate:??? ->
?splunkDestinationUpdate:??? ->
?httpEndpointDestinationUpdate:??? ->
?amazonOpenSearchServerlessDestinationUpdate:??? ->
?snowflakeDestinationUpdate:??? ->
?icebergDestinationUpdate:??? ->
deliveryStreamName:DeliveryStreamName.t ->
currentDeliveryStreamVersionId:DeliveryStreamVersionId.t ->
destinationId:DestinationId.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `String of DeliveryStreamName.t
| `Structure of
(string
* [> `Boolean of BooleanObject.t
| `Enum of string
| `Integer of HECAcknowledgmentTimeoutInSeconds.t
| `List of
[> `Structure of
(string
* [> `List of
[> `String of NonEmptyStringWithoutWhitespace.t ]
list
| `String of StringWithLettersDigitsUnderscoresDots.t
| `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `String of
NonEmptyStringWithoutWhitespace.t ])
list ]
list ])
list ])
list ]
list
| `String of RoleARN.t
| `Structure of
(string
* [> `Boolean of BooleanObject.t
| `Enum of string
| `Integer of SizeInMBs.t
| `List of
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Enum of string
| `String of ProcessorParameterValue.t ])
list ]
list
| `String of HttpEndpointAttributeName.t ])
list ]
list
| `String of LogGroupName.t
| `Structure of
(string
* [> `Boolean of BooleanObject.t
| `Enum of string
| `Integer of SizeInMBs.t
| `String of AWSKMSKeyARN.t
| `Structure of
(string
* [> `String of AWSKMSKeyARN.t
| `Structure of
(string
* [> `Boolean of BooleanObject.t
| `Double of Proportion.t
| `Enum of string
| `Integer of BlockSizeBytes.t
| `List of
[> `String of NonEmptyString.t ] list
| `Map of
([> `String of
NonEmptyStringWithoutWhitespace.t ]
* [> `String of NonEmptyString.t ])
list ])
list ])
list ])
list ])
list ])
list ])
list ]