Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can click “Customize cookies” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To continue without accepting these cookies, click “Continue without accepting.” To make more detailed choices or learn more, click “Customize cookies.”

Skip to content

/AWS1/CL_AG2=>UPDATEROUTE()

About UpdateRoute

Updates a Route.

Method Signature

IMPORTING

Required arguments:

IV_APIID TYPE /AWS1/AG2__STRING /AWS1/AG2__STRING

The API identifier.

IV_ROUTEID TYPE /AWS1/AG2__STRING /AWS1/AG2__STRING

The route ID.

Optional arguments:

IV_APIKEYREQUIRED TYPE /AWS1/AG2__BOOLEAN /AWS1/AG2__BOOLEAN

Specifies whether an API key is required for the route. Supported only for WebSocket APIs.

IT_AUTHORIZATIONSCOPES TYPE /AWS1/CL_AG2AUTHSCOPES_W=>TT_AUTHORIZATIONSCOPES TT_AUTHORIZATIONSCOPES

The authorization scopes supported by this route.

IV_AUTHORIZATIONTYPE TYPE /AWS1/AG2AUTHORIZATIONTYPE /AWS1/AG2AUTHORIZATIONTYPE

The authorization type for the route. For WebSocket APIs, valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer For HTTP APIs, valid values are NONE for open access, JWT for using JSON Web Tokens, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.

IV_AUTHORIZERID TYPE /AWS1/AG2ID /AWS1/AG2ID

The identifier of the Authorizer resource to be associated with this route. The authorizer identifier is generated by API Gateway when you created the authorizer.

IV_MODELSELECTIONEXPRESSION TYPE /AWS1/AG2SELECTIONEXPRESSION /AWS1/AG2SELECTIONEXPRESSION

The model selection expression for the route. Supported only for WebSocket APIs.

IV_OPERATIONNAME TYPE /AWS1/AG2STRWLENGTHBETWEEN1A00 /AWS1/AG2STRWLENGTHBETWEEN1A00

The operation name for the route.

IT_REQUESTMODELS TYPE /AWS1/CL_AG2ROUTEMODELS_W=>TT_ROUTEMODELS TT_ROUTEMODELS

The request models for the route. Supported only for WebSocket APIs.

IT_REQUESTPARAMETERS TYPE /AWS1/CL_AG2PARAMETERCNSTRNTS=>TT_ROUTEPARAMETERS TT_ROUTEPARAMETERS

The request parameters for the route. Supported only for WebSocket APIs.

IV_ROUTEKEY TYPE /AWS1/AG2SELECTIONKEY /AWS1/AG2SELECTIONKEY

The route key for the route.

IV_ROUTERSPSELECTIONXPRSN TYPE /AWS1/AG2SELECTIONEXPRESSION /AWS1/AG2SELECTIONEXPRESSION

The route response selection expression for the route. Supported only for WebSocket APIs.

IV_TARGET TYPE /AWS1/AG2STRWLENGTHBETWEEN1A01 /AWS1/AG2STRWLENGTHBETWEEN1A01

The target for the route.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_AG2UPDATEROUTERESULT /AWS1/CL_AG2UPDATEROUTERESULT

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC