aws-sdk-neptune 1.45.0 → 1.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-neptune/client.rb +417 -3
- data/lib/aws-sdk-neptune/client_api.rb +172 -0
- data/lib/aws-sdk-neptune/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-neptune/endpoint_provider.rb +137 -0
- data/lib/aws-sdk-neptune/endpoints.rb +981 -0
- data/lib/aws-sdk-neptune/errors.rb +44 -0
- data/lib/aws-sdk-neptune/plugins/cross_region_copying.rb +12 -11
- data/lib/aws-sdk-neptune/plugins/endpoints.rb +206 -0
- data/lib/aws-sdk-neptune/types.rb +510 -5
- data/lib/aws-sdk-neptune.rb +5 -1
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f9ff118e5ea9f60da132fb5e7290e0e9b1357d94230e5348f3c9eaf666963c8
|
4
|
+
data.tar.gz: 8f8bf63d17c75a7acc4cb3fc9042b1a6f39f39de8abdacc45ac10ebd8c1defac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 130e9c831814e5380418f673a4afb8e7100c2cf2a351ac6104eaf315e54767948d9293bfda8ad607dd94da2863786fddfb6b668298fd4b1896d36365adb4894b
|
7
|
+
data.tar.gz: 7fcb09392c84e95634be3216399fc34fc6b69c724fb64af337e4832dfb72412f0c51499c86d9314bf63457de77baf466513bd72aa0938f75295627e00ccbbeaa
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.47.0 (2022-10-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.46.0 (2022-06-08)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
4
14
|
1.45.0 (2022-02-24)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.47.0
|
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
|
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
|
-
require 'aws-sdk-core/plugins/
|
33
|
+
require 'aws-sdk-core/plugins/sign.rb'
|
34
34
|
require 'aws-sdk-core/plugins/protocols/query.rb'
|
35
35
|
require 'aws-sdk-neptune/plugins/cross_region_copying.rb'
|
36
36
|
|
@@ -80,9 +80,10 @@ module Aws::Neptune
|
|
80
80
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
81
81
|
add_plugin(Aws::Plugins::DefaultsMode)
|
82
82
|
add_plugin(Aws::Plugins::RecursionDetection)
|
83
|
-
add_plugin(Aws::Plugins::
|
83
|
+
add_plugin(Aws::Plugins::Sign)
|
84
84
|
add_plugin(Aws::Plugins::Protocols::Query)
|
85
85
|
add_plugin(Aws::Neptune::Plugins::CrossRegionCopying)
|
86
|
+
add_plugin(Aws::Neptune::Plugins::Endpoints)
|
86
87
|
|
87
88
|
# @overload initialize(options)
|
88
89
|
# @param [Hash] options
|
@@ -289,6 +290,19 @@ module Aws::Neptune
|
|
289
290
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
290
291
|
# requests are made, and retries are disabled.
|
291
292
|
#
|
293
|
+
# @option options [Aws::TokenProvider] :token_provider
|
294
|
+
# A Bearer Token Provider. This can be an instance of any one of the
|
295
|
+
# following classes:
|
296
|
+
#
|
297
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
298
|
+
# tokens.
|
299
|
+
#
|
300
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
301
|
+
# access token generated from `aws login`.
|
302
|
+
#
|
303
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
304
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
305
|
+
#
|
292
306
|
# @option options [Boolean] :use_dualstack_endpoint
|
293
307
|
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
294
308
|
# will be used if available.
|
@@ -302,6 +316,9 @@ module Aws::Neptune
|
|
302
316
|
# When `true`, request parameters are validated before
|
303
317
|
# sending the request.
|
304
318
|
#
|
319
|
+
# @option options [Aws::Neptune::EndpointProvider] :endpoint_provider
|
320
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Neptune::EndpointParameters`
|
321
|
+
#
|
305
322
|
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
306
323
|
# requests through. Formatted like 'http://proxy.com:123'.
|
307
324
|
#
|
@@ -1027,6 +1044,10 @@ module Aws::Neptune
|
|
1027
1044
|
# enabled. The database can't be deleted when deletion protection is
|
1028
1045
|
# enabled. By default, deletion protection is enabled.
|
1029
1046
|
#
|
1047
|
+
# @option params [String] :global_cluster_identifier
|
1048
|
+
# The ID of the Neptune global database to which this new DB cluster
|
1049
|
+
# should be added.
|
1050
|
+
#
|
1030
1051
|
# @option params [String] :source_region
|
1031
1052
|
# The source region of the snapshot. This is only needed when the
|
1032
1053
|
# shapshot is encrypted and in a different region.
|
@@ -1068,6 +1089,7 @@ module Aws::Neptune
|
|
1068
1089
|
# enable_iam_database_authentication: false,
|
1069
1090
|
# enable_cloudwatch_logs_exports: ["String"],
|
1070
1091
|
# deletion_protection: false,
|
1092
|
+
# global_cluster_identifier: "GlobalClusterIdentifier",
|
1071
1093
|
# source_region: "String",
|
1072
1094
|
# })
|
1073
1095
|
#
|
@@ -2099,6 +2121,81 @@ module Aws::Neptune
|
|
2099
2121
|
req.send_request(options)
|
2100
2122
|
end
|
2101
2123
|
|
2124
|
+
# Creates a Neptune global database spread across multiple Amazon
|
2125
|
+
# Regions. The global database contains a single primary cluster with
|
2126
|
+
# read-write capability, and read-only secondary clusters that receive
|
2127
|
+
# data from the primary cluster through high-speed replication performed
|
2128
|
+
# by the Neptune storage subsystem.
|
2129
|
+
#
|
2130
|
+
# You can create a global database that is initially empty, and then add
|
2131
|
+
# a primary cluster and secondary clusters to it, or you can specify an
|
2132
|
+
# existing Neptune cluster during the create operation to become the
|
2133
|
+
# primary cluster of the global database.
|
2134
|
+
#
|
2135
|
+
# @option params [required, String] :global_cluster_identifier
|
2136
|
+
# The cluster identifier of the new global database cluster.
|
2137
|
+
#
|
2138
|
+
# @option params [String] :source_db_cluster_identifier
|
2139
|
+
# (*Optional*) The Amazon Resource Name (ARN) of an existing Neptune DB
|
2140
|
+
# cluster to use as the primary cluster of the new global database.
|
2141
|
+
#
|
2142
|
+
# @option params [String] :engine
|
2143
|
+
# The name of the database engine to be used in the global database.
|
2144
|
+
#
|
2145
|
+
# Valid values: `neptune`
|
2146
|
+
#
|
2147
|
+
# @option params [String] :engine_version
|
2148
|
+
# The Neptune engine version to be used by the global database.
|
2149
|
+
#
|
2150
|
+
# Valid values: `1.2.0.0` or above.
|
2151
|
+
#
|
2152
|
+
# @option params [Boolean] :deletion_protection
|
2153
|
+
# The deletion protection setting for the new global database. The
|
2154
|
+
# global database can't be deleted when deletion protection is enabled.
|
2155
|
+
#
|
2156
|
+
# @option params [Boolean] :storage_encrypted
|
2157
|
+
# The storage encryption setting for the new global database cluster.
|
2158
|
+
#
|
2159
|
+
# @return [Types::CreateGlobalClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2160
|
+
#
|
2161
|
+
# * {Types::CreateGlobalClusterResult#global_cluster #global_cluster} => Types::GlobalCluster
|
2162
|
+
#
|
2163
|
+
# @example Request syntax with placeholder values
|
2164
|
+
#
|
2165
|
+
# resp = client.create_global_cluster({
|
2166
|
+
# global_cluster_identifier: "GlobalClusterIdentifier", # required
|
2167
|
+
# source_db_cluster_identifier: "String",
|
2168
|
+
# engine: "String",
|
2169
|
+
# engine_version: "String",
|
2170
|
+
# deletion_protection: false,
|
2171
|
+
# storage_encrypted: false,
|
2172
|
+
# })
|
2173
|
+
#
|
2174
|
+
# @example Response structure
|
2175
|
+
#
|
2176
|
+
# resp.global_cluster.global_cluster_identifier #=> String
|
2177
|
+
# resp.global_cluster.global_cluster_resource_id #=> String
|
2178
|
+
# resp.global_cluster.global_cluster_arn #=> String
|
2179
|
+
# resp.global_cluster.status #=> String
|
2180
|
+
# resp.global_cluster.engine #=> String
|
2181
|
+
# resp.global_cluster.engine_version #=> String
|
2182
|
+
# resp.global_cluster.storage_encrypted #=> Boolean
|
2183
|
+
# resp.global_cluster.deletion_protection #=> Boolean
|
2184
|
+
# resp.global_cluster.global_cluster_members #=> Array
|
2185
|
+
# resp.global_cluster.global_cluster_members[0].db_cluster_arn #=> String
|
2186
|
+
# resp.global_cluster.global_cluster_members[0].readers #=> Array
|
2187
|
+
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
2188
|
+
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
2189
|
+
#
|
2190
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateGlobalCluster AWS API Documentation
|
2191
|
+
#
|
2192
|
+
# @overload create_global_cluster(params = {})
|
2193
|
+
# @param [Hash] params ({})
|
2194
|
+
def create_global_cluster(params = {}, options = {})
|
2195
|
+
req = build_request(:create_global_cluster, params)
|
2196
|
+
req.send_request(options)
|
2197
|
+
end
|
2198
|
+
|
2102
2199
|
# The DeleteDBCluster action deletes a previously provisioned DB
|
2103
2200
|
# cluster. When you delete a DB cluster, all automated backups for that
|
2104
2201
|
# DB cluster are deleted and can't be recovered. Manual DB cluster
|
@@ -2663,6 +2760,47 @@ module Aws::Neptune
|
|
2663
2760
|
req.send_request(options)
|
2664
2761
|
end
|
2665
2762
|
|
2763
|
+
# Deletes a global database. The primary and all secondary clusters must
|
2764
|
+
# already be detached or deleted first.
|
2765
|
+
#
|
2766
|
+
# @option params [required, String] :global_cluster_identifier
|
2767
|
+
# The cluster identifier of the global database cluster being deleted.
|
2768
|
+
#
|
2769
|
+
# @return [Types::DeleteGlobalClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2770
|
+
#
|
2771
|
+
# * {Types::DeleteGlobalClusterResult#global_cluster #global_cluster} => Types::GlobalCluster
|
2772
|
+
#
|
2773
|
+
# @example Request syntax with placeholder values
|
2774
|
+
#
|
2775
|
+
# resp = client.delete_global_cluster({
|
2776
|
+
# global_cluster_identifier: "GlobalClusterIdentifier", # required
|
2777
|
+
# })
|
2778
|
+
#
|
2779
|
+
# @example Response structure
|
2780
|
+
#
|
2781
|
+
# resp.global_cluster.global_cluster_identifier #=> String
|
2782
|
+
# resp.global_cluster.global_cluster_resource_id #=> String
|
2783
|
+
# resp.global_cluster.global_cluster_arn #=> String
|
2784
|
+
# resp.global_cluster.status #=> String
|
2785
|
+
# resp.global_cluster.engine #=> String
|
2786
|
+
# resp.global_cluster.engine_version #=> String
|
2787
|
+
# resp.global_cluster.storage_encrypted #=> Boolean
|
2788
|
+
# resp.global_cluster.deletion_protection #=> Boolean
|
2789
|
+
# resp.global_cluster.global_cluster_members #=> Array
|
2790
|
+
# resp.global_cluster.global_cluster_members[0].db_cluster_arn #=> String
|
2791
|
+
# resp.global_cluster.global_cluster_members[0].readers #=> Array
|
2792
|
+
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
2793
|
+
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
2794
|
+
#
|
2795
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteGlobalCluster AWS API Documentation
|
2796
|
+
#
|
2797
|
+
# @overload delete_global_cluster(params = {})
|
2798
|
+
# @param [Hash] params ({})
|
2799
|
+
def delete_global_cluster(params = {}, options = {})
|
2800
|
+
req = build_request(:delete_global_cluster, params)
|
2801
|
+
req.send_request(options)
|
2802
|
+
end
|
2803
|
+
|
2666
2804
|
# Returns information about endpoints for an Amazon Neptune DB cluster.
|
2667
2805
|
#
|
2668
2806
|
# <note markdown="1"> This operation can also return information for Amazon RDS clusters and
|
@@ -3348,12 +3486,14 @@ module Aws::Neptune
|
|
3348
3486
|
# resp.db_engine_versions[0].valid_upgrade_target[0].description #=> String
|
3349
3487
|
# resp.db_engine_versions[0].valid_upgrade_target[0].auto_upgrade #=> Boolean
|
3350
3488
|
# resp.db_engine_versions[0].valid_upgrade_target[0].is_major_version_upgrade #=> Boolean
|
3489
|
+
# resp.db_engine_versions[0].valid_upgrade_target[0].supports_global_databases #=> Boolean
|
3351
3490
|
# resp.db_engine_versions[0].supported_timezones #=> Array
|
3352
3491
|
# resp.db_engine_versions[0].supported_timezones[0].timezone_name #=> String
|
3353
3492
|
# resp.db_engine_versions[0].exportable_log_types #=> Array
|
3354
3493
|
# resp.db_engine_versions[0].exportable_log_types[0] #=> String
|
3355
3494
|
# resp.db_engine_versions[0].supports_log_exports_to_cloudwatch_logs #=> Boolean
|
3356
3495
|
# resp.db_engine_versions[0].supports_read_replica #=> Boolean
|
3496
|
+
# resp.db_engine_versions[0].supports_global_databases #=> Boolean
|
3357
3497
|
#
|
3358
3498
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBEngineVersions AWS API Documentation
|
3359
3499
|
#
|
@@ -4174,6 +4314,73 @@ module Aws::Neptune
|
|
4174
4314
|
req.send_request(options)
|
4175
4315
|
end
|
4176
4316
|
|
4317
|
+
# Returns information about Neptune global database clusters. This API
|
4318
|
+
# supports pagination.
|
4319
|
+
#
|
4320
|
+
# @option params [String] :global_cluster_identifier
|
4321
|
+
# The user-supplied DB cluster identifier. If this parameter is
|
4322
|
+
# specified, only information about the specified DB cluster is
|
4323
|
+
# returned. This parameter is not case-sensitive.
|
4324
|
+
#
|
4325
|
+
# Constraints: If supplied, must match an existing DB cluster
|
4326
|
+
# identifier.
|
4327
|
+
#
|
4328
|
+
# @option params [Integer] :max_records
|
4329
|
+
# The maximum number of records to include in the response. If more
|
4330
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
4331
|
+
# marker token is included in the response that you can use to retrieve
|
4332
|
+
# the remaining results.
|
4333
|
+
#
|
4334
|
+
# Default: `100`
|
4335
|
+
#
|
4336
|
+
# Constraints: Minimum 20, maximum 100.
|
4337
|
+
#
|
4338
|
+
# @option params [String] :marker
|
4339
|
+
# (*Optional*) A pagination token returned by a previous call to
|
4340
|
+
# `DescribeGlobalClusters`. If this parameter is specified, the response
|
4341
|
+
# will only include records beyond the marker, up to the number
|
4342
|
+
# specified by `MaxRecords`.
|
4343
|
+
#
|
4344
|
+
# @return [Types::GlobalClustersMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4345
|
+
#
|
4346
|
+
# * {Types::GlobalClustersMessage#marker #marker} => String
|
4347
|
+
# * {Types::GlobalClustersMessage#global_clusters #global_clusters} => Array<Types::GlobalCluster>
|
4348
|
+
#
|
4349
|
+
# @example Request syntax with placeholder values
|
4350
|
+
#
|
4351
|
+
# resp = client.describe_global_clusters({
|
4352
|
+
# global_cluster_identifier: "GlobalClusterIdentifier",
|
4353
|
+
# max_records: 1,
|
4354
|
+
# marker: "String",
|
4355
|
+
# })
|
4356
|
+
#
|
4357
|
+
# @example Response structure
|
4358
|
+
#
|
4359
|
+
# resp.marker #=> String
|
4360
|
+
# resp.global_clusters #=> Array
|
4361
|
+
# resp.global_clusters[0].global_cluster_identifier #=> String
|
4362
|
+
# resp.global_clusters[0].global_cluster_resource_id #=> String
|
4363
|
+
# resp.global_clusters[0].global_cluster_arn #=> String
|
4364
|
+
# resp.global_clusters[0].status #=> String
|
4365
|
+
# resp.global_clusters[0].engine #=> String
|
4366
|
+
# resp.global_clusters[0].engine_version #=> String
|
4367
|
+
# resp.global_clusters[0].storage_encrypted #=> Boolean
|
4368
|
+
# resp.global_clusters[0].deletion_protection #=> Boolean
|
4369
|
+
# resp.global_clusters[0].global_cluster_members #=> Array
|
4370
|
+
# resp.global_clusters[0].global_cluster_members[0].db_cluster_arn #=> String
|
4371
|
+
# resp.global_clusters[0].global_cluster_members[0].readers #=> Array
|
4372
|
+
# resp.global_clusters[0].global_cluster_members[0].readers[0] #=> String
|
4373
|
+
# resp.global_clusters[0].global_cluster_members[0].is_writer #=> Boolean
|
4374
|
+
#
|
4375
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeGlobalClusters AWS API Documentation
|
4376
|
+
#
|
4377
|
+
# @overload describe_global_clusters(params = {})
|
4378
|
+
# @param [Hash] params ({})
|
4379
|
+
def describe_global_clusters(params = {}, options = {})
|
4380
|
+
req = build_request(:describe_global_clusters, params)
|
4381
|
+
req.send_request(options)
|
4382
|
+
end
|
4383
|
+
|
4177
4384
|
# Returns a list of orderable DB instance options for the specified
|
4178
4385
|
# engine.
|
4179
4386
|
#
|
@@ -4264,6 +4471,7 @@ module Aws::Neptune
|
|
4264
4471
|
# resp.orderable_db_instance_options[0].max_iops_per_db_instance #=> Integer
|
4265
4472
|
# resp.orderable_db_instance_options[0].min_iops_per_gib #=> Float
|
4266
4473
|
# resp.orderable_db_instance_options[0].max_iops_per_gib #=> Float
|
4474
|
+
# resp.orderable_db_instance_options[0].supports_global_databases #=> Boolean
|
4267
4475
|
# resp.marker #=> String
|
4268
4476
|
#
|
4269
4477
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeOrderableDBInstanceOptions AWS API Documentation
|
@@ -4503,6 +4711,73 @@ module Aws::Neptune
|
|
4503
4711
|
req.send_request(options)
|
4504
4712
|
end
|
4505
4713
|
|
4714
|
+
# Initiates the failover process for a Neptune global database.
|
4715
|
+
#
|
4716
|
+
# A failover for a Neptune global database promotes one of secondary
|
4717
|
+
# read-only DB clusters to be the primary DB cluster and demotes the
|
4718
|
+
# primary DB cluster to being a secondary (read-only) DB cluster. In
|
4719
|
+
# other words, the role of the current primary DB cluster and the
|
4720
|
+
# selected target secondary DB cluster are switched. The selected
|
4721
|
+
# secondary DB cluster assumes full read/write capabilities for the
|
4722
|
+
# Neptune global database.
|
4723
|
+
#
|
4724
|
+
# <note markdown="1"> This action applies **only** to Neptune global databases. This action
|
4725
|
+
# is only intended for use on healthy Neptune global databases with
|
4726
|
+
# healthy Neptune DB clusters and no region-wide outages, to test
|
4727
|
+
# disaster recovery scenarios or to reconfigure the global database
|
4728
|
+
# topology.
|
4729
|
+
#
|
4730
|
+
# </note>
|
4731
|
+
#
|
4732
|
+
# @option params [required, String] :global_cluster_identifier
|
4733
|
+
# Identifier of the Neptune global database that should be failed over.
|
4734
|
+
# The identifier is the unique key assigned by the user when the Neptune
|
4735
|
+
# global database was created. In other words, it's the name of the
|
4736
|
+
# global database that you want to fail over.
|
4737
|
+
#
|
4738
|
+
# Constraints: Must match the identifier of an existing Neptune global
|
4739
|
+
# database.
|
4740
|
+
#
|
4741
|
+
# @option params [required, String] :target_db_cluster_identifier
|
4742
|
+
# The Amazon Resource Name (ARN) of the secondary Neptune DB cluster
|
4743
|
+
# that you want to promote to primary for the global database.
|
4744
|
+
#
|
4745
|
+
# @return [Types::FailoverGlobalClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4746
|
+
#
|
4747
|
+
# * {Types::FailoverGlobalClusterResult#global_cluster #global_cluster} => Types::GlobalCluster
|
4748
|
+
#
|
4749
|
+
# @example Request syntax with placeholder values
|
4750
|
+
#
|
4751
|
+
# resp = client.failover_global_cluster({
|
4752
|
+
# global_cluster_identifier: "GlobalClusterIdentifier", # required
|
4753
|
+
# target_db_cluster_identifier: "String", # required
|
4754
|
+
# })
|
4755
|
+
#
|
4756
|
+
# @example Response structure
|
4757
|
+
#
|
4758
|
+
# resp.global_cluster.global_cluster_identifier #=> String
|
4759
|
+
# resp.global_cluster.global_cluster_resource_id #=> String
|
4760
|
+
# resp.global_cluster.global_cluster_arn #=> String
|
4761
|
+
# resp.global_cluster.status #=> String
|
4762
|
+
# resp.global_cluster.engine #=> String
|
4763
|
+
# resp.global_cluster.engine_version #=> String
|
4764
|
+
# resp.global_cluster.storage_encrypted #=> Boolean
|
4765
|
+
# resp.global_cluster.deletion_protection #=> Boolean
|
4766
|
+
# resp.global_cluster.global_cluster_members #=> Array
|
4767
|
+
# resp.global_cluster.global_cluster_members[0].db_cluster_arn #=> String
|
4768
|
+
# resp.global_cluster.global_cluster_members[0].readers #=> Array
|
4769
|
+
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
4770
|
+
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
4771
|
+
#
|
4772
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/FailoverGlobalCluster AWS API Documentation
|
4773
|
+
#
|
4774
|
+
# @overload failover_global_cluster(params = {})
|
4775
|
+
# @param [Hash] params ({})
|
4776
|
+
def failover_global_cluster(params = {}, options = {})
|
4777
|
+
req = build_request(:failover_global_cluster, params)
|
4778
|
+
req.send_request(options)
|
4779
|
+
end
|
4780
|
+
|
4506
4781
|
# Lists all tags on an Amazon Neptune resource.
|
4507
4782
|
#
|
4508
4783
|
# @option params [required, String] :resource_name
|
@@ -5688,6 +5963,96 @@ module Aws::Neptune
|
|
5688
5963
|
req.send_request(options)
|
5689
5964
|
end
|
5690
5965
|
|
5966
|
+
# Modify a setting for an Amazon Neptune global cluster. You can change
|
5967
|
+
# one or more database configuration parameters by specifying these
|
5968
|
+
# parameters and their new values in the request.
|
5969
|
+
#
|
5970
|
+
# @option params [required, String] :global_cluster_identifier
|
5971
|
+
# The DB cluster identifier for the global cluster being modified. This
|
5972
|
+
# parameter is not case-sensitive.
|
5973
|
+
#
|
5974
|
+
# Constraints: Must match the identifier of an existing global database
|
5975
|
+
# cluster.
|
5976
|
+
#
|
5977
|
+
# @option params [String] :new_global_cluster_identifier
|
5978
|
+
# A new cluster identifier to assign to the global database. This value
|
5979
|
+
# is stored as a lowercase string.
|
5980
|
+
#
|
5981
|
+
# Constraints:
|
5982
|
+
#
|
5983
|
+
# * Must contain from 1 to 63 letters, numbers, or hyphens.
|
5984
|
+
#
|
5985
|
+
# * The first character must be a letter.
|
5986
|
+
#
|
5987
|
+
# * Can't end with a hyphen or contain two consecutive hyphens
|
5988
|
+
#
|
5989
|
+
# Example: `my-cluster2`
|
5990
|
+
#
|
5991
|
+
# @option params [Boolean] :deletion_protection
|
5992
|
+
# Indicates whether the global database has deletion protection enabled.
|
5993
|
+
# The global database cannot be deleted when deletion protection is
|
5994
|
+
# enabled.
|
5995
|
+
#
|
5996
|
+
# @option params [String] :engine_version
|
5997
|
+
# The version number of the database engine to which you want to
|
5998
|
+
# upgrade. Changing this parameter will result in an outage. The change
|
5999
|
+
# is applied during the next maintenance window unless
|
6000
|
+
# `ApplyImmediately` is enabled.
|
6001
|
+
#
|
6002
|
+
# To list all of the available Neptune engine versions, use the
|
6003
|
+
# following command:
|
6004
|
+
#
|
6005
|
+
# @option params [Boolean] :allow_major_version_upgrade
|
6006
|
+
# A value that indicates whether major version upgrades are allowed.
|
6007
|
+
#
|
6008
|
+
# Constraints: You must allow major version upgrades if you specify a
|
6009
|
+
# value for the `EngineVersion` parameter that is a different major
|
6010
|
+
# version than the DB cluster's current version.
|
6011
|
+
#
|
6012
|
+
# If you upgrade the major version of a global database, the cluster and
|
6013
|
+
# DB instance parameter groups are set to the default parameter groups
|
6014
|
+
# for the new version, so you will need to apply any custom parameter
|
6015
|
+
# groups after completing the upgrade.
|
6016
|
+
#
|
6017
|
+
# @return [Types::ModifyGlobalClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6018
|
+
#
|
6019
|
+
# * {Types::ModifyGlobalClusterResult#global_cluster #global_cluster} => Types::GlobalCluster
|
6020
|
+
#
|
6021
|
+
# @example Request syntax with placeholder values
|
6022
|
+
#
|
6023
|
+
# resp = client.modify_global_cluster({
|
6024
|
+
# global_cluster_identifier: "GlobalClusterIdentifier", # required
|
6025
|
+
# new_global_cluster_identifier: "GlobalClusterIdentifier",
|
6026
|
+
# deletion_protection: false,
|
6027
|
+
# engine_version: "String",
|
6028
|
+
# allow_major_version_upgrade: false,
|
6029
|
+
# })
|
6030
|
+
#
|
6031
|
+
# @example Response structure
|
6032
|
+
#
|
6033
|
+
# resp.global_cluster.global_cluster_identifier #=> String
|
6034
|
+
# resp.global_cluster.global_cluster_resource_id #=> String
|
6035
|
+
# resp.global_cluster.global_cluster_arn #=> String
|
6036
|
+
# resp.global_cluster.status #=> String
|
6037
|
+
# resp.global_cluster.engine #=> String
|
6038
|
+
# resp.global_cluster.engine_version #=> String
|
6039
|
+
# resp.global_cluster.storage_encrypted #=> Boolean
|
6040
|
+
# resp.global_cluster.deletion_protection #=> Boolean
|
6041
|
+
# resp.global_cluster.global_cluster_members #=> Array
|
6042
|
+
# resp.global_cluster.global_cluster_members[0].db_cluster_arn #=> String
|
6043
|
+
# resp.global_cluster.global_cluster_members[0].readers #=> Array
|
6044
|
+
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
6045
|
+
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
6046
|
+
#
|
6047
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyGlobalCluster AWS API Documentation
|
6048
|
+
#
|
6049
|
+
# @overload modify_global_cluster(params = {})
|
6050
|
+
# @param [Hash] params ({})
|
6051
|
+
def modify_global_cluster(params = {}, options = {})
|
6052
|
+
req = build_request(:modify_global_cluster, params)
|
6053
|
+
req.send_request(options)
|
6054
|
+
end
|
6055
|
+
|
5691
6056
|
# Not supported.
|
5692
6057
|
#
|
5693
6058
|
# @option params [required, String] :db_cluster_identifier
|
@@ -5915,6 +6280,55 @@ module Aws::Neptune
|
|
5915
6280
|
req.send_request(options)
|
5916
6281
|
end
|
5917
6282
|
|
6283
|
+
# Detaches a Neptune DB cluster from a Neptune global database. A
|
6284
|
+
# secondary cluster becomes a normal standalone cluster with read-write
|
6285
|
+
# capability instead of being read-only, and no longer receives data
|
6286
|
+
# from a the primary cluster.
|
6287
|
+
#
|
6288
|
+
# @option params [required, String] :global_cluster_identifier
|
6289
|
+
# The identifier of the Neptune global database from which to detach the
|
6290
|
+
# specified Neptune DB cluster.
|
6291
|
+
#
|
6292
|
+
# @option params [required, String] :db_cluster_identifier
|
6293
|
+
# The Amazon Resource Name (ARN) identifying the cluster to be detached
|
6294
|
+
# from the Neptune global database cluster.
|
6295
|
+
#
|
6296
|
+
# @return [Types::RemoveFromGlobalClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6297
|
+
#
|
6298
|
+
# * {Types::RemoveFromGlobalClusterResult#global_cluster #global_cluster} => Types::GlobalCluster
|
6299
|
+
#
|
6300
|
+
# @example Request syntax with placeholder values
|
6301
|
+
#
|
6302
|
+
# resp = client.remove_from_global_cluster({
|
6303
|
+
# global_cluster_identifier: "GlobalClusterIdentifier", # required
|
6304
|
+
# db_cluster_identifier: "String", # required
|
6305
|
+
# })
|
6306
|
+
#
|
6307
|
+
# @example Response structure
|
6308
|
+
#
|
6309
|
+
# resp.global_cluster.global_cluster_identifier #=> String
|
6310
|
+
# resp.global_cluster.global_cluster_resource_id #=> String
|
6311
|
+
# resp.global_cluster.global_cluster_arn #=> String
|
6312
|
+
# resp.global_cluster.status #=> String
|
6313
|
+
# resp.global_cluster.engine #=> String
|
6314
|
+
# resp.global_cluster.engine_version #=> String
|
6315
|
+
# resp.global_cluster.storage_encrypted #=> Boolean
|
6316
|
+
# resp.global_cluster.deletion_protection #=> Boolean
|
6317
|
+
# resp.global_cluster.global_cluster_members #=> Array
|
6318
|
+
# resp.global_cluster.global_cluster_members[0].db_cluster_arn #=> String
|
6319
|
+
# resp.global_cluster.global_cluster_members[0].readers #=> Array
|
6320
|
+
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
6321
|
+
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
6322
|
+
#
|
6323
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RemoveFromGlobalCluster AWS API Documentation
|
6324
|
+
#
|
6325
|
+
# @overload remove_from_global_cluster(params = {})
|
6326
|
+
# @param [Hash] params ({})
|
6327
|
+
def remove_from_global_cluster(params = {}, options = {})
|
6328
|
+
req = build_request(:remove_from_global_cluster, params)
|
6329
|
+
req.send_request(options)
|
6330
|
+
end
|
6331
|
+
|
5918
6332
|
# Disassociates an Identity and Access Management (IAM) role from a DB
|
5919
6333
|
# cluster.
|
5920
6334
|
#
|
@@ -6829,7 +7243,7 @@ module Aws::Neptune
|
|
6829
7243
|
params: params,
|
6830
7244
|
config: config)
|
6831
7245
|
context[:gem_name] = 'aws-sdk-neptune'
|
6832
|
-
context[:gem_version] = '1.
|
7246
|
+
context[:gem_version] = '1.47.0'
|
6833
7247
|
Seahorse::Client::Request.new(handlers, context)
|
6834
7248
|
end
|
6835
7249
|
|