@cdklabs/cdk-ecs-codedeploy 0.0.207 → 0.0.208
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 +108 -49
- package/.jsii.tabl.json +1 -1
- package/.projenrc.ts +3 -5
- package/API.md +4 -4
- package/API.md.md +4 -9
- package/lib/api-canary/index.d.ts +1 -1
- package/lib/api-canary/index.js +7 -7
- 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 +4 -4
- package/node_modules/@aws-sdk/client-codedeploy/README.md +7 -7
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/CodeDeployClient.js +6 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/AddTagsToOnPremisesInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetApplicationRevisionsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetApplicationsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentGroupsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentTargetsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetOnPremisesInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ContinueDeploymentCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateApplicationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentConfigCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentGroupCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteApplicationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteDeploymentConfigCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteDeploymentGroupCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteGitHubAccountTokenCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteResourcesByExternalIdCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeregisterOnPremisesInstanceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetApplicationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetApplicationRevisionCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentConfigCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentGroupCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentInstanceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentTargetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetOnPremisesInstanceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListApplicationRevisionsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListApplicationsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentConfigsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentGroupsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentTargetsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListGitHubAccountTokenNamesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListOnPremisesInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/PutLifecycleEventHookExecutionStatusCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RegisterApplicationRevisionCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RegisterOnPremisesInstanceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RemoveTagsFromOnPremisesInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/SkipWaitTimeForInstanceTerminationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/StopDeploymentCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/TagResourceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UntagResourceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UpdateApplicationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UpdateDeploymentGroupCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/endpoint/ruleset.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.shared.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeExtensions.js +22 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/CodeDeployClient.js +6 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/AddTagsToOnPremisesInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetApplicationRevisionsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetApplicationsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentGroupsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentTargetsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetOnPremisesInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ContinueDeploymentCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateApplicationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentConfigCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentGroupCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteApplicationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteDeploymentConfigCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteDeploymentGroupCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteGitHubAccountTokenCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteResourcesByExternalIdCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeregisterOnPremisesInstanceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetApplicationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetApplicationRevisionCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentConfigCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentGroupCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentInstanceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentTargetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetOnPremisesInstanceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListApplicationRevisionsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListApplicationsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentConfigsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentGroupsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentTargetsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListGitHubAccountTokenNamesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListOnPremisesInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListTagsForResourceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/PutLifecycleEventHookExecutionStatusCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RegisterApplicationRevisionCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RegisterOnPremisesInstanceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RemoveTagsFromOnPremisesInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/SkipWaitTimeForInstanceTerminationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/StopDeploymentCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/TagResourceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UntagResourceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UpdateApplicationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UpdateDeploymentGroupCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/endpoint/ruleset.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.shared.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeExtensions.js +18 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/CodeDeploy.d.ts +25 -25
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/CodeDeployClient.d.ts +33 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationRevisionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentGroupsCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentInstancesCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentTargetsCommand.d.ts +10 -11
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ContinueDeploymentCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateApplicationCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentCommand.d.ts +16 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentConfigCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentGroupCommand.d.ts +10 -10
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentConfigCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteResourcesByExternalIdCommand.d.ts +8 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationRevisionCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentConfigCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentGroupCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentInstanceCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentTargetCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationRevisionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentConfigsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentGroupsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentInstancesCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentTargetsCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentsCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListOnPremisesInstancesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterApplicationRevisionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterOnPremisesInstanceCommand.d.ts +8 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/StopDeploymentCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/TagResourceCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UntagResourceCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateApplicationCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateDeploymentGroupCommand.d.ts +12 -11
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/endpoint/EndpointParameters.d.ts +3 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/extensionConfiguration.d.ts +8 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/index.d.ts +26 -25
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/models/models_0.d.ts +701 -273
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.browser.d.ts +8 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.d.ts +5 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.native.d.ts +5 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeExtensions.d.ts +17 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/CodeDeployClient.d.ts +7 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.d.ts +9 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/package.json +37 -37
- package/node_modules/@aws-sdk/client-sso/README.md +7 -10
- package/node_modules/@aws-sdk/client-sso/dist-cjs/SSOClient.js +6 -4
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/GetRoleCredentialsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountRolesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/LogoutCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js +3 -3
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeExtensions.js +22 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +6 -4
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/LogoutCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js +3 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeExtensions.js +18 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +0 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +8 -6
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/endpoint/EndpointParameters.d.ts +3 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/extensionConfiguration.d.ts +8 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +1 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +25 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeExtensions.d.ts +17 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sso/package.json +33 -33
- package/node_modules/@aws-sdk/client-sts/README.md +7 -7
- package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +6 -4
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithSAMLCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/DecodeAuthorizationMessageCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetAccessKeyInfoCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetCallerIdentityCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetFederationTokenCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetSessionTokenCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-cjs/protocols/Aws_query.js +35 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeExtensions.js +22 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +6 -4
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +35 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.shared.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeExtensions.js +18 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +8 -3
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +8 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +6 -7
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +6 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +21 -16
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +20 -18
- package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/EndpointParameters.d.ts +3 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/extensionConfiguration.d.ts +8 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +121 -28
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeExtensions.d.ts +17 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sts/package.json +36 -36
- package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveAssumeRoleCredentials.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-node/README.md +6 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/resolveSSOCredentials.js +1 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +1 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts +3 -0
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-sdk-sts/dist-types/index.d.ts +3 -0
- package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-signing/dist-types/awsAuthConfiguration.d.ts +8 -1
- package/node_modules/@aws-sdk/middleware-signing/package.json +9 -8
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts +3 -0
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -6
- package/node_modules/@aws-sdk/{client-sso-oidc → region-config-resolver}/LICENSE +2 -2
- package/node_modules/@aws-sdk/region-config-resolver/README.md +12 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/extensions/index.js +30 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +5 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/config.js +15 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/getRealRegion.js +10 -0
- package/node_modules/@aws-sdk/{types/dist-cjs/connection → region-config-resolver/dist-cjs/regionConfig}/index.js +1 -2
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/isFipsRegion.js +5 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js +29 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js +25 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/index.js +2 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/config.js +12 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/getRealRegion.js +6 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/index.js +2 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/isFipsRegion.js +1 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/resolveRegionConfig.js +25 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/extensions/index.d.ts +16 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/index.d.ts +2 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/config.d.ts +17 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/getRealRegion.d.ts +4 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/index.d.ts +8 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/isFipsRegion.d.ts +4 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/resolveRegionConfig.d.ts +37 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/extensions/index.d.ts +14 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/index.d.ts +2 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/config.d.ts +8 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/getRealRegion.d.ts +1 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/index.d.ts +2 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/isFipsRegion.d.ts +1 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/resolveRegionConfig.d.ts +14 -0
- package/node_modules/@aws-sdk/region-config-resolver/package.json +61 -0
- package/node_modules/@aws-sdk/token-providers/README.md +20 -6
- package/node_modules/@aws-sdk/token-providers/dist-cjs/bundle/client-sso-oidc-browser.js +895 -0
- package/node_modules/@aws-sdk/token-providers/dist-cjs/bundle/client-sso-oidc-node.js +901 -0
- package/node_modules/@aws-sdk/token-providers/dist-cjs/getNewSsoOidcToken.js +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-cjs/getSsoOidcClient.js +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/token-providers/dist-es/bundle/client-sso-oidc-browser.js +872 -0
- package/node_modules/@aws-sdk/token-providers/dist-es/bundle/client-sso-oidc-node.js +878 -0
- package/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/token-providers/dist-types/bundle/client-sso-oidc-browser.d.ts +187 -0
- package/node_modules/@aws-sdk/token-providers/dist-types/bundle/client-sso-oidc-node.d.ts +187 -0
- package/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +1 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/bundle/client-sso-oidc-browser.d.ts +235 -0
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/bundle/client-sso-oidc-node.d.ts +235 -0
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +1 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/token-providers/package.json +42 -6
- package/node_modules/@aws-sdk/types/dist-cjs/auth.js +2 -5
- package/node_modules/@aws-sdk/types/dist-cjs/connection.js +2 -0
- package/node_modules/@aws-sdk/types/dist-cjs/endpoint.js +2 -5
- package/node_modules/@aws-sdk/types/dist-cjs/extensions/index.js +2 -0
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/types/dist-cjs/transfer.js +2 -6
- package/node_modules/@aws-sdk/types/dist-es/auth.js +1 -5
- package/node_modules/@aws-sdk/types/dist-es/connection.js +1 -0
- package/node_modules/@aws-sdk/types/dist-es/endpoint.js +1 -5
- package/node_modules/@aws-sdk/types/dist-es/extensions/index.js +1 -0
- package/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/types/dist-es/transfer.js +1 -6
- package/node_modules/@aws-sdk/types/dist-types/abort.d.ts +1 -49
- package/node_modules/@aws-sdk/types/dist-types/auth.d.ts +1 -55
- package/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +2 -22
- package/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +1 -63
- package/node_modules/@aws-sdk/types/dist-types/client.d.ts +1 -25
- package/node_modules/@aws-sdk/types/dist-types/command.d.ts +1 -10
- package/node_modules/@aws-sdk/types/dist-types/connection.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/crypto.d.ts +1 -60
- package/node_modules/@aws-sdk/types/dist-types/encode.d.ts +1 -19
- package/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts +1 -77
- package/node_modules/@aws-sdk/types/dist-types/eventStream.d.ts +1 -108
- package/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts +8 -0
- package/node_modules/@aws-sdk/types/dist-types/http.d.ts +2 -87
- package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +1 -23
- package/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts +1 -15
- package/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/logger.d.ts +2 -13
- package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +1 -475
- package/node_modules/@aws-sdk/types/dist-types/pagination.d.ts +1 -26
- package/node_modules/@aws-sdk/types/dist-types/profile.d.ts +1 -22
- package/node_modules/@aws-sdk/types/dist-types/response.d.ts +1 -40
- package/node_modules/@aws-sdk/types/dist-types/retry.d.ts +1 -128
- package/node_modules/@aws-sdk/types/dist-types/serde.d.ts +1 -104
- package/node_modules/@aws-sdk/types/dist-types/shapes.d.ts +1 -72
- package/node_modules/@aws-sdk/types/dist-types/signature.d.ts +1 -150
- package/node_modules/@aws-sdk/types/dist-types/stream.d.ts +1 -22
- package/node_modules/@aws-sdk/types/dist-types/transfer.d.ts +1 -33
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/abort.d.ts +1 -11
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/auth.d.ts +5 -17
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/blob/blob-types.d.ts +2 -7
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/checksum.d.ts +1 -12
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/client.d.ts +1 -52
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/command.d.ts +1 -17
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/connection.d.ts +6 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/crypto.d.ts +7 -14
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/encode.d.ts +6 -19
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/endpoint.d.ts +9 -43
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/eventStream.d.ts +24 -77
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/extensions/index.d.ts +5 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/http.d.ts +10 -26
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +4 -8
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/Identity.d.ts +1 -6
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/logger.d.ts +2 -7
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +40 -211
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/pagination.d.ts +1 -8
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/profile.d.ts +6 -7
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/response.d.ts +1 -11
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/retry.d.ts +12 -43
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/serde.d.ts +12 -46
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/shapes.d.ts +6 -24
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/signature.d.ts +15 -59
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/stream.d.ts +4 -16
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/transfer.d.ts +7 -26
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/uri.d.ts +1 -11
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/util.d.ts +14 -50
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/waiter.d.ts +1 -9
- package/node_modules/@aws-sdk/types/dist-types/uri.d.ts +1 -17
- package/node_modules/@aws-sdk/types/dist-types/util.d.ts +1 -155
- package/node_modules/@aws-sdk/types/dist-types/waiter.d.ts +1 -35
- package/node_modules/@aws-sdk/types/package.json +2 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +11 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +11 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
- package/node_modules/@smithy/abort-controller/package.json +7 -9
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionConfig/resolveRegionConfig.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/resolveRegionConfig.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/package.json +11 -12
- package/node_modules/@smithy/credential-provider-imds/package.json +10 -12
- package/node_modules/@smithy/eventstream-codec/package.json +9 -11
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/fetch-http-handler.js +23 -9
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +18 -5
- package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +22 -2
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +22 -2
- package/node_modules/@smithy/fetch-http-handler/package.json +11 -13
- package/node_modules/@smithy/hash-node/package.json +9 -11
- package/node_modules/@smithy/invalid-dependency/package.json +7 -9
- package/node_modules/@smithy/is-array-buffer/package.json +1 -1
- package/node_modules/@smithy/middleware-content-length/package.json +10 -10
- package/node_modules/@smithy/middleware-endpoint/dist-types/index.d.ts +0 -3
- package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/index.d.ts +0 -3
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +1 -1
- package/node_modules/@smithy/middleware-endpoint/package.json +11 -12
- package/node_modules/@smithy/middleware-retry/README.md +7 -0
- package/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts +3 -0
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/configurations.d.ts +3 -0
- package/node_modules/@smithy/middleware-retry/package.json +14 -14
- package/node_modules/@smithy/middleware-serde/package.json +9 -9
- package/node_modules/@smithy/middleware-stack/dist-cjs/MiddlewareStack.js +97 -35
- package/node_modules/@smithy/middleware-stack/dist-es/MiddlewareStack.js +95 -35
- package/node_modules/@smithy/middleware-stack/package.json +7 -9
- package/node_modules/@smithy/node-config-provider/package.json +9 -11
- package/node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js +13 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js +13 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +12 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +12 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +4 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +4 -2
- package/node_modules/@smithy/node-http-handler/package.json +10 -12
- package/node_modules/@smithy/property-provider/dist-cjs/chain.js +19 -13
- package/node_modules/@smithy/property-provider/dist-es/chain.js +19 -13
- package/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/chain.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +1 -1
- package/node_modules/@smithy/property-provider/package.json +7 -9
- package/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +27 -0
- package/node_modules/{@aws-sdk/client-sso-oidc/dist-cjs/models → @smithy/protocol-http/dist-cjs/extensions}/index.js +1 -1
- package/node_modules/@smithy/protocol-http/dist-cjs/index.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +22 -0
- package/node_modules/@smithy/protocol-http/dist-es/extensions/index.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-es/index.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +37 -0
- package/node_modules/@smithy/protocol-http/dist-types/extensions/index.d.ts +1 -0
- package/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +15 -1
- package/node_modules/@smithy/protocol-http/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +37 -0
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/index.d.ts +1 -0
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +15 -1
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@smithy/protocol-http/package.json +7 -9
- package/node_modules/@smithy/querystring-builder/package.json +7 -9
- package/node_modules/@smithy/querystring-parser/package.json +7 -9
- package/node_modules/@smithy/service-error-classification/package.json +9 -9
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +11 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +11 -1
- package/node_modules/@smithy/shared-ini-file-loader/package.json +7 -9
- package/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalQuery.js +1 -1
- package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +1 -1
- package/node_modules/@smithy/signature-v4/package.json +14 -16
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/checksum.js +36 -0
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/defaultExtensionConfiguration.js +20 -0
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/index.js +4 -0
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/retry.js +21 -0
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -0
- package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +31 -0
- package/node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js +15 -0
- package/node_modules/@smithy/smithy-client/dist-es/extensions/index.js +1 -0
- package/node_modules/@smithy/smithy-client/dist-es/extensions/retry.js +16 -0
- package/node_modules/@smithy/smithy-client/dist-es/index.js +1 -0
- package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +1 -1
- package/node_modules/@smithy/smithy-client/dist-types/defaults-mode.d.ts +1 -1
- package/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts +25 -0
- package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts +38 -0
- package/node_modules/@smithy/smithy-client/dist-types/extensions/index.d.ts +1 -0
- package/node_modules/@smithy/smithy-client/dist-types/extensions/retry.d.ts +15 -0
- package/node_modules/@smithy/smithy-client/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +1 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/defaults-mode.d.ts +1 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +25 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +38 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/index.d.ts +1 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/retry.d.ts +15 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@smithy/smithy-client/package.json +9 -11
- package/node_modules/@smithy/types/README.md +37 -0
- package/node_modules/@smithy/types/dist-cjs/blob/blob-payload-input-types.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/downlevel-ts3.4/transform/type-transform.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/extensions/checksum.js +44 -0
- package/node_modules/@smithy/types/dist-cjs/extensions/defaultClientConfiguration.js +16 -0
- package/node_modules/@smithy/types/dist-cjs/extensions/defaultExtensionConfiguration.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/extensions/index.js +8 -0
- package/node_modules/@smithy/types/dist-cjs/extensions/retry.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/externals-check/browser-externals-check.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/index.js +7 -0
- package/node_modules/@smithy/types/dist-cjs/middleware.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-common-types.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/transform/client-method-transforms.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/transform/client-payload-blob-type-narrow.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/transform/exact.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/transform/type-transform.js +2 -0
- package/node_modules/@smithy/types/dist-es/blob/blob-payload-input-types.js +1 -0
- package/node_modules/@smithy/types/dist-es/downlevel-ts3.4/transform/type-transform.js +1 -0
- package/node_modules/@smithy/types/dist-es/extensions/checksum.js +39 -0
- package/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js +11 -0
- package/node_modules/@smithy/types/dist-es/extensions/defaultExtensionConfiguration.js +1 -0
- package/node_modules/@smithy/types/dist-es/extensions/index.js +3 -0
- package/node_modules/@smithy/types/dist-es/extensions/retry.js +1 -0
- package/node_modules/@smithy/types/dist-es/externals-check/browser-externals-check.js +1 -0
- package/node_modules/@smithy/types/dist-es/index.js +7 -0
- package/node_modules/@smithy/types/dist-es/middleware.js +1 -1
- package/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-common-types.js +1 -0
- package/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-input-types.js +1 -0
- package/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-output-types.js +1 -0
- package/node_modules/@smithy/types/dist-es/transform/client-method-transforms.js +1 -0
- package/node_modules/@smithy/types/dist-es/transform/client-payload-blob-type-narrow.js +1 -0
- package/node_modules/@smithy/types/dist-es/transform/exact.js +1 -0
- package/node_modules/@smithy/types/dist-es/transform/type-transform.js +1 -0
- package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/client.d.ts +21 -2
- package/node_modules/@smithy/types/dist-types/downlevel-ts3.4/transform/type-transform.d.ts +25 -0
- package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +55 -0
- package/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts +33 -0
- package/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts +9 -0
- package/node_modules/@smithy/types/dist-types/extensions/index.d.ts +4 -0
- package/node_modules/@smithy/types/dist-types/extensions/retry.d.ts +18 -0
- package/node_modules/@smithy/types/dist-types/externals-check/browser-externals-check.d.ts +35 -0
- package/node_modules/@smithy/types/dist-types/index.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/middleware.d.ts +35 -0
- package/node_modules/@smithy/types/dist-types/pagination.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/response.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-common-types.d.ts +33 -0
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +62 -0
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +53 -0
- package/node_modules/@smithy/types/dist-types/transform/client-method-transforms.d.ts +26 -0
- package/node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts +59 -0
- package/node_modules/@smithy/types/dist-types/transform/exact.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/transform/type-transform.d.ts +34 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +40 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +26 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +55 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +33 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +9 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +4 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +18 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +35 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +35 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +33 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +61 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +52 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +26 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +64 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/util.d.ts +6 -0
- package/node_modules/@smithy/types/package.json +9 -10
- package/node_modules/@smithy/url-parser/package.json +8 -10
- package/node_modules/@smithy/util-base64/package.json +2 -2
- package/node_modules/@smithy/util-body-length-browser/package.json +1 -1
- package/node_modules/@smithy/util-body-length-node/dist-cjs/calculateBodyLength.js +3 -0
- package/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js +3 -0
- package/node_modules/@smithy/util-body-length-node/package.json +1 -1
- package/node_modules/@smithy/util-buffer-from/package.json +2 -2
- package/node_modules/@smithy/util-config-provider/package.json +1 -1
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +9 -11
- package/node_modules/@smithy/util-defaults-mode-node/package.json +12 -14
- package/node_modules/@smithy/util-hex-encoding/package.json +1 -1
- package/node_modules/@smithy/util-middleware/dist-cjs/getSmithyContext.js +6 -0
- package/node_modules/@smithy/util-middleware/dist-cjs/index.js +1 -0
- package/node_modules/@smithy/util-middleware/dist-es/getSmithyContext.js +2 -0
- package/node_modules/@smithy/util-middleware/dist-es/index.js +1 -0
- package/node_modules/@smithy/util-middleware/dist-types/getSmithyContext.d.ts +5 -0
- package/node_modules/@smithy/util-middleware/dist-types/index.d.ts +4 -0
- package/node_modules/@smithy/util-middleware/dist-types/ts3.4/getSmithyContext.d.ts +5 -0
- package/node_modules/@smithy/util-middleware/dist-types/ts3.4/index.d.ts +4 -0
- package/node_modules/@smithy/util-middleware/package.json +7 -9
- package/node_modules/@smithy/util-retry/README.md +2 -1
- package/node_modules/@smithy/util-retry/package.json +8 -10
- package/node_modules/@smithy/util-stream/README.md +0 -6
- package/node_modules/@smithy/util-stream/package.json +16 -15
- package/node_modules/@smithy/util-uri-escape/package.json +1 -1
- package/node_modules/@smithy/util-utf8/package.json +2 -2
- package/node_modules/@smithy/util-waiter/package.json +8 -10
- package/node_modules/tslib/package.json +2 -2
- package/node_modules/tslib/tslib.es6.js +28 -28
- package/node_modules/tslib/tslib.es6.mjs +1 -1
- package/node_modules/tslib/tslib.js +1 -1
- package/package.json +17 -19
- package/node_modules/@aws-sdk/client-sso-oidc/README.md +0 -268
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/SSOOIDC.js +0 -17
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/SSOOIDCClient.js +0 -38
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/CreateTokenCommand.js +0 -46
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/RegisterClientCommand.js +0 -46
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/StartDeviceAuthorizationCommand.js +0 -46
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/index.js +0 -6
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/EndpointParameters.js +0 -12
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js +0 -12
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +0 -10
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/models/SSOOIDCServiceException.js +0 -12
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/models/models_0.js +0 -184
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/protocols/Aws_restJson1.js +0 -469
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +0 -38
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +0 -45
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.native.js +0 -15
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.shared.js +0 -21
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDC.js +0 -13
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +0 -34
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js +0 -42
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js +0 -42
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js +0 -42
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/index.js +0 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/EndpointParameters.js +0 -8
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js +0 -8
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/index.js +0 -5
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/SSOOIDCServiceException.js +0 -8
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/index.js +0 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js +0 -169
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +0 -460
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +0 -33
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +0 -40
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.native.js +0 -11
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.shared.js +0 -17
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDC.d.ts +0 -70
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +0 -197
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +0 -129
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +0 -98
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +0 -102
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/index.d.ts +0 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/EndpointParameters.d.ts +0 -19
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/endpointResolver.d.ts +0 -5
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/index.d.ts +0 -49
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/SSOOIDCServiceException.d.ts +0 -13
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/index.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +0 -377
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/protocols/Aws_restJson1.d.ts +0 -29
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +0 -35
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +0 -35
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +0 -34
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.shared.d.ts +0 -18
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDC.d.ts +0 -56
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +0 -122
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +0 -35
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +0 -38
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +0 -42
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/index.d.ts +0 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +0 -33
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/endpointResolver.d.ts +0 -8
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/index.d.ts +0 -5
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/SSOOIDCServiceException.d.ts +0 -8
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/index.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/models_0.d.ts +0 -151
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -41
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +0 -65
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +0 -65
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +0 -56
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -18
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +0 -97
- package/node_modules/@aws-sdk/types/dist-es/connection/index.js +0 -3
- package/node_modules/@aws-sdk/types/dist-types/connection/config.d.ts +0 -7
- package/node_modules/@aws-sdk/types/dist-types/connection/index.d.ts +0 -3
- package/node_modules/@aws-sdk/types/dist-types/connection/manager.d.ts +0 -28
- package/node_modules/@aws-sdk/types/dist-types/connection/pool.d.ts +0 -24
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/connection/config.d.ts +0 -3
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/connection/index.d.ts +0 -3
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/connection/manager.d.ts +0 -14
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/connection/pool.d.ts +0 -9
- /package/node_modules/@aws-sdk/{types/dist-cjs/connection/config.js → client-codedeploy/dist-cjs/extensionConfiguration.js} +0 -0
- /package/node_modules/@aws-sdk/{types/dist-es/connection/config.js → client-codedeploy/dist-es/extensionConfiguration.js} +0 -0
- /package/node_modules/@aws-sdk/{types/dist-cjs/connection/manager.js → client-sso/dist-cjs/extensionConfiguration.js} +0 -0
- /package/node_modules/@aws-sdk/{types/dist-es/connection/manager.js → client-sso/dist-es/extensionConfiguration.js} +0 -0
- /package/node_modules/@aws-sdk/{types/dist-cjs/connection/pool.js → client-sts/dist-cjs/extensionConfiguration.js} +0 -0
- /package/node_modules/@aws-sdk/{types/dist-es/connection/pool.js → client-sts/dist-es/extensionConfiguration.js} +0 -0
|
@@ -1,15 +1,34 @@
|
|
|
1
|
+
const getAllAliases = (name, aliases) => {
|
|
2
|
+
const _aliases = [];
|
|
3
|
+
if (name) {
|
|
4
|
+
_aliases.push(name);
|
|
5
|
+
}
|
|
6
|
+
if (aliases) {
|
|
7
|
+
for (const alias of aliases) {
|
|
8
|
+
_aliases.push(alias);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
return _aliases;
|
|
12
|
+
};
|
|
13
|
+
const getMiddlewareNameWithAliases = (name, aliases) => {
|
|
14
|
+
return `${name || "anonymous"}${aliases && aliases.length > 0 ? ` (a.k.a. ${aliases.join(",")})` : ""}`;
|
|
15
|
+
};
|
|
1
16
|
export const constructStack = () => {
|
|
2
17
|
let absoluteEntries = [];
|
|
3
18
|
let relativeEntries = [];
|
|
19
|
+
let identifyOnResolve = false;
|
|
4
20
|
const entriesNameSet = new Set();
|
|
5
21
|
const sort = (entries) => entries.sort((a, b) => stepWeights[b.step] - stepWeights[a.step] ||
|
|
6
22
|
priorityWeights[b.priority || "normal"] - priorityWeights[a.priority || "normal"]);
|
|
7
23
|
const removeByName = (toRemove) => {
|
|
8
24
|
let isRemoved = false;
|
|
9
25
|
const filterCb = (entry) => {
|
|
10
|
-
|
|
26
|
+
const aliases = getAllAliases(entry.name, entry.aliases);
|
|
27
|
+
if (aliases.includes(toRemove)) {
|
|
11
28
|
isRemoved = true;
|
|
12
|
-
|
|
29
|
+
for (const alias of aliases) {
|
|
30
|
+
entriesNameSet.delete(alias);
|
|
31
|
+
}
|
|
13
32
|
return false;
|
|
14
33
|
}
|
|
15
34
|
return true;
|
|
@@ -23,8 +42,9 @@ export const constructStack = () => {
|
|
|
23
42
|
const filterCb = (entry) => {
|
|
24
43
|
if (entry.middleware === toRemove) {
|
|
25
44
|
isRemoved = true;
|
|
26
|
-
|
|
27
|
-
entriesNameSet.delete(
|
|
45
|
+
for (const alias of getAllAliases(entry.name, entry.aliases)) {
|
|
46
|
+
entriesNameSet.delete(alias);
|
|
47
|
+
}
|
|
28
48
|
return false;
|
|
29
49
|
}
|
|
30
50
|
return true;
|
|
@@ -40,6 +60,7 @@ export const constructStack = () => {
|
|
|
40
60
|
relativeEntries.forEach((entry) => {
|
|
41
61
|
toStack.addRelativeTo(entry.middleware, { ...entry });
|
|
42
62
|
});
|
|
63
|
+
toStack.identifyOnResolve?.(stack.identifyOnResolve());
|
|
43
64
|
return toStack;
|
|
44
65
|
};
|
|
45
66
|
const expandRelativeMiddlewareList = (from) => {
|
|
@@ -73,8 +94,9 @@ export const constructStack = () => {
|
|
|
73
94
|
before: [],
|
|
74
95
|
after: [],
|
|
75
96
|
};
|
|
76
|
-
|
|
77
|
-
normalizedEntriesNameMap[
|
|
97
|
+
for (const alias of getAllAliases(normalizedEntry.name, normalizedEntry.aliases)) {
|
|
98
|
+
normalizedEntriesNameMap[alias] = normalizedEntry;
|
|
99
|
+
}
|
|
78
100
|
normalizedAbsoluteEntries.push(normalizedEntry);
|
|
79
101
|
});
|
|
80
102
|
relativeEntries.forEach((entry) => {
|
|
@@ -83,8 +105,9 @@ export const constructStack = () => {
|
|
|
83
105
|
before: [],
|
|
84
106
|
after: [],
|
|
85
107
|
};
|
|
86
|
-
|
|
87
|
-
normalizedEntriesNameMap[
|
|
108
|
+
for (const alias of getAllAliases(normalizedEntry.name, normalizedEntry.aliases)) {
|
|
109
|
+
normalizedEntriesNameMap[alias] = normalizedEntry;
|
|
110
|
+
}
|
|
88
111
|
normalizedRelativeEntries.push(normalizedEntry);
|
|
89
112
|
});
|
|
90
113
|
normalizedRelativeEntries.forEach((entry) => {
|
|
@@ -94,7 +117,9 @@ export const constructStack = () => {
|
|
|
94
117
|
if (debug) {
|
|
95
118
|
return;
|
|
96
119
|
}
|
|
97
|
-
throw new Error(`${entry.toMiddleware} is not found when adding
|
|
120
|
+
throw new Error(`${entry.toMiddleware} is not found when adding ` +
|
|
121
|
+
`${getMiddlewareNameWithAliases(entry.name, entry.aliases)} ` +
|
|
122
|
+
`middleware ${entry.relation} ${entry.toMiddleware}`);
|
|
98
123
|
}
|
|
99
124
|
if (entry.relation === "after") {
|
|
100
125
|
toMiddleware.after.push(entry);
|
|
@@ -114,48 +139,68 @@ export const constructStack = () => {
|
|
|
114
139
|
};
|
|
115
140
|
const stack = {
|
|
116
141
|
add: (middleware, options = {}) => {
|
|
117
|
-
const { name, override } = options;
|
|
142
|
+
const { name, override, aliases: _aliases } = options;
|
|
118
143
|
const entry = {
|
|
119
144
|
step: "initialize",
|
|
120
145
|
priority: "normal",
|
|
121
146
|
middleware,
|
|
122
147
|
...options,
|
|
123
148
|
};
|
|
124
|
-
|
|
125
|
-
|
|
149
|
+
const aliases = getAllAliases(name, _aliases);
|
|
150
|
+
if (aliases.length > 0) {
|
|
151
|
+
if (aliases.some((alias) => entriesNameSet.has(alias))) {
|
|
126
152
|
if (!override)
|
|
127
|
-
throw new Error(`Duplicate middleware name '${name}'`);
|
|
128
|
-
const
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
153
|
+
throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
|
|
154
|
+
for (const alias of aliases) {
|
|
155
|
+
const toOverrideIndex = absoluteEntries.findIndex((entry) => entry.name === alias || entry.aliases?.some((a) => a === alias));
|
|
156
|
+
if (toOverrideIndex === -1) {
|
|
157
|
+
continue;
|
|
158
|
+
}
|
|
159
|
+
const toOverride = absoluteEntries[toOverrideIndex];
|
|
160
|
+
if (toOverride.step !== entry.step || entry.priority !== toOverride.priority) {
|
|
161
|
+
throw new Error(`"${getMiddlewareNameWithAliases(toOverride.name, toOverride.aliases)}" middleware with ` +
|
|
162
|
+
`${toOverride.priority} priority in ${toOverride.step} step cannot ` +
|
|
163
|
+
`be overridden by "${getMiddlewareNameWithAliases(name, _aliases)}" middleware with ` +
|
|
164
|
+
`${entry.priority} priority in ${entry.step} step.`);
|
|
165
|
+
}
|
|
166
|
+
absoluteEntries.splice(toOverrideIndex, 1);
|
|
133
167
|
}
|
|
134
|
-
absoluteEntries.splice(toOverrideIndex, 1);
|
|
135
168
|
}
|
|
136
|
-
|
|
169
|
+
for (const alias of aliases) {
|
|
170
|
+
entriesNameSet.add(alias);
|
|
171
|
+
}
|
|
137
172
|
}
|
|
138
173
|
absoluteEntries.push(entry);
|
|
139
174
|
},
|
|
140
175
|
addRelativeTo: (middleware, options) => {
|
|
141
|
-
const { name, override } = options;
|
|
176
|
+
const { name, override, aliases: _aliases } = options;
|
|
142
177
|
const entry = {
|
|
143
178
|
middleware,
|
|
144
179
|
...options,
|
|
145
180
|
};
|
|
146
|
-
|
|
147
|
-
|
|
181
|
+
const aliases = getAllAliases(name, _aliases);
|
|
182
|
+
if (aliases.length > 0) {
|
|
183
|
+
if (aliases.some((alias) => entriesNameSet.has(alias))) {
|
|
148
184
|
if (!override)
|
|
149
|
-
throw new Error(`Duplicate middleware name '${name}'`);
|
|
150
|
-
const
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
185
|
+
throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
|
|
186
|
+
for (const alias of aliases) {
|
|
187
|
+
const toOverrideIndex = relativeEntries.findIndex((entry) => entry.name === alias || entry.aliases?.some((a) => a === alias));
|
|
188
|
+
if (toOverrideIndex === -1) {
|
|
189
|
+
continue;
|
|
190
|
+
}
|
|
191
|
+
const toOverride = relativeEntries[toOverrideIndex];
|
|
192
|
+
if (toOverride.toMiddleware !== entry.toMiddleware || toOverride.relation !== entry.relation) {
|
|
193
|
+
throw new Error(`"${getMiddlewareNameWithAliases(toOverride.name, toOverride.aliases)}" middleware ` +
|
|
194
|
+
`${toOverride.relation} "${toOverride.toMiddleware}" middleware cannot be overridden ` +
|
|
195
|
+
`by "${getMiddlewareNameWithAliases(name, _aliases)}" middleware ${entry.relation} ` +
|
|
196
|
+
`"${entry.toMiddleware}" middleware.`);
|
|
197
|
+
}
|
|
198
|
+
relativeEntries.splice(toOverrideIndex, 1);
|
|
155
199
|
}
|
|
156
|
-
relativeEntries.splice(toOverrideIndex, 1);
|
|
157
200
|
}
|
|
158
|
-
|
|
201
|
+
for (const alias of aliases) {
|
|
202
|
+
entriesNameSet.add(alias);
|
|
203
|
+
}
|
|
159
204
|
}
|
|
160
205
|
relativeEntries.push(entry);
|
|
161
206
|
},
|
|
@@ -172,10 +217,12 @@ export const constructStack = () => {
|
|
|
172
217
|
removeByTag: (toRemove) => {
|
|
173
218
|
let isRemoved = false;
|
|
174
219
|
const filterCb = (entry) => {
|
|
175
|
-
const { tags, name } = entry;
|
|
220
|
+
const { tags, name, aliases: _aliases } = entry;
|
|
176
221
|
if (tags && tags.includes(toRemove)) {
|
|
177
|
-
|
|
178
|
-
|
|
222
|
+
const aliases = getAllAliases(name, _aliases);
|
|
223
|
+
for (const alias of aliases) {
|
|
224
|
+
entriesNameSet.delete(alias);
|
|
225
|
+
}
|
|
179
226
|
isRemoved = true;
|
|
180
227
|
return false;
|
|
181
228
|
}
|
|
@@ -188,20 +235,33 @@ export const constructStack = () => {
|
|
|
188
235
|
concat: (from) => {
|
|
189
236
|
const cloned = cloneTo(constructStack());
|
|
190
237
|
cloned.use(from);
|
|
238
|
+
cloned.identifyOnResolve(identifyOnResolve || cloned.identifyOnResolve() || (from.identifyOnResolve?.() ?? false));
|
|
191
239
|
return cloned;
|
|
192
240
|
},
|
|
193
241
|
applyToStack: cloneTo,
|
|
194
242
|
identify: () => {
|
|
195
243
|
return getMiddlewareList(true).map((mw) => {
|
|
196
|
-
|
|
244
|
+
const step = mw.step ??
|
|
245
|
+
mw.relation +
|
|
246
|
+
" " +
|
|
247
|
+
mw.toMiddleware;
|
|
248
|
+
return getMiddlewareNameWithAliases(mw.name, mw.aliases) + " - " + step;
|
|
197
249
|
});
|
|
198
250
|
},
|
|
251
|
+
identifyOnResolve(toggle) {
|
|
252
|
+
if (typeof toggle === "boolean")
|
|
253
|
+
identifyOnResolve = toggle;
|
|
254
|
+
return identifyOnResolve;
|
|
255
|
+
},
|
|
199
256
|
resolve: (handler, context) => {
|
|
200
257
|
for (const middleware of getMiddlewareList()
|
|
201
258
|
.map((entry) => entry.middleware)
|
|
202
259
|
.reverse()) {
|
|
203
260
|
handler = middleware(handler, context);
|
|
204
261
|
}
|
|
262
|
+
if (identifyOnResolve) {
|
|
263
|
+
console.log(stack.identify());
|
|
264
|
+
}
|
|
205
265
|
return handler;
|
|
206
266
|
},
|
|
207
267
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-stack",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.4",
|
|
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 && yarn build:types:downlevel'",
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
|
-
"build:es": "tsc -p tsconfig.es.json",
|
|
9
|
-
"build:types": "tsc -p tsconfig.types.json",
|
|
7
|
+
"build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
|
|
8
|
+
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
|
9
|
+
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
10
10
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
11
11
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
13
13
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
14
14
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
15
15
|
"extract:docs": "api-extractor run --local",
|
|
16
|
-
"test": "jest"
|
|
16
|
+
"test": "yarn g:jest"
|
|
17
17
|
},
|
|
18
18
|
"author": {
|
|
19
19
|
"name": "AWS SDK for JavaScript Team",
|
|
@@ -25,17 +25,15 @@
|
|
|
25
25
|
"module": "./dist-es/index.js",
|
|
26
26
|
"types": "./dist-types/index.d.ts",
|
|
27
27
|
"dependencies": {
|
|
28
|
+
"@smithy/types": "^2.3.4",
|
|
28
29
|
"tslib": "^2.5.0"
|
|
29
30
|
},
|
|
30
31
|
"devDependencies": {
|
|
31
|
-
"@smithy/types": "^1.1.1",
|
|
32
32
|
"@tsconfig/recommended": "1.0.1",
|
|
33
33
|
"concurrently": "7.0.0",
|
|
34
34
|
"downlevel-dts": "0.10.1",
|
|
35
|
-
"jest": "28.1.1",
|
|
36
35
|
"rimraf": "3.0.2",
|
|
37
|
-
"typedoc": "0.23.23"
|
|
38
|
-
"typescript": "~4.9.5"
|
|
36
|
+
"typedoc": "0.23.23"
|
|
39
37
|
},
|
|
40
38
|
"engines": {
|
|
41
39
|
"node": ">=14.0.0"
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/node-config-provider",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.13",
|
|
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 && yarn build:types:downlevel'",
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
|
-
"build:es": "tsc -p tsconfig.es.json",
|
|
9
|
-
"build:types": "tsc -p tsconfig.types.json",
|
|
7
|
+
"build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
|
|
8
|
+
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
|
9
|
+
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
10
10
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
11
11
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
13
13
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
14
14
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
15
|
-
"test": "jest --passWithNoTests"
|
|
15
|
+
"test": "yarn g:jest --passWithNoTests"
|
|
16
16
|
},
|
|
17
17
|
"author": {
|
|
18
18
|
"name": "AWS SDK for JavaScript Team",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"module": "./dist-es/index.js",
|
|
25
25
|
"types": "./dist-types/index.d.ts",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/property-provider": "^
|
|
28
|
-
"@smithy/shared-ini-file-loader": "^
|
|
29
|
-
"@smithy/types": "^
|
|
27
|
+
"@smithy/property-provider": "^2.0.11",
|
|
28
|
+
"@smithy/shared-ini-file-loader": "^2.0.12",
|
|
29
|
+
"@smithy/types": "^2.3.4",
|
|
30
30
|
"tslib": "^2.5.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -34,10 +34,8 @@
|
|
|
34
34
|
"@types/node": "^14.14.31",
|
|
35
35
|
"concurrently": "7.0.0",
|
|
36
36
|
"downlevel-dts": "0.10.1",
|
|
37
|
-
"jest": "28.1.1",
|
|
38
37
|
"rimraf": "3.0.2",
|
|
39
|
-
"typedoc": "0.23.23"
|
|
40
|
-
"typescript": "~4.9.5"
|
|
38
|
+
"typedoc": "0.23.23"
|
|
41
39
|
},
|
|
42
40
|
"engines": {
|
|
43
41
|
"node": ">=14.0.0"
|
|
@@ -130,5 +130,18 @@ class NodeHttpHandler {
|
|
|
130
130
|
writeRequestBodyPromise = (0, write_request_body_1.writeRequestBody)(req, request, this.config.requestTimeout).catch(_reject);
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
|
+
updateHttpClientConfig(key, value) {
|
|
134
|
+
this.config = undefined;
|
|
135
|
+
this.configProvider = this.configProvider.then((config) => {
|
|
136
|
+
return {
|
|
137
|
+
...config,
|
|
138
|
+
[key]: value,
|
|
139
|
+
};
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
httpHandlerConfigs() {
|
|
143
|
+
var _a;
|
|
144
|
+
return (_a = this.config) !== null && _a !== void 0 ? _a : {};
|
|
145
|
+
}
|
|
133
146
|
}
|
|
134
147
|
exports.NodeHttpHandler = NodeHttpHandler;
|
|
@@ -137,6 +137,19 @@ class NodeHttp2Handler {
|
|
|
137
137
|
writeRequestBodyPromise = (0, write_request_body_1.writeRequestBody)(req, request, requestTimeout);
|
|
138
138
|
});
|
|
139
139
|
}
|
|
140
|
+
updateHttpClientConfig(key, value) {
|
|
141
|
+
this.config = undefined;
|
|
142
|
+
this.configProvider = this.configProvider.then((config) => {
|
|
143
|
+
return {
|
|
144
|
+
...config,
|
|
145
|
+
[key]: value,
|
|
146
|
+
};
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
httpHandlerConfigs() {
|
|
150
|
+
var _a;
|
|
151
|
+
return (_a = this.config) !== null && _a !== void 0 ? _a : {};
|
|
152
|
+
}
|
|
140
153
|
destroySession(session) {
|
|
141
154
|
if (!session.destroyed) {
|
|
142
155
|
session.destroy();
|
|
@@ -125,4 +125,16 @@ export class NodeHttpHandler {
|
|
|
125
125
|
writeRequestBodyPromise = writeRequestBody(req, request, this.config.requestTimeout).catch(_reject);
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
+
updateHttpClientConfig(key, value) {
|
|
129
|
+
this.config = undefined;
|
|
130
|
+
this.configProvider = this.configProvider.then((config) => {
|
|
131
|
+
return {
|
|
132
|
+
...config,
|
|
133
|
+
[key]: value,
|
|
134
|
+
};
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
httpHandlerConfigs() {
|
|
138
|
+
return this.config ?? {};
|
|
139
|
+
}
|
|
128
140
|
}
|
|
@@ -133,6 +133,18 @@ export class NodeHttp2Handler {
|
|
|
133
133
|
writeRequestBodyPromise = writeRequestBody(req, request, requestTimeout);
|
|
134
134
|
});
|
|
135
135
|
}
|
|
136
|
+
updateHttpClientConfig(key, value) {
|
|
137
|
+
this.config = undefined;
|
|
138
|
+
this.configProvider = this.configProvider.then((config) => {
|
|
139
|
+
return {
|
|
140
|
+
...config,
|
|
141
|
+
[key]: value,
|
|
142
|
+
};
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
httpHandlerConfigs() {
|
|
146
|
+
return this.config ?? {};
|
|
147
|
+
}
|
|
136
148
|
destroySession(session) {
|
|
137
149
|
if (!session.destroyed) {
|
|
138
150
|
session.destroy();
|
|
@@ -31,9 +31,9 @@ export interface NodeHttpHandlerOptions {
|
|
|
31
31
|
httpsAgent?: hsAgent;
|
|
32
32
|
}
|
|
33
33
|
export declare const DEFAULT_REQUEST_TIMEOUT = 0;
|
|
34
|
-
export declare class NodeHttpHandler implements HttpHandler {
|
|
34
|
+
export declare class NodeHttpHandler implements HttpHandler<NodeHttpHandlerOptions> {
|
|
35
35
|
private config?;
|
|
36
|
-
private
|
|
36
|
+
private configProvider;
|
|
37
37
|
readonly metadata: {
|
|
38
38
|
handlerProtocol: string;
|
|
39
39
|
};
|
|
@@ -43,4 +43,6 @@ export declare class NodeHttpHandler implements HttpHandler {
|
|
|
43
43
|
handle(request: HttpRequest, { abortSignal }?: HttpHandlerOptions): Promise<{
|
|
44
44
|
response: HttpResponse;
|
|
45
45
|
}>;
|
|
46
|
+
updateHttpClientConfig(key: keyof NodeHttpHandlerOptions, value: NodeHttpHandlerOptions[typeof key]): void;
|
|
47
|
+
httpHandlerConfigs(): NodeHttpHandlerOptions;
|
|
46
48
|
}
|
|
@@ -30,9 +30,9 @@ export interface NodeHttp2HandlerOptions {
|
|
|
30
30
|
*/
|
|
31
31
|
maxConcurrentStreams?: number;
|
|
32
32
|
}
|
|
33
|
-
export declare class NodeHttp2Handler implements HttpHandler {
|
|
33
|
+
export declare class NodeHttp2Handler implements HttpHandler<NodeHttp2HandlerOptions> {
|
|
34
34
|
private config?;
|
|
35
|
-
private
|
|
35
|
+
private configProvider;
|
|
36
36
|
readonly metadata: {
|
|
37
37
|
handlerProtocol: string;
|
|
38
38
|
};
|
|
@@ -42,6 +42,8 @@ export declare class NodeHttp2Handler implements HttpHandler {
|
|
|
42
42
|
handle(request: HttpRequest, { abortSignal }?: HttpHandlerOptions): Promise<{
|
|
43
43
|
response: HttpResponse;
|
|
44
44
|
}>;
|
|
45
|
+
updateHttpClientConfig(key: keyof NodeHttp2HandlerOptions, value: NodeHttp2HandlerOptions[typeof key]): void;
|
|
46
|
+
httpHandlerConfigs(): NodeHttp2HandlerOptions;
|
|
45
47
|
/**
|
|
46
48
|
* Destroys a session.
|
|
47
49
|
* @param session The session to destroy.
|
|
@@ -30,9 +30,9 @@ export interface NodeHttpHandlerOptions {
|
|
|
30
30
|
httpsAgent?: hsAgent;
|
|
31
31
|
}
|
|
32
32
|
export declare const DEFAULT_REQUEST_TIMEOUT = 0;
|
|
33
|
-
export declare class NodeHttpHandler implements HttpHandler {
|
|
33
|
+
export declare class NodeHttpHandler implements HttpHandler<NodeHttpHandlerOptions> {
|
|
34
34
|
private config?;
|
|
35
|
-
private
|
|
35
|
+
private configProvider;
|
|
36
36
|
readonly metadata: {
|
|
37
37
|
handlerProtocol: string;
|
|
38
38
|
};
|
|
@@ -42,4 +42,6 @@ export declare class NodeHttpHandler implements HttpHandler {
|
|
|
42
42
|
handle(request: HttpRequest, { abortSignal }?: HttpHandlerOptions): Promise<{
|
|
43
43
|
response: HttpResponse;
|
|
44
44
|
}>;
|
|
45
|
+
updateHttpClientConfig(key: keyof NodeHttpHandlerOptions, value: NodeHttpHandlerOptions[typeof key]): void;
|
|
46
|
+
httpHandlerConfigs(): NodeHttpHandlerOptions;
|
|
45
47
|
}
|
|
@@ -30,9 +30,9 @@ export interface NodeHttp2HandlerOptions {
|
|
|
30
30
|
*/
|
|
31
31
|
maxConcurrentStreams?: number;
|
|
32
32
|
}
|
|
33
|
-
export declare class NodeHttp2Handler implements HttpHandler {
|
|
33
|
+
export declare class NodeHttp2Handler implements HttpHandler<NodeHttp2HandlerOptions> {
|
|
34
34
|
private config?;
|
|
35
|
-
private
|
|
35
|
+
private configProvider;
|
|
36
36
|
readonly metadata: {
|
|
37
37
|
handlerProtocol: string;
|
|
38
38
|
};
|
|
@@ -42,6 +42,8 @@ export declare class NodeHttp2Handler implements HttpHandler {
|
|
|
42
42
|
handle(request: HttpRequest, { abortSignal }?: HttpHandlerOptions): Promise<{
|
|
43
43
|
response: HttpResponse;
|
|
44
44
|
}>;
|
|
45
|
+
updateHttpClientConfig(key: keyof NodeHttp2HandlerOptions, value: NodeHttp2HandlerOptions[typeof key]): void;
|
|
46
|
+
httpHandlerConfigs(): NodeHttp2HandlerOptions;
|
|
45
47
|
/**
|
|
46
48
|
* Destroys a session.
|
|
47
49
|
* @param session The session to destroy.
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/node-http-handler",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "2.1.6",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
|
-
"build:es": "tsc -p tsconfig.es.json",
|
|
9
|
-
"build:types": "tsc -p tsconfig.types.json",
|
|
7
|
+
"build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
|
|
8
|
+
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
|
9
|
+
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
10
10
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
11
11
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
13
13
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
14
14
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
15
15
|
"extract:docs": "api-extractor run --local",
|
|
16
|
-
"test": "jest --coverage --forceExit"
|
|
16
|
+
"test": "yarn g:jest --coverage --forceExit"
|
|
17
17
|
},
|
|
18
18
|
"author": {
|
|
19
19
|
"name": "AWS SDK for JavaScript Team",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"module": "./dist-es/index.js",
|
|
26
26
|
"types": "./dist-types/index.d.ts",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/abort-controller": "^
|
|
29
|
-
"@smithy/protocol-http": "^
|
|
30
|
-
"@smithy/querystring-builder": "^
|
|
31
|
-
"@smithy/types": "^
|
|
28
|
+
"@smithy/abort-controller": "^2.0.10",
|
|
29
|
+
"@smithy/protocol-http": "^3.0.6",
|
|
30
|
+
"@smithy/querystring-builder": "^2.0.10",
|
|
31
|
+
"@smithy/types": "^2.3.4",
|
|
32
32
|
"tslib": "^2.5.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
@@ -36,10 +36,8 @@
|
|
|
36
36
|
"@types/node": "^14.14.31",
|
|
37
37
|
"concurrently": "7.0.0",
|
|
38
38
|
"downlevel-dts": "0.10.1",
|
|
39
|
-
"jest": "28.1.1",
|
|
40
39
|
"rimraf": "3.0.2",
|
|
41
|
-
"typedoc": "0.23.23"
|
|
42
|
-
"typescript": "~4.9.5"
|
|
40
|
+
"typedoc": "0.23.23"
|
|
43
41
|
},
|
|
44
42
|
"engines": {
|
|
45
43
|
"node": ">=14.0.0"
|
|
@@ -2,18 +2,24 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.chain = void 0;
|
|
4
4
|
const ProviderError_1 = require("./ProviderError");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
});
|
|
5
|
+
const chain = (...providers) => async () => {
|
|
6
|
+
if (providers.length === 0) {
|
|
7
|
+
throw new ProviderError_1.ProviderError("No providers in chain");
|
|
8
|
+
}
|
|
9
|
+
let lastProviderError;
|
|
10
|
+
for (const provider of providers) {
|
|
11
|
+
try {
|
|
12
|
+
const credentials = await provider();
|
|
13
|
+
return credentials;
|
|
15
14
|
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
catch (err) {
|
|
16
|
+
lastProviderError = err;
|
|
17
|
+
if (err === null || err === void 0 ? void 0 : err.tryNextLink) {
|
|
18
|
+
continue;
|
|
19
|
+
}
|
|
20
|
+
throw err;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
throw lastProviderError;
|
|
24
|
+
};
|
|
19
25
|
exports.chain = chain;
|
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
import { ProviderError } from "./ProviderError";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
});
|
|
2
|
+
export const chain = (...providers) => async () => {
|
|
3
|
+
if (providers.length === 0) {
|
|
4
|
+
throw new ProviderError("No providers in chain");
|
|
5
|
+
}
|
|
6
|
+
let lastProviderError;
|
|
7
|
+
for (const provider of providers) {
|
|
8
|
+
try {
|
|
9
|
+
const credentials = await provider();
|
|
10
|
+
return credentials;
|
|
12
11
|
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
catch (err) {
|
|
13
|
+
lastProviderError = err;
|
|
14
|
+
if (err?.tryNextLink) {
|
|
15
|
+
continue;
|
|
16
|
+
}
|
|
17
|
+
throw err;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
throw lastProviderError;
|
|
21
|
+
};
|
|
@@ -10,4 +10,4 @@ import { Provider } from "@smithy/types";
|
|
|
10
10
|
* If no providers were received or no provider resolves successfully, the
|
|
11
11
|
* returned promise will be rejected.
|
|
12
12
|
*/
|
|
13
|
-
export declare
|
|
13
|
+
export declare const chain: <T>(...providers: Provider<T>[]) => Provider<T>;
|