aws-sdk-neptunegraph 1.2.0 → 1.3.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.
@@ -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,27 @@ 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
+ EdgeLabels = Shapes::ListShape.new(name: 'EdgeLabels')
39
+ EdgeProperties = Shapes::ListShape.new(name: 'EdgeProperties')
40
+ EdgeStructure = Shapes::StructureShape.new(name: 'EdgeStructure')
41
+ EdgeStructures = Shapes::ListShape.new(name: 'EdgeStructures')
42
+ ExecuteQueryInput = Shapes::StructureShape.new(name: 'ExecuteQueryInput')
43
+ ExecuteQueryOutput = Shapes::StructureShape.new(name: 'ExecuteQueryOutput')
44
+ ExplainMode = Shapes::StringShape.new(name: 'ExplainMode')
36
45
  Format = Shapes::StringShape.new(name: 'Format')
37
46
  GetGraphInput = Shapes::StructureShape.new(name: 'GetGraphInput')
38
47
  GetGraphOutput = Shapes::StructureShape.new(name: 'GetGraphOutput')
39
48
  GetGraphSnapshotInput = Shapes::StructureShape.new(name: 'GetGraphSnapshotInput')
40
49
  GetGraphSnapshotOutput = Shapes::StructureShape.new(name: 'GetGraphSnapshotOutput')
50
+ GetGraphSummaryInput = Shapes::StructureShape.new(name: 'GetGraphSummaryInput')
51
+ GetGraphSummaryOutput = Shapes::StructureShape.new(name: 'GetGraphSummaryOutput')
41
52
  GetImportTaskInput = Shapes::StructureShape.new(name: 'GetImportTaskInput')
42
53
  GetImportTaskOutput = Shapes::StructureShape.new(name: 'GetImportTaskOutput')
43
54
  GetPrivateGraphEndpointInput = Shapes::StructureShape.new(name: 'GetPrivateGraphEndpointInput')
44
55
  GetPrivateGraphEndpointOutput = Shapes::StructureShape.new(name: 'GetPrivateGraphEndpointOutput')
56
+ GetQueryInput = Shapes::StructureShape.new(name: 'GetQueryInput')
57
+ GetQueryOutput = Shapes::StructureShape.new(name: 'GetQueryOutput')
58
+ GraphDataSummary = Shapes::StructureShape.new(name: 'GraphDataSummary')
45
59
  GraphId = Shapes::StringShape.new(name: 'GraphId')
46
60
  GraphIdentifier = Shapes::StringShape.new(name: 'GraphIdentifier')
47
61
  GraphName = Shapes::StringShape.new(name: 'GraphName')
@@ -50,6 +64,7 @@ module Aws::NeptuneGraph
50
64
  GraphStatus = Shapes::StringShape.new(name: 'GraphStatus')
51
65
  GraphSummary = Shapes::StructureShape.new(name: 'GraphSummary')
52
66
  GraphSummaryList = Shapes::ListShape.new(name: 'GraphSummaryList')
67
+ GraphSummaryMode = Shapes::StringShape.new(name: 'GraphSummaryMode')
53
68
  ImportOptions = Shapes::UnionShape.new(name: 'ImportOptions')
54
69
  ImportTaskDetails = Shapes::StructureShape.new(name: 'ImportTaskDetails')
55
70
  ImportTaskStatus = Shapes::StringShape.new(name: 'ImportTaskStatus')
@@ -66,18 +81,34 @@ module Aws::NeptuneGraph
66
81
  ListImportTasksOutput = Shapes::StructureShape.new(name: 'ListImportTasksOutput')
67
82
  ListPrivateGraphEndpointsInput = Shapes::StructureShape.new(name: 'ListPrivateGraphEndpointsInput')
68
83
  ListPrivateGraphEndpointsOutput = Shapes::StructureShape.new(name: 'ListPrivateGraphEndpointsOutput')
84
+ ListQueriesInput = Shapes::StructureShape.new(name: 'ListQueriesInput')
85
+ ListQueriesOutput = Shapes::StructureShape.new(name: 'ListQueriesOutput')
69
86
  ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
