class Aws::Shield::Types::ListAttacksRequest
@note When making an API call, you may pass ListAttacksRequest
data as a hash: { resource_arns: ["ResourceArn"], start_time: { from_inclusive: Time.now, to_exclusive: Time.now, }, end_time: { from_inclusive: Time.now, to_exclusive: Time.now, }, next_token: "Token", max_results: 1, }
@!attribute [rw] resource_arns
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. @return [Array<String>]
@!attribute [rw] start_time
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][1] is allowed. [1]: http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#parameter-types @return [Types::TimeRange]
@!attribute [rw] end_time
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][1] is allowed. [1]: http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#parameter-types @return [Types::TimeRange]
@!attribute [rw] next_token
The `ListAttacksRequest.NextMarker` value from a previous call to `ListAttacksRequest`. Pass null if this is the first call. @return [String]
@!attribute [rw] max_results
The maximum number of AttackSummary objects to return. If you leave this blank, Shield Advanced returns the first 20 results. This is a maximum value. Shield Advanced might return the results in smaller batches. That is, the number of objects returned could be less than `MaxResults`, even if there are still more objects yet to return. If there are more objects to return, Shield Advanced returns a value in `NextToken` that you can use in your next request, to get the next batch of objects. @return [Integer]
@see docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListAttacksRequest AWS API Documentation
Constants
- SENSITIVE