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

Description

Starts the specified WorkSpaces.

You cannot start a WorkSpace unless it has a running mode of AutoStop and a state of STOPPED.

Synopsis

Creating a Request

data StartWorkspaces Source #

See: newStartWorkspaces smart constructor.

Constructors

StartWorkspaces' 

Fields

Instances

Instances details
Eq StartWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.StartWorkspaces

Read StartWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.StartWorkspaces

Show StartWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.StartWorkspaces

Generic StartWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.StartWorkspaces

Associated Types

type Rep StartWorkspaces :: Type -> Type #

NFData StartWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.StartWorkspaces

Methods

rnf :: StartWorkspaces -> () #

Hashable StartWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.StartWorkspaces

ToJSON StartWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.StartWorkspaces

AWSRequest StartWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.StartWorkspaces

Associated Types

type AWSResponse StartWorkspaces #

ToHeaders StartWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.StartWorkspaces

ToPath StartWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.StartWorkspaces

ToQuery StartWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.StartWorkspaces

type Rep StartWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.StartWorkspaces

type Rep StartWorkspaces = D1 ('MetaData "StartWorkspaces" "Amazonka.WorkSpaces.StartWorkspaces" "libZSservicesZSamazonka-workspacesZSamazonka-workspaces" 'False) (C1 ('MetaCons "StartWorkspaces'" 'PrefixI 'True) (S1 ('MetaSel ('Just "startWorkspaceRequests") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty StartRequest))))
type AWSResponse StartWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.StartWorkspaces

newStartWorkspaces Source #

Create a value of StartWorkspaces 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:startWorkspaceRequests:StartWorkspaces', startWorkspaces_startWorkspaceRequests - The WorkSpaces to start. You can specify up to 25 WorkSpaces.

Request Lenses

startWorkspaces_startWorkspaceRequests :: Lens' StartWorkspaces (NonEmpty StartRequest) Source #

The WorkSpaces to start. You can specify up to 25 WorkSpaces.

Destructuring the Response

data StartWorkspacesResponse Source #

See: newStartWorkspacesResponse smart constructor.

Constructors

StartWorkspacesResponse' 

Fields

Instances

Instances details
Eq StartWorkspacesResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.StartWorkspaces

Read StartWorkspacesResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.StartWorkspaces

Show StartWorkspacesResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.StartWorkspaces

Generic StartWorkspacesResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.StartWorkspaces

Associated Types

type Rep StartWorkspacesResponse :: Type -> Type #

NFData StartWorkspacesResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.StartWorkspaces

Methods

rnf :: StartWorkspacesResponse -> () #

type Rep StartWorkspacesResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.StartWorkspaces

type Rep StartWorkspacesResponse = D1 ('MetaData "StartWorkspacesResponse" "Amazonka.WorkSpaces.StartWorkspaces" "libZSservicesZSamazonka-workspacesZSamazonka-workspaces" 'False) (C1 ('MetaCons "StartWorkspacesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "failedRequests") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FailedWorkspaceChangeRequest])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStartWorkspacesResponse Source #

Create a value of StartWorkspacesResponse 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:failedRequests:StartWorkspacesResponse', startWorkspacesResponse_failedRequests - Information about the WorkSpaces that could not be started.

$sel:httpStatus:StartWorkspacesResponse', startWorkspacesResponse_httpStatus - The response's http status code.

Response Lenses

startWorkspacesResponse_failedRequests :: Lens' StartWorkspacesResponse (Maybe [FailedWorkspaceChangeRequest]) Source #

Information about the WorkSpaces that could not be started.