SecurityLake / Client / create_datalake_exceptions_subscription
create_datalake_exceptions_subscription#
- SecurityLake.Client.create_datalake_exceptions_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_datalake_exceptions_subscription( notificationEndpoint='string', subscriptionProtocol='HTTP'|'HTTPS'|'EMAIL'|'EMAIL_JSON'|'SMS'|'SQS'|'LAMBDA'|'APP'|'FIREHOSE' )
- Parameters:
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.InternalServerException
SecurityLake.Client.exceptions.ValidationException
SecurityLake.Client.exceptions.AccessDeniedException
SecurityLake.Client.exceptions.AccountNotFoundException