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

This operation returns paginated results.

Synopsis

Creating a Request

getOperations :: GetOperations #

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 #

See: getOperations smart constructor.

Instances

Eq GetOperations # 
Data GetOperations # 

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

Associated Types

type Rep GetOperations :: * -> * #

Hashable GetOperations # 
ToJSON GetOperations # 
NFData GetOperations # 

Methods

rnf :: GetOperations -> () #

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

Request Lenses

goPageToken :: Lens' GetOperations (Maybe Text) #

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

Destructuring the Response

getOperationsResponse #

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 #

See: getOperationsResponse smart constructor.

Instances

Eq GetOperationsResponse # 
Data GetOperationsResponse # 

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

Methods

rnf :: GetOperationsResponse -> () #

type Rep GetOperationsResponse # 
type Rep GetOperationsResponse = D1 * (MetaData "GetOperationsResponse" "Network.AWS.Lightsail.GetOperations" "amazonka-lightsail-1.6.0-IATUqEytvF48KpKMPJ7t6L" 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 DecidedStrict) (Rec0 * Int)))))

Response Lenses

gosrsNextPageToken :: Lens' GetOperationsResponse (Maybe Text) #

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

gosrsOperations :: Lens' GetOperationsResponse [Operation] #

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

gosrsResponseStatus :: Lens' GetOperationsResponse Int #

  • - | The response status code.