aws-sdk-rds 1.40.0 → 1.41.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-rds.rb +1 -1
- data/lib/aws-sdk-rds/client.rb +392 -8
- data/lib/aws-sdk-rds/client_api.rb +149 -1
- data/lib/aws-sdk-rds/db_cluster.rb +51 -1
- data/lib/aws-sdk-rds/db_instance.rb +5 -4
- data/lib/aws-sdk-rds/resource.rb +10 -5
- data/lib/aws-sdk-rds/types.rb +437 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7adfe011fc234497053177906e01227c4742283
|
4
|
+
data.tar.gz: d85248ea5770ee99c8e1ace16cf8237110d64263
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8df392698a5225d236aede7aecffa718110a9537d48822d455258ca80364fd81a72e6bd5b4673693827e7ebe8748b39b0d6af279e058b6a6eec11ca5c83b35f
|
7
|
+
data.tar.gz: e1d3d8101f3316c56e0458f8aac129830b8c50641b4d72f38f0e29781be9a090ac7115b0498d46b609432344342023b53288f0dee6ed204881c801da68740816
|
data/lib/aws-sdk-rds.rb
CHANGED
data/lib/aws-sdk-rds/client.rb
CHANGED
@@ -1772,7 +1772,7 @@ module Aws::RDS
|
|
1772
1772
|
#
|
1773
1773
|
# @option params [String] :engine_mode
|
1774
1774
|
# The DB engine mode of the DB cluster, either `provisioned`,
|
1775
|
-
# `serverless`, or `
|
1775
|
+
# `serverless`, `parallelquery`, or `global`.
|
1776
1776
|
#
|
1777
1777
|
# @option params [Types::ScalingConfiguration] :scaling_configuration
|
1778
1778
|
# For DB clusters in `serverless` DB engine mode, the scaling properties
|
@@ -1783,6 +1783,10 @@ module Aws::RDS
|
|
1783
1783
|
# The database can't be deleted when this value is set to true. The
|
1784
1784
|
# default is false.
|
1785
1785
|
#
|
1786
|
+
# @option params [String] :global_cluster_identifier
|
1787
|
+
# The global cluster ID of an Aurora cluster that becomes the primary
|
1788
|
+
# cluster in the new global database cluster.
|
1789
|
+
#
|
1786
1790
|
# @option params [String] :source_region
|
1787
1791
|
# The source region of the snapshot. This is only needed when the
|
1788
1792
|
# shapshot is encrypted and in a different region.
|
@@ -1858,6 +1862,7 @@ module Aws::RDS
|
|
1858
1862
|
# seconds_until_auto_pause: 1,
|
1859
1863
|
# },
|
1860
1864
|
# deletion_protection: false,
|
1865
|
+
# global_cluster_identifier: "String",
|
1861
1866
|
# source_region: "String",
|
1862
1867
|
# })
|
1863
1868
|
#
|
@@ -1925,6 +1930,7 @@ module Aws::RDS
|
|
1925
1930
|
# resp.db_cluster.scaling_configuration_info.auto_pause #=> Boolean
|
1926
1931
|
# resp.db_cluster.scaling_configuration_info.seconds_until_auto_pause #=> Integer
|
1927
1932
|
# resp.db_cluster.deletion_protection #=> Boolean
|
1933
|
+
# resp.db_cluster.http_endpoint_enabled #=> Boolean
|
1928
1934
|
#
|
1929
1935
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBCluster AWS API Documentation
|
1930
1936
|
#
|
@@ -2561,7 +2567,8 @@ module Aws::RDS
|
|
2561
2567
|
# Default: The default DB security group for the database engine.
|
2562
2568
|
#
|
2563
2569
|
# @option params [Array<String>] :vpc_security_group_ids
|
2564
|
-
# A list of EC2 VPC security groups to associate with this DB
|
2570
|
+
# A list of Amazon EC2 VPC security groups to associate with this DB
|
2571
|
+
# instance.
|
2565
2572
|
#
|
2566
2573
|
# **Amazon Aurora**
|
2567
2574
|
#
|
@@ -2724,9 +2731,9 @@ module Aws::RDS
|
|
2724
2731
|
# Type: Integer
|
2725
2732
|
#
|
2726
2733
|
# @option params [Boolean] :multi_az
|
2727
|
-
#
|
2728
|
-
#
|
2729
|
-
# true.
|
2734
|
+
# A value that specifies whether the DB instance is a Multi-AZ
|
2735
|
+
# deployment. You can't set the AvailabilityZone parameter if the
|
2736
|
+
# MultiAZ parameter is set to true.
|
2730
2737
|
#
|
2731
2738
|
# @option params [String] :engine_version
|
2732
2739
|
# The version number of the database engine to use.
|
@@ -4328,6 +4335,85 @@ module Aws::RDS
|
|
4328
4335
|
req.send_request(options)
|
4329
4336
|
end
|
4330
4337
|
|
4338
|
+
# Creates an Aurora global database spread across multiple regions. The
|
4339
|
+
# global database contains a single primary cluster with read-write
|
4340
|
+
# capability, and a read-only secondary cluster that receives data from
|
4341
|
+
# the primary cluster through high-speed replication performed by the
|
4342
|
+
# Aurora storage subsystem.
|
4343
|
+
#
|
4344
|
+
# You can create a global database that is initially empty, and then add
|
4345
|
+
# a primary cluster and a secondary cluster to it. Or you can specify an
|
4346
|
+
# existing Aurora cluster during the create operation, and this cluster
|
4347
|
+
# becomes the primary cluster of the global database.
|
4348
|
+
#
|
4349
|
+
# @option params [String] :global_cluster_identifier
|
4350
|
+
# The cluster identifier of the new global database cluster.
|
4351
|
+
#
|
4352
|
+
# @option params [String] :source_db_cluster_identifier
|
4353
|
+
# The Amazon Resource Name (ARN) to use as the primary cluster of the
|
4354
|
+
# global database. This parameter is optional.
|
4355
|
+
#
|
4356
|
+
# @option params [String] :engine
|
4357
|
+
# Provides the name of the database engine to be used for this DB
|
4358
|
+
# cluster.
|
4359
|
+
#
|
4360
|
+
# @option params [String] :engine_version
|
4361
|
+
# The engine version of the Aurora global database.
|
4362
|
+
#
|
4363
|
+
# @option params [Boolean] :deletion_protection
|
4364
|
+
# The deletion protection setting for the new global database. The
|
4365
|
+
# global database can't be deleted when this value is set to true.
|
4366
|
+
#
|
4367
|
+
# @option params [String] :database_name
|
4368
|
+
# The name for your database of up to 64 alpha-numeric characters. If
|
4369
|
+
# you do not provide a name, Amazon Aurora will not create a database in
|
4370
|
+
# the global database cluster you are creating.
|
4371
|
+
#
|
4372
|
+
# @option params [Boolean] :storage_encrypted
|
4373
|
+
# The storage encryption setting for the new global database cluster.
|
4374
|
+
#
|
4375
|
+
# @return [Types::CreateGlobalClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4376
|
+
#
|
4377
|
+
# * {Types::CreateGlobalClusterResult#global_cluster #global_cluster} => Types::GlobalCluster
|
4378
|
+
#
|
4379
|
+
# @example Request syntax with placeholder values
|
4380
|
+
#
|
4381
|
+
# resp = client.create_global_cluster({
|
4382
|
+
# global_cluster_identifier: "String",
|
4383
|
+
# source_db_cluster_identifier: "String",
|
4384
|
+
# engine: "String",
|
4385
|
+
# engine_version: "String",
|
4386
|
+
# deletion_protection: false,
|
4387
|
+
# database_name: "String",
|
4388
|
+
# storage_encrypted: false,
|
4389
|
+
# })
|
4390
|
+
#
|
4391
|
+
# @example Response structure
|
4392
|
+
#
|
4393
|
+
# resp.global_cluster.global_cluster_identifier #=> String
|
4394
|
+
# resp.global_cluster.global_cluster_resource_id #=> String
|
4395
|
+
# resp.global_cluster.global_cluster_arn #=> String
|
4396
|
+
# resp.global_cluster.status #=> String
|
4397
|
+
# resp.global_cluster.engine #=> String
|
4398
|
+
# resp.global_cluster.engine_version #=> String
|
4399
|
+
# resp.global_cluster.database_name #=> String
|
4400
|
+
# resp.global_cluster.storage_encrypted #=> Boolean
|
4401
|
+
# resp.global_cluster.deletion_protection #=> Boolean
|
4402
|
+
# resp.global_cluster.global_cluster_members #=> Array
|
4403
|
+
# resp.global_cluster.global_cluster_members[0].db_cluster_arn #=> String
|
4404
|
+
# resp.global_cluster.global_cluster_members[0].readers #=> Array
|
4405
|
+
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
4406
|
+
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
4407
|
+
#
|
4408
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateGlobalCluster AWS API Documentation
|
4409
|
+
#
|
4410
|
+
# @overload create_global_cluster(params = {})
|
4411
|
+
# @param [Hash] params ({})
|
4412
|
+
def create_global_cluster(params = {}, options = {})
|
4413
|
+
req = build_request(:create_global_cluster, params)
|
4414
|
+
req.send_request(options)
|
4415
|
+
end
|
4416
|
+
|
4331
4417
|
# Creates a new option group. You can create up to 20 option groups.
|
4332
4418
|
#
|
4333
4419
|
# @option params [required, String] :option_group_name
|
@@ -4587,6 +4673,7 @@ module Aws::RDS
|
|
4587
4673
|
# resp.db_cluster.scaling_configuration_info.auto_pause #=> Boolean
|
4588
4674
|
# resp.db_cluster.scaling_configuration_info.seconds_until_auto_pause #=> Integer
|
4589
4675
|
# resp.db_cluster.deletion_protection #=> Boolean
|
4676
|
+
# resp.db_cluster.http_endpoint_enabled #=> Boolean
|
4590
4677
|
#
|
4591
4678
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBCluster AWS API Documentation
|
4592
4679
|
#
|
@@ -5332,6 +5419,48 @@ module Aws::RDS
|
|
5332
5419
|
req.send_request(options)
|
5333
5420
|
end
|
5334
5421
|
|
5422
|
+
# Deletes a global database cluster. The primary and secondary clusters
|
5423
|
+
# must already be detached or destroyed first.
|
5424
|
+
#
|
5425
|
+
# @option params [required, String] :global_cluster_identifier
|
5426
|
+
# The cluster identifier of the global database cluster being deleted.
|
5427
|
+
#
|
5428
|
+
# @return [Types::DeleteGlobalClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5429
|
+
#
|
5430
|
+
# * {Types::DeleteGlobalClusterResult#global_cluster #global_cluster} => Types::GlobalCluster
|
5431
|
+
#
|
5432
|
+
# @example Request syntax with placeholder values
|
5433
|
+
#
|
5434
|
+
# resp = client.delete_global_cluster({
|
5435
|
+
# global_cluster_identifier: "String", # required
|
5436
|
+
# })
|
5437
|
+
#
|
5438
|
+
# @example Response structure
|
5439
|
+
#
|
5440
|
+
# resp.global_cluster.global_cluster_identifier #=> String
|
5441
|
+
# resp.global_cluster.global_cluster_resource_id #=> String
|
5442
|
+
# resp.global_cluster.global_cluster_arn #=> String
|
5443
|
+
# resp.global_cluster.status #=> String
|
5444
|
+
# resp.global_cluster.engine #=> String
|
5445
|
+
# resp.global_cluster.engine_version #=> String
|
5446
|
+
# resp.global_cluster.database_name #=> String
|
5447
|
+
# resp.global_cluster.storage_encrypted #=> Boolean
|
5448
|
+
# resp.global_cluster.deletion_protection #=> Boolean
|
5449
|
+
# resp.global_cluster.global_cluster_members #=> Array
|
5450
|
+
# resp.global_cluster.global_cluster_members[0].db_cluster_arn #=> String
|
5451
|
+
# resp.global_cluster.global_cluster_members[0].readers #=> Array
|
5452
|
+
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
5453
|
+
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
5454
|
+
#
|
5455
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteGlobalCluster AWS API Documentation
|
5456
|
+
#
|
5457
|
+
# @overload delete_global_cluster(params = {})
|
5458
|
+
# @param [Hash] params ({})
|
5459
|
+
def delete_global_cluster(params = {}, options = {})
|
5460
|
+
req = build_request(:delete_global_cluster, params)
|
5461
|
+
req.send_request(options)
|
5462
|
+
end
|
5463
|
+
|
5335
5464
|
# Deletes an existing option group.
|
5336
5465
|
#
|
5337
5466
|
# @option params [required, String] :option_group_name
|
@@ -6269,6 +6398,7 @@ module Aws::RDS
|
|
6269
6398
|
# resp.db_clusters[0].scaling_configuration_info.auto_pause #=> Boolean
|
6270
6399
|
# resp.db_clusters[0].scaling_configuration_info.seconds_until_auto_pause #=> Integer
|
6271
6400
|
# resp.db_clusters[0].deletion_protection #=> Boolean
|
6401
|
+
# resp.db_clusters[0].http_endpoint_enabled #=> Boolean
|
6272
6402
|
#
|
6273
6403
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusters AWS API Documentation
|
6274
6404
|
#
|
@@ -7881,6 +8011,101 @@ module Aws::RDS
|
|
7881
8011
|
req.send_request(options)
|
7882
8012
|
end
|
7883
8013
|
|
8014
|
+
# Returns information about Aurora global database clusters. This API
|
8015
|
+
# supports pagination.
|
8016
|
+
#
|
8017
|
+
# For more information on Amazon Aurora, see [ What Is Amazon
|
8018
|
+
# Aurora?][1] in the *Amazon Aurora User Guide.*
|
8019
|
+
#
|
8020
|
+
#
|
8021
|
+
#
|
8022
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html
|
8023
|
+
#
|
8024
|
+
# @option params [String] :global_cluster_identifier
|
8025
|
+
# The user-supplied DB cluster identifier. If this parameter is
|
8026
|
+
# specified, information from only the specific DB cluster is returned.
|
8027
|
+
# This parameter isn't case-sensitive.
|
8028
|
+
#
|
8029
|
+
# Constraints:
|
8030
|
+
#
|
8031
|
+
# * If supplied, must match an existing DBClusterIdentifier.
|
8032
|
+
#
|
8033
|
+
# ^
|
8034
|
+
#
|
8035
|
+
# @option params [Array<Types::Filter>] :filters
|
8036
|
+
# A filter that specifies one or more global DB clusters to describe.
|
8037
|
+
#
|
8038
|
+
# Supported filters:
|
8039
|
+
#
|
8040
|
+
# * `db-cluster-id` - Accepts DB cluster identifiers and DB cluster
|
8041
|
+
# Amazon Resource Names (ARNs). The results list will only include
|
8042
|
+
# information about the DB clusters identified by these ARNs.
|
8043
|
+
#
|
8044
|
+
# ^
|
8045
|
+
#
|
8046
|
+
# @option params [Integer] :max_records
|
8047
|
+
# The maximum number of records to include in the response. If more
|
8048
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
8049
|
+
# token called a marker is included in the response so that the
|
8050
|
+
# remaining results can be retrieved.
|
8051
|
+
#
|
8052
|
+
# Default: 100
|
8053
|
+
#
|
8054
|
+
# Constraints: Minimum 20, maximum 100.
|
8055
|
+
#
|
8056
|
+
# @option params [String] :marker
|
8057
|
+
# An optional pagination token provided by a previous
|
8058
|
+
# DescribeGlobalClusters request. If this parameter is specified, the
|
8059
|
+
# response includes only records beyond the marker, up to the value
|
8060
|
+
# specified by `MaxRecords`.
|
8061
|
+
#
|
8062
|
+
# @return [Types::GlobalClustersMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8063
|
+
#
|
8064
|
+
# * {Types::GlobalClustersMessage#marker #marker} => String
|
8065
|
+
# * {Types::GlobalClustersMessage#global_clusters #global_clusters} => Array<Types::GlobalCluster>
|
8066
|
+
#
|
8067
|
+
# @example Request syntax with placeholder values
|
8068
|
+
#
|
8069
|
+
# resp = client.describe_global_clusters({
|
8070
|
+
# global_cluster_identifier: "String",
|
8071
|
+
# filters: [
|
8072
|
+
# {
|
8073
|
+
# name: "String", # required
|
8074
|
+
# values: ["String"], # required
|
8075
|
+
# },
|
8076
|
+
# ],
|
8077
|
+
# max_records: 1,
|
8078
|
+
# marker: "String",
|
8079
|
+
# })
|
8080
|
+
#
|
8081
|
+
# @example Response structure
|
8082
|
+
#
|
8083
|
+
# resp.marker #=> String
|
8084
|
+
# resp.global_clusters #=> Array
|
8085
|
+
# resp.global_clusters[0].global_cluster_identifier #=> String
|
8086
|
+
# resp.global_clusters[0].global_cluster_resource_id #=> String
|
8087
|
+
# resp.global_clusters[0].global_cluster_arn #=> String
|
8088
|
+
# resp.global_clusters[0].status #=> String
|
8089
|
+
# resp.global_clusters[0].engine #=> String
|
8090
|
+
# resp.global_clusters[0].engine_version #=> String
|
8091
|
+
# resp.global_clusters[0].database_name #=> String
|
8092
|
+
# resp.global_clusters[0].storage_encrypted #=> Boolean
|
8093
|
+
# resp.global_clusters[0].deletion_protection #=> Boolean
|
8094
|
+
# resp.global_clusters[0].global_cluster_members #=> Array
|
8095
|
+
# resp.global_clusters[0].global_cluster_members[0].db_cluster_arn #=> String
|
8096
|
+
# resp.global_clusters[0].global_cluster_members[0].readers #=> Array
|
8097
|
+
# resp.global_clusters[0].global_cluster_members[0].readers[0] #=> String
|
8098
|
+
# resp.global_clusters[0].global_cluster_members[0].is_writer #=> Boolean
|
8099
|
+
#
|
8100
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeGlobalClusters AWS API Documentation
|
8101
|
+
#
|
8102
|
+
# @overload describe_global_clusters(params = {})
|
8103
|
+
# @param [Hash] params ({})
|
8104
|
+
def describe_global_clusters(params = {}, options = {})
|
8105
|
+
req = build_request(:describe_global_clusters, params)
|
8106
|
+
req.send_request(options)
|
8107
|
+
end
|
8108
|
+
|
7884
8109
|
# Describes all available options.
|
7885
8110
|
#
|
7886
8111
|
# @option params [required, String] :engine_name
|
@@ -8856,7 +9081,7 @@ module Aws::RDS
|
|
8856
9081
|
#
|
8857
9082
|
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html
|
8858
9083
|
#
|
8859
|
-
# @option params [String] :db_cluster_identifier
|
9084
|
+
# @option params [required, String] :db_cluster_identifier
|
8860
9085
|
# A DB cluster identifier to force a failover for. This parameter is not
|
8861
9086
|
# case-sensitive.
|
8862
9087
|
#
|
@@ -8895,7 +9120,7 @@ module Aws::RDS
|
|
8895
9120
|
# @example Request syntax with placeholder values
|
8896
9121
|
#
|
8897
9122
|
# resp = client.failover_db_cluster({
|
8898
|
-
# db_cluster_identifier: "String",
|
9123
|
+
# db_cluster_identifier: "String", # required
|
8899
9124
|
# target_db_instance_identifier: "String",
|
8900
9125
|
# })
|
8901
9126
|
#
|
@@ -8963,6 +9188,7 @@ module Aws::RDS
|
|
8963
9188
|
# resp.db_cluster.scaling_configuration_info.auto_pause #=> Boolean
|
8964
9189
|
# resp.db_cluster.scaling_configuration_info.seconds_until_auto_pause #=> Integer
|
8965
9190
|
# resp.db_cluster.deletion_protection #=> Boolean
|
9191
|
+
# resp.db_cluster.http_endpoint_enabled #=> Boolean
|
8966
9192
|
#
|
8967
9193
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverDBCluster AWS API Documentation
|
8968
9194
|
#
|
@@ -9318,6 +9544,28 @@ module Aws::RDS
|
|
9318
9544
|
# Indicates if the DB cluster has deletion protection enabled. The
|
9319
9545
|
# database can't be deleted when this value is set to true.
|
9320
9546
|
#
|
9547
|
+
# @option params [Boolean] :enable_http_endpoint
|
9548
|
+
# <note markdown="1"> HTTP endpoint functionality is in beta for Aurora Serverless and is
|
9549
|
+
# subject to change.
|
9550
|
+
#
|
9551
|
+
# </note>
|
9552
|
+
#
|
9553
|
+
# A value that indicates whether to enable the HTTP endpoint for an
|
9554
|
+
# Aurora Serverless DB cluster. By default, the HTTP endpoint is
|
9555
|
+
# disabled.
|
9556
|
+
#
|
9557
|
+
# When enabled, the HTTP endpoint provides a connectionless web service
|
9558
|
+
# API for running SQL queries on the Aurora Serverless DB cluster. You
|
9559
|
+
# can also query your database from inside the RDS console with the
|
9560
|
+
# query editor.
|
9561
|
+
#
|
9562
|
+
# For more information about Aurora Serverless, see [Using Amazon Aurora
|
9563
|
+
# Serverless][1] in the *Amazon Aurora User Guide*.
|
9564
|
+
#
|
9565
|
+
#
|
9566
|
+
#
|
9567
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html
|
9568
|
+
#
|
9321
9569
|
# @return [Types::ModifyDBClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9322
9570
|
#
|
9323
9571
|
# * {Types::ModifyDBClusterResult#db_cluster #db_cluster} => Types::DBCluster
|
@@ -9370,6 +9618,7 @@ module Aws::RDS
|
|
9370
9618
|
# seconds_until_auto_pause: 1,
|
9371
9619
|
# },
|
9372
9620
|
# deletion_protection: false,
|
9621
|
+
# enable_http_endpoint: false,
|
9373
9622
|
# })
|
9374
9623
|
#
|
9375
9624
|
# @example Response structure
|
@@ -9436,6 +9685,7 @@ module Aws::RDS
|
|
9436
9685
|
# resp.db_cluster.scaling_configuration_info.auto_pause #=> Boolean
|
9437
9686
|
# resp.db_cluster.scaling_configuration_info.seconds_until_auto_pause #=> Integer
|
9438
9687
|
# resp.db_cluster.deletion_protection #=> Boolean
|
9688
|
+
# resp.db_cluster.http_endpoint_enabled #=> Boolean
|
9439
9689
|
#
|
9440
9690
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBCluster AWS API Documentation
|
9441
9691
|
#
|
@@ -10952,6 +11202,84 @@ module Aws::RDS
|
|
10952
11202
|
req.send_request(options)
|
10953
11203
|
end
|
10954
11204
|
|
11205
|
+
# Modify a setting for an Amazon Aurora global cluster. You can change
|
11206
|
+
# one or more database configuration parameters by specifying these
|
11207
|
+
# parameters and the new values in the request. For more information on
|
11208
|
+
# Amazon Aurora, see [ What Is Amazon Aurora?][1] in the *Amazon Aurora
|
11209
|
+
# User Guide.*
|
11210
|
+
#
|
11211
|
+
#
|
11212
|
+
#
|
11213
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html
|
11214
|
+
#
|
11215
|
+
# @option params [String] :global_cluster_identifier
|
11216
|
+
# The DB cluster identifier for the global cluster being modified. This
|
11217
|
+
# parameter is not case-sensitive.
|
11218
|
+
#
|
11219
|
+
# Constraints:
|
11220
|
+
#
|
11221
|
+
# * Must match the identifier of an existing global database cluster.
|
11222
|
+
#
|
11223
|
+
# ^
|
11224
|
+
#
|
11225
|
+
# @option params [String] :new_global_cluster_identifier
|
11226
|
+
# The new cluster identifier for the global database cluster when
|
11227
|
+
# modifying a global database cluster. This value is stored as a
|
11228
|
+
# lowercase string.
|
11229
|
+
#
|
11230
|
+
# Constraints:
|
11231
|
+
#
|
11232
|
+
# * Must contain from 1 to 63 letters, numbers, or hyphens
|
11233
|
+
#
|
11234
|
+
# * The first character must be a letter
|
11235
|
+
#
|
11236
|
+
# * Can't end with a hyphen or contain two consecutive hyphens
|
11237
|
+
#
|
11238
|
+
# Example: `my-cluster2`
|
11239
|
+
#
|
11240
|
+
# @option params [Boolean] :deletion_protection
|
11241
|
+
# Indicates if the global database cluster has deletion protection
|
11242
|
+
# enabled. The global database cluster can't be deleted when this value
|
11243
|
+
# is set to true.
|
11244
|
+
#
|
11245
|
+
# @return [Types::ModifyGlobalClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11246
|
+
#
|
11247
|
+
# * {Types::ModifyGlobalClusterResult#global_cluster #global_cluster} => Types::GlobalCluster
|
11248
|
+
#
|
11249
|
+
# @example Request syntax with placeholder values
|
11250
|
+
#
|
11251
|
+
# resp = client.modify_global_cluster({
|
11252
|
+
# global_cluster_identifier: "String",
|
11253
|
+
# new_global_cluster_identifier: "String",
|
11254
|
+
# deletion_protection: false,
|
11255
|
+
# })
|
11256
|
+
#
|
11257
|
+
# @example Response structure
|
11258
|
+
#
|
11259
|
+
# resp.global_cluster.global_cluster_identifier #=> String
|
11260
|
+
# resp.global_cluster.global_cluster_resource_id #=> String
|
11261
|
+
# resp.global_cluster.global_cluster_arn #=> String
|
11262
|
+
# resp.global_cluster.status #=> String
|
11263
|
+
# resp.global_cluster.engine #=> String
|
11264
|
+
# resp.global_cluster.engine_version #=> String
|
11265
|
+
# resp.global_cluster.database_name #=> String
|
11266
|
+
# resp.global_cluster.storage_encrypted #=> Boolean
|
11267
|
+
# resp.global_cluster.deletion_protection #=> Boolean
|
11268
|
+
# resp.global_cluster.global_cluster_members #=> Array
|
11269
|
+
# resp.global_cluster.global_cluster_members[0].db_cluster_arn #=> String
|
11270
|
+
# resp.global_cluster.global_cluster_members[0].readers #=> Array
|
11271
|
+
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
11272
|
+
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
11273
|
+
#
|
11274
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyGlobalCluster AWS API Documentation
|
11275
|
+
#
|
11276
|
+
# @overload modify_global_cluster(params = {})
|
11277
|
+
# @param [Hash] params ({})
|
11278
|
+
def modify_global_cluster(params = {}, options = {})
|
11279
|
+
req = build_request(:modify_global_cluster, params)
|
11280
|
+
req.send_request(options)
|
11281
|
+
end
|
11282
|
+
|
10955
11283
|
# Modifies an existing option group.
|
10956
11284
|
#
|
10957
11285
|
# @option params [required, String] :option_group_name
|
@@ -11376,6 +11704,7 @@ module Aws::RDS
|
|
11376
11704
|
# resp.db_cluster.scaling_configuration_info.auto_pause #=> Boolean
|
11377
11705
|
# resp.db_cluster.scaling_configuration_info.seconds_until_auto_pause #=> Integer
|
11378
11706
|
# resp.db_cluster.deletion_protection #=> Boolean
|
11707
|
+
# resp.db_cluster.http_endpoint_enabled #=> Boolean
|
11379
11708
|
#
|
11380
11709
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaDBCluster AWS API Documentation
|
11381
11710
|
#
|
@@ -11653,6 +11982,56 @@ module Aws::RDS
|
|
11653
11982
|
req.send_request(options)
|
11654
11983
|
end
|
11655
11984
|
|
11985
|
+
# Detaches an Aurora secondary cluster from an Aurora global database
|
11986
|
+
# cluster. The cluster becomes a standalone cluster with read-write
|
11987
|
+
# capability instead of being read-only and receiving data from a
|
11988
|
+
# primary cluster in a different region.
|
11989
|
+
#
|
11990
|
+
# @option params [String] :global_cluster_identifier
|
11991
|
+
# The cluster identifier to detach from the Aurora global database
|
11992
|
+
# cluster.
|
11993
|
+
#
|
11994
|
+
# @option params [String] :db_cluster_identifier
|
11995
|
+
# The Amazon Resource Name (ARN) identifying the cluster that was
|
11996
|
+
# detached from the Aurora global database cluster.
|
11997
|
+
#
|
11998
|
+
# @return [Types::RemoveFromGlobalClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11999
|
+
#
|
12000
|
+
# * {Types::RemoveFromGlobalClusterResult#global_cluster #global_cluster} => Types::GlobalCluster
|
12001
|
+
#
|
12002
|
+
# @example Request syntax with placeholder values
|
12003
|
+
#
|
12004
|
+
# resp = client.remove_from_global_cluster({
|
12005
|
+
# global_cluster_identifier: "String",
|
12006
|
+
# db_cluster_identifier: "String",
|
12007
|
+
# })
|
12008
|
+
#
|
12009
|
+
# @example Response structure
|
12010
|
+
#
|
12011
|
+
# resp.global_cluster.global_cluster_identifier #=> String
|
12012
|
+
# resp.global_cluster.global_cluster_resource_id #=> String
|
12013
|
+
# resp.global_cluster.global_cluster_arn #=> String
|
12014
|
+
# resp.global_cluster.status #=> String
|
12015
|
+
# resp.global_cluster.engine #=> String
|
12016
|
+
# resp.global_cluster.engine_version #=> String
|
12017
|
+
# resp.global_cluster.database_name #=> String
|
12018
|
+
# resp.global_cluster.storage_encrypted #=> Boolean
|
12019
|
+
# resp.global_cluster.deletion_protection #=> Boolean
|
12020
|
+
# resp.global_cluster.global_cluster_members #=> Array
|
12021
|
+
# resp.global_cluster.global_cluster_members[0].db_cluster_arn #=> String
|
12022
|
+
# resp.global_cluster.global_cluster_members[0].readers #=> Array
|
12023
|
+
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
12024
|
+
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
12025
|
+
#
|
12026
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveFromGlobalCluster AWS API Documentation
|
12027
|
+
#
|
12028
|
+
# @overload remove_from_global_cluster(params = {})
|
12029
|
+
# @param [Hash] params ({})
|
12030
|
+
def remove_from_global_cluster(params = {}, options = {})
|
12031
|
+
req = build_request(:remove_from_global_cluster, params)
|
12032
|
+
req.send_request(options)
|
12033
|
+
end
|
12034
|
+
|
11656
12035
|
# Disassociates an Identity and Access Management (IAM) role from an
|
11657
12036
|
# Aurora DB cluster. For more information, see [Authorizing Amazon
|
11658
12037
|
# Aurora MySQL to Access Other AWS Services on Your Behalf ][1] in the
|
@@ -12349,6 +12728,7 @@ module Aws::RDS
|
|
12349
12728
|
# resp.db_cluster.scaling_configuration_info.auto_pause #=> Boolean
|
12350
12729
|
# resp.db_cluster.scaling_configuration_info.seconds_until_auto_pause #=> Integer
|
12351
12730
|
# resp.db_cluster.deletion_protection #=> Boolean
|
12731
|
+
# resp.db_cluster.http_endpoint_enabled #=> Boolean
|
12352
12732
|
#
|
12353
12733
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromS3 AWS API Documentation
|
12354
12734
|
#
|
@@ -12643,6 +13023,7 @@ module Aws::RDS
|
|
12643
13023
|
# resp.db_cluster.scaling_configuration_info.auto_pause #=> Boolean
|
12644
13024
|
# resp.db_cluster.scaling_configuration_info.seconds_until_auto_pause #=> Integer
|
12645
13025
|
# resp.db_cluster.deletion_protection #=> Boolean
|
13026
|
+
# resp.db_cluster.http_endpoint_enabled #=> Boolean
|
12646
13027
|
#
|
12647
13028
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromSnapshot AWS API Documentation
|
12648
13029
|
#
|
@@ -12958,6 +13339,7 @@ module Aws::RDS
|
|
12958
13339
|
# resp.db_cluster.scaling_configuration_info.auto_pause #=> Boolean
|
12959
13340
|
# resp.db_cluster.scaling_configuration_info.seconds_until_auto_pause #=> Integer
|
12960
13341
|
# resp.db_cluster.deletion_protection #=> Boolean
|
13342
|
+
# resp.db_cluster.http_endpoint_enabled #=> Boolean
|
12961
13343
|
#
|
12962
13344
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTime AWS API Documentation
|
12963
13345
|
#
|
@@ -14770,6 +15152,7 @@ module Aws::RDS
|
|
14770
15152
|
# resp.db_cluster.scaling_configuration_info.auto_pause #=> Boolean
|
14771
15153
|
# resp.db_cluster.scaling_configuration_info.seconds_until_auto_pause #=> Integer
|
14772
15154
|
# resp.db_cluster.deletion_protection #=> Boolean
|
15155
|
+
# resp.db_cluster.http_endpoint_enabled #=> Boolean
|
14773
15156
|
#
|
14774
15157
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBCluster AWS API Documentation
|
14775
15158
|
#
|
@@ -15019,6 +15402,7 @@ module Aws::RDS
|
|
15019
15402
|
# resp.db_cluster.scaling_configuration_info.auto_pause #=> Boolean
|
15020
15403
|
# resp.db_cluster.scaling_configuration_info.seconds_until_auto_pause #=> Integer
|
15021
15404
|
# resp.db_cluster.deletion_protection #=> Boolean
|
15405
|
+
# resp.db_cluster.http_endpoint_enabled #=> Boolean
|
15022
15406
|
#
|
15023
15407
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBCluster AWS API Documentation
|
15024
15408
|
#
|
@@ -15198,7 +15582,7 @@ module Aws::RDS
|
|
15198
15582
|
params: params,
|
15199
15583
|
config: config)
|
15200
15584
|
context[:gem_name] = 'aws-sdk-rds'
|
15201
|
-
context[:gem_version] = '1.
|
15585
|
+
context[:gem_version] = '1.41.0'
|
15202
15586
|
Seahorse::Client::Request.new(handlers, context)
|
15203
15587
|
end
|
15204
15588
|
|