@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
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
31
31
  utf8Encoder: (input: string | Uint8Array) => string;
32
32
  disableHostPrefix: boolean;
33
33
  serviceId: string;
34
+ profile?: string | undefined;
34
35
  getAwsChunkedEncodingStream: import("@smithy/types").GetAwsChunkedEncodingStream<any> | import("@smithy/types").GetAwsChunkedEncodingStream<import("stream").Readable>;
35
36
  logger: import("@smithy/types").Logger;
36
37
  extensions: import("./runtimeExtensions").RuntimeExtension[];
@@ -38,6 +38,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
38
38
  utf8Encoder: (input: string | Uint8Array) => string;
39
39
  disableHostPrefix: boolean;
40
40
  serviceId: string;
41
+ profile?: string | undefined;
41
42
  getAwsChunkedEncodingStream: import("@aws-sdk/types").GetAwsChunkedEncodingStream<any> | import("@aws-sdk/types").GetAwsChunkedEncodingStream<import("stream").Readable>;
42
43
  logger: import("@aws-sdk/types").Logger;
43
44
  extensions: import("./runtimeExtensions").RuntimeExtension[];
@@ -21,6 +21,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
21
21
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
22
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
23
  region: string | import("@smithy/types").Provider<any>;
24
+ profile?: string | undefined;
24
25
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
26
  streamHasher: import("@smithy/types").StreamHasher<import("stream").Readable> | import("@smithy/types").StreamHasher<Blob>;
26
27
  md5: import("@smithy/types").HashConstructor;
@@ -673,6 +673,7 @@ export interface ClientDefaults
673
673
  useDualstackEndpoint?: boolean | __Provider<boolean>;
674
674
  useFipsEndpoint?: boolean | __Provider<boolean>;
675
675
  region?: string | __Provider<string>;
676
+ profile?: string;
676
677
  defaultUserAgentProvider?: Provider<__UserAgent>;
677
678
  streamHasher?: __StreamHasher<Readable> | __StreamHasher<Blob>;
678
679
  md5?: __ChecksumConstructor | __HashConstructor;
@@ -39,6 +39,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
39
39
  utf8Encoder: (input: string | Uint8Array) => string;
40
40
  disableHostPrefix: boolean;
41
41
  serviceId: string;
42
+ profile?: string | undefined;
42
43
  getAwsChunkedEncodingStream:
43
44
  | import("@smithy/types").GetAwsChunkedEncodingStream<any>
44
45
  | import("@smithy/types").GetAwsChunkedEncodingStream<
@@ -64,6 +64,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
64
64
  utf8Encoder: (input: string | Uint8Array) => string;
65
65
  disableHostPrefix: boolean;
66
66
  serviceId: string;
67
+ profile?: string | undefined;
67
68
  getAwsChunkedEncodingStream:
68
69
  | import("@aws-sdk/types").GetAwsChunkedEncodingStream<any>
69
70
  | import("@aws-sdk/types").GetAwsChunkedEncodingStream<
@@ -22,6 +22,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
22
22
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
23
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
24
  region: string | import("@smithy/types").Provider<any>;
25
+ profile?: string | undefined;
25
26
  defaultUserAgentProvider: (
26
27
  config?:
27
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-s3",
3
3
  "description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
4
- "version": "3.713.0",
4
+ "version": "3.714.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-s3",
@@ -27,26 +27,26 @@
27
27
  "@aws-crypto/sha1-browser": "5.2.0",
28
28
  "@aws-crypto/sha256-browser": "5.2.0",
29
29
  "@aws-crypto/sha256-js": "5.2.0",
30
- "@aws-sdk/client-sso-oidc": "3.713.0",
31
- "@aws-sdk/client-sts": "3.713.0",
32
- "@aws-sdk/core": "3.713.0",
33
- "@aws-sdk/credential-provider-node": "3.713.0",
34
- "@aws-sdk/middleware-bucket-endpoint": "3.713.0",
35
- "@aws-sdk/middleware-expect-continue": "3.713.0",
36
- "@aws-sdk/middleware-flexible-checksums": "3.713.0",
37
- "@aws-sdk/middleware-host-header": "3.713.0",
38
- "@aws-sdk/middleware-location-constraint": "3.713.0",
39
- "@aws-sdk/middleware-logger": "3.713.0",
40
- "@aws-sdk/middleware-recursion-detection": "3.713.0",
41
- "@aws-sdk/middleware-sdk-s3": "3.713.0",
42
- "@aws-sdk/middleware-ssec": "3.713.0",
43
- "@aws-sdk/middleware-user-agent": "3.713.0",
44
- "@aws-sdk/region-config-resolver": "3.713.0",
45
- "@aws-sdk/signature-v4-multi-region": "3.713.0",
46
- "@aws-sdk/types": "3.713.0",
47
- "@aws-sdk/util-endpoints": "3.713.0",
48
- "@aws-sdk/util-user-agent-browser": "3.713.0",
49
- "@aws-sdk/util-user-agent-node": "3.713.0",
30
+ "@aws-sdk/client-sso-oidc": "3.714.0",
31
+ "@aws-sdk/client-sts": "3.714.0",
32
+ "@aws-sdk/core": "3.714.0",
33
+ "@aws-sdk/credential-provider-node": "3.714.0",
34
+ "@aws-sdk/middleware-bucket-endpoint": "3.714.0",
35
+ "@aws-sdk/middleware-expect-continue": "3.714.0",
36
+ "@aws-sdk/middleware-flexible-checksums": "3.714.0",
37
+ "@aws-sdk/middleware-host-header": "3.714.0",
38
+ "@aws-sdk/middleware-location-constraint": "3.714.0",
39
+ "@aws-sdk/middleware-logger": "3.714.0",
40
+ "@aws-sdk/middleware-recursion-detection": "3.714.0",
41
+ "@aws-sdk/middleware-sdk-s3": "3.714.0",
42
+ "@aws-sdk/middleware-ssec": "3.714.0",
43
+ "@aws-sdk/middleware-user-agent": "3.714.0",
44
+ "@aws-sdk/region-config-resolver": "3.714.0",
45
+ "@aws-sdk/signature-v4-multi-region": "3.714.0",
46
+ "@aws-sdk/types": "3.714.0",
47
+ "@aws-sdk/util-endpoints": "3.714.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.714.0",
49
+ "@aws-sdk/util-user-agent-node": "3.714.0",
50
50
  "@aws-sdk/xml-builder": "3.709.0",
51
51
  "@smithy/config-resolver": "^3.0.13",
52
52
  "@smithy/core": "^2.5.5",
@@ -84,7 +84,7 @@
84
84
  "tslib": "^2.6.2"
85
85
  },
86
86
  "devDependencies": {
87
- "@aws-sdk/signature-v4-crt": "3.713.0",
87
+ "@aws-sdk/signature-v4-crt": "3.714.0",
88
88
  "@tsconfig/node16": "16.1.3",
89
89
  "@types/node": "^16.18.96",
90
90
  "concurrently": "7.0.0",
@@ -23,6 +23,7 @@ const getRuntimeConfig = (config) => {
23
23
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
24
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
25
25
  (0, core_1.emitWarningIfUnsupportedVersion)(process.version);
26
+ const profileConfig = { profile: config?.profile };
26
27
  return {
27
28
  ...clientSharedValues,
28
29
  ...config,
@@ -32,19 +33,20 @@ const getRuntimeConfig = (config) => {
32
33
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
33
34
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
34
35
  (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
- maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
- region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
36
+ maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
37
+ region: config?.region ??
38
+ (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
37
39
  requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
38
40
  retryMode: config?.retryMode ??
39
41
  (0, node_config_provider_1.loadConfig)({
40
42
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
41
43
  default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
42
- }),
44
+ }, config),
43
45
  sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
44
46
  streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
45
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
46
- useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
47
- userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS),
47
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
48
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
49
+ userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
48
50
  };
49
51
  };
50
52
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -19,6 +19,7 @@ export const getRuntimeConfig = (config) => {
19
19
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
20
20
  const clientSharedValues = getSharedRuntimeConfig(config);
21
21
  awsCheckVersion(process.version);
22
+ const profileConfig = { profile: config?.profile };
22
23
  return {
23
24
  ...clientSharedValues,
24
25
  ...config,
@@ -28,18 +29,19 @@ export const getRuntimeConfig = (config) => {
28
29
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
29
30
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
30
31
  createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
31
- maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
32
- region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
32
+ maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
33
+ region: config?.region ??
34
+ loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
33
35
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
34
36
  retryMode: config?.retryMode ??
35
37
  loadNodeConfig({
36
38
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
37
39
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
38
- }),
40
+ }, config),
39
41
  sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
40
42
  streamCollector: config?.streamCollector ?? streamCollector,
41
- useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
42
- useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
43
- userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS),
43
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
44
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
45
+ userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
44
46
  };
45
47
  };
@@ -165,6 +165,24 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
165
165
  * The AWS region to which this client will send requests
166
166
  */
167
167
  region?: string | __Provider<string>;
168
+ /**
169
+ * Setting a client profile is similar to setting a value for the
170
+ * AWS_PROFILE environment variable. Setting a profile on a client
171
+ * in code only affects the single client instance, unlike AWS_PROFILE.
172
+ *
173
+ * When set, and only for environments where an AWS configuration
174
+ * file exists, fields configurable by this file will be retrieved
175
+ * from the specified profile within that file.
176
+ * Conflicting code configuration and environment variables will
177
+ * still have higher priority.
178
+ *
179
+ * For client credential resolution that involves checking the AWS
180
+ * configuration file, the client's profile (this value) will be
181
+ * used unless a different profile is set in the credential
182
+ * provider options.
183
+ *
184
+ */
185
+ profile?: string;
168
186
  /**
169
187
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
170
188
  * @internal
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: SESClientConfig) => {
26
26
  utf8Encoder: (input: string | Uint8Array) => string;
27
27
  disableHostPrefix: boolean;
28
28
  serviceId: string;
29
+ profile?: string | undefined;
29
30
  logger: import("@smithy/types").Logger;
30
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
31
32
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: SESClientConfig) => {
27
27
  utf8Encoder: (input: string | Uint8Array) => string;
28
28
  disableHostPrefix: boolean;
29
29
  serviceId: string;
30
+ profile?: string | undefined;
30
31
  logger: import("@smithy/types").Logger;
31
32
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -20,6 +20,7 @@ export declare const getRuntimeConfig: (config: SESClientConfig) => {
20
20
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
22
  region: string | import("@smithy/types").Provider<any>;
23
+ profile?: string | undefined;
23
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
24
25
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
@@ -497,6 +497,7 @@ export interface ClientDefaults
497
497
  useDualstackEndpoint?: boolean | __Provider<boolean>;
498
498
  useFipsEndpoint?: boolean | __Provider<boolean>;
499
499
  region?: string | __Provider<string>;
500
+ profile?: string;
500
501
  defaultUserAgentProvider?: Provider<__UserAgent>;
501
502
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
502
503
  maxAttempts?: number | __Provider<number>;
@@ -33,6 +33,7 @@ export declare const getRuntimeConfig: (config: SESClientConfig) => {
33
33
  utf8Encoder: (input: string | Uint8Array) => string;
34
34
  disableHostPrefix: boolean;
35
35
  serviceId: string;
36
+ profile?: string | undefined;
36
37
  logger: import("@smithy/types").Logger;
37
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
38
39
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -38,6 +38,7 @@ export declare const getRuntimeConfig: (config: SESClientConfig) => {
38
38
  utf8Encoder: (input: string | Uint8Array) => string;
39
39
  disableHostPrefix: boolean;
40
40
  serviceId: string;
41
+ profile?: string | undefined;
41
42
  logger: import("@smithy/types").Logger;
42
43
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
44
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -22,6 +22,7 @@ export declare const getRuntimeConfig: (config: SESClientConfig) => {
22
22
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
23
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
24
  region: string | import("@smithy/types").Provider<any>;
25
+ profile?: string | undefined;
25
26
  defaultUserAgentProvider: (
26
27
  config?:
27
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ses",
3
3
  "description": "AWS SDK for JavaScript Ses Client for Node.js, Browser and React Native",
4
- "version": "3.713.0",
4
+ "version": "3.714.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-ses",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.713.0",
24
- "@aws-sdk/client-sts": "3.713.0",
25
- "@aws-sdk/core": "3.713.0",
26
- "@aws-sdk/credential-provider-node": "3.713.0",
27
- "@aws-sdk/middleware-host-header": "3.713.0",
28
- "@aws-sdk/middleware-logger": "3.713.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.713.0",
30
- "@aws-sdk/middleware-user-agent": "3.713.0",
31
- "@aws-sdk/region-config-resolver": "3.713.0",
32
- "@aws-sdk/types": "3.713.0",
33
- "@aws-sdk/util-endpoints": "3.713.0",
34
- "@aws-sdk/util-user-agent-browser": "3.713.0",
35
- "@aws-sdk/util-user-agent-node": "3.713.0",
23
+ "@aws-sdk/client-sso-oidc": "3.714.0",
24
+ "@aws-sdk/client-sts": "3.714.0",
25
+ "@aws-sdk/core": "3.714.0",
26
+ "@aws-sdk/credential-provider-node": "3.714.0",
27
+ "@aws-sdk/middleware-host-header": "3.714.0",
28
+ "@aws-sdk/middleware-logger": "3.714.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
+ "@aws-sdk/middleware-user-agent": "3.714.0",
31
+ "@aws-sdk/region-config-resolver": "3.714.0",
32
+ "@aws-sdk/types": "3.714.0",
33
+ "@aws-sdk/util-endpoints": "3.714.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.714.0",
35
+ "@aws-sdk/util-user-agent-node": "3.714.0",
36
36
  "@smithy/config-resolver": "^3.0.13",
37
37
  "@smithy/core": "^2.5.5",
38
38
  "@smithy/fetch-http-handler": "^4.1.2",
@@ -23,6 +23,7 @@ const getRuntimeConfig = (config) => {
23
23
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
24
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
25
25
  (0, core_1.emitWarningIfUnsupportedVersion)(process.version);
26
+ const profileConfig = { profile: config?.profile };
26
27
  return {
27
28
  ...clientSharedValues,
28
29
  ...config,
@@ -32,19 +33,20 @@ const getRuntimeConfig = (config) => {
32
33
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
33
34
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
34
35
  (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
- maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
- region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
36
+ maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
37
+ region: config?.region ??
38
+ (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
37
39
  requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
38
40
  retryMode: config?.retryMode ??
39
41
  (0, node_config_provider_1.loadConfig)({
40
42
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
41
43
  default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
42
- }),
44
+ }, config),
43
45
  sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
44
46
  streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
45
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
46
- useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
47
- userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS),
47
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
48
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
49
+ userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
48
50
  };
49
51
  };
50
52
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -19,6 +19,7 @@ export const getRuntimeConfig = (config) => {
19
19
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
20
20
  const clientSharedValues = getSharedRuntimeConfig(config);
21
21
  awsCheckVersion(process.version);
22
+ const profileConfig = { profile: config?.profile };
22
23
  return {
23
24
  ...clientSharedValues,
24
25
  ...config,
@@ -28,18 +29,19 @@ export const getRuntimeConfig = (config) => {
28
29
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
29
30
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
30
31
  createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
31
- maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
32
- region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
32
+ maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
33
+ region: config?.region ??
34
+ loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
33
35
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
34
36
  retryMode: config?.retryMode ??
35
37
  loadNodeConfig({
36
38
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
37
39
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
38
- }),
40
+ }, config),
39
41
  sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
40
42
  streamCollector: config?.streamCollector ?? streamCollector,
41
- useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
42
- useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
43
- userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS),
43
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
44
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
45
+ userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
44
46
  };
45
47
  };
@@ -238,6 +238,24 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
238
238
  * The AWS region to which this client will send requests
239
239
  */
