SecurityLake / Client / delete_subscriber

delete_subscriber#

SecurityLake.Client.delete_subscriber(**kwargs)#

Deletes the subscription permission and all notification settings for accounts that are already enabled in Amazon Security Lake. When you run DeleteSubscriber, the subscriber will no longer consume data from Security Lake and the subscriber is removed. This operation deletes the subscriber and removes access to data in the current Amazon Web Services Region.

See also: AWS API Documentation

Request Syntax

response = client.delete_subscriber(
    subscriberId='string'
)
Parameters:

subscriberId (string) –

[REQUIRED]

A value created by Security Lake that uniquely identifies your DeleteSubscriber API request.

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