Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Image = Image' {
- state :: Maybe ImageState
- imagePermissions :: Maybe ImagePermissions
- platform :: Maybe PlatformType
- publicBaseImageReleasedDate :: Maybe POSIX
- stateChangeReason :: Maybe ImageStateChangeReason
- arn :: Maybe Text
- createdTime :: Maybe POSIX
- imageBuilderSupported :: Maybe Bool
- visibility :: Maybe VisibilityType
- imageBuilderName :: Maybe Text
- imageErrors :: Maybe [ResourceError]
- baseImageArn :: Maybe Text
- displayName :: Maybe Text
- description :: Maybe Text
- appstreamAgentVersion :: Maybe Text
- applications :: Maybe [Application]
- name :: Text
- newImage :: Text -> Image
- image_state :: Lens' Image (Maybe ImageState)
- image_imagePermissions :: Lens' Image (Maybe ImagePermissions)
- image_platform :: Lens' Image (Maybe PlatformType)
- image_publicBaseImageReleasedDate :: Lens' Image (Maybe UTCTime)
- image_stateChangeReason :: Lens' Image (Maybe ImageStateChangeReason)
- image_arn :: Lens' Image (Maybe Text)
- image_createdTime :: Lens' Image (Maybe UTCTime)
- image_imageBuilderSupported :: Lens' Image (Maybe Bool)
- image_visibility :: Lens' Image (Maybe VisibilityType)
- image_imageBuilderName :: Lens' Image (Maybe Text)
- image_imageErrors :: Lens' Image (Maybe [ResourceError])
- image_baseImageArn :: Lens' Image (Maybe Text)
- image_displayName :: Lens' Image (Maybe Text)
- image_description :: Lens' Image (Maybe Text)
- image_appstreamAgentVersion :: Lens' Image (Maybe Text)
- image_applications :: Lens' Image (Maybe [Application])
- image_name :: Lens' Image Text
Documentation
Describes an image.
See: newImage
smart constructor.
Image' | |
|
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: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: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:stateChangeReason:Image'
, image_stateChangeReason
- The reason why the last state change occurred.
$sel:arn:Image'
, image_arn
- The ARN of the image.
$sel:createdTime:Image'
, image_createdTime
- The time the image was created.
$sel:imageBuilderSupported:Image'
, image_imageBuilderSupported
- Indicates whether an image builder can be launched from this image.
$sel:visibility:Image'
, image_visibility
- Indicates whether the image is public or private.
$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:imageErrors:Image'
, image_imageErrors
- Describes the errors that are returned when a new image can't be
created.
$sel:baseImageArn:Image'
, image_baseImageArn
- The ARN of the image from which this image was created.
$sel:displayName:Image'
, image_displayName
- The image name to display.
$sel:description:Image'
, image_description
- The description to display.
$sel:appstreamAgentVersion:Image'
, image_appstreamAgentVersion
- The version of the AppStream 2.0 agent to use for instances that are
launched from this image.
$sel:applications:Image'
, image_applications
- The applications associated with the image.
$sel:name:Image'
, image_name
- The name of the image.
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_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_stateChangeReason :: Lens' Image (Maybe ImageStateChangeReason) Source #
The reason why the last state change occurred.
image_imageBuilderSupported :: Lens' Image (Maybe Bool) Source #
Indicates whether an image builder can be launched from this image.
image_visibility :: Lens' Image (Maybe VisibilityType) Source #
Indicates whether the image is public or private.
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_imageErrors :: Lens' Image (Maybe [ResourceError]) Source #
Describes the errors that are returned when a new image can't be created.
image_baseImageArn :: Lens' Image (Maybe Text) Source #
The ARN of the image from which this image was created.
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_applications :: Lens' Image (Maybe [Application]) Source #
The applications associated with the image.