SecurityLake / Client / get_datalake_exceptions_expiry

get_datalake_exceptions_expiry#

SecurityLake.Client.get_datalake_exceptions_expiry()#

Retrieves the expiration period and time-to-live (TTL) for which the exception message will remain. Exceptions are stored by default, for 2 weeks from when a record was created in Amazon Security Lake. This API does not take input parameters.

See also: AWS API Documentation

Request Syntax

response = client.get_datalake_exceptions_expiry()
Return type:

dict

Returns:

Response Syntax

{
    'exceptionMessageExpiry': 123
}

Response Structure

  • (dict) –

    • exceptionMessageExpiry (integer) –

      The expiration period and time-to-live (TTL).

Exceptions

  • SecurityLake.Client.exceptions.InternalServerException

  • SecurityLake.Client.exceptions.ValidationException

  • SecurityLake.Client.exceptions.AccessDeniedException

  • SecurityLake.Client.exceptions.AccountNotFoundException