70
87
  ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
71
88
  Long = Shapes::IntegerShape.new(name: 'Long')
89
+ LongValuedMap = Shapes::MapShape.new(name: 'LongValuedMap')
90
+ LongValuedMapList = Shapes::ListShape.new(name: 'LongValuedMapList')
72
91
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
73
92
  NeptuneImportOptions = Shapes::StructureShape.new(name: 'NeptuneImportOptions')
74
93
  NeptuneImportOptionsS3ExportKmsKeyIdString = Shapes::StringShape.new(name: 'NeptuneImportOptionsS3ExportKmsKeyIdString')
75
94
  NeptuneImportOptionsS3ExportPathString = Shapes::StringShape.new(name: 'NeptuneImportOptionsS3ExportPathString')
95
+ NodeLabels = Shapes::ListShape.new(name: 'NodeLabels')
96
+ NodeProperties = Shapes::ListShape.new(name: 'NodeProperties')
97
+ NodeStructure = Shapes::StructureShape.new(name: 'NodeStructure')
98
+ NodeStructures = Shapes::ListShape.new(name: 'NodeStructures')
99
+ OutgoingEdgeLabels = Shapes::ListShape.new(name: 'OutgoingEdgeLabels')
76
100
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
101
+ PlanCacheType = Shapes::StringShape.new(name: 'PlanCacheType')
77
102
  PrivateGraphEndpointStatus = Shapes::StringShape.new(name: 'PrivateGraphEndpointStatus')
78
103
  PrivateGraphEndpointSummary = Shapes::StructureShape.new(name: 'PrivateGraphEndpointSummary')
79
104
  PrivateGraphEndpointSummaryList = Shapes::ListShape.new(name: 'PrivateGraphEndpointSummaryList')
80
105
  ProvisionedMemory = Shapes::IntegerShape.new(name: 'ProvisionedMemory')
106
+ QueryLanguage = Shapes::StringShape.new(name: 'QueryLanguage')
107
+ QueryResponseBlob = Shapes::BlobShape.new(name: 'QueryResponseBlob', streaming: true)
108
+ QueryState = Shapes::StringShape.new(name: 'QueryState')
109
+ QueryStateInput = Shapes::StringShape.new(name: 'QueryStateInput')
110
+ QuerySummary = Shapes::StructureShape.new(name: 'QuerySummary')
111
+ QuerySummaryList = Shapes::ListShape.new(name: 'QuerySummaryList')
81
112
  ReplicaCount = Shapes::IntegerShape.new(name: 'ReplicaCount')
82
113
  ResetGraphInput = Shapes::StructureShape.new(name: 'ResetGraphInput')
83
114
  ResetGraphOutput = Shapes::StructureShape.new(name: 'ResetGraphOutput')
@@ -95,6 +126,7 @@ module Aws::NeptuneGraph
95
126
  String = Shapes::StringShape.new(name: 'String')
96
127
  SubnetId = Shapes::StringShape.new(name: 'SubnetId')
97
128
  SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
129
+ SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
98
130
  TagKey = Shapes::StringShape.new(name: 'TagKey')
99
131
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
100
132
  TagMap = Shapes::MapShape.new(name: 'TagMap')
@@ -104,6 +136,8 @@ module Aws::NeptuneGraph
104
136
  TaskId = Shapes::StringShape.new(name: 'TaskId')
105
137
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
106
138
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
139
+ UnprocessableException = Shapes::StructureShape.new(name: 'UnprocessableException')
140
+ UnprocessableExceptionReason = Shapes::StringShape.new(name: 'UnprocessableExceptionReason')
107
141
  UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
108
142
  UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
109
143
  UpdateGraphInput = Shapes::StructureShape.new(name: 'UpdateGraphInput')
@@ -115,6 +149,9 @@ module Aws::NeptuneGraph
115
149
  VpcEndpointId = Shapes::StringShape.new(name: 'VpcEndpointId')
116
150
  VpcId = Shapes::StringShape.new(name: 'VpcId')
117
151
 
152
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
153
+ AccessDeniedException.struct_class = Types::AccessDeniedException
154
+
118
155
  CancelImportTaskInput.add_member(:task_identifier, Shapes::ShapeRef.new(shape: TaskId, required: true, location: "uri", location_name: "taskIdentifier"))
119
156
  CancelImportTaskInput.struct_class = Types::CancelImportTaskInput
120
157
 
@@ -126,6 +163,10 @@ module Aws::NeptuneGraph
126
163
  CancelImportTaskOutput.add_member(:status, Shapes::ShapeRef.new(shape: ImportTaskStatus, required: true, location_name: "status"))
127
164
  CancelImportTaskOutput.struct_class = Types::CancelImportTaskOutput
128
165
 
166
+ CancelQueryInput.add_member(:graph_identifier, Shapes::ShapeRef.new(shape: GraphIdentifier, required: true, location: "header", location_name: "graphIdentifier", metadata: {"hostLabel"=>true, "hostLabelName"=>"graphIdentifier"}))
167
+ CancelQueryInput.add_member(:query_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "queryId"))
168
+ CancelQueryInput.struct_class = Types::CancelQueryInput
169
+
129
170
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
130
171
  ConflictException.add_member(:reason, Shapes::ShapeRef.new(shape: ConflictExceptionReason, location_name: "reason"))
131
172
  ConflictException.struct_class = Types::ConflictException
@@ -251,6 +292,29 @@ module Aws::NeptuneGraph
251
292
  DeletePrivateGraphEndpointOutput.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "vpcEndpointId"))
252
293
  DeletePrivateGraphEndpointOutput.struct_class = Types::DeletePrivateGraphEndpointOutput
253
294
 
295
+ EdgeLabels.member = Shapes::ShapeRef.new(shape: String)
296
+
297
+ EdgeProperties.member = Shapes::ShapeRef.new(shape: String)
298
+
299
+ EdgeStructure.add_member(:count, Shapes::ShapeRef.new(shape: Long, location_name: "count"))
300
+ EdgeStructure.add_member(:edge_properties, Shapes::ShapeRef.new(shape: EdgeProperties, location_name: "edgeProperties"))
301
+ EdgeStructure.struct_class = Types::EdgeStructure
302
+
303
+ EdgeStructures.member = Shapes::ShapeRef.new(shape: EdgeStructure)
304
+
305
+ ExecuteQueryInput.add_member(:graph_identifier, Shapes::ShapeRef.new(shape: GraphIdentifier, required: true, location: "header", location_name: "graphIdentifier", metadata: {"hostLabel"=>true, "hostLabelName"=>"graphIdentifier"}))
306
+ ExecuteQueryInput.add_member(:query_string, Shapes::ShapeRef.new(shape: String, required: true, location_name: "query"))
307
+ ExecuteQueryInput.add_member(:language, Shapes::ShapeRef.new(shape: QueryLanguage, required: true, location_name: "language"))
308
+ ExecuteQueryInput.add_member(:plan_cache, Shapes::ShapeRef.new(shape: PlanCacheType, location_name: "planCache"))
309
+ ExecuteQueryInput.add_member(:explain_mode, Shapes::ShapeRef.new(shape: ExplainMode, location_name: "explain"))
310
+ ExecuteQueryInput.add_member(:query_timeout_milliseconds, Shapes::ShapeRef.new(shape: Integer, location_name: "queryTimeoutMilliseconds"))
311
+ ExecuteQueryInput.struct_class = Types::ExecuteQueryInput
312
+
313
+ ExecuteQueryOutput.add_member(:payload, Shapes::ShapeRef.new(shape: QueryResponseBlob, required: true, location_name: "payload"))
314
+ ExecuteQueryOutput.struct_class = Types::ExecuteQueryOutput
315
+ ExecuteQueryOutput[:payload] = :payload
316
+ ExecuteQueryOutput[:payload_member] = ExecuteQueryOutput.member(:payload)
317
+
254
318
  GetGraphInput.add_member(:graph_identifier, Shapes::ShapeRef.new(shape: GraphIdentifier, required: true, location: "uri", location_name: "graphIdentifier"))
