Skip to content

/AWS1/CL_APY=>UPDATEGRAPHQLAPI()

About UpdateGraphqlApi

Updates a GraphqlApi object.

Method Signature

IMPORTING

Required arguments:

IV_APIID TYPE /AWS1/APYSTRING /AWS1/APYSTRING

The API ID.

IV_NAME TYPE /AWS1/APYSTRING /AWS1/APYSTRING

The new name for the GraphqlApi object.

IV_AUTHENTICATIONTYPE TYPE /AWS1/APYAUTHENTICATIONTYPE /AWS1/APYAUTHENTICATIONTYPE

The new authentication type for the GraphqlApi object.

Optional arguments:

IO_LOGCONFIG TYPE REF TO /AWS1/CL_APYLOGCONFIG /AWS1/CL_APYLOGCONFIG

The Amazon CloudWatch Logs configuration for the GraphqlApi object.

IO_USERPOOLCONFIG TYPE REF TO /AWS1/CL_APYUSERPOOLCONFIG /AWS1/CL_APYUSERPOOLCONFIG

The new Amazon Cognito user pool configuration for the ~GraphqlApi object.

IO_OPENIDCONNECTCONFIG TYPE REF TO /AWS1/CL_APYOPENIDCNCTCONFIG /AWS1/CL_APYOPENIDCNCTCONFIG

The OpenID Connect configuration for the GraphqlApi object.

IT_ADDLAUTHNTCTNPROVIDERS TYPE /AWS1/CL_APYADDLAUTHNTCTNPVDR=>TT_ADDLAUTHNTCTNPROVIDERS TT_ADDLAUTHNTCTNPROVIDERS

A list of additional authentication providers for the GraphqlApi API.

IV_XRAYENABLED TYPE /AWS1/APYBOOLEAN /AWS1/APYBOOLEAN

A flag indicating whether to use X-Ray tracing for the GraphqlApi.

IO_LAMBDAAUTHORIZERCONFIG TYPE REF TO /AWS1/CL_APYLAMBDAAUTHRCONFIG /AWS1/CL_APYLAMBDAAUTHRCONFIG

Configuration for Lambda function authorization.

IV_MERGEDAPIEXECUTIONROLEARN TYPE /AWS1/APYSTRING /AWS1/APYSTRING

The Identity and Access Management service role ARN for a merged API. The AppSync service assumes this role on behalf of the Merged API to validate access to source APIs at runtime and to prompt the AUTO_MERGE to update the merged API endpoint with the source API changes automatically.

IV_OWNERCONTACT TYPE /AWS1/APYSTRING /AWS1/APYSTRING

The owner contact information for an API resource.

This field accepts any string input with a length of 0 - 256 characters.

IV_INTROSPECTIONCONFIG TYPE /AWS1/APYGRAPHQLAPIINTROSPEC00 /AWS1/APYGRAPHQLAPIINTROSPEC00

Sets the value of the GraphQL API to enable (ENABLED) or disable (DISABLED) introspection. If no value is provided, the introspection configuration will be set to ENABLED by default. This field will produce an error if the operation attempts to use the introspection feature while this field is disabled.

For more information about introspection, see GraphQL introspection.

IV_QUERYDEPTHLIMIT TYPE /AWS1/APYQUERYDEPTHLIMIT /AWS1/APYQUERYDEPTHLIMIT

The maximum depth a query can have in a single request. Depth refers to the amount of nested levels allowed in the body of query. The default value is 0 (or unspecified), which indicates there's no depth limit. If you set a limit, it can be between 1 and 75 nested levels. This field will produce a limit error if the operation falls out of bounds.

Note that fields can still be set to nullable or non-nullable. If a non-nullable field produces an error, the error will be thrown upwards to the first nullable field available.

IV_RESOLVERCOUNTLIMIT TYPE /AWS1/APYRESOLVERCOUNTLIMIT /AWS1/APYRESOLVERCOUNTLIMIT

The maximum number of resolvers that can be invoked in a single request. The default value is 0 (or unspecified), which will set the limit to 10000. When specified, the limit value can be between 1 and 10000. This field will produce a limit error if the operation falls out of bounds.

IO_ENHANCEDMETRICSCONFIG TYPE REF TO /AWS1/CL_APYENHMETRICSCONFIG /AWS1/CL_APYENHMETRICSCONFIG

The enhancedMetricsConfig object.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_APYUPDGRAPHQLAPIRSP /AWS1/CL_APYUPDGRAPHQLAPIRSP