import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../APIGatewayClient"; import type { GetMethodResponseRequest, MethodResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetMethodResponseCommand}. */ export interface GetMethodResponseCommandInput extends GetMethodResponseRequest { } /** * @public * * The output of {@link GetMethodResponseCommand}. */ export interface GetMethodResponseCommandOutput extends MethodResponse, __MetadataBearer { } declare const GetMethodResponseCommand_base: { new (input: GetMethodResponseCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: GetMethodResponseCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Describes a MethodResponse resource.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { APIGatewayClient, GetMethodResponseCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import * // const { APIGatewayClient, GetMethodResponseCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import * // import type { APIGatewayClientConfig } from "@aws-sdk/client-api-gateway"; * const config = {}; // type is APIGatewayClientConfig * const client = new APIGatewayClient(config); * const input = { // GetMethodResponseRequest * restApiId: "STRING_VALUE", // required * resourceId: "STRING_VALUE", // required * httpMethod: "STRING_VALUE", // required * statusCode: "STRING_VALUE", // required * }; * const command = new GetMethodResponseCommand(input); * const response = await client.send(command); * // { // MethodResponse * // statusCode: "STRING_VALUE", * // responseParameters: { // MapOfStringToBoolean * // "": true || false, * // }, * // responseModels: { // MapOfStringToString * // "": "STRING_VALUE", * // }, * // }; * * ``` * * @param GetMethodResponseCommandInput - {@link GetMethodResponseCommandInput} * @returns {@link GetMethodResponseCommandOutput} * @see {@link GetMethodResponseCommandInput} for command's `input` shape. * @see {@link GetMethodResponseCommandOutput} for command's `response` shape. * @see {@link APIGatewayClientResolvedConfig | config} for APIGatewayClient's `config` shape. * * @throws {@link NotFoundException} (client fault) *

The requested resource is not found. Make sure that the request URI is correct.

* * @throws {@link TooManyRequestsException} (client fault) *

The request has reached its throttling limit. Retry after the specified time period.

* * @throws {@link UnauthorizedException} (client fault) *

The request is denied because the caller has insufficient permissions.

* * @throws {@link APIGatewayServiceException} *

Base exception class for all service exceptions from APIGateway service.

* * * @public */ export declare class GetMethodResponseCommand extends GetMethodResponseCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetMethodResponseRequest; output: MethodResponse; }; sdk: { input: GetMethodResponseCommandInput; output: GetMethodResponseCommandOutput; }; }; }