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

Command::

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

Output::

  {
      "items": [
          {
              "createdDate": 1453797217, 
              "id": "0a2b4c", 
              "description": "Deployed my API for the first time"
          }
      ]
  }