Struct aws_sdk_imagebuilder::operation::update_image_pipeline::builders::UpdateImagePipelineFluentBuilder
source · pub struct UpdateImagePipelineFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateImagePipeline
.
Updates an image pipeline. Image pipelines enable you to automate the creation and distribution of images.
UpdateImagePipeline does not support selective updates for the pipeline. You must specify all of the required properties in the update request, not just the properties that have changed.
Implementations§
source§impl UpdateImagePipelineFluentBuilder
impl UpdateImagePipelineFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateImagePipeline, AwsResponseRetryClassifier>, SdkError<UpdateImagePipelineError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateImagePipeline, AwsResponseRetryClassifier>, SdkError<UpdateImagePipelineError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateImagePipelineOutput, SdkError<UpdateImagePipelineError>>
pub async fn send( self ) -> Result<UpdateImagePipelineOutput, SdkError<UpdateImagePipelineError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn image_pipeline_arn(self, input: impl Into<String>) -> Self
pub fn image_pipeline_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the image pipeline that you want to update.
sourcepub fn set_image_pipeline_arn(self, input: Option<String>) -> Self
pub fn set_image_pipeline_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the image pipeline that you want to update.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the image pipeline.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the image pipeline.
sourcepub fn image_recipe_arn(self, input: impl Into<String>) -> Self
pub fn image_recipe_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the image recipe that will be used to configure images updated by this image pipeline.
sourcepub fn set_image_recipe_arn(self, input: Option<String>) -> Self
pub fn set_image_recipe_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the image recipe that will be used to configure images updated by this image pipeline.
sourcepub fn container_recipe_arn(self, input: impl Into<String>) -> Self
pub fn container_recipe_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the container pipeline to update.
sourcepub fn set_container_recipe_arn(self, input: Option<String>) -> Self
pub fn set_container_recipe_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the container pipeline to update.
sourcepub fn infrastructure_configuration_arn(self, input: impl Into<String>) -> Self
pub fn infrastructure_configuration_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the infrastructure configuration that will be used to build images updated by this image pipeline.
sourcepub fn set_infrastructure_configuration_arn(self, input: Option<String>) -> Self
pub fn set_infrastructure_configuration_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the infrastructure configuration that will be used to build images updated by this image pipeline.
sourcepub fn distribution_configuration_arn(self, input: impl Into<String>) -> Self
pub fn distribution_configuration_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the distribution configuration that will be used to configure and distribute images updated by this image pipeline.
sourcepub fn set_distribution_configuration_arn(self, input: Option<String>) -> Self
pub fn set_distribution_configuration_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the distribution configuration that will be used to configure and distribute images updated by this image pipeline.
sourcepub fn image_tests_configuration(self, input: ImageTestsConfiguration) -> Self
pub fn image_tests_configuration(self, input: ImageTestsConfiguration) -> Self
The image test configuration of the image pipeline.
sourcepub fn set_image_tests_configuration(
self,
input: Option<ImageTestsConfiguration>
) -> Self
pub fn set_image_tests_configuration( self, input: Option<ImageTestsConfiguration> ) -> Self
The image test configuration of the image pipeline.
sourcepub fn enhanced_image_metadata_enabled(self, input: bool) -> Self
pub fn enhanced_image_metadata_enabled(self, input: bool) -> Self
Collects additional information about the image being created, including the operating system (OS) version and package list. This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default.
sourcepub fn set_enhanced_image_metadata_enabled(self, input: Option<bool>) -> Self
pub fn set_enhanced_image_metadata_enabled(self, input: Option<bool>) -> Self
Collects additional information about the image being created, including the operating system (OS) version and package list. This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default.
sourcepub fn set_schedule(self, input: Option<Schedule>) -> Self
pub fn set_schedule(self, input: Option<Schedule>) -> Self
The schedule of the image pipeline.
sourcepub fn status(self, input: PipelineStatus) -> Self
pub fn status(self, input: PipelineStatus) -> Self
The status of the image pipeline.
sourcepub fn set_status(self, input: Option<PipelineStatus>) -> Self
pub fn set_status(self, input: Option<PipelineStatus>) -> Self
The status of the image pipeline.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
The idempotency token used to make this request idempotent.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
The idempotency token used to make this request idempotent.
Trait Implementations§
source§impl Clone for UpdateImagePipelineFluentBuilder
impl Clone for UpdateImagePipelineFluentBuilder
source§fn clone(&self) -> UpdateImagePipelineFluentBuilder
fn clone(&self) -> UpdateImagePipelineFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more