@aws-sdk/client-transfer 3.194.0 → 3.195.0

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 (264) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/TransferClient.js +11 -8
  3. package/dist-cjs/commands/CreateAccessCommand.js +10 -0
  4. package/dist-cjs/commands/CreateAgreementCommand.js +10 -0
  5. package/dist-cjs/commands/CreateConnectorCommand.js +10 -0
  6. package/dist-cjs/commands/CreateProfileCommand.js +10 -0
  7. package/dist-cjs/commands/CreateServerCommand.js +10 -0
  8. package/dist-cjs/commands/CreateUserCommand.js +10 -0
  9. package/dist-cjs/commands/CreateWorkflowCommand.js +10 -0
  10. package/dist-cjs/commands/DeleteAccessCommand.js +10 -0
  11. package/dist-cjs/commands/DeleteAgreementCommand.js +10 -0
  12. package/dist-cjs/commands/DeleteCertificateCommand.js +10 -0
  13. package/dist-cjs/commands/DeleteConnectorCommand.js +10 -0
  14. package/dist-cjs/commands/DeleteHostKeyCommand.js +10 -0
  15. package/dist-cjs/commands/DeleteProfileCommand.js +10 -0
  16. package/dist-cjs/commands/DeleteServerCommand.js +10 -0
  17. package/dist-cjs/commands/DeleteSshPublicKeyCommand.js +10 -0
  18. package/dist-cjs/commands/DeleteUserCommand.js +10 -0
  19. package/dist-cjs/commands/DeleteWorkflowCommand.js +10 -0
  20. package/dist-cjs/commands/DescribeAccessCommand.js +10 -0
  21. package/dist-cjs/commands/DescribeAgreementCommand.js +10 -0
  22. package/dist-cjs/commands/DescribeCertificateCommand.js +10 -0
  23. package/dist-cjs/commands/DescribeConnectorCommand.js +10 -0
  24. package/dist-cjs/commands/DescribeExecutionCommand.js +10 -0
  25. package/dist-cjs/commands/DescribeHostKeyCommand.js +10 -0
  26. package/dist-cjs/commands/DescribeProfileCommand.js +10 -0
  27. package/dist-cjs/commands/DescribeSecurityPolicyCommand.js +10 -0
  28. package/dist-cjs/commands/DescribeServerCommand.js +10 -0
  29. package/dist-cjs/commands/DescribeUserCommand.js +10 -0
  30. package/dist-cjs/commands/DescribeWorkflowCommand.js +10 -0
  31. package/dist-cjs/commands/ImportCertificateCommand.js +10 -0
  32. package/dist-cjs/commands/ImportHostKeyCommand.js +10 -0
  33. package/dist-cjs/commands/ImportSshPublicKeyCommand.js +10 -0
  34. package/dist-cjs/commands/ListAccessesCommand.js +10 -0
  35. package/dist-cjs/commands/ListAgreementsCommand.js +10 -0
  36. package/dist-cjs/commands/ListCertificatesCommand.js +10 -0
  37. package/dist-cjs/commands/ListConnectorsCommand.js +10 -0
  38. package/dist-cjs/commands/ListExecutionsCommand.js +10 -0
  39. package/dist-cjs/commands/ListHostKeysCommand.js +10 -0
  40. package/dist-cjs/commands/ListProfilesCommand.js +10 -0
  41. package/dist-cjs/commands/ListSecurityPoliciesCommand.js +10 -0
  42. package/dist-cjs/commands/ListServersCommand.js +10 -0
  43. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  44. package/dist-cjs/commands/ListUsersCommand.js +10 -0
  45. package/dist-cjs/commands/ListWorkflowsCommand.js +10 -0
  46. package/dist-cjs/commands/SendWorkflowStepStateCommand.js +10 -0
  47. package/dist-cjs/commands/StartFileTransferCommand.js +10 -0
  48. package/dist-cjs/commands/StartServerCommand.js +10 -0
  49. package/dist-cjs/commands/StopServerCommand.js +10 -0
  50. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  51. package/dist-cjs/commands/TestIdentityProviderCommand.js +10 -0
  52. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  53. package/dist-cjs/commands/UpdateAccessCommand.js +10 -0
  54. package/dist-cjs/commands/UpdateAgreementCommand.js +10 -0
  55. package/dist-cjs/commands/UpdateCertificateCommand.js +10 -0
  56. package/dist-cjs/commands/UpdateConnectorCommand.js +10 -0
  57. package/dist-cjs/commands/UpdateHostKeyCommand.js +10 -0
  58. package/dist-cjs/commands/UpdateProfileCommand.js +10 -0
  59. package/dist-cjs/commands/UpdateServerCommand.js +10 -0
  60. package/dist-cjs/commands/UpdateUserCommand.js +10 -0
  61. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  62. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  63. package/dist-cjs/endpoint/ruleset.js +318 -0
  64. package/dist-cjs/runtimeConfig.shared.js +3 -3
  65. package/dist-es/TransferClient.js +12 -9
  66. package/dist-es/commands/CreateAccessCommand.js +10 -0
  67. package/dist-es/commands/CreateAgreementCommand.js +10 -0
  68. package/dist-es/commands/CreateConnectorCommand.js +10 -0
  69. package/dist-es/commands/CreateProfileCommand.js +10 -0
  70. package/dist-es/commands/CreateServerCommand.js +10 -0
  71. package/dist-es/commands/CreateUserCommand.js +10 -0
  72. package/dist-es/commands/CreateWorkflowCommand.js +10 -0
  73. package/dist-es/commands/DeleteAccessCommand.js +10 -0
  74. package/dist-es/commands/DeleteAgreementCommand.js +10 -0
  75. package/dist-es/commands/DeleteCertificateCommand.js +10 -0
  76. package/dist-es/commands/DeleteConnectorCommand.js +10 -0
  77. package/dist-es/commands/DeleteHostKeyCommand.js +10 -0
  78. package/dist-es/commands/DeleteProfileCommand.js +10 -0
  79. package/dist-es/commands/DeleteServerCommand.js +10 -0
  80. package/dist-es/commands/DeleteSshPublicKeyCommand.js +10 -0
  81. package/dist-es/commands/DeleteUserCommand.js +10 -0
  82. package/dist-es/commands/DeleteWorkflowCommand.js +10 -0
  83. package/dist-es/commands/DescribeAccessCommand.js +10 -0
  84. package/dist-es/commands/DescribeAgreementCommand.js +10 -0
  85. package/dist-es/commands/DescribeCertificateCommand.js +10 -0
  86. package/dist-es/commands/DescribeConnectorCommand.js +10 -0
  87. package/dist-es/commands/DescribeExecutionCommand.js +10 -0
  88. package/dist-es/commands/DescribeHostKeyCommand.js +10 -0
  89. package/dist-es/commands/DescribeProfileCommand.js +10 -0
  90. package/dist-es/commands/DescribeSecurityPolicyCommand.js +10 -0
  91. package/dist-es/commands/DescribeServerCommand.js +10 -0
  92. package/dist-es/commands/DescribeUserCommand.js +10 -0
  93. package/dist-es/commands/DescribeWorkflowCommand.js +10 -0
  94. package/dist-es/commands/ImportCertificateCommand.js +10 -0
  95. package/dist-es/commands/ImportHostKeyCommand.js +10 -0
  96. package/dist-es/commands/ImportSshPublicKeyCommand.js +10 -0
  97. package/dist-es/commands/ListAccessesCommand.js +10 -0
  98. package/dist-es/commands/ListAgreementsCommand.js +10 -0
  99. package/dist-es/commands/ListCertificatesCommand.js +10 -0
  100. package/dist-es/commands/ListConnectorsCommand.js +10 -0
  101. package/dist-es/commands/ListExecutionsCommand.js +10 -0
  102. package/dist-es/commands/ListHostKeysCommand.js +10 -0
  103. package/dist-es/commands/ListProfilesCommand.js +10 -0
  104. package/dist-es/commands/ListSecurityPoliciesCommand.js +10 -0
  105. package/dist-es/commands/ListServersCommand.js +10 -0
  106. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  107. package/dist-es/commands/ListUsersCommand.js +10 -0
  108. package/dist-es/commands/ListWorkflowsCommand.js +10 -0
  109. package/dist-es/commands/SendWorkflowStepStateCommand.js +10 -0
  110. package/dist-es/commands/StartFileTransferCommand.js +10 -0
  111. package/dist-es/commands/StartServerCommand.js +10 -0
  112. package/dist-es/commands/StopServerCommand.js +10 -0
  113. package/dist-es/commands/TagResourceCommand.js +10 -0
  114. package/dist-es/commands/TestIdentityProviderCommand.js +10 -0
  115. package/dist-es/commands/UntagResourceCommand.js +10 -0
  116. package/dist-es/commands/UpdateAccessCommand.js +10 -0
  117. package/dist-es/commands/UpdateAgreementCommand.js +10 -0
  118. package/dist-es/commands/UpdateCertificateCommand.js +10 -0
  119. package/dist-es/commands/UpdateConnectorCommand.js +10 -0
  120. package/dist-es/commands/UpdateHostKeyCommand.js +10 -0
  121. package/dist-es/commands/UpdateProfileCommand.js +10 -0
  122. package/dist-es/commands/UpdateServerCommand.js +10 -0
  123. package/dist-es/commands/UpdateUserCommand.js +10 -0
  124. package/dist-es/endpoint/EndpointParameters.js +8 -0
  125. package/dist-es/endpoint/endpointResolver.js +8 -0
  126. package/dist-es/endpoint/ruleset.js +315 -0
  127. package/dist-es/runtimeConfig.shared.js +2 -2
  128. package/dist-types/TransferClient.d.ts +6 -9
  129. package/dist-types/commands/CreateAccessCommand.d.ts +2 -0
  130. package/dist-types/commands/CreateAgreementCommand.d.ts +2 -0
  131. package/dist-types/commands/CreateConnectorCommand.d.ts +2 -0
  132. package/dist-types/commands/CreateProfileCommand.d.ts +2 -0
  133. package/dist-types/commands/CreateServerCommand.d.ts +2 -0
  134. package/dist-types/commands/CreateUserCommand.d.ts +2 -0
  135. package/dist-types/commands/CreateWorkflowCommand.d.ts +2 -0
  136. package/dist-types/commands/DeleteAccessCommand.d.ts +2 -0
  137. package/dist-types/commands/DeleteAgreementCommand.d.ts +2 -0
  138. package/dist-types/commands/DeleteCertificateCommand.d.ts +2 -0
  139. package/dist-types/commands/DeleteConnectorCommand.d.ts +2 -0
  140. package/dist-types/commands/DeleteHostKeyCommand.d.ts +2 -0
  141. package/dist-types/commands/DeleteProfileCommand.d.ts +2 -0
  142. package/dist-types/commands/DeleteServerCommand.d.ts +2 -0
  143. package/dist-types/commands/DeleteSshPublicKeyCommand.d.ts +2 -0
  144. package/dist-types/commands/DeleteUserCommand.d.ts +2 -0
  145. package/dist-types/commands/DeleteWorkflowCommand.d.ts +2 -0
  146. package/dist-types/commands/DescribeAccessCommand.d.ts +2 -0
  147. package/dist-types/commands/DescribeAgreementCommand.d.ts +2 -0
  148. package/dist-types/commands/DescribeCertificateCommand.d.ts +2 -0
  149. package/dist-types/commands/DescribeConnectorCommand.d.ts +2 -0
  150. package/dist-types/commands/DescribeExecutionCommand.d.ts +2 -0
  151. package/dist-types/commands/DescribeHostKeyCommand.d.ts +2 -0
  152. package/dist-types/commands/DescribeProfileCommand.d.ts +2 -0
  153. package/dist-types/commands/DescribeSecurityPolicyCommand.d.ts +2 -0
  154. package/dist-types/commands/DescribeServerCommand.d.ts +2 -0
  155. package/dist-types/commands/DescribeUserCommand.d.ts +2 -0
  156. package/dist-types/commands/DescribeWorkflowCommand.d.ts +2 -0
  157. package/dist-types/commands/ImportCertificateCommand.d.ts +2 -0
  158. package/dist-types/commands/ImportHostKeyCommand.d.ts +2 -0
  159. package/dist-types/commands/ImportSshPublicKeyCommand.d.ts +2 -0
  160. package/dist-types/commands/ListAccessesCommand.d.ts +2 -0
  161. package/dist-types/commands/ListAgreementsCommand.d.ts +2 -0
  162. package/dist-types/commands/ListCertificatesCommand.d.ts +2 -0
  163. package/dist-types/commands/ListConnectorsCommand.d.ts +2 -0
  164. package/dist-types/commands/ListExecutionsCommand.d.ts +2 -0
  165. package/dist-types/commands/ListHostKeysCommand.d.ts +2 -0
  166. package/dist-types/commands/ListProfilesCommand.d.ts +2 -0
  167. package/dist-types/commands/ListSecurityPoliciesCommand.d.ts +2 -0
  168. package/dist-types/commands/ListServersCommand.d.ts +2 -0
  169. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  170. package/dist-types/commands/ListUsersCommand.d.ts +2 -0
  171. package/dist-types/commands/ListWorkflowsCommand.d.ts +2 -0
  172. package/dist-types/commands/SendWorkflowStepStateCommand.d.ts +2 -0
  173. package/dist-types/commands/StartFileTransferCommand.d.ts +2 -0
  174. package/dist-types/commands/StartServerCommand.d.ts +2 -0
  175. package/dist-types/commands/StopServerCommand.d.ts +2 -0
  176. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  177. package/dist-types/commands/TestIdentityProviderCommand.d.ts +2 -0
  178. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  179. package/dist-types/commands/UpdateAccessCommand.d.ts +2 -0
  180. package/dist-types/commands/UpdateAgreementCommand.d.ts +2 -0
  181. package/dist-types/commands/UpdateCertificateCommand.d.ts +2 -0
  182. package/dist-types/commands/UpdateConnectorCommand.d.ts +2 -0
  183. package/dist-types/commands/UpdateHostKeyCommand.d.ts +2 -0
  184. package/dist-types/commands/UpdateProfileCommand.d.ts +2 -0
  185. package/dist-types/commands/UpdateServerCommand.d.ts +2 -0
  186. package/dist-types/commands/UpdateUserCommand.d.ts +2 -0
  187. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  188. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  189. package/dist-types/endpoint/ruleset.d.ts +2 -0
  190. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  191. package/dist-types/runtimeConfig.d.ts +4 -2
  192. package/dist-types/runtimeConfig.native.d.ts +4 -2
  193. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  194. package/dist-types/ts3.4/TransferClient.d.ts +15 -8
  195. package/dist-types/ts3.4/commands/CreateAccessCommand.d.ts +2 -0
  196. package/dist-types/ts3.4/commands/CreateAgreementCommand.d.ts +2 -0
  197. package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +2 -0
  198. package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +2 -0
  199. package/dist-types/ts3.4/commands/CreateServerCommand.d.ts +2 -0
  200. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +2 -0
  201. package/dist-types/ts3.4/commands/CreateWorkflowCommand.d.ts +2 -0
  202. package/dist-types/ts3.4/commands/DeleteAccessCommand.d.ts +2 -0
  203. package/dist-types/ts3.4/commands/DeleteAgreementCommand.d.ts +2 -0
  204. package/dist-types/ts3.4/commands/DeleteCertificateCommand.d.ts +2 -0
  205. package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +2 -0
  206. package/dist-types/ts3.4/commands/DeleteHostKeyCommand.d.ts +2 -0
  207. package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +2 -0
  208. package/dist-types/ts3.4/commands/DeleteServerCommand.d.ts +2 -0
  209. package/dist-types/ts3.4/commands/DeleteSshPublicKeyCommand.d.ts +2 -0
  210. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +2 -0
  211. package/dist-types/ts3.4/commands/DeleteWorkflowCommand.d.ts +2 -0
  212. package/dist-types/ts3.4/commands/DescribeAccessCommand.d.ts +2 -0
  213. package/dist-types/ts3.4/commands/DescribeAgreementCommand.d.ts +2 -0
  214. package/dist-types/ts3.4/commands/DescribeCertificateCommand.d.ts +2 -0
  215. package/dist-types/ts3.4/commands/DescribeConnectorCommand.d.ts +2 -0
  216. package/dist-types/ts3.4/commands/DescribeExecutionCommand.d.ts +2 -0
  217. package/dist-types/ts3.4/commands/DescribeHostKeyCommand.d.ts +2 -0
  218. package/dist-types/ts3.4/commands/DescribeProfileCommand.d.ts +2 -0
  219. package/dist-types/ts3.4/commands/DescribeSecurityPolicyCommand.d.ts +2 -0
  220. package/dist-types/ts3.4/commands/DescribeServerCommand.d.ts +2 -0
  221. package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +2 -0
  222. package/dist-types/ts3.4/commands/DescribeWorkflowCommand.d.ts +2 -0
  223. package/dist-types/ts3.4/commands/ImportCertificateCommand.d.ts +2 -0
  224. package/dist-types/ts3.4/commands/ImportHostKeyCommand.d.ts +2 -0
  225. package/dist-types/ts3.4/commands/ImportSshPublicKeyCommand.d.ts +2 -0
  226. package/dist-types/ts3.4/commands/ListAccessesCommand.d.ts +2 -0
  227. package/dist-types/ts3.4/commands/ListAgreementsCommand.d.ts +2 -0
  228. package/dist-types/ts3.4/commands/ListCertificatesCommand.d.ts +2 -0
  229. package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +2 -0
  230. package/dist-types/ts3.4/commands/ListExecutionsCommand.d.ts +2 -0
  231. package/dist-types/ts3.4/commands/ListHostKeysCommand.d.ts +2 -0
  232. package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +2 -0
  233. package/dist-types/ts3.4/commands/ListSecurityPoliciesCommand.d.ts +2 -0
  234. package/dist-types/ts3.4/commands/ListServersCommand.d.ts +2 -0
  235. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  236. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +2 -0
  237. package/dist-types/ts3.4/commands/ListWorkflowsCommand.d.ts +2 -0
  238. package/dist-types/ts3.4/commands/SendWorkflowStepStateCommand.d.ts +2 -0
  239. package/dist-types/ts3.4/commands/StartFileTransferCommand.d.ts +2 -0
  240. package/dist-types/ts3.4/commands/StartServerCommand.d.ts +2 -0
  241. package/dist-types/ts3.4/commands/StopServerCommand.d.ts +2 -0
  242. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  243. package/dist-types/ts3.4/commands/TestIdentityProviderCommand.d.ts +2 -0
  244. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  245. package/dist-types/ts3.4/commands/UpdateAccessCommand.d.ts +2 -0
  246. package/dist-types/ts3.4/commands/UpdateAgreementCommand.d.ts +2 -0
  247. package/dist-types/ts3.4/commands/UpdateCertificateCommand.d.ts +2 -0
  248. package/dist-types/ts3.4/commands/UpdateConnectorCommand.d.ts +2 -0
  249. package/dist-types/ts3.4/commands/UpdateHostKeyCommand.d.ts +2 -0
  250. package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +2 -0
  251. package/dist-types/ts3.4/commands/UpdateServerCommand.d.ts +2 -0
  252. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +2 -0
  253. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  254. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  255. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  256. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  257. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  258. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  259. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  260. package/package.json +3 -1
  261. package/dist-cjs/endpoints.js +0 -194
  262. package/dist-es/endpoints.js +0 -190
  263. package/dist-types/endpoints.d.ts +0 -2
  264. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,194 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.defaultRegionInfoProvider = void 0;
