amazonka-workspaces-1.4.1: Amazon WorkSpaces SDK.

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

Network.AWS.WorkSpaces.RebootWorkspaces

Contents

Description

Reboots the specified WorkSpaces.

To be able to reboot a WorkSpace, the WorkSpace must have a State of AVAILABLE, IMPAIRED, or INOPERABLE.

This operation is asynchronous and will return before the WorkSpaces have rebooted.

Synopsis

Creating a Request

rebootWorkspaces Source #

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

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

data RebootWorkspaces Source #

Contains the inputs for the RebootWorkspaces operation.

See: rebootWorkspaces smart constructor.

Instances

Eq RebootWorkspaces Source # 
Data RebootWorkspaces Source # 

Methods

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

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

toConstr :: RebootWorkspaces -> Constr #

dataTypeOf :: RebootWorkspaces -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: RebootWorkspaces -> () #

AWSRequest RebootWorkspaces Source # 
ToQuery RebootWorkspaces Source # 
ToPath RebootWorkspaces Source # 
ToHeaders RebootWorkspaces Source # 
type Rep RebootWorkspaces Source # 
type Rep RebootWorkspaces = D1 (MetaData "RebootWorkspaces" "Network.AWS.WorkSpaces.RebootWorkspaces" "amazonka-workspaces-1.4.1-LvoNQvywzDIKbynW2IsADw" True) (C1 (MetaCons "RebootWorkspaces'" PrefixI True) (S1 (MetaSel (Just Symbol "_rwRebootWorkspaceRequests") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (List1 RebootRequest))))
type Rs RebootWorkspaces Source # 

Request Lenses

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

An array of structures that specify the WorkSpaces to reboot.

Destructuring the Response

rebootWorkspacesResponse Source #

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

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

data RebootWorkspacesResponse Source #

Contains the results of the RebootWorkspaces operation.

See: rebootWorkspacesResponse smart constructor.

Instances

Eq RebootWorkspacesResponse Source # 
Data RebootWorkspacesResponse Source # 

Methods

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

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

toConstr :: RebootWorkspacesResponse -> Constr #

dataTypeOf :: RebootWorkspacesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RebootWorkspacesResponse Source # 
Show RebootWorkspacesResponse Source # 
Generic RebootWorkspacesResponse Source # 
NFData RebootWorkspacesResponse Source # 
type Rep RebootWorkspacesResponse Source # 
type Rep RebootWorkspacesResponse = D1 (MetaData "RebootWorkspacesResponse" "Network.AWS.WorkSpaces.RebootWorkspaces" "amazonka-workspaces-1.4.1-LvoNQvywzDIKbynW2IsADw" False) (C1 (MetaCons "RebootWorkspacesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rrsFailedRequests") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [FailedWorkspaceChangeRequest]))) (S1 (MetaSel (Just Symbol "_rrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

rrsFailedRequests :: Lens' RebootWorkspacesResponse [FailedWorkspaceChangeRequest] Source #

An array of structures that represent any WorkSpaces that could not be rebooted.