aws-sdk-rds 1.152.0 → 1.155.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -581,6 +581,8 @@ module Aws::RDS
581
581
  SubscriptionNotFoundFault = Shapes::StructureShape.new(name: 'SubscriptionNotFoundFault')
582
582
  SupportedCharacterSetsList = Shapes::ListShape.new(name: 'SupportedCharacterSetsList')
583
583
  SupportedTimezonesList = Shapes::ListShape.new(name: 'SupportedTimezonesList')
584
+ SwitchoverReadReplicaMessage = Shapes::StructureShape.new(name: 'SwitchoverReadReplicaMessage')
585
+ SwitchoverReadReplicaResult = Shapes::StructureShape.new(name: 'SwitchoverReadReplicaResult')
584
586
  TStamp = Shapes::TimestampShape.new(name: 'TStamp')
585
587
  Tag = Shapes::StructureShape.new(name: 'Tag')
586
588
  TagList = Shapes::ListShape.new(name: 'TagList')
@@ -854,6 +856,7 @@ module Aws::RDS
854
856
  CreateDBClusterMessage.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
855
857
  CreateDBClusterMessage.add_member(:performance_insights_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PerformanceInsightsRetentionPeriod"))
856
858
  CreateDBClusterMessage.add_member(:serverless_v2_scaling_configuration, Shapes::ShapeRef.new(shape: ServerlessV2ScalingConfiguration, location_name: "ServerlessV2ScalingConfiguration"))
859
+ CreateDBClusterMessage.add_member(:network_type, Shapes::ShapeRef.new(shape: String, location_name: "NetworkType"))
857
860
  CreateDBClusterMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
858
861
  CreateDBClusterMessage.struct_class = Types::CreateDBClusterMessage
859
862
 
@@ -1143,6 +1146,7 @@ module Aws::RDS
1143
1146
  DBCluster.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
1144
1147
  DBCluster.add_member(:performance_insights_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PerformanceInsightsRetentionPeriod"))
1145
1148
  DBCluster.add_member(:serverless_v2_scaling_configuration, Shapes::ShapeRef.new(shape: ServerlessV2ScalingConfigurationInfo, location_name: "ServerlessV2ScalingConfiguration"))
1149
+ DBCluster.add_member(:network_type, Shapes::ShapeRef.new(shape: String, location_name: "NetworkType"))
1146
1150
  DBCluster.struct_class = Types::DBCluster
1147
1151
 
1148
1152
  DBClusterAlreadyExistsFault.struct_class = Types::DBClusterAlreadyExistsFault
@@ -1649,6 +1653,7 @@ module Aws::RDS
1649
1653
  DBSnapshot.add_member(:dbi_resource_id, Shapes::ShapeRef.new(shape: String, location_name: "DbiResourceId"))
1650
1654
  DBSnapshot.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
1651
1655
  DBSnapshot.add_member(:original_snapshot_create_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "OriginalSnapshotCreateTime"))
1656
+ DBSnapshot.add_member(:snapshot_database_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "SnapshotDatabaseTime"))
1652
1657
  DBSnapshot.add_member(:snapshot_target, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotTarget"))
1653
1658
  DBSnapshot.struct_class = Types::DBSnapshot
1654
1659
 
@@ -2439,6 +2444,7 @@ module Aws::RDS
2439
2444
  ModifyDBClusterMessage.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
2440
2445
  ModifyDBClusterMessage.add_member(:performance_insights_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PerformanceInsightsRetentionPeriod"))
2441
2446
  ModifyDBClusterMessage.add_member(:serverless_v2_scaling_configuration, Shapes::ShapeRef.new(shape: ServerlessV2ScalingConfiguration, location_name: "ServerlessV2ScalingConfiguration"))
2447
+ ModifyDBClusterMessage.add_member(:network_type, Shapes::ShapeRef.new(shape: String, location_name: "NetworkType"))
2442
2448
  ModifyDBClusterMessage.struct_class = Types::ModifyDBClusterMessage
2443
2449
 
2444
2450
  ModifyDBClusterParameterGroupMessage.add_member(:db_cluster_parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterParameterGroupName"))
@@ -3012,6 +3018,7 @@ module Aws::RDS
3012
3018
  RestoreDBClusterFromS3Message.add_member(:domain, Shapes::ShapeRef.new(shape: String, location_name: "Domain"))
3013
3019
  RestoreDBClusterFromS3Message.add_member(:domain_iam_role_name, Shapes::ShapeRef.new(shape: String, location_name: "DomainIAMRoleName"))
3014
3020
  RestoreDBClusterFromS3Message.add_member(:serverless_v2_scaling_configuration, Shapes::ShapeRef.new(shape: ServerlessV2ScalingConfiguration, location_name: "ServerlessV2ScalingConfiguration"))
3021
+ RestoreDBClusterFromS3Message.add_member(:network_type, Shapes::ShapeRef.new(shape: String, location_name: "NetworkType"))
3015
3022
  RestoreDBClusterFromS3Message.struct_class = Types::RestoreDBClusterFromS3Message
3016
3023
 
3017
3024
  RestoreDBClusterFromS3Result.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
@@ -3044,6 +3051,7 @@ module Aws::RDS
3044
3051
  RestoreDBClusterFromSnapshotMessage.add_member(:iops, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "Iops"))
3045
3052
  RestoreDBClusterFromSnapshotMessage.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "PubliclyAccessible"))
3046
3053
  RestoreDBClusterFromSnapshotMessage.add_member(:serverless_v2_scaling_configuration, Shapes::ShapeRef.new(shape: ServerlessV2ScalingConfiguration, location_name: "ServerlessV2ScalingConfiguration"))
3054
+ RestoreDBClusterFromSnapshotMessage.add_member(:network_type, Shapes::ShapeRef.new(shape: String, location_name: "NetworkType"))
3047
3055
  RestoreDBClusterFromSnapshotMessage.struct_class = Types::RestoreDBClusterFromSnapshotMessage
3048
3056
 
3049
3057
  RestoreDBClusterFromSnapshotResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
@@ -3075,6 +3083,7 @@ module Aws::RDS
3075
3083
  RestoreDBClusterToPointInTimeMessage.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "PubliclyAccessible"))
3076
3084
  RestoreDBClusterToPointInTimeMessage.add_member(:iops, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "Iops"))
3077
3085
  RestoreDBClusterToPointInTimeMessage.add_member(:serverless_v2_scaling_configuration, Shapes::ShapeRef.new(shape: ServerlessV2ScalingConfiguration, location_name: "ServerlessV2ScalingConfiguration"))
3086
+ RestoreDBClusterToPointInTimeMessage.add_member(:network_type, Shapes::ShapeRef.new(shape: String, location_name: "NetworkType"))
3078
3087
  RestoreDBClusterToPointInTimeMessage.struct_class = Types::RestoreDBClusterToPointInTimeMessage
3079
3088
 
3080
3089
  RestoreDBClusterToPointInTimeResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
@@ -3375,6 +3384,12 @@ module Aws::RDS
3375
3384
 
3376
3385
  SupportedTimezonesList.member = Shapes::ShapeRef.new(shape: Timezone, location_name: "Timezone")
3377
3386
 
3387
+ SwitchoverReadReplicaMessage.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBInstanceIdentifier"))
3388
+ SwitchoverReadReplicaMessage.struct_class = Types::SwitchoverReadReplicaMessage
3389
+
3390
+ SwitchoverReadReplicaResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
3391
+ SwitchoverReadReplicaResult.struct_class = Types::SwitchoverReadReplicaResult
3392
+
3378
3393
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "Key"))
3379
3394
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
3380
3395
  Tag.struct_class = Types::Tag
@@ -5294,6 +5309,16 @@ module Aws::RDS
5294
5309
  o.errors << Shapes::ShapeRef.new(shape: DBInstanceNotFoundFault)
5295
5310
  o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
5296
5311
  end)
5312
+
5313
+ api.add_operation(:switchover_read_replica, Seahorse::Model::Operation.new.tap do |o|
5314
+ o.name = "SwitchoverReadReplica"
5315
+ o.http_method = "POST"
5316
+ o.http_request_uri = "/"
5317
+ o.input = Shapes::ShapeRef.new(shape: SwitchoverReadReplicaMessage)
5318
+ o.output = Shapes::ShapeRef.new(shape: SwitchoverReadReplicaResult)
5319
+ o.errors << Shapes::ShapeRef.new(shape: DBInstanceNotFoundFault)
5320
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
5321
+ end)
5297
5322
  end
5298
5323
 
5299
5324
  end
@@ -618,6 +618,31 @@ module Aws::RDS
618
618
  data[:serverless_v2_scaling_configuration]
619
619
  end
620
620
 
621
+ # The network type of the DB instance.
622
+ #
623
+ # Valid values:
624
+ #
625
+ # * `IPV4`
626
+ #
627
+ # * `DUAL`
628
+ #
629
+ # The network type is determined by the `DBSubnetGroup` specified for
630
+ # the DB cluster. A `DBSubnetGroup` can support only the IPv4 protocol
631
+ # or the IPv4 and the IPv6 protocols (`DUAL`).
632
+ #
633
+ # For more information, see [ Working with a DB instance in a VPC][1] in
634
+ # the *Amazon Aurora User Guide.*
635
+ #
636
+ # This setting is only for Aurora DB clusters.
637
+ #
638
+ #
639
+ #
640
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
641
+ # @return [String]
642
+ def network_type
643
+ data[:network_type]
644
+ end
645
+
621
646
  # @!endgroup
622
647
 
623
648
  # @return [Client]
@@ -814,6 +839,7 @@ module Aws::RDS
814
839
  # min_capacity: 1.0,
815
840
  # max_capacity: 1.0,
816
841
  # },
842
+ # network_type: "String",
817
843
  # source_region: "String",
818
844
  # })
819
845
  # @param [Hash] options ({})
@@ -1503,6 +1529,27 @@ module Aws::RDS
1503
1529
  #
1504
1530
  #
1505
1531
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html
1532
+ # @option options [String] :network_type
1533
+ # The network type of the DB cluster.
1534
+ #
1535
+ # Valid values:
1536
+ #
1537
+ # * `IPV4`
1538
+ #
1539
+ # * `DUAL`
1540
+ #
1541
+ # The network type is determined by the `DBSubnetGroup` specified for
1542
+ # the DB cluster. A `DBSubnetGroup` can support only the IPv4 protocol
1543
+ # or the IPv4 and the IPv6 protocols (`DUAL`).
1544
+ #
1545
+ # For more information, see [ Working with a DB instance in a VPC][1] in
1546
+ # the *Amazon Aurora User Guide.*
1547
+ #
1548
+ # Valid for: Aurora DB clusters only
1549
+ #
1550
+ #
1551
+ #
1552
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
1506
1553
  # @option options [String] :source_region
1507
1554
  # The source region of the snapshot. This is only needed when the
1508
1555
  # shapshot is encrypted and in a different region.
@@ -1678,6 +1725,7 @@ module Aws::RDS
1678
1725
  # min_capacity: 1.0,
1679
1726
  # max_capacity: 1.0,
1680
1727
  # },
1728
+ # network_type: "String",
1681
1729
  # })
1682
1730
  # @param [Hash] options ({})
1683
1731
  # @option options [String] :new_db_cluster_identifier
@@ -2139,6 +2187,27 @@ module Aws::RDS
2139
2187
  #
2140
2188
  #
2141
2189
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html
2190
+ # @option options [String] :network_type
2191
+ # The network type of the DB cluster.
2192
+ #
2193
+ # Valid values:
2194
+ #
2195
+ # * `IPV4`
2196
+ #
2197
+ # * `DUAL`
2198
+ #
2199
+ # The network type is determined by the `DBSubnetGroup` specified for
2200
+ # the DB cluster. A `DBSubnetGroup` can support only the IPv4 protocol
2201
+ # or the IPv4 and the IPv6 protocols (`DUAL`).
2202
+ #
2203
+ # For more information, see [ Working with a DB instance in a VPC][1] in
2204
+ # the *Amazon Aurora User Guide.*
2205
+ #
2206
+ # Valid for: Aurora DB clusters only
2207
+ #
2208
+ #
2209
+ #
2210
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
2142
2211
  # @return [DBCluster]
2143
2212
  def modify(options = {})
2144
2213
  options = options.merge(db_cluster_identifier: @id)
@@ -2193,6 +2262,7 @@ module Aws::RDS
2193
2262
  # min_capacity: 1.0,
2194
2263
  # max_capacity: 1.0,
2195
2264
  # },
2265
+ # network_type: "String",
2196
2266
  # })
2197
2267
  # @param [Hash] options ({})
2198
2268
  # @option options [required, String] :db_cluster_identifier
@@ -2529,6 +2599,27 @@ module Aws::RDS
2529
2599
  #
2530
2600
  #
2531
2601
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html
2602
+ # @option options [String] :network_type
2603
+ # The network type of the DB cluster.
2604
+ #
2605
+ # Valid values:
2606
+ #
2607
+ # * `IPV4`
2608
+ #
2609
+ # * `DUAL`
2610
+ #
2611
+ # The network type is determined by the `DBSubnetGroup` specified for
2612
+ # the DB cluster. A `DBSubnetGroup` can support only the IPv4 protocol
2613
+ # or the IPv4 and the IPv6 protocols (`DUAL`).
2614
+ #
2615
+ # For more information, see [ Working with a DB instance in a VPC][1] in
2616
+ # the *Amazon Aurora User Guide.*
2617
+ #
2618
+ # Valid for: Aurora DB clusters only
2619
+ #
2620
+ #
2621
+ #
2622
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
2532
2623
  # @return [DBCluster]
2533
2624
  def restore(options = {})
2534
2625
  options = options.merge(source_db_cluster_identifier: @id)
@@ -548,6 +548,7 @@ module Aws::RDS
548
548
  # min_capacity: 1.0,
549
549
  # max_capacity: 1.0,
550
550
  # },
551
+ # network_type: "String",
551
552
  # })
552
553
  # @param [Hash] options ({})
553
554
  # @option options [Array<String>] :availability_zones
@@ -910,6 +911,27 @@ module Aws::RDS
910
911
  #
911
912
  #
912
913
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html
914
+ # @option options [String] :network_type
915
+ # The network type of the DB cluster.
916
+ #
917
+ # Valid values:
918
+ #
919
+ # * `IPV4`
920
+ #
921
+ # * `DUAL`
922
+ #
923
+ # The network type is determined by the `DBSubnetGroup` specified for
924
+ # the DB cluster. A `DBSubnetGroup` can support only the IPv4 protocol
925
+ # or the IPv4 and the IPv6 protocols (`DUAL`).
926
+ #
927
+ # For more information, see [ Working with a DB instance in a VPC][1] in
928
+ # the *Amazon Aurora User Guide.*
929
+ #
930
+ # Valid for: Aurora DB clusters only
931
+ #
932
+ #
933
+ #
934
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
913
935
  # @return [DBCluster]
914
936
  def restore(options = {})
915
937
  options = options.merge(snapshot_identifier: @snapshot_id)
@@ -2677,21 +2677,21 @@ module Aws::RDS
2677
2677
  # db.m4.large. Not all DB instance classes are available in all Amazon
