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

Description

Sets the state of the specified WorkSpace.

To maintain a WorkSpace without being interrupted, set the WorkSpace state to ADMIN_MAINTENANCE. WorkSpaces in this state do not respond to requests to reboot, stop, start, rebuild, or restore. An AutoStop WorkSpace in this state is not stopped. Users cannot log into a WorkSpace in the ADMIN_MAINTENANCE state.

Synopsis

Creating a Request

data ModifyWorkspaceState Source #

See: newModifyWorkspaceState smart constructor.

Constructors

ModifyWorkspaceState' 

Fields

Instances

Instances details
Eq ModifyWorkspaceState Source # 
Instance details

Defined in Amazonka.WorkSpaces.ModifyWorkspaceState

Read ModifyWorkspaceState Source # 
Instance details

Defined in Amazonka.WorkSpaces.ModifyWorkspaceState

Show ModifyWorkspaceState Source # 
Instance details

Defined in Amazonka.WorkSpaces.ModifyWorkspaceState

Generic ModifyWorkspaceState Source # 
Instance details

Defined in Amazonka.WorkSpaces.ModifyWorkspaceState

Associated Types

type Rep ModifyWorkspaceState :: Type -> Type #

NFData ModifyWorkspaceState Source # 
Instance details

Defined in Amazonka.WorkSpaces.ModifyWorkspaceState

Methods

rnf :: ModifyWorkspaceState -> () #

Hashable ModifyWorkspaceState Source # 
Instance details

Defined in Amazonka.WorkSpaces.ModifyWorkspaceState

ToJSON ModifyWorkspaceState Source # 
Instance details

Defined in Amazonka.WorkSpaces.ModifyWorkspaceState

AWSRequest ModifyWorkspaceState Source # 
Instance details

Defined in Amazonka.WorkSpaces.ModifyWorkspaceState

Associated Types

type AWSResponse ModifyWorkspaceState #

ToHeaders ModifyWorkspaceState Source # 
Instance details

Defined in Amazonka.WorkSpaces.ModifyWorkspaceState

ToPath ModifyWorkspaceState Source # 
Instance details

Defined in Amazonka.WorkSpaces.ModifyWorkspaceState

ToQuery ModifyWorkspaceState Source # 
Instance details

Defined in Amazonka.WorkSpaces.ModifyWorkspaceState

type Rep ModifyWorkspaceState Source # 
Instance details

Defined in Amazonka.WorkSpaces.ModifyWorkspaceState

type Rep ModifyWorkspaceState = D1 ('MetaData "ModifyWorkspaceState" "Amazonka.WorkSpaces.ModifyWorkspaceState" "libZSservicesZSamazonka-workspacesZSamazonka-workspaces" 'False) (C1 ('MetaCons "ModifyWorkspaceState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "workspaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "workspaceState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TargetWorkspaceState)))
type AWSResponse ModifyWorkspaceState Source # 
Instance details

Defined in Amazonka.WorkSpaces.ModifyWorkspaceState

newModifyWorkspaceState Source #

Create a value of ModifyWorkspaceState 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:workspaceId:ModifyWorkspaceState', modifyWorkspaceState_workspaceId - The identifier of the WorkSpace.

$sel:workspaceState:ModifyWorkspaceState', modifyWorkspaceState_workspaceState - The WorkSpace state.

Request Lenses

Destructuring the Response

data ModifyWorkspaceStateResponse Source #

See: newModifyWorkspaceStateResponse smart constructor.

Constructors

ModifyWorkspaceStateResponse' 

Fields

Instances

Instances details
Eq ModifyWorkspaceStateResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.ModifyWorkspaceState

Read ModifyWorkspaceStateResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.ModifyWorkspaceState

Show ModifyWorkspaceStateResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.ModifyWorkspaceState

Generic ModifyWorkspaceStateResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.ModifyWorkspaceState

Associated Types

type Rep ModifyWorkspaceStateResponse :: Type -> Type #

NFData ModifyWorkspaceStateResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.ModifyWorkspaceState

type Rep ModifyWorkspaceStateResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.ModifyWorkspaceState

type Rep ModifyWorkspaceStateResponse = D1 ('MetaData "ModifyWorkspaceStateResponse" "Amazonka.WorkSpaces.ModifyWorkspaceState" "libZSservicesZSamazonka-workspacesZSamazonka-workspaces" 'False) (C1 ('MetaCons "ModifyWorkspaceStateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newModifyWorkspaceStateResponse Source #

Create a value of ModifyWorkspaceStateResponse 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:httpStatus:ModifyWorkspaceStateResponse', modifyWorkspaceStateResponse_httpStatus - The response's http status code.

Response Lenses