aws_cryptographic_material_providers.smithygenerated.aws_cryptography_keystore.errors

Exceptions

ApiError(message)

Base error for all api errors in the service.

CollectionOfErrors(*, message, list)

ComAmazonawsDynamodb(message)

ComAmazonawsKms(message)

KeyStoreException(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_keystore.errors.ServiceError

Bases: Exception

Base error for all errors in the service.

exception aws_cryptographic_material_providers.smithygenerated.aws_cryptography_keystore.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_keystore.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_keystore.errors.KeyStoreException(message: str)

Bases: ApiError[Literal[‘KeyStoreException’]]

code: Literal['KeyStoreException'] = 'KeyStoreException'
message: str
exception aws_cryptographic_material_providers.smithygenerated.aws_cryptography_keystore.errors.ComAmazonawsDynamodb(message: str)

Bases: ApiError[Literal[‘ComAmazonawsDynamodb’]]

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

Bases: ApiError[Literal[‘ComAmazonawsKms’]]

ComAmazonawsKms: Any
exception aws_cryptographic_material_providers.smithygenerated.aws_cryptography_keystore.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_keystore.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_keystore.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.