@cdklabs/cdk-ecs-codedeploy 0.0.421 → 0.0.422
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 +4806 -80
- package/.jsii.tabl.json +1 -1
- package/API.md +96 -10
- 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-deployment-provider/is-complete-function.js +2 -2
- package/lib/ecs-deployment-provider/on-event-function.js +2 -2
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
- package/node_modules/@aws/lambda-invoke-store/LICENSE +175 -0
- package/node_modules/@aws/lambda-invoke-store/README.md +198 -0
- package/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +119 -0
- package/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +117 -0
- package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.benchmark.d.ts +1 -0
- package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts +50 -0
- package/node_modules/@aws/lambda-invoke-store/package.json +55 -0
- package/node_modules/@aws-sdk/client-codedeploy/README.md +1 -52
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/index.js +4903 -6171
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.browser.js +3 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.js +5 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.shared.js +8 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/CodeDeployClient.js +4 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/AddTagsToOnPremisesInstancesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetApplicationRevisionsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetApplicationsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentGroupsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentInstancesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentTargetsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetOnPremisesInstancesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ContinueDeploymentCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateApplicationCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentConfigCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentGroupCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteApplicationCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteDeploymentConfigCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteDeploymentGroupCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteGitHubAccountTokenCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteResourcesByExternalIdCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeregisterOnPremisesInstanceCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetApplicationCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetApplicationRevisionCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentConfigCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentGroupCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentInstanceCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentTargetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetOnPremisesInstanceCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListApplicationRevisionsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListApplicationsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentConfigsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentGroupsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentInstancesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentTargetsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListGitHubAccountTokenNamesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListOnPremisesInstancesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/PutLifecycleEventHookExecutionStatusCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RegisterApplicationRevisionCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RegisterOnPremisesInstanceCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RemoveTagsFromOnPremisesInstancesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/SkipWaitTimeForInstanceTerminationCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/StopDeploymentCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/TagResourceCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UntagResourceCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UpdateApplicationCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UpdateDeploymentGroupCommand.js +3 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/index.js +4 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/models/enums.js +221 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/models/errors.js +1321 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/models/models_0.js +1 -1542
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.browser.js +3 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.js +6 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.shared.js +8 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/schemas/schemas_0.js +2141 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/waiters/waitForDeploymentSuccessful.js +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/CodeDeploy.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/CodeDeployClient.d.ts +10 -10
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/auth/httpAuthSchemeProvider.d.ts +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/AddTagsToOnPremisesInstancesCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationRevisionsCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationsCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentGroupsCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentInstancesCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentTargetsCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentsCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetOnPremisesInstancesCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ContinueDeploymentCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateApplicationCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentConfigCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentGroupCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteApplicationCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentConfigCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentGroupCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteGitHubAccountTokenCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteResourcesByExternalIdCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeregisterOnPremisesInstanceCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationRevisionCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentConfigCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentGroupCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentInstanceCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentTargetCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetOnPremisesInstanceCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationRevisionsCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationsCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentConfigsCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentGroupsCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentInstancesCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentTargetsCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentsCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListGitHubAccountTokenNamesCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListOnPremisesInstancesCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterApplicationRevisionCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterOnPremisesInstanceCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/StopDeploymentCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/TagResourceCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UntagResourceCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateApplicationCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateDeploymentGroupCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/extensionConfiguration.d.ts +4 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/index.d.ts +4 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/models/CodeDeployServiceException.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/models/enums.d.ts +493 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/models/errors.d.ts +1395 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/models/models_0.d.ts +116 -2003
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/Interfaces.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListApplicationRevisionsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListApplicationsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListDeploymentConfigsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListDeploymentGroupsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListDeploymentInstancesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListDeploymentsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.browser.d.ts +7 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.d.ts +8 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.native.d.ts +7 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.shared.d.ts +7 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/schemas/schemas_0.d.ts +299 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/CodeDeployClient.d.ts +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/index.d.ts +4 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/models/CodeDeployServiceException.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/models/enums.d.ts +281 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/models/errors.d.ts +964 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/models/models_0.d.ts +36 -1245
- 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 +10 -4
- 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 +9 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/schemas/schemas_0.d.ts +303 -0
- package/node_modules/@aws-sdk/client-codedeploy/package.json +44 -41
- package/node_modules/@aws-sdk/client-sso/README.md +1 -9
- package/node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js +27 -20
- package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +405 -610
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.browser.js +3 -4
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +5 -8
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +4 -2
- package/node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js +27 -20
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js +3 -10
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +3 -10
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountsCommand.js +3 -10
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/LogoutCommand.js +3 -10
- package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/index.js +3 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/models/errors.js +49 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/models/models_0.js +1 -75
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.browser.js +3 -4
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +6 -9
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +152 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +10 -10
- package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthSchemeProvider.d.ts +3 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/extensionConfiguration.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +3 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/models/SSOServiceException.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/models/errors.d.ts +53 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +0 -77
- package/node_modules/@aws-sdk/client-sso/dist-types/pagination/Interfaces.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountRolesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +7 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +7 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +7 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +8 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/schemas/schemas_0.d.ts +20 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/index.d.ts +3 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/SSOServiceException.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/errors.d.ts +30 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +0 -48
- 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 +9 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/schemas/schemas_0.d.ts +24 -0
- package/node_modules/@aws-sdk/client-sso/package.json +40 -39
- package/node_modules/@aws-sdk/core/LICENSE +201 -0
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +2193 -6
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +48 -88
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +36 -75
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +273 -365
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +1803 -1666
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +122 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/UnionSerde.js +23 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js +49 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js +7 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js +7 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +36 -44
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +25 -61
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +70 -37
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +115 -61
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +136 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReplacer.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +31 -42
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +38 -8
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +40 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +29 -73
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +17 -13
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +38 -21
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/parseXmlBody.js +2 -13
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ConfigurableSerdeContext.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +61 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/UnionSerde.d.ts +24 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +23 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +10 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +10 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +13 -4
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +17 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonCodec.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts +3 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts +19 -6
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts +27 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/jsonReviver.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts +10 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +27 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +11 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlCodec.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeDeserializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeSerializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +47 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/UnionSerde.d.ts +9 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +33 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +13 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +13 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +15 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +8 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeDeserializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeSerializer.d.ts +10 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts +17 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +3 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +12 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +4 -1
- package/node_modules/@aws-sdk/core/package.json +16 -18
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +38 -73
- package/node_modules/@aws-sdk/credential-provider-env/package.json +8 -7
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +13 -12
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +207 -259
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js +3 -10
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +4 -4
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js +12 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +8 -4
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +6 -6
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +4 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveLoginCredentials.d.ts +11 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProfileData.d.ts +6 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveSsoCredentials.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveWebIdentityCredentials.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts +8 -4
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +5 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveLoginCredentials.d.ts +9 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProfileData.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts +3 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveWebIdentityCredentials.d.ts +3 -1
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +19 -17
- package/node_modules/@aws-sdk/credential-provider-login/README.md +7 -0
- package/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +286 -0
- package/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js +262 -0
- package/node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js +21 -0
- package/node_modules/@aws-sdk/credential-provider-login/dist-es/index.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-login/dist-es/types.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/LoginCredentialsFetcher.d.ts +42 -0
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/fromLoginCredentials.d.ts +7 -0
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/index.d.ts +8 -0
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/LoginCredentialsFetcher.d.ts +24 -0
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/fromLoginCredentials.d.ts +5 -0
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/index.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/types.d.ts +39 -0
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/types.d.ts +59 -0
- package/node_modules/@aws-sdk/credential-provider-login/package.json +68 -0
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +127 -124
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +55 -44
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +54 -0
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/defaultProvider.d.ts +3 -2
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain.d.ts +18 -0
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/defaultProvider.d.ts +3 -2
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/runtime/memoize-chain.d.ts +19 -0
- package/node_modules/@aws-sdk/credential-provider-node/package.json +19 -17
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +71 -106
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js +2 -1
- package/node_modules/@aws-sdk/credential-provider-process/package.json +9 -8
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +179 -233
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-CVy8iqsZ.js +14 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +10 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +9 -3
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/resolveSSOCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/fromSSO.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/resolveSSOCredentials.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +11 -10
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +5 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +16 -25
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +5 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromTokenFile.d.ts +2 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromTokenFile.d.ts +5 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +10 -8
- package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +35 -63
- package/node_modules/@aws-sdk/middleware-host-header/package.json +9 -8
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +44 -75
- package/node_modules/@aws-sdk/middleware-logger/dist-types/loggerMiddleware.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-logger/package.json +8 -7
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +20 -67
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js +33 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.native.js +5 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/configuration.js +7 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/getRecursionDetectionPlugin.js +7 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js +2 -37
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.browser.js +1 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.js +29 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.native.js +1 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/configuration.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/getRecursionDetectionPlugin.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/index.d.ts +2 -18
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.browser.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.native.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/configuration.d.ts +3 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/getRecursionDetectionPlugin.d.ts +4 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/index.d.ts +2 -18
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.browser.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.native.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +15 -9
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +170 -203
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js +1 -1
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +12 -11
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/index.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js +56 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js +18 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +344 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.browser.js +39 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js +53 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.native.js +15 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +47 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +481 -854
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +3 -4
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +460 -931
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +3 -4
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +8 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js +50 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthExtensionConfiguration.js +38 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +50 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +16 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/index.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/EndpointParameters.js +13 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +14 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/ruleset.js +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/extensionConfiguration.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/index.js +8 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js +8 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +8 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/errors.js +57 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/models_0.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +34 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +48 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.native.js +11 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +43 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeExtensions.js +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +114 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +4 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js +3 -10
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/index.js +4 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/enums.js +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/errors.js +181 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js +1 -190
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +133 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +4 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js +3 -10
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +3 -10
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +22 -10
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/index.js +3 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js +85 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js +1 -102
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +8 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +186 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +18 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +189 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +157 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/EndpointParameters.d.ts +50 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/endpointResolver.d.ts +8 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/ruleset.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/extensionConfiguration.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +17 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/SigninServiceException.d.ts +14 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +34 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +102 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts +142 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +63 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +63 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +62 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +38 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeExtensions.d.ts +17 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts +12 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +11 -11
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +13 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/endpointResolver.d.ts +5 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/extensionConfiguration.d.ts +4 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/index.d.ts +5 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/enums.d.ts +25 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/errors.d.ts +279 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/models_0.d.ts +1 -279
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +7 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +7 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +7 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/schemas/schemas_0.d.ts +16 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +10 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +8 -7
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +10 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/EndpointParameters.d.ts +13 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/endpointResolver.d.ts +5 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/extensionConfiguration.d.ts +4 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +3 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/STSServiceException.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +107 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +7 -131
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +7 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +8 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +7 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +20 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/Signin.d.ts +22 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +123 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/EndpointParameters.d.ts +51 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/endpointResolver.d.ts +8 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/ruleset.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/extensionConfiguration.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/index.d.ts +11 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/SigninServiceException.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +10 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/errors.d.ts +35 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/models_0.d.ts +26 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +125 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +118 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +129 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +58 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeExtensions.d.ts +11 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts +16 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/index.d.ts +4 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/enums.d.ts +13 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/errors.d.ts +105 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/models_0.d.ts +0 -105
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +9 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +9 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +9 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts +20 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultStsRoleAssumers.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/index.d.ts +3 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/STSServiceException.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts +54 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +0 -64
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +9 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +9 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +9 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +24 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +49 -37
- package/node_modules/@aws-sdk/nested-clients/signin.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/signin.js +5 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +44 -100
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.js +20 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.native.js +6 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/index.js +2 -1
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/awsRegionConfig.js +2 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.browser.js +3 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.js +16 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.native.js +3 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/extensions/index.d.ts +2 -2
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/index.d.ts +2 -1
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/awsRegionConfig.d.ts +15 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.d.ts +14 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.native.d.ts +4 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/index.d.ts +2 -1
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/awsRegionConfig.d.ts +11 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.d.ts +7 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.native.d.ts +1 -0
- package/node_modules/@aws-sdk/region-config-resolver/package.json +13 -10
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +143 -223
- package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +2 -9
- package/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +4 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +3 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +2 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +3 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +3 -1
- package/node_modules/@aws-sdk/token-providers/package.json +13 -11
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +18 -290
- package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +2 -0
- package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +2 -0
- package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +2 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +2 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +1 -0
- package/node_modules/@aws-sdk/types/package.json +5 -4
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +398 -466
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +43 -37
- package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +43 -37
- package/node_modules/@aws-sdk/util-endpoints/package.json +10 -10
- package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +10 -38
- package/node_modules/@aws-sdk/util-locate-window/package.json +4 -3
- package/node_modules/@aws-sdk/util-user-agent-browser/README.md +22 -3
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/createUserAgentStringParsingProvider.js +57 -0
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +39 -8
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/createUserAgentStringParsingProvider.js +20 -0
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js +37 -6
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/createUserAgentStringParsingProvider.d.ts +14 -0
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +14 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts +4 -3
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/createUserAgentStringParsingProvider.d.ts +9 -0
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.d.ts +5 -0
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +6 -5
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +50 -94
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/crt-availability.d.ts +1 -2
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts +10 -5
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +8 -7
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +106 -155
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +18 -0
- package/node_modules/@aws-sdk/xml-builder/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.browser.js +57 -0
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +15 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/index.d.ts +4 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.d.ts +1 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.browser.d.ts +9 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.d.ts +4 -0
- package/node_modules/@aws-sdk/xml-builder/package.json +13 -4
- package/node_modules/@smithy/abort-controller/dist-cjs/index.js +28 -80
- package/node_modules/@smithy/abort-controller/dist-es/AbortController.js +1 -3
- package/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +2 -2
- package/node_modules/@smithy/abort-controller/package.json +3 -2
- package/node_modules/@smithy/config-resolver/dist-cjs/index.js +172 -214
- package/node_modules/@smithy/config-resolver/dist-es/regionConfig/checkRegion.js +15 -0
- package/node_modules/@smithy/config-resolver/dist-es/regionConfig/resolveRegionConfig.js +5 -5
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts +2 -2
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/utils/getEndpointFromRegion.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionConfig/checkRegion.d.ts +9 -0
- package/node_modules/@smithy/config-resolver/dist-types/regionConfig/config.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/regionInfo/EndpointVariant.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/PartitionHash.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/RegionHash.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getHostnameFromVariants.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getRegionInfo.d.ts +3 -3
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedPartition.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/checkRegion.d.ts +9 -0
- package/node_modules/@smithy/config-resolver/package.json +7 -5
- package/node_modules/@smithy/core/dist-cjs/index.js +308 -413
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +1010 -939
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +251 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +808 -799
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +585 -807
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +662 -720
- package/node_modules/@smithy/core/dist-es/index.js +1 -1
- package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +0 -1
- package/node_modules/@smithy/core/dist-es/middleware-http-signing/httpSigningMiddleware.js +0 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +109 -54
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +41 -19
- package/node_modules/@smithy/core/dist-es/submodules/cbor/byte-printer.js +35 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +18 -18
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +5 -5
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +246 -0
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +106 -18
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +52 -101
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +38 -12
- package/node_modules/@smithy/core/dist-es/submodules/protocols/SerdeContext.js +6 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js +9 -7
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js +23 -21
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js +5 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeSerializer.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js +16 -12
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/determineTimestampFormat.js +5 -6
- package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +27 -11
- package/node_modules/@smithy/core/dist-es/submodules/schema/index.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +6 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +3 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js +12 -24
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +11 -22
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +13 -23
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +149 -195
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js +13 -13
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/Schema.js +17 -3
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +17 -22
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +13 -29
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/operation.js +7 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/sentinels.js +14 -14
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js +22 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/copyDocumentWithTransform.js +1 -53
- package/node_modules/@smithy/core/dist-es/submodules/serde/generateIdempotencyToken.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/schema-serde-lib/schema-date-utils.js +101 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +6 -24
- package/node_modules/@smithy/core/dist-es/util-identity-and-auth/DefaultIdentityProviderConfig.js +1 -1
- package/node_modules/@smithy/core/dist-es/util-identity-and-auth/memoizeIdentityProvider.js +4 -2
- package/node_modules/@smithy/core/dist-types/getSmithyContext.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/resolveAuthOptions.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/middleware-http-signing/getHttpSigningMiddleware.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/middleware-http-signing/httpSigningMiddleware.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/normalizeProvider.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +18 -14
- package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +3 -3
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +60 -0
- package/node_modules/@smithy/core/dist-types/submodules/event-streams/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +14 -2
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +48 -5
- package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/protocols/SerdeContext.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/collect-stream-body.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +4 -5
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +7 -4
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +6 -3
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts +4 -5
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/determineTimestampFormat.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +15 -6
- package/node_modules/@smithy/core/dist-types/submodules/schema/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +11 -15
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +6 -6
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +6 -10
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +38 -30
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/OperationSchema.d.ts +6 -3
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/Schema.d.ts +7 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +12 -7
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +6 -7
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/operation.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/sentinels.d.ts +4 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/translateTraits.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/copyDocumentWithTransform.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/submodules/serde/generateIdempotencyToken.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/schema-serde-lib/schema-date-utils.d.ts +47 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +18 -14
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +3 -3
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +60 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +14 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +48 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/SerdeContext.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +4 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +6 -3
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +6 -3
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +4 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/determineTimestampFormat.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +14 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +11 -15
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +6 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +6 -10
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +38 -30
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +6 -3
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +7 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +11 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +6 -10
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/operation.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +3 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/generateIdempotencyToken.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/schema-serde-lib/schema-date-utils.d.ts +47 -0
- package/node_modules/@smithy/core/dist-types/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/util-identity-and-auth/memoizeIdentityProvider.d.ts +1 -1
- package/node_modules/@smithy/core/event-streams.d.ts +7 -0
- package/node_modules/@smithy/core/event-streams.js +6 -0
- package/node_modules/@smithy/core/package.json +23 -10
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +340 -413
- package/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js +2 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointConfigOptions.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointModeConfigOptions.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/fromContainerMetadata.d.ts +2 -2
- package/node_modules/@smithy/credential-provider-imds/dist-types/fromInstanceMetadata.d.ts +3 -3
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/ImdsCredentials.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/RemoteProviderInit.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/types.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/utils/getExtendedInstanceMetadataCredentials.d.ts +2 -2
- package/node_modules/@smithy/credential-provider-imds/dist-types/utils/getInstanceMetadataEndpoint.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/utils/staticStabilityProvider.d.ts +2 -2
- package/node_modules/@smithy/credential-provider-imds/package.json +6 -5
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +190 -238
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +2 -0
- package/node_modules/@smithy/fetch-http-handler/dist-types/create-request.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +3 -2
- package/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +2 -1
- package/node_modules/@smithy/fetch-http-handler/package.json +9 -8
- package/node_modules/@smithy/hash-node/dist-cjs/index.js +38 -63
- package/node_modules/@smithy/hash-node/dist-es/index.js +3 -0
- package/node_modules/@smithy/hash-node/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/hash-node/package.json +5 -4
- package/node_modules/@smithy/invalid-dependency/dist-cjs/index.js +7 -38
- package/node_modules/@smithy/invalid-dependency/dist-types/invalidProvider.d.ts +1 -1
- package/node_modules/@smithy/invalid-dependency/package.json +3 -2
- package/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +4 -30
- package/node_modules/@smithy/is-array-buffer/package.json +5 -4
- package/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +39 -64
- package/node_modules/@smithy/middleware-content-length/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/middleware-content-length/package.json +6 -5
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +226 -276
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js +10 -2
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/createConfigValueProvider.d.ts +2 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromInstructions.d.ts +3 -3
- package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointUrlConfig.d.ts +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/toEndpointV1.d.ts +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/endpointMiddleware.d.ts +3 -3
- package/node_modules/@smithy/middleware-endpoint/dist-types/getEndpointPlugin.d.ts +3 -3
- package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointRequiredConfig.d.ts +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/service-customizations/s3.d.ts +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/createConfigValueProvider.d.ts +2 -1
- package/node_modules/@smithy/middleware-endpoint/package.json +9 -8
- package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +327 -394
- package/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.browser.js +1 -1
- package/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js +2 -2
- package/node_modules/@smithy/middleware-retry/dist-es/AdaptiveRetryStrategy.js +1 -0
- package/node_modules/@smithy/middleware-retry/dist-es/StandardRetryStrategy.js +6 -2
- package/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js +1 -1
- package/node_modules/@smithy/middleware-retry/dist-types/AdaptiveRetryStrategy.d.ts +4 -3
- package/node_modules/@smithy/middleware-retry/dist-types/StandardRetryStrategy.d.ts +2 -2
- package/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts +2 -2
- package/node_modules/@smithy/middleware-retry/dist-types/defaultRetryQuota.d.ts +1 -1
- package/node_modules/@smithy/middleware-retry/dist-types/omitRetryHeadersMiddleware.d.ts +1 -1
- package/node_modules/@smithy/middleware-retry/dist-types/retryDecider.d.ts +1 -1
- package/node_modules/@smithy/middleware-retry/dist-types/retryMiddleware.d.ts +2 -2
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts +2 -1
- package/node_modules/@smithy/middleware-retry/dist-types/types.d.ts +1 -1
- package/node_modules/@smithy/middleware-retry/dist-types/util.d.ts +1 -1
- package/node_modules/@smithy/middleware-retry/package.json +13 -13
- package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +92 -118
- package/node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js +3 -0
- package/node_modules/@smithy/middleware-serde/dist-types/deserializerMiddleware.d.ts +1 -1
- package/node_modules/@smithy/middleware-serde/dist-types/serdePlugin.d.ts +1 -1
- package/node_modules/@smithy/middleware-serde/dist-types/serializerMiddleware.d.ts +1 -1
- package/node_modules/@smithy/middleware-serde/package.json +6 -5
- package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +274 -302
- package/node_modules/@smithy/middleware-stack/dist-types/MiddlewareStack.d.ts +1 -1
- package/node_modules/@smithy/middleware-stack/dist-types/types.d.ts +1 -1
- package/node_modules/@smithy/middleware-stack/package.json +3 -2
- package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +51 -98
- package/node_modules/@smithy/node-config-provider/dist-types/configLoader.d.ts +4 -4
- package/node_modules/@smithy/node-config-provider/dist-types/fromEnv.d.ts +1 -1
- package/node_modules/@smithy/node-config-provider/dist-types/fromSharedConfigFiles.d.ts +2 -2
- package/node_modules/@smithy/node-config-provider/dist-types/fromStatic.d.ts +1 -1
- package/node_modules/@smithy/node-config-provider/package.json +5 -4
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +694 -770
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +30 -16
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +2 -1
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +4 -2
- package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +3 -1
- package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +21 -0
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +2 -3
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +1 -4
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +3 -1
- package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +4 -4
- package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -3
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +4 -4
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +3 -2
- package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +4 -4
- package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +6 -0
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -3
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +6 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +5 -4
- package/node_modules/@smithy/node-http-handler/package.json +6 -5
- package/node_modules/@smithy/property-provider/dist-cjs/index.js +105 -158
- package/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +1 -1
- package/node_modules/@smithy/property-provider/dist-es/ProviderError.js +2 -1
- package/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +1 -1
- package/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +2 -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 +2 -1
- package/node_modules/@smithy/property-provider/dist-types/chain.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +2 -1
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +2 -1
- package/node_modules/@smithy/property-provider/package.json +3 -2
- package/node_modules/@smithy/protocol-http/dist-cjs/index.js +154 -247
- package/node_modules/@smithy/protocol-http/dist-es/Field.js +3 -0
- package/node_modules/@smithy/protocol-http/dist-es/Fields.js +2 -1
- package/node_modules/@smithy/protocol-http/dist-es/httpRequest.js +11 -0
- package/node_modules/@smithy/protocol-http/dist-es/httpResponse.js +4 -0
- package/node_modules/@smithy/protocol-http/dist-types/Field.d.ts +2 -1
- package/node_modules/@smithy/protocol-http/dist-types/Fields.d.ts +2 -2
- package/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +1 -1
- package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +2 -1
- package/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +1 -1
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts +2 -1
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +2 -1
- package/node_modules/@smithy/protocol-http/dist-types/types.d.ts +1 -1
- package/node_modules/@smithy/protocol-http/package.json +3 -2
- package/node_modules/@smithy/querystring-builder/dist-cjs/index.js +21 -47
- package/node_modules/@smithy/querystring-builder/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/querystring-builder/package.json +4 -3
- package/node_modules/@smithy/querystring-parser/dist-cjs/index.js +22 -48
- package/node_modules/@smithy/querystring-parser/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/querystring-parser/package.json +3 -2
- package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +70 -103
- package/node_modules/@smithy/service-error-classification/dist-es/index.js +3 -2
- package/node_modules/@smithy/service-error-classification/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/service-error-classification/package.json +3 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +7 -4
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +177 -189
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js +16 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/constants.js +1 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +16 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +5 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +3 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +4 -4
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/readFile.js +12 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/constants.d.ts +4 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/externalDataInterceptor.d.ts +9 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +7 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +3 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +2 -5
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/readFile.d.ts +21 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/constants.d.ts +4 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/externalDataInterceptor.d.ts +9 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +7 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +3 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +1 -4
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/readFile.d.ts +21 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/package.json +6 -5
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +525 -651
- package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +2 -1
- package/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js +1 -1
- package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +6 -0
- package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +3 -2
- package/node_modules/@smithy/signature-v4/dist-types/SignatureV4Base.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/credentialDerivation.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/getCanonicalHeaders.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/getCanonicalQuery.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/getPayloadHash.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/headerUtil.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/suite.fixture.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +2 -1
- package/node_modules/@smithy/signature-v4/package.json +9 -8
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +563 -714
- package/node_modules/@smithy/smithy-client/dist-es/client.js +10 -1
- package/node_modules/@smithy/smithy-client/dist-es/command.js +23 -20
- package/node_modules/@smithy/smithy-client/dist-es/exceptions.js +4 -0
- package/node_modules/@smithy/smithy-client/dist-es/schemaLogFilter.js +34 -0
- package/node_modules/@smithy/smithy-client/dist-types/NoOpLogger.d.ts +1 -1
- package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +33 -7
- package/node_modules/@smithy/smithy-client/dist-types/command.d.ts +3 -3
- package/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts +1 -1
- package/node_modules/@smithy/smithy-client/dist-types/exceptions.d.ts +1 -1
- package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts +2 -2
- package/node_modules/@smithy/smithy-client/dist-types/extensions/retry.d.ts +1 -1
- package/node_modules/@smithy/smithy-client/dist-types/schemaLogFilter.d.ts +9 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +33 -7
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +3 -3
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/schemaLogFilter.d.ts +9 -0
- package/node_modules/@smithy/smithy-client/package.json +8 -7
- package/node_modules/@smithy/types/dist-cjs/index.js +80 -133
- package/node_modules/@smithy/types/dist-es/index.js +3 -0
- package/node_modules/@smithy/types/dist-es/schema/schema-deprecated.js +1 -0
- package/node_modules/@smithy/types/dist-es/schema/static-schemas.js +1 -0
- package/node_modules/@smithy/types/dist-types/auth/HttpAuthScheme.d.ts +4 -4
- package/node_modules/@smithy/types/dist-types/auth/HttpAuthSchemeProvider.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/auth/HttpSigner.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/auth/IdentityProviderConfig.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/checksum.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/client.d.ts +4 -4
- package/node_modules/@smithy/types/dist-types/command.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/connection/manager.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/encode.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/endpoint.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts +3 -3
- package/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/eventStream.d.ts +3 -3
- package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/extensions/retry.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +19 -12
- package/node_modules/@smithy/types/dist-types/http.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/identity/apiKeyIdentity.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/identity/tokenIdentity.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/index.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/retry.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/schema/schema-deprecated.d.ts +143 -0
- package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +33 -58
- package/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts +97 -0
- package/node_modules/@smithy/types/dist-types/serde.d.ts +5 -5
- package/node_modules/@smithy/types/dist-types/shapes.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/signature.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/stream.d.ts +3 -3
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +17 -10
- package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +149 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +37 -62
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +116 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/uri.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/util.d.ts +3 -3
- package/node_modules/@smithy/types/dist-types/waiter.d.ts +1 -1
- package/node_modules/@smithy/types/package.json +2 -1
- package/node_modules/@smithy/url-parser/dist-cjs/index.js +20 -46
- package/node_modules/@smithy/url-parser/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/url-parser/package.json +4 -3
- package/node_modules/@smithy/util-base64/dist-cjs/constants.browser.js +9 -32
- package/node_modules/@smithy/util-base64/dist-cjs/index.js +16 -24
- package/node_modules/@smithy/util-base64/dist-cjs/toBase64.browser.js +1 -2
- package/node_modules/@smithy/util-base64/dist-es/constants.browser.js +9 -28
- package/node_modules/@smithy/util-base64/dist-types/constants.browser.d.ts +5 -6
- package/node_modules/@smithy/util-base64/dist-types/ts3.4/constants.browser.d.ts +5 -6
- package/node_modules/@smithy/util-base64/package.json +7 -6
- package/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +26 -53
- package/node_modules/@smithy/util-body-length-browser/package.json +5 -4
- package/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +29 -50
- package/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js +8 -6
- package/node_modules/@smithy/util-body-length-node/package.json +5 -4
- package/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +17 -44
- package/node_modules/@smithy/util-buffer-from/package.json +6 -5
- package/node_modules/@smithy/util-config-provider/dist-cjs/index.js +26 -60
- package/node_modules/@smithy/util-config-provider/dist-types/booleanSelector.d.ts +1 -1
- package/node_modules/@smithy/util-config-provider/dist-types/numberSelector.d.ts +1 -1
- package/node_modules/@smithy/util-config-provider/package.json +5 -4
- package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +9 -22
- package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/resolveDefaultsModeConfig.js +13 -12
- package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/resolveDefaultsModeConfig.native.js +2 -2
- package/node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js +11 -8
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -5
- package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +65 -110
- package/node_modules/@smithy/util-defaults-mode-node/dist-types/defaultsModeConfig.d.ts +1 -1
- package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -7
- package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +435 -507
- package/node_modules/@smithy/util-endpoints/dist-es/cache/EndpointCache.js +3 -2
- package/node_modules/@smithy/util-endpoints/dist-es/utils/callFunction.js +1 -11
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateExpression.js +15 -2
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateRules.js +17 -2
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateTreeRule.js +1 -13
- package/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperties.js +25 -2
- package/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperty.js +1 -21
- package/node_modules/@smithy/util-endpoints/dist-types/debug/toDebugString.d.ts +3 -3
- package/node_modules/@smithy/util-endpoints/dist-types/getEndpointUrlConfig.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/lib/parseURL.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/resolveEndpoint.d.ts +2 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/callFunction.d.ts +1 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateExpression.d.ts +7 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateRules.d.ts +6 -1
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTreeRule.d.ts +1 -3
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperties.d.ts +6 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperty.d.ts +1 -3
- package/node_modules/@smithy/util-endpoints/dist-types/types/EndpointFunctions.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/types/shared.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/callFunction.d.ts +1 -2
- package/node_modules/@smithy/util-endpoints/dist-types/utils/customEndpointFunctions.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateCondition.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateConditions.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateEndpointRule.d.ts +2 -2
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateErrorRule.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateExpression.d.ts +7 -2
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateRules.d.ts +7 -2
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateTemplate.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateTreeRule.d.ts +1 -3
- package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointHeaders.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperties.d.ts +7 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperty.d.ts +1 -3
- package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointUrl.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/getReferenceValue.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/package.json +6 -5
- package/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +29 -58
- package/node_modules/@smithy/util-hex-encoding/package.json +5 -4
- package/node_modules/@smithy/util-middleware/dist-cjs/index.js +11 -41
- package/node_modules/@smithy/util-middleware/dist-types/getSmithyContext.d.ts +1 -1
- package/node_modules/@smithy/util-middleware/dist-types/normalizeProvider.d.ts +1 -1
- package/node_modules/@smithy/util-middleware/package.json +3 -2
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +260 -340
- package/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js +4 -1
- package/node_modules/@smithy/util-retry/dist-es/ConfiguredRetryStrategy.js +1 -0
- package/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js +17 -8
- package/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js +5 -3
- package/node_modules/@smithy/util-retry/dist-types/AdaptiveRetryStrategy.d.ts +2 -2
- package/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts +1 -1
- package/node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts +1 -1
- package/node_modules/@smithy/util-retry/dist-types/defaultRetryBackoffStrategy.d.ts +1 -1
- package/node_modules/@smithy/util-retry/dist-types/defaultRetryToken.d.ts +1 -1
- package/node_modules/@smithy/util-retry/package.json +7 -4
- package/node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js +3 -2
- package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +7 -3
- package/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js +2 -3
- package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js +1 -1
- package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js +2 -3
- package/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js +1 -2
- package/node_modules/@smithy/util-stream/dist-cjs/headStream.js +4 -8
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +78 -97
- package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js +1 -2
- package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +1 -2
- package/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js +3 -7
- package/node_modules/@smithy/util-stream/dist-es/ByteArrayCollector.js +3 -2
- package/node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js +12 -7
- package/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.js +5 -0
- package/node_modules/@smithy/util-stream/dist-es/headStream.js +3 -6
- package/node_modules/@smithy/util-stream/dist-types/ByteArrayCollector.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/blob/Uint8ArrayBlobAdapter.d.ts +1 -0
- package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.browser.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +3 -2
- package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.browser.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts +3 -3
- package/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.browser.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/headStream.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.browser.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/ByteArrayCollector.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/blob/Uint8ArrayBlobAdapter.d.ts +1 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +2 -1
- package/node_modules/@smithy/util-stream/package.json +13 -12
- package/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +6 -40
- package/node_modules/@smithy/util-uri-escape/package.json +5 -4
- package/node_modules/@smithy/util-utf8/dist-cjs/index.js +27 -60
- package/node_modules/@smithy/util-utf8/package.json +6 -5
- package/node_modules/@smithy/util-waiter/dist-cjs/index.js +164 -189
- package/node_modules/@smithy/util-waiter/dist-es/circularReplacer.js +12 -0
- package/node_modules/@smithy/util-waiter/dist-es/poller.js +2 -1
- package/node_modules/@smithy/util-waiter/dist-es/waiter.js +4 -3
- package/node_modules/@smithy/util-waiter/dist-types/circularReplacer.d.ts +6 -0
- package/node_modules/@smithy/util-waiter/dist-types/createWaiter.d.ts +1 -1
- package/node_modules/@smithy/util-waiter/dist-types/poller.d.ts +2 -2
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/circularReplacer.d.ts +6 -0
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/poller.d.ts +1 -1
- package/node_modules/@smithy/util-waiter/dist-types/utils/validate.d.ts +1 -1
- package/node_modules/@smithy/util-waiter/dist-types/waiter.d.ts +1 -1
- package/node_modules/@smithy/util-waiter/package.json +4 -3
- package/node_modules/@smithy/uuid/LICENSE +201 -0
- package/node_modules/@smithy/uuid/README.md +10 -0
- package/node_modules/@smithy/uuid/dist-cjs/index.js +36 -0
- package/node_modules/@smithy/uuid/dist-cjs/randomUUID.js +6 -0
- package/node_modules/@smithy/uuid/dist-cjs/randomUUID.native.js +4 -0
- package/node_modules/@smithy/uuid/dist-es/index.js +1 -0
- package/node_modules/@smithy/uuid/dist-es/randomUUID.browser.js +1 -0
- package/node_modules/@smithy/uuid/dist-es/randomUUID.js +2 -0
- package/node_modules/@smithy/uuid/dist-es/randomUUID.native.js +1 -0
- package/node_modules/@smithy/uuid/dist-es/v4.js +31 -0
- package/node_modules/@smithy/uuid/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/uuid/dist-types/randomUUID.browser.d.ts +1 -0
- package/node_modules/@smithy/uuid/dist-types/randomUUID.d.ts +2 -0
- package/node_modules/@smithy/uuid/dist-types/randomUUID.native.d.ts +1 -0
- package/node_modules/@smithy/uuid/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.browser.d.ts +1 -0
- package/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.d.ts +2 -0
- package/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.native.d.ts +1 -0
- package/node_modules/@smithy/uuid/dist-types/ts3.4/v4.d.ts +19 -0
- package/node_modules/@smithy/uuid/dist-types/v4.d.ts +19 -0
- package/node_modules/@smithy/uuid/package.json +66 -0
- package/node_modules/bowser/CHANGELOG.md +1 -1
- package/node_modules/bowser/README.md +2 -4
- package/node_modules/bowser/bundled.js +1 -1
- package/node_modules/bowser/es5.js +1 -1
- package/node_modules/bowser/index.d.ts +71 -6
- package/node_modules/bowser/package.json +8 -3
- package/node_modules/bowser/src/constants.js +71 -18
- package/node_modules/bowser/src/parser-browsers.js +394 -0
- package/node_modules/bowser/src/parser-os.js +12 -0
- package/node_modules/bowser/src/parser-platforms.js +259 -1
- package/node_modules/bowser/src/parser.js +20 -5
- package/node_modules/bowser/src/utils.js +33 -15
- package/node_modules/strnum/README.md +6 -0
- package/node_modules/strnum/package.json +1 -1
- package/node_modules/strnum/strnum.js +1 -1
- package/package.json +12 -12
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/models/index.js +0 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/protocols/Aws_json1_1.js +0 -2614
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/models/index.d.ts +0 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/protocols/Aws_json1_1.d.ts +0 -425
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/models/index.d.ts +0 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -569
- package/node_modules/@aws-sdk/client-sso/dist-es/models/index.js +0 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js +0 -210
- package/node_modules/@aws-sdk/client-sso/dist-types/models/index.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/protocols/Aws_restJson1.d.ts +0 -38
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/index.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -53
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/index.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/protocols/Aws_restJson1.js +0 -255
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/index.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/protocols/Aws_query.js +0 -528
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/index.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/protocols/Aws_restJson1.d.ts +0 -11
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/index.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/protocols/Aws_query.d.ts +0 -20
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/index.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/protocols/Aws_restJson1.d.ts +0 -17
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/index.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/protocols/Aws_query.d.ts +0 -29
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/config.js +0 -12
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/getRealRegion.js +0 -6
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/index.js +0 -2
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/isFipsRegion.js +0 -1
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/resolveRegionConfig.js +0 -24
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/config.d.ts +0 -17
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/getRealRegion.d.ts +0 -4
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/index.d.ts +0 -8
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/isFipsRegion.d.ts +0 -4
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/resolveRegionConfig.d.ts +0 -37
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/config.d.ts +0 -8
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/getRealRegion.d.ts +0 -1
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/index.d.ts +0 -2
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/isFipsRegion.d.ts +0 -1
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/resolveRegionConfig.d.ts +0 -14
- package/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js +0 -1
- package/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/NodeUseFipsEndpointConfigOptions.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/index.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/resolveCustomEndpointsConfig.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/resolveEndpointsConfig.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/utils/getEndpointFromRegion.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/config.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/getRealRegion.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/index.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/isFipsRegion.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/EndpointVariant.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/EndpointVariantTag.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/PartitionHash.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/RegionHash.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getHostnameFromVariants.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getRegionInfo.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getResolvedHostname.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getResolvedPartition.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getResolvedSigningRegion.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/index.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/getSmithyContext.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/index.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/resolveAuthOptions.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/getHttpSigningMiddleware.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/httpSigningMiddleware.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/index.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/normalizeProvider.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/pagination/createPaginator.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/protocols/requestBuilder.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/setFeature.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/index.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/noAuth.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/index.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/memoizeIdentityProvider.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/Endpoint.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointConfigOptions.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointMode.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointModeConfigOptions.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/error/InstanceMetadataV1FallbackError.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/fromContainerMetadata.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/fromInstanceMetadata.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/ImdsCredentials.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/RemoteProviderInit.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/httpRequest.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/index.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/retry.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/types.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getExtendedInstanceMetadataCredentials.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getInstanceMetadataEndpoint.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/staticStabilityProvider.js +0 -1
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/create-request.js +0 -1
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/fetch-http-handler.js +0 -1
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/request-timeout.js +0 -1
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/stream-collector.js +0 -1
- package/node_modules/@smithy/invalid-dependency/dist-cjs/invalidFunction.js +0 -1
- package/node_modules/@smithy/invalid-dependency/dist-cjs/invalidProvider.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/createConfigValueProvider.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromInstructions.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/index.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/toEndpointV1.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/endpointMiddleware.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/getEndpointPlugin.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/resolveEndpointConfig.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/resolveEndpointRequiredConfig.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/service-customizations/index.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/service-customizations/s3.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/types.js +0 -1
- package/node_modules/@smithy/middleware-retry/dist-cjs/AdaptiveRetryStrategy.js +0 -1
- package/node_modules/@smithy/middleware-retry/dist-cjs/StandardRetryStrategy.js +0 -1
- package/node_modules/@smithy/middleware-retry/dist-cjs/configurations.js +0 -1
- package/node_modules/@smithy/middleware-retry/dist-cjs/defaultRetryQuota.js +0 -1
- package/node_modules/@smithy/middleware-retry/dist-cjs/delayDecider.js +0 -1
- package/node_modules/@smithy/middleware-retry/dist-cjs/omitRetryHeadersMiddleware.js +0 -1
- package/node_modules/@smithy/middleware-retry/dist-cjs/retryDecider.js +0 -1
- package/node_modules/@smithy/middleware-retry/dist-cjs/retryMiddleware.js +0 -1
- package/node_modules/@smithy/middleware-retry/dist-cjs/types.js +0 -1
- package/node_modules/@smithy/middleware-retry/dist-cjs/util.js +0 -1
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/CHANGELOG.md +0 -274
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/CONTRIBUTING.md +0 -18
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/LICENSE.md +0 -9
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/README.md +0 -466
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/bin/uuid +0 -2
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/index.js +0 -79
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/md5.js +0 -223
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/native.js +0 -11
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/nil.js +0 -8
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/parse.js +0 -45
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/regex.js +0 -8
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/rng.js +0 -25
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/sha1.js +0 -104
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/stringify.js +0 -44
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/v1.js +0 -107
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/v3.js +0 -16
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/v35.js +0 -80
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/v4.js +0 -43
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/v5.js +0 -16
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/validate.js +0 -17
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/version.js +0 -21
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/index.js +0 -9
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/md5.js +0 -215
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/native.js +0 -4
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/nil.js +0 -1
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/parse.js +0 -35
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/regex.js +0 -1
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/rng.js +0 -18
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/stringify.js +0 -33
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v1.js +0 -95
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v3.js +0 -4
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v35.js +0 -66
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v4.js +0 -29
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v5.js +0 -4
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/validate.js +0 -7
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/version.js +0 -11
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/index.js +0 -9
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/md5.js +0 -13
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/native.js +0 -4
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/nil.js +0 -1
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/parse.js +0 -35
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/regex.js +0 -1
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/rng.js +0 -12
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/sha1.js +0 -13
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/stringify.js +0 -33
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v1.js +0 -95
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v3.js +0 -4
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v35.js +0 -66
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v4.js +0 -29
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v5.js +0 -4
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/validate.js +0 -7
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/version.js +0 -11
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/index.js +0 -79
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/md5-browser.js +0 -223
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/md5.js +0 -23
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/native-browser.js +0 -11
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/native.js +0 -15
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/nil.js +0 -8
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/parse.js +0 -45
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/regex.js +0 -8
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/rng-browser.js +0 -25
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/rng.js +0 -24
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/sha1-browser.js +0 -104
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/sha1.js +0 -23
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/stringify.js +0 -44
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/uuid-bin.js +0 -85
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v1.js +0 -107
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v3.js +0 -16
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v35.js +0 -80
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v4.js +0 -43
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v5.js +0 -16
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/validate.js +0 -17
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/version.js +0 -21
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/package.json +0 -135
- package/node_modules/@smithy/middleware-retry/node_modules/uuid/wrapper.mjs +0 -10
- package/node_modules/@smithy/middleware-serde/dist-cjs/deserializerMiddleware.js +0 -1
- package/node_modules/@smithy/middleware-serde/dist-cjs/serdePlugin.js +0 -1
- package/node_modules/@smithy/middleware-serde/dist-cjs/serializerMiddleware.js +0 -1
- package/node_modules/@smithy/middleware-stack/dist-cjs/MiddlewareStack.js +0 -1
- package/node_modules/@smithy/middleware-stack/dist-cjs/types.js +0 -1
- package/node_modules/@smithy/node-config-provider/dist-cjs/configLoader.js +0 -1
- package/node_modules/@smithy/node-config-provider/dist-cjs/fromEnv.js +0 -1
- package/node_modules/@smithy/node-config-provider/dist-cjs/fromSharedConfigFiles.js +0 -1
- package/node_modules/@smithy/node-config-provider/dist-cjs/fromStatic.js +0 -1
- package/node_modules/@smithy/node-config-provider/dist-cjs/getSelectorName.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/constants.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/get-transformed-headers.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-manager.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-pool.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/readable.mock.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/server.mock.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/set-connection-timeout.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-keep-alive.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-timeout.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/collector.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/index.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/readable.mock.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/timing.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js +0 -1
- package/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +0 -1
- package/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +0 -1
- package/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +0 -1
- package/node_modules/@smithy/property-provider/dist-cjs/chain.js +0 -1
- package/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +0 -1
- package/node_modules/@smithy/property-provider/dist-cjs/memoize.js +0 -1
- package/node_modules/@smithy/protocol-http/dist-cjs/Field.js +0 -1
- package/node_modules/@smithy/protocol-http/dist-cjs/Fields.js +0 -1
- package/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +0 -1
- package/node_modules/@smithy/protocol-http/dist-cjs/extensions/index.js +0 -1
- package/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js +0 -1
- package/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js +0 -1
- package/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js +0 -1
- package/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js +0 -1
- package/node_modules/@smithy/protocol-http/dist-cjs/types.js +0 -1
- package/node_modules/@smithy/service-error-classification/dist-cjs/constants.js +0 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js +0 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js +0 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js +0 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js +0 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js +0 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +0 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +0 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +0 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +0 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +0 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +0 -13
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +0 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +0 -9
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +0 -5
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +0 -5
- package/node_modules/@smithy/signature-v4/dist-cjs/HeaderFormatter.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/SignatureV4.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/SignatureV4Base.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/constants.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/credentialDerivation.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalHeaders.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalQuery.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/getPayloadHash.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/headerUtil.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/moveHeadersToQuery.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/prepareRequest.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/signature-v4a-container.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/suite.fixture.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/utilDate.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/NoOpLogger.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/client.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/collect-stream-body.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/command.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/constants.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/create-aggregated-client.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/default-error-handler.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/defaults-mode.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/emitWarningIfUnsupportedVersion.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/exceptions.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/extended-encode-uri-component.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/checksum.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/defaultExtensionConfiguration.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/index.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/retry.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/get-array-if-single-item.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/get-value-from-text-node.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/is-serializable-header-value.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/object-mapping.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/resolve-path.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/ser-utils.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/serde-json.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/abort-handler.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/abort.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/auth/HttpApiKeyAuth.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/auth/HttpAuthScheme.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/auth/HttpAuthSchemeProvider.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/auth/HttpSigner.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/auth/IdentityProviderConfig.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/auth/auth.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/auth/index.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/blob/blob-payload-input-types.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/checksum.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/client.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/command.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/connection/config.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/connection/index.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/connection/manager.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/connection/pool.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/crypto.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/downlevel-ts3.4/transform/type-transform.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/encode.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/endpoint.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/endpoints/EndpointRuleObject.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/endpoints/ErrorRuleObject.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/endpoints/RuleSetObject.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/endpoints/TreeRuleObject.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/endpoints/index.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/endpoints/shared.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/eventStream.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/extensions/checksum.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/extensions/defaultClientConfiguration.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/extensions/defaultExtensionConfiguration.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/extensions/index.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/extensions/retry.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/externals-check/browser-externals-check.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/feature-ids.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/http/httpHandlerInitialization.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/http.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/identity/apiKeyIdentity.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/identity/awsCredentialIdentity.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/identity/identity.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/identity/index.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/identity/tokenIdentity.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/logger.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/middleware.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/pagination.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/profile.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/response.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/retry.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/schema/schema.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/schema/sentinels.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/schema/traits.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/serde.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/shapes.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/signature.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/stream.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-common-types.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/transfer.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/transform/client-method-transforms.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/transform/client-payload-blob-type-narrow.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/transform/exact.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/transform/mutable.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/transform/no-undefined.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/transform/type-transform.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/uri.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/util.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/waiter.js +0 -1
- package/node_modules/@smithy/util-body-length-browser/dist-cjs/calculateBodyLength.js +0 -1
- package/node_modules/@smithy/util-body-length-node/dist-cjs/calculateBodyLength.js +0 -1
- package/node_modules/@smithy/util-config-provider/dist-cjs/booleanSelector.js +0 -1
- package/node_modules/@smithy/util-config-provider/dist-cjs/numberSelector.js +0 -1
- package/node_modules/@smithy/util-config-provider/dist-cjs/types.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/constants.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/defaultsModeConfig.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/resolveDefaultsModeConfig.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/cache/EndpointCache.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/debug/debugId.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/debug/index.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/debug/toDebugString.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/getEndpointUrlConfig.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/booleanEquals.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/getAttr.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/getAttrPathList.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/index.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/isIpAddress.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/isSet.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/isValidHostLabel.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/not.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/parseURL.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/stringEquals.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/substring.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/uriEncode.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/resolveEndpoint.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointError.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointFunctions.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointRuleObject.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/ErrorRuleObject.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/RuleSetObject.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/TreeRuleObject.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/index.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/shared.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/callFunction.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/customEndpointFunctions.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/endpointFunctions.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateCondition.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateConditions.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateEndpointRule.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateErrorRule.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateExpression.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateRules.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateTemplate.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateTreeRule.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointHeaders.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointProperties.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointProperty.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointUrl.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getReferenceValue.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/index.js +0 -1
- package/node_modules/@smithy/util-middleware/dist-cjs/getSmithyContext.js +0 -1
- package/node_modules/@smithy/util-middleware/dist-cjs/normalizeProvider.js +0 -1
- package/node_modules/@smithy/util-retry/dist-cjs/AdaptiveRetryStrategy.js +0 -1
- package/node_modules/@smithy/util-retry/dist-cjs/ConfiguredRetryStrategy.js +0 -1
- package/node_modules/@smithy/util-retry/dist-cjs/DefaultRateLimiter.js +0 -1
- package/node_modules/@smithy/util-retry/dist-cjs/StandardRetryStrategy.js +0 -1
- package/node_modules/@smithy/util-retry/dist-cjs/config.js +0 -1
- package/node_modules/@smithy/util-retry/dist-cjs/constants.js +0 -1
- package/node_modules/@smithy/util-retry/dist-cjs/defaultRetryBackoffStrategy.js +0 -1
- package/node_modules/@smithy/util-retry/dist-cjs/defaultRetryToken.js +0 -1
- package/node_modules/@smithy/util-retry/dist-cjs/types.js +0 -1
- package/node_modules/@smithy/util-stream/dist-cjs/blob/Uint8ArrayBlobAdapter.js +0 -1
- package/node_modules/@smithy/util-stream/dist-cjs/blob/transforms.js +0 -1
- package/node_modules/@smithy/util-stream/dist-es/blob/transforms.js +0 -15
- package/node_modules/@smithy/util-stream/dist-types/blob/transforms.d.ts +0 -9
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/blob/transforms.d.ts +0 -9
- package/node_modules/@smithy/util-uri-escape/dist-cjs/escape-uri-path.js +0 -1
- package/node_modules/@smithy/util-uri-escape/dist-cjs/escape-uri.js +0 -1
- 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/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-waiter/dist-cjs/createWaiter.js +0 -1
- package/node_modules/@smithy/util-waiter/dist-cjs/poller.js +0 -1
- package/node_modules/@smithy/util-waiter/dist-cjs/utils/index.js +0 -1
- package/node_modules/@smithy/util-waiter/dist-cjs/utils/sleep.js +0 -1
- package/node_modules/@smithy/util-waiter/dist-cjs/utils/validate.js +0 -1
- package/node_modules/@smithy/util-waiter/dist-cjs/waiter.js +0 -1
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/CHANGELOG.md +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/LICENSE +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/README.md +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxbuilder.min.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxbuilder.min.js.map +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxp.cjs +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxp.d.cts +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxp.min.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxp.min.js.map +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxparser.min.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxparser.min.js.map +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxvalidator.min.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxvalidator.min.js.map +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/package.json +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/cli/cli.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/cli/man.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/cli/read.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/fxp.d.ts +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/fxp.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/ignoreAttributes.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/util.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/CharsSymbol.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/EntitiesParser.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OptionsBuilder.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/BaseOutputBuilder.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/JsArrBuilder.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/JsMinArrBuilder.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/JsObjBuilder.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/ParserOptionsBuilder.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/Report.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/TagPath.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/TagPathMatcher.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/XMLParser.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/Xml2JsParser.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/XmlPartReader.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/XmlSpecialTagsReader.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/inputSource/BufferSource.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/inputSource/StringSource.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/EntitiesParser.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/booleanParser.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/booleanParserExt.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/currency.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/join.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/number.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/trim.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/validator.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlbuilder/json2xml.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlbuilder/orderedJs2Xml.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlbuilder/prettifyJs2Xml.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/DocTypeReader.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/OptionsBuilder.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/OrderedObjParser.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/XMLParser.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/node2json.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/xmlNode.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{protocols → request-builder}/requestBuilder.js +0 -0
- /package/node_modules/@smithy/core/dist-types/{protocols → request-builder}/requestBuilder.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/ts3.4/{protocols → request-builder}/requestBuilder.d.ts +0 -0
|
@@ -1,830 +1,839 @@
|
|
|
1
|
-
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
1
|
+
'use strict';
|
|
18
2
|
|
|
19
|
-
|
|
20
|
-
var
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
HttpInterceptingShapeSerializer: () => HttpInterceptingShapeSerializer,
|
|
26
|
-
RequestBuilder: () => RequestBuilder,
|
|
27
|
-
RpcProtocol: () => RpcProtocol,
|
|
28
|
-
ToStringShapeSerializer: () => ToStringShapeSerializer,
|
|
29
|
-
collectBody: () => collectBody,
|
|
30
|
-
determineTimestampFormat: () => determineTimestampFormat,
|
|
31
|
-
extendedEncodeURIComponent: () => extendedEncodeURIComponent,
|
|
32
|
-
requestBuilder: () => requestBuilder,
|
|
33
|
-
resolvedPath: () => resolvedPath
|
|
34
|
-
});
|
|
35
|
-
module.exports = __toCommonJS(protocols_exports);
|
|
3
|
+
var utilStream = require('@smithy/util-stream');
|
|
4
|
+
var schema = require('@smithy/core/schema');
|
|
5
|
+
var serde = require('@smithy/core/serde');
|
|
6
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
7
|
+
var utilBase64 = require('@smithy/util-base64');
|
|
8
|
+
var utilUtf8 = require('@smithy/util-utf8');
|
|
36
9
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
const fromContext = context.streamCollector(streamBody);
|
|
47
|
-
return import_util_stream.Uint8ArrayBlobAdapter.mutate(await fromContext);
|
|
10
|
+
const collectBody = async (streamBody = new Uint8Array(), context) => {
|
|
11
|
+
if (streamBody instanceof Uint8Array) {
|
|
12
|
+
return utilStream.Uint8ArrayBlobAdapter.mutate(streamBody);
|
|
13
|
+
}
|
|
14
|
+
if (!streamBody) {
|
|
15
|
+
return utilStream.Uint8ArrayBlobAdapter.mutate(new Uint8Array());
|
|
16
|
+
}
|
|
17
|
+
const fromContext = context.streamCollector(streamBody);
|
|
18
|
+
return utilStream.Uint8ArrayBlobAdapter.mutate(await fromContext);
|
|
48
19
|
};
|
|
49
20
|
|
|
50
|
-
// src/submodules/protocols/extended-encode-uri-component.ts
|
|
51
21
|
function extendedEncodeURIComponent(str) {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
22
|
+
return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {
|
|
23
|
+
return "%" + c.charCodeAt(0).toString(16).toUpperCase();
|
|
24
|
+
});
|
|
55
25
|
}
|
|
56
26
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
27
|
+
class SerdeContext {
|
|
28
|
+
serdeContext;
|
|
29
|
+
setSerdeContext(serdeContext) {
|
|
30
|
+
this.serdeContext = serdeContext;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
60
33
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
request.password = endpoint.url.password || void 0;
|
|
93
|
-
for (const [k, v] of endpoint.url.searchParams.entries()) {
|
|
94
|
-
if (!request.query) {
|
|
95
|
-
request.query = {};
|
|
96
|
-
}
|
|
97
|
-
request.query[k] = v;
|
|
98
|
-
}
|
|
99
|
-
return request;
|
|
100
|
-
} else {
|
|
101
|
-
request.protocol = endpoint.protocol;
|
|
102
|
-
request.hostname = endpoint.hostname;
|
|
103
|
-
request.port = endpoint.port ? Number(endpoint.port) : void 0;
|
|
104
|
-
request.path = endpoint.path;
|
|
105
|
-
request.query = {
|
|
106
|
-
...endpoint.query
|
|
107
|
-
};
|
|
108
|
-
return request;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
setHostPrefix(request, operationSchema, input) {
|
|
112
|
-
const operationNs = import_schema.NormalizedSchema.of(operationSchema);
|
|
113
|
-
const inputNs = import_schema.NormalizedSchema.of(operationSchema.input);
|
|
114
|
-
if (operationNs.getMergedTraits().endpoint) {
|
|
115
|
-
let hostPrefix = operationNs.getMergedTraits().endpoint?.[0];
|
|
116
|
-
if (typeof hostPrefix === "string") {
|
|
117
|
-
const hostLabelInputs = [...inputNs.structIterator()].filter(
|
|
118
|
-
([, member]) => member.getMergedTraits().hostLabel
|
|
119
|
-
);
|
|
120
|
-
for (const [name] of hostLabelInputs) {
|
|
121
|
-
const replacement = input[name];
|
|
122
|
-
if (typeof replacement !== "string") {
|
|
123
|
-
throw new Error(`@smithy/core/schema - ${name} in input must be a string as hostLabel.`);
|
|
124
|
-
}
|
|
125
|
-
hostPrefix = hostPrefix.replace(`{${name}}`, replacement);
|
|
126
|
-
}
|
|
127
|
-
request.hostname = hostPrefix + request.hostname;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
deserializeMetadata(output) {
|
|
132
|
-
return {
|
|
133
|
-
httpStatusCode: output.statusCode,
|
|
134
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
135
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
136
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
async deserializeHttpMessage(schema, context, response, arg4, arg5) {
|
|
140
|
-
let dataObject;
|
|
141
|
-
if (arg4 instanceof Set) {
|
|
142
|
-
dataObject = arg5;
|
|
143
|
-
} else {
|
|
144
|
-
dataObject = arg4;
|
|
145
|
-
}
|
|
146
|
-
const deserializer = this.deserializer;
|
|
147
|
-
const ns = import_schema.NormalizedSchema.of(schema);
|
|
148
|
-
const nonHttpBindingMembers = [];
|
|
149
|
-
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
150
|
-
const memberTraits = memberSchema.getMemberTraits();
|
|
151
|
-
if (memberTraits.httpPayload) {
|
|
152
|
-
const isStreaming = memberSchema.isStreaming();
|
|
153
|
-
if (isStreaming) {
|
|
154
|
-
const isEventStream = memberSchema.isStructSchema();
|
|
155
|
-
if (isEventStream) {
|
|
156
|
-
const context2 = this.serdeContext;
|
|
157
|
-
if (!context2.eventStreamMarshaller) {
|
|
158
|
-
throw new Error("@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.");
|
|
34
|
+
class HttpProtocol extends SerdeContext {
|
|
35
|
+
options;
|
|
36
|
+
constructor(options) {
|
|
37
|
+
super();
|
|
38
|
+
this.options = options;
|
|
39
|
+
}
|
|
40
|
+
getRequestType() {
|
|
41
|
+
return protocolHttp.HttpRequest;
|
|
42
|
+
}
|
|
43
|
+
getResponseType() {
|
|
44
|
+
return protocolHttp.HttpResponse;
|
|
45
|
+
}
|
|
46
|
+
setSerdeContext(serdeContext) {
|
|
47
|
+
this.serdeContext = serdeContext;
|
|
48
|
+
this.serializer.setSerdeContext(serdeContext);
|
|
49
|
+
this.deserializer.setSerdeContext(serdeContext);
|
|
50
|
+
if (this.getPayloadCodec()) {
|
|
51
|
+
this.getPayloadCodec().setSerdeContext(serdeContext);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
updateServiceEndpoint(request, endpoint) {
|
|
55
|
+
if ("url" in endpoint) {
|
|
56
|
+
request.protocol = endpoint.url.protocol;
|
|
57
|
+
request.hostname = endpoint.url.hostname;
|
|
58
|
+
request.port = endpoint.url.port ? Number(endpoint.url.port) : undefined;
|
|
59
|
+
request.path = endpoint.url.pathname;
|
|
60
|
+
request.fragment = endpoint.url.hash || void 0;
|
|
61
|
+
request.username = endpoint.url.username || void 0;
|
|
62
|
+
request.password = endpoint.url.password || void 0;
|
|
63
|
+
if (!request.query) {
|
|
64
|
+
request.query = {};
|
|
159
65
|
}
|
|
160
|
-
const
|
|
161
|
-
|
|
162
|
-
const unionMember = Object.keys(event).find((key) => {
|
|
163
|
-
return key !== "__type";
|
|
164
|
-
}) ?? "";
|
|
165
|
-
if (unionMember in memberSchemas) {
|
|
166
|
-
const eventStreamSchema = memberSchemas[unionMember];
|
|
167
|
-
return {
|
|
168
|
-
[unionMember]: await deserializer.read(eventStreamSchema, event[unionMember].body)
|
|
169
|
-
};
|
|
170
|
-
} else {
|
|
171
|
-
return {
|
|
172
|
-
$unknown: event
|
|
173
|
-
};
|
|
174
|
-
}
|
|
175
|
-
});
|
|
176
|
-
} else {
|
|
177
|
-
dataObject[memberName] = (0, import_util_stream2.sdkStreamMixin)(response.body);
|
|
178
|
-
}
|
|
179
|
-
} else if (response.body) {
|
|
180
|
-
const bytes = await collectBody(response.body, context);
|
|
181
|
-
if (bytes.byteLength > 0) {
|
|
182
|
-
dataObject[memberName] = await deserializer.read(memberSchema, bytes);
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
} else if (memberTraits.httpHeader) {
|
|
186
|
-
const key = String(memberTraits.httpHeader).toLowerCase();
|
|
187
|
-
const value = response.headers[key];
|
|
188
|
-
if (null != value) {
|
|
189
|
-
if (memberSchema.isListSchema()) {
|
|
190
|
-
const headerListValueSchema = memberSchema.getValueSchema();
|
|
191
|
-
let sections;
|
|
192
|
-
if (headerListValueSchema.isTimestampSchema() && headerListValueSchema.getSchema() === import_schema.SCHEMA.TIMESTAMP_DEFAULT) {
|
|
193
|
-
sections = (0, import_serde.splitEvery)(value, ",", 2);
|
|
194
|
-
} else {
|
|
195
|
-
sections = (0, import_serde.splitHeader)(value);
|
|
66
|
+
for (const [k, v] of endpoint.url.searchParams.entries()) {
|
|
67
|
+
request.query[k] = v;
|
|
196
68
|
}
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
69
|
+
return request;
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
request.protocol = endpoint.protocol;
|
|
73
|
+
request.hostname = endpoint.hostname;
|
|
74
|
+
request.port = endpoint.port ? Number(endpoint.port) : undefined;
|
|
75
|
+
request.path = endpoint.path;
|
|
76
|
+
request.query = {
|
|
77
|
+
...endpoint.query,
|
|
78
|
+
};
|
|
79
|
+
return request;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
setHostPrefix(request, operationSchema, input) {
|
|
83
|
+
const inputNs = schema.NormalizedSchema.of(operationSchema.input);
|
|
84
|
+
const opTraits = schema.translateTraits(operationSchema.traits ?? {});
|
|
85
|
+
if (opTraits.endpoint) {
|
|
86
|
+
let hostPrefix = opTraits.endpoint?.[0];
|
|
87
|
+
if (typeof hostPrefix === "string") {
|
|
88
|
+
const hostLabelInputs = [...inputNs.structIterator()].filter(([, member]) => member.getMergedTraits().hostLabel);
|
|
89
|
+
for (const [name] of hostLabelInputs) {
|
|
90
|
+
const replacement = input[name];
|
|
91
|
+
if (typeof replacement !== "string") {
|
|
92
|
+
throw new Error(`@smithy/core/schema - ${name} in input must be a string as hostLabel.`);
|
|
93
|
+
}
|
|
94
|
+
hostPrefix = hostPrefix.replace(`{${name}}`, replacement);
|
|
95
|
+
}
|
|
96
|
+
request.hostname = hostPrefix + request.hostname;
|
|
200
97
|
}
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
this.updateServiceEndpoint(request, endpoint);
|
|
252
|
-
this.setHostPrefix(request, operationSchema, input);
|
|
253
|
-
const opTraits = import_schema2.NormalizedSchema.translateTraits(operationSchema.traits);
|
|
254
|
-
if (opTraits.http) {
|
|
255
|
-
request.method = opTraits.http[0];
|
|
256
|
-
const [path, search] = opTraits.http[1].split("?");
|
|
257
|
-
if (request.path == "/") {
|
|
258
|
-
request.path = path;
|
|
259
|
-
} else {
|
|
260
|
-
request.path += path;
|
|
261
|
-
}
|
|
262
|
-
const traitSearchParams = new URLSearchParams(search ?? "");
|
|
263
|
-
Object.assign(query, Object.fromEntries(traitSearchParams));
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
for (const [memberName, memberNs] of ns.structIterator()) {
|
|
267
|
-
const memberTraits = memberNs.getMergedTraits() ?? {};
|
|
268
|
-
const inputMemberValue = input[memberName];
|
|
269
|
-
if (inputMemberValue == null) {
|
|
270
|
-
continue;
|
|
271
|
-
}
|
|
272
|
-
if (memberTraits.httpPayload) {
|
|
273
|
-
const isStreaming = memberNs.isStreaming();
|
|
274
|
-
if (isStreaming) {
|
|
275
|
-
const isEventStream = memberNs.isStructSchema();
|
|
276
|
-
if (isEventStream) {
|
|
277
|
-
throw new Error("serialization of event streams is not yet implemented");
|
|
278
|
-
} else {
|
|
279
|
-
payload = inputMemberValue;
|
|
280
|
-
}
|
|
281
|
-
} else {
|
|
282
|
-
serializer.write(memberNs, inputMemberValue);
|
|
283
|
-
payload = serializer.flush();
|
|
284
|
-
}
|
|
285
|
-
delete input[memberName];
|
|
286
|
-
} else if (memberTraits.httpLabel) {
|
|
287
|
-
serializer.write(memberNs, inputMemberValue);
|
|
288
|
-
const replacement = serializer.flush();
|
|
289
|
-
if (request.path.includes(`{${memberName}+}`)) {
|
|
290
|
-
request.path = request.path.replace(
|
|
291
|
-
`{${memberName}+}`,
|
|
292
|
-
replacement.split("/").map(extendedEncodeURIComponent).join("/")
|
|
293
|
-
);
|
|
294
|
-
} else if (request.path.includes(`{${memberName}}`)) {
|
|
295
|
-
request.path = request.path.replace(`{${memberName}}`, extendedEncodeURIComponent(replacement));
|
|
296
|
-
}
|
|
297
|
-
delete input[memberName];
|
|
298
|
-
} else if (memberTraits.httpHeader) {
|
|
299
|
-
serializer.write(memberNs, inputMemberValue);
|
|
300
|
-
headers[memberTraits.httpHeader.toLowerCase()] = String(serializer.flush());
|
|
301
|
-
delete input[memberName];
|
|
302
|
-
} else if (typeof memberTraits.httpPrefixHeaders === "string") {
|
|
303
|
-
for (const [key, val] of Object.entries(inputMemberValue)) {
|
|
304
|
-
const amalgam = memberTraits.httpPrefixHeaders + key;
|
|
305
|
-
serializer.write([memberNs.getValueSchema(), { httpHeader: amalgam }], val);
|
|
306
|
-
headers[amalgam.toLowerCase()] = serializer.flush();
|
|
307
|
-
}
|
|
308
|
-
delete input[memberName];
|
|
309
|
-
} else if (memberTraits.httpQuery || memberTraits.httpQueryParams) {
|
|
310
|
-
this.serializeQuery(memberNs, inputMemberValue, query);
|
|
311
|
-
delete input[memberName];
|
|
312
|
-
} else {
|
|
313
|
-
hasNonHttpBindingMember = true;
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
if (hasNonHttpBindingMember && input) {
|
|
317
|
-
serializer.write(schema, input);
|
|
318
|
-
payload = serializer.flush();
|
|
319
|
-
}
|
|
320
|
-
request.headers = headers;
|
|
321
|
-
request.query = query;
|
|
322
|
-
request.body = payload;
|
|
323
|
-
return request;
|
|
324
|
-
}
|
|
325
|
-
serializeQuery(ns, data, query) {
|
|
326
|
-
const serializer = this.serializer;
|
|
327
|
-
const traits = ns.getMergedTraits();
|
|
328
|
-
if (traits.httpQueryParams) {
|
|
329
|
-
for (const [key, val] of Object.entries(data)) {
|
|
330
|
-
if (!(key in query)) {
|
|
331
|
-
this.serializeQuery(
|
|
332
|
-
import_schema2.NormalizedSchema.of([
|
|
333
|
-
ns.getValueSchema(),
|
|
334
|
-
{
|
|
335
|
-
// We pass on the traits to the sub-schema
|
|
336
|
-
// because we are still in the process of serializing the map itself.
|
|
337
|
-
...traits,
|
|
338
|
-
httpQuery: key,
|
|
339
|
-
httpQueryParams: void 0
|
|
340
|
-
}
|
|
341
|
-
]),
|
|
342
|
-
val,
|
|
343
|
-
query
|
|
344
|
-
);
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
return;
|
|
348
|
-
}
|
|
349
|
-
if (ns.isListSchema()) {
|
|
350
|
-
const sparse = !!ns.getMergedTraits().sparse;
|
|
351
|
-
const buffer = [];
|
|
352
|
-
for (const item of data) {
|
|
353
|
-
serializer.write([ns.getValueSchema(), traits], item);
|
|
354
|
-
const serializable = serializer.flush();
|
|
355
|
-
if (sparse || serializable !== void 0) {
|
|
356
|
-
buffer.push(serializable);
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
query[traits.httpQuery] = buffer;
|
|
360
|
-
} else {
|
|
361
|
-
serializer.write([ns, traits], data);
|
|
362
|
-
query[traits.httpQuery] = serializer.flush();
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
async deserializeResponse(operationSchema, context, response) {
|
|
366
|
-
const deserializer = this.deserializer;
|
|
367
|
-
const ns = import_schema2.NormalizedSchema.of(operationSchema.output);
|
|
368
|
-
const dataObject = {};
|
|
369
|
-
if (response.statusCode >= 300) {
|
|
370
|
-
const bytes = await collectBody(response.body, context);
|
|
371
|
-
if (bytes.byteLength > 0) {
|
|
372
|
-
Object.assign(dataObject, await deserializer.read(import_schema2.SCHEMA.DOCUMENT, bytes));
|
|
373
|
-
}
|
|
374
|
-
await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response));
|
|
375
|
-
throw new Error("@smithy/core/protocols - HTTP Protocol error handler failed to throw.");
|
|
376
|
-
}
|
|
377
|
-
for (const header in response.headers) {
|
|
378
|
-
const value = response.headers[header];
|
|
379
|
-
delete response.headers[header];
|
|
380
|
-
response.headers[header.toLowerCase()] = value;
|
|
381
|
-
}
|
|
382
|
-
const nonHttpBindingMembers = await this.deserializeHttpMessage(ns, context, response, dataObject);
|
|
383
|
-
if (nonHttpBindingMembers.length) {
|
|
384
|
-
const bytes = await collectBody(response.body, context);
|
|
385
|
-
if (bytes.byteLength > 0) {
|
|
386
|
-
const dataFromBody = await deserializer.read(ns, bytes);
|
|
387
|
-
for (const member of nonHttpBindingMembers) {
|
|
388
|
-
dataObject[member] = dataFromBody[member];
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
const output = {
|
|
393
|
-
$metadata: this.deserializeMetadata(response),
|
|
394
|
-
...dataObject
|
|
395
|
-
};
|
|
396
|
-
return output;
|
|
397
|
-
}
|
|
398
|
-
};
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
deserializeMetadata(output) {
|
|
101
|
+
return {
|
|
102
|
+
httpStatusCode: output.statusCode,
|
|
103
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
104
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
105
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
async serializeEventStream({ eventStream, requestSchema, initialRequest, }) {
|
|
109
|
+
const eventStreamSerde = await this.loadEventStreamCapability();
|
|
110
|
+
return eventStreamSerde.serializeEventStream({
|
|
111
|
+
eventStream,
|
|
112
|
+
requestSchema,
|
|
113
|
+
initialRequest,
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
async deserializeEventStream({ response, responseSchema, initialResponseContainer, }) {
|
|
117
|
+
const eventStreamSerde = await this.loadEventStreamCapability();
|
|
118
|
+
return eventStreamSerde.deserializeEventStream({
|
|
119
|
+
response,
|
|
120
|
+
responseSchema,
|
|
121
|
+
initialResponseContainer,
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
async loadEventStreamCapability() {
|
|
125
|
+
const { EventStreamSerde } = await import('@smithy/core/event-streams');
|
|
126
|
+
return new EventStreamSerde({
|
|
127
|
+
marshaller: this.getEventStreamMarshaller(),
|
|
128
|
+
serializer: this.serializer,
|
|
129
|
+
deserializer: this.deserializer,
|
|
130
|
+
serdeContext: this.serdeContext,
|
|
131
|
+
defaultContentType: this.getDefaultContentType(),
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
getDefaultContentType() {
|
|
135
|
+
throw new Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`);
|
|
136
|
+
}
|
|
137
|
+
async deserializeHttpMessage(schema, context, response, arg4, arg5) {
|
|
138
|
+
return [];
|
|
139
|
+
}
|
|
140
|
+
getEventStreamMarshaller() {
|
|
141
|
+
const context = this.serdeContext;
|
|
142
|
+
if (!context.eventStreamMarshaller) {
|
|
143
|
+
throw new Error("@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.");
|
|
144
|
+
}
|
|
145
|
+
return context.eventStreamMarshaller;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
399
148
|
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
149
|
+
class HttpBindingProtocol extends HttpProtocol {
|
|
150
|
+
async serializeRequest(operationSchema, _input, context) {
|
|
151
|
+
const input = {
|
|
152
|
+
...(_input ?? {}),
|
|
153
|
+
};
|
|
154
|
+
const serializer = this.serializer;
|
|
155
|
+
const query = {};
|
|
156
|
+
const headers = {};
|
|
157
|
+
const endpoint = await context.endpoint();
|
|
158
|
+
const ns = schema.NormalizedSchema.of(operationSchema?.input);
|
|
159
|
+
const schema$1 = ns.getSchema();
|
|
160
|
+
let hasNonHttpBindingMember = false;
|
|
161
|
+
let payload;
|
|
162
|
+
const request = new protocolHttp.HttpRequest({
|
|
163
|
+
protocol: "",
|
|
164
|
+
hostname: "",
|
|
165
|
+
port: undefined,
|
|
166
|
+
path: "",
|
|
167
|
+
fragment: undefined,
|
|
168
|
+
query: query,
|
|
169
|
+
headers: headers,
|
|
170
|
+
body: undefined,
|
|
171
|
+
});
|
|
172
|
+
if (endpoint) {
|
|
173
|
+
this.updateServiceEndpoint(request, endpoint);
|
|
174
|
+
this.setHostPrefix(request, operationSchema, input);
|
|
175
|
+
const opTraits = schema.translateTraits(operationSchema.traits);
|
|
176
|
+
if (opTraits.http) {
|
|
177
|
+
request.method = opTraits.http[0];
|
|
178
|
+
const [path, search] = opTraits.http[1].split("?");
|
|
179
|
+
if (request.path == "/") {
|
|
180
|
+
request.path = path;
|
|
181
|
+
}
|
|
182
|
+
else {
|
|
183
|
+
request.path += path;
|
|
184
|
+
}
|
|
185
|
+
const traitSearchParams = new URLSearchParams(search ?? "");
|
|
186
|
+
Object.assign(query, Object.fromEntries(traitSearchParams));
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
for (const [memberName, memberNs] of ns.structIterator()) {
|
|
190
|
+
const memberTraits = memberNs.getMergedTraits() ?? {};
|
|
191
|
+
const inputMemberValue = input[memberName];
|
|
192
|
+
if (inputMemberValue == null && !memberNs.isIdempotencyToken()) {
|
|
193
|
+
continue;
|
|
194
|
+
}
|
|
195
|
+
if (memberTraits.httpPayload) {
|
|
196
|
+
const isStreaming = memberNs.isStreaming();
|
|
197
|
+
if (isStreaming) {
|
|
198
|
+
const isEventStream = memberNs.isStructSchema();
|
|
199
|
+
if (isEventStream) {
|
|
200
|
+
if (input[memberName]) {
|
|
201
|
+
payload = await this.serializeEventStream({
|
|
202
|
+
eventStream: input[memberName],
|
|
203
|
+
requestSchema: ns,
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
else {
|
|
208
|
+
payload = inputMemberValue;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
else {
|
|
212
|
+
serializer.write(memberNs, inputMemberValue);
|
|
213
|
+
payload = serializer.flush();
|
|
214
|
+
}
|
|
215
|
+
delete input[memberName];
|
|
216
|
+
}
|
|
217
|
+
else if (memberTraits.httpLabel) {
|
|
218
|
+
serializer.write(memberNs, inputMemberValue);
|
|
219
|
+
const replacement = serializer.flush();
|
|
220
|
+
if (request.path.includes(`{${memberName}+}`)) {
|
|
221
|
+
request.path = request.path.replace(`{${memberName}+}`, replacement.split("/").map(extendedEncodeURIComponent).join("/"));
|
|
222
|
+
}
|
|
223
|
+
else if (request.path.includes(`{${memberName}}`)) {
|
|
224
|
+
request.path = request.path.replace(`{${memberName}}`, extendedEncodeURIComponent(replacement));
|
|
225
|
+
}
|
|
226
|
+
delete input[memberName];
|
|
227
|
+
}
|
|
228
|
+
else if (memberTraits.httpHeader) {
|
|
229
|
+
serializer.write(memberNs, inputMemberValue);
|
|
230
|
+
headers[memberTraits.httpHeader.toLowerCase()] = String(serializer.flush());
|
|
231
|
+
delete input[memberName];
|
|
232
|
+
}
|
|
233
|
+
else if (typeof memberTraits.httpPrefixHeaders === "string") {
|
|
234
|
+
for (const [key, val] of Object.entries(inputMemberValue)) {
|
|
235
|
+
const amalgam = memberTraits.httpPrefixHeaders + key;
|
|
236
|
+
serializer.write([memberNs.getValueSchema(), { httpHeader: amalgam }], val);
|
|
237
|
+
headers[amalgam.toLowerCase()] = serializer.flush();
|
|
238
|
+
}
|
|
239
|
+
delete input[memberName];
|
|
240
|
+
}
|
|
241
|
+
else if (memberTraits.httpQuery || memberTraits.httpQueryParams) {
|
|
242
|
+
this.serializeQuery(memberNs, inputMemberValue, query);
|
|
243
|
+
delete input[memberName];
|
|
244
|
+
}
|
|
245
|
+
else {
|
|
246
|
+
hasNonHttpBindingMember = true;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
if (hasNonHttpBindingMember && input) {
|
|
250
|
+
serializer.write(schema$1, input);
|
|
251
|
+
payload = serializer.flush();
|
|
252
|
+
}
|
|
253
|
+
request.headers = headers;
|
|
254
|
+
request.query = query;
|
|
255
|
+
request.body = payload;
|
|
256
|
+
return request;
|
|
257
|
+
}
|
|
258
|
+
serializeQuery(ns, data, query) {
|
|
259
|
+
const serializer = this.serializer;
|
|
260
|
+
const traits = ns.getMergedTraits();
|
|
261
|
+
if (traits.httpQueryParams) {
|
|
262
|
+
for (const [key, val] of Object.entries(data)) {
|
|
263
|
+
if (!(key in query)) {
|
|
264
|
+
const valueSchema = ns.getValueSchema();
|
|
265
|
+
Object.assign(valueSchema.getMergedTraits(), {
|
|
266
|
+
...traits,
|
|
267
|
+
httpQuery: key,
|
|
268
|
+
httpQueryParams: undefined,
|
|
269
|
+
});
|
|
270
|
+
this.serializeQuery(valueSchema, val, query);
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
return;
|
|
274
|
+
}
|
|
275
|
+
if (ns.isListSchema()) {
|
|
276
|
+
const sparse = !!ns.getMergedTraits().sparse;
|
|
277
|
+
const buffer = [];
|
|
278
|
+
for (const item of data) {
|
|
279
|
+
serializer.write([ns.getValueSchema(), traits], item);
|
|
280
|
+
const serializable = serializer.flush();
|
|
281
|
+
if (sparse || serializable !== undefined) {
|
|
282
|
+
buffer.push(serializable);
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
query[traits.httpQuery] = buffer;
|
|
286
|
+
}
|
|
287
|
+
else {
|
|
288
|
+
serializer.write([ns, traits], data);
|
|
289
|
+
query[traits.httpQuery] = serializer.flush();
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
async deserializeResponse(operationSchema, context, response) {
|
|
293
|
+
const deserializer = this.deserializer;
|
|
294
|
+
const ns = schema.NormalizedSchema.of(operationSchema.output);
|
|
295
|
+
const dataObject = {};
|
|
296
|
+
if (response.statusCode >= 300) {
|
|
297
|
+
const bytes = await collectBody(response.body, context);
|
|
298
|
+
if (bytes.byteLength > 0) {
|
|
299
|
+
Object.assign(dataObject, await deserializer.read(15, bytes));
|
|
300
|
+
}
|
|
301
|
+
await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response));
|
|
302
|
+
throw new Error("@smithy/core/protocols - HTTP Protocol error handler failed to throw.");
|
|
303
|
+
}
|
|
304
|
+
for (const header in response.headers) {
|
|
305
|
+
const value = response.headers[header];
|
|
306
|
+
delete response.headers[header];
|
|
307
|
+
response.headers[header.toLowerCase()] = value;
|
|
308
|
+
}
|
|
309
|
+
const nonHttpBindingMembers = await this.deserializeHttpMessage(ns, context, response, dataObject);
|
|
310
|
+
if (nonHttpBindingMembers.length) {
|
|
311
|
+
const bytes = await collectBody(response.body, context);
|
|
312
|
+
if (bytes.byteLength > 0) {
|
|
313
|
+
const dataFromBody = await deserializer.read(ns, bytes);
|
|
314
|
+
for (const member of nonHttpBindingMembers) {
|
|
315
|
+
dataObject[member] = dataFromBody[member];
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
else if (nonHttpBindingMembers.discardResponseBody) {
|
|
320
|
+
await collectBody(response.body, context);
|
|
321
|
+
}
|
|
322
|
+
dataObject.$metadata = this.deserializeMetadata(response);
|
|
323
|
+
return dataObject;
|
|
324
|
+
}
|
|
325
|
+
async deserializeHttpMessage(schema$1, context, response, arg4, arg5) {
|
|
326
|
+
let dataObject;
|
|
327
|
+
if (arg4 instanceof Set) {
|
|
328
|
+
dataObject = arg5;
|
|
329
|
+
}
|
|
330
|
+
else {
|
|
331
|
+
dataObject = arg4;
|
|
332
|
+
}
|
|
333
|
+
let discardResponseBody = true;
|
|
334
|
+
const deserializer = this.deserializer;
|
|
335
|
+
const ns = schema.NormalizedSchema.of(schema$1);
|
|
336
|
+
const nonHttpBindingMembers = [];
|
|
337
|
+
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
338
|
+
const memberTraits = memberSchema.getMemberTraits();
|
|
339
|
+
if (memberTraits.httpPayload) {
|
|
340
|
+
discardResponseBody = false;
|
|
341
|
+
const isStreaming = memberSchema.isStreaming();
|
|
342
|
+
if (isStreaming) {
|
|
343
|
+
const isEventStream = memberSchema.isStructSchema();
|
|
344
|
+
if (isEventStream) {
|
|
345
|
+
dataObject[memberName] = await this.deserializeEventStream({
|
|
346
|
+
response,
|
|
347
|
+
responseSchema: ns,
|
|
348
|
+
});
|
|
349
|
+
}
|
|
350
|
+
else {
|
|
351
|
+
dataObject[memberName] = utilStream.sdkStreamMixin(response.body);
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
else if (response.body) {
|
|
355
|
+
const bytes = await collectBody(response.body, context);
|
|
356
|
+
if (bytes.byteLength > 0) {
|
|
357
|
+
dataObject[memberName] = await deserializer.read(memberSchema, bytes);
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
else if (memberTraits.httpHeader) {
|
|
362
|
+
const key = String(memberTraits.httpHeader).toLowerCase();
|
|
363
|
+
const value = response.headers[key];
|
|
364
|
+
if (null != value) {
|
|
365
|
+
if (memberSchema.isListSchema()) {
|
|
366
|
+
const headerListValueSchema = memberSchema.getValueSchema();
|
|
367
|
+
headerListValueSchema.getMergedTraits().httpHeader = key;
|
|
368
|
+
let sections;
|
|
369
|
+
if (headerListValueSchema.isTimestampSchema() &&
|
|
370
|
+
headerListValueSchema.getSchema() === 4) {
|
|
371
|
+
sections = serde.splitEvery(value, ",", 2);
|
|
372
|
+
}
|
|
373
|
+
else {
|
|
374
|
+
sections = serde.splitHeader(value);
|
|
375
|
+
}
|
|
376
|
+
const list = [];
|
|
377
|
+
for (const section of sections) {
|
|
378
|
+
list.push(await deserializer.read(headerListValueSchema, section.trim()));
|
|
379
|
+
}
|
|
380
|
+
dataObject[memberName] = list;
|
|
381
|
+
}
|
|
382
|
+
else {
|
|
383
|
+
dataObject[memberName] = await deserializer.read(memberSchema, value);
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
else if (memberTraits.httpPrefixHeaders !== undefined) {
|
|
388
|
+
dataObject[memberName] = {};
|
|
389
|
+
for (const [header, value] of Object.entries(response.headers)) {
|
|
390
|
+
if (header.startsWith(memberTraits.httpPrefixHeaders)) {
|
|
391
|
+
const valueSchema = memberSchema.getValueSchema();
|
|
392
|
+
valueSchema.getMergedTraits().httpHeader = header;
|
|
393
|
+
dataObject[memberName][header.slice(memberTraits.httpPrefixHeaders.length)] = await deserializer.read(valueSchema, value);
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
else if (memberTraits.httpResponseCode) {
|
|
398
|
+
dataObject[memberName] = response.statusCode;
|
|
399
|
+
}
|
|
400
|
+
else {
|
|
401
|
+
nonHttpBindingMembers.push(memberName);
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
nonHttpBindingMembers.discardResponseBody = discardResponseBody;
|
|
405
|
+
return nonHttpBindingMembers;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
467
408
|
|
|
468
|
-
|
|
469
|
-
|
|
409
|
+
class RpcProtocol extends HttpProtocol {
|
|
410
|
+
async serializeRequest(operationSchema, input, context) {
|
|
411
|
+
const serializer = this.serializer;
|
|
412
|
+
const query = {};
|
|
413
|
+
const headers = {};
|
|
414
|
+
const endpoint = await context.endpoint();
|
|
415
|
+
const ns = schema.NormalizedSchema.of(operationSchema?.input);
|
|
416
|
+
const schema$1 = ns.getSchema();
|
|
417
|
+
let payload;
|
|
418
|
+
const request = new protocolHttp.HttpRequest({
|
|
419
|
+
protocol: "",
|
|
420
|
+
hostname: "",
|
|
421
|
+
port: undefined,
|
|
422
|
+
path: "/",
|
|
423
|
+
fragment: undefined,
|
|
424
|
+
query: query,
|
|
425
|
+
headers: headers,
|
|
426
|
+
body: undefined,
|
|
427
|
+
});
|
|
428
|
+
if (endpoint) {
|
|
429
|
+
this.updateServiceEndpoint(request, endpoint);
|
|
430
|
+
this.setHostPrefix(request, operationSchema, input);
|
|
431
|
+
}
|
|
432
|
+
const _input = {
|
|
433
|
+
...input,
|
|
434
|
+
};
|
|
435
|
+
if (input) {
|
|
436
|
+
const eventStreamMember = ns.getEventStreamMember();
|
|
437
|
+
if (eventStreamMember) {
|
|
438
|
+
if (_input[eventStreamMember]) {
|
|
439
|
+
const initialRequest = {};
|
|
440
|
+
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
441
|
+
if (memberName !== eventStreamMember && _input[memberName]) {
|
|
442
|
+
serializer.write(memberSchema, _input[memberName]);
|
|
443
|
+
initialRequest[memberName] = serializer.flush();
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
payload = await this.serializeEventStream({
|
|
447
|
+
eventStream: _input[eventStreamMember],
|
|
448
|
+
requestSchema: ns,
|
|
449
|
+
initialRequest,
|
|
450
|
+
});
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
else {
|
|
454
|
+
serializer.write(schema$1, _input);
|
|
455
|
+
payload = serializer.flush();
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
request.headers = headers;
|
|
459
|
+
request.query = query;
|
|
460
|
+
request.body = payload;
|
|
461
|
+
request.method = "POST";
|
|
462
|
+
return request;
|
|
463
|
+
}
|
|
464
|
+
async deserializeResponse(operationSchema, context, response) {
|
|
465
|
+
const deserializer = this.deserializer;
|
|
466
|
+
const ns = schema.NormalizedSchema.of(operationSchema.output);
|
|
467
|
+
const dataObject = {};
|
|
468
|
+
if (response.statusCode >= 300) {
|
|
469
|
+
const bytes = await collectBody(response.body, context);
|
|
470
|
+
if (bytes.byteLength > 0) {
|
|
471
|
+
Object.assign(dataObject, await deserializer.read(15, bytes));
|
|
472
|
+
}
|
|
473
|
+
await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response));
|
|
474
|
+
throw new Error("@smithy/core/protocols - RPC Protocol error handler failed to throw.");
|
|
475
|
+
}
|
|
476
|
+
for (const header in response.headers) {
|
|
477
|
+
const value = response.headers[header];
|
|
478
|
+
delete response.headers[header];
|
|
479
|
+
response.headers[header.toLowerCase()] = value;
|
|
480
|
+
}
|
|
481
|
+
const eventStreamMember = ns.getEventStreamMember();
|
|
482
|
+
if (eventStreamMember) {
|
|
483
|
+
dataObject[eventStreamMember] = await this.deserializeEventStream({
|
|
484
|
+
response,
|
|
485
|
+
responseSchema: ns,
|
|
486
|
+
initialResponseContainer: dataObject,
|
|
487
|
+
});
|
|
488
|
+
}
|
|
489
|
+
else {
|
|
490
|
+
const bytes = await collectBody(response.body, context);
|
|
491
|
+
if (bytes.byteLength > 0) {
|
|
492
|
+
Object.assign(dataObject, await deserializer.read(ns, bytes));
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
dataObject.$metadata = this.deserializeMetadata(response);
|
|
496
|
+
return dataObject;
|
|
497
|
+
}
|
|
498
|
+
}
|
|
470
499
|
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
500
|
+
const resolvedPath = (resolvedPath, input, memberName, labelValueProvider, uriLabel, isGreedyLabel) => {
|
|
501
|
+
if (input != null && input[memberName] !== undefined) {
|
|
502
|
+
const labelValue = labelValueProvider();
|
|
503
|
+
if (labelValue.length <= 0) {
|
|
504
|
+
throw new Error("Empty value provided for input HTTP label: " + memberName + ".");
|
|
505
|
+
}
|
|
506
|
+
resolvedPath = resolvedPath.replace(uriLabel, isGreedyLabel
|
|
507
|
+
? labelValue
|
|
508
|
+
.split("/")
|
|
509
|
+
.map((segment) => extendedEncodeURIComponent(segment))
|
|
510
|
+
.join("/")
|
|
511
|
+
: extendedEncodeURIComponent(labelValue));
|
|
512
|
+
}
|
|
513
|
+
else {
|
|
514
|
+
throw new Error("No value provided for input HTTP label: " + memberName + ".");
|
|
515
|
+
}
|
|
516
|
+
return resolvedPath;
|
|
486
517
|
};
|
|
487
518
|
|
|
488
|
-
// src/submodules/protocols/requestBuilder.ts
|
|
489
519
|
function requestBuilder(input, context) {
|
|
490
|
-
|
|
520
|
+
return new RequestBuilder(input, context);
|
|
521
|
+
}
|
|
522
|
+
class RequestBuilder {
|
|
523
|
+
input;
|
|
524
|
+
context;
|
|
525
|
+
query = {};
|
|
526
|
+
method = "";
|
|
527
|
+
headers = {};
|
|
528
|
+
path = "";
|
|
529
|
+
body = null;
|
|
530
|
+
hostname = "";
|
|
531
|
+
resolvePathStack = [];
|
|
532
|
+
constructor(input, context) {
|
|
533
|
+
this.input = input;
|
|
534
|
+
this.context = context;
|
|
535
|
+
}
|
|
536
|
+
async build() {
|
|
537
|
+
const { hostname, protocol = "https", port, path: basePath } = await this.context.endpoint();
|
|
538
|
+
this.path = basePath;
|
|
539
|
+
for (const resolvePath of this.resolvePathStack) {
|
|
540
|
+
resolvePath(this.path);
|
|
541
|
+
}
|
|
542
|
+
return new protocolHttp.HttpRequest({
|
|
543
|
+
protocol,
|
|
544
|
+
hostname: this.hostname || hostname,
|
|
545
|
+
port,
|
|
546
|
+
method: this.method,
|
|
547
|
+
path: this.path,
|
|
548
|
+
query: this.query,
|
|
549
|
+
body: this.body,
|
|
550
|
+
headers: this.headers,
|
|
551
|
+
});
|
|
552
|
+
}
|
|
553
|
+
hn(hostname) {
|
|
554
|
+
this.hostname = hostname;
|
|
555
|
+
return this;
|
|
556
|
+
}
|
|
557
|
+
bp(uriLabel) {
|
|
558
|
+
this.resolvePathStack.push((basePath) => {
|
|
559
|
+
this.path = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + uriLabel;
|
|
560
|
+
});
|
|
561
|
+
return this;
|
|
562
|
+
}
|
|
563
|
+
p(memberName, labelValueProvider, uriLabel, isGreedyLabel) {
|
|
564
|
+
this.resolvePathStack.push((path) => {
|
|
565
|
+
this.path = resolvedPath(path, this.input, memberName, labelValueProvider, uriLabel, isGreedyLabel);
|
|
566
|
+
});
|
|
567
|
+
return this;
|
|
568
|
+
}
|
|
569
|
+
h(headers) {
|
|
570
|
+
this.headers = headers;
|
|
571
|
+
return this;
|
|
572
|
+
}
|
|
573
|
+
q(query) {
|
|
574
|
+
this.query = query;
|
|
575
|
+
return this;
|
|
576
|
+
}
|
|
577
|
+
b(body) {
|
|
578
|
+
this.body = body;
|
|
579
|
+
return this;
|
|
580
|
+
}
|
|
581
|
+
m(method) {
|
|
582
|
+
this.method = method;
|
|
583
|
+
return this;
|
|
584
|
+
}
|
|
491
585
|
}
|
|
492
|
-
var RequestBuilder = class {
|
|
493
|
-
constructor(input, context) {
|
|
494
|
-
this.input = input;
|
|
495
|
-
this.context = context;
|
|
496
|
-
this.query = {};
|
|
497
|
-
this.method = "";
|
|
498
|
-
this.headers = {};
|
|
499
|
-
this.path = "";
|
|
500
|
-
this.body = null;
|
|
501
|
-
this.hostname = "";
|
|
502
|
-
this.resolvePathStack = [];
|
|
503
|
-
}
|
|
504
|
-
async build() {
|
|
505
|
-
const { hostname, protocol = "https", port, path: basePath } = await this.context.endpoint();
|
|
506
|
-
this.path = basePath;
|
|
507
|
-
for (const resolvePath of this.resolvePathStack) {
|
|
508
|
-
resolvePath(this.path);
|
|
509
|
-
}
|
|
510
|
-
return new import_protocol_http4.HttpRequest({
|
|
511
|
-
protocol,
|
|
512
|
-
hostname: this.hostname || hostname,
|
|
513
|
-
port,
|
|
514
|
-
method: this.method,
|
|
515
|
-
path: this.path,
|
|
516
|
-
query: this.query,
|
|
517
|
-
body: this.body,
|
|
518
|
-
headers: this.headers
|
|
519
|
-
});
|
|
520
|
-
}
|
|
521
|
-
/**
|
|
522
|
-
* Brevity setter for "hostname".
|
|
523
|
-
*/
|
|
524
|
-
hn(hostname) {
|
|
525
|
-
this.hostname = hostname;
|
|
526
|
-
return this;
|
|
527
|
-
}
|
|
528
|
-
/**
|
|
529
|
-
* Brevity initial builder for "basepath".
|
|
530
|
-
*/
|
|
531
|
-
bp(uriLabel) {
|
|
532
|
-
this.resolvePathStack.push((basePath) => {
|
|
533
|
-
this.path = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + uriLabel;
|
|
534
|
-
});
|
|
535
|
-
return this;
|
|
536
|
-
}
|
|
537
|
-
/**
|
|
538
|
-
* Brevity incremental builder for "path".
|
|
539
|
-
*/
|
|
540
|
-
p(memberName, labelValueProvider, uriLabel, isGreedyLabel) {
|
|
541
|
-
this.resolvePathStack.push((path) => {
|
|
542
|
-
this.path = resolvedPath(path, this.input, memberName, labelValueProvider, uriLabel, isGreedyLabel);
|
|
543
|
-
});
|
|
544
|
-
return this;
|
|
545
|
-
}
|
|
546
|
-
/**
|
|
547
|
-
* Brevity setter for "headers".
|
|
548
|
-
*/
|
|
549
|
-
h(headers) {
|
|
550
|
-
this.headers = headers;
|
|
551
|
-
return this;
|
|
552
|
-
}
|
|
553
|
-
/**
|
|
554
|
-
* Brevity setter for "query".
|
|
555
|
-
*/
|
|
556
|
-
q(query) {
|
|
557
|
-
this.query = query;
|
|
558
|
-
return this;
|
|
559
|
-
}
|
|
560
|
-
/**
|
|
561
|
-
* Brevity setter for "body".
|
|
562
|
-
*/
|
|
563
|
-
b(body) {
|
|
564
|
-
this.body = body;
|
|
565
|
-
return this;
|
|
566
|
-
}
|
|
567
|
-
/**
|
|
568
|
-
* Brevity setter for "method".
|
|
569
|
-
*/
|
|
570
|
-
m(method) {
|
|
571
|
-
this.method = method;
|
|
572
|
-
return this;
|
|
573
|
-
}
|
|
574
|
-
};
|
|
575
|
-
|
|
576
|
-
// src/submodules/protocols/serde/FromStringShapeDeserializer.ts
|
|
577
|
-
var import_schema5 = require("@smithy/core/schema");
|
|
578
|
-
var import_serde2 = require("@smithy/core/serde");
|
|
579
|
-
var import_util_base64 = require("@smithy/util-base64");
|
|
580
|
-
var import_util_utf8 = require("@smithy/util-utf8");
|
|
581
586
|
|
|
582
|
-
// src/submodules/protocols/serde/determineTimestampFormat.ts
|
|
583
|
-
var import_schema4 = require("@smithy/core/schema");
|
|
584
587
|
function determineTimestampFormat(ns, settings) {
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
588
|
+
if (settings.timestampFormat.useTrait) {
|
|
589
|
+
if (ns.isTimestampSchema() &&
|
|
590
|
+
(ns.getSchema() === 5 ||
|
|
591
|
+
ns.getSchema() === 6 ||
|
|
592
|
+
ns.getSchema() === 7)) {
|
|
593
|
+
return ns.getSchema();
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
const { httpLabel, httpPrefixHeaders, httpHeader, httpQuery } = ns.getMergedTraits();
|
|
597
|
+
const bindingFormat = settings.httpBindings
|
|
598
|
+
? typeof httpPrefixHeaders === "string" || Boolean(httpHeader)
|
|
599
|
+
? 6
|
|
600
|
+
: Boolean(httpQuery) || Boolean(httpLabel)
|
|
601
|
+
? 5
|
|
602
|
+
: undefined
|
|
603
|
+
: undefined;
|
|
604
|
+
return bindingFormat ?? settings.timestampFormat.default;
|
|
593
605
|
}
|
|
594
606
|
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
if (ns.isListSchema()) {
|
|
606
|
-
return (0, import_serde2.splitHeader)(data).map((item) => this.read(ns.getValueSchema(), item));
|
|
607
|
-
}
|
|
608
|
-
if (ns.isBlobSchema()) {
|
|
609
|
-
return (this.serdeContext?.base64Decoder ?? import_util_base64.fromBase64)(data);
|
|
610
|
-
}
|
|
611
|
-
if (ns.isTimestampSchema()) {
|
|
612
|
-
const format = determineTimestampFormat(ns, this.settings);
|
|
613
|
-
switch (format) {
|
|
614
|
-
case import_schema5.SCHEMA.TIMESTAMP_DATE_TIME:
|
|
615
|
-
return (0, import_serde2.parseRfc3339DateTimeWithOffset)(data);
|
|
616
|
-
case import_schema5.SCHEMA.TIMESTAMP_HTTP_DATE:
|
|
617
|
-
return (0, import_serde2.parseRfc7231DateTime)(data);
|
|
618
|
-
case import_schema5.SCHEMA.TIMESTAMP_EPOCH_SECONDS:
|
|
619
|
-
return (0, import_serde2.parseEpochTimestamp)(data);
|
|
620
|
-
default:
|
|
621
|
-
console.warn("Missing timestamp format, parsing value with Date constructor:", data);
|
|
622
|
-
return new Date(data);
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
if (ns.isStringSchema()) {
|
|
626
|
-
const mediaType = ns.getMergedTraits().mediaType;
|
|
627
|
-
let intermediateValue = data;
|
|
628
|
-
if (mediaType) {
|
|
629
|
-
if (ns.getMergedTraits().httpHeader) {
|
|
630
|
-
intermediateValue = this.base64ToUtf8(intermediateValue);
|
|
631
|
-
}
|
|
632
|
-
const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
|
|
633
|
-
if (isJson) {
|
|
634
|
-
intermediateValue = import_serde2.LazyJsonString.from(intermediateValue);
|
|
635
|
-
}
|
|
636
|
-
return intermediateValue;
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
switch (true) {
|
|
640
|
-
case ns.isNumericSchema():
|
|
641
|
-
return Number(data);
|
|
642
|
-
case ns.isBigIntegerSchema():
|
|
643
|
-
return BigInt(data);
|
|
644
|
-
case ns.isBigDecimalSchema():
|
|
645
|
-
return new import_serde2.NumericValue(data, "bigDecimal");
|
|
646
|
-
case ns.isBooleanSchema():
|
|
647
|
-
return String(data).toLowerCase() === "true";
|
|
648
|
-
}
|
|
649
|
-
return data;
|
|
650
|
-
}
|
|
651
|
-
base64ToUtf8(base64String) {
|
|
652
|
-
return (this.serdeContext?.utf8Encoder ?? import_util_utf8.toUtf8)((this.serdeContext?.base64Decoder ?? import_util_base64.fromBase64)(base64String));
|
|
653
|
-
}
|
|
654
|
-
};
|
|
655
|
-
|
|
656
|
-
// src/submodules/protocols/serde/HttpInterceptingShapeDeserializer.ts
|
|
657
|
-
var import_schema6 = require("@smithy/core/schema");
|
|
658
|
-
var import_util_utf82 = require("@smithy/util-utf8");
|
|
659
|
-
var HttpInterceptingShapeDeserializer = class {
|
|
660
|
-
constructor(codecDeserializer, codecSettings) {
|
|
661
|
-
this.codecDeserializer = codecDeserializer;
|
|
662
|
-
this.stringDeserializer = new FromStringShapeDeserializer(codecSettings);
|
|
663
|
-
}
|
|
664
|
-
setSerdeContext(serdeContext) {
|
|
665
|
-
this.stringDeserializer.setSerdeContext(serdeContext);
|
|
666
|
-
this.codecDeserializer.setSerdeContext(serdeContext);
|
|
667
|
-
this.serdeContext = serdeContext;
|
|
668
|
-
}
|
|
669
|
-
read(schema, data) {
|
|
670
|
-
const ns = import_schema6.NormalizedSchema.of(schema);
|
|
671
|
-
const traits = ns.getMergedTraits();
|
|
672
|
-
const toString = this.serdeContext?.utf8Encoder ?? import_util_utf82.toUtf8;
|
|
673
|
-
if (traits.httpHeader || traits.httpResponseCode) {
|
|
674
|
-
return this.stringDeserializer.read(ns, toString(data));
|
|
675
|
-
}
|
|
676
|
-
if (traits.httpPayload) {
|
|
677
|
-
if (ns.isBlobSchema()) {
|
|
678
|
-
const toBytes = this.serdeContext?.utf8Decoder ?? import_util_utf82.fromUtf8;
|
|
679
|
-
if (typeof data === "string") {
|
|
680
|
-
return toBytes(data);
|
|
607
|
+
class FromStringShapeDeserializer extends SerdeContext {
|
|
608
|
+
settings;
|
|
609
|
+
constructor(settings) {
|
|
610
|
+
super();
|
|
611
|
+
this.settings = settings;
|
|
612
|
+
}
|
|
613
|
+
read(_schema, data) {
|
|
614
|
+
const ns = schema.NormalizedSchema.of(_schema);
|
|
615
|
+
if (ns.isListSchema()) {
|
|
616
|
+
return serde.splitHeader(data).map((item) => this.read(ns.getValueSchema(), item));
|
|
681
617
|
}
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
618
|
+
if (ns.isBlobSchema()) {
|
|
619
|
+
return (this.serdeContext?.base64Decoder ?? utilBase64.fromBase64)(data);
|
|
620
|
+
}
|
|
621
|
+
if (ns.isTimestampSchema()) {
|
|
622
|
+
const format = determineTimestampFormat(ns, this.settings);
|
|
623
|
+
switch (format) {
|
|
624
|
+
case 5:
|
|
625
|
+
return serde._parseRfc3339DateTimeWithOffset(data);
|
|
626
|
+
case 6:
|
|
627
|
+
return serde._parseRfc7231DateTime(data);
|
|
628
|
+
case 7:
|
|
629
|
+
return serde._parseEpochTimestamp(data);
|
|
630
|
+
default:
|
|
631
|
+
console.warn("Missing timestamp format, parsing value with Date constructor:", data);
|
|
632
|
+
return new Date(data);
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
if (ns.isStringSchema()) {
|
|
636
|
+
const mediaType = ns.getMergedTraits().mediaType;
|
|
637
|
+
let intermediateValue = data;
|
|
638
|
+
if (mediaType) {
|
|
639
|
+
if (ns.getMergedTraits().httpHeader) {
|
|
640
|
+
intermediateValue = this.base64ToUtf8(intermediateValue);
|
|
641
|
+
}
|
|
642
|
+
const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
|
|
643
|
+
if (isJson) {
|
|
644
|
+
intermediateValue = serde.LazyJsonString.from(intermediateValue);
|
|
645
|
+
}
|
|
646
|
+
return intermediateValue;
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
if (ns.isNumericSchema()) {
|
|
650
|
+
return Number(data);
|
|
651
|
+
}
|
|
652
|
+
if (ns.isBigIntegerSchema()) {
|
|
653
|
+
return BigInt(data);
|
|
654
|
+
}
|
|
655
|
+
if (ns.isBigDecimalSchema()) {
|
|
656
|
+
return new serde.NumericValue(data, "bigDecimal");
|
|
657
|
+
}
|
|
658
|
+
if (ns.isBooleanSchema()) {
|
|
659
|
+
return String(data).toLowerCase() === "true";
|
|
686
660
|
}
|
|
687
661
|
return data;
|
|
688
|
-
}
|
|
689
662
|
}
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
// src/submodules/protocols/serde/HttpInterceptingShapeSerializer.ts
|
|
695
|
-
var import_schema8 = require("@smithy/core/schema");
|
|
663
|
+
base64ToUtf8(base64String) {
|
|
664
|
+
return (this.serdeContext?.utf8Encoder ?? utilUtf8.toUtf8)((this.serdeContext?.base64Decoder ?? utilBase64.fromBase64)(base64String));
|
|
665
|
+
}
|
|
666
|
+
}
|
|
696
667
|
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
if (
|
|
715
|
-
|
|
716
|
-
return;
|
|
668
|
+
class HttpInterceptingShapeDeserializer extends SerdeContext {
|
|
669
|
+
codecDeserializer;
|
|
670
|
+
stringDeserializer;
|
|
671
|
+
constructor(codecDeserializer, codecSettings) {
|
|
672
|
+
super();
|
|
673
|
+
this.codecDeserializer = codecDeserializer;
|
|
674
|
+
this.stringDeserializer = new FromStringShapeDeserializer(codecSettings);
|
|
675
|
+
}
|
|
676
|
+
setSerdeContext(serdeContext) {
|
|
677
|
+
this.stringDeserializer.setSerdeContext(serdeContext);
|
|
678
|
+
this.codecDeserializer.setSerdeContext(serdeContext);
|
|
679
|
+
this.serdeContext = serdeContext;
|
|
680
|
+
}
|
|
681
|
+
read(schema$1, data) {
|
|
682
|
+
const ns = schema.NormalizedSchema.of(schema$1);
|
|
683
|
+
const traits = ns.getMergedTraits();
|
|
684
|
+
const toString = this.serdeContext?.utf8Encoder ?? utilUtf8.toUtf8;
|
|
685
|
+
if (traits.httpHeader || traits.httpResponseCode) {
|
|
686
|
+
return this.stringDeserializer.read(ns, toString(data));
|
|
717
687
|
}
|
|
718
|
-
if (
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
break;
|
|
732
|
-
case import_schema7.SCHEMA.TIMESTAMP_EPOCH_SECONDS:
|
|
733
|
-
this.stringBuffer = String(value.getTime() / 1e3);
|
|
734
|
-
break;
|
|
735
|
-
default:
|
|
736
|
-
console.warn("Missing timestamp format, using epoch seconds", value);
|
|
737
|
-
this.stringBuffer = String(value.getTime() / 1e3);
|
|
738
|
-
}
|
|
739
|
-
return;
|
|
740
|
-
}
|
|
741
|
-
if (ns.isBlobSchema() && "byteLength" in value) {
|
|
742
|
-
this.stringBuffer = (this.serdeContext?.base64Encoder ?? import_util_base642.toBase64)(value);
|
|
743
|
-
return;
|
|
744
|
-
}
|
|
745
|
-
if (ns.isListSchema() && Array.isArray(value)) {
|
|
746
|
-
let buffer = "";
|
|
747
|
-
for (const item of value) {
|
|
748
|
-
this.write([ns.getValueSchema(), ns.getMergedTraits()], item);
|
|
749
|
-
const headerItem = this.flush();
|
|
750
|
-
const serialized = ns.getValueSchema().isTimestampSchema() ? headerItem : (0, import_serde3.quoteHeader)(headerItem);
|
|
751
|
-
if (buffer !== "") {
|
|
752
|
-
buffer += ", ";
|
|
688
|
+
if (traits.httpPayload) {
|
|
689
|
+
if (ns.isBlobSchema()) {
|
|
690
|
+
const toBytes = this.serdeContext?.utf8Decoder ?? utilUtf8.fromUtf8;
|
|
691
|
+
if (typeof data === "string") {
|
|
692
|
+
return toBytes(data);
|
|
693
|
+
}
|
|
694
|
+
return data;
|
|
695
|
+
}
|
|
696
|
+
else if (ns.isStringSchema()) {
|
|
697
|
+
if ("byteLength" in data) {
|
|
698
|
+
return toString(data);
|
|
699
|
+
}
|
|
700
|
+
return data;
|
|
753
701
|
}
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
702
|
+
}
|
|
703
|
+
return this.codecDeserializer.read(ns, data);
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
class ToStringShapeSerializer extends SerdeContext {
|
|
708
|
+
settings;
|
|
709
|
+
stringBuffer = "";
|
|
710
|
+
constructor(settings) {
|
|
711
|
+
super();
|
|
712
|
+
this.settings = settings;
|
|
713
|
+
}
|
|
714
|
+
write(schema$1, value) {
|
|
715
|
+
const ns = schema.NormalizedSchema.of(schema$1);
|
|
716
|
+
switch (typeof value) {
|
|
717
|
+
case "object":
|
|
718
|
+
if (value === null) {
|
|
719
|
+
this.stringBuffer = "null";
|
|
720
|
+
return;
|
|
721
|
+
}
|
|
722
|
+
if (ns.isTimestampSchema()) {
|
|
723
|
+
if (!(value instanceof Date)) {
|
|
724
|
+
throw new Error(`@smithy/core/protocols - received non-Date value ${value} when schema expected Date in ${ns.getName(true)}`);
|
|
725
|
+
}
|
|
726
|
+
const format = determineTimestampFormat(ns, this.settings);
|
|
727
|
+
switch (format) {
|
|
728
|
+
case 5:
|
|
729
|
+
this.stringBuffer = value.toISOString().replace(".000Z", "Z");
|
|
730
|
+
break;
|
|
731
|
+
case 6:
|
|
732
|
+
this.stringBuffer = serde.dateToUtcString(value);
|
|
733
|
+
break;
|
|
734
|
+
case 7:
|
|
735
|
+
this.stringBuffer = String(value.getTime() / 1000);
|
|
736
|
+
break;
|
|
737
|
+
default:
|
|
738
|
+
console.warn("Missing timestamp format, using epoch seconds", value);
|
|
739
|
+
this.stringBuffer = String(value.getTime() / 1000);
|
|
740
|
+
}
|
|
741
|
+
return;
|
|
742
|
+
}
|
|
743
|
+
if (ns.isBlobSchema() && "byteLength" in value) {
|
|
744
|
+
this.stringBuffer = (this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(value);
|
|
745
|
+
return;
|
|
746
|
+
}
|
|
747
|
+
if (ns.isListSchema() && Array.isArray(value)) {
|
|
748
|
+
let buffer = "";
|
|
749
|
+
for (const item of value) {
|
|
750
|
+
this.write([ns.getValueSchema(), ns.getMergedTraits()], item);
|
|
751
|
+
const headerItem = this.flush();
|
|
752
|
+
const serialized = ns.getValueSchema().isTimestampSchema() ? headerItem : serde.quoteHeader(headerItem);
|
|
753
|
+
if (buffer !== "") {
|
|
754
|
+
buffer += ", ";
|
|
755
|
+
}
|
|
756
|
+
buffer += serialized;
|
|
757
|
+
}
|
|
758
|
+
this.stringBuffer = buffer;
|
|
759
|
+
return;
|
|
760
|
+
}
|
|
761
|
+
this.stringBuffer = JSON.stringify(value, null, 2);
|
|
762
|
+
break;
|
|
763
|
+
case "string":
|
|
764
|
+
const mediaType = ns.getMergedTraits().mediaType;
|
|
765
|
+
let intermediateValue = value;
|
|
766
|
+
if (mediaType) {
|
|
767
|
+
const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
|
|
768
|
+
if (isJson) {
|
|
769
|
+
intermediateValue = serde.LazyJsonString.from(intermediateValue);
|
|
770
|
+
}
|
|
771
|
+
if (ns.getMergedTraits().httpHeader) {
|
|
772
|
+
this.stringBuffer = (this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(intermediateValue.toString());
|
|
773
|
+
return;
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
this.stringBuffer = value;
|
|
777
|
+
break;
|
|
778
|
+
default:
|
|
779
|
+
if (ns.isIdempotencyToken()) {
|
|
780
|
+
this.stringBuffer = serde.generateIdempotencyToken();
|
|
781
|
+
}
|
|
782
|
+
else {
|
|
783
|
+
this.stringBuffer = String(value);
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
flush() {
|
|
788
|
+
const buffer = this.stringBuffer;
|
|
789
|
+
this.stringBuffer = "";
|
|
790
|
+
return buffer;
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
class HttpInterceptingShapeSerializer {
|
|
795
|
+
codecSerializer;
|
|
796
|
+
stringSerializer;
|
|
797
|
+
buffer;
|
|
798
|
+
constructor(codecSerializer, codecSettings, stringSerializer = new ToStringShapeSerializer(codecSettings)) {
|
|
799
|
+
this.codecSerializer = codecSerializer;
|
|
800
|
+
this.stringSerializer = stringSerializer;
|
|
801
|
+
}
|
|
802
|
+
setSerdeContext(serdeContext) {
|
|
803
|
+
this.codecSerializer.setSerdeContext(serdeContext);
|
|
804
|
+
this.stringSerializer.setSerdeContext(serdeContext);
|
|
805
|
+
}
|
|
806
|
+
write(schema$1, value) {
|
|
807
|
+
const ns = schema.NormalizedSchema.of(schema$1);
|
|
808
|
+
const traits = ns.getMergedTraits();
|
|
809
|
+
if (traits.httpHeader || traits.httpLabel || traits.httpQuery) {
|
|
810
|
+
this.stringSerializer.write(ns, value);
|
|
811
|
+
this.buffer = this.stringSerializer.flush();
|
|
771
812
|
return;
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
}
|
|
785
|
-
};
|
|
813
|
+
}
|
|
814
|
+
return this.codecSerializer.write(ns, value);
|
|
815
|
+
}
|
|
816
|
+
flush() {
|
|
817
|
+
if (this.buffer !== undefined) {
|
|
818
|
+
const buffer = this.buffer;
|
|
819
|
+
this.buffer = undefined;
|
|
820
|
+
return buffer;
|
|
821
|
+
}
|
|
822
|
+
return this.codecSerializer.flush();
|
|
823
|
+
}
|
|
824
|
+
}
|
|
786
825
|
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
this.stringSerializer.write(ns, value);
|
|
802
|
-
this.buffer = this.stringSerializer.flush();
|
|
803
|
-
return;
|
|
804
|
-
}
|
|
805
|
-
return this.codecSerializer.write(ns, value);
|
|
806
|
-
}
|
|
807
|
-
flush() {
|
|
808
|
-
if (this.buffer !== void 0) {
|
|
809
|
-
const buffer = this.buffer;
|
|
810
|
-
this.buffer = void 0;
|
|
811
|
-
return buffer;
|
|
812
|
-
}
|
|
813
|
-
return this.codecSerializer.flush();
|
|
814
|
-
}
|
|
815
|
-
};
|
|
816
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
817
|
-
0 && (module.exports = {
|
|
818
|
-
FromStringShapeDeserializer,
|
|
819
|
-
HttpBindingProtocol,
|
|
820
|
-
HttpInterceptingShapeDeserializer,
|
|
821
|
-
HttpInterceptingShapeSerializer,
|
|
822
|
-
RequestBuilder,
|
|
823
|
-
RpcProtocol,
|
|
824
|
-
ToStringShapeSerializer,
|
|
825
|
-
collectBody,
|
|
826
|
-
determineTimestampFormat,
|
|
827
|
-
extendedEncodeURIComponent,
|
|
828
|
-
requestBuilder,
|
|
829
|
-
resolvedPath
|
|
830
|
-
});
|
|
826
|
+
exports.FromStringShapeDeserializer = FromStringShapeDeserializer;
|
|
827
|
+
exports.HttpBindingProtocol = HttpBindingProtocol;
|
|
828
|
+
exports.HttpInterceptingShapeDeserializer = HttpInterceptingShapeDeserializer;
|
|
829
|
+
exports.HttpInterceptingShapeSerializer = HttpInterceptingShapeSerializer;
|
|
830
|
+
exports.HttpProtocol = HttpProtocol;
|
|
831
|
+
exports.RequestBuilder = RequestBuilder;
|
|
832
|
+
exports.RpcProtocol = RpcProtocol;
|
|
833
|
+
exports.SerdeContext = SerdeContext;
|
|
834
|
+
exports.ToStringShapeSerializer = ToStringShapeSerializer;
|
|
835
|
+
exports.collectBody = collectBody;
|
|
836
|
+
exports.determineTimestampFormat = determineTimestampFormat;
|
|
837
|
+
exports.extendedEncodeURIComponent = extendedEncodeURIComponent;
|
|
838
|
+
exports.requestBuilder = requestBuilder;
|
|
839
|
+
exports.resolvedPath = resolvedPath;
|