@aws-sdk/client-ecr 3.1156.0 → 3.1157.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/README.md +28 -0
- package/dist-cjs/index.js +231 -5
- package/dist-es/ECR.js +12 -0
- package/dist-es/commands/DescribeReplicationBackfillResultsCommand.js +4 -0
- package/dist-es/commands/ListReplicationBackfillsCommand.js +4 -0
- package/dist-es/commands/StartReplicationBackfillCommand.js +4 -0
- package/dist-es/commands/StopReplicationBackfillCommand.js +4 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/enums.js +12 -0
- package/dist-es/models/errors.js +39 -0
- package/dist-es/pagination/DescribeReplicationBackfillResultsPaginator.js +4 -0
- package/dist-es/pagination/ListReplicationBackfillsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +130 -5
- package/dist-types/ECR.d.ts +43 -0
- package/dist-types/ECRClient.d.ts +6 -2
- package/dist-types/commands/DescribeReplicationBackfillResultsCommand.d.ts +127 -0
- package/dist-types/commands/ListReplicationBackfillsCommand.d.ts +110 -0
- package/dist-types/commands/StartReplicationBackfillCommand.d.ts +120 -0
- package/dist-types/commands/StopReplicationBackfillCommand.d.ts +104 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/enums.d.ts +28 -0
- package/dist-types/models/errors.d.ts +47 -0
- package/dist-types/models/models_0.d.ts +393 -3
- package/dist-types/pagination/DescribeReplicationBackfillResultsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListReplicationBackfillsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +18 -0
- package/dist-types/ts3.4/ECR.d.ts +83 -0
- package/dist-types/ts3.4/ECRClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/DescribeReplicationBackfillResultsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListReplicationBackfillsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartReplicationBackfillCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StopReplicationBackfillCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +16 -0
- package/dist-types/ts3.4/models/errors.d.ts +20 -0
- package/dist-types/ts3.4/models/models_0.d.ts +75 -0
- package/dist-types/ts3.4/pagination/DescribeReplicationBackfillResultsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListReplicationBackfillsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +18 -0
- package/package.json +5 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ArtifactStatus, ArtifactStatusFilter, EncryptionType, FindingSeverity, ImageActionType, ImageFailureCode, ImageStatus, ImageStatusFilter, ImageTagMutability, ImageTagMutabilityExclusionFilterType, LayerAvailability, LayerFailureCode, LifecyclePolicyPreviewStatus, LifecyclePolicyStorageClass, LifecyclePolicyTargetStorageClass, RCTAppliedFor, ReplicationStatus, RepositoryFilterType, ScanFrequency, ScanningConfigurationFailureCode, ScanningRepositoryFilterType, ScanStatus, ScanType, SigningRepositoryFilterType, SigningStatus, TagStatus, TargetStorageClass, UpstreamRegistry } from "./enums";
|
|
1
|
+
import type { ArtifactStatus, ArtifactStatusFilter, EncryptionType, FindingSeverity, ImageActionType, ImageFailureCode, ImageStatus, ImageStatusFilter, ImageTagMutability, ImageTagMutabilityExclusionFilterType, LayerAvailability, LayerFailureCode, LifecyclePolicyPreviewStatus, LifecyclePolicyStorageClass, LifecyclePolicyTargetStorageClass, RCTAppliedFor, ReplicationBackfillResultStatus, ReplicationBackfillStatus, ReplicationStatus, RepositoryFilterType, ScanFrequency, ScanningConfigurationFailureCode, ScanningRepositoryFilterType, ScanStatus, ScanType, SigningRepositoryFilterType, SigningStatus, TagStatus, TargetStorageClass, UpstreamRegistry } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -686,8 +686,8 @@ export interface CreateRepositoryRequest {
|
|
|
686
686
|
export interface Repository {
|
|
687
687
|
/**
|
|
688
688
|
* <p>The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the <code>arn:aws:ecr</code> namespace, followed by the region of the
|
|
689
|
-
* repository, Amazon Web Services account ID of the repository owner,
|
|
690
|
-
* For example, <code>arn:aws:ecr:region:012345678910:repository
|
|
689
|
+
* repository, Amazon Web Services account ID of the repository owner, and repository name.
|
|
690
|
+
* For example, <code>arn:aws:ecr:region:012345678910:repository/repository-name</code>.</p>
|
|
691
691
|
* @public
|
|
692
692
|
*/
|
|
693
693
|
repositoryArn?: string | undefined;
|
|
@@ -2444,6 +2444,187 @@ export interface DescribeRegistryResponse {
|
|
|
2444
2444
|
*/
|
|
2445
2445
|
replicationConfiguration?: ReplicationConfiguration | undefined;
|
|
2446
2446
|
}
|
|
2447
|
+
/**
|
|
2448
|
+
* @public
|
|
2449
|
+
*/
|
|
2450
|
+
export interface DescribeReplicationBackfillResultsRequest {
|
|
2451
|
+
/**
|
|
2452
|
+
* <p>The Amazon Web Services account ID associated with the registry that contains the replication
|
|
2453
|
+
* backfill to describe. If you do not specify a registry, the default registry is assumed.</p>
|
|
2454
|
+
* @public
|
|
2455
|
+
*/
|
|
2456
|
+
registryId?: string | undefined;
|
|
2457
|
+
/**
|
|
2458
|
+
* <p>The ID of the replication backfill to describe.</p>
|
|
2459
|
+
* @public
|
|
2460
|
+
*/
|
|
2461
|
+
replicationBackfillId: string | undefined;
|
|
2462
|
+
/**
|
|
2463
|
+
* <p>The status used to filter the returned results. Each result has a status of
|
|
2464
|
+
* <code>COMPLETE</code> or <code>FAILED</code>. If you omit this parameter, results
|
|
2465
|
+
* with both statuses are returned.</p>
|
|
2466
|
+
* @public
|
|
2467
|
+
*/
|
|
2468
|
+
resultStatusFilter?: ReplicationBackfillResultStatus | undefined;
|
|
2469
|
+
/**
|
|
2470
|
+
* <p>The maximum number of replication backfill results returned by
|
|
2471
|
+
* <code>DescribeReplicationBackfillResults</code> in paginated output. When this
|
|
2472
|
+
* parameter is used, <code>DescribeReplicationBackfillResults</code> only returns
|
|
2473
|
+
* <code>maxResults</code> results in a single page along with a <code>nextToken</code>
|
|
2474
|
+
* response element. The remaining results of the initial request can be seen by sending
|
|
2475
|
+
* another <code>DescribeReplicationBackfillResults</code> request with the returned
|
|
2476
|
+
* <code>nextToken</code> value. This value can be between 1 and
|
|
2477
|
+
* 1000. If this parameter is not used, then
|
|
2478
|
+
* <code>DescribeReplicationBackfillResults</code> returns up to 100
|
|
2479
|
+
* results and a <code>nextToken</code> value, if applicable.</p>
|
|
2480
|
+
* @public
|
|
2481
|
+
*/
|
|
2482
|
+
maxResults?: number | undefined;
|
|
2483
|
+
/**
|
|
2484
|
+
* <p>The <code>nextToken</code> value returned from a previous paginated
|
|
2485
|
+
* <code>DescribeReplicationBackfillResults</code> request where <code>maxResults</code>
|
|
2486
|
+
* was used and the results exceeded the value of that parameter. Pagination continues from
|
|
2487
|
+
* the end of the previous results that returned the <code>nextToken</code> value. This
|
|
2488
|
+
* value is <code>null</code> when there are no more results to return.</p>
|
|
2489
|
+
* <note>
|
|
2490
|
+
* <p>This token should be treated as an opaque identifier that is only used to
|
|
2491
|
+
* retrieve the next items in a list and not for other programmatic purposes.</p>
|
|
2492
|
+
* </note>
|
|
2493
|
+
* @public
|
|
2494
|
+
*/
|
|
2495
|
+
nextToken?: string | undefined;
|
|
2496
|
+
}
|
|
2497
|
+
/**
|
|
2498
|
+
* <p>An object representing the progress of a replication backfill, including the total,
|
|
2499
|
+
* completed, and failed replication counts.</p>
|
|
2500
|
+
* @public
|
|
2501
|
+
*/
|
|
2502
|
+
export interface ReplicationBackfillProgress {
|
|
2503
|
+
/**
|
|
2504
|
+
* <p>The total number of replications that the backfill will perform. Each image and tag
|
|
2505
|
+
* combination is counted as a single replication.</p>
|
|
2506
|
+
* @public
|
|
2507
|
+
*/
|
|
2508
|
+
totalReplicationCount: number | undefined;
|
|
2509
|
+
/**
|
|
2510
|
+
* <p>The number of replications that have completed successfully.</p>
|
|
2511
|
+
* @public
|
|
2512
|
+
*/
|
|
2513
|
+
completedReplicationCount: number | undefined;
|
|
2514
|
+
/**
|
|
2515
|
+
* <p>The number of replications that have failed.</p>
|
|
2516
|
+
* @public
|
|
2517
|
+
*/
|
|
2518
|
+
failedReplicationCount: number | undefined;
|
|
2519
|
+
/**
|
|
2520
|
+
* <p>The distinct failure codes for the replications that have failed. Each failure code
|
|
2521
|
+
* appears at most once, regardless of how many replications failed with that code.</p>
|
|
2522
|
+
* @public
|
|
2523
|
+
*/
|
|
2524
|
+
failureCodes: string[] | undefined;
|
|
2525
|
+
}
|
|
2526
|
+
/**
|
|
2527
|
+
* <p>An object representing the result of a single replication during a replication
|
|
2528
|
+
* backfill. Each image and tag combination is replicated as a single replication.</p>
|
|
2529
|
+
* @public
|
|
2530
|
+
*/
|
|
2531
|
+
export interface ReplicationBackfillResult {
|
|
2532
|
+
/**
|
|
2533
|
+
* <p>The name of the repository that contains the image.</p>
|
|
2534
|
+
* @public
|
|
2535
|
+
*/
|
|
2536
|
+
repositoryName: string | undefined;
|
|
2537
|
+
/**
|
|
2538
|
+
* <p>An object with identifying information for the image.</p>
|
|
2539
|
+
* @public
|
|
2540
|
+
*/
|
|
2541
|
+
imageId: ImageIdentifier | undefined;
|
|
2542
|
+
/**
|
|
2543
|
+
* <p>The replication status of the image.</p>
|
|
2544
|
+
* @public
|
|
2545
|
+
*/
|
|
2546
|
+
status: ReplicationBackfillResultStatus | undefined;
|
|
2547
|
+
/**
|
|
2548
|
+
* <p>The failure code for a replication that has failed.</p>
|
|
2549
|
+
* @public
|
|
2550
|
+
*/
|
|
2551
|
+
failureCode?: string | undefined;
|
|
2552
|
+
/**
|
|
2553
|
+
* <p>The distinct failure codes for the images referenced by a manifest list that failed to
|
|
2554
|
+
* replicate. Each failure code appears at most once, regardless of how many referenced
|
|
2555
|
+
* images failed with that code. This field is present only when the image is a manifest
|
|
2556
|
+
* list.</p>
|
|
2557
|
+
* @public
|
|
2558
|
+
*/
|
|
2559
|
+
subImageFailureCodes?: string[] | undefined;
|
|
2560
|
+
}
|
|
2561
|
+
/**
|
|
2562
|
+
* @public
|
|
2563
|
+
*/
|
|
2564
|
+
export interface DescribeReplicationBackfillResultsResponse {
|
|
2565
|
+
/**
|
|
2566
|
+
* <p>The registry ID associated with the request.</p>
|
|
2567
|
+
* @public
|
|
2568
|
+
*/
|
|
2569
|
+
registryId?: string | undefined;
|
|
2570
|
+
/**
|
|
2571
|
+
* <p>The ID of the replication backfill.</p>
|
|
2572
|
+
* @public
|
|
2573
|
+
*/
|
|
2574
|
+
replicationBackfillId?: string | undefined;
|
|
2575
|
+
/**
|
|
2576
|
+
* <p>The destination Region and registry to which the images are replicated.</p>
|
|
2577
|
+
* @public
|
|
2578
|
+
*/
|
|
2579
|
+
destination?: ReplicationDestination | undefined;
|
|
2580
|
+
/**
|
|
2581
|
+
* <p>The current status of the replication backfill.</p>
|
|
2582
|
+
* @public
|
|
2583
|
+
*/
|
|
2584
|
+
status?: ReplicationBackfillStatus | undefined;
|
|
2585
|
+
/**
|
|
2586
|
+
* <p>The failure code for a replication backfill that has failed.</p>
|
|
2587
|
+
* @public
|
|
2588
|
+
*/
|
|
2589
|
+
failureCode?: string | undefined;
|
|
2590
|
+
/**
|
|
2591
|
+
* <p>The progress of the replication backfill, including the total, completed, and failed
|
|
2592
|
+
* replication counts. This value is <code>null</code> until the replication backfill
|
|
2593
|
+
* finishes preparing the set of images to replicate. It is therefore <code>null</code>
|
|
2594
|
+
* while the replication backfill is <code>PREPARING</code>, and remains <code>null</code>
|
|
2595
|
+
* if the replication backfill is stopped before preparation completes.</p>
|
|
2596
|
+
* @public
|
|
2597
|
+
*/
|
|
2598
|
+
progress?: ReplicationBackfillProgress | undefined;
|
|
2599
|
+
/**
|
|
2600
|
+
* <p>The per-image results for the replication backfill. Results are available only after
|
|
2601
|
+
* the replication backfill reaches a terminal status.</p>
|
|
2602
|
+
* @public
|
|
2603
|
+
*/
|
|
2604
|
+
results?: ReplicationBackfillResult[] | undefined;
|
|
2605
|
+
/**
|
|
2606
|
+
* <p>The date and time, in JavaScript date format, when the replication backfill was
|
|
2607
|
+
* started.</p>
|
|
2608
|
+
* @public
|
|
2609
|
+
*/
|
|
2610
|
+
startedAt?: Date | undefined;
|
|
2611
|
+
/**
|
|
2612
|
+
* <p>The date and time, in JavaScript date format, when the replication backfill ended.
|
|
2613
|
+
* This value is <code>null</code> while the replication backfill is still in
|
|
2614
|
+
* progress.</p>
|
|
2615
|
+
* @public
|
|
2616
|
+
*/
|
|
2617
|
+
endedAt?: Date | undefined;
|
|
2618
|
+
/**
|
|
2619
|
+
* <p>The <code>nextToken</code> value to include in a future
|
|
2620
|
+
* <code>DescribeReplicationBackfillResults</code> request. When the results of a
|
|
2621
|
+
* <code>DescribeReplicationBackfillResults</code> request exceed
|
|
2622
|
+
* <code>maxResults</code>, this value can be used to retrieve the next page of results.
|
|
2623
|
+
* This value is <code>null</code> when there are no more results to return.</p>
|
|
2624
|
+
* @public
|
|
2625
|
+
*/
|
|
2626
|
+
nextToken?: string | undefined;
|
|
2627
|
+
}
|
|
2447
2628
|
/**
|
|
2448
2629
|
* @public
|
|
2449
2630
|
*/
|
|
@@ -3374,6 +3555,116 @@ export interface ListPullTimeUpdateExclusionsResponse {
|
|
|
3374
3555
|
*/
|
|
3375
3556
|
nextToken?: string | undefined;
|
|
3376
3557
|
}
|
|
3558
|
+
/**
|
|
3559
|
+
* @public
|
|
3560
|
+
*/
|
|
3561
|
+
export interface ListReplicationBackfillsRequest {
|
|
3562
|
+
/**
|
|
3563
|
+
* <p>The Amazon Web Services account ID associated with the registry for which to list replication
|
|
3564
|
+
* backfills. If you do not specify a registry, the default registry is assumed.</p>
|
|
3565
|
+
* @public
|
|
3566
|
+
*/
|
|
3567
|
+
registryId?: string | undefined;
|
|
3568
|
+
/**
|
|
3569
|
+
* <p>The maximum number of replication backfill results returned by
|
|
3570
|
+
* <code>ListReplicationBackfills</code> in paginated output. When this parameter is
|
|
3571
|
+
* used, <code>ListReplicationBackfills</code> only returns <code>maxResults</code> results
|
|
3572
|
+
* in a single page along with a <code>nextToken</code> response element. The remaining
|
|
3573
|
+
* results of the initial request can be seen by sending another
|
|
3574
|
+
* <code>ListReplicationBackfills</code> request with the returned
|
|
3575
|
+
* <code>nextToken</code> value. This value can be between 1 and 50. If this parameter
|
|
3576
|
+
* is not used, then <code>ListReplicationBackfills</code> returns up to 25 results and a
|
|
3577
|
+
* <code>nextToken</code> value, if applicable.</p>
|
|
3578
|
+
* @public
|
|
3579
|
+
*/
|
|
3580
|
+
maxResults?: number | undefined;
|
|
3581
|
+
/**
|
|
3582
|
+
* <p>The <code>nextToken</code> value returned from a previous paginated
|
|
3583
|
+
* <code>ListReplicationBackfills</code> request where <code>maxResults</code> was used
|
|
3584
|
+
* and the results exceeded the value of that parameter. Pagination continues from the end
|
|
3585
|
+
* of the previous results that returned the <code>nextToken</code> value. This value is
|
|
3586
|
+
* <code>null</code> when there are no more results to return.</p>
|
|
3587
|
+
* <note>
|
|
3588
|
+
* <p>This token should be treated as an opaque identifier that is only used to
|
|
3589
|
+
* retrieve the next items in a list and not for other programmatic purposes.</p>
|
|
3590
|
+
* </note>
|
|
3591
|
+
* @public
|
|
3592
|
+
*/
|
|
3593
|
+
nextToken?: string | undefined;
|
|
3594
|
+
}
|
|
3595
|
+
/**
|
|
3596
|
+
* <p>An object representing a summary of a replication backfill, including its status,
|
|
3597
|
+
* destination, progress, and start and end times.</p>
|
|
3598
|
+
* @public
|
|
3599
|
+
*/
|
|
3600
|
+
export interface ReplicationBackfillSummary {
|
|
3601
|
+
/**
|
|
3602
|
+
* <p>The ID of the replication backfill.</p>
|
|
3603
|
+
* @public
|
|
3604
|
+
*/
|
|
3605
|
+
replicationBackfillId: string | undefined;
|
|
3606
|
+
/**
|
|
3607
|
+
* <p>The destination Region and registry to which the images are replicated.</p>
|
|
3608
|
+
* @public
|
|
3609
|
+
*/
|
|
3610
|
+
destination: ReplicationDestination | undefined;
|
|
3611
|
+
/**
|
|
3612
|
+
* <p>The current status of the replication backfill.</p>
|
|
3613
|
+
* @public
|
|
3614
|
+
*/
|
|
3615
|
+
status: ReplicationBackfillStatus | undefined;
|
|
3616
|
+
/**
|
|
3617
|
+
* <p>The failure code for a replication backfill that has failed.</p>
|
|
3618
|
+
* @public
|
|
3619
|
+
*/
|
|
3620
|
+
failureCode?: string | undefined;
|
|
3621
|
+
/**
|
|
3622
|
+
* <p>The progress of the replication backfill, including the total, completed, and failed
|
|
3623
|
+
* replication counts. This value is <code>null</code> until the replication backfill
|
|
3624
|
+
* finishes preparing the set of images to replicate. It is therefore <code>null</code>
|
|
3625
|
+
* while the replication backfill is <code>PREPARING</code>, and remains <code>null</code>
|
|
3626
|
+
* if the replication backfill is stopped before preparation completes.</p>
|
|
3627
|
+
* @public
|
|
3628
|
+
*/
|
|
3629
|
+
progress?: ReplicationBackfillProgress | undefined;
|
|
3630
|
+
/**
|
|
3631
|
+
* <p>The date and time, in JavaScript date format, when the replication backfill was
|
|
3632
|
+
* started.</p>
|
|
3633
|
+
* @public
|
|
3634
|
+
*/
|
|
3635
|
+
startedAt: Date | undefined;
|
|
3636
|
+
/**
|
|
3637
|
+
* <p>The date and time, in JavaScript date format, when the replication backfill ended.
|
|
3638
|
+
* This value is <code>null</code> while the replication backfill is still in
|
|
3639
|
+
* progress.</p>
|
|
3640
|
+
* @public
|
|
3641
|
+
*/
|
|
3642
|
+
endedAt?: Date | undefined;
|
|
3643
|
+
}
|
|
3644
|
+
/**
|
|
3645
|
+
* @public
|
|
3646
|
+
*/
|
|
3647
|
+
export interface ListReplicationBackfillsResponse {
|
|
3648
|
+
/**
|
|
3649
|
+
* <p>The registry ID associated with the request.</p>
|
|
3650
|
+
* @public
|
|
3651
|
+
*/
|
|
3652
|
+
registryId?: string | undefined;
|
|
3653
|
+
/**
|
|
3654
|
+
* <p>A list of the replication backfills for the registry.</p>
|
|
3655
|
+
* @public
|
|
3656
|
+
*/
|
|
3657
|
+
backfills?: ReplicationBackfillSummary[] | undefined;
|
|
3658
|
+
/**
|
|
3659
|
+
* <p>The <code>nextToken</code> value to include in a future
|
|
3660
|
+
* <code>ListReplicationBackfills</code> request. When the results of a
|
|
3661
|
+
* <code>ListReplicationBackfills</code> request exceed <code>maxResults</code>, this
|
|
3662
|
+
* value can be used to retrieve the next page of results. This value is <code>null</code>
|
|
3663
|
+
* when there are no more results to return.</p>
|
|
3664
|
+
* @public
|
|
3665
|
+
*/
|
|
3666
|
+
nextToken?: string | undefined;
|
|
3667
|
+
}
|
|
3377
3668
|
/**
|
|
3378
3669
|
* @public
|
|
3379
3670
|
*/
|
|
@@ -3890,6 +4181,105 @@ export interface StartLifecyclePolicyPreviewResponse {
|
|
|
3890
4181
|
*/
|
|
3891
4182
|
status?: LifecyclePolicyPreviewStatus | undefined;
|
|
3892
4183
|
}
|
|
4184
|
+
/**
|
|
4185
|
+
* @public
|
|
4186
|
+
*/
|
|
4187
|
+
export interface StartReplicationBackfillRequest {
|
|
4188
|
+
/**
|
|
4189
|
+
* <p>The Amazon Web Services account ID associated with the registry from which to start the replication
|
|
4190
|
+
* backfill. If you do not specify a registry, the default registry is assumed.</p>
|
|
4191
|
+
* @public
|
|
4192
|
+
*/
|
|
4193
|
+
registryId?: string | undefined;
|
|
4194
|
+
/**
|
|
4195
|
+
* <p>The destination Region and registry to which the images are replicated.</p>
|
|
4196
|
+
* @public
|
|
4197
|
+
*/
|
|
4198
|
+
destination: ReplicationDestination | undefined;
|
|
4199
|
+
}
|
|
4200
|
+
/**
|
|
4201
|
+
* @public
|
|
4202
|
+
*/
|
|
4203
|
+
export interface StartReplicationBackfillResponse {
|
|
4204
|
+
/**
|
|
4205
|
+
* <p>The ID of the replication backfill that was started. Use this value to describe or
|
|
4206
|
+
* stop the backfill.</p>
|
|
4207
|
+
* @public
|
|
4208
|
+
*/
|
|
4209
|
+
replicationBackfillId?: string | undefined;
|
|
4210
|
+
/**
|
|
4211
|
+
* <p>The registry ID associated with the request.</p>
|
|
4212
|
+
* @public
|
|
4213
|
+
*/
|
|
4214
|
+
registryId?: string | undefined;
|
|
4215
|
+
/**
|
|
4216
|
+
* <p>The destination Region and registry to which the images are replicated.</p>
|
|
4217
|
+
* @public
|
|
4218
|
+
*/
|
|
4219
|
+
destination?: ReplicationDestination | undefined;
|
|
4220
|
+
/**
|
|
4221
|
+
* <p>The current status of the replication backfill. A newly started replication backfill
|
|
4222
|
+
* is returned with a status of <code>PREPARING</code>.</p>
|
|
4223
|
+
* @public
|
|
4224
|
+
*/
|
|
4225
|
+
status?: ReplicationBackfillStatus | undefined;
|
|
4226
|
+
/**
|
|
4227
|
+
* <p>The date and time, in JavaScript date format, when the replication backfill was
|
|
4228
|
+
* started.</p>
|
|
4229
|
+
* @public
|
|
4230
|
+
*/
|
|
4231
|
+
startedAt?: Date | undefined;
|
|
4232
|
+
}
|
|
4233
|
+
/**
|
|
4234
|
+
* @public
|
|
4235
|
+
*/
|
|
4236
|
+
export interface StopReplicationBackfillRequest {
|
|
4237
|
+
/**
|
|
4238
|
+
* <p>The Amazon Web Services account ID associated with the registry that contains the replication
|
|
4239
|
+
* backfill to stop. If you do not specify a registry, the default registry is assumed.</p>
|
|
4240
|
+
* @public
|
|
4241
|
+
*/
|
|
4242
|
+
registryId?: string | undefined;
|
|
4243
|
+
/**
|
|
4244
|
+
* <p>The ID of the replication backfill to stop.</p>
|
|
4245
|
+
* @public
|
|
4246
|
+
*/
|
|
4247
|
+
replicationBackfillId: string | undefined;
|
|
4248
|
+
}
|
|
4249
|
+
/**
|
|
4250
|
+
* @public
|
|
4251
|
+
*/
|
|
4252
|
+
export interface StopReplicationBackfillResponse {
|
|
4253
|
+
/**
|
|
4254
|
+
* <p>The registry ID associated with the request.</p>
|
|
4255
|
+
* @public
|
|
4256
|
+
*/
|
|
4257
|
+
registryId?: string | undefined;
|
|
4258
|
+
/**
|
|
4259
|
+
* <p>The ID of the replication backfill.</p>
|
|
4260
|
+
* @public
|
|
4261
|
+
*/
|
|
4262
|
+
replicationBackfillId?: string | undefined;
|
|
4263
|
+
/**
|
|
4264
|
+
* <p>The destination Region and registry to which the images are replicated.</p>
|
|
4265
|
+
* @public
|
|
4266
|
+
*/
|
|
4267
|
+
destination?: ReplicationDestination | undefined;
|
|
4268
|
+
/**
|
|
4269
|
+
* <p>The current status of the replication backfill. When you stop a replication backfill,
|
|
4270
|
+
* its status is <code>STOPPED</code> if the backfill is stopped immediately, or
|
|
4271
|
+
* <code>STOPPING</code> if there are replications still in progress that must complete
|
|
4272
|
+
* before the backfill stops.</p>
|
|
4273
|
+
* @public
|
|
4274
|
+
*/
|
|
4275
|
+
status?: ReplicationBackfillStatus | undefined;
|
|
4276
|
+
/**
|
|
4277
|
+
* <p>The date and time, in JavaScript date format, when the replication backfill was
|
|
4278
|
+
* started.</p>
|
|
4279
|
+
* @public
|
|
4280
|
+
*/
|
|
4281
|
+
startedAt?: Date | undefined;
|
|
4282
|
+
}
|
|
3893
4283
|
/**
|
|
3894
4284
|
* @public
|
|
3895
4285
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { DescribeReplicationBackfillResultsCommandInput, DescribeReplicationBackfillResultsCommandOutput } from "../commands/DescribeReplicationBackfillResultsCommand";
|
|
3
|
+
import type { ECRPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateDescribeReplicationBackfillResults: (config: ECRPaginationConfiguration, input: DescribeReplicationBackfillResultsCommandInput, ...rest: any[]) => Paginator<DescribeReplicationBackfillResultsCommandOutput>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListReplicationBackfillsCommandInput, ListReplicationBackfillsCommandOutput } from "../commands/ListReplicationBackfillsCommand";
|
|
3
|
+
import type { ECRPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListReplicationBackfills: (config: ECRPaginationConfiguration, input: ListReplicationBackfillsCommandInput, ...rest: any[]) => Paginator<ListReplicationBackfillsCommandOutput>;
|
|
@@ -2,7 +2,9 @@ export * from "./Interfaces";
|
|
|
2
2
|
export * from "./DescribeImagesPaginator";
|
|
3
3
|
export * from "./DescribeImageScanFindingsPaginator";
|
|
4
4
|
export * from "./DescribePullThroughCacheRulesPaginator";
|
|
5
|
+
export * from "./DescribeReplicationBackfillResultsPaginator";
|
|
5
6
|
export * from "./DescribeRepositoriesPaginator";
|
|
6
7
|
export * from "./DescribeRepositoryCreationTemplatesPaginator";
|
|
7
8
|
export * from "./GetLifecyclePolicyPreviewPaginator";
|
|
8
9
|
export * from "./ListImagesPaginator";
|
|
10
|
+
export * from "./ListReplicationBackfillsPaginator";
|
|
@@ -28,6 +28,9 @@ export declare var PullThroughCacheRuleAlreadyExistsException$: StaticErrorSchem
|
|
|
28
28
|
export declare var PullThroughCacheRuleNotFoundException$: StaticErrorSchema;
|
|
29
29
|
export declare var ReferencedImagesNotFoundException$: StaticErrorSchema;
|
|
30
30
|
export declare var RegistryPolicyNotFoundException$: StaticErrorSchema;
|
|
31
|
+
export declare var ReplicationBackfillInProgressException$: StaticErrorSchema;
|
|
32
|
+
export declare var ReplicationBackfillInvalidStatusException$: StaticErrorSchema;
|
|
33
|
+
export declare var ReplicationBackfillNotFoundException$: StaticErrorSchema;
|
|
31
34
|
export declare var RepositoryAlreadyExistsException$: StaticErrorSchema;
|
|
32
35
|
export declare var RepositoryNotEmptyException$: StaticErrorSchema;
|
|
33
36
|
export declare var RepositoryNotFoundException$: StaticErrorSchema;
|
|
@@ -105,6 +108,8 @@ export declare var DescribePullThroughCacheRulesRequest$: StaticStructureSchema;
|
|
|
105
108
|
export declare var DescribePullThroughCacheRulesResponse$: StaticStructureSchema;
|
|
106
109
|
export declare var DescribeRegistryRequest$: StaticStructureSchema;
|
|
107
110
|
export declare var DescribeRegistryResponse$: StaticStructureSchema;
|
|
111
|
+
export declare var DescribeReplicationBackfillResultsRequest$: StaticStructureSchema;
|
|
112
|
+
export declare var DescribeReplicationBackfillResultsResponse$: StaticStructureSchema;
|
|
108
113
|
export declare var DescribeRepositoriesRequest$: StaticStructureSchema;
|
|
109
114
|
export declare var DescribeRepositoriesResponse$: StaticStructureSchema;
|
|
110
115
|
export declare var DescribeRepositoryCreationTemplatesRequest$: StaticStructureSchema;
|
|
@@ -159,6 +164,8 @@ export declare var ListImagesRequest$: StaticStructureSchema;
|
|
|
159
164
|
export declare var ListImagesResponse$: StaticStructureSchema;
|
|
160
165
|
export declare var ListPullTimeUpdateExclusionsRequest$: StaticStructureSchema;
|
|
161
166
|
export declare var ListPullTimeUpdateExclusionsResponse$: StaticStructureSchema;
|
|
167
|
+
export declare var ListReplicationBackfillsRequest$: StaticStructureSchema;
|
|
168
|
+
export declare var ListReplicationBackfillsResponse$: StaticStructureSchema;
|
|
162
169
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
163
170
|
export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
164
171
|
export declare var PackageVulnerabilityDetails$: StaticStructureSchema;
|
|
@@ -187,6 +194,9 @@ export declare var RegisterPullTimeUpdateExclusionResponse$: StaticStructureSche
|
|
|
187
194
|
export declare var RegistryScanningConfiguration$: StaticStructureSchema;
|
|
188
195
|
export declare var RegistryScanningRule$: StaticStructureSchema;
|
|
189
196
|
export declare var Remediation$: StaticStructureSchema;
|
|
197
|
+
export declare var ReplicationBackfillProgress$: StaticStructureSchema;
|
|
198
|
+
export declare var ReplicationBackfillResult$: StaticStructureSchema;
|
|
199
|
+
export declare var ReplicationBackfillSummary$: StaticStructureSchema;
|
|
190
200
|
export declare var ReplicationConfiguration$: StaticStructureSchema;
|
|
191
201
|
export declare var ReplicationDestination$: StaticStructureSchema;
|
|
192
202
|
export declare var ReplicationRule$: StaticStructureSchema;
|
|
@@ -208,6 +218,10 @@ export declare var StartImageScanRequest$: StaticStructureSchema;
|
|
|
208
218
|
export declare var StartImageScanResponse$: StaticStructureSchema;
|
|
209
219
|
export declare var StartLifecyclePolicyPreviewRequest$: StaticStructureSchema;
|
|
210
220
|
export declare var StartLifecyclePolicyPreviewResponse$: StaticStructureSchema;
|
|
221
|
+
export declare var StartReplicationBackfillRequest$: StaticStructureSchema;
|
|
222
|
+
export declare var StartReplicationBackfillResponse$: StaticStructureSchema;
|
|
223
|
+
export declare var StopReplicationBackfillRequest$: StaticStructureSchema;
|
|
224
|
+
export declare var StopReplicationBackfillResponse$: StaticStructureSchema;
|
|
211
225
|
export declare var SubjectIdentifier$: StaticStructureSchema;
|
|
212
226
|
export declare var Tag$: StaticStructureSchema;
|
|
213
227
|
export declare var TagResourceRequest$: StaticStructureSchema;
|
|
@@ -248,6 +262,7 @@ export declare var DescribeImageScanFindings$: StaticOperationSchema;
|
|
|
248
262
|
export declare var DescribeImageSigningStatus$: StaticOperationSchema;
|
|
249
263
|
export declare var DescribePullThroughCacheRules$: StaticOperationSchema;
|
|
250
264
|
export declare var DescribeRegistry$: StaticOperationSchema;
|
|
265
|
+
export declare var DescribeReplicationBackfillResults$: StaticOperationSchema;
|
|
251
266
|
export declare var DescribeRepositories$: StaticOperationSchema;
|
|
252
267
|
export declare var DescribeRepositoryCreationTemplates$: StaticOperationSchema;
|
|
253
268
|
export declare var GetAccountSetting$: StaticOperationSchema;
|
|
@@ -263,6 +278,7 @@ export declare var InitiateLayerUpload$: StaticOperationSchema;
|
|
|
263
278
|
export declare var ListImageReferrers$: StaticOperationSchema;
|
|
264
279
|
export declare var ListImages$: StaticOperationSchema;
|
|
265
280
|
export declare var ListPullTimeUpdateExclusions$: StaticOperationSchema;
|
|
281
|
+
export declare var ListReplicationBackfills$: StaticOperationSchema;
|
|
266
282
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
267
283
|
export declare var PutAccountSetting$: StaticOperationSchema;
|
|
268
284
|
export declare var PutImage$: StaticOperationSchema;
|
|
@@ -277,6 +293,8 @@ export declare var RegisterPullTimeUpdateExclusion$: StaticOperationSchema;
|
|
|
277
293
|
export declare var SetRepositoryPolicy$: StaticOperationSchema;
|
|
278
294
|
export declare var StartImageScan$: StaticOperationSchema;
|
|
279
295
|
export declare var StartLifecyclePolicyPreview$: StaticOperationSchema;
|
|
296
|
+
export declare var StartReplicationBackfill$: StaticOperationSchema;
|
|
297
|
+
export declare var StopReplicationBackfill$: StaticOperationSchema;
|
|
280
298
|
export declare var TagResource$: StaticOperationSchema;
|
|
281
299
|
export declare var UntagResource$: StaticOperationSchema;
|
|
282
300
|
export declare var UpdateImageStorageClass$: StaticOperationSchema;
|
|
@@ -94,6 +94,10 @@ import {
|
|
|
94
94
|
DescribeRegistryCommandInput,
|
|
95
95
|
DescribeRegistryCommandOutput,
|
|
96
96
|
} from "./commands/DescribeRegistryCommand";
|
|
97
|
+
import {
|
|
98
|
+
DescribeReplicationBackfillResultsCommandInput,
|
|
99
|
+
DescribeReplicationBackfillResultsCommandOutput,
|
|
100
|
+
} from "./commands/DescribeReplicationBackfillResultsCommand";
|
|
97
101
|
import {
|
|
98
102
|
DescribeRepositoriesCommandInput,
|
|
99
103
|
DescribeRepositoriesCommandOutput,
|
|
@@ -151,6 +155,10 @@ import {
|
|
|
151
155
|
ListPullTimeUpdateExclusionsCommandInput,
|
|
152
156
|
ListPullTimeUpdateExclusionsCommandOutput,
|
|
153
157
|
} from "./commands/ListPullTimeUpdateExclusionsCommand";
|
|
158
|
+
import {
|
|
159
|
+
ListReplicationBackfillsCommandInput,
|
|
160
|
+
ListReplicationBackfillsCommandOutput,
|
|
161
|
+
} from "./commands/ListReplicationBackfillsCommand";
|
|
154
162
|
import {
|
|
155
163
|
ListTagsForResourceCommandInput,
|
|
156
164
|
ListTagsForResourceCommandOutput,
|
|
@@ -204,6 +212,14 @@ import {
|
|
|
204
212
|
StartLifecyclePolicyPreviewCommandInput,
|
|
205
213
|
StartLifecyclePolicyPreviewCommandOutput,
|
|
206
214
|
} from "./commands/StartLifecyclePolicyPreviewCommand";
|
|
215
|
+
import {
|
|
216
|
+
StartReplicationBackfillCommandInput,
|
|
217
|
+
StartReplicationBackfillCommandOutput,
|
|
218
|
+
} from "./commands/StartReplicationBackfillCommand";
|
|
219
|
+
import {
|
|
220
|
+
StopReplicationBackfillCommandInput,
|
|
221
|
+
StopReplicationBackfillCommandOutput,
|
|
222
|
+
} from "./commands/StopReplicationBackfillCommand";
|
|
207
223
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
208
224
|
import {
|
|
209
225
|
UntagResourceCommandInput,
|
|
@@ -524,6 +540,19 @@ export interface ECR {
|
|
|
524
540
|
options: ECRRequestOptions,
|
|
525
541
|
cb: (err: any, data?: DescribeRegistryCommandOutput) => void,
|
|
526
542
|
): void;
|
|
543
|
+
describeReplicationBackfillResults(
|
|
544
|
+
args: DescribeReplicationBackfillResultsCommandInput,
|
|
545
|
+
options?: ECRRequestOptions,
|
|
546
|
+
): Promise<DescribeReplicationBackfillResultsCommandOutput>;
|
|
547
|
+
describeReplicationBackfillResults(
|
|
548
|
+
args: DescribeReplicationBackfillResultsCommandInput,
|
|
549
|
+
cb: (err: any, data?: DescribeReplicationBackfillResultsCommandOutput) => void,
|
|
550
|
+
): void;
|
|
551
|
+
describeReplicationBackfillResults(
|
|
552
|
+
args: DescribeReplicationBackfillResultsCommandInput,
|
|
553
|
+
options: ECRRequestOptions,
|
|
554
|
+
cb: (err: any, data?: DescribeReplicationBackfillResultsCommandOutput) => void,
|
|
555
|
+
): void;
|
|
527
556
|
describeRepositories(): Promise<DescribeRepositoriesCommandOutput>;
|
|
528
557
|
describeRepositories(
|
|
529
558
|
args: DescribeRepositoriesCommandInput,
|
|
@@ -726,6 +755,20 @@ export interface ECR {
|
|
|
726
755
|
options: ECRRequestOptions,
|
|
727
756
|
cb: (err: any, data?: ListPullTimeUpdateExclusionsCommandOutput) => void,
|
|
728
757
|
): void;
|
|
758
|
+
listReplicationBackfills(): Promise<ListReplicationBackfillsCommandOutput>;
|
|
759
|
+
listReplicationBackfills(
|
|
760
|
+
args: ListReplicationBackfillsCommandInput,
|
|
761
|
+
options?: ECRRequestOptions,
|
|
762
|
+
): Promise<ListReplicationBackfillsCommandOutput>;
|
|
763
|
+
listReplicationBackfills(
|
|
764
|
+
args: ListReplicationBackfillsCommandInput,
|
|
765
|
+
cb: (err: any, data?: ListReplicationBackfillsCommandOutput) => void,
|
|
766
|
+
): void;
|
|
767
|
+
listReplicationBackfills(
|
|
768
|
+
args: ListReplicationBackfillsCommandInput,
|
|
769
|
+
options: ECRRequestOptions,
|
|
770
|
+
cb: (err: any, data?: ListReplicationBackfillsCommandOutput) => void,
|
|
771
|
+
): void;
|
|
729
772
|
listTagsForResource(
|
|
730
773
|
args: ListTagsForResourceCommandInput,
|
|
731
774
|
options?: ECRRequestOptions,
|
|
@@ -903,6 +946,32 @@ export interface ECR {
|
|
|
903
946
|
options: ECRRequestOptions,
|
|
904
947
|
cb: (err: any, data?: StartLifecyclePolicyPreviewCommandOutput) => void,
|
|
905
948
|
): void;
|
|
949
|
+
startReplicationBackfill(
|
|
950
|
+
args: StartReplicationBackfillCommandInput,
|
|
951
|
+
options?: ECRRequestOptions,
|
|
952
|
+
): Promise<StartReplicationBackfillCommandOutput>;
|
|
953
|
+
startReplicationBackfill(
|
|
954
|
+
args: StartReplicationBackfillCommandInput,
|
|
955
|
+
cb: (err: any, data?: StartReplicationBackfillCommandOutput) => void,
|
|
956
|
+
): void;
|
|
957
|
+
startReplicationBackfill(
|
|
958
|
+
args: StartReplicationBackfillCommandInput,
|
|
959
|
+
options: ECRRequestOptions,
|
|
960
|
+
cb: (err: any, data?: StartReplicationBackfillCommandOutput) => void,
|
|
961
|
+
): void;
|
|
962
|
+
stopReplicationBackfill(
|
|
963
|
+
args: StopReplicationBackfillCommandInput,
|
|
964
|
+
options?: ECRRequestOptions,
|
|
965
|
+
): Promise<StopReplicationBackfillCommandOutput>;
|
|
966
|
+
stopReplicationBackfill(
|
|
967
|
+
args: StopReplicationBackfillCommandInput,
|
|
968
|
+
cb: (err: any, data?: StopReplicationBackfillCommandOutput) => void,
|
|
969
|
+
): void;
|
|
970
|
+
stopReplicationBackfill(
|
|
971
|
+
args: StopReplicationBackfillCommandInput,
|
|
972
|
+
options: ECRRequestOptions,
|
|
973
|
+
cb: (err: any, data?: StopReplicationBackfillCommandOutput) => void,
|
|
974
|
+
): void;
|
|
906
975
|
tagResource(
|
|
907
976
|
args: TagResourceCommandInput,
|
|
908
977
|
options?: ECRRequestOptions,
|
|
@@ -1015,6 +1084,13 @@ export interface ECR {
|
|
|
1015
1084
|
Exclude<keyof PaginationConfiguration, "client">
|
|
1016
1085
|
>,
|
|
1017
1086
|
): Paginator<DescribePullThroughCacheRulesCommandOutput>;
|
|
1087
|
+
paginateDescribeReplicationBackfillResults(
|
|
1088
|
+
args: DescribeReplicationBackfillResultsCommandInput,
|
|
1089
|
+
paginationConfig?: Pick<
|
|
1090
|
+
PaginationConfiguration,
|
|
1091
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1092
|
+
>,
|
|
1093
|
+
): Paginator<DescribeReplicationBackfillResultsCommandOutput>;
|
|
1018
1094
|
paginateDescribeRepositories(
|
|
1019
1095
|
args?: DescribeRepositoriesCommandInput,
|
|
1020
1096
|
paginationConfig?: Pick<
|
|
@@ -1043,6 +1119,13 @@ export interface ECR {
|
|
|
1043
1119
|
Exclude<keyof PaginationConfiguration, "client">
|
|
1044
1120
|
>,
|
|
1045
1121
|
): Paginator<ListImagesCommandOutput>;
|
|
1122
|
+
paginateListReplicationBackfills(
|
|
1123
|
+
args?: ListReplicationBackfillsCommandInput,
|
|
1124
|
+
paginationConfig?: Pick<
|
|
1125
|
+
PaginationConfiguration,
|
|
1126
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1127
|
+
>,
|
|
1128
|
+
): Paginator<ListReplicationBackfillsCommandOutput>;
|
|
1046
1129
|
waitUntilImageScanComplete(
|
|
1047
1130
|
args: DescribeImageScanFindingsCommandInput,
|
|
1048
1131
|
waiterConfig:
|