amazonka-lightsail-1.4.5: Amazon Lightsail 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.Lightsail.GetOperations

Contents

Description

Returns information about all operations.

Results are returned from oldest to newest, up to a maximum of 200. Results can be paged by making each subsequent call to GetOperations use the maximum (last) statusChangedAt value from the previous request.

Synopsis

Creating a Request

getOperations :: GetOperations Source #

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

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

  • goPageToken - A token used for advancing to the next page of results from your get operations request.

data GetOperations Source #

See: getOperations smart constructor.

Instances

Eq GetOperations Source # 
Data GetOperations Source # 

Methods

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

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

toConstr :: GetOperations -> Constr #

dataTypeOf :: GetOperations -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetOperations Source # 
Show GetOperations Source # 
Generic GetOperations Source # 

Associated Types

type Rep GetOperations :: * -> * #

Hashable GetOperations Source # 
ToJSON GetOperations Source # 
NFData GetOperations Source # 

Methods

rnf :: GetOperations -> () #

AWSRequest GetOperations Source # 
ToPath GetOperations Source # 
ToHeaders GetOperations Source # 
ToQuery GetOperations Source # 
type Rep GetOperations Source # 
type Rep GetOperations = D1 (MetaData "GetOperations" "Network.AWS.Lightsail.GetOperations" "amazonka-lightsail-1.4.5-5jz0XqtfwkUBGV0E8NKblJ" True) (C1 (MetaCons "GetOperations'" PrefixI True) (S1 (MetaSel (Just Symbol "_goPageToken") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))
type Rs GetOperations Source # 

Request Lenses

goPageToken :: Lens' GetOperations (Maybe Text) Source #

A token used for advancing to the next page of results from your get operations request.

Destructuring the Response

getOperationsResponse Source #

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

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

  • gosrsNextPageToken - A token used for advancing to the next page of results from your get operations request.
  • gosrsOperations - An array of key-value pairs containing information about the results of your get operations request.
  • gosrsResponseStatus - -- | The response status code.

data GetOperationsResponse Source #

See: getOperationsResponse smart constructor.

Instances

Eq GetOperationsResponse Source # 
Data GetOperationsResponse Source # 

Methods

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

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

toConstr :: GetOperationsResponse -> Constr #

dataTypeOf :: GetOperationsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetOperationsResponse Source # 
Show GetOperationsResponse Source # 
Generic GetOperationsResponse Source # 
NFData GetOperationsResponse Source # 

Methods

rnf :: GetOperationsResponse -> () #

type Rep GetOperationsResponse Source # 
type Rep GetOperationsResponse = D1 (MetaData "GetOperationsResponse" "Network.AWS.Lightsail.GetOperations" "amazonka-lightsail-1.4.5-5jz0XqtfwkUBGV0E8NKblJ" False) (C1 (MetaCons "GetOperationsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gosrsNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_gosrsOperations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Operation]))) (S1 (MetaSel (Just Symbol "_gosrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

gosrsNextPageToken :: Lens' GetOperationsResponse (Maybe Text) Source #

A token used for advancing to the next page of results from your get operations request.

gosrsOperations :: Lens' GetOperationsResponse [Operation] Source #

An array of key-value pairs containing information about the results of your get operations request.

gosrsResponseStatus :: Lens' GetOperationsResponse Int Source #

  • - | The response status code.