@cdklabs/cdk-ssm-documents 0.0.74 → 0.0.75
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 +12 -12
- 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 +6 -6
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +38 -38
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +36 -36
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +37 -37
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +54 -56
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +57 -57
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +58 -60
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-cloudformation/package.json +10 -10
- package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/index.js +18 -9
- package/node_modules/@aws-sdk/client-cloudwatch/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch/dist-es/schemas/schemas_0.js +16 -8
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/AssociateDatasetKmsKeyCommand.d.ts +19 -10
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/DescribeAlarmsCommand.d.ts +8 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/DisassociateDatasetKmsKeyCommand.d.ts +14 -7
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/PutLogAlarmCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/PutMetricAlarmCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/models/models_0.d.ts +70 -4
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/runtimeConfig.browser.d.ts +40 -40
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/runtimeConfig.d.ts +36 -36
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/runtimeConfig.native.d.ts +37 -37
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/schemas/schemas_0.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/runtimeConfig.d.ts +59 -59
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/runtimeConfig.native.d.ts +58 -60
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch/package.json +12 -12
- package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +12 -8
- package/node_modules/@aws-sdk/client-ec2/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-es/schemas/schemas_0.js +11 -7
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AssociateApplicationStatusCheckCommand.d.ts +5 -5
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateApplicationStatusCheckCommand.d.ts +6 -6
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateImageCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeApplicationStatusChecksCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeApplicationStatusCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DisableApplicationStatusCheckSuppressionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/EnableApplicationStatusCheckSuppressionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_0.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_1.d.ts +13 -8
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_2.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_5.d.ts +3 -3
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_7.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/runtimeConfig.browser.d.ts +40 -40
- package/node_modules/@aws-sdk/client-ec2/dist-types/runtimeConfig.d.ts +36 -36
- package/node_modules/@aws-sdk/client-ec2/dist-types/runtimeConfig.native.d.ts +38 -38
- package/node_modules/@aws-sdk/client-ec2/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-ec2/package.json +12 -12
- package/node_modules/@aws-sdk/client-iam/README.md +28 -0
- package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +285 -27
- package/node_modules/@aws-sdk/client-iam/dist-es/IAM.js +8 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/AcquireRoleCommand.js +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetAccountPropertiesCommand.js +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetRoleTemplateVersionCommand.js +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/PutAccountPropertiesCommand.js +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/index.js +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-es/models/enums.js +14 -3
- package/node_modules/@aws-sdk/client-iam/dist-es/models/errors.js +52 -16
- package/node_modules/@aws-sdk/client-iam/dist-es/schemas/schemas_0.js +176 -8
- package/node_modules/@aws-sdk/client-iam/dist-types/IAM.d.ts +29 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/IAMClient.d.ts +6 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/AcquireRoleCommand.d.ts +154 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateInstanceProfileCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateRoleCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetAccountPropertiesCommand.d.ts +84 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetInstanceProfileCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetRoleCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetRoleTemplateVersionCommand.d.ts +135 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListInstanceProfilesCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListRolesCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutAccountPropertiesCommand.d.ts +88 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagSAMLProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagServerCertificateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagUserCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagInstanceProfileCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagMFADeviceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagRoleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagSAMLProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagServerCertificateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagUserCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAccessKeyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/index.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/models/enums.d.ts +38 -11
- package/node_modules/@aws-sdk/client-iam/dist-types/models/errors.d.ts +58 -18
- package/node_modules/@aws-sdk/client-iam/dist-types/models/models_0.d.ts +508 -511
- package/node_modules/@aws-sdk/client-iam/dist-types/models/models_1.d.ts +358 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.browser.d.ts +40 -40
- package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.d.ts +36 -36
- package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.native.d.ts +38 -38
- package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/schemas/schemas_0.d.ts +21 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAM.d.ts +66 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAMClient.d.ts +21 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AcquireRoleCommand.d.ts +38 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetAccountPropertiesCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetRoleTemplateVersionCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutAccountPropertiesCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagSAMLProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagServerCertificateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagUserCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagInstanceProfileCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagMFADeviceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagRoleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagSAMLProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagServerCertificateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagUserCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAccessKeyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAccountPasswordPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAssumeRolePolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/enums.d.ts +18 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/errors.d.ts +23 -8
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_0.d.ts +100 -89
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_1.d.ts +64 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/schemas/schemas_0.d.ts +21 -0
- package/node_modules/@aws-sdk/client-iam/package.json +11 -11
- package/node_modules/@aws-sdk/client-lambda/README.md +21 -0
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +67 -1
- package/node_modules/@aws-sdk/client-lambda/dist-es/Lambda.js +6 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteResourcePolicyCommand.js +4 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetResourcePolicyCommand.js +4 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/commands/PutResourcePolicyCommand.js +4 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/commands/index.js +3 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +43 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/Lambda.d.ts +21 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/LambdaClient.d.ts +5 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/AddPermissionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteResourcePolicyCommand.d.ts +88 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetResourcePolicyCommand.d.ts +84 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutResourcePolicyCommand.d.ts +98 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/RemovePermissionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/index.d.ts +3 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/errors.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +76 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.browser.d.ts +41 -41
- package/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.d.ts +36 -36
- package/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.native.d.ts +39 -39
- package/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/schemas/schemas_0.d.ts +8 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/Lambda.d.ts +51 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/LambdaClient.d.ts +18 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +38 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +20 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.browser.d.ts +57 -59
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.d.ts +59 -59
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.native.d.ts +61 -63
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
- package/node_modules/@aws-sdk/client-lambda/package.json +11 -11
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +58 -58
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +61 -61
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +57 -57
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -99
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +103 -103
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +101 -103
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/package.json +15 -15
- package/node_modules/@aws-sdk/client-sns/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-sns/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-sns/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sns/dist-types/runtimeConfig.browser.d.ts +40 -40
- package/node_modules/@aws-sdk/client-sns/dist-types/runtimeConfig.d.ts +36 -36
- package/node_modules/@aws-sdk/client-sns/dist-types/runtimeConfig.native.d.ts +38 -38
- package/node_modules/@aws-sdk/client-sns/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
- package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
- package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
- package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-sns/package.json +10 -10
- package/node_modules/@aws-sdk/client-sqs/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-sqs/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-sqs/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sqs/dist-types/runtimeConfig.browser.d.ts +39 -39
- package/node_modules/@aws-sdk/client-sqs/dist-types/runtimeConfig.d.ts +38 -38
- package/node_modules/@aws-sdk/client-sqs/dist-types/runtimeConfig.native.d.ts +38 -38
- package/node_modules/@aws-sdk/client-sqs/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeConfig.browser.d.ts +55 -57
- package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
- package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeConfig.native.d.ts +59 -61
- package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-sqs/package.json +12 -12
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +40 -40
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +36 -36
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +38 -38
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-ssm/package.json +10 -10
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/lib/aws/partitions.d.ts +54 -54
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partitions.d.ts +54 -54
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +1 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +1 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +1 -4
- package/node_modules/@aws-sdk/core/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-env/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-login/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-sdk-ec2/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-sdk-sqs/package.json +5 -5
- 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 +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +41 -41
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +43 -43
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +43 -43
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +41 -41
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +41 -41
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +44 -44
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +35 -35
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +43 -43
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +64 -66
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +65 -65
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +68 -70
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +67 -69
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +66 -66
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +71 -73
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +64 -66
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +65 -65
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +68 -70
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +64 -66
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +65 -65
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +68 -70
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +68 -70
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +68 -68
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +72 -74
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/package.json +9 -9
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +8 -4
- package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +8 -4
- package/node_modules/@aws-sdk/token-providers/package.json +7 -7
- package/node_modules/@aws-sdk/types/package.json +3 -3
- package/node_modules/@aws-sdk/xml-builder/package.json +3 -3
- package/node_modules/@smithy/core/dist-cjs/index.js +3 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +127 -41
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +14 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +3 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +3 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +33 -24
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +33 -24
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +33 -15
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +0 -10
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +7 -0
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +1 -2
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +29 -13
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +12 -4
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +9 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +7 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +44 -15
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +22 -4
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +5 -0
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js +6 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +11 -4
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +23 -20
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +9 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +5 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +6 -4
- package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +6 -4
- package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +8 -5
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/transport/hasOwn.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/transport/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +1 -7
- package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +14 -2
- package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +7 -2
- package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/retries-2026-config.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/parse-utils.d.ts +5 -5
- package/node_modules/@smithy/core/dist-types/submodules/transport/hasOwn.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/submodules/transport/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +1 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +14 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +7 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/retries-2026-config.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.browser.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.native.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/parse-utils.d.ts +5 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/hasOwn.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/index.d.ts +1 -0
- package/node_modules/@smithy/core/package.json +3 -11
- package/node_modules/@smithy/credential-provider-imds/package.json +4 -12
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -13
- package/node_modules/@smithy/middleware-compression/package.json +5 -10
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +16 -4
- package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +3 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +12 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/package.json +5 -13
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +28 -16
- package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +13 -10
- package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +4 -1
- package/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +4 -1
- package/node_modules/@smithy/signature-v4/dist-es/headerUtil.js +10 -3
- package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +4 -1
- package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +4 -1
- package/node_modules/@smithy/signature-v4/package.json +4 -12
- package/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts +14 -14
- package/node_modules/@smithy/types/package.json +29 -39
- package/node_modules/fflate/CHANGELOG.md +22 -0
- package/node_modules/fflate/LICENSE +1 -1
- package/node_modules/fflate/README.md +14 -17
- package/node_modules/fflate/esm/browser.d.ts +160 -28
- package/node_modules/fflate/esm/browser.js +182 -95
- package/node_modules/fflate/esm/index.d.mts +160 -28
- package/node_modules/fflate/esm/index.mjs +187 -96
- package/node_modules/fflate/lib/browser.cjs +206 -118
- package/node_modules/fflate/lib/browser.d.cts +160 -28
- package/node_modules/fflate/lib/index.cjs +206 -118
- package/node_modules/fflate/lib/index.d.ts +160 -28
- package/node_modules/fflate/lib/node-worker.cjs +5 -2
- package/node_modules/fflate/lib/node.cjs +211 -119
- package/node_modules/fflate/lib/node.d.cts +160 -28
- package/node_modules/fflate/lib/worker.cjs +0 -1
- package/node_modules/fflate/package.json +12 -12
- package/node_modules/fflate/umd/index.js +1 -1
- package/package.json +10 -10
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
const { Crc32 } = require("@smithy/core/checksum");
|
|
2
|
+
const { hasOwn } = require("@smithy/core/transport");
|
|
2
3
|
const { toHex, fromHex, toUtf8, fromUtf8 } = require("@smithy/core/serde");
|
|
3
4
|
const { Readable } = require("node:stream");
|
|
4
5
|
const { TypeRegistry } = require("@smithy/core/schema");
|
|
@@ -56,7 +57,9 @@ class HeaderMarshaller {
|
|
|
56
57
|
}
|
|
57
58
|
format(headers) {
|
|
58
59
|
const chunks = [];
|
|
59
|
-
for (const headerName
|
|
60
|
+
for (const headerName in headers) {
|
|
61
|
+
if (!hasOwn(headers, headerName))
|
|
62
|
+
continue;
|
|
60
63
|
const bytes = this.fromUtf8(headerName);
|
|
61
64
|
chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
|
|
62
65
|
}
|
|
@@ -71,27 +74,27 @@ class HeaderMarshaller {
|
|
|
71
74
|
formatHeaderValue(header) {
|
|
72
75
|
switch (header.type) {
|
|
73
76
|
case "boolean":
|
|
74
|
-
return Uint8Array.from([header.value ?
|
|
77
|
+
return Uint8Array.from([header.value ? 0 : 1]);
|
|
75
78
|
case "byte":
|
|
76
|
-
return Uint8Array.from([
|
|
79
|
+
return Uint8Array.from([2, header.value]);
|
|
77
80
|
case "short":
|
|
78
81
|
const shortView = new DataView(new ArrayBuffer(3));
|
|
79
|
-
shortView.setUint8(0,
|
|
82
|
+
shortView.setUint8(0, 3);
|
|
80
83
|
shortView.setInt16(1, header.value, false);
|
|
81
84
|
return new Uint8Array(shortView.buffer);
|
|
82
85
|
case "integer":
|
|
83
86
|
const intView = new DataView(new ArrayBuffer(5));
|
|
84
|
-
intView.setUint8(0,
|
|
87
|
+
intView.setUint8(0, 4);
|
|
85
88
|
intView.setInt32(1, header.value, false);
|
|
86
89
|
return new Uint8Array(intView.buffer);
|
|
87
90
|
case "long":
|
|
88
91
|
const longBytes = new Uint8Array(9);
|
|
89
|
-
longBytes[0] =
|
|
92
|
+
longBytes[0] = 5;
|
|
90
93
|
longBytes.set(header.value.bytes, 1);
|
|
91
94
|
return longBytes;
|
|
92
95
|
case "binary":
|
|
93
96
|
const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
|
|
94
|
-
binView.setUint8(0,
|
|
97
|
+
binView.setUint8(0, 6);
|
|
95
98
|
binView.setUint16(1, header.value.byteLength, false);
|
|
96
99
|
const binBytes = new Uint8Array(binView.buffer);
|
|
97
100
|
binBytes.set(header.value, 3);
|
|
@@ -99,14 +102,14 @@ class HeaderMarshaller {
|
|
|
99
102
|
case "string":
|
|
100
103
|
const utf8Bytes = this.fromUtf8(header.value);
|
|
101
104
|
const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
|
|
102
|
-
strView.setUint8(0,
|
|
105
|
+
strView.setUint8(0, 7);
|
|
103
106
|
strView.setUint16(1, utf8Bytes.byteLength, false);
|
|
104
107
|
const strBytes = new Uint8Array(strView.buffer);
|
|
105
108
|
strBytes.set(utf8Bytes, 3);
|
|
106
109
|
return strBytes;
|
|
107
110
|
case "timestamp":
|
|
108
111
|
const tsBytes = new Uint8Array(9);
|
|
109
|
-
tsBytes[0] =
|
|
112
|
+
tsBytes[0] = 8;
|
|
110
113
|
tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);
|
|
111
114
|
return tsBytes;
|
|
112
115
|
case "uuid":
|
|
@@ -114,7 +117,7 @@ class HeaderMarshaller {
|
|
|
114
117
|
throw new Error(`Invalid UUID received: ${header.value}`);
|
|
115
118
|
}
|
|
116
119
|
const uuidBytes = new Uint8Array(17);
|
|
117
|
-
uuidBytes[0] =
|
|
120
|
+
uuidBytes[0] = 9;
|
|
118
121
|
uuidBytes.set(fromHex(header.value.replace(/-/g, "")), 1);
|
|
119
122
|
return uuidBytes;
|
|
120
123
|
}
|
|
@@ -127,46 +130,46 @@ class HeaderMarshaller {
|
|
|
127
130
|
const name = this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, nameLength));
|
|
128
131
|
position += nameLength;
|
|
129
132
|
switch (headers.getUint8(position++)) {
|
|
130
|
-
case
|
|
133
|
+
case 0:
|
|
131
134
|
out[name] = {
|
|
132
135
|
type: BOOLEAN_TAG,
|
|
133
136
|
value: true,
|
|
134
137
|
};
|
|
135
138
|
break;
|
|
136
|
-
case
|
|
139
|
+
case 1:
|
|
137
140
|
out[name] = {
|
|
138
141
|
type: BOOLEAN_TAG,
|
|
139
142
|
value: false,
|
|
140
143
|
};
|
|
141
144
|
break;
|
|
142
|
-
case
|
|
145
|
+
case 2:
|
|
143
146
|
out[name] = {
|
|
144
147
|
type: BYTE_TAG,
|
|
145
148
|
value: headers.getInt8(position++),
|
|
146
149
|
};
|
|
147
150
|
break;
|
|
148
|
-
case
|
|
151
|
+
case 3:
|
|
149
152
|
out[name] = {
|
|
150
153
|
type: SHORT_TAG,
|
|
151
154
|
value: headers.getInt16(position, false),
|
|
152
155
|
};
|
|
153
156
|
position += 2;
|
|
154
157
|
break;
|
|
155
|
-
case
|
|
158
|
+
case 4:
|
|
156
159
|
out[name] = {
|
|
157
160
|
type: INT_TAG,
|
|
158
161
|
value: headers.getInt32(position, false),
|
|
159
162
|
};
|
|
160
163
|
position += 4;
|
|
161
164
|
break;
|
|
162
|
-
case
|
|
165
|
+
case 5:
|
|
163
166
|
out[name] = {
|
|
164
167
|
type: LONG_TAG,
|
|
165
168
|
value: new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)),
|
|
166
169
|
};
|
|
167
170
|
position += 8;
|
|
168
171
|
break;
|
|
169
|
-
case
|
|
172
|
+
case 6:
|
|
170
173
|
const binaryLength = headers.getUint16(position, false);
|
|
171
174
|
position += 2;
|
|
172
175
|
out[name] = {
|
|
@@ -175,7 +178,7 @@ class HeaderMarshaller {
|
|
|
175
178
|
};
|
|
176
179
|
position += binaryLength;
|
|
177
180
|
break;
|
|
178
|
-
case
|
|
181
|
+
case 7:
|
|
179
182
|
const stringLength = headers.getUint16(position, false);
|
|
180
183
|
position += 2;
|
|
181
184
|
out[name] = {
|
|
@@ -184,14 +187,14 @@ class HeaderMarshaller {
|
|
|
184
187
|
};
|
|
185
188
|
position += stringLength;
|
|
186
189
|
break;
|
|
187
|
-
case
|
|
190
|
+
case 8:
|
|
188
191
|
out[name] = {
|
|
189
192
|
type: TIMESTAMP_TAG,
|
|
190
193
|
value: new Date(new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)).valueOf()),
|
|
191
194
|
};
|
|
192
195
|
position += 8;
|
|
193
196
|
break;
|
|
194
|
-
case
|
|
197
|
+
case 9:
|
|
195
198
|
const uuidBytes = new Uint8Array(headers.buffer, headers.byteOffset + position, 16);
|
|
196
199
|
position += 16;
|
|
197
200
|
out[name] = {
|
|
@@ -626,7 +629,7 @@ class EventStreamSerde {
|
|
|
626
629
|
this.defaultContentType = defaultContentType;
|
|
627
630
|
this.compositeErrorRegistry = compositeErrorRegistry;
|
|
628
631
|
}
|
|
629
|
-
async serializeEventStream({ eventStream, requestSchema, initialRequest, }) {
|
|
632
|
+
async serializeEventStream({ eventStream, requestSchema, initialRequest, initialMessageType, }) {
|
|
630
633
|
const marshaller = this.marshaller;
|
|
631
634
|
const eventStreamMember = requestSchema.getEventStreamMember();
|
|
632
635
|
const unionSchema = requestSchema.getMemberSchema(eventStreamMember);
|
|
@@ -637,7 +640,7 @@ class EventStreamSerde {
|
|
|
637
640
|
async *[Symbol.asyncIterator]() {
|
|
638
641
|
if (initialRequest) {
|
|
639
642
|
const headers = {
|
|
640
|
-
":event-type": { type: "string", value: "initial-request" },
|
|
643
|
+
":event-type": { type: "string", value: initialMessageType ?? "initial-request" },
|
|
641
644
|
":message-type": { type: "string", value: "event" },
|
|
642
645
|
":content-type": { type: "string", value: defaultContentType },
|
|
643
646
|
};
|
|
@@ -663,6 +666,8 @@ class EventStreamSerde {
|
|
|
663
666
|
}
|
|
664
667
|
let unionMember = "";
|
|
665
668
|
for (const key in event) {
|
|
669
|
+
if (!hasOwn(event, key))
|
|
670
|
+
continue;
|
|
666
671
|
if (key !== "__type") {
|
|
667
672
|
unionMember = key;
|
|
668
673
|
break;
|
|
@@ -681,7 +686,7 @@ class EventStreamSerde {
|
|
|
681
686
|
};
|
|
682
687
|
});
|
|
683
688
|
}
|
|
684
|
-
async deserializeEventStream({ response, responseSchema, initialResponseContainer, }) {
|
|
689
|
+
async deserializeEventStream({ response, responseSchema, initialResponseContainer, initialMessageType, }) {
|
|
685
690
|
const marshaller = this.marshaller;
|
|
686
691
|
const eventStreamMember = responseSchema.getEventStreamMember();
|
|
687
692
|
const unionSchema = responseSchema.getMemberSchema(eventStreamMember);
|
|
@@ -690,13 +695,15 @@ class EventStreamSerde {
|
|
|
690
695
|
const asyncIterable = marshaller.deserialize(response.body, async (event) => {
|
|
691
696
|
let unionMember = "";
|
|
692
697
|
for (const key in event) {
|
|
698
|
+
if (!hasOwn(event, key))
|
|
699
|
+
continue;
|
|
693
700
|
if (key !== "__type") {
|
|
694
701
|
unionMember = key;
|
|
695
702
|
break;
|
|
696
703
|
}
|
|
697
704
|
}
|
|
698
705
|
const body = event[unionMember].body;
|
|
699
|
-
if (unionMember === "initial-response") {
|
|
706
|
+
if (unionMember === (initialMessageType ?? "initial-response")) {
|
|
700
707
|
const dataObject = await this.deserializer.read(responseSchema, body);
|
|
701
708
|
delete dataObject[eventStreamMember];
|
|
702
709
|
return {
|
|
@@ -764,6 +771,8 @@ class EventStreamSerde {
|
|
|
764
771
|
throw new Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.");
|
|
765
772
|
}
|
|
766
773
|
for (const key in firstEvent.value) {
|
|
774
|
+
if (!hasOwn(firstEvent.value, key))
|
|
775
|
+
continue;
|
|
767
776
|
initialResponseContainer[key] = firstEvent.value[key];
|
|
768
777
|
}
|
|
769
778
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
const { Uint8ArrayBlobAdapter, sdkStreamMixin, splitEvery, splitHeader, fromBase64, _parseEpochTimestamp, _parseRfc7231DateTime, _parseRfc3339DateTimeWithOffset, LazyJsonString, NumericValue, toUtf8, fromUtf8, generateIdempotencyToken, toBase64, dateToUtcString, quoteHeader } = require("@smithy/core/serde");
|
|
2
|
-
const {
|
|
3
|
-
const { HttpRequest, HttpResponse, isValidHostname } = require("@smithy/core/transport");
|
|
2
|
+
const { HttpRequest, HttpResponse, hasOwn, isValidHostname } = require("@smithy/core/transport");
|
|
4
3
|
const { parseQueryString, parseUrl } = require("@smithy/core/transport");
|
|
5
4
|
exports.HttpRequest = HttpRequest;
|
|
6
5
|
exports.HttpResponse = HttpResponse;
|
|
7
6
|
exports.isValidHostname = isValidHostname;
|
|
8
7
|
exports.parseQueryString = parseQueryString;
|
|
9
8
|
exports.parseUrl = parseUrl;
|
|
9
|
+
const { TypeRegistry, NormalizedSchema, translateTraits } = require("@smithy/core/schema");
|
|
10
10
|
const { FieldPosition } = require("@smithy/types");
|
|
11
11
|
|
|
12
12
|
const collectBody = async (streamBody = new Uint8Array(), context) => {
|
|
@@ -75,6 +75,8 @@ class HttpProtocol extends SerdeContext {
|
|
|
75
75
|
}
|
|
76
76
|
if (endpoint.headers) {
|
|
77
77
|
for (const name in endpoint.headers) {
|
|
78
|
+
if (!hasOwn(endpoint.headers, name))
|
|
79
|
+
continue;
|
|
78
80
|
request.headers[name] = endpoint.headers[name].join(", ");
|
|
79
81
|
}
|
|
80
82
|
}
|
|
@@ -90,6 +92,8 @@ class HttpProtocol extends SerdeContext {
|
|
|
90
92
|
};
|
|
91
93
|
if (endpoint.headers) {
|
|
92
94
|
for (const name in endpoint.headers) {
|
|
95
|
+
if (!hasOwn(endpoint.headers, name))
|
|
96
|
+
continue;
|
|
93
97
|
request.headers[name] = endpoint.headers[name];
|
|
94
98
|
}
|
|
95
99
|
}
|
|
@@ -269,6 +273,8 @@ class HttpBindingProtocol extends HttpProtocol {
|
|
|
269
273
|
}
|
|
270
274
|
else if (typeof memberTraits.httpPrefixHeaders === "string") {
|
|
271
275
|
for (const key in inputMemberValue) {
|
|
276
|
+
if (!hasOwn(inputMemberValue, key))
|
|
277
|
+
continue;
|
|
272
278
|
const val = inputMemberValue[key];
|
|
273
279
|
const amalgam = memberTraits.httpPrefixHeaders + key;
|
|
274
280
|
serializer.write([memberNs.getValueSchema(), { httpHeader: amalgam }], val);
|
|
@@ -315,6 +321,8 @@ class HttpBindingProtocol extends HttpProtocol {
|
|
|
315
321
|
const traits = ns.getMergedTraits();
|
|
316
322
|
if (traits.httpQueryParams) {
|
|
317
323
|
for (const key in data) {
|
|
324
|
+
if (!hasOwn(data, key))
|
|
325
|
+
continue;
|
|
318
326
|
if (!(key in query)) {
|
|
319
327
|
const val = data[key];
|
|
320
328
|
const valueSchema = ns.getValueSchema();
|
|
@@ -358,6 +366,8 @@ class HttpBindingProtocol extends HttpProtocol {
|
|
|
358
366
|
throw new Error("@smithy/core/protocols - HTTP Protocol error handler failed to throw.");
|
|
359
367
|
}
|
|
360
368
|
for (const header in response.headers) {
|
|
369
|
+
if (!hasOwn(response.headers, header))
|
|
370
|
+
continue;
|
|
361
371
|
const value = response.headers[header];
|
|
362
372
|
delete response.headers[header];
|
|
363
373
|
response.headers[header.toLowerCase()] = value;
|
|
@@ -445,6 +455,8 @@ class HttpBindingProtocol extends HttpProtocol {
|
|
|
445
455
|
else if (memberTraits.httpPrefixHeaders !== undefined) {
|
|
446
456
|
dataObject[memberName] = {};
|
|
447
457
|
for (const header in response.headers) {
|
|
458
|
+
if (!hasOwn(response.headers, header))
|
|
459
|
+
continue;
|
|
448
460
|
if (header.startsWith(memberTraits.httpPrefixHeaders)) {
|
|
449
461
|
const value = response.headers[header];
|
|
450
462
|
const valueSchema = memberSchema.getValueSchema();
|
|
@@ -494,10 +506,9 @@ class RpcProtocol extends HttpProtocol {
|
|
|
494
506
|
if (eventStreamMember) {
|
|
495
507
|
if (input[eventStreamMember]) {
|
|
496
508
|
const initialRequest = {};
|
|
497
|
-
for (const [memberName
|
|
498
|
-
if (memberName !== eventStreamMember && input[memberName]) {
|
|
499
|
-
|
|
500
|
-
initialRequest[memberName] = serializer.flush();
|
|
509
|
+
for (const [memberName] of ns.structIterator()) {
|
|
510
|
+
if (memberName !== eventStreamMember && input[memberName] != null) {
|
|
511
|
+
initialRequest[memberName] = input[memberName];
|
|
501
512
|
}
|
|
502
513
|
}
|
|
503
514
|
payload = await this.serializeEventStream({
|
|
@@ -531,6 +542,8 @@ class RpcProtocol extends HttpProtocol {
|
|
|
531
542
|
throw new Error("@smithy/core/protocols - RPC Protocol error handler failed to throw.");
|
|
532
543
|
}
|
|
533
544
|
for (const header in response.headers) {
|
|
545
|
+
if (!hasOwn(response.headers, header))
|
|
546
|
+
continue;
|
|
534
547
|
const value = response.headers[header];
|
|
535
548
|
delete response.headers[header];
|
|
536
549
|
response.headers[header.toLowerCase()] = value;
|
|
@@ -928,24 +941,27 @@ class Fields {
|
|
|
928
941
|
}
|
|
929
942
|
|
|
930
943
|
const getHttpHandlerExtensionConfiguration = (runtimeConfig) => {
|
|
944
|
+
if (runtimeConfig.logger && runtimeConfig.logger.constructor?.name !== "NoOpLogger") {
|
|
945
|
+
runtimeConfig.requestHandler?.updateHttpClientConfig?.(Symbol.for("logger"), runtimeConfig.logger);
|
|
946
|
+
}
|
|
931
947
|
return {
|
|
932
948
|
setHttpHandler(handler) {
|
|
933
|
-
runtimeConfig.
|
|
949
|
+
runtimeConfig.requestHandler = handler;
|
|
934
950
|
},
|
|
935
951
|
httpHandler() {
|
|
936
|
-
return runtimeConfig.
|
|
952
|
+
return runtimeConfig.requestHandler;
|
|
937
953
|
},
|
|
938
954
|
updateHttpClientConfig(key, value) {
|
|
939
|
-
runtimeConfig.
|
|
955
|
+
runtimeConfig.requestHandler?.updateHttpClientConfig(key, value);
|
|
940
956
|
},
|
|
941
957
|
httpHandlerConfigs() {
|
|
942
|
-
return runtimeConfig.
|
|
958
|
+
return runtimeConfig.requestHandler.httpHandlerConfigs();
|
|
943
959
|
},
|
|
944
960
|
};
|
|
945
961
|
};
|
|
946
962
|
const resolveHttpHandlerRuntimeConfig = (httpHandlerExtensionConfiguration) => {
|
|
947
963
|
return {
|
|
948
|
-
|
|
964
|
+
requestHandler: httpHandlerExtensionConfiguration.httpHandler(),
|
|
949
965
|
};
|
|
950
966
|
};
|
|
951
967
|
|
|
@@ -961,10 +977,12 @@ function contentLengthMiddleware(bodyLengthChecker) {
|
|
|
961
977
|
.indexOf(CONTENT_LENGTH_HEADER) === -1) {
|
|
962
978
|
try {
|
|
963
979
|
const length = bodyLengthChecker(body);
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
980
|
+
if (length != null) {
|
|
981
|
+
request.headers = {
|
|
982
|
+
...request.headers,
|
|
983
|
+
[CONTENT_LENGTH_HEADER]: String(length),
|
|
984
|
+
};
|
|
985
|
+
}
|
|
968
986
|
}
|
|
969
987
|
catch (ignored) {
|
|
970
988
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
const { NoOpLogger, normalizeProvider } = require("@smithy/core/client");
|
|
2
2
|
const { HttpResponse, HttpRequest } = require("@smithy/core/protocols");
|
|
3
3
|
const { parseRfc7231DateTime, v4 } = require("@smithy/core/serde");
|
|
4
|
+
const { hasOwn } = require("@smithy/core/transport");
|
|
4
5
|
|
|
5
6
|
const isStreamingPayload = (request) => request?.body instanceof ReadableStream;
|
|
6
7
|
|
|
@@ -92,7 +93,9 @@ function parseRetryAfterHeader(response, logger) {
|
|
|
92
93
|
if (!HttpResponse.isInstance(response)) {
|
|
93
94
|
return;
|
|
94
95
|
}
|
|
95
|
-
for (const header
|
|
96
|
+
for (const header in response.headers) {
|
|
97
|
+
if (!hasOwn(response.headers, header))
|
|
98
|
+
continue;
|
|
96
99
|
const h = header.toLowerCase();
|
|
97
100
|
if (h === "retry-after") {
|
|
98
101
|
const retryAfter = response.headers[header];
|
|
@@ -2,6 +2,7 @@ const { Readable } = require("node:stream");
|
|
|
2
2
|
const { NoOpLogger, normalizeProvider } = require("@smithy/core/client");
|
|
3
3
|
const { HttpResponse, HttpRequest } = require("@smithy/core/protocols");
|
|
4
4
|
const { parseRfc7231DateTime, v4 } = require("@smithy/core/serde");
|
|
5
|
+
const { hasOwn } = require("@smithy/core/transport");
|
|
5
6
|
|
|
6
7
|
const isStreamingPayload = (request) => request?.body instanceof Readable ||
|
|
7
8
|
(typeof ReadableStream !== "undefined" && request?.body instanceof ReadableStream);
|
|
@@ -94,7 +95,9 @@ function parseRetryAfterHeader(response, logger) {
|
|
|
94
95
|
if (!HttpResponse.isInstance(response)) {
|
|
95
96
|
return;
|
|
96
97
|
}
|
|
97
|
-
for (const header
|
|
98
|
+
for (const header in response.headers) {
|
|
99
|
+
if (!hasOwn(response.headers, header))
|
|
100
|
+
continue;
|
|
98
101
|
const h = header.toLowerCase();
|
|
99
102
|
if (h === "retry-after") {
|
|
100
103
|
const retryAfter = response.headers[header];
|
|
@@ -140,8 +140,6 @@ class Schema {
|
|
|
140
140
|
|
|
141
141
|
class ListSchema extends Schema {
|
|
142
142
|
static symbol = Symbol.for("@smithy/lis");
|
|
143
|
-
name;
|
|
144
|
-
traits;
|
|
145
143
|
valueSchema;
|
|
146
144
|
symbol = ListSchema.symbol;
|
|
147
145
|
}
|
|
@@ -154,8 +152,6 @@ const list = (namespace, name, traits, valueSchema) => Schema.assign(new ListSch
|
|
|
154
152
|
|
|
155
153
|
class MapSchema extends Schema {
|
|
156
154
|
static symbol = Symbol.for("@smithy/map");
|
|
157
|
-
name;
|
|
158
|
-
traits;
|
|
159
155
|
keySchema;
|
|
160
156
|
valueSchema;
|
|
161
157
|
symbol = MapSchema.symbol;
|
|
@@ -170,8 +166,6 @@ const map = (namespace, name, traits, keySchema, valueSchema) => Schema.assign(n
|
|
|
170
166
|
|
|
171
167
|
class OperationSchema extends Schema {
|
|
172
168
|
static symbol = Symbol.for("@smithy/ope");
|
|
173
|
-
name;
|
|
174
|
-
traits;
|
|
175
169
|
input;
|
|
176
170
|
output;
|
|
177
171
|
symbol = OperationSchema.symbol;
|
|
@@ -186,8 +180,6 @@ const op = (namespace, name, traits, input, output) => Schema.assign(new Operati
|
|
|
186
180
|
|
|
187
181
|
class StructureSchema extends Schema {
|
|
188
182
|
static symbol = Symbol.for("@smithy/str");
|
|
189
|
-
name;
|
|
190
|
-
traits;
|
|
191
183
|
memberNames;
|
|
192
184
|
memberList;
|
|
193
185
|
symbol = StructureSchema.symbol;
|
|
@@ -545,9 +537,7 @@ const isStaticSchema = (sc) => Array.isArray(sc) && sc.length >= 5;
|
|
|
545
537
|
|
|
546
538
|
class SimpleSchema extends Schema {
|
|
547
539
|
static symbol = Symbol.for("@smithy/sim");
|
|
548
|
-
name;
|
|
549
540
|
schemaRef;
|
|
550
|
-
traits;
|
|
551
541
|
symbol = SimpleSchema.symbol;
|
|
552
542
|
}
|
|
553
543
|
const sim = (namespace, name, schemaRef, traits) => Schema.assign(new SimpleSchema(), {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
const { HttpResponse } = require("@smithy/core/transport");
|
|
1
|
+
const { hasOwn, HttpResponse } = require("@smithy/core/transport");
|
|
2
|
+
exports.hasOwn = hasOwn;
|
|
2
3
|
const { toEndpointV1 } = require("@smithy/core/endpoints");
|
|
3
4
|
|
|
4
5
|
const chars = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`;
|
|
@@ -291,6 +292,8 @@ const expectUnion = (value) => {
|
|
|
291
292
|
const asObject = expectObject(value);
|
|
292
293
|
const setKeys = [];
|
|
293
294
|
for (const k in asObject) {
|
|
295
|
+
if (!hasOwn(asObject, k))
|
|
296
|
+
continue;
|
|
294
297
|
if (asObject[k] != null) {
|
|
295
298
|
setKeys.push(k);
|
|
296
299
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
const { createHmac, createHash, getRandomValues } = require("node:crypto");
|
|
2
|
+
const { hasOwn, HttpResponse } = require("@smithy/core/transport");
|
|
3
|
+
exports.hasOwn = hasOwn;
|
|
2
4
|
const { ReadStream, lstatSync, fstatSync } = require("node:fs");
|
|
3
|
-
const { HttpResponse } = require("@smithy/core/transport");
|
|
4
5
|
const { toEndpointV1 } = require("@smithy/core/endpoints");
|
|
5
6
|
const { Readable, Writable, PassThrough } = require("node:stream");
|
|
6
7
|
|
|
@@ -259,6 +260,8 @@ const expectUnion = (value) => {
|
|
|
259
260
|
const asObject = expectObject(value);
|
|
260
261
|
const setKeys = [];
|
|
261
262
|
for (const k in asObject) {
|
|
263
|
+
if (!hasOwn(asObject, k))
|
|
264
|
+
continue;
|
|
262
265
|
if (asObject[k] != null) {
|
|
263
266
|
setKeys.push(k);
|
|
264
267
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
const { HttpResponse } = require("@smithy/core/transport");
|
|
1
|
+
const { hasOwn, HttpResponse } = require("@smithy/core/transport");
|
|
2
|
+
exports.hasOwn = hasOwn;
|
|
2
3
|
const { toEndpointV1 } = require("@smithy/core/endpoints");
|
|
3
4
|
|
|
4
5
|
const chars = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`;
|
|
@@ -291,6 +292,8 @@ const expectUnion = (value) => {
|
|
|
291
292
|
const asObject = expectObject(value);
|
|
292
293
|
const setKeys = [];
|
|
293
294
|
for (const k in asObject) {
|
|
295
|
+
if (!hasOwn(asObject, k))
|
|
296
|
+
continue;
|
|
294
297
|
if (asObject[k] != null) {
|
|
295
298
|
setKeys.push(k);
|
|
296
299
|
}
|
|
@@ -2,6 +2,10 @@ const { SMITHY_CONTEXT_KEY } = require("@smithy/types");
|
|
|
2
2
|
|
|
3
3
|
const getSmithyContext = (context) => context[SMITHY_CONTEXT_KEY] || (context[SMITHY_CONTEXT_KEY] = {});
|
|
4
4
|
|
|
5
|
+
function hasOwn(o, k) {
|
|
6
|
+
return Object.prototype.hasOwnProperty.call(o, k);
|
|
7
|
+
}
|
|
8
|
+
|
|
5
9
|
class HttpRequest {
|
|
6
10
|
method;
|
|
7
11
|
protocol;
|
|
@@ -161,6 +165,8 @@ const toEndpointV1 = (endpoint) => {
|
|
|
161
165
|
if (endpoint.headers) {
|
|
162
166
|
v1Endpoint.headers = {};
|
|
163
167
|
for (const name in endpoint.headers) {
|
|
168
|
+
if (!hasOwn(endpoint.headers, name))
|
|
169
|
+
continue;
|
|
164
170
|
v1Endpoint.headers[name.toLowerCase()] = endpoint.headers[name].join(", ");
|
|
165
171
|
}
|
|
166
172
|
}
|
|
@@ -174,6 +180,7 @@ const toEndpointV1 = (endpoint) => {
|
|
|
174
180
|
exports.HttpRequest = HttpRequest;
|
|
175
181
|
exports.HttpResponse = HttpResponse;
|
|
176
182
|
exports.getSmithyContext = getSmithyContext;
|
|
183
|
+
exports.hasOwn = hasOwn;
|
|
177
184
|
exports.isValidHostLabel = isValidHostLabel;
|
|
178
185
|
exports.isValidHostname = isValidHostname;
|
|
179
186
|
exports.normalizeProvider = normalizeProvider;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { hasOwn } from "@smithy/core/transport";
|
|
1
2
|
export class DefaultIdentityProviderConfig {
|
|
2
3
|
authSchemes = new Map();
|
|
3
4
|
constructor(config) {
|
|
4
5
|
for (const key in config) {
|
|
6
|
+
if (!hasOwn(config, key))
|
|
7
|
+
continue;
|
|
5
8
|
const value = config[key];
|
|
6
9
|
if (value !== undefined) {
|
|
7
10
|
this.authSchemes.set(key, value);
|
|
@@ -32,10 +32,9 @@ export class SmithyRpcV2CborProtocol extends RpcProtocol {
|
|
|
32
32
|
this.serializer.write(15, {});
|
|
33
33
|
request.body = this.serializer.flush();
|
|
34
34
|
}
|
|
35
|
-
|
|
35
|
+
if (request.body instanceof Uint8Array) {
|
|
36
36
|
request.headers["content-length"] = String(request.body.byteLength);
|
|
37
37
|
}
|
|
38
|
-
catch (ignored) { }
|
|
39
38
|
}
|
|
40
39
|
const { service, operation } = getSmithyContext(context);
|
|
41
40
|
const path = `/service/${service}/operation/${operation}`;
|
|
@@ -271,23 +271,39 @@ function decodeTagValue(at, to, minor, unsignedInt, offset) {
|
|
|
271
271
|
}
|
|
272
272
|
else if (minor === 4) {
|
|
273
273
|
const decimalFraction = decode(at + offset, to);
|
|
274
|
-
const [
|
|
274
|
+
const [rawExponent, mantissa] = decimalFraction;
|
|
275
275
|
const normalizer = mantissa < 0 ? -1 : 1;
|
|
276
|
-
const
|
|
277
|
-
|
|
276
|
+
const absMantissa = BigInt(normalizer) * BigInt(mantissa);
|
|
277
|
+
const mantissaDigits = String(absMantissa);
|
|
278
278
|
const sign = mantissa < 0 ? "-" : "";
|
|
279
|
-
numericString
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
279
|
+
let numericString;
|
|
280
|
+
const isSmallExponent = typeof rawExponent === "number" && Math.abs(rawExponent) <= 2 ** 28;
|
|
281
|
+
if (isSmallExponent) {
|
|
282
|
+
const exponent = rawExponent;
|
|
283
|
+
const mantissaStr = "0".repeat(Math.abs(exponent) + 1) + mantissaDigits;
|
|
284
|
+
numericString =
|
|
285
|
+
exponent === 0
|
|
286
|
+
? mantissaStr
|
|
287
|
+
: mantissaStr.slice(0, mantissaStr.length + exponent) + "." + mantissaStr.slice(exponent);
|
|
288
|
+
numericString = numericString.replace(/^0+/g, "");
|
|
289
|
+
if (numericString === "") {
|
|
290
|
+
numericString = "0";
|
|
291
|
+
}
|
|
292
|
+
if (numericString[0] === ".") {
|
|
293
|
+
numericString = "0" + numericString;
|
|
294
|
+
}
|
|
295
|
+
numericString = sign + numericString;
|
|
286
296
|
}
|
|
287
|
-
|
|
288
|
-
|
|
297
|
+
else {
|
|
298
|
+
const bigExponent = BigInt(rawExponent);
|
|
299
|
+
if (mantissaDigits.length === 1) {
|
|
300
|
+
numericString = sign + mantissaDigits + "e" + String(bigExponent);
|
|
301
|
+
}
|
|
302
|
+
else {
|
|
303
|
+
const adjustedExp = bigExponent + BigInt(mantissaDigits.length - 1);
|
|
304
|
+
numericString = sign + mantissaDigits[0] + "." + mantissaDigits.slice(1) + "e" + String(adjustedExp);
|
|
305
|
+
}
|
|
289
306
|
}
|
|
290
|
-
numericString = sign + numericString;
|
|
291
307
|
_offset = offset + _offset;
|
|
292
308
|
return nv(numericString);
|
|
293
309
|
}
|
|
@@ -155,13 +155,21 @@ export function encode(_input) {
|
|
|
155
155
|
}
|
|
156
156
|
else if (typeof input === "object") {
|
|
157
157
|
if (input instanceof NumericValue) {
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
const
|
|
158
|
+
let str = input.string;
|
|
159
|
+
let expOffset = BigInt(0);
|
|
160
|
+
const eIndex = str.search(/[eE]/);
|
|
161
|
+
if (eIndex !== -1) {
|
|
162
|
+
expOffset = BigInt(str.slice(eIndex + 1));
|
|
163
|
+
str = str.slice(0, eIndex);
|
|
164
|
+
}
|
|
165
|
+
const decimalIndex = str.indexOf(".");
|
|
166
|
+
const fractionDigits = decimalIndex === -1 ? 0 : str.length - decimalIndex - 1;
|
|
167
|
+
const exponent = expOffset - BigInt(fractionDigits);
|
|
168
|
+
const mantissa = BigInt(str.replace(".", ""));
|
|
161
169
|
data[cursor++] = 0b110_00100;
|
|
162
170
|
encodeInteger(majorList, 2);
|
|
163
171
|
encodeStack.push(mantissa);
|
|
164
|
-
encodeStack.push(exponent);
|
|
172
|
+
encodeStack.push(exponent >= -0x20000000000000n && exponent <= 0x1fffffffffffffn ? Number(exponent) : exponent);
|
|
165
173
|
continue;
|
|
166
174
|
}
|
|
167
175
|
if (input[tagSymbol]) {
|