untag_certificate_authority
async
¶
untag_certificate_authority(
certificate_authority_arn: Arn,
tags: TagList,
*,
config_overrides: Optional[AsyncACMPCAClientConfig] = None,
) -> None
Remove one or more tags from your private CA. A tag consists of a key-value pair. If you do not specify the value portion of the tag when calling this action, the tag will be removed regardless of value. If you specify a value, the tag is removed only if it is associated with the specified value. To add tags to a private CA, use the TagCertificateAuthority. Call the ListTags action to see what tags are associated with your CA.
Parameters:
-
certificate_authority_arn(Arn) –The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must be of the form:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012 -
tags(TagList) –List of tags to be removed from the CA.
Raises:
-
InvalidArnException–The requested Amazon Resource Name (ARN) does not refer to an existing resource.
-
InvalidStateException–The state of the private CA does not allow this action to occur.
-
InvalidTagException–The tag associated with the CA is not valid. The invalid argument is contained in the message field.
-
ResourceNotFoundException–A resource such as a private CA, S3 bucket, certificate, audit report, or policy cannot be found.
-
UnknownServiceError–The service returned an error code this client does not model.