amazonka-appsync-1.6.0: Amazon AppSync 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.AppSync.GetGraphqlAPI

Contents

Description

Retrieves a GraphqlApi object.

Synopsis

Creating a Request

getGraphqlAPI Source #

Arguments

:: Text

ggaApiId

-> GetGraphqlAPI 

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

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

  • ggaApiId - The API ID for the GraphQL API.

data GetGraphqlAPI Source #

See: getGraphqlAPI smart constructor.

Instances

Eq GetGraphqlAPI Source # 
Data GetGraphqlAPI Source # 

Methods

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

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

toConstr :: GetGraphqlAPI -> Constr #

dataTypeOf :: GetGraphqlAPI -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetGraphqlAPI Source # 
Show GetGraphqlAPI Source # 
Generic GetGraphqlAPI Source # 

Associated Types

type Rep GetGraphqlAPI :: * -> * #

Hashable GetGraphqlAPI Source # 
NFData GetGraphqlAPI Source # 

Methods

rnf :: GetGraphqlAPI -> () #

AWSRequest GetGraphqlAPI Source # 
ToHeaders GetGraphqlAPI Source # 
ToPath GetGraphqlAPI Source # 
ToQuery GetGraphqlAPI Source # 
type Rep GetGraphqlAPI Source # 
type Rep GetGraphqlAPI = D1 * (MetaData "GetGraphqlAPI" "Network.AWS.AppSync.GetGraphqlAPI" "amazonka-appsync-1.6.0-T90u3sf1xIAHhsH8NXxyF" True) (C1 * (MetaCons "GetGraphqlAPI'" PrefixI True) (S1 * (MetaSel (Just Symbol "_ggaApiId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetGraphqlAPI Source # 

Request Lenses

ggaApiId :: Lens' GetGraphqlAPI Text Source #

The API ID for the GraphQL API.

Destructuring the Response

getGraphqlAPIResponse Source #

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

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

data GetGraphqlAPIResponse Source #

See: getGraphqlAPIResponse smart constructor.

Instances

Eq GetGraphqlAPIResponse Source # 
Data GetGraphqlAPIResponse Source # 

Methods

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

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

toConstr :: GetGraphqlAPIResponse -> Constr #

dataTypeOf :: GetGraphqlAPIResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetGraphqlAPIResponse Source # 
Show GetGraphqlAPIResponse Source # 
Generic GetGraphqlAPIResponse Source # 
NFData GetGraphqlAPIResponse Source # 

Methods

rnf :: GetGraphqlAPIResponse -> () #

type Rep GetGraphqlAPIResponse Source # 
type Rep GetGraphqlAPIResponse = D1 * (MetaData "GetGraphqlAPIResponse" "Network.AWS.AppSync.GetGraphqlAPI" "amazonka-appsync-1.6.0-T90u3sf1xIAHhsH8NXxyF" False) (C1 * (MetaCons "GetGraphqlAPIResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ggarsGraphqlAPI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe GraphqlAPI))) (S1 * (MetaSel (Just Symbol "_ggarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

ggarsResponseStatus :: Lens' GetGraphqlAPIResponse Int Source #

  • - | The response status code.