Struct aws_sdk_shield::operation::list_resources_in_protection_group::ListResourcesInProtectionGroupInput
source · #[non_exhaustive]pub struct ListResourcesInProtectionGroupInput {
pub protection_group_id: Option<String>,
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.protection_group_id: Option<String>
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.
next_token: Option<String>
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.
max_results: Option<i32>
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.
Implementations§
source§impl ListResourcesInProtectionGroupInput
impl ListResourcesInProtectionGroupInput
sourcepub fn protection_group_id(&self) -> Option<&str>
pub fn protection_group_id(&self) -> Option<&str>
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) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
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) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
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.
source§impl ListResourcesInProtectionGroupInput
impl ListResourcesInProtectionGroupInput
sourcepub fn builder() -> ListResourcesInProtectionGroupInputBuilder
pub fn builder() -> ListResourcesInProtectionGroupInputBuilder
Creates a new builder-style object to manufacture ListResourcesInProtectionGroupInput
.
Trait Implementations§
source§impl Clone for ListResourcesInProtectionGroupInput
impl Clone for ListResourcesInProtectionGroupInput
source§fn clone(&self) -> ListResourcesInProtectionGroupInput
fn clone(&self) -> ListResourcesInProtectionGroupInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ListResourcesInProtectionGroupInput
impl PartialEq for ListResourcesInProtectionGroupInput
source§fn eq(&self, other: &ListResourcesInProtectionGroupInput) -> bool
fn eq(&self, other: &ListResourcesInProtectionGroupInput) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ListResourcesInProtectionGroupInput
Auto Trait Implementations§
impl Freeze for ListResourcesInProtectionGroupInput
impl RefUnwindSafe for ListResourcesInProtectionGroupInput
impl Send for ListResourcesInProtectionGroupInput
impl Sync for ListResourcesInProtectionGroupInput
impl Unpin for ListResourcesInProtectionGroupInput
impl UnwindSafe for ListResourcesInProtectionGroupInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more