envs_1 / data /lib /python3.10 /site-packages /awscli /examples /apigateway /get-method-response.rst
Download data/lib/python3.10/site-packages/awscli/examples/apigateway/get-method-response.rst from ZTWHHH/envs_1: direct link, hf CLI and curl.
- Browser
- Download file 359 Bytes
-
https://huggingface.co/datasets/ZTWHHH/envs_1/resolve/main/data/lib/python3.10/site-packages/awscli/examples/apigateway/get-method-response.rst
- Command line
-
hf download hf://datasets/ZTWHHH/envs_1/data/lib/python3.10/site-packages/awscli/examples/apigateway/get-method-response.rst
-
curl -L -o get-method-response.rst https://huggingface.co/datasets/ZTWHHH/envs_1/resolve/main/data/lib/python3.10/site-packages/awscli/examples/apigateway/get-method-response.rst
359 Bytes
| **To get the method response resource configuration for a HTTP method defined under a REST API's resource** | |
| Command:: | |
| aws apigateway get-method-response --rest-api-id 1234123412 --resource-id y9h6rt --http-method GET --status-code 200 | |
| Output:: | |
| { | |
| "responseModels": { | |
| "application/json": "Empty" | |
| }, | |
| "statusCode": "200" | |
| } | |