aws-sdk-rds 1.213.0 → 1.215.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,524 @@
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 RDS
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html
11
+ class DBCluster
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#initialize-instance_method
13
+ def initialize: (String id, Hash[Symbol, untyped] options) -> void
14
+ | (id: String, ?client: Client) -> void
15
+ | (Hash[Symbol, untyped] args) -> void
16
+
17
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#id-instance_method
18
+ def id: () -> String
19
+ alias db_cluster_identifier id
20
+
21
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#allocated_storage-instance_method
22
+ def allocated_storage: () -> ::Integer
23
+
24
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#availability_zones-instance_method
25
+ def availability_zones: () -> ::Array[::String]
26
+
27
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#backup_retention_period-instance_method
28
+ def backup_retention_period: () -> ::Integer
29
+
30
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#character_set_name-instance_method
31
+ def character_set_name: () -> ::String
32
+
33
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#database_name-instance_method
34
+ def database_name: () -> ::String
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#db_cluster_parameter_group-instance_method
37
+ def db_cluster_parameter_group: () -> ::String
38
+
39
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#db_subnet_group-instance_method
40
+ def db_subnet_group: () -> ::String
41
+
42
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#status-instance_method
43
+ def status: () -> ::String
44
+
45
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#automatic_restart_time-instance_method
46
+ def automatic_restart_time: () -> ::Time
47
+
48
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#percent_progress-instance_method
49
+ def percent_progress: () -> ::String
50
+
51
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#earliest_restorable_time-instance_method
52
+ def earliest_restorable_time: () -> ::Time
53
+
54
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#endpoint-instance_method
55
+ def endpoint: () -> ::String
56
+
57
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#reader_endpoint-instance_method
58
+ def reader_endpoint: () -> ::String
59
+
60
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#custom_endpoints-instance_method
61
+ def custom_endpoints: () -> ::Array[::String]
62
+
63
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#multi_az-instance_method
64
+ def multi_az: () -> bool
65
+
66
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#engine-instance_method
67
+ def engine: () -> ::String
68
+
69
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#engine_version-instance_method
70
+ def engine_version: () -> ::String
71
+
72
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#latest_restorable_time-instance_method
73
+ def latest_restorable_time: () -> ::Time
74
+
75
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#port-instance_method
76
+ def port: () -> ::Integer
77
+
78
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#master_username-instance_method
79
+ def master_username: () -> ::String
80
+
81
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#db_cluster_option_group_memberships-instance_method
82
+ def db_cluster_option_group_memberships: () -> ::Array[Types::DBClusterOptionGroupStatus]
83
+
84
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#preferred_backup_window-instance_method
85
+ def preferred_backup_window: () -> ::String
86
+
87
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#preferred_maintenance_window-instance_method
88
+ def preferred_maintenance_window: () -> ::String
89
+
90
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#replication_source_identifier-instance_method
91
+ def replication_source_identifier: () -> ::String
92
+
93
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#read_replica_identifiers-instance_method
94
+ def read_replica_identifiers: () -> ::Array[::String]
95
+
96
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#status_infos-instance_method
97
+ def status_infos: () -> ::Array[Types::DBClusterStatusInfo]
98
+
99
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#db_cluster_members-instance_method
100
+ def db_cluster_members: () -> ::Array[Types::DBClusterMember]
101
+
102
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#vpc_security_groups-instance_method
103
+ def vpc_security_groups: () -> ::Array[Types::VpcSecurityGroupMembership]
104
+
105
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#hosted_zone_id-instance_method
106
+ def hosted_zone_id: () -> ::String
107
+
108
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#storage_encrypted-instance_method
109
+ def storage_encrypted: () -> bool
110
+
111
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#kms_key_id-instance_method
112
+ def kms_key_id: () -> ::String
113
+
114
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#db_cluster_resource_id-instance_method
115
+ def db_cluster_resource_id: () -> ::String
116
+
117
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#db_cluster_arn-instance_method
118
+ def db_cluster_arn: () -> ::String
119
+
120
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#associated_roles-instance_method
121
+ def associated_roles: () -> ::Array[Types::DBClusterRole]
122
+
123
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#iam_database_authentication_enabled-instance_method
124
+ def iam_database_authentication_enabled: () -> bool
125
+
126
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#clone_group_id-instance_method
127
+ def clone_group_id: () -> ::String
128
+
129
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#cluster_create_time-instance_method
130
+ def cluster_create_time: () -> ::Time
131
+
132
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#earliest_backtrack_time-instance_method
133
+ def earliest_backtrack_time: () -> ::Time
134
+
135
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#backtrack_window-instance_method
136
+ def backtrack_window: () -> ::Integer
137
+
138
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#backtrack_consumed_change_records-instance_method
139
+ def backtrack_consumed_change_records: () -> ::Integer
140
+
141
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#enabled_cloudwatch_logs_exports-instance_method
142
+ def enabled_cloudwatch_logs_exports: () -> ::Array[::String]
143
+
144
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#capacity-instance_method
145
+ def capacity: () -> ::Integer
146
+
147
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#engine_mode-instance_method
148
+ def engine_mode: () -> ::String
149
+
150
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#scaling_configuration_info-instance_method
151
+ def scaling_configuration_info: () -> Types::ScalingConfigurationInfo
152
+
153
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#rds_custom_cluster_configuration-instance_method
154
+ def rds_custom_cluster_configuration: () -> Types::RdsCustomClusterConfiguration
155
+
156
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#deletion_protection-instance_method
157
+ def deletion_protection: () -> bool
158
+
159
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#http_endpoint_enabled-instance_method
160
+ def http_endpoint_enabled: () -> bool
161
+
162
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#activity_stream_mode-instance_method
163
+ def activity_stream_mode: () -> ("sync" | "async")
164
+
165
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#activity_stream_status-instance_method
166
+ def activity_stream_status: () -> ("stopped" | "starting" | "started" | "stopping")
167
+
168
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#activity_stream_kms_key_id-instance_method
169
+ def activity_stream_kms_key_id: () -> ::String
170
+
171
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#activity_stream_kinesis_stream_name-instance_method
172
+ def activity_stream_kinesis_stream_name: () -> ::String
173
+
174
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#copy_tags_to_snapshot-instance_method
175
+ def copy_tags_to_snapshot: () -> bool
176
+
177
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#cross_account_clone-instance_method
178
+ def cross_account_clone: () -> bool
179
+
180
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#domain_memberships-instance_method
181
+ def domain_memberships: () -> ::Array[Types::DomainMembership]
182
+
183
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#tag_list-instance_method
184
+ def tag_list: () -> ::Array[Types::Tag]
185
+
186
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#global_write_forwarding_status-instance_method
187
+ def global_write_forwarding_status: () -> ("enabled" | "disabled" | "enabling" | "disabling" | "unknown")
188
+
189
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#global_write_forwarding_requested-instance_method
190
+ def global_write_forwarding_requested: () -> bool
191
+
192
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#pending_modified_values-instance_method
193
+ def pending_modified_values: () -> Types::ClusterPendingModifiedValues
194
+
195
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#db_cluster_instance_class-instance_method
196
+ def db_cluster_instance_class: () -> ::String
197
+
198
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#storage_type-instance_method
199
+ def storage_type: () -> ::String
200
+
201
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#iops-instance_method
202
+ def iops: () -> ::Integer
203
+
204
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#publicly_accessible-instance_method
205
+ def publicly_accessible: () -> bool
206
+
207
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#auto_minor_version_upgrade-instance_method
208
+ def auto_minor_version_upgrade: () -> bool
209
+
210
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#monitoring_interval-instance_method
211
+ def monitoring_interval: () -> ::Integer
212
+
213
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#monitoring_role_arn-instance_method
214
+ def monitoring_role_arn: () -> ::String
215
+
216
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#performance_insights_enabled-instance_method
217
+ def performance_insights_enabled: () -> bool
218
+
219
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#performance_insights_kms_key_id-instance_method
220
+ def performance_insights_kms_key_id: () -> ::String
221
+
222
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#performance_insights_retention_period-instance_method
223
+ def performance_insights_retention_period: () -> ::Integer
224
+
225
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#serverless_v2_scaling_configuration-instance_method
226
+ def serverless_v2_scaling_configuration: () -> Types::ServerlessV2ScalingConfigurationInfo
227
+
228
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#network_type-instance_method
229
+ def network_type: () -> ::String
230
+
231
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#db_system_id-instance_method
232
+ def db_system_id: () -> ::String
233
+
234
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#master_user_secret-instance_method
235
+ def master_user_secret: () -> Types::MasterUserSecret
236
+
237
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#io_optimized_next_allowed_modification_time-instance_method
238
+ def io_optimized_next_allowed_modification_time: () -> ::Time
239
+
240
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#local_write_forwarding_status-instance_method
241
+ def local_write_forwarding_status: () -> ("enabled" | "disabled" | "enabling" | "disabling" | "requested")
242
+
243
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#aws_backup_recovery_point_arn-instance_method
244
+ def aws_backup_recovery_point_arn: () -> ::String
245
+
246
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#limitless_database-instance_method
247
+ def limitless_database: () -> Types::LimitlessDatabase
248
+
249
+ def client: () -> Client
250
+
251
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#load-instance_method
252
+ def load: () -> self
253
+ alias reload load
254
+
255
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#data-instance_method
256
+ def data: () -> Types::DBCluster
257
+
258
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#data_loaded?-instance_method
259
+ def data_loaded?: () -> bool
260
+
261
+
262
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#create-instance_method
263
+ def create: (
264
+ ?availability_zones: Array[::String],
265
+ ?backup_retention_period: ::Integer,
266
+ ?character_set_name: ::String,
267
+ ?database_name: ::String,
268
+ ?db_cluster_parameter_group_name: ::String,
269
+ ?vpc_security_group_ids: Array[::String],
270
+ ?db_subnet_group_name: ::String,
271
+ engine: ::String,
272
+ ?engine_version: ::String,
273
+ ?port: ::Integer,
274
+ ?master_username: ::String,
275
+ ?master_user_password: ::String,
276
+ ?option_group_name: ::String,
277
+ ?preferred_backup_window: ::String,
278
+ ?preferred_maintenance_window: ::String,
279
+ ?replication_source_identifier: ::String,
280
+ ?tags: Array[
281
+ {
282
+ key: ::String?,
283
+ value: ::String?
284
+ },
285
+ ],
286
+ ?storage_encrypted: bool,
287
+ ?kms_key_id: ::String,
288
+ ?pre_signed_url: ::String,
289
+ ?enable_iam_database_authentication: bool,
290
+ ?backtrack_window: ::Integer,
291
+ ?enable_cloudwatch_logs_exports: Array[::String],
292
+ ?engine_mode: ::String,
293
+ ?scaling_configuration: {
294
+ min_capacity: ::Integer?,
295
+ max_capacity: ::Integer?,
296
+ auto_pause: bool?,
297
+ seconds_until_auto_pause: ::Integer?,
298
+ timeout_action: ::String?,
299
+ seconds_before_timeout: ::Integer?
300
+ },
301
+ ?rds_custom_cluster_configuration: {
302
+ interconnect_subnet_id: ::String?,
303
+ transit_gateway_multicast_domain_id: ::String?,
304
+ replica_mode: ("open-read-only" | "mounted")?
305
+ },
306
+ ?deletion_protection: bool,
307
+ ?global_cluster_identifier: ::String,
308
+ ?enable_http_endpoint: bool,
309
+ ?copy_tags_to_snapshot: bool,
310
+ ?domain: ::String,
311
+ ?domain_iam_role_name: ::String,
312
+ ?enable_global_write_forwarding: bool,
313
+ ?db_cluster_instance_class: ::String,
314
+ ?allocated_storage: ::Integer,
315
+ ?storage_type: ::String,
316
+ ?iops: ::Integer,
317
+ ?publicly_accessible: bool,
318
+ ?auto_minor_version_upgrade: bool,
319
+ ?monitoring_interval: ::Integer,
320
+ ?monitoring_role_arn: ::String,
321
+ ?enable_performance_insights: bool,
322
+ ?performance_insights_kms_key_id: ::String,
323
+ ?performance_insights_retention_period: ::Integer,
324
+ ?enable_limitless_database: bool,
325
+ ?serverless_v2_scaling_configuration: {
326
+ min_capacity: ::Float?,
327
+ max_capacity: ::Float?
328
+ },
329
+ ?network_type: ::String,
330
+ ?db_system_id: ::String,
331
+ ?manage_master_user_password: bool,
332
+ ?master_user_secret_kms_key_id: ::String,
333
+ ?enable_local_write_forwarding: bool,
334
+ ?source_region: ::String
335
+ ) -> DBCluster
336
+ | (?Hash[Symbol, untyped]) -> DBCluster
337
+
338
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#create_snapshot-instance_method
339
+ def create_snapshot: (
340
+ db_cluster_snapshot_identifier: ::String,
341
+ ?tags: Array[
342
+ {
343
+ key: ::String?,
344
+ value: ::String?
345
+ },
346
+ ]
347
+ ) -> DBClusterSnapshot
348
+ | (?Hash[Symbol, untyped]) -> DBClusterSnapshot
349
+
350
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#delete-instance_method
351
+ def delete: (
352
+ ?skip_final_snapshot: bool,
353
+ ?final_db_snapshot_identifier: ::String,
354
+ ?delete_automated_backups: bool
355
+ ) -> DBCluster
356
+ | (?Hash[Symbol, untyped]) -> DBCluster
357
+
358
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#failover-instance_method
359
+ def failover: (
360
+ ?target_db_instance_identifier: ::String
361
+ ) -> DBCluster
362
+ | (?Hash[Symbol, untyped]) -> DBCluster
363
+
364
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#modify-instance_method
365
+ def modify: (
366
+ ?new_db_cluster_identifier: ::String,
367
+ ?apply_immediately: bool,
368
+ ?backup_retention_period: ::Integer,
369
+ ?db_cluster_parameter_group_name: ::String,
370
+ ?vpc_security_group_ids: Array[::String],
371
+ ?port: ::Integer,
372
+ ?master_user_password: ::String,
373
+ ?option_group_name: ::String,
374
+ ?preferred_backup_window: ::String,
375
+ ?preferred_maintenance_window: ::String,
376
+ ?enable_iam_database_authentication: bool,
377
+ ?backtrack_window: ::Integer,
378
+ ?cloudwatch_logs_export_configuration: {
379
+ enable_log_types: Array[::String]?,
380
+ disable_log_types: Array[::String]?
381
+ },
382
+ ?engine_version: ::String,
383
+ ?allow_major_version_upgrade: bool,
384
+ ?db_instance_parameter_group_name: ::String,
385
+ ?domain: ::String,
386
+ ?domain_iam_role_name: ::String,
387
+ ?scaling_configuration: {
388
+ min_capacity: ::Integer?,
389
+ max_capacity: ::Integer?,
390
+ auto_pause: bool?,
391
+ seconds_until_auto_pause: ::Integer?,
392
+ timeout_action: ::String?,
393
+ seconds_before_timeout: ::Integer?
394
+ },
395
+ ?deletion_protection: bool,
396
+ ?enable_http_endpoint: bool,
397
+ ?copy_tags_to_snapshot: bool,
398
+ ?enable_global_write_forwarding: bool,
399
+ ?db_cluster_instance_class: ::String,
400
+ ?allocated_storage: ::Integer,
401
+ ?storage_type: ::String,
402
+ ?iops: ::Integer,
403
+ ?auto_minor_version_upgrade: bool,
404
+ ?monitoring_interval: ::Integer,
405
+ ?monitoring_role_arn: ::String,
406
+ ?enable_performance_insights: bool,
407
+ ?performance_insights_kms_key_id: ::String,
408
+ ?performance_insights_retention_period: ::Integer,
409
+ ?serverless_v2_scaling_configuration: {
410
+ min_capacity: ::Float?,
411
+ max_capacity: ::Float?
412
+ },
413
+ ?network_type: ::String,
414
+ ?manage_master_user_password: bool,
415
+ ?rotate_master_user_password: bool,
416
+ ?master_user_secret_kms_key_id: ::String,
417
+ ?engine_mode: ::String,
418
+ ?allow_engine_mode_change: bool,
419
+ ?enable_local_write_forwarding: bool,
420
+ ?aws_backup_recovery_point_arn: ::String,
421
+ ?enable_limitless_database: bool
422
+ ) -> DBCluster
423
+ | (?Hash[Symbol, untyped]) -> DBCluster
424
+
425
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#restore-instance_method
426
+ def restore: (
427
+ db_cluster_identifier: ::String,
428
+ ?restore_type: ::String,
429
+ ?restore_to_time: ::Time,
430
+ ?use_latest_restorable_time: bool,
431
+ ?port: ::Integer,
432
+ ?db_subnet_group_name: ::String,
433
+ ?option_group_name: ::String,
434
+ ?vpc_security_group_ids: Array[::String],
435
+ ?tags: Array[
436
+ {
437
+ key: ::String?,
438
+ value: ::String?
439
+ },
440
+ ],
441
+ ?kms_key_id: ::String,
442
+ ?enable_iam_database_authentication: bool,
443
+ ?backtrack_window: ::Integer,
444
+ ?enable_cloudwatch_logs_exports: Array[::String],
445
+ ?db_cluster_parameter_group_name: ::String,
446
+ ?deletion_protection: bool,
447
+ ?copy_tags_to_snapshot: bool,
448
+ ?domain: ::String,
449
+ ?domain_iam_role_name: ::String,
450
+ ?scaling_configuration: {
451
+ min_capacity: ::Integer?,
452
+ max_capacity: ::Integer?,
453
+ auto_pause: bool?,
454
+ seconds_until_auto_pause: ::Integer?,
455
+ timeout_action: ::String?,
456
+ seconds_before_timeout: ::Integer?
457
+ },
458
+ ?engine_mode: ::String,
459
+ ?db_cluster_instance_class: ::String,
460
+ ?storage_type: ::String,
461
+ ?publicly_accessible: bool,
462
+ ?iops: ::Integer,
463
+ ?serverless_v2_scaling_configuration: {
464
+ min_capacity: ::Float?,
465
+ max_capacity: ::Float?
466
+ },
467
+ ?network_type: ::String,
468
+ ?source_db_cluster_resource_id: ::String,
469
+ ?rds_custom_cluster_configuration: {
470
+ interconnect_subnet_id: ::String?,
471
+ transit_gateway_multicast_domain_id: ::String?,
472
+ replica_mode: ("open-read-only" | "mounted")?
473
+ }
474
+ ) -> DBCluster
475
+ | (?Hash[Symbol, untyped]) -> DBCluster
476
+
477
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#events-instance_method
478
+ def events: (
479
+ ?start_time: ::Time,
480
+ ?end_time: ::Time,
481
+ ?duration: ::Integer,
482
+ ?event_categories: Array[::String],
483
+ ?filters: Array[
484
+ {
485
+ name: ::String,
486
+ values: Array[::String]
487
+ },
488
+ ]
489
+ ) -> Event::Collection
490
+ | (?Hash[Symbol, untyped]) -> Event::Collection
491
+
492
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#members-instance_method
493
+ def members: () -> DBInstance::Collection
494
+
495
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#option_groups-instance_method
496
+ def option_groups: () -> OptionGroup::Collection
497
+
498
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#parameter_group-instance_method
499
+ def parameter_group: () -> DBClusterParameterGroup?
500
+
501
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#snapshots-instance_method
502
+ def snapshots: (
503
+ ?db_cluster_snapshot_identifier: ::String,
504
+ ?snapshot_type: ::String,
505
+ ?filters: Array[
506
+ {
507
+ name: ::String,
508
+ values: Array[::String]
509
+ },
510
+ ],
511
+ ?include_shared: bool,
512
+ ?include_public: bool,
513
+ ?db_cluster_resource_id: ::String
514
+ ) -> DBClusterSnapshot::Collection
515
+ | (?Hash[Symbol, untyped]) -> DBClusterSnapshot::Collection
516
+
517
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#subnet_group-instance_method
518
+ def subnet_group: () -> DBSubnetGroup?
519
+
520
+ class Collection < ::Aws::Resources::Collection[DBCluster]
521
+ end
522
+ end
523
+ end
524
+ end
@@ -0,0 +1,106 @@
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 RDS
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBClusterParameterGroup.html
11
+ class DBClusterParameterGroup
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBClusterParameterGroup.html#initialize-instance_method
13
+ def initialize: (String name, Hash[Symbol, untyped] options) -> void
14
+ | (name: String, ?client: Client) -> void
15
+ | (Hash[Symbol, untyped] args) -> void
16
+
17
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBClusterParameterGroup.html#name-instance_method
18
+ def name: () -> String
19
+ alias db_cluster_parameter_group_name name
20
+
21
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBClusterParameterGroup.html#db_parameter_group_family-instance_method
22
+ def db_parameter_group_family: () -> ::String
23
+
24
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBClusterParameterGroup.html#description-instance_method
25
+ def description: () -> ::String
26
+
27
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBClusterParameterGroup.html#db_cluster_parameter_group_arn-instance_method
28
+ def db_cluster_parameter_group_arn: () -> ::String
29
+
30
+ def client: () -> Client
31
+
32
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBClusterParameterGroup.html#load-instance_method
33
+ def load: () -> self
34
+ alias reload load
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBClusterParameterGroup.html#data-instance_method
37
+ def data: () -> Types::DBClusterParameterGroup
38
+
39
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBClusterParameterGroup.html#data_loaded?-instance_method
40
+ def data_loaded?: () -> bool
41
+
42
+
43
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBClusterParameterGroup.html#create-instance_method
44
+ def create: (
45
+ db_parameter_group_family: ::String,
46
+ description: ::String,
47
+ ?tags: Array[
48
+ {
49
+ key: ::String?,
50
+ value: ::String?
51
+ },
52
+ ]
53
+ ) -> DBClusterParameterGroup
54
+ | (?Hash[Symbol, untyped]) -> DBClusterParameterGroup
55
+
56
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBClusterParameterGroup.html#delete-instance_method
57
+ def delete: (
58
+ ) -> ::Aws::EmptyStructure
59
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
60
+
61
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBClusterParameterGroup.html#modify-instance_method
62
+ def modify: (
63
+ parameters: Array[
64
+ {
65
+ parameter_name: ::String?,
66
+ parameter_value: ::String?,
67
+ description: ::String?,
68
+ source: ::String?,
69
+ apply_type: ::String?,
70
+ data_type: ::String?,
71
+ allowed_values: ::String?,
72
+ is_modifiable: bool?,
73
+ minimum_engine_version: ::String?,
74
+ apply_method: ("immediate" | "pending-reboot")?,
75
+ supported_engine_modes: Array[::String]?
76
+ },
77
+ ]
78
+ ) -> DBClusterParameterGroup
79
+ | (?Hash[Symbol, untyped]) -> DBClusterParameterGroup
80
+
81
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBClusterParameterGroup.html#reset-instance_method
82
+ def reset: (
83
+ ?reset_all_parameters: bool,
84
+ ?parameters: Array[
85
+ {
86
+ parameter_name: ::String?,
87
+ parameter_value: ::String?,
88
+ description: ::String?,
89
+ source: ::String?,
90
+ apply_type: ::String?,
91
+ data_type: ::String?,
92
+ allowed_values: ::String?,
93
+ is_modifiable: bool?,
94
+ minimum_engine_version: ::String?,
95
+ apply_method: ("immediate" | "pending-reboot")?,
96
+ supported_engine_modes: Array[::String]?
97
+ },
98
+ ]
99
+ ) -> DBClusterParameterGroup
100
+ | (?Hash[Symbol, untyped]) -> DBClusterParameterGroup
101
+
102
+ class Collection < ::Aws::Resources::Collection[DBClusterParameterGroup]
103
+ end
104
+ end
105
+ end
106
+ end