aws-sdk-redshiftserverless 1.24.0 → 1.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/sig/client.rbs ADDED
@@ -0,0 +1,861 @@
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 RedshiftServerless
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/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
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ interface _ConvertRecoveryPointToSnapshotResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::ConvertRecoveryPointToSnapshotResponse]
78
+ def snapshot: () -> Types::Snapshot
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#convert_recovery_point_to_snapshot-instance_method
81
+ def convert_recovery_point_to_snapshot: (
82
+ recovery_point_id: ::String,
83
+ ?retention_period: ::Integer,
84
+ snapshot_name: ::String,
85
+ ?tags: Array[
86
+ {
87
+ key: ::String,
88
+ value: ::String
89
+ },
90
+ ]
91
+ ) -> _ConvertRecoveryPointToSnapshotResponseSuccess
92
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ConvertRecoveryPointToSnapshotResponseSuccess
93
+
94
+ interface _CreateCustomDomainAssociationResponseSuccess
95
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateCustomDomainAssociationResponse]
96
+ def custom_domain_certificate_arn: () -> ::String
97
+ def custom_domain_certificate_expiry_time: () -> ::Time
98
+ def custom_domain_name: () -> ::String
99
+ def workgroup_name: () -> ::String
100
+ end
101
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#create_custom_domain_association-instance_method
102
+ def create_custom_domain_association: (
103
+ custom_domain_certificate_arn: ::String,
104
+ custom_domain_name: ::String,
105
+ workgroup_name: ::String
106
+ ) -> _CreateCustomDomainAssociationResponseSuccess
107
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCustomDomainAssociationResponseSuccess
108
+
109
+ interface _CreateEndpointAccessResponseSuccess
110
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateEndpointAccessResponse]
111
+ def endpoint: () -> Types::EndpointAccess
112
+ end
113
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#create_endpoint_access-instance_method
114
+ def create_endpoint_access: (
115
+ endpoint_name: ::String,
116
+ ?owner_account: ::String,
117
+ subnet_ids: Array[::String],
118
+ ?vpc_security_group_ids: Array[::String],
119
+ workgroup_name: ::String
120
+ ) -> _CreateEndpointAccessResponseSuccess
121
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEndpointAccessResponseSuccess
122
+
123
+ interface _CreateNamespaceResponseSuccess
124
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateNamespaceResponse]
125
+ def namespace: () -> Types::Namespace
126
+ end
127
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#create_namespace-instance_method
128
+ def create_namespace: (
129
+ ?admin_password_secret_kms_key_id: ::String,
130
+ ?admin_user_password: ::String,
131
+ ?admin_username: ::String,
132
+ ?db_name: ::String,
133
+ ?default_iam_role_arn: ::String,
134
+ ?iam_roles: Array[::String],
135
+ ?kms_key_id: ::String,
136
+ ?log_exports: Array[("useractivitylog" | "userlog" | "connectionlog")],
137
+ ?manage_admin_password: bool,
138
+ namespace_name: ::String,
139
+ ?redshift_idc_application_arn: ::String,
140
+ ?tags: Array[
141
+ {
142
+ key: ::String,
143
+ value: ::String
144
+ },
145
+ ]
146
+ ) -> _CreateNamespaceResponseSuccess
147
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateNamespaceResponseSuccess
148
+
149
+ interface _CreateScheduledActionResponseSuccess
150
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateScheduledActionResponse]
151
+ def scheduled_action: () -> Types::ScheduledActionResponse
152
+ end
153
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#create_scheduled_action-instance_method
154
+ def create_scheduled_action: (
155
+ ?enabled: bool,
156
+ ?end_time: ::Time,
157
+ namespace_name: ::String,
158
+ role_arn: ::String,
159
+ schedule: {
160
+ at: ::Time?,
161
+ cron: ::String?
162
+ },
163
+ ?scheduled_action_description: ::String,
164
+ scheduled_action_name: ::String,
165
+ ?start_time: ::Time,
166
+ target_action: {
167
+ create_snapshot: {
168
+ namespace_name: ::String,
169
+ retention_period: ::Integer?,
170
+ snapshot_name_prefix: ::String,
171
+ tags: Array[
172
+ {
173
+ key: ::String,
174
+ value: ::String
175
+ },
176
+ ]?
177
+ }?
178
+ }
179
+ ) -> _CreateScheduledActionResponseSuccess
180
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateScheduledActionResponseSuccess
181
+
182
+ interface _CreateSnapshotResponseSuccess
183
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSnapshotResponse]
184
+ def snapshot: () -> Types::Snapshot
185
+ end
186
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#create_snapshot-instance_method
187
+ def create_snapshot: (
188
+ namespace_name: ::String,
189
+ ?retention_period: ::Integer,
190
+ snapshot_name: ::String,
191
+ ?tags: Array[
192
+ {
193
+ key: ::String,
194
+ value: ::String
195
+ },
196
+ ]
197
+ ) -> _CreateSnapshotResponseSuccess
198
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSnapshotResponseSuccess
199
+
200
+ interface _CreateSnapshotCopyConfigurationResponseSuccess
201
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSnapshotCopyConfigurationResponse]
202
+ def snapshot_copy_configuration: () -> Types::SnapshotCopyConfiguration
203
+ end
204
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#create_snapshot_copy_configuration-instance_method
205
+ def create_snapshot_copy_configuration: (
206
+ ?destination_kms_key_id: ::String,
207
+ destination_region: ::String,
208
+ namespace_name: ::String,
209
+ ?snapshot_retention_period: ::Integer
210
+ ) -> _CreateSnapshotCopyConfigurationResponseSuccess
211
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSnapshotCopyConfigurationResponseSuccess
212
+
213
+ interface _CreateUsageLimitResponseSuccess
214
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateUsageLimitResponse]
215
+ def usage_limit: () -> Types::UsageLimit
216
+ end
217
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#create_usage_limit-instance_method
218
+ def create_usage_limit: (
219
+ amount: ::Integer,
220
+ ?breach_action: ("log" | "emit-metric" | "deactivate"),
221
+ ?period: ("daily" | "weekly" | "monthly"),
222
+ resource_arn: ::String,
223
+ usage_type: ("serverless-compute" | "cross-region-datasharing")
224
+ ) -> _CreateUsageLimitResponseSuccess
225
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateUsageLimitResponseSuccess
226
+
227
+ interface _CreateWorkgroupResponseSuccess
228
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateWorkgroupResponse]
229
+ def workgroup: () -> Types::Workgroup
230
+ end
231
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#create_workgroup-instance_method
232
+ def create_workgroup: (
233
+ ?base_capacity: ::Integer,
234
+ ?config_parameters: Array[
235
+ {
236
+ parameter_key: ::String?,
237
+ parameter_value: ::String?
238
+ },
239
+ ],
240
+ ?enhanced_vpc_routing: bool,
241
+ ?max_capacity: ::Integer,
242
+ namespace_name: ::String,
243
+ ?port: ::Integer,
244
+ ?publicly_accessible: bool,
245
+ ?security_group_ids: Array[::String],
246
+ ?subnet_ids: Array[::String],
247
+ ?tags: Array[
248
+ {
249
+ key: ::String,
250
+ value: ::String
251
+ },
252
+ ],
253
+ workgroup_name: ::String
254
+ ) -> _CreateWorkgroupResponseSuccess
255
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWorkgroupResponseSuccess
256
+
257
+ interface _DeleteCustomDomainAssociationResponseSuccess
258
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCustomDomainAssociationResponse]
259
+ end
260
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#delete_custom_domain_association-instance_method
261
+ def delete_custom_domain_association: (
262
+ custom_domain_name: ::String,
263
+ workgroup_name: ::String
264
+ ) -> _DeleteCustomDomainAssociationResponseSuccess
265
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCustomDomainAssociationResponseSuccess
266
+
267
+ interface _DeleteEndpointAccessResponseSuccess
268
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteEndpointAccessResponse]
269
+ def endpoint: () -> Types::EndpointAccess
270
+ end
271
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#delete_endpoint_access-instance_method
272
+ def delete_endpoint_access: (
273
+ endpoint_name: ::String
274
+ ) -> _DeleteEndpointAccessResponseSuccess
275
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteEndpointAccessResponseSuccess
276
+
277
+ interface _DeleteNamespaceResponseSuccess
278
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteNamespaceResponse]
279
+ def namespace: () -> Types::Namespace
280
+ end
281
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#delete_namespace-instance_method
282
+ def delete_namespace: (
283
+ ?final_snapshot_name: ::String,
284
+ ?final_snapshot_retention_period: ::Integer,
285
+ namespace_name: ::String
286
+ ) -> _DeleteNamespaceResponseSuccess
287
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteNamespaceResponseSuccess
288
+
289
+ interface _DeleteResourcePolicyResponseSuccess
290
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteResourcePolicyResponse]
291
+ end
292
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#delete_resource_policy-instance_method
293
+ def delete_resource_policy: (
294
+ resource_arn: ::String
295
+ ) -> _DeleteResourcePolicyResponseSuccess
296
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResourcePolicyResponseSuccess
297
+
298
+ interface _DeleteScheduledActionResponseSuccess
299
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteScheduledActionResponse]
300
+ def scheduled_action: () -> Types::ScheduledActionResponse
301
+ end
302
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#delete_scheduled_action-instance_method
303
+ def delete_scheduled_action: (
304
+ scheduled_action_name: ::String
305
+ ) -> _DeleteScheduledActionResponseSuccess
306
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteScheduledActionResponseSuccess
307
+
308
+ interface _DeleteSnapshotResponseSuccess
309
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSnapshotResponse]
310
+ def snapshot: () -> Types::Snapshot
311
+ end
312
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#delete_snapshot-instance_method
313
+ def delete_snapshot: (
314
+ snapshot_name: ::String
315
+ ) -> _DeleteSnapshotResponseSuccess
316
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSnapshotResponseSuccess
317
+
318
+ interface _DeleteSnapshotCopyConfigurationResponseSuccess
319
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSnapshotCopyConfigurationResponse]
320
+ def snapshot_copy_configuration: () -> Types::SnapshotCopyConfiguration
321
+ end
322
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#delete_snapshot_copy_configuration-instance_method
323
+ def delete_snapshot_copy_configuration: (
324
+ snapshot_copy_configuration_id: ::String
325
+ ) -> _DeleteSnapshotCopyConfigurationResponseSuccess
326
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSnapshotCopyConfigurationResponseSuccess
327
+
328
+ interface _DeleteUsageLimitResponseSuccess
329
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteUsageLimitResponse]
330
+ def usage_limit: () -> Types::UsageLimit
331
+ end
332
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#delete_usage_limit-instance_method
333
+ def delete_usage_limit: (
334
+ usage_limit_id: ::String
335
+ ) -> _DeleteUsageLimitResponseSuccess
336
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteUsageLimitResponseSuccess
337
+
338
+ interface _DeleteWorkgroupResponseSuccess
339
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteWorkgroupResponse]
340
+ def workgroup: () -> Types::Workgroup
341
+ end
342
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#delete_workgroup-instance_method
343
+ def delete_workgroup: (
344
+ workgroup_name: ::String
345
+ ) -> _DeleteWorkgroupResponseSuccess
346
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteWorkgroupResponseSuccess
347
+
348
+ interface _GetCredentialsResponseSuccess
349
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCredentialsResponse]
350
+ def db_password: () -> ::String
351
+ def db_user: () -> ::String
352
+ def expiration: () -> ::Time
353
+ def next_refresh_time: () -> ::Time
354
+ end
355
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#get_credentials-instance_method
356
+ def get_credentials: (
357
+ ?custom_domain_name: ::String,
358
+ ?db_name: ::String,
359
+ ?duration_seconds: ::Integer,
360
+ ?workgroup_name: ::String
361
+ ) -> _GetCredentialsResponseSuccess
362
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCredentialsResponseSuccess
363
+
364
+ interface _GetCustomDomainAssociationResponseSuccess
365
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCustomDomainAssociationResponse]
366
+ def custom_domain_certificate_arn: () -> ::String
367
+ def custom_domain_certificate_expiry_time: () -> ::Time
368
+ def custom_domain_name: () -> ::String
369
+ def workgroup_name: () -> ::String
370
+ end
371
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#get_custom_domain_association-instance_method
372
+ def get_custom_domain_association: (
373
+ custom_domain_name: ::String,
374
+ workgroup_name: ::String
375
+ ) -> _GetCustomDomainAssociationResponseSuccess
376
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCustomDomainAssociationResponseSuccess
377
+
378
+ interface _GetEndpointAccessResponseSuccess
379
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEndpointAccessResponse]
380
+ def endpoint: () -> Types::EndpointAccess
381
+ end
382
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#get_endpoint_access-instance_method
383
+ def get_endpoint_access: (
384
+ endpoint_name: ::String
385
+ ) -> _GetEndpointAccessResponseSuccess
386
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEndpointAccessResponseSuccess
387
+
388
+ interface _GetNamespaceResponseSuccess
389
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetNamespaceResponse]
390
+ def namespace: () -> Types::Namespace
391
+ end
392
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#get_namespace-instance_method
393
+ def get_namespace: (
394
+ namespace_name: ::String
395
+ ) -> _GetNamespaceResponseSuccess
396
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetNamespaceResponseSuccess
397
+
398
+ interface _GetRecoveryPointResponseSuccess
399
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRecoveryPointResponse]
400
+ def recovery_point: () -> Types::RecoveryPoint
401
+ end
402
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#get_recovery_point-instance_method
403
+ def get_recovery_point: (
404
+ recovery_point_id: ::String
405
+ ) -> _GetRecoveryPointResponseSuccess
406
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRecoveryPointResponseSuccess
407
+
408
+ interface _GetResourcePolicyResponseSuccess
409
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePolicyResponse]
410
+ def resource_policy: () -> Types::ResourcePolicy
411
+ end
412
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#get_resource_policy-instance_method
413
+ def get_resource_policy: (
414
+ resource_arn: ::String
415
+ ) -> _GetResourcePolicyResponseSuccess
416
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
417
+
418
+ interface _GetScheduledActionResponseSuccess
419
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetScheduledActionResponse]
420
+ def scheduled_action: () -> Types::ScheduledActionResponse
421
+ end
422
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#get_scheduled_action-instance_method
423
+ def get_scheduled_action: (
424
+ scheduled_action_name: ::String
425
+ ) -> _GetScheduledActionResponseSuccess
426
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetScheduledActionResponseSuccess
427
+
428
+ interface _GetSnapshotResponseSuccess
429
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSnapshotResponse]
430
+ def snapshot: () -> Types::Snapshot
431
+ end
432
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#get_snapshot-instance_method
433
+ def get_snapshot: (
434
+ ?owner_account: ::String,
435
+ ?snapshot_arn: ::String,
436
+ ?snapshot_name: ::String
437
+ ) -> _GetSnapshotResponseSuccess
438
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSnapshotResponseSuccess
439
+
440
+ interface _GetTableRestoreStatusResponseSuccess
441
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTableRestoreStatusResponse]
442
+ def table_restore_status: () -> Types::TableRestoreStatus
443
+ end
444
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#get_table_restore_status-instance_method
445
+ def get_table_restore_status: (
446
+ table_restore_request_id: ::String
447
+ ) -> _GetTableRestoreStatusResponseSuccess
448
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTableRestoreStatusResponseSuccess
449
+
450
+ interface _GetUsageLimitResponseSuccess
451
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetUsageLimitResponse]
452
+ def usage_limit: () -> Types::UsageLimit
453
+ end
454
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#get_usage_limit-instance_method
455
+ def get_usage_limit: (
456
+ usage_limit_id: ::String
457
+ ) -> _GetUsageLimitResponseSuccess
458
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetUsageLimitResponseSuccess
459
+
460
+ interface _GetWorkgroupResponseSuccess
461
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetWorkgroupResponse]
462
+ def workgroup: () -> Types::Workgroup
463
+ end
464
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#get_workgroup-instance_method
465
+ def get_workgroup: (
466
+ workgroup_name: ::String
467
+ ) -> _GetWorkgroupResponseSuccess
468
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetWorkgroupResponseSuccess
469
+
470
+ interface _ListCustomDomainAssociationsResponseSuccess
471
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCustomDomainAssociationsResponse]
472
+ def associations: () -> ::Array[Types::Association]
473
+ def next_token: () -> ::String
474
+ end
475
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#list_custom_domain_associations-instance_method
476
+ def list_custom_domain_associations: (
477
+ ?custom_domain_certificate_arn: ::String,
478
+ ?custom_domain_name: ::String,
479
+ ?max_results: ::Integer,
480
+ ?next_token: ::String
481
+ ) -> _ListCustomDomainAssociationsResponseSuccess
482
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCustomDomainAssociationsResponseSuccess
483
+
484
+ interface _ListEndpointAccessResponseSuccess
485
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListEndpointAccessResponse]
486
+ def endpoints: () -> ::Array[Types::EndpointAccess]
487
+ def next_token: () -> ::String
488
+ end
489
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#list_endpoint_access-instance_method
490
+ def list_endpoint_access: (
491
+ ?max_results: ::Integer,
492
+ ?next_token: ::String,
493
+ ?owner_account: ::String,
494
+ ?vpc_id: ::String,
495
+ ?workgroup_name: ::String
496
+ ) -> _ListEndpointAccessResponseSuccess
497
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEndpointAccessResponseSuccess
498
+
499
+ interface _ListNamespacesResponseSuccess
500
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListNamespacesResponse]
501
+ def namespaces: () -> ::Array[Types::Namespace]
502
+ def next_token: () -> ::String
503
+ end
504
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#list_namespaces-instance_method
505
+ def list_namespaces: (
506
+ ?max_results: ::Integer,
507
+ ?next_token: ::String
508
+ ) -> _ListNamespacesResponseSuccess
509
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNamespacesResponseSuccess
510
+
511
+ interface _ListRecoveryPointsResponseSuccess
512
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRecoveryPointsResponse]
513
+ def next_token: () -> ::String
514
+ def recovery_points: () -> ::Array[Types::RecoveryPoint]
515
+ end
516
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#list_recovery_points-instance_method
517
+ def list_recovery_points: (
518
+ ?end_time: ::Time,
519
+ ?max_results: ::Integer,
520
+ ?namespace_arn: ::String,
521
+ ?namespace_name: ::String,
522
+ ?next_token: ::String,
523
+ ?start_time: ::Time
524
+ ) -> _ListRecoveryPointsResponseSuccess
525
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRecoveryPointsResponseSuccess
526
+
527
+ interface _ListScheduledActionsResponseSuccess
528
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListScheduledActionsResponse]
529
+ def next_token: () -> ::String
530
+ def scheduled_actions: () -> ::Array[::String]
531
+ end
532
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#list_scheduled_actions-instance_method
533
+ def list_scheduled_actions: (
534
+ ?max_results: ::Integer,
535
+ ?namespace_name: ::String,
536
+ ?next_token: ::String
537
+ ) -> _ListScheduledActionsResponseSuccess
538
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListScheduledActionsResponseSuccess
539
+
540
+ interface _ListSnapshotCopyConfigurationsResponseSuccess
541
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSnapshotCopyConfigurationsResponse]
542
+ def next_token: () -> ::String
543
+ def snapshot_copy_configurations: () -> ::Array[Types::SnapshotCopyConfiguration]
544
+ end
545
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#list_snapshot_copy_configurations-instance_method
546
+ def list_snapshot_copy_configurations: (
547
+ ?max_results: ::Integer,
548
+ ?namespace_name: ::String,
549
+ ?next_token: ::String
550
+ ) -> _ListSnapshotCopyConfigurationsResponseSuccess
551
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSnapshotCopyConfigurationsResponseSuccess
552
+
553
+ interface _ListSnapshotsResponseSuccess
554
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSnapshotsResponse]
555
+ def next_token: () -> ::String
556
+ def snapshots: () -> ::Array[Types::Snapshot]
557
+ end
558
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#list_snapshots-instance_method
559
+ def list_snapshots: (
560
+ ?end_time: ::Time,
561
+ ?max_results: ::Integer,
562
+ ?namespace_arn: ::String,
563
+ ?namespace_name: ::String,
564
+ ?next_token: ::String,
565
+ ?owner_account: ::String,
566
+ ?start_time: ::Time
567
+ ) -> _ListSnapshotsResponseSuccess
568
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSnapshotsResponseSuccess
569
+
570
+ interface _ListTableRestoreStatusResponseSuccess
571
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTableRestoreStatusResponse]
572
+ def next_token: () -> ::String
573
+ def table_restore_statuses: () -> ::Array[Types::TableRestoreStatus]
574
+ end
575
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#list_table_restore_status-instance_method
576
+ def list_table_restore_status: (
577
+ ?max_results: ::Integer,
578
+ ?namespace_name: ::String,
579
+ ?next_token: ::String,
580
+ ?workgroup_name: ::String
581
+ ) -> _ListTableRestoreStatusResponseSuccess
582
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTableRestoreStatusResponseSuccess
583
+
584
+ interface _ListTagsForResourceResponseSuccess
585
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
586
+ def tags: () -> ::Array[Types::Tag]
587
+ end
588
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#list_tags_for_resource-instance_method
589
+ def list_tags_for_resource: (
590
+ resource_arn: ::String
591
+ ) -> _ListTagsForResourceResponseSuccess
592
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
593
+
594
+ interface _ListUsageLimitsResponseSuccess
595
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListUsageLimitsResponse]
596
+ def next_token: () -> ::String
597
+ def usage_limits: () -> ::Array[Types::UsageLimit]
598
+ end
599
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#list_usage_limits-instance_method
600
+ def list_usage_limits: (
601
+ ?max_results: ::Integer,
602
+ ?next_token: ::String,
603
+ ?resource_arn: ::String,
604
+ ?usage_type: ("serverless-compute" | "cross-region-datasharing")
605
+ ) -> _ListUsageLimitsResponseSuccess
606
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListUsageLimitsResponseSuccess
607
+
608
+ interface _ListWorkgroupsResponseSuccess
609
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListWorkgroupsResponse]
610
+ def next_token: () -> ::String
611
+ def workgroups: () -> ::Array[Types::Workgroup]
612
+ end
613
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#list_workgroups-instance_method
614
+ def list_workgroups: (
615
+ ?max_results: ::Integer,
616
+ ?next_token: ::String,
617
+ ?owner_account: ::String
618
+ ) -> _ListWorkgroupsResponseSuccess
619
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkgroupsResponseSuccess
620
+
621
+ interface _PutResourcePolicyResponseSuccess
622
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyResponse]
623
+ def resource_policy: () -> Types::ResourcePolicy
624
+ end
625
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#put_resource_policy-instance_method
626
+ def put_resource_policy: (
627
+ policy: ::String,
628
+ resource_arn: ::String
629
+ ) -> _PutResourcePolicyResponseSuccess
630
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
631
+
632
+ interface _RestoreFromRecoveryPointResponseSuccess
633
+ include ::Seahorse::Client::_ResponseSuccess[Types::RestoreFromRecoveryPointResponse]
634
+ def namespace: () -> Types::Namespace
635
+ def recovery_point_id: () -> ::String
636
+ end
637
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#restore_from_recovery_point-instance_method
638
+ def restore_from_recovery_point: (
639
+ namespace_name: ::String,
640
+ recovery_point_id: ::String,
641
+ workgroup_name: ::String
642
+ ) -> _RestoreFromRecoveryPointResponseSuccess
643
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreFromRecoveryPointResponseSuccess
644
+
645
+ interface _RestoreFromSnapshotResponseSuccess
646
+ include ::Seahorse::Client::_ResponseSuccess[Types::RestoreFromSnapshotResponse]
647
+ def namespace: () -> Types::Namespace
648
+ def owner_account: () -> ::String
649
+ def snapshot_name: () -> ::String
650
+ end
651
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#restore_from_snapshot-instance_method
652
+ def restore_from_snapshot: (
653
+ ?admin_password_secret_kms_key_id: ::String,
654
+ ?manage_admin_password: bool,
655
+ namespace_name: ::String,
656
+ ?owner_account: ::String,
657
+ ?snapshot_arn: ::String,
658
+ ?snapshot_name: ::String,
659
+ workgroup_name: ::String
660
+ ) -> _RestoreFromSnapshotResponseSuccess
661
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreFromSnapshotResponseSuccess
662
+
663
+ interface _RestoreTableFromRecoveryPointResponseSuccess
664
+ include ::Seahorse::Client::_ResponseSuccess[Types::RestoreTableFromRecoveryPointResponse]
665
+ def table_restore_status: () -> Types::TableRestoreStatus
666
+ end
667
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#restore_table_from_recovery_point-instance_method
668
+ def restore_table_from_recovery_point: (
669
+ ?activate_case_sensitive_identifier: bool,
670
+ namespace_name: ::String,
671
+ new_table_name: ::String,
672
+ recovery_point_id: ::String,
673
+ source_database_name: ::String,
674
+ ?source_schema_name: ::String,
675
+ source_table_name: ::String,
676
+ ?target_database_name: ::String,
677
+ ?target_schema_name: ::String,
678
+ workgroup_name: ::String
679
+ ) -> _RestoreTableFromRecoveryPointResponseSuccess
680
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreTableFromRecoveryPointResponseSuccess
681
+
682
+ interface _RestoreTableFromSnapshotResponseSuccess
683
+ include ::Seahorse::Client::_ResponseSuccess[Types::RestoreTableFromSnapshotResponse]
684
+ def table_restore_status: () -> Types::TableRestoreStatus
685
+ end
686
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#restore_table_from_snapshot-instance_method
687
+ def restore_table_from_snapshot: (
688
+ ?activate_case_sensitive_identifier: bool,
689
+ namespace_name: ::String,
690
+ new_table_name: ::String,
691
+ snapshot_name: ::String,
692
+ source_database_name: ::String,
693
+ ?source_schema_name: ::String,
694
+ source_table_name: ::String,
695
+ ?target_database_name: ::String,
696
+ ?target_schema_name: ::String,
697
+ workgroup_name: ::String
698
+ ) -> _RestoreTableFromSnapshotResponseSuccess
699
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreTableFromSnapshotResponseSuccess
700
+
701
+ interface _TagResourceResponseSuccess
702
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
703
+ end
704
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#tag_resource-instance_method
705
+ def tag_resource: (
706
+ resource_arn: ::String,
707
+ tags: Array[
708
+ {
709
+ key: ::String,
710
+ value: ::String
711
+ },
712
+ ]
713
+ ) -> _TagResourceResponseSuccess
714
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
715
+
716
+ interface _UntagResourceResponseSuccess
717
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
718
+ end
719
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#untag_resource-instance_method
720
+ def untag_resource: (
721
+ resource_arn: ::String,
722
+ tag_keys: Array[::String]
723
+ ) -> _UntagResourceResponseSuccess
724
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
725
+
726
+ interface _UpdateCustomDomainAssociationResponseSuccess
727
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCustomDomainAssociationResponse]
728
+ def custom_domain_certificate_arn: () -> ::String
729
+ def custom_domain_certificate_expiry_time: () -> ::Time
730
+ def custom_domain_name: () -> ::String
731
+ def workgroup_name: () -> ::String
732
+ end
733
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#update_custom_domain_association-instance_method
734
+ def update_custom_domain_association: (
735
+ custom_domain_certificate_arn: ::String,
736
+ custom_domain_name: ::String,
737
+ workgroup_name: ::String
738
+ ) -> _UpdateCustomDomainAssociationResponseSuccess
739
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCustomDomainAssociationResponseSuccess
740
+
741
+ interface _UpdateEndpointAccessResponseSuccess
742
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEndpointAccessResponse]
743
+ def endpoint: () -> Types::EndpointAccess
744
+ end
745
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#update_endpoint_access-instance_method
746
+ def update_endpoint_access: (
747
+ endpoint_name: ::String,
748
+ ?vpc_security_group_ids: Array[::String]
749
+ ) -> _UpdateEndpointAccessResponseSuccess
750
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEndpointAccessResponseSuccess
751
+
752
+ interface _UpdateNamespaceResponseSuccess
753
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateNamespaceResponse]
754
+ def namespace: () -> Types::Namespace
755
+ end
756
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#update_namespace-instance_method
757
+ def update_namespace: (
758
+ ?admin_password_secret_kms_key_id: ::String,
759
+ ?admin_user_password: ::String,
760
+ ?admin_username: ::String,
761
+ ?default_iam_role_arn: ::String,
762
+ ?iam_roles: Array[::String],
763
+ ?kms_key_id: ::String,
764
+ ?log_exports: Array[("useractivitylog" | "userlog" | "connectionlog")],
765
+ ?manage_admin_password: bool,
766
+ namespace_name: ::String
767
+ ) -> _UpdateNamespaceResponseSuccess
768
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateNamespaceResponseSuccess
769
+
770
+ interface _UpdateScheduledActionResponseSuccess
771
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateScheduledActionResponse]
772
+ def scheduled_action: () -> Types::ScheduledActionResponse
773
+ end
774
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#update_scheduled_action-instance_method
775
+ def update_scheduled_action: (
776
+ ?enabled: bool,
777
+ ?end_time: ::Time,
778
+ ?role_arn: ::String,
779
+ ?schedule: {
780
+ at: ::Time?,
781
+ cron: ::String?
782
+ },
783
+ ?scheduled_action_description: ::String,
784
+ scheduled_action_name: ::String,
785
+ ?start_time: ::Time,
786
+ ?target_action: {
787
+ create_snapshot: {
788
+ namespace_name: ::String,
789
+ retention_period: ::Integer?,
790
+ snapshot_name_prefix: ::String,
791
+ tags: Array[
792
+ {
793
+ key: ::String,
794
+ value: ::String
795
+ },
796
+ ]?
797
+ }?
798
+ }
799
+ ) -> _UpdateScheduledActionResponseSuccess
800
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateScheduledActionResponseSuccess
801
+
802
+ interface _UpdateSnapshotResponseSuccess
803
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSnapshotResponse]
804
+ def snapshot: () -> Types::Snapshot
805
+ end
806
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#update_snapshot-instance_method
807
+ def update_snapshot: (
808
+ ?retention_period: ::Integer,
809
+ snapshot_name: ::String
810
+ ) -> _UpdateSnapshotResponseSuccess
811
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSnapshotResponseSuccess
812
+
813
+ interface _UpdateSnapshotCopyConfigurationResponseSuccess
814
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSnapshotCopyConfigurationResponse]
815
+ def snapshot_copy_configuration: () -> Types::SnapshotCopyConfiguration
816
+ end
817
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#update_snapshot_copy_configuration-instance_method
818
+ def update_snapshot_copy_configuration: (
819
+ snapshot_copy_configuration_id: ::String,
820
+ ?snapshot_retention_period: ::Integer
821
+ ) -> _UpdateSnapshotCopyConfigurationResponseSuccess
822
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSnapshotCopyConfigurationResponseSuccess
823
+
824
+ interface _UpdateUsageLimitResponseSuccess
825
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateUsageLimitResponse]
826
+ def usage_limit: () -> Types::UsageLimit
827
+ end
828
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#update_usage_limit-instance_method
829
+ def update_usage_limit: (
830
+ ?amount: ::Integer,
831
+ ?breach_action: ("log" | "emit-metric" | "deactivate"),
832
+ usage_limit_id: ::String
833
+ ) -> _UpdateUsageLimitResponseSuccess
834
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateUsageLimitResponseSuccess
835
+
836
+ interface _UpdateWorkgroupResponseSuccess
837
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateWorkgroupResponse]
838
+ def workgroup: () -> Types::Workgroup
839
+ end
840
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#update_workgroup-instance_method
841
+ def update_workgroup: (
842
+ ?base_capacity: ::Integer,
843
+ ?config_parameters: Array[
844
+ {
845
+ parameter_key: ::String?,
846
+ parameter_value: ::String?
847
+ },
848
+ ],
849
+ ?enhanced_vpc_routing: bool,
850
+ ?max_capacity: ::Integer,
851
+ ?port: ::Integer,
852
+ ?publicly_accessible: bool,
853
+ ?security_group_ids: Array[::String],
854
+ ?subnet_ids: Array[::String],
855
+ workgroup_name: ::String
856
+ ) -> _UpdateWorkgroupResponseSuccess
857
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWorkgroupResponseSuccess
858
+ end
859
+ end
860
+ end
861
+