aws_sdk_sms/client/
start_on_demand_replication_run.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`StartOnDemandReplicationRun`](crate::operation::start_on_demand_replication_run::builders::StartOnDemandReplicationRunFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`replication_job_id(impl Into<String>)`](crate::operation::start_on_demand_replication_run::builders::StartOnDemandReplicationRunFluentBuilder::replication_job_id) / [`set_replication_job_id(Option<String>)`](crate::operation::start_on_demand_replication_run::builders::StartOnDemandReplicationRunFluentBuilder::set_replication_job_id):<br>required: **true**<br><p>The ID of the replication job.</p><br>
7    ///   - [`description(impl Into<String>)`](crate::operation::start_on_demand_replication_run::builders::StartOnDemandReplicationRunFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::start_on_demand_replication_run::builders::StartOnDemandReplicationRunFluentBuilder::set_description):<br>required: **false**<br><p>The description of the replication run.</p><br>
8    /// - On success, responds with [`StartOnDemandReplicationRunOutput`](crate::operation::start_on_demand_replication_run::StartOnDemandReplicationRunOutput) with field(s):
9    ///   - [`replication_run_id(Option<String>)`](crate::operation::start_on_demand_replication_run::StartOnDemandReplicationRunOutput::replication_run_id): <p>The ID of the replication run.</p>
10    /// - On failure, responds with [`SdkError<StartOnDemandReplicationRunError>`](crate::operation::start_on_demand_replication_run::StartOnDemandReplicationRunError)
11    pub fn start_on_demand_replication_run(
12        &self,
13    ) -> crate::operation::start_on_demand_replication_run::builders::StartOnDemandReplicationRunFluentBuilder {
14        crate::operation::start_on_demand_replication_run::builders::StartOnDemandReplicationRunFluentBuilder::new(self.handle.clone())
15    }
16}