@aws-sdk/client-ecr 3.687.0 → 3.691.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.
@@ -1,7 +1,7 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ECRServiceException as __BaseException } from "./ECRServiceException";
3
3
  export interface BatchCheckLayerAvailabilityRequest {
4
- registryId?: string;
4
+ registryId?: string | undefined;
5
5
  repositoryName: string | undefined;
6
6
  layerDigests: string[] | undefined;
7
7
  }
@@ -12,9 +12,9 @@ export declare const LayerFailureCode: {
12
12
  export type LayerFailureCode =
13
13
  (typeof LayerFailureCode)[keyof typeof LayerFailureCode];
14
14
  export interface LayerFailure {
15
- layerDigest?: string;
16
- failureCode?: LayerFailureCode;
17
- failureReason?: string;
15
+ layerDigest?: string | undefined;
16
+ failureCode?: LayerFailureCode | undefined;
17
+ failureReason?: string | undefined;
18
18
  }
19
19
  export declare const LayerAvailability: {
20
20
  readonly AVAILABLE: "AVAILABLE";
@@ -23,14 +23,14 @@ export declare const LayerAvailability: {
23
23
  export type LayerAvailability =
24
24
  (typeof LayerAvailability)[keyof typeof LayerAvailability];
25
25
  export interface Layer {
26
- layerDigest?: string;
27
- layerAvailability?: LayerAvailability;
28
- layerSize?: number;
29
- mediaType?: string;
26
+ layerDigest?: string | undefined;
27
+ layerAvailability?: LayerAvailability | undefined;
28
+ layerSize?: number | undefined;
29
+ mediaType?: string | undefined;
30
30
  }
31
31
  export interface BatchCheckLayerAvailabilityResponse {
32
- layers?: Layer[];
33
- failures?: LayerFailure[];
32
+ layers?: Layer[] | undefined;
33
+ failures?: LayerFailure[] | undefined;
34
34
  }
35
35
  export declare class InvalidParameterException extends __BaseException {
36
36
  readonly name: "InvalidParameterException";
@@ -52,11 +52,11 @@ export declare class ServerException extends __BaseException {
52
52
  constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
53
53
  }
54
54
  export interface ImageIdentifier {
55
- imageDigest?: string;
56
- imageTag?: string;
55
+ imageDigest?: string | undefined;
56
+ imageTag?: string | undefined;
57
57
  }
58
58
  export interface BatchDeleteImageRequest {
59
- registryId?: string;
59
+ registryId?: string | undefined;
60
60
  repositoryName: string | undefined;
61
61
  imageIds: ImageIdentifier[] | undefined;
62
62
  }
@@ -75,30 +75,30 @@ export declare const ImageFailureCode: {
75
75
  export type ImageFailureCode =
76
76
  (typeof ImageFailureCode)[keyof typeof ImageFailureCode];
77
77
  export interface ImageFailure {
78
- imageId?: ImageIdentifier;
79
- failureCode?: ImageFailureCode;
80
- failureReason?: string;
78
+ imageId?: ImageIdentifier | undefined;
79
+ failureCode?: ImageFailureCode | undefined;
80
+ failureReason?: string | undefined;
81
81
  }
82
82
  export interface BatchDeleteImageResponse {
83
- imageIds?: ImageIdentifier[];
84
- failures?: ImageFailure[];
83
+ imageIds?: ImageIdentifier[] | undefined;
84
+ failures?: ImageFailure[] | undefined;
85
85
  }
86
86
  export interface BatchGetImageRequest {
87
- registryId?: string;
87
+ registryId?: string | undefined;
88
88
  repositoryName: string | undefined;
89
89
  imageIds: ImageIdentifier[] | undefined;
90
- acceptedMediaTypes?: string[];
90
+ acceptedMediaTypes?: string[] | undefined;
91
91
  }
92
92
  export interface Image {
93
- registryId?: string;
94
- repositoryName?: string;
95
- imageId?: ImageIdentifier;
96
- imageManifest?: string;
97
- imageManifestMediaType?: string;
93
+ registryId?: string | undefined;
94
+ repositoryName?: string | undefined;
95
+ imageId?: ImageIdentifier | undefined;
96
+ imageManifest?: string | undefined;
97
+ imageManifestMediaType?: string | undefined;
98
98
  }
99
99
  export interface BatchGetImageResponse {
100
- images?: Image[];
101
- failures?: ImageFailure[];
100
+ images?: Image[] | undefined;
101
+ failures?: ImageFailure[] | undefined;
102
102
  }
103
103
  export declare class LimitExceededException extends __BaseException {
104
104
  readonly name: "LimitExceededException";
@@ -126,9 +126,9 @@ export declare const ScanningConfigurationFailureCode: {
126
126
  export type ScanningConfigurationFailureCode =
127
127
  (typeof ScanningConfigurationFailureCode)[keyof typeof ScanningConfigurationFailureCode];
128
128
  export interface RepositoryScanningConfigurationFailure {
129
- repositoryName?: string;
130
- failureCode?: ScanningConfigurationFailureCode;
131
- failureReason?: string;
129
+ repositoryName?: string | undefined;
130
+ failureCode?: ScanningConfigurationFailureCode | undefined;
131
+ failureReason?: string | undefined;
132
132
  }
133
133
  export declare const ScanningRepositoryFilterType: {
134
134
  readonly WILDCARD: "WILDCARD";
@@ -146,15 +146,15 @@ export declare const ScanFrequency: {
146
146
  };
147
147
  export type ScanFrequency = (typeof ScanFrequency)[keyof typeof ScanFrequency];
148
148
  export interface RepositoryScanningConfiguration {
149
- repositoryArn?: string;
150
- repositoryName?: string;
151
- scanOnPush?: boolean;
152
- scanFrequency?: ScanFrequency;
153
- appliedScanFilters?: ScanningRepositoryFilter[];
149
+ repositoryArn?: string | undefined;
150
+ repositoryName?: string | undefined;
151
+ scanOnPush?: boolean | undefined;
152
+ scanFrequency?: ScanFrequency | undefined;
153
+ appliedScanFilters?: ScanningRepositoryFilter[] | undefined;
154
154
  }
155
155
  export interface BatchGetRepositoryScanningConfigurationResponse {
156
- scanningConfigurations?: RepositoryScanningConfiguration[];
157
- failures?: RepositoryScanningConfigurationFailure[];
156
+ scanningConfigurations?: RepositoryScanningConfiguration[] | undefined;
157
+ failures?: RepositoryScanningConfigurationFailure[] | undefined;
158
158
  }
159
159
  export declare class ValidationException extends __BaseException {
160
160
  readonly name: "ValidationException";
@@ -164,16 +164,16 @@ export declare class ValidationException extends __BaseException {
164
164
  );
165
165
  }
166
166
  export interface CompleteLayerUploadRequest {
167
- registryId?: string;
167
+ registryId?: string | undefined;
168
168
  repositoryName: string | undefined;
169
169
  uploadId: string | undefined;
170
170
  layerDigests: string[] | undefined;
171
171
  }
172
172
  export interface CompleteLayerUploadResponse {
173
- registryId?: string;
174
- repositoryName?: string;
175
- uploadId?: string;
176
- layerDigest?: string;
173
+ registryId?: string | undefined;
174
+ repositoryName?: string | undefined;
175
+ uploadId?: string | undefined;
176
+ layerDigest?: string | undefined;
177
177
  }
178
178
  export declare class EmptyUploadException extends __BaseException {
179
179
  readonly name: "EmptyUploadException";
@@ -192,7 +192,7 @@ export declare class InvalidLayerException extends __BaseException {
192
192
  export declare class KmsException extends __BaseException {
193
193
  readonly name: "KmsException";
194
194
  readonly $fault: "client";
195
- kmsError?: string;
195
+ kmsError?: string | undefined;
196
196
  constructor(opts: __ExceptionOptionType<KmsException, __BaseException>);
197
197
  }
198
198
  export declare class LayerAlreadyExistsException extends __BaseException {
@@ -230,17 +230,17 @@ export type UpstreamRegistry =
230
230
  export interface CreatePullThroughCacheRuleRequest {
231
231
  ecrRepositoryPrefix: string | undefined;
232
232
  upstreamRegistryUrl: string | undefined;
233
- registryId?: string;
234
- upstreamRegistry?: UpstreamRegistry;
235
- credentialArn?: string;
233
+ registryId?: string | undefined;
234
+ upstreamRegistry?: UpstreamRegistry | undefined;
235
+ credentialArn?: string | undefined;
236
236
  }
237
237
  export interface CreatePullThroughCacheRuleResponse {
238
- ecrRepositoryPrefix?: string;
239
- upstreamRegistryUrl?: string;
240
- createdAt?: Date;
241
- registryId?: string;
242
- upstreamRegistry?: UpstreamRegistry;
243
- credentialArn?: string;
238
+ ecrRepositoryPrefix?: string | undefined;
239
+ upstreamRegistryUrl?: string | undefined;
240
+ createdAt?: Date | undefined;
241
+ registryId?: string | undefined;
242
+ upstreamRegistry?: UpstreamRegistry | undefined;
243
+ credentialArn?: string | undefined;
244
244
  }
245
245
  export declare class PullThroughCacheRuleAlreadyExistsException extends __BaseException {
246
246
  readonly name: "PullThroughCacheRuleAlreadyExistsException";
@@ -295,10 +295,10 @@ export type EncryptionType =
295
295
  (typeof EncryptionType)[keyof typeof EncryptionType];
296
296
  export interface EncryptionConfiguration {
297
297
  encryptionType: EncryptionType | undefined;
298
- kmsKey?: string;
298
+ kmsKey?: string | undefined;
299
299
  }
300
300
  export interface ImageScanningConfiguration {
301
- scanOnPush?: boolean;
301
+ scanOnPush?: boolean | undefined;
302
302
  }
303
303
  export declare const ImageTagMutability: {
304
304
  readonly IMMUTABLE: "IMMUTABLE";
@@ -311,25 +311,25 @@ export interface Tag {
311
311
  Value: string | undefined;
312
312
  }
313
313
  export interface CreateRepositoryRequest {
314
- registryId?: string;
314
+ registryId?: string | undefined;
315
315
  repositoryName: string | undefined;
316
- tags?: Tag[];
317
- imageTagMutability?: ImageTagMutability;
318
- imageScanningConfiguration?: ImageScanningConfiguration;
319
- encryptionConfiguration?: EncryptionConfiguration;
316
+ tags?: Tag[] | undefined;
317
+ imageTagMutability?: ImageTagMutability | undefined;
318
+ imageScanningConfiguration?: ImageScanningConfiguration | undefined;
319
+ encryptionConfiguration?: EncryptionConfiguration | undefined;
320
320
  }
321
321
  export interface Repository {
322
- repositoryArn?: string;
323
- registryId?: string;
324
- repositoryName?: string;
325
- repositoryUri?: string;
326
- createdAt?: Date;
327
- imageTagMutability?: ImageTagMutability;
328
- imageScanningConfiguration?: ImageScanningConfiguration;
329
- encryptionConfiguration?: EncryptionConfiguration;
322
+ repositoryArn?: string | undefined;
323
+ registryId?: string | undefined;
324
+ repositoryName?: string | undefined;
325
+ repositoryUri?: string | undefined;
326
+ createdAt?: Date | undefined;
327
+ imageTagMutability?: ImageTagMutability | undefined;
328
+ imageScanningConfiguration?: ImageScanningConfiguration | undefined;
329
+ encryptionConfiguration?: EncryptionConfiguration | undefined;
330
330
  }
331
331
  export interface CreateRepositoryResponse {
332
- repository?: Repository;
332
+ repository?: Repository | undefined;
333
333
  }
334
334
  export declare class InvalidTagParameterException extends __BaseException {
335
335
  readonly name: "InvalidTagParameterException";
@@ -362,35 +362,39 @@ export declare const RCTAppliedFor: {
362
362
  export type RCTAppliedFor = (typeof RCTAppliedFor)[keyof typeof RCTAppliedFor];
363
363
  export interface EncryptionConfigurationForRepositoryCreationTemplate {
364
364
  encryptionType: EncryptionType | undefined;
365
- kmsKey?: string;
365
+ kmsKey?: string | undefined;
366
366
  }
367
367
  export interface CreateRepositoryCreationTemplateRequest {
368
368
  prefix: string | undefined;
369
- description?: string;
370
- encryptionConfiguration?: EncryptionConfigurationForRepositoryCreationTemplate;
371
- resourceTags?: Tag[];
372
- imageTagMutability?: ImageTagMutability;
373
- repositoryPolicy?: string;
374
- lifecyclePolicy?: string;
369
+ description?: string | undefined;
370
+ encryptionConfiguration?:
371
+ | EncryptionConfigurationForRepositoryCreationTemplate
372
+ | undefined;
373
+ resourceTags?: Tag[] | undefined;
374
+ imageTagMutability?: ImageTagMutability | undefined;
375
+ repositoryPolicy?: string | undefined;
376
+ lifecyclePolicy?: string | undefined;
375
377
  appliedFor: RCTAppliedFor[] | undefined;
376
- customRoleArn?: string;
378
+ customRoleArn?: string | undefined;
377
379
  }
378
380
  export interface RepositoryCreationTemplate {
379
- prefix?: string;
380
- description?: string;
381
- encryptionConfiguration?: EncryptionConfigurationForRepositoryCreationTemplate;
382
- resourceTags?: Tag[];
383
- imageTagMutability?: ImageTagMutability;
384
- repositoryPolicy?: string;
385
- lifecyclePolicy?: string;
386
- appliedFor?: RCTAppliedFor[];
387
- customRoleArn?: string;
388
- createdAt?: Date;
389
- updatedAt?: Date;
381
+ prefix?: string | undefined;
382
+ description?: string | undefined;
383
+ encryptionConfiguration?:
384
+ | EncryptionConfigurationForRepositoryCreationTemplate
385
+ | undefined;
386
+ resourceTags?: Tag[] | undefined;
387
+ imageTagMutability?: ImageTagMutability | undefined;
388
+ repositoryPolicy?: string | undefined;
389
+ lifecyclePolicy?: string | undefined;
390
+ appliedFor?: RCTAppliedFor[] | undefined;
391
+ customRoleArn?: string | undefined;
392
+ createdAt?: Date | undefined;
393
+ updatedAt?: Date | undefined;
390
394
  }
391
395
  export interface CreateRepositoryCreationTemplateResponse {
392
- registryId?: string;
393
- repositoryCreationTemplate?: RepositoryCreationTemplate;
396
+ registryId?: string | undefined;
397
+ repositoryCreationTemplate?: RepositoryCreationTemplate | undefined;
394
398
  }
395
399
  export declare class TemplateAlreadyExistsException extends __BaseException {
396
400
  readonly name: "TemplateAlreadyExistsException";
@@ -400,14 +404,14 @@ export declare class TemplateAlreadyExistsException extends __BaseException {
400
404
  );
401
405
  }
402
406
  export interface DeleteLifecyclePolicyRequest {
403
- registryId?: string;
407
+ registryId?: string | undefined;
404
408
  repositoryName: string | undefined;
405
409
  }
406
410
  export interface DeleteLifecyclePolicyResponse {
407
- registryId?: string;
408
- repositoryName?: string;
409
- lifecyclePolicyText?: string;
410
- lastEvaluatedAt?: Date;
411
+ registryId?: string | undefined;
412
+ repositoryName?: string | undefined;
413
+ lifecyclePolicyText?: string | undefined;
414
+ lastEvaluatedAt?: Date | undefined;
411
415
  }
412
416
  export declare class LifecyclePolicyNotFoundException extends __BaseException {
413
417
  readonly name: "LifecyclePolicyNotFoundException";
@@ -421,14 +425,14 @@ export declare class LifecyclePolicyNotFoundException extends __BaseException {
421
425
  }
422
426
  export interface DeletePullThroughCacheRuleRequest {
423
427
  ecrRepositoryPrefix: string | undefined;
424
- registryId?: string;
428
+ registryId?: string | undefined;
425
429
  }
426
430
  export interface DeletePullThroughCacheRuleResponse {
427
- ecrRepositoryPrefix?: string;
428
- upstreamRegistryUrl?: string;
429
- createdAt?: Date;
430
- registryId?: string;
431
- credentialArn?: string;
431
+ ecrRepositoryPrefix?: string | undefined;
432
+ upstreamRegistryUrl?: string | undefined;
433
+ createdAt?: Date | undefined;
434
+ registryId?: string | undefined;
435
+ credentialArn?: string | undefined;
432
436
  }
433
437
  export declare class PullThroughCacheRuleNotFoundException extends __BaseException {
434
438
  readonly name: "PullThroughCacheRuleNotFoundException";
@@ -442,8 +446,8 @@ export declare class PullThroughCacheRuleNotFoundException extends __BaseExcepti
442
446
  }
443
447
  export interface DeleteRegistryPolicyRequest {}
444
448
  export interface DeleteRegistryPolicyResponse {
445
- registryId?: string;
446
- policyText?: string;
449
+ registryId?: string | undefined;
450
+ policyText?: string | undefined;
447
451
  }
448
452
  export declare class RegistryPolicyNotFoundException extends __BaseException {
449
453
  readonly name: "RegistryPolicyNotFoundException";
@@ -456,12 +460,12 @@ export declare class RegistryPolicyNotFoundException extends __BaseException {
456
460
  );
457
461
  }
458
462
  export interface DeleteRepositoryRequest {
459
- registryId?: string;
463
+ registryId?: string | undefined;
460
464
  repositoryName: string | undefined;
461
- force?: boolean;
465
+ force?: boolean | undefined;
462
466
  }
463
467
  export interface DeleteRepositoryResponse {
464
- repository?: Repository;
468
+ repository?: Repository | undefined;
465
469
  }
466
470
  export declare class RepositoryNotEmptyException extends __BaseException {
467
471
  readonly name: "RepositoryNotEmptyException";
@@ -474,8 +478,8 @@ export interface DeleteRepositoryCreationTemplateRequest {
474
478
  prefix: string | undefined;
475
479
  }
476
480
  export interface DeleteRepositoryCreationTemplateResponse {
477
- registryId?: string;
478
- repositoryCreationTemplate?: RepositoryCreationTemplate;
481
+ registryId?: string | undefined;
482
+ repositoryCreationTemplate?: RepositoryCreationTemplate | undefined;
479
483
  }
480
484
  export declare class TemplateNotFoundException extends __BaseException {
481
485
  readonly name: "TemplateNotFoundException";
@@ -485,13 +489,13 @@ export declare class TemplateNotFoundException extends __BaseException {
485
489
  );
486
490
  }
487
491
  export interface DeleteRepositoryPolicyRequest {
488
- registryId?: string;
492
+ registryId?: string | undefined;
489
493
  repositoryName: string | undefined;
490
494
  }
491
495
  export interface DeleteRepositoryPolicyResponse {
492
- registryId?: string;
493
- repositoryName?: string;
494
- policyText?: string;
496
+ registryId?: string | undefined;
497
+ repositoryName?: string | undefined;
498
+ policyText?: string | undefined;
495
499
  }
496
500
  export declare class RepositoryPolicyNotFoundException extends __BaseException {
497
501
  readonly name: "RepositoryPolicyNotFoundException";
@@ -506,7 +510,7 @@ export declare class RepositoryPolicyNotFoundException extends __BaseException {
506
510
  export interface DescribeImageReplicationStatusRequest {
507
511
  repositoryName: string | undefined;
508
512
  imageId: ImageIdentifier | undefined;
509
- registryId?: string;
513
+ registryId?: string | undefined;
510
514
  }
511
515
  export declare const ReplicationStatus: {
512
516
  readonly COMPLETE: "COMPLETE";
@@ -516,15 +520,15 @@ export declare const ReplicationStatus: {
516
520
  export type ReplicationStatus =
517
521
  (typeof ReplicationStatus)[keyof typeof ReplicationStatus];
518
522
  export interface ImageReplicationStatus {
519
- region?: string;
520
- registryId?: string;
521
- status?: ReplicationStatus;
522
- failureCode?: string;
523
+ region?: string | undefined;
524
+ registryId?: string | undefined;
525
+ status?: ReplicationStatus | undefined;
526
+ failureCode?: string | undefined;
523
527
  }
524
528
  export interface DescribeImageReplicationStatusResponse {
525
- repositoryName?: string;
526
- imageId?: ImageIdentifier;
527
- replicationStatuses?: ImageReplicationStatus[];
529
+ repositoryName?: string | undefined;
530
+ imageId?: ImageIdentifier | undefined;
531
+ replicationStatuses?: ImageReplicationStatus[] | undefined;
528
532
  }
529
533
  export declare class ImageNotFoundException extends __BaseException {
530
534
  readonly name: "ImageNotFoundException";
@@ -540,15 +544,15 @@ export declare const TagStatus: {
540
544
  };
541
545
  export type TagStatus = (typeof TagStatus)[keyof typeof TagStatus];
542
546
  export interface DescribeImagesFilter {
543
- tagStatus?: TagStatus;
547
+ tagStatus?: TagStatus | undefined;
544
548
  }
545
549
  export interface DescribeImagesRequest {
546
- registryId?: string;
550
+ registryId?: string | undefined;
547
551
  repositoryName: string | undefined;
548
- imageIds?: ImageIdentifier[];
549
- nextToken?: string;
550
- maxResults?: number;
551
- filter?: DescribeImagesFilter;
552
+ imageIds?: ImageIdentifier[] | undefined;
553
+ nextToken?: string | undefined;
554
+ maxResults?: number | undefined;
555
+ filter?: DescribeImagesFilter | undefined;
552
556
  }
553
557
  export declare const FindingSeverity: {
554
558
  readonly CRITICAL: "CRITICAL";
@@ -561,9 +565,9 @@ export declare const FindingSeverity: {
561
565
  export type FindingSeverity =
562
566
  (typeof FindingSeverity)[keyof typeof FindingSeverity];
563
567
  export interface ImageScanFindingsSummary {
564
- imageScanCompletedAt?: Date;
565
- vulnerabilitySourceUpdatedAt?: Date;
566
- findingSeverityCounts?: Partial<Record<FindingSeverity, number>>;
568
+ imageScanCompletedAt?: Date | undefined;
569
+ vulnerabilitySourceUpdatedAt?: Date | undefined;
570
+ findingSeverityCounts?: Partial<Record<FindingSeverity, number>> | undefined;
567
571
  }
568
572
  export declare const ScanStatus: {
569
573
  readonly ACTIVE: "ACTIVE";
@@ -577,146 +581,146 @@ export declare const ScanStatus: {
577
581
  };
578
582
  export type ScanStatus = (typeof ScanStatus)[keyof typeof ScanStatus];
579
583
  export interface ImageScanStatus {
580
- status?: ScanStatus;
581
- description?: string;
584
+ status?: ScanStatus | undefined;
585
+ description?: string | undefined;
582
586
  }
583
587
  export interface ImageDetail {
584
- registryId?: string;
585
- repositoryName?: string;
586
- imageDigest?: string;
587
- imageTags?: string[];
588
- imageSizeInBytes?: number;
589
- imagePushedAt?: Date;
590
- imageScanStatus?: ImageScanStatus;
591
- imageScanFindingsSummary?: ImageScanFindingsSummary;
592
- imageManifestMediaType?: string;
593
- artifactMediaType?: string;
594
- lastRecordedPullTime?: Date;
588
+ registryId?: string | undefined;
589
+ repositoryName?: string | undefined;
590
+ imageDigest?: string | undefined;
591
+ imageTags?: string[] | undefined;
592
+ imageSizeInBytes?: number | undefined;
593
+ imagePushedAt?: Date | undefined;
594
+ imageScanStatus?: ImageScanStatus | undefined;
595
+ imageScanFindingsSummary?: ImageScanFindingsSummary | undefined;
596
+ imageManifestMediaType?: string | undefined;
597
+ artifactMediaType?: string | undefined;
598
+ lastRecordedPullTime?: Date | undefined;
595
599
  }
596
600
  export interface DescribeImagesResponse {
597
- imageDetails?: ImageDetail[];
598
- nextToken?: string;
601
+ imageDetails?: ImageDetail[] | undefined;
602
+ nextToken?: string | undefined;
599
603
  }
600
604
  export interface DescribeImageScanFindingsRequest {
601
- registryId?: string;
605
+ registryId?: string | undefined;
602
606
  repositoryName: string | undefined;
603
607
  imageId: ImageIdentifier | undefined;
604
- nextToken?: string;
605
- maxResults?: number;
608
+ nextToken?: string | undefined;
609
+ maxResults?: number | undefined;
606
610
  }
607
611
  export interface CvssScore {
608
- baseScore?: number;
609
- scoringVector?: string;
610
- source?: string;
611
- version?: string;
612
+ baseScore?: number | undefined;
613
+ scoringVector?: string | undefined;
614
+ source?: string | undefined;
615
+ version?: string | undefined;
612
616
  }
613
617
  export interface VulnerablePackage {
614
- arch?: string;
615
- epoch?: number;
616
- filePath?: string;
617
- name?: string;
618
- packageManager?: string;
619
- release?: string;
620
- sourceLayerHash?: string;
621
- version?: string;
622
- fixedInVersion?: string;
618
+ arch?: string | undefined;
619
+ epoch?: number | undefined;
620
+ filePath?: string | undefined;
621
+ name?: string | undefined;
622
+ packageManager?: string | undefined;
623
+ release?: string | undefined;
624
+ sourceLayerHash?: string | undefined;
625
+ version?: string | undefined;
626
+ fixedInVersion?: string | undefined;
623
627
  }
624
628
  export interface PackageVulnerabilityDetails {
625
- cvss?: CvssScore[];
626
- referenceUrls?: string[];
627
- relatedVulnerabilities?: string[];
628
- source?: string;
629
- sourceUrl?: string;
630
- vendorCreatedAt?: Date;
631
- vendorSeverity?: string;
632
- vendorUpdatedAt?: Date;
633
- vulnerabilityId?: string;
634
- vulnerablePackages?: VulnerablePackage[];
629
+ cvss?: CvssScore[] | undefined;
630
+ referenceUrls?: string[] | undefined;
631
+ relatedVulnerabilities?: string[] | undefined;
632
+ source?: string | undefined;
633
+ sourceUrl?: string | undefined;
634
+ vendorCreatedAt?: Date | undefined;
635
+ vendorSeverity?: string | undefined;
636
+ vendorUpdatedAt?: Date | undefined;
637
+ vulnerabilityId?: string | undefined;
638
+ vulnerablePackages?: VulnerablePackage[] | undefined;
635
639
  }
636
640
  export interface Recommendation {
637
- url?: string;
638
- text?: string;
641
+ url?: string | undefined;
642
+ text?: string | undefined;
639
643
  }
640
644
  export interface Remediation {
641
- recommendation?: Recommendation;
645
+ recommendation?: Recommendation | undefined;
642
646
  }
643
647
  export interface AwsEcrContainerImageDetails {
644
- architecture?: string;
645
- author?: string;
646
- imageHash?: string;
647
- imageTags?: string[];
648
- platform?: string;
649
- pushedAt?: Date;
650
- registry?: string;
651
- repositoryName?: string;
648
+ architecture?: string | undefined;
649
+ author?: string | undefined;
650
+ imageHash?: string | undefined;
651
+ imageTags?: string[] | undefined;
652
+ platform?: string | undefined;
653
+ pushedAt?: Date | undefined;
654
+ registry?: string | undefined;
655
+ repositoryName?: string | undefined;
652
656
  }
653
657
  export interface ResourceDetails {
654
- awsEcrContainerImage?: AwsEcrContainerImageDetails;
658
+ awsEcrContainerImage?: AwsEcrContainerImageDetails | undefined;
655
659
  }
656
660
  export interface Resource {
657
- details?: ResourceDetails;
658
- id?: string;
659
- tags?: Record<string, string>;
660
- type?: string;
661
+ details?: ResourceDetails | undefined;
662
+ id?: string | undefined;
663
+ tags?: Record<string, string> | undefined;
664
+ type?: string | undefined;
661
665
  }
662
666
  export interface CvssScoreAdjustment {
663
- metric?: string;
664
- reason?: string;
667
+ metric?: string | undefined;
668
+ reason?: string | undefined;
665
669
  }
666
670
  export interface CvssScoreDetails {
667
- adjustments?: CvssScoreAdjustment[];
668
- score?: number;
669
- scoreSource?: string;
670
- scoringVector?: string;
671
- version?: string;
671
+ adjustments?: CvssScoreAdjustment[] | undefined;
672
+ score?: number | undefined;
673
+ scoreSource?: string | undefined;
674
+ scoringVector?: string | undefined;
675
+ version?: string | undefined;
672
676
  }
673
677
  export interface ScoreDetails {
674
- cvss?: CvssScoreDetails;
678
+ cvss?: CvssScoreDetails | undefined;
675
679
  }
676
680
  export interface EnhancedImageScanFinding {
677
- awsAccountId?: string;
678
- description?: string;
679
- findingArn?: string;
680
- firstObservedAt?: Date;
681
- lastObservedAt?: Date;
682
- packageVulnerabilityDetails?: PackageVulnerabilityDetails;
683
- remediation?: Remediation;
684
- resources?: Resource[];
685
- score?: number;
686
- scoreDetails?: ScoreDetails;
687
- severity?: string;
688
- status?: string;
689
- title?: string;
690
- type?: string;
691
- updatedAt?: Date;
692
- fixAvailable?: string;
693
- exploitAvailable?: string;
681
+ awsAccountId?: string | undefined;
682
+ description?: string | undefined;
683
+ findingArn?: string | undefined;
684
+ firstObservedAt?: Date | undefined;
685
+ lastObservedAt?: Date | undefined;
686
+ packageVulnerabilityDetails?: PackageVulnerabilityDetails | undefined;
687
+ remediation?: Remediation | undefined;
688
+ resources?: Resource[] | undefined;
689
+ score?: number | undefined;
690
+ scoreDetails?: ScoreDetails | undefined;
691
+ severity?: string | undefined;
692
+ status?: string | undefined;
693
+ title?: string | undefined;
694
+ type?: string | undefined;
695
+ updatedAt?: Date | undefined;
696
+ fixAvailable?: string | undefined;
697
+ exploitAvailable?: string | undefined;
694
698
  }
695
699
  export interface Attribute {
696
700
  key: string | undefined;
697
- value?: string;
701
+ value?: string | undefined;
698
702
  }
699
703
  export interface ImageScanFinding {
700
- name?: string;
701
- description?: string;
702
- uri?: string;
703
- severity?: FindingSeverity;
704
- attributes?: Attribute[];
704
+ name?: string | undefined;
705
+ description?: string | undefined;
706
+ uri?: string | undefined;
707
+ severity?: FindingSeverity | undefined;
708
+ attributes?: Attribute[] | undefined;
705
709
  }
706
710
  export interface ImageScanFindings {
707
- imageScanCompletedAt?: Date;
708
- vulnerabilitySourceUpdatedAt?: Date;
709
- findingSeverityCounts?: Partial<Record<FindingSeverity, number>>;
710
- findings?: ImageScanFinding[];
711
- enhancedFindings?: EnhancedImageScanFinding[];
711
+ imageScanCompletedAt?: Date | undefined;
712
+ vulnerabilitySourceUpdatedAt?: Date | undefined;
713
+ findingSeverityCounts?: Partial<Record<FindingSeverity, number>> | undefined;
714
+ findings?: ImageScanFinding[] | undefined;
715
+ enhancedFindings?: EnhancedImageScanFinding[] | undefined;
712
716
  }
713
717
  export interface DescribeImageScanFindingsResponse {
714
- registryId?: string;
715
- repositoryName?: string;
716
- imageId?: ImageIdentifier;
717
- imageScanStatus?: ImageScanStatus;
718
- imageScanFindings?: ImageScanFindings;
719
- nextToken?: string;
718
+ registryId?: string | undefined;
719
+ repositoryName?: string | undefined;
720
+ imageId?: ImageIdentifier | undefined;
721
+ imageScanStatus?: ImageScanStatus | undefined;
722
+ imageScanFindings?: ImageScanFindings | undefined;
723
+ nextToken?: string | undefined;
720
724
  }
721
725
  export declare class ScanNotFoundException extends __BaseException {
722
726
  readonly name: "ScanNotFoundException";
@@ -726,23 +730,23 @@ export declare class ScanNotFoundException extends __BaseException {
726
730
  );
727
731
  }
728
732
  export interface DescribePullThroughCacheRulesRequest {
729
- registryId?: string;
730
- ecrRepositoryPrefixes?: string[];
731
- nextToken?: string;
732
- maxResults?: number;
733
+ registryId?: string | undefined;
734
+ ecrRepositoryPrefixes?: string[] | undefined;
735
+ nextToken?: string | undefined;
736
+ maxResults?: number | undefined;
733
737
  }
734
738
  export interface PullThroughCacheRule {
735
- ecrRepositoryPrefix?: string;
736
- upstreamRegistryUrl?: string;
737
- createdAt?: Date;
738
- registryId?: string;
739
- credentialArn?: string;
740
- upstreamRegistry?: UpstreamRegistry;
741
- updatedAt?: Date;
739
+ ecrRepositoryPrefix?: string | undefined;
740
+ upstreamRegistryUrl?: string | undefined;
741
+ createdAt?: Date | undefined;
742
+ registryId?: string | undefined;
743
+ credentialArn?: string | undefined;
744
+ upstreamRegistry?: UpstreamRegistry | undefined;
745
+ updatedAt?: Date | undefined;
742
746
  }
743
747
  export interface DescribePullThroughCacheRulesResponse {
744
- pullThroughCacheRules?: PullThroughCacheRule[];
745
- nextToken?: string;
748
+ pullThroughCacheRules?: PullThroughCacheRule[] | undefined;
749
+ nextToken?: string | undefined;
746
750
  }
747
751
  export interface DescribeRegistryRequest {}
748
752
  export interface ReplicationDestination {
@@ -760,61 +764,61 @@ export interface RepositoryFilter {
760
764
  }
761
765
  export interface ReplicationRule {
762
766
  destinations: ReplicationDestination[] | undefined;
763
- repositoryFilters?: RepositoryFilter[];
767
+ repositoryFilters?: RepositoryFilter[] | undefined;
764
768
  }
765
769
  export interface ReplicationConfiguration {
766
770
  rules: ReplicationRule[] | undefined;
767
771
  }
768
772
  export interface DescribeRegistryResponse {
769
- registryId?: string;
770
- replicationConfiguration?: ReplicationConfiguration;
773
+ registryId?: string | undefined;
774
+ replicationConfiguration?: ReplicationConfiguration | undefined;
771
775
  }
772
776
  export interface DescribeRepositoriesRequest {
773
- registryId?: string;
774
- repositoryNames?: string[];
775
- nextToken?: string;
776
- maxResults?: number;
777
+ registryId?: string | undefined;
778
+ repositoryNames?: string[] | undefined;
779
+ nextToken?: string | undefined;
780
+ maxResults?: number | undefined;
777
781
  }
778
782
  export interface DescribeRepositoriesResponse {
779
- repositories?: Repository[];
780
- nextToken?: string;
783
+ repositories?: Repository[] | undefined;
784
+ nextToken?: string | undefined;
781
785
  }
782
786
  export interface DescribeRepositoryCreationTemplatesRequest {
783
- prefixes?: string[];
784
- nextToken?: string;
785
- maxResults?: number;
787
+ prefixes?: string[] | undefined;
788
+ nextToken?: string | undefined;
789
+ maxResults?: number | undefined;
786
790
  }
787
791
  export interface DescribeRepositoryCreationTemplatesResponse {
788
- registryId?: string;
789
- repositoryCreationTemplates?: RepositoryCreationTemplate[];
790
- nextToken?: string;
792
+ registryId?: string | undefined;
793
+ repositoryCreationTemplates?: RepositoryCreationTemplate[] | undefined;
794
+ nextToken?: string | undefined;
791
795
  }
792
796
  export interface GetAccountSettingRequest {
793
797
  name: string | undefined;
794
798
  }
795
799
  export interface GetAccountSettingResponse {
796
- name?: string;
797
- value?: string;
800
+ name?: string | undefined;
801
+ value?: string | undefined;
798
802
  }
799
803
  export interface GetAuthorizationTokenRequest {
800
- registryIds?: string[];
804
+ registryIds?: string[] | undefined;
801
805
  }
802
806
  export interface AuthorizationData {
803
- authorizationToken?: string;
804
- expiresAt?: Date;
805
- proxyEndpoint?: string;
807
+ authorizationToken?: string | undefined;
808
+ expiresAt?: Date | undefined;
809
+ proxyEndpoint?: string | undefined;
806
810
  }
807
811
  export interface GetAuthorizationTokenResponse {
808
- authorizationData?: AuthorizationData[];
812
+ authorizationData?: AuthorizationData[] | undefined;
809
813
  }
810
814
  export interface GetDownloadUrlForLayerRequest {
811
- registryId?: string;
815
+ registryId?: string | undefined;
812
816
  repositoryName: string | undefined;
813
817
  layerDigest: string | undefined;
814
818
  }
815
819
  export interface GetDownloadUrlForLayerResponse {
816
- downloadUrl?: string;
817
- layerDigest?: string;
820
+ downloadUrl?: string | undefined;
821
+ layerDigest?: string | undefined;
818
822
  }
819
823
  export declare class LayerInaccessibleException extends __BaseException {
820
824
  readonly name: "LayerInaccessibleException";
@@ -841,25 +845,25 @@ export declare class UnableToGetUpstreamLayerException extends __BaseException {
841
845
  );
842
846
  }
843
847
  export interface GetLifecyclePolicyRequest {
844
- registryId?: string;
848
+ registryId?: string | undefined;
845
849
  repositoryName: string | undefined;
846
850
  }
847
851
  export interface GetLifecyclePolicyResponse {
848
- registryId?: string;
849
- repositoryName?: string;
850
- lifecyclePolicyText?: string;
851
- lastEvaluatedAt?: Date;
852
+ registryId?: string | undefined;
853
+ repositoryName?: string | undefined;
854
+ lifecyclePolicyText?: string | undefined;
855
+ lastEvaluatedAt?: Date | undefined;
852
856
  }
853
857
  export interface LifecyclePolicyPreviewFilter {
854
- tagStatus?: TagStatus;
858
+ tagStatus?: TagStatus | undefined;
855
859
  }
856
860
  export interface GetLifecyclePolicyPreviewRequest {
857
- registryId?: string;
861
+ registryId?: string | undefined;
858
862
  repositoryName: string | undefined;
859
- imageIds?: ImageIdentifier[];
860
- nextToken?: string;
861
- maxResults?: number;
862
- filter?: LifecyclePolicyPreviewFilter;
863
+ imageIds?: ImageIdentifier[] | undefined;
864
+ nextToken?: string | undefined;
865
+ maxResults?: number | undefined;
866
+ filter?: LifecyclePolicyPreviewFilter | undefined;
863
867
  }
864
868
  export declare const ImageActionType: {
865
869
  readonly EXPIRE: "EXPIRE";
@@ -867,14 +871,14 @@ export declare const ImageActionType: {
867
871
  export type ImageActionType =
868
872
  (typeof ImageActionType)[keyof typeof ImageActionType];
869
873
  export interface LifecyclePolicyRuleAction {
870
- type?: ImageActionType;
874
+ type?: ImageActionType | undefined;
871
875
  }
872
876
  export interface LifecyclePolicyPreviewResult {
873
- imageTags?: string[];
874
- imageDigest?: string;
875
- imagePushedAt?: Date;
876
- action?: LifecyclePolicyRuleAction;
877
- appliedRulePriority?: number;
877
+ imageTags?: string[] | undefined;
878
+ imageDigest?: string | undefined;
879
+ imagePushedAt?: Date | undefined;
880
+ action?: LifecyclePolicyRuleAction | undefined;
881
+ appliedRulePriority?: number | undefined;
878
882
  }
879
883
  export declare const LifecyclePolicyPreviewStatus: {
880
884
  readonly COMPLETE: "COMPLETE";
@@ -885,16 +889,16 @@ export declare const LifecyclePolicyPreviewStatus: {
885
889
  export type LifecyclePolicyPreviewStatus =
886
890
  (typeof LifecyclePolicyPreviewStatus)[keyof typeof LifecyclePolicyPreviewStatus];
887
891
  export interface LifecyclePolicyPreviewSummary {
888
- expiringImageTotalCount?: number;
892
+ expiringImageTotalCount?: number | undefined;
889
893
  }
890
894
  export interface GetLifecyclePolicyPreviewResponse {
891
- registryId?: string;
892
- repositoryName?: string;
893
- lifecyclePolicyText?: string;
894
- status?: LifecyclePolicyPreviewStatus;
895
- nextToken?: string;
896
- previewResults?: LifecyclePolicyPreviewResult[];
897
- summary?: LifecyclePolicyPreviewSummary;
895
+ registryId?: string | undefined;
896
+ repositoryName?: string | undefined;
897
+ lifecyclePolicyText?: string | undefined;
898
+ status?: LifecyclePolicyPreviewStatus | undefined;
899
+ nextToken?: string | undefined;
900
+ previewResults?: LifecyclePolicyPreviewResult[] | undefined;
901
+ summary?: LifecyclePolicyPreviewSummary | undefined;
898
902
  }
899
903
  export declare class LifecyclePolicyPreviewNotFoundException extends __BaseException {
900
904
  readonly name: "LifecyclePolicyPreviewNotFoundException";
@@ -908,8 +912,8 @@ export declare class LifecyclePolicyPreviewNotFoundException extends __BaseExcep
908
912
  }
909
913
  export interface GetRegistryPolicyRequest {}
910
914
  export interface GetRegistryPolicyResponse {
911
- registryId?: string;
912
- policyText?: string;
915
+ registryId?: string | undefined;
916
+ policyText?: string | undefined;
913
917
  }
914
918
  export interface GetRegistryScanningConfigurationRequest {}
915
919
  export interface RegistryScanningRule {
@@ -922,57 +926,57 @@ export declare const ScanType: {
922
926
  };
923
927
  export type ScanType = (typeof ScanType)[keyof typeof ScanType];
924
928
  export interface RegistryScanningConfiguration {
925
- scanType?: ScanType;
926
- rules?: RegistryScanningRule[];
929
+ scanType?: ScanType | undefined;
930
+ rules?: RegistryScanningRule[] | undefined;
927
931
  }
928
932
  export interface GetRegistryScanningConfigurationResponse {
929
- registryId?: string;
930
- scanningConfiguration?: RegistryScanningConfiguration;
933
+ registryId?: string | undefined;
934
+ scanningConfiguration?: RegistryScanningConfiguration | undefined;
931
935
  }
932
936
  export interface GetRepositoryPolicyRequest {
933
- registryId?: string;
937
+ registryId?: string | undefined;
934
938
  repositoryName: string | undefined;
935
939
  }
936
940
  export interface GetRepositoryPolicyResponse {
937
- registryId?: string;
938
- repositoryName?: string;
939
- policyText?: string;
941
+ registryId?: string | undefined;
942
+ repositoryName?: string | undefined;
943
+ policyText?: string | undefined;
940
944
  }
941
945
  export interface InitiateLayerUploadRequest {
942
- registryId?: string;
946
+ registryId?: string | undefined;
943
947
  repositoryName: string | undefined;
944
948
  }
945
949
  export interface InitiateLayerUploadResponse {
946
- uploadId?: string;
947
- partSize?: number;
950
+ uploadId?: string | undefined;
951
+ partSize?: number | undefined;
948
952
  }
949
953
  export interface ListImagesFilter {
950
- tagStatus?: TagStatus;
954
+ tagStatus?: TagStatus | undefined;
951
955
  }
952
956
  export interface ListImagesRequest {
953
- registryId?: string;
957
+ registryId?: string | undefined;
954
958
  repositoryName: string | undefined;
955
- nextToken?: string;
956
- maxResults?: number;
957
- filter?: ListImagesFilter;
959
+ nextToken?: string | undefined;
960
+ maxResults?: number | undefined;
961
+ filter?: ListImagesFilter | undefined;
958
962
  }
959
963
  export interface ListImagesResponse {
960
- imageIds?: ImageIdentifier[];
961
- nextToken?: string;
964
+ imageIds?: ImageIdentifier[] | undefined;
965
+ nextToken?: string | undefined;
962
966
  }
963
967
  export interface ListTagsForResourceRequest {
964
968
  resourceArn: string | undefined;
965
969
  }
966
970
  export interface ListTagsForResourceResponse {
967
- tags?: Tag[];
971
+ tags?: Tag[] | undefined;
968
972
  }
969
973
  export interface PutAccountSettingRequest {
970
974
  name: string | undefined;
971
975
  value: string | undefined;
972
976
  }
973
977
  export interface PutAccountSettingResponse {
974
- name?: string;
975
- value?: string;
978
+ name?: string | undefined;
979
+ value?: string | undefined;
976
980
  }
977
981
  export declare class ImageAlreadyExistsException extends __BaseException {
978
982
  readonly name: "ImageAlreadyExistsException";
@@ -999,15 +1003,15 @@ export declare class ImageTagAlreadyExistsException extends __BaseException {
999
1003
  );
1000
1004
  }
1001
1005
  export interface PutImageRequest {
1002
- registryId?: string;
1006
+ registryId?: string | undefined;
1003
1007
  repositoryName: string | undefined;
1004
1008
  imageManifest: string | undefined;
1005
- imageManifestMediaType?: string;
1006
- imageTag?: string;
1007
- imageDigest?: string;
1009
+ imageManifestMediaType?: string | undefined;
1010
+ imageTag?: string | undefined;
1011
+ imageDigest?: string | undefined;
1008
1012
  }
1009
1013
  export interface PutImageResponse {
1010
- image?: Image;
1014
+ image?: Image | undefined;
1011
1015
  }
1012
1016
  export declare class ReferencedImagesNotFoundException extends __BaseException {
1013
1017
  readonly name: "ReferencedImagesNotFoundException";
@@ -1020,76 +1024,76 @@ export declare class ReferencedImagesNotFoundException extends __BaseException {
1020
1024
  );
1021
1025
  }
1022
1026
  export interface PutImageScanningConfigurationRequest {
1023
- registryId?: string;
1027
+ registryId?: string | undefined;
1024
1028
  repositoryName: string | undefined;
1025
1029
  imageScanningConfiguration: ImageScanningConfiguration | undefined;
1026
1030
  }
1027
1031
  export interface PutImageScanningConfigurationResponse {
1028
- registryId?: string;
1029
- repositoryName?: string;
1030
- imageScanningConfiguration?: ImageScanningConfiguration;
1032
+ registryId?: string | undefined;
1033
+ repositoryName?: string | undefined;
1034
+ imageScanningConfiguration?: ImageScanningConfiguration | undefined;
1031
1035
  }
1032
1036
  export interface PutImageTagMutabilityRequest {
1033
- registryId?: string;
1037
+ registryId?: string | undefined;
1034
1038
  repositoryName: string | undefined;
1035
1039
  imageTagMutability: ImageTagMutability | undefined;
1036
1040
  }
1037
1041
  export interface PutImageTagMutabilityResponse {
1038
- registryId?: string;
1039
- repositoryName?: string;
1040
- imageTagMutability?: ImageTagMutability;
1042
+ registryId?: string | undefined;
1043
+ repositoryName?: string | undefined;
1044
+ imageTagMutability?: ImageTagMutability | undefined;
1041
1045
  }
1042
1046
  export interface PutLifecyclePolicyRequest {
1043
- registryId?: string;
1047
+ registryId?: string | undefined;
1044
1048
  repositoryName: string | undefined;
1045
1049
  lifecyclePolicyText: string | undefined;
1046
1050
  }
1047
1051
  export interface PutLifecyclePolicyResponse {
1048
- registryId?: string;
1049
- repositoryName?: string;
1050
- lifecyclePolicyText?: string;
1052
+ registryId?: string | undefined;
1053
+ repositoryName?: string | undefined;
1054
+ lifecyclePolicyText?: string | undefined;
1051
1055
  }
1052
1056
  export interface PutRegistryPolicyRequest {
1053
1057
  policyText: string | undefined;
1054
1058
  }
1055
1059
  export interface PutRegistryPolicyResponse {
1056
- registryId?: string;
1057
- policyText?: string;
1060
+ registryId?: string | undefined;
1061
+ policyText?: string | undefined;
1058
1062
  }
1059
1063
  export interface PutRegistryScanningConfigurationRequest {
1060
- scanType?: ScanType;
1061
- rules?: RegistryScanningRule[];
1064
+ scanType?: ScanType | undefined;
1065
+ rules?: RegistryScanningRule[] | undefined;
1062
1066
  }
1063
1067
  export interface PutRegistryScanningConfigurationResponse {
1064
- registryScanningConfiguration?: RegistryScanningConfiguration;
1068
+ registryScanningConfiguration?: RegistryScanningConfiguration | undefined;
1065
1069
  }
1066
1070
  export interface PutReplicationConfigurationRequest {
1067
1071
  replicationConfiguration: ReplicationConfiguration | undefined;
1068
1072
  }
1069
1073
  export interface PutReplicationConfigurationResponse {
1070
- replicationConfiguration?: ReplicationConfiguration;
1074
+ replicationConfiguration?: ReplicationConfiguration | undefined;
1071
1075
  }
1072
1076
  export interface SetRepositoryPolicyRequest {
1073
- registryId?: string;
1077
+ registryId?: string | undefined;
1074
1078
  repositoryName: string | undefined;
1075
1079
  policyText: string | undefined;
1076
- force?: boolean;
1080
+ force?: boolean | undefined;
1077
1081
  }
1078
1082
  export interface SetRepositoryPolicyResponse {
1079
- registryId?: string;
1080
- repositoryName?: string;
1081
- policyText?: string;
1083
+ registryId?: string | undefined;
1084
+ repositoryName?: string | undefined;
1085
+ policyText?: string | undefined;
1082
1086
  }
1083
1087
  export interface StartImageScanRequest {
1084
- registryId?: string;
1088
+ registryId?: string | undefined;
1085
1089
  repositoryName: string | undefined;
1086
1090
  imageId: ImageIdentifier | undefined;
1087
1091
  }
1088
1092
  export interface StartImageScanResponse {
1089
- registryId?: string;
1090
- repositoryName?: string;
1091
- imageId?: ImageIdentifier;
1092
- imageScanStatus?: ImageScanStatus;
1093
+ registryId?: string | undefined;
1094
+ repositoryName?: string | undefined;
1095
+ imageId?: ImageIdentifier | undefined;
1096
+ imageScanStatus?: ImageScanStatus | undefined;
1093
1097
  }
1094
1098
  export declare class UnsupportedImageTypeException extends __BaseException {
1095
1099
  readonly name: "UnsupportedImageTypeException";
@@ -1109,15 +1113,15 @@ export declare class LifecyclePolicyPreviewInProgressException extends __BaseExc
1109
1113
  );
1110
1114
  }
1111
1115
  export interface StartLifecyclePolicyPreviewRequest {
1112
- registryId?: string;
1116
+ registryId?: string | undefined;
1113
1117
  repositoryName: string | undefined;
1114
- lifecyclePolicyText?: string;
1118
+ lifecyclePolicyText?: string | undefined;
1115
1119
  }
1116
1120
  export interface StartLifecyclePolicyPreviewResponse {
1117
- registryId?: string;
1118
- repositoryName?: string;
1119
- lifecyclePolicyText?: string;
1120
- status?: LifecyclePolicyPreviewStatus;
1121
+ registryId?: string | undefined;
1122
+ repositoryName?: string | undefined;
1123
+ lifecyclePolicyText?: string | undefined;
1124
+ status?: LifecyclePolicyPreviewStatus | undefined;
1121
1125
  }
1122
1126
  export interface TagResourceRequest {
1123
1127
  resourceArn: string | undefined;
@@ -1130,44 +1134,46 @@ export interface UntagResourceRequest {
1130
1134
  }
1131
1135
  export interface UntagResourceResponse {}
1132
1136
  export interface UpdatePullThroughCacheRuleRequest {
1133
- registryId?: string;
1137
+ registryId?: string | undefined;
1134
1138
  ecrRepositoryPrefix: string | undefined;
1135
1139
  credentialArn: string | undefined;
1136
1140
  }
1137
1141
  export interface UpdatePullThroughCacheRuleResponse {
1138
- ecrRepositoryPrefix?: string;
1139
- registryId?: string;
1140
- updatedAt?: Date;
1141
- credentialArn?: string;
1142
+ ecrRepositoryPrefix?: string | undefined;
1143
+ registryId?: string | undefined;
1144
+ updatedAt?: Date | undefined;
1145
+ credentialArn?: string | undefined;
1142
1146
  }
1143
1147
  export interface UpdateRepositoryCreationTemplateRequest {
1144
1148
  prefix: string | undefined;
1145
- description?: string;
1146
- encryptionConfiguration?: EncryptionConfigurationForRepositoryCreationTemplate;
1147
- resourceTags?: Tag[];
1148
- imageTagMutability?: ImageTagMutability;
1149
- repositoryPolicy?: string;
1150
- lifecyclePolicy?: string;
1151
- appliedFor?: RCTAppliedFor[];
1152
- customRoleArn?: string;
1149
+ description?: string | undefined;
1150
+ encryptionConfiguration?:
1151
+ | EncryptionConfigurationForRepositoryCreationTemplate
1152
+ | undefined;
1153
+ resourceTags?: Tag[] | undefined;
1154
+ imageTagMutability?: ImageTagMutability | undefined;
1155
+ repositoryPolicy?: string | undefined;
1156
+ lifecyclePolicy?: string | undefined;
1157
+ appliedFor?: RCTAppliedFor[] | undefined;
1158
+ customRoleArn?: string | undefined;
1153
1159
  }
1154
1160
  export interface UpdateRepositoryCreationTemplateResponse {
1155
- registryId?: string;
1156
- repositoryCreationTemplate?: RepositoryCreationTemplate;
1161
+ registryId?: string | undefined;
1162
+ repositoryCreationTemplate?: RepositoryCreationTemplate | undefined;
1157
1163
  }
1158
1164
  export declare class InvalidLayerPartException extends __BaseException {
1159
1165
  readonly name: "InvalidLayerPartException";
1160
1166
  readonly $fault: "client";
1161
- registryId?: string;
1162
- repositoryName?: string;
1163
- uploadId?: string;
1164
- lastValidByteReceived?: number;
1167
+ registryId?: string | undefined;
1168
+ repositoryName?: string | undefined;
1169
+ uploadId?: string | undefined;
1170
+ lastValidByteReceived?: number | undefined;
1165
1171
  constructor(
1166
1172
  opts: __ExceptionOptionType<InvalidLayerPartException, __BaseException>
1167
1173
  );
1168
1174
  }
1169
1175
  export interface UploadLayerPartRequest {
1170
- registryId?: string;
1176
+ registryId?: string | undefined;
1171
1177
  repositoryName: string | undefined;
1172
1178
  uploadId: string | undefined;
1173
1179
  partFirstByte: number | undefined;
@@ -1175,20 +1181,20 @@ export interface UploadLayerPartRequest {
1175
1181
  layerPartBlob: Uint8Array | undefined;
1176
1182
  }
1177
1183
  export interface UploadLayerPartResponse {
1178
- registryId?: string;
1179
- repositoryName?: string;
1180
- uploadId?: string;
1181
- lastByteReceived?: number;
1184
+ registryId?: string | undefined;
1185
+ repositoryName?: string | undefined;
1186
+ uploadId?: string | undefined;
1187
+ lastByteReceived?: number | undefined;
1182
1188
  }
1183
1189
  export interface ValidatePullThroughCacheRuleRequest {
1184
1190
  ecrRepositoryPrefix: string | undefined;
1185
- registryId?: string;
1191
+ registryId?: string | undefined;
1186
1192
  }
1187
1193
  export interface ValidatePullThroughCacheRuleResponse {
1188
- ecrRepositoryPrefix?: string;
1189
- registryId?: string;
1190
- upstreamRegistryUrl?: string;
1191
- credentialArn?: string;
1192
- isValid?: boolean;
1193
- failure?: string;
1194
+ ecrRepositoryPrefix?: string | undefined;
1195
+ registryId?: string | undefined;
1196
+ upstreamRegistryUrl?: string | undefined;
1197
+ credentialArn?: string | undefined;
1198
+ isValid?: boolean | undefined;
1199
+ failure?: string | undefined;
1194
1200
  }