aws-sdk-codestarconnections 1.34.0 → 1.35.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -40,34 +40,6 @@ module Aws::CodeStarconnections
40
40
  end
41
41
  end
42
42
 
43
- class CreateRepositoryLink
44
- def self.build(context)
45
- unless context.config.regional_endpoint
46
- endpoint = context.config.endpoint.to_s
47
- end
48
- Aws::CodeStarconnections::EndpointParameters.new(
49
- region: context.config.region,
50
- use_dual_stack: context.config.use_dualstack_endpoint,
51
- use_fips: context.config.use_fips_endpoint,
52
- endpoint: endpoint,
53
- )
54
- end
55
- end
56
-
57
- class CreateSyncConfiguration
58
- def self.build(context)
59
- unless context.config.regional_endpoint
60
- endpoint = context.config.endpoint.to_s
61
- end
62
- Aws::CodeStarconnections::EndpointParameters.new(
63
- region: context.config.region,
64
- use_dual_stack: context.config.use_dualstack_endpoint,
65
- use_fips: context.config.use_fips_endpoint,
66
- endpoint: endpoint,
67
- )
68
- end
69
- end
70
-
71
43
  class DeleteConnection
72
44
  def self.build(context)
73
45
  unless context.config.regional_endpoint
@@ -96,34 +68,6 @@ module Aws::CodeStarconnections
96
68
  end
97
69
  end
98
70
 
99
- class DeleteRepositoryLink
100
- def self.build(context)
101
- unless context.config.regional_endpoint
102
- endpoint = context.config.endpoint.to_s
103
- end
104
- Aws::CodeStarconnections::EndpointParameters.new(
105
- region: context.config.region,
106
- use_dual_stack: context.config.use_dualstack_endpoint,
107
- use_fips: context.config.use_fips_endpoint,
108
- endpoint: endpoint,
109
- )
110
- end
111
- end
112
-
113
- class DeleteSyncConfiguration
114
- def self.build(context)
115
- unless context.config.regional_endpoint
116
- endpoint = context.config.endpoint.to_s
117
- end
118
- Aws::CodeStarconnections::EndpointParameters.new(
119
- region: context.config.region,
120
- use_dual_stack: context.config.use_dualstack_endpoint,
121
- use_fips: context.config.use_fips_endpoint,
122
- endpoint: endpoint,
123
- )
124
- end
125
- end
126
-
127
71
  class GetConnection
128
72
  def self.build(context)
129
73
  unless context.config.regional_endpoint
@@ -152,76 +96,6 @@ module Aws::CodeStarconnections
152
96
  end
153
97
  end
154
98
 
155
- class GetRepositoryLink
156
- def self.build(context)
157
- unless context.config.regional_endpoint
158
- endpoint = context.config.endpoint.to_s
159
- end
160
- Aws::CodeStarconnections::EndpointParameters.new(
161
- region: context.config.region,
162
- use_dual_stack: context.config.use_dualstack_endpoint,
163
- use_fips: context.config.use_fips_endpoint,
164
- endpoint: endpoint,
165
- )
166
- end
167
- end
168
-
169
- class GetRepositorySyncStatus
170
- def self.build(context)
171
- unless context.config.regional_endpoint
172
- endpoint = context.config.endpoint.to_s
173
- end
174
- Aws::CodeStarconnections::EndpointParameters.new(
175
- region: context.config.region,
176
- use_dual_stack: context.config.use_dualstack_endpoint,
177
- use_fips: context.config.use_fips_endpoint,
178
- endpoint: endpoint,
179
- )
180
- end
181
- end
182
-
183
- class GetResourceSyncStatus
184
- def self.build(context)
185
- unless context.config.regional_endpoint
186
- endpoint = context.config.endpoint.to_s
187
- end
188
- Aws::CodeStarconnections::EndpointParameters.new(
189
- region: context.config.region,
190
- use_dual_stack: context.config.use_dualstack_endpoint,
191
- use_fips: context.config.use_fips_endpoint,
192
- endpoint: endpoint,
193
- )
194
- end
195
- end
196
-
197
- class GetSyncBlockerSummary
198
- def self.build(context)
199
- unless context.config.regional_endpoint
200
- endpoint = context.config.endpoint.to_s
201
- end
202
- Aws::CodeStarconnections::EndpointParameters.new(
203
- region: context.config.region,
204
- use_dual_stack: context.config.use_dualstack_endpoint,
205
- use_fips: context.config.use_fips_endpoint,
206
- endpoint: endpoint,
207
- )
208
- end
209
- end
210
-
211
- class GetSyncConfiguration
212
- def self.build(context)
213
- unless context.config.regional_endpoint
214
- endpoint = context.config.endpoint.to_s
215
- end
216
- Aws::CodeStarconnections::EndpointParameters.new(
217
- region: context.config.region,
218
- use_dual_stack: context.config.use_dualstack_endpoint,
219
- use_fips: context.config.use_fips_endpoint,
220
- endpoint: endpoint,
221
- )
222
- end
223
- end
224
-
225
99
  class ListConnections
