@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 { CreateRouteResponseRequest, CreateRouteResponseResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1CreateRouteResponseCommand,
|
|
18
|
-
serializeAws_restJson1CreateRouteResponseCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface CreateRouteResponseCommandInput extends CreateRouteResponseRequest {}
|
|
22
|
-
export interface CreateRouteResponseCommandOutput extends CreateRouteResponseResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a RouteResponse for 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, CreateRouteResponseCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
30
|
-
* // const { ApiGatewayV2Client, CreateRouteResponseCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
31
|
-
* const client = new ApiGatewayV2Client(config);
|
|
32
|
-
* const command = new CreateRouteResponseCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link CreateRouteResponseCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link CreateRouteResponseCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class CreateRouteResponseCommand extends $Command<
|
|
42
|
-
CreateRouteResponseCommandInput,
|
|
43
|
-
CreateRouteResponseCommandOutput,
|
|
44
|
-
ApiGatewayV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: CreateRouteResponseCommandInput) {
|
|
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<CreateRouteResponseCommandInput, CreateRouteResponseCommandOutput> {
|
|
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 = "CreateRouteResponseCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: CreateRouteResponseRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: CreateRouteResponseResponse.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: CreateRouteResponseCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1CreateRouteResponseCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateRouteResponseCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1CreateRouteResponseCommand(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 { CreateStageRequest, CreateStageResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1CreateStageCommand,
|
|
18
|
-
serializeAws_restJson1CreateStageCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface CreateStageCommandInput extends CreateStageRequest {}
|
|
22
|
-
export interface CreateStageCommandOutput extends CreateStageResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a Stage for an API.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ApiGatewayV2Client, CreateStageCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
30
|
-
* // const { ApiGatewayV2Client, CreateStageCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
31
|
-
* const client = new ApiGatewayV2Client(config);
|
|
32
|
-
* const command = new CreateStageCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link CreateStageCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link CreateStageCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class CreateStageCommand extends $Command<
|
|
42
|
-
CreateStageCommandInput,
|
|
43
|
-
CreateStageCommandOutput,
|
|
44
|
-
ApiGatewayV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: CreateStageCommandInput) {
|
|
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<CreateStageCommandInput, CreateStageCommandOutput> {
|
|
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 = "CreateStageCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: CreateStageRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: CreateStageResponse.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: CreateStageCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1CreateStageCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateStageCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1CreateStageCommand(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 { CreateVpcLinkRequest, CreateVpcLinkResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1CreateVpcLinkCommand,
|
|
18
|
-
serializeAws_restJson1CreateVpcLinkCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface CreateVpcLinkCommandInput extends CreateVpcLinkRequest {}
|
|
22
|
-
export interface CreateVpcLinkCommandOutput extends CreateVpcLinkResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates 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, CreateVpcLinkCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
30
|
-
* // const { ApiGatewayV2Client, CreateVpcLinkCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
31
|
-
* const client = new ApiGatewayV2Client(config);
|
|
32
|
-
* const command = new CreateVpcLinkCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link CreateVpcLinkCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link CreateVpcLinkCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class CreateVpcLinkCommand extends $Command<
|
|
42
|
-
CreateVpcLinkCommandInput,
|
|
43
|
-
CreateVpcLinkCommandOutput,
|
|
44
|
-
ApiGatewayV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: CreateVpcLinkCommandInput) {
|
|
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<CreateVpcLinkCommandInput, CreateVpcLinkCommandOutput> {
|
|
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 = "CreateVpcLinkCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: CreateVpcLinkRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: CreateVpcLinkResponse.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: CreateVpcLinkCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1CreateVpcLinkCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateVpcLinkCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1CreateVpcLinkCommand(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 { DeleteAccessLogSettingsRequest } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1DeleteAccessLogSettingsCommand,
|
|
18
|
-
serializeAws_restJson1DeleteAccessLogSettingsCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface DeleteAccessLogSettingsCommandInput extends DeleteAccessLogSettingsRequest {}
|
|
22
|
-
export interface DeleteAccessLogSettingsCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes the AccessLogSettings for a Stage. To disable access logging for a Stage, delete its AccessLogSettings.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ApiGatewayV2Client, DeleteAccessLogSettingsCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
30
|
-
* // const { ApiGatewayV2Client, DeleteAccessLogSettingsCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
31
|
-
* const client = new ApiGatewayV2Client(config);
|
|
32
|
-
* const command = new DeleteAccessLogSettingsCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DeleteAccessLogSettingsCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DeleteAccessLogSettingsCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DeleteAccessLogSettingsCommand extends $Command<
|
|
42
|
-
DeleteAccessLogSettingsCommandInput,
|
|
43
|
-
DeleteAccessLogSettingsCommandOutput,
|
|
44
|
-
ApiGatewayV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DeleteAccessLogSettingsCommandInput) {
|
|
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<DeleteAccessLogSettingsCommandInput, DeleteAccessLogSettingsCommandOutput> {
|
|
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 = "DeleteAccessLogSettingsCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DeleteAccessLogSettingsRequest.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: DeleteAccessLogSettingsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1DeleteAccessLogSettingsCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteAccessLogSettingsCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1DeleteAccessLogSettingsCommand(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 { DeleteApiRequest } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1DeleteApiCommand,
|
|
18
|
-
serializeAws_restJson1DeleteApiCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface DeleteApiCommandInput extends DeleteApiRequest {}
|
|
22
|
-
export interface DeleteApiCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes 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, DeleteApiCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
30
|
-
* // const { ApiGatewayV2Client, DeleteApiCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
31
|
-
* const client = new ApiGatewayV2Client(config);
|
|
32
|
-
* const command = new DeleteApiCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DeleteApiCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DeleteApiCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DeleteApiCommand extends $Command<
|
|
42
|
-
DeleteApiCommandInput,
|
|
43
|
-
DeleteApiCommandOutput,
|
|
44
|
-
ApiGatewayV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DeleteApiCommandInput) {
|
|
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<DeleteApiCommandInput, DeleteApiCommandOutput> {
|
|
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 = "DeleteApiCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DeleteApiRequest.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: DeleteApiCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1DeleteApiCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteApiCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1DeleteApiCommand(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 { DeleteApiMappingRequest } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1DeleteApiMappingCommand,
|
|
18
|
-
serializeAws_restJson1DeleteApiMappingCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface DeleteApiMappingCommandInput extends DeleteApiMappingRequest {}
|
|
22
|
-
export interface DeleteApiMappingCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes an 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, DeleteApiMappingCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
30
|
-
* // const { ApiGatewayV2Client, DeleteApiMappingCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
31
|
-
* const client = new ApiGatewayV2Client(config);
|
|
32
|
-
* const command = new DeleteApiMappingCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DeleteApiMappingCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DeleteApiMappingCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DeleteApiMappingCommand extends $Command<
|
|
42
|
-
DeleteApiMappingCommandInput,
|
|
43
|
-
DeleteApiMappingCommandOutput,
|
|
44
|
-
ApiGatewayV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DeleteApiMappingCommandInput) {
|
|
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<DeleteApiMappingCommandInput, DeleteApiMappingCommandOutput> {
|
|
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 = "DeleteApiMappingCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DeleteApiMappingRequest.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: DeleteApiMappingCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1DeleteApiMappingCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteApiMappingCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1DeleteApiMappingCommand(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 { DeleteAuthorizerRequest } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1DeleteAuthorizerCommand,
|
|
18
|
-
serializeAws_restJson1DeleteAuthorizerCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface DeleteAuthorizerCommandInput extends DeleteAuthorizerRequest {}
|
|
22
|
-
export interface DeleteAuthorizerCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes 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, DeleteAuthorizerCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
30
|
-
* // const { ApiGatewayV2Client, DeleteAuthorizerCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
31
|
-
* const client = new ApiGatewayV2Client(config);
|
|
32
|
-
* const command = new DeleteAuthorizerCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DeleteAuthorizerCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DeleteAuthorizerCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DeleteAuthorizerCommand extends $Command<
|
|
42
|
-
DeleteAuthorizerCommandInput,
|
|
43
|
-
DeleteAuthorizerCommandOutput,
|
|
44
|
-
ApiGatewayV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DeleteAuthorizerCommandInput) {
|
|
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<DeleteAuthorizerCommandInput, DeleteAuthorizerCommandOutput> {
|
|
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 = "DeleteAuthorizerCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DeleteAuthorizerRequest.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: DeleteAuthorizerCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1DeleteAuthorizerCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteAuthorizerCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1DeleteAuthorizerCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|