aws-sdk-ecr 1.113.0 → 1.115.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecr/client.rb +704 -20
- data/lib/aws-sdk-ecr/client_api.rb +326 -0
- data/lib/aws-sdk-ecr/errors.rb +96 -0
- data/lib/aws-sdk-ecr/types.rb +767 -37
- data/lib/aws-sdk-ecr.rb +1 -1
- data/sig/client.rbs +137 -2
- data/sig/errors.rbs +18 -0
- data/sig/types.rbs +203 -4
- metadata +3 -3
data/lib/aws-sdk-ecr/errors.rb
CHANGED
|
@@ -27,10 +27,15 @@ module Aws::ECR
|
|
|
27
27
|
# See {Seahorse::Client::RequestContext} for more information.
|
|
28
28
|
#
|
|
29
29
|
# ## Error Classes
|
|
30
|
+
# * {BlockedByOrganizationPolicyException}
|
|
30
31
|
# * {EmptyUploadException}
|
|
32
|
+
# * {ExclusionAlreadyExistsException}
|
|
33
|
+
# * {ExclusionNotFoundException}
|
|
31
34
|
# * {ImageAlreadyExistsException}
|
|
35
|
+
# * {ImageArchivedException}
|
|
32
36
|
# * {ImageDigestDoesNotMatchException}
|
|
33
37
|
# * {ImageNotFoundException}
|
|
38
|
+
# * {ImageStorageClassUpdateNotSupportedException}
|
|
34
39
|
# * {ImageTagAlreadyExistsException}
|
|
35
40
|
# * {InvalidLayerException}
|
|
36
41
|
# * {InvalidLayerPartException}
|
|
@@ -56,6 +61,7 @@ module Aws::ECR
|
|
|
56
61
|
# * {ScanNotFoundException}
|
|
57
62
|
# * {SecretNotFoundException}
|
|
58
63
|
# * {ServerException}
|
|
64
|
+
# * {SigningConfigurationNotFoundException}
|
|
59
65
|
# * {TemplateAlreadyExistsException}
|
|
60
66
|
# * {TemplateNotFoundException}
|
|
61
67
|
# * {TooManyTagsException}
|
|
@@ -74,6 +80,21 @@ module Aws::ECR
|
|
|
74
80
|
|
|
75
81
|
extend Aws::Errors::DynamicErrors
|
|
76
82
|
|
|
83
|
+
class BlockedByOrganizationPolicyException < ServiceError
|
|
84
|
+
|
|
85
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
86
|
+
# @param [String] message
|
|
87
|
+
# @param [Aws::ECR::Types::BlockedByOrganizationPolicyException] data
|
|
88
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
89
|
+
super(context, message, data)
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# @return [String]
|
|
93
|
+
def message
|
|
94
|
+
@message || @data[:message]
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
|
|
77
98
|
class EmptyUploadException < ServiceError
|
|
78
99
|
|
|
79
100
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -89,6 +110,36 @@ module Aws::ECR
|
|
|
89
110
|
end
|
|
90
111
|
end
|
|
91
112
|
|
|
113
|
+
class ExclusionAlreadyExistsException < ServiceError
|
|
114
|
+
|
|
115
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
116
|
+
# @param [String] message
|
|
117
|
+
# @param [Aws::ECR::Types::ExclusionAlreadyExistsException] 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
|
+
end
|
|
127
|
+
|
|
128
|
+
class ExclusionNotFoundException < ServiceError
|
|
129
|
+
|
|
130
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
131
|
+
# @param [String] message
|
|
132
|
+
# @param [Aws::ECR::Types::ExclusionNotFoundException] data
|
|
133
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
134
|
+
super(context, message, data)
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
# @return [String]
|
|
138
|
+
def message
|
|
139
|
+
@message || @data[:message]
|
|
140
|
+
end
|
|
141
|
+
end
|
|
142
|
+
|
|
92
143
|
class ImageAlreadyExistsException < ServiceError
|
|
93
144
|
|
|
94
145
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -104,6 +155,21 @@ module Aws::ECR
|
|
|
104
155
|
end
|
|
105
156
|
end
|
|
106
157
|
|
|
158
|
+
class ImageArchivedException < ServiceError
|
|
159
|
+
|
|
160
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
161
|
+
# @param [String] message
|
|
162
|
+
# @param [Aws::ECR::Types::ImageArchivedException] data
|
|
163
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
164
|
+
super(context, message, data)
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
# @return [String]
|
|
168
|
+
def message
|
|
169
|
+
@message || @data[:message]
|
|
170
|
+
end
|
|
171
|
+
end
|
|
172
|
+
|
|
107
173
|
class ImageDigestDoesNotMatchException < ServiceError
|
|
108
174
|
|
|
109
175
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -134,6 +200,21 @@ module Aws::ECR
|
|
|
134
200
|
end
|
|
135
201
|
end
|
|
136
202
|
|
|
203
|
+
class ImageStorageClassUpdateNotSupportedException < ServiceError
|
|
204
|
+
|
|
205
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
206
|
+
# @param [String] message
|
|
207
|
+
# @param [Aws::ECR::Types::ImageStorageClassUpdateNotSupportedException] data
|
|
208
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
209
|
+
super(context, message, data)
|
|
210
|
+
end
|
|
211
|
+
|
|
212
|
+
# @return [String]
|
|
213
|
+
def message
|
|
214
|
+
@message || @data[:message]
|
|
215
|
+
end
|
|
216
|
+
end
|
|
217
|
+
|
|
137
218
|
class ImageTagAlreadyExistsException < ServiceError
|
|
138
219
|
|
|
139
220
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -534,6 +615,21 @@ module Aws::ECR
|
|
|
534
615
|
end
|
|
535
616
|
end
|
|
536
617
|
|
|
618
|
+
class SigningConfigurationNotFoundException < ServiceError
|
|
619
|
+
|
|
620
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
621
|
+
# @param [String] message
|
|
622
|
+
# @param [Aws::ECR::Types::SigningConfigurationNotFoundException] data
|
|
623
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
624
|
+
super(context, message, data)
|
|
625
|
+
end
|
|
626
|
+
|
|
627
|
+
# @return [String]
|
|
628
|
+
def message
|
|
629
|
+
@message || @data[:message]
|
|
630
|
+
end
|
|
631
|
+
end
|
|
632
|
+
|
|
537
633
|
class TemplateAlreadyExistsException < ServiceError
|
|
538
634
|
|
|
539
635
|
# @param [Seahorse::Client::RequestContext] context
|