2678
2678
  # Web Services Regions, or for all database engines. For the full list
2679
2679
  # of DB instance classes, and availability for your engine, see [DB
2680
- # Instance Class][1] in the *Amazon RDS User Guide*. For RDS Custom, see
2681
- # [DB instance class support for RDS Custom for Oracle][2] and [DB
2682
- # instance class support for RDS Custom for SQL Server][3].
2680
+ # instance classes][1] in the *Amazon RDS User Guide* or [Aurora DB
2681
+ # instance classes][2] in the *Amazon Aurora User Guide*.
2683
2682
  #
2684
2683
  # If you modify the DB instance class, an outage occurs during the
2685
2684
  # change. The change is applied during the next maintenance window,
2686
2685
  # unless `ApplyImmediately` is enabled for this request.
2687
2686
  #
2687
+ # This setting doesn't apply to RDS Custom for Oracle.
2688
+ #
2688
2689
  # Default: Uses existing setting
2689
2690
  #
2690
2691
  #
2691
2692
  #
2692
2693
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html
2693
- # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits.html#custom-reqs-limits.instances
2694
- # [3]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits-MS.html#custom-reqs-limits.instancesMS
2694
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.DBInstanceClass.html
2695
2695
  # @option options [String] :db_subnet_group_name
2696
2696
  # The new DB subnet group for the DB instance. You can use this
2697
2697
  # parameter to move your DB instance to a different VPC. If your DB
@@ -237,6 +237,21 @@ module Aws::RDS
237
237
  data[:original_snapshot_create_time]
238
238
  end
239
239
 
240
+ # The timestamp of the most recent transaction applied to the database
241
+ # that you're backing up. Thus, if you restore a snapshot,
242
+ # SnapshotDatabaseTime is the most recent transaction in the restored DB
243
+ # instance. In contrast, originalSnapshotCreateTime specifies the system
244
+ # time that the snapshot completed.
245
+ #
246
+ # If you back up a read replica, you can determine the replica lag by
247
+ # comparing SnapshotDatabaseTime with originalSnapshotCreateTime. For
248
+ # example, if originalSnapshotCreateTime is two hours later than
249
+ # SnapshotDatabaseTime, then the replica lag is two hours.
250
+ # @return [Time]
251
+ def snapshot_database_time
252
+ data[:snapshot_database_time]
253
+ end
254
+
240
255
  # Specifies where manual snapshots are stored: Amazon Web Services
241
256
  # Outposts or the Amazon Web Services Region.
242
257
  # @return [String]
@@ -98,6 +98,7 @@ module Aws::RDS
98
98
  # min_capacity: 1.0,
99
99
  # max_capacity: 1.0,
100
100
  # },
101
+ # network_type: "String",
101
102
  # source_region: "String",
102
103
  # })
103
104
  # @param [Hash] options ({})
@@ -802,6 +803,27 @@ module Aws::RDS
802
803
  #
803
804
  #
804
805
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html
806
+ # @option options [String] :network_type
807
+ # The network type of the DB cluster.
808
+ #
809
+ # Valid values:
810
+ #
811
+ # * `IPV4`
812
+ #
813
+ # * `DUAL`
814
+ #
815
+ # The network type is determined by the `DBSubnetGroup` specified for
816
+ # the DB cluster. A `DBSubnetGroup` can support only the IPv4 protocol
817
+ # or the IPv4 and the IPv6 protocols (`DUAL`).
818
+ #
819
+ # For more information, see [ Working with a DB instance in a VPC][1] in
820
+ # the *Amazon Aurora User Guide.*
821
+ #
822
+ # Valid for: Aurora DB clusters only
823
+ #
824
+ #
825
+ #
826
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
805
827
  # @option options [String] :source_region
806
828
  # The source region of the snapshot. This is only needed when the
807
829
  # shapshot is encrypted and in a different region.