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.OpenSearchAction

Description

 
Synopsis

Documentation

data OpenSearchAction Source #

Describes an action that writes data to an Amazon OpenSearch Service domain.

See: newOpenSearchAction smart constructor.

Constructors

OpenSearchAction' 

Fields

  • roleArn :: Text

    The IAM role ARN that has access to OpenSearch.

  • endpoint :: Text

    The endpoint of your OpenSearch domain.

  • index :: Text

    The OpenSearch 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 OpenSearchAction Source # 
Instance details

Defined in Amazonka.IoT.Types.OpenSearchAction

Read OpenSearchAction Source # 
Instance details

Defined in Amazonka.IoT.Types.OpenSearchAction

Show OpenSearchAction Source # 
Instance details

Defined in Amazonka.IoT.Types.OpenSearchAction

Generic OpenSearchAction Source # 
Instance details

Defined in Amazonka.IoT.Types.OpenSearchAction

Associated Types

type Rep OpenSearchAction :: Type -> Type #

NFData OpenSearchAction Source # 
Instance details

Defined in Amazonka.IoT.Types.OpenSearchAction

Methods

rnf :: OpenSearchAction -> () #

Hashable OpenSearchAction Source # 
Instance details

Defined in Amazonka.IoT.Types.OpenSearchAction

ToJSON OpenSearchAction Source # 
Instance details

Defined in Amazonka.IoT.Types.OpenSearchAction

FromJSON OpenSearchAction Source # 
Instance details

Defined in Amazonka.IoT.Types.OpenSearchAction

type Rep OpenSearchAction Source # 
Instance details

Defined in Amazonka.IoT.Types.OpenSearchAction

type Rep OpenSearchAction = D1 ('MetaData "OpenSearchAction" "Amazonka.IoT.Types.OpenSearchAction" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "OpenSearchAction'" '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)))))

newOpenSearchAction Source #

Create a value of OpenSearchAction 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:OpenSearchAction', openSearchAction_roleArn - The IAM role ARN that has access to OpenSearch.

$sel:endpoint:OpenSearchAction', openSearchAction_endpoint - The endpoint of your OpenSearch domain.

$sel:index:OpenSearchAction', openSearchAction_index - The OpenSearch index where you want to store your data.

$sel:type':OpenSearchAction', openSearchAction_type - The type of document you are storing.

$sel:id:OpenSearchAction', openSearchAction_id - The unique identifier for the document you are storing.

openSearchAction_roleArn :: Lens' OpenSearchAction Text Source #

The IAM role ARN that has access to OpenSearch.

openSearchAction_endpoint :: Lens' OpenSearchAction Text Source #

The endpoint of your OpenSearch domain.

openSearchAction_index :: Lens' OpenSearchAction Text Source #

The OpenSearch index where you want to store your data.

openSearchAction_type :: Lens' OpenSearchAction Text Source #

The type of document you are storing.

openSearchAction_id :: Lens' OpenSearchAction Text Source #

The unique identifier for the document you are storing.