pub struct CreateImagePipeline { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateImagePipeline
.
Creates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images.
Implementations
sourceimpl CreateImagePipeline
impl CreateImagePipeline
sourcepub async fn send(
self
) -> Result<CreateImagePipelineOutput, SdkError<CreateImagePipelineError>>
pub async fn send(
self
) -> Result<CreateImagePipelineOutput, SdkError<CreateImagePipelineError>>
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 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 created 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 created 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 recipe that is used to configure images created by this container pipeline.
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 recipe that is used to configure images created by this container pipeline.
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 created 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 created 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 created 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 created 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.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags of the image pipeline.
The tags 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
sourceimpl Clone for CreateImagePipeline
impl Clone for CreateImagePipeline
sourcefn clone(&self) -> CreateImagePipeline
fn clone(&self) -> CreateImagePipeline
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for CreateImagePipeline
impl Send for CreateImagePipeline
impl Sync for CreateImagePipeline
impl Unpin for CreateImagePipeline
impl !UnwindSafe for CreateImagePipeline
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more