aws-sdk-neptune 1.28.0 → 1.33.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-neptune.rb +2 -1
- data/lib/aws-sdk-neptune/client.rb +336 -13
- data/lib/aws-sdk-neptune/client_api.rb +161 -0
- data/lib/aws-sdk-neptune/errors.rb +44 -0
- data/lib/aws-sdk-neptune/plugins/cross_region_copying.rb +67 -0
- data/lib/aws-sdk-neptune/types.rb +637 -17
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71c4f48785dd367dff87cb2368dd78ddedfda775ae76aaa41947704daec77a54
|
4
|
+
data.tar.gz: 20a12ae855aa6ce69dc65326184ce64be1c1306a33822f5142a5661d956fb4d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d6d531574f2f0b246b99cd9ab648156e54a468dd18b0d2762b50ea04210168c046753eed46000e41d980bc06c90af638397f2080af722dbae2d4d5e89826896
|
7
|
+
data.tar.gz: e2520a93eac880ff259889aa7d7835effad3d705e1925b85d8dfe2373d57f02df167040c1776c8907653ddc49432ed4cb014144af29199613dfcb20f03fb890f
|
data/lib/aws-sdk-neptune.rb
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -48,6 +49,6 @@ require_relative 'aws-sdk-neptune/customizations'
|
|
48
49
|
# @!group service
|
49
50
|
module Aws::Neptune
|
50
51
|
|
51
|
-
GEM_VERSION = '1.
|
52
|
+
GEM_VERSION = '1.33.0'
|
52
53
|
|
53
54
|
end
|
@@ -29,6 +29,7 @@ require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
31
|
require 'aws-sdk-core/plugins/protocols/query.rb'
|
32
|
+
require 'aws-sdk-neptune/plugins/cross_region_copying.rb'
|
32
33
|
|
33
34
|
Aws::Plugins::GlobalConfiguration.add_identifier(:neptune)
|
34
35
|
|
@@ -75,6 +76,7 @@ module Aws::Neptune
|
|
75
76
|
add_plugin(Aws::Plugins::HttpChecksum)
|
76
77
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
78
|
add_plugin(Aws::Plugins::Protocols::Query)
|
79
|
+
add_plugin(Aws::Neptune::Plugins::CrossRegionCopying)
|
78
80
|
|
79
81
|
# @overload initialize(options)
|
80
82
|
# @param [Hash] options
|
@@ -338,6 +340,11 @@ module Aws::Neptune
|
|
338
340
|
# Neptune DB cluster, for example
|
339
341
|
# `arn:aws:iam::123456789012:role/NeptuneAccessRole`.
|
340
342
|
#
|
343
|
+
# @option params [String] :feature_name
|
344
|
+
# The name of the feature for the Neptune DB cluster that the IAM role
|
345
|
+
# is to be associated with. For the list of supported feature names, see
|
346
|
+
# DBEngineVersion.
|
347
|
+
#
|
341
348
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
342
349
|
#
|
343
350
|
# @example Request syntax with placeholder values
|
@@ -345,6 +352,7 @@ module Aws::Neptune
|
|
345
352
|
# resp = client.add_role_to_db_cluster({
|
346
353
|
# db_cluster_identifier: "String", # required
|
347
354
|
# role_arn: "String", # required
|
355
|
+
# feature_name: "String",
|
348
356
|
# })
|
349
357
|
#
|
350
358
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/AddRoleToDBCluster AWS API Documentation
|
@@ -663,6 +671,10 @@ module Aws::Neptune
|
|
663
671
|
# @option params [Array<Types::Tag>] :tags
|
664
672
|
# The tags to assign to the new DB cluster snapshot copy.
|
665
673
|
#
|
674
|
+
# @option params [String] :source_region
|
675
|
+
# The source region of the snapshot. This is only needed when the
|
676
|
+
# shapshot is encrypted and in a different region.
|
677
|
+
#
|
666
678
|
# @return [Types::CopyDBClusterSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
667
679
|
#
|
668
680
|
# * {Types::CopyDBClusterSnapshotResult#db_cluster_snapshot #db_cluster_snapshot} => Types::DBClusterSnapshot
|
@@ -681,6 +693,7 @@ module Aws::Neptune
|
|
681
693
|
# value: "String",
|
682
694
|
# },
|
683
695
|
# ],
|
696
|
+
# source_region: "String",
|
684
697
|
# })
|
685
698
|
#
|
686
699
|
# @example Response structure
|
@@ -867,10 +880,10 @@ module Aws::Neptune
|
|
867
880
|
# Valid Values: `neptune`
|
868
881
|
#
|
869
882
|
# @option params [String] :engine_version
|
870
|
-
# The version number of the database engine to use
|
871
|
-
#
|
883
|
+
# The version number of the database engine to use for the new DB
|
884
|
+
# cluster.
|
872
885
|
#
|
873
|
-
# Example: `1.0.1`
|
886
|
+
# Example: `1.0.2.1`
|
874
887
|
#
|
875
888
|
# @option params [Integer] :port
|
876
889
|
# The port number on which the instances in the DB cluster accept
|
@@ -984,10 +997,7 @@ module Aws::Neptune
|
|
984
997
|
# This parameter is not currently supported.
|
985
998
|
#
|
986
999
|
# @option params [Boolean] :enable_iam_database_authentication
|
987
|
-
#
|
988
|
-
# accounts to database accounts, and otherwise false.
|
989
|
-
#
|
990
|
-
# Default: `false`
|
1000
|
+
# Not supported by Neptune.
|
991
1001
|
#
|
992
1002
|
# @option params [Array<String>] :enable_cloudwatch_logs_exports
|
993
1003
|
# The list of log types that need to be enabled for exporting to
|
@@ -998,6 +1008,10 @@ module Aws::Neptune
|
|
998
1008
|
# enabled. The database can't be deleted when deletion protection is
|
999
1009
|
# enabled. By default, deletion protection is enabled.
|
1000
1010
|
#
|
1011
|
+
# @option params [String] :source_region
|
1012
|
+
# The source region of the snapshot. This is only needed when the
|
1013
|
+
# shapshot is encrypted and in a different region.
|
1014
|
+
#
|
1001
1015
|
# @return [Types::CreateDBClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1002
1016
|
#
|
1003
1017
|
# * {Types::CreateDBClusterResult#db_cluster #db_cluster} => Types::DBCluster
|
@@ -1034,6 +1048,7 @@ module Aws::Neptune
|
|
1034
1048
|
# enable_iam_database_authentication: false,
|
1035
1049
|
# enable_cloudwatch_logs_exports: ["String"],
|
1036
1050
|
# deletion_protection: false,
|
1051
|
+
# source_region: "String",
|
1037
1052
|
# })
|
1038
1053
|
#
|
1039
1054
|
# @example Response structure
|
@@ -1082,6 +1097,7 @@ module Aws::Neptune
|
|
1082
1097
|
# resp.db_cluster.associated_roles #=> Array
|
1083
1098
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
1084
1099
|
# resp.db_cluster.associated_roles[0].status #=> String
|
1100
|
+
# resp.db_cluster.associated_roles[0].feature_name #=> String
|
1085
1101
|
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
|
1086
1102
|
# resp.db_cluster.clone_group_id #=> String
|
1087
1103
|
# resp.db_cluster.cluster_create_time #=> Time
|
@@ -1098,6 +1114,85 @@ module Aws::Neptune
|
|
1098
1114
|
req.send_request(options)
|
1099
1115
|
end
|
1100
1116
|
|
1117
|
+
# Creates a new custom endpoint and associates it with an Amazon Neptune
|
1118
|
+
# DB cluster.
|
1119
|
+
#
|
1120
|
+
# @option params [required, String] :db_cluster_identifier
|
1121
|
+
# The DB cluster identifier of the DB cluster associated with the
|
1122
|
+
# endpoint. This parameter is stored as a lowercase string.
|
1123
|
+
#
|
1124
|
+
# @option params [required, String] :db_cluster_endpoint_identifier
|
1125
|
+
# The identifier to use for the new endpoint. This parameter is stored
|
1126
|
+
# as a lowercase string.
|
1127
|
+
#
|
1128
|
+
# @option params [required, String] :endpoint_type
|
1129
|
+
# The type of the endpoint. One of: `READER`, `WRITER`, `ANY`.
|
1130
|
+
#
|
1131
|
+
# @option params [Array<String>] :static_members
|
1132
|
+
# List of DB instance identifiers that are part of the custom endpoint
|
1133
|
+
# group.
|
1134
|
+
#
|
1135
|
+
# @option params [Array<String>] :excluded_members
|
1136
|
+
# List of DB instance identifiers that aren't part of the custom
|
1137
|
+
# endpoint group. All other eligible instances are reachable through the
|
1138
|
+
# custom endpoint. Only relevant if the list of static members is empty.
|
1139
|
+
#
|
1140
|
+
# @option params [Array<Types::Tag>] :tags
|
1141
|
+
# The tags to be assigned to the Amazon Neptune resource.
|
1142
|
+
#
|
1143
|
+
# @return [Types::CreateDBClusterEndpointOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1144
|
+
#
|
1145
|
+
# * {Types::CreateDBClusterEndpointOutput#db_cluster_endpoint_identifier #db_cluster_endpoint_identifier} => String
|
1146
|
+
# * {Types::CreateDBClusterEndpointOutput#db_cluster_identifier #db_cluster_identifier} => String
|
1147
|
+
# * {Types::CreateDBClusterEndpointOutput#db_cluster_endpoint_resource_identifier #db_cluster_endpoint_resource_identifier} => String
|
1148
|
+
# * {Types::CreateDBClusterEndpointOutput#endpoint #endpoint} => String
|
1149
|
+
# * {Types::CreateDBClusterEndpointOutput#status #status} => String
|
1150
|
+
# * {Types::CreateDBClusterEndpointOutput#endpoint_type #endpoint_type} => String
|
1151
|
+
# * {Types::CreateDBClusterEndpointOutput#custom_endpoint_type #custom_endpoint_type} => String
|
1152
|
+
# * {Types::CreateDBClusterEndpointOutput#static_members #static_members} => Array<String>
|
1153
|
+
# * {Types::CreateDBClusterEndpointOutput#excluded_members #excluded_members} => Array<String>
|
1154
|
+
# * {Types::CreateDBClusterEndpointOutput#db_cluster_endpoint_arn #db_cluster_endpoint_arn} => String
|
1155
|
+
#
|
1156
|
+
# @example Request syntax with placeholder values
|
1157
|
+
#
|
1158
|
+
# resp = client.create_db_cluster_endpoint({
|
1159
|
+
# db_cluster_identifier: "String", # required
|
1160
|
+
# db_cluster_endpoint_identifier: "String", # required
|
1161
|
+
# endpoint_type: "String", # required
|
1162
|
+
# static_members: ["String"],
|
1163
|
+
# excluded_members: ["String"],
|
1164
|
+
# tags: [
|
1165
|
+
# {
|
1166
|
+
# key: "String",
|
1167
|
+
# value: "String",
|
1168
|
+
# },
|
1169
|
+
# ],
|
1170
|
+
# })
|
1171
|
+
#
|
1172
|
+
# @example Response structure
|
1173
|
+
#
|
1174
|
+
# resp.db_cluster_endpoint_identifier #=> String
|
1175
|
+
# resp.db_cluster_identifier #=> String
|
1176
|
+
# resp.db_cluster_endpoint_resource_identifier #=> String
|
1177
|
+
# resp.endpoint #=> String
|
1178
|
+
# resp.status #=> String
|
1179
|
+
# resp.endpoint_type #=> String
|
1180
|
+
# resp.custom_endpoint_type #=> String
|
1181
|
+
# resp.static_members #=> Array
|
1182
|
+
# resp.static_members[0] #=> String
|
1183
|
+
# resp.excluded_members #=> Array
|
1184
|
+
# resp.excluded_members[0] #=> String
|
1185
|
+
# resp.db_cluster_endpoint_arn #=> String
|
1186
|
+
#
|
1187
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBClusterEndpoint AWS API Documentation
|
1188
|
+
#
|
1189
|
+
# @overload create_db_cluster_endpoint(params = {})
|
1190
|
+
# @param [Hash] params ({})
|
1191
|
+
def create_db_cluster_endpoint(params = {}, options = {})
|
1192
|
+
req = build_request(:create_db_cluster_endpoint, params)
|
1193
|
+
req.send_request(options)
|
1194
|
+
end
|
1195
|
+
|
1101
1196
|
# Creates a new DB cluster parameter group.
|
1102
1197
|
#
|
1103
1198
|
# Parameters in a DB cluster parameter group apply to all of the
|
@@ -2100,6 +2195,7 @@ module Aws::Neptune
|
|
2100
2195
|
# resp.db_cluster.associated_roles #=> Array
|
2101
2196
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
2102
2197
|
# resp.db_cluster.associated_roles[0].status #=> String
|
2198
|
+
# resp.db_cluster.associated_roles[0].feature_name #=> String
|
2103
2199
|
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
|
2104
2200
|
# resp.db_cluster.clone_group_id #=> String
|
2105
2201
|
# resp.db_cluster.cluster_create_time #=> Time
|
@@ -2116,6 +2212,56 @@ module Aws::Neptune
|
|
2116
2212
|
req.send_request(options)
|
2117
2213
|
end
|
2118
2214
|
|
2215
|
+
# Deletes a custom endpoint and removes it from an Amazon Neptune DB
|
2216
|
+
# cluster.
|
2217
|
+
#
|
2218
|
+
# @option params [required, String] :db_cluster_endpoint_identifier
|
2219
|
+
# The identifier associated with the custom endpoint. This parameter is
|
2220
|
+
# stored as a lowercase string.
|
2221
|
+
#
|
2222
|
+
# @return [Types::DeleteDBClusterEndpointOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2223
|
+
#
|
2224
|
+
# * {Types::DeleteDBClusterEndpointOutput#db_cluster_endpoint_identifier #db_cluster_endpoint_identifier} => String
|
2225
|
+
# * {Types::DeleteDBClusterEndpointOutput#db_cluster_identifier #db_cluster_identifier} => String
|
2226
|
+
# * {Types::DeleteDBClusterEndpointOutput#db_cluster_endpoint_resource_identifier #db_cluster_endpoint_resource_identifier} => String
|
2227
|
+
# * {Types::DeleteDBClusterEndpointOutput#endpoint #endpoint} => String
|
2228
|
+
# * {Types::DeleteDBClusterEndpointOutput#status #status} => String
|
2229
|
+
# * {Types::DeleteDBClusterEndpointOutput#endpoint_type #endpoint_type} => String
|
2230
|
+
# * {Types::DeleteDBClusterEndpointOutput#custom_endpoint_type #custom_endpoint_type} => String
|
2231
|
+
# * {Types::DeleteDBClusterEndpointOutput#static_members #static_members} => Array<String>
|
2232
|
+
# * {Types::DeleteDBClusterEndpointOutput#excluded_members #excluded_members} => Array<String>
|
2233
|
+
# * {Types::DeleteDBClusterEndpointOutput#db_cluster_endpoint_arn #db_cluster_endpoint_arn} => String
|
2234
|
+
#
|
2235
|
+
# @example Request syntax with placeholder values
|
2236
|
+
#
|
2237
|
+
# resp = client.delete_db_cluster_endpoint({
|
2238
|
+
# db_cluster_endpoint_identifier: "String", # required
|
2239
|
+
# })
|
2240
|
+
#
|
2241
|
+
# @example Response structure
|
2242
|
+
#
|
2243
|
+
# resp.db_cluster_endpoint_identifier #=> String
|
2244
|
+
# resp.db_cluster_identifier #=> String
|
2245
|
+
# resp.db_cluster_endpoint_resource_identifier #=> String
|
2246
|
+
# resp.endpoint #=> String
|
2247
|
+
# resp.status #=> String
|
2248
|
+
# resp.endpoint_type #=> String
|
2249
|
+
# resp.custom_endpoint_type #=> String
|
2250
|
+
# resp.static_members #=> Array
|
2251
|
+
# resp.static_members[0] #=> String
|
2252
|
+
# resp.excluded_members #=> Array
|
2253
|
+
# resp.excluded_members[0] #=> String
|
2254
|
+
# resp.db_cluster_endpoint_arn #=> String
|
2255
|
+
#
|
2256
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBClusterEndpoint AWS API Documentation
|
2257
|
+
#
|
2258
|
+
# @overload delete_db_cluster_endpoint(params = {})
|
2259
|
+
# @param [Hash] params ({})
|
2260
|
+
def delete_db_cluster_endpoint(params = {}, options = {})
|
2261
|
+
req = build_request(:delete_db_cluster_endpoint, params)
|
2262
|
+
req.send_request(options)
|
2263
|
+
end
|
2264
|
+
|
2119
2265
|
# Deletes a specified DB cluster parameter group. The DB cluster
|
2120
2266
|
# parameter group to be deleted can't be associated with any DB
|
2121
2267
|
# clusters.
|
@@ -2503,6 +2649,98 @@ module Aws::Neptune
|
|
2503
2649
|
req.send_request(options)
|
2504
2650
|
end
|
2505
2651
|
|
2652
|
+
# Returns information about endpoints for an Amazon Neptune DB cluster.
|
2653
|
+
#
|
2654
|
+
# <note markdown="1"> This operation can also return information for Amazon RDS clusters and
|
2655
|
+
# Amazon DocDB clusters.
|
2656
|
+
#
|
2657
|
+
# </note>
|
2658
|
+
#
|
2659
|
+
# @option params [String] :db_cluster_identifier
|
2660
|
+
# The DB cluster identifier of the DB cluster associated with the
|
2661
|
+
# endpoint. This parameter is stored as a lowercase string.
|
2662
|
+
#
|
2663
|
+
# @option params [String] :db_cluster_endpoint_identifier
|
2664
|
+
# The identifier of the endpoint to describe. This parameter is stored
|
2665
|
+
# as a lowercase string.
|
2666
|
+
#
|
2667
|
+
# @option params [Array<Types::Filter>] :filters
|
2668
|
+
# A set of name-value pairs that define which endpoints to include in
|
2669
|
+
# the output. The filters are specified as name-value pairs, in the
|
2670
|
+
# format `Name=endpoint_type,Values=endpoint_type1,endpoint_type2,...`.
|
2671
|
+
# `Name` can be one of: `db-cluster-endpoint-type`,
|
2672
|
+
# `db-cluster-endpoint-custom-type`, `db-cluster-endpoint-id`,
|
2673
|
+
# `db-cluster-endpoint-status`. `Values` for the `
|
2674
|
+
# db-cluster-endpoint-type` filter can be one or more of: `reader`,
|
2675
|
+
# `writer`, `custom`. `Values` for the `db-cluster-endpoint-custom-type`
|
2676
|
+
# filter can be one or more of: `reader`, `any`. `Values` for the
|
2677
|
+
# `db-cluster-endpoint-status` filter can be one or more of:
|
2678
|
+
# `available`, `creating`, `deleting`, `inactive`, `modifying`.
|
2679
|
+
#
|
2680
|
+
# @option params [Integer] :max_records
|
2681
|
+
# The maximum number of records to include in the response. If more
|
2682
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
2683
|
+
# token called a marker is included in the response so you can retrieve
|
2684
|
+
# the remaining results.
|
2685
|
+
#
|
2686
|
+
# Default: 100
|
2687
|
+
#
|
2688
|
+
# Constraints: Minimum 20, maximum 100.
|
2689
|
+
#
|
2690
|
+
# @option params [String] :marker
|
2691
|
+
# An optional pagination token provided by a previous
|
2692
|
+
# `DescribeDBClusterEndpoints` request. If this parameter is specified,
|
2693
|
+
# the response includes only records beyond the marker, up to the value
|
2694
|
+
# specified by `MaxRecords`.
|
2695
|
+
#
|
2696
|
+
# @return [Types::DBClusterEndpointMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2697
|
+
#
|
2698
|
+
# * {Types::DBClusterEndpointMessage#marker #marker} => String
|
2699
|
+
# * {Types::DBClusterEndpointMessage#db_cluster_endpoints #db_cluster_endpoints} => Array<Types::DBClusterEndpoint>
|
2700
|
+
#
|
2701
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2702
|
+
#
|
2703
|
+
# @example Request syntax with placeholder values
|
2704
|
+
#
|
2705
|
+
# resp = client.describe_db_cluster_endpoints({
|
2706
|
+
# db_cluster_identifier: "String",
|
2707
|
+
# db_cluster_endpoint_identifier: "String",
|
2708
|
+
# filters: [
|
2709
|
+
# {
|
2710
|
+
# name: "String", # required
|
2711
|
+
# values: ["String"], # required
|
2712
|
+
# },
|
2713
|
+
# ],
|
2714
|
+
# max_records: 1,
|
2715
|
+
# marker: "String",
|
2716
|
+
# })
|
2717
|
+
#
|
2718
|
+
# @example Response structure
|
2719
|
+
#
|
2720
|
+
# resp.marker #=> String
|
2721
|
+
# resp.db_cluster_endpoints #=> Array
|
2722
|
+
# resp.db_cluster_endpoints[0].db_cluster_endpoint_identifier #=> String
|
2723
|
+
# resp.db_cluster_endpoints[0].db_cluster_identifier #=> String
|
2724
|
+
# resp.db_cluster_endpoints[0].db_cluster_endpoint_resource_identifier #=> String
|
2725
|
+
# resp.db_cluster_endpoints[0].endpoint #=> String
|
2726
|
+
# resp.db_cluster_endpoints[0].status #=> String
|
2727
|
+
# resp.db_cluster_endpoints[0].endpoint_type #=> String
|
2728
|
+
# resp.db_cluster_endpoints[0].custom_endpoint_type #=> String
|
2729
|
+
# resp.db_cluster_endpoints[0].static_members #=> Array
|
2730
|
+
# resp.db_cluster_endpoints[0].static_members[0] #=> String
|
2731
|
+
# resp.db_cluster_endpoints[0].excluded_members #=> Array
|
2732
|
+
# resp.db_cluster_endpoints[0].excluded_members[0] #=> String
|
2733
|
+
# resp.db_cluster_endpoints[0].db_cluster_endpoint_arn #=> String
|
2734
|
+
#
|
2735
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBClusterEndpoints AWS API Documentation
|
2736
|
+
#
|
2737
|
+
# @overload describe_db_cluster_endpoints(params = {})
|
2738
|
+
# @param [Hash] params ({})
|
2739
|
+
def describe_db_cluster_endpoints(params = {}, options = {})
|
2740
|
+
req = build_request(:describe_db_cluster_endpoints, params)
|
2741
|
+
req.send_request(options)
|
2742
|
+
end
|
2743
|
+
|
2506
2744
|
# Returns a list of `DBClusterParameterGroup` descriptions. If a
|
2507
2745
|
# `DBClusterParameterGroupName` parameter is specified, the list will
|
2508
2746
|
# contain only the description of the specified DB cluster parameter
|
@@ -2968,6 +3206,7 @@ module Aws::Neptune
|
|
2968
3206
|
# resp.db_clusters[0].associated_roles #=> Array
|
2969
3207
|
# resp.db_clusters[0].associated_roles[0].role_arn #=> String
|
2970
3208
|
# resp.db_clusters[0].associated_roles[0].status #=> String
|
3209
|
+
# resp.db_clusters[0].associated_roles[0].feature_name #=> String
|
2971
3210
|
# resp.db_clusters[0].iam_database_authentication_enabled #=> Boolean
|
2972
3211
|
# resp.db_clusters[0].clone_group_id #=> String
|
2973
3212
|
# resp.db_clusters[0].cluster_create_time #=> Time
|
@@ -4215,6 +4454,7 @@ module Aws::Neptune
|
|
4215
4454
|
# resp.db_cluster.associated_roles #=> Array
|
4216
4455
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
4217
4456
|
# resp.db_cluster.associated_roles[0].status #=> String
|
4457
|
+
# resp.db_cluster.associated_roles[0].feature_name #=> String
|
4218
4458
|
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
|
4219
4459
|
# resp.db_cluster.clone_group_id #=> String
|
4220
4460
|
# resp.db_cluster.cluster_create_time #=> Time
|
@@ -4398,12 +4638,18 @@ module Aws::Neptune
|
|
4398
4638
|
# to CloudWatch Logs for a specific DB cluster.
|
4399
4639
|
#
|
4400
4640
|
# @option params [String] :engine_version
|
4401
|
-
# The version number of the database engine
|
4402
|
-
#
|
4403
|
-
#
|
4641
|
+
# The version number of the database engine to which you want to
|
4642
|
+
# upgrade. Changing this parameter results in an outage. The change is
|
4643
|
+
# applied during the next maintenance window unless the
|
4644
|
+
# `ApplyImmediately` parameter is set to true.
|
4645
|
+
#
|
4646
|
+
# For a list of valid engine versions, see [Engine Releases for Amazon
|
4647
|
+
# Neptune][1], or call [DescribeDBEngineVersions][2].
|
4404
4648
|
#
|
4405
|
-
#
|
4406
|
-
#
|
4649
|
+
#
|
4650
|
+
#
|
4651
|
+
# [1]: https://docs.aws.amazon.com/neptune/latest/userguide/engine-releases.html
|
4652
|
+
# [2]: https://docs.aws.amazon.com/neptune/latest/userguide/api-other-apis.html#DescribeDBEngineVersions
|
4407
4653
|
#
|
4408
4654
|
# @option params [Boolean] :deletion_protection
|
4409
4655
|
# A value that indicates whether the DB cluster has deletion protection
|
@@ -4483,6 +4729,7 @@ module Aws::Neptune
|
|
4483
4729
|
# resp.db_cluster.associated_roles #=> Array
|
4484
4730
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
4485
4731
|
# resp.db_cluster.associated_roles[0].status #=> String
|
4732
|
+
# resp.db_cluster.associated_roles[0].feature_name #=> String
|
4486
4733
|
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
|
4487
4734
|
# resp.db_cluster.clone_group_id #=> String
|
4488
4735
|
# resp.db_cluster.cluster_create_time #=> Time
|
@@ -4499,6 +4746,71 @@ module Aws::Neptune
|
|
4499
4746
|
req.send_request(options)
|
4500
4747
|
end
|
4501
4748
|
|
4749
|
+
# Modifies the properties of an endpoint in an Amazon Neptune DB
|
4750
|
+
# cluster.
|
4751
|
+
#
|
4752
|
+
# @option params [required, String] :db_cluster_endpoint_identifier
|
4753
|
+
# The identifier of the endpoint to modify. This parameter is stored as
|
4754
|
+
# a lowercase string.
|
4755
|
+
#
|
4756
|
+
# @option params [String] :endpoint_type
|
4757
|
+
# The type of the endpoint. One of: `READER`, `WRITER`, `ANY`.
|
4758
|
+
#
|
4759
|
+
# @option params [Array<String>] :static_members
|
4760
|
+
# List of DB instance identifiers that are part of the custom endpoint
|
4761
|
+
# group.
|
4762
|
+
#
|
4763
|
+
# @option params [Array<String>] :excluded_members
|
4764
|
+
# List of DB instance identifiers that aren't part of the custom
|
4765
|
+
# endpoint group. All other eligible instances are reachable through the
|
4766
|
+
# custom endpoint. Only relevant if the list of static members is empty.
|
4767
|
+
#
|
4768
|
+
# @return [Types::ModifyDBClusterEndpointOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4769
|
+
#
|
4770
|
+
# * {Types::ModifyDBClusterEndpointOutput#db_cluster_endpoint_identifier #db_cluster_endpoint_identifier} => String
|
4771
|
+
# * {Types::ModifyDBClusterEndpointOutput#db_cluster_identifier #db_cluster_identifier} => String
|
4772
|
+
# * {Types::ModifyDBClusterEndpointOutput#db_cluster_endpoint_resource_identifier #db_cluster_endpoint_resource_identifier} => String
|
4773
|
+
# * {Types::ModifyDBClusterEndpointOutput#endpoint #endpoint} => String
|
4774
|
+
# * {Types::ModifyDBClusterEndpointOutput#status #status} => String
|
4775
|
+
# * {Types::ModifyDBClusterEndpointOutput#endpoint_type #endpoint_type} => String
|
4776
|
+
# * {Types::ModifyDBClusterEndpointOutput#custom_endpoint_type #custom_endpoint_type} => String
|
4777
|
+
# * {Types::ModifyDBClusterEndpointOutput#static_members #static_members} => Array<String>
|
4778
|
+
# * {Types::ModifyDBClusterEndpointOutput#excluded_members #excluded_members} => Array<String>
|
4779
|
+
# * {Types::ModifyDBClusterEndpointOutput#db_cluster_endpoint_arn #db_cluster_endpoint_arn} => String
|
4780
|
+
#
|
4781
|
+
# @example Request syntax with placeholder values
|
4782
|
+
#
|
4783
|
+
# resp = client.modify_db_cluster_endpoint({
|
4784
|
+
# db_cluster_endpoint_identifier: "String", # required
|
4785
|
+
# endpoint_type: "String",
|
4786
|
+
# static_members: ["String"],
|
4787
|
+
# excluded_members: ["String"],
|
4788
|
+
# })
|
4789
|
+
#
|
4790
|
+
# @example Response structure
|
4791
|
+
#
|
4792
|
+
# resp.db_cluster_endpoint_identifier #=> String
|
4793
|
+
# resp.db_cluster_identifier #=> String
|
4794
|
+
# resp.db_cluster_endpoint_resource_identifier #=> String
|
4795
|
+
# resp.endpoint #=> String
|
4796
|
+
# resp.status #=> String
|
4797
|
+
# resp.endpoint_type #=> String
|
4798
|
+
# resp.custom_endpoint_type #=> String
|
4799
|
+
# resp.static_members #=> Array
|
4800
|
+
# resp.static_members[0] #=> String
|
4801
|
+
# resp.excluded_members #=> Array
|
4802
|
+
# resp.excluded_members[0] #=> String
|
4803
|
+
# resp.db_cluster_endpoint_arn #=> String
|
4804
|
+
#
|
4805
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBClusterEndpoint AWS API Documentation
|
4806
|
+
#
|
4807
|
+
# @overload modify_db_cluster_endpoint(params = {})
|
4808
|
+
# @param [Hash] params ({})
|
4809
|
+
def modify_db_cluster_endpoint(params = {}, options = {})
|
4810
|
+
req = build_request(:modify_db_cluster_endpoint, params)
|
4811
|
+
req.send_request(options)
|
4812
|
+
end
|
4813
|
+
|
4502
4814
|
# Modifies the parameters of a DB cluster parameter group. To modify
|
4503
4815
|
# more than one parameter, submit a list of the following:
|
4504
4816
|
# `ParameterName`, `ParameterValue`, and `ApplyMethod`. A maximum of 20
|
@@ -5374,6 +5686,7 @@ module Aws::Neptune
|
|
5374
5686
|
# resp.db_cluster.associated_roles #=> Array
|
5375
5687
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
5376
5688
|
# resp.db_cluster.associated_roles[0].status #=> String
|
5689
|
+
# resp.db_cluster.associated_roles[0].feature_name #=> String
|
5377
5690
|
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
|
5378
5691
|
# resp.db_cluster.clone_group_id #=> String
|
5379
5692
|
# resp.db_cluster.cluster_create_time #=> Time
|
@@ -5547,6 +5860,11 @@ module Aws::Neptune
|
|
5547
5860
|
# the DB cluster, for example
|
5548
5861
|
# `arn:aws:iam::123456789012:role/NeptuneAccessRole`.
|
5549
5862
|
#
|
5863
|
+
# @option params [String] :feature_name
|
5864
|
+
# The name of the feature for the DB cluster that the IAM role is to be
|
5865
|
+
# disassociated from. For the list of supported feature names, see
|
5866
|
+
# DBEngineVersion.
|
5867
|
+
#
|
5550
5868
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
5551
5869
|
#
|
5552
5870
|
# @example Request syntax with placeholder values
|
@@ -5554,6 +5872,7 @@ module Aws::Neptune
|
|
5554
5872
|
# resp = client.remove_role_from_db_cluster({
|
5555
5873
|
# db_cluster_identifier: "String", # required
|
5556
5874
|
# role_arn: "String", # required
|
5875
|
+
# feature_name: "String",
|
5557
5876
|
# })
|
5558
5877
|
#
|
5559
5878
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RemoveRoleFromDBCluster AWS API Documentation
|
@@ -5981,6 +6300,7 @@ module Aws::Neptune
|
|
5981
6300
|
# resp.db_cluster.associated_roles #=> Array
|
5982
6301
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
5983
6302
|
# resp.db_cluster.associated_roles[0].status #=> String
|
6303
|
+
# resp.db_cluster.associated_roles[0].feature_name #=> String
|
5984
6304
|
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
|
5985
6305
|
# resp.db_cluster.clone_group_id #=> String
|
5986
6306
|
# resp.db_cluster.cluster_create_time #=> Time
|
@@ -6227,6 +6547,7 @@ module Aws::Neptune
|
|
6227
6547
|
# resp.db_cluster.associated_roles #=> Array
|
6228
6548
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
6229
6549
|
# resp.db_cluster.associated_roles[0].status #=> String
|
6550
|
+
# resp.db_cluster.associated_roles[0].feature_name #=> String
|
6230
6551
|
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
|
6231
6552
|
# resp.db_cluster.clone_group_id #=> String
|
6232
6553
|
# resp.db_cluster.cluster_create_time #=> Time
|
@@ -6307,6 +6628,7 @@ module Aws::Neptune
|
|
6307
6628
|
# resp.db_cluster.associated_roles #=> Array
|
6308
6629
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
6309
6630
|
# resp.db_cluster.associated_roles[0].status #=> String
|
6631
|
+
# resp.db_cluster.associated_roles[0].feature_name #=> String
|
6310
6632
|
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
|
6311
6633
|
# resp.db_cluster.clone_group_id #=> String
|
6312
6634
|
# resp.db_cluster.cluster_create_time #=> Time
|
@@ -6390,6 +6712,7 @@ module Aws::Neptune
|
|
6390
6712
|
# resp.db_cluster.associated_roles #=> Array
|
6391
6713
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
6392
6714
|
# resp.db_cluster.associated_roles[0].status #=> String
|
6715
|
+
# resp.db_cluster.associated_roles[0].feature_name #=> String
|
6393
6716
|
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
|
6394
6717
|
# resp.db_cluster.clone_group_id #=> String
|
6395
6718
|
# resp.db_cluster.cluster_create_time #=> Time
|
@@ -6419,7 +6742,7 @@ module Aws::Neptune
|
|
6419
6742
|
params: params,
|
6420
6743
|
config: config)
|
6421
6744
|
context[:gem_name] = 'aws-sdk-neptune'
|
6422
|
-
context[:gem_version] = '1.
|
6745
|
+
context[:gem_version] = '1.33.0'
|
6423
6746
|
Seahorse::Client::Request.new(handlers, context)
|
6424
6747
|
end
|
6425
6748
|
|