#[non_exhaustive]
pub struct Image {
Show 17 fields pub name: Option<String>, pub arn: Option<String>, pub base_image_arn: Option<String>, pub display_name: Option<String>, pub state: Option<ImageState>, pub visibility: Option<VisibilityType>, pub image_builder_supported: bool, pub image_builder_name: Option<String>, pub platform: Option<PlatformType>, pub description: Option<String>, pub state_change_reason: Option<ImageStateChangeReason>, pub applications: Option<Vec<Application>>, pub created_time: Option<DateTime>, pub public_base_image_released_date: Option<DateTime>, pub appstream_agent_version: Option<String>, pub image_permissions: Option<ImagePermissions>, pub image_errors: Option<Vec<ResourceError>>,
}
Expand description

Describes an image.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
name: Option<String>

The name of the image.

arn: Option<String>

The ARN of the image.

base_image_arn: Option<String>

The ARN of the image from which this image was created.

display_name: Option<String>

The image name to display.

state: Option<ImageState>

The image starts in the PENDING state. If image creation succeeds, the state is AVAILABLE. If image creation fails, the state is FAILED.

visibility: Option<VisibilityType>

Indicates whether the image is public or private.

image_builder_supported: bool

Indicates whether an image builder can be launched from this image.

image_builder_name: Option<String>

The name of the image builder that was used to create the private image. If the image is shared, this value is null.

platform: Option<PlatformType>

The operating system platform of the image.

description: Option<String>

The description to display.

state_change_reason: Option<ImageStateChangeReason>

The reason why the last state change occurred.

applications: Option<Vec<Application>>

The applications associated with the image.

created_time: Option<DateTime>

The time the image was created.

public_base_image_released_date: Option<DateTime>

The release date of the public base image. For private images, this date is the release date of the base image from which the image was created.

appstream_agent_version: Option<String>

The version of the AppStream 2.0 agent to use for instances that are launched from this image.

image_permissions: Option<ImagePermissions>

The permissions to provide to the destination AWS account for the specified image.

image_errors: Option<Vec<ResourceError>>

Describes the errors that are returned when a new image can't be created.

Implementations

The name of the image.

The ARN of the image.

The ARN of the image from which this image was created.

The image name to display.

The image starts in the PENDING state. If image creation succeeds, the state is AVAILABLE. If image creation fails, the state is FAILED.

Indicates whether the image is public or private.

Indicates whether an image builder can be launched from this image.

The name of the image builder that was used to create the private image. If the image is shared, this value is null.

The operating system platform of the image.

The description to display.

The reason why the last state change occurred.

The applications associated with the image.

The time the image was created.

The release date of the public base image. For private images, this date is the release date of the base image from which the image was created.

The version of the AppStream 2.0 agent to use for instances that are launched from this image.

The permissions to provide to the destination AWS account for the specified image.

Describes the errors that are returned when a new image can't be created.

Creates a new builder-style object to manufacture Image

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more