@mavogel/awscdk-rootmail 0.0.95 → 0.0.97

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 (197) hide show
  1. package/.jsii +8 -8
  2. package/lib/rootmail.js +1 -1
  3. package/lib/ses-receive.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +5 -5
  5. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/CloudWatchLogsClient.js +5 -5
  6. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/CloudWatchLogsClient.d.ts +2 -2
  7. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.browser.d.ts +1 -1
  8. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.d.ts +1 -1
  9. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.native.d.ts +1 -1
  10. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/CloudWatchLogsClient.d.ts +2 -2
  11. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  12. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  13. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  14. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +17 -17
  15. package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +5 -5
  16. package/node_modules/@aws-sdk/client-route-53/dist-es/Route53Client.js +5 -5
  17. package/node_modules/@aws-sdk/client-route-53/dist-types/Route53Client.d.ts +2 -2
  18. package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.browser.d.ts +1 -1
  19. package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.d.ts +1 -1
  20. package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.native.d.ts +1 -1
  21. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/Route53Client.d.ts +2 -2
  22. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  23. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  24. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  25. package/node_modules/@aws-sdk/client-route-53/package.json +17 -17
  26. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +174 -64
  27. package/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +7 -7
  28. package/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js +2 -0
  29. package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js +2 -0
  30. package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js +2 -0
  31. package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js +2 -0
  32. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js +2 -0
  33. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js +2 -0
  34. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +2 -0
  35. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +2 -0
  36. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js +2 -0
  37. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +2 -0
  38. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js +2 -0
  39. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js +2 -0
  40. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +2 -0
  41. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js +2 -0
  42. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +2 -0
  43. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js +2 -0
  44. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js +2 -0
  45. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js +2 -0
  46. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js +2 -0
  47. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js +2 -0
  48. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js +2 -0
  49. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js +2 -0
  50. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js +2 -0
  51. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js +2 -0
  52. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js +2 -0
  53. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js +2 -0
  54. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js +2 -0
  55. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js +2 -0
  56. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js +2 -0
  57. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js +2 -0
  58. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js +2 -0
  59. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js +2 -0
  60. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js +2 -0
  61. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js +2 -0
  62. package/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js +2 -0
  63. package/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js +2 -1
  64. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +2 -0
  65. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +2 -0
  66. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +2 -0
  67. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +2 -0
  68. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js +2 -0
  69. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js +2 -0
  70. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js +2 -0
  71. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js +2 -0
  72. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js +2 -0
  73. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js +2 -0
  74. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +2 -0
  75. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +2 -0
  76. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +2 -1
  77. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +2 -0
  78. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +2 -0
  79. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +2 -0
  80. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +2 -0
  81. package/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +2 -0
  82. package/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js +2 -0
  83. package/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +2 -0
  84. package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +2 -2
  85. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +11 -11
  86. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +22 -22
  87. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +19 -19
  88. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +50 -50
  89. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +13 -13
  90. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +1 -1
  91. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +1 -1
  92. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +1 -1
  93. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +2 -2
  94. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -4
  95. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +4 -4
  96. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
  97. package/node_modules/@aws-sdk/client-s3/package.json +25 -25
  98. package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +5 -5
  99. package/node_modules/@aws-sdk/client-ses/dist-es/SESClient.js +5 -5
  100. package/node_modules/@aws-sdk/client-ses/dist-types/SESClient.d.ts +2 -2
  101. package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.browser.d.ts +1 -1
  102. package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.d.ts +1 -1
  103. package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.native.d.ts +1 -1
  104. package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/SESClient.d.ts +2 -2
  105. package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  106. package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  107. package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  108. package/node_modules/@aws-sdk/client-ses/package.json +17 -17
  109. package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +5 -5
  110. package/node_modules/@aws-sdk/client-ssm/dist-es/SSMClient.js +5 -5
  111. package/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +2 -2
  112. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +1 -1
  113. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +1 -1
  114. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +1 -1
  115. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts +2 -2
  116. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  117. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  118. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  119. package/node_modules/@aws-sdk/client-ssm/package.json +17 -17
  120. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +5 -5
  121. package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +5 -5
  122. package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +2 -2
  123. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +1 -1
  124. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +1 -1
  125. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +1 -1
  126. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +2 -2
  127. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  128. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  129. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  130. package/node_modules/@aws-sdk/client-sso/package.json +14 -14
  131. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +5 -5
  132. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +5 -5
  133. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +2 -2
  134. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +1 -1
  135. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +1 -1
  136. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +1 -1
  137. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +2 -2
  138. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  139. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  140. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  141. package/node_modules/@aws-sdk/client-sso-oidc/package.json +16 -16
  142. package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +5 -5
  143. package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +5 -5
  144. package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +2 -2
  145. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +1 -1
  146. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +1 -1
  147. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +1 -1
  148. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +2 -2
  149. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  150. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  151. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  152. package/node_modules/@aws-sdk/client-sts/package.json +16 -16
  153. package/node_modules/@aws-sdk/core/package.json +5 -5
  154. package/node_modules/@aws-sdk/credential-provider-http/package.json +6 -6
  155. package/node_modules/@aws-sdk/credential-provider-ini/package.json +4 -4
  156. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +30 -6
  157. package/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +29 -9
  158. package/node_modules/@aws-sdk/credential-provider-node/package.json +4 -4
  159. package/node_modules/@aws-sdk/credential-provider-sso/package.json +2 -2
  160. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +2 -2
  161. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +2 -2
  162. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +3 -3
  163. package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
  164. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
  165. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +27 -10
  166. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/throw-200-exceptions.js +27 -10
  167. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/throw-200-exceptions.d.ts +1 -2
  168. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/throw-200-exceptions.d.ts +0 -2
  169. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +6 -4
  170. package/node_modules/@aws-sdk/middleware-signing/package.json +3 -3
  171. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  172. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
  173. package/node_modules/@smithy/core/package.json +3 -3
  174. package/node_modules/@smithy/eventstream-serde-browser/package.json +1 -1
  175. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  176. package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +1 -1
  177. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +1 -1
  178. package/node_modules/@smithy/signature-v4/package.json +2 -2
  179. package/node_modules/@smithy/smithy-client/package.json +2 -2
  180. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  181. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  182. package/node_modules/@smithy/util-stream/dist-types/stream-type-check.d.ts +9 -1
  183. package/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts +9 -1
  184. package/node_modules/@smithy/util-stream/package.json +1 -1
  185. package/node_modules/cdk-nag/.jsii +2 -2
  186. package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
  187. package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
  188. package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
  189. package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
  190. package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
  191. package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
  192. package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
  193. package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
  194. package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
  195. package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
  196. package/node_modules/cdk-nag/package.json +2 -2
  197. package/package.json +11 -11
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso-oidc",
3
3
  "description": "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
4
- "version": "3.614.0",
4
+ "version": "3.616.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sso-oidc",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.614.0",
24
- "@aws-sdk/credential-provider-node": "3.614.0",
25
- "@aws-sdk/middleware-host-header": "3.609.0",
23
+ "@aws-sdk/core": "3.616.0",
24
+ "@aws-sdk/credential-provider-node": "3.616.0",
25
+ "@aws-sdk/middleware-host-header": "3.616.0",
26
26
  "@aws-sdk/middleware-logger": "3.609.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.609.0",
28
- "@aws-sdk/middleware-user-agent": "3.614.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.616.0",
28
+ "@aws-sdk/middleware-user-agent": "3.616.0",
29
29
  "@aws-sdk/region-config-resolver": "3.614.0",
30
30
  "@aws-sdk/types": "3.609.0",
31
31
  "@aws-sdk/util-endpoints": "3.614.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.609.0",
33
33
  "@aws-sdk/util-user-agent-node": "3.614.0",
34
34
  "@smithy/config-resolver": "^3.0.5",
35
- "@smithy/core": "^2.2.6",
36
- "@smithy/fetch-http-handler": "^3.2.1",
35
+ "@smithy/core": "^2.2.7",
36
+ "@smithy/fetch-http-handler": "^3.2.2",
37
37
  "@smithy/hash-node": "^3.0.3",
