@cdklabs/cdk-construct-connect-datalake 0.0.22 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +10 -10
- package/.jsii.tabl.json +1 -1
- package/lib/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +38 -38
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +36 -36
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +37 -37
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +54 -56
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +57 -57
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +58 -60
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-cloudformation/package.json +10 -10
- package/node_modules/@aws-sdk/client-connect/README.md +91 -0
- package/node_modules/@aws-sdk/client-connect/dist-cjs/index.js +631 -56
- package/node_modules/@aws-sdk/client-connect/dist-es/Connect.js +32 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/commands/CreateExtractionDefinitionCommand.js +4 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/commands/CreateMetricCommand.js +4 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/commands/DeleteExtractionDefinitionCommand.js +4 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/commands/DeleteMetricCommand.js +4 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/commands/DescribeExtractionDefinitionCommand.js +4 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/commands/DescribeMetricCommand.js +4 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/commands/ListExtractionDefinitionsCommand.js +4 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/commands/ListMetricsCommand.js +4 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/commands/SearchMetricsCommand.js +4 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/commands/StartAssistantContactCommand.js +4 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/commands/UpdateExtractionDefinitionCommand.js +4 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/commands/UpdateMetricContentCommand.js +4 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/commands/UpdateMetricMetadataCommand.js +4 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/commands/index.js +13 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-es/models/enums.js +49 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/pagination/ListExtractionDefinitionsPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/pagination/ListMetricsPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/pagination/SearchMetricsPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/pagination/index.js +3 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/schemas/schemas_0.js +440 -55
- package/node_modules/@aws-sdk/client-connect/dist-types/Connect.d.ts +112 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ConnectClient.d.ts +15 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateEvaluationFormCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateExtractionDefinitionCommand.d.ts +111 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateMetricCommand.d.ts +137 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateRuleCommand.d.ts +9 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateTestCaseCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateTrafficDistributionGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateUseCaseCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateUserCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateUserHierarchyGroupCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/DeleteExtractionDefinitionCommand.d.ts +85 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/DeleteMetricCommand.d.ts +93 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeContactEvaluationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeEvaluationFormCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeExtractionDefinitionCommand.d.ts +107 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeMetricCommand.d.ts +165 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeRuleCommand.d.ts +9 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetCurrentMetricDataCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetCurrentUserDataCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetEffectiveHoursOfOperationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetEvaluationFormValidationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetFederationTokenCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/ListExtractionDefinitionsCommand.d.ts +98 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/ListMetricsCommand.d.ts +103 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/ListRulesCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchAgentStatusesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchContactEvaluationsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchContactFlowModulesCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchContactFlowsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchEvaluationFormsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchMetricsCommand.d.ts +223 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchRulesCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/StartAssistantContactCommand.d.ts +129 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/StartWebRTCContactCommand.d.ts +28 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateEvaluationFormCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateExtractionDefinitionCommand.d.ts +100 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateMetricContentCommand.d.ts +121 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateMetricMetadataCommand.d.ts +93 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateRuleCommand.d.ts +8 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateViewMetadataCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateWorkspaceMetadataCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateWorkspacePageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateWorkspaceThemeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateWorkspaceVisibilityCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/index.d.ts +13 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/models/enums.d.ts +129 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_0.d.ts +323 -493
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_1.d.ts +3428 -3494
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_2.d.ts +5751 -5545
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_3.d.ts +3477 -3607
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_4.d.ts +1233 -6
- package/node_modules/@aws-sdk/client-connect/dist-types/pagination/ListExtractionDefinitionsPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/pagination/ListMetricsPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/pagination/SearchMetricsPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/pagination/index.d.ts +3 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/runtimeConfig.browser.d.ts +40 -40
- package/node_modules/@aws-sdk/client-connect/dist-types/runtimeConfig.d.ts +36 -36
- package/node_modules/@aws-sdk/client-connect/dist-types/runtimeConfig.native.d.ts +38 -38
- package/node_modules/@aws-sdk/client-connect/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/schemas/schemas_0.d.ts +58 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/Connect.d.ts +239 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/ConnectClient.d.ts +75 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/CreateExtractionDefinitionCommand.d.ts +42 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/CreateMetricCommand.d.ts +38 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/CreateTestCaseCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/CreateTrafficDistributionGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/CreateUseCaseCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/CreateUserCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/CreateUserHierarchyGroupCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/DeleteExtractionDefinitionCommand.d.ts +42 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/DeleteMetricCommand.d.ts +38 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/DescribeExtractionDefinitionCommand.d.ts +42 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/DescribeMetricCommand.d.ts +38 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetCurrentMetricDataCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetCurrentUserDataCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetEffectiveHoursOfOperationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetEvaluationFormValidationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/ListExtractionDefinitionsCommand.d.ts +42 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/ListMetricsCommand.d.ts +38 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchAgentStatusesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchContactEvaluationsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchContactFlowModulesCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchContactFlowsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchMetricsCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/StartAssistantContactCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/StartWebRTCContactCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateExtractionDefinitionCommand.d.ts +42 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateMetricContentCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateMetricMetadataCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateViewMetadataCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateWorkspaceMetadataCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateWorkspacePageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateWorkspaceThemeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateWorkspaceVisibilityCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/enums.d.ts +62 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_0.d.ts +83 -106
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_1.d.ts +185 -168
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_2.d.ts +200 -191
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_3.d.ts +265 -303
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_4.d.ts +304 -25
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/pagination/ListExtractionDefinitionsPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/pagination/ListMetricsPaginator.d.ts +8 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/pagination/SearchMetricsPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/schemas/schemas_0.d.ts +58 -0
- package/node_modules/@aws-sdk/client-connect/package.json +10 -10
- package/node_modules/@aws-sdk/client-glue/dist-cjs/index.js +18 -18
- package/node_modules/@aws-sdk/client-glue/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-es/schemas/schemas_0.js +17 -17
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/AssociateGlossaryTermsCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/DeleteAttachmentCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/DisassociateGlossaryTermsCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/PutAssetTypeCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartMaterializedViewRefreshTaskRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/StopMaterializedViewRefreshTaskRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/models/errors.d.ts +12 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/models/models_0.d.ts +20 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/models/models_1.d.ts +31 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/models/models_2.d.ts +5 -3
- package/node_modules/@aws-sdk/client-glue/dist-types/models/models_3.d.ts +3 -2
- package/node_modules/@aws-sdk/client-glue/dist-types/runtimeConfig.browser.d.ts +40 -40
- package/node_modules/@aws-sdk/client-glue/dist-types/runtimeConfig.d.ts +36 -36
- package/node_modules/@aws-sdk/client-glue/dist-types/runtimeConfig.native.d.ts +38 -38
- package/node_modules/@aws-sdk/client-glue/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_0.d.ts +4 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_1.d.ts +6 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-glue/package.json +10 -10
- package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-lakeformation/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-lakeformation/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lakeformation/dist-types/runtimeConfig.browser.d.ts +41 -41
- package/node_modules/@aws-sdk/client-lakeformation/dist-types/runtimeConfig.d.ts +37 -37
- package/node_modules/@aws-sdk/client-lakeformation/dist-types/runtimeConfig.native.d.ts +39 -39
- package/node_modules/@aws-sdk/client-lakeformation/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-lakeformation/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lakeformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +57 -59
- package/node_modules/@aws-sdk/client-lakeformation/dist-types/ts3.4/runtimeConfig.d.ts +59 -59
- package/node_modules/@aws-sdk/client-lakeformation/dist-types/ts3.4/runtimeConfig.native.d.ts +61 -63
- package/node_modules/@aws-sdk/client-lakeformation/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-lakeformation/package.json +10 -10
- package/node_modules/@aws-sdk/client-ram/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-ram/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-ram/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ram/dist-types/runtimeConfig.browser.d.ts +40 -40
- package/node_modules/@aws-sdk/client-ram/dist-types/runtimeConfig.d.ts +36 -36
- package/node_modules/@aws-sdk/client-ram/dist-types/runtimeConfig.native.d.ts +38 -38
- package/node_modules/@aws-sdk/client-ram/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
- package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
- package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
- package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-ram/package.json +10 -10
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +45 -45
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +36 -36
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +44 -44
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +72 -74
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +70 -70
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +76 -78
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sts/package.json +12 -12
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/lib/aws/partitions.d.ts +54 -54
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partitions.d.ts +54 -54
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +1 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +1 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +1 -4
- package/node_modules/@aws-sdk/core/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-env/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-login/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +41 -41
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +43 -43
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +43 -43
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +41 -41
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +41 -41
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +44 -44
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +35 -35
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +43 -43
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +64 -66
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +65 -65
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +68 -70
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +67 -69
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +66 -66
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +71 -73
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +64 -66
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +65 -65
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +68 -70
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +64 -66
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +65 -65
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +68 -70
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +68 -70
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +68 -68
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +72 -74
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/package.json +9 -9
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +8 -4
- package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +8 -4
- package/node_modules/@aws-sdk/token-providers/package.json +7 -7
- package/node_modules/@aws-sdk/types/package.json +3 -3
- package/node_modules/@aws-sdk/xml-builder/package.json +3 -3
- package/node_modules/@smithy/core/dist-cjs/index.js +3 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +127 -41
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +14 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +3 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +3 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +33 -24
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +33 -24
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +33 -15
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +0 -10
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +7 -0
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +1 -2
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +29 -13
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +12 -4
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +9 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +7 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +44 -15
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +22 -4
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +5 -0
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js +6 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +11 -4
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +23 -20
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +9 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +5 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +6 -4
- package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +6 -4
- package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +8 -5
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/transport/hasOwn.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/transport/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +1 -7
- package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +14 -2
- package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +7 -2
- package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/retries-2026-config.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/parse-utils.d.ts +5 -5
- package/node_modules/@smithy/core/dist-types/submodules/transport/hasOwn.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/submodules/transport/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +1 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +14 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +7 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/retries-2026-config.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.browser.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.native.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/parse-utils.d.ts +5 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/hasOwn.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/index.d.ts +1 -0
- package/node_modules/@smithy/core/package.json +3 -11
- package/node_modules/@smithy/credential-provider-imds/package.json +4 -12
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -13
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +16 -4
- package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +3 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +12 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/package.json +5 -13
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +28 -16
- package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +13 -10
- package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +4 -1
- package/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +4 -1
- package/node_modules/@smithy/signature-v4/dist-es/headerUtil.js +10 -3
- package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +4 -1
- package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +4 -1
- package/node_modules/@smithy/signature-v4/package.json +4 -12
- package/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts +14 -14
- package/node_modules/@smithy/types/package.json +29 -39
- package/package.json +9 -9
|
@@ -51,7 +51,7 @@ export declare const expectLong: (value: any) => number | undefined;
|
|
|
51
51
|
*
|
|
52
52
|
* @deprecated Use expectLong
|
|
53
53
|
*/
|
|
54
|
-
export declare const expectInt:
|
|
54
|
+
export declare const expectInt: typeof expectLong;
|
|
55
55
|
/**
|
|
56
56
|
* Asserts a value is a 32-bit integer and returns it.
|
|
57
57
|
* otherwise an error is thrown.
|
|
@@ -136,7 +136,7 @@ export declare const strictParseDouble: (value: string | number) => number | und
|
|
|
136
136
|
*
|
|
137
137
|
* @deprecated Use strictParseDouble
|
|
138
138
|
*/
|
|
139
|
-
export declare const strictParseFloat:
|
|
139
|
+
export declare const strictParseFloat: typeof strictParseDouble;
|
|
140
140
|
/**
|
|
141
141
|
* Parses a value into a float. If the value is null or undefined, undefined
|
|
142
142
|
* will be returned. If the value is a string, it will be parsed by the standard
|
|
@@ -166,13 +166,13 @@ export declare const limitedParseDouble: (value: string | number) => number | un
|
|
|
166
166
|
*
|
|
167
167
|
* @deprecated Use limitedParseDouble
|
|
168
168
|
*/
|
|
169
|
-
export declare const handleFloat:
|
|
169
|
+
export declare const handleFloat: typeof limitedParseDouble;
|
|
170
170
|
/**
|
|
171
171
|
* @internal
|
|
172
172
|
*
|
|
173
173
|
* @deprecated Use limitedParseDouble
|
|
174
174
|
*/
|
|
175
|
-
export declare const limitedParseFloat:
|
|
175
|
+
export declare const limitedParseFloat: typeof limitedParseDouble;
|
|
176
176
|
/**
|
|
177
177
|
* Asserts a value is a 32-bit float and returns it. If the value is a string
|
|
178
178
|
* representation of a non-numeric number type (NaN, Infinity, -Infinity),
|
|
@@ -202,7 +202,7 @@ export declare const strictParseLong: (value: string | number) => number | undef
|
|
|
202
202
|
*
|
|
203
203
|
* @deprecated Use strictParseLong
|
|
204
204
|
*/
|
|
205
|
-
export declare const strictParseInt:
|
|
205
|
+
export declare const strictParseInt: typeof strictParseLong;
|
|
206
206
|
/**
|
|
207
207
|
* Parses a value into a 32-bit integer. If the value is null or undefined, undefined
|
|
208
208
|
* will be returned. If the value is a string, it will be parsed by parseFloat
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.33.3",
|
|
4
4
|
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/core",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -214,9 +214,6 @@
|
|
|
214
214
|
"require": "./dist-cjs/submodules/transport/index.js"
|
|
215
215
|
}
|
|
216
216
|
},
|
|
217
|
-
"publishConfig": {
|
|
218
|
-
"directory": ".release/package"
|
|
219
|
-
},
|
|
220
217
|
"scripts": {
|
|
221
218
|
"benchmark:cbor": "node ./scripts/cbor-perf.mjs",
|
|
222
219
|
"benchmark:checksum": "node ./scripts/checksum-perf.mjs",
|
|
@@ -229,14 +226,13 @@
|
|
|
229
226
|
"extract:docs": "api-extractor run --local",
|
|
230
227
|
"lint": "node ../../scripts/validation/submodules-linter.js",
|
|
231
228
|
"prebuild": "yarn lint",
|
|
232
|
-
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
233
229
|
"test": "yarn g:vitest run",
|
|
234
230
|
"test:watch": "yarn g:vitest watch",
|
|
235
231
|
"test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
|
|
236
232
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
237
233
|
},
|
|
238
234
|
"dependencies": {
|
|
239
|
-
"@smithy/types": "^4.
|
|
235
|
+
"@smithy/types": "^4.17.2",
|
|
240
236
|
"tslib": "^2.6.2"
|
|
241
237
|
},
|
|
242
238
|
"devDependencies": {
|
|
@@ -245,11 +241,7 @@
|
|
|
245
241
|
"downlevel-dts": "0.10.1",
|
|
246
242
|
"hash-test-vectors": "^1.3.2",
|
|
247
243
|
"json-bigint": "^1.0.0",
|
|
248
|
-
"premove": "4.0.0"
|
|
249
|
-
"typedoc": "0.23.23"
|
|
250
|
-
},
|
|
251
|
-
"typedoc": {
|
|
252
|
-
"entryPoint": "src/index.ts"
|
|
244
|
+
"premove": "4.0.0"
|
|
253
245
|
},
|
|
254
246
|
"engines": {
|
|
255
247
|
"node": ">=18.0.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/credential-provider-imds",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.2",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -31,33 +31,25 @@
|
|
|
31
31
|
]
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
|
-
"publishConfig": {
|
|
35
|
-
"directory": ".release/package"
|
|
36
|
-
},
|
|
37
34
|
"scripts": {
|
|
38
35
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
|
|
39
36
|
"build:es:cjs": "node ../../scripts/compilation/es_cjs.js",
|
|
40
37
|
"build:types": "premove dist-types && yarn g:tsc -p tsconfig.types.json",
|
|
41
38
|
"build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
|
42
39
|
"clean": "premove dist-cjs dist-es dist-types",
|
|
43
|
-
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
44
40
|
"test": "yarn g:vitest run",
|
|
45
41
|
"test:watch": "yarn g:vitest watch"
|
|
46
42
|
},
|
|
47
43
|
"dependencies": {
|
|
48
|
-
"@smithy/core": "^3.
|
|
49
|
-
"@smithy/types": "^4.
|
|
44
|
+
"@smithy/core": "^3.33.2",
|
|
45
|
+
"@smithy/types": "^4.17.2",
|
|
50
46
|
"tslib": "^2.6.2"
|
|
51
47
|
},
|
|
52
48
|
"devDependencies": {
|
|
53
49
|
"@types/node": "^18.11.9",
|
|
54
50
|
"concurrently": "7.0.0",
|
|
55
51
|
"downlevel-dts": "0.10.1",
|
|
56
|
-
"premove": "4.0.0"
|
|
57
|
-
"typedoc": "0.23.23"
|
|
58
|
-
},
|
|
59
|
-
"typedoc": {
|
|
60
|
-
"entryPoint": "src/index.ts"
|
|
52
|
+
"premove": "4.0.0"
|
|
61
53
|
},
|
|
62
54
|
"engines": {
|
|
63
55
|
"node": ">=18.0.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/fetch-http-handler",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.7.2",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/fetch-http-handler",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -27,9 +27,6 @@
|
|
|
27
27
|
]
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
|
-
"publishConfig": {
|
|
31
|
-
"directory": ".release/package"
|
|
32
|
-
},
|
|
33
30
|
"scripts": {
|
|
34
31
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
|
|
35
32
|
"build:es:cjs": "node ../../scripts/compilation/es_cjs.js",
|
|
@@ -37,26 +34,21 @@
|
|
|
37
34
|
"build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
|
38
35
|
"clean": "premove dist-cjs dist-es dist-types",
|
|
39
36
|
"extract:docs": "api-extractor run --local",
|
|
40
|
-
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
41
37
|
"test": "yarn g:vitest run && yarn test:browser",
|
|
42
38
|
"test:watch": "yarn g:vitest watch",
|
|
43
39
|
"test:browser": "yarn g:vitest run -c vitest.config.browser.mts",
|
|
44
40
|
"test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.mts"
|
|
45
41
|
},
|
|
46
42
|
"dependencies": {
|
|
47
|
-
"@smithy/core": "^3.
|
|
48
|
-
"@smithy/types": "^4.
|
|
43
|
+
"@smithy/core": "^3.33.2",
|
|
44
|
+
"@smithy/types": "^4.17.2",
|
|
49
45
|
"tslib": "^2.6.2"
|
|
50
46
|
},
|
|
51
47
|
"devDependencies": {
|
|
52
|
-
"@smithy/abort-controller": "^4.
|
|
48
|
+
"@smithy/abort-controller": "^4.4.2",
|
|
53
49
|
"concurrently": "7.0.0",
|
|
54
50
|
"downlevel-dts": "0.10.1",
|
|
55
|
-
"premove": "4.0.0"
|
|
56
|
-
"typedoc": "0.23.23"
|
|
57
|
-
},
|
|
58
|
-
"typedoc": {
|
|
59
|
-
"entryPoint": "src/index.ts"
|
|
51
|
+
"premove": "4.0.0"
|
|
60
52
|
},
|
|
61
53
|
"engines": {
|
|
62
54
|
"node": ">=18.0.0"
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
const { hasOwn } = require("@smithy/core/serde");
|
|
2
|
+
const { streamCollector } = require("@smithy/core/serde");
|
|
3
|
+
exports.streamCollector = streamCollector;
|
|
1
4
|
const { buildQueryString, HttpResponse } = require("@smithy/core/protocols");
|
|
2
5
|
const node_https = require("node:https");
|
|
3
6
|
const { Readable } = require("node:stream");
|
|
4
7
|
const http2 = require("node:http2");
|
|
5
|
-
const { streamCollector } = require("@smithy/core/serde");
|
|
6
|
-
exports.streamCollector = streamCollector;
|
|
7
8
|
|
|
8
9
|
function buildAbortError(abortSignal) {
|
|
9
10
|
const reason = abortSignal && typeof abortSignal === "object" && "reason" in abortSignal
|
|
@@ -30,6 +31,8 @@ const NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "EPIPE", "ETIMEDOUT"];
|
|
|
30
31
|
const getTransformedHeaders = (headers) => {
|
|
31
32
|
const transformedHeaders = {};
|
|
32
33
|
for (const name in headers) {
|
|
34
|
+
if (!hasOwn(headers, name))
|
|
35
|
+
continue;
|
|
33
36
|
const headerValues = headers[name];
|
|
34
37
|
transformedHeaders[name] = Array.isArray(headerValues) ? headerValues.join(",") : headerValues;
|
|
35
38
|
}
|
|
@@ -231,6 +234,8 @@ class NodeHttpHandler {
|
|
|
231
234
|
}
|
|
232
235
|
if (sockets && requests) {
|
|
233
236
|
for (const origin in sockets) {
|
|
237
|
+
if (!hasOwn(sockets, origin))
|
|
238
|
+
continue;
|
|
234
239
|
const socketsInUse = sockets[origin]?.length ?? 0;
|
|
235
240
|
const requestsEnqueued = requests[origin]?.length ?? 0;
|
|
236
241
|
if (socketsInUse >= maxSockets && requestsEnqueued >= 2 * maxSockets) {
|
|
@@ -266,6 +271,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
266
271
|
this.config = await this.configProvider;
|
|
267
272
|
}
|
|
268
273
|
const config = this.config;
|
|
274
|
+
const logger = config.logger;
|
|
269
275
|
const isSSL = request.protocol === "https:";
|
|
270
276
|
if (!isSSL && !this.config.httpAgent) {
|
|
271
277
|
this.config.httpAgent = await this.config.httpAgentProvider();
|
|
@@ -309,7 +315,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
309
315
|
});
|
|
310
316
|
}
|
|
311
317
|
socketWarningTimeoutId = timing.setTimeout(() => {
|
|
312
|
-
this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp,
|
|
318
|
+
this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, logger);
|
|
313
319
|
}, config.socketAcquisitionWarningTimeout ?? (config.requestTimeout ?? 2000) + (config.connectionTimeout ?? 1000));
|
|
314
320
|
const queryString = request.query ? buildQueryString(request.query) : "";
|
|
315
321
|
let auth = undefined;
|
|
@@ -376,7 +382,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
376
382
|
}
|
|
377
383
|
const effectiveRequestTimeout = requestTimeout ?? config.requestTimeout;
|
|
378
384
|
connectionTimeoutId = setConnectionTimeout(req, reject, config.connectionTimeout);
|
|
379
|
-
requestTimeoutId = setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout,
|
|
385
|
+
requestTimeoutId = setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout, logger ?? console);
|
|
380
386
|
socketTimeoutId = setSocketTimeout(req, reject, config.socketTimeout);
|
|
381
387
|
const httpAgent = nodeHttpsOptions.agent;
|
|
382
388
|
if (typeof httpAgent === "object" && "keepAlive" in httpAgent) {
|
|
@@ -394,6 +400,12 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
394
400
|
updateHttpClientConfig(key, value) {
|
|
395
401
|
this.config = undefined;
|
|
396
402
|
this.configProvider = this.configProvider.then((config) => {
|
|
403
|
+
if (key === Symbol.for("logger")) {
|
|
404
|
+
return {
|
|
405
|
+
...config,
|
|
406
|
+
logger: config.logger ?? value,
|
|
407
|
+
};
|
|
408
|
+
}
|
|
397
409
|
return {
|
|
398
410
|
...config,
|
|
399
411
|
[key]: value,
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { hasOwn } from "@smithy/core/serde";
|
|
1
2
|
const getTransformedHeaders = (headers) => {
|
|
2
3
|
const transformedHeaders = {};
|
|
3
4
|
for (const name in headers) {
|
|
5
|
+
if (!hasOwn(headers, name))
|
|
6
|
+
continue;
|
|
4
7
|
const headerValues = headers[name];
|
|
5
8
|
transformedHeaders[name] = Array.isArray(headerValues) ? headerValues.join(",") : headerValues;
|
|
6
9
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { hasOwn } from "@smithy/core/serde";
|
|
1
2
|
import { HttpResponse, buildQueryString } from "@smithy/core/protocols";
|
|
2
3
|
import { buildAbortError } from "./build-abort-error";
|
|
3
4
|
import { NODEJS_TIMEOUT_ERROR_CODES } from "./constants";
|
|
@@ -35,6 +36,8 @@ export class NodeHttpHandler {
|
|
|
35
36
|
}
|
|
36
37
|
if (sockets && requests) {
|
|
37
38
|
for (const origin in sockets) {
|
|
39
|
+
if (!hasOwn(sockets, origin))
|
|
40
|
+
continue;
|
|
38
41
|
const socketsInUse = sockets[origin]?.length ?? 0;
|
|
39
42
|
const requestsEnqueued = requests[origin]?.length ?? 0;
|
|
40
43
|
if (socketsInUse >= maxSockets && requestsEnqueued >= 2 * maxSockets) {
|
|
@@ -70,6 +73,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
70
73
|
this.config = await this.configProvider;
|
|
71
74
|
}
|
|
72
75
|
const config = this.config;
|
|
76
|
+
const logger = config.logger;
|
|
73
77
|
const isSSL = request.protocol === "https:";
|
|
74
78
|
if (!isSSL && !this.config.httpAgent) {
|
|
75
79
|
this.config.httpAgent = await this.config.httpAgentProvider();
|
|
@@ -113,7 +117,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
113
117
|
});
|
|
114
118
|
}
|
|
115
119
|
socketWarningTimeoutId = timing.setTimeout(() => {
|
|
116
|
-
this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp,
|
|
120
|
+
this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, logger);
|
|
117
121
|
}, config.socketAcquisitionWarningTimeout ?? (config.requestTimeout ?? 2000) + (config.connectionTimeout ?? 1000));
|
|
118
122
|
const queryString = request.query ? buildQueryString(request.query) : "";
|
|
119
123
|
let auth = undefined;
|
|
@@ -180,7 +184,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
180
184
|
}
|
|
181
185
|
const effectiveRequestTimeout = requestTimeout ?? config.requestTimeout;
|
|
182
186
|
connectionTimeoutId = setConnectionTimeout(req, reject, config.connectionTimeout);
|
|
183
|
-
requestTimeoutId = setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout,
|
|
187
|
+
requestTimeoutId = setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout, logger ?? console);
|
|
184
188
|
socketTimeoutId = setSocketTimeout(req, reject, config.socketTimeout);
|
|
185
189
|
const httpAgent = nodeHttpsOptions.agent;
|
|
186
190
|
if (typeof httpAgent === "object" && "keepAlive" in httpAgent) {
|
|
@@ -198,6 +202,12 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
198
202
|
updateHttpClientConfig(key, value) {
|
|
199
203
|
this.config = undefined;
|
|
200
204
|
this.configProvider = this.configProvider.then((config) => {
|
|
205
|
+
if (key === Symbol.for("logger")) {
|
|
206
|
+
return {
|
|
207
|
+
...config,
|
|
208
|
+
logger: config.logger ?? value,
|
|
209
|
+
};
|
|
210
|
+
}
|
|
201
211
|
return {
|
|
202
212
|
...config,
|
|
203
213
|
[key]: value,
|
|
@@ -64,7 +64,7 @@ export declare class NodeHttp2Handler implements HttpHandler<NodeHttp2HandlerOpt
|
|
|
64
64
|
* @returns the input if it is an HttpHandler of any class,
|
|
65
65
|
* or instantiates a new instance of this handler.
|
|
66
66
|
*/
|
|
67
|
-
static create(instanceOrOptions?: HttpHandler<any> | NodeHttp2HandlerOptions | Provider<NodeHttp2HandlerOptions | void>): HttpHandler<any
|
|
67
|
+
static create(instanceOrOptions?: HttpHandler<any> | NodeHttp2HandlerOptions | Provider<NodeHttp2HandlerOptions | void>): NodeHttp2Handler | HttpHandler<any>;
|
|
68
68
|
constructor(options?: NodeHttp2HandlerOptions | Provider<NodeHttp2HandlerOptions | void>);
|
|
69
69
|
destroy(): void;
|
|
70
70
|
handle(request: HttpRequest, { abortSignal, requestTimeout, isEventStream }?: HttpHandlerOptions & EventStreamSignal): Promise<{
|
|
@@ -64,7 +64,7 @@ export declare class NodeHttp2Handler implements HttpHandler<NodeHttp2HandlerOpt
|
|
|
64
64
|
* @returns the input if it is an HttpHandler of any class,
|
|
65
65
|
* or instantiates a new instance of this handler.
|
|
66
66
|
*/
|
|
67
|
-
static create(instanceOrOptions?: HttpHandler<any> | NodeHttp2HandlerOptions | Provider<NodeHttp2HandlerOptions | void>): HttpHandler<any
|
|
67
|
+
static create(instanceOrOptions?: HttpHandler<any> | NodeHttp2HandlerOptions | Provider<NodeHttp2HandlerOptions | void>): NodeHttp2Handler | HttpHandler<any>;
|
|
68
68
|
constructor(options?: NodeHttp2HandlerOptions | Provider<NodeHttp2HandlerOptions | void>);
|
|
69
69
|
destroy(): void;
|
|
70
70
|
handle(request: HttpRequest, { abortSignal, requestTimeout, isEventStream }?: HttpHandlerOptions & EventStreamSignal): Promise<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/node-http-handler",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.11.3",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/node-http-handler",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -28,9 +28,6 @@
|
|
|
28
28
|
]
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
|
-
"publishConfig": {
|
|
32
|
-
"directory": ".release/package"
|
|
33
|
-
},
|
|
34
31
|
"scripts": {
|
|
35
32
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
|
|
36
33
|
"build:es:cjs": "node ../../scripts/compilation/es_cjs.js",
|
|
@@ -38,25 +35,20 @@
|
|
|
38
35
|
"build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
|
39
36
|
"clean": "premove dist-cjs dist-es dist-types",
|
|
40
37
|
"extract:docs": "api-extractor run --local",
|
|
41
|
-
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
42
38
|
"test": "yarn g:vitest run",
|
|
43
39
|
"test:watch": "yarn g:vitest watch"
|
|
44
40
|
},
|
|
45
41
|
"dependencies": {
|
|
46
|
-
"@smithy/core": "^3.
|
|
47
|
-
"@smithy/types": "^4.
|
|
42
|
+
"@smithy/core": "^3.33.3",
|
|
43
|
+
"@smithy/types": "^4.17.2",
|
|
48
44
|
"tslib": "^2.6.2"
|
|
49
45
|
},
|
|
50
46
|
"devDependencies": {
|
|
51
|
-
"@smithy/abort-controller": "^4.
|
|
47
|
+
"@smithy/abort-controller": "^4.4.2",
|
|
52
48
|
"@types/node": "^18.11.9",
|
|
53
49
|
"concurrently": "7.0.0",
|
|
54
50
|
"downlevel-dts": "0.10.1",
|
|
55
|
-
"premove": "4.0.0"
|
|
56
|
-
"typedoc": "0.23.23"
|
|
57
|
-
},
|
|
58
|
-
"typedoc": {
|
|
59
|
-
"entryPoint": "src/index.ts"
|
|
51
|
+
"premove": "4.0.0"
|
|
60
52
|
},
|
|
61
53
|
"engines": {
|
|
62
54
|
"node": ">=18.0.0"
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
const { fromUtf8, fromHex, toHex, toUint8Array, isArrayBuffer } = require("@smithy/core/serde");
|
|
1
|
+
const { hasOwn, fromUtf8, fromHex, toHex, toUint8Array, isArrayBuffer } = require("@smithy/core/serde");
|
|
2
2
|
const { normalizeProvider } = require("@smithy/core/client");
|
|
3
3
|
const { escapeUri, HttpRequest } = require("@smithy/core/protocols");
|
|
4
4
|
|
|
5
5
|
class HeaderFormatter {
|
|
6
6
|
format(headers) {
|
|
7
7
|
const chunks = [];
|
|
8
|
-
for (const headerName
|
|
8
|
+
for (const headerName in headers) {
|
|
9
|
+
if (!hasOwn(headers, headerName))
|
|
10
|
+
continue;
|
|
9
11
|
const bytes = fromUtf8(headerName);
|
|
10
12
|
chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
|
|
11
13
|
}
|
|
@@ -20,27 +22,27 @@ class HeaderFormatter {
|
|
|
20
22
|
formatHeaderValue(header) {
|
|
21
23
|
switch (header.type) {
|
|
22
24
|
case "boolean":
|
|
23
|
-
return Uint8Array.from([header.value ?
|
|
25
|
+
return Uint8Array.from([header.value ? 0 : 1]);
|
|
24
26
|
case "byte":
|
|
25
|
-
return Uint8Array.from([
|
|
27
|
+
return Uint8Array.from([2, header.value]);
|
|
26
28
|
case "short":
|
|
27
29
|
const shortView = new DataView(new ArrayBuffer(3));
|
|
28
|
-
shortView.setUint8(0,
|
|
30
|
+
shortView.setUint8(0, 3);
|
|
29
31
|
shortView.setInt16(1, header.value, false);
|
|
30
32
|
return new Uint8Array(shortView.buffer);
|
|
31
33
|
case "integer":
|
|
32
34
|
const intView = new DataView(new ArrayBuffer(5));
|
|
33
|
-
intView.setUint8(0,
|
|
35
|
+
intView.setUint8(0, 4);
|
|
34
36
|
intView.setInt32(1, header.value, false);
|
|
35
37
|
return new Uint8Array(intView.buffer);
|
|
36
38
|
case "long":
|
|
37
39
|
const longBytes = new Uint8Array(9);
|
|
38
|
-
longBytes[0] =
|
|
40
|
+
longBytes[0] = 5;
|
|
39
41
|
longBytes.set(header.value.bytes, 1);
|
|
40
42
|
return longBytes;
|
|
41
43
|
case "binary":
|
|
42
44
|
const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
|
|
43
|
-
binView.setUint8(0,
|
|
45
|
+
binView.setUint8(0, 6);
|
|
44
46
|
binView.setUint16(1, header.value.byteLength, false);
|
|
45
47
|
const binBytes = new Uint8Array(binView.buffer);
|
|
46
48
|
binBytes.set(header.value, 3);
|
|
@@ -48,14 +50,14 @@ class HeaderFormatter {
|
|
|
48
50
|
case "string":
|
|
49
51
|
const utf8Bytes = fromUtf8(header.value);
|
|
50
52
|
const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
|
|
51
|
-
strView.setUint8(0,
|
|
53
|
+
strView.setUint8(0, 7);
|
|
52
54
|
strView.setUint16(1, utf8Bytes.byteLength, false);
|
|
53
55
|
const strBytes = new Uint8Array(strView.buffer);
|
|
54
56
|
strBytes.set(utf8Bytes, 3);
|
|
55
57
|
return strBytes;
|
|
56
58
|
case "timestamp":
|
|
57
59
|
const tsBytes = new Uint8Array(9);
|
|
58
|
-
tsBytes[0] =
|
|
60
|
+
tsBytes[0] = 8;
|
|
59
61
|
tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);
|
|
60
62
|
return tsBytes;
|
|
61
63
|
case "uuid":
|
|
@@ -63,7 +65,7 @@ class HeaderFormatter {
|
|
|
63
65
|
throw new Error(`Invalid UUID received: ${header.value}`);
|
|
64
66
|
}
|
|
65
67
|
const uuidBytes = new Uint8Array(17);
|
|
66
|
-
uuidBytes[0] =
|
|
68
|
+
uuidBytes[0] = 9;
|
|
67
69
|
uuidBytes.set(fromHex(header.value.replace(/-/g, "")), 1);
|
|
68
70
|
return uuidBytes;
|
|
69
71
|
}
|
|
@@ -174,7 +176,9 @@ const MAX_PRESIGNED_TTL = 60 * 60 * 24 * 7;
|
|
|
174
176
|
const getCanonicalQuery = ({ query = {} }) => {
|
|
175
177
|
const keys = [];
|
|
176
178
|
const serialized = {};
|
|
177
|
-
for (const key
|
|
179
|
+
for (const key in query) {
|
|
180
|
+
if (!hasOwn(query, key))
|
|
181
|
+
continue;
|
|
178
182
|
if (key.toLowerCase() === SIGNATURE_HEADER) {
|
|
179
183
|
continue;
|
|
180
184
|
}
|
|
@@ -341,7 +345,9 @@ const getCanonicalHeaders = ({ headers }, unsignableHeaders, signableHeaders) =>
|
|
|
341
345
|
};
|
|
342
346
|
|
|
343
347
|
const getPayloadHash = async ({ headers, body }, hashConstructor) => {
|
|
344
|
-
for (const headerName
|
|
348
|
+
for (const headerName in headers) {
|
|
349
|
+
if (!hasOwn(headers, headerName))
|
|
350
|
+
continue;
|
|
345
351
|
if (headerName.toLowerCase() === SHA256_HEADER) {
|
|
346
352
|
return headers[headerName];
|
|
347
353
|
}
|
|
@@ -359,7 +365,9 @@ const getPayloadHash = async ({ headers, body }, hashConstructor) => {
|
|
|
359
365
|
|
|
360
366
|
const hasHeader = (soughtHeader, headers) => {
|
|
361
367
|
soughtHeader = soughtHeader.toLowerCase();
|
|
362
|
-
for (const headerName
|
|
368
|
+
for (const headerName in headers) {
|
|
369
|
+
if (!hasOwn(headers, headerName))
|
|
370
|
+
continue;
|
|
363
371
|
if (soughtHeader === headerName.toLowerCase()) {
|
|
364
372
|
return true;
|
|
365
373
|
}
|
|
@@ -369,7 +377,9 @@ const hasHeader = (soughtHeader, headers) => {
|
|
|
369
377
|
|
|
370
378
|
const moveHeadersToQuery = (request, options = {}) => {
|
|
371
379
|
const { headers, query = {} } = HttpRequest.clone(request);
|
|
372
|
-
for (const name
|
|
380
|
+
for (const name in headers) {
|
|
381
|
+
if (!hasOwn(headers, name))
|
|
382
|
+
continue;
|
|
373
383
|
const lname = name.toLowerCase();
|
|
374
384
|
if ((lname.slice(0, 6) === "x-amz-" && !options.unhoistableHeaders?.has(lname)) ||
|
|
375
385
|
options.hoistableHeaders?.has(lname)) {
|
|
@@ -386,7 +396,9 @@ const moveHeadersToQuery = (request, options = {}) => {
|
|
|
386
396
|
|
|
387
397
|
const prepareRequest = (request) => {
|
|
388
398
|
request = HttpRequest.clone(request);
|
|
389
|
-
for (const headerName
|
|
399
|
+
for (const headerName in request.headers) {
|
|
400
|
+
if (!hasOwn(request.headers, headerName))
|
|
401
|
+
continue;
|
|
390
402
|
if (GENERATED_HEADERS.indexOf(headerName.toLowerCase()) > -1) {
|
|
391
403
|
delete request.headers[headerName];
|
|
392
404
|
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import { hasOwn } from "@smithy/core/serde";
|
|
1
2
|
import { fromHex, fromUtf8, toHex } from "@smithy/core/serde";
|
|
2
3
|
export class HeaderFormatter {
|
|
3
4
|
format(headers) {
|
|
4
5
|
const chunks = [];
|
|
5
|
-
for (const headerName
|
|
6
|
+
for (const headerName in headers) {
|
|
7
|
+
if (!hasOwn(headers, headerName))
|
|
8
|
+
continue;
|
|
6
9
|
const bytes = fromUtf8(headerName);
|
|
7
10
|
chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
|
|
8
11
|
}
|
|
@@ -17,27 +20,27 @@ export class HeaderFormatter {
|
|
|
17
20
|
formatHeaderValue(header) {
|
|
18
21
|
switch (header.type) {
|
|
19
22
|
case "boolean":
|
|
20
|
-
return Uint8Array.from([header.value ?
|
|
23
|
+
return Uint8Array.from([header.value ? 0 : 1]);
|
|
21
24
|
case "byte":
|
|
22
|
-
return Uint8Array.from([
|
|
25
|
+
return Uint8Array.from([2, header.value]);
|
|
23
26
|
case "short":
|
|
24
27
|
const shortView = new DataView(new ArrayBuffer(3));
|
|
25
|
-
shortView.setUint8(0,
|
|
28
|
+
shortView.setUint8(0, 3);
|
|
26
29
|
shortView.setInt16(1, header.value, false);
|
|
27
30
|
return new Uint8Array(shortView.buffer);
|
|
28
31
|
case "integer":
|
|
29
32
|
const intView = new DataView(new ArrayBuffer(5));
|
|
30
|
-
intView.setUint8(0,
|
|
33
|
+
intView.setUint8(0, 4);
|
|
31
34
|
intView.setInt32(1, header.value, false);
|
|
32
35
|
return new Uint8Array(intView.buffer);
|
|
33
36
|
case "long":
|
|
34
37
|
const longBytes = new Uint8Array(9);
|
|
35
|
-
longBytes[0] =
|
|
38
|
+
longBytes[0] = 5;
|
|
36
39
|
longBytes.set(header.value.bytes, 1);
|
|
37
40
|
return longBytes;
|
|
38
41
|
case "binary":
|
|
39
42
|
const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
|
|
40
|
-
binView.setUint8(0,
|
|
43
|
+
binView.setUint8(0, 6);
|
|
41
44
|
binView.setUint16(1, header.value.byteLength, false);
|
|
42
45
|
const binBytes = new Uint8Array(binView.buffer);
|
|
43
46
|
binBytes.set(header.value, 3);
|
|
@@ -45,14 +48,14 @@ export class HeaderFormatter {
|
|
|
45
48
|
case "string":
|
|
46
49
|
const utf8Bytes = fromUtf8(header.value);
|
|
47
50
|
const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
|
|
48
|
-
strView.setUint8(0,
|
|
51
|
+
strView.setUint8(0, 7);
|
|
49
52
|
strView.setUint16(1, utf8Bytes.byteLength, false);
|
|
50
53
|
const strBytes = new Uint8Array(strView.buffer);
|
|
51
54
|
strBytes.set(utf8Bytes, 3);
|
|
52
55
|
return strBytes;
|
|
53
56
|
case "timestamp":
|
|
54
57
|
const tsBytes = new Uint8Array(9);
|
|
55
|
-
tsBytes[0] =
|
|
58
|
+
tsBytes[0] = 8;
|
|
56
59
|
tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);
|
|
57
60
|
return tsBytes;
|
|
58
61
|
case "uuid":
|
|
@@ -60,7 +63,7 @@ export class HeaderFormatter {
|
|
|
60
63
|
throw new Error(`Invalid UUID received: ${header.value}`);
|
|
61
64
|
}
|
|
62
65
|
const uuidBytes = new Uint8Array(17);
|
|
63
|
-
uuidBytes[0] =
|
|
66
|
+
uuidBytes[0] = 9;
|
|
64
67
|
uuidBytes.set(fromHex(header.value.replace(/-/g, "")), 1);
|
|
65
68
|
return uuidBytes;
|
|
66
69
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { hasOwn } from "@smithy/core/serde";
|
|
1
2
|
import { escapeUri } from "@smithy/core/protocols";
|
|
2
3
|
import { SIGNATURE_HEADER } from "./constants";
|
|
3
4
|
export const getCanonicalQuery = ({ query = {} }) => {
|
|
4
5
|
const keys = [];
|
|
5
6
|
const serialized = {};
|
|
6
|
-
for (const key
|
|
7
|
+
for (const key in query) {
|
|
8
|
+
if (!hasOwn(query, key))
|
|
9
|
+
continue;
|
|
7
10
|
if (key.toLowerCase() === SIGNATURE_HEADER) {
|
|
8
11
|
continue;
|
|
9
12
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { hasOwn } from "@smithy/core/serde";
|
|
1
2
|
import { isArrayBuffer, toHex, toUint8Array } from "@smithy/core/serde";
|
|
2
3
|
import { SHA256_HEADER, UNSIGNED_PAYLOAD } from "./constants";
|
|
3
4
|
export const getPayloadHash = async ({ headers, body }, hashConstructor) => {
|
|
4
|
-
for (const headerName
|
|
5
|
+
for (const headerName in headers) {
|
|
6
|
+
if (!hasOwn(headers, headerName))
|
|
7
|
+
continue;
|
|
5
8
|
if (headerName.toLowerCase() === SHA256_HEADER) {
|
|
6
9
|
return headers[headerName];
|
|
7
10
|
}
|