PaymentCryptographyControlPlane / Client / get_default_key_replication_regions

get_default_key_replication_regions

PaymentCryptographyControlPlane.Client.get_default_key_replication_regions()

Retrieves the list of regions where default key replication is currently enabled for your account.

This operation returns the current configuration of default Replication Regions. New keys created in your account will be automatically replicated to these regions unless explicitly overridden during key creation.

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

Related operations:

See also: AWS API Documentation

Request Syntax

response = client.get_default_key_replication_regions()
Return type:

dict

Returns:

Response Syntax

{
    'EnabledReplicationRegions': [
        'string',
    ]
}

Response Structure

  • (dict) –

    Output containing the account’s current default key replication configuration.

    • EnabledReplicationRegions (list) –

      The list of regions where default key replication is currently enabled for the account.

      New keys created in this account will automatically be replicated to these regions unless explicitly configured otherwise during key creation.

      • (string) –

        An Amazon Web Services Region identifier in the standard format (e.g., us-east-1, eu-west-1).

        Used to specify regions for key replication operations. The region must be a valid Amazon Web Services Region where Amazon Web Services Payment Cryptography is available.

Exceptions

  • PaymentCryptographyControlPlane.Client.exceptions.ServiceQuotaExceededException

  • PaymentCryptographyControlPlane.Client.exceptions.ValidationException

  • PaymentCryptographyControlPlane.Client.exceptions.ConflictException

  • PaymentCryptographyControlPlane.Client.exceptions.AccessDeniedException

  • PaymentCryptographyControlPlane.Client.exceptions.ResourceNotFoundException

  • PaymentCryptographyControlPlane.Client.exceptions.ThrottlingException

  • PaymentCryptographyControlPlane.Client.exceptions.InternalServerException