

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# Amazon Neptune API の使用の概要
<a name="using-neptune-apis"></a>

Amazon Neptune 管理 API は、Neptune DB クラスターとインスタンスを作成、管理、削除するための SDK サポートを提供します。一方、Neptune データ API は、グラフへのデータの読み込み、クエリの実行、グラフ内のデータに関する情報の取得、機械学習操作の実行のための SDK サポートを提供します。これらの API はすべての SDK 言語で使用できます。API リクエストに自動的に署名することによって、Neptune のアプリケーションへの統合を大幅に簡素化します。

このページでは、これらの API の使用方法に関する情報を提供します。

## 対応する Neptune データ API SDK とは異なる名前の IAM アクション
<a name="neptune-apis-shared-iam-actions"></a>

IAM 認証が有効になっているクラスターで Neptune API メソッドを呼び出す場合は、実行するアクションのアクセス許可を提供する呼び出しを行うユーザーまたはロールに IAM ポリシーをアタッチする必要があります。これらのアクセス許可は、対応する [IAM アクション](iam-dp-actions.md)を使用してポリシーで設定します。[IAM 条件キー](iam-data-condition-keys.md)を使用して、実行できるアクションを制限することもできます。

ほとんどの IAM アクションは、対応する API メソッドと同じ名前ですが、データ API の一部のメソッドは、複数のメソッドで共有されるため、名前が異なります。以下の表は、データメソッドとそれに対応する IAM アクションの一覧です。


| データ API 操作名 | 対応する IAM | 
| --- | --- | 
| [CancelGremlinQuery](https://docs.aws.amazon.com/neptune/latest/data-api/API_CancelGremlinQuery.html) (cancel\_gremlin\_query) | *アクション:*`neptune-db:CancelQuery` | 
| [CancelLoaderJob](https://docs.aws.amazon.com/neptune/latest/data-api/API_CancelLoaderJob.html) (cancel\_loader\_job) | *アクション:*`neptune-db:CancelLoaderJob` | 
| [CancelMLDataProcessingJob](https://docs.aws.amazon.com/neptune/latest/data-api/API_CancelMLDataProcessingJob.html) (cancel\_ml\_data\_processing\_job) | *アクション:*`neptune-db:CancelMLDataProcessingJob` | 
| [CancelMLModelTrainingJob](https://docs.aws.amazon.com/neptune/latest/data-api/API_CancelMLModelTrainingJob.html) (cancel\_ml\_model\_training\_job) | *アクション:*`neptune-db:CancelMLModelTrainingJob` | 
| [CancelOpenCypherQuery](https://docs.aws.amazon.com/neptune/latest/data-api/API_CancelOpenCypherQuery.html) (cancel\_open\_cypher\_query) | *アクション:*`neptune-db:CancelQuery` | 
| [CreateMLEndpoint](https://docs.aws.amazon.com/neptune/latest/data-api/API_CreateMLEndpoint.html) (create\_ml\_endpoint) | *アクション:*`neptune-db:CreateMLEndpoint` | 
| [DeleteMLEndpoint](https://docs.aws.amazon.com/neptune/latest/data-api/API_DeleteMLEndpoint.html) (delete\_ml\_endpoint) | *アクション:*`neptune-db:DeleteMLEndpoint` | 
| [DeletePropertygraphStatistics](https://docs.aws.amazon.com/neptune/latest/data-api/API_DeletePropertygraphStatistics) (delete\_propertygraph\_statistics) | *アクション:*`neptune-db:DeleteStatistics` | 
| [DeleteSparqlStatistics](https://docs.aws.amazon.com/neptune/latest/data-api/API_DeleteSparqlStatistics) (delete\_sparql\_statistics) | *アクション:*`neptune-db:DeleteStatistics` | 
| [ExecuteFastReset](https://docs.aws.amazon.com/neptune/latest/data-api/API_ExecuteFastReset) execute\_fast\_reset() | *アクション:*`neptune-db:ResetDatabase` | 
| [ExecuteGremlinExplainQuery](https://docs.aws.amazon.com/neptune/latest/data-api/API_ExecuteGremlinExplainQuery) (execute\_gremlin\_explain\_query) | *アクション:*[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/neptune/latest/userguide/using-neptune-apis.html)<br />*条件キー:* `neptune-db:QueryLanguage:Gremlin` | 
| [ExecuteGremlinProfileQuery](https://docs.aws.amazon.com/neptune/latest/data-api/API_ExecuteGremlinProfileQuery) (execute\_gremlin\_profile\_query) | *アクション:*`neptune-db:ReadDataViaQuery`<br />*条件キー:* `neptune-db:QueryLanguage:Gremlin` | 
| [ExecuteGremlinQuery](https://docs.aws.amazon.com/neptune/latest/data-api/API_ExecuteGremlinQuery) (execute\_gremlin\_query) | *アクション:*[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/neptune/latest/userguide/using-neptune-apis.html)<br />*条件キー:* `neptune-db:QueryLanguage:Gremlin` | 
| [ExecuteOpenCypherExplainQuery](https://docs.aws.amazon.com/neptune/latest/data-api/API_ExecuteOpenCypherExplainQuery) (execute\_open\_cypher\_explain\_query) | *アクション:*`neptune-db:ReadDataViaQuery`<br />*条件キー:* `neptune-db:QueryLanguage:OpenCypher` | 
| [ExecuteOpenCypherQuery](https://docs.aws.amazon.com/neptune/latest/data-api/API_ExecuteOpenCypherQuery) (execute\_open\_cypher\_query) | *アクション:*[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/neptune/latest/userguide/using-neptune-apis.html)<br />*条件キー:* `neptune-db:QueryLanguage:OpenCypher` | 
| [GetEngineStatus](https://docs.aws.amazon.com/neptune/latest/data-api/API_GetEngineStatus.html) (get\_engine\_status) | *アクション:*`neptune-db:GetEngineStatus` | 
| [GetGremlinQueryStatus](https://docs.aws.amazon.com/neptune/latest/data-api/API_GetGremlinQueryStatus) (get\_gremlin\_query\_status) | *アクション:*`neptune-db::GetQueryStatus`<br />*条件キー:* `neptune-db:QueryLanguage:Gremlin` | 
| [GetLoaderJobStatus](https://docs.aws.amazon.com/neptune/latest/data-api/API_GetLoaderJobStatus.html) (get\_loader\_job\_status) | *アクション:*`neptune-db:GetLoaderJobStatus` | 
| [GetMLDataProcessingJob](https://docs.aws.amazon.com/neptune/latest/data-api/API_GetMLDataProcessingJob) (get\_ml\_data\_processing\_job) | *アクション:*`neptune-db:GetMLDataProcessingJobStatus` | 
| [GetMLEndpoint](https://docs.aws.amazon.com/neptune/latest/data-api/API_GetMLEndpoint) (get\_ml\_endpoint) | *アクション:*`neptune-db:GetMLEndpointStatus` | 
| [GetMLModelTrainingJob](https://docs.aws.amazon.com/neptune/latest/data-api/API_GetMLModelTrainingJob) (get\_ml\_model\_training\_job) | *アクション:*`neptune-db:GetMLModelTrainingJobStatus` | 
| [GetMLModelTransformJob](https://docs.aws.amazon.com/neptune/latest/data-api/API_GetMLModelTransformJob) (get\_ml\_model\_transform\_job) | *アクション:*`neptune-db:GetMLModelTransformJobStatus` | 
| [GetOpenCypherQueryStatus](https://docs.aws.amazon.com/neptune/latest/data-api/API_GetOpenCypherQueryStatus) (get\_open\_cypher\_query\_status) | *アクション:*`neptune-db::GetQueryStatus`<br />*条件キー:* `neptune-db:QueryLanguage:OpenCypher` | 
| [GetPropertygraphStatistics](https://docs.aws.amazon.com/neptune/latest/data-api/API_GetPropertygraphStatistics) (get\_propertygraph\_statistics) | *アクション:*`neptune-db:GetStatisticsStatus` | `` | 
| [GetPropertygraphStream](https://docs.aws.amazon.com/neptune/latest/data-api/API_GetPropertygraphStream) (get\_propertygraph\_stream) | *アクション:*`neptune-db:GetStreamRecords`<br />*条件キー:* [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/neptune/latest/userguide/using-neptune-apis.html) | 
| [GetPropertygraphSummary](https://docs.aws.amazon.com/neptune/latest/data-api/API_GetPropertygraphSummary) (get\_propertygraph\_summary) | *アクション:*`neptune-db:GetGraphSummary` | 
| [GetRDFGraphSummary](https://docs.aws.amazon.com/neptune/latest/data-api/API_GetRDFGraphSummary) (get\_rdf\_graph\_summary) | *アクション:*`neptune-db:GetGraphSummary` | 
| [GetSparqlStatistics](https://docs.aws.amazon.com/neptune/latest/data-api/API_GetSparqlStatistics) (get\_sparql\_statistics) | *アクション:*`neptune-db:GetStatisticsStatus` | 
| [GetSparqlStream](https://docs.aws.amazon.com/neptune/latest/data-api/API_GetSparqlStream) (get\_sparql\_stream) | *アクション:*`neptune-db::GetStreamRecords`<br />*条件キー:* `neptune-db:QueryLanguage:Sparql` | 
| [ListGremlinQueries](https://docs.aws.amazon.com/neptune/latest/data-api/API_ListGremlinQueries) (list\_gremlin\_queries) | *アクション:*`neptune-db::GetQueryStatus`<br />*条件キー:* `neptune-db:QueryLanguage:Gremlin` | 
| [ListMLEndpoints](https://docs.aws.amazon.com/neptune/latest/data-api/API_ListMLEndpoints.html) (list\_ml\_endpoints) | *アクション:*`neptune-db:ListMLEndpoints` | `` | 
| [ListMLModelTrainingJobs](https://docs.aws.amazon.com/neptune/latest/data-api/API_ListMLModelTrainingJobs.html) (list\_ml\_model\_training\_jobs) | *アクション:*`neptune-db:ListMLModelTrainingJobs` | 
| [ListMLModel\_Transform\_Jobs (list\_ml\_model\_transform\_jobs](https://docs.aws.amazon.com/neptune/latest/data-api/API_ListMLModelTransformJobs.html)) | *アクション:*`neptune-db:ListMLModelTransformJobs` | 
| [ListOpenCypherQueries](https://docs.aws.amazon.com/neptune/latest/data-api/API_ListOpenCypherQueries) (list\_open\_cypher\_queries) | *アクション:*`neptune-db::GetQueryStatus`<br />*条件キー:* `neptune-db:QueryLanguage:OpenCypher` | 
| [ManagePropertygraphStatistics](https://docs.aws.amazon.com/neptune/latest/data-api/API_ManagePropertygraphStatistics) (manage\_propertygraph\_statistics) | *アクション:*`neptune-db:ManageStatistics` | 
| [ManageSparqlStatistics](https://docs.aws.amazon.com/neptune/latest/data-api/API_ManageSparqlStatistics) (manage\_sparql\_statistics) | *アクション:*`neptune-db:ManageStatistics` | 
| [StartLoaderJob](https://docs.aws.amazon.com/neptune/latest/data-api/API_StartLoaderJob.html) (start\_loader\_job) | *アクション:*`neptune-db:StartLoaderJob` | 
| [StartMLModelDataProcessingJob](https://docs.aws.amazon.com/neptune/latest/data-api/API_StartMLModelDataProcessingJob.html) (start\_ml\_data\_processing\_job) | *アクション:*`neptune-db:StartMLModelDataProcessingJob` | 
| [StartMLModelTrainingJob](https://docs.aws.amazon.com/neptune/latest/data-api/API_StartMLModelTrainingJob.html) (start\_ml\_model\_training\_job) | *アクション:*`neptune-db:StartMLModelTrainingJob` | 
| [StartMLModelTransformJob](https://docs.aws.amazon.com/neptune/latest/data-api/API_StartMLModelTransformJob.html) (start\_ml\_model\_transform\_job) | *アクション:*`neptune-db:StartMLModelTransformJob` | 