@alliander-opensource/aws-jwt-sts 0.3.3 → 0.3.4

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 (198) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/tsconfig.tsbuildinfo +1 -1
  3. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/version.d.ts +1 -1
  4. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/version.js +1 -1
  5. package/node_modules/@aws-lambda-powertools/commons/lib/esm/version.d.ts +1 -1
  6. package/node_modules/@aws-lambda-powertools/commons/lib/esm/version.js +1 -1
  7. package/node_modules/@aws-lambda-powertools/commons/package.json +1 -1
  8. package/node_modules/@aws-lambda-powertools/logger/package.json +2 -2
  9. package/node_modules/@aws-sdk/client-kms/README.md +11 -9
  10. package/node_modules/@aws-sdk/client-kms/dist-cjs/index.js +5 -0
  11. package/node_modules/@aws-sdk/client-kms/dist-es/models/models_0.js +5 -0
  12. package/node_modules/@aws-sdk/client-kms/dist-types/KMS.d.ts +11 -9
  13. package/node_modules/@aws-sdk/client-kms/dist-types/KMSClient.d.ts +11 -9
  14. package/node_modules/@aws-sdk/client-kms/dist-types/commands/CreateKeyCommand.d.ts +16 -15
  15. package/node_modules/@aws-sdk/client-kms/dist-types/commands/DecryptCommand.d.ts +1 -0
  16. package/node_modules/@aws-sdk/client-kms/dist-types/commands/DeleteImportedKeyMaterialCommand.d.ts +2 -1
  17. package/node_modules/@aws-sdk/client-kms/dist-types/commands/DescribeKeyCommand.d.ts +3 -2
  18. package/node_modules/@aws-sdk/client-kms/dist-types/commands/GenerateDataKeyCommand.d.ts +1 -0
  19. package/node_modules/@aws-sdk/client-kms/dist-types/commands/GenerateDataKeyPairCommand.d.ts +1 -0
  20. package/node_modules/@aws-sdk/client-kms/dist-types/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +1 -0
  21. package/node_modules/@aws-sdk/client-kms/dist-types/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +2 -1
  22. package/node_modules/@aws-sdk/client-kms/dist-types/commands/GetPublicKeyCommand.d.ts +2 -2
  23. package/node_modules/@aws-sdk/client-kms/dist-types/commands/ImportKeyMaterialCommand.d.ts +30 -27
  24. package/node_modules/@aws-sdk/client-kms/dist-types/commands/ListKeyRotationsCommand.d.ts +3 -3
  25. package/node_modules/@aws-sdk/client-kms/dist-types/commands/ReEncryptCommand.d.ts +5 -1
  26. package/node_modules/@aws-sdk/client-kms/dist-types/commands/ReplicateKeyCommand.d.ts +2 -2
  27. package/node_modules/@aws-sdk/client-kms/dist-types/commands/RotateKeyOnDemandCommand.d.ts +11 -11
  28. package/node_modules/@aws-sdk/client-kms/dist-types/commands/SignCommand.d.ts +10 -10
  29. package/node_modules/@aws-sdk/client-kms/dist-types/commands/UpdatePrimaryRegionCommand.d.ts +2 -1
  30. package/node_modules/@aws-sdk/client-kms/dist-types/commands/VerifyCommand.d.ts +3 -3
  31. package/node_modules/@aws-sdk/client-kms/dist-types/endpoint/EndpointParameters.d.ts +8 -8
  32. package/node_modules/@aws-sdk/client-kms/dist-types/index.d.ts +11 -9
  33. package/node_modules/@aws-sdk/client-kms/dist-types/models/models_0.d.ts +164 -108
  34. package/node_modules/@aws-sdk/client-kms/dist-types/runtimeConfig.browser.d.ts +2 -2
  35. package/node_modules/@aws-sdk/client-kms/dist-types/runtimeConfig.native.d.ts +2 -2
  36. package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +11 -8
  37. package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/models/models_0.d.ts +5 -0
  38. package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
  39. package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
  40. package/node_modules/@aws-sdk/client-kms/package.json +12 -12
  41. package/node_modules/@aws-sdk/client-s3/README.md +8 -0
  42. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +144 -25
  43. package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +1 -1
  44. package/node_modules/@aws-sdk/client-s3/dist-es/S3.js +2 -0
  45. package/node_modules/@aws-sdk/client-s3/dist-es/commands/RenameObjectCommand.js +28 -0
  46. package/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +1 -0
  47. package/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +3 -0
  48. package/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +12 -0
  49. package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +89 -17
  50. package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +1 -1
  51. package/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +7 -0
  52. package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +5 -4
  53. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +1 -1
  54. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +12 -4
  55. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +16 -1
  56. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +12 -4
  57. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +2 -2
  58. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
  59. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +8 -1
  60. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +1 -1
  61. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
  62. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +8 -1
  63. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +12 -0
  64. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +1 -1
  65. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +1 -1
  66. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +2 -2
  67. package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +3 -2
  68. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +1 -0
  69. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +8 -1
  70. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +9 -2
  71. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +8 -1
  72. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +9 -2
  73. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +1 -1
  74. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +9 -2
  75. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +13 -2
  76. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +1 -1
  77. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
  78. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +13 -2
  79. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +1 -1
  80. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +4 -1
  81. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +12 -4
  82. package/node_modules/@aws-sdk/client-s3/dist-types/commands/RenameObjectCommand.d.ts +144 -0
  83. package/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +2 -2
  84. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +1 -1
  85. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +1 -1
  86. package/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +2 -2
  87. package/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +1 -0
  88. package/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +27 -27
  89. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +80 -20
  90. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +147 -9
  91. package/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +9 -0
  92. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +8 -8
  93. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +6 -6
  94. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +8 -8
  95. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +1 -1
  96. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +17 -0
  97. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +7 -1
  98. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +47 -0
  99. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +1 -0
  100. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +36 -27
  101. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +7 -0
  102. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +23 -0
  103. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +12 -0
  104. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +20 -8
  105. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +14 -6
  106. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
  107. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -1
  108. package/node_modules/@aws-sdk/client-s3/package.json +20 -18
  109. package/node_modules/@aws-sdk/client-sso/dist-types/endpoint/EndpointParameters.d.ts +8 -8
  110. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +2 -2
  111. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +2 -2
  112. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +11 -8
  113. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
  114. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
  115. package/node_modules/@aws-sdk/client-sso/package.json +11 -11
  116. package/node_modules/@aws-sdk/core/package.json +2 -2
  117. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  118. package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
  119. package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
  120. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  121. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  122. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  123. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  124. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js +7 -36
  125. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/NodeUseArnRegionConfigOptions.js +1 -1
  126. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/bucketHostname.js +1 -19
  127. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/bucketHostnameUtils.js +2 -23
  128. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/configurations.js +1 -1
  129. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/NodeUseArnRegionConfigOptions.d.ts +2 -2
  130. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/bucketEndpointMiddleware.d.ts +12 -0
  131. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/bucketHostname.d.ts +8 -0
  132. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/bucketHostnameUtils.d.ts +59 -3
  133. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/configurations.d.ts +13 -1
  134. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/NodeUseArnRegionConfigOptions.d.ts +3 -1
  135. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/configurations.d.ts +1 -1
  136. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +1 -1
  137. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +2 -2
  138. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +3 -3
  139. package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
  140. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +8 -8
  141. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +2 -2
  142. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +2 -2
  143. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/EndpointParameters.d.ts +10 -10
  144. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +3 -3
  145. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -1
  146. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +3 -3
  147. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +11 -8
  148. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +4 -2
  149. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +4 -2
  150. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/EndpointParameters.d.ts +13 -10
  151. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +8 -3
  152. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +4 -1
  153. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +8 -3
  154. package/node_modules/@aws-sdk/nested-clients/package.json +11 -11
  155. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
  156. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  157. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +3 -0
  158. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +3 -0
  159. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +3 -0
  160. package/node_modules/@aws-sdk/util-endpoints/package.json +1 -1
  161. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  162. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +55 -8
  163. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +34 -2
  164. package/node_modules/@smithy/core/dist-es/submodules/cbor/byte-printer.js +3 -0
  165. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +24 -4
  166. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +33 -3
  167. package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +32 -2
  168. package/node_modules/@smithy/core/dist-types/submodules/cbor/byte-printer.d.ts +6 -0
  169. package/node_modules/@smithy/core/dist-types/submodules/serde/value/NumericValue.d.ts +3 -1
  170. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/byte-printer.d.ts +6 -0
  171. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts +3 -1
  172. package/node_modules/@smithy/core/package.json +1 -1
  173. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +16 -1
  174. package/node_modules/@smithy/middleware-endpoint/dist-cjs/resolveEndpointRequiredConfig.js +1 -0
  175. package/node_modules/@smithy/middleware-endpoint/dist-es/index.js +1 -0
  176. package/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointRequiredConfig.js +9 -0
  177. package/node_modules/@smithy/middleware-endpoint/dist-types/index.d.ts +1 -0
  178. package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointRequiredConfig.d.ts +32 -0
  179. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/index.d.ts +1 -0
  180. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointRequiredConfig.d.ts +32 -0
  181. package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
  182. package/node_modules/@smithy/middleware-retry/package.json +4 -4
  183. package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +2 -1
  184. package/node_modules/@smithy/service-error-classification/dist-es/constants.js +1 -0
  185. package/node_modules/@smithy/service-error-classification/dist-es/index.js +2 -1
  186. package/node_modules/@smithy/service-error-classification/dist-types/constants.d.ts +4 -0
  187. package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/constants.d.ts +4 -0
  188. package/node_modules/@smithy/service-error-classification/package.json +1 -1
  189. package/node_modules/@smithy/smithy-client/package.json +3 -3
  190. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  191. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  192. package/node_modules/@smithy/util-retry/package.json +2 -2
  193. package/node_modules/@types/uuid/LICENSE +21 -0
  194. package/node_modules/@types/uuid/README.md +15 -0
  195. package/node_modules/@types/uuid/index.d.mts +12 -0
  196. package/node_modules/@types/uuid/index.d.ts +86 -0
  197. package/node_modules/@types/uuid/package.json +54 -0
  198. package/package.json +24 -22
@@ -1,9 +1,23 @@
1
1
  import { ARN } from "@aws-sdk/util-arn-parser";
2
+ /**
3
+ * @deprecated unused as of EndpointsV2.
4
+ */
2
5
  export declare const DOT_PATTERN: RegExp;
6
+ /**
7
+ * @deprecated unused as of EndpointsV2.
8
+ */
3
9
  export declare const S3_HOSTNAME_PATTERN: RegExp;
10
+ /**
11
+ * @deprecated unused as of EndpointsV2.
12
+ * @internal
13
+ */
4
14
  export interface AccessPointArn extends ARN {
5
15
  accessPointName: string;
6
16
  }
17
+ /**
18
+ * @deprecated unused as of EndpointsV2.
19
+ * @internal
20
+ */
7
21
  export interface BucketHostnameParams {
8
22
  isCustomEndpoint?: boolean;
9
23
  baseHostname: string;
@@ -15,6 +29,10 @@ export interface BucketHostnameParams {
15
29
  pathStyleEndpoint?: boolean;
16
30
  tlsCompatible?: boolean;
17
31
  }
32
+ /**
33
+ * @deprecated unused as of EndpointsV2.
34
+ * @internal
35
+ */
18
36
  export interface ArnHostnameParams extends Omit<BucketHostnameParams, "bucketName"> {
19
37
  bucketName: ARN;
20
38
  clientSigningRegion?: string;
@@ -22,6 +40,10 @@ export interface ArnHostnameParams extends Omit<BucketHostnameParams, "bucketNam
22
40
  useArnRegion?: boolean;
23
41
  disableMultiregionAccessPoints?: boolean;
24
42
  }
43
+ /**
44
+ * @deprecated unused as of EndpointsV2.
45
+ * @internal
46
+ */
25
47
  export declare const isBucketNameOptions: (options: BucketHostnameParams | ArnHostnameParams) => options is BucketHostnameParams;
26
48
  /**
27
49
  * Determines whether a given string is DNS compliant per the rules outlined by
@@ -30,23 +52,46 @@ export declare const isBucketNameOptions: (options: BucketHostnameParams | ArnHo
30
52
  * @internal
31
53
  *
32
54
  * @see https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html
55
+ *
56
+ * @deprecated unused as of EndpointsV2.
33
57
  */
34
58
  export declare const isDnsCompatibleBucketName: (bucketName: string) => boolean;
59
+ /**
60
+ * @deprecated unused as of EndpointsV2.
61
+ * @internal
62
+ */
35
63
  export declare const getSuffix: (hostname: string) => [string, string];
36
64
  /**
37
65
  * Infer region and hostname suffix from a complete hostname
38
66
  * @internal
39
67
  * @param hostname - Hostname
40
68
  * @returns [Region, Hostname suffix]
69
+ *
70
+ * @deprecated unused as of EndpointsV2.
41
71
  */
42
72
  export declare const getSuffixForArnEndpoint: (hostname: string) => [string, string];
73
+ /**
74
+ * @deprecated unused as of EndpointsV2.
75
+ * @internal
76
+ */
43
77
  export declare const validateArnEndpointOptions: (options: {
44
78
  accelerateEndpoint?: boolean;
45
79
  tlsCompatible?: boolean;
46
80
  pathStyleEndpoint?: boolean;
47
81
  }) => void;
82
+ /**
83
+ * @deprecated unused as of EndpointsV2.
84
+ * @internal
85
+ */
48
86
  export declare const validateService: (service: string) => void;
87
+ /**
88
+ * @deprecated unused as of EndpointsV2.
89
+ * @internal
90
+ */
49
91
  export declare const validateS3Service: (service: string) => void;
92
+ /**
93
+ * @internal
94
+ */
50
95
  export declare const validateOutpostService: (service: string) => void;
51
96
  /**
52
97
  * Validate partition inferred from ARN is the same to `options.clientPartition`.
@@ -56,10 +101,14 @@ export declare const validatePartition: (partition: string, options: {
56
101
  clientPartition: string;
57
102
  }) => void;
58
103
  /**
104
+ * (Previous to deprecation)
59
105
  * validate region value inferred from ARN. If `options.useArnRegion` is set, it validates the region is not a FIPS
60
106
  * region. If `options.useArnRegion` is unset, it validates the region is equal to `options.clientRegion` or
61
107
  * `options.clientSigningRegion`.
108
+ *
62
109
  * @internal
110
+ *
111
+ * @deprecated validation is deferred to the endpoint ruleset.
63
112
  */
64
113
  export declare const validateRegion: (region: string, options: {
65
114
  useArnRegion?: boolean;
@@ -69,8 +118,7 @@ export declare const validateRegion: (region: string, options: {
69
118
  useFipsEndpoint: boolean;
70
119
  }) => void;
71
120
  /**
72
- *
73
- * @param region
121
+ * @deprecated unused as of EndpointsV2.
74
122
  */
75
123
  export declare const validateRegionalClient: (region: string) => void;
76
124
  /**
@@ -81,10 +129,14 @@ export declare const validateAccountId: (accountId: string) => void;
81
129
  /**
82
130
  * Validate a host label according to https://tools.ietf.org/html/rfc3986#section-3.2.2
83
131
  * @internal
132
+ * @deprecated unused as of EndpointsV2.
84
133
  */
85
134
  export declare const validateDNSHostLabel: (label: string, options?: {
86
135
  tlsCompatible?: boolean;
87
136
  }) => void;
137
+ /**
138
+ * @deprecated unused as of EndpointsV2.
139
+ */
88
140
  export declare const validateCustomEndpoint: (options: {
89
141
  isCustomEndpoint?: boolean;
90
142
  dualstackEndpoint?: boolean;
@@ -102,17 +154,21 @@ export declare const getArnResources: (resource: string) => {
102
154
  outpostId?: string;
103
155
  };
104
156
  /**
105
- * Throw if dual stack configuration is set to true.
157
+ * (Prior to deprecation) Throw if dual stack configuration is set to true.
106
158
  * @internal
159
+ *
160
+ * @deprecated validation deferred to endpoints ruleset.
107
161
  */
108
162
  export declare const validateNoDualstack: (dualstackEndpoint?: boolean) => void;
109
163
  /**
110
164
  * Validate fips endpoint is not set up.
111
165
  * @internal
166
+ * @deprecated unused as of EndpointsV2.
112
167
  */
113
168
  export declare const validateNoFIPS: (useFipsEndpoint?: boolean) => void;
114
169
  /**
115
170
  * Validate the multi-region access point alias.
116
171
  * @internal
172
+ * @deprecated unused as of EndpointsV2.
117
173
  */
118
174
  export declare const validateMrapAlias: (name: string) => void;
@@ -1,4 +1,7 @@
1
1
  import { Provider, RegionInfoProvider } from "@smithy/types";
2
+ /**
3
+ * @deprecated unused as of EndpointsV2.
4
+ */
2
5
  export interface BucketEndpointInputConfig {
3
6
  /**
4
7
  * Whether to use the bucket name as the endpoint for this request. The bucket
@@ -31,6 +34,9 @@ export interface BucketEndpointInputConfig {
31
34
  */
32
35
  disableMultiregionAccessPoints?: boolean | Provider<boolean>;
33
36
  }
37
+ /**
38
+ * @deprecated unused as of EndpointsV2.
39
+ */
34
40
  interface PreviouslyResolved {
35
41
  isCustomEndpoint?: boolean;
36
42
  region: Provider<string>;
@@ -38,6 +44,9 @@ interface PreviouslyResolved {
38
44
  useFipsEndpoint: Provider<boolean>;
39
45
  useDualstackEndpoint: Provider<boolean>;
40
46
  }
47
+ /**
48
+ * @deprecated unused as of EndpointsV2.
49
+ */
41
50
  export interface BucketEndpointResolvedConfig {
42
51
  /**
43
52
  * Whether the endpoint is specified by caller.
@@ -67,7 +76,7 @@ export interface BucketEndpointResolvedConfig {
67
76
  /**
68
77
  * Resolved value for input config {@link BucketEndpointInputConfig.useArnRegion}
69
78
  */
70
- useArnRegion: Provider<boolean>;
79
+ useArnRegion: Provider<boolean | undefined>;
71
80
  /**
72
81
  * Resolved value for input config {@link RegionInputConfig.region}
73
82
  */
@@ -79,5 +88,8 @@ export interface BucketEndpointResolvedConfig {
79
88
  regionInfoProvider: RegionInfoProvider;
80
89
  disableMultiregionAccessPoints: Provider<boolean>;
81
90
  }
91
+ /**
92
+ * @deprecated unused as of EndpointsV2.
93
+ */
82
94
  export declare function resolveBucketEndpointConfig<T>(input: T & PreviouslyResolved & BucketEndpointInputConfig): T & BucketEndpointResolvedConfig;
83
95
  export {};
@@ -1,4 +1,6 @@
1
1
  import { LoadedConfigSelectors } from "@smithy/node-config-provider";
2
2
  export declare const NODE_USE_ARN_REGION_ENV_NAME = "AWS_S3_USE_ARN_REGION";
3
3
  export declare const NODE_USE_ARN_REGION_INI_NAME = "s3_use_arn_region";
4
- export declare const NODE_USE_ARN_REGION_CONFIG_OPTIONS: LoadedConfigSelectors<boolean>;
4
+ export declare const NODE_USE_ARN_REGION_CONFIG_OPTIONS: LoadedConfigSelectors<
5
+ boolean | undefined
6
+ >;
@@ -20,7 +20,7 @@ export interface BucketEndpointResolvedConfig {
20
20
  useAccelerateEndpoint: boolean;
21
21
  useFipsEndpoint: Provider<boolean>;
22
22
  useDualstackEndpoint: Provider<boolean>;
23
- useArnRegion: Provider<boolean>;
23
+ useArnRegion: Provider<boolean | undefined>;
24
24
  region: Provider<string>;
25
25
  regionInfoProvider: RegionInfoProvider;
26
26
  disableMultiregionAccessPoints: Provider<boolean>;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-bucket-endpoint",
3
- "version": "3.821.0",
3
+ "version": "3.830.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-bucket-endpoint",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-flexible-checksums",
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 middleware-flexible-checksums",
@@ -36,7 +36,7 @@
36
36
  "@aws-crypto/crc32": "5.2.0",
37
37
  "@aws-crypto/crc32c": "5.2.0",
38
38
  "@aws-crypto/util": "5.2.0",
39
- "@aws-sdk/core": "3.826.0",
39
+ "@aws-sdk/core": "3.835.0",
40
40
  "@aws-sdk/types": "3.821.0",
41
41
  "@smithy/is-array-buffer": "^4.0.0",
42
42
  "@smithy/node-config-provider": "^4.1.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-sdk-s3",
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 middleware-sdk-s3",
@@ -27,14 +27,14 @@
27
27
  },
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@aws-sdk/core": "3.826.0",
30
+ "@aws-sdk/core": "3.835.0",
31
31
  "@aws-sdk/types": "3.821.0",
32
32
  "@aws-sdk/util-arn-parser": "3.804.0",
33
33
  "@smithy/core": "^3.5.3",
34
34
  "@smithy/node-config-provider": "^4.1.3",
35
35
  "@smithy/protocol-http": "^5.1.2",
36
36
  "@smithy/signature-v4": "^5.1.2",
37
- "@smithy/smithy-client": "^4.4.3",
37
+ "@smithy/smithy-client": "^4.4.4",
38
38
  "@smithy/types": "^4.3.1",
39
39
  "@smithy/util-config-provider": "^4.0.0",
40
40
  "@smithy/util-middleware": "^4.0.4",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-user-agent",
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 middleware-user-agent",
@@ -24,9 +24,9 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/core": "3.826.0",
27
+ "@aws-sdk/core": "3.835.0",
28
28
  "@aws-sdk/types": "3.821.0",
29
- "@aws-sdk/util-endpoints": "3.821.0",
29
+ "@aws-sdk/util-endpoints": "3.828.0",
30
30
  "@smithy/core": "^3.5.3",
31
31
  "@smithy/protocol-http": "^5.1.2",
32
32
  "@smithy/types": "^4.3.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
  };