aws-sdk-pcs 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-pcs/client.rb +1608 -0
- data/lib/aws-sdk-pcs/client_api.rb +777 -0
- data/lib/aws-sdk-pcs/customizations.rb +0 -0
- data/lib/aws-sdk-pcs/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-pcs/endpoint_provider.rb +54 -0
- data/lib/aws-sdk-pcs/endpoints.rb +268 -0
- data/lib/aws-sdk-pcs/errors.rb +213 -0
- data/lib/aws-sdk-pcs/plugins/endpoints.rb +106 -0
- data/lib/aws-sdk-pcs/resource.rb +26 -0
- data/lib/aws-sdk-pcs/types.rb +1916 -0
- data/lib/aws-sdk-pcs/waiters.rb +15 -0
- data/lib/aws-sdk-pcs.rb +58 -0
- data/sig/client.rbs +359 -0
- data/sig/errors.rbs +48 -0
- data/sig/resource.rbs +81 -0
- data/sig/types.rbs +475 -0
- data/sig/waiters.rbs +13 -0
- metadata +100 -0
@@ -0,0 +1,15 @@
|
|
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
|
+
require 'aws-sdk-core/waiters'
|
11
|
+
|
12
|
+
module Aws::PCS
|
13
|
+
module Waiters
|
14
|
+
end
|
15
|
+
end
|
data/lib/aws-sdk-pcs.rb
ADDED
@@ -0,0 +1,58 @@
|
|
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
|
+
require 'aws-sdk-core'
|
12
|
+
require 'aws-sigv4'
|
13
|
+
|
14
|
+
require_relative 'aws-sdk-pcs/types'
|
15
|
+
require_relative 'aws-sdk-pcs/client_api'
|
16
|
+
require_relative 'aws-sdk-pcs/plugins/endpoints.rb'
|
17
|
+
require_relative 'aws-sdk-pcs/client'
|
18
|
+
require_relative 'aws-sdk-pcs/errors'
|
19
|
+
require_relative 'aws-sdk-pcs/waiters'
|
20
|
+
require_relative 'aws-sdk-pcs/resource'
|
21
|
+
require_relative 'aws-sdk-pcs/endpoint_parameters'
|
22
|
+
require_relative 'aws-sdk-pcs/endpoint_provider'
|
23
|
+
require_relative 'aws-sdk-pcs/endpoints'
|
24
|
+
require_relative 'aws-sdk-pcs/customizations'
|
25
|
+
|
26
|
+
# This module provides support for AWS Parallel Computing Service. This module is available in the
|
27
|
+
# `aws-sdk-pcs` gem.
|
28
|
+
#
|
29
|
+
# # Client
|
30
|
+
#
|
31
|
+
# The {Client} class provides one method for each API operation. Operation
|
32
|
+
# methods each accept a hash of request parameters and return a response
|
33
|
+
# structure.
|
34
|
+
#
|
35
|
+
# pcs = Aws::PCS::Client.new
|
36
|
+
# resp = pcs.create_cluster(params)
|
37
|
+
#
|
38
|
+
# See {Client} for more information.
|
39
|
+
#
|
40
|
+
# # Errors
|
41
|
+
#
|
42
|
+
# Errors returned from AWS Parallel Computing Service are defined in the
|
43
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
44
|
+
#
|
45
|
+
# begin
|
46
|
+
# # do stuff
|
47
|
+
# rescue Aws::PCS::Errors::ServiceError
|
48
|
+
# # rescues all AWS Parallel Computing Service API errors
|
49
|
+
# end
|
50
|
+
#
|
51
|
+
# See {Errors} for more information.
|
52
|
+
#
|
53
|
+
# @!group service
|
54
|
+
module Aws::PCS
|
55
|
+
|
56
|
+
GEM_VERSION = '1.0.0'
|
57
|
+
|
58
|
+
end
|
data/sig/client.rbs
ADDED
@@ -0,0 +1,359 @@
|
|
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
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PCS/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?sigv4a_signing_region_set: Array[String],
|
52
|
+
?simple_json: bool,
|
53
|
+
?stub_responses: untyped,
|
54
|
+
?token_provider: untyped,
|
55
|
+
?use_dualstack_endpoint: bool,
|
56
|
+
?use_fips_endpoint: bool,
|
57
|
+
?validate_params: bool,
|
58
|
+
?endpoint_provider: untyped,
|
59
|
+
?http_proxy: String,
|
60
|
+
?http_open_timeout: (Float | Integer),
|
61
|
+
?http_read_timeout: (Float | Integer),
|
62
|
+
?http_idle_timeout: (Float | Integer),
|
63
|
+
?http_continue_timeout: (Float | Integer),
|
64
|
+
?ssl_timeout: (Float | Integer | nil),
|
65
|
+
?http_wire_trace: bool,
|
66
|
+
?ssl_verify_peer: bool,
|
67
|
+
?ssl_ca_bundle: String,
|
68
|
+
?ssl_ca_directory: String,
|
69
|
+
?ssl_ca_store: String,
|
70
|
+
?on_chunk_received: Proc,
|
71
|
+
?on_chunk_sent: Proc,
|
72
|
+
?raise_response_errors: bool
|
73
|
+
) -> instance
|
74
|
+
| (?Hash[Symbol, untyped]) -> instance
|
75
|
+
|
76
|
+
|
77
|
+
interface _CreateClusterResponseSuccess
|
78
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateClusterResponse]
|
79
|
+
def cluster: () -> Types::Cluster
|
80
|
+
end
|
81
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PCS/Client.html#create_cluster-instance_method
|
82
|
+
def create_cluster: (
|
83
|
+
cluster_name: ::String,
|
84
|
+
scheduler: {
|
85
|
+
type: ("SLURM"),
|
86
|
+
version: ::String
|
87
|
+
},
|
88
|
+
size: ("SMALL" | "MEDIUM" | "LARGE"),
|
89
|
+
networking: {
|
90
|
+
subnet_ids: Array[::String]?,
|
91
|
+
security_group_ids: Array[::String]?
|
92
|
+
},
|
93
|
+
?slurm_configuration: {
|
94
|
+
scale_down_idle_time_in_seconds: ::Integer?,
|
95
|
+
slurm_custom_settings: Array[
|
96
|
+
{
|
97
|
+
parameter_name: ::String,
|
98
|
+
parameter_value: ::String
|
99
|
+
},
|
100
|
+
]?
|
101
|
+
},
|
102
|
+
?client_token: ::String,
|
103
|
+
?tags: Hash[::String, ::String]
|
104
|
+
) -> _CreateClusterResponseSuccess
|
105
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateClusterResponseSuccess
|
106
|
+
|
107
|
+
interface _CreateComputeNodeGroupResponseSuccess
|
108
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateComputeNodeGroupResponse]
|
109
|
+
def compute_node_group: () -> Types::ComputeNodeGroup
|
110
|
+
end
|
111
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PCS/Client.html#create_compute_node_group-instance_method
|
112
|
+
def create_compute_node_group: (
|
113
|
+
cluster_identifier: ::String,
|
114
|
+
compute_node_group_name: ::String,
|
115
|
+
?ami_id: ::String,
|
116
|
+
subnet_ids: Array[::String],
|
117
|
+
?purchase_option: ("ONDEMAND" | "SPOT"),
|
118
|
+
custom_launch_template: {
|
119
|
+
id: ::String,
|
120
|
+
version: ::String
|
121
|
+
},
|
122
|
+
iam_instance_profile_arn: ::String,
|
123
|
+
scaling_configuration: {
|
124
|
+
min_instance_count: ::Integer,
|
125
|
+
max_instance_count: ::Integer
|
126
|
+
},
|
127
|
+
instance_configs: Array[
|
128
|
+
{
|
129
|
+
instance_type: ::String?
|
130
|
+
},
|
131
|
+
],
|
132
|
+
?spot_options: {
|
133
|
+
allocation_strategy: ("lowest-price" | "capacity-optimized" | "price-capacity-optimized")?
|
134
|
+
},
|
135
|
+
?slurm_configuration: {
|
136
|
+
slurm_custom_settings: Array[
|
137
|
+
{
|
138
|
+
parameter_name: ::String,
|
139
|
+
parameter_value: ::String
|
140
|
+
},
|
141
|
+
]?
|
142
|
+
},
|
143
|
+
?client_token: ::String,
|
144
|
+
?tags: Hash[::String, ::String]
|
145
|
+
) -> _CreateComputeNodeGroupResponseSuccess
|
146
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateComputeNodeGroupResponseSuccess
|
147
|
+
|
148
|
+
interface _CreateQueueResponseSuccess
|
149
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateQueueResponse]
|
150
|
+
def queue: () -> Types::Queue
|
151
|
+
end
|
152
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PCS/Client.html#create_queue-instance_method
|
153
|
+
def create_queue: (
|
154
|
+
cluster_identifier: ::String,
|
155
|
+
queue_name: ::String,
|
156
|
+
?compute_node_group_configurations: Array[
|
157
|
+
{
|
158
|
+
compute_node_group_id: ::String?
|
159
|
+
},
|
160
|
+
],
|
161
|
+
?client_token: ::String,
|
162
|
+
?tags: Hash[::String, ::String]
|
163
|
+
) -> _CreateQueueResponseSuccess
|
164
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateQueueResponseSuccess
|
165
|
+
|
166
|
+
interface _DeleteClusterResponseSuccess
|
167
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteClusterResponse]
|
168
|
+
end
|
169
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PCS/Client.html#delete_cluster-instance_method
|
170
|
+
def delete_cluster: (
|
171
|
+
cluster_identifier: ::String,
|
172
|
+
?client_token: ::String
|
173
|
+
) -> _DeleteClusterResponseSuccess
|
174
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteClusterResponseSuccess
|
175
|
+
|
176
|
+
interface _DeleteComputeNodeGroupResponseSuccess
|
177
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteComputeNodeGroupResponse]
|
178
|
+
end
|
179
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PCS/Client.html#delete_compute_node_group-instance_method
|
180
|
+
def delete_compute_node_group: (
|
181
|
+
cluster_identifier: ::String,
|
182
|
+
compute_node_group_identifier: ::String,
|
183
|
+
?client_token: ::String
|
184
|
+
) -> _DeleteComputeNodeGroupResponseSuccess
|
185
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteComputeNodeGroupResponseSuccess
|
186
|
+
|
187
|
+
interface _DeleteQueueResponseSuccess
|
188
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteQueueResponse]
|
189
|
+
end
|
190
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PCS/Client.html#delete_queue-instance_method
|
191
|
+
def delete_queue: (
|
192
|
+
cluster_identifier: ::String,
|
193
|
+
queue_identifier: ::String,
|
194
|
+
?client_token: ::String
|
195
|
+
) -> _DeleteQueueResponseSuccess
|
196
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteQueueResponseSuccess
|
197
|
+
|
198
|
+
interface _GetClusterResponseSuccess
|
199
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetClusterResponse]
|
200
|
+
def cluster: () -> Types::Cluster
|
201
|
+
end
|
202
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PCS/Client.html#get_cluster-instance_method
|
203
|
+
def get_cluster: (
|
204
|
+
cluster_identifier: ::String
|
205
|
+
) -> _GetClusterResponseSuccess
|
206
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetClusterResponseSuccess
|
207
|
+
|
208
|
+
interface _GetComputeNodeGroupResponseSuccess
|
209
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetComputeNodeGroupResponse]
|
210
|
+
def compute_node_group: () -> Types::ComputeNodeGroup
|
211
|
+
end
|
212
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PCS/Client.html#get_compute_node_group-instance_method
|
213
|
+
def get_compute_node_group: (
|
214
|
+
cluster_identifier: ::String,
|
215
|
+
compute_node_group_identifier: ::String
|
216
|
+
) -> _GetComputeNodeGroupResponseSuccess
|
217
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetComputeNodeGroupResponseSuccess
|
218
|
+
|
219
|
+
interface _GetQueueResponseSuccess
|
220
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetQueueResponse]
|
221
|
+
def queue: () -> Types::Queue
|
222
|
+
end
|
223
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PCS/Client.html#get_queue-instance_method
|
224
|
+
def get_queue: (
|
225
|
+
cluster_identifier: ::String,
|
226
|
+
queue_identifier: ::String
|
227
|
+
) -> _GetQueueResponseSuccess
|
228
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetQueueResponseSuccess
|
229
|
+
|
230
|
+
interface _ListClustersResponseSuccess
|
231
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListClustersResponse]
|
232
|
+
def clusters: () -> ::Array[Types::ClusterSummary]
|
233
|
+
def next_token: () -> ::String
|
234
|
+
end
|
235
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PCS/Client.html#list_clusters-instance_method
|
236
|
+
def list_clusters: (
|
237
|
+
?next_token: ::String,
|
238
|
+
?max_results: ::Integer
|
239
|
+
) -> _ListClustersResponseSuccess
|
240
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListClustersResponseSuccess
|
241
|
+
|
242
|
+
interface _ListComputeNodeGroupsResponseSuccess
|
243
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListComputeNodeGroupsResponse]
|
244
|
+
def compute_node_groups: () -> ::Array[Types::ComputeNodeGroupSummary]
|
245
|
+
def next_token: () -> ::String
|
246
|
+
end
|
247
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PCS/Client.html#list_compute_node_groups-instance_method
|
248
|
+
def list_compute_node_groups: (
|
249
|
+
cluster_identifier: ::String,
|
250
|
+
?next_token: ::String,
|
251
|
+
?max_results: ::Integer
|
252
|
+
) -> _ListComputeNodeGroupsResponseSuccess
|
253
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListComputeNodeGroupsResponseSuccess
|
254
|
+
|
255
|
+
interface _ListQueuesResponseSuccess
|
256
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListQueuesResponse]
|
257
|
+
def queues: () -> ::Array[Types::QueueSummary]
|
258
|
+
def next_token: () -> ::String
|
259
|
+
end
|
260
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PCS/Client.html#list_queues-instance_method
|
261
|
+
def list_queues: (
|
262
|
+
cluster_identifier: ::String,
|
263
|
+
?next_token: ::String,
|
264
|
+
?max_results: ::Integer
|
265
|
+
) -> _ListQueuesResponseSuccess
|
266
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListQueuesResponseSuccess
|
267
|
+
|
268
|
+
interface _ListTagsForResourceResponseSuccess
|
269
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
270
|
+
def tags: () -> ::Hash[::String, ::String]
|
271
|
+
end
|
272
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PCS/Client.html#list_tags_for_resource-instance_method
|
273
|
+
def list_tags_for_resource: (
|
274
|
+
resource_arn: ::String
|
275
|
+
) -> _ListTagsForResourceResponseSuccess
|
276
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
277
|
+
|
278
|
+
interface _RegisterComputeNodeGroupInstanceResponseSuccess
|
279
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::RegisterComputeNodeGroupInstanceResponse]
|
280
|
+
def node_id: () -> ::String
|
281
|
+
def shared_secret: () -> ::String
|
282
|
+
def endpoints: () -> ::Array[Types::Endpoint]
|
283
|
+
end
|
284
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PCS/Client.html#register_compute_node_group_instance-instance_method
|
285
|
+
def register_compute_node_group_instance: (
|
286
|
+
cluster_identifier: ::String,
|
287
|
+
bootstrap_id: ::String
|
288
|
+
) -> _RegisterComputeNodeGroupInstanceResponseSuccess
|
289
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterComputeNodeGroupInstanceResponseSuccess
|
290
|
+
|
291
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PCS/Client.html#tag_resource-instance_method
|
292
|
+
def tag_resource: (
|
293
|
+
resource_arn: ::String,
|
294
|
+
tags: Hash[::String, ::String]
|
295
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
296
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
297
|
+
|
298
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PCS/Client.html#untag_resource-instance_method
|
299
|
+
def untag_resource: (
|
300
|
+
resource_arn: ::String,
|
301
|
+
tag_keys: Array[::String]
|
302
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
303
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
304
|
+
|
305
|
+
interface _UpdateComputeNodeGroupResponseSuccess
|
306
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateComputeNodeGroupResponse]
|
307
|
+
def compute_node_group: () -> Types::ComputeNodeGroup
|
308
|
+
end
|
309
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PCS/Client.html#update_compute_node_group-instance_method
|
310
|
+
def update_compute_node_group: (
|
311
|
+
cluster_identifier: ::String,
|
312
|
+
compute_node_group_identifier: ::String,
|
313
|
+
?ami_id: ::String,
|
314
|
+
?subnet_ids: Array[::String],
|
315
|
+
?custom_launch_template: {
|
316
|
+
id: ::String,
|
317
|
+
version: ::String
|
318
|
+
},
|
319
|
+
?purchase_option: ("ONDEMAND" | "SPOT"),
|
320
|
+
?spot_options: {
|
321
|
+
allocation_strategy: ("lowest-price" | "capacity-optimized" | "price-capacity-optimized")?
|
322
|
+
},
|
323
|
+
?scaling_configuration: {
|
324
|
+
min_instance_count: ::Integer,
|
325
|
+
max_instance_count: ::Integer
|
326
|
+
},
|
327
|
+
?iam_instance_profile_arn: ::String,
|
328
|
+
?slurm_configuration: {
|
329
|
+
slurm_custom_settings: Array[
|
330
|
+
{
|
331
|
+
parameter_name: ::String,
|
332
|
+
parameter_value: ::String
|
333
|
+
},
|
334
|
+
]?
|
335
|
+
},
|
336
|
+
?client_token: ::String
|
337
|
+
) -> _UpdateComputeNodeGroupResponseSuccess
|
338
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateComputeNodeGroupResponseSuccess
|
339
|
+
|
340
|
+
interface _UpdateQueueResponseSuccess
|
341
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateQueueResponse]
|
342
|
+
def queue: () -> Types::Queue
|
343
|
+
end
|
344
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PCS/Client.html#update_queue-instance_method
|
345
|
+
def update_queue: (
|
346
|
+
cluster_identifier: ::String,
|
347
|
+
queue_identifier: ::String,
|
348
|
+
?compute_node_group_configurations: Array[
|
349
|
+
{
|
350
|
+
compute_node_group_id: ::String?
|
351
|
+
},
|
352
|
+
],
|
353
|
+
?client_token: ::String
|
354
|
+
) -> _UpdateQueueResponseSuccess
|
355
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateQueueResponseSuccess
|
356
|
+
end
|
357
|
+
end
|
358
|
+
end
|
359
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,48 @@
|
|
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 Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
17
|
+
class ConflictException < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
def resource_id: () -> ::String
|
20
|
+
def resource_type: () -> ::String
|
21
|
+
end
|
22
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
23
|
+
def message: () -> ::String
|
24
|
+
end
|
25
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
26
|
+
def message: () -> ::String
|
27
|
+
def resource_id: () -> ::String
|
28
|
+
def resource_type: () -> ::String
|
29
|
+
end
|
30
|
+
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
31
|
+
def message: () -> ::String
|
32
|
+
def service_code: () -> ::String
|
33
|
+
def resource_id: () -> ::String
|
34
|
+
def resource_type: () -> ::String
|
35
|
+
def quota_code: () -> ::String
|
36
|
+
end
|
37
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
38
|
+
def message: () -> ::String
|
39
|
+
def retry_after_seconds: () -> ::String
|
40
|
+
end
|
41
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
42
|
+
def message: () -> ::String
|
43
|
+
def reason: () -> ::String
|
44
|
+
def field_list: () -> ::String
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,81 @@
|
|
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
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PCS/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PCS/Resource.html#initialize-instance_method
|
13
|
+
def initialize: (
|
14
|
+
?client: Client,
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?sigv4a_signing_region_set: Array[String],
|
52
|
+
?simple_json: bool,
|
53
|
+
?stub_responses: untyped,
|
54
|
+
?token_provider: untyped,
|
55
|
+
?use_dualstack_endpoint: bool,
|
56
|
+
?use_fips_endpoint: bool,
|
57
|
+
?validate_params: bool,
|
58
|
+
?endpoint_provider: untyped,
|
59
|
+
?http_proxy: String,
|
60
|
+
?http_open_timeout: (Float | Integer),
|
61
|
+
?http_read_timeout: (Float | Integer),
|
62
|
+
?http_idle_timeout: (Float | Integer),
|
63
|
+
?http_continue_timeout: (Float | Integer),
|
64
|
+
?ssl_timeout: (Float | Integer | nil),
|
65
|
+
?http_wire_trace: bool,
|
66
|
+
?ssl_verify_peer: bool,
|
67
|
+
?ssl_ca_bundle: String,
|
68
|
+
?ssl_ca_directory: String,
|
69
|
+
?ssl_ca_store: String,
|
70
|
+
?on_chunk_received: Proc,
|
71
|
+
?on_chunk_sent: Proc,
|
72
|
+
?raise_response_errors: bool
|
73
|
+
) -> void
|
74
|
+
| (?Hash[Symbol, untyped]) -> void
|
75
|
+
|
76
|
+
def client: () -> Client
|
77
|
+
|
78
|
+
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|