@aws-sdk/client-ecr 3.490.0 → 3.495.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 (66) hide show
  1. package/dist-cjs/ECR.js +1 -97
  2. package/dist-cjs/ECRClient.js +1 -43
  3. package/dist-cjs/commands/BatchCheckLayerAvailabilityCommand.js +1 -28
  4. package/dist-cjs/commands/BatchDeleteImageCommand.js +1 -28
  5. package/dist-cjs/commands/BatchGetImageCommand.js +1 -28
  6. package/dist-cjs/commands/BatchGetRepositoryScanningConfigurationCommand.js +1 -28
  7. package/dist-cjs/commands/CompleteLayerUploadCommand.js +1 -28
  8. package/dist-cjs/commands/CreatePullThroughCacheRuleCommand.js +1 -28
  9. package/dist-cjs/commands/CreateRepositoryCommand.js +1 -28
  10. package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js +1 -28
  11. package/dist-cjs/commands/DeletePullThroughCacheRuleCommand.js +1 -28
  12. package/dist-cjs/commands/DeleteRegistryPolicyCommand.js +1 -28
  13. package/dist-cjs/commands/DeleteRepositoryCommand.js +1 -28
  14. package/dist-cjs/commands/DeleteRepositoryPolicyCommand.js +1 -28
  15. package/dist-cjs/commands/DescribeImageReplicationStatusCommand.js +1 -28
  16. package/dist-cjs/commands/DescribeImageScanFindingsCommand.js +1 -28
  17. package/dist-cjs/commands/DescribeImagesCommand.js +1 -28
  18. package/dist-cjs/commands/DescribePullThroughCacheRulesCommand.js +1 -28
  19. package/dist-cjs/commands/DescribeRegistryCommand.js +1 -28
  20. package/dist-cjs/commands/DescribeRepositoriesCommand.js +1 -28
  21. package/dist-cjs/commands/GetAuthorizationTokenCommand.js +1 -28
  22. package/dist-cjs/commands/GetDownloadUrlForLayerCommand.js +1 -28
  23. package/dist-cjs/commands/GetLifecyclePolicyCommand.js +1 -28
  24. package/dist-cjs/commands/GetLifecyclePolicyPreviewCommand.js +1 -28
  25. package/dist-cjs/commands/GetRegistryPolicyCommand.js +1 -28
  26. package/dist-cjs/commands/GetRegistryScanningConfigurationCommand.js +1 -28
  27. package/dist-cjs/commands/GetRepositoryPolicyCommand.js +1 -28
  28. package/dist-cjs/commands/InitiateLayerUploadCommand.js +1 -28
  29. package/dist-cjs/commands/ListImagesCommand.js +1 -28
  30. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  31. package/dist-cjs/commands/PutImageCommand.js +1 -28
  32. package/dist-cjs/commands/PutImageScanningConfigurationCommand.js +1 -28
  33. package/dist-cjs/commands/PutImageTagMutabilityCommand.js +1 -28
  34. package/dist-cjs/commands/PutLifecyclePolicyCommand.js +1 -28
  35. package/dist-cjs/commands/PutRegistryPolicyCommand.js +1 -28
  36. package/dist-cjs/commands/PutRegistryScanningConfigurationCommand.js +1 -28
  37. package/dist-cjs/commands/PutReplicationConfigurationCommand.js +1 -28
  38. package/dist-cjs/commands/SetRepositoryPolicyCommand.js +1 -28
  39. package/dist-cjs/commands/StartImageScanCommand.js +1 -28
  40. package/dist-cjs/commands/StartLifecyclePolicyPreviewCommand.js +1 -28
  41. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  42. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  43. package/dist-cjs/commands/UpdatePullThroughCacheRuleCommand.js +1 -28
  44. package/dist-cjs/commands/UploadLayerPartCommand.js +1 -28
  45. package/dist-cjs/commands/ValidatePullThroughCacheRuleCommand.js +1 -28
  46. package/dist-cjs/commands/index.js +1 -46
  47. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  48. package/dist-cjs/extensionConfiguration.js +1 -2
  49. package/dist-cjs/index.js +4820 -12
  50. package/dist-cjs/models/ECRServiceException.js +1 -12
  51. package/dist-cjs/models/index.js +1 -4
  52. package/dist-cjs/models/models_0.js +1 -595
  53. package/dist-cjs/pagination/DescribeImageScanFindingsPaginator.js +1 -7
  54. package/dist-cjs/pagination/DescribeImagesPaginator.js +1 -7
  55. package/dist-cjs/pagination/DescribePullThroughCacheRulesPaginator.js +1 -7
  56. package/dist-cjs/pagination/DescribeRepositoriesPaginator.js +1 -7
  57. package/dist-cjs/pagination/GetLifecyclePolicyPreviewPaginator.js +1 -7
  58. package/dist-cjs/pagination/Interfaces.js +1 -2
  59. package/dist-cjs/pagination/ListImagesPaginator.js +1 -7
  60. package/dist-cjs/pagination/index.js +1 -10
  61. package/dist-cjs/protocols/Aws_json1_1.js +1 -2934
  62. package/dist-cjs/runtimeExtensions.js +1 -22
  63. package/dist-cjs/waiters/index.js +1 -5
  64. package/dist-cjs/waiters/waitForImageScanComplete.js +1 -45
  65. package/dist-cjs/waiters/waitForLifecyclePolicyPreviewComplete.js +1 -45
  66. package/package.json +41 -41
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ECRServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class ECRServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, ECRServiceException.prototype);
10
- }
11
- }
12
- exports.ECRServiceException = ECRServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,595 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ImageDigestDoesNotMatchException = exports.ImageAlreadyExistsException = exports.ScanType = exports.LifecyclePolicyPreviewNotFoundException = exports.LifecyclePolicyPreviewStatus = exports.ImageActionType = exports.UnableToGetUpstreamLayerException = exports.LayersNotFoundException = exports.LayerInaccessibleException = exports.RepositoryFilterType = exports.ScanNotFoundException = exports.ScanStatus = exports.FindingSeverity = exports.TagStatus = exports.ImageNotFoundException = exports.ReplicationStatus = exports.RepositoryPolicyNotFoundException = exports.RepositoryNotEmptyException = exports.RegistryPolicyNotFoundException = exports.PullThroughCacheRuleNotFoundException = exports.LifecyclePolicyNotFoundException = exports.TooManyTagsException = exports.RepositoryAlreadyExistsException = exports.InvalidTagParameterException = exports.ImageTagMutability = exports.EncryptionType = exports.UnsupportedUpstreamRegistryException = exports.UnableToDecryptSecretValueException = exports.UnableToAccessSecretException = exports.SecretNotFoundException = exports.PullThroughCacheRuleAlreadyExistsException = exports.UpstreamRegistry = exports.UploadNotFoundException = exports.LayerPartTooSmallException = exports.LayerAlreadyExistsException = exports.KmsException = exports.InvalidLayerException = exports.EmptyUploadException = exports.ValidationException = exports.ScanFrequency = exports.ScanningRepositoryFilterType = exports.ScanningConfigurationFailureCode = exports.UnableToGetUpstreamImageException = exports.LimitExceededException = exports.ImageFailureCode = exports.ServerException = exports.RepositoryNotFoundException = exports.InvalidParameterException = exports.LayerAvailability = exports.LayerFailureCode = void 0;
4
- exports.InvalidLayerPartException = exports.LifecyclePolicyPreviewInProgressException = exports.UnsupportedImageTypeException = exports.ReferencedImagesNotFoundException = exports.ImageTagAlreadyExistsException = void 0;
5
- const ECRServiceException_1 = require("./ECRServiceException");
6
- exports.LayerFailureCode = {
7
- InvalidLayerDigest: "InvalidLayerDigest",
8
- MissingLayerDigest: "MissingLayerDigest",
9
- };
10
- exports.LayerAvailability = {
11
- AVAILABLE: "AVAILABLE",
12
- UNAVAILABLE: "UNAVAILABLE",
13
- };
14
- class InvalidParameterException extends ECRServiceException_1.ECRServiceException {
15
- constructor(opts) {
16
- super({
17
- name: "InvalidParameterException",
18
- $fault: "client",
19
- ...opts,
20
- });
21
- this.name = "InvalidParameterException";
22
- this.$fault = "client";
23
- Object.setPrototypeOf(this, InvalidParameterException.prototype);
24
- }
25
- }
26
- exports.InvalidParameterException = InvalidParameterException;
27
- class RepositoryNotFoundException extends ECRServiceException_1.ECRServiceException {
28
- constructor(opts) {
29
- super({
30
- name: "RepositoryNotFoundException",
31
- $fault: "client",
32
- ...opts,
33
- });
34
- this.name = "RepositoryNotFoundException";
35
- this.$fault = "client";
36
- Object.setPrototypeOf(this, RepositoryNotFoundException.prototype);
37
- }
38
- }
39
- exports.RepositoryNotFoundException = RepositoryNotFoundException;
40
- class ServerException extends ECRServiceException_1.ECRServiceException {
41
- constructor(opts) {
42
- super({
43
- name: "ServerException",
44
- $fault: "server",
45
- ...opts,
46
- });
47
- this.name = "ServerException";
48
- this.$fault = "server";
49
- Object.setPrototypeOf(this, ServerException.prototype);
50
- }
51
- }
52
- exports.ServerException = ServerException;
53
- exports.ImageFailureCode = {
54
- ImageNotFound: "ImageNotFound",
55
- ImageReferencedByManifestList: "ImageReferencedByManifestList",
56
- ImageTagDoesNotMatchDigest: "ImageTagDoesNotMatchDigest",
57
- InvalidImageDigest: "InvalidImageDigest",
58
- InvalidImageTag: "InvalidImageTag",
59
- KmsError: "KmsError",
60
- MissingDigestAndTag: "MissingDigestAndTag",
61
- UpstreamAccessDenied: "UpstreamAccessDenied",
62
- UpstreamTooManyRequests: "UpstreamTooManyRequests",
63
- UpstreamUnavailable: "UpstreamUnavailable",
64
- };
65
- class LimitExceededException extends ECRServiceException_1.ECRServiceException {
66
- constructor(opts) {
67
- super({
68
- name: "LimitExceededException",
69
- $fault: "client",
70
- ...opts,
71
- });
72
- this.name = "LimitExceededException";
73
- this.$fault = "client";
74
- Object.setPrototypeOf(this, LimitExceededException.prototype);
75
- }
76
- }
77
- exports.LimitExceededException = LimitExceededException;
78
- class UnableToGetUpstreamImageException extends ECRServiceException_1.ECRServiceException {
79
- constructor(opts) {
80
- super({
81
- name: "UnableToGetUpstreamImageException",
82
- $fault: "client",
83
- ...opts,
84
- });
85
- this.name = "UnableToGetUpstreamImageException";
86
- this.$fault = "client";
87
- Object.setPrototypeOf(this, UnableToGetUpstreamImageException.prototype);
88
- }
89
- }
90
- exports.UnableToGetUpstreamImageException = UnableToGetUpstreamImageException;
91
- exports.ScanningConfigurationFailureCode = {
92
- REPOSITORY_NOT_FOUND: "REPOSITORY_NOT_FOUND",
93
- };
94
- exports.ScanningRepositoryFilterType = {
95
- WILDCARD: "WILDCARD",
96
- };
97
- exports.ScanFrequency = {
98
- CONTINUOUS_SCAN: "CONTINUOUS_SCAN",
99
- MANUAL: "MANUAL",
100
- SCAN_ON_PUSH: "SCAN_ON_PUSH",
101
- };
102
- class ValidationException extends ECRServiceException_1.ECRServiceException {
103
- constructor(opts) {
104
- super({
105
- name: "ValidationException",
106
- $fault: "client",
107
- ...opts,
108
- });
109
- this.name = "ValidationException";
110
- this.$fault = "client";
111
- Object.setPrototypeOf(this, ValidationException.prototype);
112
- }
113
- }
114
- exports.ValidationException = ValidationException;
115
- class EmptyUploadException extends ECRServiceException_1.ECRServiceException {
116
- constructor(opts) {
117
- super({
118
- name: "EmptyUploadException",
119
- $fault: "client",
120
- ...opts,
121
- });
122
- this.name = "EmptyUploadException";
123
- this.$fault = "client";
124
- Object.setPrototypeOf(this, EmptyUploadException.prototype);
125
- }
126
- }
127
- exports.EmptyUploadException = EmptyUploadException;
128
- class InvalidLayerException extends ECRServiceException_1.ECRServiceException {
129
- constructor(opts) {
130
- super({
131
- name: "InvalidLayerException",
132
- $fault: "client",
133
- ...opts,
134
- });
135
- this.name = "InvalidLayerException";
136
- this.$fault = "client";
137
- Object.setPrototypeOf(this, InvalidLayerException.prototype);
138
- }
139
- }
140
- exports.InvalidLayerException = InvalidLayerException;
141
- class KmsException extends ECRServiceException_1.ECRServiceException {
142
- constructor(opts) {
143
- super({
144
- name: "KmsException",
145
- $fault: "client",
146
- ...opts,
147
- });
148
- this.name = "KmsException";
149
- this.$fault = "client";
150
- Object.setPrototypeOf(this, KmsException.prototype);
151
- this.kmsError = opts.kmsError;
152
- }
153
- }
154
- exports.KmsException = KmsException;
155
- class LayerAlreadyExistsException extends ECRServiceException_1.ECRServiceException {
156
- constructor(opts) {
157
- super({
158
- name: "LayerAlreadyExistsException",
159
- $fault: "client",
160
- ...opts,
161
- });
162
- this.name = "LayerAlreadyExistsException";
163
- this.$fault = "client";
164
- Object.setPrototypeOf(this, LayerAlreadyExistsException.prototype);
165
- }
166
- }
167
- exports.LayerAlreadyExistsException = LayerAlreadyExistsException;
168
- class LayerPartTooSmallException extends ECRServiceException_1.ECRServiceException {
169
- constructor(opts) {
170
- super({
171
- name: "LayerPartTooSmallException",
172
- $fault: "client",
173
- ...opts,
174
- });
175
- this.name = "LayerPartTooSmallException";
176
- this.$fault = "client";
177
- Object.setPrototypeOf(this, LayerPartTooSmallException.prototype);
178
- }
179
- }
180
- exports.LayerPartTooSmallException = LayerPartTooSmallException;
181
- class UploadNotFoundException extends ECRServiceException_1.ECRServiceException {
182
- constructor(opts) {
183
- super({
184
- name: "UploadNotFoundException",
185
- $fault: "client",
186
- ...opts,
187
- });
188
- this.name = "UploadNotFoundException";
189
- this.$fault = "client";
190
- Object.setPrototypeOf(this, UploadNotFoundException.prototype);
191
- }
192
- }
193
- exports.UploadNotFoundException = UploadNotFoundException;
194
- exports.UpstreamRegistry = {
195
- AzureContainerRegistry: "azure-container-registry",
196
- DockerHub: "docker-hub",
197
- EcrPublic: "ecr-public",
198
- GitHubContainerRegistry: "github-container-registry",
199
- K8s: "k8s",
200
- Quay: "quay",
201
- };
202
- class PullThroughCacheRuleAlreadyExistsException extends ECRServiceException_1.ECRServiceException {
203
- constructor(opts) {
204
- super({
205
- name: "PullThroughCacheRuleAlreadyExistsException",
206
- $fault: "client",
207
- ...opts,
208
- });
209
- this.name = "PullThroughCacheRuleAlreadyExistsException";
210
- this.$fault = "client";
211
- Object.setPrototypeOf(this, PullThroughCacheRuleAlreadyExistsException.prototype);
212
- }
213
- }
214
- exports.PullThroughCacheRuleAlreadyExistsException = PullThroughCacheRuleAlreadyExistsException;
215
- class SecretNotFoundException extends ECRServiceException_1.ECRServiceException {
216
- constructor(opts) {
217
- super({
218
- name: "SecretNotFoundException",
219
- $fault: "client",
220
- ...opts,
221
- });
222
- this.name = "SecretNotFoundException";
223
- this.$fault = "client";
224
- Object.setPrototypeOf(this, SecretNotFoundException.prototype);
225
- }
226
- }
227
- exports.SecretNotFoundException = SecretNotFoundException;
228
- class UnableToAccessSecretException extends ECRServiceException_1.ECRServiceException {
229
- constructor(opts) {
230
- super({
231
- name: "UnableToAccessSecretException",
232
- $fault: "client",
233
- ...opts,
234
- });
235
- this.name = "UnableToAccessSecretException";
236
- this.$fault = "client";
237
- Object.setPrototypeOf(this, UnableToAccessSecretException.prototype);
238
- }
239
- }
240
- exports.UnableToAccessSecretException = UnableToAccessSecretException;
241
- class UnableToDecryptSecretValueException extends ECRServiceException_1.ECRServiceException {
242
- constructor(opts) {
243
- super({
244
- name: "UnableToDecryptSecretValueException",
245
- $fault: "client",
246
- ...opts,
247
- });
248
- this.name = "UnableToDecryptSecretValueException";
249
- this.$fault = "client";
250
- Object.setPrototypeOf(this, UnableToDecryptSecretValueException.prototype);
251
- }
252
- }
253
- exports.UnableToDecryptSecretValueException = UnableToDecryptSecretValueException;
254
- class UnsupportedUpstreamRegistryException extends ECRServiceException_1.ECRServiceException {
255
- constructor(opts) {
256
- super({
257
- name: "UnsupportedUpstreamRegistryException",
258
- $fault: "client",
259
- ...opts,
260
- });
261
- this.name = "UnsupportedUpstreamRegistryException";
262
- this.$fault = "client";
263
- Object.setPrototypeOf(this, UnsupportedUpstreamRegistryException.prototype);
264
- }
265
- }
266
- exports.UnsupportedUpstreamRegistryException = UnsupportedUpstreamRegistryException;
267
- exports.EncryptionType = {
268
- AES256: "AES256",
269
- KMS: "KMS",
270
- };
271
- exports.ImageTagMutability = {
272
- IMMUTABLE: "IMMUTABLE",
273
- MUTABLE: "MUTABLE",
274
- };
275
- class InvalidTagParameterException extends ECRServiceException_1.ECRServiceException {
276
- constructor(opts) {
277
- super({
278
- name: "InvalidTagParameterException",
279
- $fault: "client",
280
- ...opts,
281
- });
282
- this.name = "InvalidTagParameterException";
283
- this.$fault = "client";
284
- Object.setPrototypeOf(this, InvalidTagParameterException.prototype);
285
- }
286
- }
287
- exports.InvalidTagParameterException = InvalidTagParameterException;
288
- class RepositoryAlreadyExistsException extends ECRServiceException_1.ECRServiceException {
289
- constructor(opts) {
290
- super({
291
- name: "RepositoryAlreadyExistsException",
292
- $fault: "client",
293
- ...opts,
294
- });
295
- this.name = "RepositoryAlreadyExistsException";
296
- this.$fault = "client";
297
- Object.setPrototypeOf(this, RepositoryAlreadyExistsException.prototype);
298
- }
299
- }
300
- exports.RepositoryAlreadyExistsException = RepositoryAlreadyExistsException;
301
- class TooManyTagsException extends ECRServiceException_1.ECRServiceException {
302
- constructor(opts) {
303
- super({
304
- name: "TooManyTagsException",
305
- $fault: "client",
306
- ...opts,
307
- });
308
- this.name = "TooManyTagsException";
309
- this.$fault = "client";
310
- Object.setPrototypeOf(this, TooManyTagsException.prototype);
311
- }
312
- }
313
- exports.TooManyTagsException = TooManyTagsException;
314
- class LifecyclePolicyNotFoundException extends ECRServiceException_1.ECRServiceException {
315
- constructor(opts) {
316
- super({
317
- name: "LifecyclePolicyNotFoundException",
318
- $fault: "client",
319
- ...opts,
320
- });
321
- this.name = "LifecyclePolicyNotFoundException";
322
- this.$fault = "client";
323
- Object.setPrototypeOf(this, LifecyclePolicyNotFoundException.prototype);
324
- }
325
- }
326
- exports.LifecyclePolicyNotFoundException = LifecyclePolicyNotFoundException;
327
- class PullThroughCacheRuleNotFoundException extends ECRServiceException_1.ECRServiceException {
328
- constructor(opts) {
329
- super({
330
- name: "PullThroughCacheRuleNotFoundException",
331
- $fault: "client",
332
- ...opts,
333
- });
334
- this.name = "PullThroughCacheRuleNotFoundException";
335
- this.$fault = "client";
336
- Object.setPrototypeOf(this, PullThroughCacheRuleNotFoundException.prototype);
337
- }
338
- }
339
- exports.PullThroughCacheRuleNotFoundException = PullThroughCacheRuleNotFoundException;
340
- class RegistryPolicyNotFoundException extends ECRServiceException_1.ECRServiceException {
341
- constructor(opts) {
342
- super({
343
- name: "RegistryPolicyNotFoundException",
344
- $fault: "client",
345
- ...opts,
346
- });
347
- this.name = "RegistryPolicyNotFoundException";
348
- this.$fault = "client";
349
- Object.setPrototypeOf(this, RegistryPolicyNotFoundException.prototype);
350
- }
351
- }
352
- exports.RegistryPolicyNotFoundException = RegistryPolicyNotFoundException;
353
- class RepositoryNotEmptyException extends ECRServiceException_1.ECRServiceException {
354
- constructor(opts) {
355
- super({
356
- name: "RepositoryNotEmptyException",
357
- $fault: "client",
358
- ...opts,
359
- });
360
- this.name = "RepositoryNotEmptyException";
361
- this.$fault = "client";
362
- Object.setPrototypeOf(this, RepositoryNotEmptyException.prototype);
363
- }
364
- }
365
- exports.RepositoryNotEmptyException = RepositoryNotEmptyException;
366
- class RepositoryPolicyNotFoundException extends ECRServiceException_1.ECRServiceException {
367
- constructor(opts) {
368
- super({
369
- name: "RepositoryPolicyNotFoundException",
370
- $fault: "client",
371
- ...opts,
372
- });
373
- this.name = "RepositoryPolicyNotFoundException";
374
- this.$fault = "client";
375
- Object.setPrototypeOf(this, RepositoryPolicyNotFoundException.prototype);
376
- }
377
- }
378
- exports.RepositoryPolicyNotFoundException = RepositoryPolicyNotFoundException;
379
- exports.ReplicationStatus = {
380
- COMPLETE: "COMPLETE",
381
- FAILED: "FAILED",
382
- IN_PROGRESS: "IN_PROGRESS",
383
- };
384
- class ImageNotFoundException extends ECRServiceException_1.ECRServiceException {
385
- constructor(opts) {
386
- super({
387
- name: "ImageNotFoundException",
388
- $fault: "client",
389
- ...opts,
390
- });
391
- this.name = "ImageNotFoundException";
392
- this.$fault = "client";
393
- Object.setPrototypeOf(this, ImageNotFoundException.prototype);
394
- }
395
- }
396
- exports.ImageNotFoundException = ImageNotFoundException;
397
- exports.TagStatus = {
398
- ANY: "ANY",
399
- TAGGED: "TAGGED",
400
- UNTAGGED: "UNTAGGED",
401
- };
402
- exports.FindingSeverity = {
403
- CRITICAL: "CRITICAL",
404
- HIGH: "HIGH",
405
- INFORMATIONAL: "INFORMATIONAL",
406
- LOW: "LOW",
407
- MEDIUM: "MEDIUM",
408
- UNDEFINED: "UNDEFINED",
409
- };
410
- exports.ScanStatus = {
411
- ACTIVE: "ACTIVE",
412
- COMPLETE: "COMPLETE",
413
- FAILED: "FAILED",
414
- FINDINGS_UNAVAILABLE: "FINDINGS_UNAVAILABLE",
415
- IN_PROGRESS: "IN_PROGRESS",
416
- PENDING: "PENDING",
417
- SCAN_ELIGIBILITY_EXPIRED: "SCAN_ELIGIBILITY_EXPIRED",
418
- UNSUPPORTED_IMAGE: "UNSUPPORTED_IMAGE",
419
- };
420
- class ScanNotFoundException extends ECRServiceException_1.ECRServiceException {
421
- constructor(opts) {
422
- super({
423
- name: "ScanNotFoundException",
424
- $fault: "client",
425
- ...opts,
426
- });
427
- this.name = "ScanNotFoundException";
428
- this.$fault = "client";
429
- Object.setPrototypeOf(this, ScanNotFoundException.prototype);
430
- }
431
- }
432
- exports.ScanNotFoundException = ScanNotFoundException;
433
- exports.RepositoryFilterType = {
434
- PREFIX_MATCH: "PREFIX_MATCH",
435
- };
436
- class LayerInaccessibleException extends ECRServiceException_1.ECRServiceException {
437
- constructor(opts) {
438
- super({
439
- name: "LayerInaccessibleException",
440
- $fault: "client",
441
- ...opts,
442
- });
443
- this.name = "LayerInaccessibleException";
444
- this.$fault = "client";
445
- Object.setPrototypeOf(this, LayerInaccessibleException.prototype);
446
- }
447
- }
448
- exports.LayerInaccessibleException = LayerInaccessibleException;
449
- class LayersNotFoundException extends ECRServiceException_1.ECRServiceException {
450
- constructor(opts) {
451
- super({
452
- name: "LayersNotFoundException",
453
- $fault: "client",
454
- ...opts,
455
- });
456
- this.name = "LayersNotFoundException";
457
- this.$fault = "client";
458
- Object.setPrototypeOf(this, LayersNotFoundException.prototype);
459
- }
460
- }
461
- exports.LayersNotFoundException = LayersNotFoundException;
462
- class UnableToGetUpstreamLayerException extends ECRServiceException_1.ECRServiceException {
463
- constructor(opts) {
464
- super({
465
- name: "UnableToGetUpstreamLayerException",
466
- $fault: "client",
467
- ...opts,
468
- });
469
- this.name = "UnableToGetUpstreamLayerException";
470
- this.$fault = "client";
471
- Object.setPrototypeOf(this, UnableToGetUpstreamLayerException.prototype);
472
- }
473
- }
474
- exports.UnableToGetUpstreamLayerException = UnableToGetUpstreamLayerException;
475
- exports.ImageActionType = {
476
- EXPIRE: "EXPIRE",
477
- };
478
- exports.LifecyclePolicyPreviewStatus = {
479
- COMPLETE: "COMPLETE",
480
- EXPIRED: "EXPIRED",
481
- FAILED: "FAILED",
482
- IN_PROGRESS: "IN_PROGRESS",
483
- };
484
- class LifecyclePolicyPreviewNotFoundException extends ECRServiceException_1.ECRServiceException {
485
- constructor(opts) {
486
- super({
487
- name: "LifecyclePolicyPreviewNotFoundException",
488
- $fault: "client",
489
- ...opts,
490
- });
491
- this.name = "LifecyclePolicyPreviewNotFoundException";
492
- this.$fault = "client";
493
- Object.setPrototypeOf(this, LifecyclePolicyPreviewNotFoundException.prototype);
494
- }
495
- }
496
- exports.LifecyclePolicyPreviewNotFoundException = LifecyclePolicyPreviewNotFoundException;
497
- exports.ScanType = {
498
- BASIC: "BASIC",
499
- ENHANCED: "ENHANCED",
500
- };
501
- class ImageAlreadyExistsException extends ECRServiceException_1.ECRServiceException {
502
- constructor(opts) {
503
- super({
504
- name: "ImageAlreadyExistsException",
505
- $fault: "client",
506
- ...opts,
507
- });
508
- this.name = "ImageAlreadyExistsException";
509
- this.$fault = "client";
510
- Object.setPrototypeOf(this, ImageAlreadyExistsException.prototype);
511
- }
512
- }
513
- exports.ImageAlreadyExistsException = ImageAlreadyExistsException;
514
- class ImageDigestDoesNotMatchException extends ECRServiceException_1.ECRServiceException {
515
- constructor(opts) {
516
- super({
517
- name: "ImageDigestDoesNotMatchException",
518
- $fault: "client",
519
- ...opts,
520
- });
521
- this.name = "ImageDigestDoesNotMatchException";
522
- this.$fault = "client";
523
- Object.setPrototypeOf(this, ImageDigestDoesNotMatchException.prototype);
524
- }
525
- }
526
- exports.ImageDigestDoesNotMatchException = ImageDigestDoesNotMatchException;
527
- class ImageTagAlreadyExistsException extends ECRServiceException_1.ECRServiceException {
528
- constructor(opts) {
529
- super({
530
- name: "ImageTagAlreadyExistsException",
531
- $fault: "client",
532
- ...opts,
533
- });
534
- this.name = "ImageTagAlreadyExistsException";
535
- this.$fault = "client";
536
- Object.setPrototypeOf(this, ImageTagAlreadyExistsException.prototype);
537
- }
538
- }
539
- exports.ImageTagAlreadyExistsException = ImageTagAlreadyExistsException;
540
- class ReferencedImagesNotFoundException extends ECRServiceException_1.ECRServiceException {
541
- constructor(opts) {
542
- super({
543
- name: "ReferencedImagesNotFoundException",
544
- $fault: "client",
545
- ...opts,
546
- });
547
- this.name = "ReferencedImagesNotFoundException";
548
- this.$fault = "client";
549
- Object.setPrototypeOf(this, ReferencedImagesNotFoundException.prototype);
550
- }
551
- }
552
- exports.ReferencedImagesNotFoundException = ReferencedImagesNotFoundException;
553
- class UnsupportedImageTypeException extends ECRServiceException_1.ECRServiceException {
554
- constructor(opts) {
555
- super({
556
- name: "UnsupportedImageTypeException",
557
- $fault: "client",
558
- ...opts,
559
- });
560
- this.name = "UnsupportedImageTypeException";
561
- this.$fault = "client";
562
- Object.setPrototypeOf(this, UnsupportedImageTypeException.prototype);
563
- }
564
- }
565
- exports.UnsupportedImageTypeException = UnsupportedImageTypeException;
566
- class LifecyclePolicyPreviewInProgressException extends ECRServiceException_1.ECRServiceException {
567
- constructor(opts) {
568
- super({
569
- name: "LifecyclePolicyPreviewInProgressException",
570
- $fault: "client",
571
- ...opts,
572
- });
573
- this.name = "LifecyclePolicyPreviewInProgressException";
574
- this.$fault = "client";
575
- Object.setPrototypeOf(this, LifecyclePolicyPreviewInProgressException.prototype);
576
- }
577
- }
578
- exports.LifecyclePolicyPreviewInProgressException = LifecyclePolicyPreviewInProgressException;
579
- class InvalidLayerPartException extends ECRServiceException_1.ECRServiceException {
580
- constructor(opts) {
581
- super({
582
- name: "InvalidLayerPartException",
583
- $fault: "client",
584
- ...opts,
585
- });
586
- this.name = "InvalidLayerPartException";
587
- this.$fault = "client";
588
- Object.setPrototypeOf(this, InvalidLayerPartException.prototype);
589
- this.registryId = opts.registryId;
590
- this.repositoryName = opts.repositoryName;
591
- this.uploadId = opts.uploadId;
592
- this.lastValidByteReceived = opts.lastValidByteReceived;
593
- }
594
- }
595
- exports.InvalidLayerPartException = InvalidLayerPartException;
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeImageScanFindings = void 0;
4
- const core_1 = require("@smithy/core");
5
- const DescribeImageScanFindingsCommand_1 = require("../commands/DescribeImageScanFindingsCommand");
6
- const ECRClient_1 = require("../ECRClient");
7
- exports.paginateDescribeImageScanFindings = (0, core_1.createPaginator)(ECRClient_1.ECRClient, DescribeImageScanFindingsCommand_1.DescribeImageScanFindingsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeImages = void 0;
4
- const core_1 = require("@smithy/core");
5
- const DescribeImagesCommand_1 = require("../commands/DescribeImagesCommand");
6
- const ECRClient_1 = require("../ECRClient");
7
- exports.paginateDescribeImages = (0, core_1.createPaginator)(ECRClient_1.ECRClient, DescribeImagesCommand_1.DescribeImagesCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribePullThroughCacheRules = void 0;
4
- const core_1 = require("@smithy/core");
5
- const DescribePullThroughCacheRulesCommand_1 = require("../commands/DescribePullThroughCacheRulesCommand");
6
- const ECRClient_1 = require("../ECRClient");
7
- exports.paginateDescribePullThroughCacheRules = (0, core_1.createPaginator)(ECRClient_1.ECRClient, DescribePullThroughCacheRulesCommand_1.DescribePullThroughCacheRulesCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeRepositories = void 0;
4
- const core_1 = require("@smithy/core");
5
- const DescribeRepositoriesCommand_1 = require("../commands/DescribeRepositoriesCommand");
6
- const ECRClient_1 = require("../ECRClient");
7
- exports.paginateDescribeRepositories = (0, core_1.createPaginator)(ECRClient_1.ECRClient, DescribeRepositoriesCommand_1.DescribeRepositoriesCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateGetLifecyclePolicyPreview = void 0;
4
- const core_1 = require("@smithy/core");
5
- const GetLifecyclePolicyPreviewCommand_1 = require("../commands/GetLifecyclePolicyPreviewCommand");
6
- const ECRClient_1 = require("../ECRClient");
7
- exports.paginateGetLifecyclePolicyPreview = (0, core_1.createPaginator)(ECRClient_1.ECRClient, GetLifecyclePolicyPreviewCommand_1.GetLifecyclePolicyPreviewCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListImages = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListImagesCommand_1 = require("../commands/ListImagesCommand");
6
- const ECRClient_1 = require("../ECRClient");
7
- exports.paginateListImages = (0, core_1.createPaginator)(ECRClient_1.ECRClient, ListImagesCommand_1.ListImagesCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");