1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetIntrospectionSchema`](crate::operation::get_introspection_schema::builders::GetIntrospectionSchemaFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`GetIntrospectionSchemaOutput`](crate::operation::get_introspection_schema::GetIntrospectionSchemaOutput) with field(s):
    ///   - [`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>
    /// - On failure, responds with [`SdkError<GetIntrospectionSchemaError>`](crate::operation::get_introspection_schema::GetIntrospectionSchemaError)
    pub fn get_introspection_schema(&self) -> crate::operation::get_introspection_schema::builders::GetIntrospectionSchemaFluentBuilder {
        crate::operation::get_introspection_schema::builders::GetIntrospectionSchemaFluentBuilder::new(self.handle.clone())
    }
}