@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 { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1TagResourceCommand,
|
|
18
|
-
serializeAws_restJson1TagResourceCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
22
|
-
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a new Tag resource to represent a tag.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ApiGatewayV2Client, TagResourceCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
30
|
-
* // const { ApiGatewayV2Client, TagResourceCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
31
|
-
* const client = new ApiGatewayV2Client(config);
|
|
32
|
-
* const command = new TagResourceCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class TagResourceCommand extends $Command<
|
|
42
|
-
TagResourceCommandInput,
|
|
43
|
-
TagResourceCommandOutput,
|
|
44
|
-
ApiGatewayV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: TagResourceCommandInput) {
|
|
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<TagResourceCommandInput, TagResourceCommandOutput> {
|
|
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 = "TagResourceCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: TagResourceResponse.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: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1TagResourceCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1TagResourceCommand(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 { UntagResourceRequest } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1UntagResourceCommand,
|
|
18
|
-
serializeAws_restJson1UntagResourceCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
22
|
-
export interface UntagResourceCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes a Tag.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ApiGatewayV2Client, UntagResourceCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
30
|
-
* // const { ApiGatewayV2Client, UntagResourceCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
31
|
-
* const client = new ApiGatewayV2Client(config);
|
|
32
|
-
* const command = new UntagResourceCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class UntagResourceCommand extends $Command<
|
|
42
|
-
UntagResourceCommandInput,
|
|
43
|
-
UntagResourceCommandOutput,
|
|
44
|
-
ApiGatewayV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: UntagResourceCommandInput) {
|
|
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<UntagResourceCommandInput, UntagResourceCommandOutput> {
|
|
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 = "UntagResourceCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
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: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1UntagResourceCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1UntagResourceCommand(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 { UpdateApiRequest, UpdateApiResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1UpdateApiCommand,
|
|
18
|
-
serializeAws_restJson1UpdateApiCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface UpdateApiCommandInput extends UpdateApiRequest {}
|
|
22
|
-
export interface UpdateApiCommandOutput extends UpdateApiResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Updates an Api resource.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ApiGatewayV2Client, UpdateApiCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
30
|
-
* // const { ApiGatewayV2Client, UpdateApiCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
31
|
-
* const client = new ApiGatewayV2Client(config);
|
|
32
|
-
* const command = new UpdateApiCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link UpdateApiCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link UpdateApiCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class UpdateApiCommand extends $Command<
|
|
42
|
-
UpdateApiCommandInput,
|
|
43
|
-
UpdateApiCommandOutput,
|
|
44
|
-
ApiGatewayV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: UpdateApiCommandInput) {
|
|
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<UpdateApiCommandInput, UpdateApiCommandOutput> {
|
|
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 = "UpdateApiCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: UpdateApiRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: UpdateApiResponse.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: UpdateApiCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1UpdateApiCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateApiCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1UpdateApiCommand(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 { UpdateApiMappingRequest, UpdateApiMappingResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1UpdateApiMappingCommand,
|
|
18
|
-
serializeAws_restJson1UpdateApiMappingCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface UpdateApiMappingCommandInput extends UpdateApiMappingRequest {}
|
|
22
|
-
export interface UpdateApiMappingCommandOutput extends UpdateApiMappingResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>The API mapping.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ApiGatewayV2Client, UpdateApiMappingCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
30
|
-
* // const { ApiGatewayV2Client, UpdateApiMappingCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
31
|
-
* const client = new ApiGatewayV2Client(config);
|
|
32
|
-
* const command = new UpdateApiMappingCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link UpdateApiMappingCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link UpdateApiMappingCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class UpdateApiMappingCommand extends $Command<
|
|
42
|
-
UpdateApiMappingCommandInput,
|
|
43
|
-
UpdateApiMappingCommandOutput,
|
|
44
|
-
ApiGatewayV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: UpdateApiMappingCommandInput) {
|
|
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<UpdateApiMappingCommandInput, UpdateApiMappingCommandOutput> {
|
|
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 = "UpdateApiMappingCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: UpdateApiMappingRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: UpdateApiMappingResponse.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: UpdateApiMappingCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1UpdateApiMappingCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateApiMappingCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1UpdateApiMappingCommand(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 { UpdateAuthorizerRequest, UpdateAuthorizerResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1UpdateAuthorizerCommand,
|
|
18
|
-
serializeAws_restJson1UpdateAuthorizerCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface UpdateAuthorizerCommandInput extends UpdateAuthorizerRequest {}
|
|
22
|
-
export interface UpdateAuthorizerCommandOutput extends UpdateAuthorizerResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Updates an Authorizer.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ApiGatewayV2Client, UpdateAuthorizerCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
30
|
-
* // const { ApiGatewayV2Client, UpdateAuthorizerCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
31
|
-
* const client = new ApiGatewayV2Client(config);
|
|
32
|
-
* const command = new UpdateAuthorizerCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link UpdateAuthorizerCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link UpdateAuthorizerCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class UpdateAuthorizerCommand extends $Command<
|
|
42
|
-
UpdateAuthorizerCommandInput,
|
|
43
|
-
UpdateAuthorizerCommandOutput,
|
|
44
|
-
ApiGatewayV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: UpdateAuthorizerCommandInput) {
|
|
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<UpdateAuthorizerCommandInput, UpdateAuthorizerCommandOutput> {
|
|
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 = "UpdateAuthorizerCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: UpdateAuthorizerRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: UpdateAuthorizerResponse.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: UpdateAuthorizerCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1UpdateAuthorizerCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateAuthorizerCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1UpdateAuthorizerCommand(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 { UpdateDeploymentRequest, UpdateDeploymentResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1UpdateDeploymentCommand,
|
|
18
|
-
serializeAws_restJson1UpdateDeploymentCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface UpdateDeploymentCommandInput extends UpdateDeploymentRequest {}
|
|
22
|
-
export interface UpdateDeploymentCommandOutput extends UpdateDeploymentResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Updates a Deployment.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ApiGatewayV2Client, UpdateDeploymentCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
30
|
-
* // const { ApiGatewayV2Client, UpdateDeploymentCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
31
|
-
* const client = new ApiGatewayV2Client(config);
|
|
32
|
-
* const command = new UpdateDeploymentCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link UpdateDeploymentCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link UpdateDeploymentCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class UpdateDeploymentCommand extends $Command<
|
|
42
|
-
UpdateDeploymentCommandInput,
|
|
43
|
-
UpdateDeploymentCommandOutput,
|
|
44
|
-
ApiGatewayV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: UpdateDeploymentCommandInput) {
|
|
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<UpdateDeploymentCommandInput, UpdateDeploymentCommandOutput> {
|
|
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 = "UpdateDeploymentCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: UpdateDeploymentRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: UpdateDeploymentResponse.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: UpdateDeploymentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1UpdateDeploymentCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateDeploymentCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1UpdateDeploymentCommand(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 { UpdateDomainNameRequest, UpdateDomainNameResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1UpdateDomainNameCommand,
|
|
18
|
-
serializeAws_restJson1UpdateDomainNameCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface UpdateDomainNameCommandInput extends UpdateDomainNameRequest {}
|
|
22
|
-
export interface UpdateDomainNameCommandOutput extends UpdateDomainNameResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Updates 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, UpdateDomainNameCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
30
|
-
* // const { ApiGatewayV2Client, UpdateDomainNameCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
31
|
-
* const client = new ApiGatewayV2Client(config);
|
|
32
|
-
* const command = new UpdateDomainNameCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link UpdateDomainNameCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link UpdateDomainNameCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class UpdateDomainNameCommand extends $Command<
|
|
42
|
-
UpdateDomainNameCommandInput,
|
|
43
|
-
UpdateDomainNameCommandOutput,
|
|
44
|
-
ApiGatewayV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: UpdateDomainNameCommandInput) {
|
|
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<UpdateDomainNameCommandInput, UpdateDomainNameCommandOutput> {
|
|
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 = "UpdateDomainNameCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: UpdateDomainNameRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: UpdateDomainNameResponse.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: UpdateDomainNameCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1UpdateDomainNameCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateDomainNameCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1UpdateDomainNameCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|