aws-sdk-rds 1.80.0 → 1.85.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +5 -5
  2. data/lib/aws-sdk-rds.rb +1 -1
  3. data/lib/aws-sdk-rds/account_quota.rb +13 -11
  4. data/lib/aws-sdk-rds/certificate.rb +13 -11
  5. data/lib/aws-sdk-rds/client.rb +280 -151
  6. data/lib/aws-sdk-rds/client_api.rb +18 -1
  7. data/lib/aws-sdk-rds/customizations/auth_token_generator.rb +6 -3
  8. data/lib/aws-sdk-rds/db_cluster.rb +41 -24
  9. data/lib/aws-sdk-rds/db_cluster_parameter_group.rb +13 -11
  10. data/lib/aws-sdk-rds/db_cluster_snapshot.rb +14 -12
  11. data/lib/aws-sdk-rds/db_engine.rb +13 -11
  12. data/lib/aws-sdk-rds/db_engine_version.rb +20 -12
  13. data/lib/aws-sdk-rds/db_instance.rb +98 -76
  14. data/lib/aws-sdk-rds/db_log_file.rb +13 -11
  15. data/lib/aws-sdk-rds/db_parameter_group.rb +13 -11
  16. data/lib/aws-sdk-rds/db_parameter_group_family.rb +13 -11
  17. data/lib/aws-sdk-rds/db_security_group.rb +13 -11
  18. data/lib/aws-sdk-rds/db_snapshot.rb +13 -11
  19. data/lib/aws-sdk-rds/db_snapshot_attribute.rb +13 -11
  20. data/lib/aws-sdk-rds/db_subnet_group.rb +13 -11
  21. data/lib/aws-sdk-rds/event.rb +13 -11
  22. data/lib/aws-sdk-rds/event_category_map.rb +13 -11
  23. data/lib/aws-sdk-rds/event_subscription.rb +13 -11
  24. data/lib/aws-sdk-rds/option_group.rb +13 -11
  25. data/lib/aws-sdk-rds/option_group_option.rb +13 -11
  26. data/lib/aws-sdk-rds/parameter.rb +13 -11
  27. data/lib/aws-sdk-rds/pending_maintenance_action.rb +13 -11
  28. data/lib/aws-sdk-rds/reserved_db_instance.rb +13 -11
  29. data/lib/aws-sdk-rds/reserved_db_instances_offering.rb +13 -11
  30. data/lib/aws-sdk-rds/resource.rb +29 -20
  31. data/lib/aws-sdk-rds/resource_pending_maintenance_action_list.rb +13 -11
  32. data/lib/aws-sdk-rds/types.rb +261 -143
  33. data/lib/aws-sdk-rds/waiters.rb +66 -0
  34. metadata +3 -3
@@ -543,7 +543,10 @@ module Aws::RDS
543
543
  TagList = Shapes::ListShape.new(name: 'TagList')
544
544
  TagListMessage = Shapes::StructureShape.new(name: 'TagListMessage')
545
545
  TargetGroupList = Shapes::ListShape.new(name: 'TargetGroupList')
546
+ TargetHealth = Shapes::StructureShape.new(name: 'TargetHealth')
547
+ TargetHealthReason = Shapes::StringShape.new(name: 'TargetHealthReason')
546
548
  TargetList = Shapes::ListShape.new(name: 'TargetList')
549
+ TargetState = Shapes::StringShape.new(name: 'TargetState')
547
550
  TargetType = Shapes::StringShape.new(name: 'TargetType')
548
551
  Timezone = Shapes::StructureShape.new(name: 'Timezone')
549
552
  UpgradeTarget = Shapes::StructureShape.new(name: 'UpgradeTarget')
@@ -1413,6 +1416,7 @@ module Aws::RDS
1413
1416
  DBProxyTarget.add_member(:rds_resource_id, Shapes::ShapeRef.new(shape: String, location_name: "RdsResourceId"))
1414
1417
  DBProxyTarget.add_member(:port, Shapes::ShapeRef.new(shape: Integer, location_name: "Port"))
1415
1418
  DBProxyTarget.add_member(:type, Shapes::ShapeRef.new(shape: TargetType, location_name: "Type"))
1419
+ DBProxyTarget.add_member(:target_health, Shapes::ShapeRef.new(shape: TargetHealth, location_name: "TargetHealth"))
1416
1420
  DBProxyTarget.struct_class = Types::DBProxyTarget
1417
1421
 
1418
1422
  DBProxyTargetAlreadyRegisteredFault.struct_class = Types::DBProxyTargetAlreadyRegisteredFault
@@ -1888,6 +1892,7 @@ module Aws::RDS
1888
1892
  DescribeOrderableDBInstanceOptionsMessage.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
1889
1893
  DescribeOrderableDBInstanceOptionsMessage.add_member(:db_instance_class, Shapes::ShapeRef.new(shape: String, location_name: "DBInstanceClass"))
1890
1894
  DescribeOrderableDBInstanceOptionsMessage.add_member(:license_model, Shapes::ShapeRef.new(shape: String, location_name: "LicenseModel"))
1895
+ DescribeOrderableDBInstanceOptionsMessage.add_member(:availability_zone_group, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZoneGroup"))
1891
1896
  DescribeOrderableDBInstanceOptionsMessage.add_member(:vpc, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "Vpc"))
1892
1897
  DescribeOrderableDBInstanceOptionsMessage.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
1893
1898
  DescribeOrderableDBInstanceOptionsMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
@@ -2516,6 +2521,7 @@ module Aws::RDS
2516
2521
  OrderableDBInstanceOption.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
2517
2522
  OrderableDBInstanceOption.add_member(:db_instance_class, Shapes::ShapeRef.new(shape: String, location_name: "DBInstanceClass"))
2518
2523
  OrderableDBInstanceOption.add_member(:license_model, Shapes::ShapeRef.new(shape: String, location_name: "LicenseModel"))
2524
+ OrderableDBInstanceOption.add_member(:availability_zone_group, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZoneGroup"))
2519
2525
  OrderableDBInstanceOption.add_member(:availability_zones, Shapes::ShapeRef.new(shape: AvailabilityZoneList, location_name: "AvailabilityZones"))
2520
2526
  OrderableDBInstanceOption.add_member(:multi_az_capable, Shapes::ShapeRef.new(shape: Boolean, location_name: "MultiAZCapable"))
2521
2527
  OrderableDBInstanceOption.add_member(:read_replica_capable, Shapes::ShapeRef.new(shape: Boolean, location_name: "ReadReplicaCapable"))
@@ -3111,6 +3117,11 @@ module Aws::RDS
3111
3117
 
3112
3118
  TargetGroupList.member = Shapes::ShapeRef.new(shape: DBProxyTargetGroup)
3113
3119
 
3120
+ TargetHealth.add_member(:state, Shapes::ShapeRef.new(shape: TargetState, location_name: "State"))
3121
+ TargetHealth.add_member(:reason, Shapes::ShapeRef.new(shape: TargetHealthReason, location_name: "Reason"))
3122
+ TargetHealth.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
3123
+ TargetHealth.struct_class = Types::TargetHealth
3124
+
3114
3125
  TargetList.member = Shapes::ShapeRef.new(shape: DBProxyTarget)
3115
3126
 
3116
3127
  Timezone.add_member(:timezone_name, Shapes::ShapeRef.new(shape: String, location_name: "TimezoneName"))
@@ -3231,8 +3242,10 @@ module Aws::RDS
3231
3242
  o.input = Shapes::ShapeRef.new(shape: AddTagsToResourceMessage)
3232
3243
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3233
3244
  o.errors << Shapes::ShapeRef.new(shape: DBInstanceNotFoundFault)
3234
- o.errors << Shapes::ShapeRef.new(shape: DBSnapshotNotFoundFault)
3235
3245
  o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
3246
+ o.errors << Shapes::ShapeRef.new(shape: DBSnapshotNotFoundFault)
3247
+ o.errors << Shapes::ShapeRef.new(shape: DBProxyNotFoundFault)
3248
+ o.errors << Shapes::ShapeRef.new(shape: DBProxyTargetGroupNotFoundFault)
3236
3249
  end)
