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

Defined in Network.AWS.Lightsail.GetOperation

Data GetOperation Source # 
Instance details

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

Defined in Network.AWS.Lightsail.GetOperation

Show GetOperation Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperation

Generic GetOperation Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperation

Associated Types

type Rep GetOperation :: Type -> Type #

Hashable GetOperation Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperation

ToJSON GetOperation Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperation

AWSRequest GetOperation Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperation

Associated Types

type Rs GetOperation :: Type #

ToHeaders GetOperation Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperation

ToPath GetOperation Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperation

ToQuery GetOperation Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperation

NFData GetOperation Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperation

Methods

rnf :: GetOperation -> () #

type Rep GetOperation Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperation

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

Defined in Network.AWS.Lightsail.GetOperation

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

Defined in Network.AWS.Lightsail.GetOperation

Data GetOperationResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperation

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

Defined in Network.AWS.Lightsail.GetOperation

Show GetOperationResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperation

Generic GetOperationResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperation

Associated Types

type Rep GetOperationResponse :: Type -> Type #

NFData GetOperationResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperation

Methods

rnf :: GetOperationResponse -> () #

type Rep GetOperationResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetOperation

type Rep GetOperationResponse = D1 (MetaData "GetOperationResponse" "Network.AWS.Lightsail.GetOperation" "amazonka-lightsail-1.6.1-1vuZhtZgkqE3h8gtLuAIA9" False) (C1 (MetaCons "GetOperationResponse'" PrefixI True) (S1 (MetaSel (Just "_gorsOperation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Operation)) :*: S1 (MetaSel (Just "_gorsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (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.