SecurityLake / Client / create_data_lake_exception_subscription

create_data_lake_exception_subscription#

SecurityLake.Client.create_data_lake_exception_subscription(**kwargs)#

Creates the specified notification subscription in Amazon Security Lake for the organization you specify.

See also: AWS API Documentation

Request Syntax

response = client.create_data_lake_exception_subscription(
    exceptionTimeToLive=123,
    notificationEndpoint='string',
    subscriptionProtocol='string'
)
Parameters:
  • exceptionTimeToLive (integer) – The expiration period and time-to-live (TTL).

  • notificationEndpoint (string) –

    [REQUIRED]

    The Amazon Web Services account where you want to receive exception notifications.

  • subscriptionProtocol (string) –

    [REQUIRED]

    The subscription protocol to which exception notifications are posted.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • SecurityLake.Client.exceptions.BadRequestException

  • SecurityLake.Client.exceptions.ResourceNotFoundException

  • SecurityLake.Client.exceptions.InternalServerException

  • SecurityLake.Client.exceptions.AccessDeniedException

  • SecurityLake.Client.exceptions.ConflictException

  • SecurityLake.Client.exceptions.ThrottlingException