aws-sdk-neptunegraph 1.2.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,10 +13,12 @@ module Aws::NeptuneGraph
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
16
17
  Arn = Shapes::StringShape.new(name: 'Arn')
17
18
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
18
19
  CancelImportTaskInput = Shapes::StructureShape.new(name: 'CancelImportTaskInput')
19
20
  CancelImportTaskOutput = Shapes::StructureShape.new(name: 'CancelImportTaskOutput')
21
+ CancelQueryInput = Shapes::StructureShape.new(name: 'CancelQueryInput')
20
22
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
21
23
  ConflictExceptionReason = Shapes::StringShape.new(name: 'ConflictExceptionReason')
22
24
  CreateGraphInput = Shapes::StructureShape.new(name: 'CreateGraphInput')
@@ -33,15 +35,29 @@ module Aws::NeptuneGraph
33
35
  DeleteGraphSnapshotOutput = Shapes::StructureShape.new(name: 'DeleteGraphSnapshotOutput')
34
36
  DeletePrivateGraphEndpointInput = Shapes::StructureShape.new(name: 'DeletePrivateGraphEndpointInput')
35
37
  DeletePrivateGraphEndpointOutput = Shapes::StructureShape.new(name: 'DeletePrivateGraphEndpointOutput')
38
+ Document = Shapes::DocumentShape.new(name: 'Document', document: true)
39
+ DocumentValuedMap = Shapes::MapShape.new(name: 'DocumentValuedMap')
40
+ EdgeLabels = Shapes::ListShape.new(name: 'EdgeLabels')
41
+ EdgeProperties = Shapes::ListShape.new(name: 'EdgeProperties')
42
+ EdgeStructure = Shapes::StructureShape.new(name: 'EdgeStructure')
43
+ EdgeStructures = Shapes::ListShape.new(name: 'EdgeStructures')
44
+ ExecuteQueryInput = Shapes::StructureShape.new(name: 'ExecuteQueryInput')
45
+ ExecuteQueryOutput = Shapes::StructureShape.new(name: 'ExecuteQueryOutput')
46
+ ExplainMode = Shapes::StringShape.new(name: 'ExplainMode')
36
47
  Format = Shapes::StringShape.new(name: 'Format')
37
48
  GetGraphInput = Shapes::StructureShape.new(name: 'GetGraphInput')
38
49
  GetGraphOutput = Shapes::StructureShape.new(name: 'GetGraphOutput')
39
50
  GetGraphSnapshotInput = Shapes::StructureShape.new(name: 'GetGraphSnapshotInput')
40
51
  GetGraphSnapshotOutput = Shapes::StructureShape.new(name: 'GetGraphSnapshotOutput')
52
+ GetGraphSummaryInput = Shapes::StructureShape.new(name: 'GetGraphSummaryInput')
53
+ GetGraphSummaryOutput = Shapes::StructureShape.new(name: 'GetGraphSummaryOutput')
41
54
  GetImportTaskInput = Shapes::StructureShape.new(name: 'GetImportTaskInput')
42
55
  GetImportTaskOutput = Shapes::StructureShape.new(name: 'GetImportTaskOutput')
43
56
  GetPrivateGraphEndpointInput = Shapes::StructureShape.new(name: 'GetPrivateGraphEndpointInput')
44
57
  GetPrivateGraphEndpointOutput = Shapes::StructureShape.new(name: 'GetPrivateGraphEndpointOutput')
58
+ GetQueryInput = Shapes::StructureShape.new(name: 'GetQueryInput')
59
+ GetQueryOutput = Shapes::StructureShape.new(name: 'GetQueryOutput')
60
+ GraphDataSummary = Shapes::StructureShape.new(name: 'GraphDataSummary')
45
61
  GraphId = Shapes::StringShape.new(name: 'GraphId')
46
62
  GraphIdentifier = Shapes::StringShape.new(name: 'GraphIdentifier')
47
63
  GraphName = Shapes::StringShape.new(name: 'GraphName')
@@ -50,6 +66,7 @@ module Aws::NeptuneGraph
50
66
  GraphStatus = Shapes::StringShape.new(name: 'GraphStatus')
51
67
  GraphSummary = Shapes::StructureShape.new(name: 'GraphSummary')
52
68
  GraphSummaryList = Shapes::ListShape.new(name: 'GraphSummaryList')
69
+ GraphSummaryMode = Shapes::StringShape.new(name: 'GraphSummaryMode')
53
70
  ImportOptions = Shapes::UnionShape.new(name: 'ImportOptions')
54
71
  ImportTaskDetails = Shapes::StructureShape.new(name: 'ImportTaskDetails')
55
72
  ImportTaskStatus = Shapes::StringShape.new(name: 'ImportTaskStatus')
