aws-sdk-ecr 1.29.0 → 1.34.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 260de6413c3aaf3742a94d7f4382438cdb0275cc633731e7494cae415e5704a9
4
- data.tar.gz: 2cc8fc9f1abf6a32f47dce51fd437079d1939b0e25f54fed1b8c50eaa100461f
3
+ metadata.gz: 2ebf6eeeb70393724c995aa5b88da4a3e6950b938890ee7928e8e247e627c0b8
4
+ data.tar.gz: f213e87634e76b01ac87bb243a724be04464fa5715dbf62eebb2d928ba1d824a
5
5
  SHA512:
6
- metadata.gz: d5a6fb49410356b8338cdcf60b1e486159fca68bc3f1309dfdbdd0f87590d6fad0cfc8480010b6cbc1627d462e2f6b374d52bd09949476d39452704e1e09dcde
7
- data.tar.gz: 888b07eb4120ded756727ff2ea5117207f14fd3f89c321bb8cba6ca7c999df97fa60c256138520bbf1b2663eef507b81c5343fe837fc4623a4c351f9145ee1ad
6
+ metadata.gz: 26d65172c84d58763389d803ceeeda47d8e504d945b7b35bb09b922b3910eab7d032fa7814dd64ce3ce8a0488af8406a6c046cbb3f1fc5f6d774bae47bc16186
7
+ data.tar.gz: 4c99f612f73033798996aa7194936751dc26dcce9ee5b1111424ee9fd44690f270a4db2516f01805a4ef0fa051412aa5db3c0342e898f3fecdbd37663be17a8a
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -46,6 +48,6 @@ require_relative 'aws-sdk-ecr/customizations'
46
48
  # @service
47
49
  module Aws::ECR
48
50
 
49
- GEM_VERSION = '1.29.0'
51
+ GEM_VERSION = '1.34.0'
50
52
 
51
53
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
29
32
 
@@ -69,6 +72,7 @@ module Aws::ECR
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
74
78
 
@@ -161,7 +165,7 @@ module Aws::ECR
161
165
  # @option options [String] :endpoint
162
166
  # The client endpoint is normally constructed from the `:region`
163
167
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be a valid HTTP(S) URI.
168
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
169
  #
166
170
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
171
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +180,7 @@ module Aws::ECR
176
180
  # requests fetching endpoints information. Defaults to 60 sec.
177
181
  #
178
182
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
183
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
184
  #
181
185
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
186
  # The log formatter.
@@ -1688,6 +1692,9 @@ module Aws::ECR
1688
1692
  # The tag to associate with the image. This parameter is required for
1689
1693
  # images that use the Docker Image Manifest V2 Schema 2 or OCI formats.
1690
1694
  #
1695
+ # @option params [String] :image_digest
1696
+ # The image digest of the image manifest corresponding to the image.
1697
+ #
1691
1698
  # @return [Types::PutImageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1692
1699
  #
1693
1700
  # * {Types::PutImageResponse#image #image} => Types::Image
@@ -1700,6 +1707,7 @@ module Aws::ECR
1700
1707
  # image_manifest: "ImageManifest", # required
1701
1708
  # image_manifest_media_type: "MediaType",
1702
1709
  # image_tag: "ImageTag",
1710
+ # image_digest: "ImageDigest",
1703
1711
  # })
1704
1712
  #
1705
1713
  # @example Response structure
@@ -2179,7 +2187,7 @@ module Aws::ECR
2179
2187
  params: params,
2180
2188
  config: config)
2181
2189
  context[:gem_name] = 'aws-sdk-ecr'
2182
- context[:gem_version] = '1.29.0'
2190
+ context[:gem_version] = '1.34.0'
2183
2191
  Seahorse::Client::Request.new(handlers, context)
2184
2192
  end
2185
2193
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -72,6 +74,7 @@ module Aws::ECR
72
74
  ImageDetail = Shapes::StructureShape.new(name: 'ImageDetail')
73
75
  ImageDetailList = Shapes::ListShape.new(name: 'ImageDetailList')
74
76
  ImageDigest = Shapes::StringShape.new(name: 'ImageDigest')
77
+ ImageDigestDoesNotMatchException = Shapes::StructureShape.new(name: 'ImageDigestDoesNotMatchException')
75
78
  ImageFailure = Shapes::StructureShape.new(name: 'ImageFailure')
76
79
  ImageFailureCode = Shapes::StringShape.new(name: 'ImageFailureCode')
77
80
  ImageFailureList = Shapes::ListShape.new(name: 'ImageFailureList')
@@ -401,6 +404,9 @@ module Aws::ECR
401
404
 
402
405
  ImageDetailList.member = Shapes::ShapeRef.new(shape: ImageDetail)
403
406
 
407
+ ImageDigestDoesNotMatchException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
408
+ ImageDigestDoesNotMatchException.struct_class = Types::ImageDigestDoesNotMatchException
409
+
404
410
  ImageFailure.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageIdentifier, location_name: "imageId"))
405
411
  ImageFailure.add_member(:failure_code, Shapes::ShapeRef.new(shape: ImageFailureCode, location_name: "failureCode"))
406
412
  ImageFailure.add_member(:failure_reason, Shapes::ShapeRef.new(shape: ImageFailureReason, location_name: "failureReason"))
@@ -561,6 +567,7 @@ module Aws::ECR
561
567
  PutImageRequest.add_member(:image_manifest, Shapes::ShapeRef.new(shape: ImageManifest, required: true, location_name: "imageManifest"))
562
568
  PutImageRequest.add_member(:image_manifest_media_type, Shapes::ShapeRef.new(shape: MediaType, location_name: "imageManifestMediaType"))
563
569
  PutImageRequest.add_member(:image_tag, Shapes::ShapeRef.new(shape: ImageTag, location_name: "imageTag"))
570
+ PutImageRequest.add_member(:image_digest, Shapes::ShapeRef.new(shape: ImageDigest, location_name: "imageDigest"))
564
571
  PutImageRequest.struct_class = Types::PutImageRequest
565
572
 
566
573
  PutImageResponse.add_member(:image, Shapes::ShapeRef.new(shape: Image, location_name: "image"))
@@ -997,6 +1004,7 @@ module Aws::ECR
997
1004
  o.errors << Shapes::ShapeRef.new(shape: ReferencedImagesNotFoundException)
998
1005
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
999
1006
  o.errors << Shapes::ShapeRef.new(shape: ImageTagAlreadyExistsException)
1007
+ o.errors << Shapes::ShapeRef.new(shape: ImageDigestDoesNotMatchException)
1000
1008
  end)
1001
1009
 
1002
1010
  api.add_operation(:put_image_scanning_configuration, Seahorse::Model::Operation.new.tap do |o|
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # WARNING ABOUT GENERATED CODE
2
3
  #
3
4
  # This file is generated. See the contributing for info on making contributions:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -27,6 +29,7 @@ module Aws::ECR
27
29
  # ## Error Classes
28
30
  # * {EmptyUploadException}
29
31
  # * {ImageAlreadyExistsException}
32
+ # * {ImageDigestDoesNotMatchException}
30
33
  # * {ImageNotFoundException}
31
34
  # * {ImageTagAlreadyExistsException}
32
35
  # * {InvalidLayerException}
@@ -88,6 +91,21 @@ module Aws::ECR
88
91
  end
89
92
  end
90
93
 
94
+ class ImageDigestDoesNotMatchException < ServiceError
95
+
96
+ # @param [Seahorse::Client::RequestContext] context
97
+ # @param [String] message
98
+ # @param [Aws::ECR::Types::ImageDigestDoesNotMatchException] data
99
+ def initialize(context, message, data = Aws::EmptyStructure.new)
100
+ super(context, message, data)
101
+ end
102
+
103
+ # @return [String]
104
+ def message
105
+ @message || @data[:message]
106
+ end
107
+ end
108
+
91
109
  class ImageNotFoundException < ServiceError
92
110
 
93
111
  # @param [Seahorse::Client::RequestContext] context
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -23,6 +25,7 @@ module Aws::ECR
23
25
  class Attribute < Struct.new(
24
26
  :key,
25
27
  :value)
28
+ SENSITIVE = []
26
29
  include Aws::Structure
27
30
  end
28
31
 
@@ -53,6 +56,7 @@ module Aws::ECR
53
56
  :authorization_token,
54
57
  :expires_at,
55
58
  :proxy_endpoint)
59
+ SENSITIVE = []
56
60
  include Aws::Structure
57
61
  end
58
62
 
@@ -86,6 +90,7 @@ module Aws::ECR
86
90
  :registry_id,
87
91
  :repository_name,
88
92
  :layer_digests)
93
+ SENSITIVE = []
89
94
  include Aws::Structure
90
95
  end
91
96
 
@@ -103,6 +108,7 @@ module Aws::ECR
103
108
  class BatchCheckLayerAvailabilityResponse < Struct.new(
104
109
  :layers,
105
110
  :failures)
111
+ SENSITIVE = []
106
112
  include Aws::Structure
107
113
  end
108
114
 
@@ -145,6 +151,7 @@ module Aws::ECR
145
151
  :registry_id,
146
152
  :repository_name,
147
153
  :image_ids)
154
+ SENSITIVE = []
148
155
  include Aws::Structure
149
156
  end
150
157
 
@@ -161,6 +168,7 @@ module Aws::ECR
161
168
  class BatchDeleteImageResponse < Struct.new(
162
169
  :image_ids,
163
170
  :failures)
171
+ SENSITIVE = []
164
172
  include Aws::Structure
165
173
  end
166
174
 
@@ -210,6 +218,7 @@ module Aws::ECR
210
218
  :repository_name,
211
219
  :image_ids,
212
220
  :accepted_media_types)
221
+ SENSITIVE = []
213
222
  include Aws::Structure
214
223
  end
215
224
 
@@ -227,6 +236,7 @@ module Aws::ECR
227
236
  class BatchGetImageResponse < Struct.new(
228
237
  :images,
229
238
  :failures)
239
+ SENSITIVE = []
230
240
  include Aws::Structure
231
241
  end
232
242
 
@@ -266,6 +276,7 @@ module Aws::ECR
266
276
  :repository_name,
267
277
  :upload_id,
268
278
  :layer_digests)
279
+ SENSITIVE = []
269
280
  include Aws::Structure
270
281
  end
271
282
 
@@ -292,6 +303,7 @@ module Aws::ECR
292
303
  :repository_name,
293
304
  :upload_id,
294
305
  :layer_digest)
306
+ SENSITIVE = []
295
307
  include Aws::Structure
296
308
  end
297
309
 
@@ -348,6 +360,7 @@ module Aws::ECR
348
360
  :tags,
349
361
  :image_tag_mutability,
350
362
  :image_scanning_configuration)
363
+ SENSITIVE = []
351
364
  include Aws::Structure
352
365
  end
353
366
 
@@ -359,6 +372,7 @@ module Aws::ECR
359
372
  #
360
373
  class CreateRepositoryResponse < Struct.new(
361
374
  :repository)
375
+ SENSITIVE = []
362
376
  include Aws::Structure
363
377
  end
364
378
 
@@ -385,6 +399,7 @@ module Aws::ECR
385
399
  class DeleteLifecyclePolicyRequest < Struct.new(
386
400
  :registry_id,
387
401
  :repository_name)
402
+ SENSITIVE = []
388
403
  include Aws::Structure
389
404
  end
390
405
 
@@ -411,6 +426,7 @@ module Aws::ECR
411
426
  :repository_name,
412
427
  :lifecycle_policy_text,
413
428
  :last_evaluated_at)
429
+ SENSITIVE = []
414
430
  include Aws::Structure
415
431
  end
416
432
 
@@ -438,6 +454,7 @@ module Aws::ECR
438
454
  class DeleteRepositoryPolicyRequest < Struct.new(
439
455
  :registry_id,
440
456
  :repository_name)
457
+ SENSITIVE = []
441
458
  include Aws::Structure
442
459
  end
443
460
 
@@ -459,6 +476,7 @@ module Aws::ECR
459
476
  :registry_id,
460
477
  :repository_name,
461
478
  :policy_text)
479
+ SENSITIVE = []
462
480
  include Aws::Structure
463
481
  end
464
482
 
@@ -491,6 +509,7 @@ module Aws::ECR
491
509
  :registry_id,
492
510
  :repository_name,
493
511
  :force)
512
+ SENSITIVE = []
494
513
  include Aws::Structure
495
514
  end
496
515
 
@@ -502,6 +521,7 @@ module Aws::ECR
502
521
  #
503
522
  class DeleteRepositoryResponse < Struct.new(
504
523
  :repository)
524
+ SENSITIVE = []
505
525
  include Aws::Structure
506
526
  end
507
527
 
@@ -563,6 +583,7 @@ module Aws::ECR
563
583
  :image_id,
564
584
  :next_token,
565
585
  :max_results)
586
+ SENSITIVE = []
566
587
  include Aws::Structure
567
588
  end
568
589
 
@@ -603,6 +624,7 @@ module Aws::ECR
603
624
  :image_scan_status,
604
625
  :image_scan_findings,
605
626
  :next_token)
627
+ SENSITIVE = []
606
628
  include Aws::Structure
607
629
  end
608
630
 
@@ -624,6 +646,7 @@ module Aws::ECR
624
646
  #
625
647
  class DescribeImagesFilter < Struct.new(
626
648
  :tag_status)
649
+ SENSITIVE = []
627
650
  include Aws::Structure
628
651
  end
629
652
 
@@ -696,6 +719,7 @@ module Aws::ECR
696
719
  :next_token,
697
720
  :max_results,
698
721
  :filter)
722
+ SENSITIVE = []
699
723
  include Aws::Structure
700
724
  end
701
725
 
@@ -716,6 +740,7 @@ module Aws::ECR
716
740
  class DescribeImagesResponse < Struct.new(
717
741
  :image_details,
718
742
  :next_token)
743
+ SENSITIVE = []
719
744
  include Aws::Structure
720
745
  end
721
746
 
@@ -776,6 +801,7 @@ module Aws::ECR
776
801
  :repository_names,
777
802
  :next_token,
778
803
  :max_results)
804
+ SENSITIVE = []
779
805
  include Aws::Structure
780
806
  end
781
807
 
@@ -796,6 +822,7 @@ module Aws::ECR
796
822
  class DescribeRepositoriesResponse < Struct.new(
797
823
  :repositories,
798
824
  :next_token)
825
+ SENSITIVE = []
799
826
  include Aws::Structure
800
827
  end
801
828
 
@@ -809,6 +836,7 @@ module Aws::ECR
809
836
  #
810
837
  class EmptyUploadException < Struct.new(
811
838
  :message)
839
+ SENSITIVE = []
812
840
  include Aws::Structure
813
841
  end
814
842
 
@@ -829,6 +857,7 @@ module Aws::ECR
829
857
  #
830
858
  class GetAuthorizationTokenRequest < Struct.new(
831
859
  :registry_ids)
860
+ SENSITIVE = []
832
861
  include Aws::Structure
833
862
  end
834
863
 
@@ -841,6 +870,7 @@ module Aws::ECR
841
870
  #
842
871
  class GetAuthorizationTokenResponse < Struct.new(
843
872
  :authorization_data)
873
+ SENSITIVE = []
844
874
  include Aws::Structure
845
875
  end
846
876
 
@@ -874,6 +904,7 @@ module Aws::ECR
874
904
  :registry_id,
875
905
  :repository_name,
876
906
  :layer_digest)
907
+ SENSITIVE = []
877
908
  include Aws::Structure
878
909
  end
879
910
 
@@ -890,6 +921,7 @@ module Aws::ECR
890
921
  class GetDownloadUrlForLayerResponse < Struct.new(
891
922
  :download_url,
892
923
  :layer_digest)
924
+ SENSITIVE = []
893
925
  include Aws::Structure
894
926
  end
895
927
 
@@ -964,6 +996,7 @@ module Aws::ECR
964
996
  :next_token,
965
997
  :max_results,
966
998
  :filter)
999
+ SENSITIVE = []
967
1000
  include Aws::Structure
968
1001
  end
969
1002
 
@@ -1009,6 +1042,7 @@ module Aws::ECR
1009
1042
  :next_token,
1010
1043
  :preview_results,
1011
1044
  :summary)
1045
+ SENSITIVE = []
1012
1046
  include Aws::Structure
1013
1047
  end
1014
1048
 
@@ -1035,6 +1069,7 @@ module Aws::ECR
1035
1069
  class GetLifecyclePolicyRequest < Struct.new(
1036
1070
  :registry_id,
1037
1071
  :repository_name)
1072
+ SENSITIVE = []
1038
1073
  include Aws::Structure
1039
1074
  end
1040
1075
 
@@ -1061,6 +1096,7 @@ module Aws::ECR
1061
1096
  :repository_name,
1062
1097
  :lifecycle_policy_text,
1063
1098
  :last_evaluated_at)
1099
+ SENSITIVE = []
1064
1100
  include Aws::Structure
1065
1101
  end
1066
1102
 
@@ -1087,6 +1123,7 @@ module Aws::ECR
1087
1123
  class GetRepositoryPolicyRequest < Struct.new(
1088
1124
  :registry_id,
1089
1125
  :repository_name)
1126
+ SENSITIVE = []
1090
1127
  include Aws::Structure
1091
1128
  end
1092
1129
 
@@ -1108,6 +1145,7 @@ module Aws::ECR
1108
1145
  :registry_id,
1109
1146
  :repository_name,
1110
1147
  :policy_text)
1148
+ SENSITIVE = []
1111
1149
  include Aws::Structure
1112
1150
  end
1113
1151
 
@@ -1143,6 +1181,7 @@ module Aws::ECR
1143
1181
  :image_id,
1144
1182
  :image_manifest,
1145
1183
  :image_manifest_media_type)
1184
+ SENSITIVE = []
1146
1185
  include Aws::Structure
1147
1186
  end
1148
1187
 
@@ -1157,6 +1196,7 @@ module Aws::ECR
1157
1196
  #
1158
1197
  class ImageAlreadyExistsException < Struct.new(
1159
1198
  :message)
1199
+ SENSITIVE = []
1160
1200
  include Aws::Structure
1161
1201
  end
1162
1202
 
@@ -1219,6 +1259,21 @@ module Aws::ECR
1219
1259
  :image_pushed_at,
1220
1260
  :image_scan_status,
1221
1261
  :image_scan_findings_summary)
1262
+ SENSITIVE = []
1263
+ include Aws::Structure
1264
+ end
1265
+
1266
+ # The specified image digest does not match the digest that Amazon ECR
1267
+ # calculated for the image.
1268
+ #
1269
+ # @!attribute [rw] message
1270
+ # @return [String]
1271
+ #
1272
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageDigestDoesNotMatchException AWS API Documentation
1273
+ #
1274
+ class ImageDigestDoesNotMatchException < Struct.new(
1275
+ :message)
1276
+ SENSITIVE = []
1222
1277
  include Aws::Structure
1223
1278
  end
1224
1279
 
@@ -1242,6 +1297,7 @@ module Aws::ECR
1242
1297
  :image_id,
1243
1298
  :failure_code,
1244
1299
  :failure_reason)
1300
+ SENSITIVE = []
1245
1301
  include Aws::Structure
1246
1302
  end
1247
1303
 
@@ -1268,6 +1324,7 @@ module Aws::ECR
1268
1324
  class ImageIdentifier < Struct.new(
1269
1325
  :image_digest,
1270
1326
  :image_tag)
1327
+ SENSITIVE = []
1271
1328
  include Aws::Structure
1272
1329
  end
1273
1330
 
@@ -1280,6 +1337,7 @@ module Aws::ECR
1280
1337
  #
1281
1338
  class ImageNotFoundException < Struct.new(
1282
1339
  :message)
1340
+ SENSITIVE = []
1283
1341
  include Aws::Structure
1284
1342
  end
1285
1343
 
@@ -1315,6 +1373,7 @@ module Aws::ECR
1315
1373
  :uri,
1316
1374
  :severity,
1317
1375
  :attributes)
1376
+ SENSITIVE = []
1318
1377
  include Aws::Structure
1319
1378
  end
1320
1379
 
@@ -1343,6 +1402,7 @@ module Aws::ECR
1343
1402
  :vulnerability_source_updated_at,
1344
1403
  :findings,
1345
1404
  :finding_severity_counts)
1405
+ SENSITIVE = []
1346
1406
  include Aws::Structure
1347
1407
  end
1348
1408
 
@@ -1366,6 +1426,7 @@ module Aws::ECR
1366
1426
  :image_scan_completed_at,
1367
1427
  :vulnerability_source_updated_at,
1368
1428
  :finding_severity_counts)
1429
+ SENSITIVE = []
1369
1430
  include Aws::Structure
1370
1431
  end
1371
1432
 
@@ -1384,6 +1445,7 @@ module Aws::ECR
1384
1445
  class ImageScanStatus < Struct.new(
1385
1446
  :status,
1386
1447
  :description)
1448
+ SENSITIVE = []
1387
1449
  include Aws::Structure
1388
1450
  end
1389
1451
 
@@ -1408,6 +1470,7 @@ module Aws::ECR
1408
1470
  #
1409
1471
  class ImageScanningConfiguration < Struct.new(
1410
1472
  :scan_on_push)
1473
+ SENSITIVE = []
1411
1474
  include Aws::Structure
1412
1475
  end
1413
1476
 
@@ -1421,6 +1484,7 @@ module Aws::ECR
1421
1484
  #
1422
1485
  class ImageTagAlreadyExistsException < Struct.new(
1423
1486
  :message)
1487
+ SENSITIVE = []
1424
1488
  include Aws::Structure
1425
1489
  end
1426
1490
 
@@ -1447,6 +1511,7 @@ module Aws::ECR
1447
1511
  class InitiateLayerUploadRequest < Struct.new(
1448
1512
  :registry_id,
1449
1513
  :repository_name)
1514
+ SENSITIVE = []
1450
1515
  include Aws::Structure
1451
1516
  end
1452
1517
 
@@ -1465,6 +1530,7 @@ module Aws::ECR
1465
1530
  class InitiateLayerUploadResponse < Struct.new(
1466
1531
  :upload_id,
1467
1532
  :part_size)
1533
+ SENSITIVE = []
1468
1534
  include Aws::Structure
1469
1535
  end
1470
1536
 
@@ -1479,6 +1545,7 @@ module Aws::ECR
1479
1545
  #
1480
1546
  class InvalidLayerException < Struct.new(
1481
1547
  :message)
1548
+ SENSITIVE = []
1482
1549
  include Aws::Structure
1483
1550
  end
1484
1551
 
@@ -1514,6 +1581,7 @@ module Aws::ECR
1514
1581
  :upload_id,
1515
1582
  :last_valid_byte_received,
1516
1583
  :message)
1584
+ SENSITIVE = []
1517
1585
  include Aws::Structure
1518
1586
  end
1519
1587
 
@@ -1528,6 +1596,7 @@ module Aws::ECR
1528
1596
  #
1529
1597
  class InvalidParameterException < Struct.new(
1530
1598
  :message)
1599
+ SENSITIVE = []
1531
1600
  include Aws::Structure
1532
1601
  end
1533
1602
 
@@ -1542,6 +1611,7 @@ module Aws::ECR
1542
1611
  #
1543
1612
  class InvalidTagParameterException < Struct.new(
1544
1613
  :message)
1614
+ SENSITIVE = []
1545
1615
  include Aws::Structure
1546
1616
  end
1547
1617
 
@@ -1572,6 +1642,7 @@ module Aws::ECR
1572
1642
  :layer_availability,
1573
1643
  :layer_size,
1574
1644
  :media_type)
1645
+ SENSITIVE = []
1575
1646
  include Aws::Structure
1576
1647
  end
1577
1648
 
@@ -1585,6 +1656,7 @@ module Aws::ECR
1585
1656
  #
1586
1657
  class LayerAlreadyExistsException < Struct.new(
1587
1658
  :message)
1659
+ SENSITIVE = []
1588
1660
  include Aws::Structure
1589
1661
  end
1590
1662
 
@@ -1608,6 +1680,7 @@ module Aws::ECR
1608
1680
  :layer_digest,
1609
1681
  :failure_code,
1610
1682
  :failure_reason)
1683
+ SENSITIVE = []
1611
1684
  include Aws::Structure
1612
1685
  end
1613
1686
 
@@ -1622,6 +1695,7 @@ module Aws::ECR
1622
1695
  #
1623
1696
  class LayerInaccessibleException < Struct.new(
1624
1697
  :message)
