aws-sdk-rds 1.0.0.rc10 → 1.0.0.rc11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0047a42952a26ab05058c86388a89c8a69cc3711
4
- data.tar.gz: 58b795a0bc2f4edc3b0a7de111923b2658946227
3
+ metadata.gz: 547cb59153413c7b7b4bbb3b62c46a0e002719ce
4
+ data.tar.gz: 6692a43c81695eef2eeacd1a6f3c2f17f54be2a3
5
5
  SHA512:
6
- metadata.gz: eefdecfb14db0eef12729e5b6fc93deadc99800967334a4f058f8f3732aa3d07f7c6c8095ff81af967421ec99a30f4c4c2e560b790616ac65846228a786a949c
7
- data.tar.gz: 4c56657b0744bf29f8dcd6675317c60d2310a9ae20dd5045ea969c2f2a392516d13ec885cb04dc5f1d42d7b913eeeb525b6790e7c85072f90aec9a3c2c95ff8b
6
+ metadata.gz: 0ce7ec86ee5667b586aac5e2ad315b1078d4fb6d91dfad769eb6f98cea9d3547a3c6abb769eb72e5d5dd30ce8cdc6ce821f47e90d9d5071e782eda3dc160a8bd
7
+ data.tar.gz: 9d17391dc48dabdb07a3661ffbe261eb23da2e960439ddc2d9793df6e541277c1680e4fca3e2909c248f37a852b234c192fa595078fde6ff759c9502af71a828
@@ -68,6 +68,6 @@ require_relative 'aws-sdk-rds/customizations'
68
68
  # @service
69
69
  module Aws::RDS
70
70
 
71
- GEM_VERSION = '1.0.0.rc10'
71
+ GEM_VERSION = '1.0.0.rc11'
72
72
 
73
73
  end
@@ -212,6 +212,22 @@ module Aws::RDS
212
212
  #
213
213
  # * {Types::AddSourceIdentifierToSubscriptionResult#event_subscription #event_subscription} => Types::EventSubscription
214
214
  #
215
+ #
216
+ # @example Example: To add a source identifier to an event notification subscription
217
+ #
218
+ # # This example add a source identifier to an event notification subscription.
219
+ #
220
+ # resp = client.add_source_identifier_to_subscription({
221
+ # source_identifier: "mymysqlinstance",
222
+ # subscription_name: "mymysqleventsubscription",
223
+ # })
224
+ #
225
+ # resp.to_h outputs the following:
226
+ # {
227
+ # event_subscription: {
228
+ # },
229
+ # }
230
+ #
215
231
  # @example Request syntax with placeholder values
216
232
  #
217
233
  # resp = client.add_source_identifier_to_subscription({
@@ -269,6 +285,21 @@ module Aws::RDS
269
285
  #
270
286
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
271
287
  #
288
+ #
289
+ # @example Example: To add tags to a resource
290
+ #
291
+ # # This example adds a tag to an option group.
292
+ #
293
+ # resp = client.add_tags_to_resource({
294
+ # resource_name: "arn:aws:rds:us-east-1:992648334831:og:mymysqloptiongroup",
295
+ # tags: [
296
+ # {
297
+ # key: "Staging",
298
+ # value: "LocationDB",
299
+ # },
300
+ # ],
301
+ # })
302
+ #
272
303
  # @example Request syntax with placeholder values
273
304
  #
274
305
  # resp = client.add_tags_to_resource({
@@ -325,6 +356,23 @@ module Aws::RDS
325
356
  #
326
357
  # * {Types::ApplyPendingMaintenanceActionResult#resource_pending_maintenance_actions #resource_pending_maintenance_actions} => Types::ResourcePendingMaintenanceActions
327
358
  #
359
+ #
360
+ # @example Example: To apply a pending maintenance action
361
+ #
362
+ # # This example immediately applies a pending system update to a DB instance.
363
+ #
364
+ # resp = client.apply_pending_maintenance_action({
365
+ # apply_action: "system-update",
366
+ # opt_in_type: "immediate",
367
+ # resource_identifier: "arn:aws:rds:us-east-1:992648334831:db:mymysqlinstance",
368
+ # })
369
+ #
370
+ # resp.to_h outputs the following:
371
+ # {
372
+ # resource_pending_maintenance_actions: {
373
+ # },
374
+ # }
375
+ #
328
376
  # @example Request syntax with placeholder values
329
377
  #
330
378
  # resp = client.apply_pending_maintenance_action({
@@ -404,6 +452,22 @@ module Aws::RDS
404
452
  #
405
453
  # * {Types::AuthorizeDBSecurityGroupIngressResult#db_security_group #db_security_group} => Types::DBSecurityGroup
406
454
  #
455
+ #
456
+ # @example Example: To authorize DB security group integress
457
+ #
458
+ # # This example authorizes access to the specified security group by the specified CIDR block.
459
+ #
460
+ # resp = client.authorize_db_security_group_ingress({
461
+ # cidrip: "203.0.113.5/32",
462
+ # db_security_group_name: "mydbsecuritygroup",
463
+ # })
464
+ #
465
+ # resp.to_h outputs the following:
466
+ # {
467
+ # db_security_group: {
468
+ # },
469
+ # }
470
+ #
407
471
  # @example Request syntax with placeholder values
408
472
  #
409
473
  # resp = client.authorize_db_security_group_ingress({
@@ -487,6 +551,23 @@ module Aws::RDS
487
551
  #
488
552
  # * {Types::CopyDBClusterParameterGroupResult#db_cluster_parameter_group #db_cluster_parameter_group} => Types::DBClusterParameterGroup
489
553
  #
554
+ #
555
+ # @example Example: To copy a DB cluster parameter group
556
+ #
557
+ # # This example copies a DB cluster parameter group.
558
+ #
559
+ # resp = client.copy_db_cluster_parameter_group({
560
+ # source_db_cluster_parameter_group_identifier: "mydbclusterparametergroup",
561
+ # target_db_cluster_parameter_group_description: "My DB cluster parameter group copy",
562
+ # target_db_cluster_parameter_group_identifier: "mydbclusterparametergroup-copy",
563
+ # })
564
+ #
565
+ # resp.to_h outputs the following:
566
+ # {
567
+ # db_cluster_parameter_group: {
568
+ # },
569
+ # }
570
+ #
490
571
  # @example Request syntax with placeholder values
491
572
  #
492
573
  # resp = client.copy_db_cluster_parameter_group({
@@ -717,6 +798,22 @@ module Aws::RDS
717
798
  #
718
799
  # * {Types::CopyDBClusterSnapshotResult#db_cluster_snapshot #db_cluster_snapshot} => Types::DBClusterSnapshot
719
800
  #
801
+ #
802
+ # @example Example: To copy a DB cluster snapshot
803
+ #
804
+ # # The following example copies an automated snapshot of a DB cluster to a new DB cluster snapshot.
805
+ #
806
+ # resp = client.copy_db_cluster_snapshot({
807
+ # source_db_cluster_snapshot_identifier: "rds:sample-cluster-2016-09-14-10-38",
808
+ # target_db_cluster_snapshot_identifier: "cluster-snapshot-copy-1",
809
+ # })
810
+ #
811
+ # resp.to_h outputs the following:
812
+ # {
813
+ # db_cluster_snapshot: {
814
+ # },
815
+ # }
816
+ #
720
817
  # @example Request syntax with placeholder values
721
818
  #
722
819
  # resp = client.copy_db_cluster_snapshot({
@@ -810,6 +907,23 @@ module Aws::RDS
810
907
  #
811
908
  # * {Types::CopyDBParameterGroupResult#db_parameter_group #db_parameter_group} => Types::DBParameterGroup
812
909
  #
910
+ #
911
+ # @example Example: To copy a DB parameter group
912
+ #
913
+ # # This example copies a DB parameter group.
914
+ #
915
+ # resp = client.copy_db_parameter_group({
916
+ # source_db_parameter_group_identifier: "mymysqlparametergroup",
917
+ # target_db_parameter_group_description: "My MySQL parameter group copy",
918
+ # target_db_parameter_group_identifier: "mymysqlparametergroup-copy",
919
+ # })
920
+ #
921
+ # resp.to_h outputs the following:
922
+ # {
923
+ # db_parameter_group: {
924
+ # },
925
+ # }
926
+ #
813
927
  # @example Request syntax with placeholder values
814
928
  #
815
929
  # resp = client.copy_db_parameter_group({
@@ -1000,6 +1114,22 @@ module Aws::RDS
1000
1114
  #
1001
1115
  # * {Types::CopyDBSnapshotResult#db_snapshot #db_snapshot} => Types::DBSnapshot
1002
1116
  #
1117
+ #
1118
+ # @example Example: To copy a DB snapshot
1119
+ #
1120
+ # # This example copies a DB snapshot.
1121
+ #
1122
+ # resp = client.copy_db_snapshot({
1123
+ # source_db_snapshot_identifier: "mydbsnapshot",
1124
+ # target_db_snapshot_identifier: "mydbsnapshot-copy",
1125
+ # })
1126
+ #
1127
+ # resp.to_h outputs the following:
1128
+ # {
1129
+ # db_snapshot: {
1130
+ # },
1131
+ # }
1132
+ #
1003
1133
  # @example Request syntax with placeholder values
1004
1134
  #
1005
1135
  # resp = client.copy_db_snapshot({
@@ -1104,6 +1234,23 @@ module Aws::RDS
1104
1234
  #
1105
1235
  # * {Types::CopyOptionGroupResult#option_group #option_group} => Types::OptionGroup
1106
1236
  #
1237
+ #
1238
+ # @example Example: To copy an option group
1239
+ #
1240
+ # # This example copies an option group.
1241
+ #
1242
+ # resp = client.copy_option_group({
1243
+ # source_option_group_identifier: "mymysqloptiongroup",
1244
+ # target_option_group_description: "My MySQL option group copy",
1245
+ # target_option_group_identifier: "mymysqloptiongroup-copy",
1246
+ # })
1247
+ #
1248
+ # resp.to_h outputs the following:
1249
+ # {
1250
+ # option_group: {
1251
+ # },
1252
+ # }
1253
+ #
1107
1254
  # @example Request syntax with placeholder values
1108
1255
  #
1109
1256
  # resp = client.copy_option_group({
@@ -1413,6 +1560,33 @@ module Aws::RDS
1413
1560
  #
1414
1561
  # * {Types::CreateDBClusterResult#db_cluster #db_cluster} => Types::DBCluster
1415
1562
  #
1563
+ #
1564
+ # @example Example: To create a DB cluster
1565
+ #
1566
+ # # This example creates a DB cluster.
1567
+ #
1568
+ # resp = client.create_db_cluster({
1569
+ # availability_zones: [
1570
+ # "us-east-1a",
1571
+ # ],
1572
+ # backup_retention_period: 1,
1573
+ # db_cluster_identifier: "mydbcluster",
1574
+ # db_cluster_parameter_group_name: "mydbclusterparametergroup",
1575
+ # database_name: "myauroradb",
1576
+ # engine: "aurora",
1577
+ # engine_version: "5.6.10a",
1578
+ # master_user_password: "mypassword",
1579
+ # master_username: "myuser",
1580
+ # port: 3306,
1581
+ # storage_encrypted: true,
1582
+ # })
1583
+ #
1584
+ # resp.to_h outputs the following:
1585
+ # {
1586
+ # db_cluster: {
1587
+ # },
1588
+ # }
1589
+ #
1416
1590
  # @example Request syntax with placeholder values
1417
1591
  #
1418
1592
  # resp = client.create_db_cluster({
@@ -1573,6 +1747,23 @@ module Aws::RDS
1573
1747
  #
1574
1748
  # * {Types::CreateDBClusterParameterGroupResult#db_cluster_parameter_group #db_cluster_parameter_group} => Types::DBClusterParameterGroup
1575
1749
  #
1750
+ #
1751
+ # @example Example: To create a DB cluster parameter group
1752
+ #
1753
+ # # This example creates a DB cluster parameter group.
1754
+ #
1755
+ # resp = client.create_db_cluster_parameter_group({
1756
+ # db_cluster_parameter_group_name: "mydbclusterparametergroup",
1757
+ # db_parameter_group_family: "aurora5.6",
1758
+ # description: "My DB cluster parameter group",
1759
+ # })
1760
+ #
1761
+ # resp.to_h outputs the following:
1762
+ # {
1763
+ # db_cluster_parameter_group: {
1764
+ # },
1765
+ # }
1766
+ #
1576
1767
  # @example Request syntax with placeholder values
1577
1768
  #
1578
1769
  # resp = client.create_db_cluster_parameter_group({
@@ -1645,6 +1836,22 @@ module Aws::RDS
1645
1836
  #
1646
1837
  # * {Types::CreateDBClusterSnapshotResult#db_cluster_snapshot #db_cluster_snapshot} => Types::DBClusterSnapshot
1647
1838
  #
1839
+ #
1840
+ # @example Example: To create a DB cluster snapshot
1841
+ #
1842
+ # # This example creates a DB cluster snapshot.
1843
+ #
1844
+ # resp = client.create_db_cluster_snapshot({
1845
+ # db_cluster_identifier: "mydbcluster",
1846
+ # db_cluster_snapshot_identifier: "mydbclustersnapshot",
1847
+ # })
1848
+ #
1849
+ # resp.to_h outputs the following:
1850
+ # {
1851
+ # db_cluster_snapshot: {
1852
+ # },
1853
+ # }
1854
+ #
1648
1855
  # @example Request syntax with placeholder values
1649
1856
  #
1650
1857
  # resp = client.create_db_cluster_snapshot({
@@ -2457,6 +2664,26 @@ module Aws::RDS
2457
2664
  #
2458
2665
  # * {Types::CreateDBInstanceResult#db_instance #db_instance} => Types::DBInstance
2459
2666
  #
2667
+ #
2668
+ # @example Example: To create a DB instance.
2669
+ #
2670
+ # # This example creates a DB instance.
2671
+ #
2672
+ # resp = client.create_db_instance({
2673
+ # allocated_storage: 5,
2674
+ # db_instance_class: "db.t2.micro",
2675
+ # db_instance_identifier: "mymysqlinstance",
2676
+ # engine: "MySQL",
2677
+ # master_user_password: "MyPassword",
2678
+ # master_username: "MyUser",
2679
+ # })
2680
+ #
2681
+ # resp.to_h outputs the following:
2682
+ # {
2683
+ # db_instance: {
2684
+ # },
2685
+ # }
2686
+ #
2460
2687
  # @example Request syntax with placeholder values
2461
2688
  #
2462
2689
  # resp = client.create_db_instance({
@@ -2949,6 +3176,33 @@ module Aws::RDS
2949
3176
  #
2950
3177
  # * {Types::CreateDBInstanceReadReplicaResult#db_instance #db_instance} => Types::DBInstance
2951
3178
  #
3179
+ #
3180
+ # @example Example: To create a DB instance read replica.
3181
+ #
3182
+ # # This example creates a DB instance read replica.
3183
+ #
3184
+ # resp = client.create_db_instance_read_replica({
3185
+ # availability_zone: "us-east-1a",
3186
+ # copy_tags_to_snapshot: true,
3187
+ # db_instance_class: "db.t2.micro",
3188
+ # db_instance_identifier: "mydbreadreplica",
3189
+ # publicly_accessible: true,
3190
+ # source_db_instance_identifier: "mymysqlinstance",
3191
+ # storage_type: "gp2",
3192
+ # tags: [
3193
+ # {
3194
+ # key: "mydbreadreplicakey",
3195
+ # value: "mydbreadreplicavalue",
3196
+ # },
3197
+ # ],
3198
+ # })
3199
+ #
3200
+ # resp.to_h outputs the following:
3201
+ # {
3202
+ # db_instance: {
3203
+ # },
3204
+ # }
3205
+ #
2952
3206
  # @example Request syntax with placeholder values
2953
3207
  #
2954
3208
  # resp = client.create_db_instance_read_replica({
@@ -3138,6 +3392,23 @@ module Aws::RDS
3138
3392
  #
3139
3393
  # * {Types::CreateDBParameterGroupResult#db_parameter_group #db_parameter_group} => Types::DBParameterGroup
3140
3394
  #
3395
+ #
3396
+ # @example Example: To create a DB parameter group.
3397
+ #
3398
+ # # This example creates a DB parameter group.
3399
+ #
3400
+ # resp = client.create_db_parameter_group({
3401
+ # db_parameter_group_family: "mysql5.6",
3402
+ # db_parameter_group_name: "mymysqlparametergroup",
3403
+ # description: "My MySQL parameter group",
3404
+ # })
3405
+ #
3406
+ # resp.to_h outputs the following:
3407
+ # {
3408
+ # db_parameter_group: {
3409
+ # },
3410
+ # }
3411
+ #
3141
3412
  # @example Request syntax with placeholder values
3142
3413
  #
3143
3414
  # resp = client.create_db_parameter_group({
@@ -3197,6 +3468,22 @@ module Aws::RDS
3197
3468
  #
3198
3469
  # * {Types::CreateDBSecurityGroupResult#db_security_group #db_security_group} => Types::DBSecurityGroup
3199
3470
  #
3471
+ #
3472
+ # @example Example: To create a DB security group.
3473
+ #
3474
+ # # This example creates a DB security group.
3475
+ #
3476
+ # resp = client.create_db_security_group({
3477
+ # db_security_group_description: "My DB security group",
3478
+ # db_security_group_name: "mydbsecuritygroup",
3479
+ # })
3480
+ #
3481
+ # resp.to_h outputs the following:
3482
+ # {
3483
+ # db_security_group: {
3484
+ # },
3485
+ # }
3486
+ #
3200
3487
  # @example Request syntax with placeholder values
3201
3488
  #
3202
3489
  # resp = client.create_db_security_group({
@@ -3272,6 +3559,22 @@ module Aws::RDS
3272
3559
  #
3273
3560
  # * {Types::CreateDBSnapshotResult#db_snapshot #db_snapshot} => Types::DBSnapshot
3274
3561
  #
3562
+ #
3563
+ # @example Example: To create a DB snapshot.
3564
+ #
3565
+ # # This example creates a DB snapshot.
3566
+ #
3567
+ # resp = client.create_db_snapshot({
3568
+ # db_instance_identifier: "mymysqlinstance",
3569
+ # db_snapshot_identifier: "mydbsnapshot",
3570
+ # })
3571
+ #
3572
+ # resp.to_h outputs the following:
3573
+ # {
3574
+ # db_snapshot: {
3575
+ # },
3576
+ # }
3577
+ #
3275
3578
  # @example Request syntax with placeholder values
3276
3579
  #
3277
3580
  # resp = client.create_db_snapshot({
@@ -3348,6 +3651,26 @@ module Aws::RDS
3348
3651
  #
3349
3652
  # * {Types::CreateDBSubnetGroupResult#db_subnet_group #db_subnet_group} => Types::DBSubnetGroup
3350
3653
  #
3654
+ #
3655
+ # @example Example: To create a DB subnet group.
3656
+ #
3657
+ # # This example creates a DB subnet group.
3658
+ #
3659
+ # resp = client.create_db_subnet_group({
3660
+ # db_subnet_group_description: "My DB subnet group",
3661
+ # db_subnet_group_name: "mydbsubnetgroup",
3662
+ # subnet_ids: [
3663
+ # "subnet-1fab8a69",
3664
+ # "subnet-d43a468c",
3665
+ # ],
3666
+ # })
3667
+ #
3668
+ # resp.to_h outputs the following:
3669
+ # {
3670
+ # db_subnet_group: {
3671
+ # },
3672
+ # }
3673
+ #
3351
3674
  # @example Request syntax with placeholder values
3352
3675
  #
3353
3676
  # resp = client.create_db_subnet_group({
@@ -3468,6 +3791,30 @@ module Aws::RDS
3468
3791
  #
3469
3792
  # * {Types::CreateEventSubscriptionResult#event_subscription #event_subscription} => Types::EventSubscription
3470
3793
  #
3794
+ #
3795
+ # @example Example: To create an event notification subscription
3796
+ #
3797
+ # # This example creates an event notification subscription.
3798
+ #
3799
+ # resp = client.create_event_subscription({
3800
+ # enabled: true,
3801
+ # event_categories: [
3802
+ # "availability",
3803
+ # ],
3804
+ # sns_topic_arn: "arn:aws:sns:us-east-1:992648334831:MyDemoSNSTopic",
3805
+ # source_ids: [
3806
+ # "mymysqlinstance",
3807
+ # ],
3808
+ # source_type: "db-instance",
3809
+ # subscription_name: "mymysqleventsubscription",
3810
+ # })
3811
+ #
3812
+ # resp.to_h outputs the following:
3813
+ # {
3814
+ # event_subscription: {
3815
+ # },
3816
+ # }
3817
+ #
3471
3818
  # @example Request syntax with placeholder values
3472
3819
  #
3473
3820
  # resp = client.create_event_subscription({
@@ -3542,6 +3889,24 @@ module Aws::RDS
3542
3889
  #
3543
3890
  # * {Types::CreateOptionGroupResult#option_group #option_group} => Types::OptionGroup
3544
3891
  #
3892
+ #
3893
+ # @example Example: To create an option group
3894
+ #
3895
+ # # This example creates an option group.
3896
+ #
3897
+ # resp = client.create_option_group({
3898
+ # engine_name: "MySQL",
3899
+ # major_engine_version: "5.6",
3900
+ # option_group_description: "My MySQL 5.6 option group",
3901
+ # option_group_name: "mymysqloptiongroup",
3902
+ # })
3903
+ #
3904
+ # resp.to_h outputs the following:
3905
+ # {
3906
+ # option_group: {
3907
+ # },
3908
+ # }
3909
+ #
3545
3910
  # @example Request syntax with placeholder values
3546
3911
  #
3547
3912
  # resp = client.create_option_group({
@@ -3659,6 +4024,22 @@ module Aws::RDS
3659
4024
  #
3660
4025
  # * {Types::DeleteDBClusterResult#db_cluster #db_cluster} => Types::DBCluster
3661
4026
  #