226
100
  def self.build(context)
227
101
  unless context.config.regional_endpoint
@@ -250,48 +124,6 @@ module Aws::CodeStarconnections
250
124
  end
251
125
  end
252
126
 
253
- class ListRepositoryLinks
254
- def self.build(context)
255
- unless context.config.regional_endpoint
256
- endpoint = context.config.endpoint.to_s
257
- end
258
- Aws::CodeStarconnections::EndpointParameters.new(
259
- region: context.config.region,
260
- use_dual_stack: context.config.use_dualstack_endpoint,
261
- use_fips: context.config.use_fips_endpoint,
262
- endpoint: endpoint,
263
- )
264
- end
265
- end
266
-
267
- class ListRepositorySyncDefinitions
268
- def self.build(context)
269
- unless context.config.regional_endpoint
270
- endpoint = context.config.endpoint.to_s
271
- end
272
- Aws::CodeStarconnections::EndpointParameters.new(
273
- region: context.config.region,
274
- use_dual_stack: context.config.use_dualstack_endpoint,
275
- use_fips: context.config.use_fips_endpoint,
276
- endpoint: endpoint,
277
- )
278
- end
279
- end
280
-
281
- class ListSyncConfigurations
282
- def self.build(context)
283
- unless context.config.regional_endpoint
284
- endpoint = context.config.endpoint.to_s
285
- end
286
- Aws::CodeStarconnections::EndpointParameters.new(
287
- region: context.config.region,
288
- use_dual_stack: context.config.use_dualstack_endpoint,
289
- use_fips: context.config.use_fips_endpoint,
290
- endpoint: endpoint,
291
- )
292
- end
293
- end
294
-
295
127
  class ListTagsForResource
296
128
  def self.build(context)
297
129
  unless context.config.regional_endpoint
@@ -348,47 +180,5 @@ module Aws::CodeStarconnections
348
180
  end
349
181
  end
350
182
 
351
- class UpdateRepositoryLink
352
- def self.build(context)
353
- unless context.config.regional_endpoint
354
- endpoint = context.config.endpoint.to_s
355
- end
356
- Aws::CodeStarconnections::EndpointParameters.new(
357
- region: context.config.region,
358
- use_dual_stack: context.config.use_dualstack_endpoint,
359
- use_fips: context.config.use_fips_endpoint,
360
- endpoint: endpoint,
361
- )
362
- end
363
- end
364
-
365
- class UpdateSyncBlocker
366
- def self.build(context)
367
- unless context.config.regional_endpoint
368
- endpoint = context.config.endpoint.to_s
369
- end
370
- Aws::CodeStarconnections::EndpointParameters.new(
371
- region: context.config.region,
372
- use_dual_stack: context.config.use_dualstack_endpoint,
373
- use_fips: context.config.use_fips_endpoint,
374
- endpoint: endpoint,
375
- )
376
- end
377
- end
378
-
379
- class UpdateSyncConfiguration
380
- def self.build(context)
381
- unless context.config.regional_endpoint
382
- endpoint = context.config.endpoint.to_s
383
- end
384
- Aws::CodeStarconnections::EndpointParameters.new(
385
- region: context.config.region,
386
- use_dual_stack: context.config.use_dualstack_endpoint,
387
- use_fips: context.config.use_fips_endpoint,
388
- endpoint: endpoint,
389
- )
390
- end
391
- end
392
-
393
183
  end
394
184
  end
@@ -27,23 +27,11 @@ module Aws::CodeStarconnections
27
27
  # See {Seahorse::Client::RequestContext} for more information.
28
28
  #
29
29
  # ## Error Classes
30
- # * {AccessDeniedException}
31
- # * {ConcurrentModificationException}
32
- # * {ConditionalCheckFailedException}
33
30
  # * {ConflictException}
34
- # * {InternalServerException}
35
- # * {InvalidInputException}
36
31
  # * {LimitExceededException}
37
- # * {ResourceAlreadyExistsException}
38
32
  # * {ResourceNotFoundException}
39
33
  # * {ResourceUnavailableException}
40
- # * {RetryLatestCommitFailedException}
41
- # * {SyncBlockerDoesNotExistException}
42
- # * {SyncConfigurationStillExistsException}
43
- # * {ThrottlingException}
44
34
  # * {UnsupportedOperationException}
45
- # * {UnsupportedProviderTypeException}
46
- # * {UpdateOutOfSyncException}
47
35
  #
48
36
  # Additionally, error classes are dynamically generated for service errors based on the error code
49
37
  # if they are not defined above.
@@ -51,51 +39,6 @@ module Aws::CodeStarconnections
51
39
 
52
40
  extend Aws::Errors::DynamicErrors
53
41
 
54
- class AccessDeniedException < ServiceError
55
-
56
- # @param [Seahorse::Client::RequestContext] context
57
- # @param [String] message
58
- # @param [Aws::CodeStarconnections::Types::AccessDeniedException] data
59
- def initialize(context, message, data = Aws::EmptyStructure.new)
60
- super(context, message, data)
61
- end
62
-
63
- # @return [String]
64
- def message
65
- @message || @data[:message]
66
- end
67
- end
68
-
69
- class ConcurrentModificationException < ServiceError
70
-
71
- # @param [Seahorse::Client::RequestContext] context
72
- # @param [String] message
73
- # @param [Aws::CodeStarconnections::Types::ConcurrentModificationException] data
74
- def initialize(context, message, data = Aws::EmptyStructure.new)
75
- super(context, message, data)
76
- end
77
-
78
- # @return [String]
79
- def message
80
- @message || @data[:message]
81
- end
82
- end
83
-
84
- class ConditionalCheckFailedException < ServiceError
85
-
86
- # @param [Seahorse::Client::RequestContext] context
87
- # @param [String] message
88
- # @param [Aws::CodeStarconnections::Types::ConditionalCheckFailedException] data
89
- def initialize(context, message, data = Aws::EmptyStructure.new)
90
- super(context, message, data)
91
- end
92
-
93
- # @return [String]
94
- def message
95
- @message || @data[:message]
96
- end
97
- end
98
-
99
42
  class ConflictException < ServiceError
100
43
 
101
44
  # @param [Seahorse::Client::RequestContext] context
@@ -111,36 +54,6 @@ module Aws::CodeStarconnections
111
54
  end
112
55
  end
113
56
 
114
- class InternalServerException < ServiceError
115
-
116
- # @param [Seahorse::Client::RequestContext] context
117
- # @param [String] message
118
- # @param [Aws::CodeStarconnections::Types::InternalServerException] data
119
- def initialize(context, message, data = Aws::EmptyStructure.new)
120
- super(context, message, data)
121
- end
122
-
123
- # @return [String]
124
- def message
125
- @message || @data[:message]
126
- end
127
- end
128
-
129
- class InvalidInputException < ServiceError
130
-
131
- # @param [Seahorse::Client::RequestContext] context
132
- # @param [String] message
133
- # @param [Aws::CodeStarconnections::Types::InvalidInputException] 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
- end
143
-
144
57
  class LimitExceededException < ServiceError
