v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1451205197.1 KB

Creates a <code>GraphqlApi</code> object.

post/v1/apis

Request body

namestring required

A user-supplied name for the <code>GraphqlApi</code>.

authenticationType'API_KEY' | 'AWS_IAM' | 'AMAZON_COGNITO_USER_POOLS' | 'OPENID_CONNECT' | 'AWS_LAMBDA' required

The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.

tagsobject

A map with keys of <code>TagKey</code> objects and values of <code>TagValue</code> objects.

xrayEnabledboolean

A flag indicating whether to use X-Ray tracing for the <code>GraphqlApi</code>.

Response

Success