startImagePipelineExecution
inline suspend fun ImagebuilderClient.startImagePipelineExecution(crossinline block: StartImagePipelineExecutionRequest.Builder.() -> Unit): StartImagePipelineExecutionResponse
Manually triggers a pipeline to create an image. You can start a build this way whether the pipeline is enabled or disabled. The response returns as soon as Image Builder creates the new image resource and queues the build. Use the returned imageBuildVersionArn with GetImage to track build progress.
Samples
// The following example starts a build for the specified pipeline. The response returns the ARN of the
// new image build version.
val resp = imagebuilderClient.startImagePipelineExecution {
imagePipelineArn = "arn:aws:imagebuilder:us-west-2:111122223333:image-pipeline/my-example-pipeline"
clientToken = "a1b2c3d4-5678-90ab-cdef-EXAMPLE66666"
}Content copied to clipboard