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 1
1
# 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 :
2
15
cross_MessageProcessingFrameworkTutorial :
3
16
title : Use the &AWS; Message Processing Framework for .NET to publish and receive &SQS; messages
4
17
title_abbrev : Use the &AWS; Message Processing Framework for .NET with &SQS;
Original file line number Diff line number Diff line change 3
3
4
4
package com .example .neptune .analytics ;
5
5
6
- import software .amazon .awssdk .auth .credentials .DefaultCredentialsProvider ;
7
6
import software .amazon .awssdk .core .ResponseInputStream ;
8
7
import software .amazon .awssdk .core .client .config .ClientOverrideConfiguration ;
9
8
import software .amazon .awssdk .http .apache .ApacheHttpClient ;
10
9
import software .amazon .awssdk .regions .Region ;
11
- import software .amazon .awssdk .services .neptunedata .NeptunedataClient ;
12
10
import software .amazon .awssdk .services .neptunegraph .NeptuneGraphClient ;
13
11
import software .amazon .awssdk .services .neptunegraph .model .ExecuteQueryRequest ;
14
12
import software .amazon .awssdk .services .neptunegraph .model .ExecuteQueryResponse ;
Original file line number Diff line number Diff line change 10
10
import software .amazon .awssdk .services .neptunedata .model .ExecuteOpenCypherExplainQueryRequest ;
11
11
import software .amazon .awssdk .services .neptunedata .model .ExecuteOpenCypherExplainQueryResponse ;
12
12
import software .amazon .awssdk .services .neptunedata .model .NeptunedataException ;
13
-
14
13
import java .net .URI ;
15
14
import java .time .Duration ;
16
15
You can’t perform that action at this time.
0 commit comments