Struct aws_sdk_appstream::input::CreateUpdatedImageInput
source · [−]#[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: 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: boolIndicates 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
sourceimpl CreateUpdatedImageInput
impl CreateUpdatedImageInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateUpdatedImage, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateUpdatedImage, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateUpdatedImage>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateUpdatedImageInput.
sourceimpl 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) -> bool
pub fn dry_run(&self) -> 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.
Trait Implementations
sourceimpl Clone for CreateUpdatedImageInput
impl Clone for CreateUpdatedImageInput
sourcefn clone(&self) -> CreateUpdatedImageInput
fn clone(&self) -> CreateUpdatedImageInput
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
sourceimpl Debug for CreateUpdatedImageInput
impl Debug for CreateUpdatedImageInput
sourceimpl PartialEq<CreateUpdatedImageInput> for CreateUpdatedImageInput
impl PartialEq<CreateUpdatedImageInput> for CreateUpdatedImageInput
sourcefn eq(&self, other: &CreateUpdatedImageInput) -> bool
fn eq(&self, other: &CreateUpdatedImageInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CreateUpdatedImageInput) -> bool
fn ne(&self, other: &CreateUpdatedImageInput) -> bool
This method tests for !=.
impl StructuralPartialEq for CreateUpdatedImageInput
Auto Trait Implementations
impl RefUnwindSafe for CreateUpdatedImageInput
impl Send for CreateUpdatedImageInput
impl Sync for CreateUpdatedImageInput
impl Unpin for CreateUpdatedImageInput
impl UnwindSafe for CreateUpdatedImageInput
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> 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