amazonka-workspaces-1.4.5: 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.StartWorkspaces

Contents

Description

Starts the specified WorkSpaces. The API only works with WorkSpaces that have RunningMode configured as AutoStop and the State set to “STOPPED.”

Synopsis

Creating a Request

startWorkspaces Source #

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

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

data StartWorkspaces Source #

See: startWorkspaces smart constructor.

Instances

Eq StartWorkspaces Source # 
Data StartWorkspaces Source # 

Methods

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

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

toConstr :: StartWorkspaces -> Constr #

dataTypeOf :: StartWorkspaces -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: StartWorkspaces -> () #

AWSRequest StartWorkspaces Source # 
ToPath StartWorkspaces Source # 
ToHeaders StartWorkspaces Source # 
ToQuery StartWorkspaces Source # 
type Rep StartWorkspaces Source # 
type Rep StartWorkspaces = D1 (MetaData "StartWorkspaces" "Network.AWS.WorkSpaces.StartWorkspaces" "amazonka-workspaces-1.4.5-4DD1G7CeACD22Zx40RVwZt" True) (C1 (MetaCons "StartWorkspaces'" PrefixI True) (S1 (MetaSel (Just Symbol "_swStartWorkspaceRequests") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (List1 StartRequest))))
type Rs StartWorkspaces Source # 

Request Lenses

Destructuring the Response

startWorkspacesResponse Source #

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

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

data StartWorkspacesResponse Source #

See: startWorkspacesResponse smart constructor.

Instances

Eq StartWorkspacesResponse Source # 
Data StartWorkspacesResponse Source # 

Methods

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

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

toConstr :: StartWorkspacesResponse -> Constr #

dataTypeOf :: StartWorkspacesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StartWorkspacesResponse Source # 
Show StartWorkspacesResponse Source # 
Generic StartWorkspacesResponse Source # 
NFData StartWorkspacesResponse Source # 

Methods

rnf :: StartWorkspacesResponse -> () #

type Rep StartWorkspacesResponse Source # 
type Rep StartWorkspacesResponse = D1 (MetaData "StartWorkspacesResponse" "Network.AWS.WorkSpaces.StartWorkspaces" "amazonka-workspaces-1.4.5-4DD1G7CeACD22Zx40RVwZt" False) (C1 (MetaCons "StartWorkspacesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_swrsFailedRequests") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [FailedWorkspaceChangeRequest]))) (S1 (MetaSel (Just Symbol "_swrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses