aws-sdk-emrserverless 1.18.0 → 1.20.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: f69c0ba4b59a37bfaf625b3c5dc01df39343ba5c8e6ae6aa16aeefef7db0aa53
4
- data.tar.gz: a7bc7cb4213b3e7fc7769f4a704ebbe46dd057e6c1aa619f72109611870f7ec0
3
+ metadata.gz: 1b4c27496e07a551774faf80f2d02ba0bd8a1edd8875b6844a2012012eba07dc
4
+ data.tar.gz: f65ee1cfec3db78bb1352add5db68ddb964c07b85f902dd98d4eec89bea21f0a
5
5
  SHA512:
6
- metadata.gz: 54686471ac580bfca4d4633aabc05ebf4589b6d33d10ff11e3d04ac4ce3f0299ab6cbfeed26267dfa5d99c493fe43cb035f01a69f8bda033b3f4b80538fb50f9
7
- data.tar.gz: 1abc34e95aa6733ea5a2b3da9a7c809db59a3d794e3231824837fdfd1e7cbba15cf9fa6f63e60387e9ccf844b28fc2133f6c16fd902d87d272f426ad5ab62899
6
+ metadata.gz: d33b6096908ebca38fff29507fd09d93b5747f80a2f2c1c4d48ffde485b66b6c96df3b9839de34339d6306c373ed887e5deea89561112ec01d36b70540bab345
7
+ data.tar.gz: 00be784c327ed8960cb6456a27a637c39e5ee8680f1c31582ceb6b2fcea5d7dce3c0f7313cd51a570d2161b714877a7b0837bdc629fe57ac383d98830ad299f7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.20.0 (2024-04-16)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for shuffle optimized disks that allow larger disk sizes and higher IOPS to efficiently run shuffle heavy workloads.
8
+
9
+ 1.19.0 (2024-01-26)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.18.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.18.0
1
+ 1.20.0
@@ -513,6 +513,7 @@ module Aws::EMRServerless
513
513
  # cpu: "CpuSize", # required
514
514
  # memory: "MemorySize", # required
515
515
  # disk: "DiskSize",
516
+ # disk_type: "DiskType",
516
517
  # },
517
518
  # },
518
519
  # },
@@ -645,6 +646,7 @@ module Aws::EMRServerless
645
646
  # resp.application.initial_capacity["WorkerTypeString"].worker_configuration.cpu #=> String
646
647
  # resp.application.initial_capacity["WorkerTypeString"].worker_configuration.memory #=> String
647
648
  # resp.application.initial_capacity["WorkerTypeString"].worker_configuration.disk #=> String
649
+ # resp.application.initial_capacity["WorkerTypeString"].worker_configuration.disk_type #=> String
648
650
  # resp.application.maximum_capacity.cpu #=> String
649
651
  # resp.application.maximum_capacity.memory #=> String
650
652
  # resp.application.maximum_capacity.disk #=> String
@@ -1266,6 +1268,7 @@ module Aws::EMRServerless
1266
1268
  # cpu: "CpuSize", # required
1267
1269
  # memory: "MemorySize", # required
1268
1270
  # disk: "DiskSize",
1271
+ # disk_type: "DiskType",
1269
1272
  # },
1270
1273
  # },
1271
1274
  # },
@@ -1343,6 +1346,7 @@ module Aws::EMRServerless
1343
1346
  # resp.application.initial_capacity["WorkerTypeString"].worker_configuration.cpu #=> String
1344
1347
  # resp.application.initial_capacity["WorkerTypeString"].worker_configuration.memory #=> String
1345
1348
  # resp.application.initial_capacity["WorkerTypeString"].worker_configuration.disk #=> String
1349
+ # resp.application.initial_capacity["WorkerTypeString"].worker_configuration.disk_type #=> String
1346
1350
  # resp.application.maximum_capacity.cpu #=> String
1347
1351
  # resp.application.maximum_capacity.memory #=> String
1348
1352
  # resp.application.maximum_capacity.disk #=> String
@@ -1402,7 +1406,7 @@ module Aws::EMRServerless
1402
1406
  params: params,
1403
1407
  config: config)
1404
1408
  context[:gem_name] = 'aws-sdk-emrserverless'
1405
- context[:gem_version] = '1.18.0'
1409
+ context[:gem_version] = '1.20.0'
1406
1410
  Seahorse::Client::Request.new(handlers, context)
1407
1411
  end
1408
1412
 
@@ -41,6 +41,7 @@ module Aws::EMRServerless
41
41
  DeleteApplicationRequest = Shapes::StructureShape.new(name: 'DeleteApplicationRequest')
42
42
  DeleteApplicationResponse = Shapes::StructureShape.new(name: 'DeleteApplicationResponse')
43
43
  DiskSize = Shapes::StringShape.new(name: 'DiskSize')
44
+ DiskType = Shapes::StringShape.new(name: 'DiskType')
44
45
  Double = Shapes::FloatShape.new(name: 'Double')
45
46
  Duration = Shapes::IntegerShape.new(name: 'Duration')
46
47
  EncryptionKeyArn = Shapes::StringShape.new(name: 'EncryptionKeyArn')
@@ -479,6 +480,7 @@ module Aws::EMRServerless
479
480
  WorkerResourceConfig.add_member(:cpu, Shapes::ShapeRef.new(shape: CpuSize, required: true, location_name: "cpu"))
480
481
  WorkerResourceConfig.add_member(:memory, Shapes::ShapeRef.new(shape: MemorySize, required: true, location_name: "memory"))
481
482
  WorkerResourceConfig.add_member(:disk, Shapes::ShapeRef.new(shape: DiskSize, location_name: "disk"))
483
+ WorkerResourceConfig.add_member(:disk_type, Shapes::ShapeRef.new(shape: DiskType, location_name: "diskType"))
482
484
  WorkerResourceConfig.struct_class = Types::WorkerResourceConfig
483
485
 
484
486
  WorkerTypeSpecification.add_member(:image_configuration, Shapes::ShapeRef.new(shape: ImageConfiguration, location_name: "imageConfiguration"))
@@ -32,7 +32,7 @@ module Aws::EMRServerless
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://emr-serverless-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -14,6 +14,7 @@ module Aws::EMRServerless
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::EMRServerless::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -1555,12 +1555,19 @@ module Aws::EMRServerless
1555
1555
  # The disk requirements for every worker instance of the worker type.
1556
1556
  # @return [String]
1557
1557
  #
1558
+ # @!attribute [rw] disk_type
1559
+ # The disk type for every worker instance of the work type. Shuffle
1560
+ # optimized disks have higher performance characteristics and are
1561
+ # better for shuffle heavy workloads. Default is `STANDARD`.
1562
+ # @return [String]
1563
+ #
1558
1564
  # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/WorkerResourceConfig AWS API Documentation
1559
1565
  #
1560
1566
  class WorkerResourceConfig < Struct.new(
1561
1567
  :cpu,
1562
1568
  :memory,
1563
- :disk)
1569
+ :disk,
1570
+ :disk_type)
1564
1571
  SENSITIVE = []
1565
1572
  include Aws::Structure
1566
1573
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-emrserverless/customizations'
52
52
  # @!group service
53
53
  module Aws::EMRServerless
54
54
 
55
- GEM_VERSION = '1.18.0'
55
+ GEM_VERSION = '1.20.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,406 @@
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 EMRServerless
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/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
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _CancelJobRunResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelJobRunResponse]
77
+ def application_id: () -> ::String
78
+ def job_run_id: () -> ::String
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#cancel_job_run-instance_method
81
+ def cancel_job_run: (
82
+ application_id: ::String,
83
+ job_run_id: ::String
84
+ ) -> _CancelJobRunResponseSuccess
85
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelJobRunResponseSuccess
86
+
87
+ interface _CreateApplicationResponseSuccess
88
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateApplicationResponse]
89
+ def application_id: () -> ::String
90
+ def name: () -> ::String
91
+ def arn: () -> ::String
92
+ end
93
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#create_application-instance_method
94
+ def create_application: (
95
+ ?name: ::String,
96
+ release_label: ::String,
97
+ type: ::String,
98
+ client_token: ::String,
99
+ ?initial_capacity: Hash[::String, {
100
+ worker_count: ::Integer,
101
+ worker_configuration: {
102
+ cpu: ::String,
103
+ memory: ::String,
104
+ disk: ::String?,
105
+ disk_type: ::String?
106
+ }?
107
+ }],
108
+ ?maximum_capacity: {
109
+ cpu: ::String,
110
+ memory: ::String,
111
+ disk: ::String?
112
+ },
113
+ ?tags: Hash[::String, ::String],
114
+ ?auto_start_configuration: {
115
+ enabled: bool?
116
+ },
117
+ ?auto_stop_configuration: {
118
+ enabled: bool?,
119
+ idle_timeout_minutes: ::Integer?
120
+ },
121
+ ?network_configuration: {
122
+ subnet_ids: Array[::String]?,
123
+ security_group_ids: Array[::String]?
124
+ },
125
+ ?architecture: ("ARM64" | "X86_64"),
126
+ ?image_configuration: {
127
+ image_uri: ::String?
128
+ },
129
+ ?worker_type_specifications: Hash[::String, {
130
+ image_configuration: {
131
+ image_uri: ::String?
132
+ }?
133
+ }],
134
+ ?runtime_configuration: Array[
135
+ {
136
+ classification: ::String,
137
+ properties: Hash[::String, ::String]?,
138
+ configurations: untyped?
139
+ },
140
+ ],
141
+ ?monitoring_configuration: {
142
+ s3_monitoring_configuration: {
143
+ log_uri: ::String?,
144
+ encryption_key_arn: ::String?
145
+ }?,
146
+ managed_persistence_monitoring_configuration: {
147
+ enabled: bool?,
148
+ encryption_key_arn: ::String?
149
+ }?,
150
+ cloud_watch_logging_configuration: {
151
+ enabled: bool,
152
+ log_group_name: ::String?,
153
+ log_stream_name_prefix: ::String?,
154
+ encryption_key_arn: ::String?,
155
+ log_types: Hash[::String, Array[::String]]?
156
+ }?
157
+ }
158
+ ) -> _CreateApplicationResponseSuccess
159
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateApplicationResponseSuccess
160
+
161
+ interface _DeleteApplicationResponseSuccess
162
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteApplicationResponse]
163
+ end
164
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#delete_application-instance_method
165
+ def delete_application: (
166
+ application_id: ::String
167
+ ) -> _DeleteApplicationResponseSuccess
168
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteApplicationResponseSuccess
169
+
170
+ interface _GetApplicationResponseSuccess
171
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetApplicationResponse]
172
+ def application: () -> Types::Application
173
+ end
174
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#get_application-instance_method
175
+ def get_application: (
176
+ application_id: ::String
177
+ ) -> _GetApplicationResponseSuccess
178
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetApplicationResponseSuccess
179
+
180
+ interface _GetDashboardForJobRunResponseSuccess
181
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDashboardForJobRunResponse]
182
+ def url: () -> ::String
183
+ end
184
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#get_dashboard_for_job_run-instance_method
185
+ def get_dashboard_for_job_run: (
186
+ application_id: ::String,
187
+ job_run_id: ::String
188
+ ) -> _GetDashboardForJobRunResponseSuccess
189
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDashboardForJobRunResponseSuccess
190
+
191
+ interface _GetJobRunResponseSuccess
192
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetJobRunResponse]
193
+ def job_run: () -> Types::JobRun
194
+ end
195
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#get_job_run-instance_method
196
+ def get_job_run: (
197
+ application_id: ::String,
198
+ job_run_id: ::String
199
+ ) -> _GetJobRunResponseSuccess
200
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetJobRunResponseSuccess
201
+
202
+ interface _ListApplicationsResponseSuccess
203
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListApplicationsResponse]
204
+ def applications: () -> ::Array[Types::ApplicationSummary]
205
+ def next_token: () -> ::String
206
+ end
207
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#list_applications-instance_method
208
+ def list_applications: (
209
+ ?next_token: ::String,
210
+ ?max_results: ::Integer,
211
+ ?states: Array[("CREATING" | "CREATED" | "STARTING" | "STARTED" | "STOPPING" | "STOPPED" | "TERMINATED")]
212
+ ) -> _ListApplicationsResponseSuccess
213
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListApplicationsResponseSuccess
214
+
215
+ interface _ListJobRunsResponseSuccess
216
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListJobRunsResponse]
217
+ def job_runs: () -> ::Array[Types::JobRunSummary]
218
+ def next_token: () -> ::String
219
+ end
220
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#list_job_runs-instance_method
221
+ def list_job_runs: (
222
+ application_id: ::String,
223
+ ?next_token: ::String,
224
+ ?max_results: ::Integer,
225
+ ?created_at_after: ::Time,
226
+ ?created_at_before: ::Time,
227
+ ?states: Array[("SUBMITTED" | "PENDING" | "SCHEDULED" | "RUNNING" | "SUCCESS" | "FAILED" | "CANCELLING" | "CANCELLED")]
228
+ ) -> _ListJobRunsResponseSuccess
229
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListJobRunsResponseSuccess
230
+
231
+ interface _ListTagsForResourceResponseSuccess
232
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
233
+ def tags: () -> ::Hash[::String, ::String]
234
+ end
235
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#list_tags_for_resource-instance_method
236
+ def list_tags_for_resource: (
237
+ resource_arn: ::String
238
+ ) -> _ListTagsForResourceResponseSuccess
239
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
240
+
241
+ interface _StartApplicationResponseSuccess
242
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartApplicationResponse]
243
+ end
244
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#start_application-instance_method
245
+ def start_application: (
246
+ application_id: ::String
247
+ ) -> _StartApplicationResponseSuccess
248
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartApplicationResponseSuccess
249
+
250
+ interface _StartJobRunResponseSuccess
251
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartJobRunResponse]
252
+ def application_id: () -> ::String
253
+ def job_run_id: () -> ::String
254
+ def arn: () -> ::String
255
+ end
256
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#start_job_run-instance_method
257
+ def start_job_run: (
258
+ application_id: ::String,
259
+ client_token: ::String,
260
+ execution_role_arn: ::String,
261
+ ?job_driver: {
262
+ spark_submit: {
263
+ entry_point: ::String,
264
+ entry_point_arguments: Array[::String]?,
265
+ spark_submit_parameters: ::String?
266
+ }?,
267
+ hive: {
268
+ query: ::String,
269
+ init_query_file: ::String?,
270
+ parameters: ::String?
271
+ }?
272
+ },
273
+ ?configuration_overrides: {
274
+ application_configuration: Array[
275
+ {
276
+ classification: ::String,
277
+ properties: Hash[::String, ::String]?,
278
+ configurations: untyped?
279
+ },
280
+ ]?,
281
+ monitoring_configuration: {
282
+ s3_monitoring_configuration: {
283
+ log_uri: ::String?,
284
+ encryption_key_arn: ::String?
285
+ }?,
286
+ managed_persistence_monitoring_configuration: {
287
+ enabled: bool?,
288
+ encryption_key_arn: ::String?
289
+ }?,
290
+ cloud_watch_logging_configuration: {
291
+ enabled: bool,
292
+ log_group_name: ::String?,
293
+ log_stream_name_prefix: ::String?,
294
+ encryption_key_arn: ::String?,
295
+ log_types: Hash[::String, Array[::String]]?
296
+ }?
297
+ }?
298
+ },
299
+ ?tags: Hash[::String, ::String],
300
+ ?execution_timeout_minutes: ::Integer,
301
+ ?name: ::String
302
+ ) -> _StartJobRunResponseSuccess
303
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartJobRunResponseSuccess
304
+
305
+ interface _StopApplicationResponseSuccess
306
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopApplicationResponse]
307
+ end
308
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#stop_application-instance_method
309
+ def stop_application: (
310
+ application_id: ::String
311
+ ) -> _StopApplicationResponseSuccess
312
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopApplicationResponseSuccess
313
+
314
+ interface _TagResourceResponseSuccess
315
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
316
+ end
317
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#tag_resource-instance_method
318
+ def tag_resource: (
319
+ resource_arn: ::String,
320
+ tags: Hash[::String, ::String]
321
+ ) -> _TagResourceResponseSuccess
322
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
323
+
324
+ interface _UntagResourceResponseSuccess
325
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
326
+ end
327
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#untag_resource-instance_method
328
+ def untag_resource: (
329
+ resource_arn: ::String,
330
+ tag_keys: Array[::String]
331
+ ) -> _UntagResourceResponseSuccess
332
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
333
+
334
+ interface _UpdateApplicationResponseSuccess
335
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateApplicationResponse]
336
+ def application: () -> Types::Application
337
+ end
338
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#update_application-instance_method
339
+ def update_application: (
340
+ application_id: ::String,
341
+ client_token: ::String,
342
+ ?initial_capacity: Hash[::String, {
343
+ worker_count: ::Integer,
344
+ worker_configuration: {
345
+ cpu: ::String,
346
+ memory: ::String,
347
+ disk: ::String?,
348
+ disk_type: ::String?
349
+ }?
350
+ }],
351
+ ?maximum_capacity: {
352
+ cpu: ::String,
353
+ memory: ::String,
354
+ disk: ::String?
355
+ },
356
+ ?auto_start_configuration: {
357
+ enabled: bool?
358
+ },
359
+ ?auto_stop_configuration: {
360
+ enabled: bool?,
361
+ idle_timeout_minutes: ::Integer?
362
+ },
363
+ ?network_configuration: {
364
+ subnet_ids: Array[::String]?,
365
+ security_group_ids: Array[::String]?
366
+ },
367
+ ?architecture: ("ARM64" | "X86_64"),
368
+ ?image_configuration: {
369
+ image_uri: ::String?
370
+ },
371
+ ?worker_type_specifications: Hash[::String, {
372
+ image_configuration: {
373
+ image_uri: ::String?
374
+ }?
375
+ }],
376
+ ?release_label: ::String,
377
+ ?runtime_configuration: Array[
378
+ {
379
+ classification: ::String,
380
+ properties: Hash[::String, ::String]?,
381
+ configurations: untyped?
382
+ },
383
+ ],
384
+ ?monitoring_configuration: {
385
+ s3_monitoring_configuration: {
386
+ log_uri: ::String?,
387
+ encryption_key_arn: ::String?
388
+ }?,
389
+ managed_persistence_monitoring_configuration: {
390
+ enabled: bool?,
391
+ encryption_key_arn: ::String?
392
+ }?,
393
+ cloud_watch_logging_configuration: {
394
+ enabled: bool,
395
+ log_group_name: ::String?,
396
+ log_stream_name_prefix: ::String?,
397
+ encryption_key_arn: ::String?,
398
+ log_types: Hash[::String, Array[::String]]?
399
+ }?
400
+ }
401
+ ) -> _UpdateApplicationResponseSuccess
402
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApplicationResponseSuccess
403
+ end
404
+ end
405
+ end
406
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,31 @@
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 EMRServerless
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class ConflictException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class InternalServerException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class ValidationException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ end
30
+ end
31
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,79 @@
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 EMRServerless
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/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
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> void
72
+ | (?Hash[Symbol, untyped]) -> void
73
+
74
+ def client: () -> Client
75
+
76
+
77
+ end
78
+ end
79
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,447 @@
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::EMRServerless
9
+ module Types
10
+
11
+ class Application
12
+ attr_accessor application_id: ::String
13
+ attr_accessor name: ::String
14
+ attr_accessor arn: ::String
15
+ attr_accessor release_label: ::String
16
+ attr_accessor type: ::String
17
+ attr_accessor state: ("CREATING" | "CREATED" | "STARTING" | "STARTED" | "STOPPING" | "STOPPED" | "TERMINATED")
18
+ attr_accessor state_details: ::String
19
+ attr_accessor initial_capacity: ::Hash[::String, Types::InitialCapacityConfig]
20
+ attr_accessor maximum_capacity: Types::MaximumAllowedResources
21
+ attr_accessor created_at: ::Time
22
+ attr_accessor updated_at: ::Time
23
+ attr_accessor tags: ::Hash[::String, ::String]
24
+ attr_accessor auto_start_configuration: Types::AutoStartConfig
25
+ attr_accessor auto_stop_configuration: Types::AutoStopConfig
26
+ attr_accessor network_configuration: Types::NetworkConfiguration
27
+ attr_accessor architecture: ("ARM64" | "X86_64")
28
+ attr_accessor image_configuration: Types::ImageConfiguration
29
+ attr_accessor worker_type_specifications: ::Hash[::String, Types::WorkerTypeSpecification]
30
+ attr_accessor runtime_configuration: ::Array[Types::Configuration]
31
+ attr_accessor monitoring_configuration: Types::MonitoringConfiguration
32
+ SENSITIVE: []
33
+ end
34
+
35
+ class ApplicationSummary
36
+ attr_accessor id: ::String
37
+ attr_accessor name: ::String
38
+ attr_accessor arn: ::String
39
+ attr_accessor release_label: ::String
40
+ attr_accessor type: ::String
41
+ attr_accessor state: ("CREATING" | "CREATED" | "STARTING" | "STARTED" | "STOPPING" | "STOPPED" | "TERMINATED")
42
+ attr_accessor state_details: ::String
43
+ attr_accessor created_at: ::Time
44
+ attr_accessor updated_at: ::Time
45
+ attr_accessor architecture: ("ARM64" | "X86_64")
46
+ SENSITIVE: []
47
+ end
48
+
49
+ class AutoStartConfig
50
+ attr_accessor enabled: bool
51
+ SENSITIVE: []
52
+ end
53
+
54
+ class AutoStopConfig
55
+ attr_accessor enabled: bool
56
+ attr_accessor idle_timeout_minutes: ::Integer
57
+ SENSITIVE: []
58
+ end
59
+
60
+ class CancelJobRunRequest
61
+ attr_accessor application_id: ::String
62
+ attr_accessor job_run_id: ::String
63
+ SENSITIVE: []
64
+ end
65
+
66
+ class CancelJobRunResponse
67
+ attr_accessor application_id: ::String
68
+ attr_accessor job_run_id: ::String
69
+ SENSITIVE: []
70
+ end
71
+
72
+ class CloudWatchLoggingConfiguration
73
+ attr_accessor enabled: bool
74
+ attr_accessor log_group_name: ::String
75
+ attr_accessor log_stream_name_prefix: ::String
76
+ attr_accessor encryption_key_arn: ::String
77
+ attr_accessor log_types: ::Hash[::String, ::Array[::String]]
78
+ SENSITIVE: []
79
+ end
80
+
81
+ class Configuration
82
+ attr_accessor classification: ::String
83
+ attr_accessor properties: ::Hash[::String, ::String]
84
+ attr_accessor configurations: ::Array[Types::Configuration]
85
+ SENSITIVE: [:properties]
86
+ end
87
+
88
+ class ConfigurationOverrides
89
+ attr_accessor application_configuration: ::Array[Types::Configuration]
90
+ attr_accessor monitoring_configuration: Types::MonitoringConfiguration
91
+ SENSITIVE: []
92
+ end
93
+
94
+ class ConflictException
95
+ attr_accessor message: ::String
96
+ SENSITIVE: []
97
+ end
98
+
99
+ class CreateApplicationRequest
100
+ attr_accessor name: ::String
101
+ attr_accessor release_label: ::String
102
+ attr_accessor type: ::String
103
+ attr_accessor client_token: ::String
104
+ attr_accessor initial_capacity: ::Hash[::String, Types::InitialCapacityConfig]
105
+ attr_accessor maximum_capacity: Types::MaximumAllowedResources
106
+ attr_accessor tags: ::Hash[::String, ::String]
107
+ attr_accessor auto_start_configuration: Types::AutoStartConfig
108
+ attr_accessor auto_stop_configuration: Types::AutoStopConfig
109
+ attr_accessor network_configuration: Types::NetworkConfiguration
110
+ attr_accessor architecture: ("ARM64" | "X86_64")
111
+ attr_accessor image_configuration: Types::ImageConfigurationInput
112
+ attr_accessor worker_type_specifications: ::Hash[::String, Types::WorkerTypeSpecificationInput]
113
+ attr_accessor runtime_configuration: ::Array[Types::Configuration]
114
+ attr_accessor monitoring_configuration: Types::MonitoringConfiguration
115
+ SENSITIVE: []
116
+ end
117
+
118
+ class CreateApplicationResponse
119
+ attr_accessor application_id: ::String
120
+ attr_accessor name: ::String
121
+ attr_accessor arn: ::String
122
+ SENSITIVE: []
123
+ end
124
+
125
+ class DeleteApplicationRequest
126
+ attr_accessor application_id: ::String
127
+ SENSITIVE: []
128
+ end
129
+
130
+ class DeleteApplicationResponse < Aws::EmptyStructure
131
+ end
132
+
133
+ class GetApplicationRequest
134
+ attr_accessor application_id: ::String
135
+ SENSITIVE: []
136
+ end
137
+
138
+ class GetApplicationResponse
139
+ attr_accessor application: Types::Application
140
+ SENSITIVE: []
141
+ end
142
+
143
+ class GetDashboardForJobRunRequest
144
+ attr_accessor application_id: ::String
145
+ attr_accessor job_run_id: ::String
146
+ SENSITIVE: []
147
+ end
148
+
149
+ class GetDashboardForJobRunResponse
150
+ attr_accessor url: ::String
151
+ SENSITIVE: []
152
+ end
153
+
154
+ class GetJobRunRequest
155
+ attr_accessor application_id: ::String
156
+ attr_accessor job_run_id: ::String
157
+ SENSITIVE: []
158
+ end
159
+
160
+ class GetJobRunResponse
161
+ attr_accessor job_run: Types::JobRun
162
+ SENSITIVE: []
163
+ end
164
+
165
+ class Hive
166
+ attr_accessor query: ::String
167
+ attr_accessor init_query_file: ::String
168
+ attr_accessor parameters: ::String
169
+ SENSITIVE: [:query, :init_query_file, :parameters]
170
+ end
171
+
172
+ class ImageConfiguration
173
+ attr_accessor image_uri: ::String
174
+ attr_accessor resolved_image_digest: ::String
175
+ SENSITIVE: []
176
+ end
177
+
178
+ class ImageConfigurationInput
179
+ attr_accessor image_uri: ::String
180
+ SENSITIVE: []
181
+ end
182
+
183
+ class InitialCapacityConfig
184
+ attr_accessor worker_count: ::Integer
185
+ attr_accessor worker_configuration: Types::WorkerResourceConfig
186
+ SENSITIVE: []
187
+ end
188
+
189
+ class InternalServerException
190
+ attr_accessor message: ::String
191
+ SENSITIVE: []
192
+ end
193
+
194
+ class JobDriver
195
+ attr_accessor spark_submit: Types::SparkSubmit
196
+ attr_accessor hive: Types::Hive
197
+ attr_accessor unknown: untyped
198
+ SENSITIVE: []
199
+
200
+ class SparkSubmit < JobDriver
201
+ end
202
+ class Hive < JobDriver
203
+ end
204
+ class Unknown < JobDriver
205
+ end
206
+ end
207
+
208
+ class JobRun
209
+ attr_accessor application_id: ::String
210
+ attr_accessor job_run_id: ::String
211
+ attr_accessor name: ::String
212
+ attr_accessor arn: ::String
213
+ attr_accessor created_by: ::String
214
+ attr_accessor created_at: ::Time
215
+ attr_accessor updated_at: ::Time
216
+ attr_accessor execution_role: ::String
217
+ attr_accessor state: ("SUBMITTED" | "PENDING" | "SCHEDULED" | "RUNNING" | "SUCCESS" | "FAILED" | "CANCELLING" | "CANCELLED")
218
+ attr_accessor state_details: ::String
219
+ attr_accessor release_label: ::String
220
+ attr_accessor configuration_overrides: Types::ConfigurationOverrides
221
+ attr_accessor job_driver: Types::JobDriver
222
+ attr_accessor tags: ::Hash[::String, ::String]
223
+ attr_accessor total_resource_utilization: Types::TotalResourceUtilization
224
+ attr_accessor network_configuration: Types::NetworkConfiguration
225
+ attr_accessor total_execution_duration_seconds: ::Integer
226
+ attr_accessor execution_timeout_minutes: ::Integer
227
+ attr_accessor billed_resource_utilization: Types::ResourceUtilization
228
+ SENSITIVE: []
229
+ end
230
+
231
+ class JobRunSummary
232
+ attr_accessor application_id: ::String
233
+ attr_accessor id: ::String
234
+ attr_accessor name: ::String
235
+ attr_accessor arn: ::String
236
+ attr_accessor created_by: ::String
237
+ attr_accessor created_at: ::Time
238
+ attr_accessor updated_at: ::Time
239
+ attr_accessor execution_role: ::String
240
+ attr_accessor state: ("SUBMITTED" | "PENDING" | "SCHEDULED" | "RUNNING" | "SUCCESS" | "FAILED" | "CANCELLING" | "CANCELLED")
241
+ attr_accessor state_details: ::String
242
+ attr_accessor release_label: ::String
243
+ attr_accessor type: ::String
244
+ SENSITIVE: []
245
+ end
246
+
247
+ class ListApplicationsRequest
248
+ attr_accessor next_token: ::String
249
+ attr_accessor max_results: ::Integer
250
+ attr_accessor states: ::Array[("CREATING" | "CREATED" | "STARTING" | "STARTED" | "STOPPING" | "STOPPED" | "TERMINATED")]
251
+ SENSITIVE: []
252
+ end
253
+
254
+ class ListApplicationsResponse
255
+ attr_accessor applications: ::Array[Types::ApplicationSummary]
256
+ attr_accessor next_token: ::String
257
+ SENSITIVE: []
258
+ end
259
+
260
+ class ListJobRunsRequest
261
+ attr_accessor application_id: ::String
262
+ attr_accessor next_token: ::String
263
+ attr_accessor max_results: ::Integer
264
+ attr_accessor created_at_after: ::Time
265
+ attr_accessor created_at_before: ::Time
266
+ attr_accessor states: ::Array[("SUBMITTED" | "PENDING" | "SCHEDULED" | "RUNNING" | "SUCCESS" | "FAILED" | "CANCELLING" | "CANCELLED")]
267
+ SENSITIVE: []
268
+ end
269
+
270
+ class ListJobRunsResponse
271
+ attr_accessor job_runs: ::Array[Types::JobRunSummary]
272
+ attr_accessor next_token: ::String
273
+ SENSITIVE: []
274
+ end
275
+
276
+ class ListTagsForResourceRequest
277
+ attr_accessor resource_arn: ::String
278
+ SENSITIVE: []
279
+ end
280
+
281
+ class ListTagsForResourceResponse
282
+ attr_accessor tags: ::Hash[::String, ::String]
283
+ SENSITIVE: []
284
+ end
285
+
286
+ class ManagedPersistenceMonitoringConfiguration
287
+ attr_accessor enabled: bool
288
+ attr_accessor encryption_key_arn: ::String
289
+ SENSITIVE: []
290
+ end
291
+
292
+ class MaximumAllowedResources
293
+ attr_accessor cpu: ::String
294
+ attr_accessor memory: ::String
295
+ attr_accessor disk: ::String
296
+ SENSITIVE: []
297
+ end
298
+
299
+ class MonitoringConfiguration
300
+ attr_accessor s3_monitoring_configuration: Types::S3MonitoringConfiguration
301
+ attr_accessor managed_persistence_monitoring_configuration: Types::ManagedPersistenceMonitoringConfiguration
302
+ attr_accessor cloud_watch_logging_configuration: Types::CloudWatchLoggingConfiguration
303
+ SENSITIVE: []
304
+ end
305
+
306
+ class NetworkConfiguration
307
+ attr_accessor subnet_ids: ::Array[::String]
308
+ attr_accessor security_group_ids: ::Array[::String]
309
+ SENSITIVE: []
310
+ end
311
+
312
+ class ResourceNotFoundException
313
+ attr_accessor message: ::String
314
+ SENSITIVE: []
315
+ end
316
+
317
+ class ResourceUtilization
318
+ attr_accessor v_cpu_hour: ::Float
319
+ attr_accessor memory_gb_hour: ::Float
320
+ attr_accessor storage_gb_hour: ::Float
321
+ SENSITIVE: []
322
+ end
323
+
324
+ class S3MonitoringConfiguration
325
+ attr_accessor log_uri: ::String
326
+ attr_accessor encryption_key_arn: ::String
327
+ SENSITIVE: []
328
+ end
329
+
330
+ class ServiceQuotaExceededException
331
+ attr_accessor message: ::String
332
+ SENSITIVE: []
333
+ end
334
+
335
+ class SparkSubmit
336
+ attr_accessor entry_point: ::String
337
+ attr_accessor entry_point_arguments: ::Array[::String]
338
+ attr_accessor spark_submit_parameters: ::String
339
+ SENSITIVE: [:entry_point, :spark_submit_parameters]
340
+ end
341
+
342
+ class StartApplicationRequest
343
+ attr_accessor application_id: ::String
344
+ SENSITIVE: []
345
+ end
346
+
347
+ class StartApplicationResponse < Aws::EmptyStructure
348
+ end
349
+
350
+ class StartJobRunRequest
351
+ attr_accessor application_id: ::String
352
+ attr_accessor client_token: ::String
353
+ attr_accessor execution_role_arn: ::String
354
+ attr_accessor job_driver: Types::JobDriver
355
+ attr_accessor configuration_overrides: Types::ConfigurationOverrides
356
+ attr_accessor tags: ::Hash[::String, ::String]
357
+ attr_accessor execution_timeout_minutes: ::Integer
358
+ attr_accessor name: ::String
359
+ SENSITIVE: []
360
+ end
361
+
362
+ class StartJobRunResponse
363
+ attr_accessor application_id: ::String
364
+ attr_accessor job_run_id: ::String
365
+ attr_accessor arn: ::String
366
+ SENSITIVE: []
367
+ end
368
+
369
+ class StopApplicationRequest
370
+ attr_accessor application_id: ::String
371
+ SENSITIVE: []
372
+ end
373
+
374
+ class StopApplicationResponse < Aws::EmptyStructure
375
+ end
376
+
377
+ class TagResourceRequest
378
+ attr_accessor resource_arn: ::String
379
+ attr_accessor tags: ::Hash[::String, ::String]
380
+ SENSITIVE: []
381
+ end
382
+
383
+ class TagResourceResponse < Aws::EmptyStructure
384
+ end
385
+
386
+ class TotalResourceUtilization
387
+ attr_accessor v_cpu_hour: ::Float
388
+ attr_accessor memory_gb_hour: ::Float
389
+ attr_accessor storage_gb_hour: ::Float
390
+ SENSITIVE: []
391
+ end
392
+
393
+ class UntagResourceRequest
394
+ attr_accessor resource_arn: ::String
395
+ attr_accessor tag_keys: ::Array[::String]
396
+ SENSITIVE: []
397
+ end
398
+
399
+ class UntagResourceResponse < Aws::EmptyStructure
400
+ end
401
+
402
+ class UpdateApplicationRequest
403
+ attr_accessor application_id: ::String
404
+ attr_accessor client_token: ::String
405
+ attr_accessor initial_capacity: ::Hash[::String, Types::InitialCapacityConfig]
406
+ attr_accessor maximum_capacity: Types::MaximumAllowedResources
407
+ attr_accessor auto_start_configuration: Types::AutoStartConfig
408
+ attr_accessor auto_stop_configuration: Types::AutoStopConfig
409
+ attr_accessor network_configuration: Types::NetworkConfiguration
410
+ attr_accessor architecture: ("ARM64" | "X86_64")
411
+ attr_accessor image_configuration: Types::ImageConfigurationInput
412
+ attr_accessor worker_type_specifications: ::Hash[::String, Types::WorkerTypeSpecificationInput]
413
+ attr_accessor release_label: ::String
414
+ attr_accessor runtime_configuration: ::Array[Types::Configuration]
415
+ attr_accessor monitoring_configuration: Types::MonitoringConfiguration
416
+ SENSITIVE: []
417
+ end
418
+
419
+ class UpdateApplicationResponse
420
+ attr_accessor application: Types::Application
421
+ SENSITIVE: []
422
+ end
423
+
424
+ class ValidationException
425
+ attr_accessor message: ::String
426
+ SENSITIVE: []
427
+ end
428
+
429
+ class WorkerResourceConfig
430
+ attr_accessor cpu: ::String
431
+ attr_accessor memory: ::String
432
+ attr_accessor disk: ::String
433
+ attr_accessor disk_type: ::String
434
+ SENSITIVE: []
435
+ end
436
+
437
+ class WorkerTypeSpecification
438
+ attr_accessor image_configuration: Types::ImageConfiguration
439
+ SENSITIVE: []
440
+ end
441
+
442
+ class WorkerTypeSpecificationInput
443
+ attr_accessor image_configuration: Types::ImageConfigurationInput
444
+ SENSITIVE: []
445
+ end
446
+ end
447
+ 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 EMRServerless
10
+ module Waiters
11
+ end
12
+ end
13
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-emrserverless
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.0
4
+ version: 1.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-28 00:00:00.000000000 Z
11
+ date: 2024-04-16 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.188.0
22
+ version: 3.191.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.188.0
32
+ version: 3.191.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -66,13 +66,18 @@ files:
66
66
  - lib/aws-sdk-emrserverless/plugins/endpoints.rb
67
67
  - lib/aws-sdk-emrserverless/resource.rb
68
68
  - lib/aws-sdk-emrserverless/types.rb
69
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
69
74
  homepage: https://github.com/aws/aws-sdk-ruby
70
75
  licenses:
71
76
  - Apache-2.0
72
77
  metadata:
73
78
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-emrserverless
74
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-emrserverless/CHANGELOG.md
75
- post_install_message:
80
+ post_install_message:
76
81
  rdoc_options: []
77
82
  require_paths:
78
83
  - lib
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
92
  - !ruby/object:Gem::Version
88
93
  version: '0'
89
94
  requirements: []
90
- rubygems_version: 3.1.6
91
- signing_key:
95
+ rubygems_version: 3.4.10
96
+ signing_key:
92
97
  specification_version: 4
93
98
  summary: AWS SDK for Ruby - EMR Serverless
94
99
  test_files: []