Send a GraphQL operation (query or mutation) to AppSync.
Optionaloptions: RequestOptionsThe data payload, not the full response envelope.
Pass { throwOnGraphQLError: false } if you need the raw response.
AppSyncGraphQLError when the server returns errors.
AppSyncHttpError on a non-2xx HTTP response.
AppSyncNetworkError when fetch itself rejects.
AppSyncAbortError when the request is aborted or times out.
Send a GraphQL operation (query or mutation) to AppSync.
Optionalvariables: TVariablesOptionaloptions: RequestOptionsThe data payload, not the full response envelope.
Pass { throwOnGraphQLError: false } if you need the raw response.
AppSyncGraphQLError when the server returns errors.
AppSyncHttpError on a non-2xx HTTP response.
AppSyncNetworkError when fetch itself rejects.
AppSyncAbortError when the request is aborted or times out.
Send a GraphQL operation (query or mutation) to AppSync.
Optionalvariables: TVariablesOptionaloptions: RequestOptionsThe data payload, not the full response envelope.
Pass { throwOnGraphQLError: false } if you need the raw response.
AppSyncGraphQLError when the server returns errors.
AppSyncHttpError on a non-2xx HTTP response.
AppSyncNetworkError when fetch itself rejects.
AppSyncAbortError when the request is aborted or times out.
Identical to request but returns the full { data, errors, extensions }
envelope without throwing on GraphQL errors. Useful when you need partial
data or want to inspect every error individually.
Optionalvariables: TVariablesConvenience alias for request — purely for code that prefers it.
Optionalvariables: TVariablesOptionaloptions: RequestOptionsConvenience alias for request.
Optionalvariables: TVariablesOptionaloptions: RequestOptionsRun the standard GraphQL introspection query against the endpoint.
Returned shape mirrors graphql-js's IntrospectionQuery.
Optionaloptions: RequestOptions
A tiny, fully-typed AWS AppSync GraphQL client.