1698
+ SENSITIVE = []
1625
1699
  include Aws::Structure
1626
1700
  end
1627
1701
 
@@ -1635,6 +1709,7 @@ module Aws::ECR
1635
1709
  #
1636
1710
  class LayerPartTooSmallException < Struct.new(
1637
1711
  :message)
1712
+ SENSITIVE = []
1638
1713
  include Aws::Structure
1639
1714
  end
1640
1715
 
@@ -1649,6 +1724,7 @@ module Aws::ECR
1649
1724
  #
1650
1725
  class LayersNotFoundException < Struct.new(
1651
1726
  :message)
1727
+ SENSITIVE = []
1652
1728
  include Aws::Structure
1653
1729
  end
1654
1730
 
@@ -1662,6 +1738,7 @@ module Aws::ECR
1662
1738
  #
1663
1739
  class LifecyclePolicyNotFoundException < Struct.new(
1664
1740
  :message)
1741
+ SENSITIVE = []
1665
1742
  include Aws::Structure
1666
1743
  end
1667
1744
 
@@ -1682,6 +1759,7 @@ module Aws::ECR
1682
1759
  #
1683
1760
  class LifecyclePolicyPreviewFilter < Struct.new(
1684
1761
  :tag_status)
1762
+ SENSITIVE = []
1685
1763
  include Aws::Structure
1686
1764
  end
1687
1765
 
@@ -1695,6 +1773,7 @@ module Aws::ECR
1695
1773
  #
1696
1774
  class LifecyclePolicyPreviewInProgressException < Struct.new(
1697
1775
  :message)
1776
+ SENSITIVE = []
1698
1777
  include Aws::Structure
1699
1778
  end
1700
1779
 
@@ -1707,6 +1786,7 @@ module Aws::ECR
1707
1786
  #
1708
1787
  class LifecyclePolicyPreviewNotFoundException < Struct.new(
1709
1788
  :message)
1789
+ SENSITIVE = []
1710
1790
  include Aws::Structure
1711
1791
  end
1712
1792
 
@@ -1741,6 +1821,7 @@ module Aws::ECR
1741
1821
  :image_pushed_at,
1742
1822
  :action,
1743
1823
  :applied_rule_priority)
1824
+ SENSITIVE = []
1744
1825
  include Aws::Structure
1745
1826
  end
1746
1827
 
@@ -1754,6 +1835,7 @@ module Aws::ECR
1754
1835
  #
1755
1836
  class LifecyclePolicyPreviewSummary < Struct.new(
1756
1837
  :expiring_image_total_count)
1838
+ SENSITIVE = []
1757
1839
  include Aws::Structure
1758
1840
  end
1759
1841
 
@@ -1767,6 +1849,7 @@ module Aws::ECR
1767
1849
  #
1768
1850
  class LifecyclePolicyRuleAction < Struct.new(
1769
1851
  :type)
1852
+ SENSITIVE = []
1770
1853
  include Aws::Structure
1771
1854
  end
1772
1855
 
@@ -1786,6 +1869,7 @@ module Aws::ECR
1786
1869
  #
1787
1870
  class LimitExceededException < Struct.new(
1788
1871
  :message)
1872
+ SENSITIVE = []
1789
1873
  include Aws::Structure
1790
1874
  end
1791
1875
 
@@ -1807,6 +1891,7 @@ module Aws::ECR
1807
1891
  #
1808
1892
  class ListImagesFilter < Struct.new(
1809
1893
  :tag_status)
1894
+ SENSITIVE = []
1810
1895
  include Aws::Structure
1811
1896
  end
1812
1897
 
@@ -1871,6 +1956,7 @@ module Aws::ECR
1871
1956
  :next_token,
1872
1957
  :max_results,
1873
1958
  :filter)
1959
+ SENSITIVE = []
1874
1960
  include Aws::Structure
1875
1961
  end
1876
1962
 
@@ -1890,6 +1976,7 @@ module Aws::ECR
1890
1976
  class ListImagesResponse < Struct.new(
1891
1977
  :image_ids,
1892
1978
  :next_token)
1979
+ SENSITIVE = []
1893
1980
  include Aws::Structure
1894
1981
  end
1895
1982
 
@@ -1910,6 +1997,7 @@ module Aws::ECR
1910
1997
  #
1911
1998
  class ListTagsForResourceRequest < Struct.new(
1912
1999
  :resource_arn)
2000
+ SENSITIVE = []
1913
2001
  include Aws::Structure
1914
2002
  end
1915
2003
 
@@ -1921,6 +2009,7 @@ module Aws::ECR
1921
2009
  #
1922
2010
  class ListTagsForResourceResponse < Struct.new(
1923
2011
  :tags)
2012
+ SENSITIVE = []
1924
2013
  include Aws::Structure
1925
2014
  end
1926
2015
 
@@ -1933,6 +2022,7 @@ module Aws::ECR
1933
2022
  # image_manifest: "ImageManifest", # required
1934
2023
  # image_manifest_media_type: "MediaType",