4
- const config_resolver_1 = require("@aws-sdk/config-resolver");
5
- const regionHash = {
6
- "ca-central-1": {
7
- variants: [
8
- {
9
- hostname: "transfer-fips.ca-central-1.amazonaws.com",
10
- tags: ["fips"],
11
- },
12
- ],
13
- },
14
- "us-east-1": {
15
- variants: [
16
- {
17
- hostname: "transfer-fips.us-east-1.amazonaws.com",
18
- tags: ["fips"],
19
- },
20
- ],
21
- },
22
- "us-east-2": {
23
- variants: [
24
- {
25
- hostname: "transfer-fips.us-east-2.amazonaws.com",
26
- tags: ["fips"],
27
- },
28
- ],
29
- },
30
- "us-gov-east-1": {
31
- variants: [
32
- {
33
- hostname: "transfer-fips.us-gov-east-1.amazonaws.com",
34
- tags: ["fips"],
35
- },
36
- ],
37
- },
38
- "us-gov-west-1": {
39
- variants: [
40
- {
41
- hostname: "transfer-fips.us-gov-west-1.amazonaws.com",
42
- tags: ["fips"],
43
- },
44
- ],
45
- },
46
- "us-west-1": {
47
- variants: [
48
- {
49
- hostname: "transfer-fips.us-west-1.amazonaws.com",
50
- tags: ["fips"],
51
- },
52
- ],
53
- },
54
- "us-west-2": {
55
- variants: [
56
- {
57
- hostname: "transfer-fips.us-west-2.amazonaws.com",
58
- tags: ["fips"],
59
- },
60
- ],
61
- },
62
- };
63
- const partitionHash = {
64
- aws: {
65
- regions: [
66
- "af-south-1",
67
- "ap-east-1",
68
- "ap-northeast-1",
69
- "ap-northeast-2",
70
- "ap-northeast-3",
71
- "ap-south-1",
72
- "ap-southeast-1",
73
- "ap-southeast-2",
74
- "ap-southeast-3",
75
- "ca-central-1",
76
- "eu-central-1",
77
- "eu-north-1",
78
- "eu-south-1",
79
- "eu-west-1",
80
- "eu-west-2",
81
- "eu-west-3",
82
- "fips-ca-central-1",
83
- "fips-us-east-1",
84
- "fips-us-east-2",
85
- "fips-us-west-1",
86
- "fips-us-west-2",
87
- "me-central-1",
88
- "me-south-1",
89
- "sa-east-1",
90
- "us-east-1",
91
- "us-east-2",
92
- "us-west-1",
93
- "us-west-2",
94
- ],
95
- regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
96
- variants: [
97
- {
98
- hostname: "transfer.{region}.amazonaws.com",
99
- tags: [],
100
- },
101
- {
102
- hostname: "transfer-fips.{region}.amazonaws.com",
103
- tags: ["fips"],
104
- },
105
- {
106
- hostname: "transfer-fips.{region}.api.aws",
107
- tags: ["dualstack", "fips"],
108
- },
109
- {
110
- hostname: "transfer.{region}.api.aws",
111
- tags: ["dualstack"],
112
- },
113
- ],
114
- },
115
- "aws-cn": {
116
- regions: ["cn-north-1", "cn-northwest-1"],
117
- regionRegex: "^cn\\-\\w+\\-\\d+$",
118
- variants: [
119
- {
120
- hostname: "transfer.{region}.amazonaws.com.cn",
121
- tags: [],
122
- },
123
- {
124
- hostname: "transfer-fips.{region}.amazonaws.com.cn",
125
- tags: ["fips"],
126
- },
127
- {
128
- hostname: "transfer-fips.{region}.api.amazonwebservices.com.cn",
129
- tags: ["dualstack", "fips"],
130
- },
131
- {
132
- hostname: "transfer.{region}.api.amazonwebservices.com.cn",
133
- tags: ["dualstack"],
134
- },
135
- ],
136
- },
137
- "aws-iso": {
138
- regions: ["us-iso-east-1", "us-iso-west-1"],
139
- regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
140
- variants: [
141
- {
142
- hostname: "transfer.{region}.c2s.ic.gov",
143
- tags: [],
144
- },
145
- {
146
- hostname: "transfer-fips.{region}.c2s.ic.gov",
147
- tags: ["fips"],
148
- },
149
- ],
150
- },
151
- "aws-iso-b": {
152
- regions: ["us-isob-east-1"],
153
- regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
154
- variants: [
155
- {
156
- hostname: "transfer.{region}.sc2s.sgov.gov",
157
- tags: [],
158
- },
159
- {
160
- hostname: "transfer-fips.{region}.sc2s.sgov.gov",
161
- tags: ["fips"],
162
- },
163
- ],
164
- },
165
- "aws-us-gov": {
166
- regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
167
- regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
168
- variants: [
169
- {
170
- hostname: "transfer.{region}.amazonaws.com",
171
- tags: [],
172
- },
173
- {
174
- hostname: "transfer-fips.{region}.amazonaws.com",
175
- tags: ["fips"],
176
- },
177
- {
178
- hostname: "transfer-fips.{region}.api.aws",
179
- tags: ["dualstack", "fips"],
180
- },
181
- {
182
- hostname: "transfer.{region}.api.aws",
183
- tags: ["dualstack"],
184
- },
185
- ],
186
- },
187
- };
188
- const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
189
- ...options,
190
- signingService: "transfer",
191
- regionHash,
192
- partitionHash,
193
- });
194
- exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
@@ -1,190 +0,0 @@
1
- import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {
3
- "ca-central-1": {
4
- variants: [
5
- {
6
- hostname: "transfer-fips.ca-central-1.amazonaws.com",
7
- tags: ["fips"],
8
- },
9
- ],
10
- },
11
- "us-east-1": {
12
- variants: [
13
- {
14
- hostname: "transfer-fips.us-east-1.amazonaws.com",
15
- tags: ["fips"],
16
- },
17
- ],
18
- },
19
- "us-east-2": {
20
- variants: [
21
- {
22
- hostname: "transfer-fips.us-east-2.amazonaws.com",
23
- tags: ["fips"],
24
- },
25
- ],
26
- },
27
- "us-gov-east-1": {
28
- variants: [
29
- {
30
- hostname: "transfer-fips.us-gov-east-1.amazonaws.com",
31
- tags: ["fips"],
32
- },
33
- ],
34
- },
35
- "us-gov-west-1": {
36
- variants: [
37
- {
38
- hostname: "transfer-fips.us-gov-west-1.amazonaws.com",
39
- tags: ["fips"],
40
- },
41
- ],
42
- },
43
- "us-west-1": {
44
- variants: [
45
- {
46
- hostname: "transfer-fips.us-west-1.amazonaws.com",
47
- tags: ["fips"],
48
- },
49
- ],
50
- },
51
- "us-west-2": {
52
- variants: [
53
- {
54
- hostname: "transfer-fips.us-west-2.amazonaws.com",
55
- tags: ["fips"],
56
- },
57
- ],
58
- },
59
- };
60
- const partitionHash = {
61
- aws: {
62
- regions: [
63
- "af-south-1",
64
- "ap-east-1",
65
- "ap-northeast-1",
66
- "ap-northeast-2",
67
- "ap-northeast-3",
68
- "ap-south-1",
69
- "ap-southeast-1",
70
- "ap-southeast-2",
71
- "ap-southeast-3",
72
- "ca-central-1",
73
- "eu-central-1",
74
- "eu-north-1",
75
- "eu-south-1",
76
- "eu-west-1",
77
- "eu-west-2",
78
- "eu-west-3",
79
- "fips-ca-central-1",
80
- "fips-us-east-1",
81
- "fips-us-east-2",
82
- "fips-us-west-1",
83
- "fips-us-west-2",
84
- "me-central-1",
85
- "me-south-1",
86
- "sa-east-1",
87
- "us-east-1",
88
- "us-east-2",
89
- "us-west-1",
90
- "us-west-2",
91
- ],
92
- regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
93
- variants: [
94
- {
95
- hostname: "transfer.{region}.amazonaws.com",
96
- tags: [],
97
- },
98
- {
99
- hostname: "transfer-fips.{region}.amazonaws.com",
100
- tags: ["fips"],
101
- },
102
- {
103
- hostname: "transfer-fips.{region}.api.aws",
104
- tags: ["dualstack", "fips"],
105
- },
106
- {
107
- hostname: "transfer.{region}.api.aws",
108
- tags: ["dualstack"],
109
- },
110
- ],
111
- },
112
- "aws-cn": {
113
- regions: ["cn-north-1", "cn-northwest-1"],
114
- regionRegex: "^cn\\-\\w+\\-\\d+$",
115
- variants: [
116
- {
117
- hostname: "transfer.{region}.amazonaws.com.cn",
118
- tags: [],
119
- },
120
- {
121
- hostname: "transfer-fips.{region}.amazonaws.com.cn",
122
- tags: ["fips"],
123
- },
124
- {
125
- hostname: "transfer-fips.{region}.api.amazonwebservices.com.cn",
126
- tags: ["dualstack", "fips"],
127
- },
128
- {
129
- hostname: "transfer.{region}.api.amazonwebservices.com.cn",
130
- tags: ["dualstack"],
131
- },
132
- ],
133
- },
134
- "aws-iso": {
135
- regions: ["us-iso-east-1", "us-iso-west-1"],
136
- regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
137
- variants: [
138
- {
139
- hostname: "transfer.{region}.c2s.ic.gov",
140
- tags: [],
141
- },
142
- {
143
- hostname: "transfer-fips.{region}.c2s.ic.gov",
144
- tags: ["fips"],
145
- },
146
- ],
147
- },
148
- "aws-iso-b": {
149
- regions: ["us-isob-east-1"],
150
- regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
151
- variants: [
152
- {
153
- hostname: "transfer.{region}.sc2s.sgov.gov",
154
- tags: [],
155
- },
156
- {
157
- hostname: "transfer-fips.{region}.sc2s.sgov.gov",
158
- tags: ["fips"],
159
- },
160
- ],
161
- },
162
- "aws-us-gov": {
163
- regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
164
- regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
165
- variants: [
166
- {
167
- hostname: "transfer.{region}.amazonaws.com",
168
- tags: [],
169
- },
170
- {
171
- hostname: "transfer-fips.{region}.amazonaws.com",
172
- tags: ["fips"],
173
- },
174
- {
175
- hostname: "transfer-fips.{region}.api.aws",
176
- tags: ["dualstack", "fips"],
177
- },
178
- {
179
- hostname: "transfer.{region}.api.aws",
180
- tags: ["dualstack"],
181
- },
182
- ],
183
- },
184
- };
185
- export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
186
- ...options,
187
- signingService: "transfer",
188
- regionHash,
189
- partitionHash,
190
- });
@@ -1,2 +0,0 @@
1
- import { RegionInfoProvider } from "@aws-sdk/types";
2
- export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -1,2 +0,0 @@
1
- import { RegionInfoProvider } from "@aws-sdk/types";
2
- export declare const defaultRegionInfoProvider: RegionInfoProvider;