File tree Expand file tree Collapse file tree 4 files changed +27
-3
lines changed
javav2/example_code/neptune/src/main/java/com/example/neptune Expand file tree Collapse file tree 4 files changed +27
-3
lines changed Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "file://zonbook/docbookx.dtd"[
3+ <!ENTITY % phrases-shared SYSTEM " file://AWSShared/common/phrases-shared.ent" >
4+ %phrases-shared;
5+ ]>
6+ <block >
7+ <para >
8+ Shows how to use &neptune; Java API to create a Lambda function that queries graph data within the VPC.
9+ </para >
10+ <para >
11+ For complete source code and instructions on how to set up and run, see the full example on
12+ <ulink url =" https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/javav2/usecases/creating_neptune_lambda" >GitHub</ulink >.
13+ </para >
14+ </block >
Original file line number Diff line number Diff line change 11# zexi 0.4.0
2+ cross_Neptune_Query :
3+ title : Use the &neptune; API to develop an &LAM; function that queries graph data
4+ title_abbrev : Use the &neptune; API to query graph data
5+ synopsis : create lambda functions that query graph data.
6+ category : Scenarios
7+ languages :
8+ .Java :
9+ versions :
10+ - sdk_version : 2
11+ block_content : cross_Neptune_Java_block.xml
12+ service_main : neptune
13+ services :
14+ lambda :
215cross_MessageProcessingFrameworkTutorial :
316 title : Use the &AWS; Message Processing Framework for .NET to publish and receive &SQS; messages
417 title_abbrev : Use the &AWS; Message Processing Framework for .NET with &SQS;
Original file line number Diff line number Diff line change 33
44package com .example .neptune .analytics ;
55
6- import software .amazon .awssdk .auth .credentials .DefaultCredentialsProvider ;
76import software .amazon .awssdk .core .ResponseInputStream ;
87import software .amazon .awssdk .core .client .config .ClientOverrideConfiguration ;
98import software .amazon .awssdk .http .apache .ApacheHttpClient ;
109import software .amazon .awssdk .regions .Region ;
11- import software .amazon .awssdk .services .neptunedata .NeptunedataClient ;
1210import software .amazon .awssdk .services .neptunegraph .NeptuneGraphClient ;
1311import software .amazon .awssdk .services .neptunegraph .model .ExecuteQueryRequest ;
1412import software .amazon .awssdk .services .neptunegraph .model .ExecuteQueryResponse ;
Original file line number Diff line number Diff line change 1010import software .amazon .awssdk .services .neptunedata .model .ExecuteOpenCypherExplainQueryRequest ;
1111import software .amazon .awssdk .services .neptunedata .model .ExecuteOpenCypherExplainQueryResponse ;
1212import software .amazon .awssdk .services .neptunedata .model .NeptunedataException ;
13-
1413import java .net .URI ;
1514import java .time .Duration ;
1615
You can’t perform that action at this time.
0 commit comments