aws-sdk-ecr 1.46.0 → 1.47.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 01cc0742d62ee8ad28cc56bf77f57b49a65ac594eeee009246dfa2ee2d549efd
4
- data.tar.gz: d87628d51f66f007b74876f92aaf4b5a221007f669b9b440507b801541213bee
3
+ metadata.gz: 5fefd3b77aa0f2517749c9f3e2806af7a1752e653ff5848b8f3e6f462d200e37
4
+ data.tar.gz: 283bca2dba559b1c9fba36278418d0e5fe3e4871b8fd11be6fc9c43114be8fa2
5
5
  SHA512:
6
- metadata.gz: 93b12c6eb4f4b9f4312a29ae73d85750d5ca933cc6dd989432e5f74fc00ea6c06f07a0da95e07edc2331a922b1302a3578e7ef34df76e4f3b4ccdb2d8bc798af
7
- data.tar.gz: dd9677da00da3ddaa18107519a186c1ea30783e672bc38c848897cad21a0400618d2334a7f4603a4356c1fdd396cd8d3e7d97d1d9cb3f9920652c88d7ce2e63d
6
+ metadata.gz: a72739a92883b460ac1898698c9510ce851d7b9fdc7b5d3d0381de4b28d450d6006a507597d1ea88d881e1b4ef3765dc1db7dfacef282345fe1a24be6903ceb0
7
+ data.tar.gz: cd918dfe3dae5eb3542375cd2d4be8fbca4a151e17dff2182617baff366f0d5de020d496f5a134b94f6ff0221019047bde4f3bd7623913311c6cf8906119da4a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.47.0 (2021-09-21)
5
+ ------------------
6
+
7
+ * Feature - This release adds additional support for repository replication
8
+
4
9
  1.46.0 (2021-09-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.46.0
1
+ 1.47.0
@@ -653,6 +653,11 @@ module Aws::ECR
653
653
  #
654
654
  # [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html
655
655
  #
656
+ # @option params [String] :registry_id
657
+ # The AWS account ID associated with the registry to create the
658
+ # repository. If you do not specify a registry, the default registry is
659
+ # assumed.
660
+ #
656
661
  # @option params [required, String] :repository_name
657
662
  # The name to use for the repository. The repository name may be
658
663
  # specified on its own (such as `nginx-web-app`) or it can be prepended
@@ -708,6 +713,7 @@ module Aws::ECR
708
713
  # @example Request syntax with placeholder values
709
714
  #
710
715
  # resp = client.create_repository({
716
+ # registry_id: "RegistryId",
711
717
  # repository_name: "RepositoryName", # required
712
718
  # tags: [
713
719
  # {
@@ -931,6 +937,56 @@ module Aws::ECR
931
937
  req.send_request(options)
932
938
  end
933
939
 
940
+ # Returns the replication status for a specified image.
941
+ #
942
+ # @option params [required, String] :repository_name
943
+ # The name of the repository that the image is in.
944
+ #
945
+ # @option params [required, Types::ImageIdentifier] :image_id
946
+ # An object with identifying information for an image in an Amazon ECR
947
+ # repository.
948
+ #
949
+ # @option params [String] :registry_id
950
+ # The Amazon Web Services account ID associated with the registry. If
951
+ # you do not specify a registry, the default registry is assumed.
952
+ #
953
+ # @return [Types::DescribeImageReplicationStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
954
+ #
955
+ # * {Types::DescribeImageReplicationStatusResponse#repository_name #repository_name} => String
956
+ # * {Types::DescribeImageReplicationStatusResponse#image_id #image_id} => Types::ImageIdentifier
957
+ # * {Types::DescribeImageReplicationStatusResponse#replication_statuses #replication_statuses} => Array<Types::ImageReplicationStatus>
958
+ #
959
+ # @example Request syntax with placeholder values
960
+ #
961
+ # resp = client.describe_image_replication_status({
962
+ # repository_name: "RepositoryName", # required
963
+ # image_id: { # required
964
+ # image_digest: "ImageDigest",
965
+ # image_tag: "ImageTag",
966
+ # },
967
+ # registry_id: "RegistryId",
968
+ # })
969
+ #
970
+ # @example Response structure
971
+ #
972
+ # resp.repository_name #=> String
973
+ # resp.image_id.image_digest #=> String
974
+ # resp.image_id.image_tag #=> String
975
+ # resp.replication_statuses #=> Array
976
+ # resp.replication_statuses[0].region #=> String
977
+ # resp.replication_statuses[0].registry_id #=> String
978
+ # resp.replication_statuses[0].status #=> String, one of "IN_PROGRESS", "COMPLETE", "FAILED"
979
+ # resp.replication_statuses[0].failure_code #=> String
980
+ #
981
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImageReplicationStatus AWS API Documentation
982
+ #
983
+ # @overload describe_image_replication_status(params = {})
984
+ # @param [Hash] params ({})
985
+ def describe_image_replication_status(params = {}, options = {})
986
+ req = build_request(:describe_image_replication_status, params)
987
+ req.send_request(options)
988
+ end
989
+
934
990
  # Returns the scan findings for the specified image.
935
991
  #
936
992
  # @option params [String] :registry_id
@@ -943,7 +999,8 @@ module Aws::ECR
943
999
  # The repository for the image for which to describe the scan findings.
944
1000
  #
945
1001
  # @option params [required, Types::ImageIdentifier] :image_id
946
- # An object with identifying information for an Amazon ECR image.
1002
+ # An object with identifying information for an image in an Amazon ECR
1003
+ # repository.
947
1004
  #
948
1005
  # @option params [String] :next_token
949
1006
  # The `nextToken` value returned from a previous paginated
@@ -1137,6 +1194,9 @@ module Aws::ECR
1137
1194
  # resp.replication_configuration.rules[0].destinations #=> Array
1138
1195
  # resp.replication_configuration.rules[0].destinations[0].region #=> String
1139
1196
  # resp.replication_configuration.rules[0].destinations[0].registry_id #=> String
1197
+ # resp.replication_configuration.rules[0].repository_filters #=> Array
1198
+ # resp.replication_configuration.rules[0].repository_filters[0].filter #=> String
1199
+ # resp.replication_configuration.rules[0].repository_filters[0].filter_type #=> String, one of "PREFIX_MATCH"
1140
1200
  #
1141
1201
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeRegistry AWS API Documentation
1142
1202
  #
@@ -2061,6 +2121,12 @@ module Aws::ECR
2061
2121
  # registry_id: "RegistryId", # required
2062
2122
  # },
2063
2123
  # ],
2124
+ # repository_filters: [
2125
+ # {
2126
+ # filter: "RepositoryFilterValue", # required
2127
+ # filter_type: "PREFIX_MATCH", # required, accepts PREFIX_MATCH
2128
+ # },
2129
+ # ],
2064
2130
  # },
2065
2131
  # ],
2066
2132
  # },
@@ -2072,6 +2138,9 @@ module Aws::ECR
2072
2138
  # resp.replication_configuration.rules[0].destinations #=> Array
2073
2139
  # resp.replication_configuration.rules[0].destinations[0].region #=> String
2074
2140
  # resp.replication_configuration.rules[0].destinations[0].registry_id #=> String
2141
+ # resp.replication_configuration.rules[0].repository_filters #=> Array
2142
+ # resp.replication_configuration.rules[0].repository_filters[0].filter #=> String
2143
+ # resp.replication_configuration.rules[0].repository_filters[0].filter_type #=> String, one of "PREFIX_MATCH"
2075
2144
  #
2076
2145
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutReplicationConfiguration AWS API Documentation
2077
2146
  #
@@ -2161,7 +2230,8 @@ module Aws::ECR
2161
2230
  # The name of the repository that contains the images to scan.
2162
2231
  #
2163
2232
  # @option params [required, Types::ImageIdentifier] :image_id
2164
- # An object with identifying information for an Amazon ECR image.
2233
+ # An object with identifying information for an image in an Amazon ECR
2234
+ # repository.
2165
2235
  #
2166
2236
  # @return [Types::StartImageScanResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2167
2237
  #
@@ -2394,7 +2464,7 @@ module Aws::ECR
2394
2464
  params: params,
2395
2465
  config: config)
