Struct aws_sdk_cloudformation::operation::list_resource_scan_related_resources::ListResourceScanRelatedResourcesInput
source · #[non_exhaustive]pub struct ListResourceScanRelatedResourcesInput {
pub resource_scan_id: Option<String>,
pub resources: Option<Vec<ScannedResourceIdentifier>>,
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.resource_scan_id: Option<String>
The Amazon Resource Name (ARN) of the resource scan.
resources: Option<Vec<ScannedResourceIdentifier>>
The list of resources for which you want to get the related resources. Up to 100 resources can be provided.
next_token: Option<String>
A string that identifies the next page of resource scan results.
max_results: Option<i32>
If the number of available results exceeds this maximum, the response includes a NextToken
value that you can use for the NextToken
parameter to get the next set of results. By default the ListResourceScanRelatedResources
API action will return up to 100 results in each response. The maximum value is 100.
Implementations§
source§impl ListResourceScanRelatedResourcesInput
impl ListResourceScanRelatedResourcesInput
sourcepub fn resource_scan_id(&self) -> Option<&str>
pub fn resource_scan_id(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the resource scan.
sourcepub fn resources(&self) -> &[ScannedResourceIdentifier]
pub fn resources(&self) -> &[ScannedResourceIdentifier]
The list of resources for which you want to get the related resources. Up to 100 resources can be provided.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .resources.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
A string that identifies the next page of resource scan results.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
If the number of available results exceeds this maximum, the response includes a NextToken
value that you can use for the NextToken
parameter to get the next set of results. By default the ListResourceScanRelatedResources
API action will return up to 100 results in each response. The maximum value is 100.
source§impl ListResourceScanRelatedResourcesInput
impl ListResourceScanRelatedResourcesInput
sourcepub fn builder() -> ListResourceScanRelatedResourcesInputBuilder
pub fn builder() -> ListResourceScanRelatedResourcesInputBuilder
Creates a new builder-style object to manufacture ListResourceScanRelatedResourcesInput
.
Trait Implementations§
source§impl Clone for ListResourceScanRelatedResourcesInput
impl Clone for ListResourceScanRelatedResourcesInput
source§fn clone(&self) -> ListResourceScanRelatedResourcesInput
fn clone(&self) -> ListResourceScanRelatedResourcesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ListResourceScanRelatedResourcesInput
impl PartialEq for ListResourceScanRelatedResourcesInput
source§fn eq(&self, other: &ListResourceScanRelatedResourcesInput) -> bool
fn eq(&self, other: &ListResourceScanRelatedResourcesInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListResourceScanRelatedResourcesInput
Auto Trait Implementations§
impl Freeze for ListResourceScanRelatedResourcesInput
impl RefUnwindSafe for ListResourceScanRelatedResourcesInput
impl Send for ListResourceScanRelatedResourcesInput
impl Sync for ListResourceScanRelatedResourcesInput
impl Unpin for ListResourceScanRelatedResourcesInput
impl UnwindSafe for ListResourceScanRelatedResourcesInput
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> 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