CmdID / aws / aws apigateway
aws apigateway put-gateway-response
Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--response-parametersResponse parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.--response-templatesResponse templates of the GatewayResponse as a string-to-string map of key-value pairs.--response-typeThe response type of the associated GatewayResponse--rest-api-idThe string identifier of the associated RestApi.--status-codeThe HTTP status code of the GatewayResponse.