aws-sdk-codecatalyst 1.29.0 → 1.30.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 83221674b2a15574af642e4b9d3ff929ddb61c1acc7e4a47254b8e6249393ea5
4
- data.tar.gz: 26361c32073f1c09551d29c862f8fd59e72dad357b62d81410de2e585088fbfa
3
+ metadata.gz: 4493ae385c4faa2781ae3e1d343944d75f53ad628aba0974f8c898f7049a2198
4
+ data.tar.gz: 9f7a2e00356502b98acf96b917093a5ab5d25206483f6d19092db2e38c4b5c18
5
5
  SHA512:
6
- metadata.gz: fc785be51fdbd832672dd0da415be59705d8ef3722447eca84925a8f62a6230302f391f6c32a55eaed0643c505da41944ebfc8c9565243363e4275aab154aa14
7
- data.tar.gz: 9547fb3a56bc498af137b9e4e7dc54b306d58d2d6669bd7f87d856ee712301c74c1dbafcc7452037cf12a3382b55c4a3bb47d415738544096e2e480651c7e896
6
+ metadata.gz: 25af70feaba9d798983a05d6cc9d22ce0084a91d1c6cf6afb6f60af18af4088ee92f8923b46e2693b44abcef1baef2ee69fb70ed301df0f678cdabdfb2b637bb
7
+ data.tar.gz: 3e16b86881fa9e0466db5ee9c3de27e80f0c5220fea333ce8c901652ea42a16389f376ab7c30dd450e3efeab5c21826a0b00a8ef0746372d5998e73591e8037d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.30.0 (2024-10-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.29.0 (2024-09-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.29.0
1
+ 1.30.0
@@ -2461,7 +2461,7 @@ module Aws::CodeCatalyst
2461
2461
  tracer: tracer
2462
2462
  )
2463
2463
  context[:gem_name] = 'aws-sdk-codecatalyst'
2464
- context[:gem_version] = '1.29.0'
2464
+ context[:gem_version] = '1.30.0'
2465
2465
  Seahorse::Client::Request.new(handlers, context)
2466
2466
  end
2467
2467
 
@@ -44,11 +44,16 @@ module Aws::CodeCatalyst
44
44
  def initialize(options = {})
45
45
  self[:use_fips] = options[:use_fips]
46
46
  self[:use_fips] = false if self[:use_fips].nil?
47
- if self[:use_fips].nil?
48
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
49
- end
50
47
  self[:region] = options[:region]
51
48
  self[:endpoint] = options[:endpoint]
52
49
  end
50
+
51
+ def self.create(config, options={})
52
+ new({
53
+ use_fips: config.use_fips_endpoint,
54
+ region: config.region,
55
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
56
+ }.merge(options))
57
+ end
53
58
  end
54
59
  end
@@ -12,385 +12,9 @@ module Aws::CodeCatalyst
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
- class CreateAccessToken
16
- def self.build(context)
17
- Aws::CodeCatalyst::EndpointParameters.new(
18
- use_fips: context.config.use_fips_endpoint,
19
- region: context.config.region,
20
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
21
- )
22
- end
23
- end
24
-
25
- class CreateDevEnvironment
26
- def self.build(context)
27
- Aws::CodeCatalyst::EndpointParameters.new(
28
- use_fips: context.config.use_fips_endpoint,
29
- region: context.config.region,
30
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
31
- )
32
- end
33
- end
34
-
35
- class CreateProject
36
- def self.build(context)
37
- Aws::CodeCatalyst::EndpointParameters.new(
38
- use_fips: context.config.use_fips_endpoint,
39
- region: context.config.region,
40
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
41
- )
42
- end
43
- end
44
-
45
- class CreateSourceRepository
46
- def self.build(context)
47
- Aws::CodeCatalyst::EndpointParameters.new(
48
- use_fips: context.config.use_fips_endpoint,
49
- region: context.config.region,
50
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
51
- )
52
- end
53
- end
54
-
55
- class CreateSourceRepositoryBranch
56
- def self.build(context)
57
- Aws::CodeCatalyst::EndpointParameters.new(
58
- use_fips: context.config.use_fips_endpoint,
59
- region: context.config.region,
60
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
61
- )
62
- end
63
- end
64
-
65
- class DeleteAccessToken
66
- def self.build(context)
67
- Aws::CodeCatalyst::EndpointParameters.new(
68
- use_fips: context.config.use_fips_endpoint,
69
- region: context.config.region,
70
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
71
- )
72
- end
73
- end
74
-
75
- class DeleteDevEnvironment
76
- def self.build(context)
77
- Aws::CodeCatalyst::EndpointParameters.new(
78
- use_fips: context.config.use_fips_endpoint,
79
- region: context.config.region,
80
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
81
- )
82
- end
83
- end
84
-
85
- class DeleteProject
86
- def self.build(context)
87
- Aws::CodeCatalyst::EndpointParameters.new(
88
- use_fips: context.config.use_fips_endpoint,
89
- region: context.config.region,
90
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
91
- )
92
- end
93
- end
94
-
95
- class DeleteSourceRepository
96
- def self.build(context)
97
- Aws::CodeCatalyst::EndpointParameters.new(
98
- use_fips: context.config.use_fips_endpoint,
99
- region: context.config.region,
100
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
101
- )
102
- end
103
- end
104
-
105
- class DeleteSpace
106
- def self.build(context)
107
- Aws::CodeCatalyst::EndpointParameters.new(
108
- use_fips: context.config.use_fips_endpoint,
109
- region: context.config.region,
110
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
111
- )
112
- end
113
- end
114
-
115
- class GetDevEnvironment
116
- def self.build(context)
117
- Aws::CodeCatalyst::EndpointParameters.new(
118
- use_fips: context.config.use_fips_endpoint,
119
- region: context.config.region,
120
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
121
- )
122
- end
123
- end
124
-
125
- class GetProject
126
- def self.build(context)
127
- Aws::CodeCatalyst::EndpointParameters.new(
128
- use_fips: context.config.use_fips_endpoint,
129
- region: context.config.region,
130
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
131
- )
132
- end
133
- end
134
-
135
- class GetSourceRepository
136
- def self.build(context)
137
- Aws::CodeCatalyst::EndpointParameters.new(
138
- use_fips: context.config.use_fips_endpoint,
139
- region: context.config.region,
140
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
141
- )
142
- end
143
- end
144
-
145
- class GetSourceRepositoryCloneUrls
146
- def self.build(context)
147
- Aws::CodeCatalyst::EndpointParameters.new(
148
- use_fips: context.config.use_fips_endpoint,
149
- region: context.config.region,
150
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
151
- )
152
- end
153
- end
154
-
155
- class GetSpace
156
- def self.build(context)
157
- Aws::CodeCatalyst::EndpointParameters.new(
158
- use_fips: context.config.use_fips_endpoint,
159
- region: context.config.region,
160
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
161
- )
162
- end
163
- end
164
-
165
- class GetSubscription
166
- def self.build(context)
167
- Aws::CodeCatalyst::EndpointParameters.new(
168
- use_fips: context.config.use_fips_endpoint,
169
- region: context.config.region,
170
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
171
- )
172
- end
173
- end
174
-
175
- class GetUserDetails
176
- def self.build(context)
177
- Aws::CodeCatalyst::EndpointParameters.new(
178
- use_fips: context.config.use_fips_endpoint,
179
- region: context.config.region,
180
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
181
- )
182
- end
183
- end
184
-
185
- class GetWorkflow
186
- def self.build(context)
187
- Aws::CodeCatalyst::EndpointParameters.new(
188
- use_fips: context.config.use_fips_endpoint,
189
- region: context.config.region,
190
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
191
- )
192
- end
193
- end
194
-
195
- class GetWorkflowRun
196
- def self.build(context)
197
- Aws::CodeCatalyst::EndpointParameters.new(
198
- use_fips: context.config.use_fips_endpoint,
199
- region: context.config.region,
200
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
201
- )
202
- end
203
- end
204
15
 
205
- class ListAccessTokens
206
- def self.build(context)
207
- Aws::CodeCatalyst::EndpointParameters.new(
208
- use_fips: context.config.use_fips_endpoint,
209
- region: context.config.region,
210
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
211
- )
212
- end
16
+ def self.parameters_for_operation(context)
17
+ Aws::CodeCatalyst::EndpointParameters.create(context.config)
213
18
  end
214
-
215
- class ListDevEnvironmentSessions
216
- def self.build(context)
217
- Aws::CodeCatalyst::EndpointParameters.new(
218
- use_fips: context.config.use_fips_endpoint,
219
- region: context.config.region,
220
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
221
- )
222
- end
223
- end
224
-
225
- class ListDevEnvironments
226
- def self.build(context)
227
- Aws::CodeCatalyst::EndpointParameters.new(
228
- use_fips: context.config.use_fips_endpoint,
229
- region: context.config.region,
230
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
231
- )
232
- end
233
- end
234
-
235
- class ListEventLogs
236
- def self.build(context)
237
- Aws::CodeCatalyst::EndpointParameters.new(
238
- use_fips: context.config.use_fips_endpoint,
239
- region: context.config.region,
240
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
241
- )
242
- end
243
- end
244
-
245
- class ListProjects
246
- def self.build(context)
247
- Aws::CodeCatalyst::EndpointParameters.new(
248
- use_fips: context.config.use_fips_endpoint,
249
- region: context.config.region,
250
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
251
- )
252
- end
253
- end
254
-
255
- class ListSourceRepositories
256
- def self.build(context)
257
- Aws::CodeCatalyst::EndpointParameters.new(
258
- use_fips: context.config.use_fips_endpoint,
259
- region: context.config.region,
260
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
261
- )
262
- end
263
- end
264
-
265
- class ListSourceRepositoryBranches
266
- def self.build(context)
267
- Aws::CodeCatalyst::EndpointParameters.new(
268
- use_fips: context.config.use_fips_endpoint,
269
- region: context.config.region,
270
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
271
- )
272
- end
273
- end
274
-
275
- class ListSpaces
276
- def self.build(context)
277
- Aws::CodeCatalyst::EndpointParameters.new(
278
- use_fips: context.config.use_fips_endpoint,
279
- region: context.config.region,
280
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
281
- )
282
- end
283
- end
284
-
285
- class ListWorkflowRuns
286
- def self.build(context)
287
- Aws::CodeCatalyst::EndpointParameters.new(
288
- use_fips: context.config.use_fips_endpoint,
289
- region: context.config.region,
290
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
291
- )
292
- end
293
- end
294
-
295
- class ListWorkflows
296
- def self.build(context)
297
- Aws::CodeCatalyst::EndpointParameters.new(
298
- use_fips: context.config.use_fips_endpoint,
299
- region: context.config.region,
300
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
301
- )
302
- end
303
- end
304
-
305
- class StartDevEnvironment
306
- def self.build(context)
307
- Aws::CodeCatalyst::EndpointParameters.new(
308
- use_fips: context.config.use_fips_endpoint,
309
- region: context.config.region,
310
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
311
- )
312
- end
313
- end
314
-
315
- class StartDevEnvironmentSession
316
- def self.build(context)
317
- Aws::CodeCatalyst::EndpointParameters.new(
318
- use_fips: context.config.use_fips_endpoint,
319
- region: context.config.region,
320
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
321
- )
322
- end
323
- end
324
-
325
- class StartWorkflowRun
326
- def self.build(context)
327
- Aws::CodeCatalyst::EndpointParameters.new(
328
- use_fips: context.config.use_fips_endpoint,
329
- region: context.config.region,
330
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
331
- )
332
- end
333
- end
334
-
335
- class StopDevEnvironment
336
- def self.build(context)
337
- Aws::CodeCatalyst::EndpointParameters.new(
338
- use_fips: context.config.use_fips_endpoint,
339
- region: context.config.region,
340
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
341
- )
342
- end
343
- end
344
-
345
- class StopDevEnvironmentSession
346
- def self.build(context)
347
- Aws::CodeCatalyst::EndpointParameters.new(
348
- use_fips: context.config.use_fips_endpoint,
349
- region: context.config.region,
350
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
351
- )
352
- end
353
- end
354
-
355
- class UpdateDevEnvironment
356
- def self.build(context)
357
- Aws::CodeCatalyst::EndpointParameters.new(
358
- use_fips: context.config.use_fips_endpoint,
359
- region: context.config.region,
360
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
361
- )
362
- end
363
- end
364
-
365
- class UpdateProject
366
- def self.build(context)
367
- Aws::CodeCatalyst::EndpointParameters.new(
368
- use_fips: context.config.use_fips_endpoint,
369
- region: context.config.region,
370
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
371
- )
372
- end
373
- end
374
-
375
- class UpdateSpace
376
- def self.build(context)
377
- Aws::CodeCatalyst::EndpointParameters.new(
378
- use_fips: context.config.use_fips_endpoint,
379
- region: context.config.region,
380
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
381
- )
382
- end
383
- end
384
-
385
- class VerifySession
386
- def self.build(context)
387
- Aws::CodeCatalyst::EndpointParameters.new(
388
- use_fips: context.config.use_fips_endpoint,
389
- region: context.config.region,
390
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
391
- )
392
- end
393
- end
394
-
395
19
  end
396
20
  end
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
27
27
  class Handler < Seahorse::Client::Handler
28
28
  def call(context)
29
29
  unless context[:discovered_endpoint]
30
- params = parameters_for_operation(context)
30
+ params = Aws::CodeCatalyst::Endpoints.parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
@@ -67,87 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
67
67
  context.http_request.headers[key] = value
68
68
  end
69
69
  end
70
-
71
- def parameters_for_operation(context)
72
- case context.operation_name
73
- when :create_access_token
74
- Aws::CodeCatalyst::Endpoints::CreateAccessToken.build(context)
75
- when :create_dev_environment
76
- Aws::CodeCatalyst::Endpoints::CreateDevEnvironment.build(context)
77
- when :create_project
78
- Aws::CodeCatalyst::Endpoints::CreateProject.build(context)
79
- when :create_source_repository
80
- Aws::CodeCatalyst::Endpoints::CreateSourceRepository.build(context)
81
- when :create_source_repository_branch
82
- Aws::CodeCatalyst::Endpoints::CreateSourceRepositoryBranch.build(context)
83
- when :delete_access_token
84
- Aws::CodeCatalyst::Endpoints::DeleteAccessToken.build(context)
85
- when :delete_dev_environment
86
- Aws::CodeCatalyst::Endpoints::DeleteDevEnvironment.build(context)
87
- when :delete_project
88
- Aws::CodeCatalyst::Endpoints::DeleteProject.build(context)
89
- when :delete_source_repository
90
- Aws::CodeCatalyst::Endpoints::DeleteSourceRepository.build(context)
91
- when :delete_space
92
- Aws::CodeCatalyst::Endpoints::DeleteSpace.build(context)
93
- when :get_dev_environment
94
- Aws::CodeCatalyst::Endpoints::GetDevEnvironment.build(context)
95
- when :get_project
96
- Aws::CodeCatalyst::Endpoints::GetProject.build(context)
97
- when :get_source_repository
98
- Aws::CodeCatalyst::Endpoints::GetSourceRepository.build(context)
99
- when :get_source_repository_clone_urls
100
- Aws::CodeCatalyst::Endpoints::GetSourceRepositoryCloneUrls.build(context)
101
- when :get_space
102
- Aws::CodeCatalyst::Endpoints::GetSpace.build(context)
103
- when :get_subscription
104
- Aws::CodeCatalyst::Endpoints::GetSubscription.build(context)
105
- when :get_user_details
106
- Aws::CodeCatalyst::Endpoints::GetUserDetails.build(context)
107
- when :get_workflow
108
- Aws::CodeCatalyst::Endpoints::GetWorkflow.build(context)
109
- when :get_workflow_run
110
- Aws::CodeCatalyst::Endpoints::GetWorkflowRun.build(context)
111
- when :list_access_tokens
112
- Aws::CodeCatalyst::Endpoints::ListAccessTokens.build(context)
113
- when :list_dev_environment_sessions
114
- Aws::CodeCatalyst::Endpoints::ListDevEnvironmentSessions.build(context)
115
- when :list_dev_environments
116
- Aws::CodeCatalyst::Endpoints::ListDevEnvironments.build(context)
117
- when :list_event_logs
118
- Aws::CodeCatalyst::Endpoints::ListEventLogs.build(context)
119
- when :list_projects
120
- Aws::CodeCatalyst::Endpoints::ListProjects.build(context)
121
- when :list_source_repositories
122
- Aws::CodeCatalyst::Endpoints::ListSourceRepositories.build(context)
123
- when :list_source_repository_branches
124
- Aws::CodeCatalyst::Endpoints::ListSourceRepositoryBranches.build(context)
125
- when :list_spaces
126
- Aws::CodeCatalyst::Endpoints::ListSpaces.build(context)
127
- when :list_workflow_runs
128
- Aws::CodeCatalyst::Endpoints::ListWorkflowRuns.build(context)
129
- when :list_workflows
130
- Aws::CodeCatalyst::Endpoints::ListWorkflows.build(context)
131
- when :start_dev_environment
132
- Aws::CodeCatalyst::Endpoints::StartDevEnvironment.build(context)
133
- when :start_dev_environment_session
134
- Aws::CodeCatalyst::Endpoints::StartDevEnvironmentSession.build(context)
135
- when :start_workflow_run
136
- Aws::CodeCatalyst::Endpoints::StartWorkflowRun.build(context)
137
- when :stop_dev_environment
138
- Aws::CodeCatalyst::Endpoints::StopDevEnvironment.build(context)
139
- when :stop_dev_environment_session
140
- Aws::CodeCatalyst::Endpoints::StopDevEnvironmentSession.build(context)
141
- when :update_dev_environment
142
- Aws::CodeCatalyst::Endpoints::UpdateDevEnvironment.build(context)
143
- when :update_project
144
- Aws::CodeCatalyst::Endpoints::UpdateProject.build(context)
145
- when :update_space
146
- Aws::CodeCatalyst::Endpoints::UpdateSpace.build(context)
147
- when :verify_session
148
- Aws::CodeCatalyst::Endpoints::VerifySession.build(context)
149
- end
150
- end
151
70
  end
152
71
 
153
72
  def add_handlers(handlers, _config)
@@ -54,7 +54,7 @@ module Aws::CodeCatalyst
54
54
  autoload :EndpointProvider, 'aws-sdk-codecatalyst/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-codecatalyst/endpoints'
56
56
 
57
- GEM_VERSION = '1.29.0'
57
+ GEM_VERSION = '1.30.0'
58
58
 
59
59
  end
60
60
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-codecatalyst
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.29.0
4
+ version: 1.30.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: 2024-09-24 00:00:00.000000000 Z
11
+ date: 2024-10-18 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.207.0
22
+ version: 3.210.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.207.0
32
+ version: 3.210.0
33
33
  description: Official AWS Ruby gem for Amazon CodeCatalyst. This gem is part of the
34
34
  AWS SDK for Ruby.
35
35
  email: