libZSservicesZSamazonka-docdbZSamazonka-docdb
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.DocumentDB.AddTagsToResource

Description

Adds metadata tags to an Amazon DocumentDB resource. You can use these tags with cost allocation reporting to track costs that are associated with Amazon DocumentDB resources or in a Condition statement in an Identity and Access Management (IAM) policy for Amazon DocumentDB.

Synopsis

Creating a Request

data AddTagsToResource Source #

Represents the input to AddTagsToResource.

See: newAddTagsToResource smart constructor.

Constructors

AddTagsToResource' 

Fields

  • resourceName :: Text

    The Amazon DocumentDB resource that the tags are added to. This value is an Amazon Resource Name .

  • tags :: [Tag]

    The tags to be assigned to the Amazon DocumentDB resource.

Instances

Instances details
Eq AddTagsToResource Source # 
Instance details

Defined in Amazonka.DocumentDB.AddTagsToResource

Read AddTagsToResource Source # 
Instance details

Defined in Amazonka.DocumentDB.AddTagsToResource

Show AddTagsToResource Source # 
Instance details

Defined in Amazonka.DocumentDB.AddTagsToResource

Generic AddTagsToResource Source # 
Instance details

Defined in Amazonka.DocumentDB.AddTagsToResource

Associated Types

type Rep AddTagsToResource :: Type -> Type #

NFData AddTagsToResource Source # 
Instance details

Defined in Amazonka.DocumentDB.AddTagsToResource

Methods

rnf :: AddTagsToResource -> () #

Hashable AddTagsToResource Source # 
Instance details

Defined in Amazonka.DocumentDB.AddTagsToResource

AWSRequest AddTagsToResource Source # 
Instance details

Defined in Amazonka.DocumentDB.AddTagsToResource

Associated Types

type AWSResponse AddTagsToResource #

ToHeaders AddTagsToResource Source # 
Instance details

Defined in Amazonka.DocumentDB.AddTagsToResource

ToPath AddTagsToResource Source # 
Instance details

Defined in Amazonka.DocumentDB.AddTagsToResource

ToQuery AddTagsToResource Source # 
Instance details

Defined in Amazonka.DocumentDB.AddTagsToResource

type Rep AddTagsToResource Source # 
Instance details

Defined in Amazonka.DocumentDB.AddTagsToResource

type Rep AddTagsToResource = D1 ('MetaData "AddTagsToResource" "Amazonka.DocumentDB.AddTagsToResource" "libZSservicesZSamazonka-docdbZSamazonka-docdb" 'False) (C1 ('MetaCons "AddTagsToResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Tag])))
type AWSResponse AddTagsToResource Source # 
Instance details

Defined in Amazonka.DocumentDB.AddTagsToResource

newAddTagsToResource Source #

Create a value of AddTagsToResource 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:resourceName:AddTagsToResource', addTagsToResource_resourceName - The Amazon DocumentDB resource that the tags are added to. This value is an Amazon Resource Name .

$sel:tags:AddTagsToResource', addTagsToResource_tags - The tags to be assigned to the Amazon DocumentDB resource.

Request Lenses

addTagsToResource_resourceName :: Lens' AddTagsToResource Text Source #

The Amazon DocumentDB resource that the tags are added to. This value is an Amazon Resource Name .

addTagsToResource_tags :: Lens' AddTagsToResource [Tag] Source #

The tags to be assigned to the Amazon DocumentDB resource.

Destructuring the Response

data AddTagsToResourceResponse Source #

See: newAddTagsToResourceResponse smart constructor.

Instances

Instances details
Eq AddTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.AddTagsToResource

Read AddTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.AddTagsToResource

Show AddTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.AddTagsToResource

Generic AddTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.AddTagsToResource

Associated Types

type Rep AddTagsToResourceResponse :: Type -> Type #

NFData AddTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.AddTagsToResource

type Rep AddTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.AddTagsToResource

type Rep AddTagsToResourceResponse = D1 ('MetaData "AddTagsToResourceResponse" "Amazonka.DocumentDB.AddTagsToResource" "libZSservicesZSamazonka-docdbZSamazonka-docdb" 'False) (C1 ('MetaCons "AddTagsToResourceResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newAddTagsToResourceResponse :: AddTagsToResourceResponse Source #

Create a value of AddTagsToResourceResponse with all optional fields omitted.

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