pub struct StartSchemaCreation { /* 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 StartSchemaCreation
impl StartSchemaCreation
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<StartSchemaCreation, AwsResponseRetryClassifier>, SdkError<StartSchemaCreationError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<StartSchemaCreation, AwsResponseRetryClassifier>, SdkError<StartSchemaCreationError>>
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<StartSchemaCreationOutput, SdkError<StartSchemaCreationError>>
pub async fn send(
self
) -> Result<StartSchemaCreationOutput, SdkError<StartSchemaCreationError>>
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 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.
Trait Implementations§
source§impl Clone for StartSchemaCreation
impl Clone for StartSchemaCreation
source§fn clone(&self) -> StartSchemaCreation
fn clone(&self) -> StartSchemaCreation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more