aws-sdk-neptunegraph 1.17.0 → 1.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-neptunegraph/client.rb +11 -5
- data/lib/aws-sdk-neptunegraph/endpoints.rb +28 -112
- data/lib/aws-sdk-neptunegraph/plugins/endpoints.rb +18 -6
- data/lib/aws-sdk-neptunegraph.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/resource.rbs +1 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 003fc093d67c654919c714d8029147b08f467076a993d15c4d10681d3b55e6e9
|
4
|
+
data.tar.gz: 6e6577a870bd7d9cce77358f06da7b4067f111b452a1a07194bad1b49b0bba77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f6c7bbc23fbe64fe0efed55413557f6bdfce1f8f47aef342f6ee6316d4ad5a0171c35f5fcbfd8ecb41aba4d683d0d7885851c13721139ab1e66ad2bffc5c9fd
|
7
|
+
data.tar.gz: da4975ed3a6c506f25dc2bfa8f831424c0e756c7b45a7652e552c5d15a91767155c05d30fbd626928c003b24592267e23b104017b8ec643b0d06d09ac3b80dc5
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.19.0 (2024-09-20)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.18.0 (2024-09-11)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.17.0 (2024-09-10)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.19.0
|
@@ -130,13 +130,15 @@ module Aws::NeptuneGraph
|
|
130
130
|
# locations will be searched for credentials:
|
131
131
|
#
|
132
132
|
# * `Aws.config[:credentials]`
|
133
|
-
# * The `:access_key_id`, `:secret_access_key`,
|
134
|
-
#
|
133
|
+
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
134
|
+
# `:account_id` options.
|
135
|
+
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
|
136
|
+
# ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
|
135
137
|
# * `~/.aws/credentials`
|
136
138
|
# * `~/.aws/config`
|
137
139
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
138
140
|
# are very aggressive. Construct and pass an instance of
|
139
|
-
# `Aws::
|
141
|
+
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
140
142
|
# enable retries and extended timeouts. Instance profile credential
|
141
143
|
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
142
144
|
# to true.
|
@@ -155,6 +157,8 @@ module Aws::NeptuneGraph
|
|
155
157
|
#
|
156
158
|
# @option options [String] :access_key_id
|
157
159
|
#
|
160
|
+
# @option options [String] :account_id
|
161
|
+
#
|
158
162
|
# @option options [Boolean] :active_endpoint_cache (false)
|
159
163
|
# When set to `true`, a thread polling for endpoints will be running in
|
160
164
|
# the background every 60 secs (default). Defaults to `false`.
|
@@ -369,7 +373,9 @@ module Aws::NeptuneGraph
|
|
369
373
|
# sending the request.
|
370
374
|
#
|
371
375
|
# @option options [Aws::NeptuneGraph::EndpointProvider] :endpoint_provider
|
372
|
-
# The endpoint provider used to resolve endpoints. Any object that responds to
|
376
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to
|
377
|
+
# `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
|
378
|
+
# `Aws::NeptuneGraph::EndpointParameters`.
|
373
379
|
#
|
374
380
|
# @option options [Float] :http_continue_timeout (1)
|
375
381
|
# The number of seconds to wait for a 100-continue response before sending the
|
@@ -2132,7 +2138,7 @@ module Aws::NeptuneGraph
|
|
2132
2138
|
tracer: tracer
|
2133
2139
|
)
|
2134
2140
|
context[:gem_name] = 'aws-sdk-neptunegraph'
|
2135
|
-
context[:gem_version] = '1.
|
2141
|
+
context[:gem_version] = '1.19.0'
|
2136
2142
|
Seahorse::Client::Request.new(handlers, context)
|
2137
2143
|
end
|
2138
2144
|
|
@@ -14,14 +14,11 @@ module Aws::NeptuneGraph
|
|
14
14
|
|
15
15
|
class CancelImportTask
|
16
16
|
def self.build(context)
|
17
|
-
unless context.config.regional_endpoint
|
18
|
-
endpoint = context.config.endpoint.to_s
|
19
|
-
end
|
20
17
|
Aws::NeptuneGraph::EndpointParameters.new(
|
21
18
|
region: context.config.region,
|
22
19
|
use_fips: context.config.use_fips_endpoint,
|
23
20
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
24
|
-
endpoint: endpoint,
|
21
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
25
22
|
api_type: "ControlPlane",
|
26
23
|
)
|
27
24
|
end
|
@@ -29,14 +26,11 @@ module Aws::NeptuneGraph
|
|
29
26
|
|
30
27
|
class CancelQuery
|
31
28
|
def self.build(context)
|
32
|
-
unless context.config.regional_endpoint
|
33
|
-
endpoint = context.config.endpoint.to_s
|
34
|
-
end
|
35
29
|
Aws::NeptuneGraph::EndpointParameters.new(
|
36
30
|
region: context.config.region,
|
37
31
|
use_fips: context.config.use_fips_endpoint,
|
38
32
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
39
|
-
endpoint: endpoint,
|
33
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
40
34
|
api_type: "DataPlane",
|
41
35
|
)
|
42
36
|
end
|
@@ -44,14 +38,11 @@ module Aws::NeptuneGraph
|
|
44
38
|
|
45
39
|
class CreateGraph
|
46
40
|
def self.build(context)
|
47
|
-
unless context.config.regional_endpoint
|
48
|
-
endpoint = context.config.endpoint.to_s
|
49
|
-
end
|
50
41
|
Aws::NeptuneGraph::EndpointParameters.new(
|
51
42
|
region: context.config.region,
|
52
43
|
use_fips: context.config.use_fips_endpoint,
|
53
44
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
54
|
-
endpoint: endpoint,
|
45
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
55
46
|
api_type: "ControlPlane",
|
56
47
|
)
|
57
48
|
end
|
@@ -59,14 +50,11 @@ module Aws::NeptuneGraph
|
|
59
50
|
|
60
51
|
class CreateGraphSnapshot
|
61
52
|
def self.build(context)
|
62
|
-
unless context.config.regional_endpoint
|
63
|
-
endpoint = context.config.endpoint.to_s
|
64
|
-
end
|
65
53
|
Aws::NeptuneGraph::EndpointParameters.new(
|
66
54
|
region: context.config.region,
|
67
55
|
use_fips: context.config.use_fips_endpoint,
|
68
56
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
69
|
-
endpoint: endpoint,
|
57
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
70
58
|
api_type: "ControlPlane",
|
71
59
|
)
|
72
60
|
end
|
@@ -74,14 +62,11 @@ module Aws::NeptuneGraph
|
|
74
62
|
|
75
63
|
class CreateGraphUsingImportTask
|
76
64
|
def self.build(context)
|
77
|
-
unless context.config.regional_endpoint
|
78
|
-
endpoint = context.config.endpoint.to_s
|
79
|
-
end
|
80
65
|
Aws::NeptuneGraph::EndpointParameters.new(
|
81
66
|
region: context.config.region,
|
82
67
|
use_fips: context.config.use_fips_endpoint,
|
83
68
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
84
|
-
endpoint: endpoint,
|
69
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
85
70
|
api_type: "ControlPlane",
|
86
71
|
)
|
87
72
|
end
|
@@ -89,14 +74,11 @@ module Aws::NeptuneGraph
|
|
89
74
|
|
90
75
|
class CreatePrivateGraphEndpoint
|
91
76
|
def self.build(context)
|
92
|
-
unless context.config.regional_endpoint
|
93
|
-
endpoint = context.config.endpoint.to_s
|
94
|
-
end
|
95
77
|
Aws::NeptuneGraph::EndpointParameters.new(
|
96
78
|
region: context.config.region,
|
97
79
|
use_fips: context.config.use_fips_endpoint,
|
98
80
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
99
|
-
endpoint: endpoint,
|
81
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
100
82
|
api_type: "ControlPlane",
|
101
83
|
)
|
102
84
|
end
|
@@ -104,14 +86,11 @@ module Aws::NeptuneGraph
|
|
104
86
|
|
105
87
|
class DeleteGraph
|
106
88
|
def self.build(context)
|
107
|
-
unless context.config.regional_endpoint
|
108
|
-
endpoint = context.config.endpoint.to_s
|
109
|
-
end
|
110
89
|
Aws::NeptuneGraph::EndpointParameters.new(
|
111
90
|
region: context.config.region,
|
112
91
|
use_fips: context.config.use_fips_endpoint,
|
113
92
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
114
|
-
endpoint: endpoint,
|
93
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
115
94
|
api_type: "ControlPlane",
|
116
95
|
)
|
117
96
|
end
|
@@ -119,14 +98,11 @@ module Aws::NeptuneGraph
|
|
119
98
|
|
120
99
|
class DeleteGraphSnapshot
|
121
100
|
def self.build(context)
|
122
|
-
unless context.config.regional_endpoint
|
123
|
-
endpoint = context.config.endpoint.to_s
|
124
|
-
end
|
125
101
|
Aws::NeptuneGraph::EndpointParameters.new(
|
126
102
|
region: context.config.region,
|
127
103
|
use_fips: context.config.use_fips_endpoint,
|
128
104
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
129
|
-
endpoint: endpoint,
|
105
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
130
106
|
api_type: "ControlPlane",
|
131
107
|
)
|
132
108
|
end
|
@@ -134,14 +110,11 @@ module Aws::NeptuneGraph
|
|
134
110
|
|
135
111
|
class DeletePrivateGraphEndpoint
|
136
112
|
def self.build(context)
|
137
|
-
unless context.config.regional_endpoint
|
138
|
-
endpoint = context.config.endpoint.to_s
|
139
|
-
end
|
140
113
|
Aws::NeptuneGraph::EndpointParameters.new(
|
141
114
|
region: context.config.region,
|
142
115
|
use_fips: context.config.use_fips_endpoint,
|
143
116
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
144
|
-
endpoint: endpoint,
|
117
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
145
118
|
api_type: "ControlPlane",
|
146
119
|
)
|
147
120
|
end
|
@@ -149,14 +122,11 @@ module Aws::NeptuneGraph
|
|
149
122
|
|
150
123
|
class ExecuteQuery
|
151
124
|
def self.build(context)
|
152
|
-
unless context.config.regional_endpoint
|
153
|
-
endpoint = context.config.endpoint.to_s
|
154
|
-
end
|
155
125
|
Aws::NeptuneGraph::EndpointParameters.new(
|
156
126
|
region: context.config.region,
|
157
127
|
use_fips: context.config.use_fips_endpoint,
|
158
128
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
159
|
-
endpoint: endpoint,
|
129
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
160
130
|
api_type: "DataPlane",
|
161
131
|
)
|
162
132
|
end
|
@@ -164,14 +134,11 @@ module Aws::NeptuneGraph
|
|
164
134
|
|
165
135
|
class GetGraph
|
166
136
|
def self.build(context)
|
167
|
-
unless context.config.regional_endpoint
|
168
|
-
endpoint = context.config.endpoint.to_s
|
169
|
-
end
|
170
137
|
Aws::NeptuneGraph::EndpointParameters.new(
|
171
138
|
region: context.config.region,
|
172
139
|
use_fips: context.config.use_fips_endpoint,
|
173
140
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
174
|
-
endpoint: endpoint,
|
141
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
175
142
|
api_type: "ControlPlane",
|
176
143
|
)
|
177
144
|
end
|
@@ -179,14 +146,11 @@ module Aws::NeptuneGraph
|
|
179
146
|
|
180
147
|
class GetGraphSnapshot
|
181
148
|
def self.build(context)
|
182
|
-
unless context.config.regional_endpoint
|
183
|
-
endpoint = context.config.endpoint.to_s
|
184
|
-
end
|
185
149
|
Aws::NeptuneGraph::EndpointParameters.new(
|
186
150
|
region: context.config.region,
|
187
151
|
use_fips: context.config.use_fips_endpoint,
|
188
152
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
189
|
-
endpoint: endpoint,
|
153
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
190
154
|
api_type: "ControlPlane",
|
191
155
|
)
|
192
156
|
end
|
@@ -194,14 +158,11 @@ module Aws::NeptuneGraph
|
|
194
158
|
|
195
159
|
class GetGraphSummary
|
196
160
|
def self.build(context)
|
197
|
-
unless context.config.regional_endpoint
|
198
|
-
endpoint = context.config.endpoint.to_s
|
199
|
-
end
|
200
161
|
Aws::NeptuneGraph::EndpointParameters.new(
|
201
162
|
region: context.config.region,
|
202
163
|
use_fips: context.config.use_fips_endpoint,
|
203
164
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
204
|
-
endpoint: endpoint,
|
165
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
205
166
|
api_type: "DataPlane",
|
206
167
|
)
|
207
168
|
end
|
@@ -209,14 +170,11 @@ module Aws::NeptuneGraph
|
|
209
170
|
|
210
171
|
class GetImportTask
|
211
172
|
def self.build(context)
|
212
|
-
unless context.config.regional_endpoint
|
213
|
-
endpoint = context.config.endpoint.to_s
|
214
|
-
end
|
215
173
|
Aws::NeptuneGraph::EndpointParameters.new(
|
216
174
|
region: context.config.region,
|
217
175
|
use_fips: context.config.use_fips_endpoint,
|
218
176
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
219
|
-
endpoint: endpoint,
|
177
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
220
178
|
api_type: "ControlPlane",
|
221
179
|
)
|
222
180
|
end
|
@@ -224,14 +182,11 @@ module Aws::NeptuneGraph
|
|
224
182
|
|
225
183
|
class GetPrivateGraphEndpoint
|
226
184
|
def self.build(context)
|
227
|
-
unless context.config.regional_endpoint
|
228
|
-
endpoint = context.config.endpoint.to_s
|
229
|
-
end
|
230
185
|
Aws::NeptuneGraph::EndpointParameters.new(
|
231
186
|
region: context.config.region,
|
232
187
|
use_fips: context.config.use_fips_endpoint,
|
233
188
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
234
|
-
endpoint: endpoint,
|
189
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
235
190
|
api_type: "ControlPlane",
|
236
191
|
)
|
237
192
|
end
|
@@ -239,14 +194,11 @@ module Aws::NeptuneGraph
|
|
239
194
|
|
240
195
|
class GetQuery
|
241
196
|
def self.build(context)
|
242
|
-
unless context.config.regional_endpoint
|
243
|
-
endpoint = context.config.endpoint.to_s
|
244
|
-
end
|
245
197
|
Aws::NeptuneGraph::EndpointParameters.new(
|
246
198
|
region: context.config.region,
|
247
199
|
use_fips: context.config.use_fips_endpoint,
|
248
200
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
249
|
-
endpoint: endpoint,
|
201
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
250
202
|
api_type: "DataPlane",
|
251
203
|
)
|
252
204
|
end
|
@@ -254,14 +206,11 @@ module Aws::NeptuneGraph
|
|
254
206
|
|
255
207
|
class ListGraphSnapshots
|
256
208
|
def self.build(context)
|
257
|
-
unless context.config.regional_endpoint
|
258
|
-
endpoint = context.config.endpoint.to_s
|
259
|
-
end
|
260
209
|
Aws::NeptuneGraph::EndpointParameters.new(
|
261
210
|
region: context.config.region,
|
262
211
|
use_fips: context.config.use_fips_endpoint,
|
263
212
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
264
|
-
endpoint: endpoint,
|
213
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
265
214
|
api_type: "ControlPlane",
|
266
215
|
)
|
267
216
|
end
|
@@ -269,14 +218,11 @@ module Aws::NeptuneGraph
|
|
269
218
|
|
270
219
|
class ListGraphs
|
271
220
|
def self.build(context)
|
272
|
-
unless context.config.regional_endpoint
|
273
|
-
endpoint = context.config.endpoint.to_s
|
274
|
-
end
|
275
221
|
Aws::NeptuneGraph::EndpointParameters.new(
|
276
222
|
region: context.config.region,
|
277
223
|
use_fips: context.config.use_fips_endpoint,
|
278
224
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
279
|
-
endpoint: endpoint,
|
225
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
280
226
|
api_type: "ControlPlane",
|
281
227
|
)
|
282
228
|
end
|
@@ -284,14 +230,11 @@ module Aws::NeptuneGraph
|
|
284
230
|
|
285
231
|
class ListImportTasks
|
286
232
|
def self.build(context)
|
287
|
-
unless context.config.regional_endpoint
|
288
|
-
endpoint = context.config.endpoint.to_s
|
289
|
-
end
|
290
233
|
Aws::NeptuneGraph::EndpointParameters.new(
|
291
234
|
region: context.config.region,
|
292
235
|
use_fips: context.config.use_fips_endpoint,
|
293
236
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
294
|
-
endpoint: endpoint,
|
237
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
295
238
|
api_type: "ControlPlane",
|
296
239
|
)
|
297
240
|
end
|
@@ -299,14 +242,11 @@ module Aws::NeptuneGraph
|
|
299
242
|
|
300
243
|
class ListPrivateGraphEndpoints
|
301
244
|
def self.build(context)
|
302
|
-
unless context.config.regional_endpoint
|
303
|
-
endpoint = context.config.endpoint.to_s
|
304
|
-
end
|
305
245
|
Aws::NeptuneGraph::EndpointParameters.new(
|
306
246
|
region: context.config.region,
|
307
247
|
use_fips: context.config.use_fips_endpoint,
|
308
248
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
309
|
-
endpoint: endpoint,
|
249
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
310
250
|
api_type: "ControlPlane",
|
311
251
|
)
|
312
252
|
end
|
@@ -314,14 +254,11 @@ module Aws::NeptuneGraph
|
|
314
254
|
|
315
255
|
class ListQueries
|
316
256
|
def self.build(context)
|
317
|
-
unless context.config.regional_endpoint
|
318
|
-
endpoint = context.config.endpoint.to_s
|
319
|
-
end
|
320
257
|
Aws::NeptuneGraph::EndpointParameters.new(
|
321
258
|
region: context.config.region,
|
322
259
|
use_fips: context.config.use_fips_endpoint,
|
323
260
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
324
|
-
endpoint: endpoint,
|
261
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
325
262
|
api_type: "DataPlane",
|
326
263
|
)
|
327
264
|
end
|
@@ -329,14 +266,11 @@ module Aws::NeptuneGraph
|
|
329
266
|
|
330
267
|
class ListTagsForResource
|
331
268
|
def self.build(context)
|
332
|
-
unless context.config.regional_endpoint
|
333
|
-
endpoint = context.config.endpoint.to_s
|
334
|
-
end
|
335
269
|
Aws::NeptuneGraph::EndpointParameters.new(
|
336
270
|
region: context.config.region,
|
337
271
|
use_fips: context.config.use_fips_endpoint,
|
338
272
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
339
|
-
endpoint: endpoint,
|
273
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
340
274
|
api_type: "ControlPlane",
|
341
275
|
)
|
342
276
|
end
|
@@ -344,14 +278,11 @@ module Aws::NeptuneGraph
|
|
344
278
|
|
345
279
|
class ResetGraph
|
346
280
|
def self.build(context)
|
347
|
-
unless context.config.regional_endpoint
|
348
|
-
endpoint = context.config.endpoint.to_s
|
349
|
-
end
|
350
281
|
Aws::NeptuneGraph::EndpointParameters.new(
|
351
282
|
region: context.config.region,
|
352
283
|
use_fips: context.config.use_fips_endpoint,
|
353
284
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
354
|
-
endpoint: endpoint,
|
285
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
355
286
|
api_type: "ControlPlane",
|
356
287
|
)
|
357
288
|
end
|
@@ -359,14 +290,11 @@ module Aws::NeptuneGraph
|
|
359
290
|
|
360
291
|
class RestoreGraphFromSnapshot
|
361
292
|
def self.build(context)
|
362
|
-
unless context.config.regional_endpoint
|
363
|
-
endpoint = context.config.endpoint.to_s
|
364
|
-
end
|
365
293
|
Aws::NeptuneGraph::EndpointParameters.new(
|
366
294
|
region: context.config.region,
|
367
295
|
use_fips: context.config.use_fips_endpoint,
|
368
296
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
369
|
-
endpoint: endpoint,
|
297
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
370
298
|
api_type: "ControlPlane",
|
371
299
|
)
|
372
300
|
end
|
@@ -374,14 +302,11 @@ module Aws::NeptuneGraph
|
|
374
302
|
|
375
303
|
class StartImportTask
|
376
304
|
def self.build(context)
|
377
|
-
unless context.config.regional_endpoint
|
378
|
-
endpoint = context.config.endpoint.to_s
|
379
|
-
end
|
380
305
|
Aws::NeptuneGraph::EndpointParameters.new(
|
381
306
|
region: context.config.region,
|
382
307
|
use_fips: context.config.use_fips_endpoint,
|
383
308
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
384
|
-
endpoint: endpoint,
|
309
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
385
310
|
api_type: "ControlPlane",
|
386
311
|
)
|
387
312
|
end
|
@@ -389,14 +314,11 @@ module Aws::NeptuneGraph
|
|
389
314
|
|
390
315
|
class TagResource
|
391
316
|
def self.build(context)
|
392
|
-
unless context.config.regional_endpoint
|
393
|
-
endpoint = context.config.endpoint.to_s
|
394
|
-
end
|
395
317
|
Aws::NeptuneGraph::EndpointParameters.new(
|
396
318
|
region: context.config.region,
|
397
319
|
use_fips: context.config.use_fips_endpoint,
|
398
320
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
399
|
-
endpoint: endpoint,
|
321
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
400
322
|
api_type: "ControlPlane",
|
401
323
|
)
|
402
324
|
end
|
@@ -404,14 +326,11 @@ module Aws::NeptuneGraph
|
|
404
326
|
|
405
327
|
class UntagResource
|
406
328
|
def self.build(context)
|
407
|
-
unless context.config.regional_endpoint
|
408
|
-
endpoint = context.config.endpoint.to_s
|
409
|
-
end
|
410
329
|
Aws::NeptuneGraph::EndpointParameters.new(
|
411
330
|
region: context.config.region,
|
412
331
|
use_fips: context.config.use_fips_endpoint,
|
413
332
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
414
|
-
endpoint: endpoint,
|
333
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
415
334
|
api_type: "ControlPlane",
|
416
335
|
)
|
417
336
|
end
|
@@ -419,14 +338,11 @@ module Aws::NeptuneGraph
|
|
419
338
|
|
420
339
|
class UpdateGraph
|
421
340
|
def self.build(context)
|
422
|
-
unless context.config.regional_endpoint
|
423
|
-
endpoint = context.config.endpoint.to_s
|
424
|
-
end
|
425
341
|
Aws::NeptuneGraph::EndpointParameters.new(
|
426
342
|
region: context.config.region,
|
427
343
|
use_fips: context.config.use_fips_endpoint,
|
428
344
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
429
|
-
endpoint: endpoint,
|
345
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
430
346
|
api_type: "ControlPlane",
|
431
347
|
)
|
432
348
|
end
|
@@ -15,11 +15,11 @@ module Aws::NeptuneGraph
|
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::NeptuneGraph::EndpointProvider',
|
17
17
|
rbs_type: 'untyped',
|
18
|
-
docstring:
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
18
|
+
docstring: <<~DOCS) do |_cfg|
|
19
|
+
The endpoint provider used to resolve endpoints. Any object that responds to
|
20
|
+
`#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
|
21
|
+
`Aws::NeptuneGraph::EndpointParameters`.
|
22
|
+
DOCS
|
23
23
|
Aws::NeptuneGraph::EndpointProvider.new
|
24
24
|
end
|
25
25
|
|
@@ -40,11 +40,23 @@ module Aws::NeptuneGraph
|
|
40
40
|
context[:auth_scheme] =
|
41
41
|
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
42
42
|
|
43
|
-
@handler.call(context)
|
43
|
+
with_metrics(context) { @handler.call(context) }
|
44
44
|
end
|
45
45
|
|
46
46
|
private
|
47
47
|
|
48
|
+
def with_metrics(context, &block)
|
49
|
+
metrics = []
|
50
|
+
metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
|
51
|
+
if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
|
52
|
+
metrics << 'SIGV4A_SIGNING'
|
53
|
+
end
|
54
|
+
if context.config.credentials&.credentials&.account_id
|
55
|
+
metrics << 'RESOLVED_ACCOUNT_ID'
|
56
|
+
end
|
57
|
+
Aws::Plugins::UserAgent.metric(*metrics, &block)
|
58
|
+
end
|
59
|
+
|
48
60
|
def apply_endpoint_headers(context, headers)
|
49
61
|
headers.each do |key, values|
|
50
62
|
value = values
|
data/lib/aws-sdk-neptunegraph.rb
CHANGED
data/sig/client.rbs
CHANGED
data/sig/resource.rbs
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-neptunegraph
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.19.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: 2024-09-
|
11
|
+
date: 2024-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.207.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.207.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|