@@ -66,18 +83,34 @@ module Aws::NeptuneGraph
66
83
  ListImportTasksOutput = Shapes::StructureShape.new(name: 'ListImportTasksOutput')
67
84
  ListPrivateGraphEndpointsInput = Shapes::StructureShape.new(name: 'ListPrivateGraphEndpointsInput')
68
85
  ListPrivateGraphEndpointsOutput = Shapes::StructureShape.new(name: 'ListPrivateGraphEndpointsOutput')
86
+ ListQueriesInput = Shapes::StructureShape.new(name: 'ListQueriesInput')
87
+ ListQueriesOutput = Shapes::StructureShape.new(name: 'ListQueriesOutput')
69
88
  ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
70
89
  ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
71
90
  Long = Shapes::IntegerShape.new(name: 'Long')
91
+ LongValuedMap = Shapes::MapShape.new(name: 'LongValuedMap')
92
+ LongValuedMapList = Shapes::ListShape.new(name: 'LongValuedMapList')
72
93
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
73
94
  NeptuneImportOptions = Shapes::StructureShape.new(name: 'NeptuneImportOptions')
74
95
  NeptuneImportOptionsS3ExportKmsKeyIdString = Shapes::StringShape.new(name: 'NeptuneImportOptionsS3ExportKmsKeyIdString')
75
96
  NeptuneImportOptionsS3ExportPathString = Shapes::StringShape.new(name: 'NeptuneImportOptionsS3ExportPathString')
97
+ NodeLabels = Shapes::ListShape.new(name: 'NodeLabels')
98
+ NodeProperties = Shapes::ListShape.new(name: 'NodeProperties')
99
+ NodeStructure = Shapes::StructureShape.new(name: 'NodeStructure')
100
+ NodeStructures = Shapes::ListShape.new(name: 'NodeStructures')
101
+ OutgoingEdgeLabels = Shapes::ListShape.new(name: 'OutgoingEdgeLabels')
76
102
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
103
+ PlanCacheType = Shapes::StringShape.new(name: 'PlanCacheType')
77
104
  PrivateGraphEndpointStatus = Shapes::StringShape.new(name: 'PrivateGraphEndpointStatus')
78
105
  PrivateGraphEndpointSummary = Shapes::StructureShape.new(name: 'PrivateGraphEndpointSummary')
79
106
  PrivateGraphEndpointSummaryList = Shapes::ListShape.new(name: 'PrivateGraphEndpointSummaryList')
80
107
  ProvisionedMemory = Shapes::IntegerShape.new(name: 'ProvisionedMemory')
108
+ QueryLanguage = Shapes::StringShape.new(name: 'QueryLanguage')
109
+ QueryResponseBlob = Shapes::BlobShape.new(name: 'QueryResponseBlob', streaming: true)
110
+ QueryState = Shapes::StringShape.new(name: 'QueryState')
111
+ QueryStateInput = Shapes::StringShape.new(name: 'QueryStateInput')
112
+ QuerySummary = Shapes::StructureShape.new(name: 'QuerySummary')
113
+ QuerySummaryList = Shapes::ListShape.new(name: 'QuerySummaryList')
81
114
  ReplicaCount = Shapes::IntegerShape.new(name: 'ReplicaCount')
82
115
  ResetGraphInput = Shapes::StructureShape.new(name: 'ResetGraphInput')
83
116
  ResetGraphOutput = Shapes::StructureShape.new(name: 'ResetGraphOutput')
@@ -95,6 +128,7 @@ module Aws::NeptuneGraph
95
128
  String = Shapes::StringShape.new(name: 'String')
96
129
  SubnetId = Shapes::StringShape.new(name: 'SubnetId')
97
130
  SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
131
+ SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
98
132
  TagKey = Shapes::StringShape.new(name: 'TagKey')
99
133
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
100
134
  TagMap = Shapes::MapShape.new(name: 'TagMap')
@@ -104,6 +138,8 @@ module Aws::NeptuneGraph
104
138
  TaskId = Shapes::StringShape.new(name: 'TaskId')
105
139
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
106
140
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
141
+ UnprocessableException = Shapes::StructureShape.new(name: 'UnprocessableException')
142
+ UnprocessableExceptionReason = Shapes::StringShape.new(name: 'UnprocessableExceptionReason')
107
143
  UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
108
144
  UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
109
145
  UpdateGraphInput = Shapes::StructureShape.new(name: 'UpdateGraphInput')
@@ -115,6 +151,9 @@ module Aws::NeptuneGraph
115
151
  VpcEndpointId = Shapes::StringShape.new(name: 'VpcEndpointId')
116
152
  VpcId = Shapes::StringShape.new(name: 'VpcId')
117
153
 
154
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
155
+ AccessDeniedException.struct_class = Types::AccessDeniedException
156
+
118
157
  CancelImportTaskInput.add_member(:task_identifier, Shapes::ShapeRef.new(shape: TaskId, required: true, location: "uri", location_name: "taskIdentifier"))
