aws-sdk-emrserverless 1.18.0 → 1.19.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: 9af4d6e9d0f70c4588c85feefb45bba130397208b8fdf4bc041a92f3ec432328
4
+ data.tar.gz: ca30251c880c6608f814f9233276beeabc13ced59bf1a34b58326f0e4afa3f3a
5
5
  SHA512:
6
- metadata.gz: 54686471ac580bfca4d4633aabc05ebf4589b6d33d10ff11e3d04ac4ce3f0299ab6cbfeed26267dfa5d99c493fe43cb035f01a69f8bda033b3f4b80538fb50f9
7
- data.tar.gz: 1abc34e95aa6733ea5a2b3da9a7c809db59a3d794e3231824837fdfd1e7cbba15cf9fa6f63e60387e9ccf844b28fc2133f6c16fd902d87d272f426ad5ab62899
6
+ metadata.gz: 131dbfb475dc2b229c78c32200587342436073103650d8b3a4a57d2ffb2e04faeb5eb7e80ae2f78a88518e98d5fe35a991364ec26167fdb42fe1008c9235659e
7
+ data.tar.gz: 2db8189ed725d28340f49e0f762c045a892e8d1e84baecf3b148ac5c0839dc903f359e16884a2321cc66c781dc7360730ed7297564194192f69222f7302eb34e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.19.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.18.0 (2023-11-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.18.0
1
+ 1.19.0
@@ -1402,7 +1402,7 @@ module Aws::EMRServerless
1402
1402
  params: params,
1403
1403
  config: config)
1404
1404
  context[:gem_name] = 'aws-sdk-emrserverless'
1405
- context[:gem_version] = '1.18.0'
1405
+ context[:gem_version] = '1.19.0'
1406
1406
  Seahorse::Client::Request.new(handlers, context)
1407
1407
  end
1408
1408
 
@@ -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 '\
@@ -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.19.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,404 @@
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
+ }?
106
+ }],
107
+ ?maximum_capacity: {
108
+ cpu: ::String,
109
+ memory: ::String,
110
+ disk: ::String?
111
+ },
112
+ ?tags: Hash[::String, ::String],
113
+ ?auto_start_configuration: {
114
+ enabled: bool?
115
+ },
116
+ ?auto_stop_configuration: {
117
+ enabled: bool?,
118
+ idle_timeout_minutes: ::Integer?
119
+ },
120
+ ?network_configuration: {
121
+ subnet_ids: Array[::String]?,
122
+ security_group_ids: Array[::String]?
123
+ },
124
+ ?architecture: ("ARM64" | "X86_64"),
125
+ ?image_configuration: {
126
+ image_uri: ::String?
127
+ },
128
+ ?worker_type_specifications: Hash[::String, {
129
+ image_configuration: {
130
+ image_uri: ::String?
131
+ }?
132
+ }],
133
+ ?runtime_configuration: Array[
134
+ {
135
+ classification: ::String,
136
+ properties: Hash[::String, ::String]?,
137
+ configurations: untyped?
138
+ },
139
+ ],
140
+ ?monitoring_configuration: {
141
+ s3_monitoring_configuration: {
142
+ log_uri: ::String?,
143
+ encryption_key_arn: ::String?
144
+ }?,
145
+ managed_persistence_monitoring_configuration: {
146
+ enabled: bool?,
147
+ encryption_key_arn: ::String?
148
+ }?,
149
+ cloud_watch_logging_configuration: {
150
+ enabled: bool,
151
+ log_group_name: ::String?,
152
+ log_stream_name_prefix: ::String?,
153
+ encryption_key_arn: ::String?,
154
+ log_types: Hash[::String, Array[::String]]?
155
+ }?
156
+ }
157
+ ) -> _CreateApplicationResponseSuccess
158
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateApplicationResponseSuccess
159
+
160
+ interface _DeleteApplicationResponseSuccess
161
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteApplicationResponse]
162
+ end
163
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#delete_application-instance_method
164
+ def delete_application: (
165
+ application_id: ::String
166
+ ) -> _DeleteApplicationResponseSuccess
167
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteApplicationResponseSuccess
168
+
169
+ interface _GetApplicationResponseSuccess
170
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetApplicationResponse]
171
+ def application: () -> Types::Application
172
+ end
173
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#get_application-instance_method
174
+ def get_application: (
175
+ application_id: ::String
176
+ ) -> _GetApplicationResponseSuccess
177
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetApplicationResponseSuccess
178
+
179
+ interface _GetDashboardForJobRunResponseSuccess
180
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDashboardForJobRunResponse]
181
+ def url: () -> ::String
182
+ end
183
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#get_dashboard_for_job_run-instance_method
184
+ def get_dashboard_for_job_run: (
185
+ application_id: ::String,
186
+ job_run_id: ::String
187
+ ) -> _GetDashboardForJobRunResponseSuccess
188
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDashboardForJobRunResponseSuccess
189
+
190
+ interface _GetJobRunResponseSuccess
191
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetJobRunResponse]
192
+ def job_run: () -> Types::JobRun
193
+ end
194
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#get_job_run-instance_method
195
+ def get_job_run: (
196
+ application_id: ::String,
197
+ job_run_id: ::String
198
+ ) -> _GetJobRunResponseSuccess
199
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetJobRunResponseSuccess
200
+
201
+ interface _ListApplicationsResponseSuccess
202
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListApplicationsResponse]
203
+ def applications: () -> ::Array[Types::ApplicationSummary]
204
+ def next_token: () -> ::String
205
+ end
206
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#list_applications-instance_method
207
+ def list_applications: (
208
+ ?next_token: ::String,
209
+ ?max_results: ::Integer,
210
+ ?states: Array[("CREATING" | "CREATED" | "STARTING" | "STARTED" | "STOPPING" | "STOPPED" | "TERMINATED")]
211
+ ) -> _ListApplicationsResponseSuccess
212
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListApplicationsResponseSuccess
213
+
214
+ interface _ListJobRunsResponseSuccess
215
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListJobRunsResponse]
216
+ def job_runs: () -> ::Array[Types::JobRunSummary]
217
+ def next_token: () -> ::String
218
+ end
219
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#list_job_runs-instance_method
220
+ def list_job_runs: (
221
+ application_id: ::String,
222
+ ?next_token: ::String,
223
+ ?max_results: ::Integer,
224
+ ?created_at_after: ::Time,
225
+ ?created_at_before: ::Time,
226
+ ?states: Array[("SUBMITTED" | "PENDING" | "SCHEDULED" | "RUNNING" | "SUCCESS" | "FAILED" | "CANCELLING" | "CANCELLED")]
227
+ ) -> _ListJobRunsResponseSuccess
228
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListJobRunsResponseSuccess
229
+
230
+ interface _ListTagsForResourceResponseSuccess
231
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
232
+ def tags: () -> ::Hash[::String, ::String]
233
+ end
234
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#list_tags_for_resource-instance_method
235
+ def list_tags_for_resource: (
236
+ resource_arn: ::String
237
+ ) -> _ListTagsForResourceResponseSuccess
238
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
239
+
240
+ interface _StartApplicationResponseSuccess
241
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartApplicationResponse]
242
+ end
243
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#start_application-instance_method
244
+ def start_application: (
245
+ application_id: ::String
246
+ ) -> _StartApplicationResponseSuccess
247
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartApplicationResponseSuccess
248
+
249
+ interface _StartJobRunResponseSuccess
250
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartJobRunResponse]
251
+ def application_id: () -> ::String
252
+ def job_run_id: () -> ::String
253
+ def arn: () -> ::String
254
+ end
255
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#start_job_run-instance_method
256
+ def start_job_run: (
257
+ application_id: ::String,
258
+ client_token: ::String,
259
+ execution_role_arn: ::String,
260
+ ?job_driver: {
261
+ spark_submit: {
262
+ entry_point: ::String,
263
+ entry_point_arguments: Array[::String]?,
264
+ spark_submit_parameters: ::String?
265
+ }?,
266
+ hive: {
267
+ query: ::String,
268
+ init_query_file: ::String?,
269
+ parameters: ::String?
270
+ }?
271
+ },
272
+ ?configuration_overrides: {
273
+ application_configuration: Array[
274
+ {
275
+ classification: ::String,
276
+ properties: Hash[::String, ::String]?,
277
+ configurations: untyped?
278
+ },
279
+ ]?,
280
+ monitoring_configuration: {
281
+ s3_monitoring_configuration: {
282
+ log_uri: ::String?,
283
+ encryption_key_arn: ::String?
284
+ }?,
285
+ managed_persistence_monitoring_configuration: {
286
+ enabled: bool?,
287
+ encryption_key_arn: ::String?
288
+ }?,
289
+ cloud_watch_logging_configuration: {
290
+ enabled: bool,
291
+ log_group_name: ::String?,
292
+ log_stream_name_prefix: ::String?,
293
+ encryption_key_arn: ::String?,
294
+ log_types: Hash[::String, Array[::String]]?
295
+ }?
296
+ }?
297
+ },
298
+ ?tags: Hash[::String, ::String],
299
+ ?execution_timeout_minutes: ::Integer,
300
+ ?name: ::String
301
+ ) -> _StartJobRunResponseSuccess
302
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartJobRunResponseSuccess
303
+
304
+ interface _StopApplicationResponseSuccess
305
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopApplicationResponse]
306
+ end
307
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#stop_application-instance_method
308
+ def stop_application: (
309
+ application_id: ::String
310
+ ) -> _StopApplicationResponseSuccess
311
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopApplicationResponseSuccess
312
+
313
+ interface _TagResourceResponseSuccess
314
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
315
+ end
316
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#tag_resource-instance_method
317
+ def tag_resource: (
318
+ resource_arn: ::String,
319
+ tags: Hash[::String, ::String]
320
+ ) -> _TagResourceResponseSuccess
321
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
322
+
323
+ interface _UntagResourceResponseSuccess
324
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
325
+ end
326
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#untag_resource-instance_method
327
+ def untag_resource: (
328
+ resource_arn: ::String,
329
+ tag_keys: Array[::String]
330
+ ) -> _UntagResourceResponseSuccess
331
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
332
+
333
+ interface _UpdateApplicationResponseSuccess
334
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateApplicationResponse]
335
+ def application: () -> Types::Application
336
+ end
337
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#update_application-instance_method
338
+ def update_application: (
339
+ application_id: ::String,
340
+ client_token: ::String,
341
+ ?initial_capacity: Hash[::String, {
342
+ worker_count: ::Integer,
343
+ worker_configuration: {
344
+ cpu: ::String,
345
+ memory: ::String,
346
+ disk: ::String?
347
+ }?
348
+ }],
349
+ ?maximum_capacity: {
350
+ cpu: ::String,
351
+ memory: ::String,
352
+ disk: ::String?
353
+ },
354
+ ?auto_start_configuration: {
355
+ enabled: bool?
356
+ },
357
+ ?auto_stop_configuration: {
358
+ enabled: bool?,
359
+ idle_timeout_minutes: ::Integer?
360
+ },
361
+ ?network_configuration: {
362
+ subnet_ids: Array[::String]?,
363
+ security_group_ids: Array[::String]?
364
+ },
365
+ ?architecture: ("ARM64" | "X86_64"),
366
+ ?image_configuration: {
367
+ image_uri: ::String?
368
+ },
369
+ ?worker_type_specifications: Hash[::String, {
370
+ image_configuration: {
371
+ image_uri: ::String?
372
+ }?
373
+ }],
374
+ ?release_label: ::String,
375
+ ?runtime_configuration: Array[
376
+ {
377
+ classification: ::String,
378
+ properties: Hash[::String, ::String]?,
379
+ configurations: untyped?
380
+ },
381
+ ],
382
+ ?monitoring_configuration: {
383
+ s3_monitoring_configuration: {
384
+ log_uri: ::String?,
385
+ encryption_key_arn: ::String?
386
+ }?,
387
+ managed_persistence_monitoring_configuration: {
388
+ enabled: bool?,
389
+ encryption_key_arn: ::String?
390
+ }?,
391
+ cloud_watch_logging_configuration: {
392
+ enabled: bool,
393
+ log_group_name: ::String?,
394
+ log_stream_name_prefix: ::String?,
395
+ encryption_key_arn: ::String?,
396
+ log_types: Hash[::String, Array[::String]]?
397
+ }?
398
+ }
399
+ ) -> _UpdateApplicationResponseSuccess
400
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApplicationResponseSuccess
401
+ end
402
+ end
403
+ end
404
+
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,446 @@
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
+ SENSITIVE: []
434
+ end
435
+
436
+ class WorkerTypeSpecification
437
+ attr_accessor image_configuration: Types::ImageConfiguration
438
+ SENSITIVE: []
439
+ end
440
+
441
+ class WorkerTypeSpecificationInput
442
+ attr_accessor image_configuration: Types::ImageConfigurationInput
443
+ SENSITIVE: []
444
+ end
445
+ end
446
+ 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.19.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-01-26 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: []