aws-sdk-rds 1.144.0 → 1.147.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -483,8 +483,24 @@ module Aws::RDS
483
483
  data[:performance_insights_kms_key_id]
484
484
  end
485
485
 
486
- # The amount of time, in days, to retain Performance Insights data.
487
- # Valid values are 7 or 731 (2 years).
486
+ # The number of days to retain Performance Insights data. The default is
487
+ # 7 days. The following values are valid:
488
+ #
489
+ # * 7
490
+ #
491
+ # * *month* * 31, where *month* is a number of months from 1-23
492
+ #
493
+ # * 731
494
+ #
495
+ # For example, the following values are valid:
496
+ #
497
+ # * 93 (3 months * 31)
498
+ #
499
+ # * 341 (11 months * 31)
500
+ #
501
+ # * 589 (19 months * 31)
502
+ #
503
+ # * 731
488
504
  # @return [Integer]
489
505
  def performance_insights_retention_period
490
506
  data[:performance_insights_retention_period]
@@ -678,6 +694,31 @@ module Aws::RDS
678
694
  data[:backup_target]
679
695
  end
680
696
 
697
+ # The network type of the DB instance.
698
+ #
699
+ # Valid values:
700
+ #
701
+ # * `IPV4`
702
+ #
703
+ # * `DUAL`
704
+ #
705
+ # The network type is determined by the `DBSubnetGroup` specified for
706
+ # the DB instance. A `DBSubnetGroup` can support only the IPv4 protocol
707
+ # or the IPv4 and the IPv6 protocols (`DUAL`).
708
+ #
709
+ # For more information, see [ Working with a DB instance in a VPC][1] in
710
+ # the *Amazon RDS User Guide* and [ Working with a DB instance in a
711
+ # VPC][2] in the *Amazon Aurora User Guide.*
712
+ #
713
+ #
714
+ #
715
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
716
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
717
+ # @return [String]
718
+ def network_type
719
+ data[:network_type]
720
+ end
721
+
681
722
  # @!endgroup
682
723
 
683
724
  # @return [Client]
@@ -874,6 +915,7 @@ module Aws::RDS
874
915
  # enable_customer_owned_ip: false,
875
916
  # custom_iam_instance_profile: "String",
876
917
  # backup_target: "String",
918
+ # network_type: "String",
877
919
  # })
878
920
  # @param [Hash] options ({})
879
921
  # @option options [String] :db_name
@@ -1093,14 +1135,16 @@ module Aws::RDS
1093
1135
  # * Web and Express editions: Must be an integer from 20 to 1024.
1094
1136
  # @option options [required, String] :db_instance_class
1095
1137
  # The compute and memory capacity of the DB instance, for example
1096
- # db.m4.large. Not all DB instance classes are available in all Amazon
1138
+ # db.m5.large. Not all DB instance classes are available in all Amazon
1097
1139
  # Web Services Regions, or for all database engines. For the full list
1098
1140
  # of DB instance classes, and availability for your engine, see [DB
1099
- # Instance Class][1] in the *Amazon RDS User Guide*.
1141
+ # instance classes][1] in the *Amazon RDS User Guide* or [Aurora DB
1142
+ # instance classes][2] in the *Amazon Aurora User Guide*.
1100
1143
  #
1101
1144
  #
1102
1145
  #
1103
1146
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html
1147
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.DBInstanceClass.html
1104
1148
  # @option options [required, String] :engine
1105
1149
  # The name of the database engine to be used for this instance.
1106
1150
  #
@@ -1195,7 +1239,9 @@ module Aws::RDS
1195
1239
  # @option options [Array<String>] :db_security_groups
1196
1240
  # A list of DB security groups to associate with this DB instance.
1197
1241
  #
1198
- # Default: The default DB security group for the database engine.
1242
+ # This setting applies to the legacy EC2-Classic platform, which is no
1243
+ # longer used to create new DB instances. Use the `VpcSecurityGroupIds`
1244
+ # setting instead.
1199
1245
  # @option options [Array<String>] :vpc_security_group_ids
1200
1246
  # A list of Amazon EC2 VPC security groups to associate with this DB
1201
1247
  # instance.
@@ -1229,19 +1275,9 @@ module Aws::RDS
1229
1275
  # Zone must be in the same Amazon Web Services Region as the current
1230
1276
  # endpoint.
1231
1277
  #
1232
- # <note markdown="1"> If you're creating a DB instance in an RDS on VMware environment,
1233
- # specify the identifier of the custom Availability Zone to create the
1234
- # DB instance in.
1235
- #
1236
- # For more information about RDS on VMware, see the [ RDS on VMware User
1237
- # Guide.][2]
1238
- #
1239
- # </note>
1240
- #
1241
1278
  #
1242
1279
  #
1243
1280
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html
1244
- # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/RDSonVMwareUserGuide/rds-on-vmware.html
1245
1281
  # @option options [String] :db_subnet_group_name
1246
1282
  # A DB subnet group to associate with this DB instance.
1247
1283
  #
@@ -1299,7 +1335,7 @@ module Aws::RDS
1299
1335
  #
1300
1336
  # * Can't be set to 0 if the DB instance is a source to read replicas
1301
1337
  #
1302
- # * Can't be set to 0 or 35 for an RDS Custom for Oracle DB instance
1338
+ # * Can't be set to 0 for an RDS Custom for Oracle DB instance
1303
1339
  # @option options [String] :preferred_backup_window
1304
1340
  # The daily time range during which automated backups are created if
1305
1341
  # automated backups are enabled, using the `BackupRetentionPeriod`
@@ -1378,11 +1414,16 @@ module Aws::RDS
1378
1414
  # instance is a Multi-AZ deployment.
1379
1415
  #
1380
1416
  # This setting doesn't apply to RDS Custom.
1417
+ #
1418
+ # **Amazon Aurora**
1419
+ #
1420
+ # Not applicable. DB instance Availability Zones (AZs) are managed by
1421
+ # the DB cluster.
1381
1422
  # @option options [String] :engine_version
1382
1423
  # The version number of the database engine to use.
1383
1424
  #
1384
1425
  # For a list of valid engine versions, use the
1385
- # `DescribeDBEngineVersions` action.
1426
+ # `DescribeDBEngineVersions` operation.
1386
1427
  #
1387
1428
  # The following are the database engines and links to information about
1388
1429
  # the major and minor versions that are available with Amazon RDS. Not
@@ -1435,7 +1476,7 @@ module Aws::RDS
1435
1476
  #
1436
1477
  #
1437
1478
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-creating.html#custom-creating.create
1438
- # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits.html#custom-reqs-limits.reqsMS
1479
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits-MS.html
1439
1480
  # [3]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt
1440
1481
  # [4]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport
1441
1482
  # [5]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt
@@ -1455,6 +1496,10 @@ module Aws::RDS
1455
1496
  # `general-public-license`
1456
1497
  #
1457
1498
  # This setting doesn't apply to RDS Custom.
1499
+ #
1500
+ # **Amazon Aurora**
1501
+ #
1502
+ # Not applicable.
1458
1503
  # @option options [Integer] :iops
1459
1504
  # The amount of Provisioned IOPS (input/output operations per second) to
1460
1505
  # be initially allocated for the DB instance. For information about
@@ -1466,6 +1511,10 @@ module Aws::RDS
1466
1511
  # instance. For SQL Server DB instances, must be a multiple between 1
1467
1512
  # and 50 of the storage amount for the DB instance.
1468
1513
  #
1514
+ # **Amazon Aurora**
1515
+ #
1516
+ # Not applicable. Storage is managed by the DB cluster.
1517
+ #
1469
1518
  #
1470
1519
  #
1471
1520
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS
@@ -1479,6 +1528,10 @@ module Aws::RDS
1479
1528
  # instance.
1480
1529
  #
1481
1530
  # This setting doesn't apply to RDS Custom.
1531
+ #
1532
+ # **Amazon Aurora**
1533
+ #
1534
+ # Not applicable.
1482
1535
  # @option options [String] :character_set_name
1483
1536
  # For supported engines, this value indicates that the DB instance
1484
1537
  # should be associated with the specified `CharacterSet`.
@@ -1543,11 +1596,19 @@ module Aws::RDS
1543
1596
  # parameter.
1544
1597
  #
1545
1598
  # Default: `io1` if the `Iops` parameter is specified, otherwise `gp2`
1599
+ #
1600
+ # **Amazon Aurora**
1601
+ #
1602
+ # Not applicable. Storage is managed by the DB cluster.
1546
1603
  # @option options [String] :tde_credential_arn
1547
1604
  # The ARN from the key store with which to associate the instance for
1548
1605
  # TDE encryption.
1549
1606
  #
1550
1607
  # This setting doesn't apply to RDS Custom.
1608
+ #
1609
+ # **Amazon Aurora**
1610
+ #
1611
+ # Not applicable.
1551
1612
  # @option options [String] :tde_credential_password
1552
1613
  # The password for the given ARN from the key store in order to access
1553
1614
  # the device.
@@ -1601,6 +1662,10 @@ module Aws::RDS
1601
1662
  #
1602
1663
  # This setting doesn't apply to RDS Custom.
1603
1664
  #
1665
+ # **Amazon Aurora**
1666
+ #
1667
+ # Not applicable. The domain is managed by the DB cluster.
1668
+ #
1604
1669
  #
1605
1670
  #
1606
1671
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html
@@ -1644,6 +1709,10 @@ module Aws::RDS
1644
1709
  # the Directory Service.
1645
1710
  #
1646
1711
  # This setting doesn't apply to RDS Custom.
1712
+ #
1713
+ # **Amazon Aurora**
1714
+ #
1715
+ # Not applicable. The domain is managed by the DB cluster.
1647
1716
  # @option options [Integer] :promotion_tier
1648
1717
  # A value that specifies the order in which an Aurora Replica is
1649
1718
  # promoted to the primary instance after a failure of the existing
@@ -1671,13 +1740,16 @@ module Aws::RDS
1671
1740
  # Services Identity and Access Management (IAM) accounts to database
1672
1741
  # accounts. By default, mapping isn't enabled.
1673
1742
  #
1674
- # This setting doesn't apply to RDS Custom or Amazon Aurora. In Aurora,
1675
- # mapping Amazon Web Services IAM accounts to database accounts is
1676
- # managed by the DB cluster.
1677
- #
1678
1743
  # For more information, see [ IAM Database Authentication for MySQL and
1679
1744
  # PostgreSQL][1] in the *Amazon RDS User Guide*.
1680
1745
  #
1746
+ # This setting doesn't apply to RDS Custom.
1747
+ #
1748
+ # **Amazon Aurora**
1749
+ #
1750
+ # Not applicable. Mapping Amazon Web Services IAM accounts to database
1751
+ # accounts is managed by the DB cluster.
1752
+ #
1681
1753
  #
1682
1754
  #
1683
1755
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html
@@ -1705,8 +1777,27 @@ module Aws::RDS
1705
1777
  #
1706
1778
  # This setting doesn't apply to RDS Custom.
1707
1779
  # @option options [Integer] :performance_insights_retention_period
1708
- # The amount of time, in days, to retain Performance Insights data.
1709
- # Valid values are 7 or 731 (2 years).
1780
+ # The number of days to retain Performance Insights data. The default is
1781
+ # 7 days. The following values are valid:
1782
+ #
1783
+ # * 7
1784
+ #
1785
+ # * *month* * 31, where *month* is a number of months from 1-23
1786
+ #
1787
+ # * 731
1788
+ #
1789
+ # For example, the following values are valid:
1790
+ #
1791
+ # * 93 (3 months * 31)
1792
+ #
1793
+ # * 341 (11 months * 31)
1794
+ #
1795
+ # * 589 (19 months * 31)
1796
+ #
1797
+ # * 731
1798
+ #
1799
+ # If you specify a retention period such as 94, which isn't a valid
1800
+ # value, RDS issues an error.
1710
1801
  #
1711
1802
  # This setting doesn't apply to RDS Custom.
1712
1803
  # @option options [Array<String>] :enable_cloudwatch_logs_exports
@@ -1752,6 +1843,10 @@ module Aws::RDS
1752
1843
  # instance class of the DB instance.
1753
1844
  #
1754
1845
  # This setting doesn't apply to RDS Custom.
1846
+ #
1847
+ # **Amazon Aurora**
1848
+ #
1849
+ # Not applicable.
1755
1850
  # @option options [Boolean] :deletion_protection
1756
1851
  # A value that indicates whether the DB instance has deletion protection
