Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ElasticsearchDestinationUpdate = ElasticsearchDestinationUpdate' {
- indexRotationPeriod :: Maybe ElasticsearchIndexRotationPeriod
- typeName :: Maybe Text
- domainARN :: Maybe Text
- cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptions
- s3Update :: Maybe S3DestinationUpdate
- bufferingHints :: Maybe ElasticsearchBufferingHints
- retryOptions :: Maybe ElasticsearchRetryOptions
- processingConfiguration :: Maybe ProcessingConfiguration
- roleARN :: Maybe Text
- clusterEndpoint :: Maybe Text
- indexName :: Maybe Text
- newElasticsearchDestinationUpdate :: ElasticsearchDestinationUpdate
- elasticsearchDestinationUpdate_indexRotationPeriod :: Lens' ElasticsearchDestinationUpdate (Maybe ElasticsearchIndexRotationPeriod)
- elasticsearchDestinationUpdate_typeName :: Lens' ElasticsearchDestinationUpdate (Maybe Text)
- elasticsearchDestinationUpdate_domainARN :: Lens' ElasticsearchDestinationUpdate (Maybe Text)
- elasticsearchDestinationUpdate_cloudWatchLoggingOptions :: Lens' ElasticsearchDestinationUpdate (Maybe CloudWatchLoggingOptions)
- elasticsearchDestinationUpdate_s3Update :: Lens' ElasticsearchDestinationUpdate (Maybe S3DestinationUpdate)
- elasticsearchDestinationUpdate_bufferingHints :: Lens' ElasticsearchDestinationUpdate (Maybe ElasticsearchBufferingHints)
- elasticsearchDestinationUpdate_retryOptions :: Lens' ElasticsearchDestinationUpdate (Maybe ElasticsearchRetryOptions)
- elasticsearchDestinationUpdate_processingConfiguration :: Lens' ElasticsearchDestinationUpdate (Maybe ProcessingConfiguration)
- elasticsearchDestinationUpdate_roleARN :: Lens' ElasticsearchDestinationUpdate (Maybe Text)
- elasticsearchDestinationUpdate_clusterEndpoint :: Lens' ElasticsearchDestinationUpdate (Maybe Text)
- elasticsearchDestinationUpdate_indexName :: Lens' ElasticsearchDestinationUpdate (Maybe Text)
Documentation
data ElasticsearchDestinationUpdate Source #
Describes an update for a destination in Amazon ES.
See: newElasticsearchDestinationUpdate
smart constructor.
ElasticsearchDestinationUpdate' | |
|
Instances
newElasticsearchDestinationUpdate :: ElasticsearchDestinationUpdate Source #
Create a value of ElasticsearchDestinationUpdate
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:indexRotationPeriod:ElasticsearchDestinationUpdate'
, elasticsearchDestinationUpdate_indexRotationPeriod
- 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
.
$sel:typeName:ElasticsearchDestinationUpdate'
, elasticsearchDestinationUpdate_typeName
- 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
.
$sel:domainARN:ElasticsearchDestinationUpdate'
, elasticsearchDestinationUpdate_domainARN
- 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
.
$sel:cloudWatchLoggingOptions:ElasticsearchDestinationUpdate'
, elasticsearchDestinationUpdate_cloudWatchLoggingOptions
- The CloudWatch logging options for your delivery stream.
$sel:s3Update:ElasticsearchDestinationUpdate'
, elasticsearchDestinationUpdate_s3Update
- The Amazon S3 destination.
$sel:bufferingHints:ElasticsearchDestinationUpdate'
, elasticsearchDestinationUpdate_bufferingHints
- The buffering options. If no value is specified,
ElasticsearchBufferingHints
object default values are used.
$sel:retryOptions:ElasticsearchDestinationUpdate'
, elasticsearchDestinationUpdate_retryOptions
- The retry behavior in case Kinesis Data Firehose is unable to deliver
documents to Amazon ES. The default value is 300 (5 minutes).
$sel:processingConfiguration:ElasticsearchDestinationUpdate'
, elasticsearchDestinationUpdate_processingConfiguration
- The data processing configuration.
$sel:roleARN:ElasticsearchDestinationUpdate'
, elasticsearchDestinationUpdate_roleARN
- 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.
$sel:clusterEndpoint:ElasticsearchDestinationUpdate'
, elasticsearchDestinationUpdate_clusterEndpoint
- The endpoint to use when communicating with the cluster. Specify either
this ClusterEndpoint
or the DomainARN
field.
$sel:indexName:ElasticsearchDestinationUpdate'
, elasticsearchDestinationUpdate_indexName
- The Elasticsearch index name.
elasticsearchDestinationUpdate_indexRotationPeriod :: Lens' ElasticsearchDestinationUpdate (Maybe ElasticsearchIndexRotationPeriod) Source #
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
.
elasticsearchDestinationUpdate_typeName :: Lens' ElasticsearchDestinationUpdate (Maybe Text) Source #
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
.
elasticsearchDestinationUpdate_domainARN :: Lens' ElasticsearchDestinationUpdate (Maybe Text) Source #
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
.
elasticsearchDestinationUpdate_cloudWatchLoggingOptions :: Lens' ElasticsearchDestinationUpdate (Maybe CloudWatchLoggingOptions) Source #
The CloudWatch logging options for your delivery stream.
elasticsearchDestinationUpdate_s3Update :: Lens' ElasticsearchDestinationUpdate (Maybe S3DestinationUpdate) Source #
The Amazon S3 destination.
elasticsearchDestinationUpdate_bufferingHints :: Lens' ElasticsearchDestinationUpdate (Maybe ElasticsearchBufferingHints) Source #
The buffering options. If no value is specified,
ElasticsearchBufferingHints
object default values are used.
elasticsearchDestinationUpdate_retryOptions :: Lens' ElasticsearchDestinationUpdate (Maybe ElasticsearchRetryOptions) Source #
The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon ES. The default value is 300 (5 minutes).
elasticsearchDestinationUpdate_processingConfiguration :: Lens' ElasticsearchDestinationUpdate (Maybe ProcessingConfiguration) Source #
The data processing configuration.
elasticsearchDestinationUpdate_roleARN :: Lens' ElasticsearchDestinationUpdate (Maybe Text) Source #
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.
elasticsearchDestinationUpdate_clusterEndpoint :: Lens' ElasticsearchDestinationUpdate (Maybe Text) Source #
The endpoint to use when communicating with the cluster. Specify either
this ClusterEndpoint
or the DomainARN
field.
elasticsearchDestinationUpdate_indexName :: Lens' ElasticsearchDestinationUpdate (Maybe Text) Source #
The Elasticsearch index name.