@cdklabs/cdk-ecs-codedeploy 0.0.445 → 0.0.447
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 +3 -3
- package/lib/api-canary/index.js +1 -1
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
- package/node_modules/@aws/lambda-invoke-store/README.md +25 -1
- package/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +12 -0
- package/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +12 -0
- package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts +6 -0
- package/node_modules/@aws/lambda-invoke-store/package.json +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/index.js +4188 -578
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commandBuilder.js +6 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/AddTagsToOnPremisesInstancesCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetApplicationRevisionsCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetApplicationsCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentGroupsCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentInstancesCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentTargetsCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentsCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetOnPremisesInstancesCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ContinueDeploymentCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateApplicationCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentConfigCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentGroupCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteApplicationCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteDeploymentConfigCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteDeploymentGroupCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteGitHubAccountTokenCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteResourcesByExternalIdCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeregisterOnPremisesInstanceCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetApplicationCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetApplicationRevisionCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentConfigCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentGroupCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentInstanceCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentTargetCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetOnPremisesInstanceCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListApplicationRevisionsCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListApplicationsCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentConfigsCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentGroupsCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentInstancesCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentTargetsCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentsCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListGitHubAccountTokenNamesCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListOnPremisesInstancesCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/PutLifecycleEventHookExecutionStatusCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RegisterApplicationRevisionCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RegisterOnPremisesInstanceCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RemoveTagsFromOnPremisesInstancesCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/SkipWaitTimeForInstanceTerminationCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/StopDeploymentCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/TagResourceCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UntagResourceCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UpdateApplicationCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UpdateDeploymentGroupCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.browser.js +0 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.js +1 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.native.js +0 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commandBuilder.d.ts +18 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/AddTagsToOnPremisesInstancesCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationRevisionsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentGroupsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentInstancesCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentTargetsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetOnPremisesInstancesCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ContinueDeploymentCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateApplicationCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentConfigCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentGroupCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteApplicationCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentConfigCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentGroupCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteGitHubAccountTokenCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteResourcesByExternalIdCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeregisterOnPremisesInstanceCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationRevisionCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentConfigCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentGroupCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentInstanceCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentTargetCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetOnPremisesInstanceCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationRevisionsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentConfigsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentGroupsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentInstancesCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentTargetsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListGitHubAccountTokenNamesCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListOnPremisesInstancesCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterApplicationRevisionCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterOnPremisesInstanceCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/StopDeploymentCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateApplicationCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateDeploymentGroupCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/AddTagsToOnPremisesInstancesCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetApplicationRevisionsCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetApplicationsCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentGroupsCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentInstancesCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentTargetsCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentsCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetOnPremisesInstancesCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ContinueDeploymentCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateDeploymentConfigCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateDeploymentGroupCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteDeploymentConfigCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteDeploymentGroupCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteGitHubAccountTokenCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteResourcesByExternalIdCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeregisterOnPremisesInstanceCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetApplicationRevisionCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentConfigCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentGroupCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentInstanceCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentTargetCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetOnPremisesInstanceCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListApplicationRevisionsCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentConfigsCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentGroupsCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentInstancesCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentTargetsCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListGitHubAccountTokenNamesCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListOnPremisesInstancesCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/RegisterApplicationRevisionCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/RegisterOnPremisesInstanceCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/StopDeploymentCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/UpdateDeploymentGroupCommand.d.ts +7 -16
- 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 +8 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.d.ts +8 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/package.json +8 -10
- package/node_modules/@aws-sdk/core/account-id-endpoint.d.ts +1 -3
- package/node_modules/@aws-sdk/core/client.d.ts +1 -3
- package/node_modules/@aws-sdk/core/httpAuthSchemes.d.ts +1 -3
- package/node_modules/@aws-sdk/core/package.json +10 -17
- package/node_modules/@aws-sdk/core/protocols.d.ts +1 -3
- package/node_modules/@aws-sdk/core/util.d.ts +1 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +172 -1
- package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
- 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/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +58 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -8
- package/node_modules/@aws-sdk/nested-clients/cognito-identity.d.ts +1 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +13 -25
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +13 -17
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +12 -15
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +12 -15
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +13 -25
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commandBuilder.js +6 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetIdCommand.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/index.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.native.js +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commandBuilder.js +8 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +2 -17
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/index.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.native.js +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commandBuilder.js +6 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/index.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.native.js +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commandBuilder.js +6 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/index.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.native.js +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commandBuilder.js +6 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/index.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.native.js +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commandBuilder.d.ts +18 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetIdCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commandBuilder.d.ts +18 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commandBuilder.d.ts +18 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commandBuilder.d.ts +18 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commandBuilder.d.ts +18 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commandBuilder.d.ts +46 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commandBuilder.d.ts +42 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commandBuilder.d.ts +42 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commandBuilder.d.ts +42 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commandBuilder.d.ts +46 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +8 -10
- package/node_modules/@aws-sdk/nested-clients/signin.d.ts +1 -3
- package/node_modules/@aws-sdk/nested-clients/sso-oidc.d.ts +1 -3
- package/node_modules/@aws-sdk/nested-clients/sso.d.ts +1 -3
- package/node_modules/@aws-sdk/nested-clients/sts.d.ts +1 -3
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
- package/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +236 -3
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.browser.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +233 -43
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.d.ts +1 -1
- package/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.d.ts +2 -1
- package/node_modules/@aws-sdk/xml-builder/package.json +6 -7
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.browser.js +358 -145
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js +462 -142
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.native.js +358 -145
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +18 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +108 -63
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +11 -8
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +11 -8
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +5 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +30 -36
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +85 -137
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +30 -36
- package/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Js.js +30 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Node.js +24 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/index.browser.js +7 -1
- package/node_modules/@smithy/core/dist-es/submodules/checksum/index.js +7 -1
- package/node_modules/@smithy/core/dist-es/submodules/checksum/index.native.js +7 -1
- package/node_modules/@smithy/core/dist-es/submodules/checksum/md5/Md5Js.js +92 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/md5/Md5Node.js +29 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256Js.js +179 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256Node.js +59 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256WebCrypto.js +71 -0
- package/node_modules/@smithy/core/dist-es/submodules/client/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/client-command-builder.js +17 -0
- package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/config.js +6 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.js +92 -0
- package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/constants.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.js +3 -56
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/EventStreamCodec.js +5 -3
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/splitMessage.js +7 -6
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/concatBytes.js +15 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.js +35 -27
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/headStream.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.browser.js +12 -38
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.js +18 -33
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.browser.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.js +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/crc32/Crc32Js.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/crc32/Crc32Node.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/index.browser.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/submodules/checksum/index.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/submodules/checksum/index.native.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/submodules/checksum/md5/Md5Js.d.ts +19 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/md5/Md5Node.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256Js.d.ts +28 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256Node.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256WebCrypto.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/submodules/client/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/client-command-builder.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/command.d.ts +5 -6
- package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/submodules/config/defaults-mode/constants.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.browser.d.ts +4 -5
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts +4 -5
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.d.ts +3 -4
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/endpointMiddleware.d.ts +1 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/getEndpointPlugin.d.ts +1 -2
- package/node_modules/@smithy/core/dist-types/submodules/serde/concatBytes.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/checksum/ChecksumStream.d.ts +29 -12
- package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.browser.d.ts +8 -2
- package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.d.ts +4 -1
- package/node_modules/@smithy/core/package.json +5 -5
- package/node_modules/@smithy/credential-provider-imds/package.json +3 -3
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -55
- package/node_modules/@smithy/fetch-http-handler/dist-es/index.js +2 -2
- package/node_modules/@smithy/fetch-http-handler/dist-types/index.d.ts +2 -2
- package/node_modules/@smithy/fetch-http-handler/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +3 -51
- package/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -3
- package/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -3
- package/node_modules/@smithy/node-http-handler/package.json +4 -4
- package/node_modules/@smithy/signature-v4/package.json +3 -4
- package/node_modules/@smithy/types/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/types/package.json +1 -1
- package/package.json +2 -2
- package/node_modules/@aws-crypto/crc32/CHANGELOG.md +0 -100
- package/node_modules/@aws-crypto/crc32/LICENSE +0 -201
- package/node_modules/@aws-crypto/crc32/README.md +0 -16
- package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.d.ts +0 -7
- package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js +0 -31
- package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js.map +0 -1
- package/node_modules/@aws-crypto/crc32/build/main/index.d.ts +0 -7
- package/node_modules/@aws-crypto/crc32/build/main/index.js +0 -108
- package/node_modules/@aws-crypto/crc32/build/main/index.js.map +0 -1
- package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.d.ts +0 -7
- package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js +0 -28
- package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js.map +0 -1
- package/node_modules/@aws-crypto/crc32/build/module/index.d.ts +0 -7
- package/node_modules/@aws-crypto/crc32/build/module/index.js +0 -103
- package/node_modules/@aws-crypto/crc32/build/module/index.js.map +0 -1
- package/node_modules/@aws-crypto/crc32/package.json +0 -32
- package/node_modules/@aws-crypto/crc32/src/aws_crc32.ts +0 -24
- package/node_modules/@aws-crypto/crc32/src/index.ts +0 -92
- package/node_modules/@aws-crypto/crc32/tsconfig.json +0 -9
- package/node_modules/@aws-crypto/crc32/tsconfig.module.json +0 -7
- package/node_modules/@aws-crypto/sha256-browser/CHANGELOG.md +0 -118
- package/node_modules/@aws-crypto/sha256-browser/LICENSE +0 -202
- package/node_modules/@aws-crypto/sha256-browser/README.md +0 -31
- package/node_modules/@aws-crypto/sha256-browser/build/main/constants.d.ts +0 -10
- package/node_modules/@aws-crypto/sha256-browser/build/main/constants.js +0 -43
- package/node_modules/@aws-crypto/sha256-browser/build/main/constants.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.d.ts +0 -8
- package/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.js +0 -30
- package/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/main/index.d.ts +0 -2
- package/node_modules/@aws-crypto/sha256-browser/build/main/index.js +0 -8
- package/node_modules/@aws-crypto/sha256-browser/build/main/index.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.d.ts +0 -2
- package/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.js +0 -11
- package/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.d.ts +0 -10
- package/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.js +0 -56
- package/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/module/constants.d.ts +0 -10
- package/node_modules/@aws-crypto/sha256-browser/build/module/constants.js +0 -40
- package/node_modules/@aws-crypto/sha256-browser/build/module/constants.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.d.ts +0 -8
- package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js +0 -27
- package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/module/index.d.ts +0 -2
- package/node_modules/@aws-crypto/sha256-browser/build/module/index.js +0 -3
- package/node_modules/@aws-crypto/sha256-browser/build/module/index.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.d.ts +0 -2
- package/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js +0 -7
- package/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.d.ts +0 -10
- package/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js +0 -53
- package/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/package.json +0 -33
- package/node_modules/@aws-crypto/sha256-browser/src/constants.ts +0 -41
- package/node_modules/@aws-crypto/sha256-browser/src/crossPlatformSha256.ts +0 -30
- package/node_modules/@aws-crypto/sha256-browser/src/index.ts +0 -2
- package/node_modules/@aws-crypto/sha256-browser/src/isEmptyData.ts +0 -9
- package/node_modules/@aws-crypto/sha256-browser/src/webCryptoSha256.ts +0 -71
- package/node_modules/@aws-crypto/sha256-browser/tsconfig.json +0 -10
- package/node_modules/@aws-crypto/sha256-browser/tsconfig.module.json +0 -7
- package/node_modules/@aws-crypto/sha256-js/CHANGELOG.md +0 -106
- package/node_modules/@aws-crypto/sha256-js/LICENSE +0 -201
- package/node_modules/@aws-crypto/sha256-js/README.md +0 -29
- package/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.d.ts +0 -17
- package/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.js +0 -124
- package/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-js/build/main/constants.d.ts +0 -20
- package/node_modules/@aws-crypto/sha256-js/build/main/constants.js +0 -98
- package/node_modules/@aws-crypto/sha256-js/build/main/constants.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-js/build/main/index.d.ts +0 -1
- package/node_modules/@aws-crypto/sha256-js/build/main/index.js +0 -5
- package/node_modules/@aws-crypto/sha256-js/build/main/index.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.d.ts +0 -12
- package/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.js +0 -85
- package/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.d.ts +0 -5
- package/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.js +0 -322
- package/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.d.ts +0 -17
- package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js +0 -121
- package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-js/build/module/constants.d.ts +0 -20
- package/node_modules/@aws-crypto/sha256-js/build/module/constants.js +0 -95
- package/node_modules/@aws-crypto/sha256-js/build/module/constants.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-js/build/module/index.d.ts +0 -1
- package/node_modules/@aws-crypto/sha256-js/build/module/index.js +0 -2
- package/node_modules/@aws-crypto/sha256-js/build/module/index.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.d.ts +0 -12
- package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js +0 -82
- package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.d.ts +0 -5
- package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js +0 -319
- package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-js/package.json +0 -32
- package/node_modules/@aws-crypto/sha256-js/src/RawSha256.ts +0 -164
- package/node_modules/@aws-crypto/sha256-js/src/constants.ts +0 -98
- package/node_modules/@aws-crypto/sha256-js/src/index.ts +0 -1
- package/node_modules/@aws-crypto/sha256-js/src/jsSha256.ts +0 -94
- package/node_modules/@aws-crypto/sha256-js/src/knownHashes.fixture.ts +0 -401
- package/node_modules/@aws-crypto/sha256-js/tsconfig.json +0 -10
- package/node_modules/@aws-crypto/sha256-js/tsconfig.module.json +0 -7
- package/node_modules/@aws-crypto/supports-web-crypto/CHANGELOG.md +0 -66
- package/node_modules/@aws-crypto/supports-web-crypto/LICENSE +0 -202
- package/node_modules/@aws-crypto/supports-web-crypto/README.md +0 -32
- package/node_modules/@aws-crypto/supports-web-crypto/build/main/index.d.ts +0 -1
- package/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js +0 -5
- package/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js.map +0 -1
- package/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.d.ts +0 -4
- package/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js +0 -69
- package/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js.map +0 -1
- package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.d.ts +0 -1
- package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js +0 -2
- package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js.map +0 -1
- package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.d.ts +0 -4
- package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js +0 -62
- package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js.map +0 -1
- package/node_modules/@aws-crypto/supports-web-crypto/package.json +0 -28
- package/node_modules/@aws-crypto/supports-web-crypto/src/index.ts +0 -1
- package/node_modules/@aws-crypto/supports-web-crypto/src/supportsWebCrypto.ts +0 -76
- package/node_modules/@aws-crypto/supports-web-crypto/tsconfig.json +0 -10
- package/node_modules/@aws-crypto/supports-web-crypto/tsconfig.module.json +0 -7
- package/node_modules/@aws-crypto/util/CHANGELOG.md +0 -71
- package/node_modules/@aws-crypto/util/LICENSE +0 -201
- package/node_modules/@aws-crypto/util/README.md +0 -16
- package/node_modules/@aws-crypto/util/build/main/convertToBuffer.d.ts +0 -2
- package/node_modules/@aws-crypto/util/build/main/convertToBuffer.js +0 -24
- package/node_modules/@aws-crypto/util/build/main/convertToBuffer.js.map +0 -1
- package/node_modules/@aws-crypto/util/build/main/index.d.ts +0 -4
- package/node_modules/@aws-crypto/util/build/main/index.js +0 -14
- package/node_modules/@aws-crypto/util/build/main/index.js.map +0 -1
- package/node_modules/@aws-crypto/util/build/main/isEmptyData.d.ts +0 -2
- package/node_modules/@aws-crypto/util/build/main/isEmptyData.js +0 -13
- package/node_modules/@aws-crypto/util/build/main/isEmptyData.js.map +0 -1
- package/node_modules/@aws-crypto/util/build/main/numToUint8.d.ts +0 -1
- package/node_modules/@aws-crypto/util/build/main/numToUint8.js +0 -15
- package/node_modules/@aws-crypto/util/build/main/numToUint8.js.map +0 -1
- package/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.d.ts +0 -1
- package/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js +0 -20
- package/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js.map +0 -1
- package/node_modules/@aws-crypto/util/build/module/convertToBuffer.d.ts +0 -2
- package/node_modules/@aws-crypto/util/build/module/convertToBuffer.js +0 -20
- package/node_modules/@aws-crypto/util/build/module/convertToBuffer.js.map +0 -1
- package/node_modules/@aws-crypto/util/build/module/index.d.ts +0 -4
- package/node_modules/@aws-crypto/util/build/module/index.js +0 -7
- package/node_modules/@aws-crypto/util/build/module/index.js.map +0 -1
- package/node_modules/@aws-crypto/util/build/module/isEmptyData.d.ts +0 -2
- package/node_modules/@aws-crypto/util/build/module/isEmptyData.js +0 -9
- package/node_modules/@aws-crypto/util/build/module/isEmptyData.js.map +0 -1
- package/node_modules/@aws-crypto/util/build/module/numToUint8.d.ts +0 -1
- package/node_modules/@aws-crypto/util/build/module/numToUint8.js +0 -11
- package/node_modules/@aws-crypto/util/build/module/numToUint8.js.map +0 -1
- package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.d.ts +0 -1
- package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js +0 -16
- package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js.map +0 -1
- package/node_modules/@aws-crypto/util/package.json +0 -32
- package/node_modules/@aws-crypto/util/src/convertToBuffer.ts +0 -30
- package/node_modules/@aws-crypto/util/src/index.ts +0 -7
- package/node_modules/@aws-crypto/util/src/isEmptyData.ts +0 -12
- package/node_modules/@aws-crypto/util/src/numToUint8.ts +0 -11
- package/node_modules/@aws-crypto/util/src/uint32ArrayFrom.ts +0 -16
- package/node_modules/@aws-crypto/util/tsconfig.json +0 -9
- package/node_modules/@aws-crypto/util/tsconfig.module.json +0 -7
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/endpoint/bdd.js +0 -46
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/models/CodeDeployServiceException.js +0 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/models/errors.js +0 -1321
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.browser.js +0 -32
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.js +0 -45
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.native.js +0 -12
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.shared.js +0 -39
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/schemas/schemas_0.js +0 -2398
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.browser.js +0 -869
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.native.js +0 -862
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +0 -42
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +0 -27
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +0 -71
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +0 -49
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +0 -13
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.browser.js +0 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +0 -29
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +0 -25
- package/node_modules/@aws-sdk/util-locate-window/LICENSE +0 -201
- package/node_modules/@aws-sdk/util-locate-window/README.md +0 -4
- package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +0 -12
- package/node_modules/@aws-sdk/util-locate-window/dist-es/index.js +0 -10
- package/node_modules/@aws-sdk/util-locate-window/dist-types/index.d.ts +0 -6
- package/node_modules/@aws-sdk/util-locate-window/dist-types/ts3.4/index.d.ts +0 -1
- package/node_modules/@aws-sdk/util-locate-window/package.json +0 -54
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-external/nodable_entities.js +0 -333
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.browser.js +0 -57
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +0 -44
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-external/nodable_entities.js +0 -332
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-external/nodable_entities.d.ts +0 -66
- package/node_modules/@aws-sdk/xml-builder/dist-types/xml-external/nodable_entities.d.ts +0 -65
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +0 -827
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/LICENSE +0 -21
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/README.md +0 -202
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.d.cts +0 -770
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +0 -93
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/cli/cli.js +0 -97
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/cli/man.js +0 -17
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/cli/read.js +0 -43
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +0 -739
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.js +0 -14
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/ignoreAttributes.js +0 -18
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/util.js +0 -61
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/CharsSymbol.js +0 -16
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +0 -106
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js +0 -61
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js +0 -69
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js +0 -103
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +0 -100
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js +0 -154
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +0 -94
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/Report.js +0 -0
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/TagPath.js +0 -81
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/TagPathMatcher.js +0 -13
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XMLParser.js +0 -83
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/Xml2JsParser.js +0 -235
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XmlPartReader.js +0 -210
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XmlSpecialTagsReader.js +0 -111
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/inputSource/BufferSource.js +0 -116
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/inputSource/StringSource.js +0 -121
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +0 -105
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParser.js +0 -22
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParserExt.js +0 -19
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/currency.js +0 -38
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/join.js +0 -13
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/number.js +0 -14
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/trim.js +0 -6
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/validator.js +0 -425
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +0 -6
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +0 -407
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +0 -163
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +0 -840
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +0 -71
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/node2json.js +0 -177
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +0 -40
- package/node_modules/@nodable/entities/README.md +0 -41
- package/node_modules/@nodable/entities/package.json +0 -57
- package/node_modules/@nodable/entities/src/EntityDecoder.js +0 -644
- package/node_modules/@nodable/entities/src/EntityEncoder.js +0 -194
- package/node_modules/@nodable/entities/src/entities.js +0 -1159
- package/node_modules/@nodable/entities/src/entityTries.js +0 -49
- package/node_modules/@nodable/entities/src/index.d.ts +0 -341
- package/node_modules/@nodable/entities/src/index.js +0 -29
- package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/constants.js +0 -3
- package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/md5.js +0 -168
- package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/constants.d.ts +0 -12
- package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/md5.d.ts +0 -16
- package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +0 -53
- package/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +0 -2
- package/node_modules/@smithy/is-array-buffer/LICENSE +0 -201
- package/node_modules/@smithy/is-array-buffer/README.md +0 -10
- package/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +0 -32
- package/node_modules/@smithy/is-array-buffer/dist-es/index.js +0 -2
- package/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts +0 -4
- package/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts +0 -4
- package/node_modules/@smithy/is-array-buffer/package.json +0 -60
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +0 -8
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +0 -41
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -5
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +0 -7
- package/node_modules/@smithy/util-buffer-from/LICENSE +0 -201
- package/node_modules/@smithy/util-buffer-from/README.md +0 -10
- package/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +0 -47
- package/node_modules/@smithy/util-buffer-from/dist-es/index.js +0 -14
- package/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts +0 -13
- package/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts +0 -13
- package/node_modules/@smithy/util-buffer-from/package.json +0 -61
- package/node_modules/@smithy/util-utf8/LICENSE +0 -201
- package/node_modules/@smithy/util-utf8/README.md +0 -4
- package/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js +0 -1
- package/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js +0 -1
- package/node_modules/@smithy/util-utf8/dist-cjs/index.js +0 -65
- package/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js +0 -1
- package/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js +0 -1
- package/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js +0 -1
- package/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +0 -1
- package/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +0 -5
- package/node_modules/@smithy/util-utf8/dist-es/index.js +0 -3
- package/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js +0 -10
- package/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +0 -9
- package/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +0 -10
- package/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts +0 -1
- package/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts +0 -1
- package/node_modules/@smithy/util-utf8/dist-types/index.d.ts +0 -3
- package/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts +0 -1
- package/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts +0 -7
- package/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts +0 -7
- package/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts +0 -1
- package/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts +0 -1
- package/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts +0 -3
- package/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts +0 -1
- package/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +0 -7
- package/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +0 -7
- package/node_modules/@smithy/util-utf8/package.json +0 -66
- package/node_modules/anynum/LICENSE +0 -21
- package/node_modules/anynum/README.md +0 -142
- package/node_modules/anynum/anynum.js +0 -135
- package/node_modules/anynum/digitTable.js +0 -116
- package/node_modules/anynum/package.json +0 -42
- package/node_modules/fast-xml-builder/CHANGELOG.md +0 -40
- package/node_modules/fast-xml-builder/LICENSE +0 -21
- package/node_modules/fast-xml-builder/README.md +0 -74
- package/node_modules/fast-xml-builder/lib/fxb.cjs +0 -1
- package/node_modules/fast-xml-builder/lib/fxb.d.cts +0 -270
- package/node_modules/fast-xml-builder/lib/fxb.min.js +0 -2
- package/node_modules/fast-xml-builder/lib/fxb.min.js.map +0 -1
- package/node_modules/fast-xml-builder/package.json +0 -81
- package/node_modules/fast-xml-builder/src/fxb.d.ts +0 -270
- package/node_modules/fast-xml-builder/src/fxb.js +0 -599
- package/node_modules/fast-xml-builder/src/ignoreAttributes.js +0 -18
- package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +0 -359
- package/node_modules/fast-xml-builder/src/prettifyJs2Xml.js +0 -0
- package/node_modules/fast-xml-builder/src/util.js +0 -16
- package/node_modules/path-expression-matcher/LICENSE +0 -21
- package/node_modules/path-expression-matcher/README.md +0 -947
- package/node_modules/path-expression-matcher/lib/pem.cjs +0 -1
- package/node_modules/path-expression-matcher/lib/pem.d.cts +0 -715
- package/node_modules/path-expression-matcher/lib/pem.min.js +0 -2
- package/node_modules/path-expression-matcher/lib/pem.min.js.map +0 -1
- package/node_modules/path-expression-matcher/package.json +0 -79
- package/node_modules/path-expression-matcher/src/Expression.js +0 -232
- package/node_modules/path-expression-matcher/src/ExpressionSet.js +0 -225
- package/node_modules/path-expression-matcher/src/Matcher.js +0 -660
- package/node_modules/path-expression-matcher/src/index.d.ts +0 -589
- package/node_modules/path-expression-matcher/src/index.js +0 -29
- package/node_modules/strnum/CHANGELOG.md +0 -51
- package/node_modules/strnum/LICENSE +0 -21
- package/node_modules/strnum/README.md +0 -113
- package/node_modules/strnum/package.json +0 -36
- package/node_modules/strnum/strnum.js +0 -171
- package/node_modules/xml-naming/README.md +0 -189
- package/node_modules/xml-naming/package.json +0 -54
- package/node_modules/xml-naming/src/index.d.ts +0 -74
- package/node_modules/xml-naming/src/index.js +0 -270
- /package/node_modules/@smithy/{core/dist-es/submodules/endpoints/middleware-endpoint/types.js → types/dist-es/endpoints/EndpointParameterInstructions.js} +0 -0
- /package/node_modules/@smithy/{core/dist-types/submodules/endpoints/middleware-endpoint/types.d.ts → types/dist-types/endpoints/EndpointParameterInstructions.d.ts} +0 -0
|
@@ -470,12 +470,118 @@ const resolveEndpointsConfig = (input) => {
|
|
|
470
470
|
});
|
|
471
471
|
};
|
|
472
472
|
|
|
473
|
+
const AWS_EXECUTION_ENV = "AWS_EXECUTION_ENV";
|
|
474
|
+
const AWS_REGION_ENV = "AWS_REGION";
|
|
475
|
+
const AWS_DEFAULT_REGION_ENV = "AWS_DEFAULT_REGION";
|
|
476
|
+
const ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED";
|
|
477
|
+
const DEFAULTS_MODE_OPTIONS = ["in-region", "cross-region", "mobile", "standard", "legacy"];
|
|
478
|
+
const IMDS_REGION_PATH = "/latest/meta-data/placement/region";
|
|
479
|
+
const IMDS_TOKEN_PATH = "/latest/api/token";
|
|
480
|
+
const X_AWS_EC2_METADATA_TOKEN = "x-aws-ec2-metadata-token";
|
|
481
|
+
const X_AWS_EC2_METADATA_TOKEN_TTL = "x-aws-ec2-metadata-token-ttl-seconds";
|
|
482
|
+
|
|
483
|
+
const TIMEOUT_MS = 1000;
|
|
484
|
+
const NEG_CACHE_TTL_MS = 60_000;
|
|
485
|
+
let negativeCacheUntil = 0;
|
|
486
|
+
const getInstanceMetadataRegion = async () => {
|
|
487
|
+
if (process.env[ENV_IMDS_DISABLED]) {
|
|
488
|
+
return undefined;
|
|
489
|
+
}
|
|
490
|
+
if (Date.now() < negativeCacheUntil) {
|
|
491
|
+
return undefined;
|
|
492
|
+
}
|
|
493
|
+
try {
|
|
494
|
+
const endpoint = resolveImdsEndpoint();
|
|
495
|
+
const token = (await imdsRequest({
|
|
496
|
+
...endpoint,
|
|
497
|
+
path: IMDS_TOKEN_PATH,
|
|
498
|
+
method: "PUT",
|
|
499
|
+
headers: {
|
|
500
|
+
[X_AWS_EC2_METADATA_TOKEN_TTL]: "21600",
|
|
501
|
+
},
|
|
502
|
+
})).toString();
|
|
503
|
+
const region = (await imdsRequest({
|
|
504
|
+
...endpoint,
|
|
505
|
+
path: IMDS_REGION_PATH,
|
|
506
|
+
method: "GET",
|
|
507
|
+
headers: {
|
|
508
|
+
[X_AWS_EC2_METADATA_TOKEN]: token,
|
|
509
|
+
},
|
|
510
|
+
}))
|
|
511
|
+
.toString()
|
|
512
|
+
.trim();
|
|
513
|
+
return region || cacheNegativeAndReturnUndefined();
|
|
514
|
+
}
|
|
515
|
+
catch {
|
|
516
|
+
return cacheNegativeAndReturnUndefined();
|
|
517
|
+
}
|
|
518
|
+
};
|
|
519
|
+
const cacheNegativeAndReturnUndefined = () => {
|
|
520
|
+
negativeCacheUntil = Date.now() + NEG_CACHE_TTL_MS;
|
|
521
|
+
return undefined;
|
|
522
|
+
};
|
|
523
|
+
const resolveImdsEndpoint = () => {
|
|
524
|
+
const envEndpoint = process.env.AWS_EC2_METADATA_SERVICE_ENDPOINT;
|
|
525
|
+
if (envEndpoint) {
|
|
526
|
+
const url = new URL(envEndpoint);
|
|
527
|
+
return {
|
|
528
|
+
hostname: url.hostname.replace(/^\[(.+)]$/, "$1"),
|
|
529
|
+
port: url.port ? Number(url.port) : undefined,
|
|
530
|
+
};
|
|
531
|
+
}
|
|
532
|
+
if (process.env.AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE === "IPv6") {
|
|
533
|
+
return { hostname: "fd00:ec2::254" };
|
|
534
|
+
}
|
|
535
|
+
return { hostname: "169.254.169.254" };
|
|
536
|
+
};
|
|
537
|
+
const imdsRequest = async (options) => {
|
|
538
|
+
const { request } = require('node:http');
|
|
539
|
+
return new Promise((resolve, reject) => {
|
|
540
|
+
const req = request({
|
|
541
|
+
hostname: options.hostname,
|
|
542
|
+
port: options.port,
|
|
543
|
+
path: options.path,
|
|
544
|
+
method: options.method,
|
|
545
|
+
headers: options.headers,
|
|
546
|
+
timeout: TIMEOUT_MS,
|
|
547
|
+
signal: AbortSignal.timeout(TIMEOUT_MS),
|
|
548
|
+
});
|
|
549
|
+
req.on("error", (err) => {
|
|
550
|
+
reject(err);
|
|
551
|
+
req.destroy();
|
|
552
|
+
});
|
|
553
|
+
req.on("timeout", () => {
|
|
554
|
+
reject(new Error("TimeoutError from instance metadata service"));
|
|
555
|
+
req.destroy();
|
|
556
|
+
});
|
|
557
|
+
req.on("response", (res) => {
|
|
558
|
+
const { statusCode = 400 } = res;
|
|
559
|
+
if (statusCode < 200 || statusCode >= 300) {
|
|
560
|
+
reject(Object.assign(new Error("Error response received from instance metadata service"), { statusCode }));
|
|
561
|
+
req.destroy();
|
|
562
|
+
return;
|
|
563
|
+
}
|
|
564
|
+
const chunks = [];
|
|
565
|
+
res.on("data", (chunk) => chunks.push(chunk));
|
|
566
|
+
res.on("end", () => {
|
|
567
|
+
resolve(Buffer.concat(chunks));
|
|
568
|
+
req.destroy();
|
|
569
|
+
});
|
|
570
|
+
});
|
|
571
|
+
req.end();
|
|
572
|
+
});
|
|
573
|
+
};
|
|
574
|
+
|
|
473
575
|
const REGION_ENV_NAME = "AWS_REGION";
|
|
474
576
|
const REGION_INI_NAME = "region";
|
|
475
577
|
const NODE_REGION_CONFIG_OPTIONS = {
|
|
476
578
|
environmentVariableSelector: (env) => env[REGION_ENV_NAME],
|
|
477
579
|
configFileSelector: (profile) => profile[REGION_INI_NAME],
|
|
478
|
-
default: () => {
|
|
580
|
+
default: async () => {
|
|
581
|
+
const region = await getInstanceMetadataRegion();
|
|
582
|
+
if (region) {
|
|
583
|
+
return region;
|
|
584
|
+
}
|
|
479
585
|
throw new Error("Region is missing");
|
|
480
586
|
},
|
|
481
587
|
};
|
|
@@ -577,13 +683,6 @@ const getRegionInfo = (region, { useFipsEndpoint = false, useDualstackEndpoint =
|
|
|
577
683
|
};
|
|
578
684
|
};
|
|
579
685
|
|
|
580
|
-
const AWS_EXECUTION_ENV = "AWS_EXECUTION_ENV";
|
|
581
|
-
const AWS_REGION_ENV = "AWS_REGION";
|
|
582
|
-
const AWS_DEFAULT_REGION_ENV = "AWS_DEFAULT_REGION";
|
|
583
|
-
const ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED";
|
|
584
|
-
const DEFAULTS_MODE_OPTIONS = ["in-region", "cross-region", "mobile", "standard", "legacy"];
|
|
585
|
-
const IMDS_REGION_PATH = "/latest/meta-data/placement/region";
|
|
586
|
-
|
|
587
686
|
const AWS_DEFAULTS_MODE_ENV = "AWS_DEFAULTS_MODE";
|
|
588
687
|
const AWS_DEFAULTS_MODE_CONFIG = "defaults_mode";
|
|
589
688
|
const NODE_DEFAULTS_MODE_CONFIG_OPTIONS = {
|
|
@@ -633,61 +732,7 @@ const inferPhysicalRegion = async () => {
|
|
|
633
732
|
if (process.env[AWS_EXECUTION_ENV] && (process.env[AWS_REGION_ENV] || process.env[AWS_DEFAULT_REGION_ENV])) {
|
|
634
733
|
return process.env[AWS_REGION_ENV] ?? process.env[AWS_DEFAULT_REGION_ENV];
|
|
635
734
|
}
|
|
636
|
-
|
|
637
|
-
try {
|
|
638
|
-
const endpoint = await getImdsEndpoint();
|
|
639
|
-
return (await imdsHttpGet({ hostname: endpoint.hostname, path: IMDS_REGION_PATH })).toString();
|
|
640
|
-
}
|
|
641
|
-
catch (e) {
|
|
642
|
-
}
|
|
643
|
-
}
|
|
644
|
-
};
|
|
645
|
-
const getImdsEndpoint = async () => {
|
|
646
|
-
const envEndpoint = process.env.AWS_EC2_METADATA_SERVICE_ENDPOINT;
|
|
647
|
-
if (envEndpoint) {
|
|
648
|
-
const url = new URL(envEndpoint);
|
|
649
|
-
return { hostname: url.hostname, path: url.pathname };
|
|
650
|
-
}
|
|
651
|
-
const envMode = process.env.AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE;
|
|
652
|
-
if (envMode === "IPv6") {
|
|
653
|
-
return { hostname: "fd00:ec2::254", path: "/" };
|
|
654
|
-
}
|
|
655
|
-
return { hostname: "169.254.169.254", path: "/" };
|
|
656
|
-
};
|
|
657
|
-
const imdsHttpGet = async ({ hostname, path }) => {
|
|
658
|
-
const { request } = require('node:http');
|
|
659
|
-
return new Promise((resolve, reject) => {
|
|
660
|
-
const req = request({
|
|
661
|
-
method: "GET",
|
|
662
|
-
hostname: hostname.replace(/^\[(.+)]$/, "$1"),
|
|
663
|
-
path,
|
|
664
|
-
timeout: 1000,
|
|
665
|
-
signal: AbortSignal.timeout(1000),
|
|
666
|
-
});
|
|
667
|
-
req.on("error", (err) => {
|
|
668
|
-
reject(err);
|
|
669
|
-
req.destroy();
|
|
670
|
-
});
|
|
671
|
-
req.on("timeout", () => {
|
|
672
|
-
reject(new Error("TimeoutError from instance metadata service"));
|
|
673
|
-
req.destroy();
|
|
674
|
-
});
|
|
675
|
-
req.on("response", (res) => {
|
|
676
|
-
const { statusCode = 400 } = res;
|
|
677
|
-
if (statusCode < 200 || 300 <= statusCode) {
|
|
678
|
-
reject(Object.assign(new Error("Error response received from instance metadata service"), { statusCode }));
|
|
679
|
-
req.destroy();
|
|
680
|
-
return;
|
|
681
|
-
}
|
|
682
|
-
const chunks = [];
|
|
683
|
-
res.on("data", (chunk) => chunks.push(chunk));
|
|
684
|
-
res.on("end", () => {
|
|
685
|
-
resolve(Buffer.concat(chunks));
|
|
686
|
-
req.destroy();
|
|
687
|
-
});
|
|
688
|
-
});
|
|
689
|
-
req.end();
|
|
690
|
-
});
|
|
735
|
+
return getInstanceMetadataRegion();
|
|
691
736
|
};
|
|
692
737
|
|
|
693
738
|
exports.CONFIG_PREFIX_SEPARATOR = CONFIG_PREFIX_SEPARATOR;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const { Crc32 } = require("@
|
|
1
|
+
const { Crc32 } = require("@smithy/core/checksum");
|
|
2
2
|
const { toHex, fromHex, toUtf8, fromUtf8 } = require("@smithy/core/serde");
|
|
3
3
|
|
|
4
4
|
class Int64 {
|
|
@@ -244,13 +244,14 @@ function splitMessage({ byteLength, byteOffset, buffer }) {
|
|
|
244
244
|
const headerLength = view.getUint32(PRELUDE_MEMBER_LENGTH, false);
|
|
245
245
|
const expectedPreludeChecksum = view.getUint32(PRELUDE_LENGTH, false);
|
|
246
246
|
const expectedMessageChecksum = view.getUint32(byteLength - CHECKSUM_LENGTH, false);
|
|
247
|
-
const checksummer = new Crc32()
|
|
248
|
-
|
|
249
|
-
|
|
247
|
+
const checksummer = new Crc32();
|
|
248
|
+
checksummer.update(new Uint8Array(buffer, byteOffset, PRELUDE_LENGTH));
|
|
249
|
+
if (expectedPreludeChecksum !== checksummer.digestSync()) {
|
|
250
|
+
throw new Error(`The prelude checksum specified in the message (${expectedPreludeChecksum}) does not match the calculated CRC32 checksum (${checksummer.digestSync()})`);
|
|
250
251
|
}
|
|
251
252
|
checksummer.update(new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH, byteLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH)));
|
|
252
|
-
if (expectedMessageChecksum !== checksummer.
|
|
253
|
-
throw new Error(`The message checksum (${checksummer.
|
|
253
|
+
if (expectedMessageChecksum !== checksummer.digestSync()) {
|
|
254
|
+
throw new Error(`The message checksum (${checksummer.digestSync()}) did not match the expected value of ${expectedMessageChecksum}`);
|
|
254
255
|
}
|
|
255
256
|
return {
|
|
256
257
|
headers: new DataView(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH, headerLength),
|
|
@@ -306,10 +307,12 @@ class EventStreamCodec {
|
|
|
306
307
|
const checksum = new Crc32();
|
|
307
308
|
view.setUint32(0, length, false);
|
|
308
309
|
view.setUint32(4, headers.byteLength, false);
|
|
309
|
-
|
|
310
|
+
checksum.update(out.subarray(0, 8));
|
|
311
|
+
view.setUint32(8, checksum.digestSync(), false);
|
|
310
312
|
out.set(headers, 12);
|
|
311
313
|
out.set(body, headers.byteLength + 12);
|
|
312
|
-
|
|
314
|
+
checksum.update(out.subarray(8, length - 4));
|
|
315
|
+
view.setUint32(length - 4, checksum.digestSync(), false);
|
|
313
316
|
return out;
|
|
314
317
|
}
|
|
315
318
|
decode(message) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const { Crc32 } = require("@
|
|
1
|
+
const { Crc32 } = require("@smithy/core/checksum");
|
|
2
2
|
const { toHex, fromHex, toUtf8, fromUtf8 } = require("@smithy/core/serde");
|
|
3
3
|
const { Readable } = require("node:stream");
|
|
4
4
|
|
|
@@ -245,13 +245,14 @@ function splitMessage({ byteLength, byteOffset, buffer }) {
|
|
|
245
245
|
const headerLength = view.getUint32(PRELUDE_MEMBER_LENGTH, false);
|
|
246
246
|
const expectedPreludeChecksum = view.getUint32(PRELUDE_LENGTH, false);
|
|
247
247
|
const expectedMessageChecksum = view.getUint32(byteLength - CHECKSUM_LENGTH, false);
|
|
248
|
-
const checksummer = new Crc32()
|
|
249
|
-
|
|
250
|
-
|
|
248
|
+
const checksummer = new Crc32();
|
|
249
|
+
checksummer.update(new Uint8Array(buffer, byteOffset, PRELUDE_LENGTH));
|
|
250
|
+
if (expectedPreludeChecksum !== checksummer.digestSync()) {
|
|
251
|
+
throw new Error(`The prelude checksum specified in the message (${expectedPreludeChecksum}) does not match the calculated CRC32 checksum (${checksummer.digestSync()})`);
|
|
251
252
|
}
|
|
252
253
|
checksummer.update(new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH, byteLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH)));
|
|
253
|
-
if (expectedMessageChecksum !== checksummer.
|
|
254
|
-
throw new Error(`The message checksum (${checksummer.
|
|
254
|
+
if (expectedMessageChecksum !== checksummer.digestSync()) {
|
|
255
|
+
throw new Error(`The message checksum (${checksummer.digestSync()}) did not match the expected value of ${expectedMessageChecksum}`);
|
|
255
256
|
}
|
|
256
257
|
return {
|
|
257
258
|
headers: new DataView(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH, headerLength),
|
|
@@ -307,10 +308,12 @@ class EventStreamCodec {
|
|
|
307
308
|
const checksum = new Crc32();
|
|
308
309
|
view.setUint32(0, length, false);
|
|
309
310
|
view.setUint32(4, headers.byteLength, false);
|
|
310
|
-
|
|
311
|
+
checksum.update(out.subarray(0, 8));
|
|
312
|
+
view.setUint32(8, checksum.digestSync(), false);
|
|
311
313
|
out.set(headers, 12);
|
|
312
314
|
out.set(body, headers.byteLength + 12);
|
|
313
|
-
|
|
315
|
+
checksum.update(out.subarray(8, length - 4));
|
|
316
|
+
view.setUint32(length - 4, checksum.digestSync(), false);
|
|
314
317
|
return out;
|
|
315
318
|
}
|
|
316
319
|
decode(message) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const { Uint8ArrayBlobAdapter, sdkStreamMixin, splitEvery, splitHeader, fromBase64, _parseEpochTimestamp, _parseRfc7231DateTime, _parseRfc3339DateTimeWithOffset, LazyJsonString, NumericValue, toUtf8, fromUtf8, generateIdempotencyToken, toBase64, dateToUtcString, quoteHeader } = require("@smithy/core/serde");
|
|
2
2
|
const { TypeRegistry, NormalizedSchema, translateTraits } = require("@smithy/core/schema");
|
|
3
|
-
const { HttpRequest, HttpResponse } = require("@smithy/core/transport");
|
|
4
|
-
const {
|
|
3
|
+
const { HttpRequest, HttpResponse, isValidHostname } = require("@smithy/core/transport");
|
|
4
|
+
const { parseQueryString, parseUrl } = require("@smithy/core/transport");
|
|
5
5
|
exports.HttpRequest = HttpRequest;
|
|
6
6
|
exports.HttpResponse = HttpResponse;
|
|
7
7
|
exports.isValidHostname = isValidHostname;
|
|
@@ -116,6 +116,9 @@ class HttpProtocol extends SerdeContext {
|
|
|
116
116
|
hostPrefix = hostPrefix.replace(`{${name}}`, replacement);
|
|
117
117
|
}
|
|
118
118
|
request.hostname = hostPrefix + request.hostname;
|
|
119
|
+
if (!isValidHostname(request.hostname)) {
|
|
120
|
+
throw new Error(`[${request.hostname}] is not a valid hostname.`);
|
|
121
|
+
}
|
|
119
122
|
}
|
|
120
123
|
}
|
|
121
124
|
}
|
|
@@ -863,6 +863,9 @@ const calculateBodyLength = (body) => {
|
|
|
863
863
|
};
|
|
864
864
|
|
|
865
865
|
const toUint8Array = (data) => {
|
|
866
|
+
if (data instanceof Uint8Array) {
|
|
867
|
+
return data;
|
|
868
|
+
}
|
|
866
869
|
if (typeof data === "string") {
|
|
867
870
|
return fromUtf8(data);
|
|
868
871
|
}
|
|
@@ -872,6 +875,22 @@ const toUint8Array = (data) => {
|
|
|
872
875
|
return new Uint8Array(data);
|
|
873
876
|
};
|
|
874
877
|
|
|
878
|
+
function concatBytes(arrays, length) {
|
|
879
|
+
if (length === undefined) {
|
|
880
|
+
length = 0;
|
|
881
|
+
for (const bytes of arrays) {
|
|
882
|
+
length += bytes.byteLength;
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
const result = new Uint8Array(length);
|
|
886
|
+
let offset = 0;
|
|
887
|
+
for (const buf of arrays) {
|
|
888
|
+
result.set(buf, offset);
|
|
889
|
+
offset += buf.byteLength;
|
|
890
|
+
}
|
|
891
|
+
return result;
|
|
892
|
+
}
|
|
893
|
+
|
|
875
894
|
const isArrayBuffer = (arg) => (typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer) ||
|
|
876
895
|
Object.prototype.toString.call(arg) === "[object ArrayBuffer]";
|
|
877
896
|
|
|
@@ -1201,56 +1220,29 @@ async function headStream(stream, bytes) {
|
|
|
1201
1220
|
}
|
|
1202
1221
|
|
|
1203
1222
|
const streamCollector = async (stream) => {
|
|
1204
|
-
if ((
|
|
1205
|
-
if (Blob.prototype.arrayBuffer !== undefined) {
|
|
1206
|
-
return new Uint8Array(await stream.arrayBuffer());
|
|
1207
|
-
}
|
|
1223
|
+
if (isBlob(stream)) {
|
|
1208
1224
|
return collectBlob(stream);
|
|
1209
1225
|
}
|
|
1210
|
-
return
|
|
1226
|
+
return collectReadableStream(stream);
|
|
1211
1227
|
};
|
|
1212
1228
|
async function collectBlob(blob) {
|
|
1213
|
-
|
|
1214
|
-
const arrayBuffer = fromBase64(base64);
|
|
1215
|
-
return new Uint8Array(arrayBuffer);
|
|
1229
|
+
return blob.arrayBuffer().then((ab) => new Uint8Array(ab));
|
|
1216
1230
|
}
|
|
1217
|
-
async function
|
|
1231
|
+
async function collectReadableStream(stream) {
|
|
1218
1232
|
const chunks = [];
|
|
1219
1233
|
const reader = stream.getReader();
|
|
1220
|
-
let isDone = false;
|
|
1221
1234
|
let length = 0;
|
|
1222
|
-
while (
|
|
1235
|
+
while (true) {
|
|
1223
1236
|
const { done, value } = await reader.read();
|
|
1224
1237
|
if (value) {
|
|
1225
1238
|
chunks.push(value);
|
|
1226
1239
|
length += value.length;
|
|
1227
1240
|
}
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
let offset = 0;
|
|
1232
|
-
for (const chunk of chunks) {
|
|
1233
|
-
collected.set(chunk, offset);
|
|
1234
|
-
offset += chunk.length;
|
|
1241
|
+
if (done) {
|
|
1242
|
+
break;
|
|
1243
|
+
}
|
|
1235
1244
|
}
|
|
1236
|
-
return
|
|
1237
|
-
}
|
|
1238
|
-
function readToBase64(blob) {
|
|
1239
|
-
return new Promise((resolve, reject) => {
|
|
1240
|
-
const reader = new FileReader();
|
|
1241
|
-
reader.onloadend = () => {
|
|
1242
|
-
if (reader.readyState !== 2) {
|
|
1243
|
-
return reject(new Error("Reader aborted too early"));
|
|
1244
|
-
}
|
|
1245
|
-
const result = (reader.result ?? "");
|
|
1246
|
-
const commaIndex = result.indexOf(",");
|
|
1247
|
-
const dataOffset = commaIndex > -1 ? commaIndex + 1 : result.length;
|
|
1248
|
-
resolve(result.substring(dataOffset));
|
|
1249
|
-
};
|
|
1250
|
-
reader.onabort = () => reject(new Error("Read aborted"));
|
|
1251
|
-
reader.onerror = () => reject(reader.error);
|
|
1252
|
-
reader.readAsDataURL(blob);
|
|
1253
|
-
});
|
|
1245
|
+
return concatBytes(chunks, length);
|
|
1254
1246
|
}
|
|
1255
1247
|
|
|
1256
1248
|
const ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED = "The stream has already been transformed.";
|
|
@@ -1340,6 +1332,7 @@ exports._parseEpochTimestamp = _parseEpochTimestamp;
|
|
|
1340
1332
|
exports._parseRfc3339DateTimeWithOffset = _parseRfc3339DateTimeWithOffset;
|
|
1341
1333
|
exports._parseRfc7231DateTime = _parseRfc7231DateTime;
|
|
1342
1334
|
exports.calculateBodyLength = calculateBodyLength;
|
|
1335
|
+
exports.concatBytes = concatBytes;
|
|
1343
1336
|
exports.copyDocumentWithTransform = copyDocumentWithTransform;
|
|
1344
1337
|
exports.createBufferedReadable = createBufferedReadable;
|
|
1345
1338
|
exports.createChecksumStream = createChecksumStream;
|
|
@@ -1388,6 +1381,7 @@ exports.serializerMiddlewareOption = serializerMiddlewareOption;
|
|
|
1388
1381
|
exports.splitEvery = splitEvery;
|
|
1389
1382
|
exports.splitHeader = splitHeader;
|
|
1390
1383
|
exports.splitStream = splitStream;
|
|
1384
|
+
exports.streamCollector = streamCollector;
|
|
1391
1385
|
exports.strictParseByte = strictParseByte;
|
|
1392
1386
|
exports.strictParseDouble = strictParseDouble;
|
|
1393
1387
|
exports.strictParseFloat = strictParseFloat;
|