aws-sdk-pcs 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/types.rbs ADDED
@@ -0,0 +1,475 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::PCS
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class Cluster
17
+ attr_accessor name: ::String
18
+ attr_accessor id: ::String
19
+ attr_accessor arn: ::String
20
+ attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED")
21
+ attr_accessor created_at: ::Time
22
+ attr_accessor modified_at: ::Time
23
+ attr_accessor scheduler: Types::Scheduler
24
+ attr_accessor size: ("SMALL" | "MEDIUM" | "LARGE")
25
+ attr_accessor slurm_configuration: Types::ClusterSlurmConfiguration
26
+ attr_accessor networking: Types::Networking
27
+ attr_accessor endpoints: ::Array[Types::Endpoint]
28
+ attr_accessor error_info: ::Array[Types::ErrorInfo]
29
+ SENSITIVE: []
30
+ end
31
+
32
+ class ClusterSlurmConfiguration
33
+ attr_accessor scale_down_idle_time_in_seconds: ::Integer
34
+ attr_accessor slurm_custom_settings: ::Array[Types::SlurmCustomSetting]
35
+ attr_accessor auth_key: Types::SlurmAuthKey
36
+ SENSITIVE: []
37
+ end
38
+
39
+ class ClusterSlurmConfigurationRequest
40
+ attr_accessor scale_down_idle_time_in_seconds: ::Integer
41
+ attr_accessor slurm_custom_settings: ::Array[Types::SlurmCustomSetting]
42
+ SENSITIVE: []
43
+ end
44
+
45
+ class ClusterSummary
46
+ attr_accessor name: ::String
47
+ attr_accessor id: ::String
48
+ attr_accessor arn: ::String
49
+ attr_accessor created_at: ::Time
50
+ attr_accessor modified_at: ::Time
51
+ attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED")
52
+ SENSITIVE: []
53
+ end
54
+
55
+ class ComputeNodeGroup
56
+ attr_accessor name: ::String
57
+ attr_accessor id: ::String
58
+ attr_accessor arn: ::String
59
+ attr_accessor cluster_id: ::String
60
+ attr_accessor created_at: ::Time
61
+ attr_accessor modified_at: ::Time
62
+ attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED" | "DELETED")
63
+ attr_accessor ami_id: ::String
64
+ attr_accessor subnet_ids: ::Array[::String]
65
+ attr_accessor purchase_option: ("ONDEMAND" | "SPOT")
66
+ attr_accessor custom_launch_template: Types::CustomLaunchTemplate
67
+ attr_accessor iam_instance_profile_arn: ::String
68
+ attr_accessor scaling_configuration: Types::ScalingConfiguration
69
+ attr_accessor instance_configs: ::Array[Types::InstanceConfig]
70
+ attr_accessor spot_options: Types::SpotOptions
71
+ attr_accessor slurm_configuration: Types::ComputeNodeGroupSlurmConfiguration
72
+ attr_accessor error_info: ::Array[Types::ErrorInfo]
73
+ SENSITIVE: []
74
+ end
75
+
76
+ class ComputeNodeGroupConfiguration
77
+ attr_accessor compute_node_group_id: ::String
78
+ SENSITIVE: []
79
+ end
80
+
81
+ class ComputeNodeGroupSlurmConfiguration
82
+ attr_accessor slurm_custom_settings: ::Array[Types::SlurmCustomSetting]
83
+ SENSITIVE: []
84
+ end
85
+
86
+ class ComputeNodeGroupSlurmConfigurationRequest
87
+ attr_accessor slurm_custom_settings: ::Array[Types::SlurmCustomSetting]
88
+ SENSITIVE: []
89
+ end
90
+
91
+ class ComputeNodeGroupSummary
92
+ attr_accessor name: ::String
93
+ attr_accessor id: ::String
94
+ attr_accessor arn: ::String
95
+ attr_accessor cluster_id: ::String
96
+ attr_accessor created_at: ::Time
97
+ attr_accessor modified_at: ::Time
98
+ attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED" | "DELETED")
99
+ SENSITIVE: []
100
+ end
101
+
102
+ class ConflictException
103
+ attr_accessor message: ::String
104
+ attr_accessor resource_id: ::String
105
+ attr_accessor resource_type: ::String
106
+ SENSITIVE: []
107
+ end
108
+
109
+ class CreateClusterRequest
110
+ attr_accessor cluster_name: ::String
111
+ attr_accessor scheduler: Types::SchedulerRequest
112
+ attr_accessor size: ("SMALL" | "MEDIUM" | "LARGE")
113
+ attr_accessor networking: Types::NetworkingRequest
114
+ attr_accessor slurm_configuration: Types::ClusterSlurmConfigurationRequest
115
+ attr_accessor client_token: ::String
116
+ attr_accessor tags: ::Hash[::String, ::String]
117
+ SENSITIVE: []
118
+ end
119
+
120
+ class CreateClusterResponse
121
+ attr_accessor cluster: Types::Cluster
122
+ SENSITIVE: []
123
+ end
124
+
125
+ class CreateComputeNodeGroupRequest
126
+ attr_accessor cluster_identifier: ::String
127
+ attr_accessor compute_node_group_name: ::String
128
+ attr_accessor ami_id: ::String
129
+ attr_accessor subnet_ids: ::Array[::String]
130
+ attr_accessor purchase_option: ("ONDEMAND" | "SPOT")
131
+ attr_accessor custom_launch_template: Types::CustomLaunchTemplate
132
+ attr_accessor iam_instance_profile_arn: ::String
133
+ attr_accessor scaling_configuration: Types::ScalingConfigurationRequest
134
+ attr_accessor instance_configs: ::Array[Types::InstanceConfig]
135
+ attr_accessor spot_options: Types::SpotOptions
136
+ attr_accessor slurm_configuration: Types::ComputeNodeGroupSlurmConfigurationRequest
137
+ attr_accessor client_token: ::String
138
+ attr_accessor tags: ::Hash[::String, ::String]
139
+ SENSITIVE: []
140
+ end
141
+
142
+ class CreateComputeNodeGroupResponse
143
+ attr_accessor compute_node_group: Types::ComputeNodeGroup
144
+ SENSITIVE: []
145
+ end
146
+
147
+ class CreateQueueRequest
148
+ attr_accessor cluster_identifier: ::String
149
+ attr_accessor queue_name: ::String
150
+ attr_accessor compute_node_group_configurations: ::Array[Types::ComputeNodeGroupConfiguration]
151
+ attr_accessor client_token: ::String
152
+ attr_accessor tags: ::Hash[::String, ::String]
153
+ SENSITIVE: []
154
+ end
155
+
156
+ class CreateQueueResponse
157
+ attr_accessor queue: Types::Queue
158
+ SENSITIVE: []
159
+ end
160
+
161
+ class CustomLaunchTemplate
162
+ attr_accessor id: ::String
163
+ attr_accessor version: ::String
164
+ SENSITIVE: []
165
+ end
166
+
167
+ class DeleteClusterRequest
168
+ attr_accessor cluster_identifier: ::String
169
+ attr_accessor client_token: ::String
170
+ SENSITIVE: []
171
+ end
172
+
173
+ class DeleteClusterResponse < Aws::EmptyStructure
174
+ end
175
+
176
+ class DeleteComputeNodeGroupRequest
177
+ attr_accessor cluster_identifier: ::String
178
+ attr_accessor compute_node_group_identifier: ::String
179
+ attr_accessor client_token: ::String
180
+ SENSITIVE: []
181
+ end
182
+
183
+ class DeleteComputeNodeGroupResponse < Aws::EmptyStructure
184
+ end
185
+
186
+ class DeleteQueueRequest
187
+ attr_accessor cluster_identifier: ::String
188
+ attr_accessor queue_identifier: ::String
189
+ attr_accessor client_token: ::String
190
+ SENSITIVE: []
191
+ end
192
+
193
+ class DeleteQueueResponse < Aws::EmptyStructure
194
+ end
195
+
196
+ class Endpoint
197
+ attr_accessor type: ("SLURMCTLD" | "SLURMDBD")
198
+ attr_accessor private_ip_address: ::String
199
+ attr_accessor public_ip_address: ::String
200
+ attr_accessor port: ::String
201
+ SENSITIVE: []
202
+ end
203
+
204
+ class ErrorInfo
205
+ attr_accessor code: ::String
206
+ attr_accessor message: ::String
207
+ SENSITIVE: []
208
+ end
209
+
210
+ class GetClusterRequest
211
+ attr_accessor cluster_identifier: ::String
212
+ SENSITIVE: []
213
+ end
214
+
215
+ class GetClusterResponse
216
+ attr_accessor cluster: Types::Cluster
217
+ SENSITIVE: []
218
+ end
219
+
220
+ class GetComputeNodeGroupRequest
221
+ attr_accessor cluster_identifier: ::String
222
+ attr_accessor compute_node_group_identifier: ::String
223
+ SENSITIVE: []
224
+ end
225
+
226
+ class GetComputeNodeGroupResponse
227
+ attr_accessor compute_node_group: Types::ComputeNodeGroup
228
+ SENSITIVE: []
229
+ end
230
+
231
+ class GetQueueRequest
232
+ attr_accessor cluster_identifier: ::String
233
+ attr_accessor queue_identifier: ::String
234
+ SENSITIVE: []
235
+ end
236
+
237
+ class GetQueueResponse
238
+ attr_accessor queue: Types::Queue
239
+ SENSITIVE: []
240
+ end
241
+
242
+ class InstanceConfig
243
+ attr_accessor instance_type: ::String
244
+ SENSITIVE: []
245
+ end
246
+
247
+ class InternalServerException
248
+ attr_accessor message: ::String
249
+ SENSITIVE: []
250
+ end
251
+
252
+ class ListClustersRequest
253
+ attr_accessor next_token: ::String
254
+ attr_accessor max_results: ::Integer
255
+ SENSITIVE: []
256
+ end
257
+
258
+ class ListClustersResponse
259
+ attr_accessor clusters: ::Array[Types::ClusterSummary]
260
+ attr_accessor next_token: ::String
261
+ SENSITIVE: []
262
+ end
263
+
264
+ class ListComputeNodeGroupsRequest
265
+ attr_accessor cluster_identifier: ::String
266
+ attr_accessor next_token: ::String
267
+ attr_accessor max_results: ::Integer
268
+ SENSITIVE: []
269
+ end
270
+
271
+ class ListComputeNodeGroupsResponse
272
+ attr_accessor compute_node_groups: ::Array[Types::ComputeNodeGroupSummary]
273
+ attr_accessor next_token: ::String
274
+ SENSITIVE: []
275
+ end
276
+
277
+ class ListQueuesRequest
278
+ attr_accessor cluster_identifier: ::String
279
+ attr_accessor next_token: ::String
280
+ attr_accessor max_results: ::Integer
281
+ SENSITIVE: []
282
+ end
283
+
284
+ class ListQueuesResponse
285
+ attr_accessor queues: ::Array[Types::QueueSummary]
286
+ attr_accessor next_token: ::String
287
+ SENSITIVE: []
288
+ end
289
+
290
+ class ListTagsForResourceRequest
291
+ attr_accessor resource_arn: ::String
292
+ SENSITIVE: []
293
+ end
294
+
295
+ class ListTagsForResourceResponse
296
+ attr_accessor tags: ::Hash[::String, ::String]
297
+ SENSITIVE: []
298
+ end
299
+
300
+ class Networking
301
+ attr_accessor subnet_ids: ::Array[::String]
302
+ attr_accessor security_group_ids: ::Array[::String]
303
+ SENSITIVE: []
304
+ end
305
+
306
+ class NetworkingRequest
307
+ attr_accessor subnet_ids: ::Array[::String]
308
+ attr_accessor security_group_ids: ::Array[::String]
309
+ SENSITIVE: []
310
+ end
311
+
312
+ class Queue
313
+ attr_accessor name: ::String
314
+ attr_accessor id: ::String
315
+ attr_accessor arn: ::String
316
+ attr_accessor cluster_id: ::String
317
+ attr_accessor created_at: ::Time
318
+ attr_accessor modified_at: ::Time
319
+ attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED")
320
+ attr_accessor compute_node_group_configurations: ::Array[Types::ComputeNodeGroupConfiguration]
321
+ attr_accessor error_info: ::Array[Types::ErrorInfo]
322
+ SENSITIVE: []
323
+ end
324
+
325
+ class QueueSummary
326
+ attr_accessor name: ::String
327
+ attr_accessor id: ::String
328
+ attr_accessor arn: ::String
329
+ attr_accessor cluster_id: ::String
330
+ attr_accessor created_at: ::Time
331
+ attr_accessor modified_at: ::Time
332
+ attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED")
333
+ SENSITIVE: []
334
+ end
335
+
336
+ class RegisterComputeNodeGroupInstanceRequest
337
+ attr_accessor cluster_identifier: ::String
338
+ attr_accessor bootstrap_id: ::String
339
+ SENSITIVE: []
340
+ end
341
+
342
+ class RegisterComputeNodeGroupInstanceResponse
343
+ attr_accessor node_id: ::String
344
+ attr_accessor shared_secret: ::String
345
+ attr_accessor endpoints: ::Array[Types::Endpoint]
346
+ SENSITIVE: [:shared_secret]
347
+ end
348
+
349
+ class ResourceNotFoundException
350
+ attr_accessor message: ::String
351
+ attr_accessor resource_id: ::String
352
+ attr_accessor resource_type: ::String
353
+ SENSITIVE: []
354
+ end
355
+
356
+ class ScalingConfiguration
357
+ attr_accessor min_instance_count: ::Integer
358
+ attr_accessor max_instance_count: ::Integer
359
+ SENSITIVE: []
360
+ end
361
+
362
+ class ScalingConfigurationRequest
363
+ attr_accessor min_instance_count: ::Integer
364
+ attr_accessor max_instance_count: ::Integer
365
+ SENSITIVE: []
366
+ end
367
+
368
+ class Scheduler
369
+ attr_accessor type: ("SLURM")
370
+ attr_accessor version: ::String
371
+ SENSITIVE: []
372
+ end
373
+
374
+ class SchedulerRequest
375
+ attr_accessor type: ("SLURM")
376
+ attr_accessor version: ::String
377
+ SENSITIVE: []
378
+ end
379
+
380
+ class ServiceQuotaExceededException
381
+ attr_accessor message: ::String
382
+ attr_accessor service_code: ::String
383
+ attr_accessor resource_id: ::String
384
+ attr_accessor resource_type: ::String
385
+ attr_accessor quota_code: ::String
386
+ SENSITIVE: []
387
+ end
388
+
389
+ class SlurmAuthKey
390
+ attr_accessor secret_arn: ::String
391
+ attr_accessor secret_version: ::String
392
+ SENSITIVE: []
393
+ end
394
+
395
+ class SlurmCustomSetting
396
+ attr_accessor parameter_name: ::String
397
+ attr_accessor parameter_value: ::String
398
+ SENSITIVE: []
399
+ end
400
+
401
+ class SpotOptions
402
+ attr_accessor allocation_strategy: ("lowest-price" | "capacity-optimized" | "price-capacity-optimized")
403
+ SENSITIVE: []
404
+ end
405
+
406
+ class TagResourceRequest
407
+ attr_accessor resource_arn: ::String
408
+ attr_accessor tags: ::Hash[::String, ::String]
409
+ SENSITIVE: []
410
+ end
411
+
412
+ class ThrottlingException
413
+ attr_accessor message: ::String
414
+ attr_accessor retry_after_seconds: ::Integer
415
+ SENSITIVE: []
416
+ end
417
+
418
+ class UntagResourceRequest
419
+ attr_accessor resource_arn: ::String
420
+ attr_accessor tag_keys: ::Array[::String]
421
+ SENSITIVE: []
422
+ end
423
+
424
+ class UpdateComputeNodeGroupRequest
425
+ attr_accessor cluster_identifier: ::String
426
+ attr_accessor compute_node_group_identifier: ::String
427
+ attr_accessor ami_id: ::String
428
+ attr_accessor subnet_ids: ::Array[::String]
429
+ attr_accessor custom_launch_template: Types::CustomLaunchTemplate
430
+ attr_accessor purchase_option: ("ONDEMAND" | "SPOT")
431
+ attr_accessor spot_options: Types::SpotOptions
432
+ attr_accessor scaling_configuration: Types::ScalingConfigurationRequest
433
+ attr_accessor iam_instance_profile_arn: ::String
434
+ attr_accessor slurm_configuration: Types::UpdateComputeNodeGroupSlurmConfigurationRequest
435
+ attr_accessor client_token: ::String
436
+ SENSITIVE: []
437
+ end
438
+
439
+ class UpdateComputeNodeGroupResponse
440
+ attr_accessor compute_node_group: Types::ComputeNodeGroup
441
+ SENSITIVE: []
442
+ end
443
+
444
+ class UpdateComputeNodeGroupSlurmConfigurationRequest
445
+ attr_accessor slurm_custom_settings: ::Array[Types::SlurmCustomSetting]
446
+ SENSITIVE: []
447
+ end
448
+
449
+ class UpdateQueueRequest
450
+ attr_accessor cluster_identifier: ::String
451
+ attr_accessor queue_identifier: ::String
452
+ attr_accessor compute_node_group_configurations: ::Array[Types::ComputeNodeGroupConfiguration]
453
+ attr_accessor client_token: ::String
454
+ SENSITIVE: []
455
+ end
456
+
457
+ class UpdateQueueResponse
458
+ attr_accessor queue: Types::Queue
459
+ SENSITIVE: []
460
+ end
461
+
462
+ class ValidationException
463
+ attr_accessor message: ::String
464
+ attr_accessor reason: ("unknownOperation" | "cannotParse" | "fieldValidationFailed" | "other")
465
+ attr_accessor field_list: ::Array[Types::ValidationExceptionField]
466
+ SENSITIVE: []
467
+ end
468
+
469
+ class ValidationExceptionField
470
+ attr_accessor name: ::String
471
+ attr_accessor message: ::String
472
+ SENSITIVE: []
473
+ end
474
+ end
475
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module PCS
10
+ module Waiters
11
+ end
12
+ end
13
+ end
metadata ADDED
@@ -0,0 +1,100 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: aws-sdk-pcs
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Amazon Web Services
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2024-08-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: aws-sdk-core
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 3.201.0
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '3'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 3.201.0
33
+ - !ruby/object:Gem::Dependency
34
+ name: aws-sigv4
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '1.5'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '1.5'
47
+ description: Official AWS Ruby gem for AWS Parallel Computing Service. This gem is
48
+ part of the AWS SDK for Ruby.
49
+ email:
50
+ - aws-dr-rubygems@amazon.com
51
+ executables: []
52
+ extensions: []
53
+ extra_rdoc_files: []
54
+ files:
55
+ - CHANGELOG.md
56
+ - LICENSE.txt
57
+ - VERSION
58
+ - lib/aws-sdk-pcs.rb
59
+ - lib/aws-sdk-pcs/client.rb
60
+ - lib/aws-sdk-pcs/client_api.rb
61
+ - lib/aws-sdk-pcs/customizations.rb
62
+ - lib/aws-sdk-pcs/endpoint_parameters.rb
63
+ - lib/aws-sdk-pcs/endpoint_provider.rb
64
+ - lib/aws-sdk-pcs/endpoints.rb
65
+ - lib/aws-sdk-pcs/errors.rb
66
+ - lib/aws-sdk-pcs/plugins/endpoints.rb
67
+ - lib/aws-sdk-pcs/resource.rb
68
+ - lib/aws-sdk-pcs/types.rb
69
+ - lib/aws-sdk-pcs/waiters.rb
70
+ - sig/client.rbs
71
+ - sig/errors.rbs
72
+ - sig/resource.rbs
73
+ - sig/types.rbs
74
+ - sig/waiters.rbs
75
+ homepage: https://github.com/aws/aws-sdk-ruby
76
+ licenses:
77
+ - Apache-2.0
78
+ metadata:
79
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-pcs
80
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-pcs/CHANGELOG.md
81
+ post_install_message:
82
+ rdoc_options: []
83
+ require_paths:
84
+ - lib
85
+ required_ruby_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '2.5'
90
+ required_rubygems_version: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
95
+ requirements: []
96
+ rubygems_version: 3.4.10
97
+ signing_key:
98
+ specification_version: 4
99
+ summary: AWS SDK for Ruby - AWS Parallel Computing Service
100
+ test_files: []