aws-sdk-neptunegraph 1.0.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/sig/client.rbs ADDED
@@ -0,0 +1,523 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module NeptuneGraph
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _CancelImportTaskResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelImportTaskOutput]
77
+ def graph_id: () -> ::String
78
+ def task_id: () -> ::String
79
+ def source: () -> ::String
80
+ def format: () -> ("CSV" | "OPEN_CYPHER")
81
+ def role_arn: () -> ::String
82
+ def status: () -> ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED")
83
+ end
84
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#cancel_import_task-instance_method
85
+ def cancel_import_task: (
86
+ task_identifier: ::String
87
+ ) -> _CancelImportTaskResponseSuccess
88
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelImportTaskResponseSuccess
89
+
90
+ interface _CreateGraphResponseSuccess
91
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateGraphOutput]
92
+ def id: () -> ::String
93
+ def name: () -> ::String
94
+ def arn: () -> ::String
95
+ def status: () -> ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED")
96
+ def status_reason: () -> ::String
97
+ def create_time: () -> ::Time
98
+ def provisioned_memory: () -> ::Integer
99
+ def endpoint: () -> ::String
100
+ def public_connectivity: () -> bool
101
+ def vector_search_configuration: () -> Types::VectorSearchConfiguration
102
+ def replica_count: () -> ::Integer
103
+ def kms_key_identifier: () -> ::String
104
+ def source_snapshot_id: () -> ::String
105
+ def deletion_protection: () -> bool
106
+ def build_number: () -> ::String
107
+ end
108
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#create_graph-instance_method
109
+ def create_graph: (
110
+ graph_name: ::String,
111
+ ?tags: Hash[::String, ::String],
112
+ ?public_connectivity: bool,
113
+ ?kms_key_identifier: ::String,
114
+ ?vector_search_configuration: {
115
+ dimension: ::Integer
116
+ },
117
+ ?replica_count: ::Integer,
118
+ ?deletion_protection: bool,
119
+ provisioned_memory: ::Integer
120
+ ) -> _CreateGraphResponseSuccess
121
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGraphResponseSuccess
122
+
123
+ interface _CreateGraphSnapshotResponseSuccess
124
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateGraphSnapshotOutput]
125
+ def id: () -> ::String
126
+ def name: () -> ::String
127
+ def arn: () -> ::String
128
+ def source_graph_id: () -> ::String
129
+ def snapshot_create_time: () -> ::Time
130
+ def status: () -> ("CREATING" | "AVAILABLE" | "DELETING" | "FAILED")
131
+ def kms_key_identifier: () -> ::String
132
+ end
133
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#create_graph_snapshot-instance_method
134
+ def create_graph_snapshot: (
135
+ graph_identifier: ::String,
136
+ snapshot_name: ::String,
137
+ ?tags: Hash[::String, ::String]
138
+ ) -> _CreateGraphSnapshotResponseSuccess
139
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGraphSnapshotResponseSuccess
140
+
141
+ interface _CreateGraphUsingImportTaskResponseSuccess
142
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateGraphUsingImportTaskOutput]
143
+ def graph_id: () -> ::String
144
+ def task_id: () -> ::String
145
+ def source: () -> ::String
146
+ def format: () -> ("CSV" | "OPEN_CYPHER")
147
+ def role_arn: () -> ::String
148
+ def status: () -> ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED")
149
+ def import_options: () -> Types::ImportOptions
150
+ end
151
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#create_graph_using_import_task-instance_method
152
+ def create_graph_using_import_task: (
153
+ graph_name: ::String,
154
+ ?tags: Hash[::String, ::String],
155
+ ?public_connectivity: bool,
156
+ ?kms_key_identifier: ::String,
157
+ ?vector_search_configuration: {
158
+ dimension: ::Integer
159
+ },
160
+ ?replica_count: ::Integer,
161
+ ?deletion_protection: bool,
162
+ ?import_options: {
163
+ neptune: {
164
+ s3_export_path: ::String,
165
+ s3_export_kms_key_id: ::String,
166
+ preserve_default_vertex_labels: bool?,
167
+ preserve_edge_ids: bool?
168
+ }?
169
+ },
170
+ ?max_provisioned_memory: ::Integer,
171
+ ?min_provisioned_memory: ::Integer,
172
+ ?fail_on_error: bool,
173
+ source: ::String,
174
+ ?format: ("CSV" | "OPEN_CYPHER"),
175
+ role_arn: ::String
176
+ ) -> _CreateGraphUsingImportTaskResponseSuccess
177
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGraphUsingImportTaskResponseSuccess
178
+
179
+ interface _CreatePrivateGraphEndpointResponseSuccess
180
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreatePrivateGraphEndpointOutput]
181
+ def vpc_id: () -> ::String
182
+ def subnet_ids: () -> ::Array[::String]
183
+ def status: () -> ("CREATING" | "AVAILABLE" | "DELETING" | "FAILED")
184
+ def vpc_endpoint_id: () -> ::String
185
+ end
186
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#create_private_graph_endpoint-instance_method
187
+ def create_private_graph_endpoint: (
188
+ graph_identifier: ::String,
189
+ ?vpc_id: ::String,
190
+ ?subnet_ids: Array[::String],
191
+ ?vpc_security_group_ids: Array[::String]
192
+ ) -> _CreatePrivateGraphEndpointResponseSuccess
193
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePrivateGraphEndpointResponseSuccess
194
+
195
+ interface _DeleteGraphResponseSuccess
196
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteGraphOutput]
197
+ def id: () -> ::String
198
+ def name: () -> ::String
199
+ def arn: () -> ::String
200
+ def status: () -> ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED")
201
+ def status_reason: () -> ::String
202
+ def create_time: () -> ::Time
203
+ def provisioned_memory: () -> ::Integer
204
+ def endpoint: () -> ::String
205
+ def public_connectivity: () -> bool
206
+ def vector_search_configuration: () -> Types::VectorSearchConfiguration
207
+ def replica_count: () -> ::Integer
208
+ def kms_key_identifier: () -> ::String
209
+ def source_snapshot_id: () -> ::String
210
+ def deletion_protection: () -> bool
211
+ def build_number: () -> ::String
212
+ end
213
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#delete_graph-instance_method
214
+ def delete_graph: (
215
+ graph_identifier: ::String,
216
+ skip_snapshot: bool
217
+ ) -> _DeleteGraphResponseSuccess
218
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteGraphResponseSuccess
219
+
220
+ interface _DeleteGraphSnapshotResponseSuccess
221
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteGraphSnapshotOutput]
222
+ def id: () -> ::String
223
+ def name: () -> ::String
224
+ def arn: () -> ::String
225
+ def source_graph_id: () -> ::String
226
+ def snapshot_create_time: () -> ::Time
227
+ def status: () -> ("CREATING" | "AVAILABLE" | "DELETING" | "FAILED")
228
+ def kms_key_identifier: () -> ::String
229
+ end
230
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#delete_graph_snapshot-instance_method
231
+ def delete_graph_snapshot: (
232
+ snapshot_identifier: ::String
233
+ ) -> _DeleteGraphSnapshotResponseSuccess
234
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteGraphSnapshotResponseSuccess
235
+
236
+ interface _DeletePrivateGraphEndpointResponseSuccess
237
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeletePrivateGraphEndpointOutput]
238
+ def vpc_id: () -> ::String
239
+ def subnet_ids: () -> ::Array[::String]
240
+ def status: () -> ("CREATING" | "AVAILABLE" | "DELETING" | "FAILED")
241
+ def vpc_endpoint_id: () -> ::String
242
+ end
243
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#delete_private_graph_endpoint-instance_method
244
+ def delete_private_graph_endpoint: (
245
+ graph_identifier: ::String,
246
+ vpc_id: ::String
247
+ ) -> _DeletePrivateGraphEndpointResponseSuccess
248
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePrivateGraphEndpointResponseSuccess
249
+
250
+ interface _GetGraphResponseSuccess
251
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetGraphOutput]
252
+ def id: () -> ::String
253
+ def name: () -> ::String
254
+ def arn: () -> ::String
255
+ def status: () -> ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED")
256
+ def status_reason: () -> ::String
257
+ def create_time: () -> ::Time
258
+ def provisioned_memory: () -> ::Integer
259
+ def endpoint: () -> ::String
260
+ def public_connectivity: () -> bool
261
+ def vector_search_configuration: () -> Types::VectorSearchConfiguration
262
+ def replica_count: () -> ::Integer
263
+ def kms_key_identifier: () -> ::String
264
+ def source_snapshot_id: () -> ::String
265
+ def deletion_protection: () -> bool
266
+ def build_number: () -> ::String
267
+ end
268
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#get_graph-instance_method
269
+ def get_graph: (
270
+ graph_identifier: ::String
271
+ ) -> _GetGraphResponseSuccess
272
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGraphResponseSuccess
273
+
274
+ interface _GetGraphSnapshotResponseSuccess
275
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetGraphSnapshotOutput]
276
+ def id: () -> ::String
277
+ def name: () -> ::String
278
+ def arn: () -> ::String
279
+ def source_graph_id: () -> ::String
280
+ def snapshot_create_time: () -> ::Time
281
+ def status: () -> ("CREATING" | "AVAILABLE" | "DELETING" | "FAILED")
282
+ def kms_key_identifier: () -> ::String
283
+ end
284
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#get_graph_snapshot-instance_method
285
+ def get_graph_snapshot: (
286
+ snapshot_identifier: ::String
287
+ ) -> _GetGraphSnapshotResponseSuccess
288
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGraphSnapshotResponseSuccess
289
+
290
+ interface _GetImportTaskResponseSuccess
291
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetImportTaskOutput]
292
+ def graph_id: () -> ::String
293
+ def task_id: () -> ::String
294
+ def source: () -> ::String
295
+ def format: () -> ("CSV" | "OPEN_CYPHER")
296
+ def role_arn: () -> ::String
297
+ def status: () -> ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED")
298
+ def import_options: () -> Types::ImportOptions
299
+ def import_task_details: () -> Types::ImportTaskDetails
300
+ def attempt_number: () -> ::Integer
301
+ def status_reason: () -> ::String
302
+ end
303
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#get_import_task-instance_method
304
+ def get_import_task: (
305
+ task_identifier: ::String
306
+ ) -> _GetImportTaskResponseSuccess
307
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetImportTaskResponseSuccess
308
+
309
+ interface _GetPrivateGraphEndpointResponseSuccess
310
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPrivateGraphEndpointOutput]
311
+ def vpc_id: () -> ::String
312
+ def subnet_ids: () -> ::Array[::String]
313
+ def status: () -> ("CREATING" | "AVAILABLE" | "DELETING" | "FAILED")
314
+ def vpc_endpoint_id: () -> ::String
315
+ end
316
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#get_private_graph_endpoint-instance_method
317
+ def get_private_graph_endpoint: (
318
+ graph_identifier: ::String,
319
+ vpc_id: ::String
320
+ ) -> _GetPrivateGraphEndpointResponseSuccess
321
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPrivateGraphEndpointResponseSuccess
322
+
323
+ interface _ListGraphSnapshotsResponseSuccess
324
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListGraphSnapshotsOutput]
325
+ def graph_snapshots: () -> ::Array[Types::GraphSnapshotSummary]
326
+ def next_token: () -> ::String
327
+ end
328
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#list_graph_snapshots-instance_method
329
+ def list_graph_snapshots: (
330
+ ?graph_identifier: ::String,
331
+ ?next_token: ::String,
332
+ ?max_results: ::Integer
333
+ ) -> _ListGraphSnapshotsResponseSuccess
334
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGraphSnapshotsResponseSuccess
335
+
336
+ interface _ListGraphsResponseSuccess
337
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListGraphsOutput]
338
+ def graphs: () -> ::Array[Types::GraphSummary]
339
+ def next_token: () -> ::String
340
+ end
341
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#list_graphs-instance_method
342
+ def list_graphs: (
343
+ ?next_token: ::String,
344
+ ?max_results: ::Integer
345
+ ) -> _ListGraphsResponseSuccess
346
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGraphsResponseSuccess
347
+
348
+ interface _ListImportTasksResponseSuccess
349
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListImportTasksOutput]
350
+ def tasks: () -> ::Array[Types::ImportTaskSummary]
351
+ def next_token: () -> ::String
352
+ end
353
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#list_import_tasks-instance_method
354
+ def list_import_tasks: (
355
+ ?next_token: ::String,
356
+ ?max_results: ::Integer
357
+ ) -> _ListImportTasksResponseSuccess
358
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListImportTasksResponseSuccess
359
+
360
+ interface _ListPrivateGraphEndpointsResponseSuccess
361
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPrivateGraphEndpointsOutput]
362
+ def private_graph_endpoints: () -> ::Array[Types::PrivateGraphEndpointSummary]
363
+ def next_token: () -> ::String
364
+ end
365
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#list_private_graph_endpoints-instance_method
366
+ def list_private_graph_endpoints: (
367
+ graph_identifier: ::String,
368
+ ?next_token: ::String,
369
+ ?max_results: ::Integer
370
+ ) -> _ListPrivateGraphEndpointsResponseSuccess
371
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPrivateGraphEndpointsResponseSuccess
372
+
373
+ interface _ListTagsForResourceResponseSuccess
374
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
375
+ def tags: () -> ::Hash[::String, ::String]
376
+ end
377
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#list_tags_for_resource-instance_method
378
+ def list_tags_for_resource: (
379
+ resource_arn: ::String
380
+ ) -> _ListTagsForResourceResponseSuccess
381
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
382
+
383
+ interface _ResetGraphResponseSuccess
384
+ include ::Seahorse::Client::_ResponseSuccess[Types::ResetGraphOutput]
385
+ def id: () -> ::String
386
+ def name: () -> ::String
387
+ def arn: () -> ::String
388
+ def status: () -> ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED")
389
+ def status_reason: () -> ::String
390
+ def create_time: () -> ::Time
391
+ def provisioned_memory: () -> ::Integer
392
+ def endpoint: () -> ::String
393
+ def public_connectivity: () -> bool
394
+ def vector_search_configuration: () -> Types::VectorSearchConfiguration
395
+ def replica_count: () -> ::Integer
396
+ def kms_key_identifier: () -> ::String
397
+ def source_snapshot_id: () -> ::String
398
+ def deletion_protection: () -> bool
399
+ def build_number: () -> ::String
400
+ end
401
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#reset_graph-instance_method
402
+ def reset_graph: (
403
+ graph_identifier: ::String,
404
+ skip_snapshot: bool
405
+ ) -> _ResetGraphResponseSuccess
406
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ResetGraphResponseSuccess
407
+
408
+ interface _RestoreGraphFromSnapshotResponseSuccess
409
+ include ::Seahorse::Client::_ResponseSuccess[Types::RestoreGraphFromSnapshotOutput]
410
+ def id: () -> ::String
411
+ def name: () -> ::String
412
+ def arn: () -> ::String
413
+ def status: () -> ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED")
414
+ def status_reason: () -> ::String
415
+ def create_time: () -> ::Time
416
+ def provisioned_memory: () -> ::Integer
417
+ def endpoint: () -> ::String
418
+ def public_connectivity: () -> bool
419
+ def vector_search_configuration: () -> Types::VectorSearchConfiguration
420
+ def replica_count: () -> ::Integer
421
+ def kms_key_identifier: () -> ::String
422
+ def source_snapshot_id: () -> ::String
423
+ def deletion_protection: () -> bool
424
+ def build_number: () -> ::String
425
+ end
426
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#restore_graph_from_snapshot-instance_method
427
+ def restore_graph_from_snapshot: (
428
+ snapshot_identifier: ::String,
429
+ graph_name: ::String,
430
+ ?provisioned_memory: ::Integer,
431
+ ?deletion_protection: bool,
432
+ ?tags: Hash[::String, ::String],
433
+ ?replica_count: ::Integer,
434
+ ?public_connectivity: bool
435
+ ) -> _RestoreGraphFromSnapshotResponseSuccess
436
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreGraphFromSnapshotResponseSuccess
437
+
438
+ interface _TagResourceResponseSuccess
439
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceOutput]
440
+ end
441
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#tag_resource-instance_method
442
+ def tag_resource: (
443
+ resource_arn: ::String,
444
+ tags: Hash[::String, ::String]
445
+ ) -> _TagResourceResponseSuccess
446
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
447
+
448
+ interface _UntagResourceResponseSuccess
449
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceOutput]
450
+ end
451
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#untag_resource-instance_method
452
+ def untag_resource: (
453
+ resource_arn: ::String,
454
+ tag_keys: Array[::String]
455
+ ) -> _UntagResourceResponseSuccess
456
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
457
+
458
+ interface _UpdateGraphResponseSuccess
459
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateGraphOutput]
460
+ def id: () -> ::String
461
+ def name: () -> ::String
462
+ def arn: () -> ::String
463
+ def status: () -> ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED")
464
+ def status_reason: () -> ::String
465
+ def create_time: () -> ::Time
466
+ def provisioned_memory: () -> ::Integer
467
+ def endpoint: () -> ::String
468
+ def public_connectivity: () -> bool
469
+ def vector_search_configuration: () -> Types::VectorSearchConfiguration
470
+ def replica_count: () -> ::Integer
471
+ def kms_key_identifier: () -> ::String
472
+ def source_snapshot_id: () -> ::String
473
+ def deletion_protection: () -> bool
474
+ def build_number: () -> ::String
475
+ end
476
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#update_graph-instance_method
477
+ def update_graph: (
478
+ graph_identifier: ::String,
479
+ ?public_connectivity: bool,
480
+ ?provisioned_memory: ::Integer,
481
+ ?deletion_protection: bool
482
+ ) -> _UpdateGraphResponseSuccess
483
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGraphResponseSuccess
484
+
485
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#wait_until-instance_method
486
+ def wait_until: (:graph_available waiter_name,
487
+ graph_identifier: ::String
488
+ ) -> Client::_GetGraphResponseSuccess
489
+ | (:graph_available waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetGraphResponseSuccess
490
+ | (:graph_deleted waiter_name,
491
+ graph_identifier: ::String
492
+ ) -> Client::_GetGraphResponseSuccess
493
+ | (:graph_deleted waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetGraphResponseSuccess
494
+ | (:graph_snapshot_available waiter_name,
495
+ snapshot_identifier: ::String
496
+ ) -> Client::_GetGraphSnapshotResponseSuccess
497
+ | (:graph_snapshot_available waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetGraphSnapshotResponseSuccess
498
+ | (:graph_snapshot_deleted waiter_name,
499
+ snapshot_identifier: ::String
500
+ ) -> Client::_GetGraphSnapshotResponseSuccess
501
+ | (:graph_snapshot_deleted waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetGraphSnapshotResponseSuccess
502
+ | (:import_task_cancelled waiter_name,
503
+ task_identifier: ::String
504
+ ) -> Client::_GetImportTaskResponseSuccess
505
+ | (:import_task_cancelled waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetImportTaskResponseSuccess
506
+ | (:import_task_successful waiter_name,
507
+ task_identifier: ::String
508
+ ) -> Client::_GetImportTaskResponseSuccess
509
+ | (:import_task_successful waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetImportTaskResponseSuccess
510
+ | (:private_graph_endpoint_available waiter_name,
511
+ graph_identifier: ::String,
512
+ vpc_id: ::String
513
+ ) -> Client::_GetPrivateGraphEndpointResponseSuccess
514
+ | (:private_graph_endpoint_available waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetPrivateGraphEndpointResponseSuccess
515
+ | (:private_graph_endpoint_deleted waiter_name,
516
+ graph_identifier: ::String,
517
+ vpc_id: ::String
518
+ ) -> Client::_GetPrivateGraphEndpointResponseSuccess
519
+ | (:private_graph_endpoint_deleted waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetPrivateGraphEndpointResponseSuccess
520
+ end
521
+ end
522
+ end
523
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,40 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module NeptuneGraph
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class ConflictException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ def reason: () -> ::String
17
+ end
18
+ class InternalServerException < ::Aws::Errors::ServiceError
19
+ def message: () -> ::String
20
+ end
21
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
22
+ def message: () -> ::String
23
+ end
24
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
25
+ def message: () -> ::String
26
+ def resource_id: () -> ::String
27
+ def resource_type: () -> ::String
28
+ def service_code: () -> ::String
29
+ def quota_code: () -> ::String
30
+ end
31
+ class ThrottlingException < ::Aws::Errors::ServiceError
32
+ def message: () -> ::String
33
+ end
34
+ class ValidationException < ::Aws::Errors::ServiceError
35
+ def message: () -> ::String
36
+ def reason: () -> ::String
37
+ end
38
+ end
39
+ end
40
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,79 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module NeptuneGraph
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> void
72
+ | (?Hash[Symbol, untyped]) -> void
73
+
74
+ def client: () -> Client
75
+
76
+
77
+ end
78
+ end
79
+ end