untag_resource
async
¶
untag_resource(
resource_arn: Arn,
tag_keys: TagKeyList,
*,
config_overrides: Optional[AsyncECRPUBLICClientConfig] = None,
) -> UntagResourceResponse
Deletes specified tags from a resource.
Parameters:
-
resource_arn(Arn) –The Amazon Resource Name (ARN) of the resource to delete tags from. Currently, the supported resource is an Amazon ECR Public repository.
-
tag_keys(TagKeyList) –The keys of the tags to be removed.
Raises:
-
InvalidParameterException–The specified parameter is invalid. Review the available parameters for the API request.
-
InvalidTagParameterException–An invalid parameter has been specified. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
-
RepositoryNotFoundException–The specified repository can't be found. Check the spelling of the specified repository and ensure that you're performing operations on the correct registry.
-
ServerException–These errors are usually caused by a server-side issue.
-
TooManyTagsException–The list of tags on the repository is over the limit. The maximum number of tags that can be applied to a repository is 50.
-
UnsupportedCommandException–The action isn't supported in this Region.
-
UnknownServiceError–The service returned an error code this client does not model.