aws-sdk-rds 1.232.0 → 1.234.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 612c8b5f8143854a11cf1bbedbacaea55f4fd6596879a25eab7b800c45bae0b5
4
- data.tar.gz: 579c7c5995b88dd5d8afccbb00ef359a82414c1da3f6b6d8326dc1cb210d8f80
3
+ metadata.gz: 2165742738b28d05935276090ed835906bc7832e9765dd00bde2e7646f7fe4f1
4
+ data.tar.gz: d7c0e7dfba1539fd0bc55b4656d5db0067d6cdd3e91f1f84087af01056631d45
5
5
  SHA512:
6
- metadata.gz: d3479bdd0bc4527180c9343ce2c2b39cd36fb4cf8fd489507b98e5c0dabfd85a93ff0fb1baf6101bbf49f4b379d89136eafd25671cb86670131b187bfc713be2
7
- data.tar.gz: f0d817924b77e0dcd11314dcf382130767990ebb101bc634a71e2ef325792413a4011f01273ef690c166f047deba779cb038d863135e3e887f09e5f58d95ea35
6
+ metadata.gz: c960ce86f8bff97fc9ee07c9abecc4dd46f4dbdcf1f2eb916f538a8360a4f6868cf1877ad85025f1ef5fb9893b00bb2e3ff08dce253996999b43d1452cb38476
7
+ data.tar.gz: 32c354b5dc33df6b7b0eb6f180d8f788134631597e11c4a543a3f93dd925d4836a2f9ddf739b59d154ff56d8cc7b944756cbf529a1f4acdcfbefc3fafcf477ae
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.234.0 (2024-06-05)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.233.0 (2024-05-30)
10
+ ------------------
11
+
12
+ * Feature - Updates Amazon RDS documentation for Aurora Postgres DBname.
13
+
4
14
  1.232.0 (2024-05-21)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.232.0
1
+ 1.234.0
@@ -171,7 +171,7 @@ module Aws::RDS
171
171
  :retry
172
172
  end
173
173
  end
174
- Aws::Plugins::UserAgent.feature('resource') do
174
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
175
175
  Aws::Waiters::Waiter.new(options).wait({})
176
176
  end
177
177
  end
@@ -93,7 +93,7 @@ module Aws::RDS
93
93
  #
94
94
  # @return [self]
95
95
  def load
96
- resp = Aws::Plugins::UserAgent.feature('resource') do
96
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
97
97
  @client.describe_certificates(certificate_identifier: @id)
98
98
  end
99
99
  @data = resp.certificates[0]
@@ -210,7 +210,7 @@ module Aws::RDS
210
210
  :retry
211
211
  end
212
212
  end
213
- Aws::Plugins::UserAgent.feature('resource') do
213
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
214
214
  Aws::Waiters::Waiter.new(options).wait({})
215
215
  end
216
216
  end
@@ -617,12 +617,14 @@ module Aws::RDS
617
617
  # Amazon RDS resources, or used in a Condition statement in an IAM
618
618
  # policy for Amazon RDS.
619
619
  #
620
- # For an overview on tagging Amazon RDS resources, see [Tagging Amazon
621
- # RDS Resources][1].
620
+ # For an overview on tagging your relational database resources, see
621
+ # [Tagging Amazon RDS Resources][1] or [Tagging Amazon Aurora and Amazon
622
+ # RDS Resources][2].
622
623
  #
623
624
  #
624
625
  #
625
- # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.Tagging.html
626
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
627
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html
626
628
  #
627
629
  # @option params [required, String] :resource_name
628
630
  # The Amazon RDS resource that the tags are added to. This value is an
@@ -2577,9 +2579,9 @@ module Aws::RDS
2577
2579
  # Valid for Cluster Type: Aurora DB clusters only
2578
2580
  #
2579
2581
  # @option params [String] :database_name
2580
- # The name for your database of up to 64 alphanumeric characters. If you
2581
- # don't provide a name, Amazon RDS doesn't create a database in the DB
2582
- # cluster you are creating.
2582
+ # The name for your database of up to 64 alphanumeric characters. A
2583
+ # database named `postgres` is always created. If this parameter is
2584
+ # specified, an additional database with this name is created.
2583
2585
  #
