aws_cryptographic_material_providers.smithygenerated.aws_cryptography_materialproviders.errors

Exceptions

ApiError(message)

Base error for all api errors in the service.

AwsCryptographicMaterialProvidersException(message)

AwsCryptographicPrimitives(message)

CollectionOfErrors(*, message, list)

ComAmazonawsDynamodb(message)

ComAmazonawsKms(message)

EntryAlreadyExists(message)

EntryDoesNotExist(message)

InFlightTTLExceeded(message)

InvalidAlgorithmSuiteInfo(message)

InvalidAlgorithmSuiteInfoOnDecrypt(message)

InvalidAlgorithmSuiteInfoOnEncrypt(message)

InvalidDecryptionMaterials(message)

InvalidDecryptionMaterialsTransition(message)

InvalidEncryptionMaterials(message)

InvalidEncryptionMaterialsTransition(message)

KeyStore(message)

OpaqueError(*, obj)

OpaqueWithTextError(*, obj, obj_message)

ServiceError

Base error for all errors in the service.

UnknownApiError(message)

Error representing any unknown api errors.

exception aws_cryptographic_material_providers.smithygenerated.aws_cryptography_materialproviders.errors.ServiceError

Bases: Exception

Base error for all errors in the service.

exception aws_cryptographic_material_providers.smithygenerated.aws_cryptography_materialproviders.errors.ApiError(message: str)

Bases: ServiceError, Generic[T]

Base error for all api errors in the service.

code: T
__init__(message: str)
exception aws_cryptographic_material_providers.smithygenerated.aws_cryptography_materialproviders.errors.UnknownApiError(message: str)

Bases: ApiError[Literal[‘Unknown’]]

Error representing any unknown api errors.

code: Literal['Unknown'] = 'Unknown'
exception aws_cryptographic_material_providers.smithygenerated.aws_cryptography_materialproviders.errors.AwsCryptographicMaterialProvidersException(message: str)

Bases: ApiError[Literal[‘AwsCryptographicMaterialProvidersException’]]

code: Literal['AwsCryptographicMaterialProvidersException'] = 'AwsCryptographicMaterialProvidersException'
message: str
exception aws_cryptographic_material_providers.smithygenerated.aws_cryptography_materialproviders.errors.EntryAlreadyExists(message: str)

Bases: ApiError[Literal[‘EntryAlreadyExists’]]

code: Literal['EntryAlreadyExists'] = 'EntryAlreadyExists'
message: str
exception aws_cryptographic_material_providers.smithygenerated.aws_cryptography_materialproviders.errors.EntryDoesNotExist(message: str)

Bases: ApiError[Literal[‘EntryDoesNotExist’]]

code: Literal['EntryDoesNotExist'] = 'EntryDoesNotExist'
message: str
exception aws_cryptographic_material_providers.smithygenerated.aws_cryptography_materialproviders.errors.InFlightTTLExceeded(message: str)

Bases: ApiError[Literal[‘InFlightTTLExceeded’]]

code: Literal['InFlightTTLExceeded'] = 'InFlightTTLExceeded'
message: str
exception aws_cryptographic_material_providers.smithygenerated.aws_cryptography_materialproviders.errors.InvalidAlgorithmSuiteInfo(message: str)

Bases: ApiError[Literal[‘InvalidAlgorithmSuiteInfo’]]

code: Literal['InvalidAlgorithmSuiteInfo'] = 'InvalidAlgorithmSuiteInfo'
message: str
exception aws_cryptographic_material_providers.smithygenerated.aws_cryptography_materialproviders.errors.InvalidAlgorithmSuiteInfoOnDecrypt(message: str)

Bases: ApiError[Literal[‘InvalidAlgorithmSuiteInfoOnDecrypt’]]

code: Literal['InvalidAlgorithmSuiteInfoOnDecrypt'] = 'InvalidAlgorithmSuiteInfoOnDecrypt'
message: str
exception aws_cryptographic_material_providers.smithygenerated.aws_cryptography_materialproviders.errors.InvalidAlgorithmSuiteInfoOnEncrypt(message: str)

Bases: ApiError[Literal[‘InvalidAlgorithmSuiteInfoOnEncrypt’]]

code: Literal['InvalidAlgorithmSuiteInfoOnEncrypt'] = 'InvalidAlgorithmSuiteInfoOnEncrypt'
message: str
exception aws_cryptographic_material_providers.smithygenerated.aws_cryptography_materialproviders.errors.InvalidDecryptionMaterials(message: str)

