#[non_exhaustive]pub struct ListProtectionGroupsOutput {
pub protection_groups: Vec<ProtectionGroup>,
pub next_token: Option<String>,
/* private fields */
}
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_groups: Vec<ProtectionGroup>
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.
Implementations§
source§impl ListProtectionGroupsOutput
impl ListProtectionGroupsOutput
sourcepub fn protection_groups(&self) -> &[ProtectionGroup]
pub fn protection_groups(&self) -> &[ProtectionGroup]
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.
source§impl ListProtectionGroupsOutput
impl ListProtectionGroupsOutput
sourcepub fn builder() -> ListProtectionGroupsOutputBuilder
pub fn builder() -> ListProtectionGroupsOutputBuilder
Creates a new builder-style object to manufacture ListProtectionGroupsOutput
.
Trait Implementations§
source§impl Clone for ListProtectionGroupsOutput
impl Clone for ListProtectionGroupsOutput
source§fn clone(&self) -> ListProtectionGroupsOutput
fn clone(&self) -> ListProtectionGroupsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListProtectionGroupsOutput
impl Debug for ListProtectionGroupsOutput
source§impl PartialEq for ListProtectionGroupsOutput
impl PartialEq for ListProtectionGroupsOutput
source§fn eq(&self, other: &ListProtectionGroupsOutput) -> bool
fn eq(&self, other: &ListProtectionGroupsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListProtectionGroupsOutput
impl RequestId for ListProtectionGroupsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.