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.
@@ -24,6 +24,73 @@ module Aws::NeptuneGraph
24
24
  include Aws::Structure
25
25
  end
26
26
 
27
+ # @!attribute [rw] task_identifier
28
+ # The unique identifier of the export task.
29
+ # @return [String]
30
+ #
31
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/CancelExportTaskInput AWS API Documentation
32
+ #
33
+ class CancelExportTaskInput < Struct.new(
34
+ :task_identifier)
35
+ SENSITIVE = []
36
+ include Aws::Structure
37
+ end
38
+
39
+ # @!attribute [rw] graph_id
40
+ # The source graph identifier of the cancelled export task.
41
+ # @return [String]
42
+ #
43
+ # @!attribute [rw] role_arn
44
+ # The ARN of the IAM role that will allow the exporting of data to the
45
+ # destination.
46
+ # @return [String]
47
+ #
48
+ # @!attribute [rw] task_id
49
+ # The unique identifier of the export task.
50
+ # @return [String]
51
+ #
52
+ # @!attribute [rw] status
53
+ # The current status of the export task. The status is `CANCELLING`
54
+ # when the export task is cancelled.
55
+ # @return [String]
56
+ #
57
+ # @!attribute [rw] format
58
+ # The format of the cancelled export task.
59
+ # @return [String]
60
+ #
61
+ # @!attribute [rw] destination
62
+ # The Amazon S3 URI of the cancelled export task where data will be
63
+ # exported to.
64
+ # @return [String]
65
+ #
66
+ # @!attribute [rw] kms_key_identifier
67
+ # The KMS key identifier of the cancelled export task.
68
+ # @return [String]
69
+ #
70
+ # @!attribute [rw] parquet_type
71
+ # The parquet type of the cancelled export task.
72
+ # @return [String]
73
+ #
74
+ # @!attribute [rw] status_reason
75
+ # The reason that the export task has this status value.
76
+ # @return [String]
77
+ #
78
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/CancelExportTaskOutput AWS API Documentation
79
+ #
80
+ class CancelExportTaskOutput < Struct.new(
81
+ :graph_id,
82
+ :role_arn,
83
+ :task_id,
84
+ :status,
85
+ :format,
86
+ :destination,
87
+ :kms_key_identifier,
88
+ :parquet_type,
89
+ :status_reason)
90
+ SENSITIVE = []
91
+ include Aws::Structure
92
+ end
93
+
27
94
  # @!attribute [rw] task_identifier
28
95
  # The unique identifier of the import task.
29
96
  # @return [String]
@@ -61,6 +128,10 @@ module Aws::NeptuneGraph
61
128
  # [2]: https://docs.aws.amazon.com/neptune/latest/userguide/bulk-load-tutorial-format-opencypher.html
62
129
  # @return [String]
63
130
  #
131
+ # @!attribute [rw] parquet_type
132
+ # The parquet type of the cancelled import task.
133
+ # @return [String]
134
+ #
64
135
  # @!attribute [rw] role_arn
65
136
  # The ARN of the IAM role that will allow access to the data that is
66
137
  # to be imported.
@@ -78,6 +149,7 @@ module Aws::NeptuneGraph
78
149
  :task_id,
79
150
  :source,
80
151
  :format,
152
+ :parquet_type,
81
153
  :role_arn,
82
154
  :status)
83
155
  SENSITIVE = []
@@ -447,6 +519,10 @@ module Aws::NeptuneGraph
447
519
  # [3]: https://docs.aws.amazon.com/neptune-analytics/latest/userguide/using-rdf-data.html
448
520
  # @return [String]
449
521
  #
522
+ # @!attribute [rw] parquet_type
523
+ # The parquet type of the import task.
524
+ # @return [String]
525
+ #
450
526
  # @!attribute [rw] blank_node_handling
451
527
  # The method to handle blank nodes in the dataset. Currently, only
452
528
  # `convertToIri` is supported, meaning blank nodes are converted to
@@ -479,6 +555,7 @@ module Aws::NeptuneGraph
479
555
  :fail_on_error,
