amazonka-lightsail-1.6.1: 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 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 # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

Data GetOperations Source # 
Instance details

Defined in Network.AWS.Lightsail.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 Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

Show GetOperations Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

Generic GetOperations Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

Associated Types

type Rep GetOperations :: Type -> Type #

Hashable GetOperations Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

ToJSON GetOperations Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

AWSPager GetOperations Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

AWSRequest GetOperations Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

Associated Types

type Rs GetOperations :: Type #

ToHeaders GetOperations Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

ToPath GetOperations Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

ToQuery GetOperations Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

NFData GetOperations Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

Methods

rnf :: GetOperations -> () #

type Rep GetOperations Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

type Rep GetOperations = D1 (MetaData "GetOperations" "Network.AWS.Lightsail.GetOperations" "amazonka-lightsail-1.6.1-1vuZhtZgkqE3h8gtLuAIA9" True) (C1 (MetaCons "GetOperations'" PrefixI True) (S1 (MetaSel (Just "_goPageToken") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))
type Rs GetOperations Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

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 # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

Data GetOperationsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

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 # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

Show GetOperationsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

Generic GetOperationsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

Associated Types

type Rep GetOperationsResponse :: Type -> Type #

NFData GetOperationsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

Methods

rnf :: GetOperationsResponse -> () #

type Rep GetOperationsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

type Rep GetOperationsResponse = D1 (MetaData "GetOperationsResponse" "Network.AWS.Lightsail.GetOperations" "amazonka-lightsail-1.6.1-1vuZhtZgkqE3h8gtLuAIA9" False) (C1 (MetaCons "GetOperationsResponse'" PrefixI True) (S1 (MetaSel (Just "_gosrsNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gosrsOperations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Operation])) :*: S1 (MetaSel (Just "_gosrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (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.