Struct aws_sdk_appsync::operation::get_introspection_schema::builders::GetIntrospectionSchemaFluentBuilder
source · pub struct GetIntrospectionSchemaFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetIntrospectionSchema
.
Retrieves the introspection schema for a GraphQL API.
Implementations§
source§impl GetIntrospectionSchemaFluentBuilder
impl GetIntrospectionSchemaFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GetIntrospectionSchema, AwsResponseRetryClassifier>, SdkError<GetIntrospectionSchemaError>>
pub async fn customize( self ) -> Result<CustomizableOperation<GetIntrospectionSchema, AwsResponseRetryClassifier>, SdkError<GetIntrospectionSchemaError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<GetIntrospectionSchemaOutput, SdkError<GetIntrospectionSchemaError>>
pub async fn send( self ) -> Result<GetIntrospectionSchemaOutput, SdkError<GetIntrospectionSchemaError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn set_api_id(self, input: Option<String>) -> Self
pub fn set_api_id(self, input: Option<String>) -> Self
The API ID.
sourcepub fn format(self, input: OutputType) -> Self
pub fn format(self, input: OutputType) -> Self
The schema format: SDL or JSON.
sourcepub fn set_format(self, input: Option<OutputType>) -> Self
pub fn set_format(self, input: Option<OutputType>) -> Self
The schema format: SDL or JSON.
sourcepub fn include_directives(self, input: bool) -> Self
pub fn include_directives(self, input: bool) -> Self
A flag that specifies whether the schema introspection should contain directives.
sourcepub fn set_include_directives(self, input: Option<bool>) -> Self
pub fn set_include_directives(self, input: Option<bool>) -> Self
A flag that specifies whether the schema introspection should contain directives.
Trait Implementations§
source§impl Clone for GetIntrospectionSchemaFluentBuilder
impl Clone for GetIntrospectionSchemaFluentBuilder
source§fn clone(&self) -> GetIntrospectionSchemaFluentBuilder
fn clone(&self) -> GetIntrospectionSchemaFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more