aws-sdk-ecr 1.44.0 → 1.48.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecr/client.rb +166 -94
- data/lib/aws-sdk-ecr/client_api.rb +52 -0
- data/lib/aws-sdk-ecr/types.rb +295 -126
- data/lib/aws-sdk-ecr.rb +1 -1
- metadata +5 -5
@@ -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|
|