119
158
  CancelImportTaskInput.struct_class = Types::CancelImportTaskInput
120
159
 
@@ -126,6 +165,10 @@ module Aws::NeptuneGraph
126
165
  CancelImportTaskOutput.add_member(:status, Shapes::ShapeRef.new(shape: ImportTaskStatus, required: true, location_name: "status"))
127
166
  CancelImportTaskOutput.struct_class = Types::CancelImportTaskOutput
128
167
 
168
+ CancelQueryInput.add_member(:graph_identifier, Shapes::ShapeRef.new(shape: GraphIdentifier, required: true, location: "header", location_name: "graphIdentifier", metadata: {"hostLabel"=>true, "hostLabelName"=>"graphIdentifier"}))
169
+ CancelQueryInput.add_member(:query_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "queryId"))
170
+ CancelQueryInput.struct_class = Types::CancelQueryInput
171
+
129
172
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
130
173
  ConflictException.add_member(:reason, Shapes::ShapeRef.new(shape: ConflictExceptionReason, location_name: "reason"))
131
174
  ConflictException.struct_class = Types::ConflictException
@@ -251,6 +294,33 @@ module Aws::NeptuneGraph
251
294
  DeletePrivateGraphEndpointOutput.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "vpcEndpointId"))
252
295
  DeletePrivateGraphEndpointOutput.struct_class = Types::DeletePrivateGraphEndpointOutput
253
296
 
297
+ DocumentValuedMap.key = Shapes::ShapeRef.new(shape: String)
298
+ DocumentValuedMap.value = Shapes::ShapeRef.new(shape: Document)
299
+
300
+ EdgeLabels.member = Shapes::ShapeRef.new(shape: String)
301
+
302
+ EdgeProperties.member = Shapes::ShapeRef.new(shape: String)
303
+
304
+ EdgeStructure.add_member(:count, Shapes::ShapeRef.new(shape: Long, location_name: "count"))
305
+ EdgeStructure.add_member(:edge_properties, Shapes::ShapeRef.new(shape: EdgeProperties, location_name: "edgeProperties"))
306
+ EdgeStructure.struct_class = Types::EdgeStructure
307
+
308
+ EdgeStructures.member = Shapes::ShapeRef.new(shape: EdgeStructure)
309
+
310
+ ExecuteQueryInput.add_member(:graph_identifier, Shapes::ShapeRef.new(shape: GraphIdentifier, required: true, location: "header", location_name: "graphIdentifier", metadata: {"hostLabel"=>true, "hostLabelName"=>"graphIdentifier"}))
311
+ ExecuteQueryInput.add_member(:query_string, Shapes::ShapeRef.new(shape: String, required: true, location_name: "query"))
312
+ ExecuteQueryInput.add_member(:language, Shapes::ShapeRef.new(shape: QueryLanguage, required: true, location_name: "language"))
313
+ ExecuteQueryInput.add_member(:parameters, Shapes::ShapeRef.new(shape: DocumentValuedMap, location_name: "parameters"))
314
+ ExecuteQueryInput.add_member(:plan_cache, Shapes::ShapeRef.new(shape: PlanCacheType, location_name: "planCache"))
315
+ ExecuteQueryInput.add_member(:explain_mode, Shapes::ShapeRef.new(shape: ExplainMode, location_name: "explain"))
316
+ ExecuteQueryInput.add_member(:query_timeout_milliseconds, Shapes::ShapeRef.new(shape: Integer, location_name: "queryTimeoutMilliseconds"))
317
+ ExecuteQueryInput.struct_class = Types::ExecuteQueryInput
318
+
319
+ ExecuteQueryOutput.add_member(:payload, Shapes::ShapeRef.new(shape: QueryResponseBlob, required: true, location_name: "payload"))
320
+ ExecuteQueryOutput.struct_class = Types::ExecuteQueryOutput
321
+ ExecuteQueryOutput[:payload] = :payload
322
+ ExecuteQueryOutput[:payload_member] = ExecuteQueryOutput.member(:payload)
323
+
254
324
  GetGraphInput.add_member(:graph_identifier, Shapes::ShapeRef.new(shape: GraphIdentifier, required: true, location: "uri", location_name: "graphIdentifier"))
255
325
  GetGraphInput.struct_class = Types::GetGraphInput
256
326
 
