@aws-sdk/client-ecr 3.43.0 → 3.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +50 -0
- package/dist-cjs/ECR.js +90 -0
- package/dist-cjs/commands/BatchGetRepositoryScanningConfigurationCommand.js +36 -0
- package/dist-cjs/commands/CreatePullThroughCacheRuleCommand.js +36 -0
- package/dist-cjs/commands/DeletePullThroughCacheRuleCommand.js +36 -0
- package/dist-cjs/commands/DescribePullThroughCacheRulesCommand.js +36 -0
- package/dist-cjs/commands/GetRegistryScanningConfigurationCommand.js +36 -0
- package/dist-cjs/commands/PutRegistryScanningConfigurationCommand.js +36 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/endpoints.js +10 -0
- package/dist-cjs/models/models_0.js +199 -175
- package/dist-cjs/pagination/DescribePullThroughCacheRulesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +1070 -16
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/ECR.js +90 -0
- package/dist-es/commands/BatchGetRepositoryScanningConfigurationCommand.js +39 -0
- package/dist-es/commands/CreatePullThroughCacheRuleCommand.js +39 -0
- package/dist-es/commands/DeletePullThroughCacheRuleCommand.js +39 -0
- package/dist-es/commands/DescribePullThroughCacheRulesCommand.js +39 -0
- package/dist-es/commands/GetRegistryScanningConfigurationCommand.js +39 -0
- package/dist-es/commands/PutRegistryScanningConfigurationCommand.js +39 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/endpoints.js +10 -0
- package/dist-es/models/models_0.js +144 -120
- package/dist-es/pagination/DescribePullThroughCacheRulesPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +1204 -120
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/ECR.d.ts +43 -0
- package/dist-types/ECRClient.d.ts +13 -3
- package/dist-types/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/CreatePullThroughCacheRuleCommand.d.ts +36 -0
- package/dist-types/commands/DeletePullThroughCacheRuleCommand.d.ts +35 -0
- package/dist-types/commands/DescribePullThroughCacheRulesCommand.d.ts +35 -0
- package/dist-types/commands/GetRegistryScanningConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +912 -283
- package/dist-types/pagination/DescribePullThroughCacheRulesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/ECR.d.ts +30 -0
- package/dist-types/ts3.4/ECRClient.d.ts +11 -3
- package/dist-types/ts3.4/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreatePullThroughCacheRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeletePullThroughCacheRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribePullThroughCacheRulesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRegistryScanningConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutRegistryScanningConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +462 -130
- package/dist-types/ts3.4/pagination/DescribePullThroughCacheRulesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +18 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -46
|
@@ -64,10 +64,6 @@ export interface InvalidParameterException extends __SmithyException, $MetadataB
|
|
|
64
64
|
|
|
65
65
|
message?: string;
|
|
66
66
|
}
|
|
67
|
-
export declare namespace InvalidParameterException {
|
|
68
|
-
|
|
69
|
-
const filterSensitiveLog: (obj: InvalidParameterException) => any;
|
|
70
|
-
}
|
|
71
67
|
|
|
72
68
|
export interface RepositoryNotFoundException extends __SmithyException, $MetadataBearer {
|
|
73
69
|
name: "RepositoryNotFoundException";
|
|
@@ -75,10 +71,6 @@ export interface RepositoryNotFoundException extends __SmithyException, $Metadat
|
|
|
75
71
|
|
|
76
72
|
message?: string;
|
|
77
73
|
}
|
|
78
|
-
export declare namespace RepositoryNotFoundException {
|
|
79
|
-
|
|
80
|
-
const filterSensitiveLog: (obj: RepositoryNotFoundException) => any;
|
|
81
|
-
}
|
|
82
74
|
|
|
83
75
|
export interface ServerException extends __SmithyException, $MetadataBearer {
|
|
84
76
|
name: "ServerException";
|
|
@@ -86,10 +78,6 @@ export interface ServerException extends __SmithyException, $MetadataBearer {
|
|
|
86
78
|
|
|
87
79
|
message?: string;
|
|
88
80
|
}
|
|
89
|
-
export declare namespace ServerException {
|
|
90
|
-
|
|
91
|
-
const filterSensitiveLog: (obj: ServerException) => any;
|
|
92
|
-
}
|
|
93
81
|
|
|
94
82
|
export interface ImageIdentifier {
|
|
95
83
|
|
|
@@ -187,6 +175,82 @@ export declare namespace BatchGetImageResponse {
|
|
|
187
175
|
|
|
188
176
|
const filterSensitiveLog: (obj: BatchGetImageResponse) => any;
|
|
189
177
|
}
|
|
178
|
+
export interface BatchGetRepositoryScanningConfigurationRequest {
|
|
179
|
+
|
|
180
|
+
repositoryNames: string[] | undefined;
|
|
181
|
+
}
|
|
182
|
+
export declare namespace BatchGetRepositoryScanningConfigurationRequest {
|
|
183
|
+
|
|
184
|
+
const filterSensitiveLog: (obj: BatchGetRepositoryScanningConfigurationRequest) => any;
|
|
185
|
+
}
|
|
186
|
+
export declare enum ScanningConfigurationFailureCode {
|
|
187
|
+
REPOSITORY_NOT_FOUND = "REPOSITORY_NOT_FOUND"
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export interface RepositoryScanningConfigurationFailure {
|
|
191
|
+
|
|
192
|
+
repositoryName?: string;
|
|
193
|
+
|
|
194
|
+
failureCode?: ScanningConfigurationFailureCode | string;
|
|
195
|
+
|
|
196
|
+
failureReason?: string;
|
|
197
|
+
}
|
|
198
|
+
export declare namespace RepositoryScanningConfigurationFailure {
|
|
199
|
+
|
|
200
|
+
const filterSensitiveLog: (obj: RepositoryScanningConfigurationFailure) => any;
|
|
201
|
+
}
|
|
202
|
+
export declare enum ScanningRepositoryFilterType {
|
|
203
|
+
WILDCARD = "WILDCARD"
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export interface ScanningRepositoryFilter {
|
|
207
|
+
|
|
208
|
+
filter: string | undefined;
|
|
209
|
+
|
|
210
|
+
filterType: ScanningRepositoryFilterType | string | undefined;
|
|
211
|
+
}
|
|
212
|
+
export declare namespace ScanningRepositoryFilter {
|
|
213
|
+
|
|
214
|
+
const filterSensitiveLog: (obj: ScanningRepositoryFilter) => any;
|
|
215
|
+
}
|
|
216
|
+
export declare enum ScanFrequency {
|
|
217
|
+
CONTINUOUS_SCAN = "CONTINUOUS_SCAN",
|
|
218
|
+
MANUAL = "MANUAL",
|
|
219
|
+
SCAN_ON_PUSH = "SCAN_ON_PUSH"
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
export interface RepositoryScanningConfiguration {
|
|
223
|
+
|
|
224
|
+
repositoryArn?: string;
|
|
225
|
+
|
|
226
|
+
repositoryName?: string;
|
|
227
|
+
|
|
228
|
+
scanOnPush?: boolean;
|
|
229
|
+
|
|
230
|
+
scanFrequency?: ScanFrequency | string;
|
|
231
|
+
|
|
232
|
+
appliedScanFilters?: ScanningRepositoryFilter[];
|
|
233
|
+
}
|
|
234
|
+
export declare namespace RepositoryScanningConfiguration {
|
|
235
|
+
|
|
236
|
+
const filterSensitiveLog: (obj: RepositoryScanningConfiguration) => any;
|
|
237
|
+
}
|
|
238
|
+
export interface BatchGetRepositoryScanningConfigurationResponse {
|
|
239
|
+
|
|
240
|
+
scanningConfigurations?: RepositoryScanningConfiguration[];
|
|
241
|
+
|
|
242
|
+
failures?: RepositoryScanningConfigurationFailure[];
|
|
243
|
+
}
|
|
244
|
+
export declare namespace BatchGetRepositoryScanningConfigurationResponse {
|
|
245
|
+
|
|
246
|
+
const filterSensitiveLog: (obj: BatchGetRepositoryScanningConfigurationResponse) => any;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
export interface ValidationException extends __SmithyException, $MetadataBearer {
|
|
250
|
+
name: "ValidationException";
|
|
251
|
+
$fault: "client";
|
|
252
|
+
message?: string;
|
|
253
|
+
}
|
|
190
254
|
export interface CompleteLayerUploadRequest {
|
|
191
255
|
|
|
192
256
|
registryId?: string;
|
|
@@ -222,10 +286,6 @@ export interface EmptyUploadException extends __SmithyException, $MetadataBearer
|
|
|
222
286
|
|
|
223
287
|
message?: string;
|
|
224
288
|
}
|
|
225
|
-
export declare namespace EmptyUploadException {
|
|
226
|
-
|
|
227
|
-
const filterSensitiveLog: (obj: EmptyUploadException) => any;
|
|
228
|
-
}
|
|
229
289
|
|
|
230
290
|
export interface InvalidLayerException extends __SmithyException, $MetadataBearer {
|
|
231
291
|
name: "InvalidLayerException";
|
|
@@ -233,10 +293,6 @@ export interface InvalidLayerException extends __SmithyException, $MetadataBeare
|
|
|
233
293
|
|
|
234
294
|
message?: string;
|
|
235
295
|
}
|
|
236
|
-
export declare namespace InvalidLayerException {
|
|
237
|
-
|
|
238
|
-
const filterSensitiveLog: (obj: InvalidLayerException) => any;
|
|
239
|
-
}
|
|
240
296
|
|
|
241
297
|
export interface KmsException extends __SmithyException, $MetadataBearer {
|
|
242
298
|
name: "KmsException";
|
|
@@ -245,10 +301,6 @@ export interface KmsException extends __SmithyException, $MetadataBearer {
|
|
|
245
301
|
|
|
246
302
|
kmsError?: string;
|
|
247
303
|
}
|
|
248
|
-
export declare namespace KmsException {
|
|
249
|
-
|
|
250
|
-
const filterSensitiveLog: (obj: KmsException) => any;
|
|
251
|
-
}
|
|
252
304
|
|
|
253
305
|
export interface LayerAlreadyExistsException extends __SmithyException, $MetadataBearer {
|
|
254
306
|
name: "LayerAlreadyExistsException";
|
|
@@ -256,10 +308,6 @@ export interface LayerAlreadyExistsException extends __SmithyException, $Metadat
|
|
|
256
308
|
|
|
257
309
|
message?: string;
|
|
258
310
|
}
|
|
259
|
-
export declare namespace LayerAlreadyExistsException {
|
|
260
|
-
|
|
261
|
-
const filterSensitiveLog: (obj: LayerAlreadyExistsException) => any;
|
|
262
|
-
}
|
|
263
311
|
|
|
264
312
|
export interface LayerPartTooSmallException extends __SmithyException, $MetadataBearer {
|
|
265
313
|
name: "LayerPartTooSmallException";
|
|
@@ -267,10 +315,6 @@ export interface LayerPartTooSmallException extends __SmithyException, $Metadata
|
|
|
267
315
|
|
|
268
316
|
message?: string;
|
|
269
317
|
}
|
|
270
|
-
export declare namespace LayerPartTooSmallException {
|
|
271
|
-
|
|
272
|
-
const filterSensitiveLog: (obj: LayerPartTooSmallException) => any;
|
|
273
|
-
}
|
|
274
318
|
|
|
275
319
|
export interface UploadNotFoundException extends __SmithyException, $MetadataBearer {
|
|
276
320
|
name: "UploadNotFoundException";
|
|
@@ -278,9 +322,50 @@ export interface UploadNotFoundException extends __SmithyException, $MetadataBea
|
|
|
278
322
|
|
|
279
323
|
message?: string;
|
|
280
324
|
}
|
|
281
|
-
export
|
|
325
|
+
export interface CreatePullThroughCacheRuleRequest {
|
|
326
|
+
|
|
327
|
+
ecrRepositoryPrefix: string | undefined;
|
|
328
|
+
|
|
329
|
+
upstreamRegistryUrl: string | undefined;
|
|
330
|
+
|
|
331
|
+
registryId?: string;
|
|
332
|
+
}
|
|
333
|
+
export declare namespace CreatePullThroughCacheRuleRequest {
|
|
334
|
+
|
|
335
|
+
const filterSensitiveLog: (obj: CreatePullThroughCacheRuleRequest) => any;
|
|
336
|
+
}
|
|
337
|
+
export interface CreatePullThroughCacheRuleResponse {
|
|
282
338
|
|
|
283
|
-
|
|
339
|
+
ecrRepositoryPrefix?: string;
|
|
340
|
+
|
|
341
|
+
upstreamRegistryUrl?: string;
|
|
342
|
+
|
|
343
|
+
createdAt?: Date;
|
|
344
|
+
|
|
345
|
+
registryId?: string;
|
|
346
|
+
}
|
|
347
|
+
export declare namespace CreatePullThroughCacheRuleResponse {
|
|
348
|
+
|
|
349
|
+
const filterSensitiveLog: (obj: CreatePullThroughCacheRuleResponse) => any;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
export interface LimitExceededException extends __SmithyException, $MetadataBearer {
|
|
353
|
+
name: "LimitExceededException";
|
|
354
|
+
$fault: "client";
|
|
355
|
+
|
|
356
|
+
message?: string;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
export interface PullThroughCacheRuleAlreadyExistsException extends __SmithyException, $MetadataBearer {
|
|
360
|
+
name: "PullThroughCacheRuleAlreadyExistsException";
|
|
361
|
+
$fault: "client";
|
|
362
|
+
message?: string;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export interface UnsupportedUpstreamRegistryException extends __SmithyException, $MetadataBearer {
|
|
366
|
+
name: "UnsupportedUpstreamRegistryException";
|
|
367
|
+
$fault: "client";
|
|
368
|
+
message?: string;
|
|
284
369
|
}
|
|
285
370
|
export declare enum EncryptionType {
|
|
286
371
|
AES256 = "AES256",
|
|
@@ -376,21 +461,6 @@ export interface InvalidTagParameterException extends __SmithyException, $Metada
|
|
|
376
461
|
$fault: "client";
|
|
377
462
|
message?: string;
|
|
378
463
|
}
|
|
379
|
-
export declare namespace InvalidTagParameterException {
|
|
380
|
-
|
|
381
|
-
const filterSensitiveLog: (obj: InvalidTagParameterException) => any;
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
export interface LimitExceededException extends __SmithyException, $MetadataBearer {
|
|
385
|
-
name: "LimitExceededException";
|
|
386
|
-
$fault: "client";
|
|
387
|
-
|
|
388
|
-
message?: string;
|
|
389
|
-
}
|
|
390
|
-
export declare namespace LimitExceededException {
|
|
391
|
-
|
|
392
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
393
|
-
}
|
|
394
464
|
|
|
395
465
|
export interface RepositoryAlreadyExistsException extends __SmithyException, $MetadataBearer {
|
|
396
466
|
name: "RepositoryAlreadyExistsException";
|
|
@@ -398,20 +468,12 @@ export interface RepositoryAlreadyExistsException extends __SmithyException, $Me
|
|
|
398
468
|
|
|
399
469
|
message?: string;
|
|
400
470
|
}
|
|
401
|
-
export declare namespace RepositoryAlreadyExistsException {
|
|
402
|
-
|
|
403
|
-
const filterSensitiveLog: (obj: RepositoryAlreadyExistsException) => any;
|
|
404
|
-
}
|
|
405
471
|
|
|
406
472
|
export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
|
|
407
473
|
name: "TooManyTagsException";
|
|
408
474
|
$fault: "client";
|
|
409
475
|
message?: string;
|
|
410
476
|
}
|
|
411
|
-
export declare namespace TooManyTagsException {
|
|
412
|
-
|
|
413
|
-
const filterSensitiveLog: (obj: TooManyTagsException) => any;
|
|
414
|
-
}
|
|
415
477
|
export interface DeleteLifecyclePolicyRequest {
|
|
416
478
|
|
|
417
479
|
registryId?: string;
|
|
@@ -442,9 +504,35 @@ export interface LifecyclePolicyNotFoundException extends __SmithyException, $Me
|
|
|
442
504
|
$fault: "client";
|
|
443
505
|
message?: string;
|
|
444
506
|
}
|
|
445
|
-
export
|
|
507
|
+
export interface DeletePullThroughCacheRuleRequest {
|
|
508
|
+
|
|
509
|
+
ecrRepositoryPrefix: string | undefined;
|
|
510
|
+
|
|
511
|
+
registryId?: string;
|
|
512
|
+
}
|
|
513
|
+
export declare namespace DeletePullThroughCacheRuleRequest {
|
|
446
514
|
|
|
447
|
-
const filterSensitiveLog: (obj:
|
|
515
|
+
const filterSensitiveLog: (obj: DeletePullThroughCacheRuleRequest) => any;
|
|
516
|
+
}
|
|
517
|
+
export interface DeletePullThroughCacheRuleResponse {
|
|
518
|
+
|
|
519
|
+
ecrRepositoryPrefix?: string;
|
|
520
|
+
|
|
521
|
+
upstreamRegistryUrl?: string;
|
|
522
|
+
|
|
523
|
+
createdAt?: Date;
|
|
524
|
+
|
|
525
|
+
registryId?: string;
|
|
526
|
+
}
|
|
527
|
+
export declare namespace DeletePullThroughCacheRuleResponse {
|
|
528
|
+
|
|
529
|
+
const filterSensitiveLog: (obj: DeletePullThroughCacheRuleResponse) => any;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
export interface PullThroughCacheRuleNotFoundException extends __SmithyException, $MetadataBearer {
|
|
533
|
+
name: "PullThroughCacheRuleNotFoundException";
|
|
534
|
+
$fault: "client";
|
|
535
|
+
message?: string;
|
|
448
536
|
}
|
|
449
537
|
export interface DeleteRegistryPolicyRequest {
|
|
450
538
|
}
|
|
@@ -468,20 +556,6 @@ export interface RegistryPolicyNotFoundException extends __SmithyException, $Met
|
|
|
468
556
|
$fault: "client";
|
|
469
557
|
message?: string;
|
|
470
558
|
}
|
|
471
|
-
export declare namespace RegistryPolicyNotFoundException {
|
|
472
|
-
|
|
473
|
-
const filterSensitiveLog: (obj: RegistryPolicyNotFoundException) => any;
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
export interface ValidationException extends __SmithyException, $MetadataBearer {
|
|
477
|
-
name: "ValidationException";
|
|
478
|
-
$fault: "client";
|
|
479
|
-
message?: string;
|
|
480
|
-
}
|
|
481
|
-
export declare namespace ValidationException {
|
|
482
|
-
|
|
483
|
-
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
484
|
-
}
|
|
485
559
|
export interface DeleteRepositoryRequest {
|
|
486
560
|
|
|
487
561
|
registryId?: string;
|
|
@@ -509,10 +583,6 @@ export interface RepositoryNotEmptyException extends __SmithyException, $Metadat
|
|
|
509
583
|
|
|
510
584
|
message?: string;
|
|
511
585
|
}
|
|
512
|
-
export declare namespace RepositoryNotEmptyException {
|
|
513
|
-
|
|
514
|
-
const filterSensitiveLog: (obj: RepositoryNotEmptyException) => any;
|
|
515
|
-
}
|
|
516
586
|
export interface DeleteRepositoryPolicyRequest {
|
|
517
587
|
|
|
518
588
|
registryId?: string;
|
|
@@ -542,10 +612,6 @@ export interface RepositoryPolicyNotFoundException extends __SmithyException, $M
|
|
|
542
612
|
|
|
543
613
|
message?: string;
|
|
544
614
|
}
|
|
545
|
-
export declare namespace RepositoryPolicyNotFoundException {
|
|
546
|
-
|
|
547
|
-
const filterSensitiveLog: (obj: RepositoryPolicyNotFoundException) => any;
|
|
548
|
-
}
|
|
549
615
|
export interface DescribeImageReplicationStatusRequest {
|
|
550
616
|
|
|
551
617
|
repositoryName: string | undefined;
|
|
@@ -596,10 +662,6 @@ export interface ImageNotFoundException extends __SmithyException, $MetadataBear
|
|
|
596
662
|
$fault: "client";
|
|
597
663
|
message?: string;
|
|
598
664
|
}
|
|
599
|
-
export declare namespace ImageNotFoundException {
|
|
600
|
-
|
|
601
|
-
const filterSensitiveLog: (obj: ImageNotFoundException) => any;
|
|
602
|
-
}
|
|
603
665
|
export declare enum TagStatus {
|
|
604
666
|
ANY = "ANY",
|
|
605
667
|
TAGGED = "TAGGED",
|
|
@@ -656,9 +718,14 @@ export declare namespace ImageScanFindingsSummary {
|
|
|
656
718
|
const filterSensitiveLog: (obj: ImageScanFindingsSummary) => any;
|
|
657
719
|
}
|
|
658
720
|
export declare enum ScanStatus {
|
|
721
|
+
ACTIVE = "ACTIVE",
|
|
659
722
|
COMPLETE = "COMPLETE",
|
|
660
723
|
FAILED = "FAILED",
|
|
661
|
-
|
|
724
|
+
FINDINGS_UNAVAILABLE = "FINDINGS_UNAVAILABLE",
|
|
725
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
726
|
+
PENDING = "PENDING",
|
|
727
|
+
SCAN_ELIGIBILITY_EXPIRED = "SCAN_ELIGIBILITY_EXPIRED",
|
|
728
|
+
UNSUPPORTED_IMAGE = "UNSUPPORTED_IMAGE"
|
|
662
729
|
}
|
|
663
730
|
|
|
664
731
|
export interface ImageScanStatus {
|
|
@@ -725,6 +792,214 @@ export declare namespace DescribeImageScanFindingsRequest {
|
|
|
725
792
|
const filterSensitiveLog: (obj: DescribeImageScanFindingsRequest) => any;
|
|
726
793
|
}
|
|
727
794
|
|
|
795
|
+
export interface CvssScore {
|
|
796
|
+
|
|
797
|
+
baseScore?: number;
|
|
798
|
+
|
|
799
|
+
scoringVector?: string;
|
|
800
|
+
|
|
801
|
+
source?: string;
|
|
802
|
+
|
|
803
|
+
version?: string;
|
|
804
|
+
}
|
|
805
|
+
export declare namespace CvssScore {
|
|
806
|
+
|
|
807
|
+
const filterSensitiveLog: (obj: CvssScore) => any;
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
export interface VulnerablePackage {
|
|
811
|
+
|
|
812
|
+
arch?: string;
|
|
813
|
+
|
|
814
|
+
epoch?: number;
|
|
815
|
+
|
|
816
|
+
filePath?: string;
|
|
817
|
+
|
|
818
|
+
name?: string;
|
|
819
|
+
|
|
820
|
+
packageManager?: string;
|
|
821
|
+
|
|
822
|
+
release?: string;
|
|
823
|
+
|
|
824
|
+
sourceLayerHash?: string;
|
|
825
|
+
|
|
826
|
+
version?: string;
|
|
827
|
+
}
|
|
828
|
+
export declare namespace VulnerablePackage {
|
|
829
|
+
|
|
830
|
+
const filterSensitiveLog: (obj: VulnerablePackage) => any;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
export interface PackageVulnerabilityDetails {
|
|
834
|
+
|
|
835
|
+
cvss?: CvssScore[];
|
|
836
|
+
|
|
837
|
+
referenceUrls?: string[];
|
|
838
|
+
|
|
839
|
+
relatedVulnerabilities?: string[];
|
|
840
|
+
|
|
841
|
+
source?: string;
|
|
842
|
+
|
|
843
|
+
sourceUrl?: string;
|
|
844
|
+
|
|
845
|
+
vendorCreatedAt?: Date;
|
|
846
|
+
|
|
847
|
+
vendorSeverity?: string;
|
|
848
|
+
|
|
849
|
+
vendorUpdatedAt?: Date;
|
|
850
|
+
|
|
851
|
+
vulnerabilityId?: string;
|
|
852
|
+
|
|
853
|
+
vulnerablePackages?: VulnerablePackage[];
|
|
854
|
+
}
|
|
855
|
+
export declare namespace PackageVulnerabilityDetails {
|
|
856
|
+
|
|
857
|
+
const filterSensitiveLog: (obj: PackageVulnerabilityDetails) => any;
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
export interface Recommendation {
|
|
861
|
+
|
|
862
|
+
url?: string;
|
|
863
|
+
|
|
864
|
+
text?: string;
|
|
865
|
+
}
|
|
866
|
+
export declare namespace Recommendation {
|
|
867
|
+
|
|
868
|
+
const filterSensitiveLog: (obj: Recommendation) => any;
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
export interface Remediation {
|
|
872
|
+
|
|
873
|
+
recommendation?: Recommendation;
|
|
874
|
+
}
|
|
875
|
+
export declare namespace Remediation {
|
|
876
|
+
|
|
877
|
+
const filterSensitiveLog: (obj: Remediation) => any;
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
export interface AwsEcrContainerImageDetails {
|
|
881
|
+
|
|
882
|
+
architecture?: string;
|
|
883
|
+
|
|
884
|
+
author?: string;
|
|
885
|
+
|
|
886
|
+
imageHash?: string;
|
|
887
|
+
|
|
888
|
+
imageTags?: string[];
|
|
889
|
+
|
|
890
|
+
platform?: string;
|
|
891
|
+
|
|
892
|
+
pushedAt?: Date;
|
|
893
|
+
|
|
894
|
+
registry?: string;
|
|
895
|
+
|
|
896
|
+
repositoryName?: string;
|
|
897
|
+
}
|
|
898
|
+
export declare namespace AwsEcrContainerImageDetails {
|
|
899
|
+
|
|
900
|
+
const filterSensitiveLog: (obj: AwsEcrContainerImageDetails) => any;
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
export interface ResourceDetails {
|
|
904
|
+
|
|
905
|
+
awsEcrContainerImage?: AwsEcrContainerImageDetails;
|
|
906
|
+
}
|
|
907
|
+
export declare namespace ResourceDetails {
|
|
908
|
+
|
|
909
|
+
const filterSensitiveLog: (obj: ResourceDetails) => any;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
export interface Resource {
|
|
913
|
+
|
|
914
|
+
details?: ResourceDetails;
|
|
915
|
+
|
|
916
|
+
id?: string;
|
|
917
|
+
|
|
918
|
+
tags?: {
|
|
919
|
+
[key: string]: string;
|
|
920
|
+
};
|
|
921
|
+
|
|
922
|
+
type?: string;
|
|
923
|
+
}
|
|
924
|
+
export declare namespace Resource {
|
|
925
|
+
|
|
926
|
+
const filterSensitiveLog: (obj: Resource) => any;
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
export interface CvssScoreAdjustment {
|
|
930
|
+
|
|
931
|
+
metric?: string;
|
|
932
|
+
|
|
933
|
+
reason?: string;
|
|
934
|
+
}
|
|
935
|
+
export declare namespace CvssScoreAdjustment {
|
|
936
|
+
|
|
937
|
+
const filterSensitiveLog: (obj: CvssScoreAdjustment) => any;
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
export interface CvssScoreDetails {
|
|
941
|
+
|
|
942
|
+
adjustments?: CvssScoreAdjustment[];
|
|
943
|
+
|
|
944
|
+
score?: number;
|
|
945
|
+
|
|
946
|
+
scoreSource?: string;
|
|
947
|
+
|
|
948
|
+
scoringVector?: string;
|
|
949
|
+
|
|
950
|
+
version?: string;
|
|
951
|
+
}
|
|
952
|
+
export declare namespace CvssScoreDetails {
|
|
953
|
+
|
|
954
|
+
const filterSensitiveLog: (obj: CvssScoreDetails) => any;
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
export interface ScoreDetails {
|
|
958
|
+
|
|
959
|
+
cvss?: CvssScoreDetails;
|
|
960
|
+
}
|
|
961
|
+
export declare namespace ScoreDetails {
|
|
962
|
+
|
|
963
|
+
const filterSensitiveLog: (obj: ScoreDetails) => any;
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
export interface EnhancedImageScanFinding {
|
|
967
|
+
|
|
968
|
+
awsAccountId?: string;
|
|
969
|
+
|
|
970
|
+
description?: string;
|
|
971
|
+
|
|
972
|
+
findingArn?: string;
|
|
973
|
+
|
|
974
|
+
firstObservedAt?: Date;
|
|
975
|
+
|
|
976
|
+
lastObservedAt?: Date;
|
|
977
|
+
|
|
978
|
+
packageVulnerabilityDetails?: PackageVulnerabilityDetails;
|
|
979
|
+
|
|
980
|
+
remediation?: Remediation;
|
|
981
|
+
|
|
982
|
+
resources?: Resource[];
|
|
983
|
+
|
|
984
|
+
score?: number;
|
|
985
|
+
|
|
986
|
+
scoreDetails?: ScoreDetails;
|
|
987
|
+
|
|
988
|
+
severity?: string;
|
|
989
|
+
|
|
990
|
+
status?: string;
|
|
991
|
+
|
|
992
|
+
title?: string;
|
|
993
|
+
|
|
994
|
+
type?: string;
|
|
995
|
+
|
|
996
|
+
updatedAt?: Date;
|
|
997
|
+
}
|
|
998
|
+
export declare namespace EnhancedImageScanFinding {
|
|
999
|
+
|
|
1000
|
+
const filterSensitiveLog: (obj: EnhancedImageScanFinding) => any;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
728
1003
|
export interface Attribute {
|
|
729
1004
|
|
|
730
1005
|
key: string | undefined;
|
|
@@ -759,11 +1034,13 @@ export interface ImageScanFindings {
|
|
|
759
1034
|
|
|
760
1035
|
vulnerabilitySourceUpdatedAt?: Date;
|
|
761
1036
|
|
|
762
|
-
findings?: ImageScanFinding[];
|
|
763
|
-
|
|
764
1037
|
findingSeverityCounts?: {
|
|
765
1038
|
[key: string]: number;
|
|
766
1039
|
};
|
|
1040
|
+
|
|
1041
|
+
findings?: ImageScanFinding[];
|
|
1042
|
+
|
|
1043
|
+
enhancedFindings?: EnhancedImageScanFinding[];
|
|
767
1044
|
}
|
|
768
1045
|
export declare namespace ImageScanFindings {
|
|
769
1046
|
|
|
@@ -793,9 +1070,44 @@ export interface ScanNotFoundException extends __SmithyException, $MetadataBeare
|
|
|
793
1070
|
$fault: "client";
|
|
794
1071
|
message?: string;
|
|
795
1072
|
}
|
|
796
|
-
export
|
|
1073
|
+
export interface DescribePullThroughCacheRulesRequest {
|
|
1074
|
+
|
|
1075
|
+
registryId?: string;
|
|
1076
|
+
|
|
1077
|
+
ecrRepositoryPrefixes?: string[];
|
|
1078
|
+
|
|
1079
|
+
nextToken?: string;
|
|
1080
|
+
|
|
1081
|
+
maxResults?: number;
|
|
1082
|
+
}
|
|
1083
|
+
export declare namespace DescribePullThroughCacheRulesRequest {
|
|
1084
|
+
|
|
1085
|
+
const filterSensitiveLog: (obj: DescribePullThroughCacheRulesRequest) => any;
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
export interface PullThroughCacheRule {
|
|
1089
|
+
|
|
1090
|
+
ecrRepositoryPrefix?: string;
|
|
1091
|
+
|
|
1092
|
+
upstreamRegistryUrl?: string;
|
|
1093
|
+
|
|
1094
|
+
createdAt?: Date;
|
|
1095
|
+
|
|
1096
|
+
registryId?: string;
|
|
1097
|
+
}
|
|
1098
|
+
export declare namespace PullThroughCacheRule {
|
|
1099
|
+
|
|
1100
|
+
const filterSensitiveLog: (obj: PullThroughCacheRule) => any;
|
|
1101
|
+
}
|
|
1102
|
+
export interface DescribePullThroughCacheRulesResponse {
|
|
1103
|
+
|
|
1104
|
+
pullThroughCacheRules?: PullThroughCacheRule[];
|
|
1105
|
+
|
|
1106
|
+
nextToken?: string;
|
|
1107
|
+
}
|
|
1108
|
+
export declare namespace DescribePullThroughCacheRulesResponse {
|
|
797
1109
|
|
|
798
|
-
const filterSensitiveLog: (obj:
|
|
1110
|
+
const filterSensitiveLog: (obj: DescribePullThroughCacheRulesResponse) => any;
|
|
799
1111
|
}
|
|
800
1112
|
export interface DescribeRegistryRequest {
|
|
801
1113
|
}
|
|
@@ -940,10 +1252,6 @@ export interface LayerInaccessibleException extends __SmithyException, $Metadata
|
|
|
940
1252
|
|
|
941
1253
|
message?: string;
|
|
942
1254
|
}
|
|
943
|
-
export declare namespace LayerInaccessibleException {
|
|
944
|
-
|
|
945
|
-
const filterSensitiveLog: (obj: LayerInaccessibleException) => any;
|
|
946
|
-
}
|
|
947
1255
|
|
|
948
1256
|
export interface LayersNotFoundException extends __SmithyException, $MetadataBearer {
|
|
949
1257
|
name: "LayersNotFoundException";
|
|
@@ -951,10 +1259,6 @@ export interface LayersNotFoundException extends __SmithyException, $MetadataBea
|
|
|
951
1259
|
|
|
952
1260
|
message?: string;
|
|
953
1261
|
}
|
|
954
|
-
export declare namespace LayersNotFoundException {
|
|
955
|
-
|
|
956
|
-
const filterSensitiveLog: (obj: LayersNotFoundException) => any;
|
|
957
|
-
}
|
|
958
1262
|
export interface GetLifecyclePolicyRequest {
|
|
959
1263
|
|
|
960
1264
|
registryId?: string;
|
|
@@ -1076,10 +1380,6 @@ export interface LifecyclePolicyPreviewNotFoundException extends __SmithyExcepti
|
|
|
1076
1380
|
$fault: "client";
|
|
1077
1381
|
message?: string;
|
|
1078
1382
|
}
|
|
1079
|
-
export declare namespace LifecyclePolicyPreviewNotFoundException {
|
|
1080
|
-
|
|
1081
|
-
const filterSensitiveLog: (obj: LifecyclePolicyPreviewNotFoundException) => any;
|
|
1082
|
-
}
|
|
1083
1383
|
export interface GetRegistryPolicyRequest {
|
|
1084
1384
|
}
|
|
1085
1385
|
export declare namespace GetRegistryPolicyRequest {
|
|
@@ -1096,6 +1396,48 @@ export declare namespace GetRegistryPolicyResponse {
|
|
|
1096
1396
|
|
|
1097
1397
|
const filterSensitiveLog: (obj: GetRegistryPolicyResponse) => any;
|
|
1098
1398
|
}
|
|
1399
|
+
export interface GetRegistryScanningConfigurationRequest {
|
|
1400
|
+
}
|
|
1401
|
+
export declare namespace GetRegistryScanningConfigurationRequest {
|
|
1402
|
+
|
|
1403
|
+
const filterSensitiveLog: (obj: GetRegistryScanningConfigurationRequest) => any;
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
export interface RegistryScanningRule {
|
|
1407
|
+
|
|
1408
|
+
scanFrequency: ScanFrequency | string | undefined;
|
|
1409
|
+
|
|
1410
|
+
repositoryFilters: ScanningRepositoryFilter[] | undefined;
|
|
1411
|
+
}
|
|
1412
|
+
export declare namespace RegistryScanningRule {
|
|
1413
|
+
|
|
1414
|
+
const filterSensitiveLog: (obj: RegistryScanningRule) => any;
|
|
1415
|
+
}
|
|
1416
|
+
export declare enum ScanType {
|
|
1417
|
+
BASIC = "BASIC",
|
|
1418
|
+
ENHANCED = "ENHANCED"
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
export interface RegistryScanningConfiguration {
|
|
1422
|
+
|
|
1423
|
+
scanType?: ScanType | string;
|
|
1424
|
+
|
|
1425
|
+
rules?: RegistryScanningRule[];
|
|
1426
|
+
}
|
|
1427
|
+
export declare namespace RegistryScanningConfiguration {
|
|
1428
|
+
|
|
1429
|
+
const filterSensitiveLog: (obj: RegistryScanningConfiguration) => any;
|
|
1430
|
+
}
|
|
1431
|
+
export interface GetRegistryScanningConfigurationResponse {
|
|
1432
|
+
|
|
1433
|
+
registryId?: string;
|
|
1434
|
+
|
|
1435
|
+
scanningConfiguration?: RegistryScanningConfiguration;
|
|
1436
|
+
}
|
|
1437
|
+
export declare namespace GetRegistryScanningConfigurationResponse {
|
|
1438
|
+
|
|
1439
|
+
const filterSensitiveLog: (obj: GetRegistryScanningConfigurationResponse) => any;
|
|
1440
|
+
}
|
|
1099
1441
|
export interface GetRepositoryPolicyRequest {
|
|
1100
1442
|
|
|
1101
1443
|
registryId?: string;
|
|
@@ -1196,30 +1538,18 @@ export interface ImageAlreadyExistsException extends __SmithyException, $Metadat
|
|
|
1196
1538
|
|
|
1197
1539
|
message?: string;
|
|
1198
1540
|
}
|
|
1199
|
-
export declare namespace ImageAlreadyExistsException {
|
|
1200
|
-
|
|
1201
|
-
const filterSensitiveLog: (obj: ImageAlreadyExistsException) => any;
|
|
1202
|
-
}
|
|
1203
1541
|
|
|
1204
1542
|
export interface ImageDigestDoesNotMatchException extends __SmithyException, $MetadataBearer {
|
|
1205
1543
|
name: "ImageDigestDoesNotMatchException";
|
|
1206
1544
|
$fault: "client";
|
|
1207
1545
|
message?: string;
|
|
1208
1546
|
}
|
|
1209
|
-
export declare namespace ImageDigestDoesNotMatchException {
|
|
1210
|
-
|
|
1211
|
-
const filterSensitiveLog: (obj: ImageDigestDoesNotMatchException) => any;
|
|
1212
|
-
}
|
|
1213
1547
|
|
|
1214
1548
|
export interface ImageTagAlreadyExistsException extends __SmithyException, $MetadataBearer {
|
|
1215
1549
|
name: "ImageTagAlreadyExistsException";
|
|
1216
1550
|
$fault: "client";
|
|
1217
1551
|
message?: string;
|
|
1218
1552
|
}
|
|
1219
|
-
export declare namespace ImageTagAlreadyExistsException {
|
|
1220
|
-
|
|
1221
|
-
const filterSensitiveLog: (obj: ImageTagAlreadyExistsException) => any;
|
|
1222
|
-
}
|
|
1223
1553
|
export interface PutImageRequest {
|
|
1224
1554
|
|
|
1225
1555
|
registryId?: string;
|
|
@@ -1252,10 +1582,6 @@ export interface ReferencedImagesNotFoundException extends __SmithyException, $M
|
|
|
1252
1582
|
$fault: "client";
|
|
1253
1583
|
message?: string;
|
|
1254
1584
|
}
|
|
1255
|
-
export declare namespace ReferencedImagesNotFoundException {
|
|
1256
|
-
|
|
1257
|
-
const filterSensitiveLog: (obj: ReferencedImagesNotFoundException) => any;
|
|
1258
|
-
}
|
|
1259
1585
|
export interface PutImageScanningConfigurationRequest {
|
|
1260
1586
|
|
|
1261
1587
|
registryId?: string;
|
|
@@ -1346,6 +1672,24 @@ export declare namespace PutRegistryPolicyResponse {
|
|
|
1346
1672
|
|
|
1347
1673
|
const filterSensitiveLog: (obj: PutRegistryPolicyResponse) => any;
|
|
1348
1674
|
}
|
|
1675
|
+
export interface PutRegistryScanningConfigurationRequest {
|
|
1676
|
+
|
|
1677
|
+
scanType?: ScanType | string;
|
|
1678
|
+
|
|
1679
|
+
rules?: RegistryScanningRule[];
|
|
1680
|
+
}
|
|
1681
|
+
export declare namespace PutRegistryScanningConfigurationRequest {
|
|
1682
|
+
|
|
1683
|
+
const filterSensitiveLog: (obj: PutRegistryScanningConfigurationRequest) => any;
|
|
1684
|
+
}
|
|
1685
|
+
export interface PutRegistryScanningConfigurationResponse {
|
|
1686
|
+
|
|
1687
|
+
registryScanningConfiguration?: RegistryScanningConfiguration;
|
|
1688
|
+
}
|
|
1689
|
+
export declare namespace PutRegistryScanningConfigurationResponse {
|
|
1690
|
+
|
|
1691
|
+
const filterSensitiveLog: (obj: PutRegistryScanningConfigurationResponse) => any;
|
|
1692
|
+
}
|
|
1349
1693
|
export interface PutReplicationConfigurationRequest {
|
|
1350
1694
|
|
|
1351
1695
|
replicationConfiguration: ReplicationConfiguration | undefined;
|
|
@@ -1420,20 +1764,12 @@ export interface UnsupportedImageTypeException extends __SmithyException, $Metad
|
|
|
1420
1764
|
$fault: "client";
|
|
1421
1765
|
message?: string;
|
|
1422
1766
|
}
|
|
1423
|
-
export declare namespace UnsupportedImageTypeException {
|
|
1424
|
-
|
|
1425
|
-
const filterSensitiveLog: (obj: UnsupportedImageTypeException) => any;
|
|
1426
|
-
}
|
|
1427
1767
|
|
|
1428
1768
|
export interface LifecyclePolicyPreviewInProgressException extends __SmithyException, $MetadataBearer {
|
|
1429
1769
|
name: "LifecyclePolicyPreviewInProgressException";
|
|
1430
1770
|
$fault: "client";
|
|
1431
1771
|
message?: string;
|
|
1432
1772
|
}
|
|
1433
|
-
export declare namespace LifecyclePolicyPreviewInProgressException {
|
|
1434
|
-
|
|
1435
|
-
const filterSensitiveLog: (obj: LifecyclePolicyPreviewInProgressException) => any;
|
|
1436
|
-
}
|
|
1437
1773
|
export interface StartLifecyclePolicyPreviewRequest {
|
|
1438
1774
|
|
|
1439
1775
|
registryId?: string;
|
|
@@ -1507,10 +1843,6 @@ export interface InvalidLayerPartException extends __SmithyException, $MetadataB
|
|
|
1507
1843
|
|
|
1508
1844
|
message?: string;
|
|
1509
1845
|
}
|
|
1510
|
-
export declare namespace InvalidLayerPartException {
|
|
1511
|
-
|
|
1512
|
-
const filterSensitiveLog: (obj: InvalidLayerPartException) => any;
|
|
1513
|
-
}
|
|
1514
1846
|
export interface UploadLayerPartRequest {
|
|
1515
1847
|
|
|
1516
1848
|
registryId?: string;
|