aws-sdk-rds 1.252.0 → 1.262.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.
@@ -306,6 +306,17 @@ module Aws::RDS
306
306
  data[:supports_integrations]
307
307
  end
308
308
 
309
+ # Specifies any Aurora Serverless v2 properties or limits that differ
310
+ # between Aurora engine versions. You can test the values of this
311
+ # attribute when deciding which Aurora version to use in a new or
312
+ # upgraded DB cluster. You can also retrieve the version of an existing
313
+ # DB cluster and check whether that version supports certain Aurora
314
+ # Serverless v2 features before you attempt to use those features.
315
+ # @return [Types::ServerlessV2FeaturesSupport]
316
+ def serverless_v2_features_support
317
+ data[:serverless_v2_features_support]
318
+ end
319
+
309
320
  # @!endgroup
310
321
 
311
322
  # @return [Client]
@@ -461,6 +461,12 @@ module Aws::RDS
461
461
  data[:iam_database_authentication_enabled]
462
462
  end
463
463
 
464
+ # The mode of Database Insights that is enabled for the instance.
465
+ # @return [String]
466
+ def database_insights_mode
467
+ data[:database_insights_mode]
468
+ end
469
+
464
470
  # Indicates whether Performance Insights is enabled for the DB instance.
465
471
  # @return [Boolean]
466
472
  def performance_insights_enabled
@@ -988,6 +994,7 @@ module Aws::RDS
988
994
  # promotion_tier: 1,
989
995
  # timezone: "String",
990
996
  # enable_iam_database_authentication: false,
997
+ # database_insights_mode: "standard", # accepts standard, advanced
991
998
  # enable_performance_insights: false,
992
999
  # performance_insights_kms_key_id: "String",
993
1000
  # performance_insights_retention_period: 1,
@@ -1029,6 +1036,9 @@ module Aws::RDS
1029
1036
  #
1030
1037
  # * Must contain 1 to 64 alphanumeric characters.
1031
1038
  #
1039
+ # * Must begin with a letter. Subsequent characters can be letters,
1040
+ # underscores, or digits (0-9).
1041
+ #
1032
1042
  # * Can't be a word reserved by the database engine.
1033
1043
  #
1034
1044
  # Amazon Aurora PostgreSQL
@@ -1246,14 +1256,12 @@ module Aws::RDS
1246
1256
  # 16384.
1247
1257
  #
1248
1258
  # * Web and Express editions: Must be an integer from 20 to 16384.
1249
- #
1250
1259
  # * Provisioned IOPS storage (io1, io2):
1251
1260
  #
1252
1261
  # * Enterprise and Standard editions: Must be an integer from 100 to
1253
1262
  # 16384.
1254
1263
  #
1255
1264
  # * Web and Express editions: Must be an integer from 100 to 16384.
1256
- #
1257
1265
  # * Magnetic storage (standard):
1258
1266
  #
1259
1267
  # * Enterprise and Standard editions: Must be an integer from 20 to
@@ -1934,6 +1942,8 @@ module Aws::RDS
1934
1942
  #
1935
1943
  #
1936
1944
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html
1945
+ # @option options [String] :database_insights_mode
1946
+ # Specifies the mode of Database Insights to enable for the instance.
1937
1947
  # @option options [Boolean] :enable_performance_insights
1938
1948
  # Specifies whether to enable Performance Insights for the DB instance.
1939
1949
  # For more information, see [Using Amazon Performance Insights][1] in
@@ -2275,6 +2285,7 @@ module Aws::RDS
2275
2285
  # kms_key_id: "String",
2276
2286
  # pre_signed_url: "String",
2277
2287
  # enable_iam_database_authentication: false,
2288
+ # database_insights_mode: "standard", # accepts standard, advanced
2278
2289
  # enable_performance_insights: false,
2279
2290
  # performance_insights_kms_key_id: "String",
2280
2291
  # performance_insights_retention_period: 1,
@@ -2604,6 +2615,8 @@ module Aws::RDS
2604
2615
  #
2605
2616
  #
2606
2617
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html
2618
+ # @option options [String] :database_insights_mode
2619
+ # Specifies the mode of Database Insights.
2607
2620
  # @option options [Boolean] :enable_performance_insights
2608
2621
  # Specifies whether to enable Performance Insights for the read replica.
2609
2622
  #
@@ -3058,6 +3071,7 @@ module Aws::RDS
3058
3071
  # disable_domain: false,
3059
3072
  # promotion_tier: 1,
3060
3073
  # enable_iam_database_authentication: false,
3074
+ # database_insights_mode: "standard", # accepts standard, advanced
3061
3075
  # enable_performance_insights: false,
3062
3076
  # performance_insights_kms_key_id: "String",
3063
3077
  # performance_insights_retention_period: 1,
@@ -3771,6 +3785,8 @@ module Aws::RDS
3771
3785
  #
3772
3786
  #
3773
3787
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html
3788
+ # @option options [String] :database_insights_mode
3789
+ # Specifies the mode of Database Insights to enable for the instance.
3774
3790
  # @option options [Boolean] :enable_performance_insights
3775
3791
  # Specifies whether to enable Performance Insights for the DB instance.
3776
3792
  #
@@ -52,15 +52,18 @@ module Aws::RDS
52
52
  self[:region] = options[:region]
53
53
  self[:use_dual_stack] = options[:use_dual_stack]
54
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
- if self[:use_dual_stack].nil?
56
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
- end
58
55
  self[:use_fips] = options[:use_fips]
59
56
  self[:use_fips] = false if self[:use_fips].nil?
60
- if self[:use_fips].nil?
61
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
- end
63
57
  self[:endpoint] = options[:endpoint]
64
58
  end
59
+
60
+ def self.create(config, options={})
61
+ new({
62
+ region: config.region,
63
+ use_dual_stack: config.use_dualstack_endpoint,
64
+ use_fips: config.use_fips_endpoint,
65
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
66
+ }.merge(options))
67
+ end
65
68
  end
66
69
  end