libZSservicesZSamazonka-opensearchZSamazonka-opensearch
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.OpenSearch.ListTags

Description

Returns all tags for the given domain.

Synopsis

Creating a Request

data ListTags Source #

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

See: newListTags smart constructor.

Constructors

ListTags' 

Fields

  • arn :: Text

    Specify the ARN of the domain that the tags you want to view are attached to.

Instances

Instances details
Eq ListTags Source # 
Instance details

Defined in Amazonka.OpenSearch.ListTags

Read ListTags Source # 
Instance details

Defined in Amazonka.OpenSearch.ListTags

Show ListTags Source # 
Instance details

Defined in Amazonka.OpenSearch.ListTags

Generic ListTags Source # 
Instance details

Defined in Amazonka.OpenSearch.ListTags

Associated Types

type Rep ListTags :: Type -> Type #

Methods

from :: ListTags -> Rep ListTags x #

to :: Rep ListTags x -> ListTags #

NFData ListTags Source # 
Instance details

Defined in Amazonka.OpenSearch.ListTags

Methods

rnf :: ListTags -> () #

Hashable ListTags Source # 
Instance details

Defined in Amazonka.OpenSearch.ListTags

Methods

hashWithSalt :: Int -> ListTags -> Int #

hash :: ListTags -> Int #

AWSRequest ListTags Source # 
Instance details

Defined in Amazonka.OpenSearch.ListTags

Associated Types

type AWSResponse ListTags #

ToHeaders ListTags Source # 
Instance details

Defined in Amazonka.OpenSearch.ListTags

Methods

toHeaders :: ListTags -> [Header] #

ToPath ListTags Source # 
Instance details

Defined in Amazonka.OpenSearch.ListTags

ToQuery ListTags Source # 
Instance details

Defined in Amazonka.OpenSearch.ListTags

type Rep ListTags Source # 
Instance details

Defined in Amazonka.OpenSearch.ListTags

type Rep ListTags = D1 ('MetaData "ListTags" "Amazonka.OpenSearch.ListTags" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" 'False) (C1 ('MetaCons "ListTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse ListTags Source # 
Instance details

Defined in Amazonka.OpenSearch.ListTags

newListTags Source #

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:

$sel:arn:ListTags', listTags_arn - Specify the ARN of the domain that the tags you want to view are attached to.

Request Lenses

listTags_arn :: Lens' ListTags Text Source #

Specify the ARN of the domain that the tags you want to view are attached to.

Destructuring the Response

data ListTagsResponse Source #

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

See: newListTagsResponse smart constructor.

Constructors

ListTagsResponse' 

Fields

Instances

Instances details
Eq ListTagsResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.ListTags

Read ListTagsResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.ListTags

Show ListTagsResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.ListTags

Generic ListTagsResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.ListTags

Associated Types

type Rep ListTagsResponse :: Type -> Type #

NFData ListTagsResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.ListTags

Methods

rnf :: ListTagsResponse -> () #

type Rep ListTagsResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.ListTags

type Rep ListTagsResponse = D1 ('MetaData "ListTagsResponse" "Amazonka.OpenSearch.ListTags" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" '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 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 domain.

listTagsResponse_httpStatus :: Lens' ListTagsResponse Int Source #

The response's http status code.