aws-sdk-neptune 1.27.0 → 1.32.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 +3 -2
- data/lib/aws-sdk-neptune/client.rb +358 -20
- 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: 2c3b3078224ce1c9935feb1cb501ede960fda4239af6c93d7fed8da8f5085f3b
|
4
|
+
data.tar.gz: de6545daf0075236064f43d343aa9233bb7148ff5d823f240bea6514f0e48343
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ea8025a21f4e9e5a21a9cb9406403073fbd86db2636b121343904a5a6bc6b27cf76bbb826ff2e371e7782ac7790990c32cdd127149a4e1fc69ff889db0d6929
|
7
|
+
data.tar.gz: f08aa2a94c3cfed6c9dd0548440ae5c0a1832c23fbae5a11b9d47300c5a84236651a9b5d7105445be679feac98bc6fad78fc1c63a00bc673c61d488f119af348
|
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
|
|
@@ -45,9 +46,9 @@ require_relative 'aws-sdk-neptune/customizations'
|
|
45
46
|
#
|
46
47
|
# See {Errors} for more information.
|
47
48
|
#
|
48
|
-
#
|
49
|
+
# @!group service
|
49
50
|
module Aws::Neptune
|
50
51
|
|
51
|
-
GEM_VERSION = '1.
|
52
|
+
GEM_VERSION = '1.32.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
|
@@ -85,13 +87,28 @@ module Aws::Neptune
|
|
85
87
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
88
|
# credentials.
|
87
89
|
#
|
90
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
91
|
+
# shared file, such as `~/.aws/config`.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
94
|
+
#
|
95
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
96
|
+
# assume a role after providing credentials via the web.
|
97
|
+
#
|
98
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
99
|
+
# access token generated from `aws login`.
|
100
|
+
#
|
101
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
102
|
+
# process that outputs to stdout.
|
103
|
+
#
|
88
104
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
105
|
# from an EC2 IMDS on an EC2 instance.
|
90
106
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
107
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
108
|
+
# instances running in ECS.
|
93
109
|
#
|
94
|
-
# * `Aws::
|
110
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
111
|
+
# from the Cognito Identity service.
|
95
112
|
#
|
96
113
|
# When `:credentials` are not configured directly, the following
|
97
114
|
# locations will be searched for credentials:
|
@@ -101,10 +118,10 @@ module Aws::Neptune
|
|
101
118
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
119
|
# * `~/.aws/credentials`
|
103
120
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
121
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
122
|
+
# are very aggressive. Construct and pass an instance of
|
123
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
124
|
+
# enable retries and extended timeouts.
|
108
125
|
#
|
109
126
|
# @option options [required, String] :region
|
110
127
|
# The AWS region to connect to. The configured `:region` is
|
@@ -323,6 +340,11 @@ module Aws::Neptune
|
|
323
340
|
# Neptune DB cluster, for example
|
324
341
|
# `arn:aws:iam::123456789012:role/NeptuneAccessRole`.
|
325
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
|
+
#
|
326
348
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
327
349
|
#
|
328
350
|
# @example Request syntax with placeholder values
|
@@ -330,6 +352,7 @@ module Aws::Neptune
|
|
330
352
|
# resp = client.add_role_to_db_cluster({
|
331
353
|
# db_cluster_identifier: "String", # required
|
332
354
|
# role_arn: "String", # required
|
355
|
+
# feature_name: "String",
|
333
356
|
# })
|
334
357
|
#
|
335
358
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/AddRoleToDBCluster AWS API Documentation
|
@@ -648,6 +671,10 @@ module Aws::Neptune
|
|
648
671
|
# @option params [Array<Types::Tag>] :tags
|
649
672
|
# The tags to assign to the new DB cluster snapshot copy.
|
650
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
|
+
#
|
651
678
|
# @return [Types::CopyDBClusterSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
652
679
|
#
|
653
680
|
# * {Types::CopyDBClusterSnapshotResult#db_cluster_snapshot #db_cluster_snapshot} => Types::DBClusterSnapshot
|
@@ -666,6 +693,7 @@ module Aws::Neptune
|
|
666
693
|
# value: "String",
|
667
694
|
# },
|
668
695
|
# ],
|
696
|
+
# source_region: "String",
|
669
697
|
# })
|
670
698
|
#
|
671
699
|
# @example Response structure
|
@@ -852,10 +880,10 @@ module Aws::Neptune
|
|
852
880
|
# Valid Values: `neptune`
|
853
881
|
#
|
854
882
|
# @option params [String] :engine_version
|
855
|
-
# The version number of the database engine to use
|
856
|
-
#
|
883
|
+
# The version number of the database engine to use for the new DB
|
884
|
+
# cluster.
|
857
885
|
#
|
858
|
-
# Example: `1.0.1`
|
886
|
+
# Example: `1.0.2.1`
|
859
887
|
#
|
860
888
|
# @option params [Integer] :port
|
861
889
|
# The port number on which the instances in the DB cluster accept
|
@@ -969,10 +997,7 @@ module Aws::Neptune
|
|
969
997
|
# This parameter is not currently supported.
|
970
998
|
#
|
971
999
|
# @option params [Boolean] :enable_iam_database_authentication
|
972
|
-
#
|
973
|
-
# accounts to database accounts, and otherwise false.
|
974
|
-
#
|
975
|
-
# Default: `false`
|
1000
|
+
# Not supported by Neptune.
|
976
1001
|
#
|
977
1002
|
# @option params [Array<String>] :enable_cloudwatch_logs_exports
|
978
1003
|
# The list of log types that need to be enabled for exporting to
|
@@ -983,6 +1008,10 @@ module Aws::Neptune
|
|
983
1008
|
# enabled. The database can't be deleted when deletion protection is
|
984
1009
|
# enabled. By default, deletion protection is enabled.
|
985
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
|
+
#
|
986
1015
|
# @return [Types::CreateDBClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
987
1016
|
#
|
988
1017
|
# * {Types::CreateDBClusterResult#db_cluster #db_cluster} => Types::DBCluster
|
@@ -1019,6 +1048,7 @@ module Aws::Neptune
|
|
1019
1048
|
# enable_iam_database_authentication: false,
|
1020
1049
|
# enable_cloudwatch_logs_exports: ["String"],
|
1021
1050
|
# deletion_protection: false,
|
1051
|
+
# source_region: "String",
|
1022
1052
|
# })
|
1023
1053
|
#
|
1024
1054
|
# @example Response structure
|
@@ -1067,6 +1097,7 @@ module Aws::Neptune
|
|
1067
1097
|
# resp.db_cluster.associated_roles #=> Array
|
1068
1098
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
1069
1099
|
# resp.db_cluster.associated_roles[0].status #=> String
|
1100
|
+
# resp.db_cluster.associated_roles[0].feature_name #=> String
|
1070
1101
|
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
|
1071
1102
|
# resp.db_cluster.clone_group_id #=> String
|
1072
1103
|
# resp.db_cluster.cluster_create_time #=> Time
|
@@ -1083,6 +1114,85 @@ module Aws::Neptune
|
|
1083
1114
|
req.send_request(options)
|
1084
1115
|
end
|
1085
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
|
+
|
1086
1196
|
# Creates a new DB cluster parameter group.
|
1087
1197
|
#
|
1088
1198
|
# Parameters in a DB cluster parameter group apply to all of the
|
@@ -2085,6 +2195,7 @@ module Aws::Neptune
|
|
2085
2195
|
# resp.db_cluster.associated_roles #=> Array
|
2086
2196
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
2087
2197
|
# resp.db_cluster.associated_roles[0].status #=> String
|
2198
|
+
# resp.db_cluster.associated_roles[0].feature_name #=> String
|
2088
2199
|
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
|
2089
2200
|
# resp.db_cluster.clone_group_id #=> String
|
2090
2201
|
# resp.db_cluster.cluster_create_time #=> Time
|
@@ -2101,6 +2212,56 @@ module Aws::Neptune
|
|
2101
2212
|
req.send_request(options)
|
2102
2213
|
end
|
2103
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
|
+
|
2104
2265
|
# Deletes a specified DB cluster parameter group. The DB cluster
|
2105
2266
|
# parameter group to be deleted can't be associated with any DB
|
2106
2267
|
# clusters.
|
@@ -2488,6 +2649,98 @@ module Aws::Neptune
|
|
2488
2649
|
req.send_request(options)
|
2489
2650
|
end
|
2490
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
|
+
|
2491
2744
|
# Returns a list of `DBClusterParameterGroup` descriptions. If a
|
2492
2745
|
# `DBClusterParameterGroupName` parameter is specified, the list will
|
2493
2746
|
# contain only the description of the specified DB cluster parameter
|
@@ -2953,6 +3206,7 @@ module Aws::Neptune
|
|
2953
3206
|
# resp.db_clusters[0].associated_roles #=> Array
|
2954
3207
|
# resp.db_clusters[0].associated_roles[0].role_arn #=> String
|
2955
3208
|
# resp.db_clusters[0].associated_roles[0].status #=> String
|
3209
|
+
# resp.db_clusters[0].associated_roles[0].feature_name #=> String
|
2956
3210
|
# resp.db_clusters[0].iam_database_authentication_enabled #=> Boolean
|
2957
3211
|
# resp.db_clusters[0].clone_group_id #=> String
|
2958
3212
|
# resp.db_clusters[0].cluster_create_time #=> Time
|
@@ -4200,6 +4454,7 @@ module Aws::Neptune
|
|
4200
4454
|
# resp.db_cluster.associated_roles #=> Array
|
4201
4455
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
4202
4456
|
# resp.db_cluster.associated_roles[0].status #=> String
|
4457
|
+
# resp.db_cluster.associated_roles[0].feature_name #=> String
|
4203
4458
|
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
|
4204
4459
|
# resp.db_cluster.clone_group_id #=> String
|
4205
4460
|
# resp.db_cluster.cluster_create_time #=> Time
|
@@ -4383,12 +4638,18 @@ module Aws::Neptune
|
|
4383
4638
|
# to CloudWatch Logs for a specific DB cluster.
|
4384
4639
|
#
|
4385
4640
|
# @option params [String] :engine_version
|
4386
|
-
# The version number of the database engine
|
4387
|
-
#
|
4388
|
-
#
|
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].
|
4648
|
+
#
|
4649
|
+
#
|
4389
4650
|
#
|
4390
|
-
#
|
4391
|
-
# DescribeDBEngineVersions
|
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
|
4392
4653
|
#
|
4393
4654
|
# @option params [Boolean] :deletion_protection
|
4394
4655
|
# A value that indicates whether the DB cluster has deletion protection
|
@@ -4468,6 +4729,7 @@ module Aws::Neptune
|
|
4468
4729
|
# resp.db_cluster.associated_roles #=> Array
|
4469
4730
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
4470
4731
|
# resp.db_cluster.associated_roles[0].status #=> String
|
4732
|
+
# resp.db_cluster.associated_roles[0].feature_name #=> String
|
4471
4733
|
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
|
4472
4734
|
# resp.db_cluster.clone_group_id #=> String
|
4473
4735
|
# resp.db_cluster.cluster_create_time #=> Time
|
@@ -4484,6 +4746,71 @@ module Aws::Neptune
|
|
4484
4746
|
req.send_request(options)
|
4485
4747
|
end
|
4486
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
|
+
|
4487
4814
|
# Modifies the parameters of a DB cluster parameter group. To modify
|
4488
4815
|
# more than one parameter, submit a list of the following:
|
4489
4816
|
# `ParameterName`, `ParameterValue`, and `ApplyMethod`. A maximum of 20
|
@@ -5359,6 +5686,7 @@ module Aws::Neptune
|
|
5359
5686
|
# resp.db_cluster.associated_roles #=> Array
|
5360
5687
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
5361
5688
|
# resp.db_cluster.associated_roles[0].status #=> String
|
5689
|
+
# resp.db_cluster.associated_roles[0].feature_name #=> String
|
5362
5690
|
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
|
5363
5691
|
# resp.db_cluster.clone_group_id #=> String
|
5364
5692
|
# resp.db_cluster.cluster_create_time #=> Time
|
@@ -5532,6 +5860,11 @@ module Aws::Neptune
|
|
5532
5860
|
# the DB cluster, for example
|
5533
5861
|
# `arn:aws:iam::123456789012:role/NeptuneAccessRole`.
|
5534
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
|
+
#
|
5535
5868
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
5536
5869
|
#
|
5537
5870
|
# @example Request syntax with placeholder values
|
@@ -5539,6 +5872,7 @@ module Aws::Neptune
|
|
5539
5872
|
# resp = client.remove_role_from_db_cluster({
|
5540
5873
|
# db_cluster_identifier: "String", # required
|
5541
5874
|
# role_arn: "String", # required
|
5875
|
+
# feature_name: "String",
|
5542
5876
|
# })
|
5543
5877
|
#
|
5544
5878
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RemoveRoleFromDBCluster AWS API Documentation
|
@@ -5966,6 +6300,7 @@ module Aws::Neptune
|
|
5966
6300
|
# resp.db_cluster.associated_roles #=> Array
|
5967
6301
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
5968
6302
|
# resp.db_cluster.associated_roles[0].status #=> String
|
6303
|
+
# resp.db_cluster.associated_roles[0].feature_name #=> String
|
5969
6304
|
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
|
5970
6305
|
# resp.db_cluster.clone_group_id #=> String
|
5971
6306
|
# resp.db_cluster.cluster_create_time #=> Time
|
@@ -6212,6 +6547,7 @@ module Aws::Neptune
|
|
6212
6547
|
# resp.db_cluster.associated_roles #=> Array
|
6213
6548
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
6214
6549
|
# resp.db_cluster.associated_roles[0].status #=> String
|
6550
|
+
# resp.db_cluster.associated_roles[0].feature_name #=> String
|
6215
6551
|
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
|
6216
6552
|
# resp.db_cluster.clone_group_id #=> String
|
6217
6553
|
# resp.db_cluster.cluster_create_time #=> Time
|
@@ -6292,6 +6628,7 @@ module Aws::Neptune
|
|
6292
6628
|
# resp.db_cluster.associated_roles #=> Array
|
6293
6629
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
6294
6630
|
# resp.db_cluster.associated_roles[0].status #=> String
|
6631
|
+
# resp.db_cluster.associated_roles[0].feature_name #=> String
|
6295
6632
|
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
|
6296
6633
|
# resp.db_cluster.clone_group_id #=> String
|
6297
6634
|
# resp.db_cluster.cluster_create_time #=> Time
|
@@ -6375,6 +6712,7 @@ module Aws::Neptune
|
|
6375
6712
|
# resp.db_cluster.associated_roles #=> Array
|
6376
6713
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
6377
6714
|
# resp.db_cluster.associated_roles[0].status #=> String
|
6715
|
+
# resp.db_cluster.associated_roles[0].feature_name #=> String
|
6378
6716
|
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
|
6379
6717
|
# resp.db_cluster.clone_group_id #=> String
|
6380
6718
|
# resp.db_cluster.cluster_create_time #=> Time
|
@@ -6404,7 +6742,7 @@ module Aws::Neptune
|
|
6404
6742
|
params: params,
|
6405
6743
|
config: config)
|
6406
6744
|
context[:gem_name] = 'aws-sdk-neptune'
|
6407
|
-
context[:gem_version] = '1.
|
6745
|
+
context[:gem_version] = '1.32.0'
|
6408
6746
|
Seahorse::Client::Request.new(handlers, context)
|
6409
6747
|
end
|
6410
6748
|
|