libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb
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.DynamoDB.ListTagsOfResource

Description

List all tags on an Amazon DynamoDB resource. You can call ListTagsOfResource up to 10 times per second, per account.

For an overview on tagging DynamoDB resources, see Tagging for DynamoDB in the Amazon DynamoDB Developer Guide.

This operation returns paginated results.

Synopsis

Creating a Request

data ListTagsOfResource Source #

See: newListTagsOfResource smart constructor.

Constructors

ListTagsOfResource' 

Fields

  • nextToken :: Maybe Text

    An optional string that, if supplied, must be copied from the output of a previous call to ListTagOfResource. When provided in this manner, this API fetches the next page of results.

  • resourceArn :: Text

    The Amazon DynamoDB resource with tags to be listed. This value is an Amazon Resource Name (ARN).

Instances

Instances details
Eq ListTagsOfResource Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTagsOfResource

Read ListTagsOfResource Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTagsOfResource

Show ListTagsOfResource Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTagsOfResource

Generic ListTagsOfResource Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTagsOfResource

Associated Types

type Rep ListTagsOfResource :: Type -> Type #

NFData ListTagsOfResource Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTagsOfResource

Methods

rnf :: ListTagsOfResource -> () #

Hashable ListTagsOfResource Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTagsOfResource

ToJSON ListTagsOfResource Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTagsOfResource

AWSPager ListTagsOfResource Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTagsOfResource

AWSRequest ListTagsOfResource Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTagsOfResource

Associated Types

type AWSResponse ListTagsOfResource #

ToHeaders ListTagsOfResource Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTagsOfResource

ToPath ListTagsOfResource Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTagsOfResource

ToQuery ListTagsOfResource Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTagsOfResource

type Rep ListTagsOfResource Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTagsOfResource

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

Defined in Amazonka.DynamoDB.ListTagsOfResource

newListTagsOfResource Source #

Create a value of ListTagsOfResource 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:ListTagsOfResource', listTagsOfResource_nextToken - An optional string that, if supplied, must be copied from the output of a previous call to ListTagOfResource. When provided in this manner, this API fetches the next page of results.

$sel:resourceArn:ListTagsOfResource', listTagsOfResource_resourceArn - The Amazon DynamoDB resource with tags to be listed. This value is an Amazon Resource Name (ARN).

Request Lenses

listTagsOfResource_nextToken :: Lens' ListTagsOfResource (Maybe Text) Source #

An optional string that, if supplied, must be copied from the output of a previous call to ListTagOfResource. When provided in this manner, this API fetches the next page of results.

listTagsOfResource_resourceArn :: Lens' ListTagsOfResource Text Source #

The Amazon DynamoDB resource with tags to be listed. This value is an Amazon Resource Name (ARN).

Destructuring the Response

data ListTagsOfResourceResponse Source #

See: newListTagsOfResourceResponse smart constructor.

Constructors

ListTagsOfResourceResponse' 

Fields

  • nextToken :: Maybe Text

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

  • tags :: Maybe [Tag]

    The tags currently associated with the Amazon DynamoDB resource.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListTagsOfResourceResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTagsOfResource

Read ListTagsOfResourceResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTagsOfResource

Show ListTagsOfResourceResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTagsOfResource

Generic ListTagsOfResourceResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTagsOfResource

Associated Types

type Rep ListTagsOfResourceResponse :: Type -> Type #

NFData ListTagsOfResourceResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTagsOfResource

type Rep ListTagsOfResourceResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTagsOfResource

type Rep ListTagsOfResourceResponse = D1 ('MetaData "ListTagsOfResourceResponse" "Amazonka.DynamoDB.ListTagsOfResource" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "ListTagsOfResourceResponse'" '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))))

newListTagsOfResourceResponse Source #

Create a value of ListTagsOfResourceResponse 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:ListTagsOfResource', listTagsOfResourceResponse_nextToken - If this value is returned, there are additional results to be displayed. To retrieve them, call ListTagsOfResource again, with NextToken set to this value.

$sel:tags:ListTagsOfResourceResponse', listTagsOfResourceResponse_tags - The tags currently associated with the Amazon DynamoDB resource.

$sel:httpStatus:ListTagsOfResourceResponse', listTagsOfResourceResponse_httpStatus - The response's http status code.

Response Lenses

listTagsOfResourceResponse_nextToken :: Lens' ListTagsOfResourceResponse (Maybe Text) Source #

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

listTagsOfResourceResponse_tags :: Lens' ListTagsOfResourceResponse (Maybe [Tag]) Source #

The tags currently associated with the Amazon DynamoDB resource.