@aws-sdk/client-apigatewayv2 3.35.0 → 3.38.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 +47 -0
- package/dist-cjs/ApiGatewayV2.js +0 -4
- package/dist-cjs/ApiGatewayV2Client.js +0 -9
- package/dist-cjs/commands/CreateApiCommand.js +0 -25
- package/dist-cjs/commands/CreateApiMappingCommand.js +0 -25
- package/dist-cjs/commands/CreateAuthorizerCommand.js +0 -25
- package/dist-cjs/commands/CreateDeploymentCommand.js +0 -25
- package/dist-cjs/commands/CreateDomainNameCommand.js +0 -25
- package/dist-cjs/commands/CreateIntegrationCommand.js +0 -25
- package/dist-cjs/commands/CreateIntegrationResponseCommand.js +0 -25
- package/dist-cjs/commands/CreateModelCommand.js +0 -25
- package/dist-cjs/commands/CreateRouteCommand.js +0 -25
- package/dist-cjs/commands/CreateRouteResponseCommand.js +0 -25
- package/dist-cjs/commands/CreateStageCommand.js +0 -25
- package/dist-cjs/commands/CreateVpcLinkCommand.js +0 -25
- package/dist-cjs/commands/DeleteAccessLogSettingsCommand.js +0 -25
- package/dist-cjs/commands/DeleteApiCommand.js +0 -25
- package/dist-cjs/commands/DeleteApiMappingCommand.js +0 -25
- package/dist-cjs/commands/DeleteAuthorizerCommand.js +0 -25
- package/dist-cjs/commands/DeleteCorsConfigurationCommand.js +0 -25
- package/dist-cjs/commands/DeleteDeploymentCommand.js +0 -25
- package/dist-cjs/commands/DeleteDomainNameCommand.js +0 -25
- package/dist-cjs/commands/DeleteIntegrationCommand.js +0 -25
- package/dist-cjs/commands/DeleteIntegrationResponseCommand.js +0 -25
- package/dist-cjs/commands/DeleteModelCommand.js +0 -25
- package/dist-cjs/commands/DeleteRouteCommand.js +0 -25
- package/dist-cjs/commands/DeleteRouteRequestParameterCommand.js +0 -25
- package/dist-cjs/commands/DeleteRouteResponseCommand.js +0 -25
- package/dist-cjs/commands/DeleteRouteSettingsCommand.js +0 -25
- package/dist-cjs/commands/DeleteStageCommand.js +0 -25
- package/dist-cjs/commands/DeleteVpcLinkCommand.js +0 -25
- package/dist-cjs/commands/ExportApiCommand.js +0 -8
- package/dist-cjs/commands/GetApiCommand.js +0 -25
- package/dist-cjs/commands/GetApiMappingCommand.js +0 -25
- package/dist-cjs/commands/GetApiMappingsCommand.js +0 -25
- package/dist-cjs/commands/GetApisCommand.js +0 -25
- package/dist-cjs/commands/GetAuthorizerCommand.js +0 -25
- package/dist-cjs/commands/GetAuthorizersCommand.js +0 -25
- package/dist-cjs/commands/GetDeploymentCommand.js +0 -25
- package/dist-cjs/commands/GetDeploymentsCommand.js +0 -25
- package/dist-cjs/commands/GetDomainNameCommand.js +0 -25
- package/dist-cjs/commands/GetDomainNamesCommand.js +0 -25
- package/dist-cjs/commands/GetIntegrationCommand.js +0 -25
- package/dist-cjs/commands/GetIntegrationResponseCommand.js +0 -25
- package/dist-cjs/commands/GetIntegrationResponsesCommand.js +0 -25
- package/dist-cjs/commands/GetIntegrationsCommand.js +0 -25
- package/dist-cjs/commands/GetModelCommand.js +0 -25
- package/dist-cjs/commands/GetModelTemplateCommand.js +0 -25
- package/dist-cjs/commands/GetModelsCommand.js +0 -25
- package/dist-cjs/commands/GetRouteCommand.js +0 -25
- package/dist-cjs/commands/GetRouteResponseCommand.js +0 -25
- package/dist-cjs/commands/GetRouteResponsesCommand.js +0 -25
- package/dist-cjs/commands/GetRoutesCommand.js +0 -25
- package/dist-cjs/commands/GetStageCommand.js +0 -25
- package/dist-cjs/commands/GetStagesCommand.js +0 -25
- package/dist-cjs/commands/GetTagsCommand.js +0 -25
- package/dist-cjs/commands/GetVpcLinkCommand.js +0 -25
- package/dist-cjs/commands/GetVpcLinksCommand.js +0 -25
- package/dist-cjs/commands/ImportApiCommand.js +0 -25
- package/dist-cjs/commands/ReimportApiCommand.js +0 -25
- package/dist-cjs/commands/ResetAuthorizersCacheCommand.js +0 -25
- package/dist-cjs/commands/TagResourceCommand.js +0 -25
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateApiCommand.js +0 -25
- package/dist-cjs/commands/UpdateApiMappingCommand.js +0 -25
- package/dist-cjs/commands/UpdateAuthorizerCommand.js +0 -25
- package/dist-cjs/commands/UpdateDeploymentCommand.js +0 -25
- package/dist-cjs/commands/UpdateDomainNameCommand.js +0 -25
- package/dist-cjs/commands/UpdateIntegrationCommand.js +0 -25
- package/dist-cjs/commands/UpdateIntegrationResponseCommand.js +0 -25
- package/dist-cjs/commands/UpdateModelCommand.js +0 -25
- package/dist-cjs/commands/UpdateRouteCommand.js +0 -25
- package/dist-cjs/commands/UpdateRouteResponseCommand.js +0 -25
- package/dist-cjs/commands/UpdateStageCommand.js +0 -25
- package/dist-cjs/commands/UpdateVpcLinkCommand.js +0 -25
- package/dist-cjs/commands/index.js +75 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +3 -75
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -463
- package/dist-cjs/protocols/Aws_restJson1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/ApiGatewayV2.js +0 -1
- package/dist-es/ApiGatewayV2Client.js +0 -1
- package/dist-es/commands/CreateApiCommand.js +0 -1
- package/dist-es/commands/CreateApiMappingCommand.js +0 -1
- package/dist-es/commands/CreateAuthorizerCommand.js +0 -1
- package/dist-es/commands/CreateDeploymentCommand.js +0 -1
- package/dist-es/commands/CreateDomainNameCommand.js +0 -1
- package/dist-es/commands/CreateIntegrationCommand.js +0 -1
- package/dist-es/commands/CreateIntegrationResponseCommand.js +0 -1
- package/dist-es/commands/CreateModelCommand.js +0 -1
- package/dist-es/commands/CreateRouteCommand.js +0 -1
- package/dist-es/commands/CreateRouteResponseCommand.js +0 -1
- package/dist-es/commands/CreateStageCommand.js +0 -1
- package/dist-es/commands/CreateVpcLinkCommand.js +0 -1
- package/dist-es/commands/DeleteAccessLogSettingsCommand.js +0 -1
- package/dist-es/commands/DeleteApiCommand.js +0 -1
- package/dist-es/commands/DeleteApiMappingCommand.js +0 -1
- package/dist-es/commands/DeleteAuthorizerCommand.js +0 -1
- package/dist-es/commands/DeleteCorsConfigurationCommand.js +0 -1
- package/dist-es/commands/DeleteDeploymentCommand.js +0 -1
- package/dist-es/commands/DeleteDomainNameCommand.js +0 -1
- package/dist-es/commands/DeleteIntegrationCommand.js +0 -1
- package/dist-es/commands/DeleteIntegrationResponseCommand.js +0 -1
- package/dist-es/commands/DeleteModelCommand.js +0 -1
- package/dist-es/commands/DeleteRouteCommand.js +0 -1
- package/dist-es/commands/DeleteRouteRequestParameterCommand.js +0 -1
- package/dist-es/commands/DeleteRouteResponseCommand.js +0 -1
- package/dist-es/commands/DeleteRouteSettingsCommand.js +0 -1
- package/dist-es/commands/DeleteStageCommand.js +0 -1
- package/dist-es/commands/DeleteVpcLinkCommand.js +0 -1
- package/dist-es/commands/ExportApiCommand.js +0 -1
- package/dist-es/commands/GetApiCommand.js +0 -1
- package/dist-es/commands/GetApiMappingCommand.js +0 -1
- package/dist-es/commands/GetApiMappingsCommand.js +0 -1
- package/dist-es/commands/GetApisCommand.js +0 -1
- package/dist-es/commands/GetAuthorizerCommand.js +0 -1
- package/dist-es/commands/GetAuthorizersCommand.js +0 -1
- package/dist-es/commands/GetDeploymentCommand.js +0 -1
- package/dist-es/commands/GetDeploymentsCommand.js +0 -1
- package/dist-es/commands/GetDomainNameCommand.js +0 -1
- package/dist-es/commands/GetDomainNamesCommand.js +0 -1
- package/dist-es/commands/GetIntegrationCommand.js +0 -1
- package/dist-es/commands/GetIntegrationResponseCommand.js +0 -1
- package/dist-es/commands/GetIntegrationResponsesCommand.js +0 -1
- package/dist-es/commands/GetIntegrationsCommand.js +0 -1
- package/dist-es/commands/GetModelCommand.js +0 -1
- package/dist-es/commands/GetModelTemplateCommand.js +0 -1
- package/dist-es/commands/GetModelsCommand.js +0 -1
- package/dist-es/commands/GetRouteCommand.js +0 -1
- package/dist-es/commands/GetRouteResponseCommand.js +0 -1
- package/dist-es/commands/GetRouteResponsesCommand.js +0 -1
- package/dist-es/commands/GetRoutesCommand.js +0 -1
- package/dist-es/commands/GetStageCommand.js +0 -1
- package/dist-es/commands/GetStagesCommand.js +0 -1
- package/dist-es/commands/GetTagsCommand.js +0 -1
- package/dist-es/commands/GetVpcLinkCommand.js +0 -1
- package/dist-es/commands/GetVpcLinksCommand.js +0 -1
- package/dist-es/commands/ImportApiCommand.js +0 -1
- package/dist-es/commands/ReimportApiCommand.js +0 -1
- package/dist-es/commands/ResetAuthorizersCacheCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateApiCommand.js +0 -1
- package/dist-es/commands/UpdateApiMappingCommand.js +0 -1
- package/dist-es/commands/UpdateAuthorizerCommand.js +0 -1
- package/dist-es/commands/UpdateDeploymentCommand.js +0 -1
- package/dist-es/commands/UpdateDomainNameCommand.js +0 -1
- package/dist-es/commands/UpdateIntegrationCommand.js +0 -1
- package/dist-es/commands/UpdateIntegrationResponseCommand.js +0 -1
- package/dist-es/commands/UpdateModelCommand.js +0 -1
- package/dist-es/commands/UpdateRouteCommand.js +0 -1
- package/dist-es/commands/UpdateRouteResponseCommand.js +0 -1
- package/dist-es/commands/UpdateStageCommand.js +0 -1
- package/dist-es/commands/UpdateVpcLinkCommand.js +0 -1
- package/dist-es/commands/index.js +72 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +3 -75
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +72 -0
- package/dist-types/index.d.ts +3 -74
- package/dist-types/ts3.4/ApiGatewayV2.d.ts +72 -216
- package/dist-types/ts3.4/ApiGatewayV2Client.d.ts +24 -89
- package/dist-types/ts3.4/commands/CreateApiCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateApiMappingCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateAuthorizerCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateDomainNameCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateIntegrationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateIntegrationResponseCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateModelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateRouteCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateRouteResponseCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateStageCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateVpcLinkCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteAccessLogSettingsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteApiCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteApiMappingCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteAuthorizerCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteCorsConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteDeploymentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteDomainNameCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteIntegrationResponseCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteModelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteRouteCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteRouteRequestParameterCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteRouteResponseCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteRouteSettingsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteStageCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteVpcLinkCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ExportApiCommand.d.ts +1 -3
- package/dist-types/ts3.4/commands/GetApiCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetApiMappingCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetApiMappingsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetApisCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetAuthorizerCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetAuthorizersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetDeploymentsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetDomainNameCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetDomainNamesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetIntegrationResponseCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetIntegrationResponsesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetIntegrationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetModelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetModelTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetModelsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetRouteCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetRouteResponseCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetRouteResponsesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetRoutesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetStageCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetStagesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetTagsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetVpcLinkCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetVpcLinksCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ImportApiCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ReimportApiCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ResetAuthorizersCacheCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateApiCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateApiMappingCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateAuthorizerCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateDeploymentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateDomainNameCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateIntegrationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateIntegrationResponseCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateModelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateRouteCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateRouteResponseCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateStageCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateVpcLinkCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +72 -0
- package/dist-types/ts3.4/index.d.ts +3 -74
- package/dist-types/ts3.4/models/models_0.d.ts +89 -4986
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/ApiGatewayV2.js.map +0 -1
- package/dist-cjs/ApiGatewayV2Client.js.map +0 -1
- package/dist-cjs/commands/CreateApiCommand.js.map +0 -1
- package/dist-cjs/commands/CreateApiMappingCommand.js.map +0 -1
- package/dist-cjs/commands/CreateAuthorizerCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDeploymentCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDomainNameCommand.js.map +0 -1
- package/dist-cjs/commands/CreateIntegrationCommand.js.map +0 -1
- package/dist-cjs/commands/CreateIntegrationResponseCommand.js.map +0 -1
- package/dist-cjs/commands/CreateModelCommand.js.map +0 -1
- package/dist-cjs/commands/CreateRouteCommand.js.map +0 -1
- package/dist-cjs/commands/CreateRouteResponseCommand.js.map +0 -1
- package/dist-cjs/commands/CreateStageCommand.js.map +0 -1
- package/dist-cjs/commands/CreateVpcLinkCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteAccessLogSettingsCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteApiCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteApiMappingCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteAuthorizerCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteCorsConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDeploymentCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDomainNameCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteIntegrationCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteIntegrationResponseCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteModelCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRouteCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRouteRequestParameterCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRouteResponseCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRouteSettingsCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteStageCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteVpcLinkCommand.js.map +0 -1
- package/dist-cjs/commands/ExportApiCommand.js.map +0 -1
- package/dist-cjs/commands/GetApiCommand.js.map +0 -1
- package/dist-cjs/commands/GetApiMappingCommand.js.map +0 -1
- package/dist-cjs/commands/GetApiMappingsCommand.js.map +0 -1
- package/dist-cjs/commands/GetApisCommand.js.map +0 -1
- package/dist-cjs/commands/GetAuthorizerCommand.js.map +0 -1
- package/dist-cjs/commands/GetAuthorizersCommand.js.map +0 -1
- package/dist-cjs/commands/GetDeploymentCommand.js.map +0 -1
- package/dist-cjs/commands/GetDeploymentsCommand.js.map +0 -1
- package/dist-cjs/commands/GetDomainNameCommand.js.map +0 -1
- package/dist-cjs/commands/GetDomainNamesCommand.js.map +0 -1
- package/dist-cjs/commands/GetIntegrationCommand.js.map +0 -1
- package/dist-cjs/commands/GetIntegrationResponseCommand.js.map +0 -1
- package/dist-cjs/commands/GetIntegrationResponsesCommand.js.map +0 -1
- package/dist-cjs/commands/GetIntegrationsCommand.js.map +0 -1
- package/dist-cjs/commands/GetModelCommand.js.map +0 -1
- package/dist-cjs/commands/GetModelTemplateCommand.js.map +0 -1
- package/dist-cjs/commands/GetModelsCommand.js.map +0 -1
- package/dist-cjs/commands/GetRouteCommand.js.map +0 -1
- package/dist-cjs/commands/GetRouteResponseCommand.js.map +0 -1
- package/dist-cjs/commands/GetRouteResponsesCommand.js.map +0 -1
- package/dist-cjs/commands/GetRoutesCommand.js.map +0 -1
- package/dist-cjs/commands/GetStageCommand.js.map +0 -1
- package/dist-cjs/commands/GetStagesCommand.js.map +0 -1
- package/dist-cjs/commands/GetTagsCommand.js.map +0 -1
- package/dist-cjs/commands/GetVpcLinkCommand.js.map +0 -1
- package/dist-cjs/commands/GetVpcLinksCommand.js.map +0 -1
- package/dist-cjs/commands/ImportApiCommand.js.map +0 -1
- package/dist-cjs/commands/ReimportApiCommand.js.map +0 -1
- package/dist-cjs/commands/ResetAuthorizersCacheCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateApiCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateApiMappingCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateAuthorizerCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateDeploymentCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateDomainNameCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateIntegrationCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateIntegrationResponseCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateModelCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateRouteCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateRouteResponseCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateStageCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateVpcLinkCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/ApiGatewayV2.js.map +0 -1
- package/dist-es/ApiGatewayV2Client.js.map +0 -1
- package/dist-es/commands/CreateApiCommand.js.map +0 -1
- package/dist-es/commands/CreateApiMappingCommand.js.map +0 -1
- package/dist-es/commands/CreateAuthorizerCommand.js.map +0 -1
- package/dist-es/commands/CreateDeploymentCommand.js.map +0 -1
- package/dist-es/commands/CreateDomainNameCommand.js.map +0 -1
- package/dist-es/commands/CreateIntegrationCommand.js.map +0 -1
- package/dist-es/commands/CreateIntegrationResponseCommand.js.map +0 -1
- package/dist-es/commands/CreateModelCommand.js.map +0 -1
- package/dist-es/commands/CreateRouteCommand.js.map +0 -1
- package/dist-es/commands/CreateRouteResponseCommand.js.map +0 -1
- package/dist-es/commands/CreateStageCommand.js.map +0 -1
- package/dist-es/commands/CreateVpcLinkCommand.js.map +0 -1
- package/dist-es/commands/DeleteAccessLogSettingsCommand.js.map +0 -1
- package/dist-es/commands/DeleteApiCommand.js.map +0 -1
- package/dist-es/commands/DeleteApiMappingCommand.js.map +0 -1
- package/dist-es/commands/DeleteAuthorizerCommand.js.map +0 -1
- package/dist-es/commands/DeleteCorsConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DeleteDeploymentCommand.js.map +0 -1
- package/dist-es/commands/DeleteDomainNameCommand.js.map +0 -1
- package/dist-es/commands/DeleteIntegrationCommand.js.map +0 -1
- package/dist-es/commands/DeleteIntegrationResponseCommand.js.map +0 -1
- package/dist-es/commands/DeleteModelCommand.js.map +0 -1
- package/dist-es/commands/DeleteRouteCommand.js.map +0 -1
- package/dist-es/commands/DeleteRouteRequestParameterCommand.js.map +0 -1
- package/dist-es/commands/DeleteRouteResponseCommand.js.map +0 -1
- package/dist-es/commands/DeleteRouteSettingsCommand.js.map +0 -1
- package/dist-es/commands/DeleteStageCommand.js.map +0 -1
- package/dist-es/commands/DeleteVpcLinkCommand.js.map +0 -1
- package/dist-es/commands/ExportApiCommand.js.map +0 -1
- package/dist-es/commands/GetApiCommand.js.map +0 -1
- package/dist-es/commands/GetApiMappingCommand.js.map +0 -1
- package/dist-es/commands/GetApiMappingsCommand.js.map +0 -1
- package/dist-es/commands/GetApisCommand.js.map +0 -1
- package/dist-es/commands/GetAuthorizerCommand.js.map +0 -1
- package/dist-es/commands/GetAuthorizersCommand.js.map +0 -1
- package/dist-es/commands/GetDeploymentCommand.js.map +0 -1
- package/dist-es/commands/GetDeploymentsCommand.js.map +0 -1
- package/dist-es/commands/GetDomainNameCommand.js.map +0 -1
- package/dist-es/commands/GetDomainNamesCommand.js.map +0 -1
- package/dist-es/commands/GetIntegrationCommand.js.map +0 -1
- package/dist-es/commands/GetIntegrationResponseCommand.js.map +0 -1
- package/dist-es/commands/GetIntegrationResponsesCommand.js.map +0 -1
- package/dist-es/commands/GetIntegrationsCommand.js.map +0 -1
- package/dist-es/commands/GetModelCommand.js.map +0 -1
- package/dist-es/commands/GetModelTemplateCommand.js.map +0 -1
- package/dist-es/commands/GetModelsCommand.js.map +0 -1
- package/dist-es/commands/GetRouteCommand.js.map +0 -1
- package/dist-es/commands/GetRouteResponseCommand.js.map +0 -1
- package/dist-es/commands/GetRouteResponsesCommand.js.map +0 -1
- package/dist-es/commands/GetRoutesCommand.js.map +0 -1
- package/dist-es/commands/GetStageCommand.js.map +0 -1
- package/dist-es/commands/GetStagesCommand.js.map +0 -1
- package/dist-es/commands/GetTagsCommand.js.map +0 -1
- package/dist-es/commands/GetVpcLinkCommand.js.map +0 -1
- package/dist-es/commands/GetVpcLinksCommand.js.map +0 -1
- package/dist-es/commands/ImportApiCommand.js.map +0 -1
- package/dist-es/commands/ReimportApiCommand.js.map +0 -1
- package/dist-es/commands/ResetAuthorizersCacheCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateApiCommand.js.map +0 -1
- package/dist-es/commands/UpdateApiMappingCommand.js.map +0 -1
- package/dist-es/commands/UpdateAuthorizerCommand.js.map +0 -1
- package/dist-es/commands/UpdateDeploymentCommand.js.map +0 -1
- package/dist-es/commands/UpdateDomainNameCommand.js.map +0 -1
- package/dist-es/commands/UpdateIntegrationCommand.js.map +0 -1
- package/dist-es/commands/UpdateIntegrationResponseCommand.js.map +0 -1
- package/dist-es/commands/UpdateModelCommand.js.map +0 -1
- package/dist-es/commands/UpdateRouteCommand.js.map +0 -1
- package/dist-es/commands/UpdateRouteResponseCommand.js.map +0 -1
- package/dist-es/commands/UpdateStageCommand.js.map +0 -1
- package/dist-es/commands/UpdateVpcLinkCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/ApiGatewayV2.ts +0 -2399
- package/src/ApiGatewayV2Client.ts +0 -491
- package/src/commands/CreateApiCommand.ts +0 -95
- package/src/commands/CreateApiMappingCommand.ts +0 -95
- package/src/commands/CreateAuthorizerCommand.ts +0 -95
- package/src/commands/CreateDeploymentCommand.ts +0 -95
- package/src/commands/CreateDomainNameCommand.ts +0 -95
- package/src/commands/CreateIntegrationCommand.ts +0 -95
- package/src/commands/CreateIntegrationResponseCommand.ts +0 -98
- package/src/commands/CreateModelCommand.ts +0 -95
- package/src/commands/CreateRouteCommand.ts +0 -95
- package/src/commands/CreateRouteResponseCommand.ts +0 -95
- package/src/commands/CreateStageCommand.ts +0 -95
- package/src/commands/CreateVpcLinkCommand.ts +0 -95
- package/src/commands/DeleteAccessLogSettingsCommand.ts +0 -95
- package/src/commands/DeleteApiCommand.ts +0 -95
- package/src/commands/DeleteApiMappingCommand.ts +0 -95
- package/src/commands/DeleteAuthorizerCommand.ts +0 -95
- package/src/commands/DeleteCorsConfigurationCommand.ts +0 -95
- package/src/commands/DeleteDeploymentCommand.ts +0 -95
- package/src/commands/DeleteDomainNameCommand.ts +0 -95
- package/src/commands/DeleteIntegrationCommand.ts +0 -95
- package/src/commands/DeleteIntegrationResponseCommand.ts +0 -98
- package/src/commands/DeleteModelCommand.ts +0 -95
- package/src/commands/DeleteRouteCommand.ts +0 -95
- package/src/commands/DeleteRouteRequestParameterCommand.ts +0 -98
- package/src/commands/DeleteRouteResponseCommand.ts +0 -95
- package/src/commands/DeleteRouteSettingsCommand.ts +0 -95
- package/src/commands/DeleteStageCommand.ts +0 -95
- package/src/commands/DeleteVpcLinkCommand.ts +0 -95
- package/src/commands/ExportApiCommand.ts +0 -78
- package/src/commands/GetApiCommand.ts +0 -88
- package/src/commands/GetApiMappingCommand.ts +0 -95
- package/src/commands/GetApiMappingsCommand.ts +0 -95
- package/src/commands/GetApisCommand.ts +0 -95
- package/src/commands/GetAuthorizerCommand.ts +0 -95
- package/src/commands/GetAuthorizersCommand.ts +0 -95
- package/src/commands/GetDeploymentCommand.ts +0 -95
- package/src/commands/GetDeploymentsCommand.ts +0 -95
- package/src/commands/GetDomainNameCommand.ts +0 -95
- package/src/commands/GetDomainNamesCommand.ts +0 -95
- package/src/commands/GetIntegrationCommand.ts +0 -95
- package/src/commands/GetIntegrationResponseCommand.ts +0 -95
- package/src/commands/GetIntegrationResponsesCommand.ts +0 -95
- package/src/commands/GetIntegrationsCommand.ts +0 -95
- package/src/commands/GetModelCommand.ts +0 -95
- package/src/commands/GetModelTemplateCommand.ts +0 -95
- package/src/commands/GetModelsCommand.ts +0 -95
- package/src/commands/GetRouteCommand.ts +0 -95
- package/src/commands/GetRouteResponseCommand.ts +0 -95
- package/src/commands/GetRouteResponsesCommand.ts +0 -95
- package/src/commands/GetRoutesCommand.ts +0 -95
- package/src/commands/GetStageCommand.ts +0 -95
- package/src/commands/GetStagesCommand.ts +0 -95
- package/src/commands/GetTagsCommand.ts +0 -95
- package/src/commands/GetVpcLinkCommand.ts +0 -95
- package/src/commands/GetVpcLinksCommand.ts +0 -95
- package/src/commands/ImportApiCommand.ts +0 -95
- package/src/commands/ReimportApiCommand.ts +0 -95
- package/src/commands/ResetAuthorizersCacheCommand.ts +0 -95
- package/src/commands/TagResourceCommand.ts +0 -95
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateApiCommand.ts +0 -95
- package/src/commands/UpdateApiMappingCommand.ts +0 -95
- package/src/commands/UpdateAuthorizerCommand.ts +0 -95
- package/src/commands/UpdateDeploymentCommand.ts +0 -95
- package/src/commands/UpdateDomainNameCommand.ts +0 -95
- package/src/commands/UpdateIntegrationCommand.ts +0 -95
- package/src/commands/UpdateIntegrationResponseCommand.ts +0 -98
- package/src/commands/UpdateModelCommand.ts +0 -95
- package/src/commands/UpdateRouteCommand.ts +0 -95
- package/src/commands/UpdateRouteResponseCommand.ts +0 -95
- package/src/commands/UpdateStageCommand.ts +0 -95
- package/src/commands/UpdateVpcLinkCommand.ts +0 -95
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -75
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -6306
- package/src/protocols/Aws_restJson1.ts +0 -10794
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApiGatewayV2Client";
|
|
15
|
-
import { GetDomainNameRequest, GetDomainNameResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetDomainNameCommand,
|
|
18
|
-
serializeAws_restJson1GetDomainNameCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetDomainNameCommandInput extends GetDomainNameRequest {}
|
|
22
|
-
export interface GetDomainNameCommandOutput extends GetDomainNameResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Gets a domain name.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ApiGatewayV2Client, GetDomainNameCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
30
|
-
* // const { ApiGatewayV2Client, GetDomainNameCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
31
|
-
* const client = new ApiGatewayV2Client(config);
|
|
32
|
-
* const command = new GetDomainNameCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetDomainNameCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetDomainNameCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetDomainNameCommand extends $Command<
|
|
42
|
-
GetDomainNameCommandInput,
|
|
43
|
-
GetDomainNameCommandOutput,
|
|
44
|
-
ApiGatewayV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetDomainNameCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: ApiGatewayV2ClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<GetDomainNameCommandInput, GetDomainNameCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "ApiGatewayV2Client";
|
|
69
|
-
const commandName = "GetDomainNameCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetDomainNameRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetDomainNameResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: GetDomainNameCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1GetDomainNameCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetDomainNameCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1GetDomainNameCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApiGatewayV2Client";
|
|
15
|
-
import { GetDomainNamesRequest, GetDomainNamesResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetDomainNamesCommand,
|
|
18
|
-
serializeAws_restJson1GetDomainNamesCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetDomainNamesCommandInput extends GetDomainNamesRequest {}
|
|
22
|
-
export interface GetDomainNamesCommandOutput extends GetDomainNamesResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Gets the domain names for an AWS account.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ApiGatewayV2Client, GetDomainNamesCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
30
|
-
* // const { ApiGatewayV2Client, GetDomainNamesCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
31
|
-
* const client = new ApiGatewayV2Client(config);
|
|
32
|
-
* const command = new GetDomainNamesCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetDomainNamesCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetDomainNamesCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetDomainNamesCommand extends $Command<
|
|
42
|
-
GetDomainNamesCommandInput,
|
|
43
|
-
GetDomainNamesCommandOutput,
|
|
44
|
-
ApiGatewayV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetDomainNamesCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: ApiGatewayV2ClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<GetDomainNamesCommandInput, GetDomainNamesCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "ApiGatewayV2Client";
|
|
69
|
-
const commandName = "GetDomainNamesCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetDomainNamesRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetDomainNamesResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: GetDomainNamesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1GetDomainNamesCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetDomainNamesCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1GetDomainNamesCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApiGatewayV2Client";
|
|
15
|
-
import { GetIntegrationRequest, GetIntegrationResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetIntegrationCommand,
|
|
18
|
-
serializeAws_restJson1GetIntegrationCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetIntegrationCommandInput extends GetIntegrationRequest {}
|
|
22
|
-
export interface GetIntegrationCommandOutput extends GetIntegrationResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Gets an Integration.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ApiGatewayV2Client, GetIntegrationCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
30
|
-
* // const { ApiGatewayV2Client, GetIntegrationCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
31
|
-
* const client = new ApiGatewayV2Client(config);
|
|
32
|
-
* const command = new GetIntegrationCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetIntegrationCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetIntegrationCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetIntegrationCommand extends $Command<
|
|
42
|
-
GetIntegrationCommandInput,
|
|
43
|
-
GetIntegrationCommandOutput,
|
|
44
|
-
ApiGatewayV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetIntegrationCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: ApiGatewayV2ClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<GetIntegrationCommandInput, GetIntegrationCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "ApiGatewayV2Client";
|
|
69
|
-
const commandName = "GetIntegrationCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetIntegrationRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetIntegrationResult.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: GetIntegrationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1GetIntegrationCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetIntegrationCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1GetIntegrationCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApiGatewayV2Client";
|
|
15
|
-
import { GetIntegrationResponseRequest, GetIntegrationResponseResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetIntegrationResponseCommand,
|
|
18
|
-
serializeAws_restJson1GetIntegrationResponseCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetIntegrationResponseCommandInput extends GetIntegrationResponseRequest {}
|
|
22
|
-
export interface GetIntegrationResponseCommandOutput extends GetIntegrationResponseResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Gets an IntegrationResponses.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ApiGatewayV2Client, GetIntegrationResponseCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
30
|
-
* // const { ApiGatewayV2Client, GetIntegrationResponseCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
31
|
-
* const client = new ApiGatewayV2Client(config);
|
|
32
|
-
* const command = new GetIntegrationResponseCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetIntegrationResponseCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetIntegrationResponseCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetIntegrationResponseCommand extends $Command<
|
|
42
|
-
GetIntegrationResponseCommandInput,
|
|
43
|
-
GetIntegrationResponseCommandOutput,
|
|
44
|
-
ApiGatewayV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetIntegrationResponseCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: ApiGatewayV2ClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<GetIntegrationResponseCommandInput, GetIntegrationResponseCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "ApiGatewayV2Client";
|
|
69
|
-
const commandName = "GetIntegrationResponseCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetIntegrationResponseRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetIntegrationResponseResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: GetIntegrationResponseCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1GetIntegrationResponseCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetIntegrationResponseCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1GetIntegrationResponseCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApiGatewayV2Client";
|
|
15
|
-
import { GetIntegrationResponsesRequest, GetIntegrationResponsesResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetIntegrationResponsesCommand,
|
|
18
|
-
serializeAws_restJson1GetIntegrationResponsesCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetIntegrationResponsesCommandInput extends GetIntegrationResponsesRequest {}
|
|
22
|
-
export interface GetIntegrationResponsesCommandOutput extends GetIntegrationResponsesResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Gets the IntegrationResponses for an Integration.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ApiGatewayV2Client, GetIntegrationResponsesCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
30
|
-
* // const { ApiGatewayV2Client, GetIntegrationResponsesCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
31
|
-
* const client = new ApiGatewayV2Client(config);
|
|
32
|
-
* const command = new GetIntegrationResponsesCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetIntegrationResponsesCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetIntegrationResponsesCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetIntegrationResponsesCommand extends $Command<
|
|
42
|
-
GetIntegrationResponsesCommandInput,
|
|
43
|
-
GetIntegrationResponsesCommandOutput,
|
|
44
|
-
ApiGatewayV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetIntegrationResponsesCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: ApiGatewayV2ClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<GetIntegrationResponsesCommandInput, GetIntegrationResponsesCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "ApiGatewayV2Client";
|
|
69
|
-
const commandName = "GetIntegrationResponsesCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetIntegrationResponsesRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetIntegrationResponsesResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: GetIntegrationResponsesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1GetIntegrationResponsesCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetIntegrationResponsesCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1GetIntegrationResponsesCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApiGatewayV2Client";
|
|
15
|
-
import { GetIntegrationsRequest, GetIntegrationsResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetIntegrationsCommand,
|
|
18
|
-
serializeAws_restJson1GetIntegrationsCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetIntegrationsCommandInput extends GetIntegrationsRequest {}
|
|
22
|
-
export interface GetIntegrationsCommandOutput extends GetIntegrationsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Gets the Integrations for an API.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ApiGatewayV2Client, GetIntegrationsCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
30
|
-
* // const { ApiGatewayV2Client, GetIntegrationsCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
31
|
-
* const client = new ApiGatewayV2Client(config);
|
|
32
|
-
* const command = new GetIntegrationsCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetIntegrationsCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetIntegrationsCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetIntegrationsCommand extends $Command<
|
|
42
|
-
GetIntegrationsCommandInput,
|
|
43
|
-
GetIntegrationsCommandOutput,
|
|
44
|
-
ApiGatewayV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetIntegrationsCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: ApiGatewayV2ClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<GetIntegrationsCommandInput, GetIntegrationsCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "ApiGatewayV2Client";
|
|
69
|
-
const commandName = "GetIntegrationsCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetIntegrationsRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetIntegrationsResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: GetIntegrationsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1GetIntegrationsCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetIntegrationsCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1GetIntegrationsCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApiGatewayV2Client";
|
|
15
|
-
import { GetModelRequest, GetModelResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetModelCommand,
|
|
18
|
-
serializeAws_restJson1GetModelCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetModelCommandInput extends GetModelRequest {}
|
|
22
|
-
export interface GetModelCommandOutput extends GetModelResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Gets a Model.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ApiGatewayV2Client, GetModelCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
30
|
-
* // const { ApiGatewayV2Client, GetModelCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
31
|
-
* const client = new ApiGatewayV2Client(config);
|
|
32
|
-
* const command = new GetModelCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetModelCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetModelCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetModelCommand extends $Command<
|
|
42
|
-
GetModelCommandInput,
|
|
43
|
-
GetModelCommandOutput,
|
|
44
|
-
ApiGatewayV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetModelCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: ApiGatewayV2ClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<GetModelCommandInput, GetModelCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "ApiGatewayV2Client";
|
|
69
|
-
const commandName = "GetModelCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetModelRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetModelResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: GetModelCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1GetModelCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetModelCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1GetModelCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|