amazonka-elasticsearch-2.0: Amazon Elasticsearch Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ElasticSearch.ListTags

Description

Returns all tags for the given Elasticsearch domain.

Synopsis

Creating a Request

data ListTags Source #

Container for the parameters to the ListTags operation. Specify the ARN for the Elasticsearch domain to which the tags are attached that you want to view are attached.

See: newListTags smart constructor.

Constructors

ListTags' 

Fields

  • arn :: Text

    Specify the ARN for the Elasticsearch domain to which the tags are attached that you want to view.

Instances

Instances details
ToHeaders ListTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListTags

Methods

toHeaders :: ListTags -> [Header] #

ToPath ListTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListTags

ToQuery ListTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListTags

AWSRequest ListTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListTags

Associated Types

type AWSResponse ListTags #

Generic ListTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListTags

Associated Types

type Rep ListTags :: Type -> Type #

Methods

from :: ListTags -> Rep ListTags x #

to :: Rep ListTags x -> ListTags #

Read ListTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListTags

Show ListTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListTags

NFData ListTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListTags

Methods

rnf :: ListTags -> () #

Eq ListTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListTags

Hashable ListTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListTags

Methods

hashWithSalt :: Int -> ListTags -> Int #

hash :: ListTags -> Int #

type AWSResponse ListTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListTags

type Rep ListTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListTags

type Rep ListTags = D1 ('MetaData "ListTags" "Amazonka.ElasticSearch.ListTags" "amazonka-elasticsearch-2.0-BmZjovliTfgJWgrJ3fCf5z" 'False) (C1 ('MetaCons "ListTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newListTags Source #

Arguments

:: Text

ListTags

-> ListTags 

Create a value of ListTags 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:

ListTags, listTags_arn - Specify the ARN for the Elasticsearch domain to which the tags are attached that you want to view.

Request Lenses

listTags_arn :: Lens' ListTags Text Source #

Specify the ARN for the Elasticsearch domain to which the tags are attached that you want to view.

Destructuring the Response

data ListTagsResponse Source #

The result of a ListTags operation. Contains tags for all requested Elasticsearch domains.

See: newListTagsResponse smart constructor.

Constructors

ListTagsResponse' 

Fields

Instances

Instances details
Generic ListTagsResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListTags

Associated Types

type Rep ListTagsResponse :: Type -> Type #

Read ListTagsResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListTags

Show ListTagsResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListTags

NFData ListTagsResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListTags

Methods

rnf :: ListTagsResponse -> () #

Eq ListTagsResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListTags

type Rep ListTagsResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListTags

type Rep ListTagsResponse = D1 ('MetaData "ListTagsResponse" "Amazonka.ElasticSearch.ListTags" "amazonka-elasticsearch-2.0-BmZjovliTfgJWgrJ3fCf5z" 'False) (C1 ('MetaCons "ListTagsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tagList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newListTagsResponse Source #

Create a value of ListTagsResponse 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:tagList:ListTagsResponse', listTagsResponse_tagList - List of Tag for the requested Elasticsearch domain.

$sel:httpStatus:ListTagsResponse', listTagsResponse_httpStatus - The response's http status code.

Response Lenses

listTagsResponse_tagList :: Lens' ListTagsResponse (Maybe [Tag]) Source #

List of Tag for the requested Elasticsearch domain.

listTagsResponse_httpStatus :: Lens' ListTagsResponse Int Source #

The response's http status code.