aws-sdk-ecr 1.136.0 → 1.138.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.
@@ -54,6 +54,9 @@ module Aws::ECR
54
54
  # * {PullThroughCacheRuleNotFoundException}
55
55
  # * {ReferencedImagesNotFoundException}
56
56
  # * {RegistryPolicyNotFoundException}
57
+ # * {ReplicationBackfillInProgressException}
58
+ # * {ReplicationBackfillInvalidStatusException}
59
+ # * {ReplicationBackfillNotFoundException}
57
60
  # * {RepositoryAlreadyExistsException}
58
61
  # * {RepositoryNotEmptyException}
59
62
  # * {RepositoryNotFoundException}
@@ -511,6 +514,51 @@ module Aws::ECR
511
514
  end
512
515
  end
513
516
 
517
+ class ReplicationBackfillInProgressException < ServiceError
518
+
519
+ # @param [Seahorse::Client::RequestContext] context
520
+ # @param [String] message
521
+ # @param [Aws::ECR::Types::ReplicationBackfillInProgressException] data
522
+ def initialize(context, message, data = Aws::EmptyStructure.new)
523
+ super(context, message, data)
524
+ end
525
+
526
+ # @return [String]
527
+ def message
528
+ @message || @data[:message]
529
+ end
530
+ end
531
+
532
+ class ReplicationBackfillInvalidStatusException < ServiceError
533
+
534
+ # @param [Seahorse::Client::RequestContext] context
535
+ # @param [String] message
536
+ # @param [Aws::ECR::Types::ReplicationBackfillInvalidStatusException] data
537
+ def initialize(context, message, data = Aws::EmptyStructure.new)
538
+ super(context, message, data)
539
+ end
540
+
541
+ # @return [String]
542
+ def message
543
+ @message || @data[:message]
544
+ end
545
+ end
546
+
547
+ class ReplicationBackfillNotFoundException < ServiceError
548
+
549
+ # @param [Seahorse::Client::RequestContext] context
550
+ # @param [String] message
551
+ # @param [Aws::ECR::Types::ReplicationBackfillNotFoundException] data
552
+ def initialize(context, message, data = Aws::EmptyStructure.new)
553
+ super(context, message, data)
554
+ end
555
+
556
+ # @return [String]
557
+ def message
558
+ @message || @data[:message]
559
+ end
560
+ end
561
+
514
562
  class RepositoryAlreadyExistsException < ServiceError
515
563
 
516
564
  # @param [Seahorse::Client::RequestContext] context
@@ -1438,6 +1438,134 @@ module Aws::ECR
1438
1438
  include Aws::Structure
1439
1439
  end
1440
1440
 
