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

Defined in Network.AWS.Lightsail.GetOperations

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

Defined in Network.AWS.Lightsail.GetOperations

Show GetOperations # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

Generic GetOperations # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

Associated Types

type Rep GetOperations :: * -> * #

Hashable GetOperations # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

ToJSON GetOperations # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

AWSPager GetOperations # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

AWSRequest GetOperations # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

Associated Types

type Rs GetOperations :: * #

ToHeaders GetOperations # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

ToPath GetOperations # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

ToQuery GetOperations # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

NFData GetOperations # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

Methods

rnf :: GetOperations -> () #

type Rep GetOperations # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

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

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

Defined in Network.AWS.Lightsail.GetOperations

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

Defined in Network.AWS.Lightsail.GetOperations

Show GetOperationsResponse # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

Generic GetOperationsResponse # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

Associated Types

type Rep GetOperationsResponse :: * -> * #

NFData GetOperationsResponse # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

Methods

rnf :: GetOperationsResponse -> () #

type Rep GetOperationsResponse # 
Instance details

Defined in Network.AWS.Lightsail.GetOperations

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

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.