untag_resource
async
¶
untag_resource(
resource_arn: ResourceArn,
tag_keys: TagKeyList,
*,
config_overrides: Optional[AsyncShieldClientConfig] = None,
) -> UntagResourceResponse
Removes tags from a resource in Shield.
Parameters:
-
resource_arn(ResourceArn) –The Amazon Resource Name (ARN) of the resource that you want to remove tags from.
-
tag_keys(TagKeyList) –The tag key for each tag that you want to remove from the resource.
Raises:
-
InternalErrorException–Exception that indicates that a problem occurred with the service infrastructure. You can retry the request.
-
InvalidParameterException–Exception that indicates that the parameters passed to the API are invalid. If available, this exception includes details in additional properties.
-
InvalidResourceException–Exception that indicates that the resource is invalid. You might not have access to the resource, or the resource might not exist.
-
ResourceNotFoundException–Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties.
-
UnknownServiceError–The service returned an error code this client does not model.