amazonka-workspaces-1.4.4: 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.StopWorkspaces

Contents

Description

Stops the specified WorkSpaces. The API only works with WorkSpaces that have RunningMode configured as AutoStop and the State set to AVAILABLE, IMPAIRED, UNHEALTHY, or ERROR.

Synopsis

Creating a Request

stopWorkspaces Source #

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

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

data StopWorkspaces Source #

See: stopWorkspaces smart constructor.

Instances

Eq StopWorkspaces Source # 
Data StopWorkspaces Source # 

Methods

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

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

toConstr :: StopWorkspaces -> Constr #

dataTypeOf :: StopWorkspaces -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StopWorkspaces Source # 
Show StopWorkspaces Source # 
Generic StopWorkspaces Source # 

Associated Types

type Rep StopWorkspaces :: * -> * #

Hashable StopWorkspaces Source # 
NFData StopWorkspaces Source # 

Methods

rnf :: StopWorkspaces -> () #

AWSRequest StopWorkspaces Source # 
ToPath StopWorkspaces Source # 
ToHeaders StopWorkspaces Source # 
ToQuery StopWorkspaces Source # 
ToJSON StopWorkspaces Source # 
type Rep StopWorkspaces Source # 
type Rep StopWorkspaces = D1 (MetaData "StopWorkspaces" "Network.AWS.WorkSpaces.StopWorkspaces" "amazonka-workspaces-1.4.4-IQnza0NWtgfKfbbLfSFOLb" True) (C1 (MetaCons "StopWorkspaces'" PrefixI True) (S1 (MetaSel (Just Symbol "_swStopWorkspaceRequests") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (List1 StopRequest))))
type Rs StopWorkspaces Source # 

Request Lenses

Destructuring the Response

stopWorkspacesResponse Source #

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

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

data StopWorkspacesResponse Source #

See: stopWorkspacesResponse smart constructor.

Instances

Eq StopWorkspacesResponse Source # 
Data StopWorkspacesResponse Source # 

Methods

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

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

toConstr :: StopWorkspacesResponse -> Constr #

dataTypeOf :: StopWorkspacesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StopWorkspacesResponse Source # 
Show StopWorkspacesResponse Source # 
Generic StopWorkspacesResponse Source # 
NFData StopWorkspacesResponse Source # 

Methods

rnf :: StopWorkspacesResponse -> () #

type Rep StopWorkspacesResponse Source # 
type Rep StopWorkspacesResponse = D1 (MetaData "StopWorkspacesResponse" "Network.AWS.WorkSpaces.StopWorkspaces" "amazonka-workspaces-1.4.4-IQnza0NWtgfKfbbLfSFOLb" False) (C1 (MetaCons "StopWorkspacesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_srsFailedRequests") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [FailedWorkspaceChangeRequest]))) (S1 (MetaSel (Just Symbol "_srsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses