untag_resource
¶
untag_resource(
resource_arn: str,
tag_keys: TagKeyList,
*,
config_overrides: Optional[PcaConnectorAdClientConfig] = None,
) -> None
Removes one or more tags from your resource.
Parameters:
-
resource_arn(str) –The Amazon Resource Name (ARN) that was returned when you created the resource.
-
tag_keys(TagKeyList) –Specifies a list of tag keys that you want to remove from the specified resources.
Raises:
-
AccessDeniedException–You can receive this error if you attempt to create a resource share when you don't have the required permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web Services account.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure with an internal server.
-
ResourceNotFoundException–The operation tried to access a nonexistent resource. The resource might not be specified correctly, or its status might not be ACTIVE.
-
ThrottlingException–The limit on the number of requests per second was exceeded.
-
ValidationException–An input validation error occurred. For example, invalid characters in a template name, or if a pagination token is invalid.
-
UnknownServiceError–The service returned an error code this client does not model.