aws_sdk_drs/client/put_launch_action.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 [`PutLaunchAction`](crate::operation::put_launch_action::builders::PutLaunchActionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`resource_id(impl Into<String>)`](crate::operation::put_launch_action::builders::PutLaunchActionFluentBuilder::resource_id) / [`set_resource_id(Option<String>)`](crate::operation::put_launch_action::builders::PutLaunchActionFluentBuilder::set_resource_id):<br>required: **true**<br><p>Launch configuration template Id or Source Server Id</p><br>
7 /// - [`action_code(impl Into<String>)`](crate::operation::put_launch_action::builders::PutLaunchActionFluentBuilder::action_code) / [`set_action_code(Option<String>)`](crate::operation::put_launch_action::builders::PutLaunchActionFluentBuilder::set_action_code):<br>required: **true**<br><p>Launch action code.</p><br>
8 /// - [`order(i32)`](crate::operation::put_launch_action::builders::PutLaunchActionFluentBuilder::order) / [`set_order(Option<i32>)`](crate::operation::put_launch_action::builders::PutLaunchActionFluentBuilder::set_order):<br>required: **true**<br><p>Launch action order.</p><br>
9 /// - [`action_id(impl Into<String>)`](crate::operation::put_launch_action::builders::PutLaunchActionFluentBuilder::action_id) / [`set_action_id(Option<String>)`](crate::operation::put_launch_action::builders::PutLaunchActionFluentBuilder::set_action_id):<br>required: **true**<br><p>Launch action Id.</p><br>
10 /// - [`optional(bool)`](crate::operation::put_launch_action::builders::PutLaunchActionFluentBuilder::optional) / [`set_optional(Option<bool>)`](crate::operation::put_launch_action::builders::PutLaunchActionFluentBuilder::set_optional):<br>required: **true**<br><p>Whether the launch will not be marked as failed if this action fails.</p><br>
11 /// - [`active(bool)`](crate::operation::put_launch_action::builders::PutLaunchActionFluentBuilder::active) / [`set_active(Option<bool>)`](crate::operation::put_launch_action::builders::PutLaunchActionFluentBuilder::set_active):<br>required: **true**<br><p>Whether the launch action is active.</p><br>
12 /// - [`name(impl Into<String>)`](crate::operation::put_launch_action::builders::PutLaunchActionFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::put_launch_action::builders::PutLaunchActionFluentBuilder::set_name):<br>required: **true**<br><p>Launch action name.</p><br>
13 /// - [`action_version(impl Into<String>)`](crate::operation::put_launch_action::builders::PutLaunchActionFluentBuilder::action_version) / [`set_action_version(Option<String>)`](crate::operation::put_launch_action::builders::PutLaunchActionFluentBuilder::set_action_version):<br>required: **true**<br><p>Launch action version.</p><br>
14 /// - [`category(LaunchActionCategory)`](crate::operation::put_launch_action::builders::PutLaunchActionFluentBuilder::category) / [`set_category(Option<LaunchActionCategory>)`](crate::operation::put_launch_action::builders::PutLaunchActionFluentBuilder::set_category):<br>required: **true**<br><p>Launch action category.</p><br>
15 /// - [`parameters(impl Into<String>, LaunchActionParameter)`](crate::operation::put_launch_action::builders::PutLaunchActionFluentBuilder::parameters) / [`set_parameters(Option<HashMap::<String, LaunchActionParameter>>)`](crate::operation::put_launch_action::builders::PutLaunchActionFluentBuilder::set_parameters):<br>required: **false**<br><p>Launch action parameters.</p><br>
16 /// - [`description(impl Into<String>)`](crate::operation::put_launch_action::builders::PutLaunchActionFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::put_launch_action::builders::PutLaunchActionFluentBuilder::set_description):<br>required: **true**<br><p>Launch action description.</p><br>
17 /// - On success, responds with [`PutLaunchActionOutput`](crate::operation::put_launch_action::PutLaunchActionOutput) with field(s):
18 /// - [`resource_id(Option<String>)`](crate::operation::put_launch_action::PutLaunchActionOutput::resource_id): <p>Launch configuration template Id or Source Server Id</p>
19 /// - [`action_id(Option<String>)`](crate::operation::put_launch_action::PutLaunchActionOutput::action_id): <p>Launch action Id.</p>
20 /// - [`action_code(Option<String>)`](crate::operation::put_launch_action::PutLaunchActionOutput::action_code): <p>Launch action code.</p>
21 /// - [`r#type(Option<LaunchActionType>)`](crate::operation::put_launch_action::PutLaunchActionOutput::type): <p>Launch action type.</p>
22 /// - [`name(Option<String>)`](crate::operation::put_launch_action::PutLaunchActionOutput::name): <p>Launch action name.</p>
23 /// - [`active(Option<bool>)`](crate::operation::put_launch_action::PutLaunchActionOutput::active): <p>Whether the launch action is active.</p>
24 /// - [`order(Option<i32>)`](crate::operation::put_launch_action::PutLaunchActionOutput::order): <p>Launch action order.</p>
25 /// - [`action_version(Option<String>)`](crate::operation::put_launch_action::PutLaunchActionOutput::action_version): <p>Launch action version.</p>
26 /// - [`optional(Option<bool>)`](crate::operation::put_launch_action::PutLaunchActionOutput::optional): <p>Whether the launch will not be marked as failed if this action fails.</p>
27 /// - [`parameters(Option<HashMap::<String, LaunchActionParameter>>)`](crate::operation::put_launch_action::PutLaunchActionOutput::parameters): <p>Launch action parameters.</p>
28 /// - [`description(Option<String>)`](crate::operation::put_launch_action::PutLaunchActionOutput::description): <p>Launch action description.</p>
29 /// - [`category(Option<LaunchActionCategory>)`](crate::operation::put_launch_action::PutLaunchActionOutput::category): <p>Launch action category.</p>
30 /// - On failure, responds with [`SdkError<PutLaunchActionError>`](crate::operation::put_launch_action::PutLaunchActionError)
31 pub fn put_launch_action(&self) -> crate::operation::put_launch_action::builders::PutLaunchActionFluentBuilder {
32 crate::operation::put_launch_action::builders::PutLaunchActionFluentBuilder::new(self.handle.clone())
33 }
34}