@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,17 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-content-length",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.12",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
|
-
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
7
|
-
"build:es": "tsc -p tsconfig.es.json",
|
|
8
|
-
"build:types": "tsc -p tsconfig.types.json",
|
|
6
|
+
"build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
|
|
7
|
+
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
|
8
|
+
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
9
9
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
10
10
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
13
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
14
|
-
"test": "exit 0"
|
|
14
|
+
"test": "exit 0",
|
|
15
|
+
"test:integration": "yarn g:jest --config jest.config.integ.js"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
17
18
|
"module": "./dist-es/index.js",
|
|
@@ -22,8 +23,8 @@
|
|
|
22
23
|
},
|
|
23
24
|
"license": "Apache-2.0",
|
|
24
25
|
"dependencies": {
|
|
25
|
-
"@smithy/protocol-http": "^
|
|
26
|
-
"@smithy/types": "^
|
|
26
|
+
"@smithy/protocol-http": "^3.0.6",
|
|
27
|
+
"@smithy/types": "^2.3.4",
|
|
27
28
|
"tslib": "^2.5.0"
|
|
28
29
|
},
|
|
29
30
|
"engines": {
|
|
@@ -46,13 +47,12 @@
|
|
|
46
47
|
"directory": "packages/middleware-content-length"
|
|
47
48
|
},
|
|
48
49
|
"devDependencies": {
|
|
50
|
+
"@smithy/util-test": "^0.1.6",
|
|
49
51
|
"@tsconfig/recommended": "1.0.1",
|
|
50
52
|
"concurrently": "7.0.0",
|
|
51
53
|
"downlevel-dts": "0.10.1",
|
|
52
|
-
"jest": "28.1.1",
|
|
53
54
|
"rimraf": "3.0.2",
|
|
54
|
-
"typedoc": "0.23.23"
|
|
55
|
-
"typescript": "~4.9.5"
|
|
55
|
+
"typedoc": "0.23.23"
|
|
56
56
|
},
|
|
57
57
|
"typedoc": {
|
|
58
58
|
"entryPoint": "src/index.ts"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Endpoint, EndpointParameters, EndpointV2, Logger, Provider, UrlParser } from "@smithy/types";
|
|
2
2
|
/**
|
|
3
|
-
* @
|
|
3
|
+
* @public
|
|
4
4
|
*
|
|
5
5
|
* Endpoint config interfaces and resolver for Endpoint v2. They live in separate package to allow per-service onboarding.
|
|
6
6
|
* When all services onboard Endpoint v2, the resolver in config-resolver package can be removed.
|
package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Endpoint, EndpointParameters, EndpointV2, Logger, Provider, UrlParser } from "@smithy/types";
|
|
2
2
|
/**
|
|
3
|
-
* @
|
|
3
|
+
* @public
|
|
4
4
|
*
|
|
5
5
|
* Endpoint config interfaces and resolver for Endpoint v2. They live in separate package to allow per-service onboarding.
|
|
6
6
|
* When all services onboard Endpoint v2, the resolver in config-resolver package can be removed.
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-endpoint",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.10",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
|
-
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
7
|
-
"build:es": "tsc -p tsconfig.es.json",
|
|
8
|
-
"build:types": "tsc -p tsconfig.types.json",
|
|
6
|
+
"build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
|
|
7
|
+
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
|
8
|
+
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
9
9
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
10
10
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
13
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
14
|
-
"test": "jest --passWithNoTests"
|
|
14
|
+
"test": "yarn g:jest --passWithNoTests",
|
|
15
|
+
"extract:docs": "api-extractor run --local"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
17
18
|
"module": "./dist-es/index.js",
|
|
@@ -22,20 +23,18 @@
|
|
|
22
23
|
},
|
|
23
24
|
"license": "Apache-2.0",
|
|
24
25
|
"dependencies": {
|
|
25
|
-
"@smithy/middleware-serde": "^
|
|
26
|
-
"@smithy/types": "^
|
|
27
|
-
"@smithy/url-parser": "^
|
|
28
|
-
"@smithy/util-middleware": "^
|
|
26
|
+
"@smithy/middleware-serde": "^2.0.10",
|
|
27
|
+
"@smithy/types": "^2.3.4",
|
|
28
|
+
"@smithy/url-parser": "^2.0.10",
|
|
29
|
+
"@smithy/util-middleware": "^2.0.3",
|
|
29
30
|
"tslib": "^2.5.0"
|
|
30
31
|
},
|
|
31
32
|
"devDependencies": {
|
|
32
33
|
"@tsconfig/recommended": "1.0.1",
|
|
33
34
|
"concurrently": "7.0.0",
|
|
34
35
|
"downlevel-dts": "0.10.1",
|
|
35
|
-
"jest": "28.1.1",
|
|
36
36
|
"rimraf": "3.0.2",
|
|
37
|
-
"typedoc": "0.23.23"
|
|
38
|
-
"typescript": "~4.9.5"
|
|
37
|
+
"typedoc": "0.23.23"
|
|
39
38
|
},
|
|
40
39
|
"engines": {
|
|
41
40
|
"node": ">=14.0.0"
|
|
@@ -2,3 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@smithy/middleware-retry)
|
|
4
4
|
[](https://www.npmjs.com/package/@smithy/middleware-retry)
|
|
5
|
+
|
|
6
|
+
## Usage
|
|
7
|
+
|
|
8
|
+
See [@smithy/util-retry](https://github.com/awslabs/smithy-typescript/tree/main/packages/util-retry)
|
|
9
|
+
for retry behavior and configuration.
|
|
10
|
+
|
|
11
|
+
See also: [AWS Documentation: Retry behavior](https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html).
|
|
@@ -3,6 +3,9 @@ import { Provider, RetryStrategy, RetryStrategyV2 } from "@smithy/types";
|
|
|
3
3
|
export declare const ENV_MAX_ATTEMPTS = "AWS_MAX_ATTEMPTS";
|
|
4
4
|
export declare const CONFIG_MAX_ATTEMPTS = "max_attempts";
|
|
5
5
|
export declare const NODE_MAX_ATTEMPT_CONFIG_OPTIONS: LoadedConfigSelectors<number>;
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
6
9
|
export interface RetryInputConfig {
|
|
7
10
|
/**
|
|
8
11
|
* The maximum number of times requests that encounter retryable failures should be attempted.
|
|
@@ -3,6 +3,9 @@ import { Provider, RetryStrategy, RetryStrategyV2 } from "@smithy/types";
|
|
|
3
3
|
export declare const ENV_MAX_ATTEMPTS = "AWS_MAX_ATTEMPTS";
|
|
4
4
|
export declare const CONFIG_MAX_ATTEMPTS = "max_attempts";
|
|
5
5
|
export declare const NODE_MAX_ATTEMPT_CONFIG_OPTIONS: LoadedConfigSelectors<number>;
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
6
9
|
export interface RetryInputConfig {
|
|
7
10
|
/**
|
|
8
11
|
* The maximum number of times requests that encounter retryable failures should be attempted.
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-retry",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.13",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
|
-
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
7
|
-
"build:es": "tsc -p tsconfig.es.json",
|
|
8
|
-
"build:types": "tsc -p tsconfig.types.json",
|
|
6
|
+
"build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
|
|
7
|
+
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
|
8
|
+
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
9
9
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
10
10
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
13
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
14
14
|
"extract:docs": "api-extractor run --local",
|
|
15
|
-
"test": "jest"
|
|
15
|
+
"test": "yarn g:jest",
|
|
16
|
+
"test:integration": "yarn g:jest --config jest.config.integ.js"
|
|
16
17
|
},
|
|
17
18
|
"main": "./dist-cjs/index.js",
|
|
18
19
|
"module": "./dist-es/index.js",
|
|
@@ -23,24 +24,23 @@
|
|
|
23
24
|
},
|
|
24
25
|
"license": "Apache-2.0",
|
|
25
26
|
"dependencies": {
|
|
26
|
-
"@smithy/
|
|
27
|
-
"@smithy/
|
|
28
|
-
"@smithy/
|
|
29
|
-
"@smithy/
|
|
30
|
-
"@smithy/util-
|
|
27
|
+
"@smithy/node-config-provider": "^2.0.13",
|
|
28
|
+
"@smithy/protocol-http": "^3.0.6",
|
|
29
|
+
"@smithy/service-error-classification": "^2.0.3",
|
|
30
|
+
"@smithy/types": "^2.3.4",
|
|
31
|
+
"@smithy/util-middleware": "^2.0.3",
|
|
32
|
+
"@smithy/util-retry": "^2.0.3",
|
|
31
33
|
"tslib": "^2.5.0",
|
|
32
34
|
"uuid": "^8.3.2"
|
|
33
35
|
},
|
|
34
36
|
"devDependencies": {
|
|
35
|
-
"@smithy/
|
|
37
|
+
"@smithy/util-test": "^0.1.6",
|
|
36
38
|
"@tsconfig/recommended": "1.0.1",
|
|
37
39
|
"@types/uuid": "^8.3.0",
|
|
38
40
|
"concurrently": "7.0.0",
|
|
39
41
|
"downlevel-dts": "0.10.1",
|
|
40
|
-
"jest": "28.1.1",
|
|
41
42
|
"rimraf": "3.0.2",
|
|
42
|
-
"typedoc": "0.23.23"
|
|
43
|
-
"typescript": "~4.9.5"
|
|
43
|
+
"typedoc": "0.23.23"
|
|
44
44
|
},
|
|
45
45
|
"engines": {
|
|
46
46
|
"node": ">=14.0.0"
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-serde",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.10",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
|
-
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
7
|
-
"build:es": "tsc -p tsconfig.es.json",
|
|
8
|
-
"build:types": "tsc -p tsconfig.types.json",
|
|
6
|
+
"build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
|
|
7
|
+
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
|
8
|
+
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
9
9
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
10
10
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
13
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
14
|
-
"test": "jest"
|
|
14
|
+
"test": "yarn g:jest",
|
|
15
|
+
"test:integration": "yarn g:jest --config jest.config.integ.js"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
17
18
|
"module": "./dist-es/index.js",
|
|
@@ -22,7 +23,7 @@
|
|
|
22
23
|
},
|
|
23
24
|
"license": "Apache-2.0",
|
|
24
25
|
"dependencies": {
|
|
25
|
-
"@smithy/types": "^
|
|
26
|
+
"@smithy/types": "^2.3.4",
|
|
26
27
|
"tslib": "^2.5.0"
|
|
27
28
|
},
|
|
28
29
|
"engines": {
|
|
@@ -45,13 +46,12 @@
|
|
|
45
46
|
"directory": "packages/middleware-serde"
|
|
46
47
|
},
|
|
47
48
|
"devDependencies": {
|
|
49
|
+
"@smithy/util-test": "^0.1.6",
|
|
48
50
|
"@tsconfig/recommended": "1.0.1",
|
|
49
51
|
"concurrently": "7.0.0",
|
|
50
52
|
"downlevel-dts": "0.10.1",
|
|
51
|
-
"jest": "28.1.1",
|
|
52
53
|
"rimraf": "3.0.2",
|
|
53
|
-
"typedoc": "0.23.23"
|
|
54
|
-
"typescript": "~4.9.5"
|
|
54
|
+
"typedoc": "0.23.23"
|
|
55
55
|
},
|
|
56
56
|
"typedoc": {
|
|
57
57
|
"entryPoint": "src/index.ts"
|
|
@@ -1,18 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.constructStack = void 0;
|
|
4
|
+
const getAllAliases = (name, aliases) => {
|
|
5
|
+
const _aliases = [];
|
|
6
|
+
if (name) {
|
|
7
|
+
_aliases.push(name);
|
|
8
|
+
}
|
|
9
|
+
if (aliases) {
|
|
10
|
+
for (const alias of aliases) {
|
|
11
|
+
_aliases.push(alias);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
return _aliases;
|
|
15
|
+
};
|
|
16
|
+
const getMiddlewareNameWithAliases = (name, aliases) => {
|
|
17
|
+
return `${name || "anonymous"}${aliases && aliases.length > 0 ? ` (a.k.a. ${aliases.join(",")})` : ""}`;
|
|
18
|
+
};
|
|
4
19
|
const constructStack = () => {
|
|
5
20
|
let absoluteEntries = [];
|
|
6
21
|
let relativeEntries = [];
|
|
22
|
+
let identifyOnResolve = false;
|
|
7
23
|
const entriesNameSet = new Set();
|
|
8
24
|
const sort = (entries) => entries.sort((a, b) => stepWeights[b.step] - stepWeights[a.step] ||
|
|
9
25
|
priorityWeights[b.priority || "normal"] - priorityWeights[a.priority || "normal"]);
|
|
10
26
|
const removeByName = (toRemove) => {
|
|
11
27
|
let isRemoved = false;
|
|
12
28
|
const filterCb = (entry) => {
|
|
13
|
-
|
|
29
|
+
const aliases = getAllAliases(entry.name, entry.aliases);
|
|
30
|
+
if (aliases.includes(toRemove)) {
|
|
14
31
|
isRemoved = true;
|
|
15
|
-
|
|
32
|
+
for (const alias of aliases) {
|
|
33
|
+
entriesNameSet.delete(alias);
|
|
34
|
+
}
|
|
16
35
|
return false;
|
|
17
36
|
}
|
|
18
37
|
return true;
|
|
@@ -26,8 +45,9 @@ const constructStack = () => {
|
|
|
26
45
|
const filterCb = (entry) => {
|
|
27
46
|
if (entry.middleware === toRemove) {
|
|
28
47
|
isRemoved = true;
|
|
29
|
-
|
|
30
|
-
entriesNameSet.delete(
|
|
48
|
+
for (const alias of getAllAliases(entry.name, entry.aliases)) {
|
|
49
|
+
entriesNameSet.delete(alias);
|
|
50
|
+
}
|
|
31
51
|
return false;
|
|
32
52
|
}
|
|
33
53
|
return true;
|
|
@@ -37,12 +57,14 @@ const constructStack = () => {
|
|
|
37
57
|
return isRemoved;
|
|
38
58
|
};
|
|
39
59
|
const cloneTo = (toStack) => {
|
|
60
|
+
var _a;
|
|
40
61
|
absoluteEntries.forEach((entry) => {
|
|
41
62
|
toStack.add(entry.middleware, { ...entry });
|
|
42
63
|
});
|
|
43
64
|
relativeEntries.forEach((entry) => {
|
|
44
65
|
toStack.addRelativeTo(entry.middleware, { ...entry });
|
|
45
66
|
});
|
|
67
|
+
(_a = toStack.identifyOnResolve) === null || _a === void 0 ? void 0 : _a.call(toStack, stack.identifyOnResolve());
|
|
46
68
|
return toStack;
|
|
47
69
|
};
|
|
48
70
|
const expandRelativeMiddlewareList = (from) => {
|
|
@@ -76,8 +98,9 @@ const constructStack = () => {
|
|
|
76
98
|
before: [],
|
|
77
99
|
after: [],
|
|
78
100
|
};
|
|
79
|
-
|
|
80
|
-
normalizedEntriesNameMap[
|
|
101
|
+
for (const alias of getAllAliases(normalizedEntry.name, normalizedEntry.aliases)) {
|
|
102
|
+
normalizedEntriesNameMap[alias] = normalizedEntry;
|
|
103
|
+
}
|
|
81
104
|
normalizedAbsoluteEntries.push(normalizedEntry);
|
|
82
105
|
});
|
|
83
106
|
relativeEntries.forEach((entry) => {
|
|
@@ -86,8 +109,9 @@ const constructStack = () => {
|
|
|
86
109
|
before: [],
|
|
87
110
|
after: [],
|
|
88
111
|
};
|
|
89
|
-
|
|
90
|
-
normalizedEntriesNameMap[
|
|
112
|
+
for (const alias of getAllAliases(normalizedEntry.name, normalizedEntry.aliases)) {
|
|
113
|
+
normalizedEntriesNameMap[alias] = normalizedEntry;
|
|
114
|
+
}
|
|
91
115
|
normalizedRelativeEntries.push(normalizedEntry);
|
|
92
116
|
});
|
|
93
117
|
normalizedRelativeEntries.forEach((entry) => {
|
|
@@ -97,7 +121,9 @@ const constructStack = () => {
|
|
|
97
121
|
if (debug) {
|
|
98
122
|
return;
|
|
99
123
|
}
|
|
100
|
-
throw new Error(`${entry.toMiddleware} is not found when adding
|
|
124
|
+
throw new Error(`${entry.toMiddleware} is not found when adding ` +
|
|
125
|
+
`${getMiddlewareNameWithAliases(entry.name, entry.aliases)} ` +
|
|
126
|
+
`middleware ${entry.relation} ${entry.toMiddleware}`);
|
|
101
127
|
}
|
|
102
128
|
if (entry.relation === "after") {
|
|
103
129
|
toMiddleware.after.push(entry);
|
|
@@ -117,48 +143,68 @@ const constructStack = () => {
|
|
|
117
143
|
};
|
|
118
144
|
const stack = {
|
|
119
145
|
add: (middleware, options = {}) => {
|
|
120
|
-
const { name, override } = options;
|
|
146
|
+
const { name, override, aliases: _aliases } = options;
|
|
121
147
|
const entry = {
|
|
122
148
|
step: "initialize",
|
|
123
149
|
priority: "normal",
|
|
124
150
|
middleware,
|
|
125
151
|
...options,
|
|
126
152
|
};
|
|
127
|
-
|
|
128
|
-
|
|
153
|
+
const aliases = getAllAliases(name, _aliases);
|
|
154
|
+
if (aliases.length > 0) {
|
|
155
|
+
if (aliases.some((alias) => entriesNameSet.has(alias))) {
|
|
129
156
|
if (!override)
|
|
130
|
-
throw new Error(`Duplicate middleware name '${name}'`);
|
|
131
|
-
const
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
157
|
+
throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
|
|
158
|
+
for (const alias of aliases) {
|
|
159
|
+
const toOverrideIndex = absoluteEntries.findIndex((entry) => { var _a; return entry.name === alias || ((_a = entry.aliases) === null || _a === void 0 ? void 0 : _a.some((a) => a === alias)); });
|
|
160
|
+
if (toOverrideIndex === -1) {
|
|
161
|
+
continue;
|
|
162
|
+
}
|
|
163
|
+
const toOverride = absoluteEntries[toOverrideIndex];
|
|
164
|
+
if (toOverride.step !== entry.step || entry.priority !== toOverride.priority) {
|
|
165
|
+
throw new Error(`"${getMiddlewareNameWithAliases(toOverride.name, toOverride.aliases)}" middleware with ` +
|
|
166
|
+
`${toOverride.priority} priority in ${toOverride.step} step cannot ` +
|
|
167
|
+
`be overridden by "${getMiddlewareNameWithAliases(name, _aliases)}" middleware with ` +
|
|
168
|
+
`${entry.priority} priority in ${entry.step} step.`);
|
|
169
|
+
}
|
|
170
|
+
absoluteEntries.splice(toOverrideIndex, 1);
|
|
136
171
|
}
|
|
137
|
-
absoluteEntries.splice(toOverrideIndex, 1);
|
|
138
172
|
}
|
|
139
|
-
|
|
173
|
+
for (const alias of aliases) {
|
|
174
|
+
entriesNameSet.add(alias);
|
|
175
|
+
}
|
|
140
176
|
}
|
|
141
177
|
absoluteEntries.push(entry);
|
|
142
178
|
},
|
|
143
179
|
addRelativeTo: (middleware, options) => {
|
|
144
|
-
const { name, override } = options;
|
|
180
|
+
const { name, override, aliases: _aliases } = options;
|
|
145
181
|
const entry = {
|
|
146
182
|
middleware,
|
|
147
183
|
...options,
|
|
148
184
|
};
|
|
149
|
-
|
|
150
|
-
|
|
185
|
+
const aliases = getAllAliases(name, _aliases);
|
|
186
|
+
if (aliases.length > 0) {
|
|
187
|
+
if (aliases.some((alias) => entriesNameSet.has(alias))) {
|
|
151
188
|
if (!override)
|
|
152
|
-
throw new Error(`Duplicate middleware name '${name}'`);
|
|
153
|
-
const
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
189
|
+
throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
|
|
190
|
+
for (const alias of aliases) {
|
|
191
|
+
const toOverrideIndex = relativeEntries.findIndex((entry) => { var _a; return entry.name === alias || ((_a = entry.aliases) === null || _a === void 0 ? void 0 : _a.some((a) => a === alias)); });
|
|
192
|
+
if (toOverrideIndex === -1) {
|
|
193
|
+
continue;
|
|
194
|
+
}
|
|
195
|
+
const toOverride = relativeEntries[toOverrideIndex];
|
|
196
|
+
if (toOverride.toMiddleware !== entry.toMiddleware || toOverride.relation !== entry.relation) {
|
|
197
|
+
throw new Error(`"${getMiddlewareNameWithAliases(toOverride.name, toOverride.aliases)}" middleware ` +
|
|
198
|
+
`${toOverride.relation} "${toOverride.toMiddleware}" middleware cannot be overridden ` +
|
|
199
|
+
`by "${getMiddlewareNameWithAliases(name, _aliases)}" middleware ${entry.relation} ` +
|
|
200
|
+
`"${entry.toMiddleware}" middleware.`);
|
|
201
|
+
}
|
|
202
|
+
relativeEntries.splice(toOverrideIndex, 1);
|
|
158
203
|
}
|
|
159
|
-
relativeEntries.splice(toOverrideIndex, 1);
|
|
160
204
|
}
|
|
161
|
-
|
|
205
|
+
for (const alias of aliases) {
|
|
206
|
+
entriesNameSet.add(alias);
|
|
207
|
+
}
|
|
162
208
|
}
|
|
163
209
|
relativeEntries.push(entry);
|
|
164
210
|
},
|
|
@@ -175,10 +221,12 @@ const constructStack = () => {
|
|
|
175
221
|
removeByTag: (toRemove) => {
|
|
176
222
|
let isRemoved = false;
|
|
177
223
|
const filterCb = (entry) => {
|
|
178
|
-
const { tags, name } = entry;
|
|
224
|
+
const { tags, name, aliases: _aliases } = entry;
|
|
179
225
|
if (tags && tags.includes(toRemove)) {
|
|
180
|
-
|
|
181
|
-
|
|
226
|
+
const aliases = getAllAliases(name, _aliases);
|
|
227
|
+
for (const alias of aliases) {
|
|
228
|
+
entriesNameSet.delete(alias);
|
|
229
|
+
}
|
|
182
230
|
isRemoved = true;
|
|
183
231
|
return false;
|
|
184
232
|
}
|
|
@@ -189,22 +237,36 @@ const constructStack = () => {
|
|
|
189
237
|
return isRemoved;
|
|
190
238
|
},
|
|
191
239
|
concat: (from) => {
|
|
240
|
+
var _a, _b;
|
|
192
241
|
const cloned = cloneTo((0, exports.constructStack)());
|
|
193
242
|
cloned.use(from);
|
|
243
|
+
cloned.identifyOnResolve(identifyOnResolve || cloned.identifyOnResolve() || ((_b = (_a = from.identifyOnResolve) === null || _a === void 0 ? void 0 : _a.call(from)) !== null && _b !== void 0 ? _b : false));
|
|
194
244
|
return cloned;
|
|
195
245
|
},
|
|
196
246
|
applyToStack: cloneTo,
|
|
197
247
|
identify: () => {
|
|
198
248
|
return getMiddlewareList(true).map((mw) => {
|
|
199
|
-
|
|
249
|
+
var _a;
|
|
250
|
+
const step = (_a = mw.step) !== null && _a !== void 0 ? _a : mw.relation +
|
|
251
|
+
" " +
|
|
252
|
+
mw.toMiddleware;
|
|
253
|
+
return getMiddlewareNameWithAliases(mw.name, mw.aliases) + " - " + step;
|
|
200
254
|
});
|
|
201
255
|
},
|
|
256
|
+
identifyOnResolve(toggle) {
|
|
257
|
+
if (typeof toggle === "boolean")
|
|
258
|
+
identifyOnResolve = toggle;
|
|
259
|
+
return identifyOnResolve;
|
|
260
|
+
},
|
|
202
261
|
resolve: (handler, context) => {
|
|
203
262
|
for (const middleware of getMiddlewareList()
|
|
204
263
|
.map((entry) => entry.middleware)
|
|
205
264
|
.reverse()) {
|
|
206
265
|
handler = middleware(handler, context);
|
|
207
266
|
}
|
|
267
|
+
if (identifyOnResolve) {
|
|
268
|
+
console.log(stack.identify());
|
|
269
|
+
}
|
|
208
270
|
return handler;
|
|
209
271
|
},
|
|
210
272
|
};
|