Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves the introspection schema for a GraphQL API.
Synopsis
- getIntrospectionSchema :: Text -> OutputType -> GetIntrospectionSchema
- data GetIntrospectionSchema
- gisApiId :: Lens' GetIntrospectionSchema Text
- gisFormat :: Lens' GetIntrospectionSchema OutputType
- getIntrospectionSchemaResponse :: Int -> GetIntrospectionSchemaResponse
- data GetIntrospectionSchemaResponse
- gisrsSchema :: Lens' GetIntrospectionSchemaResponse (Maybe ByteString)
- gisrsResponseStatus :: Lens' GetIntrospectionSchemaResponse Int
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
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:
gisrsSchema
- The schema, in GraphQL Schema Definition Language (SDL) format. For more information, see the GraphQL SDL documentation .gisrsResponseStatus
- -- | The response status code.
data GetIntrospectionSchemaResponse Source #
See: getIntrospectionSchemaResponse
smart constructor.
Instances
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 .
gisrsResponseStatus :: Lens' GetIntrospectionSchemaResponse Int Source #
- - | The response status code.