amazonka-workspaces-2.0: Amazon WorkSpaces SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.WorkSpaces.RebootWorkspaces

Description

Reboots the specified WorkSpaces.

You cannot reboot a WorkSpace unless its state is AVAILABLE or UNHEALTHY.

This operation is asynchronous and returns before the WorkSpaces have rebooted.

Synopsis

Creating a Request

data RebootWorkspaces Source #

See: newRebootWorkspaces smart constructor.

Constructors

RebootWorkspaces' 

Fields

Instances

Instances details
ToJSON RebootWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebootWorkspaces

ToHeaders RebootWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebootWorkspaces

ToPath RebootWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebootWorkspaces

ToQuery RebootWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebootWorkspaces

AWSRequest RebootWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebootWorkspaces

Associated Types

type AWSResponse RebootWorkspaces #

Generic RebootWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebootWorkspaces

Associated Types

type Rep RebootWorkspaces :: Type -> Type #

Read RebootWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebootWorkspaces

Show RebootWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebootWorkspaces

NFData RebootWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebootWorkspaces

Methods

rnf :: RebootWorkspaces -> () #

Eq RebootWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebootWorkspaces

Hashable RebootWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebootWorkspaces

type AWSResponse RebootWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebootWorkspaces

type Rep RebootWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebootWorkspaces

type Rep RebootWorkspaces = D1 ('MetaData "RebootWorkspaces" "Amazonka.WorkSpaces.RebootWorkspaces" "amazonka-workspaces-2.0-EI6zVIh1dgfFziJEJ0Fxkv" 'False) (C1 ('MetaCons "RebootWorkspaces'" 'PrefixI 'True) (S1 ('MetaSel ('Just "rebootWorkspaceRequests") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty RebootRequest))))

newRebootWorkspaces Source #

Create a value of RebootWorkspaces 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:rebootWorkspaceRequests:RebootWorkspaces', rebootWorkspaces_rebootWorkspaceRequests - The WorkSpaces to reboot. You can specify up to 25 WorkSpaces.

Request Lenses

rebootWorkspaces_rebootWorkspaceRequests :: Lens' RebootWorkspaces (NonEmpty RebootRequest) Source #

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

Destructuring the Response

data RebootWorkspacesResponse Source #

See: newRebootWorkspacesResponse smart constructor.

Constructors

RebootWorkspacesResponse' 

Fields

Instances

Instances details
Generic RebootWorkspacesResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebootWorkspaces

Associated Types

type Rep RebootWorkspacesResponse :: Type -> Type #

Read RebootWorkspacesResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebootWorkspaces

Show RebootWorkspacesResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebootWorkspaces

NFData RebootWorkspacesResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebootWorkspaces

Eq RebootWorkspacesResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebootWorkspaces

type Rep RebootWorkspacesResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebootWorkspaces

type Rep RebootWorkspacesResponse = D1 ('MetaData "RebootWorkspacesResponse" "Amazonka.WorkSpaces.RebootWorkspaces" "amazonka-workspaces-2.0-EI6zVIh1dgfFziJEJ0Fxkv" 'False) (C1 ('MetaCons "RebootWorkspacesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "failedRequests") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FailedWorkspaceChangeRequest])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newRebootWorkspacesResponse Source #

Create a value of RebootWorkspacesResponse 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:RebootWorkspacesResponse', rebootWorkspacesResponse_failedRequests - Information about the WorkSpaces that could not be rebooted.

$sel:httpStatus:RebootWorkspacesResponse', rebootWorkspacesResponse_httpStatus - The response's http status code.

Response Lenses

rebootWorkspacesResponse_failedRequests :: Lens' RebootWorkspacesResponse (Maybe [FailedWorkspaceChangeRequest]) Source #

Information about the WorkSpaces that could not be rebooted.