SecurityLake / Client / delete_aws_log_source
delete_aws_log_source#
- SecurityLake.Client.delete_aws_log_source(**kwargs)#
Removes a natively supported Amazon Web Service as an Amazon Security Lake source. You can remove a source for one or more Regions. When you remove the source, Security Lake stops collecting data from that source in the specified Regions and accounts, and subscribers can no longer consume new data from the source. However, subscribers can still consume data that Security Lake collected from the source before removal.
You can choose any source type in any Amazon Web Services Region for either accounts that are part of a trusted organization or standalone accounts.
See also: AWS API Documentation
Request Syntax
response = client.delete_aws_log_source( sources=[ { 'accounts': [ 'string', ], 'regions': [ 'string', ], 'sourceName': 'ROUTE53'|'VPC_FLOW'|'SH_FINDINGS'|'CLOUD_TRAIL_MGMT'|'LAMBDA_EXECUTION'|'S3_DATA'|'EKS_AUDIT'|'WAF', 'sourceVersion': 'string' }, ] )
- Parameters:
sources (list) –
[REQUIRED]
Specify the natively-supported Amazon Web Services service to remove as a source in Security Lake.
(dict) –
The Security Lake logs source configuration file describes the information needed to generate Security Lake logs.
accounts (list) –
Specify the Amazon Web Services account information where you want to enable Security Lake.
(string) –
regions (list) – [REQUIRED]
Specify the Regions where you want to enable Security Lake.
(string) –
sourceName (string) – [REQUIRED]
The name for a Amazon Web Services source. This must be a Regionally unique value.
sourceVersion (string) –
The version for a Amazon Web Services source. This must be a Regionally unique value.
- Return type:
dict
- Returns:
Response Syntax
{ 'failed': [ 'string', ] }
Response Structure
(dict) –
failed (list) –
Deletion of the Amazon Web Services sources failed as the account is not a part of the organization.
(string) –
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