Add Tags To Resource

POST {{aws_database_migration_service_base_url}}/?Action=AddTagsToResource

Adds metadata tags to an AWS 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.

Request Params

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

Request Body

{"ResourceArn"=>"string", "Tags"=>[{"Key"=>"string", "Value"=>"string"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
X-Amz-Targetstring