aws-sdk-rds 1.144.0 → 1.147.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -478,39 +478,46 @@ module Aws::RDS
478
478
  # A value that indicates whether to copy all tags from the source DB
479
479
  # snapshot to the target DB snapshot. By default, tags are not copied.
480
480
  # @option options [String] :pre_signed_url
481
- # The URL that contains a Signature Version 4 signed request for the
482
- # `CopyDBSnapshot` API action in the source Amazon Web Services Region
483
- # that contains the source DB snapshot to copy.
481
+ # When you are copying a snapshot from one Amazon Web Services GovCloud
482
+ # (US) Region to another, the URL that contains a Signature Version 4
483
+ # signed request for the `CopyDBSnapshot` API operation in the source
484
+ # Amazon Web Services Region that contains the source DB snapshot to
485
+ # copy.
486
+ #
487
+ # This setting applies only to Amazon Web Services GovCloud (US)
488
+ # Regions. It's ignored in other Amazon Web Services Regions.
484
489
  #
485
490
  # You must specify this parameter when you copy an encrypted DB snapshot
486
491
  # from another Amazon Web Services Region by using the Amazon RDS API.
487
492
  # Don't specify `PreSignedUrl` when you are copying an encrypted DB
488
493
  # snapshot in the same Amazon Web Services Region.
489
494
  #
490
- # The presigned URL must be a valid request for the `CopyDBSnapshot` API
491
- # action that can be executed in the source Amazon Web Services Region
492
- # that contains the encrypted DB snapshot to be copied. The presigned
493
- # URL request must contain the following parameter values:
495
+ # The presigned URL must be a valid request for the
496
+ # `CopyDBClusterSnapshot` API operation that can run in the source
497
+ # Amazon Web Services Region that contains the encrypted DB cluster
498
+ # snapshot to copy. The presigned URL request must contain the following
499
+ # parameter values:
494
500
  #
495
501
  # * `DestinationRegion` - The Amazon Web Services Region that the
496
502
  # encrypted DB snapshot is copied to. This Amazon Web Services Region
497
- # is the same one where the `CopyDBSnapshot` action is called that
503
+ # is the same one where the `CopyDBSnapshot` operation is called that
498
504
  # contains this presigned URL.
499
505
  #
500
506
  # For example, if you copy an encrypted DB snapshot from the us-west-2
501
507
  # Amazon Web Services Region to the us-east-1 Amazon Web Services
502
- # Region, then you call the `CopyDBSnapshot` action in the us-east-1
503
- # Amazon Web Services Region and provide a presigned URL that contains
504
- # a call to the `CopyDBSnapshot` action in the us-west-2 Amazon Web
505
- # Services Region. For this example, the `DestinationRegion` in the
506
- # presigned URL must be set to the us-east-1 Amazon Web Services
507
- # Region.
508
- #
509
- # * `KmsKeyId` - The Amazon Web Services KMS key identifier for the KMS
510
- # key to use to encrypt the copy of the DB snapshot in the destination
511
- # Amazon Web Services Region. This is the same identifier for both the
512
- # `CopyDBSnapshot` action that is called in the destination Amazon Web
513
- # Services Region, and the action contained in the presigned URL.
508
+ # Region, then you call the `CopyDBSnapshot` operation in the
509
+ # us-east-1 Amazon Web Services Region and provide a presigned URL
510
+ # that contains a call to the `CopyDBSnapshot` operation in the
511
+ # us-west-2 Amazon Web Services Region. For this example, the
512
+ # `DestinationRegion` in the presigned URL must be set to the
513
+ # us-east-1 Amazon Web Services Region.
514
+ #
515
+ # * `KmsKeyId` - The KMS key identifier for the KMS key to use to
516
+ # encrypt the copy of the DB snapshot in the destination Amazon Web
517
+ # Services Region. This is the same identifier for both the
518
+ # `CopyDBSnapshot` operation that is called in the destination Amazon
519
+ # Web Services Region, and the operation contained in the presigned
520
+ # URL.
514
521
  #
515
522
  # * `SourceDBSnapshotIdentifier` - The DB snapshot identifier for the
516
523
  # encrypted snapshot to be copied. This identifier must be in the
@@ -527,9 +534,8 @@ module Aws::RDS
527
534
  # <note markdown="1"> If you are using an Amazon Web Services SDK tool or the CLI, you can
528
535
  # specify `SourceRegion` (or `--source-region` for the CLI) instead of
529
536
  # specifying `PreSignedUrl` manually. Specifying `SourceRegion`
530
- # autogenerates a pre-signed URL that is a valid request for the
531
- # operation that can be executed in the source Amazon Web Services
532
- # Region.
537
+ # autogenerates a presigned URL that is a valid request for the
538
+ # operation that can run in the source Amazon Web Services Region.
533
539
  #
534
540
  # </note>
535
541
  #
@@ -631,6 +637,7 @@ module Aws::RDS
631
637
  # enable_customer_owned_ip: false,
632
638
  # custom_iam_instance_profile: "String",
633
639
  # backup_target: "String",
640
+ # network_type: "String",
634
641
  # })
635
642
  # @param [Hash] options ({})
636
643
  # @option options [required, String] :db_instance_identifier
@@ -968,6 +975,25 @@ module Aws::RDS
968
975
  #
969
976
  #
970
977
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html
978
+ # @option options [String] :network_type
979
+ # The network type of the DB instance.
980
+ #
981
+ # Valid values:
982
+ #
983
+ # * `IPV4`
984
+ #
985
+ # * `DUAL`
986
+ #
987
+ # The network type is determined by the `DBSubnetGroup` specified for
988
+ # the DB instance. A `DBSubnetGroup` can support only the IPv4 protocol
989
+ # or the IPv4 and the IPv6 protocols (`DUAL`).
990
+ #
991
+ # For more information, see [ Working with a DB instance in a VPC][1] in
992
+ # the *Amazon RDS User Guide.*
993
+ #
994
+ #
995
+ #
996
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
971
997
  # @return [DBInstance]
972
998
  def restore(options = {})
973
999
  options = options.merge(db_snapshot_identifier: @snapshot_id)
@@ -65,6 +65,28 @@ module Aws::RDS
65
65
  data[:db_subnet_group_arn]
66
66
  end
67
67
 
68
+ # The network type of the DB subnet group.
69
+ #
70
+ # Valid values:
71
+ #
72
+ # * `IPV4`
73
+ #
74
+ # * `DUAL`
75
+ #
76
+ # A `DBSubnetGroup` can support only the IPv4 protocol or the IPv4 and
77
+ # the IPv6 protocols (`DUAL`).
78
+ #
79
+ # For more information, see [ Working with a DB instance in a VPC][1] in
80
+ # the *Amazon RDS User Guide.*
81
+ #
82
+ #
83
+ #
84
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
85
+ # @return [Array<String>]
86
+ def supported_network_types
87
+ data[:supported_network_types]
88
+ end
89
+
68
90
  # @!endgroup
69
91
 
70
92
  # @return [Client]
@@ -122,6 +122,7 @@ module Aws::RDS
122
122
  # * {InvalidSubnet}
123
123
  # * {InvalidVPCNetworkStateFault}
124
124
  # * {KMSKeyNotAccessibleFault}
125
+ # * {NetworkTypeNotSupported}
125
126
  # * {OptionGroupAlreadyExistsFault}
126
127
  # * {OptionGroupNotFoundFault}
127
128
  # * {OptionGroupQuotaExceededFault}
@@ -1101,6 +1102,16 @@ module Aws::RDS
1101
1102
  end
1102
1103
  end
1103
1104
 
1105
+ class NetworkTypeNotSupported < ServiceError
1106
+
1107
+ # @param [Seahorse::Client::RequestContext] context
1108
+ # @param [String] message
1109
+ # @param [Aws::RDS::Types::NetworkTypeNotSupported] data
1110
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1111
+ super(context, message, data)
1112
+ end
1113
+ end
1114
+
1104
1115
  class OptionGroupAlreadyExistsFault < ServiceError
1105
1116
 
1106
1117
  # @param [Seahorse::Client::RequestContext] context
@@ -390,25 +390,25 @@ module Aws::RDS
390
390
  #
391
391
  # Valid for: Aurora DB clusters and Multi-AZ DB clusters
392
392
  # @option options [String] :pre_signed_url
393
- # A URL that contains a Signature Version 4 signed request for the
394
- # `CreateDBCluster` action to be called in the source Amazon Web
395
- # Services Region where the DB cluster is replicated from. Specify
396
- # `PreSignedUrl` only when you are performing cross-Region replication
397
- # from an encrypted DB cluster.
398
- #
399
- # The pre-signed URL must be a valid request for the `CreateDBCluster`
400
- # API action that can be executed in the source Amazon Web Services
401
- # Region that contains the encrypted DB cluster to be copied.
402
- #
403
- # The pre-signed URL request must contain the following parameter
404
- # values:
405
- #
406
- # * `KmsKeyId` - The Amazon Web Services KMS key identifier for the KMS
407
- # key to use to encrypt the copy of the DB cluster in the destination
408
- # Amazon Web Services Region. This should refer to the same KMS key
409
- # for both the `CreateDBCluster` action that is called in the
410
- # destination Amazon Web Services Region, and the action contained in
411
- # the pre-signed URL.
393
+ # When you are replicating a DB cluster from one Amazon Web Services
394
+ # GovCloud (US) Region to another, an URL that contains a Signature
395
+ # Version 4 signed request for the `CreateDBCluster` operation to be
396
+ # called in the source Amazon Web Services Region where the DB cluster
397
+ # is replicated from. Specify `PreSignedUrl` only when you are
398
+ # performing cross-Region replication from an encrypted DB cluster.
399
+ #
400
+ # The presigned URL must be a valid request for the `CreateDBCluster`
401
+ # API operation that can run in the source Amazon Web Services Region
402
+ # that contains the encrypted DB cluster to copy.
403
+ #
404
+ # The presigned URL request must contain the following parameter values:
405
+ #
406
+ # * `KmsKeyId` - The KMS key identifier for the KMS key to use to
407
+ # encrypt the copy of the DB cluster in the destination Amazon Web
408
+ # Services Region. This should refer to the same KMS key for both the
409
+ # `CreateDBCluster` operation that is called in the destination Amazon
410
+ # Web Services Region, and the operation contained in the presigned
411
+ # URL.
412
412
  #
413
413
  # * `DestinationRegion` - The name of the Amazon Web Services Region
414
414
  # that Aurora read replica will be created in.
@@ -429,9 +429,8 @@ module Aws::RDS
429
429
  # <note markdown="1"> If you are using an Amazon Web Services SDK tool or the CLI, you can
430
430
  # specify `SourceRegion` (or `--source-region` for the CLI) instead of
431
431
  # specifying `PreSignedUrl` manually. Specifying `SourceRegion`
432
- # autogenerates a pre-signed URL that is a valid request for the
433
- # operation that can be executed in the source Amazon Web Services
434
- # Region.
432
+ # autogenerates a presigned URL that is a valid request for the
433
+ # operation that can run in the source Amazon Web Services Region.
435
434
  #
436
435
  # </note>
437
436
  #
@@ -447,7 +446,7 @@ module Aws::RDS
447
446
  # accounts. By default, mapping isn't enabled.
448
447
  #
449
448
  # For more information, see [ IAM Database Authentication][1] in the
450
- # *Amazon Aurora User Guide.*.
449
+ # *Amazon Aurora User Guide*.
451
450
  #
452
451
  # Valid for: Aurora DB clusters only
453
452
  #
@@ -518,6 +517,9 @@ module Aws::RDS
518
517
  # The `multimaster` engine mode only applies for DB clusters created
519
518
  # with Aurora MySQL version 5.6.10a.
520
519
  #
520
+ # The `serverless` engine mode only applies for Aurora Serverless v1 DB
521
+ # clusters.
522
+ #
521
523
  # For Aurora PostgreSQL, the `global` engine mode isn't required, and
522
524
  # both the `parallelquery` and the `multimaster` engine modes currently
523
525
  # aren't supported.
@@ -526,22 +528,25 @@ module Aws::RDS
526
528
  # information, see the following sections in the *Amazon Aurora User
527
529
  # Guide*\:
528
530
  #
529
- # * [ Limitations of Aurora Serverless v1][1]
531
+ # * [Limitations of Aurora Serverless v1][1]
530
532
  #
531
- # * [ Limitations of Parallel Query][2]
533
+ # * [Requirements for Aurora Serverless v2][2]
532
534
  #
533
- # * [ Limitations of Aurora Global Databases][3]
535
+ # * [Limitations of Parallel Query][3]
534
536
  #
535
- # * [ Limitations of Multi-Master Clusters][4]
537
+ # * [Limitations of Aurora Global Databases][4]
538
+ #
539
+ # * [Limitations of Multi-Master Clusters][5]
536
540
  #
537
541
  # Valid for: Aurora DB clusters only
538
542
  #
539
543
  #
540
544
  #
541
545
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html#aurora-serverless.limitations
542
- # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-mysql-parallel-query.html#aurora-mysql-parallel-query-limitations
543
- # [3]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html#aurora-global-database.limitations
544
- # [4]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-multi-master.html#aurora-multi-master-limitations
546
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.requirements.html
547
+ # [3]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-mysql-parallel-query.html#aurora-mysql-parallel-query-limitations
548
+ # [4]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html#aurora-global-database.limitations
549
+ # [5]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-multi-master.html#aurora-multi-master-limitations
545
550
  # @option options [Types::ScalingConfiguration] :scaling_configuration
546
551
  # For DB clusters in `serverless` DB engine mode, the scaling properties
547
552
  # of the DB cluster.
@@ -764,8 +769,27 @@ module Aws::RDS
764
769
  #
765
770
  # Valid for: Multi-AZ DB clusters only
766
771
  # @option options [Integer] :performance_insights_retention_period
767
- # The amount of time, in days, to retain Performance Insights data.
768
- # Valid values are 7 or 731 (2 years).
772
+ # The number of days to retain Performance Insights data. The default is
773
+ # 7 days. The following values are valid:
774
+ #
775
+ # * 7
776
+ #
777
+ # * *month* * 31, where *month* is a number of months from 1-23
778
+ #
779
+ # * 731
780
+ #
781
+ # For example, the following values are valid:
782
+ #
783
+ # * 93 (3 months * 31)
784
+ #
785
+ # * 341 (11 months * 31)
786
+ #
787
+ # * 589 (19 months * 31)
788
+ #
789
+ # * 731
790
+ #
791
+ # If you specify a retention period such as 94, which isn't a valid
792
+ # value, RDS issues an error.
769
793
  #
770
794
  # Valid for: Multi-AZ DB clusters only
771
795
  # @option options [Types::ServerlessV2ScalingConfiguration] :serverless_v2_scaling_configuration
@@ -946,6 +970,7 @@ module Aws::RDS
946
970
  # enable_customer_owned_ip: false,
947
971
  # custom_iam_instance_profile: "String",
948
972
  # backup_target: "String",
973
+ # network_type: "String",
949
974
  # })
950
975
  # @param [Hash] options ({})
951
976
  # @option options [String] :db_name
@@ -1178,14 +1203,16 @@ module Aws::RDS
1178
1203
  # * Web and Express editions: Must be an integer from 20 to 1024.
1179
1204
  # @option options [required, String] :db_instance_class
1180
1205
  # The compute and memory capacity of the DB instance, for example
1181
- # db.m4.large. Not all DB instance classes are available in all Amazon
1206
+ # db.m5.large. Not all DB instance classes are available in all Amazon
1182
1207
  # Web Services Regions, or for all database engines. For the full list
1183
1208
  # of DB instance classes, and availability for your engine, see [DB
1184
- # Instance Class][1] in the *Amazon RDS User Guide*.
1209
+ # instance classes][1] in the *Amazon RDS User Guide* or [Aurora DB
1210
+ # instance classes][2] in the *Amazon Aurora User Guide*.
1185
1211
  #
1186
1212
  #
1187
1213
  #
1188
1214
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html
1215
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.DBInstanceClass.html
1189
1216
  # @option options [required, String] :engine
1190
1217
  # The name of the database engine to be used for this instance.
1191
1218
  #
@@ -1280,7 +1307,9 @@ module Aws::RDS
1280
1307
  # @option options [Array<String>] :db_security_groups
1281
1308
  # A list of DB security groups to associate with this DB instance.
1282
1309
  #
1283
- # Default: The default DB security group for the database engine.
1310
+ # This setting applies to the legacy EC2-Classic platform, which is no
1311
+ # longer used to create new DB instances. Use the `VpcSecurityGroupIds`
1312
+ # setting instead.
1284
1313
  # @option options [Array<String>] :vpc_security_group_ids
1285
1314
  # A list of Amazon EC2 VPC security groups to associate with this DB
1286
1315
  # instance.
@@ -1314,19 +1343,9 @@ module Aws::RDS
1314
1343
  # Zone must be in the same Amazon Web Services Region as the current
1315
1344
  # endpoint.
1316
1345
  #
1317
- # <note markdown="1"> If you're creating a DB instance in an RDS on VMware environment,
1318
- # specify the identifier of the custom Availability Zone to create the
1319
- # DB instance in.
1320
- #
1321
- # For more information about RDS on VMware, see the [ RDS on VMware User
1322
- # Guide.][2]
1323
- #
1324
- # </note>
1325
- #
1326
1346
  #
1327
1347
  #
1328
1348
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html
1329
- # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/RDSonVMwareUserGuide/rds-on-vmware.html
1330
1349
  # @option options [String] :db_subnet_group_name
1331
1350
  # A DB subnet group to associate with this DB instance.
1332
1351
  #
@@ -1384,7 +1403,7 @@ module Aws::RDS
1384
1403
  #
1385
1404
  # * Can't be set to 0 if the DB instance is a source to read replicas
1386
1405
  #
1387
- # * Can't be set to 0 or 35 for an RDS Custom for Oracle DB instance
1406
+ # * Can't be set to 0 for an RDS Custom for Oracle DB instance
1388
1407
  # @option options [String] :preferred_backup_window
1389
1408
  # The daily time range during which automated backups are created if
1390
1409
  # automated backups are enabled, using the `BackupRetentionPeriod`
@@ -1463,11 +1482,16 @@ module Aws::RDS
1463
1482
  # instance is a Multi-AZ deployment.
1464
1483
  #
1465
1484
  # This setting doesn't apply to RDS Custom.
1485
+ #
1486
+ # **Amazon Aurora**
1487
+ #
1488
+ # Not applicable. DB instance Availability Zones (AZs) are managed by
1489
+ # the DB cluster.
1466
1490
  # @option options [String] :engine_version
1467
1491
  # The version number of the database engine to use.
1468
1492
  #
1469
1493
  # For a list of valid engine versions, use the
1470
- # `DescribeDBEngineVersions` action.
1494
+ # `DescribeDBEngineVersions` operation.
1471
1495
  #
1472
1496
  # The following are the database engines and links to information about
1473
1497
  # the major and minor versions that are available with Amazon RDS. Not
@@ -1520,7 +1544,7 @@ module Aws::RDS
1520
1544
  #
1521
1545
  #
1522
1546
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-creating.html#custom-creating.create
1523
- # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits.html#custom-reqs-limits.reqsMS
1547
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits-MS.html
1524
1548
  # [3]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt
1525
1549
  # [4]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport
1526
1550
  # [5]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt
@@ -1540,6 +1564,10 @@ module Aws::RDS
1540
1564
  # `general-public-license`
1541
1565
  #
1542
1566
  # This setting doesn't apply to RDS Custom.
1567
+ #
1568
+ # **Amazon Aurora**
1569
+ #
1570
+ # Not applicable.
1543
1571
  # @option options [Integer] :iops
1544
1572
  # The amount of Provisioned IOPS (input/output operations per second) to
1545
1573
  # be initially allocated for the DB instance. For information about
@@ -1551,6 +1579,10 @@ module Aws::RDS
1551
1579
  # instance. For SQL Server DB instances, must be a multiple between 1
1552
1580
  # and 50 of the storage amount for the DB instance.
1553
1581
  #
1582
+ # **Amazon Aurora**
1583
+ #
1584
+ # Not applicable. Storage is managed by the DB cluster.
1585
+ #
1554
1586
  #
1555
1587
  #
1556
1588
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS
@@ -1564,6 +1596,10 @@ module Aws::RDS
1564
1596
  # instance.
1565
1597
  #
1566
1598
  # This setting doesn't apply to RDS Custom.
1599
+ #
1600
+ # **Amazon Aurora**
1601
+ #
1602
+ # Not applicable.
1567
1603
  # @option options [String] :character_set_name
1568
1604
  # For supported engines, this value indicates that the DB instance
1569
1605
  # should be associated with the specified `CharacterSet`.
@@ -1628,11 +1664,19 @@ module Aws::RDS
1628
1664
  # parameter.
1629
1665
  #
1630
1666
  # Default: `io1` if the `Iops` parameter is specified, otherwise `gp2`
1667
+ #
1668
+ # **Amazon Aurora**
1669
+ #
1670
+ # Not applicable. Storage is managed by the DB cluster.
1631
1671
  # @option options [String] :tde_credential_arn
1632
1672
  # The ARN from the key store with which to associate the instance for
1633
1673
  # TDE encryption.
1634
1674
  #
1635
1675
  # This setting doesn't apply to RDS Custom.
1676
+ #
1677
+ # **Amazon Aurora**
1678
+ #
1679
+ # Not applicable.
1636
1680
  # @option options [String] :tde_credential_password
1637
1681
  # The password for the given ARN from the key store in order to access
1638
1682
  # the device.
@@ -1686,6 +1730,10 @@ module Aws::RDS
1686
1730
  #
1687
1731
  # This setting doesn't apply to RDS Custom.
1688
1732
  #
1733
+ # **Amazon Aurora**
1734
+ #
1735
+ # Not applicable. The domain is managed by the DB cluster.
1736
+ #
1689
1737
  #
1690
1738
  #
1691
1739
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html
@@ -1729,6 +1777,10 @@ module Aws::RDS
1729
1777
  # the Directory Service.
1730
1778
  #
1731
1779
  # This setting doesn't apply to RDS Custom.
1780
+ #
1781
+ # **Amazon Aurora**
1782
+ #
1783
+ # Not applicable. The domain is managed by the DB cluster.
1732
1784
  # @option options [Integer] :promotion_tier
1733
1785
  # A value that specifies the order in which an Aurora Replica is
1734
1786
  # promoted to the primary instance after a failure of the existing
@@ -1756,13 +1808,16 @@ module Aws::RDS
1756
1808
  # Services Identity and Access Management (IAM) accounts to database
1757
1809
  # accounts. By default, mapping isn't enabled.
1758
1810
  #
1759
- # This setting doesn't apply to RDS Custom or Amazon Aurora. In Aurora,
1760
- # mapping Amazon Web Services IAM accounts to database accounts is
1761
- # managed by the DB cluster.
1762
- #
1763
1811
  # For more information, see [ IAM Database Authentication for MySQL and
1764
1812
  # PostgreSQL][1] in the *Amazon RDS User Guide*.
1765
1813
  #
1814
+ # This setting doesn't apply to RDS Custom.
1815
+ #
1816
+ # **Amazon Aurora**
1817
+ #
1818
+ # Not applicable. Mapping Amazon Web Services IAM accounts to database
1819
+ # accounts is managed by the DB cluster.
1820
+ #
1766
1821
  #
1767
1822
  #
1768
1823
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html
@@ -1790,8 +1845,27 @@ module Aws::RDS
1790
1845
  #
1791
1846
  # This setting doesn't apply to RDS Custom.
1792
1847
  # @option options [Integer] :performance_insights_retention_period
1793
- # The amount of time, in days, to retain Performance Insights data.
1794
- # Valid values are 7 or 731 (2 years).
1848
+ # The number of days to retain Performance Insights data. The default is
1849
+ # 7 days. The following values are valid:
1850
+ #
1851
+ # * 7
1852
+ #
1853
+ # * *month* * 31, where *month* is a number of months from 1-23
1854
+ #
1855
+ # * 731
1856
+ #
1857
+ # For example, the following values are valid:
1858
+ #
1859
+ # * 93 (3 months * 31)
1860
+ #
1861
+ # * 341 (11 months * 31)
1862
+ #
1863
+ # * 589 (19 months * 31)
1864
+ #
1865
+ # * 731
1866
+ #
1867
+ # If you specify a retention period such as 94, which isn't a valid
1868
+ # value, RDS issues an error.
1795
1869
  #
1796
1870
  # This setting doesn't apply to RDS Custom.
1797
1871
  # @option options [Array<String>] :enable_cloudwatch_logs_exports
@@ -1837,6 +1911,10 @@ module Aws::RDS
1837
1911
  # instance class of the DB instance.
1838
1912
  #
1839
1913
  # This setting doesn't apply to RDS Custom.
1914
+ #
1915
+ # **Amazon Aurora**
1916
+ #
1917
+ # Not applicable.
1840
1918
  # @option options [Boolean] :deletion_protection
1841
1919
  # A value that indicates whether the DB instance has deletion protection
1842
1920
  # enabled. The database can't be deleted when deletion protection is
@@ -1863,6 +1941,10 @@ module Aws::RDS
1863
1941
  #
1864
1942
  # This setting doesn't apply to RDS Custom.
1865
1943
  #
1944
+ # **Amazon Aurora**
1945
+ #
1946
+ # Not applicable. Storage is managed by the DB cluster.
1947
+ #
1866
1948
  #
1867
1949
  #
1868
1950
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.Autoscaling
@@ -1919,6 +2001,25 @@ module Aws::RDS
1919
2001
  #
1920
2002
  #
1921
2003
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html
2004
+ # @option options [String] :network_type
2005
+ # The network type of the DB instance.
2006
+ #
2007
+ # Valid values:
2008
+ #
2009
+ # * `IPV4`
2010
+ #
2011
+ # * `DUAL`
2012
+ #
2013
+ # The network type is determined by the `DBSubnetGroup` specified for
2014
+ # the DB instance. A `DBSubnetGroup` can support only the IPv4 protocol
2015
+ # or the IPv4 and the IPv6 protocols (`DUAL`).
2016
+ #
2017
+ # For more information, see [ Working with a DB instance in a VPC][1] in
2018
+ # the *Amazon RDS User Guide.*
2019
+ #
2020
+ #
2021
+ #
2022
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
1922
2023
  # @return [DBInstance]
1923
2024
  def create_db_instance(options = {})
1924
2025
  resp = @client.create_db_instance(options)