ComputeOptimizerAutomation / Client / untag_resource
untag_resource¶
- ComputeOptimizerAutomation.Client.untag_resource(**kwargs)¶
Removes tags from the specified resource.
See also: AWS API Documentation
Request Syntax
response = client.untag_resource( resourceArn='string', ruleRevision=123, tagKeys=[ 'string', ], clientToken='string' )
- Parameters:
resourceArn (string) –
[REQUIRED]
The ARN of the resource to untag.
ruleRevision (integer) –
[REQUIRED]
The revision number of the automation rule to untag. This ensures you’re untagging the correct version of the rule.
tagKeys (list) –
[REQUIRED]
The keys of the tags to remove from the resource.
(string) –
clientToken (string) –
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Must be 1-64 characters long and contain only alphanumeric characters, underscores, and hyphens.
This field is autopopulated if not provided.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
ComputeOptimizerAutomation.Client.exceptions.InvalidParameterValueExceptionComputeOptimizerAutomation.Client.exceptions.ForbiddenExceptionComputeOptimizerAutomation.Client.exceptions.OptInRequiredExceptionComputeOptimizerAutomation.Client.exceptions.ResourceNotFoundExceptionComputeOptimizerAutomation.Client.exceptions.ThrottlingExceptionComputeOptimizerAutomation.Client.exceptions.IdempotentParameterMismatchExceptionComputeOptimizerAutomation.Client.exceptions.AccessDeniedExceptionComputeOptimizerAutomation.Client.exceptions.InternalServerExceptionComputeOptimizerAutomation.Client.exceptions.ServiceUnavailableExceptionComputeOptimizerAutomation.Client.exceptions.IdempotencyTokenInUseException