You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Shield::Types::ListProtectionsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Shield::Types::ListProtectionsRequest
- Defined in:
- (unknown)
Overview
When passing ListProtectionsRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
next_token: "Token",
max_results: 1,
}
Instance Attribute Summary collapse
-
#max_results ⇒ Integer
The maximum number of Protection objects to return.
-
#next_token ⇒ String
The
ListProtectionsRequest.NextTokenvalue from a previous call toListProtections.
Instance Attribute Details
#max_results ⇒ Integer
The maximum number of Protection 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.
#next_token ⇒ String
The ListProtectionsRequest.NextToken value from a previous call to
ListProtections. Pass null if this is the first call.