@mavogel/awscdk-rootmail 0.1.35 → 0.1.36

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 (158) hide show
  1. package/.jsii +7 -7
  2. package/lib/rootmail.js +1 -1
  3. package/lib/ses-receive.js +1 -1
  4. package/node_modules/@aws-sdk/checksums/package.json +3 -3
  5. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +51 -14
  6. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/models/enums.js +1 -0
  7. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/schemas/schemas_0.js +46 -13
  8. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteAccountPolicyCommand.d.ts +22 -5
  9. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeAccountPoliciesCommand.d.ts +2 -2
  10. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeLogGroupsCommand.d.ts +1 -0
  11. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutAccountPolicyCommand.d.ts +18 -2
  12. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/TagLogGroupCommand.d.ts +1 -1
  13. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/TagResourceCommand.d.ts +1 -1
  14. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/TestMetricFilterCommand.d.ts +1 -2
  15. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/enums.d.ts +1 -0
  16. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/models_0.d.ts +124 -58
  17. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/models_1.d.ts +58 -0
  18. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/schemas/schemas_0.d.ts +3 -0
  19. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteAccountPolicyCommand.d.ts +4 -3
  20. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/TagLogGroupCommand.d.ts +1 -1
  21. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  22. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/TestMetricFilterCommand.d.ts +1 -2
  23. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/enums.d.ts +1 -0
  24. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/models_0.d.ts +21 -12
  25. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/models_1.d.ts +12 -0
  26. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
  27. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +5 -5
  28. package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +1 -1
  29. package/node_modules/@aws-sdk/client-route-53/package.json +5 -5
  30. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +1 -1
  31. package/node_modules/@aws-sdk/client-s3/package.json +9 -9
  32. package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +1 -1
  33. package/node_modules/@aws-sdk/client-ses/package.json +5 -5
  34. package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +1 -1
  35. package/node_modules/@aws-sdk/client-ssm/package.json +5 -5
  36. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +1 -4
  37. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +1 -4
  38. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +3 -7
  39. package/node_modules/@aws-sdk/core/package.json +3 -3
  40. package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
  41. package/node_modules/@aws-sdk/credential-provider-http/package.json +4 -4
  42. package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -10
  43. package/node_modules/@aws-sdk/credential-provider-login/package.json +4 -4
  44. package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
  45. package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
  46. package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
  47. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
  48. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +4 -4
  49. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  50. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +8 -1
  51. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  52. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  53. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  54. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +7 -0
  55. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +1 -2
  56. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +1 -2
  57. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +5 -59
  58. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +5 -33
  59. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +1 -2
  60. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +16 -9
  61. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +8 -39
  62. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts +36 -48
  63. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +7 -0
  64. package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
  65. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
  66. package/node_modules/@aws-sdk/token-providers/package.json +4 -4
  67. package/node_modules/@smithy/core/dist-cjs/index.js +4 -2
  68. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +32 -16
  69. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +36 -17
  70. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +8 -4
  71. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +16 -8
  72. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +8 -4
  73. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +2 -1
  74. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +10 -5
  75. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +18 -9
  76. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +18 -9
  77. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +42 -24
  78. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +20 -10
  79. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +24 -12
  80. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +13 -4
  81. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +7 -1
  82. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +13 -4
  83. package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +6 -3
  84. package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js +2 -1
  85. package/node_modules/@smithy/core/dist-es/normalizeProvider.js +2 -1
  86. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +8 -4
  87. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +6 -3
  88. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +12 -6
  89. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +4 -2
  90. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +2 -1
  91. package/node_modules/@smithy/core/dist-es/submodules/client/middleware-stack/MiddlewareStack.js +10 -5
  92. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/create-aggregated-client.js +2 -1
  93. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js +4 -2
  94. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +2 -1
  95. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +2 -1
  96. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js +4 -2
  97. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/schemaLogFilter.js +10 -4
  98. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js +2 -1
  99. package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js +8 -4
  100. package/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/booleanSelector.js +6 -3
  101. package/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/numberSelector.js +2 -1
  102. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js +8 -4
  103. package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js +2 -1
  104. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +6 -3
  105. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +2 -1
  106. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/Int64.js +2 -1
  107. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/SmithyMessageDecoderStream.js +2 -1
  108. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde/utils.js +2 -1
  109. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde-universal/getUnmarshalledStream.js +4 -2
  110. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +8 -4
  111. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +4 -2
  112. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +2 -1
  113. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeDeserializer.js +7 -5
  114. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeSerializer.js +7 -5
  115. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js +7 -5
  116. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js +6 -3
  117. package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +3 -0
  118. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/configurations.js +4 -2
  119. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +2 -1
  120. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +6 -3
  121. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +6 -3
  122. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/util.js +6 -3
  123. package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +1 -0
  124. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
  125. package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +1 -0
  126. package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +2 -1
  127. package/node_modules/@smithy/core/dist-es/submodules/serde/util-body-length/calculateBodyLength.browser.js +6 -3
  128. package/node_modules/@smithy/core/dist-es/submodules/transport/httpResponse.js +2 -1
  129. package/node_modules/@smithy/core/dist-es/submodules/transport/normalizeProvider.js +2 -1
  130. package/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +2 -1
  131. package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +1 -0
  132. package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +1 -0
  133. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
  134. package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +1 -0
  135. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +1 -0
  136. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.browser.d.ts +1 -0
  137. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
  138. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.native.d.ts +1 -0
  139. package/node_modules/@smithy/core/package.json +1 -1
  140. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +22 -9
  141. package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +2 -1
  142. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +14 -8
  143. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +6 -0
  144. package/node_modules/@smithy/node-http-handler/package.json +2 -2
  145. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +23 -11
  146. package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +4 -2
  147. package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +4 -2
  148. package/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js +5 -1
  149. package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +2 -1
  150. package/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +2 -1
  151. package/node_modules/@smithy/signature-v4/dist-es/headerUtil.js +6 -3
  152. package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +2 -1
  153. package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +2 -1
  154. package/node_modules/@smithy/signature-v4/package.json +2 -2
  155. package/package.json +6 -6
  156. /package/node_modules/@smithy/core/dist-es/submodules/{protocols → serde}/writeKey.js +0 -0
  157. /package/node_modules/@smithy/core/dist-types/submodules/{protocols → serde}/writeKey.d.ts +0 -0
  158. /package/node_modules/@smithy/core/dist-types/ts3.4/submodules/{protocols → serde}/writeKey.d.ts +0 -0
@@ -7,8 +7,5 @@ export const getUpdatedSystemClockOffset = (clockTime, currentSystemClockOffset,
7
7
  if (timeRequestSent !== undefined && timeResponseReceived - timeRequestSent > 900_000) {
8
8
  return currentSystemClockOffset;
9
9
  }
10
- const candidateSkew = timeRequestSent !== undefined
11
- ? serverTime - (timeRequestSent + timeResponseReceived) / 2
12
- : serverTime - timeResponseReceived;
13
- return candidateSkew;
10
+ return serverTime - timeResponseReceived;
14
11
  };
@@ -1,13 +1,9 @@
1
1
  /**
2
2
  * Computes an updated system clock offset from a server Date header.
3
3
  *
4
- * When `timeRequestSent` is provided, uses the midpoint formula:
5
- * elapsed = timeResponseReceived - timeRequestSent
6
- * midpoint = (timeRequestSent + timeResponseReceived) / 2
7
- * candidateSkew = serverTime - midpoint
8
- *
9
- * When `timeRequestSent` is absent (legacy callers), falls back to:
10
- * candidateSkew = serverTime - timeResponseReceived
4
+ * The candidate skew is the difference between the server time and the client
5
+ * time when the response is received:
6
+ * candidateSkew = serverTime - timeResponseReceived
11
7
  *
12
8
  * The candidate is discarded if:
13
9
  * - An Age header is present
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.979.0",
3
+ "version": "3.979.1",
4
4
  "description": "Core functions & classes shared by multiple AWS SDK clients.",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/core",
6
6
  "license": "Apache-2.0",
@@ -127,8 +127,8 @@
127
127
  "@aws-sdk/types": "^3.975.0",
128
128
  "@aws-sdk/xml-builder": "^3.972.42",
129
129
  "@aws/lambda-invoke-store": "^0.3.0",
130
- "@smithy/core": "^3.37.0",
131
- "@smithy/signature-v4": "^5.7.4",
130
+ "@smithy/core": "^3.38.0",
131
+ "@smithy/signature-v4": "^5.7.5",
132
132
  "@smithy/types": "^4.19.0",
133
133
  "bowser": "^2.11.0",
134
134
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-env",
3
- "version": "3.972.79",
3
+ "version": "3.972.80",
4
4
  "description": "AWS credential provider that sources credentials from known environment variables",
5
5
  "keywords": [
6
6
  "aws",
@@ -43,9 +43,9 @@
43
43
  "test:watch": "yarn g:vitest watch"
44
44
  },
45
45
  "dependencies": {
46
- "@aws-sdk/core": "^3.979.0",
46
+ "@aws-sdk/core": "^3.979.1",
47
47
  "@aws-sdk/types": "^3.975.0",
48
- "@smithy/core": "^3.37.0",
48
+ "@smithy/core": "^3.38.0",
49
49
  "@smithy/types": "^4.19.0",
50
50
  "tslib": "^2.6.2"
51
51
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-http",
3
- "version": "3.972.81",
3
+ "version": "3.972.82",
4
4
  "description": "AWS credential provider for containers and HTTP sources",
5
5
  "keywords": [
6
6
  "aws",
@@ -53,11 +53,11 @@
53
53
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
54
54
  },
55
55
  "dependencies": {
56
- "@aws-sdk/core": "^3.979.0",
56
+ "@aws-sdk/core": "^3.979.1",
57
57
  "@aws-sdk/types": "^3.975.0",
58
- "@smithy/core": "^3.37.0",
58
+ "@smithy/core": "^3.38.0",
59
59
  "@smithy/fetch-http-handler": "^5.8.0",
60
- "@smithy/node-http-handler": "^4.13.0",
60
+ "@smithy/node-http-handler": "^4.14.0",
61
61
  "@smithy/types": "^4.19.0",
62
62
  "tslib": "^2.6.2"
63
63
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.973.24",
3
+ "version": "3.973.25",
4
4
  "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
5
  "keywords": [
6
6
  "aws",
@@ -45,16 +45,16 @@
45
45
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
46
46
  },
47
47
  "dependencies": {
48
- "@aws-sdk/core": "^3.979.0",
49
- "@aws-sdk/credential-provider-env": "^3.972.79",
50
- "@aws-sdk/credential-provider-http": "^3.972.81",
51
- "@aws-sdk/credential-provider-login": "^3.972.86",
52
- "@aws-sdk/credential-provider-process": "^3.972.79",
53
- "@aws-sdk/credential-provider-sso": "^3.973.23",
54
- "@aws-sdk/credential-provider-web-identity": "^3.972.85",
55
- "@aws-sdk/nested-clients": "^3.997.53",
48
+ "@aws-sdk/core": "^3.979.1",
49
+ "@aws-sdk/credential-provider-env": "^3.972.80",
50
+ "@aws-sdk/credential-provider-http": "^3.972.82",
51
+ "@aws-sdk/credential-provider-login": "^3.972.87",
52
+ "@aws-sdk/credential-provider-process": "^3.972.80",
53
+ "@aws-sdk/credential-provider-sso": "^3.973.24",
54
+ "@aws-sdk/credential-provider-web-identity": "^3.972.86",
55
+ "@aws-sdk/nested-clients": "^3.997.54",
56
56
  "@aws-sdk/types": "^3.975.0",
57
- "@smithy/core": "^3.37.0",
57
+ "@smithy/core": "^3.38.0",
58
58
  "@smithy/credential-provider-imds": "^4.5.2",
59
59
  "@smithy/types": "^4.19.0",
60
60
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-login",
3
- "version": "3.972.86",
3
+ "version": "3.972.87",
4
4
  "description": "AWS credential provider that sources credentials from aws login cached tokens",
5
5
  "keywords": [
6
6
  "aws",
@@ -45,10 +45,10 @@
45
45
  "test:watch": "yarn g:vitest watch"
46
46
  },
47
47
  "dependencies": {
48
- "@aws-sdk/core": "^3.979.0",
49
- "@aws-sdk/nested-clients": "^3.997.53",
48
+ "@aws-sdk/core": "^3.979.1",
49
+ "@aws-sdk/nested-clients": "^3.997.54",
50
50
  "@aws-sdk/types": "^3.975.0",
51
- "@smithy/core": "^3.37.0",
51
+ "@smithy/core": "^3.38.0",
52
52
  "@smithy/types": "^4.19.0",
53
53
  "tslib": "^2.6.2"
54
54
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.972.91",
3
+ "version": "3.972.92",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "keywords": [
6
6
  "aws",
@@ -45,14 +45,14 @@
45
45
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
46
46
  },
47
47
  "dependencies": {
48
- "@aws-sdk/credential-provider-env": "^3.972.79",
49
- "@aws-sdk/credential-provider-http": "^3.972.81",
50
- "@aws-sdk/credential-provider-ini": "^3.973.24",
51
- "@aws-sdk/credential-provider-process": "^3.972.79",
52
- "@aws-sdk/credential-provider-sso": "^3.973.23",
53
- "@aws-sdk/credential-provider-web-identity": "^3.972.85",
48
+ "@aws-sdk/credential-provider-env": "^3.972.80",
49
+ "@aws-sdk/credential-provider-http": "^3.972.82",
50
+ "@aws-sdk/credential-provider-ini": "^3.973.25",
51
+ "@aws-sdk/credential-provider-process": "^3.972.80",
52
+ "@aws-sdk/credential-provider-sso": "^3.973.24",
53
+ "@aws-sdk/credential-provider-web-identity": "^3.972.86",
54
54
  "@aws-sdk/types": "^3.975.0",
55
- "@smithy/core": "^3.37.0",
55
+ "@smithy/core": "^3.38.0",
56
56
  "@smithy/credential-provider-imds": "^4.5.2",
57
57
  "@smithy/types": "^4.19.0",
58
58
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-process",
3
- "version": "3.972.79",
3
+ "version": "3.972.80",
4
4
  "description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
5
5
  "keywords": [
6
6
  "aws",
@@ -43,9 +43,9 @@
43
43
  "test:watch": "yarn g:vitest watch"
44
44
  },
45
45
  "dependencies": {
46
- "@aws-sdk/core": "^3.979.0",
46
+ "@aws-sdk/core": "^3.979.1",
47
47
  "@aws-sdk/types": "^3.975.0",
48
- "@smithy/core": "^3.37.0",
48
+ "@smithy/core": "^3.38.0",
49
49
  "@smithy/types": "^4.19.0",
50
50
  "tslib": "^2.6.2"
51
51
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.973.23",
3
+ "version": "3.973.24",
4
4
  "description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
5
5
  "keywords": [
6
6
  "aws",
@@ -45,11 +45,11 @@
45
45
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
46
46
  },
47
47
  "dependencies": {
48
- "@aws-sdk/core": "^3.979.0",
49
- "@aws-sdk/nested-clients": "^3.997.53",
50
- "@aws-sdk/token-providers": "3.1160.0",
48
+ "@aws-sdk/core": "^3.979.1",
49
+ "@aws-sdk/nested-clients": "^3.997.54",
50
+ "@aws-sdk/token-providers": "3.1161.0",
51
51
  "@aws-sdk/types": "^3.975.0",
52
- "@smithy/core": "^3.37.0",
52
+ "@smithy/core": "^3.38.0",
53
53
  "@smithy/types": "^4.19.0",
54
54
  "tslib": "^2.6.2"
55
55
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.972.85",
3
+ "version": "3.972.86",
4
4
  "description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
5
5
  "keywords": [
6
6
  "aws",
@@ -50,10 +50,10 @@
50
50
  "test:watch": "yarn g:vitest watch"
51
51
  },
52
52
  "dependencies": {
53
- "@aws-sdk/core": "^3.979.0",
54
- "@aws-sdk/nested-clients": "^3.997.53",
53
+ "@aws-sdk/core": "^3.979.1",
54
+ "@aws-sdk/nested-clients": "^3.997.54",
55
55
  "@aws-sdk/types": "^3.975.0",
56
- "@smithy/core": "^3.37.0",
56
+ "@smithy/core": "^3.38.0",
57
57
  "@smithy/types": "^4.19.0",
58
58
  "tslib": "^2.6.2"
59
59
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-sdk-s3",
3
- "version": "3.972.84",
3
+ "version": "3.972.85",
4
4
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-sdk-s3",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -94,10 +94,10 @@
94
94
  "test:types": "tsc -p tsconfig.test.json"
95
95
  },
96
96
  "dependencies": {
97
- "@aws-sdk/core": "^3.979.0",
98
- "@aws-sdk/signature-v4-multi-region": "^3.996.50",
97
+ "@aws-sdk/core": "^3.979.1",
98
+ "@aws-sdk/signature-v4-multi-region": "^3.996.51",
99
99
  "@aws-sdk/types": "^3.975.0",
100
- "@smithy/core": "^3.37.0",
100
+ "@smithy/core": "^3.38.0",
101
101
  "@smithy/types": "^4.19.0",
102
102
  "tslib": "^2.6.2"
103
103
  },
@@ -83,7 +83,7 @@ const commonParams = {
83
83
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
84
84
  };
85
85
 
86
- var version = "3.997.52";
86
+ var version = "3.997.53";
87
87
  var packageInfo = {
88
88
  version: version};
89
89
 
@@ -78,7 +78,7 @@ const commonParams = {
78
78
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
79
79
  };
80
80
 
81
- var version = "3.997.52";
81
+ var version = "3.997.53";
82
82
  var packageInfo = {
83
83
  version: version};
84
84
 
@@ -561,6 +561,13 @@ const OAuth2ErrorCode = {
561
561
  CONFLICT: "CONFLICT",
562
562
  INSUFFICIENT_PERMISSIONS: "INSUFFICIENT_PERMISSIONS",
563
563
  INVALID_REQUEST: "INVALID_REQUEST",
564
+ OAUTH_INVALID_GRANT: "invalid_grant",
565
+ OAUTH_INVALID_REQUEST: "invalid_request",
566
+ OAUTH_INVALID_SCOPE: "invalid_scope",
567
+ OAUTH_INVALID_TARGET: "invalid_target",
568
+ OAUTH_RATE_EXCEEDED: "rate_exceeded",
569
+ OAUTH_SERVICE_UNAVAILABLE: "service_unavailable",
570
+ OAUTH_UNSUPPORTED_GRANT_TYPE: "unsupported_grant_type",
564
571
  RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
565
572
  SERVER_ERROR: "server_error",
566
573
  SERVICE_QUOTA_EXCEEDED: "SERVICE_QUOTA_EXCEEDED",
@@ -78,7 +78,7 @@ const commonParams = {
78
78
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
79
79
  };
80
80
 
81
- var version = "3.997.52";
81
+ var version = "3.997.53";
82
82
  var packageInfo = {
83
83
  version: version};
84
84
 
@@ -78,7 +78,7 @@ const commonParams = {
78
78
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
79
79
  };
80
80
 
81
- var version = "3.997.52";
81
+ var version = "3.997.53";
82
82
  var packageInfo = {
83
83
  version: version};
84
84
 
@@ -258,7 +258,7 @@ const commonParams = {
258
258
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
259
259
  };
260
260
 
261
- var version = "3.997.52";
261
+ var version = "3.997.53";
262
262
  var packageInfo = {
263
263
  version: version};
264
264
 
@@ -3,6 +3,13 @@ export const OAuth2ErrorCode = {
3
3
  CONFLICT: "CONFLICT",
4
4
  INSUFFICIENT_PERMISSIONS: "INSUFFICIENT_PERMISSIONS",
5
5
  INVALID_REQUEST: "INVALID_REQUEST",
6
+ OAUTH_INVALID_GRANT: "invalid_grant",
7
+ OAUTH_INVALID_REQUEST: "invalid_request",
8
+ OAUTH_INVALID_SCOPE: "invalid_scope",
9
+ OAUTH_INVALID_TARGET: "invalid_target",
10
+ OAUTH_RATE_EXCEEDED: "rate_exceeded",
11
+ OAUTH_SERVICE_UNAVAILABLE: "service_unavailable",
12
+ OAUTH_UNSUPPORTED_GRANT_TYPE: "unsupported_grant_type",
6
13
  RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
7
14
  SERVER_ERROR: "server_error",
8
15
  SERVICE_QUOTA_EXCEEDED: "SERVICE_QUOTA_EXCEEDED",
@@ -23,8 +23,7 @@ export interface Signin {
23
23
  createOAuth2TokenWithIAM(args: CreateOAuth2TokenWithIAMCommandInput, options: SigninRequestOptions, cb: (err: any, data?: CreateOAuth2TokenWithIAMCommandOutput) => void): void;
24
24
  }
25
25
  /**
26
- * AWS Sign-In manages authentication for AWS services. This service provides
27
- * secure authentication flows for accessing AWS resources from the console and developer tools.
26
+ * AWS Sign-In manages authentication for AWS services. It implements OAuth 2.0, providing secure token exchange and refresh capabilities.
28
27
  * @public
29
28
  */
30
29
  export declare class Signin extends SigninClient implements Signin {
@@ -171,8 +171,7 @@ export type SigninClientResolvedConfigType = __SmithyResolvedConfiguration<__Htt
171
171
  export interface SigninClientResolvedConfig extends SigninClientResolvedConfigType {
172
172
  }
173
173
  /**
174
- * AWS Sign-In manages authentication for AWS services. This service provides
175
- * secure authentication flows for accessing AWS resources from the console and developer tools.
174
+ * AWS Sign-In manages authentication for AWS services. It implements OAuth 2.0, providing secure token exchange and refresh capabilities.
176
175
  * @public
177
176
  */
178
177
  export declare class SigninClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SigninClientResolvedConfig> {
@@ -24,34 +24,7 @@ declare const CreateOAuth2TokenCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * CreateOAuth2Token API
28
- *
29
- * Path: /v1/token
30
- * Request Method: POST
31
- * Content-Type: application/json or application/x-www-form-urlencoded
32
- *
33
- * This API implements OAuth 2.0 flows for AWS Sign-In CLI clients, supporting both:
34
- * 1. Authorization code redemption (grant_type=authorization_code) - NOT idempotent
35
- * 2. Token refresh (grant_type=refresh_token) - Idempotent within token validity window
36
- *
37
- * The operation behavior is determined by the grant_type parameter in the request body:
38
- *
39
- * **Authorization Code Flow (NOT Idempotent):**
40
- * - JSON or form-encoded body with client_id, grant_type=authorization_code, code, redirect_uri, code_verifier
41
- * - Returns access_token, token_type, expires_in, refresh_token, and id_token
42
- * - Each authorization code can only be used ONCE for security (prevents replay attacks)
43
- *
44
- * **Token Refresh Flow (Idempotent):**
45
- * - JSON or form-encoded body with client_id, grant_type=refresh_token, refresh_token
46
- * - Returns access_token, token_type, expires_in, and refresh_token (no id_token)
47
- * - Multiple calls with same refresh_token return consistent results within validity window
48
- *
49
- * Authentication and authorization:
50
- * - Confidential clients: sigv4 signing required with signin:ExchangeToken permissions
51
- * - CLI clients (public): authn/authz skipped based on client_id & grant_type
52
- *
53
- * Note: This operation cannot be marked as @idempotent because it handles both idempotent
54
- * (token refresh) and non-idempotent (auth code redemption) flows in a single endpoint.
27
+ * Exchanges an authorization code or refresh token for an OAuth 2.0 access token and refresh token.
55
28
  * @example
56
29
  * Use a bare-bones client and the command you need to make an API call.
57
30
  * ```javascript
@@ -95,43 +68,16 @@ declare const CreateOAuth2TokenCommand_base: {
95
68
  * @see {@link SigninClientResolvedConfig | config} for SigninClient's `config` shape.
96
69
  *
97
70
  * @throws {@link AccessDeniedException} (client fault)
98
- * Error thrown for access denied scenarios with flexible HTTP status mapping
99
- *
100
- * Runtime HTTP Status Code Mapping:
101
- * - HTTP 401 (Unauthorized): TOKEN_EXPIRED, AUTHCODE_EXPIRED
102
- * - HTTP 403 (Forbidden): USER_CREDENTIALS_CHANGED, INSUFFICIENT_PERMISSIONS
103
- *
104
- * The specific HTTP status code is determined at runtime based on the error enum value.
105
- * Consumers should use the error field to determine the specific access denial reason.
71
+ * You do not have sufficient access to perform this action.
106
72
  *
107
73
  * @throws {@link InternalServerException} (server fault)
108
- * Error thrown when an internal server error occurs
109
- *
110
- * HTTP Status Code: 500 Internal Server Error
111
- *
112
- * Used for unexpected server-side errors that prevent request processing.
74
+ * The request failed because of an internal server error.
113
75
  *
114
76
  * @throws {@link TooManyRequestsError} (client fault)
115
- * Error thrown when rate limit is exceeded
116
- *
117
- * HTTP Status Code: 429 Too Many Requests
118
- *
119
- * Possible OAuth2ErrorCode values:
120
- * - INVALID_REQUEST: Rate limiting, too many requests, abuse prevention
121
- *
122
- * Possible causes:
123
- * - Too many token requests from the same client
124
- * - Rate limiting based on client_id or IP address
125
- * - Abuse prevention mechanisms triggered
126
- * - Service protection against excessive token generation
77
+ * The request failed because you exceeded the request rate limit for this operation.
127
78
  *
128
79
  * @throws {@link ValidationException} (client fault)
129
- * Error thrown when request validation fails
130
- *
131
- * HTTP Status Code: 400 Bad Request
132
- *
133
- * Used for request validation errors such as malformed parameters,
134
- * missing required fields, or invalid parameter values.
80
+ * The request failed because it contains a malformed, missing, or invalid parameter.
135
81
  *
136
82
  * @throws {@link SigninServiceException}
137
83
  * <p>Base exception class for all service exceptions from Signin service.</p>
@@ -24,8 +24,7 @@ declare const CreateOAuth2TokenWithIAMCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * Grants permission to exchange client credentials for an OAuth 2.0 access token
28
- * scoped to a resource that can be used to access AWS services from applications
27
+ * Exchanges client credentials for an OAuth 2.0 access token scoped to a resource, which you can use to access AWS services from applications.
29
28
  * @example
30
29
  * Use a bare-bones client and the command you need to make an API call.
31
30
  * ```javascript
@@ -55,43 +54,16 @@ declare const CreateOAuth2TokenWithIAMCommand_base: {
55
54
  * @see {@link SigninClientResolvedConfig | config} for SigninClient's `config` shape.
56
55
  *
57
56
  * @throws {@link AccessDeniedException} (client fault)
58
- * Error thrown for access denied scenarios with flexible HTTP status mapping
59
- *
60
- * Runtime HTTP Status Code Mapping:
61
- * - HTTP 401 (Unauthorized): TOKEN_EXPIRED, AUTHCODE_EXPIRED
62
- * - HTTP 403 (Forbidden): USER_CREDENTIALS_CHANGED, INSUFFICIENT_PERMISSIONS
63
- *
64
- * The specific HTTP status code is determined at runtime based on the error enum value.
65
- * Consumers should use the error field to determine the specific access denial reason.
57
+ * You do not have sufficient access to perform this action.
66
58
  *
67
59
  * @throws {@link InternalServerException} (server fault)
68
- * Error thrown when an internal server error occurs
69
- *
70
- * HTTP Status Code: 500 Internal Server Error
71
- *
72
- * Used for unexpected server-side errors that prevent request processing.
60
+ * The request failed because of an internal server error.
73
61
  *
74
62
  * @throws {@link TooManyRequestsError} (client fault)
75
- * Error thrown when rate limit is exceeded
76
- *
77
- * HTTP Status Code: 429 Too Many Requests
78
- *
79
- * Possible OAuth2ErrorCode values:
80
- * - INVALID_REQUEST: Rate limiting, too many requests, abuse prevention
81
- *
82
- * Possible causes:
83
- * - Too many token requests from the same client
84
- * - Rate limiting based on client_id or IP address
85
- * - Abuse prevention mechanisms triggered
86
- * - Service protection against excessive token generation
63
+ * The request failed because you exceeded the request rate limit for this operation.
87
64
  *
88
65
  * @throws {@link ValidationException} (client fault)
89
- * Error thrown when request validation fails
90
- *
91
- * HTTP Status Code: 400 Bad Request
92
- *
93
- * Used for request validation errors such as malformed parameters,
94
- * missing required fields, or invalid parameter values.
66
+ * The request failed because it contains a malformed, missing, or invalid parameter.
95
67
  *
96
68
  * @throws {@link SigninServiceException}
97
69
  * <p>Base exception class for all service exceptions from Signin service.</p>
@@ -1,6 +1,5 @@
1
1
  /**
2
- * AWS Sign-In manages authentication for AWS services. This service provides
3
- * secure authentication flows for accessing AWS resources from the console and developer tools.
2
+ * AWS Sign-In manages authentication for AWS services. It implements OAuth 2.0, providing secure token exchange and refresh capabilities.
4
3
  *
5
4
  * @packageDocumentation
6
5
  */
@@ -4,39 +4,46 @@
4
4
  */
5
5
  export declare const OAuth2ErrorCode: {
6
6
  /**
7
- * Authorization code has expired
7
+ * Authorization code has expired.
8
8
  */
9
9
  readonly AUTHCODE_EXPIRED: "AUTHCODE_EXPIRED";
10
10
  /**
11
- * Request conflicts with current state of the resource
11
+ * Request conflicts with the current state of the resource.
12
12
  */
13
13
  readonly CONFLICT: "CONFLICT";
14
14
  /**
15
- * Insufficient permissions to perform this operation
15
+ * Insufficient permissions to perform this operation.
16
16
  */
17
17
  readonly INSUFFICIENT_PERMISSIONS: "INSUFFICIENT_PERMISSIONS";
18
18
  /**
19
- * The request is missing a required parameter, includes an invalid parameter value, or is otherwise malformed
19
+ * The request is missing a required parameter, includes an invalid parameter value, or is otherwise malformed.
20
20
  */
21
21
  readonly INVALID_REQUEST: "INVALID_REQUEST";
22
+ readonly OAUTH_INVALID_GRANT: "invalid_grant";
23
+ readonly OAUTH_INVALID_REQUEST: "invalid_request";
24
+ readonly OAUTH_INVALID_SCOPE: "invalid_scope";
25
+ readonly OAUTH_INVALID_TARGET: "invalid_target";
26
+ readonly OAUTH_RATE_EXCEEDED: "rate_exceeded";
27
+ readonly OAUTH_SERVICE_UNAVAILABLE: "service_unavailable";
28
+ readonly OAUTH_UNSUPPORTED_GRANT_TYPE: "unsupported_grant_type";
22
29
  /**
23
- * Requested resource was not found
30
+ * Requested resource was not found.
24
31
  */
25
32
  readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
26
33
  /**
27
- * Internal server error occurred
34
+ * Internal server error occurred.
28
35
  */
29
36
  readonly SERVER_ERROR: "server_error";
30
37
  /**
31
- * Request would cause a service quota to be exceeded
38
+ * Request would cause a service quota to be exceeded.
32
39
  */
33
40
  readonly SERVICE_QUOTA_EXCEEDED: "SERVICE_QUOTA_EXCEEDED";
34
41
  /**
35
- * Token has expired and needs to be refreshed
42
+ * Token has expired.
36
43
  */
37
44
  readonly TOKEN_EXPIRED: "TOKEN_EXPIRED";
38
45
  /**
39
- * User credentials have been changed
46
+ * User credentials have been changed.
40
47
  */
41
48
  readonly USER_CREDENTIALS_CHANGED: "USER_CREDENTIALS_CHANGED";
42
49
  };