@cdklabs/cdk-construct-connect-datalake 0.0.12 → 0.0.13

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.
Files changed (156) hide show
  1. package/.jsii +11 -11
  2. package/.jsii.tabl.json +1 -1
  3. package/lib/index.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudformation/README.md +1 -1
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +1 -1
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +1 -1
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +1 -1
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +1 -1
  9. package/node_modules/@aws-sdk/client-cloudformation/package.json +9 -9
  10. package/node_modules/@aws-sdk/client-connect/README.md +11 -6
  11. package/node_modules/@aws-sdk/client-connect/dist-cjs/schemas/schemas_0.js +74 -47
  12. package/node_modules/@aws-sdk/client-connect/dist-es/schemas/schemas_0.js +43 -16
  13. package/node_modules/@aws-sdk/client-connect/dist-types/Connect.d.ts +12 -7
  14. package/node_modules/@aws-sdk/client-connect/dist-types/ConnectClient.d.ts +12 -7
  15. package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateVocabularyCommand.d.ts +2 -1
  16. package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetMetricDataV2Command.d.ts +2 -1
  17. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchContactsCommand.d.ts +17 -0
  18. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchPromptsCommand.d.ts +1 -2
  19. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchQueuesCommand.d.ts +1 -2
  20. package/node_modules/@aws-sdk/client-connect/dist-types/index.d.ts +12 -7
  21. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_0.d.ts +40 -37
  22. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_1.d.ts +152 -59
  23. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_2.d.ts +69 -63
  24. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_3.d.ts +72 -16
  25. package/node_modules/@aws-sdk/client-connect/dist-types/schemas/schemas_0.d.ts +3 -0
  26. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/CreateVocabularyCommand.d.ts +2 -4
  27. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetMetricDataV2Command.d.ts +2 -4
  28. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchPromptsCommand.d.ts +4 -2
  29. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +1 -2
  30. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_0.d.ts +9 -10
  31. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_1.d.ts +9 -10
  32. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_2.d.ts +19 -15
  33. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_3.d.ts +17 -1
  34. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
  35. package/node_modules/@aws-sdk/client-connect/package.json +9 -9
  36. package/node_modules/@aws-sdk/client-glue/README.md +14 -0
  37. package/node_modules/@aws-sdk/client-glue/dist-cjs/index.js +38 -0
  38. package/node_modules/@aws-sdk/client-glue/dist-cjs/models/errors.js +16 -1
  39. package/node_modules/@aws-sdk/client-glue/dist-cjs/schemas/schemas_0.js +91 -36
  40. package/node_modules/@aws-sdk/client-glue/dist-es/Glue.js +4 -0
  41. package/node_modules/@aws-sdk/client-glue/dist-es/commands/GetDashboardUrlCommand.js +16 -0
  42. package/node_modules/@aws-sdk/client-glue/dist-es/commands/GetSessionEndpointCommand.js +16 -0
  43. package/node_modules/@aws-sdk/client-glue/dist-es/commands/index.js +2 -0
  44. package/node_modules/@aws-sdk/client-glue/dist-es/models/enums.js +8 -0
  45. package/node_modules/@aws-sdk/client-glue/dist-es/models/errors.js +14 -0
  46. package/node_modules/@aws-sdk/client-glue/dist-es/schemas/schemas_0.js +66 -11
  47. package/node_modules/@aws-sdk/client-glue/dist-types/Glue.d.ts +14 -0
  48. package/node_modules/@aws-sdk/client-glue/dist-types/GlueClient.d.ts +4 -2
  49. package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateSessionCommand.d.ts +5 -0
  50. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDashboardUrlCommand.d.ts +93 -0
  51. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetMLTaskRunCommand.d.ts +1 -2
  52. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetSessionCommand.d.ts +1 -0
  53. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetSessionEndpointCommand.d.ts +101 -0
  54. package/node_modules/@aws-sdk/client-glue/dist-types/commands/ListSessionsCommand.d.ts +1 -0
  55. package/node_modules/@aws-sdk/client-glue/dist-types/commands/RunStatementCommand.d.ts +6 -0
  56. package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateDataQualityRulesetCommand.d.ts +1 -1
  57. package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateDatabaseCommand.d.ts +1 -1
  58. package/node_modules/@aws-sdk/client-glue/dist-types/commands/index.d.ts +2 -0
  59. package/node_modules/@aws-sdk/client-glue/dist-types/models/enums.d.ts +24 -0
  60. package/node_modules/@aws-sdk/client-glue/dist-types/models/errors.d.ts +17 -0
  61. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_1.d.ts +41 -28
  62. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_2.d.ts +70 -97
  63. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_3.d.ts +97 -2
  64. package/node_modules/@aws-sdk/client-glue/dist-types/schemas/schemas_0.d.ts +8 -0
  65. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/Glue.d.ts +34 -0
  66. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/GlueClient.d.ts +12 -0
  67. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetDashboardUrlCommand.d.ts +52 -0
  68. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetMLTaskRunCommand.d.ts +1 -2
  69. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetSessionEndpointCommand.d.ts +53 -0
  70. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateDataQualityRulesetCommand.d.ts +1 -1
  71. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateDatabaseCommand.d.ts +1 -1
  72. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/index.d.ts +2 -0
  73. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/enums.d.ts +11 -0
  74. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/errors.d.ts +8 -0
  75. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_1.d.ts +12 -7
  76. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_2.d.ts +18 -22
  77. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_3.d.ts +21 -1
  78. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
  79. package/node_modules/@aws-sdk/client-glue/package.json +9 -9
  80. package/node_modules/@aws-sdk/client-lakeformation/package.json +9 -9
  81. package/node_modules/@aws-sdk/client-ram/package.json +9 -9
  82. package/node_modules/@aws-sdk/client-sts/package.json +11 -11
  83. package/node_modules/@aws-sdk/core/dist-cjs/index.js +12 -6
  84. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +12 -6
  85. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +1 -0
  86. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +11 -6
  87. package/node_modules/@aws-sdk/core/package.json +7 -7
  88. package/node_modules/@aws-sdk/credential-provider-env/package.json +6 -6
  89. package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -8
  90. package/node_modules/@aws-sdk/credential-provider-ini/package.json +14 -14
  91. package/node_modules/@aws-sdk/credential-provider-login/package.json +7 -7
  92. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  93. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  94. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  95. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
  96. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +99 -106
  97. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +62 -120
  98. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +55 -86
  99. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +73 -104
  100. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +102 -185
  101. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +4 -5
  102. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/bdd.js +21 -57
  103. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +1 -2
  104. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +2 -4
  105. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +73 -41
  106. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +4 -5
  107. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +20 -52
  108. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +1 -2
  109. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +2 -4
  110. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +36 -59
  111. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +4 -5
  112. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js +17 -45
  113. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +1 -2
  114. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +2 -4
  115. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +32 -32
  116. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +4 -5
  117. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js +17 -45
  118. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +1 -2
  119. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -4
  120. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +50 -50
  121. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +4 -5
  122. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js +1 -1
  123. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js +34 -96
  124. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js +1 -2
  125. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +3 -6
  126. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +63 -80
  127. package/node_modules/@aws-sdk/nested-clients/package.json +9 -9
  128. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +5 -5
  129. package/node_modules/@aws-sdk/token-providers/package.json +7 -7
  130. package/node_modules/@aws-sdk/types/package.json +3 -3
  131. package/node_modules/@aws-sdk/util-locate-window/package.json +2 -2
  132. package/node_modules/@aws-sdk/xml-builder/package.json +3 -3
  133. package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js +2 -2
  134. package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/node-http.js +2 -0
  135. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -1
  136. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/node-http.d.ts +2 -0
  137. package/node_modules/@smithy/credential-provider-imds/package.json +1 -1
  138. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +6 -4
  139. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +7 -6
  140. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +2 -1
  141. package/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +2 -0
  142. package/node_modules/@smithy/node-http-handler/dist-es/node-https.js +2 -0
  143. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +2 -2
  144. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
  145. package/node_modules/@smithy/node-http-handler/dist-types/node-http2.d.ts +2 -0
  146. package/node_modules/@smithy/node-http-handler/dist-types/node-https.d.ts +2 -0
  147. package/node_modules/@smithy/node-http-handler/package.json +1 -1
  148. package/node_modules/@types/aws-lambda/README.md +1 -1
  149. package/node_modules/@types/aws-lambda/package.json +3 -3
  150. package/node_modules/@types/aws-lambda/trigger/api-gateway-proxy.d.ts +2 -0
  151. package/node_modules/which-typed-array/CHANGELOG.md +7 -0
  152. package/node_modules/which-typed-array/eslint.config.mjs +1 -0
  153. package/node_modules/which-typed-array/index.d.ts +22 -31
  154. package/node_modules/which-typed-array/index.js +36 -23
  155. package/node_modules/which-typed-array/package.json +4 -7
  156. package/package.json +14 -14