@@ -283,6 +353,15 @@ module Aws::NeptuneGraph
283
353
  GetGraphSnapshotOutput.add_member(:kms_key_identifier, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyIdentifier"))
284
354
  GetGraphSnapshotOutput.struct_class = Types::GetGraphSnapshotOutput
285
355
 
356
+ GetGraphSummaryInput.add_member(:graph_identifier, Shapes::ShapeRef.new(shape: GraphIdentifier, required: true, location: "header", location_name: "graphIdentifier", metadata: {"hostLabel"=>true, "hostLabelName"=>"graphIdentifier"}))
357
+ GetGraphSummaryInput.add_member(:mode, Shapes::ShapeRef.new(shape: GraphSummaryMode, location: "querystring", location_name: "mode"))
358
+ GetGraphSummaryInput.struct_class = Types::GetGraphSummaryInput
359
+
360
+ GetGraphSummaryOutput.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
361
+ GetGraphSummaryOutput.add_member(:last_statistics_computation_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "lastStatisticsComputationTime"))
362
+ GetGraphSummaryOutput.add_member(:graph_summary, Shapes::ShapeRef.new(shape: GraphDataSummary, location_name: "graphSummary"))
363
+ GetGraphSummaryOutput.struct_class = Types::GetGraphSummaryOutput
364
+
286
365
  GetImportTaskInput.add_member(:task_identifier, Shapes::ShapeRef.new(shape: TaskId, required: true, location: "uri", location_name: "taskIdentifier"))
287
366
  GetImportTaskInput.struct_class = Types::GetImportTaskInput
288
367
 
@@ -308,6 +387,33 @@ module Aws::NeptuneGraph
308
387
  GetPrivateGraphEndpointOutput.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "vpcEndpointId"))
309
388
  GetPrivateGraphEndpointOutput.struct_class = Types::GetPrivateGraphEndpointOutput
310
389
 
390
+ GetQueryInput.add_member(:graph_identifier, Shapes::ShapeRef.new(shape: GraphIdentifier, required: true, location: "header", location_name: "graphIdentifier", metadata: {"hostLabel"=>true, "hostLabelName"=>"graphIdentifier"}))
391
+ GetQueryInput.add_member(:query_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "queryId"))
392
+ GetQueryInput.struct_class = Types::GetQueryInput
393
+
394
+ GetQueryOutput.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
395
+ GetQueryOutput.add_member(:query_string, Shapes::ShapeRef.new(shape: String, location_name: "queryString"))
396
+ GetQueryOutput.add_member(:waited, Shapes::ShapeRef.new(shape: Integer, location_name: "waited"))
397
+ GetQueryOutput.add_member(:elapsed, Shapes::ShapeRef.new(shape: Integer, location_name: "elapsed"))
398
+ GetQueryOutput.add_member(:state, Shapes::ShapeRef.new(shape: QueryState, location_name: "state"))
399
+ GetQueryOutput.struct_class = Types::GetQueryOutput
400
+
401
+ GraphDataSummary.add_member(:num_nodes, Shapes::ShapeRef.new(shape: Long, location_name: "numNodes"))
402
+ GraphDataSummary.add_member(:num_edges, Shapes::ShapeRef.new(shape: Long, location_name: "numEdges"))
403
+ GraphDataSummary.add_member(:num_node_labels, Shapes::ShapeRef.new(shape: Long, location_name: "numNodeLabels"))
404
+ GraphDataSummary.add_member(:num_edge_labels, Shapes::ShapeRef.new(shape: Long, location_name: "numEdgeLabels"))
405
+ GraphDataSummary.add_member(:node_labels, Shapes::ShapeRef.new(shape: NodeLabels, location_name: "nodeLabels"))
406
+ GraphDataSummary.add_member(:edge_labels, Shapes::ShapeRef.new(shape: EdgeLabels, location_name: "edgeLabels"))
407
+ GraphDataSummary.add_member(:num_node_properties, Shapes::ShapeRef.new(shape: Long, location_name: "numNodeProperties"))
408
+ GraphDataSummary.add_member(:num_edge_properties, Shapes::ShapeRef.new(shape: Long, location_name: "numEdgeProperties"))
409
+ GraphDataSummary.add_member(:node_properties, Shapes::ShapeRef.new(shape: LongValuedMapList, location_name: "nodeProperties"))
410
+ GraphDataSummary.add_member(:edge_properties, Shapes::ShapeRef.new(shape: LongValuedMapList, location_name: "edgeProperties"))
411
+ GraphDataSummary.add_member(:total_node_property_values, Shapes::ShapeRef.new(shape: Long, location_name: "totalNodePropertyValues"))
412
+ GraphDataSummary.add_member(:total_edge_property_values, Shapes::ShapeRef.new(shape: Long, location_name: "totalEdgePropertyValues"))
413
+ GraphDataSummary.add_member(:node_structures, Shapes::ShapeRef.new(shape: NodeStructures, location_name: "nodeStructures"))
414
+ GraphDataSummary.add_member(:edge_structures, Shapes::ShapeRef.new(shape: EdgeStructures, location_name: "edgeStructures"))
415
+ GraphDataSummary.struct_class = Types::GraphDataSummary
416
+
311
417
  GraphSnapshotSummary.add_member(:id, Shapes::ShapeRef.new(shape: SnapshotId, required: true, location_name: "id"))
312
418
  GraphSnapshotSummary.add_member(:name, Shapes::ShapeRef.new(shape: SnapshotName, required: true, location_name: "name"))
313
419
  GraphSnapshotSummary.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "arn"))
@@ -396,18 +502,44 @@ module Aws::NeptuneGraph
396
502
  ListPrivateGraphEndpointsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
397
503
  ListPrivateGraphEndpointsOutput.struct_class = Types::ListPrivateGraphEndpointsOutput
398
504
 
505
+ ListQueriesInput.add_member(:graph_identifier, Shapes::ShapeRef.new(shape: GraphIdentifier, required: true, location: "header", location_name: "graphIdentifier", metadata: {"hostLabel"=>true, "hostLabelName"=>"graphIdentifier"}))
506
+ ListQueriesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, required: true, location: "querystring", location_name: "maxResults"))
507
+ ListQueriesInput.add_member(:state, Shapes::ShapeRef.new(shape: QueryStateInput, location: "querystring", location_name: "state"))
508
+ ListQueriesInput.struct_class = Types::ListQueriesInput
509
+
510
+ ListQueriesOutput.add_member(:queries, Shapes::ShapeRef.new(shape: QuerySummaryList, required: true, location_name: "queries"))
511
+ ListQueriesOutput.struct_class = Types::ListQueriesOutput
512
+
399
513
  ListTagsForResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
400
514
  ListTagsForResourceInput.struct_class = Types::ListTagsForResourceInput
401
515
 
402
516
  ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
403
517
  ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
404
518
 
519
+ LongValuedMap.key = Shapes::ShapeRef.new(shape: String)
520
+ LongValuedMap.value = Shapes::ShapeRef.new(shape: Long)
521
+
522
+ LongValuedMapList.member = Shapes::ShapeRef.new(shape: LongValuedMap)
523
+
405
524
  NeptuneImportOptions.add_member(:s3_export_path, Shapes::ShapeRef.new(shape: NeptuneImportOptionsS3ExportPathString, required: true, location_name: "s3ExportPath"))
406
525
  NeptuneImportOptions.add_member(:s3_export_kms_key_id, Shapes::ShapeRef.new(shape: NeptuneImportOptionsS3ExportKmsKeyIdString, required: true, location_name: "s3ExportKmsKeyId"))
407
526
  NeptuneImportOptions.add_member(:preserve_default_vertex_labels, Shapes::ShapeRef.new(shape: Boolean, location_name: "preserveDefaultVertexLabels"))
408
527
  NeptuneImportOptions.add_member(:preserve_edge_ids, Shapes::ShapeRef.new(shape: Boolean, location_name: "preserveEdgeIds"))
409
528
  NeptuneImportOptions.struct_class = Types::NeptuneImportOptions
410
529
 
530
+ NodeLabels.member = Shapes::ShapeRef.new(shape: String)
531
+
532
+ NodeProperties.member = Shapes::ShapeRef.new(shape: String)
533
+
534
+ NodeStructure.add_member(:count, Shapes::ShapeRef.new(shape: Long, location_name: "count"))
535
+ NodeStructure.add_member(:node_properties, Shapes::ShapeRef.new(shape: NodeProperties, location_name: "nodeProperties"))
536
+ NodeStructure.add_member(:distinct_outgoing_edge_labels, Shapes::ShapeRef.new(shape: OutgoingEdgeLabels, location_name: "distinctOutgoingEdgeLabels"))
537
+ NodeStructure.struct_class = Types::NodeStructure
538
+
539
+ NodeStructures.member = Shapes::ShapeRef.new(shape: NodeStructure)
540
+
541
+ OutgoingEdgeLabels.member = Shapes::ShapeRef.new(shape: String)
542
+
411
543
  PrivateGraphEndpointSummary.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "vpcId"))
412
544
  PrivateGraphEndpointSummary.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, required: true, location_name: "subnetIds"))
413
545
  PrivateGraphEndpointSummary.add_member(:status, Shapes::ShapeRef.new(shape: PrivateGraphEndpointStatus, required: true, location_name: "status"))
@@ -416,6 +548,15 @@ module Aws::NeptuneGraph
416
548
 
417
549
  PrivateGraphEndpointSummaryList.member = Shapes::ShapeRef.new(shape: PrivateGraphEndpointSummary)
418
550
 
