aws_sdk_codebuild/client/
start_command_execution.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 [`StartCommandExecution`](crate::operation::start_command_execution::builders::StartCommandExecutionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`sandbox_id(impl Into<String>)`](crate::operation::start_command_execution::builders::StartCommandExecutionFluentBuilder::sandbox_id) / [`set_sandbox_id(Option<String>)`](crate::operation::start_command_execution::builders::StartCommandExecutionFluentBuilder::set_sandbox_id):<br>required: **true**<br><p>A <code>sandboxId</code> or <code>sandboxArn</code>.</p><br>
7    ///   - [`command(impl Into<String>)`](crate::operation::start_command_execution::builders::StartCommandExecutionFluentBuilder::command) / [`set_command(Option<String>)`](crate::operation::start_command_execution::builders::StartCommandExecutionFluentBuilder::set_command):<br>required: **true**<br><p>The command that needs to be executed.</p><br>
8    ///   - [`r#type(CommandType)`](crate::operation::start_command_execution::builders::StartCommandExecutionFluentBuilder::type) / [`set_type(Option<CommandType>)`](crate::operation::start_command_execution::builders::StartCommandExecutionFluentBuilder::set_type):<br>required: **false**<br><p>The command type.</p><br>
9    /// - On success, responds with [`StartCommandExecutionOutput`](crate::operation::start_command_execution::StartCommandExecutionOutput) with field(s):
10    ///   - [`command_execution(Option<CommandExecution>)`](crate::operation::start_command_execution::StartCommandExecutionOutput::command_execution): <p>Information about the requested command executions.</p>
11    /// - On failure, responds with [`SdkError<StartCommandExecutionError>`](crate::operation::start_command_execution::StartCommandExecutionError)
12    pub fn start_command_execution(&self) -> crate::operation::start_command_execution::builders::StartCommandExecutionFluentBuilder {
13        crate::operation::start_command_execution::builders::StartCommandExecutionFluentBuilder::new(self.handle.clone())
14    }
15}