403Webshell
Server IP : 167.99.254.82  /  Your IP : 216.73.216.188
Web Server : Apache
System : Linux host.techisquad.com 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64
User : pawluxera ( 1011)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/thread-self/root/usr/lib/python3/dist-packages/awscli/examples/apigatewayv2/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/thread-self/root/usr/lib/python3/dist-packages/awscli/examples/apigatewayv2/update-route.rst
**To add an authorizer to a route**

The following ``update-route`` example updates the specified route to use a JWT authorizer. ::

    aws apigatewayv2 update-route \
        --api-id a1b2c3d4  \
        --route-id a1b2c3  \
        --authorization-type JWT \
        --authorizer-id a1b2c5 \
        --authorization-scopes user.id user.email  

Output::

    {
        "ApiKeyRequired": false,
        "AuthorizationScopes": [
            "user.id",
            "user.email"
        ],
        "AuthorizationType": "JWT",
        "AuthorizerId": "a1b2c5",
        "OperationName": "GET HTTP",
        "RequestParameters": {},
        "RouteId": "a1b2c3",
        "RouteKey": "GET /pets",
        "Target": "integrations/a1b2c6"
    }

For more information, see `Controlling access to HTTP APIs with JWT authorizers <https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-jwt-authorizer.html>`__ in the *Amazon API Gateway Developer Guide*.

Youez - 2016 - github.com/yon3zu
LinuXploit