Struct aws_sdk_proton::client::fluent_builders::ListComponents
source · pub struct ListComponents { /* private fields */ }
Expand description
Fluent builder constructing a request to ListComponents
.
List components with summary data. You can filter the result list by environment, service, or a single service instance.
For more information about components, see Proton components in the Proton User Guide.
Implementations§
source§impl ListComponents
impl ListComponents
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ListComponents, AwsResponseRetryClassifier>, SdkError<ListComponentsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ListComponents, AwsResponseRetryClassifier>, SdkError<ListComponentsError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<ListComponentsOutput, SdkError<ListComponentsError>>
pub async fn send(
self
) -> Result<ListComponentsOutput, SdkError<ListComponentsError>>
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 into_paginator(self) -> ListComponentsPaginator
pub fn into_paginator(self) -> ListComponentsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token that indicates the location of the next component in the array of components, after the list of components that was previously requested.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token that indicates the location of the next component in the array of components, after the list of components that was previously requested.
sourcepub fn environment_name(self, input: impl Into<String>) -> Self
pub fn environment_name(self, input: impl Into<String>) -> Self
The name of an environment for result list filtering. Proton returns components associated with the environment or attached to service instances running in it.
sourcepub fn set_environment_name(self, input: Option<String>) -> Self
pub fn set_environment_name(self, input: Option<String>) -> Self
The name of an environment for result list filtering. Proton returns components associated with the environment or attached to service instances running in it.
sourcepub fn service_name(self, input: impl Into<String>) -> Self
pub fn service_name(self, input: impl Into<String>) -> Self
The name of a service for result list filtering. Proton returns components attached to service instances of the service.
sourcepub fn set_service_name(self, input: Option<String>) -> Self
pub fn set_service_name(self, input: Option<String>) -> Self
The name of a service for result list filtering. Proton returns components attached to service instances of the service.
sourcepub fn service_instance_name(self, input: impl Into<String>) -> Self
pub fn service_instance_name(self, input: impl Into<String>) -> Self
The name of a service instance for result list filtering. Proton returns the component attached to the service instance, if any.
sourcepub fn set_service_instance_name(self, input: Option<String>) -> Self
pub fn set_service_instance_name(self, input: Option<String>) -> Self
The name of a service instance for result list filtering. Proton returns the component attached to the service instance, if any.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of components to list.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of components to list.
Trait Implementations§
source§impl Clone for ListComponents
impl Clone for ListComponents
source§fn clone(&self) -> ListComponents
fn clone(&self) -> ListComponents
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more