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 fn as_input(&self) -> &GetIntrospectionSchemaInputBuilder
pub fn as_input(&self) -> &GetIntrospectionSchemaInputBuilder
Access the GetIntrospectionSchema as a reference.
sourcepub async fn send(
self
) -> Result<GetIntrospectionSchemaOutput, SdkError<GetIntrospectionSchemaError, HttpResponse>>
pub async fn send( self ) -> Result<GetIntrospectionSchemaOutput, SdkError<GetIntrospectionSchemaError, HttpResponse>>
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 async fn customize(
self
) -> Result<CustomizableOperation<GetIntrospectionSchemaOutput, GetIntrospectionSchemaError>, SdkError<GetIntrospectionSchemaError>>
pub async fn customize( self ) -> Result<CustomizableOperation<GetIntrospectionSchemaOutput, GetIntrospectionSchemaError>, SdkError<GetIntrospectionSchemaError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_api_id(&self) -> &Option<String>
pub fn get_api_id(&self) -> &Option<String>
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 get_format(&self) -> &Option<OutputType>
pub fn get_format(&self) -> &Option<OutputType>
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.
sourcepub fn get_include_directives(&self) -> &Option<bool>
pub fn get_include_directives(&self) -> &Option<bool>
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