aws-sdk-rds 1.19.0 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,6 +30,8 @@ module Aws::RDS
30
30
  AvailabilityZone = Shapes::StructureShape.new(name: 'AvailabilityZone')
31
31
  AvailabilityZoneList = Shapes::ListShape.new(name: 'AvailabilityZoneList')
32
32
  AvailabilityZones = Shapes::ListShape.new(name: 'AvailabilityZones')
33
+ AvailableProcessorFeature = Shapes::StructureShape.new(name: 'AvailableProcessorFeature')
34
+ AvailableProcessorFeatureList = Shapes::ListShape.new(name: 'AvailableProcessorFeatureList')
33
35
  BacktrackDBClusterMessage = Shapes::StructureShape.new(name: 'BacktrackDBClusterMessage')
34
36
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
35
37
  BooleanOptional = Shapes::BooleanShape.new(name: 'BooleanOptional')
@@ -319,6 +321,8 @@ module Aws::RDS
319
321
  PendingMaintenanceActionsMessage = Shapes::StructureShape.new(name: 'PendingMaintenanceActionsMessage')
320
322
  PendingModifiedValues = Shapes::StructureShape.new(name: 'PendingModifiedValues')
321
323
  PointInTimeRestoreNotEnabledFault = Shapes::StructureShape.new(name: 'PointInTimeRestoreNotEnabledFault')
324
+ ProcessorFeature = Shapes::StructureShape.new(name: 'ProcessorFeature')
325
+ ProcessorFeatureList = Shapes::ListShape.new(name: 'ProcessorFeatureList')
322
326
  PromoteReadReplicaDBClusterMessage = Shapes::StructureShape.new(name: 'PromoteReadReplicaDBClusterMessage')
323
327
  PromoteReadReplicaDBClusterResult = Shapes::StructureShape.new(name: 'PromoteReadReplicaDBClusterResult')
324
328
  PromoteReadReplicaMessage = Shapes::StructureShape.new(name: 'PromoteReadReplicaMessage')
@@ -460,6 +464,13 @@ module Aws::RDS
460
464
 
461
465
  AvailabilityZones.member = Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone")
462
466
 
467
+ AvailableProcessorFeature.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
468
+ AvailableProcessorFeature.add_member(:default_value, Shapes::ShapeRef.new(shape: String, location_name: "DefaultValue"))
469
+ AvailableProcessorFeature.add_member(:allowed_values, Shapes::ShapeRef.new(shape: String, location_name: "AllowedValues"))
470
+ AvailableProcessorFeature.struct_class = Types::AvailableProcessorFeature
471
+
472
+ AvailableProcessorFeatureList.member = Shapes::ShapeRef.new(shape: AvailableProcessorFeature, location_name: "AvailableProcessorFeature")
473
+
463
474
  BacktrackDBClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
464
475
  BacktrackDBClusterMessage.add_member(:backtrack_to, Shapes::ShapeRef.new(shape: TStamp, required: true, location_name: "BacktrackTo"))
465
476
  BacktrackDBClusterMessage.add_member(:force, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "Force"))
@@ -632,6 +643,7 @@ module Aws::RDS
632
643
  CreateDBInstanceMessage.add_member(:enable_performance_insights, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnablePerformanceInsights"))
633
644
  CreateDBInstanceMessage.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
634
645
  CreateDBInstanceMessage.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
646
+ CreateDBInstanceMessage.add_member(:processor_features, Shapes::ShapeRef.new(shape: ProcessorFeatureList, location_name: "ProcessorFeatures"))
635
647
  CreateDBInstanceMessage.struct_class = Types::CreateDBInstanceMessage
636
648
 
637
649
  CreateDBInstanceReadReplicaMessage.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBInstanceIdentifier"))
@@ -656,6 +668,8 @@ module Aws::RDS
656
668
  CreateDBInstanceReadReplicaMessage.add_member(:enable_performance_insights, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnablePerformanceInsights"))
657
669
  CreateDBInstanceReadReplicaMessage.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
658
670
  CreateDBInstanceReadReplicaMessage.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
671
+ CreateDBInstanceReadReplicaMessage.add_member(:processor_features, Shapes::ShapeRef.new(shape: ProcessorFeatureList, location_name: "ProcessorFeatures"))
672
+ CreateDBInstanceReadReplicaMessage.add_member(:use_default_processor_features, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "UseDefaultProcessorFeatures"))
659
673
  CreateDBInstanceReadReplicaMessage.add_member(:destination_region, Shapes::ShapeRef.new(shape: String, location_name: "DestinationRegion", metadata: {"documented"=>false}))
660
674
  CreateDBInstanceReadReplicaMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
661
675
  CreateDBInstanceReadReplicaMessage.struct_class = Types::CreateDBInstanceReadReplicaMessage
@@ -932,6 +946,7 @@ module Aws::RDS
932
946
  DBInstance.add_member(:performance_insights_enabled, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "PerformanceInsightsEnabled"))
933
947
  DBInstance.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
