lambda-live-debugger 1.12.6 → 1.12.8
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/dist/extension/extension.zip +0 -0
- package/dist/extension/nodejs/node_modules/interceptor.js +4641 -2878
- package/dist/extension/nodejs/node_modules/interceptor.js.map +4 -4
- package/node_modules/@aws-sdk/checksums/README.md +80 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/index.d.ts +1 -5
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/crc/index.browser.d.ts +1 -4
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS.d.ts +2 -4
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.d.ts +2 -4
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/configuration.d.ts +1 -4
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/flexibleChecksumsInputMiddleware.d.ts +1 -1
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/flexibleChecksumsMiddleware.d.ts +1 -1
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/flexibleChecksumsResponseMiddleware.d.ts +2 -5
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/getChecksum.d.ts +1 -1
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/getChecksumAlgorithmForRequest.d.ts +1 -1
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/getChecksumAlgorithmListForResponse.d.ts +1 -1
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/getChecksumLocationName.d.ts +1 -3
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/getFlexibleChecksumsPlugin.d.ts +3 -2
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/hasHeaderWithPrefix.d.ts +1 -4
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/resolveFlexibleChecksumsConfig.d.ts +4 -11
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/selectChecksumAlgorithmFunction.d.ts +1 -1
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/stringHasher.d.ts +1 -1
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/stringUnionSelector.d.ts +1 -1
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/validateChecksumFromResponse.d.ts +1 -1
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/sha/index.browser.d.ts +1 -6
- package/node_modules/@aws-sdk/checksums/package.json +64 -61
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/enums.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeChangeSetCommand.d.ts +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/models/enums.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +7 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +40 -38
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +36 -34
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +38 -36
- 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/CloudFormation.d.ts +316 -365
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +16 -56
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ActivateOrganizationsAccessCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ActivateTypeCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/BatchDescribeTypeConfigurationsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CancelUpdateStackCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ContinueUpdateRollbackCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CreateChangeSetCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CreateGeneratedTemplateCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CreateStackCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CreateStackInstancesCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CreateStackRefactorCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CreateStackSetCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeactivateOrganizationsAccessCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeactivateTypeCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeleteChangeSetCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeleteGeneratedTemplateCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeleteStackCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeleteStackInstancesCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeleteStackSetCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeregisterTypeCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeChangeSetCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeChangeSetHooksCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeGeneratedTemplateCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeOrganizationsAccessCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribePublisherCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeResourceScanCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackDriftDetectionStatusCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackEventsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackInstanceCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackRefactorCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackResourceCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackResourceDriftsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackResourcesCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackSetCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackSetOperationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStacksCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeTypeCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeTypeRegistrationCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DetectStackDriftCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DetectStackResourceDriftCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DetectStackSetDriftCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/EstimateTemplateCostCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ExecuteChangeSetCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ExecuteStackRefactorCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/GetGeneratedTemplateCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/GetHookResultCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/GetStackPolicyCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/GetTemplateCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/GetTemplateSummaryCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ImportStacksToStackSetCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListChangeSetsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListExportsCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListGeneratedTemplatesCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListHookResultsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListImportsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListResourceScanRelatedResourcesCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListResourceScanResourcesCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListResourceScansCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackInstanceResourceDriftsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackInstancesCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackRefactorActionsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackRefactorsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackResourcesCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetAutoDeploymentTargetsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetOperationResultsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetOperationsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetsCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStacksCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListTypeRegistrationsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListTypeVersionsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListTypesCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/PublishTypeCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/RecordHandlerProgressCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/RegisterPublisherCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/RegisterTypeCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/RollbackStackCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/SetStackPolicyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/SetTypeConfigurationCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/SetTypeDefaultVersionCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/SignalResourceCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/StartResourceScanCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/StopStackSetOperationCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/TestTypeCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateGeneratedTemplateCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateStackCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateStackInstancesCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateStackSetCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateTerminationProtectionCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ValidateTemplateCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- 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/models/enums.d.ts +45 -88
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/errors.d.ts +29 -115
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +2 -6
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +1 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +1 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListStacksPaginator.d.ts +1 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListTypesPaginator.d.ts +1 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +59 -72
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +61 -67
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +63 -76
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForChangeSetCreateComplete.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForStackCreateComplete.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForStackDeleteComplete.d.ts +4 -8
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForStackExists.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForStackImportComplete.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForStackRefactorCreateComplete.d.ts +3 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForStackRefactorExecuteComplete.d.ts +3 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForStackRollbackComplete.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForStackUpdateComplete.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForTypeRegistrationComplete.d.ts +3 -7
- package/node_modules/@aws-sdk/client-cloudformation/package.json +41 -41
- package/node_modules/@aws-sdk/client-iam/README.md +28 -0
- package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +435 -95
- 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/endpoint/bdd.js +94 -62
- 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 +26 -2
- 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 +215 -15
- 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/GetContextKeysForPrincipalPolicyCommand.d.ts +4 -1
- 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/SimulateCustomPolicyCommand.d.ts +11 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +19 -3
- 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/UpdateDelegationRequestCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateLoginProfileCommand.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 +59 -3
- 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 +715 -621
- package/node_modules/@aws-sdk/client-iam/dist-types/models/models_1.d.ts +444 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.browser.d.ts +41 -39
- package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.d.ts +36 -34
- package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.native.d.ts +38 -36
- 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 +25 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAM.d.ts +654 -777
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAMClient.d.ts +56 -108
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +10 -13
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commandBuilder.d.ts +8 -18
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AcceptDelegationRequestCommand.d.ts +4 -6
- 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/AddClientIDToOpenIDConnectProviderCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AddRoleToInstanceProfileCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AddUserToGroupCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AssociateDelegationRequestCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AttachGroupPolicyCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AttachRolePolicyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AttachUserPolicyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ChangePasswordCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateAccessKeyCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateAccountAliasCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateDelegationRequestCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateInstanceProfileCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateLoginProfileCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateOpenIDConnectProviderCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreatePolicyVersionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateRoleCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateSAMLProviderCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateServiceLinkedRoleCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateServiceSpecificCredentialCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateUserCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateVirtualMFADeviceCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeactivateMFADeviceCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteAccessKeyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteAccountAliasCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteAccountPasswordPolicyCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteGroupPolicyCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteInstanceProfileCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteLoginProfileCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteOpenIDConnectProviderCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeletePolicyVersionCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteRoleCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteRolePermissionsBoundaryCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteRolePolicyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteSAMLProviderCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteSSHPublicKeyCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteServerCertificateCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteServiceLinkedRoleCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteServiceSpecificCredentialCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteSigningCertificateCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteUserPermissionsBoundaryCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteUserPolicyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteVirtualMFADeviceCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DetachGroupPolicyCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DetachRolePolicyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DetachUserPolicyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DisableOrganizationsRootCredentialsManagementCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DisableOrganizationsRootSessionsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DisableOutboundWebIdentityFederationCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/EnableMFADeviceCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/EnableOrganizationsRootCredentialsManagementCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/EnableOrganizationsRootSessionsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/EnableOutboundWebIdentityFederationCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GenerateCredentialReportCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GenerateOrganizationsAccessReportCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetAccessKeyLastUsedCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetAccountAuthorizationDetailsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetAccountPasswordPolicyCommand.d.ts +2 -3
- 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/GetAccountSummaryCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetContextKeysForCustomPolicyCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetCredentialReportCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetDelegationRequestCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetGroupCommand.d.ts +7 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetGroupPolicyCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetHumanReadableSummaryCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetInstanceProfileCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetLoginProfileCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetMFADeviceCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetOpenIDConnectProviderCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetOrganizationsAccessReportCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetOutboundWebIdentityFederationInfoCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +7 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetPolicyVersionCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetRoleCommand.d.ts +7 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetRolePolicyCommand.d.ts +4 -9
- 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/GetSAMLProviderCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetSSHPublicKeyCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetServerCertificateCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetServiceLastAccessedDetailsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetUserCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetUserPolicyCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListAccessKeysCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListAccountAliasesCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListAttachedGroupPoliciesCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListAttachedRolePoliciesCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListAttachedUserPoliciesCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListDelegationRequestsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListEntitiesForPolicyCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListGroupPoliciesCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListGroupsForUserCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListInstanceProfileTagsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListInstanceProfilesCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListInstanceProfilesForRoleCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListMFADeviceTagsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListMFADevicesCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListOpenIDConnectProviderTagsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListOpenIDConnectProvidersCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListOrganizationsFeaturesCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListPolicyTagsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListPolicyVersionsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListRolePoliciesCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListRoleTagsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListRolesCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListSAMLProviderTagsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListSAMLProvidersCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListSSHPublicKeysCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListServerCertificateTagsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListServerCertificatesCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListServiceSpecificCredentialsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListSigningCertificatesCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListUserPoliciesCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListUserTagsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListUsersCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListVirtualMFADevicesCommand.d.ts +4 -9
- 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/PutGroupPolicyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutRolePermissionsBoundaryCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutRolePolicyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutUserPermissionsBoundaryCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutUserPolicyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RejectDelegationRequestCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RemoveRoleFromInstanceProfileCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RemoveUserFromGroupCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ResetServiceSpecificCredentialCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ResyncMFADeviceCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SendDelegationTokenCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SetDefaultPolicyVersionCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SetSecurityTokenServicePreferencesCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SimulateCustomPolicyCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SimulatePrincipalPolicyCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagInstanceProfileCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagMFADeviceCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagOpenIDConnectProviderCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagPolicyCommand.d.ts +6 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagRoleCommand.d.ts +6 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagSAMLProviderCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagServerCertificateCommand.d.ts +4 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagUserCommand.d.ts +7 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagInstanceProfileCommand.d.ts +4 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagMFADeviceCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagOpenIDConnectProviderCommand.d.ts +5 -7
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagPolicyCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagRoleCommand.d.ts +7 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagSAMLProviderCommand.d.ts +4 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagServerCertificateCommand.d.ts +4 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagUserCommand.d.ts +7 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAccessKeyCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAccountPasswordPolicyCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAssumeRolePolicyCommand.d.ts +4 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateDelegationRequestCommand.d.ts +5 -7
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateLoginProfileCommand.d.ts +4 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateRoleCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateRoleDescriptionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateSAMLProviderCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateSSHPublicKeyCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateServerCertificateCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateServiceSpecificCredentialCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateSigningCertificateCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UploadSSHPublicKeyCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UploadServerCertificateCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UploadSigningCertificateCommand.d.ts +4 -6
- 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/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- 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 +42 -22
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/errors.d.ts +56 -149
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_0.d.ts +154 -118
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_1.d.ts +79 -7
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/pagination/GetGroupPaginator.d.ts +1 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/pagination/ListGroupsPaginator.d.ts +1 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/pagination/ListRolesPaginator.d.ts +1 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +1 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.browser.d.ts +60 -73
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.d.ts +62 -68
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.native.d.ts +64 -77
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/schemas/schemas_0.d.ts +25 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/waiters/waitForInstanceProfileExists.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/waiters/waitForPolicyExists.d.ts +3 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/waiters/waitForRoleExists.d.ts +3 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/waiters/waitForUserExists.d.ts +3 -6
- package/node_modules/@aws-sdk/client-iam/package.json +42 -42
- package/node_modules/@aws-sdk/client-iot/dist-cjs/index.js +71 -9
- package/node_modules/@aws-sdk/client-iot/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-iot/dist-es/models/enums.js +14 -0
- package/node_modules/@aws-sdk/client-iot/dist-es/schemas/schemas_0.js +49 -8
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/AttachSecurityProfileCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/CancelDetectMitigationActionsTaskCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/CreateCustomMetricCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/CreateDimensionCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/CreateSecurityProfileCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/CreateTopicRuleCommand.d.ts +34 -0
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/CreateTopicRuleDestinationCommand.d.ts +14 -0
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/DeleteCustomMetricCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/DeleteDimensionCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/DeleteSecurityProfileCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/DeleteTopicRuleDestinationCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/DeleteV2LoggingLevelCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/DeprecateThingTypeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/DescribeCustomMetricCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/DescribeDetectMitigationActionsTaskCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/DescribeDimensionCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/DescribeSecurityProfileCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/DetachSecurityProfileCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/GetBehaviorModelTrainingSummariesCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/GetTopicRuleCommand.d.ts +34 -0
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/GetTopicRuleDestinationCommand.d.ts +7 -0
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListActiveViolationsCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListCustomMetricsCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListDetectMitigationActionsExecutionsCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListDetectMitigationActionsTasksCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListDimensionsCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListSecurityProfilesCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListSecurityProfilesForTargetCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListStreamsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListTargetsForPolicyCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListTargetsForSecurityProfileCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListTopicRuleDestinationsCommand.d.ts +7 -0
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListViolationEventsCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/PutVerificationStateOnViolationCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ReplaceTopicRuleCommand.d.ts +34 -0
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/StartDetectMitigationActionsTaskCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/UpdateCustomMetricCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/UpdateDimensionCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/UpdateSecurityProfileCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ValidateSecurityProfileBehaviorsCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/models/enums.d.ts +38 -0
- package/node_modules/@aws-sdk/client-iot/dist-types/models/models_0.d.ts +195 -45
- package/node_modules/@aws-sdk/client-iot/dist-types/models/models_1.d.ts +46 -69
- package/node_modules/@aws-sdk/client-iot/dist-types/models/models_2.d.ts +112 -2
- package/node_modules/@aws-sdk/client-iot/dist-types/runtimeConfig.browser.d.ts +41 -39
- package/node_modules/@aws-sdk/client-iot/dist-types/runtimeConfig.d.ts +36 -34
- package/node_modules/@aws-sdk/client-iot/dist-types/runtimeConfig.native.d.ts +38 -36
- package/node_modules/@aws-sdk/client-iot/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iot/dist-types/schemas/schemas_0.d.ts +5 -0
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/IoT.d.ts +897 -1023
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/IoTClient.d.ts +30 -88
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +10 -13
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commandBuilder.d.ts +8 -18
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/AcceptCertificateTransferCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/AddThingToBillingGroupCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/AddThingToThingGroupCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/AssociateSbomWithPackageVersionCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/AssociateTargetsWithJobCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/AttachPolicyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/AttachPrincipalPolicyCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/AttachSecurityProfileCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/AttachThingPrincipalCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CancelAuditMitigationActionsTaskCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CancelAuditTaskCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CancelCertificateTransferCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CancelDetectMitigationActionsTaskCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CancelJobCommand.d.ts +7 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CancelJobExecutionCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ClearDefaultAuthorizerCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ConfirmTopicRuleDestinationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreateAuditSuppressionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreateAuthorizerCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreateBillingGroupCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreateCertificateFromCsrCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreateCertificateProviderCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreateCommandCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreateCustomMetricCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreateDimensionCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreateDomainConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreateDynamicThingGroupCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreateFleetMetricCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreateJobCommand.d.ts +7 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreateJobTemplateCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreateKeysAndCertificateCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreateMitigationActionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreateOTAUpdateCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreatePackageCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreatePackageVersionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreatePolicyVersionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreateProvisioningClaimCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreateProvisioningTemplateCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreateProvisioningTemplateVersionCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreateRoleAliasCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreateScheduledAuditCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreateSecurityProfileCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreateStreamCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreateThingCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreateThingGroupCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreateThingTypeCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreateTopicRuleCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/CreateTopicRuleDestinationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteAccountAuditConfigurationCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteAuditSuppressionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteAuthorizerCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteBillingGroupCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteCACertificateCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteCertificateCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteCertificateProviderCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteCommandCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteCommandExecutionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteCustomMetricCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteDimensionCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteDomainConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteDynamicThingGroupCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteFleetMetricCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteJobCommand.d.ts +6 -2
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteJobExecutionCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteJobTemplateCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteMitigationActionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteOTAUpdateCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeletePackageCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeletePackageVersionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeletePolicyVersionCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteProvisioningTemplateCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteProvisioningTemplateVersionCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteRegistrationCodeCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteRoleAliasCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteScheduledAuditCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteSecurityProfileCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteStreamCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteThingCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteThingGroupCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteThingTypeCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteTopicRuleCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteTopicRuleDestinationCommand.d.ts +6 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteV2LoggingLevelCommand.d.ts +4 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeprecateThingTypeCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeAccountAuditConfigurationCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeAuditFindingCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeAuditMitigationActionsTaskCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeAuditSuppressionCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeAuditTaskCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeAuthorizerCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeBillingGroupCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeCACertificateCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeCertificateCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeCertificateProviderCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeCustomMetricCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeDefaultAuthorizerCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeDetectMitigationActionsTaskCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeDimensionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeDomainConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeEncryptionConfigurationCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeEventConfigurationsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeFleetMetricCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeIndexCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeJobCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeJobExecutionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeJobTemplateCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeManagedJobTemplateCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeMitigationActionCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeProvisioningTemplateCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeProvisioningTemplateVersionCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeRoleAliasCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeScheduledAuditCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeSecurityProfileCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeStreamCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeThingCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeThingGroupCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeThingRegistrationTaskCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DescribeThingTypeCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DetachPolicyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DetachPrincipalPolicyCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DetachSecurityProfileCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DetachThingPrincipalCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DisableTopicRuleCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DisassociateSbomFromPackageVersionCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/EnableTopicRuleCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/GetBehaviorModelTrainingSummariesCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/GetBucketsAggregationCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/GetCardinalityCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/GetCommandCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/GetCommandExecutionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/GetEffectivePoliciesCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/GetIndexingConfigurationCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/GetJobDocumentCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/GetLoggingOptionsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/GetOTAUpdateCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/GetPackageCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/GetPackageConfigurationCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/GetPackageVersionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/GetPercentilesCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +7 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/GetPolicyVersionCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/GetRegistrationCodeCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/GetStatisticsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/GetThingConnectivityDataCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/GetTopicRuleCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/GetTopicRuleDestinationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/GetV2LoggingOptionsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListActiveViolationsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListAttachedPoliciesCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListAuditFindingsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListAuditMitigationActionsExecutionsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListAuditMitigationActionsTasksCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListAuditSuppressionsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListAuditTasksCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListAuthorizersCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListBillingGroupsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListCACertificatesCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListCertificateProvidersCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListCertificatesByCACommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListCertificatesCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListCommandExecutionsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListCommandsCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListCustomMetricsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListDetectMitigationActionsExecutionsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListDetectMitigationActionsTasksCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListDimensionsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListDomainConfigurationsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListFleetMetricsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListIndicesCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListJobExecutionsForJobCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListJobExecutionsForThingCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListJobTemplatesCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListJobsCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListManagedJobTemplatesCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListMetricValuesCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListMitigationActionsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListOTAUpdatesCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListOutgoingCertificatesCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListPackageVersionsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListPackagesCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListPolicyPrincipalsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListPolicyVersionsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListPrincipalPoliciesCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListPrincipalThingsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListPrincipalThingsV2Command.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListProvisioningTemplateVersionsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListProvisioningTemplatesCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListRelatedResourcesForAuditFindingCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListRoleAliasesCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListSbomValidationResultsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListScheduledAuditsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListSecurityProfilesCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListSecurityProfilesForTargetCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +4 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListTargetsForPolicyCommand.d.ts +5 -8
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListTargetsForSecurityProfileCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListThingGroupsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListThingGroupsForThingCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListThingPrincipalsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListThingPrincipalsV2Command.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListThingRegistrationTaskReportsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListThingRegistrationTasksCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListThingTypesCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListThingsCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListThingsInBillingGroupCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListThingsInThingGroupCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListTopicRuleDestinationsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListTopicRulesCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListV2LoggingLevelsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListViolationEventsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/PutVerificationStateOnViolationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/RegisterCACertificateCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/RegisterCertificateCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/RegisterCertificateWithoutCACommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/RegisterThingCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/RejectCertificateTransferCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/RemoveThingFromBillingGroupCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/RemoveThingFromThingGroupCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ReplaceTopicRuleCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/SearchIndexCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/SetDefaultAuthorizerCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/SetDefaultPolicyVersionCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/SetLoggingOptionsCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/SetV2LoggingLevelCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/SetV2LoggingOptionsCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/StartAuditMitigationActionsTaskCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/StartDetectMitigationActionsTaskCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/StartOnDemandAuditTaskCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/StartThingRegistrationTaskCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/StopThingRegistrationTaskCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/TestAuthorizationCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/TestInvokeAuthorizerCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/TransferCertificateCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdateAccountAuditConfigurationCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdateAuditSuppressionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdateAuthorizerCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdateBillingGroupCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdateCACertificateCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdateCertificateCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdateCertificateProviderCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdateCommandCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdateCustomMetricCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdateDimensionCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdateDomainConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdateDynamicThingGroupCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdateEncryptionConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdateEventConfigurationsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdateFleetMetricCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdateIndexingConfigurationCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdateJobCommand.d.ts +6 -2
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdateMitigationActionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdatePackageCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdatePackageConfigurationCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdatePackageVersionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdateProvisioningTemplateCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdateRoleAliasCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdateScheduledAuditCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdateSecurityProfileCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdateStreamCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdateThingCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdateThingGroupCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdateThingGroupsForThingCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdateThingTypeCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/UpdateTopicRuleDestinationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ValidateSecurityProfileBehaviorsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/models/enums.d.ts +57 -78
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/models/errors.d.ts +30 -105
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/models/models_0.d.ts +38 -17
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/models/models_1.d.ts +12 -21
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/models/models_2.d.ts +29 -3
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/pagination/ListIndicesPaginator.d.ts +1 -4
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/pagination/ListJobsPaginator.d.ts +1 -4
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/pagination/ListStreamsPaginator.d.ts +1 -4
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/pagination/ListThingsPaginator.d.ts +1 -4
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/runtimeConfig.browser.d.ts +60 -73
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/runtimeConfig.d.ts +62 -68
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/runtimeConfig.native.d.ts +64 -77
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
- package/node_modules/@aws-sdk/client-iot/package.json +41 -41
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/runtimeConfig.browser.d.ts +41 -39
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/runtimeConfig.d.ts +36 -34
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/runtimeConfig.native.d.ts +38 -36
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/IoTDataPlane.d.ts +37 -48
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/IoTDataPlaneClient.d.ts +7 -20
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/commands/DeleteThingShadowCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/commands/GetConnectionCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/commands/GetRetainedMessageCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/commands/GetThingShadowCommand.d.ts +4 -8
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/commands/ListNamedShadowsForThingCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/commands/ListRetainedMessagesCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/commands/PublishCommand.d.ts +7 -6
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/commands/SendDirectMessageCommand.d.ts +6 -14
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/commands/UpdateThingShadowCommand.d.ts +6 -14
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/models/errors.d.ts +10 -33
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/runtimeConfig.browser.d.ts +60 -73
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/runtimeConfig.d.ts +62 -68
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/runtimeConfig.native.d.ts +64 -77
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/node_modules/@aws-sdk/client-iot-data-plane/package.json +41 -41
- package/node_modules/@aws-sdk/client-lambda/README.md +21 -0
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +126 -39
- 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/models/enums.js +48 -36
- package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +52 -2
- 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/CreateFunctionCommand.d.ts +10 -4
- 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/GetFunctionCommand.d.ts +6 -3
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionConfigurationCommand.d.ts +6 -3
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetLayerVersionByArnCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetLayerVersionCommand.d.ts +1 -1
- 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/ListFunctionsCommand.d.ts +6 -3
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListLayerVersionsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListLayersCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListVersionsByFunctionCommand.d.ts +6 -3
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PublishLayerVersionCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PublishVersionCommand.d.ts +6 -3
- 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/UpdateFunctionCodeCommand.d.ts +6 -3
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +10 -4
- 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/enums.d.ts +75 -55
- 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 +2371 -2280
- package/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.browser.d.ts +41 -39
- package/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.d.ts +36 -34
- package/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.native.d.ts +39 -37
- 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 +9 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/Lambda.d.ts +340 -391
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/LambdaClient.d.ts +46 -74
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commandBuilder.d.ts +8 -18
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/AddLayerVersionPermissionCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CheckpointDurableExecutionCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateCodeSigningConfigCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateEventSourceMappingCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateFunctionUrlConfigCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteCodeSigningConfigCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteEventSourceMappingCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionConcurrencyCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionUrlConfigCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteLayerVersionCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +4 -6
- 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/GetAccountSettingsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetAliasCommand.d.ts +7 -5
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetCapacityProviderCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetCodeSigningConfigCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetDurableExecutionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetDurableExecutionHistoryCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetDurableExecutionStateCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetEventSourceMappingCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionCodeSigningConfigCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionConcurrencyCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionConfigurationCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionEventInvokeConfigCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionRecursionConfigCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionScalingConfigCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionUrlConfigCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetLayerVersionByArnCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetLayerVersionCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetLayerVersionPolicyCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +7 -5
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -6
- 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/GetRuntimeManagementConfigCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/InvokeAsyncCommand.d.ts +8 -14
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/InvokeCommand.d.ts +8 -9
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/InvokeWithResponseStreamCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListCapacityProvidersCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListCodeSigningConfigsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListDurableExecutionsByFunctionCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListEventSourceMappingsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListFunctionEventInvokeConfigsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListFunctionUrlConfigsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListFunctionVersionsByCapacityProviderCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListLayerVersionsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListLayersCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListTagsCommand.d.ts +7 -5
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListVersionsByFunctionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PublishLayerVersionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PublishVersionCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutFunctionCodeSigningConfigCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutFunctionConcurrencyCommand.d.ts +4 -7
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutFunctionEventInvokeConfigCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutFunctionRecursionConfigCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutFunctionScalingConfigCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutProvisionedConcurrencyConfigCommand.d.ts +4 -6
- 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/PutRuntimeManagementConfigCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/RemoveLayerVersionPermissionCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/SendDurableExecutionCallbackFailureCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/SendDurableExecutionCallbackHeartbeatCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/SendDurableExecutionCallbackSuccessCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/StopDurableExecutionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateCodeSigningConfigCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateEventSourceMappingCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateFunctionCodeCommand.d.ts +5 -11
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateFunctionConfigurationCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateFunctionUrlConfigCommand.d.ts +4 -6
- 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/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- 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/enums.d.ts +70 -77
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/errors.d.ts +53 -190
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +292 -283
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +1 -4
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListLayersPaginator.d.ts +1 -4
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.browser.d.ts +61 -74
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.d.ts +63 -69
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.native.d.ts +65 -78
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionActive.d.ts +3 -5
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionActiveV2.d.ts +3 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionExists.d.ts +3 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionUpdated.d.ts +3 -5
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionUpdatedV2.d.ts +3 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForPublishedVersionActive.d.ts +3 -5
- package/node_modules/@aws-sdk/client-lambda/package.json +42 -42
- package/node_modules/@aws-sdk/client-s3/README.md +17 -1
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +6 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/models/enums.js +5 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +17 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +17 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAnnotationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAnnotationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateObjectEncryptionCommand.d.ts +0 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +18 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/models/enums.d.ts +5 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +6 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +58 -56
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +61 -59
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +57 -55
- 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/S3.d.ts +354 -501
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +25 -59
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -16
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commandBuilder.d.ts +21 -31
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectAnnotationCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAbacCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +5 -11
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataTableConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAnnotationCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +8 -8
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +6 -14
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectAnnotationsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts +7 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAbacCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAnnotationCommand.d.ts +9 -17
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts +12 -11
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataAnnotationTableConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateObjectEncryptionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts +8 -11
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +7 -11
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -13
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- 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/models/enums.d.ts +37 -64
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/errors.d.ts +10 -30
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +12 -36
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +2 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListBucketsPaginator.d.ts +1 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts +1 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -122
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +106 -122
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -126
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketExists.d.ts +3 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts +3 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectExists.d.ts +3 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts +3 -6
- package/node_modules/@aws-sdk/client-s3/package.json +46 -46
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +67 -29
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +1441 -406
- 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 +2 -1
- 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/index.js +8 -5
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +2 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/{JsonCodec.js → codec-v1/JsonCodec.js} +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/{JsonShapeDeserializer.js → codec-v1/JsonShapeDeserializer.js} +15 -6
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/{JsonShapeSerializer.js → codec-v1/JsonShapeSerializer.js} +18 -5
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.js +103 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonCodec2.js +20 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js +200 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js +519 -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/jsonReviver.js +108 -5
- 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 +6 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +4 -4
- 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/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/index.d.ts +9 -6
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +3 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +3 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +4 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +5 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonSettings.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/{JsonCodec.d.ts → codec-v1/JsonCodec.d.ts} +4 -8
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v1/JsonSettings.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/{JsonShapeDeserializer.d.ts → codec-v1/JsonShapeDeserializer.d.ts} +3 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/{JsonShapeSerializer.d.ts → codec-v1/JsonShapeSerializer.d.ts} +3 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +51 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +13 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +30 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +60 -0
- 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/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/index.d.ts +1 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +2 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +1 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +2 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.browser.d.ts +3 -12
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +4 -16
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.native.d.ts +3 -12
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/longPollMiddleware.d.ts +2 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-host-header/hostHeaderMiddleware.d.ts +5 -9
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-logger/loggerMiddleware.d.ts +3 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/configuration.d.ts +1 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/getRecursionDetectionPlugin.browser.d.ts +1 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/getRecursionDetectionPlugin.d.ts +1 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.browser.d.ts +1 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.d.ts +1 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.native.d.ts +1 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/check-features.d.ts +2 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/configurations.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/user-agent-middleware.d.ts +4 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/extensions.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/stsRegionDefaultResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setCredentialFeature.d.ts +3 -8
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setFeature.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setTokenFeature.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/isVirtualHostableS3Bucket.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partition.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-endpoints/resolveDefaultAwsRegionalEndpointsConfig.d.ts +3 -9
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/RuleSetObject.d.ts +1 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/createUserAgentStringParsingProvider.d.ts +1 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +2 -9
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +2 -9
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +2 -9
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/nodeAppIdConfigOptions.d.ts +1 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +2 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +6 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +1 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +2 -8
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +3 -8
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +13 -21
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.browser.d.ts +32 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.d.ts +10 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getDateHeader.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +3 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/index.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/isClockSkewed.d.ts +1 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +6 -19
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/common.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +10 -11
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +3 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +3 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +6 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +8 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonSettings.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/awsExpectUnion.d.ts +1 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/{JsonCodec.d.ts → codec-v1/JsonCodec.d.ts} +4 -9
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonSettings.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/{JsonShapeDeserializer.d.ts → codec-v1/JsonShapeDeserializer.d.ts} +2 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/{JsonShapeSerializer.d.ts → codec-v1/JsonShapeSerializer.d.ts} +3 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +27 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +9 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +15 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +39 -0
- 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/jsonReviver.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts +2 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +9 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +4 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/writeKey.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +3 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/parseXmlBody.d.ts +3 -12
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/util-format-url/format-url.d.ts +1 -1
- package/node_modules/@aws-sdk/core/package.json +71 -63
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/CognitoProviderParameters.d.ts +1 -4
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/fromCognitoIdentity.d.ts +3 -7
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/fromCognitoIdentityPool.d.ts +1 -2
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/loadCognitoIdentity.d.ts +1 -5
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/package.json +34 -34
- package/node_modules/@aws-sdk/credential-provider-env/dist-types/ts3.4/fromEnv.d.ts +1 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +33 -33
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.browser.d.ts +1 -3
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.d.ts +1 -3
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/requestHelpers.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/retry-wrapper.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/index.browser.d.ts +1 -4
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/index.d.ts +1 -4
- package/node_modules/@aws-sdk/credential-provider-http/package.json +35 -35
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts +4 -8
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveCredentialSource.d.ts +2 -4
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveLoginCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProcessCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProfileData.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveStaticCredentials.d.ts +2 -4
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveWebIdentityCredentials.d.ts +2 -4
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +41 -41
- package/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +39 -32
- package/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js +39 -32
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/LoginCredentialsFetcher.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/LoginCredentialsFetcher.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/fromLoginCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/index.d.ts +1 -6
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/types.d.ts +1 -3
- package/node_modules/@aws-sdk/credential-provider-login/package.json +36 -36
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/defaultProvider.d.ts +4 -11
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/remoteProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/runtime/memoize-chain.d.ts +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +40 -40
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/fromProcess.d.ts +2 -4
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/getValidatedProcessCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/resolveProcessCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-process/package.json +33 -33
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/fromSSO.d.ts +2 -4
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/loadSso.d.ts +2 -8
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/validateSsoProfile.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +35 -35
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromTokenFile.d.ts +3 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromWebToken.d.ts +5 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/index.d.ts +1 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +41 -41
- package/node_modules/@aws-sdk/credential-providers/dist-cjs/index.js +81 -40
- package/node_modules/@aws-sdk/credential-providers/dist-es/fromCognitoIdentity.js +6 -4
- package/node_modules/@aws-sdk/credential-providers/dist-es/fromCognitoIdentityPool.js +6 -4
- package/node_modules/@aws-sdk/credential-providers/dist-es/fromContainerMetadata.js +5 -3
- package/node_modules/@aws-sdk/credential-providers/dist-es/fromEnv.js +6 -2
- package/node_modules/@aws-sdk/credential-providers/dist-es/fromHttp.js +6 -0
- package/node_modules/@aws-sdk/credential-providers/dist-es/fromIni.js +6 -4
- package/node_modules/@aws-sdk/credential-providers/dist-es/fromInstanceMetadata.js +6 -4
- package/node_modules/@aws-sdk/credential-providers/dist-es/fromLoginCredentials.js +6 -4
- package/node_modules/@aws-sdk/credential-providers/dist-es/fromNodeProviderChain.js +10 -4
- package/node_modules/@aws-sdk/credential-providers/dist-es/fromProcess.js +6 -2
- package/node_modules/@aws-sdk/credential-providers/dist-es/fromSSO.js +4 -2
- package/node_modules/@aws-sdk/credential-providers/dist-es/fromTokenFile.js +6 -4
- package/node_modules/@aws-sdk/credential-providers/dist-es/fromWebToken.js +6 -4
- package/node_modules/@aws-sdk/credential-providers/dist-es/index.browser.js +5 -5
- package/node_modules/@aws-sdk/credential-providers/dist-es/index.js +15 -15
- package/node_modules/@aws-sdk/credential-providers/dist-types/fromCognitoIdentity.d.ts +0 -5
- package/node_modules/@aws-sdk/credential-providers/dist-types/fromCognitoIdentityPool.d.ts +3 -2
- package/node_modules/@aws-sdk/credential-providers/dist-types/fromHttp.d.ts +22 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/fromInstanceMetadata.d.ts +2 -3
- package/node_modules/@aws-sdk/credential-providers/dist-types/fromLoginCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-providers/dist-types/fromNodeProviderChain.d.ts +2 -3
- package/node_modules/@aws-sdk/credential-providers/dist-types/fromProcess.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-providers/dist-types/fromSSO.d.ts +3 -3
- package/node_modules/@aws-sdk/credential-providers/dist-types/fromTemporaryCredentials.browser.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-providers/dist-types/fromTemporaryCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-providers/dist-types/fromTokenFile.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-providers/dist-types/fromWebToken.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-providers/dist-types/index.browser.d.ts +9 -6
- package/node_modules/@aws-sdk/credential-providers/dist-types/index.d.ts +21 -15
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/createCredentialChain.d.ts +1 -3
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromCognitoIdentity.d.ts +6 -11
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromCognitoIdentityPool.d.ts +5 -9
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromContainerMetadata.d.ts +2 -4
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromEnv.d.ts +1 -3
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromHttp.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromIni.d.ts +1 -3
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromInstanceMetadata.d.ts +2 -3
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromLoginCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromNodeProviderChain.d.ts +6 -4
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromProcess.d.ts +3 -3
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromSSO.d.ts +4 -4
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromTemporaryCredentials.base.d.ts +4 -15
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromTemporaryCredentials.browser.d.ts +2 -4
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromTemporaryCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromTokenFile.d.ts +3 -3
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromWebToken.d.ts +3 -3
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/index.browser.d.ts +11 -8
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/index.d.ts +23 -18
- package/node_modules/@aws-sdk/credential-providers/package.json +44 -45
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/NodeUseArnRegionConfigOptions.d.ts +1 -3
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/index.browser.d.ts +1 -4
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/index.d.ts +1 -4
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-bucket-endpoint/bucketEndpointMiddleware.d.ts +3 -7
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-bucket-endpoint/bucketHostname.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-bucket-endpoint/bucketHostnameUtils.d.ts +9 -12
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-bucket-endpoint/configurations.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-check-content-length-header/check-content-length-header.d.ts +3 -12
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-expect-continue/middleware-expect-continue.d.ts +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-location-constraint/configuration.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-location-constraint/middleware-location-constraint.d.ts +3 -7
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-region-redirect/bucket-endpoint-middleware.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-region-redirect/region-redirect-endpoint-middleware.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-region-redirect/region-redirect-middleware.d.ts +3 -8
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-configuration/s3Configuration.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-expires/s3-expires-middleware.d.ts +3 -7
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityCache.d.ts +1 -4
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityCacheEntry.d.ts +1 -5
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityProviderImpl.d.ts +3 -5
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/functions/s3ExpressHttpSigningMiddleware.d.ts +3 -6
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/functions/s3ExpressMiddleware.d.ts +2 -4
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/functions/signS3Express.d.ts +3 -6
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/interfaces/S3ExpressIdentityProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-ssec/middleware-ssec.d.ts +3 -7
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-throw-200-exceptions/throw-200-exceptions.d.ts +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-validate-bucket-name/validate-bucket-name.d.ts +2 -6
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/protocol/S3RestXmlProtocol.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/configurations.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/index.d.ts +1 -4
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-host-prefix-deduplication/hostPrefixDeduplicationMiddleware.d.ts +3 -12
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-process-arnables/getOutpostEndpoint.d.ts +1 -5
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-process-arnables/getProcessArnablesPlugin.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-process-arnables/parse-outpost-arnables.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-process-arnables/update-arnables-request.d.ts +2 -6
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-redirect-from-postid/redirect-from-postid.d.ts +3 -8
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +63 -60
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +11 -9
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +121 -76
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +6 -5
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +6 -5
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +12 -8
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +6 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commandBuilder.js +3 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.js +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/index.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +80 -70
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +23 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +6 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +6 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +42 -40
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +42 -40
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +41 -39
- 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/Signin.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commandBuilder.d.ts +8 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +114 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/EndpointParameters.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts +41 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +43 -41
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +43 -41
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +42 -40
- 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/signin/schemas/schemas_0.d.ts +3 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +42 -40
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +42 -40
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +41 -39
- 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/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +42 -40
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +42 -40
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +41 -39
- 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/auth/httpAuthSchemeProvider.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultRoleAssumers.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +44 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +35 -33
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +43 -41
- 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/CognitoIdentity.d.ts +7 -15
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts +8 -22
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commandBuilder.d.ts +7 -13
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +6 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts +9 -28
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +71 -88
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +71 -83
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +75 -92
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +9 -15
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeExtensions.d.ts +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/schemas/schemas_0.d.ts +1 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/Signin.d.ts +20 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +25 -27
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commandBuilder.d.ts +13 -18
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +9 -14
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +42 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/EndpointParameters.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/errors.d.ts +4 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/models_0.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +73 -90
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +71 -83
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +77 -94
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +8 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSOClient.d.ts +13 -20
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/auth/httpAuthSchemeProvider.d.ts +10 -13
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commandBuilder.d.ts +7 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/errors.d.ts +4 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +70 -85
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +70 -80
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +74 -89
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +8 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/schemas/schemas_0.d.ts +1 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDC.d.ts +4 -7
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +16 -29
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commandBuilder.d.ts +7 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/errors.d.ts +11 -34
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +70 -85
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +70 -80
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +74 -89
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +8 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts +1 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STS.d.ts +7 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +16 -30
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +11 -16
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commandBuilder.d.ts +8 -18
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultRoleAssumers.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultStsRoleAssumers.d.ts +5 -7
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts +7 -24
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +75 -95
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +77 -94
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +79 -99
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +9 -13
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +1 -5
- package/node_modules/@aws-sdk/nested-clients/package.json +53 -50
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/SignatureV4MultiRegion.d.ts +5 -13
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/SignatureV4SignWithCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/index.d.ts +2 -8
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/signature-v4-crt-container.d.ts +1 -1
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +30 -30
- 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/dist-types/ts3.4/fromEnvSigningName.d.ts +1 -4
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +2 -6
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromStatic.d.ts +2 -9
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +2 -4
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/nodeProvider.d.ts +1 -3
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenKey.d.ts +1 -5
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/writeSSOTokenToFile.d.ts +1 -4
- package/node_modules/@aws-sdk/token-providers/package.json +36 -36
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/crypto.d.ts +1 -7
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/encode.d.ts +1 -6
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +2 -5
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/index.d.ts +1 -5
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +7 -39
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/logger.d.ts +1 -9
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/profile.d.ts +1 -6
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/shapes.d.ts +1 -6
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/stream.d.ts +1 -4
- package/node_modules/@aws-sdk/types/package.json +31 -31
- 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/dist-types/ts3.4/XmlNode.d.ts +2 -12
- package/node_modules/@aws-sdk/xml-builder/package.json +35 -35
- package/node_modules/@inquirer/ansi/package.json +3 -2
- package/node_modules/@inquirer/checkbox/dist/index.d.ts +12 -1
- package/node_modules/@inquirer/checkbox/package.json +7 -6
- package/node_modules/@inquirer/confirm/README.md +23 -0
- package/node_modules/@inquirer/confirm/dist/index.d.ts +27 -3
- package/node_modules/@inquirer/confirm/dist/index.js +40 -14
- package/node_modules/@inquirer/confirm/package.json +5 -4
- package/node_modules/@inquirer/core/README.md +9 -3
- package/node_modules/@inquirer/core/dist/lib/create-prompt.d.ts +10 -3
- package/node_modules/@inquirer/core/dist/lib/hook-engine.d.ts +2 -8
- package/node_modules/@inquirer/core/dist/lib/make-theme.js +1 -0
- package/node_modules/@inquirer/core/dist/lib/pagination/use-pagination.d.ts +2 -3
- package/node_modules/@inquirer/core/dist/lib/theme.d.ts +1 -1
- package/node_modules/@inquirer/core/dist/lib/use-memo.js +1 -1
- package/node_modules/@inquirer/core/dist/lib/use-state.d.ts +5 -2
- package/node_modules/@inquirer/core/dist/lib/use-state.js +7 -2
- package/node_modules/@inquirer/core/package.json +7 -6
- package/node_modules/@inquirer/editor/dist/index.d.ts +10 -2
- package/node_modules/@inquirer/editor/package.json +6 -5
- package/node_modules/@inquirer/expand/README.md +1 -1
- package/node_modules/@inquirer/expand/dist/index.d.ts +12 -1
- package/node_modules/@inquirer/expand/package.json +5 -4
- package/node_modules/@inquirer/external-editor/README.md +13 -0
- package/node_modules/@inquirer/external-editor/package.json +4 -3
- package/node_modules/@inquirer/figures/package.json +4 -3
- package/node_modules/@inquirer/input/dist/index.d.ts +13 -1
- package/node_modules/@inquirer/input/package.json +5 -4
- package/node_modules/@inquirer/number/dist/index.d.ts +12 -2
- package/node_modules/@inquirer/number/dist/index.js +1 -6
- package/node_modules/@inquirer/number/dist/is-step-of.d.ts +1 -0
- package/node_modules/@inquirer/number/dist/is-step-of.js +22 -0
- package/node_modules/@inquirer/number/package.json +5 -4
- package/node_modules/@inquirer/password/README.md +24 -6
- package/node_modules/@inquirer/password/dist/index.d.ts +9 -1
- package/node_modules/@inquirer/password/dist/index.js +27 -8
- package/node_modules/@inquirer/password/package.json +6 -5
- package/node_modules/@inquirer/prompts/README.md +67 -7
- package/node_modules/@inquirer/prompts/package.json +14 -13
- package/node_modules/@inquirer/rawlist/dist/index.d.ts +8 -1
- package/node_modules/@inquirer/rawlist/package.json +5 -4
- package/node_modules/@inquirer/search/README.md +9 -8
- package/node_modules/@inquirer/search/dist/index.d.ts +13 -1
- package/node_modules/@inquirer/search/dist/index.js +6 -1
- package/node_modules/@inquirer/search/package.json +6 -5
- package/node_modules/@inquirer/select/dist/index.d.ts +9 -1
- package/node_modules/@inquirer/select/package.json +7 -6
- package/node_modules/@inquirer/type/dist/utils.d.ts +8 -3
- package/node_modules/@inquirer/type/package.json +3 -2
- package/node_modules/@nodable/entities/README.md +52 -1
- package/node_modules/@nodable/entities/package.json +1 -1
- package/node_modules/@nodable/entities/src/EntityEncoder.js +79 -34
- package/node_modules/@nodable/entities/src/all-entities.js +53 -0
- package/node_modules/@nodable/entities/src/entities.js +0 -20
- package/node_modules/@nodable/entities/src/entityTries.js +48 -37
- package/node_modules/@nodable/entities/src/index.d.ts +16 -2
- package/node_modules/@nodable/entities/src/index.js +1 -1
- package/node_modules/@smithy/core/CHANGELOG.md +1528 -0
- package/node_modules/@smithy/core/dist-cjs/index.js +3 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +1671 -361
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +14 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +3 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +1 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +8 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +33 -13
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +49 -17
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +49 -17
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +35 -16
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +8 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +8 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +4 -14
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +10 -7
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +22 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +10 -7
- package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +8 -1
- 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/CborCodec.js +4 -205
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +2 -3
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +30 -14
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +13 -5
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +122 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +110 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +650 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +620 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +5 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +6 -1
- 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/config/config-resolver/regionInfo/getRegionInfo.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.browser.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/getSelectorName.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseIni.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromConfig.js +8 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js +11 -9
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getIgnoreConfiguredEndpointUrls.js +8 -0
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/service-customizations/s3.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/parseURL.js +1 -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 +45 -15
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +5 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +9 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +6 -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 +7 -5
- 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/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/constants.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/StandardRetryStrategy.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js +1 -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/NormalizedSchema.js +1 -1
- 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/copyDocumentWithTransform.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/date-utils.js +1 -1
- 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/middleware-serde/deserializerMiddleware.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.js +11 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +2 -2
- 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/isValidHostname.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +5 -27
- package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v1/CborShapeDeserializer.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v1/CborShapeSerializer.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v2/CborShapeDeserializer2.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v2/CborShapeSerializer2.d.ts +35 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +5 -1
- 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/middleware-endpoint/adaptors/getEndpointUrlConfig.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/getIgnoreConfiguredEndpointUrls.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.d.ts +12 -0
- 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 +24 -4
- 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/service-error-classification/constants.d.ts +1 -0
- 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/schema/schemas/ErrorSchema.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/serde/copyDocumentWithTransform.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/serde/util-stream/checksum/ChecksumStream.d.ts +9 -4
- 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/cbor/CborCodec.d.ts +5 -27
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v1/CborShapeDeserializer.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v1/CborShapeSerializer.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v2/CborShapeDeserializer2.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v2/CborShapeSerializer2.d.ts +35 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +5 -1
- 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/middleware-endpoint/adaptors/getEndpointUrlConfig.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/getIgnoreConfiguredEndpointUrls.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.d.ts +12 -0
- 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 +24 -4
- 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/service-error-classification/constants.d.ts +1 -0
- 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/schema/schemas/ErrorSchema.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.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/serde/util-stream/checksum/ChecksumStream.d.ts +9 -4
- 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 +88 -93
- package/node_modules/@smithy/credential-provider-imds/CHANGELOG.md +1054 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +32 -42
- package/node_modules/@smithy/fetch-http-handler/CHANGELOG.md +1037 -0
- package/node_modules/@smithy/fetch-http-handler/package.json +31 -41
- package/node_modules/@smithy/node-http-handler/CHANGELOG.md +1152 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +27 -8
- package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +3 -0
- package/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +12 -2
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +2 -3
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +8 -1
- 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 +32 -42
- package/node_modules/@smithy/signature-v4/CHANGELOG.md +998 -0
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +2 -2
- package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +1 -1
- package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +1 -1
- package/node_modules/@smithy/signature-v4/package.json +27 -37
- package/node_modules/@smithy/types/CHANGELOG.md +488 -0
- package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts +14 -14
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +14 -0
- package/node_modules/@smithy/types/package.json +29 -39
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/buffer.buffer.d.ts +10 -5
- package/node_modules/@types/node/child_process.d.ts +0 -1
- package/node_modules/@types/node/crypto.d.ts +9 -11
- package/node_modules/@types/node/dgram.d.ts +119 -4
- package/node_modules/@types/node/dns/promises.d.ts +5 -5
- package/node_modules/@types/node/dns.d.ts +5 -5
- package/node_modules/@types/node/ffi.d.ts +1 -1
- package/node_modules/@types/node/fs/promises.d.ts +61 -65
- package/node_modules/@types/node/fs.d.ts +93 -76
- package/node_modules/@types/node/http.d.ts +47 -1
- package/node_modules/@types/node/http2.d.ts +16 -8
- package/node_modules/@types/node/index.d.ts +1 -0
- package/node_modules/@types/node/inspector.d.ts +2 -1
- package/node_modules/@types/node/net.d.ts +108 -16
- package/node_modules/@types/node/os.d.ts +30 -30
- package/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/node/perf_hooks.d.ts +2 -1
- package/node_modules/@types/node/process.d.ts +94 -43
- package/node_modules/@types/node/quic.d.ts +1268 -95
- package/node_modules/@types/node/sqlite.d.ts +20 -3
- package/node_modules/@types/node/stream/iter.d.ts +7 -6
- package/node_modules/@types/node/test.d.ts +97 -0
- package/node_modules/@types/node/tls.d.ts +24 -0
- package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +5 -0
- package/node_modules/@types/node/ts5.6/index.d.ts +1 -0
- package/node_modules/@types/node/ts5.7/index.d.ts +1 -0
- package/node_modules/@types/node/tty.d.ts +4 -3
- package/node_modules/@types/node/v8.d.ts +20 -23
- package/node_modules/@types/node/vfs.d.ts +210 -0
- package/node_modules/@types/node/vm.d.ts +1 -1
- package/node_modules/chalk/package.json +33 -24
- package/node_modules/chalk/readme.md +42 -8
- package/node_modules/chalk/source/index.d.ts +125 -13
- package/node_modules/chalk/source/index.js +99 -63
- package/node_modules/chalk/source/utilities.js +5 -5
- package/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +79 -16
- package/node_modules/chalk/source/vendor/ansi-styles/index.js +48 -10
- package/node_modules/chalk/source/vendor/supports-color/browser.js +3 -5
- package/node_modules/chalk/source/vendor/supports-color/index.js +27 -11
- package/node_modules/fast-xml-parser/CHANGELOG.md +12 -1
- package/node_modules/fast-xml-parser/README.md +3 -1
- package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
- package/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
- package/node_modules/fast-xml-parser/lib/fxvalidator.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -1
- package/node_modules/fast-xml-parser/package.json +3 -3
- package/node_modules/fast-xml-parser/src/fxp.d.ts +2 -0
- package/node_modules/fast-xml-parser/src/validator.js +98 -5
- package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +16 -1
- package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +27 -1
- package/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +14 -0
- package/node_modules/inquirer/README.md +3 -9
- package/node_modules/inquirer/dist/index.d.ts +2 -3
- package/node_modules/inquirer/dist/index.js +1 -1
- package/node_modules/inquirer/dist/types.d.ts +3 -3
- package/node_modules/inquirer/package.json +7 -6
- package/node_modules/strnum/CHANGELOG.md +6 -0
- package/node_modules/strnum/package.json +1 -1
- package/node_modules/strnum/strnum.js +5 -1
- package/node_modules/toml/README.md +81 -7
- package/node_modules/toml/index.d.ts +54 -1
- package/node_modules/toml/index.js +3 -3
- package/node_modules/toml/lib/compiler.js +67 -4
- package/node_modules/toml/lib/parser.js +224 -143
- package/node_modules/toml/package.json +3 -1
- package/package.json +28 -28
- package/node_modules/@aws-sdk/client-cognito-identity/LICENSE +0 -201
- package/node_modules/@aws-sdk/client-cognito-identity/README.md +0 -356
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/index.js +0 -1268
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/CognitoIdentity.js +0 -57
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/CognitoIdentityClient.js +0 -47
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/auth/httpAuthExtensionConfiguration.js +0 -38
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/auth/httpAuthSchemeProvider.js +0 -69
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commandBuilder.js +0 -6
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/CreateIdentityPoolCommand.js +0 -4
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/DeleteIdentitiesCommand.js +0 -4
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/DeleteIdentityPoolCommand.js +0 -4
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/DescribeIdentityCommand.js +0 -4
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/DescribeIdentityPoolCommand.js +0 -4
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetCredentialsForIdentityCommand.js +0 -4
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetIdCommand.js +0 -4
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetIdentityPoolRolesCommand.js +0 -4
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetOpenIdTokenCommand.js +0 -4
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetOpenIdTokenForDeveloperIdentityCommand.js +0 -4
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetPrincipalTagAttributeMapCommand.js +0 -4
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/ListIdentitiesCommand.js +0 -4
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/ListIdentityPoolsCommand.js +0 -4
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/ListTagsForResourceCommand.js +0 -4
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/LookupDeveloperIdentityCommand.js +0 -4
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/MergeDeveloperIdentitiesCommand.js +0 -4
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/SetIdentityPoolRolesCommand.js +0 -4
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/SetPrincipalTagAttributeMapCommand.js +0 -4
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/TagResourceCommand.js +0 -4
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/UnlinkDeveloperIdentityCommand.js +0 -4
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/UnlinkIdentityCommand.js +0 -4
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/UntagResourceCommand.js +0 -4
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/UpdateIdentityPoolCommand.js +0 -4
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/index.js +0 -23
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/endpoint/EndpointParameters.js +0 -13
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/endpoint/bdd.js +0 -61
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/endpoint/endpointResolver.js +0 -14
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/index.js +0 -10
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/models/CognitoIdentityServiceException.js +0 -8
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/models/enums.js +0 -18
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/models/errors.js +0 -133
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/pagination/Interfaces.js +0 -1
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/pagination/ListIdentityPoolsPaginator.js +0 -4
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/pagination/index.js +0 -2
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/runtimeConfig.browser.js +0 -29
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/runtimeConfig.js +0 -43
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/runtimeConfig.native.js +0 -9
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/runtimeConfig.shared.js +0 -47
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/runtimeExtensions.js +0 -9
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/schemas/schemas_0.js +0 -565
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/CognitoIdentity.d.ts +0 -192
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/CognitoIdentityClient.d.ts +0 -223
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/auth/httpAuthExtensionConfiguration.d.ts +0 -29
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/auth/httpAuthSchemeProvider.d.ts +0 -75
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commandBuilder.d.ts +0 -18
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/CreateIdentityPoolCommand.d.ts +0 -169
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/DeleteIdentitiesCommand.d.ts +0 -90
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/DeleteIdentityPoolCommand.d.ts +0 -88
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/DescribeIdentityCommand.d.ts +0 -95
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/DescribeIdentityPoolCommand.d.ts +0 -113
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetCredentialsForIdentityCommand.d.ts +0 -117
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetIdCommand.d.ts +0 -104
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetIdentityPoolRolesCommand.d.ts +0 -112
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetOpenIdTokenCommand.d.ts +0 -103
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetOpenIdTokenForDeveloperIdentityCommand.d.ts +0 -117
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetPrincipalTagAttributeMapCommand.d.ts +0 -94
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/ListIdentitiesCommand.d.ts +0 -103
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/ListIdentityPoolsCommand.d.ts +0 -96
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/ListTagsForResourceCommand.d.ts +0 -92
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/LookupDeveloperIdentityCommand.d.ts +0 -116
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/MergeDeveloperIdentitiesCommand.d.ts +0 -107
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/SetIdentityPoolRolesCommand.d.ts +0 -113
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/SetPrincipalTagAttributeMapCommand.d.ts +0 -98
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/TagResourceCommand.d.ts +0 -102
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/UnlinkDeveloperIdentityCommand.d.ts +0 -97
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/UnlinkIdentityCommand.d.ts +0 -102
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/UntagResourceCommand.d.ts +0 -89
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/UpdateIdentityPoolCommand.d.ts +0 -149
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/index.d.ts +0 -23
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/endpoint/EndpointParameters.d.ts +0 -50
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/endpoint/bdd.d.ts +0 -2
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/endpoint/endpointResolver.d.ts +0 -8
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/extensionConfiguration.d.ts +0 -9
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/index.d.ts +0 -32
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/models/CognitoIdentityServiceException.d.ts +0 -14
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/models/enums.d.ts +0 -50
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/models/errors.d.ts +0 -144
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/models/models_0.d.ts +0 -1039
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/pagination/Interfaces.d.ts +0 -8
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/pagination/ListIdentityPoolsPaginator.d.ts +0 -7
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/pagination/index.d.ts +0 -2
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/runtimeConfig.browser.d.ts +0 -63
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/runtimeConfig.d.ts +0 -63
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/runtimeConfig.native.d.ts +0 -62
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/runtimeConfig.shared.d.ts +0 -39
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/runtimeExtensions.d.ts +0 -17
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/schemas/schemas_0.d.ts +0 -89
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/CognitoIdentity.d.ts +0 -412
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/CognitoIdentityClient.d.ts +0 -246
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +0 -32
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +0 -47
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commandBuilder.d.ts +0 -46
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/CreateIdentityPoolCommand.d.ts +0 -41
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/DeleteIdentitiesCommand.d.ts +0 -43
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/DeleteIdentityPoolCommand.d.ts +0 -39
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/DescribeIdentityCommand.d.ts +0 -40
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/DescribeIdentityPoolCommand.d.ts +0 -41
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetCredentialsForIdentityCommand.d.ts +0 -44
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetIdCommand.d.ts +0 -34
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetIdentityPoolRolesCommand.d.ts +0 -44
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetOpenIdTokenCommand.d.ts +0 -43
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetOpenIdTokenForDeveloperIdentityCommand.d.ts +0 -44
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetPrincipalTagAttributeMapCommand.d.ts +0 -44
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/ListIdentitiesCommand.d.ts +0 -43
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/ListIdentityPoolsCommand.d.ts +0 -43
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -44
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/LookupDeveloperIdentityCommand.d.ts +0 -44
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/MergeDeveloperIdentitiesCommand.d.ts +0 -44
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/SetIdentityPoolRolesCommand.d.ts +0 -39
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/SetPrincipalTagAttributeMapCommand.d.ts +0 -44
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/TagResourceCommand.d.ts +0 -40
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/UnlinkDeveloperIdentityCommand.d.ts +0 -40
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/UnlinkIdentityCommand.d.ts +0 -38
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +0 -40
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/UpdateIdentityPoolCommand.d.ts +0 -40
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/index.d.ts +0 -23
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +0 -51
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/endpoint/bdd.d.ts +0 -2
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/endpoint/endpointResolver.d.ts +0 -8
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/extensionConfiguration.d.ts +0 -9
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/index.d.ts +0 -13
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/models/CognitoIdentityServiceException.d.ts +0 -9
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/models/enums.d.ts +0 -25
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/models/errors.d.ts +0 -88
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/models/models_0.d.ts +0 -221
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/pagination/Interfaces.d.ts +0 -6
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/pagination/ListIdentityPoolsPaginator.d.ts +0 -11
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/pagination/index.d.ts +0 -2
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/runtimeConfig.browser.d.ts +0 -133
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/runtimeConfig.d.ts +0 -128
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/runtimeConfig.native.d.ts +0 -137
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -61
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/runtimeExtensions.d.ts +0 -13
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/schemas/schemas_0.d.ts +0 -88
- package/node_modules/@aws-sdk/client-cognito-identity/package.json +0 -79
- 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
- package/node_modules/@inquirer/external-editor/dist/errors/CreateFileError.d.ts +0 -10
- package/node_modules/@inquirer/external-editor/dist/errors/CreateFileError.js +0 -13
- package/node_modules/@inquirer/external-editor/dist/errors/LaunchEditorError.d.ts +0 -10
- package/node_modules/@inquirer/external-editor/dist/errors/LaunchEditorError.js +0 -13
- package/node_modules/@inquirer/external-editor/dist/errors/ReadFileError.d.ts +0 -10
- package/node_modules/@inquirer/external-editor/dist/errors/ReadFileError.js +0 -13
- package/node_modules/@inquirer/external-editor/dist/errors/RemoveFileError.d.ts +0 -10
- package/node_modules/@inquirer/external-editor/dist/errors/RemoveFileError.js +0 -13
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/getEndpointUrlConfig.js +0 -21
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/getEndpointUrlConfig.d.ts +0 -12
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/getEndpointUrlConfig.d.ts +0 -12
- /package/node_modules/@aws-sdk/{client-cognito-identity/dist-es/extensionConfiguration.js → core/dist-es/submodules/protocols/json/JsonSettings.js} +0 -0
- /package/node_modules/@aws-sdk/{client-cognito-identity/dist-es/models/models_0.js → core/dist-es/submodules/protocols/json/codec-v1/JsonSettings.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const { nv, NumericValue, calculateBodyLength,
|
|
1
|
+
const { nv, NumericValue, calculateBodyLength, generateIdempotencyToken, fromBase64, _parseEpochTimestamp } = require("@smithy/core/serde");
|
|
2
|
+
const { hasOwn, getSmithyContext } = require("@smithy/core/transport");
|
|
2
3
|
const { HttpRequest, collectBody, SerdeContext, RpcProtocol } = require("@smithy/core/protocols");
|
|
3
4
|
const { NormalizedSchema, deref, TypeRegistry } = require("@smithy/core/schema");
|
|
4
|
-
const { getSmithyContext } = require("@smithy/core/transport");
|
|
5
5
|
|
|
6
6
|
const majorUint64 = 0;
|
|
7
7
|
const majorNegativeInt64 = 1;
|
|
@@ -29,23 +29,23 @@ function tag(data) {
|
|
|
29
29
|
return data;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
const USE_BUFFER$
|
|
33
|
-
const textDecoder = new TextDecoder();
|
|
34
|
-
let payload = alloc(0);
|
|
35
|
-
let isBuffer = false;
|
|
36
|
-
let dataView$
|
|
32
|
+
const USE_BUFFER$3 = typeof Buffer !== "undefined";
|
|
33
|
+
const textDecoder$1 = new TextDecoder();
|
|
34
|
+
let payload$1 = alloc(0);
|
|
35
|
+
let isBuffer$1 = false;
|
|
36
|
+
let dataView$2 = new DataView(payload$1.buffer, payload$1.byteOffset, payload$1.byteLength);
|
|
37
37
|
let _offset = 0;
|
|
38
38
|
function setPayload(bytes) {
|
|
39
|
-
payload = bytes;
|
|
40
|
-
isBuffer = USE_BUFFER$
|
|
41
|
-
dataView$
|
|
39
|
+
payload$1 = bytes;
|
|
40
|
+
isBuffer$1 = USE_BUFFER$3 && payload$1 instanceof Buffer;
|
|
41
|
+
dataView$2 = new DataView(payload$1.buffer, payload$1.byteOffset, payload$1.byteLength);
|
|
42
42
|
}
|
|
43
43
|
function decode(at, to) {
|
|
44
44
|
if (at >= to) {
|
|
45
45
|
throw new Error("unexpected end of (decode) payload.");
|
|
46
46
|
}
|
|
47
|
-
const major = (payload[at] & 0b1110_0000) >> 5;
|
|
48
|
-
const minor = payload[at] & 0b0001_1111;
|
|
47
|
+
const major = (payload$1[at] & 0b1110_0000) >> 5;
|
|
48
|
+
const minor = payload$1[at] & 0b0001_1111;
|
|
49
49
|
if (minor === minorIndefinite && 2 <= major && major <= 5) {
|
|
50
50
|
return decodeIndefinite(at, to);
|
|
51
51
|
}
|
|
@@ -63,36 +63,36 @@ function decode(at, to) {
|
|
|
63
63
|
switch (minor) {
|
|
64
64
|
case extendedOneByte:
|
|
65
65
|
if (to - at < 2) {
|
|
66
|
-
overflow(1);
|
|
66
|
+
overflow$1(1);
|
|
67
67
|
}
|
|
68
|
-
unsignedInt = payload[at + 1];
|
|
68
|
+
unsignedInt = payload$1[at + 1];
|
|
69
69
|
offset = 2;
|
|
70
70
|
break;
|
|
71
71
|
case extendedFloat16:
|
|
72
72
|
if (to - at < 3) {
|
|
73
|
-
overflow(2);
|
|
73
|
+
overflow$1(2);
|
|
74
74
|
}
|
|
75
|
-
unsignedInt = dataView$
|
|
75
|
+
unsignedInt = dataView$2.getUint16(at + 1);
|
|
76
76
|
offset = 3;
|
|
77
77
|
break;
|
|
78
78
|
case extendedFloat32:
|
|
79
79
|
if (to - at < 5) {
|
|
80
|
-
overflow(4);
|
|
80
|
+
overflow$1(4);
|
|
81
81
|
}
|
|
82
|
-
unsignedInt = dataView$
|
|
82
|
+
unsignedInt = dataView$2.getUint32(at + 1);
|
|
83
83
|
offset = 5;
|
|
84
84
|
break;
|
|
85
85
|
case extendedFloat64:
|
|
86
86
|
if (to - at < 9) {
|
|
87
|
-
overflow(8);
|
|
87
|
+
overflow$1(8);
|
|
88
88
|
}
|
|
89
89
|
{
|
|
90
|
-
const hi = dataView$
|
|
90
|
+
const hi = dataView$2.getUint32(at + 1);
|
|
91
91
|
if (hi < 0x00200000) {
|
|
92
|
-
unsignedInt = hi * 4294967296 + dataView$
|
|
92
|
+
unsignedInt = hi * 4294967296 + dataView$2.getUint32(at + 5);
|
|
93
93
|
}
|
|
94
94
|
else {
|
|
95
|
-
unsignedInt = dataView$
|
|
95
|
+
unsignedInt = dataView$2.getBigUint64(at + 1);
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
offset = 9;
|
|
@@ -103,7 +103,7 @@ function decode(at, to) {
|
|
|
103
103
|
}
|
|
104
104
|
if (major === majorUint64) {
|
|
105
105
|
_offset = offset;
|
|
106
|
-
return castBigInt(unsignedInt);
|
|
106
|
+
return castBigInt$1(unsignedInt);
|
|
107
107
|
}
|
|
108
108
|
else if (major === majorNegativeInt64) {
|
|
109
109
|
let negativeInt;
|
|
@@ -114,7 +114,7 @@ function decode(at, to) {
|
|
|
114
114
|
negativeInt = -1 - unsignedInt;
|
|
115
115
|
}
|
|
116
116
|
_offset = offset;
|
|
117
|
-
return castBigInt(negativeInt);
|
|
117
|
+
return castBigInt$1(negativeInt);
|
|
118
118
|
}
|
|
119
119
|
else {
|
|
120
120
|
return decodeTagValue(at, to, minor, unsignedInt, offset);
|
|
@@ -133,8 +133,8 @@ function decode(at, to) {
|
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
function decodeIndefinite(at, to) {
|
|
136
|
-
const major = (payload[at] & 0b1110_0000) >> 5;
|
|
137
|
-
const minor = payload[at] & 0b0001_1111;
|
|
136
|
+
const major = (payload$1[at] & 0b1110_0000) >> 5;
|
|
137
|
+
const minor = payload$1[at] & 0b0001_1111;
|
|
138
138
|
if (minor === minorIndefinite) {
|
|
139
139
|
switch (major) {
|
|
140
140
|
case majorUtf8String:
|
|
@@ -148,7 +148,7 @@ function decodeIndefinite(at, to) {
|
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
|
-
function bytesToFloat16(a, b) {
|
|
151
|
+
function bytesToFloat16$1(a, b) {
|
|
152
152
|
const sign = a >> 7;
|
|
153
153
|
const exponent = (a & 0b0111_1100) >> 2;
|
|
154
154
|
const fraction = ((a & 0b0000_0011) << 8) | b;
|
|
@@ -168,8 +168,8 @@ function bytesToFloat16(a, b) {
|
|
|
168
168
|
return scalar * (Math.pow(2, exponent - 15) * (1 + fraction / 1024));
|
|
169
169
|
}
|
|
170
170
|
function decodeMap(at, to) {
|
|
171
|
-
const mapDataLength = decodeCount(at, to);
|
|
172
|
-
if (mapDataLength <
|
|
171
|
+
const mapDataLength = decodeCount$1(at, to);
|
|
172
|
+
if (mapDataLength < 25) {
|
|
173
173
|
return decodeMapSmall(at, to, mapDataLength);
|
|
174
174
|
}
|
|
175
175
|
return decodeMapLarge(at, to, mapDataLength);
|
|
@@ -182,7 +182,7 @@ function decodeMapLarge(at, to, mapDataLength) {
|
|
|
182
182
|
for (let i = 0; i < mapDataLength; ++i) {
|
|
183
183
|
const key = decodeUtf8String(at, to);
|
|
184
184
|
at += _offset;
|
|
185
|
-
const valMajor = (payload[at] & 0b1110_0000) >> 5;
|
|
185
|
+
const valMajor = (payload$1[at] & 0b1110_0000) >> 5;
|
|
186
186
|
if (valMajor === majorUtf8String) {
|
|
187
187
|
map[key] = decodeUtf8String(at, to);
|
|
188
188
|
}
|
|
@@ -210,7 +210,7 @@ function decodeMapSmall(at, to, mapDataLength) {
|
|
|
210
210
|
return map;
|
|
211
211
|
}
|
|
212
212
|
function decodeList(at, to) {
|
|
213
|
-
const listDataLength = decodeCount(at, to);
|
|
213
|
+
const listDataLength = decodeCount$1(at, to);
|
|
214
214
|
const offset = _offset;
|
|
215
215
|
at += offset;
|
|
216
216
|
const base = at;
|
|
@@ -223,99 +223,115 @@ function decodeList(at, to) {
|
|
|
223
223
|
return list;
|
|
224
224
|
}
|
|
225
225
|
function decodeUtf8String(at, to) {
|
|
226
|
-
const length = decodeCount(at, to);
|
|
226
|
+
const length = decodeCount$1(at, to);
|
|
227
227
|
const offset = _offset;
|
|
228
228
|
at += offset;
|
|
229
229
|
if (to - at < length) {
|
|
230
|
-
overflow(length);
|
|
230
|
+
overflow$1(length);
|
|
231
231
|
}
|
|
232
232
|
_offset = offset + length;
|
|
233
233
|
if (length < 24) {
|
|
234
234
|
return decodeUtf8StringCached(at, length);
|
|
235
235
|
}
|
|
236
|
-
if (isBuffer) {
|
|
237
|
-
return payload.toString("utf-8", at, at + length);
|
|
236
|
+
if (isBuffer$1) {
|
|
237
|
+
return payload$1.toString("utf-8", at, at + length);
|
|
238
238
|
}
|
|
239
|
-
return textDecoder.decode(payload.subarray(at, at + length));
|
|
239
|
+
return textDecoder$1.decode(payload$1.subarray(at, at + length));
|
|
240
240
|
}
|
|
241
|
-
const stringCache = new Array(2048);
|
|
242
|
-
const stringCacheEpochs = new Uint16Array(2048);
|
|
243
|
-
let cacheEpoch = 0;
|
|
241
|
+
const stringCache$1 = new Array(2048);
|
|
242
|
+
const stringCacheEpochs$1 = new Uint16Array(2048);
|
|
243
|
+
let cacheEpoch$1 = 0;
|
|
244
244
|
function advanceDecodingEpoch() {
|
|
245
|
-
cacheEpoch = (cacheEpoch + 1) & 0b1111_1111_1111_1111;
|
|
245
|
+
cacheEpoch$1 = (cacheEpoch$1 + 1) & 0b1111_1111_1111_1111;
|
|
246
246
|
}
|
|
247
247
|
function decodeUtf8StringCached(at, length) {
|
|
248
248
|
let h = length;
|
|
249
249
|
for (let i = 0; i < length; ++i) {
|
|
250
|
-
h = (h * 31 + payload[at + i]) | 0;
|
|
250
|
+
h = (h * 31 + payload$1[at + i]) | 0;
|
|
251
251
|
}
|
|
252
252
|
const slot = (h >>> 0) & 2047;
|
|
253
|
-
const cached = stringCache[slot];
|
|
253
|
+
const cached = stringCache$1[slot];
|
|
254
254
|
if (cached !== undefined) {
|
|
255
255
|
if (cached.length === length) {
|
|
256
256
|
let match = true;
|
|
257
257
|
for (let i = 0; i < length; ++i) {
|
|
258
|
-
if (cached.charCodeAt(i) !== payload[at + i]) {
|
|
258
|
+
if (cached.charCodeAt(i) !== payload$1[at + i]) {
|
|
259
259
|
match = false;
|
|
260
260
|
break;
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
263
|
if (match) {
|
|
264
|
-
stringCacheEpochs[slot] = cacheEpoch;
|
|
264
|
+
stringCacheEpochs$1[slot] = cacheEpoch$1;
|
|
265
265
|
return cached;
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
268
|
}
|
|
269
|
-
const result = isBuffer
|
|
270
|
-
? payload.toString("utf-8", at, at + length)
|
|
271
|
-
: textDecoder.decode(payload.subarray(at, at + length));
|
|
272
|
-
if (stringCacheEpochs[slot] !== cacheEpoch) {
|
|
273
|
-
stringCache[slot] = result;
|
|
274
|
-
stringCacheEpochs[slot] = cacheEpoch;
|
|
269
|
+
const result = isBuffer$1
|
|
270
|
+
? payload$1.toString("utf-8", at, at + length)
|
|
271
|
+
: textDecoder$1.decode(payload$1.subarray(at, at + length));
|
|
272
|
+
if (stringCacheEpochs$1[slot] !== cacheEpoch$1) {
|
|
273
|
+
stringCache$1[slot] = result;
|
|
274
|
+
stringCacheEpochs$1[slot] = cacheEpoch$1;
|
|
275
275
|
}
|
|
276
276
|
return result;
|
|
277
277
|
}
|
|
278
278
|
function decodeUnstructuredByteString(at, to) {
|
|
279
|
-
const length = decodeCount(at, to);
|
|
279
|
+
const length = decodeCount$1(at, to);
|
|
280
280
|
const offset = _offset;
|
|
281
281
|
at += offset;
|
|
282
282
|
if (to - at < length) {
|
|
283
|
-
overflow(length);
|
|
283
|
+
overflow$1(length);
|
|
284
284
|
}
|
|
285
|
-
const value = payload.subarray(at, at + length);
|
|
285
|
+
const value = payload$1.subarray(at, at + length);
|
|
286
286
|
_offset = offset + length;
|
|
287
287
|
return value;
|
|
288
288
|
}
|
|
289
289
|
function decodeTagValue(at, to, minor, unsignedInt, offset) {
|
|
290
290
|
if (minor === 2 || minor === 3) {
|
|
291
|
-
const length = decodeCount(at + offset, to);
|
|
291
|
+
const length = decodeCount$1(at + offset, to);
|
|
292
292
|
let b = BigInt(0);
|
|
293
293
|
const start = at + offset + _offset;
|
|
294
294
|
for (let i = start; i < start + length; ++i) {
|
|
295
|
-
b = (b << BigInt(8)) | BigInt(payload[i]);
|
|
295
|
+
b = (b << BigInt(8)) | BigInt(payload$1[i]);
|
|
296
296
|
}
|
|
297
297
|
_offset = offset + _offset + length;
|
|
298
298
|
return minor === 3 ? -b - BigInt(1) : b;
|
|
299
299
|
}
|
|
300
300
|
else if (minor === 4) {
|
|
301
301
|
const decimalFraction = decode(at + offset, to);
|
|
302
|
-
const [
|
|
302
|
+
const [rawExponent, mantissa] = decimalFraction;
|
|
303
303
|
const normalizer = mantissa < 0 ? -1 : 1;
|
|
304
|
-
const
|
|
305
|
-
|
|
304
|
+
const absMantissa = BigInt(normalizer) * BigInt(mantissa);
|
|
305
|
+
const mantissaDigits = String(absMantissa);
|
|
306
306
|
const sign = mantissa < 0 ? "-" : "";
|
|
307
|
-
numericString
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
numericString =
|
|
317
|
-
|
|
318
|
-
|
|
307
|
+
let numericString;
|
|
308
|
+
const isSmallExponent = typeof rawExponent === "number" && Math.abs(rawExponent) <= 2 ** 28;
|
|
309
|
+
if (isSmallExponent) {
|
|
310
|
+
const exponent = rawExponent;
|
|
311
|
+
const mantissaStr = "0".repeat(Math.abs(exponent) + 1) + mantissaDigits;
|
|
312
|
+
numericString =
|
|
313
|
+
exponent === 0
|
|
314
|
+
? mantissaStr
|
|
315
|
+
: mantissaStr.slice(0, mantissaStr.length + exponent) + "." + mantissaStr.slice(exponent);
|
|
316
|
+
numericString = numericString.replace(/^0+/g, "");
|
|
317
|
+
if (numericString === "") {
|
|
318
|
+
numericString = "0";
|
|
319
|
+
}
|
|
320
|
+
if (numericString[0] === ".") {
|
|
321
|
+
numericString = "0" + numericString;
|
|
322
|
+
}
|
|
323
|
+
numericString = sign + numericString;
|
|
324
|
+
}
|
|
325
|
+
else {
|
|
326
|
+
const bigExponent = BigInt(rawExponent);
|
|
327
|
+
if (mantissaDigits.length === 1) {
|
|
328
|
+
numericString = sign + mantissaDigits + "e" + String(bigExponent);
|
|
329
|
+
}
|
|
330
|
+
else {
|
|
331
|
+
const adjustedExp = bigExponent + BigInt(mantissaDigits.length - 1);
|
|
332
|
+
numericString = sign + mantissaDigits[0] + "." + mantissaDigits.slice(1) + "e" + String(adjustedExp);
|
|
333
|
+
}
|
|
334
|
+
}
|
|
319
335
|
_offset = offset + _offset;
|
|
320
336
|
return nv(numericString);
|
|
321
337
|
}
|
|
@@ -323,11 +339,11 @@ function decodeTagValue(at, to, minor, unsignedInt, offset) {
|
|
|
323
339
|
const value = decode(at + offset, to);
|
|
324
340
|
const valueOffset = _offset;
|
|
325
341
|
_offset = offset + valueOffset;
|
|
326
|
-
return tag({ tag: castBigInt(unsignedInt), value });
|
|
342
|
+
return tag({ tag: castBigInt$1(unsignedInt), value });
|
|
327
343
|
}
|
|
328
344
|
}
|
|
329
345
|
function decodeSpecial(at, to) {
|
|
330
|
-
const minor = payload[at] & 0b0001_1111;
|
|
346
|
+
const minor = payload$1[at] & 0b0001_1111;
|
|
331
347
|
switch (minor) {
|
|
332
348
|
case specialTrue:
|
|
333
349
|
case specialFalse:
|
|
@@ -344,25 +360,25 @@ function decodeSpecial(at, to) {
|
|
|
344
360
|
throw new Error("incomplete float16 at end of buf.");
|
|
345
361
|
}
|
|
346
362
|
_offset = 3;
|
|
347
|
-
return bytesToFloat16(payload[at + 1], payload[at + 2]);
|
|
363
|
+
return bytesToFloat16$1(payload$1[at + 1], payload$1[at + 2]);
|
|
348
364
|
case extendedFloat32:
|
|
349
365
|
if (to - at < 5) {
|
|
350
366
|
throw new Error("incomplete float32 at end of buf.");
|
|
351
367
|
}
|
|
352
368
|
_offset = 5;
|
|
353
|
-
return dataView$
|
|
369
|
+
return dataView$2.getFloat32(at + 1);
|
|
354
370
|
case extendedFloat64:
|
|
355
371
|
if (to - at < 9) {
|
|
356
372
|
throw new Error("incomplete float64 at end of buf.");
|
|
357
373
|
}
|
|
358
374
|
_offset = 9;
|
|
359
|
-
return dataView$
|
|
375
|
+
return dataView$2.getFloat64(at + 1);
|
|
360
376
|
default:
|
|
361
377
|
unexpectedMinor(minor);
|
|
362
378
|
}
|
|
363
379
|
}
|
|
364
|
-
function decodeCount(at, to) {
|
|
365
|
-
const minor = payload[at] & 0b0001_1111;
|
|
380
|
+
function decodeCount$1(at, to) {
|
|
381
|
+
const minor = payload$1[at] & 0b0001_1111;
|
|
366
382
|
if (minor < 24) {
|
|
367
383
|
_offset = 1;
|
|
368
384
|
return minor;
|
|
@@ -370,28 +386,28 @@ function decodeCount(at, to) {
|
|
|
370
386
|
switch (minor) {
|
|
371
387
|
case extendedOneByte:
|
|
372
388
|
if (to - at < 2) {
|
|
373
|
-
overflow(1);
|
|
389
|
+
overflow$1(1);
|
|
374
390
|
}
|
|
375
391
|
_offset = 2;
|
|
376
|
-
return payload[at + 1];
|
|
392
|
+
return payload$1[at + 1];
|
|
377
393
|
case extendedFloat16:
|
|
378
394
|
if (to - at < 3) {
|
|
379
|
-
overflow(2);
|
|
395
|
+
overflow$1(2);
|
|
380
396
|
}
|
|
381
397
|
_offset = 3;
|
|
382
|
-
return dataView$
|
|
398
|
+
return dataView$2.getUint16(at + 1);
|
|
383
399
|
case extendedFloat32:
|
|
384
400
|
if (to - at < 5) {
|
|
385
|
-
overflow(4);
|
|
401
|
+
overflow$1(4);
|
|
386
402
|
}
|
|
387
403
|
_offset = 5;
|
|
388
|
-
return dataView$
|
|
404
|
+
return dataView$2.getUint32(at + 1);
|
|
389
405
|
case extendedFloat64:
|
|
390
406
|
if (to - at < 9) {
|
|
391
|
-
overflow(8);
|
|
407
|
+
overflow$1(8);
|
|
392
408
|
}
|
|
393
409
|
_offset = 9;
|
|
394
|
-
return demote(dataView$
|
|
410
|
+
return demote(dataView$2.getBigUint64(at + 1));
|
|
395
411
|
default:
|
|
396
412
|
unexpectedMinor(minor);
|
|
397
413
|
}
|
|
@@ -401,7 +417,7 @@ function decodeMapIndefinite(at, to) {
|
|
|
401
417
|
const base = at;
|
|
402
418
|
const map = {};
|
|
403
419
|
for (; at < to;) {
|
|
404
|
-
if (payload[at] === 0b1111_1111) {
|
|
420
|
+
if (payload$1[at] === 0b1111_1111) {
|
|
405
421
|
_offset = at - base + 2;
|
|
406
422
|
return map;
|
|
407
423
|
}
|
|
@@ -416,7 +432,7 @@ function decodeListIndefinite(at, to) {
|
|
|
416
432
|
at += 1;
|
|
417
433
|
const list = [];
|
|
418
434
|
for (const base = at; at < to;) {
|
|
419
|
-
if (payload[at] === 0b1111_1111) {
|
|
435
|
+
if (payload$1[at] === 0b1111_1111) {
|
|
420
436
|
_offset = at - base + 2;
|
|
421
437
|
return list;
|
|
422
438
|
}
|
|
@@ -429,17 +445,17 @@ function decodeUtf8StringIndefinite(at, to) {
|
|
|
429
445
|
at += 1;
|
|
430
446
|
const vector = [];
|
|
431
447
|
for (const base = at; at < to;) {
|
|
432
|
-
if (payload[at] === 0b1111_1111) {
|
|
448
|
+
if (payload$1[at] === 0b1111_1111) {
|
|
433
449
|
const data = alloc(vector.length);
|
|
434
450
|
data.set(vector, 0);
|
|
435
451
|
_offset = at - base + 2;
|
|
436
|
-
if (USE_BUFFER$
|
|
452
|
+
if (USE_BUFFER$3) {
|
|
437
453
|
return data.toString("utf-8", 0, data.length);
|
|
438
454
|
}
|
|
439
|
-
return textDecoder.decode(data);
|
|
455
|
+
return textDecoder$1.decode(data);
|
|
440
456
|
}
|
|
441
|
-
const major = (payload[at] & 0b1110_0000) >> 5;
|
|
442
|
-
const minor = payload[at] & 0b0001_1111;
|
|
457
|
+
const major = (payload$1[at] & 0b1110_0000) >> 5;
|
|
458
|
+
const minor = payload$1[at] & 0b0001_1111;
|
|
443
459
|
if (major !== majorUtf8String) {
|
|
444
460
|
unexpectedMajorInIndefiniteString(major);
|
|
445
461
|
}
|
|
@@ -459,14 +475,14 @@ function decodeUnstructuredByteStringIndefinite(at, to) {
|
|
|
459
475
|
at += 1;
|
|
460
476
|
const vector = [];
|
|
461
477
|
for (const base = at; at < to;) {
|
|
462
|
-
if (payload[at] === 0b1111_1111) {
|
|
478
|
+
if (payload$1[at] === 0b1111_1111) {
|
|
463
479
|
const data = alloc(vector.length);
|
|
464
480
|
data.set(vector, 0);
|
|
465
481
|
_offset = at - base + 2;
|
|
466
482
|
return data;
|
|
467
483
|
}
|
|
468
|
-
const major = (payload[at] & 0b1110_0000) >> 5;
|
|
469
|
-
const minor = payload[at] & 0b0001_1111;
|
|
484
|
+
const major = (payload$1[at] & 0b1110_0000) >> 5;
|
|
485
|
+
const minor = payload$1[at] & 0b0001_1111;
|
|
470
486
|
if (major !== majorUnstructuredByteString) {
|
|
471
487
|
unexpectedMajorInIndefiniteString(major);
|
|
472
488
|
}
|
|
@@ -482,7 +498,7 @@ function decodeUnstructuredByteStringIndefinite(at, to) {
|
|
|
482
498
|
}
|
|
483
499
|
throw new Error("expected break marker.");
|
|
484
500
|
}
|
|
485
|
-
function castBigInt(bigInt) {
|
|
501
|
+
function castBigInt$1(bigInt) {
|
|
486
502
|
if (typeof bigInt === "number") {
|
|
487
503
|
return bigInt;
|
|
488
504
|
}
|
|
@@ -499,7 +515,7 @@ function demote(bigInteger) {
|
|
|
499
515
|
}
|
|
500
516
|
return num;
|
|
501
517
|
}
|
|
502
|
-
function overflow(n) {
|
|
518
|
+
function overflow$1(n) {
|
|
503
519
|
throw new Error(`length ${n} greater than remaining buf len.`);
|
|
504
520
|
}
|
|
505
521
|
function unexpectedMinor(minor) {
|
|
@@ -509,25 +525,25 @@ function unexpectedMajorInIndefiniteString(major) {
|
|
|
509
525
|
throw new Error(`unexpected major type ${major} in indefinite string.`);
|
|
510
526
|
}
|
|
511
527
|
|
|
512
|
-
const USE_BUFFER = typeof Buffer !== "undefined";
|
|
528
|
+
const USE_BUFFER$2 = typeof Buffer !== "undefined";
|
|
513
529
|
const encodeStringCache = new Map();
|
|
514
|
-
let encodeCacheEpoch = 0;
|
|
515
|
-
let encodeCacheSaturated = false;
|
|
530
|
+
let encodeCacheEpoch$1 = 0;
|
|
531
|
+
let encodeCacheSaturated$1 = false;
|
|
516
532
|
const initialSize = 2048;
|
|
517
533
|
let data = alloc(initialSize);
|
|
518
|
-
let dataView = new DataView(data.buffer, data.byteOffset, data.byteLength);
|
|
519
|
-
let cursor = 0;
|
|
534
|
+
let dataView$1 = new DataView(data.buffer, data.byteOffset, data.byteLength);
|
|
535
|
+
let cursor$1 = 0;
|
|
520
536
|
function encode(_input) {
|
|
521
537
|
const encodeStack = [_input];
|
|
522
538
|
while (encodeStack.length) {
|
|
523
539
|
const input = encodeStack.pop();
|
|
524
540
|
if (typeof input === "string") {
|
|
525
541
|
const len = input.length;
|
|
526
|
-
if (USE_BUFFER) {
|
|
542
|
+
if (USE_BUFFER$2) {
|
|
527
543
|
ensureSpace(len * 3 + 9);
|
|
528
544
|
if (len > 23) {
|
|
529
|
-
encodeHeader(majorUtf8String, Buffer.byteLength(input));
|
|
530
|
-
cursor += data.write(input, cursor);
|
|
545
|
+
encodeHeader$1(majorUtf8String, Buffer.byteLength(input));
|
|
546
|
+
cursor$1 += data.write(input, cursor$1);
|
|
531
547
|
}
|
|
532
548
|
else {
|
|
533
549
|
encodeStringCached(input);
|
|
@@ -536,8 +552,8 @@ function encode(_input) {
|
|
|
536
552
|
else {
|
|
537
553
|
const maxBytes = len * 3;
|
|
538
554
|
ensureSpace(maxBytes + 9);
|
|
539
|
-
const headerPos = cursor;
|
|
540
|
-
const result = new TextEncoder().encodeInto(input, data.subarray(cursor + 9));
|
|
555
|
+
const headerPos = cursor$1;
|
|
556
|
+
const result = new TextEncoder().encodeInto(input, data.subarray(cursor$1 + 9));
|
|
541
557
|
const byteLen = result.written;
|
|
542
558
|
let headerSize;
|
|
543
559
|
if (byteLen < 24) {
|
|
@@ -558,50 +574,50 @@ function encode(_input) {
|
|
|
558
574
|
if (headerSize < 9) {
|
|
559
575
|
data.copyWithin(headerPos + headerSize, headerPos + 9, headerPos + 9 + byteLen);
|
|
560
576
|
}
|
|
561
|
-
cursor = headerPos;
|
|
577
|
+
cursor$1 = headerPos;
|
|
562
578
|
encodeInteger(majorUtf8String, byteLen);
|
|
563
|
-
cursor += byteLen;
|
|
579
|
+
cursor$1 += byteLen;
|
|
564
580
|
}
|
|
565
581
|
continue;
|
|
566
582
|
}
|
|
567
|
-
if (data.byteLength - cursor < 9) {
|
|
583
|
+
if (data.byteLength - cursor$1 < 9) {
|
|
568
584
|
ensureSpace(64);
|
|
569
585
|
}
|
|
570
586
|
if (typeof input === "number") {
|
|
571
|
-
if (Number.isInteger(input)) {
|
|
587
|
+
if (Number.isInteger(input) && input >= -9007199254740992 && input <= 0x1fffffffffffff) {
|
|
572
588
|
const nonNegative = input >= 0;
|
|
573
589
|
const major = nonNegative ? majorUint64 : majorNegativeInt64;
|
|
574
590
|
const value = nonNegative ? input : -input - 1;
|
|
575
591
|
if (value < 24) {
|
|
576
|
-
data[cursor++] = (major << 5) | value;
|
|
592
|
+
data[cursor$1++] = (major << 5) | value;
|
|
577
593
|
}
|
|
578
594
|
else if (value < 256) {
|
|
579
|
-
data[cursor++] = (major << 5) | 24;
|
|
580
|
-
data[cursor++] = value;
|
|
595
|
+
data[cursor$1++] = (major << 5) | 24;
|
|
596
|
+
data[cursor$1++] = value;
|
|
581
597
|
}
|
|
582
598
|
else if (value < 65536) {
|
|
583
|
-
data[cursor++] = (major << 5) | extendedFloat16;
|
|
584
|
-
data[cursor++] = value >> 8;
|
|
585
|
-
data[cursor++] = value & 0xff;
|
|
599
|
+
data[cursor$1++] = (major << 5) | extendedFloat16;
|
|
600
|
+
data[cursor$1++] = value >> 8;
|
|
601
|
+
data[cursor$1++] = value & 0xff;
|
|
586
602
|
}
|
|
587
603
|
else if (value < 4294967296) {
|
|
588
|
-
data[cursor++] = (major << 5) | extendedFloat32;
|
|
589
|
-
dataView.setUint32(cursor, value);
|
|
590
|
-
cursor += 4;
|
|
604
|
+
data[cursor$1++] = (major << 5) | extendedFloat32;
|
|
605
|
+
dataView$1.setUint32(cursor$1, value);
|
|
606
|
+
cursor$1 += 4;
|
|
591
607
|
}
|
|
592
608
|
else {
|
|
593
|
-
data[cursor++] = (major << 5) | extendedFloat64;
|
|
609
|
+
data[cursor$1++] = (major << 5) | extendedFloat64;
|
|
594
610
|
const hi = (value / 4294967296) | 0;
|
|
595
611
|
const lo = (value - hi * 4294967296) | 0;
|
|
596
|
-
dataView.setUint32(cursor, hi);
|
|
597
|
-
dataView.setUint32(cursor + 4, lo);
|
|
598
|
-
cursor += 8;
|
|
612
|
+
dataView$1.setUint32(cursor$1, hi);
|
|
613
|
+
dataView$1.setUint32(cursor$1 + 4, lo);
|
|
614
|
+
cursor$1 += 8;
|
|
599
615
|
}
|
|
600
616
|
continue;
|
|
601
617
|
}
|
|
602
|
-
data[cursor++] = (majorSpecial << 5) | extendedFloat64;
|
|
603
|
-
dataView.setFloat64(cursor, input);
|
|
604
|
-
cursor += 8;
|
|
618
|
+
data[cursor$1++] = (majorSpecial << 5) | extendedFloat64;
|
|
619
|
+
dataView$1.setFloat64(cursor$1, input);
|
|
620
|
+
cursor$1 += 8;
|
|
605
621
|
continue;
|
|
606
622
|
}
|
|
607
623
|
else if (typeof input === "bigint") {
|
|
@@ -614,9 +630,9 @@ function encode(_input) {
|
|
|
614
630
|
encodeInteger(major, n);
|
|
615
631
|
}
|
|
616
632
|
else {
|
|
617
|
-
data[cursor++] = (major << 5) | extendedFloat64;
|
|
618
|
-
dataView.setBigUint64(cursor, value);
|
|
619
|
-
cursor += 8;
|
|
633
|
+
data[cursor$1++] = (major << 5) | extendedFloat64;
|
|
634
|
+
dataView$1.setBigUint64(cursor$1, value);
|
|
635
|
+
cursor$1 += 8;
|
|
620
636
|
}
|
|
621
637
|
}
|
|
622
638
|
else {
|
|
@@ -629,19 +645,19 @@ function encode(_input) {
|
|
|
629
645
|
b >>= BigInt(8);
|
|
630
646
|
}
|
|
631
647
|
ensureSpace(bigIntBytes.byteLength * 2 + 16);
|
|
632
|
-
data[cursor++] = nonNegative ? 0b110_00010 : 0b110_00011;
|
|
633
|
-
encodeHeader(majorUnstructuredByteString, bigIntBytes.byteLength);
|
|
634
|
-
data.set(bigIntBytes, cursor);
|
|
635
|
-
cursor += bigIntBytes.byteLength;
|
|
648
|
+
data[cursor$1++] = nonNegative ? 0b110_00010 : 0b110_00011;
|
|
649
|
+
encodeHeader$1(majorUnstructuredByteString, bigIntBytes.byteLength);
|
|
650
|
+
data.set(bigIntBytes, cursor$1);
|
|
651
|
+
cursor$1 += bigIntBytes.byteLength;
|
|
636
652
|
}
|
|
637
653
|
continue;
|
|
638
654
|
}
|
|
639
655
|
else if (input === null) {
|
|
640
|
-
data[cursor++] = (majorSpecial << 5) | specialNull;
|
|
656
|
+
data[cursor$1++] = (majorSpecial << 5) | specialNull;
|
|
641
657
|
continue;
|
|
642
658
|
}
|
|
643
659
|
else if (typeof input === "boolean") {
|
|
644
|
-
data[cursor++] = (majorSpecial << 5) | (input ? specialTrue : specialFalse);
|
|
660
|
+
data[cursor$1++] = (majorSpecial << 5) | (input ? specialTrue : specialFalse);
|
|
645
661
|
continue;
|
|
646
662
|
}
|
|
647
663
|
else if (typeof input === "undefined") {
|
|
@@ -658,25 +674,33 @@ function encode(_input) {
|
|
|
658
674
|
else if (typeof input.byteLength === "number") {
|
|
659
675
|
ensureSpace(input.length * 2 + 9);
|
|
660
676
|
encodeInteger(majorUnstructuredByteString, input.length);
|
|
661
|
-
data.set(input, cursor);
|
|
662
|
-
cursor += input.byteLength;
|
|
677
|
+
data.set(input, cursor$1);
|
|
678
|
+
cursor$1 += input.byteLength;
|
|
663
679
|
continue;
|
|
664
680
|
}
|
|
665
681
|
else if (typeof input === "object") {
|
|
666
682
|
if (input instanceof NumericValue) {
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
const
|
|
670
|
-
|
|
683
|
+
let str = input.string;
|
|
684
|
+
let expOffset = BigInt(0);
|
|
685
|
+
const eIndex = str.search(/[eE]/);
|
|
686
|
+
if (eIndex !== -1) {
|
|
687
|
+
expOffset = BigInt(str.slice(eIndex + 1));
|
|
688
|
+
str = str.slice(0, eIndex);
|
|
689
|
+
}
|
|
690
|
+
const decimalIndex = str.indexOf(".");
|
|
691
|
+
const fractionDigits = decimalIndex === -1 ? 0 : str.length - decimalIndex - 1;
|
|
692
|
+
const exponent = expOffset - BigInt(fractionDigits);
|
|
693
|
+
const mantissa = BigInt(str.replace(".", ""));
|
|
694
|
+
data[cursor$1++] = 0b110_00100;
|
|
671
695
|
encodeInteger(majorList, 2);
|
|
672
696
|
encodeStack.push(mantissa);
|
|
673
|
-
encodeStack.push(exponent);
|
|
697
|
+
encodeStack.push(exponent >= -0x20000000000000n && exponent <= 0x1fffffffffffffn ? Number(exponent) : exponent);
|
|
674
698
|
continue;
|
|
675
699
|
}
|
|
676
700
|
if (input[tagSymbol]) {
|
|
677
701
|
if ("tag" in input && "value" in input) {
|
|
678
702
|
encodeStack.push(input.value);
|
|
679
|
-
encodeHeader(majorTag, input.tag);
|
|
703
|
+
encodeHeader$1(majorTag, input.tag);
|
|
680
704
|
continue;
|
|
681
705
|
}
|
|
682
706
|
else {
|
|
@@ -696,13 +720,13 @@ function encode(_input) {
|
|
|
696
720
|
}
|
|
697
721
|
}
|
|
698
722
|
function advanceEncodingEpoch() {
|
|
699
|
-
encodeCacheEpoch = (encodeCacheEpoch + 1) & 0b1111_1111_1111_1111;
|
|
700
|
-
encodeCacheSaturated = false;
|
|
723
|
+
encodeCacheEpoch$1 = (encodeCacheEpoch$1 + 1) & 0b1111_1111_1111_1111;
|
|
724
|
+
encodeCacheSaturated$1 = false;
|
|
701
725
|
}
|
|
702
726
|
function toUint8Array() {
|
|
703
|
-
const out = alloc(cursor);
|
|
704
|
-
out.set(data.subarray(0, cursor), 0);
|
|
705
|
-
cursor = 0;
|
|
727
|
+
const out = alloc(cursor$1);
|
|
728
|
+
out.set(data.subarray(0, cursor$1), 0);
|
|
729
|
+
cursor$1 = 0;
|
|
706
730
|
return out;
|
|
707
731
|
}
|
|
708
732
|
function resize(size) {
|
|
@@ -716,23 +740,23 @@ function resize(size) {
|
|
|
716
740
|
data.set(old, 0);
|
|
717
741
|
}
|
|
718
742
|
}
|
|
719
|
-
dataView = new DataView(data.buffer, data.byteOffset, data.byteLength);
|
|
743
|
+
dataView$1 = new DataView(data.buffer, data.byteOffset, data.byteLength);
|
|
720
744
|
}
|
|
721
745
|
function encodeStringCached(input) {
|
|
722
746
|
const cached = encodeStringCache.get(input);
|
|
723
747
|
if (cached !== undefined) {
|
|
724
|
-
data.set(cached.bytes, cursor);
|
|
725
|
-
cursor += cached.bytes.length;
|
|
726
|
-
cached.epoch = encodeCacheEpoch;
|
|
748
|
+
data.set(cached.bytes, cursor$1);
|
|
749
|
+
cursor$1 += cached.bytes.length;
|
|
750
|
+
cached.epoch = encodeCacheEpoch$1;
|
|
727
751
|
return;
|
|
728
752
|
}
|
|
729
|
-
const start = cursor;
|
|
753
|
+
const start = cursor$1;
|
|
730
754
|
const byteLen = Buffer.byteLength(input);
|
|
731
755
|
encodeInteger(majorUtf8String, byteLen);
|
|
732
|
-
cursor += data.write(input, cursor);
|
|
733
|
-
const bytes = Uint8Array.prototype.slice.call(data, start, cursor);
|
|
756
|
+
cursor$1 += data.write(input, cursor$1);
|
|
757
|
+
const bytes = Uint8Array.prototype.slice.call(data, start, cursor$1);
|
|
734
758
|
if (encodeStringCache.size >= 2048) {
|
|
735
|
-
if (encodeCacheSaturated) {
|
|
759
|
+
if (encodeCacheSaturated$1) {
|
|
736
760
|
return;
|
|
737
761
|
}
|
|
738
762
|
let evicted = 0;
|
|
@@ -740,24 +764,24 @@ function encodeStringCached(input) {
|
|
|
740
764
|
if (evicted >= 1024) {
|
|
741
765
|
break;
|
|
742
766
|
}
|
|
743
|
-
if (entry.epoch !== encodeCacheEpoch) {
|
|
767
|
+
if (entry.epoch !== encodeCacheEpoch$1) {
|
|
744
768
|
encodeStringCache.delete(key);
|
|
745
769
|
evicted++;
|
|
746
770
|
}
|
|
747
771
|
}
|
|
748
772
|
if (evicted === 0) {
|
|
749
|
-
encodeCacheSaturated = true;
|
|
773
|
+
encodeCacheSaturated$1 = true;
|
|
750
774
|
return;
|
|
751
775
|
}
|
|
752
776
|
}
|
|
753
777
|
if (encodeStringCache.size < 2048) {
|
|
754
|
-
encodeStringCache.set(input, { epoch: encodeCacheEpoch, bytes });
|
|
778
|
+
encodeStringCache.set(input, { epoch: encodeCacheEpoch$1, bytes });
|
|
755
779
|
}
|
|
756
780
|
}
|
|
757
781
|
function ensureSpace(bytes) {
|
|
758
|
-
const remaining = data.byteLength - cursor;
|
|
782
|
+
const remaining = data.byteLength - cursor$1;
|
|
759
783
|
if (remaining < bytes) {
|
|
760
|
-
if (cursor < 16_000_000) {
|
|
784
|
+
if (cursor$1 < 16_000_000) {
|
|
761
785
|
resize(Math.max(data.byteLength * 4, data.byteLength + bytes));
|
|
762
786
|
}
|
|
763
787
|
else {
|
|
@@ -765,55 +789,55 @@ function ensureSpace(bytes) {
|
|
|
765
789
|
}
|
|
766
790
|
}
|
|
767
791
|
}
|
|
768
|
-
function encodeHeader(major, value) {
|
|
792
|
+
function encodeHeader$1(major, value) {
|
|
769
793
|
if (value < 24) {
|
|
770
|
-
data[cursor++] = (major << 5) | value;
|
|
794
|
+
data[cursor$1++] = (major << 5) | value;
|
|
771
795
|
}
|
|
772
796
|
else if (value < 256) {
|
|
773
|
-
data[cursor++] = (major << 5) | 24;
|
|
774
|
-
data[cursor++] = value;
|
|
797
|
+
data[cursor$1++] = (major << 5) | 24;
|
|
798
|
+
data[cursor$1++] = value;
|
|
775
799
|
}
|
|
776
800
|
else if (value < 65536) {
|
|
777
|
-
data[cursor++] = (major << 5) | extendedFloat16;
|
|
778
|
-
dataView.setUint16(cursor, value);
|
|
779
|
-
cursor += 2;
|
|
801
|
+
data[cursor$1++] = (major << 5) | extendedFloat16;
|
|
802
|
+
dataView$1.setUint16(cursor$1, value);
|
|
803
|
+
cursor$1 += 2;
|
|
780
804
|
}
|
|
781
805
|
else if (value < 4294967296) {
|
|
782
|
-
data[cursor++] = (major << 5) | extendedFloat32;
|
|
783
|
-
dataView.setUint32(cursor, value);
|
|
784
|
-
cursor += 4;
|
|
806
|
+
data[cursor$1++] = (major << 5) | extendedFloat32;
|
|
807
|
+
dataView$1.setUint32(cursor$1, value);
|
|
808
|
+
cursor$1 += 4;
|
|
785
809
|
}
|
|
786
810
|
else {
|
|
787
|
-
data[cursor++] = (major << 5) | extendedFloat64;
|
|
788
|
-
dataView.setBigUint64(cursor, typeof value === "bigint" ? value : BigInt(value));
|
|
789
|
-
cursor += 8;
|
|
811
|
+
data[cursor$1++] = (major << 5) | extendedFloat64;
|
|
812
|
+
dataView$1.setBigUint64(cursor$1, typeof value === "bigint" ? value : BigInt(value));
|
|
813
|
+
cursor$1 += 8;
|
|
790
814
|
}
|
|
791
815
|
}
|
|
792
816
|
function encodeInteger(major, value) {
|
|
793
817
|
if (value < 24) {
|
|
794
|
-
data[cursor++] = (major << 5) | value;
|
|
818
|
+
data[cursor$1++] = (major << 5) | value;
|
|
795
819
|
}
|
|
796
820
|
else if (value < 256) {
|
|
797
|
-
data[cursor++] = (major << 5) | 24;
|
|
798
|
-
data[cursor++] = value;
|
|
821
|
+
data[cursor$1++] = (major << 5) | 24;
|
|
822
|
+
data[cursor$1++] = value;
|
|
799
823
|
}
|
|
800
824
|
else if (value < 65536) {
|
|
801
|
-
data[cursor++] = (major << 5) | extendedFloat16;
|
|
802
|
-
data[cursor++] = value >> 8;
|
|
803
|
-
data[cursor++] = value & 0xff;
|
|
825
|
+
data[cursor$1++] = (major << 5) | extendedFloat16;
|
|
826
|
+
data[cursor$1++] = value >> 8;
|
|
827
|
+
data[cursor$1++] = value & 0xff;
|
|
804
828
|
}
|
|
805
829
|
else if (value < 4294967296) {
|
|
806
|
-
data[cursor++] = (major << 5) | extendedFloat32;
|
|
807
|
-
dataView.setUint32(cursor, value);
|
|
808
|
-
cursor += 4;
|
|
830
|
+
data[cursor$1++] = (major << 5) | extendedFloat32;
|
|
831
|
+
dataView$1.setUint32(cursor$1, value);
|
|
832
|
+
cursor$1 += 4;
|
|
809
833
|
}
|
|
810
834
|
else {
|
|
811
|
-
data[cursor++] = (major << 5) | extendedFloat64;
|
|
835
|
+
data[cursor$1++] = (major << 5) | extendedFloat64;
|
|
812
836
|
const hi = (value / 4294967296) | 0;
|
|
813
837
|
const lo = (value - hi * 4294967296) | 0;
|
|
814
|
-
dataView.setUint32(cursor, hi);
|
|
815
|
-
dataView.setUint32(cursor + 4, lo);
|
|
816
|
-
cursor += 8;
|
|
838
|
+
dataView$1.setUint32(cursor$1, hi);
|
|
839
|
+
dataView$1.setUint32(cursor$1 + 4, lo);
|
|
840
|
+
cursor$1 += 8;
|
|
817
841
|
}
|
|
818
842
|
}
|
|
819
843
|
|
|
@@ -888,6 +912,8 @@ const loadSmithyRpcV2CborErrorCode = (output, data) => {
|
|
|
888
912
|
}
|
|
889
913
|
let codeKey;
|
|
890
914
|
for (const key in data) {
|
|
915
|
+
if (!hasOwn(data, key))
|
|
916
|
+
continue;
|
|
891
917
|
if (key.toLowerCase() === "code") {
|
|
892
918
|
codeKey = key;
|
|
893
919
|
break;
|
|
@@ -920,6 +946,8 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
920
946
|
}
|
|
921
947
|
if (endpoint.headers) {
|
|
922
948
|
for (const name in endpoint.headers) {
|
|
949
|
+
if (!hasOwn(endpoint.headers, name))
|
|
950
|
+
continue;
|
|
923
951
|
contents.headers[name] = endpoint.headers[name];
|
|
924
952
|
}
|
|
925
953
|
}
|
|
@@ -928,221 +956,1279 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
928
956
|
try {
|
|
929
957
|
contents.headers["content-length"] = String(calculateBodyLength(body));
|
|
930
958
|
}
|
|
931
|
-
catch (
|
|
959
|
+
catch (ignored) { }
|
|
932
960
|
}
|
|
933
961
|
return new HttpRequest(contents);
|
|
934
962
|
};
|
|
935
963
|
|
|
936
|
-
class
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
964
|
+
class CborShapeSerializer2 extends SerdeContext {
|
|
965
|
+
write(schema, value) {
|
|
966
|
+
cursor = 0;
|
|
967
|
+
const ns = NormalizedSchema.of(schema);
|
|
968
|
+
writeValue(ns, value, undefined, this.serdeContext);
|
|
941
969
|
}
|
|
942
|
-
|
|
943
|
-
const
|
|
944
|
-
|
|
945
|
-
|
|
970
|
+
flush() {
|
|
971
|
+
const result = buf.subarray(0, cursor);
|
|
972
|
+
cursor = 0;
|
|
973
|
+
buf = allocUnsafe(INITIAL_BUFFER_SIZE);
|
|
974
|
+
view = new DataView(buf.buffer, buf.byteOffset, buf.byteLength);
|
|
975
|
+
return result;
|
|
946
976
|
}
|
|
947
977
|
}
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
978
|
+
const CBOR_STRUCT_CACHE = Symbol.for("@smithy/cbor-struct-cache");
|
|
979
|
+
function loadCborStructIterator(ns) {
|
|
980
|
+
const schema = ns.getSchema();
|
|
981
|
+
const existing = schema[CBOR_STRUCT_CACHE];
|
|
982
|
+
if (existing) {
|
|
983
|
+
return existing;
|
|
984
|
+
}
|
|
985
|
+
const memberNames = [];
|
|
986
|
+
const memberSchemas = [];
|
|
987
|
+
for (const [name, memberSchema] of ns.structIterator()) {
|
|
988
|
+
memberNames.push(name);
|
|
989
|
+
memberSchemas.push(memberSchema);
|
|
990
|
+
}
|
|
991
|
+
const encodedKeys = new Array(memberNames.length);
|
|
992
|
+
for (let i = 0; i < memberNames.length; ++i) {
|
|
993
|
+
encodedKeys[i] = encodeCborStringKey(memberNames[i]);
|
|
994
|
+
}
|
|
995
|
+
const cache = { memberNames, memberSchemas, encodedKeys };
|
|
996
|
+
schema[CBOR_STRUCT_CACHE] = cache;
|
|
997
|
+
return cache;
|
|
998
|
+
}
|
|
999
|
+
function encodeCborStringKey(s) {
|
|
1000
|
+
let utf8Bytes;
|
|
1001
|
+
if (USE_BUFFER$1) {
|
|
1002
|
+
utf8Bytes = Buffer.from(s, "utf-8");
|
|
952
1003
|
}
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
1004
|
+
else {
|
|
1005
|
+
utf8Bytes = new TextEncoder().encode(s);
|
|
1006
|
+
}
|
|
1007
|
+
const byteLen = utf8Bytes.length;
|
|
1008
|
+
let headerSize;
|
|
1009
|
+
if (byteLen < 24) {
|
|
1010
|
+
headerSize = 1;
|
|
1011
|
+
}
|
|
1012
|
+
else if (byteLen < 256) {
|
|
1013
|
+
headerSize = 2;
|
|
1014
|
+
}
|
|
1015
|
+
else {
|
|
1016
|
+
headerSize = 3;
|
|
1017
|
+
}
|
|
1018
|
+
const result = new Uint8Array(headerSize + byteLen);
|
|
1019
|
+
if (headerSize === 1) {
|
|
1020
|
+
result[0] = (majorUtf8String << 5) | byteLen;
|
|
1021
|
+
}
|
|
1022
|
+
else if (headerSize === 2) {
|
|
1023
|
+
result[0] = (majorUtf8String << 5) | 24;
|
|
1024
|
+
result[1] = byteLen;
|
|
1025
|
+
}
|
|
1026
|
+
else {
|
|
1027
|
+
result[0] = (majorUtf8String << 5) | extendedFloat16;
|
|
1028
|
+
result[1] = byteLen >> 8;
|
|
1029
|
+
result[2] = byteLen & 0xff;
|
|
1030
|
+
}
|
|
1031
|
+
result.set(utf8Bytes, headerSize);
|
|
1032
|
+
return result;
|
|
1033
|
+
}
|
|
1034
|
+
const USE_BUFFER$1 = typeof Buffer !== "undefined";
|
|
1035
|
+
const textEncoder = new TextEncoder();
|
|
1036
|
+
const INITIAL_BUFFER_SIZE = 2048;
|
|
1037
|
+
let buf = USE_BUFFER$1 ? Buffer.allocUnsafe(INITIAL_BUFFER_SIZE) : new Uint8Array(INITIAL_BUFFER_SIZE);
|
|
1038
|
+
let view = new DataView(buf.buffer, buf.byteOffset, buf.byteLength);
|
|
1039
|
+
let cursor = 0;
|
|
1040
|
+
const STRING_CACHE_MAX = 2048;
|
|
1041
|
+
const stringEncodeCache = new Map();
|
|
1042
|
+
let encodeCacheEpoch = 0;
|
|
1043
|
+
let encodeCacheSaturated = false;
|
|
1044
|
+
function allocUnsafe(size) {
|
|
1045
|
+
return USE_BUFFER$1 ? Buffer.allocUnsafe(size) : new Uint8Array(size);
|
|
1046
|
+
}
|
|
1047
|
+
function writeValue(ns, value, container, serdeContext) {
|
|
1048
|
+
if (value == null) {
|
|
1049
|
+
if (value === undefined && ns.isIdempotencyToken()) {
|
|
1050
|
+
writeString(generateIdempotencyToken());
|
|
1051
|
+
return;
|
|
960
1052
|
}
|
|
1053
|
+
ensure(1);
|
|
1054
|
+
buf[cursor++] = (majorSpecial << 5) | specialNull;
|
|
1055
|
+
return;
|
|
1056
|
+
}
|
|
1057
|
+
if (ns.isUnitSchema()) {
|
|
1058
|
+
ensure(1);
|
|
1059
|
+
encodeHeader(majorMap, 0);
|
|
1060
|
+
return;
|
|
1061
|
+
}
|
|
1062
|
+
const isObject = typeof value === "object";
|
|
1063
|
+
if (isObject) {
|
|
961
1064
|
if (ns.isBlobSchema()) {
|
|
962
|
-
if (
|
|
963
|
-
|
|
1065
|
+
if (value instanceof Uint8Array) {
|
|
1066
|
+
writeBytes(value);
|
|
1067
|
+
return;
|
|
964
1068
|
}
|
|
965
|
-
return source;
|
|
966
1069
|
}
|
|
967
1070
|
if (ns.isTimestampSchema()) {
|
|
968
|
-
if (
|
|
969
|
-
|
|
1071
|
+
if (value instanceof Date) {
|
|
1072
|
+
writeTimestamp(value);
|
|
1073
|
+
return;
|
|
970
1074
|
}
|
|
971
|
-
return dateToTag(source);
|
|
972
1075
|
}
|
|
973
|
-
if (
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
1076
|
+
if (ns.isStructSchema()) {
|
|
1077
|
+
writeStruct(ns, value, serdeContext);
|
|
1078
|
+
return;
|
|
1079
|
+
}
|
|
1080
|
+
if (Array.isArray(value) && (ns.isListSchema() || ns.isDocumentSchema())) {
|
|
1081
|
+
writeList(ns, value, ns.isDocumentSchema(), serdeContext);
|
|
1082
|
+
return;
|
|
1083
|
+
}
|
|
1084
|
+
if (ns.isMapSchema()) {
|
|
1085
|
+
writeMap(ns, value, false, serdeContext);
|
|
1086
|
+
return;
|
|
1087
|
+
}
|
|
1088
|
+
if (value instanceof Date) {
|
|
1089
|
+
writeTimestamp(value);
|
|
1090
|
+
return;
|
|
1091
|
+
}
|
|
1092
|
+
if (value instanceof Uint8Array) {
|
|
1093
|
+
writeBytes(value);
|
|
1094
|
+
return;
|
|
1095
|
+
}
|
|
1096
|
+
if (value instanceof NumericValue) {
|
|
1097
|
+
writeNumericValue(value);
|
|
1098
|
+
return;
|
|
1099
|
+
}
|
|
1100
|
+
if (value[tagSymbol]) {
|
|
1101
|
+
const tagged = value;
|
|
1102
|
+
writeTag(tagged.tag, tagged.value);
|
|
1103
|
+
return;
|
|
1104
|
+
}
|
|
1105
|
+
if (ns.isDocumentSchema()) {
|
|
1106
|
+
if (Array.isArray(value)) {
|
|
1107
|
+
writeList(ns, value, true, serdeContext);
|
|
989
1108
|
}
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
const sparse = !!ns.getMergedTraits().sparse;
|
|
993
|
-
for (const key in sourceObject) {
|
|
994
|
-
const value = this.serialize(ns.getValueSchema(), sourceObject[key]);
|
|
995
|
-
if (value != null || sparse) {
|
|
996
|
-
newObject[key] = value;
|
|
997
|
-
}
|
|
998
|
-
}
|
|
1109
|
+
else {
|
|
1110
|
+
writeMap(ns, value, true, serdeContext);
|
|
999
1111
|
}
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1112
|
+
return;
|
|
1113
|
+
}
|
|
1114
|
+
if (ns.isBigDecimalSchema()) {
|
|
1115
|
+
writeUntypedValue(value);
|
|
1116
|
+
return;
|
|
1117
|
+
}
|
|
1118
|
+
writeMap(ns, value, true, serdeContext);
|
|
1119
|
+
return;
|
|
1120
|
+
}
|
|
1121
|
+
if (typeof value === "string") {
|
|
1122
|
+
if (ns.isBlobSchema()) {
|
|
1123
|
+
const bytes = (serdeContext?.base64Decoder ?? fromBase64)(value);
|
|
1124
|
+
writeBytes(bytes);
|
|
1125
|
+
return;
|
|
1126
|
+
}
|
|
1127
|
+
writeString(value);
|
|
1128
|
+
return;
|
|
1129
|
+
}
|
|
1130
|
+
if (typeof value === "number") {
|
|
1131
|
+
ensure(9);
|
|
1132
|
+
if (Number.isInteger(value) && value >= -9007199254740992 && value <= 0x1fffffffffffff) {
|
|
1133
|
+
writeInteger(value);
|
|
1134
|
+
}
|
|
1135
|
+
else {
|
|
1136
|
+
writeFloat64(value);
|
|
1137
|
+
}
|
|
1138
|
+
return;
|
|
1139
|
+
}
|
|
1140
|
+
if (typeof value === "boolean") {
|
|
1141
|
+
ensure(1);
|
|
1142
|
+
buf[cursor++] = (majorSpecial << 5) | (value ? specialTrue : specialFalse);
|
|
1143
|
+
return;
|
|
1144
|
+
}
|
|
1145
|
+
if (typeof value === "bigint") {
|
|
1146
|
+
writeBigInt(value);
|
|
1147
|
+
return;
|
|
1148
|
+
}
|
|
1149
|
+
writeString(String(value));
|
|
1150
|
+
}
|
|
1151
|
+
function writeStruct(ns, value, serdeContext) {
|
|
1152
|
+
if (ns.isUnionSchema()) {
|
|
1153
|
+
let wrote = false;
|
|
1154
|
+
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
1155
|
+
const item = value[memberName];
|
|
1156
|
+
if (item != null) {
|
|
1157
|
+
ensure(9);
|
|
1158
|
+
encodeHeader(majorMap, 1);
|
|
1159
|
+
writeString(memberName);
|
|
1160
|
+
writeValue(memberSchema, item, ns, serdeContext);
|
|
1161
|
+
wrote = true;
|
|
1162
|
+
break;
|
|
1019
1163
|
}
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1164
|
+
}
|
|
1165
|
+
if (!wrote) {
|
|
1166
|
+
const { $unknown } = value;
|
|
1167
|
+
if (Array.isArray($unknown)) {
|
|
1168
|
+
ensure(9);
|
|
1169
|
+
encodeHeader(majorMap, 1);
|
|
1170
|
+
writeString($unknown[0]);
|
|
1171
|
+
writeUntypedValue($unknown[1]);
|
|
1024
1172
|
}
|
|
1025
|
-
else
|
|
1026
|
-
|
|
1173
|
+
else {
|
|
1174
|
+
ensure(9);
|
|
1175
|
+
encodeHeader(majorMap, 0);
|
|
1027
1176
|
}
|
|
1028
|
-
return newObject;
|
|
1029
1177
|
}
|
|
1030
|
-
return
|
|
1178
|
+
return;
|
|
1031
1179
|
}
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1180
|
+
const cache = loadCborStructIterator(ns);
|
|
1181
|
+
const { memberNames, memberSchemas, encodedKeys } = cache;
|
|
1182
|
+
const z = memberNames.length;
|
|
1183
|
+
let headerSize;
|
|
1184
|
+
if (z < 24) {
|
|
1185
|
+
headerSize = 1;
|
|
1036
1186
|
}
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
read(schema, bytes) {
|
|
1040
|
-
const data = cbor.deserialize(bytes);
|
|
1041
|
-
return this.readValue(schema, data);
|
|
1187
|
+
else if (z < 256) {
|
|
1188
|
+
headerSize = 2;
|
|
1042
1189
|
}
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1190
|
+
else {
|
|
1191
|
+
headerSize = 3;
|
|
1192
|
+
}
|
|
1193
|
+
ensure(headerSize);
|
|
1194
|
+
const headerPos = cursor;
|
|
1195
|
+
cursor += headerSize;
|
|
1196
|
+
let count = 0;
|
|
1197
|
+
for (let i = 0; i < z; ++i) {
|
|
1198
|
+
const item = value[memberNames[i]];
|
|
1199
|
+
if (item == null && !memberSchemas[i].isIdempotencyToken()) {
|
|
1200
|
+
continue;
|
|
1201
|
+
}
|
|
1202
|
+
const key = encodedKeys[i];
|
|
1203
|
+
ensure(key.length);
|
|
1204
|
+
buf.set(key, cursor);
|
|
1205
|
+
cursor += key.length;
|
|
1206
|
+
writeValue(memberSchemas[i], item, ns, serdeContext);
|
|
1207
|
+
++count;
|
|
1208
|
+
}
|
|
1209
|
+
if (typeof value.__type === "string") {
|
|
1210
|
+
for (const k in value) {
|
|
1211
|
+
if (!hasOwn(value, k))
|
|
1212
|
+
continue;
|
|
1213
|
+
if (!memberNames.includes(k)) {
|
|
1214
|
+
writeString(k);
|
|
1215
|
+
writeUntypedValue(value[k]);
|
|
1216
|
+
++count;
|
|
1048
1217
|
}
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1218
|
+
}
|
|
1219
|
+
}
|
|
1220
|
+
if (headerSize === 1) {
|
|
1221
|
+
buf[headerPos] = (majorMap << 5) | count;
|
|
1222
|
+
}
|
|
1223
|
+
else if (headerSize === 2) {
|
|
1224
|
+
buf[headerPos] = (majorMap << 5) | 24;
|
|
1225
|
+
buf[headerPos + 1] = count;
|
|
1226
|
+
}
|
|
1227
|
+
else {
|
|
1228
|
+
buf[headerPos] = (majorMap << 5) | extendedFloat16;
|
|
1229
|
+
buf[headerPos + 1] = count >> 8;
|
|
1230
|
+
buf[headerPos + 2] = count & 0xff;
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
function writeList(ns, value, isDocument, serdeContext) {
|
|
1234
|
+
const sparse = !!ns.getMergedTraits().sparse;
|
|
1235
|
+
const valueSchema = ns.getValueSchema();
|
|
1236
|
+
if (isDocument || sparse) {
|
|
1237
|
+
const items = [];
|
|
1238
|
+
for (let i = 0; i < value.length; ++i) {
|
|
1239
|
+
const item = value[i];
|
|
1240
|
+
if (isDocument) {
|
|
1241
|
+
if (item !== undefined) {
|
|
1242
|
+
items.push(item);
|
|
1052
1243
|
}
|
|
1053
1244
|
}
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1245
|
+
else {
|
|
1246
|
+
if (item != null || sparse) {
|
|
1247
|
+
items.push(item);
|
|
1248
|
+
}
|
|
1058
1249
|
}
|
|
1059
|
-
return value;
|
|
1060
1250
|
}
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
typeof value === "bigint" ||
|
|
1066
|
-
typeof value === "symbol") {
|
|
1067
|
-
return value;
|
|
1251
|
+
ensure(9);
|
|
1252
|
+
encodeHeader(majorList, items.length);
|
|
1253
|
+
for (let i = 0; i < items.length; ++i) {
|
|
1254
|
+
writeValue(valueSchema, items[i], undefined, serdeContext);
|
|
1068
1255
|
}
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
if (
|
|
1074
|
-
|
|
1075
|
-
}
|
|
1076
|
-
if (value instanceof Date) {
|
|
1077
|
-
return value;
|
|
1078
|
-
}
|
|
1079
|
-
if (ns.isDocumentSchema()) {
|
|
1080
|
-
return value;
|
|
1256
|
+
}
|
|
1257
|
+
else {
|
|
1258
|
+
let count = 0;
|
|
1259
|
+
for (let i = 0; i < value.length; ++i) {
|
|
1260
|
+
if (value[i] != null) {
|
|
1261
|
+
++count;
|
|
1081
1262
|
}
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
}
|
|
1089
|
-
return newArray;
|
|
1263
|
+
}
|
|
1264
|
+
ensure(9);
|
|
1265
|
+
encodeHeader(majorList, count);
|
|
1266
|
+
for (let i = 0; i < value.length; ++i) {
|
|
1267
|
+
if (value[i] != null) {
|
|
1268
|
+
writeValue(valueSchema, value[i], undefined, serdeContext);
|
|
1090
1269
|
}
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1270
|
+
}
|
|
1271
|
+
}
|
|
1272
|
+
}
|
|
1273
|
+
function writeMap(ns, value, isDocument, serdeContext) {
|
|
1274
|
+
const sparse = !!ns.getMergedTraits().sparse;
|
|
1275
|
+
const valueSchema = ns.getValueSchema();
|
|
1276
|
+
const keys = [];
|
|
1277
|
+
for (const k in value) {
|
|
1278
|
+
if (!hasOwn(value, k))
|
|
1279
|
+
continue;
|
|
1280
|
+
const v = value[k];
|
|
1281
|
+
if (isDocument ? v !== undefined : v != null || sparse) {
|
|
1282
|
+
keys.push(k);
|
|
1283
|
+
}
|
|
1284
|
+
}
|
|
1285
|
+
ensure(9);
|
|
1286
|
+
encodeHeader(majorMap, keys.length);
|
|
1287
|
+
for (let i = 0; i < keys.length; ++i) {
|
|
1288
|
+
const k = keys[i];
|
|
1289
|
+
writeString(k);
|
|
1290
|
+
writeValue(valueSchema, value[k], undefined, serdeContext);
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1293
|
+
function writeUntypedValue(value) {
|
|
1294
|
+
if (value == null) {
|
|
1295
|
+
ensure(1);
|
|
1296
|
+
buf[cursor++] = (majorSpecial << 5) | specialNull;
|
|
1297
|
+
return;
|
|
1298
|
+
}
|
|
1299
|
+
if (typeof value === "string") {
|
|
1300
|
+
writeString(value);
|
|
1301
|
+
return;
|
|
1302
|
+
}
|
|
1303
|
+
if (typeof value === "number") {
|
|
1304
|
+
ensure(9);
|
|
1305
|
+
if (Number.isInteger(value) && value >= -9007199254740992 && value <= 0x1fffffffffffff) {
|
|
1306
|
+
writeInteger(value);
|
|
1307
|
+
}
|
|
1308
|
+
else {
|
|
1309
|
+
writeFloat64(value);
|
|
1310
|
+
}
|
|
1311
|
+
return;
|
|
1312
|
+
}
|
|
1313
|
+
if (typeof value === "boolean") {
|
|
1314
|
+
ensure(1);
|
|
1315
|
+
buf[cursor++] = (majorSpecial << 5) | (value ? specialTrue : specialFalse);
|
|
1316
|
+
return;
|
|
1317
|
+
}
|
|
1318
|
+
if (typeof value === "bigint") {
|
|
1319
|
+
writeBigInt(value);
|
|
1320
|
+
return;
|
|
1321
|
+
}
|
|
1322
|
+
if (value instanceof Uint8Array) {
|
|
1323
|
+
writeBytes(value);
|
|
1324
|
+
return;
|
|
1325
|
+
}
|
|
1326
|
+
if (value instanceof Date) {
|
|
1327
|
+
writeTimestamp(value);
|
|
1328
|
+
return;
|
|
1329
|
+
}
|
|
1330
|
+
if (value instanceof NumericValue) {
|
|
1331
|
+
writeNumericValue(value);
|
|
1332
|
+
return;
|
|
1333
|
+
}
|
|
1334
|
+
if (value[tagSymbol]) {
|
|
1335
|
+
const tagged = value;
|
|
1336
|
+
writeTag(tagged.tag, tagged.value);
|
|
1337
|
+
return;
|
|
1338
|
+
}
|
|
1339
|
+
if (Array.isArray(value)) {
|
|
1340
|
+
ensure(9);
|
|
1341
|
+
encodeHeader(majorList, value.length);
|
|
1342
|
+
for (let i = 0; i < value.length; ++i) {
|
|
1343
|
+
writeUntypedValue(value[i]);
|
|
1344
|
+
}
|
|
1345
|
+
return;
|
|
1346
|
+
}
|
|
1347
|
+
if (typeof value === "object") {
|
|
1348
|
+
const keys = Object.keys(value);
|
|
1349
|
+
ensure(9);
|
|
1350
|
+
encodeHeader(majorMap, keys.length);
|
|
1351
|
+
for (let i = 0; i < keys.length; ++i) {
|
|
1352
|
+
writeString(keys[i]);
|
|
1353
|
+
writeUntypedValue(value[keys[i]]);
|
|
1354
|
+
}
|
|
1355
|
+
return;
|
|
1356
|
+
}
|
|
1357
|
+
writeString(String(value));
|
|
1358
|
+
}
|
|
1359
|
+
function ensure(n) {
|
|
1360
|
+
if (cursor + n > buf.length) {
|
|
1361
|
+
let newSize = buf.length * 2;
|
|
1362
|
+
while (newSize < cursor + n) {
|
|
1363
|
+
newSize *= 2;
|
|
1364
|
+
}
|
|
1365
|
+
const next = allocUnsafe(newSize);
|
|
1366
|
+
next.set(buf.subarray(0, cursor));
|
|
1367
|
+
buf = next;
|
|
1368
|
+
view = new DataView(next.buffer, next.byteOffset, next.byteLength);
|
|
1369
|
+
}
|
|
1370
|
+
}
|
|
1371
|
+
function encodeHeader(major, value) {
|
|
1372
|
+
if (value < 24) {
|
|
1373
|
+
buf[cursor++] = (major << 5) | value;
|
|
1374
|
+
}
|
|
1375
|
+
else if (value < 256) {
|
|
1376
|
+
buf[cursor++] = (major << 5) | 24;
|
|
1377
|
+
buf[cursor++] = value;
|
|
1378
|
+
}
|
|
1379
|
+
else if (value < 65536) {
|
|
1380
|
+
buf[cursor++] = (major << 5) | extendedFloat16;
|
|
1381
|
+
buf[cursor++] = value >> 8;
|
|
1382
|
+
buf[cursor++] = value & 0xff;
|
|
1383
|
+
}
|
|
1384
|
+
else if (value < 4294967296) {
|
|
1385
|
+
buf[cursor++] = (major << 5) | extendedFloat32;
|
|
1386
|
+
view.setUint32(cursor, value);
|
|
1387
|
+
cursor += 4;
|
|
1388
|
+
}
|
|
1389
|
+
else {
|
|
1390
|
+
buf[cursor++] = (major << 5) | extendedFloat64;
|
|
1391
|
+
const hi = (value / 4294967296) | 0;
|
|
1392
|
+
const lo = (value - hi * 4294967296) | 0;
|
|
1393
|
+
view.setUint32(cursor, hi);
|
|
1394
|
+
view.setUint32(cursor + 4, lo);
|
|
1395
|
+
cursor += 8;
|
|
1396
|
+
}
|
|
1397
|
+
}
|
|
1398
|
+
function encodeBigHeader(major, value) {
|
|
1399
|
+
const n = Number(value);
|
|
1400
|
+
if (n < 4294967296) {
|
|
1401
|
+
encodeHeader(major, n);
|
|
1402
|
+
return;
|
|
1403
|
+
}
|
|
1404
|
+
buf[cursor++] = (major << 5) | extendedFloat64;
|
|
1405
|
+
view.setBigUint64(cursor, value);
|
|
1406
|
+
cursor += 8;
|
|
1407
|
+
}
|
|
1408
|
+
function writeString(s) {
|
|
1409
|
+
const len = s.length;
|
|
1410
|
+
if (len <= 23) {
|
|
1411
|
+
const cached = stringEncodeCache.get(s);
|
|
1412
|
+
if (cached) {
|
|
1413
|
+
ensure(cached.bytes.length);
|
|
1414
|
+
buf.set(cached.bytes, cursor);
|
|
1415
|
+
cursor += cached.bytes.length;
|
|
1416
|
+
cached.epoch = encodeCacheEpoch;
|
|
1417
|
+
return;
|
|
1418
|
+
}
|
|
1419
|
+
const start = cursor;
|
|
1420
|
+
writeStringUncached(s, len);
|
|
1421
|
+
const end = cursor;
|
|
1422
|
+
const bytes = Uint8Array.prototype.slice.call(buf, start, end);
|
|
1423
|
+
if (stringEncodeCache.size >= STRING_CACHE_MAX) {
|
|
1424
|
+
if (encodeCacheSaturated) {
|
|
1425
|
+
return;
|
|
1098
1426
|
}
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
keys = new Set();
|
|
1104
|
-
for (const k in value) {
|
|
1105
|
-
if (k !== "__type") {
|
|
1106
|
-
keys.add(k);
|
|
1107
|
-
}
|
|
1108
|
-
}
|
|
1427
|
+
let evicted = 0;
|
|
1428
|
+
for (const [key, entry] of stringEncodeCache) {
|
|
1429
|
+
if (evicted >= 1024) {
|
|
1430
|
+
break;
|
|
1109
1431
|
}
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
}
|
|
1114
|
-
if (value[key] != null) {
|
|
1115
|
-
newObject[key] = this.readValue(memberSchema, value[key]);
|
|
1116
|
-
}
|
|
1432
|
+
if (entry.epoch !== encodeCacheEpoch) {
|
|
1433
|
+
stringEncodeCache.delete(key);
|
|
1434
|
+
++evicted;
|
|
1117
1435
|
}
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1436
|
+
}
|
|
1437
|
+
if (evicted === 0) {
|
|
1438
|
+
encodeCacheSaturated = true;
|
|
1439
|
+
return;
|
|
1440
|
+
}
|
|
1441
|
+
}
|
|
1442
|
+
if (stringEncodeCache.size < STRING_CACHE_MAX) {
|
|
1443
|
+
stringEncodeCache.set(s, { epoch: encodeCacheEpoch, bytes });
|
|
1444
|
+
}
|
|
1445
|
+
return;
|
|
1446
|
+
}
|
|
1447
|
+
writeStringUncached(s, len);
|
|
1448
|
+
}
|
|
1449
|
+
function writeStringUncached(s, len) {
|
|
1450
|
+
if (USE_BUFFER$1) {
|
|
1451
|
+
const maxBytes = len * 3;
|
|
1452
|
+
ensure(maxBytes + 9);
|
|
1453
|
+
const byteLen = Buffer.byteLength(s);
|
|
1454
|
+
encodeHeader(majorUtf8String, byteLen);
|
|
1455
|
+
cursor += buf.write(s, cursor);
|
|
1456
|
+
}
|
|
1457
|
+
else {
|
|
1458
|
+
const maxBytes = len * 3;
|
|
1459
|
+
ensure(maxBytes + 9);
|
|
1460
|
+
const headerPos = cursor;
|
|
1461
|
+
const result = textEncoder.encodeInto(s, buf.subarray(headerPos + 9));
|
|
1462
|
+
const byteLen = result.written;
|
|
1463
|
+
let headerSize;
|
|
1464
|
+
if (byteLen < 24) {
|
|
1465
|
+
headerSize = 1;
|
|
1466
|
+
}
|
|
1467
|
+
else if (byteLen < 256) {
|
|
1468
|
+
headerSize = 2;
|
|
1469
|
+
}
|
|
1470
|
+
else if (byteLen < 65536) {
|
|
1471
|
+
headerSize = 3;
|
|
1472
|
+
}
|
|
1473
|
+
else if (byteLen < 4294967296) {
|
|
1474
|
+
headerSize = 5;
|
|
1475
|
+
}
|
|
1476
|
+
else {
|
|
1477
|
+
headerSize = 9;
|
|
1478
|
+
}
|
|
1479
|
+
if (headerSize < 9) {
|
|
1480
|
+
buf.copyWithin(headerPos + headerSize, headerPos + 9, headerPos + 9 + byteLen);
|
|
1481
|
+
}
|
|
1482
|
+
cursor = headerPos;
|
|
1483
|
+
encodeHeader(majorUtf8String, byteLen);
|
|
1484
|
+
cursor += byteLen;
|
|
1485
|
+
}
|
|
1486
|
+
}
|
|
1487
|
+
function writeFloat64(value) {
|
|
1488
|
+
ensure(9);
|
|
1489
|
+
buf[cursor++] = (majorSpecial << 5) | extendedFloat64;
|
|
1490
|
+
view.setFloat64(cursor, value);
|
|
1491
|
+
cursor += 8;
|
|
1492
|
+
}
|
|
1493
|
+
function writeInteger(value) {
|
|
1494
|
+
ensure(9);
|
|
1495
|
+
const nonNegative = value >= 0;
|
|
1496
|
+
const major = nonNegative ? majorUint64 : majorNegativeInt64;
|
|
1497
|
+
const abs = nonNegative ? value : -value - 1;
|
|
1498
|
+
encodeHeader(major, abs);
|
|
1499
|
+
}
|
|
1500
|
+
function writeBigInt(value) {
|
|
1501
|
+
const nonNegative = value >= 0;
|
|
1502
|
+
const major = nonNegative ? majorUint64 : majorNegativeInt64;
|
|
1503
|
+
const abs = nonNegative ? value : -value - BigInt(1);
|
|
1504
|
+
if (abs < BigInt("18446744073709551616")) {
|
|
1505
|
+
ensure(9);
|
|
1506
|
+
encodeBigHeader(major, abs);
|
|
1507
|
+
}
|
|
1508
|
+
else {
|
|
1509
|
+
const binaryStr = abs.toString(2);
|
|
1510
|
+
const byteLen = Math.ceil(binaryStr.length / 8);
|
|
1511
|
+
const bigIntBytes = new Uint8Array(byteLen);
|
|
1512
|
+
let b = abs;
|
|
1513
|
+
for (let i = byteLen - 1; i >= 0; --i) {
|
|
1514
|
+
bigIntBytes[i] = Number(b & BigInt(255));
|
|
1515
|
+
b >>= BigInt(8);
|
|
1516
|
+
}
|
|
1517
|
+
ensure(byteLen + 16);
|
|
1518
|
+
buf[cursor++] = nonNegative ? 0b110_00010 : 0b110_00011;
|
|
1519
|
+
encodeHeader(majorUnstructuredByteString, byteLen);
|
|
1520
|
+
buf.set(bigIntBytes, cursor);
|
|
1521
|
+
cursor += byteLen;
|
|
1522
|
+
}
|
|
1523
|
+
}
|
|
1524
|
+
function writeBytes(data) {
|
|
1525
|
+
ensure(data.length + 9);
|
|
1526
|
+
encodeHeader(majorUnstructuredByteString, data.length);
|
|
1527
|
+
buf.set(data, cursor);
|
|
1528
|
+
cursor += data.length;
|
|
1529
|
+
}
|
|
1530
|
+
function writeTag(tagValue, innerValue) {
|
|
1531
|
+
ensure(9);
|
|
1532
|
+
if (typeof tagValue === "bigint") {
|
|
1533
|
+
encodeBigHeader(majorTag, tagValue);
|
|
1534
|
+
}
|
|
1535
|
+
else {
|
|
1536
|
+
encodeHeader(majorTag, tagValue);
|
|
1537
|
+
}
|
|
1538
|
+
writeUntypedValue(innerValue);
|
|
1539
|
+
}
|
|
1540
|
+
function writeNumericValue(nv) {
|
|
1541
|
+
let str = nv.string;
|
|
1542
|
+
let expOffset = BigInt(0);
|
|
1543
|
+
const eIndex = str.search(/[eE]/);
|
|
1544
|
+
if (eIndex !== -1) {
|
|
1545
|
+
expOffset = BigInt(str.slice(eIndex + 1));
|
|
1546
|
+
str = str.slice(0, eIndex);
|
|
1547
|
+
}
|
|
1548
|
+
const decimalIndex = str.indexOf(".");
|
|
1549
|
+
const fractionDigits = decimalIndex === -1 ? 0 : str.length - decimalIndex - 1;
|
|
1550
|
+
const exponent = expOffset - BigInt(fractionDigits);
|
|
1551
|
+
const mantissa = BigInt(str.replace(".", ""));
|
|
1552
|
+
ensure(9);
|
|
1553
|
+
buf[cursor++] = 0b110_00100;
|
|
1554
|
+
encodeHeader(majorList, 2);
|
|
1555
|
+
ensure(9);
|
|
1556
|
+
if (exponent >= -0x20000000000000n && exponent <= 0x1fffffffffffffn) {
|
|
1557
|
+
writeInteger(Number(exponent));
|
|
1558
|
+
}
|
|
1559
|
+
else {
|
|
1560
|
+
writeBigInt(exponent);
|
|
1561
|
+
}
|
|
1562
|
+
writeBigInt(mantissa);
|
|
1563
|
+
}
|
|
1564
|
+
function writeTimestamp(date) {
|
|
1565
|
+
ensure(18);
|
|
1566
|
+
encodeHeader(majorTag, 1);
|
|
1567
|
+
const epochSecs = date.getTime() / 1000;
|
|
1568
|
+
if (Number.isInteger(epochSecs)) {
|
|
1569
|
+
writeInteger(epochSecs);
|
|
1570
|
+
}
|
|
1571
|
+
else {
|
|
1572
|
+
writeFloat64(epochSecs);
|
|
1573
|
+
}
|
|
1574
|
+
}
|
|
1575
|
+
|
|
1576
|
+
class CborShapeDeserializer2 extends SerdeContext {
|
|
1577
|
+
read(schema, bytes) {
|
|
1578
|
+
payload = bytes;
|
|
1579
|
+
isBuffer = USE_BUFFER && bytes instanceof Buffer;
|
|
1580
|
+
dataView = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
1581
|
+
pos = 0;
|
|
1582
|
+
end = bytes.length;
|
|
1583
|
+
cacheEpoch = (cacheEpoch + 1) & 0xffff;
|
|
1584
|
+
return readValue(NormalizedSchema.of(schema));
|
|
1585
|
+
}
|
|
1586
|
+
readValue(_schema, value) {
|
|
1587
|
+
return transformObject(NormalizedSchema.of(_schema), value);
|
|
1588
|
+
}
|
|
1589
|
+
}
|
|
1590
|
+
const USE_BUFFER = typeof Buffer !== "undefined";
|
|
1591
|
+
const textDecoder = new TextDecoder();
|
|
1592
|
+
let payload = new Uint8Array(0);
|
|
1593
|
+
let isBuffer = false;
|
|
1594
|
+
let dataView = new DataView(new ArrayBuffer(0));
|
|
1595
|
+
let pos = 0;
|
|
1596
|
+
let end = 0;
|
|
1597
|
+
const STRING_CACHE_SIZE = 2048;
|
|
1598
|
+
const stringCache = new Array(STRING_CACHE_SIZE);
|
|
1599
|
+
const stringCacheEpochs = new Uint16Array(STRING_CACHE_SIZE);
|
|
1600
|
+
let cacheEpoch = 0;
|
|
1601
|
+
function readValue(ns) {
|
|
1602
|
+
if (pos >= end) {
|
|
1603
|
+
throw new Error("unexpected end of CBOR payload.");
|
|
1604
|
+
}
|
|
1605
|
+
const major = (payload[pos] & 0b1110_0000) >> 5;
|
|
1606
|
+
const minor = payload[pos] & 0b0001_1111;
|
|
1607
|
+
if (minor === minorIndefinite && major >= 2 && major <= 5) {
|
|
1608
|
+
return readIndefinite(ns, major);
|
|
1609
|
+
}
|
|
1610
|
+
switch (major) {
|
|
1611
|
+
case majorUint64:
|
|
1612
|
+
return readUnsignedInt();
|
|
1613
|
+
case majorNegativeInt64:
|
|
1614
|
+
return readNegativeInt();
|
|
1615
|
+
case majorUnstructuredByteString:
|
|
1616
|
+
return readByteString();
|
|
1617
|
+
case majorUtf8String:
|
|
1618
|
+
return readUtf8String();
|
|
1619
|
+
case majorList:
|
|
1620
|
+
return readList(ns);
|
|
1621
|
+
case majorMap:
|
|
1622
|
+
return readMap(ns);
|
|
1623
|
+
case majorTag:
|
|
1624
|
+
return readTag();
|
|
1625
|
+
case majorSpecial:
|
|
1626
|
+
return readSpecial();
|
|
1627
|
+
default:
|
|
1628
|
+
throw new Error(`unexpected CBOR major type ${major}.`);
|
|
1629
|
+
}
|
|
1630
|
+
}
|
|
1631
|
+
function readList(ns) {
|
|
1632
|
+
const count = decodeCount();
|
|
1633
|
+
const memberSchema = ns.isListSchema() ? ns.getValueSchema() : ns;
|
|
1634
|
+
const list = Array(count);
|
|
1635
|
+
for (let i = 0; i < count; ++i) {
|
|
1636
|
+
list[i] = readValue(memberSchema);
|
|
1637
|
+
}
|
|
1638
|
+
return list;
|
|
1639
|
+
}
|
|
1640
|
+
function readMap(ns) {
|
|
1641
|
+
const count = decodeCount();
|
|
1642
|
+
if (ns.isStructSchema()) {
|
|
1643
|
+
const startPos = pos;
|
|
1644
|
+
return readStruct(ns, count, startPos);
|
|
1645
|
+
}
|
|
1646
|
+
const valueSchema = ns.isMapSchema() ? ns.getValueSchema() : ns;
|
|
1647
|
+
const map = {};
|
|
1648
|
+
for (let i = 0; i < count; ++i) {
|
|
1649
|
+
const key = readUtf8String();
|
|
1650
|
+
map[key] = readValue(valueSchema);
|
|
1651
|
+
}
|
|
1652
|
+
return map;
|
|
1653
|
+
}
|
|
1654
|
+
function readStruct(ns, count, startPos) {
|
|
1655
|
+
const isUnion = ns.isUnionSchema();
|
|
1656
|
+
const cache = loadCborStructIterator(ns);
|
|
1657
|
+
const { memberSchemas, encodedKeys, memberNames } = cache;
|
|
1658
|
+
const z = encodedKeys.length;
|
|
1659
|
+
const result = {};
|
|
1660
|
+
let unknownKey;
|
|
1661
|
+
let unknownValue;
|
|
1662
|
+
let unknownCount = 0;
|
|
1663
|
+
let hasType = false;
|
|
1664
|
+
let hint = 0;
|
|
1665
|
+
for (let i = 0; i < count; ++i) {
|
|
1666
|
+
const matchIdx = matchStructKey(encodedKeys, z, hint);
|
|
1667
|
+
if (matchIdx >= 0) {
|
|
1668
|
+
hint = matchIdx + 1;
|
|
1669
|
+
if (hint >= z) {
|
|
1670
|
+
hint = 0;
|
|
1671
|
+
}
|
|
1672
|
+
const val = readValue(memberSchemas[matchIdx]);
|
|
1673
|
+
if (val != null) {
|
|
1674
|
+
result[memberNames[matchIdx]] = val;
|
|
1675
|
+
}
|
|
1676
|
+
}
|
|
1677
|
+
else {
|
|
1678
|
+
const key = readUtf8String();
|
|
1679
|
+
const val = readValue(NormalizedSchema.of(15));
|
|
1680
|
+
if (key === "__type" && typeof val === "string") {
|
|
1681
|
+
hasType = true;
|
|
1682
|
+
}
|
|
1683
|
+
else {
|
|
1684
|
+
unknownKey = key;
|
|
1685
|
+
unknownValue = val;
|
|
1686
|
+
++unknownCount;
|
|
1687
|
+
}
|
|
1688
|
+
}
|
|
1689
|
+
}
|
|
1690
|
+
if (isUnion) {
|
|
1691
|
+
let resultEmpty = true;
|
|
1692
|
+
for (const _ in result) {
|
|
1693
|
+
if (!hasOwn(result, _))
|
|
1694
|
+
continue;
|
|
1695
|
+
resultEmpty = false;
|
|
1696
|
+
break;
|
|
1697
|
+
}
|
|
1698
|
+
if (resultEmpty && unknownCount === 1) {
|
|
1699
|
+
result.$unknown = [unknownKey, unknownValue];
|
|
1700
|
+
}
|
|
1701
|
+
}
|
|
1702
|
+
else if (hasType) {
|
|
1703
|
+
pos = startPos;
|
|
1704
|
+
const docSchema = NormalizedSchema.of(15);
|
|
1705
|
+
for (let i = 0; i < count; ++i) {
|
|
1706
|
+
const key = readUtf8String();
|
|
1707
|
+
const val = readValue(docSchema);
|
|
1708
|
+
if (!(key in result)) {
|
|
1709
|
+
result[key] = val;
|
|
1710
|
+
}
|
|
1711
|
+
}
|
|
1712
|
+
}
|
|
1713
|
+
return result;
|
|
1714
|
+
}
|
|
1715
|
+
function readTag(ns) {
|
|
1716
|
+
const tagNum = decodeArgument();
|
|
1717
|
+
const tagNumber = typeof tagNum === "bigint" ? Number(tagNum) : tagNum;
|
|
1718
|
+
if (tagNumber === 1) {
|
|
1719
|
+
const docSchema = NormalizedSchema.of(15);
|
|
1720
|
+
const epochValue = readValue(docSchema);
|
|
1721
|
+
return _parseEpochTimestamp(epochValue);
|
|
1722
|
+
}
|
|
1723
|
+
if (tagNumber === 2 || tagNumber === 3) {
|
|
1724
|
+
const byteStr = readByteString();
|
|
1725
|
+
let b = BigInt(0);
|
|
1726
|
+
for (let i = 0; i < byteStr.length; ++i) {
|
|
1727
|
+
b = (b << BigInt(8)) | BigInt(byteStr[i]);
|
|
1728
|
+
}
|
|
1729
|
+
return tagNumber === 3 ? -b - BigInt(1) : b;
|
|
1730
|
+
}
|
|
1731
|
+
if (tagNumber === 4) {
|
|
1732
|
+
const docSchema = NormalizedSchema.of(15);
|
|
1733
|
+
const pair = readValue(docSchema);
|
|
1734
|
+
const [rawExponent, mantissa] = pair;
|
|
1735
|
+
const normalizer = mantissa < 0 ? -1 : 1;
|
|
1736
|
+
const absMantissa = BigInt(normalizer) * BigInt(mantissa);
|
|
1737
|
+
const mantissaDigits = String(absMantissa);
|
|
1738
|
+
const sign = mantissa < 0 ? "-" : "";
|
|
1739
|
+
let numericString;
|
|
1740
|
+
const isSmallExponent = typeof rawExponent === "number" && Math.abs(rawExponent) <= 2 ** 28;
|
|
1741
|
+
if (isSmallExponent) {
|
|
1742
|
+
const exponent = rawExponent;
|
|
1743
|
+
const mantissaStr = "0".repeat(Math.abs(exponent) + 1) + mantissaDigits;
|
|
1744
|
+
numericString =
|
|
1745
|
+
exponent === 0
|
|
1746
|
+
? mantissaStr
|
|
1747
|
+
: mantissaStr.slice(0, mantissaStr.length + exponent) + "." + mantissaStr.slice(exponent);
|
|
1748
|
+
numericString = numericString.replace(/^0+/g, "");
|
|
1749
|
+
if (numericString === "") {
|
|
1750
|
+
numericString = "0";
|
|
1751
|
+
}
|
|
1752
|
+
if (numericString[0] === ".") {
|
|
1753
|
+
numericString = "0" + numericString;
|
|
1754
|
+
}
|
|
1755
|
+
numericString = sign + numericString;
|
|
1756
|
+
}
|
|
1757
|
+
else {
|
|
1758
|
+
const bigExponent = BigInt(rawExponent);
|
|
1759
|
+
if (mantissaDigits.length === 1) {
|
|
1760
|
+
numericString = sign + mantissaDigits + "e" + String(bigExponent);
|
|
1761
|
+
}
|
|
1762
|
+
else {
|
|
1763
|
+
const adjustedExp = bigExponent + BigInt(mantissaDigits.length - 1);
|
|
1764
|
+
numericString = sign + mantissaDigits[0] + "." + mantissaDigits.slice(1) + "e" + String(adjustedExp);
|
|
1765
|
+
}
|
|
1766
|
+
}
|
|
1767
|
+
return nv(numericString);
|
|
1768
|
+
}
|
|
1769
|
+
const docSchema = NormalizedSchema.of(15);
|
|
1770
|
+
const innerValue = readValue(docSchema);
|
|
1771
|
+
return { tag: castBigInt(tagNum), value: innerValue };
|
|
1772
|
+
}
|
|
1773
|
+
function readIndefinite(ns, major) {
|
|
1774
|
+
switch (major) {
|
|
1775
|
+
case majorUtf8String:
|
|
1776
|
+
return readUtf8StringIndefinite();
|
|
1777
|
+
case majorUnstructuredByteString:
|
|
1778
|
+
return readByteStringIndefinite();
|
|
1779
|
+
case majorList:
|
|
1780
|
+
return readListIndefinite(ns);
|
|
1781
|
+
case majorMap:
|
|
1782
|
+
return readMapIndefinite(ns);
|
|
1783
|
+
default:
|
|
1784
|
+
throw new Error(`unexpected indefinite length for major ${major}.`);
|
|
1785
|
+
}
|
|
1786
|
+
}
|
|
1787
|
+
function readUtf8StringIndefinite() {
|
|
1788
|
+
pos += 1;
|
|
1789
|
+
const chunks = [];
|
|
1790
|
+
let totalLen = 0;
|
|
1791
|
+
while (pos < end) {
|
|
1792
|
+
if (payload[pos] === 0xff) {
|
|
1793
|
+
pos += 1;
|
|
1794
|
+
const combined = new Uint8Array(totalLen);
|
|
1795
|
+
let offset = 0;
|
|
1796
|
+
for (let i = 0; i < chunks.length; ++i) {
|
|
1797
|
+
combined.set(chunks[i], offset);
|
|
1798
|
+
offset += chunks[i].length;
|
|
1799
|
+
}
|
|
1800
|
+
if (USE_BUFFER) {
|
|
1801
|
+
return Buffer.from(combined.buffer, combined.byteOffset, combined.byteLength).toString("utf-8");
|
|
1802
|
+
}
|
|
1803
|
+
return textDecoder.decode(combined);
|
|
1804
|
+
}
|
|
1805
|
+
const bytes = readByteString();
|
|
1806
|
+
chunks.push(bytes);
|
|
1807
|
+
totalLen += bytes.length;
|
|
1808
|
+
}
|
|
1809
|
+
throw new Error("expected break marker.");
|
|
1810
|
+
}
|
|
1811
|
+
function readByteStringIndefinite() {
|
|
1812
|
+
pos += 1;
|
|
1813
|
+
const chunks = [];
|
|
1814
|
+
let totalLen = 0;
|
|
1815
|
+
while (pos < end) {
|
|
1816
|
+
if (payload[pos] === 0xff) {
|
|
1817
|
+
pos += 1;
|
|
1818
|
+
const combined = new Uint8Array(totalLen);
|
|
1819
|
+
let offset = 0;
|
|
1820
|
+
for (let i = 0; i < chunks.length; ++i) {
|
|
1821
|
+
combined.set(chunks[i], offset);
|
|
1822
|
+
offset += chunks[i].length;
|
|
1823
|
+
}
|
|
1824
|
+
return combined;
|
|
1825
|
+
}
|
|
1826
|
+
const bytes = readByteString();
|
|
1827
|
+
chunks.push(bytes);
|
|
1828
|
+
totalLen += bytes.length;
|
|
1829
|
+
}
|
|
1830
|
+
throw new Error("expected break marker.");
|
|
1831
|
+
}
|
|
1832
|
+
function readListIndefinite(ns) {
|
|
1833
|
+
pos += 1;
|
|
1834
|
+
const memberSchema = ns.isListSchema() ? ns.getValueSchema() : ns;
|
|
1835
|
+
const list = [];
|
|
1836
|
+
while (pos < end) {
|
|
1837
|
+
if (payload[pos] === 0xff) {
|
|
1838
|
+
pos += 1;
|
|
1839
|
+
return list;
|
|
1840
|
+
}
|
|
1841
|
+
list.push(readValue(memberSchema));
|
|
1842
|
+
}
|
|
1843
|
+
throw new Error("expected break marker.");
|
|
1844
|
+
}
|
|
1845
|
+
function readMapIndefinite(ns) {
|
|
1846
|
+
pos += 1;
|
|
1847
|
+
if (ns.isStructSchema()) {
|
|
1848
|
+
const cache = loadCborStructIterator(ns);
|
|
1849
|
+
const { memberSchemas, encodedKeys, memberNames } = cache;
|
|
1850
|
+
const z = encodedKeys.length;
|
|
1851
|
+
const isUnion = ns.isUnionSchema();
|
|
1852
|
+
const result = {};
|
|
1853
|
+
let unknownKey;
|
|
1854
|
+
let unknownValue;
|
|
1855
|
+
let unknownCount = 0;
|
|
1856
|
+
let hint = 0;
|
|
1857
|
+
while (pos < end) {
|
|
1858
|
+
if (payload[pos] === 0xff) {
|
|
1859
|
+
pos += 1;
|
|
1860
|
+
if (isUnion) {
|
|
1861
|
+
let resultEmpty = true;
|
|
1862
|
+
for (const _ in result) {
|
|
1863
|
+
if (!hasOwn(result, _))
|
|
1864
|
+
continue;
|
|
1865
|
+
resultEmpty = false;
|
|
1122
1866
|
break;
|
|
1123
1867
|
}
|
|
1124
|
-
if (
|
|
1125
|
-
|
|
1126
|
-
newObject.$unknown = [k, value[k]];
|
|
1868
|
+
if (resultEmpty && unknownCount === 1) {
|
|
1869
|
+
result.$unknown = [unknownKey, unknownValue];
|
|
1127
1870
|
}
|
|
1128
1871
|
}
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1872
|
+
return result;
|
|
1873
|
+
}
|
|
1874
|
+
const matchIdx = matchStructKey(encodedKeys, z, hint);
|
|
1875
|
+
if (matchIdx >= 0) {
|
|
1876
|
+
hint = matchIdx + 1;
|
|
1877
|
+
if (hint >= z) {
|
|
1878
|
+
hint = 0;
|
|
1879
|
+
}
|
|
1880
|
+
const val = readValue(memberSchemas[matchIdx]);
|
|
1881
|
+
if (val != null) {
|
|
1882
|
+
result[memberNames[matchIdx]] = val;
|
|
1883
|
+
}
|
|
1884
|
+
}
|
|
1885
|
+
else {
|
|
1886
|
+
const key = readUtf8String();
|
|
1887
|
+
const val = readValue(NormalizedSchema.of(15));
|
|
1888
|
+
if (key !== "__type") {
|
|
1889
|
+
unknownKey = key;
|
|
1890
|
+
unknownValue = val;
|
|
1891
|
+
++unknownCount;
|
|
1892
|
+
}
|
|
1893
|
+
}
|
|
1894
|
+
}
|
|
1895
|
+
throw new Error("expected break marker.");
|
|
1896
|
+
}
|
|
1897
|
+
const valueSchema = ns.isMapSchema() ? ns.getValueSchema() : ns;
|
|
1898
|
+
const map = {};
|
|
1899
|
+
while (pos < end) {
|
|
1900
|
+
if (payload[pos] === 0xff) {
|
|
1901
|
+
pos += 1;
|
|
1902
|
+
return map;
|
|
1903
|
+
}
|
|
1904
|
+
const key = readUtf8String();
|
|
1905
|
+
map[key] = readValue(valueSchema);
|
|
1906
|
+
}
|
|
1907
|
+
throw new Error("expected break marker.");
|
|
1908
|
+
}
|
|
1909
|
+
function matchStructKey(encodedKeys, z, hint) {
|
|
1910
|
+
const hintKey = encodedKeys[hint];
|
|
1911
|
+
if (pos + hintKey.length <= end && bytesMatch(pos, hintKey)) {
|
|
1912
|
+
pos += hintKey.length;
|
|
1913
|
+
return hint;
|
|
1914
|
+
}
|
|
1915
|
+
for (let i = 0; i < z; ++i) {
|
|
1916
|
+
if (i === hint) {
|
|
1917
|
+
continue;
|
|
1918
|
+
}
|
|
1919
|
+
const ek = encodedKeys[i];
|
|
1920
|
+
if (pos + ek.length <= end && bytesMatch(pos, ek)) {
|
|
1921
|
+
pos += ek.length;
|
|
1922
|
+
return i;
|
|
1923
|
+
}
|
|
1924
|
+
}
|
|
1925
|
+
return -1;
|
|
1926
|
+
}
|
|
1927
|
+
function bytesMatch(at, expected) {
|
|
1928
|
+
const len = expected.length;
|
|
1929
|
+
if (payload[at] !== expected[0]) {
|
|
1930
|
+
return false;
|
|
1931
|
+
}
|
|
1932
|
+
for (let i = 1; i < len; ++i) {
|
|
1933
|
+
if (payload[at + i] !== expected[i]) {
|
|
1934
|
+
return false;
|
|
1935
|
+
}
|
|
1936
|
+
}
|
|
1937
|
+
return true;
|
|
1938
|
+
}
|
|
1939
|
+
function decodeArgument() {
|
|
1940
|
+
const minor = payload[pos] & 0b0001_1111;
|
|
1941
|
+
if (minor < 24) {
|
|
1942
|
+
pos += 1;
|
|
1943
|
+
return minor;
|
|
1944
|
+
}
|
|
1945
|
+
switch (minor) {
|
|
1946
|
+
case extendedOneByte:
|
|
1947
|
+
if (end - pos < 2) {
|
|
1948
|
+
overflow(1);
|
|
1949
|
+
}
|
|
1950
|
+
pos += 2;
|
|
1951
|
+
return payload[pos - 1];
|
|
1952
|
+
case extendedFloat16:
|
|
1953
|
+
if (end - pos < 3) {
|
|
1954
|
+
overflow(2);
|
|
1955
|
+
}
|
|
1956
|
+
pos += 3;
|
|
1957
|
+
return dataView.getUint16(pos - 2);
|
|
1958
|
+
case extendedFloat32:
|
|
1959
|
+
if (end - pos < 5) {
|
|
1960
|
+
overflow(4);
|
|
1961
|
+
}
|
|
1962
|
+
pos += 5;
|
|
1963
|
+
return dataView.getUint32(pos - 4);
|
|
1964
|
+
case extendedFloat64: {
|
|
1965
|
+
if (end - pos < 9) {
|
|
1966
|
+
overflow(8);
|
|
1967
|
+
}
|
|
1968
|
+
pos += 9;
|
|
1969
|
+
const hi = dataView.getUint32(pos - 8);
|
|
1970
|
+
if (hi < 0x00200000) {
|
|
1971
|
+
return hi * 4294967296 + dataView.getUint32(pos - 4);
|
|
1972
|
+
}
|
|
1973
|
+
return dataView.getBigUint64(pos - 8);
|
|
1974
|
+
}
|
|
1975
|
+
default:
|
|
1976
|
+
throw new Error(`unexpected minor value ${minor}.`);
|
|
1977
|
+
}
|
|
1978
|
+
}
|
|
1979
|
+
function decodeCount() {
|
|
1980
|
+
const val = decodeArgument();
|
|
1981
|
+
return typeof val === "bigint" ? Number(val) : val;
|
|
1982
|
+
}
|
|
1983
|
+
function readUnsignedInt() {
|
|
1984
|
+
const val = decodeArgument();
|
|
1985
|
+
return castBigInt(val);
|
|
1986
|
+
}
|
|
1987
|
+
function readNegativeInt() {
|
|
1988
|
+
const val = decodeArgument();
|
|
1989
|
+
if (typeof val === "bigint") {
|
|
1990
|
+
return BigInt(-1) - val;
|
|
1991
|
+
}
|
|
1992
|
+
return -1 - val;
|
|
1993
|
+
}
|
|
1994
|
+
function readByteString() {
|
|
1995
|
+
const length = decodeCount();
|
|
1996
|
+
if (end - pos < length) {
|
|
1997
|
+
overflow(length);
|
|
1998
|
+
}
|
|
1999
|
+
const start = pos;
|
|
2000
|
+
pos += length;
|
|
2001
|
+
return payload.subarray(start, start + length);
|
|
2002
|
+
}
|
|
2003
|
+
function readUtf8String() {
|
|
2004
|
+
const length = decodeCount();
|
|
2005
|
+
if (end - pos < length) {
|
|
2006
|
+
overflow(length);
|
|
2007
|
+
}
|
|
2008
|
+
const start = pos;
|
|
2009
|
+
pos += length;
|
|
2010
|
+
if (length < 24) {
|
|
2011
|
+
return decodeUtf8Cached(start, length);
|
|
2012
|
+
}
|
|
2013
|
+
if (isBuffer) {
|
|
2014
|
+
return payload.toString("utf-8", start, start + length);
|
|
2015
|
+
}
|
|
2016
|
+
return textDecoder.decode(payload.subarray(start, start + length));
|
|
2017
|
+
}
|
|
2018
|
+
function decodeUtf8Cached(at, length) {
|
|
2019
|
+
let h = length;
|
|
2020
|
+
for (let i = 0; i < length; ++i) {
|
|
2021
|
+
h = (h * 31 + payload[at + i]) | 0;
|
|
2022
|
+
}
|
|
2023
|
+
const slot = (h >>> 0) & (STRING_CACHE_SIZE - 1);
|
|
2024
|
+
const cached = stringCache[slot];
|
|
2025
|
+
if (cached !== undefined && cached.length === length) {
|
|
2026
|
+
let match = true;
|
|
2027
|
+
for (let i = 0; i < length; ++i) {
|
|
2028
|
+
if (cached.charCodeAt(i) !== payload[at + i]) {
|
|
2029
|
+
match = false;
|
|
2030
|
+
break;
|
|
2031
|
+
}
|
|
2032
|
+
}
|
|
2033
|
+
if (match) {
|
|
2034
|
+
stringCacheEpochs[slot] = cacheEpoch;
|
|
2035
|
+
return cached;
|
|
2036
|
+
}
|
|
2037
|
+
}
|
|
2038
|
+
const result = isBuffer
|
|
2039
|
+
? payload.toString("utf-8", at, at + length)
|
|
2040
|
+
: textDecoder.decode(payload.subarray(at, at + length));
|
|
2041
|
+
if (stringCacheEpochs[slot] !== cacheEpoch) {
|
|
2042
|
+
stringCache[slot] = result;
|
|
2043
|
+
stringCacheEpochs[slot] = cacheEpoch;
|
|
2044
|
+
}
|
|
2045
|
+
return result;
|
|
2046
|
+
}
|
|
2047
|
+
function readSpecial() {
|
|
2048
|
+
const p = pos;
|
|
2049
|
+
const minor = payload[p] & 0b0001_1111;
|
|
2050
|
+
switch (minor) {
|
|
2051
|
+
case specialTrue:
|
|
2052
|
+
pos = p + 1;
|
|
2053
|
+
return true;
|
|
2054
|
+
case specialFalse:
|
|
2055
|
+
pos = p + 1;
|
|
2056
|
+
return false;
|
|
2057
|
+
case specialNull:
|
|
2058
|
+
pos = p + 1;
|
|
2059
|
+
return null;
|
|
2060
|
+
case specialUndefined:
|
|
2061
|
+
pos = p + 1;
|
|
2062
|
+
return null;
|
|
2063
|
+
case extendedFloat16: {
|
|
2064
|
+
if (end - p < 3) {
|
|
2065
|
+
overflow(2);
|
|
2066
|
+
}
|
|
2067
|
+
pos = p + 3;
|
|
2068
|
+
return bytesToFloat16(payload[p + 1], payload[p + 2]);
|
|
2069
|
+
}
|
|
2070
|
+
case extendedFloat32: {
|
|
2071
|
+
if (end - p < 5) {
|
|
2072
|
+
overflow(4);
|
|
2073
|
+
}
|
|
2074
|
+
pos = p + 5;
|
|
2075
|
+
return dataView.getFloat32(p + 1);
|
|
2076
|
+
}
|
|
2077
|
+
case extendedFloat64: {
|
|
2078
|
+
if (end - p < 9) {
|
|
2079
|
+
overflow(8);
|
|
2080
|
+
}
|
|
2081
|
+
pos = p + 9;
|
|
2082
|
+
return dataView.getFloat64(p + 1);
|
|
2083
|
+
}
|
|
2084
|
+
default:
|
|
2085
|
+
throw new Error(`unexpected minor value ${minor} for major 7.`);
|
|
2086
|
+
}
|
|
2087
|
+
}
|
|
2088
|
+
function bytesToFloat16(a, b) {
|
|
2089
|
+
const sign = a >> 7;
|
|
2090
|
+
const exponent = (a & 0b0111_1100) >> 2;
|
|
2091
|
+
const fraction = ((a & 0b0000_0011) << 8) | b;
|
|
2092
|
+
const scalar = sign === 0 ? 1 : -1;
|
|
2093
|
+
if (exponent === 0b00000) {
|
|
2094
|
+
if (fraction === 0) {
|
|
2095
|
+
return 0;
|
|
2096
|
+
}
|
|
2097
|
+
return scalar * (Math.pow(2, 1 - 15) * (fraction / 1024));
|
|
2098
|
+
}
|
|
2099
|
+
else if (exponent === 0b11111) {
|
|
2100
|
+
if (fraction === 0) {
|
|
2101
|
+
return scalar * Infinity;
|
|
2102
|
+
}
|
|
2103
|
+
return NaN;
|
|
2104
|
+
}
|
|
2105
|
+
return scalar * (Math.pow(2, exponent - 15) * (1 + fraction / 1024));
|
|
2106
|
+
}
|
|
2107
|
+
function castBigInt(value) {
|
|
2108
|
+
if (typeof value === "number") {
|
|
2109
|
+
return value;
|
|
2110
|
+
}
|
|
2111
|
+
const num = Number(value);
|
|
2112
|
+
if (Number.MIN_SAFE_INTEGER <= num && num <= Number.MAX_SAFE_INTEGER) {
|
|
2113
|
+
return num;
|
|
2114
|
+
}
|
|
2115
|
+
return value;
|
|
2116
|
+
}
|
|
2117
|
+
function overflow(n) {
|
|
2118
|
+
throw new Error(`CBOR: length ${n} greater than remaining buffer length.`);
|
|
2119
|
+
}
|
|
2120
|
+
function transformObject(ns, value) {
|
|
2121
|
+
if (ns.isTimestampSchema()) {
|
|
2122
|
+
if (typeof value === "number") {
|
|
2123
|
+
return _parseEpochTimestamp(value);
|
|
2124
|
+
}
|
|
2125
|
+
if (typeof value === "object" && value !== null) {
|
|
2126
|
+
if (value.tag === 1 && "value" in value) {
|
|
2127
|
+
return _parseEpochTimestamp(value.value);
|
|
2128
|
+
}
|
|
2129
|
+
}
|
|
2130
|
+
}
|
|
2131
|
+
if (ns.isBlobSchema()) {
|
|
2132
|
+
return value;
|
|
2133
|
+
}
|
|
2134
|
+
if (typeof value === "undefined" ||
|
|
2135
|
+
typeof value === "boolean" ||
|
|
2136
|
+
typeof value === "number" ||
|
|
2137
|
+
typeof value === "string" ||
|
|
2138
|
+
typeof value === "bigint" ||
|
|
2139
|
+
typeof value === "symbol") {
|
|
2140
|
+
return value;
|
|
2141
|
+
}
|
|
2142
|
+
if (typeof value !== "object" || value === null) {
|
|
2143
|
+
return value;
|
|
2144
|
+
}
|
|
2145
|
+
if ("byteLength" in value) {
|
|
2146
|
+
return value;
|
|
2147
|
+
}
|
|
2148
|
+
if (value instanceof Date) {
|
|
2149
|
+
return value;
|
|
2150
|
+
}
|
|
2151
|
+
if (value instanceof NumericValue) {
|
|
2152
|
+
return value;
|
|
2153
|
+
}
|
|
2154
|
+
if (ns.isDocumentSchema()) {
|
|
2155
|
+
return value;
|
|
2156
|
+
}
|
|
2157
|
+
if (ns.isListSchema()) {
|
|
2158
|
+
const memberSchema = ns.getValueSchema();
|
|
2159
|
+
const out = [];
|
|
2160
|
+
for (const item of value) {
|
|
2161
|
+
out.push(transformObject(memberSchema, item));
|
|
2162
|
+
}
|
|
2163
|
+
return out;
|
|
2164
|
+
}
|
|
2165
|
+
const newObject = {};
|
|
2166
|
+
if (ns.isMapSchema()) {
|
|
2167
|
+
const targetSchema = ns.getValueSchema();
|
|
2168
|
+
for (const key in value) {
|
|
2169
|
+
if (!hasOwn(value, key))
|
|
2170
|
+
continue;
|
|
2171
|
+
newObject[key] = transformObject(targetSchema, value[key]);
|
|
2172
|
+
}
|
|
2173
|
+
}
|
|
2174
|
+
else if (ns.isStructSchema()) {
|
|
2175
|
+
const isUnion = ns.isUnionSchema();
|
|
2176
|
+
let keys;
|
|
2177
|
+
if (isUnion) {
|
|
2178
|
+
keys = new Set();
|
|
2179
|
+
for (const k in value) {
|
|
2180
|
+
if (!hasOwn(value, k))
|
|
2181
|
+
continue;
|
|
2182
|
+
if (k !== "__type") {
|
|
2183
|
+
keys.add(k);
|
|
1135
2184
|
}
|
|
1136
2185
|
}
|
|
1137
|
-
|
|
1138
|
-
|
|
2186
|
+
}
|
|
2187
|
+
for (const [key, memberSchema] of ns.structIterator()) {
|
|
2188
|
+
if (isUnion) {
|
|
2189
|
+
keys.delete(key);
|
|
2190
|
+
}
|
|
2191
|
+
if (value[key] != null) {
|
|
2192
|
+
newObject[key] = transformObject(memberSchema, value[key]);
|
|
1139
2193
|
}
|
|
1140
|
-
return newObject;
|
|
1141
2194
|
}
|
|
1142
|
-
|
|
1143
|
-
|
|
2195
|
+
if (isUnion && keys?.size === 1) {
|
|
2196
|
+
let newObjectEmpty = true;
|
|
2197
|
+
for (const _ in newObject) {
|
|
2198
|
+
if (!hasOwn(newObject, _))
|
|
2199
|
+
continue;
|
|
2200
|
+
newObjectEmpty = false;
|
|
2201
|
+
break;
|
|
2202
|
+
}
|
|
2203
|
+
if (newObjectEmpty) {
|
|
2204
|
+
const k = keys.values().next().value;
|
|
2205
|
+
newObject.$unknown = [k, value[k]];
|
|
2206
|
+
}
|
|
2207
|
+
}
|
|
2208
|
+
else if (typeof value.__type === "string") {
|
|
2209
|
+
for (const k in value) {
|
|
2210
|
+
if (!hasOwn(value, k))
|
|
2211
|
+
continue;
|
|
2212
|
+
if (!(k in newObject)) {
|
|
2213
|
+
newObject[k] = value[k];
|
|
2214
|
+
}
|
|
2215
|
+
}
|
|
1144
2216
|
}
|
|
1145
2217
|
}
|
|
2218
|
+
return newObject;
|
|
2219
|
+
}
|
|
2220
|
+
|
|
2221
|
+
class CborCodec extends SerdeContext {
|
|
2222
|
+
createSerializer() {
|
|
2223
|
+
const serializer = new CborShapeSerializer2();
|
|
2224
|
+
serializer.setSerdeContext(this.serdeContext);
|
|
2225
|
+
return serializer;
|
|
2226
|
+
}
|
|
2227
|
+
createDeserializer() {
|
|
2228
|
+
const deserializer = new CborShapeDeserializer2();
|
|
2229
|
+
deserializer.setSerdeContext(this.serdeContext);
|
|
2230
|
+
return deserializer;
|
|
2231
|
+
}
|
|
1146
2232
|
}
|
|
1147
2233
|
|
|
1148
2234
|
class SmithyRpcV2CborProtocol extends RpcProtocol {
|
|
@@ -1174,10 +2260,9 @@ class SmithyRpcV2CborProtocol extends RpcProtocol {
|
|
|
1174
2260
|
this.serializer.write(15, {});
|
|
1175
2261
|
request.body = this.serializer.flush();
|
|
1176
2262
|
}
|
|
1177
|
-
|
|
2263
|
+
if (request.body instanceof Uint8Array) {
|
|
1178
2264
|
request.headers["content-length"] = String(request.body.byteLength);
|
|
1179
2265
|
}
|
|
1180
|
-
catch (e) { }
|
|
1181
2266
|
}
|
|
1182
2267
|
const { service, operation } = getSmithyContext(context);
|
|
1183
2268
|
const path = `/service/${service}/operation/${operation}`;
|
|
@@ -1209,7 +2294,7 @@ class SmithyRpcV2CborProtocol extends RpcProtocol {
|
|
|
1209
2294
|
try {
|
|
1210
2295
|
errorSchema = registry.getSchema(errorName);
|
|
1211
2296
|
}
|
|
1212
|
-
catch (
|
|
2297
|
+
catch (ignored) {
|
|
1213
2298
|
if (dataObject.Message) {
|
|
1214
2299
|
dataObject.message = dataObject.Message;
|
|
1215
2300
|
}
|
|
@@ -1240,9 +2325,234 @@ class SmithyRpcV2CborProtocol extends RpcProtocol {
|
|
|
1240
2325
|
}
|
|
1241
2326
|
}
|
|
1242
2327
|
|
|
2328
|
+
class CborShapeSerializer extends SerdeContext {
|
|
2329
|
+
value;
|
|
2330
|
+
write(schema, value) {
|
|
2331
|
+
this.value = this.serialize(schema, value);
|
|
2332
|
+
}
|
|
2333
|
+
serialize(schema, source) {
|
|
2334
|
+
const ns = NormalizedSchema.of(schema);
|
|
2335
|
+
if (source == null) {
|
|
2336
|
+
if (ns.isIdempotencyToken()) {
|
|
2337
|
+
return generateIdempotencyToken();
|
|
2338
|
+
}
|
|
2339
|
+
return source;
|
|
2340
|
+
}
|
|
2341
|
+
if (ns.isBlobSchema()) {
|
|
2342
|
+
if (typeof source === "string") {
|
|
2343
|
+
return (this.serdeContext?.base64Decoder ?? fromBase64)(source);
|
|
2344
|
+
}
|
|
2345
|
+
return source;
|
|
2346
|
+
}
|
|
2347
|
+
if (ns.isTimestampSchema()) {
|
|
2348
|
+
if (typeof source === "number" || typeof source === "bigint") {
|
|
2349
|
+
return dateToTag(new Date((Number(source) / 1000) | 0));
|
|
2350
|
+
}
|
|
2351
|
+
return dateToTag(source);
|
|
2352
|
+
}
|
|
2353
|
+
if (typeof source === "function" || typeof source === "object") {
|
|
2354
|
+
const sourceObject = source;
|
|
2355
|
+
if (ns.isListSchema() && Array.isArray(sourceObject)) {
|
|
2356
|
+
const sparse = !!ns.getMergedTraits().sparse;
|
|
2357
|
+
const newArray = [];
|
|
2358
|
+
let i = 0;
|
|
2359
|
+
for (const item of sourceObject) {
|
|
2360
|
+
const value = this.serialize(ns.getValueSchema(), item);
|
|
2361
|
+
if (value != null || sparse) {
|
|
2362
|
+
newArray[i++] = value;
|
|
2363
|
+
}
|
|
2364
|
+
}
|
|
2365
|
+
return newArray;
|
|
2366
|
+
}
|
|
2367
|
+
if (sourceObject instanceof Date) {
|
|
2368
|
+
return dateToTag(sourceObject);
|
|
2369
|
+
}
|
|
2370
|
+
const newObject = {};
|
|
2371
|
+
if (ns.isMapSchema()) {
|
|
2372
|
+
const sparse = !!ns.getMergedTraits().sparse;
|
|
2373
|
+
for (const key in sourceObject) {
|
|
2374
|
+
if (!hasOwn(sourceObject, key))
|
|
2375
|
+
continue;
|
|
2376
|
+
const value = this.serialize(ns.getValueSchema(), sourceObject[key]);
|
|
2377
|
+
if (value != null || sparse) {
|
|
2378
|
+
newObject[key] = value;
|
|
2379
|
+
}
|
|
2380
|
+
}
|
|
2381
|
+
}
|
|
2382
|
+
else if (ns.isStructSchema()) {
|
|
2383
|
+
for (const [key, memberSchema] of ns.structIterator()) {
|
|
2384
|
+
const value = this.serialize(memberSchema, sourceObject[key]);
|
|
2385
|
+
if (value != null) {
|
|
2386
|
+
newObject[key] = value;
|
|
2387
|
+
}
|
|
2388
|
+
}
|
|
2389
|
+
const isUnion = ns.isUnionSchema();
|
|
2390
|
+
if (isUnion && Array.isArray(sourceObject.$unknown)) {
|
|
2391
|
+
const [k, v] = sourceObject.$unknown;
|
|
2392
|
+
newObject[k] = v;
|
|
2393
|
+
}
|
|
2394
|
+
else if (typeof sourceObject.__type === "string") {
|
|
2395
|
+
for (const k in sourceObject) {
|
|
2396
|
+
if (!hasOwn(sourceObject, k))
|
|
2397
|
+
continue;
|
|
2398
|
+
if (!(k in newObject)) {
|
|
2399
|
+
newObject[k] = this.serialize(15, sourceObject[k]);
|
|
2400
|
+
}
|
|
2401
|
+
}
|
|
2402
|
+
}
|
|
2403
|
+
}
|
|
2404
|
+
else if (ns.isDocumentSchema()) {
|
|
2405
|
+
if (Array.isArray(sourceObject)) {
|
|
2406
|
+
const newArray = [];
|
|
2407
|
+
let i = 0;
|
|
2408
|
+
for (const item of sourceObject) {
|
|
2409
|
+
newArray[i++] = this.serialize(ns.getValueSchema(), item);
|
|
2410
|
+
}
|
|
2411
|
+
return newArray;
|
|
2412
|
+
}
|
|
2413
|
+
for (const key in sourceObject) {
|
|
2414
|
+
if (!hasOwn(sourceObject, key))
|
|
2415
|
+
continue;
|
|
2416
|
+
newObject[key] = this.serialize(ns.getValueSchema(), sourceObject[key]);
|
|
2417
|
+
}
|
|
2418
|
+
}
|
|
2419
|
+
else if (ns.isBigDecimalSchema()) {
|
|
2420
|
+
return sourceObject;
|
|
2421
|
+
}
|
|
2422
|
+
return newObject;
|
|
2423
|
+
}
|
|
2424
|
+
return source;
|
|
2425
|
+
}
|
|
2426
|
+
flush() {
|
|
2427
|
+
const buffer = cbor.serialize(this.value);
|
|
2428
|
+
this.value = undefined;
|
|
2429
|
+
return buffer;
|
|
2430
|
+
}
|
|
2431
|
+
}
|
|
2432
|
+
|
|
2433
|
+
class CborShapeDeserializer extends SerdeContext {
|
|
2434
|
+
read(schema, bytes) {
|
|
2435
|
+
const data = cbor.deserialize(bytes);
|
|
2436
|
+
return this.readValue(schema, data);
|
|
2437
|
+
}
|
|
2438
|
+
readValue(_schema, value) {
|
|
2439
|
+
const ns = NormalizedSchema.of(_schema);
|
|
2440
|
+
if (ns.isTimestampSchema()) {
|
|
2441
|
+
if (typeof value === "number") {
|
|
2442
|
+
return _parseEpochTimestamp(value);
|
|
2443
|
+
}
|
|
2444
|
+
if (typeof value === "object") {
|
|
2445
|
+
if (value.tag === 1 && "value" in value) {
|
|
2446
|
+
return _parseEpochTimestamp(value.value);
|
|
2447
|
+
}
|
|
2448
|
+
}
|
|
2449
|
+
}
|
|
2450
|
+
if (ns.isBlobSchema()) {
|
|
2451
|
+
if (typeof value === "string") {
|
|
2452
|
+
return (this.serdeContext?.base64Decoder ?? fromBase64)(value);
|
|
2453
|
+
}
|
|
2454
|
+
return value;
|
|
2455
|
+
}
|
|
2456
|
+
if (typeof value === "undefined" ||
|
|
2457
|
+
typeof value === "boolean" ||
|
|
2458
|
+
typeof value === "number" ||
|
|
2459
|
+
typeof value === "string" ||
|
|
2460
|
+
typeof value === "bigint" ||
|
|
2461
|
+
typeof value === "symbol") {
|
|
2462
|
+
return value;
|
|
2463
|
+
}
|
|
2464
|
+
else if (typeof value === "object") {
|
|
2465
|
+
if (value === null) {
|
|
2466
|
+
return null;
|
|
2467
|
+
}
|
|
2468
|
+
if ("byteLength" in value) {
|
|
2469
|
+
return value;
|
|
2470
|
+
}
|
|
2471
|
+
if (value instanceof Date) {
|
|
2472
|
+
return value;
|
|
2473
|
+
}
|
|
2474
|
+
if (ns.isDocumentSchema()) {
|
|
2475
|
+
return value;
|
|
2476
|
+
}
|
|
2477
|
+
if (ns.isListSchema()) {
|
|
2478
|
+
const newArray = [];
|
|
2479
|
+
const memberSchema = ns.getValueSchema();
|
|
2480
|
+
for (const item of value) {
|
|
2481
|
+
const itemValue = this.readValue(memberSchema, item);
|
|
2482
|
+
newArray.push(itemValue);
|
|
2483
|
+
}
|
|
2484
|
+
return newArray;
|
|
2485
|
+
}
|
|
2486
|
+
const newObject = {};
|
|
2487
|
+
if (ns.isMapSchema()) {
|
|
2488
|
+
const targetSchema = ns.getValueSchema();
|
|
2489
|
+
for (const key in value) {
|
|
2490
|
+
if (!hasOwn(value, key))
|
|
2491
|
+
continue;
|
|
2492
|
+
const itemValue = this.readValue(targetSchema, value[key]);
|
|
2493
|
+
newObject[key] = itemValue;
|
|
2494
|
+
}
|
|
2495
|
+
}
|
|
2496
|
+
else if (ns.isStructSchema()) {
|
|
2497
|
+
const isUnion = ns.isUnionSchema();
|
|
2498
|
+
let keys;
|
|
2499
|
+
if (isUnion) {
|
|
2500
|
+
keys = new Set();
|
|
2501
|
+
for (const k in value) {
|
|
2502
|
+
if (!hasOwn(value, k))
|
|
2503
|
+
continue;
|
|
2504
|
+
if (k !== "__type") {
|
|
2505
|
+
keys.add(k);
|
|
2506
|
+
}
|
|
2507
|
+
}
|
|
2508
|
+
}
|
|
2509
|
+
for (const [key, memberSchema] of ns.structIterator()) {
|
|
2510
|
+
if (isUnion) {
|
|
2511
|
+
keys.delete(key);
|
|
2512
|
+
}
|
|
2513
|
+
if (value[key] != null) {
|
|
2514
|
+
newObject[key] = this.readValue(memberSchema, value[key]);
|
|
2515
|
+
}
|
|
2516
|
+
}
|
|
2517
|
+
if (isUnion && keys?.size === 1) {
|
|
2518
|
+
let newObjectEmpty = true;
|
|
2519
|
+
for (const _ in newObject) {
|
|
2520
|
+
if (!hasOwn(newObject, _))
|
|
2521
|
+
continue;
|
|
2522
|
+
newObjectEmpty = false;
|
|
2523
|
+
break;
|
|
2524
|
+
}
|
|
2525
|
+
if (newObjectEmpty) {
|
|
2526
|
+
const k = keys.values().next().value;
|
|
2527
|
+
newObject.$unknown = [k, value[k]];
|
|
2528
|
+
}
|
|
2529
|
+
}
|
|
2530
|
+
else if (typeof value.__type === "string") {
|
|
2531
|
+
for (const k in value) {
|
|
2532
|
+
if (!hasOwn(value, k))
|
|
2533
|
+
continue;
|
|
2534
|
+
if (!(k in newObject)) {
|
|
2535
|
+
newObject[k] = value[k];
|
|
2536
|
+
}
|
|
2537
|
+
}
|
|
2538
|
+
}
|
|
2539
|
+
}
|
|
2540
|
+
else if (value instanceof NumericValue) {
|
|
2541
|
+
return value;
|
|
2542
|
+
}
|
|
2543
|
+
return newObject;
|
|
2544
|
+
}
|
|
2545
|
+
else {
|
|
2546
|
+
return value;
|
|
2547
|
+
}
|
|
2548
|
+
}
|
|
2549
|
+
}
|
|
2550
|
+
|
|
1243
2551
|
exports.CborCodec = CborCodec;
|
|
1244
2552
|
exports.CborShapeDeserializer = CborShapeDeserializer;
|
|
2553
|
+
exports.CborShapeDeserializer2 = CborShapeDeserializer2;
|
|
1245
2554
|
exports.CborShapeSerializer = CborShapeSerializer;
|
|
2555
|
+
exports.CborShapeSerializer2 = CborShapeSerializer2;
|
|
1246
2556
|
exports.SmithyRpcV2CborProtocol = SmithyRpcV2CborProtocol;
|
|
1247
2557
|
exports.buildHttpRpcRequest = buildHttpRpcRequest;
|
|
1248
2558
|
exports.cbor = cbor;
|