| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AppStream.Types.Image
Description
Synopsis
- data Image = Image' {
- applications :: Maybe [Application]
- appstreamAgentVersion :: Maybe Text
- arn :: Maybe Text
- baseImageArn :: Maybe Text
- createdTime :: Maybe POSIX
- description :: Maybe Text
- displayName :: Maybe Text
- imageBuilderName :: Maybe Text
- imageBuilderSupported :: Maybe Bool
- imageErrors :: Maybe [ResourceError]
- imagePermissions :: Maybe ImagePermissions
- platform :: Maybe PlatformType
- publicBaseImageReleasedDate :: Maybe POSIX
- state :: Maybe ImageState
- stateChangeReason :: Maybe ImageStateChangeReason
- visibility :: Maybe VisibilityType
- name :: Text
- newImage :: Text -> Image
- image_applications :: Lens' Image (Maybe [Application])
- image_appstreamAgentVersion :: Lens' Image (Maybe Text)
- image_arn :: Lens' Image (Maybe Text)
- image_baseImageArn :: Lens' Image (Maybe Text)
- image_createdTime :: Lens' Image (Maybe UTCTime)
- image_description :: Lens' Image (Maybe Text)
- image_displayName :: Lens' Image (Maybe Text)
- image_imageBuilderName :: Lens' Image (Maybe Text)
- image_imageBuilderSupported :: Lens' Image (Maybe Bool)
- image_imageErrors :: Lens' Image (Maybe [ResourceError])
- image_imagePermissions :: Lens' Image (Maybe ImagePermissions)
- image_platform :: Lens' Image (Maybe PlatformType)
- image_publicBaseImageReleasedDate :: Lens' Image (Maybe UTCTime)
- image_state :: Lens' Image (Maybe ImageState)
- image_stateChangeReason :: Lens' Image (Maybe ImageStateChangeReason)
- image_visibility :: Lens' Image (Maybe VisibilityType)
- image_name :: Lens' Image Text
Documentation
Describes an image.
See: newImage smart constructor.
Constructors
| Image' | |
Fields
| |
Instances
Create a value of Image with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:applications:Image', image_applications - The applications associated with the image.
$sel:appstreamAgentVersion:Image', image_appstreamAgentVersion - The version of the AppStream 2.0 agent to use for instances that are
launched from this image.
Image, image_arn - The ARN of the image.
$sel:baseImageArn:Image', image_baseImageArn - The ARN of the image from which this image was created.
Image, image_createdTime - The time the image was created.
Image, image_description - The description to display.
Image, image_displayName - The image name to display.
$sel:imageBuilderName:Image', image_imageBuilderName - The name of the image builder that was used to create the private image.
If the image is shared, this value is null.
$sel:imageBuilderSupported:Image', image_imageBuilderSupported - Indicates whether an image builder can be launched from this image.
$sel:imageErrors:Image', image_imageErrors - Describes the errors that are returned when a new image can't be
created.
$sel:imagePermissions:Image', image_imagePermissions - The permissions to provide to the destination AWS account for the
specified image.
$sel:platform:Image', image_platform - The operating system platform of the image.
$sel:publicBaseImageReleasedDate:Image', image_publicBaseImageReleasedDate - 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.
$sel:state:Image', image_state - The image starts in the PENDING state. If image creation succeeds, the
state is AVAILABLE. If image creation fails, the state is FAILED.
$sel:stateChangeReason:Image', image_stateChangeReason - The reason why the last state change occurred.
$sel:visibility:Image', image_visibility - Indicates whether the image is public or private.
Image, image_name - The name of the image.
image_applications :: Lens' Image (Maybe [Application]) Source #
The applications associated with the image.
image_appstreamAgentVersion :: Lens' Image (Maybe Text) Source #
The version of the AppStream 2.0 agent to use for instances that are launched from this image.
image_baseImageArn :: Lens' Image (Maybe Text) Source #
The ARN of the image from which this image was created.
image_imageBuilderName :: Lens' Image (Maybe Text) Source #
The name of the image builder that was used to create the private image. If the image is shared, this value is null.
image_imageBuilderSupported :: Lens' Image (Maybe Bool) Source #
Indicates whether an image builder can be launched from this image.
image_imageErrors :: Lens' Image (Maybe [ResourceError]) Source #
Describes the errors that are returned when a new image can't be created.
image_imagePermissions :: Lens' Image (Maybe ImagePermissions) Source #
The permissions to provide to the destination AWS account for the specified image.
image_platform :: Lens' Image (Maybe PlatformType) Source #
The operating system platform of the image.
image_publicBaseImageReleasedDate :: Lens' Image (Maybe UTCTime) Source #
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.
image_state :: Lens' Image (Maybe ImageState) Source #
The image starts in the PENDING state. If image creation succeeds, the
state is AVAILABLE. If image creation fails, the state is FAILED.
image_stateChangeReason :: Lens' Image (Maybe ImageStateChangeReason) Source #
The reason why the last state change occurred.
image_visibility :: Lens' Image (Maybe VisibilityType) Source #
Indicates whether the image is public or private.