Skip to content

Commit 01bceed

Browse files
author
AWS
committed
Amazon Neptune Graph Update: Add the new API Start-Import-Task for Amazon Neptune Analytics.
1 parent ab03108 commit 01bceed

File tree

2 files changed

+96
-0
lines changed

2 files changed

+96
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Neptune Graph",
4+
"contributor": "",
5+
"description": "Add the new API Start-Import-Task for Amazon Neptune Analytics."
6+
}

services/neptunegraph/src/main/resources/codegen-resources/service-2.json

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,27 @@
526526
"ApiType":{"value":"ControlPlane"}
527527
}
528528
},
529+
"StartImportTask":{
530+
"name":"StartImportTask",
531+
"http":{
532+
"method":"POST",
533+
"requestUri":"/graphs/{graphIdentifier}/importtasks",
534+
"responseCode":201
535+
},
536+
"input":{"shape":"StartImportTaskInput"},
537+
"output":{"shape":"StartImportTaskOutput"},
538+
"errors":[
539+
{"shape":"ThrottlingException"},
540+
{"shape":"ValidationException"},
541+
{"shape":"ConflictException"},
542+
{"shape":"InternalServerException"},
543+
{"shape":"ResourceNotFoundException"}
544+
],
545+
"documentation":"<p>Import data into existing Neptune Analytics graph from Amazon Simple Storage Service (S3). The graph needs to be empty and in the AVAILABLE state.</p>",
546+
"staticContextParams":{
547+
"ApiType":{"value":"ControlPlane"}
548+
}
549+
},
529550
"TagResource":{
530551
"name":"TagResource",
531552
"http":{
@@ -2658,6 +2679,75 @@
26582679
"FAILED"
26592680
]
26602681
},
2682+
"StartImportTaskInput":{
2683+
"type":"structure",
2684+
"required":[
2685+
"source",
2686+
"graphIdentifier",
2687+
"roleArn"
2688+
],
2689+
"members":{
2690+
"importOptions":{"shape":"ImportOptions"},
2691+
"failOnError":{
2692+
"shape":"Boolean",
2693+
"documentation":"<p>If set to true, the task halts when an import error is encountered. If set to false, the task skips the data that caused the error and continues if possible.</p>"
2694+
},
2695+
"source":{
2696+
"shape":"String",
2697+
"documentation":"<p>A URL identifying the location of the data to be imported. This can be an Amazon S3 path, or can point to a Neptune database endpoint or snapshot.</p>"
2698+
},
2699+
"format":{
2700+
"shape":"Format",
2701+
"documentation":"<p>Specifies the format of Amazon S3 data to be imported. Valid values are CSV, which identifies the Gremlin CSV format or OPENCYPHER, which identies the openCypher load format.</p>"
2702+
},
2703+
"graphIdentifier":{
2704+
"shape":"GraphIdentifier",
2705+
"documentation":"<p>The unique identifier of the Neptune Analytics graph.</p>",
2706+
"location":"uri",
2707+
"locationName":"graphIdentifier"
2708+
},
2709+
"roleArn":{
2710+
"shape":"RoleArn",
2711+
"documentation":"<p>The ARN of the IAM role that will allow access to the data that is to be imported.</p>"
2712+
}
2713+
}
2714+
},
2715+
"StartImportTaskOutput":{
2716+
"type":"structure",
2717+
"required":[
2718+
"taskId",
2719+
"source",
2720+
"roleArn",
2721+
"status"
2722+
],
2723+
"members":{
2724+
"graphId":{
2725+
"shape":"GraphId",
2726+
"documentation":"<p>The unique identifier of the Neptune Analytics graph.</p>"
2727+
},
2728+
"taskId":{
2729+
"shape":"TaskId",
2730+
"documentation":"<p>The unique identifier of the import task.</p>"
2731+
},
2732+
"source":{
2733+
"shape":"String",
2734+
"documentation":"<p>A URL identifying the location of the data to be imported. This can be an Amazon S3 path, or can point to a Neptune database endpoint or snapshot.</p>"
2735+
},
2736+
"format":{
2737+
"shape":"Format",
2738+
"documentation":"<p>Specifies the format of Amazon S3 data to be imported. Valid values are CSV, which identifies the Gremlin CSV format or OPENCYPHER, which identies the openCypher load format.</p>"
2739+
},
2740+
"roleArn":{
2741+
"shape":"RoleArn",
2742+
"documentation":"<p>The ARN of the IAM role that will allow access to the data that is to be imported.</p>"
2743+
},
2744+
"status":{
2745+
"shape":"ImportTaskStatus",
2746+
"documentation":"<p>The status of the import task.</p>"
2747+
},
2748+
"importOptions":{"shape":"ImportOptions"}
2749+
}
2750+
},
26612751
"String":{"type":"string"},
26622752
"SubnetId":{
26632753
"type":"string",

0 commit comments

Comments
 (0)