Struct aws_sdk_appsync::input::CreateTypeInput [−][src]
#[non_exhaustive]pub struct CreateTypeInput {
pub api_id: Option<String>,
pub definition: Option<String>,
pub format: Option<TypeDefinitionFormat>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.api_id: Option<String>
The API ID.
definition: Option<String>
The type definition, in GraphQL Schema Definition Language (SDL) format.
For more information, see the GraphQL SDL documentation.
format: Option<TypeDefinitionFormat>
The type format: SDL or JSON.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateType, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateType, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateType
>
Creates a new builder-style object to manufacture CreateTypeInput
The type definition, in GraphQL Schema Definition Language (SDL) format.
For more information, see the GraphQL SDL documentation.
The type format: SDL or JSON.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateTypeInput
impl Send for CreateTypeInput
impl Sync for CreateTypeInput
impl Unpin for CreateTypeInput
impl UnwindSafe for CreateTypeInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more