aws_sdk_migrationhuborchestrator/client/create_workflow.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 [`CreateWorkflow`](crate::operation::create_workflow::builders::CreateWorkflowFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`name(impl Into<String>)`](crate::operation::create_workflow::builders::CreateWorkflowFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_workflow::builders::CreateWorkflowFluentBuilder::set_name):<br>required: **true**<br><p>The name of the migration workflow.</p><br>
7 /// - [`description(impl Into<String>)`](crate::operation::create_workflow::builders::CreateWorkflowFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_workflow::builders::CreateWorkflowFluentBuilder::set_description):<br>required: **false**<br><p>The description of the migration workflow.</p><br>
8 /// - [`template_id(impl Into<String>)`](crate::operation::create_workflow::builders::CreateWorkflowFluentBuilder::template_id) / [`set_template_id(Option<String>)`](crate::operation::create_workflow::builders::CreateWorkflowFluentBuilder::set_template_id):<br>required: **true**<br><p>The ID of the template.</p><br>
9 /// - [`application_configuration_id(impl Into<String>)`](crate::operation::create_workflow::builders::CreateWorkflowFluentBuilder::application_configuration_id) / [`set_application_configuration_id(Option<String>)`](crate::operation::create_workflow::builders::CreateWorkflowFluentBuilder::set_application_configuration_id):<br>required: **false**<br><p>The configuration ID of the application configured in Application Discovery Service.</p><br>
10 /// - [`input_parameters(impl Into<String>, StepInput)`](crate::operation::create_workflow::builders::CreateWorkflowFluentBuilder::input_parameters) / [`set_input_parameters(Option<HashMap::<String, StepInput>>)`](crate::operation::create_workflow::builders::CreateWorkflowFluentBuilder::set_input_parameters):<br>required: **true**<br><p>The input parameters required to create a migration workflow.</p><br>
11 /// - [`step_targets(impl Into<String>)`](crate::operation::create_workflow::builders::CreateWorkflowFluentBuilder::step_targets) / [`set_step_targets(Option<Vec::<String>>)`](crate::operation::create_workflow::builders::CreateWorkflowFluentBuilder::set_step_targets):<br>required: **false**<br><p>The servers on which a step will be run.</p><br>
12 /// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_workflow::builders::CreateWorkflowFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_workflow::builders::CreateWorkflowFluentBuilder::set_tags):<br>required: **false**<br><p>The tags to add on a migration workflow.</p><br>
13 /// - On success, responds with [`CreateWorkflowOutput`](crate::operation::create_workflow::CreateWorkflowOutput) with field(s):
14 /// - [`id(Option<String>)`](crate::operation::create_workflow::CreateWorkflowOutput::id): <p>The ID of the migration workflow.</p>
15 /// - [`arn(Option<String>)`](crate::operation::create_workflow::CreateWorkflowOutput::arn): <p>The Amazon Resource Name (ARN) of the migration workflow.</p>
16 /// - [`name(Option<String>)`](crate::operation::create_workflow::CreateWorkflowOutput::name): <p>The name of the migration workflow.</p>
17 /// - [`description(Option<String>)`](crate::operation::create_workflow::CreateWorkflowOutput::description): <p>The description of the migration workflow.</p>
18 /// - [`template_id(Option<String>)`](crate::operation::create_workflow::CreateWorkflowOutput::template_id): <p>The ID of the template.</p>
19 /// - [`ads_application_configuration_id(Option<String>)`](crate::operation::create_workflow::CreateWorkflowOutput::ads_application_configuration_id): <p>The configuration ID of the application configured in Application Discovery Service.</p>
20 /// - [`workflow_inputs(Option<HashMap::<String, StepInput>>)`](crate::operation::create_workflow::CreateWorkflowOutput::workflow_inputs): <p>The inputs for creating a migration workflow.</p>
21 /// - [`step_targets(Option<Vec::<String>>)`](crate::operation::create_workflow::CreateWorkflowOutput::step_targets): <p>The servers on which a step will be run.</p>
22 /// - [`status(Option<MigrationWorkflowStatusEnum>)`](crate::operation::create_workflow::CreateWorkflowOutput::status): <p>The status of the migration workflow.</p>
23 /// - [`creation_time(Option<DateTime>)`](crate::operation::create_workflow::CreateWorkflowOutput::creation_time): <p>The time at which the migration workflow was created.</p>
24 /// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::create_workflow::CreateWorkflowOutput::tags): <p>The tags to add on a migration workflow.</p>
25 /// - On failure, responds with [`SdkError<CreateWorkflowError>`](crate::operation::create_workflow::CreateWorkflowError)
26 pub fn create_workflow(&self) -> crate::operation::create_workflow::builders::CreateWorkflowFluentBuilder {
27 crate::operation::create_workflow::builders::CreateWorkflowFluentBuilder::new(self.handle.clone())
28 }
29}