1935
2024
  # image_tag: "ImageTag",
2025
+ # image_digest: "ImageDigest",
1936
2026
  # }
1937
2027
  #
1938
2028
  # @!attribute [rw] registry_id
@@ -1961,6 +2051,10 @@ module Aws::ECR
1961
2051
  # formats.
1962
2052
  # @return [String]
1963
2053
  #
2054
+ # @!attribute [rw] image_digest
2055
+ # The image digest of the image manifest corresponding to the image.
2056
+ # @return [String]
2057
+ #
1964
2058
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageRequest AWS API Documentation
1965
2059
  #
1966
2060
  class PutImageRequest < Struct.new(
@@ -1968,7 +2062,9 @@ module Aws::ECR
1968
2062
  :repository_name,
1969
2063
  :image_manifest,
1970
2064
  :image_manifest_media_type,
1971
- :image_tag)
2065
+ :image_tag,
2066
+ :image_digest)
2067
+ SENSITIVE = []
1972
2068
  include Aws::Structure
1973
2069
  end
1974
2070
 
@@ -1980,6 +2076,7 @@ module Aws::ECR
1980
2076
  #
1981
2077
  class PutImageResponse < Struct.new(
1982
2078
  :image)
2079
+ SENSITIVE = []
1983
2080
  include Aws::Structure
1984
2081
  end
1985
2082
 
@@ -2018,6 +2115,7 @@ module Aws::ECR
2018
2115
  :registry_id,
2019
2116
  :repository_name,
2020
2117
  :image_scanning_configuration)
2118
+ SENSITIVE = []
2021
2119
  include Aws::Structure
2022
2120
  end
2023
2121
 
@@ -2039,6 +2137,7 @@ module Aws::ECR
2039
2137
  :registry_id,
2040
2138
  :repository_name,
2041
2139
  :image_scanning_configuration)
2140
+ SENSITIVE = []
2042
2141
  include Aws::Structure
2043
2142
  end
2044
2143
 
@@ -2075,6 +2174,7 @@ module Aws::ECR
2075
2174
  :registry_id,
2076
2175
  :repository_name,
2077
2176
  :image_tag_mutability)
2177
+ SENSITIVE = []
2078
2178
  include Aws::Structure
2079
2179
  end
2080
2180
 
@@ -2096,6 +2196,7 @@ module Aws::ECR
2096
2196
  :registry_id,
2097
2197
  :repository_name,
2098
2198
  :image_tag_mutability)
2199
+ SENSITIVE = []
2099
2200
  include Aws::Structure
2100
2201
  end
2101
2202
 
@@ -2128,6 +2229,7 @@ module Aws::ECR
2128
2229
  :registry_id,
2129
2230
  :repository_name,
2130
2231
  :lifecycle_policy_text)
2232
+ SENSITIVE = []
2131
2233
  include Aws::Structure
2132
2234
  end
2133
2235
 
@@ -2149,6 +2251,7 @@ module Aws::ECR
2149
2251
  :registry_id,
2150
2252
  :repository_name,
2151
2253
  :lifecycle_policy_text)
2254
+ SENSITIVE = []
2152
2255
  include Aws::Structure
2153
2256
  end
2154
2257
 
@@ -2161,6 +2264,7 @@ module Aws::ECR
2161
2264
  #
2162
2265
  class ReferencedImagesNotFoundException < Struct.new(
2163
2266
  :message)
2267
+ SENSITIVE = []
2164
2268
  include Aws::Structure
2165
2269
  end
2166
2270
 
@@ -2211,6 +2315,7 @@ module Aws::ECR
2211
2315
  :created_at,
2212
2316
  :image_tag_mutability,
2213
2317
  :image_scanning_configuration)
2318
+ SENSITIVE = []
2214
2319
  include Aws::Structure
2215
2320
  end
2216
2321
 
@@ -2224,6 +2329,7 @@ module Aws::ECR
2224
2329
  #
2225
2330
  class RepositoryAlreadyExistsException < Struct.new(
2226
2331
  :message)
2332
+ SENSITIVE = []
2227
2333
  include Aws::Structure
2228
2334
  end
2229
2335
 
@@ -2239,6 +2345,7 @@ module Aws::ECR
2239
2345
  #
2240
2346
  class RepositoryNotEmptyException < Struct.new(
2241
2347
  :message)
2348
+ SENSITIVE = []
2242
2349
  include Aws::Structure
2243
2350
  end
2244
2351
 
@@ -2254,6 +2361,7 @@ module Aws::ECR
2254
2361
  #
2255
2362
  class RepositoryNotFoundException < Struct.new(
2256
2363
  :message)
2364
+ SENSITIVE = []
2257
2365
  include Aws::Structure
2258
2366
  end
2259
2367
 
@@ -2268,6 +2376,7 @@ module Aws::ECR
2268
2376
  #
2269
2377
  class RepositoryPolicyNotFoundException < Struct.new(
2270
2378
  :message)
2379
+ SENSITIVE = []
2271
2380
  include Aws::Structure
2272
2381
  end
2273
2382
 
@@ -2281,6 +2390,7 @@ module Aws::ECR
2281
2390
  #
2282
2391
  class ScanNotFoundException < Struct.new(
2283
2392
  :message)
2393
+ SENSITIVE = []
2284
2394
  include Aws::Structure
2285
2395
  end
2286
2396
 
@@ -2294,6 +2404,7 @@ module Aws::ECR
2294
2404
  #
2295
2405
  class ServerException < Struct.new(
2296
2406
  :message)
2407
+ SENSITIVE = []
2297
2408
  include Aws::Structure
2298
2409
  end
2299
2410
 
@@ -2341,6 +2452,7 @@ module Aws::ECR
2341
2452
  :repository_name,
2342
2453
  :policy_text,
2343
2454
  :force)
2455
+ SENSITIVE = []
2344
2456
  include Aws::Structure
2345
2457
  end
2346
2458
 
@@ -2362,6 +2474,7 @@ module Aws::ECR
2362
2474
  :registry_id,
2363
2475
  :repository_name,
2364
2476
  :policy_text)
2477
+ SENSITIVE = []
2365
2478
  include Aws::Structure
2366
2479
  end
2367
2480
 
@@ -2397,6 +2510,7 @@ module Aws::ECR
2397
2510
  :registry_id,
2398
2511
  :repository_name,
2399
2512
  :image_id)
2513
+ SENSITIVE = []
2400
2514
  include Aws::Structure
2401
2515
  end
2402
2516
 
@@ -2423,6 +2537,7 @@ module Aws::ECR
2423
2537
  :repository_name,
2424
2538
  :image_id,
2425
2539
  :image_scan_status)
2540
+ SENSITIVE = []
2426
2541
  include Aws::Structure
2427
2542
  end
2428
2543
 
@@ -2456,6 +2571,7 @@ module Aws::ECR
2456
2571
  :registry_id,
2457
2572
  :repository_name,
2458
2573
  :lifecycle_policy_text)
2574
+ SENSITIVE = []
2459
2575
  include Aws::Structure
2460
2576
  end
2461
2577
 
@@ -2482,6 +2598,7 @@ module Aws::ECR
2482
2598
  :repository_name,
2483
2599
  :lifecycle_policy_text,
2484
2600
  :status)
2601
+ SENSITIVE = []
2485
2602
  include Aws::Structure
2486
2603
  end
2487
2604
 
@@ -2515,6 +2632,7 @@ module Aws::ECR
2515
2632
  class Tag < Struct.new(
2516
2633
  :key,
2517
2634
  :value)
2635
+ SENSITIVE = []
2518
2636
  include Aws::Structure
2519
2637
  end
2520
2638
 
@@ -2549,6 +2667,7 @@ module Aws::ECR
2549
2667
  class TagResourceRequest < Struct.new(
2550
2668
  :resource_arn,
2551
2669
  :tags)
2670
+ SENSITIVE = []
2552
2671
  include Aws::Structure
2553
2672
  end
2554
2673
 
@@ -2566,6 +2685,7 @@ module Aws::ECR
2566
2685
  #
2567
2686
  class TooManyTagsException < Struct.new(
2568
2687
  :message)
2688
+ SENSITIVE = []
2569
2689
  include Aws::Structure
2570
2690
  end
2571
2691
 
@@ -2578,6 +2698,7 @@ module Aws::ECR
2578
2698
  #
2579
2699
  class UnsupportedImageTypeException < Struct.new(
2580
2700
  :message)
2701
+ SENSITIVE = []
2581
2702
  include Aws::Structure
2582
2703
  end
2583
2704
 
@@ -2604,6 +2725,7 @@ module Aws::ECR
2604
2725
  class UntagResourceRequest < Struct.new(
2605
2726
  :resource_arn,
2606
2727
  :tag_keys)
2728
+ SENSITIVE = []
2607
2729
  include Aws::Structure
2608
2730
  end
2609
2731
 
@@ -2661,6 +2783,7 @@ module Aws::ECR
2661
2783
  :part_first_byte,
2662
2784
  :part_last_byte,
2663
2785
  :layer_part_blob)
2786
+ SENSITIVE = []
2664
2787
  include Aws::Structure
2665
2788
  end
2666
2789
 
@@ -2687,6 +2810,7 @@ module Aws::ECR
2687
2810
  :repository_name,
2688
2811
  :upload_id,
2689
2812
  :last_byte_received)
2813
+ SENSITIVE = []
2690
2814
  include Aws::Structure
2691
2815
  end
2692
2816
 
@@ -2701,6 +2825,7 @@ module Aws::ECR
2701
2825
  #
2702
2826
  class UploadNotFoundException < Struct.new(
2703
2827
  :message)
2828
+ SENSITIVE = []
2704
2829
  include Aws::Structure
2705
2830
  end
2706
2831
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
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.29.0
4
+ version: 1.34.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: 2020-05-15 00:00:00.000000000 Z
11
+ date: 2020-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.71.0
22
+ version: 3.99.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement