#[non_exhaustive]pub struct CreateUpdatedImageInput {
pub existing_image_name: Option<String>,
pub new_image_name: Option<String>,
pub new_image_description: Option<String>,
pub new_image_display_name: Option<String>,
pub new_image_tags: Option<HashMap<String, String>>,
pub dry_run: Option<bool>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.existing_image_name: Option<String>
The name of the image to update.
new_image_name: Option<String>
The name of the new image. The name must be unique within the AWS account and Region.
new_image_description: Option<String>
The description to display for the new image.
new_image_display_name: Option<String>
The name to display for the new image.
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.
dry_run: Option<bool>
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.
Implementations§
source§impl CreateUpdatedImageInput
impl CreateUpdatedImageInput
sourcepub fn existing_image_name(&self) -> Option<&str>
pub fn existing_image_name(&self) -> Option<&str>
The name of the image to update.
sourcepub fn new_image_name(&self) -> Option<&str>
pub fn new_image_name(&self) -> Option<&str>
The name of the new image. The name must be unique within the AWS account and Region.
sourcepub fn new_image_description(&self) -> Option<&str>
pub fn new_image_description(&self) -> Option<&str>
The description to display for the new image.
sourcepub fn new_image_display_name(&self) -> Option<&str>
pub fn new_image_display_name(&self) -> Option<&str>
The name to display for the new image.
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) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
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.
source§impl CreateUpdatedImageInput
impl CreateUpdatedImageInput
sourcepub fn builder() -> CreateUpdatedImageInputBuilder
pub fn builder() -> CreateUpdatedImageInputBuilder
Creates a new builder-style object to manufacture CreateUpdatedImageInput
.
Trait Implementations§
source§impl Clone for CreateUpdatedImageInput
impl Clone for CreateUpdatedImageInput
source§fn clone(&self) -> CreateUpdatedImageInput
fn clone(&self) -> CreateUpdatedImageInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateUpdatedImageInput
impl Debug for CreateUpdatedImageInput
source§impl PartialEq for CreateUpdatedImageInput
impl PartialEq for CreateUpdatedImageInput
impl StructuralPartialEq for CreateUpdatedImageInput
Auto Trait Implementations§
impl Freeze for CreateUpdatedImageInput
impl RefUnwindSafe for CreateUpdatedImageInput
impl Send for CreateUpdatedImageInput
impl Sync for CreateUpdatedImageInput
impl Unpin for CreateUpdatedImageInput
impl UnwindSafe for CreateUpdatedImageInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more