2396
2466
  context[:gem_name] = 'aws-sdk-ecr'
2397
- context[:gem_version] = '1.46.0'
2467
+ context[:gem_version] = '1.47.0'
2398
2468
  Seahorse::Client::Request.new(handlers, context)
2399
2469
  end
2400
2470
 
@@ -42,6 +42,8 @@ module Aws::ECR
42
42
  DeleteRepositoryPolicyResponse = Shapes::StructureShape.new(name: 'DeleteRepositoryPolicyResponse')
43
43
  DeleteRepositoryRequest = Shapes::StructureShape.new(name: 'DeleteRepositoryRequest')
44
44
  DeleteRepositoryResponse = Shapes::StructureShape.new(name: 'DeleteRepositoryResponse')
45
+ DescribeImageReplicationStatusRequest = Shapes::StructureShape.new(name: 'DescribeImageReplicationStatusRequest')
46
+ DescribeImageReplicationStatusResponse = Shapes::StructureShape.new(name: 'DescribeImageReplicationStatusResponse')
45
47
  DescribeImageScanFindingsRequest = Shapes::StructureShape.new(name: 'DescribeImageScanFindingsRequest')
46
48
  DescribeImageScanFindingsResponse = Shapes::StructureShape.new(name: 'DescribeImageScanFindingsResponse')
