/
usr
/
lib
/
python3
/
dist-packages
/
awscli
/
examples
/
apigateway
/
Upload File
HOME
**To create a method response under the specified status code with a custom method response header** Command:: aws apigateway put-method-response --rest-api-id 1234123412 --resource-id a1b2c3 --http-method GET --status-code 400 --response-parameters "method.response.header.custom-header=false"