amazonka-apigateway-1.4.5: Amazon API Gateway 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.APIGateway.GetStages

Contents

Description

Gets information about one or more Stage resources.

Synopsis

Creating a Request

getStages Source #

Arguments

:: Text

gsRestAPIId

-> GetStages 

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

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

data GetStages Source #

Requests Amazon API Gateway to get information about one or more Stage resources.

See: getStages smart constructor.

Instances

Eq GetStages Source # 
Data GetStages Source # 

Methods

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

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

toConstr :: GetStages -> Constr #

dataTypeOf :: GetStages -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetStages Source # 
Show GetStages Source # 
Generic GetStages Source # 

Associated Types

type Rep GetStages :: * -> * #

Hashable GetStages Source # 
NFData GetStages Source # 

Methods

rnf :: GetStages -> () #

AWSRequest GetStages Source # 
ToPath GetStages Source # 
ToHeaders GetStages Source # 

Methods

toHeaders :: GetStages -> [Header] #

ToQuery GetStages Source # 
type Rep GetStages Source # 
type Rep GetStages = D1 (MetaData "GetStages" "Network.AWS.APIGateway.GetStages" "amazonka-apigateway-1.4.5-BIK2fycuXdJFBbWQ9Hqf16" False) (C1 (MetaCons "GetStages'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gsDeploymentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gsRestAPIId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs GetStages Source # 

Request Lenses

gsDeploymentId :: Lens' GetStages (Maybe Text) Source #

The stages' deployment identifiers.

gsRestAPIId :: Lens' GetStages Text Source #

The stages' API identifiers.

Destructuring the Response

getStagesResponse Source #

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

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

data GetStagesResponse Source #

A list of Stage resources that are associated with the ApiKey resource.

Deploying API in Stages

See: getStagesResponse smart constructor.

Instances

Eq GetStagesResponse Source # 
Data GetStagesResponse Source # 

Methods

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

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

toConstr :: GetStagesResponse -> Constr #

dataTypeOf :: GetStagesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetStagesResponse Source # 
Show GetStagesResponse Source # 
Generic GetStagesResponse Source # 
NFData GetStagesResponse Source # 

Methods

rnf :: GetStagesResponse -> () #

type Rep GetStagesResponse Source # 
type Rep GetStagesResponse = D1 (MetaData "GetStagesResponse" "Network.AWS.APIGateway.GetStages" "amazonka-apigateway-1.4.5-BIK2fycuXdJFBbWQ9Hqf16" False) (C1 (MetaCons "GetStagesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gsrsItem") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Stage]))) (S1 (MetaSel (Just Symbol "_gsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

gsrsItem :: Lens' GetStagesResponse [Stage] Source #

An individual Stage resource.

gsrsResponseStatus :: Lens' GetStagesResponse Int Source #

  • - | The response status code.