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

Contents

Description

Retrieves the introspection schema for a GraphQL API.

Synopsis

Creating a Request

getIntrospectionSchema Source #

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

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

data GetIntrospectionSchema Source #

See: getIntrospectionSchema smart constructor.

Instances

Eq GetIntrospectionSchema Source # 
Data GetIntrospectionSchema Source # 

Methods

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

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

toConstr :: GetIntrospectionSchema -> Constr #

dataTypeOf :: GetIntrospectionSchema -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetIntrospectionSchema Source # 
Show GetIntrospectionSchema Source # 
Generic GetIntrospectionSchema Source # 
Hashable GetIntrospectionSchema Source # 
NFData GetIntrospectionSchema Source # 

Methods

rnf :: GetIntrospectionSchema -> () #

AWSRequest GetIntrospectionSchema Source # 
ToHeaders GetIntrospectionSchema Source # 
ToPath GetIntrospectionSchema Source # 
ToQuery GetIntrospectionSchema Source # 
type Rep GetIntrospectionSchema Source # 
type Rep GetIntrospectionSchema = D1 * (MetaData "GetIntrospectionSchema" "Network.AWS.AppSync.GetIntrospectionSchema" "amazonka-appsync-1.6.0-T90u3sf1xIAHhsH8NXxyF" False) (C1 * (MetaCons "GetIntrospectionSchema'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gisApiId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_gisFormat") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * OutputType))))
type Rs GetIntrospectionSchema Source # 

Request Lenses

gisFormat :: Lens' GetIntrospectionSchema OutputType Source #

The schema format: SDL or JSON.

Destructuring the Response

getIntrospectionSchemaResponse Source #

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

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

data GetIntrospectionSchemaResponse Source #

See: getIntrospectionSchemaResponse smart constructor.

Instances

Eq GetIntrospectionSchemaResponse Source # 
Data GetIntrospectionSchemaResponse Source # 

Methods

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

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

toConstr :: GetIntrospectionSchemaResponse -> Constr #

dataTypeOf :: GetIntrospectionSchemaResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetIntrospectionSchemaResponse Source # 
Show GetIntrospectionSchemaResponse Source # 
Generic GetIntrospectionSchemaResponse Source # 
NFData GetIntrospectionSchemaResponse Source # 
type Rep GetIntrospectionSchemaResponse Source # 
type Rep GetIntrospectionSchemaResponse = D1 * (MetaData "GetIntrospectionSchemaResponse" "Network.AWS.AppSync.GetIntrospectionSchema" "amazonka-appsync-1.6.0-T90u3sf1xIAHhsH8NXxyF" False) (C1 * (MetaCons "GetIntrospectionSchemaResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gisrsSchema") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ByteString))) (S1 * (MetaSel (Just Symbol "_gisrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

gisrsSchema :: Lens' GetIntrospectionSchemaResponse (Maybe ByteString) Source #

The schema, in GraphQL Schema Definition Language (SDL) format. For more information, see the GraphQL SDL documentation .