start_schema_creation
async
¶
start_schema_creation(
api_id: String,
definition: Blob,
*,
config_overrides: Optional[AsyncAppSyncClientConfig] = None,
) -> StartSchemaCreationResponse
Adds a new schema to your GraphQL API.
This operation is asynchronous. Use to determine when it has completed.
Parameters:
-
api_id(String) –The API ID.
-
definition(Blob) –The schema definition, in GraphQL schema language format.
Raises:
-
BadRequestException–The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
-
ConcurrentModificationException–Another modification is in progress at this time and it must complete before you can make your change.
-
InternalFailureException–An internal AppSync error occurred. Try your request again.
-
NotFoundException–The resource specified in the request was not found. Check the resource, and then try again.
-
UnauthorizedException–You aren't authorized to perform this operation.
-
UnknownServiceError–The service returned an error code this client does not model.