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.TagResource

Description

Associate a set of tags with an Amazon DynamoDB resource. You can then activate these user-defined tags so that they appear on the Billing and Cost Management console for cost allocation tracking. You can call TagResource up to five times per second, per account.

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

Synopsis

Creating a Request

data TagResource Source #

See: newTagResource smart constructor.

Constructors

TagResource' 

Fields

  • resourceArn :: Text

    Identifies the Amazon DynamoDB resource to which tags should be added. This value is an Amazon Resource Name (ARN).

  • tags :: [Tag]

    The tags to be assigned to the Amazon DynamoDB resource.

Instances

Instances details
Eq TagResource Source # 
Instance details

Defined in Amazonka.DynamoDB.TagResource

Read TagResource Source # 
Instance details

Defined in Amazonka.DynamoDB.TagResource

Show TagResource Source # 
Instance details

Defined in Amazonka.DynamoDB.TagResource

Generic TagResource Source # 
Instance details

Defined in Amazonka.DynamoDB.TagResource

Associated Types

type Rep TagResource :: Type -> Type #

NFData TagResource Source # 
Instance details

Defined in Amazonka.DynamoDB.TagResource

Methods

rnf :: TagResource -> () #

Hashable TagResource Source # 
Instance details

Defined in Amazonka.DynamoDB.TagResource

ToJSON TagResource Source # 
Instance details

Defined in Amazonka.DynamoDB.TagResource

AWSRequest TagResource Source # 
Instance details

Defined in Amazonka.DynamoDB.TagResource

Associated Types

type AWSResponse TagResource #

ToHeaders TagResource Source # 
Instance details

Defined in Amazonka.DynamoDB.TagResource

Methods

toHeaders :: TagResource -> [Header] #

ToPath TagResource Source # 
Instance details

Defined in Amazonka.DynamoDB.TagResource

ToQuery TagResource Source # 
Instance details

Defined in Amazonka.DynamoDB.TagResource

type Rep TagResource Source # 
Instance details

Defined in Amazonka.DynamoDB.TagResource

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

Defined in Amazonka.DynamoDB.TagResource

newTagResource Source #

Create a value of TagResource 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:TagResource', tagResource_resourceArn - Identifies the Amazon DynamoDB resource to which tags should be added. This value is an Amazon Resource Name (ARN).

$sel:tags:TagResource', tagResource_tags - The tags to be assigned to the Amazon DynamoDB resource.

Request Lenses

tagResource_resourceArn :: Lens' TagResource Text Source #

Identifies the Amazon DynamoDB resource to which tags should be added. This value is an Amazon Resource Name (ARN).

tagResource_tags :: Lens' TagResource [Tag] Source #

The tags to be assigned to the Amazon DynamoDB resource.

Destructuring the Response

data TagResourceResponse Source #

See: newTagResourceResponse smart constructor.

Constructors

TagResourceResponse' 

Instances

Instances details
Eq TagResourceResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.TagResource

Read TagResourceResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.TagResource

Show TagResourceResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.TagResource

Generic TagResourceResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.TagResource

Associated Types

type Rep TagResourceResponse :: Type -> Type #

NFData TagResourceResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.TagResource

Methods

rnf :: TagResourceResponse -> () #

type Rep TagResourceResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.TagResource

type Rep TagResourceResponse = D1 ('MetaData "TagResourceResponse" "Amazonka.DynamoDB.TagResource" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "TagResourceResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newTagResourceResponse :: TagResourceResponse Source #

Create a value of TagResourceResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.