Bases: ApiError[Literal[‘InvalidDecryptionMaterials’]]

code: Literal['InvalidDecryptionMaterials'] = 'InvalidDecryptionMaterials'
message: str
exception aws_cryptographic_material_providers.smithygenerated.aws_cryptography_materialproviders.errors.InvalidDecryptionMaterialsTransition(message: str)

Bases: ApiError[Literal[‘InvalidDecryptionMaterialsTransition’]]

code: Literal['InvalidDecryptionMaterialsTransition'] = 'InvalidDecryptionMaterialsTransition'
message: str
exception aws_cryptographic_material_providers.smithygenerated.aws_cryptography_materialproviders.errors.InvalidEncryptionMaterials(message: str)

Bases: ApiError[Literal[‘InvalidEncryptionMaterials’]]

code: Literal['InvalidEncryptionMaterials'] = 'InvalidEncryptionMaterials'
message: str
exception aws_cryptographic_material_providers.smithygenerated.aws_cryptography_materialproviders.errors.InvalidEncryptionMaterialsTransition(message: str)

Bases: ApiError[Literal[‘InvalidEncryptionMaterialsTransition’]]

code: Literal['InvalidEncryptionMaterialsTransition'] = 'InvalidEncryptionMaterialsTransition'
message: str
exception aws_cryptographic_material_providers.smithygenerated.aws_cryptography_materialproviders.errors.AwsCryptographicPrimitives(message: str)

Bases: ApiError[Literal[‘AwsCryptographicPrimitives’]]

AwsCryptographicPrimitives: Any
exception aws_cryptographic_material_providers.smithygenerated.aws_cryptography_materialproviders.errors.ComAmazonawsDynamodb(message: str)

Bases: ApiError[Literal[‘ComAmazonawsDynamodb’]]

ComAmazonawsDynamodb: Any
exception aws_cryptographic_material_providers.smithygenerated.aws_cryptography_materialproviders.errors.ComAmazonawsKms(message: str)

Bases: ApiError[Literal[‘ComAmazonawsKms’]]

ComAmazonawsKms: Any
exception aws_cryptographic_material_providers.smithygenerated.aws_cryptography_materialproviders.errors.KeyStore(message: str)

Bases: ApiError[Literal[‘KeyStore’]]

KeyStore: Any
exception aws_cryptographic_material_providers.smithygenerated.aws_cryptography_materialproviders.errors.CollectionOfErrors(*, message: str, list)

Bases: ApiError[Literal[‘CollectionOfErrors’]]

code: Literal['CollectionOfErrors'] = 'CollectionOfErrors'
message: str
__init__(*, message: str, list)
list: List[ServiceError]
as_dict() Dict[str, Any]

Converts the CollectionOfErrors to a dictionary.

The dictionary uses the modeled shape names rather than the parameter names as keys to be mostly compatible with boto3.

static from_dict(d: Dict[str, Any]) CollectionOfErrors

Creates a CollectionOfErrors from a dictionary.

The dictionary is expected to use the modeled shape names rather than the parameter names as keys to be mostly compatible with boto3.

exception aws_cryptographic_material_providers.smithygenerated.aws_cryptography_materialproviders.errors.OpaqueError(*, obj)

Bases: ApiError[Literal[‘OpaqueError’]]

code: Literal['OpaqueError'] = 'OpaqueError'
__init__(*, obj)
obj: Any
as_dict() Dict[str, Any]

Converts the OpaqueError to a dictionary.

The dictionary uses the modeled shape names rather than the parameter names as keys to be mostly compatible with boto3.

static from_dict(d: Dict[str, Any]) OpaqueError

Creates a OpaqueError from a dictionary.

The dictionary is expected to use the modeled shape names rather than the parameter names as keys to be mostly compatible with boto3.

exception aws_cryptographic_material_providers.smithygenerated.aws_cryptography_materialproviders.errors.OpaqueWithTextError(*, obj, obj_message)

Bases: ApiError[Literal[‘OpaqueWithTextError’]]

code: Literal['OpaqueWithTextError'] = 'OpaqueWithTextError'
__init__(*, obj, obj_message)
obj: Any
obj_message: str
as_dict() Dict[str, Any]

Converts the OpaqueWithTextError to a dictionary.

The dictionary uses the modeled shape names rather than the parameter names as keys to be mostly compatible with boto3.

static from_dict(d: Dict[str, Any]) OpaqueWithTextError

Creates a OpaqueWithTextError from a dictionary.

The dictionary is expected to use the modeled shape names rather than the parameter names as keys to be mostly compatible with boto3.