Struct aws_sdk_cloudcontrol::operation::list_resource_requests::builders::ListResourceRequestsFluentBuilder
source · pub struct ListResourceRequestsFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to ListResourceRequests.
Returns existing resource operation requests. This includes requests of all status types. For more information, see Listing active resource operation requests in the Amazon Web Services Cloud Control API User Guide.
Resource operation requests expire after 7 days.
Implementations§
source§impl ListResourceRequestsFluentBuilder
impl ListResourceRequestsFluentBuilder
sourcepub fn as_input(&self) -> &ListResourceRequestsInputBuilder
pub fn as_input(&self) -> &ListResourceRequestsInputBuilder
Access the ListResourceRequests as a reference.
sourcepub async fn send(
self
) -> Result<ListResourceRequestsOutput, SdkError<ListResourceRequestsError, HttpResponse>>
pub async fn send( self ) -> Result<ListResourceRequestsOutput, SdkError<ListResourceRequestsError, 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 async fn customize(
self
) -> Result<CustomizableOperation<ListResourceRequestsOutput, ListResourceRequestsError>, SdkError<ListResourceRequestsError>>
pub async fn customize( self ) -> Result<CustomizableOperation<ListResourceRequestsOutput, ListResourceRequestsError>, SdkError<ListResourceRequestsError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListResourceRequestsPaginator
pub fn into_paginator(self) -> ListResourceRequestsPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a Stream.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.
The default is 20.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.
The default is 20.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.
The default is 20.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the previous paginated request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the previous paginated request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the previous paginated request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.
sourcepub fn resource_request_status_filter(
self,
input: ResourceRequestStatusFilter
) -> Self
pub fn resource_request_status_filter( self, input: ResourceRequestStatusFilter ) -> Self
The filter criteria to apply to the requests returned.
sourcepub fn set_resource_request_status_filter(
self,
input: Option<ResourceRequestStatusFilter>
) -> Self
pub fn set_resource_request_status_filter( self, input: Option<ResourceRequestStatusFilter> ) -> Self
The filter criteria to apply to the requests returned.
sourcepub fn get_resource_request_status_filter(
&self
) -> &Option<ResourceRequestStatusFilter>
pub fn get_resource_request_status_filter( &self ) -> &Option<ResourceRequestStatusFilter>
The filter criteria to apply to the requests returned.
Trait Implementations§
source§impl Clone for ListResourceRequestsFluentBuilder
impl Clone for ListResourceRequestsFluentBuilder
source§fn clone(&self) -> ListResourceRequestsFluentBuilder
fn clone(&self) -> ListResourceRequestsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more