47
49
  DescribeImagesFilter = Shapes::StructureShape.new(name: 'DescribeImagesFilter')
@@ -92,6 +94,8 @@ module Aws::ECR
92
94
  ImageList = Shapes::ListShape.new(name: 'ImageList')
93
95
  ImageManifest = Shapes::StringShape.new(name: 'ImageManifest')
94
96
  ImageNotFoundException = Shapes::StructureShape.new(name: 'ImageNotFoundException')
97
+ ImageReplicationStatus = Shapes::StructureShape.new(name: 'ImageReplicationStatus')
98
+ ImageReplicationStatusList = Shapes::ListShape.new(name: 'ImageReplicationStatusList')
95
99
  ImageScanFinding = Shapes::StructureShape.new(name: 'ImageScanFinding')
96
100
  ImageScanFindingList = Shapes::ListShape.new(name: 'ImageScanFindingList')
97
101
  ImageScanFindings = Shapes::StructureShape.new(name: 'ImageScanFindings')
@@ -172,10 +176,16 @@ module Aws::ECR
172
176
  ReplicationConfiguration = Shapes::StructureShape.new(name: 'ReplicationConfiguration')
173
177
  ReplicationDestination = Shapes::StructureShape.new(name: 'ReplicationDestination')
174
178
  ReplicationDestinationList = Shapes::ListShape.new(name: 'ReplicationDestinationList')
179
+ ReplicationError = Shapes::StringShape.new(name: 'ReplicationError')
175
180
  ReplicationRule = Shapes::StructureShape.new(name: 'ReplicationRule')
176
181
  ReplicationRuleList = Shapes::ListShape.new(name: 'ReplicationRuleList')
182
+ ReplicationStatus = Shapes::StringShape.new(name: 'ReplicationStatus')
177
183
  Repository = Shapes::StructureShape.new(name: 'Repository')
178
184
  RepositoryAlreadyExistsException = Shapes::StructureShape.new(name: 'RepositoryAlreadyExistsException')
185
+ RepositoryFilter = Shapes::StructureShape.new(name: 'RepositoryFilter')
186
+ RepositoryFilterList = Shapes::ListShape.new(name: 'RepositoryFilterList')
187
+ RepositoryFilterType = Shapes::StringShape.new(name: 'RepositoryFilterType')
188
+ RepositoryFilterValue = Shapes::StringShape.new(name: 'RepositoryFilterValue')
179
189
  RepositoryList = Shapes::ListShape.new(name: 'RepositoryList')
180
190
  RepositoryName = Shapes::StringShape.new(name: 'RepositoryName')
181
191
  RepositoryNameList = Shapes::ListShape.new(name: 'RepositoryNameList')
@@ -271,6 +281,7 @@ module Aws::ECR
271
281
  CompleteLayerUploadResponse.add_member(:layer_digest, Shapes::ShapeRef.new(shape: LayerDigest, location_name: "layerDigest"))
