@aws-sdk/client-ecr 3.36.1 → 3.40.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,48 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** populate variants in endpoints hashes ([#2974](https://github.com/aws/aws-sdk-js-v3/issues/2974)) ([0dd68ef](https://github.com/aws/aws-sdk-js-v3/commit/0dd68ef8b04ea0e96e43b05a9a10221e433fdf86))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-ecr
20
+
21
+
22
+
23
+
24
+
25
+ # [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
26
+
27
+
28
+ ### Features
29
+
30
+ * **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
31
+ * **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
32
+
33
+
34
+
35
+
36
+
37
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
38
+
39
+
40
+ ### Features
41
+
42
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
43
+
44
+
45
+
46
+
47
+
6
48
  ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
7
49
 
8
50
 
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./BatchCheckLayerAvailabilityCommand"), exports);
5
+ tslib_1.__exportStar(require("./BatchDeleteImageCommand"), exports);
6
+ tslib_1.__exportStar(require("./BatchGetImageCommand"), exports);
7
+ tslib_1.__exportStar(require("./CompleteLayerUploadCommand"), exports);
8
+ tslib_1.__exportStar(require("./CreateRepositoryCommand"), exports);
9
+ tslib_1.__exportStar(require("./DeleteLifecyclePolicyCommand"), exports);
10
+ tslib_1.__exportStar(require("./DeleteRegistryPolicyCommand"), exports);
11
+ tslib_1.__exportStar(require("./DeleteRepositoryCommand"), exports);
12
+ tslib_1.__exportStar(require("./DeleteRepositoryPolicyCommand"), exports);
13
+ tslib_1.__exportStar(require("./DescribeImageReplicationStatusCommand"), exports);
14
+ tslib_1.__exportStar(require("./DescribeImageScanFindingsCommand"), exports);
15
+ tslib_1.__exportStar(require("./DescribeImagesCommand"), exports);
16
+ tslib_1.__exportStar(require("./DescribeRegistryCommand"), exports);
17
+ tslib_1.__exportStar(require("./DescribeRepositoriesCommand"), exports);
18
+ tslib_1.__exportStar(require("./GetAuthorizationTokenCommand"), exports);
19
+ tslib_1.__exportStar(require("./GetDownloadUrlForLayerCommand"), exports);
20
+ tslib_1.__exportStar(require("./GetLifecyclePolicyCommand"), exports);
21
+ tslib_1.__exportStar(require("./GetLifecyclePolicyPreviewCommand"), exports);
22
+ tslib_1.__exportStar(require("./GetRegistryPolicyCommand"), exports);
23
+ tslib_1.__exportStar(require("./GetRepositoryPolicyCommand"), exports);
24
+ tslib_1.__exportStar(require("./InitiateLayerUploadCommand"), exports);
25
+ tslib_1.__exportStar(require("./ListImagesCommand"), exports);
26
+ tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
27
+ tslib_1.__exportStar(require("./PutImageCommand"), exports);
28
+ tslib_1.__exportStar(require("./PutImageScanningConfigurationCommand"), exports);
29
+ tslib_1.__exportStar(require("./PutImageTagMutabilityCommand"), exports);
30
+ tslib_1.__exportStar(require("./PutLifecyclePolicyCommand"), exports);
31
+ tslib_1.__exportStar(require("./PutRegistryPolicyCommand"), exports);
32
+ tslib_1.__exportStar(require("./PutReplicationConfigurationCommand"), exports);
33
+ tslib_1.__exportStar(require("./SetRepositoryPolicyCommand"), exports);
34
+ tslib_1.__exportStar(require("./StartImageScanCommand"), exports);
35
+ tslib_1.__exportStar(require("./StartLifecyclePolicyPreviewCommand"), exports);
36
+ tslib_1.__exportStar(require("./TagResourceCommand"), exports);
37
+ tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
38
+ tslib_1.__exportStar(require("./UploadLayerPartCommand"), exports);
@@ -4,159 +4,279 @@ exports.defaultRegionInfoProvider = void 0;
4
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const regionHash = {
6
6
  "af-south-1": {
7
- hostname: "api.ecr.af-south-1.amazonaws.com",
7
+ variants: [
8
+ {
9
+ hostname: "api.ecr.af-south-1.amazonaws.com",
10
+ tags: [],
11
+ },
12
+ ],
8
13
  signingRegion: "af-south-1",
9
14
  },
10
15
  "ap-east-1": {
11
- hostname: "api.ecr.ap-east-1.amazonaws.com",
16
+ variants: [
17
+ {
18
+ hostname: "api.ecr.ap-east-1.amazonaws.com",
19
+ tags: [],
20
+ },
21
+ ],
12
22
  signingRegion: "ap-east-1",
13
23
  },
14
24
  "ap-northeast-1": {
15
- hostname: "api.ecr.ap-northeast-1.amazonaws.com",
25
+ variants: [
26
+ {
27
+ hostname: "api.ecr.ap-northeast-1.amazonaws.com",
28
+ tags: [],
29
+ },
30
+ ],
16
31
  signingRegion: "ap-northeast-1",
17
32
  },
18
33
  "ap-northeast-2": {
19
- hostname: "api.ecr.ap-northeast-2.amazonaws.com",
34
+ variants: [
35
+ {
36
+ hostname: "api.ecr.ap-northeast-2.amazonaws.com",
37
+ tags: [],
38
+ },
39
+ ],
20
40
  signingRegion: "ap-northeast-2",
21
41
  },
22
42
  "ap-northeast-3": {
23
- hostname: "api.ecr.ap-northeast-3.amazonaws.com",
43
+ variants: [
44
+ {
45
+ hostname: "api.ecr.ap-northeast-3.amazonaws.com",
46
+ tags: [],
47
+ },
48
+ ],
24
49
  signingRegion: "ap-northeast-3",
25
50
  },
26
51
  "ap-south-1": {
27
- hostname: "api.ecr.ap-south-1.amazonaws.com",
52
+ variants: [
53
+ {
54
+ hostname: "api.ecr.ap-south-1.amazonaws.com",
55
+ tags: [],
56
+ },
57
+ ],
28
58
  signingRegion: "ap-south-1",
29
59
  },
30
60
  "ap-southeast-1": {
31
- hostname: "api.ecr.ap-southeast-1.amazonaws.com",
61
+ variants: [
62
+ {
63
+ hostname: "api.ecr.ap-southeast-1.amazonaws.com",
64
+ tags: [],
65
+ },
66
+ ],
32
67
  signingRegion: "ap-southeast-1",
33
68
  },
34
69
  "ap-southeast-2": {
35
- hostname: "api.ecr.ap-southeast-2.amazonaws.com",
70
+ variants: [
71
+ {
72
+ hostname: "api.ecr.ap-southeast-2.amazonaws.com",
73
+ tags: [],
74
+ },
75
+ ],
36
76
  signingRegion: "ap-southeast-2",
37
77
  },
38
78
  "ca-central-1": {
39
- hostname: "api.ecr.ca-central-1.amazonaws.com",
79
+ variants: [
80
+ {
81
+ hostname: "api.ecr.ca-central-1.amazonaws.com",
82
+ tags: [],
83
+ },
84
+ ],
40
85
  signingRegion: "ca-central-1",
41
86
  },
42
87
  "cn-north-1": {
43
- hostname: "api.ecr.cn-north-1.amazonaws.com.cn",
88
+ variants: [
89
+ {
90
+ hostname: "api.ecr.cn-north-1.amazonaws.com.cn",
91
+ tags: [],
92
+ },
93
+ ],
44
94
  signingRegion: "cn-north-1",
45
95
  },
46
96
  "cn-northwest-1": {
47
- hostname: "api.ecr.cn-northwest-1.amazonaws.com.cn",
97
+ variants: [
98
+ {
99
+ hostname: "api.ecr.cn-northwest-1.amazonaws.com.cn",
100
+ tags: [],
101
+ },
102
+ ],
48
103
  signingRegion: "cn-northwest-1",
49
104
  },
50
105
  "eu-central-1": {
51
- hostname: "api.ecr.eu-central-1.amazonaws.com",
106
+ variants: [
107
+ {
108
+ hostname: "api.ecr.eu-central-1.amazonaws.com",
109
+ tags: [],
110
+ },
111
+ ],
52
112
  signingRegion: "eu-central-1",
53
113
  },
54
114
  "eu-north-1": {
55
- hostname: "api.ecr.eu-north-1.amazonaws.com",
115
+ variants: [
116
+ {
117
+ hostname: "api.ecr.eu-north-1.amazonaws.com",
118
+ tags: [],
119
+ },
120
+ ],
56
121
  signingRegion: "eu-north-1",
57
122
  },
58
123
  "eu-south-1": {
59
- hostname: "api.ecr.eu-south-1.amazonaws.com",
124
+ variants: [
125
+ {
126
+ hostname: "api.ecr.eu-south-1.amazonaws.com",
127
+ tags: [],
128
+ },
129
+ ],
60
130
  signingRegion: "eu-south-1",
61
131
  },
62
132
  "eu-west-1": {
63
- hostname: "api.ecr.eu-west-1.amazonaws.com",
133
+ variants: [
134
+ {
135
+ hostname: "api.ecr.eu-west-1.amazonaws.com",
136
+ tags: [],
137
+ },
138
+ ],
64
139
  signingRegion: "eu-west-1",
65
140
  },
66
141
  "eu-west-2": {
67
- hostname: "api.ecr.eu-west-2.amazonaws.com",
142
+ variants: [
143
+ {
144
+ hostname: "api.ecr.eu-west-2.amazonaws.com",
145
+ tags: [],
146
+ },
147
+ ],
68
148
  signingRegion: "eu-west-2",
69
149
  },
70
150
  "eu-west-3": {
71
- hostname: "api.ecr.eu-west-3.amazonaws.com",
151
+ variants: [
152
+ {
153
+ hostname: "api.ecr.eu-west-3.amazonaws.com",
154
+ tags: [],
155
+ },
156
+ ],
72
157
  signingRegion: "eu-west-3",
73
158
  },
74
- "fips-dkr-us-east-1": {
75
- hostname: "ecr-fips.us-east-1.amazonaws.com",
76
- signingRegion: "us-east-1",
77
- },
78
- "fips-dkr-us-east-2": {
79
- hostname: "ecr-fips.us-east-2.amazonaws.com",
80
- signingRegion: "us-east-2",
81
- },
82
- "fips-dkr-us-gov-east-1": {
83
- hostname: "ecr-fips.us-gov-east-1.amazonaws.com",
84
- signingRegion: "us-gov-east-1",
85
- },
86
- "fips-dkr-us-gov-west-1": {
87
- hostname: "ecr-fips.us-gov-west-1.amazonaws.com",
88
- signingRegion: "us-gov-west-1",
89
- },
90
- "fips-dkr-us-west-1": {
91
- hostname: "ecr-fips.us-west-1.amazonaws.com",
92
- signingRegion: "us-west-1",
93
- },
94
- "fips-dkr-us-west-2": {
95
- hostname: "ecr-fips.us-west-2.amazonaws.com",
96
- signingRegion: "us-west-2",
97
- },
98
- "fips-us-east-1": {
99
- hostname: "ecr-fips.us-east-1.amazonaws.com",
100
- signingRegion: "us-east-1",
101
- },
102
- "fips-us-east-2": {
103
- hostname: "ecr-fips.us-east-2.amazonaws.com",
104
- signingRegion: "us-east-2",
105
- },
106
- "fips-us-gov-east-1": {
107
- hostname: "ecr-fips.us-gov-east-1.amazonaws.com",
108
- signingRegion: "us-gov-east-1",
109
- },
110
- "fips-us-gov-west-1": {
111
- hostname: "ecr-fips.us-gov-west-1.amazonaws.com",
112
- signingRegion: "us-gov-west-1",
113
- },
114
- "fips-us-west-1": {
115
- hostname: "ecr-fips.us-west-1.amazonaws.com",
116
- signingRegion: "us-west-1",
117
- },
118
- "fips-us-west-2": {
119
- hostname: "ecr-fips.us-west-2.amazonaws.com",
120
- signingRegion: "us-west-2",
121
- },
122
159
  "me-south-1": {
123
- hostname: "api.ecr.me-south-1.amazonaws.com",
160
+ variants: [
161
+ {
162
+ hostname: "api.ecr.me-south-1.amazonaws.com",
163
+ tags: [],
164
+ },
165
+ ],
124
166
  signingRegion: "me-south-1",
125
167
  },
126
168
  "sa-east-1": {
127
- hostname: "api.ecr.sa-east-1.amazonaws.com",
169
+ variants: [
170
+ {
171
+ hostname: "api.ecr.sa-east-1.amazonaws.com",
172
+ tags: [],
173
+ },
174
+ ],
128
175
  signingRegion: "sa-east-1",
129
176
  },
130
177
  "us-east-1": {
131
- hostname: "api.ecr.us-east-1.amazonaws.com",
178
+ variants: [
179
+ {
180
+ hostname: "api.ecr.us-east-1.amazonaws.com",
181
+ tags: [],
182
+ },
183
+ {
184
+ hostname: "ecr-fips.us-east-1.amazonaws.com",
185
+ tags: ["fips"],
186
+ },
187
+ ],
132
188
  signingRegion: "us-east-1",
133
189
  },
134
190
  "us-east-2": {
135
- hostname: "api.ecr.us-east-2.amazonaws.com",
191
+ variants: [
192
+ {
193
+ hostname: "api.ecr.us-east-2.amazonaws.com",
194
+ tags: [],
195
+ },
196
+ {
197
+ hostname: "ecr-fips.us-east-2.amazonaws.com",
198
+ tags: ["fips"],
199
+ },
200
+ ],
136
201
  signingRegion: "us-east-2",
137
202
  },
138
203
  "us-gov-east-1": {
139
- hostname: "api.ecr.us-gov-east-1.amazonaws.com",
204
+ variants: [
205
+ {
206
+ hostname: "api.ecr.us-gov-east-1.amazonaws.com",
207
+ tags: [],
208
+ },
209
+ {
210
+ hostname: "ecr-fips.us-gov-east-1.amazonaws.com",
211
+ tags: ["fips"],
212
+ },
213
+ ],
140
214
  signingRegion: "us-gov-east-1",
141
215
  },
142
216
  "us-gov-west-1": {
143
- hostname: "api.ecr.us-gov-west-1.amazonaws.com",
217
+ variants: [
218
+ {
219
+ hostname: "api.ecr.us-gov-west-1.amazonaws.com",
220
+ tags: [],
221
+ },
222
+ {
223
+ hostname: "ecr-fips.us-gov-west-1.amazonaws.com",
224
+ tags: ["fips"],
225
+ },
226
+ ],
144
227
  signingRegion: "us-gov-west-1",
145
228
  },
146
229
  "us-iso-east-1": {
147
- hostname: "api.ecr.us-iso-east-1.c2s.ic.gov",
230
+ variants: [
231
+ {
232
+ hostname: "api.ecr.us-iso-east-1.c2s.ic.gov",
233
+ tags: [],
234
+ },
235
+ ],
148
236
  signingRegion: "us-iso-east-1",
149
237
  },
238
+ "us-iso-west-1": {
239
+ variants: [
240
+ {
241
+ hostname: "api.ecr.us-iso-west-1.c2s.ic.gov",
242
+ tags: [],
243
+ },
244
+ ],
245
+ signingRegion: "us-iso-west-1",
246
+ },
150
247
  "us-isob-east-1": {
151
- hostname: "api.ecr.us-isob-east-1.sc2s.sgov.gov",
248
+ variants: [
249
+ {
250
+ hostname: "api.ecr.us-isob-east-1.sc2s.sgov.gov",
251
+ tags: [],
252
+ },
253
+ ],
152
254
  signingRegion: "us-isob-east-1",
153
255
  },
154
256
  "us-west-1": {
155
- hostname: "api.ecr.us-west-1.amazonaws.com",
257
+ variants: [
258
+ {
259
+ hostname: "api.ecr.us-west-1.amazonaws.com",
260
+ tags: [],
261
+ },
262
+ {
263
+ hostname: "ecr-fips.us-west-1.amazonaws.com",
264
+ tags: ["fips"],
265
+ },
266
+ ],
156
267
  signingRegion: "us-west-1",
157
268
  },
158
269
  "us-west-2": {
159
- hostname: "api.ecr.us-west-2.amazonaws.com",
270
+ variants: [
271
+ {
272
+ hostname: "api.ecr.us-west-2.amazonaws.com",
273
+ tags: [],
274
+ },
275
+ {
276
+ hostname: "ecr-fips.us-west-2.amazonaws.com",
277
+ tags: ["fips"],
278
+ },
279
+ ],
160
280
  signingRegion: "us-west-2",
161
281
  },
162
282
  };
@@ -172,6 +292,10 @@ const partitionHash = {
172
292
  "ap-southeast-1",
173
293
  "ap-southeast-2",
174
294
  "ca-central-1",
295
+ "dkr-us-east-1",
296
+ "dkr-us-east-2",
297
+ "dkr-us-west-1",
298
+ "dkr-us-west-2",
175
299
  "eu-central-1",
176
300
  "eu-north-1",
177
301
  "eu-south-1",
@@ -193,22 +317,64 @@ const partitionHash = {
193
317
  "us-west-1",
194
318
  "us-west-2",
195
319
  ],
196
- hostname: "api.ecr.{region}.amazonaws.com",
320
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
321
+ variants: [
322
+ {
323
+ hostname: "api.ecr.{region}.amazonaws.com",
324
+ tags: [],
325
+ },
326
+ {
327
+ hostname: "ecr-fips.{region}.amazonaws.com",
328
+ tags: ["fips"],
329
+ },
330
+ ],
197
331
  },
198
332
  "aws-cn": {
199
333
  regions: ["cn-north-1", "cn-northwest-1"],
200
- hostname: "api.ecr.{region}.amazonaws.com.cn",
334
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
335
+ variants: [
336
+ {
337
+ hostname: "api.ecr.{region}.amazonaws.com.cn",
338
+ tags: [],
339
+ },
340
+ {
341
+ hostname: "api.ecr-fips.{region}.amazonaws.com.cn",
342
+ tags: ["fips"],
343
+ },
344
+ {
345
+ hostname: "api.ecr-fips.{region}.api.amazonwebservices.com.cn",
346
+ tags: ["dualstack", "fips"],
347
+ },
348
+ {
349
+ hostname: "api.ecr.{region}.api.amazonwebservices.com.cn",
350
+ tags: ["dualstack"],
351
+ },
352
+ ],
201
353
  },
202
354
  "aws-iso": {
203
- regions: ["us-iso-east-1"],
204
- hostname: "api.ecr.{region}.c2s.ic.gov",
355
+ regions: ["us-iso-east-1", "us-iso-west-1"],
356
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
357
+ variants: [
358
+ {
359
+ hostname: "api.ecr.{region}.c2s.ic.gov",
360
+ tags: [],
361
+ },
362
+ ],
205
363
  },
206
364
  "aws-iso-b": {
207
365
  regions: ["us-isob-east-1"],
208
- hostname: "api.ecr.{region}.sc2s.sgov.gov",
366
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
367
+ variants: [
368
+ {
369
+ hostname: "api.ecr.{region}.sc2s.sgov.gov",
370
+ tags: [],
371
+ },
372
+ ],
209
373
  },
210
374
  "aws-us-gov": {
211
375
  regions: [
376
+ "dkr-us-gov-east-1",
377
+ "dkr-us-gov-west-1",
212
378
  "fips-dkr-us-gov-east-1",
213
379
  "fips-dkr-us-gov-west-1",
214
380
  "fips-us-gov-east-1",
@@ -216,7 +382,17 @@ const partitionHash = {
216
382
  "us-gov-east-1",
217
383
  "us-gov-west-1",
218
384
  ],
219
- hostname: "api.ecr.{region}.amazonaws.com",
385
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
386
+ variants: [
387
+ {
388
+ hostname: "api.ecr.{region}.amazonaws.com",
389
+ tags: [],
390
+ },
391
+ {
392
+ hostname: "ecr-fips.{region}.amazonaws.com",
393
+ tags: ["fips"],
394
+ },
395
+ ],
220
396
  },
221
397
  };
222
398
  const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
package/dist-cjs/index.js CHANGED
@@ -1,49 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./ECRClient"), exports);
5
4
  tslib_1.__exportStar(require("./ECR"), exports);
6
- tslib_1.__exportStar(require("./commands/BatchCheckLayerAvailabilityCommand"), exports);
7
- tslib_1.__exportStar(require("./commands/BatchDeleteImageCommand"), exports);
8
- tslib_1.__exportStar(require("./commands/BatchGetImageCommand"), exports);
9
- tslib_1.__exportStar(require("./commands/CompleteLayerUploadCommand"), exports);
10
- tslib_1.__exportStar(require("./commands/CreateRepositoryCommand"), exports);
11
- tslib_1.__exportStar(require("./commands/DeleteLifecyclePolicyCommand"), exports);
12
- tslib_1.__exportStar(require("./commands/DeleteRegistryPolicyCommand"), exports);
13
- tslib_1.__exportStar(require("./commands/DeleteRepositoryCommand"), exports);
14
- tslib_1.__exportStar(require("./commands/DeleteRepositoryPolicyCommand"), exports);
15
- tslib_1.__exportStar(require("./commands/DescribeImageReplicationStatusCommand"), exports);
16
- tslib_1.__exportStar(require("./commands/DescribeImagesCommand"), exports);
17
- tslib_1.__exportStar(require("./pagination/DescribeImagesPaginator"), exports);
18
- tslib_1.__exportStar(require("./commands/DescribeImageScanFindingsCommand"), exports);
19
- tslib_1.__exportStar(require("./pagination/DescribeImageScanFindingsPaginator"), exports);
20
- tslib_1.__exportStar(require("./waiters/waitForImageScanComplete"), exports);
21
- tslib_1.__exportStar(require("./commands/DescribeRegistryCommand"), exports);
22
- tslib_1.__exportStar(require("./commands/DescribeRepositoriesCommand"), exports);
23
- tslib_1.__exportStar(require("./pagination/DescribeRepositoriesPaginator"), exports);
24
- tslib_1.__exportStar(require("./commands/GetAuthorizationTokenCommand"), exports);
25
- tslib_1.__exportStar(require("./commands/GetDownloadUrlForLayerCommand"), exports);
26
- tslib_1.__exportStar(require("./commands/GetLifecyclePolicyCommand"), exports);
27
- tslib_1.__exportStar(require("./commands/GetLifecyclePolicyPreviewCommand"), exports);
28
- tslib_1.__exportStar(require("./pagination/GetLifecyclePolicyPreviewPaginator"), exports);
29
- tslib_1.__exportStar(require("./waiters/waitForLifecyclePolicyPreviewComplete"), exports);
30
- tslib_1.__exportStar(require("./commands/GetRegistryPolicyCommand"), exports);
31
- tslib_1.__exportStar(require("./commands/GetRepositoryPolicyCommand"), exports);
32
- tslib_1.__exportStar(require("./commands/InitiateLayerUploadCommand"), exports);
33
- tslib_1.__exportStar(require("./commands/ListImagesCommand"), exports);
34
- tslib_1.__exportStar(require("./pagination/ListImagesPaginator"), exports);
35
- tslib_1.__exportStar(require("./commands/ListTagsForResourceCommand"), exports);
36
- tslib_1.__exportStar(require("./commands/PutImageCommand"), exports);
37
- tslib_1.__exportStar(require("./commands/PutImageScanningConfigurationCommand"), exports);
38
- tslib_1.__exportStar(require("./commands/PutImageTagMutabilityCommand"), exports);
39
- tslib_1.__exportStar(require("./commands/PutLifecyclePolicyCommand"), exports);
40
- tslib_1.__exportStar(require("./commands/PutRegistryPolicyCommand"), exports);
41
- tslib_1.__exportStar(require("./commands/PutReplicationConfigurationCommand"), exports);
42
- tslib_1.__exportStar(require("./commands/SetRepositoryPolicyCommand"), exports);
43
- tslib_1.__exportStar(require("./commands/StartImageScanCommand"), exports);
44
- tslib_1.__exportStar(require("./commands/StartLifecyclePolicyPreviewCommand"), exports);
45
- tslib_1.__exportStar(require("./commands/TagResourceCommand"), exports);
46
- tslib_1.__exportStar(require("./commands/UntagResourceCommand"), exports);
47
- tslib_1.__exportStar(require("./commands/UploadLayerPartCommand"), exports);
48
- tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
49
- tslib_1.__exportStar(require("./models/index"), exports);
5
+ tslib_1.__exportStar(require("./ECRClient"), exports);
6
+ tslib_1.__exportStar(require("./commands"), exports);
7
+ tslib_1.__exportStar(require("./models"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);
9
+ tslib_1.__exportStar(require("./waiters"), exports);
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./DescribeImageScanFindingsPaginator"), exports);
5
+ tslib_1.__exportStar(require("./DescribeImagesPaginator"), exports);
6
+ tslib_1.__exportStar(require("./DescribeRepositoriesPaginator"), exports);
7
+ tslib_1.__exportStar(require("./GetLifecyclePolicyPreviewPaginator"), exports);
8
+ tslib_1.__exportStar(require("./Interfaces"), exports);
9
+ tslib_1.__exportStar(require("./ListImagesPaginator"), exports);
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
+ const config_resolver_1 = require("@aws-sdk/config-resolver");
7
8
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
9
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
9
10
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
@@ -13,7 +14,7 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
13
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
14
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
15
16
  const getRuntimeConfig = (config) => {
16
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
17
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
18
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
18
19
  return {
19
20
  ...clientSharedValues,
@@ -30,8 +31,10 @@ const getRuntimeConfig = (config) => {
30
31
  retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
31
32
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
32
33
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
33
- utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_browser_1.fromUtf8,
34
- utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_browser_1.toUtf8,
34
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
35
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
36
+ utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
37
+ utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
35
38
  };
36
39
  };
37
40
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -17,7 +17,7 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const getRuntimeConfig = (config) => {
20
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
20
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
21
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
22
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
23
23
  return {
@@ -35,8 +35,10 @@ const getRuntimeConfig = (config) => {
35
35
  retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
36
36
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
37
37
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
38
- utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_node_1.fromUtf8,
39
- utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_node_1.toUtf8,
38
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
39
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
40
+ utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
41
+ utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
40
42
  };
41
43
  };
42
44
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./waitForImageScanComplete"), exports);
5
+ tslib_1.__exportStar(require("./waitForLifecyclePolicyPreviewComplete"), exports);