480
556
  :source,
481
557
  :format,
558
+ :parquet_type,
482
559
  :blank_node_handling,
483
560
  :role_arn)
484
561
  SENSITIVE = []
@@ -512,6 +589,10 @@ module Aws::NeptuneGraph
512
589
  # [3]: https://docs.aws.amazon.com/neptune-analytics/latest/userguide/using-rdf-data.html
513
590
  # @return [String]
514
591
  #
592
+ # @!attribute [rw] parquet_type
593
+ # The parquet type of the import task.
594
+ # @return [String]
595
+ #
515
596
  # @!attribute [rw] role_arn
516
597
  # The ARN of the IAM role that will allow access to the data that is
517
598
  # to be imported.
@@ -536,6 +617,7 @@ module Aws::NeptuneGraph
536
617
  :task_id,
537
618
  :source,
538
619
  :format,
620
+ :parquet_type,
539
621
  :role_arn,
540
622
  :status,
541
623
  :import_options)
@@ -886,6 +968,250 @@ module Aws::NeptuneGraph
886
968
  include Aws::Structure
887
969
  end
888
970
 
971
+ # This is the top-level field for specifying vertex or edge filters. If
972
+ # the ExportFilter is not provided, then all properties for all labels
973
+ # will be exported. If the ExportFilter is provided but is an empty
974
+ # object, then no data will be exported.
975
+ #
976
+ # @!attribute [rw] vertex_filter
977
+ # Used to specify filters on a per-label basis for vertices. This
978
+ # allows you to control which vertex labels and properties are
979
+ # included in the export.
980
+ # @return [Hash<String,Types::ExportFilterElement>]
981
+ #
982
+ # @!attribute [rw] edge_filter
983
+ # Used to specify filters on a per-label basis for edges. This allows
984
+ # you to control which edge labels and properties are included in the
985
+ # export.
986
+ # @return [Hash<String,Types::ExportFilterElement>]
987
+ #
988
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/ExportFilter AWS API Documentation
989
+ #
990
+ class ExportFilter < Struct.new(
991
+ :vertex_filter,
992
+ :edge_filter)
993
+ SENSITIVE = []
994
+ include Aws::Structure
995
+ end
996
+
997
+ # Specifies whihc properties of that label should be included in the
998
+ # export.
999
+ #
1000
+ # @!attribute [rw] properties
1001
+ # Each property is defined by a key-value pair, where the key is the
1002
+ # desired output property name (e.g. "name"), and the value is an
1003
+ # object.
1004
+ # @return [Hash<String,Types::ExportFilterPropertyAttributes>]
1005
+ #
1006
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/ExportFilterElement AWS API Documentation
1007
+ #
1008
+ class ExportFilterElement < Struct.new(
1009
+ :properties)
1010
+ SENSITIVE = []
1011
+ include Aws::Structure
1012
+ end
1013
+
1014
+ # A structure representing a property's attributes. It is a map object
1015
+ # of outputType, sourcePropertyName and multiValueHandling.
1016
+ #
1017
+ # @!attribute [rw] output_type
1018
+ # Specifies the data type to use for the property in the exported data
1019
+ # (e.g. "String", "Int", "Float"). If a type is not provided,
1020
+ # the export process will determine the type. If a given property is
1021
+ # present as multiple types (e.g. one vertex has "height" stored as
1022
+ # a double, and another edge has it stored as a string), the type will
1023
+ # be of Any type, otherwise, it will be the type of the property as
1024
+ # present in vertices.
1025
+ # @return [String]
1026
+ #
1027
+ # @!attribute [rw] source_property_name
1028
+ # The name of the property as it exists in the original graph data. If
1029
+ # not provided, it is assumed that the key matches the desired
1030
+ # sourcePropertyName.
1031
+ # @return [String]
1032
+ #
1033
+ # @!attribute [rw] multi_value_handling
1034
+ # Specifies how to handle properties that have multiple values. Can be
1035
+ # either `TO_LIST` to export all values as a list, or `PICK_FIRST` to
1036
+ # export the first value encountered. If not specified, the default
1037
+ # value is `PICK_FIRST`.
1038
+ # @return [String]
1039
+ #
1040
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/ExportFilterPropertyAttributes AWS API Documentation
1041
+ #
1042
+ class ExportFilterPropertyAttributes < Struct.new(
1043
+ :output_type,
1044
+ :source_property_name,
1045
+ :multi_value_handling)
1046
+ SENSITIVE = []
1047
+ include Aws::Structure
1048
+ end
1049
+
1050
+ # Contains details about the specified export task.
1051
+ #
1052
+ # @!attribute [rw] start_time
1053
+ # The start time of the export task.
1054
+ # @return [Time]
1055
+ #
1056
+ # @!attribute [rw] time_elapsed_seconds
1057
+ # The time elapsed, in seconds, since the start time of the export
1058
+ # task.
1059
+ # @return [Integer]
1060
+ #
1061
+ # @!attribute [rw] progress_percentage
1062
+ # The number of progress percentage of the export task.
1063
+ # @return [Integer]
1064
+ #
1065
+ # @!attribute [rw] num_vertices_written
1066
+ # The number of exported vertices.
1067
+ # @return [Integer]
1068
+ #
1069
+ # @!attribute [rw] num_edges_written
1070
+ # The number of exported edges.
1071
+ # @return [Integer]
1072
+ #
1073
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/ExportTaskDetails AWS API Documentation
1074
+ #
1075
+ class ExportTaskDetails < Struct.new(
1076
+ :start_time,
1077
+ :time_elapsed_seconds,
1078
+ :progress_percentage,
1079
+ :num_vertices_written,
1080
+ :num_edges_written)
1081
+ SENSITIVE = []
1082
+ include Aws::Structure
1083
+ end
1084
+
1085
+ # Provides details about an export task.
1086
+ #
1087
+ # @!attribute [rw] graph_id
1088
+ # The source graph identifier of the export task.
1089
+ # @return [String]
1090
+ #
1091
+ # @!attribute [rw] role_arn
1092
+ # The ARN of the IAM role that will allow the data to be exported to
1093
+ # the destination.
1094
+ # @return [String]
1095
+ #
1096
+ # @!attribute [rw] task_id
1097
+ # The unique identifier of the export task.
1098
+ # @return [String]
1099
+ #
1100
+ # @!attribute [rw] status
1101
+ # The current status of the export task.
1102
+ # @return [String]
1103
+ #
1104
+ # @!attribute [rw] format
1105
+ # The format of the export task.
1106
+ # @return [String]
1107
+ #
1108
+ # @!attribute [rw] destination
1109
+ # The Amazon S3 URI of the export task where data will be exported to.
1110
+ # @return [String]
1111
+ #
1112
+ # @!attribute [rw] kms_key_identifier
1113
+ # The KMS key identifier of the export task.
1114
+ # @return [String]
1115
+ #
1116
+ # @!attribute [rw] parquet_type
1117
+ # The parquet type of the export task.
1118
+ # @return [String]
1119
+ #
1120
+ # @!attribute [rw] status_reason
1121
+ # The reason that the export task has this status value.
1122
+ # @return [String]
1123
+ #
1124
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/ExportTaskSummary AWS API Documentation
1125
+ #
1126
+ class ExportTaskSummary < Struct.new(
1127
+ :graph_id,
1128
+ :role_arn,
1129
+ :task_id,
1130
+ :status,
1131
+ :format,
1132
+ :destination,
1133
+ :kms_key_identifier,
1134
+ :parquet_type,
1135
+ :status_reason)
1136
+ SENSITIVE = []
1137
+ include Aws::Structure
1138
+ end
1139
+
1140
+ # @!attribute [rw] task_identifier
1141
+ # The unique identifier of the export task.
1142
+ # @return [String]
1143
+ #
1144
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/GetExportTaskInput AWS API Documentation
1145
+ #
1146
+ class GetExportTaskInput < Struct.new(
1147
+ :task_identifier)
1148
+ SENSITIVE = []
1149
+ include Aws::Structure
1150
+ end
1151
+
1152
+ # @!attribute [rw] graph_id
1153
+ # The source graph identifier of the export task.
1154
+ # @return [String]
1155
+ #
1156
+ # @!attribute [rw] role_arn
1157
+ # The ARN of the IAM role that will allow data to be exported to the
1158
+ # destination.
1159
+ # @return [String]
1160
+ #
1161
+ # @!attribute [rw] task_id
1162
+ # The unique identifier of the export task.
1163
+ # @return [String]
1164
+ #
1165
+ # @!attribute [rw] status
1166
+ # The current status of the export task.
1167
+ # @return [String]
1168
+ #
1169
+ # @!attribute [rw] format
1170
+ # The format of the export task.
1171
+ # @return [String]
1172
+ #
1173
+ # @!attribute [rw] destination
1174
+ # The Amazon S3 URI of the export task where data will be exported.
1175
+ # @return [String]
1176
+ #
1177
+ # @!attribute [rw] kms_key_identifier
1178
+ # The KMS key identifier of the export task.
1179
+ # @return [String]
1180
+ #
1181
+ # @!attribute [rw] parquet_type
1182
+ # The parquet type of the export task.
1183
+ # @return [String]
1184
+ #
1185
+ # @!attribute [rw] status_reason
1186
+ # The reason that the export task has this status value.
1187
+ # @return [String]
1188
+ #
1189
+ # @!attribute [rw] export_task_details
1190
+ # The details of the export task.
1191
+ # @return [Types::ExportTaskDetails]
1192
+ #
1193
+ # @!attribute [rw] export_filter
1194
+ # The export filter of the export task.
1195
+ # @return [Types::ExportFilter]
1196
+ #
1197
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/GetExportTaskOutput AWS API Documentation
1198
+ #
1199
+ class GetExportTaskOutput < Struct.new(
1200
+ :graph_id,
1201
+ :role_arn,
1202
+ :task_id,
1203
+ :status,
1204
+ :format,
1205
+ :destination,
1206
+ :kms_key_identifier,
1207
+ :parquet_type,
1208
+ :status_reason,
1209
+ :export_task_details,
1210
+ :export_filter)
1211
+ SENSITIVE = []
1212
+ include Aws::Structure
1213
+ end
1214
+
889
1215
  # @!attribute [rw] graph_identifier
890
1216
  # The unique identifier of the Neptune Analytics graph.
891
1217
  # @return [String]
@@ -1120,6 +1446,10 @@ module Aws::NeptuneGraph
1120
1446
  # [2]: https://docs.aws.amazon.com/neptune/latest/userguide/bulk-load-tutorial-format-opencypher.html
1121
1447
  # @return [String]
1122
1448
  #
1449
+ # @!attribute [rw] parquet_type
1450
+ # The parquet type of the import task.
1451
+ # @return [String]
1452
+ #
1123
1453
  # @!attribute [rw] role_arn
1124
1454
  # The ARN of the IAM role that will allow access to the data that is
1125
1455
  # to be imported.
@@ -1173,7 +1503,7 @@ module Aws::NeptuneGraph
1173
1503
  # @return [Types::ImportTaskDetails]
1174
1504
  #
1175
1505
  # @!attribute [rw] attempt_number
1176
- # The number of the current attempt to execute the import task.
1506
+ # The number of the current attempts to execute the import task.
1177
1507
  # @return [Integer]
1178
1508
  #
1179
1509
  # @!attribute [rw] status_reason
@@ -1187,6 +1517,7 @@ module Aws::NeptuneGraph
1187
1517
  :task_id,
1188
1518
  :source,
1189
1519
  :format,
1520
+ :parquet_type,
1190
1521
  :role_arn,
1191
1522
  :status,
1192
1523
  :import_options,
@@ -1581,6 +1912,10 @@ module Aws::NeptuneGraph
1581
1912
  # [2]: https://docs.aws.amazon.com/neptune/latest/userguide/bulk-load-tutorial-format-opencypher.html
1582
1913
  # @return [String]
1583
1914
  #
1915
+ # @!attribute [rw] parquet_type
1916
+ # The parquet type of the import task.
1917
+ # @return [String]
1918
+ #
1584
1919
  # @!attribute [rw] role_arn
1585
1920
  # The ARN of the IAM role that will allow access to the data that is
1586
1921
  # to be imported.
@@ -1597,6 +1932,7 @@ module Aws::NeptuneGraph
1597
1932
  :task_id,
1598
1933
  :source,
1599
1934
  :format,
1935
+ :parquet_type,
1600
1936
  :role_arn,
1601
1937
  :status)
1602
1938
  SENSITIVE = []
@@ -1617,6 +1953,40 @@ module Aws::NeptuneGraph
1617
1953
  include Aws::Structure
1618
1954
  end
1619
1955
 
1956
+ # @!attribute [rw] next_token
1957
+ # Pagination token used to paginate input.
1958
+ # @return [String]
1959
+ #
1960
+ # @!attribute [rw] max_results
1961
+ # The maximum number of export tasks to return.
1962
+ # @return [Integer]
1963
+ #
1964
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/ListExportTasksInput AWS API Documentation
1965
+ #
1966
+ class ListExportTasksInput < Struct.new(
1967
+ :next_token,
1968
+ :max_results)
1969
+ SENSITIVE = []
1970
+ include Aws::Structure
1971
+ end
1972
+
1973
+ # @!attribute [rw] tasks
1974
+ # The requested list of export tasks.
1975
+ # @return [Array<Types::ExportTaskSummary>]
1976
+ #
1977
+ # @!attribute [rw] next_token
1978
+ # Pagination token used to paginate output.
1979
+ # @return [String]
1980
+ #
1981
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/ListExportTasksOutput AWS API Documentation
1982
+ #
1983
+ class ListExportTasksOutput < Struct.new(
1984
+ :tasks,
1985
+ :next_token)
1986
+ SENSITIVE = []
1987
+ include Aws::Structure
1988
+ end
1989
+
1620
1990
  # @!attribute [rw] graph_identifier
1621
1991
  # The unique identifier of the Neptune Analytics graph.
1622
1992
  # @return [String]
@@ -2309,6 +2679,112 @@ module Aws::NeptuneGraph
2309
2679
  include Aws::Structure
2310
2680
  end
2311
2681
 
2682
+ # @!attribute [rw] graph_identifier
2683
+ # The source graph identifier of the export task.
2684
+ # @return [String]
2685
+ #
2686
+ # @!attribute [rw] role_arn
2687
+ # The ARN of the IAM role that will allow data to be exported to the
2688
+ # destination.
2689
+ # @return [String]
2690
+ #
2691
+ # @!attribute [rw] format
2692
+ # The format of the export task.
2693
+ # @return [String]
2694
+ #
2695
+ # @!attribute [rw] destination
2696
+ # The Amazon S3 URI where data will be exported to.
2697
+ # @return [String]
2698
+ #
2699
+ # @!attribute [rw] kms_key_identifier
2700
+ # The KMS key identifier of the export task.
2701
+ # @return [String]
2702
+ #
2703
+ # @!attribute [rw] parquet_type
2704
+ # The parquet type of the export task.
2705
+ # @return [String]
2706
+ #
2707
+ # @!attribute [rw] export_filter
2708
+ # The export filter of the export task.
2709
+ # @return [Types::ExportFilter]
2710
+ #
2711
+ # @!attribute [rw] tags
2712
+ # Tags to be applied to the export task.
2713
+ # @return [Hash<String,String>]
2714
+ #
2715
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/StartExportTaskInput AWS API Documentation
2716
+ #
2717
+ class StartExportTaskInput < Struct.new(
2718
+ :graph_identifier,
2719
+ :role_arn,
2720
+ :format,
2721
+ :destination,
2722
+ :kms_key_identifier,
2723
+ :parquet_type,
2724
+ :export_filter,
2725
+ :tags)
2726
+ SENSITIVE = []
2727
+ include Aws::Structure
2728
+ end
2729
+
2730
+ # @!attribute [rw] graph_id
2731
+ # The source graph identifier of the export task.
2732
+ # @return [String]
2733
+ #
2734
+ # @!attribute [rw] role_arn
2735
+ # The ARN of the IAM role that will allow data to be exported to the
2736
+ # destination.
2737
+ # @return [String]
2738
+ #
2739
+ # @!attribute [rw] task_id
2740
+ # The unique identifier of the export task.
2741
+ # @return [String]
2742
+ #
2743
+ # @!attribute [rw] status
2744
+ # The current status of the export task.
2745
+ # @return [String]
2746
+ #
2747
+ # @!attribute [rw] format
2748
+ # The format of the export task.
2749
+ # @return [String]
2750
+ #
2751
+ # @!attribute [rw] destination
2752
+ # The Amazon S3 URI of the export task where data will be exported to.
2753
+ # @return [String]
2754
+ #
2755
+ # @!attribute [rw] kms_key_identifier
2756
+ # The KMS key identifier of the export task.
2757
+ # @return [String]
2758
+ #
2759
+ # @!attribute [rw] parquet_type
2760
+ # The parquet type of the export task.
2761
+ # @return [String]
2762
+ #
2763
+ # @!attribute [rw] status_reason
2764
+ # The reason that the export task has this status value.
2765
+ # @return [String]
2766
+ #
2767
+ # @!attribute [rw] export_filter
2768
+ # The export filter of the export task.
2769
+ # @return [Types::ExportFilter]
2770
+ #
2771
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/StartExportTaskOutput AWS API Documentation
2772
+ #
2773
+ class StartExportTaskOutput < Struct.new(
2774
+ :graph_id,
2775
+ :role_arn,
2776
+ :task_id,
2777
+ :status,
2778
+ :format,
2779
+ :destination,
2780
+ :kms_key_identifier,
2781
+ :parquet_type,
2782
+ :status_reason,
2783
+ :export_filter)
2784
+ SENSITIVE = []
2785
+ include Aws::Structure
2786
+ end
2787
+
2312
2788
  # @!attribute [rw] import_options
2313
2789
  # Options for how to perform an import.
2314
2790
  # @return [Types::ImportOptions]
@@ -2331,6 +2807,10 @@ module Aws::NeptuneGraph
2331
2807
  # which identies the openCypher load format.
2332
2808
  # @return [String]
2333
2809
  #
2810
+ # @!attribute [rw] parquet_type
2811
+ # The parquet type of the import task.
2812
+ # @return [String]
2813
+ #
2334
2814
  # @!attribute [rw] blank_node_handling
2335
2815
  # The method to handle blank nodes in the dataset. Currently, only
2336
2816
  # `convertToIri` is supported, meaning blank nodes are converted to
@@ -2358,6 +2838,7 @@ module Aws::NeptuneGraph
2358
2838
  :fail_on_error,
2359
2839
  :source,
2360
2840
  :format,
2841
+ :parquet_type,
2361
2842
  :blank_node_handling,
2362
2843
  :graph_identifier,
2363
2844
  :role_arn)
@@ -2385,6 +2866,10 @@ module Aws::NeptuneGraph
2385
2866
  # which identies the openCypher load format.
2386
2867
  # @return [String]
2387
2868
  #
2869
+ # @!attribute [rw] parquet_type
2870
+ # The parquet type of the import task.
2871
+ # @return [String]
2872
+ #
2388
2873
  # @!attribute [rw] role_arn
2389
2874
  # The ARN of the IAM role that will allow access to the data that is
2390
2875
  # to be imported.
@@ -2405,6 +2890,7 @@ module Aws::NeptuneGraph
2405
2890
  :task_id,
2406
2891
  :source,
2407
2892
  :format,
2893
+ :parquet_type,
2408
2894
  :role_arn,
2409
2895
  :status,
2410
2896
  :import_options)