255
319
  GetGraphInput.struct_class = Types::GetGraphInput
256
320
 
@@ -283,6 +347,15 @@ module Aws::NeptuneGraph
283
347
  GetGraphSnapshotOutput.add_member(:kms_key_identifier, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyIdentifier"))
284
348
  GetGraphSnapshotOutput.struct_class = Types::GetGraphSnapshotOutput
285
349
 
350
+ GetGraphSummaryInput.add_member(:graph_identifier, Shapes::ShapeRef.new(shape: GraphIdentifier, required: true, location: "header", location_name: "graphIdentifier", metadata: {"hostLabel"=>true, "hostLabelName"=>"graphIdentifier"}))
351
+ GetGraphSummaryInput.add_member(:mode, Shapes::ShapeRef.new(shape: GraphSummaryMode, location: "querystring", location_name: "mode"))
352
+ GetGraphSummaryInput.struct_class = Types::GetGraphSummaryInput
353
+
354
+ GetGraphSummaryOutput.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
355
+ GetGraphSummaryOutput.add_member(:last_statistics_computation_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "lastStatisticsComputationTime"))
356
+ GetGraphSummaryOutput.add_member(:graph_summary, Shapes::ShapeRef.new(shape: GraphDataSummary, location_name: "graphSummary"))
357
+ GetGraphSummaryOutput.struct_class = Types::GetGraphSummaryOutput
358
+
286
359
  GetImportTaskInput.add_member(:task_identifier, Shapes::ShapeRef.new(shape: TaskId, required: true, location: "uri", location_name: "taskIdentifier"))
287
360
  GetImportTaskInput.struct_class = Types::GetImportTaskInput
288
361
 
@@ -308,6 +381,33 @@ module Aws::NeptuneGraph
308
381
  GetPrivateGraphEndpointOutput.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "vpcEndpointId"))
309
382
  GetPrivateGraphEndpointOutput.struct_class = Types::GetPrivateGraphEndpointOutput
310
383
 
384
+ GetQueryInput.add_member(:graph_identifier, Shapes::ShapeRef.new(shape: GraphIdentifier, required: true, location: "header", location_name: "graphIdentifier", metadata: {"hostLabel"=>true, "hostLabelName"=>"graphIdentifier"}))
385
+ GetQueryInput.add_member(:query_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "queryId"))
386
+ GetQueryInput.struct_class = Types::GetQueryInput
387
+
388
+ GetQueryOutput.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
389
+ GetQueryOutput.add_member(:query_string, Shapes::ShapeRef.new(shape: String, location_name: "queryString"))
390
+ GetQueryOutput.add_member(:waited, Shapes::ShapeRef.new(shape: Integer, location_name: "waited"))
391
+ GetQueryOutput.add_member(:elapsed, Shapes::ShapeRef.new(shape: Integer, location_name: "elapsed"))
392
+ GetQueryOutput.add_member(:state, Shapes::ShapeRef.new(shape: QueryState, location_name: "state"))
393
+ GetQueryOutput.struct_class = Types::GetQueryOutput
394
+
395
+ GraphDataSummary.add_member(:num_nodes, Shapes::ShapeRef.new(shape: Long, location_name: "numNodes"))
396
+ GraphDataSummary.add_member(:num_edges, Shapes::ShapeRef.new(shape: Long, location_name: "numEdges"))
397
+ GraphDataSummary.add_member(:num_node_labels, Shapes::ShapeRef.new(shape: Long, location_name: "numNodeLabels"))
398
+ GraphDataSummary.add_member(:num_edge_labels, Shapes::ShapeRef.new(shape: Long, location_name: "numEdgeLabels"))
399
+ GraphDataSummary.add_member(:node_labels, Shapes::ShapeRef.new(shape: NodeLabels, location_name: "nodeLabels"))
400
+ GraphDataSummary.add_member(:edge_labels, Shapes::ShapeRef.new(shape: EdgeLabels, location_name: "edgeLabels"))
401
+ GraphDataSummary.add_member(:num_node_properties, Shapes::ShapeRef.new(shape: Long, location_name: "numNodeProperties"))
402
+ GraphDataSummary.add_member(:num_edge_properties, Shapes::ShapeRef.new(shape: Long, location_name: "numEdgeProperties"))
403
+ GraphDataSummary.add_member(:node_properties, Shapes::ShapeRef.new(shape: LongValuedMapList, location_name: "nodeProperties"))
404
+ GraphDataSummary.add_member(:edge_properties, Shapes::ShapeRef.new(shape: LongValuedMapList, location_name: "edgeProperties"))
405
+ GraphDataSummary.add_member(:total_node_property_values, Shapes::ShapeRef.new(shape: Long, location_name: "totalNodePropertyValues"))
406
+ GraphDataSummary.add_member(:total_edge_property_values, Shapes::ShapeRef.new(shape: Long, location_name: "totalEdgePropertyValues"))
407
+ GraphDataSummary.add_member(:node_structures, Shapes::ShapeRef.new(shape: NodeStructures, location_name: "nodeStructures"))
408
+ GraphDataSummary.add_member(:edge_structures, Shapes::ShapeRef.new(shape: EdgeStructures, location_name: "edgeStructures"))
409
+ GraphDataSummary.struct_class = Types::GraphDataSummary
410
+
311
411
  GraphSnapshotSummary.add_member(:id, Shapes::ShapeRef.new(shape: SnapshotId, required: true, location_name: "id"))
312
412
  GraphSnapshotSummary.add_member(:name, Shapes::ShapeRef.new(shape: SnapshotName, required: true, location_name: "name"))
313
413
  GraphSnapshotSummary.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "arn"))
@@ -396,18 +496,44 @@ module Aws::NeptuneGraph
396
496
  ListPrivateGraphEndpointsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
397
497
  ListPrivateGraphEndpointsOutput.struct_class = Types::ListPrivateGraphEndpointsOutput
398
498
 
499
+ ListQueriesInput.add_member(:graph_identifier, Shapes::ShapeRef.new(shape: GraphIdentifier, required: true, location: "header", location_name: "graphIdentifier", metadata: {"hostLabel"=>true, "hostLabelName"=>"graphIdentifier"}))
500
+ ListQueriesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, required: true, location: "querystring", location_name: "maxResults"))
501
+ ListQueriesInput.add_member(:state, Shapes::ShapeRef.new(shape: QueryStateInput, location: "querystring", location_name: "state"))
502
+ ListQueriesInput.struct_class = Types::ListQueriesInput
503
+
504
+ ListQueriesOutput.add_member(:queries, Shapes::ShapeRef.new(shape: QuerySummaryList, required: true, location_name: "queries"))
505
+ ListQueriesOutput.struct_class = Types::ListQueriesOutput
506
+
399
507
  ListTagsForResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
400
508
  ListTagsForResourceInput.struct_class = Types::ListTagsForResourceInput
401
509
 
402
510
  ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
403
511
  ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
404
512
 
513
+ LongValuedMap.key = Shapes::ShapeRef.new(shape: String)
514
+ LongValuedMap.value = Shapes::ShapeRef.new(shape: Long)
515
+
516
+ LongValuedMapList.member = Shapes::ShapeRef.new(shape: LongValuedMap)
517
+
405
518
  NeptuneImportOptions.add_member(:s3_export_path, Shapes::ShapeRef.new(shape: NeptuneImportOptionsS3ExportPathString, required: true, location_name: "s3ExportPath"))
406
519
  NeptuneImportOptions.add_member(:s3_export_kms_key_id, Shapes::ShapeRef.new(shape: NeptuneImportOptionsS3ExportKmsKeyIdString, required: true, location_name: "s3ExportKmsKeyId"))
407
520
  NeptuneImportOptions.add_member(:preserve_default_vertex_labels, Shapes::ShapeRef.new(shape: Boolean, location_name: "preserveDefaultVertexLabels"))
