aws-sdk-rds 1.128.0 → 1.132.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/client.rb +2812 -633
- data/lib/aws-sdk-rds/client_api.rb +158 -0
- data/lib/aws-sdk-rds/db_cluster.rb +757 -99
- data/lib/aws-sdk-rds/db_cluster_parameter_group.rb +12 -0
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +186 -38
- data/lib/aws-sdk-rds/db_engine.rb +8 -0
- data/lib/aws-sdk-rds/db_engine_version.rb +66 -4
- data/lib/aws-sdk-rds/db_instance.rb +622 -252
- data/lib/aws-sdk-rds/db_snapshot.rb +111 -41
- data/lib/aws-sdk-rds/errors.rb +44 -0
- data/lib/aws-sdk-rds/plugins/cross_region_copying.rb +5 -1
- data/lib/aws-sdk-rds/resource.rb +542 -160
- data/lib/aws-sdk-rds/types.rb +2805 -614
- data/lib/aws-sdk-rds.rb +1 -1
- metadata +4 -4
@@ -217,6 +217,14 @@ module Aws::RDS
|
|
217
217
|
#
|
218
218
|
# Example: `aurora-postgresql9.6`
|
219
219
|
#
|
220
|
+
# **RDS for MySQL**
|
221
|
+
#
|
222
|
+
# Example: `mysql8.0`
|
223
|
+
#
|
224
|
+
# **RDS for PostgreSQL**
|
225
|
+
#
|
226
|
+
# Example: `postgres12`
|
227
|
+
#
|
220
228
|
# To list all of the available parameter group families for a DB engine,
|
221
229
|
# use the following command:
|
222
230
|
#
|
@@ -241,6 +249,10 @@ module Aws::RDS
|
|
241
249
|
# * `aurora-mysql` (for MySQL 5.7-compatible Aurora)
|
242
250
|
#
|
243
251
|
# * `aurora-postgresql`
|
252
|
+
#
|
253
|
+
# * `mysql`
|
254
|
+
#
|
255
|
+
# * `postgres`
|
244
256
|
# @option options [required, String] :description
|
245
257
|
# The description for the DB cluster parameter group.
|
246
258
|
# @option options [Array<Types::Tag>] :tags
|
@@ -146,8 +146,7 @@ module Aws::RDS
|
|
146
146
|
# identifier for the encrypted DB cluster snapshot.
|
147
147
|
#
|
148
148
|
# The Amazon Web Services KMS key identifier is the key ARN, key ID,
|
149
|
-
# alias ARN, or alias name for the
|
150
|
-
# master key (CMK).
|
149
|
+
# alias ARN, or alias name for the KMS key.
|
151
150
|
# @return [String]
|
152
151
|
def kms_key_id
|
153
152
|
data[:kms_key_id]
|
@@ -379,15 +378,13 @@ module Aws::RDS
|
|
379
378
|
# @option options [String] :kms_key_id
|
380
379
|
# The Amazon Web Services KMS key identifier for an encrypted DB cluster
|
381
380
|
# snapshot. The Amazon Web Services KMS key identifier is the key ARN,
|
382
|
-
# key ID, alias ARN, or alias name for the Amazon Web Services KMS
|
383
|
-
# customer master key (CMK).
|
381
|
+
# key ID, alias ARN, or alias name for the Amazon Web Services KMS key.
|
384
382
|
#
|
385
383
|
# If you copy an encrypted DB cluster snapshot from your Amazon Web
|
386
384
|
# Services account, you can specify a value for `KmsKeyId` to encrypt
|
387
|
-
# the copy with a new
|
388
|
-
#
|
389
|
-
#
|
390
|
-
# cluster snapshot.
|
385
|
+
# the copy with a new KMS key. If you don't specify a value for
|
386
|
+
# `KmsKeyId`, then the copy of the DB cluster snapshot is encrypted with
|
387
|
+
# the same KMS key as the source DB cluster snapshot.
|
391
388
|
#
|
392
389
|
# If you copy an encrypted DB cluster snapshot that is shared from
|
393
390
|
# another Amazon Web Services account, then you must specify a value for
|
@@ -396,10 +393,10 @@ module Aws::RDS
|
|
396
393
|
# To copy an encrypted DB cluster snapshot to another Amazon Web
|
397
394
|
# Services Region, you must set `KmsKeyId` to the Amazon Web Services
|
398
395
|
# KMS key identifier you want to use to encrypt the copy of the DB
|
399
|
-
# cluster snapshot in the destination Amazon Web Services Region.
|
400
|
-
#
|
401
|
-
#
|
402
|
-
#
|
396
|
+
# cluster snapshot in the destination Amazon Web Services Region. KMS
|
397
|
+
# keys are specific to the Amazon Web Services Region that they are
|
398
|
+
# created in, and you can't use KMS keys from one Amazon Web Services
|
399
|
+
# Region in another Amazon Web Services Region.
|
403
400
|
#
|
404
401
|
# If you copy an unencrypted DB cluster snapshot and specify a value for
|
405
402
|
# the `KmsKeyId` parameter, an error is returned.
|
@@ -418,12 +415,12 @@ module Aws::RDS
|
|
418
415
|
# snapshot to be copied. The pre-signed URL request must contain the
|
419
416
|
# following parameter values:
|
420
417
|
#
|
421
|
-
# * `KmsKeyId` - The Amazon Web Services KMS key identifier for the
|
422
|
-
#
|
423
|
-
#
|
424
|
-
#
|
425
|
-
#
|
426
|
-
# the
|
418
|
+
# * `KmsKeyId` - The Amazon Web Services KMS key identifier for the KMS
|
419
|
+
# key to use to encrypt the copy of the DB cluster snapshot in the
|
420
|
+
# destination Amazon Web Services Region. This is the same identifier
|
421
|
+
# for both the `CopyDBClusterSnapshot` action that is called in the
|
422
|
+
# destination Amazon Web Services Region, and the action contained in
|
423
|
+
# the pre-signed URL.
|
427
424
|
#
|
428
425
|
# * `DestinationRegion` - The name of the Amazon Web Services Region
|
429
426
|
# that the DB cluster snapshot is to be created in.
|
@@ -533,11 +530,17 @@ module Aws::RDS
|
|
533
530
|
# copy_tags_to_snapshot: false,
|
534
531
|
# domain: "String",
|
535
532
|
# domain_iam_role_name: "String",
|
533
|
+
# db_cluster_instance_class: "String",
|
534
|
+
# storage_type: "String",
|
535
|
+
# iops: 1,
|
536
|
+
# publicly_accessible: false,
|
536
537
|
# })
|
537
538
|
# @param [Hash] options ({})
|
538
539
|
# @option options [Array<String>] :availability_zones
|
539
540
|
# Provides the list of Availability Zones (AZs) where instances in the
|
540
541
|
# restored DB cluster can be created.
|
542
|
+
#
|
543
|
+
# Valid for: Aurora DB clusters only
|
541
544
|
# @option options [required, String] :db_cluster_identifier
|
542
545
|
# The name of the DB cluster to create from the DB snapshot or DB
|
543
546
|
# cluster snapshot. This parameter isn't case-sensitive.
|
@@ -551,52 +554,84 @@ module Aws::RDS
|
|
551
554
|
# * Can't end with a hyphen or contain two consecutive hyphens
|
552
555
|
#
|
553
556
|
# Example: `my-snapshot-id`
|
557
|
+
#
|
558
|
+
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
554
559
|
# @option options [required, String] :engine
|
555
560
|
# The database engine to use for the new DB cluster.
|
556
561
|
#
|
557
562
|
# Default: The same as source
|
558
563
|
#
|
559
564
|
# Constraint: Must be compatible with the engine of the source
|
565
|
+
#
|
566
|
+
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
560
567
|
# @option options [String] :engine_version
|
561
568
|
# The version of the database engine to use for the new DB cluster.
|
562
569
|
#
|
563
|
-
# To list all of the available engine versions for
|
564
|
-
#
|
570
|
+
# To list all of the available engine versions for MySQL 5.6-compatible
|
571
|
+
# Aurora, use the following command:
|
565
572
|
#
|
566
573
|
# `aws rds describe-db-engine-versions --engine aurora --query
|
567
574
|
# "DBEngineVersions[].EngineVersion"`
|
568
575
|
#
|
569
|
-
# To list all of the available engine versions for
|
570
|
-
#
|
576
|
+
# To list all of the available engine versions for MySQL 5.7-compatible
|
577
|
+
# Aurora, use the following command:
|
571
578
|
#
|
572
579
|
# `aws rds describe-db-engine-versions --engine aurora-mysql --query
|
573
580
|
# "DBEngineVersions[].EngineVersion"`
|
574
581
|
#
|
575
|
-
# To list all of the available engine versions for
|
582
|
+
# To list all of the available engine versions for Aurora PostgreSQL,
|
576
583
|
# use the following command:
|
577
584
|
#
|
578
585
|
# `aws rds describe-db-engine-versions --engine aurora-postgresql
|
579
586
|
# --query "DBEngineVersions[].EngineVersion"`
|
580
587
|
#
|
581
|
-
#
|
582
|
-
# the
|
588
|
+
# To list all of the available engine versions for RDS for MySQL, use
|
589
|
+
# the following command:
|
583
590
|
#
|
584
|
-
#
|
591
|
+
# `aws rds describe-db-engine-versions --engine mysql --query
|
592
|
+
# "DBEngineVersions[].EngineVersion"`
|
593
|
+
#
|
594
|
+
# To list all of the available engine versions for RDS for PostgreSQL,
|
595
|
+
# use the following command:
|
596
|
+
#
|
597
|
+
# `aws rds describe-db-engine-versions --engine postgres --query
|
598
|
+
# "DBEngineVersions[].EngineVersion"`
|
585
599
|
#
|
586
600
|
# **Aurora MySQL**
|
587
601
|
#
|
588
|
-
#
|
589
|
-
#
|
602
|
+
# See [MySQL on Amazon RDS Versions][1] in the *Amazon Aurora User
|
603
|
+
# Guide.*
|
590
604
|
#
|
591
605
|
# **Aurora PostgreSQL**
|
592
606
|
#
|
593
|
-
#
|
607
|
+
# See [Amazon Aurora PostgreSQL releases and engine versions][2] in the
|
608
|
+
# *Amazon Aurora User Guide.*
|
609
|
+
#
|
610
|
+
# **MySQL**
|
611
|
+
#
|
612
|
+
# See [MySQL on Amazon RDS Versions][3] in the *Amazon RDS User Guide.*
|
613
|
+
#
|
614
|
+
# **PostgreSQL**
|
615
|
+
#
|
616
|
+
# See [Amazon RDS for PostgreSQL versions and extensions][4] in the
|
617
|
+
# *Amazon RDS User Guide.*
|
618
|
+
#
|
619
|
+
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
620
|
+
#
|
621
|
+
#
|
622
|
+
#
|
623
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Updates.html
|
624
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Updates.20180305.html
|
625
|
+
# [3]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt
|
626
|
+
# [4]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts
|
594
627
|
# @option options [Integer] :port
|
595
628
|
# The port number on which the new DB cluster accepts connections.
|
596
629
|
#
|
597
630
|
# Constraints: This value must be `1150-65535`
|
598
631
|
#
|
599
632
|
# Default: The same port as the original DB cluster.
|
633
|
+
#
|
634
|
+
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
600
635
|
# @option options [String] :db_subnet_group_name
|
601
636
|
# The name of the DB subnet group to use for the new DB cluster.
|
602
637
|
#
|
@@ -604,41 +639,55 @@ module Aws::RDS
|
|
604
639
|
# group.
|
605
640
|
#
|
606
641
|
# Example: `mySubnetgroup`
|
642
|
+
#
|
643
|
+
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
607
644
|
# @option options [String] :database_name
|
608
645
|
# The database name for the restored DB cluster.
|
646
|
+
#
|
647
|
+
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
609
648
|
# @option options [String] :option_group_name
|
610
649
|
# The name of the option group to use for the restored DB cluster.
|
650
|
+
#
|
651
|
+
# DB clusters are associated with a default option group that can't be
|
652
|
+
# modified.
|
611
653
|
# @option options [Array<String>] :vpc_security_group_ids
|
612
654
|
# A list of VPC security groups that the new DB cluster will belong to.
|
655
|
+
#
|
656
|
+
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
613
657
|
# @option options [Array<Types::Tag>] :tags
|
614
658
|
# The tags to be assigned to the restored DB cluster.
|
659
|
+
#
|
660
|
+
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
615
661
|
# @option options [String] :kms_key_id
|
616
662
|
# The Amazon Web Services KMS key identifier to use when restoring an
|
617
663
|
# encrypted DB cluster from a DB snapshot or DB cluster snapshot.
|
618
664
|
#
|
619
665
|
# The Amazon Web Services KMS key identifier is the key ARN, key ID,
|
620
|
-
# alias ARN, or alias name for the
|
621
|
-
#
|
622
|
-
#
|
666
|
+
# alias ARN, or alias name for the KMS key. To use a KMS key in a
|
667
|
+
# different Amazon Web Services account, specify the key ARN or alias
|
668
|
+
# ARN.
|
623
669
|
#
|
624
670
|
# When you don't specify a value for the `KmsKeyId` parameter, then the
|
625
671
|
# following occurs:
|
626
672
|
#
|
627
673
|
# * If the DB snapshot or DB cluster snapshot in `SnapshotIdentifier` is
|
628
|
-
# encrypted, then the restored DB cluster is encrypted using the
|
629
|
-
#
|
630
|
-
# or DB cluster snapshot.
|
674
|
+
# encrypted, then the restored DB cluster is encrypted using the KMS
|
675
|
+
# key that was used to encrypt the DB snapshot or DB cluster snapshot.
|
631
676
|
#
|
632
677
|
# * If the DB snapshot or DB cluster snapshot in `SnapshotIdentifier`
|
633
678
|
# isn't encrypted, then the restored DB cluster isn't encrypted.
|
679
|
+
#
|
680
|
+
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
634
681
|
# @option options [Boolean] :enable_iam_database_authentication
|
635
682
|
# A value that indicates whether to enable mapping of Amazon Web
|
636
683
|
# Services Identity and Access Management (IAM) accounts to database
|
637
|
-
# accounts. By default, mapping
|
684
|
+
# accounts. By default, mapping isn't enabled.
|
638
685
|
#
|
639
686
|
# For more information, see [ IAM Database Authentication][1] in the
|
640
687
|
# *Amazon Aurora User Guide.*
|
641
688
|
#
|
689
|
+
# Valid for: Aurora DB clusters only
|
690
|
+
#
|
642
691
|
#
|
643
692
|
#
|
644
693
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html
|
@@ -658,12 +707,18 @@ module Aws::RDS
|
|
658
707
|
# (72 hours).
|
659
708
|
#
|
660
709
|
# ^
|
710
|
+
#
|
711
|
+
# Valid for: Aurora DB clusters only
|
661
712
|
# @option options [Array<String>] :enable_cloudwatch_logs_exports
|
662
713
|
# The list of logs that the restored DB cluster is to export to Amazon
|
663
714
|
# CloudWatch Logs. The values in the list depend on the DB engine being
|
664
|
-
# used.
|
715
|
+
# used.
|
716
|
+
#
|
717
|
+
# For more information, see [Publishing Database Logs to Amazon
|
665
718
|
# CloudWatch Logs ][1] in the *Amazon Aurora User Guide*.
|
666
719
|
#
|
720
|
+
# Valid for: Aurora DB clusters only
|
721
|
+
#
|
667
722
|
#
|
668
723
|
#
|
669
724
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch
|
@@ -673,12 +728,16 @@ module Aws::RDS
|
|
673
728
|
#
|
674
729
|
# For more information, see [ CreateDBCluster][1].
|
675
730
|
#
|
731
|
+
# Valid for: Aurora DB clusters only
|
732
|
+
#
|
676
733
|
#
|
677
734
|
#
|
678
735
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBCluster.html
|
679
736
|
# @option options [Types::ScalingConfiguration] :scaling_configuration
|
680
737
|
# For DB clusters in `serverless` DB engine mode, the scaling properties
|
681
738
|
# of the DB cluster.
|
739
|
+
#
|
740
|
+
# Valid for: Aurora DB clusters only
|
682
741
|
# @option options [String] :db_cluster_parameter_group_name
|
683
742
|
# The name of the DB cluster parameter group to associate with this DB
|
684
743
|
# cluster. If this argument is omitted, the default DB cluster parameter
|
@@ -694,14 +753,20 @@ module Aws::RDS
|
|
694
753
|
# * First character must be a letter.
|
695
754
|
#
|
696
755
|
# * Can't end with a hyphen or contain two consecutive hyphens.
|
756
|
+
#
|
757
|
+
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
697
758
|
# @option options [Boolean] :deletion_protection
|
698
759
|
# A value that indicates whether the DB cluster has deletion protection
|
699
760
|
# enabled. The database can't be deleted when deletion protection is
|
700
|
-
# enabled. By default, deletion protection
|
761
|
+
# enabled. By default, deletion protection isn't enabled.
|
762
|
+
#
|
763
|
+
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
701
764
|
# @option options [Boolean] :copy_tags_to_snapshot
|
702
765
|
# A value that indicates whether to copy all tags from the restored DB
|
703
766
|
# cluster to snapshots of the restored DB cluster. The default is not to
|
704
767
|
# copy them.
|
768
|
+
#
|
769
|
+
# Valid for: Aurora DB clusters only
|
705
770
|
# @option options [String] :domain
|
706
771
|
# Specify the Active Directory directory ID to restore the DB cluster
|
707
772
|
# in. The domain must be created prior to this operation. Currently,
|
@@ -711,12 +776,95 @@ module Aws::RDS
|
|
711
776
|
# For more information, see [ Kerberos Authentication][1] in the *Amazon
|
712
777
|
# RDS User Guide*.
|
713
778
|
#
|
779
|
+
# Valid for: Aurora DB clusters only
|
780
|
+
#
|
714
781
|
#
|
715
782
|
#
|
716
783
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html
|
717
784
|
# @option options [String] :domain_iam_role_name
|
718
785
|
# Specify the name of the IAM role to be used when making API calls to
|
719
786
|
# the Directory Service.
|
787
|
+
#
|
788
|
+
# Valid for: Aurora DB clusters only
|
789
|
+
# @option options [String] :db_cluster_instance_class
|
790
|
+
# The compute and memory capacity of the each DB instance in the
|
791
|
+
# Multi-AZ DB cluster, for example db.m6g.xlarge. Not all DB instance
|
792
|
+
# classes are available in all Amazon Web Services Regions, or for all
|
793
|
+
# database engines.
|
794
|
+
#
|
795
|
+
# For the full list of DB instance classes, and availability for your
|
796
|
+
# engine, see [DB Instance Class][1] in the *Amazon RDS User Guide.*
|
797
|
+
#
|
798
|
+
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
799
|
+
#
|
800
|
+
#
|
801
|
+
#
|
802
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html
|
803
|
+
# @option options [String] :storage_type
|
804
|
+
# Specifies the storage type to be associated with the each DB instance
|
805
|
+
# in the Multi-AZ DB cluster.
|
806
|
+
#
|
807
|
+
# Valid values: `standard | gp2 | io1`
|
808
|
+
#
|
809
|
+
# If you specify `io1`, you must also include a value for the `Iops`
|
810
|
+
# parameter.
|
811
|
+
#
|
812
|
+
# Default: `io1` if the `Iops` parameter is specified, otherwise `gp2`
|
813
|
+
#
|
814
|
+
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
815
|
+
# @option options [Integer] :iops
|
816
|
+
# The amount of Provisioned IOPS (input/output operations per second) to
|
817
|
+
# be initially allocated for each DB instance in the Multi-AZ DB
|
818
|
+
# cluster.
|
819
|
+
#
|
820
|
+
# For information about valid Iops values, see [Amazon RDS Provisioned
|
821
|
+
# IOPS Storage to Improve Performance][1] in the *Amazon RDS User
|
822
|
+
# Guide*.
|
823
|
+
#
|
824
|
+
# Constraints: Must be a multiple between .5 and 50 of the storage
|
825
|
+
# amount for the DB instance.
|
826
|
+
#
|
827
|
+
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
828
|
+
#
|
829
|
+
#
|
830
|
+
#
|
831
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS
|
832
|
+
# @option options [Boolean] :publicly_accessible
|
833
|
+
# A value that indicates whether the DB cluster is publicly accessible.
|
834
|
+
#
|
835
|
+
# When the DB cluster is publicly accessible, its Domain Name System
|
836
|
+
# (DNS) endpoint resolves to the private IP address from within the DB
|
837
|
+
# cluster's virtual private cloud (VPC). It resolves to the public IP
|
838
|
+
# address from outside of the DB cluster's VPC. Access to the DB
|
839
|
+
# cluster is ultimately controlled by the security group it uses. That
|
840
|
+
# public access is not permitted if the security group assigned to the
|
841
|
+
# DB cluster doesn't permit it.
|
842
|
+
#
|
843
|
+
# When the DB cluster isn't publicly accessible, it is an internal DB
|
844
|
+
# cluster with a DNS name that resolves to a private IP address.
|
845
|
+
#
|
846
|
+
# Default: The default behavior varies depending on whether
|
847
|
+
# `DBSubnetGroupName` is specified.
|
848
|
+
#
|
849
|
+
# If `DBSubnetGroupName` isn't specified, and `PubliclyAccessible`
|
850
|
+
# isn't specified, the following applies:
|
851
|
+
#
|
852
|
+
# * If the default VPC in the target Region doesn’t have an internet
|
853
|
+
# gateway attached to it, the DB cluster is private.
|
854
|
+
#
|
855
|
+
# * If the default VPC in the target Region has an internet gateway
|
856
|
+
# attached to it, the DB cluster is public.
|
857
|
+
#
|
858
|
+
# If `DBSubnetGroupName` is specified, and `PubliclyAccessible` isn't
|
859
|
+
# specified, the following applies:
|
860
|
+
#
|
861
|
+
# * If the subnets are part of a VPC that doesn’t have an internet
|
862
|
+
# gateway attached to it, the DB cluster is private.
|
863
|
+
#
|
864
|
+
# * If the subnets are part of a VPC that has an internet gateway
|
865
|
+
# attached to it, the DB cluster is public.
|
866
|
+
#
|
867
|
+
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
720
868
|
# @return [DBCluster]
|
721
869
|
def restore(options = {})
|
722
870
|
options = options.merge(snapshot_identifier: @snapshot_id)
|
@@ -292,6 +292,10 @@ module Aws::RDS
|
|
292
292
|
# If this parameter is enabled and the requested engine supports the
|
293
293
|
# `CharacterSetName` parameter for `CreateDBInstance`, the response
|
294
294
|
# includes a list of supported character sets for each engine version.
|
295
|
+
#
|
296
|
+
# For RDS Custom, the default is not to list supported character sets.
|
297
|
+
# If you set `ListSupportedCharacterSets` to `true`, RDS Custom returns
|
298
|
+
# no results.
|
295
299
|
# @option options [Boolean] :list_supported_timezones
|
296
300
|
# A value that indicates whether to list the supported time zones for
|
297
301
|
# each engine version.
|
@@ -299,6 +303,10 @@ module Aws::RDS
|
|
299
303
|
# If this parameter is enabled and the requested engine supports the
|
300
304
|
# `TimeZone` parameter for `CreateDBInstance`, the response includes a
|
301
305
|
# list of supported time zones for each engine version.
|
306
|
+
#
|
307
|
+
# For RDS Custom, the default is not to list supported time zones. If
|
308
|
+
# you set `ListSupportedTimezones` to `true`, RDS Custom returns no
|
309
|
+
# results.
|
302
310
|
# @option options [Boolean] :include_all
|
303
311
|
# A value that indicates whether to include engine versions that aren't
|
304
312
|
# available in the list. The default is to list only available engine
|
@@ -124,12 +124,24 @@ module Aws::RDS
|
|
124
124
|
data[:supported_engine_modes]
|
125
125
|
end
|
126
126
|
|
127
|
-
# A list of features supported by the DB engine.
|
128
|
-
# include the following.
|
127
|
+
# A list of features supported by the DB engine.
|
129
128
|
#
|
130
|
-
#
|
129
|
+
# The supported features vary by DB engine and DB engine version.
|
131
130
|
#
|
132
|
-
#
|
131
|
+
# To determine the supported features for a specific DB engine and DB
|
132
|
+
# engine version using the CLI, use the following command:
|
133
|
+
#
|
134
|
+
# `aws rds describe-db-engine-versions --engine <engine_name>
|
135
|
+
# --engine-version <engine_version>`
|
136
|
+
#
|
137
|
+
# For example, to determine the supported features for RDS for
|
138
|
+
# PostgreSQL version 13.3 using the CLI, use the following command:
|
139
|
+
#
|
140
|
+
# `aws rds describe-db-engine-versions --engine postgres
|
141
|
+
# --engine-version 13.3`
|
142
|
+
#
|
143
|
+
# The supported features are listed under `SupportedFeatureNames` in the
|
144
|
+
# output.
|
133
145
|
# @return [Array<String>]
|
134
146
|
def supported_feature_names
|
135
147
|
data[:supported_feature_names]
|
@@ -156,6 +168,56 @@ module Aws::RDS
|
|
156
168
|
data[:supports_global_databases]
|
157
169
|
end
|
158
170
|
|
171
|
+
# The major engine version of the CEV.
|
172
|
+
# @return [String]
|
173
|
+
def major_engine_version
|
174
|
+
data[:major_engine_version]
|
175
|
+
end
|
176
|
+
|
177
|
+
# The name of the Amazon S3 bucket that contains your database
|
178
|
+
# installation files.
|
179
|
+
# @return [String]
|
180
|
+
def database_installation_files_s3_bucket_name
|
181
|
+
data[:database_installation_files_s3_bucket_name]
|
182
|
+
end
|
183
|
+
|
184
|
+
# The Amazon S3 directory that contains the database installation files.
|
185
|
+
# If not specified, then no prefix is assumed.
|
186
|
+
# @return [String]
|
187
|
+
def database_installation_files_s3_prefix
|
188
|
+
data[:database_installation_files_s3_prefix]
|
189
|
+
end
|
190
|
+
|
191
|
+
# The ARN of the custom engine version.
|
192
|
+
# @return [String]
|
193
|
+
def db_engine_version_arn
|
194
|
+
data[:db_engine_version_arn]
|
195
|
+
end
|
196
|
+
|
197
|
+
# The Amazon Web Services KMS key identifier for an encrypted CEV. This
|
198
|
+
# parameter is required for RDS Custom, but optional for Amazon RDS.
|
199
|
+
# @return [String]
|
200
|
+
def kms_key_id
|
201
|
+
data[:kms_key_id]
|
202
|
+
end
|
203
|
+
|
204
|
+
# The creation time of the DB engine version.
|
205
|
+
# @return [Time]
|
206
|
+
def create_time
|
207
|
+
data[:create_time]
|
208
|
+
end
|
209
|
+
|
210
|
+
# A list of tags. For more information, see [Tagging Amazon RDS
|
211
|
+
# Resources][1] in the *Amazon RDS User Guide.*
|
212
|
+
#
|
213
|
+
#
|
214
|
+
#
|
215
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
|
216
|
+
# @return [Array<Types::Tag>]
|
217
|
+
def tag_list
|
218
|
+
data[:tag_list]
|
219
|
+
end
|
220
|
+
|
159
221
|
# @!endgroup
|
160
222
|
|
161
223
|
# @return [Client]
|