1441
+ # @!attribute [rw] registry_id
1442
+ # The Amazon Web Services account ID associated with the registry that
1443
+ # contains the replication backfill to describe. If you do not specify
1444
+ # a registry, the default registry is assumed.
1445
+ # @return [String]
1446
+ #
1447
+ # @!attribute [rw] replication_backfill_id
1448
+ # The ID of the replication backfill to describe.
1449
+ # @return [String]
1450
+ #
1451
+ # @!attribute [rw] result_status_filter
1452
+ # The status used to filter the returned results. Each result has a
1453
+ # status of `COMPLETE` or `FAILED`. If you omit this parameter,
1454
+ # results with both statuses are returned.
1455
+ # @return [String]
1456
+ #
1457
+ # @!attribute [rw] max_results
1458
+ # The maximum number of replication backfill results returned by
1459
+ # `DescribeReplicationBackfillResults` in paginated output. When this
1460
+ # parameter is used, `DescribeReplicationBackfillResults` only returns
1461
+ # `maxResults` results in a single page along with a `nextToken`
1462
+ # response element. The remaining results of the initial request can
1463
+ # be seen by sending another `DescribeReplicationBackfillResults`
1464
+ # request with the returned `nextToken` value. This value can be
1465
+ # between 1 and 1000. If this parameter is not used, then
1466
+ # `DescribeReplicationBackfillResults` returns up to 100 results and a
1467
+ # `nextToken` value, if applicable.
1468
+ # @return [Integer]
1469
+ #
1470
+ # @!attribute [rw] next_token
1471
+ # The `nextToken` value returned from a previous paginated
1472
+ # `DescribeReplicationBackfillResults` request where `maxResults` was
1473
+ # used and the results exceeded the value of that parameter.
1474
+ # Pagination continues from the end of the previous results that
1475
+ # returned the `nextToken` value. This value is `null` when there are
1476
+ # no more results to return.
1477
+ #
1478
+ # <note markdown="1"> This token should be treated as an opaque identifier that is only
1479
+ # used to retrieve the next items in a list and not for other
1480
+ # programmatic purposes.
1481
+ #
1482
+ # </note>
1483
+ # @return [String]
1484
+ #
1485
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeReplicationBackfillResultsRequest AWS API Documentation
1486
+ #
1487
+ class DescribeReplicationBackfillResultsRequest < Struct.new(
1488
+ :registry_id,
1489
+ :replication_backfill_id,
1490
+ :result_status_filter,
1491
+ :max_results,
1492
+ :next_token)
1493
+ SENSITIVE = []
1494
+ include Aws::Structure
1495
+ end
1496
+
1497
+ # @!attribute [rw] registry_id
1498
+ # The registry ID associated with the request.
1499
+ # @return [String]
1500
+ #
1501
+ # @!attribute [rw] replication_backfill_id
1502
+ # The ID of the replication backfill.
1503
+ # @return [String]
1504
+ #
1505
+ # @!attribute [rw] destination
1506
+ # The destination Region and registry to which the images are
1507
+ # replicated.
1508
+ # @return [Types::ReplicationDestination]
1509
+ #
1510
+ # @!attribute [rw] status
1511
+ # The current status of the replication backfill.
1512
+ # @return [String]
1513
+ #
1514
+ # @!attribute [rw] failure_code
1515
+ # The failure code for a replication backfill that has failed.
1516
+ # @return [String]
1517
+ #
1518
+ # @!attribute [rw] progress
1519
+ # The progress of the replication backfill, including the total,
1520
+ # completed, and failed replication counts. This value is `null` until
1521
+ # the replication backfill finishes preparing the set of images to
1522
+ # replicate. It is therefore `null` while the replication backfill is
1523
+ # `PREPARING`, and remains `null` if the replication backfill is
1524
+ # stopped before preparation completes.
1525
+ # @return [Types::ReplicationBackfillProgress]
1526
+ #
1527
+ # @!attribute [rw] results
1528
+ # The per-image results for the replication backfill. Results are
1529
+ # available only after the replication backfill reaches a terminal
1530
+ # status.
1531
+ # @return [Array<Types::ReplicationBackfillResult>]
1532
+ #
1533
+ # @!attribute [rw] started_at
1534
+ # The date and time, in JavaScript date format, when the replication
1535
+ # backfill was started.
1536
+ # @return [Time]
1537
+ #
1538
+ # @!attribute [rw] ended_at
1539
+ # The date and time, in JavaScript date format, when the replication
1540
+ # backfill ended. This value is `null` while the replication backfill
1541
+ # is still in progress.
1542
+ # @return [Time]
1543
+ #
1544
+ # @!attribute [rw] next_token
1545
+ # The `nextToken` value to include in a future
1546
+ # `DescribeReplicationBackfillResults` request. When the results of a
1547
+ # `DescribeReplicationBackfillResults` request exceed `maxResults`,
1548
+ # this value can be used to retrieve the next page of results. This
1549
+ # value is `null` when there are no more results to return.
1550
+ # @return [String]
1551
+ #
1552
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeReplicationBackfillResultsResponse AWS API Documentation
1553
+ #
1554
+ class DescribeReplicationBackfillResultsResponse < Struct.new(
1555
+ :registry_id,
1556
+ :replication_backfill_id,
1557
+ :destination,
1558
+ :status,
1559
+ :failure_code,
1560
+ :progress,
1561
+ :results,
1562
+ :started_at,
1563
+ :ended_at,
1564
+ :next_token)
1565
+ SENSITIVE = []
1566
+ include Aws::Structure
1567
+ end
1568
+
1441
1569
  # @!attribute [rw] registry_id
1442
1570
  # The Amazon Web Services account ID associated with the registry that
1443
1571
  # contains the repositories to be described. If you do not specify a