2584
2586
  # Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
2585
2587
  #
@@ -4255,9 +4257,9 @@ module Aws::RDS
4255
4257
  # Amazon Aurora PostgreSQL
4256
4258
  #
4257
4259
  # : The name of the database to create when the primary DB instance of
4258
- # the Aurora PostgreSQL DB cluster is created. If this parameter
4259
- # isn't specified for an Aurora PostgreSQL DB cluster, a database
4260
- # named `postgres` is created in the DB cluster.
4260
+ # the Aurora PostgreSQL DB cluster is created. A database named
4261
+ # `postgres` is always created. If this parameter is specified, an
4262
+ # additional database with this name is created.
4261
4263
  #
4262
4264
  # Constraints:
4263
4265
  #
@@ -4352,8 +4354,8 @@ module Aws::RDS
4352
4354
  # RDS for PostgreSQL
4353
4355
  #
4354
4356
  # : The name of the database to create when the DB instance is created.
4355
- # If this parameter isn't specified, a database named `postgres` is
4356
- # created in the DB instance.
4357
+ # A database named `postgres` is always created. If this parameter is
4358
+ # specified, an additional database with this name is created.
4357
4359
  #
4358
4360
  # Constraints:
4359
4361
  #
@@ -27759,8 +27761,14 @@ module Aws::RDS
27759
27761
  # The prefix of your Amazon S3 bucket.
27760
27762
  #
27761
27763
  # @option params [required, String] :s3_ingestion_role_arn
27762
- # An Amazon Web Services Identity and Access Management (IAM) role to
27763
- # allow Amazon RDS to access your Amazon S3 bucket.
27764
+ # An Amazon Web Services Identity and Access Management (IAM) role with
27765
+ # a trust policy and a permissions policy that allows Amazon RDS to
27766
+ # access your Amazon S3 bucket. For information about this role, see [
27767
+ # Creating an IAM role manually][1] in the *Amazon RDS User Guide.*
27768
+ #
27769
+ #
27770
+ #
27771
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/MySQL.Procedural.Importing.html#MySQL.Procedural.Importing.Enabling.IAM
27764
27772
  #
27765
27773
  # @option params [Boolean] :enable_performance_insights
27766
27774
  # Specifies whether to enable Performance Insights for the DB instance.
@@ -31244,7 +31252,7 @@ module Aws::RDS
31244
31252
  params: params,
31245
31253
  config: config)
31246
31254
  context[:gem_name] = 'aws-sdk-rds'
31247
- context[:gem_version] = '1.232.0'
31255
+ context[:gem_version] = '1.234.0'
31248
31256
  Seahorse::Client::Request.new(handlers, context)
31249
31257
  end
31250
31258
 
@@ -734,7 +734,7 @@ module Aws::RDS
734
734
  #
735
735
  # @return [self]
736
736
  def load
737
- resp = Aws::Plugins::UserAgent.feature('resource') do
737
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
738
738
  @client.describe_db_clusters(db_cluster_identifier: @id)
739
739
  end
740
740
  @data = resp.db_clusters[0]
@@ -851,7 +851,7 @@ module Aws::RDS
851
851
  :retry
852
852
  end
853
853
  end
854
- Aws::Plugins::UserAgent.feature('resource') do
854
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
855
855
  Aws::Waiters::Waiter.new(options).wait({})
856
856
  end
857
857
  end
@@ -972,9 +972,9 @@ module Aws::RDS
972
972
  #
973
973
  # Valid for Cluster Type: Aurora DB clusters only
974
974
  # @option options [String] :database_name
975
- # The name for your database of up to 64 alphanumeric characters. If you
976
- # don't provide a name, Amazon RDS doesn't create a database in the DB
977
- # cluster you are creating.
975
+ # The name for your database of up to 64 alphanumeric characters. A
976
+ # database named `postgres` is always created. If this parameter is
977
+ # specified, an additional database with this name is created.
978
978
  #
979
979
  # Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
980
980
  # @option options [String] :db_cluster_parameter_group_name
@@ -1759,7 +1759,7 @@ module Aws::RDS
1759
1759
  # @return [DBCluster]
1760
1760
  def create(options = {})
1761
1761
  options = options.merge(db_cluster_identifier: @id)
1762
- resp = Aws::Plugins::UserAgent.feature('resource') do
1762
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
1763
1763
  @client.create_db_cluster(options)
1764
1764
  end
1765
1765
  DBCluster.new(
@@ -1799,7 +1799,7 @@ module Aws::RDS
1799
1799
  # @return [DBClusterSnapshot]
1800
1800
  def create_snapshot(options = {})
1801
1801
  options = options.merge(db_cluster_identifier: @id)
1802
- resp = Aws::Plugins::UserAgent.feature('resource') do
1802
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
1803
1803
  @client.create_db_cluster_snapshot(options)
1804
1804
  end
1805
1805
  DBClusterSnapshot.new(
@@ -1855,7 +1855,7 @@ module Aws::RDS
1855
1855
  # @return [DBCluster]
1856
1856
  def delete(options = {})
1857
1857
  options = options.merge(db_cluster_identifier: @id)
1858
- resp = Aws::Plugins::UserAgent.feature('resource') do
1858
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
1859
1859
  @client.delete_db_cluster(options)
1860
1860
  end
1861
1861
  DBCluster.new(
@@ -1882,7 +1882,7 @@ module Aws::RDS
1882
1882
  # @return [DBCluster]
1883
1883
  def failover(options = {})
1884
1884
  options = options.merge(db_cluster_identifier: @id)
1885
- resp = Aws::Plugins::UserAgent.feature('resource') do
1885
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
1886
1886
  @client.failover_db_cluster(options)
1887
1887
  end
1888
1888
  DBCluster.new(
@@ -2596,7 +2596,7 @@ module Aws::RDS
2596
2596
  # @return [DBCluster]
2597
2597
  def modify(options = {})
2598
2598
  options = options.merge(db_cluster_identifier: @id)
2599
- resp = Aws::Plugins::UserAgent.feature('resource') do
2599
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
2600
2600
  @client.modify_db_cluster(options)
2601
2601
  end
2602
2602
  DBCluster.new(
@@ -3055,7 +3055,7 @@ module Aws::RDS
3055
3055
  # @return [DBCluster]
3056
3056
  def restore(options = {})
3057
3057
  options = options.merge(source_db_cluster_identifier: @id)
3058
- resp = Aws::Plugins::UserAgent.feature('resource') do
3058
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
3059
3059
  @client.restore_db_cluster_to_point_in_time(options)
3060
3060
  end
3061
3061
  DBCluster.new(
@@ -3118,7 +3118,7 @@ module Aws::RDS
3118
3118
  source_type: "db-cluster",
3119
3119
  source_identifier: @id
3120
3120
  )
3121
- resp = Aws::Plugins::UserAgent.feature('resource') do
3121
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
3122
3122
  @client.describe_events(options)
3123
3123
  end
3124
3124
  resp.each_page do |page|
@@ -3266,7 +3266,7 @@ module Aws::RDS
3266
3266
  def snapshots(options = {})
3267
3267
  batches = Enumerator.new do |y|
3268
3268
  options = options.merge(db_cluster_identifier: @id)
3269
- resp = Aws::Plugins::UserAgent.feature('resource') do
3269
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
3270
3270
  @client.describe_db_cluster_snapshots(options)
3271
3271
  end
3272
3272
  resp.each_page do |page|
@@ -69,7 +69,7 @@ module Aws::RDS
69
69
  #
70
70
  # @return [self]
71
71
  def load
72
- resp = Aws::Plugins::UserAgent.feature('resource') do
72
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
73
73
  @client.describe_db_cluster_parameter_groups(db_cluster_parameter_group_name: @name)
74
74
  end
75
75
  @data = resp.db_cluster_parameter_groups[0]
@@ -186,7 +186,7 @@ module Aws::RDS
186
186
  :retry
187
187
  end
188
188
  end
189
- Aws::Plugins::UserAgent.feature('resource') do
189
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
190
190
  Aws::Waiters::Waiter.new(options).wait({})
191
191
  end
192
192
  end
@@ -262,7 +262,7 @@ module Aws::RDS
262
262
  # @return [DBClusterParameterGroup]
263
263
  def create(options = {})
264
264
  options = options.merge(db_cluster_parameter_group_name: @name)
265
- resp = Aws::Plugins::UserAgent.feature('resource') do
265
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
266
266
  @client.create_db_cluster_parameter_group(options)
267
267
  end
268
268
  DBClusterParameterGroup.new(
@@ -279,7 +279,7 @@ module Aws::RDS
279
279
  # @return [EmptyStructure]
280
280
  def delete(options = {})
281
281
  options = options.merge(db_cluster_parameter_group_name: @name)
282
- resp = Aws::Plugins::UserAgent.feature('resource') do
282
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
283
283
  @client.delete_db_cluster_parameter_group(options)
284
284
  end
285
285
  resp.data
@@ -326,7 +326,7 @@ module Aws::RDS
326
326
  # @return [DBClusterParameterGroup]
327
327
  def modify(options = {})
328
328
  options = options.merge(db_cluster_parameter_group_name: @name)
329
- resp = Aws::Plugins::UserAgent.feature('resource') do
329
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
330
330
  @client.modify_db_cluster_parameter_group(options)
331
331
  end
332
332
  DBClusterParameterGroup.new(
@@ -367,7 +367,7 @@ module Aws::RDS
367
367
  # @return [DBClusterParameterGroup]
368
368
  def reset(options = {})
369
369
  options = options.merge(db_cluster_parameter_group_name: @name)
370
- resp = Aws::Plugins::UserAgent.feature('resource') do
370
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
371
371
  @client.reset_db_cluster_parameter_group(options)
372
372
  end
373
373
  DBClusterParameterGroup.new(
@@ -233,7 +233,7 @@ module Aws::RDS
233
233
  #
234
234
  # @return [self]
235
235
  def load
236
- resp = Aws::Plugins::UserAgent.feature('resource') do
236
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
237
237
  @client.describe_db_cluster_snapshots(db_cluster_snapshot_identifier: @snapshot_id)
238
238
  end
239
239
  @data = resp.db_cluster_snapshots[0]
@@ -350,7 +350,7 @@ module Aws::RDS
350
350
  :retry
351
351
  end
352
352
  end
353
- Aws::Plugins::UserAgent.feature('resource') do
353
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
354
354
  Aws::Waiters::Waiter.new(options).wait({})
355
355
  end
356
356
  end
@@ -376,7 +376,7 @@ module Aws::RDS
376
376
  db_cluster_identifier: @cluster_id,
377
377
  db_cluster_snapshot_identifier: @snapshot_id
378
378
  )
379
- resp = Aws::Plugins::UserAgent.feature('resource') do
379
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
380
380
  @client.create_db_cluster_snapshot(options)
381
381
  end
382
382
  DBClusterSnapshot.new(
@@ -512,7 +512,7 @@ module Aws::RDS
512
512
  # @return [DBClusterSnapshot]
513
513
  def copy(options = {})
514
514
  options = options.merge(source_db_cluster_snapshot_identifier: @snapshot_id)
515
- resp = Aws::Plugins::UserAgent.feature('resource') do
515
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
516
516
  @client.copy_db_cluster_snapshot(options)
517
517
  end
518
518
  DBClusterSnapshot.new(
@@ -530,7 +530,7 @@ module Aws::RDS
530
530
  # @return [DBClusterSnapshot]
531
531
  def delete(options = {})
532
532
  options = options.merge(db_cluster_snapshot_identifier: @snapshot_id)
533
- resp = Aws::Plugins::UserAgent.feature('resource') do
533
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
534
534
  @client.delete_db_cluster_snapshot(options)
535
535
  end
536
536
  DBClusterSnapshot.new(
@@ -1011,7 +1011,7 @@ module Aws::RDS
1011
1011
  # @return [DBCluster]
1012
1012
  def restore(options = {})
1013
1013
  options = options.merge(snapshot_identifier: @snapshot_id)
1014
- resp = Aws::Plugins::UserAgent.feature('resource') do
1014
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
1015
1015
  @client.restore_db_cluster_from_snapshot(options)
1016
1016
  end
1017
1017
  DBCluster.new(
@@ -1082,7 +1082,7 @@ module Aws::RDS
1082
1082
  source_type: "db-cluster-snapshot",
1083
1083
  source_identifier: @snapshot_id
1084
1084
  )
1085
- resp = Aws::Plugins::UserAgent.feature('resource') do
1085
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
1086
1086
  @client.describe_events(options)
1087
1087
  end
1088
1088
  resp.each_page do |page|
@@ -156,7 +156,7 @@ module Aws::RDS
156
156
  :retry
157
157
  end
158
158
  end
159
- Aws::Plugins::UserAgent.feature('resource') do
159
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
160
160
  Aws::Waiters::Waiter.new(options).wait({})
161
161
  end
162
162
  end
@@ -184,7 +184,7 @@ module Aws::RDS
184
184
  def option_group_options(options = {})
185
185
  batches = Enumerator.new do |y|
186
186
  options = options.merge(engine_name: @name)
187
- resp = Aws::Plugins::UserAgent.feature('resource') do
187
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
188
188
  @client.describe_option_group_options(options)
189
189
  end
190
190
  resp.each_page do |page|
@@ -228,7 +228,7 @@ module Aws::RDS
228
228
  def option_groups(options = {})
229
229
  batches = Enumerator.new do |y|
230
230
  options = options.merge(engine_name: @name)
231
- resp = Aws::Plugins::UserAgent.feature('resource') do
231
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
232
232
  @client.describe_option_groups(options)
233
233
  end
234
234
  resp.each_page do |page|
@@ -353,7 +353,7 @@ module Aws::RDS
353
353
  def versions(options = {})
354
354
  batches = Enumerator.new do |y|
355
355
  options = options.merge(engine: @name)
356
- resp = Aws::Plugins::UserAgent.feature('resource') do
356
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
357
357
  @client.describe_db_engine_versions(options)
358
358
  end
359
359
  resp.each_page do |page|
@@ -316,7 +316,7 @@ module Aws::RDS
316
316
  #
317
317
  # @return [self]
318
318
  def load
319
- resp = Aws::Plugins::UserAgent.feature('resource') do
319
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
320
320
  @client.describe_db_engine_versions(
321
321
  engine: @engine_name,
322
322
  engine_version: @version
@@ -436,7 +436,7 @@ module Aws::RDS
436
436
  :retry
437
437
  end
438
438
  end
439
- Aws::Plugins::UserAgent.feature('resource') do
439
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
440
440
  Aws::Waiters::Waiter.new(options).wait({})
441
441
  end
442
442
  end
@@ -471,7 +471,7 @@ module Aws::RDS
471
471
  engine_name: @engine,
472
472
  major_engine_version: @version
473
473
  )
474
- resp = Aws::Plugins::UserAgent.feature('resource') do
474
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
475
475
  @client.describe_option_group_options(options)
476
476
  end
477
477
  resp.each_page do |page|
@@ -513,7 +513,7 @@ module Aws::RDS
513
513
  engine_name: @engine,
514
514
  major_engine_version: @version
515
515
  )
516
- resp = Aws::Plugins::UserAgent.feature('resource') do
516
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
517
517
  @client.describe_option_groups(options)
518
518
  end
519
519
  resp.each_page do |page|
@@ -808,7 +808,7 @@ module Aws::RDS
808
808
  #
809
809
  # @return [self]
810
810
  def load
811
- resp = Aws::Plugins::UserAgent.feature('resource') do
811
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
812
812
  @client.describe_db_instances(db_instance_identifier: @id)
813
813
  end
814
814
  @data = resp.db_instances[0]
@@ -925,7 +925,7 @@ module Aws::RDS
925
925
  :retry
926
926
  end
927
927
  end
928
- Aws::Plugins::UserAgent.feature('resource') do
928
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
929
929
  Aws::Waiters::Waiter.new(options).wait({})
930
930
  end
931
931
  end
@@ -1029,9 +1029,9 @@ module Aws::RDS
1029
1029
  # Amazon Aurora PostgreSQL
1030
1030
  #
1031
1031
  # : The name of the database to create when the primary DB instance of
1032
- # the Aurora PostgreSQL DB cluster is created. If this parameter
1033
- # isn't specified for an Aurora PostgreSQL DB cluster, a database
1034
- # named `postgres` is created in the DB cluster.
1032
+ # the Aurora PostgreSQL DB cluster is created. A database named
1033
+ # `postgres` is always created. If this parameter is specified, an
1034
+ # additional database with this name is created.
1035
1035
  #
1036
1036
  # Constraints:
1037
1037
  #
@@ -1126,8 +1126,8 @@ module Aws::RDS
1126
1126
  # RDS for PostgreSQL
1127
1127
  #
1128
1128
  # : The name of the database to create when the DB instance is created.
1129
- # If this parameter isn't specified, a database named `postgres` is
1130
- # created in the DB instance.
1129
+ # A database named `postgres` is always created. If this parameter is
1130
+ # specified, an additional database with this name is created.
1131
1131
  #
1132
1132
  # Constraints:
1133
1133
  #
@@ -2227,7 +2227,7 @@ module Aws::RDS
2227
2227
  # @return [DBInstance]
2228
2228
  def create(options = {})
2229
2229
  options = options.merge(db_instance_identifier: @id)
2230
- resp = Aws::Plugins::UserAgent.feature('resource') do
2230
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
2231
2231
  @client.create_db_instance(options)
2232
2232
  end
2233
2233
  DBInstance.new(
@@ -2873,7 +2873,7 @@ module Aws::RDS
2873
2873
  # @return [DBInstance]
2874
2874
  def create_read_replica(options = {})
2875
2875
  options = options.merge(source_db_instance_identifier: @id)
2876
- resp = Aws::Plugins::UserAgent.feature('resource') do
2876
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
2877
2877
  @client.create_db_instance_read_replica(options)
2878
2878
  end
2879
2879
  DBInstance.new(
@@ -2919,7 +2919,7 @@ module Aws::RDS
2919
2919
  # @return [DBSnapshot]
2920
2920
  def create_snapshot(options = {})
2921
2921
  options = options.merge(db_instance_identifier: @id)
2922
- resp = Aws::Plugins::UserAgent.feature('resource') do
2922
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
2923
2923
  @client.create_db_snapshot(options)
2924
2924
  end
2925
2925
  DBSnapshot.new(
@@ -2986,7 +2986,7 @@ module Aws::RDS
2986
2986
  # @return [DBInstance]
2987
2987
  def delete(options = {})
2988
2988
  options = options.merge(db_instance_identifier: @id)
2989
- resp = Aws::Plugins::UserAgent.feature('resource') do
2989
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
2990
2990
  @client.delete_db_instance(options)
2991
2991
  end
2992
2992
  DBInstance.new(
@@ -4082,7 +4082,7 @@ module Aws::RDS
4082
4082
  # @return [DBInstance]
4083
4083
  def modify(options = {})
4084
4084
  options = options.merge(db_instance_identifier: @id)
4085
- resp = Aws::Plugins::UserAgent.feature('resource') do
4085
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
4086
4086
  @client.modify_db_instance(options)
4087
4087
  end
4088
4088
  DBInstance.new(
@@ -4137,7 +4137,7 @@ module Aws::RDS
4137
4137
  # @return [DBInstance]
4138
4138
  def promote(options = {})
4139
4139
  options = options.merge(db_instance_identifier: @id)
4140
- resp = Aws::Plugins::UserAgent.feature('resource') do
4140
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
4141
4141
  @client.promote_read_replica(options)
4142
4142
  end
4143
4143
  DBInstance.new(
@@ -4161,7 +4161,7 @@ module Aws::RDS
4161
4161
  # @return [DBInstance]
4162
4162
  def reboot(options = {})
4163
4163
  options = options.merge(db_instance_identifier: @id)
4164
- resp = Aws::Plugins::UserAgent.feature('resource') do
4164
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
4165
4165
  @client.reboot_db_instance(options)
4166
4166
  end
4167
4167
  DBInstance.new(
@@ -4777,7 +4777,7 @@ module Aws::RDS
4777
4777
  # @return [DBInstance]
4778
4778
  def restore(options = {})
4779
4779
  options = options.merge(source_db_instance_identifier: @id)
4780
- resp = Aws::Plugins::UserAgent.feature('resource') do
4780
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
4781
4781
  @client.restore_db_instance_to_point_in_time(options)
4782
4782
  end
4783
4783
  DBInstance.new(
@@ -4799,7 +4799,7 @@ module Aws::RDS
4799
4799
  # @return [EventSubscription]
4800
4800
  def subscribe_to(options = {})
4801
4801
  options = options.merge(source_identifier: @id)
4802
- resp = Aws::Plugins::UserAgent.feature('resource') do
4802
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
4803
4803
  @client.add_source_identifier_to_subscription(options)
4804
4804
  end
4805
4805
  EventSubscription.new(
@@ -4821,7 +4821,7 @@ module Aws::RDS
4821
4821
  # @return [EventSubscription]
4822
4822
  def unsubscribe_from(options = {})
4823
4823
  options = options.merge(source_identifier: @id)
4824
- resp = Aws::Plugins::UserAgent.feature('resource') do
4824
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
4825
4825
  @client.remove_source_identifier_from_subscription(options)
4826
4826
  end
4827
4827
  EventSubscription.new(
@@ -4908,7 +4908,7 @@ module Aws::RDS
4908
4908
  source_type: "db-instance",
4909
4909
  source_identifier: @id
4910
4910
  )
4911
- resp = Aws::Plugins::UserAgent.feature('resource') do
4911
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
4912
4912
  @client.describe_events(options)
4913
4913
  end
4914
4914
  resp.each_page do |page|
@@ -4956,7 +4956,7 @@ module Aws::RDS
4956
4956
  def log_files(options = {})
4957
4957
  batches = Enumerator.new do |y|
4958
4958
  options = options.merge(db_instance_identifier: @id)
4959
- resp = Aws::Plugins::UserAgent.feature('resource') do
4959
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
4960
4960
  @client.describe_db_log_files(options)
4961
4961
  end
4962
4962
  resp.each_page do |page|
@@ -5033,7 +5033,7 @@ module Aws::RDS
5033
5033
  name: "db-instance-id",
5034
5034
  values: [@id]
5035
5035
  }])
5036
- resp = Aws::Plugins::UserAgent.feature('resource') do
5036
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
5037
5037
  @client.describe_pending_maintenance_actions(options)
5038
5038
  end
5039
5039
  resp.each_page do |page|
@@ -5182,7 +5182,7 @@ module Aws::RDS
5182
5182
  def snapshots(options = {})
5183
5183
  batches = Enumerator.new do |y|
5184
5184
  options = options.merge(db_instance_identifier: @id)
5185
- resp = Aws::Plugins::UserAgent.feature('resource') do
5185
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
5186
5186
  @client.describe_db_snapshots(options)
5187
5187
  end
5188
5188
  resp.each_page do |page|
@@ -179,7 +179,7 @@ module Aws::RDS
179
179
  :retry
180
180
  end
181
181
  end
182
- Aws::Plugins::UserAgent.feature('resource') do
182
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
183
183
  Aws::Waiters::Waiter.new(options).wait({})
184
184
  end
185
185
  end
@@ -228,7 +228,7 @@ module Aws::RDS
228
228
  db_instance_identifier: @instance_id,
229
229
  log_file_name: @name
230
230
  )
231
- resp = Aws::Plugins::UserAgent.feature('resource') do
231
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
232
232
  @client.download_db_log_file_portion(options)
233
233
  end
234
234
  resp.data