pub struct CreateUpdatedImage { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateUpdatedImage
.
Creates a new image with the latest Windows operating system updates, driver updates, and AppStream 2.0 agent software.
For more information, see the "Update an Image by Using Managed AppStream 2.0 Image Updates" section in Administer Your AppStream 2.0 Images, in the Amazon AppStream 2.0 Administration Guide.
Implementations§
source§impl CreateUpdatedImage
impl CreateUpdatedImage
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateUpdatedImage, AwsResponseRetryClassifier>, SdkError<CreateUpdatedImageError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateUpdatedImage, AwsResponseRetryClassifier>, SdkError<CreateUpdatedImageError>>
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<CreateUpdatedImageOutput, SdkError<CreateUpdatedImageError>>
pub async fn send(
self
) -> Result<CreateUpdatedImageOutput, SdkError<CreateUpdatedImageError>>
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 existing_image_name(self, input: impl Into<String>) -> Self
pub fn existing_image_name(self, input: impl Into<String>) -> Self
The name of the image to update.
sourcepub fn set_existing_image_name(self, input: Option<String>) -> Self
pub fn set_existing_image_name(self, input: Option<String>) -> Self
The name of the image to update.
sourcepub fn new_image_name(self, input: impl Into<String>) -> Self
pub fn new_image_name(self, input: impl Into<String>) -> Self
The name of the new image. The name must be unique within the AWS account and Region.
sourcepub fn set_new_image_name(self, input: Option<String>) -> Self
pub fn set_new_image_name(self, input: Option<String>) -> Self
The name of the new image. The name must be unique within the AWS account and Region.
sourcepub fn new_image_description(self, input: impl Into<String>) -> Self
pub fn new_image_description(self, input: impl Into<String>) -> Self
The description to display for the new image.
sourcepub fn set_new_image_description(self, input: Option<String>) -> Self
pub fn set_new_image_description(self, input: Option<String>) -> Self
The description to display for the new image.
sourcepub fn new_image_display_name(self, input: impl Into<String>) -> Self
pub fn new_image_display_name(self, input: impl Into<String>) -> Self
The name to display for the new image.
sourcepub fn set_new_image_display_name(self, input: Option<String>) -> Self
pub fn set_new_image_display_name(self, input: Option<String>) -> Self
The name to display for the new image.
Adds a key-value pair to newImageTags
.
To override the contents of this collection use set_new_image_tags
.
The tags to associate with the new image. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.
Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:
_ . : / = + \ - @
If you do not specify a value, the value is set to an empty string.
For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.
The tags to associate with the new image. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.
Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:
_ . : / = + \ - @
If you do not specify a value, the value is set to an empty string.
For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Indicates whether to display the status of image update availability before AppStream 2.0 initiates the process of creating a new updated image. If this value is set to true
, AppStream 2.0 displays whether image updates are available. If this value is set to false
, AppStream 2.0 initiates the process of creating a new updated image without displaying whether image updates are available.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
Indicates whether to display the status of image update availability before AppStream 2.0 initiates the process of creating a new updated image. If this value is set to true
, AppStream 2.0 displays whether image updates are available. If this value is set to false
, AppStream 2.0 initiates the process of creating a new updated image without displaying whether image updates are available.
Trait Implementations§
source§impl Clone for CreateUpdatedImage
impl Clone for CreateUpdatedImage
source§fn clone(&self) -> CreateUpdatedImage
fn clone(&self) -> CreateUpdatedImage
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more