Module Values.AmazonopensearchserviceDestinationConfigurationSource

Describes the configuration of a destination in Amazon OpenSearch Service

Sourcetype nonrec t = {
  1. roleARN : RoleARN.t;
    (*

    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.

    *)
  2. domainARN : AmazonopensearchserviceDomainARN.t option;
    (*

    The ARN of the Amazon OpenSearch Service domain. The IAM role must have permissions for DescribeElasticsearchDomain, DescribeElasticsearchDomains, and DescribeElasticsearchDomainConfig after assuming the role specified in RoleARN.

    *)
  3. clusterEndpoint : AmazonopensearchserviceClusterEndpoint.t option;
    (*

    The endpoint to use when communicating with the cluster. Specify either this ClusterEndpoint or the DomainARN field.

    *)
  4. indexName : AmazonopensearchserviceIndexName.t;
    (*

    The ElasticsearAmazon OpenSearch Service index name.

    *)
  5. typeName : AmazonopensearchserviceTypeName.t option;
    (*

    The Amazon OpenSearch Service 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 run time.

    *)
  6. indexRotationPeriod : AmazonopensearchserviceIndexRotationPeriod.t option;
    (*

    The Amazon OpenSearch Service index rotation period. Index rotation appends a timestamp to the IndexName to facilitate the expiration of old data.

    *)
  7. bufferingHints : AmazonopensearchserviceBufferingHints.t option;
    (*

    The buffering options. If no value is specified, the default values for AmazonopensearchserviceBufferingHints are used.

    *)
  8. retryOptions : AmazonopensearchserviceRetryOptions.t option;
    (*

    The retry behavior in case Firehose is unable to deliver documents to Amazon OpenSearch Service. The default value is 300 (5 minutes).

    *)
  9. s3BackupMode : AmazonopensearchserviceS3BackupMode.t option;
    (*

    Defines how documents should be delivered to Amazon S3. When it is set to FailedDocumentsOnly, Firehose writes any documents that could not be indexed to the configured Amazon S3 destination, with AmazonOpenSearchService-failed/ appended to the key prefix. When set to AllDocuments, Firehose delivers all incoming records to Amazon S3, and also writes failed documents with AmazonOpenSearchService-failed/ appended to the prefix.

    *)
  10. s3Configuration : S3DestinationConfiguration.t;
  11. processingConfiguration : ProcessingConfiguration.t option;
  12. cloudWatchLoggingOptions : CloudWatchLoggingOptions.t option;
  13. vpcConfiguration : VpcConfiguration.t option;
  14. 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.

    *)
}
Sourceval context_ : string
Sourceval make : ?domainARN:??? -> ?clusterEndpoint:??? -> ?typeName:??? -> ?indexRotationPeriod:??? -> ?bufferingHints:??? -> ?retryOptions:??? -> ?s3BackupMode:??? -> ?processingConfiguration:??? -> ?cloudWatchLoggingOptions:??? -> ?vpcConfiguration:??? -> ?documentIdOptions:??? -> roleARN:RoleARN.t -> indexName:AmazonopensearchserviceIndexName.t -> s3Configuration:S3DestinationConfiguration.t -> unit -> t
Sourceval 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 AmazonopensearchserviceBufferingIntervalInSeconds.t | `List of [> `String of NonEmptyStringWithoutWhitespace.t | `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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t