3237
3250
 
3238
3251
  api.add_operation(:apply_pending_maintenance_action, Seahorse::Model::Operation.new.tap do |o|
@@ -4286,6 +4299,8 @@ module Aws::RDS
4286
4299
  o.errors << Shapes::ShapeRef.new(shape: DBInstanceNotFoundFault)
4287
4300
  o.errors << Shapes::ShapeRef.new(shape: DBSnapshotNotFoundFault)
4288
4301
  o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
4302
+ o.errors << Shapes::ShapeRef.new(shape: DBProxyNotFoundFault)
4303
+ o.errors << Shapes::ShapeRef.new(shape: DBProxyTargetGroupNotFoundFault)
4289
4304
  end)
4290
4305
 
4291
4306
  api.add_operation(:modify_certificates, Seahorse::Model::Operation.new.tap do |o|
@@ -4595,6 +4610,8 @@ module Aws::RDS
4595
4610
  o.errors << Shapes::ShapeRef.new(shape: DBInstanceNotFoundFault)
4596
4611
  o.errors << Shapes::ShapeRef.new(shape: DBSnapshotNotFoundFault)
4597
4612
  o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
4613
+ o.errors << Shapes::ShapeRef.new(shape: DBProxyNotFoundFault)
4614
+ o.errors << Shapes::ShapeRef.new(shape: DBProxyTargetGroupNotFoundFault)
4598
4615
  end)
4599
4616
 
