aws-sdk-rds 1.29.0 → 1.30.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
  SHA1:
3
- metadata.gz: c8f6779989148f96ec0812c821cb3a57d7089a89
4
- data.tar.gz: 6eacf32a2cf42c8c274227d910f377f4c82698fe
3
+ metadata.gz: f60e5b47006c4b1479de12e1b7a683e1604695a4
4
+ data.tar.gz: d7b60421d362163a6bb791cf72e52e598602a0de
5
5
  SHA512:
6
- metadata.gz: 728ef4b1ea7c131f8a409b82f2023f18162e5baf2513c6da8d8b179f133b90b99cca4a762fd930421af0957484b657f15a3cac749c9318585cd83cceb0b364f0
7
- data.tar.gz: 6cf38a49652ea9559e4c555d1b2fcff918339de68a939bb7ac81530a70309fb34409d05817f1e53c91d0e73443ec7e34f6a0f80e75e3e6616388ddcb7c463bed
6
+ metadata.gz: 01b662000b3bec095e581b221f56dcde5d3dd44665a55814120dc6250c1199c134e5037a383e3f5d05e707efc6731241162ed40b76d85c4e0557e001dfce6c49
7
+ data.tar.gz: 8f91fbeb3aa60e1d9e5bb23956120e75c8f4b17db4ef1ade41978f0af545a99ab42b53ff95207934b18a5d6acab3e71027bff4f622a36e95ca3a9f973c64359e
@@ -68,6 +68,6 @@ require_relative 'aws-sdk-rds/customizations'
68
68
  # @service
69
69
  module Aws::RDS
70
70
 
71
- GEM_VERSION = '1.29.0'
71
+ GEM_VERSION = '1.30.0'
72
72
 
73
73
  end
@@ -1741,8 +1741,8 @@ module Aws::RDS
1741
1741
  # [1]: http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch
1742
1742
  #
1743
1743
  # @option params [String] :engine_mode
1744
- # The DB engine mode of the DB cluster, either `provisioned` or
1745
- # `serverless`.
1744
+ # The DB engine mode of the DB cluster, either `provisioned`,
1745
+ # `serverless`, or `parallelquery`.
1746
1746
  #
1747
1747
  # @option params [Types::ScalingConfiguration] :scaling_configuration
1748
1748
  # For DB clusters in `serverless` DB engine mode, the scaling properties
@@ -11909,8 +11909,8 @@ module Aws::RDS
11909
11909
  # [1]: http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch
11910
11910
  #
11911
11911
  # @option params [String] :engine_mode
11912
- # The DB engine mode of the DB cluster, either `provisioned` or
11913
- # `serverless`.
11912
+ # The DB engine mode of the DB cluster, either `provisioned`,
11913
+ # `serverless`, or `parallelquery`.
11914
11914
  #
11915
11915
  # @option params [Types::ScalingConfiguration] :scaling_configuration
11916
11916
  # For DB clusters in `serverless` DB engine mode, the scaling properties
@@ -13947,15 +13947,111 @@ module Aws::RDS
13947
13947
  req.send_request(options)
13948
13948
  end
13949
13949
 
13950
- # Starts a DB instance that was stopped using the AWS console, the
13951
- # stop-db-instance AWS CLI command, or the StopDBInstance action. For
13952
- # more information, see Stopping and Starting a DB instance in the AWS
13953
- # RDS user guide.
13950
+ # Starts an Amazon Aurora DB cluster that was stopped using the AWS
13951
+ # console, the stop-db-cluster AWS CLI command, or the StopDBCluster
13952
+ # action.
13954
13953
  #
13955
- # <note markdown="1"> This command doesn't apply to Aurora MySQL and Aurora PostgreSQL.
13954
+ # @option params [required, String] :db_cluster_identifier
13955
+ # The DB cluster identifier of the Amazon Aurora DB cluster to be
13956
+ # started. This parameter is stored as a lowercase string.
13957
+ #
13958
+ # @return [Types::StartDBClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
13959
+ #
13960
+ # * {Types::StartDBClusterResult#db_cluster #db_cluster} => Types::DBCluster
13961
+ #
13962
+ # @example Request syntax with placeholder values
13963
+ #
13964
+ # resp = client.start_db_cluster({
13965
+ # db_cluster_identifier: "String", # required
13966
+ # })
13967
+ #
13968
+ # @example Response structure
13969
+ #
13970
+ # resp.db_cluster.allocated_storage #=> Integer
13971
+ # resp.db_cluster.availability_zones #=> Array
13972
+ # resp.db_cluster.availability_zones[0] #=> String
13973
+ # resp.db_cluster.backup_retention_period #=> Integer
13974
+ # resp.db_cluster.character_set_name #=> String
13975
+ # resp.db_cluster.database_name #=> String
13976
+ # resp.db_cluster.db_cluster_identifier #=> String
13977
+ # resp.db_cluster.db_cluster_parameter_group #=> String
13978
+ # resp.db_cluster.db_subnet_group #=> String
13979
+ # resp.db_cluster.status #=> String
13980
+ # resp.db_cluster.percent_progress #=> String
13981
+ # resp.db_cluster.earliest_restorable_time #=> Time
13982
+ # resp.db_cluster.endpoint #=> String
13983
+ # resp.db_cluster.reader_endpoint #=> String
13984
+ # resp.db_cluster.multi_az #=> Boolean
13985
+ # resp.db_cluster.engine #=> String
13986
+ # resp.db_cluster.engine_version #=> String
13987
+ # resp.db_cluster.latest_restorable_time #=> Time
13988
+ # resp.db_cluster.port #=> Integer
13989
+ # resp.db_cluster.master_username #=> String
13990
+ # resp.db_cluster.db_cluster_option_group_memberships #=> Array
13991
+ # resp.db_cluster.db_cluster_option_group_memberships[0].db_cluster_option_group_name #=> String
13992
+ # resp.db_cluster.db_cluster_option_group_memberships[0].status #=> String
13993
+ # resp.db_cluster.preferred_backup_window #=> String
13994
+ # resp.db_cluster.preferred_maintenance_window #=> String
13995
+ # resp.db_cluster.replication_source_identifier #=> String
13996
+ # resp.db_cluster.read_replica_identifiers #=> Array
13997
+ # resp.db_cluster.read_replica_identifiers[0] #=> String
13998
+ # resp.db_cluster.db_cluster_members #=> Array
13999
+ # resp.db_cluster.db_cluster_members[0].db_instance_identifier #=> String
14000
+ # resp.db_cluster.db_cluster_members[0].is_cluster_writer #=> Boolean
14001
+ # resp.db_cluster.db_cluster_members[0].db_cluster_parameter_group_status #=> String
14002
+ # resp.db_cluster.db_cluster_members[0].promotion_tier #=> Integer
14003
+ # resp.db_cluster.vpc_security_groups #=> Array
14004
+ # resp.db_cluster.vpc_security_groups[0].vpc_security_group_id #=> String
14005
+ # resp.db_cluster.vpc_security_groups[0].status #=> String
14006
+ # resp.db_cluster.hosted_zone_id #=> String
14007
+ # resp.db_cluster.storage_encrypted #=> Boolean
14008
+ # resp.db_cluster.kms_key_id #=> String
14009
+ # resp.db_cluster.db_cluster_resource_id #=> String
14010
+ # resp.db_cluster.db_cluster_arn #=> String
14011
+ # resp.db_cluster.associated_roles #=> Array
14012
+ # resp.db_cluster.associated_roles[0].role_arn #=> String
14013
+ # resp.db_cluster.associated_roles[0].status #=> String
14014
+ # resp.db_cluster.associated_roles[0].feature_name #=> String
14015
+ # resp.db_cluster.iam_database_authentication_enabled #=> Boolean
14016
+ # resp.db_cluster.clone_group_id #=> String
14017
+ # resp.db_cluster.cluster_create_time #=> Time
14018
+ # resp.db_cluster.earliest_backtrack_time #=> Time
14019
+ # resp.db_cluster.backtrack_window #=> Integer
14020
+ # resp.db_cluster.backtrack_consumed_change_records #=> Integer
14021
+ # resp.db_cluster.enabled_cloudwatch_logs_exports #=> Array
14022
+ # resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String
14023
+ # resp.db_cluster.capacity #=> Integer
14024
+ # resp.db_cluster.engine_mode #=> String
14025
+ # resp.db_cluster.scaling_configuration_info.min_capacity #=> Integer
14026
+ # resp.db_cluster.scaling_configuration_info.max_capacity #=> Integer
14027
+ # resp.db_cluster.scaling_configuration_info.auto_pause #=> Boolean
14028
+ # resp.db_cluster.scaling_configuration_info.seconds_until_auto_pause #=> Integer
14029
+ #
14030
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBCluster AWS API Documentation
14031
+ #
14032
+ # @overload start_db_cluster(params = {})
14033
+ # @param [Hash] params ({})
14034
+ def start_db_cluster(params = {}, options = {})
14035
+ req = build_request(:start_db_cluster, params)
14036
+ req.send_request(options)
14037
+ end
14038
+
14039
+ # Starts an Amazon RDS DB instance that was stopped using the AWS
14040
+ # console, the stop-db-instance AWS CLI command, or the StopDBInstance
14041
+ # action.
14042
+ #
14043
+ # For more information, see [ Starting an Amazon RDS DB Instance That
14044
+ # Was Previously Stopped][1] in the *Amazon RDS User Guide.*
14045
+ #
14046
+ # <note markdown="1"> This command doesn't apply to Aurora MySQL and Aurora PostgreSQL. For
14047
+ # Aurora DB clusters, use StartDBCluster instead.
13956
14048
  #
