HEX
Server: LiteSpeed
System: Linux s1080.usc1.mysecurecloudhost.com 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User: justofft (2594)
PHP: 7.3.33
Disabled: NONE
Upload Files
File: //usr/lib/python3.6/site-packages/awscli/examples/apigateway/get-model.rst
**To get the configuration for a model defined under a REST API**

Command::

  aws apigateway get-model --rest-api-id 1234123412 --model-name Empty

Output::

  {
      "contentType": "application/json", 
      "description": "This is a default empty schema model", 
      "name": "Empty", 
      "id": "etd5w5", 
      "schema": "{\n  \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n  \"title\" : \"Empty Schema\",\n  \"type\" : \"object\"\n}"
  }