aws-sdk-neptune 1.45.0 → 1.46.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 +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
@@ -745,6 +745,7 @@ module Aws::Neptune
|
|
745
745
|
# enable_iam_database_authentication: false,
|
746
746
|
# enable_cloudwatch_logs_exports: ["String"],
|
747
747
|
# deletion_protection: false,
|
748
|
+
# global_cluster_identifier: "GlobalClusterIdentifier",
|
748
749
|
# source_region: "String",
|
749
750
|
# }
|
750
751
|
#
|
@@ -964,6 +965,11 @@ module Aws::Neptune
|
|
964
965
|
# protection is enabled. By default, deletion protection is enabled.
|
965
966
|
# @return [Boolean]
|
966
967
|
#
|
968
|
+
# @!attribute [rw] global_cluster_identifier
|
969
|
+
# The ID of the Neptune global database to which this new DB cluster
|
970
|
+
# should be added.
|
971
|
+
# @return [String]
|
972
|
+
#
|
967
973
|
# @!attribute [rw] source_region
|
968
974
|
# The source region of the snapshot. This is only needed when the
|
969
975
|
# shapshot is encrypted and in a different region.
|
@@ -997,6 +1003,7 @@ module Aws::Neptune
|
|
997
1003
|
:enable_iam_database_authentication,
|
998
1004
|
:enable_cloudwatch_logs_exports,
|
999
1005
|
:deletion_protection,
|
1006
|
+
:global_cluster_identifier,
|
1000
1007
|
:source_region)
|
1001
1008
|
SENSITIVE = []
|
1002
1009
|
include Aws::Structure
|
@@ -1841,6 +1848,79 @@ module Aws::Neptune
|
|
1841
1848
|
include Aws::Structure
|
1842
1849
|
end
|
1843
1850
|
|
1851
|
+
# @note When making an API call, you may pass CreateGlobalClusterMessage
|
1852
|
+
# data as a hash:
|
1853
|
+
#
|
1854
|
+
# {
|
1855
|
+
# global_cluster_identifier: "GlobalClusterIdentifier", # required
|
1856
|
+
# source_db_cluster_identifier: "String",
|
1857
|
+
# engine: "String",
|
1858
|
+
# engine_version: "String",
|
1859
|
+
# deletion_protection: false,
|
1860
|
+
# storage_encrypted: false,
|
1861
|
+
# }
|
1862
|
+
#
|
1863
|
+
# @!attribute [rw] global_cluster_identifier
|
1864
|
+
# The cluster identifier of the new global database cluster.
|
1865
|
+
# @return [String]
|
1866
|
+
#
|
1867
|
+
# @!attribute [rw] source_db_cluster_identifier
|
1868
|
+
# (*Optional*) The Amazon Resource Name (ARN) of an existing Neptune
|
1869
|
+
# DB cluster to use as the primary cluster of the new global database.
|
1870
|
+
# @return [String]
|
1871
|
+
#
|
1872
|
+
# @!attribute [rw] engine
|
1873
|
+
# The name of the database engine to be used in the global database.
|
1874
|
+
#
|
1875
|
+
# Valid values: `neptune`
|
1876
|
+
# @return [String]
|
1877
|
+
#
|
1878
|
+
# @!attribute [rw] engine_version
|
1879
|
+
# The Neptune engine version to be used by the global database.
|
1880
|
+
#
|
1881
|
+
# Valid values: `1.2.0.0` or above.
|
1882
|
+
# @return [String]
|
1883
|
+
#
|
1884
|
+
# @!attribute [rw] deletion_protection
|
1885
|
+
# The deletion protection setting for the new global database. The
|
1886
|
+
# global database can't be deleted when deletion protection is
|
1887
|
+
# enabled.
|
1888
|
+
# @return [Boolean]
|
1889
|
+
#
|
1890
|
+
# @!attribute [rw] storage_encrypted
|
1891
|
+
# The storage encryption setting for the new global database cluster.
|
1892
|
+
# @return [Boolean]
|
1893
|
+
#
|
1894
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateGlobalClusterMessage AWS API Documentation
|
1895
|
+
#
|
1896
|
+
class CreateGlobalClusterMessage < Struct.new(
|
1897
|
+
:global_cluster_identifier,
|
1898
|
+
:source_db_cluster_identifier,
|
1899
|
+
:engine,
|
1900
|
+
:engine_version,
|
1901
|
+
:deletion_protection,
|
1902
|
+
:storage_encrypted)
|
1903
|
+
SENSITIVE = []
|
1904
|
+
include Aws::Structure
|
1905
|
+
end
|
1906
|
+
|
1907
|
+
# @!attribute [rw] global_cluster
|
1908
|
+
# Contains the details of an Amazon Neptune global database.
|
1909
|
+
#
|
1910
|
+
# This data type is used as a response element for the
|
1911
|
+
# CreateGlobalCluster, DescribeGlobalClusters, ModifyGlobalCluster,
|
1912
|
+
# DeleteGlobalCluster, FailoverGlobalCluster, and
|
1913
|
+
# RemoveFromGlobalCluster actions.
|
1914
|
+
# @return [Types::GlobalCluster]
|
1915
|
+
#
|
1916
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateGlobalClusterResult AWS API Documentation
|
1917
|
+
#
|
1918
|
+
class CreateGlobalClusterResult < Struct.new(
|
1919
|
+
:global_cluster)
|
1920
|
+
SENSITIVE = []
|
1921
|
+
include Aws::Structure
|
1922
|
+
end
|
1923
|
+
|
1844
1924
|
# Contains the details of an Amazon Neptune DB cluster.
|
1845
1925
|
#
|
1846
1926
|
# This data type is used as a response element in the DescribeDBClusters
|
@@ -2768,6 +2848,11 @@ module Aws::Neptune
|
|
2768
2848
|
# replicas.
|
2769
2849
|
# @return [Boolean]
|
2770
2850
|
#
|
2851
|
+
# @!attribute [rw] supports_global_databases
|
2852
|
+
# A value that indicates whether you can use Aurora global databases
|
2853
|
+
# with a specific DB engine version.
|
2854
|
+
# @return [Boolean]
|
2855
|
+
#
|
2771
2856
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DBEngineVersion AWS API Documentation
|
2772
2857
|
#
|
2773
2858
|
class DBEngineVersion < Struct.new(
|
@@ -2782,7 +2867,8 @@ module Aws::Neptune
|
|
2782
2867
|
:supported_timezones,
|
2783
2868
|
:exportable_log_types,
|
2784
2869
|
:supports_log_exports_to_cloudwatch_logs,
|
2785
|
-
:supports_read_replica
|
2870
|
+
:supports_read_replica,
|
2871
|
+
:supports_global_databases)
|
2786
2872
|
SENSITIVE = []
|
2787
2873
|
include Aws::Structure
|
2788
2874
|
end
|
@@ -3881,6 +3967,42 @@ module Aws::Neptune
|
|
3881
3967
|
include Aws::Structure
|
3882
3968
|
end
|
3883
3969
|
|
3970
|
+
# @note When making an API call, you may pass DeleteGlobalClusterMessage
|
3971
|
+
# data as a hash:
|
3972
|
+
#
|
3973
|
+
# {
|
3974
|
+
# global_cluster_identifier: "GlobalClusterIdentifier", # required
|
3975
|
+
# }
|
3976
|
+
#
|
3977
|
+
# @!attribute [rw] global_cluster_identifier
|
3978
|
+
# The cluster identifier of the global database cluster being deleted.
|
3979
|
+
# @return [String]
|
3980
|
+
#
|
3981
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteGlobalClusterMessage AWS API Documentation
|
3982
|
+
#
|
3983
|
+
class DeleteGlobalClusterMessage < Struct.new(
|
3984
|
+
:global_cluster_identifier)
|
3985
|
+
SENSITIVE = []
|
3986
|
+
include Aws::Structure
|
3987
|
+
end
|
3988
|
+
|
3989
|
+
# @!attribute [rw] global_cluster
|
3990
|
+
# Contains the details of an Amazon Neptune global database.
|
3991
|
+
#
|
3992
|
+
# This data type is used as a response element for the
|
3993
|
+
# CreateGlobalCluster, DescribeGlobalClusters, ModifyGlobalCluster,
|
3994
|
+
# DeleteGlobalCluster, FailoverGlobalCluster, and
|
3995
|
+
# RemoveFromGlobalCluster actions.
|
3996
|
+
# @return [Types::GlobalCluster]
|
3997
|
+
#
|
3998
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteGlobalClusterResult AWS API Documentation
|
3999
|
+
#
|
4000
|
+
class DeleteGlobalClusterResult < Struct.new(
|
4001
|
+
:global_cluster)
|
4002
|
+
SENSITIVE = []
|
4003
|
+
include Aws::Structure
|
4004
|
+
end
|
4005
|
+
|
3884
4006
|
# @note When making an API call, you may pass DescribeDBClusterEndpointsMessage
|
3885
4007
|
# data as a hash:
|
3886
4008
|
#
|
@@ -5010,6 +5132,52 @@ module Aws::Neptune
|
|
5010
5132
|
include Aws::Structure
|
5011
5133
|
end
|
5012
5134
|
|
5135
|
+
# @note When making an API call, you may pass DescribeGlobalClustersMessage
|
5136
|
+
# data as a hash:
|
5137
|
+
#
|
5138
|
+
# {
|
5139
|
+
# global_cluster_identifier: "GlobalClusterIdentifier",
|
5140
|
+
# max_records: 1,
|
5141
|
+
# marker: "String",
|
5142
|
+
# }
|
5143
|
+
#
|
5144
|
+
# @!attribute [rw] global_cluster_identifier
|
5145
|
+
# The user-supplied DB cluster identifier. If this parameter is
|
5146
|
+
# specified, only information about the specified DB cluster is
|
5147
|
+
# returned. This parameter is not case-sensitive.
|
5148
|
+
#
|
5149
|
+
# Constraints: If supplied, must match an existing DB cluster
|
5150
|
+
# identifier.
|
5151
|
+
# @return [String]
|
5152
|
+
#
|
5153
|
+
# @!attribute [rw] max_records
|
5154
|
+
# The maximum number of records to include in the response. If more
|
5155
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
5156
|
+
# marker token is included in the response that you can use to
|
5157
|
+
# retrieve the remaining results.
|
5158
|
+
#
|
5159
|
+
# Default: `100`
|
5160
|
+
#
|
5161
|
+
# Constraints: Minimum 20, maximum 100.
|
5162
|
+
# @return [Integer]
|
5163
|
+
#
|
5164
|
+
# @!attribute [rw] marker
|
5165
|
+
# (*Optional*) A pagination token returned by a previous call to
|
5166
|
+
# `DescribeGlobalClusters`. If this parameter is specified, the
|
5167
|
+
# response will only include records beyond the marker, up to the
|
5168
|
+
# number specified by `MaxRecords`.
|
5169
|
+
# @return [String]
|
5170
|
+
#
|
5171
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeGlobalClustersMessage AWS API Documentation
|
5172
|
+
#
|
5173
|
+
class DescribeGlobalClustersMessage < Struct.new(
|
5174
|
+
:global_cluster_identifier,
|
5175
|
+
:max_records,
|
5176
|
+
:marker)
|
5177
|
+
SENSITIVE = []
|
5178
|
+
include Aws::Structure
|
5179
|
+
end
|
5180
|
+
|
5013
5181
|
# @note When making an API call, you may pass DescribeOrderableDBInstanceOptionsMessage
|
5014
5182
|
# data as a hash:
|
5015
5183
|
#
|
@@ -5542,6 +5710,55 @@ module Aws::Neptune
|
|
5542
5710
|
include Aws::Structure
|
5543
5711
|
end
|
5544
5712
|
|
5713
|
+
# @note When making an API call, you may pass FailoverGlobalClusterMessage
|
5714
|
+
# data as a hash:
|
5715
|
+
#
|
5716
|
+
# {
|
5717
|
+
# global_cluster_identifier: "GlobalClusterIdentifier", # required
|
5718
|
+
# target_db_cluster_identifier: "String", # required
|
5719
|
+
# }
|
5720
|
+
#
|
5721
|
+
# @!attribute [rw] global_cluster_identifier
|
5722
|
+
# Identifier of the Neptune global database that should be failed
|
5723
|
+
# over. The identifier is the unique key assigned by the user when the
|
5724
|
+
# Neptune global database was created. In other words, it's the name
|
5725
|
+
# of the global database that you want to fail over.
|
5726
|
+
#
|
5727
|
+
# Constraints: Must match the identifier of an existing Neptune global
|
5728
|
+
# database.
|
5729
|
+
# @return [String]
|
5730
|
+
#
|
5731
|
+
# @!attribute [rw] target_db_cluster_identifier
|
5732
|
+
# The Amazon Resource Name (ARN) of the secondary Neptune DB cluster
|
5733
|
+
# that you want to promote to primary for the global database.
|
5734
|
+
# @return [String]
|
5735
|
+
#
|
5736
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/FailoverGlobalClusterMessage AWS API Documentation
|
5737
|
+
#
|
5738
|
+
class FailoverGlobalClusterMessage < Struct.new(
|
5739
|
+
:global_cluster_identifier,
|
5740
|
+
:target_db_cluster_identifier)
|
5741
|
+
SENSITIVE = []
|
5742
|
+
include Aws::Structure
|
5743
|
+
end
|
5744
|
+
|
5745
|
+
# @!attribute [rw] global_cluster
|
5746
|
+
# Contains the details of an Amazon Neptune global database.
|
5747
|
+
#
|
5748
|
+
# This data type is used as a response element for the
|
5749
|
+
# CreateGlobalCluster, DescribeGlobalClusters, ModifyGlobalCluster,
|
5750
|
+
# DeleteGlobalCluster, FailoverGlobalCluster, and
|
5751
|
+
# RemoveFromGlobalCluster actions.
|
5752
|
+
# @return [Types::GlobalCluster]
|
5753
|
+
#
|
5754
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/FailoverGlobalClusterResult AWS API Documentation
|
5755
|
+
#
|
5756
|
+
class FailoverGlobalClusterResult < Struct.new(
|
5757
|
+
:global_cluster)
|
5758
|
+
SENSITIVE = []
|
5759
|
+
include Aws::Structure
|
5760
|
+
end
|
5761
|
+
|
5545
5762
|
# This type is not currently supported.
|
5546
5763
|
#
|
5547
5764
|
# @note When making an API call, you may pass Filter
|
@@ -5569,6 +5786,139 @@ module Aws::Neptune
|
|
5569
5786
|
include Aws::Structure
|
5570
5787
|
end
|
5571
5788
|
|
5789
|
+
# Contains the details of an Amazon Neptune global database.
|
5790
|
+
#
|
5791
|
+
# This data type is used as a response element for the
|
5792
|
+
# CreateGlobalCluster, DescribeGlobalClusters, ModifyGlobalCluster,
|
5793
|
+
# DeleteGlobalCluster, FailoverGlobalCluster, and
|
5794
|
+
# RemoveFromGlobalCluster actions.
|
5795
|
+
#
|
5796
|
+
# @!attribute [rw] global_cluster_identifier
|
5797
|
+
# Contains a user-supplied global database cluster identifier. This
|
5798
|
+
# identifier is the unique key that identifies a global database.
|
5799
|
+
# @return [String]
|
5800
|
+
#
|
5801
|
+
# @!attribute [rw] global_cluster_resource_id
|
5802
|
+
# An immutable identifier for the global database that is unique
|
5803
|
+
# within in all regions. This identifier is found in CloudTrail log
|
5804
|
+
# entries whenever the KMS key for the DB cluster is accessed.
|
5805
|
+
# @return [String]
|
5806
|
+
#
|
5807
|
+
# @!attribute [rw] global_cluster_arn
|
5808
|
+
# The Amazon Resource Name (ARN) for the global database.
|
5809
|
+
# @return [String]
|
5810
|
+
#
|
5811
|
+
# @!attribute [rw] status
|
5812
|
+
# Specifies the current state of this global database.
|
5813
|
+
# @return [String]
|
5814
|
+
#
|
5815
|
+
# @!attribute [rw] engine
|
5816
|
+
# The Neptune database engine used by the global database
|
5817
|
+
# (`"neptune"`).
|
5818
|
+
# @return [String]
|
5819
|
+
#
|
5820
|
+
# @!attribute [rw] engine_version
|
5821
|
+
# The Neptune engine version used by the global database.
|
5822
|
+
# @return [String]
|
5823
|
+
#
|
5824
|
+
# @!attribute [rw] storage_encrypted
|
5825
|
+
# The storage encryption setting for the global database.
|
5826
|
+
# @return [Boolean]
|
5827
|
+
#
|
5828
|
+
# @!attribute [rw] deletion_protection
|
5829
|
+
# The deletion protection setting for the global database.
|
5830
|
+
# @return [Boolean]
|
5831
|
+
#
|
5832
|
+
# @!attribute [rw] global_cluster_members
|
5833
|
+
# A list of cluster ARNs and instance ARNs for all the DB clusters
|
5834
|
+
# that are part of the global database.
|
5835
|
+
# @return [Array<Types::GlobalClusterMember>]
|
5836
|
+
#
|
5837
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/GlobalCluster AWS API Documentation
|
5838
|
+
#
|
5839
|
+
class GlobalCluster < Struct.new(
|
5840
|
+
:global_cluster_identifier,
|
5841
|
+
:global_cluster_resource_id,
|
5842
|
+
:global_cluster_arn,
|
5843
|
+
:status,
|
5844
|
+
:engine,
|
5845
|
+
:engine_version,
|
5846
|
+
:storage_encrypted,
|
5847
|
+
:deletion_protection,
|
5848
|
+
:global_cluster_members)
|
5849
|
+
SENSITIVE = []
|
5850
|
+
include Aws::Structure
|
5851
|
+
end
|
5852
|
+
|
5853
|
+
# The `GlobalClusterIdentifier` already exists. Choose a new global
|
5854
|
+
# database identifier (unique name) to create a new global database
|
5855
|
+
# cluster.
|
5856
|
+
#
|
5857
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/GlobalClusterAlreadyExistsFault AWS API Documentation
|
5858
|
+
#
|
5859
|
+
class GlobalClusterAlreadyExistsFault < Aws::EmptyStructure; end
|
5860
|
+
|
5861
|
+
# A data structure with information about any primary and secondary
|
5862
|
+
# clusters associated with an Neptune global database.
|
5863
|
+
#
|
5864
|
+
# @!attribute [rw] db_cluster_arn
|
5865
|
+
# The Amazon Resource Name (ARN) for each Neptune cluster.
|
5866
|
+
# @return [String]
|
5867
|
+
#
|
5868
|
+
# @!attribute [rw] readers
|
5869
|
+
# The Amazon Resource Name (ARN) for each read-only secondary cluster
|
5870
|
+
# associated with the Neptune global database.
|
5871
|
+
# @return [Array<String>]
|
5872
|
+
#
|
5873
|
+
# @!attribute [rw] is_writer
|
5874
|
+
# Specifies whether the Neptune cluster is the primary cluster (that
|
5875
|
+
# is, has read-write capability) for the Neptune global database with
|
5876
|
+
# which it is associated.
|
5877
|
+
# @return [Boolean]
|
5878
|
+
#
|
5879
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/GlobalClusterMember AWS API Documentation
|
5880
|
+
#
|
5881
|
+
class GlobalClusterMember < Struct.new(
|
5882
|
+
:db_cluster_arn,
|
5883
|
+
:readers,
|
5884
|
+
:is_writer)
|
5885
|
+
SENSITIVE = []
|
5886
|
+
include Aws::Structure
|
5887
|
+
end
|
5888
|
+
|
5889
|
+
# The `GlobalClusterIdentifier` doesn't refer to an existing global
|
5890
|
+
# database cluster.
|
5891
|
+
#
|
5892
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/GlobalClusterNotFoundFault AWS API Documentation
|
5893
|
+
#
|
5894
|
+
class GlobalClusterNotFoundFault < Aws::EmptyStructure; end
|
5895
|
+
|
5896
|
+
# The number of global database clusters for this account is already at
|
5897
|
+
# the maximum allowed.
|
5898
|
+
#
|
5899
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/GlobalClusterQuotaExceededFault AWS API Documentation
|
5900
|
+
#
|
5901
|
+
class GlobalClusterQuotaExceededFault < Aws::EmptyStructure; end
|
5902
|
+
|
5903
|
+
# @!attribute [rw] marker
|
5904
|
+
# A pagination token. If this parameter is returned in the response,
|
5905
|
+
# more records are available, which can be retrieved by one or more
|
5906
|
+
# additional calls to `DescribeGlobalClusters`.
|
5907
|
+
# @return [String]
|
5908
|
+
#
|
5909
|
+
# @!attribute [rw] global_clusters
|
5910
|
+
# The list of global clusters and instances returned by this request.
|
5911
|
+
# @return [Array<Types::GlobalCluster>]
|
5912
|
+
#
|
5913
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/GlobalClustersMessage AWS API Documentation
|
5914
|
+
#
|
5915
|
+
class GlobalClustersMessage < Struct.new(
|
5916
|
+
:marker,
|
5917
|
+
:global_clusters)
|
5918
|
+
SENSITIVE = []
|
5919
|
+
include Aws::Structure
|
5920
|
+
end
|
5921
|
+
|
5572
5922
|
# Request would result in user exceeding the allowed number of DB
|
5573
5923
|
# instances.
|
5574
5924
|
#
|
@@ -5661,6 +6011,13 @@ module Aws::Neptune
|
|
5661
6011
|
#
|
5662
6012
|
class InvalidEventSubscriptionStateFault < Aws::EmptyStructure; end
|
5663
6013
|
|
6014
|
+
# The global cluster is in an invalid state and can't perform the
|
6015
|
+
# requested operation.
|
6016
|
+
#
|
6017
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/InvalidGlobalClusterStateFault AWS API Documentation
|
6018
|
+
#
|
6019
|
+
class InvalidGlobalClusterStateFault < Aws::EmptyStructure; end
|
6020
|
+
|
5664
6021
|
# Cannot restore from vpc backup to non-vpc DB instance.
|
5665
6022
|
#
|
5666
6023
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/InvalidRestoreFault AWS API Documentation
|
@@ -5766,8 +6123,8 @@ module Aws::Neptune
|
|
5766
6123
|
end
|
5767
6124
|
|
5768
6125
|
# This data type represents the information you need to connect to an
|
5769
|
-
# Amazon
|
5770
|
-
# in the following actions:
|
6126
|
+
# Amazon Neptune DB cluster. This data type is used as a response
|
6127
|
+
# element in the following actions:
|
5771
6128
|
#
|
5772
6129
|
# * `CreateDBClusterEndpoint`
|
5773
6130
|
#
|
@@ -6826,6 +7183,98 @@ module Aws::Neptune
|
|
6826
7183
|
include Aws::Structure
|
6827
7184
|
end
|
6828
7185
|
|
7186
|
+
# @note When making an API call, you may pass ModifyGlobalClusterMessage
|
7187
|
+
# data as a hash:
|
7188
|
+
#
|
7189
|
+
# {
|
7190
|
+
# global_cluster_identifier: "GlobalClusterIdentifier", # required
|
7191
|
+
# new_global_cluster_identifier: "GlobalClusterIdentifier",
|
7192
|
+
# deletion_protection: false,
|
7193
|
+
# engine_version: "String",
|
7194
|
+
# allow_major_version_upgrade: false,
|
7195
|
+
# }
|
7196
|
+
#
|
7197
|
+
# @!attribute [rw] global_cluster_identifier
|
7198
|
+
# The DB cluster identifier for the global cluster being modified.
|
7199
|
+
# This parameter is not case-sensitive.
|
7200
|
+
#
|
7201
|
+
# Constraints: Must match the identifier of an existing global
|
7202
|
+
# database cluster.
|
7203
|
+
# @return [String]
|
7204
|
+
#
|
7205
|
+
# @!attribute [rw] new_global_cluster_identifier
|
7206
|
+
# A new cluster identifier to assign to the global database. This
|
7207
|
+
# value is stored as a lowercase string.
|
7208
|
+
#
|
7209
|
+
# Constraints:
|
7210
|
+
#
|
7211
|
+
# * Must contain from 1 to 63 letters, numbers, or hyphens.
|
7212
|
+
#
|
7213
|
+
# * The first character must be a letter.
|
7214
|
+
#
|
7215
|
+
# * Can't end with a hyphen or contain two consecutive hyphens
|
7216
|
+
#
|
7217
|
+
# Example: `my-cluster2`
|
7218
|
+
# @return [String]
|
7219
|
+
#
|
7220
|
+
# @!attribute [rw] deletion_protection
|
7221
|
+
# Indicates whether the global database has deletion protection
|
7222
|
+
# enabled. The global database cannot be deleted when deletion
|
7223
|
+
# protection is enabled.
|
7224
|
+
# @return [Boolean]
|
7225
|
+
#
|
7226
|
+
# @!attribute [rw] engine_version
|
7227
|
+
# The version number of the database engine to which you want to
|
7228
|
+
# upgrade. Changing this parameter will result in an outage. The
|
7229
|
+
# change is applied during the next maintenance window unless
|
7230
|
+
# `ApplyImmediately` is enabled.
|
7231
|
+
#
|
7232
|
+
# To list all of the available Neptune engine versions, use the
|
7233
|
+
# following command:
|
7234
|
+
# @return [String]
|
7235
|
+
#
|
7236
|
+
# @!attribute [rw] allow_major_version_upgrade
|
7237
|
+
# A value that indicates whether major version upgrades are allowed.
|
7238
|
+
#
|
7239
|
+
# Constraints: You must allow major version upgrades if you specify a
|
7240
|
+
# value for the `EngineVersion` parameter that is a different major
|
7241
|
+
# version than the DB cluster's current version.
|
7242
|
+
#
|
7243
|
+
# If you upgrade the major version of a global database, the cluster
|
7244
|
+
# and DB instance parameter groups are set to the default parameter
|
7245
|
+
# groups for the new version, so you will need to apply any custom
|
7246
|
+
# parameter groups after completing the upgrade.
|
7247
|
+
# @return [Boolean]
|
7248
|
+
#
|
7249
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyGlobalClusterMessage AWS API Documentation
|
7250
|
+
#
|
7251
|
+
class ModifyGlobalClusterMessage < Struct.new(
|
7252
|
+
:global_cluster_identifier,
|
7253
|
+
:new_global_cluster_identifier,
|
7254
|
+
:deletion_protection,
|
7255
|
+
:engine_version,
|
7256
|
+
:allow_major_version_upgrade)
|
7257
|
+
SENSITIVE = []
|
7258
|
+
include Aws::Structure
|
7259
|
+
end
|
7260
|
+
|
7261
|
+
# @!attribute [rw] global_cluster
|
7262
|
+
# Contains the details of an Amazon Neptune global database.
|
7263
|
+
#
|
7264
|
+
# This data type is used as a response element for the
|
7265
|
+
# CreateGlobalCluster, DescribeGlobalClusters, ModifyGlobalCluster,
|
7266
|
+
# DeleteGlobalCluster, FailoverGlobalCluster, and
|
7267
|
+
# RemoveFromGlobalCluster actions.
|
7268
|
+
# @return [Types::GlobalCluster]
|
7269
|
+
#
|
7270
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyGlobalClusterResult AWS API Documentation
|
7271
|
+
#
|
7272
|
+
class ModifyGlobalClusterResult < Struct.new(
|
7273
|
+
:global_cluster)
|
7274
|
+
SENSITIVE = []
|
7275
|
+
include Aws::Structure
|
7276
|
+
end
|
7277
|
+
|
6829
7278
|
# Not supported by Neptune.
|
6830
7279
|
#
|
6831
7280
|
# @!attribute [rw] option_group_name
|
@@ -6938,6 +7387,11 @@ module Aws::Neptune
|
|
6938
7387
|
# Maximum provisioned IOPS per GiB for a DB instance.
|
6939
7388
|
# @return [Float]
|
6940
7389
|
#
|
7390
|
+
# @!attribute [rw] supports_global_databases
|
7391
|
+
# A value that indicates whether you can use Neptune global databases
|
7392
|
+
# with a specific combination of other DB engine attributes.
|
7393
|
+
# @return [Boolean]
|
7394
|
+
#
|
6941
7395
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/OrderableDBInstanceOption AWS API Documentation
|
6942
7396
|
#
|
6943
7397
|
class OrderableDBInstanceOption < Struct.new(
|
@@ -6960,7 +7414,8 @@ module Aws::Neptune
|
|
6960
7414
|
:min_iops_per_db_instance,
|
6961
7415
|
:max_iops_per_db_instance,
|
6962
7416
|
:min_iops_per_gib,
|
6963
|
-
:max_iops_per_gib
|
7417
|
+
:max_iops_per_gib,
|
7418
|
+
:supports_global_databases)
|
6964
7419
|
SENSITIVE = []
|
6965
7420
|
include Aws::Structure
|
6966
7421
|
end
|
@@ -7365,6 +7820,50 @@ module Aws::Neptune
|
|
7365
7820
|
include Aws::Structure
|
7366
7821
|
end
|
7367
7822
|
|
7823
|
+
# @note When making an API call, you may pass RemoveFromGlobalClusterMessage
|
7824
|
+
# data as a hash:
|
7825
|
+
#
|
7826
|
+
# {
|
7827
|
+
# global_cluster_identifier: "GlobalClusterIdentifier", # required
|
7828
|
+
# db_cluster_identifier: "String", # required
|
7829
|
+
# }
|
7830
|
+
#
|
7831
|
+
# @!attribute [rw] global_cluster_identifier
|
7832
|
+
# The identifier of the Neptune global database from which to detach
|
7833
|
+
# the specified Neptune DB cluster.
|
7834
|
+
# @return [String]
|
7835
|
+
#
|
7836
|
+
# @!attribute [rw] db_cluster_identifier
|
7837
|
+
# The Amazon Resource Name (ARN) identifying the cluster to be
|
7838
|
+
# detached from the Neptune global database cluster.
|
7839
|
+
# @return [String]
|
7840
|
+
#
|
7841
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RemoveFromGlobalClusterMessage AWS API Documentation
|
7842
|
+
#
|
7843
|
+
class RemoveFromGlobalClusterMessage < Struct.new(
|
7844
|
+
:global_cluster_identifier,
|
7845
|
+
:db_cluster_identifier)
|
7846
|
+
SENSITIVE = []
|
7847
|
+
include Aws::Structure
|
7848
|
+
end
|
7849
|
+
|
7850
|
+
# @!attribute [rw] global_cluster
|
7851
|
+
# Contains the details of an Amazon Neptune global database.
|
7852
|
+
#
|
7853
|
+
# This data type is used as a response element for the
|
7854
|
+
# CreateGlobalCluster, DescribeGlobalClusters, ModifyGlobalCluster,
|
7855
|
+
# DeleteGlobalCluster, FailoverGlobalCluster, and
|
7856
|
+
# RemoveFromGlobalCluster actions.
|
7857
|
+
# @return [Types::GlobalCluster]
|
7858
|
+
#
|
7859
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RemoveFromGlobalClusterResult AWS API Documentation
|
7860
|
+
#
|
7861
|
+
class RemoveFromGlobalClusterResult < Struct.new(
|
7862
|
+
:global_cluster)
|
7863
|
+
SENSITIVE = []
|
7864
|
+
include Aws::Structure
|
7865
|
+
end
|
7866
|
+
|
7368
7867
|
# @note When making an API call, you may pass RemoveRoleFromDBClusterMessage
|
7369
7868
|
# data as a hash:
|
7370
7869
|
#
|
@@ -8295,6 +8794,11 @@ module Aws::Neptune
|
|
8295
8794
|
# major version.
|
8296
8795
|
# @return [Boolean]
|
8297
8796
|
#
|
8797
|
+
# @!attribute [rw] supports_global_databases
|
8798
|
+
# A value that indicates whether you can use Neptune global databases
|
8799
|
+
# with the target engine version.
|
8800
|
+
# @return [Boolean]
|
8801
|
+
#
|
8298
8802
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/UpgradeTarget AWS API Documentation
|
8299
8803
|
#
|
8300
8804
|
class UpgradeTarget < Struct.new(
|
@@ -8302,7 +8806,8 @@ module Aws::Neptune
|
|
8302
8806
|
:engine_version,
|
8303
8807
|
:description,
|
8304
8808
|
:auto_upgrade,
|
8305
|
-
:is_major_version_upgrade
|
8809
|
+
:is_major_version_upgrade,
|
8810
|
+
:supports_global_databases)
|
8306
8811
|
SENSITIVE = []
|
8307
8812
|
include Aws::Structure
|
8308
8813
|
end
|
data/lib/aws-sdk-neptune.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-neptune
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.46.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|