Values.ElasticsearchDestinationUpdateSourceDescribes an update for a destination in Amazon OpenSearch Service.
type nonrec t = {roleARN : RoleARN.t option;The Amazon Resource Name (ARN) of the IAM role to be assumed by Firehose for calling the Amazon OpenSearch Service Configuration API and for indexing documents. For more information, see Grant Firehose Access to an Amazon S3 Destination and Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
*)domainARN : ElasticsearchDomainARN.t option;The ARN of the Amazon OpenSearch Service domain. The IAM role must have permissions for DescribeDomain, DescribeDomains, and DescribeDomainConfig after assuming the IAM role specified in RoleARN. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces. Specify either ClusterEndpoint or DomainARN.
*)clusterEndpoint : ElasticsearchClusterEndpoint.t option;The endpoint to use when communicating with the cluster. Specify either this ClusterEndpoint or the DomainARN field.
*)indexName : ElasticsearchIndexName.t option;The Elasticsearch index name.
*)typeName : ElasticsearchTypeName.t option;The Elasticsearch type name. For Elasticsearch 6.x, there can be only one type per index. If you try to specify a new type for an existing index that already has another type, Firehose returns an error during runtime. If you upgrade Elasticsearch from 6.x to 7.x and don’t update your Firehose stream, Firehose still delivers data to Elasticsearch with the old index name and type name. If you want to update your Firehose stream with a new index name, provide an empty string for TypeName.
*)indexRotationPeriod : ElasticsearchIndexRotationPeriod.t option;The Elasticsearch index rotation period. Index rotation appends a timestamp to IndexName to facilitate the expiration of old data. For more information, see Index Rotation for the Amazon OpenSearch Service Destination. Default value is OneDay.
*)bufferingHints : ElasticsearchBufferingHints.t option;The buffering options. If no value is specified, ElasticsearchBufferingHints object default values are used.
*)retryOptions : ElasticsearchRetryOptions.t option;The retry behavior in case Firehose is unable to deliver documents to Amazon OpenSearch Service. The default value is 300 (5 minutes).
*)s3Update : S3DestinationUpdate.t option;The Amazon S3 destination.
*)processingConfiguration : ProcessingConfiguration.t option;The data processing configuration.
*)cloudWatchLoggingOptions : CloudWatchLoggingOptions.t option;The CloudWatch logging options for your Firehose stream.
*)documentIdOptions : DocumentIdOptions.t option;Indicates the method for setting up document ID. The supported methods are Firehose generated document ID and OpenSearch Service generated document ID.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `String of RoleARN.t
| `Structure of
(string
* [> `Boolean of BooleanObject.t
| `Enum of string
| `Integer of ElasticsearchBufferingIntervalInSeconds.t
| `List of
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Enum of string
| `String of ProcessorParameterValue.t ])
list ]
list ])
list ]
list
| `String of RoleARN.t
| `Structure of
(string
* [> `Boolean of BooleanObject.t
| `Enum of string
| `Integer of SizeInMBs.t
| `String of LogGroupName.t
| `Structure of
(string * [> `String of AWSKMSKeyARN.t ]) list ])
list ])
list ])
list ]