aws-sdk-neptunegraph 1.24.0 → 1.26.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-neptunegraph/client.rb +323 -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 +118 -11
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +135 -12
- data/sig/waiters.rbs +20 -0
- metadata +4 -4
@@ -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.26.0'
|
59
59
|
|
60
60
|
end
|
61
61
|
|
data/sig/client.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
@@ -75,14 +77,33 @@ module Aws
|
|
75
77
|
| (?Hash[Symbol, untyped]) -> instance
|
76
78
|
|
77
79
|
|
80
|
+
interface _CancelExportTaskResponseSuccess
|
81
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CancelExportTaskOutput]
|
82
|
+
def graph_id: () -> ::String
|
83
|
+
def role_arn: () -> ::String
|
84
|
+
def task_id: () -> ::String
|
85
|
+
def status: () -> ("INITIALIZING" | "EXPORTING" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED" | "DELETED")
|
86
|
+
def format: () -> ("PARQUET" | "CSV")
|
87
|
+
def destination: () -> ::String
|
88
|
+
def kms_key_identifier: () -> ::String
|
89
|
+
def parquet_type: () -> ("COLUMNAR")
|
90
|
+
def status_reason: () -> ::String
|
91
|
+
end
|
92
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#cancel_export_task-instance_method
|
93
|
+
def cancel_export_task: (
|
94
|
+
task_identifier: ::String
|
95
|
+
) -> _CancelExportTaskResponseSuccess
|
96
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelExportTaskResponseSuccess
|
97
|
+
|
78
98
|
interface _CancelImportTaskResponseSuccess
|
79
99
|
include ::Seahorse::Client::_ResponseSuccess[Types::CancelImportTaskOutput]
|
80
100
|
def graph_id: () -> ::String
|
81
101
|
def task_id: () -> ::String
|
82
102
|
def source: () -> ::String
|
83
|
-
def format: () -> ("CSV" | "OPEN_CYPHER" | "NTRIPLES")
|
103
|
+
def format: () -> ("CSV" | "OPEN_CYPHER" | "PARQUET" | "NTRIPLES")
|
104
|
+
def parquet_type: () -> ("COLUMNAR")
|
84
105
|
def role_arn: () -> ::String
|
85
|
-
def status: () -> ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED")
|
106
|
+
def status: () -> ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED" | "DELETED")
|
86
107
|
end
|
87
108
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#cancel_import_task-instance_method
|
88
109
|
def cancel_import_task: (
|
@@ -153,9 +174,10 @@ module Aws
|
|
153
174
|
def graph_id: () -> ::String
|
154
175
|
def task_id: () -> ::String
|
155
176
|
def source: () -> ::String
|
156
|
-
def format: () -> ("CSV" | "OPEN_CYPHER" | "NTRIPLES")
|
177
|
+
def format: () -> ("CSV" | "OPEN_CYPHER" | "PARQUET" | "NTRIPLES")
|
178
|
+
def parquet_type: () -> ("COLUMNAR")
|
157
179
|
def role_arn: () -> ::String
|
158
|
-
def status: () -> ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED")
|
180
|
+
def status: () -> ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED" | "DELETED")
|
159
181
|
def import_options: () -> Types::ImportOptions
|
160
182
|
end
|
161
183
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#create_graph_using_import_task-instance_method
|
@@ -181,7 +203,8 @@ module Aws
|
|
181
203
|
?min_provisioned_memory: ::Integer,
|
182
204
|
?fail_on_error: bool,
|
183
205
|
source: ::String,
|
184
|
-
?format: ("CSV" | "OPEN_CYPHER" | "NTRIPLES"),
|
206
|
+
?format: ("CSV" | "OPEN_CYPHER" | "PARQUET" | "NTRIPLES"),
|
207
|
+
?parquet_type: ("COLUMNAR"),
|
185
208
|
?blank_node_handling: ("convertToIri"),
|
186
209
|
role_arn: ::String
|
187
210
|
) -> _CreateGraphUsingImportTaskResponseSuccess
|
@@ -275,6 +298,26 @@ module Aws
|
|
275
298
|
) ?{ (*untyped) -> void } -> _ExecuteQueryResponseSuccess
|
276
299
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _ExecuteQueryResponseSuccess
|
277
300
|
|
301
|
+
interface _GetExportTaskResponseSuccess
|
302
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetExportTaskOutput]
|
303
|
+
def graph_id: () -> ::String
|
304
|
+
def role_arn: () -> ::String
|
305
|
+
def task_id: () -> ::String
|
306
|
+
def status: () -> ("INITIALIZING" | "EXPORTING" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED" | "DELETED")
|
307
|
+
def format: () -> ("PARQUET" | "CSV")
|
308
|
+
def destination: () -> ::String
|
309
|
+
def kms_key_identifier: () -> ::String
|
310
|
+
def parquet_type: () -> ("COLUMNAR")
|
311
|
+
def status_reason: () -> ::String
|
312
|
+
def export_task_details: () -> Types::ExportTaskDetails
|
313
|
+
def export_filter: () -> Types::ExportFilter
|
314
|
+
end
|
315
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#get_export_task-instance_method
|
316
|
+
def get_export_task: (
|
317
|
+
task_identifier: ::String
|
318
|
+
) -> _GetExportTaskResponseSuccess
|
319
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetExportTaskResponseSuccess
|
320
|
+
|
278
321
|
interface _GetGraphResponseSuccess
|
279
322
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetGraphOutput]
|
280
323
|
def id: () -> ::String
|
@@ -333,9 +376,10 @@ module Aws
|
|
333
376
|
def graph_id: () -> ::String
|
334
377
|
def task_id: () -> ::String
|
335
378
|
def source: () -> ::String
|
336
|
-
def format: () -> ("CSV" | "OPEN_CYPHER" | "NTRIPLES")
|
379
|
+
def format: () -> ("CSV" | "OPEN_CYPHER" | "PARQUET" | "NTRIPLES")
|
380
|
+
def parquet_type: () -> ("COLUMNAR")
|
337
381
|
def role_arn: () -> ::String
|
338
|
-
def status: () -> ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED")
|
382
|
+
def status: () -> ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED" | "DELETED")
|
339
383
|
def import_options: () -> Types::ImportOptions
|
340
384
|
def import_task_details: () -> Types::ImportTaskDetails
|
341
385
|
def attempt_number: () -> ::Integer
|
@@ -376,6 +420,18 @@ module Aws
|
|
376
420
|
) -> _GetQueryResponseSuccess
|
377
421
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetQueryResponseSuccess
|
378
422
|
|
423
|
+
interface _ListExportTasksResponseSuccess
|
424
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListExportTasksOutput]
|
425
|
+
def tasks: () -> ::Array[Types::ExportTaskSummary]
|
426
|
+
def next_token: () -> ::String
|
427
|
+
end
|
428
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#list_export_tasks-instance_method
|
429
|
+
def list_export_tasks: (
|
430
|
+
?next_token: ::String,
|
431
|
+
?max_results: ::Integer
|
432
|
+
) -> _ListExportTasksResponseSuccess
|
433
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListExportTasksResponseSuccess
|
434
|
+
|
379
435
|
interface _ListGraphSnapshotsResponseSuccess
|
380
436
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListGraphSnapshotsOutput]
|
381
437
|
def graph_snapshots: () -> ::Array[Types::GraphSnapshotSummary]
|
@@ -503,14 +559,56 @@ module Aws
|
|
503
559
|
) -> _RestoreGraphFromSnapshotResponseSuccess
|
504
560
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreGraphFromSnapshotResponseSuccess
|
505
561
|
|
562
|
+
interface _StartExportTaskResponseSuccess
|
563
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartExportTaskOutput]
|
564
|
+
def graph_id: () -> ::String
|
565
|
+
def role_arn: () -> ::String
|
566
|
+
def task_id: () -> ::String
|
567
|
+
def status: () -> ("INITIALIZING" | "EXPORTING" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED" | "DELETED")
|
568
|
+
def format: () -> ("PARQUET" | "CSV")
|
569
|
+
def destination: () -> ::String
|
570
|
+
def kms_key_identifier: () -> ::String
|
571
|
+
def parquet_type: () -> ("COLUMNAR")
|
572
|
+
def status_reason: () -> ::String
|
573
|
+
def export_filter: () -> Types::ExportFilter
|
574
|
+
end
|
575
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#start_export_task-instance_method
|
576
|
+
def start_export_task: (
|
577
|
+
graph_identifier: ::String,
|
578
|
+
role_arn: ::String,
|
579
|
+
format: ("PARQUET" | "CSV"),
|
580
|
+
destination: ::String,
|
581
|
+
kms_key_identifier: ::String,
|
582
|
+
?parquet_type: ("COLUMNAR"),
|
583
|
+
?export_filter: {
|
584
|
+
vertex_filter: Hash[::String, {
|
585
|
+
properties: Hash[::String, {
|
586
|
+
output_type: ::String?,
|
587
|
+
source_property_name: ::String?,
|
588
|
+
multi_value_handling: ("TO_LIST" | "PICK_FIRST")?
|
589
|
+
}]?
|
590
|
+
}]?,
|
591
|
+
edge_filter: Hash[::String, {
|
592
|
+
properties: Hash[::String, {
|
593
|
+
output_type: ::String?,
|
594
|
+
source_property_name: ::String?,
|
595
|
+
multi_value_handling: ("TO_LIST" | "PICK_FIRST")?
|
596
|
+
}]?
|
597
|
+
}]?
|
598
|
+
},
|
599
|
+
?tags: Hash[::String, ::String]
|
600
|
+
) -> _StartExportTaskResponseSuccess
|
601
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartExportTaskResponseSuccess
|
602
|
+
|
506
603
|
interface _StartImportTaskResponseSuccess
|
507
604
|
include ::Seahorse::Client::_ResponseSuccess[Types::StartImportTaskOutput]
|
508
605
|
def graph_id: () -> ::String
|
509
606
|
def task_id: () -> ::String
|
510
607
|
def source: () -> ::String
|
511
|
-
def format: () -> ("CSV" | "OPEN_CYPHER" | "NTRIPLES")
|
608
|
+
def format: () -> ("CSV" | "OPEN_CYPHER" | "PARQUET" | "NTRIPLES")
|
609
|
+
def parquet_type: () -> ("COLUMNAR")
|
512
610
|
def role_arn: () -> ::String
|
513
|
-
def status: () -> ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED")
|
611
|
+
def status: () -> ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED" | "DELETED")
|
514
612
|
def import_options: () -> Types::ImportOptions
|
515
613
|
end
|
516
614
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#start_import_task-instance_method
|
@@ -525,7 +623,8 @@ module Aws
|
|
525
623
|
},
|
526
624
|
?fail_on_error: bool,
|
527
625
|
source: ::String,
|
528
|
-
?format: ("CSV" | "OPEN_CYPHER" | "NTRIPLES"),
|
626
|
+
?format: ("CSV" | "OPEN_CYPHER" | "PARQUET" | "NTRIPLES"),
|
627
|
+
?parquet_type: ("COLUMNAR"),
|
529
628
|
?blank_node_handling: ("convertToIri"),
|
530
629
|
graph_identifier: ::String,
|
531
630
|
role_arn: ::String
|
@@ -580,7 +679,15 @@ module Aws
|
|
580
679
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGraphResponseSuccess
|
581
680
|
|
582
681
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#wait_until-instance_method
|
583
|
-
def wait_until: (:
|
682
|
+
def wait_until: (:export_task_cancelled waiter_name,
|
683
|
+
task_identifier: ::String
|
684
|
+
) -> Client::_GetExportTaskResponseSuccess
|
685
|
+
| (:export_task_cancelled waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetExportTaskResponseSuccess
|
686
|
+
| (:export_task_successful waiter_name,
|
687
|
+
task_identifier: ::String
|
688
|
+
) -> Client::_GetExportTaskResponseSuccess
|
689
|
+
| (:export_task_successful waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetExportTaskResponseSuccess
|
690
|
+
| (:graph_available waiter_name,
|
584
691
|
graph_identifier: ::String
|
585
692
|
) -> Client::_GetGraphResponseSuccess
|
586
693
|
| (:graph_available waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetGraphResponseSuccess
|
data/sig/resource.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
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.26.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:
|
11
|
+
date: 2025-01-15 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.216.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.216.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|