aws-sdk-rds 1.309.0 → 1.310.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/client.rb +380 -1
- data/lib/aws-sdk-rds/client_api.rb +7 -0
- data/lib/aws-sdk-rds/db_cluster.rb +51 -0
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +24 -0
- data/lib/aws-sdk-rds/resource.rb +8 -0
- data/lib/aws-sdk-rds/types.rb +86 -7
- data/lib/aws-sdk-rds.rb +1 -1
- data/sig/client.rbs +7 -2
- data/sig/db_cluster.rbs +10 -1
- data/sig/db_cluster_snapshot.rbs +3 -1
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +7 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6ed8dd6ca56c1a1e0d4a57c16c4bbd3dbc7305a64a3065d8f8df45d3f9b14e7c
|
|
4
|
+
data.tar.gz: 6398d416c8521feff5a5c15e010741352aea1ef21a3b723f7961c5e12383fb04
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d9ff8fe03a00249a3594faeaa3e3062986e76f86a160b5afa413801f3ba585bf133b355363b2f905e794349b18de30e16b7755428ca7af47eabdf9b116482890
|
|
7
|
+
data.tar.gz: 5184acbec116bd4234949561c09d7053ad31bc4ae9a9b8a074426a7dac1e1dfe490ba596d06d3ffbd85c3d245d06ba76a89981708532ad428761ec346247ce47
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.310.0 (2026-03-24)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds support in Aurora PostgreSQL serverless databases for express configuration based creation through WithExpressConfiguration in CreateDbCluster API, and for restoring clusters using RestoreDBClusterToPointInTime and RestoreDBClusterFromSnapshot APIs.
|
|
8
|
+
|
|
4
9
|
1.309.0 (2026-03-18)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.310.0
|
data/lib/aws-sdk-rds/client.rb
CHANGED
|
@@ -2735,6 +2735,12 @@ module Aws::RDS
|
|
|
2735
2735
|
# clusters, see [Multi-AZ DB cluster deployments][3] in the *Amazon RDS
|
|
2736
2736
|
# User Guide*.
|
|
2737
2737
|
#
|
|
2738
|
+
# You can use the `WithExpressConfiguration` parameter to create an
|
|
2739
|
+
# Aurora DB Cluster with express configuration and create cluster in
|
|
2740
|
+
# seconds. Express configuration provides a cluster with a writer
|
|
2741
|
+
# instance and feature specific values set to all other input parameters
|
|
2742
|
+
# of this API.
|
|
2743
|
+
#
|
|
2738
2744
|
#
|
|
2739
2745
|
#
|
|
2740
2746
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html
|
|
@@ -3686,6 +3692,14 @@ module Aws::RDS
|
|
|
3686
3692
|
# This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL
|
|
3687
3693
|
# engines.
|
|
3688
3694
|
#
|
|
3695
|
+
# @option params [Boolean] :with_express_configuration
|
|
3696
|
+
# Specifies to create an Aurora DB Cluster with express configuration in
|
|
3697
|
+
# seconds. Express configuration provides a cluster with a writer
|
|
3698
|
+
# instance and feature specific values set to all other input parameters
|
|
3699
|
+
# of this API.
|
|
3700
|
+
#
|
|
3701
|
+
# Valid for Cluster Type: Aurora DB clusters
|
|
3702
|
+
#
|
|
3689
3703
|
# @option params [String] :source_region
|
|
3690
3704
|
# The source region of the snapshot. This is only needed when the
|
|
3691
3705
|
# shapshot is encrypted and in a different region.
|
|
@@ -3822,6 +3836,78 @@ module Aws::RDS
|
|
|
3822
3836
|
# },
|
|
3823
3837
|
# }
|
|
3824
3838
|
#
|
|
3839
|
+
# @example Example: To create a Aurora DB cluster with express configuration
|
|
3840
|
+
#
|
|
3841
|
+
# # The following example creates a Aurora DB cluster with express configuration.
|
|
3842
|
+
#
|
|
3843
|
+
# resp = client.create_db_cluster({
|
|
3844
|
+
# db_cluster_identifier: "sample-cluster",
|
|
3845
|
+
# engine: "aurora-postgresql",
|
|
3846
|
+
# with_express_configuration: true,
|
|
3847
|
+
# })
|
|
3848
|
+
#
|
|
3849
|
+
# resp.to_h outputs the following:
|
|
3850
|
+
# {
|
|
3851
|
+
# db_cluster: {
|
|
3852
|
+
# allocated_storage: 1,
|
|
3853
|
+
# associated_roles: [
|
|
3854
|
+
# ],
|
|
3855
|
+
# auto_minor_version_upgrade: true,
|
|
3856
|
+
# availability_zones: [
|
|
3857
|
+
# "us-east-1c",
|
|
3858
|
+
# "us-east-1a",
|
|
3859
|
+
# "us-east-1b",
|
|
3860
|
+
# ],
|
|
3861
|
+
# backup_retention_period: 7,
|
|
3862
|
+
# cluster_create_time: Time.parse("2026-01-10T22:14:02Z"),
|
|
3863
|
+
# copy_tags_to_snapshot: false,
|
|
3864
|
+
# cross_account_clone: false,
|
|
3865
|
+
# db_cluster_arn: "arn:aws:rds:us-east-1:654654253058:cluster:sample-cluster",
|
|
3866
|
+
# db_cluster_identifier: "sample-cluster",
|
|
3867
|
+
# db_cluster_members: [
|
|
3868
|
+
# {
|
|
3869
|
+
# db_cluster_parameter_group_status: "in-sync",
|
|
3870
|
+
# db_instance_identifier: "sample-cluster-instance-1",
|
|
3871
|
+
# is_cluster_writer: false,
|
|
3872
|
+
# promotion_tier: 1,
|
|
3873
|
+
# },
|
|
3874
|
+
# ],
|
|
3875
|
+
# db_cluster_parameter_group: "default.aurora-postgresql17",
|
|
3876
|
+
# database_insights_mode: "standard",
|
|
3877
|
+
# db_cluster_resource_id: "cluster-OWV7DRHS2W7R4LXZRYNXCHZST4",
|
|
3878
|
+
# deletion_protection: false,
|
|
3879
|
+
# domain_memberships: [
|
|
3880
|
+
# ],
|
|
3881
|
+
# engine: "aurora-postgresql",
|
|
3882
|
+
# engine_lifecycle_support: "open-source-rds-extended-support",
|
|
3883
|
+
# engine_mode: "provisioned",
|
|
3884
|
+
# engine_version: "17.7",
|
|
3885
|
+
# http_endpoint_enabled: false,
|
|
3886
|
+
# iam_database_authentication_enabled: true,
|
|
3887
|
+
# local_write_forwarding_status: "disabled",
|
|
3888
|
+
# master_username: "postgres",
|
|
3889
|
+
# multi_az: false,
|
|
3890
|
+
# performance_insights_enabled: false,
|
|
3891
|
+
# port: 5432,
|
|
3892
|
+
# preferred_backup_window: "06:15-06:45",
|
|
3893
|
+
# preferred_maintenance_window: "sat:03:44-sat:04:14",
|
|
3894
|
+
# read_replica_identifiers: [
|
|
3895
|
+
# ],
|
|
3896
|
+
# serverless_v2_platform_version: "3",
|
|
3897
|
+
# serverless_v2_scaling_configuration: {
|
|
3898
|
+
# max_capacity: 16.0,
|
|
3899
|
+
# min_capacity: 0.0,
|
|
3900
|
+
# seconds_until_auto_pause: 300,
|
|
3901
|
+
# },
|
|
3902
|
+
# status: "creating",
|
|
3903
|
+
# storage_encrypted: false,
|
|
3904
|
+
# tag_list: [
|
|
3905
|
+
# ],
|
|
3906
|
+
# vpc_security_groups: [
|
|
3907
|
+
# ],
|
|
3908
|
+
# },
|
|
3909
|
+
# }
|
|
3910
|
+
#
|
|
3825
3911
|
# @example Request syntax with placeholder values
|
|
3826
3912
|
#
|
|
3827
3913
|
# resp = client.create_db_cluster({
|
|
@@ -3913,6 +3999,7 @@ module Aws::RDS
|
|
|
3913
3999
|
# },
|
|
3914
4000
|
# ],
|
|
3915
4001
|
# master_user_authentication_type: "password", # accepts password, iam-db-auth
|
|
4002
|
+
# with_express_configuration: false,
|
|
3916
4003
|
# source_region: "String",
|
|
3917
4004
|
# })
|
|
3918
4005
|
#
|
|
@@ -4062,6 +4149,8 @@ module Aws::RDS
|
|
|
4062
4149
|
# resp.db_cluster.certificate_details.ca_identifier #=> String
|
|
4063
4150
|
# resp.db_cluster.certificate_details.valid_till #=> Time
|
|
4064
4151
|
# resp.db_cluster.engine_lifecycle_support #=> String
|
|
4152
|
+
# resp.db_cluster.vpc_networking_enabled #=> Boolean
|
|
4153
|
+
# resp.db_cluster.internet_access_gateway_enabled #=> Boolean
|
|
4065
4154
|
#
|
|
4066
4155
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBCluster AWS API Documentation
|
|
4067
4156
|
#
|
|
@@ -9785,6 +9874,8 @@ module Aws::RDS
|
|
|
9785
9874
|
# resp.db_cluster.certificate_details.ca_identifier #=> String
|
|
9786
9875
|
# resp.db_cluster.certificate_details.valid_till #=> Time
|
|
9787
9876
|
# resp.db_cluster.engine_lifecycle_support #=> String
|
|
9877
|
+
# resp.db_cluster.vpc_networking_enabled #=> Boolean
|
|
9878
|
+
# resp.db_cluster.internet_access_gateway_enabled #=> Boolean
|
|
9788
9879
|
#
|
|
9789
9880
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBCluster AWS API Documentation
|
|
9790
9881
|
#
|
|
@@ -13140,6 +13231,79 @@ module Aws::RDS
|
|
|
13140
13231
|
# ],
|
|
13141
13232
|
# }
|
|
13142
13233
|
#
|
|
13234
|
+
# @example Example: To describe an Aurora DB cluster without VPC networking
|
|
13235
|
+
#
|
|
13236
|
+
# # The following example retrieves the details of the specified Aurora PostgreSQL DB cluster configured without VPC
|
|
13237
|
+
# # networking and with internet access gateway enabled. IAM database authentication is required when VPC networking is
|
|
13238
|
+
# # disabled and internet access gateway is enabled.
|
|
13239
|
+
#
|
|
13240
|
+
# resp = client.describe_db_clusters({
|
|
13241
|
+
# db_cluster_identifier: "my-vpcless-cluster",
|
|
13242
|
+
# })
|
|
13243
|
+
#
|
|
13244
|
+
# resp.to_h outputs the following:
|
|
13245
|
+
# {
|
|
13246
|
+
# db_clusters: [
|
|
13247
|
+
# {
|
|
13248
|
+
# activity_stream_status: "stopped",
|
|
13249
|
+
# allocated_storage: 1,
|
|
13250
|
+
# associated_roles: [
|
|
13251
|
+
# ],
|
|
13252
|
+
# auto_minor_version_upgrade: true,
|
|
13253
|
+
# availability_zones: [
|
|
13254
|
+
# "us-east-1d",
|
|
13255
|
+
# "us-east-1a",
|
|
13256
|
+
# "us-east-1c",
|
|
13257
|
+
# ],
|
|
13258
|
+
# backup_retention_period: 1,
|
|
13259
|
+
# cluster_create_time: Time.parse("2026-03-09T20:53:24.054Z"),
|
|
13260
|
+
# copy_tags_to_snapshot: false,
|
|
13261
|
+
# cross_account_clone: false,
|
|
13262
|
+
# db_cluster_arn: "arn:aws:rds:us-east-1:123456789012:cluster:my-vpcless-cluster",
|
|
13263
|
+
# db_cluster_identifier: "my-vpcless-cluster",
|
|
13264
|
+
# db_cluster_members: [
|
|
13265
|
+
# ],
|
|
13266
|
+
# db_cluster_parameter_group: "default.aurora-postgresql17",
|
|
13267
|
+
# database_insights_mode: "standard",
|
|
13268
|
+
# db_cluster_resource_id: "cluster-AHX35HFI2YV26F3XVXVVO3MEHU",
|
|
13269
|
+
# deletion_protection: false,
|
|
13270
|
+
# domain_memberships: [
|
|
13271
|
+
# ],
|
|
13272
|
+
# earliest_restorable_time: Time.parse("2026-03-09T20:53:39.652Z"),
|
|
13273
|
+
# engine: "aurora-postgresql",
|
|
13274
|
+
# engine_lifecycle_support: "open-source-rds-extended-support",
|
|
13275
|
+
# engine_mode: "provisioned",
|
|
13276
|
+
# engine_version: "17.4",
|
|
13277
|
+
# http_endpoint_enabled: false,
|
|
13278
|
+
# iam_database_authentication_enabled: true,
|
|
13279
|
+
# internet_access_gateway_enabled: true,
|
|
13280
|
+
# latest_restorable_time: Time.parse("2026-03-09T20:53:39.652Z"),
|
|
13281
|
+
# local_write_forwarding_status: "disabled",
|
|
13282
|
+
# master_username: "postgres",
|
|
13283
|
+
# multi_az: false,
|
|
13284
|
+
# port: 5432,
|
|
13285
|
+
# preferred_backup_window: "07:13-07:43",
|
|
13286
|
+
# preferred_maintenance_window: "mon:07:55-mon:08:25",
|
|
13287
|
+
# read_replica_identifiers: [
|
|
13288
|
+
# ],
|
|
13289
|
+
# serverless_v2_platform_version: "3",
|
|
13290
|
+
# serverless_v2_scaling_configuration: {
|
|
13291
|
+
# max_capacity: 128.0,
|
|
13292
|
+
# min_capacity: 1.0,
|
|
13293
|
+
# },
|
|
13294
|
+
# status: "available",
|
|
13295
|
+
# storage_encrypted: false,
|
|
13296
|
+
# storage_encryption_type: "sse-rds",
|
|
13297
|
+
# tag_list: [
|
|
13298
|
+
# ],
|
|
13299
|
+
# upgrade_rollout_order: "second",
|
|
13300
|
+
# vpc_networking_enabled: false,
|
|
13301
|
+
# vpc_security_groups: [
|
|
13302
|
+
# ],
|
|
13303
|
+
# },
|
|
13304
|
+
# ],
|
|
13305
|
+
# }
|
|
13306
|
+
#
|
|
13143
13307
|
# @example Request syntax with placeholder values
|
|
13144
13308
|
#
|
|
13145
13309
|
# resp = client.describe_db_clusters({
|
|
@@ -13303,6 +13467,8 @@ module Aws::RDS
|
|
|
13303
13467
|
# resp.db_clusters[0].certificate_details.ca_identifier #=> String
|
|
13304
13468
|
# resp.db_clusters[0].certificate_details.valid_till #=> Time
|
|
13305
13469
|
# resp.db_clusters[0].engine_lifecycle_support #=> String
|
|
13470
|
+
# resp.db_clusters[0].vpc_networking_enabled #=> Boolean
|
|
13471
|
+
# resp.db_clusters[0].internet_access_gateway_enabled #=> Boolean
|
|
13306
13472
|
#
|
|
13307
13473
|
#
|
|
13308
13474
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
|
@@ -18832,6 +18998,8 @@ module Aws::RDS
|
|
|
18832
18998
|
# resp.db_cluster.certificate_details.ca_identifier #=> String
|
|
18833
18999
|
# resp.db_cluster.certificate_details.valid_till #=> Time
|
|
18834
19000
|
# resp.db_cluster.engine_lifecycle_support #=> String
|
|
19001
|
+
# resp.db_cluster.vpc_networking_enabled #=> Boolean
|
|
19002
|
+
# resp.db_cluster.internet_access_gateway_enabled #=> Boolean
|
|
18835
19003
|
#
|
|
18836
19004
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverDBCluster AWS API Documentation
|
|
18837
19005
|
#
|
|
@@ -20599,6 +20767,8 @@ module Aws::RDS
|
|
|
20599
20767
|
# resp.db_cluster.certificate_details.ca_identifier #=> String
|
|
20600
20768
|
# resp.db_cluster.certificate_details.valid_till #=> Time
|
|
20601
20769
|
# resp.db_cluster.engine_lifecycle_support #=> String
|
|
20770
|
+
# resp.db_cluster.vpc_networking_enabled #=> Boolean
|
|
20771
|
+
# resp.db_cluster.internet_access_gateway_enabled #=> Boolean
|
|
20602
20772
|
#
|
|
20603
20773
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBCluster AWS API Documentation
|
|
20604
20774
|
#
|
|
@@ -24648,6 +24818,8 @@ module Aws::RDS
|
|
|
24648
24818
|
# resp.db_cluster.certificate_details.ca_identifier #=> String
|
|
24649
24819
|
# resp.db_cluster.certificate_details.valid_till #=> Time
|
|
24650
24820
|
# resp.db_cluster.engine_lifecycle_support #=> String
|
|
24821
|
+
# resp.db_cluster.vpc_networking_enabled #=> Boolean
|
|
24822
|
+
# resp.db_cluster.internet_access_gateway_enabled #=> Boolean
|
|
24651
24823
|
#
|
|
24652
24824
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaDBCluster AWS API Documentation
|
|
24653
24825
|
#
|
|
@@ -24955,6 +25127,8 @@ module Aws::RDS
|
|
|
24955
25127
|
# resp.db_cluster.certificate_details.ca_identifier #=> String
|
|
24956
25128
|
# resp.db_cluster.certificate_details.valid_till #=> Time
|
|
24957
25129
|
# resp.db_cluster.engine_lifecycle_support #=> String
|
|
25130
|
+
# resp.db_cluster.vpc_networking_enabled #=> Boolean
|
|
25131
|
+
# resp.db_cluster.internet_access_gateway_enabled #=> Boolean
|
|
24958
25132
|
#
|
|
24959
25133
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBCluster AWS API Documentation
|
|
24960
25134
|
#
|
|
@@ -26600,6 +26774,8 @@ module Aws::RDS
|
|
|
26600
26774
|
# resp.db_cluster.certificate_details.ca_identifier #=> String
|
|
26601
26775
|
# resp.db_cluster.certificate_details.valid_till #=> Time
|
|
26602
26776
|
# resp.db_cluster.engine_lifecycle_support #=> String
|
|
26777
|
+
# resp.db_cluster.vpc_networking_enabled #=> Boolean
|
|
26778
|
+
# resp.db_cluster.internet_access_gateway_enabled #=> Boolean
|
|
26603
26779
|
#
|
|
26604
26780
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromS3 AWS API Documentation
|
|
26605
26781
|
#
|
|
@@ -26616,6 +26792,18 @@ module Aws::RDS
|
|
|
26616
26792
|
# default configuration. If you don't specify a security group, the new
|
|
26617
26793
|
# DB cluster is associated with the default security group.
|
|
26618
26794
|
#
|
|
26795
|
+
# You can use the `EnableVPCNetworking` and
|
|
26796
|
+
# `EnableInternetAccessGateway` parameters together to restore an Aurora
|
|
26797
|
+
# PostgreSQL cluster without VPC networking and with internet-based
|
|
26798
|
+
# connectivity. These two parameters must always be specified together.
|
|
26799
|
+
# Set `EnableVPCNetworking` to `false` to disable the VPC network
|
|
26800
|
+
# interface (ENI) for the cluster. `EnableInternetAccessGateway` enables
|
|
26801
|
+
# internet-based connectivity through an internet access gateway. IAM
|
|
26802
|
+
# database authentication is required and must be enabled using
|
|
26803
|
+
# `EnableIAMDatabaseAuthentication`. Once the cluster is restored, you
|
|
26804
|
+
# need to modify the DB cluster to update `MasterUserAuthenticationType`
|
|
26805
|
+
# to `iam-db-auth`.
|
|
26806
|
+
#
|
|
26619
26807
|
# <note markdown="1"> This operation only restores the DB cluster, not the DB instances for
|
|
26620
26808
|
# that DB cluster. You must invoke the `CreateDBInstance` operation to
|
|
26621
26809
|
# create DB instances for the restored DB cluster, specifying the
|
|
@@ -27201,6 +27389,30 @@ module Aws::RDS
|
|
|
27201
27389
|
#
|
|
27202
27390
|
# ^
|
|
27203
27391
|
#
|
|
27392
|
+
# @option params [Boolean] :enable_vpc_networking
|
|
27393
|
+
# Specifies whether to enable VPC networking for the restored DB
|
|
27394
|
+
# cluster. Set this parameter to `false` to create a cluster without the
|
|
27395
|
+
# VPC network interface (ENI).
|
|
27396
|
+
#
|
|
27397
|
+
# This parameter must be used together with
|
|
27398
|
+
# `EnableInternetAccessGateway`. When both parameters are specified, IAM
|
|
27399
|
+
# database authentication is required. You must also specify
|
|
27400
|
+
# `EnableIAMDatabaseAuthentication`.
|
|
27401
|
+
#
|
|
27402
|
+
# Valid for Cluster Type: Aurora PostgreSQL clusters
|
|
27403
|
+
#
|
|
27404
|
+
# @option params [Boolean] :enable_internet_access_gateway
|
|
27405
|
+
# Specifies that the restored DB cluster should use internet-based
|
|
27406
|
+
# connectivity through an internet access gateway. This allows clients
|
|
27407
|
+
# to connect to the cluster over the internet without requiring a VPC.
|
|
27408
|
+
#
|
|
27409
|
+
# This parameter must be used together with `EnableVPCNetworking` set to
|
|
27410
|
+
# `false`. When both parameters are specified, IAM database
|
|
27411
|
+
# authentication is required. You must also specify
|
|
27412
|
+
# `EnableIAMDatabaseAuthentication`.
|
|
27413
|
+
#
|
|
27414
|
+
# Valid for Cluster Type: Aurora PostgreSQL clusters
|
|
27415
|
+
#
|
|
27204
27416
|
# @return [Types::RestoreDBClusterFromSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
27205
27417
|
#
|
|
27206
27418
|
# * {Types::RestoreDBClusterFromSnapshotResult#db_cluster #db_cluster} => Types::DBCluster
|
|
@@ -27271,6 +27483,66 @@ module Aws::RDS
|
|
|
27271
27483
|
# },
|
|
27272
27484
|
# }
|
|
27273
27485
|
#
|
|
27486
|
+
# @example Example: To restore a DB cluster from a snapshot without VPC networking
|
|
27487
|
+
#
|
|
27488
|
+
# # The following example restores an Aurora DB cluster from a DB cluster snapshot named sample-cluster-snapshot without VPC
|
|
27489
|
+
# # networking and with internet-based connectivity enabled through an internet access gateway. The EnableVPCNetworking and
|
|
27490
|
+
# # EnableInternetAccessGateway parameters must always be specified together. IAM database authentication is required when
|
|
27491
|
+
# # both parameters are specified.
|
|
27492
|
+
#
|
|
27493
|
+
# resp = client.restore_db_cluster_from_snapshot({
|
|
27494
|
+
# db_cluster_identifier: "restored-cluster",
|
|
27495
|
+
# enable_iam_database_authentication: true,
|
|
27496
|
+
# enable_internet_access_gateway: true,
|
|
27497
|
+
# enable_vpc_networking: false,
|
|
27498
|
+
# engine: "aurora-postgresql",
|
|
27499
|
+
# snapshot_identifier: "sample-cluster-snapshot",
|
|
27500
|
+
# })
|
|
27501
|
+
#
|
|
27502
|
+
# resp.to_h outputs the following:
|
|
27503
|
+
# {
|
|
27504
|
+
# db_cluster: {
|
|
27505
|
+
# allocated_storage: 1,
|
|
27506
|
+
# associated_roles: [
|
|
27507
|
+
# ],
|
|
27508
|
+
# availability_zones: [
|
|
27509
|
+
# "us-west-2c",
|
|
27510
|
+
# "us-west-2a",
|
|
27511
|
+
# "us-west-2b",
|
|
27512
|
+
# ],
|
|
27513
|
+
# backup_retention_period: 7,
|
|
27514
|
+
# cluster_create_time: Time.parse("2020-06-05T15:06:58.634Z"),
|
|
27515
|
+
# copy_tags_to_snapshot: false,
|
|
27516
|
+
# cross_account_clone: false,
|
|
27517
|
+
# db_cluster_arn: "arn:aws:rds:us-west-2:123456789012:cluster:restored-cluster",
|
|
27518
|
+
# db_cluster_identifier: "restored-cluster",
|
|
27519
|
+
# db_cluster_members: [
|
|
27520
|
+
# ],
|
|
27521
|
+
# db_cluster_parameter_group: "default.aurora-postgresql17",
|
|
27522
|
+
# database_name: "",
|
|
27523
|
+
# db_cluster_resource_id: "cluster-5DSB5IFQDDUVAWOUWM1EXAMPLE",
|
|
27524
|
+
# deletion_protection: false,
|
|
27525
|
+
# domain_memberships: [
|
|
27526
|
+
# ],
|
|
27527
|
+
# engine: "aurora-postgresql",
|
|
27528
|
+
# engine_mode: "provisioned",
|
|
27529
|
+
# engine_version: "17.7",
|
|
27530
|
+
# http_endpoint_enabled: false,
|
|
27531
|
+
# iam_database_authentication_enabled: true,
|
|
27532
|
+
# master_username: "postgres",
|
|
27533
|
+
# multi_az: false,
|
|
27534
|
+
# port: 5432,
|
|
27535
|
+
# preferred_backup_window: "09:33-10:03",
|
|
27536
|
+
# preferred_maintenance_window: "sun:12:22-sun:12:52",
|
|
27537
|
+
# read_replica_identifiers: [
|
|
27538
|
+
# ],
|
|
27539
|
+
# status: "creating",
|
|
27540
|
+
# storage_encrypted: false,
|
|
27541
|
+
# vpc_security_groups: [
|
|
27542
|
+
# ],
|
|
27543
|
+
# },
|
|
27544
|
+
# }
|
|
27545
|
+
#
|
|
27274
27546
|
# @example Request syntax with placeholder values
|
|
27275
27547
|
#
|
|
27276
27548
|
# resp = client.restore_db_cluster_from_snapshot({
|
|
@@ -27342,6 +27614,8 @@ module Aws::RDS
|
|
|
27342
27614
|
# ],
|
|
27343
27615
|
# },
|
|
27344
27616
|
# ],
|
|
27617
|
+
# enable_vpc_networking: false,
|
|
27618
|
+
# enable_internet_access_gateway: false,
|
|
27345
27619
|
# })
|
|
27346
27620
|
#
|
|
27347
27621
|
# @example Response structure
|
|
@@ -27490,6 +27764,8 @@ module Aws::RDS
|
|
|
27490
27764
|
# resp.db_cluster.certificate_details.ca_identifier #=> String
|
|
27491
27765
|
# resp.db_cluster.certificate_details.valid_till #=> Time
|
|
27492
27766
|
# resp.db_cluster.engine_lifecycle_support #=> String
|
|
27767
|
+
# resp.db_cluster.vpc_networking_enabled #=> Boolean
|
|
27768
|
+
# resp.db_cluster.internet_access_gateway_enabled #=> Boolean
|
|
27493
27769
|
#
|
|
27494
27770
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromSnapshot AWS API Documentation
|
|
27495
27771
|
#
|
|
@@ -27510,6 +27786,18 @@ module Aws::RDS
|
|
|
27510
27786
|
# original DB cluster. The AZ where RDS restores the DB cluster depends
|
|
27511
27787
|
# on the AZs in the specified subnet group.
|
|
27512
27788
|
#
|
|
27789
|
+
# You can use the `EnableVPCNetworking` and
|
|
27790
|
+
# `EnableInternetAccessGateway` parameters together to restore an Aurora
|
|
27791
|
+
# PostgreSQL cluster without VPC networking and with internet-based
|
|
27792
|
+
# connectivity. These two parameters must always be specified together.
|
|
27793
|
+
# Set `EnableVPCNetworking` to `false` to disable the VPC network
|
|
27794
|
+
# interface (ENI) for the cluster. `EnableInternetAccessGateway` enables
|
|
27795
|
+
# internet-based connectivity through an internet access gateway. IAM
|
|
27796
|
+
# database authentication is required and must be enabled using
|
|
27797
|
+
# `EnableIAMDatabaseAuthentication`. Once the cluster is restored, you
|
|
27798
|
+
# need to modify the DB cluster to update `MasterUserAuthenticationType`
|
|
27799
|
+
# to `iam-db-auth`.
|
|
27800
|
+
#
|
|
27513
27801
|
# <note markdown="1"> For Aurora, this operation only restores the DB cluster, not the DB
|
|
27514
27802
|
# instances for that DB cluster. You must invoke the `CreateDBInstance`
|
|
27515
27803
|
# operation to create DB instances for the restored DB cluster,
|
|
@@ -28075,6 +28363,30 @@ module Aws::RDS
|
|
|
28075
28363
|
#
|
|
28076
28364
|
# ^
|
|
28077
28365
|
#
|
|
28366
|
+
# @option params [Boolean] :enable_vpc_networking
|
|
28367
|
+
# Specifies whether to enable VPC networking for the restored DB
|
|
28368
|
+
# cluster. Set this parameter to `false` to create a cluster without the
|
|
28369
|
+
# VPC network interface (ENI).
|
|
28370
|
+
#
|
|
28371
|
+
# This parameter must be used together with
|
|
28372
|
+
# `EnableInternetAccessGateway`. When both parameters are specified, IAM
|
|
28373
|
+
# database authentication is required. You must also specify
|
|
28374
|
+
# `EnableIAMDatabaseAuthentication`.
|
|
28375
|
+
#
|
|
28376
|
+
# Valid for Cluster Type: Aurora PostgreSQL clusters
|
|
28377
|
+
#
|
|
28378
|
+
# @option params [Boolean] :enable_internet_access_gateway
|
|
28379
|
+
# Specifies that the restored DB cluster should use internet-based
|
|
28380
|
+
# connectivity through an internet access gateway. This allows clients
|
|
28381
|
+
# to connect to the cluster over the internet without requiring a VPC.
|
|
28382
|
+
#
|
|
28383
|
+
# This parameter must be used together with `EnableVPCNetworking` set to
|
|
28384
|
+
# `false`. When both parameters are specified, IAM database
|
|
28385
|
+
# authentication is required. You must also specify
|
|
28386
|
+
# `EnableIAMDatabaseAuthentication`.
|
|
28387
|
+
#
|
|
28388
|
+
# Valid for Cluster Type: Aurora PostgreSQL clusters
|
|
28389
|
+
#
|
|
28078
28390
|
# @return [Types::RestoreDBClusterToPointInTimeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
28079
28391
|
#
|
|
28080
28392
|
# * {Types::RestoreDBClusterToPointInTimeResult#db_cluster #db_cluster} => Types::DBCluster
|
|
@@ -28144,6 +28456,65 @@ module Aws::RDS
|
|
|
28144
28456
|
# },
|
|
28145
28457
|
# }
|
|
28146
28458
|
#
|
|
28459
|
+
# @example Example: To restore an Aurora DB cluster to a point in time without VPC networking
|
|
28460
|
+
#
|
|
28461
|
+
# # The following example restores an Aurora DB cluster to the latest possible time without VPC networking and with
|
|
28462
|
+
# # internet-based connectivity enabled through an internet access gateway. The EnableVPCNetworking and
|
|
28463
|
+
# # EnableInternetAccessGateway parameters must always be specified together. IAM database authentication is required when
|
|
28464
|
+
# # both parameters are specified.
|
|
28465
|
+
#
|
|
28466
|
+
# resp = client.restore_db_cluster_to_point_in_time({
|
|
28467
|
+
# db_cluster_identifier: "sample-cluster-restored",
|
|
28468
|
+
# enable_iam_database_authentication: true,
|
|
28469
|
+
# enable_internet_access_gateway: true,
|
|
28470
|
+
# enable_vpc_networking: false,
|
|
28471
|
+
# restore_type: "copy-on-write",
|
|
28472
|
+
# source_db_cluster_identifier: "sample-cluster",
|
|
28473
|
+
# use_latest_restorable_time: true,
|
|
28474
|
+
# })
|
|
28475
|
+
#
|
|
28476
|
+
# resp.to_h outputs the following:
|
|
28477
|
+
# {
|
|
28478
|
+
# db_cluster: {
|
|
28479
|
+
# allocated_storage: 1,
|
|
28480
|
+
# associated_roles: [
|
|
28481
|
+
# ],
|
|
28482
|
+
# availability_zones: [
|
|
28483
|
+
# "us-east-1c",
|
|
28484
|
+
# "us-east-1a",
|
|
28485
|
+
# "us-east-1b",
|
|
28486
|
+
# ],
|
|
28487
|
+
# backup_retention_period: 7,
|
|
28488
|
+
# cluster_create_time: Time.parse("2026-01-15T22:14:02.000Z"),
|
|
28489
|
+
# copy_tags_to_snapshot: false,
|
|
28490
|
+
# cross_account_clone: false,
|
|
28491
|
+
# db_cluster_arn: "arn:aws:rds:us-east-1:654654253058:cluster:sample-cluster-restored",
|
|
28492
|
+
# db_cluster_identifier: "sample-cluster-restored",
|
|
28493
|
+
# db_cluster_members: [
|
|
28494
|
+
# ],
|
|
28495
|
+
# db_cluster_parameter_group: "default.aurora-postgresql17",
|
|
28496
|
+
# database_name: "",
|
|
28497
|
+
# db_cluster_resource_id: "cluster-ABCDEFGHIJKLMNOPQRSTUVWXYZ1234",
|
|
28498
|
+
# deletion_protection: false,
|
|
28499
|
+
# engine: "aurora-postgresql",
|
|
28500
|
+
# engine_mode: "provisioned",
|
|
28501
|
+
# engine_version: "17.7",
|
|
28502
|
+
# http_endpoint_enabled: false,
|
|
28503
|
+
# iam_database_authentication_enabled: true,
|
|
28504
|
+
# master_username: "postgres",
|
|
28505
|
+
# multi_az: false,
|
|
28506
|
+
# port: 5432,
|
|
28507
|
+
# preferred_backup_window: "06:15-06:45",
|
|
28508
|
+
# preferred_maintenance_window: "sat:03:44-sat:04:14",
|
|
28509
|
+
# read_replica_identifiers: [
|
|
28510
|
+
# ],
|
|
28511
|
+
# status: "creating",
|
|
28512
|
+
# storage_encrypted: false,
|
|
28513
|
+
# vpc_security_groups: [
|
|
28514
|
+
# ],
|
|
28515
|
+
# },
|
|
28516
|
+
# }
|
|
28517
|
+
#
|
|
28147
28518
|
# @example Request syntax with placeholder values
|
|
28148
28519
|
#
|
|
28149
28520
|
# resp = client.restore_db_cluster_to_point_in_time({
|
|
@@ -28215,6 +28586,8 @@ module Aws::RDS
|
|
|
28215
28586
|
# ],
|
|
28216
28587
|
# },
|
|
28217
28588
|
# ],
|
|
28589
|
+
# enable_vpc_networking: false,
|
|
28590
|
+
# enable_internet_access_gateway: false,
|
|
28218
28591
|
# })
|
|
28219
28592
|
#
|
|
28220
28593
|
# @example Response structure
|
|
@@ -28363,6 +28736,8 @@ module Aws::RDS
|
|
|
28363
28736
|
# resp.db_cluster.certificate_details.ca_identifier #=> String
|
|
28364
28737
|
# resp.db_cluster.certificate_details.valid_till #=> Time
|
|
28365
28738
|
# resp.db_cluster.engine_lifecycle_support #=> String
|
|
28739
|
+
# resp.db_cluster.vpc_networking_enabled #=> Boolean
|
|
28740
|
+
# resp.db_cluster.internet_access_gateway_enabled #=> Boolean
|
|
28366
28741
|
#
|
|
28367
28742
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTime AWS API Documentation
|
|
28368
28743
|
#
|
|
@@ -31817,6 +32192,8 @@ module Aws::RDS
|
|
|
31817
32192
|
# resp.db_cluster.certificate_details.ca_identifier #=> String
|
|
31818
32193
|
# resp.db_cluster.certificate_details.valid_till #=> Time
|
|
31819
32194
|
# resp.db_cluster.engine_lifecycle_support #=> String
|
|
32195
|
+
# resp.db_cluster.vpc_networking_enabled #=> Boolean
|
|
32196
|
+
# resp.db_cluster.internet_access_gateway_enabled #=> Boolean
|
|
31820
32197
|
#
|
|
31821
32198
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBCluster AWS API Documentation
|
|
31822
32199
|
#
|
|
@@ -32694,6 +33071,8 @@ module Aws::RDS
|
|
|
32694
33071
|
# resp.db_cluster.certificate_details.ca_identifier #=> String
|
|
32695
33072
|
# resp.db_cluster.certificate_details.valid_till #=> Time
|
|
32696
33073
|
# resp.db_cluster.engine_lifecycle_support #=> String
|
|
33074
|
+
# resp.db_cluster.vpc_networking_enabled #=> Boolean
|
|
33075
|
+
# resp.db_cluster.internet_access_gateway_enabled #=> Boolean
|
|
32697
33076
|
#
|
|
32698
33077
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBCluster AWS API Documentation
|
|
32699
33078
|
#
|
|
@@ -33605,7 +33984,7 @@ module Aws::RDS
|
|
|
33605
33984
|
tracer: tracer
|
|
33606
33985
|
)
|
|
33607
33986
|
context[:gem_name] = 'aws-sdk-rds'
|
|
33608
|
-
context[:gem_version] = '1.
|
|
33987
|
+
context[:gem_version] = '1.310.0'
|
|
33609
33988
|
Seahorse::Client::Request.new(handlers, context)
|
|
33610
33989
|
end
|
|
33611
33990
|
|
|
@@ -1165,6 +1165,7 @@ module Aws::RDS
|
|
|
1165
1165
|
CreateDBClusterMessage.add_member(:engine_lifecycle_support, Shapes::ShapeRef.new(shape: String, location_name: "EngineLifecycleSupport"))
|
|
1166
1166
|
CreateDBClusterMessage.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecifications"))
|
|
1167
1167
|
CreateDBClusterMessage.add_member(:master_user_authentication_type, Shapes::ShapeRef.new(shape: MasterUserAuthenticationType, location_name: "MasterUserAuthenticationType"))
|
|
1168
|
+
CreateDBClusterMessage.add_member(:with_express_configuration, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "WithExpressConfiguration"))
|
|
1168
1169
|
CreateDBClusterMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
|
|
1169
1170
|
CreateDBClusterMessage.struct_class = Types::CreateDBClusterMessage
|
|
1170
1171
|
|
|
@@ -1546,6 +1547,8 @@ module Aws::RDS
|
|
|
1546
1547
|
DBCluster.add_member(:cluster_scalability_type, Shapes::ShapeRef.new(shape: ClusterScalabilityType, location_name: "ClusterScalabilityType"))
|
|
1547
1548
|
DBCluster.add_member(:certificate_details, Shapes::ShapeRef.new(shape: CertificateDetails, location_name: "CertificateDetails"))
|
|
1548
1549
|
DBCluster.add_member(:engine_lifecycle_support, Shapes::ShapeRef.new(shape: String, location_name: "EngineLifecycleSupport"))
|
|
1550
|
+
DBCluster.add_member(:vpc_networking_enabled, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "VPCNetworkingEnabled"))
|
|
1551
|
+
DBCluster.add_member(:internet_access_gateway_enabled, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "InternetAccessGatewayEnabled"))
|
|
1549
1552
|
DBCluster.struct_class = Types::DBCluster
|
|
1550
1553
|
|
|
1551
1554
|
DBClusterAlreadyExistsFault.struct_class = Types::DBClusterAlreadyExistsFault
|
|
@@ -3999,6 +4002,8 @@ module Aws::RDS
|
|
|
3999
4002
|
RestoreDBClusterFromSnapshotMessage.add_member(:preferred_backup_window, Shapes::ShapeRef.new(shape: String, location_name: "PreferredBackupWindow"))
|
|
4000
4003
|
RestoreDBClusterFromSnapshotMessage.add_member(:engine_lifecycle_support, Shapes::ShapeRef.new(shape: String, location_name: "EngineLifecycleSupport"))
|
|
4001
4004
|
RestoreDBClusterFromSnapshotMessage.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecifications"))
|
|
4005
|
+
RestoreDBClusterFromSnapshotMessage.add_member(:enable_vpc_networking, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableVPCNetworking"))
|
|
4006
|
+
RestoreDBClusterFromSnapshotMessage.add_member(:enable_internet_access_gateway, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableInternetAccessGateway"))
|
|
4002
4007
|
RestoreDBClusterFromSnapshotMessage.struct_class = Types::RestoreDBClusterFromSnapshotMessage
|
|
4003
4008
|
|
|
4004
4009
|
RestoreDBClusterFromSnapshotResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
|
|
@@ -4042,6 +4047,8 @@ module Aws::RDS
|
|
|
4042
4047
|
RestoreDBClusterToPointInTimeMessage.add_member(:preferred_backup_window, Shapes::ShapeRef.new(shape: String, location_name: "PreferredBackupWindow"))
|
|
4043
4048
|
RestoreDBClusterToPointInTimeMessage.add_member(:engine_lifecycle_support, Shapes::ShapeRef.new(shape: String, location_name: "EngineLifecycleSupport"))
|
|
4044
4049
|
RestoreDBClusterToPointInTimeMessage.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecifications"))
|
|
4050
|
+
RestoreDBClusterToPointInTimeMessage.add_member(:enable_vpc_networking, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableVPCNetworking"))
|
|
4051
|
+
RestoreDBClusterToPointInTimeMessage.add_member(:enable_internet_access_gateway, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableInternetAccessGateway"))
|
|
4045
4052
|
RestoreDBClusterToPointInTimeMessage.struct_class = Types::RestoreDBClusterToPointInTimeMessage
|
|
4046
4053
|
|
|
4047
4054
|
RestoreDBClusterToPointInTimeResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
|
|
@@ -806,6 +806,25 @@ module Aws::RDS
|
|
|
806
806
|
data[:engine_lifecycle_support]
|
|
807
807
|
end
|
|
808
808
|
|
|
809
|
+
# Indicates whether the DB cluster uses VPC-based networking.
|
|
810
|
+
#
|
|
811
|
+
# This setting is applicable only for Aurora PostgreSQL clusters created
|
|
812
|
+
# through express configuration.
|
|
813
|
+
# @return [Boolean]
|
|
814
|
+
def vpc_networking_enabled
|
|
815
|
+
data[:vpc_networking_enabled]
|
|
816
|
+
end
|
|
817
|
+
|
|
818
|
+
# Indicates whether the DB cluster has internet-based connectivity
|
|
819
|
+
# enabled through an internet access gateway.
|
|
820
|
+
#
|
|
821
|
+
# This setting is applicable only for Aurora PostgreSQL clusters created
|
|
822
|
+
# through express configuration.
|
|
823
|
+
# @return [Boolean]
|
|
824
|
+
def internet_access_gateway_enabled
|
|
825
|
+
data[:internet_access_gateway_enabled]
|
|
826
|
+
end
|
|
827
|
+
|
|
809
828
|
# @!endgroup
|
|
810
829
|
|
|
811
830
|
# @return [Client]
|
|
@@ -1034,6 +1053,7 @@ module Aws::RDS
|
|
|
1034
1053
|
# },
|
|
1035
1054
|
# ],
|
|
1036
1055
|
# master_user_authentication_type: "password", # accepts password, iam-db-auth
|
|
1056
|
+
# with_express_configuration: false,
|
|
1037
1057
|
# source_region: "String",
|
|
1038
1058
|
# })
|
|
1039
1059
|
# @param [Hash] options ({})
|
|
@@ -1908,6 +1928,13 @@ module Aws::RDS
|
|
|
1908
1928
|
#
|
|
1909
1929
|
# This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL
|
|
1910
1930
|
# engines.
|
|
1931
|
+
# @option options [Boolean] :with_express_configuration
|
|
1932
|
+
# Specifies to create an Aurora DB Cluster with express configuration in
|
|
1933
|
+
# seconds. Express configuration provides a cluster with a writer
|
|
1934
|
+
# instance and feature specific values set to all other input parameters
|
|
1935
|
+
# of this API.
|
|
1936
|
+
#
|
|
1937
|
+
# Valid for Cluster Type: Aurora DB clusters
|
|
1911
1938
|
# @option options [String] :source_region
|
|
1912
1939
|
# The source region of the snapshot. This is only needed when the
|
|
1913
1940
|
# shapshot is encrypted and in a different region.
|
|
@@ -2878,6 +2905,8 @@ module Aws::RDS
|
|
|
2878
2905
|
# ],
|
|
2879
2906
|
# },
|
|
2880
2907
|
# ],
|
|
2908
|
+
# enable_vpc_networking: false,
|
|
2909
|
+
# enable_internet_access_gateway: false,
|
|
2881
2910
|
# })
|
|
2882
2911
|
# @param [Hash] options ({})
|
|
2883
2912
|
# @option options [required, String] :db_cluster_identifier
|
|
@@ -3376,6 +3405,28 @@ module Aws::RDS
|
|
|
3376
3405
|
# * `cluster-auto-backup` - The DB cluster's automated backup.
|
|
3377
3406
|
#
|
|
3378
3407
|
# ^
|
|
3408
|
+
# @option options [Boolean] :enable_vpc_networking
|
|
3409
|
+
# Specifies whether to enable VPC networking for the restored DB
|
|
3410
|
+
# cluster. Set this parameter to `false` to create a cluster without the
|
|
3411
|
+
# VPC network interface (ENI).
|
|
3412
|
+
#
|
|
3413
|
+
# This parameter must be used together with
|
|
3414
|
+
# `EnableInternetAccessGateway`. When both parameters are specified, IAM
|
|
3415
|
+
# database authentication is required. You must also specify
|
|
3416
|
+
# `EnableIAMDatabaseAuthentication`.
|
|
3417
|
+
#
|
|
3418
|
+
# Valid for Cluster Type: Aurora PostgreSQL clusters
|
|
3419
|
+
# @option options [Boolean] :enable_internet_access_gateway
|
|
3420
|
+
# Specifies that the restored DB cluster should use internet-based
|
|
3421
|
+
# connectivity through an internet access gateway. This allows clients
|
|
3422
|
+
# to connect to the cluster over the internet without requiring a VPC.
|
|
3423
|
+
#
|
|
3424
|
+
# This parameter must be used together with `EnableVPCNetworking` set to
|
|
3425
|
+
# `false`. When both parameters are specified, IAM database
|
|
3426
|
+
# authentication is required. You must also specify
|
|
3427
|
+
# `EnableIAMDatabaseAuthentication`.
|
|
3428
|
+
#
|
|
3429
|
+
# Valid for Cluster Type: Aurora PostgreSQL clusters
|
|
3379
3430
|
# @return [DBCluster]
|
|
3380
3431
|
def restore(options = {})
|
|
3381
3432
|
options = options.merge(source_db_cluster_identifier: @id)
|
|
@@ -648,6 +648,8 @@ module Aws::RDS
|
|
|
648
648
|
# ],
|
|
649
649
|
# },
|
|
650
650
|
# ],
|
|
651
|
+
# enable_vpc_networking: false,
|
|
652
|
+
# enable_internet_access_gateway: false,
|
|
651
653
|
# })
|
|
652
654
|
# @param [Hash] options ({})
|
|
653
655
|
# @option options [Array<String>] :availability_zones
|
|
@@ -1162,6 +1164,28 @@ module Aws::RDS
|
|
|
1162
1164
|
# * `cluster-auto-backup` - The DB cluster's automated backup.
|
|
1163
1165
|
#
|
|
1164
1166
|
# ^
|
|
1167
|
+
# @option options [Boolean] :enable_vpc_networking
|
|
1168
|
+
# Specifies whether to enable VPC networking for the restored DB
|
|
1169
|
+
# cluster. Set this parameter to `false` to create a cluster without the
|
|
1170
|
+
# VPC network interface (ENI).
|
|
1171
|
+
#
|
|
1172
|
+
# This parameter must be used together with
|
|
1173
|
+
# `EnableInternetAccessGateway`. When both parameters are specified, IAM
|
|
1174
|
+
# database authentication is required. You must also specify
|
|
1175
|
+
# `EnableIAMDatabaseAuthentication`.
|
|
1176
|
+
#
|
|
1177
|
+
# Valid for Cluster Type: Aurora PostgreSQL clusters
|
|
1178
|
+
# @option options [Boolean] :enable_internet_access_gateway
|
|
1179
|
+
# Specifies that the restored DB cluster should use internet-based
|
|
1180
|
+
# connectivity through an internet access gateway. This allows clients
|
|
1181
|
+
# to connect to the cluster over the internet without requiring a VPC.
|
|
1182
|
+
#
|
|
1183
|
+
# This parameter must be used together with `EnableVPCNetworking` set to
|
|
1184
|
+
# `false`. When both parameters are specified, IAM database
|
|
1185
|
+
# authentication is required. You must also specify
|
|
1186
|
+
# `EnableIAMDatabaseAuthentication`.
|
|
1187
|
+
#
|
|
1188
|
+
# Valid for Cluster Type: Aurora PostgreSQL clusters
|
|
1165
1189
|
# @return [DBCluster]
|
|
1166
1190
|
def restore(options = {})
|
|
1167
1191
|
options = options.merge(snapshot_identifier: @snapshot_id)
|
data/lib/aws-sdk-rds/resource.rb
CHANGED
|
@@ -126,6 +126,7 @@ module Aws::RDS
|
|
|
126
126
|
# },
|
|
127
127
|
# ],
|
|
128
128
|
# master_user_authentication_type: "password", # accepts password, iam-db-auth
|
|
129
|
+
# with_express_configuration: false,
|
|
129
130
|
# source_region: "String",
|
|
130
131
|
# })
|
|
131
132
|
# @param [Hash] options ({})
|
|
@@ -1016,6 +1017,13 @@ module Aws::RDS
|
|
|
1016
1017
|
#
|
|
1017
1018
|
# This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL
|
|
1018
1019
|
# engines.
|
|
1020
|
+
# @option options [Boolean] :with_express_configuration
|
|
1021
|
+
# Specifies to create an Aurora DB Cluster with express configuration in
|
|
1022
|
+
# seconds. Express configuration provides a cluster with a writer
|
|
1023
|
+
# instance and feature specific values set to all other input parameters
|
|
1024
|
+
# of this API.
|
|
1025
|
+
#
|
|
1026
|
+
# Valid for Cluster Type: Aurora DB clusters
|
|
1019
1027
|
# @option options [String] :source_region
|
|
1020
1028
|
# The source region of the snapshot. This is only needed when the
|
|
1021
1029
|
# shapshot is encrypted and in a different region.
|
data/lib/aws-sdk-rds/types.rb
CHANGED
|
@@ -730,10 +730,6 @@ module Aws::RDS
|
|
|
730
730
|
include Aws::Structure
|
|
731
731
|
end
|
|
732
732
|
|
|
733
|
-
# <zonbook />
|
|
734
|
-
#
|
|
735
|
-
# <xhtml />
|
|
736
|
-
#
|
|
737
733
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/BackupPolicyNotFoundFault AWS API Documentation
|
|
738
734
|
#
|
|
739
735
|
class BackupPolicyNotFoundFault < Aws::EmptyStructure; end
|
|
@@ -3423,6 +3419,15 @@ module Aws::RDS
|
|
|
3423
3419
|
# PostgreSQL engines.
|
|
3424
3420
|
# @return [String]
|
|
3425
3421
|
#
|
|
3422
|
+
# @!attribute [rw] with_express_configuration
|
|
3423
|
+
# Specifies to create an Aurora DB Cluster with express configuration
|
|
3424
|
+
# in seconds. Express configuration provides a cluster with a writer
|
|
3425
|
+
# instance and feature specific values set to all other input
|
|
3426
|
+
# parameters of this API.
|
|
3427
|
+
#
|
|
3428
|
+
# Valid for Cluster Type: Aurora DB clusters
|
|
3429
|
+
# @return [Boolean]
|
|
3430
|
+
#
|
|
3426
3431
|
# @!attribute [rw] source_region
|
|
3427
3432
|
# The source region of the snapshot. This is only needed when the
|
|
3428
3433
|
# shapshot is encrypted and in a different region.
|
|
@@ -3489,6 +3494,7 @@ module Aws::RDS
|
|
|
3489
3494
|
:engine_lifecycle_support,
|
|
3490
3495
|
:tag_specifications,
|
|
3491
3496
|
:master_user_authentication_type,
|
|
3497
|
+
:with_express_configuration,
|
|
3492
3498
|
:source_region)
|
|
3493
3499
|
SENSITIVE = [:master_user_password, :pre_signed_url]
|
|
3494
3500
|
include Aws::Structure
|
|
@@ -7956,6 +7962,21 @@ module Aws::RDS
|
|
|
7956
7962
|
# For more information, see CreateDBCluster.
|
|
7957
7963
|
# @return [String]
|
|
7958
7964
|
#
|
|
7965
|
+
# @!attribute [rw] vpc_networking_enabled
|
|
7966
|
+
# Indicates whether the DB cluster uses VPC-based networking.
|
|
7967
|
+
#
|
|
7968
|
+
# This setting is applicable only for Aurora PostgreSQL clusters
|
|
7969
|
+
# created through express configuration.
|
|
7970
|
+
# @return [Boolean]
|
|
7971
|
+
#
|
|
7972
|
+
# @!attribute [rw] internet_access_gateway_enabled
|
|
7973
|
+
# Indicates whether the DB cluster has internet-based connectivity
|
|
7974
|
+
# enabled through an internet access gateway.
|
|
7975
|
+
#
|
|
7976
|
+
# This setting is applicable only for Aurora PostgreSQL clusters
|
|
7977
|
+
# created through express configuration.
|
|
7978
|
+
# @return [Boolean]
|
|
7979
|
+
#
|
|
7959
7980
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBCluster AWS API Documentation
|
|
7960
7981
|
#
|
|
7961
7982
|
class DBCluster < Struct.new(
|
|
@@ -8044,7 +8065,9 @@ module Aws::RDS
|
|
|
8044
8065
|
:limitless_database,
|
|
8045
8066
|
:cluster_scalability_type,
|
|
8046
8067
|
:certificate_details,
|
|
8047
|
-
:engine_lifecycle_support
|
|
8068
|
+
:engine_lifecycle_support,
|
|
8069
|
+
:vpc_networking_enabled,
|
|
8070
|
+
:internet_access_gateway_enabled)
|
|
8048
8071
|
SENSITIVE = []
|
|
8049
8072
|
include Aws::Structure
|
|
8050
8073
|
end
|
|
@@ -25238,6 +25261,32 @@ module Aws::RDS
|
|
|
25238
25261
|
# ^
|
|
25239
25262
|
# @return [Array<Types::TagSpecification>]
|
|
25240
25263
|
#
|
|
25264
|
+
# @!attribute [rw] enable_vpc_networking
|
|
25265
|
+
# Specifies whether to enable VPC networking for the restored DB
|
|
25266
|
+
# cluster. Set this parameter to `false` to create a cluster without
|
|
25267
|
+
# the VPC network interface (ENI).
|
|
25268
|
+
#
|
|
25269
|
+
# This parameter must be used together with
|
|
25270
|
+
# `EnableInternetAccessGateway`. When both parameters are specified,
|
|
25271
|
+
# IAM database authentication is required. You must also specify
|
|
25272
|
+
# `EnableIAMDatabaseAuthentication`.
|
|
25273
|
+
#
|
|
25274
|
+
# Valid for Cluster Type: Aurora PostgreSQL clusters
|
|
25275
|
+
# @return [Boolean]
|
|
25276
|
+
#
|
|
25277
|
+
# @!attribute [rw] enable_internet_access_gateway
|
|
25278
|
+
# Specifies that the restored DB cluster should use internet-based
|
|
25279
|
+
# connectivity through an internet access gateway. This allows clients
|
|
25280
|
+
# to connect to the cluster over the internet without requiring a VPC.
|
|
25281
|
+
#
|
|
25282
|
+
# This parameter must be used together with `EnableVPCNetworking` set
|
|
25283
|
+
# to `false`. When both parameters are specified, IAM database
|
|
25284
|
+
# authentication is required. You must also specify
|
|
25285
|
+
# `EnableIAMDatabaseAuthentication`.
|
|
25286
|
+
#
|
|
25287
|
+
# Valid for Cluster Type: Aurora PostgreSQL clusters
|
|
25288
|
+
# @return [Boolean]
|
|
25289
|
+
#
|
|
25241
25290
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromSnapshotMessage AWS API Documentation
|
|
25242
25291
|
#
|
|
25243
25292
|
class RestoreDBClusterFromSnapshotMessage < Struct.new(
|
|
@@ -25278,7 +25327,9 @@ module Aws::RDS
|
|
|
25278
25327
|
:backup_retention_period,
|
|
25279
25328
|
:preferred_backup_window,
|
|
25280
25329
|
:engine_lifecycle_support,
|
|
25281
|
-
:tag_specifications
|
|
25330
|
+
:tag_specifications,
|
|
25331
|
+
:enable_vpc_networking,
|
|
25332
|
+
:enable_internet_access_gateway)
|
|
25282
25333
|
SENSITIVE = []
|
|
25283
25334
|
include Aws::Structure
|
|
25284
25335
|
end
|
|
@@ -25910,6 +25961,32 @@ module Aws::RDS
|
|
|
25910
25961
|
# ^
|
|
25911
25962
|
# @return [Array<Types::TagSpecification>]
|
|
25912
25963
|
#
|
|
25964
|
+
# @!attribute [rw] enable_vpc_networking
|
|
25965
|
+
# Specifies whether to enable VPC networking for the restored DB
|
|
25966
|
+
# cluster. Set this parameter to `false` to create a cluster without
|
|
25967
|
+
# the VPC network interface (ENI).
|
|
25968
|
+
#
|
|
25969
|
+
# This parameter must be used together with
|
|
25970
|
+
# `EnableInternetAccessGateway`. When both parameters are specified,
|
|
25971
|
+
# IAM database authentication is required. You must also specify
|
|
25972
|
+
# `EnableIAMDatabaseAuthentication`.
|
|
25973
|
+
#
|
|
25974
|
+
# Valid for Cluster Type: Aurora PostgreSQL clusters
|
|
25975
|
+
# @return [Boolean]
|
|
25976
|
+
#
|
|
25977
|
+
# @!attribute [rw] enable_internet_access_gateway
|
|
25978
|
+
# Specifies that the restored DB cluster should use internet-based
|
|
25979
|
+
# connectivity through an internet access gateway. This allows clients
|
|
25980
|
+
# to connect to the cluster over the internet without requiring a VPC.
|
|
25981
|
+
#
|
|
25982
|
+
# This parameter must be used together with `EnableVPCNetworking` set
|
|
25983
|
+
# to `false`. When both parameters are specified, IAM database
|
|
25984
|
+
# authentication is required. You must also specify
|
|
25985
|
+
# `EnableIAMDatabaseAuthentication`.
|
|
25986
|
+
#
|
|
25987
|
+
# Valid for Cluster Type: Aurora PostgreSQL clusters
|
|
25988
|
+
# @return [Boolean]
|
|
25989
|
+
#
|
|
25913
25990
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTimeMessage AWS API Documentation
|
|
25914
25991
|
#
|
|
25915
25992
|
class RestoreDBClusterToPointInTimeMessage < Struct.new(
|
|
@@ -25950,7 +26027,9 @@ module Aws::RDS
|
|
|
25950
26027
|
:backup_retention_period,
|
|
25951
26028
|
:preferred_backup_window,
|
|
25952
26029
|
:engine_lifecycle_support,
|
|
25953
|
-
:tag_specifications
|
|
26030
|
+
:tag_specifications,
|
|
26031
|
+
:enable_vpc_networking,
|
|
26032
|
+
:enable_internet_access_gateway)
|
|
25954
26033
|
SENSITIVE = []
|
|
25955
26034
|
include Aws::Structure
|
|
25956
26035
|
end
|
data/lib/aws-sdk-rds.rb
CHANGED
|
@@ -80,7 +80,7 @@ module Aws::RDS
|
|
|
80
80
|
autoload :ReservedDBInstancesOffering, 'aws-sdk-rds/reserved_db_instances_offering'
|
|
81
81
|
autoload :ResourcePendingMaintenanceActionList, 'aws-sdk-rds/resource_pending_maintenance_action_list'
|
|
82
82
|
|
|
83
|
-
GEM_VERSION = '1.
|
|
83
|
+
GEM_VERSION = '1.310.0'
|
|
84
84
|
|
|
85
85
|
end
|
|
86
86
|
|
data/sig/client.rbs
CHANGED
|
@@ -469,6 +469,7 @@ module Aws
|
|
|
469
469
|
},
|
|
470
470
|
],
|
|
471
471
|
?master_user_authentication_type: ("password" | "iam-db-auth"),
|
|
472
|
+
?with_express_configuration: bool,
|
|
472
473
|
?source_region: ::String
|
|
473
474
|
) -> _CreateDBClusterResponseSuccess
|
|
474
475
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDBClusterResponseSuccess
|
|
@@ -3183,7 +3184,9 @@ module Aws
|
|
|
3183
3184
|
},
|
|
3184
3185
|
]?
|
|
3185
3186
|
},
|
|
3186
|
-
]
|
|
3187
|
+
],
|
|
3188
|
+
?enable_vpc_networking: bool,
|
|
3189
|
+
?enable_internet_access_gateway: bool
|
|
3187
3190
|
) -> _RestoreDBClusterFromSnapshotResponseSuccess
|
|
3188
3191
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreDBClusterFromSnapshotResponseSuccess
|
|
3189
3192
|
|
|
@@ -3260,7 +3263,9 @@ module Aws
|
|
|
3260
3263
|
},
|
|
3261
3264
|
]?
|
|
3262
3265
|
},
|
|
3263
|
-
]
|
|
3266
|
+
],
|
|
3267
|
+
?enable_vpc_networking: bool,
|
|
3268
|
+
?enable_internet_access_gateway: bool
|
|
3264
3269
|
) -> _RestoreDBClusterToPointInTimeResponseSuccess
|
|
3265
3270
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreDBClusterToPointInTimeResponseSuccess
|
|
3266
3271
|
|
data/sig/db_cluster.rbs
CHANGED
|
@@ -273,6 +273,12 @@ module Aws
|
|
|
273
273
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#engine_lifecycle_support-instance_method
|
|
274
274
|
def engine_lifecycle_support: () -> ::String
|
|
275
275
|
|
|
276
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#vpc_networking_enabled-instance_method
|
|
277
|
+
def vpc_networking_enabled: () -> bool
|
|
278
|
+
|
|
279
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#internet_access_gateway_enabled-instance_method
|
|
280
|
+
def internet_access_gateway_enabled: () -> bool
|
|
281
|
+
|
|
276
282
|
def client: () -> Client
|
|
277
283
|
|
|
278
284
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html#load-instance_method
|
|
@@ -375,6 +381,7 @@ module Aws
|
|
|
375
381
|
},
|
|
376
382
|
],
|
|
377
383
|
?master_user_authentication_type: ("password" | "iam-db-auth"),
|
|
384
|
+
?with_express_configuration: bool,
|
|
378
385
|
?source_region: ::String
|
|
379
386
|
) -> DBCluster
|
|
380
387
|
| (?Hash[Symbol, untyped]) -> DBCluster
|
|
@@ -538,7 +545,9 @@ module Aws
|
|
|
538
545
|
},
|
|
539
546
|
]?
|
|
540
547
|
},
|
|
541
|
-
]
|
|
548
|
+
],
|
|
549
|
+
?enable_vpc_networking: bool,
|
|
550
|
+
?enable_internet_access_gateway: bool
|
|
542
551
|
) -> DBCluster
|
|
543
552
|
| (?Hash[Symbol, untyped]) -> DBCluster
|
|
544
553
|
|
data/sig/db_cluster_snapshot.rbs
CHANGED
data/sig/resource.rbs
CHANGED
data/sig/types.rbs
CHANGED
|
@@ -442,6 +442,7 @@ module Aws::RDS
|
|
|
442
442
|
attr_accessor engine_lifecycle_support: ::String
|
|
443
443
|
attr_accessor tag_specifications: ::Array[Types::TagSpecification]
|
|
444
444
|
attr_accessor master_user_authentication_type: ("password" | "iam-db-auth")
|
|
445
|
+
attr_accessor with_express_configuration: bool
|
|
445
446
|
attr_accessor source_region: ::String
|
|
446
447
|
SENSITIVE: [:master_user_password, :pre_signed_url]
|
|
447
448
|
end
|
|
@@ -893,6 +894,8 @@ module Aws::RDS
|
|
|
893
894
|
attr_accessor cluster_scalability_type: ("standard" | "limitless")
|
|
894
895
|
attr_accessor certificate_details: Types::CertificateDetails
|
|
895
896
|
attr_accessor engine_lifecycle_support: ::String
|
|
897
|
+
attr_accessor vpc_networking_enabled: bool
|
|
898
|
+
attr_accessor internet_access_gateway_enabled: bool
|
|
896
899
|
SENSITIVE: []
|
|
897
900
|
end
|
|
898
901
|
|
|
@@ -3863,6 +3866,8 @@ module Aws::RDS
|
|
|
3863
3866
|
attr_accessor preferred_backup_window: ::String
|
|
3864
3867
|
attr_accessor engine_lifecycle_support: ::String
|
|
3865
3868
|
attr_accessor tag_specifications: ::Array[Types::TagSpecification]
|
|
3869
|
+
attr_accessor enable_vpc_networking: bool
|
|
3870
|
+
attr_accessor enable_internet_access_gateway: bool
|
|
3866
3871
|
SENSITIVE: []
|
|
3867
3872
|
end
|
|
3868
3873
|
|
|
@@ -3910,6 +3915,8 @@ module Aws::RDS
|
|
|
3910
3915
|
attr_accessor preferred_backup_window: ::String
|
|
3911
3916
|
attr_accessor engine_lifecycle_support: ::String
|
|
3912
3917
|
attr_accessor tag_specifications: ::Array[Types::TagSpecification]
|
|
3918
|
+
attr_accessor enable_vpc_networking: bool
|
|
3919
|
+
attr_accessor enable_internet_access_gateway: bool
|
|
3913
3920
|
SENSITIVE: []
|
|
3914
3921
|
end
|
|
3915
3922
|
|