ElasticsearchDestinationUpdate
public struct ElasticsearchDestinationUpdate : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The buffering options. If no value is specified, ElasticsearchBufferingHints object default values are used.
Declaration
Swift
public let bufferingHints: ElasticsearchBufferingHints?
-
The CloudWatch logging options for your delivery stream.
Declaration
Swift
public let cloudWatchLoggingOptions: CloudWatchLoggingOptions?
-
The endpoint to use when communicating with the cluster. Specify either this ClusterEndpoint or the DomainARN field.
Declaration
Swift
public let clusterEndpoint: String?
-
The ARN of the Amazon ES domain. The IAM role must have permissions for DescribeElasticsearchDomain, DescribeElasticsearchDomains, and DescribeElasticsearchDomainConfig after assuming the IAM role specified in RoleARN. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces. Specify either ClusterEndpoint or DomainARN.
Declaration
Swift
public let domainARN: String?
-
The Elasticsearch index name.
Declaration
Swift
public let indexName: String?
-
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 ES Destination. Default value is OneDay.
Declaration
Swift
public let indexRotationPeriod: ElasticsearchIndexRotationPeriod?
-
The data processing configuration.
Declaration
Swift
public let processingConfiguration: ProcessingConfiguration?
-
The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon ES. The default value is 300 (5 minutes).
Declaration
Swift
public let retryOptions: ElasticsearchRetryOptions?
-
The Amazon Resource Name (ARN) of the IAM role to be assumed by Kinesis Data Firehose for calling the Amazon ES Configuration API and for indexing documents. For more information, see Grant Kinesis Data Firehose Access to an Amazon S3 Destination and Amazon Resource Names (ARNs) and AWS Service Namespaces.
Declaration
Swift
public let roleARN: String?
-
The Amazon S3 destination.
Declaration
Swift
public let s3Update: S3DestinationUpdate?
-
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, Kinesis Data Firehose returns an error during runtime. If you upgrade Elasticsearch from 6.x to 7.x and don’t update your delivery stream, Kinesis Data Firehose still delivers data to Elasticsearch with the old index name and type name. If you want to update your delivery stream with a new index name, provide an empty string for TypeName.
Declaration
Swift
public let typeName: String?
-
init(bufferingHints:cloudWatchLoggingOptions:clusterEndpoint:domainARN:indexName:indexRotationPeriod:processingConfiguration:retryOptions:roleARN:s3Update:typeName:)
Undocumented
Declaration
Swift
public init(bufferingHints: ElasticsearchBufferingHints? = nil, cloudWatchLoggingOptions: CloudWatchLoggingOptions? = nil, clusterEndpoint: String? = nil, domainARN: String? = nil, indexName: String? = nil, indexRotationPeriod: ElasticsearchIndexRotationPeriod? = nil, processingConfiguration: ProcessingConfiguration? = nil, retryOptions: ElasticsearchRetryOptions? = nil, roleARN: String? = nil, s3Update: S3DestinationUpdate? = nil, typeName: String? = nil)
-
Declaration
Swift
public func validate(name: String) throws