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

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,
}

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.

Returns:

  • (Integer)


347
348
349
350
351
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 347

class ListProtectionsRequest < Struct.new(
  :next_token,
  :max_results)
  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)


347
348
349
350
351
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 347

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