Struct aws_sdk_databasemigration::operation::describe_migration_projects::builders::DescribeMigrationProjectsFluentBuilder
source · pub struct DescribeMigrationProjectsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeMigrationProjects
.
Returns a paginated list of migration projects for your account in the current region.
Implementations§
source§impl DescribeMigrationProjectsFluentBuilder
impl DescribeMigrationProjectsFluentBuilder
sourcepub fn as_input(&self) -> &DescribeMigrationProjectsInputBuilder
pub fn as_input(&self) -> &DescribeMigrationProjectsInputBuilder
Access the DescribeMigrationProjects as a reference.
sourcepub async fn send(
self
) -> Result<DescribeMigrationProjectsOutput, SdkError<DescribeMigrationProjectsError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeMigrationProjectsOutput, SdkError<DescribeMigrationProjectsError, 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<DescribeMigrationProjectsOutput, DescribeMigrationProjectsError, Self>
pub fn customize( self ) -> CustomizableOperation<DescribeMigrationProjectsOutput, DescribeMigrationProjectsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> DescribeMigrationProjectsPaginator
pub fn into_paginator(self) -> DescribeMigrationProjectsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn filters(self, input: Filter) -> Self
pub fn filters(self, input: Filter) -> Self
Appends an item to Filters
.
To override the contents of this collection use set_filters
.
Filters applied to the migration projects described in the form of key-value pairs.
sourcepub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
pub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
Filters applied to the migration projects described in the form of key-value pairs.
sourcepub fn get_filters(&self) -> &Option<Vec<Filter>>
pub fn get_filters(&self) -> &Option<Vec<Filter>>
Filters applied to the migration projects described in the form of key-value pairs.
sourcepub fn max_records(self, input: i32) -> Self
pub fn max_records(self, input: i32) -> Self
The maximum number of records to include in the response. If more records exist than the specified MaxRecords
value, DMS includes a pagination token in the response so that you can retrieve the remaining results.
sourcepub fn set_max_records(self, input: Option<i32>) -> Self
pub fn set_max_records(self, input: Option<i32>) -> Self
The maximum number of records to include in the response. If more records exist than the specified MaxRecords
value, DMS includes a pagination token in the response so that you can retrieve the remaining results.
sourcepub fn get_max_records(&self) -> &Option<i32>
pub fn get_max_records(&self) -> &Option<i32>
The maximum number of records to include in the response. If more records exist than the specified MaxRecords
value, DMS includes a pagination token in the response so that you can retrieve the remaining results.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.
If Marker
is returned by a previous response, there are more results available. The value of Marker
is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.
If Marker
is returned by a previous response, there are more results available. The value of Marker
is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.
If Marker
is returned by a previous response, there are more results available. The value of Marker
is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.
Trait Implementations§
source§impl Clone for DescribeMigrationProjectsFluentBuilder
impl Clone for DescribeMigrationProjectsFluentBuilder
source§fn clone(&self) -> DescribeMigrationProjectsFluentBuilder
fn clone(&self) -> DescribeMigrationProjectsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more