Shield.Paginator.
ListAttacks
¶paginator = client.get_paginator('list_attacks')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from Shield.Client.list_attacks()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
ResourceArns=[
'string',
],
StartTime={
'FromInclusive': datetime(2015, 1, 1),
'ToExclusive': datetime(2015, 1, 1)
},
EndTime={
'FromInclusive': datetime(2015, 1, 1),
'ToExclusive': datetime(2015, 1, 1)
},
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
The ARNs (Amazon Resource Names) of the resources that were attacked. If you leave this blank, all applicable resources for this account will be included.
The start of the time period for the attacks. This is a timestamp
type. The request syntax listing for this call indicates a number
type, but you can provide the time in any valid timestamp format setting.
The start time, in Unix time in seconds.
The end time, in Unix time in seconds.
The end of the time period for the attacks. This is a timestamp
type. The request syntax listing for this call indicates a number
type, but you can provide the time in any valid timestamp format setting.
The start time, in Unix time in seconds.
The end time, in Unix time in seconds.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'AttackSummaries': [
{
'AttackId': 'string',
'ResourceArn': 'string',
'StartTime': datetime(2015, 1, 1),
'EndTime': datetime(2015, 1, 1),
'AttackVectors': [
{
'VectorType': 'string'
},
]
},
],
}
Response Structure
(dict) --
AttackSummaries (list) --
The attack information for the specified time range.
(dict) --
Summarizes all DDoS attacks for a specified time period.
AttackId (string) --
The unique identifier (ID) of the attack.
ResourceArn (string) --
The ARN (Amazon Resource Name) of the resource that was attacked.
StartTime (datetime) --
The start time of the attack, in Unix time in seconds.
EndTime (datetime) --
The end time of the attack, in Unix time in seconds.
AttackVectors (list) --
The list of attacks for a specified time period.
(dict) --
Describes the attack.
VectorType (string) --
The attack type. Valid values: