aws-sdk-ecr 1.16.0 → 1.17.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
  SHA1:
3
- metadata.gz: b3919d9c0412aa5d69dd73107644c337851829b2
4
- data.tar.gz: 9366c8dd1f768e8ec906c8bfab4c20ad00586123
3
+ metadata.gz: '087e69384e93b99eb39b9d661d1e129b6e4792f5'
4
+ data.tar.gz: c3bc2f97fae9bfe9e2c2a8fadaa7bcd6990ca876
5
5
  SHA512:
6
- metadata.gz: 47e6e3394bfc5e5998e61c7c4b25ea9a1aa91be3a09a558cbcd8eb2f8ab6d549855f991fd98e0f34ce6b0b4c1b3022db1a63bd74032de5d5180faf450cb62ffe
7
- data.tar.gz: 148fd0242b7deec0514b5efeb27ef7e49152b1b8b796345ee76fa2b7ce62f8923fe0776af7c83ee2c99ac04affbed60b0d166acf373fc6a7035229bdba317fef
6
+ metadata.gz: 8584dacdd9ede75fe4d05c3bf87cbac0974411b125e980f9eef5dd582518c5529e7c74ba8a56617bf0a00d4a855c3c597c00bad18339fa3f32b5d1c13d99978d
7
+ data.tar.gz: b779baa9638ba44578a33e5581a8caf17ba170d177d1ce8310df37fbeee0266f137d9ced1a5933cbcea2e1e01c343013368403d2ea217581eaaef62b88253333
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-ecr/customizations'
42
42
  # @service
43
43
  module Aws::ECR
44
44
 
45
- GEM_VERSION = '1.16.0'
45
+ GEM_VERSION = '1.17.0'
46
46
 
47
47
  end
@@ -1768,7 +1768,7 @@ module Aws::ECR
1768
1768
  params: params,
1769
1769
  config: config)
1770
1770
  context[:gem_name] = 'aws-sdk-ecr'
1771
- context[:gem_version] = '1.16.0'
1771
+ context[:gem_version] = '1.17.0'
1772
1772
  Seahorse::Client::Request.new(handlers, context)
1773
1773
  end
1774
1774
 
@@ -264,6 +264,9 @@ module Aws::ECR
264
264
  DescribeRepositoriesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
265
265
  DescribeRepositoriesResponse.struct_class = Types::DescribeRepositoriesResponse
266
266
 
267
+ EmptyUploadException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
268
+ EmptyUploadException.struct_class = Types::EmptyUploadException
269
+
267
270
  GetAuthorizationTokenRegistryIdList.member = Shapes::ShapeRef.new(shape: RegistryId)
268
271
 
269
272
  GetAuthorizationTokenRequest.add_member(:registry_ids, Shapes::ShapeRef.new(shape: GetAuthorizationTokenRegistryIdList, location_name: "registryIds"))
@@ -323,6 +326,9 @@ module Aws::ECR
323
326
  Image.add_member(:image_manifest, Shapes::ShapeRef.new(shape: ImageManifest, location_name: "imageManifest"))
324
327
  Image.struct_class = Types::Image
325
328
 
329
+ ImageAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
330
+ ImageAlreadyExistsException.struct_class = Types::ImageAlreadyExistsException
331
+
326
332
  ImageDetail.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
327
333
  ImageDetail.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
328
334
  ImageDetail.add_member(:image_digest, Shapes::ShapeRef.new(shape: ImageDigest, location_name: "imageDigest"))
@@ -348,6 +354,9 @@ module Aws::ECR
348
354
 
349
355
  ImageList.member = Shapes::ShapeRef.new(shape: Image)
350
356
 
357
+ ImageNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
358
+ ImageNotFoundException.struct_class = Types::ImageNotFoundException
359
+
351
360
  ImageTagList.member = Shapes::ShapeRef.new(shape: ImageTag)
352
361
 
353
362
  InitiateLayerUploadRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
@@ -358,12 +367,31 @@ module Aws::ECR
358
367
  InitiateLayerUploadResponse.add_member(:part_size, Shapes::ShapeRef.new(shape: PartSize, location_name: "partSize"))
359
368
  InitiateLayerUploadResponse.struct_class = Types::InitiateLayerUploadResponse
360
369
 
370
+ InvalidLayerException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
371
+ InvalidLayerException.struct_class = Types::InvalidLayerException
372
+
373
+ InvalidLayerPartException.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
374
+ InvalidLayerPartException.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
375
+ InvalidLayerPartException.add_member(:upload_id, Shapes::ShapeRef.new(shape: UploadId, location_name: "uploadId"))
376
+ InvalidLayerPartException.add_member(:last_valid_byte_received, Shapes::ShapeRef.new(shape: PartSize, location_name: "lastValidByteReceived"))
377
+ InvalidLayerPartException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
378
+ InvalidLayerPartException.struct_class = Types::InvalidLayerPartException
379
+
380
+ InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
381
+ InvalidParameterException.struct_class = Types::InvalidParameterException
382
+
383
+ InvalidTagParameterException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
384
+ InvalidTagParameterException.struct_class = Types::InvalidTagParameterException
385
+
361
386
  Layer.add_member(:layer_digest, Shapes::ShapeRef.new(shape: LayerDigest, location_name: "layerDigest"))
362
387
  Layer.add_member(:layer_availability, Shapes::ShapeRef.new(shape: LayerAvailability, location_name: "layerAvailability"))
363
388
  Layer.add_member(:layer_size, Shapes::ShapeRef.new(shape: LayerSizeInBytes, location_name: "layerSize"))
364
389
  Layer.add_member(:media_type, Shapes::ShapeRef.new(shape: MediaType, location_name: "mediaType"))
365
390
  Layer.struct_class = Types::Layer
366
391
 
392
+ LayerAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
393
+ LayerAlreadyExistsException.struct_class = Types::LayerAlreadyExistsException
394
+
367
395
  LayerDigestList.member = Shapes::ShapeRef.new(shape: LayerDigest)
368
396
 
369
397
  LayerFailure.add_member(:layer_digest, Shapes::ShapeRef.new(shape: BatchedOperationLayerDigest, location_name: "layerDigest"))
@@ -373,11 +401,29 @@ module Aws::ECR
373
401
 
374
402
  LayerFailureList.member = Shapes::ShapeRef.new(shape: LayerFailure)
375
403
 
404
+ LayerInaccessibleException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
405
+ LayerInaccessibleException.struct_class = Types::LayerInaccessibleException
406
+
376
407
  LayerList.member = Shapes::ShapeRef.new(shape: Layer)
377
408
 
409
+ LayerPartTooSmallException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
410
+ LayerPartTooSmallException.struct_class = Types::LayerPartTooSmallException
411
+
412
+ LayersNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
413
+ LayersNotFoundException.struct_class = Types::LayersNotFoundException
414
+
415
+ LifecyclePolicyNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
416
+ LifecyclePolicyNotFoundException.struct_class = Types::LifecyclePolicyNotFoundException
417
+
378
418
  LifecyclePolicyPreviewFilter.add_member(:tag_status, Shapes::ShapeRef.new(shape: TagStatus, location_name: "tagStatus"))
379
419
  LifecyclePolicyPreviewFilter.struct_class = Types::LifecyclePolicyPreviewFilter
380
420
 
421
+ LifecyclePolicyPreviewInProgressException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
422
+ LifecyclePolicyPreviewInProgressException.struct_class = Types::LifecyclePolicyPreviewInProgressException
423
+
424
+ LifecyclePolicyPreviewNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
425
+ LifecyclePolicyPreviewNotFoundException.struct_class = Types::LifecyclePolicyPreviewNotFoundException
426
+
381
427
  LifecyclePolicyPreviewResult.add_member(:image_tags, Shapes::ShapeRef.new(shape: ImageTagList, location_name: "imageTags"))
382
428
  LifecyclePolicyPreviewResult.add_member(:image_digest, Shapes::ShapeRef.new(shape: ImageDigest, location_name: "imageDigest"))
383
429
  LifecyclePolicyPreviewResult.add_member(:image_pushed_at, Shapes::ShapeRef.new(shape: PushTimestamp, location_name: "imagePushedAt"))
@@ -393,6 +439,9 @@ module Aws::ECR
393
439
  LifecyclePolicyRuleAction.add_member(:type, Shapes::ShapeRef.new(shape: ImageActionType, location_name: "type"))
394
440
  LifecyclePolicyRuleAction.struct_class = Types::LifecyclePolicyRuleAction
395
441
 
442
+ LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
443
+ LimitExceededException.struct_class = Types::LimitExceededException
444
+
396
445
  ListImagesFilter.add_member(:tag_status, Shapes::ShapeRef.new(shape: TagStatus, location_name: "tagStatus"))
397
446
  ListImagesFilter.struct_class = Types::ListImagesFilter
398
447
 
@@ -441,10 +490,25 @@ module Aws::ECR
441
490
  Repository.add_member(:created_at, Shapes::ShapeRef.new(shape: CreationTimestamp, location_name: "createdAt"))
442
491
  Repository.struct_class = Types::Repository
443
492
 
493
+ RepositoryAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
494
+ RepositoryAlreadyExistsException.struct_class = Types::RepositoryAlreadyExistsException
495
+
444
496
  RepositoryList.member = Shapes::ShapeRef.new(shape: Repository)
445
497
 
446
498
  RepositoryNameList.member = Shapes::ShapeRef.new(shape: RepositoryName)
447
499
 
500
+ RepositoryNotEmptyException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
501
+ RepositoryNotEmptyException.struct_class = Types::RepositoryNotEmptyException
502
+
503
+ RepositoryNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
504
+ RepositoryNotFoundException.struct_class = Types::RepositoryNotFoundException
505
+
506
+ RepositoryPolicyNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
507
+ RepositoryPolicyNotFoundException.struct_class = Types::RepositoryPolicyNotFoundException
508
+
509
+ ServerException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
510
+ ServerException.struct_class = Types::ServerException
511
+
448
512
  SetRepositoryPolicyRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
449
513
  SetRepositoryPolicyRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
450
514
  SetRepositoryPolicyRequest.add_member(:policy_text, Shapes::ShapeRef.new(shape: RepositoryPolicyText, required: true, location_name: "policyText"))
@@ -481,6 +545,9 @@ module Aws::ECR
481
545
 
482
546
  TagResourceResponse.struct_class = Types::TagResourceResponse
483
547
 
548
+ TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
549
+ TooManyTagsException.struct_class = Types::TooManyTagsException
550
+
484
551
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
485
552
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "tagKeys"))
486
553
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -501,6 +568,9 @@ module Aws::ECR
501
568
  UploadLayerPartResponse.add_member(:last_byte_received, Shapes::ShapeRef.new(shape: PartSize, location_name: "lastByteReceived"))
502
569
  UploadLayerPartResponse.struct_class = Types::UploadLayerPartResponse
503
570
 
571
+ UploadNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
572
+ UploadNotFoundException.struct_class = Types::UploadNotFoundException
573
+
504
574
 
505
575
  # @api private
506
576
  API = Seahorse::Model::Api.new.tap do |api|
