@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 { UpdateIntegrationRequest, UpdateIntegrationResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1UpdateIntegrationCommand,
|
|
18
|
-
serializeAws_restJson1UpdateIntegrationCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface UpdateIntegrationCommandInput extends UpdateIntegrationRequest {}
|
|
22
|
-
export interface UpdateIntegrationCommandOutput extends UpdateIntegrationResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Updates 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, UpdateIntegrationCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
30
|
-
* // const { ApiGatewayV2Client, UpdateIntegrationCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
31
|
-
* const client = new ApiGatewayV2Client(config);
|
|
32
|
-
* const command = new UpdateIntegrationCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link UpdateIntegrationCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link UpdateIntegrationCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class UpdateIntegrationCommand extends $Command<
|
|
42
|
-
UpdateIntegrationCommandInput,
|
|
43
|
-
UpdateIntegrationCommandOutput,
|
|
44
|
-
ApiGatewayV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: UpdateIntegrationCommandInput) {
|
|
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<UpdateIntegrationCommandInput, UpdateIntegrationCommandOutput> {
|
|
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 = "UpdateIntegrationCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: UpdateIntegrationRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: UpdateIntegrationResult.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: UpdateIntegrationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1UpdateIntegrationCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateIntegrationCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1UpdateIntegrationCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,98 +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 { UpdateIntegrationResponseRequest, UpdateIntegrationResponseResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1UpdateIntegrationResponseCommand,
|
|
18
|
-
serializeAws_restJson1UpdateIntegrationResponseCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface UpdateIntegrationResponseCommandInput extends UpdateIntegrationResponseRequest {}
|
|
22
|
-
export interface UpdateIntegrationResponseCommandOutput extends UpdateIntegrationResponseResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Updates 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, UpdateIntegrationResponseCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
30
|
-
* // const { ApiGatewayV2Client, UpdateIntegrationResponseCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
31
|
-
* const client = new ApiGatewayV2Client(config);
|
|
32
|
-
* const command = new UpdateIntegrationResponseCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link UpdateIntegrationResponseCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link UpdateIntegrationResponseCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class UpdateIntegrationResponseCommand extends $Command<
|
|
42
|
-
UpdateIntegrationResponseCommandInput,
|
|
43
|
-
UpdateIntegrationResponseCommandOutput,
|
|
44
|
-
ApiGatewayV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: UpdateIntegrationResponseCommandInput) {
|
|
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<UpdateIntegrationResponseCommandInput, UpdateIntegrationResponseCommandOutput> {
|
|
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 = "UpdateIntegrationResponseCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: UpdateIntegrationResponseRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: UpdateIntegrationResponseResponse.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: UpdateIntegrationResponseCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1UpdateIntegrationResponseCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(
|
|
90
|
-
output: __HttpResponse,
|
|
91
|
-
context: __SerdeContext
|
|
92
|
-
): Promise<UpdateIntegrationResponseCommandOutput> {
|
|
93
|
-
return deserializeAws_restJson1UpdateIntegrationResponseCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -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 { UpdateModelRequest, UpdateModelResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1UpdateModelCommand,
|
|
18
|
-
serializeAws_restJson1UpdateModelCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface UpdateModelCommandInput extends UpdateModelRequest {}
|
|
22
|
-
export interface UpdateModelCommandOutput extends UpdateModelResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Updates 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, UpdateModelCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
30
|
-
* // const { ApiGatewayV2Client, UpdateModelCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
31
|
-
* const client = new ApiGatewayV2Client(config);
|
|
32
|
-
* const command = new UpdateModelCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link UpdateModelCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link UpdateModelCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class UpdateModelCommand extends $Command<
|
|
42
|
-
UpdateModelCommandInput,
|
|
43
|
-
UpdateModelCommandOutput,
|
|
44
|
-
ApiGatewayV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: UpdateModelCommandInput) {
|
|
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<UpdateModelCommandInput, UpdateModelCommandOutput> {
|
|
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 = "UpdateModelCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: UpdateModelRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: UpdateModelResponse.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: UpdateModelCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1UpdateModelCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateModelCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1UpdateModelCommand(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 { UpdateRouteRequest, UpdateRouteResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1UpdateRouteCommand,
|
|
18
|
-
serializeAws_restJson1UpdateRouteCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface UpdateRouteCommandInput extends UpdateRouteRequest {}
|
|
22
|
-
export interface UpdateRouteCommandOutput extends UpdateRouteResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Updates a Route.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ApiGatewayV2Client, UpdateRouteCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
30
|
-
* // const { ApiGatewayV2Client, UpdateRouteCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
31
|
-
* const client = new ApiGatewayV2Client(config);
|
|
32
|
-
* const command = new UpdateRouteCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link UpdateRouteCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link UpdateRouteCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class UpdateRouteCommand extends $Command<
|
|
42
|
-
UpdateRouteCommandInput,
|
|
43
|
-
UpdateRouteCommandOutput,
|
|
44
|
-
ApiGatewayV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: UpdateRouteCommandInput) {
|
|
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<UpdateRouteCommandInput, UpdateRouteCommandOutput> {
|
|
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 = "UpdateRouteCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: UpdateRouteRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: UpdateRouteResult.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: UpdateRouteCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1UpdateRouteCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateRouteCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1UpdateRouteCommand(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 { UpdateRouteResponseRequest, UpdateRouteResponseResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1UpdateRouteResponseCommand,
|
|
18
|
-
serializeAws_restJson1UpdateRouteResponseCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface UpdateRouteResponseCommandInput extends UpdateRouteResponseRequest {}
|
|
22
|
-
export interface UpdateRouteResponseCommandOutput extends UpdateRouteResponseResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Updates a RouteResponse.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ApiGatewayV2Client, UpdateRouteResponseCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
30
|
-
* // const { ApiGatewayV2Client, UpdateRouteResponseCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
31
|
-
* const client = new ApiGatewayV2Client(config);
|
|
32
|
-
* const command = new UpdateRouteResponseCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link UpdateRouteResponseCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link UpdateRouteResponseCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class UpdateRouteResponseCommand extends $Command<
|
|
42
|
-
UpdateRouteResponseCommandInput,
|
|
43
|
-
UpdateRouteResponseCommandOutput,
|
|
44
|
-
ApiGatewayV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: UpdateRouteResponseCommandInput) {
|
|
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<UpdateRouteResponseCommandInput, UpdateRouteResponseCommandOutput> {
|
|
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 = "UpdateRouteResponseCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: UpdateRouteResponseRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: UpdateRouteResponseResponse.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: UpdateRouteResponseCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1UpdateRouteResponseCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateRouteResponseCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1UpdateRouteResponseCommand(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 { UpdateStageRequest, UpdateStageResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1UpdateStageCommand,
|
|
18
|
-
serializeAws_restJson1UpdateStageCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface UpdateStageCommandInput extends UpdateStageRequest {}
|
|
22
|
-
export interface UpdateStageCommandOutput extends UpdateStageResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Updates a Stage.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ApiGatewayV2Client, UpdateStageCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
30
|
-
* // const { ApiGatewayV2Client, UpdateStageCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
31
|
-
* const client = new ApiGatewayV2Client(config);
|
|
32
|
-
* const command = new UpdateStageCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link UpdateStageCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link UpdateStageCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class UpdateStageCommand extends $Command<
|
|
42
|
-
UpdateStageCommandInput,
|
|
43
|
-
UpdateStageCommandOutput,
|
|
44
|
-
ApiGatewayV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: UpdateStageCommandInput) {
|
|
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<UpdateStageCommandInput, UpdateStageCommandOutput> {
|
|
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 = "UpdateStageCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: UpdateStageRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: UpdateStageResponse.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: UpdateStageCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1UpdateStageCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateStageCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1UpdateStageCommand(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 { UpdateVpcLinkRequest, UpdateVpcLinkResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1UpdateVpcLinkCommand,
|
|
18
|
-
serializeAws_restJson1UpdateVpcLinkCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface UpdateVpcLinkCommandInput extends UpdateVpcLinkRequest {}
|
|
22
|
-
export interface UpdateVpcLinkCommandOutput extends UpdateVpcLinkResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Updates a VPC link.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ApiGatewayV2Client, UpdateVpcLinkCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
30
|
-
* // const { ApiGatewayV2Client, UpdateVpcLinkCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
31
|
-
* const client = new ApiGatewayV2Client(config);
|
|
32
|
-
* const command = new UpdateVpcLinkCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link UpdateVpcLinkCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link UpdateVpcLinkCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class UpdateVpcLinkCommand extends $Command<
|
|
42
|
-
UpdateVpcLinkCommandInput,
|
|
43
|
-
UpdateVpcLinkCommandOutput,
|
|
44
|
-
ApiGatewayV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: UpdateVpcLinkCommandInput) {
|
|
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<UpdateVpcLinkCommandInput, UpdateVpcLinkCommandOutput> {
|
|
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 = "UpdateVpcLinkCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: UpdateVpcLinkRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: UpdateVpcLinkResponse.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: UpdateVpcLinkCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1UpdateVpcLinkCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateVpcLinkCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1UpdateVpcLinkCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|