Class: Aws::Shield::Types::ListProtectionsResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#next_tokenString

If you specify a value for MaxResults and you have more Protections than the value of MaxResults, AWS Shield Advanced returns a NextToken value in the response that allows you to list another group of Protections. For the second and subsequent ListProtections requests, specify the value of NextToken from the previous response to get information about another batch of Protections.

AWS WAF might return the list of Protection objects in batches smaller than the number specified by MaxResults. If there are more Protection objects to return, AWS WAF will always also return a NextToken.

Returns:

  • (String)


1044
1045
1046
1047
1048
1049
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1044

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

#protectionsArray<Types::Protection>

The array of enabled Protection objects.

Returns:



1044
1045
1046
1047
1048
1049
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1044

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