aws-sdk-neptunegraph 1.24.0 → 1.25.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-neptunegraph/client.rb +300 -13
- data/lib/aws-sdk-neptunegraph/client_api.rb +191 -0
- data/lib/aws-sdk-neptunegraph/endpoints.rb +44 -0
- data/lib/aws-sdk-neptunegraph/types.rb +487 -1
- data/lib/aws-sdk-neptunegraph/waiters.rb +104 -0
- data/lib/aws-sdk-neptunegraph.rb +2 -2
- data/sig/client.rbs +116 -11
- data/sig/types.rbs +135 -12
- data/sig/waiters.rbs +20 -0
- metadata +2 -2
@@ -69,6 +69,8 @@ module Aws::NeptuneGraph
|
|
69
69
|
#
|
70
70
|
# | waiter_name | params | :delay | :max_attempts |
|
71
71
|
# | -------------------------------- | ----------------------------------- | -------- | ------------- |
|
72
|
+
# | export_task_cancelled | {Client#get_export_task} | 60 | 60 |
|
73
|
+
# | export_task_successful | {Client#get_export_task} | 60 | 480 |
|
72
74
|
# | graph_available | {Client#get_graph} | 60 | 480 |
|
73
75
|
# | graph_deleted | {Client#get_graph} | 60 | 60 |
|
74
76
|
# | graph_snapshot_available | {Client#get_graph_snapshot} | 60 | 120 |
|
@@ -80,6 +82,108 @@ module Aws::NeptuneGraph
|
|
80
82
|
#
|
81
83
|
module Waiters
|
82
84
|
|
85
|
+
# Wait until Export Task is Cancelled
|
86
|
+
class ExportTaskCancelled
|
87
|
+
|
88
|
+
# @param [Hash] options
|
89
|
+
# @option options [required, Client] :client
|
90
|
+
# @option options [Integer] :max_attempts (60)
|
91
|
+
# @option options [Integer] :delay (60)
|
92
|
+
# @option options [Proc] :before_attempt
|
93
|
+
# @option options [Proc] :before_wait
|
94
|
+
def initialize(options)
|
95
|
+
@client = options.fetch(:client)
|
96
|
+
@waiter = Aws::Waiters::Waiter.new({
|
97
|
+
max_attempts: 60,
|
98
|
+
delay: 60,
|
99
|
+
poller: Aws::Waiters::Poller.new(
|
100
|
+
operation_name: :get_export_task,
|
101
|
+
acceptors: [
|
102
|
+
{
|
103
|
+
"matcher" => "path",
|
104
|
+
"argument" => "status != 'CANCELLING' && status != 'CANCELLED'",
|
105
|
+
"state" => "failure",
|
106
|
+
"expected" => true
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"matcher" => "path",
|
110
|
+
"argument" => "status",
|
111
|
+
"state" => "success",
|
112
|
+
"expected" => "CANCELLED"
|
113
|
+
}
|
114
|
+
]
|
115
|
+
)
|
116
|
+
}.merge(options))
|
117
|
+
end
|
118
|
+
|
119
|
+
# @option (see Client#get_export_task)
|
120
|
+
# @return (see Client#get_export_task)
|
121
|
+
def wait(params = {})
|
122
|
+
@waiter.wait(client: @client, params: params)
|
123
|
+
end
|
124
|
+
|
125
|
+
# @api private
|
126
|
+
attr_reader :waiter
|
127
|
+
|
128
|
+
end
|
129
|
+
|
130
|
+
# Wait until Export Task is Successful
|
131
|
+
class ExportTaskSuccessful
|
132
|
+
|
133
|
+
# @param [Hash] options
|
134
|
+
# @option options [required, Client] :client
|
135
|
+
# @option options [Integer] :max_attempts (480)
|
136
|
+
# @option options [Integer] :delay (60)
|
137
|
+
# @option options [Proc] :before_attempt
|
138
|
+
# @option options [Proc] :before_wait
|
139
|
+
def initialize(options)
|
140
|
+
@client = options.fetch(:client)
|
141
|
+
@waiter = Aws::Waiters::Waiter.new({
|
142
|
+
max_attempts: 480,
|
143
|
+
delay: 60,
|
144
|
+
poller: Aws::Waiters::Poller.new(
|
145
|
+
operation_name: :get_export_task,
|
146
|
+
acceptors: [
|
147
|
+
{
|
148
|
+
"matcher" => "path",
|
149
|
+
"argument" => "status",
|
150
|
+
"state" => "failure",
|
151
|
+
"expected" => "CANCELLING"
|
152
|
+
},
|
153
|
+
{
|
154
|
+
"matcher" => "path",
|
155
|
+
"argument" => "status",
|
156
|
+
"state" => "failure",
|
157
|
+
"expected" => "CANCELLED"
|
158
|
+
},
|
159
|
+
{
|
160
|
+
"matcher" => "path",
|
161
|
+
"argument" => "status",
|
162
|
+
"state" => "failure",
|
163
|
+
"expected" => "FAILED"
|
164
|
+
},
|
165
|
+
{
|
166
|
+
"matcher" => "path",
|
167
|
+
"argument" => "status",
|
168
|
+
"state" => "success",
|
169
|
+
"expected" => "SUCCEEDED"
|
170
|
+
}
|
171
|
+
]
|
172
|
+
)
|
173
|
+
}.merge(options))
|
174
|
+
end
|
175
|
+
|
176
|
+
# @option (see Client#get_export_task)
|
177
|
+
# @return (see Client#get_export_task)
|
178
|
+
def wait(params = {})
|
179
|
+
@waiter.wait(client: @client, params: params)
|
180
|
+
end
|
181
|
+
|
182
|
+
# @api private
|
183
|
+
attr_reader :waiter
|
184
|
+
|
185
|
+
end
|
186
|
+
|
83
187
|
# Wait until Graph is Available
|
84
188
|
class GraphAvailable
|
85
189
|
|
data/lib/aws-sdk-neptunegraph.rb
CHANGED
@@ -23,7 +23,7 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:neptunegraph)
|
|
23
23
|
# structure.
|
24
24
|
#
|
25
25
|
# neptune_graph = Aws::NeptuneGraph::Client.new
|
26
|
-
# resp = neptune_graph.
|
26
|
+
# resp = neptune_graph.cancel_export_task(params)
|
27
27
|
#
|
28
28
|
# See {Client} for more information.
|
29
29
|
#
|
@@ -55,7 +55,7 @@ module Aws::NeptuneGraph
|
|
55
55
|
autoload :EndpointProvider, 'aws-sdk-neptunegraph/endpoint_provider'
|
56
56
|
autoload :Endpoints, 'aws-sdk-neptunegraph/endpoints'
|
57
57
|
|
58
|
-
GEM_VERSION = '1.
|
58
|
+
GEM_VERSION = '1.25.0'
|
59
59
|
|
60
60
|
end
|
61
61
|
|
data/sig/client.rbs
CHANGED
@@ -75,14 +75,33 @@ module Aws
|
|
75
75
|
| (?Hash[Symbol, untyped]) -> instance
|
76
76
|
|
77
77
|
|
78
|
+
interface _CancelExportTaskResponseSuccess
|
79
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CancelExportTaskOutput]
|
80
|
+
def graph_id: () -> ::String
|
81
|
+
def role_arn: () -> ::String
|
82
|
+
def task_id: () -> ::String
|
83
|
+
def status: () -> ("INITIALIZING" | "EXPORTING" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED" | "DELETED")
|
84
|
+
def format: () -> ("PARQUET" | "CSV")
|
85
|
+
def destination: () -> ::String
|
86
|
+
def kms_key_identifier: () -> ::String
|
87
|
+
def parquet_type: () -> ("COLUMNAR")
|
88
|
+
def status_reason: () -> ::String
|
89
|
+
end
|
90
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#cancel_export_task-instance_method
|
91
|
+
def cancel_export_task: (
|
92
|
+
task_identifier: ::String
|
93
|
+
) -> _CancelExportTaskResponseSuccess
|
94
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelExportTaskResponseSuccess
|
95
|
+
|
78
96
|
interface _CancelImportTaskResponseSuccess
|
79
97
|
include ::Seahorse::Client::_ResponseSuccess[Types::CancelImportTaskOutput]
|
80
98
|
def graph_id: () -> ::String
|
81
99
|
def task_id: () -> ::String
|
82
100
|
def source: () -> ::String
|
83
|
-
def format: () -> ("CSV" | "OPEN_CYPHER" | "NTRIPLES")
|
101
|
+
def format: () -> ("CSV" | "OPEN_CYPHER" | "PARQUET" | "NTRIPLES")
|
102
|
+
def parquet_type: () -> ("COLUMNAR")
|
84
103
|
def role_arn: () -> ::String
|
85
|
-
def status: () -> ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED")
|
104
|
+
def status: () -> ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED" | "DELETED")
|
86
105
|
end
|
87
106
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#cancel_import_task-instance_method
|
88
107
|
def cancel_import_task: (
|
@@ -153,9 +172,10 @@ module Aws
|
|
153
172
|
def graph_id: () -> ::String
|
154
173
|
def task_id: () -> ::String
|
155
174
|
def source: () -> ::String
|
156
|
-
def format: () -> ("CSV" | "OPEN_CYPHER" | "NTRIPLES")
|
175
|
+
def format: () -> ("CSV" | "OPEN_CYPHER" | "PARQUET" | "NTRIPLES")
|
176
|
+
def parquet_type: () -> ("COLUMNAR")
|
157
177
|
def role_arn: () -> ::String
|
158
|
-
def status: () -> ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED")
|
178
|
+
def status: () -> ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED" | "DELETED")
|
159
179
|
def import_options: () -> Types::ImportOptions
|
160
180
|
end
|
161
181
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#create_graph_using_import_task-instance_method
|
@@ -181,7 +201,8 @@ module Aws
|
|
181
201
|
?min_provisioned_memory: ::Integer,
|
182
202
|
?fail_on_error: bool,
|
183
203
|
source: ::String,
|
184
|
-
?format: ("CSV" | "OPEN_CYPHER" | "NTRIPLES"),
|
204
|
+
?format: ("CSV" | "OPEN_CYPHER" | "PARQUET" | "NTRIPLES"),
|
205
|
+
?parquet_type: ("COLUMNAR"),
|
185
206
|
?blank_node_handling: ("convertToIri"),
|
186
207
|
role_arn: ::String
|
187
208
|
) -> _CreateGraphUsingImportTaskResponseSuccess
|
@@ -275,6 +296,26 @@ module Aws
|
|
275
296
|
) ?{ (*untyped) -> void } -> _ExecuteQueryResponseSuccess
|
276
297
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _ExecuteQueryResponseSuccess
|
277
298
|
|
299
|
+
interface _GetExportTaskResponseSuccess
|
300
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetExportTaskOutput]
|
301
|
+
def graph_id: () -> ::String
|
302
|
+
def role_arn: () -> ::String
|
303
|
+
def task_id: () -> ::String
|
304
|
+
def status: () -> ("INITIALIZING" | "EXPORTING" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED" | "DELETED")
|
305
|
+
def format: () -> ("PARQUET" | "CSV")
|
306
|
+
def destination: () -> ::String
|
307
|
+
def kms_key_identifier: () -> ::String
|
308
|
+
def parquet_type: () -> ("COLUMNAR")
|
309
|
+
def status_reason: () -> ::String
|
310
|
+
def export_task_details: () -> Types::ExportTaskDetails
|
311
|
+
def export_filter: () -> Types::ExportFilter
|
312
|
+
end
|
313
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#get_export_task-instance_method
|
314
|
+
def get_export_task: (
|
315
|
+
task_identifier: ::String
|
316
|
+
) -> _GetExportTaskResponseSuccess
|
317
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetExportTaskResponseSuccess
|
318
|
+
|
278
319
|
interface _GetGraphResponseSuccess
|
279
320
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetGraphOutput]
|
280
321
|
def id: () -> ::String
|
@@ -333,9 +374,10 @@ module Aws
|
|
333
374
|
def graph_id: () -> ::String
|
334
375
|
def task_id: () -> ::String
|
335
376
|
def source: () -> ::String
|
336
|
-
def format: () -> ("CSV" | "OPEN_CYPHER" | "NTRIPLES")
|
377
|
+
def format: () -> ("CSV" | "OPEN_CYPHER" | "PARQUET" | "NTRIPLES")
|
378
|
+
def parquet_type: () -> ("COLUMNAR")
|
337
379
|
def role_arn: () -> ::String
|
338
|
-
def status: () -> ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED")
|
380
|
+
def status: () -> ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED" | "DELETED")
|
339
381
|
def import_options: () -> Types::ImportOptions
|
340
382
|
def import_task_details: () -> Types::ImportTaskDetails
|
341
383
|
def attempt_number: () -> ::Integer
|
@@ -376,6 +418,18 @@ module Aws
|
|
376
418
|
) -> _GetQueryResponseSuccess
|
377
419
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetQueryResponseSuccess
|
378
420
|
|
421
|
+
interface _ListExportTasksResponseSuccess
|
422
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListExportTasksOutput]
|
423
|
+
def tasks: () -> ::Array[Types::ExportTaskSummary]
|
424
|
+
def next_token: () -> ::String
|
425
|
+
end
|
426
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#list_export_tasks-instance_method
|
427
|
+
def list_export_tasks: (
|
428
|
+
?next_token: ::String,
|
429
|
+
?max_results: ::Integer
|
430
|
+
) -> _ListExportTasksResponseSuccess
|
431
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListExportTasksResponseSuccess
|
432
|
+
|
379
433
|
interface _ListGraphSnapshotsResponseSuccess
|
380
434
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListGraphSnapshotsOutput]
|
381
435
|
def graph_snapshots: () -> ::Array[Types::GraphSnapshotSummary]
|
@@ -503,14 +557,56 @@ module Aws
|
|
503
557
|
) -> _RestoreGraphFromSnapshotResponseSuccess
|
504
558
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreGraphFromSnapshotResponseSuccess
|
505
559
|
|
560
|
+
interface _StartExportTaskResponseSuccess
|
561
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartExportTaskOutput]
|
562
|
+
def graph_id: () -> ::String
|
563
|
+
def role_arn: () -> ::String
|
564
|
+
def task_id: () -> ::String
|
565
|
+
def status: () -> ("INITIALIZING" | "EXPORTING" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED" | "DELETED")
|
566
|
+
def format: () -> ("PARQUET" | "CSV")
|
567
|
+
def destination: () -> ::String
|
568
|
+
def kms_key_identifier: () -> ::String
|
569
|
+
def parquet_type: () -> ("COLUMNAR")
|
570
|
+
def status_reason: () -> ::String
|
571
|
+
def export_filter: () -> Types::ExportFilter
|
572
|
+
end
|
573
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#start_export_task-instance_method
|
574
|
+
def start_export_task: (
|
575
|
+
graph_identifier: ::String,
|
576
|
+
role_arn: ::String,
|
577
|
+
format: ("PARQUET" | "CSV"),
|
578
|
+
destination: ::String,
|
579
|
+
kms_key_identifier: ::String,
|
580
|
+
?parquet_type: ("COLUMNAR"),
|
581
|
+
?export_filter: {
|
582
|
+
vertex_filter: Hash[::String, {
|
583
|
+
properties: Hash[::String, {
|
584
|
+
output_type: ::String?,
|
585
|
+
source_property_name: ::String?,
|
586
|
+
multi_value_handling: ("TO_LIST" | "PICK_FIRST")?
|
587
|
+
}]?
|
588
|
+
}]?,
|
589
|
+
edge_filter: Hash[::String, {
|
590
|
+
properties: Hash[::String, {
|
591
|
+
output_type: ::String?,
|
592
|
+
source_property_name: ::String?,
|
593
|
+
multi_value_handling: ("TO_LIST" | "PICK_FIRST")?
|
594
|
+
}]?
|
595
|
+
}]?
|
596
|
+
},
|
597
|
+
?tags: Hash[::String, ::String]
|
598
|
+
) -> _StartExportTaskResponseSuccess
|
599
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartExportTaskResponseSuccess
|
600
|
+
|
506
601
|
interface _StartImportTaskResponseSuccess
|
507
602
|
include ::Seahorse::Client::_ResponseSuccess[Types::StartImportTaskOutput]
|
508
603
|
def graph_id: () -> ::String
|
509
604
|
def task_id: () -> ::String
|
510
605
|
def source: () -> ::String
|
511
|
-
def format: () -> ("CSV" | "OPEN_CYPHER" | "NTRIPLES")
|
606
|
+
def format: () -> ("CSV" | "OPEN_CYPHER" | "PARQUET" | "NTRIPLES")
|
607
|
+
def parquet_type: () -> ("COLUMNAR")
|
512
608
|
def role_arn: () -> ::String
|
513
|
-
def status: () -> ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED")
|
609
|
+
def status: () -> ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED" | "DELETED")
|
514
610
|
def import_options: () -> Types::ImportOptions
|
515
611
|
end
|
516
612
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#start_import_task-instance_method
|
@@ -525,7 +621,8 @@ module Aws
|
|
525
621
|
},
|
526
622
|
?fail_on_error: bool,
|
527
623
|
source: ::String,
|
528
|
-
?format: ("CSV" | "OPEN_CYPHER" | "NTRIPLES"),
|
624
|
+
?format: ("CSV" | "OPEN_CYPHER" | "PARQUET" | "NTRIPLES"),
|
625
|
+
?parquet_type: ("COLUMNAR"),
|
529
626
|
?blank_node_handling: ("convertToIri"),
|
530
627
|
graph_identifier: ::String,
|
531
628
|
role_arn: ::String
|
@@ -580,7 +677,15 @@ module Aws
|
|
580
677
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGraphResponseSuccess
|
581
678
|
|
582
679
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#wait_until-instance_method
|
583
|
-
def wait_until: (:
|
680
|
+
def wait_until: (:export_task_cancelled waiter_name,
|
681
|
+
task_identifier: ::String
|
682
|
+
) -> Client::_GetExportTaskResponseSuccess
|
683
|
+
| (:export_task_cancelled waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetExportTaskResponseSuccess
|
684
|
+
| (:export_task_successful waiter_name,
|
685
|
+
task_identifier: ::String
|
686
|
+
) -> Client::_GetExportTaskResponseSuccess
|
687
|
+
| (:export_task_successful waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetExportTaskResponseSuccess
|
688
|
+
| (:graph_available waiter_name,
|
584
689
|
graph_identifier: ::String
|
585
690
|
) -> Client::_GetGraphResponseSuccess
|
586
691
|
| (:graph_available waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetGraphResponseSuccess
|
data/sig/types.rbs
CHANGED
@@ -13,6 +13,24 @@ module Aws::NeptuneGraph
|
|
13
13
|
SENSITIVE: []
|
14
14
|
end
|
15
15
|
|
16
|
+
class CancelExportTaskInput
|
17
|
+
attr_accessor task_identifier: ::String
|
18
|
+
SENSITIVE: []
|
19
|
+
end
|
20
|
+
|
21
|
+
class CancelExportTaskOutput
|
22
|
+
attr_accessor graph_id: ::String
|
23
|
+
attr_accessor role_arn: ::String
|
24
|
+
attr_accessor task_id: ::String
|
25
|
+
attr_accessor status: ("INITIALIZING" | "EXPORTING" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED" | "DELETED")
|
26
|
+
attr_accessor format: ("PARQUET" | "CSV")
|
27
|
+
attr_accessor destination: ::String
|
28
|
+
attr_accessor kms_key_identifier: ::String
|
29
|
+
attr_accessor parquet_type: ("COLUMNAR")
|
30
|
+
attr_accessor status_reason: ::String
|
31
|
+
SENSITIVE: []
|
32
|
+
end
|
33
|
+
|
16
34
|
class CancelImportTaskInput
|
17
35
|
attr_accessor task_identifier: ::String
|
18
36
|
SENSITIVE: []
|
@@ -22,9 +40,10 @@ module Aws::NeptuneGraph
|
|
22
40
|
attr_accessor graph_id: ::String
|
23
41
|
attr_accessor task_id: ::String
|
24
42
|
attr_accessor source: ::String
|
25
|
-
attr_accessor format: ("CSV" | "OPEN_CYPHER" | "NTRIPLES")
|
43
|
+
attr_accessor format: ("CSV" | "OPEN_CYPHER" | "PARQUET" | "NTRIPLES")
|
44
|
+
attr_accessor parquet_type: ("COLUMNAR")
|
26
45
|
attr_accessor role_arn: ::String
|
27
|
-
attr_accessor status: ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED")
|
46
|
+
attr_accessor status: ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED" | "DELETED")
|
28
47
|
SENSITIVE: []
|
29
48
|
end
|
30
49
|
|
@@ -102,7 +121,8 @@ module Aws::NeptuneGraph
|
|
102
121
|
attr_accessor min_provisioned_memory: ::Integer
|
103
122
|
attr_accessor fail_on_error: bool
|
104
123
|
attr_accessor source: ::String
|
105
|
-
attr_accessor format: ("CSV" | "OPEN_CYPHER" | "NTRIPLES")
|
124
|
+
attr_accessor format: ("CSV" | "OPEN_CYPHER" | "PARQUET" | "NTRIPLES")
|
125
|
+
attr_accessor parquet_type: ("COLUMNAR")
|
106
126
|
attr_accessor blank_node_handling: ("convertToIri")
|
107
127
|
attr_accessor role_arn: ::String
|
108
128
|
SENSITIVE: []
|
@@ -112,9 +132,10 @@ module Aws::NeptuneGraph
|
|
112
132
|
attr_accessor graph_id: ::String
|
113
133
|
attr_accessor task_id: ::String
|
114
134
|
attr_accessor source: ::String
|
115
|
-
attr_accessor format: ("CSV" | "OPEN_CYPHER" | "NTRIPLES")
|
135
|
+
attr_accessor format: ("CSV" | "OPEN_CYPHER" | "PARQUET" | "NTRIPLES")
|
136
|
+
attr_accessor parquet_type: ("COLUMNAR")
|
116
137
|
attr_accessor role_arn: ::String
|
117
|
-
attr_accessor status: ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED")
|
138
|
+
attr_accessor status: ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED" | "DELETED")
|
118
139
|
attr_accessor import_options: Types::ImportOptions
|
119
140
|
SENSITIVE: []
|
120
141
|
end
|
@@ -212,6 +233,66 @@ module Aws::NeptuneGraph
|
|
212
233
|
SENSITIVE: []
|
213
234
|
end
|
214
235
|
|
236
|
+
class ExportFilter
|
237
|
+
attr_accessor vertex_filter: ::Hash[::String, Types::ExportFilterElement]
|
238
|
+
attr_accessor edge_filter: ::Hash[::String, Types::ExportFilterElement]
|
239
|
+
SENSITIVE: []
|
240
|
+
end
|
241
|
+
|
242
|
+
class ExportFilterElement
|
243
|
+
attr_accessor properties: ::Hash[::String, Types::ExportFilterPropertyAttributes]
|
244
|
+
SENSITIVE: []
|
245
|
+
end
|
246
|
+
|
247
|
+
class ExportFilterPropertyAttributes
|
248
|
+
attr_accessor output_type: ::String
|
249
|
+
attr_accessor source_property_name: ::String
|
250
|
+
attr_accessor multi_value_handling: ("TO_LIST" | "PICK_FIRST")
|
251
|
+
SENSITIVE: []
|
252
|
+
end
|
253
|
+
|
254
|
+
class ExportTaskDetails
|
255
|
+
attr_accessor start_time: ::Time
|
256
|
+
attr_accessor time_elapsed_seconds: ::Integer
|
257
|
+
attr_accessor progress_percentage: ::Integer
|
258
|
+
attr_accessor num_vertices_written: ::Integer
|
259
|
+
attr_accessor num_edges_written: ::Integer
|
260
|
+
SENSITIVE: []
|
261
|
+
end
|
262
|
+
|
263
|
+
class ExportTaskSummary
|
264
|
+
attr_accessor graph_id: ::String
|
265
|
+
attr_accessor role_arn: ::String
|
266
|
+
attr_accessor task_id: ::String
|
267
|
+
attr_accessor status: ("INITIALIZING" | "EXPORTING" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED" | "DELETED")
|
268
|
+
attr_accessor format: ("PARQUET" | "CSV")
|
269
|
+
attr_accessor destination: ::String
|
270
|
+
attr_accessor kms_key_identifier: ::String
|
271
|
+
attr_accessor parquet_type: ("COLUMNAR")
|
272
|
+
attr_accessor status_reason: ::String
|
273
|
+
SENSITIVE: []
|
274
|
+
end
|
275
|
+
|
276
|
+
class GetExportTaskInput
|
277
|
+
attr_accessor task_identifier: ::String
|
278
|
+
SENSITIVE: []
|
279
|
+
end
|
280
|
+
|
281
|
+
class GetExportTaskOutput
|
282
|
+
attr_accessor graph_id: ::String
|
283
|
+
attr_accessor role_arn: ::String
|
284
|
+
attr_accessor task_id: ::String
|
285
|
+
attr_accessor status: ("INITIALIZING" | "EXPORTING" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED" | "DELETED")
|
286
|
+
attr_accessor format: ("PARQUET" | "CSV")
|
287
|
+
attr_accessor destination: ::String
|
288
|
+
attr_accessor kms_key_identifier: ::String
|
289
|
+
attr_accessor parquet_type: ("COLUMNAR")
|
290
|
+
attr_accessor status_reason: ::String
|
291
|
+
attr_accessor export_task_details: Types::ExportTaskDetails
|
292
|
+
attr_accessor export_filter: Types::ExportFilter
|
293
|
+
SENSITIVE: []
|
294
|
+
end
|
295
|
+
|
215
296
|
class GetGraphInput
|
216
297
|
attr_accessor graph_identifier: ::String
|
217
298
|
SENSITIVE: []
|
@@ -274,9 +355,10 @@ module Aws::NeptuneGraph
|
|
274
355
|
attr_accessor graph_id: ::String
|
275
356
|
attr_accessor task_id: ::String
|
276
357
|
attr_accessor source: ::String
|
277
|
-
attr_accessor format: ("CSV" | "OPEN_CYPHER" | "NTRIPLES")
|
358
|
+
attr_accessor format: ("CSV" | "OPEN_CYPHER" | "PARQUET" | "NTRIPLES")
|
359
|
+
attr_accessor parquet_type: ("COLUMNAR")
|
278
360
|
attr_accessor role_arn: ::String
|
279
|
-
attr_accessor status: ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED")
|
361
|
+
attr_accessor status: ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED" | "DELETED")
|
280
362
|
attr_accessor import_options: Types::ImportOptions
|
281
363
|
attr_accessor import_task_details: Types::ImportTaskDetails
|
282
364
|
attr_accessor attempt_number: ::Integer
|
@@ -383,9 +465,10 @@ module Aws::NeptuneGraph
|
|
383
465
|
attr_accessor graph_id: ::String
|
384
466
|
attr_accessor task_id: ::String
|
385
467
|
attr_accessor source: ::String
|
386
|
-
attr_accessor format: ("CSV" | "OPEN_CYPHER" | "NTRIPLES")
|
468
|
+
attr_accessor format: ("CSV" | "OPEN_CYPHER" | "PARQUET" | "NTRIPLES")
|
469
|
+
attr_accessor parquet_type: ("COLUMNAR")
|
387
470
|
attr_accessor role_arn: ::String
|
388
|
-
attr_accessor status: ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED")
|
471
|
+
attr_accessor status: ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED" | "DELETED")
|
389
472
|
SENSITIVE: []
|
390
473
|
end
|
391
474
|
|
@@ -394,6 +477,18 @@ module Aws::NeptuneGraph
|
|
394
477
|
SENSITIVE: []
|
395
478
|
end
|
396
479
|
|
480
|
+
class ListExportTasksInput
|
481
|
+
attr_accessor next_token: ::String
|
482
|
+
attr_accessor max_results: ::Integer
|
483
|
+
SENSITIVE: []
|
484
|
+
end
|
485
|
+
|
486
|
+
class ListExportTasksOutput
|
487
|
+
attr_accessor tasks: ::Array[Types::ExportTaskSummary]
|
488
|
+
attr_accessor next_token: ::String
|
489
|
+
SENSITIVE: []
|
490
|
+
end
|
491
|
+
|
397
492
|
class ListGraphSnapshotsInput
|
398
493
|
attr_accessor graph_identifier: ::String
|
399
494
|
attr_accessor next_token: ::String
|
@@ -567,11 +662,38 @@ module Aws::NeptuneGraph
|
|
567
662
|
SENSITIVE: []
|
568
663
|
end
|
569
664
|
|
665
|
+
class StartExportTaskInput
|
666
|
+
attr_accessor graph_identifier: ::String
|
667
|
+
attr_accessor role_arn: ::String
|
668
|
+
attr_accessor format: ("PARQUET" | "CSV")
|
669
|
+
attr_accessor destination: ::String
|
670
|
+
attr_accessor kms_key_identifier: ::String
|
671
|
+
attr_accessor parquet_type: ("COLUMNAR")
|
672
|
+
attr_accessor export_filter: Types::ExportFilter
|
673
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
674
|
+
SENSITIVE: []
|
675
|
+
end
|
676
|
+
|
677
|
+
class StartExportTaskOutput
|
678
|
+
attr_accessor graph_id: ::String
|
679
|
+
attr_accessor role_arn: ::String
|
680
|
+
attr_accessor task_id: ::String
|
681
|
+
attr_accessor status: ("INITIALIZING" | "EXPORTING" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED" | "DELETED")
|
682
|
+
attr_accessor format: ("PARQUET" | "CSV")
|
683
|
+
attr_accessor destination: ::String
|
684
|
+
attr_accessor kms_key_identifier: ::String
|
685
|
+
attr_accessor parquet_type: ("COLUMNAR")
|
686
|
+
attr_accessor status_reason: ::String
|
687
|
+
attr_accessor export_filter: Types::ExportFilter
|
688
|
+
SENSITIVE: []
|
689
|
+
end
|
690
|
+
|
570
691
|
class StartImportTaskInput
|
571
692
|
attr_accessor import_options: Types::ImportOptions
|
572
693
|
attr_accessor fail_on_error: bool
|
573
694
|
attr_accessor source: ::String
|
574
|
-
attr_accessor format: ("CSV" | "OPEN_CYPHER" | "NTRIPLES")
|
695
|
+
attr_accessor format: ("CSV" | "OPEN_CYPHER" | "PARQUET" | "NTRIPLES")
|
696
|
+
attr_accessor parquet_type: ("COLUMNAR")
|
575
697
|
attr_accessor blank_node_handling: ("convertToIri")
|
576
698
|
attr_accessor graph_identifier: ::String
|
577
699
|
attr_accessor role_arn: ::String
|
@@ -582,9 +704,10 @@ module Aws::NeptuneGraph
|
|
582
704
|
attr_accessor graph_id: ::String
|
583
705
|
attr_accessor task_id: ::String
|
584
706
|
attr_accessor source: ::String
|
585
|
-
attr_accessor format: ("CSV" | "OPEN_CYPHER" | "NTRIPLES")
|
707
|
+
attr_accessor format: ("CSV" | "OPEN_CYPHER" | "PARQUET" | "NTRIPLES")
|
708
|
+
attr_accessor parquet_type: ("COLUMNAR")
|
586
709
|
attr_accessor role_arn: ::String
|
587
|
-
attr_accessor status: ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED")
|
710
|
+
attr_accessor status: ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED" | "DELETED")
|
588
711
|
attr_accessor import_options: Types::ImportOptions
|
589
712
|
SENSITIVE: []
|
590
713
|
end
|
data/sig/waiters.rbs
CHANGED
@@ -9,6 +9,26 @@ module Aws
|
|
9
9
|
module NeptuneGraph
|
10
10
|
module Waiters
|
11
11
|
|
12
|
+
class ExportTaskCancelled
|
13
|
+
def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
|
14
|
+
| (?Hash[Symbol, untyped]) -> void
|
15
|
+
|
16
|
+
def wait: (
|
17
|
+
task_identifier: ::String
|
18
|
+
) -> Client::_GetExportTaskResponseSuccess
|
19
|
+
| (Hash[Symbol, untyped]) -> Client::_GetExportTaskResponseSuccess
|
20
|
+
end
|
21
|
+
|
22
|
+
class ExportTaskSuccessful
|
23
|
+
def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
|
24
|
+
| (?Hash[Symbol, untyped]) -> void
|
25
|
+
|
26
|
+
def wait: (
|
27
|
+
task_identifier: ::String
|
28
|
+
) -> Client::_GetExportTaskResponseSuccess
|
29
|
+
| (Hash[Symbol, untyped]) -> Client::_GetExportTaskResponseSuccess
|
30
|
+
end
|
31
|
+
|
12
32
|
class GraphAvailable
|
13
33
|
def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
|
14
34
|
| (?Hash[Symbol, untyped]) -> void
|
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.25.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-11-
|
11
|
+
date: 2024-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|