libZSservicesZSamazonka-memorydbZSamazonka-memorydb
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.MemoryDb.ListTags

Description

Lists all tags currently on a named resource. A tag is a key-value pair where the key and value are case-sensitive. You can use tags to categorize and track your MemoryDB resources. For more information, see Tagging your MemoryDB resources

Synopsis

Creating a Request

data ListTags Source #

See: newListTags smart constructor.

Constructors

ListTags' 

Fields

  • resourceArn :: Text

    The Amazon Resource Name (ARN) of the resource for which you want the list of tags

Instances

Instances details
Eq ListTags Source # 
Instance details

Defined in Amazonka.MemoryDb.ListTags

Read ListTags Source # 
Instance details

Defined in Amazonka.MemoryDb.ListTags

Show ListTags Source # 
Instance details

Defined in Amazonka.MemoryDb.ListTags

Generic ListTags Source # 
Instance details

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

Methods

rnf :: ListTags -> () #

Hashable ListTags Source # 
Instance details

Defined in Amazonka.MemoryDb.ListTags

Methods

hashWithSalt :: Int -> ListTags -> Int #

hash :: ListTags -> Int #

ToJSON ListTags Source # 
Instance details

Defined in Amazonka.MemoryDb.ListTags

AWSRequest ListTags Source # 
Instance details

Defined in Amazonka.MemoryDb.ListTags

Associated Types

type AWSResponse ListTags #

ToHeaders ListTags Source # 
Instance details

Defined in Amazonka.MemoryDb.ListTags

Methods

toHeaders :: ListTags -> [Header] #

ToPath ListTags Source # 
Instance details

Defined in Amazonka.MemoryDb.ListTags

ToQuery ListTags Source # 
Instance details

Defined in Amazonka.MemoryDb.ListTags

type Rep ListTags Source # 
Instance details

Defined in Amazonka.MemoryDb.ListTags

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

Defined in Amazonka.MemoryDb.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 for which you want the list of tags

Request Lenses

listTags_resourceArn :: Lens' ListTags Text Source #

The Amazon Resource Name (ARN) of the resource for which you want the list of tags

Destructuring the Response

data ListTagsResponse Source #

See: newListTagsResponse smart constructor.

Constructors

ListTagsResponse' 

Fields

Instances

Instances details
Eq ListTagsResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.ListTags

Read ListTagsResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.ListTags

Show ListTagsResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.ListTags

Generic ListTagsResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.ListTags

Associated Types

type Rep ListTagsResponse :: Type -> Type #

NFData ListTagsResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.ListTags

Methods

rnf :: ListTagsResponse -> () #

type Rep ListTagsResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.ListTags

type Rep ListTagsResponse = D1 ('MetaData "ListTagsResponse" "Amazonka.MemoryDb.ListTags" "libZSservicesZSamazonka-memorydbZSamazonka-memorydb" '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 - A list of tags as key-value pairs.

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

Response Lenses

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

A list of tags as key-value pairs.

listTagsResponse_httpStatus :: Lens' ListTagsResponse Int Source #

The response's http status code.