amazonka-workspaces-1.6.0: Amazon WorkSpaces SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.WorkSpaces.RebuildWorkspaces

Contents

Description

Rebuilds the specified WorkSpace.

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

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

rebuildWorkspaces Source #

Creates a value of RebuildWorkspaces with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data RebuildWorkspaces Source #

See: rebuildWorkspaces smart constructor.

Instances

Eq RebuildWorkspaces Source # 
Data RebuildWorkspaces Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RebuildWorkspaces -> c RebuildWorkspaces #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RebuildWorkspaces #

toConstr :: RebuildWorkspaces -> Constr #

dataTypeOf :: RebuildWorkspaces -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c RebuildWorkspaces) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RebuildWorkspaces) #

gmapT :: (forall b. Data b => b -> b) -> RebuildWorkspaces -> RebuildWorkspaces #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RebuildWorkspaces -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RebuildWorkspaces -> r #

gmapQ :: (forall d. Data d => d -> u) -> RebuildWorkspaces -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RebuildWorkspaces -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RebuildWorkspaces -> m RebuildWorkspaces #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RebuildWorkspaces -> m RebuildWorkspaces #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RebuildWorkspaces -> m RebuildWorkspaces #

Read RebuildWorkspaces Source # 
Show RebuildWorkspaces Source # 
Generic RebuildWorkspaces Source # 
Hashable RebuildWorkspaces Source # 
ToJSON RebuildWorkspaces Source # 
NFData RebuildWorkspaces Source # 

Methods

rnf :: RebuildWorkspaces -> () #

AWSRequest RebuildWorkspaces Source # 
ToHeaders RebuildWorkspaces Source # 
ToPath RebuildWorkspaces Source # 
ToQuery RebuildWorkspaces Source # 
type Rep RebuildWorkspaces Source # 
type Rep RebuildWorkspaces = D1 * (MetaData "RebuildWorkspaces" "Network.AWS.WorkSpaces.RebuildWorkspaces" "amazonka-workspaces-1.6.0-AwHYwyt6ovyA3XlaTDhfeV" True) (C1 * (MetaCons "RebuildWorkspaces'" PrefixI True) (S1 * (MetaSel (Just Symbol "_rwRebuildWorkspaceRequests") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (List1 RebuildRequest))))
type Rs RebuildWorkspaces Source # 

Request Lenses

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

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

Destructuring the Response

rebuildWorkspacesResponse Source #

Creates a value of RebuildWorkspacesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data RebuildWorkspacesResponse Source #

See: rebuildWorkspacesResponse smart constructor.

Instances

Eq RebuildWorkspacesResponse Source # 
Data RebuildWorkspacesResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RebuildWorkspacesResponse -> c RebuildWorkspacesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RebuildWorkspacesResponse #

toConstr :: RebuildWorkspacesResponse -> Constr #

dataTypeOf :: RebuildWorkspacesResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c RebuildWorkspacesResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RebuildWorkspacesResponse) #

gmapT :: (forall b. Data b => b -> b) -> RebuildWorkspacesResponse -> RebuildWorkspacesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RebuildWorkspacesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RebuildWorkspacesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> RebuildWorkspacesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RebuildWorkspacesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RebuildWorkspacesResponse -> m RebuildWorkspacesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RebuildWorkspacesResponse -> m RebuildWorkspacesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RebuildWorkspacesResponse -> m RebuildWorkspacesResponse #

Read RebuildWorkspacesResponse Source # 
Show RebuildWorkspacesResponse Source # 
Generic RebuildWorkspacesResponse Source # 
NFData RebuildWorkspacesResponse Source # 
type Rep RebuildWorkspacesResponse Source # 
type Rep RebuildWorkspacesResponse = D1 * (MetaData "RebuildWorkspacesResponse" "Network.AWS.WorkSpaces.RebuildWorkspaces" "amazonka-workspaces-1.6.0-AwHYwyt6ovyA3XlaTDhfeV" False) (C1 * (MetaCons "RebuildWorkspacesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_rwrsFailedRequests") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [FailedWorkspaceChangeRequest]))) (S1 * (MetaSel (Just Symbol "_rwrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

rwrsFailedRequests :: Lens' RebuildWorkspacesResponse [FailedWorkspaceChangeRequest] Source #

Information about the WorkSpace if it could not be rebuilt.