ACM / Client / remove_tags_from_certificate

remove_tags_from_certificate#

ACM.Client.remove_tags_from_certificate(**kwargs)#

Remove one or more tags from an ACM certificate. A tag consists of a key-value pair. If you do not specify the value portion of the tag when calling this function, 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 certificate, use the AddTagsToCertificate action. To view all of the tags that have been applied to a specific ACM certificate, use the ListTagsForCertificate action.

See also: AWS API Documentation

Request Syntax

response = client.remove_tags_from_certificate(
    CertificateArn='string',
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
)
Parameters:
  • CertificateArn (string) –

    [REQUIRED]

    String that contains the ARN of the ACM Certificate with one or more tags that you want to remove. This must be of the form:

    arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

    For more information about ARNs, see Amazon Resource Names (ARNs).

  • Tags (list) –

    [REQUIRED]

    The key-value pair that defines the tag to remove.

    • (dict) –

      A key-value pair that identifies or specifies metadata about an ACM resource.

      • Key (string) – [REQUIRED]

        The key of the tag.

      • Value (string) –

        The value of the tag.

Returns:

None

Exceptions

  • ACM.Client.exceptions.ResourceNotFoundException

  • ACM.Client.exceptions.InvalidArnException

  • ACM.Client.exceptions.InvalidTagException

  • ACM.Client.exceptions.TagPolicyException

  • ACM.Client.exceptions.InvalidParameterException

  • ACM.Client.exceptions.ThrottlingException