@mavogel/awscdk-rootmail 0.0.311 → 0.0.313

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 (201) hide show
  1. package/.jsii +2 -2
  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 +15 -1
  5. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/models/models_0.js +10 -0
  6. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/protocols/Aws_json1_1.js +1 -1
  7. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetTransformerCommand.d.ts +5 -0
  8. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutLogEventsCommand.d.ts +10 -11
  9. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutTransformerCommand.d.ts +5 -0
  10. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/TestTransformerCommand.d.ts +5 -0
  11. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/endpoint/EndpointParameters.d.ts +8 -8
  12. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/models_0.d.ts +60 -2
  13. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.browser.d.ts +2 -2
  14. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.native.d.ts +2 -2
  15. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +11 -8
  16. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/models_0.d.ts +18 -0
  17. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
  18. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
  19. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +12 -12
  20. package/node_modules/@aws-sdk/client-route-53/dist-types/endpoint/EndpointParameters.d.ts +8 -8
  21. package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.browser.d.ts +2 -2
  22. package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.native.d.ts +2 -2
  23. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +11 -8
  24. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
  25. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
  26. package/node_modules/@aws-sdk/client-route-53/package.json +12 -12
  27. package/node_modules/@aws-sdk/client-s3/README.md +8 -0
  28. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +141 -25
  29. package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +1 -1
  30. package/node_modules/@aws-sdk/client-s3/dist-es/S3.js +2 -0
  31. package/node_modules/@aws-sdk/client-s3/dist-es/commands/RenameObjectCommand.js +28 -0
  32. package/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +1 -0
  33. package/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +12 -0
  34. package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +89 -17
  35. package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +1 -1
  36. package/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +7 -0
  37. package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +5 -4
  38. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +9 -1
  39. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +16 -1
  40. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +9 -1
  41. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
  42. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +8 -1
  43. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
  44. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +8 -1
  45. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +12 -0
  46. package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +1 -0
  47. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +1 -0
  48. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +8 -1
  49. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +8 -1
  50. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +8 -1
  51. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +8 -1
  52. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +8 -1
  53. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +13 -2
  54. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
  55. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +13 -2
  56. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +4 -1
  57. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +9 -1
  58. package/node_modules/@aws-sdk/client-s3/dist-types/commands/RenameObjectCommand.d.ts +142 -0
  59. package/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +1 -0
  60. package/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +27 -27
  61. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +41 -9
  62. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +123 -0
  63. package/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +9 -0
  64. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +8 -8
  65. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +6 -6
  66. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +8 -8
  67. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +1 -1
  68. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +17 -0
  69. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +7 -1
  70. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +47 -0
  71. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +1 -0
  72. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +36 -27
  73. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +4 -0
  74. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +23 -0
  75. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +12 -0
  76. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +20 -8
  77. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +14 -6
  78. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
  79. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -1
  80. package/node_modules/@aws-sdk/client-s3/package.json +20 -18
  81. package/node_modules/@aws-sdk/client-ses/dist-types/endpoint/EndpointParameters.d.ts +8 -8
  82. package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.browser.d.ts +2 -2
  83. package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.native.d.ts +2 -2
  84. package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +11 -8
  85. package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
  86. package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
  87. package/node_modules/@aws-sdk/client-ses/package.json +12 -12
  88. package/node_modules/@aws-sdk/client-ssm/dist-types/endpoint/EndpointParameters.d.ts +8 -8
  89. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +2 -2
  90. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +2 -2
  91. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +11 -8
  92. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
  93. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
  94. package/node_modules/@aws-sdk/client-ssm/package.json +12 -12
  95. package/node_modules/@aws-sdk/client-sso/dist-types/endpoint/EndpointParameters.d.ts +8 -8
  96. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +2 -2
  97. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +2 -2
  98. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +11 -8
  99. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
  100. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
  101. package/node_modules/@aws-sdk/client-sso/package.json +11 -11
  102. package/node_modules/@aws-sdk/core/package.json +2 -2
  103. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  104. package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
  105. package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
  106. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  107. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  108. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  109. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  110. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js +7 -36
  111. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/NodeUseArnRegionConfigOptions.js +1 -1
  112. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/bucketHostname.js +1 -19
  113. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/bucketHostnameUtils.js +2 -23
  114. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/configurations.js +1 -1
  115. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/NodeUseArnRegionConfigOptions.d.ts +2 -2
  116. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/bucketEndpointMiddleware.d.ts +12 -0
  117. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/bucketHostname.d.ts +8 -0
  118. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/bucketHostnameUtils.d.ts +59 -3
  119. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/configurations.d.ts +13 -1
  120. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/NodeUseArnRegionConfigOptions.d.ts +3 -1
  121. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/configurations.d.ts +1 -1
  122. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +1 -1
  123. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +2 -2
  124. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +3 -3
  125. package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
  126. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +8 -8
  127. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +2 -2
  128. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +2 -2
  129. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/EndpointParameters.d.ts +10 -10
  130. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +3 -3
  131. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -1
  132. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +3 -3
  133. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +11 -8
  134. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +4 -2
  135. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +4 -2
  136. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/EndpointParameters.d.ts +13 -10
  137. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +8 -3
  138. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +4 -1
  139. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +8 -3
  140. package/node_modules/@aws-sdk/nested-clients/package.json +11 -11
  141. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
  142. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  143. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +3 -0
  144. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +3 -0
  145. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +3 -0
  146. package/node_modules/@aws-sdk/util-endpoints/package.json +1 -1
  147. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  148. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +16 -1
  149. package/node_modules/@smithy/middleware-endpoint/dist-cjs/resolveEndpointRequiredConfig.js +1 -0
  150. package/node_modules/@smithy/middleware-endpoint/dist-es/index.js +1 -0
  151. package/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointRequiredConfig.js +9 -0
  152. package/node_modules/@smithy/middleware-endpoint/dist-types/index.d.ts +1 -0
  153. package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointRequiredConfig.d.ts +32 -0
  154. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/index.d.ts +1 -0
  155. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointRequiredConfig.d.ts +32 -0
  156. package/node_modules/@smithy/middleware-endpoint/package.json +1 -1
  157. package/node_modules/@smithy/middleware-retry/package.json +4 -4
  158. package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +2 -1
  159. package/node_modules/@smithy/service-error-classification/dist-es/constants.js +1 -0
  160. package/node_modules/@smithy/service-error-classification/dist-es/index.js +2 -1
  161. package/node_modules/@smithy/service-error-classification/dist-types/constants.d.ts +4 -0
  162. package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/constants.d.ts +4 -0
  163. package/node_modules/@smithy/service-error-classification/package.json +1 -1
  164. package/node_modules/@smithy/smithy-client/package.json +2 -2
  165. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  166. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  167. package/node_modules/@smithy/util-retry/package.json +2 -2
  168. package/node_modules/axios/CHANGELOG.md +24 -0
  169. package/node_modules/axios/README.md +20 -17
  170. package/node_modules/axios/dist/axios.js +6 -3
  171. package/node_modules/axios/dist/axios.js.map +1 -1
  172. package/node_modules/axios/dist/axios.min.js +2 -2
  173. package/node_modules/axios/dist/axios.min.js.map +1 -1
  174. package/node_modules/axios/dist/browser/axios.cjs +7 -3
  175. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  176. package/node_modules/axios/dist/esm/axios.js +7 -3
  177. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  178. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  179. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  180. package/node_modules/axios/dist/node/axios.cjs +7 -3
  181. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  182. package/node_modules/axios/index.d.cts +1 -1
  183. package/node_modules/axios/index.d.ts +1 -1
  184. package/node_modules/axios/lib/adapters/fetch.js +1 -1
  185. package/node_modules/axios/lib/env/data.js +1 -1
  186. package/node_modules/axios/lib/helpers/toFormData.js +4 -0
  187. package/node_modules/axios/package.json +10 -1
  188. package/node_modules/cdk-nag/.jsii +3 -3
  189. package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
  190. package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
  191. package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
  192. package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
  193. package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
  194. package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
  195. package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
  196. package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
  197. package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
  198. package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
  199. package/node_modules/cdk-nag/lib/packs/serverless.js +1 -1
  200. package/node_modules/cdk-nag/package.json +3 -3
  201. package/package.json +1 -1
@@ -3,12 +3,12 @@ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provi
3
3
  * @public
4
4
  */
5
5
  export interface ClientInputEndpointParameters {
6
- region?: string | Provider<string>;
7
- useDualstackEndpoint?: boolean | Provider<boolean>;
8
- useFipsEndpoint?: boolean | Provider<boolean>;
6
+ region?: string | undefined | Provider<string | undefined>;
7
+ useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
8
+ useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
9
9
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
10
  }
11
- export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
11
+ export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
@@ -31,8 +31,8 @@ export declare const commonParams: {
31
31
  };
32
32
  };
33
33
  export interface EndpointParameters extends __EndpointParameters {
34
- Region?: string;
35
- UseDualStack?: boolean;
36
- UseFIPS?: boolean;
37
- Endpoint?: string;
34
+ Region?: string | undefined;
35
+ UseDualStack?: boolean | undefined;
36
+ UseFIPS?: boolean | undefined;
37
+ Endpoint?: string | undefined;
38
38
  }
@@ -14,8 +14,8 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
14
14
  retryMode: string | import("@smithy/types").Provider<string>;
15
15
  sha256: import("@smithy/types").HashConstructor;
16
16
  streamCollector: import("@smithy/types").StreamCollector;
17
- useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
18
- useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
17
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
18
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
19
  apiVersion: string;
20
20
  cacheMiddleware?: boolean | undefined;
21
21
  urlParser: import("@smithy/types").UrlParser;
@@ -17,8 +17,8 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
17
17
  utf8Encoder: (input: Uint8Array | string) => string;
18
18
  disableHostPrefix: boolean;
19
19
  serviceId: string;
20
- useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
- useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
21
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
@@ -3,13 +3,13 @@ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provi
3
3
  * @public
4
4
  */
5
5
  export interface ClientInputEndpointParameters {
6
- region?: string | Provider<string>;
7
- useDualstackEndpoint?: boolean | Provider<boolean>;
8
- useFipsEndpoint?: boolean | Provider<boolean>;
6
+ region?: string | undefined | Provider<string | undefined>;
7
+ useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
8
+ useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
9
9
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
- useGlobalEndpoint?: boolean | Provider<boolean>;
10
+ useGlobalEndpoint?: boolean | undefined | Provider<boolean | undefined>;
11
11
  }
12
- export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
12
+ export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
13
13
  defaultSigningName: string;
14
14
  };
15
15
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
@@ -36,9 +36,9 @@ export declare const commonParams: {
36
36
  };
37
37
  };
38
38
  export interface EndpointParameters extends __EndpointParameters {
39
- Region?: string;
40
- UseDualStack?: boolean;
41
- UseFIPS?: boolean;
42
- Endpoint?: string;
43
- UseGlobalEndpoint?: boolean;
39
+ Region?: string | undefined;
40
+ UseDualStack?: boolean | undefined;
41
+ UseFIPS?: boolean | undefined;
42
+ Endpoint?: string | undefined;
43
+ UseGlobalEndpoint?: boolean | undefined;
44
44
  }
@@ -15,8 +15,8 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
15
15
  retryMode: string | import("@smithy/types").Provider<string>;
16
16
  sha256: import("@smithy/types").HashConstructor;
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
- useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
- useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
18
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
20
  apiVersion: string;
21
21
  cacheMiddleware?: boolean | undefined;
22
22
  urlParser: import("@smithy/types").UrlParser;
@@ -55,5 +55,5 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
55
55
  systemClockOffset?: number;
56
56
  signingRegion?: string;
57
57
  signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
58
- useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean>;
58
+ useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
59
59
  };
@@ -53,5 +53,5 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
53
53
  systemClockOffset?: number;
54
54
  signingRegion?: string;
55
55
  signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
56
- useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean>;
56
+ useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
57
57
  };
@@ -17,8 +17,8 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
17
17
  utf8Encoder: (input: Uint8Array | string) => string;
18
18
  disableHostPrefix: boolean;
19
19
  serviceId: string;
20
- useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
- useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
21
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
@@ -54,5 +54,5 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
54
54
  systemClockOffset?: number;
55
55
  signingRegion?: string;
56
56
  signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
57
- useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean>;
57
+ useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
58
58
  };
@@ -5,9 +5,9 @@ import {
5
5
  Provider,
6
6
  } from "@smithy/types";
7
7
  export interface ClientInputEndpointParameters {
8
- region?: string | Provider<string>;
9
- useDualstackEndpoint?: boolean | Provider<boolean>;
10
- useFipsEndpoint?: boolean | Provider<boolean>;
8
+ region?: string | undefined | Provider<string | undefined>;
9
+ useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
10
+ useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
11
11
  endpoint?:
12
12
  | string
13
13
  | Provider<string>
@@ -16,7 +16,10 @@ export interface ClientInputEndpointParameters {
16
16
  | EndpointV2
17
17
  | Provider<EndpointV2>;
18
18
  }
19
- export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
19
+ export type ClientResolvedEndpointParameters = Pick<
20
+ ClientInputEndpointParameters,
21
+ Exclude<keyof ClientInputEndpointParameters, "endpoint">
22
+ > & {
20
23
  defaultSigningName: string;
21
24
  };
22
25
  export declare const resolveClientEndpointParameters: <T>(
@@ -41,8 +44,8 @@ export declare const commonParams: {
41
44
  };
42
45
  };
43
46
  export interface EndpointParameters extends __EndpointParameters {
44
- Region?: string;
45
- UseDualStack?: boolean;
46
- UseFIPS?: boolean;
47
- Endpoint?: string;
47
+ Region?: string | undefined;
48
+ UseDualStack?: boolean | undefined;
49
+ UseFIPS?: boolean | undefined;
50
+ Endpoint?: string | undefined;
48
51
  }
@@ -17,8 +17,10 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
17
17
  retryMode: string | import("@smithy/types").Provider<string>;
18
18
  sha256: import("@smithy/types").HashConstructor;
19
19
  streamCollector: import("@smithy/types").StreamCollector;
20
- useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
- useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
21
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
22
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
23
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
22
24
  apiVersion: string;
23
25
  cacheMiddleware?: boolean | undefined;
24
26
  urlParser: import("@smithy/types").UrlParser;
@@ -19,8 +19,10 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
19
19
  utf8Encoder: (input: Uint8Array | string) => string;
20
20
  disableHostPrefix: boolean;
21
21
  serviceId: string;
22
- useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
- useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
23
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
24
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
25
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
24
26
  region: string | import("@smithy/types").Provider<any>;
25
27
  profile?: string;
26
28
  defaultUserAgentProvider: (
@@ -5,9 +5,9 @@ import {
5
5
  Provider,
6
6
  } from "@smithy/types";
7
7
  export interface ClientInputEndpointParameters {
8
- region?: string | Provider<string>;
9
- useDualstackEndpoint?: boolean | Provider<boolean>;
10
- useFipsEndpoint?: boolean | Provider<boolean>;
8
+ region?: string | undefined | Provider<string | undefined>;
9
+ useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
10
+ useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
11
11
  endpoint?:
12
12
  | string
13
13
  | Provider<string>
@@ -15,9 +15,12 @@ export interface ClientInputEndpointParameters {
15
15
  | Provider<Endpoint>
16
16
  | EndpointV2
17
17
  | Provider<EndpointV2>;
18
- useGlobalEndpoint?: boolean | Provider<boolean>;
18
+ useGlobalEndpoint?: boolean | undefined | Provider<boolean | undefined>;
19
19
  }
20
- export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
20
+ export type ClientResolvedEndpointParameters = Pick<
21
+ ClientInputEndpointParameters,
22
+ Exclude<keyof ClientInputEndpointParameters, "endpoint">
23
+ > & {
21
24
  defaultSigningName: string;
22
25
  };
23
26
  export declare const resolveClientEndpointParameters: <T>(
@@ -46,9 +49,9 @@ export declare const commonParams: {
46
49
  };
47
50
  };
48
51
  export interface EndpointParameters extends __EndpointParameters {
49
- Region?: string;
50
- UseDualStack?: boolean;
51
- UseFIPS?: boolean;
52
- Endpoint?: string;
53
- UseGlobalEndpoint?: boolean;
52
+ Region?: string | undefined;
53
+ UseDualStack?: boolean | undefined;
54
+ UseFIPS?: boolean | undefined;
55
+ Endpoint?: string | undefined;
56
+ UseGlobalEndpoint?: boolean | undefined;
54
57
  }
@@ -22,8 +22,10 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
22
22
  retryMode: string | import("@smithy/types").Provider<string>;
23
23
  sha256: import("@smithy/types").HashConstructor;
24
24
  streamCollector: import("@smithy/types").StreamCollector;
25
- useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
26
- useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
25
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
26
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
27
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
28
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
27
29
  apiVersion: string;
28
30
  cacheMiddleware?: boolean | undefined;
29
31
  urlParser: import("@smithy/types").UrlParser;
@@ -112,5 +114,8 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
112
114
  options: import("@smithy/signature-v4").SignatureV4Init &
113
115
  import("@smithy/signature-v4").SignatureV4CryptoInit
114
116
  ) => import("@smithy/types").RequestSigner;
115
- useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean>;
117
+ useGlobalEndpoint?:
118
+ | boolean
119
+ | undefined
120
+ | import("@smithy/types").Provider<boolean | undefined>;
116
121
  };
@@ -96,5 +96,8 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
96
96
  options: import("@smithy/signature-v4").SignatureV4Init &
97
97
  import("@smithy/signature-v4").SignatureV4CryptoInit
98
98
  ) => import("@smithy/types").RequestSigner;
99
- useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean>;
99
+ useGlobalEndpoint?:
100
+ | boolean
101
+ | undefined
102
+ | import("@smithy/types").Provider<boolean | undefined>;
100
103
  };
@@ -19,8 +19,10 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
19
19
  utf8Encoder: (input: Uint8Array | string) => string;
20
20
  disableHostPrefix: boolean;
21
21
  serviceId: string;
22
- useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
- useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
23
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
24
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
25
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
24
26
  region: string | import("@smithy/types").Provider<any>;
25
27
  profile?: string;
26
28
  defaultUserAgentProvider: (
@@ -116,5 +118,8 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
116
118
  options: import("@smithy/signature-v4").SignatureV4Init &
117
119
  import("@smithy/signature-v4").SignatureV4CryptoInit
118
120
  ) => import("@smithy/types").RequestSigner;
119
- useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean>;
121
+ useGlobalEndpoint?:
122
+ | boolean
123
+ | undefined
124
+ | import("@smithy/types").Provider<boolean | undefined>;
120
125
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.826.0",
3
+ "version": "3.835.0",
4
4
  "description": "Nested clients for AWS SDK packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,40 +28,40 @@
28
28
  "dependencies": {
29
29
  "@aws-crypto/sha256-browser": "5.2.0",
30
30
  "@aws-crypto/sha256-js": "5.2.0",
31
- "@aws-sdk/core": "3.826.0",
31
+ "@aws-sdk/core": "3.835.0",
32
32
  "@aws-sdk/middleware-host-header": "3.821.0",
33
33
  "@aws-sdk/middleware-logger": "3.821.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.821.0",
35
- "@aws-sdk/middleware-user-agent": "3.826.0",
35
+ "@aws-sdk/middleware-user-agent": "3.835.0",
36
36
  "@aws-sdk/region-config-resolver": "3.821.0",
37
37
  "@aws-sdk/types": "3.821.0",
38
- "@aws-sdk/util-endpoints": "3.821.0",
38
+ "@aws-sdk/util-endpoints": "3.828.0",
39
39
  "@aws-sdk/util-user-agent-browser": "3.821.0",
40
- "@aws-sdk/util-user-agent-node": "3.826.0",
40
+ "@aws-sdk/util-user-agent-node": "3.835.0",
41
41
  "@smithy/config-resolver": "^4.1.4",
42
42
  "@smithy/core": "^3.5.3",
43
43
  "@smithy/fetch-http-handler": "^5.0.4",
44
44
  "@smithy/hash-node": "^4.0.4",
45
45
  "@smithy/invalid-dependency": "^4.0.4",
46
46
  "@smithy/middleware-content-length": "^4.0.4",
47
- "@smithy/middleware-endpoint": "^4.1.11",
48
- "@smithy/middleware-retry": "^4.1.12",
47
+ "@smithy/middleware-endpoint": "^4.1.12",
48
+ "@smithy/middleware-retry": "^4.1.13",
49
49
  "@smithy/middleware-serde": "^4.0.8",
50
50
  "@smithy/middleware-stack": "^4.0.4",
51
51
  "@smithy/node-config-provider": "^4.1.3",
52
52
  "@smithy/node-http-handler": "^4.0.6",
53
53
  "@smithy/protocol-http": "^5.1.2",
54
- "@smithy/smithy-client": "^4.4.3",
54
+ "@smithy/smithy-client": "^4.4.4",
55
55
  "@smithy/types": "^4.3.1",
56
56
  "@smithy/url-parser": "^4.0.4",
57
57
  "@smithy/util-base64": "^4.0.0",
58
58
  "@smithy/util-body-length-browser": "^4.0.0",
59
59
  "@smithy/util-body-length-node": "^4.0.0",
60
- "@smithy/util-defaults-mode-browser": "^4.0.19",
61
- "@smithy/util-defaults-mode-node": "^4.0.19",
60
+ "@smithy/util-defaults-mode-browser": "^4.0.20",
61
+ "@smithy/util-defaults-mode-node": "^4.0.20",
62
62
  "@smithy/util-endpoints": "^3.0.6",
63
63
  "@smithy/util-middleware": "^4.0.4",
64
- "@smithy/util-retry": "^4.0.5",
64
+ "@smithy/util-retry": "^4.0.6",
65
65
  "@smithy/util-utf8": "^4.0.0",
66
66
  "tslib": "^2.6.2"
67
67
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/signature-v4-multi-region",
3
- "version": "3.826.0",
3
+ "version": "3.835.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",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/middleware-sdk-s3": "3.826.0",
27
+ "@aws-sdk/middleware-sdk-s3": "3.835.0",
28
28
  "@aws-sdk/types": "3.821.0",
29
29
  "@smithy/protocol-http": "^5.1.2",
30
30
  "@smithy/signature-v4": "^5.1.2",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.826.0",
3
+ "version": "3.835.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -27,8 +27,8 @@
27
27
  },
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@aws-sdk/core": "3.826.0",
31
- "@aws-sdk/nested-clients": "3.826.0",
30
+ "@aws-sdk/core": "3.835.0",
31
+ "@aws-sdk/nested-clients": "3.835.0",
32
32
  "@aws-sdk/types": "3.821.0",
33
33
  "@smithy/property-provider": "^4.0.4",
34
34
  "@smithy/shared-ini-file-loader": "^4.0.4",
@@ -124,6 +124,9 @@ var partitions_default = {
124
124
  "ap-east-1": {
125
125
  description: "Asia Pacific (Hong Kong)"
126
126
  },
127
+ "ap-east-2": {
128
+ description: "Asia Pacific (Taipei)"
129
+ },
127
130
  "ap-northeast-1": {
128
131
  description: "Asia Pacific (Tokyo)"
129
132
  },
@@ -17,6 +17,9 @@
17
17
  "ap-east-1": {
18
18
  "description": "Asia Pacific (Hong Kong)"
19
19
  },
20
+ "ap-east-2": {
21
+ "description": "Asia Pacific (Taipei)"
22
+ },
20
23
  "ap-northeast-1": {
21
24
  "description": "Asia Pacific (Tokyo)"
22
25
  },
@@ -17,6 +17,9 @@
17
17
  "ap-east-1": {
18
18
  "description": "Asia Pacific (Hong Kong)"
19
19
  },
20
+ "ap-east-2": {
21
+ "description": "Asia Pacific (Taipei)"
22
+ },
20
23
  "ap-northeast-1": {
21
24
  "description": "Asia Pacific (Tokyo)"
22
25
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-endpoints",
3
- "version": "3.821.0",
3
+ "version": "3.828.0",
4
4
  "description": "Utilities to help with endpoint resolution",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-node",
3
- "version": "3.826.0",
3
+ "version": "3.835.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,7 +21,7 @@
21
21
  },
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
- "@aws-sdk/middleware-user-agent": "3.826.0",
24
+ "@aws-sdk/middleware-user-agent": "3.835.0",
25
25
  "@aws-sdk/types": "3.821.0",
26
26
  "@smithy/node-config-provider": "^4.1.3",
27
27
  "@smithy/types": "^4.3.1",
@@ -25,6 +25,7 @@ __export(src_exports, {
25
25
  getEndpointFromInstructions: () => getEndpointFromInstructions,
26
26
  getEndpointPlugin: () => getEndpointPlugin,
27
27
  resolveEndpointConfig: () => resolveEndpointConfig,
28
+ resolveEndpointRequiredConfig: () => resolveEndpointRequiredConfig,
28
29
  resolveParams: () => resolveParams,
29
30
  toEndpointV1: () => toEndpointV1
30
31
  });
@@ -265,6 +266,19 @@ var resolveEndpointConfig = /* @__PURE__ */ __name((input) => {
265
266
  };
266
267
  return resolvedConfig;
267
268
  }, "resolveEndpointConfig");
269
+
270
+ // src/resolveEndpointRequiredConfig.ts
271
+ var resolveEndpointRequiredConfig = /* @__PURE__ */ __name((input) => {
272
+ const { endpoint } = input;
273
+ if (endpoint === void 0) {
274
+ input.endpoint = async () => {
275
+ throw new Error(
276
+ "@smithy/middleware-endpoint: (default endpointRuleSet) endpoint is not set - you must configure an endpoint."
277
+ );
278
+ };
279
+ }
280
+ return input;
281
+ }, "resolveEndpointRequiredConfig");
268
282
  // Annotate the CommonJS export names for ESM import in node:
269
283
 
270
284
  0 && (module.exports = {
@@ -274,6 +288,7 @@ var resolveEndpointConfig = /* @__PURE__ */ __name((input) => {
274
288
  endpointMiddleware,
275
289
  endpointMiddlewareOptions,
276
290
  getEndpointPlugin,
277
- resolveEndpointConfig
291
+ resolveEndpointConfig,
292
+ resolveEndpointRequiredConfig
278
293
  });
279
294
 
@@ -0,0 +1 @@
1
+ module.exports = require("./index.js");
@@ -2,4 +2,5 @@ export * from "./adaptors";
2
2
  export * from "./endpointMiddleware";
3
3
  export * from "./getEndpointPlugin";
4
4
  export * from "./resolveEndpointConfig";
5
+ export * from "./resolveEndpointRequiredConfig";
5
6
  export * from "./types";
@@ -0,0 +1,9 @@
1
+ export const resolveEndpointRequiredConfig = (input) => {
2
+ const { endpoint } = input;
3
+ if (endpoint === undefined) {
4
+ input.endpoint = async () => {
5
+ throw new Error("@smithy/middleware-endpoint: (default endpointRuleSet) endpoint is not set - you must configure an endpoint.");
6
+ };
7
+ }
8
+ return input;
9
+ };
@@ -11,6 +11,7 @@ export * from "./endpointMiddleware";
11
11
  */
12
12
  export * from "./getEndpointPlugin";
13
13
  export * from "./resolveEndpointConfig";
14
+ export * from "./resolveEndpointRequiredConfig";
14
15
  /**
15
16
  * @internal
16
17
  */
@@ -0,0 +1,32 @@
1
+ import { Endpoint, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * This is an additional config resolver layer for clients using the default
4
+ * endpoints ruleset. It modifies the input and output config types to make
5
+ * the endpoint configuration property required.
6
+ *
7
+ * It must be placed after the `resolveEndpointConfig`
8
+ * resolver. This replaces the "CustomEndpoints" config resolver, which was used
9
+ * prior to default endpoint rulesets.
10
+ *
11
+ * @public
12
+ */
13
+ export interface EndpointRequiredInputConfig {
14
+ endpoint: string | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
15
+ }
16
+ /**
17
+ * @internal
18
+ */
19
+ interface PreviouslyResolved {
20
+ endpoint?: Provider<Endpoint>;
21
+ }
22
+ /**
23
+ * @internal
24
+ */
25
+ export interface EndpointRequiredResolvedConfig {
26
+ endpoint: Provider<Endpoint>;
27
+ }
28
+ /**
29
+ * @internal
30
+ */
31
+ export declare const resolveEndpointRequiredConfig: <T>(input: T & EndpointRequiredInputConfig & PreviouslyResolved) => T & EndpointRequiredResolvedConfig;
32
+ export {};
@@ -11,6 +11,7 @@ export * from "./endpointMiddleware";
11
11
  */
12
12
  export * from "./getEndpointPlugin";
13
13
  export * from "./resolveEndpointConfig";
14
+ export * from "./resolveEndpointRequiredConfig";
14
15
  /**
15
16
  * @internal
16
17
  */
@@ -0,0 +1,32 @@
1
+ import { Endpoint, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * This is an additional config resolver layer for clients using the default
4
+ * endpoints ruleset. It modifies the input and output config types to make
5
+ * the endpoint configuration property required.
6
+ *
7
+ * It must be placed after the `resolveEndpointConfig`
8
+ * resolver. This replaces the "CustomEndpoints" config resolver, which was used
9
+ * prior to default endpoint rulesets.
10
+ *
11
+ * @public
12
+ */
13
+ export interface EndpointRequiredInputConfig {
14
+ endpoint: string | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
15
+ }
16
+ /**
17
+ * @internal
18
+ */
19
+ interface PreviouslyResolved {
20
+ endpoint?: Provider<Endpoint>;
21
+ }
22
+ /**
23
+ * @internal
24
+ */
25
+ export interface EndpointRequiredResolvedConfig {
26
+ endpoint: Provider<Endpoint>;
27
+ }
28
+ /**
29
+ * @internal
30
+ */
31
+ export declare const resolveEndpointRequiredConfig: <T>(input: T & EndpointRequiredInputConfig & PreviouslyResolved) => T & EndpointRequiredResolvedConfig;
32
+ export {};
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-endpoint",
3
- "version": "4.1.11",
3
+ "version": "4.1.12",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-endpoint",