EC2.Client.
delete_flow_logs
(**kwargs)¶Deletes one or more flow logs.
See also: AWS API Documentation
Request Syntax
response = client.delete_flow_logs(
DryRun=True|False,
FlowLogIds=[
'string',
]
)
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.[REQUIRED]
One or more flow log IDs.
Constraint: Maximum of 1000 flow log IDs.
dict
Response Syntax
{
'Unsuccessful': [
{
'Error': {
'Code': 'string',
'Message': 'string'
},
'ResourceId': 'string'
},
]
}
Response Structure
(dict) --
Unsuccessful (list) --
Information about the flow logs that could not be deleted successfully.
(dict) --
Information about items that were not successfully processed in a batch call.
Error (dict) --
Information about the error.
Code (string) --
The error code.
Message (string) --
The error message accompanying the error code.
ResourceId (string) --
The ID of the resource.