145
58
 
146
59
  # @param [Seahorse::Client::RequestContext] context
@@ -156,21 +69,6 @@ module Aws::CodeStarconnections
156
69
  end
157
70
  end
158
71
 
159
- class ResourceAlreadyExistsException < ServiceError
160
-
161
- # @param [Seahorse::Client::RequestContext] context
162
- # @param [String] message
163
- # @param [Aws::CodeStarconnections::Types::ResourceAlreadyExistsException] data
164
- def initialize(context, message, data = Aws::EmptyStructure.new)
165
- super(context, message, data)
166
- end
167
-
168
- # @return [String]
169
- def message
170
- @message || @data[:message]
171
- end
172
- end
173
-
174
72
  class ResourceNotFoundException < ServiceError
175
73
 
176
74
  # @param [Seahorse::Client::RequestContext] context
@@ -201,66 +99,6 @@ module Aws::CodeStarconnections
201
99
  end
202
100
  end
203
101
 
204
- class RetryLatestCommitFailedException < ServiceError
205
-
206
- # @param [Seahorse::Client::RequestContext] context
207
- # @param [String] message
208
- # @param [Aws::CodeStarconnections::Types::RetryLatestCommitFailedException] data
209
- def initialize(context, message, data = Aws::EmptyStructure.new)
210
- super(context, message, data)
211
- end
212
-
213
- # @return [String]
214
- def message
215
- @message || @data[:message]
216
- end
217
- end
218
-
219
- class SyncBlockerDoesNotExistException < ServiceError
220
-
221
- # @param [Seahorse::Client::RequestContext] context
222
- # @param [String] message
223
- # @param [Aws::CodeStarconnections::Types::SyncBlockerDoesNotExistException] data
224
- def initialize(context, message, data = Aws::EmptyStructure.new)
225
- super(context, message, data)
226
- end
227
-
228
- # @return [String]
229
- def message
230
- @message || @data[:message]
231
- end
232
- end
233
-
234
- class SyncConfigurationStillExistsException < ServiceError
235
-
236
- # @param [Seahorse::Client::RequestContext] context
237
- # @param [String] message
238
- # @param [Aws::CodeStarconnections::Types::SyncConfigurationStillExistsException] data
239
- def initialize(context, message, data = Aws::EmptyStructure.new)
240
- super(context, message, data)
241
- end
242
-
243
- # @return [String]
244
- def message
245
- @message || @data[:message]
246
- end
247
- end
248
-
249
- class ThrottlingException < ServiceError
250
-
251
- # @param [Seahorse::Client::RequestContext] context
252
- # @param [String] message
253
- # @param [Aws::CodeStarconnections::Types::ThrottlingException] data
254
- def initialize(context, message, data = Aws::EmptyStructure.new)
255
- super(context, message, data)
256
- end
257
-
258
- # @return [String]
259
- def message
260
- @message || @data[:message]
261
- end
262
- end
263
-
264
102
  class UnsupportedOperationException < ServiceError
265
103
 
266
104
  # @param [Seahorse::Client::RequestContext] context
@@ -276,35 +114,5 @@ module Aws::CodeStarconnections
276
114
  end
277
115
  end
278
116
 
279
- class UnsupportedProviderTypeException < ServiceError
280
-
281
- # @param [Seahorse::Client::RequestContext] context
282
- # @param [String] message
283
- # @param [Aws::CodeStarconnections::Types::UnsupportedProviderTypeException] data
284
- def initialize(context, message, data = Aws::EmptyStructure.new)
285
- super(context, message, data)
286
- end
287
-
288
- # @return [String]
289
- def message
290
- @message || @data[:message]
291
- end
292
- end
293
-
294
- class UpdateOutOfSyncException < ServiceError
295
-
296
- # @param [Seahorse::Client::RequestContext] context
297
- # @param [String] message
298
- # @param [Aws::CodeStarconnections::Types::UpdateOutOfSyncException] data
299
- def initialize(context, message, data = Aws::EmptyStructure.new)
300
- super(context, message, data)
301
- end
302
-
303
- # @return [String]
304
- def message
305
- @message || @data[:message]
306
- end
307
- end
308
-
309
117
  end
310
118
  end
@@ -60,42 +60,18 @@ module Aws::CodeStarconnections
60
60
  Aws::CodeStarconnections::Endpoints::CreateConnection.build(context)
61
61
  when :create_host
62
62
  Aws::CodeStarconnections::Endpoints::CreateHost.build(context)
63
- when :create_repository_link
64
- Aws::CodeStarconnections::Endpoints::CreateRepositoryLink.build(context)
65
- when :create_sync_configuration
66
- Aws::CodeStarconnections::Endpoints::CreateSyncConfiguration.build(context)
67
63
  when :delete_connection
68
64
  Aws::CodeStarconnections::Endpoints::DeleteConnection.build(context)
69
65
  when :delete_host
70
66
  Aws::CodeStarconnections::Endpoints::DeleteHost.build(context)
71
- when :delete_repository_link
72
- Aws::CodeStarconnections::Endpoints::DeleteRepositoryLink.build(context)
73
- when :delete_sync_configuration
74
- Aws::CodeStarconnections::Endpoints::DeleteSyncConfiguration.build(context)
75
67
  when :get_connection
76
68
  Aws::CodeStarconnections::Endpoints::GetConnection.build(context)
77
69
  when :get_host
78
70
  Aws::CodeStarconnections::Endpoints::GetHost.build(context)
79
- when :get_repository_link
80
- Aws::CodeStarconnections::Endpoints::GetRepositoryLink.build(context)
81
- when :get_repository_sync_status
82
- Aws::CodeStarconnections::Endpoints::GetRepositorySyncStatus.build(context)
83
- when :get_resource_sync_status
84
- Aws::CodeStarconnections::Endpoints::GetResourceSyncStatus.build(context)
85
- when :get_sync_blocker_summary
86
- Aws::CodeStarconnections::Endpoints::GetSyncBlockerSummary.build(context)
87
- when :get_sync_configuration
88
- Aws::CodeStarconnections::Endpoints::GetSyncConfiguration.build(context)
89
71
  when :list_connections
90
72
  Aws::CodeStarconnections::Endpoints::ListConnections.build(context)
91
73
  when :list_hosts
92
74
  Aws::CodeStarconnections::Endpoints::ListHosts.build(context)
93
- when :list_repository_links
94
- Aws::CodeStarconnections::Endpoints::ListRepositoryLinks.build(context)
95
- when :list_repository_sync_definitions
96
- Aws::CodeStarconnections::Endpoints::ListRepositorySyncDefinitions.build(context)
97
- when :list_sync_configurations
98
- Aws::CodeStarconnections::Endpoints::ListSyncConfigurations.build(context)
99
75
  when :list_tags_for_resource
100
76
  Aws::CodeStarconnections::Endpoints::ListTagsForResource.build(context)
101
77
  when :tag_resource
@@ -104,12 +80,6 @@ module Aws::CodeStarconnections
104
80
  Aws::CodeStarconnections::Endpoints::UntagResource.build(context)
105
81
  when :update_host
106
82
  Aws::CodeStarconnections::Endpoints::UpdateHost.build(context)
107
- when :update_repository_link
108
- Aws::CodeStarconnections::Endpoints::UpdateRepositoryLink.build(context)
109
- when :update_sync_blocker
110
- Aws::CodeStarconnections::Endpoints::UpdateSyncBlocker.build(context)
111
- when :update_sync_configuration
112
- Aws::CodeStarconnections::Endpoints::UpdateSyncConfiguration.build(context)
113
83
  end
114
84
  end
115
85
  end