Struct aws_sdk_m2::client::fluent_builders::ListDataSets
source · pub struct ListDataSets { /* private fields */ }Expand description
Fluent builder constructing a request to ListDataSets.
Lists the data sets imported for a specific application. In Amazon Web Services Mainframe Modernization, data sets are associated with applications deployed on environments. This is known as importing data sets. Currently, Amazon Web Services Mainframe Modernization can import data sets into catalogs using CreateDataSetImportTask.
Implementations§
source§impl ListDataSets
impl ListDataSets
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ListDataSets, AwsResponseRetryClassifier>, SdkError<ListDataSetsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ListDataSets, AwsResponseRetryClassifier>, SdkError<ListDataSetsError>>
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<ListDataSetsOutput, SdkError<ListDataSetsError>>
pub async fn send(
self
) -> Result<ListDataSetsOutput, SdkError<ListDataSetsError>>
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) -> ListDataSetsPaginator
pub fn into_paginator(self) -> ListDataSetsPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a Stream.
sourcepub fn application_id(self, input: impl Into<String>) -> Self
pub fn application_id(self, input: impl Into<String>) -> Self
The unique identifier of the application for which you want to list the associated data sets.
sourcepub fn set_application_id(self, input: Option<String>) -> Self
pub fn set_application_id(self, input: Option<String>) -> Self
The unique identifier of the application for which you want to list the associated data sets.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of objects to return.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of objects to return.
sourcepub fn prefix(self, input: impl Into<String>) -> Self
pub fn prefix(self, input: impl Into<String>) -> Self
The prefix of the data set name, which you can use to filter the list of data sets.
sourcepub fn set_prefix(self, input: Option<String>) -> Self
pub fn set_prefix(self, input: Option<String>) -> Self
The prefix of the data set name, which you can use to filter the list of data sets.
Trait Implementations§
source§impl Clone for ListDataSets
impl Clone for ListDataSets
source§fn clone(&self) -> ListDataSets
fn clone(&self) -> ListDataSets
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more