@aws-sdk/client-api-gateway 3.193.0 → 3.196.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/dist-cjs/APIGatewayClient.js +11 -8
- package/dist-cjs/commands/CreateApiKeyCommand.js +10 -0
- package/dist-cjs/commands/CreateAuthorizerCommand.js +10 -0
- package/dist-cjs/commands/CreateBasePathMappingCommand.js +10 -0
- package/dist-cjs/commands/CreateDeploymentCommand.js +10 -0
- package/dist-cjs/commands/CreateDocumentationPartCommand.js +10 -0
- package/dist-cjs/commands/CreateDocumentationVersionCommand.js +10 -0
- package/dist-cjs/commands/CreateDomainNameCommand.js +10 -0
- package/dist-cjs/commands/CreateModelCommand.js +10 -0
- package/dist-cjs/commands/CreateRequestValidatorCommand.js +10 -0
- package/dist-cjs/commands/CreateResourceCommand.js +10 -0
- package/dist-cjs/commands/CreateRestApiCommand.js +10 -0
- package/dist-cjs/commands/CreateStageCommand.js +10 -0
- package/dist-cjs/commands/CreateUsagePlanCommand.js +10 -0
- package/dist-cjs/commands/CreateUsagePlanKeyCommand.js +10 -0
- package/dist-cjs/commands/CreateVpcLinkCommand.js +10 -0
- package/dist-cjs/commands/DeleteApiKeyCommand.js +10 -0
- package/dist-cjs/commands/DeleteAuthorizerCommand.js +10 -0
- package/dist-cjs/commands/DeleteBasePathMappingCommand.js +10 -0
- package/dist-cjs/commands/DeleteClientCertificateCommand.js +10 -0
- package/dist-cjs/commands/DeleteDeploymentCommand.js +10 -0
- package/dist-cjs/commands/DeleteDocumentationPartCommand.js +10 -0
- package/dist-cjs/commands/DeleteDocumentationVersionCommand.js +10 -0
- package/dist-cjs/commands/DeleteDomainNameCommand.js +10 -0
- package/dist-cjs/commands/DeleteGatewayResponseCommand.js +10 -0
- package/dist-cjs/commands/DeleteIntegrationCommand.js +10 -0
- package/dist-cjs/commands/DeleteIntegrationResponseCommand.js +10 -0
- package/dist-cjs/commands/DeleteMethodCommand.js +10 -0
- package/dist-cjs/commands/DeleteMethodResponseCommand.js +10 -0
- package/dist-cjs/commands/DeleteModelCommand.js +10 -0
- package/dist-cjs/commands/DeleteRequestValidatorCommand.js +10 -0
- package/dist-cjs/commands/DeleteResourceCommand.js +10 -0
- package/dist-cjs/commands/DeleteRestApiCommand.js +10 -0
- package/dist-cjs/commands/DeleteStageCommand.js +10 -0
- package/dist-cjs/commands/DeleteUsagePlanCommand.js +10 -0
- package/dist-cjs/commands/DeleteUsagePlanKeyCommand.js +10 -0
- package/dist-cjs/commands/DeleteVpcLinkCommand.js +10 -0
- package/dist-cjs/commands/FlushStageAuthorizersCacheCommand.js +10 -0
- package/dist-cjs/commands/FlushStageCacheCommand.js +10 -0
- package/dist-cjs/commands/GenerateClientCertificateCommand.js +10 -0
- package/dist-cjs/commands/GetAccountCommand.js +10 -0
- package/dist-cjs/commands/GetApiKeyCommand.js +10 -0
- package/dist-cjs/commands/GetApiKeysCommand.js +10 -0
- package/dist-cjs/commands/GetAuthorizerCommand.js +10 -0
- package/dist-cjs/commands/GetAuthorizersCommand.js +10 -0
- package/dist-cjs/commands/GetBasePathMappingCommand.js +10 -0
- package/dist-cjs/commands/GetBasePathMappingsCommand.js +10 -0
- package/dist-cjs/commands/GetClientCertificateCommand.js +10 -0
- package/dist-cjs/commands/GetClientCertificatesCommand.js +10 -0
- package/dist-cjs/commands/GetDeploymentCommand.js +10 -0
- package/dist-cjs/commands/GetDeploymentsCommand.js +10 -0
- package/dist-cjs/commands/GetDocumentationPartCommand.js +10 -0
- package/dist-cjs/commands/GetDocumentationPartsCommand.js +10 -0
- package/dist-cjs/commands/GetDocumentationVersionCommand.js +10 -0
- package/dist-cjs/commands/GetDocumentationVersionsCommand.js +10 -0
- package/dist-cjs/commands/GetDomainNameCommand.js +10 -0
- package/dist-cjs/commands/GetDomainNamesCommand.js +10 -0
- package/dist-cjs/commands/GetExportCommand.js +10 -0
- package/dist-cjs/commands/GetGatewayResponseCommand.js +10 -0
- package/dist-cjs/commands/GetGatewayResponsesCommand.js +10 -0
- package/dist-cjs/commands/GetIntegrationCommand.js +10 -0
- package/dist-cjs/commands/GetIntegrationResponseCommand.js +10 -0
- package/dist-cjs/commands/GetMethodCommand.js +10 -0
- package/dist-cjs/commands/GetMethodResponseCommand.js +10 -0
- package/dist-cjs/commands/GetModelCommand.js +10 -0
- package/dist-cjs/commands/GetModelTemplateCommand.js +10 -0
- package/dist-cjs/commands/GetModelsCommand.js +10 -0
- package/dist-cjs/commands/GetRequestValidatorCommand.js +10 -0
- package/dist-cjs/commands/GetRequestValidatorsCommand.js +10 -0
- package/dist-cjs/commands/GetResourceCommand.js +10 -0
- package/dist-cjs/commands/GetResourcesCommand.js +10 -0
- package/dist-cjs/commands/GetRestApiCommand.js +10 -0
- package/dist-cjs/commands/GetRestApisCommand.js +10 -0
- package/dist-cjs/commands/GetSdkCommand.js +10 -0
- package/dist-cjs/commands/GetSdkTypeCommand.js +10 -0
- package/dist-cjs/commands/GetSdkTypesCommand.js +10 -0
- package/dist-cjs/commands/GetStageCommand.js +10 -0
- package/dist-cjs/commands/GetStagesCommand.js +10 -0
- package/dist-cjs/commands/GetTagsCommand.js +10 -0
- package/dist-cjs/commands/GetUsageCommand.js +10 -0
- package/dist-cjs/commands/GetUsagePlanCommand.js +10 -0
- package/dist-cjs/commands/GetUsagePlanKeyCommand.js +10 -0
- package/dist-cjs/commands/GetUsagePlanKeysCommand.js +10 -0
- package/dist-cjs/commands/GetUsagePlansCommand.js +10 -0
- package/dist-cjs/commands/GetVpcLinkCommand.js +10 -0
- package/dist-cjs/commands/GetVpcLinksCommand.js +10 -0
- package/dist-cjs/commands/ImportApiKeysCommand.js +10 -0
- package/dist-cjs/commands/ImportDocumentationPartsCommand.js +10 -0
- package/dist-cjs/commands/ImportRestApiCommand.js +10 -0
- package/dist-cjs/commands/PutGatewayResponseCommand.js +10 -0
- package/dist-cjs/commands/PutIntegrationCommand.js +10 -0
- package/dist-cjs/commands/PutIntegrationResponseCommand.js +10 -0
- package/dist-cjs/commands/PutMethodCommand.js +10 -0
- package/dist-cjs/commands/PutMethodResponseCommand.js +10 -0
- package/dist-cjs/commands/PutRestApiCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/TestInvokeAuthorizerCommand.js +10 -0
- package/dist-cjs/commands/TestInvokeMethodCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateAccountCommand.js +10 -0
- package/dist-cjs/commands/UpdateApiKeyCommand.js +10 -0
- package/dist-cjs/commands/UpdateAuthorizerCommand.js +10 -0
- package/dist-cjs/commands/UpdateBasePathMappingCommand.js +10 -0
- package/dist-cjs/commands/UpdateClientCertificateCommand.js +10 -0
- package/dist-cjs/commands/UpdateDeploymentCommand.js +10 -0
- package/dist-cjs/commands/UpdateDocumentationPartCommand.js +10 -0
- package/dist-cjs/commands/UpdateDocumentationVersionCommand.js +10 -0
- package/dist-cjs/commands/UpdateDomainNameCommand.js +10 -0
- package/dist-cjs/commands/UpdateGatewayResponseCommand.js +10 -0
- package/dist-cjs/commands/UpdateIntegrationCommand.js +10 -0
- package/dist-cjs/commands/UpdateIntegrationResponseCommand.js +10 -0
- package/dist-cjs/commands/UpdateMethodCommand.js +10 -0
- package/dist-cjs/commands/UpdateMethodResponseCommand.js +10 -0
- package/dist-cjs/commands/UpdateModelCommand.js +10 -0
- package/dist-cjs/commands/UpdateRequestValidatorCommand.js +10 -0
- package/dist-cjs/commands/UpdateResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateRestApiCommand.js +10 -0
- package/dist-cjs/commands/UpdateStageCommand.js +10 -0
- package/dist-cjs/commands/UpdateUsageCommand.js +10 -0
- package/dist-cjs/commands/UpdateUsagePlanCommand.js +10 -0
- package/dist-cjs/commands/UpdateVpcLinkCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +318 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/APIGatewayClient.js +12 -9
- package/dist-es/commands/CreateApiKeyCommand.js +10 -0
- package/dist-es/commands/CreateAuthorizerCommand.js +10 -0
- package/dist-es/commands/CreateBasePathMappingCommand.js +10 -0
- package/dist-es/commands/CreateDeploymentCommand.js +10 -0
- package/dist-es/commands/CreateDocumentationPartCommand.js +10 -0
- package/dist-es/commands/CreateDocumentationVersionCommand.js +10 -0
- package/dist-es/commands/CreateDomainNameCommand.js +10 -0
- package/dist-es/commands/CreateModelCommand.js +10 -0
- package/dist-es/commands/CreateRequestValidatorCommand.js +10 -0
- package/dist-es/commands/CreateResourceCommand.js +10 -0
- package/dist-es/commands/CreateRestApiCommand.js +10 -0
- package/dist-es/commands/CreateStageCommand.js +10 -0
- package/dist-es/commands/CreateUsagePlanCommand.js +10 -0
- package/dist-es/commands/CreateUsagePlanKeyCommand.js +10 -0
- package/dist-es/commands/CreateVpcLinkCommand.js +10 -0
- package/dist-es/commands/DeleteApiKeyCommand.js +10 -0
- package/dist-es/commands/DeleteAuthorizerCommand.js +10 -0
- package/dist-es/commands/DeleteBasePathMappingCommand.js +10 -0
- package/dist-es/commands/DeleteClientCertificateCommand.js +10 -0
- package/dist-es/commands/DeleteDeploymentCommand.js +10 -0
- package/dist-es/commands/DeleteDocumentationPartCommand.js +10 -0
- package/dist-es/commands/DeleteDocumentationVersionCommand.js +10 -0
- package/dist-es/commands/DeleteDomainNameCommand.js +10 -0
- package/dist-es/commands/DeleteGatewayResponseCommand.js +10 -0
- package/dist-es/commands/DeleteIntegrationCommand.js +10 -0
- package/dist-es/commands/DeleteIntegrationResponseCommand.js +10 -0
- package/dist-es/commands/DeleteMethodCommand.js +10 -0
- package/dist-es/commands/DeleteMethodResponseCommand.js +10 -0
- package/dist-es/commands/DeleteModelCommand.js +10 -0
- package/dist-es/commands/DeleteRequestValidatorCommand.js +10 -0
- package/dist-es/commands/DeleteResourceCommand.js +10 -0
- package/dist-es/commands/DeleteRestApiCommand.js +10 -0
- package/dist-es/commands/DeleteStageCommand.js +10 -0
- package/dist-es/commands/DeleteUsagePlanCommand.js +10 -0
- package/dist-es/commands/DeleteUsagePlanKeyCommand.js +10 -0
- package/dist-es/commands/DeleteVpcLinkCommand.js +10 -0
- package/dist-es/commands/FlushStageAuthorizersCacheCommand.js +10 -0
- package/dist-es/commands/FlushStageCacheCommand.js +10 -0
- package/dist-es/commands/GenerateClientCertificateCommand.js +10 -0
- package/dist-es/commands/GetAccountCommand.js +10 -0
- package/dist-es/commands/GetApiKeyCommand.js +10 -0
- package/dist-es/commands/GetApiKeysCommand.js +10 -0
- package/dist-es/commands/GetAuthorizerCommand.js +10 -0
- package/dist-es/commands/GetAuthorizersCommand.js +10 -0
- package/dist-es/commands/GetBasePathMappingCommand.js +10 -0
- package/dist-es/commands/GetBasePathMappingsCommand.js +10 -0
- package/dist-es/commands/GetClientCertificateCommand.js +10 -0
- package/dist-es/commands/GetClientCertificatesCommand.js +10 -0
- package/dist-es/commands/GetDeploymentCommand.js +10 -0
- package/dist-es/commands/GetDeploymentsCommand.js +10 -0
- package/dist-es/commands/GetDocumentationPartCommand.js +10 -0
- package/dist-es/commands/GetDocumentationPartsCommand.js +10 -0
- package/dist-es/commands/GetDocumentationVersionCommand.js +10 -0
- package/dist-es/commands/GetDocumentationVersionsCommand.js +10 -0
- package/dist-es/commands/GetDomainNameCommand.js +10 -0
- package/dist-es/commands/GetDomainNamesCommand.js +10 -0
- package/dist-es/commands/GetExportCommand.js +10 -0
- package/dist-es/commands/GetGatewayResponseCommand.js +10 -0
- package/dist-es/commands/GetGatewayResponsesCommand.js +10 -0
- package/dist-es/commands/GetIntegrationCommand.js +10 -0
- package/dist-es/commands/GetIntegrationResponseCommand.js +10 -0
- package/dist-es/commands/GetMethodCommand.js +10 -0
- package/dist-es/commands/GetMethodResponseCommand.js +10 -0
- package/dist-es/commands/GetModelCommand.js +10 -0
- package/dist-es/commands/GetModelTemplateCommand.js +10 -0
- package/dist-es/commands/GetModelsCommand.js +10 -0
- package/dist-es/commands/GetRequestValidatorCommand.js +10 -0
- package/dist-es/commands/GetRequestValidatorsCommand.js +10 -0
- package/dist-es/commands/GetResourceCommand.js +10 -0
- package/dist-es/commands/GetResourcesCommand.js +10 -0
- package/dist-es/commands/GetRestApiCommand.js +10 -0
- package/dist-es/commands/GetRestApisCommand.js +10 -0
- package/dist-es/commands/GetSdkCommand.js +10 -0
- package/dist-es/commands/GetSdkTypeCommand.js +10 -0
- package/dist-es/commands/GetSdkTypesCommand.js +10 -0
- package/dist-es/commands/GetStageCommand.js +10 -0
- package/dist-es/commands/GetStagesCommand.js +10 -0
- package/dist-es/commands/GetTagsCommand.js +10 -0
- package/dist-es/commands/GetUsageCommand.js +10 -0
- package/dist-es/commands/GetUsagePlanCommand.js +10 -0
- package/dist-es/commands/GetUsagePlanKeyCommand.js +10 -0
- package/dist-es/commands/GetUsagePlanKeysCommand.js +10 -0
- package/dist-es/commands/GetUsagePlansCommand.js +10 -0
- package/dist-es/commands/GetVpcLinkCommand.js +10 -0
- package/dist-es/commands/GetVpcLinksCommand.js +10 -0
- package/dist-es/commands/ImportApiKeysCommand.js +10 -0
- package/dist-es/commands/ImportDocumentationPartsCommand.js +10 -0
- package/dist-es/commands/ImportRestApiCommand.js +10 -0
- package/dist-es/commands/PutGatewayResponseCommand.js +10 -0
- package/dist-es/commands/PutIntegrationCommand.js +10 -0
- package/dist-es/commands/PutIntegrationResponseCommand.js +10 -0
- package/dist-es/commands/PutMethodCommand.js +10 -0
- package/dist-es/commands/PutMethodResponseCommand.js +10 -0
- package/dist-es/commands/PutRestApiCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/TestInvokeAuthorizerCommand.js +10 -0
- package/dist-es/commands/TestInvokeMethodCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateAccountCommand.js +10 -0
- package/dist-es/commands/UpdateApiKeyCommand.js +10 -0
- package/dist-es/commands/UpdateAuthorizerCommand.js +10 -0
- package/dist-es/commands/UpdateBasePathMappingCommand.js +10 -0
- package/dist-es/commands/UpdateClientCertificateCommand.js +10 -0
- package/dist-es/commands/UpdateDeploymentCommand.js +10 -0
- package/dist-es/commands/UpdateDocumentationPartCommand.js +10 -0
- package/dist-es/commands/UpdateDocumentationVersionCommand.js +10 -0
- package/dist-es/commands/UpdateDomainNameCommand.js +10 -0
- package/dist-es/commands/UpdateGatewayResponseCommand.js +10 -0
- package/dist-es/commands/UpdateIntegrationCommand.js +10 -0
- package/dist-es/commands/UpdateIntegrationResponseCommand.js +10 -0
- package/dist-es/commands/UpdateMethodCommand.js +10 -0
- package/dist-es/commands/UpdateMethodResponseCommand.js +10 -0
- package/dist-es/commands/UpdateModelCommand.js +10 -0
- package/dist-es/commands/UpdateRequestValidatorCommand.js +10 -0
- package/dist-es/commands/UpdateResourceCommand.js +10 -0
- package/dist-es/commands/UpdateRestApiCommand.js +10 -0
- package/dist-es/commands/UpdateStageCommand.js +10 -0
- package/dist-es/commands/UpdateUsageCommand.js +10 -0
- package/dist-es/commands/UpdateUsagePlanCommand.js +10 -0
- package/dist-es/commands/UpdateVpcLinkCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +315 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/APIGatewayClient.d.ts +6 -9
- package/dist-types/commands/CreateApiKeyCommand.d.ts +2 -0
- package/dist-types/commands/CreateAuthorizerCommand.d.ts +2 -0
- package/dist-types/commands/CreateBasePathMappingCommand.d.ts +2 -0
- package/dist-types/commands/CreateDeploymentCommand.d.ts +2 -0
- package/dist-types/commands/CreateDocumentationPartCommand.d.ts +2 -0
- package/dist-types/commands/CreateDocumentationVersionCommand.d.ts +2 -0
- package/dist-types/commands/CreateDomainNameCommand.d.ts +2 -0
- package/dist-types/commands/CreateModelCommand.d.ts +2 -0
- package/dist-types/commands/CreateRequestValidatorCommand.d.ts +2 -0
- package/dist-types/commands/CreateResourceCommand.d.ts +2 -0
- package/dist-types/commands/CreateRestApiCommand.d.ts +2 -0
- package/dist-types/commands/CreateStageCommand.d.ts +2 -0
- package/dist-types/commands/CreateUsagePlanCommand.d.ts +2 -0
- package/dist-types/commands/CreateUsagePlanKeyCommand.d.ts +2 -0
- package/dist-types/commands/CreateVpcLinkCommand.d.ts +2 -0
- package/dist-types/commands/DeleteApiKeyCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAuthorizerCommand.d.ts +2 -0
- package/dist-types/commands/DeleteBasePathMappingCommand.d.ts +2 -0
- package/dist-types/commands/DeleteClientCertificateCommand.d.ts +2 -0
- package/dist-types/commands/DeleteDeploymentCommand.d.ts +2 -0
- package/dist-types/commands/DeleteDocumentationPartCommand.d.ts +2 -0
- package/dist-types/commands/DeleteDocumentationVersionCommand.d.ts +2 -0
- package/dist-types/commands/DeleteDomainNameCommand.d.ts +2 -0
- package/dist-types/commands/DeleteGatewayResponseCommand.d.ts +2 -0
- package/dist-types/commands/DeleteIntegrationCommand.d.ts +2 -0
- package/dist-types/commands/DeleteIntegrationResponseCommand.d.ts +2 -0
- package/dist-types/commands/DeleteMethodCommand.d.ts +2 -0
- package/dist-types/commands/DeleteMethodResponseCommand.d.ts +2 -0
- package/dist-types/commands/DeleteModelCommand.d.ts +2 -0
- package/dist-types/commands/DeleteRequestValidatorCommand.d.ts +2 -0
- package/dist-types/commands/DeleteResourceCommand.d.ts +2 -0
- package/dist-types/commands/DeleteRestApiCommand.d.ts +2 -0
- package/dist-types/commands/DeleteStageCommand.d.ts +2 -0
- package/dist-types/commands/DeleteUsagePlanCommand.d.ts +2 -0
- package/dist-types/commands/DeleteUsagePlanKeyCommand.d.ts +2 -0
- package/dist-types/commands/DeleteVpcLinkCommand.d.ts +2 -0
- package/dist-types/commands/FlushStageAuthorizersCacheCommand.d.ts +2 -0
- package/dist-types/commands/FlushStageCacheCommand.d.ts +2 -0
- package/dist-types/commands/GenerateClientCertificateCommand.d.ts +2 -0
- package/dist-types/commands/GetAccountCommand.d.ts +2 -0
- package/dist-types/commands/GetApiKeyCommand.d.ts +2 -0
- package/dist-types/commands/GetApiKeysCommand.d.ts +2 -0
- package/dist-types/commands/GetAuthorizerCommand.d.ts +2 -0
- package/dist-types/commands/GetAuthorizersCommand.d.ts +2 -0
- package/dist-types/commands/GetBasePathMappingCommand.d.ts +2 -0
- package/dist-types/commands/GetBasePathMappingsCommand.d.ts +2 -0
- package/dist-types/commands/GetClientCertificateCommand.d.ts +2 -0
- package/dist-types/commands/GetClientCertificatesCommand.d.ts +2 -0
- package/dist-types/commands/GetDeploymentCommand.d.ts +2 -0
- package/dist-types/commands/GetDeploymentsCommand.d.ts +2 -0
- package/dist-types/commands/GetDocumentationPartCommand.d.ts +2 -0
- package/dist-types/commands/GetDocumentationPartsCommand.d.ts +2 -0
- package/dist-types/commands/GetDocumentationVersionCommand.d.ts +2 -0
- package/dist-types/commands/GetDocumentationVersionsCommand.d.ts +2 -0
- package/dist-types/commands/GetDomainNameCommand.d.ts +2 -0
- package/dist-types/commands/GetDomainNamesCommand.d.ts +2 -0
- package/dist-types/commands/GetExportCommand.d.ts +2 -0
- package/dist-types/commands/GetGatewayResponseCommand.d.ts +2 -0
- package/dist-types/commands/GetGatewayResponsesCommand.d.ts +2 -0
- package/dist-types/commands/GetIntegrationCommand.d.ts +2 -0
- package/dist-types/commands/GetIntegrationResponseCommand.d.ts +2 -0
- package/dist-types/commands/GetMethodCommand.d.ts +2 -0
- package/dist-types/commands/GetMethodResponseCommand.d.ts +2 -0
- package/dist-types/commands/GetModelCommand.d.ts +2 -0
- package/dist-types/commands/GetModelTemplateCommand.d.ts +2 -0
- package/dist-types/commands/GetModelsCommand.d.ts +2 -0
- package/dist-types/commands/GetRequestValidatorCommand.d.ts +2 -0
- package/dist-types/commands/GetRequestValidatorsCommand.d.ts +2 -0
- package/dist-types/commands/GetResourceCommand.d.ts +2 -0
- package/dist-types/commands/GetResourcesCommand.d.ts +2 -0
- package/dist-types/commands/GetRestApiCommand.d.ts +2 -0
- package/dist-types/commands/GetRestApisCommand.d.ts +2 -0
- package/dist-types/commands/GetSdkCommand.d.ts +2 -0
- package/dist-types/commands/GetSdkTypeCommand.d.ts +2 -0
- package/dist-types/commands/GetSdkTypesCommand.d.ts +2 -0
- package/dist-types/commands/GetStageCommand.d.ts +2 -0
- package/dist-types/commands/GetStagesCommand.d.ts +2 -0
- package/dist-types/commands/GetTagsCommand.d.ts +2 -0
- package/dist-types/commands/GetUsageCommand.d.ts +2 -0
- package/dist-types/commands/GetUsagePlanCommand.d.ts +2 -0
- package/dist-types/commands/GetUsagePlanKeyCommand.d.ts +2 -0
- package/dist-types/commands/GetUsagePlanKeysCommand.d.ts +2 -0
- package/dist-types/commands/GetUsagePlansCommand.d.ts +2 -0
- package/dist-types/commands/GetVpcLinkCommand.d.ts +2 -0
- package/dist-types/commands/GetVpcLinksCommand.d.ts +2 -0
- package/dist-types/commands/ImportApiKeysCommand.d.ts +2 -0
- package/dist-types/commands/ImportDocumentationPartsCommand.d.ts +2 -0
- package/dist-types/commands/ImportRestApiCommand.d.ts +2 -0
- package/dist-types/commands/PutGatewayResponseCommand.d.ts +2 -0
- package/dist-types/commands/PutIntegrationCommand.d.ts +2 -0
- package/dist-types/commands/PutIntegrationResponseCommand.d.ts +2 -0
- package/dist-types/commands/PutMethodCommand.d.ts +2 -0
- package/dist-types/commands/PutMethodResponseCommand.d.ts +2 -0
- package/dist-types/commands/PutRestApiCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/TestInvokeAuthorizerCommand.d.ts +2 -0
- package/dist-types/commands/TestInvokeMethodCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAccountCommand.d.ts +2 -0
- package/dist-types/commands/UpdateApiKeyCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAuthorizerCommand.d.ts +2 -0
- package/dist-types/commands/UpdateBasePathMappingCommand.d.ts +2 -0
- package/dist-types/commands/UpdateClientCertificateCommand.d.ts +2 -0
- package/dist-types/commands/UpdateDeploymentCommand.d.ts +2 -0
- package/dist-types/commands/UpdateDocumentationPartCommand.d.ts +2 -0
- package/dist-types/commands/UpdateDocumentationVersionCommand.d.ts +2 -0
- package/dist-types/commands/UpdateDomainNameCommand.d.ts +2 -0
- package/dist-types/commands/UpdateGatewayResponseCommand.d.ts +2 -0
- package/dist-types/commands/UpdateIntegrationCommand.d.ts +2 -0
- package/dist-types/commands/UpdateIntegrationResponseCommand.d.ts +2 -0
- package/dist-types/commands/UpdateMethodCommand.d.ts +2 -0
- package/dist-types/commands/UpdateMethodResponseCommand.d.ts +2 -0
- package/dist-types/commands/UpdateModelCommand.d.ts +2 -0
- package/dist-types/commands/UpdateRequestValidatorCommand.d.ts +2 -0
- package/dist-types/commands/UpdateResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateRestApiCommand.d.ts +2 -0
- package/dist-types/commands/UpdateStageCommand.d.ts +2 -0
- package/dist-types/commands/UpdateUsageCommand.d.ts +2 -0
- package/dist-types/commands/UpdateUsagePlanCommand.d.ts +2 -0
- package/dist-types/commands/UpdateVpcLinkCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/APIGatewayClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/CreateApiKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateAuthorizerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateBasePathMappingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateDocumentationPartCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateDocumentationVersionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateDomainNameCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateModelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateRequestValidatorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateRestApiCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateStageCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateUsagePlanCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateUsagePlanKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateVpcLinkCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteApiKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteAuthorizerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteBasePathMappingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteClientCertificateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteDeploymentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteDocumentationPartCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteDocumentationVersionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteDomainNameCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteGatewayResponseCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteIntegrationResponseCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteMethodCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteMethodResponseCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteModelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteRequestValidatorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteRestApiCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteStageCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteUsagePlanCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteUsagePlanKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteVpcLinkCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/FlushStageAuthorizersCacheCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/FlushStageCacheCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GenerateClientCertificateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAccountCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetApiKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetApiKeysCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAuthorizerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAuthorizersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetBasePathMappingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetBasePathMappingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetClientCertificateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetClientCertificatesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetDeploymentsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetDocumentationPartCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetDocumentationPartsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetDocumentationVersionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetDocumentationVersionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetDomainNameCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetDomainNamesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetExportCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetGatewayResponseCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetGatewayResponsesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetIntegrationResponseCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetMethodCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetMethodResponseCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetModelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetModelTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetModelsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetRequestValidatorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetRequestValidatorsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetResourcesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetRestApiCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetRestApisCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetSdkCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetSdkTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetSdkTypesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetStageCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetStagesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetTagsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetUsageCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetUsagePlanCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetUsagePlanKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetUsagePlanKeysCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetUsagePlansCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetVpcLinkCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetVpcLinksCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ImportApiKeysCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ImportDocumentationPartsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ImportRestApiCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutGatewayResponseCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutIntegrationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutIntegrationResponseCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutMethodCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutMethodResponseCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutRestApiCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TestInvokeAuthorizerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TestInvokeMethodCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateAccountCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateApiKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateAuthorizerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateBasePathMappingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateClientCertificateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateDeploymentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateDocumentationPartCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateDocumentationVersionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateDomainNameCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateGatewayResponseCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateIntegrationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateIntegrationResponseCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateMethodCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateMethodResponseCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateModelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateRequestValidatorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateRestApiCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateStageCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateUsageCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateUsagePlanCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateVpcLinkCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +5 -3
- package/dist-cjs/endpoints.js +0 -178
- package/dist-es/endpoints.js +0 -174
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { RestApiFilterSensitiveLog, UpdateRestApiRequestFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateRestApiCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateRestApiCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "APIGatewayClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StageFilterSensitiveLog, UpdateStageRequestFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateStageCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateStageCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "APIGatewayClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateUsageRequestFilterSensitiveLog, UsageFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateUsageCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateUsageCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "APIGatewayClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateUsagePlanRequestFilterSensitiveLog, UsagePlanFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateUsagePlanCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateUsagePlanCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "APIGatewayClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateVpcLinkRequestFilterSensitiveLog, VpcLinkFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateVpcLinkCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateVpcLinkCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "APIGatewayClient";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { resolveEndpoint } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { ruleSet } from "./ruleset";
|
|
3
|
+
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
|
+
return resolveEndpoint(ruleSet, {
|
|
5
|
+
endpointParams: endpointParams,
|
|
6
|
+
logger: context.logger,
|
|
7
|
+
});
|
|
8
|
+
};
|
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
export const ruleSet = {
|
|
2
|
+
version: "1.0",
|
|
3
|
+
parameters: {
|
|
4
|
+
Region: {
|
|
5
|
+
builtIn: "AWS::Region",
|
|
6
|
+
required: false,
|
|
7
|
+
documentation: "The AWS region used to dispatch the request.",
|
|
8
|
+
type: "String",
|
|
9
|
+
},
|
|
10
|
+
UseDualStack: {
|
|
11
|
+
builtIn: "AWS::UseDualStack",
|
|
12
|
+
required: true,
|
|
13
|
+
default: false,
|
|
14
|
+
documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
|
|
15
|
+
type: "Boolean",
|
|
16
|
+
},
|
|
17
|
+
UseFIPS: {
|
|
18
|
+
builtIn: "AWS::UseFIPS",
|
|
19
|
+
required: true,
|
|
20
|
+
default: false,
|
|
21
|
+
documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
|
|
22
|
+
type: "Boolean",
|
|
23
|
+
},
|
|
24
|
+
Endpoint: {
|
|
25
|
+
builtIn: "SDK::Endpoint",
|
|
26
|
+
required: false,
|
|
27
|
+
documentation: "Override the endpoint used to send this request",
|
|
28
|
+
type: "String",
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
rules: [
|
|
32
|
+
{
|
|
33
|
+
conditions: [
|
|
34
|
+
{
|
|
35
|
+
fn: "aws.partition",
|
|
36
|
+
argv: [
|
|
37
|
+
{
|
|
38
|
+
ref: "Region",
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
assign: "PartitionResult",
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
type: "tree",
|
|
45
|
+
rules: [
|
|
46
|
+
{
|
|
47
|
+
conditions: [
|
|
48
|
+
{
|
|
49
|
+
fn: "isSet",
|
|
50
|
+
argv: [
|
|
51
|
+
{
|
|
52
|
+
ref: "Endpoint",
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
fn: "parseURL",
|
|
58
|
+
argv: [
|
|
59
|
+
{
|
|
60
|
+
ref: "Endpoint",
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
assign: "url",
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
type: "tree",
|
|
67
|
+
rules: [
|
|
68
|
+
{
|
|
69
|
+
conditions: [
|
|
70
|
+
{
|
|
71
|
+
fn: "booleanEquals",
|
|
72
|
+
argv: [
|
|
73
|
+
{
|
|
74
|
+
ref: "UseFIPS",
|
|
75
|
+
},
|
|
76
|
+
true,
|
|
77
|
+
],
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
error: "Invalid Configuration: FIPS and custom endpoint are not supported",
|
|
81
|
+
type: "error",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
conditions: [],
|
|
85
|
+
type: "tree",
|
|
86
|
+
rules: [
|
|
87
|
+
{
|
|
88
|
+
conditions: [
|
|
89
|
+
{
|
|
90
|
+
fn: "booleanEquals",
|
|
91
|
+
argv: [
|
|
92
|
+
{
|
|
93
|
+
ref: "UseDualStack",
|
|
94
|
+
},
|
|
95
|
+
true,
|
|
96
|
+
],
|
|
97
|
+
},
|
|
98
|
+
],
|
|
99
|
+
error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
|
|
100
|
+
type: "error",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
conditions: [],
|
|
104
|
+
endpoint: {
|
|
105
|
+
url: {
|
|
106
|
+
ref: "Endpoint",
|
|
107
|
+
},
|
|
108
|
+
properties: {},
|
|
109
|
+
headers: {},
|
|
110
|
+
},
|
|
111
|
+
type: "endpoint",
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
conditions: [
|
|
119
|
+
{
|
|
120
|
+
fn: "booleanEquals",
|
|
121
|
+
argv: [
|
|
122
|
+
{
|
|
123
|
+
ref: "UseFIPS",
|
|
124
|
+
},
|
|
125
|
+
true,
|
|
126
|
+
],
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
fn: "booleanEquals",
|
|
130
|
+
argv: [
|
|
131
|
+
{
|
|
132
|
+
ref: "UseDualStack",
|
|
133
|
+
},
|
|
134
|
+
true,
|
|
135
|
+
],
|
|
136
|
+
},
|
|
137
|
+
],
|
|
138
|
+
type: "tree",
|
|
139
|
+
rules: [
|
|
140
|
+
{
|
|
141
|
+
conditions: [
|
|
142
|
+
{
|
|
143
|
+
fn: "booleanEquals",
|
|
144
|
+
argv: [
|
|
145
|
+
true,
|
|
146
|
+
{
|
|
147
|
+
fn: "getAttr",
|
|
148
|
+
argv: [
|
|
149
|
+
{
|
|
150
|
+
ref: "PartitionResult",
|
|
151
|
+
},
|
|
152
|
+
"supportsFIPS",
|
|
153
|
+
],
|
|
154
|
+
},
|
|
155
|
+
],
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
fn: "booleanEquals",
|
|
159
|
+
argv: [
|
|
160
|
+
true,
|
|
161
|
+
{
|
|
162
|
+
fn: "getAttr",
|
|
163
|
+
argv: [
|
|
164
|
+
{
|
|
165
|
+
ref: "PartitionResult",
|
|
166
|
+
},
|
|
167
|
+
"supportsDualStack",
|
|
168
|
+
],
|
|
169
|
+
},
|
|
170
|
+
],
|
|
171
|
+
},
|
|
172
|
+
],
|
|
173
|
+
type: "tree",
|
|
174
|
+
rules: [
|
|
175
|
+
{
|
|
176
|
+
conditions: [],
|
|
177
|
+
endpoint: {
|
|
178
|
+
url: "https://apigateway-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
179
|
+
properties: {},
|
|
180
|
+
headers: {},
|
|
181
|
+
},
|
|
182
|
+
type: "endpoint",
|
|
183
|
+
},
|
|
184
|
+
],
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
conditions: [],
|
|
188
|
+
error: "FIPS and DualStack are enabled, but this partition does not support one or both",
|
|
189
|
+
type: "error",
|
|
190
|
+
},
|
|
191
|
+
],
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
conditions: [
|
|
195
|
+
{
|
|
196
|
+
fn: "booleanEquals",
|
|
197
|
+
argv: [
|
|
198
|
+
{
|
|
199
|
+
ref: "UseFIPS",
|
|
200
|
+
},
|
|
201
|
+
true,
|
|
202
|
+
],
|
|
203
|
+
},
|
|
204
|
+
],
|
|
205
|
+
type: "tree",
|
|
206
|
+
rules: [
|
|
207
|
+
{
|
|
208
|
+
conditions: [
|
|
209
|
+
{
|
|
210
|
+
fn: "booleanEquals",
|
|
211
|
+
argv: [
|
|
212
|
+
true,
|
|
213
|
+
{
|
|
214
|
+
fn: "getAttr",
|
|
215
|
+
argv: [
|
|
216
|
+
{
|
|
217
|
+
ref: "PartitionResult",
|
|
218
|
+
},
|
|
219
|
+
"supportsFIPS",
|
|
220
|
+
],
|
|
221
|
+
},
|
|
222
|
+
],
|
|
223
|
+
},
|
|
224
|
+
],
|
|
225
|
+
type: "tree",
|
|
226
|
+
rules: [
|
|
227
|
+
{
|
|
228
|
+
conditions: [],
|
|
229
|
+
type: "tree",
|
|
230
|
+
rules: [
|
|
231
|
+
{
|
|
232
|
+
conditions: [],
|
|
233
|
+
endpoint: {
|
|
234
|
+
url: "https://apigateway-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
235
|
+
properties: {},
|
|
236
|
+
headers: {},
|
|
237
|
+
},
|
|
238
|
+
type: "endpoint",
|
|
239
|
+
},
|
|
240
|
+
],
|
|
241
|
+
},
|
|
242
|
+
],
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
conditions: [],
|
|
246
|
+
error: "FIPS is enabled but this partition does not support FIPS",
|
|
247
|
+
type: "error",
|
|
248
|
+
},
|
|
249
|
+
],
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
conditions: [
|
|
253
|
+
{
|
|
254
|
+
fn: "booleanEquals",
|
|
255
|
+
argv: [
|
|
256
|
+
{
|
|
257
|
+
ref: "UseDualStack",
|
|
258
|
+
},
|
|
259
|
+
true,
|
|
260
|
+
],
|
|
261
|
+
},
|
|
262
|
+
],
|
|
263
|
+
type: "tree",
|
|
264
|
+
rules: [
|
|
265
|
+
{
|
|
266
|
+
conditions: [
|
|
267
|
+
{
|
|
268
|
+
fn: "booleanEquals",
|
|
269
|
+
argv: [
|
|
270
|
+
true,
|
|
271
|
+
{
|
|
272
|
+
fn: "getAttr",
|
|
273
|
+
argv: [
|
|
274
|
+
{
|
|
275
|
+
ref: "PartitionResult",
|
|
276
|
+
},
|
|
277
|
+
"supportsDualStack",
|
|
278
|
+
],
|
|
279
|
+
},
|
|
280
|
+
],
|
|
281
|
+
},
|
|
282
|
+
],
|
|
283
|
+
type: "tree",
|
|
284
|
+
rules: [
|
|
285
|
+
{
|
|
286
|
+
conditions: [],
|
|
287
|
+
endpoint: {
|
|
288
|
+
url: "https://apigateway.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
289
|
+
properties: {},
|
|
290
|
+
headers: {},
|
|
291
|
+
},
|
|
292
|
+
type: "endpoint",
|
|
293
|
+
},
|
|
294
|
+
],
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
conditions: [],
|
|
298
|
+
error: "DualStack is enabled but this partition does not support DualStack",
|
|
299
|
+
type: "error",
|
|
300
|
+
},
|
|
301
|
+
],
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
conditions: [],
|
|
305
|
+
endpoint: {
|
|
306
|
+
url: "https://apigateway.{Region}.{PartitionResult#dnsSuffix}",
|
|
307
|
+
properties: {},
|
|
308
|
+
headers: {},
|
|
309
|
+
},
|
|
310
|
+
type: "endpoint",
|
|
311
|
+
},
|
|
312
|
+
],
|
|
313
|
+
},
|
|
314
|
+
],
|
|
315
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
|
-
import {
|
|
2
|
+
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
3
3
|
export const getRuntimeConfig = (config) => ({
|
|
4
4
|
apiVersion: "2015-07-09",
|
|
5
5
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
6
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
6
7
|
logger: config?.logger ?? {},
|
|
7
|
-
regionInfoProvider: config?.regionInfoProvider ?? defaultRegionInfoProvider,
|
|
8
8
|
serviceId: config?.serviceId ?? "API Gateway",
|
|
9
9
|
urlParser: config?.urlParser ?? parseUrl,
|
|
10
10
|
});
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware-endpoint";
|
|
2
3
|
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
4
|
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
5
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
7
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
8
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider,
|
|
9
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
10
|
import { CreateApiKeyCommandInput, CreateApiKeyCommandOutput } from "./commands/CreateApiKeyCommand";
|
|
10
11
|
import { CreateAuthorizerCommandInput, CreateAuthorizerCommandOutput } from "./commands/CreateAuthorizerCommand";
|
|
11
12
|
import { CreateBasePathMappingCommandInput, CreateBasePathMappingCommandOutput } from "./commands/CreateBasePathMappingCommand";
|
|
@@ -126,6 +127,7 @@ import { UpdateStageCommandInput, UpdateStageCommandOutput } from "./commands/Up
|
|
|
126
127
|
import { UpdateUsageCommandInput, UpdateUsageCommandOutput } from "./commands/UpdateUsageCommand";
|
|
127
128
|
import { UpdateUsagePlanCommandInput, UpdateUsagePlanCommandOutput } from "./commands/UpdateUsagePlanCommand";
|
|
128
129
|
import { UpdateVpcLinkCommandInput, UpdateVpcLinkCommandOutput } from "./commands/UpdateVpcLinkCommand";
|
|
130
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
129
131
|
export declare type ServiceInputTypes = CreateApiKeyCommandInput | CreateAuthorizerCommandInput | CreateBasePathMappingCommandInput | CreateDeploymentCommandInput | CreateDocumentationPartCommandInput | CreateDocumentationVersionCommandInput | CreateDomainNameCommandInput | CreateModelCommandInput | CreateRequestValidatorCommandInput | CreateResourceCommandInput | CreateRestApiCommandInput | CreateStageCommandInput | CreateUsagePlanCommandInput | CreateUsagePlanKeyCommandInput | CreateVpcLinkCommandInput | DeleteApiKeyCommandInput | DeleteAuthorizerCommandInput | DeleteBasePathMappingCommandInput | DeleteClientCertificateCommandInput | DeleteDeploymentCommandInput | DeleteDocumentationPartCommandInput | DeleteDocumentationVersionCommandInput | DeleteDomainNameCommandInput | DeleteGatewayResponseCommandInput | DeleteIntegrationCommandInput | DeleteIntegrationResponseCommandInput | DeleteMethodCommandInput | DeleteMethodResponseCommandInput | DeleteModelCommandInput | DeleteRequestValidatorCommandInput | DeleteResourceCommandInput | DeleteRestApiCommandInput | DeleteStageCommandInput | DeleteUsagePlanCommandInput | DeleteUsagePlanKeyCommandInput | DeleteVpcLinkCommandInput | FlushStageAuthorizersCacheCommandInput | FlushStageCacheCommandInput | GenerateClientCertificateCommandInput | GetAccountCommandInput | GetApiKeyCommandInput | GetApiKeysCommandInput | GetAuthorizerCommandInput | GetAuthorizersCommandInput | GetBasePathMappingCommandInput | GetBasePathMappingsCommandInput | GetClientCertificateCommandInput | GetClientCertificatesCommandInput | GetDeploymentCommandInput | GetDeploymentsCommandInput | GetDocumentationPartCommandInput | GetDocumentationPartsCommandInput | GetDocumentationVersionCommandInput | GetDocumentationVersionsCommandInput | GetDomainNameCommandInput | GetDomainNamesCommandInput | GetExportCommandInput | GetGatewayResponseCommandInput | GetGatewayResponsesCommandInput | GetIntegrationCommandInput | GetIntegrationResponseCommandInput | GetMethodCommandInput | GetMethodResponseCommandInput | GetModelCommandInput | GetModelTemplateCommandInput | GetModelsCommandInput | GetRequestValidatorCommandInput | GetRequestValidatorsCommandInput | GetResourceCommandInput | GetResourcesCommandInput | GetRestApiCommandInput | GetRestApisCommandInput | GetSdkCommandInput | GetSdkTypeCommandInput | GetSdkTypesCommandInput | GetStageCommandInput | GetStagesCommandInput | GetTagsCommandInput | GetUsageCommandInput | GetUsagePlanCommandInput | GetUsagePlanKeyCommandInput | GetUsagePlanKeysCommandInput | GetUsagePlansCommandInput | GetVpcLinkCommandInput | GetVpcLinksCommandInput | ImportApiKeysCommandInput | ImportDocumentationPartsCommandInput | ImportRestApiCommandInput | PutGatewayResponseCommandInput | PutIntegrationCommandInput | PutIntegrationResponseCommandInput | PutMethodCommandInput | PutMethodResponseCommandInput | PutRestApiCommandInput | TagResourceCommandInput | TestInvokeAuthorizerCommandInput | TestInvokeMethodCommandInput | UntagResourceCommandInput | UpdateAccountCommandInput | UpdateApiKeyCommandInput | UpdateAuthorizerCommandInput | UpdateBasePathMappingCommandInput | UpdateClientCertificateCommandInput | UpdateDeploymentCommandInput | UpdateDocumentationPartCommandInput | UpdateDocumentationVersionCommandInput | UpdateDomainNameCommandInput | UpdateGatewayResponseCommandInput | UpdateIntegrationCommandInput | UpdateIntegrationResponseCommandInput | UpdateMethodCommandInput | UpdateMethodResponseCommandInput | UpdateModelCommandInput | UpdateRequestValidatorCommandInput | UpdateResourceCommandInput | UpdateRestApiCommandInput | UpdateStageCommandInput | UpdateUsageCommandInput | UpdateUsagePlanCommandInput | UpdateVpcLinkCommandInput;
|
|
130
132
|
export declare type ServiceOutputTypes = CreateApiKeyCommandOutput | CreateAuthorizerCommandOutput | CreateBasePathMappingCommandOutput | CreateDeploymentCommandOutput | CreateDocumentationPartCommandOutput | CreateDocumentationVersionCommandOutput | CreateDomainNameCommandOutput | CreateModelCommandOutput | CreateRequestValidatorCommandOutput | CreateResourceCommandOutput | CreateRestApiCommandOutput | CreateStageCommandOutput | CreateUsagePlanCommandOutput | CreateUsagePlanKeyCommandOutput | CreateVpcLinkCommandOutput | DeleteApiKeyCommandOutput | DeleteAuthorizerCommandOutput | DeleteBasePathMappingCommandOutput | DeleteClientCertificateCommandOutput | DeleteDeploymentCommandOutput | DeleteDocumentationPartCommandOutput | DeleteDocumentationVersionCommandOutput | DeleteDomainNameCommandOutput | DeleteGatewayResponseCommandOutput | DeleteIntegrationCommandOutput | DeleteIntegrationResponseCommandOutput | DeleteMethodCommandOutput | DeleteMethodResponseCommandOutput | DeleteModelCommandOutput | DeleteRequestValidatorCommandOutput | DeleteResourceCommandOutput | DeleteRestApiCommandOutput | DeleteStageCommandOutput | DeleteUsagePlanCommandOutput | DeleteUsagePlanKeyCommandOutput | DeleteVpcLinkCommandOutput | FlushStageAuthorizersCacheCommandOutput | FlushStageCacheCommandOutput | GenerateClientCertificateCommandOutput | GetAccountCommandOutput | GetApiKeyCommandOutput | GetApiKeysCommandOutput | GetAuthorizerCommandOutput | GetAuthorizersCommandOutput | GetBasePathMappingCommandOutput | GetBasePathMappingsCommandOutput | GetClientCertificateCommandOutput | GetClientCertificatesCommandOutput | GetDeploymentCommandOutput | GetDeploymentsCommandOutput | GetDocumentationPartCommandOutput | GetDocumentationPartsCommandOutput | GetDocumentationVersionCommandOutput | GetDocumentationVersionsCommandOutput | GetDomainNameCommandOutput | GetDomainNamesCommandOutput | GetExportCommandOutput | GetGatewayResponseCommandOutput | GetGatewayResponsesCommandOutput | GetIntegrationCommandOutput | GetIntegrationResponseCommandOutput | GetMethodCommandOutput | GetMethodResponseCommandOutput | GetModelCommandOutput | GetModelTemplateCommandOutput | GetModelsCommandOutput | GetRequestValidatorCommandOutput | GetRequestValidatorsCommandOutput | GetResourceCommandOutput | GetResourcesCommandOutput | GetRestApiCommandOutput | GetRestApisCommandOutput | GetSdkCommandOutput | GetSdkTypeCommandOutput | GetSdkTypesCommandOutput | GetStageCommandOutput | GetStagesCommandOutput | GetTagsCommandOutput | GetUsageCommandOutput | GetUsagePlanCommandOutput | GetUsagePlanKeyCommandOutput | GetUsagePlanKeysCommandOutput | GetUsagePlansCommandOutput | GetVpcLinkCommandOutput | GetVpcLinksCommandOutput | ImportApiKeysCommandOutput | ImportDocumentationPartsCommandOutput | ImportRestApiCommandOutput | PutGatewayResponseCommandOutput | PutIntegrationCommandOutput | PutIntegrationResponseCommandOutput | PutMethodCommandOutput | PutMethodResponseCommandOutput | PutRestApiCommandOutput | TagResourceCommandOutput | TestInvokeAuthorizerCommandOutput | TestInvokeMethodCommandOutput | UntagResourceCommandOutput | UpdateAccountCommandOutput | UpdateApiKeyCommandOutput | UpdateAuthorizerCommandOutput | UpdateBasePathMappingCommandOutput | UpdateClientCertificateCommandOutput | UpdateDeploymentCommandOutput | UpdateDocumentationPartCommandOutput | UpdateDocumentationVersionCommandOutput | UpdateDomainNameCommandOutput | UpdateGatewayResponseCommandOutput | UpdateIntegrationCommandOutput | UpdateIntegrationResponseCommandOutput | UpdateMethodCommandOutput | UpdateMethodResponseCommandOutput | UpdateModelCommandOutput | UpdateRequestValidatorCommandOutput | UpdateResourceCommandOutput | UpdateRestApiCommandOutput | UpdateStageCommandOutput | UpdateUsageCommandOutput | UpdateUsagePlanCommandOutput | UpdateVpcLinkCommandOutput;
|
|
131
133
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
@@ -218,11 +220,6 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
218
220
|
* @internal
|
|
219
221
|
*/
|
|
220
222
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
221
|
-
/**
|
|
222
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
223
|
-
* @internal
|
|
224
|
-
*/
|
|
225
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
226
223
|
/**
|
|
227
224
|
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
228
225
|
* @internal
|
|
@@ -233,13 +230,13 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
233
230
|
*/
|
|
234
231
|
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
235
232
|
}
|
|
236
|
-
declare type APIGatewayClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig &
|
|
233
|
+
declare type APIGatewayClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
237
234
|
/**
|
|
238
235
|
* The configuration interface of APIGatewayClient class constructor that set the region, credentials and other options.
|
|
239
236
|
*/
|
|
240
237
|
export interface APIGatewayClientConfig extends APIGatewayClientConfigType {
|
|
241
238
|
}
|
|
242
|
-
declare type APIGatewayClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig &
|
|
239
|
+
declare type APIGatewayClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
243
240
|
/**
|
|
244
241
|
* The resolved configuration interface of APIGatewayClient class. This is resolved and normalized from the {@link APIGatewayClientConfig | constructor configuration interface}.
|
|
245
242
|
*/
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../APIGatewayClient";
|
|
@@ -25,6 +26,7 @@ export interface CreateApiKeyCommandOutput extends ApiKey, __MetadataBearer {
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class CreateApiKeyCommand extends $Command<CreateApiKeyCommandInput, CreateApiKeyCommandOutput, APIGatewayClientResolvedConfig> {
|
|
27
28
|
readonly input: CreateApiKeyCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: CreateApiKeyCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../APIGatewayClient";
|
|
@@ -25,6 +26,7 @@ export interface CreateAuthorizerCommandOutput extends Authorizer, __MetadataBea
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class CreateAuthorizerCommand extends $Command<CreateAuthorizerCommandInput, CreateAuthorizerCommandOutput, APIGatewayClientResolvedConfig> {
|
|
27
28
|
readonly input: CreateAuthorizerCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: CreateAuthorizerCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../APIGatewayClient";
|
|
@@ -25,6 +26,7 @@ export interface CreateBasePathMappingCommandOutput extends BasePathMapping, __M
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class CreateBasePathMappingCommand extends $Command<CreateBasePathMappingCommandInput, CreateBasePathMappingCommandOutput, APIGatewayClientResolvedConfig> {
|
|
27
28
|
readonly input: CreateBasePathMappingCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: CreateBasePathMappingCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../APIGatewayClient";
|
|
@@ -25,6 +26,7 @@ export interface CreateDeploymentCommandOutput extends Deployment, __MetadataBea
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class CreateDeploymentCommand extends $Command<CreateDeploymentCommandInput, CreateDeploymentCommandOutput, APIGatewayClientResolvedConfig> {
|
|
27
28
|
readonly input: CreateDeploymentCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: CreateDeploymentCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../APIGatewayClient";
|
|
@@ -25,6 +26,7 @@ export interface CreateDocumentationPartCommandOutput extends DocumentationPart,
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class CreateDocumentationPartCommand extends $Command<CreateDocumentationPartCommandInput, CreateDocumentationPartCommandOutput, APIGatewayClientResolvedConfig> {
|
|
27
28
|
readonly input: CreateDocumentationPartCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: CreateDocumentationPartCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../APIGatewayClient";
|
|
@@ -25,6 +26,7 @@ export interface CreateDocumentationVersionCommandOutput extends DocumentationVe
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class CreateDocumentationVersionCommand extends $Command<CreateDocumentationVersionCommandInput, CreateDocumentationVersionCommandOutput, APIGatewayClientResolvedConfig> {
|
|
27
28
|
readonly input: CreateDocumentationVersionCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: CreateDocumentationVersionCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../APIGatewayClient";
|
|
@@ -25,6 +26,7 @@ export interface CreateDomainNameCommandOutput extends DomainName, __MetadataBea
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class CreateDomainNameCommand extends $Command<CreateDomainNameCommandInput, CreateDomainNameCommandOutput, APIGatewayClientResolvedConfig> {
|
|
27
28
|
readonly input: CreateDomainNameCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: CreateDomainNameCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../APIGatewayClient";
|
|
@@ -25,6 +26,7 @@ export interface CreateModelCommandOutput extends Model, __MetadataBearer {
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class CreateModelCommand extends $Command<CreateModelCommandInput, CreateModelCommandOutput, APIGatewayClientResolvedConfig> {
|
|
27
28
|
readonly input: CreateModelCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: CreateModelCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|