SecurityLake / Client / update_datalake_exceptions_expiry

update_datalake_exceptions_expiry#

SecurityLake.Client.update_datalake_exceptions_expiry(**kwargs)#

Update the expiration period for the exception message to your preferred time, and control the time-to-live (TTL) for the exception message to remain. Exceptions are stored by default for 2 weeks from when a record was created in Amazon Security Lake.

See also: AWS API Documentation

Request Syntax

response = client.update_datalake_exceptions_expiry(
    exceptionMessageExpiry=123
)
Parameters:

exceptionMessageExpiry (integer) –

[REQUIRED]

The time-to-live (TTL) for the exception message to remain.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • SecurityLake.Client.exceptions.InternalServerException

  • SecurityLake.Client.exceptions.ValidationException

  • SecurityLake.Client.exceptions.AccessDeniedException

  • SecurityLake.Client.exceptions.AccountNotFoundException