240
240
  region?: string | __Provider<string>;
241
+ /**
242
+ * Setting a client profile is similar to setting a value for the
243
+ * AWS_PROFILE environment variable. Setting a profile on a client
244
+ * in code only affects the single client instance, unlike AWS_PROFILE.
245
+ *
246
+ * When set, and only for environments where an AWS configuration
247
+ * file exists, fields configurable by this file will be retrieved
248
+ * from the specified profile within that file.
249
+ * Conflicting code configuration and environment variables will
250
+ * still have higher priority.
251
+ *
252
+ * For client credential resolution that involves checking the AWS
253
+ * configuration file, the client's profile (this value) will be
254
+ * used unless a different profile is set in the credential
255
+ * provider options.
256
+ *
257
+ */
258
+ profile?: string;
241
259
  /**
242
260
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
243
261
  * @internal
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: SSMClientConfig) => {
26
26
  utf8Encoder: (input: string | Uint8Array) => string;
27
27
  disableHostPrefix: boolean;
28
28
  serviceId: string;
29
+ profile?: string | undefined;
29
30
  logger: import("@smithy/types").Logger;
30
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
31
32
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: SSMClientConfig) => {
27
27
  utf8Encoder: (input: string | Uint8Array) => string;
28
28
  disableHostPrefix: boolean;
29
29
  serviceId: string;
30
+ profile?: string | undefined;
30
31
  logger: import("@smithy/types").Logger;
31
32
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -20,6 +20,7 @@ export declare const getRuntimeConfig: (config: SSMClientConfig) => {
20
20
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
22
  region: string | import("@smithy/types").Provider<any>;
23
+ profile?: string | undefined;
23
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
24
25
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
@@ -935,6 +935,7 @@ export interface ClientDefaults
935
935
  useDualstackEndpoint?: boolean | __Provider<boolean>;
936
936
  useFipsEndpoint?: boolean | __Provider<boolean>;
937
937
  region?: string | __Provider<string>;
938
+ profile?: string;
938
939
  defaultUserAgentProvider?: Provider<__UserAgent>;
939
940
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
940
941
  maxAttempts?: number | __Provider<number>;
@@ -33,6 +33,7 @@ export declare const getRuntimeConfig: (config: SSMClientConfig) => {
33
33
  utf8Encoder: (input: string | Uint8Array) => string;
34
34
  disableHostPrefix: boolean;
35
35
  serviceId: string;
36
+ profile?: string | undefined;
36
37
  logger: import("@smithy/types").Logger;
37
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
38
39
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -38,6 +38,7 @@ export declare const getRuntimeConfig: (config: SSMClientConfig) => {
38
38
  utf8Encoder: (input: string | Uint8Array) => string;
39
39
  disableHostPrefix: boolean;
40
40
  serviceId: string;
41
+ profile?: string | undefined;
41
42
  logger: import("@smithy/types").Logger;
42
43
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
44
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -22,6 +22,7 @@ export declare const getRuntimeConfig: (config: SSMClientConfig) => {
22
22
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
23
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
24
  region: string | import("@smithy/types").Provider<any>;
25
+ profile?: string | undefined;
25
26
  defaultUserAgentProvider: (
26
27
  config?:
27
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ssm",
3
3
  "description": "AWS SDK for JavaScript Ssm Client for Node.js, Browser and React Native",
4
- "version": "3.713.0",
4
+ "version": "3.714.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-ssm",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.713.0",
24
- "@aws-sdk/client-sts": "3.713.0",
25
- "@aws-sdk/core": "3.713.0",
26
- "@aws-sdk/credential-provider-node": "3.713.0",
27
- "@aws-sdk/middleware-host-header": "3.713.0",
28
- "@aws-sdk/middleware-logger": "3.713.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.713.0",
30
- "@aws-sdk/middleware-user-agent": "3.713.0",
31
- "@aws-sdk/region-config-resolver": "3.713.0",
32
- "@aws-sdk/types": "3.713.0",
33
- "@aws-sdk/util-endpoints": "3.713.0",
34
- "@aws-sdk/util-user-agent-browser": "3.713.0",
35
- "@aws-sdk/util-user-agent-node": "3.713.0",
23
+ "@aws-sdk/client-sso-oidc": "3.714.0",
24
+ "@aws-sdk/client-sts": "3.714.0",
25
+ "@aws-sdk/core": "3.714.0",
26
+ "@aws-sdk/credential-provider-node": "3.714.0",
27
+ "@aws-sdk/middleware-host-header": "3.714.0",
28
+ "@aws-sdk/middleware-logger": "3.714.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
+ "@aws-sdk/middleware-user-agent": "3.714.0",
31
+ "@aws-sdk/region-config-resolver": "3.714.0",
32
+ "@aws-sdk/types": "3.714.0",
33
+ "@aws-sdk/util-endpoints": "3.714.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.714.0",
35
+ "@aws-sdk/util-user-agent-node": "3.714.0",
36
36
  "@smithy/config-resolver": "^3.0.13",
37
37
  "@smithy/core": "^2.5.5",
38
38
  "@smithy/fetch-http-handler": "^4.1.2",
@@ -22,6 +22,7 @@ const getRuntimeConfig = (config) => {
22
22
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
23
23
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
24
24
  (0, core_1.emitWarningIfUnsupportedVersion)(process.version);
25
+ const profileConfig = { profile: config?.profile };
25
26
  return {
26
27
  ...clientSharedValues,
27
28
  ...config,
@@ -30,19 +31,20 @@ const getRuntimeConfig = (config) => {
30
31
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
31
32
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
32
33
  (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
33
- maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
34
- region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
34
+ maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
35
+ region: config?.region ??
36
+ (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
35
37
  requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
36
38
  retryMode: config?.retryMode ??
37
39
  (0, node_config_provider_1.loadConfig)({
38
40
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
39
41
  default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
40
- }),
42
+ }, config),
41
43
  sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
42
44
  streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
43
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
44
- useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
45
- userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS),
45
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
46
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
47
+ userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
46
48
  };
47
49
  };
48
50
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -18,6 +18,7 @@ export const getRuntimeConfig = (config) => {
18
18
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
19
19
  const clientSharedValues = getSharedRuntimeConfig(config);
20
20
  awsCheckVersion(process.version);
21
+ const profileConfig = { profile: config?.profile };
21
22
  return {
22
23
  ...clientSharedValues,
23
24
  ...config,
@@ -26,18 +27,19 @@ export const getRuntimeConfig = (config) => {
26
27
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
27
28
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
28
29
  createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
29
- maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
30
- region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
30
+ maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
31
+ region: config?.region ??
32
+ loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
31
33
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
32
34
  retryMode: config?.retryMode ??
33
35
  loadNodeConfig({
34
36
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
35
37
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
36
- }),
38
+ }, config),
37
39
  sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
38
40
  streamCollector: config?.streamCollector ?? streamCollector,
39
- useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
40
- useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
41
- userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS),
41
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
42
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
43
+ userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
42
44
  };
43
45
  };