libZSservicesZSamazonka-dynamodb-daxZSamazonka-dynamodb-dax
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.DAX.ListTags

Description

List all of the tags for a DAX cluster. You can call ListTags up to 10 times per second, per account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListTags Source #

See: newListTags smart constructor.

Constructors

ListTags' 

Fields

  • nextToken :: Maybe Text

    An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token.

  • resourceName :: Text

    The name of the DAX resource to which the tags belong.

Instances

Instances details
Eq ListTags Source # 
Instance details

Defined in Amazonka.DAX.ListTags

Read ListTags Source # 
Instance details

Defined in Amazonka.DAX.ListTags

Show ListTags Source # 
Instance details

Defined in Amazonka.DAX.ListTags

Generic ListTags Source # 
Instance details

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

Methods

rnf :: ListTags -> () #

Hashable ListTags Source # 
Instance details

Defined in Amazonka.DAX.ListTags

Methods

hashWithSalt :: Int -> ListTags -> Int #

hash :: ListTags -> Int #

ToJSON ListTags Source # 
Instance details

Defined in Amazonka.DAX.ListTags

AWSPager ListTags Source # 
Instance details

Defined in Amazonka.DAX.ListTags

AWSRequest ListTags Source # 
Instance details

Defined in Amazonka.DAX.ListTags

Associated Types

type AWSResponse ListTags #

ToHeaders ListTags Source # 
Instance details

Defined in Amazonka.DAX.ListTags

Methods

toHeaders :: ListTags -> [Header] #

ToPath ListTags Source # 
Instance details

Defined in Amazonka.DAX.ListTags

ToQuery ListTags Source # 
Instance details

Defined in Amazonka.DAX.ListTags

type Rep ListTags Source # 
Instance details

Defined in Amazonka.DAX.ListTags

type Rep ListTags = D1 ('MetaData "ListTags" "Amazonka.DAX.ListTags" "libZSservicesZSamazonka-dynamodb-daxZSamazonka-dynamodb-dax" 'False) (C1 ('MetaCons "ListTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse ListTags Source # 
Instance details

Defined in Amazonka.DAX.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:nextToken:ListTags', listTags_nextToken - An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token.

$sel:resourceName:ListTags', listTags_resourceName - The name of the DAX resource to which the tags belong.

Request Lenses

listTags_nextToken :: Lens' ListTags (Maybe Text) Source #

An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token.

listTags_resourceName :: Lens' ListTags Text Source #

The name of the DAX resource to which the tags belong.

Destructuring the Response

data ListTagsResponse Source #

See: newListTagsResponse smart constructor.

Constructors

ListTagsResponse' 

Fields

  • nextToken :: Maybe Text

    If this value is present, there are additional results to be displayed. To retrieve them, call ListTags again, with NextToken set to this value.

  • tags :: Maybe [Tag]

    A list of tags currently associated with the DAX cluster.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListTagsResponse Source # 
Instance details

Defined in Amazonka.DAX.ListTags

Read ListTagsResponse Source # 
Instance details

Defined in Amazonka.DAX.ListTags

Show ListTagsResponse Source # 
Instance details

Defined in Amazonka.DAX.ListTags

Generic ListTagsResponse Source # 
Instance details

Defined in Amazonka.DAX.ListTags

Associated Types

type Rep ListTagsResponse :: Type -> Type #

NFData ListTagsResponse Source # 
Instance details

Defined in Amazonka.DAX.ListTags

Methods

rnf :: ListTagsResponse -> () #

type Rep ListTagsResponse Source # 
Instance details

Defined in Amazonka.DAX.ListTags

type Rep ListTagsResponse = D1 ('MetaData "ListTagsResponse" "Amazonka.DAX.ListTags" "libZSservicesZSamazonka-dynamodb-daxZSamazonka-dynamodb-dax" 'False) (C1 ('MetaCons "ListTagsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") '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:nextToken:ListTags', listTagsResponse_nextToken - If this value is present, there are additional results to be displayed. To retrieve them, call ListTags again, with NextToken set to this value.

$sel:tags:ListTagsResponse', listTagsResponse_tags - A list of tags currently associated with the DAX cluster.

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

Response Lenses

listTagsResponse_nextToken :: Lens' ListTagsResponse (Maybe Text) Source #

If this value is present, there are additional results to be displayed. To retrieve them, call ListTags again, with NextToken set to this value.

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

A list of tags currently associated with the DAX cluster.

listTagsResponse_httpStatus :: Lens' ListTagsResponse Int Source #

The response's http status code.