1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`SubmitContainerStateChange`](crate::operation::submit_container_state_change::builders::SubmitContainerStateChangeFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`cluster(impl ::std::convert::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): <p>The short name or full ARN of the cluster that hosts the container.</p>
    ///   - [`task(impl ::std::convert::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): <p>The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.</p>
    ///   - [`container_name(impl ::std::convert::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): <p>The name of the container.</p>
    ///   - [`runtime_id(impl ::std::convert::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): <p>The ID of the Docker container.</p>
    ///   - [`status(impl ::std::convert::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): <p>The status of the state change request.</p>
    ///   - [`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): <p>The exit code that's returned for the state change request.</p>
    ///   - [`reason(impl ::std::convert::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): <p>The reason for the state change request.</p>
    ///   - [`network_bindings(Vec<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): <p>The network bindings of the container.</p>
    /// - On success, responds with [`SubmitContainerStateChangeOutput`](crate::operation::submit_container_state_change::SubmitContainerStateChangeOutput) with field(s):
    ///   - [`acknowledgment(Option<String>)`](crate::operation::submit_container_state_change::SubmitContainerStateChangeOutput::acknowledgment): <p>Acknowledgement of the state change.</p>
    /// - On failure, responds with [`SdkError<SubmitContainerStateChangeError>`](crate::operation::submit_container_state_change::SubmitContainerStateChangeError)
    pub fn submit_container_state_change(
        &self,
    ) -> crate::operation::submit_container_state_change::builders::SubmitContainerStateChangeFluentBuilder {
        crate::operation::submit_container_state_change::builders::SubmitContainerStateChangeFluentBuilder::new(self.handle.clone())
    }
}