408
521
  NeptuneImportOptions.add_member(:preserve_edge_ids, Shapes::ShapeRef.new(shape: Boolean, location_name: "preserveEdgeIds"))
409
522
  NeptuneImportOptions.struct_class = Types::NeptuneImportOptions
410
523
 
524
+ NodeLabels.member = Shapes::ShapeRef.new(shape: String)
525
+
526
+ NodeProperties.member = Shapes::ShapeRef.new(shape: String)
527
+
528
+ NodeStructure.add_member(:count, Shapes::ShapeRef.new(shape: Long, location_name: "count"))
529
+ NodeStructure.add_member(:node_properties, Shapes::ShapeRef.new(shape: NodeProperties, location_name: "nodeProperties"))
530
+ NodeStructure.add_member(:distinct_outgoing_edge_labels, Shapes::ShapeRef.new(shape: OutgoingEdgeLabels, location_name: "distinctOutgoingEdgeLabels"))
531
+ NodeStructure.struct_class = Types::NodeStructure
532
+
533
+ NodeStructures.member = Shapes::ShapeRef.new(shape: NodeStructure)
534
+
535
+ OutgoingEdgeLabels.member = Shapes::ShapeRef.new(shape: String)
536
+
411
537
  PrivateGraphEndpointSummary.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "vpcId"))
412
538
  PrivateGraphEndpointSummary.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, required: true, location_name: "subnetIds"))
413
539
  PrivateGraphEndpointSummary.add_member(:status, Shapes::ShapeRef.new(shape: PrivateGraphEndpointStatus, required: true, location_name: "status"))
@@ -416,6 +542,15 @@ module Aws::NeptuneGraph
416
542
 
417
543
  PrivateGraphEndpointSummaryList.member = Shapes::ShapeRef.new(shape: PrivateGraphEndpointSummary)
418
544
 
545
+ QuerySummary.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
546
+ QuerySummary.add_member(:query_string, Shapes::ShapeRef.new(shape: String, location_name: "queryString"))
547
+ QuerySummary.add_member(:waited, Shapes::ShapeRef.new(shape: Integer, location_name: "waited"))
548
+ QuerySummary.add_member(:elapsed, Shapes::ShapeRef.new(shape: Integer, location_name: "elapsed"))
549
+ QuerySummary.add_member(:state, Shapes::ShapeRef.new(shape: QueryState, location_name: "state"))
550
+ QuerySummary.struct_class = Types::QuerySummary
551
+
552
+ QuerySummaryList.member = Shapes::ShapeRef.new(shape: QuerySummary)
553
+
419
554
  ResetGraphInput.add_member(:graph_identifier, Shapes::ShapeRef.new(shape: GraphIdentifier, required: true, location: "uri", location_name: "graphIdentifier"))
420
555
  ResetGraphInput.add_member(:skip_snapshot, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "skipSnapshot"))
421
556
  ResetGraphInput.struct_class = Types::ResetGraphInput
@@ -491,6 +626,10 @@ module Aws::NeptuneGraph
491
626
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
492
627
  ThrottlingException.struct_class = Types::ThrottlingException
493
628
 
629
+ UnprocessableException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
630
+ UnprocessableException.add_member(:reason, Shapes::ShapeRef.new(shape: UnprocessableExceptionReason, required: true, location_name: "reason"))
631
+ UnprocessableException.struct_class = Types::UnprocessableException
632
+
494
633
  UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
495
634
  UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
496
635
  UntagResourceInput.struct_class = Types::UntagResourceInput
@@ -560,6 +699,22 @@ module Aws::NeptuneGraph
560
699
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
561
700
  end)
562
701
 