13957
14049
  # </note>
13958
14050
  #
14051
+ #
14052
+ #
14053
+ # [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_StartInstance.html
14054
+ #
13959
14055
  # @option params [required, String] :db_instance_identifier
13960
14056
  # The user-supplied instance identifier.
13961
14057
  #
@@ -14085,17 +14181,114 @@ module Aws::RDS
14085
14181
  req.send_request(options)
14086
14182
  end
14087
14183
 
14088
- # Stops a DB instance. When you stop a DB instance, Amazon RDS retains
14089
- # the DB instance's metadata, including its endpoint, DB parameter
14090
- # group, and option group membership. Amazon RDS also retains the
14091
- # transaction logs so you can do a point-in-time restore if necessary.
14092
- # For more information, see Stopping and Starting a DB instance in the
14093
- # AWS RDS user guide.
14184
+ # Stops an Amazon Aurora DB cluster. When you stop a DB cluster, Aurora
14185
+ # retains the DB cluster's metadata, including its endpoints and DB
14186
+ # parameter groups. Aurora also retains the transaction logs so you can
14187
+ # do a point-in-time restore if necessary.
14094
14188
  #
14095
- # <note markdown="1"> This command doesn't apply to Aurora MySQL and Aurora PostgreSQL.
14189
+ # @option params [required, String] :db_cluster_identifier
14190
+ # The DB cluster identifier of the Amazon Aurora DB cluster to be
14191
+ # stopped. This parameter is stored as a lowercase string.
14192
+ #
14193
+ # @return [Types::StopDBClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
14194
+ #
14195
+ # * {Types::StopDBClusterResult#db_cluster #db_cluster} => Types::DBCluster
14196
+ #
14197
+ # @example Request syntax with placeholder values
14198
+ #
14199
+ # resp = client.stop_db_cluster({
14200
+ # db_cluster_identifier: "String", # required
14201
+ # })
14202
+ #
14203
+ # @example Response structure
14204
+ #
14205
+ # resp.db_cluster.allocated_storage #=> Integer
14206
+ # resp.db_cluster.availability_zones #=> Array
14207
+ # resp.db_cluster.availability_zones[0] #=> String
14208
+ # resp.db_cluster.backup_retention_period #=> Integer
14209
+ # resp.db_cluster.character_set_name #=> String
14210
+ # resp.db_cluster.database_name #=> String
14211
+ # resp.db_cluster.db_cluster_identifier #=> String
14212
+ # resp.db_cluster.db_cluster_parameter_group #=> String
14213
+ # resp.db_cluster.db_subnet_group #=> String
14214
+ # resp.db_cluster.status #=> String
14215
+ # resp.db_cluster.percent_progress #=> String
14216
+ # resp.db_cluster.earliest_restorable_time #=> Time
14217
+ # resp.db_cluster.endpoint #=> String
14218
+ # resp.db_cluster.reader_endpoint #=> String
14219
+ # resp.db_cluster.multi_az #=> Boolean
14220
+ # resp.db_cluster.engine #=> String
14221
+ # resp.db_cluster.engine_version #=> String
14222
+ # resp.db_cluster.latest_restorable_time #=> Time
14223
+ # resp.db_cluster.port #=> Integer
14224
+ # resp.db_cluster.master_username #=> String
14225
+ # resp.db_cluster.db_cluster_option_group_memberships #=> Array
14226
+ # resp.db_cluster.db_cluster_option_group_memberships[0].db_cluster_option_group_name #=> String
14227
+ # resp.db_cluster.db_cluster_option_group_memberships[0].status #=> String
14228
+ # resp.db_cluster.preferred_backup_window #=> String
14229
+ # resp.db_cluster.preferred_maintenance_window #=> String
14230
+ # resp.db_cluster.replication_source_identifier #=> String
14231
+ # resp.db_cluster.read_replica_identifiers #=> Array
14232
+ # resp.db_cluster.read_replica_identifiers[0] #=> String
14233
+ # resp.db_cluster.db_cluster_members #=> Array
14234
+ # resp.db_cluster.db_cluster_members[0].db_instance_identifier #=> String
14235
+ # resp.db_cluster.db_cluster_members[0].is_cluster_writer #=> Boolean
14236
+ # resp.db_cluster.db_cluster_members[0].db_cluster_parameter_group_status #=> String
14237
+ # resp.db_cluster.db_cluster_members[0].promotion_tier #=> Integer
14238
+ # resp.db_cluster.vpc_security_groups #=> Array
14239
+ # resp.db_cluster.vpc_security_groups[0].vpc_security_group_id #=> String
14240
+ # resp.db_cluster.vpc_security_groups[0].status #=> String
14241
+ # resp.db_cluster.hosted_zone_id #=> String
14242
+ # resp.db_cluster.storage_encrypted #=> Boolean
14243
+ # resp.db_cluster.kms_key_id #=> String
14244
+ # resp.db_cluster.db_cluster_resource_id #=> String
14245
+ # resp.db_cluster.db_cluster_arn #=> String
14246
+ # resp.db_cluster.associated_roles #=> Array
14247
+ # resp.db_cluster.associated_roles[0].role_arn #=> String
14248
+ # resp.db_cluster.associated_roles[0].status #=> String
14249
+ # resp.db_cluster.associated_roles[0].feature_name #=> String
14250
+ # resp.db_cluster.iam_database_authentication_enabled #=> Boolean
14251
+ # resp.db_cluster.clone_group_id #=> String
14252
+ # resp.db_cluster.cluster_create_time #=> Time
14253
+ # resp.db_cluster.earliest_backtrack_time #=> Time
14254
+ # resp.db_cluster.backtrack_window #=> Integer
14255
+ # resp.db_cluster.backtrack_consumed_change_records #=> Integer
14256
+ # resp.db_cluster.enabled_cloudwatch_logs_exports #=> Array
14257
+ # resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String
14258
+ # resp.db_cluster.capacity #=> Integer
14259
+ # resp.db_cluster.engine_mode #=> String
14260
+ # resp.db_cluster.scaling_configuration_info.min_capacity #=> Integer
14261
+ # resp.db_cluster.scaling_configuration_info.max_capacity #=> Integer
14262
+ # resp.db_cluster.scaling_configuration_info.auto_pause #=> Boolean
14263
+ # resp.db_cluster.scaling_configuration_info.seconds_until_auto_pause #=> Integer
14264
+ #
14265
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBCluster AWS API Documentation
14266
+ #
14267
+ # @overload stop_db_cluster(params = {})
14268
+ # @param [Hash] params ({})
14269
+ def stop_db_cluster(params = {}, options = {})
14270
+ req = build_request(:stop_db_cluster, params)
14271
+ req.send_request(options)
14272
+ end
14273
+
14274
+ # Stops an Amazon RDS DB instance. When you stop a DB instance, Amazon
14275
+ # RDS retains the DB instance's metadata, including its endpoint, DB
14276
+ # parameter group, and option group membership. Amazon RDS also retains
14277
+ # the transaction logs so you can do a point-in-time restore if
14278
+ # necessary.
14279
+ #
14280
+ # For more information, see [ Stopping an Amazon RDS DB Instance
14281
+ # Temporarily][1] in the *Amazon RDS User Guide.*
14282
+ #
14283
+ # <note markdown="1"> This command doesn't apply to Aurora MySQL and Aurora PostgreSQL. For
14284
+ # Aurora clusters, use StopDBCluster instead.
14096
14285
  #
