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

Description

Rebuilds the specified WorkSpace.

You cannot rebuild a WorkSpace unless its state is AVAILABLE, ERROR, UNHEALTHY, STOPPED, or REBOOTING.

Rebuilding a WorkSpace is a potentially destructive action that can result in the loss of data. For more information, see Rebuild a WorkSpace.

This operation is asynchronous and returns before the WorkSpaces have been completely rebuilt.

Synopsis

Creating a Request

data RebuildWorkspaces Source #

See: newRebuildWorkspaces smart constructor.

Constructors

RebuildWorkspaces' 

Fields

Instances

Instances details
Eq RebuildWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebuildWorkspaces

Read RebuildWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebuildWorkspaces

Show RebuildWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebuildWorkspaces

Generic RebuildWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebuildWorkspaces

Associated Types

type Rep RebuildWorkspaces :: Type -> Type #

NFData RebuildWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebuildWorkspaces

Methods

rnf :: RebuildWorkspaces -> () #

Hashable RebuildWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebuildWorkspaces

ToJSON RebuildWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebuildWorkspaces

AWSRequest RebuildWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebuildWorkspaces

Associated Types

type AWSResponse RebuildWorkspaces #

ToHeaders RebuildWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebuildWorkspaces

ToPath RebuildWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebuildWorkspaces

ToQuery RebuildWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebuildWorkspaces

type Rep RebuildWorkspaces Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebuildWorkspaces

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

Defined in Amazonka.WorkSpaces.RebuildWorkspaces

newRebuildWorkspaces Source #

Create a value of RebuildWorkspaces 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:rebuildWorkspaceRequests:RebuildWorkspaces', rebuildWorkspaces_rebuildWorkspaceRequests - The WorkSpace to rebuild. You can specify a single WorkSpace.

Request Lenses

rebuildWorkspaces_rebuildWorkspaceRequests :: Lens' RebuildWorkspaces (NonEmpty RebuildRequest) Source #

The WorkSpace to rebuild. You can specify a single WorkSpace.

Destructuring the Response

data RebuildWorkspacesResponse Source #

See: newRebuildWorkspacesResponse smart constructor.

Constructors

RebuildWorkspacesResponse' 

Fields

Instances

Instances details
Eq RebuildWorkspacesResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebuildWorkspaces

Read RebuildWorkspacesResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebuildWorkspaces

Show RebuildWorkspacesResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebuildWorkspaces

Generic RebuildWorkspacesResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebuildWorkspaces

Associated Types

type Rep RebuildWorkspacesResponse :: Type -> Type #

NFData RebuildWorkspacesResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebuildWorkspaces

type Rep RebuildWorkspacesResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.RebuildWorkspaces

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

newRebuildWorkspacesResponse Source #

Create a value of RebuildWorkspacesResponse 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:RebuildWorkspacesResponse', rebuildWorkspacesResponse_failedRequests - Information about the WorkSpace that could not be rebuilt.

$sel:httpStatus:RebuildWorkspacesResponse', rebuildWorkspacesResponse_httpStatus - The response's http status code.

Response Lenses