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.
data/sig/resource.rbs ADDED
@@ -0,0 +1,599 @@
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/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/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
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#create_db_cluster-instance_method
78
+ def create_db_cluster: (
79
+ ?availability_zones: Array[::String],
80
+ ?backup_retention_period: ::Integer,
81
+ ?character_set_name: ::String,
82
+ ?database_name: ::String,
83
+ db_cluster_identifier: ::String,
84
+ ?db_cluster_parameter_group_name: ::String,
85
+ ?vpc_security_group_ids: Array[::String],
86
+ ?db_subnet_group_name: ::String,
87
+ engine: ::String,
88
+ ?engine_version: ::String,
89
+ ?port: ::Integer,
90
+ ?master_username: ::String,
91
+ ?master_user_password: ::String,
92
+ ?option_group_name: ::String,
93
+ ?preferred_backup_window: ::String,
94
+ ?preferred_maintenance_window: ::String,
95
+ ?replication_source_identifier: ::String,
96
+ ?tags: Array[
97
+ {
98
+ key: ::String?,
99
+ value: ::String?
100
+ },
101
+ ],
102
+ ?storage_encrypted: bool,
103
+ ?kms_key_id: ::String,
104
+ ?pre_signed_url: ::String,
105
+ ?enable_iam_database_authentication: bool,
106
+ ?backtrack_window: ::Integer,
107
+ ?enable_cloudwatch_logs_exports: Array[::String],
108
+ ?engine_mode: ::String,
109
+ ?scaling_configuration: {
110
+ min_capacity: ::Integer?,
111
+ max_capacity: ::Integer?,
112
+ auto_pause: bool?,
113
+ seconds_until_auto_pause: ::Integer?,
114
+ timeout_action: ::String?,
115
+ seconds_before_timeout: ::Integer?
116
+ },
117
+ ?rds_custom_cluster_configuration: {
118
+ interconnect_subnet_id: ::String?,
119
+ transit_gateway_multicast_domain_id: ::String?,
120
+ replica_mode: ("open-read-only" | "mounted")?
121
+ },
122
+ ?deletion_protection: bool,
123
+ ?global_cluster_identifier: ::String,
124
+ ?enable_http_endpoint: bool,
125
+ ?copy_tags_to_snapshot: bool,
126
+ ?domain: ::String,
127
+ ?domain_iam_role_name: ::String,
128
+ ?enable_global_write_forwarding: bool,
129
+ ?db_cluster_instance_class: ::String,
130
+ ?allocated_storage: ::Integer,
131
+ ?storage_type: ::String,
132
+ ?iops: ::Integer,
133
+ ?publicly_accessible: bool,
134
+ ?auto_minor_version_upgrade: bool,
135
+ ?monitoring_interval: ::Integer,
136
+ ?monitoring_role_arn: ::String,
137
+ ?enable_performance_insights: bool,
138
+ ?performance_insights_kms_key_id: ::String,
139
+ ?performance_insights_retention_period: ::Integer,
140
+ ?enable_limitless_database: bool,
141
+ ?serverless_v2_scaling_configuration: {
142
+ min_capacity: ::Float?,
143
+ max_capacity: ::Float?
144
+ },
145
+ ?network_type: ::String,
146
+ ?db_system_id: ::String,
147
+ ?manage_master_user_password: bool,
148
+ ?master_user_secret_kms_key_id: ::String,
149
+ ?enable_local_write_forwarding: bool,
150
+ ?source_region: ::String
151
+ ) -> DBCluster
152
+ | (?Hash[Symbol, untyped]) -> DBCluster
153
+
154
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#create_db_cluster_parameter_group-instance_method
155
+ def create_db_cluster_parameter_group: (
156
+ db_cluster_parameter_group_name: ::String,
157
+ db_parameter_group_family: ::String,
158
+ description: ::String,
159
+ ?tags: Array[
160
+ {
161
+ key: ::String?,
162
+ value: ::String?
163
+ },
164
+ ]
165
+ ) -> DBClusterParameterGroup
166
+ | (?Hash[Symbol, untyped]) -> DBClusterParameterGroup
167
+
168
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#create_db_instance-instance_method
169
+ def create_db_instance: (
170
+ ?db_name: ::String,
171
+ db_instance_identifier: ::String,
172
+ ?allocated_storage: ::Integer,
173
+ db_instance_class: ::String,
174
+ engine: ::String,
175
+ ?master_username: ::String,
176
+ ?master_user_password: ::String,
177
+ ?db_security_groups: Array[::String],
178
+ ?vpc_security_group_ids: Array[::String],
179
+ ?availability_zone: ::String,
180
+ ?db_subnet_group_name: ::String,
181
+ ?preferred_maintenance_window: ::String,
182
+ ?db_parameter_group_name: ::String,
183
+ ?backup_retention_period: ::Integer,
184
+ ?preferred_backup_window: ::String,
185
+ ?port: ::Integer,
186
+ ?multi_az: bool,
187
+ ?engine_version: ::String,
188
+ ?auto_minor_version_upgrade: bool,
189
+ ?license_model: ::String,
190
+ ?iops: ::Integer,
191
+ ?option_group_name: ::String,
192
+ ?character_set_name: ::String,
193
+ ?nchar_character_set_name: ::String,
194
+ ?publicly_accessible: bool,
195
+ ?tags: Array[
196
+ {
197
+ key: ::String?,
198
+ value: ::String?
199
+ },
200
+ ],
201
+ ?db_cluster_identifier: ::String,
202
+ ?storage_type: ::String,
203
+ ?tde_credential_arn: ::String,
204
+ ?tde_credential_password: ::String,
205
+ ?storage_encrypted: bool,
206
+ ?kms_key_id: ::String,
207
+ ?domain: ::String,
208
+ ?domain_fqdn: ::String,
209
+ ?domain_ou: ::String,
210
+ ?domain_auth_secret_arn: ::String,
211
+ ?domain_dns_ips: Array[::String],
212
+ ?copy_tags_to_snapshot: bool,
213
+ ?monitoring_interval: ::Integer,
214
+ ?monitoring_role_arn: ::String,
215
+ ?domain_iam_role_name: ::String,
216
+ ?promotion_tier: ::Integer,
217
+ ?timezone: ::String,
218
+ ?enable_iam_database_authentication: bool,
219
+ ?enable_performance_insights: bool,
220
+ ?performance_insights_kms_key_id: ::String,
221
+ ?performance_insights_retention_period: ::Integer,
222
+ ?enable_cloudwatch_logs_exports: Array[::String],
223
+ ?processor_features: Array[
224
+ {
225
+ name: ::String?,
226
+ value: ::String?
227
+ },
228
+ ],
229
+ ?deletion_protection: bool,
230
+ ?max_allocated_storage: ::Integer,
231
+ ?enable_customer_owned_ip: bool,
232
+ ?custom_iam_instance_profile: ::String,
233
+ ?backup_target: ::String,
234
+ ?network_type: ::String,
235
+ ?storage_throughput: ::Integer,
236
+ ?manage_master_user_password: bool,
237
+ ?master_user_secret_kms_key_id: ::String,
238
+ ?ca_certificate_identifier: ::String,
239
+ ?db_system_id: ::String,
240
+ ?dedicated_log_volume: bool,
241
+ ?multi_tenant: bool
242
+ ) -> DBInstance
243
+ | (?Hash[Symbol, untyped]) -> DBInstance
244
+
245
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#create_db_parameter_group-instance_method
246
+ def create_db_parameter_group: (
247
+ db_parameter_group_name: ::String,
248
+ db_parameter_group_family: ::String,
249
+ description: ::String,
250
+ ?tags: Array[
251
+ {
252
+ key: ::String?,
253
+ value: ::String?
254
+ },
255
+ ]
256
+ ) -> DBParameterGroup
257
+ | (?Hash[Symbol, untyped]) -> DBParameterGroup
258
+
259
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#create_db_security_group-instance_method
260
+ def create_db_security_group: (
261
+ db_security_group_name: ::String,
262
+ db_security_group_description: ::String,
263
+ ?tags: Array[
264
+ {
265
+ key: ::String?,
266
+ value: ::String?
267
+ },
268
+ ]
269
+ ) -> DBSecurityGroup
270
+ | (?Hash[Symbol, untyped]) -> DBSecurityGroup
271
+
272
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#create_db_subnet_group-instance_method
273
+ def create_db_subnet_group: (
274
+ db_subnet_group_name: ::String,
275
+ db_subnet_group_description: ::String,
276
+ subnet_ids: Array[::String],
277
+ ?tags: Array[
278
+ {
279
+ key: ::String?,
280
+ value: ::String?
281
+ },
282
+ ]
283
+ ) -> DBSubnetGroup
284
+ | (?Hash[Symbol, untyped]) -> DBSubnetGroup
285
+
286
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#create_event_subscription-instance_method
287
+ def create_event_subscription: (
288
+ subscription_name: ::String,
289
+ sns_topic_arn: ::String,
290
+ ?source_type: ::String,
291
+ ?event_categories: Array[::String],
292
+ ?source_ids: Array[::String],
293
+ ?enabled: bool,
294
+ ?tags: Array[
295
+ {
296
+ key: ::String?,
297
+ value: ::String?
298
+ },
299
+ ]
300
+ ) -> EventSubscription
301
+ | (?Hash[Symbol, untyped]) -> EventSubscription
302
+
303
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#create_option_group-instance_method
304
+ def create_option_group: (
305
+ option_group_name: ::String,
306
+ engine_name: ::String,
307
+ major_engine_version: ::String,
308
+ option_group_description: ::String,
309
+ ?tags: Array[
310
+ {
311
+ key: ::String?,
312
+ value: ::String?
313
+ },
314
+ ]
315
+ ) -> OptionGroup
316
+ | (?Hash[Symbol, untyped]) -> OptionGroup
317
+
318
+
319
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#account_quotas-instance_method
320
+ def account_quotas: (
321
+ ) -> AccountQuota::Collection
322
+ | (?Hash[Symbol, untyped]) -> AccountQuota::Collection
323
+
324
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#certificate-instance_method
325
+ def certificate: (String id) -> Certificate
326
+
327
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#certificates-instance_method
328
+ def certificates: (
329
+ ?certificate_identifier: ::String,
330
+ ?filters: Array[
331
+ {
332
+ name: ::String,
333
+ values: Array[::String]
334
+ },
335
+ ]
336
+ ) -> Certificate::Collection
337
+ | (?Hash[Symbol, untyped]) -> Certificate::Collection
338
+
339
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#db_cluster-instance_method
340
+ def db_cluster: (String id) -> DBCluster
341
+
342
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#db_cluster_parameter_group-instance_method
343
+ def db_cluster_parameter_group: (String name) -> DBClusterParameterGroup
344
+
345
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#db_cluster_parameter_groups-instance_method
346
+ def db_cluster_parameter_groups: (
347
+ ?db_cluster_parameter_group_name: ::String,
348
+ ?filters: Array[
349
+ {
350
+ name: ::String,
351
+ values: Array[::String]
352
+ },
353
+ ]
354
+ ) -> DBClusterParameterGroup::Collection
355
+ | (?Hash[Symbol, untyped]) -> DBClusterParameterGroup::Collection
356
+
357
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#db_clusters-instance_method
358
+ def db_clusters: (
359
+ ?db_cluster_identifier: ::String,
360
+ ?filters: Array[
361
+ {
362
+ name: ::String,
363
+ values: Array[::String]
364
+ },
365
+ ],
366
+ ?include_shared: bool
367
+ ) -> DBCluster::Collection
368
+ | (?Hash[Symbol, untyped]) -> DBCluster::Collection
369
+
370
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#db_engine-instance_method
371
+ def db_engine: (String name) -> DBEngine
372
+
373
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#db_engine_version-instance_method
374
+ def db_engine_version: (String engine_name, String version) -> DBEngineVersion
375
+
376
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#db_engine_versions-instance_method
377
+ def db_engine_versions: (
378
+ ?engine: ::String,
379
+ ?engine_version: ::String,
380
+ ?db_parameter_group_family: ::String,
381
+ ?filters: Array[
382
+ {
383
+ name: ::String,
384
+ values: Array[::String]
385
+ },
386
+ ],
387
+ ?default_only: bool,
388
+ ?list_supported_character_sets: bool,
389
+ ?list_supported_timezones: bool,
390
+ ?include_all: bool
391
+ ) -> DBEngineVersion::Collection
392
+ | (?Hash[Symbol, untyped]) -> DBEngineVersion::Collection
393
+
394
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#db_instance-instance_method
395
+ def db_instance: (String id) -> DBInstance
396
+
397
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#db_instances-instance_method
398
+ def db_instances: (
399
+ ?db_instance_identifier: ::String,
400
+ ?filters: Array[
401
+ {
402
+ name: ::String,
403
+ values: Array[::String]
404
+ },
405
+ ]
406
+ ) -> DBInstance::Collection
407
+ | (?Hash[Symbol, untyped]) -> DBInstance::Collection
408
+
409
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#db_parameter_group-instance_method
410
+ def db_parameter_group: (String name) -> DBParameterGroup
411
+
412
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#db_parameter_group_family-instance_method
413
+ def db_parameter_group_family: (String name) -> DBParameterGroupFamily
414
+
415
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#db_parameter_groups-instance_method
416
+ def db_parameter_groups: (
417
+ ?db_parameter_group_name: ::String,
418
+ ?filters: Array[
419
+ {
420
+ name: ::String,
421
+ values: Array[::String]
422
+ },
423
+ ]
424
+ ) -> DBParameterGroup::Collection
425
+ | (?Hash[Symbol, untyped]) -> DBParameterGroup::Collection
426
+
427
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#db_security_group-instance_method
428
+ def db_security_group: (String name) -> DBSecurityGroup
429
+
430
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#db_security_groups-instance_method
431
+ def db_security_groups: (
432
+ ?db_security_group_name: ::String,
433
+ ?filters: Array[
434
+ {
435
+ name: ::String,
436
+ values: Array[::String]
437
+ },
438
+ ]
439
+ ) -> DBSecurityGroup::Collection
440
+ | (?Hash[Symbol, untyped]) -> DBSecurityGroup::Collection
441
+
442
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#db_snapshots-instance_method
443
+ def db_snapshots: (
444
+ ?db_instance_identifier: ::String,
445
+ ?db_snapshot_identifier: ::String,
446
+ ?snapshot_type: ::String,
447
+ ?filters: Array[
448
+ {
449
+ name: ::String,
450
+ values: Array[::String]
451
+ },
452
+ ],
453
+ ?include_shared: bool,
454
+ ?include_public: bool,
455
+ ?dbi_resource_id: ::String
456
+ ) -> DBSnapshot::Collection
457
+ | (?Hash[Symbol, untyped]) -> DBSnapshot::Collection
458
+
459
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#db_subnet_group-instance_method
460
+ def db_subnet_group: (String name) -> DBSubnetGroup
461
+
462
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#db_subnet_groups-instance_method
463
+ def db_subnet_groups: (
464
+ ?db_subnet_group_name: ::String,
465
+ ?filters: Array[
466
+ {
467
+ name: ::String,
468
+ values: Array[::String]
469
+ },
470
+ ]
471
+ ) -> DBSubnetGroup::Collection
472
+ | (?Hash[Symbol, untyped]) -> DBSubnetGroup::Collection
473
+
474
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#event_category_map-instance_method
475
+ def event_category_map: (String source_type) -> EventCategoryMap
476
+
477
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#event_category_maps-instance_method
478
+ def event_category_maps: (
479
+ ?source_type: ::String,
480
+ ?filters: Array[
481
+ {
482
+ name: ::String,
483
+ values: Array[::String]
484
+ },
485
+ ]
486
+ ) -> EventCategoryMap::Collection
487
+ | (?Hash[Symbol, untyped]) -> EventCategoryMap::Collection
488
+
489
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#event_subscription-instance_method
490
+ def event_subscription: (String name) -> EventSubscription
491
+
492
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#event_subscriptions-instance_method
493
+ def event_subscriptions: (
494
+ ?subscription_name: ::String,
495
+ ?filters: Array[
496
+ {
497
+ name: ::String,
498
+ values: Array[::String]
499
+ },
500
+ ]
501
+ ) -> EventSubscription::Collection
502
+ | (?Hash[Symbol, untyped]) -> EventSubscription::Collection
503
+
504
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#events-instance_method
505
+ def events: (
506
+ ?source_identifier: ::String,
507
+ ?source_type: ("db-instance" | "db-parameter-group" | "db-security-group" | "db-snapshot" | "db-cluster" | "db-cluster-snapshot" | "custom-engine-version" | "db-proxy" | "blue-green-deployment"),
508
+ ?start_time: ::Time,
509
+ ?end_time: ::Time,
510
+ ?duration: ::Integer,
511
+ ?event_categories: Array[::String],
512
+ ?filters: Array[
513
+ {
514
+ name: ::String,
515
+ values: Array[::String]
516
+ },
517
+ ]
518
+ ) -> Event::Collection
519
+ | (?Hash[Symbol, untyped]) -> Event::Collection
520
+
521
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#option_group-instance_method
522
+ def option_group: (String name) -> OptionGroup
523
+
524
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#option_groups-instance_method
525
+ def option_groups: (
526
+ ?option_group_name: ::String,
527
+ ?filters: Array[
528
+ {
529
+ name: ::String,
530
+ values: Array[::String]
531
+ },
532
+ ],
533
+ ?engine_name: ::String,
534
+ ?major_engine_version: ::String
535
+ ) -> OptionGroup::Collection
536
+ | (?Hash[Symbol, untyped]) -> OptionGroup::Collection
537
+
538
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#pending_maintenance_action-instance_method
539
+ def pending_maintenance_action: (String target_arn, String name) -> PendingMaintenanceAction
540
+
541
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#reserved_db_instance-instance_method
542
+ def reserved_db_instance: (String id) -> ReservedDBInstance
543
+
544
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#reserved_db_instances-instance_method
545
+ def reserved_db_instances: (
546
+ ?reserved_db_instance_id: ::String,
547
+ ?reserved_db_instances_offering_id: ::String,
548
+ ?db_instance_class: ::String,
549
+ ?duration: ::String,
550
+ ?product_description: ::String,
551
+ ?offering_type: ::String,
552
+ ?multi_az: bool,
553
+ ?lease_id: ::String,
554
+ ?filters: Array[
555
+ {
556
+ name: ::String,
557
+ values: Array[::String]
558
+ },
559
+ ]
560
+ ) -> ReservedDBInstance::Collection
561
+ | (?Hash[Symbol, untyped]) -> ReservedDBInstance::Collection
562
+
563
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#reserved_db_instances_offering-instance_method
564
+ def reserved_db_instances_offering: (String id) -> ReservedDBInstancesOffering
565
+
566
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#reserved_db_instances_offerings-instance_method
567
+ def reserved_db_instances_offerings: (
568
+ ?reserved_db_instances_offering_id: ::String,
569
+ ?db_instance_class: ::String,
570
+ ?duration: ::String,
571
+ ?product_description: ::String,
572
+ ?offering_type: ::String,
573
+ ?multi_az: bool,
574
+ ?filters: Array[
575
+ {
576
+ name: ::String,
577
+ values: Array[::String]
578
+ },
579
+ ]
580
+ ) -> ReservedDBInstancesOffering::Collection
581
+ | (?Hash[Symbol, untyped]) -> ReservedDBInstancesOffering::Collection
582
+
583
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#resource_with_pending_maintenance_actions-instance_method
584
+ def resource_with_pending_maintenance_actions: (String arn) -> ResourcePendingMaintenanceActionList
585
+
586
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Resource.html#resources_with_pending_maintenance_actions-instance_method
587
+ def resources_with_pending_maintenance_actions: (
588
+ ?resource_identifier: ::String,
589
+ ?filters: Array[
590
+ {
591
+ name: ::String,
592
+ values: Array[::String]
593
+ },
594
+ ]
595
+ ) -> ResourcePendingMaintenanceActionList::Collection
596
+ | (?Hash[Symbol, untyped]) -> ResourcePendingMaintenanceActionList::Collection
597
+ end
598
+ end
599
+ end
@@ -0,0 +1,41 @@
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/ResourcePendingMaintenanceActionList.html
11
+ class ResourcePendingMaintenanceActionList
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/ResourcePendingMaintenanceActionList.html#initialize-instance_method
13
+ def initialize: (String arn, Hash[Symbol, untyped] options) -> void
14
+ | (arn: String, ?client: Client) -> void
15
+ | (Hash[Symbol, untyped] args) -> void
16
+
17
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/ResourcePendingMaintenanceActionList.html#arn-instance_method
18
+ def arn: () -> String
19
+ alias resource_identifier arn
20
+
21
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/ResourcePendingMaintenanceActionList.html#pending_maintenance_action_details-instance_method
22
+ def pending_maintenance_action_details: () -> ::Array[Types::PendingMaintenanceAction]
23
+
24
+ def client: () -> Client
25
+
26
+
27
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/ResourcePendingMaintenanceActionList.html#data-instance_method
28
+ def data: () -> Types::ResourcePendingMaintenanceActions
29
+
30
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/ResourcePendingMaintenanceActionList.html#data_loaded?-instance_method
31
+ def data_loaded?: () -> bool
32
+
33
+
34
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/ResourcePendingMaintenanceActionList.html#pending_maintenance_actions-instance_method
35
+ def pending_maintenance_actions: () -> PendingMaintenanceAction::Collection
36
+
37
+ class Collection < ::Aws::Resources::Collection[ResourcePendingMaintenanceActionList]
38
+ end
39
+ end
40
+ end
41
+ end