aws-sdk-neptune 1.84.0 → 1.85.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-neptune/client.rb +141 -22
- data/lib/aws-sdk-neptune/client_api.rb +32 -0
- data/lib/aws-sdk-neptune/types.rb +209 -41
- data/lib/aws-sdk-neptune.rb +1 -1
- data/sig/client.rbs +14 -1
- data/sig/types.rbs +22 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6bacaad6b935d197dcf24115f2ce47c0318a3b766f4a5f38527adc1889f44578
|
4
|
+
data.tar.gz: e3443e6d1cb1ab8f15c5cc5c03459a2c035044c4a066e1557dd278b56bd09f6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4dab8812e5c0bdd2bfc73ab064fed223f3c483cab26ebdb818402ec6228057262723c094ddc1ac13db69eff922feae559b839b15354c623406760116688fe504
|
7
|
+
data.tar.gz: 1fad5b54f266ad7d1663287587ae62912c188b7ab0f1f3a868181c30a7100935b1bbf028e6f77ce24dd717b43256b8b0ef986c331765482590dc0fdf161d31de
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.85.0 (2025-05-16)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds Global Cluster Switchover capability which enables you to change your global cluster's primary AWS Region, the region that serves writes, while preserving the replication between all regions in the global cluster.
|
8
|
+
|
4
9
|
1.84.0 (2025-05-12)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.85.0
|
@@ -1028,7 +1028,7 @@ module Aws::Neptune
|
|
1028
1028
|
# The version number of the database engine to use for the new DB
|
1029
1029
|
# cluster.
|
1030
1030
|
#
|
1031
|
-
# Example: `1.
|
1031
|
+
# Example: `1.2.1.0`
|
1032
1032
|
#
|
1033
1033
|
# @option params [Integer] :port
|
1034
1034
|
# The port number on which the instances in the DB cluster accept
|
@@ -1167,25 +1167,26 @@ module Aws::Neptune
|
|
1167
1167
|
# should be added.
|
1168
1168
|
#
|
1169
1169
|
# @option params [String] :storage_type
|
1170
|
-
# The storage type
|
1170
|
+
# The storage type for the new DB cluster.
|
1171
1171
|
#
|
1172
1172
|
# Valid Values:
|
1173
1173
|
#
|
1174
|
-
# *
|
1175
|
-
#
|
1176
|
-
#
|
1174
|
+
# * <b> <code>standard</code> </b> – ( *the default* ) Configures
|
1175
|
+
# cost-effective database storage for applications with moderate to
|
1176
|
+
# small I/O usage. When set to `standard`, the storage type is not
|
1177
|
+
# returned in the response.
|
1177
1178
|
#
|
1178
|
-
#
|
1179
|
+
# * <b> <code>iopt1</code> </b> – Enables [I/O-Optimized storage][1]
|
1180
|
+
# that's designed to meet the needs of I/O-intensive graph workloads
|
1181
|
+
# that require predictable pricing with low I/O latency and consistent
|
1182
|
+
# I/O throughput.
|
1179
1183
|
#
|
1180
|
-
#
|
1184
|
+
# Neptune I/O-Optimized storage is only available starting with engine
|
1185
|
+
# release 1.3.0.0.
|
1181
1186
|
#
|
1182
|
-
# ^
|
1183
1187
|
#
|
1184
|
-
# <note markdown="1"> When you create a Neptune cluster with the storage type set to
|
1185
|
-
# `iopt1`, the storage type is returned in the response. The storage
|
1186
|
-
# type isn't returned when you set it to `standard`.
|
1187
1188
|
#
|
1188
|
-
#
|
1189
|
+
# [1]: https://docs.aws.amazon.com/neptune/latest/userguide/storage-types.html#provisioned-iops-storage
|
1189
1190
|
#
|
1190
1191
|
# @option params [String] :source_region
|
1191
1192
|
# The source region of the snapshot. This is only needed when the
|
@@ -1744,9 +1745,8 @@ module Aws::Neptune
|
|
1744
1745
|
# Type: String
|
1745
1746
|
#
|
1746
1747
|
# @option params [String] :storage_type
|
1747
|
-
#
|
1748
|
-
#
|
1749
|
-
# Not applicable. Storage is managed by the DB Cluster.
|
1748
|
+
# Not applicable. In Neptune the storage type is managed at the DB
|
1749
|
+
# Cluster level.
|
1750
1750
|
#
|
1751
1751
|
# @option params [String] :tde_credential_arn
|
1752
1752
|
# The ARN from the key store with which to associate the instance for
|
@@ -2347,6 +2347,10 @@ module Aws::Neptune
|
|
2347
2347
|
# resp.global_cluster.global_cluster_members[0].readers #=> Array
|
2348
2348
|
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
2349
2349
|
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
2350
|
+
# resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
|
2351
|
+
# resp.global_cluster.failover_state.from_db_cluster_arn #=> String
|
2352
|
+
# resp.global_cluster.failover_state.to_db_cluster_arn #=> String
|
2353
|
+
# resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
|
2350
2354
|
#
|
2351
2355
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateGlobalCluster AWS API Documentation
|
2352
2356
|
#
|
@@ -2969,6 +2973,10 @@ module Aws::Neptune
|
|
2969
2973
|
# resp.global_cluster.global_cluster_members[0].readers #=> Array
|
2970
2974
|
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
2971
2975
|
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
2976
|
+
# resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
|
2977
|
+
# resp.global_cluster.failover_state.from_db_cluster_arn #=> String
|
2978
|
+
# resp.global_cluster.failover_state.to_db_cluster_arn #=> String
|
2979
|
+
# resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
|
2972
2980
|
#
|
2973
2981
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteGlobalCluster AWS API Documentation
|
2974
2982
|
#
|
@@ -4568,6 +4576,10 @@ module Aws::Neptune
|
|
4568
4576
|
# resp.global_clusters[0].global_cluster_members[0].readers #=> Array
|
4569
4577
|
# resp.global_clusters[0].global_cluster_members[0].readers[0] #=> String
|
4570
4578
|
# resp.global_clusters[0].global_cluster_members[0].is_writer #=> Boolean
|
4579
|
+
# resp.global_clusters[0].failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
|
4580
|
+
# resp.global_clusters[0].failover_state.from_db_cluster_arn #=> String
|
4581
|
+
# resp.global_clusters[0].failover_state.to_db_cluster_arn #=> String
|
4582
|
+
# resp.global_clusters[0].failover_state.is_data_loss_allowed #=> Boolean
|
4571
4583
|
#
|
4572
4584
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeGlobalClusters AWS API Documentation
|
4573
4585
|
#
|
@@ -4955,6 +4967,22 @@ module Aws::Neptune
|
|
4955
4967
|
# The Amazon Resource Name (ARN) of the secondary Neptune DB cluster
|
4956
4968
|
# that you want to promote to primary for the global database.
|
4957
4969
|
#
|
4970
|
+
# @option params [Boolean] :allow_data_loss
|
4971
|
+
# Specifies whether to allow data loss for this global database cluster
|
4972
|
+
# operation. Allowing data loss triggers a global failover operation.
|
4973
|
+
#
|
4974
|
+
# If you don't specify `AllowDataLoss`, the global database cluster
|
4975
|
+
# operation defaults to a switchover.
|
4976
|
+
#
|
4977
|
+
# Constraints:Can't be specified together with the `Switchover`
|
4978
|
+
# parameter.
|
4979
|
+
#
|
4980
|
+
# @option params [Boolean] :switchover
|
4981
|
+
# Specifies whether to switch over this global database cluster.
|
4982
|
+
#
|
4983
|
+
# Constraints:Can't be specified together with the `AllowDataLoss`
|
4984
|
+
# parameter.
|
4985
|
+
#
|
4958
4986
|
# @return [Types::FailoverGlobalClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4959
4987
|
#
|
4960
4988
|
# * {Types::FailoverGlobalClusterResult#global_cluster #global_cluster} => Types::GlobalCluster
|
@@ -4964,6 +4992,8 @@ module Aws::Neptune
|
|
4964
4992
|
# resp = client.failover_global_cluster({
|
4965
4993
|
# global_cluster_identifier: "GlobalClusterIdentifier", # required
|
4966
4994
|
# target_db_cluster_identifier: "String", # required
|
4995
|
+
# allow_data_loss: false,
|
4996
|
+
# switchover: false,
|
4967
4997
|
# })
|
4968
4998
|
#
|
4969
4999
|
# @example Response structure
|
@@ -4981,6 +5011,10 @@ module Aws::Neptune
|
|
4981
5011
|
# resp.global_cluster.global_cluster_members[0].readers #=> Array
|
4982
5012
|
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
4983
5013
|
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
5014
|
+
# resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
|
5015
|
+
# resp.global_cluster.failover_state.from_db_cluster_arn #=> String
|
5016
|
+
# resp.global_cluster.failover_state.to_db_cluster_arn #=> String
|
5017
|
+
# resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
|
4984
5018
|
#
|
4985
5019
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/FailoverGlobalCluster AWS API Documentation
|
4986
5020
|
#
|
@@ -5222,15 +5256,21 @@ module Aws::Neptune
|
|
5222
5256
|
#
|
5223
5257
|
# Valid Values:
|
5224
5258
|
#
|
5225
|
-
# *
|
5259
|
+
# * <b> <code>standard</code> </b> – ( *the default* ) Configures
|
5260
|
+
# cost-effective database storage for applications with moderate to
|
5261
|
+
# small I/O usage.
|
5226
5262
|
#
|
5227
|
-
#
|
5263
|
+
# * <b> <code>iopt1</code> </b> – Enables [I/O-Optimized storage][1]
|
5264
|
+
# that's designed to meet the needs of I/O-intensive graph workloads
|
5265
|
+
# that require predictable pricing with low I/O latency and consistent
|
5266
|
+
# I/O throughput.
|
5228
5267
|
#
|
5229
|
-
#
|
5268
|
+
# Neptune I/O-Optimized storage is only available starting with engine
|
5269
|
+
# release 1.3.0.0.
|
5230
5270
|
#
|
5231
|
-
# * `standard`
|
5232
5271
|
#
|
5233
|
-
#
|
5272
|
+
#
|
5273
|
+
# [1]: https://docs.aws.amazon.com/neptune/latest/userguide/storage-types.html#provisioned-iops-storage
|
5234
5274
|
#
|
5235
5275
|
# @return [Types::ModifyDBClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5236
5276
|
#
|
@@ -5761,7 +5801,8 @@ module Aws::Neptune
|
|
5761
5801
|
# Example: `mydbinstance`
|
5762
5802
|
#
|
5763
5803
|
# @option params [String] :storage_type
|
5764
|
-
# Not
|
5804
|
+
# Not applicable. In Neptune the storage type is managed at the DB
|
5805
|
+
# Cluster level.
|
5765
5806
|
#
|
5766
5807
|
# @option params [String] :tde_credential_arn
|
5767
5808
|
# The ARN from the key store with which to associate the instance for
|
@@ -6306,6 +6347,10 @@ module Aws::Neptune
|
|
6306
6347
|
# resp.global_cluster.global_cluster_members[0].readers #=> Array
|
6307
6348
|
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
6308
6349
|
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
6350
|
+
# resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
|
6351
|
+
# resp.global_cluster.failover_state.from_db_cluster_arn #=> String
|
6352
|
+
# resp.global_cluster.failover_state.to_db_cluster_arn #=> String
|
6353
|
+
# resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
|
6309
6354
|
#
|
6310
6355
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyGlobalCluster AWS API Documentation
|
6311
6356
|
#
|
@@ -6598,6 +6643,10 @@ module Aws::Neptune
|
|
6598
6643
|
# resp.global_cluster.global_cluster_members[0].readers #=> Array
|
6599
6644
|
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
6600
6645
|
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
6646
|
+
# resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
|
6647
|
+
# resp.global_cluster.failover_state.from_db_cluster_arn #=> String
|
6648
|
+
# resp.global_cluster.failover_state.to_db_cluster_arn #=> String
|
6649
|
+
# resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
|
6601
6650
|
#
|
6602
6651
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RemoveFromGlobalCluster AWS API Documentation
|
6603
6652
|
#
|
@@ -7613,6 +7662,76 @@ module Aws::Neptune
|
|
7613
7662
|
req.send_request(options)
|
7614
7663
|
end
|
7615
7664
|
|
7665
|
+
# Switches over the specified secondary DB cluster to be the new primary
|
7666
|
+
# DB cluster in the global database cluster. Switchover operations were
|
7667
|
+
# previously called "managed planned failovers."
|
7668
|
+
#
|
7669
|
+
# Promotes the specified secondary cluster to assume full read/write
|
7670
|
+
# capabilities and demotes the current primary cluster to a secondary
|
7671
|
+
# (read-only) cluster, maintaining the original replication topology.
|
7672
|
+
# All secondary clusters are synchronized with the primary at the
|
7673
|
+
# beginning of the process so the new primary continues operations for
|
7674
|
+
# the global database without losing any data. Your database is
|
7675
|
+
# unavailable for a short time while the primary and selected secondary
|
7676
|
+
# clusters are assuming their new roles.
|
7677
|
+
#
|
7678
|
+
# <note markdown="1"> This operation is intended for controlled environments, for operations
|
7679
|
+
# such as "regional rotation" or to fall back to the original primary
|
7680
|
+
# after a global database failover.
|
7681
|
+
#
|
7682
|
+
# </note>
|
7683
|
+
#
|
7684
|
+
# @option params [required, String] :global_cluster_identifier
|
7685
|
+
# The identifier of the global database cluster to switch over. This
|
7686
|
+
# parameter isn't case-sensitive.
|
7687
|
+
#
|
7688
|
+
# Constraints: Must match the identifier of an existing global database
|
7689
|
+
# cluster.
|
7690
|
+
#
|
7691
|
+
# @option params [required, String] :target_db_cluster_identifier
|
7692
|
+
# The Amazon Resource Name (ARN) of the secondary Neptune DB cluster
|
7693
|
+
# that you want to promote to primary for the global database.
|
7694
|
+
#
|
7695
|
+
# @return [Types::SwitchoverGlobalClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7696
|
+
#
|
7697
|
+
# * {Types::SwitchoverGlobalClusterResult#global_cluster #global_cluster} => Types::GlobalCluster
|
7698
|
+
#
|
7699
|
+
# @example Request syntax with placeholder values
|
7700
|
+
#
|
7701
|
+
# resp = client.switchover_global_cluster({
|
7702
|
+
# global_cluster_identifier: "GlobalClusterIdentifier", # required
|
7703
|
+
# target_db_cluster_identifier: "String", # required
|
7704
|
+
# })
|
7705
|
+
#
|
7706
|
+
# @example Response structure
|
7707
|
+
#
|
7708
|
+
# resp.global_cluster.global_cluster_identifier #=> String
|
7709
|
+
# resp.global_cluster.global_cluster_resource_id #=> String
|
7710
|
+
# resp.global_cluster.global_cluster_arn #=> String
|
7711
|
+
# resp.global_cluster.status #=> String
|
7712
|
+
# resp.global_cluster.engine #=> String
|
7713
|
+
# resp.global_cluster.engine_version #=> String
|
7714
|
+
# resp.global_cluster.storage_encrypted #=> Boolean
|
7715
|
+
# resp.global_cluster.deletion_protection #=> Boolean
|
7716
|
+
# resp.global_cluster.global_cluster_members #=> Array
|
7717
|
+
# resp.global_cluster.global_cluster_members[0].db_cluster_arn #=> String
|
7718
|
+
# resp.global_cluster.global_cluster_members[0].readers #=> Array
|
7719
|
+
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
7720
|
+
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
7721
|
+
# resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
|
7722
|
+
# resp.global_cluster.failover_state.from_db_cluster_arn #=> String
|
7723
|
+
# resp.global_cluster.failover_state.to_db_cluster_arn #=> String
|
7724
|
+
# resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
|
7725
|
+
#
|
7726
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/SwitchoverGlobalCluster AWS API Documentation
|
7727
|
+
#
|
7728
|
+
# @overload switchover_global_cluster(params = {})
|
7729
|
+
# @param [Hash] params ({})
|
7730
|
+
def switchover_global_cluster(params = {}, options = {})
|
7731
|
+
req = build_request(:switchover_global_cluster, params)
|
7732
|
+
req.send_request(options)
|
7733
|
+
end
|
7734
|
+
|
7616
7735
|
# @!endgroup
|
7617
7736
|
|
7618
7737
|
# @param params ({})
|
@@ -7631,7 +7750,7 @@ module Aws::Neptune
|
|
7631
7750
|
tracer: tracer
|
7632
7751
|
)
|
7633
7752
|
context[:gem_name] = 'aws-sdk-neptune'
|
7634
|
-
context[:gem_version] = '1.
|
7753
|
+
context[:gem_version] = '1.85.0'
|
7635
7754
|
Seahorse::Client::Request.new(handlers, context)
|
7636
7755
|
end
|
7637
7756
|
|
@@ -189,6 +189,8 @@ module Aws::Neptune
|
|
189
189
|
FailoverDBClusterResult = Shapes::StructureShape.new(name: 'FailoverDBClusterResult')
|
190
190
|
FailoverGlobalClusterMessage = Shapes::StructureShape.new(name: 'FailoverGlobalClusterMessage')
|
191
191
|
FailoverGlobalClusterResult = Shapes::StructureShape.new(name: 'FailoverGlobalClusterResult')
|
192
|
+
FailoverState = Shapes::StructureShape.new(name: 'FailoverState')
|
193
|
+
FailoverStatus = Shapes::StringShape.new(name: 'FailoverStatus')
|
192
194
|
Filter = Shapes::StructureShape.new(name: 'Filter')
|
193
195
|
FilterList = Shapes::ListShape.new(name: 'FilterList')
|
194
196
|
FilterValueList = Shapes::ListShape.new(name: 'FilterValueList')
|
@@ -308,6 +310,8 @@ module Aws::Neptune
|
|
308
310
|
SubscriptionNotFoundFault = Shapes::StructureShape.new(name: 'SubscriptionNotFoundFault', error: {"code" => "SubscriptionNotFound", "httpStatusCode" => 404, "senderFault" => true})
|
309
311
|
SupportedCharacterSetsList = Shapes::ListShape.new(name: 'SupportedCharacterSetsList')
|
310
312
|
SupportedTimezonesList = Shapes::ListShape.new(name: 'SupportedTimezonesList')
|
313
|
+
SwitchoverGlobalClusterMessage = Shapes::StructureShape.new(name: 'SwitchoverGlobalClusterMessage')
|
314
|
+
SwitchoverGlobalClusterResult = Shapes::StructureShape.new(name: 'SwitchoverGlobalClusterResult')
|
311
315
|
TStamp = Shapes::TimestampShape.new(name: 'TStamp')
|
312
316
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
313
317
|
TagList = Shapes::ListShape.new(name: 'TagList')
|
@@ -1188,11 +1192,19 @@ module Aws::Neptune
|
|
1188
1192
|
|
1189
1193
|
FailoverGlobalClusterMessage.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: GlobalClusterIdentifier, required: true, location_name: "GlobalClusterIdentifier"))
|
1190
1194
|
FailoverGlobalClusterMessage.add_member(:target_db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TargetDbClusterIdentifier"))
|
1195
|
+
FailoverGlobalClusterMessage.add_member(:allow_data_loss, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AllowDataLoss"))
|
1196
|
+
FailoverGlobalClusterMessage.add_member(:switchover, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "Switchover"))
|
1191
1197
|
FailoverGlobalClusterMessage.struct_class = Types::FailoverGlobalClusterMessage
|
1192
1198
|
|
1193
1199
|
FailoverGlobalClusterResult.add_member(:global_cluster, Shapes::ShapeRef.new(shape: GlobalCluster, location_name: "GlobalCluster"))
|
1194
1200
|
FailoverGlobalClusterResult.struct_class = Types::FailoverGlobalClusterResult
|
1195
1201
|
|
1202
|
+
FailoverState.add_member(:status, Shapes::ShapeRef.new(shape: FailoverStatus, location_name: "Status"))
|
1203
|
+
FailoverState.add_member(:from_db_cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "FromDbClusterArn"))
|
1204
|
+
FailoverState.add_member(:to_db_cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "ToDbClusterArn"))
|
1205
|
+
FailoverState.add_member(:is_data_loss_allowed, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsDataLossAllowed"))
|
1206
|
+
FailoverState.struct_class = Types::FailoverState
|
1207
|
+
|
1196
1208
|
Filter.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
1197
1209
|
Filter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValueList, required: true, location_name: "Values"))
|
1198
1210
|
Filter.struct_class = Types::Filter
|
@@ -1210,6 +1222,7 @@ module Aws::Neptune
|
|
1210
1222
|
GlobalCluster.add_member(:storage_encrypted, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "StorageEncrypted"))
|
1211
1223
|
GlobalCluster.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
1212
1224
|
GlobalCluster.add_member(:global_cluster_members, Shapes::ShapeRef.new(shape: GlobalClusterMemberList, location_name: "GlobalClusterMembers"))
|
1225
|
+
GlobalCluster.add_member(:failover_state, Shapes::ShapeRef.new(shape: FailoverState, location_name: "FailoverState"))
|
1213
1226
|
GlobalCluster.struct_class = Types::GlobalCluster
|
1214
1227
|
|
1215
1228
|
GlobalClusterAlreadyExistsFault.struct_class = Types::GlobalClusterAlreadyExistsFault
|
@@ -1670,6 +1683,13 @@ module Aws::Neptune
|
|
1670
1683
|
|
1671
1684
|
SupportedTimezonesList.member = Shapes::ShapeRef.new(shape: Timezone, location_name: "Timezone")
|
1672
1685
|
|
1686
|
+
SwitchoverGlobalClusterMessage.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: GlobalClusterIdentifier, required: true, location_name: "GlobalClusterIdentifier"))
|
1687
|
+
SwitchoverGlobalClusterMessage.add_member(:target_db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TargetDbClusterIdentifier"))
|
1688
|
+
SwitchoverGlobalClusterMessage.struct_class = Types::SwitchoverGlobalClusterMessage
|
1689
|
+
|
1690
|
+
SwitchoverGlobalClusterResult.add_member(:global_cluster, Shapes::ShapeRef.new(shape: GlobalCluster, location_name: "GlobalCluster"))
|
1691
|
+
SwitchoverGlobalClusterResult.struct_class = Types::SwitchoverGlobalClusterResult
|
1692
|
+
|
1673
1693
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "Key"))
|
1674
1694
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
|
1675
1695
|
Tag.struct_class = Types::Tag
|
@@ -2631,6 +2651,18 @@ module Aws::Neptune
|
|
2631
2651
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
|
2632
2652
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
|
2633
2653
|
end)
|
2654
|
+
|
2655
|
+
api.add_operation(:switchover_global_cluster, Seahorse::Model::Operation.new.tap do |o|
|
2656
|
+
o.name = "SwitchoverGlobalCluster"
|
2657
|
+
o.http_method = "POST"
|
2658
|
+
o.http_request_uri = "/"
|
2659
|
+
o.input = Shapes::ShapeRef.new(shape: SwitchoverGlobalClusterMessage)
|
2660
|
+
o.output = Shapes::ShapeRef.new(shape: SwitchoverGlobalClusterResult)
|
2661
|
+
o.errors << Shapes::ShapeRef.new(shape: GlobalClusterNotFoundFault)
|
2662
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGlobalClusterStateFault)
|
2663
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
|
2664
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
|
2665
|
+
end)
|
2634
2666
|
end
|
2635
2667
|
|
2636
2668
|
end
|
@@ -266,7 +266,24 @@ module Aws::Neptune
|
|
266
266
|
# @return [Integer]
|
267
267
|
#
|
268
268
|
# @!attribute [rw] storage_type
|
269
|
-
# The storage type for the DB cluster.
|
269
|
+
# The pending change in storage type for the DB cluster. Valid
|
270
|
+
# Values:
|
271
|
+
#
|
272
|
+
# * <b> <code>standard</code> </b> – ( *the default* ) Configures
|
273
|
+
# cost-effective database storage for applications with moderate to
|
274
|
+
# small I/O usage.
|
275
|
+
#
|
276
|
+
# * <b> <code>iopt1</code> </b> – Enables [I/O-Optimized
|
277
|
+
# storage][1] that's designed to meet the needs of I/O-intensive
|
278
|
+
# graph workloads that require predictable pricing with low I/O
|
279
|
+
# latency and consistent I/O throughput.
|
280
|
+
#
|
281
|
+
# Neptune I/O-Optimized storage is only available starting with
|
282
|
+
# engine release 1.3.0.0.
|
283
|
+
#
|
284
|
+
#
|
285
|
+
#
|
286
|
+
# [1]: https://docs.aws.amazon.com/neptune/latest/userguide/storage-types.html#provisioned-iops-storage
|
270
287
|
# @return [String]
|
271
288
|
#
|
272
289
|
# @!attribute [rw] allocated_storage
|
@@ -278,7 +295,7 @@ module Aws::Neptune
|
|
278
295
|
#
|
279
296
|
# @!attribute [rw] iops
|
280
297
|
# The Provisioned IOPS (I/O operations per second) value. This setting
|
281
|
-
# is only for
|
298
|
+
# is only for Multi-AZ DB clusters.
|
282
299
|
# @return [Integer]
|
283
300
|
#
|
284
301
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ClusterPendingModifiedValues AWS API Documentation
|
@@ -747,7 +764,7 @@ module Aws::Neptune
|
|
747
764
|
# The version number of the database engine to use for the new DB
|
748
765
|
# cluster.
|
749
766
|
#
|
750
|
-
# Example: `1.
|
767
|
+
# Example: `1.2.1.0`
|
751
768
|
# @return [String]
|
752
769
|
#
|
753
770
|
# @!attribute [rw] port
|
@@ -904,25 +921,26 @@ module Aws::Neptune
|
|
904
921
|
# @return [String]
|
905
922
|
#
|
906
923
|
# @!attribute [rw] storage_type
|
907
|
-
# The storage type
|
924
|
+
# The storage type for the new DB cluster.
|
908
925
|
#
|
909
926
|
# Valid Values:
|
910
927
|
#
|
911
|
-
# *
|
912
|
-
#
|
913
|
-
#
|
928
|
+
# * <b> <code>standard</code> </b> – ( *the default* ) Configures
|
929
|
+
# cost-effective database storage for applications with moderate to
|
930
|
+
# small I/O usage. When set to `standard`, the storage type is not
|
931
|
+
# returned in the response.
|
914
932
|
#
|
915
|
-
#
|
933
|
+
# * <b> <code>iopt1</code> </b> – Enables [I/O-Optimized
|
934
|
+
# storage][1] that's designed to meet the needs of I/O-intensive
|
935
|
+
# graph workloads that require predictable pricing with low I/O
|
936
|
+
# latency and consistent I/O throughput.
|
916
937
|
#
|
917
|
-
#
|
938
|
+
# Neptune I/O-Optimized storage is only available starting with
|
939
|
+
# engine release 1.3.0.0.
|
918
940
|
#
|
919
|
-
# ^
|
920
941
|
#
|
921
|
-
# <note markdown="1"> When you create a Neptune cluster with the storage type set to
|
922
|
-
# `iopt1`, the storage type is returned in the response. The storage
|
923
|
-
# type isn't returned when you set it to `standard`.
|
924
942
|
#
|
925
|
-
#
|
943
|
+
# [1]: https://docs.aws.amazon.com/neptune/latest/userguide/storage-types.html#provisioned-iops-storage
|
926
944
|
# @return [String]
|
927
945
|
#
|
928
946
|
# @!attribute [rw] source_region
|
@@ -1294,9 +1312,8 @@ module Aws::Neptune
|
|
1294
1312
|
# @return [String]
|
1295
1313
|
#
|
1296
1314
|
# @!attribute [rw] storage_type
|
1297
|
-
#
|
1298
|
-
#
|
1299
|
-
# Not applicable. Storage is managed by the DB Cluster.
|
1315
|
+
# Not applicable. In Neptune the storage type is managed at the DB
|
1316
|
+
# Cluster level.
|
1300
1317
|
# @return [String]
|
1301
1318
|
#
|
1302
1319
|
# @!attribute [rw] tde_credential_arn
|
@@ -1980,7 +1997,25 @@ module Aws::Neptune
|
|
1980
1997
|
# @return [Time]
|
1981
1998
|
#
|
1982
1999
|
# @!attribute [rw] storage_type
|
1983
|
-
# The storage type
|
2000
|
+
# The storage type used by the DB cluster.
|
2001
|
+
#
|
2002
|
+
# Valid Values:
|
2003
|
+
#
|
2004
|
+
# * <b> <code>standard</code> </b> – ( *the default* ) Provides
|
2005
|
+
# cost-effective database storage for applications with moderate to
|
2006
|
+
# small I/O usage.
|
2007
|
+
#
|
2008
|
+
# * <b> <code>iopt1</code> </b> – Enables [I/O-Optimized
|
2009
|
+
# storage][1] that's designed to meet the needs of I/O-intensive
|
2010
|
+
# graph workloads that require predictable pricing with low I/O
|
2011
|
+
# latency and consistent I/O throughput.
|
2012
|
+
#
|
2013
|
+
# Neptune I/O-Optimized storage is only available starting with
|
2014
|
+
# engine release 1.3.0.0.
|
2015
|
+
#
|
2016
|
+
#
|
2017
|
+
#
|
2018
|
+
# [1]: https://docs.aws.amazon.com/neptune/latest/userguide/storage-types.html#provisioned-iops-storage
|
1984
2019
|
# @return [String]
|
1985
2020
|
#
|
1986
2021
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DBCluster AWS API Documentation
|
@@ -2133,7 +2168,7 @@ module Aws::Neptune
|
|
2133
2168
|
class DBClusterEndpointAlreadyExistsFault < Aws::EmptyStructure; end
|
2134
2169
|
|
2135
2170
|
# @!attribute [rw] marker
|
2136
|
-
#
|
2171
|
+
# n optional pagination token provided by a previous
|
2137
2172
|
# `DescribeDBClusterEndpoints` request. If this parameter is
|
2138
2173
|
# specified, the response includes only records beyond the marker, up
|
2139
2174
|
# to the value specified by `MaxRecords`.
|
@@ -2905,7 +2940,7 @@ module Aws::Neptune
|
|
2905
2940
|
# @return [Array<Types::DBInstanceStatusInfo>]
|
2906
2941
|
#
|
2907
2942
|
# @!attribute [rw] storage_type
|
2908
|
-
# Specifies the storage type associated with DB instance.
|
2943
|
+
# Specifies the storage type associated with the DB instance.
|
2909
2944
|
# @return [String]
|
2910
2945
|
#
|
2911
2946
|
# @!attribute [rw] tde_credential_arn
|
@@ -5211,11 +5246,32 @@ module Aws::Neptune
|
|
5211
5246
|
# that you want to promote to primary for the global database.
|
5212
5247
|
# @return [String]
|
5213
5248
|
#
|
5249
|
+
# @!attribute [rw] allow_data_loss
|
5250
|
+
# Specifies whether to allow data loss for this global database
|
5251
|
+
# cluster operation. Allowing data loss triggers a global failover
|
5252
|
+
# operation.
|
5253
|
+
#
|
5254
|
+
# If you don't specify `AllowDataLoss`, the global database cluster
|
5255
|
+
# operation defaults to a switchover.
|
5256
|
+
#
|
5257
|
+
# Constraints:Can't be specified together with the `Switchover`
|
5258
|
+
# parameter.
|
5259
|
+
# @return [Boolean]
|
5260
|
+
#
|
5261
|
+
# @!attribute [rw] switchover
|
5262
|
+
# Specifies whether to switch over this global database cluster.
|
5263
|
+
#
|
5264
|
+
# Constraints:Can't be specified together with the `AllowDataLoss`
|
5265
|
+
# parameter.
|
5266
|
+
# @return [Boolean]
|
5267
|
+
#
|
5214
5268
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/FailoverGlobalClusterMessage AWS API Documentation
|
5215
5269
|
#
|
5216
5270
|
class FailoverGlobalClusterMessage < Struct.new(
|
5217
5271
|
:global_cluster_identifier,
|
5218
|
-
:target_db_cluster_identifier
|
5272
|
+
:target_db_cluster_identifier,
|
5273
|
+
:allow_data_loss,
|
5274
|
+
:switchover)
|
5219
5275
|
SENSITIVE = []
|
5220
5276
|
include Aws::Structure
|
5221
5277
|
end
|
@@ -5237,6 +5293,62 @@ module Aws::Neptune
|
|
5237
5293
|
include Aws::Structure
|
5238
5294
|
end
|
5239
5295
|
|
5296
|
+
# Contains the state of scheduled or in-process operations on a global
|
5297
|
+
# cluster (Neptune global database). This data type is empty unless a
|
5298
|
+
# switchover or failover operation is scheduled or is in progress on the
|
5299
|
+
# Neptune global database.
|
5300
|
+
#
|
5301
|
+
# @!attribute [rw] status
|
5302
|
+
# The current status of the global cluster. Possible values are as
|
5303
|
+
# follows:
|
5304
|
+
#
|
5305
|
+
# * pending – The service received a request to switch over or fail
|
5306
|
+
# over the global cluster. The global cluster's primary DB cluster
|
5307
|
+
# and the specified secondary DB cluster are being verified before
|
5308
|
+
# the operation starts.
|
5309
|
+
#
|
5310
|
+
# * failing-over – Neptune is promoting the chosen secondary Neptune
|
5311
|
+
# DB cluster to become the new primary DB cluster to fail over the
|
5312
|
+
# global cluster.
|
5313
|
+
#
|
5314
|
+
# * cancelling – The request to switch over or fail over the global
|
5315
|
+
# cluster was cancelled and the primary Neptune DB cluster and the
|
5316
|
+
# selected secondary Neptune DB cluster are returning to their
|
5317
|
+
# previous states.
|
5318
|
+
#
|
5319
|
+
# * switching-over – This status covers the range of Neptune internal
|
5320
|
+
# operations that take place during the switchover process, such as
|
5321
|
+
# demoting the primary Neptune DB cluster, promoting the secondary
|
5322
|
+
# Neptune DB cluster, and synchronizing replicas.
|
5323
|
+
# @return [String]
|
5324
|
+
#
|
5325
|
+
# @!attribute [rw] from_db_cluster_arn
|
5326
|
+
# The Amazon Resource Name (ARN) of the Neptune DB cluster that is
|
5327
|
+
# currently being demoted, and which is associated with this state.
|
5328
|
+
# @return [String]
|
5329
|
+
#
|
5330
|
+
# @!attribute [rw] to_db_cluster_arn
|
5331
|
+
# The Amazon Resource Name (ARN) of the Neptune DB cluster that is
|
5332
|
+
# currently being promoted, and which is associated with this state.
|
5333
|
+
# @return [String]
|
5334
|
+
#
|
5335
|
+
# @!attribute [rw] is_data_loss_allowed
|
5336
|
+
# Indicates whether the operation is a global switchover or a global
|
5337
|
+
# failover. If data loss is allowed, then the operation is a global
|
5338
|
+
# failover. Otherwise, it's a switchover.
|
5339
|
+
# @return [Boolean]
|
5340
|
+
#
|
5341
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/FailoverState AWS API Documentation
|
5342
|
+
#
|
5343
|
+
class FailoverState < Struct.new(
|
5344
|
+
:status,
|
5345
|
+
:from_db_cluster_arn,
|
5346
|
+
:to_db_cluster_arn,
|
5347
|
+
:is_data_loss_allowed)
|
5348
|
+
SENSITIVE = []
|
5349
|
+
include Aws::Structure
|
5350
|
+
end
|
5351
|
+
|
5240
5352
|
# This type is not currently supported.
|
5241
5353
|
#
|
5242
5354
|
# @!attribute [rw] name
|
@@ -5304,6 +5416,14 @@ module Aws::Neptune
|
|
5304
5416
|
# that are part of the global database.
|
5305
5417
|
# @return [Array<Types::GlobalClusterMember>]
|
5306
5418
|
#
|
5419
|
+
# @!attribute [rw] failover_state
|
5420
|
+
# A data object containing all properties for the current state of an
|
5421
|
+
# in-process or pending switchover or failover process for this global
|
5422
|
+
# cluster (Neptune global database). This object is empty unless the
|
5423
|
+
# `SwitchoverGlobalCluster` or `FailoverGlobalCluster` operation was
|
5424
|
+
# called on this global cluster.
|
5425
|
+
# @return [Types::FailoverState]
|
5426
|
+
#
|
5307
5427
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/GlobalCluster AWS API Documentation
|
5308
5428
|
#
|
5309
5429
|
class GlobalCluster < Struct.new(
|
@@ -5315,7 +5435,8 @@ module Aws::Neptune
|
|
5315
5435
|
:engine_version,
|
5316
5436
|
:storage_encrypted,
|
5317
5437
|
:deletion_protection,
|
5318
|
-
:global_cluster_members
|
5438
|
+
:global_cluster_members,
|
5439
|
+
:failover_state)
|
5319
5440
|
SENSITIVE = []
|
5320
5441
|
include Aws::Structure
|
5321
5442
|
end
|
@@ -5858,15 +5979,21 @@ module Aws::Neptune
|
|
5858
5979
|
#
|
5859
5980
|
# Valid Values:
|
5860
5981
|
#
|
5861
|
-
# *
|
5982
|
+
# * <b> <code>standard</code> </b> – ( *the default* ) Configures
|
5983
|
+
# cost-effective database storage for applications with moderate to
|
5984
|
+
# small I/O usage.
|
5862
5985
|
#
|
5863
|
-
#
|
5986
|
+
# * <b> <code>iopt1</code> </b> – Enables [I/O-Optimized
|
5987
|
+
# storage][1] that's designed to meet the needs of I/O-intensive
|
5988
|
+
# graph workloads that require predictable pricing with low I/O
|
5989
|
+
# latency and consistent I/O throughput.
|
5864
5990
|
#
|
5865
|
-
#
|
5991
|
+
# Neptune I/O-Optimized storage is only available starting with
|
5992
|
+
# engine release 1.3.0.0.
|
5866
5993
|
#
|
5867
|
-
# * `standard`
|
5868
5994
|
#
|
5869
|
-
#
|
5995
|
+
#
|
5996
|
+
# [1]: https://docs.aws.amazon.com/neptune/latest/userguide/storage-types.html#provisioned-iops-storage
|
5870
5997
|
# @return [String]
|
5871
5998
|
#
|
5872
5999
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBClusterMessage AWS API Documentation
|
@@ -6210,7 +6337,8 @@ module Aws::Neptune
|
|
6210
6337
|
# @return [String]
|
6211
6338
|
#
|
6212
6339
|
# @!attribute [rw] storage_type
|
6213
|
-
# Not
|
6340
|
+
# Not applicable. In Neptune the storage type is managed at the DB
|
6341
|
+
# Cluster level.
|
6214
6342
|
# @return [String]
|
6215
6343
|
#
|
6216
6344
|
# @!attribute [rw] tde_credential_arn
|
@@ -6667,7 +6795,8 @@ module Aws::Neptune
|
|
6667
6795
|
# @return [Boolean]
|
6668
6796
|
#
|
6669
6797
|
# @!attribute [rw] storage_type
|
6670
|
-
#
|
6798
|
+
# Not applicable. In Neptune the storage type is managed at the DB
|
6799
|
+
# Cluster level.
|
6671
6800
|
# @return [String]
|
6672
6801
|
#
|
6673
6802
|
# @!attribute [rw] supports_iops
|
@@ -6982,7 +7111,8 @@ module Aws::Neptune
|
|
6982
7111
|
# @return [String]
|
6983
7112
|
#
|
6984
7113
|
# @!attribute [rw] storage_type
|
6985
|
-
#
|
7114
|
+
# Not applicable. In Neptune the storage type is managed at the DB
|
7115
|
+
# Cluster level.
|
6986
7116
|
# @return [String]
|
6987
7117
|
#
|
6988
7118
|
# @!attribute [rw] ca_certificate_identifier
|
@@ -7961,6 +8091,45 @@ module Aws::Neptune
|
|
7961
8091
|
#
|
7962
8092
|
class SubscriptionNotFoundFault < Aws::EmptyStructure; end
|
7963
8093
|
|
8094
|
+
# @!attribute [rw] global_cluster_identifier
|
8095
|
+
# The identifier of the global database cluster to switch over. This
|
8096
|
+
# parameter isn't case-sensitive.
|
8097
|
+
#
|
8098
|
+
# Constraints: Must match the identifier of an existing global
|
8099
|
+
# database cluster.
|
8100
|
+
# @return [String]
|
8101
|
+
#
|
8102
|
+
# @!attribute [rw] target_db_cluster_identifier
|
8103
|
+
# The Amazon Resource Name (ARN) of the secondary Neptune DB cluster
|
8104
|
+
# that you want to promote to primary for the global database.
|
8105
|
+
# @return [String]
|
8106
|
+
#
|
8107
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/SwitchoverGlobalClusterMessage AWS API Documentation
|
8108
|
+
#
|
8109
|
+
class SwitchoverGlobalClusterMessage < Struct.new(
|
8110
|
+
:global_cluster_identifier,
|
8111
|
+
:target_db_cluster_identifier)
|
8112
|
+
SENSITIVE = []
|
8113
|
+
include Aws::Structure
|
8114
|
+
end
|
8115
|
+
|
8116
|
+
# @!attribute [rw] global_cluster
|
8117
|
+
# Contains the details of an Amazon Neptune global database.
|
8118
|
+
#
|
8119
|
+
# This data type is used as a response element for the
|
8120
|
+
# CreateGlobalCluster, DescribeGlobalClusters, ModifyGlobalCluster,
|
8121
|
+
# DeleteGlobalCluster, FailoverGlobalCluster, and
|
8122
|
+
# RemoveFromGlobalCluster actions.
|
8123
|
+
# @return [Types::GlobalCluster]
|
8124
|
+
#
|
8125
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/SwitchoverGlobalClusterResult AWS API Documentation
|
8126
|
+
#
|
8127
|
+
class SwitchoverGlobalClusterResult < Struct.new(
|
8128
|
+
:global_cluster)
|
8129
|
+
SENSITIVE = []
|
8130
|
+
include Aws::Structure
|
8131
|
+
end
|
8132
|
+
|
7964
8133
|
# Metadata assigned to an Amazon Neptune resource consisting of a
|
7965
8134
|
# key-value pair.
|
7966
8135
|
#
|
@@ -8078,28 +8247,27 @@ module Aws::Neptune
|
|
8078
8247
|
include Aws::Structure
|
8079
8248
|
end
|
8080
8249
|
|
8081
|
-
#
|
8082
|
-
#
|
8083
|
-
#
|
8084
|
-
# Contains the result of a successful call to the
|
8085
|
-
# DescribeValidDBInstanceModifications action.
|
8250
|
+
# Not applicable. In Neptune the storage type is managed at the DB
|
8251
|
+
# Cluster level.
|
8086
8252
|
#
|
8087
8253
|
# @!attribute [rw] storage_type
|
8088
|
-
#
|
8254
|
+
# Not applicable. In Neptune the storage type is managed at the DB
|
8255
|
+
# Cluster level.
|
8089
8256
|
# @return [String]
|
8090
8257
|
#
|
8091
8258
|
# @!attribute [rw] storage_size
|
8092
|
-
#
|
8259
|
+
# Not applicable. In Neptune the storage type is managed at the DB
|
8260
|
+
# Cluster level.
|
8093
8261
|
# @return [Array<Types::Range>]
|
8094
8262
|
#
|
8095
8263
|
# @!attribute [rw] provisioned_iops
|
8096
|
-
#
|
8264
|
+
# Not applicable. In Neptune the storage type is managed at the DB
|
8265
|
+
# Cluster level.
|
8097
8266
|
# @return [Array<Types::Range>]
|
8098
8267
|
#
|
8099
8268
|
# @!attribute [rw] iops_to_storage_ratio
|
8100
|
-
#
|
8101
|
-
#
|
8102
|
-
# be between 3 and 10 times storage.
|
8269
|
+
# Not applicable. In Neptune the storage type is managed at the DB
|
8270
|
+
# Cluster level.
|
8103
8271
|
# @return [Array<Types::DoubleRange>]
|
8104
8272
|
#
|
8105
8273
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ValidStorageOptions AWS API Documentation
|
data/lib/aws-sdk-neptune.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -897,7 +897,9 @@ module Aws
|
|
897
897
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Neptune/Client.html#failover_global_cluster-instance_method
|
898
898
|
def failover_global_cluster: (
|
899
899
|
global_cluster_identifier: ::String,
|
900
|
-
target_db_cluster_identifier: ::String
|
900
|
+
target_db_cluster_identifier: ::String,
|
901
|
+
?allow_data_loss: bool,
|
902
|
+
?switchover: bool
|
901
903
|
) -> _FailoverGlobalClusterResponseSuccess
|
902
904
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _FailoverGlobalClusterResponseSuccess
|
903
905
|
|
@@ -1322,6 +1324,17 @@ module Aws
|
|
1322
1324
|
) -> _StopDBClusterResponseSuccess
|
1323
1325
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopDBClusterResponseSuccess
|
1324
1326
|
|
1327
|
+
interface _SwitchoverGlobalClusterResponseSuccess
|
1328
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::SwitchoverGlobalClusterResult]
|
1329
|
+
def global_cluster: () -> Types::GlobalCluster
|
1330
|
+
end
|
1331
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Neptune/Client.html#switchover_global_cluster-instance_method
|
1332
|
+
def switchover_global_cluster: (
|
1333
|
+
global_cluster_identifier: ::String,
|
1334
|
+
target_db_cluster_identifier: ::String
|
1335
|
+
) -> _SwitchoverGlobalClusterResponseSuccess
|
1336
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SwitchoverGlobalClusterResponseSuccess
|
1337
|
+
|
1325
1338
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Neptune/Client.html#wait_until-instance_method
|
1326
1339
|
def wait_until: (:db_instance_available waiter_name,
|
1327
1340
|
?db_instance_identifier: ::String,
|
data/sig/types.rbs
CHANGED
@@ -1081,6 +1081,8 @@ module Aws::Neptune
|
|
1081
1081
|
class FailoverGlobalClusterMessage
|
1082
1082
|
attr_accessor global_cluster_identifier: ::String
|
1083
1083
|
attr_accessor target_db_cluster_identifier: ::String
|
1084
|
+
attr_accessor allow_data_loss: bool
|
1085
|
+
attr_accessor switchover: bool
|
1084
1086
|
SENSITIVE: []
|
1085
1087
|
end
|
1086
1088
|
|
@@ -1089,6 +1091,14 @@ module Aws::Neptune
|
|
1089
1091
|
SENSITIVE: []
|
1090
1092
|
end
|
1091
1093
|
|
1094
|
+
class FailoverState
|
1095
|
+
attr_accessor status: ("pending" | "failing-over" | "cancelling")
|
1096
|
+
attr_accessor from_db_cluster_arn: ::String
|
1097
|
+
attr_accessor to_db_cluster_arn: ::String
|
1098
|
+
attr_accessor is_data_loss_allowed: bool
|
1099
|
+
SENSITIVE: []
|
1100
|
+
end
|
1101
|
+
|
1092
1102
|
class Filter
|
1093
1103
|
attr_accessor name: ::String
|
1094
1104
|
attr_accessor values: ::Array[::String]
|
@@ -1105,6 +1115,7 @@ module Aws::Neptune
|
|
1105
1115
|
attr_accessor storage_encrypted: bool
|
1106
1116
|
attr_accessor deletion_protection: bool
|
1107
1117
|
attr_accessor global_cluster_members: ::Array[Types::GlobalClusterMember]
|
1118
|
+
attr_accessor failover_state: Types::FailoverState
|
1108
1119
|
SENSITIVE: []
|
1109
1120
|
end
|
1110
1121
|
|
@@ -1667,6 +1678,17 @@ module Aws::Neptune
|
|
1667
1678
|
class SubscriptionNotFoundFault < Aws::EmptyStructure
|
1668
1679
|
end
|
1669
1680
|
|
1681
|
+
class SwitchoverGlobalClusterMessage
|
1682
|
+
attr_accessor global_cluster_identifier: ::String
|
1683
|
+
attr_accessor target_db_cluster_identifier: ::String
|
1684
|
+
SENSITIVE: []
|
1685
|
+
end
|
1686
|
+
|
1687
|
+
class SwitchoverGlobalClusterResult
|
1688
|
+
attr_accessor global_cluster: Types::GlobalCluster
|
1689
|
+
SENSITIVE: []
|
1690
|
+
end
|
1691
|
+
|
1670
1692
|
class Tag
|
1671
1693
|
attr_accessor key: ::String
|
1672
1694
|
attr_accessor value: ::String
|