Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aws
GitHub Repository: aws/aws-cli
Path: blob/develop/awscli/examples/apigateway/get-authorizers.rst
1567 views
**To get the list of authorizers for a REST API**

Command::

  aws apigateway get-authorizers --rest-api-id 1234123412

Output::

  {
      "items": [
          {
              "name": "MyAuthorizer", 
              "authorizerUri": "arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:123412341234:function:My_Authorizer_Function/invocations", 
              "authorizerResultTtlInSeconds": 300, 
              "identitySource": "method.request.header.Authorization", 
              "type": "TOKEN", 
              "id": "gfi4n3"
          }
      ]
  }