@aws-sdk/client-ecr 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 (196) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/ECRClient.js +11 -8
  3. package/dist-cjs/commands/BatchCheckLayerAvailabilityCommand.js +10 -0
  4. package/dist-cjs/commands/BatchDeleteImageCommand.js +10 -0
  5. package/dist-cjs/commands/BatchGetImageCommand.js +10 -0
  6. package/dist-cjs/commands/BatchGetRepositoryScanningConfigurationCommand.js +10 -0
  7. package/dist-cjs/commands/CompleteLayerUploadCommand.js +10 -0
  8. package/dist-cjs/commands/CreatePullThroughCacheRuleCommand.js +10 -0
  9. package/dist-cjs/commands/CreateRepositoryCommand.js +10 -0
  10. package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js +10 -0
  11. package/dist-cjs/commands/DeletePullThroughCacheRuleCommand.js +10 -0
  12. package/dist-cjs/commands/DeleteRegistryPolicyCommand.js +10 -0
  13. package/dist-cjs/commands/DeleteRepositoryCommand.js +10 -0
  14. package/dist-cjs/commands/DeleteRepositoryPolicyCommand.js +10 -0
  15. package/dist-cjs/commands/DescribeImageReplicationStatusCommand.js +10 -0
  16. package/dist-cjs/commands/DescribeImageScanFindingsCommand.js +10 -0
  17. package/dist-cjs/commands/DescribeImagesCommand.js +10 -0
  18. package/dist-cjs/commands/DescribePullThroughCacheRulesCommand.js +10 -0
  19. package/dist-cjs/commands/DescribeRegistryCommand.js +10 -0
  20. package/dist-cjs/commands/DescribeRepositoriesCommand.js +10 -0
  21. package/dist-cjs/commands/GetAuthorizationTokenCommand.js +10 -0
  22. package/dist-cjs/commands/GetDownloadUrlForLayerCommand.js +10 -0
  23. package/dist-cjs/commands/GetLifecyclePolicyCommand.js +10 -0
  24. package/dist-cjs/commands/GetLifecyclePolicyPreviewCommand.js +10 -0
  25. package/dist-cjs/commands/GetRegistryPolicyCommand.js +10 -0
  26. package/dist-cjs/commands/GetRegistryScanningConfigurationCommand.js +10 -0
  27. package/dist-cjs/commands/GetRepositoryPolicyCommand.js +10 -0
  28. package/dist-cjs/commands/InitiateLayerUploadCommand.js +10 -0
  29. package/dist-cjs/commands/ListImagesCommand.js +10 -0
  30. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  31. package/dist-cjs/commands/PutImageCommand.js +10 -0
  32. package/dist-cjs/commands/PutImageScanningConfigurationCommand.js +10 -0
  33. package/dist-cjs/commands/PutImageTagMutabilityCommand.js +10 -0
  34. package/dist-cjs/commands/PutLifecyclePolicyCommand.js +10 -0
  35. package/dist-cjs/commands/PutRegistryPolicyCommand.js +10 -0
  36. package/dist-cjs/commands/PutRegistryScanningConfigurationCommand.js +10 -0
  37. package/dist-cjs/commands/PutReplicationConfigurationCommand.js +10 -0
  38. package/dist-cjs/commands/SetRepositoryPolicyCommand.js +10 -0
  39. package/dist-cjs/commands/StartImageScanCommand.js +10 -0
  40. package/dist-cjs/commands/StartLifecyclePolicyPreviewCommand.js +10 -0
  41. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  42. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  43. package/dist-cjs/commands/UploadLayerPartCommand.js +10 -0
  44. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  45. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  46. package/dist-cjs/endpoint/ruleset.js +482 -0
  47. package/dist-cjs/runtimeConfig.shared.js +3 -3
  48. package/dist-es/ECRClient.js +12 -9
  49. package/dist-es/commands/BatchCheckLayerAvailabilityCommand.js +10 -0
  50. package/dist-es/commands/BatchDeleteImageCommand.js +10 -0
  51. package/dist-es/commands/BatchGetImageCommand.js +10 -0
  52. package/dist-es/commands/BatchGetRepositoryScanningConfigurationCommand.js +10 -0
  53. package/dist-es/commands/CompleteLayerUploadCommand.js +10 -0
  54. package/dist-es/commands/CreatePullThroughCacheRuleCommand.js +10 -0
  55. package/dist-es/commands/CreateRepositoryCommand.js +10 -0
  56. package/dist-es/commands/DeleteLifecyclePolicyCommand.js +10 -0
  57. package/dist-es/commands/DeletePullThroughCacheRuleCommand.js +10 -0
  58. package/dist-es/commands/DeleteRegistryPolicyCommand.js +10 -0
  59. package/dist-es/commands/DeleteRepositoryCommand.js +10 -0
  60. package/dist-es/commands/DeleteRepositoryPolicyCommand.js +10 -0
  61. package/dist-es/commands/DescribeImageReplicationStatusCommand.js +10 -0
  62. package/dist-es/commands/DescribeImageScanFindingsCommand.js +10 -0
  63. package/dist-es/commands/DescribeImagesCommand.js +10 -0
  64. package/dist-es/commands/DescribePullThroughCacheRulesCommand.js +10 -0
  65. package/dist-es/commands/DescribeRegistryCommand.js +10 -0
  66. package/dist-es/commands/DescribeRepositoriesCommand.js +10 -0
  67. package/dist-es/commands/GetAuthorizationTokenCommand.js +10 -0
  68. package/dist-es/commands/GetDownloadUrlForLayerCommand.js +10 -0
  69. package/dist-es/commands/GetLifecyclePolicyCommand.js +10 -0
  70. package/dist-es/commands/GetLifecyclePolicyPreviewCommand.js +10 -0
  71. package/dist-es/commands/GetRegistryPolicyCommand.js +10 -0
  72. package/dist-es/commands/GetRegistryScanningConfigurationCommand.js +10 -0
  73. package/dist-es/commands/GetRepositoryPolicyCommand.js +10 -0
  74. package/dist-es/commands/InitiateLayerUploadCommand.js +10 -0
  75. package/dist-es/commands/ListImagesCommand.js +10 -0
  76. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  77. package/dist-es/commands/PutImageCommand.js +10 -0
  78. package/dist-es/commands/PutImageScanningConfigurationCommand.js +10 -0
  79. package/dist-es/commands/PutImageTagMutabilityCommand.js +10 -0
  80. package/dist-es/commands/PutLifecyclePolicyCommand.js +10 -0
  81. package/dist-es/commands/PutRegistryPolicyCommand.js +10 -0
  82. package/dist-es/commands/PutRegistryScanningConfigurationCommand.js +10 -0
  83. package/dist-es/commands/PutReplicationConfigurationCommand.js +10 -0
  84. package/dist-es/commands/SetRepositoryPolicyCommand.js +10 -0
  85. package/dist-es/commands/StartImageScanCommand.js +10 -0
  86. package/dist-es/commands/StartLifecyclePolicyPreviewCommand.js +10 -0
  87. package/dist-es/commands/TagResourceCommand.js +10 -0
  88. package/dist-es/commands/UntagResourceCommand.js +10 -0
  89. package/dist-es/commands/UploadLayerPartCommand.js +10 -0
  90. package/dist-es/endpoint/EndpointParameters.js +8 -0
  91. package/dist-es/endpoint/endpointResolver.js +8 -0
  92. package/dist-es/endpoint/ruleset.js +479 -0
  93. package/dist-es/runtimeConfig.shared.js +2 -2
  94. package/dist-types/ECRClient.d.ts +6 -9
  95. package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +2 -0
  96. package/dist-types/commands/BatchDeleteImageCommand.d.ts +2 -0
  97. package/dist-types/commands/BatchGetImageCommand.d.ts +2 -0
  98. package/dist-types/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +2 -0
  99. package/dist-types/commands/CompleteLayerUploadCommand.d.ts +2 -0
  100. package/dist-types/commands/CreatePullThroughCacheRuleCommand.d.ts +2 -0
  101. package/dist-types/commands/CreateRepositoryCommand.d.ts +2 -0
  102. package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +2 -0
  103. package/dist-types/commands/DeletePullThroughCacheRuleCommand.d.ts +2 -0
  104. package/dist-types/commands/DeleteRegistryPolicyCommand.d.ts +2 -0
  105. package/dist-types/commands/DeleteRepositoryCommand.d.ts +2 -0
  106. package/dist-types/commands/DeleteRepositoryPolicyCommand.d.ts +2 -0
  107. package/dist-types/commands/DescribeImageReplicationStatusCommand.d.ts +2 -0
  108. package/dist-types/commands/DescribeImageScanFindingsCommand.d.ts +2 -0
  109. package/dist-types/commands/DescribeImagesCommand.d.ts +2 -0
  110. package/dist-types/commands/DescribePullThroughCacheRulesCommand.d.ts +2 -0
  111. package/dist-types/commands/DescribeRegistryCommand.d.ts +2 -0
  112. package/dist-types/commands/DescribeRepositoriesCommand.d.ts +2 -0
  113. package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +2 -0
  114. package/dist-types/commands/GetDownloadUrlForLayerCommand.d.ts +2 -0
  115. package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +2 -0
  116. package/dist-types/commands/GetLifecyclePolicyPreviewCommand.d.ts +2 -0
  117. package/dist-types/commands/GetRegistryPolicyCommand.d.ts +2 -0
  118. package/dist-types/commands/GetRegistryScanningConfigurationCommand.d.ts +2 -0
  119. package/dist-types/commands/GetRepositoryPolicyCommand.d.ts +2 -0
  120. package/dist-types/commands/InitiateLayerUploadCommand.d.ts +2 -0
  121. package/dist-types/commands/ListImagesCommand.d.ts +2 -0
  122. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  123. package/dist-types/commands/PutImageCommand.d.ts +2 -0
  124. package/dist-types/commands/PutImageScanningConfigurationCommand.d.ts +2 -0
  125. package/dist-types/commands/PutImageTagMutabilityCommand.d.ts +2 -0
  126. package/dist-types/commands/PutLifecyclePolicyCommand.d.ts +2 -0
  127. package/dist-types/commands/PutRegistryPolicyCommand.d.ts +2 -0
  128. package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +2 -0
  129. package/dist-types/commands/PutReplicationConfigurationCommand.d.ts +2 -0
  130. package/dist-types/commands/SetRepositoryPolicyCommand.d.ts +2 -0
  131. package/dist-types/commands/StartImageScanCommand.d.ts +2 -0
  132. package/dist-types/commands/StartLifecyclePolicyPreviewCommand.d.ts +2 -0
  133. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  134. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  135. package/dist-types/commands/UploadLayerPartCommand.d.ts +2 -0
  136. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  137. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  138. package/dist-types/endpoint/ruleset.d.ts +2 -0
  139. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  140. package/dist-types/runtimeConfig.d.ts +4 -2
  141. package/dist-types/runtimeConfig.native.d.ts +4 -2
  142. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  143. package/dist-types/ts3.4/ECRClient.d.ts +15 -8
  144. package/dist-types/ts3.4/commands/BatchCheckLayerAvailabilityCommand.d.ts +2 -0
  145. package/dist-types/ts3.4/commands/BatchDeleteImageCommand.d.ts +2 -0
  146. package/dist-types/ts3.4/commands/BatchGetImageCommand.d.ts +2 -0
  147. package/dist-types/ts3.4/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +2 -0
  148. package/dist-types/ts3.4/commands/CompleteLayerUploadCommand.d.ts +2 -0
  149. package/dist-types/ts3.4/commands/CreatePullThroughCacheRuleCommand.d.ts +2 -0
  150. package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +2 -0
  151. package/dist-types/ts3.4/commands/DeleteLifecyclePolicyCommand.d.ts +2 -0
  152. package/dist-types/ts3.4/commands/DeletePullThroughCacheRuleCommand.d.ts +2 -0
  153. package/dist-types/ts3.4/commands/DeleteRegistryPolicyCommand.d.ts +2 -0
  154. package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +2 -0
  155. package/dist-types/ts3.4/commands/DeleteRepositoryPolicyCommand.d.ts +2 -0
  156. package/dist-types/ts3.4/commands/DescribeImageReplicationStatusCommand.d.ts +2 -0
  157. package/dist-types/ts3.4/commands/DescribeImageScanFindingsCommand.d.ts +2 -0
  158. package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +2 -0
  159. package/dist-types/ts3.4/commands/DescribePullThroughCacheRulesCommand.d.ts +2 -0
  160. package/dist-types/ts3.4/commands/DescribeRegistryCommand.d.ts +2 -0
  161. package/dist-types/ts3.4/commands/DescribeRepositoriesCommand.d.ts +2 -0
  162. package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +2 -0
  163. package/dist-types/ts3.4/commands/GetDownloadUrlForLayerCommand.d.ts +2 -0
  164. package/dist-types/ts3.4/commands/GetLifecyclePolicyCommand.d.ts +2 -0
  165. package/dist-types/ts3.4/commands/GetLifecyclePolicyPreviewCommand.d.ts +2 -0
  166. package/dist-types/ts3.4/commands/GetRegistryPolicyCommand.d.ts +2 -0
  167. package/dist-types/ts3.4/commands/GetRegistryScanningConfigurationCommand.d.ts +2 -0
  168. package/dist-types/ts3.4/commands/GetRepositoryPolicyCommand.d.ts +2 -0
  169. package/dist-types/ts3.4/commands/InitiateLayerUploadCommand.d.ts +2 -0
  170. package/dist-types/ts3.4/commands/ListImagesCommand.d.ts +2 -0
  171. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  172. package/dist-types/ts3.4/commands/PutImageCommand.d.ts +2 -0
  173. package/dist-types/ts3.4/commands/PutImageScanningConfigurationCommand.d.ts +2 -0
  174. package/dist-types/ts3.4/commands/PutImageTagMutabilityCommand.d.ts +2 -0
  175. package/dist-types/ts3.4/commands/PutLifecyclePolicyCommand.d.ts +2 -0
  176. package/dist-types/ts3.4/commands/PutRegistryPolicyCommand.d.ts +2 -0
  177. package/dist-types/ts3.4/commands/PutRegistryScanningConfigurationCommand.d.ts +2 -0
  178. package/dist-types/ts3.4/commands/PutReplicationConfigurationCommand.d.ts +2 -0
  179. package/dist-types/ts3.4/commands/SetRepositoryPolicyCommand.d.ts +2 -0
  180. package/dist-types/ts3.4/commands/StartImageScanCommand.d.ts +2 -0
  181. package/dist-types/ts3.4/commands/StartLifecyclePolicyPreviewCommand.d.ts +2 -0
  182. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  183. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  184. package/dist-types/ts3.4/commands/UploadLayerPartCommand.d.ts +2 -0
  185. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  186. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  187. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  188. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  189. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  190. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  191. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  192. package/package.json +3 -1
  193. package/dist-cjs/endpoints.js +0 -448
  194. package/dist-es/endpoints.js +0 -444
  195. package/dist-types/endpoints.d.ts +0 -2
  196. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,444 +0,0 @@
1
- import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {
3
- "af-south-1": {
4
- variants: [
5
- {
6
- hostname: "api.ecr.af-south-1.amazonaws.com",
7
- tags: [],
8
- },
9
- ],
10
- signingRegion: "af-south-1",
11
- },
12
- "ap-east-1": {
13
- variants: [
14
- {
15
- hostname: "api.ecr.ap-east-1.amazonaws.com",
16
- tags: [],
17
- },
18
- ],
19
- signingRegion: "ap-east-1",
20
- },
21
- "ap-northeast-1": {
22
- variants: [
23
- {
24
- hostname: "api.ecr.ap-northeast-1.amazonaws.com",
25
- tags: [],
26
- },
27
- ],
28
- signingRegion: "ap-northeast-1",
29
- },
30
- "ap-northeast-2": {
31
- variants: [
32
- {
33
- hostname: "api.ecr.ap-northeast-2.amazonaws.com",
34
- tags: [],
35
- },
36
- ],
37
- signingRegion: "ap-northeast-2",
38
- },
39
- "ap-northeast-3": {
40
- variants: [
41
- {
42
- hostname: "api.ecr.ap-northeast-3.amazonaws.com",
43
- tags: [],
44
- },
45
- ],
46
- signingRegion: "ap-northeast-3",
47
- },
48
- "ap-south-1": {
49
- variants: [
50
- {
51
- hostname: "api.ecr.ap-south-1.amazonaws.com",
52
- tags: [],
53
- },
54
- ],
55
- signingRegion: "ap-south-1",
56
- },
57
- "ap-southeast-1": {
58
- variants: [
59
- {
60
- hostname: "api.ecr.ap-southeast-1.amazonaws.com",
61
- tags: [],
62
- },
63
- ],
64
- signingRegion: "ap-southeast-1",
65
- },
66
- "ap-southeast-2": {
67
- variants: [
68
- {
69
- hostname: "api.ecr.ap-southeast-2.amazonaws.com",
70
- tags: [],
71
- },
72
- ],
73
- signingRegion: "ap-southeast-2",
74
- },
75
- "ap-southeast-3": {
76
- variants: [
77
- {
78
- hostname: "api.ecr.ap-southeast-3.amazonaws.com",
79
- tags: [],
80
- },
81
- ],
82
- signingRegion: "ap-southeast-3",
83
- },
84
- "ca-central-1": {
85
- variants: [
86
- {
87
- hostname: "api.ecr.ca-central-1.amazonaws.com",
88
- tags: [],
89
- },
90
- ],
91
- signingRegion: "ca-central-1",
92
- },
93
- "cn-north-1": {
94
- variants: [
95
- {
96
- hostname: "api.ecr.cn-north-1.amazonaws.com.cn",
97
- tags: [],
98
- },
99
- ],
100
- signingRegion: "cn-north-1",
101
- },
102
- "cn-northwest-1": {
103
- variants: [
104
- {
105
- hostname: "api.ecr.cn-northwest-1.amazonaws.com.cn",
106
- tags: [],
107
- },
108
- ],
109
- signingRegion: "cn-northwest-1",
110
- },
111
- "eu-central-1": {
112
- variants: [
113
- {
114
- hostname: "api.ecr.eu-central-1.amazonaws.com",
115
- tags: [],
116
- },
117
- ],
118
- signingRegion: "eu-central-1",
119
- },
120
- "eu-north-1": {
121
- variants: [
122
- {
123
- hostname: "api.ecr.eu-north-1.amazonaws.com",
124
- tags: [],
125
- },
126
- ],
127
- signingRegion: "eu-north-1",
128
- },
129
- "eu-south-1": {
130
- variants: [
131
- {
132
- hostname: "api.ecr.eu-south-1.amazonaws.com",
133
- tags: [],
134
- },
135
- ],
136
- signingRegion: "eu-south-1",
137
- },
138
- "eu-west-1": {
139
- variants: [
140
- {
141
- hostname: "api.ecr.eu-west-1.amazonaws.com",
142
- tags: [],
143
- },
144
- ],
145
- signingRegion: "eu-west-1",
146
- },
147
- "eu-west-2": {
148
- variants: [
149
- {
150
- hostname: "api.ecr.eu-west-2.amazonaws.com",
151
- tags: [],
152
- },
153
- ],
154
- signingRegion: "eu-west-2",
155
- },
156
- "eu-west-3": {
157
- variants: [
158
- {
159
- hostname: "api.ecr.eu-west-3.amazonaws.com",
160
- tags: [],
161
- },
162
- ],
163
- signingRegion: "eu-west-3",
164
- },
165
- "me-central-1": {
166
- variants: [
167
- {
168
- hostname: "api.ecr.me-central-1.amazonaws.com",
169
- tags: [],
170
- },
171
- ],
172
- signingRegion: "me-central-1",
173
- },
174
- "me-south-1": {
175
- variants: [
176
- {
177
- hostname: "api.ecr.me-south-1.amazonaws.com",
178
- tags: [],
179
- },
180
- ],
181
- signingRegion: "me-south-1",
182
- },
183
- "sa-east-1": {
184
- variants: [
185
- {
186
- hostname: "api.ecr.sa-east-1.amazonaws.com",
187
- tags: [],
188
- },
189
- ],
190
- signingRegion: "sa-east-1",
191
- },
192
- "us-east-1": {
193
- variants: [
194
- {
195
- hostname: "api.ecr.us-east-1.amazonaws.com",
196
- tags: [],
197
- },
198
- {
199
- hostname: "ecr-fips.us-east-1.amazonaws.com",
200
- tags: ["fips"],
201
- },
202
- ],
203
- signingRegion: "us-east-1",
204
- },
205
- "us-east-2": {
206
- variants: [
207
- {
208
- hostname: "api.ecr.us-east-2.amazonaws.com",
209
- tags: [],
210
- },
211
- {
212
- hostname: "ecr-fips.us-east-2.amazonaws.com",
213
- tags: ["fips"],
214
- },
215
- ],
216
- signingRegion: "us-east-2",
217
- },
218
- "us-gov-east-1": {
219
- variants: [
220
- {
221
- hostname: "api.ecr.us-gov-east-1.amazonaws.com",
222
- tags: [],
223
- },
224
- {
225
- hostname: "ecr-fips.us-gov-east-1.amazonaws.com",
226
- tags: ["fips"],
227
- },
228
- ],
229
- signingRegion: "us-gov-east-1",
230
- },
231
- "us-gov-west-1": {
232
- variants: [
233
- {
234
- hostname: "api.ecr.us-gov-west-1.amazonaws.com",
235
- tags: [],
236
- },
237
- {
238
- hostname: "ecr-fips.us-gov-west-1.amazonaws.com",
239
- tags: ["fips"],
240
- },
241
- ],
242
- signingRegion: "us-gov-west-1",
243
- },
244
- "us-iso-east-1": {
245
- variants: [
246
- {
247
- hostname: "api.ecr.us-iso-east-1.c2s.ic.gov",
248
- tags: [],
249
- },
250
- ],
251
- signingRegion: "us-iso-east-1",
252
- },
253
- "us-iso-west-1": {
254
- variants: [
255
- {
256
- hostname: "api.ecr.us-iso-west-1.c2s.ic.gov",
257
- tags: [],
258
- },
259
- ],
260
- signingRegion: "us-iso-west-1",
261
- },
262
- "us-isob-east-1": {
263
- variants: [
264
- {
265
- hostname: "api.ecr.us-isob-east-1.sc2s.sgov.gov",
266
- tags: [],
267
- },
268
- ],
269
- signingRegion: "us-isob-east-1",
270
- },
271
- "us-west-1": {
272
- variants: [
273
- {
274
- hostname: "api.ecr.us-west-1.amazonaws.com",
275
- tags: [],
276
- },
277
- {
278
- hostname: "ecr-fips.us-west-1.amazonaws.com",
279
- tags: ["fips"],
280
- },
281
- ],
282
- signingRegion: "us-west-1",
283
- },
284
- "us-west-2": {
285
- variants: [
286
- {
287
- hostname: "api.ecr.us-west-2.amazonaws.com",
288
- tags: [],
289
- },
290
- {
291
- hostname: "ecr-fips.us-west-2.amazonaws.com",
292
- tags: ["fips"],
293
- },
294
- ],
295
- signingRegion: "us-west-2",
296
- },
297
- };
298
- const partitionHash = {
299
- aws: {
300
- regions: [
301
- "af-south-1",
302
- "ap-east-1",
303
- "ap-northeast-1",
304
- "ap-northeast-2",
305
- "ap-northeast-3",
306
- "ap-south-1",
307
- "ap-southeast-1",
308
- "ap-southeast-2",
309
- "ap-southeast-3",
310
- "ca-central-1",
311
- "dkr-us-east-1",
312
- "dkr-us-east-2",
313
- "dkr-us-west-1",
314
- "dkr-us-west-2",
315
- "eu-central-1",
316
- "eu-north-1",
317
- "eu-south-1",
318
- "eu-west-1",
319
- "eu-west-2",
320
- "eu-west-3",
321
- "fips-dkr-us-east-1",
322
- "fips-dkr-us-east-2",
323
- "fips-dkr-us-west-1",
324
- "fips-dkr-us-west-2",
325
- "fips-us-east-1",
326
- "fips-us-east-2",
327
- "fips-us-west-1",
328
- "fips-us-west-2",
329
- "me-central-1",
330
- "me-south-1",
331
- "sa-east-1",
332
- "us-east-1",
333
- "us-east-2",
334
- "us-west-1",
335
- "us-west-2",
336
- ],
337
- regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
338
- variants: [
339
- {
340
- hostname: "api.ecr.{region}.amazonaws.com",
341
- tags: [],
342
- },
343
- {
344
- hostname: "ecr-fips.{region}.amazonaws.com",
345
- tags: ["fips"],
346
- },
347
- {
348
- hostname: "api.ecr-fips.{region}.api.aws",
349
- tags: ["dualstack", "fips"],
350
- },
351
- {
352
- hostname: "api.ecr.{region}.api.aws",
353
- tags: ["dualstack"],
354
- },
355
- ],
356
- },
357
- "aws-cn": {
358
- regions: ["cn-north-1", "cn-northwest-1"],
359
- regionRegex: "^cn\\-\\w+\\-\\d+$",
360
- variants: [
361
- {
362
- hostname: "api.ecr.{region}.amazonaws.com.cn",
363
- tags: [],
364
- },
365
- {
366
- hostname: "api.ecr-fips.{region}.amazonaws.com.cn",
367
- tags: ["fips"],
368
- },
369
- {
370
- hostname: "api.ecr-fips.{region}.api.amazonwebservices.com.cn",
371
- tags: ["dualstack", "fips"],
372
- },
373
- {
374
- hostname: "api.ecr.{region}.api.amazonwebservices.com.cn",
375
- tags: ["dualstack"],
376
- },
377
- ],
378
- },
379
- "aws-iso": {
380
- regions: ["us-iso-east-1", "us-iso-west-1"],
381
- regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
382
- variants: [
383
- {
384
- hostname: "api.ecr.{region}.c2s.ic.gov",
385
- tags: [],
386
- },
387
- {
388
- hostname: "api.ecr-fips.{region}.c2s.ic.gov",
389
- tags: ["fips"],
390
- },
391
- ],
392
- },
393
- "aws-iso-b": {
394
- regions: ["us-isob-east-1"],
395
- regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
396
- variants: [
397
- {
398
- hostname: "api.ecr.{region}.sc2s.sgov.gov",
399
- tags: [],
400
- },
401
- {
402
- hostname: "api.ecr-fips.{region}.sc2s.sgov.gov",
403
- tags: ["fips"],
404
- },
405
- ],
406
- },
407
- "aws-us-gov": {
408
- regions: [
409
- "dkr-us-gov-east-1",
410
- "dkr-us-gov-west-1",
411
- "fips-dkr-us-gov-east-1",
412
- "fips-dkr-us-gov-west-1",
413
- "fips-us-gov-east-1",
414
- "fips-us-gov-west-1",
415
- "us-gov-east-1",
416
- "us-gov-west-1",
417
- ],
418
- regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
419
- variants: [
420
- {
421
- hostname: "api.ecr.{region}.amazonaws.com",
422
- tags: [],
423
- },
424
- {
425
- hostname: "ecr-fips.{region}.amazonaws.com",
426
- tags: ["fips"],
427
- },
428
- {
429
- hostname: "api.ecr-fips.{region}.api.aws",
430
- tags: ["dualstack", "fips"],
431
- },
432
- {
433
- hostname: "api.ecr.{region}.api.aws",
434
- tags: ["dualstack"],
435
- },
436
- ],
437
- },
438
- };
439
- export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
440
- ...options,
441
- signingService: "ecr",
442
- regionHash,
443
- partitionHash,
444
- });
@@ -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;