aws_sdk_ecs/client/submit_container_state_change.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 [`SubmitContainerStateChange`](crate::operation::submit_container_state_change::builders::SubmitContainerStateChangeFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`cluster(impl Into<String>)`](crate::operation::submit_container_state_change::builders::SubmitContainerStateChangeFluentBuilder::cluster) / [`set_cluster(Option<String>)`](crate::operation::submit_container_state_change::builders::SubmitContainerStateChangeFluentBuilder::set_cluster):<br>required: **false**<br><p>The short name or full ARN of the cluster that hosts the container.</p><br>
7 /// - [`task(impl Into<String>)`](crate::operation::submit_container_state_change::builders::SubmitContainerStateChangeFluentBuilder::task) / [`set_task(Option<String>)`](crate::operation::submit_container_state_change::builders::SubmitContainerStateChangeFluentBuilder::set_task):<br>required: **false**<br><p>The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.</p><br>
8 /// - [`container_name(impl Into<String>)`](crate::operation::submit_container_state_change::builders::SubmitContainerStateChangeFluentBuilder::container_name) / [`set_container_name(Option<String>)`](crate::operation::submit_container_state_change::builders::SubmitContainerStateChangeFluentBuilder::set_container_name):<br>required: **false**<br><p>The name of the container.</p><br>
9 /// - [`runtime_id(impl Into<String>)`](crate::operation::submit_container_state_change::builders::SubmitContainerStateChangeFluentBuilder::runtime_id) / [`set_runtime_id(Option<String>)`](crate::operation::submit_container_state_change::builders::SubmitContainerStateChangeFluentBuilder::set_runtime_id):<br>required: **false**<br><p>The ID of the Docker container.</p><br>
10 /// - [`status(impl Into<String>)`](crate::operation::submit_container_state_change::builders::SubmitContainerStateChangeFluentBuilder::status) / [`set_status(Option<String>)`](crate::operation::submit_container_state_change::builders::SubmitContainerStateChangeFluentBuilder::set_status):<br>required: **false**<br><p>The status of the state change request.</p><br>
11 /// - [`exit_code(i32)`](crate::operation::submit_container_state_change::builders::SubmitContainerStateChangeFluentBuilder::exit_code) / [`set_exit_code(Option<i32>)`](crate::operation::submit_container_state_change::builders::SubmitContainerStateChangeFluentBuilder::set_exit_code):<br>required: **false**<br><p>The exit code that's returned for the state change request.</p><br>
12 /// - [`reason(impl Into<String>)`](crate::operation::submit_container_state_change::builders::SubmitContainerStateChangeFluentBuilder::reason) / [`set_reason(Option<String>)`](crate::operation::submit_container_state_change::builders::SubmitContainerStateChangeFluentBuilder::set_reason):<br>required: **false**<br><p>The reason for the state change request.</p><br>
13 /// - [`network_bindings(NetworkBinding)`](crate::operation::submit_container_state_change::builders::SubmitContainerStateChangeFluentBuilder::network_bindings) / [`set_network_bindings(Option<Vec::<NetworkBinding>>)`](crate::operation::submit_container_state_change::builders::SubmitContainerStateChangeFluentBuilder::set_network_bindings):<br>required: **false**<br><p>The network bindings of the container.</p><br>
14 /// - On success, responds with [`SubmitContainerStateChangeOutput`](crate::operation::submit_container_state_change::SubmitContainerStateChangeOutput) with field(s):
15 /// - [`acknowledgment(Option<String>)`](crate::operation::submit_container_state_change::SubmitContainerStateChangeOutput::acknowledgment): <p>Acknowledgement of the state change.</p>
16 /// - On failure, responds with [`SdkError<SubmitContainerStateChangeError>`](crate::operation::submit_container_state_change::SubmitContainerStateChangeError)
17 pub fn submit_container_state_change(
18 &self,
19 ) -> crate::operation::submit_container_state_change::builders::SubmitContainerStateChangeFluentBuilder {
20 crate::operation::submit_container_state_change::builders::SubmitContainerStateChangeFluentBuilder::new(self.handle.clone())
21 }
22}