@@ -135,6 +135,7 @@ class AwsSdkSigV4Signer {
135
135
  signingName = second?.signingName ?? signingName;
136
136
  }
137
137
  }
138
+ signingProperties._preRequestSystemClockOffset = config.systemClockOffset;
138
139
  const signedRequest = await signer.sign(httpRequest, {
139
140
  signingDate: getSkewCorrectedDate(config.systemClockOffset),
140
141
  signingRegion: signingRegion,
@@ -144,14 +145,18 @@ class AwsSdkSigV4Signer {
144
145
  }
145
146
  errorHandler(signingProperties) {
146
147
  return (error) => {
147
- const serverTime = error.ServerTime ?? getDateHeader(error.$response);
148
+ const errorException = error;
149
+ const serverTime = errorException.ServerTime ?? getDateHeader(errorException.$response);
148
150
  if (serverTime) {
149
151
  const config = throwSigningPropertyError("config", signingProperties.config);
150
- const initialSystemClockOffset = config.systemClockOffset;
151
- config.systemClockOffset = getUpdatedSystemClockOffset(serverTime, config.systemClockOffset);
152
- const clockSkewCorrected = config.systemClockOffset !== initialSystemClockOffset;
153
- if (clockSkewCorrected && error.$metadata) {
154
- error.$metadata.clockSkewCorrected = true;
152
+ const preRequestOffset = signingProperties._preRequestSystemClockOffset;
153
+ const newOffset = getUpdatedSystemClockOffset(serverTime, config.systemClockOffset);
154
+ const isLocalCorrection = newOffset !== config.systemClockOffset;
155
+ const isConcurrentCorrection = preRequestOffset !== undefined && preRequestOffset !== newOffset;
156
+ const clockSkewCorrected = isLocalCorrection || isConcurrentCorrection;
157
+ if (clockSkewCorrected && errorException.$metadata) {
158
+ config.systemClockOffset = newOffset;
159
+ errorException.$metadata.clockSkewCorrected = true;
155
160
  }
156
161
  }
157
162
  throw error;
@@ -175,6 +180,7 @@ class AwsSdkSigV4ASigner extends AwsSdkSigV4Signer {
175
180
  const configResolvedSigningRegionSet = await config.sigv4aSigningRegionSet?.();
176
181
  const multiRegionOverride = (configResolvedSigningRegionSet ??
177
182
  signingRegionSet ?? [signingRegion]).join(",");
183
+ signingProperties._preRequestSystemClockOffset = config.systemClockOffset;
178
184
  const signedRequest = await signer.sign(httpRequest, {
179
185
  signingDate: getSkewCorrectedDate(config.systemClockOffset),
180
186
  signingRegion: multiRegionOverride,
@@ -59,6 +59,7 @@ class AwsSdkSigV4Signer {
59
59
  signingName = second?.signingName ?? signingName;
60
60
  }
61
61
  }
62
+ signingProperties._preRequestSystemClockOffset = config.systemClockOffset;
62
63
  const signedRequest = await signer.sign(httpRequest, {
63
64
  signingDate: getSkewCorrectedDate(config.systemClockOffset),
64
65
  signingRegion: signingRegion,
@@ -68,14 +69,18 @@ class AwsSdkSigV4Signer {
68
69
  }
69
70
  errorHandler(signingProperties) {
70
71
  return (error) => {
71
- const serverTime = error.ServerTime ?? getDateHeader(error.$response);
72
+ const errorException = error;
73
+ const serverTime = errorException.ServerTime ?? getDateHeader(errorException.$response);
72
74
  if (serverTime) {
73
75
  const config = throwSigningPropertyError("config", signingProperties.config);
74
- const initialSystemClockOffset = config.systemClockOffset;
75
- config.systemClockOffset = getUpdatedSystemClockOffset(serverTime, config.systemClockOffset);
76
- const clockSkewCorrected = config.systemClockOffset !== initialSystemClockOffset;
77
- if (clockSkewCorrected && error.$metadata) {
78
- error.$metadata.clockSkewCorrected = true;
76
+ const preRequestOffset = signingProperties._preRequestSystemClockOffset;
77
+ const newOffset = getUpdatedSystemClockOffset(serverTime, config.systemClockOffset);
78
+ const isLocalCorrection = newOffset !== config.systemClockOffset;
79
+ const isConcurrentCorrection = preRequestOffset !== undefined && preRequestOffset !== newOffset;
80
+ const clockSkewCorrected = isLocalCorrection || isConcurrentCorrection;
81
+ if (clockSkewCorrected && errorException.$metadata) {
82
+ config.systemClockOffset = newOffset;
83
+ errorException.$metadata.clockSkewCorrected = true;
79
84
  }
80
85
  }
81
86
  throw error;
@@ -100,6 +105,7 @@ class AwsSdkSigV4ASigner extends AwsSdkSigV4Signer {
100
105
  const configResolvedSigningRegionSet = await config.sigv4aSigningRegionSet?.();
101
106
  const multiRegionOverride = (configResolvedSigningRegionSet ??
102
107
  signingRegionSet ?? [signingRegion]).join(",");
108
+ signingProperties._preRequestSystemClockOffset = config.systemClockOffset;
103
109
  const signedRequest = await signer.sign(httpRequest, {
104
110
  signingDate: getSkewCorrectedDate(config.systemClockOffset),
105
111
  signingRegion: multiRegionOverride,
@@ -10,6 +10,7 @@ export class AwsSdkSigV4ASigner extends AwsSdkSigV4Signer {
10
10
  const configResolvedSigningRegionSet = await config.sigv4aSigningRegionSet?.();
11
11
  const multiRegionOverride = (configResolvedSigningRegionSet ??
12
12
  signingRegionSet ?? [signingRegion]).join(",");
13
+ signingProperties._preRequestSystemClockOffset = config.systemClockOffset;
13
14
  const signedRequest = await signer.sign(httpRequest, {
14
15
  signingDate: getSkewCorrectedDate(config.systemClockOffset),
15
16
  signingRegion: multiRegionOverride,
@@ -39,6 +39,7 @@ export class AwsSdkSigV4Signer {
39
39
  signingName = second?.signingName ?? signingName;
40
40
  }
41
41
  }
42
+ signingProperties._preRequestSystemClockOffset = config.systemClockOffset;
42
43
  const signedRequest = await signer.sign(httpRequest, {
43
44
  signingDate: getSkewCorrectedDate(config.systemClockOffset),
44
45
  signingRegion: signingRegion,
@@ -48,14 +49,18 @@ export class AwsSdkSigV4Signer {
48
49
  }
49
50
  errorHandler(signingProperties) {
50
51
  return (error) => {
51
- const serverTime = error.ServerTime ?? getDateHeader(error.$response);
52
+ const errorException = error;
53
+ const serverTime = errorException.ServerTime ?? getDateHeader(errorException.$response);
52
54
  if (serverTime) {
53
55
  const config = throwSigningPropertyError("config", signingProperties.config);
54
- const initialSystemClockOffset = config.systemClockOffset;
55
- config.systemClockOffset = getUpdatedSystemClockOffset(serverTime, config.systemClockOffset);
56
- const clockSkewCorrected = config.systemClockOffset !== initialSystemClockOffset;
57
- if (clockSkewCorrected && error.$metadata) {
58
- error.$metadata.clockSkewCorrected = true;
56
+ const preRequestOffset = signingProperties._preRequestSystemClockOffset;
57
+ const newOffset = getUpdatedSystemClockOffset(serverTime, config.systemClockOffset);
58
+ const isLocalCorrection = newOffset !== config.systemClockOffset;
59
+ const isConcurrentCorrection = preRequestOffset !== undefined && preRequestOffset !== newOffset;
60
+ const clockSkewCorrected = isLocalCorrection || isConcurrentCorrection;
61
+ if (clockSkewCorrected && errorException.$metadata) {
62
+ config.systemClockOffset = newOffset;
63
+ errorException.$metadata.clockSkewCorrected = true;
59
64
  }
60
65
  }
61
66
  throw error;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.974.15",
3
+ "version": "3.974.18",
4
4
  "description": "Core functions & classes shared by multiple AWS SDK clients.",
5
5
  "scripts": {
6
6
  "build": "yarn prebuild && yarn lint && concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
@@ -106,16 +106,16 @@
106
106
  ],
107
107
  "author": {
108
108
  "name": "AWS SDK for JavaScript Team",
109
- "url": "https://aws.amazon.com/javascript/"
109
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
110
110
  },
111
111
  "license": "Apache-2.0",
112
112
  "dependencies": {
113
- "@aws-sdk/types": "^3.973.9",
114
- "@aws-sdk/xml-builder": "^3.972.26",
113
+ "@aws-sdk/types": "^3.973.11",
114
+ "@aws-sdk/xml-builder": "^3.972.28",
115
115
  "@aws/lambda-invoke-store": "^0.2.2",
116
- "@smithy/core": "^3.24.5",
117
- "@smithy/signature-v4": "^5.4.5",
118
- "@smithy/types": "^4.14.2",
116
+ "@smithy/core": "^3.24.6",
117
+ "@smithy/signature-v4": "^5.4.6",
118
+ "@smithy/types": "^4.14.3",
119
119
  "bowser": "^2.11.0",
120
120
  "tslib": "^2.6.2"
121
121
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-env",
3
- "version": "3.972.41",
3
+ "version": "3.972.44",
4
4
  "description": "AWS credential provider that sources credentials from known environment variables",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -22,14 +22,14 @@
22
22
  "sideEffects": false,
23
23
  "author": {
24
24
  "name": "AWS SDK for JavaScript Team",
25
- "url": "https://aws.amazon.com/javascript/"
25
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "^3.974.15",
30
- "@aws-sdk/types": "^3.973.9",
31
- "@smithy/core": "^3.24.5",
32
- "@smithy/types": "^4.14.2",
29
+ "@aws-sdk/core": "^3.974.18",
30
+ "@aws-sdk/types": "^3.973.11",
31
+ "@smithy/core": "^3.24.6",
32
+ "@smithy/types": "^4.14.3",
33
33
  "tslib": "^2.6.2"
34
34
  },
35
35
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-http",
3
- "version": "3.972.43",
3
+ "version": "3.972.46",
4
4
  "description": "AWS credential provider for containers and HTTP sources",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -33,16 +33,16 @@
33
33
  "sideEffects": false,
34
34
  "author": {
35
35
  "name": "AWS SDK for JavaScript Team",
36
- "url": "https://aws.amazon.com/javascript/"
36
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
37
37
  },
38
38
  "license": "Apache-2.0",
39
39
  "dependencies": {
40
- "@aws-sdk/core": "^3.974.15",
41
- "@aws-sdk/types": "^3.973.9",
42
- "@smithy/core": "^3.24.5",
43
- "@smithy/fetch-http-handler": "^5.4.5",
44
- "@smithy/node-http-handler": "^4.7.5",
45
- "@smithy/types": "^4.14.2",
40
+ "@aws-sdk/core": "^3.974.18",
41
+ "@aws-sdk/types": "^3.973.11",
42
+ "@smithy/core": "^3.24.6",
43
+ "@smithy/fetch-http-handler": "^5.4.6",
44
+ "@smithy/node-http-handler": "^4.7.6",
45
+ "@smithy/types": "^4.14.3",
46
46
  "tslib": "^2.6.2"
47
47
  },
48
48
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.972.46",
3
+ "version": "3.972.50",
4
4
  "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -24,22 +24,22 @@
24
24
  "sideEffects": false,
25
25
  "author": {
26
26
  "name": "AWS SDK for JavaScript Team",
27
- "url": "https://aws.amazon.com/javascript/"
27
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.974.15",
32
- "@aws-sdk/credential-provider-env": "^3.972.41",
33
- "@aws-sdk/credential-provider-http": "^3.972.43",
34
- "@aws-sdk/credential-provider-login": "^3.972.45",
35
- "@aws-sdk/credential-provider-process": "^3.972.41",
36
- "@aws-sdk/credential-provider-sso": "^3.972.45",
37
- "@aws-sdk/credential-provider-web-identity": "^3.972.45",
38
- "@aws-sdk/nested-clients": "^3.997.13",
39
- "@aws-sdk/types": "^3.973.9",
40
- "@smithy/core": "^3.24.5",
41
- "@smithy/credential-provider-imds": "^4.3.6",
42
- "@smithy/types": "^4.14.2",
31
+ "@aws-sdk/core": "^3.974.18",
32
+ "@aws-sdk/credential-provider-env": "^3.972.44",
33
+ "@aws-sdk/credential-provider-http": "^3.972.46",
34
+ "@aws-sdk/credential-provider-login": "^3.972.49",
35
+ "@aws-sdk/credential-provider-process": "^3.972.44",
36
+ "@aws-sdk/credential-provider-sso": "^3.972.49",
37
+ "@aws-sdk/credential-provider-web-identity": "^3.972.49",
38
+ "@aws-sdk/nested-clients": "^3.997.17",
39
+ "@aws-sdk/types": "^3.973.11",
40
+ "@smithy/core": "^3.24.6",
41
+ "@smithy/credential-provider-imds": "^4.3.7",
42
+ "@smithy/types": "^4.14.3",
43
43
  "tslib": "^2.6.2"
44
44
  },
45
45
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-login",
3
- "version": "3.972.45",
3
+ "version": "3.972.49",
4
4
  "description": "AWS credential provider that sources credentials from aws login cached tokens",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -24,15 +24,15 @@
24
24
  "sideEffects": false,
25
25
  "author": {
26
26
  "name": "AWS SDK for JavaScript Team",
27
- "url": "https://aws.amazon.com/javascript/"
27
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.974.15",
32
- "@aws-sdk/nested-clients": "^3.997.13",
33
- "@aws-sdk/types": "^3.973.9",
34
- "@smithy/core": "^3.24.5",
35
- "@smithy/types": "^4.14.2",
31
+ "@aws-sdk/core": "^3.974.18",
32
+ "@aws-sdk/nested-clients": "^3.997.17",
33
+ "@aws-sdk/types": "^3.973.11",
34
+ "@smithy/core": "^3.24.6",
35
+ "@smithy/types": "^4.14.3",
36
36
  "tslib": "^2.6.2"
37
37
  },
38
38
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.972.48",
3
+ "version": "3.972.52",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "engines": {
6
6
  "node": ">=20.0.0"
@@ -27,20 +27,20 @@
27
27
  "sideEffects": false,
28
28
  "author": {
29
29
  "name": "AWS SDK for JavaScript Team",
30
- "url": "https://aws.amazon.com/javascript/"
30
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
31
31
  },
32
32
  "license": "Apache-2.0",
33
33
  "dependencies": {
34
- "@aws-sdk/credential-provider-env": "^3.972.41",
35
- "@aws-sdk/credential-provider-http": "^3.972.43",
36
- "@aws-sdk/credential-provider-ini": "^3.972.46",
37
- "@aws-sdk/credential-provider-process": "^3.972.41",
38
- "@aws-sdk/credential-provider-sso": "^3.972.45",
39
- "@aws-sdk/credential-provider-web-identity": "^3.972.45",
40
- "@aws-sdk/types": "^3.973.9",
41
- "@smithy/core": "^3.24.5",
42
- "@smithy/credential-provider-imds": "^4.3.6",
43
- "@smithy/types": "^4.14.2",
34
+ "@aws-sdk/credential-provider-env": "^3.972.44",
35
+ "@aws-sdk/credential-provider-http": "^3.972.46",
36
+ "@aws-sdk/credential-provider-ini": "^3.972.50",
37
+ "@aws-sdk/credential-provider-process": "^3.972.44",
38
+ "@aws-sdk/credential-provider-sso": "^3.972.49",
39
+ "@aws-sdk/credential-provider-web-identity": "^3.972.49",
40
+ "@aws-sdk/types": "^3.973.11",
41
+ "@smithy/core": "^3.24.6",
42
+ "@smithy/credential-provider-imds": "^4.3.7",
43
+ "@smithy/types": "^4.14.3",
44
44
  "tslib": "^2.6.2"
45
45
  },
46
46
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-process",
3
- "version": "3.972.41",
3
+ "version": "3.972.44",
4
4
  "description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -22,14 +22,14 @@
22
22
  "sideEffects": false,
23
23
  "author": {
24
24
  "name": "AWS SDK for JavaScript Team",
25
- "url": "https://aws.amazon.com/javascript/"
25
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "^3.974.15",
30
- "@aws-sdk/types": "^3.973.9",
31
- "@smithy/core": "^3.24.5",
32
- "@smithy/types": "^4.14.2",
29
+ "@aws-sdk/core": "^3.974.18",
30
+ "@aws-sdk/types": "^3.973.11",
31
+ "@smithy/core": "^3.24.6",
32
+ "@smithy/types": "^4.14.3",
33
33
  "tslib": "^2.6.2"
34
34
  },
35
35
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.972.45",
3
+ "version": "3.972.49",
4
4
  "description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -22,16 +22,16 @@
22
22
  "sideEffects": false,
23
23
  "author": {
24
24
  "name": "AWS SDK for JavaScript Team",
25
- "url": "https://aws.amazon.com/javascript/"
25
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "^3.974.15",
30
- "@aws-sdk/nested-clients": "^3.997.13",
31
- "@aws-sdk/token-providers": "3.1056.0",
32
- "@aws-sdk/types": "^3.973.9",
33
- "@smithy/core": "^3.24.5",
34
- "@smithy/types": "^4.14.2",
29
+ "@aws-sdk/core": "^3.974.18",
30
+ "@aws-sdk/nested-clients": "^3.997.17",
31
+ "@aws-sdk/token-providers": "3.1063.0",
32
+ "@aws-sdk/types": "^3.973.11",
33
+ "@smithy/core": "^3.24.6",
34
+ "@smithy/types": "^4.14.3",
35
35
  "tslib": "^2.6.2"
36
36
  },
37
37
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.972.45",
3
+ "version": "3.972.49",
4
4
  "description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -30,15 +30,15 @@
30
30
  "sideEffects": false,
31
31
  "author": {
32
32
  "name": "AWS SDK for JavaScript Team",
33
- "url": "https://aws.amazon.com/javascript/"
33
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
34
34
  },
35
35
  "license": "Apache-2.0",
36
36
  "dependencies": {
37
- "@aws-sdk/core": "^3.974.15",
38
- "@aws-sdk/nested-clients": "^3.997.13",
39
- "@aws-sdk/types": "^3.973.9",
40
- "@smithy/core": "^3.24.5",
41
- "@smithy/types": "^4.14.2",
37
+ "@aws-sdk/core": "^3.974.18",
38
+ "@aws-sdk/nested-clients": "^3.997.17",
39
+ "@aws-sdk/types": "^3.973.11",
40
+ "@smithy/core": "^3.24.6",
41
+ "@smithy/types": "^4.14.3",
42
42
  "tslib": "^2.6.2"
43
43
  },
44
44
  "devDependencies": {