libZSservicesZSamazonka-iotZSamazonka-iot
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoT.Types.ElasticsearchAction

Description

 
Synopsis

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.

Constructors

ElasticsearchAction' 

Fields

  • roleArn :: Text

    The IAM role ARN that has access to OpenSearch.

  • endpoint :: Text

    The endpoint of your OpenSearch domain.

  • index :: Text

    The index where you want to store your data.

  • type' :: Text

    The type of document you are storing.

  • id :: Text

    The unique identifier for the document you are storing.

Instances

Instances details
Eq ElasticsearchAction Source # 
Instance details

Defined in Amazonka.IoT.Types.ElasticsearchAction

Read ElasticsearchAction Source # 
Instance details

Defined in Amazonka.IoT.Types.ElasticsearchAction

Show ElasticsearchAction Source # 
Instance details

Defined in Amazonka.IoT.Types.ElasticsearchAction

Generic ElasticsearchAction Source # 
Instance details

Defined in Amazonka.IoT.Types.ElasticsearchAction

Associated Types

type Rep ElasticsearchAction :: Type -> Type #

NFData ElasticsearchAction Source # 
Instance details

Defined in Amazonka.IoT.Types.ElasticsearchAction

Methods

rnf :: ElasticsearchAction -> () #

Hashable ElasticsearchAction Source # 
Instance details

Defined in Amazonka.IoT.Types.ElasticsearchAction

ToJSON ElasticsearchAction Source # 
Instance details

Defined in Amazonka.IoT.Types.ElasticsearchAction

FromJSON ElasticsearchAction Source # 
Instance details

Defined in Amazonka.IoT.Types.ElasticsearchAction

type Rep ElasticsearchAction Source # 
Instance details

Defined in Amazonka.IoT.Types.ElasticsearchAction

type Rep ElasticsearchAction = D1 ('MetaData "ElasticsearchAction" "Amazonka.IoT.Types.ElasticsearchAction" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "ElasticsearchAction'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "endpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

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.