aws-sdk-neptunegraph 1.16.0 → 1.18.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 +7 -1
- data/lib/aws-sdk-neptunegraph/endpoints.rb +28 -112
- data/lib/aws-sdk-neptunegraph/plugins/endpoints.rb +10 -1
- data/lib/aws-sdk-neptunegraph.rb +1 -1
- 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: 3f76eb05ae8eec3a6dfc5fb6d7ad527d51abf5d5aca517dd6d72d5de5b381ca9
|
4
|
+
data.tar.gz: 04c84ea75d0705e9f9fed680a184c0ac530a40bb1dbc486b09e782023bf4b2da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce582861dd415fbd39c1ec725d86b1915a7671a384d0b2d865e440d5154665c31c307d6e18e8fecc4db63bd1c53906e8f91a3dade06376246629e511eef76039
|
7
|
+
data.tar.gz: 299536cc50cdb37244d1c07b7008ea7a43dd78e8768e5b22289a7ec5edae268f72f5677c5979385a9c20a373f75271f00509c6f26a3aacf2c4659309c58e25d1
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.18.0 (2024-09-11)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.17.0 (2024-09-10)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.16.0 (2024-09-03)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.18.0
|
@@ -425,6 +425,12 @@ module Aws::NeptuneGraph
|
|
425
425
|
# @option options [String] :ssl_ca_store
|
426
426
|
# Sets the X509::Store to verify peer certificate.
|
427
427
|
#
|
428
|
+
# @option options [OpenSSL::X509::Certificate] :ssl_cert
|
429
|
+
# Sets a client certificate when creating http connections.
|
430
|
+
#
|
431
|
+
# @option options [OpenSSL::PKey] :ssl_key
|
432
|
+
# Sets a client key when creating http connections.
|
433
|
+
#
|
428
434
|
# @option options [Float] :ssl_timeout
|
429
435
|
# Sets the SSL timeout in seconds
|
430
436
|
#
|
@@ -2126,7 +2132,7 @@ module Aws::NeptuneGraph
|
|
2126
2132
|
tracer: tracer
|
2127
2133
|
)
|
2128
2134
|
context[:gem_name] = 'aws-sdk-neptunegraph'
|
2129
|
-
context[:gem_version] = '1.
|
2135
|
+
context[:gem_version] = '1.18.0'
|
2130
2136
|
Seahorse::Client::Request.new(handlers, context)
|
2131
2137
|
end
|
2132
2138
|
|
@@ -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
|
@@ -40,11 +40,20 @@ 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
|
+
Aws::Plugins::UserAgent.metric(*metrics, &block)
|
55
|
+
end
|
56
|
+
|
48
57
|
def apply_endpoint_headers(context, headers)
|
49
58
|
headers.each do |key, values|
|
50
59
|
value = values
|
data/lib/aws-sdk-neptunegraph.rb
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.18.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-11 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.205.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.205.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|