Struct aws_sdk_shield::client::fluent_builders::ListProtectionGroups
source · [−]pub struct ListProtectionGroups<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
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.
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects, Shield Advanced includes a NextToken
value in the response. You can retrieve the next batch of objects by requesting the list again and providing the token that was returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults
setting. Shield Advanced will not return more than MaxResults
objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken
value.
On your first call to a list operation, leave this setting empty.
When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects, Shield Advanced includes a NextToken
value in the response. You can retrieve the next batch of objects by requesting the list again and providing the token that was returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults
setting. Shield Advanced will not return more than MaxResults
objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken
value.
On your first call to a list operation, leave this setting empty.
The greatest number of objects that you want Shield Advanced to return to the list request. Shield Advanced might return fewer objects than you indicate in this setting, even if more objects are available. If there are more objects remaining, Shield Advanced will always also return a NextToken
value in the response.
The default setting is 20.
The greatest number of objects that you want Shield Advanced to return to the list request. Shield Advanced might return fewer objects than you indicate in this setting, even if more objects are available. If there are more objects remaining, Shield Advanced will always also return a NextToken
value in the response.
The default setting is 20.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, 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 = DefaultMiddleware, 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