aws_sdk_imagebuilder/client/
start_image_pipeline_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 [`StartImagePipelineExecution`](crate::operation::start_image_pipeline_execution::builders::StartImagePipelineExecutionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`image_pipeline_arn(impl Into<String>)`](crate::operation::start_image_pipeline_execution::builders::StartImagePipelineExecutionFluentBuilder::image_pipeline_arn) / [`set_image_pipeline_arn(Option<String>)`](crate::operation::start_image_pipeline_execution::builders::StartImagePipelineExecutionFluentBuilder::set_image_pipeline_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the image pipeline that you want to manually invoke.</p><br>
7    ///   - [`client_token(impl Into<String>)`](crate::operation::start_image_pipeline_execution::builders::StartImagePipelineExecutionFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::start_image_pipeline_execution::builders::StartImagePipelineExecutionFluentBuilder::set_client_token):<br>required: **true**<br><p>Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a> in the <i>Amazon EC2 API Reference</i>.</p><br>
8    /// - On success, responds with [`StartImagePipelineExecutionOutput`](crate::operation::start_image_pipeline_execution::StartImagePipelineExecutionOutput) with field(s):
9    ///   - [`request_id(Option<String>)`](crate::operation::start_image_pipeline_execution::StartImagePipelineExecutionOutput::request_id): <p>The request ID that uniquely identifies this request.</p>
10    ///   - [`client_token(Option<String>)`](crate::operation::start_image_pipeline_execution::StartImagePipelineExecutionOutput::client_token): <p>The client token that uniquely identifies the request.</p>
11    ///   - [`image_build_version_arn(Option<String>)`](crate::operation::start_image_pipeline_execution::StartImagePipelineExecutionOutput::image_build_version_arn): <p>The Amazon Resource Name (ARN) of the image that the request created.</p>
12    /// - On failure, responds with [`SdkError<StartImagePipelineExecutionError>`](crate::operation::start_image_pipeline_execution::StartImagePipelineExecutionError)
13    pub fn start_image_pipeline_execution(
14        &self,
15    ) -> crate::operation::start_image_pipeline_execution::builders::StartImagePipelineExecutionFluentBuilder {
16        crate::operation::start_image_pipeline_execution::builders::StartImagePipelineExecutionFluentBuilder::new(self.handle.clone())
17    }
18}