import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { ApiGatewayV2Client } from "./ApiGatewayV2Client" ; import { CreateApiCommand , CreateApiCommandInput , CreateApiCommandOutput } from "./commands/CreateApiCommand" ; import { CreateApiMappingCommand , CreateApiMappingCommandInput , CreateApiMappingCommandOutput , } from "./commands/CreateApiMappingCommand" ; import { CreateAuthorizerCommand , CreateAuthorizerCommandInput , CreateAuthorizerCommandOutput , } from "./commands/CreateAuthorizerCommand" ; import { CreateDeploymentCommand , CreateDeploymentCommandInput , CreateDeploymentCommandOutput , } from "./commands/CreateDeploymentCommand" ; import { CreateDomainNameCommand , CreateDomainNameCommandInput , CreateDomainNameCommandOutput , } from "./commands/CreateDomainNameCommand" ; import { CreateIntegrationCommand , CreateIntegrationCommandInput , CreateIntegrationCommandOutput , } from "./commands/CreateIntegrationCommand" ; import { CreateIntegrationResponseCommand , CreateIntegrationResponseCommandInput , CreateIntegrationResponseCommandOutput , } from "./commands/CreateIntegrationResponseCommand" ; import { CreateModelCommand , CreateModelCommandInput , CreateModelCommandOutput } from "./commands/CreateModelCommand" ; import { CreateRouteCommand , CreateRouteCommandInput , CreateRouteCommandOutput } from "./commands/CreateRouteCommand" ; import { CreateRouteResponseCommand , CreateRouteResponseCommandInput , CreateRouteResponseCommandOutput , } from "./commands/CreateRouteResponseCommand" ; import { CreateStageCommand , CreateStageCommandInput , CreateStageCommandOutput } from "./commands/CreateStageCommand" ; import { CreateVpcLinkCommand , CreateVpcLinkCommandInput , CreateVpcLinkCommandOutput , } from "./commands/CreateVpcLinkCommand" ; import { DeleteAccessLogSettingsCommand , DeleteAccessLogSettingsCommandInput , DeleteAccessLogSettingsCommandOutput , } from "./commands/DeleteAccessLogSettingsCommand" ; import { DeleteApiCommand , DeleteApiCommandInput , DeleteApiCommandOutput } from "./commands/DeleteApiCommand" ; import { DeleteApiMappingCommand , DeleteApiMappingCommandInput , DeleteApiMappingCommandOutput , } from "./commands/DeleteApiMappingCommand" ; import { DeleteAuthorizerCommand , DeleteAuthorizerCommandInput , DeleteAuthorizerCommandOutput , } from "./commands/DeleteAuthorizerCommand" ; import { DeleteCorsConfigurationCommand , DeleteCorsConfigurationCommandInput , DeleteCorsConfigurationCommandOutput , } from "./commands/DeleteCorsConfigurationCommand" ; import { DeleteDeploymentCommand , DeleteDeploymentCommandInput , DeleteDeploymentCommandOutput , } from "./commands/DeleteDeploymentCommand" ; import { DeleteDomainNameCommand , DeleteDomainNameCommandInput , DeleteDomainNameCommandOutput , } from "./commands/DeleteDomainNameCommand" ; import { DeleteIntegrationCommand , DeleteIntegrationCommandInput , DeleteIntegrationCommandOutput , } from "./commands/DeleteIntegrationCommand" ; import { DeleteIntegrationResponseCommand , DeleteIntegrationResponseCommandInput , DeleteIntegrationResponseCommandOutput , } from "./commands/DeleteIntegrationResponseCommand" ; import { DeleteModelCommand , DeleteModelCommandInput , DeleteModelCommandOutput } from "./commands/DeleteModelCommand" ; import { DeleteRouteCommand , DeleteRouteCommandInput , DeleteRouteCommandOutput } from "./commands/DeleteRouteCommand" ; import { DeleteRouteRequestParameterCommand , DeleteRouteRequestParameterCommandInput , DeleteRouteRequestParameterCommandOutput , } from "./commands/DeleteRouteRequestParameterCommand" ; import { DeleteRouteResponseCommand , DeleteRouteResponseCommandInput , DeleteRouteResponseCommandOutput , } from "./commands/DeleteRouteResponseCommand" ; import { DeleteRouteSettingsCommand , DeleteRouteSettingsCommandInput , DeleteRouteSettingsCommandOutput , } from "./commands/DeleteRouteSettingsCommand" ; import { DeleteStageCommand , DeleteStageCommandInput , DeleteStageCommandOutput } from "./commands/DeleteStageCommand" ; import { DeleteVpcLinkCommand , DeleteVpcLinkCommandInput , DeleteVpcLinkCommandOutput , } from "./commands/DeleteVpcLinkCommand" ; import { ExportApiCommand , ExportApiCommandInput , ExportApiCommandOutput } from "./commands/ExportApiCommand" ; import { GetApiCommand , GetApiCommandInput , GetApiCommandOutput } from "./commands/GetApiCommand" ; import { GetApiMappingCommand , GetApiMappingCommandInput , GetApiMappingCommandOutput , } from "./commands/GetApiMappingCommand" ; import { GetApiMappingsCommand , GetApiMappingsCommandInput , GetApiMappingsCommandOutput , } from "./commands/GetApiMappingsCommand" ; import { GetApisCommand , GetApisCommandInput , GetApisCommandOutput } from "./commands/GetApisCommand" ; import { GetAuthorizerCommand , GetAuthorizerCommandInput , GetAuthorizerCommandOutput , } from "./commands/GetAuthorizerCommand" ; import { GetAuthorizersCommand , GetAuthorizersCommandInput , GetAuthorizersCommandOutput , } from "./commands/GetAuthorizersCommand" ; import { GetDeploymentCommand , GetDeploymentCommandInput , GetDeploymentCommandOutput , } from "./commands/GetDeploymentCommand" ; import { GetDeploymentsCommand , GetDeploymentsCommandInput , GetDeploymentsCommandOutput , } from "./commands/GetDeploymentsCommand" ; import { GetDomainNameCommand , GetDomainNameCommandInput , GetDomainNameCommandOutput , } from "./commands/GetDomainNameCommand" ; import { GetDomainNamesCommand , GetDomainNamesCommandInput , GetDomainNamesCommandOutput , } from "./commands/GetDomainNamesCommand" ; import { GetIntegrationCommand , GetIntegrationCommandInput , GetIntegrationCommandOutput , } from "./commands/GetIntegrationCommand" ; import { GetIntegrationResponseCommand , GetIntegrationResponseCommandInput , GetIntegrationResponseCommandOutput , } from "./commands/GetIntegrationResponseCommand" ; import { GetIntegrationResponsesCommand , GetIntegrationResponsesCommandInput , GetIntegrationResponsesCommandOutput , } from "./commands/GetIntegrationResponsesCommand" ; import { GetIntegrationsCommand , GetIntegrationsCommandInput , GetIntegrationsCommandOutput , } from "./commands/GetIntegrationsCommand" ; import { GetModelCommand , GetModelCommandInput , GetModelCommandOutput } from "./commands/GetModelCommand" ; import { GetModelsCommand , GetModelsCommandInput , GetModelsCommandOutput } from "./commands/GetModelsCommand" ; import { GetModelTemplateCommand , GetModelTemplateCommandInput , GetModelTemplateCommandOutput , } from "./commands/GetModelTemplateCommand" ; import { GetRouteCommand , GetRouteCommandInput , GetRouteCommandOutput } from "./commands/GetRouteCommand" ; import { GetRouteResponseCommand , GetRouteResponseCommandInput , GetRouteResponseCommandOutput , } from "./commands/GetRouteResponseCommand" ; import { GetRouteResponsesCommand , GetRouteResponsesCommandInput , GetRouteResponsesCommandOutput , } from "./commands/GetRouteResponsesCommand" ; import { GetRoutesCommand , GetRoutesCommandInput , GetRoutesCommandOutput } from "./commands/GetRoutesCommand" ; import { GetStageCommand , GetStageCommandInput , GetStageCommandOutput } from "./commands/GetStageCommand" ; import { GetStagesCommand , GetStagesCommandInput , GetStagesCommandOutput } from "./commands/GetStagesCommand" ; import { GetTagsCommand , GetTagsCommandInput , GetTagsCommandOutput } from "./commands/GetTagsCommand" ; import { GetVpcLinkCommand , GetVpcLinkCommandInput , GetVpcLinkCommandOutput } from "./commands/GetVpcLinkCommand" ; import { GetVpcLinksCommand , GetVpcLinksCommandInput , GetVpcLinksCommandOutput } from "./commands/GetVpcLinksCommand" ; import { ImportApiCommand , ImportApiCommandInput , ImportApiCommandOutput } from "./commands/ImportApiCommand" ; import { ReimportApiCommand , ReimportApiCommandInput , ReimportApiCommandOutput } from "./commands/ReimportApiCommand" ; import { ResetAuthorizersCacheCommand , ResetAuthorizersCacheCommandInput , ResetAuthorizersCacheCommandOutput , } from "./commands/ResetAuthorizersCacheCommand" ; import { TagResourceCommand , TagResourceCommandInput , TagResourceCommandOutput } from "./commands/TagResourceCommand" ; import { UntagResourceCommand , UntagResourceCommandInput , UntagResourceCommandOutput , } from "./commands/UntagResourceCommand" ; import { UpdateApiCommand , UpdateApiCommandInput , UpdateApiCommandOutput } from "./commands/UpdateApiCommand" ; import { UpdateApiMappingCommand , UpdateApiMappingCommandInput , UpdateApiMappingCommandOutput , } from "./commands/UpdateApiMappingCommand" ; import { UpdateAuthorizerCommand , UpdateAuthorizerCommandInput , UpdateAuthorizerCommandOutput , } from "./commands/UpdateAuthorizerCommand" ; import { UpdateDeploymentCommand , UpdateDeploymentCommandInput , UpdateDeploymentCommandOutput , } from "./commands/UpdateDeploymentCommand" ; import { UpdateDomainNameCommand , UpdateDomainNameCommandInput , UpdateDomainNameCommandOutput , } from "./commands/UpdateDomainNameCommand" ; import { UpdateIntegrationCommand , UpdateIntegrationCommandInput , UpdateIntegrationCommandOutput , } from "./commands/UpdateIntegrationCommand" ; import { UpdateIntegrationResponseCommand , UpdateIntegrationResponseCommandInput , UpdateIntegrationResponseCommandOutput , } from "./commands/UpdateIntegrationResponseCommand" ; import { UpdateModelCommand , UpdateModelCommandInput , UpdateModelCommandOutput } from "./commands/UpdateModelCommand" ; import { UpdateRouteCommand , UpdateRouteCommandInput , UpdateRouteCommandOutput } from "./commands/UpdateRouteCommand" ; import { UpdateRouteResponseCommand , UpdateRouteResponseCommandInput , UpdateRouteResponseCommandOutput , } from "./commands/UpdateRouteResponseCommand" ; import { UpdateStageCommand , UpdateStageCommandInput , UpdateStageCommandOutput } from "./commands/UpdateStageCommand" ; import { UpdateVpcLinkCommand , UpdateVpcLinkCommandInput , UpdateVpcLinkCommandOutput , } from "./commands/UpdateVpcLinkCommand" ; /**
 * <p>Amazon API Gateway V2</p>
 */ export class ApiGatewayV2 extends ApiGatewayV2Client { /**
     * <p>Creates an Api resource.</p>
     */ public createApi ( args , options ? ) ; public createApi ( args , cb ) ; public createApi ( args , options , cb ) ; public createApi ( args , optionsOrCb ? , cb ? ) { const command = new CreateApiCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates an API mapping.</p>
     */ public createApiMapping ( args , options ? ) ; public createApiMapping ( args , cb ) ; public createApiMapping ( args , options , cb ) ; public createApiMapping ( args , optionsOrCb ? , cb ? ) { const command = new CreateApiMappingCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates an Authorizer for an API.</p>
     */ public createAuthorizer ( args , options ? ) ; public createAuthorizer ( args , cb ) ; public createAuthorizer ( args , options , cb ) ; public createAuthorizer ( args , optionsOrCb ? , cb ? ) { const command = new CreateAuthorizerCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a Deployment for an API.</p>
     */ public createDeployment ( args , options ? ) ; public createDeployment ( args , cb ) ; public createDeployment ( args , options , cb ) ; public createDeployment ( args , optionsOrCb ? , cb ? ) { const command = new CreateDeploymentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a domain name.</p>
     */ public createDomainName ( args , options ? ) ; public createDomainName ( args , cb ) ; public createDomainName ( args , options , cb ) ; public createDomainName ( args , optionsOrCb ? , cb ? ) { const command = new CreateDomainNameCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates an Integration.</p>
     */ public createIntegration ( args , options ? ) ; public createIntegration ( args , cb ) ; public createIntegration ( args , options , cb ) ; public createIntegration ( args , optionsOrCb ? , cb ? ) { const command = new CreateIntegrationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates an IntegrationResponses.</p>
     */ public createIntegrationResponse ( args , options ? ) ; public createIntegrationResponse ( args , cb ) ; public createIntegrationResponse ( args , options , cb ) ; public createIntegrationResponse ( args , optionsOrCb ? , cb ? ) { const command = new CreateIntegrationResponseCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a Model for an API.</p>
     */ public createModel ( args , options ? ) ; public createModel ( args , cb ) ; public createModel ( args , options , cb ) ; public createModel ( args , optionsOrCb ? , cb ? ) { const command = new CreateModelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a Route for an API.</p>
     */ public createRoute ( args , options ? ) ; public createRoute ( args , cb ) ; public createRoute ( args , options , cb ) ; public createRoute ( args , optionsOrCb ? , cb ? ) { const command = new CreateRouteCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a RouteResponse for a Route.</p>
     */ public createRouteResponse ( args , options ? ) ; public createRouteResponse ( args , cb ) ; public createRouteResponse ( args , options , cb ) ; public createRouteResponse ( args , optionsOrCb ? , cb ? ) { const command = new CreateRouteResponseCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a Stage for an API.</p>
     */ public createStage ( args , options ? ) ; public createStage ( args , cb ) ; public createStage ( args , options , cb ) ; public createStage ( args , optionsOrCb ? , cb ? ) { const command = new CreateStageCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a VPC link.</p>
     */ public createVpcLink ( args , options ? ) ; public createVpcLink ( args , cb ) ; public createVpcLink ( args , options , cb ) ; public createVpcLink ( args , optionsOrCb ? , cb ? ) { const command = new CreateVpcLinkCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the AccessLogSettings for a Stage. To disable access logging for a Stage, delete its AccessLogSettings.</p>
     */ public deleteAccessLogSettings ( args , options ? ) ; public deleteAccessLogSettings ( args , cb ) ; public deleteAccessLogSettings ( args , options , cb ) ; public deleteAccessLogSettings ( args , optionsOrCb ? , cb ? ) { const command = new DeleteAccessLogSettingsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes an Api resource.</p>
     */ public deleteApi ( args , options ? ) ; public deleteApi ( args , cb ) ; public deleteApi ( args , options , cb ) ; public deleteApi ( args , optionsOrCb ? , cb ? ) { const command = new DeleteApiCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes an API mapping.</p>
     */ public deleteApiMapping ( args , options ? ) ; public deleteApiMapping ( args , cb ) ; public deleteApiMapping ( args , options , cb ) ; public deleteApiMapping ( args , optionsOrCb ? , cb ? ) { const command = new DeleteApiMappingCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes an Authorizer.</p>
     */ public deleteAuthorizer ( args , options ? ) ; public deleteAuthorizer ( args , cb ) ; public deleteAuthorizer ( args , options , cb ) ; public deleteAuthorizer ( args , optionsOrCb ? , cb ? ) { const command = new DeleteAuthorizerCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a CORS configuration.</p>
     */ public deleteCorsConfiguration ( args , options ? ) ; public deleteCorsConfiguration ( args , cb ) ; public deleteCorsConfiguration ( args , options , cb ) ; public deleteCorsConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new DeleteCorsConfigurationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a Deployment.</p>
     */ public deleteDeployment ( args , options ? ) ; public deleteDeployment ( args , cb ) ; public deleteDeployment ( args , options , cb ) ; public deleteDeployment ( args , optionsOrCb ? , cb ? ) { const command = new DeleteDeploymentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a domain name.</p>
     */ public deleteDomainName ( args , options ? ) ; public deleteDomainName ( args , cb ) ; public deleteDomainName ( args , options , cb ) ; public deleteDomainName ( args , optionsOrCb ? , cb ? ) { const command = new DeleteDomainNameCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes an Integration.</p>
     */ public deleteIntegration ( args , options ? ) ; public deleteIntegration ( args , cb ) ; public deleteIntegration ( args , options , cb ) ; public deleteIntegration ( args , optionsOrCb ? , cb ? ) { const command = new DeleteIntegrationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes an IntegrationResponses.</p>
     */ public deleteIntegrationResponse ( args , options ? ) ; public deleteIntegrationResponse ( args , cb ) ; public deleteIntegrationResponse ( args , options , cb ) ; public deleteIntegrationResponse ( args , optionsOrCb ? , cb ? ) { const command = new DeleteIntegrationResponseCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a Model.</p>
     */ public deleteModel ( args , options ? ) ; public deleteModel ( args , cb ) ; public deleteModel ( args , options , cb ) ; public deleteModel ( args , optionsOrCb ? , cb ? ) { const command = new DeleteModelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a Route.</p>
     */ public deleteRoute ( args , options ? ) ; public deleteRoute ( args , cb ) ; public deleteRoute ( args , options , cb ) ; public deleteRoute ( args , optionsOrCb ? , cb ? ) { const command = new DeleteRouteCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a route request parameter.</p>
     */ public deleteRouteRequestParameter ( args , options ? ) ; public deleteRouteRequestParameter ( args , cb ) ; public deleteRouteRequestParameter ( args , options , cb ) ; public deleteRouteRequestParameter ( args , optionsOrCb ? , cb ? ) { const command = new DeleteRouteRequestParameterCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a RouteResponse.</p>
     */ public deleteRouteResponse ( args , options ? ) ; public deleteRouteResponse ( args , cb ) ; public deleteRouteResponse ( args , options , cb ) ; public deleteRouteResponse ( args , optionsOrCb ? , cb ? ) { const command = new DeleteRouteResponseCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the RouteSettings for a stage.</p>
     */ public deleteRouteSettings ( args , options ? ) ; public deleteRouteSettings ( args , cb ) ; public deleteRouteSettings ( args , options , cb ) ; public deleteRouteSettings ( args , optionsOrCb ? , cb ? ) { const command = new DeleteRouteSettingsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a Stage.</p>
     */ public deleteStage ( args , options ? ) ; public deleteStage ( args , cb ) ; public deleteStage ( args , options , cb ) ; public deleteStage ( args , optionsOrCb ? , cb ? ) { const command = new DeleteStageCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a VPC link.</p>
     */ public deleteVpcLink ( args , options ? ) ; public deleteVpcLink ( args , cb ) ; public deleteVpcLink ( args , options , cb ) ; public deleteVpcLink ( args , optionsOrCb ? , cb ? ) { const command = new DeleteVpcLinkCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } public exportApi ( args , options ? ) ; public exportApi ( args , cb ) ; public exportApi ( args , options , cb ) ; public exportApi ( args , optionsOrCb ? , cb ? ) { const command = new ExportApiCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets an Api resource.</p>
     */ public getApi ( args , options ? ) ; public getApi ( args , cb ) ; public getApi ( args , options , cb ) ; public getApi ( args , optionsOrCb ? , cb ? ) { const command = new GetApiCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets an API mapping.</p>
     */ public getApiMapping ( args , options ? ) ; public getApiMapping ( args , cb ) ; public getApiMapping ( args , options , cb ) ; public getApiMapping ( args , optionsOrCb ? , cb ? ) { const command = new GetApiMappingCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets API mappings.</p>
     */ public getApiMappings ( args , options ? ) ; public getApiMappings ( args , cb ) ; public getApiMappings ( args , options , cb ) ; public getApiMappings ( args , optionsOrCb ? , cb ? ) { const command = new GetApiMappingsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets a collection of Api resources.</p>
     */ public getApis ( args , options ? ) ; public getApis ( args , cb ) ; public getApis ( args , options , cb ) ; public getApis ( args , optionsOrCb ? , cb ? ) { const command = new GetApisCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets an Authorizer.</p>
     */ public getAuthorizer ( args , options ? ) ; public getAuthorizer ( args , cb ) ; public getAuthorizer ( args , options , cb ) ; public getAuthorizer ( args , optionsOrCb ? , cb ? ) { const command = new GetAuthorizerCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the Authorizers for an API.</p>
     */ public getAuthorizers ( args , options ? ) ; public getAuthorizers ( args , cb ) ; public getAuthorizers ( args , options , cb ) ; public getAuthorizers ( args , optionsOrCb ? , cb ? ) { const command = new GetAuthorizersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets a Deployment.</p>
     */ public getDeployment ( args , options ? ) ; public getDeployment ( args , cb ) ; public getDeployment ( args , options , cb ) ; public getDeployment ( args , optionsOrCb ? , cb ? ) { const command = new GetDeploymentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the Deployments for an API.</p>
     */ public getDeployments ( args , options ? ) ; public getDeployments ( args , cb ) ; public getDeployments ( args , options , cb ) ; public getDeployments ( args , optionsOrCb ? , cb ? ) { const command = new GetDeploymentsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets a domain name.</p>
     */ public getDomainName ( args , options ? ) ; public getDomainName ( args , cb ) ; public getDomainName ( args , options , cb ) ; public getDomainName ( args , optionsOrCb ? , cb ? ) { const command = new GetDomainNameCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the domain names for an AWS account.</p>
     */ public getDomainNames ( args , options ? ) ; public getDomainNames ( args , cb ) ; public getDomainNames ( args , options , cb ) ; public getDomainNames ( args , optionsOrCb ? , cb ? ) { const command = new GetDomainNamesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets an Integration.</p>
     */ public getIntegration ( args , options ? ) ; public getIntegration ( args , cb ) ; public getIntegration ( args , options , cb ) ; public getIntegration ( args , optionsOrCb ? , cb ? ) { const command = new GetIntegrationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets an IntegrationResponses.</p>
     */ public getIntegrationResponse ( args , options ? ) ; public getIntegrationResponse ( args , cb ) ; public getIntegrationResponse ( args , options , cb ) ; public getIntegrationResponse ( args , optionsOrCb ? , cb ? ) { const command = new GetIntegrationResponseCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the IntegrationResponses for an Integration.</p>
     */ public getIntegrationResponses ( args , options ? ) ; public getIntegrationResponses ( args , cb ) ; public getIntegrationResponses ( args , options , cb ) ; public getIntegrationResponses ( args , optionsOrCb ? , cb ? ) { const command = new GetIntegrationResponsesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the Integrations for an API.</p>
     */ public getIntegrations ( args , options ? ) ; public getIntegrations ( args , cb ) ; public getIntegrations ( args , options , cb ) ; public getIntegrations ( args , optionsOrCb ? , cb ? ) { const command = new GetIntegrationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets a Model.</p>
     */ public getModel ( args , options ? ) ; public getModel ( args , cb ) ; public getModel ( args , options , cb ) ; public getModel ( args , optionsOrCb ? , cb ? ) { const command = new GetModelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the Models for an API.</p>
     */ public getModels ( args , options ? ) ; public getModels ( args , cb ) ; public getModels ( args , options , cb ) ; public getModels ( args , optionsOrCb ? , cb ? ) { const command = new GetModelsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets a model template.</p>
     */ public getModelTemplate ( args , options ? ) ; public getModelTemplate ( args , cb ) ; public getModelTemplate ( args , options , cb ) ; public getModelTemplate ( args , optionsOrCb ? , cb ? ) { const command = new GetModelTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets a Route.</p>
     */ public getRoute ( args , options ? ) ; public getRoute ( args , cb ) ; public getRoute ( args , options , cb ) ; public getRoute ( args , optionsOrCb ? , cb ? ) { const command = new GetRouteCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets a RouteResponse.</p>
     */ public getRouteResponse ( args , options ? ) ; public getRouteResponse ( args , cb ) ; public getRouteResponse ( args , options , cb ) ; public getRouteResponse ( args , optionsOrCb ? , cb ? ) { const command = new GetRouteResponseCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the RouteResponses for a Route.</p>
     */ public getRouteResponses ( args , options ? ) ; public getRouteResponses ( args , cb ) ; public getRouteResponses ( args , options , cb ) ; public getRouteResponses ( args , optionsOrCb ? , cb ? ) { const command = new GetRouteResponsesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the Routes for an API.</p>
     */ public getRoutes ( args , options ? ) ; public getRoutes ( args , cb ) ; public getRoutes ( args , options , cb ) ; public getRoutes ( args , optionsOrCb ? , cb ? ) { const command = new GetRoutesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets a Stage.</p>
     */ public getStage ( args , options ? ) ; public getStage ( args , cb ) ; public getStage ( args , options , cb ) ; public getStage ( args , optionsOrCb ? , cb ? ) { const command = new GetStageCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the Stages for an API.</p>
     */ public getStages ( args , options ? ) ; public getStages ( args , cb ) ; public getStages ( args , options , cb ) ; public getStages ( args , optionsOrCb ? , cb ? ) { const command = new GetStagesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets a collection of Tag resources.</p>
     */ public getTags ( args , options ? ) ; public getTags ( args , cb ) ; public getTags ( args , options , cb ) ; public getTags ( args , optionsOrCb ? , cb ? ) { const command = new GetTagsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets a VPC link.</p>
     */ public getVpcLink ( args , options ? ) ; public getVpcLink ( args , cb ) ; public getVpcLink ( args , options , cb ) ; public getVpcLink ( args , optionsOrCb ? , cb ? ) { const command = new GetVpcLinkCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets a collection of VPC links.</p>
     */ public getVpcLinks ( args , options ? ) ; public getVpcLinks ( args , cb ) ; public getVpcLinks ( args , options , cb ) ; public getVpcLinks ( args , optionsOrCb ? , cb ? ) { const command = new GetVpcLinksCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Imports an API.</p>
     */ public importApi ( args , options ? ) ; public importApi ( args , cb ) ; public importApi ( args , options , cb ) ; public importApi ( args , optionsOrCb ? , cb ? ) { const command = new ImportApiCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Puts an Api resource.</p>
     */ public reimportApi ( args , options ? ) ; public reimportApi ( args , cb ) ; public reimportApi ( args , options , cb ) ; public reimportApi ( args , optionsOrCb ? , cb ? ) { const command = new ReimportApiCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Resets all authorizer cache entries on a stage. Supported only for HTTP APIs.</p>
     */ public resetAuthorizersCache ( args , options ? ) ; public resetAuthorizersCache ( args , cb ) ; public resetAuthorizersCache ( args , options , cb ) ; public resetAuthorizersCache ( args , optionsOrCb ? , cb ? ) { const command = new ResetAuthorizersCacheCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new Tag resource to represent a tag.</p>
     */ public tagResource ( args , options ? ) ; public tagResource ( args , cb ) ; public tagResource ( args , options , cb ) ; public tagResource ( args , optionsOrCb ? , cb ? ) { const command = new TagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a Tag.</p>
     */ public untagResource ( args , options ? ) ; public untagResource ( args , cb ) ; public untagResource ( args , options , cb ) ; public untagResource ( args , optionsOrCb ? , cb ? ) { const command = new UntagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates an Api resource.</p>
     */ public updateApi ( args , options ? ) ; public updateApi ( args , cb ) ; public updateApi ( args , options , cb ) ; public updateApi ( args , optionsOrCb ? , cb ? ) { const command = new UpdateApiCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>The API mapping.</p>
     */ public updateApiMapping ( args , options ? ) ; public updateApiMapping ( args , cb ) ; public updateApiMapping ( args , options , cb ) ; public updateApiMapping ( args , optionsOrCb ? , cb ? ) { const command = new UpdateApiMappingCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates an Authorizer.</p>
     */ public updateAuthorizer ( args , options ? ) ; public updateAuthorizer ( args , cb ) ; public updateAuthorizer ( args , options , cb ) ; public updateAuthorizer ( args , optionsOrCb ? , cb ? ) { const command = new UpdateAuthorizerCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates a Deployment.</p>
     */ public updateDeployment ( args , options ? ) ; public updateDeployment ( args , cb ) ; public updateDeployment ( args , options , cb ) ; public updateDeployment ( args , optionsOrCb ? , cb ? ) { const command = new UpdateDeploymentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates a domain name.</p>
     */ public updateDomainName ( args , options ? ) ; public updateDomainName ( args , cb ) ; public updateDomainName ( args , options , cb ) ; public updateDomainName ( args , optionsOrCb ? , cb ? ) { const command = new UpdateDomainNameCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates an Integration.</p>
     */ public updateIntegration ( args , options ? ) ; public updateIntegration ( args , cb ) ; public updateIntegration ( args , options , cb ) ; public updateIntegration ( args , optionsOrCb ? , cb ? ) { const command = new UpdateIntegrationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates an IntegrationResponses.</p>
     */ public updateIntegrationResponse ( args , options ? ) ; public updateIntegrationResponse ( args , cb ) ; public updateIntegrationResponse ( args , options , cb ) ; public updateIntegrationResponse ( args , optionsOrCb ? , cb ? ) { const command = new UpdateIntegrationResponseCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates a Model.</p>
     */ public updateModel ( args , options ? ) ; public updateModel ( args , cb ) ; public updateModel ( args , options , cb ) ; public updateModel ( args , optionsOrCb ? , cb ? ) { const command = new UpdateModelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates a Route.</p>
     */ public updateRoute ( args , options ? ) ; public updateRoute ( args , cb ) ; public updateRoute ( args , options , cb ) ; public updateRoute ( args , optionsOrCb ? , cb ? ) { const command = new UpdateRouteCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates a RouteResponse.</p>
     */ public updateRouteResponse ( args , options ? ) ; public updateRouteResponse ( args , cb ) ; public updateRouteResponse ( args , options , cb ) ; public updateRouteResponse ( args , optionsOrCb ? , cb ? ) { const command = new UpdateRouteResponseCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates a Stage.</p>
     */ public updateStage ( args , options ? ) ; public updateStage ( args , cb ) ; public updateStage ( args , options , cb ) ; public updateStage ( args , optionsOrCb ? , cb ? ) { const command = new UpdateStageCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates a VPC link.</p>
     */ public updateVpcLink ( args , options ? ) ; public updateVpcLink ( args , cb ) ; public updateVpcLink ( args , options , cb ) ; public updateVpcLink ( args , optionsOrCb ? , cb ? ) { const command = new UpdateVpcLinkCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } }