Note: You are viewing the documentation for an older major version of the AWS CLI (version 1).
AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.
Retrieves the introspection schema for a GraphQL API.
See also: AWS API Documentation
See 'aws help' for descriptions of global parameters.
get-introspection-schema
--api-id <value>
--format <value>
[--include-directives | --no-include-directives]
<outfile>
--api-id
(string)
The API ID.
--format
(string)
The schema format: SDL or JSON.
Possible values:
SDL
JSON
--include-directives
| --no-include-directives
(boolean)
A flag that specifies whether the schema introspection should contain directives.
outfile
(string)
Filename where the content will be saved
See 'aws help' for descriptions of global parameters.
schema -> (blob)
The schema, in GraphQL Schema Definition Language (SDL) format.
For more information, see the GraphQL SDL documentation .