Struct aws_sdk_shield::input::ListProtectionsInput [−][src]
#[non_exhaustive]pub struct ListProtectionsInput {
pub next_token: Option<String>,
pub max_results: Option<i32>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.next_token: Option<String>
The ListProtectionsRequest.NextToken
value from a previous call to ListProtections
. Pass null if this is the first call.
max_results: Option<i32>
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.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListProtections, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListProtections, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ListProtections
>
Creates a new builder-style object to manufacture ListProtectionsInput
The ListProtectionsRequest.NextToken
value from a previous call to ListProtections
. Pass null if this is the first call.
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.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ListProtectionsInput
impl Send for ListProtectionsInput
impl Sync for ListProtectionsInput
impl Unpin for ListProtectionsInput
impl UnwindSafe for ListProtectionsInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more