aws-sdk-rds 1.86.1 → 1.87.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-rds.rb +3 -1
- data/lib/aws-sdk-rds/account_quota.rb +2 -0
- data/lib/aws-sdk-rds/certificate.rb +2 -0
- data/lib/aws-sdk-rds/client.rb +177 -48
- data/lib/aws-sdk-rds/client_api.rb +8 -0
- data/lib/aws-sdk-rds/customizations.rb +2 -0
- data/lib/aws-sdk-rds/customizations/auth_token_generator.rb +2 -0
- data/lib/aws-sdk-rds/db_cluster.rb +48 -0
- data/lib/aws-sdk-rds/db_cluster_parameter_group.rb +2 -0
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +6 -0
- data/lib/aws-sdk-rds/db_engine.rb +2 -0
- data/lib/aws-sdk-rds/db_engine_version.rb +2 -0
- data/lib/aws-sdk-rds/db_instance.rb +59 -25
- data/lib/aws-sdk-rds/db_log_file.rb +2 -0
- data/lib/aws-sdk-rds/db_parameter_group.rb +2 -0
- data/lib/aws-sdk-rds/db_parameter_group_family.rb +2 -0
- data/lib/aws-sdk-rds/db_security_group.rb +2 -0
- data/lib/aws-sdk-rds/db_snapshot.rb +18 -9
- data/lib/aws-sdk-rds/db_snapshot_attribute.rb +2 -0
- data/lib/aws-sdk-rds/db_subnet_group.rb +2 -0
- data/lib/aws-sdk-rds/errors.rb +2 -0
- data/lib/aws-sdk-rds/event.rb +2 -0
- data/lib/aws-sdk-rds/event_category_map.rb +2 -0
- data/lib/aws-sdk-rds/event_subscription.rb +2 -0
- data/lib/aws-sdk-rds/option_group.rb +2 -0
- data/lib/aws-sdk-rds/option_group_option.rb +2 -0
- data/lib/aws-sdk-rds/parameter.rb +2 -0
- data/lib/aws-sdk-rds/pending_maintenance_action.rb +2 -0
- data/lib/aws-sdk-rds/plugins/cross_region_copying.rb +2 -0
- data/lib/aws-sdk-rds/reserved_db_instance.rb +2 -0
- data/lib/aws-sdk-rds/reserved_db_instances_offering.rb +2 -0
- data/lib/aws-sdk-rds/resource.rb +24 -5
- data/lib/aws-sdk-rds/resource_pending_maintenance_action_list.rb +2 -0
- data/lib/aws-sdk-rds/types.rb +172 -46
- data/lib/aws-sdk-rds/waiters.rb +2 -0
- metadata +2 -2
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -562,6 +564,7 @@ module Aws::RDS
|
|
562
564
|
VpcSecurityGroupMembership = Shapes::StructureShape.new(name: 'VpcSecurityGroupMembership')
|
563
565
|
VpcSecurityGroupMembershipList = Shapes::ListShape.new(name: 'VpcSecurityGroupMembershipList')
|
564
566
|
VpnDetails = Shapes::StructureShape.new(name: 'VpnDetails')
|
567
|
+
WriteForwardingStatus = Shapes::StringShape.new(name: 'WriteForwardingStatus')
|
565
568
|
|
566
569
|
AccountAttributesMessage.add_member(:account_quotas, Shapes::ShapeRef.new(shape: AccountQuotaList, location_name: "AccountQuotas"))
|
567
570
|
AccountAttributesMessage.struct_class = Types::AccountAttributesMessage
|
@@ -788,6 +791,7 @@ module Aws::RDS
|
|
788
791
|
CreateDBClusterMessage.add_member(:copy_tags_to_snapshot, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "CopyTagsToSnapshot"))
|
789
792
|
CreateDBClusterMessage.add_member(:domain, Shapes::ShapeRef.new(shape: String, location_name: "Domain"))
|
790
793
|
CreateDBClusterMessage.add_member(:domain_iam_role_name, Shapes::ShapeRef.new(shape: String, location_name: "DomainIAMRoleName"))
|
794
|
+
CreateDBClusterMessage.add_member(:enable_global_write_forwarding, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableGlobalWriteForwarding"))
|
791
795
|
CreateDBClusterMessage.add_member(:destination_region, Shapes::ShapeRef.new(shape: String, location_name: "DestinationRegion", metadata: {"documented"=>false}))
|
792
796
|
CreateDBClusterMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
|
793
797
|
CreateDBClusterMessage.struct_class = Types::CreateDBClusterMessage
|
@@ -1053,6 +1057,8 @@ module Aws::RDS
|
|
1053
1057
|
DBCluster.add_member(:copy_tags_to_snapshot, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "CopyTagsToSnapshot"))
|
1054
1058
|
DBCluster.add_member(:cross_account_clone, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "CrossAccountClone"))
|
1055
1059
|
DBCluster.add_member(:domain_memberships, Shapes::ShapeRef.new(shape: DomainMembershipList, location_name: "DomainMemberships"))
|
1060
|
+
DBCluster.add_member(:global_write_forwarding_status, Shapes::ShapeRef.new(shape: WriteForwardingStatus, location_name: "GlobalWriteForwardingStatus"))
|
1061
|
+
DBCluster.add_member(:global_write_forwarding_requested, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "GlobalWriteForwardingRequested"))
|
1056
1062
|
DBCluster.struct_class = Types::DBCluster
|
1057
1063
|
|
1058
1064
|
DBClusterAlreadyExistsFault.struct_class = Types::DBClusterAlreadyExistsFault
|
@@ -2096,6 +2102,7 @@ module Aws::RDS
|
|
2096
2102
|
GlobalClusterMember.add_member(:db_cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterArn"))
|
2097
2103
|
GlobalClusterMember.add_member(:readers, Shapes::ShapeRef.new(shape: ReadersArnList, location_name: "Readers"))
|
2098
2104
|
GlobalClusterMember.add_member(:is_writer, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsWriter"))
|
2105
|
+
GlobalClusterMember.add_member(:global_write_forwarding_status, Shapes::ShapeRef.new(shape: WriteForwardingStatus, location_name: "GlobalWriteForwardingStatus"))
|
2099
2106
|
GlobalClusterMember.struct_class = Types::GlobalClusterMember
|
2100
2107
|
|
2101
2108
|
GlobalClusterMemberList.member = Shapes::ShapeRef.new(shape: GlobalClusterMember, location_name: "GlobalClusterMember")
|
@@ -2260,6 +2267,7 @@ module Aws::RDS
|
|
2260
2267
|
ModifyDBClusterMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
2261
2268
|
ModifyDBClusterMessage.add_member(:enable_http_endpoint, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableHttpEndpoint"))
|
2262
2269
|
ModifyDBClusterMessage.add_member(:copy_tags_to_snapshot, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "CopyTagsToSnapshot"))
|
2270
|
+
ModifyDBClusterMessage.add_member(:enable_global_write_forwarding, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableGlobalWriteForwarding"))
|
2263
2271
|
ModifyDBClusterMessage.struct_class = Types::ModifyDBClusterMessage
|
2264
2272
|
|
2265
2273
|
ModifyDBClusterParameterGroupMessage.add_member(:db_cluster_parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterParameterGroupName"))
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -438,6 +440,24 @@ module Aws::RDS
|
|
438
440
|
data[:domain_memberships]
|
439
441
|
end
|
440
442
|
|
443
|
+
# Specifies whether a secondary cluster in an Aurora global database has
|
444
|
+
# write forwarding enabled, not enabled, or is in the process of
|
445
|
+
# enabling it.
|
446
|
+
# @return [String]
|
447
|
+
def global_write_forwarding_status
|
448
|
+
data[:global_write_forwarding_status]
|
449
|
+
end
|
450
|
+
|
451
|
+
# Specifies whether you have requested to enable write forwarding for a
|
452
|
+
# secondary cluster in an Aurora global database. Because write
|
453
|
+
# forwarding takes time to enable, check the value of
|
454
|
+
# `GlobalWriteForwardingStatus` to confirm that the request has
|
455
|
+
# completed before using the write forwarding feature for this cluster.
|
456
|
+
# @return [Boolean]
|
457
|
+
def global_write_forwarding_requested
|
458
|
+
data[:global_write_forwarding_requested]
|
459
|
+
end
|
460
|
+
|
441
461
|
# @!endgroup
|
442
462
|
|
443
463
|
# @return [Client]
|
@@ -617,6 +637,7 @@ module Aws::RDS
|
|
617
637
|
# copy_tags_to_snapshot: false,
|
618
638
|
# domain: "String",
|
619
639
|
# domain_iam_role_name: "String",
|
640
|
+
# enable_global_write_forwarding: false,
|
620
641
|
# source_region: "String",
|
621
642
|
# })
|
622
643
|
# @param [Hash] options ({})
|
@@ -866,6 +887,10 @@ module Aws::RDS
|
|
866
887
|
# The target backtrack window, in seconds. To disable backtracking, set
|
867
888
|
# this value to 0.
|
868
889
|
#
|
890
|
+
# <note markdown="1"> Currently, Backtrack is only supported for Aurora MySQL DB clusters.
|
891
|
+
#
|
892
|
+
# </note>
|
893
|
+
#
|
869
894
|
# Default: 0
|
870
895
|
#
|
871
896
|
# Constraints:
|
@@ -954,6 +979,13 @@ module Aws::RDS
|
|
954
979
|
# @option options [String] :domain_iam_role_name
|
955
980
|
# Specify the name of the IAM role to be used when making API calls to
|
956
981
|
# the Directory Service.
|
982
|
+
# @option options [Boolean] :enable_global_write_forwarding
|
983
|
+
# A value that indicates whether to enable write operations to be
|
984
|
+
# forwarded from this cluster to the primary cluster in an Aurora global
|
985
|
+
# database. The resulting changes are replicated back to this cluster.
|
986
|
+
# This parameter only applies to DB clusters that are secondary clusters
|
987
|
+
# in an Aurora global database. By default, Aurora disallows write
|
988
|
+
# operations for secondary clusters.
|
957
989
|
# @option options [String] :destination_region
|
958
990
|
# @option options [String] :source_region
|
959
991
|
# The source region of the snapshot. This is only needed when the
|
@@ -1111,6 +1143,7 @@ module Aws::RDS
|
|
1111
1143
|
# deletion_protection: false,
|
1112
1144
|
# enable_http_endpoint: false,
|
1113
1145
|
# copy_tags_to_snapshot: false,
|
1146
|
+
# enable_global_write_forwarding: false,
|
1114
1147
|
# })
|
1115
1148
|
# @param [Hash] options ({})
|
1116
1149
|
# @option options [String] :new_db_cluster_identifier
|
@@ -1238,6 +1271,10 @@ module Aws::RDS
|
|
1238
1271
|
# The target backtrack window, in seconds. To disable backtracking, set
|
1239
1272
|
# this value to 0.
|
1240
1273
|
#
|
1274
|
+
# <note markdown="1"> Currently, Backtrack is only supported for Aurora MySQL DB clusters.
|
1275
|
+
#
|
1276
|
+
# </note>
|
1277
|
+
#
|
1241
1278
|
# Default: 0
|
1242
1279
|
#
|
1243
1280
|
# Constraints:
|
@@ -1331,6 +1368,13 @@ module Aws::RDS
|
|
1331
1368
|
# @option options [Boolean] :copy_tags_to_snapshot
|
1332
1369
|
# A value that indicates whether to copy all tags from the DB cluster to
|
1333
1370
|
# snapshots of the DB cluster. The default is not to copy them.
|
1371
|
+
# @option options [Boolean] :enable_global_write_forwarding
|
1372
|
+
# A value that indicates whether to enable write operations to be
|
1373
|
+
# forwarded from this cluster to the primary cluster in an Aurora global
|
1374
|
+
# database. The resulting changes are replicated back to this cluster.
|
1375
|
+
# This parameter only applies to DB clusters that are secondary clusters
|
1376
|
+
# in an Aurora global database. By default, Aurora disallows write
|
1377
|
+
# operations for secondary clusters.
|
1334
1378
|
# @return [DBCluster]
|
1335
1379
|
def modify(options = {})
|
1336
1380
|
options = options.merge(db_cluster_identifier: @id)
|
@@ -1488,6 +1532,10 @@ module Aws::RDS
|
|
1488
1532
|
# The target backtrack window, in seconds. To disable backtracking, set
|
1489
1533
|
# this value to 0.
|
1490
1534
|
#
|
1535
|
+
# <note markdown="1"> Currently, Backtrack is only supported for Aurora MySQL DB clusters.
|
1536
|
+
#
|
1537
|
+
# </note>
|
1538
|
+
#
|
1491
1539
|
# Default: 0
|
1492
1540
|
#
|
1493
1541
|
# Constraints:
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -613,6 +615,10 @@ module Aws::RDS
|
|
613
615
|
# The target backtrack window, in seconds. To disable backtracking, set
|
614
616
|
# this value to 0.
|
615
617
|
#
|
618
|
+
# <note markdown="1"> Currently, Backtrack is only supported for Aurora MySQL DB clusters.
|
619
|
+
#
|
620
|
+
# </note>
|
621
|
+
#
|
616
622
|
# Default: 0
|
617
623
|
#
|
618
624
|
# Constraints:
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -255,11 +257,19 @@ module Aws::RDS
|
|
255
257
|
data[:secondary_availability_zone]
|
256
258
|
end
|
257
259
|
|
258
|
-
# Specifies the accessibility options for the DB instance.
|
259
|
-
#
|
260
|
-
#
|
261
|
-
#
|
262
|
-
#
|
260
|
+
# Specifies the accessibility options for the DB instance.
|
261
|
+
#
|
262
|
+
# When the DB instance is publicly accessible, its DNS endpoint resolves
|
263
|
+
# to the private IP address from within the DB instance's VPC, and to
|
264
|
+
# the public IP address from outside of the DB instance's VPC. Access
|
265
|
+
# to the DB instance is ultimately controlled by the security group it
|
266
|
+
# uses, and that public access is not permitted if the security group
|
267
|
+
# assigned to the DB instance doesn't permit it.
|
268
|
+
#
|
269
|
+
# When the DB instance isn't publicly accessible, it is an internal DB
|
270
|
+
# instance with a DNS name that resolves to a private IP address.
|
271
|
+
#
|
272
|
+
# For more information, see CreateDBInstance.
|
263
273
|
# @return [Boolean]
|
264
274
|
def publicly_accessible
|
265
275
|
data[:publicly_accessible]
|
@@ -1241,11 +1251,16 @@ module Aws::RDS
|
|
1241
1251
|
# more information, see `CreateDBCluster`.
|
1242
1252
|
# @option options [Boolean] :publicly_accessible
|
1243
1253
|
# A value that indicates whether the DB instance is publicly accessible.
|
1244
|
-
#
|
1245
|
-
#
|
1246
|
-
#
|
1247
|
-
#
|
1248
|
-
#
|
1254
|
+
#
|
1255
|
+
# When the DB instance is publicly accessible, its DNS endpoint resolves
|
1256
|
+
# to the private IP address from within the DB instance's VPC, and to
|
1257
|
+
# the public IP address from outside of the DB instance's VPC. Access
|
1258
|
+
# to the DB instance is ultimately controlled by the security group it
|
1259
|
+
# uses, and that public access is not permitted if the security group
|
1260
|
+
# assigned to the DB instance doesn't permit it.
|
1261
|
+
#
|
1262
|
+
# When the DB instance isn't publicly accessible, it is an internal DB
|
1263
|
+
# instance with a DNS name that resolves to a private IP address.
|
1249
1264
|
#
|
1250
1265
|
# Default: The default behavior varies depending on whether
|
1251
1266
|
# `DBSubnetGroupName` is specified.
|
@@ -1608,11 +1623,18 @@ module Aws::RDS
|
|
1608
1623
|
# * Can't end with a hyphen or contain two consecutive hyphens
|
1609
1624
|
# @option options [Boolean] :publicly_accessible
|
1610
1625
|
# A value that indicates whether the DB instance is publicly accessible.
|
1611
|
-
#
|
1612
|
-
#
|
1613
|
-
#
|
1614
|
-
#
|
1615
|
-
#
|
1626
|
+
#
|
1627
|
+
# When the DB instance is publicly accessible, its DNS endpoint resolves
|
1628
|
+
# to the private IP address from within the DB instance's VPC, and to
|
1629
|
+
# the public IP address from outside of the DB instance's VPC. Access
|
1630
|
+
# to the DB instance is ultimately controlled by the security group it
|
1631
|
+
# uses, and that public access is not permitted if the security group
|
1632
|
+
# assigned to the DB instance doesn't permit it.
|
1633
|
+
#
|
1634
|
+
# When the DB instance isn't publicly accessible, it is an internal DB
|
1635
|
+
# instance with a DNS name that resolves to a private IP address.
|
1636
|
+
#
|
1637
|
+
# For more information, see CreateDBInstance.
|
1616
1638
|
# @option options [Array<Types::Tag>] :tags
|
1617
1639
|
# A list of tags. For more information, see [Tagging Amazon RDS
|
1618
1640
|
# Resources][1] in the *Amazon RDS User Guide.*
|
@@ -2455,11 +2477,16 @@ module Aws::RDS
|
|
2455
2477
|
# Valid values: `1150-65535`
|
2456
2478
|
# @option options [Boolean] :publicly_accessible
|
2457
2479
|
# A value that indicates whether the DB instance is publicly accessible.
|
2458
|
-
#
|
2459
|
-
#
|
2460
|
-
#
|
2461
|
-
#
|
2462
|
-
#
|
2480
|
+
#
|
2481
|
+
# When the DB instance is publicly accessible, its DNS endpoint resolves
|
2482
|
+
# to the private IP address from within the DB instance's VPC, and to
|
2483
|
+
# the public IP address from outside of the DB instance's VPC. Access
|
2484
|
+
# to the DB instance is ultimately controlled by the security group it
|
2485
|
+
# uses, and that public access is not permitted if the security group
|
2486
|
+
# assigned to the DB instance doesn't permit it.
|
2487
|
+
#
|
2488
|
+
# When the DB instance isn't publicly accessible, it is an internal DB
|
2489
|
+
# instance with a DNS name that resolves to a private IP address.
|
2463
2490
|
#
|
2464
2491
|
# `PubliclyAccessible` only applies to DB instances in a VPC. The DB
|
2465
2492
|
# instance must be part of a public subnet and `PubliclyAccessible` must
|
@@ -2788,11 +2815,18 @@ module Aws::RDS
|
|
2788
2815
|
# DB instance is a Multi-AZ deployment.
|
2789
2816
|
# @option options [Boolean] :publicly_accessible
|
2790
2817
|
# A value that indicates whether the DB instance is publicly accessible.
|
2791
|
-
#
|
2792
|
-
#
|
2793
|
-
#
|
2794
|
-
#
|
2795
|
-
#
|
2818
|
+
#
|
2819
|
+
# When the DB instance is publicly accessible, its DNS endpoint resolves
|
2820
|
+
# to the private IP address from within the DB instance's VPC, and to
|
2821
|
+
# the public IP address from outside of the DB instance's VPC. Access
|
2822
|
+
# to the DB instance is ultimately controlled by the security group it
|
2823
|
+
# uses, and that public access is not permitted if the security group
|
2824
|
+
# assigned to the DB instance doesn't permit it.
|
2825
|
+
#
|
2826
|
+
# When the DB instance isn't publicly accessible, it is an internal DB
|
2827
|
+
# instance with a DNS name that resolves to a private IP address.
|
2828
|
+
#
|
2829
|
+
# For more information, see CreateDBInstance.
|
2796
2830
|
# @option options [Boolean] :auto_minor_version_upgrade
|
2797
2831
|
# A value that indicates whether minor version upgrades are applied
|
2798
2832
|
# automatically to the DB instance during the maintenance window.
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -42,8 +44,8 @@ module Aws::RDS
|
|
42
44
|
end
|
43
45
|
alias :db_snapshot_identifier :snapshot_id
|
44
46
|
|
45
|
-
#
|
46
|
-
#
|
47
|
+
# Specifies when the snapshot was taken in Coodinated Universal Time
|
48
|
+
# (UTC).
|
47
49
|
# @return [Time]
|
48
50
|
def snapshot_create_time
|
49
51
|
data[:snapshot_create_time]
|
@@ -87,8 +89,8 @@ module Aws::RDS
|
|
87
89
|
data[:vpc_id]
|
88
90
|
end
|
89
91
|
|
90
|
-
# Specifies the time
|
91
|
-
#
|
92
|
+
# Specifies the time in Coordinated Universal Time (UTC) when the DB
|
93
|
+
# instance, from which the snapshot was taken, was created.
|
92
94
|
# @return [Time]
|
93
95
|
def instance_create_time
|
94
96
|
data[:instance_create_time]
|
@@ -641,11 +643,18 @@ module Aws::RDS
|
|
641
643
|
# DB instance is a Multi-AZ deployment.
|
642
644
|
# @option options [Boolean] :publicly_accessible
|
643
645
|
# A value that indicates whether the DB instance is publicly accessible.
|
644
|
-
#
|
645
|
-
#
|
646
|
-
#
|
647
|
-
#
|
648
|
-
#
|
646
|
+
#
|
647
|
+
# When the DB instance is publicly accessible, its DNS endpoint resolves
|
648
|
+
# to the private IP address from within the DB instance's VPC, and to
|
649
|
+
# the public IP address from outside of the DB instance's VPC. Access
|
650
|
+
# to the DB instance is ultimately controlled by the security group it
|
651
|
+
# uses, and that public access is not permitted if the security group
|
652
|
+
# assigned to the DB instance doesn't permit it.
|
653
|
+
#
|
654
|
+
# When the DB instance isn't publicly accessible, it is an internal DB
|
655
|
+
# instance with a DNS name that resolves to a private IP address.
|
656
|
+
#
|
657
|
+
# For more information, see CreateDBInstance.
|
649
658
|
# @option options [Boolean] :auto_minor_version_upgrade
|
650
659
|
# A value that indicates whether minor version upgrades are applied
|
651
660
|
# automatically to the DB instance during the maintenance window.
|
data/lib/aws-sdk-rds/errors.rb
CHANGED
data/lib/aws-sdk-rds/event.rb
CHANGED