aws-sdk-ecrpublic 1.12.0 → 1.14.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.
@@ -132,6 +132,7 @@ module Aws::ECRPublic
132
132
  RepositoryAlreadyExistsException = Shapes::StructureShape.new(name: 'RepositoryAlreadyExistsException')
133
133
  RepositoryCatalogData = Shapes::StructureShape.new(name: 'RepositoryCatalogData')
134
134
  RepositoryCatalogDataInput = Shapes::StructureShape.new(name: 'RepositoryCatalogDataInput')
135
+ RepositoryCatalogDataNotFoundException = Shapes::StructureShape.new(name: 'RepositoryCatalogDataNotFoundException')
135
136
  RepositoryDescription = Shapes::StringShape.new(name: 'RepositoryDescription')
136
137
  RepositoryList = Shapes::ListShape.new(name: 'RepositoryList')
137
138
  RepositoryName = Shapes::StringShape.new(name: 'RepositoryName')
@@ -493,6 +494,9 @@ module Aws::ECRPublic
493
494
  RepositoryCatalogDataInput.add_member(:usage_text, Shapes::ShapeRef.new(shape: UsageText, location_name: "usageText"))
494
495
  RepositoryCatalogDataInput.struct_class = Types::RepositoryCatalogDataInput
495
496
 
497
+ RepositoryCatalogDataNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
498
+ RepositoryCatalogDataNotFoundException.struct_class = Types::RepositoryCatalogDataNotFoundException
499
+
496
500
  RepositoryList.member = Shapes::ShapeRef.new(shape: Repository)
497
501
 
498
502
  RepositoryNameList.member = Shapes::ShapeRef.new(shape: RepositoryName)
@@ -593,6 +597,7 @@ module Aws::ECRPublic
593
597
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
594
598
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
595
599
  o.errors << Shapes::ShapeRef.new(shape: RegistryNotFoundException)
600
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedCommandException)
596
601
  end)
597
602
 
598
603
  api.add_operation(:batch_delete_image, Seahorse::Model::Operation.new.tap do |o|
@@ -604,6 +609,7 @@ module Aws::ECRPublic
604
609
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
605
610
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
606
611
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
612
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedCommandException)
607
613
  end)
608
614
 
609
615
  api.add_operation(:complete_layer_upload, Seahorse::Model::Operation.new.tap do |o|
@@ -636,6 +642,7 @@ module Aws::ECRPublic
636
642
  o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
637
643
  o.errors << Shapes::ShapeRef.new(shape: RepositoryAlreadyExistsException)
638
644
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
645
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedCommandException)
639
646
  end)
640
647
 
641
648
  api.add_operation(:delete_repository, Seahorse::Model::Operation.new.tap do |o|
@@ -648,6 +655,7 @@ module Aws::ECRPublic
648
655
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
649
656
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
650
657
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotEmptyException)
658
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedCommandException)
651
659
  end)
652
660
 
653
661
  api.add_operation(:delete_repository_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -660,6 +668,7 @@ module Aws::ECRPublic
660
668
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
661
669
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
662
670
  o.errors << Shapes::ShapeRef.new(shape: RepositoryPolicyNotFoundException)
671
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedCommandException)
663
672
  end)
664
673
 
665
674
  api.add_operation(:describe_image_tags, Seahorse::Model::Operation.new.tap do |o|
@@ -671,6 +680,7 @@ module Aws::ECRPublic
671
680
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
672
681
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
673
682
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
683
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedCommandException)
674
684
  o[:pager] = Aws::Pager.new(
675
685
  limit_key: "max_results",
676
686
  tokens: {
@@ -689,6 +699,7 @@ module Aws::ECRPublic
689
699
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
690
700
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
691
701
  o.errors << Shapes::ShapeRef.new(shape: ImageNotFoundException)
702
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedCommandException)
692
703
  o[:pager] = Aws::Pager.new(
693
704
  limit_key: "max_results",
694
705
  tokens: {
@@ -723,6 +734,7 @@ module Aws::ECRPublic
723
734
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
724
735
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
725
736
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
737
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedCommandException)
726
738
  o[:pager] = Aws::Pager.new(
727
739
  limit_key: "max_results",
728
740
  tokens: {
@@ -739,6 +751,7 @@ module Aws::ECRPublic
739
751
  o.output = Shapes::ShapeRef.new(shape: GetAuthorizationTokenResponse)
740
752
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
741
753
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
754
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedCommandException)
742
755
  end)
743
756
 
744
757
  api.add_operation(:get_registry_catalog_data, Seahorse::Model::Operation.new.tap do |o|
@@ -759,7 +772,9 @@ module Aws::ECRPublic
759
772
  o.output = Shapes::ShapeRef.new(shape: GetRepositoryCatalogDataResponse)
760
773
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
761
774
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
775
+ o.errors << Shapes::ShapeRef.new(shape: RepositoryCatalogDataNotFoundException)
762
776
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
777
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedCommandException)
763
778
  end)
764
779
 
765
780
  api.add_operation(:get_repository_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -772,6 +787,7 @@ module Aws::ECRPublic
772
787
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
773
788
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
774
789
  o.errors << Shapes::ShapeRef.new(shape: RepositoryPolicyNotFoundException)
790
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedCommandException)
775
791
  end)
776
792
 
777
793
  api.add_operation(:initiate_layer_upload, Seahorse::Model::Operation.new.tap do |o|
@@ -795,6 +811,7 @@ module Aws::ECRPublic
795
811
  o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
796
812
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
797
813
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
814
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedCommandException)
798
815
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
799
816
  end)
800
817
 
@@ -837,6 +854,7 @@ module Aws::ECRPublic
837
854
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
838
855
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
839
856
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
857
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedCommandException)
840
858
  end)
841
859
 
842
860
  api.add_operation(:set_repository_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -848,6 +866,7 @@ module Aws::ECRPublic
848
866
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
849
867
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
850
868
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
869
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedCommandException)
851
870
  end)
852
871
 
853
872
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -860,6 +879,7 @@ module Aws::ECRPublic
860
879
  o.errors << Shapes::ShapeRef.new(shape: InvalidTagParameterException)
861
880
  o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
862
881
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
882
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedCommandException)
863
883
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
864
884
  end)
865
885
 
@@ -873,6 +893,7 @@ module Aws::ECRPublic
873
893
  o.errors << Shapes::ShapeRef.new(shape: InvalidTagParameterException)
874
894
  o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
875
895
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
896
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedCommandException)
876
897
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
877
898
  end)
878
899
 
@@ -0,0 +1,69 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::ECRPublic
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ if self[:region].nil?
54
+ raise ArgumentError, "Missing required EndpointParameter: :region"
55
+ end
56
+ self[:use_dual_stack] = options[:use_dual_stack]
57
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
+ if self[:use_dual_stack].nil?
59
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
60
+ end
61
+ self[:use_fips] = options[:use_fips]
62
+ self[:use_fips] = false if self[:use_fips].nil?
63
+ if self[:use_fips].nil?
64
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
65
+ end
66
+ self[:endpoint] = options[:endpoint]
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,111 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::ECRPublic
11
+ class EndpointProvider
12
+ def initialize(rule_set = nil)
13
+ @@rule_set ||= begin
14
+ endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
+ Aws::Endpoints::RuleSet.new(
16
+ version: endpoint_rules['version'],
17
+ service_id: endpoint_rules['serviceId'],
18
+ parameters: endpoint_rules['parameters'],
19
+ rules: endpoint_rules['rules']
20
+ )
21
+ end
22
+ @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
+ end
24
+
25
+ def resolve_endpoint(par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biI6ImJvb2xlYW5FcXVhbHMiLCJhcmd2IjpbdHJ1
96
+ ZSx7ImZuIjoiZ2V0QXR0ciIsImFyZ3YiOlt7InJlZiI6IlBhcnRpdGlvblJl
97
+ c3VsdCJ9LCJzdXBwb3J0c0R1YWxTdGFjayJdfV19XSwidHlwZSI6InRyZWUi
98
+ LCJydWxlcyI6W3siY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6
99
+ Imh0dHBzOi8vYXBpLmVjci1wdWJsaWMue1JlZ2lvbn0ue1BhcnRpdGlvblJl
100
+ c3VsdCNkdWFsU3RhY2tEbnNTdWZmaXh9IiwicHJvcGVydGllcyI6e30sImhl
101
+ YWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfSx7ImNvbmRpdGlvbnMi
102
+ OltdLCJlcnJvciI6IkR1YWxTdGFjayBpcyBlbmFibGVkIGJ1dCB0aGlzIHBh
103
+ cnRpdGlvbiBkb2VzIG5vdCBzdXBwb3J0IER1YWxTdGFjayIsInR5cGUiOiJl
104
+ cnJvciJ9XX0seyJjb25kaXRpb25zIjpbXSwiZW5kcG9pbnQiOnsidXJsIjoi
105
+ aHR0cHM6Ly9hcGkuZWNyLXB1YmxpYy57UmVnaW9ufS57UGFydGl0aW9uUmVz
106
+ dWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319
107
+ LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
108
+
109
+ JSON
110
+ end
111
+ end
@@ -0,0 +1,337 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::ECRPublic
12
+ module Endpoints
13
+
14
+ class BatchCheckLayerAvailability
15
+ def self.build(context)
16
+ unless context.config.regional_endpoint
17
+ endpoint = context.config.endpoint.to_s
18
+ end
19
+ Aws::ECRPublic::EndpointParameters.new(
20
+ region: context.config.region,
21
+ use_dual_stack: context.config.use_dualstack_endpoint,
22
+ use_fips: context.config.use_fips_endpoint,
23
+ endpoint: endpoint,
24
+ )
25
+ end
26
+ end
27
+
28
+ class BatchDeleteImage
29
+ def self.build(context)
30
+ unless context.config.regional_endpoint
31
+ endpoint = context.config.endpoint.to_s
32
+ end
33
+ Aws::ECRPublic::EndpointParameters.new(
34
+ region: context.config.region,
35
+ use_dual_stack: context.config.use_dualstack_endpoint,
36
+ use_fips: context.config.use_fips_endpoint,
37
+ endpoint: endpoint,
38
+ )
39
+ end
40
+ end
41
+
42
+ class CompleteLayerUpload
43
+ def self.build(context)
44
+ unless context.config.regional_endpoint
45
+ endpoint = context.config.endpoint.to_s
46
+ end
47
+ Aws::ECRPublic::EndpointParameters.new(
48
+ region: context.config.region,
49
+ use_dual_stack: context.config.use_dualstack_endpoint,
50
+ use_fips: context.config.use_fips_endpoint,
51
+ endpoint: endpoint,
52
+ )
53
+ end
54
+ end
55
+
56
+ class CreateRepository
57
+ def self.build(context)
58
+ unless context.config.regional_endpoint
59
+ endpoint = context.config.endpoint.to_s
60
+ end
61
+ Aws::ECRPublic::EndpointParameters.new(
62
+ region: context.config.region,
63
+ use_dual_stack: context.config.use_dualstack_endpoint,
64
+ use_fips: context.config.use_fips_endpoint,
65
+ endpoint: endpoint,
66
+ )
67
+ end
68
+ end
69
+
70
+ class DeleteRepository
71
+ def self.build(context)
72
+ unless context.config.regional_endpoint
73
+ endpoint = context.config.endpoint.to_s
74
+ end
75
+ Aws::ECRPublic::EndpointParameters.new(
76
+ region: context.config.region,
77
+ use_dual_stack: context.config.use_dualstack_endpoint,
78
+ use_fips: context.config.use_fips_endpoint,
79
+ endpoint: endpoint,
80
+ )
81
+ end
82
+ end
83
+
84
+ class DeleteRepositoryPolicy
85
+ def self.build(context)
86
+ unless context.config.regional_endpoint
87
+ endpoint = context.config.endpoint.to_s
88
+ end
89
+ Aws::ECRPublic::EndpointParameters.new(
90
+ region: context.config.region,
91
+ use_dual_stack: context.config.use_dualstack_endpoint,
92
+ use_fips: context.config.use_fips_endpoint,
93
+ endpoint: endpoint,
94
+ )
95
+ end
96
+ end
97
+
98
+ class DescribeImageTags
99
+ def self.build(context)
100
+ unless context.config.regional_endpoint
101
+ endpoint = context.config.endpoint.to_s
102
+ end
103
+ Aws::ECRPublic::EndpointParameters.new(
104
+ region: context.config.region,
105
+ use_dual_stack: context.config.use_dualstack_endpoint,
106
+ use_fips: context.config.use_fips_endpoint,
107
+ endpoint: endpoint,
108
+ )
109
+ end
110
+ end
111
+
112
+ class DescribeImages
113
+ def self.build(context)
114
+ unless context.config.regional_endpoint
115
+ endpoint = context.config.endpoint.to_s
116
+ end
117
+ Aws::ECRPublic::EndpointParameters.new(
118
+ region: context.config.region,
119
+ use_dual_stack: context.config.use_dualstack_endpoint,
120
+ use_fips: context.config.use_fips_endpoint,
121
+ endpoint: endpoint,
122
+ )
123
+ end
124
+ end
125
+
126
+ class DescribeRegistries
127
+ def self.build(context)
128
+ unless context.config.regional_endpoint
129
+ endpoint = context.config.endpoint.to_s
130
+ end
131
+ Aws::ECRPublic::EndpointParameters.new(
132
+ region: context.config.region,
133
+ use_dual_stack: context.config.use_dualstack_endpoint,
134
+ use_fips: context.config.use_fips_endpoint,
135
+ endpoint: endpoint,
136
+ )
137
+ end
138
+ end
139
+
140
+ class DescribeRepositories
141
+ def self.build(context)
142
+ unless context.config.regional_endpoint
143
+ endpoint = context.config.endpoint.to_s
144
+ end
145
+ Aws::ECRPublic::EndpointParameters.new(
146
+ region: context.config.region,
147
+ use_dual_stack: context.config.use_dualstack_endpoint,
148
+ use_fips: context.config.use_fips_endpoint,
149
+ endpoint: endpoint,
150
+ )
151
+ end
152
+ end
153
+
154
+ class GetAuthorizationToken
155
+ def self.build(context)
156
+ unless context.config.regional_endpoint
157
+ endpoint = context.config.endpoint.to_s
158
+ end
159
+ Aws::ECRPublic::EndpointParameters.new(
160
+ region: context.config.region,
161
+ use_dual_stack: context.config.use_dualstack_endpoint,
162
+ use_fips: context.config.use_fips_endpoint,
163
+ endpoint: endpoint,
164
+ )
165
+ end
166
+ end
167
+
168
+ class GetRegistryCatalogData
169
+ def self.build(context)
170
+ unless context.config.regional_endpoint
171
+ endpoint = context.config.endpoint.to_s
172
+ end
173
+ Aws::ECRPublic::EndpointParameters.new(
174
+ region: context.config.region,
175
+ use_dual_stack: context.config.use_dualstack_endpoint,
176
+ use_fips: context.config.use_fips_endpoint,
177
+ endpoint: endpoint,
178
+ )
179
+ end
180
+ end
181
+
182
+ class GetRepositoryCatalogData
183
+ def self.build(context)
184
+ unless context.config.regional_endpoint
185
+ endpoint = context.config.endpoint.to_s
186
+ end
187
+ Aws::ECRPublic::EndpointParameters.new(
188
+ region: context.config.region,
189
+ use_dual_stack: context.config.use_dualstack_endpoint,
190
+ use_fips: context.config.use_fips_endpoint,
191
+ endpoint: endpoint,
192
+ )
193
+ end
194
+ end
195
+
196
+ class GetRepositoryPolicy
197
+ def self.build(context)
198
+ unless context.config.regional_endpoint
199
+ endpoint = context.config.endpoint.to_s
200
+ end
201
+ Aws::ECRPublic::EndpointParameters.new(
202
+ region: context.config.region,
203
+ use_dual_stack: context.config.use_dualstack_endpoint,
204
+ use_fips: context.config.use_fips_endpoint,
205
+ endpoint: endpoint,
206
+ )
207
+ end
208
+ end
209
+
210
+ class InitiateLayerUpload
211
+ def self.build(context)
212
+ unless context.config.regional_endpoint
213
+ endpoint = context.config.endpoint.to_s
214
+ end
215
+ Aws::ECRPublic::EndpointParameters.new(
216
+ region: context.config.region,
217
+ use_dual_stack: context.config.use_dualstack_endpoint,
218
+ use_fips: context.config.use_fips_endpoint,
219
+ endpoint: endpoint,
220
+ )
221
+ end
222
+ end
223
+
224
+ class ListTagsForResource
225
+ def self.build(context)
226
+ unless context.config.regional_endpoint
227
+ endpoint = context.config.endpoint.to_s
228
+ end
229
+ Aws::ECRPublic::EndpointParameters.new(
230
+ region: context.config.region,
231
+ use_dual_stack: context.config.use_dualstack_endpoint,
232
+ use_fips: context.config.use_fips_endpoint,
233
+ endpoint: endpoint,
234
+ )
235
+ end
236
+ end
237
+
238
+ class PutImage
239
+ def self.build(context)
240
+ unless context.config.regional_endpoint
241
+ endpoint = context.config.endpoint.to_s
242
+ end
243
+ Aws::ECRPublic::EndpointParameters.new(
244
+ region: context.config.region,
245
+ use_dual_stack: context.config.use_dualstack_endpoint,
246
+ use_fips: context.config.use_fips_endpoint,
247
+ endpoint: endpoint,
248
+ )
249
+ end
250
+ end
251
+
252
+ class PutRegistryCatalogData
253
+ def self.build(context)
254
+ unless context.config.regional_endpoint
255
+ endpoint = context.config.endpoint.to_s
256
+ end
257
+ Aws::ECRPublic::EndpointParameters.new(
258
+ region: context.config.region,
259
+ use_dual_stack: context.config.use_dualstack_endpoint,
260
+ use_fips: context.config.use_fips_endpoint,
261
+ endpoint: endpoint,
262
+ )
263
+ end
264
+ end
265
+
266
+ class PutRepositoryCatalogData
267
+ def self.build(context)
268
+ unless context.config.regional_endpoint
269
+ endpoint = context.config.endpoint.to_s
270
+ end
271
+ Aws::ECRPublic::EndpointParameters.new(
272
+ region: context.config.region,
273
+ use_dual_stack: context.config.use_dualstack_endpoint,
274
+ use_fips: context.config.use_fips_endpoint,
275
+ endpoint: endpoint,
276
+ )
277
+ end
278
+ end
279
+
280
+ class SetRepositoryPolicy
281
+ def self.build(context)
282
+ unless context.config.regional_endpoint
283
+ endpoint = context.config.endpoint.to_s
284
+ end
285
+ Aws::ECRPublic::EndpointParameters.new(
286
+ region: context.config.region,
287
+ use_dual_stack: context.config.use_dualstack_endpoint,
288
+ use_fips: context.config.use_fips_endpoint,
289
+ endpoint: endpoint,
290
+ )
291
+ end
292
+ end
293
+
294
+ class TagResource
295
+ def self.build(context)
296
+ unless context.config.regional_endpoint
297
+ endpoint = context.config.endpoint.to_s
298
+ end
299
+ Aws::ECRPublic::EndpointParameters.new(
300
+ region: context.config.region,
301
+ use_dual_stack: context.config.use_dualstack_endpoint,
302
+ use_fips: context.config.use_fips_endpoint,
303
+ endpoint: endpoint,
304
+ )
305
+ end
306
+ end
307
+
308
+ class UntagResource
309
+ def self.build(context)
310
+ unless context.config.regional_endpoint
311
+ endpoint = context.config.endpoint.to_s
312
+ end
313
+ Aws::ECRPublic::EndpointParameters.new(
314
+ region: context.config.region,
315
+ use_dual_stack: context.config.use_dualstack_endpoint,
316
+ use_fips: context.config.use_fips_endpoint,
317
+ endpoint: endpoint,
318
+ )
319
+ end
320
+ end
321
+
322
+ class UploadLayerPart
323
+ def self.build(context)
324
+ unless context.config.regional_endpoint
325
+ endpoint = context.config.endpoint.to_s
326
+ end
327
+ Aws::ECRPublic::EndpointParameters.new(
328
+ region: context.config.region,
329
+ use_dual_stack: context.config.use_dualstack_endpoint,
330
+ use_fips: context.config.use_fips_endpoint,
331
+ endpoint: endpoint,
332
+ )
333
+ end
334
+ end
335
+
336
+ end
337
+ end
@@ -43,6 +43,7 @@ module Aws::ECRPublic
43
43
  # * {ReferencedImagesNotFoundException}
44
44
  # * {RegistryNotFoundException}
45
45
  # * {RepositoryAlreadyExistsException}
46
+ # * {RepositoryCatalogDataNotFoundException}
46
47
  # * {RepositoryNotEmptyException}
47
48
  # * {RepositoryNotFoundException}
48
49
  # * {RepositoryPolicyNotFoundException}
@@ -317,6 +318,21 @@ module Aws::ECRPublic
317
318
  end
318
319
  end
319
320
 
321
+ class RepositoryCatalogDataNotFoundException < ServiceError
322
+
323
+ # @param [Seahorse::Client::RequestContext] context
324
+ # @param [String] message
325
+ # @param [Aws::ECRPublic::Types::RepositoryCatalogDataNotFoundException] 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
+ end
335
+
320
336
  class RepositoryNotEmptyException < ServiceError
321
337
 
322
338
  # @param [Seahorse::Client::RequestContext] context