MigrationHubRefactorSpaces / Client / untag_resource
untag_resource#
- MigrationHubRefactorSpaces.Client.untag_resource(**kwargs)#
Adds to or modifies the tags of the given resource. Tags are metadata which can be used to manage a resource. To untag a resource, the caller account must be the same as the resource’s
OwnerAccountId
. Untagging resources across accounts is not supported.See also: AWS API Documentation
Request Syntax
response = client.untag_resource( ResourceArn='string', TagKeys=[ 'string', ] )
- Parameters:
ResourceArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the resource.
TagKeys (list) –
[REQUIRED]
The list of keys of the tags to be removed from the resource.
(string) –
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
MigrationHubRefactorSpaces.Client.exceptions.ResourceNotFoundException
MigrationHubRefactorSpaces.Client.exceptions.InternalServerException
MigrationHubRefactorSpaces.Client.exceptions.ValidationException