38
38
  "@smithy/invalid-dependency": "^3.0.3",
39
- "@smithy/middleware-content-length": "^3.0.3",
39
+ "@smithy/middleware-content-length": "^3.0.4",
40
40
  "@smithy/middleware-endpoint": "^3.0.5",
41
- "@smithy/middleware-retry": "^3.0.9",
41
+ "@smithy/middleware-retry": "^3.0.10",
42
42
  "@smithy/middleware-serde": "^3.0.3",
43
43
  "@smithy/middleware-stack": "^3.0.3",
44
44
  "@smithy/node-config-provider": "^3.1.4",
45
- "@smithy/node-http-handler": "^3.1.2",
46
- "@smithy/protocol-http": "^4.0.3",
47
- "@smithy/smithy-client": "^3.1.7",
45
+ "@smithy/node-http-handler": "^3.1.3",
46
+ "@smithy/protocol-http": "^4.0.4",
47
+ "@smithy/smithy-client": "^3.1.8",
48
48
  "@smithy/types": "^3.3.0",
49
49
  "@smithy/url-parser": "^3.0.3",
50
50
  "@smithy/util-base64": "^3.0.0",
51
51
  "@smithy/util-body-length-browser": "^3.0.0",
52
52
  "@smithy/util-body-length-node": "^3.0.0",
53
- "@smithy/util-defaults-mode-browser": "^3.0.9",
54
- "@smithy/util-defaults-mode-node": "^3.0.9",
53
+ "@smithy/util-defaults-mode-browser": "^3.0.10",
54
+ "@smithy/util-defaults-mode-node": "^3.0.10",
55
55
  "@smithy/util-endpoints": "^2.0.5",
56
56
  "@smithy/util-middleware": "^3.0.3",
57
57
  "@smithy/util-retry": "^3.0.3",
@@ -85,7 +85,7 @@
85
85
  },
86
86
  "license": "Apache-2.0",
87
87
  "peerDependencies": {
88
- "@aws-sdk/client-sts": "^3.614.0"
88
+ "@aws-sdk/client-sts": "^3.616.0"
89
89
  },
90
90
  "browser": {
91
91
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
@@ -22,19 +22,19 @@ class STSClient extends smithy_client_1.Client {
22
22
  const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
23
23
  const _config_2 = (0, config_resolver_1.resolveRegionConfig)(_config_1);
24
24
  const _config_3 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_2);
25
- const _config_4 = (0, middleware_retry_1.resolveRetryConfig)(_config_3);
26
- const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
27
- const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
25
+ const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
26
+ const _config_5 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_4);
27
+ const _config_6 = (0, middleware_retry_1.resolveRetryConfig)(_config_5);
28
28
  const _config_7 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_6);
29
29
  const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);
30
30
  super(_config_8);
31
31
  this.config = _config_8;
32
- this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
33
- this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
34
32
  this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
35
33
  this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
36
34
  this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
37
35
  this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
36
+ this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
37
+ this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
38
38
  this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
39
39
  httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
40
40
  identityProviderConfigProvider: this.getIdentityProviderConfigProvider(),
