Class: Aws::Shield::Types::ListResourcesInProtectionGroupRequest

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 ListResourcesInProtectionGroupRequest data as a hash:

{
  protection_group_id: "ProtectionGroupId", # required
  next_token: "Token",
  max_results: 1,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_resultsInteger

The maximum number of resource ARN objects to return. If you leave this blank, Shield Advanced returns the first 20 results.

This is a maximum value. Shield Advanced might return the results in smaller batches. That is, the number of objects returned could be less than MaxResults, even if there are still more objects yet to return. If there are more objects to return, Shield Advanced returns a value in NextToken that you can use in your next request, to get the next batch of objects.

Returns:

  • (Integer)


1396
1397
1398
1399
1400
1401
1402
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1396

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

#next_tokenString

The next token value from a previous call to ListResourcesInProtectionGroup. Pass null if this is the first call.

Returns:

  • (String)


1396
1397
1398
1399
1400
1401
1402
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1396

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

#protection_group_idString

The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.

Returns:

  • (String)


1396
1397
1398
1399
1400
1401
1402
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1396

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