We are excited to announce our new API Documentation.
Protected
Deletes a RouteResponse.
Use a bare-bones client and the command you need to make an API call.
import { ApiGatewayV2Client, DeleteRouteResponseCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import// const { ApiGatewayV2Client, DeleteRouteResponseCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS importconst client = new ApiGatewayV2Client(config);const input = { // DeleteRouteResponseRequest ApiId: "STRING_VALUE", // required RouteId: "STRING_VALUE", // required RouteResponseId: "STRING_VALUE", // required};const command = new DeleteRouteResponseCommand(input);const response = await client.send(command);// {};
DeleteRouteResponseCommandInput
DeleteRouteResponseCommandOutput
input
response
config
NotFoundException (client fault)
The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException (client fault)
A limit has been exceeded. See the accompanying error message for details.
ApiGatewayV2ServiceException
Base exception class for all service exceptions from ApiGatewayV2 service.
Readonly
Static
Deletes a RouteResponse.
Example
Use a bare-bones client and the command you need to make an API call.
Param
DeleteRouteResponseCommandInput
Returns
DeleteRouteResponseCommandOutput
See
input
shape.response
shape.config
shape.Throws
NotFoundException (client fault)
The resource specified in the request was not found. See the message field for more information.
Throws
TooManyRequestsException (client fault)
A limit has been exceeded. See the accompanying error message for details.
Throws
ApiGatewayV2ServiceException
Base exception class for all service exceptions from ApiGatewayV2 service.