Struct aws_sdk_cloudformation::operation::list_resource_scan_resources::builders::ListResourceScanResourcesFluentBuilder
source · pub struct ListResourceScanResourcesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListResourceScanResources
.
Lists the resources from a resource scan. The results can be filtered by resource identifier, resource type prefix, tag key, and tag value. Only resources that match all specified filters are returned. The response indicates whether each returned resource is already managed by CloudFormation.
Implementations§
source§impl ListResourceScanResourcesFluentBuilder
impl ListResourceScanResourcesFluentBuilder
sourcepub fn as_input(&self) -> &ListResourceScanResourcesInputBuilder
pub fn as_input(&self) -> &ListResourceScanResourcesInputBuilder
Access the ListResourceScanResources as a reference.
sourcepub async fn send(
self
) -> Result<ListResourceScanResourcesOutput, SdkError<ListResourceScanResourcesError, HttpResponse>>
pub async fn send( self ) -> Result<ListResourceScanResourcesOutput, SdkError<ListResourceScanResourcesError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<ListResourceScanResourcesOutput, ListResourceScanResourcesError, Self>
pub fn customize( self ) -> CustomizableOperation<ListResourceScanResourcesOutput, ListResourceScanResourcesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListResourceScanResourcesPaginator
pub fn into_paginator(self) -> ListResourceScanResourcesPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn resource_scan_id(self, input: impl Into<String>) -> Self
pub fn resource_scan_id(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the resource scan.
sourcepub fn set_resource_scan_id(self, input: Option<String>) -> Self
pub fn set_resource_scan_id(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the resource scan.
sourcepub fn get_resource_scan_id(&self) -> &Option<String>
pub fn get_resource_scan_id(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the resource scan.
sourcepub fn resource_identifier(self, input: impl Into<String>) -> Self
pub fn resource_identifier(self, input: impl Into<String>) -> Self
If specified, the returned resources will have the specified resource identifier (or one of them in the case where the resource has multiple identifiers).
sourcepub fn set_resource_identifier(self, input: Option<String>) -> Self
pub fn set_resource_identifier(self, input: Option<String>) -> Self
If specified, the returned resources will have the specified resource identifier (or one of them in the case where the resource has multiple identifiers).
sourcepub fn get_resource_identifier(&self) -> &Option<String>
pub fn get_resource_identifier(&self) -> &Option<String>
If specified, the returned resources will have the specified resource identifier (or one of them in the case where the resource has multiple identifiers).
sourcepub fn resource_type_prefix(self, input: impl Into<String>) -> Self
pub fn resource_type_prefix(self, input: impl Into<String>) -> Self
If specified, the returned resources will be of any of the resource types with the specified prefix.
sourcepub fn set_resource_type_prefix(self, input: Option<String>) -> Self
pub fn set_resource_type_prefix(self, input: Option<String>) -> Self
If specified, the returned resources will be of any of the resource types with the specified prefix.
sourcepub fn get_resource_type_prefix(&self) -> &Option<String>
pub fn get_resource_type_prefix(&self) -> &Option<String>
If specified, the returned resources will be of any of the resource types with the specified prefix.
sourcepub fn tag_key(self, input: impl Into<String>) -> Self
pub fn tag_key(self, input: impl Into<String>) -> Self
If specified, the returned resources will have a matching tag key.
sourcepub fn set_tag_key(self, input: Option<String>) -> Self
pub fn set_tag_key(self, input: Option<String>) -> Self
If specified, the returned resources will have a matching tag key.
sourcepub fn get_tag_key(&self) -> &Option<String>
pub fn get_tag_key(&self) -> &Option<String>
If specified, the returned resources will have a matching tag key.
sourcepub fn tag_value(self, input: impl Into<String>) -> Self
pub fn tag_value(self, input: impl Into<String>) -> Self
If specified, the returned resources will have a matching tag value.
sourcepub fn set_tag_value(self, input: Option<String>) -> Self
pub fn set_tag_value(self, input: Option<String>) -> Self
If specified, the returned resources will have a matching tag value.
sourcepub fn get_tag_value(&self) -> &Option<String>
pub fn get_tag_value(&self) -> &Option<String>
If specified, the returned resources will have a matching tag value.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A string that identifies the next page of resource scan results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A string that identifies the next page of resource scan results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A string that identifies the next page of resource scan results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
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 ListResourceScanResources
API action will return at most 100 results in each response. The maximum value is 100.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
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 ListResourceScanResources
API action will return at most 100 results in each response. The maximum value is 100.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_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 ListResourceScanResources
API action will return at most 100 results in each response. The maximum value is 100.
Trait Implementations§
source§impl Clone for ListResourceScanResourcesFluentBuilder
impl Clone for ListResourceScanResourcesFluentBuilder
source§fn clone(&self) -> ListResourceScanResourcesFluentBuilder
fn clone(&self) -> ListResourceScanResourcesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more