You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Shield::Types::ListAttacksRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ListAttacksRequest as input to an Aws::Client method, you can use a vanilla 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,
}

Instance Attribute Summary collapse

Instance Attribute Details

#end_timeTypes::TimeRange

The end of the time period for the attacks.

Returns:

#max_resultsInteger

The maximum number of AttackSummary objects to be returned. If this is left blank, the first 20 results will be returned.

Returns:

  • (Integer)

    The maximum number of AttackSummary objects to be returned.

#next_tokenString

The ListAttacksRequest.NextMarker value from a previous call to ListAttacksRequest. Pass null if this is the first call.

Returns:

  • (String)

    The ListAttacksRequest.NextMarker value from a previous call to ListAttacksRequest.

#resource_arnsArray<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.

Returns:

  • (Array<String>)

    The ARN (Amazon Resource Name) of the resource that was attacked.

#start_timeTypes::TimeRange

The time period for the attacks.

Returns: