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

Contents

Description

Starts the specified WorkSpaces.

You cannot start a WorkSpace unless it has a running mode of AutoStop and a state of 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 # 
ToHeaders StartWorkspaces Source # 
ToPath StartWorkspaces Source # 
ToQuery StartWorkspaces Source # 
type Rep StartWorkspaces Source # 
type Rep StartWorkspaces = D1 * (MetaData "StartWorkspaces" "Network.AWS.WorkSpaces.StartWorkspaces" "amazonka-workspaces-1.6.0-AwHYwyt6ovyA3XlaTDhfeV" True) (C1 * (MetaCons "StartWorkspaces'" PrefixI True) (S1 * (MetaSel (Just Symbol "_swStartWorkspaceRequests") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (List1 StartRequest))))
type Rs StartWorkspaces Source # 

Request Lenses

swStartWorkspaceRequests :: Lens' StartWorkspaces (NonEmpty StartRequest) Source #

The WorkSpaces to start. You can specify up to 25 WorkSpaces.

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.6.0-AwHYwyt6ovyA3XlaTDhfeV" False) (C1 * (MetaCons "StartWorkspacesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_swrsFailedRequests") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [FailedWorkspaceChangeRequest]))) (S1 * (MetaSel (Just Symbol "_swrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

swrsFailedRequests :: Lens' StartWorkspacesResponse [FailedWorkspaceChangeRequest] Source #

Information about the WorkSpaces that could not be started.