CmdID / aws / aws apigateway
aws apigateway put-method-response
Adds a MethodResponse to an existing Method resource. AWS CLI reference
6 options Its page in the AWS CLI reference
Options
--http-methodThe HTTP verb of the Method resource.--resource-idThe Resource identifier for the Method resource.--response-modelsSpecifies the Model resources used for the response's content type.--response-parametersA key-value map specifying required or optional response parameters that API Gateway can send back to the caller.--rest-api-idThe string identifier of the associated RestApi.--status-codeThe method response's status code.