14097
14286
  # </note>
14098
14287
  #
14288
+ #
14289
+ #
14290
+ # [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_StopInstance.html
14291
+ #
14099
14292
  # @option params [required, String] :db_instance_identifier
14100
14293
  # The user-supplied instance identifier.
14101
14294
  #
@@ -14243,7 +14436,7 @@ module Aws::RDS
14243
14436
  params: params,
14244
14437
  config: config)
14245
14438
  context[:gem_name] = 'aws-sdk-rds'
14246
- context[:gem_version] = '1.29.0'
14439
+ context[:gem_version] = '1.30.0'
14247
14440
  Seahorse::Client::Request.new(handlers, context)
14248
14441
  end
14249
14442
 
@@ -389,8 +389,12 @@ module Aws::RDS
389
389
  SourceRegionList = Shapes::ListShape.new(name: 'SourceRegionList')
390
390
  SourceRegionMessage = Shapes::StructureShape.new(name: 'SourceRegionMessage')
391
391
  SourceType = Shapes::StringShape.new(name: 'SourceType')
392
+ StartDBClusterMessage = Shapes::StructureShape.new(name: 'StartDBClusterMessage')
393
+ StartDBClusterResult = Shapes::StructureShape.new(name: 'StartDBClusterResult')
392
394
  StartDBInstanceMessage = Shapes::StructureShape.new(name: 'StartDBInstanceMessage')
