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

Description

Creates the specified WorkSpace bundle. For more information about creating WorkSpace bundles, see Create a Custom WorkSpaces Image and Bundle.

Synopsis

Creating a Request

data CreateWorkspaceBundle Source #

See: newCreateWorkspaceBundle smart constructor.

Constructors

CreateWorkspaceBundle' 

Fields

Instances

Instances details
Eq CreateWorkspaceBundle Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateWorkspaceBundle

Read CreateWorkspaceBundle Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateWorkspaceBundle

Show CreateWorkspaceBundle Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateWorkspaceBundle

Generic CreateWorkspaceBundle Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateWorkspaceBundle

Associated Types

type Rep CreateWorkspaceBundle :: Type -> Type #

NFData CreateWorkspaceBundle Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateWorkspaceBundle

Methods

rnf :: CreateWorkspaceBundle -> () #

Hashable CreateWorkspaceBundle Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateWorkspaceBundle

ToJSON CreateWorkspaceBundle Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateWorkspaceBundle

AWSRequest CreateWorkspaceBundle Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateWorkspaceBundle

Associated Types

type AWSResponse CreateWorkspaceBundle #

ToHeaders CreateWorkspaceBundle Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateWorkspaceBundle

ToPath CreateWorkspaceBundle Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateWorkspaceBundle

ToQuery CreateWorkspaceBundle Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateWorkspaceBundle

type Rep CreateWorkspaceBundle Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateWorkspaceBundle

type Rep CreateWorkspaceBundle = D1 ('MetaData "CreateWorkspaceBundle" "Amazonka.WorkSpaces.CreateWorkspaceBundle" "libZSservicesZSamazonka-workspacesZSamazonka-workspaces" 'False) (C1 ('MetaCons "CreateWorkspaceBundle'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "rootStorage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RootStorage)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "bundleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "bundleDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "imageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "computeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ComputeType) :*: S1 ('MetaSel ('Just "userStorage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UserStorage)))))
type AWSResponse CreateWorkspaceBundle Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateWorkspaceBundle

newCreateWorkspaceBundle Source #

Create a value of CreateWorkspaceBundle 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:rootStorage:CreateWorkspaceBundle', createWorkspaceBundle_rootStorage - Undocumented member.

$sel:tags:CreateWorkspaceBundle', createWorkspaceBundle_tags - The tags associated with the bundle.

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

$sel:bundleName:CreateWorkspaceBundle', createWorkspaceBundle_bundleName - The name of the bundle.

$sel:bundleDescription:CreateWorkspaceBundle', createWorkspaceBundle_bundleDescription - The description of the bundle.

$sel:imageId:CreateWorkspaceBundle', createWorkspaceBundle_imageId - The identifier of the image that is used to create the bundle.

$sel:computeType:CreateWorkspaceBundle', createWorkspaceBundle_computeType - Undocumented member.

$sel:userStorage:CreateWorkspaceBundle', createWorkspaceBundle_userStorage - Undocumented member.

Request Lenses

createWorkspaceBundle_tags :: Lens' CreateWorkspaceBundle (Maybe [Tag]) Source #

The tags associated with the bundle.

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

createWorkspaceBundle_imageId :: Lens' CreateWorkspaceBundle Text Source #

The identifier of the image that is used to create the bundle.

Destructuring the Response

data CreateWorkspaceBundleResponse Source #

See: newCreateWorkspaceBundleResponse smart constructor.

Constructors

CreateWorkspaceBundleResponse' 

Fields

Instances

Instances details
Eq CreateWorkspaceBundleResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateWorkspaceBundle

Read CreateWorkspaceBundleResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateWorkspaceBundle

Show CreateWorkspaceBundleResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateWorkspaceBundle

Generic CreateWorkspaceBundleResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateWorkspaceBundle

Associated Types

type Rep CreateWorkspaceBundleResponse :: Type -> Type #

NFData CreateWorkspaceBundleResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateWorkspaceBundle

type Rep CreateWorkspaceBundleResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateWorkspaceBundle

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

newCreateWorkspaceBundleResponse Source #

Create a value of CreateWorkspaceBundleResponse 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:workspaceBundle:CreateWorkspaceBundleResponse', createWorkspaceBundleResponse_workspaceBundle - Undocumented member.

$sel:httpStatus:CreateWorkspaceBundleResponse', createWorkspaceBundleResponse_httpStatus - The response's http status code.

Response Lenses