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.

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

Returns:

  • (String)


1354
1355
1356
1357
1358
1359
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1354

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

#protectionsArray<Types::Protection>

The array of enabled Protection objects.

Returns:



1354
1355
1356
1357
1358
1359
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1354

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