4027
+ #
4028
+ # @example Example: To delete a DB cluster.
4029
+ #
4030
+ # # This example deletes the specified DB cluster.
4031
+ #
4032
+ # resp = client.delete_db_cluster({
4033
+ # db_cluster_identifier: "mydbcluster",
4034
+ # skip_final_snapshot: true,
4035
+ # })
4036
+ #
4037
+ # resp.to_h outputs the following:
4038
+ # {
4039
+ # db_cluster: {
4040
+ # },
4041
+ # }
4042
+ #
3662
4043
  # @example Request syntax with placeholder values
3663
4044
  #
3664
4045
  # resp = client.delete_db_cluster({
@@ -3750,6 +4131,15 @@ module Aws::RDS
3750
4131
  #
3751
4132
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3752
4133
  #
4134
+ #
4135
+ # @example Example: To delete a DB cluster parameter group.
4136
+ #
4137
+ # # This example deletes the specified DB cluster parameter group.
4138
+ #
4139
+ # resp = client.delete_db_cluster_parameter_group({
4140
+ # db_cluster_parameter_group_name: "mydbclusterparametergroup",
4141
+ # })
4142
+ #
3753
4143
  # @example Request syntax with placeholder values
3754
4144
  #
3755
4145
  # resp = client.delete_db_cluster_parameter_group({
@@ -3790,6 +4180,21 @@ module Aws::RDS
3790
4180
  #
3791
4181
  # * {Types::DeleteDBClusterSnapshotResult#db_cluster_snapshot #db_cluster_snapshot} => Types::DBClusterSnapshot
3792
4182
  #
4183
+ #
4184
+ # @example Example: To delete a DB cluster snapshot.
4185
+ #
4186
+ # # This example deletes the specified DB cluster snapshot.
4187
+ #
4188
+ # resp = client.delete_db_cluster_snapshot({
4189
+ # db_cluster_snapshot_identifier: "mydbclustersnapshot",
4190
+ # })
4191
+ #
4192
+ # resp.to_h outputs the following:
4193
+ # {
4194
+ # db_cluster_snapshot: {
4195
+ # },
4196
+ # }
4197
+ #
3793
4198
  # @example Request syntax with placeholder values
3794
4199
  #
3795
4200
  # resp = client.delete_db_cluster_snapshot({
@@ -3914,6 +4319,22 @@ module Aws::RDS
3914
4319
  #
3915
4320
  # * {Types::DeleteDBInstanceResult#db_instance #db_instance} => Types::DBInstance
3916
4321
  #
4322
+ #
4323
+ # @example Example: To delete a DB instance.
4324
+ #
4325
+ # # This example deletes the specified DB instance.
4326
+ #
4327
+ # resp = client.delete_db_instance({
4328
+ # db_instance_identifier: "mymysqlinstance",
4329
+ # skip_final_snapshot: true,
4330
+ # })
4331
+ #
4332
+ # resp.to_h outputs the following:
4333
+ # {
4334
+ # db_instance: {
4335
+ # },
4336
+ # }
4337
+ #
3917
4338
  # @example Request syntax with placeholder values
3918
4339
  #
3919
4340
  # resp = client.delete_db_instance({
@@ -4039,6 +4460,15 @@ module Aws::RDS
4039
4460
  #
4040
4461
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4041
4462
  #
4463
+ #
4464
+ # @example Example: To delete a DB parameter group
4465
+ #
4466
+ # # The following example deletes a DB parameter group.
4467
+ #
4468
+ # resp = client.delete_db_parameter_group({
4469
+ # db_parameter_group_name: "mydbparamgroup3",
4470
+ # })
4471
+ #
4042
4472
  # @example Request syntax with placeholder values
4043
4473
  #
4044
4474
  # resp = client.delete_db_parameter_group({
@@ -4080,6 +4510,15 @@ module Aws::RDS
4080
4510
  #
4081
4511
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4082
4512
  #
4513
+ #
4514
+ # @example Example: To delete a DB security group
4515
+ #
4516
+ # # The following example deletes a DB security group.
4517
+ #
4518
+ # resp = client.delete_db_security_group({
4519
+ # db_security_group_name: "mysecgroup",
4520
+ # })
4521
+ #
4083
4522
  # @example Request syntax with placeholder values
4084
4523
  #
4085
4524
  # resp = client.delete_db_security_group({
@@ -4112,6 +4551,21 @@ module Aws::RDS
4112
4551
  #
4113
4552
  # * {Types::DeleteDBSnapshotResult#db_snapshot #db_snapshot} => Types::DBSnapshot
4114
4553
  #
4554
+ #
4555
+ # @example Example: To delete a DB cluster snapshot.
4556
+ #
4557
+ # # This example deletes the specified DB snapshot.
4558
+ #
4559
+ # resp = client.delete_db_snapshot({
4560
+ # db_snapshot_identifier: "mydbsnapshot",
4561
+ # })
4562
+ #
4563
+ # resp.to_h outputs the following:
4564
+ # {
4565
+ # db_snapshot: {
4566
+ # },
4567
+ # }
4568
+ #
4115
4569
  # @example Request syntax with placeholder values
4116
4570
  #
4117
4571
  # resp = client.delete_db_snapshot({
@@ -4179,6 +4633,15 @@ module Aws::RDS
4179
4633
  #
4180
4634
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4181
4635
  #
4636
+ #
4637
+ # @example Example: To delete a DB subnet group.
4638
+ #
4639
+ # # This example deletes the specified DB subnetgroup.
4640
+ #
4641
+ # resp = client.delete_db_subnet_group({
4642
+ # db_subnet_group_name: "mydbsubnetgroup",
4643
+ # })
4644
+ #
4182
4645
  # @example Request syntax with placeholder values
4183
4646
  #
4184
4647
  # resp = client.delete_db_subnet_group({
@@ -4204,6 +4667,21 @@ module Aws::RDS
4204
4667
  #
4205
4668
  # * {Types::DeleteEventSubscriptionResult#event_subscription #event_subscription} => Types::EventSubscription
4206
4669
  #
4670
+ #
4671
+ # @example Example: To delete a DB event subscription.
4672
+ #
4673
+ # # This example deletes the specified DB event subscription.
4674
+ #
4675
+ # resp = client.delete_event_subscription({
4676
+ # subscription_name: "myeventsubscription",
4677
+ # })
4678
+ #
4679
+ # resp.to_h outputs the following:
4680
+ # {
4681
+ # event_subscription: {
4682
+ # },
4683
+ # }
4684
+ #
4207
4685
  # @example Request syntax with placeholder values
4208
4686
  #
4209
4687
  # resp = client.delete_event_subscription({
@@ -4245,6 +4723,15 @@ module Aws::RDS
4245
4723
  #
4246
4724
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4247
4725
  #
4726
+ #
4727
+ # @example Example: To delete an option group.
4728
+ #
4729
+ # # This example deletes the specified option group.
4730
+ #
4731
+ # resp = client.delete_option_group({
4732
+ # option_group_name: "mydboptiongroup",
4733
+ # })
4734
+ #
4248
4735
  # @example Request syntax with placeholder values
4249
4736
  #
4250
4737
  # resp = client.delete_option_group({
@@ -4271,6 +4758,18 @@ module Aws::RDS
4271
4758
  #
4272
4759
  # * {Types::AccountAttributesMessage#account_quotas #account_quotas} => Array<Types::AccountQuota>
4273
4760
  #
4761
+ #
4762
+ # @example Example: To list account attributes
4763
+ #
4764
+ # # This example lists account attributes.
4765
+ #
4766
+ # resp = client.describe_account_attributes({
4767
+ # })
4768
+ #
4769
+ # resp.to_h outputs the following:
4770
+ # {
4771
+ # }
4772
+ #
4274
4773
  # @example Response structure
4275
4774
  #
4276
4775
  # resp.account_quotas #=> Array
@@ -4327,6 +4826,20 @@ module Aws::RDS
4327
4826
  # * {Types::CertificateMessage#certificates #certificates} => Array<Types::Certificate>
4328
4827
  # * {Types::CertificateMessage#marker #marker} => String
4329
4828
  #
4829
+ #
4830
+ # @example Example: To list certificates
4831
+ #
4832
+ # # This example lists up to 20 certificates for the specified certificate identifier.
4833
+ #
4834
+ # resp = client.describe_certificates({
4835
+ # certificate_identifier: "rds-ca-2015",
4836
+ # max_records: 20,
4837
+ # })
4838
+ #
4839
+ # resp.to_h outputs the following:
4840
+ # {
4841
+ # }
4842
+ #
4330
4843
  # @example Request syntax with placeholder values
4331
4844
  #
4332
4845
  # resp = client.describe_certificates({
@@ -4409,6 +4922,19 @@ module Aws::RDS
4409
4922
  # * {Types::DBClusterParameterGroupsMessage#marker #marker} => String
4410
4923
  # * {Types::DBClusterParameterGroupsMessage#db_cluster_parameter_groups #db_cluster_parameter_groups} => Array<Types::DBClusterParameterGroup>
4411
4924
  #
4925
+ #
4926
+ # @example Example: To list DB cluster parameter group settings
4927
+ #
4928
+ # # This example lists settings for the specified DB cluster parameter group.
4929
+ #
4930
+ # resp = client.describe_db_cluster_parameter_groups({
4931
+ # db_cluster_parameter_group_name: "mydbclusterparametergroup",
4932
+ # })
4933
+ #
4934
+ # resp.to_h outputs the following:
4935
+ # {
4936
+ # }
4937
+ #
4412
4938
  # @example Request syntax with placeholder values
4413
4939
  #
4414
4940
  # resp = client.describe_db_cluster_parameter_groups({
@@ -4491,6 +5017,20 @@ module Aws::RDS
4491
5017
  # * {Types::DBClusterParameterGroupDetails#parameters #parameters} => Array<Types::Parameter>
4492
5018
  # * {Types::DBClusterParameterGroupDetails#marker #marker} => String
4493
5019
  #
5020
+ #
5021
+ # @example Example: To list DB cluster parameters
5022
+ #
5023
+ # # This example lists system parameters for the specified DB cluster parameter group.
5024
+ #
5025
+ # resp = client.describe_db_cluster_parameters({
5026
+ # db_cluster_parameter_group_name: "mydbclusterparametergroup",
5027
+ # source: "system",
5028
+ # })
5029
+ #
5030
+ # resp.to_h outputs the following:
5031
+ # {
5032
+ # }
5033
+ #
4494
5034
  # @example Request syntax with placeholder values
4495
5035
  #
4496
5036
  # resp = client.describe_db_cluster_parameters({
@@ -4552,6 +5092,21 @@ module Aws::RDS
4552
5092
  #
4553
5093
  # * {Types::DescribeDBClusterSnapshotAttributesResult#db_cluster_snapshot_attributes_result #db_cluster_snapshot_attributes_result} => Types::DBClusterSnapshotAttributesResult
4554
5094
  #
5095
+ #
5096
+ # @example Example: To list DB cluster snapshot attributes
5097
+ #
5098
+ # # This example lists attributes for the specified DB cluster snapshot.
5099
+ #
5100
+ # resp = client.describe_db_cluster_snapshot_attributes({
5101
+ # db_cluster_snapshot_identifier: "mydbclustersnapshot",
5102
+ # })
5103
+ #
5104
+ # resp.to_h outputs the following:
5105
+ # {
5106
+ # db_cluster_snapshot_attributes_result: {
5107
+ # },
5108
+ # }
5109
+ #
4555
5110
  # @example Request syntax with placeholder values
4556
5111
  #
4557
5112
  # resp = client.describe_db_cluster_snapshot_attributes({
@@ -4686,6 +5241,20 @@ module Aws::RDS
4686
5241
  # * {Types::DBClusterSnapshotMessage#marker #marker} => String
4687
5242
  # * {Types::DBClusterSnapshotMessage#db_cluster_snapshots #db_cluster_snapshots} => Array<Types::DBClusterSnapshot>
4688
5243
  #
5244
+ #
5245
+ # @example Example: To list DB cluster snapshots
5246
+ #
5247
+ # # This example lists settings for the specified, manually-created cluster snapshot.
5248
+ #
5249
+ # resp = client.describe_db_cluster_snapshots({
5250
+ # db_cluster_snapshot_identifier: "mydbclustersnapshot",
5251
+ # snapshot_type: "manual",
5252
+ # })
5253
+ #
5254
+ # resp.to_h outputs the following:
5255
+ # {
5256
+ # }
5257
+ #
4689
5258
  # @example Request syntax with placeholder values
4690
5259
  #
4691
5260
  # resp = client.describe_db_cluster_snapshots({
@@ -4793,6 +5362,19 @@ module Aws::RDS
4793
5362
  # * {Types::DBClusterMessage#marker #marker} => String
4794
5363
  # * {Types::DBClusterMessage#db_clusters #db_clusters} => Array<Types::DBCluster>
4795
5364
  #
5365
+ #
5366
+ # @example Example: To list DB clusters
5367
+ #
5368
+ # # This example lists settings for the specified DB cluster.
5369
+ #
5370
+ # resp = client.describe_db_clusters({
5371
+ # db_cluster_identifier: "mynewdbcluster",
5372
+ # })
5373
+ #
5374
+ # resp.to_h outputs the following:
5375
+ # {
5376
+ # }
5377
+ #
4796
5378
  # @example Request syntax with placeholder values
4797
5379
  #
4798
5380
  # resp = client.describe_db_clusters({
@@ -4927,6 +5509,23 @@ module Aws::RDS
4927
5509
  # * {Types::DBEngineVersionMessage#marker #marker} => String
4928
5510
  # * {Types::DBEngineVersionMessage#db_engine_versions #db_engine_versions} => Array<Types::DBEngineVersion>
4929
5511
  #
5512
+ #
5513
+ # @example Example: To list DB engine version settings
5514
+ #
5515
+ # # This example lists settings for the specified DB engine version.
5516
+ #
5517
+ # resp = client.describe_db_engine_versions({
5518
+ # db_parameter_group_family: "mysql5.6",
5519
+ # default_only: true,
5520
+ # engine: "mysql",
5521
+ # engine_version: "5.6",
5522
+ # list_supported_character_sets: true,
5523
+ # })
5524
+ #
5525
+ # resp.to_h outputs the following:
5526
+ # {
5527
+ # }
5528
+ #
4930
5529
  # @example Request syntax with placeholder values
4931
5530
  #
4932
5531
  # resp = client.describe_db_engine_versions({
@@ -5029,6 +5628,19 @@ module Aws::RDS
5029
5628
  # * {Types::DBInstanceMessage#marker #marker} => String
5030
5629
  # * {Types::DBInstanceMessage#db_instances #db_instances} => Array<Types::DBInstance>
5031
5630
  #
5631
+ #
5632
+ # @example Example: To list DB instance settings
5633
+ #
5634
+ # # This example lists settings for the specified DB instance.
5635
+ #
5636
+ # resp = client.describe_db_instances({
5637
+ # db_instance_identifier: "mymysqlinstance",
5638
+ # })
5639
+ #
5640
+ # resp.to_h outputs the following:
5641
+ # {
5642
+ # }
5643
+ #
5032
5644
  # @example Request syntax with placeholder values
5033
5645
  #
5034
5646
  # resp = client.describe_db_instances({
@@ -5191,6 +5803,22 @@ module Aws::RDS
5191
5803
  # * {Types::DescribeDBLogFilesResponse#describe_db_log_files #describe_db_log_files} => Array<Types::DescribeDBLogFilesDetails>
5192
5804
  # * {Types::DescribeDBLogFilesResponse#marker #marker} => String
5193
5805
  #
5806
+ #
5807
+ # @example Example: To list DB log file names
5808
+ #
5809
+ # # This example lists matching log file names for the specified DB instance, file name pattern, last write date in POSIX time with milleseconds, and minimum file size.
5810
+ #
5811
+ # resp = client.describe_db_log_files({
5812
+ # db_instance_identifier: "mymysqlinstance",
5813
+ # file_last_written: 1470873600000,
5814
+ # file_size: 0,
5815
+ # filename_contains: "error",
5816
+ # })
5817
+ #
5818
+ # resp.to_h outputs the following:
5819
+ # {
5820
+ # }
5821
+ #
5194
5822
  # @example Request syntax with placeholder values
5195
5823
  #
5196
5824
  # resp = client.describe_db_log_files({
@@ -5264,6 +5892,19 @@ module Aws::RDS
5264
5892
  # * {Types::DBParameterGroupsMessage#marker #marker} => String
5265
5893
  # * {Types::DBParameterGroupsMessage#db_parameter_groups #db_parameter_groups} => Array<Types::DBParameterGroup>
5266
5894
  #
5895
+ #
5896
+ # @example Example: To list information about DB parameter groups
5897
+ #
5898
+ # # This example lists information about the specified DB parameter group.
5899
+ #
5900
+ # resp = client.describe_db_parameter_groups({
5901
+ # db_parameter_group_name: "mymysqlparametergroup",
5902
+ # })
5903
+ #
5904
+ # resp.to_h outputs the following:
5905
+ # {
5906
+ # }
5907
+ #
5267
5908
  # @example Request syntax with placeholder values
5268
5909
  #
5269
5910
  # resp = client.describe_db_parameter_groups({
@@ -5341,6 +5982,21 @@ module Aws::RDS
5341
5982
  # * {Types::DBParameterGroupDetails#parameters #parameters} => Array<Types::Parameter>
5342
5983
  # * {Types::DBParameterGroupDetails#marker #marker} => String
5343
5984
  #
5985
+ #
5986
+ # @example Example: To list information about DB parameters
5987
+ #
5988
+ # # This example lists information for up to the first 20 system parameters for the specified DB parameter group.
5989
+ #
5990
+ # resp = client.describe_db_parameters({
5991
+ # db_parameter_group_name: "mymysqlparametergroup",
5992
+ # max_records: 20,
5993
+ # source: "system",
5994
+ # })
5995
+ #
5996
+ # resp.to_h outputs the following:
5997
+ # {
5998
+ # }
5999
+ #
5344
6000
  # @example Request syntax with placeholder values
5345
6001
  #
5346
6002
  # resp = client.describe_db_parameters({
@@ -5411,6 +6067,19 @@ module Aws::RDS
5411
6067
  # * {Types::DBSecurityGroupMessage#marker #marker} => String
5412
6068
  # * {Types::DBSecurityGroupMessage#db_security_groups #db_security_groups} => Array<Types::DBSecurityGroup>
5413
6069
  #
6070
+ #
6071
+ # @example Example: To list DB security group settings
6072
+ #
6073
+ # # This example lists settings for the specified security group.
6074
+ #
6075
+ # resp = client.describe_db_security_groups({
6076
+ # db_security_group_name: "mydbsecuritygroup",
6077
+ # })
6078
+ #
6079
+ # resp.to_h outputs the following:
6080
+ # {
6081
+ # }
6082
+ #
5414
6083
  # @example Request syntax with placeholder values
5415
6084
  #
5416
6085
  # resp = client.describe_db_security_groups({
@@ -5473,6 +6142,21 @@ module Aws::RDS
5473
6142
  #
5474
6143
  # * {Types::DescribeDBSnapshotAttributesResult#db_snapshot_attributes_result #db_snapshot_attributes_result} => Types::DBSnapshotAttributesResult
5475
6144
  #
6145
+ #
6146
+ # @example Example: To list DB snapshot attributes
6147
+ #
6148
+ # # This example lists attributes for the specified DB snapshot.
6149
+ #
6150
+ # resp = client.describe_db_snapshot_attributes({
6151
+ # db_snapshot_identifier: "mydbsnapshot",
6152
+ # })
6153
+ #
6154
+ # resp.to_h outputs the following:
6155
+ # {
6156
+ # db_snapshot_attributes_result: {
6157
+ # },
6158
+ # }
6159
+ #
5476
6160
  # @example Request syntax with placeholder values
5477
6161
  #
5478
6162
  # resp = client.describe_db_snapshot_attributes({
@@ -5598,6 +6282,22 @@ module Aws::RDS
5598
6282
  # * {Types::DBSnapshotMessage#marker #marker} => String
5599
6283
  # * {Types::DBSnapshotMessage#db_snapshots #db_snapshots} => Array<Types::DBSnapshot>
5600
6284
  #
6285
+ #
6286
+ # @example Example: To list DB snapshot attributes
6287
+ #
6288
+ # # This example lists all manually-created, shared snapshots for the specified DB instance.
6289
+ #
6290
+ # resp = client.describe_db_snapshots({
6291
+ # db_instance_identifier: "mymysqlinstance",
6292
+ # include_public: false,
6293
+ # include_shared: true,
6294
+ # snapshot_type: "manual",
6295
+ # })
6296
+ #
6297
+ # resp.to_h outputs the following:
6298
+ # {
6299
+ # }
6300
+ #
5601
6301
  # @example Request syntax with placeholder values
5602
6302
  #
5603
6303
  # resp = client.describe_db_snapshots({
@@ -5693,6 +6393,19 @@ module Aws::RDS
5693
6393
  # * {Types::DBSubnetGroupMessage#marker #marker} => String
5694
6394
  # * {Types::DBSubnetGroupMessage#db_subnet_groups #db_subnet_groups} => Array<Types::DBSubnetGroup>
5695
6395
  #
6396
+ #
6397
+ # @example Example: To list information about DB subnet groups
6398
+ #
6399
+ # # This example lists information about the specified DB subnet group.
6400
+ #
6401
+ # resp = client.describe_db_subnet_groups({
6402
+ # db_subnet_group_name: "mydbsubnetgroup",
6403
+ # })
6404
+ #
6405
+ # resp.to_h outputs the following:
6406
+ # {
6407
+ # }
6408
+ #
5696
6409
  # @example Request syntax with placeholder values
5697
6410
  #
5698
6411
  # resp = client.describe_db_subnet_groups({
@@ -5767,6 +6480,21 @@ module Aws::RDS
5767
6480
  #
5768
6481
  # * {Types::DescribeEngineDefaultClusterParametersResult#engine_defaults #engine_defaults} => Types::EngineDefaults
5769
6482
  #
6483
+ #
6484
+ # @example Example: To list default parameters for a DB cluster engine
6485
+ #
6486
+ # # This example lists default parameters for the specified DB cluster engine.
6487
+ #
6488
+ # resp = client.describe_engine_default_cluster_parameters({
6489
+ # db_parameter_group_family: "aurora5.6",
6490
+ # })
6491
+ #
6492
+ # resp.to_h outputs the following:
6493
+ # {
6494
+ # engine_defaults: {
6495
+ # },
6496
+ # }
6497
+ #
5770
6498
  # @example Request syntax with placeholder values
5771
6499
  #
5772
6500
  # resp = client.describe_engine_default_cluster_parameters({
@@ -5835,6 +6563,21 @@ module Aws::RDS
5835
6563
  #
5836
6564
  # * {Types::DescribeEngineDefaultParametersResult#engine_defaults #engine_defaults} => Types::EngineDefaults
5837
6565
  #
6566
+ #
6567
+ # @example Example: To list default parameters for a DB engine
6568
+ #
6569
+ # # This example lists default parameters for the specified DB engine.
6570
+ #
6571
+ # resp = client.describe_engine_default_parameters({
6572
+ # db_parameter_group_family: "mysql5.6",
6573
+ # })
6574
+ #
6575
+ # resp.to_h outputs the following:
6576
+ # {
6577
+ # engine_defaults: {
6578
+ # },
6579
+ # }
6580
+ #
5838
6581
  # @example Request syntax with placeholder values
5839
6582
  #
5840
6583
  # resp = client.describe_engine_default_parameters({
@@ -5892,9 +6635,22 @@ module Aws::RDS
5892
6635
  # @option params [Array<Types::Filter>] :filters
5893
6636
  # This parameter is not currently supported.
5894
6637
  #
5895
- # @return [Types::EventCategoriesMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6638
+ # @return [Types::EventCategoriesMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6639
+ #
6640
+ # * {Types::EventCategoriesMessage#event_categories_map_list #event_categories_map_list} => Array&lt;Types::EventCategoriesMap&gt;
6641
+ #
6642
+ #
6643
+ # @example Example: To list event categories.
6644
+ #
6645
+ # # This example lists all DB instance event categories.
6646
+ #
6647
+ # resp = client.describe_event_categories({
6648
+ # source_type: "db-instance",
6649
+ # })
5896
6650
  #
5897
- # * {Types::EventCategoriesMessage#event_categories_map_list #event_categories_map_list} => Array&lt;Types::EventCategoriesMap&gt;
6651
+ # resp.to_h outputs the following:
6652
+ # {
6653
+ # }
5898
6654
  #
5899
6655
  # @example Request syntax with placeholder values
5900
6656
  #
@@ -5959,6 +6715,19 @@ module Aws::RDS
5959
6715
  # * {Types::EventSubscriptionsMessage#marker #marker} => String
5960
6716
  # * {Types::EventSubscriptionsMessage#event_subscriptions_list #event_subscriptions_list} => Array&lt;Types::EventSubscription&gt;
5961
6717
  #
6718
+ #
6719
+ # @example Example: To list information about DB event notification subscriptions
6720
+ #
6721
+ # # This example lists information for the specified DB event notification subscription.
6722
+ #
6723
+ # resp = client.describe_event_subscriptions({
6724
+ # subscription_name: "mymysqleventsubscription",
6725
+ # })
6726
+ #
6727
+ # resp.to_h outputs the following:
6728
+ # {
6729
+ # }
6730
+ #
5962
6731
  # @example Request syntax with placeholder values
5963
6732
  #
5964
6733
  # resp = client.describe_event_subscriptions({
@@ -6085,6 +6854,24 @@ module Aws::RDS
6085
6854
  # * {Types::EventsMessage#marker #marker} => String
6086
6855
  # * {Types::EventsMessage#events #events} => Array&lt;Types::Event&gt;
6087
6856
  #
6857
+ #
6858
+ # @example Example: To list information about events
6859
+ #
6860
+ # # This example lists information for all backup-related events for the specified DB instance for the past 7 days (7 days * 24 hours * 60 minutes = 10,080 minutes).
6861
+ #
6862
+ # resp = client.describe_events({
6863
+ # duration: 10080,
6864
+ # event_categories: [
6865
+ # "backup",
6866
+ # ],
6867
+ # source_identifier: "mymysqlinstance",
6868
+ # source_type: "db-instance",
6869
+ # })
6870
+ #
6871
+ # resp.to_h outputs the following:
6872
+ # {
6873
+ # }
6874
+ #
6088
6875
  # @example Request syntax with placeholder values
6089
6876
  #
6090
6877
  # resp = client.describe_events({
@@ -6158,6 +6945,20 @@ module Aws::RDS
6158
6945
  # * {Types::OptionGroupOptionsMessage#option_group_options #option_group_options} => Array&lt;Types::OptionGroupOption&gt;
6159
6946
  # * {Types::OptionGroupOptionsMessage#marker #marker} => String
6160
6947
  #
6948
+ #
6949
+ # @example Example: To list information about DB option group options
6950
+ #
6951
+ # # This example lists information for all option group options for the specified DB engine.
6952
+ #
6953
+ # resp = client.describe_option_group_options({
6954
+ # engine_name: "mysql",
6955
+ # major_engine_version: "5.6",
6956
+ # })
6957
+ #
6958
+ # resp.to_h outputs the following:
6959
+ # {
6960
+ # }
6961
+ #
6161
6962
  # @example Request syntax with placeholder values
6162
6963
  #
6163
6964
  # resp = client.describe_option_group_options({
@@ -6249,6 +7050,20 @@ module Aws::RDS
6249
7050
  # * {Types::OptionGroups#option_groups_list #option_groups_list} => Array&lt;Types::OptionGroup&gt;
6250
7051
  # * {Types::OptionGroups#marker #marker} => String
6251
7052
  #
7053
+ #
7054
+ # @example Example: To list information about DB option groups
7055
+ #
7056
+ # # This example lists information for all option groups for the specified DB engine.
7057
+ #
7058
+ # resp = client.describe_option_groups({
7059
+ # engine_name: "mysql",
7060
+ # major_engine_version: "5.6",
7061
+ # })
7062
+ #
7063
+ # resp.to_h outputs the following:
7064
+ # {
7065
+ # }
7066
+ #
6252
7067
  # @example Request syntax with placeholder values
6253
7068
  #
6254
7069
  # resp = client.describe_option_groups({
@@ -6355,6 +7170,23 @@ module Aws::RDS
6355
7170
  # * {Types::OrderableDBInstanceOptionsMessage#orderable_db_instance_options #orderable_db_instance_options} => Array&lt;Types::OrderableDBInstanceOption&gt;
6356
7171
  # * {Types::OrderableDBInstanceOptionsMessage#marker #marker} => String
6357
7172
  #
7173
+ #
7174
+ # @example Example: To list information about orderable DB instance options
7175
+ #
7176
+ # # This example lists information for all orderable DB instance options for the specified DB engine, engine version, DB instance class, license model, and VPC settings.
7177
+ #
7178
+ # resp = client.describe_orderable_db_instance_options({
7179
+ # db_instance_class: "db.t2.micro",
7180
+ # engine: "mysql",
7181
+ # engine_version: "5.6.27",
7182
+ # license_model: "general-public-license",
7183
+ # vpc: true,
7184
+ # })
7185
+ #
7186
+ # resp.to_h outputs the following:
7187
+ # {
7188
+ # }
7189
+ #
6358
7190
  # @example Request syntax with placeholder values
6359
7191
  #
6360
7192
  # resp = client.describe_orderable_db_instance_options({
@@ -6443,6 +7275,19 @@ module Aws::RDS
6443
7275
  # * {Types::PendingMaintenanceActionsMessage#pending_maintenance_actions #pending_maintenance_actions} => Array&lt;Types::ResourcePendingMaintenanceActions&gt;
6444
7276
  # * {Types::PendingMaintenanceActionsMessage#marker #marker} => String
6445
7277
  #
7278
+ #
7279
+ # @example Example: To list information about pending maintenance actions
7280
+ #
7281
+ # # This example lists information for all pending maintenance actions for the specified DB instance.
7282
+ #
7283
+ # resp = client.describe_pending_maintenance_actions({
7284
+ # resource_identifier: "arn:aws:rds:us-east-1:992648334831:db:mymysqlinstance",
7285
+ # })
7286
+ #
7287
+ # resp.to_h outputs the following:
7288
+ # {
7289
+ # }
7290
+ #
6446
7291
  # @example Request syntax with placeholder values
6447
7292
  #
6448
7293
  # resp = client.describe_pending_maintenance_actions({
@@ -6539,6 +7384,23 @@ module Aws::RDS
6539
7384
  # * {Types::ReservedDBInstanceMessage#marker #marker} => String
6540
7385
  # * {Types::ReservedDBInstanceMessage#reserved_db_instances #reserved_db_instances} => Array&lt;Types::ReservedDBInstance&gt;
6541
7386
  #
7387
+ #
7388
+ # @example Example: To list information about reserved DB instances
7389
+ #
7390
+ # # This example lists information for all reserved DB instances for the specified DB instance class, duration, product, offering type, and availability zone settings.
7391
+ #
7392
+ # resp = client.describe_reserved_db_instances({
7393
+ # db_instance_class: "db.t2.micro",
7394
+ # duration: "1y",
7395
+ # multi_az: false,
7396
+ # offering_type: "No Upfront",
7397
+ # product_description: "mysql",
7398
+ # })
7399
+ #
7400
+ # resp.to_h outputs the following:
7401
+ # {
7402
+ # }
7403
+ #
6542
7404
  # @example Request syntax with placeholder values
6543
7405
  #
6544
7406
  # resp = client.describe_reserved_db_instances({
@@ -6646,6 +7508,23 @@ module Aws::RDS
6646
7508
  # * {Types::ReservedDBInstancesOfferingMessage#marker #marker} => String
6647
7509
  # * {Types::ReservedDBInstancesOfferingMessage#reserved_db_instances_offerings #reserved_db_instances_offerings} => Array&lt;Types::ReservedDBInstancesOffering&gt;
6648
7510
  #
7511
+ #
7512
+ # @example Example: To list information about reserved DB instance offerings
7513
+ #
7514
+ # # This example lists information for all reserved DB instance offerings for the specified DB instance class, duration, product, offering type, and availability zone settings.
7515
+ #
7516
+ # resp = client.describe_reserved_db_instances_offerings({
7517
+ # db_instance_class: "db.t2.micro",
7518
+ # duration: "1y",
7519
+ # multi_az: false,
7520
+ # offering_type: "No Upfront",
7521
+ # product_description: "mysql",
7522
+ # })
7523
+ #
7524
+ # resp.to_h outputs the following:
7525
+ # {
7526
+ # }
7527
+ #
6649
7528
  # @example Request syntax with placeholder values
6650
7529
  #
6651
7530
  # resp = client.describe_reserved_db_instances_offerings({
@@ -6728,6 +7607,70 @@ module Aws::RDS
6728
7607
  # * {Types::SourceRegionMessage#marker #marker} => String
6729
7608
  # * {Types::SourceRegionMessage#source_regions #source_regions} => Array&lt;Types::SourceRegion&gt;
6730
7609
  #
7610
+ #
7611
+ # @example Example: To describe source regions
7612
+ #
7613
+ # # To list the AWS regions where a Read Replica can be created.
7614
+ #
7615
+ # resp = client.describe_source_regions({
7616
+ # })
7617
+ #
7618
+ # resp.to_h outputs the following:
7619
+ # {
7620
+ # source_regions: [
7621
+ # {
7622
+ # endpoint: "https://rds.ap-northeast-1.amazonaws.com",
7623
+ # region_name: "ap-northeast-1",
7624
+ # status: "available",
7625
+ # },
7626
+ # {
7627
+ # endpoint: "https://rds.ap-northeast-2.amazonaws.com",
7628
+ # region_name: "ap-northeast-2",
7629
+ # status: "available",
7630
+ # },
7631
+ # {
7632
+ # endpoint: "https://rds.ap-south-1.amazonaws.com",
7633
+ # region_name: "ap-south-1",
7634
+ # status: "available",
7635
+ # },
7636
+ # {
7637
+ # endpoint: "https://rds.ap-southeast-1.amazonaws.com",
7638
+ # region_name: "ap-southeast-1",
7639
+ # status: "available",
7640
+ # },
7641
+ # {
7642
+ # endpoint: "https://rds.ap-southeast-2.amazonaws.com",
7643
+ # region_name: "ap-southeast-2",
7644
+ # status: "available",
7645
+ # },
7646
+ # {
7647
+ # endpoint: "https://rds.eu-central-1.amazonaws.com",
7648
+ # region_name: "eu-central-1",
7649
+ # status: "available",
7650
+ # },
7651
+ # {
7652
+ # endpoint: "https://rds.eu-west-1.amazonaws.com",
7653
+ # region_name: "eu-west-1",
7654
+ # status: "available",
7655
+ # },
7656
+ # {
7657
+ # endpoint: "https://rds.sa-east-1.amazonaws.com",
7658
+ # region_name: "sa-east-1",
7659
+ # status: "available",
7660
+ # },
7661
+ # {
7662
+ # endpoint: "https://rds.us-west-1.amazonaws.com",
7663
+ # region_name: "us-west-1",
7664
+ # status: "available",
7665
+ # },
7666
+ # {
7667
+ # endpoint: "https://rds.us-west-2.amazonaws.com",
7668
+ # region_name: "us-west-2",
7669
+ # status: "available",
7670
+ # },
7671
+ # ],
7672
+ # }
7673
+ #
6731
7674
  # @example Request syntax with placeholder values
6732
7675
  #
6733
7676
  # resp = client.describe_source_regions({
@@ -6814,6 +7757,20 @@ module Aws::RDS
6814
7757
  # * {Types::DownloadDBLogFilePortionDetails#marker #marker} => String
6815
7758
  # * {Types::DownloadDBLogFilePortionDetails#additional_data_pending #additional_data_pending} => Boolean
6816
7759
  #
7760
+ #
7761
+ # @example Example: To list information about DB log files
7762
+ #
7763
+ # # This example lists information for the specified log file for the specified DB instance.
7764
+ #
7765
+ # resp = client.download_db_log_file_portion({
7766
+ # db_instance_identifier: "mymysqlinstance",
7767
+ # log_file_name: "mysqlUpgrade",
7768
+ # })
7769
+ #
7770
+ # resp.to_h outputs the following:
7771
+ # {
7772
+ # }
7773
+ #
6817
7774
  # @example Request syntax with placeholder values
6818
7775
  #
6819
7776
  # resp = client.download_db_log_file_portion({
@@ -6880,6 +7837,22 @@ module Aws::RDS
6880
7837
  #
6881
7838
  # * {Types::FailoverDBClusterResult#db_cluster #db_cluster} => Types::DBCluster
6882
7839
  #
7840
+ #
7841
+ # @example Example: To perform a failover for a DB cluster
7842
+ #
7843
+ # # This example performs a failover for the specified DB cluster to the specified DB instance.
7844
+ #
7845
+ # resp = client.failover_db_cluster({
7846
+ # db_cluster_identifier: "myaurorainstance-cluster",
7847
+ # target_db_instance_identifier: "myaurorareplica",
7848
+ # })
7849
+ #
7850
+ # resp.to_h outputs the following:
7851
+ # {
7852
+ # db_cluster: {
7853
+ # },
7854
+ # }
7855
+ #
6883
7856
  # @example Request syntax with placeholder values
6884
7857
  #
6885
7858
  # resp = client.failover_db_cluster({
@@ -6971,6 +7944,19 @@ module Aws::RDS
6971
7944
  #
6972
7945
  # * {Types::TagListMessage#tag_list #tag_list} => Array&lt;Types::Tag&gt;
6973
7946
  #
7947
+ #
7948
+ # @example Example: To list information about tags associated with a resource
7949
+ #
7950
+ # # This example lists information about all tags associated with the specified DB option group.
7951
+ #
7952
+ # resp = client.list_tags_for_resource({
7953
+ # resource_name: "arn:aws:rds:us-east-1:992648334831:og:mymysqloptiongroup",
7954
+ # })
7955
+ #
7956
+ # resp.to_h outputs the following:
7957
+ # {
7958
+ # }
7959
+ #
6974
7960
  # @example Request syntax with placeholder values
6975
7961
  #
6976
7962
  # resp = client.list_tags_for_resource({
@@ -7151,6 +8137,26 @@ module Aws::RDS
7151
8137
  #
7152
8138
  # * {Types::ModifyDBClusterResult#db_cluster #db_cluster} => Types::DBCluster
7153
8139
  #
8140
+ #
8141
+ # @example Example: To change DB cluster settings
8142
+ #
8143
+ # # This example changes the specified settings for the specified DB cluster.
8144
+ #
8145
+ # resp = client.modify_db_cluster({
8146
+ # apply_immediately: true,
8147
+ # db_cluster_identifier: "mydbcluster",
8148
+ # master_user_password: "mynewpassword",
8149
+ # new_db_cluster_identifier: "mynewdbcluster",
8150
+ # preferred_backup_window: "04:00-04:30",
8151
+ # preferred_maintenance_window: "Tue:05:00-Tue:05:30",
8152
+ # })
8153
+ #
8154
+ # resp.to_h outputs the following:
8155
+ # {
8156
+ # db_cluster: {
8157
+ # },
8158
+ # }
8159
+ #
7154
8160
  # @example Request syntax with placeholder values
7155
8161
  #
7156
8162
  # resp = client.modify_db_cluster({
@@ -7268,6 +8274,26 @@ module Aws::RDS
7268
8274
  #
7269
8275
  # * {Types::DBClusterParameterGroupNameMessage#db_cluster_parameter_group_name #db_cluster_parameter_group_name} => String
7270
8276
  #
8277
+ #
8278
+ # @example Example: To change DB cluster parameter group settings
8279
+ #
8280
+ # # This example immediately changes the specified setting for the specified DB cluster parameter group.
8281
+ #
8282
+ # resp = client.modify_db_cluster_parameter_group({
8283
+ # db_cluster_parameter_group_name: "mydbclusterparametergroup",
8284
+ # parameters: [
8285
+ # {
8286
+ # apply_method: "immediate",
8287
+ # parameter_name: "time_zone",
8288
+ # parameter_value: "America/Phoenix",
8289
+ # },
8290
+ # ],
8291
+ # })
8292
+ #
8293
+ # resp.to_h outputs the following:
8294
+ # {
8295
+ # }
8296
+ #
7271
8297
  # @example Request syntax with placeholder values
7272
8298
  #
7273
8299
  # resp = client.modify_db_cluster_parameter_group({
@@ -7357,6 +8383,29 @@ module Aws::RDS
7357
8383
  #
7358
8384
  # * {Types::ModifyDBClusterSnapshotAttributeResult#db_cluster_snapshot_attributes_result #db_cluster_snapshot_attributes_result} => Types::DBClusterSnapshotAttributesResult
7359
8385
  #
8386
+ #
8387
+ # @example Example: To add or remove access to a manual DB cluster snapshot
8388
+ #
8389
+ # # The following example gives two AWS accounts access to a manual DB cluster snapshot and ensures that the DB cluster snapshot is private by removing the value "all".
8390
+ #
8391
+ # resp = client.modify_db_cluster_snapshot_attribute({
8392
+ # attribute_name: "restore",
8393
+ # db_cluster_snapshot_identifier: "manual-cluster-snapshot1",
8394
+ # values_to_add: [
8395
+ # "123451234512",
8396
+ # "123456789012",
8397
+ # ],
8398
+ # values_to_remove: [
8399
+ # "all",
8400
+ # ],
8401
+ # })
8402
+ #
8403
+ # resp.to_h outputs the following:
8404
+ # {
8405
+ # db_cluster_snapshot_attributes_result: {
8406
+ # },
8407
+ # }
8408
+ #
7360
8409
  # @example Request syntax with placeholder values
7361
8410
  #
7362
8411
  # resp = client.modify_db_cluster_snapshot_attribute({
@@ -7932,6 +8981,28 @@ module Aws::RDS
7932
8981
  #
7933
8982
  # * {Types::ModifyDBInstanceResult#db_instance #db_instance} => Types::DBInstance
7934
8983
  #
8984
+ #
8985
+ # @example Example: To change DB instance settings
8986
+ #
8987
+ # # This example immediately changes the specified settings for the specified DB instance.
8988
+ #
8989
+ # resp = client.modify_db_instance({
8990
+ # allocated_storage: 10,
8991
+ # apply_immediately: true,
8992
+ # backup_retention_period: 1,
8993
+ # db_instance_class: "db.t2.small",
8994
+ # db_instance_identifier: "mymysqlinstance",
8995
+ # master_user_password: "mynewpassword",
8996
+ # preferred_backup_window: "04:00-04:30",
8997
+ # preferred_maintenance_window: "Tue:05:00-Tue:05:30",
8998
+ # })
8999
+ #
9000
+ # resp.to_h outputs the following:
9001
+ # {
9002
+ # db_instance: {
9003
+ # },
9004
+ # }
9005
+ #
7935
9006
  # @example Request syntax with placeholder values
7936
9007
  #
7937
9008
  # resp = client.modify_db_instance({
@@ -8131,6 +9202,26 @@ module Aws::RDS
8131
9202
  #
8132
9203
  # * {Types::DBParameterGroupNameMessage#db_parameter_group_name #db_parameter_group_name} => String
8133
9204
  #
9205
+ #
9206
+ # @example Example: To change DB parameter group settings
9207
+ #
9208
+ # # This example immediately changes the specified setting for the specified DB parameter group.
9209
+ #
9210
+ # resp = client.modify_db_parameter_group({
9211
+ # db_parameter_group_name: "mymysqlparametergroup",
9212
+ # parameters: [
9213
+ # {
9214
+ # apply_method: "immediate",
9215
+ # parameter_name: "time_zone",
9216
+ # parameter_value: "America/Phoenix",
9217
+ # },
9218
+ # ],
9219
+ # })
9220
+ #
9221
+ # resp.to_h outputs the following:
9222
+ # {
9223
+ # }
9224
+ #
8134
9225
  # @example Request syntax with placeholder values
8135
9226
  #
8136
9227
  # resp = client.modify_db_parameter_group({
@@ -8279,6 +9370,25 @@ module Aws::RDS
8279
9370
  #
8280
9371
  # * {Types::ModifyDBSnapshotAttributeResult#db_snapshot_attributes_result #db_snapshot_attributes_result} => Types::DBSnapshotAttributesResult
8281
9372
  #
9373
+ #
9374
+ # @example Example: To change DB snapshot attributes
9375
+ #
9376
+ # # This example adds the specified attribute for the specified DB snapshot.
9377
+ #
9378
+ # resp = client.modify_db_snapshot_attribute({
9379
+ # attribute_name: "restore",
9380
+ # db_snapshot_identifier: "mydbsnapshot",
9381
+ # values_to_add: [
9382
+ # "all",
9383
+ # ],
9384
+ # })
9385
+ #
9386
+ # resp.to_h outputs the following:
9387
+ # {
9388
+ # db_snapshot_attributes_result: {
9389
+ # },
9390
+ # }
9391
+ #
8282
9392
  # @example Request syntax with placeholder values
8283
9393
  #
8284
9394
  # resp = client.modify_db_snapshot_attribute({
@@ -8327,6 +9437,25 @@ module Aws::RDS
8327
9437
  #
8328
9438
  # * {Types::ModifyDBSubnetGroupResult#db_subnet_group #db_subnet_group} => Types::DBSubnetGroup
8329
9439
  #
9440
+ #
9441
+ # @example Example: To change DB subnet group settings
9442
+ #
9443
+ # # This example changes the specified setting for the specified DB subnet group.
9444
+ #
9445
+ # resp = client.modify_db_subnet_group({
9446
+ # db_subnet_group_name: "mydbsubnetgroup",
9447
+ # subnet_ids: [
9448
+ # "subnet-70e1975a",
9449
+ # "subnet-747a5c49",
9450
+ # ],
9451
+ # })
9452
+ #
9453
+ # resp.to_h outputs the following:
9454
+ # {
9455
+ # db_subnet_group: {
9456
+ # },
9457
+ # }
9458
+ #
8330
9459
  # @example Request syntax with placeholder values
8331
9460
  #
8332
9461
  # resp = client.modify_db_subnet_group({
@@ -8404,6 +9533,27 @@ module Aws::RDS
8404
9533
  #
8405
9534
  # * {Types::ModifyEventSubscriptionResult#event_subscription #event_subscription} => Types::EventSubscription
8406
9535
  #
9536
+ #
9537
+ # @example Example: To change event notification subscription settings
9538
+ #
9539
+ # # This example changes the specified setting for the specified event notification subscription.
9540
+ #
9541
+ # resp = client.modify_event_subscription({
9542
+ # enabled: true,
9543
+ # event_categories: [
9544
+ # "deletion",
9545
+ # "low storage",
9546
+ # ],
9547
+ # source_type: "db-instance",
9548
+ # subscription_name: "mymysqleventsubscription",
9549
+ # })
9550
+ #
9551
+ # resp.to_h outputs the following:
9552
+ # {
9553
+ # event_subscription: {
9554
+ # },
9555
+ # }
9556
+ #
8407
9557
  # @example Request syntax with placeholder values
8408
9558
  #
8409
9559
  # resp = client.modify_event_subscription({
@@ -8465,6 +9615,30 @@ module Aws::RDS
8465
9615
  #
8466
9616
  # * {Types::ModifyOptionGroupResult#option_group #option_group} => Types::OptionGroup
8467
9617
  #
9618
+ #
9619
+ # @example Example: To modify an option group
9620
+ #
9621
+ # # The following example adds an option to an option group.
9622
+ #
9623
+ # resp = client.modify_option_group({
9624
+ # apply_immediately: true,
9625
+ # option_group_name: "myawsuser-og02",
9626
+ # options_to_include: [
9627
+ # {
9628
+ # db_security_group_memberships: [
9629
+ # "default",
9630
+ # ],
9631
+ # option_name: "MEMCACHED",
9632
+ # },
9633
+ # ],
9634
+ # })
9635
+ #
9636
+ # resp.to_h outputs the following:
9637
+ # {
9638
+ # option_group: {
9639
+ # },
9640
+ # }
9641
+ #
8468
9642
  # @example Request syntax with placeholder values
8469
9643
  #
8470
9644
  # resp = client.modify_option_group({
@@ -8602,6 +9776,23 @@ module Aws::RDS
8602
9776
  #
8603
9777
  # * {Types::PromoteReadReplicaResult#db_instance #db_instance} => Types::DBInstance
8604
9778
  #
9779
+ #
9780
+ # @example Example: To promote a read replica
9781
+ #
9782
+ # # This example promotes the specified read replica and sets its backup retention period and preferred backup window.
9783
+ #
9784
+ # resp = client.promote_read_replica({
9785
+ # backup_retention_period: 1,
9786
+ # db_instance_identifier: "mydbreadreplica",
9787
+ # preferred_backup_window: "03:30-04:00",
9788
+ # })
9789
+ #
9790
+ # resp.to_h outputs the following:
9791
+ # {
9792
+ # db_instance: {
9793
+ # },
9794
+ # }
9795
+ #
8605
9796
  # @example Request syntax with placeholder values
8606
9797
  #
8607
9798
  # resp = client.promote_read_replica({
@@ -8820,6 +10011,22 @@ module Aws::RDS
8820
10011
  #
8821
10012
  # * {Types::PurchaseReservedDBInstancesOfferingResult#reserved_db_instance #reserved_db_instance} => Types::ReservedDBInstance
8822
10013
  #
10014
+ #
10015
+ # @example Example: To purchase a reserved DB instance offering
10016
+ #
10017
+ # # This example purchases a reserved DB instance offering that matches the specified settings.
10018
+ #
10019
+ # resp = client.purchase_reserved_db_instances_offering({
10020
+ # reserved_db_instance_id: "myreservationid",
10021
+ # reserved_db_instances_offering_id: "fb29428a-646d-4390-850e-5fe89926e727",
10022
+ # })
10023
+ #
10024
+ # resp.to_h outputs the following:
10025
+ # {
10026
+ # reserved_db_instance: {
10027
+ # },
10028
+ # }
10029
+ #
8823
10030
  # @example Request syntax with placeholder values
8824
10031
  #
8825
10032
  # resp = client.purchase_reserved_db_instances_offering({
@@ -8905,6 +10112,22 @@ module Aws::RDS
8905
10112
  #
8906
10113
  # * {Types::RebootDBInstanceResult#db_instance #db_instance} => Types::DBInstance
8907
10114
  #
10115
+ #
10116
+ # @example Example: To reboot a DB instance
10117
+ #
10118
+ # # This example reboots the specified DB instance without forcing a failover.
10119
+ #
10120
+ # resp = client.reboot_db_instance({
10121
+ # db_instance_identifier: "mymysqlinstance",
10122
+ # force_failover: false,
10123
+ # })
10124
+ #
10125
+ # resp.to_h outputs the following:
10126
+ # {
10127
+ # db_instance: {
10128
+ # },
10129
+ # }
10130
+ #
8908
10131
  # @example Request syntax with placeholder values
8909
10132
  #
8910
10133
  # resp = client.reboot_db_instance({
@@ -9063,6 +10286,22 @@ module Aws::RDS
9063
10286
  #
9064
10287
  # * {Types::RemoveSourceIdentifierFromSubscriptionResult#event_subscription #event_subscription} => Types::EventSubscription
9065
10288
  #
10289
+ #
10290
+ # @example Example: To remove a source identifier from a DB event subscription
10291
+ #
10292
+ # # This example removes the specified source identifier from the specified DB event subscription.
10293
+ #
10294
+ # resp = client.remove_source_identifier_from_subscription({
10295
+ # source_identifier: "mymysqlinstance",
10296
+ # subscription_name: "myeventsubscription",
10297
+ # })
10298
+ #
10299
+ # resp.to_h outputs the following:
10300
+ # {
10301
+ # event_subscription: {
10302
+ # },
10303
+ # }
10304
+ #
9066
10305
  # @example Request syntax with placeholder values
9067
10306
  #
9068
10307
  # resp = client.remove_source_identifier_from_subscription({
@@ -9117,6 +10356,18 @@ module Aws::RDS
9117
10356
  #
9118
10357
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
9119
10358
  #
10359
+ #
10360
+ # @example Example: To remove tags from a resource
10361
+ #
10362
+ # # This example removes the specified tag associated with the specified DB option group.
10363
+ #
10364
+ # resp = client.remove_tags_from_resource({
10365
+ # resource_name: "arn:aws:rds:us-east-1:992648334831:og:mydboptiongroup",
10366
+ # tag_keys: [
10367
+ # "MyKey",
10368
+ # ],
10369
+ # })
10370
+ #
9120
10371
  # @example Request syntax with placeholder values
9121
10372
  #
9122
10373
  # resp = client.remove_tags_from_resource({
@@ -9170,6 +10421,20 @@ module Aws::RDS
9170
10421
  #
9171
10422
  # * {Types::DBClusterParameterGroupNameMessage#db_cluster_parameter_group_name #db_cluster_parameter_group_name} => String
9172
10423
  #
10424
+ #
10425
+ # @example Example: To reset the values of a DB cluster parameter group
10426
+ #
10427
+ # # This example resets all parameters for the specified DB cluster parameter group to their default values.
10428
+ #
10429
+ # resp = client.reset_db_cluster_parameter_group({
10430
+ # db_cluster_parameter_group_name: "mydbclusterparametergroup",
10431
+ # reset_all_parameters: true,
10432
+ # })
10433
+ #
10434
+ # resp.to_h outputs the following:
10435
+ # {
10436
+ # }
10437
+ #
9173
10438
  # @example Request syntax with placeholder values
9174
10439
  #
9175
10440
  # resp = client.reset_db_cluster_parameter_group({
@@ -9261,6 +10526,20 @@ module Aws::RDS
9261
10526
  #
9262
10527
  # * {Types::DBParameterGroupNameMessage#db_parameter_group_name #db_parameter_group_name} => String
9263
10528
  #
10529
+ #
10530
+ # @example Example: To reset the values of a DB parameter group
10531
+ #
10532
+ # # This example resets all parameters for the specified DB parameter group to their default values.
10533
+ #
10534
+ # resp = client.reset_db_parameter_group({
10535
+ # db_parameter_group_name: "mydbparametergroup",
10536
+ # reset_all_parameters: true,
10537
+ # })
10538
+ #
10539
+ # resp.to_h outputs the following:
10540
+ # {
10541
+ # }
10542
+ #
9264
10543
  # @example Request syntax with placeholder values
9265
10544
  #
9266
10545
  # resp = client.reset_db_parameter_group({
@@ -9716,6 +10995,23 @@ module Aws::RDS
9716
10995
  #
9717
10996
  # * {Types::RestoreDBClusterFromSnapshotResult#db_cluster #db_cluster} => Types::DBCluster
9718
10997
  #
10998
+ #
10999
+ # @example Example: To restore an Amazon Aurora DB cluster from a DB cluster snapshot
11000
+ #
11001
+ # # The following example restores an Amazon Aurora DB cluster from a DB cluster snapshot.
11002
+ #
11003
+ # resp = client.restore_db_cluster_from_snapshot({
11004
+ # db_cluster_identifier: "restored-cluster1",
11005
+ # engine: "aurora",
11006
+ # snapshot_identifier: "sample-cluster-snapshot1",
11007
+ # })
11008
+ #
11009
+ # resp.to_h outputs the following:
11010
+ # {
11011
+ # db_cluster: {
11012
+ # },
11013
+ # }
11014
+ #
9719
11015
  # @example Request syntax with placeholder values
9720
11016
  #
9721
11017
  # resp = client.restore_db_cluster_from_snapshot({
@@ -9943,6 +11239,23 @@ module Aws::RDS
9943
11239
  #
9944
11240
  # * {Types::RestoreDBClusterToPointInTimeResult#db_cluster #db_cluster} => Types::DBCluster
9945
11241
  #
11242
+ #
11243
+ # @example Example: To restore a DB cluster to a point in time.
11244
+ #
11245
+ # # The following example restores a DB cluster to a new DB cluster at a point in time from the source DB cluster.
11246
+ #
11247
+ # resp = client.restore_db_cluster_to_point_in_time({
11248
+ # db_cluster_identifier: "sample-restored-cluster1",
11249
+ # restore_to_time: Time.parse("2016-09-13T18:45:00Z"),
11250
+ # source_db_cluster_identifier: "sample-cluster1",
11251
+ # })
11252
+ #
11253
+ # resp.to_h outputs the following:
11254
+ # {
11255
+ # db_cluster: {
11256
+ # },
11257
+ # }
11258
+ #
9946
11259
  # @example Request syntax with placeholder values
9947
11260
  #
9948
11261
  # resp = client.restore_db_cluster_to_point_in_time({
@@ -10247,6 +11560,101 @@ module Aws::RDS
10247
11560
  #
10248
11561
  # * {Types::RestoreDBInstanceFromDBSnapshotResult#db_instance #db_instance} => Types::DBInstance
10249
11562
  #
11563
+ #
11564
+ # @example Example: To restore a DB instance from a DB snapshot.
11565
+ #
11566
+ # # The following example restores a DB instance from a DB snapshot.
11567
+ #
11568
+ # resp = client.restore_db_instance_from_db_snapshot({
11569
+ # db_instance_identifier: "mysqldb-restored",
11570
+ # db_snapshot_identifier: "rds:mysqldb-2014-04-22-08-15",
11571
+ # })
11572
+ #
11573
+ # resp.to_h outputs the following:
11574
+ # {
11575
+ # db_instance: {
11576
+ # allocated_storage: 200,
11577
+ # auto_minor_version_upgrade: true,
11578
+ # availability_zone: "us-west-2b",
11579
+ # backup_retention_period: 7,
11580
+ # ca_certificate_identifier: "rds-ca-2015",
11581
+ # copy_tags_to_snapshot: false,
11582
+ # db_instance_arn: "arn:aws:rds:us-west-2:123456789012:db:mysqldb-restored",
11583
+ # db_instance_class: "db.t2.small",
11584
+ # db_instance_identifier: "mysqldb-restored",
11585
+ # db_instance_status: "available",
11586
+ # db_name: "sample",
11587
+ # db_parameter_groups: [
11588
+ # {
11589
+ # db_parameter_group_name: "default.mysql5.6",
11590
+ # parameter_apply_status: "in-sync",
11591
+ # },
11592
+ # ],
11593
+ # db_security_groups: [
11594
+ # ],
11595
+ # db_subnet_group: {
11596
+ # db_subnet_group_description: "default",
11597
+ # db_subnet_group_name: "default",
11598
+ # subnet_group_status: "Complete",
11599
+ # subnets: [
11600
+ # {
11601
+ # subnet_availability_zone: {
11602
+ # name: "us-west-2a",
11603
+ # },
11604
+ # subnet_identifier: "subnet-77e8db03",
11605
+ # subnet_status: "Active",
11606
+ # },
11607
+ # {
11608
+ # subnet_availability_zone: {
11609
+ # name: "us-west-2b",
11610
+ # },
11611
+ # subnet_identifier: "subnet-c39989a1",
11612
+ # subnet_status: "Active",
11613
+ # },
11614
+ # {
11615
+ # subnet_availability_zone: {
11616
+ # name: "us-west-2c",
11617
+ # },
11618
+ # subnet_identifier: "subnet-4b267b0d",
11619
+ # subnet_status: "Active",
11620
+ # },
11621
+ # ],
11622
+ # vpc_id: "vpc-c1c5b3a3",
11623
+ # },
11624
+ # db_instance_port: 0,
11625
+ # dbi_resource_id: "db-VNZUCCBTEDC4WR7THXNJO72HVQ",
11626
+ # domain_memberships: [
11627
+ # ],
11628
+ # engine: "mysql",
11629
+ # engine_version: "5.6.27",
11630
+ # license_model: "general-public-license",
11631
+ # master_username: "mymasteruser",
11632
+ # monitoring_interval: 0,
11633
+ # multi_az: false,
11634
+ # option_group_memberships: [
11635
+ # {
11636
+ # option_group_name: "default:mysql-5-6",
11637
+ # status: "in-sync",
11638
+ # },
11639
+ # ],
11640
+ # pending_modified_values: {
11641
+ # },
11642
+ # preferred_backup_window: "12:58-13:28",
11643
+ # preferred_maintenance_window: "tue:10:16-tue:10:46",
11644
+ # publicly_accessible: true,
11645
+ # read_replica_db_instance_identifiers: [
11646
+ # ],
11647
+ # storage_encrypted: false,
11648
+ # storage_type: "gp2",
11649
+ # vpc_security_groups: [
11650
+ # {
11651
+ # status: "active",
11652
+ # vpc_security_group_id: "sg-e5e5b0d2",
11653
+ # },
11654
+ # ],
11655
+ # },
11656
+ # }
11657
+ #
10250
11658
  # @example Request syntax with placeholder values
10251
11659
  #
10252
11660
  # resp = client.restore_db_instance_from_db_snapshot({
@@ -10607,6 +12015,102 @@ module Aws::RDS
10607
12015
  #
10608
12016
  # * {Types::RestoreDBInstanceToPointInTimeResult#db_instance #db_instance} => Types::DBInstance
10609
12017
  #
12018
+ #
12019
+ # @example Example: To restore a DB instance to a point in time.
12020
+ #
12021
+ # # The following example restores a DB instance to a new DB instance at a point in time from the source DB instance.
12022
+ #
12023
+ # resp = client.restore_db_instance_to_point_in_time({
12024
+ # restore_time: Time.parse("2016-09-13T18:45:00Z"),
12025
+ # source_db_instance_identifier: "mysql-sample",
12026
+ # target_db_instance_identifier: "mysql-sample-restored",
12027
+ # })
12028
+ #
12029
+ # resp.to_h outputs the following:
12030
+ # {
12031
+ # db_instance: {
12032
+ # allocated_storage: 200,
12033
+ # auto_minor_version_upgrade: true,
12034
+ # availability_zone: "us-west-2b",
12035
+ # backup_retention_period: 7,
12036
+ # ca_certificate_identifier: "rds-ca-2015",
12037
+ # copy_tags_to_snapshot: false,
12038
+ # db_instance_arn: "arn:aws:rds:us-west-2:123456789012:db:mysql-sample-restored",
12039
+ # db_instance_class: "db.t2.small",
12040
+ # db_instance_identifier: "mysql-sample-restored",
12041
+ # db_instance_status: "available",
12042
+ # db_name: "sample",
12043
+ # db_parameter_groups: [
12044
+ # {
12045
+ # db_parameter_group_name: "default.mysql5.6",
12046
+ # parameter_apply_status: "in-sync",
12047
+ # },
12048
+ # ],
12049
+ # db_security_groups: [
12050
+ # ],
12051
+ # db_subnet_group: {
12052
+ # db_subnet_group_description: "default",
12053
+ # db_subnet_group_name: "default",
12054
+ # subnet_group_status: "Complete",
12055
+ # subnets: [
12056
+ # {
12057
+ # subnet_availability_zone: {
12058
+ # name: "us-west-2a",
12059
+ # },
12060
+ # subnet_identifier: "subnet-77e8db03",
12061
+ # subnet_status: "Active",
12062
+ # },
12063
+ # {
12064
+ # subnet_availability_zone: {
12065
+ # name: "us-west-2b",
12066
+ # },
12067
+ # subnet_identifier: "subnet-c39989a1",
12068
+ # subnet_status: "Active",
12069
+ # },
12070
+ # {
12071
+ # subnet_availability_zone: {
12072
+ # name: "us-west-2c",
12073
+ # },
12074
+ # subnet_identifier: "subnet-4b267b0d",
12075
+ # subnet_status: "Active",
12076
+ # },
12077
+ # ],
12078
+ # vpc_id: "vpc-c1c5b3a3",
12079
+ # },
12080
+ # db_instance_port: 0,
12081
+ # dbi_resource_id: "db-VNZUCCBTEDC4WR7THXNJO72HVQ",
12082
+ # domain_memberships: [
12083
+ # ],
12084
+ # engine: "mysql",
12085
+ # engine_version: "5.6.27",
12086
+ # license_model: "general-public-license",
12087
+ # master_username: "mymasteruser",
12088
+ # monitoring_interval: 0,
12089
+ # multi_az: false,
12090
+ # option_group_memberships: [
12091
+ # {
12092
+ # option_group_name: "default:mysql-5-6",
12093
+ # status: "in-sync",
12094
+ # },
12095
+ # ],
12096
+ # pending_modified_values: {
12097
+ # },
12098
+ # preferred_backup_window: "12:58-13:28",
12099
+ # preferred_maintenance_window: "tue:10:16-tue:10:46",
12100
+ # publicly_accessible: true,
12101
+ # read_replica_db_instance_identifiers: [
12102
+ # ],
12103
+ # storage_encrypted: false,
12104
+ # storage_type: "gp2",
12105
+ # vpc_security_groups: [
12106
+ # {
12107
+ # status: "active",
12108
+ # vpc_security_group_id: "sg-e5e5b0d2",
12109
+ # },
12110
+ # ],
12111
+ # },
12112
+ # }
12113
+ #
10610
12114
  # @example Request syntax with placeholder values
10611
12115
  #
10612
12116
  # resp = client.restore_db_instance_to_point_in_time({
@@ -10780,6 +12284,22 @@ module Aws::RDS
10780
12284
  #
10781
12285
  # * {Types::RevokeDBSecurityGroupIngressResult#db_security_group #db_security_group} => Types::DBSecurityGroup
10782
12286
  #
12287
+ #
12288
+ # @example Example: To revoke ingress for a DB security group
12289
+ #
12290
+ # # This example revokes ingress for the specified CIDR block associated with the specified DB security group.
12291
+ #
12292
+ # resp = client.revoke_db_security_group_ingress({
12293
+ # cidrip: "203.0.113.5/32",
12294
+ # db_security_group_name: "mydbsecuritygroup",
12295
+ # })
12296
+ #
12297
+ # resp.to_h outputs the following:
12298
+ # {
12299
+ # db_security_group: {
12300
+ # },
12301
+ # }
12302
+ #
10783
12303
  # @example Request syntax with placeholder values
10784
12304
  #
10785
12305
  # resp = client.revoke_db_security_group_ingress({
@@ -11073,7 +12593,7 @@ module Aws::RDS
11073
12593
  params: params,
11074
12594
  config: config)
11075
12595
  context[:gem_name] = 'aws-sdk-rds'
11076
- context[:gem_version] = '1.0.0.rc10'
12596
+ context[:gem_version] = '1.0.0.rc11'
11077
12597
  Seahorse::Client::Request.new(handlers, context)
11078
12598
  end
11079
12599