aws_sdk_appsync/client/
get_introspection_schema.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`GetIntrospectionSchema`](crate::operation::get_introspection_schema::builders::GetIntrospectionSchemaFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`api_id(impl Into<String>)`](crate::operation::get_introspection_schema::builders::GetIntrospectionSchemaFluentBuilder::api_id) / [`set_api_id(Option<String>)`](crate::operation::get_introspection_schema::builders::GetIntrospectionSchemaFluentBuilder::set_api_id):<br>required: **true**<br><p>The API ID.</p><br>
7    ///   - [`format(OutputType)`](crate::operation::get_introspection_schema::builders::GetIntrospectionSchemaFluentBuilder::format) / [`set_format(Option<OutputType>)`](crate::operation::get_introspection_schema::builders::GetIntrospectionSchemaFluentBuilder::set_format):<br>required: **true**<br><p>The schema format: SDL or JSON.</p><br>
8    ///   - [`include_directives(bool)`](crate::operation::get_introspection_schema::builders::GetIntrospectionSchemaFluentBuilder::include_directives) / [`set_include_directives(Option<bool>)`](crate::operation::get_introspection_schema::builders::GetIntrospectionSchemaFluentBuilder::set_include_directives):<br>required: **false**<br><p>A flag that specifies whether the schema introspection should contain directives.</p><br>
9    /// - On success, responds with [`GetIntrospectionSchemaOutput`](crate::operation::get_introspection_schema::GetIntrospectionSchemaOutput) with field(s):
10    ///   - [`schema(Option<Blob>)`](crate::operation::get_introspection_schema::GetIntrospectionSchemaOutput::schema): <p>The schema, in GraphQL Schema Definition Language (SDL) format.</p> <p>For more information, see the <a href="http://graphql.org/learn/schema/">GraphQL SDL documentation</a>.</p>
11    /// - On failure, responds with [`SdkError<GetIntrospectionSchemaError>`](crate::operation::get_introspection_schema::GetIntrospectionSchemaError)
12    pub fn get_introspection_schema(&self) -> crate::operation::get_introspection_schema::builders::GetIntrospectionSchemaFluentBuilder {
13        crate::operation::get_introspection_schema::builders::GetIntrospectionSchemaFluentBuilder::new(self.handle.clone())
14    }
15}