272
282
  CompleteLayerUploadResponse.struct_class = Types::CompleteLayerUploadResponse
273
283
 
284
+ CreateRepositoryRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
274
285
  CreateRepositoryRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
275
286
  CreateRepositoryRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
276
287
  CreateRepositoryRequest.add_member(:image_tag_mutability, Shapes::ShapeRef.new(shape: ImageTagMutability, location_name: "imageTagMutability"))
@@ -314,6 +325,16 @@ module Aws::ECR
314
325
  DeleteRepositoryResponse.add_member(:repository, Shapes::ShapeRef.new(shape: Repository, location_name: "repository"))
315
326
  DeleteRepositoryResponse.struct_class = Types::DeleteRepositoryResponse
316
327
 
328
+ DescribeImageReplicationStatusRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
329
+ DescribeImageReplicationStatusRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageIdentifier, required: true, location_name: "imageId"))
330
+ DescribeImageReplicationStatusRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
331
+ DescribeImageReplicationStatusRequest.struct_class = Types::DescribeImageReplicationStatusRequest
332
+
333
+ DescribeImageReplicationStatusResponse.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
334
+ DescribeImageReplicationStatusResponse.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageIdentifier, location_name: "imageId"))
335
+ DescribeImageReplicationStatusResponse.add_member(:replication_statuses, Shapes::ShapeRef.new(shape: ImageReplicationStatusList, location_name: "replicationStatuses"))
336
+ DescribeImageReplicationStatusResponse.struct_class = Types::DescribeImageReplicationStatusResponse
337
+
317
338
  DescribeImageScanFindingsRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
318
339
  DescribeImageScanFindingsRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
319
340
  DescribeImageScanFindingsRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageIdentifier, required: true, location_name: "imageId"))
@@ -474,6 +495,14 @@ module Aws::ECR
474
495
  ImageNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
475
496
  ImageNotFoundException.struct_class = Types::ImageNotFoundException
476
497
 
498
+ ImageReplicationStatus.add_member(:region, Shapes::ShapeRef.new(shape: Region, location_name: "region"))
499
+ ImageReplicationStatus.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
500
+ ImageReplicationStatus.add_member(:status, Shapes::ShapeRef.new(shape: ReplicationStatus, location_name: "status"))
501
+ ImageReplicationStatus.add_member(:failure_code, Shapes::ShapeRef.new(shape: ReplicationError, location_name: "failureCode"))
502
+ ImageReplicationStatus.struct_class = Types::ImageReplicationStatus
503
+
504
+ ImageReplicationStatusList.member = Shapes::ShapeRef.new(shape: ImageReplicationStatus)
505
+
477
506
  ImageScanFinding.add_member(:name, Shapes::ShapeRef.new(shape: FindingName, location_name: "name"))
478
507
  ImageScanFinding.add_member(:description, Shapes::ShapeRef.new(shape: FindingDescription, location_name: "description"))
479
508
  ImageScanFinding.add_member(:uri, Shapes::ShapeRef.new(shape: Url, location_name: "uri"))
@@ -685,6 +714,7 @@ module Aws::ECR
685
714
  ReplicationDestinationList.member = Shapes::ShapeRef.new(shape: ReplicationDestination)
686
715
 
687
716
  ReplicationRule.add_member(:destinations, Shapes::ShapeRef.new(shape: ReplicationDestinationList, required: true, location_name: "destinations"))
717
+ ReplicationRule.add_member(:repository_filters, Shapes::ShapeRef.new(shape: RepositoryFilterList, location_name: "repositoryFilters"))
688
718
  ReplicationRule.struct_class = Types::ReplicationRule
689
719
 
690
720
  ReplicationRuleList.member = Shapes::ShapeRef.new(shape: ReplicationRule)
@@ -702,6 +732,12 @@ module Aws::ECR
702
732
  RepositoryAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
703
733
  RepositoryAlreadyExistsException.struct_class = Types::RepositoryAlreadyExistsException
704
734
 
735
+ RepositoryFilter.add_member(:filter, Shapes::ShapeRef.new(shape: RepositoryFilterValue, required: true, location_name: "filter"))
736
+ RepositoryFilter.add_member(:filter_type, Shapes::ShapeRef.new(shape: RepositoryFilterType, required: true, location_name: "filterType"))
737
+ RepositoryFilter.struct_class = Types::RepositoryFilter
738
+
739
+ RepositoryFilterList.member = Shapes::ShapeRef.new(shape: RepositoryFilter)
740
+
705
741
  RepositoryList.member = Shapes::ShapeRef.new(shape: Repository)
706
742
 
707
743
  RepositoryNameList.member = Shapes::ShapeRef.new(shape: RepositoryName)
@@ -906,6 +942,7 @@ module Aws::ECR
906
942
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
907
943
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
908
944
  o.errors << Shapes::ShapeRef.new(shape: RegistryPolicyNotFoundException)
945
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
909
946
  end)
910
947
 
911
948
  api.add_operation(:delete_repository, Seahorse::Model::Operation.new.tap do |o|
@@ -933,6 +970,19 @@ module Aws::ECR
933
970
  o.errors << Shapes::ShapeRef.new(shape: RepositoryPolicyNotFoundException)
934
971
  end)
935
972
 
973
+ api.add_operation(:describe_image_replication_status, Seahorse::Model::Operation.new.tap do |o|
974
+ o.name = "DescribeImageReplicationStatus"
975
+ o.http_method = "POST"
976
+ o.http_request_uri = "/"
977
+ o.input = Shapes::ShapeRef.new(shape: DescribeImageReplicationStatusRequest)
978
+ o.output = Shapes::ShapeRef.new(shape: DescribeImageReplicationStatusResponse)
979
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
980
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
981
+ o.errors << Shapes::ShapeRef.new(shape: ImageNotFoundException)
982
+ o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
983
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
984
+ end)
985
+
936
986
  api.add_operation(:describe_image_scan_findings, Seahorse::Model::Operation.new.tap do |o|
937
987
  o.name = "DescribeImageScanFindings"
938
988
  o.http_method = "POST"
@@ -1060,6 +1110,7 @@ module Aws::ECR
1060
1110
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
1061
1111
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1062
1112
  o.errors << Shapes::ShapeRef.new(shape: RegistryPolicyNotFoundException)
1113
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1063
1114
  end)
1064
1115
 
1065
1116
  api.add_operation(:get_repository_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -1173,6 +1224,7 @@ module Aws::ECR
1173
1224
  o.output = Shapes::ShapeRef.new(shape: PutRegistryPolicyResponse)
1174
1225
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
1175
1226
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1227
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1176
1228
  end)
1177
1229
 
1178
1230
  api.add_operation(:put_replication_configuration, Seahorse::Model::Operation.new.tap do |o|
@@ -311,6 +311,7 @@ module Aws::ECR
311
311
  # data as a hash:
312
312
  #
313
313
  # {
314
+ # registry_id: "RegistryId",
314
315
  # repository_name: "RepositoryName", # required
315
316
  # tags: [
316
317
  # {
@@ -328,6 +329,12 @@ module Aws::ECR
328
329
  # },
329
330
  # }
330
331
  #
332
+ # @!attribute [rw] registry_id
333
+ # The AWS account ID associated with the registry to create the
334
+ # repository. If you do not specify a registry, the default registry
335
+ # is assumed.
336
+ # @return [String]
337
+ #
331
338
  # @!attribute [rw] repository_name
332
339
  # The name to use for the repository. The repository name may be
333
340
  # specified on its own (such as `nginx-web-app`) or it can be
@@ -365,6 +372,7 @@ module Aws::ECR
365
372
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreateRepositoryRequest AWS API Documentation
366
373
  #
367
374
  class CreateRepositoryRequest < Struct.new(
375
+ :registry_id,
368
376
  :repository_name,
369
377
  :tags,
370
378
  :image_tag_mutability,
@@ -558,6 +566,66 @@ module Aws::ECR
558
566
  include Aws::Structure
559
567
  end
560
568
 
569
+ # @note When making an API call, you may pass DescribeImageReplicationStatusRequest
570
+ # data as a hash:
571
+ #
572
+ # {
573
+ # repository_name: "RepositoryName", # required
574
+ # image_id: { # required
575
+ # image_digest: "ImageDigest",
576
+ # image_tag: "ImageTag",
577
+ # },
578
+ # registry_id: "RegistryId",
579
+ # }
580
+ #
581
+ # @!attribute [rw] repository_name
582
+ # The name of the repository that the image is in.
583
+ # @return [String]
584
+ #
585
+ # @!attribute [rw] image_id
586
+ # An object with identifying information for an image in an Amazon ECR
587
+ # repository.
588
+ # @return [Types::ImageIdentifier]
589
+ #
590
+ # @!attribute [rw] registry_id
591
+ # The Amazon Web Services account ID associated with the registry. If
592
+ # you do not specify a registry, the default registry is assumed.
593
+ # @return [String]
594
+ #
595
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImageReplicationStatusRequest AWS API Documentation
596
+ #
597
+ class DescribeImageReplicationStatusRequest < Struct.new(
598
+ :repository_name,
599
+ :image_id,
600
+ :registry_id)
601
+ SENSITIVE = []
602
+ include Aws::Structure
603
+ end
604
+
605
+ # @!attribute [rw] repository_name
606
+ # The repository name associated with the request.
607
+ # @return [String]
608
+ #
609
+ # @!attribute [rw] image_id
610
+ # An object with identifying information for an image in an Amazon ECR
611
+ # repository.
612
+ # @return [Types::ImageIdentifier]
613
+ #
614
+ # @!attribute [rw] replication_statuses
615
+ # The replication status details for the images in the specified
616
+ # repository.
617
+ # @return [Array<Types::ImageReplicationStatus>]
618
+ #
619
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImageReplicationStatusResponse AWS API Documentation
620
+ #
621
+ class DescribeImageReplicationStatusResponse < Struct.new(
622
+ :repository_name,
623
+ :image_id,
624
+ :replication_statuses)
625
+ SENSITIVE = []
626
+ include Aws::Structure
627
+ end
628
+
561
629
  # @note When making an API call, you may pass DescribeImageScanFindingsRequest
562
630
  # data as a hash:
563
631
  #
@@ -585,7 +653,8 @@ module Aws::ECR
585
653
  # @return [String]
586
654
  #
587
655
  # @!attribute [rw] image_id
588
- # An object with identifying information for an Amazon ECR image.
656
+ # An object with identifying information for an image in an Amazon ECR
657
+ # repository.
589
658
  # @return [Types::ImageIdentifier]
590
659
  #
591
660
  # @!attribute [rw] next_token
@@ -630,7 +699,8 @@ module Aws::ECR
630
699
  # @return [String]
631
700
  #
632
701
  # @!attribute [rw] image_id
633
- # An object with identifying information for an Amazon ECR image.
702
+ # An object with identifying information for an image in an Amazon ECR
703
+ # repository.
634
704
  # @return [Types::ImageIdentifier]
635
705
  #
636
706
  # @!attribute [rw] image_scan_status
@@ -1461,7 +1531,8 @@ module Aws::ECR
1461
1531
  include Aws::Structure
1462
1532
  end
1463
1533
 
1464
- # An object with identifying information for an Amazon ECR image.
1534
+ # An object with identifying information for an image in an Amazon ECR
1535
+ # repository.
1465
1536
  #
1466
1537
  # @note When making an API call, you may pass ImageIdentifier
1467
1538
  # data as a hash:
@@ -1501,6 +1572,36 @@ module Aws::ECR
1501
1572
  include Aws::Structure
1502
1573
  end
1503
1574
 
1575
+ # The status of the replication process for an image.
1576
+ #
1577
+ # @!attribute [rw] region
1578
+ # The destination Region for the image replication.
1579
+ # @return [String]
1580
+ #
1581
+ # @!attribute [rw] registry_id
1582
+ # The AWS account ID associated with the registry to which the image
1583
+ # belongs.
1584
+ # @return [String]
1585
+ #
1586
+ # @!attribute [rw] status
1587
+ # The image replication status.
1588
+ # @return [String]
1589
+ #
1590
+ # @!attribute [rw] failure_code
1591
+ # The failure code for a replication that has failed.
1592
+ # @return [String]
1593
+ #
1594
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageReplicationStatus AWS API Documentation
1595
+ #
1596
+ class ImageReplicationStatus < Struct.new(
1597
+ :region,
1598
+ :registry_id,
1599
+ :status,
1600
+ :failure_code)
1601
+ SENSITIVE = []
1602
+ include Aws::Structure
1603
+ end
1604
+
1504
1605
  # Contains information about an image scan finding.
1505
1606
  #
1506
1607
  # @!attribute [rw] name
@@ -2494,6 +2595,12 @@ module Aws::ECR
2494
2595
  # registry_id: "RegistryId", # required
2495
2596
  # },
2496
2597
  # ],
2598
+ # repository_filters: [
2599
+ # {
2600
+ # filter: "RepositoryFilterValue", # required
2601
+ # filter_type: "PREFIX_MATCH", # required, accepts PREFIX_MATCH
2602
+ # },
2603
+ # ],
2497
2604
  # },
2498
2605
  # ],
2499
2606
  # },
@@ -2563,15 +2670,19 @@ module Aws::ECR
2563
2670
  # registry_id: "RegistryId", # required
2564
2671
  # },
2565
2672
  # ],
2673
+ # repository_filters: [
2674
+ # {
2675
+ # filter: "RepositoryFilterValue", # required
2676
+ # filter_type: "PREFIX_MATCH", # required, accepts PREFIX_MATCH
2677
+ # },
2678
+ # ],
2566
2679
  # },
2567
2680
  # ],
2568
2681
  # }
2569
2682
  #
2570
2683
  # @!attribute [rw] rules
2571
- # An array of objects representing the replication rules for a
2572
- # replication configuration. A replication configuration may contain
2573
- # only one replication rule but the rule may contain one or more
2574
- # replication destinations.
2684
+ # An array of objects representing the replication destinations and
2685
+ # repository filters for a replication configuration.
2575
2686
  # @return [Array<Types::ReplicationRule>]
2576
2687
  #
2577
2688
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ReplicationConfiguration AWS API Documentation
@@ -2582,8 +2693,8 @@ module Aws::ECR
2582
2693
  include Aws::Structure
2583
2694
  end
2584
2695
 
2585
- # An array of objects representing the details of a replication
2586
- # destination.
2696
+ # An array of objects representing the destination for a replication
2697
+ # rule.
2587
2698
  #
2588
2699
  # @note When making an API call, you may pass ReplicationDestination
2589
2700
  # data as a hash:
@@ -2594,11 +2705,13 @@ module Aws::ECR
2594
2705
  # }
2595
2706
  #
2596
2707
  # @!attribute [rw] region
2597
- # A Region to replicate to.
2708
+ # The Region to replicate to.
2598
2709
  # @return [String]
2599
2710
  #
2600
2711
  # @!attribute [rw] registry_id
2601
- # The account ID of the destination registry to replicate to.
2712
+ # The Amazon Web Services account ID of the Amazon ECR private
2713
+ # registry to replicate to. When configuring cross-Region replication
2714
+ # within your own registry, specify your own account ID.
2602
2715
  # @return [String]
2603
2716
  #
2604
2717
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ReplicationDestination AWS API Documentation
@@ -2610,10 +2723,8 @@ module Aws::ECR
2610
2723
  include Aws::Structure
2611
2724
  end
2612
2725
 
2613
- # An array of objects representing the replication destinations for a
2614
- # replication configuration. A replication configuration may contain
2615
- # only one replication rule but the rule may contain one or more
2616
- # replication destinations.
2726
+ # An array of objects representing the replication destinations and
2727
+ # repository filters for a replication configuration.
2617
2728
  #
2618
2729
  # @note When making an API call, you may pass ReplicationRule
2619
2730
  # data as a hash:
@@ -2625,17 +2736,31 @@ module Aws::ECR
2625
2736
  # registry_id: "RegistryId", # required
2626
2737
  # },
2627
2738
  # ],
2739
+ # repository_filters: [
2740
+ # {
2741
+ # filter: "RepositoryFilterValue", # required
2742
+ # filter_type: "PREFIX_MATCH", # required, accepts PREFIX_MATCH
2743
+ # },
2744
+ # ],
2628
2745
  # }
2629
2746
  #
2630
2747
  # @!attribute [rw] destinations
2631
- # An array of objects representing the details of a replication
2632
- # destination.
2748
+ # An array of objects representing the destination for a replication
2749
+ # rule.
2633
2750
  # @return [Array<Types::ReplicationDestination>]
2634
2751
  #
2752
+ # @!attribute [rw] repository_filters
2753
+ # An array of objects representing the filters for a replication rule.
2754
+ # Specifying a repository filter for a replication rule provides a
2755
+ # method for controlling which repositories in a private registry are
2756
+ # replicated.
2757
+ # @return [Array<Types::RepositoryFilter>]
2758
+ #
2635
2759
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ReplicationRule AWS API Documentation
2636
2760
  #
2637
2761
  class ReplicationRule < Struct.new(
2638
- :destinations)
2762
+ :destinations,
2763
+ :repository_filters)
2639
2764
  SENSITIVE = []
2640
2765
  include Aws::Structure
2641
2766
  end
@@ -2711,6 +2836,41 @@ module Aws::ECR
2711
2836
  include Aws::Structure
2712
2837
  end
2713
2838
 
2839
+ # The filter settings used with image replication. Specifying a
2840
+ # repository filter to a replication rule provides a method for
2841
+ # controlling which repositories in a private registry are replicated.
2842
+ # If no repository filter is specified, all images in the repository are
2843
+ # replicated.
2844
+ #
2845
+ # @note When making an API call, you may pass RepositoryFilter
2846
+ # data as a hash:
2847
+ #
2848
+ # {
2849
+ # filter: "RepositoryFilterValue", # required
2850
+ # filter_type: "PREFIX_MATCH", # required, accepts PREFIX_MATCH
2851
+ # }
2852
+ #
2853
+ # @!attribute [rw] filter
2854
+ # The repository filter details. When the `PREFIX_MATCH` filter type
2855
+ # is specified, this value is required and should be the repository
2856
+ # name prefix to configure replication for.
2857
+ # @return [String]
2858
+ #
2859
+ # @!attribute [rw] filter_type
2860
+ # The repository filter type. The only supported value is
2861
+ # `PREFIX_MATCH`, which is a repository name prefix specified with the
2862
+ # `filter` parameter.
2863
+ # @return [String]
2864
+ #
2865
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/RepositoryFilter AWS API Documentation
2866
+ #
2867
+ class RepositoryFilter < Struct.new(
2868
+ :filter,
2869
+ :filter_type)
2870
+ SENSITIVE = []
2871
+ include Aws::Structure
2872
+ end
2873
+
2714
2874
  # The specified repository contains images. To delete a repository that
2715
2875
  # contains images, you must force the deletion with the `force`
2716
2876
  # parameter.
@@ -2879,7 +3039,8 @@ module Aws::ECR
2879
3039
  # @return [String]
2880
3040
  #
2881
3041
  # @!attribute [rw] image_id
2882
- # An object with identifying information for an Amazon ECR image.
3042
+ # An object with identifying information for an image in an Amazon ECR
3043
+ # repository.
2883
3044
  # @return [Types::ImageIdentifier]
2884
3045
  #
2885
3046
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/StartImageScanRequest AWS API Documentation
@@ -2901,7 +3062,8 @@ module Aws::ECR
2901
3062
  # @return [String]
2902
3063
  #
2903
3064
  # @!attribute [rw] image_id
2904
- # An object with identifying information for an Amazon ECR image.
3065
+ # An object with identifying information for an image in an Amazon ECR
3066
+ # repository.
2905
3067
  # @return [Types::ImageIdentifier]
2906
3068
  #
2907
3069
  # @!attribute [rw] image_scan_status
data/lib/aws-sdk-ecr.rb CHANGED
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-ecr/customizations'
49
49
  # @!group service
50
50
  module Aws::ECR
51
51
 
52
- GEM_VERSION = '1.46.0'
52
+ GEM_VERSION = '1.47.0'
53
53
 
54
54
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ecr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.46.0
4
+ version: 1.47.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-10 00:00:00.000000000 Z
11
+ date: 2021-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core