@@ -10,5 +10,377 @@ module Aws::ECR
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class EmptyUploadException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::ECR::Types::EmptyUploadException] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def message
24
+ @message || @data[:message]
25
+ end
26
+
27
+ end
28
+
29
+ class ImageAlreadyExistsException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::ECR::Types::ImageAlreadyExistsException] data
34
+ def initialize(context, message, data = Aws::EmptyStructure.new)
35
+ super(context, message, data)
36
+ end
37
+
38
+ # @return [String]
39
+ def message
40
+ @message || @data[:message]
41
+ end
42
+
43
+ end
44
+
45
+ class ImageNotFoundException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::ECR::Types::ImageNotFoundException] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def message
56
+ @message || @data[:message]
57
+ end
58
+
59
+ end
60
+
61
+ class InvalidLayerException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::ECR::Types::InvalidLayerException] data
66
+ def initialize(context, message, data = Aws::EmptyStructure.new)
67
+ super(context, message, data)
68
+ end
69
+
70
+ # @return [String]
71
+ def message
72
+ @message || @data[:message]
73
+ end
74
+
75
+ end
76
+
77
+ class InvalidLayerPartException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::ECR::Types::InvalidLayerPartException] data
82
+ def initialize(context, message, data = Aws::EmptyStructure.new)
83
+ super(context, message, data)
84
+ end
85
+
86
+ # @return [String]
87
+ def registry_id
88
+ @data[:registry_id]
89
+ end
90
+
91
+ # @return [String]
92
+ def repository_name
93
+ @data[:repository_name]
94
+ end
95
+
96
+ # @return [String]
97
+ def upload_id
98
+ @data[:upload_id]
99
+ end
100
+
101
+ # @return [String]
102
+ def last_valid_byte_received
103
+ @data[:last_valid_byte_received]
104
+ end
105
+
106
+ # @return [String]
107
+ def message
108
+ @message || @data[:message]
109
+ end
110
+
111
+ end
112
+
113
+ class InvalidParameterException < ServiceError
114
+
115
+ # @param [Seahorse::Client::RequestContext] context
116
+ # @param [String] message
117
+ # @param [Aws::ECR::Types::InvalidParameterException] data
118
+ def initialize(context, message, data = Aws::EmptyStructure.new)
119
+ super(context, message, data)
120
+ end
121
+
122
+ # @return [String]
123
+ def message
124
+ @message || @data[:message]
125
+ end
126
+
127
+ end
128
+
129
+ class InvalidTagParameterException < ServiceError
130
+
131
+ # @param [Seahorse::Client::RequestContext] context
132
+ # @param [String] message
133
+ # @param [Aws::ECR::Types::InvalidTagParameterException] data
134
+ def initialize(context, message, data = Aws::EmptyStructure.new)
135
+ super(context, message, data)
136
+ end
137
+
138
+ # @return [String]
139
+ def message
140
+ @message || @data[:message]
141
+ end
142
+
143
+ end
144
+
145
+ class LayerAlreadyExistsException < ServiceError
146
+
147
+ # @param [Seahorse::Client::RequestContext] context
148
+ # @param [String] message
149
+ # @param [Aws::ECR::Types::LayerAlreadyExistsException] data
150
+ def initialize(context, message, data = Aws::EmptyStructure.new)
151
+ super(context, message, data)
152
+ end
153
+
154
+ # @return [String]
155
+ def message
156
+ @message || @data[:message]
157
+ end
158
+
159
+ end
160
+
161
+ class LayerInaccessibleException < ServiceError
162
+
163
+ # @param [Seahorse::Client::RequestContext] context
164
+ # @param [String] message
165
+ # @param [Aws::ECR::Types::LayerInaccessibleException] data
166
+ def initialize(context, message, data = Aws::EmptyStructure.new)
167
+ super(context, message, data)
168
+ end
169
+
170
+ # @return [String]
171
+ def message
172
+ @message || @data[:message]
173
+ end
174
+
175
+ end
176
+
177
+ class LayerPartTooSmallException < ServiceError
178
+
179
+ # @param [Seahorse::Client::RequestContext] context
180
+ # @param [String] message
181
+ # @param [Aws::ECR::Types::LayerPartTooSmallException] data
182
+ def initialize(context, message, data = Aws::EmptyStructure.new)
183
+ super(context, message, data)
184
+ end
185
+
186
+ # @return [String]
187
+ def message
188
+ @message || @data[:message]
189
+ end
190
+
191
+ end
192
+
193
+ class LayersNotFoundException < ServiceError
194
+
195
+ # @param [Seahorse::Client::RequestContext] context
196
+ # @param [String] message
197
+ # @param [Aws::ECR::Types::LayersNotFoundException] data
198
+ def initialize(context, message, data = Aws::EmptyStructure.new)
199
+ super(context, message, data)
200
+ end
201
+
202
+ # @return [String]
203
+ def message
204
+ @message || @data[:message]
205
+ end
206
+
207
+ end
208
+
209
+ class LifecyclePolicyNotFoundException < ServiceError
210
+
211
+ # @param [Seahorse::Client::RequestContext] context
212
+ # @param [String] message
213
+ # @param [Aws::ECR::Types::LifecyclePolicyNotFoundException] data
214
+ def initialize(context, message, data = Aws::EmptyStructure.new)
215
+ super(context, message, data)
216
+ end
217
+
218
+ # @return [String]
219
+ def message
220
+ @message || @data[:message]
221
+ end
222
+
223
+ end
224
+
225
+ class LifecyclePolicyPreviewInProgressException < ServiceError
226
+
227
+ # @param [Seahorse::Client::RequestContext] context
228
+ # @param [String] message
229
+ # @param [Aws::ECR::Types::LifecyclePolicyPreviewInProgressException] data
230
+ def initialize(context, message, data = Aws::EmptyStructure.new)
231
+ super(context, message, data)
232
+ end
233
+
234
+ # @return [String]
235
+ def message
236
+ @message || @data[:message]
237
+ end
238
+
239
+ end
240
+
241
+ class LifecyclePolicyPreviewNotFoundException < ServiceError
242
+
243
+ # @param [Seahorse::Client::RequestContext] context
244
+ # @param [String] message
245
+ # @param [Aws::ECR::Types::LifecyclePolicyPreviewNotFoundException] data
246
+ def initialize(context, message, data = Aws::EmptyStructure.new)
247
+ super(context, message, data)
248
+ end
249
+
250
+ # @return [String]
251
+ def message
252
+ @message || @data[:message]
253
+ end
254
+
255
+ end
256
+
257
+ class LimitExceededException < ServiceError
258
+
259
+ # @param [Seahorse::Client::RequestContext] context
260
+ # @param [String] message
261
+ # @param [Aws::ECR::Types::LimitExceededException] data
262
+ def initialize(context, message, data = Aws::EmptyStructure.new)
263
+ super(context, message, data)
264
+ end
265
+
266
+ # @return [String]
267
+ def message
268
+ @message || @data[:message]
269
+ end
270
+
271
+ end
272
+
273
+ class RepositoryAlreadyExistsException < ServiceError
274
+
275
+ # @param [Seahorse::Client::RequestContext] context
276
+ # @param [String] message
277
+ # @param [Aws::ECR::Types::RepositoryAlreadyExistsException] data
278
+ def initialize(context, message, data = Aws::EmptyStructure.new)
279
+ super(context, message, data)
280
+ end
281
+
282
+ # @return [String]
283
+ def message
284
+ @message || @data[:message]
285
+ end
286
+
287
+ end
288
+
289
+ class RepositoryNotEmptyException < ServiceError
290
+
291
+ # @param [Seahorse::Client::RequestContext] context
292
+ # @param [String] message
293
+ # @param [Aws::ECR::Types::RepositoryNotEmptyException] data
294
+ def initialize(context, message, data = Aws::EmptyStructure.new)
295
+ super(context, message, data)
296
+ end
297
+
298
+ # @return [String]
299
+ def message
300
+ @message || @data[:message]
301
+ end
302
+
303
+ end
304
+
305
+ class RepositoryNotFoundException < ServiceError
306
+
307
+ # @param [Seahorse::Client::RequestContext] context
308
+ # @param [String] message
309
+ # @param [Aws::ECR::Types::RepositoryNotFoundException] data
310
+ def initialize(context, message, data = Aws::EmptyStructure.new)
311
+ super(context, message, data)
312
+ end
313
+
314
+ # @return [String]
315
+ def message
316
+ @message || @data[:message]
317
+ end
318
+
319
+ end
320
+
321
+ class RepositoryPolicyNotFoundException < ServiceError
322
+
323
+ # @param [Seahorse::Client::RequestContext] context
324
+ # @param [String] message
325
+ # @param [Aws::ECR::Types::RepositoryPolicyNotFoundException] data
326
+ def initialize(context, message, data = Aws::EmptyStructure.new)
327
+ super(context, message, data)
328
+ end
329
+
330
+ # @return [String]
331
+ def message
332
+ @message || @data[:message]
333
+ end
334
+
335
+ end
336
+
337
+ class ServerException < ServiceError
338
+
339
+ # @param [Seahorse::Client::RequestContext] context
340
+ # @param [String] message
341
+ # @param [Aws::ECR::Types::ServerException] data
342
+ def initialize(context, message, data = Aws::EmptyStructure.new)
343
+ super(context, message, data)
344
+ end
345
+
346
+ # @return [String]
347
+ def message
348
+ @message || @data[:message]
349
+ end
350
+
351
+ end
352
+
353
+ class TooManyTagsException < ServiceError
354
+
355
+ # @param [Seahorse::Client::RequestContext] context
356
+ # @param [String] message
357
+ # @param [Aws::ECR::Types::TooManyTagsException] data
358
+ def initialize(context, message, data = Aws::EmptyStructure.new)
359
+ super(context, message, data)
360
+ end
361
+
362
+ # @return [String]
363
+ def message
364
+ @message || @data[:message]
365
+ end
366
+
367
+ end
368
+
369
+ class UploadNotFoundException < ServiceError
370
+
371
+ # @param [Seahorse::Client::RequestContext] context
372
+ # @param [String] message
373
+ # @param [Aws::ECR::Types::UploadNotFoundException] data
374
+ def initialize(context, message, data = Aws::EmptyStructure.new)
375
+ super(context, message, data)
376
+ end
377
+
378
+ # @return [String]
379
+ def message
380
+ @message || @data[:message]
381
+ end
382
+
383
+ end
384
+
13
385
  end
14
386
  end
@@ -655,6 +655,19 @@ module Aws::ECR
655
655
  include Aws::Structure
656
656
  end
657
657
 
658
+ # The specified layer upload does not contain any layer parts.
659
+ #
660
+ # @!attribute [rw] message
661
+ # The error message associated with the exception.
662
+ # @return [String]
663
+ #
664
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/EmptyUploadException AWS API Documentation
665
+ #
666
+ class EmptyUploadException < Struct.new(
667
+ :message)
668
+ include Aws::Structure
669
+ end
670
+
658
671
  # @note When making an API call, you may pass GetAuthorizationTokenRequest
659
672
  # data as a hash:
660
673
  #
@@ -984,6 +997,20 @@ module Aws::ECR
984
997
  include Aws::Structure
985
998
  end
986
999
 
1000
+ # The specified image has already been pushed, and there were no changes
1001
+ # to the manifest or image tag after the last push.
1002
+ #
1003
+ # @!attribute [rw] message
1004
+ # The error message associated with the exception.
1005
+ # @return [String]
1006
+ #
1007
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageAlreadyExistsException AWS API Documentation
1008
+ #
1009
+ class ImageAlreadyExistsException < Struct.new(
1010
+ :message)
1011
+ include Aws::Structure
1012
+ end
1013
+
987
1014
  # An object that describes an image returned by a DescribeImages
988
1015
  # operation.
989
1016
  #
@@ -1082,6 +1109,18 @@ module Aws::ECR
1082
1109
  include Aws::Structure
1083
1110
  end
1084
1111
 
1112
+ # The image requested does not exist in the specified repository.
1113
+ #
1114
+ # @!attribute [rw] message
1115
+ # @return [String]
1116
+ #
1117
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageNotFoundException AWS API Documentation
1118
+ #
1119
+ class ImageNotFoundException < Struct.new(
1120
+ :message)
1121
+ include Aws::Structure
1122
+ end
1123
+
1085
1124
  # @note When making an API call, you may pass InitiateLayerUploadRequest
1086
1125
  # data as a hash:
1087
1126
  #
@@ -1126,6 +1165,83 @@ module Aws::ECR
1126
1165
  include Aws::Structure
1127
1166
  end
1128
1167
 
1168
+ # The layer digest calculation performed by Amazon ECR upon receipt of
1169
+ # the image layer does not match the digest specified.
1170
+ #
1171
+ # @!attribute [rw] message
1172
+ # The error message associated with the exception.
1173
+ # @return [String]
1174
+ #
1175
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/InvalidLayerException AWS API Documentation
1176
+ #
1177
+ class InvalidLayerException < Struct.new(
1178
+ :message)
1179
+ include Aws::Structure
1180
+ end
1181
+
1182
+ # The layer part size is not valid, or the first byte specified is not
1183
+ # consecutive to the last byte of a previous layer part upload.
1184
+ #
1185
+ # @!attribute [rw] registry_id
1186
+ # The registry ID associated with the exception.
1187
+ # @return [String]
1188
+ #
1189
+ # @!attribute [rw] repository_name
1190
+ # The repository name associated with the exception.
1191
+ # @return [String]
1192
+ #
1193
+ # @!attribute [rw] upload_id
1194
+ # The upload ID associated with the exception.
1195
+ # @return [String]
1196
+ #
1197
+ # @!attribute [rw] last_valid_byte_received
1198
+ # The last valid byte received from the layer part upload that is
1199
+ # associated with the exception.
1200
+ # @return [Integer]
1201
+ #
1202
+ # @!attribute [rw] message
1203
+ # The error message associated with the exception.
1204
+ # @return [String]
1205
+ #
1206
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/InvalidLayerPartException AWS API Documentation
1207
+ #
1208
+ class InvalidLayerPartException < Struct.new(
1209
+ :registry_id,
1210
+ :repository_name,
1211
+ :upload_id,
1212
+ :last_valid_byte_received,
1213
+ :message)
1214
+ include Aws::Structure
1215
+ end
1216
+
1217
+ # The specified parameter is invalid. Review the available parameters
1218
+ # for the API request.
1219
+ #
1220
+ # @!attribute [rw] message
1221
+ # The error message associated with the exception.
1222
+ # @return [String]
1223
+ #
1224
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/InvalidParameterException AWS API Documentation
1225
+ #
1226
+ class InvalidParameterException < Struct.new(
1227
+ :message)
1228
+ include Aws::Structure
1229
+ end
1230
+
1231
+ # An invalid parameter has been specified. Tag keys can have a maximum
1232
+ # character length of 128 characters, and tag values can have a maximum
1233
+ # length of 256 characters.
1234
+ #
1235
+ # @!attribute [rw] message
1236
+ # @return [String]
1237
+ #
1238
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/InvalidTagParameterException AWS API Documentation
1239
+ #
1240
+ class InvalidTagParameterException < Struct.new(
1241
+ :message)
1242
+ include Aws::Structure
1243
+ end
1244
+
1129
1245
  # An object representing an Amazon ECR image layer.
1130
1246
  #
1131
1247
  # @!attribute [rw] layer_digest
@@ -1156,6 +1272,19 @@ module Aws::ECR
1156
1272
  include Aws::Structure
1157
1273
  end
1158
1274
 
1275
+ # The image layer already exists in the associated repository.
1276
+ #
1277
+ # @!attribute [rw] message
1278
+ # The error message associated with the exception.
1279
+ # @return [String]
1280
+ #
1281
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LayerAlreadyExistsException AWS API Documentation
1282
+ #
1283
+ class LayerAlreadyExistsException < Struct.new(
1284
+ :message)
1285
+ include Aws::Structure
1286
+ end
1287
+
1159
1288
  # An object representing an Amazon ECR image layer failure.
1160
1289
  #
1161
1290
  # @!attribute [rw] layer_digest
@@ -1179,6 +1308,60 @@ module Aws::ECR
1179
1308
  include Aws::Structure
1180
1309
  end
1181
1310
 
1311
+ # The specified layer is not available because it is not associated with
1312
+ # an image. Unassociated image layers may be cleaned up at any time.
1313
+ #
1314
+ # @!attribute [rw] message
1315
+ # The error message associated with the exception.
1316
+ # @return [String]
1317
+ #
1318
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LayerInaccessibleException AWS API Documentation
1319
+ #
1320
+ class LayerInaccessibleException < Struct.new(
1321
+ :message)
1322
+ include Aws::Structure
1323
+ end
1324
+
1325
+ # Layer parts must be at least 5 MiB in size.
1326
+ #
1327
+ # @!attribute [rw] message
1328
+ # The error message associated with the exception.
1329
+ # @return [String]
1330
+ #
1331
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LayerPartTooSmallException AWS API Documentation
1332
+ #
1333
+ class LayerPartTooSmallException < Struct.new(
1334
+ :message)
1335
+ include Aws::Structure
1336
+ end
1337
+
1338
+ # The specified layers could not be found, or the specified layer is not
1339
+ # valid for this repository.
1340
+ #
1341
+ # @!attribute [rw] message
1342
+ # The error message associated with the exception.
1343
+ # @return [String]
1344
+ #
1345
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LayersNotFoundException AWS API Documentation
1346
+ #
1347
+ class LayersNotFoundException < Struct.new(
1348
+ :message)
1349
+ include Aws::Structure
1350
+ end
1351
+
1352
+ # The lifecycle policy could not be found, and no policy is set to the
1353
+ # repository.
1354
+ #
1355
+ # @!attribute [rw] message
1356
+ # @return [String]
1357
+ #
1358
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LifecyclePolicyNotFoundException AWS API Documentation
1359
+ #
1360
+ class LifecyclePolicyNotFoundException < Struct.new(
1361
+ :message)
1362
+ include Aws::Structure
1363
+ end
1364
+
1182
1365
  # The filter for the lifecycle policy preview.
1183
1366
  #
1184
1367
  # @note When making an API call, you may pass LifecyclePolicyPreviewFilter
@@ -1199,6 +1382,31 @@ module Aws::ECR
1199
1382
  include Aws::Structure
1200
1383
  end
1201
1384
 
1385
+ # The previous lifecycle policy preview request has not completed.
1386
+ # Please try again later.
1387
+ #
1388
+ # @!attribute [rw] message
1389
+ # @return [String]
1390
+ #
1391
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LifecyclePolicyPreviewInProgressException AWS API Documentation
1392
+ #
1393
+ class LifecyclePolicyPreviewInProgressException < Struct.new(
1394
+ :message)
1395
+ include Aws::Structure
1396
+ end
1397
+
1398
+ # There is no dry run for this repository.
1399
+ #
1400
+ # @!attribute [rw] message
1401
+ # @return [String]
1402
+ #
1403
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LifecyclePolicyPreviewNotFoundException AWS API Documentation
1404
+ #
1405
+ class LifecyclePolicyPreviewNotFoundException < Struct.new(
1406
+ :message)
1407
+ include Aws::Structure
1408
+ end
1409
+
1202
1410
  # The result of the lifecycle policy preview.
1203
1411
  #
1204
1412
  # @!attribute [rw] image_tags
@@ -1259,6 +1467,26 @@ module Aws::ECR
1259
1467
  include Aws::Structure
1260
1468
  end
1261
1469
 
1470
+ # The operation did not succeed because it would have exceeded a service
1471
+ # limit for your account. For more information, see [Amazon ECR Default
1472
+ # Service Limits][1] in the Amazon Elastic Container Registry User
1473
+ # Guide.
1474
+ #
1475
+ #
1476
+ #
1477
+ # [1]: http://docs.aws.amazon.com/AmazonECR/latest/userguide/service_limits.html
1478
+ #
1479
+ # @!attribute [rw] message
1480
+ # The error message associated with the exception.
1481
+ # @return [String]
1482
+ #
1483
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LimitExceededException AWS API Documentation
1484
+ #
1485
+ class LimitExceededException < Struct.new(
1486
+ :message)
1487
+ include Aws::Structure
1488
+ end
1489
+
1262
1490
  # An object representing a filter on a ListImages operation.
