@cdklabs/cdk-ssm-documents 0.0.71 → 0.0.72
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 +11 -11
- package/lib/construct/synth-utils.js +1 -1
- package/lib/document/automation-document.js +1 -1
- package/lib/document/command-document.js +1 -1
- package/lib/document/document-builder.js +2 -2
- package/lib/document/ssm-document.js +1 -1
- package/lib/domain/aws-service.js +1 -1
- package/lib/domain/choice.js +1 -1
- package/lib/domain/data-type.js +1 -1
- package/lib/domain/enum/install-action.js +2 -2
- package/lib/domain/enum/install-uninstall-repair.js +2 -2
- package/lib/domain/enum/installation-type.js +2 -2
- package/lib/domain/enum/package-name.js +2 -2
- package/lib/domain/input.js +1 -1
- package/lib/domain/operation.js +1 -1
- package/lib/domain/platform.js +1 -1
- package/lib/domain/precondition.js +1 -1
- package/lib/incident-response/incident-response.js +3 -3
- package/lib/interface/approve-hook.js +2 -2
- package/lib/interface/auth-method.js +3 -3
- package/lib/interface/aws-invoker.js +2 -2
- package/lib/interface/downloadable-content.js +8 -8
- package/lib/interface/environment.js +3 -3
- package/lib/interface/execute-automation-hook/api-execute-automation-hook.js +1 -1
- package/lib/interface/observer.js +1 -1
- package/lib/interface/on-failure.js +6 -6
- package/lib/interface/pause-hook.js +2 -2
- package/lib/interface/run-command-hook/api-run-command-hook.js +1 -1
- package/lib/interface/run-document-location.js +2 -2
- package/lib/interface/sleep-hook.js +2 -2
- package/lib/interface/step-ref.js +1 -1
- package/lib/interface/variables/boolean-variable.js +2 -2
- package/lib/interface/variables/map-list-variable.js +2 -2
- package/lib/interface/variables/number-variable.js +2 -2
- package/lib/interface/variables/secure-string-variable.js +4 -4
- package/lib/interface/variables/string-list-variable.js +2 -2
- package/lib/interface/variables/string-map-variable.js +2 -2
- package/lib/interface/variables/string-variable.js +4 -4
- package/lib/interface/variables/variable.js +2 -2
- package/lib/interface/webhook.js +1 -1
- package/lib/parent-steps/automation/approve-step.js +1 -1
- package/lib/parent-steps/automation/assert-aws-resource-step.js +1 -1
- package/lib/parent-steps/automation/aws-api-step.js +1 -1
- package/lib/parent-steps/automation/branch-step.js +1 -1
- package/lib/parent-steps/automation/change-instance-state-step.js +3 -3
- package/lib/parent-steps/automation/copy-image-step.js +1 -1
- package/lib/parent-steps/automation/create-image-step.js +1 -1
- package/lib/parent-steps/automation/create-stack-step.js +3 -3
- package/lib/parent-steps/automation/create-tags-step.js +3 -3
- package/lib/parent-steps/automation/delete-image-step.js +1 -1
- package/lib/parent-steps/automation/delete-stack-step.js +1 -1
- package/lib/parent-steps/automation/execute-automation-step.js +1 -1
- package/lib/parent-steps/automation/execute-script-step.js +5 -5
- package/lib/parent-steps/automation/execute-state-machine-step.js +1 -1
- package/lib/parent-steps/automation/invoke-lambda-function-step.js +1 -1
- package/lib/parent-steps/automation/invoke-webhook-step.js +1 -1
- package/lib/parent-steps/automation/pause-step.js +1 -1
- package/lib/parent-steps/automation/run-command-step.js +3 -3
- package/lib/parent-steps/automation/run-instance-step.js +1 -1
- package/lib/parent-steps/automation/sleep-step.js +1 -1
- package/lib/parent-steps/automation/update-variable.js +1 -1
- package/lib/parent-steps/automation/wait-for-resource-step.js +1 -1
- package/lib/parent-steps/automation-step.js +1 -1
- package/lib/parent-steps/command/applications-step.js +1 -1
- package/lib/parent-steps/command/configure-docker-step.js +1 -1
- package/lib/parent-steps/command/configure-package-step.js +1 -1
- package/lib/parent-steps/command/domain-join-step.js +1 -1
- package/lib/parent-steps/command/download-content-step.js +1 -1
- package/lib/parent-steps/command/ps-module-step.js +1 -1
- package/lib/parent-steps/command/run-docker-action-step.js +1 -1
- package/lib/parent-steps/command/run-document-step.js +1 -1
- package/lib/parent-steps/command/run-powershell-script-step.js +1 -1
- package/lib/parent-steps/command/run-shell-script-step.js +1 -1
- package/lib/parent-steps/command/software-inventory-step.js +1 -1
- package/lib/parent-steps/command/update-agent-step.js +1 -1
- package/lib/parent-steps/command/update-ssm-agent-step.js +1 -1
- package/lib/parent-steps/command-step.js +1 -1
- package/lib/parent-steps/step.js +1 -1
- package/lib/patterns/automation/composite-step.js +2 -2
- package/lib/patterns/automation/reboot-instance-and-wait.js +1 -1
- package/lib/patterns/automation/string-step.js +1 -1
- package/lib/patterns/document/string-document.js +1 -1
- package/lib/patterns/document/timed-document.js +1 -1
- package/lib/samples/hello-world.js +1 -1
- package/lib/simulation/automation/approve-simulation.js +1 -1
- package/lib/simulation/automation/assert-aws-resource-simulation.js +1 -1
- package/lib/simulation/automation/automation-simulation-base.js +1 -1
- package/lib/simulation/automation/aws-api-simulation.js +1 -1
- package/lib/simulation/automation/branch-simulation.js +1 -1
- package/lib/simulation/automation/change-instance-state-simulation.js +1 -1
- package/lib/simulation/automation/copy-image-simulation.js +1 -1
- package/lib/simulation/automation/create-image-simulation.js +1 -1
- package/lib/simulation/automation/create-stack-simulation.js +1 -1
- package/lib/simulation/automation/create-tags-simulation.js +1 -1
- package/lib/simulation/automation/delete-image-simulation.js +1 -1
- package/lib/simulation/automation/delete-stack-simulation.js +1 -1
- package/lib/simulation/automation/execute-script-simulation.js +1 -1
- package/lib/simulation/automation/execute-state-machine-simulation.js +1 -1
- package/lib/simulation/automation/invoke-lambda-function-simulation.js +1 -1
- package/lib/simulation/automation/invoke-webhook-simulation.js +1 -1
- package/lib/simulation/automation/pause-simulation.js +1 -1
- package/lib/simulation/automation/run-command-simulation.js +1 -1
- package/lib/simulation/automation/run-instance-simulation.js +1 -1
- package/lib/simulation/automation/sleep-simulation.js +1 -1
- package/lib/simulation/automation/update-variable-simulation.js +1 -1
- package/lib/simulation/automation/wait-for-resource-simulation.js +1 -1
- package/lib/simulation/automation-step-simulation.js +1 -1
- package/lib/simulation/command/command-simulation-base.js +1 -1
- package/lib/simulation/command/ps-module-simulation.js +1 -1
- package/lib/simulation/command/run-powershell-script-simulation.js +1 -1
- package/lib/simulation/command/run-shell-script-simulation.js +1 -1
- package/lib/simulation/command-step-simulation.js +1 -1
- package/lib/simulation/document/automation-simulation.js +1 -1
- package/lib/simulation/document/command-simulation.js +1 -1
- package/lib/simulation/simulation.js +1 -1
- package/node_modules/@aws-sdk/checksums/package.json +3 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/package.json +6 -6
- package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/index.js +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch/dist-es/schemas/schemas_0.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/DescribeAlarmsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/PutLogAlarmCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/models/models_0.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/models/models_0.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch/package.json +8 -8
- package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ec2/package.json +8 -8
- package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/package.json +7 -7
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-lambda/package.json +7 -7
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/package.json +11 -11
- package/node_modules/@aws-sdk/client-sns/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-sns/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sns/dist-types/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sns/dist-types/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sns/package.json +6 -6
- package/node_modules/@aws-sdk/client-sqs/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-sqs/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sqs/dist-types/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sqs/dist-types/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sqs/package.json +8 -8
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +8 -7
- package/node_modules/@aws-sdk/client-ssm/dist-es/schemas/schemas_0.js +7 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationExecutionsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationStepExecutionsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetAutomationExecutionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +16 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/package.json +6 -6
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +66 -28
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +133 -15
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +7 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +28 -14
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.browser.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.js +3 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.js +8 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.browser.js +9 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.js +5 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +12 -6
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/index.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/isClockSkewed.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +10 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +10 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/detectBufferParsing.js +18 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/BufferJsonShapeDeserializer.js +180 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/ByteJsonShapeSerializer.js +483 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReviver.js +22 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/needsReviver.js +41 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js +33 -13
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/writeKey.js +3 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +4 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.browser.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.d.ts +13 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +22 -6
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.browser.d.ts +11 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.d.ts +7 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getDateHeader.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +22 -6
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/index.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/detectBufferParsing.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/experimental/BufferJsonShapeDeserializer.d.ts +29 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/experimental/ByteJsonShapeSerializer.d.ts +57 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/needsReviver.d.ts +11 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +7 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/writeKey.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/api-extractor-type-index.d.ts +7 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts +21 -61
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +27 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +16 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +14 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/index.d.ts +5 -16
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/emitWarningIfUnsupportedVersion.d.ts +11 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.browser.d.ts +47 -107
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +39 -112
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.native.d.ts +48 -107
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/longPollMiddleware.d.ts +14 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-host-header/hostHeaderMiddleware.d.ts +35 -25
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-logger/loggerMiddleware.d.ts +4 -14
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/configuration.d.ts +6 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/getRecursionDetectionPlugin.browser.d.ts +5 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/getRecursionDetectionPlugin.d.ts +5 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.browser.d.ts +6 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.d.ts +10 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.native.d.ts +6 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/check-features.d.ts +20 -16
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/configurations.d.ts +44 -21
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/constants.d.ts +7 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/encode-features.d.ts +5 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/user-agent-middleware.d.ts +18 -18
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/awsRegionConfig.d.ts +11 -8
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/extensions.d.ts +16 -14
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/stsRegionDefaultResolver.browser.d.ts +4 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/stsRegionDefaultResolver.d.ts +14 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/stsRegionDefaultResolver.native.d.ts +4 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setCredentialFeature.d.ts +7 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setFeature.d.ts +12 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setTokenFeature.d.ts +7 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/aws.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/parseArn.d.ts +7 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partition.d.ts +38 -28
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partitions.d.ts +638 -647
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/isIpAddress.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -29
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/resolveEndpoint.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/EndpointError.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/EndpointRuleObject.d.ts +1 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/ErrorRuleObject.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/RuleSetObject.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/TreeRuleObject.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/shared.d.ts +1 -12
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/configurations.d.ts +7 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/createUserAgentStringParsingProvider.d.ts +14 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.browser.d.ts +2 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +27 -18
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +18 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/crt-availability.d.ts +8 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +28 -17
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/getRuntimeUserAgentPair.d.ts +6 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/is-crt-available.d.ts +5 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/nodeAppIdConfigOptions.d.ts +13 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +10 -9
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +44 -37
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +5 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.browser.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.d.ts +13 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +7 -23
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +38 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +133 -56
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.browser.d.ts +11 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.d.ts +9 -24
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.d.ts +8 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.d.ts +6 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getDateHeader.d.ts +8 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts +8 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +26 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/index.d.ts +4 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/isClockSkewed.d.ts +9 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ConfigurableSerdeContext.d.ts +8 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +74 -40
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/UnionSerde.d.ts +24 -9
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +25 -36
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/coercing-serializers.d.ts +18 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/common.d.ts +2 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +22 -27
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +22 -21
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +22 -21
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +29 -49
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +36 -49
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonCodec.d.ts +19 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeDeserializer.d.ts +13 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeSerializer.d.ts +28 -18
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/awsExpectUnion.d.ts +7 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/detectBufferParsing.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/BufferJsonShapeDeserializer.d.ts +29 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/ByteJsonShapeSerializer.d.ts +57 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts +21 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +15 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts +11 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +22 -9
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +27 -18
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +49 -57
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QuerySerializerSettings.d.ts +13 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +16 -21
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/writeKey.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +31 -47
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlCodec.d.ts +14 -17
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeDeserializer.d.ts +20 -15
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeSerializer.d.ts +21 -21
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/parseXmlBody.d.ts +13 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/simpleFormatXml.d.ts +6 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/index.d.ts +3 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/util-arn-parser/arn.d.ts +32 -14
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/util-format-url/format-url.d.ts +2 -4
- package/node_modules/@aws-sdk/core/package.json +11 -6
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-http/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-login/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-sdk-ec2/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-sdk-sqs/package.json +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +6 -6
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +4 -4
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +14 -4
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +14 -4
- package/node_modules/@aws-sdk/xml-builder/package.json +1 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +1 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +34 -11
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +34 -11
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +1 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +1 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +1 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +34 -11
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/constants.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +10 -2
- package/node_modules/@smithy/core/dist-types/submodules/retry/service-error-classification/constants.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +10 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/service-error-classification/constants.d.ts +1 -0
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/credential-provider-imds/package.json +2 -2
- package/node_modules/@smithy/fetch-http-handler/package.json +2 -2
- package/node_modules/@smithy/middleware-compression/package.json +2 -2
- package/node_modules/@smithy/node-http-handler/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +2 -2
- package/package.json +10 -10
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +0 -135
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts +0 -27
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts +0 -17
|
@@ -72,6 +72,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
72
72
|
},
|
|
73
73
|
) => import("@smithy/types").EndpointV2;
|
|
74
74
|
tls?: boolean;
|
|
75
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
75
76
|
serviceConfiguredEndpoint?: never;
|
|
76
77
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
77
78
|
httpAuthSchemes:
|
|
@@ -112,4 +113,5 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
112
113
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
113
114
|
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
114
115
|
) => import("@smithy/types").RequestSigner;
|
|
116
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
115
117
|
};
|
|
@@ -68,6 +68,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
68
68
|
},
|
|
69
69
|
) => import("@smithy/types").EndpointV2;
|
|
70
70
|
tls?: boolean;
|
|
71
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
71
72
|
serviceConfiguredEndpoint?: never;
|
|
72
73
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
73
74
|
httpAuthSchemes:
|
|
@@ -108,4 +109,5 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
108
109
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
109
110
|
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
110
111
|
) => import("@smithy/types").RequestSigner;
|
|
112
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
111
113
|
};
|
package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts
CHANGED
|
@@ -67,6 +67,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
67
67
|
},
|
|
68
68
|
) => import("@smithy/types").EndpointV2;
|
|
69
69
|
tls?: boolean;
|
|
70
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
70
71
|
serviceConfiguredEndpoint?: never;
|
|
71
72
|
httpAuthSchemes:
|
|
72
73
|
| import("@smithy/types").HttpAuthScheme[]
|
|
@@ -106,4 +107,5 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
106
107
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
107
108
|
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
108
109
|
) => import("@smithy/types").RequestSigner;
|
|
110
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
109
111
|
};
|
|
@@ -72,6 +72,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
72
72
|
},
|
|
73
73
|
) => import("@smithy/types").EndpointV2;
|
|
74
74
|
tls?: boolean;
|
|
75
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
75
76
|
serviceConfiguredEndpoint?: never;
|
|
76
77
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
77
78
|
httpAuthSchemes:
|
|
@@ -112,4 +113,5 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
112
113
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
113
114
|
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
114
115
|
) => import("@smithy/types").RequestSigner;
|
|
116
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
115
117
|
};
|
|
@@ -71,6 +71,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
71
71
|
},
|
|
72
72
|
) => import("@smithy/types").EndpointV2;
|
|
73
73
|
tls?: boolean;
|
|
74
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
74
75
|
serviceConfiguredEndpoint?: never;
|
|
75
76
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
76
77
|
httpAuthSchemes:
|
|
@@ -113,6 +114,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
113
114
|
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
114
115
|
) => import("@smithy/types").RequestSigner)
|
|
115
116
|
| typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
117
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
116
118
|
sigv4aSigningRegionSet?:
|
|
117
119
|
| string[]
|
|
118
120
|
| undefined
|
package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts
CHANGED
|
@@ -94,6 +94,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
94
94
|
},
|
|
95
95
|
) => import("@smithy/types").EndpointV2;
|
|
96
96
|
tls?: boolean;
|
|
97
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
97
98
|
serviceConfiguredEndpoint?: never;
|
|
98
99
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
|
|
99
100
|
credentials?:
|
|
@@ -113,5 +114,6 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
113
114
|
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
114
115
|
) => import("@smithy/types").RequestSigner)
|
|
115
116
|
| typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
117
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
116
118
|
useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
117
119
|
};
|
|
@@ -75,6 +75,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
75
75
|
},
|
|
76
76
|
) => import("@smithy/types").EndpointV2;
|
|
77
77
|
tls?: boolean;
|
|
78
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
78
79
|
serviceConfiguredEndpoint?: never;
|
|
79
80
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
80
81
|
httpAuthSchemes:
|
|
@@ -117,6 +118,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
117
118
|
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
118
119
|
) => import("@smithy/types").RequestSigner)
|
|
119
120
|
| typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
121
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
120
122
|
sigv4aSigningRegionSet?:
|
|
121
123
|
| string[]
|
|
122
124
|
| undefined
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.997.
|
|
3
|
+
"version": "3.997.35",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -100,12 +100,12 @@
|
|
|
100
100
|
"test:watch": "yarn g:vitest watch"
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
|
-
"@aws-sdk/core": "^3.
|
|
104
|
-
"@aws-sdk/signature-v4-multi-region": "^3.996.
|
|
103
|
+
"@aws-sdk/core": "^3.977.0",
|
|
104
|
+
"@aws-sdk/signature-v4-multi-region": "^3.996.42",
|
|
105
105
|
"@aws-sdk/types": "^3.974.2",
|
|
106
|
-
"@smithy/core": "^3.29.
|
|
107
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
108
|
-
"@smithy/node-http-handler": "^4.9.
|
|
106
|
+
"@smithy/core": "^3.29.8",
|
|
107
|
+
"@smithy/fetch-http-handler": "^5.6.10",
|
|
108
|
+
"@smithy/node-http-handler": "^4.9.10",
|
|
109
109
|
"@smithy/types": "^4.16.1",
|
|
110
110
|
"tslib": "^2.6.2"
|
|
111
111
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/signature-v4-multi-region",
|
|
3
|
-
"version": "3.996.
|
|
3
|
+
"version": "3.996.42",
|
|
4
4
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/signature-v4-multi-region",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@aws-sdk/types": "^3.974.2",
|
|
46
|
-
"@smithy/signature-v4": "^5.6.
|
|
46
|
+
"@smithy/signature-v4": "^5.6.9",
|
|
47
47
|
"@smithy/types": "^4.16.1",
|
|
48
48
|
"tslib": "^2.6.2"
|
|
49
49
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1095.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@aws-sdk/core": "^3.
|
|
52
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
51
|
+
"@aws-sdk/core": "^3.977.0",
|
|
52
|
+
"@aws-sdk/nested-clients": "^3.997.35",
|
|
53
53
|
"@aws-sdk/types": "^3.974.2",
|
|
54
|
-
"@smithy/core": "^3.29.
|
|
54
|
+
"@smithy/core": "^3.29.8",
|
|
55
55
|
"@smithy/types": "^4.16.1",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
@@ -122,6 +122,9 @@ class XmlNode {
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
+
function writeKey(obj) {
|
|
126
|
+
Object.defineProperty(obj, "__proto__", { value: undefined, writable: true, enumerable: true, configurable: true });
|
|
127
|
+
}
|
|
125
128
|
function parseXML(xml) {
|
|
126
129
|
const state = new AwsXmlParser(xml);
|
|
127
130
|
return state.parse();
|
|
@@ -207,7 +210,7 @@ class AwsXmlParser {
|
|
|
207
210
|
tag += p.x[p.i++];
|
|
208
211
|
}
|
|
209
212
|
let hasAttrs = false;
|
|
210
|
-
const attrs =
|
|
213
|
+
const attrs = {};
|
|
211
214
|
while (p.i < p.z) {
|
|
212
215
|
p.trim();
|
|
213
216
|
if (">/".includes(p.x[p.i])) {
|
|
@@ -223,6 +226,9 @@ class AwsXmlParser {
|
|
|
223
226
|
}
|
|
224
227
|
++p.i;
|
|
225
228
|
p.trim();
|
|
229
|
+
if (name === "__proto__") {
|
|
230
|
+
writeKey(attrs);
|
|
231
|
+
}
|
|
226
232
|
attrs[name] = p.readAttrValue();
|
|
227
233
|
hasAttrs = true;
|
|
228
234
|
}
|
|
@@ -235,7 +241,6 @@ class AwsXmlParser {
|
|
|
235
241
|
throw new Error("@aws-sdk XML parse error: expected > at the end of self-closing tag.");
|
|
236
242
|
}
|
|
237
243
|
++p.i;
|
|
238
|
-
Object.setPrototypeOf(attrs, Object.prototype);
|
|
239
244
|
return { tag, value: hasAttrs ? attrs : "" };
|
|
240
245
|
}
|
|
241
246
|
if (p.x[p.i] !== ">") {
|
|
@@ -291,7 +296,7 @@ class AwsXmlParser {
|
|
|
291
296
|
}
|
|
292
297
|
return { tag, value: text };
|
|
293
298
|
}
|
|
294
|
-
const obj =
|
|
299
|
+
const obj = {};
|
|
295
300
|
for (const text of textParts) {
|
|
296
301
|
if (text.trim() === "" && text.includes("\n")) {
|
|
297
302
|
continue;
|
|
@@ -299,6 +304,9 @@ class AwsXmlParser {
|
|
|
299
304
|
obj["#text"] = "#text" in obj ? obj["#text"] + text : text;
|
|
300
305
|
}
|
|
301
306
|
for (const child of childTags) {
|
|
307
|
+
if (child.tag === "__proto__") {
|
|
308
|
+
writeKey(obj);
|
|
309
|
+
}
|
|
302
310
|
if (child.tag in obj) {
|
|
303
311
|
if (Array.isArray(obj[child.tag])) {
|
|
304
312
|
obj[child.tag].push(child.value);
|
|
@@ -312,9 +320,11 @@ class AwsXmlParser {
|
|
|
312
320
|
}
|
|
313
321
|
}
|
|
314
322
|
for (const [k, v] of Object.entries(attrs)) {
|
|
323
|
+
if (k === "__proto__") {
|
|
324
|
+
writeKey(obj);
|
|
325
|
+
}
|
|
315
326
|
obj[k] = v;
|
|
316
327
|
}
|
|
317
|
-
Object.setPrototypeOf(obj, Object.prototype);
|
|
318
328
|
return { tag, value: obj };
|
|
319
329
|
}
|
|
320
330
|
static ENTITIES = {
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
function writeKey(obj) {
|
|
2
|
+
Object.defineProperty(obj, "__proto__", { value: undefined, writable: true, enumerable: true, configurable: true });
|
|
3
|
+
}
|
|
1
4
|
export function parseXML(xml) {
|
|
2
5
|
const state = new AwsXmlParser(xml);
|
|
3
6
|
return state.parse();
|
|
@@ -83,7 +86,7 @@ class AwsXmlParser {
|
|
|
83
86
|
tag += p.x[p.i++];
|
|
84
87
|
}
|
|
85
88
|
let hasAttrs = false;
|
|
86
|
-
const attrs =
|
|
89
|
+
const attrs = {};
|
|
87
90
|
while (p.i < p.z) {
|
|
88
91
|
p.trim();
|
|
89
92
|
if (">/".includes(p.x[p.i])) {
|
|
@@ -99,6 +102,9 @@ class AwsXmlParser {
|
|
|
99
102
|
}
|
|
100
103
|
++p.i;
|
|
101
104
|
p.trim();
|
|
105
|
+
if (name === "__proto__") {
|
|
106
|
+
writeKey(attrs);
|
|
107
|
+
}
|
|
102
108
|
attrs[name] = p.readAttrValue();
|
|
103
109
|
hasAttrs = true;
|
|
104
110
|
}
|
|
@@ -111,7 +117,6 @@ class AwsXmlParser {
|
|
|
111
117
|
throw new Error("@aws-sdk XML parse error: expected > at the end of self-closing tag.");
|
|
112
118
|
}
|
|
113
119
|
++p.i;
|
|
114
|
-
Object.setPrototypeOf(attrs, Object.prototype);
|
|
115
120
|
return { tag, value: hasAttrs ? attrs : "" };
|
|
116
121
|
}
|
|
117
122
|
if (p.x[p.i] !== ">") {
|
|
@@ -167,7 +172,7 @@ class AwsXmlParser {
|
|
|
167
172
|
}
|
|
168
173
|
return { tag, value: text };
|
|
169
174
|
}
|
|
170
|
-
const obj =
|
|
175
|
+
const obj = {};
|
|
171
176
|
for (const text of textParts) {
|
|
172
177
|
if (text.trim() === "" && text.includes("\n")) {
|
|
173
178
|
continue;
|
|
@@ -175,6 +180,9 @@ class AwsXmlParser {
|
|
|
175
180
|
obj["#text"] = "#text" in obj ? obj["#text"] + text : text;
|
|
176
181
|
}
|
|
177
182
|
for (const child of childTags) {
|
|
183
|
+
if (child.tag === "__proto__") {
|
|
184
|
+
writeKey(obj);
|
|
185
|
+
}
|
|
178
186
|
if (child.tag in obj) {
|
|
179
187
|
if (Array.isArray(obj[child.tag])) {
|
|
180
188
|
obj[child.tag].push(child.value);
|
|
@@ -188,9 +196,11 @@ class AwsXmlParser {
|
|
|
188
196
|
}
|
|
189
197
|
}
|
|
190
198
|
for (const [k, v] of Object.entries(attrs)) {
|
|
199
|
+
if (k === "__proto__") {
|
|
200
|
+
writeKey(obj);
|
|
201
|
+
}
|
|
191
202
|
obj[k] = v;
|
|
192
203
|
}
|
|
193
|
-
Object.setPrototypeOf(obj, Object.prototype);
|
|
194
204
|
return { tag, value: obj };
|
|
195
205
|
}
|
|
196
206
|
static ENTITIES = {
|
|
@@ -169,7 +169,7 @@ function bytesToFloat16(a, b) {
|
|
|
169
169
|
}
|
|
170
170
|
function decodeMap(at, to) {
|
|
171
171
|
const mapDataLength = decodeCount(at, to);
|
|
172
|
-
if (mapDataLength <
|
|
172
|
+
if (mapDataLength < 25) {
|
|
173
173
|
return decodeMapSmall(at, to, mapDataLength);
|
|
174
174
|
}
|
|
175
175
|
return decodeMapLarge(at, to, mapDataLength);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
const { Crc32 } = require("@smithy/core/checksum");
|
|
2
2
|
const { toHex, fromHex, toUtf8, fromUtf8 } = require("@smithy/core/serde");
|
|
3
|
+
const { TypeRegistry } = require("@smithy/core/schema");
|
|
3
4
|
|
|
4
5
|
class Int64 {
|
|
5
6
|
bytes;
|
|
@@ -591,12 +592,14 @@ class EventStreamSerde {
|
|
|
591
592
|
deserializer;
|
|
592
593
|
serdeContext;
|
|
593
594
|
defaultContentType;
|
|
594
|
-
|
|
595
|
+
compositeErrorRegistry;
|
|
596
|
+
constructor({ marshaller, serializer, deserializer, serdeContext, defaultContentType, compositeErrorRegistry, }) {
|
|
595
597
|
this.marshaller = marshaller;
|
|
596
598
|
this.serializer = serializer;
|
|
597
599
|
this.deserializer = deserializer;
|
|
598
600
|
this.serdeContext = serdeContext;
|
|
599
601
|
this.defaultContentType = defaultContentType;
|
|
602
|
+
this.compositeErrorRegistry = compositeErrorRegistry;
|
|
600
603
|
}
|
|
601
604
|
async serializeEventStream({ eventStream, requestSchema, initialRequest, }) {
|
|
602
605
|
const marshaller = this.marshaller;
|
|
@@ -712,16 +715,9 @@ class EventStreamSerde {
|
|
|
712
715
|
}
|
|
713
716
|
}
|
|
714
717
|
}
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
};
|
|
719
|
-
}
|
|
720
|
-
if (body.byteLength === 0) {
|
|
721
|
-
return {
|
|
722
|
-
[unionMember]: {},
|
|
723
|
-
};
|
|
724
|
-
}
|
|
718
|
+
return {
|
|
719
|
+
[unionMember]: await this.readEventMember(eventStreamSchema, body, hasBindings, out),
|
|
720
|
+
};
|
|
725
721
|
}
|
|
726
722
|
return {
|
|
727
723
|
[unionMember]: await this.deserializer.read(eventStreamSchema, body),
|
|
@@ -761,6 +757,33 @@ class EventStreamSerde {
|
|
|
761
757
|
},
|
|
762
758
|
};
|
|
763
759
|
}
|
|
760
|
+
async readEventMember(eventStreamSchema, body, hasBindings, out) {
|
|
761
|
+
let ErrCtor;
|
|
762
|
+
const staticStructuralSchema = eventStreamSchema.getSchema();
|
|
763
|
+
if (Array.isArray(staticStructuralSchema) && staticStructuralSchema[0] === -3) {
|
|
764
|
+
const namespace = staticStructuralSchema[1];
|
|
765
|
+
const nsRegistry = TypeRegistry.for(namespace);
|
|
766
|
+
this.compositeErrorRegistry?.copyFrom(nsRegistry);
|
|
767
|
+
ErrCtor = (this.compositeErrorRegistry ?? nsRegistry)?.getErrorCtor(staticStructuralSchema);
|
|
768
|
+
}
|
|
769
|
+
const dataObject = hasBindings
|
|
770
|
+
? out
|
|
771
|
+
: body.byteLength === 0
|
|
772
|
+
? {}
|
|
773
|
+
: await this.deserializer.read(eventStreamSchema, body);
|
|
774
|
+
if (ErrCtor) {
|
|
775
|
+
const message = dataObject.message ?? dataObject.Message ?? "Unknown";
|
|
776
|
+
const metadata = {};
|
|
777
|
+
const $fault = eventStreamSchema.getMergedTraits().error;
|
|
778
|
+
if ($fault) {
|
|
779
|
+
metadata.$fault = $fault;
|
|
780
|
+
}
|
|
781
|
+
return Object.assign(new ErrCtor({}), metadata, {
|
|
782
|
+
message,
|
|
783
|
+
}, dataObject);
|
|
784
|
+
}
|
|
785
|
+
return dataObject;
|
|
786
|
+
}
|
|
764
787
|
writeEventBody(unionMember, unionSchema, event) {
|
|
765
788
|
const serializer = this.serializer;
|
|
766
789
|
let eventType = unionMember;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
const { Crc32 } = require("@smithy/core/checksum");
|
|
2
2
|
const { toHex, fromHex, toUtf8, fromUtf8 } = require("@smithy/core/serde");
|
|
3
3
|
const { Readable } = require("node:stream");
|
|
4
|
+
const { TypeRegistry } = require("@smithy/core/schema");
|
|
4
5
|
|
|
5
6
|
class Int64 {
|
|
6
7
|
bytes;
|
|
@@ -616,12 +617,14 @@ class EventStreamSerde {
|
|
|
616
617
|
deserializer;
|
|
617
618
|
serdeContext;
|
|
618
619
|
defaultContentType;
|
|
619
|
-
|
|
620
|
+
compositeErrorRegistry;
|
|
621
|
+
constructor({ marshaller, serializer, deserializer, serdeContext, defaultContentType, compositeErrorRegistry, }) {
|
|
620
622
|
this.marshaller = marshaller;
|
|
621
623
|
this.serializer = serializer;
|
|
622
624
|
this.deserializer = deserializer;
|
|
623
625
|
this.serdeContext = serdeContext;
|
|
624
626
|
this.defaultContentType = defaultContentType;
|
|
627
|
+
this.compositeErrorRegistry = compositeErrorRegistry;
|
|
625
628
|
}
|
|
626
629
|
async serializeEventStream({ eventStream, requestSchema, initialRequest, }) {
|
|
627
630
|
const marshaller = this.marshaller;
|
|
@@ -737,16 +740,9 @@ class EventStreamSerde {
|
|
|
737
740
|
}
|
|
738
741
|
}
|
|
739
742
|
}
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
};
|
|
744
|
-
}
|
|
745
|
-
if (body.byteLength === 0) {
|
|
746
|
-
return {
|
|
747
|
-
[unionMember]: {},
|
|
748
|
-
};
|
|
749
|
-
}
|
|
743
|
+
return {
|
|
744
|
+
[unionMember]: await this.readEventMember(eventStreamSchema, body, hasBindings, out),
|
|
745
|
+
};
|
|
750
746
|
}
|
|
751
747
|
return {
|
|
752
748
|
[unionMember]: await this.deserializer.read(eventStreamSchema, body),
|
|
@@ -786,6 +782,33 @@ class EventStreamSerde {
|
|
|
786
782
|
},
|
|
787
783
|
};
|
|
788
784
|
}
|
|
785
|
+
async readEventMember(eventStreamSchema, body, hasBindings, out) {
|
|
786
|
+
let ErrCtor;
|
|
787
|
+
const staticStructuralSchema = eventStreamSchema.getSchema();
|
|
788
|
+
if (Array.isArray(staticStructuralSchema) && staticStructuralSchema[0] === -3) {
|
|
789
|
+
const namespace = staticStructuralSchema[1];
|
|
790
|
+
const nsRegistry = TypeRegistry.for(namespace);
|
|
791
|
+
this.compositeErrorRegistry?.copyFrom(nsRegistry);
|
|
792
|
+
ErrCtor = (this.compositeErrorRegistry ?? nsRegistry)?.getErrorCtor(staticStructuralSchema);
|
|
793
|
+
}
|
|
794
|
+
const dataObject = hasBindings
|
|
795
|
+
? out
|
|
796
|
+
: body.byteLength === 0
|
|
797
|
+
? {}
|
|
798
|
+
: await this.deserializer.read(eventStreamSchema, body);
|
|
799
|
+
if (ErrCtor) {
|
|
800
|
+
const message = dataObject.message ?? dataObject.Message ?? "Unknown";
|
|
801
|
+
const metadata = {};
|
|
802
|
+
const $fault = eventStreamSchema.getMergedTraits().error;
|
|
803
|
+
if ($fault) {
|
|
804
|
+
metadata.$fault = $fault;
|
|
805
|
+
}
|
|
806
|
+
return Object.assign(new ErrCtor({}), metadata, {
|
|
807
|
+
message,
|
|
808
|
+
}, dataObject);
|
|
809
|
+
}
|
|
810
|
+
return dataObject;
|
|
811
|
+
}
|
|
789
812
|
writeEventBody(unionMember, unionSchema, event) {
|
|
790
813
|
const serializer = this.serializer;
|
|
791
814
|
let eventType = unionMember;
|
|
@@ -155,6 +155,7 @@ class HttpProtocol extends SerdeContext {
|
|
|
155
155
|
deserializer: this.deserializer,
|
|
156
156
|
serdeContext: this.serdeContext,
|
|
157
157
|
defaultContentType: this.getDefaultContentType(),
|
|
158
|
+
compositeErrorRegistry: this.compositeErrorRegistry,
|
|
158
159
|
});
|
|
159
160
|
}
|
|
160
161
|
resolveEventStreamMarshaller(importedProvider) {
|
|
@@ -5,6 +5,7 @@ const { parseRfc7231DateTime, v4 } = require("@smithy/core/serde");
|
|
|
5
5
|
const isStreamingPayload = (request) => request?.body instanceof ReadableStream;
|
|
6
6
|
|
|
7
7
|
const CLOCK_SKEW_ERROR_CODES = [
|
|
8
|
+
"AccessDeniedException",
|
|
8
9
|
"AuthFailure",
|
|
9
10
|
"InvalidSignatureException",
|
|
10
11
|
"RequestExpired",
|
|
@@ -7,6 +7,7 @@ const isStreamingPayload = (request) => request?.body instanceof Readable ||
|
|
|
7
7
|
(typeof ReadableStream !== "undefined" && request?.body instanceof ReadableStream);
|
|
8
8
|
|
|
9
9
|
const CLOCK_SKEW_ERROR_CODES = [
|
|
10
|
+
"AccessDeniedException",
|
|
10
11
|
"AuthFailure",
|
|
11
12
|
"InvalidSignatureException",
|
|
12
13
|
"RequestExpired",
|
|
@@ -775,7 +775,7 @@ const splitHeader = (value) => {
|
|
|
775
775
|
});
|
|
776
776
|
};
|
|
777
777
|
|
|
778
|
-
const format =
|
|
778
|
+
const format = /^-?((0|[1-9]\d*)(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/;
|
|
779
779
|
class NumericValue {
|
|
780
780
|
string;
|
|
781
781
|
type;
|
|
@@ -783,7 +783,7 @@ class NumericValue {
|
|
|
783
783
|
this.string = string;
|
|
784
784
|
this.type = type;
|
|
785
785
|
if (!format.test(string)) {
|
|
786
|
-
throw new Error(`@smithy/core/serde - NumericValue must
|
|
786
|
+
throw new Error(`@smithy/core/serde - NumericValue string must conform to the Smithy bigDecimal format. Received: "${string}"`);
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
789
|
toString() {
|
|
@@ -743,7 +743,7 @@ const splitHeader = (value) => {
|
|
|
743
743
|
});
|
|
744
744
|
};
|
|
745
745
|
|
|
746
|
-
const format =
|
|
746
|
+
const format = /^-?((0|[1-9]\d*)(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/;
|
|
747
747
|
class NumericValue {
|
|
748
748
|
string;
|
|
749
749
|
type;
|
|
@@ -751,7 +751,7 @@ class NumericValue {
|
|
|
751
751
|
this.string = string;
|
|
752
752
|
this.type = type;
|
|
753
753
|
if (!format.test(string)) {
|
|
754
|
-
throw new Error(`@smithy/core/serde - NumericValue must
|
|
754
|
+
throw new Error(`@smithy/core/serde - NumericValue string must conform to the Smithy bigDecimal format. Received: "${string}"`);
|
|
755
755
|
}
|
|
756
756
|
}
|
|
757
757
|
toString() {
|
|
@@ -775,7 +775,7 @@ const splitHeader = (value) => {
|
|
|
775
775
|
});
|
|
776
776
|
};
|
|
777
777
|
|
|
778
|
-
const format =
|
|
778
|
+
const format = /^-?((0|[1-9]\d*)(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/;
|
|
779
779
|
class NumericValue {
|
|
780
780
|
string;
|
|
781
781
|
type;
|
|
@@ -783,7 +783,7 @@ class NumericValue {
|
|
|
783
783
|
this.string = string;
|
|
784
784
|
this.type = type;
|
|
785
785
|
if (!format.test(string)) {
|
|
786
|
-
throw new Error(`@smithy/core/serde - NumericValue must
|
|
786
|
+
throw new Error(`@smithy/core/serde - NumericValue string must conform to the Smithy bigDecimal format. Received: "${string}"`);
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
789
|
toString() {
|
|
@@ -141,7 +141,7 @@ export function bytesToFloat16(a, b) {
|
|
|
141
141
|
}
|
|
142
142
|
function decodeMap(at, to) {
|
|
143
143
|
const mapDataLength = decodeCount(at, to);
|
|
144
|
-
if (mapDataLength <
|
|
144
|
+
if (mapDataLength < 25) {
|
|
145
145
|
return decodeMapSmall(at, to, mapDataLength);
|
|
146
146
|
}
|
|
147
147
|
return decodeMapLarge(at, to, mapDataLength);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import { fromUtf8, toUtf8 } from "@smithy/core/serde";
|
|
2
3
|
export class EventStreamSerde {
|
|
3
4
|
marshaller;
|
|
@@ -5,12 +6,14 @@ export class EventStreamSerde {
|
|
|
5
6
|
deserializer;
|
|
6
7
|
serdeContext;
|
|
7
8
|
defaultContentType;
|
|
8
|
-
|
|
9
|
+
compositeErrorRegistry;
|
|
10
|
+
constructor({ marshaller, serializer, deserializer, serdeContext, defaultContentType, compositeErrorRegistry, }) {
|
|
9
11
|
this.marshaller = marshaller;
|
|
10
12
|
this.serializer = serializer;
|
|
11
13
|
this.deserializer = deserializer;
|
|
12
14
|
this.serdeContext = serdeContext;
|
|
13
15
|
this.defaultContentType = defaultContentType;
|
|
16
|
+
this.compositeErrorRegistry = compositeErrorRegistry;
|
|
14
17
|
}
|
|
15
18
|
async serializeEventStream({ eventStream, requestSchema, initialRequest, }) {
|
|
16
19
|
const marshaller = this.marshaller;
|
|
@@ -126,16 +129,9 @@ export class EventStreamSerde {
|
|
|
126
129
|
}
|
|
127
130
|
}
|
|
128
131
|
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
};
|
|
133
|
-
}
|
|
134
|
-
if (body.byteLength === 0) {
|
|
135
|
-
return {
|
|
136
|
-
[unionMember]: {},
|
|
137
|
-
};
|
|
138
|
-
}
|
|
132
|
+
return {
|
|
133
|
+
[unionMember]: await this.readEventMember(eventStreamSchema, body, hasBindings, out),
|
|
134
|
+
};
|
|
139
135
|
}
|
|
140
136
|
return {
|
|
141
137
|
[unionMember]: await this.deserializer.read(eventStreamSchema, body),
|
|
@@ -175,6 +171,33 @@ export class EventStreamSerde {
|
|
|
175
171
|
},
|
|
176
172
|
};
|
|
177
173
|
}
|
|
174
|
+
async readEventMember(eventStreamSchema, body, hasBindings, out) {
|
|
175
|
+
let ErrCtor;
|
|
176
|
+
const staticStructuralSchema = eventStreamSchema.getSchema();
|
|
177
|
+
if (Array.isArray(staticStructuralSchema) && staticStructuralSchema[0] === -3) {
|
|
178
|
+
const namespace = staticStructuralSchema[1];
|
|
179
|
+
const nsRegistry = TypeRegistry.for(namespace);
|
|
180
|
+
this.compositeErrorRegistry?.copyFrom(nsRegistry);
|
|
181
|
+
ErrCtor = (this.compositeErrorRegistry ?? nsRegistry)?.getErrorCtor(staticStructuralSchema);
|
|
182
|
+
}
|
|
183
|
+
const dataObject = hasBindings
|
|
184
|
+
? out
|
|
185
|
+
: body.byteLength === 0
|
|
186
|
+
? {}
|
|
187
|
+
: await this.deserializer.read(eventStreamSchema, body);
|
|
188
|
+
if (ErrCtor) {
|
|
189
|
+
const message = dataObject.message ?? dataObject.Message ?? "Unknown";
|
|
190
|
+
const metadata = {};
|
|
191
|
+
const $fault = eventStreamSchema.getMergedTraits().error;
|
|
192
|
+
if ($fault) {
|
|
193
|
+
metadata.$fault = $fault;
|
|
194
|
+
}
|
|
195
|
+
return Object.assign(new ErrCtor({}), metadata, {
|
|
196
|
+
message,
|
|
197
|
+
}, dataObject);
|
|
198
|
+
}
|
|
199
|
+
return dataObject;
|
|
200
|
+
}
|
|
178
201
|
writeEventBody(unionMember, unionSchema, event) {
|
|
179
202
|
const serializer = this.serializer;
|
|
180
203
|
let eventType = unionMember;
|
|
@@ -123,6 +123,7 @@ export class HttpProtocol extends SerdeContext {
|
|
|
123
123
|
deserializer: this.deserializer,
|
|
124
124
|
serdeContext: this.serdeContext,
|
|
125
125
|
defaultContentType: this.getDefaultContentType(),
|
|
126
|
+
compositeErrorRegistry: this.compositeErrorRegistry,
|
|
126
127
|
});
|
|
127
128
|
}
|
|
128
129
|
resolveEventStreamMarshaller(importedProvider) {
|