@cdklabs/cdk-ecs-codedeploy 0.0.166 → 0.0.168
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/.jsii +4 -4
- package/lib/api-canary/index.js +1 -1
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
- package/node_modules/@aws-sdk/abort-controller/package.json +3 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/CodeDeployClient.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/AddTagsToOnPremisesInstancesCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetApplicationRevisionsCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetApplicationsCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentGroupsCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentInstancesCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentTargetsCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentsCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetOnPremisesInstancesCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ContinueDeploymentCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateApplicationCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentConfigCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentGroupCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteApplicationCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteDeploymentConfigCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteDeploymentGroupCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteGitHubAccountTokenCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteResourcesByExternalIdCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeregisterOnPremisesInstanceCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetApplicationCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetApplicationRevisionCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentConfigCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentGroupCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentInstanceCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentTargetCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetOnPremisesInstanceCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListApplicationRevisionsCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListApplicationsCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentConfigsCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentGroupsCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentInstancesCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentTargetsCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentsCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListGitHubAccountTokenNamesCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListOnPremisesInstancesCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListTagsForResourceCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/PutLifecycleEventHookExecutionStatusCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RegisterApplicationRevisionCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RegisterOnPremisesInstanceCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RemoveTagsFromOnPremisesInstancesCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/SkipWaitTimeForInstanceTerminationCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/StopDeploymentCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/TagResourceCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UntagResourceCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UpdateApplicationCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UpdateDeploymentGroupCommand.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/index.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/models/CodeDeployServiceException.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/CodeDeployClient.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/AddTagsToOnPremisesInstancesCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetApplicationRevisionsCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetApplicationsCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentGroupsCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentInstancesCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentTargetsCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentsCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetOnPremisesInstancesCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ContinueDeploymentCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateApplicationCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentConfigCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentGroupCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteApplicationCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteDeploymentConfigCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteDeploymentGroupCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteGitHubAccountTokenCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteResourcesByExternalIdCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeregisterOnPremisesInstanceCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetApplicationCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetApplicationRevisionCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentConfigCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentGroupCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentInstanceCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentTargetCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetOnPremisesInstanceCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListApplicationRevisionsCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListApplicationsCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentConfigsCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentGroupsCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentInstancesCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentTargetsCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentsCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListGitHubAccountTokenNamesCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListOnPremisesInstancesCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListTagsForResourceCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/PutLifecycleEventHookExecutionStatusCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RegisterApplicationRevisionCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RegisterOnPremisesInstanceCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RemoveTagsFromOnPremisesInstancesCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/SkipWaitTimeForInstanceTerminationCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/StopDeploymentCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/TagResourceCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UntagResourceCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UpdateApplicationCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UpdateDeploymentGroupCommand.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/index.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/models/CodeDeployServiceException.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/CodeDeployClient.d.ts +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/AddTagsToOnPremisesInstancesCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationRevisionsCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationsCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentGroupsCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentInstancesCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentTargetsCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentsCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetOnPremisesInstancesCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ContinueDeploymentCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateApplicationCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentConfigCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentGroupCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteApplicationCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentConfigCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentGroupCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteGitHubAccountTokenCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteResourcesByExternalIdCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeregisterOnPremisesInstanceCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationRevisionCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentConfigCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentGroupCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentInstanceCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentTargetCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetOnPremisesInstanceCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationRevisionsCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationsCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentConfigsCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentGroupsCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentInstancesCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentTargetsCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentsCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListGitHubAccountTokenNamesCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListOnPremisesInstancesCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterApplicationRevisionCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterOnPremisesInstanceCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/StopDeploymentCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateApplicationCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateDeploymentGroupCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/index.d.ts +99 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/models/CodeDeployServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/CodeDeployClient.d.ts +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/AddTagsToOnPremisesInstancesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetApplicationRevisionsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetApplicationsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentGroupsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentInstancesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentTargetsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetOnPremisesInstancesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ContinueDeploymentCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateDeploymentConfigCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateDeploymentGroupCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteDeploymentConfigCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteDeploymentGroupCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteGitHubAccountTokenCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteResourcesByExternalIdCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeregisterOnPremisesInstanceCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetApplicationRevisionCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentConfigCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentGroupCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentInstanceCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentTargetCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetOnPremisesInstanceCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListApplicationRevisionsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentConfigsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentGroupsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentInstancesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentTargetsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListGitHubAccountTokenNamesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListOnPremisesInstancesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/RegisterApplicationRevisionCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/RegisterOnPremisesInstanceCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/StopDeploymentCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/UpdateDeploymentGroupCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/index.d.ts +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/models/CodeDeployServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/package.json +29 -29
- package/node_modules/@aws-sdk/client-sso/dist-cjs/SSOClient.js +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/GetRoleCredentialsCommand.js +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountRolesCommand.js +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountsCommand.js +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/LogoutCommand.js +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-cjs/models/SSOServiceException.js +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountsCommand.js +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/LogoutCommand.js +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/index.js +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-es/models/SSOServiceException.js +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +3 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +25 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/models/SSOServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +3 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/GetRoleCredentialsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/LogoutCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/index.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/SSOServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/package.json +25 -25
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/SSOOIDCClient.js +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/CreateTokenCommand.js +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/RegisterClientCommand.js +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/StartDeviceAuthorizationCommand.js +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/models/SSOOIDCServiceException.js +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/SSOOIDCServiceException.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +3 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/index.d.ts +45 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/SSOOIDCServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +3 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/SSOOIDCServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +25 -25
- package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleCommand.js +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithSAMLCommand.js +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/DecodeAuthorizationMessageCommand.js +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetAccessKeyInfoCommand.js +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetCallerIdentityCommand.js +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetFederationTokenCommand.js +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetSessionTokenCommand.js +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-cjs/models/STSServiceException.js +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/index.js +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-es/models/STSServiceException.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +3 -3
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/index.d.ts +10 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/models/STSServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +3 -3
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/index.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/STSServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/package.json +28 -28
- package/node_modules/@aws-sdk/config-resolver/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-imds/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-node/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/fetch-http-handler/package.json +6 -5
- package/node_modules/@aws-sdk/hash-node/package.json +3 -2
- package/node_modules/@aws-sdk/invalid-dependency/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-content-length/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-endpoint/package.json +6 -5
- package/node_modules/@aws-sdk/middleware-host-header/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-retry/package.json +8 -7
- package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-serde/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-signing/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-stack/package.json +3 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
- package/node_modules/@aws-sdk/node-config-provider/package.json +4 -4
- package/node_modules/@aws-sdk/node-http-handler/dist-cjs/node-http-handler.js +12 -3
- package/node_modules/@aws-sdk/node-http-handler/dist-cjs/node-http2-handler.js +20 -11
- package/node_modules/@aws-sdk/node-http-handler/dist-cjs/write-request-body.js +16 -8
- package/node_modules/@aws-sdk/node-http-handler/dist-es/node-http-handler.js +12 -3
- package/node_modules/@aws-sdk/node-http-handler/dist-es/node-http2-handler.js +20 -11
- package/node_modules/@aws-sdk/node-http-handler/dist-es/write-request-body.js +15 -8
- package/node_modules/@aws-sdk/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +3 -2
- package/node_modules/@aws-sdk/node-http-handler/dist-types/write-request-body.d.ts +8 -1
- package/node_modules/@aws-sdk/node-http-handler/package.json +6 -5
- package/node_modules/@aws-sdk/property-provider/package.json +2 -2
- package/node_modules/@aws-sdk/protocol-http/package.json +2 -2
- package/node_modules/@aws-sdk/querystring-builder/package.json +2 -2
- package/node_modules/@aws-sdk/querystring-parser/package.json +2 -2
- package/node_modules/@aws-sdk/service-error-classification/package.json +2 -2
- package/node_modules/@aws-sdk/shared-ini-file-loader/package.json +3 -2
- package/node_modules/@aws-sdk/signature-v4/package.json +5 -4
- package/node_modules/@aws-sdk/smithy-client/dist-types/client.d.ts +1 -1
- package/node_modules/@aws-sdk/smithy-client/dist-types/command.d.ts +1 -1
- package/node_modules/@aws-sdk/smithy-client/dist-types/exceptions.d.ts +2 -2
- package/node_modules/@aws-sdk/smithy-client/package.json +4 -3
- package/node_modules/@aws-sdk/token-providers/package.json +6 -5
- package/node_modules/@aws-sdk/types/dist-types/response.d.ts +1 -1
- package/node_modules/@aws-sdk/types/package.json +2 -1
- package/node_modules/@aws-sdk/url-parser/package.json +3 -3
- package/node_modules/@aws-sdk/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@aws-sdk/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-middleware/package.json +2 -2
- package/node_modules/@aws-sdk/util-retry/README.md +20 -6
- package/node_modules/@aws-sdk/util-retry/package.json +4 -3
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +3 -3
- package/node_modules/@aws-sdk/util-waiter/package.json +3 -3
- package/package.json +6 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/hash-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.338.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"build:types": "tsc -p tsconfig.types.json",
|
|
10
10
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
12
|
+
"extract:docs": "api-extractor run --local",
|
|
12
13
|
"test": "jest"
|
|
13
14
|
},
|
|
14
15
|
"main": "./dist-cjs/index.js",
|
|
@@ -30,7 +31,7 @@
|
|
|
30
31
|
"typescript": "~4.9.5"
|
|
31
32
|
},
|
|
32
33
|
"dependencies": {
|
|
33
|
-
"@aws-sdk/types": "3.
|
|
34
|
+
"@aws-sdk/types": "3.338.0",
|
|
34
35
|
"@aws-sdk/util-buffer-from": "3.310.0",
|
|
35
36
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
36
37
|
"tslib": "^2.5.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/invalid-dependency",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.338.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@aws-sdk/types": "3.
|
|
23
|
+
"@aws-sdk/types": "3.338.0",
|
|
24
24
|
"tslib": "^2.5.0"
|
|
25
25
|
},
|
|
26
26
|
"typesVersions": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-content-length",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.338.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/protocol-http": "3.
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
24
|
+
"@aws-sdk/protocol-http": "3.338.0",
|
|
25
|
+
"@aws-sdk/types": "3.338.0",
|
|
26
26
|
"tslib": "^2.5.0"
|
|
27
27
|
},
|
|
28
28
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-endpoint",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.338.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"build:types": "tsc -p tsconfig.types.json",
|
|
10
10
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
12
|
+
"extract:docs": "api-extractor run --local",
|
|
12
13
|
"test": "jest --passWithNoTests",
|
|
13
14
|
"test:integration": "jest -c jest.config.integ.js"
|
|
14
15
|
},
|
|
@@ -21,10 +22,10 @@
|
|
|
21
22
|
},
|
|
22
23
|
"license": "Apache-2.0",
|
|
23
24
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/middleware-serde": "3.
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
26
|
-
"@aws-sdk/url-parser": "3.
|
|
27
|
-
"@aws-sdk/util-middleware": "3.
|
|
25
|
+
"@aws-sdk/middleware-serde": "3.338.0",
|
|
26
|
+
"@aws-sdk/types": "3.338.0",
|
|
27
|
+
"@aws-sdk/url-parser": "3.338.0",
|
|
28
|
+
"@aws-sdk/util-middleware": "3.338.0",
|
|
28
29
|
"tslib": "^2.5.0"
|
|
29
30
|
},
|
|
30
31
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-host-header",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.338.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/protocol-http": "3.
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
24
|
+
"@aws-sdk/protocol-http": "3.338.0",
|
|
25
|
+
"@aws-sdk/types": "3.338.0",
|
|
26
26
|
"tslib": "^2.5.0"
|
|
27
27
|
},
|
|
28
28
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-logger",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.338.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"module": "./dist-es/index.js",
|
|
23
23
|
"types": "./dist-types/index.d.ts",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
25
|
+
"@aws-sdk/types": "3.338.0",
|
|
26
26
|
"tslib": "^2.5.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-recursion-detection",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.338.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/protocol-http": "3.
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
24
|
+
"@aws-sdk/protocol-http": "3.338.0",
|
|
25
|
+
"@aws-sdk/types": "3.338.0",
|
|
26
26
|
"tslib": "^2.5.0"
|
|
27
27
|
},
|
|
28
28
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-retry",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.338.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"build:types": "tsc -p tsconfig.types.json",
|
|
10
10
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
12
|
+
"extract:docs": "api-extractor run --local",
|
|
12
13
|
"test": "jest",
|
|
13
14
|
"test:integration": "jest -c jest.config.integ.js"
|
|
14
15
|
},
|
|
@@ -21,16 +22,16 @@
|
|
|
21
22
|
},
|
|
22
23
|
"license": "Apache-2.0",
|
|
23
24
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/protocol-http": "3.
|
|
25
|
-
"@aws-sdk/service-error-classification": "3.
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
27
|
-
"@aws-sdk/util-middleware": "3.
|
|
28
|
-
"@aws-sdk/util-retry": "3.
|
|
25
|
+
"@aws-sdk/protocol-http": "3.338.0",
|
|
26
|
+
"@aws-sdk/service-error-classification": "3.338.0",
|
|
27
|
+
"@aws-sdk/types": "3.338.0",
|
|
28
|
+
"@aws-sdk/util-middleware": "3.338.0",
|
|
29
|
+
"@aws-sdk/util-retry": "3.338.0",
|
|
29
30
|
"tslib": "^2.5.0",
|
|
30
31
|
"uuid": "^8.3.2"
|
|
31
32
|
},
|
|
32
33
|
"devDependencies": {
|
|
33
|
-
"@aws-sdk/node-config-provider": "3.
|
|
34
|
+
"@aws-sdk/node-config-provider": "3.338.0",
|
|
34
35
|
"@tsconfig/recommended": "1.0.1",
|
|
35
36
|
"@types/uuid": "^8.3.0",
|
|
36
37
|
"concurrently": "7.0.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-sdk-sts",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.338.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/middleware-signing": "3.
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
24
|
+
"@aws-sdk/middleware-signing": "3.338.0",
|
|
25
|
+
"@aws-sdk/types": "3.338.0",
|
|
26
26
|
"tslib": "^2.5.0"
|
|
27
27
|
},
|
|
28
28
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-serde",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.338.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/types": "3.
|
|
24
|
+
"@aws-sdk/types": "3.338.0",
|
|
25
25
|
"tslib": "^2.5.0"
|
|
26
26
|
},
|
|
27
27
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-signing",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.338.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/property-provider": "3.
|
|
25
|
-
"@aws-sdk/protocol-http": "3.
|
|
26
|
-
"@aws-sdk/signature-v4": "3.
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
28
|
-
"@aws-sdk/util-middleware": "3.
|
|
24
|
+
"@aws-sdk/property-provider": "3.338.0",
|
|
25
|
+
"@aws-sdk/protocol-http": "3.338.0",
|
|
26
|
+
"@aws-sdk/signature-v4": "3.338.0",
|
|
27
|
+
"@aws-sdk/types": "3.338.0",
|
|
28
|
+
"@aws-sdk/util-middleware": "3.338.0",
|
|
29
29
|
"tslib": "^2.5.0"
|
|
30
30
|
},
|
|
31
31
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-stack",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.338.0",
|
|
4
4
|
"description": "Provides a means for composing multiple middleware functions into a single handler",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
13
|
+
"extract:docs": "api-extractor run --local",
|
|
13
14
|
"test": "jest",
|
|
14
15
|
"test:integration": "jest -c jest.config.integ.js --passWithNoTests"
|
|
15
16
|
},
|
|
@@ -26,7 +27,7 @@
|
|
|
26
27
|
"tslib": "^2.5.0"
|
|
27
28
|
},
|
|
28
29
|
"devDependencies": {
|
|
29
|
-
"@aws-sdk/types": "3.
|
|
30
|
+
"@aws-sdk/types": "3.338.0",
|
|
30
31
|
"@tsconfig/recommended": "1.0.1",
|
|
31
32
|
"concurrently": "7.0.0",
|
|
32
33
|
"downlevel-dts": "0.10.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.338.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/protocol-http": "3.
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
26
|
-
"@aws-sdk/util-endpoints": "3.
|
|
24
|
+
"@aws-sdk/protocol-http": "3.338.0",
|
|
25
|
+
"@aws-sdk/types": "3.338.0",
|
|
26
|
+
"@aws-sdk/util-endpoints": "3.338.0",
|
|
27
27
|
"tslib": "^2.5.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/node-config-provider",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.338.0",
|
|
4
4
|
"description": "Load config default values from ini config files and environmental variable",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"module": "./dist-es/index.js",
|
|
23
23
|
"types": "./dist-types/index.d.ts",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/property-provider": "3.
|
|
26
|
-
"@aws-sdk/shared-ini-file-loader": "3.
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
25
|
+
"@aws-sdk/property-provider": "3.338.0",
|
|
26
|
+
"@aws-sdk/shared-ini-file-loader": "3.338.0",
|
|
27
|
+
"@aws-sdk/types": "3.338.0",
|
|
28
28
|
"tslib": "^2.5.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
@@ -8,9 +8,9 @@ const https_1 = require("https");
|
|
|
8
8
|
const constants_1 = require("./constants");
|
|
9
9
|
const get_transformed_headers_1 = require("./get-transformed-headers");
|
|
10
10
|
const set_connection_timeout_1 = require("./set-connection-timeout");
|
|
11
|
+
const set_socket_keep_alive_1 = require("./set-socket-keep-alive");
|
|
11
12
|
const set_socket_timeout_1 = require("./set-socket-timeout");
|
|
12
13
|
const write_request_body_1 = require("./write-request-body");
|
|
13
|
-
const set_socket_keep_alive_1 = require("./set-socket-keep-alive");
|
|
14
14
|
exports.DEFAULT_REQUEST_TIMEOUT = 0;
|
|
15
15
|
class NodeHttpHandler {
|
|
16
16
|
constructor(options) {
|
|
@@ -48,7 +48,16 @@ class NodeHttpHandler {
|
|
|
48
48
|
if (!this.config) {
|
|
49
49
|
this.config = await this.configProvider;
|
|
50
50
|
}
|
|
51
|
-
return new Promise((
|
|
51
|
+
return new Promise((_resolve, _reject) => {
|
|
52
|
+
let writeRequestBodyPromise = undefined;
|
|
53
|
+
const resolve = async (arg) => {
|
|
54
|
+
await writeRequestBodyPromise;
|
|
55
|
+
_resolve(arg);
|
|
56
|
+
};
|
|
57
|
+
const reject = async (arg) => {
|
|
58
|
+
await writeRequestBodyPromise;
|
|
59
|
+
_reject(arg);
|
|
60
|
+
};
|
|
52
61
|
if (!this.config) {
|
|
53
62
|
throw new Error("Node HTTP request handler config is not resolved");
|
|
54
63
|
}
|
|
@@ -102,7 +111,7 @@ class NodeHttpHandler {
|
|
|
102
111
|
keepAliveMsecs: httpAgent.keepAliveMsecs,
|
|
103
112
|
});
|
|
104
113
|
}
|
|
105
|
-
(0, write_request_body_1.writeRequestBody)(req, request);
|
|
114
|
+
writeRequestBodyPromise = (0, write_request_body_1.writeRequestBody)(req, request, this.config.requestTimeout);
|
|
106
115
|
});
|
|
107
116
|
}
|
|
108
117
|
}
|
|
@@ -36,14 +36,23 @@ class NodeHttp2Handler {
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
const { requestTimeout, disableConcurrentStreams } = this.config;
|
|
39
|
-
return new Promise((
|
|
39
|
+
return new Promise((_resolve, _reject) => {
|
|
40
40
|
var _a;
|
|
41
41
|
let fulfilled = false;
|
|
42
|
+
let writeRequestBodyPromise = undefined;
|
|
43
|
+
const resolve = async (arg) => {
|
|
44
|
+
await writeRequestBodyPromise;
|
|
45
|
+
_resolve(arg);
|
|
46
|
+
};
|
|
47
|
+
const reject = async (arg) => {
|
|
48
|
+
await writeRequestBodyPromise;
|
|
49
|
+
_reject(arg);
|
|
50
|
+
};
|
|
42
51
|
if (abortSignal === null || abortSignal === void 0 ? void 0 : abortSignal.aborted) {
|
|
43
52
|
fulfilled = true;
|
|
44
53
|
const abortError = new Error("Request aborted");
|
|
45
54
|
abortError.name = "AbortError";
|
|
46
|
-
|
|
55
|
+
reject(abortError);
|
|
47
56
|
return;
|
|
48
57
|
}
|
|
49
58
|
const { hostname, method, port, protocol, path, query } = request;
|
|
@@ -53,12 +62,12 @@ class NodeHttp2Handler {
|
|
|
53
62
|
requestTimeout: (_a = this.config) === null || _a === void 0 ? void 0 : _a.sessionTimeout,
|
|
54
63
|
disableConcurrentStreams: disableConcurrentStreams || false,
|
|
55
64
|
});
|
|
56
|
-
const
|
|
65
|
+
const rejectWithDestroy = (err) => {
|
|
57
66
|
if (disableConcurrentStreams) {
|
|
58
67
|
this.destroySession(session);
|
|
59
68
|
}
|
|
60
69
|
fulfilled = true;
|
|
61
|
-
|
|
70
|
+
reject(err);
|
|
62
71
|
};
|
|
63
72
|
const queryString = (0, querystring_builder_1.buildQueryString)(query || {});
|
|
64
73
|
const req = session.request({
|
|
@@ -85,7 +94,7 @@ class NodeHttp2Handler {
|
|
|
85
94
|
req.close();
|
|
86
95
|
const timeoutError = new Error(`Stream timed out because of no activity for ${requestTimeout} ms`);
|
|
87
96
|
timeoutError.name = "TimeoutError";
|
|
88
|
-
|
|
97
|
+
rejectWithDestroy(timeoutError);
|
|
89
98
|
});
|
|
90
99
|
}
|
|
91
100
|
if (abortSignal) {
|
|
@@ -93,15 +102,15 @@ class NodeHttp2Handler {
|
|
|
93
102
|
req.close();
|
|
94
103
|
const abortError = new Error("Request aborted");
|
|
95
104
|
abortError.name = "AbortError";
|
|
96
|
-
|
|
105
|
+
rejectWithDestroy(abortError);
|
|
97
106
|
};
|
|
98
107
|
}
|
|
99
108
|
req.on("frameError", (type, code, id) => {
|
|
100
|
-
|
|
109
|
+
rejectWithDestroy(new Error(`Frame type id ${type} in stream id ${id} has failed with code ${code}.`));
|
|
101
110
|
});
|
|
102
|
-
req.on("error",
|
|
111
|
+
req.on("error", rejectWithDestroy);
|
|
103
112
|
req.on("aborted", () => {
|
|
104
|
-
|
|
113
|
+
rejectWithDestroy(new Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${req.rstCode}.`));
|
|
105
114
|
});
|
|
106
115
|
req.on("close", () => {
|
|
107
116
|
session.unref();
|
|
@@ -109,10 +118,10 @@ class NodeHttp2Handler {
|
|
|
109
118
|
session.destroy();
|
|
110
119
|
}
|
|
111
120
|
if (!fulfilled) {
|
|
112
|
-
|
|
121
|
+
rejectWithDestroy(new Error("Unexpected error: http2 request did not get a response"));
|
|
113
122
|
}
|
|
114
123
|
});
|
|
115
|
-
(0, write_request_body_1.writeRequestBody)(req, request);
|
|
124
|
+
writeRequestBodyPromise = (0, write_request_body_1.writeRequestBody)(req, request, requestTimeout);
|
|
116
125
|
});
|
|
117
126
|
}
|
|
118
127
|
destroySession(session) {
|
|
@@ -2,16 +2,24 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.writeRequestBody = void 0;
|
|
4
4
|
const stream_1 = require("stream");
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
const MIN_WAIT_TIME = 1000;
|
|
6
|
+
async function writeRequestBody(httpRequest, request, maxContinueTimeoutMs = MIN_WAIT_TIME) {
|
|
7
|
+
var _a;
|
|
8
|
+
const headers = (_a = request.headers) !== null && _a !== void 0 ? _a : {};
|
|
9
|
+
const expect = headers["Expect"] || headers["expect"];
|
|
7
10
|
if (expect === "100-continue") {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
await Promise.race([
|
|
12
|
+
new Promise((resolve) => {
|
|
13
|
+
setTimeout(resolve, Math.max(MIN_WAIT_TIME, maxContinueTimeoutMs));
|
|
14
|
+
}),
|
|
15
|
+
new Promise((resolve) => {
|
|
16
|
+
httpRequest.on("continue", () => {
|
|
17
|
+
resolve();
|
|
18
|
+
});
|
|
19
|
+
}),
|
|
20
|
+
]);
|
|
14
21
|
}
|
|
22
|
+
writeBody(httpRequest, request.body);
|
|
15
23
|
}
|
|
16
24
|
exports.writeRequestBody = writeRequestBody;
|
|
17
25
|
function writeBody(httpRequest, body) {
|
|
@@ -5,9 +5,9 @@ import { Agent as hsAgent, request as hsRequest } from "https";
|
|
|
5
5
|
import { NODEJS_TIMEOUT_ERROR_CODES } from "./constants";
|
|
6
6
|
import { getTransformedHeaders } from "./get-transformed-headers";
|
|
7
7
|
import { setConnectionTimeout } from "./set-connection-timeout";
|
|
8
|
+
import { setSocketKeepAlive } from "./set-socket-keep-alive";
|
|
8
9
|
import { setSocketTimeout } from "./set-socket-timeout";
|
|
9
10
|
import { writeRequestBody } from "./write-request-body";
|
|
10
|
-
import { setSocketKeepAlive } from "./set-socket-keep-alive";
|
|
11
11
|
export const DEFAULT_REQUEST_TIMEOUT = 0;
|
|
12
12
|
export class NodeHttpHandler {
|
|
13
13
|
constructor(options) {
|
|
@@ -44,7 +44,16 @@ export class NodeHttpHandler {
|
|
|
44
44
|
if (!this.config) {
|
|
45
45
|
this.config = await this.configProvider;
|
|
46
46
|
}
|
|
47
|
-
return new Promise((
|
|
47
|
+
return new Promise((_resolve, _reject) => {
|
|
48
|
+
let writeRequestBodyPromise = undefined;
|
|
49
|
+
const resolve = async (arg) => {
|
|
50
|
+
await writeRequestBodyPromise;
|
|
51
|
+
_resolve(arg);
|
|
52
|
+
};
|
|
53
|
+
const reject = async (arg) => {
|
|
54
|
+
await writeRequestBodyPromise;
|
|
55
|
+
_reject(arg);
|
|
56
|
+
};
|
|
48
57
|
if (!this.config) {
|
|
49
58
|
throw new Error("Node HTTP request handler config is not resolved");
|
|
50
59
|
}
|
|
@@ -98,7 +107,7 @@ export class NodeHttpHandler {
|
|
|
98
107
|
keepAliveMsecs: httpAgent.keepAliveMsecs,
|
|
99
108
|
});
|
|
100
109
|
}
|
|
101
|
-
writeRequestBody(req, request);
|
|
110
|
+
writeRequestBodyPromise = writeRequestBody(req, request, this.config.requestTimeout);
|
|
102
111
|
});
|
|
103
112
|
}
|
|
104
113
|
}
|
|
@@ -33,13 +33,22 @@ export class NodeHttp2Handler {
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
const { requestTimeout, disableConcurrentStreams } = this.config;
|
|
36
|
-
return new Promise((
|
|
36
|
+
return new Promise((_resolve, _reject) => {
|
|
37
37
|
let fulfilled = false;
|
|
38
|
+
let writeRequestBodyPromise = undefined;
|
|
39
|
+
const resolve = async (arg) => {
|
|
40
|
+
await writeRequestBodyPromise;
|
|
41
|
+
_resolve(arg);
|
|
42
|
+
};
|
|
43
|
+
const reject = async (arg) => {
|
|
44
|
+
await writeRequestBodyPromise;
|
|
45
|
+
_reject(arg);
|
|
46
|
+
};
|
|
38
47
|
if (abortSignal?.aborted) {
|
|
39
48
|
fulfilled = true;
|
|
40
49
|
const abortError = new Error("Request aborted");
|
|
41
50
|
abortError.name = "AbortError";
|
|
42
|
-
|
|
51
|
+
reject(abortError);
|
|
43
52
|
return;
|
|
44
53
|
}
|
|
45
54
|
const { hostname, method, port, protocol, path, query } = request;
|
|
@@ -49,12 +58,12 @@ export class NodeHttp2Handler {
|
|
|
49
58
|
requestTimeout: this.config?.sessionTimeout,
|
|
50
59
|
disableConcurrentStreams: disableConcurrentStreams || false,
|
|
51
60
|
});
|
|
52
|
-
const
|
|
61
|
+
const rejectWithDestroy = (err) => {
|
|
53
62
|
if (disableConcurrentStreams) {
|
|
54
63
|
this.destroySession(session);
|
|
55
64
|
}
|
|
56
65
|
fulfilled = true;
|
|
57
|
-
|
|
66
|
+
reject(err);
|
|
58
67
|
};
|
|
59
68
|
const queryString = buildQueryString(query || {});
|
|
60
69
|
const req = session.request({
|
|
@@ -81,7 +90,7 @@ export class NodeHttp2Handler {
|
|
|
81
90
|
req.close();
|
|
82
91
|
const timeoutError = new Error(`Stream timed out because of no activity for ${requestTimeout} ms`);
|
|
83
92
|
timeoutError.name = "TimeoutError";
|
|
84
|
-
|
|
93
|
+
rejectWithDestroy(timeoutError);
|
|
85
94
|
});
|
|
86
95
|
}
|
|
87
96
|
if (abortSignal) {
|
|
@@ -89,15 +98,15 @@ export class NodeHttp2Handler {
|
|
|
89
98
|
req.close();
|
|
90
99
|
const abortError = new Error("Request aborted");
|
|
91
100
|
abortError.name = "AbortError";
|
|
92
|
-
|
|
101
|
+
rejectWithDestroy(abortError);
|
|
93
102
|
};
|
|
94
103
|
}
|
|
95
104
|
req.on("frameError", (type, code, id) => {
|
|
96
|
-
|
|
105
|
+
rejectWithDestroy(new Error(`Frame type id ${type} in stream id ${id} has failed with code ${code}.`));
|
|
97
106
|
});
|
|
98
|
-
req.on("error",
|
|
107
|
+
req.on("error", rejectWithDestroy);
|
|
99
108
|
req.on("aborted", () => {
|
|
100
|
-
|
|
109
|
+
rejectWithDestroy(new Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${req.rstCode}.`));
|
|
101
110
|
});
|
|
102
111
|
req.on("close", () => {
|
|
103
112
|
session.unref();
|
|
@@ -105,10 +114,10 @@ export class NodeHttp2Handler {
|
|
|
105
114
|
session.destroy();
|
|
106
115
|
}
|
|
107
116
|
if (!fulfilled) {
|
|
108
|
-
|
|
117
|
+
rejectWithDestroy(new Error("Unexpected error: http2 request did not get a response"));
|
|
109
118
|
}
|
|
110
119
|
});
|
|
111
|
-
writeRequestBody(req, request);
|
|
120
|
+
writeRequestBodyPromise = writeRequestBody(req, request, requestTimeout);
|
|
112
121
|
});
|
|
113
122
|
}
|
|
114
123
|
destroySession(session) {
|
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
import { Readable } from "stream";
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
const MIN_WAIT_TIME = 1000;
|
|
3
|
+
export async function writeRequestBody(httpRequest, request, maxContinueTimeoutMs = MIN_WAIT_TIME) {
|
|
4
|
+
const headers = request.headers ?? {};
|
|
5
|
+
const expect = headers["Expect"] || headers["expect"];
|
|
4
6
|
if (expect === "100-continue") {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
await Promise.race([
|
|
8
|
+
new Promise((resolve) => {
|
|
9
|
+
setTimeout(resolve, Math.max(MIN_WAIT_TIME, maxContinueTimeoutMs));
|
|
10
|
+
}),
|
|
11
|
+
new Promise((resolve) => {
|
|
12
|
+
httpRequest.on("continue", () => {
|
|
13
|
+
resolve();
|
|
14
|
+
});
|
|
15
|
+
}),
|
|
16
|
+
]);
|
|
11
17
|
}
|
|
18
|
+
writeBody(httpRequest, request.body);
|
|
12
19
|
}
|
|
13
20
|
function writeBody(httpRequest, body) {
|
|
14
21
|
if (body instanceof Readable) {
|
|
@@ -3,5 +3,6 @@ import { ClientRequest } from "http";
|
|
|
3
3
|
import { ClientHttp2Stream } from "http2";
|
|
4
4
|
export declare function writeRequestBody(
|
|
5
5
|
httpRequest: ClientRequest | ClientHttp2Stream,
|
|
6
|
-
request: HttpRequest
|
|
7
|
-
|
|
6
|
+
request: HttpRequest,
|
|
7
|
+
maxContinueTimeoutMs?: number
|
|
8
|
+
): Promise<void>;
|
|
@@ -3,4 +3,11 @@
|
|
|
3
3
|
import { HttpRequest } from "@aws-sdk/types";
|
|
4
4
|
import { ClientRequest } from "http";
|
|
5
5
|
import { ClientHttp2Stream } from "http2";
|
|
6
|
-
|
|
6
|
+
/**
|
|
7
|
+
* This resolves when writeBody has been called.
|
|
8
|
+
*
|
|
9
|
+
* @param httpRequest - opened Node.js request.
|
|
10
|
+
* @param request - container with the request body.
|
|
11
|
+
* @param maxContinueTimeoutMs - maximum time to wait for the continue event. Minimum of 1000ms.
|
|
12
|
+
*/
|
|
13
|
+
export declare function writeRequestBody(httpRequest: ClientRequest | ClientHttp2Stream, request: HttpRequest, maxContinueTimeoutMs?: number): Promise<void>;
|