934
948
  DBInstance.add_member(:enabled_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnabledCloudwatchLogsExports"))
949
+ DBInstance.add_member(:processor_features, Shapes::ShapeRef.new(shape: ProcessorFeatureList, location_name: "ProcessorFeatures"))
935
950
  DBInstance.struct_class = Types::DBInstance
936
951
 
937
952
  DBInstanceList.member = Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance")
@@ -1022,6 +1037,7 @@ module Aws::RDS
1022
1037
  DBSnapshot.add_member(:db_snapshot_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBSnapshotArn"))
1023
1038
  DBSnapshot.add_member(:timezone, Shapes::ShapeRef.new(shape: String, location_name: "Timezone"))
1024
1039
  DBSnapshot.add_member(:iam_database_authentication_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "IAMDatabaseAuthenticationEnabled"))
1040
+ DBSnapshot.add_member(:processor_features, Shapes::ShapeRef.new(shape: ProcessorFeatureList, location_name: "ProcessorFeatures"))
1025
1041
  DBSnapshot.struct_class = Types::DBSnapshot
1026
1042
 
1027
1043
  DBSnapshotAttribute.add_member(:attribute_name, Shapes::ShapeRef.new(shape: String, location_name: "AttributeName"))
@@ -1520,6 +1536,8 @@ module Aws::RDS
1520
1536
  ModifyDBInstanceMessage.add_member(:enable_performance_insights, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnablePerformanceInsights"))
1521
1537
  ModifyDBInstanceMessage.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
1522
1538
  ModifyDBInstanceMessage.add_member(:cloudwatch_logs_export_configuration, Shapes::ShapeRef.new(shape: CloudwatchLogsExportConfiguration, location_name: "CloudwatchLogsExportConfiguration"))
1539
+ ModifyDBInstanceMessage.add_member(:processor_features, Shapes::ShapeRef.new(shape: ProcessorFeatureList, location_name: "ProcessorFeatures"))
1540
+ ModifyDBInstanceMessage.add_member(:use_default_processor_features, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "UseDefaultProcessorFeatures"))
1523
1541
  ModifyDBInstanceMessage.struct_class = Types::ModifyDBInstanceMessage
1524
1542
 
1525
1543
  ModifyDBInstanceResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
@@ -1699,6 +1717,7 @@ module Aws::RDS
1699
1717
  OrderableDBInstanceOption.add_member(:max_iops_per_db_instance, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxIopsPerDbInstance"))
1700
1718
  OrderableDBInstanceOption.add_member(:min_iops_per_gib, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MinIopsPerGib"))
1701
1719
  OrderableDBInstanceOption.add_member(:max_iops_per_gib, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MaxIopsPerGib"))
1720
+ OrderableDBInstanceOption.add_member(:available_processor_features, Shapes::ShapeRef.new(shape: AvailableProcessorFeatureList, location_name: "AvailableProcessorFeatures"))
1702
1721
  OrderableDBInstanceOption.struct_class = Types::OrderableDBInstanceOption
1703
1722
 
1704
1723
  OrderableDBInstanceOptionsList.member = Shapes::ShapeRef.new(shape: OrderableDBInstanceOption, location_name: "OrderableDBInstanceOption")
@@ -1755,8 +1774,15 @@ module Aws::RDS
1755
1774
  PendingModifiedValues.add_member(:ca_certificate_identifier, Shapes::ShapeRef.new(shape: String, location_name: "CACertificateIdentifier"))
1756
1775
  PendingModifiedValues.add_member(:db_subnet_group_name, Shapes::ShapeRef.new(shape: String, location_name: "DBSubnetGroupName"))
1757
1776
  PendingModifiedValues.add_member(:pending_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: PendingCloudwatchLogsExports, location_name: "PendingCloudwatchLogsExports"))
1777
+ PendingModifiedValues.add_member(:processor_features, Shapes::ShapeRef.new(shape: ProcessorFeatureList, location_name: "ProcessorFeatures"))
1758
1778
  PendingModifiedValues.struct_class = Types::PendingModifiedValues
1759
1779
 
1780
+ ProcessorFeature.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
1781
+ ProcessorFeature.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
1782
+ ProcessorFeature.struct_class = Types::ProcessorFeature
1783
+
1784
+ ProcessorFeatureList.member = Shapes::ShapeRef.new(shape: ProcessorFeature, location_name: "ProcessorFeature")
1785
+
1760
1786
  PromoteReadReplicaDBClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
1761
1787
  PromoteReadReplicaDBClusterMessage.struct_class = Types::PromoteReadReplicaDBClusterMessage
1762
1788
 
@@ -1970,6 +1996,8 @@ module Aws::RDS
1970
1996
  RestoreDBInstanceFromDBSnapshotMessage.add_member(:domain_iam_role_name, Shapes::ShapeRef.new(shape: String, location_name: "DomainIAMRoleName"))
1971
1997
  RestoreDBInstanceFromDBSnapshotMessage.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
1972
1998
  RestoreDBInstanceFromDBSnapshotMessage.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
1999
+ RestoreDBInstanceFromDBSnapshotMessage.add_member(:processor_features, Shapes::ShapeRef.new(shape: ProcessorFeatureList, location_name: "ProcessorFeatures"))
2000
+ RestoreDBInstanceFromDBSnapshotMessage.add_member(:use_default_processor_features, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "UseDefaultProcessorFeatures"))
1973
2001
  RestoreDBInstanceFromDBSnapshotMessage.struct_class = Types::RestoreDBInstanceFromDBSnapshotMessage
1974
2002
 
1975
2003
  RestoreDBInstanceFromDBSnapshotResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
@@ -2014,6 +2042,8 @@ module Aws::RDS
2014
2042
  RestoreDBInstanceFromS3Message.add_member(:enable_performance_insights, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnablePerformanceInsights"))
2015
2043
  RestoreDBInstanceFromS3Message.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
2016
2044
  RestoreDBInstanceFromS3Message.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
2045
+ RestoreDBInstanceFromS3Message.add_member(:processor_features, Shapes::ShapeRef.new(shape: ProcessorFeatureList, location_name: "ProcessorFeatures"))
2046
+ RestoreDBInstanceFromS3Message.add_member(:use_default_processor_features, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "UseDefaultProcessorFeatures"))
2017
2047
  RestoreDBInstanceFromS3Message.struct_class = Types::RestoreDBInstanceFromS3Message
2018
2048
 
2019
2049
  RestoreDBInstanceFromS3Result.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
@@ -2044,6 +2074,8 @@ module Aws::RDS
2044
2074
  RestoreDBInstanceToPointInTimeMessage.add_member(:domain_iam_role_name, Shapes::ShapeRef.new(shape: String, location_name: "DomainIAMRoleName"))
2045
2075
  RestoreDBInstanceToPointInTimeMessage.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
2046
2076
  RestoreDBInstanceToPointInTimeMessage.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
2077
+ RestoreDBInstanceToPointInTimeMessage.add_member(:processor_features, Shapes::ShapeRef.new(shape: ProcessorFeatureList, location_name: "ProcessorFeatures"))
2078
+ RestoreDBInstanceToPointInTimeMessage.add_member(:use_default_processor_features, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "UseDefaultProcessorFeatures"))
2047
2079
  RestoreDBInstanceToPointInTimeMessage.struct_class = Types::RestoreDBInstanceToPointInTimeMessage
2048
2080
 
2049
2081
  RestoreDBInstanceToPointInTimeResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
@@ -2118,6 +2150,7 @@ module Aws::RDS
2118
2150
  UpgradeTarget.struct_class = Types::UpgradeTarget
2119
2151
 
2120
2152
  ValidDBInstanceModificationsMessage.add_member(:storage, Shapes::ShapeRef.new(shape: ValidStorageOptionsList, location_name: "Storage"))
2153
+ ValidDBInstanceModificationsMessage.add_member(:valid_processor_features, Shapes::ShapeRef.new(shape: AvailableProcessorFeatureList, location_name: "ValidProcessorFeatures"))
2121
2154
  ValidDBInstanceModificationsMessage.struct_class = Types::ValidDBInstanceModificationsMessage
2122
2155
 
2123
2156
  ValidStorageOptions.add_member(:storage_type, Shapes::ShapeRef.new(shape: String, location_name: "StorageType"))
@@ -1065,9 +1065,9 @@ module Aws::RDS
1065
1065
  # @option options [Integer] :port
1066
1066
  # The port number on which the new DB cluster accepts connections.
1067
1067
  #
1068
- # Constraints: Value must be `1150-65535`
1068
+ # Constraints: A value from `1150-65535`.
1069
1069
  #
1070
- # Default: The same port as the original DB cluster.
1070
+ # Default: The default port for the engine.
1071
1071
  # @option options [String] :db_subnet_group_name
1072
1072
  # The DB subnet group name to use for the new DB cluster.
1073
1073
  #
@@ -429,6 +429,13 @@ module Aws::RDS
429
429
  data[:enabled_cloudwatch_logs_exports]
430
430
  end
431
431
 
432
+ # The number of CPU cores and the number of threads per core for the DB
433
+ # instance class of the DB instance.
434
+ # @return [Array<Types::ProcessorFeature>]
435
+ def processor_features
436
+ data[:processor_features]
437
+ end
438
+
432
439
  # @!endgroup
433
440
 
434
441
  # @return [Client]
@@ -610,6 +617,12 @@ module Aws::RDS
610
617
  # enable_performance_insights: false,
611
618
  # performance_insights_kms_key_id: "String",
612
619
  # enable_cloudwatch_logs_exports: ["String"],
620
+ # processor_features: [
621
+ # {
622
+ # name: "String",
623
+ # value: "String",
624
+ # },
625
+ # ],
613
626
  # })
614
627
  # @param [Hash] options ({})
615
628
  # @option options [String] :db_name
@@ -1471,6 +1484,9 @@ module Aws::RDS
1471
1484
  # @option options [Array<String>] :enable_cloudwatch_logs_exports
1472
1485
  # The list of log types that need to be enabled for exporting to
1473
1486
  # CloudWatch Logs.
1487
+ # @option options [Array<Types::ProcessorFeature>] :processor_features
1488
+ # The number of CPU cores and the number of threads per core for the DB
1489
+ # instance class of the DB instance.
1474
1490
  # @return [DBInstance]
1475
1491
  def create(options = {})
1476
1492
  options = options.merge(db_instance_identifier: @id)
@@ -1511,6 +1527,13 @@ module Aws::RDS
1511
1527
  # enable_performance_insights: false,
1512
1528
  # performance_insights_kms_key_id: "String",
1513
1529
  # enable_cloudwatch_logs_exports: ["String"],
1530
+ # processor_features: [
1531
+ # {
1532
+ # name: "String",
1533
+ # value: "String",
1534
+ # },
1535
+ # ],
1536
+ # use_default_processor_features: false,
1514
1537
  # source_region: "String",
1515
1538
  # })
1516
1539
  # @param [Hash] options ({})
@@ -1750,6 +1773,12 @@ module Aws::RDS
1750
1773
  # @option options [Array<String>] :enable_cloudwatch_logs_exports
1751
1774
  # The list of logs that the new DB instance is to export to CloudWatch
1752
1775
  # Logs.
1776
+ # @option options [Array<Types::ProcessorFeature>] :processor_features
1777
+ # The number of CPU cores and the number of threads per core for the DB
1778
+ # instance class of the DB instance.
1779
+ # @option options [Boolean] :use_default_processor_features
1780
+ # A value that specifies that the DB instance class of the DB instance
1781
+ # uses its default processor features.
1753
1782
  # @option options [String] :destination_region
1754
1783
  # @option options [String] :source_region
1755
1784
  # The source region of the snapshot. This is only needed when the
@@ -1906,6 +1935,13 @@ module Aws::RDS
1906
1935
  # enable_log_types: ["String"],
1907
1936
  # disable_log_types: ["String"],
1908
1937
  # },
1938
+ # processor_features: [
1939
+ # {
1940
+ # name: "String",
1941
+ # value: "String",
1942
+ # },
1943
+ # ],
1944
+ # use_default_processor_features: false,
1909
1945
  # })
1910
1946
  # @param [Hash] options ({})
1911
1947
  # @option options [Integer] :allocated_storage
@@ -2402,6 +2438,12 @@ module Aws::RDS
2402
2438
  # @option options [Types::CloudwatchLogsExportConfiguration] :cloudwatch_logs_export_configuration
2403
2439
  # The configuration setting for the log types to be enabled for export
2404
2440
  # to CloudWatch Logs for a specific DB instance.
2441
+ # @option options [Array<Types::ProcessorFeature>] :processor_features
2442
+ # The number of CPU cores and the number of threads per core for the DB
2443
+ # instance class of the DB instance.
2444
+ # @option options [Boolean] :use_default_processor_features
2445
+ # A value that specifies that the DB instance class of the DB instance
2446
+ # uses its default processor features.
2405
2447
  # @return [DBInstance]
2406
2448
  def modify(options = {})
2407
2449
  options = options.merge(db_instance_identifier: @id)
@@ -2520,6 +2562,13 @@ module Aws::RDS
2520
2562
  # domain_iam_role_name: "String",
2521
2563
  # enable_iam_database_authentication: false,
2522
2564
  # enable_cloudwatch_logs_exports: ["String"],
2565
+ # processor_features: [
2566
+ # {
2567
+ # name: "String",
2568
+ # value: "String",
2569
+ # },
2570
+ # ],
2571
+ # use_default_processor_features: false,
2523
2572
  # })
2524
2573
  # @param [Hash] options ({})
2525
2574
  # @option options [required, String] :target_db_instance_identifier
@@ -2720,6 +2769,12 @@ module Aws::RDS
2720
2769
  # @option options [Array<String>] :enable_cloudwatch_logs_exports
2721
2770
  # The list of logs that the restored DB instance is to export to
2722
2771
  # CloudWatch Logs.
2772
+ # @option options [Array<Types::ProcessorFeature>] :processor_features
2773
+ # The number of CPU cores and the number of threads per core for the DB
2774
+ # instance class of the DB instance.
2775
+ # @option options [Boolean] :use_default_processor_features
2776
+ # A value that specifies that the DB instance class of the DB instance
2777
+ # uses its default processor features.
2723
2778
  # @return [DBInstance]
2724
2779
  def restore(options = {})
2725
2780
  options = options.merge(source_db_instance_identifier: @id)
@@ -197,6 +197,13 @@ module Aws::RDS
197
197
  data[:iam_database_authentication_enabled]
198
198
  end
199
199
 
200
+ # The number of CPU cores and the number of threads per core for the DB
201
+ # instance class of the DB instance when the DB snapshot was created.
202
+ # @return [Array<Types::ProcessorFeature>]
203
+ def processor_features
204
+ data[:processor_features]
205
+ end
206
+
200
207
  # @!endgroup
201
208
 
202
209
  # @return [Client]
@@ -548,6 +555,13 @@ module Aws::RDS
548
555
  # domain_iam_role_name: "String",
549
556
  # enable_iam_database_authentication: false,
550
557
  # enable_cloudwatch_logs_exports: ["String"],
558
+ # processor_features: [
559
+ # {
560
+ # name: "String",
561
+ # value: "String",
562
+ # },
563
+ # ],
564
+ # use_default_processor_features: false,
551
565
  # })
552
566
  # @param [Hash] options ({})
553
567
  # @option options [required, String] :db_instance_identifier
@@ -741,6 +755,12 @@ module Aws::RDS
741
755
  # @option options [Array<String>] :enable_cloudwatch_logs_exports
742
756
  # The list of logs that the restored DB instance is to export to
743
757
  # CloudWatch Logs.
758
+ # @option options [Array<Types::ProcessorFeature>] :processor_features
759
+ # The number of CPU cores and the number of threads per core for the DB
760
+ # instance class of the DB instance.
761
+ # @option options [Boolean] :use_default_processor_features
762
+ # A value that specifies that the DB instance class of the DB instance
763
+ # uses its default processor features.
744
764
  # @return [DBInstance]
745
765
  def restore(options = {})
746
766
  options = options.merge(db_snapshot_identifier: @snapshot_id)
@@ -420,6 +420,12 @@ module Aws::RDS
420
420
  # enable_performance_insights: false,
421
421
  # performance_insights_kms_key_id: "String",
422
422
  # enable_cloudwatch_logs_exports: ["String"],
423
+ # processor_features: [
424
+ # {
425
+ # name: "String",
426
+ # value: "String",
427
+ # },
428
+ # ],
423
429
  # })
424
430
  # @param [Hash] options ({})
425
431
  # @option options [String] :db_name
@@ -1294,6 +1300,9 @@ module Aws::RDS
1294
1300
  # @option options [Array<String>] :enable_cloudwatch_logs_exports
1295
1301
  # The list of log types that need to be enabled for exporting to
1296
1302
  # CloudWatch Logs.
1303
+ # @option options [Array<Types::ProcessorFeature>] :processor_features
1304
+ # The number of CPU cores and the number of threads per core for the DB
1305
+ # instance class of the DB instance.
1297
1306
  # @return [DBInstance]
1298
1307
  def create_db_instance(options = {})
1299
1308
  resp = @client.create_db_instance(options)
@@ -2569,7 +2578,12 @@ module Aws::RDS
2569
2578
  # Valid Values: `1 | 3 | 31536000 | 94608000`
2570
2579
  # @option options [String] :product_description
2571
2580
  # Product description filter value. Specify this parameter to show only
2572
- # the available offerings matching the specified product description.
2581
+ # the available offerings that contain the specified product
2582
+ # description.
2583
+ #
2584
+ # <note markdown="1"> The results show offerings that partially match the filter value.
2585
+ #
2586
+ # </note>
2573
2587
  # @option options [String] :offering_type
2574
2588
  # The offering type filter value. Specify this parameter to show only
2575
2589
  # the available offerings matching the specified offering type.
@@ -296,7 +296,7 @@ module Aws::RDS
296
296
  # ^
297
297
  #
298
298
  # @!attribute [rw] name
299
- # The name of the availability zone.
299
+ # The name of the Availability Zone.
300
300
  # @return [String]
301
301
  #
302
302
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AvailabilityZone AWS API Documentation
@@ -306,6 +306,40 @@ module Aws::RDS
306
306
  include Aws::Structure
307
307
  end
308
308
 
309
+ # Contains the available processor feature information for the DB
310
+ # instance class of a DB instance.
311
+ #
312
+ # For more information, see [Configuring the Processor of the DB
313
+ # Instance Class][1] in the <i>Amazon RDS User Guide. </i>
314
+ #
315
+ #
316
+ #
317
+ # [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#USER_ConfigureProcessor
318
+ #
319
+ # @!attribute [rw] name
320
+ # The name of the processor feature. Valid names are `coreCount` and
321
+ # `threadsPerCore`.
322
+ # @return [String]
323
+ #
324
+ # @!attribute [rw] default_value
325
+ # The default value for the processor feature of the DB instance
326
+ # class.
327
+ # @return [String]
328
+ #
329
+ # @!attribute [rw] allowed_values
330
+ # The allowed values for the processor feature of the DB instance
331
+ # class.
332
+ # @return [String]
333
+ #
334
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AvailableProcessorFeature AWS API Documentation
335
+ #
336
+ class AvailableProcessorFeature < Struct.new(
337
+ :name,
338
+ :default_value,
339
+ :allowed_values)
340
+ include Aws::Structure
341
+ end
342
+
309
343
  # @note When making an API call, you may pass BacktrackDBClusterMessage
310
344
  # data as a hash:
311
345
  #
@@ -1710,6 +1744,12 @@ module Aws::RDS
1710
1744
  # enable_performance_insights: false,
1711
1745
  # performance_insights_kms_key_id: "String",
1712
1746
  # enable_cloudwatch_logs_exports: ["String"],
1747
+ # processor_features: [
1748
+ # {
1749
+ # name: "String",
1750
+ # value: "String",
1751
+ # },
1752
+ # ],
1713
1753
  # }
1714
1754
  #
1715
1755
  # @!attribute [rw] db_name
@@ -2681,6 +2721,11 @@ module Aws::RDS
2681
2721
  # CloudWatch Logs.
2682
2722
  # @return [Array<String>]
2683
2723
  #
2724
+ # @!attribute [rw] processor_features
2725
+ # The number of CPU cores and the number of threads per core for the
2726
+ # DB instance class of the DB instance.
2727
+ # @return [Array<Types::ProcessorFeature>]
2728
+ #
2684
2729
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceMessage AWS API Documentation
2685
2730
  #
2686
2731
  class CreateDBInstanceMessage < Struct.new(
@@ -2725,7 +2770,8 @@ module Aws::RDS
2725
2770
  :enable_iam_database_authentication,
2726
2771
  :enable_performance_insights,
2727
2772
  :performance_insights_kms_key_id,
2728
- :enable_cloudwatch_logs_exports)
2773
+ :enable_cloudwatch_logs_exports,
2774
+ :processor_features)
2729
2775
  include Aws::Structure
2730
2776
  end
2731
2777
 
@@ -2760,6 +2806,13 @@ module Aws::RDS
2760
2806
  # enable_performance_insights: false,
2761
2807
  # performance_insights_kms_key_id: "String",
2762
2808
  # enable_cloudwatch_logs_exports: ["String"],
2809
+ # processor_features: [
2810
+ # {
2811
+ # name: "String",
2812
+ # value: "String",
2813
+ # },
2814
+ # ],
2815
+ # use_default_processor_features: false,
2763
2816
  # source_region: "String",
2764
2817
  # }
2765
2818
  #
@@ -3076,6 +3129,16 @@ module Aws::RDS
3076
3129
  # Logs.
3077
3130
  # @return [Array<String>]
3078
3131
  #
3132
+ # @!attribute [rw] processor_features
3133
+ # The number of CPU cores and the number of threads per core for the
3134
+ # DB instance class of the DB instance.
3135
+ # @return [Array<Types::ProcessorFeature>]
3136
+ #
3137
+ # @!attribute [rw] use_default_processor_features
3138
+ # A value that specifies that the DB instance class of the DB instance
3139
+ # uses its default processor features.
3140
+ # @return [Boolean]
3141
+ #
3079
3142
  # @!attribute [rw] destination_region
3080
3143
  # @return [String]
3081
3144
  #
@@ -3109,6 +3172,8 @@ module Aws::RDS
3109
3172
  :enable_performance_insights,
3110
3173
  :performance_insights_kms_key_id,
3111
3174
  :enable_cloudwatch_logs_exports,
3175
+ :processor_features,
3176
+ :use_default_processor_features,
3112
3177
  :destination_region,
3113
3178
  :source_region)
3114
3179
  include Aws::Structure
@@ -4752,6 +4817,11 @@ module Aws::RDS
4752
4817
  # CloudWatch Logs.
4753
4818
  # @return [Array<String>]
4754
4819
  #
4820
+ # @!attribute [rw] processor_features
4821
+ # The number of CPU cores and the number of threads per core for the
4822
+ # DB instance class of the DB instance.
4823
+ # @return [Array<Types::ProcessorFeature>]
4824
+ #
4755
4825
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBInstance AWS API Documentation
4756
4826
  #
4757
4827
  class DBInstance < Struct.new(
@@ -4806,7 +4876,8 @@ module Aws::RDS
4806
4876
  :iam_database_authentication_enabled,
4807
4877
  :performance_insights_enabled,
4808
4878
  :performance_insights_kms_key_id,
4809
- :enabled_cloudwatch_logs_exports)
4879
+ :enabled_cloudwatch_logs_exports,
4880
+ :processor_features)
4810
4881
  include Aws::Structure