393
395
  StartDBInstanceResult = Shapes::StructureShape.new(name: 'StartDBInstanceResult')
396
+ StopDBClusterMessage = Shapes::StructureShape.new(name: 'StopDBClusterMessage')
397
+ StopDBClusterResult = Shapes::StructureShape.new(name: 'StopDBClusterResult')
394
398
  StopDBInstanceMessage = Shapes::StructureShape.new(name: 'StopDBInstanceMessage')
395
399
  StopDBInstanceResult = Shapes::StructureShape.new(name: 'StopDBInstanceResult')
396
400
  StorageQuotaExceededFault = Shapes::StructureShape.new(name: 'StorageQuotaExceededFault')
@@ -2155,12 +2159,24 @@ module Aws::RDS
2155
2159
  SourceRegionMessage.add_member(:source_regions, Shapes::ShapeRef.new(shape: SourceRegionList, location_name: "SourceRegions"))
2156
2160
  SourceRegionMessage.struct_class = Types::SourceRegionMessage
2157
2161
 
2162
+ StartDBClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
2163
+ StartDBClusterMessage.struct_class = Types::StartDBClusterMessage
2164
+
2165
+ StartDBClusterResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
2166
+ StartDBClusterResult.struct_class = Types::StartDBClusterResult
2167
+
2158
2168
  StartDBInstanceMessage.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBInstanceIdentifier"))
2159
2169
  StartDBInstanceMessage.struct_class = Types::StartDBInstanceMessage
2160
2170
 
2161
2171
  StartDBInstanceResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
2162
2172
  StartDBInstanceResult.struct_class = Types::StartDBInstanceResult
2163
2173
 
2174
+ StopDBClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
2175
+ StopDBClusterMessage.struct_class = Types::StopDBClusterMessage
2176
+
2177
+ StopDBClusterResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
2178
+ StopDBClusterResult.struct_class = Types::StopDBClusterResult
2179
+
2164
2180
  StopDBInstanceMessage.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBInstanceIdentifier"))
2165
2181
  StopDBInstanceMessage.add_member(:db_snapshot_identifier, Shapes::ShapeRef.new(shape: String, location_name: "DBSnapshotIdentifier"))
2166
2182
  StopDBInstanceMessage.struct_class = Types::StopDBInstanceMessage
@@ -2280,6 +2296,8 @@ module Aws::RDS
2280
2296
  o.input = Shapes::ShapeRef.new(shape: ApplyPendingMaintenanceActionMessage)
2281
2297
  o.output = Shapes::ShapeRef.new(shape: ApplyPendingMaintenanceActionResult)
2282
2298
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
2299
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
2300
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
2283
2301
  end)
2284
2302
 
2285
2303
  api.add_operation(:authorize_db_security_group_ingress, Seahorse::Model::Operation.new.tap do |o|
@@ -3446,6 +3464,17 @@ module Aws::RDS
3446
3464
  o.errors << Shapes::ShapeRef.new(shape: InvalidDBSecurityGroupStateFault)
3447
3465
  end)
3448
3466
 
3467
+ api.add_operation(:start_db_cluster, Seahorse::Model::Operation.new.tap do |o|
3468
+ o.name = "StartDBCluster"
3469
+ o.http_method = "POST"
3470
+ o.http_request_uri = "/"
3471
+ o.input = Shapes::ShapeRef.new(shape: StartDBClusterMessage)
3472
+ o.output = Shapes::ShapeRef.new(shape: StartDBClusterResult)
3473
+ o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
3474
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
3475
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
3476
+ end)
3477
+
3449
3478
  api.add_operation(:start_db_instance, Seahorse::Model::Operation.new.tap do |o|
3450
3479
  o.name = "StartDBInstance"
3451
3480
  o.http_method = "POST"
@@ -3465,6 +3494,17 @@ module Aws::RDS
3465
3494
  o.errors << Shapes::ShapeRef.new(shape: KMSKeyNotAccessibleFault)
3466
3495
  end)
3467
3496
 
3497
+ api.add_operation(:stop_db_cluster, Seahorse::Model::Operation.new.tap do |o|
3498
+ o.name = "StopDBCluster"
3499
+ o.http_method = "POST"
3500
+ o.http_request_uri = "/"
3501
+ o.input = Shapes::ShapeRef.new(shape: StopDBClusterMessage)
3502
+ o.output = Shapes::ShapeRef.new(shape: StopDBClusterResult)
3503
+ o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
3504
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
3505
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
3506
+ end)
3507
+
3468
3508
  api.add_operation(:stop_db_instance, Seahorse::Model::Operation.new.tap do |o|
3469
3509
  o.name = "StopDBInstance"
3470
3510
  o.http_method = "POST"
@@ -315,8 +315,8 @@ module Aws::RDS
315
315
  data[:capacity]
316
316
  end
317
317
 
318
- # The DB engine mode of the DB cluster, either `provisioned` or
319
- # `serverless`.
318
+ # The DB engine mode of the DB cluster, either `provisioned`,
319
+ # `serverless`, or `parallelquery`.
320
320
  # @return [String]
321
321
  def engine_mode
322
322
  data[:engine_mode]
@@ -745,8 +745,8 @@ module Aws::RDS
745
745
  #
746
746
  # [1]: http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch
747
747
  # @option options [String] :engine_mode
748
- # The DB engine mode of the DB cluster, either `provisioned` or
749
- # `serverless`.
748
+ # The DB engine mode of the DB cluster, either `provisioned`,
749
+ # `serverless`, or `parallelquery`.
750
750
  # @option options [Types::ScalingConfiguration] :scaling_configuration
751
751
  # For DB clusters in `serverless` DB engine mode, the scaling properties
752
752
  # of the DB cluster.
@@ -573,8 +573,8 @@ module Aws::RDS
573
573
  #
574
574
  # [1]: http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch
575
575
  # @option options [String] :engine_mode
576
- # The DB engine mode of the DB cluster, either `provisioned` or
577
- # `serverless`.
576
+ # The DB engine mode of the DB cluster, either `provisioned`,
577
+ # `serverless`, or `parallelquery`.
578
578
  # @option options [Types::ScalingConfiguration] :scaling_configuration
579
579
  # For DB clusters in `serverless` DB engine mode, the scaling properties
580
580
  # of the DB cluster.
@@ -312,8 +312,8 @@ module Aws::RDS
312
312
  #
313
313
  # [1]: http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch
314
314
  # @option options [String] :engine_mode
315
- # The DB engine mode of the DB cluster, either `provisioned` or
316
- # `serverless`.
315
+ # The DB engine mode of the DB cluster, either `provisioned`,
316
+ # `serverless`, or `parallelquery`.
317
317
  # @option options [Types::ScalingConfiguration] :scaling_configuration
318
318
  # For DB clusters in `serverless` DB engine mode, the scaling properties
319
319
  # of the DB cluster.
@@ -1516,8 +1516,8 @@ module Aws::RDS
1516
1516
  # @return [Array<String>]
1517
1517
  #
1518
1518
  # @!attribute [rw] engine_mode
1519
- # The DB engine mode of the DB cluster, either `provisioned` or
1520
- # `serverless`.
1519
+ # The DB engine mode of the DB cluster, either `provisioned`,
1520
+ # `serverless`, or `parallelquery`.
1521
1521
  # @return [String]
1522
1522
  #
1523
1523
  # @!attribute [rw] scaling_configuration
@@ -1650,10 +1650,10 @@ module Aws::RDS
1650
1650
  end
1651
1651
 
1652
1652
  # @!attribute [rw] db_cluster
1653
- # Contains the details of an Amazon RDS DB cluster.
1653
+ # Contains the details of an Amazon Aurora DB cluster.
1654
1654
  #
1655
1655
  # This data type is used as a response element in the
1656
- # DescribeDBClusters action.
1656
+ # DescribeDBClusters, StopDBCluster, and StartDBCluster actions.
1657
1657
  # @return [Types::DBCluster]
1658
1658
  #
1659
1659
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterResult AWS API Documentation
@@ -3592,10 +3592,10 @@ module Aws::RDS
3592
3592
  include Aws::Structure
3593
3593
  end
3594
3594
 
3595
- # Contains the details of an Amazon RDS DB cluster.
3595
+ # Contains the details of an Amazon Aurora DB cluster.
3596
3596
  #
3597
- # This data type is used as a response element in the DescribeDBClusters
3598
- # action.
3597
+ # This data type is used as a response element in the
3598
+ # DescribeDBClusters, StopDBCluster, and StartDBCluster actions.
3599
3599
  #
3600
3600
  # @!attribute [rw] allocated_storage
3601
3601
  # For all database engines except Amazon Aurora, `AllocatedStorage`
@@ -3814,8 +3814,8 @@ module Aws::RDS
3814
3814
  # @return [Integer]
3815
3815
  #
3816
3816
  # @!attribute [rw] engine_mode
3817
- # The DB engine mode of the DB cluster, either `provisioned` or
3818
- # `serverless`.
3817
+ # The DB engine mode of the DB cluster, either `provisioned`,
3818
+ # `serverless`, or `parallelquery`.
3819
3819
  # @return [String]
3820
3820
  #
3821
3821
  # @!attribute [rw] scaling_configuration_info
@@ -5533,10 +5533,10 @@ module Aws::RDS
5533
5533
  end
5534
5534
 
5535
5535
  # @!attribute [rw] db_cluster
5536
- # Contains the details of an Amazon RDS DB cluster.
5536
+ # Contains the details of an Amazon Aurora DB cluster.
5537
5537
  #
5538
5538
  # This data type is used as a response element in the
5539
- # DescribeDBClusters action.
5539
+ # DescribeDBClusters, StopDBCluster, and StartDBCluster actions.
5540
5540
  # @return [Types::DBCluster]
5541
5541
  #
5542
5542
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterResult AWS API Documentation
@@ -8381,10 +8381,10 @@ module Aws::RDS
8381
8381
  end
8382
8382
 
8383
8383
  # @!attribute [rw] db_cluster
8384
- # Contains the details of an Amazon RDS DB cluster.
8384
+ # Contains the details of an Amazon Aurora DB cluster.
8385
8385
  #
8386
8386
  # This data type is used as a response element in the
8387
- # DescribeDBClusters action.
8387
+ # DescribeDBClusters, StopDBCluster, and StartDBCluster actions.
8388
8388
  # @return [Types::DBCluster]
8389
8389
  #
8390
8390
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverDBClusterResult AWS API Documentation
@@ -8832,10 +8832,10 @@ module Aws::RDS
8832
8832
  end
8833
8833
 
8834
8834
  # @!attribute [rw] db_cluster
8835
- # Contains the details of an Amazon RDS DB cluster.
8835
+ # Contains the details of an Amazon Aurora DB cluster.
8836
8836
  #
8837
8837
  # This data type is used as a response element in the
8838
- # DescribeDBClusters action.
8838
+ # DescribeDBClusters, StopDBCluster, and StartDBCluster actions.
8839
8839
  # @return [Types::DBCluster]
8840
8840
  #
8841
8841
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterResult AWS API Documentation
@@ -11012,10 +11012,10 @@ module Aws::RDS
11012
11012
  end
11013
11013
 
11014
11014
  # @!attribute [rw] db_cluster
11015
- # Contains the details of an Amazon RDS DB cluster.
11015
+ # Contains the details of an Amazon Aurora DB cluster.
11016
11016
  #
11017
11017
  # This data type is used as a response element in the
11018
- # DescribeDBClusters action.
11018
+ # DescribeDBClusters, StopDBCluster, and StartDBCluster actions.
11019
11019
  # @return [Types::DBCluster]
11020
11020
  #
11021
11021
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaDBClusterResult AWS API Documentation
@@ -12030,10 +12030,10 @@ module Aws::RDS
12030
12030
  end
12031
12031
 
12032
12032
  # @!attribute [rw] db_cluster
12033
- # Contains the details of an Amazon RDS DB cluster.
12033
+ # Contains the details of an Amazon Aurora DB cluster.
12034
12034
  #
12035
12035
  # This data type is used as a response element in the
12036
- # DescribeDBClusters action.
12036
+ # DescribeDBClusters, StopDBCluster, and StartDBCluster actions.
12037
12037
  # @return [Types::DBCluster]
12038
12038
  #
12039
12039
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromS3Result AWS API Documentation
@@ -12212,8 +12212,8 @@ module Aws::RDS
12212
12212
  # @return [Array<String>]
12213
12213
  #
12214
12214
  # @!attribute [rw] engine_mode
12215
- # The DB engine mode of the DB cluster, either `provisioned` or
12216
- # `serverless`.
12215
+ # The DB engine mode of the DB cluster, either `provisioned`,
12216
+ # `serverless`, or `parallelquery`.
12217
12217
  # @return [String]
12218
12218
  #
12219
12219
  # @!attribute [rw] scaling_configuration
@@ -12245,10 +12245,10 @@ module Aws::RDS
12245
12245
  end
12246
12246
 
12247
12247
  # @!attribute [rw] db_cluster
12248
- # Contains the details of an Amazon RDS DB cluster.
12248
+ # Contains the details of an Amazon Aurora DB cluster.
12249
12249
  #
12250
12250
  # This data type is used as a response element in the
12251
- # DescribeDBClusters action.
12251
+ # DescribeDBClusters, StopDBCluster, and StartDBCluster actions.
12252
12252
  # @return [Types::DBCluster]
12253
12253
  #
12254
12254
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromSnapshotResult AWS API Documentation
@@ -12468,10 +12468,10 @@ module Aws::RDS
12468
12468
  end
12469
12469
 
12470
12470
  # @!attribute [rw] db_cluster
12471
- # Contains the details of an Amazon RDS DB cluster.
12471
+ # Contains the details of an Amazon Aurora DB cluster.
12472
12472
  #
12473
12473
  # This data type is used as a response element in the
12474
- # DescribeDBClusters action.
12474
+ # DescribeDBClusters, StopDBCluster, and StartDBCluster actions.
12475
12475
  # @return [Types::DBCluster]
12476
12476
  #
12477
12477
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTimeResult AWS API Documentation
@@ -13888,6 +13888,39 @@ module Aws::RDS
13888
13888
  include Aws::Structure
13889
13889
  end
13890
13890
 
13891
+ # @note When making an API call, you may pass StartDBClusterMessage
13892
+ # data as a hash:
13893
+ #
13894
+ # {
13895
+ # db_cluster_identifier: "String", # required
13896
+ # }
13897
+ #
13898
+ # @!attribute [rw] db_cluster_identifier
13899
+ # The DB cluster identifier of the Amazon Aurora DB cluster to be
13900
+ # started. This parameter is stored as a lowercase string.
13901
+ # @return [String]
13902
+ #
13903
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBClusterMessage AWS API Documentation
13904
+ #
13905
+ class StartDBClusterMessage < Struct.new(
13906
+ :db_cluster_identifier)
13907
+ include Aws::Structure
13908
+ end
13909
+
13910
+ # @!attribute [rw] db_cluster
13911
+ # Contains the details of an Amazon Aurora DB cluster.
13912
+ #
13913
+ # This data type is used as a response element in the
13914
+ # DescribeDBClusters, StopDBCluster, and StartDBCluster actions.
13915
+ # @return [Types::DBCluster]
13916
+ #
13917
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBClusterResult AWS API Documentation
13918
+ #
13919
+ class StartDBClusterResult < Struct.new(
13920
+ :db_cluster)
13921
+ include Aws::Structure
13922
+ end
13923
+
13891
13924
  # @note When making an API call, you may pass StartDBInstanceMessage
13892
13925
  # data as a hash:
13893
13926
  #
@@ -13920,6 +13953,39 @@ module Aws::RDS
13920
13953
  include Aws::Structure
13921
13954
  end
13922
13955
 
13956
+ # @note When making an API call, you may pass StopDBClusterMessage
13957
+ # data as a hash:
13958
+ #
13959
+ # {
13960
+ # db_cluster_identifier: "String", # required
13961
+ # }
13962
+ #
13963
+ # @!attribute [rw] db_cluster_identifier
13964
+ # The DB cluster identifier of the Amazon Aurora DB cluster to be
13965
+ # stopped. This parameter is stored as a lowercase string.
13966
+ # @return [String]
13967
+ #
13968
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBClusterMessage AWS API Documentation
13969
+ #
13970
+ class StopDBClusterMessage < Struct.new(
13971
+ :db_cluster_identifier)
13972
+ include Aws::Structure
13973
+ end
13974
+
13975
+ # @!attribute [rw] db_cluster
13976
+ # Contains the details of an Amazon Aurora DB cluster.
13977
+ #
13978
+ # This data type is used as a response element in the
13979
+ # DescribeDBClusters, StopDBCluster, and StartDBCluster actions.
13980
+ # @return [Types::DBCluster]
13981
+ #
13982
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBClusterResult AWS API Documentation
13983
+ #
13984
+ class StopDBClusterResult < Struct.new(
13985
+ :db_cluster)
13986
+ include Aws::Structure
13987
+ end
13988
+
13923
13989
  # @note When making an API call, you may pass StopDBInstanceMessage
13924
13990
  # data as a hash:
13925
13991
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-rds
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.29.0
4
+ version: 1.30.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-06 00:00:00.000000000 Z
11
+ date: 2018-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4