pub struct ListServiceInstances { /* private fields */ }Expand description
Fluent builder constructing a request to ListServiceInstances.
List service instances with summary data. This action lists service instances of all services in the Amazon Web Services account.
Implementations§
source§impl ListServiceInstances
impl ListServiceInstances
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ListServiceInstances, AwsResponseRetryClassifier>, SdkError<ListServiceInstancesError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ListServiceInstances, AwsResponseRetryClassifier>, SdkError<ListServiceInstancesError>>
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<ListServiceInstancesOutput, SdkError<ListServiceInstancesError>>
pub async fn send(
self
) -> Result<ListServiceInstancesOutput, SdkError<ListServiceInstancesError>>
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) -> ListServiceInstancesPaginator
pub fn into_paginator(self) -> ListServiceInstancesPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a Stream.
sourcepub fn service_name(self, input: impl Into<String>) -> Self
pub fn service_name(self, input: impl Into<String>) -> Self
The name of the service that the service instance belongs to.
sourcepub fn set_service_name(self, input: Option<String>) -> Self
pub fn set_service_name(self, input: Option<String>) -> Self
The name of the service that the service instance belongs to.
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 service in the array of service instances, after the list of service instances 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 service in the array of service instances, after the list of service instances that was previously requested.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of service instances 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 service instances to list.
sourcepub fn filters(self, input: ListServiceInstancesFilter) -> Self
pub fn filters(self, input: ListServiceInstancesFilter) -> Self
Appends an item to filters.
To override the contents of this collection use set_filters.
An array of filtering criteria that scope down the result list. By default, all service instances in the Amazon Web Services account are returned.
sourcepub fn set_filters(self, input: Option<Vec<ListServiceInstancesFilter>>) -> Self
pub fn set_filters(self, input: Option<Vec<ListServiceInstancesFilter>>) -> Self
An array of filtering criteria that scope down the result list. By default, all service instances in the Amazon Web Services account are returned.
sourcepub fn sort_by(self, input: ListServiceInstancesSortBy) -> Self
pub fn sort_by(self, input: ListServiceInstancesSortBy) -> Self
The field that the result list is sorted by.
When you choose to sort by serviceName, service instances within each service are sorted by service instance name.
Default: serviceName
sourcepub fn set_sort_by(self, input: Option<ListServiceInstancesSortBy>) -> Self
pub fn set_sort_by(self, input: Option<ListServiceInstancesSortBy>) -> Self
The field that the result list is sorted by.
When you choose to sort by serviceName, service instances within each service are sorted by service instance name.
Default: serviceName
sourcepub fn sort_order(self, input: SortOrder) -> Self
pub fn sort_order(self, input: SortOrder) -> Self
Result list sort order.
Default: ASCENDING
sourcepub fn set_sort_order(self, input: Option<SortOrder>) -> Self
pub fn set_sort_order(self, input: Option<SortOrder>) -> Self
Result list sort order.
Default: ASCENDING
Trait Implementations§
source§impl Clone for ListServiceInstances
impl Clone for ListServiceInstances
source§fn clone(&self) -> ListServiceInstances
fn clone(&self) -> ListServiceInstances
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more