551
+ QuerySummary.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
552
+ QuerySummary.add_member(:query_string, Shapes::ShapeRef.new(shape: String, location_name: "queryString"))
553
+ QuerySummary.add_member(:waited, Shapes::ShapeRef.new(shape: Integer, location_name: "waited"))
554
+ QuerySummary.add_member(:elapsed, Shapes::ShapeRef.new(shape: Integer, location_name: "elapsed"))
555
+ QuerySummary.add_member(:state, Shapes::ShapeRef.new(shape: QueryState, location_name: "state"))
556
+ QuerySummary.struct_class = Types::QuerySummary
557
+
558
+ QuerySummaryList.member = Shapes::ShapeRef.new(shape: QuerySummary)
559
+
419
560
  ResetGraphInput.add_member(:graph_identifier, Shapes::ShapeRef.new(shape: GraphIdentifier, required: true, location: "uri", location_name: "graphIdentifier"))
420
561
  ResetGraphInput.add_member(:skip_snapshot, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "skipSnapshot"))
421
562
  ResetGraphInput.struct_class = Types::ResetGraphInput
@@ -491,6 +632,10 @@ module Aws::NeptuneGraph
491
632
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
492
633
  ThrottlingException.struct_class = Types::ThrottlingException
493
634
 
635
+ UnprocessableException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
636
+ UnprocessableException.add_member(:reason, Shapes::ShapeRef.new(shape: UnprocessableExceptionReason, required: true, location_name: "reason"))
637
+ UnprocessableException.struct_class = Types::UnprocessableException
638
+
494
639
  UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
495
640
  UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
496
641
  UntagResourceInput.struct_class = Types::UntagResourceInput
@@ -560,6 +705,22 @@ module Aws::NeptuneGraph
560
705
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
561
706
  end)
562
707
 
708
+ api.add_operation(:cancel_query, Seahorse::Model::Operation.new.tap do |o|
709
+ o.name = "CancelQuery"
710
+ o.http_method = "DELETE"
711
+ o.http_request_uri = "/queries/{queryId}"
712
+ o.endpoint_pattern = {
713
+ "hostPrefix" => "{graphIdentifier}.",
714
+ }
715
+ o.input = Shapes::ShapeRef.new(shape: CancelQueryInput)
716
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
717
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
718
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
719
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
720
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
721
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
722
+ end)
723
+
563
724
  api.add_operation(:create_graph, Seahorse::Model::Operation.new.tap do |o|
564
725
  o.name = "CreateGraph"
565
726
  o.http_method = "POST"
@@ -653,6 +814,23 @@ module Aws::NeptuneGraph
653
814
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
654
815
  end)
655
816
 
817
+ api.add_operation(:execute_query, Seahorse::Model::Operation.new.tap do |o|
818
+ o.name = "ExecuteQuery"
819
+ o.http_method = "POST"
820
+ o.http_request_uri = "/queries"
821
+ o.endpoint_pattern = {
822
+ "hostPrefix" => "{graphIdentifier}.",
823
+ }
824
+ o.input = Shapes::ShapeRef.new(shape: ExecuteQueryInput)
825
+ o.output = Shapes::ShapeRef.new(shape: ExecuteQueryOutput)
826
+ o.errors << Shapes::ShapeRef.new(shape: UnprocessableException)
827
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
828
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
829
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
830
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
831
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
832
+ end)
833
+
656
834
  api.add_operation(:get_graph, Seahorse::Model::Operation.new.tap do |o|
657
835
  o.name = "GetGraph"
658
836
  o.http_method = "GET"
@@ -677,6 +855,22 @@ module Aws::NeptuneGraph
677
855
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
678
856
  end)
679
857
 
858
+ api.add_operation(:get_graph_summary, Seahorse::Model::Operation.new.tap do |o|
859
+ o.name = "GetGraphSummary"
860
+ o.http_method = "GET"
861
+ o.http_request_uri = "/summary"
862
+ o.endpoint_pattern = {
863
+ "hostPrefix" => "{graphIdentifier}.",
864
+ }
865
+ o.input = Shapes::ShapeRef.new(shape: GetGraphSummaryInput)
866
+ o.output = Shapes::ShapeRef.new(shape: GetGraphSummaryOutput)
867
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
868
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
869
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
870
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
871
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
872
+ end)
873
+
680
874
  api.add_operation(:get_import_task, Seahorse::Model::Operation.new.tap do |o|
681
875
  o.name = "GetImportTask"
682
876
  o.http_method = "GET"
@@ -701,6 +895,22 @@ module Aws::NeptuneGraph
701
895
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
702
896
  end)
703
897
 
898
+ api.add_operation(:get_query, Seahorse::Model::Operation.new.tap do |o|
899
+ o.name = "GetQuery"
900
+ o.http_method = "GET"
901
+ o.http_request_uri = "/queries/{queryId}"
902
+ o.endpoint_pattern = {
903
+ "hostPrefix" => "{graphIdentifier}.",
904
+ }
905
+ o.input = Shapes::ShapeRef.new(shape: GetQueryInput)
906
+ o.output = Shapes::ShapeRef.new(shape: GetQueryOutput)
907
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
908
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
909
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
910
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
911
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
912
+ end)
913
+
704
914
  api.add_operation(:list_graph_snapshots, Seahorse::Model::Operation.new.tap do |o|
705
915
  o.name = "ListGraphSnapshots"
706
916
  o.http_method = "GET"
@@ -772,6 +982,21 @@ module Aws::NeptuneGraph
772
982
  )