4811
4882
  end
4812
4883
 
@@ -5199,6 +5270,12 @@ module Aws::RDS
5199
5270
  # to database accounts is enabled, and otherwise false.
5200
5271
  # @return [Boolean]
5201
5272
  #
5273
+ # @!attribute [rw] processor_features
5274
+ # The number of CPU cores and the number of threads per core for the
5275
+ # DB instance class of the DB instance when the DB snapshot was
5276
+ # created.
5277
+ # @return [Array<Types::ProcessorFeature>]
5278
+ #
5202
5279
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSnapshot AWS API Documentation
5203
5280
  #
5204
5281
  class DBSnapshot < Struct.new(
@@ -5227,7 +5304,8 @@ module Aws::RDS
5227
5304
  :kms_key_id,
5228
5305
  :db_snapshot_arn,
5229
5306
  :timezone,
5230
- :iam_database_authentication_enabled)
5307
+ :iam_database_authentication_enabled,
5308
+ :processor_features)
5231
5309
  include Aws::Structure
5232
5310
  end
5233
5311
 
@@ -7705,8 +7783,12 @@ module Aws::RDS
7705
7783
  #
7706
7784
  # @!attribute [rw] product_description
7707
7785
  # Product description filter value. Specify this parameter to show
7708
- # only the available offerings matching the specified product
7786
+ # only the available offerings that contain the specified product
7709
7787
  # description.
7788
+ #
7789
+ # <note markdown="1"> The results show offerings that partially match the filter value.
7790
+ #
7791
+ # </note>
7710
7792
  # @return [String]
7711
7793
  #
7712
7794
  # @!attribute [rw] offering_type
@@ -8806,6 +8888,13 @@ module Aws::RDS
8806
8888
  # enable_log_types: ["String"],
8807
8889
  # disable_log_types: ["String"],
8808
8890
  # },
8891
+ # processor_features: [
8892
+ # {
8893
+ # name: "String",
8894
+ # value: "String",
8895
+ # },
8896
+ # ],
8897
+ # use_default_processor_features: false,
8809
8898
  # }
8810
8899
  #
8811
8900
  # @!attribute [rw] db_instance_identifier
@@ -9391,6 +9480,16 @@ module Aws::RDS
9391
9480
  # to CloudWatch Logs for a specific DB instance.
9392
9481
  # @return [Types::CloudwatchLogsExportConfiguration]
9393
9482
  #
9483
+ # @!attribute [rw] processor_features
9484
+ # The number of CPU cores and the number of threads per core for the
9485
+ # DB instance class of the DB instance.
9486
+ # @return [Array<Types::ProcessorFeature>]
9487
+ #
9488
+ # @!attribute [rw] use_default_processor_features
9489
+ # A value that specifies that the DB instance class of the DB instance
9490
+ # uses its default processor features.
9491
+ # @return [Boolean]
9492
+ #
9394
9493
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstanceMessage AWS API Documentation
9395
9494
  #
9396
9495
  class ModifyDBInstanceMessage < Struct.new(
@@ -9429,7 +9528,9 @@ module Aws::RDS
9429
9528
  :enable_iam_database_authentication,
9430
9529
  :enable_performance_insights,
9431
9530
  :performance_insights_kms_key_id,
9432
- :cloudwatch_logs_export_configuration)
9531
+ :cloudwatch_logs_export_configuration,
9532
+ :processor_features,
9533
+ :use_default_processor_features)
9433
9534
  include Aws::Structure
9434
9535
  end
9435
9536
 
@@ -10396,6 +10497,11 @@ module Aws::RDS
10396
10497
  # Maximum provisioned IOPS per GiB for a DB instance.
10397
10498
  # @return [Float]
10398
10499
  #
10500
+ # @!attribute [rw] available_processor_features
10501
+ # A list of the available processor features for the DB instance class
10502
+ # of a DB instance.
10503
+ # @return [Array<Types::AvailableProcessorFeature>]
10504
+ #
10399
10505
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OrderableDBInstanceOption AWS API Documentation
10400
10506
  #
10401
10507
  class OrderableDBInstanceOption < Struct.new(
@@ -10418,7 +10524,8 @@ module Aws::RDS
10418
10524
  :min_iops_per_db_instance,
10419
10525
  :max_iops_per_db_instance,
10420
10526
  :min_iops_per_gib,
10421
- :max_iops_per_gib)
10527
+ :max_iops_per_gib,
10528
+ :available_processor_features)
10422
10529
  include Aws::Structure
10423
10530
  end
10424
10531
 
@@ -10692,6 +10799,11 @@ module Aws::RDS
10692
10799
  # or deactivated.
10693
10800
  # @return [Types::PendingCloudwatchLogsExports]
10694
10801
  #
10802
+ # @!attribute [rw] processor_features
10803
+ # The number of CPU cores and the number of threads per core for the
10804
+ # DB instance class of the DB instance.
10805
+ # @return [Array<Types::ProcessorFeature>]
10806
+ #
10695
10807
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PendingModifiedValues AWS API Documentation
10696
10808
  #
10697
10809
  class PendingModifiedValues < Struct.new(
@@ -10708,7 +10820,72 @@ module Aws::RDS
10708
10820
  :storage_type,
10709
10821
  :ca_certificate_identifier,
10710
10822
  :db_subnet_group_name,
10711
- :pending_cloudwatch_logs_exports)
10823
+ :pending_cloudwatch_logs_exports,
10824
+ :processor_features)
10825
+ include Aws::Structure
10826
+ end
10827
+
10828
+ # Contains the processor features of a DB instance class.
10829
+ #
10830
+ # To specify the number of CPU cores, use the `coreCount` feature name
10831
+ # for the `Name` parameter. To specify the number of threads per core,
10832
+ # use the `threadsPerCore` feature name for the `Name` parameter.
10833
+ #
10834
+ # You can set the processor features of the DB instance class for a DB
10835
+ # instance when you call one of the following actions:
10836
+ #
10837
+ # * CreateDBInstance
10838
+ #
10839
+ # * ModifyDBInstance
10840
+ #
10841
+ # * RestoreDBInstanceFromDBSnapshot
10842
+ #
10843
+ # * RestoreDBInstanceFromS3
10844
+ #
10845
+ # * RestoreDBInstanceToPointInTime
10846
+ #
10847
+ # You can view the valid processor values for a particular instance
10848
+ # class by calling the DescribeOrderableDBInstanceOptions action and
10849
+ # specifying the instance class for the `DBInstanceClass` parameter.
10850
+ #
10851
+ # In addition, you can use the following actions for DB instance class
10852
+ # processor information:
10853
+ #
10854
+ # * DescribeDBInstances
10855
+ #
10856
+ # * DescribeDBSnapshots
10857
+ #
10858
+ # * DescribeValidDBInstanceModifications
10859
+ #
10860
+ # For more information, see [Configuring the Processor of the DB
10861
+ # Instance Class][1] in the <i>Amazon RDS User Guide. </i>
10862
+ #
10863
+ #
10864
+ #
10865
+ # [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#USER_ConfigureProcessor
10866
+ #
10867
+ # @note When making an API call, you may pass ProcessorFeature
10868
+ # data as a hash:
10869
+ #
10870
+ # {
10871
+ # name: "String",
10872
+ # value: "String",
10873
+ # }
10874
+ #
10875
+ # @!attribute [rw] name
10876
+ # The name of the processor feature. Valid names are `coreCount` and
10877
+ # `threadsPerCore`.
10878
+ # @return [String]
10879
+ #
10880
+ # @!attribute [rw] value
10881
+ # The value of a processor feature name.
10882
+ # @return [String]
10883
+ #
10884
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ProcessorFeature AWS API Documentation
10885
+ #
10886
+ class ProcessorFeature < Struct.new(
10887
+ :name,
10888
+ :value)
10712
10889
  include Aws::Structure
10713
10890
  end
10714
10891
 
@@ -12049,9 +12226,9 @@ module Aws::RDS
12049
12226
  # @!attribute [rw] port
12050
12227
  # The port number on which the new DB cluster accepts connections.
12051
12228
  #
12052
- # Constraints: Value must be `1150-65535`
12229
+ # Constraints: A value from `1150-65535`.
12053
12230
  #
12054
- # Default: The same port as the original DB cluster.
12231
+ # Default: The default port for the engine.
12055
12232
  # @return [Integer]
12056
12233
  #
12057
12234
  # @!attribute [rw] db_subnet_group_name
@@ -12201,6 +12378,13 @@ module Aws::RDS
12201
12378
  # domain_iam_role_name: "String",
12202
12379
  # enable_iam_database_authentication: false,
12203
12380
  # enable_cloudwatch_logs_exports: ["String"],
12381
+ # processor_features: [
12382
+ # {
12383
+ # name: "String",
12384
+ # value: "String",
12385
+ # },
12386
+ # ],
12387
+ # use_default_processor_features: false,
12204
12388
  # }
12205
12389
  #
12206
12390
  # @!attribute [rw] db_instance_identifier
@@ -12450,6 +12634,16 @@ module Aws::RDS
12450
12634
  # CloudWatch Logs.
12451
12635
  # @return [Array<String>]
12452
12636
  #