4600
4617
  api.add_operation(:reset_db_cluster_parameter_group, Seahorse::Model::Operation.new.tap do |o|
@@ -27,10 +27,13 @@ module Aws
27
27
 
28
28
  # To create a auth login token, following parameters are required:
29
29
  #
30
- # @params [required, String] :region Region the databaseis located in
31
- # @params [required, String] :endpoint Hostname of the database with port number
30
+ # @param [Hash] params The parameters for auth token creation.
31
+ # @option params [required, String] :region Region where the database
32
+ # is located.
33
+ # @option params [required, String] :endpoint Hostname of the database
34
+ # with a port number.
32
35
  # For example: my-instance.us-west-2.rds.amazonaws.com:3306
33
- # @params [required, String] :user_name Username to login as
36
+ # @option params [required, String] :user_name Username to login as
34
37
  #
35
38
  # @return [String]
36
39
  def auth_token(params)
@@ -195,13 +195,13 @@ module Aws::RDS
195
195
  end
196
196
 
197
197
  # Contains the identifier of the source DB cluster if this DB cluster is
198
- # a Read Replica.
198
+ # a read replica.
199
199
  # @return [String]
200
200
  def replication_source_identifier
201
201
  data[:replication_source_identifier]
202
202
  end
203
203
 
204
- # Contains one or more identifiers of the Read Replicas associated with
204
+ # Contains one or more identifiers of the read replicas associated with
205
205
  # this DB cluster.
206
206
  # @return [Array<String>]
207
207
  def read_replica_identifiers
@@ -334,6 +334,15 @@ module Aws::RDS
334
334
 
335
335
  # The DB engine mode of the DB cluster, either `provisioned`,
336
336
  # `serverless`, `parallelquery`, `global`, or `multimaster`.
337
+ #
338
+ # <note markdown="1"> `global` engine mode only applies for global database clusters created
339
+ # with Aurora MySQL version 5.6.10a. For higher Aurora MySQL versions,
340
+ # the clusters in a global database use `provisioned` engine mode. To
341
+ # check if a DB cluster is part of a global database, use
342
+ # `DescribeGlobalClusters` instead of checking the `EngineMode` return
343
+ # value from `DescribeDBClusters`.
344
+ #
345
+ # </note>
337
346
  # @return [String]
338
347
  def engine_mode
339
348
  data[:engine_mode]
@@ -469,7 +478,8 @@ module Aws::RDS
469
478
  # Waiter polls an API operation until a resource enters a desired
470
479
  # state.
471
480
  #
472
- # @note The waiting operation is performed on a copy. The original resource remains unchanged
481
+ # @note The waiting operation is performed on a copy. The original resource
482
+ # remains unchanged.
473
483
  #
474
484
  # ## Basic Usage
475
485
  #
@@ -482,13 +492,15 @@ module Aws::RDS
482
492
  #
483
493
  # ## Example
484
494
  #
485
- # instance.wait_until(max_attempts:10, delay:5) {|instance| instance.state.name == 'running' }
495
+ # instance.wait_until(max_attempts:10, delay:5) do |instance|
496
+ # instance.state.name == 'running'
497
+ # end
486
498
  #
487
499
  # ## Configuration
488
500
  #
489
501
  # You can configure the maximum number of polling attempts, and the
490
- # delay (in seconds) between each polling attempt. The waiting condition is set
491
- # by passing a block to {#wait_until}:
502
+ # delay (in seconds) between each polling attempt. The waiting condition is
503
+ # set by passing a block to {#wait_until}:
492
504
  #
493
505
  # # poll for ~25 seconds
494
506
  # resource.wait_until(max_attempts:5,delay:5) {|resource|...}
@@ -519,17 +531,16 @@ module Aws::RDS
519
531
  # # resource did not enter the desired state in time
520
532
  # end
521
533
  #
534
+ # @yieldparam [Resource] resource to be used in the waiting condition.
522
535
  #
523
- # @yield param [Resource] resource to be used in the waiting condition
524
- #
525
- # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter terminates
526
- # because the waiter has entered a state that it will not transition
527
- # out of, preventing success.
536
+ # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
537
+ # terminates because the waiter has entered a state that it will not
538
+ # transition out of, preventing success.
528
539
  #
529
540
  # yet successful.
530
541
  #
531
- # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is encountered
532
- # while polling for a resource that is not expected.
542
+ # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
543
+ # encountered while polling for a resource that is not expected.
533
544
  #
534
545
  # @raise [NotImplementedError] Raised when the resource does not
535
546
  #
@@ -761,7 +772,7 @@ module Aws::RDS
761
772
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow.Aurora
762
773
  # @option options [String] :replication_source_identifier
763
774
  # The Amazon Resource Name (ARN) of the source DB instance or DB cluster
764
- # if this DB cluster is created as a Read Replica.
775
+ # if this DB cluster is created as a read replica.
765
776
  # @option options [Array<Types::Tag>] :tags
766
777
  # Tags to assign to the DB cluster.
767
778
  # @option options [Boolean] :storage_encrypted
@@ -789,9 +800,9 @@ module Aws::RDS
789
800
  # AWS account has a different default encryption key for each AWS
790
801
  # Region.
791
802
  #
792
- # If you create a Read Replica of an encrypted DB cluster in another AWS
803
+ # If you create a read replica of an encrypted DB cluster in another AWS
793
804
  # Region, you must set `KmsKeyId` to a KMS key ID that is valid in the
794
- # destination AWS Region. This key is used to encrypt the Read Replica
805
+ # destination AWS Region. This key is used to encrypt the read replica
795
806
  # in that AWS Region.
796
807
  # @option options [String] :pre_signed_url
797
808
  # A URL that contains a Signature Version 4 signed request for the
@@ -813,8 +824,8 @@ module Aws::RDS
813
824
  # action that is called in the destination AWS Region, and the action
814
825
  # contained in the pre-signed URL.
815
826
  #
816
- # * `DestinationRegion` - The name of the AWS Region that Aurora Read
817
- # Replica will be created in.
827
+ # * `DestinationRegion` - The name of the AWS Region that Aurora read
828
+ # replica will be created in.
818
829
  #
819
830
  # * `ReplicationSourceIdentifier` - The DB cluster identifier for the
820
831
  # encrypted DB cluster to be copied. This identifier must be in the
@@ -876,6 +887,12 @@ module Aws::RDS
876
887
  # The DB engine mode of the DB cluster, either `provisioned`,
877
888
  # `serverless`, `parallelquery`, `global`, or `multimaster`.
878
889
  #
890
+ # <note markdown="1"> `global` engine mode only applies for global database clusters created
891
+ # with Aurora MySQL version 5.6.10a. For higher Aurora MySQL versions,
892
+ # the clusters in a global database use `provisioned` engine mode.
893
+ #
894
+ # </note>
895
+ #
879
896
  # Limitations and requirements apply to some DB engine modes. For more
880
897
  # information, see the following sections in the *Amazon Aurora User
881
898
  # Guide*\:
@@ -928,12 +945,12 @@ module Aws::RDS
928
945
  #
929
946
  # For Amazon Aurora DB clusters, Amazon RDS can use Kerberos
930
947
  # Authentication to authenticate users that connect to the DB cluster.
931
- # For more information, see [Using Kerberos Authentication for Aurora
932
- # MySQL][1] in the *Amazon Aurora User Guide*.
948
+ # For more information, see [Kerberos Authentication][1] in the *Amazon
949
+ # Aurora User Guide*.
933
950
  #
934
951
  #
935
952
  #
936
- # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurmysql-kerberos.html
953
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/kerberos-authentication.html
937
954
  # @option options [String] :domain_iam_role_name
938
955
  # Specify the name of the IAM role to be used when making API calls to
939
956
  # the Directory Service.
@@ -1517,12 +1534,12 @@ module Aws::RDS
1517
1534
  #
1518
1535
  # For Amazon Aurora DB clusters, Amazon RDS can use Kerberos
1519
1536
  # Authentication to authenticate users that connect to the DB cluster.
1520
- # For more information, see [Using Kerberos Authentication for Aurora
1521
- # MySQL][1] in the *Amazon Aurora User Guide*.
1537
+ # For more information, see [Kerberos Authentication][1] in the *Amazon
1538
+ # Aurora User Guide*.
1522
1539
  #
1523
1540
  #
1524
1541
  #
1525
- # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurmysql-kerberos.html
1542
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/kerberos-authentication.html
1526
1543
  # @option options [String] :domain_iam_role_name
1527
1544
  # Specify the name of the IAM role to be used when making API calls to
1528
1545
  # the Directory Service.
@@ -93,7 +93,8 @@ module Aws::RDS
93
93
  # Waiter polls an API operation until a resource enters a desired
94
94
  # state.
95
95
  #
96
- # @note The waiting operation is performed on a copy. The original resource remains unchanged
96
+ # @note The waiting operation is performed on a copy. The original resource
97
+ # remains unchanged.
97
98
  #
98
99
  # ## Basic Usage
99
100
  #
@@ -106,13 +107,15 @@ module Aws::RDS
106
107
  #
107
108
  # ## Example
108
109
  #
109
- # instance.wait_until(max_attempts:10, delay:5) {|instance| instance.state.name == 'running' }
110
+ # instance.wait_until(max_attempts:10, delay:5) do |instance|
111
+ # instance.state.name == 'running'
112
+ # end
110
113
  #
111
114
  # ## Configuration
112
115
  #
113
116
  # You can configure the maximum number of polling attempts, and the
114
- # delay (in seconds) between each polling attempt. The waiting condition is set
115
- # by passing a block to {#wait_until}:
117
+ # delay (in seconds) between each polling attempt. The waiting condition is
118
+ # set by passing a block to {#wait_until}:
116
119
  #
117
120
  # # poll for ~25 seconds
118
121
  # resource.wait_until(max_attempts:5,delay:5) {|resource|...}
@@ -143,17 +146,16 @@ module Aws::RDS
143
146
  # # resource did not enter the desired state in time
144
147
  # end
145
148
  #
149
+ # @yieldparam [Resource] resource to be used in the waiting condition.
146
150
  #
147
- # @yield param [Resource] resource to be used in the waiting condition
148
- #
149
- # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter terminates
150
- # because the waiter has entered a state that it will not transition
151
- # out of, preventing success.
151
+ # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
152
+ # terminates because the waiter has entered a state that it will not
153
+ # transition out of, preventing success.
152
154
  #
153
155
  # yet successful.
154
156
  #
155
- # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is encountered
156
- # while polling for a resource that is not expected.
157
+ # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
158
+ # encountered while polling for a resource that is not expected.
157
159
  #
158
160
  # @raise [NotImplementedError] Raised when the resource does not
159
161
  #
@@ -200,7 +200,8 @@ module Aws::RDS
200
200
  # Waiter polls an API operation until a resource enters a desired
201
201
  # state.
202
202
  #
203
- # @note The waiting operation is performed on a copy. The original resource remains unchanged
203
+ # @note The waiting operation is performed on a copy. The original resource
204
+ # remains unchanged.
204
205
  #
205
206
  # ## Basic Usage
206
207
  #
@@ -213,13 +214,15 @@ module Aws::RDS
213
214
  #
214
215
  # ## Example
215
216
  #
216
- # instance.wait_until(max_attempts:10, delay:5) {|instance| instance.state.name == 'running' }
217
+ # instance.wait_until(max_attempts:10, delay:5) do |instance|
218
+ # instance.state.name == 'running'
219
+ # end
217
220
  #
218
221
  # ## Configuration
219
222
  #
220
223
  # You can configure the maximum number of polling attempts, and the
221
- # delay (in seconds) between each polling attempt. The waiting condition is set
222
- # by passing a block to {#wait_until}:
224
+ # delay (in seconds) between each polling attempt. The waiting condition is
225
+ # set by passing a block to {#wait_until}:
223
226
  #
224
227
  # # poll for ~25 seconds
225
228
  # resource.wait_until(max_attempts:5,delay:5) {|resource|...}
@@ -250,17 +253,16 @@ module Aws::RDS
250
253
  # # resource did not enter the desired state in time
251
254
  # end
252
255
  #
256
+ # @yieldparam [Resource] resource to be used in the waiting condition.
253
257
  #
254
- # @yield param [Resource] resource to be used in the waiting condition
255
- #
256
- # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter terminates
257
- # because the waiter has entered a state that it will not transition
258
- # out of, preventing success.
258
+ # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
259
+ # terminates because the waiter has entered a state that it will not
260
+ # transition out of, preventing success.
259
261
  #
260
262
  # yet successful.
261
263
  #
262
- # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is encountered
263
- # while polling for a resource that is not expected.
264
+ # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
265
+ # encountered while polling for a resource that is not expected.
264
266
  #
265
267
  # @raise [NotImplementedError] Raised when the resource does not
266
268
  #
@@ -381,7 +383,7 @@ module Aws::RDS
381
383
  # encrypted DB cluster snapshot in the same AWS Region.
382
384
  #
383
385
  # The pre-signed URL must be a valid request for the
384
- # `CopyDBSClusterSnapshot` API action that can be executed in the source
386
+ # `CopyDBClusterSnapshot` API action that can be executed in the source
385
387
  # AWS Region that contains the encrypted DB cluster snapshot to be
386
388
  # copied. The pre-signed URL request must contain the following
387
389
  # parameter values:
@@ -65,7 +65,8 @@ module Aws::RDS
65
65
  # Waiter polls an API operation until a resource enters a desired
66
66
  # state.
67
67
  #
68
- # @note The waiting operation is performed on a copy. The original resource remains unchanged
68
+ # @note The waiting operation is performed on a copy. The original resource
69
+ # remains unchanged.
69
70
  #
70
71
  # ## Basic Usage
71
72
  #
@@ -78,13 +79,15 @@ module Aws::RDS
78
79
  #
79
80
  # ## Example
80
81
  #
81
- # instance.wait_until(max_attempts:10, delay:5) {|instance| instance.state.name == 'running' }
82
+ # instance.wait_until(max_attempts:10, delay:5) do |instance|
83
+ # instance.state.name == 'running'
84
+ # end
82
85
  #
83
86
  # ## Configuration
84
87
  #
85
88
  # You can configure the maximum number of polling attempts, and the
86
- # delay (in seconds) between each polling attempt. The waiting condition is set
87
- # by passing a block to {#wait_until}:
89
+ # delay (in seconds) between each polling attempt. The waiting condition is
90
+ # set by passing a block to {#wait_until}:
88
91
  #
89
92
  # # poll for ~25 seconds
90
93
  # resource.wait_until(max_attempts:5,delay:5) {|resource|...}
@@ -115,17 +118,16 @@ module Aws::RDS
115
118
  # # resource did not enter the desired state in time
116
119
  # end
117
120
  #
121
+ # @yieldparam [Resource] resource to be used in the waiting condition.
118
122
  #
119
- # @yield param [Resource] resource to be used in the waiting condition
120
- #
121
- # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter terminates
122
- # because the waiter has entered a state that it will not transition
123
- # out of, preventing success.
123
+ # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
124
+ # terminates because the waiter has entered a state that it will not
125
+ # transition out of, preventing success.
124
126
  #
125
127
  # yet successful.
126
128
  #
127
- # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is encountered
128
- # while polling for a resource that is not expected.
129
+ # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
130
+ # encountered while polling for a resource that is not expected.
129
131
  #
130
132
  # @raise [NotImplementedError] Raised when the resource does not
131
133
  #
@@ -103,13 +103,19 @@ module Aws::RDS
103
103
  data[:supports_log_exports_to_cloudwatch_logs]
104
104
  end
105
105
 
106
- # Indicates whether the database engine version supports Read Replicas.
106
+ # Indicates whether the database engine version supports read replicas.
107
107
  # @return [Boolean]
108
108
  def supports_read_replica
109
109
  data[:supports_read_replica]
110
110
  end
111
111
 
112
112
  # A list of the supported DB engine modes.
113
+ #
114
+ # <note markdown="1"> `global` engine mode only applies for global database clusters created
115
+ # with Aurora MySQL version 5.6.10a. For higher Aurora MySQL versions,
116
+ # the clusters in a global database use `provisioned` engine mode.
117
+ #
118
+ # </note>
113
119
  # @return [Array<String>]
114
120
  def supported_engine_modes
115
121
  data[:supported_engine_modes]
@@ -176,7 +182,8 @@ module Aws::RDS
176
182
  # Waiter polls an API operation until a resource enters a desired
177
183
  # state.
178
184
  #
179
- # @note The waiting operation is performed on a copy. The original resource remains unchanged
185
+ # @note The waiting operation is performed on a copy. The original resource
186
+ # remains unchanged.
180
187
  #
181
188
  # ## Basic Usage
182
189
  #
@@ -189,13 +196,15 @@ module Aws::RDS
189
196
  #
190
197
  # ## Example
191
198
  #
192
- # instance.wait_until(max_attempts:10, delay:5) {|instance| instance.state.name == 'running' }
199
+ # instance.wait_until(max_attempts:10, delay:5) do |instance|
200
+ # instance.state.name == 'running'
201
+ # end
193
202
  #
194
203
  # ## Configuration
195
204
  #
196
205
  # You can configure the maximum number of polling attempts, and the
197
- # delay (in seconds) between each polling attempt. The waiting condition is set
198
- # by passing a block to {#wait_until}:
206
+ # delay (in seconds) between each polling attempt. The waiting condition is
207
+ # set by passing a block to {#wait_until}:
199
208
  #
200
209
  # # poll for ~25 seconds
201
210
  # resource.wait_until(max_attempts:5,delay:5) {|resource|...}
@@ -226,17 +235,16 @@ module Aws::RDS
226
235
  # # resource did not enter the desired state in time
227
236
  # end
228
237
  #
238
+ # @yieldparam [Resource] resource to be used in the waiting condition.
229
239
  #
230
- # @yield param [Resource] resource to be used in the waiting condition
231
- #
232
- # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter terminates
233
- # because the waiter has entered a state that it will not transition
234
- # out of, preventing success.
240
+ # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
241
+ # terminates because the waiter has entered a state that it will not
242
+ # transition out of, preventing success.
235
243
  #
236
244
  # yet successful.
237
245
  #
238
- # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is encountered
239
- # while polling for a resource that is not expected.
246
+ # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
247
+ # encountered while polling for a resource that is not expected.
240
248
  #
241
249
  # @raise [NotImplementedError] Raised when the resource does not
242
250
  #