@@ -3403,6 +3531,75 @@ module Aws::ECR
3403
3531
  include Aws::Structure
3404
3532
  end
3405
3533
 
3534
+ # @!attribute [rw] registry_id
3535
+ # The Amazon Web Services account ID associated with the registry for
3536
+ # which to list replication backfills. If you do not specify a
3537
+ # registry, the default registry is assumed.
3538
+ # @return [String]
3539
+ #
3540
+ # @!attribute [rw] max_results
3541
+ # The maximum number of replication backfill results returned by
3542
+ # `ListReplicationBackfills` in paginated output. When this parameter
3543
+ # is used, `ListReplicationBackfills` only returns `maxResults`
3544
+ # results in a single page along with a `nextToken` response element.
3545
+ # The remaining results of the initial request can be seen by sending
3546
+ # another `ListReplicationBackfills` request with the returned
3547
+ # `nextToken` value. This value can be between 1 and 50. If this
3548
+ # parameter is not used, then `ListReplicationBackfills` returns up to
3549
+ # 25 results and a `nextToken` value, if applicable.
3550
+ # @return [Integer]
3551
+ #
3552
+ # @!attribute [rw] next_token
3553
+ # The `nextToken` value returned from a previous paginated
3554
+ # `ListReplicationBackfills` request where `maxResults` was used and
3555
+ # the results exceeded the value of that parameter. Pagination
3556
+ # continues from the end of the previous results that returned the
3557
+ # `nextToken` value. This value is `null` when there are no more
3558
+ # results to return.
3559
+ #
3560
+ # <note markdown="1"> This token should be treated as an opaque identifier that is only
3561
+ # used to retrieve the next items in a list and not for other
3562
+ # programmatic purposes.
3563
+ #
3564
+ # </note>
3565
+ # @return [String]
3566
+ #
3567
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListReplicationBackfillsRequest AWS API Documentation
3568
+ #
3569
+ class ListReplicationBackfillsRequest < Struct.new(
3570
+ :registry_id,
3571
+ :max_results,
3572
+ :next_token)
3573
+ SENSITIVE = []
3574
+ include Aws::Structure
3575
+ end
3576
+
3577
+ # @!attribute [rw] registry_id
3578
+ # The registry ID associated with the request.
3579
+ # @return [String]
3580
+ #
3581
+ # @!attribute [rw] backfills
3582
+ # A list of the replication backfills for the registry.
3583
+ # @return [Array<Types::ReplicationBackfillSummary>]
3584
+ #
3585
+ # @!attribute [rw] next_token
3586
+ # The `nextToken` value to include in a future
3587
+ # `ListReplicationBackfills` request. When the results of a
3588
+ # `ListReplicationBackfills` request exceed `maxResults`, this value
3589
+ # can be used to retrieve the next page of results. This value is
3590
+ # `null` when there are no more results to return.
3591
+ # @return [String]
3592
+ #
3593
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListReplicationBackfillsResponse AWS API Documentation
3594
+ #
3595
+ class ListReplicationBackfillsResponse < Struct.new(
3596
+ :registry_id,
3597
+ :backfills,
3598
+ :next_token)
3599
+ SENSITIVE = []
3600
+ include Aws::Structure
3601
+ end
3602
+
3406
3603
  # @!attribute [rw] resource_arn
3407
3604
  # The Amazon Resource Name (ARN) that identifies the resource for
3408
3605
  # which to list the tags. Currently, the only supported resource is an
@@ -4093,6 +4290,184 @@ module Aws::ECR
4093
4290
  include Aws::Structure
4094
4291
  end
4095
4292
 
4293
+ # A replication backfill is already in progress for the specified
4294
+ # destination Region. This occurs because only one replication backfill
4295
+ # can be in progress for a given destination Region at a time. Wait for
4296
+ # the in progress backfill to reach a terminal status, or stop it with
4297
+ # the StopReplicationBackfill operation, before starting another one.
4298
+ #
4299
+ # @!attribute [rw] message
4300
+ # The error message associated with the exception.
4301
+ # @return [String]
4302
+ #
4303
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ReplicationBackfillInProgressException AWS API Documentation
4304
+ #
4305
+ class ReplicationBackfillInProgressException < Struct.new(
4306
+ :message)
4307
+ SENSITIVE = []
4308
+ include Aws::Structure
4309
+ end
4310
+
4311
+ # The requested operation can't be performed on the replication
4312
+ # backfill because it is not in a valid status for that operation. For
4313
+ # example, you can't stop a replication backfill that has already
4314
+ # reached a terminal status. Use the DescribeReplicationBackfillResults
4315
+ # operation to check the current status before retrying.
4316
+ #
4317
+ # @!attribute [rw] message
4318
+ # The error message associated with the exception.
4319
+ # @return [String]
4320
+ #
4321
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ReplicationBackfillInvalidStatusException AWS API Documentation
4322
+ #
4323
+ class ReplicationBackfillInvalidStatusException < Struct.new(
4324
+ :message)
4325
+ SENSITIVE = []
4326
+ include Aws::Structure
4327
+ end
4328
+
4329
+ # The specified replication backfill could not be found. Check the
4330
+ # specified replication backfill ID and ensure that you are operating on
4331
+ # the correct registry.
4332
+ #
4333
+ # @!attribute [rw] message
4334
+ # The error message associated with the exception.
4335
+ # @return [String]
4336
+ #
4337
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ReplicationBackfillNotFoundException AWS API Documentation
4338
+ #
4339
+ class ReplicationBackfillNotFoundException < Struct.new(
4340
+ :message)
4341
+ SENSITIVE = []
4342
+ include Aws::Structure
4343
+ end
4344
+
4345
+ # An object representing the progress of a replication backfill,
4346
+ # including the total, completed, and failed replication counts.
4347
+ #
4348
+ # @!attribute [rw] total_replication_count
4349
+ # The total number of replications that the backfill will perform.
4350
+ # Each image and tag combination is counted as a single replication.
4351
+ # @return [Integer]
4352
+ #
4353
+ # @!attribute [rw] completed_replication_count
4354
+ # The number of replications that have completed successfully.
4355
+ # @return [Integer]
4356
+ #
4357
+ # @!attribute [rw] failed_replication_count
4358
+ # The number of replications that have failed.
4359
+ # @return [Integer]
4360
+ #
4361
+ # @!attribute [rw] failure_codes
4362
+ # The distinct failure codes for the replications that have failed.
4363
+ # Each failure code appears at most once, regardless of how many
4364
+ # replications failed with that code.
4365
+ # @return [Array<String>]
4366
+ #
4367
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ReplicationBackfillProgress AWS API Documentation
4368
+ #
4369
+ class ReplicationBackfillProgress < Struct.new(
4370
+ :total_replication_count,
4371
+ :completed_replication_count,
4372
+ :failed_replication_count,
4373
+ :failure_codes)
4374
+ SENSITIVE = []
4375
+ include Aws::Structure
4376
+ end
4377
+
4378
+ # An object representing the result of a single replication during a
4379
+ # replication backfill. Each image and tag combination is replicated as
4380
+ # a single replication.
4381
+ #
4382
+ # @!attribute [rw] repository_name
4383
+ # The name of the repository that contains the image.
4384
+ # @return [String]
4385
+ #
4386
+ # @!attribute [rw] image_id
4387
+ # An object with identifying information for the image.
4388
+ # @return [Types::ImageIdentifier]
4389
+ #
4390
+ # @!attribute [rw] status
4391
+ # The replication status of the image.
4392
+ # @return [String]
4393
+ #
4394
+ # @!attribute [rw] failure_code
4395
+ # The failure code for a replication that has failed.
4396
+ # @return [String]
4397
+ #
4398
+ # @!attribute [rw] sub_image_failure_codes
4399
+ # The distinct failure codes for the images referenced by a manifest
4400
+ # list that failed to replicate. Each failure code appears at most
4401
+ # once, regardless of how many referenced images failed with that
4402
+ # code. This field is present only when the image is a manifest list.
4403
+ # @return [Array<String>]
4404
+ #
4405
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ReplicationBackfillResult AWS API Documentation
4406
+ #
4407
+ class ReplicationBackfillResult < Struct.new(
4408
+ :repository_name,
4409
+ :image_id,
4410
+ :status,
4411
+ :failure_code,
4412
+ :sub_image_failure_codes)
4413
+ SENSITIVE = []
4414
+ include Aws::Structure
4415
+ end
4416
+
4417
+ # An object representing a summary of a replication backfill, including
4418
+ # its status, destination, progress, and start and end times.
4419
+ #
4420
+ # @!attribute [rw] replication_backfill_id
4421
+ # The ID of the replication backfill.
4422
+ # @return [String]
4423
+ #
4424
+ # @!attribute [rw] destination
4425
+ # The destination Region and registry to which the images are
4426
+ # replicated.
4427
+ # @return [Types::ReplicationDestination]
4428
+ #
4429
+ # @!attribute [rw] status
4430
+ # The current status of the replication backfill.
4431
+ # @return [String]
4432
+ #
4433
+ # @!attribute [rw] failure_code
4434
+ # The failure code for a replication backfill that has failed.
4435
+ # @return [String]
4436
+ #
4437
+ # @!attribute [rw] progress
4438
+ # The progress of the replication backfill, including the total,
4439
+ # completed, and failed replication counts. This value is `null` until
4440
+ # the replication backfill finishes preparing the set of images to
4441
+ # replicate. It is therefore `null` while the replication backfill is
4442
+ # `PREPARING`, and remains `null` if the replication backfill is
4443
+ # stopped before preparation completes.
4444
+ # @return [Types::ReplicationBackfillProgress]
4445
+ #
4446
+ # @!attribute [rw] started_at
4447
+ # The date and time, in JavaScript date format, when the replication
4448
+ # backfill was started.
4449
+ # @return [Time]
4450
+ #
4451
+ # @!attribute [rw] ended_at
4452
+ # The date and time, in JavaScript date format, when the replication
4453
+ # backfill ended. This value is `null` while the replication backfill
4454
+ # is still in progress.
4455
+ # @return [Time]
4456
+ #
4457
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ReplicationBackfillSummary AWS API Documentation
4458
+ #
4459
+ class ReplicationBackfillSummary < Struct.new(
4460
+ :replication_backfill_id,
4461
+ :destination,
4462
+ :status,
4463
+ :failure_code,
4464
+ :progress,
4465
+ :started_at,
4466
+ :ended_at)
4467
+ SENSITIVE = []
4468
+ include Aws::Structure
4469
+ end
4470
+
4096
4471
  # The replication configuration for a registry.
4097
4472
  #
4098
4473
  # @!attribute [rw] rules
@@ -4160,8 +4535,8 @@ module Aws::ECR
4160
4535
  # The Amazon Resource Name (ARN) that identifies the repository. The
4161
4536
  # ARN contains the `arn:aws:ecr` namespace, followed by the region of
4162
4537
  # the repository, Amazon Web Services account ID of the repository
4163
- # owner, repository namespace, and repository name. For example,
4164
- # `arn:aws:ecr:region:012345678910:repository-namespace/repository-name`.
4538
+ # owner, and repository name. For example,
4539
+ # `arn:aws:ecr:region:012345678910:repository/repository-name`.
4165
4540
  # @return [String]
4166
4541
  #
4167
4542
  # @!attribute [rw] registry_id
@@ -4846,6 +5221,118 @@ module Aws::ECR
4846
5221
  include Aws::Structure
4847
5222
  end
4848
5223
 
5224
+ # @!attribute [rw] registry_id
5225
+ # The Amazon Web Services account ID associated with the registry from
5226
+ # which to start the replication backfill. If you do not specify a
5227
+ # registry, the default registry is assumed.
5228
+ # @return [String]
5229
+ #
5230
+ # @!attribute [rw] destination
5231
+ # The destination Region and registry to which the images are
5232
+ # replicated.
5233
+ # @return [Types::ReplicationDestination]
5234
+ #
5235
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/StartReplicationBackfillRequest AWS API Documentation
5236
+ #
5237
+ class StartReplicationBackfillRequest < Struct.new(
5238
+ :registry_id,
5239
+ :destination)
5240
+ SENSITIVE = []
5241
+ include Aws::Structure
5242
+ end
5243
+
5244
+ # @!attribute [rw] replication_backfill_id
5245
+ # The ID of the replication backfill that was started. Use this value
5246
+ # to describe or stop the backfill.
5247
+ # @return [String]
5248
+ #
5249
+ # @!attribute [rw] registry_id
5250
+ # The registry ID associated with the request.
5251
+ # @return [String]
5252
+ #
5253
+ # @!attribute [rw] destination
5254
+ # The destination Region and registry to which the images are
5255
+ # replicated.
5256
+ # @return [Types::ReplicationDestination]
5257
+ #
5258
+ # @!attribute [rw] status
5259
+ # The current status of the replication backfill. A newly started
5260
+ # replication backfill is returned with a status of `PREPARING`.
5261
+ # @return [String]
5262
+ #
5263
+ # @!attribute [rw] started_at
5264
+ # The date and time, in JavaScript date format, when the replication
5265
+ # backfill was started.
5266
+ # @return [Time]
5267
+ #
5268
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/StartReplicationBackfillResponse AWS API Documentation
5269
+ #
5270
+ class StartReplicationBackfillResponse < Struct.new(
5271
+ :replication_backfill_id,
5272
+ :registry_id,
5273
+ :destination,
5274
+ :status,
5275
+ :started_at)
5276
+ SENSITIVE = []
5277
+ include Aws::Structure
5278
+ end
5279
+
5280
+ # @!attribute [rw] registry_id
5281
+ # The Amazon Web Services account ID associated with the registry that
5282
+ # contains the replication backfill to stop. If you do not specify a
5283
+ # registry, the default registry is assumed.
5284
+ # @return [String]
5285
+ #
5286
+ # @!attribute [rw] replication_backfill_id
5287
+ # The ID of the replication backfill to stop.
5288
+ # @return [String]
5289
+ #
5290
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/StopReplicationBackfillRequest AWS API Documentation
5291
+ #
5292
+ class StopReplicationBackfillRequest < Struct.new(
5293
+ :registry_id,
5294
+ :replication_backfill_id)
5295
+ SENSITIVE = []
5296
+ include Aws::Structure
5297
+ end
5298
+
5299
+ # @!attribute [rw] registry_id
5300
+ # The registry ID associated with the request.
5301
+ # @return [String]
5302
+ #
5303
+ # @!attribute [rw] replication_backfill_id
5304
+ # The ID of the replication backfill.
5305
+ # @return [String]
5306
+ #
5307
+ # @!attribute [rw] destination
5308
+ # The destination Region and registry to which the images are
5309
+ # replicated.
5310
+ # @return [Types::ReplicationDestination]
5311
+ #
5312
+ # @!attribute [rw] status
5313
+ # The current status of the replication backfill. When you stop a
5314
+ # replication backfill, its status is `STOPPED` if the backfill is
5315
+ # stopped immediately, or `STOPPING` if there are replications still
5316
+ # in progress that must complete before the backfill stops.
5317
+ # @return [String]
5318
+ #
5319
+ # @!attribute [rw] started_at
5320
+ # The date and time, in JavaScript date format, when the replication
5321
+ # backfill was started.
5322
+ # @return [Time]
5323
+ #
5324
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/StopReplicationBackfillResponse AWS API Documentation
5325
+ #
5326
+ class StopReplicationBackfillResponse < Struct.new(
5327
+ :registry_id,
5328
+ :replication_backfill_id,
5329
+ :destination,
5330
+ :status,
5331
+ :started_at)
5332
+ SENSITIVE = []
5333
+ include Aws::Structure
5334
+ end
5335
+
4849
5336
  # An object that identifies an image subject.
4850
5337
  #
4851
5338
  # @!attribute [rw] image_digest
data/lib/aws-sdk-ecr.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::ECR
55
55
  autoload :EndpointProvider, 'aws-sdk-ecr/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-ecr/endpoints'
57
57
 
58
- GEM_VERSION = '1.136.0'
58
+ GEM_VERSION = '1.138.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -446,6 +446,29 @@ module Aws
446
446
  ) -> _DescribeRegistryResponseSuccess
447
447
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeRegistryResponseSuccess
448
448
 
449
+ interface _DescribeReplicationBackfillResultsResponseSuccess
450
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeReplicationBackfillResultsResponse]
451
+ def registry_id: () -> ::String
452
+ def replication_backfill_id: () -> ::String
453
+ def destination: () -> Types::ReplicationDestination
454
+ def status: () -> ("PREPARING" | "IN_PROGRESS" | "COMPLETE" | "FAILED" | "STOPPING" | "STOPPED")
455
+ def failure_code: () -> ::String
456
+ def progress: () -> Types::ReplicationBackfillProgress
457
+ def results: () -> ::Array[Types::ReplicationBackfillResult]
458
+ def started_at: () -> ::Time
459
+ def ended_at: () -> ::Time
460
+ def next_token: () -> ::String
461
+ end
462
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#describe_replication_backfill_results-instance_method
463
+ def describe_replication_backfill_results: (
464
+ ?registry_id: ::String,
465
+ replication_backfill_id: ::String,
466
+ ?result_status_filter: ("COMPLETE" | "FAILED"),
467
+ ?max_results: ::Integer,
468
+ ?next_token: ::String
469
+ ) -> _DescribeReplicationBackfillResultsResponseSuccess
470
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeReplicationBackfillResultsResponseSuccess
471
+
449
472
  interface _DescribeRepositoriesResponseSuccess