12637
+ # @!attribute [rw] processor_features
12638
+ # The number of CPU cores and the number of threads per core for the
12639
+ # DB instance class of the DB instance.
12640
+ # @return [Array<Types::ProcessorFeature>]
12641
+ #
12642
+ # @!attribute [rw] use_default_processor_features
12643
+ # A value that specifies that the DB instance class of the DB instance
12644
+ # uses its default processor features.
12645
+ # @return [Boolean]
12646
+ #
12453
12647
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshotMessage AWS API Documentation
12454
12648
  #
12455
12649
  class RestoreDBInstanceFromDBSnapshotMessage < Struct.new(
@@ -12475,7 +12669,9 @@ module Aws::RDS
12475
12669
  :copy_tags_to_snapshot,
12476
12670
  :domain_iam_role_name,
12477
12671
  :enable_iam_database_authentication,
12478
- :enable_cloudwatch_logs_exports)
12672
+ :enable_cloudwatch_logs_exports,
12673
+ :processor_features,
12674
+ :use_default_processor_features)
12479
12675
  include Aws::Structure
12480
12676
  end
12481
12677
 
@@ -12541,6 +12737,13 @@ module Aws::RDS
12541
12737
  # enable_performance_insights: false,
12542
12738
  # performance_insights_kms_key_id: "String",
12543
12739
  # enable_cloudwatch_logs_exports: ["String"],
12740
+ # processor_features: [
12741
+ # {
12742
+ # name: "String",
12743
+ # value: "String",
12744
+ # },
12745
+ # ],
12746
+ # use_default_processor_features: false,
12544
12747
  # }
12545
12748
  #
12546
12749
  # @!attribute [rw] db_name
@@ -12891,6 +13094,16 @@ module Aws::RDS
12891
13094
  # CloudWatch Logs.
12892
13095
  # @return [Array<String>]
12893
13096
  #
13097
+ # @!attribute [rw] processor_features
13098
+ # The number of CPU cores and the number of threads per core for the
13099
+ # DB instance class of the DB instance.
13100
+ # @return [Array<Types::ProcessorFeature>]
13101
+ #
13102
+ # @!attribute [rw] use_default_processor_features
13103
+ # A value that specifies that the DB instance class of the DB instance
13104
+ # uses its default processor features.
13105
+ # @return [Boolean]
13106
+ #
12894
13107
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromS3Message AWS API Documentation
12895
13108
  #
12896
13109
  class RestoreDBInstanceFromS3Message < Struct.new(
@@ -12932,7 +13145,9 @@ module Aws::RDS
12932
13145
  :s3_ingestion_role_arn,
12933
13146
  :enable_performance_insights,
12934
13147
  :performance_insights_kms_key_id,
12935
- :enable_cloudwatch_logs_exports)
13148
+ :enable_cloudwatch_logs_exports,
13149
+ :processor_features,
13150
+ :use_default_processor_features)
12936
13151
  include Aws::Structure
12937
13152
  end
12938
13153
 
@@ -12984,6 +13199,13 @@ module Aws::RDS
12984
13199
  # domain_iam_role_name: "String",
12985
13200
  # enable_iam_database_authentication: false,
12986
13201
  # enable_cloudwatch_logs_exports: ["String"],
13202
+ # processor_features: [
13203
+ # {
13204
+ # name: "String",
13205
+ # value: "String",
13206
+ # },
13207
+ # ],
13208
+ # use_default_processor_features: false,
12987
13209
  # }
12988
13210
  #
12989
13211
  # @!attribute [rw] source_db_instance_identifier
@@ -13244,6 +13466,16 @@ module Aws::RDS
13244
13466
  # CloudWatch Logs.
13245
13467
  # @return [Array<String>]
13246
13468
  #
13469
+ # @!attribute [rw] processor_features
13470
+ # The number of CPU cores and the number of threads per core for the
13471
+ # DB instance class of the DB instance.
13472
+ # @return [Array<Types::ProcessorFeature>]
13473
+ #
13474
+ # @!attribute [rw] use_default_processor_features
13475
+ # A value that specifies that the DB instance class of the DB instance
13476
+ # uses its default processor features.
13477
+ # @return [Boolean]
13478
+ #
13247
13479
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTimeMessage AWS API Documentation
13248
13480
  #
13249
13481
  class RestoreDBInstanceToPointInTimeMessage < Struct.new(
@@ -13271,7 +13503,9 @@ module Aws::RDS
13271
13503
  :domain,
13272
13504
  :domain_iam_role_name,
13273
13505
  :enable_iam_database_authentication,
13274
- :enable_cloudwatch_logs_exports)
13506
+ :enable_cloudwatch_logs_exports,
13507
+ :processor_features,
13508
+ :use_default_processor_features)
13275
13509
  include Aws::Structure
13276
13510
  end
13277
13511
 
@@ -13615,10 +13849,15 @@ module Aws::RDS
13615
13849
  # Valid storage options for your DB instance.
13616
13850
  # @return [Array<Types::ValidStorageOptions>]
13617
13851
  #
13852
+ # @!attribute [rw] valid_processor_features
13853
+ # Valid processor features for your DB instance.
13854
+ # @return [Array<Types::AvailableProcessorFeature>]
13855
+ #
13618
13856
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ValidDBInstanceModificationsMessage AWS API Documentation
13619
13857
  #
13620
13858
  class ValidDBInstanceModificationsMessage < Struct.new(
13621
- :storage)
13859
+ :storage,
13860
+ :valid_processor_features)
13622
13861
  include Aws::Structure
13623
13862
  end
13624
13863