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

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 #

See: stopWorkspaces smart constructor.

Instances

Eq StopWorkspaces # 
Data StopWorkspaces # 

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 # 
Show StopWorkspaces # 
Generic StopWorkspaces # 

Associated Types

type Rep StopWorkspaces :: * -> * #

Hashable StopWorkspaces # 
ToJSON StopWorkspaces # 
NFData StopWorkspaces # 

Methods

rnf :: StopWorkspaces -> () #

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

Request Lenses

Destructuring the Response

stopWorkspacesResponse #

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 #

See: stopWorkspacesResponse smart constructor.

Instances

Eq StopWorkspacesResponse # 
Data StopWorkspacesResponse # 

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

Methods

rnf :: StopWorkspacesResponse -> () #

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

srsResponseStatus :: Lens' StopWorkspacesResponse Int #

  • - | The response status code.