Struct aws_sdk_shield::client::fluent_builders::ListProtectionGroups [−][src]
pub struct ListProtectionGroups<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ListProtectionGroups
.
Retrieves the ProtectionGroup objects for the account.
Implementations
impl<C, M, R> ListProtectionGroups<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListProtectionGroups<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ListProtectionGroupsOutput, SdkError<ListProtectionGroupsError>> where
R::Policy: SmithyRetryPolicy<ListProtectionGroupsInputOperationOutputAlias, ListProtectionGroupsOutput, ListProtectionGroupsError, ListProtectionGroupsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ListProtectionGroupsOutput, SdkError<ListProtectionGroupsError>> where
R::Policy: SmithyRetryPolicy<ListProtectionGroupsInputOperationOutputAlias, ListProtectionGroupsOutput, ListProtectionGroupsError, ListProtectionGroupsInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The next token value from a previous call to ListProtectionGroups
. Pass null if this is the first call.
The next token value from a previous call to ListProtectionGroups
. Pass null if this is the first call.
The maximum number of ProtectionGroup 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.
The maximum number of ProtectionGroup 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
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ListProtectionGroups<C, M, R>
impl<C, M, R> Send for ListProtectionGroups<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ListProtectionGroups<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ListProtectionGroups<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ListProtectionGroups<C, M, R>
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