Struct aws_sdk_appsync::operation::start_schema_creation::builders::StartSchemaCreationFluentBuilder
source · pub struct StartSchemaCreationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to StartSchemaCreation
.
Adds a new schema to your GraphQL API.
This operation is asynchronous. Use to determine when it has completed.
Implementations§
source§impl StartSchemaCreationFluentBuilder
impl StartSchemaCreationFluentBuilder
sourcepub fn as_input(&self) -> &StartSchemaCreationInputBuilder
pub fn as_input(&self) -> &StartSchemaCreationInputBuilder
Access the StartSchemaCreation as a reference.
sourcepub async fn send(
self
) -> Result<StartSchemaCreationOutput, SdkError<StartSchemaCreationError, HttpResponse>>
pub async fn send( self ) -> Result<StartSchemaCreationOutput, SdkError<StartSchemaCreationError, 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 fn customize(
self
) -> CustomizableOperation<StartSchemaCreationOutput, StartSchemaCreationError, Self>
pub fn customize( self ) -> CustomizableOperation<StartSchemaCreationOutput, StartSchemaCreationError, Self>
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 definition(self, input: Blob) -> Self
pub fn definition(self, input: Blob) -> Self
The schema definition, in GraphQL schema language format.
sourcepub fn set_definition(self, input: Option<Blob>) -> Self
pub fn set_definition(self, input: Option<Blob>) -> Self
The schema definition, in GraphQL schema language format.
sourcepub fn get_definition(&self) -> &Option<Blob>
pub fn get_definition(&self) -> &Option<Blob>
The schema definition, in GraphQL schema language format.
Trait Implementations§
source§impl Clone for StartSchemaCreationFluentBuilder
impl Clone for StartSchemaCreationFluentBuilder
source§fn clone(&self) -> StartSchemaCreationFluentBuilder
fn clone(&self) -> StartSchemaCreationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more