Struct aws_sdk_databasemigration::operation::batch_start_recommendations::builders::BatchStartRecommendationsFluentBuilder
source · pub struct BatchStartRecommendationsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to BatchStartRecommendations
.
Starts the analysis of up to 20 source databases to recommend target engines for each source database. This is a batch version of StartRecommendations.
The result of analysis of each source database is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200
.
Implementations§
source§impl BatchStartRecommendationsFluentBuilder
impl BatchStartRecommendationsFluentBuilder
sourcepub fn as_input(&self) -> &BatchStartRecommendationsInputBuilder
pub fn as_input(&self) -> &BatchStartRecommendationsInputBuilder
Access the BatchStartRecommendations as a reference.
sourcepub async fn send(
self
) -> Result<BatchStartRecommendationsOutput, SdkError<BatchStartRecommendationsError, HttpResponse>>
pub async fn send( self ) -> Result<BatchStartRecommendationsOutput, SdkError<BatchStartRecommendationsError, 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<BatchStartRecommendationsOutput, BatchStartRecommendationsError, Self>
pub fn customize( self ) -> CustomizableOperation<BatchStartRecommendationsOutput, BatchStartRecommendationsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn data(self, input: StartRecommendationsRequestEntry) -> Self
pub fn data(self, input: StartRecommendationsRequestEntry) -> Self
Appends an item to Data
.
To override the contents of this collection use set_data
.
Provides information about source databases to analyze. After this analysis, Fleet Advisor recommends target engines for each source database.
sourcepub fn set_data(
self,
input: Option<Vec<StartRecommendationsRequestEntry>>
) -> Self
pub fn set_data( self, input: Option<Vec<StartRecommendationsRequestEntry>> ) -> Self
Provides information about source databases to analyze. After this analysis, Fleet Advisor recommends target engines for each source database.
sourcepub fn get_data(&self) -> &Option<Vec<StartRecommendationsRequestEntry>>
pub fn get_data(&self) -> &Option<Vec<StartRecommendationsRequestEntry>>
Provides information about source databases to analyze. After this analysis, Fleet Advisor recommends target engines for each source database.
Trait Implementations§
source§impl Clone for BatchStartRecommendationsFluentBuilder
impl Clone for BatchStartRecommendationsFluentBuilder
source§fn clone(&self) -> BatchStartRecommendationsFluentBuilder
fn clone(&self) -> BatchStartRecommendationsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more