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

Contents

Description

Returns information about a specific operation. Operations include events such as when you create an instance, allocate a static IP, attach a static IP, and so on.

Synopsis

Creating a Request

getOperation Source #

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

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

data GetOperation Source #

See: getOperation smart constructor.

Instances

Eq GetOperation Source # 
Data GetOperation Source # 

Methods

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

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

toConstr :: GetOperation -> Constr #

dataTypeOf :: GetOperation -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetOperation Source # 
Show GetOperation Source # 
Generic GetOperation Source # 

Associated Types

type Rep GetOperation :: * -> * #

Hashable GetOperation Source # 
ToJSON GetOperation Source # 
NFData GetOperation Source # 

Methods

rnf :: GetOperation -> () #

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

Request Lenses

goOperationId :: Lens' GetOperation Text Source #

A GUID used to identify the operation.

Destructuring the Response

getOperationResponse Source #

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

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

  • gorsOperation - An array of key-value pairs containing information about the results of your get operation request.
  • gorsResponseStatus - -- | The response status code.

data GetOperationResponse Source #

See: getOperationResponse smart constructor.

Instances

Eq GetOperationResponse Source # 
Data GetOperationResponse Source # 

Methods

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

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

toConstr :: GetOperationResponse -> Constr #

dataTypeOf :: GetOperationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetOperationResponse Source # 
Show GetOperationResponse Source # 
Generic GetOperationResponse Source # 
NFData GetOperationResponse Source # 

Methods

rnf :: GetOperationResponse -> () #

type Rep GetOperationResponse Source # 
type Rep GetOperationResponse = D1 (MetaData "GetOperationResponse" "Network.AWS.Lightsail.GetOperation" "amazonka-lightsail-1.4.5-5jz0XqtfwkUBGV0E8NKblJ" False) (C1 (MetaCons "GetOperationResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gorsOperation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Operation))) (S1 (MetaSel (Just Symbol "_gorsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

gorsOperation :: Lens' GetOperationResponse (Maybe Operation) Source #

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

gorsResponseStatus :: Lens' GetOperationResponse Int Source #

  • - | The response status code.