amazonka-appstream-2.0: Amazon AppStream SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AppStream.CreateUpdatedImage

Description

Creates a new image with the latest Windows operating system updates, driver updates, and AppStream 2.0 agent software.

For more information, see the "Update an Image by Using Managed AppStream 2.0 Image Updates" section in Administer Your AppStream 2.0 Images, in the Amazon AppStream 2.0 Administration Guide.

Synopsis

Creating a Request

data CreateUpdatedImage Source #

See: newCreateUpdatedImage smart constructor.

Constructors

CreateUpdatedImage' 

Fields

  • dryRun :: Maybe 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.

  • newImageDescription' :: Maybe Text

    The description to display for the new image.

  • newImageDisplayName' :: Maybe Text

    The name to display for the new image.

  • newImageTags' :: Maybe (HashMap Text Text)

    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.

  • existingImageName :: Text

    The name of the image to update.

  • newImageName' :: Text

    The name of the new image. The name must be unique within the AWS account and Region.

Instances

Instances details
ToJSON CreateUpdatedImage Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

ToHeaders CreateUpdatedImage Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

ToPath CreateUpdatedImage Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

ToQuery CreateUpdatedImage Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

AWSRequest CreateUpdatedImage Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

Associated Types

type AWSResponse CreateUpdatedImage #

Generic CreateUpdatedImage Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

Associated Types

type Rep CreateUpdatedImage :: Type -> Type #

Read CreateUpdatedImage Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

Show CreateUpdatedImage Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

NFData CreateUpdatedImage Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

Methods

rnf :: CreateUpdatedImage -> () #

Eq CreateUpdatedImage Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

Hashable CreateUpdatedImage Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

type AWSResponse CreateUpdatedImage Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

type Rep CreateUpdatedImage Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

type Rep CreateUpdatedImage = D1 ('MetaData "CreateUpdatedImage" "Amazonka.AppStream.CreateUpdatedImage" "amazonka-appstream-2.0-2EgS7yjN1zMCngYkSFPgOd" 'False) (C1 ('MetaCons "CreateUpdatedImage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "newImageDescription'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "newImageDisplayName'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "newImageTags'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "existingImageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "newImageName'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newCreateUpdatedImage Source #

Create a value of CreateUpdatedImage 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:dryRun:CreateUpdatedImage', createUpdatedImage_dryRun - 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.

$sel:newImageDescription':CreateUpdatedImage', createUpdatedImage_newImageDescription - The description to display for the new image.

$sel:newImageDisplayName':CreateUpdatedImage', createUpdatedImage_newImageDisplayName - The name to display for the new image.

$sel:newImageTags':CreateUpdatedImage', createUpdatedImage_newImageTags - 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.

$sel:existingImageName:CreateUpdatedImage', createUpdatedImage_existingImageName - The name of the image to update.

$sel:newImageName':CreateUpdatedImage', createUpdatedImage_newImageName - The name of the new image. The name must be unique within the AWS account and Region.

Request Lenses

createUpdatedImage_dryRun :: Lens' CreateUpdatedImage (Maybe Bool) Source #

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.

createUpdatedImage_newImageDescription :: Lens' CreateUpdatedImage (Maybe Text) Source #

The description to display for the new image.

createUpdatedImage_newImageTags :: Lens' CreateUpdatedImage (Maybe (HashMap Text Text)) Source #

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.

createUpdatedImage_newImageName :: Lens' CreateUpdatedImage Text Source #

The name of the new image. The name must be unique within the AWS account and Region.

Destructuring the Response

data CreateUpdatedImageResponse Source #

See: newCreateUpdatedImageResponse smart constructor.

Constructors

CreateUpdatedImageResponse' 

Fields

Instances

Instances details
Generic CreateUpdatedImageResponse Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

Associated Types

type Rep CreateUpdatedImageResponse :: Type -> Type #

Read CreateUpdatedImageResponse Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

Show CreateUpdatedImageResponse Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

NFData CreateUpdatedImageResponse Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

Eq CreateUpdatedImageResponse Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

type Rep CreateUpdatedImageResponse Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

type Rep CreateUpdatedImageResponse = D1 ('MetaData "CreateUpdatedImageResponse" "Amazonka.AppStream.CreateUpdatedImage" "amazonka-appstream-2.0-2EgS7yjN1zMCngYkSFPgOd" 'False) (C1 ('MetaCons "CreateUpdatedImageResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "canUpdateImage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "image") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Image)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateUpdatedImageResponse Source #

Create a value of CreateUpdatedImageResponse 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:canUpdateImage:CreateUpdatedImageResponse', createUpdatedImageResponse_canUpdateImage - Indicates whether a new image can be created.

$sel:image:CreateUpdatedImageResponse', createUpdatedImageResponse_image - Undocumented member.

$sel:httpStatus:CreateUpdatedImageResponse', createUpdatedImageResponse_httpStatus - The response's http status code.

Response Lenses