702
+ api.add_operation(:cancel_query, Seahorse::Model::Operation.new.tap do |o|
703
+ o.name = "CancelQuery"
704
+ o.http_method = "DELETE"
705
+ o.http_request_uri = "/queries/{queryId}"
706
+ o.endpoint_pattern = {
707
+ "hostPrefix" => "{graphIdentifier}.",
708
+ }
709
+ o.input = Shapes::ShapeRef.new(shape: CancelQueryInput)
710
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
711
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
712
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
713
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
714
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
715
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
716
+ end)
717
+
563
718
  api.add_operation(:create_graph, Seahorse::Model::Operation.new.tap do |o|
564
719
  o.name = "CreateGraph"
565
720
  o.http_method = "POST"
@@ -653,6 +808,23 @@ module Aws::NeptuneGraph
653
808
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
654
809
  end)
655
810
 
811
+ api.add_operation(:execute_query, Seahorse::Model::Operation.new.tap do |o|
812
+ o.name = "ExecuteQuery"
813
+ o.http_method = "POST"
814
+ o.http_request_uri = "/queries"
815
+ o.endpoint_pattern = {
816
+ "hostPrefix" => "{graphIdentifier}.",
817
+ }
818
+ o.input = Shapes::ShapeRef.new(shape: ExecuteQueryInput)
819
+ o.output = Shapes::ShapeRef.new(shape: ExecuteQueryOutput)
820
+ o.errors << Shapes::ShapeRef.new(shape: UnprocessableException)
821
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
822
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
823
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
824
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
825
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
826
+ end)
827
+
656
828
  api.add_operation(:get_graph, Seahorse::Model::Operation.new.tap do |o|
657
829
  o.name = "GetGraph"
658
830
  o.http_method = "GET"
@@ -677,6 +849,22 @@ module Aws::NeptuneGraph
677
849
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
678
850
  end)
679
851
 
852
+ api.add_operation(:get_graph_summary, Seahorse::Model::Operation.new.tap do |o|
853
+ o.name = "GetGraphSummary"
854
+ o.http_method = "GET"
855
+ o.http_request_uri = "/summary"
856
+ o.endpoint_pattern = {
857
+ "hostPrefix" => "{graphIdentifier}.",
858
+ }
859
+ o.input = Shapes::ShapeRef.new(shape: GetGraphSummaryInput)
860
+ o.output = Shapes::ShapeRef.new(shape: GetGraphSummaryOutput)
861
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
862
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
863
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
864
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
865
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
866
+ end)
867
+
680
868
  api.add_operation(:get_import_task, Seahorse::Model::Operation.new.tap do |o|
681
869
  o.name = "GetImportTask"
682
870
  o.http_method = "GET"
@@ -701,6 +889,22 @@ module Aws::NeptuneGraph
701
889
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
702
890
  end)
703
891
 
892
+ api.add_operation(:get_query, Seahorse::Model::Operation.new.tap do |o|
893
+ o.name = "GetQuery"
894
+ o.http_method = "GET"
895
+ o.http_request_uri = "/queries/{queryId}"
896
+ o.endpoint_pattern = {
897
+ "hostPrefix" => "{graphIdentifier}.",
898
+ }
899
+ o.input = Shapes::ShapeRef.new(shape: GetQueryInput)
900
+ o.output = Shapes::ShapeRef.new(shape: GetQueryOutput)
901
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
902
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
903
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
904
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
905
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
906
+ end)
907
+
704
908
  api.add_operation(:list_graph_snapshots, Seahorse::Model::Operation.new.tap do |o|
705
909
  o.name = "ListGraphSnapshots"
706
910
  o.http_method = "GET"
@@ -772,6 +976,21 @@ module Aws::NeptuneGraph
772
976
  )
773
977
  end)
774
978
 
979
+ api.add_operation(:list_queries, Seahorse::Model::Operation.new.tap do |o|
980
+ o.name = "ListQueries"
981
+ o.http_method = "GET"
982
+ o.http_request_uri = "/queries"
983
+ o.endpoint_pattern = {
984
+ "hostPrefix" => "{graphIdentifier}.",
985
+ }
986
+ o.input = Shapes::ShapeRef.new(shape: ListQueriesInput)
987
+ o.output = Shapes::ShapeRef.new(shape: ListQueriesOutput)
988
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
989
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
990
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
991
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
992
+ end)
993
+
775
994
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
776
995
  o.name = "ListTagsForResource"
777
996
  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