aws-sdk-rds 1.157.0 → 1.158.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/client.rb +133 -53
- data/lib/aws-sdk-rds/client_api.rb +17 -0
- data/lib/aws-sdk-rds/db_cluster.rb +6 -9
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +2 -3
- data/lib/aws-sdk-rds/db_instance.rb +51 -25
- data/lib/aws-sdk-rds/db_snapshot.rb +15 -5
- data/lib/aws-sdk-rds/resource.rb +32 -26
- data/lib/aws-sdk-rds/types.rb +174 -69
- data/lib/aws-sdk-rds.rb +1 -1
- metadata +2 -2
@@ -932,6 +932,7 @@ module Aws::RDS
|
|
932
932
|
CreateDBInstanceMessage.add_member(:custom_iam_instance_profile, Shapes::ShapeRef.new(shape: String, location_name: "CustomIamInstanceProfile"))
|
933
933
|
CreateDBInstanceMessage.add_member(:backup_target, Shapes::ShapeRef.new(shape: String, location_name: "BackupTarget"))
|
934
934
|
CreateDBInstanceMessage.add_member(:network_type, Shapes::ShapeRef.new(shape: String, location_name: "NetworkType"))
|
935
|
+
CreateDBInstanceMessage.add_member(:storage_throughput, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "StorageThroughput"))
|
935
936
|
CreateDBInstanceMessage.struct_class = Types::CreateDBInstanceMessage
|
936
937
|
|
937
938
|
CreateDBInstanceReadReplicaMessage.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBInstanceIdentifier"))
|
@@ -968,6 +969,7 @@ module Aws::RDS
|
|
968
969
|
CreateDBInstanceReadReplicaMessage.add_member(:max_allocated_storage, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxAllocatedStorage"))
|
969
970
|
CreateDBInstanceReadReplicaMessage.add_member(:custom_iam_instance_profile, Shapes::ShapeRef.new(shape: String, location_name: "CustomIamInstanceProfile"))
|
970
971
|
CreateDBInstanceReadReplicaMessage.add_member(:network_type, Shapes::ShapeRef.new(shape: String, location_name: "NetworkType"))
|
972
|
+
CreateDBInstanceReadReplicaMessage.add_member(:storage_throughput, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "StorageThroughput"))
|
971
973
|
CreateDBInstanceReadReplicaMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
|
972
974
|
CreateDBInstanceReadReplicaMessage.struct_class = Types::CreateDBInstanceReadReplicaMessage
|
973
975
|
|
@@ -1411,6 +1413,7 @@ module Aws::RDS
|
|
1411
1413
|
DBInstance.add_member(:backup_target, Shapes::ShapeRef.new(shape: String, location_name: "BackupTarget"))
|
1412
1414
|
DBInstance.add_member(:network_type, Shapes::ShapeRef.new(shape: String, location_name: "NetworkType"))
|
1413
1415
|
DBInstance.add_member(:activity_stream_policy_status, Shapes::ShapeRef.new(shape: ActivityStreamPolicyStatus, location_name: "ActivityStreamPolicyStatus"))
|
1416
|
+
DBInstance.add_member(:storage_throughput, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "StorageThroughput"))
|
1414
1417
|
DBInstance.struct_class = Types::DBInstance
|
1415
1418
|
|
1416
1419
|
DBInstanceAlreadyExistsFault.struct_class = Types::DBInstanceAlreadyExistsFault
|
@@ -1442,6 +1445,7 @@ module Aws::RDS
|
|
1442
1445
|
DBInstanceAutomatedBackup.add_member(:db_instance_automated_backups_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBInstanceAutomatedBackupsArn"))
|
1443
1446
|
DBInstanceAutomatedBackup.add_member(:db_instance_automated_backups_replications, Shapes::ShapeRef.new(shape: DBInstanceAutomatedBackupsReplicationList, location_name: "DBInstanceAutomatedBackupsReplications"))
|
1444
1447
|
DBInstanceAutomatedBackup.add_member(:backup_target, Shapes::ShapeRef.new(shape: String, location_name: "BackupTarget"))
|
1448
|
+
DBInstanceAutomatedBackup.add_member(:storage_throughput, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "StorageThroughput"))
|
1445
1449
|
DBInstanceAutomatedBackup.struct_class = Types::DBInstanceAutomatedBackup
|
1446
1450
|
|
1447
1451
|
DBInstanceAutomatedBackupList.member = Shapes::ShapeRef.new(shape: DBInstanceAutomatedBackup, location_name: "DBInstanceAutomatedBackup")
|
@@ -1656,6 +1660,7 @@ module Aws::RDS
|
|
1656
1660
|
DBSnapshot.add_member(:original_snapshot_create_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "OriginalSnapshotCreateTime"))
|
1657
1661
|
DBSnapshot.add_member(:snapshot_database_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "SnapshotDatabaseTime"))
|
1658
1662
|
DBSnapshot.add_member(:snapshot_target, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotTarget"))
|
1663
|
+
DBSnapshot.add_member(:storage_throughput, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "StorageThroughput"))
|
1659
1664
|
DBSnapshot.struct_class = Types::DBSnapshot
|
1660
1665
|
|
1661
1666
|
DBSnapshotAlreadyExistsFault.struct_class = Types::DBSnapshotAlreadyExistsFault
|
@@ -2514,6 +2519,7 @@ module Aws::RDS
|
|
2514
2519
|
ModifyDBInstanceMessage.add_member(:automation_mode, Shapes::ShapeRef.new(shape: AutomationMode, location_name: "AutomationMode"))
|
2515
2520
|
ModifyDBInstanceMessage.add_member(:resume_full_automation_mode_minutes, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "ResumeFullAutomationModeMinutes"))
|
2516
2521
|
ModifyDBInstanceMessage.add_member(:network_type, Shapes::ShapeRef.new(shape: String, location_name: "NetworkType"))
|
2522
|
+
ModifyDBInstanceMessage.add_member(:storage_throughput, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "StorageThroughput"))
|
2517
2523
|
ModifyDBInstanceMessage.struct_class = Types::ModifyDBInstanceMessage
|
2518
2524
|
|
2519
2525
|
ModifyDBInstanceResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
|
@@ -2753,6 +2759,11 @@ module Aws::RDS
|
|
2753
2759
|
OrderableDBInstanceOption.add_member(:supports_global_databases, Shapes::ShapeRef.new(shape: Boolean, location_name: "SupportsGlobalDatabases"))
|
2754
2760
|
OrderableDBInstanceOption.add_member(:supports_clusters, Shapes::ShapeRef.new(shape: Boolean, location_name: "SupportsClusters"))
|
2755
2761
|
OrderableDBInstanceOption.add_member(:supported_network_types, Shapes::ShapeRef.new(shape: StringList, location_name: "SupportedNetworkTypes"))
|
2762
|
+
OrderableDBInstanceOption.add_member(:supports_storage_throughput, Shapes::ShapeRef.new(shape: Boolean, location_name: "SupportsStorageThroughput"))
|
2763
|
+
OrderableDBInstanceOption.add_member(:min_storage_throughput_per_db_instance, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MinStorageThroughputPerDbInstance"))
|
2764
|
+
OrderableDBInstanceOption.add_member(:max_storage_throughput_per_db_instance, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxStorageThroughputPerDbInstance"))
|
2765
|
+
OrderableDBInstanceOption.add_member(:min_storage_throughput_per_iops, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MinStorageThroughputPerIops"))
|
2766
|
+
OrderableDBInstanceOption.add_member(:max_storage_throughput_per_iops, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MaxStorageThroughputPerIops"))
|
2756
2767
|
OrderableDBInstanceOption.struct_class = Types::OrderableDBInstanceOption
|
2757
2768
|
|
2758
2769
|
OrderableDBInstanceOptionsList.member = Shapes::ShapeRef.new(shape: OrderableDBInstanceOption, location_name: "OrderableDBInstanceOption")
|
@@ -2817,6 +2828,7 @@ module Aws::RDS
|
|
2817
2828
|
PendingModifiedValues.add_member(:iam_database_authentication_enabled, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "IAMDatabaseAuthenticationEnabled"))
|
2818
2829
|
PendingModifiedValues.add_member(:automation_mode, Shapes::ShapeRef.new(shape: AutomationMode, location_name: "AutomationMode"))
|
2819
2830
|
PendingModifiedValues.add_member(:resume_full_automation_mode_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "ResumeFullAutomationModeTime"))
|
2831
|
+
PendingModifiedValues.add_member(:storage_throughput, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "StorageThroughput"))
|
2820
2832
|
PendingModifiedValues.struct_class = Types::PendingModifiedValues
|
2821
2833
|
|
2822
2834
|
PointInTimeRestoreNotEnabledFault.struct_class = Types::PointInTimeRestoreNotEnabledFault
|
@@ -3124,6 +3136,7 @@ module Aws::RDS
|
|
3124
3136
|
RestoreDBInstanceFromDBSnapshotMessage.add_member(:custom_iam_instance_profile, Shapes::ShapeRef.new(shape: String, location_name: "CustomIamInstanceProfile"))
|
3125
3137
|
RestoreDBInstanceFromDBSnapshotMessage.add_member(:backup_target, Shapes::ShapeRef.new(shape: String, location_name: "BackupTarget"))
|
3126
3138
|
RestoreDBInstanceFromDBSnapshotMessage.add_member(:network_type, Shapes::ShapeRef.new(shape: String, location_name: "NetworkType"))
|
3139
|
+
RestoreDBInstanceFromDBSnapshotMessage.add_member(:storage_throughput, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "StorageThroughput"))
|
3127
3140
|
RestoreDBInstanceFromDBSnapshotMessage.struct_class = Types::RestoreDBInstanceFromDBSnapshotMessage
|
3128
3141
|
|
3129
3142
|
RestoreDBInstanceFromDBSnapshotResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
|
@@ -3174,6 +3187,7 @@ module Aws::RDS
|
|
3174
3187
|
RestoreDBInstanceFromS3Message.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
3175
3188
|
RestoreDBInstanceFromS3Message.add_member(:max_allocated_storage, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxAllocatedStorage"))
|
3176
3189
|
RestoreDBInstanceFromS3Message.add_member(:network_type, Shapes::ShapeRef.new(shape: String, location_name: "NetworkType"))
|
3190
|
+
RestoreDBInstanceFromS3Message.add_member(:storage_throughput, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "StorageThroughput"))
|
3177
3191
|
RestoreDBInstanceFromS3Message.struct_class = Types::RestoreDBInstanceFromS3Message
|
3178
3192
|
|
3179
3193
|
RestoreDBInstanceFromS3Result.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
|
@@ -3216,6 +3230,7 @@ module Aws::RDS
|
|
3216
3230
|
RestoreDBInstanceToPointInTimeMessage.add_member(:custom_iam_instance_profile, Shapes::ShapeRef.new(shape: String, location_name: "CustomIamInstanceProfile"))
|
3217
3231
|
RestoreDBInstanceToPointInTimeMessage.add_member(:backup_target, Shapes::ShapeRef.new(shape: String, location_name: "BackupTarget"))
|
3218
3232
|
RestoreDBInstanceToPointInTimeMessage.add_member(:network_type, Shapes::ShapeRef.new(shape: String, location_name: "NetworkType"))
|
3233
|
+
RestoreDBInstanceToPointInTimeMessage.add_member(:storage_throughput, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "StorageThroughput"))
|
3219
3234
|
RestoreDBInstanceToPointInTimeMessage.struct_class = Types::RestoreDBInstanceToPointInTimeMessage
|
3220
3235
|
|
3221
3236
|
RestoreDBInstanceToPointInTimeResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
|
@@ -3452,6 +3467,8 @@ module Aws::RDS
|
|
3452
3467
|
ValidStorageOptions.add_member(:provisioned_iops, Shapes::ShapeRef.new(shape: RangeList, location_name: "ProvisionedIops"))
|
3453
3468
|
ValidStorageOptions.add_member(:iops_to_storage_ratio, Shapes::ShapeRef.new(shape: DoubleRangeList, location_name: "IopsToStorageRatio"))
|
3454
3469
|
ValidStorageOptions.add_member(:supports_storage_autoscaling, Shapes::ShapeRef.new(shape: Boolean, location_name: "SupportsStorageAutoscaling"))
|
3470
|
+
ValidStorageOptions.add_member(:provisioned_storage_throughput, Shapes::ShapeRef.new(shape: RangeList, location_name: "ProvisionedStorageThroughput"))
|
3471
|
+
ValidStorageOptions.add_member(:storage_throughput_to_iops_ratio, Shapes::ShapeRef.new(shape: DoubleRangeList, location_name: "StorageThroughputToIopsRatio"))
|
3455
3472
|
ValidStorageOptions.struct_class = Types::ValidStorageOptions
|
3456
3473
|
|
3457
3474
|
ValidStorageOptionsList.member = Shapes::ShapeRef.new(shape: ValidStorageOptions, location_name: "ValidStorageOptions")
|
@@ -1388,9 +1388,8 @@ module Aws::RDS
|
|
1388
1388
|
# be initially allocated for each DB instance in the Multi-AZ DB
|
1389
1389
|
# cluster.
|
1390
1390
|
#
|
1391
|
-
# For information about valid
|
1392
|
-
# IOPS storage
|
1393
|
-
# Guide*.
|
1391
|
+
# For information about valid IOPS values, see [Amazon RDS Provisioned
|
1392
|
+
# IOPS storage][1] in the *Amazon RDS User Guide*.
|
1394
1393
|
#
|
1395
1394
|
# This setting is required to create a Multi-AZ DB cluster.
|
1396
1395
|
#
|
@@ -2084,9 +2083,8 @@ module Aws::RDS
|
|
2084
2083
|
# be initially allocated for each DB instance in the Multi-AZ DB
|
2085
2084
|
# cluster.
|
2086
2085
|
#
|
2087
|
-
# For information about valid
|
2088
|
-
# IOPS
|
2089
|
-
# Guide*.
|
2086
|
+
# For information about valid IOPS values, see [Amazon RDS Provisioned
|
2087
|
+
# IOPS storage][1] in the *Amazon RDS User Guide*.
|
2090
2088
|
#
|
2091
2089
|
# Constraints: Must be a multiple between .5 and 50 of the storage
|
2092
2090
|
# amount for the DB cluster.
|
@@ -2577,9 +2575,8 @@ module Aws::RDS
|
|
2577
2575
|
# be initially allocated for each DB instance in the Multi-AZ DB
|
2578
2576
|
# cluster.
|
2579
2577
|
#
|
2580
|
-
# For information about valid
|
2581
|
-
# IOPS storage
|
2582
|
-
# Guide*.
|
2578
|
+
# For information about valid IOPS values, see [Amazon RDS Provisioned
|
2579
|
+
# IOPS storage][1] in the *Amazon RDS User Guide*.
|
2583
2580
|
#
|
2584
2581
|
# Constraints: Must be a multiple between .5 and 50 of the storage
|
2585
2582
|
# amount for the DB instance.
|
@@ -853,9 +853,8 @@ module Aws::RDS
|
|
853
853
|
# be initially allocated for each DB instance in the Multi-AZ DB
|
854
854
|
# cluster.
|
855
855
|
#
|
856
|
-
# For information about valid
|
857
|
-
# IOPS
|
858
|
-
# Guide*.
|
856
|
+
# For information about valid IOPS values, see [Amazon RDS Provisioned
|
857
|
+
# IOPS storage][1] in the *Amazon RDS User Guide*.
|
859
858
|
#
|
860
859
|
# Constraints: Must be a multiple between .5 and 50 of the storage
|
861
860
|
# amount for the DB instance.
|
@@ -321,7 +321,7 @@ module Aws::RDS
|
|
321
321
|
data[:status_infos]
|
322
322
|
end
|
323
323
|
|
324
|
-
# Specifies the storage type associated with DB instance.
|
324
|
+
# Specifies the storage type associated with the DB instance.
|
325
325
|
# @return [String]
|
326
326
|
def storage_type
|
327
327
|
data[:storage_type]
|
@@ -725,6 +725,12 @@ module Aws::RDS
|
|
725
725
|
data[:activity_stream_policy_status]
|
726
726
|
end
|
727
727
|
|
728
|
+
# Specifies the storage throughput for the DB instance.
|
729
|
+
# @return [Integer]
|
730
|
+
def storage_throughput
|
731
|
+
data[:storage_throughput]
|
732
|
+
end
|
733
|
+
|
728
734
|
# @!endgroup
|
729
735
|
|
730
736
|
# @return [Client]
|
@@ -922,6 +928,7 @@ module Aws::RDS
|
|
922
928
|
# custom_iam_instance_profile: "String",
|
923
929
|
# backup_target: "String",
|
924
930
|
# network_type: "String",
|
931
|
+
# storage_throughput: 1,
|
925
932
|
# })
|
926
933
|
# @param [Hash] options ({})
|
927
934
|
# @option options [String] :db_name
|
@@ -1055,8 +1062,8 @@ module Aws::RDS
|
|
1055
1062
|
# Constraints to the amount of storage for each storage type are the
|
1056
1063
|
# following:
|
1057
1064
|
#
|
1058
|
-
# * General Purpose (SSD) storage (gp2): Must be an integer from 40
|
1059
|
-
# 65536 for RDS Custom for Oracle, 16384 for RDS Custom for SQL
|
1065
|
+
# * General Purpose (SSD) storage (gp2, gp3): Must be an integer from 40
|
1066
|
+
# to 65536 for RDS Custom for Oracle, 16384 for RDS Custom for SQL
|
1060
1067
|
# Server.
|
1061
1068
|
#
|
1062
1069
|
# * Provisioned IOPS storage (io1): Must be an integer from 40 to 65536
|
@@ -1067,8 +1074,8 @@ module Aws::RDS
|
|
1067
1074
|
# Constraints to the amount of storage for each storage type are the
|
1068
1075
|
# following:
|
1069
1076
|
#
|
1070
|
-
# * General Purpose (SSD) storage (gp2): Must be an integer from 20
|
1071
|
-
# 65536.
|
1077
|
+
# * General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20
|
1078
|
+
# to 65536.
|
1072
1079
|
#
|
1073
1080
|
# * Provisioned IOPS storage (io1): Must be an integer from 100 to
|
1074
1081
|
# 65536.
|
@@ -1080,8 +1087,8 @@ module Aws::RDS
|
|
1080
1087
|
# Constraints to the amount of storage for each storage type are the
|
1081
1088
|
# following:
|
1082
1089
|
#
|
1083
|
-
# * General Purpose (SSD) storage (gp2): Must be an integer from 20
|
1084
|
-
# 65536.
|
1090
|
+
# * General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20
|
1091
|
+
# to 65536.
|
1085
1092
|
#
|
1086
1093
|
# * Provisioned IOPS storage (io1): Must be an integer from 100 to
|
1087
1094
|
# 65536.
|
@@ -1093,8 +1100,8 @@ module Aws::RDS
|
|
1093
1100
|
# Constraints to the amount of storage for each storage type are the
|
1094
1101
|
# following:
|
1095
1102
|
#
|
1096
|
-
# * General Purpose (SSD) storage (gp2): Must be an integer from 20
|
1097
|
-
# 65536.
|
1103
|
+
# * General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20
|
1104
|
+
# to 65536.
|
1098
1105
|
#
|
1099
1106
|
# * Provisioned IOPS storage (io1): Must be an integer from 100 to
|
1100
1107
|
# 65536.
|
@@ -1106,8 +1113,8 @@ module Aws::RDS
|
|
1106
1113
|
# Constraints to the amount of storage for each storage type are the
|
1107
1114
|
# following:
|
1108
1115
|
#
|
1109
|
-
# * General Purpose (SSD) storage (gp2): Must be an integer from 20
|
1110
|
-
# 65536.
|
1116
|
+
# * General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20
|
1117
|
+
# to 65536.
|
1111
1118
|
#
|
1112
1119
|
# * Provisioned IOPS storage (io1): Must be an integer from 100 to
|
1113
1120
|
# 65536.
|
@@ -1119,7 +1126,7 @@ module Aws::RDS
|
|
1119
1126
|
# Constraints to the amount of storage for each storage type are the
|
1120
1127
|
# following:
|
1121
1128
|
#
|
1122
|
-
# * General Purpose (SSD) storage (gp2):
|
1129
|
+
# * General Purpose (SSD) storage (gp2, gp3):
|
1123
1130
|
#
|
1124
1131
|
# * Enterprise and Standard editions: Must be an integer from 20 to
|
1125
1132
|
# 16384.
|
@@ -1509,8 +1516,8 @@ module Aws::RDS
|
|
1509
1516
|
# @option options [Integer] :iops
|
1510
1517
|
# The amount of Provisioned IOPS (input/output operations per second) to
|
1511
1518
|
# be initially allocated for the DB instance. For information about
|
1512
|
-
# valid
|
1513
|
-
#
|
1519
|
+
# valid IOPS values, see [Amazon RDS DB instance storage][1] in the
|
1520
|
+
# *Amazon RDS User Guide*.
|
1514
1521
|
#
|
1515
1522
|
# Constraints: For MariaDB, MySQL, Oracle, and PostgreSQL DB instances,
|
1516
1523
|
# must be a multiple between .5 and 50 of the storage amount for the DB
|
@@ -1523,7 +1530,7 @@ module Aws::RDS
|
|
1523
1530
|
#
|
1524
1531
|
#
|
1525
1532
|
#
|
1526
|
-
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html
|
1533
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html
|
1527
1534
|
# @option options [String] :option_group_name
|
1528
1535
|
# A value that indicates that the DB instance should be associated with
|
1529
1536
|
# the specified option group.
|
@@ -1596,10 +1603,10 @@ module Aws::RDS
|
|
1596
1603
|
# @option options [String] :storage_type
|
1597
1604
|
# Specifies the storage type to be associated with the DB instance.
|
1598
1605
|
#
|
1599
|
-
# Valid values: `
|
1606
|
+
# Valid values: `gp2 | gp3 | io1 | standard`
|
1600
1607
|
#
|
1601
|
-
# If you specify `io1`, you must also include a value for the
|
1602
|
-
# parameter.
|
1608
|
+
# If you specify `io1` or `gp3`, you must also include a value for the
|
1609
|
+
# `Iops` parameter.
|
1603
1610
|
#
|
1604
1611
|
# Default: `io1` if the `Iops` parameter is specified, otherwise `gp2`
|
1605
1612
|
#
|
@@ -1958,6 +1965,10 @@ module Aws::RDS
|
|
1958
1965
|
#
|
1959
1966
|
#
|
1960
1967
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
|
1968
|
+
# @option options [Integer] :storage_throughput
|
1969
|
+
# Specifies the storage throughput value for the DB instance.
|
1970
|
+
#
|
1971
|
+
# This setting doesn't apply to RDS Custom or Amazon Aurora.
|
1961
1972
|
# @return [DBInstance]
|
1962
1973
|
def create(options = {})
|
1963
1974
|
options = options.merge(db_instance_identifier: @id)
|
@@ -2015,6 +2026,7 @@ module Aws::RDS
|
|
2015
2026
|
# max_allocated_storage: 1,
|
2016
2027
|
# custom_iam_instance_profile: "String",
|
2017
2028
|
# network_type: "String",
|
2029
|
+
# storage_throughput: 1,
|
2018
2030
|
# source_region: "String",
|
2019
2031
|
# })
|
2020
2032
|
# @param [Hash] options ({})
|
@@ -2155,10 +2167,10 @@ module Aws::RDS
|
|
2155
2167
|
# @option options [String] :storage_type
|
2156
2168
|
# Specifies the storage type to be associated with the read replica.
|
2157
2169
|
#
|
2158
|
-
# Valid values: `
|
2170
|
+
# Valid values: `gp2 | gp3 | io1 | standard`
|
2159
2171
|
#
|
2160
|
-
# If you specify `io1`, you must also include a value for the
|
2161
|
-
# parameter.
|
2172
|
+
# If you specify `io1` or `gp3`, you must also include a value for the
|
2173
|
+
# `Iops` parameter.
|
2162
2174
|
#
|
2163
2175
|
# Default: `io1` if the `Iops` parameter is specified, otherwise `gp2`
|
2164
2176
|
# @option options [Boolean] :copy_tags_to_snapshot
|
@@ -2477,6 +2489,10 @@ module Aws::RDS
|
|
2477
2489
|
#
|
2478
2490
|
#
|
2479
2491
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
|
2492
|
+
# @option options [Integer] :storage_throughput
|
2493
|
+
# Specifies the storage throughput value for the read replica.
|
2494
|
+
#
|
2495
|
+
# This setting doesn't apply to RDS Custom or Amazon Aurora.
|
2480
2496
|
# @option options [String] :source_region
|
2481
2497
|
# The source region of the snapshot. This is only needed when the
|
2482
2498
|
# shapshot is encrypted and in a different region.
|
@@ -2659,6 +2675,7 @@ module Aws::RDS
|
|
2659
2675
|
# automation_mode: "full", # accepts full, all-paused
|
2660
2676
|
# resume_full_automation_mode_minutes: 1,
|
2661
2677
|
# network_type: "String",
|
2678
|
+
# storage_throughput: 1,
|
2662
2679
|
# })
|
2663
2680
|
# @param [Hash] options ({})
|
2664
2681
|
# @option options [Integer] :allocated_storage
|
@@ -3057,7 +3074,7 @@ module Aws::RDS
|
|
3057
3074
|
# rebooting the instance, deleting the instance, creating a read replica
|
3058
3075
|
# for the instance, and creating a DB snapshot of the instance.
|
3059
3076
|
#
|
3060
|
-
# Valid values: `
|
3077
|
+
# Valid values: `gp2 | gp3 | io1 | standard`
|
3061
3078
|
#
|
3062
3079
|
# Default: `io1` if the `Iops` parameter is specified, otherwise `gp2`
|
3063
3080
|
# @option options [String] :tde_credential_arn
|
@@ -3425,6 +3442,10 @@ module Aws::RDS
|
|
3425
3442
|
#
|
3426
3443
|
#
|
3427
3444
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
|
3445
|
+
# @option options [Integer] :storage_throughput
|
3446
|
+
# Specifies the storage throughput value for the DB instance.
|
3447
|
+
#
|
3448
|
+
# This setting doesn't apply to RDS Custom or Amazon Aurora.
|
3428
3449
|
# @return [DBInstance]
|
3429
3450
|
def modify(options = {})
|
3430
3451
|
options = options.merge(db_instance_identifier: @id)
|
@@ -3561,6 +3582,7 @@ module Aws::RDS
|
|
3561
3582
|
# custom_iam_instance_profile: "String",
|
3562
3583
|
# backup_target: "String",
|
3563
3584
|
# network_type: "String",
|
3585
|
+
# storage_throughput: 1,
|
3564
3586
|
# })
|
3565
3587
|
# @param [Hash] options ({})
|
3566
3588
|
# @option options [required, String] :target_db_instance_identifier
|
@@ -3737,10 +3759,10 @@ module Aws::RDS
|
|
3737
3759
|
# @option options [String] :storage_type
|
3738
3760
|
# Specifies the storage type to be associated with the DB instance.
|
3739
3761
|
#
|
3740
|
-
# Valid values: `
|
3762
|
+
# Valid values: `gp2 | gp3 | io1 | standard`
|
3741
3763
|
#
|
3742
|
-
# If you specify `io1`, you must also include a value for the
|
3743
|
-
# parameter.
|
3764
|
+
# If you specify `io1` or `gp3`, you must also include a value for the
|
3765
|
+
# `Iops` parameter.
|
3744
3766
|
#
|
3745
3767
|
# Default: `io1` if the `Iops` parameter is specified, otherwise `gp2`
|
3746
3768
|
# @option options [String] :tde_credential_arn
|
@@ -3934,6 +3956,10 @@ module Aws::RDS
|
|
3934
3956
|
#
|
3935
3957
|
#
|
3936
3958
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
|
3959
|
+
# @option options [Integer] :storage_throughput
|
3960
|
+
# Specifies the storage throughput value for the DB instance.
|
3961
|
+
#
|
3962
|
+
# This setting doesn't apply to RDS Custom or Amazon Aurora.
|
3937
3963
|
# @return [DBInstance]
|
3938
3964
|
def restore(options = {})
|
3939
3965
|
options = options.merge(source_db_instance_identifier: @id)
|
@@ -259,6 +259,12 @@ module Aws::RDS
|
|
259
259
|
data[:snapshot_target]
|
260
260
|
end
|
261
261
|
|
262
|
+
# Specifies the storage throughput for the DB snapshot.
|
263
|
+
# @return [Integer]
|
264
|
+
def storage_throughput
|
265
|
+
data[:storage_throughput]
|
266
|
+
end
|
267
|
+
|
262
268
|
# @!endgroup
|
263
269
|
|
264
270
|
# @return [Client]
|
@@ -653,6 +659,7 @@ module Aws::RDS
|
|
653
659
|
# custom_iam_instance_profile: "String",
|
654
660
|
# backup_target: "String",
|
655
661
|
# network_type: "String",
|
662
|
+
# storage_throughput: 1,
|
656
663
|
# })
|
657
664
|
# @param [Hash] options ({})
|
658
665
|
# @option options [required, String] :db_instance_identifier
|
@@ -789,8 +796,7 @@ module Aws::RDS
|
|
789
796
|
#
|
790
797
|
# The provisioned IOPS value must follow the requirements for your
|
791
798
|
# database engine. For more information, see [Amazon RDS Provisioned
|
792
|
-
# IOPS
|
793
|
-
# Guide.*
|
799
|
+
# IOPS storage][1] in the *Amazon RDS User Guide.*
|
794
800
|
#
|
795
801
|
# Constraints: Must be an integer greater than 1000.
|
796
802
|
#
|
@@ -816,10 +822,10 @@ module Aws::RDS
|
|
816
822
|
# @option options [String] :storage_type
|
817
823
|
# Specifies the storage type to be associated with the DB instance.
|
818
824
|
#
|
819
|
-
# Valid values: `
|
825
|
+
# Valid values: `gp2 | gp3 | io1 | standard`
|
820
826
|
#
|
821
|
-
# If you specify `io1`, you must also include a value for the
|
822
|
-
# parameter.
|
827
|
+
# If you specify `io1` or `gp3`, you must also include a value for the
|
828
|
+
# `Iops` parameter.
|
823
829
|
#
|
824
830
|
# Default: `io1` if the `Iops` parameter is specified, otherwise `gp2`
|
825
831
|
# @option options [String] :tde_credential_arn
|
@@ -1009,6 +1015,10 @@ module Aws::RDS
|
|
1009
1015
|
#
|
1010
1016
|
#
|
1011
1017
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
|
1018
|
+
# @option options [Integer] :storage_throughput
|
1019
|
+
# Specifies the storage throughput value for the DB instance.
|
1020
|
+
#
|
1021
|
+
# This setting doesn't apply to RDS Custom or Amazon Aurora.
|
1012
1022
|
# @return [DBInstance]
|
1013
1023
|
def restore(options = {})
|
1014
1024
|
options = options.merge(db_snapshot_identifier: @snapshot_id)
|
data/lib/aws-sdk-rds/resource.rb
CHANGED
@@ -662,9 +662,8 @@ module Aws::RDS
|
|
662
662
|
# be initially allocated for each DB instance in the Multi-AZ DB
|
663
663
|
# cluster.
|
664
664
|
#
|
665
|
-
# For information about valid
|
666
|
-
# IOPS storage
|
667
|
-
# Guide*.
|
665
|
+
# For information about valid IOPS values, see [Amazon RDS Provisioned
|
666
|
+
# IOPS storage][1] in the *Amazon RDS User Guide*.
|
668
667
|
#
|
669
668
|
# This setting is required to create a Multi-AZ DB cluster.
|
670
669
|
#
|
@@ -993,6 +992,7 @@ module Aws::RDS
|
|
993
992
|
# custom_iam_instance_profile: "String",
|
994
993
|
# backup_target: "String",
|
995
994
|
# network_type: "String",
|
995
|
+
# storage_throughput: 1,
|
996
996
|
# })
|
997
997
|
# @param [Hash] options ({})
|
998
998
|
# @option options [String] :db_name
|
@@ -1139,8 +1139,8 @@ module Aws::RDS
|
|
1139
1139
|
# Constraints to the amount of storage for each storage type are the
|
1140
1140
|
# following:
|
1141
1141
|
#
|
1142
|
-
# * General Purpose (SSD) storage (gp2): Must be an integer from 40
|
1143
|
-
# 65536 for RDS Custom for Oracle, 16384 for RDS Custom for SQL
|
1142
|
+
# * General Purpose (SSD) storage (gp2, gp3): Must be an integer from 40
|
1143
|
+
# to 65536 for RDS Custom for Oracle, 16384 for RDS Custom for SQL
|
1144
1144
|
# Server.
|
1145
1145
|
#
|
1146
1146
|
# * Provisioned IOPS storage (io1): Must be an integer from 40 to 65536
|
@@ -1151,8 +1151,8 @@ module Aws::RDS
|
|
1151
1151
|
# Constraints to the amount of storage for each storage type are the
|
1152
1152
|
# following:
|
1153
1153
|
#
|
1154
|
-
# * General Purpose (SSD) storage (gp2): Must be an integer from 20
|
1155
|
-
# 65536.
|
1154
|
+
# * General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20
|
1155
|
+
# to 65536.
|
1156
1156
|
#
|
1157
1157
|
# * Provisioned IOPS storage (io1): Must be an integer from 100 to
|
1158
1158
|
# 65536.
|
@@ -1164,8 +1164,8 @@ module Aws::RDS
|
|
1164
1164
|
# Constraints to the amount of storage for each storage type are the
|
1165
1165
|
# following:
|
1166
1166
|
#
|
1167
|
-
# * General Purpose (SSD) storage (gp2): Must be an integer from 20
|
1168
|
-
# 65536.
|
1167
|
+
# * General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20
|
1168
|
+
# to 65536.
|
1169
1169
|
#
|
1170
1170
|
# * Provisioned IOPS storage (io1): Must be an integer from 100 to
|
1171
1171
|
# 65536.
|
@@ -1177,8 +1177,8 @@ module Aws::RDS
|
|
1177
1177
|
# Constraints to the amount of storage for each storage type are the
|
1178
1178
|
# following:
|
1179
1179
|
#
|
1180
|
-
# * General Purpose (SSD) storage (gp2): Must be an integer from 20
|
1181
|
-
# 65536.
|
1180
|
+
# * General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20
|
1181
|
+
# to 65536.
|
1182
1182
|
#
|
1183
1183
|
# * Provisioned IOPS storage (io1): Must be an integer from 100 to
|
1184
1184
|
# 65536.
|
@@ -1190,8 +1190,8 @@ module Aws::RDS
|
|
1190
1190
|
# Constraints to the amount of storage for each storage type are the
|
1191
1191
|
# following:
|
1192
1192
|
#
|
1193
|
-
# * General Purpose (SSD) storage (gp2): Must be an integer from 20
|
1194
|
-
# 65536.
|
1193
|
+
# * General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20
|
1194
|
+
# to 65536.
|
1195
1195
|
#
|
1196
1196
|
# * Provisioned IOPS storage (io1): Must be an integer from 100 to
|
1197
1197
|
# 65536.
|
@@ -1203,7 +1203,7 @@ module Aws::RDS
|
|
1203
1203
|
# Constraints to the amount of storage for each storage type are the
|
1204
1204
|
# following:
|
1205
1205
|
#
|
1206
|
-
# * General Purpose (SSD) storage (gp2):
|
1206
|
+
# * General Purpose (SSD) storage (gp2, gp3):
|
1207
1207
|
#
|
1208
1208
|
# * Enterprise and Standard editions: Must be an integer from 20 to
|
1209
1209
|
# 16384.
|
@@ -1593,8 +1593,8 @@ module Aws::RDS
|
|
1593
1593
|
# @option options [Integer] :iops
|
1594
1594
|
# The amount of Provisioned IOPS (input/output operations per second) to
|
1595
1595
|
# be initially allocated for the DB instance. For information about
|
1596
|
-
# valid
|
1597
|
-
#
|
1596
|
+
# valid IOPS values, see [Amazon RDS DB instance storage][1] in the
|
1597
|
+
# *Amazon RDS User Guide*.
|
1598
1598
|
#
|
1599
1599
|
# Constraints: For MariaDB, MySQL, Oracle, and PostgreSQL DB instances,
|
1600
1600
|
# must be a multiple between .5 and 50 of the storage amount for the DB
|
@@ -1607,7 +1607,7 @@ module Aws::RDS
|
|
1607
1607
|
#
|
1608
1608
|
#
|
1609
1609
|
#
|
1610
|
-
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html
|
1610
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html
|
1611
1611
|
# @option options [String] :option_group_name
|
1612
1612
|
# A value that indicates that the DB instance should be associated with
|
1613
1613
|
# the specified option group.
|
@@ -1680,10 +1680,10 @@ module Aws::RDS
|
|
1680
1680
|
# @option options [String] :storage_type
|
1681
1681
|
# Specifies the storage type to be associated with the DB instance.
|
1682
1682
|
#
|
1683
|
-
# Valid values: `
|
1683
|
+
# Valid values: `gp2 | gp3 | io1 | standard`
|
1684
1684
|
#
|
1685
|
-
# If you specify `io1`, you must also include a value for the
|
1686
|
-
# parameter.
|
1685
|
+
# If you specify `io1` or `gp3`, you must also include a value for the
|
1686
|
+
# `Iops` parameter.
|
1687
1687
|
#
|
1688
1688
|
# Default: `io1` if the `Iops` parameter is specified, otherwise `gp2`
|
1689
1689
|
#
|
@@ -2042,6 +2042,10 @@ module Aws::RDS
|
|
2042
2042
|
#
|
2043
2043
|
#
|
2044
2044
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
|
2045
|
+
# @option options [Integer] :storage_throughput
|
2046
|
+
# Specifies the storage throughput value for the DB instance.
|
2047
|
+
#
|
2048
|
+
# This setting doesn't apply to RDS Custom or Amazon Aurora.
|
2045
2049
|
# @return [DBInstance]
|
2046
2050
|
def create_db_instance(options = {})
|
2047
2051
|
resp = @client.create_db_instance(options)
|
@@ -2551,9 +2555,10 @@ module Aws::RDS
|
|
2551
2555
|
# })
|
2552
2556
|
# @param [Hash] options ({})
|
2553
2557
|
# @option options [String] :db_cluster_identifier
|
2554
|
-
# The user-supplied DB cluster identifier
|
2555
|
-
#
|
2556
|
-
# This parameter isn't
|
2558
|
+
# The user-supplied DB cluster identifier or the Amazon Resource Name
|
2559
|
+
# (ARN) of the DB cluster. If this parameter is specified, information
|
2560
|
+
# from only the specific DB cluster is returned. This parameter isn't
|
2561
|
+
# case-sensitive.
|
2557
2562
|
#
|
2558
2563
|
# Constraints:
|
2559
2564
|
#
|
@@ -2794,9 +2799,10 @@ module Aws::RDS
|
|
2794
2799
|
# })
|
2795
2800
|
# @param [Hash] options ({})
|
2796
2801
|
# @option options [String] :db_instance_identifier
|
2797
|
-
# The user-supplied instance identifier
|
2798
|
-
#
|
2799
|
-
# parameter isn't
|
2802
|
+
# The user-supplied instance identifier or the Amazon Resource Name
|
2803
|
+
# (ARN) of the DB instance. If this parameter is specified, information
|
2804
|
+
# from only the specific DB instance is returned. This parameter isn't
|
2805
|
+
# case-sensitive.
|
2800
2806
|
#
|
2801
2807
|
# Constraints:
|
2802
2808
|
#
|