aws-sdk-codebuild 1.122.0

AWS SDK for AWS CodeBuild
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`StartCommandExecution`](crate::operation::start_command_execution::builders::StartCommandExecutionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`StartCommandExecutionOutput`](crate::operation::start_command_execution::StartCommandExecutionOutput) with field(s):
    ///   - [`command_execution(Option<CommandExecution>)`](crate::operation::start_command_execution::StartCommandExecutionOutput::command_execution): <p>Information about the requested command executions.</p>
    /// - On failure, responds with [`SdkError<StartCommandExecutionError>`](crate::operation::start_command_execution::StartCommandExecutionError)
    pub fn start_command_execution(&self) -> crate::operation::start_command_execution::builders::StartCommandExecutionFluentBuilder {
        crate::operation::start_command_execution::builders::StartCommandExecutionFluentBuilder::new(self.handle.clone())
    }
}