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.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

  • 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.

  • newImageDescription' :: Maybe Text

    The description to display for the new image.

  • newImageDisplayName' :: Maybe Text

    The name to display for the new image.

  • 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.

  • 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
Eq CreateUpdatedImage Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

Read CreateUpdatedImage Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

Show CreateUpdatedImage Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

Generic CreateUpdatedImage Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

Associated Types

type Rep CreateUpdatedImage :: Type -> Type #

NFData CreateUpdatedImage Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

Methods

rnf :: CreateUpdatedImage -> () #

Hashable CreateUpdatedImage Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

ToJSON CreateUpdatedImage Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

AWSRequest CreateUpdatedImage Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

Associated Types

type AWSResponse 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

type Rep CreateUpdatedImage Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

type Rep CreateUpdatedImage = D1 ('MetaData "CreateUpdatedImage" "Amazonka.AppStream.CreateUpdatedImage" "libZSservicesZSamazonka-appstreamZSamazonka-appstream" 'False) (C1 ('MetaCons "CreateUpdatedImage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "newImageTags'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "newImageDescription'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "newImageDisplayName'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "existingImageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "newImageName'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateUpdatedImage Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

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: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: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: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: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_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_newImageDescription :: Lens' CreateUpdatedImage (Maybe Text) Source #

The description to display for the new image.

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_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
Eq CreateUpdatedImageResponse Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

Read CreateUpdatedImageResponse Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

Show CreateUpdatedImageResponse Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

Generic CreateUpdatedImageResponse Source # 
Instance details

Defined in Amazonka.AppStream.CreateUpdatedImage

Associated Types

type Rep CreateUpdatedImageResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-appstreamZSamazonka-appstream" 'False) (C1 ('MetaCons "CreateUpdatedImageResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "image") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Image)) :*: (S1 ('MetaSel ('Just "canUpdateImage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: 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:image:CreateUpdatedImageResponse', createUpdatedImageResponse_image - Undocumented member.

$sel:canUpdateImage:CreateUpdatedImageResponse', createUpdatedImageResponse_canUpdateImage - Indicates whether a new image can be created.

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

Response Lenses