import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApiGatewayV2Client"; import type { GetIntegrationRequest, GetIntegrationResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetIntegrationCommand}. */ export interface GetIntegrationCommandInput extends GetIntegrationRequest { } /** * @public * * The output of {@link GetIntegrationCommand}. */ export interface GetIntegrationCommandOutput extends GetIntegrationResult, __MetadataBearer { } declare const GetIntegrationCommand_base: { new (input: GetIntegrationCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: GetIntegrationCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Gets an Integration.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ApiGatewayV2Client, GetIntegrationCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import * // const { ApiGatewayV2Client, GetIntegrationCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import * // import type { ApiGatewayV2ClientConfig } from "@aws-sdk/client-apigatewayv2"; * const config = {}; // type is ApiGatewayV2ClientConfig * const client = new ApiGatewayV2Client(config); * const input = { // GetIntegrationRequest * ApiId: "STRING_VALUE", // required * IntegrationId: "STRING_VALUE", // required * }; * const command = new GetIntegrationCommand(input); * const response = await client.send(command); * // { // GetIntegrationResult * // ApiGatewayManaged: true || false, * // ConnectionId: "STRING_VALUE", * // ConnectionType: "INTERNET" || "VPC_LINK", * // ContentHandlingStrategy: "CONVERT_TO_BINARY" || "CONVERT_TO_TEXT", * // CredentialsArn: "STRING_VALUE", * // Description: "STRING_VALUE", * // IntegrationId: "STRING_VALUE", * // IntegrationMethod: "STRING_VALUE", * // IntegrationResponseSelectionExpression: "STRING_VALUE", * // IntegrationSubtype: "STRING_VALUE", * // IntegrationType: "AWS" || "HTTP" || "MOCK" || "HTTP_PROXY" || "AWS_PROXY", * // IntegrationUri: "STRING_VALUE", * // PassthroughBehavior: "WHEN_NO_MATCH" || "NEVER" || "WHEN_NO_TEMPLATES", * // PayloadFormatVersion: "STRING_VALUE", * // RequestParameters: { // IntegrationParameters * // "": "STRING_VALUE", * // }, * // RequestTemplates: { // TemplateMap * // "": "STRING_VALUE", * // }, * // ResponseParameters: { // ResponseParameters * // "": { * // "": "STRING_VALUE", * // }, * // }, * // TemplateSelectionExpression: "STRING_VALUE", * // TimeoutInMillis: Number("int"), * // TlsConfig: { // TlsConfig * // ServerNameToVerify: "STRING_VALUE", * // }, * // }; * * ``` * * @param GetIntegrationCommandInput - {@link GetIntegrationCommandInput} * @returns {@link GetIntegrationCommandOutput} * @see {@link GetIntegrationCommandInput} for command's `input` shape. * @see {@link GetIntegrationCommandOutput} for command's `response` shape. * @see {@link ApiGatewayV2ClientResolvedConfig | config} for ApiGatewayV2Client's `config` shape. * * @throws {@link NotFoundException} (client fault) *

The resource specified in the request was not found. See the message field for more information.

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

A limit has been exceeded. See the accompanying error message for details.

* * @throws {@link ApiGatewayV2ServiceException} *

Base exception class for all service exceptions from ApiGatewayV2 service.

* * * @public */ export declare class GetIntegrationCommand extends GetIntegrationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetIntegrationRequest; output: GetIntegrationResult; }; sdk: { input: GetIntegrationCommandInput; output: GetIntegrationCommandOutput; }; }; }