Module aws_lambda_powertools.utilities.data_masking.exceptions

Classes

class DataMaskingContextMismatchError (*args, **kwargs)

Decrypting with the incorrect encryption context.

Expand source code
class DataMaskingContextMismatchError(Exception):
    """
    Decrypting with the incorrect encryption context.
    """

Ancestors

  • builtins.Exception
  • builtins.BaseException
class DataMaskingDecryptKeyError (*args, **kwargs)

Decrypting with an invalid AWS KMS Key ARN.

Expand source code
class DataMaskingDecryptKeyError(Exception):
    """
    Decrypting with an invalid AWS KMS Key ARN.
    """

Ancestors

  • builtins.Exception
  • builtins.BaseException
class DataMaskingDecryptValueError (*args, **kwargs)

Decrypting an invalid field.

Expand source code
class DataMaskingDecryptValueError(Exception):
    """
    Decrypting an invalid field.
    """

Ancestors

  • builtins.Exception
  • builtins.BaseException
class DataMaskingEncryptKeyError (*args, **kwargs)

Encrypting with an invalid AWS KMS Key ARN.

Expand source code
class DataMaskingEncryptKeyError(Exception):
    """
    Encrypting with an invalid AWS KMS Key ARN.
    """

Ancestors

  • builtins.Exception
  • builtins.BaseException
class DataMaskingFieldNotFoundError (*args, **kwargs)

Field not found.

Expand source code
class DataMaskingFieldNotFoundError(Exception):
    """
    Field not found.
    """

Ancestors

  • builtins.Exception
  • builtins.BaseException
class DataMaskingUnsupportedTypeError (*args, **kwargs)

UnsupportedType Error

Expand source code
class DataMaskingUnsupportedTypeError(Exception):
    """
    UnsupportedType Error
    """

Ancestors

  • builtins.Exception
  • builtins.BaseException