libZSservicesZSamazonka-dmsZSamazonka-dms
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.DMS.AddTagsToResource

Description

Adds metadata tags to an DMS resource, including replication instance, endpoint, security group, and migration task. These tags can also be used with cost allocation reporting to track cost associated with DMS resources, or used in a Condition statement in an IAM policy for DMS. For more information, see Tag data type description.

Synopsis

Creating a Request

data AddTagsToResource Source #

Associates a set of tags with an DMS resource.

See: newAddTagsToResource smart constructor.

Constructors

AddTagsToResource' 

Fields

  • resourceArn :: Text

    Identifies the DMS resource to which tags should be added. The value for this parameter is an Amazon Resource Name (ARN).

    For DMS, you can tag a replication instance, an endpoint, or a replication task.

  • tags :: [Tag]

    One or more tags to be assigned to the resource.

Instances

Instances details
Eq AddTagsToResource Source # 
Instance details

Defined in Amazonka.DMS.AddTagsToResource

Read AddTagsToResource Source # 
Instance details

Defined in Amazonka.DMS.AddTagsToResource

Show AddTagsToResource Source # 
Instance details

Defined in Amazonka.DMS.AddTagsToResource

Generic AddTagsToResource Source # 
Instance details

Defined in Amazonka.DMS.AddTagsToResource

Associated Types

type Rep AddTagsToResource :: Type -> Type #

NFData AddTagsToResource Source # 
Instance details

Defined in Amazonka.DMS.AddTagsToResource

Methods

rnf :: AddTagsToResource -> () #

Hashable AddTagsToResource Source # 
Instance details

Defined in Amazonka.DMS.AddTagsToResource

ToJSON AddTagsToResource Source # 
Instance details

Defined in Amazonka.DMS.AddTagsToResource

AWSRequest AddTagsToResource Source # 
Instance details

Defined in Amazonka.DMS.AddTagsToResource

Associated Types

type AWSResponse AddTagsToResource #

ToHeaders AddTagsToResource Source # 
Instance details

Defined in Amazonka.DMS.AddTagsToResource

ToPath AddTagsToResource Source # 
Instance details

Defined in Amazonka.DMS.AddTagsToResource

ToQuery AddTagsToResource Source # 
Instance details

Defined in Amazonka.DMS.AddTagsToResource

type Rep AddTagsToResource Source # 
Instance details

Defined in Amazonka.DMS.AddTagsToResource

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

Defined in Amazonka.DMS.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:resourceArn:AddTagsToResource', addTagsToResource_resourceArn - Identifies the DMS resource to which tags should be added. The value for this parameter is an Amazon Resource Name (ARN).

For DMS, you can tag a replication instance, an endpoint, or a replication task.

$sel:tags:AddTagsToResource', addTagsToResource_tags - One or more tags to be assigned to the resource.

Request Lenses

addTagsToResource_resourceArn :: Lens' AddTagsToResource Text Source #

Identifies the DMS resource to which tags should be added. The value for this parameter is an Amazon Resource Name (ARN).

For DMS, you can tag a replication instance, an endpoint, or a replication task.

addTagsToResource_tags :: Lens' AddTagsToResource [Tag] Source #

One or more tags to be assigned to the resource.

Destructuring the Response

data AddTagsToResourceResponse Source #

See: newAddTagsToResourceResponse smart constructor.

Constructors

AddTagsToResourceResponse' 

Fields

Instances

Instances details
Eq AddTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.DMS.AddTagsToResource

Read AddTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.DMS.AddTagsToResource

Show AddTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.DMS.AddTagsToResource

Generic AddTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.DMS.AddTagsToResource

Associated Types

type Rep AddTagsToResourceResponse :: Type -> Type #

NFData AddTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.DMS.AddTagsToResource

type Rep AddTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.DMS.AddTagsToResource

type Rep AddTagsToResourceResponse = D1 ('MetaData "AddTagsToResourceResponse" "Amazonka.DMS.AddTagsToResource" "libZSservicesZSamazonka-dmsZSamazonka-dms" 'False) (C1 ('MetaCons "AddTagsToResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAddTagsToResourceResponse Source #

Create a value of AddTagsToResourceResponse 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:httpStatus:AddTagsToResourceResponse', addTagsToResourceResponse_httpStatus - The response's http status code.

Response Lenses