773
983
  end)
774
984
 
985
+ api.add_operation(:list_queries, Seahorse::Model::Operation.new.tap do |o|
986
+ o.name = "ListQueries"
987
+ o.http_method = "GET"
988
+ o.http_request_uri = "/queries"
989
+ o.endpoint_pattern = {
990
+ "hostPrefix" => "{graphIdentifier}.",
991
+ }
992
+ o.input = Shapes::ShapeRef.new(shape: ListQueriesInput)
993
+ o.output = Shapes::ShapeRef.new(shape: ListQueriesOutput)
994
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
995
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
996
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
997
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
998
+ end)
999
+
775
1000
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
776
1001
  o.name = "ListTagsForResource"
777
1002
  o.http_method = "GET"
@@ -27,6 +27,21 @@ module Aws::NeptuneGraph
27
27
  end
28
28
  end
29
29
 
30
+ class CancelQuery
31
+ def self.build(context)
32
+ unless context.config.regional_endpoint
33
+ endpoint = context.config.endpoint.to_s
34
+ end
35
+ Aws::NeptuneGraph::EndpointParameters.new(
36
+ region: context.config.region,
37
+ use_fips: context.config.use_fips_endpoint,
38
+ use_dual_stack: context.config.use_dualstack_endpoint,
39
+ endpoint: endpoint,
40
+ api_type: "DataPlane",
41
+ )
42
+ end
43
+ end
44
+
30
45
  class CreateGraph
31
46
  def self.build(context)
32
47
  unless context.config.regional_endpoint
@@ -132,6 +147,21 @@ module Aws::NeptuneGraph
132
147
  end
133
148
  end
134
149
 
150
+ class ExecuteQuery
151
+ def self.build(context)
152
+ unless context.config.regional_endpoint
153
+ endpoint = context.config.endpoint.to_s
154
+ end
155
+ Aws::NeptuneGraph::EndpointParameters.new(
156
+ region: context.config.region,
157
+ use_fips: context.config.use_fips_endpoint,
158
+ use_dual_stack: context.config.use_dualstack_endpoint,
159
+ endpoint: endpoint,
160
+ api_type: "DataPlane",
161
+ )
162
+ end
163
+ end
164
+
135
165
  class GetGraph
136
166
  def self.build(context)
137
167
  unless context.config.regional_endpoint
@@ -162,6 +192,21 @@ module Aws::NeptuneGraph
162
192
  end
163
193
  end
164
194
 
195
+ class GetGraphSummary
196
+ def self.build(context)
197
+ unless context.config.regional_endpoint
198
+ endpoint = context.config.endpoint.to_s
199
+ end
200
+ Aws::NeptuneGraph::EndpointParameters.new(
201
+ region: context.config.region,
202
+ use_fips: context.config.use_fips_endpoint,
203
+ use_dual_stack: context.config.use_dualstack_endpoint,
204
+ endpoint: endpoint,
205
+ api_type: "DataPlane",
206
+ )
207
+ end
208
+ end
209
+
165
210
  class GetImportTask
166
211
  def self.build(context)
167
212
  unless context.config.regional_endpoint
@@ -192,6 +237,21 @@ module Aws::NeptuneGraph
192
237
  end
193
238
  end
194
239
 
240
+ class GetQuery
241
+ def self.build(context)
242
+ unless context.config.regional_endpoint
243
+ endpoint = context.config.endpoint.to_s
244
+ end
245
+ Aws::NeptuneGraph::EndpointParameters.new(
246
+ region: context.config.region,
247
+ use_fips: context.config.use_fips_endpoint,
248
+ use_dual_stack: context.config.use_dualstack_endpoint,
249
+ endpoint: endpoint,
250
+ api_type: "DataPlane",
251
+ )
252
+ end
253
+ end
254
+
195
255
  class ListGraphSnapshots
196
256
  def self.build(context)
197
257
  unless context.config.regional_endpoint
@@ -252,6 +312,21 @@ module Aws::NeptuneGraph
252
312
  end
253
313
  end
254
314
 
315
+ class ListQueries
316
+ def self.build(context)
317
+ unless context.config.regional_endpoint
318
+ endpoint = context.config.endpoint.to_s
319
+ end
320
+ Aws::NeptuneGraph::EndpointParameters.new(
321
+ region: context.config.region,
322
+ use_fips: context.config.use_fips_endpoint,
323
+ use_dual_stack: context.config.use_dualstack_endpoint,
324
+ endpoint: endpoint,
325
+ api_type: "DataPlane",
326
+ )
327
+ end
328
+ end
329
+
255
330
  class ListTagsForResource
256
331
  def self.build(context)
257
332
  unless context.config.regional_endpoint
@@ -27,11 +27,13 @@ module Aws::NeptuneGraph
27
27
  # See {Seahorse::Client::RequestContext} for more information.
28
28
  #
29
29
  # ## Error Classes
30
+ # * {AccessDeniedException}
30
31
  # * {ConflictException}
31
32
  # * {InternalServerException}
32
33
  # * {ResourceNotFoundException}
33
34
  # * {ServiceQuotaExceededException}
34
35
  # * {ThrottlingException}
36
+ # * {UnprocessableException}
35
37
  # * {ValidationException}
36
38
  #
37
39
  # Additionally, error classes are dynamically generated for service errors based on the error code
@@ -40,6 +42,21 @@ module Aws::NeptuneGraph
40
42
 
41
43
  extend Aws::Errors::DynamicErrors
42
44
 
45
+ class AccessDeniedException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::NeptuneGraph::Types::AccessDeniedException] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def message
56
+ @message || @data[:message]
57
+ end
58
+ end
59
+
43
60
  class ConflictException < ServiceError
44
61
 
45
62
  # @param [Seahorse::Client::RequestContext] context
@@ -152,6 +169,26 @@ module Aws::NeptuneGraph
152
169
  end
153
170
  end
154
171
 
172
+ class UnprocessableException < ServiceError
173
+
174
+ # @param [Seahorse::Client::RequestContext] context
175
+ # @param [String] message
176
+ # @param [Aws::NeptuneGraph::Types::UnprocessableException] data
177
+ def initialize(context, message, data = Aws::EmptyStructure.new)
178
+ super(context, message, data)
179
+ end
180
+
181
+ # @return [String]
182
+ def message
183
+ @message || @data[:message]
184
+ end
185
+
186
+ # @return [String]
187
+ def reason
188
+ @data[:reason]
189
+ end
190
+ end
191
+
155
192
  class ValidationException < ServiceError
156
193
 
157
194
  # @param [Seahorse::Client::RequestContext] context
@@ -60,6 +60,8 @@ module Aws::NeptuneGraph
60
60
  case context.operation_name
61
61
  when :cancel_import_task
62
62
  Aws::NeptuneGraph::Endpoints::CancelImportTask.build(context)
63
+ when :cancel_query
64
+ Aws::NeptuneGraph::Endpoints::CancelQuery.build(context)
63
65
  when :create_graph
64
66
  Aws::NeptuneGraph::Endpoints::CreateGraph.build(context)
65
67
  when :create_graph_snapshot
@@ -74,14 +76,20 @@ module Aws::NeptuneGraph
74
76
  Aws::NeptuneGraph::Endpoints::DeleteGraphSnapshot.build(context)
75
77
  when :delete_private_graph_endpoint
76
78
  Aws::NeptuneGraph::Endpoints::DeletePrivateGraphEndpoint.build(context)
79
+ when :execute_query
80
+ Aws::NeptuneGraph::Endpoints::ExecuteQuery.build(context)
77
81
  when :get_graph
78
82
  Aws::NeptuneGraph::Endpoints::GetGraph.build(context)
79
83
  when :get_graph_snapshot
80
84
  Aws::NeptuneGraph::Endpoints::GetGraphSnapshot.build(context)
85
+ when :get_graph_summary
86
+ Aws::NeptuneGraph::Endpoints::GetGraphSummary.build(context)
81
87
  when :get_import_task
82
88
  Aws::NeptuneGraph::Endpoints::GetImportTask.build(context)
83
89
  when :get_private_graph_endpoint
84
90
  Aws::NeptuneGraph::Endpoints::GetPrivateGraphEndpoint.build(context)
91
+ when :get_query
92
+ Aws::NeptuneGraph::Endpoints::GetQuery.build(context)
85
93
  when :list_graph_snapshots
86
94
  Aws::NeptuneGraph::Endpoints::ListGraphSnapshots.build(context)
87
95
  when :list_graphs
@@ -90,6 +98,8 @@ module Aws::NeptuneGraph
90
98
  Aws::NeptuneGraph::Endpoints::ListImportTasks.build(context)
91
99
  when :list_private_graph_endpoints
92
100
  Aws::NeptuneGraph::Endpoints::ListPrivateGraphEndpoints.build(context)
101
+ when :list_queries
102
+ Aws::NeptuneGraph::Endpoints::ListQueries.build(context)
93
103
  when :list_tags_for_resource
94
104
  Aws::NeptuneGraph::Endpoints::ListTagsForResource.build(context)
95
105
  when :reset_graph