Removes metadata tags from an DMS resource, including replication instance, endpoint, subnet group, and migration task. For more information, see Tag data type description.
See also: AWS API Documentation
Request Syntax
response = client.remove_tags_from_resource(
ResourceArn='string',
TagKeys=[
'string',
]
)
[REQUIRED]
An DMS resource from which you want to remove tag(s). The value for this parameter is an Amazon Resource Name (ARN).
[REQUIRED]
The tag key (name) of the tag to be removed.
dict
Response Syntax
{}
Response Structure
Exceptions
DatabaseMigrationService.Client.exceptions.ResourceNotFoundFault
Examples
Removes metadata tags from an AWS DMS resource.
response = client.remove_tags_from_resource(
ResourceArn='arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E',
TagKeys=[
],
)
print(response)
Expected Output:
{
'ResponseMetadata': {
'...': '...',
},
}