Class: Aws::Shield::Types::ListProtectionsRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb

Overview

Note:

When making an API call, you may pass ListProtectionsRequest data as a hash:

{
  next_token: "Token",
  max_results: 1,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_resultsInteger

The maximum number of Protection 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 Protection objects returned could be less than MaxResults, even if there are still more Protection objects yet to return. If there are more Protection objects to return, AWS WAF will always also return a NextToken.

Returns:

  • (Integer)


1016
1017
1018
1019
1020
1021
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1016

class ListProtectionsRequest < Struct.new(
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

The ListProtectionsRequest.NextToken value from a previous call to ListProtections. Pass null if this is the first call.

Returns:

  • (String)


1016
1017
1018
1019
1020
1021
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1016

class ListProtectionsRequest < Struct.new(
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end