ListAttacksRequest
public struct ListAttacksRequest : AWSShape
extension Shield.ListAttacksRequest: AWSPaginateStringToken
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The end of the time period for the attacks. This is a timestamp type. The sample request above indicates a number type because the default used by WAF is Unix time in seconds. However any valid timestamp format is allowed.
Declaration
Swift
public let endTime: TimeRange?
-
The maximum number of AttackSummary objects to be returned. If this is left blank, the first 20 results will be returned. This is a maximum value; it is possible that AWS WAF will return the results in smaller batches. That is, the number of AttackSummary objects returned could be less than MaxResults, even if there are still more AttackSummary objects yet to return. If there are more AttackSummary objects to return, AWS WAF will always also return a NextToken.
Declaration
Swift
public let maxResults: Int?
-
The ListAttacksRequest.NextMarker value from a previous call to ListAttacksRequest. Pass null if this is the first call.
Declaration
Swift
public let nextToken: String?
-
The ARN (Amazon Resource Name) of the resource that was attacked. If this is left blank, all applicable resources for this account will be included.
Declaration
Swift
public let resourceArns: [String]?
-
The start of the time period for the attacks. This is a timestamp type. The sample request above indicates a number type because the default used by WAF is Unix time in seconds. However any valid timestamp format is allowed.
Declaration
Swift
public let startTime: TimeRange?
-
Declaration
Swift
public func validate(name: String) throws
-
Undocumented
Declaration
Swift
public func usingPaginationToken(_ token: String) -> Shield.ListAttacksRequest