PaymentCryptographyControlPlane / Client / get_alias

get_alias#

PaymentCryptographyControlPlane.Client.get_alias(**kwargs)#

Gets the Amazon Web Services Payment Cryptography key associated with the alias.

Cross-account use: This operation can’t be used across different Amazon Web Services accounts.

Related operations:

  • CreateAlias

  • DeleteAlias

  • ListAliases

  • UpdateAlias

See also: AWS API Documentation

Request Syntax

response = client.get_alias(
    AliasName='string'
)
Parameters:

AliasName (string) –

[REQUIRED]

The alias of the Amazon Web Services Payment Cryptography key.

Return type:

dict

Returns:

Response Syntax

{
    'Alias': {
        'AliasName': 'string',
        'KeyArn': 'string'
    }
}

Response Structure

  • (dict) –

    • Alias (dict) –

      The alias of the Amazon Web Services Payment Cryptography key.

      • AliasName (string) –

        A friendly name that you can use to refer to a key. The value must begin with alias/.

        Warning

        Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.

      • KeyArn (string) –

        The KeyARN of the key associated with the alias.

Exceptions

  • PaymentCryptographyControlPlane.Client.exceptions.ServiceUnavailableException

  • PaymentCryptographyControlPlane.Client.exceptions.ValidationException

  • PaymentCryptographyControlPlane.Client.exceptions.AccessDeniedException

  • PaymentCryptographyControlPlane.Client.exceptions.ResourceNotFoundException

  • PaymentCryptographyControlPlane.Client.exceptions.ThrottlingException

  • PaymentCryptographyControlPlane.Client.exceptions.InternalServerException