aws-sdk-rds 1.151.0 → 1.154.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/client.rb +396 -16
- data/lib/aws-sdk-rds/client_api.rb +25 -0
- data/lib/aws-sdk-rds/db_cluster.rb +91 -0
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +22 -0
- data/lib/aws-sdk-rds/db_instance.rb +6 -6
- data/lib/aws-sdk-rds/db_snapshot.rb +16 -0
- data/lib/aws-sdk-rds/resource.rb +22 -0
- data/lib/aws-sdk-rds/types.rb +220 -11
- data/lib/aws-sdk-rds.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-rds/types.rb
CHANGED
@@ -1873,6 +1873,7 @@ module Aws::RDS
|
|
1873
1873
|
# min_capacity: 1.0,
|
1874
1874
|
# max_capacity: 1.0,
|
1875
1875
|
# },
|
1876
|
+
# network_type: "String",
|
1876
1877
|
# source_region: "String",
|
1877
1878
|
# }
|
1878
1879
|
#
|
@@ -2672,6 +2673,29 @@ module Aws::RDS
|
|
2672
2673
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html
|
2673
2674
|
# @return [Types::ServerlessV2ScalingConfiguration]
|
2674
2675
|
#
|
2676
|
+
# @!attribute [rw] network_type
|
2677
|
+
# The network type of the DB cluster.
|
2678
|
+
#
|
2679
|
+
# Valid values:
|
2680
|
+
#
|
2681
|
+
# * `IPV4`
|
2682
|
+
#
|
2683
|
+
# * `DUAL`
|
2684
|
+
#
|
2685
|
+
# The network type is determined by the `DBSubnetGroup` specified for
|
2686
|
+
# the DB cluster. A `DBSubnetGroup` can support only the IPv4 protocol
|
2687
|
+
# or the IPv4 and the IPv6 protocols (`DUAL`).
|
2688
|
+
#
|
2689
|
+
# For more information, see [ Working with a DB instance in a VPC][1]
|
2690
|
+
# in the *Amazon Aurora User Guide.*
|
2691
|
+
#
|
2692
|
+
# Valid for: Aurora DB clusters only
|
2693
|
+
#
|
2694
|
+
#
|
2695
|
+
#
|
2696
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
|
2697
|
+
# @return [String]
|
2698
|
+
#
|
2675
2699
|
# @!attribute [rw] source_region
|
2676
2700
|
# The source region of the snapshot. This is only needed when the
|
2677
2701
|
# shapshot is encrypted and in a different region.
|
@@ -2725,6 +2749,7 @@ module Aws::RDS
|
|
2725
2749
|
:performance_insights_kms_key_id,
|
2726
2750
|
:performance_insights_retention_period,
|
2727
2751
|
:serverless_v2_scaling_configuration,
|
2752
|
+
:network_type,
|
2728
2753
|
:source_region)
|
2729
2754
|
SENSITIVE = []
|
2730
2755
|
include Aws::Structure
|
@@ -6294,6 +6319,29 @@ module Aws::RDS
|
|
6294
6319
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html
|
6295
6320
|
# @return [Types::ServerlessV2ScalingConfigurationInfo]
|
6296
6321
|
#
|
6322
|
+
# @!attribute [rw] network_type
|
6323
|
+
# The network type of the DB instance.
|
6324
|
+
#
|
6325
|
+
# Valid values:
|
6326
|
+
#
|
6327
|
+
# * `IPV4`
|
6328
|
+
#
|
6329
|
+
# * `DUAL`
|
6330
|
+
#
|
6331
|
+
# The network type is determined by the `DBSubnetGroup` specified for
|
6332
|
+
# the DB cluster. A `DBSubnetGroup` can support only the IPv4 protocol
|
6333
|
+
# or the IPv4 and the IPv6 protocols (`DUAL`).
|
6334
|
+
#
|
6335
|
+
# For more information, see [ Working with a DB instance in a VPC][1]
|
6336
|
+
# in the *Amazon Aurora User Guide.*
|
6337
|
+
#
|
6338
|
+
# This setting is only for Aurora DB clusters.
|
6339
|
+
#
|
6340
|
+
#
|
6341
|
+
#
|
6342
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
|
6343
|
+
# @return [String]
|
6344
|
+
#
|
6297
6345
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBCluster AWS API Documentation
|
6298
6346
|
#
|
6299
6347
|
class DBCluster < Struct.new(
|
@@ -6364,7 +6412,8 @@ module Aws::RDS
|
|
6364
6412
|
:performance_insights_enabled,
|
6365
6413
|
:performance_insights_kms_key_id,
|
6366
6414
|
:performance_insights_retention_period,
|
6367
|
-
:serverless_v2_scaling_configuration
|
6415
|
+
:serverless_v2_scaling_configuration,
|
6416
|
+
:network_type)
|
6368
6417
|
SENSITIVE = []
|
6369
6418
|
include Aws::Structure
|
6370
6419
|
end
|
@@ -9145,6 +9194,20 @@ module Aws::RDS
|
|
9145
9194
|
# Universal Time (UTC). Doesn't change when the snapshot is copied.
|
9146
9195
|
# @return [Time]
|
9147
9196
|
#
|
9197
|
+
# @!attribute [rw] snapshot_database_time
|
9198
|
+
# The timestamp of the most recent transaction applied to the database
|
9199
|
+
# that you're backing up. Thus, if you restore a snapshot,
|
9200
|
+
# SnapshotDatabaseTime is the most recent transaction in the restored
|
9201
|
+
# DB instance. In contrast, originalSnapshotCreateTime specifies the
|
9202
|
+
# system time that the snapshot completed.
|
9203
|
+
#
|
9204
|
+
# If you back up a read replica, you can determine the replica lag by
|
9205
|
+
# comparing SnapshotDatabaseTime with originalSnapshotCreateTime. For
|
9206
|
+
# example, if originalSnapshotCreateTime is two hours later than
|
9207
|
+
# SnapshotDatabaseTime, then the replica lag is two hours. ***
|
9208
|
+
# REVIEWERS 7/27: Switchover
|
9209
|
+
# @return [Time]
|
9210
|
+
#
|
9148
9211
|
# @!attribute [rw] snapshot_target
|
9149
9212
|
# Specifies where manual snapshots are stored: Amazon Web Services
|
9150
9213
|
# Outposts or the Amazon Web Services Region.
|
@@ -9183,6 +9246,7 @@ module Aws::RDS
|
|
9183
9246
|
:dbi_resource_id,
|
9184
9247
|
:tag_list,
|
9185
9248
|
:original_snapshot_create_time,
|
9249
|
+
:snapshot_database_time,
|
9186
9250
|
:snapshot_target)
|
9187
9251
|
SENSITIVE = []
|
9188
9252
|
include Aws::Structure
|
@@ -14812,6 +14876,7 @@ module Aws::RDS
|
|
14812
14876
|
# min_capacity: 1.0,
|
14813
14877
|
# max_capacity: 1.0,
|
14814
14878
|
# },
|
14879
|
+
# network_type: "String",
|
14815
14880
|
# }
|
14816
14881
|
#
|
14817
14882
|
# @!attribute [rw] db_cluster_identifier
|
@@ -15356,6 +15421,29 @@ module Aws::RDS
|
|
15356
15421
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html
|
15357
15422
|
# @return [Types::ServerlessV2ScalingConfiguration]
|
15358
15423
|
#
|
15424
|
+
# @!attribute [rw] network_type
|
15425
|
+
# The network type of the DB cluster.
|
15426
|
+
#
|
15427
|
+
# Valid values:
|
15428
|
+
#
|
15429
|
+
# * `IPV4`
|
15430
|
+
#
|
15431
|
+
# * `DUAL`
|
15432
|
+
#
|
15433
|
+
# The network type is determined by the `DBSubnetGroup` specified for
|
15434
|
+
# the DB cluster. A `DBSubnetGroup` can support only the IPv4 protocol
|
15435
|
+
# or the IPv4 and the IPv6 protocols (`DUAL`).
|
15436
|
+
#
|
15437
|
+
# For more information, see [ Working with a DB instance in a VPC][1]
|
15438
|
+
# in the *Amazon Aurora User Guide.*
|
15439
|
+
#
|
15440
|
+
# Valid for: Aurora DB clusters only
|
15441
|
+
#
|
15442
|
+
#
|
15443
|
+
#
|
15444
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
|
15445
|
+
# @return [String]
|
15446
|
+
#
|
15359
15447
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterMessage AWS API Documentation
|
15360
15448
|
#
|
15361
15449
|
class ModifyDBClusterMessage < Struct.new(
|
@@ -15393,7 +15481,8 @@ module Aws::RDS
|
|
15393
15481
|
:enable_performance_insights,
|
15394
15482
|
:performance_insights_kms_key_id,
|
15395
15483
|
:performance_insights_retention_period,
|
15396
|
-
:serverless_v2_scaling_configuration
|
15484
|
+
:serverless_v2_scaling_configuration,
|
15485
|
+
:network_type)
|
15397
15486
|
SENSITIVE = []
|
15398
15487
|
include Aws::Structure
|
15399
15488
|
end
|
@@ -15664,24 +15753,24 @@ module Aws::RDS
|
|
15664
15753
|
#
|
15665
15754
|
# @!attribute [rw] db_instance_class
|
15666
15755
|
# The new compute and memory capacity of the DB instance, for example
|
15667
|
-
# db.
|
15756
|
+
# db.m4.large. Not all DB instance classes are available in all Amazon
|
15668
15757
|
# Web Services Regions, or for all database engines. For the full list
|
15669
15758
|
# of DB instance classes, and availability for your engine, see [DB
|
15670
|
-
#
|
15671
|
-
# instance
|
15759
|
+
# Instance Class][1] in the *Amazon RDS User Guide*. For RDS Custom,
|
15760
|
+
# see [DB instance class support for RDS Custom for Oracle][2] and [DB
|
15761
|
+
# instance class support for RDS Custom for SQL Server][3].
|
15672
15762
|
#
|
15673
15763
|
# If you modify the DB instance class, an outage occurs during the
|
15674
15764
|
# change. The change is applied during the next maintenance window,
|
15675
15765
|
# unless `ApplyImmediately` is enabled for this request.
|
15676
15766
|
#
|
15677
|
-
# This setting doesn't apply to RDS Custom for Oracle.
|
15678
|
-
#
|
15679
15767
|
# Default: Uses existing setting
|
15680
15768
|
#
|
15681
15769
|
#
|
15682
15770
|
#
|
15683
15771
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html
|
15684
|
-
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/
|
15772
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits.html#custom-reqs-limits.instances
|
15773
|
+
# [3]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits-MS.html#custom-reqs-limits.instancesMS
|
15685
15774
|
# @return [String]
|
15686
15775
|
#
|
15687
15776
|
# @!attribute [rw] db_subnet_group_name
|
@@ -19549,6 +19638,7 @@ module Aws::RDS
|
|
19549
19638
|
# min_capacity: 1.0,
|
19550
19639
|
# max_capacity: 1.0,
|
19551
19640
|
# },
|
19641
|
+
# network_type: "String",
|
19552
19642
|
# }
|
19553
19643
|
#
|
19554
19644
|
# @!attribute [rw] availability_zones
|
@@ -19890,6 +19980,27 @@ module Aws::RDS
|
|
19890
19980
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html
|
19891
19981
|
# @return [Types::ServerlessV2ScalingConfiguration]
|
19892
19982
|
#
|
19983
|
+
# @!attribute [rw] network_type
|
19984
|
+
# The network type of the DB cluster.
|
19985
|
+
#
|
19986
|
+
# Valid values:
|
19987
|
+
#
|
19988
|
+
# * `IPV4`
|
19989
|
+
#
|
19990
|
+
# * `DUAL`
|
19991
|
+
#
|
19992
|
+
# The network type is determined by the `DBSubnetGroup` specified for
|
19993
|
+
# the DB cluster. A `DBSubnetGroup` can support only the IPv4 protocol
|
19994
|
+
# or the IPv4 and the IPv6 protocols (`DUAL`).
|
19995
|
+
#
|
19996
|
+
# For more information, see [ Working with a DB instance in a VPC][1]
|
19997
|
+
# in the *Amazon Aurora User Guide.*
|
19998
|
+
#
|
19999
|
+
#
|
20000
|
+
#
|
20001
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
|
20002
|
+
# @return [String]
|
20003
|
+
#
|
19893
20004
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromS3Message AWS API Documentation
|
19894
20005
|
#
|
19895
20006
|
class RestoreDBClusterFromS3Message < Struct.new(
|
@@ -19924,7 +20035,8 @@ module Aws::RDS
|
|
19924
20035
|
:copy_tags_to_snapshot,
|
19925
20036
|
:domain,
|
19926
20037
|
:domain_iam_role_name,
|
19927
|
-
:serverless_v2_scaling_configuration
|
20038
|
+
:serverless_v2_scaling_configuration,
|
20039
|
+
:network_type)
|
19928
20040
|
SENSITIVE = []
|
19929
20041
|
include Aws::Structure
|
19930
20042
|
end
|
@@ -20014,6 +20126,7 @@ module Aws::RDS
|
|
20014
20126
|
# min_capacity: 1.0,
|
20015
20127
|
# max_capacity: 1.0,
|
20016
20128
|
# },
|
20129
|
+
# network_type: "String",
|
20017
20130
|
# }
|
20018
20131
|
#
|
20019
20132
|
# @!attribute [rw] availability_zones
|
@@ -20451,6 +20564,29 @@ module Aws::RDS
|
|
20451
20564
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html
|
20452
20565
|
# @return [Types::ServerlessV2ScalingConfiguration]
|
20453
20566
|
#
|
20567
|
+
# @!attribute [rw] network_type
|
20568
|
+
# The network type of the DB cluster.
|
20569
|
+
#
|
20570
|
+
# Valid values:
|
20571
|
+
#
|
20572
|
+
# * `IPV4`
|
20573
|
+
#
|
20574
|
+
# * `DUAL`
|
20575
|
+
#
|
20576
|
+
# The network type is determined by the `DBSubnetGroup` specified for
|
20577
|
+
# the DB cluster. A `DBSubnetGroup` can support only the IPv4 protocol
|
20578
|
+
# or the IPv4 and the IPv6 protocols (`DUAL`).
|
20579
|
+
#
|
20580
|
+
# For more information, see [ Working with a DB instance in a VPC][1]
|
20581
|
+
# in the *Amazon Aurora User Guide.*
|
20582
|
+
#
|
20583
|
+
# Valid for: Aurora DB clusters only
|
20584
|
+
#
|
20585
|
+
#
|
20586
|
+
#
|
20587
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
|
20588
|
+
# @return [String]
|
20589
|
+
#
|
20454
20590
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromSnapshotMessage AWS API Documentation
|
20455
20591
|
#
|
20456
20592
|
class RestoreDBClusterFromSnapshotMessage < Struct.new(
|
@@ -20480,7 +20616,8 @@ module Aws::RDS
|
|
20480
20616
|
:storage_type,
|
20481
20617
|
:iops,
|
20482
20618
|
:publicly_accessible,
|
20483
|
-
:serverless_v2_scaling_configuration
|
20619
|
+
:serverless_v2_scaling_configuration,
|
20620
|
+
:network_type)
|
20484
20621
|
SENSITIVE = []
|
20485
20622
|
include Aws::Structure
|
20486
20623
|
end
|
@@ -20569,6 +20706,7 @@ module Aws::RDS
|
|
20569
20706
|
# min_capacity: 1.0,
|
20570
20707
|
# max_capacity: 1.0,
|
20571
20708
|
# },
|
20709
|
+
# network_type: "String",
|
20572
20710
|
# }
|
20573
20711
|
#
|
20574
20712
|
# @!attribute [rw] db_cluster_identifier
|
@@ -20969,6 +21107,29 @@ module Aws::RDS
|
|
20969
21107
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html
|
20970
21108
|
# @return [Types::ServerlessV2ScalingConfiguration]
|
20971
21109
|
#
|
21110
|
+
# @!attribute [rw] network_type
|
21111
|
+
# The network type of the DB cluster.
|
21112
|
+
#
|
21113
|
+
# Valid values:
|
21114
|
+
#
|
21115
|
+
# * `IPV4`
|
21116
|
+
#
|
21117
|
+
# * `DUAL`
|
21118
|
+
#
|
21119
|
+
# The network type is determined by the `DBSubnetGroup` specified for
|
21120
|
+
# the DB cluster. A `DBSubnetGroup` can support only the IPv4 protocol
|
21121
|
+
# or the IPv4 and the IPv6 protocols (`DUAL`).
|
21122
|
+
#
|
21123
|
+
# For more information, see [ Working with a DB instance in a VPC][1]
|
21124
|
+
# in the *Amazon Aurora User Guide.*
|
21125
|
+
#
|
21126
|
+
# Valid for: Aurora DB clusters only
|
21127
|
+
#
|
21128
|
+
#
|
21129
|
+
#
|
21130
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
|
21131
|
+
# @return [String]
|
21132
|
+
#
|
20972
21133
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTimeMessage AWS API Documentation
|
20973
21134
|
#
|
20974
21135
|
class RestoreDBClusterToPointInTimeMessage < Struct.new(
|
@@ -20997,7 +21158,8 @@ module Aws::RDS
|
|
20997
21158
|
:storage_type,
|
20998
21159
|
:publicly_accessible,
|
20999
21160
|
:iops,
|
21000
|
-
:serverless_v2_scaling_configuration
|
21161
|
+
:serverless_v2_scaling_configuration,
|
21162
|
+
:network_type)
|
21001
21163
|
SENSITIVE = []
|
21002
21164
|
include Aws::Structure
|
21003
21165
|
end
|
@@ -23852,6 +24014,53 @@ module Aws::RDS
|
|
23852
24014
|
#
|
23853
24015
|
class SubscriptionNotFoundFault < Aws::EmptyStructure; end
|
23854
24016
|
|
24017
|
+
# @note When making an API call, you may pass SwitchoverReadReplicaMessage
|
24018
|
+
# data as a hash:
|
24019
|
+
#
|
24020
|
+
# {
|
24021
|
+
# db_instance_identifier: "String", # required
|
24022
|
+
# }
|
24023
|
+
#
|
24024
|
+
# @!attribute [rw] db_instance_identifier
|
24025
|
+
# The DB instance identifier of the current standby database. This
|
24026
|
+
# value is stored as a lowercase string.
|
24027
|
+
#
|
24028
|
+
# Constraints:
|
24029
|
+
#
|
24030
|
+
# * Must match the identifier of an existing Oracle read replica DB
|
24031
|
+
# instance.
|
24032
|
+
#
|
24033
|
+
# ^
|
24034
|
+
# @return [String]
|
24035
|
+
#
|
24036
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SwitchoverReadReplicaMessage AWS API Documentation
|
24037
|
+
#
|
24038
|
+
class SwitchoverReadReplicaMessage < Struct.new(
|
24039
|
+
:db_instance_identifier)
|
24040
|
+
SENSITIVE = []
|
24041
|
+
include Aws::Structure
|
24042
|
+
end
|
24043
|
+
|
24044
|
+
# @!attribute [rw] db_instance
|
24045
|
+
# Contains the details of an Amazon RDS DB instance.
|
24046
|
+
#
|
24047
|
+
# This data type is used as a response element in the operations
|
24048
|
+
# `CreateDBInstance`, `CreateDBInstanceReadReplica`,
|
24049
|
+
# `DeleteDBInstance`, `DescribeDBInstances`, `ModifyDBInstance`,
|
24050
|
+
# `PromoteReadReplica`, `RebootDBInstance`,
|
24051
|
+
# `RestoreDBInstanceFromDBSnapshot`, `RestoreDBInstanceFromS3`,
|
24052
|
+
# `RestoreDBInstanceToPointInTime`, `StartDBInstance`, and
|
24053
|
+
# `StopDBInstance`.
|
24054
|
+
# @return [Types::DBInstance]
|
24055
|
+
#
|
24056
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SwitchoverReadReplicaResult AWS API Documentation
|
24057
|
+
#
|
24058
|
+
class SwitchoverReadReplicaResult < Struct.new(
|
24059
|
+
:db_instance)
|
24060
|
+
SENSITIVE = []
|
24061
|
+
include Aws::Structure
|
24062
|
+
end
|
24063
|
+
|
23855
24064
|
# Metadata assigned to an Amazon RDS resource consisting of a key-value
|
23856
24065
|
# pair.
|
23857
24066
|
#
|
data/lib/aws-sdk-rds.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-rds
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.154.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|