aws-sdk-neptune 1.45.0 → 1.46.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-neptune/client.rb +398 -1
- data/lib/aws-sdk-neptune/client_api.rb +172 -0
- data/lib/aws-sdk-neptune/errors.rb +44 -0
- data/lib/aws-sdk-neptune/types.rb +510 -5
- data/lib/aws-sdk-neptune.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e390ff5928813278dde7af744e86e87a5028e66061fcceac3be969f2522a9252
|
4
|
+
data.tar.gz: 143136297d25de51cabeb3ff6f40d991757ddf1afa2eb2da22c15f5598712b86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b86e84d28acb4e199f226fd18dc8f6949f81584bf11f3cce674f6d31758b9c84aecee1197d7d6163326dbccb81d2122c68f87aad2ca947733778482c724ec67
|
7
|
+
data.tar.gz: 7ef8b31b780421f76b5e81ad672c9de3df0b695a73501f126689f64ef6fa17e74008ebb18206fbd833b26dd0b01cd0c746b97728ba37bf86f68483a231cd8480
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.46.0 (2022-06-08)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for Neptune to be configured as a global database, with a primary DB cluster in one region, and up to five secondary DB clusters in other regions.
|
8
|
+
|
4
9
|
1.45.0 (2022-02-24)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.46.0
|
@@ -1027,6 +1027,10 @@ module Aws::Neptune
|
|
1027
1027
|
# enabled. The database can't be deleted when deletion protection is
|
1028
1028
|
# enabled. By default, deletion protection is enabled.
|
1029
1029
|
#
|
1030
|
+
# @option params [String] :global_cluster_identifier
|
1031
|
+
# The ID of the Neptune global database to which this new DB cluster
|
1032
|
+
# should be added.
|
1033
|
+
#
|
1030
1034
|
# @option params [String] :source_region
|
1031
1035
|
# The source region of the snapshot. This is only needed when the
|
1032
1036
|
# shapshot is encrypted and in a different region.
|
@@ -1068,6 +1072,7 @@ module Aws::Neptune
|
|
1068
1072
|
# enable_iam_database_authentication: false,
|
1069
1073
|
# enable_cloudwatch_logs_exports: ["String"],
|
1070
1074
|
# deletion_protection: false,
|
1075
|
+
# global_cluster_identifier: "GlobalClusterIdentifier",
|
1071
1076
|
# source_region: "String",
|
1072
1077
|
# })
|
1073
1078
|
#
|
@@ -2099,6 +2104,81 @@ module Aws::Neptune
|
|
2099
2104
|
req.send_request(options)
|
2100
2105
|
end
|
2101
2106
|
|
2107
|
+
# Creates a Neptune global database spread across multiple Amazon
|
2108
|
+
# Regions. The global database contains a single primary cluster with
|
2109
|
+
# read-write capability, and read-only secondary clusters that receive
|
2110
|
+
# data from the primary cluster through high-speed replication performed
|
2111
|
+
# by the Neptune storage subsystem.
|
2112
|
+
#
|
2113
|
+
# You can create a global database that is initially empty, and then add
|
2114
|
+
# a primary cluster and secondary clusters to it, or you can specify an
|
2115
|
+
# existing Neptune cluster during the create operation to become the
|
2116
|
+
# primary cluster of the global database.
|
2117
|
+
#
|
2118
|
+
# @option params [required, String] :global_cluster_identifier
|
2119
|
+
# The cluster identifier of the new global database cluster.
|
2120
|
+
#
|
2121
|
+
# @option params [String] :source_db_cluster_identifier
|
2122
|
+
# (*Optional*) The Amazon Resource Name (ARN) of an existing Neptune DB
|
2123
|
+
# cluster to use as the primary cluster of the new global database.
|
2124
|
+
#
|
2125
|
+
# @option params [String] :engine
|
2126
|
+
# The name of the database engine to be used in the global database.
|
2127
|
+
#
|
2128
|
+
# Valid values: `neptune`
|
2129
|
+
#
|
2130
|
+
# @option params [String] :engine_version
|
2131
|
+
# The Neptune engine version to be used by the global database.
|
2132
|
+
#
|
2133
|
+
# Valid values: `1.2.0.0` or above.
|
2134
|
+
#
|
2135
|
+
# @option params [Boolean] :deletion_protection
|
2136
|
+
# The deletion protection setting for the new global database. The
|
2137
|
+
# global database can't be deleted when deletion protection is enabled.
|
2138
|
+
#
|
2139
|
+
# @option params [Boolean] :storage_encrypted
|
2140
|
+
# The storage encryption setting for the new global database cluster.
|
2141
|
+
#
|
2142
|
+
# @return [Types::CreateGlobalClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2143
|
+
#
|
2144
|
+
# * {Types::CreateGlobalClusterResult#global_cluster #global_cluster} => Types::GlobalCluster
|
2145
|
+
#
|
2146
|
+
# @example Request syntax with placeholder values
|
2147
|
+
#
|
2148
|
+
# resp = client.create_global_cluster({
|
2149
|
+
# global_cluster_identifier: "GlobalClusterIdentifier", # required
|
2150
|
+
# source_db_cluster_identifier: "String",
|
2151
|
+
# engine: "String",
|
2152
|
+
# engine_version: "String",
|
2153
|
+
# deletion_protection: false,
|
2154
|
+
# storage_encrypted: false,
|
2155
|
+
# })
|
2156
|
+
#
|
2157
|
+
# @example Response structure
|
2158
|
+
#
|
2159
|
+
# resp.global_cluster.global_cluster_identifier #=> String
|
2160
|
+
# resp.global_cluster.global_cluster_resource_id #=> String
|
2161
|
+
# resp.global_cluster.global_cluster_arn #=> String
|
2162
|
+
# resp.global_cluster.status #=> String
|
2163
|
+
# resp.global_cluster.engine #=> String
|
2164
|
+
# resp.global_cluster.engine_version #=> String
|
2165
|
+
# resp.global_cluster.storage_encrypted #=> Boolean
|
2166
|
+
# resp.global_cluster.deletion_protection #=> Boolean
|
2167
|
+
# resp.global_cluster.global_cluster_members #=> Array
|
2168
|
+
# resp.global_cluster.global_cluster_members[0].db_cluster_arn #=> String
|
2169
|
+
# resp.global_cluster.global_cluster_members[0].readers #=> Array
|
2170
|
+
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
2171
|
+
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
2172
|
+
#
|
2173
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateGlobalCluster AWS API Documentation
|
2174
|
+
#
|
2175
|
+
# @overload create_global_cluster(params = {})
|
2176
|
+
# @param [Hash] params ({})
|
2177
|
+
def create_global_cluster(params = {}, options = {})
|
2178
|
+
req = build_request(:create_global_cluster, params)
|
2179
|
+
req.send_request(options)
|
2180
|
+
end
|
2181
|
+
|
2102
2182
|
# The DeleteDBCluster action deletes a previously provisioned DB
|
2103
2183
|
# cluster. When you delete a DB cluster, all automated backups for that
|
2104
2184
|
# DB cluster are deleted and can't be recovered. Manual DB cluster
|
@@ -2663,6 +2743,47 @@ module Aws::Neptune
|
|
2663
2743
|
req.send_request(options)
|
2664
2744
|
end
|
2665
2745
|
|
2746
|
+
# Deletes a global database. The primary and all secondary clusters must
|
2747
|
+
# already be detached or deleted first.
|
2748
|
+
#
|
2749
|
+
# @option params [required, String] :global_cluster_identifier
|
2750
|
+
# The cluster identifier of the global database cluster being deleted.
|
2751
|
+
#
|
2752
|
+
# @return [Types::DeleteGlobalClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2753
|
+
#
|
2754
|
+
# * {Types::DeleteGlobalClusterResult#global_cluster #global_cluster} => Types::GlobalCluster
|
2755
|
+
#
|
2756
|
+
# @example Request syntax with placeholder values
|
2757
|
+
#
|
2758
|
+
# resp = client.delete_global_cluster({
|
2759
|
+
# global_cluster_identifier: "GlobalClusterIdentifier", # required
|
2760
|
+
# })
|
2761
|
+
#
|
2762
|
+
# @example Response structure
|
2763
|
+
#
|
2764
|
+
# resp.global_cluster.global_cluster_identifier #=> String
|
2765
|
+
# resp.global_cluster.global_cluster_resource_id #=> String
|
2766
|
+
# resp.global_cluster.global_cluster_arn #=> String
|
2767
|
+
# resp.global_cluster.status #=> String
|
2768
|
+
# resp.global_cluster.engine #=> String
|
2769
|
+
# resp.global_cluster.engine_version #=> String
|
2770
|
+
# resp.global_cluster.storage_encrypted #=> Boolean
|
2771
|
+
# resp.global_cluster.deletion_protection #=> Boolean
|
2772
|
+
# resp.global_cluster.global_cluster_members #=> Array
|
2773
|
+
# resp.global_cluster.global_cluster_members[0].db_cluster_arn #=> String
|
2774
|
+
# resp.global_cluster.global_cluster_members[0].readers #=> Array
|
2775
|
+
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
2776
|
+
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
2777
|
+
#
|
2778
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteGlobalCluster AWS API Documentation
|
2779
|
+
#
|
2780
|
+
# @overload delete_global_cluster(params = {})
|
2781
|
+
# @param [Hash] params ({})
|
2782
|
+
def delete_global_cluster(params = {}, options = {})
|
2783
|
+
req = build_request(:delete_global_cluster, params)
|
2784
|
+
req.send_request(options)
|
2785
|
+
end
|
2786
|
+
|
2666
2787
|
# Returns information about endpoints for an Amazon Neptune DB cluster.
|
2667
2788
|
#
|
2668
2789
|
# <note markdown="1"> This operation can also return information for Amazon RDS clusters and
|
@@ -3348,12 +3469,14 @@ module Aws::Neptune
|
|
3348
3469
|
# resp.db_engine_versions[0].valid_upgrade_target[0].description #=> String
|
3349
3470
|
# resp.db_engine_versions[0].valid_upgrade_target[0].auto_upgrade #=> Boolean
|
3350
3471
|
# resp.db_engine_versions[0].valid_upgrade_target[0].is_major_version_upgrade #=> Boolean
|
3472
|
+
# resp.db_engine_versions[0].valid_upgrade_target[0].supports_global_databases #=> Boolean
|
3351
3473
|
# resp.db_engine_versions[0].supported_timezones #=> Array
|
3352
3474
|
# resp.db_engine_versions[0].supported_timezones[0].timezone_name #=> String
|
3353
3475
|
# resp.db_engine_versions[0].exportable_log_types #=> Array
|
3354
3476
|
# resp.db_engine_versions[0].exportable_log_types[0] #=> String
|
3355
3477
|
# resp.db_engine_versions[0].supports_log_exports_to_cloudwatch_logs #=> Boolean
|
3356
3478
|
# resp.db_engine_versions[0].supports_read_replica #=> Boolean
|
3479
|
+
# resp.db_engine_versions[0].supports_global_databases #=> Boolean
|
3357
3480
|
#
|
3358
3481
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBEngineVersions AWS API Documentation
|
3359
3482
|
#
|
@@ -4174,6 +4297,73 @@ module Aws::Neptune
|
|
4174
4297
|
req.send_request(options)
|
4175
4298
|
end
|
4176
4299
|
|
4300
|
+
# Returns information about Neptune global database clusters. This API
|
4301
|
+
# supports pagination.
|
4302
|
+
#
|
4303
|
+
# @option params [String] :global_cluster_identifier
|
4304
|
+
# The user-supplied DB cluster identifier. If this parameter is
|
4305
|
+
# specified, only information about the specified DB cluster is
|
4306
|
+
# returned. This parameter is not case-sensitive.
|
4307
|
+
#
|
4308
|
+
# Constraints: If supplied, must match an existing DB cluster
|
4309
|
+
# identifier.
|
4310
|
+
#
|
4311
|
+
# @option params [Integer] :max_records
|
4312
|
+
# The maximum number of records to include in the response. If more
|
4313
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
4314
|
+
# marker token is included in the response that you can use to retrieve
|
4315
|
+
# the remaining results.
|
4316
|
+
#
|
4317
|
+
# Default: `100`
|
4318
|
+
#
|
4319
|
+
# Constraints: Minimum 20, maximum 100.
|
4320
|
+
#
|
4321
|
+
# @option params [String] :marker
|
4322
|
+
# (*Optional*) A pagination token returned by a previous call to
|
4323
|
+
# `DescribeGlobalClusters`. If this parameter is specified, the response
|
4324
|
+
# will only include records beyond the marker, up to the number
|
4325
|
+
# specified by `MaxRecords`.
|
4326
|
+
#
|
4327
|
+
# @return [Types::GlobalClustersMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4328
|
+
#
|
4329
|
+
# * {Types::GlobalClustersMessage#marker #marker} => String
|
4330
|
+
# * {Types::GlobalClustersMessage#global_clusters #global_clusters} => Array<Types::GlobalCluster>
|
4331
|
+
#
|
4332
|
+
# @example Request syntax with placeholder values
|
4333
|
+
#
|
4334
|
+
# resp = client.describe_global_clusters({
|
4335
|
+
# global_cluster_identifier: "GlobalClusterIdentifier",
|
4336
|
+
# max_records: 1,
|
4337
|
+
# marker: "String",
|
4338
|
+
# })
|
4339
|
+
#
|
4340
|
+
# @example Response structure
|
4341
|
+
#
|
4342
|
+
# resp.marker #=> String
|
4343
|
+
# resp.global_clusters #=> Array
|
4344
|
+
# resp.global_clusters[0].global_cluster_identifier #=> String
|
4345
|
+
# resp.global_clusters[0].global_cluster_resource_id #=> String
|
4346
|
+
# resp.global_clusters[0].global_cluster_arn #=> String
|
4347
|
+
# resp.global_clusters[0].status #=> String
|
4348
|
+
# resp.global_clusters[0].engine #=> String
|
4349
|
+
# resp.global_clusters[0].engine_version #=> String
|
4350
|
+
# resp.global_clusters[0].storage_encrypted #=> Boolean
|
4351
|
+
# resp.global_clusters[0].deletion_protection #=> Boolean
|
4352
|
+
# resp.global_clusters[0].global_cluster_members #=> Array
|
4353
|
+
# resp.global_clusters[0].global_cluster_members[0].db_cluster_arn #=> String
|
4354
|
+
# resp.global_clusters[0].global_cluster_members[0].readers #=> Array
|
4355
|
+
# resp.global_clusters[0].global_cluster_members[0].readers[0] #=> String
|
4356
|
+
# resp.global_clusters[0].global_cluster_members[0].is_writer #=> Boolean
|
4357
|
+
#
|
4358
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeGlobalClusters AWS API Documentation
|
4359
|
+
#
|
4360
|
+
# @overload describe_global_clusters(params = {})
|
4361
|
+
# @param [Hash] params ({})
|
4362
|
+
def describe_global_clusters(params = {}, options = {})
|
4363
|
+
req = build_request(:describe_global_clusters, params)
|
4364
|
+
req.send_request(options)
|
4365
|
+
end
|
4366
|
+
|
4177
4367
|
# Returns a list of orderable DB instance options for the specified
|
4178
4368
|
# engine.
|
4179
4369
|
#
|
@@ -4264,6 +4454,7 @@ module Aws::Neptune
|
|
4264
4454
|
# resp.orderable_db_instance_options[0].max_iops_per_db_instance #=> Integer
|
4265
4455
|
# resp.orderable_db_instance_options[0].min_iops_per_gib #=> Float
|
4266
4456
|
# resp.orderable_db_instance_options[0].max_iops_per_gib #=> Float
|
4457
|
+
# resp.orderable_db_instance_options[0].supports_global_databases #=> Boolean
|
4267
4458
|
# resp.marker #=> String
|
4268
4459
|
#
|
4269
4460
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeOrderableDBInstanceOptions AWS API Documentation
|
@@ -4503,6 +4694,73 @@ module Aws::Neptune
|
|
4503
4694
|
req.send_request(options)
|
4504
4695
|
end
|
4505
4696
|
|
4697
|
+
# Initiates the failover process for a Neptune global database.
|
4698
|
+
#
|
4699
|
+
# A failover for a Neptune global database promotes one of secondary
|
4700
|
+
# read-only DB clusters to be the primary DB cluster and demotes the
|
4701
|
+
# primary DB cluster to being a secondary (read-only) DB cluster. In
|
4702
|
+
# other words, the role of the current primary DB cluster and the
|
4703
|
+
# selected target secondary DB cluster are switched. The selected
|
4704
|
+
# secondary DB cluster assumes full read/write capabilities for the
|
4705
|
+
# Neptune global database.
|
4706
|
+
#
|
4707
|
+
# <note markdown="1"> This action applies **only** to Neptune global databases. This action
|
4708
|
+
# is only intended for use on healthy Neptune global databases with
|
4709
|
+
# healthy Neptune DB clusters and no region-wide outages, to test
|
4710
|
+
# disaster recovery scenarios or to reconfigure the global database
|
4711
|
+
# topology.
|
4712
|
+
#
|
4713
|
+
# </note>
|
4714
|
+
#
|
4715
|
+
# @option params [required, String] :global_cluster_identifier
|
4716
|
+
# Identifier of the Neptune global database that should be failed over.
|
4717
|
+
# The identifier is the unique key assigned by the user when the Neptune
|
4718
|
+
# global database was created. In other words, it's the name of the
|
4719
|
+
# global database that you want to fail over.
|
4720
|
+
#
|
4721
|
+
# Constraints: Must match the identifier of an existing Neptune global
|
4722
|
+
# database.
|
4723
|
+
#
|
4724
|
+
# @option params [required, String] :target_db_cluster_identifier
|
4725
|
+
# The Amazon Resource Name (ARN) of the secondary Neptune DB cluster
|
4726
|
+
# that you want to promote to primary for the global database.
|
4727
|
+
#
|
4728
|
+
# @return [Types::FailoverGlobalClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4729
|
+
#
|
4730
|
+
# * {Types::FailoverGlobalClusterResult#global_cluster #global_cluster} => Types::GlobalCluster
|
4731
|
+
#
|
4732
|
+
# @example Request syntax with placeholder values
|
4733
|
+
#
|
4734
|
+
# resp = client.failover_global_cluster({
|
4735
|
+
# global_cluster_identifier: "GlobalClusterIdentifier", # required
|
4736
|
+
# target_db_cluster_identifier: "String", # required
|
4737
|
+
# })
|
4738
|
+
#
|
4739
|
+
# @example Response structure
|
4740
|
+
#
|
4741
|
+
# resp.global_cluster.global_cluster_identifier #=> String
|
4742
|
+
# resp.global_cluster.global_cluster_resource_id #=> String
|
4743
|
+
# resp.global_cluster.global_cluster_arn #=> String
|
4744
|
+
# resp.global_cluster.status #=> String
|
4745
|
+
# resp.global_cluster.engine #=> String
|
4746
|
+
# resp.global_cluster.engine_version #=> String
|
4747
|
+
# resp.global_cluster.storage_encrypted #=> Boolean
|
4748
|
+
# resp.global_cluster.deletion_protection #=> Boolean
|
4749
|
+
# resp.global_cluster.global_cluster_members #=> Array
|
4750
|
+
# resp.global_cluster.global_cluster_members[0].db_cluster_arn #=> String
|
4751
|
+
# resp.global_cluster.global_cluster_members[0].readers #=> Array
|
4752
|
+
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
4753
|
+
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
4754
|
+
#
|
4755
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/FailoverGlobalCluster AWS API Documentation
|
4756
|
+
#
|
4757
|
+
# @overload failover_global_cluster(params = {})
|
4758
|
+
# @param [Hash] params ({})
|
4759
|
+
def failover_global_cluster(params = {}, options = {})
|
4760
|
+
req = build_request(:failover_global_cluster, params)
|
4761
|
+
req.send_request(options)
|
4762
|
+
end
|
4763
|
+
|
4506
4764
|
# Lists all tags on an Amazon Neptune resource.
|
4507
4765
|
#
|
4508
4766
|
# @option params [required, String] :resource_name
|
@@ -5688,6 +5946,96 @@ module Aws::Neptune
|
|
5688
5946
|
req.send_request(options)
|
5689
5947
|
end
|
5690
5948
|
|
5949
|
+
# Modify a setting for an Amazon Neptune global cluster. You can change
|
5950
|
+
# one or more database configuration parameters by specifying these
|
5951
|
+
# parameters and their new values in the request.
|
5952
|
+
#
|
5953
|
+
# @option params [required, String] :global_cluster_identifier
|
5954
|
+
# The DB cluster identifier for the global cluster being modified. This
|
5955
|
+
# parameter is not case-sensitive.
|
5956
|
+
#
|
5957
|
+
# Constraints: Must match the identifier of an existing global database
|
5958
|
+
# cluster.
|
5959
|
+
#
|
5960
|
+
# @option params [String] :new_global_cluster_identifier
|
5961
|
+
# A new cluster identifier to assign to the global database. This value
|
5962
|
+
# is stored as a lowercase string.
|
5963
|
+
#
|
5964
|
+
# Constraints:
|
5965
|
+
#
|
5966
|
+
# * Must contain from 1 to 63 letters, numbers, or hyphens.
|
5967
|
+
#
|
5968
|
+
# * The first character must be a letter.
|
5969
|
+
#
|
5970
|
+
# * Can't end with a hyphen or contain two consecutive hyphens
|
5971
|
+
#
|
5972
|
+
# Example: `my-cluster2`
|
5973
|
+
#
|
5974
|
+
# @option params [Boolean] :deletion_protection
|
5975
|
+
# Indicates whether the global database has deletion protection enabled.
|
5976
|
+
# The global database cannot be deleted when deletion protection is
|
5977
|
+
# enabled.
|
5978
|
+
#
|
5979
|
+
# @option params [String] :engine_version
|
5980
|
+
# The version number of the database engine to which you want to
|
5981
|
+
# upgrade. Changing this parameter will result in an outage. The change
|
5982
|
+
# is applied during the next maintenance window unless
|
5983
|
+
# `ApplyImmediately` is enabled.
|
5984
|
+
#
|
5985
|
+
# To list all of the available Neptune engine versions, use the
|
5986
|
+
# following command:
|
5987
|
+
#
|
5988
|
+
# @option params [Boolean] :allow_major_version_upgrade
|
5989
|
+
# A value that indicates whether major version upgrades are allowed.
|
5990
|
+
#
|
5991
|
+
# Constraints: You must allow major version upgrades if you specify a
|
5992
|
+
# value for the `EngineVersion` parameter that is a different major
|
5993
|
+
# version than the DB cluster's current version.
|
5994
|
+
#
|
5995
|
+
# If you upgrade the major version of a global database, the cluster and
|
5996
|
+
# DB instance parameter groups are set to the default parameter groups
|
5997
|
+
# for the new version, so you will need to apply any custom parameter
|
5998
|
+
# groups after completing the upgrade.
|
5999
|
+
#
|
6000
|
+
# @return [Types::ModifyGlobalClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6001
|
+
#
|
6002
|
+
# * {Types::ModifyGlobalClusterResult#global_cluster #global_cluster} => Types::GlobalCluster
|
6003
|
+
#
|
6004
|
+
# @example Request syntax with placeholder values
|
6005
|
+
#
|
6006
|
+
# resp = client.modify_global_cluster({
|
6007
|
+
# global_cluster_identifier: "GlobalClusterIdentifier", # required
|
6008
|
+
# new_global_cluster_identifier: "GlobalClusterIdentifier",
|
6009
|
+
# deletion_protection: false,
|
6010
|
+
# engine_version: "String",
|
6011
|
+
# allow_major_version_upgrade: false,
|
6012
|
+
# })
|
6013
|
+
#
|
6014
|
+
# @example Response structure
|
6015
|
+
#
|
6016
|
+
# resp.global_cluster.global_cluster_identifier #=> String
|
6017
|
+
# resp.global_cluster.global_cluster_resource_id #=> String
|
6018
|
+
# resp.global_cluster.global_cluster_arn #=> String
|
6019
|
+
# resp.global_cluster.status #=> String
|
6020
|
+
# resp.global_cluster.engine #=> String
|
6021
|
+
# resp.global_cluster.engine_version #=> String
|
6022
|
+
# resp.global_cluster.storage_encrypted #=> Boolean
|
6023
|
+
# resp.global_cluster.deletion_protection #=> Boolean
|
6024
|
+
# resp.global_cluster.global_cluster_members #=> Array
|
6025
|
+
# resp.global_cluster.global_cluster_members[0].db_cluster_arn #=> String
|
6026
|
+
# resp.global_cluster.global_cluster_members[0].readers #=> Array
|
6027
|
+
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
6028
|
+
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
6029
|
+
#
|
6030
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyGlobalCluster AWS API Documentation
|
6031
|
+
#
|
6032
|
+
# @overload modify_global_cluster(params = {})
|
6033
|
+
# @param [Hash] params ({})
|
6034
|
+
def modify_global_cluster(params = {}, options = {})
|
6035
|
+
req = build_request(:modify_global_cluster, params)
|
6036
|
+
req.send_request(options)
|
6037
|
+
end
|
6038
|
+
|
5691
6039
|
# Not supported.
|
5692
6040
|
#
|
5693
6041
|
# @option params [required, String] :db_cluster_identifier
|
@@ -5915,6 +6263,55 @@ module Aws::Neptune
|
|
5915
6263
|
req.send_request(options)
|
5916
6264
|
end
|
5917
6265
|
|
6266
|
+
# Detaches a Neptune DB cluster from a Neptune global database. A
|
6267
|
+
# secondary cluster becomes a normal standalone cluster with read-write
|
6268
|
+
# capability instead of being read-only, and no longer receives data
|
6269
|
+
# from a the primary cluster.
|
6270
|
+
#
|
6271
|
+
# @option params [required, String] :global_cluster_identifier
|
6272
|
+
# The identifier of the Neptune global database from which to detach the
|
6273
|
+
# specified Neptune DB cluster.
|
6274
|
+
#
|
6275
|
+
# @option params [required, String] :db_cluster_identifier
|
6276
|
+
# The Amazon Resource Name (ARN) identifying the cluster to be detached
|
6277
|
+
# from the Neptune global database cluster.
|
6278
|
+
#
|
6279
|
+
# @return [Types::RemoveFromGlobalClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6280
|
+
#
|
6281
|
+
# * {Types::RemoveFromGlobalClusterResult#global_cluster #global_cluster} => Types::GlobalCluster
|
6282
|
+
#
|
6283
|
+
# @example Request syntax with placeholder values
|
6284
|
+
#
|
6285
|
+
# resp = client.remove_from_global_cluster({
|
6286
|
+
# global_cluster_identifier: "GlobalClusterIdentifier", # required
|
6287
|
+
# db_cluster_identifier: "String", # required
|
6288
|
+
# })
|
6289
|
+
#
|
6290
|
+
# @example Response structure
|
6291
|
+
#
|
6292
|
+
# resp.global_cluster.global_cluster_identifier #=> String
|
6293
|
+
# resp.global_cluster.global_cluster_resource_id #=> String
|
6294
|
+
# resp.global_cluster.global_cluster_arn #=> String
|
6295
|
+
# resp.global_cluster.status #=> String
|
6296
|
+
# resp.global_cluster.engine #=> String
|
6297
|
+
# resp.global_cluster.engine_version #=> String
|
6298
|
+
# resp.global_cluster.storage_encrypted #=> Boolean
|
6299
|
+
# resp.global_cluster.deletion_protection #=> Boolean
|
6300
|
+
# resp.global_cluster.global_cluster_members #=> Array
|
6301
|
+
# resp.global_cluster.global_cluster_members[0].db_cluster_arn #=> String
|
6302
|
+
# resp.global_cluster.global_cluster_members[0].readers #=> Array
|
6303
|
+
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
6304
|
+
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
6305
|
+
#
|
6306
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RemoveFromGlobalCluster AWS API Documentation
|
6307
|
+
#
|
6308
|
+
# @overload remove_from_global_cluster(params = {})
|
6309
|
+
# @param [Hash] params ({})
|
6310
|
+
def remove_from_global_cluster(params = {}, options = {})
|
6311
|
+
req = build_request(:remove_from_global_cluster, params)
|
6312
|
+
req.send_request(options)
|
6313
|
+
end
|
6314
|
+
|
5918
6315
|
# Disassociates an Identity and Access Management (IAM) role from a DB
|
5919
6316
|
# cluster.
|
5920
6317
|
#
|
@@ -6829,7 +7226,7 @@ module Aws::Neptune
|
|
6829
7226
|
params: params,
|
6830
7227
|
config: config)
|
6831
7228
|
context[:gem_name] = 'aws-sdk-neptune'
|
6832
|
-
context[:gem_version] = '1.
|
7229
|
+
context[:gem_version] = '1.46.0'
|
6833
7230
|
Seahorse::Client::Request.new(handlers, context)
|
6834
7231
|
end
|
6835
7232
|
|