PaymentCryptographyControlPlane / Client / untag_resource
untag_resource¶
- PaymentCryptographyControlPlane.Client.untag_resource(**kwargs)¶
Deletes a tag from an Amazon Web Services Payment Cryptography key.
Note
Tagging or untagging an Amazon Web Services Payment Cryptography key can allow or deny permission to the key.
Cross-account use: This operation supports cross-account use when the key has a resource-based policy that grants access. For more information, see Resource-based policies.
Related operations:
See also: AWS API Documentation
Request Syntax
response = client.untag_resource( ResourceArn='string', TagKeys=[ 'string', ] )
- Parameters:
ResourceArn (string) –
[REQUIRED]
The
KeyARNof the key whose tags are being removed.TagKeys (list) –
[REQUIRED]
One or more tag keys. Don’t include the tag values.
If the Amazon Web Services Payment Cryptography key doesn’t have the specified tag key, Amazon Web Services Payment Cryptography doesn’t throw an exception or return a response. To confirm that the operation succeeded, use the ListTagsForResource operation.
(string) –
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
PaymentCryptographyControlPlane.Client.exceptions.ServiceUnavailableExceptionPaymentCryptographyControlPlane.Client.exceptions.ValidationExceptionPaymentCryptographyControlPlane.Client.exceptions.ConflictExceptionPaymentCryptographyControlPlane.Client.exceptions.AccessDeniedExceptionPaymentCryptographyControlPlane.Client.exceptions.ResourceNotFoundExceptionPaymentCryptographyControlPlane.Client.exceptions.ThrottlingExceptionPaymentCryptographyControlPlane.Client.exceptions.InternalServerException