1263
1491
  #
1264
1492
  # @note When making an API call, you may pass ListImagesFilter
@@ -1538,6 +1766,76 @@ module Aws::ECR
1538
1766
  include Aws::Structure
1539
1767
  end
1540
1768
 
1769
+ # The specified repository already exists in the specified registry.
1770
+ #
1771
+ # @!attribute [rw] message
1772
+ # The error message associated with the exception.
1773
+ # @return [String]
1774
+ #
1775
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/RepositoryAlreadyExistsException AWS API Documentation
1776
+ #
1777
+ class RepositoryAlreadyExistsException < Struct.new(
1778
+ :message)
1779
+ include Aws::Structure
1780
+ end
1781
+
1782
+ # The specified repository contains images. To delete a repository that
1783
+ # contains images, you must force the deletion with the `force`
1784
+ # parameter.
1785
+ #
1786
+ # @!attribute [rw] message
1787
+ # The error message associated with the exception.
1788
+ # @return [String]
1789
+ #
1790
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/RepositoryNotEmptyException AWS API Documentation
1791
+ #
1792
+ class RepositoryNotEmptyException < Struct.new(
1793
+ :message)
1794
+ include Aws::Structure
1795
+ end
1796
+
1797
+ # The specified repository could not be found. Check the spelling of the
1798
+ # specified repository and ensure that you are performing operations on
1799
+ # the correct registry.
1800
+ #
1801
+ # @!attribute [rw] message
1802
+ # The error message associated with the exception.
1803
+ # @return [String]
1804
+ #
1805
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/RepositoryNotFoundException AWS API Documentation
1806
+ #
1807
+ class RepositoryNotFoundException < Struct.new(
1808
+ :message)
1809
+ include Aws::Structure
1810
+ end
1811
+
1812
+ # The specified repository and registry combination does not have an
1813
+ # associated repository policy.
1814
+ #
1815
+ # @!attribute [rw] message
1816
+ # The error message associated with the exception.
1817
+ # @return [String]
1818
+ #
1819
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/RepositoryPolicyNotFoundException AWS API Documentation
1820
+ #
1821
+ class RepositoryPolicyNotFoundException < Struct.new(
1822
+ :message)
1823
+ include Aws::Structure
1824
+ end
1825
+
1826
+ # These errors are usually caused by a server-side issue.
1827
+ #
1828
+ # @!attribute [rw] message
1829
+ # The error message associated with the exception.
1830
+ # @return [String]
1831
+ #
1832
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ServerException AWS API Documentation
1833
+ #
1834
+ class ServerException < Struct.new(
1835
+ :message)
1836
+ include Aws::Structure
1837
+ end
1838
+
1541
1839
  # @note When making an API call, you may pass SetRepositoryPolicyRequest
1542
1840
  # data as a hash:
1543
1841
  #
@@ -1730,6 +2028,19 @@ module Aws::ECR
1730
2028
  #
1731
2029
  class TagResourceResponse < Aws::EmptyStructure; end
1732
2030
 
2031
+ # The list of tags on the repository is over the limit. The maximum
2032
+ # number of tags that can be applied to a repository is 50.
2033
+ #
2034
+ # @!attribute [rw] message
2035
+ # @return [String]
2036
+ #
2037
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/TooManyTagsException AWS API Documentation
2038
+ #
2039
+ class TooManyTagsException < Struct.new(
2040
+ :message)
2041
+ include Aws::Structure
2042
+ end
2043
+
1733
2044
  # @note When making an API call, you may pass UntagResourceRequest
1734
2045
  # data as a hash:
1735
2046
  #
@@ -1837,5 +2148,19 @@ module Aws::ECR
1837
2148
  include Aws::Structure
1838
2149
  end
1839
2150
 
2151
+ # The upload could not be found, or the specified upload id is not valid
2152
+ # for this repository.
2153
+ #
2154
+ # @!attribute [rw] message
2155
+ # The error message associated with the exception.
2156
+ # @return [String]
2157
+ #
2158
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UploadNotFoundException AWS API Documentation
2159
+ #
2160
+ class UploadNotFoundException < Struct.new(
2161
+ :message)
2162
+ include Aws::Structure
2163
+ end
2164
+
1840
2165
  end
1841
2166
  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.16.0
4
+ version: 1.17.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: 2019-05-15 00:00:00.000000000 Z
11
+ date: 2019-05-21 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.52.1
22
+ version: 3.53.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.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement