@aws-sdk/client-ecr 3.296.0 → 3.297.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/dist-types/ECR.d.ts +42 -0
- package/dist-types/ECRClient.d.ts +24 -4
- package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +16 -0
- package/dist-types/commands/BatchDeleteImageCommand.d.ts +16 -0
- package/dist-types/commands/BatchGetImageCommand.d.ts +16 -0
- package/dist-types/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/CompleteLayerUploadCommand.d.ts +16 -0
- package/dist-types/commands/CreatePullThroughCacheRuleCommand.d.ts +16 -0
- package/dist-types/commands/CreateRepositoryCommand.d.ts +16 -0
- package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeletePullThroughCacheRuleCommand.d.ts +16 -0
- package/dist-types/commands/DeleteRegistryPolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +16 -0
- package/dist-types/commands/DeleteRepositoryPolicyCommand.d.ts +16 -0
- package/dist-types/commands/DescribeImageReplicationStatusCommand.d.ts +16 -0
- package/dist-types/commands/DescribeImageScanFindingsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeImagesCommand.d.ts +16 -0
- package/dist-types/commands/DescribePullThroughCacheRulesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeRegistryCommand.d.ts +16 -0
- package/dist-types/commands/DescribeRepositoriesCommand.d.ts +16 -0
- package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +16 -0
- package/dist-types/commands/GetDownloadUrlForLayerCommand.d.ts +16 -0
- package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +16 -0
- package/dist-types/commands/GetLifecyclePolicyPreviewCommand.d.ts +16 -0
- package/dist-types/commands/GetRegistryPolicyCommand.d.ts +16 -0
- package/dist-types/commands/GetRegistryScanningConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/GetRepositoryPolicyCommand.d.ts +16 -0
- package/dist-types/commands/InitiateLayerUploadCommand.d.ts +16 -0
- package/dist-types/commands/ListImagesCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/PutImageCommand.d.ts +16 -0
- package/dist-types/commands/PutImageScanningConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/PutImageTagMutabilityCommand.d.ts +16 -0
- package/dist-types/commands/PutLifecyclePolicyCommand.d.ts +16 -0
- package/dist-types/commands/PutRegistryPolicyCommand.d.ts +16 -0
- package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/PutReplicationConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/SetRepositoryPolicyCommand.d.ts +16 -0
- package/dist-types/commands/StartImageScanCommand.d.ts +16 -0
- package/dist-types/commands/StartLifecyclePolicyPreviewCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UploadLayerPartCommand.d.ts +16 -0
- package/dist-types/models/ECRServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +370 -0
- package/dist-types/pagination/DescribeImageScanFindingsPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeImagesPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribePullThroughCacheRulesPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeRepositoriesPaginator.d.ts +3 -0
- package/dist-types/pagination/GetLifecyclePolicyPreviewPaginator.d.ts +3 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListImagesPaginator.d.ts +3 -0
- package/package.json +3 -3
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { ECRServiceException as __BaseException } from "./ECRServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
3
6
|
export interface BatchCheckLayerAvailabilityRequest {
|
|
4
7
|
/**
|
|
5
8
|
* <p>The Amazon Web Services account ID associated with the registry that contains the image layers to
|
|
@@ -15,11 +18,15 @@ export interface BatchCheckLayerAvailabilityRequest {
|
|
|
15
18
|
*/
|
|
16
19
|
layerDigests: string[] | undefined;
|
|
17
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
18
24
|
export declare enum LayerFailureCode {
|
|
19
25
|
InvalidLayerDigest = "InvalidLayerDigest",
|
|
20
26
|
MissingLayerDigest = "MissingLayerDigest"
|
|
21
27
|
}
|
|
22
28
|
/**
|
|
29
|
+
* @public
|
|
23
30
|
* <p>An object representing an Amazon ECR image layer failure.</p>
|
|
24
31
|
*/
|
|
25
32
|
export interface LayerFailure {
|
|
@@ -36,11 +43,15 @@ export interface LayerFailure {
|
|
|
36
43
|
*/
|
|
37
44
|
failureReason?: string;
|
|
38
45
|
}
|
|
46
|
+
/**
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
39
49
|
export declare enum LayerAvailability {
|
|
40
50
|
AVAILABLE = "AVAILABLE",
|
|
41
51
|
UNAVAILABLE = "UNAVAILABLE"
|
|
42
52
|
}
|
|
43
53
|
/**
|
|
54
|
+
* @public
|
|
44
55
|
* <p>An object representing an Amazon ECR image layer.</p>
|
|
45
56
|
*/
|
|
46
57
|
export interface Layer {
|
|
@@ -63,6 +74,9 @@ export interface Layer {
|
|
|
63
74
|
*/
|
|
64
75
|
mediaType?: string;
|
|
65
76
|
}
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
66
80
|
export interface BatchCheckLayerAvailabilityResponse {
|
|
67
81
|
/**
|
|
68
82
|
* <p>A list of image layer objects corresponding to the image layer references in the
|
|
@@ -75,6 +89,7 @@ export interface BatchCheckLayerAvailabilityResponse {
|
|
|
75
89
|
failures?: LayerFailure[];
|
|
76
90
|
}
|
|
77
91
|
/**
|
|
92
|
+
* @public
|
|
78
93
|
* <p>The specified parameter is invalid. Review the available parameters for the API
|
|
79
94
|
* request.</p>
|
|
80
95
|
*/
|
|
@@ -87,6 +102,7 @@ export declare class InvalidParameterException extends __BaseException {
|
|
|
87
102
|
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
88
103
|
}
|
|
89
104
|
/**
|
|
105
|
+
* @public
|
|
90
106
|
* <p>The specified repository could not be found. Check the spelling of the specified
|
|
91
107
|
* repository and ensure that you are performing operations on the correct registry.</p>
|
|
92
108
|
*/
|
|
@@ -99,6 +115,7 @@ export declare class RepositoryNotFoundException extends __BaseException {
|
|
|
99
115
|
constructor(opts: __ExceptionOptionType<RepositoryNotFoundException, __BaseException>);
|
|
100
116
|
}
|
|
101
117
|
/**
|
|
118
|
+
* @public
|
|
102
119
|
* <p>These errors are usually caused by a server-side issue.</p>
|
|
103
120
|
*/
|
|
104
121
|
export declare class ServerException extends __BaseException {
|
|
@@ -110,6 +127,7 @@ export declare class ServerException extends __BaseException {
|
|
|
110
127
|
constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
|
|
111
128
|
}
|
|
112
129
|
/**
|
|
130
|
+
* @public
|
|
113
131
|
* <p>An object with identifying information for an image in an Amazon ECR repository.</p>
|
|
114
132
|
*/
|
|
115
133
|
export interface ImageIdentifier {
|
|
@@ -123,6 +141,7 @@ export interface ImageIdentifier {
|
|
|
123
141
|
imageTag?: string;
|
|
124
142
|
}
|
|
125
143
|
/**
|
|
144
|
+
* @public
|
|
126
145
|
* <p>Deletes specified images within a specified repository. Images are specified with
|
|
127
146
|
* either the <code>imageTag</code> or <code>imageDigest</code>.</p>
|
|
128
147
|
*/
|
|
@@ -143,6 +162,9 @@ export interface BatchDeleteImageRequest {
|
|
|
143
162
|
*/
|
|
144
163
|
imageIds: ImageIdentifier[] | undefined;
|
|
145
164
|
}
|
|
165
|
+
/**
|
|
166
|
+
* @public
|
|
167
|
+
*/
|
|
146
168
|
export declare enum ImageFailureCode {
|
|
147
169
|
ImageNotFound = "ImageNotFound",
|
|
148
170
|
ImageReferencedByManifestList = "ImageReferencedByManifestList",
|
|
@@ -153,6 +175,7 @@ export declare enum ImageFailureCode {
|
|
|
153
175
|
MissingDigestAndTag = "MissingDigestAndTag"
|
|
154
176
|
}
|
|
155
177
|
/**
|
|
178
|
+
* @public
|
|
156
179
|
* <p>An object representing an Amazon ECR image failure.</p>
|
|
157
180
|
*/
|
|
158
181
|
export interface ImageFailure {
|
|
@@ -169,6 +192,9 @@ export interface ImageFailure {
|
|
|
169
192
|
*/
|
|
170
193
|
failureReason?: string;
|
|
171
194
|
}
|
|
195
|
+
/**
|
|
196
|
+
* @public
|
|
197
|
+
*/
|
|
172
198
|
export interface BatchDeleteImageResponse {
|
|
173
199
|
/**
|
|
174
200
|
* <p>The image IDs of the deleted images.</p>
|
|
@@ -179,6 +205,9 @@ export interface BatchDeleteImageResponse {
|
|
|
179
205
|
*/
|
|
180
206
|
failures?: ImageFailure[];
|
|
181
207
|
}
|
|
208
|
+
/**
|
|
209
|
+
* @public
|
|
210
|
+
*/
|
|
182
211
|
export interface BatchGetImageRequest {
|
|
183
212
|
/**
|
|
184
213
|
* <p>The Amazon Web Services account ID associated with the registry that contains the images to
|
|
@@ -205,6 +234,7 @@ export interface BatchGetImageRequest {
|
|
|
205
234
|
acceptedMediaTypes?: string[];
|
|
206
235
|
}
|
|
207
236
|
/**
|
|
237
|
+
* @public
|
|
208
238
|
* <p>An object representing an Amazon ECR image.</p>
|
|
209
239
|
*/
|
|
210
240
|
export interface Image {
|
|
@@ -229,6 +259,9 @@ export interface Image {
|
|
|
229
259
|
*/
|
|
230
260
|
imageManifestMediaType?: string;
|
|
231
261
|
}
|
|
262
|
+
/**
|
|
263
|
+
* @public
|
|
264
|
+
*/
|
|
232
265
|
export interface BatchGetImageResponse {
|
|
233
266
|
/**
|
|
234
267
|
* <p>A list of image objects corresponding to the image references in the request.</p>
|
|
@@ -239,16 +272,23 @@ export interface BatchGetImageResponse {
|
|
|
239
272
|
*/
|
|
240
273
|
failures?: ImageFailure[];
|
|
241
274
|
}
|
|
275
|
+
/**
|
|
276
|
+
* @public
|
|
277
|
+
*/
|
|
242
278
|
export interface BatchGetRepositoryScanningConfigurationRequest {
|
|
243
279
|
/**
|
|
244
280
|
* <p>One or more repository names to get the scanning configuration for.</p>
|
|
245
281
|
*/
|
|
246
282
|
repositoryNames: string[] | undefined;
|
|
247
283
|
}
|
|
284
|
+
/**
|
|
285
|
+
* @public
|
|
286
|
+
*/
|
|
248
287
|
export declare enum ScanningConfigurationFailureCode {
|
|
249
288
|
REPOSITORY_NOT_FOUND = "REPOSITORY_NOT_FOUND"
|
|
250
289
|
}
|
|
251
290
|
/**
|
|
291
|
+
* @public
|
|
252
292
|
* <p>The details about any failures associated with the scanning configuration of a
|
|
253
293
|
* repository.</p>
|
|
254
294
|
*/
|
|
@@ -266,10 +306,14 @@ export interface RepositoryScanningConfigurationFailure {
|
|
|
266
306
|
*/
|
|
267
307
|
failureReason?: string;
|
|
268
308
|
}
|
|
309
|
+
/**
|
|
310
|
+
* @public
|
|
311
|
+
*/
|
|
269
312
|
export declare enum ScanningRepositoryFilterType {
|
|
270
313
|
WILDCARD = "WILDCARD"
|
|
271
314
|
}
|
|
272
315
|
/**
|
|
316
|
+
* @public
|
|
273
317
|
* <p>The details of a scanning repository filter. For more information on how to use
|
|
274
318
|
* filters, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html#image-scanning-filters">Using
|
|
275
319
|
* filters</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
@@ -284,12 +328,16 @@ export interface ScanningRepositoryFilter {
|
|
|
284
328
|
*/
|
|
285
329
|
filterType: ScanningRepositoryFilterType | string | undefined;
|
|
286
330
|
}
|
|
331
|
+
/**
|
|
332
|
+
* @public
|
|
333
|
+
*/
|
|
287
334
|
export declare enum ScanFrequency {
|
|
288
335
|
CONTINUOUS_SCAN = "CONTINUOUS_SCAN",
|
|
289
336
|
MANUAL = "MANUAL",
|
|
290
337
|
SCAN_ON_PUSH = "SCAN_ON_PUSH"
|
|
291
338
|
}
|
|
292
339
|
/**
|
|
340
|
+
* @public
|
|
293
341
|
* <p>The details of the scanning configuration for a repository.</p>
|
|
294
342
|
*/
|
|
295
343
|
export interface RepositoryScanningConfiguration {
|
|
@@ -314,6 +362,9 @@ export interface RepositoryScanningConfiguration {
|
|
|
314
362
|
*/
|
|
315
363
|
appliedScanFilters?: ScanningRepositoryFilter[];
|
|
316
364
|
}
|
|
365
|
+
/**
|
|
366
|
+
* @public
|
|
367
|
+
*/
|
|
317
368
|
export interface BatchGetRepositoryScanningConfigurationResponse {
|
|
318
369
|
/**
|
|
319
370
|
* <p>The scanning configuration for the requested repositories.</p>
|
|
@@ -325,6 +376,7 @@ export interface BatchGetRepositoryScanningConfigurationResponse {
|
|
|
325
376
|
failures?: RepositoryScanningConfigurationFailure[];
|
|
326
377
|
}
|
|
327
378
|
/**
|
|
379
|
+
* @public
|
|
328
380
|
* <p>There was an exception validating this request.</p>
|
|
329
381
|
*/
|
|
330
382
|
export declare class ValidationException extends __BaseException {
|
|
@@ -335,6 +387,9 @@ export declare class ValidationException extends __BaseException {
|
|
|
335
387
|
*/
|
|
336
388
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
337
389
|
}
|
|
390
|
+
/**
|
|
391
|
+
* @public
|
|
392
|
+
*/
|
|
338
393
|
export interface CompleteLayerUploadRequest {
|
|
339
394
|
/**
|
|
340
395
|
* <p>The Amazon Web Services account ID associated with the registry to which to upload layers.
|
|
@@ -355,6 +410,9 @@ export interface CompleteLayerUploadRequest {
|
|
|
355
410
|
*/
|
|
356
411
|
layerDigests: string[] | undefined;
|
|
357
412
|
}
|
|
413
|
+
/**
|
|
414
|
+
* @public
|
|
415
|
+
*/
|
|
358
416
|
export interface CompleteLayerUploadResponse {
|
|
359
417
|
/**
|
|
360
418
|
* <p>The registry ID associated with the request.</p>
|
|
@@ -374,6 +432,7 @@ export interface CompleteLayerUploadResponse {
|
|
|
374
432
|
layerDigest?: string;
|
|
375
433
|
}
|
|
376
434
|
/**
|
|
435
|
+
* @public
|
|
377
436
|
* <p>The specified layer upload does not contain any layer parts.</p>
|
|
378
437
|
*/
|
|
379
438
|
export declare class EmptyUploadException extends __BaseException {
|
|
@@ -385,6 +444,7 @@ export declare class EmptyUploadException extends __BaseException {
|
|
|
385
444
|
constructor(opts: __ExceptionOptionType<EmptyUploadException, __BaseException>);
|
|
386
445
|
}
|
|
387
446
|
/**
|
|
447
|
+
* @public
|
|
388
448
|
* <p>The layer digest calculation performed by Amazon ECR upon receipt of the image layer does
|
|
389
449
|
* not match the digest specified.</p>
|
|
390
450
|
*/
|
|
@@ -397,6 +457,7 @@ export declare class InvalidLayerException extends __BaseException {
|
|
|
397
457
|
constructor(opts: __ExceptionOptionType<InvalidLayerException, __BaseException>);
|
|
398
458
|
}
|
|
399
459
|
/**
|
|
460
|
+
* @public
|
|
400
461
|
* <p>The operation failed due to a KMS exception.</p>
|
|
401
462
|
*/
|
|
402
463
|
export declare class KmsException extends __BaseException {
|
|
@@ -412,6 +473,7 @@ export declare class KmsException extends __BaseException {
|
|
|
412
473
|
constructor(opts: __ExceptionOptionType<KmsException, __BaseException>);
|
|
413
474
|
}
|
|
414
475
|
/**
|
|
476
|
+
* @public
|
|
415
477
|
* <p>The image layer already exists in the associated repository.</p>
|
|
416
478
|
*/
|
|
417
479
|
export declare class LayerAlreadyExistsException extends __BaseException {
|
|
@@ -423,6 +485,7 @@ export declare class LayerAlreadyExistsException extends __BaseException {
|
|
|
423
485
|
constructor(opts: __ExceptionOptionType<LayerAlreadyExistsException, __BaseException>);
|
|
424
486
|
}
|
|
425
487
|
/**
|
|
488
|
+
* @public
|
|
426
489
|
* <p>Layer parts must be at least 5 MiB in size.</p>
|
|
427
490
|
*/
|
|
428
491
|
export declare class LayerPartTooSmallException extends __BaseException {
|
|
@@ -434,6 +497,7 @@ export declare class LayerPartTooSmallException extends __BaseException {
|
|
|
434
497
|
constructor(opts: __ExceptionOptionType<LayerPartTooSmallException, __BaseException>);
|
|
435
498
|
}
|
|
436
499
|
/**
|
|
500
|
+
* @public
|
|
437
501
|
* <p>The upload could not be found, or the specified upload ID is not valid for this
|
|
438
502
|
* repository.</p>
|
|
439
503
|
*/
|
|
@@ -445,6 +509,9 @@ export declare class UploadNotFoundException extends __BaseException {
|
|
|
445
509
|
*/
|
|
446
510
|
constructor(opts: __ExceptionOptionType<UploadNotFoundException, __BaseException>);
|
|
447
511
|
}
|
|
512
|
+
/**
|
|
513
|
+
* @public
|
|
514
|
+
*/
|
|
448
515
|
export interface CreatePullThroughCacheRuleRequest {
|
|
449
516
|
/**
|
|
450
517
|
* <p>The repository name prefix to use when caching images from the source registry.</p>
|
|
@@ -461,6 +528,9 @@ export interface CreatePullThroughCacheRuleRequest {
|
|
|
461
528
|
*/
|
|
462
529
|
registryId?: string;
|
|
463
530
|
}
|
|
531
|
+
/**
|
|
532
|
+
* @public
|
|
533
|
+
*/
|
|
464
534
|
export interface CreatePullThroughCacheRuleResponse {
|
|
465
535
|
/**
|
|
466
536
|
* <p>The Amazon ECR repository prefix associated with the pull through cache rule.</p>
|
|
@@ -481,6 +551,7 @@ export interface CreatePullThroughCacheRuleResponse {
|
|
|
481
551
|
registryId?: string;
|
|
482
552
|
}
|
|
483
553
|
/**
|
|
554
|
+
* @public
|
|
484
555
|
* <p>The operation did not succeed because it would have exceeded a service limit for your
|
|
485
556
|
* account. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html">Amazon ECR service quotas</a> in
|
|
486
557
|
* the Amazon Elastic Container Registry User Guide.</p>
|
|
@@ -494,6 +565,7 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
494
565
|
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
495
566
|
}
|
|
496
567
|
/**
|
|
568
|
+
* @public
|
|
497
569
|
* <p>A pull through cache rule with these settings already exists for the private
|
|
498
570
|
* registry.</p>
|
|
499
571
|
*/
|
|
@@ -506,6 +578,7 @@ export declare class PullThroughCacheRuleAlreadyExistsException extends __BaseEx
|
|
|
506
578
|
constructor(opts: __ExceptionOptionType<PullThroughCacheRuleAlreadyExistsException, __BaseException>);
|
|
507
579
|
}
|
|
508
580
|
/**
|
|
581
|
+
* @public
|
|
509
582
|
* <p>The specified upstream registry isn't supported.</p>
|
|
510
583
|
*/
|
|
511
584
|
export declare class UnsupportedUpstreamRegistryException extends __BaseException {
|
|
@@ -516,11 +589,15 @@ export declare class UnsupportedUpstreamRegistryException extends __BaseExceptio
|
|
|
516
589
|
*/
|
|
517
590
|
constructor(opts: __ExceptionOptionType<UnsupportedUpstreamRegistryException, __BaseException>);
|
|
518
591
|
}
|
|
592
|
+
/**
|
|
593
|
+
* @public
|
|
594
|
+
*/
|
|
519
595
|
export declare enum EncryptionType {
|
|
520
596
|
AES256 = "AES256",
|
|
521
597
|
KMS = "KMS"
|
|
522
598
|
}
|
|
523
599
|
/**
|
|
600
|
+
* @public
|
|
524
601
|
* <p>The encryption configuration for the repository. This determines how the contents of
|
|
525
602
|
* your repository are encrypted at rest.</p>
|
|
526
603
|
* <p>By default, when no encryption configuration is set or the <code>AES256</code>
|
|
@@ -558,6 +635,7 @@ export interface EncryptionConfiguration {
|
|
|
558
635
|
kmsKey?: string;
|
|
559
636
|
}
|
|
560
637
|
/**
|
|
638
|
+
* @public
|
|
561
639
|
* <p>The image scanning configuration for a repository.</p>
|
|
562
640
|
*/
|
|
563
641
|
export interface ImageScanningConfiguration {
|
|
@@ -569,11 +647,15 @@ export interface ImageScanningConfiguration {
|
|
|
569
647
|
*/
|
|
570
648
|
scanOnPush?: boolean;
|
|
571
649
|
}
|
|
650
|
+
/**
|
|
651
|
+
* @public
|
|
652
|
+
*/
|
|
572
653
|
export declare enum ImageTagMutability {
|
|
573
654
|
IMMUTABLE = "IMMUTABLE",
|
|
574
655
|
MUTABLE = "MUTABLE"
|
|
575
656
|
}
|
|
576
657
|
/**
|
|
658
|
+
* @public
|
|
577
659
|
* <p>The metadata to apply to a resource to help you categorize and organize them. Each tag
|
|
578
660
|
* consists of a key and a value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have
|
|
579
661
|
* a maximum length of 256 characters.</p>
|
|
@@ -589,6 +671,9 @@ export interface Tag {
|
|
|
589
671
|
*/
|
|
590
672
|
Value?: string;
|
|
591
673
|
}
|
|
674
|
+
/**
|
|
675
|
+
* @public
|
|
676
|
+
*/
|
|
592
677
|
export interface CreateRepositoryRequest {
|
|
593
678
|
/**
|
|
594
679
|
* <p>The Amazon Web Services account ID associated with the registry to create the repository.
|
|
@@ -627,6 +712,7 @@ export interface CreateRepositoryRequest {
|
|
|
627
712
|
encryptionConfiguration?: EncryptionConfiguration;
|
|
628
713
|
}
|
|
629
714
|
/**
|
|
715
|
+
* @public
|
|
630
716
|
* <p>An object representing a repository.</p>
|
|
631
717
|
*/
|
|
632
718
|
export interface Repository {
|
|
@@ -667,6 +753,9 @@ export interface Repository {
|
|
|
667
753
|
*/
|
|
668
754
|
encryptionConfiguration?: EncryptionConfiguration;
|
|
669
755
|
}
|
|
756
|
+
/**
|
|
757
|
+
* @public
|
|
758
|
+
*/
|
|
670
759
|
export interface CreateRepositoryResponse {
|
|
671
760
|
/**
|
|
672
761
|
* <p>The repository that was created.</p>
|
|
@@ -674,6 +763,7 @@ export interface CreateRepositoryResponse {
|
|
|
674
763
|
repository?: Repository;
|
|
675
764
|
}
|
|
676
765
|
/**
|
|
766
|
+
* @public
|
|
677
767
|
* <p>An invalid parameter has been specified. Tag keys can have a maximum character length of 128 characters, and tag values can have
|
|
678
768
|
* a maximum length of 256 characters.</p>
|
|
679
769
|
*/
|
|
@@ -686,6 +776,7 @@ export declare class InvalidTagParameterException extends __BaseException {
|
|
|
686
776
|
constructor(opts: __ExceptionOptionType<InvalidTagParameterException, __BaseException>);
|
|
687
777
|
}
|
|
688
778
|
/**
|
|
779
|
+
* @public
|
|
689
780
|
* <p>The specified repository already exists in the specified registry.</p>
|
|
690
781
|
*/
|
|
691
782
|
export declare class RepositoryAlreadyExistsException extends __BaseException {
|
|
@@ -697,6 +788,7 @@ export declare class RepositoryAlreadyExistsException extends __BaseException {
|
|
|
697
788
|
constructor(opts: __ExceptionOptionType<RepositoryAlreadyExistsException, __BaseException>);
|
|
698
789
|
}
|
|
699
790
|
/**
|
|
791
|
+
* @public
|
|
700
792
|
* <p>The list of tags on the repository is over the limit. The maximum number of tags that
|
|
701
793
|
* can be applied to a repository is 50.</p>
|
|
702
794
|
*/
|
|
@@ -708,6 +800,9 @@ export declare class TooManyTagsException extends __BaseException {
|
|
|
708
800
|
*/
|
|
709
801
|
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
710
802
|
}
|
|
803
|
+
/**
|
|
804
|
+
* @public
|
|
805
|
+
*/
|
|
711
806
|
export interface DeleteLifecyclePolicyRequest {
|
|
712
807
|
/**
|
|
713
808
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository.
|
|
@@ -719,6 +814,9 @@ export interface DeleteLifecyclePolicyRequest {
|
|
|
719
814
|
*/
|
|
720
815
|
repositoryName: string | undefined;
|
|
721
816
|
}
|
|
817
|
+
/**
|
|
818
|
+
* @public
|
|
819
|
+
*/
|
|
722
820
|
export interface DeleteLifecyclePolicyResponse {
|
|
723
821
|
/**
|
|
724
822
|
* <p>The registry ID associated with the request.</p>
|
|
@@ -738,6 +836,7 @@ export interface DeleteLifecyclePolicyResponse {
|
|
|
738
836
|
lastEvaluatedAt?: Date;
|
|
739
837
|
}
|
|
740
838
|
/**
|
|
839
|
+
* @public
|
|
741
840
|
* <p>The lifecycle policy could not be found, and no policy is set to the
|
|
742
841
|
* repository.</p>
|
|
743
842
|
*/
|
|
@@ -749,6 +848,9 @@ export declare class LifecyclePolicyNotFoundException extends __BaseException {
|
|
|
749
848
|
*/
|
|
750
849
|
constructor(opts: __ExceptionOptionType<LifecyclePolicyNotFoundException, __BaseException>);
|
|
751
850
|
}
|
|
851
|
+
/**
|
|
852
|
+
* @public
|
|
853
|
+
*/
|
|
752
854
|
export interface DeletePullThroughCacheRuleRequest {
|
|
753
855
|
/**
|
|
754
856
|
* <p>The Amazon ECR repository prefix associated with the pull through cache rule to
|
|
@@ -761,6 +863,9 @@ export interface DeletePullThroughCacheRuleRequest {
|
|
|
761
863
|
*/
|
|
762
864
|
registryId?: string;
|
|
763
865
|
}
|
|
866
|
+
/**
|
|
867
|
+
* @public
|
|
868
|
+
*/
|
|
764
869
|
export interface DeletePullThroughCacheRuleResponse {
|
|
765
870
|
/**
|
|
766
871
|
* <p>The Amazon ECR repository prefix associated with the request.</p>
|
|
@@ -780,6 +885,7 @@ export interface DeletePullThroughCacheRuleResponse {
|
|
|
780
885
|
registryId?: string;
|
|
781
886
|
}
|
|
782
887
|
/**
|
|
888
|
+
* @public
|
|
783
889
|
* <p>The pull through cache rule was not found. Specify a valid pull through cache rule and
|
|
784
890
|
* try again.</p>
|
|
785
891
|
*/
|
|
@@ -791,8 +897,14 @@ export declare class PullThroughCacheRuleNotFoundException extends __BaseExcepti
|
|
|
791
897
|
*/
|
|
792
898
|
constructor(opts: __ExceptionOptionType<PullThroughCacheRuleNotFoundException, __BaseException>);
|
|
793
899
|
}
|
|
900
|
+
/**
|
|
901
|
+
* @public
|
|
902
|
+
*/
|
|
794
903
|
export interface DeleteRegistryPolicyRequest {
|
|
795
904
|
}
|
|
905
|
+
/**
|
|
906
|
+
* @public
|
|
907
|
+
*/
|
|
796
908
|
export interface DeleteRegistryPolicyResponse {
|
|
797
909
|
/**
|
|
798
910
|
* <p>The registry ID associated with the request.</p>
|
|
@@ -804,6 +916,7 @@ export interface DeleteRegistryPolicyResponse {
|
|
|
804
916
|
policyText?: string;
|
|
805
917
|
}
|
|
806
918
|
/**
|
|
919
|
+
* @public
|
|
807
920
|
* <p>The registry doesn't have an associated registry policy.</p>
|
|
808
921
|
*/
|
|
809
922
|
export declare class RegistryPolicyNotFoundException extends __BaseException {
|
|
@@ -814,6 +927,9 @@ export declare class RegistryPolicyNotFoundException extends __BaseException {
|
|
|
814
927
|
*/
|
|
815
928
|
constructor(opts: __ExceptionOptionType<RegistryPolicyNotFoundException, __BaseException>);
|
|
816
929
|
}
|
|
930
|
+
/**
|
|
931
|
+
* @public
|
|
932
|
+
*/
|
|
817
933
|
export interface DeleteRepositoryRequest {
|
|
818
934
|
/**
|
|
819
935
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository to
|
|
@@ -829,6 +945,9 @@ export interface DeleteRepositoryRequest {
|
|
|
829
945
|
*/
|
|
830
946
|
force?: boolean;
|
|
831
947
|
}
|
|
948
|
+
/**
|
|
949
|
+
* @public
|
|
950
|
+
*/
|
|
832
951
|
export interface DeleteRepositoryResponse {
|
|
833
952
|
/**
|
|
834
953
|
* <p>The repository that was deleted.</p>
|
|
@@ -836,6 +955,7 @@ export interface DeleteRepositoryResponse {
|
|
|
836
955
|
repository?: Repository;
|
|
837
956
|
}
|
|
838
957
|
/**
|
|
958
|
+
* @public
|
|
839
959
|
* <p>The specified repository contains images. To delete a repository that contains images,
|
|
840
960
|
* you must force the deletion with the <code>force</code> parameter.</p>
|
|
841
961
|
*/
|
|
@@ -847,6 +967,9 @@ export declare class RepositoryNotEmptyException extends __BaseException {
|
|
|
847
967
|
*/
|
|
848
968
|
constructor(opts: __ExceptionOptionType<RepositoryNotEmptyException, __BaseException>);
|
|
849
969
|
}
|
|
970
|
+
/**
|
|
971
|
+
* @public
|
|
972
|
+
*/
|
|
850
973
|
export interface DeleteRepositoryPolicyRequest {
|
|
851
974
|
/**
|
|
852
975
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository policy
|
|
@@ -859,6 +982,9 @@ export interface DeleteRepositoryPolicyRequest {
|
|
|
859
982
|
*/
|
|
860
983
|
repositoryName: string | undefined;
|
|
861
984
|
}
|
|
985
|
+
/**
|
|
986
|
+
* @public
|
|
987
|
+
*/
|
|
862
988
|
export interface DeleteRepositoryPolicyResponse {
|
|
863
989
|
/**
|
|
864
990
|
* <p>The registry ID associated with the request.</p>
|
|
@@ -874,6 +1000,7 @@ export interface DeleteRepositoryPolicyResponse {
|
|
|
874
1000
|
policyText?: string;
|
|
875
1001
|
}
|
|
876
1002
|
/**
|
|
1003
|
+
* @public
|
|
877
1004
|
* <p>The specified repository and registry combination does not have an associated
|
|
878
1005
|
* repository policy.</p>
|
|
879
1006
|
*/
|
|
@@ -885,6 +1012,9 @@ export declare class RepositoryPolicyNotFoundException extends __BaseException {
|
|
|
885
1012
|
*/
|
|
886
1013
|
constructor(opts: __ExceptionOptionType<RepositoryPolicyNotFoundException, __BaseException>);
|
|
887
1014
|
}
|
|
1015
|
+
/**
|
|
1016
|
+
* @public
|
|
1017
|
+
*/
|
|
888
1018
|
export interface DescribeImageReplicationStatusRequest {
|
|
889
1019
|
/**
|
|
890
1020
|
* <p>The name of the repository that the image is in.</p>
|
|
@@ -899,12 +1029,16 @@ export interface DescribeImageReplicationStatusRequest {
|
|
|
899
1029
|
*/
|
|
900
1030
|
registryId?: string;
|
|
901
1031
|
}
|
|
1032
|
+
/**
|
|
1033
|
+
* @public
|
|
1034
|
+
*/
|
|
902
1035
|
export declare enum ReplicationStatus {
|
|
903
1036
|
COMPLETE = "COMPLETE",
|
|
904
1037
|
FAILED = "FAILED",
|
|
905
1038
|
IN_PROGRESS = "IN_PROGRESS"
|
|
906
1039
|
}
|
|
907
1040
|
/**
|
|
1041
|
+
* @public
|
|
908
1042
|
* <p>The status of the replication process for an image.</p>
|
|
909
1043
|
*/
|
|
910
1044
|
export interface ImageReplicationStatus {
|
|
@@ -925,6 +1059,9 @@ export interface ImageReplicationStatus {
|
|
|
925
1059
|
*/
|
|
926
1060
|
failureCode?: string;
|
|
927
1061
|
}
|
|
1062
|
+
/**
|
|
1063
|
+
* @public
|
|
1064
|
+
*/
|
|
928
1065
|
export interface DescribeImageReplicationStatusResponse {
|
|
929
1066
|
/**
|
|
930
1067
|
* <p>The repository name associated with the request.</p>
|
|
@@ -940,6 +1077,7 @@ export interface DescribeImageReplicationStatusResponse {
|
|
|
940
1077
|
replicationStatuses?: ImageReplicationStatus[];
|
|
941
1078
|
}
|
|
942
1079
|
/**
|
|
1080
|
+
* @public
|
|
943
1081
|
* <p>The image requested does not exist in the specified repository.</p>
|
|
944
1082
|
*/
|
|
945
1083
|
export declare class ImageNotFoundException extends __BaseException {
|
|
@@ -950,12 +1088,16 @@ export declare class ImageNotFoundException extends __BaseException {
|
|
|
950
1088
|
*/
|
|
951
1089
|
constructor(opts: __ExceptionOptionType<ImageNotFoundException, __BaseException>);
|
|
952
1090
|
}
|
|
1091
|
+
/**
|
|
1092
|
+
* @public
|
|
1093
|
+
*/
|
|
953
1094
|
export declare enum TagStatus {
|
|
954
1095
|
ANY = "ANY",
|
|
955
1096
|
TAGGED = "TAGGED",
|
|
956
1097
|
UNTAGGED = "UNTAGGED"
|
|
957
1098
|
}
|
|
958
1099
|
/**
|
|
1100
|
+
* @public
|
|
959
1101
|
* <p>An object representing a filter on a <a>DescribeImages</a>
|
|
960
1102
|
* operation.</p>
|
|
961
1103
|
*/
|
|
@@ -967,6 +1109,9 @@ export interface DescribeImagesFilter {
|
|
|
967
1109
|
*/
|
|
968
1110
|
tagStatus?: TagStatus | string;
|
|
969
1111
|
}
|
|
1112
|
+
/**
|
|
1113
|
+
* @public
|
|
1114
|
+
*/
|
|
970
1115
|
export interface DescribeImagesRequest {
|
|
971
1116
|
/**
|
|
972
1117
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
@@ -1008,6 +1153,9 @@ export interface DescribeImagesRequest {
|
|
|
1008
1153
|
*/
|
|
1009
1154
|
filter?: DescribeImagesFilter;
|
|
1010
1155
|
}
|
|
1156
|
+
/**
|
|
1157
|
+
* @public
|
|
1158
|
+
*/
|
|
1011
1159
|
export declare enum FindingSeverity {
|
|
1012
1160
|
CRITICAL = "CRITICAL",
|
|
1013
1161
|
HIGH = "HIGH",
|
|
@@ -1017,6 +1165,7 @@ export declare enum FindingSeverity {
|
|
|
1017
1165
|
UNDEFINED = "UNDEFINED"
|
|
1018
1166
|
}
|
|
1019
1167
|
/**
|
|
1168
|
+
* @public
|
|
1020
1169
|
* <p>A summary of the last completed image scan.</p>
|
|
1021
1170
|
*/
|
|
1022
1171
|
export interface ImageScanFindingsSummary {
|
|
@@ -1033,6 +1182,9 @@ export interface ImageScanFindingsSummary {
|
|
|
1033
1182
|
*/
|
|
1034
1183
|
findingSeverityCounts?: Record<string, number>;
|
|
1035
1184
|
}
|
|
1185
|
+
/**
|
|
1186
|
+
* @public
|
|
1187
|
+
*/
|
|
1036
1188
|
export declare enum ScanStatus {
|
|
1037
1189
|
ACTIVE = "ACTIVE",
|
|
1038
1190
|
COMPLETE = "COMPLETE",
|
|
@@ -1044,6 +1196,7 @@ export declare enum ScanStatus {
|
|
|
1044
1196
|
UNSUPPORTED_IMAGE = "UNSUPPORTED_IMAGE"
|
|
1045
1197
|
}
|
|
1046
1198
|
/**
|
|
1199
|
+
* @public
|
|
1047
1200
|
* <p>The current status of an image scan.</p>
|
|
1048
1201
|
*/
|
|
1049
1202
|
export interface ImageScanStatus {
|
|
@@ -1057,6 +1210,7 @@ export interface ImageScanStatus {
|
|
|
1057
1210
|
description?: string;
|
|
1058
1211
|
}
|
|
1059
1212
|
/**
|
|
1213
|
+
* @public
|
|
1060
1214
|
* <p>An object that describes an image returned by a <a>DescribeImages</a>
|
|
1061
1215
|
* operation.</p>
|
|
1062
1216
|
*/
|
|
@@ -1124,6 +1278,9 @@ export interface ImageDetail {
|
|
|
1124
1278
|
*/
|
|
1125
1279
|
lastRecordedPullTime?: Date;
|
|
1126
1280
|
}
|
|
1281
|
+
/**
|
|
1282
|
+
* @public
|
|
1283
|
+
*/
|
|
1127
1284
|
export interface DescribeImagesResponse {
|
|
1128
1285
|
/**
|
|
1129
1286
|
* <p>A list of <a>ImageDetail</a> objects that contain data about the
|
|
@@ -1139,6 +1296,9 @@ export interface DescribeImagesResponse {
|
|
|
1139
1296
|
*/
|
|
1140
1297
|
nextToken?: string;
|
|
1141
1298
|
}
|
|
1299
|
+
/**
|
|
1300
|
+
* @public
|
|
1301
|
+
*/
|
|
1142
1302
|
export interface DescribeImageScanFindingsRequest {
|
|
1143
1303
|
/**
|
|
1144
1304
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
@@ -1175,6 +1335,7 @@ export interface DescribeImageScanFindingsRequest {
|
|
|
1175
1335
|
maxResults?: number;
|
|
1176
1336
|
}
|
|
1177
1337
|
/**
|
|
1338
|
+
* @public
|
|
1178
1339
|
* <p>The CVSS score for a finding.</p>
|
|
1179
1340
|
*/
|
|
1180
1341
|
export interface CvssScore {
|
|
@@ -1196,6 +1357,7 @@ export interface CvssScore {
|
|
|
1196
1357
|
version?: string;
|
|
1197
1358
|
}
|
|
1198
1359
|
/**
|
|
1360
|
+
* @public
|
|
1199
1361
|
* <p>Information on the vulnerable package identified by a finding.</p>
|
|
1200
1362
|
*/
|
|
1201
1363
|
export interface VulnerablePackage {
|
|
@@ -1233,6 +1395,7 @@ export interface VulnerablePackage {
|
|
|
1233
1395
|
version?: string;
|
|
1234
1396
|
}
|
|
1235
1397
|
/**
|
|
1398
|
+
* @public
|
|
1236
1399
|
* <p>Information about a package vulnerability finding.</p>
|
|
1237
1400
|
*/
|
|
1238
1401
|
export interface PackageVulnerabilityDetails {
|
|
@@ -1279,6 +1442,7 @@ export interface PackageVulnerabilityDetails {
|
|
|
1279
1442
|
vulnerablePackages?: VulnerablePackage[];
|
|
1280
1443
|
}
|
|
1281
1444
|
/**
|
|
1445
|
+
* @public
|
|
1282
1446
|
* <p>Details about the recommended course of action to remediate the finding.</p>
|
|
1283
1447
|
*/
|
|
1284
1448
|
export interface Recommendation {
|
|
@@ -1292,6 +1456,7 @@ export interface Recommendation {
|
|
|
1292
1456
|
text?: string;
|
|
1293
1457
|
}
|
|
1294
1458
|
/**
|
|
1459
|
+
* @public
|
|
1295
1460
|
* <p>Information on how to remediate a finding.</p>
|
|
1296
1461
|
*/
|
|
1297
1462
|
export interface Remediation {
|
|
@@ -1302,6 +1467,7 @@ export interface Remediation {
|
|
|
1302
1467
|
recommendation?: Recommendation;
|
|
1303
1468
|
}
|
|
1304
1469
|
/**
|
|
1470
|
+
* @public
|
|
1305
1471
|
* <p>The image details of the Amazon ECR container image.</p>
|
|
1306
1472
|
*/
|
|
1307
1473
|
export interface AwsEcrContainerImageDetails {
|
|
@@ -1339,6 +1505,7 @@ export interface AwsEcrContainerImageDetails {
|
|
|
1339
1505
|
repositoryName?: string;
|
|
1340
1506
|
}
|
|
1341
1507
|
/**
|
|
1508
|
+
* @public
|
|
1342
1509
|
* <p>Contains details about the resource involved in the finding.</p>
|
|
1343
1510
|
*/
|
|
1344
1511
|
export interface ResourceDetails {
|
|
@@ -1349,6 +1516,7 @@ export interface ResourceDetails {
|
|
|
1349
1516
|
awsEcrContainerImage?: AwsEcrContainerImageDetails;
|
|
1350
1517
|
}
|
|
1351
1518
|
/**
|
|
1519
|
+
* @public
|
|
1352
1520
|
* <p>Details about the resource involved in a finding.</p>
|
|
1353
1521
|
*/
|
|
1354
1522
|
export interface Resource {
|
|
@@ -1370,6 +1538,7 @@ export interface Resource {
|
|
|
1370
1538
|
type?: string;
|
|
1371
1539
|
}
|
|
1372
1540
|
/**
|
|
1541
|
+
* @public
|
|
1373
1542
|
* <p>Details on adjustments Amazon Inspector made to the CVSS score for a finding.</p>
|
|
1374
1543
|
*/
|
|
1375
1544
|
export interface CvssScoreAdjustment {
|
|
@@ -1383,6 +1552,7 @@ export interface CvssScoreAdjustment {
|
|
|
1383
1552
|
reason?: string;
|
|
1384
1553
|
}
|
|
1385
1554
|
/**
|
|
1555
|
+
* @public
|
|
1386
1556
|
* <p>Information about the CVSS score.</p>
|
|
1387
1557
|
*/
|
|
1388
1558
|
export interface CvssScoreDetails {
|
|
@@ -1408,6 +1578,7 @@ export interface CvssScoreDetails {
|
|
|
1408
1578
|
version?: string;
|
|
1409
1579
|
}
|
|
1410
1580
|
/**
|
|
1581
|
+
* @public
|
|
1411
1582
|
* <p>Information about the Amazon Inspector score given to a finding.</p>
|
|
1412
1583
|
*/
|
|
1413
1584
|
export interface ScoreDetails {
|
|
@@ -1417,6 +1588,7 @@ export interface ScoreDetails {
|
|
|
1417
1588
|
cvss?: CvssScoreDetails;
|
|
1418
1589
|
}
|
|
1419
1590
|
/**
|
|
1591
|
+
* @public
|
|
1420
1592
|
* <p>The details of an enhanced image scan. This is returned when enhanced scanning is
|
|
1421
1593
|
* enabled for your private registry.</p>
|
|
1422
1594
|
*/
|
|
@@ -1483,6 +1655,7 @@ export interface EnhancedImageScanFinding {
|
|
|
1483
1655
|
updatedAt?: Date;
|
|
1484
1656
|
}
|
|
1485
1657
|
/**
|
|
1658
|
+
* @public
|
|
1486
1659
|
* <p>This data type is used in the <a>ImageScanFinding</a> data type.</p>
|
|
1487
1660
|
*/
|
|
1488
1661
|
export interface Attribute {
|
|
@@ -1496,6 +1669,7 @@ export interface Attribute {
|
|
|
1496
1669
|
value?: string;
|
|
1497
1670
|
}
|
|
1498
1671
|
/**
|
|
1672
|
+
* @public
|
|
1499
1673
|
* <p>Contains information about an image scan finding.</p>
|
|
1500
1674
|
*/
|
|
1501
1675
|
export interface ImageScanFinding {
|
|
@@ -1521,6 +1695,7 @@ export interface ImageScanFinding {
|
|
|
1521
1695
|
attributes?: Attribute[];
|
|
1522
1696
|
}
|
|
1523
1697
|
/**
|
|
1698
|
+
* @public
|
|
1524
1699
|
* <p>The details of an image scan.</p>
|
|
1525
1700
|
*/
|
|
1526
1701
|
export interface ImageScanFindings {
|
|
@@ -1545,6 +1720,9 @@ export interface ImageScanFindings {
|
|
|
1545
1720
|
*/
|
|
1546
1721
|
enhancedFindings?: EnhancedImageScanFinding[];
|
|
1547
1722
|
}
|
|
1723
|
+
/**
|
|
1724
|
+
* @public
|
|
1725
|
+
*/
|
|
1548
1726
|
export interface DescribeImageScanFindingsResponse {
|
|
1549
1727
|
/**
|
|
1550
1728
|
* <p>The registry ID associated with the request.</p>
|
|
@@ -1576,6 +1754,7 @@ export interface DescribeImageScanFindingsResponse {
|
|
|
1576
1754
|
nextToken?: string;
|
|
1577
1755
|
}
|
|
1578
1756
|
/**
|
|
1757
|
+
* @public
|
|
1579
1758
|
* <p>The specified image scan could not be found. Ensure that image scanning is enabled on
|
|
1580
1759
|
* the repository and try again.</p>
|
|
1581
1760
|
*/
|
|
@@ -1587,6 +1766,9 @@ export declare class ScanNotFoundException extends __BaseException {
|
|
|
1587
1766
|
*/
|
|
1588
1767
|
constructor(opts: __ExceptionOptionType<ScanNotFoundException, __BaseException>);
|
|
1589
1768
|
}
|
|
1769
|
+
/**
|
|
1770
|
+
* @public
|
|
1771
|
+
*/
|
|
1590
1772
|
export interface DescribePullThroughCacheRulesRequest {
|
|
1591
1773
|
/**
|
|
1592
1774
|
* <p>The Amazon Web Services account ID associated with the registry to return the pull through cache
|
|
@@ -1622,6 +1804,7 @@ export interface DescribePullThroughCacheRulesRequest {
|
|
|
1622
1804
|
maxResults?: number;
|
|
1623
1805
|
}
|
|
1624
1806
|
/**
|
|
1807
|
+
* @public
|
|
1625
1808
|
* <p>The details of a pull through cache rule.</p>
|
|
1626
1809
|
*/
|
|
1627
1810
|
export interface PullThroughCacheRule {
|
|
@@ -1643,6 +1826,9 @@ export interface PullThroughCacheRule {
|
|
|
1643
1826
|
*/
|
|
1644
1827
|
registryId?: string;
|
|
1645
1828
|
}
|
|
1829
|
+
/**
|
|
1830
|
+
* @public
|
|
1831
|
+
*/
|
|
1646
1832
|
export interface DescribePullThroughCacheRulesResponse {
|
|
1647
1833
|
/**
|
|
1648
1834
|
* <p>The details of the pull through cache rules.</p>
|
|
@@ -1657,9 +1843,13 @@ export interface DescribePullThroughCacheRulesResponse {
|
|
|
1657
1843
|
*/
|
|
1658
1844
|
nextToken?: string;
|
|
1659
1845
|
}
|
|
1846
|
+
/**
|
|
1847
|
+
* @public
|
|
1848
|
+
*/
|
|
1660
1849
|
export interface DescribeRegistryRequest {
|
|
1661
1850
|
}
|
|
1662
1851
|
/**
|
|
1852
|
+
* @public
|
|
1663
1853
|
* <p>An array of objects representing the destination for a replication rule.</p>
|
|
1664
1854
|
*/
|
|
1665
1855
|
export interface ReplicationDestination {
|
|
@@ -1673,10 +1863,14 @@ export interface ReplicationDestination {
|
|
|
1673
1863
|
*/
|
|
1674
1864
|
registryId: string | undefined;
|
|
1675
1865
|
}
|
|
1866
|
+
/**
|
|
1867
|
+
* @public
|
|
1868
|
+
*/
|
|
1676
1869
|
export declare enum RepositoryFilterType {
|
|
1677
1870
|
PREFIX_MATCH = "PREFIX_MATCH"
|
|
1678
1871
|
}
|
|
1679
1872
|
/**
|
|
1873
|
+
* @public
|
|
1680
1874
|
* <p>The filter settings used with image replication. Specifying a repository filter to a
|
|
1681
1875
|
* replication rule provides a method for controlling which repositories in a private
|
|
1682
1876
|
* registry are replicated. If no repository filter is specified, all images in the
|
|
@@ -1697,6 +1891,7 @@ export interface RepositoryFilter {
|
|
|
1697
1891
|
filterType: RepositoryFilterType | string | undefined;
|
|
1698
1892
|
}
|
|
1699
1893
|
/**
|
|
1894
|
+
* @public
|
|
1700
1895
|
* <p>An array of objects representing the replication destinations and repository filters
|
|
1701
1896
|
* for a replication configuration.</p>
|
|
1702
1897
|
*/
|
|
@@ -1713,6 +1908,7 @@ export interface ReplicationRule {
|
|
|
1713
1908
|
repositoryFilters?: RepositoryFilter[];
|
|
1714
1909
|
}
|
|
1715
1910
|
/**
|
|
1911
|
+
* @public
|
|
1716
1912
|
* <p>The replication configuration for a registry.</p>
|
|
1717
1913
|
*/
|
|
1718
1914
|
export interface ReplicationConfiguration {
|
|
@@ -1722,6 +1918,9 @@ export interface ReplicationConfiguration {
|
|
|
1722
1918
|
*/
|
|
1723
1919
|
rules: ReplicationRule[] | undefined;
|
|
1724
1920
|
}
|
|
1921
|
+
/**
|
|
1922
|
+
* @public
|
|
1923
|
+
*/
|
|
1725
1924
|
export interface DescribeRegistryResponse {
|
|
1726
1925
|
/**
|
|
1727
1926
|
* <p>The ID of the registry.</p>
|
|
@@ -1732,6 +1931,9 @@ export interface DescribeRegistryResponse {
|
|
|
1732
1931
|
*/
|
|
1733
1932
|
replicationConfiguration?: ReplicationConfiguration;
|
|
1734
1933
|
}
|
|
1934
|
+
/**
|
|
1935
|
+
* @public
|
|
1936
|
+
*/
|
|
1735
1937
|
export interface DescribeRepositoriesRequest {
|
|
1736
1938
|
/**
|
|
1737
1939
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repositories to be
|
|
@@ -1770,6 +1972,9 @@ export interface DescribeRepositoriesRequest {
|
|
|
1770
1972
|
*/
|
|
1771
1973
|
maxResults?: number;
|
|
1772
1974
|
}
|
|
1975
|
+
/**
|
|
1976
|
+
* @public
|
|
1977
|
+
*/
|
|
1773
1978
|
export interface DescribeRepositoriesResponse {
|
|
1774
1979
|
/**
|
|
1775
1980
|
* <p>A list of repository objects corresponding to valid repositories.</p>
|
|
@@ -1784,6 +1989,9 @@ export interface DescribeRepositoriesResponse {
|
|
|
1784
1989
|
*/
|
|
1785
1990
|
nextToken?: string;
|
|
1786
1991
|
}
|
|
1992
|
+
/**
|
|
1993
|
+
* @public
|
|
1994
|
+
*/
|
|
1787
1995
|
export interface GetAuthorizationTokenRequest {
|
|
1788
1996
|
/**
|
|
1789
1997
|
* @deprecated
|
|
@@ -1794,6 +2002,7 @@ export interface GetAuthorizationTokenRequest {
|
|
|
1794
2002
|
registryIds?: string[];
|
|
1795
2003
|
}
|
|
1796
2004
|
/**
|
|
2005
|
+
* @public
|
|
1797
2006
|
* <p>An object representing authorization data for an Amazon ECR registry.</p>
|
|
1798
2007
|
*/
|
|
1799
2008
|
export interface AuthorizationData {
|
|
@@ -1817,6 +2026,9 @@ export interface AuthorizationData {
|
|
|
1817
2026
|
*/
|
|
1818
2027
|
proxyEndpoint?: string;
|
|
1819
2028
|
}
|
|
2029
|
+
/**
|
|
2030
|
+
* @public
|
|
2031
|
+
*/
|
|
1820
2032
|
export interface GetAuthorizationTokenResponse {
|
|
1821
2033
|
/**
|
|
1822
2034
|
* <p>A list of authorization token data objects that correspond to the
|
|
@@ -1824,6 +2036,9 @@ export interface GetAuthorizationTokenResponse {
|
|
|
1824
2036
|
*/
|
|
1825
2037
|
authorizationData?: AuthorizationData[];
|
|
1826
2038
|
}
|
|
2039
|
+
/**
|
|
2040
|
+
* @public
|
|
2041
|
+
*/
|
|
1827
2042
|
export interface GetDownloadUrlForLayerRequest {
|
|
1828
2043
|
/**
|
|
1829
2044
|
* <p>The Amazon Web Services account ID associated with the registry that contains the image layer to
|
|
@@ -1839,6 +2054,9 @@ export interface GetDownloadUrlForLayerRequest {
|
|
|
1839
2054
|
*/
|
|
1840
2055
|
layerDigest: string | undefined;
|
|
1841
2056
|
}
|
|
2057
|
+
/**
|
|
2058
|
+
* @public
|
|
2059
|
+
*/
|
|
1842
2060
|
export interface GetDownloadUrlForLayerResponse {
|
|
1843
2061
|
/**
|
|
1844
2062
|
* <p>The pre-signed Amazon S3 download URL for the requested layer.</p>
|
|
@@ -1850,6 +2068,7 @@ export interface GetDownloadUrlForLayerResponse {
|
|
|
1850
2068
|
layerDigest?: string;
|
|
1851
2069
|
}
|
|
1852
2070
|
/**
|
|
2071
|
+
* @public
|
|
1853
2072
|
* <p>The specified layer is not available because it is not associated with an image.
|
|
1854
2073
|
* Unassociated image layers may be cleaned up at any time.</p>
|
|
1855
2074
|
*/
|
|
@@ -1862,6 +2081,7 @@ export declare class LayerInaccessibleException extends __BaseException {
|
|
|
1862
2081
|
constructor(opts: __ExceptionOptionType<LayerInaccessibleException, __BaseException>);
|
|
1863
2082
|
}
|
|
1864
2083
|
/**
|
|
2084
|
+
* @public
|
|
1865
2085
|
* <p>The specified layers could not be found, or the specified layer is not valid for this
|
|
1866
2086
|
* repository.</p>
|
|
1867
2087
|
*/
|
|
@@ -1873,6 +2093,9 @@ export declare class LayersNotFoundException extends __BaseException {
|
|
|
1873
2093
|
*/
|
|
1874
2094
|
constructor(opts: __ExceptionOptionType<LayersNotFoundException, __BaseException>);
|
|
1875
2095
|
}
|
|
2096
|
+
/**
|
|
2097
|
+
* @public
|
|
2098
|
+
*/
|
|
1876
2099
|
export interface GetLifecyclePolicyRequest {
|
|
1877
2100
|
/**
|
|
1878
2101
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository.
|
|
@@ -1884,6 +2107,9 @@ export interface GetLifecyclePolicyRequest {
|
|
|
1884
2107
|
*/
|
|
1885
2108
|
repositoryName: string | undefined;
|
|
1886
2109
|
}
|
|
2110
|
+
/**
|
|
2111
|
+
* @public
|
|
2112
|
+
*/
|
|
1887
2113
|
export interface GetLifecyclePolicyResponse {
|
|
1888
2114
|
/**
|
|
1889
2115
|
* <p>The registry ID associated with the request.</p>
|
|
@@ -1903,6 +2129,7 @@ export interface GetLifecyclePolicyResponse {
|
|
|
1903
2129
|
lastEvaluatedAt?: Date;
|
|
1904
2130
|
}
|
|
1905
2131
|
/**
|
|
2132
|
+
* @public
|
|
1906
2133
|
* <p>The filter for the lifecycle policy preview.</p>
|
|
1907
2134
|
*/
|
|
1908
2135
|
export interface LifecyclePolicyPreviewFilter {
|
|
@@ -1911,6 +2138,9 @@ export interface LifecyclePolicyPreviewFilter {
|
|
|
1911
2138
|
*/
|
|
1912
2139
|
tagStatus?: TagStatus | string;
|
|
1913
2140
|
}
|
|
2141
|
+
/**
|
|
2142
|
+
* @public
|
|
2143
|
+
*/
|
|
1914
2144
|
export interface GetLifecyclePolicyPreviewRequest {
|
|
1915
2145
|
/**
|
|
1916
2146
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository.
|
|
@@ -1964,10 +2194,14 @@ export interface GetLifecyclePolicyPreviewRequest {
|
|
|
1964
2194
|
*/
|
|
1965
2195
|
filter?: LifecyclePolicyPreviewFilter;
|
|
1966
2196
|
}
|
|
2197
|
+
/**
|
|
2198
|
+
* @public
|
|
2199
|
+
*/
|
|
1967
2200
|
export declare enum ImageActionType {
|
|
1968
2201
|
EXPIRE = "EXPIRE"
|
|
1969
2202
|
}
|
|
1970
2203
|
/**
|
|
2204
|
+
* @public
|
|
1971
2205
|
* <p>The type of action to be taken.</p>
|
|
1972
2206
|
*/
|
|
1973
2207
|
export interface LifecyclePolicyRuleAction {
|
|
@@ -1977,6 +2211,7 @@ export interface LifecyclePolicyRuleAction {
|
|
|
1977
2211
|
type?: ImageActionType | string;
|
|
1978
2212
|
}
|
|
1979
2213
|
/**
|
|
2214
|
+
* @public
|
|
1980
2215
|
* <p>The result of the lifecycle policy preview.</p>
|
|
1981
2216
|
*/
|
|
1982
2217
|
export interface LifecyclePolicyPreviewResult {
|
|
@@ -2002,6 +2237,9 @@ export interface LifecyclePolicyPreviewResult {
|
|
|
2002
2237
|
*/
|
|
2003
2238
|
appliedRulePriority?: number;
|
|
2004
2239
|
}
|
|
2240
|
+
/**
|
|
2241
|
+
* @public
|
|
2242
|
+
*/
|
|
2005
2243
|
export declare enum LifecyclePolicyPreviewStatus {
|
|
2006
2244
|
COMPLETE = "COMPLETE",
|
|
2007
2245
|
EXPIRED = "EXPIRED",
|
|
@@ -2009,6 +2247,7 @@ export declare enum LifecyclePolicyPreviewStatus {
|
|
|
2009
2247
|
IN_PROGRESS = "IN_PROGRESS"
|
|
2010
2248
|
}
|
|
2011
2249
|
/**
|
|
2250
|
+
* @public
|
|
2012
2251
|
* <p>The summary of the lifecycle policy preview request.</p>
|
|
2013
2252
|
*/
|
|
2014
2253
|
export interface LifecyclePolicyPreviewSummary {
|
|
@@ -2017,6 +2256,9 @@ export interface LifecyclePolicyPreviewSummary {
|
|
|
2017
2256
|
*/
|
|
2018
2257
|
expiringImageTotalCount?: number;
|
|
2019
2258
|
}
|
|
2259
|
+
/**
|
|
2260
|
+
* @public
|
|
2261
|
+
*/
|
|
2020
2262
|
export interface GetLifecyclePolicyPreviewResponse {
|
|
2021
2263
|
/**
|
|
2022
2264
|
* <p>The registry ID associated with the request.</p>
|
|
@@ -2052,6 +2294,7 @@ export interface GetLifecyclePolicyPreviewResponse {
|
|
|
2052
2294
|
summary?: LifecyclePolicyPreviewSummary;
|
|
2053
2295
|
}
|
|
2054
2296
|
/**
|
|
2297
|
+
* @public
|
|
2055
2298
|
* <p>There is no dry run for this repository.</p>
|
|
2056
2299
|
*/
|
|
2057
2300
|
export declare class LifecyclePolicyPreviewNotFoundException extends __BaseException {
|
|
@@ -2062,8 +2305,14 @@ export declare class LifecyclePolicyPreviewNotFoundException extends __BaseExcep
|
|
|
2062
2305
|
*/
|
|
2063
2306
|
constructor(opts: __ExceptionOptionType<LifecyclePolicyPreviewNotFoundException, __BaseException>);
|
|
2064
2307
|
}
|
|
2308
|
+
/**
|
|
2309
|
+
* @public
|
|
2310
|
+
*/
|
|
2065
2311
|
export interface GetRegistryPolicyRequest {
|
|
2066
2312
|
}
|
|
2313
|
+
/**
|
|
2314
|
+
* @public
|
|
2315
|
+
*/
|
|
2067
2316
|
export interface GetRegistryPolicyResponse {
|
|
2068
2317
|
/**
|
|
2069
2318
|
* <p>The ID of the registry.</p>
|
|
@@ -2074,9 +2323,13 @@ export interface GetRegistryPolicyResponse {
|
|
|
2074
2323
|
*/
|
|
2075
2324
|
policyText?: string;
|
|
2076
2325
|
}
|
|
2326
|
+
/**
|
|
2327
|
+
* @public
|
|
2328
|
+
*/
|
|
2077
2329
|
export interface GetRegistryScanningConfigurationRequest {
|
|
2078
2330
|
}
|
|
2079
2331
|
/**
|
|
2332
|
+
* @public
|
|
2080
2333
|
* <p>The details of a scanning rule for a private registry.</p>
|
|
2081
2334
|
*/
|
|
2082
2335
|
export interface RegistryScanningRule {
|
|
@@ -2094,11 +2347,15 @@ export interface RegistryScanningRule {
|
|
|
2094
2347
|
*/
|
|
2095
2348
|
repositoryFilters: ScanningRepositoryFilter[] | undefined;
|
|
2096
2349
|
}
|
|
2350
|
+
/**
|
|
2351
|
+
* @public
|
|
2352
|
+
*/
|
|
2097
2353
|
export declare enum ScanType {
|
|
2098
2354
|
BASIC = "BASIC",
|
|
2099
2355
|
ENHANCED = "ENHANCED"
|
|
2100
2356
|
}
|
|
2101
2357
|
/**
|
|
2358
|
+
* @public
|
|
2102
2359
|
* <p>The scanning configuration for a private registry.</p>
|
|
2103
2360
|
*/
|
|
2104
2361
|
export interface RegistryScanningConfiguration {
|
|
@@ -2111,6 +2368,9 @@ export interface RegistryScanningConfiguration {
|
|
|
2111
2368
|
*/
|
|
2112
2369
|
rules?: RegistryScanningRule[];
|
|
2113
2370
|
}
|
|
2371
|
+
/**
|
|
2372
|
+
* @public
|
|
2373
|
+
*/
|
|
2114
2374
|
export interface GetRegistryScanningConfigurationResponse {
|
|
2115
2375
|
/**
|
|
2116
2376
|
* <p>The ID of the registry.</p>
|
|
@@ -2121,6 +2381,9 @@ export interface GetRegistryScanningConfigurationResponse {
|
|
|
2121
2381
|
*/
|
|
2122
2382
|
scanningConfiguration?: RegistryScanningConfiguration;
|
|
2123
2383
|
}
|
|
2384
|
+
/**
|
|
2385
|
+
* @public
|
|
2386
|
+
*/
|
|
2124
2387
|
export interface GetRepositoryPolicyRequest {
|
|
2125
2388
|
/**
|
|
2126
2389
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository.
|
|
@@ -2132,6 +2395,9 @@ export interface GetRepositoryPolicyRequest {
|
|
|
2132
2395
|
*/
|
|
2133
2396
|
repositoryName: string | undefined;
|
|
2134
2397
|
}
|
|
2398
|
+
/**
|
|
2399
|
+
* @public
|
|
2400
|
+
*/
|
|
2135
2401
|
export interface GetRepositoryPolicyResponse {
|
|
2136
2402
|
/**
|
|
2137
2403
|
* <p>The registry ID associated with the request.</p>
|
|
@@ -2146,6 +2412,9 @@ export interface GetRepositoryPolicyResponse {
|
|
|
2146
2412
|
*/
|
|
2147
2413
|
policyText?: string;
|
|
2148
2414
|
}
|
|
2415
|
+
/**
|
|
2416
|
+
* @public
|
|
2417
|
+
*/
|
|
2149
2418
|
export interface InitiateLayerUploadRequest {
|
|
2150
2419
|
/**
|
|
2151
2420
|
* <p>The Amazon Web Services account ID associated with the registry to which you intend to upload
|
|
@@ -2157,6 +2426,9 @@ export interface InitiateLayerUploadRequest {
|
|
|
2157
2426
|
*/
|
|
2158
2427
|
repositoryName: string | undefined;
|
|
2159
2428
|
}
|
|
2429
|
+
/**
|
|
2430
|
+
* @public
|
|
2431
|
+
*/
|
|
2160
2432
|
export interface InitiateLayerUploadResponse {
|
|
2161
2433
|
/**
|
|
2162
2434
|
* <p>The upload ID for the layer upload. This parameter is passed to further <a>UploadLayerPart</a> and <a>CompleteLayerUpload</a>
|
|
@@ -2169,6 +2441,7 @@ export interface InitiateLayerUploadResponse {
|
|
|
2169
2441
|
partSize?: number;
|
|
2170
2442
|
}
|
|
2171
2443
|
/**
|
|
2444
|
+
* @public
|
|
2172
2445
|
* <p>An object representing a filter on a <a>ListImages</a> operation.</p>
|
|
2173
2446
|
*/
|
|
2174
2447
|
export interface ListImagesFilter {
|
|
@@ -2179,6 +2452,9 @@ export interface ListImagesFilter {
|
|
|
2179
2452
|
*/
|
|
2180
2453
|
tagStatus?: TagStatus | string;
|
|
2181
2454
|
}
|
|
2455
|
+
/**
|
|
2456
|
+
* @public
|
|
2457
|
+
*/
|
|
2182
2458
|
export interface ListImagesRequest {
|
|
2183
2459
|
/**
|
|
2184
2460
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
@@ -2218,6 +2494,9 @@ export interface ListImagesRequest {
|
|
|
2218
2494
|
*/
|
|
2219
2495
|
filter?: ListImagesFilter;
|
|
2220
2496
|
}
|
|
2497
|
+
/**
|
|
2498
|
+
* @public
|
|
2499
|
+
*/
|
|
2221
2500
|
export interface ListImagesResponse {
|
|
2222
2501
|
/**
|
|
2223
2502
|
* <p>The list of image IDs for the requested repository.</p>
|
|
@@ -2232,6 +2511,9 @@ export interface ListImagesResponse {
|
|
|
2232
2511
|
*/
|
|
2233
2512
|
nextToken?: string;
|
|
2234
2513
|
}
|
|
2514
|
+
/**
|
|
2515
|
+
* @public
|
|
2516
|
+
*/
|
|
2235
2517
|
export interface ListTagsForResourceRequest {
|
|
2236
2518
|
/**
|
|
2237
2519
|
* <p>The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the
|
|
@@ -2239,6 +2521,9 @@ export interface ListTagsForResourceRequest {
|
|
|
2239
2521
|
*/
|
|
2240
2522
|
resourceArn: string | undefined;
|
|
2241
2523
|
}
|
|
2524
|
+
/**
|
|
2525
|
+
* @public
|
|
2526
|
+
*/
|
|
2242
2527
|
export interface ListTagsForResourceResponse {
|
|
2243
2528
|
/**
|
|
2244
2529
|
* <p>The tags for the resource.</p>
|
|
@@ -2246,6 +2531,7 @@ export interface ListTagsForResourceResponse {
|
|
|
2246
2531
|
tags?: Tag[];
|
|
2247
2532
|
}
|
|
2248
2533
|
/**
|
|
2534
|
+
* @public
|
|
2249
2535
|
* <p>The specified image has already been pushed, and there were no changes to the manifest
|
|
2250
2536
|
* or image tag after the last push.</p>
|
|
2251
2537
|
*/
|
|
@@ -2258,6 +2544,7 @@ export declare class ImageAlreadyExistsException extends __BaseException {
|
|
|
2258
2544
|
constructor(opts: __ExceptionOptionType<ImageAlreadyExistsException, __BaseException>);
|
|
2259
2545
|
}
|
|
2260
2546
|
/**
|
|
2547
|
+
* @public
|
|
2261
2548
|
* <p>The specified image digest does not match the digest that Amazon ECR calculated for the
|
|
2262
2549
|
* image.</p>
|
|
2263
2550
|
*/
|
|
@@ -2270,6 +2557,7 @@ export declare class ImageDigestDoesNotMatchException extends __BaseException {
|
|
|
2270
2557
|
constructor(opts: __ExceptionOptionType<ImageDigestDoesNotMatchException, __BaseException>);
|
|
2271
2558
|
}
|
|
2272
2559
|
/**
|
|
2560
|
+
* @public
|
|
2273
2561
|
* <p>The specified image is tagged with a tag that already exists. The repository is
|
|
2274
2562
|
* configured for tag immutability.</p>
|
|
2275
2563
|
*/
|
|
@@ -2281,6 +2569,9 @@ export declare class ImageTagAlreadyExistsException extends __BaseException {
|
|
|
2281
2569
|
*/
|
|
2282
2570
|
constructor(opts: __ExceptionOptionType<ImageTagAlreadyExistsException, __BaseException>);
|
|
2283
2571
|
}
|
|
2572
|
+
/**
|
|
2573
|
+
* @public
|
|
2574
|
+
*/
|
|
2284
2575
|
export interface PutImageRequest {
|
|
2285
2576
|
/**
|
|
2286
2577
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
@@ -2311,6 +2602,9 @@ export interface PutImageRequest {
|
|
|
2311
2602
|
*/
|
|
2312
2603
|
imageDigest?: string;
|
|
2313
2604
|
}
|
|
2605
|
+
/**
|
|
2606
|
+
* @public
|
|
2607
|
+
*/
|
|
2314
2608
|
export interface PutImageResponse {
|
|
2315
2609
|
/**
|
|
2316
2610
|
* <p>Details of the image uploaded.</p>
|
|
@@ -2318,6 +2612,7 @@ export interface PutImageResponse {
|
|
|
2318
2612
|
image?: Image;
|
|
2319
2613
|
}
|
|
2320
2614
|
/**
|
|
2615
|
+
* @public
|
|
2321
2616
|
* <p>The manifest list is referencing an image that does not exist.</p>
|
|
2322
2617
|
*/
|
|
2323
2618
|
export declare class ReferencedImagesNotFoundException extends __BaseException {
|
|
@@ -2328,6 +2623,9 @@ export declare class ReferencedImagesNotFoundException extends __BaseException {
|
|
|
2328
2623
|
*/
|
|
2329
2624
|
constructor(opts: __ExceptionOptionType<ReferencedImagesNotFoundException, __BaseException>);
|
|
2330
2625
|
}
|
|
2626
|
+
/**
|
|
2627
|
+
* @public
|
|
2628
|
+
*/
|
|
2331
2629
|
export interface PutImageScanningConfigurationRequest {
|
|
2332
2630
|
/**
|
|
2333
2631
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
@@ -2347,6 +2645,9 @@ export interface PutImageScanningConfigurationRequest {
|
|
|
2347
2645
|
*/
|
|
2348
2646
|
imageScanningConfiguration: ImageScanningConfiguration | undefined;
|
|
2349
2647
|
}
|
|
2648
|
+
/**
|
|
2649
|
+
* @public
|
|
2650
|
+
*/
|
|
2350
2651
|
export interface PutImageScanningConfigurationResponse {
|
|
2351
2652
|
/**
|
|
2352
2653
|
* <p>The registry ID associated with the request.</p>
|
|
@@ -2361,6 +2662,9 @@ export interface PutImageScanningConfigurationResponse {
|
|
|
2361
2662
|
*/
|
|
2362
2663
|
imageScanningConfiguration?: ImageScanningConfiguration;
|
|
2363
2664
|
}
|
|
2665
|
+
/**
|
|
2666
|
+
* @public
|
|
2667
|
+
*/
|
|
2364
2668
|
export interface PutImageTagMutabilityRequest {
|
|
2365
2669
|
/**
|
|
2366
2670
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
@@ -2380,6 +2684,9 @@ export interface PutImageTagMutabilityRequest {
|
|
|
2380
2684
|
*/
|
|
2381
2685
|
imageTagMutability: ImageTagMutability | string | undefined;
|
|
2382
2686
|
}
|
|
2687
|
+
/**
|
|
2688
|
+
* @public
|
|
2689
|
+
*/
|
|
2383
2690
|
export interface PutImageTagMutabilityResponse {
|
|
2384
2691
|
/**
|
|
2385
2692
|
* <p>The registry ID associated with the request.</p>
|
|
@@ -2394,6 +2701,9 @@ export interface PutImageTagMutabilityResponse {
|
|
|
2394
2701
|
*/
|
|
2395
2702
|
imageTagMutability?: ImageTagMutability | string;
|
|
2396
2703
|
}
|
|
2704
|
+
/**
|
|
2705
|
+
* @public
|
|
2706
|
+
*/
|
|
2397
2707
|
export interface PutLifecyclePolicyRequest {
|
|
2398
2708
|
/**
|
|
2399
2709
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository. If you
|
|
@@ -2410,6 +2720,9 @@ export interface PutLifecyclePolicyRequest {
|
|
|
2410
2720
|
*/
|
|
2411
2721
|
lifecyclePolicyText: string | undefined;
|
|
2412
2722
|
}
|
|
2723
|
+
/**
|
|
2724
|
+
* @public
|
|
2725
|
+
*/
|
|
2413
2726
|
export interface PutLifecyclePolicyResponse {
|
|
2414
2727
|
/**
|
|
2415
2728
|
* <p>The registry ID associated with the request.</p>
|
|
@@ -2424,6 +2737,9 @@ export interface PutLifecyclePolicyResponse {
|
|
|
2424
2737
|
*/
|
|
2425
2738
|
lifecyclePolicyText?: string;
|
|
2426
2739
|
}
|
|
2740
|
+
/**
|
|
2741
|
+
* @public
|
|
2742
|
+
*/
|
|
2427
2743
|
export interface PutRegistryPolicyRequest {
|
|
2428
2744
|
/**
|
|
2429
2745
|
* <p>The JSON policy text to apply to your registry. The policy text follows the same
|
|
@@ -2432,6 +2748,9 @@ export interface PutRegistryPolicyRequest {
|
|
|
2432
2748
|
*/
|
|
2433
2749
|
policyText: string | undefined;
|
|
2434
2750
|
}
|
|
2751
|
+
/**
|
|
2752
|
+
* @public
|
|
2753
|
+
*/
|
|
2435
2754
|
export interface PutRegistryPolicyResponse {
|
|
2436
2755
|
/**
|
|
2437
2756
|
* <p>The registry ID.</p>
|
|
@@ -2442,6 +2761,9 @@ export interface PutRegistryPolicyResponse {
|
|
|
2442
2761
|
*/
|
|
2443
2762
|
policyText?: string;
|
|
2444
2763
|
}
|
|
2764
|
+
/**
|
|
2765
|
+
* @public
|
|
2766
|
+
*/
|
|
2445
2767
|
export interface PutRegistryScanningConfigurationRequest {
|
|
2446
2768
|
/**
|
|
2447
2769
|
* <p>The scanning type to set for the registry.</p>
|
|
@@ -2462,24 +2784,36 @@ export interface PutRegistryScanningConfigurationRequest {
|
|
|
2462
2784
|
*/
|
|
2463
2785
|
rules?: RegistryScanningRule[];
|
|
2464
2786
|
}
|
|
2787
|
+
/**
|
|
2788
|
+
* @public
|
|
2789
|
+
*/
|
|
2465
2790
|
export interface PutRegistryScanningConfigurationResponse {
|
|
2466
2791
|
/**
|
|
2467
2792
|
* <p>The scanning configuration for your registry.</p>
|
|
2468
2793
|
*/
|
|
2469
2794
|
registryScanningConfiguration?: RegistryScanningConfiguration;
|
|
2470
2795
|
}
|
|
2796
|
+
/**
|
|
2797
|
+
* @public
|
|
2798
|
+
*/
|
|
2471
2799
|
export interface PutReplicationConfigurationRequest {
|
|
2472
2800
|
/**
|
|
2473
2801
|
* <p>An object representing the replication configuration for a registry.</p>
|
|
2474
2802
|
*/
|
|
2475
2803
|
replicationConfiguration: ReplicationConfiguration | undefined;
|
|
2476
2804
|
}
|
|
2805
|
+
/**
|
|
2806
|
+
* @public
|
|
2807
|
+
*/
|
|
2477
2808
|
export interface PutReplicationConfigurationResponse {
|
|
2478
2809
|
/**
|
|
2479
2810
|
* <p>The contents of the replication configuration for the registry.</p>
|
|
2480
2811
|
*/
|
|
2481
2812
|
replicationConfiguration?: ReplicationConfiguration;
|
|
2482
2813
|
}
|
|
2814
|
+
/**
|
|
2815
|
+
* @public
|
|
2816
|
+
*/
|
|
2483
2817
|
export interface SetRepositoryPolicyRequest {
|
|
2484
2818
|
/**
|
|
2485
2819
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository.
|
|
@@ -2503,6 +2837,9 @@ export interface SetRepositoryPolicyRequest {
|
|
|
2503
2837
|
*/
|
|
2504
2838
|
force?: boolean;
|
|
2505
2839
|
}
|
|
2840
|
+
/**
|
|
2841
|
+
* @public
|
|
2842
|
+
*/
|
|
2506
2843
|
export interface SetRepositoryPolicyResponse {
|
|
2507
2844
|
/**
|
|
2508
2845
|
* <p>The registry ID associated with the request.</p>
|
|
@@ -2517,6 +2854,9 @@ export interface SetRepositoryPolicyResponse {
|
|
|
2517
2854
|
*/
|
|
2518
2855
|
policyText?: string;
|
|
2519
2856
|
}
|
|
2857
|
+
/**
|
|
2858
|
+
* @public
|
|
2859
|
+
*/
|
|
2520
2860
|
export interface StartImageScanRequest {
|
|
2521
2861
|
/**
|
|
2522
2862
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
@@ -2532,6 +2872,9 @@ export interface StartImageScanRequest {
|
|
|
2532
2872
|
*/
|
|
2533
2873
|
imageId: ImageIdentifier | undefined;
|
|
2534
2874
|
}
|
|
2875
|
+
/**
|
|
2876
|
+
* @public
|
|
2877
|
+
*/
|
|
2535
2878
|
export interface StartImageScanResponse {
|
|
2536
2879
|
/**
|
|
2537
2880
|
* <p>The registry ID associated with the request.</p>
|
|
@@ -2551,6 +2894,7 @@ export interface StartImageScanResponse {
|
|
|
2551
2894
|
imageScanStatus?: ImageScanStatus;
|
|
2552
2895
|
}
|
|
2553
2896
|
/**
|
|
2897
|
+
* @public
|
|
2554
2898
|
* <p>The image is of a type that cannot be scanned.</p>
|
|
2555
2899
|
*/
|
|
2556
2900
|
export declare class UnsupportedImageTypeException extends __BaseException {
|
|
@@ -2562,6 +2906,7 @@ export declare class UnsupportedImageTypeException extends __BaseException {
|
|
|
2562
2906
|
constructor(opts: __ExceptionOptionType<UnsupportedImageTypeException, __BaseException>);
|
|
2563
2907
|
}
|
|
2564
2908
|
/**
|
|
2909
|
+
* @public
|
|
2565
2910
|
* <p>The previous lifecycle policy preview request has not completed. Wait and try
|
|
2566
2911
|
* again.</p>
|
|
2567
2912
|
*/
|
|
@@ -2573,6 +2918,9 @@ export declare class LifecyclePolicyPreviewInProgressException extends __BaseExc
|
|
|
2573
2918
|
*/
|
|
2574
2919
|
constructor(opts: __ExceptionOptionType<LifecyclePolicyPreviewInProgressException, __BaseException>);
|
|
2575
2920
|
}
|
|
2921
|
+
/**
|
|
2922
|
+
* @public
|
|
2923
|
+
*/
|
|
2576
2924
|
export interface StartLifecyclePolicyPreviewRequest {
|
|
2577
2925
|
/**
|
|
2578
2926
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository.
|
|
@@ -2589,6 +2937,9 @@ export interface StartLifecyclePolicyPreviewRequest {
|
|
|
2589
2937
|
*/
|
|
2590
2938
|
lifecyclePolicyText?: string;
|
|
2591
2939
|
}
|
|
2940
|
+
/**
|
|
2941
|
+
* @public
|
|
2942
|
+
*/
|
|
2592
2943
|
export interface StartLifecyclePolicyPreviewResponse {
|
|
2593
2944
|
/**
|
|
2594
2945
|
* <p>The registry ID associated with the request.</p>
|
|
@@ -2607,6 +2958,9 @@ export interface StartLifecyclePolicyPreviewResponse {
|
|
|
2607
2958
|
*/
|
|
2608
2959
|
status?: LifecyclePolicyPreviewStatus | string;
|
|
2609
2960
|
}
|
|
2961
|
+
/**
|
|
2962
|
+
* @public
|
|
2963
|
+
*/
|
|
2610
2964
|
export interface TagResourceRequest {
|
|
2611
2965
|
/**
|
|
2612
2966
|
* <p>The Amazon Resource Name (ARN) of the the resource to which to add tags. Currently, the only supported
|
|
@@ -2620,8 +2974,14 @@ export interface TagResourceRequest {
|
|
|
2620
2974
|
*/
|
|
2621
2975
|
tags: Tag[] | undefined;
|
|
2622
2976
|
}
|
|
2977
|
+
/**
|
|
2978
|
+
* @public
|
|
2979
|
+
*/
|
|
2623
2980
|
export interface TagResourceResponse {
|
|
2624
2981
|
}
|
|
2982
|
+
/**
|
|
2983
|
+
* @public
|
|
2984
|
+
*/
|
|
2625
2985
|
export interface UntagResourceRequest {
|
|
2626
2986
|
/**
|
|
2627
2987
|
* <p>The Amazon Resource Name (ARN) of the resource from which to remove tags. Currently, the only supported
|
|
@@ -2633,9 +2993,13 @@ export interface UntagResourceRequest {
|
|
|
2633
2993
|
*/
|
|
2634
2994
|
tagKeys: string[] | undefined;
|
|
2635
2995
|
}
|
|
2996
|
+
/**
|
|
2997
|
+
* @public
|
|
2998
|
+
*/
|
|
2636
2999
|
export interface UntagResourceResponse {
|
|
2637
3000
|
}
|
|
2638
3001
|
/**
|
|
3002
|
+
* @public
|
|
2639
3003
|
* <p>The layer part size is not valid, or the first byte specified is not consecutive to
|
|
2640
3004
|
* the last byte of a previous layer part upload.</p>
|
|
2641
3005
|
*/
|
|
@@ -2664,6 +3028,9 @@ export declare class InvalidLayerPartException extends __BaseException {
|
|
|
2664
3028
|
*/
|
|
2665
3029
|
constructor(opts: __ExceptionOptionType<InvalidLayerPartException, __BaseException>);
|
|
2666
3030
|
}
|
|
3031
|
+
/**
|
|
3032
|
+
* @public
|
|
3033
|
+
*/
|
|
2667
3034
|
export interface UploadLayerPartRequest {
|
|
2668
3035
|
/**
|
|
2669
3036
|
* <p>The Amazon Web Services account ID associated with the registry to which you are uploading layer
|
|
@@ -2692,6 +3059,9 @@ export interface UploadLayerPartRequest {
|
|
|
2692
3059
|
*/
|
|
2693
3060
|
layerPartBlob: Uint8Array | undefined;
|
|
2694
3061
|
}
|
|
3062
|
+
/**
|
|
3063
|
+
* @public
|
|
3064
|
+
*/
|
|
2695
3065
|
export interface UploadLayerPartResponse {
|
|
2696
3066
|
/**
|
|
2697
3067
|
* <p>The registry ID associated with the request.</p>
|