1757
1852
  # enabled. The database can't be deleted when deletion protection is
@@ -1778,6 +1873,10 @@ module Aws::RDS
1778
1873
  #
1779
1874
  # This setting doesn't apply to RDS Custom.
1780
1875
  #
1876
+ # **Amazon Aurora**
1877
+ #
1878
+ # Not applicable. Storage is managed by the DB cluster.
1879
+ #
1781
1880
  #
1782
1881
  #
1783
1882
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.Autoscaling
@@ -1834,6 +1933,25 @@ module Aws::RDS
1834
1933
  #
1835
1934
  #
1836
1935
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html
1936
+ # @option options [String] :network_type
1937
+ # The network type of the DB instance.
1938
+ #
1939
+ # Valid values:
1940
+ #
1941
+ # * `IPV4`
1942
+ #
1943
+ # * `DUAL`
1944
+ #
1945
+ # The network type is determined by the `DBSubnetGroup` specified for
1946
+ # the DB instance. A `DBSubnetGroup` can support only the IPv4 protocol
1947
+ # or the IPv4 and the IPv6 protocols (`DUAL`).
1948
+ #
1949
+ # For more information, see [ Working with a DB instance in a VPC][1] in
1950
+ # the *Amazon RDS User Guide.*
1951
+ #
1952
+ #
1953
+ #
1954
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
1837
1955
  # @return [DBInstance]
1838
1956
  def create(options = {})
1839
1957
  options = options.merge(db_instance_identifier: @id)
@@ -1890,6 +2008,7 @@ module Aws::RDS
1890
2008
  # replica_mode: "open-read-only", # accepts open-read-only, mounted
1891
2009
  # max_allocated_storage: 1,
1892
2010
  # custom_iam_instance_profile: "String",
2011
+ # network_type: "String",
1893
2012
  # source_region: "String",
1894
2013
  # })
1895
2014
  # @param [Hash] options ({})
@@ -1962,7 +2081,7 @@ module Aws::RDS
1962
2081
  # specified DB engine for a cross-Region read replica.
1963
2082
  #
1964
2083
  # Specifying a parameter group for this operation is only supported for
1965
- # Oracle DB instances. It isn't supported for RDS Custom.
2084
+ # MySQL and Oracle DB instances. It isn't supported for RDS Custom.
1966
2085
  #
1967
2086
  # Constraints:
1968
2087
  #
@@ -2091,9 +2210,16 @@ module Aws::RDS
2091
2210
  # This setting doesn't apply to RDS Custom, which uses the same KMS key
2092
2211
  # as the primary replica.
2093
2212
  # @option options [String] :pre_signed_url
2094
- # The URL that contains a Signature Version 4 signed request for the
2095
- # `CreateDBInstanceReadReplica` API action in the source Amazon Web
2096
- # Services Region that contains the source DB instance.
2213
+ # When you are creating a read replica from one Amazon Web Services
2214
+ # GovCloud (US) Region to another or from one China Amazon Web Services
2215
+ # Region to another, the URL that contains a Signature Version 4 signed
2216
+ # request for the `CreateDBInstanceReadReplica` API operation in the
2217
+ # source Amazon Web Services Region that contains the source DB
2218
+ # instance.
2219
+ #
2220
+ # This setting applies only to Amazon Web Services GovCloud (US) Regions
2221
+ # and China Amazon Web Services Regions. It's ignored in other Amazon
2222
+ # Web Services Regions.
2097
2223
  #
2098
2224
  # You must specify this parameter when you create an encrypted read
2099
2225
  # replica from another Amazon Web Services Region by using the Amazon
@@ -2101,32 +2227,31 @@ module Aws::RDS
2101
2227
  # encrypted read replica in the same Amazon Web Services Region.
2102
2228
  #
2103
2229
  # The presigned URL must be a valid request for the
2104
- # `CreateDBInstanceReadReplica` API action that can be executed in the
2105
- # source Amazon Web Services Region that contains the encrypted source
2106
- # DB instance. The presigned URL request must contain the following
2230
+ # `CreateDBInstanceReadReplica` API operation that can run in the source
2231
+ # Amazon Web Services Region that contains the encrypted source DB
2232
+ # instance. The presigned URL request must contain the following
2107
2233
  # parameter values:
2108
2234
  #
2109
2235
  # * `DestinationRegion` - The Amazon Web Services Region that the
2110
2236
  # encrypted read replica is created in. This Amazon Web Services
2111
2237
  # Region is the same one where the `CreateDBInstanceReadReplica`
2112
- # action is called that contains this presigned URL.
2238
+ # operation is called that contains this presigned URL.
2113
2239
  #
2114
2240
  # For example, if you create an encrypted DB instance in the us-west-1
2115
2241
  # Amazon Web Services Region, from a source DB instance in the
2116
2242
  # us-east-2 Amazon Web Services Region, then you call the
2117
- # `CreateDBInstanceReadReplica` action in the us-east-1 Amazon Web
2243
+ # `CreateDBInstanceReadReplica` operation in the us-east-1 Amazon Web
2118
2244
  # Services Region and provide a presigned URL that contains a call to
2119
- # the `CreateDBInstanceReadReplica` action in the us-west-2 Amazon Web
2120
- # Services Region. For this example, the `DestinationRegion` in the
2121
- # presigned URL must be set to the us-east-1 Amazon Web Services
2245
+ # the `CreateDBInstanceReadReplica` operation in the us-west-2 Amazon
2246
+ # Web Services Region. For this example, the `DestinationRegion` in
2247
+ # the presigned URL must be set to the us-east-1 Amazon Web Services
2122
2248
  # Region.
2123
2249
  #
2124
- # * `KmsKeyId` - The Amazon Web Services KMS key identifier for the key
2125
- # to use to encrypt the read replica in the destination Amazon Web
2126
- # Services Region. This is the same identifier for both the
2127
- # `CreateDBInstanceReadReplica` action that is called in the
2128
- # destination Amazon Web Services Region, and the action contained in
2129
- # the presigned URL.
2250
+ # * `KmsKeyId` - The KMS key identifier for the key to use to encrypt
2251
+ # the read replica in the destination Amazon Web Services Region. This
2252
+ # is the same identifier for both the `CreateDBInstanceReadReplica`
2253
+ # operation that is called in the destination Amazon Web Services
2254
+ # Region, and the operation contained in the presigned URL.
2130
2255
  #
2131
2256
  # * `SourceDBInstanceIdentifier` - The DB instance identifier for the
2132
2257
  # encrypted DB instance to be replicated. This identifier must be in
@@ -2145,11 +2270,10 @@ module Aws::RDS
2145
2270
  # specify `SourceRegion` (or `--source-region` for the CLI) instead of
2146
2271
  # specifying `PreSignedUrl` manually. Specifying `SourceRegion`
2147
2272
  # autogenerates a presigned URL that is a valid request for the
2148
- # operation that can be executed in the source Amazon Web Services
2149
- # Region.
2273
+ # operation that can run in the source Amazon Web Services Region.
2150
2274
  #
2151
- # `SourceRegion` isn't supported for SQL Server, because SQL Server on
2152
- # Amazon RDS doesn't support cross-Region read replicas.
2275
+ # `SourceRegion` isn't supported for SQL Server, because Amazon RDS for
2276
+ # SQL Server doesn't support cross-Region read replicas.
2153
2277
  #
2154
2278
  # </note>
2155
2279
  #
@@ -2199,8 +2323,27 @@ module Aws::RDS
2199
2323
  #
2200
2324
  # This setting doesn't apply to RDS Custom.
2201
2325
  # @option options [Integer] :performance_insights_retention_period
2202
- # The amount of time, in days, to retain Performance Insights data.
2203
- # Valid values are 7 or 731 (2 years).
2326
+ # The number of days to retain Performance Insights data. The default is
2327
+ # 7 days. The following values are valid:
2328
+ #
2329
+ # * 7
2330
+ #
2331
+ # * *month* * 31, where *month* is a number of months from 1-23
2332
+ #
2333
+ # * 731
2334
+ #
2335
+ # For example, the following values are valid:
2336
+ #
2337
+ # * 93 (3 months * 31)
2338
+ #
2339
+ # * 341 (11 months * 31)
2340
+ #
2341
+ # * 589 (19 months * 31)
2342
+ #
2343
+ # * 731
2344
+ #
2345
+ # If you specify a retention period such as 94, which isn't a valid
2346
+ # value, RDS issues an error.
2204
2347
  #
2205
2348
  # This setting doesn't apply to RDS Custom.
2206
2349
  # @option options [Array<String>] :enable_cloudwatch_logs_exports
@@ -2309,6 +2452,25 @@ module Aws::RDS
2309
2452
  #
2310
2453
  #
2311
2454
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-setup-orcl.html#custom-setup-orcl.iam-vpc
2455
+ # @option options [String] :network_type
2456
+ # The network type of the DB instance.
2457
+ #
2458
+ # Valid values:
2459
+ #
2460
+ # * `IPV4`
2461
+ #
2462
+ # * `DUAL`
2463
+ #
2464
+ # The network type is determined by the `DBSubnetGroup` specified for
2465
+ # read replica. A `DBSubnetGroup` can support only the IPv4 protocol or
2466
+ # the IPv4 and the IPv6 protocols (`DUAL`).
2467
+ #
2468
+ # For more information, see [ Working with a DB instance in a VPC][1] in
2469
+ # the *Amazon RDS User Guide.*
2470
+ #
2471
+ #
2472
+ #
2473
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
2312
2474
  # @option options [String] :source_region
2313
2475
  # The source region of the snapshot. This is only needed when the
2314
2476
  # shapshot is encrypted and in a different region.
@@ -2490,6 +2652,7 @@ module Aws::RDS
2490
2652
  # aws_backup_recovery_point_arn: "AwsBackupRecoveryPointArn",
2491
2653
  # automation_mode: "full", # accepts full, all-paused
2492
2654
  # resume_full_automation_mode_minutes: 1,
2655
+ # network_type: "String",
2493
2656
  # })
2494
2657
  # @param [Hash] options ({})
2495
2658
  # @option options [Integer] :allocated_storage
@@ -2505,10 +2668,11 @@ module Aws::RDS
2505
2668
  # `CreateDBInstance`.
2506
2669
  # @option options [String] :db_instance_class
2507
2670
  # The new compute and memory capacity of the DB instance, for example
2508
- # db.m4.large. Not all DB instance classes are available in all Amazon
2671
+ # db.m5.large. Not all DB instance classes are available in all Amazon
2509
2672
  # Web Services Regions, or for all database engines. For the full list
2510
2673
  # of DB instance classes, and availability for your engine, see [DB
2511
- # Instance Class][1] in the *Amazon RDS User Guide*.
2674
+ # instance classes][1] in the *Amazon RDS User Guide* or [Aurora DB
2675
+ # instance classes][2] in the *Amazon Aurora User Guide*.
2512
2676
  #
2513
2677
  # If you modify the DB instance class, an outage occurs during the
2514
2678
  # change. The change is applied during the next maintenance window,
@@ -2521,6 +2685,7 @@ module Aws::RDS
2521
2685
  #
2522
2686
  #
2523
2687
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html
2688
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.DBInstanceClass.html
2524
2689
  # @option options [String] :db_subnet_group_name
2525
2690
  # The new DB subnet group for the DB instance. You can use this
2526
2691
  # parameter to move your DB instance to a different VPC. If your DB
@@ -2627,7 +2792,7 @@ module Aws::RDS
2627
2792
  #
2628
2793
  # Constraints: Must contain from 8 to 128 characters.
2629
2794
  #
2630
- # <note markdown="1"> Amazon RDS API actions never return the password, so this action
2795
+ # <note markdown="1"> Amazon RDS API operations never return the password, so this action
2631
2796
  # provides a way to regain access to a primary instance user if the
2632
2797
  # password is lost. This includes restoring privileges that might have
2633
2798
  # been accidentally revoked.
@@ -2677,8 +2842,8 @@ module Aws::RDS
2677
2842
  # Constraints:
2678
2843
  #
2679
2844
  # * It must be a value from 0 to 35. It can't be set to 0 if the DB
2680
- # instance is a source to read replicas. It can't be set to 0 or 35
2681
- # for an RDS Custom for Oracle DB instance.
2845
+ # instance is a source to read replicas. It can't be set to 0 for an
2846
+ # RDS Custom for Oracle DB instance.
2682
2847
  #
2683
2848
  # * It can be specified for a MySQL read replica only if the source is
2684
2849
  # running MySQL 5.6 or later.
@@ -3066,7 +3231,7 @@ module Aws::RDS
3066
3231
  # DB instance.
3067
3232
  #
3068
3233
  # For more information, see [Using Amazon Performance Insights][1] in
3069
- # the *Amazon RDS User Guide.*.
3234
+ # the *Amazon RDS User Guide*.
3070
3235
  #
3071
3236
  # This setting doesn't apply to RDS Custom.
3072
3237
  #
@@ -3087,8 +3252,27 @@ module Aws::RDS
3087
3252
  #
3088
3253
  # This setting doesn't apply to RDS Custom.
3089
3254
  # @option options [Integer] :performance_insights_retention_period
3090
- # The amount of time, in days, to retain Performance Insights data.
3091
- # Valid values are 7 or 731 (2 years).
3255
+ # The number of days to retain Performance Insights data. The default is
3256
+ # 7 days. The following values are valid:
3257
+ #
3258
+ # * 7
3259
+ #
3260
+ # * *month* * 31, where *month* is a number of months from 1-23
3261
+ #
3262
+ # * 731
3263
+ #
3264
+ # For example, the following values are valid:
3265
+ #
3266
+ # * 93 (3 months * 31)
3267
+ #
3268
+ # * 341 (11 months * 31)
3269
+ #
3270
+ # * 589 (19 months * 31)
3271
+ #
3272
+ # * 731
3273
+ #
3274
+ # If you specify a retention period such as 94, which isn't a valid
3275
+ # value, RDS issues an error.
3092
3276
  #
3093
3277
  # This setting doesn't apply to RDS Custom.
3094
3278
  # @option options [Types::CloudwatchLogsExportConfiguration] :cloudwatch_logs_export_configuration
@@ -3216,6 +3400,25 @@ module Aws::RDS
3216
3400
  # The number of minutes to pause the automation. When the time period
3217
3401
  # ends, RDS Custom resumes full automation. The minimum value is `60`
3218
3402
  # (default). The maximum value is `1,440`.
3403
+ # @option options [String] :network_type
3404
+ # The network type of the DB instance.
3405
+ #
3406
+ # Valid values:
3407
+ #
3408
+ # * `IPV4`
3409
+ #
3410
+ # * `DUAL`
3411
+ #
3412
+ # The network type is determined by the `DBSubnetGroup` specified for
3413
+ # the DB instance. A `DBSubnetGroup` can support only the IPv4 protocol
3414
+ # or the IPv4 and the IPv6 protocols (`DUAL`).
3415
+ #
3416
+ # For more information, see [ Working with a DB instance in a VPC][1] in
3417
+ # the *Amazon RDS User Guide.*
3418
+ #
3419
+ #
3420
+ #
3421
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
3219
3422
  # @return [DBInstance]
3220
3423
  def modify(options = {})
3221
3424
  options = options.merge(db_instance_identifier: @id)
@@ -3351,6 +3554,7 @@ module Aws::RDS
3351
3554
  # enable_customer_owned_ip: false,
3352
3555
  # custom_iam_instance_profile: "String",
3353
3556
  # backup_target: "String",
3557
+ # network_type: "String",
3354
3558
  # })
3355
3559
  # @param [Hash] options ({})
3356
3560
  # @option options [required, String] :target_db_instance_identifier
@@ -3705,6 +3909,25 @@ module Aws::RDS
3705
3909
  #
3706
3910
  #
3707
3911
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html
3912
+ # @option options [String] :network_type
3913
+ # The network type of the DB instance.
3914
+ #
3915
+ # Valid values:
3916
+ #
3917
+ # * `IPV4`
3918
+ #
3919
+ # * `DUAL`
3920
+ #
3921
+ # The network type is determined by the `DBSubnetGroup` specified for
3922
+ # the DB instance. A `DBSubnetGroup` can support only the IPv4 protocol
3923
+ # or the IPv4 and the IPv6 protocols (`DUAL`).
3924
+ #
3925
+ # For more information, see [ Working with a DB instance in a VPC][1] in
3926
+ # the *Amazon RDS User Guide.*
3927
+ #
3928
+ #
3929
+ #
3930
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
3708
3931
  # @return [DBInstance]
3709
3932
  def restore(options = {})
3710
3933
  options = options.merge(source_db_instance_identifier: @id)