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 ElasticsearchAction = ElasticsearchAction' {}
- newElasticsearchAction :: Text -> Text -> Text -> Text -> Text -> ElasticsearchAction
- elasticsearchAction_roleArn :: Lens' ElasticsearchAction Text
- elasticsearchAction_endpoint :: Lens' ElasticsearchAction Text
- elasticsearchAction_index :: Lens' ElasticsearchAction Text
- elasticsearchAction_type :: Lens' ElasticsearchAction Text
- elasticsearchAction_id :: Lens' ElasticsearchAction Text
Documentation
data ElasticsearchAction Source #
Describes an action that writes data to an Amazon OpenSearch Service domain.
The Elasticsearch
action can only be used by existing rule actions. To
create a new rule action or to update an existing rule action, use the
OpenSearch
rule action instead. For more information, see
OpenSearchAction.
See: newElasticsearchAction
smart constructor.
Instances
newElasticsearchAction Source #
Create a value of ElasticsearchAction
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:roleArn:ElasticsearchAction'
, elasticsearchAction_roleArn
- The IAM role ARN that has access to OpenSearch.
$sel:endpoint:ElasticsearchAction'
, elasticsearchAction_endpoint
- The endpoint of your OpenSearch domain.
$sel:index:ElasticsearchAction'
, elasticsearchAction_index
- The index where you want to store your data.
$sel:type':ElasticsearchAction'
, elasticsearchAction_type
- The type of document you are storing.
$sel:id:ElasticsearchAction'
, elasticsearchAction_id
- The unique identifier for the document you are storing.
elasticsearchAction_roleArn :: Lens' ElasticsearchAction Text Source #
The IAM role ARN that has access to OpenSearch.
elasticsearchAction_endpoint :: Lens' ElasticsearchAction Text Source #
The endpoint of your OpenSearch domain.
elasticsearchAction_index :: Lens' ElasticsearchAction Text Source #
The index where you want to store your data.
elasticsearchAction_type :: Lens' ElasticsearchAction Text Source #
The type of document you are storing.
elasticsearchAction_id :: Lens' ElasticsearchAction Text Source #
The unique identifier for the document you are storing.