pub struct ListResourcesInProtectionGroup { /* private fields */ }
Expand description
Fluent builder constructing a request to ListResourcesInProtectionGroup
.
Retrieves the resources that are included in the protection group.
Implementations§
source§impl ListResourcesInProtectionGroup
impl ListResourcesInProtectionGroup
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ListResourcesInProtectionGroup, AwsResponseRetryClassifier>, SdkError<ListResourcesInProtectionGroupError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ListResourcesInProtectionGroup, AwsResponseRetryClassifier>, SdkError<ListResourcesInProtectionGroupError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<ListResourcesInProtectionGroupOutput, SdkError<ListResourcesInProtectionGroupError>>
pub async fn send(
self
) -> Result<ListResourcesInProtectionGroupOutput, SdkError<ListResourcesInProtectionGroupError>>
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.
sourcepub fn into_paginator(self) -> ListResourcesInProtectionGroupPaginator
pub fn into_paginator(self) -> ListResourcesInProtectionGroupPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
sourcepub fn protection_group_id(self, input: impl Into<String>) -> Self
pub fn protection_group_id(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_protection_group_id(self, input: Option<String>) -> Self
pub fn set_protection_group_id(self, input: Option<String>) -> Self
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.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
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.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
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.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
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§
source§impl Clone for ListResourcesInProtectionGroup
impl Clone for ListResourcesInProtectionGroup
source§fn clone(&self) -> ListResourcesInProtectionGroup
fn clone(&self) -> ListResourcesInProtectionGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more