@@ -19,19 +19,19 @@ export class STSClient extends __Client {
19
19
  const _config_1 = resolveClientEndpointParameters(_config_0);
20
20
  const _config_2 = resolveRegionConfig(_config_1);
21
21
  const _config_3 = resolveEndpointConfig(_config_2);
22
- const _config_4 = resolveRetryConfig(_config_3);
23
- const _config_5 = resolveHostHeaderConfig(_config_4);
24
- const _config_6 = resolveUserAgentConfig(_config_5);
22
+ const _config_4 = resolveHostHeaderConfig(_config_3);
23
+ const _config_5 = resolveUserAgentConfig(_config_4);
24
+ const _config_6 = resolveRetryConfig(_config_5);
25
25
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
26
26
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
27
27
  super(_config_8);
28
28
  this.config = _config_8;
29
- this.middlewareStack.use(getRetryPlugin(this.config));
30
- this.middlewareStack.use(getContentLengthPlugin(this.config));
31
29
  this.middlewareStack.use(getHostHeaderPlugin(this.config));
32
30
  this.middlewareStack.use(getLoggerPlugin(this.config));
33
31
  this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
34
32
  this.middlewareStack.use(getUserAgentPlugin(this.config));
33
+ this.middlewareStack.use(getRetryPlugin(this.config));
34
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
35
35
  this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
36
36
  httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
37
37
  identityProviderConfigProvider: this.getIdentityProviderConfigProvider(),
@@ -139,7 +139,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
139
139
  /**
140
140
  * @public
141
141
  */
142
- export type STSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & UserAgentInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
142
+ export type STSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & HostHeaderInputConfig & UserAgentInputConfig & RetryInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
143
143
  /**
144
144
  * @public
145
145
  *
@@ -150,7 +150,7 @@ export interface STSClientConfig extends STSClientConfigType {
150
150
  /**
151
151
  * @public
152
152
  */
153
- export type STSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & UserAgentResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
153
+ export type STSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HostHeaderResolvedConfig & UserAgentResolvedConfig & RetryResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
154
154
  /**
155
155
  * @public
156
156
  *
@@ -32,8 +32,8 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
32
32
  logger?: import("@smithy/types").Logger | undefined;
33
33
  } | undefined) => import("@smithy/types").EndpointV2;
34
34
  tls?: boolean | undefined;
35
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
36
35
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
36
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
37
37
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
38
38
  schemeId: string;
39
39
  identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
@@ -39,8 +39,8 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
39
39
  logger?: import("@smithy/types").Logger | undefined;
40
40
  } | undefined) => import("@smithy/types").EndpointV2;
41
41
  tls?: boolean | undefined;
42
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
43
42
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
43
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
44
44
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
45
45
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
46
46
  signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
@@ -31,8 +31,8 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
31
31
  logger?: import("@smithy/types").Logger | undefined;
32
32
  } | undefined) => import("@smithy/types").EndpointV2;
33
33
  tls?: boolean | undefined;
34
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
35
34
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
35
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
36
36
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
37
37
  schemeId: string;
38
38
  identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
@@ -133,9 +133,9 @@ export type STSClientConfigType = Partial<
133
133
  ClientDefaults &
134
134
  RegionInputConfig &
135
135
  EndpointInputConfig<EndpointParameters> &
136
- RetryInputConfig &
137
136
  HostHeaderInputConfig &
138
137
  UserAgentInputConfig &
138
+ RetryInputConfig &
139
139
  HttpAuthSchemeInputConfig &
140
140
  ClientInputEndpointParameters;
141
141
  export interface STSClientConfig extends STSClientConfigType {}
@@ -145,9 +145,9 @@ export type STSClientResolvedConfigType =
145
145
  RuntimeExtensionsConfig &
146
146
  RegionResolvedConfig &
147
147
  EndpointResolvedConfig<EndpointParameters> &
148
- RetryResolvedConfig &
149
148
  HostHeaderResolvedConfig &
150
149
  UserAgentResolvedConfig &
150
+ RetryResolvedConfig &
151
151
  HttpAuthSchemeResolvedConfig &
152
152
  ClientResolvedEndpointParameters;
153
153
  export interface STSClientResolvedConfig extends STSClientResolvedConfigType {}
@@ -58,11 +58,11 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
58
58
  | undefined
59
59
  ) => import("@smithy/types").EndpointV2;
60
60
  tls?: boolean | undefined;
61
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
61
62
  retryStrategy?:
62
63
  | import("@smithy/types").RetryStrategy
63
64
  | import("@smithy/types").RetryStrategyV2
64
65
  | undefined;
65
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
66
66
  httpAuthSchemes:
67
67
  | import("@smithy/types").HttpAuthScheme[]
68
68
  | (
@@ -77,11 +77,11 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
77
77
  | undefined
78
78
  ) => import("@smithy/types").EndpointV2;
79
79
  tls?: boolean | undefined;
80
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
80
81
  retryStrategy?:
81
82
  | import("@smithy/types").RetryStrategy
82
83
  | import("@smithy/types").RetryStrategyV2
83
84
  | undefined;
84
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
85
85
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
86
86
  credentials?:
87
87
  | import("@smithy/types").AwsCredentialIdentity
@@ -52,11 +52,11 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
52
52
  | undefined
53
53
  ) => import("@smithy/types").EndpointV2;
54
54
  tls?: boolean | undefined;
55
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
55
56
  retryStrategy?:
56
57
  | import("@smithy/types").RetryStrategy
57
58
  | import("@smithy/types").RetryStrategyV2
58
59
  | undefined;
59
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
60
60
  httpAuthSchemes:
61
61
  | import("@smithy/types").HttpAuthScheme[]
62
62
  | (
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sts",
3
3
  "description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
4
- "version": "3.614.0",
4
+ "version": "3.616.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sts",
@@ -22,39 +22,39 @@
22
22
  "dependencies": {
23
23
  "@aws-crypto/sha256-browser": "5.2.0",
24
24
  "@aws-crypto/sha256-js": "5.2.0",
25
- "@aws-sdk/client-sso-oidc": "3.614.0",
26
- "@aws-sdk/core": "3.614.0",
27
- "@aws-sdk/credential-provider-node": "3.614.0",
28
- "@aws-sdk/middleware-host-header": "3.609.0",
25
+ "@aws-sdk/client-sso-oidc": "3.616.0",
26
+ "@aws-sdk/core": "3.616.0",
27
+ "@aws-sdk/credential-provider-node": "3.616.0",
28
+ "@aws-sdk/middleware-host-header": "3.616.0",
29
29
  "@aws-sdk/middleware-logger": "3.609.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.609.0",
31
- "@aws-sdk/middleware-user-agent": "3.614.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.616.0",
31
+ "@aws-sdk/middleware-user-agent": "3.616.0",
32
32
  "@aws-sdk/region-config-resolver": "3.614.0",
33
33
  "@aws-sdk/types": "3.609.0",
34
34
  "@aws-sdk/util-endpoints": "3.614.0",
35
35
  "@aws-sdk/util-user-agent-browser": "3.609.0",
36
36
  "@aws-sdk/util-user-agent-node": "3.614.0",
37
37
  "@smithy/config-resolver": "^3.0.5",
38
- "@smithy/core": "^2.2.6",
39
- "@smithy/fetch-http-handler": "^3.2.1",
38
+ "@smithy/core": "^2.2.7",
39
+ "@smithy/fetch-http-handler": "^3.2.2",
40
40
  "@smithy/hash-node": "^3.0.3",
41
41
  "@smithy/invalid-dependency": "^3.0.3",
42
- "@smithy/middleware-content-length": "^3.0.3",
42
+ "@smithy/middleware-content-length": "^3.0.4",
43
43
  "@smithy/middleware-endpoint": "^3.0.5",
44
- "@smithy/middleware-retry": "^3.0.9",
44
+ "@smithy/middleware-retry": "^3.0.10",
45
45
  "@smithy/middleware-serde": "^3.0.3",
46
46
  "@smithy/middleware-stack": "^3.0.3",
47
47
  "@smithy/node-config-provider": "^3.1.4",
48
- "@smithy/node-http-handler": "^3.1.2",
49
- "@smithy/protocol-http": "^4.0.3",
50
- "@smithy/smithy-client": "^3.1.7",
48
+ "@smithy/node-http-handler": "^3.1.3",
49
+ "@smithy/protocol-http": "^4.0.4",
50
+ "@smithy/smithy-client": "^3.1.8",
51
51
  "@smithy/types": "^3.3.0",
52
52
  "@smithy/url-parser": "^3.0.3",
53
53
  "@smithy/util-base64": "^3.0.0",
54
54
  "@smithy/util-body-length-browser": "^3.0.0",
55
55
  "@smithy/util-body-length-node": "^3.0.0",
56
- "@smithy/util-defaults-mode-browser": "^3.0.9",
57
- "@smithy/util-defaults-mode-node": "^3.0.9",
56
+ "@smithy/util-defaults-mode-browser": "^3.0.10",
57
+ "@smithy/util-defaults-mode-node": "^3.0.10",
58
58
  "@smithy/util-endpoints": "^2.0.5",
59
59
  "@smithy/util-middleware": "^3.0.3",
60
60
  "@smithy/util-retry": "^3.0.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.614.0",
3
+ "version": "3.616.0",
4
4
  "description": "Core functions & classes shared by multiple AWS SDK clients",
5
5
  "scripts": {
6
6
  "build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
@@ -67,10 +67,10 @@
67
67
  },
68
68
  "license": "Apache-2.0",
69
69
  "dependencies": {
70
- "@smithy/core": "^2.2.6",
71
- "@smithy/protocol-http": "^4.0.3",
72
- "@smithy/signature-v4": "^3.1.2",
73
- "@smithy/smithy-client": "^3.1.7",
70
+ "@smithy/core": "^2.2.7",
71
+ "@smithy/protocol-http": "^4.0.4",
72
+ "@smithy/signature-v4": "^4.0.0",
73
+ "@smithy/smithy-client": "^3.1.8",
74
74
  "@smithy/types": "^3.3.0",
75
75
  "fast-xml-parser": "4.2.5",
76
76
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-http",
3
- "version": "3.614.0",
3
+ "version": "3.616.0",
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",
@@ -27,13 +27,13 @@
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
29
  "@aws-sdk/types": "3.609.0",
30
- "@smithy/fetch-http-handler": "^3.2.1",
31
- "@smithy/node-http-handler": "^3.1.2",
30
+ "@smithy/fetch-http-handler": "^3.2.2",
31
+ "@smithy/node-http-handler": "^3.1.3",
32
32
  "@smithy/property-provider": "^3.1.3",
33
- "@smithy/protocol-http": "^4.0.3",
34
- "@smithy/smithy-client": "^3.1.7",
33
+ "@smithy/protocol-http": "^4.0.4",
34
+ "@smithy/smithy-client": "^3.1.8",
35
35
  "@smithy/types": "^3.3.0",
36
- "@smithy/util-stream": "^3.0.6",
36
+ "@smithy/util-stream": "^3.1.0",
37
37
  "tslib": "^2.6.2"
38
38
  },
39
39
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.614.0",
3
+ "version": "3.616.0",
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",
@@ -25,9 +25,9 @@
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
27
  "@aws-sdk/credential-provider-env": "3.609.0",
28
- "@aws-sdk/credential-provider-http": "3.614.0",
28
+ "@aws-sdk/credential-provider-http": "3.616.0",
29
29
  "@aws-sdk/credential-provider-process": "3.614.0",
30
- "@aws-sdk/credential-provider-sso": "3.614.0",
30
+ "@aws-sdk/credential-provider-sso": "3.616.0",
31
31
  "@aws-sdk/credential-provider-web-identity": "3.609.0",
32
32
  "@aws-sdk/types": "3.609.0",
33
33
  "@smithy/credential-provider-imds": "^3.1.4",
@@ -45,7 +45,7 @@
45
45
  "typescript": "~4.9.5"
46
46
  },
47
47
  "peerDependencies": {
48
- "@aws-sdk/client-sts": "^3.614.0"
48
+ "@aws-sdk/client-sts": "^3.616.0"
49
49
  },
50
50
  "types": "./dist-types/index.d.ts",
51
51
  "engines": {
@@ -63,15 +63,39 @@ var remoteProvider = /* @__PURE__ */ __name(async (init) => {
63
63
  }, "remoteProvider");
64
64
 
65
65
  // src/defaultProvider.ts
66
+ var multipleCredentialSourceWarningEmitted = false;
66
67
  var defaultProvider = /* @__PURE__ */ __name((init = {}) => (0, import_property_provider.memoize)(
67
68
  (0, import_property_provider.chain)(
68
- ...init.profile || process.env[import_shared_ini_file_loader.ENV_PROFILE] ? [] : [
69
- async () => {
70
- var _a;
71
- (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv");
72
- return (0, import_credential_provider_env.fromEnv)(init)();
69
+ async () => {
70
+ var _a, _b, _c, _d;
71
+ const profile = init.profile ?? process.env[import_shared_ini_file_loader.ENV_PROFILE];
72
+ if (profile) {
73
+ const envStaticCredentialsAreSet = process.env[import_credential_provider_env.ENV_KEY] && process.env[import_credential_provider_env.ENV_SECRET];
74
+ if (envStaticCredentialsAreSet) {
75
+ if (!multipleCredentialSourceWarningEmitted) {
76
+ const warnFn = ((_a = init.logger) == null ? void 0 : _a.warn) && ((_c = (_b = init.logger) == null ? void 0 : _b.constructor) == null ? void 0 : _c.name) !== "NoOpLogger" ? init.logger.warn : console.warn;
77
+ warnFn(
78
+ `@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:
79
+ Multiple credential sources detected:
80
+ Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.
81
+ This SDK will proceed with the AWS_PROFILE value.
82
+
83
+ However, a future version may change this behavior to prefer the ENV static credentials.
84
+ Please ensure that your environment only sets either the AWS_PROFILE or the
85
+ AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.
86
+ `
87
+ );
88
+ multipleCredentialSourceWarningEmitted = true;
89
+ }
90
+ }
91
+ throw new import_property_provider.CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.", {
92
+ logger: init.logger,
93
+ tryNextLink: true
94
+ });
73
95
  }
74
- ],
96
+ (_d = init.logger) == null ? void 0 : _d.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv");
97
+ return (0, import_credential_provider_env.fromEnv)(init)();
98
+ },
75
99
  async () => {
76
100
  var _a;
77
101
  (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");
@@ -1,15 +1,35 @@
1
- import { fromEnv } from "@aws-sdk/credential-provider-env";
1
+ import { ENV_KEY, ENV_SECRET, fromEnv } from "@aws-sdk/credential-provider-env";
2
2
  import { chain, CredentialsProviderError, memoize } from "@smithy/property-provider";
3
3
  import { ENV_PROFILE } from "@smithy/shared-ini-file-loader";
4
4
  import { remoteProvider } from "./remoteProvider";
5
- export const defaultProvider = (init = {}) => memoize(chain(...(init.profile || process.env[ENV_PROFILE]
6
- ? []
7
- : [
8
- async () => {
9
- init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv");
10
- return fromEnv(init)();
11
- },
12
- ]), async () => {
5
+ let multipleCredentialSourceWarningEmitted = false;
6
+ export const defaultProvider = (init = {}) => memoize(chain(async () => {
7
+ const profile = init.profile ?? process.env[ENV_PROFILE];
8
+ if (profile) {
9
+ const envStaticCredentialsAreSet = process.env[ENV_KEY] && process.env[ENV_SECRET];
10
+ if (envStaticCredentialsAreSet) {
11
+ if (!multipleCredentialSourceWarningEmitted) {
12
+ const warnFn = init.logger?.warn && init.logger?.constructor?.name !== "NoOpLogger" ? init.logger.warn : console.warn;
13
+ warnFn(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:
14
+ Multiple credential sources detected:
15
+ Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.
16
+ This SDK will proceed with the AWS_PROFILE value.
17
+
18
+ However, a future version may change this behavior to prefer the ENV static credentials.
19
+ Please ensure that your environment only sets either the AWS_PROFILE or the
20
+ AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.
21
+ `);
22
+ multipleCredentialSourceWarningEmitted = true;
23
+ }
24
+ }
25
+ throw new CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.", {
26
+ logger: init.logger,
27
+ tryNextLink: true,
28
+ });
29
+ }
30
+ init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv");
31
+ return fromEnv(init)();
32
+ }, async () => {
13
33
  init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");
14
34
  const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;
15
35
  if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.614.0",
3
+ "version": "3.616.0",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "engines": {
6
6
  "node": ">=16.0.0"
@@ -29,10 +29,10 @@
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
31
  "@aws-sdk/credential-provider-env": "3.609.0",
32
- "@aws-sdk/credential-provider-http": "3.614.0",
33
- "@aws-sdk/credential-provider-ini": "3.614.0",
32
+ "@aws-sdk/credential-provider-http": "3.616.0",
33
+ "@aws-sdk/credential-provider-ini": "3.616.0",
34
34
  "@aws-sdk/credential-provider-process": "3.614.0",
35
- "@aws-sdk/credential-provider-sso": "3.614.0",
35
+ "@aws-sdk/credential-provider-sso": "3.616.0",
36
36
  "@aws-sdk/credential-provider-web-identity": "3.609.0",
37
37
  "@aws-sdk/types": "3.609.0",
38
38
  "@smithy/credential-provider-imds": "^3.1.4",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.614.0",
3
+ "version": "3.616.0",
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",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/client-sso": "3.614.0",
27
+ "@aws-sdk/client-sso": "3.616.0",
28
28
  "@aws-sdk/token-providers": "3.614.0",
29
29
  "@aws-sdk/types": "3.609.0",
30
30
  "@smithy/property-provider": "^3.1.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-bucket-endpoint",
3
- "version": "3.614.0",
3
+ "version": "3.616.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-bucket-endpoint",
@@ -24,7 +24,7 @@
24
24
  "@aws-sdk/types": "3.609.0",
25
25
  "@aws-sdk/util-arn-parser": "3.568.0",
26
26
  "@smithy/node-config-provider": "^3.1.4",
27
- "@smithy/protocol-http": "^4.0.3",
27
+ "@smithy/protocol-http": "^4.0.4",
28
28
  "@smithy/types": "^3.3.0",
29
29
  "@smithy/util-config-provider": "^3.0.0",
30
30
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-expect-continue",
3
- "version": "3.609.0",
3
+ "version": "3.616.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-expect-continue",
@@ -22,7 +22,7 @@
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
24
  "@aws-sdk/types": "3.609.0",
25
- "@smithy/protocol-http": "^4.0.3",
25
+ "@smithy/protocol-http": "^4.0.4",
26
26
  "@smithy/types": "^3.3.0",
27
27
  "tslib": "^2.6.2"
28
28
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-flexible-checksums",
3
- "version": "3.614.0",
3
+ "version": "3.616.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-flexible-checksums",
@@ -32,13 +32,13 @@
32
32
  "@aws-crypto/crc32c": "5.2.0",
33
33
  "@aws-sdk/types": "3.609.0",
34
34
  "@smithy/is-array-buffer": "^3.0.0",
35
- "@smithy/protocol-http": "^4.0.3",
35
+ "@smithy/protocol-http": "^4.0.4",
36
36
  "@smithy/types": "^3.3.0",
37
37
  "@smithy/util-utf8": "^3.0.0",
38
38
  "tslib": "^2.6.2"
39
39
  },
40
40
  "devDependencies": {
41
- "@smithy/node-http-handler": "^3.1.2",
41
+ "@smithy/node-http-handler": "^3.1.3",
42
42
  "concurrently": "7.0.0",
43
43
  "downlevel-dts": "0.10.1",
44
44
  "rimraf": "3.0.2",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-host-header",
3
- "version": "3.609.0",
3
+ "version": "3.616.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-host-header",
@@ -22,7 +22,7 @@
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
24
  "@aws-sdk/types": "3.609.0",
25
- "@smithy/protocol-http": "^4.0.3",
25
+ "@smithy/protocol-http": "^4.0.4",
26
26
  "@smithy/types": "^3.3.0",
27
27
  "tslib": "^2.6.2"
28
28
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-recursion-detection",
3
- "version": "3.609.0",
3
+ "version": "3.616.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-recursion-detection",
@@ -22,7 +22,7 @@
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
24
  "@aws-sdk/types": "3.609.0",
25
- "@smithy/protocol-http": "^4.0.3",
25
+ "@smithy/protocol-http": "^4.0.4",
26
26
  "@smithy/types": "^3.3.0",
27
27
  "tslib": "^2.6.2"
28
28
  },