aws-sdk-ecr 1.3.0 → 1.69.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +420 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-ecr/client.rb +1788 -221
- data/lib/aws-sdk-ecr/client_api.rb +1036 -4
- data/lib/aws-sdk-ecr/customizations.rb +2 -1
- data/lib/aws-sdk-ecr/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-ecr/endpoint_provider.rb +60 -0
- data/lib/aws-sdk-ecr/endpoints.rb +618 -0
- data/lib/aws-sdk-ecr/errors.rb +658 -1
- data/lib/aws-sdk-ecr/plugins/endpoints.rb +156 -0
- data/lib/aws-sdk-ecr/resource.rb +4 -1
- data/lib/aws-sdk-ecr/types.rb +2816 -422
- data/lib/aws-sdk-ecr/waiters.rb +167 -0
- data/lib/aws-sdk-ecr.rb +17 -6
- data/sig/client.rbs +769 -0
- data/sig/errors.rbs +135 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +1127 -0
- data/sig/waiters.rbs +52 -0
- metadata +32 -14
data/lib/aws-sdk-ecr/errors.rb
CHANGED
@@ -1,14 +1,671 @@
|
|
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:
|
4
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
7
|
#
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::ECR
|
11
|
+
|
12
|
+
# When ECR returns an error response, the Ruby SDK constructs and raises an error.
|
13
|
+
# These errors all extend Aws::ECR::Errors::ServiceError < {Aws::Errors::ServiceError}
|
14
|
+
#
|
15
|
+
# You can rescue all ECR errors using ServiceError:
|
16
|
+
#
|
17
|
+
# begin
|
18
|
+
# # do stuff
|
19
|
+
# rescue Aws::ECR::Errors::ServiceError
|
20
|
+
# # rescues all ECR API errors
|
21
|
+
# end
|
22
|
+
#
|
23
|
+
#
|
24
|
+
# ## Request Context
|
25
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
26
|
+
# information about the request that generated the error.
|
27
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
28
|
+
#
|
29
|
+
# ## Error Classes
|
30
|
+
# * {EmptyUploadException}
|
31
|
+
# * {ImageAlreadyExistsException}
|
32
|
+
# * {ImageDigestDoesNotMatchException}
|
33
|
+
# * {ImageNotFoundException}
|
34
|
+
# * {ImageTagAlreadyExistsException}
|
35
|
+
# * {InvalidLayerException}
|
36
|
+
# * {InvalidLayerPartException}
|
37
|
+
# * {InvalidParameterException}
|
38
|
+
# * {InvalidTagParameterException}
|
39
|
+
# * {KmsException}
|
40
|
+
# * {LayerAlreadyExistsException}
|
41
|
+
# * {LayerInaccessibleException}
|
42
|
+
# * {LayerPartTooSmallException}
|
43
|
+
# * {LayersNotFoundException}
|
44
|
+
# * {LifecyclePolicyNotFoundException}
|
45
|
+
# * {LifecyclePolicyPreviewInProgressException}
|
46
|
+
# * {LifecyclePolicyPreviewNotFoundException}
|
47
|
+
# * {LimitExceededException}
|
48
|
+
# * {PullThroughCacheRuleAlreadyExistsException}
|
49
|
+
# * {PullThroughCacheRuleNotFoundException}
|
50
|
+
# * {ReferencedImagesNotFoundException}
|
51
|
+
# * {RegistryPolicyNotFoundException}
|
52
|
+
# * {RepositoryAlreadyExistsException}
|
53
|
+
# * {RepositoryNotEmptyException}
|
54
|
+
# * {RepositoryNotFoundException}
|
55
|
+
# * {RepositoryPolicyNotFoundException}
|
56
|
+
# * {ScanNotFoundException}
|
57
|
+
# * {SecretNotFoundException}
|
58
|
+
# * {ServerException}
|
59
|
+
# * {TooManyTagsException}
|
60
|
+
# * {UnableToAccessSecretException}
|
61
|
+
# * {UnableToDecryptSecretValueException}
|
62
|
+
# * {UnableToGetUpstreamImageException}
|
63
|
+
# * {UnableToGetUpstreamLayerException}
|
64
|
+
# * {UnsupportedImageTypeException}
|
65
|
+
# * {UnsupportedUpstreamRegistryException}
|
66
|
+
# * {UploadNotFoundException}
|
67
|
+
# * {ValidationException}
|
68
|
+
#
|
69
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
70
|
+
# if they are not defined above.
|
9
71
|
module Errors
|
10
72
|
|
11
73
|
extend Aws::Errors::DynamicErrors
|
12
74
|
|
75
|
+
class EmptyUploadException < ServiceError
|
76
|
+
|
77
|
+
# @param [Seahorse::Client::RequestContext] context
|
78
|
+
# @param [String] message
|
79
|
+
# @param [Aws::ECR::Types::EmptyUploadException] data
|
80
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
81
|
+
super(context, message, data)
|
82
|
+
end
|
83
|
+
|
84
|
+
# @return [String]
|
85
|
+
def message
|
86
|
+
@message || @data[:message]
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
class ImageAlreadyExistsException < ServiceError
|
91
|
+
|
92
|
+
# @param [Seahorse::Client::RequestContext] context
|
93
|
+
# @param [String] message
|
94
|
+
# @param [Aws::ECR::Types::ImageAlreadyExistsException] data
|
95
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
96
|
+
super(context, message, data)
|
97
|
+
end
|
98
|
+
|
99
|
+
# @return [String]
|
100
|
+
def message
|
101
|
+
@message || @data[:message]
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
class ImageDigestDoesNotMatchException < ServiceError
|
106
|
+
|
107
|
+
# @param [Seahorse::Client::RequestContext] context
|
108
|
+
# @param [String] message
|
109
|
+
# @param [Aws::ECR::Types::ImageDigestDoesNotMatchException] data
|
110
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
111
|
+
super(context, message, data)
|
112
|
+
end
|
113
|
+
|
114
|
+
# @return [String]
|
115
|
+
def message
|
116
|
+
@message || @data[:message]
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
120
|
+
class ImageNotFoundException < ServiceError
|
121
|
+
|
122
|
+
# @param [Seahorse::Client::RequestContext] context
|
123
|
+
# @param [String] message
|
124
|
+
# @param [Aws::ECR::Types::ImageNotFoundException] data
|
125
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
126
|
+
super(context, message, data)
|
127
|
+
end
|
128
|
+
|
129
|
+
# @return [String]
|
130
|
+
def message
|
131
|
+
@message || @data[:message]
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
class ImageTagAlreadyExistsException < ServiceError
|
136
|
+
|
137
|
+
# @param [Seahorse::Client::RequestContext] context
|
138
|
+
# @param [String] message
|
139
|
+
# @param [Aws::ECR::Types::ImageTagAlreadyExistsException] data
|
140
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
141
|
+
super(context, message, data)
|
142
|
+
end
|
143
|
+
|
144
|
+
# @return [String]
|
145
|
+
def message
|
146
|
+
@message || @data[:message]
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
150
|
+
class InvalidLayerException < ServiceError
|
151
|
+
|
152
|
+
# @param [Seahorse::Client::RequestContext] context
|
153
|
+
# @param [String] message
|
154
|
+
# @param [Aws::ECR::Types::InvalidLayerException] data
|
155
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
156
|
+
super(context, message, data)
|
157
|
+
end
|
158
|
+
|
159
|
+
# @return [String]
|
160
|
+
def message
|
161
|
+
@message || @data[:message]
|
162
|
+
end
|
163
|
+
end
|
164
|
+
|
165
|
+
class InvalidLayerPartException < ServiceError
|
166
|
+
|
167
|
+
# @param [Seahorse::Client::RequestContext] context
|
168
|
+
# @param [String] message
|
169
|
+
# @param [Aws::ECR::Types::InvalidLayerPartException] data
|
170
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
171
|
+
super(context, message, data)
|
172
|
+
end
|
173
|
+
|
174
|
+
# @return [String]
|
175
|
+
def registry_id
|
176
|
+
@data[:registry_id]
|
177
|
+
end
|
178
|
+
|
179
|
+
# @return [String]
|
180
|
+
def repository_name
|
181
|
+
@data[:repository_name]
|
182
|
+
end
|
183
|
+
|
184
|
+
# @return [String]
|
185
|
+
def upload_id
|
186
|
+
@data[:upload_id]
|
187
|
+
end
|
188
|
+
|
189
|
+
# @return [String]
|
190
|
+
def last_valid_byte_received
|
191
|
+
@data[:last_valid_byte_received]
|
192
|
+
end
|
193
|
+
|
194
|
+
# @return [String]
|
195
|
+
def message
|
196
|
+
@message || @data[:message]
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
200
|
+
class InvalidParameterException < ServiceError
|
201
|
+
|
202
|
+
# @param [Seahorse::Client::RequestContext] context
|
203
|
+
# @param [String] message
|
204
|
+
# @param [Aws::ECR::Types::InvalidParameterException] data
|
205
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
206
|
+
super(context, message, data)
|
207
|
+
end
|
208
|
+
|
209
|
+
# @return [String]
|
210
|
+
def message
|
211
|
+
@message || @data[:message]
|
212
|
+
end
|
213
|
+
end
|
214
|
+
|
215
|
+
class InvalidTagParameterException < ServiceError
|
216
|
+
|
217
|
+
# @param [Seahorse::Client::RequestContext] context
|
218
|
+
# @param [String] message
|
219
|
+
# @param [Aws::ECR::Types::InvalidTagParameterException] data
|
220
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
221
|
+
super(context, message, data)
|
222
|
+
end
|
223
|
+
|
224
|
+
# @return [String]
|
225
|
+
def message
|
226
|
+
@message || @data[:message]
|
227
|
+
end
|
228
|
+
end
|
229
|
+
|
230
|
+
class KmsException < ServiceError
|
231
|
+
|
232
|
+
# @param [Seahorse::Client::RequestContext] context
|
233
|
+
# @param [String] message
|
234
|
+
# @param [Aws::ECR::Types::KmsException] data
|
235
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
236
|
+
super(context, message, data)
|
237
|
+
end
|
238
|
+
|
239
|
+
# @return [String]
|
240
|
+
def message
|
241
|
+
@message || @data[:message]
|
242
|
+
end
|
243
|
+
|
244
|
+
# @return [String]
|
245
|
+
def kms_error
|
246
|
+
@data[:kms_error]
|
247
|
+
end
|
248
|
+
end
|
249
|
+
|
250
|
+
class LayerAlreadyExistsException < ServiceError
|
251
|
+
|
252
|
+
# @param [Seahorse::Client::RequestContext] context
|
253
|
+
# @param [String] message
|
254
|
+
# @param [Aws::ECR::Types::LayerAlreadyExistsException] data
|
255
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
256
|
+
super(context, message, data)
|
257
|
+
end
|
258
|
+
|
259
|
+
# @return [String]
|
260
|
+
def message
|
261
|
+
@message || @data[:message]
|
262
|
+
end
|
263
|
+
end
|
264
|
+
|
265
|
+
class LayerInaccessibleException < ServiceError
|
266
|
+
|
267
|
+
# @param [Seahorse::Client::RequestContext] context
|
268
|
+
# @param [String] message
|
269
|
+
# @param [Aws::ECR::Types::LayerInaccessibleException] data
|
270
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
271
|
+
super(context, message, data)
|
272
|
+
end
|
273
|
+
|
274
|
+
# @return [String]
|
275
|
+
def message
|
276
|
+
@message || @data[:message]
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
280
|
+
class LayerPartTooSmallException < ServiceError
|
281
|
+
|
282
|
+
# @param [Seahorse::Client::RequestContext] context
|
283
|
+
# @param [String] message
|
284
|
+
# @param [Aws::ECR::Types::LayerPartTooSmallException] data
|
285
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
286
|
+
super(context, message, data)
|
287
|
+
end
|
288
|
+
|
289
|
+
# @return [String]
|
290
|
+
def message
|
291
|
+
@message || @data[:message]
|
292
|
+
end
|
293
|
+
end
|
294
|
+
|
295
|
+
class LayersNotFoundException < ServiceError
|
296
|
+
|
297
|
+
# @param [Seahorse::Client::RequestContext] context
|
298
|
+
# @param [String] message
|
299
|
+
# @param [Aws::ECR::Types::LayersNotFoundException] data
|
300
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
301
|
+
super(context, message, data)
|
302
|
+
end
|
303
|
+
|
304
|
+
# @return [String]
|
305
|
+
def message
|
306
|
+
@message || @data[:message]
|
307
|
+
end
|
308
|
+
end
|
309
|
+
|
310
|
+
class LifecyclePolicyNotFoundException < ServiceError
|
311
|
+
|
312
|
+
# @param [Seahorse::Client::RequestContext] context
|
313
|
+
# @param [String] message
|
314
|
+
# @param [Aws::ECR::Types::LifecyclePolicyNotFoundException] data
|
315
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
316
|
+
super(context, message, data)
|
317
|
+
end
|
318
|
+
|
319
|
+
# @return [String]
|
320
|
+
def message
|
321
|
+
@message || @data[:message]
|
322
|
+
end
|
323
|
+
end
|
324
|
+
|
325
|
+
class LifecyclePolicyPreviewInProgressException < ServiceError
|
326
|
+
|
327
|
+
# @param [Seahorse::Client::RequestContext] context
|
328
|
+
# @param [String] message
|
329
|
+
# @param [Aws::ECR::Types::LifecyclePolicyPreviewInProgressException] data
|
330
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
331
|
+
super(context, message, data)
|
332
|
+
end
|
333
|
+
|
334
|
+
# @return [String]
|
335
|
+
def message
|
336
|
+
@message || @data[:message]
|
337
|
+
end
|
338
|
+
end
|
339
|
+
|
340
|
+
class LifecyclePolicyPreviewNotFoundException < ServiceError
|
341
|
+
|
342
|
+
# @param [Seahorse::Client::RequestContext] context
|
343
|
+
# @param [String] message
|
344
|
+
# @param [Aws::ECR::Types::LifecyclePolicyPreviewNotFoundException] data
|
345
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
346
|
+
super(context, message, data)
|
347
|
+
end
|
348
|
+
|
349
|
+
# @return [String]
|
350
|
+
def message
|
351
|
+
@message || @data[:message]
|
352
|
+
end
|
353
|
+
end
|
354
|
+
|
355
|
+
class LimitExceededException < ServiceError
|
356
|
+
|
357
|
+
# @param [Seahorse::Client::RequestContext] context
|
358
|
+
# @param [String] message
|
359
|
+
# @param [Aws::ECR::Types::LimitExceededException] data
|
360
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
361
|
+
super(context, message, data)
|
362
|
+
end
|
363
|
+
|
364
|
+
# @return [String]
|
365
|
+
def message
|
366
|
+
@message || @data[:message]
|
367
|
+
end
|
368
|
+
end
|
369
|
+
|
370
|
+
class PullThroughCacheRuleAlreadyExistsException < ServiceError
|
371
|
+
|
372
|
+
# @param [Seahorse::Client::RequestContext] context
|
373
|
+
# @param [String] message
|
374
|
+
# @param [Aws::ECR::Types::PullThroughCacheRuleAlreadyExistsException] data
|
375
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
376
|
+
super(context, message, data)
|
377
|
+
end
|
378
|
+
|
379
|
+
# @return [String]
|
380
|
+
def message
|
381
|
+
@message || @data[:message]
|
382
|
+
end
|
383
|
+
end
|
384
|
+
|
385
|
+
class PullThroughCacheRuleNotFoundException < ServiceError
|
386
|
+
|
387
|
+
# @param [Seahorse::Client::RequestContext] context
|
388
|
+
# @param [String] message
|
389
|
+
# @param [Aws::ECR::Types::PullThroughCacheRuleNotFoundException] data
|
390
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
391
|
+
super(context, message, data)
|
392
|
+
end
|
393
|
+
|
394
|
+
# @return [String]
|
395
|
+
def message
|
396
|
+
@message || @data[:message]
|
397
|
+
end
|
398
|
+
end
|
399
|
+
|
400
|
+
class ReferencedImagesNotFoundException < ServiceError
|
401
|
+
|
402
|
+
# @param [Seahorse::Client::RequestContext] context
|
403
|
+
# @param [String] message
|
404
|
+
# @param [Aws::ECR::Types::ReferencedImagesNotFoundException] data
|
405
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
406
|
+
super(context, message, data)
|
407
|
+
end
|
408
|
+
|
409
|
+
# @return [String]
|
410
|
+
def message
|
411
|
+
@message || @data[:message]
|
412
|
+
end
|
413
|
+
end
|
414
|
+
|
415
|
+
class RegistryPolicyNotFoundException < ServiceError
|
416
|
+
|
417
|
+
# @param [Seahorse::Client::RequestContext] context
|
418
|
+
# @param [String] message
|
419
|
+
# @param [Aws::ECR::Types::RegistryPolicyNotFoundException] data
|
420
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
421
|
+
super(context, message, data)
|
422
|
+
end
|
423
|
+
|
424
|
+
# @return [String]
|
425
|
+
def message
|
426
|
+
@message || @data[:message]
|
427
|
+
end
|
428
|
+
end
|
429
|
+
|
430
|
+
class RepositoryAlreadyExistsException < ServiceError
|
431
|
+
|
432
|
+
# @param [Seahorse::Client::RequestContext] context
|
433
|
+
# @param [String] message
|
434
|
+
# @param [Aws::ECR::Types::RepositoryAlreadyExistsException] data
|
435
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
436
|
+
super(context, message, data)
|
437
|
+
end
|
438
|
+
|
439
|
+
# @return [String]
|
440
|
+
def message
|
441
|
+
@message || @data[:message]
|
442
|
+
end
|
443
|
+
end
|
444
|
+
|
445
|
+
class RepositoryNotEmptyException < ServiceError
|
446
|
+
|
447
|
+
# @param [Seahorse::Client::RequestContext] context
|
448
|
+
# @param [String] message
|
449
|
+
# @param [Aws::ECR::Types::RepositoryNotEmptyException] data
|
450
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
451
|
+
super(context, message, data)
|
452
|
+
end
|
453
|
+
|
454
|
+
# @return [String]
|
455
|
+
def message
|
456
|
+
@message || @data[:message]
|
457
|
+
end
|
458
|
+
end
|
459
|
+
|
460
|
+
class RepositoryNotFoundException < ServiceError
|
461
|
+
|
462
|
+
# @param [Seahorse::Client::RequestContext] context
|
463
|
+
# @param [String] message
|
464
|
+
# @param [Aws::ECR::Types::RepositoryNotFoundException] data
|
465
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
466
|
+
super(context, message, data)
|
467
|
+
end
|
468
|
+
|
469
|
+
# @return [String]
|
470
|
+
def message
|
471
|
+
@message || @data[:message]
|
472
|
+
end
|
473
|
+
end
|
474
|
+
|
475
|
+
class RepositoryPolicyNotFoundException < ServiceError
|
476
|
+
|
477
|
+
# @param [Seahorse::Client::RequestContext] context
|
478
|
+
# @param [String] message
|
479
|
+
# @param [Aws::ECR::Types::RepositoryPolicyNotFoundException] data
|
480
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
481
|
+
super(context, message, data)
|
482
|
+
end
|
483
|
+
|
484
|
+
# @return [String]
|
485
|
+
def message
|
486
|
+
@message || @data[:message]
|
487
|
+
end
|
488
|
+
end
|
489
|
+
|
490
|
+
class ScanNotFoundException < ServiceError
|
491
|
+
|
492
|
+
# @param [Seahorse::Client::RequestContext] context
|
493
|
+
# @param [String] message
|
494
|
+
# @param [Aws::ECR::Types::ScanNotFoundException] data
|
495
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
496
|
+
super(context, message, data)
|
497
|
+
end
|
498
|
+
|
499
|
+
# @return [String]
|
500
|
+
def message
|
501
|
+
@message || @data[:message]
|
502
|
+
end
|
503
|
+
end
|
504
|
+
|
505
|
+
class SecretNotFoundException < ServiceError
|
506
|
+
|
507
|
+
# @param [Seahorse::Client::RequestContext] context
|
508
|
+
# @param [String] message
|
509
|
+
# @param [Aws::ECR::Types::SecretNotFoundException] data
|
510
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
511
|
+
super(context, message, data)
|
512
|
+
end
|
513
|
+
|
514
|
+
# @return [String]
|
515
|
+
def message
|
516
|
+
@message || @data[:message]
|
517
|
+
end
|
518
|
+
end
|
519
|
+
|
520
|
+
class ServerException < ServiceError
|
521
|
+
|
522
|
+
# @param [Seahorse::Client::RequestContext] context
|
523
|
+
# @param [String] message
|
524
|
+
# @param [Aws::ECR::Types::ServerException] data
|
525
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
526
|
+
super(context, message, data)
|
527
|
+
end
|
528
|
+
|
529
|
+
# @return [String]
|
530
|
+
def message
|
531
|
+
@message || @data[:message]
|
532
|
+
end
|
533
|
+
end
|
534
|
+
|
535
|
+
class TooManyTagsException < ServiceError
|
536
|
+
|
537
|
+
# @param [Seahorse::Client::RequestContext] context
|
538
|
+
# @param [String] message
|
539
|
+
# @param [Aws::ECR::Types::TooManyTagsException] data
|
540
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
541
|
+
super(context, message, data)
|
542
|
+
end
|
543
|
+
|
544
|
+
# @return [String]
|
545
|
+
def message
|
546
|
+
@message || @data[:message]
|
547
|
+
end
|
548
|
+
end
|
549
|
+
|
550
|
+
class UnableToAccessSecretException < ServiceError
|
551
|
+
|
552
|
+
# @param [Seahorse::Client::RequestContext] context
|
553
|
+
# @param [String] message
|
554
|
+
# @param [Aws::ECR::Types::UnableToAccessSecretException] data
|
555
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
556
|
+
super(context, message, data)
|
557
|
+
end
|
558
|
+
|
559
|
+
# @return [String]
|
560
|
+
def message
|
561
|
+
@message || @data[:message]
|
562
|
+
end
|
563
|
+
end
|
564
|
+
|
565
|
+
class UnableToDecryptSecretValueException < ServiceError
|
566
|
+
|
567
|
+
# @param [Seahorse::Client::RequestContext] context
|
568
|
+
# @param [String] message
|
569
|
+
# @param [Aws::ECR::Types::UnableToDecryptSecretValueException] data
|
570
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
571
|
+
super(context, message, data)
|
572
|
+
end
|
573
|
+
|
574
|
+
# @return [String]
|
575
|
+
def message
|
576
|
+
@message || @data[:message]
|
577
|
+
end
|
578
|
+
end
|
579
|
+
|
580
|
+
class UnableToGetUpstreamImageException < ServiceError
|
581
|
+
|
582
|
+
# @param [Seahorse::Client::RequestContext] context
|
583
|
+
# @param [String] message
|
584
|
+
# @param [Aws::ECR::Types::UnableToGetUpstreamImageException] data
|
585
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
586
|
+
super(context, message, data)
|
587
|
+
end
|
588
|
+
|
589
|
+
# @return [String]
|
590
|
+
def message
|
591
|
+
@message || @data[:message]
|
592
|
+
end
|
593
|
+
end
|
594
|
+
|
595
|
+
class UnableToGetUpstreamLayerException < ServiceError
|
596
|
+
|
597
|
+
# @param [Seahorse::Client::RequestContext] context
|
598
|
+
# @param [String] message
|
599
|
+
# @param [Aws::ECR::Types::UnableToGetUpstreamLayerException] data
|
600
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
601
|
+
super(context, message, data)
|
602
|
+
end
|
603
|
+
|
604
|
+
# @return [String]
|
605
|
+
def message
|
606
|
+
@message || @data[:message]
|
607
|
+
end
|
608
|
+
end
|
609
|
+
|
610
|
+
class UnsupportedImageTypeException < ServiceError
|
611
|
+
|
612
|
+
# @param [Seahorse::Client::RequestContext] context
|
613
|
+
# @param [String] message
|
614
|
+
# @param [Aws::ECR::Types::UnsupportedImageTypeException] data
|
615
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
616
|
+
super(context, message, data)
|
617
|
+
end
|
618
|
+
|
619
|
+
# @return [String]
|
620
|
+
def message
|
621
|
+
@message || @data[:message]
|
622
|
+
end
|
623
|
+
end
|
624
|
+
|
625
|
+
class UnsupportedUpstreamRegistryException < ServiceError
|
626
|
+
|
627
|
+
# @param [Seahorse::Client::RequestContext] context
|
628
|
+
# @param [String] message
|
629
|
+
# @param [Aws::ECR::Types::UnsupportedUpstreamRegistryException] data
|
630
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
631
|
+
super(context, message, data)
|
632
|
+
end
|
633
|
+
|
634
|
+
# @return [String]
|
635
|
+
def message
|
636
|
+
@message || @data[:message]
|
637
|
+
end
|
638
|
+
end
|
639
|
+
|
640
|
+
class UploadNotFoundException < ServiceError
|
641
|
+
|
642
|
+
# @param [Seahorse::Client::RequestContext] context
|
643
|
+
# @param [String] message
|
644
|
+
# @param [Aws::ECR::Types::UploadNotFoundException] data
|
645
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
646
|
+
super(context, message, data)
|
647
|
+
end
|
648
|
+
|
649
|
+
# @return [String]
|
650
|
+
def message
|
651
|
+
@message || @data[:message]
|
652
|
+
end
|
653
|
+
end
|
654
|
+
|
655
|
+
class ValidationException < ServiceError
|
656
|
+
|
657
|
+
# @param [Seahorse::Client::RequestContext] context
|
658
|
+
# @param [String] message
|
659
|
+
# @param [Aws::ECR::Types::ValidationException] data
|
660
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
661
|
+
super(context, message, data)
|
662
|
+
end
|
663
|
+
|
664
|
+
# @return [String]
|
665
|
+
def message
|
666
|
+
@message || @data[:message]
|
667
|
+
end
|
668
|
+
end
|
669
|
+
|
13
670
|
end
|
14
671
|
end
|