@mavogel/awscdk-rootmail 0.0.238 → 0.0.239

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 (165) 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/client-cloudwatch-logs/dist-cjs/runtimeConfig.js +8 -6
  5. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/runtimeConfig.js +8 -6
  6. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/CloudWatchLogsClient.d.ts +18 -0
  7. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.browser.d.ts +1 -0
  8. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.d.ts +1 -0
  9. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.native.d.ts +1 -0
  10. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/CloudWatchLogsClient.d.ts +1 -0
  11. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  12. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  13. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  14. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +14 -14
  15. package/node_modules/@aws-sdk/client-route-53/dist-cjs/runtimeConfig.js +8 -6
  16. package/node_modules/@aws-sdk/client-route-53/dist-es/runtimeConfig.js +8 -6
  17. package/node_modules/@aws-sdk/client-route-53/dist-types/Route53Client.d.ts +18 -0
  18. package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.browser.d.ts +1 -0
  19. package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.d.ts +1 -0
  20. package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.native.d.ts +1 -0
  21. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/Route53Client.d.ts +1 -0
  22. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  23. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  24. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  25. package/node_modules/@aws-sdk/client-route-53/package.json +15 -15
  26. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +23 -46
  27. package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +16 -11
  28. package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js +1 -2
  29. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +1 -2
  30. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +1 -2
  31. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +1 -2
  32. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +1 -2
  33. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +1 -2
  34. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +1 -2
  35. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +1 -2
  36. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +1 -2
  37. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +1 -2
  38. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +1 -2
  39. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +1 -2
  40. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +1 -2
  41. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +1 -2
  42. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +1 -2
  43. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +1 -2
  44. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +1 -2
  45. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +1 -2
  46. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +1 -2
  47. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +1 -2
  48. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +1 -2
  49. package/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +1 -2
  50. package/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +1 -2
  51. package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +16 -11
  52. package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +18 -0
  53. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +1 -0
  54. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +1 -0
  55. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +1 -0
  56. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +1 -0
  57. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  58. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  59. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  60. package/node_modules/@aws-sdk/client-s3/package.json +22 -22
  61. package/node_modules/@aws-sdk/client-ses/dist-cjs/runtimeConfig.js +8 -6
  62. package/node_modules/@aws-sdk/client-ses/dist-es/runtimeConfig.js +8 -6
  63. package/node_modules/@aws-sdk/client-ses/dist-types/SESClient.d.ts +18 -0
  64. package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.browser.d.ts +1 -0
  65. package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.d.ts +1 -0
  66. package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.native.d.ts +1 -0
  67. package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/SESClient.d.ts +1 -0
  68. package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  69. package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  70. package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  71. package/node_modules/@aws-sdk/client-ses/package.json +14 -14
  72. package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.js +8 -6
  73. package/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.js +8 -6
  74. package/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +18 -0
  75. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +1 -0
  76. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +1 -0
  77. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +1 -0
  78. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts +1 -0
  79. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  80. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  81. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  82. package/node_modules/@aws-sdk/client-ssm/package.json +14 -14
  83. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +8 -6
  84. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +8 -6
  85. package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +18 -0
  86. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +1 -0
  87. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +1 -0
  88. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +1 -0
  89. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +1 -0
  90. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  91. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  92. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  93. package/node_modules/@aws-sdk/client-sso/package.json +11 -11
  94. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +8 -6
  95. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +8 -6
  96. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +18 -0
  97. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +1 -0
  98. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +1 -0
  99. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +1 -0
  100. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +1 -0
  101. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  102. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  103. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  104. package/node_modules/@aws-sdk/client-sso-oidc/package.json +13 -13
  105. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +8 -6
  106. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +8 -6
  107. package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +18 -0
  108. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +1 -0
  109. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +1 -0
  110. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +1 -0
  111. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +1 -0
  112. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  113. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  114. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  115. package/node_modules/@aws-sdk/client-sts/package.json +13 -13
  116. package/node_modules/@aws-sdk/core/package.json +2 -2
  117. package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
  118. package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
  119. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +12 -8
  120. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js +7 -7
  121. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  122. package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
  123. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +8 -2
  124. package/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js +4 -2
  125. package/node_modules/@aws-sdk/credential-provider-process/dist-types/fromProcess.d.ts +2 -3
  126. package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/fromProcess.d.ts +5 -3
  127. package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
  128. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +4 -2
  129. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +4 -2
  130. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts +2 -3
  131. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/fromSSO.d.ts +5 -3
  132. package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
  133. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +4 -8
  134. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js +4 -8
  135. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
  136. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +2 -2
  137. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +2 -2
  138. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +17 -8
  139. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsMiddleware.js +1 -1
  140. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/selectChecksumAlgorithmFunction.js +16 -7
  141. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexibleChecksumsMiddleware.d.ts +12 -7
  142. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/flexibleChecksumsMiddleware.d.ts +4 -2
  143. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +3 -3
  144. package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
  145. package/node_modules/@aws-sdk/middleware-location-constraint/package.json +2 -2
  146. package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
  147. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
  148. package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +2 -2
  149. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +3 -3
  150. package/node_modules/@aws-sdk/middleware-ssec/package.json +2 -2
  151. package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
  152. package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
  153. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +3 -3
  154. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +10 -10
  155. package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +8 -10
  156. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  157. package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +1 -0
  158. package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +1 -0
  159. package/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +1 -0
  160. package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +1 -0
  161. package/node_modules/@aws-sdk/types/package.json +1 -1
  162. package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
  163. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
  164. package/node_modules/@aws-sdk/util-user-agent-node/package.json +3 -3
  165. package/package.json +7 -7
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-sdk-s3",
3
- "version": "3.713.0",
3
+ "version": "3.714.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-sdk-s3",
@@ -27,8 +27,8 @@
27
27
  },
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@aws-sdk/core": "3.713.0",
31
- "@aws-sdk/types": "3.713.0",
30
+ "@aws-sdk/core": "3.714.0",
31
+ "@aws-sdk/types": "3.714.0",
32
32
  "@aws-sdk/util-arn-parser": "3.693.0",
33
33
  "@smithy/core": "^2.5.5",
34
34
  "@smithy/node-config-provider": "^3.1.12",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-ssec",
3
- "version": "3.713.0",
3
+ "version": "3.714.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-ssec",
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@aws-sdk/types": "3.713.0",
26
+ "@aws-sdk/types": "3.714.0",
27
27
  "@smithy/types": "^3.7.2",
28
28
  "tslib": "^2.6.2"
29
29
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-user-agent",
3
- "version": "3.713.0",
3
+ "version": "3.714.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-user-agent",
@@ -24,9 +24,9 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/core": "3.713.0",
28
- "@aws-sdk/types": "3.713.0",
29
- "@aws-sdk/util-endpoints": "3.713.0",
27
+ "@aws-sdk/core": "3.714.0",
28
+ "@aws-sdk/types": "3.714.0",
29
+ "@aws-sdk/util-endpoints": "3.714.0",
30
30
  "@smithy/core": "^2.5.5",
31
31
  "@smithy/protocol-http": "^4.1.8",
32
32
  "@smithy/types": "^3.7.2",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/region-config-resolver",
3
- "version": "3.713.0",
3
+ "version": "3.714.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 region-config-resolver",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@aws-sdk/types": "3.713.0",
25
+ "@aws-sdk/types": "3.714.0",
26
26
  "@smithy/node-config-provider": "^3.1.12",
27
27
  "@smithy/types": "^3.7.2",
28
28
  "@smithy/util-config-provider": "^3.0.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/signature-v4-multi-region",
3
- "version": "3.713.0",
3
+ "version": "3.714.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 signature-v4-multi-region",
@@ -21,8 +21,8 @@
21
21
  },
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
- "@aws-sdk/middleware-sdk-s3": "3.713.0",
25
- "@aws-sdk/types": "3.713.0",
24
+ "@aws-sdk/middleware-sdk-s3": "3.714.0",
25
+ "@aws-sdk/types": "3.714.0",
26
26
  "@smithy/protocol-http": "^4.1.8",
27
27
  "@smithy/signature-v4": "^4.2.4",
28
28
  "@smithy/types": "^3.7.2",
@@ -103,20 +103,20 @@ var writeSSOTokenToFile = /* @__PURE__ */ __name((id, ssoToken) => {
103
103
 
104
104
  // src/fromSso.ts
105
105
  var lastRefreshAttemptTime = /* @__PURE__ */ new Date(0);
106
- var fromSso = /* @__PURE__ */ __name((_init = {}) => async (awsIdentityProperties) => {
107
- var _a, _b, _c;
106
+ var fromSso = /* @__PURE__ */ __name((_init = {}) => async ({ callerClientConfig } = {}) => {
107
+ var _a;
108
108
  const init = {
109
109
  ..._init,
110
- ...((_a = awsIdentityProperties == null ? void 0 : awsIdentityProperties.callerClientConfig) == null ? void 0 : _a.region) ? {
111
- parentClientConfig: {
112
- region: (_b = awsIdentityProperties == null ? void 0 : awsIdentityProperties.callerClientConfig) == null ? void 0 : _b.region,
113
- ..._init.parentClientConfig
114
- }
115
- } : {}
110
+ parentClientConfig: {
111
+ ...callerClientConfig,
112
+ ..._init.parentClientConfig
113
+ }
116
114
  };
117
- (_c = init.logger) == null ? void 0 : _c.debug("@aws-sdk/token-providers - fromSso");
115
+ (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/token-providers - fromSso");
118
116
  const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);
119
- const profileName = (0, import_shared_ini_file_loader.getProfileName)(init);
117
+ const profileName = (0, import_shared_ini_file_loader.getProfileName)({
118
+ profile: init.profile ?? (callerClientConfig == null ? void 0 : callerClientConfig.profile)
119
+ });
120
120
  const profile = profiles[profileName];
121
121
  if (!profile) {
122
122
  throw new import_property_provider.TokenProviderError(`Profile '${profileName}' could not be found in shared credentials file.`, false);
@@ -6,21 +6,19 @@ import { validateTokenExpiry } from "./validateTokenExpiry";
6
6
  import { validateTokenKey } from "./validateTokenKey";
7
7
  import { writeSSOTokenToFile } from "./writeSSOTokenToFile";
8
8
  const lastRefreshAttemptTime = new Date(0);
9
- export const fromSso = (_init = {}) => async (awsIdentityProperties) => {
9
+ export const fromSso = (_init = {}) => async ({ callerClientConfig } = {}) => {
10
10
  const init = {
11
11
  ..._init,
12
- ...(awsIdentityProperties?.callerClientConfig?.region
13
- ? {
14
- parentClientConfig: {
15
- region: awsIdentityProperties?.callerClientConfig?.region,
16
- ..._init.parentClientConfig,
17
- },
18
- }
19
- : {}),
12
+ parentClientConfig: {
13
+ ...callerClientConfig,
14
+ ..._init.parentClientConfig,
15
+ },
20
16
  };
21
17
  init.logger?.debug("@aws-sdk/token-providers - fromSso");
22
18
  const profiles = await parseKnownFiles(init);
23
- const profileName = getProfileName(init);
19
+ const profileName = getProfileName({
20
+ profile: init.profile ?? callerClientConfig?.profile,
21
+ });
24
22
  const profile = profiles[profileName];
25
23
  if (!profile) {
26
24
  throw new TokenProviderError(`Profile '${profileName}' could not be found in shared credentials file.`, false);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.713.0",
3
+ "version": "3.714.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@aws-sdk/types": "3.713.0",
30
+ "@aws-sdk/types": "3.714.0",
31
31
  "@smithy/property-provider": "^3.1.11",
32
32
  "@smithy/shared-ini-file-loader": "^3.1.12",
33
33
  "@smithy/types": "^3.7.2",
@@ -42,7 +42,7 @@
42
42
  "typescript": "~4.9.5"
43
43
  },
44
44
  "peerDependencies": {
45
- "@aws-sdk/client-sso-oidc": "^3.713.0"
45
+ "@aws-sdk/client-sso-oidc": "^3.714.0"
46
46
  },
47
47
  "types": "./dist-types/index.d.ts",
48
48
  "engines": {
@@ -44,6 +44,7 @@ export type CredentialProviderOptions = {
44
44
  */
45
45
  parentClientConfig?: {
46
46
  region?: string | Provider<string>;
47
+ profile?: string;
47
48
  [key: string]: unknown;
48
49
  };
49
50
  };
@@ -7,6 +7,7 @@ export { AwsCredentialIdentity, AwsCredentialIdentityProvider, IdentityProvider
7
7
  export interface AwsIdentityProperties {
8
8
  callerClientConfig?: {
9
9
  region(): Promise<string>;
10
+ profile?: string;
10
11
  };
11
12
  }
12
13
  /**
@@ -7,6 +7,7 @@ export type CredentialProviderOptions = {
7
7
  logger?: Logger;
8
8
  parentClientConfig?: {
9
9
  region?: string | Provider<string>;
10
+ profile?: string;
10
11
  [key: string]: unknown;
11
12
  };
12
13
  };
@@ -8,6 +8,7 @@ export {
8
8
  export interface AwsIdentityProperties {
9
9
  callerClientConfig?: {
10
10
  region(): Promise<string>;
11
+ profile?: string;
11
12
  };
12
13
  }
13
14
  export type RuntimeConfigIdentityProvider<T> = (
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/types",
3
- "version": "3.713.0",
3
+ "version": "3.714.0",
4
4
  "main": "./dist-cjs/index.js",
5
5
  "module": "./dist-es/index.js",
6
6
  "types": "./dist-types/index.d.ts",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-endpoints",
3
- "version": "3.713.0",
3
+ "version": "3.714.0",
4
4
  "description": "Utilities to help with endpoint resolution",
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/types": "3.713.0",
27
+ "@aws-sdk/types": "3.714.0",
28
28
  "@smithy/types": "^3.7.2",
29
29
  "@smithy/util-endpoints": "^2.1.7",
30
30
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-browser",
3
- "version": "3.713.0",
3
+ "version": "3.714.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 util-user-agent-browser",
@@ -23,7 +23,7 @@
23
23
  "license": "Apache-2.0",
24
24
  "react-native": "dist-es/index.native.js",
25
25
  "dependencies": {
26
- "@aws-sdk/types": "3.713.0",
26
+ "@aws-sdk/types": "3.714.0",
27
27
  "@smithy/types": "^3.7.2",
28
28
  "bowser": "^2.11.0",
29
29
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-node",
3
- "version": "3.713.0",
3
+ "version": "3.714.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 util-user-agent-node",
@@ -21,8 +21,8 @@
21
21
  },
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
- "@aws-sdk/middleware-user-agent": "3.713.0",
25
- "@aws-sdk/types": "3.713.0",
24
+ "@aws-sdk/middleware-user-agent": "3.714.0",
25
+ "@aws-sdk/types": "3.714.0",
26
26
  "@smithy/node-config-provider": "^3.1.12",
27
27
  "@smithy/types": "^3.7.2",
28
28
  "tslib": "^2.6.2"
package/package.json CHANGED
@@ -56,7 +56,7 @@
56
56
  "@typescript-eslint/eslint-plugin": "^8",
57
57
  "@typescript-eslint/parser": "^8",
58
58
  "aws-cdk-lib": "2.90.0",
59
- "cdk-assets": "^2.155.64",
59
+ "cdk-assets": "^2.155.65",
60
60
  "commit-and-tag-version": "^12",
61
61
  "constructs": "10.0.5",
62
62
  "eslint": "^9",
@@ -81,11 +81,11 @@
81
81
  "constructs": "^10.0.5"
82
82
  },
83
83
  "dependencies": {
84
- "@aws-sdk/client-cloudwatch-logs": "^3.713.0",
85
- "@aws-sdk/client-route-53": "^3.713.0",
86
- "@aws-sdk/client-s3": "^3.713.0",
87
- "@aws-sdk/client-ses": "^3.713.0",
88
- "@aws-sdk/client-ssm": "^3.713.0",
84
+ "@aws-sdk/client-cloudwatch-logs": "^3.714.0",
85
+ "@aws-sdk/client-route-53": "^3.714.0",
86
+ "@aws-sdk/client-s3": "^3.714.0",
87
+ "@aws-sdk/client-ses": "^3.714.0",
88
+ "@aws-sdk/client-ssm": "^3.714.0",
89
89
  "async-retry": "^1.3.3",
90
90
  "axios": "^1.7.9",
91
91
  "cdk-nag": "^2.34.23",
@@ -116,7 +116,7 @@
116
116
  "publishConfig": {
117
117
  "access": "public"
118
118
  },
119
- "version": "0.0.238",
119
+ "version": "0.0.239",
120
120
  "jest": {
121
121
  "coverageProvider": "v8",
122
122
  "testMatch": [