450
473
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeRepositoriesResponse]
451
474
  def repositories: () -> ::Array[Types::Repository]
@@ -656,6 +679,20 @@ module Aws
656
679
  ) -> _ListPullTimeUpdateExclusionsResponseSuccess
657
680
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPullTimeUpdateExclusionsResponseSuccess
658
681
 
682
+ interface _ListReplicationBackfillsResponseSuccess
683
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListReplicationBackfillsResponse]
684
+ def registry_id: () -> ::String
685
+ def backfills: () -> ::Array[Types::ReplicationBackfillSummary]
686
+ def next_token: () -> ::String
687
+ end
688
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#list_replication_backfills-instance_method
689
+ def list_replication_backfills: (
690
+ ?registry_id: ::String,
691
+ ?max_results: ::Integer,
692
+ ?next_token: ::String
693
+ ) -> _ListReplicationBackfillsResponseSuccess
694
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListReplicationBackfillsResponseSuccess
695
+
659
696
  interface _ListTagsForResourceResponseSuccess
660
697
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
661
698
  def tags: () -> ::Array[Types::Tag]
@@ -884,6 +921,39 @@ module Aws
884
921
  ) -> _StartLifecyclePolicyPreviewResponseSuccess
885
922
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartLifecyclePolicyPreviewResponseSuccess
886
923
 
924
+ interface _StartReplicationBackfillResponseSuccess
925
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartReplicationBackfillResponse]
926
+ def replication_backfill_id: () -> ::String
927
+ def registry_id: () -> ::String
928
+ def destination: () -> Types::ReplicationDestination
929
+ def status: () -> ("PREPARING" | "IN_PROGRESS" | "COMPLETE" | "FAILED" | "STOPPING" | "STOPPED")
930
+ def started_at: () -> ::Time
931
+ end
932
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#start_replication_backfill-instance_method
933
+ def start_replication_backfill: (
934
+ ?registry_id: ::String,
935
+ destination: {
936
+ region: ::String,
937
+ registry_id: ::String
938
+ }
939
+ ) -> _StartReplicationBackfillResponseSuccess
940
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartReplicationBackfillResponseSuccess
941
+
942
+ interface _StopReplicationBackfillResponseSuccess
943
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopReplicationBackfillResponse]
944
+ def registry_id: () -> ::String
945
+ def replication_backfill_id: () -> ::String
946
+ def destination: () -> Types::ReplicationDestination
947
+ def status: () -> ("PREPARING" | "IN_PROGRESS" | "COMPLETE" | "FAILED" | "STOPPING" | "STOPPED")
948
+ def started_at: () -> ::Time
949
+ end
950
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#stop_replication_backfill-instance_method
951
+ def stop_replication_backfill: (
952
+ ?registry_id: ::String,
953
+ replication_backfill_id: ::String
954
+ ) -> _StopReplicationBackfillResponseSuccess
955
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopReplicationBackfillResponseSuccess
956
+
887
957
  interface _TagResourceResponseSuccess
888
958
  include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
889
959
  end