import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { APIGatewayClient } from "./APIGatewayClient" ; import { CreateApiKeyCommand , CreateApiKeyCommandInput , CreateApiKeyCommandOutput , } from "./commands/CreateApiKeyCommand" ; import { CreateAuthorizerCommand , CreateAuthorizerCommandInput , CreateAuthorizerCommandOutput , } from "./commands/CreateAuthorizerCommand" ; import { CreateBasePathMappingCommand , CreateBasePathMappingCommandInput , CreateBasePathMappingCommandOutput , } from "./commands/CreateBasePathMappingCommand" ; import { CreateDeploymentCommand , CreateDeploymentCommandInput , CreateDeploymentCommandOutput , } from "./commands/CreateDeploymentCommand" ; import { CreateDocumentationPartCommand , CreateDocumentationPartCommandInput , CreateDocumentationPartCommandOutput , } from "./commands/CreateDocumentationPartCommand" ; import { CreateDocumentationVersionCommand , CreateDocumentationVersionCommandInput , CreateDocumentationVersionCommandOutput , } from "./commands/CreateDocumentationVersionCommand" ; import { CreateDomainNameCommand , CreateDomainNameCommandInput , CreateDomainNameCommandOutput , } from "./commands/CreateDomainNameCommand" ; import { CreateModelCommand , CreateModelCommandInput , CreateModelCommandOutput } from "./commands/CreateModelCommand" ; import { CreateRequestValidatorCommand , CreateRequestValidatorCommandInput , CreateRequestValidatorCommandOutput , } from "./commands/CreateRequestValidatorCommand" ; import { CreateResourceCommand , CreateResourceCommandInput , CreateResourceCommandOutput , } from "./commands/CreateResourceCommand" ; import { CreateRestApiCommand , CreateRestApiCommandInput , CreateRestApiCommandOutput , } from "./commands/CreateRestApiCommand" ; import { CreateStageCommand , CreateStageCommandInput , CreateStageCommandOutput } from "./commands/CreateStageCommand" ; import { CreateUsagePlanCommand , CreateUsagePlanCommandInput , CreateUsagePlanCommandOutput , } from "./commands/CreateUsagePlanCommand" ; import { CreateUsagePlanKeyCommand , CreateUsagePlanKeyCommandInput , CreateUsagePlanKeyCommandOutput , } from "./commands/CreateUsagePlanKeyCommand" ; import { CreateVpcLinkCommand , CreateVpcLinkCommandInput , CreateVpcLinkCommandOutput , } from "./commands/CreateVpcLinkCommand" ; import { DeleteApiKeyCommand , DeleteApiKeyCommandInput , DeleteApiKeyCommandOutput , } from "./commands/DeleteApiKeyCommand" ; import { DeleteAuthorizerCommand , DeleteAuthorizerCommandInput , DeleteAuthorizerCommandOutput , } from "./commands/DeleteAuthorizerCommand" ; import { DeleteBasePathMappingCommand , DeleteBasePathMappingCommandInput , DeleteBasePathMappingCommandOutput , } from "./commands/DeleteBasePathMappingCommand" ; import { DeleteClientCertificateCommand , DeleteClientCertificateCommandInput , DeleteClientCertificateCommandOutput , } from "./commands/DeleteClientCertificateCommand" ; import { DeleteDeploymentCommand , DeleteDeploymentCommandInput , DeleteDeploymentCommandOutput , } from "./commands/DeleteDeploymentCommand" ; import { DeleteDocumentationPartCommand , DeleteDocumentationPartCommandInput , DeleteDocumentationPartCommandOutput , } from "./commands/DeleteDocumentationPartCommand" ; import { DeleteDocumentationVersionCommand , DeleteDocumentationVersionCommandInput , DeleteDocumentationVersionCommandOutput , } from "./commands/DeleteDocumentationVersionCommand" ; import { DeleteDomainNameCommand , DeleteDomainNameCommandInput , DeleteDomainNameCommandOutput , } from "./commands/DeleteDomainNameCommand" ; import { DeleteGatewayResponseCommand , DeleteGatewayResponseCommandInput , DeleteGatewayResponseCommandOutput , } from "./commands/DeleteGatewayResponseCommand" ; import { DeleteIntegrationCommand , DeleteIntegrationCommandInput , DeleteIntegrationCommandOutput , } from "./commands/DeleteIntegrationCommand" ; import { DeleteIntegrationResponseCommand , DeleteIntegrationResponseCommandInput , DeleteIntegrationResponseCommandOutput , } from "./commands/DeleteIntegrationResponseCommand" ; import { DeleteMethodCommand , DeleteMethodCommandInput , DeleteMethodCommandOutput , } from "./commands/DeleteMethodCommand" ; import { DeleteMethodResponseCommand , DeleteMethodResponseCommandInput , DeleteMethodResponseCommandOutput , } from "./commands/DeleteMethodResponseCommand" ; import { DeleteModelCommand , DeleteModelCommandInput , DeleteModelCommandOutput } from "./commands/DeleteModelCommand" ; import { DeleteRequestValidatorCommand , DeleteRequestValidatorCommandInput , DeleteRequestValidatorCommandOutput , } from "./commands/DeleteRequestValidatorCommand" ; import { DeleteResourceCommand , DeleteResourceCommandInput , DeleteResourceCommandOutput , } from "./commands/DeleteResourceCommand" ; import { DeleteRestApiCommand , DeleteRestApiCommandInput , DeleteRestApiCommandOutput , } from "./commands/DeleteRestApiCommand" ; import { DeleteStageCommand , DeleteStageCommandInput , DeleteStageCommandOutput } from "./commands/DeleteStageCommand" ; import { DeleteUsagePlanCommand , DeleteUsagePlanCommandInput , DeleteUsagePlanCommandOutput , } from "./commands/DeleteUsagePlanCommand" ; import { DeleteUsagePlanKeyCommand , DeleteUsagePlanKeyCommandInput , DeleteUsagePlanKeyCommandOutput , } from "./commands/DeleteUsagePlanKeyCommand" ; import { DeleteVpcLinkCommand , DeleteVpcLinkCommandInput , DeleteVpcLinkCommandOutput , } from "./commands/DeleteVpcLinkCommand" ; import { FlushStageAuthorizersCacheCommand , FlushStageAuthorizersCacheCommandInput , FlushStageAuthorizersCacheCommandOutput , } from "./commands/FlushStageAuthorizersCacheCommand" ; import { FlushStageCacheCommand , FlushStageCacheCommandInput , FlushStageCacheCommandOutput , } from "./commands/FlushStageCacheCommand" ; import { GenerateClientCertificateCommand , GenerateClientCertificateCommandInput , GenerateClientCertificateCommandOutput , } from "./commands/GenerateClientCertificateCommand" ; import { GetAccountCommand , GetAccountCommandInput , GetAccountCommandOutput } from "./commands/GetAccountCommand" ; import { GetApiKeyCommand , GetApiKeyCommandInput , GetApiKeyCommandOutput } from "./commands/GetApiKeyCommand" ; import { GetApiKeysCommand , GetApiKeysCommandInput , GetApiKeysCommandOutput } from "./commands/GetApiKeysCommand" ; import { GetAuthorizerCommand , GetAuthorizerCommandInput , GetAuthorizerCommandOutput , } from "./commands/GetAuthorizerCommand" ; import { GetAuthorizersCommand , GetAuthorizersCommandInput , GetAuthorizersCommandOutput , } from "./commands/GetAuthorizersCommand" ; import { GetBasePathMappingCommand , GetBasePathMappingCommandInput , GetBasePathMappingCommandOutput , } from "./commands/GetBasePathMappingCommand" ; import { GetBasePathMappingsCommand , GetBasePathMappingsCommandInput , GetBasePathMappingsCommandOutput , } from "./commands/GetBasePathMappingsCommand" ; import { GetClientCertificateCommand , GetClientCertificateCommandInput , GetClientCertificateCommandOutput , } from "./commands/GetClientCertificateCommand" ; import { GetClientCertificatesCommand , GetClientCertificatesCommandInput , GetClientCertificatesCommandOutput , } from "./commands/GetClientCertificatesCommand" ; import { GetDeploymentCommand , GetDeploymentCommandInput , GetDeploymentCommandOutput , } from "./commands/GetDeploymentCommand" ; import { GetDeploymentsCommand , GetDeploymentsCommandInput , GetDeploymentsCommandOutput , } from "./commands/GetDeploymentsCommand" ; import { GetDocumentationPartCommand , GetDocumentationPartCommandInput , GetDocumentationPartCommandOutput , } from "./commands/GetDocumentationPartCommand" ; import { GetDocumentationPartsCommand , GetDocumentationPartsCommandInput , GetDocumentationPartsCommandOutput , } from "./commands/GetDocumentationPartsCommand" ; import { GetDocumentationVersionCommand , GetDocumentationVersionCommandInput , GetDocumentationVersionCommandOutput , } from "./commands/GetDocumentationVersionCommand" ; import { GetDocumentationVersionsCommand , GetDocumentationVersionsCommandInput , GetDocumentationVersionsCommandOutput , } from "./commands/GetDocumentationVersionsCommand" ; import { GetDomainNameCommand , GetDomainNameCommandInput , GetDomainNameCommandOutput , } from "./commands/GetDomainNameCommand" ; import { GetDomainNamesCommand , GetDomainNamesCommandInput , GetDomainNamesCommandOutput , } from "./commands/GetDomainNamesCommand" ; import { GetExportCommand , GetExportCommandInput , GetExportCommandOutput } from "./commands/GetExportCommand" ; import { GetGatewayResponseCommand , GetGatewayResponseCommandInput , GetGatewayResponseCommandOutput , } from "./commands/GetGatewayResponseCommand" ; import { GetGatewayResponsesCommand , GetGatewayResponsesCommandInput , GetGatewayResponsesCommandOutput , } from "./commands/GetGatewayResponsesCommand" ; import { GetIntegrationCommand , GetIntegrationCommandInput , GetIntegrationCommandOutput , } from "./commands/GetIntegrationCommand" ; import { GetIntegrationResponseCommand , GetIntegrationResponseCommandInput , GetIntegrationResponseCommandOutput , } from "./commands/GetIntegrationResponseCommand" ; import { GetMethodCommand , GetMethodCommandInput , GetMethodCommandOutput } from "./commands/GetMethodCommand" ; import { GetMethodResponseCommand , GetMethodResponseCommandInput , GetMethodResponseCommandOutput , } from "./commands/GetMethodResponseCommand" ; import { GetModelCommand , GetModelCommandInput , GetModelCommandOutput } from "./commands/GetModelCommand" ; import { GetModelsCommand , GetModelsCommandInput , GetModelsCommandOutput } from "./commands/GetModelsCommand" ; import { GetModelTemplateCommand , GetModelTemplateCommandInput , GetModelTemplateCommandOutput , } from "./commands/GetModelTemplateCommand" ; import { GetRequestValidatorCommand , GetRequestValidatorCommandInput , GetRequestValidatorCommandOutput , } from "./commands/GetRequestValidatorCommand" ; import { GetRequestValidatorsCommand , GetRequestValidatorsCommandInput , GetRequestValidatorsCommandOutput , } from "./commands/GetRequestValidatorsCommand" ; import { GetResourceCommand , GetResourceCommandInput , GetResourceCommandOutput } from "./commands/GetResourceCommand" ; import { GetResourcesCommand , GetResourcesCommandInput , GetResourcesCommandOutput , } from "./commands/GetResourcesCommand" ; import { GetRestApiCommand , GetRestApiCommandInput , GetRestApiCommandOutput } from "./commands/GetRestApiCommand" ; import { GetRestApisCommand , GetRestApisCommandInput , GetRestApisCommandOutput } from "./commands/GetRestApisCommand" ; import { GetSdkCommand , GetSdkCommandInput , GetSdkCommandOutput } from "./commands/GetSdkCommand" ; import { GetSdkTypeCommand , GetSdkTypeCommandInput , GetSdkTypeCommandOutput } from "./commands/GetSdkTypeCommand" ; import { GetSdkTypesCommand , GetSdkTypesCommandInput , GetSdkTypesCommandOutput } from "./commands/GetSdkTypesCommand" ; import { GetStageCommand , GetStageCommandInput , GetStageCommandOutput } from "./commands/GetStageCommand" ; import { GetStagesCommand , GetStagesCommandInput , GetStagesCommandOutput } from "./commands/GetStagesCommand" ; import { GetTagsCommand , GetTagsCommandInput , GetTagsCommandOutput } from "./commands/GetTagsCommand" ; import { GetUsageCommand , GetUsageCommandInput , GetUsageCommandOutput } from "./commands/GetUsageCommand" ; import { GetUsagePlanCommand , GetUsagePlanCommandInput , GetUsagePlanCommandOutput , } from "./commands/GetUsagePlanCommand" ; import { GetUsagePlanKeyCommand , GetUsagePlanKeyCommandInput , GetUsagePlanKeyCommandOutput , } from "./commands/GetUsagePlanKeyCommand" ; import { GetUsagePlanKeysCommand , GetUsagePlanKeysCommandInput , GetUsagePlanKeysCommandOutput , } from "./commands/GetUsagePlanKeysCommand" ; import { GetUsagePlansCommand , GetUsagePlansCommandInput , GetUsagePlansCommandOutput , } from "./commands/GetUsagePlansCommand" ; import { GetVpcLinkCommand , GetVpcLinkCommandInput , GetVpcLinkCommandOutput } from "./commands/GetVpcLinkCommand" ; import { GetVpcLinksCommand , GetVpcLinksCommandInput , GetVpcLinksCommandOutput } from "./commands/GetVpcLinksCommand" ; import { ImportApiKeysCommand , ImportApiKeysCommandInput , ImportApiKeysCommandOutput , } from "./commands/ImportApiKeysCommand" ; import { ImportDocumentationPartsCommand , ImportDocumentationPartsCommandInput , ImportDocumentationPartsCommandOutput , } from "./commands/ImportDocumentationPartsCommand" ; import { ImportRestApiCommand , ImportRestApiCommandInput , ImportRestApiCommandOutput , } from "./commands/ImportRestApiCommand" ; import { PutGatewayResponseCommand , PutGatewayResponseCommandInput , PutGatewayResponseCommandOutput , } from "./commands/PutGatewayResponseCommand" ; import { PutIntegrationCommand , PutIntegrationCommandInput , PutIntegrationCommandOutput , } from "./commands/PutIntegrationCommand" ; import { PutIntegrationResponseCommand , PutIntegrationResponseCommandInput , PutIntegrationResponseCommandOutput , } from "./commands/PutIntegrationResponseCommand" ; import { PutMethodCommand , PutMethodCommandInput , PutMethodCommandOutput } from "./commands/PutMethodCommand" ; import { PutMethodResponseCommand , PutMethodResponseCommandInput , PutMethodResponseCommandOutput , } from "./commands/PutMethodResponseCommand" ; import { PutRestApiCommand , PutRestApiCommandInput , PutRestApiCommandOutput } from "./commands/PutRestApiCommand" ; import { TagResourceCommand , TagResourceCommandInput , TagResourceCommandOutput } from "./commands/TagResourceCommand" ; import { TestInvokeAuthorizerCommand , TestInvokeAuthorizerCommandInput , TestInvokeAuthorizerCommandOutput , } from "./commands/TestInvokeAuthorizerCommand" ; import { TestInvokeMethodCommand , TestInvokeMethodCommandInput , TestInvokeMethodCommandOutput , } from "./commands/TestInvokeMethodCommand" ; import { UntagResourceCommand , UntagResourceCommandInput , UntagResourceCommandOutput , } from "./commands/UntagResourceCommand" ; import { UpdateAccountCommand , UpdateAccountCommandInput , UpdateAccountCommandOutput , } from "./commands/UpdateAccountCommand" ; import { UpdateApiKeyCommand , UpdateApiKeyCommandInput , UpdateApiKeyCommandOutput , } from "./commands/UpdateApiKeyCommand" ; import { UpdateAuthorizerCommand , UpdateAuthorizerCommandInput , UpdateAuthorizerCommandOutput , } from "./commands/UpdateAuthorizerCommand" ; import { UpdateBasePathMappingCommand , UpdateBasePathMappingCommandInput , UpdateBasePathMappingCommandOutput , } from "./commands/UpdateBasePathMappingCommand" ; import { UpdateClientCertificateCommand , UpdateClientCertificateCommandInput , UpdateClientCertificateCommandOutput , } from "./commands/UpdateClientCertificateCommand" ; import { UpdateDeploymentCommand , UpdateDeploymentCommandInput , UpdateDeploymentCommandOutput , } from "./commands/UpdateDeploymentCommand" ; import { UpdateDocumentationPartCommand , UpdateDocumentationPartCommandInput , UpdateDocumentationPartCommandOutput , } from "./commands/UpdateDocumentationPartCommand" ; import { UpdateDocumentationVersionCommand , UpdateDocumentationVersionCommandInput , UpdateDocumentationVersionCommandOutput , } from "./commands/UpdateDocumentationVersionCommand" ; import { UpdateDomainNameCommand , UpdateDomainNameCommandInput , UpdateDomainNameCommandOutput , } from "./commands/UpdateDomainNameCommand" ; import { UpdateGatewayResponseCommand , UpdateGatewayResponseCommandInput , UpdateGatewayResponseCommandOutput , } from "./commands/UpdateGatewayResponseCommand" ; import { UpdateIntegrationCommand , UpdateIntegrationCommandInput , UpdateIntegrationCommandOutput , } from "./commands/UpdateIntegrationCommand" ; import { UpdateIntegrationResponseCommand , UpdateIntegrationResponseCommandInput , UpdateIntegrationResponseCommandOutput , } from "./commands/UpdateIntegrationResponseCommand" ; import { UpdateMethodCommand , UpdateMethodCommandInput , UpdateMethodCommandOutput , } from "./commands/UpdateMethodCommand" ; import { UpdateMethodResponseCommand , UpdateMethodResponseCommandInput , UpdateMethodResponseCommandOutput , } from "./commands/UpdateMethodResponseCommand" ; import { UpdateModelCommand , UpdateModelCommandInput , UpdateModelCommandOutput } from "./commands/UpdateModelCommand" ; import { UpdateRequestValidatorCommand , UpdateRequestValidatorCommandInput , UpdateRequestValidatorCommandOutput , } from "./commands/UpdateRequestValidatorCommand" ; import { UpdateResourceCommand , UpdateResourceCommandInput , UpdateResourceCommandOutput , } from "./commands/UpdateResourceCommand" ; import { UpdateRestApiCommand , UpdateRestApiCommandInput , UpdateRestApiCommandOutput , } from "./commands/UpdateRestApiCommand" ; import { UpdateStageCommand , UpdateStageCommandInput , UpdateStageCommandOutput } from "./commands/UpdateStageCommand" ; import { UpdateUsageCommand , UpdateUsageCommandInput , UpdateUsageCommandOutput } from "./commands/UpdateUsageCommand" ; import { UpdateUsagePlanCommand , UpdateUsagePlanCommandInput , UpdateUsagePlanCommandOutput , } from "./commands/UpdateUsagePlanCommand" ; import { UpdateVpcLinkCommand , UpdateVpcLinkCommandInput , UpdateVpcLinkCommandOutput , } from "./commands/UpdateVpcLinkCommand" ; /**
 * <fullname>Amazon API Gateway</fullname>
 *         <p>Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. API Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.</p>
 */ export class APIGateway extends APIGatewayClient { /**
     * <p>Create an <a>ApiKey</a> resource. </p>
     *         <div class="seeAlso"><a href="https://docs.aws.amazon.com/cli/latest/reference/apigateway/create-api-key.html">AWS CLI</a></div>
     */ public createApiKey ( args , options ? ) ; public createApiKey ( args , cb ) ; public createApiKey ( args , options , cb ) ; public createApiKey ( args , optionsOrCb ? , cb ? ) { const command = new CreateApiKeyCommand ( 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>Adds a new <a>Authorizer</a> resource to an existing <a>RestApi</a> resource.</p>
     *         <div class="seeAlso"><a href="https://docs.aws.amazon.com/cli/latest/reference/apigateway/create-authorizer.html">AWS CLI</a></div>
     */ 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 new <a>BasePathMapping</a> resource.</p>
     */ public createBasePathMapping ( args , options ? ) ; public createBasePathMapping ( args , cb ) ; public createBasePathMapping ( args , options , cb ) ; public createBasePathMapping ( args , optionsOrCb ? , cb ? ) { const command = new CreateBasePathMappingCommand ( 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 <a>Deployment</a> resource, which makes a specified <a>RestApi</a> callable over the internet.</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 ) ; } } public createDocumentationPart ( args , options ? ) ; public createDocumentationPart ( args , cb ) ; public createDocumentationPart ( args , options , cb ) ; public createDocumentationPart ( args , optionsOrCb ? , cb ? ) { const command = new CreateDocumentationPartCommand ( 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 createDocumentationVersion ( args , options ? ) ; public createDocumentationVersion ( args , cb ) ; public createDocumentationVersion ( args , options , cb ) ; public createDocumentationVersion ( args , optionsOrCb ? , cb ? ) { const command = new CreateDocumentationVersionCommand ( 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 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>Adds a new <a>Model</a> resource to an existing <a>RestApi</a> resource.</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 <a>ReqeustValidator</a> of a given <a>RestApi</a>.</p>
     */ public createRequestValidator ( args , options ? ) ; public createRequestValidator ( args , cb ) ; public createRequestValidator ( args , options , cb ) ; public createRequestValidator ( args , optionsOrCb ? , cb ? ) { const command = new CreateRequestValidatorCommand ( 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 <a>Resource</a> resource.</p>
     */ public createResource ( args , options ? ) ; public createResource ( args , cb ) ; public createResource ( args , options , cb ) ; public createResource ( args , optionsOrCb ? , cb ? ) { const command = new CreateResourceCommand ( 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 <a>RestApi</a> resource.</p>
     */ public createRestApi ( args , options ? ) ; public createRestApi ( args , cb ) ; public createRestApi ( args , options , cb ) ; public createRestApi ( args , optionsOrCb ? , cb ? ) { const command = new CreateRestApiCommand ( 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 <a>Stage</a> resource that references a pre-existing <a>Deployment</a> for the API. </p>
     *         <!--   <p>Creates a <a>Stage</a> resource.</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 usage plan with the throttle and quota limits, as well as the associated API stages, specified in the payload. </p>
     */ public createUsagePlan ( args , options ? ) ; public createUsagePlan ( args , cb ) ; public createUsagePlan ( args , options , cb ) ; public createUsagePlan ( args , optionsOrCb ? , cb ? ) { const command = new CreateUsagePlanCommand ( 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 usage plan key for adding an existing API key to a usage plan.</p>
     */ public createUsagePlanKey ( args , options ? ) ; public createUsagePlanKey ( args , cb ) ; public createUsagePlanKey ( args , options , cb ) ; public createUsagePlanKey ( args , optionsOrCb ? , cb ? ) { const command = new CreateUsagePlanKeyCommand ( 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, under the caller's account in a selected region, in an asynchronous operation that typically takes 2-4 minutes to complete and become operational. The caller must have permissions to create and update VPC Endpoint services.</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 <a>ApiKey</a> resource.</p>
     */ public deleteApiKey ( args , options ? ) ; public deleteApiKey ( args , cb ) ; public deleteApiKey ( args , options , cb ) ; public deleteApiKey ( args , optionsOrCb ? , cb ? ) { const command = new DeleteApiKeyCommand ( 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 existing <a>Authorizer</a> resource.</p>
     *         <div class="seeAlso"><a href="https://docs.aws.amazon.com/cli/latest/reference/apigateway/delete-authorizer.html">AWS CLI</a></div>
     */ 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 the <a>BasePathMapping</a> resource.</p>
     */ public deleteBasePathMapping ( args , options ? ) ; public deleteBasePathMapping ( args , cb ) ; public deleteBasePathMapping ( args , options , cb ) ; public deleteBasePathMapping ( args , optionsOrCb ? , cb ? ) { const command = new DeleteBasePathMappingCommand ( 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 <a>ClientCertificate</a> resource.</p>
     */ public deleteClientCertificate ( args , options ? ) ; public deleteClientCertificate ( args , cb ) ; public deleteClientCertificate ( args , options , cb ) ; public deleteClientCertificate ( args , optionsOrCb ? , cb ? ) { const command = new DeleteClientCertificateCommand ( 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 <a>Deployment</a> resource. Deleting a deployment will only succeed if there are no <a>Stage</a> resources associated with it.</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 ) ; } } public deleteDocumentationPart ( args , options ? ) ; public deleteDocumentationPart ( args , cb ) ; public deleteDocumentationPart ( args , options , cb ) ; public deleteDocumentationPart ( args , optionsOrCb ? , cb ? ) { const command = new DeleteDocumentationPartCommand ( 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 deleteDocumentationVersion ( args , options ? ) ; public deleteDocumentationVersion ( args , cb ) ; public deleteDocumentationVersion ( args , options , cb ) ; public deleteDocumentationVersion ( args , optionsOrCb ? , cb ? ) { const command = new DeleteDocumentationVersionCommand ( 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 <a>DomainName</a> resource.</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>Clears any customization of a <a>GatewayResponse</a> of a specified response type on the given <a>RestApi</a> and resets it with the default settings.</p>
     */ public deleteGatewayResponse ( args , options ? ) ; public deleteGatewayResponse ( args , cb ) ; public deleteGatewayResponse ( args , options , cb ) ; public deleteGatewayResponse ( args , optionsOrCb ? , cb ? ) { const command = new DeleteGatewayResponseCommand ( 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>Represents a delete 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>Represents a delete integration response.</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 an existing <a>Method</a> resource.</p>
     */ public deleteMethod ( args , options ? ) ; public deleteMethod ( args , cb ) ; public deleteMethod ( args , options , cb ) ; public deleteMethod ( args , optionsOrCb ? , cb ? ) { const command = new DeleteMethodCommand ( 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 existing <a>MethodResponse</a> resource.</p>
     */ public deleteMethodResponse ( args , options ? ) ; public deleteMethodResponse ( args , cb ) ; public deleteMethodResponse ( args , options , cb ) ; public deleteMethodResponse ( args , optionsOrCb ? , cb ? ) { const command = new DeleteMethodResponseCommand ( 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 <a>RequestValidator</a> of a given <a>RestApi</a>.</p>
     */ public deleteRequestValidator ( args , options ? ) ; public deleteRequestValidator ( args , cb ) ; public deleteRequestValidator ( args , options , cb ) ; public deleteRequestValidator ( args , optionsOrCb ? , cb ? ) { const command = new DeleteRequestValidatorCommand ( 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 <a>Resource</a> resource.</p>
     */ public deleteResource ( args , options ? ) ; public deleteResource ( args , cb ) ; public deleteResource ( args , options , cb ) ; public deleteResource ( args , optionsOrCb ? , cb ? ) { const command = new DeleteResourceCommand ( 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 specified API.</p>
     */ public deleteRestApi ( args , options ? ) ; public deleteRestApi ( args , cb ) ; public deleteRestApi ( args , options , cb ) ; public deleteRestApi ( args , optionsOrCb ? , cb ? ) { const command = new DeleteRestApiCommand ( 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 <a>Stage</a> resource.</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 usage plan of a given plan Id.</p>
     */ public deleteUsagePlan ( args , options ? ) ; public deleteUsagePlan ( args , cb ) ; public deleteUsagePlan ( args , options , cb ) ; public deleteUsagePlan ( args , optionsOrCb ? , cb ? ) { const command = new DeleteUsagePlanCommand ( 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 usage plan key  and remove the underlying API key from the associated usage plan.</p>
     */ public deleteUsagePlanKey ( args , options ? ) ; public deleteUsagePlanKey ( args , cb ) ; public deleteUsagePlanKey ( args , options , cb ) ; public deleteUsagePlanKey ( args , optionsOrCb ? , cb ? ) { const command = new DeleteUsagePlanKeyCommand ( 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 existing <a>VpcLink</a> of a specified identifier.</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 ) ; } } /**
     * <p>Flushes all authorizer cache entries on a stage.</p>
     */ public flushStageAuthorizersCache ( args , options ? ) ; public flushStageAuthorizersCache ( args , cb ) ; public flushStageAuthorizersCache ( args , options , cb ) ; public flushStageAuthorizersCache ( args , optionsOrCb ? , cb ? ) { const command = new FlushStageAuthorizersCacheCommand ( 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>Flushes a stage's cache.</p>
     */ public flushStageCache ( args , options ? ) ; public flushStageCache ( args , cb ) ; public flushStageCache ( args , options , cb ) ; public flushStageCache ( args , optionsOrCb ? , cb ? ) { const command = new FlushStageCacheCommand ( 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>Generates a <a>ClientCertificate</a> resource.</p>
     */ public generateClientCertificate ( args , options ? ) ; public generateClientCertificate ( args , cb ) ; public generateClientCertificate ( args , options , cb ) ; public generateClientCertificate ( args , optionsOrCb ? , cb ? ) { const command = new GenerateClientCertificateCommand ( 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 information about the current <a>Account</a> resource.</p>
     */ public getAccount ( args , options ? ) ; public getAccount ( args , cb ) ; public getAccount ( args , options , cb ) ; public getAccount ( args , optionsOrCb ? , cb ? ) { const command = new GetAccountCommand ( 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 information about the current <a>ApiKey</a> resource.</p>
     */ public getApiKey ( args , options ? ) ; public getApiKey ( args , cb ) ; public getApiKey ( args , options , cb ) ; public getApiKey ( args , optionsOrCb ? , cb ? ) { const command = new GetApiKeyCommand ( 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 information about the current <a>ApiKeys</a> resource.</p>
     */ public getApiKeys ( args , options ? ) ; public getApiKeys ( args , cb ) ; public getApiKeys ( args , options , cb ) ; public getApiKeys ( args , optionsOrCb ? , cb ? ) { const command = new GetApiKeysCommand ( 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>Describe an existing <a>Authorizer</a> resource.</p>
     *         <div class="seeAlso"><a href="https://docs.aws.amazon.com/cli/latest/reference/apigateway/get-authorizer.html">AWS CLI</a></div>
     */ 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>Describe an existing <a>Authorizers</a> resource.</p>
     *         <div class="seeAlso"><a href="https://docs.aws.amazon.com/cli/latest/reference/apigateway/get-authorizers.html">AWS CLI</a></div>
     */ 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>Describe a <a>BasePathMapping</a> resource.</p>
     */ public getBasePathMapping ( args , options ? ) ; public getBasePathMapping ( args , cb ) ; public getBasePathMapping ( args , options , cb ) ; public getBasePathMapping ( args , optionsOrCb ? , cb ? ) { const command = new GetBasePathMappingCommand ( 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>Represents a collection of <a>BasePathMapping</a> resources.</p>
     */ public getBasePathMappings ( args , options ? ) ; public getBasePathMappings ( args , cb ) ; public getBasePathMappings ( args , options , cb ) ; public getBasePathMappings ( args , optionsOrCb ? , cb ? ) { const command = new GetBasePathMappingsCommand ( 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 information about the current <a>ClientCertificate</a> resource.</p>
     */ public getClientCertificate ( args , options ? ) ; public getClientCertificate ( args , cb ) ; public getClientCertificate ( args , options , cb ) ; public getClientCertificate ( args , optionsOrCb ? , cb ? ) { const command = new GetClientCertificateCommand ( 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 <a>ClientCertificate</a> resources.</p>
     */ public getClientCertificates ( args , options ? ) ; public getClientCertificates ( args , cb ) ; public getClientCertificates ( args , options , cb ) ; public getClientCertificates ( args , optionsOrCb ? , cb ? ) { const command = new GetClientCertificatesCommand ( 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 information about a <a>Deployment</a> resource.</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 information about a <a>Deployments</a> collection.</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 ) ; } } public getDocumentationPart ( args , options ? ) ; public getDocumentationPart ( args , cb ) ; public getDocumentationPart ( args , options , cb ) ; public getDocumentationPart ( args , optionsOrCb ? , cb ? ) { const command = new GetDocumentationPartCommand ( 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 getDocumentationParts ( args , options ? ) ; public getDocumentationParts ( args , cb ) ; public getDocumentationParts ( args , options , cb ) ; public getDocumentationParts ( args , optionsOrCb ? , cb ? ) { const command = new GetDocumentationPartsCommand ( 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 getDocumentationVersion ( args , options ? ) ; public getDocumentationVersion ( args , cb ) ; public getDocumentationVersion ( args , options , cb ) ; public getDocumentationVersion ( args , optionsOrCb ? , cb ? ) { const command = new GetDocumentationVersionCommand ( 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 getDocumentationVersions ( args , options ? ) ; public getDocumentationVersions ( args , cb ) ; public getDocumentationVersions ( args , options , cb ) ; public getDocumentationVersions ( args , optionsOrCb ? , cb ? ) { const command = new GetDocumentationVersionsCommand ( 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>Represents a domain name that is contained in a simpler, more intuitive URL that can be called.</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>Represents a collection of <a>DomainName</a> resources.</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>Exports a deployed version of a <a>RestApi</a> in a specified format.</p>
     */ public getExport ( args , options ? ) ; public getExport ( args , cb ) ; public getExport ( args , options , cb ) ; public getExport ( args , optionsOrCb ? , cb ? ) { const command = new GetExportCommand ( 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 <a>GatewayResponse</a> of a specified response type on the given <a>RestApi</a>.</p>
     */ public getGatewayResponse ( args , options ? ) ; public getGatewayResponse ( args , cb ) ; public getGatewayResponse ( args , options , cb ) ; public getGatewayResponse ( args , optionsOrCb ? , cb ? ) { const command = new GetGatewayResponseCommand ( 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 <a>GatewayResponses</a> collection on the given <a>RestApi</a>. If an API developer has not added any definitions for gateway responses, the result will be the API Gateway-generated default <a>GatewayResponses</a> collection for the supported response types.</p>
     */ public getGatewayResponses ( args , options ? ) ; public getGatewayResponses ( args , cb ) ; public getGatewayResponses ( args , options , cb ) ; public getGatewayResponses ( args , optionsOrCb ? , cb ? ) { const command = new GetGatewayResponsesCommand ( 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>Get the integration settings.</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>Represents a get integration response.</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>Describe an existing <a>Method</a> resource.</p>
     */ public getMethod ( args , options ? ) ; public getMethod ( args , cb ) ; public getMethod ( args , options , cb ) ; public getMethod ( args , optionsOrCb ? , cb ? ) { const command = new GetMethodCommand ( 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>Describes a <a>MethodResponse</a> resource.</p>
     */ public getMethodResponse ( args , options ? ) ; public getMethodResponse ( args , cb ) ; public getMethodResponse ( args , options , cb ) ; public getMethodResponse ( args , optionsOrCb ? , cb ? ) { const command = new GetMethodResponseCommand ( 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>Describes an existing model defined for a <a>RestApi</a> resource.</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>Describes existing <a>Models</a> defined for a <a>RestApi</a> resource.</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>Generates a sample mapping template that can be used to transform a payload into the structure of a model.</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 <a>RequestValidator</a> of a given <a>RestApi</a>.</p>
     */ public getRequestValidator ( args , options ? ) ; public getRequestValidator ( args , cb ) ; public getRequestValidator ( args , options , cb ) ; public getRequestValidator ( args , optionsOrCb ? , cb ? ) { const command = new GetRequestValidatorCommand ( 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 <a>RequestValidators</a> collection of a given <a>RestApi</a>.</p>
     */ public getRequestValidators ( args , options ? ) ; public getRequestValidators ( args , cb ) ; public getRequestValidators ( args , options , cb ) ; public getRequestValidators ( args , optionsOrCb ? , cb ? ) { const command = new GetRequestValidatorsCommand ( 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>Lists information about a resource.</p>
     */ public getResource ( args , options ? ) ; public getResource ( args , cb ) ; public getResource ( args , options , cb ) ; public getResource ( args , optionsOrCb ? , cb ? ) { const command = new GetResourceCommand ( 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>Lists information about a collection of <a>Resource</a> resources.</p>
     */ public getResources ( args , options ? ) ; public getResources ( args , cb ) ; public getResources ( args , options , cb ) ; public getResources ( args , optionsOrCb ? , cb ? ) { const command = new GetResourcesCommand ( 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>Lists the <a>RestApi</a> resource in the collection.</p>
     */ public getRestApi ( args , options ? ) ; public getRestApi ( args , cb ) ; public getRestApi ( args , options , cb ) ; public getRestApi ( args , optionsOrCb ? , cb ? ) { const command = new GetRestApiCommand ( 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>Lists the <a>RestApis</a> resources for your collection.</p>
     */ public getRestApis ( args , options ? ) ; public getRestApis ( args , cb ) ; public getRestApis ( args , options , cb ) ; public getRestApis ( args , optionsOrCb ? , cb ? ) { const command = new GetRestApisCommand ( 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>Generates a client SDK for a <a>RestApi</a> and <a>Stage</a>.</p>
     */ public getSdk ( args , options ? ) ; public getSdk ( args , cb ) ; public getSdk ( args , options , cb ) ; public getSdk ( args , optionsOrCb ? , cb ? ) { const command = new GetSdkCommand ( 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 getSdkType ( args , options ? ) ; public getSdkType ( args , cb ) ; public getSdkType ( args , options , cb ) ; public getSdkType ( args , optionsOrCb ? , cb ? ) { const command = new GetSdkTypeCommand ( 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 getSdkTypes ( args , options ? ) ; public getSdkTypes ( args , cb ) ; public getSdkTypes ( args , options , cb ) ; public getSdkTypes ( args , optionsOrCb ? , cb ? ) { const command = new GetSdkTypesCommand ( 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 information about a <a>Stage</a> resource.</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 information about one or more <a>Stage</a> resources.</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 the <a>Tags</a> collection for a given resource.</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 the usage data of a usage plan in a specified time interval.</p>
     */ public getUsage ( args , options ? ) ; public getUsage ( args , cb ) ; public getUsage ( args , options , cb ) ; public getUsage ( args , optionsOrCb ? , cb ? ) { const command = new GetUsageCommand ( 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 usage plan of a given plan identifier.</p>
     */ public getUsagePlan ( args , options ? ) ; public getUsagePlan ( args , cb ) ; public getUsagePlan ( args , options , cb ) ; public getUsagePlan ( args , optionsOrCb ? , cb ? ) { const command = new GetUsagePlanCommand ( 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 usage plan key of a given key identifier.</p>
     */ public getUsagePlanKey ( args , options ? ) ; public getUsagePlanKey ( args , cb ) ; public getUsagePlanKey ( args , options , cb ) ; public getUsagePlanKey ( args , optionsOrCb ? , cb ? ) { const command = new GetUsagePlanKeyCommand ( 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 all the usage plan keys representing the API keys added to a specified usage plan.</p>
     */ public getUsagePlanKeys ( args , options ? ) ; public getUsagePlanKeys ( args , cb ) ; public getUsagePlanKeys ( args , options , cb ) ; public getUsagePlanKeys ( args , optionsOrCb ? , cb ? ) { const command = new GetUsagePlanKeysCommand ( 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 all the usage plans of the caller's account.</p>
     */ public getUsagePlans ( args , options ? ) ; public getUsagePlans ( args , cb ) ; public getUsagePlans ( args , options , cb ) ; public getUsagePlans ( args , optionsOrCb ? , cb ? ) { const command = new GetUsagePlansCommand ( 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 specified VPC link under the caller's account in a region.</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 the <a>VpcLinks</a> collection under the caller's account in a selected region.</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>Import API keys from an external source, such as a CSV-formatted file.</p>
     */ public importApiKeys ( args , options ? ) ; public importApiKeys ( args , cb ) ; public importApiKeys ( args , options , cb ) ; public importApiKeys ( args , optionsOrCb ? , cb ? ) { const command = new ImportApiKeysCommand ( 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 importDocumentationParts ( args , options ? ) ; public importDocumentationParts ( args , cb ) ; public importDocumentationParts ( args , options , cb ) ; public importDocumentationParts ( args , optionsOrCb ? , cb ? ) { const command = new ImportDocumentationPartsCommand ( 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>A feature of the API Gateway control service for creating a new API from an external API definition file.</p>
     */ public importRestApi ( args , options ? ) ; public importRestApi ( args , cb ) ; public importRestApi ( args , options , cb ) ; public importRestApi ( args , optionsOrCb ? , cb ? ) { const command = new ImportRestApiCommand ( 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 customization of a <a>GatewayResponse</a> of a specified response type and status code on the given <a>RestApi</a>.</p>
     */ public putGatewayResponse ( args , options ? ) ; public putGatewayResponse ( args , cb ) ; public putGatewayResponse ( args , options , cb ) ; public putGatewayResponse ( args , optionsOrCb ? , cb ? ) { const command = new PutGatewayResponseCommand ( 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>Sets up a method's integration.</p>
     */ public putIntegration ( args , options ? ) ; public putIntegration ( args , cb ) ; public putIntegration ( args , options , cb ) ; public putIntegration ( args , optionsOrCb ? , cb ? ) { const command = new PutIntegrationCommand ( 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>Represents a put integration.</p>
     */ public putIntegrationResponse ( args , options ? ) ; public putIntegrationResponse ( args , cb ) ; public putIntegrationResponse ( args , options , cb ) ; public putIntegrationResponse ( args , optionsOrCb ? , cb ? ) { const command = new PutIntegrationResponseCommand ( 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>Add a method to an existing <a>Resource</a> resource.</p>
     */ public putMethod ( args , options ? ) ; public putMethod ( args , cb ) ; public putMethod ( args , options , cb ) ; public putMethod ( args , optionsOrCb ? , cb ? ) { const command = new PutMethodCommand ( 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>Adds a <a>MethodResponse</a> to an existing <a>Method</a> resource.</p>
     */ public putMethodResponse ( args , options ? ) ; public putMethodResponse ( args , cb ) ; public putMethodResponse ( args , options , cb ) ; public putMethodResponse ( args , optionsOrCb ? , cb ? ) { const command = new PutMethodResponseCommand ( 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>A feature of the API Gateway control service for updating an existing API with an input of external API definitions.
     *             The update can take the form of merging the supplied definition into the existing API or overwriting the existing API.</p>
     */ public putRestApi ( args , options ? ) ; public putRestApi ( args , cb ) ; public putRestApi ( args , options , cb ) ; public putRestApi ( args , optionsOrCb ? , cb ? ) { const command = new PutRestApiCommand ( 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>Adds or updates a tag on a given resource.</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>Simulate the execution of an <a>Authorizer</a> in your <a>RestApi</a> with headers, parameters, and an incoming request body.</p>
     *       <div class="seeAlso">
     *         <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-use-lambda-authorizer.html">Use Lambda Function as Authorizer</a>
     *         <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-integrate-with-cognito.html">Use Cognito User Pool as Authorizer</a>
     *       </div>
     */ public testInvokeAuthorizer ( args , options ? ) ; public testInvokeAuthorizer ( args , cb ) ; public testInvokeAuthorizer ( args , options , cb ) ; public testInvokeAuthorizer ( args , optionsOrCb ? , cb ? ) { const command = new TestInvokeAuthorizerCommand ( 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>Simulate the execution of a <a>Method</a> in your <a>RestApi</a> with headers, parameters, and an incoming request body.</p>
     */ public testInvokeMethod ( args , options ? ) ; public testInvokeMethod ( args , cb ) ; public testInvokeMethod ( args , options , cb ) ; public testInvokeMethod ( args , optionsOrCb ? , cb ? ) { const command = new TestInvokeMethodCommand ( 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>Removes a tag from a given resource.</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>Changes information about the current <a>Account</a> resource.</p>
     */ public updateAccount ( args , options ? ) ; public updateAccount ( args , cb ) ; public updateAccount ( args , options , cb ) ; public updateAccount ( args , optionsOrCb ? , cb ? ) { const command = new UpdateAccountCommand ( 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>Changes information about an <a>ApiKey</a> resource.</p>
     */ public updateApiKey ( args , options ? ) ; public updateApiKey ( args , cb ) ; public updateApiKey ( args , options , cb ) ; public updateApiKey ( args , optionsOrCb ? , cb ? ) { const command = new UpdateApiKeyCommand ( 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 existing <a>Authorizer</a> resource.</p>
     *         <div class="seeAlso"><a href="https://docs.aws.amazon.com/cli/latest/reference/apigateway/update-authorizer.html">AWS CLI</a></div>
     */ 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>Changes information about the <a>BasePathMapping</a> resource.</p>
     */ public updateBasePathMapping ( args , options ? ) ; public updateBasePathMapping ( args , cb ) ; public updateBasePathMapping ( args , options , cb ) ; public updateBasePathMapping ( args , optionsOrCb ? , cb ? ) { const command = new UpdateBasePathMappingCommand ( 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>Changes information about an <a>ClientCertificate</a> resource.</p>
     */ public updateClientCertificate ( args , options ? ) ; public updateClientCertificate ( args , cb ) ; public updateClientCertificate ( args , options , cb ) ; public updateClientCertificate ( args , optionsOrCb ? , cb ? ) { const command = new UpdateClientCertificateCommand ( 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>Changes information about a <a>Deployment</a> resource.</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 ) ; } } public updateDocumentationPart ( args , options ? ) ; public updateDocumentationPart ( args , cb ) ; public updateDocumentationPart ( args , options , cb ) ; public updateDocumentationPart ( args , optionsOrCb ? , cb ? ) { const command = new UpdateDocumentationPartCommand ( 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 updateDocumentationVersion ( args , options ? ) ; public updateDocumentationVersion ( args , cb ) ; public updateDocumentationVersion ( args , options , cb ) ; public updateDocumentationVersion ( args , optionsOrCb ? , cb ? ) { const command = new UpdateDocumentationVersionCommand ( 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>Changes information about the <a>DomainName</a> resource.</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 a <a>GatewayResponse</a> of a specified response type on the given <a>RestApi</a>.</p>
     */ public updateGatewayResponse ( args , options ? ) ; public updateGatewayResponse ( args , cb ) ; public updateGatewayResponse ( args , options , cb ) ; public updateGatewayResponse ( args , optionsOrCb ? , cb ? ) { const command = new UpdateGatewayResponseCommand ( 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>Represents an update 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>Represents an update integration response.</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 an existing <a>Method</a> resource.</p>
     */ public updateMethod ( args , options ? ) ; public updateMethod ( args , cb ) ; public updateMethod ( args , options , cb ) ; public updateMethod ( args , optionsOrCb ? , cb ? ) { const command = new UpdateMethodCommand ( 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 existing <a>MethodResponse</a> resource.</p>
     */ public updateMethodResponse ( args , options ? ) ; public updateMethodResponse ( args , cb ) ; public updateMethodResponse ( args , options , cb ) ; public updateMethodResponse ( args , optionsOrCb ? , cb ? ) { const command = new UpdateMethodResponseCommand ( 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>Changes information about 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 <a>RequestValidator</a> of a given <a>RestApi</a>.</p>
     */ public updateRequestValidator ( args , options ? ) ; public updateRequestValidator ( args , cb ) ; public updateRequestValidator ( args , options , cb ) ; public updateRequestValidator ( args , optionsOrCb ? , cb ? ) { const command = new UpdateRequestValidatorCommand ( 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>Changes information about a <a>Resource</a> resource.</p>
     */ public updateResource ( args , options ? ) ; public updateResource ( args , cb ) ; public updateResource ( args , options , cb ) ; public updateResource ( args , optionsOrCb ? , cb ? ) { const command = new UpdateResourceCommand ( 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>Changes information about the specified API.</p>
     */ public updateRestApi ( args , options ? ) ; public updateRestApi ( args , cb ) ; public updateRestApi ( args , options , cb ) ; public updateRestApi ( args , optionsOrCb ? , cb ? ) { const command = new UpdateRestApiCommand ( 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>Changes information about a <a>Stage</a> resource.</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>Grants a temporary extension to the remaining quota of a usage plan associated with a specified API key.</p>
     */ public updateUsage ( args , options ? ) ; public updateUsage ( args , cb ) ; public updateUsage ( args , options , cb ) ; public updateUsage ( args , optionsOrCb ? , cb ? ) { const command = new UpdateUsageCommand ( 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 usage plan of a given plan Id.</p>
     */ public updateUsagePlan ( args , options ? ) ; public updateUsagePlan ( args , cb ) ; public updateUsagePlan ( args , options , cb ) ; public updateUsagePlan ( args , optionsOrCb ? , cb ? ) { const command = new UpdateUsagePlanCommand ( 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 existing <a>VpcLink</a> of a specified identifier.</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 ) ; } } }