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 #

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 #

See: getOperation smart constructor.

Instances

Eq GetOperation # 
Data GetOperation # 

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

Associated Types

type Rep GetOperation :: * -> * #

Hashable GetOperation # 
ToJSON GetOperation # 
NFData GetOperation # 

Methods

rnf :: GetOperation -> () #

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

Request Lenses

goOperationId :: Lens' GetOperation Text #

A GUID used to identify the operation.

Destructuring the Response

getOperationResponse #

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 #

See: getOperationResponse smart constructor.

Instances

Eq GetOperationResponse # 
Data GetOperationResponse # 

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

Methods

rnf :: GetOperationResponse -> () #

type Rep GetOperationResponse # 
type Rep GetOperationResponse = D1 (MetaData "GetOperationResponse" "Network.AWS.Lightsail.GetOperation" "amazonka-lightsail-1.4.5-1xtmakXHWr2BG215OJNbvq" 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) #

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

gorsResponseStatus :: Lens' GetOperationResponse Int #

  • - | The response status code.