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

Contents

Description

Gets operations for a specific resource (e.g., an instance or a static IP).

Synopsis

Creating a Request

getOperationsForResource Source #

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

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

  • gofrPageToken - A token used for advancing to the next page of results from your get operations for resource request.
  • gofrResourceName - The name of the resource for which you are requesting information.

data GetOperationsForResource Source #

See: getOperationsForResource smart constructor.

Instances

Eq GetOperationsForResource Source # 
Data GetOperationsForResource Source # 

Methods

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

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

toConstr :: GetOperationsForResource -> Constr #

dataTypeOf :: GetOperationsForResource -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetOperationsForResource Source # 
Show GetOperationsForResource Source # 
Generic GetOperationsForResource Source # 
Hashable GetOperationsForResource Source # 
ToJSON GetOperationsForResource Source # 
NFData GetOperationsForResource Source # 
AWSRequest GetOperationsForResource Source # 
ToPath GetOperationsForResource Source # 
ToHeaders GetOperationsForResource Source # 
ToQuery GetOperationsForResource Source # 
type Rep GetOperationsForResource Source # 
type Rep GetOperationsForResource = D1 (MetaData "GetOperationsForResource" "Network.AWS.Lightsail.GetOperationsForResource" "amazonka-lightsail-1.4.5-5jz0XqtfwkUBGV0E8NKblJ" False) (C1 (MetaCons "GetOperationsForResource'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gofrPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gofrResourceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs GetOperationsForResource Source # 

Request Lenses

gofrPageToken :: Lens' GetOperationsForResource (Maybe Text) Source #

A token used for advancing to the next page of results from your get operations for resource request.

gofrResourceName :: Lens' GetOperationsForResource Text Source #

The name of the resource for which you are requesting information.

Destructuring the Response

getOperationsForResourceResponse Source #

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

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

data GetOperationsForResourceResponse Source #

See: getOperationsForResourceResponse smart constructor.

Instances

Eq GetOperationsForResourceResponse Source # 
Data GetOperationsForResourceResponse Source # 

Methods

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

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

toConstr :: GetOperationsForResourceResponse -> Constr #

dataTypeOf :: GetOperationsForResourceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetOperationsForResourceResponse Source # 
Show GetOperationsForResourceResponse Source # 
Generic GetOperationsForResourceResponse Source # 
NFData GetOperationsForResourceResponse Source # 
type Rep GetOperationsForResourceResponse Source # 
type Rep GetOperationsForResourceResponse = D1 (MetaData "GetOperationsForResourceResponse" "Network.AWS.Lightsail.GetOperationsForResource" "amazonka-lightsail-1.4.5-5jz0XqtfwkUBGV0E8NKblJ" False) (C1 (MetaCons "GetOperationsForResourceResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gofrrsNextPageCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_gofrrsOperations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Operation]))) (S1 (MetaSel (Just Symbol "_gofrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

gofrrsNextPageCount :: Lens' GetOperationsForResourceResponse (Maybe Text) Source #

Returns the number of pages of results that remain.

gofrrsOperations :: Lens' GetOperationsForResourceResponse [Operation] Source #

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