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 #

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 #

See: getOperationsForResource smart constructor.

Instances

Eq GetOperationsForResource # 
Data GetOperationsForResource # 

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 # 
Show GetOperationsForResource # 
Generic GetOperationsForResource # 
Hashable GetOperationsForResource # 
ToJSON GetOperationsForResource # 
NFData GetOperationsForResource # 
AWSRequest GetOperationsForResource # 
ToQuery GetOperationsForResource # 
ToPath GetOperationsForResource # 
ToHeaders GetOperationsForResource # 
type Rep GetOperationsForResource # 
type Rep GetOperationsForResource = D1 (MetaData "GetOperationsForResource" "Network.AWS.Lightsail.GetOperationsForResource" "amazonka-lightsail-1.4.5-1xtmakXHWr2BG215OJNbvq" 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 # 

Request Lenses

gofrPageToken :: Lens' GetOperationsForResource (Maybe Text) #

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

gofrResourceName :: Lens' GetOperationsForResource Text #

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

Destructuring the Response

getOperationsForResourceResponse #

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 #

See: getOperationsForResourceResponse smart constructor.

Instances

Eq GetOperationsForResourceResponse # 
Data GetOperationsForResourceResponse # 

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 # 
Show GetOperationsForResourceResponse # 
Generic GetOperationsForResourceResponse # 
NFData GetOperationsForResourceResponse # 
type Rep GetOperationsForResourceResponse # 
type Rep GetOperationsForResourceResponse = D1 (MetaData "GetOperationsForResourceResponse" "Network.AWS.Lightsail.GetOperationsForResource" "amazonka-lightsail-1.4.5-1xtmakXHWr2BG215OJNbvq" 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) #

Returns the number of pages of results that remain.

gofrrsOperations :: Lens' GetOperationsForResourceResponse [Operation] #

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