libZSservicesZSamazonka-appstreamZSamazonka-appstream
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AppStream.Types.Image

Description

 
Synopsis

Documentation

data Image Source #

Describes an image.

See: newImage smart constructor.

Constructors

Image' 

Fields

Instances

Instances details
Eq Image Source # 
Instance details

Defined in Amazonka.AppStream.Types.Image

Methods

(==) :: Image -> Image -> Bool #

(/=) :: Image -> Image -> Bool #

Read Image Source # 
Instance details

Defined in Amazonka.AppStream.Types.Image

Show Image Source # 
Instance details

Defined in Amazonka.AppStream.Types.Image

Methods

showsPrec :: Int -> Image -> ShowS #

show :: Image -> String #

showList :: [Image] -> ShowS #

Generic Image Source # 
Instance details

Defined in Amazonka.AppStream.Types.Image

Associated Types

type Rep Image :: Type -> Type #

Methods

from :: Image -> Rep Image x #

to :: Rep Image x -> Image #

NFData Image Source # 
Instance details

Defined in Amazonka.AppStream.Types.Image

Methods

rnf :: Image -> () #

Hashable Image Source # 
Instance details

Defined in Amazonka.AppStream.Types.Image

Methods

hashWithSalt :: Int -> Image -> Int #

hash :: Image -> Int #

FromJSON Image Source # 
Instance details

Defined in Amazonka.AppStream.Types.Image

type Rep Image Source # 
Instance details

Defined in Amazonka.AppStream.Types.Image

type Rep Image = D1 ('MetaData "Image" "Amazonka.AppStream.Types.Image" "libZSservicesZSamazonka-appstreamZSamazonka-appstream" 'False) (C1 ('MetaCons "Image'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImageState)) :*: S1 ('MetaSel ('Just "imagePermissions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImagePermissions))) :*: (S1 ('MetaSel ('Just "platform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PlatformType)) :*: S1 ('MetaSel ('Just "publicBaseImageReleasedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "stateChangeReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImageStateChangeReason)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "createdTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "imageBuilderSupported") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: (((S1 ('MetaSel ('Just "visibility") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VisibilityType)) :*: S1 ('MetaSel ('Just "imageBuilderName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "imageErrors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourceError])) :*: S1 ('MetaSel ('Just "baseImageArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "appstreamAgentVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "applications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Application])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))))

newImage Source #

Arguments

:: Text

$sel:name:Image'

-> Image 

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_arn :: Lens' Image (Maybe Text) Source #

The ARN of the image.

image_createdTime :: Lens' Image (Maybe UTCTime) Source #

The time the image was created.

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_displayName :: Lens' Image (Maybe Text) Source #

The image name to display.

image_description :: Lens' Image (Maybe Text) Source #

The description to display.

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.

image_name :: Lens' Image Text Source #

The name of the image.