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 #

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 #

See: startWorkspaces smart constructor.

Instances

Eq StartWorkspaces # 
Data StartWorkspaces # 

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 # 
Show StartWorkspaces # 
Generic StartWorkspaces # 
Hashable StartWorkspaces # 
ToJSON StartWorkspaces # 
NFData StartWorkspaces # 

Methods

rnf :: StartWorkspaces -> () #

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

Request Lenses

Destructuring the Response

startWorkspacesResponse #

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 #

See: startWorkspacesResponse smart constructor.

Instances

Eq StartWorkspacesResponse # 
Data StartWorkspacesResponse # 

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 # 
Show StartWorkspacesResponse # 
Generic StartWorkspacesResponse # 
NFData StartWorkspacesResponse # 

Methods

rnf :: StartWorkspacesResponse -> () #

type Rep StartWorkspacesResponse # 
type Rep StartWorkspacesResponse = D1 (MetaData "StartWorkspacesResponse" "Network.AWS.WorkSpaces.StartWorkspaces" "amazonka-workspaces-1.4.5-3ohyArvn0vQ6jMfbHLtMmt" 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

swrsResponseStatus :: Lens' StartWorkspacesResponse Int #

  • - | The response status code.