libZSservicesZSamazonka-workspacesZSamazonka-workspaces
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.WorkSpaces.CreateUpdatedWorkspaceImage

Description

Creates a new updated WorkSpace image based on the specified source image. The new updated WorkSpace image has the latest drivers and other updates required by the Amazon WorkSpaces components.

To determine which WorkSpace images need to be updated with the latest Amazon WorkSpaces requirements, use DescribeWorkspaceImages.

  • Only Windows 10 WorkSpace images can be programmatically updated at this time.
  • Microsoft Windows updates and other application updates are not included in the update process.
  • The source WorkSpace image is not deleted. You can delete the source image after you've verified your new updated image and created a new bundle.
Synopsis

Creating a Request

data CreateUpdatedWorkspaceImage Source #

See: newCreateUpdatedWorkspaceImage smart constructor.

Constructors

CreateUpdatedWorkspaceImage' 

Fields

  • tags :: Maybe [Tag]

    The tags that you want to add to the new updated WorkSpace image.

    To add tags at the same time when you're creating the updated image, you must create an IAM policy that grants your IAM user permissions to use workspaces:CreateTags.

  • name :: Text

    The name of the new updated WorkSpace image.

  • description :: Text

    A description of whether updates for the WorkSpace image are available.

  • sourceImageId :: Text

    The identifier of the source WorkSpace image.

Instances

Instances details
Eq CreateUpdatedWorkspaceImage Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateUpdatedWorkspaceImage

Read CreateUpdatedWorkspaceImage Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateUpdatedWorkspaceImage

Show CreateUpdatedWorkspaceImage Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateUpdatedWorkspaceImage

Generic CreateUpdatedWorkspaceImage Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateUpdatedWorkspaceImage

Associated Types

type Rep CreateUpdatedWorkspaceImage :: Type -> Type #

NFData CreateUpdatedWorkspaceImage Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateUpdatedWorkspaceImage

Hashable CreateUpdatedWorkspaceImage Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateUpdatedWorkspaceImage

ToJSON CreateUpdatedWorkspaceImage Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateUpdatedWorkspaceImage

AWSRequest CreateUpdatedWorkspaceImage Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateUpdatedWorkspaceImage

ToHeaders CreateUpdatedWorkspaceImage Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateUpdatedWorkspaceImage

ToPath CreateUpdatedWorkspaceImage Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateUpdatedWorkspaceImage

ToQuery CreateUpdatedWorkspaceImage Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateUpdatedWorkspaceImage

type Rep CreateUpdatedWorkspaceImage Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateUpdatedWorkspaceImage

type Rep CreateUpdatedWorkspaceImage = D1 ('MetaData "CreateUpdatedWorkspaceImage" "Amazonka.WorkSpaces.CreateUpdatedWorkspaceImage" "libZSservicesZSamazonka-workspacesZSamazonka-workspaces" 'False) (C1 ('MetaCons "CreateUpdatedWorkspaceImage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sourceImageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateUpdatedWorkspaceImage Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateUpdatedWorkspaceImage

newCreateUpdatedWorkspaceImage Source #

Create a value of CreateUpdatedWorkspaceImage 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:tags:CreateUpdatedWorkspaceImage', createUpdatedWorkspaceImage_tags - The tags that you want to add to the new updated WorkSpace image.

To add tags at the same time when you're creating the updated image, you must create an IAM policy that grants your IAM user permissions to use workspaces:CreateTags.

$sel:name:CreateUpdatedWorkspaceImage', createUpdatedWorkspaceImage_name - The name of the new updated WorkSpace image.

$sel:description:CreateUpdatedWorkspaceImage', createUpdatedWorkspaceImage_description - A description of whether updates for the WorkSpace image are available.

$sel:sourceImageId:CreateUpdatedWorkspaceImage', createUpdatedWorkspaceImage_sourceImageId - The identifier of the source WorkSpace image.

Request Lenses

createUpdatedWorkspaceImage_tags :: Lens' CreateUpdatedWorkspaceImage (Maybe [Tag]) Source #

The tags that you want to add to the new updated WorkSpace image.

To add tags at the same time when you're creating the updated image, you must create an IAM policy that grants your IAM user permissions to use workspaces:CreateTags.

createUpdatedWorkspaceImage_name :: Lens' CreateUpdatedWorkspaceImage Text Source #

The name of the new updated WorkSpace image.

createUpdatedWorkspaceImage_description :: Lens' CreateUpdatedWorkspaceImage Text Source #

A description of whether updates for the WorkSpace image are available.

Destructuring the Response

data CreateUpdatedWorkspaceImageResponse Source #

Constructors

CreateUpdatedWorkspaceImageResponse' 

Fields

Instances

Instances details
Eq CreateUpdatedWorkspaceImageResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateUpdatedWorkspaceImage

Read CreateUpdatedWorkspaceImageResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateUpdatedWorkspaceImage

Show CreateUpdatedWorkspaceImageResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateUpdatedWorkspaceImage

Generic CreateUpdatedWorkspaceImageResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateUpdatedWorkspaceImage

NFData CreateUpdatedWorkspaceImageResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateUpdatedWorkspaceImage

type Rep CreateUpdatedWorkspaceImageResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateUpdatedWorkspaceImage

type Rep CreateUpdatedWorkspaceImageResponse = D1 ('MetaData "CreateUpdatedWorkspaceImageResponse" "Amazonka.WorkSpaces.CreateUpdatedWorkspaceImage" "libZSservicesZSamazonka-workspacesZSamazonka-workspaces" 'False) (C1 ('MetaCons "CreateUpdatedWorkspaceImageResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "imageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateUpdatedWorkspaceImageResponse Source #

Create a value of CreateUpdatedWorkspaceImageResponse 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:imageId:CreateUpdatedWorkspaceImageResponse', createUpdatedWorkspaceImageResponse_imageId - The identifier of the new updated WorkSpace image.

$sel:httpStatus:CreateUpdatedWorkspaceImageResponse', createUpdatedWorkspaceImageResponse_httpStatus - The response's http status code.

Response Lenses