libZSservicesZSamazonka-mqZSamazonka-mq
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.MQ.ListTags

Description

Lists tags for a resource.

Synopsis

Creating a Request

data ListTags Source #

See: newListTags smart constructor.

Constructors

ListTags' 

Fields

Instances

Instances details
Eq ListTags Source # 
Instance details

Defined in Amazonka.MQ.ListTags

Read ListTags Source # 
Instance details

Defined in Amazonka.MQ.ListTags

Show ListTags Source # 
Instance details

Defined in Amazonka.MQ.ListTags

Generic ListTags Source # 
Instance details

Defined in Amazonka.MQ.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.MQ.ListTags

Methods

rnf :: ListTags -> () #

Hashable ListTags Source # 
Instance details

Defined in Amazonka.MQ.ListTags

Methods

hashWithSalt :: Int -> ListTags -> Int #

hash :: ListTags -> Int #

AWSRequest ListTags Source # 
Instance details

Defined in Amazonka.MQ.ListTags

Associated Types

type AWSResponse ListTags #

ToHeaders ListTags Source # 
Instance details

Defined in Amazonka.MQ.ListTags

Methods

toHeaders :: ListTags -> [Header] #

ToPath ListTags Source # 
Instance details

Defined in Amazonka.MQ.ListTags

ToQuery ListTags Source # 
Instance details

Defined in Amazonka.MQ.ListTags

type Rep ListTags Source # 
Instance details

Defined in Amazonka.MQ.ListTags

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

Defined in Amazonka.MQ.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:resourceArn:ListTags', listTags_resourceArn - The Amazon Resource Name (ARN) of the resource tag.

Request Lenses

listTags_resourceArn :: Lens' ListTags Text Source #

The Amazon Resource Name (ARN) of the resource tag.

Destructuring the Response

data ListTagsResponse Source #

See: newListTagsResponse smart constructor.

Constructors

ListTagsResponse' 

Fields

Instances

Instances details
Eq ListTagsResponse Source # 
Instance details

Defined in Amazonka.MQ.ListTags

Read ListTagsResponse Source # 
Instance details

Defined in Amazonka.MQ.ListTags

Show ListTagsResponse Source # 
Instance details

Defined in Amazonka.MQ.ListTags

Generic ListTagsResponse Source # 
Instance details

Defined in Amazonka.MQ.ListTags

Associated Types

type Rep ListTagsResponse :: Type -> Type #

NFData ListTagsResponse Source # 
Instance details

Defined in Amazonka.MQ.ListTags

Methods

rnf :: ListTagsResponse -> () #

type Rep ListTagsResponse Source # 
Instance details

Defined in Amazonka.MQ.ListTags

type Rep ListTagsResponse = D1 ('MetaData "ListTagsResponse" "Amazonka.MQ.ListTags" "libZSservicesZSamazonka-mqZSamazonka-mq" 'False) (C1 ('MetaCons "ListTagsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: 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:tags:ListTagsResponse', listTagsResponse_tags - The key-value pair for the resource tag.

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

Response Lenses

listTagsResponse_tags :: Lens' ListTagsResponse (Maybe (HashMap Text Text)) Source #

The key-value pair for the resource tag.

listTagsResponse_httpStatus :: Lens' ListTagsResponse Int Source #

The response's http status code.