untag_resource
async
¶
untag_resource(
resource_arn: ResourceArn,
tag_keys: TagKeyList,
*,
config_overrides: Optional[AsyncFMSClientConfig] = None,
) -> UntagResourceResponse
Removes one or more tags from an Amazon Web Services resource.
Parameters:
-
resource_arn(ResourceArn) –The Amazon Resource Name (ARN) of the resource to return tags for. The Firewall Manager resources that support tagging are policies, applications lists, and protocols lists.
-
tag_keys(TagKeyList) –The keys of the tags to remove from the resource.
Raises:
-
InternalErrorException–The operation failed because of a system problem, even though the request was valid. Retry your request.
-
InvalidInputException–The parameters of the request were invalid.
-
InvalidOperationException–The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have submitted an
AssociateAdminAccountrequest for an account ID that was already set as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by default, and that you need to enable for the Firewall Manager administrator account and for Organizations before you can access it. -
ResourceNotFoundException–The specified resource was not found.
-
UnknownServiceError–The service returned an error code this client does not model.