

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

# Pengantar menggunakan Amazon Neptunus APIs
<a name="using-neptune-apis"></a>

 APIs Manajemen Amazon Neptunus menyediakan dukungan SDK untuk membuat, mengelola, dan menghapus cluster dan instans Neptunus DB, sementara data Neptunus memberikan dukungan SDK untuk memuat data ke dalam grafik Anda, menjalankan APIs kueri, mendapatkan informasi tentang data dalam grafik Anda, dan menjalankan operasi pembelajaran mesin. Ini APIs tersedia dalam semua bahasa SDK. Dengan secara otomatis menandatangani permintaan API, mereka sangat mudah mengintegrasikan Neptunus ke dalam aplikasi.

Halaman ini memberikan informasi tentang cara menggunakannya APIs.

## Tindakan IAM dengan nama yang berbeda dari rekan SDK API data Neptunus mereka
<a name="neptune-apis-shared-iam-actions"></a>

Saat memanggil metode API Neptunus di klaster yang mengaktifkan autentikasi IAM, Anda harus memiliki kebijakan IAM yang dilampirkan ke pengguna atau peran yang membuat panggilan yang memberikan izin untuk tindakan yang ingin Anda lakukan. Anda menetapkan izin tersebut dalam kebijakan menggunakan Tindakan [IAM](iam-dp-actions.md) terkait. Anda juga dapat membatasi tindakan yang dapat diambil menggunakan kunci [Kondisi IAM](iam-data-condition-keys.md).

Sebagian besar tindakan IAM memiliki nama yang sama dengan metode API yang sesuai dengannya, tetapi beberapa metode dalam API data memiliki nama yang berbeda, karena beberapa dibagikan oleh lebih dari satu metode. Tabel di bawah ini mencantumkan metode data dan tindakan IAM yang sesuai:


| Nama operasi API data | Korespondensi IAM | 
| --- | --- | 
| [CancelGremlinQuery](https://docs.aws.amazon.com/neptune/latest/data-api/API_CancelGremlinQuery.html)(cancel\_gremlin\_query) | *Tindakan:* `neptune-db:CancelQuery` | 
| [CancelLoaderJob](https://docs.aws.amazon.com/neptune/latest/data-api/API_CancelLoaderJob.html)(cancel\_loader\_job) | *Tindakan:* `neptune-db:CancelLoaderJob` | 
| [Batalkan MLData ProcessingJob](https://docs.aws.amazon.com/neptune/latest/data-api/API_CancelMLDataProcessingJob.html) (cancel\_ml\_data\_processing\_job) | *Tindakan:* `neptune-db:CancelMLDataProcessingJob` | 
| [Batalkan MLModel TrainingJob](https://docs.aws.amazon.com/neptune/latest/data-api/API_CancelMLModelTrainingJob.html) (cancel\_ml\_model\_training\_job) | *Tindakan:* `neptune-db:CancelMLModelTrainingJob` | 
| [CancelOpenCypherQuery](https://docs.aws.amazon.com/neptune/latest/data-api/API_CancelOpenCypherQuery.html)(cancel\_open\_cypher\_query) | *Tindakan:* `neptune-db:CancelQuery` | 
| [Buat MLEndpoint](https://docs.aws.amazon.com/neptune/latest/data-api/API_CreateMLEndpoint.html) (create\_ml\_endpoint) | *Tindakan:* `neptune-db:CreateMLEndpoint` | 
| [Hapus MLEndpoint](https://docs.aws.amazon.com/neptune/latest/data-api/API_DeleteMLEndpoint.html) (delete\_ml\_endpoint) | *Tindakan:* `neptune-db:DeleteMLEndpoint` | 
| [DeletePropertygraphStatistics](https://docs.aws.amazon.com/neptune/latest/data-api/API_DeletePropertygraphStatistics)(delete\_propertygraph\_statistics) | *Tindakan:* `neptune-db:DeleteStatistics` | 
| [DeleteSparqlStatistics](https://docs.aws.amazon.com/neptune/latest/data-api/API_DeleteSparqlStatistics)(delete\_sparql\_statistics) | *Tindakan:* `neptune-db:DeleteStatistics` | 
| [ExecuteFastReset](https://docs.aws.amazon.com/neptune/latest/data-api/API_ExecuteFastReset)execute\_fast\_reset () | *Tindakan:* `neptune-db:ResetDatabase` | 
| [ExecuteGremlinExplainQuery](https://docs.aws.amazon.com/neptune/latest/data-api/API_ExecuteGremlinExplainQuery)(execute\_gremlin\_explain\_query) | *Tindakan:*[See the AWS documentation website for more details](http://docs.aws.amazon.com/id_id/neptune/latest/userguide/using-neptune-apis.html)<br />*Kunci kondisi:* `neptune-db:QueryLanguage:Gremlin` | 
| [ExecuteGremlinProfileQuery](https://docs.aws.amazon.com/neptune/latest/data-api/API_ExecuteGremlinProfileQuery)(execute\_gremlin\_profile\_query) | *Tindakan:* `neptune-db:ReadDataViaQuery`<br />*Kunci kondisi:* `neptune-db:QueryLanguage:Gremlin` | 
| [ExecuteGremlinQuery](https://docs.aws.amazon.com/neptune/latest/data-api/API_ExecuteGremlinQuery)(execute\_gremlin\_query) | *Tindakan:*[See the AWS documentation website for more details](http://docs.aws.amazon.com/id_id/neptune/latest/userguide/using-neptune-apis.html)<br />*Kunci kondisi:* `neptune-db:QueryLanguage:Gremlin` | 
| [ExecuteOpenCypherExplainQuery](https://docs.aws.amazon.com/neptune/latest/data-api/API_ExecuteOpenCypherExplainQuery)(execute\_open\_cypher\_explain\_query) | *Tindakan:* `neptune-db:ReadDataViaQuery`<br />*Kunci kondisi:* `neptune-db:QueryLanguage:OpenCypher` | 
| [ExecuteOpenCypherQuery](https://docs.aws.amazon.com/neptune/latest/data-api/API_ExecuteOpenCypherQuery)(execute\_open\_cypher\_query) | *Tindakan:*[See the AWS documentation website for more details](http://docs.aws.amazon.com/id_id/neptune/latest/userguide/using-neptune-apis.html)<br />*Kunci kondisi:* `neptune-db:QueryLanguage:OpenCypher` | 
| [GetEngineStatus](https://docs.aws.amazon.com/neptune/latest/data-api/API_GetEngineStatus.html)(get\_engine\_status) | *Tindakan:* `neptune-db:GetEngineStatus` | 
| [GetGremlinQueryStatus](https://docs.aws.amazon.com/neptune/latest/data-api/API_GetGremlinQueryStatus)(get\_gremlin\_query\_status) | *Tindakan:* `neptune-db::GetQueryStatus`<br />*Kunci kondisi:* `neptune-db:QueryLanguage:Gremlin` | 
| [GetLoaderJobStatus](https://docs.aws.amazon.com/neptune/latest/data-api/API_GetLoaderJobStatus.html)(get\_loader\_job\_status) | *Tindakan:* `neptune-db:GetLoaderJobStatus` | 
| [Dapatkan MLData ProcessingJob](https://docs.aws.amazon.com/neptune/latest/data-api/API_GetMLDataProcessingJob) (get\_ml\_data\_processing\_job) | *Tindakan:* `neptune-db:GetMLDataProcessingJobStatus` | 
| [Dapatkan MLEndpoint](https://docs.aws.amazon.com/neptune/latest/data-api/API_GetMLEndpoint) (get\_ml\_endpoint) | *Tindakan:* `neptune-db:GetMLEndpointStatus` | 
| [Dapatkan MLModel TrainingJob](https://docs.aws.amazon.com/neptune/latest/data-api/API_GetMLModelTrainingJob) (get\_ml\_model\_training\_job) | *Tindakan:* `neptune-db:GetMLModelTrainingJobStatus` | 
| [Dapatkan MLModel TransformJob](https://docs.aws.amazon.com/neptune/latest/data-api/API_GetMLModelTransformJob) (get\_ml\_model\_transform\_job) | *Tindakan:* `neptune-db:GetMLModelTransformJobStatus` | 
| [GetOpenCypherQueryStatus](https://docs.aws.amazon.com/neptune/latest/data-api/API_GetOpenCypherQueryStatus)(get\_open\_cypher\_query\_status) | *Tindakan:* `neptune-db::GetQueryStatus`<br />*Kunci kondisi:* `neptune-db:QueryLanguage:OpenCypher` | 
| [GetPropertygraphStatistics](https://docs.aws.amazon.com/neptune/latest/data-api/API_GetPropertygraphStatistics)(get\_propertygraph\_statistics) | *Tindakan:* `neptune-db:GetStatisticsStatus` | `` | 
| [GetPropertygraphStream](https://docs.aws.amazon.com/neptune/latest/data-api/API_GetPropertygraphStream)(get\_propertygraph\_stream) | *Tindakan:* `neptune-db:GetStreamRecords`<br />*Kunci kondisi:*[See the AWS documentation website for more details](http://docs.aws.amazon.com/id_id/neptune/latest/userguide/using-neptune-apis.html) | 
| [GetPropertygraphSummary](https://docs.aws.amazon.com/neptune/latest/data-api/API_GetPropertygraphSummary)(get\_propertygraph\_summary) | *Tindakan:* `neptune-db:GetGraphSummary` | 
| [Dapatkan RDFGraph Ringkasan](https://docs.aws.amazon.com/neptune/latest/data-api/API_GetRDFGraphSummary) (get\_rdf\_graph\_summary) | *Tindakan:* `neptune-db:GetGraphSummary` | 
| [GetSparqlStatistics](https://docs.aws.amazon.com/neptune/latest/data-api/API_GetSparqlStatistics)(get\_sparql\_statistics) | *Tindakan:* `neptune-db:GetStatisticsStatus` | 
| [GetSparqlStream](https://docs.aws.amazon.com/neptune/latest/data-api/API_GetSparqlStream)(get\_sparql\_stream) | *Tindakan:* `neptune-db::GetStreamRecords`<br />*Kunci kondisi:* `neptune-db:QueryLanguage:Sparql` | 
| [ListGremlinQueries](https://docs.aws.amazon.com/neptune/latest/data-api/API_ListGremlinQueries)(list\_gremlin\_queries) | *Tindakan:* `neptune-db::GetQueryStatus`<br />*Kunci kondisi:* `neptune-db:QueryLanguage:Gremlin` | 
| [Daftar MLEndpoints (list\_ml\_endpoints](https://docs.aws.amazon.com/neptune/latest/data-api/API_ListMLEndpoints.html)) | *Tindakan:* `neptune-db:ListMLEndpoints` | `` | 
| [Daftar MLModel TrainingJobs (list\_ml\_model\_training\_jobs](https://docs.aws.amazon.com/neptune/latest/data-api/API_ListMLModelTrainingJobs.html)) | *Tindakan:* `neptune-db:ListMLModelTrainingJobs` | 
| [Daftar MLModel TransformJobs (list\_ml\_model\_transform\_jobs](https://docs.aws.amazon.com/neptune/latest/data-api/API_ListMLModelTransformJobs.html)) | *Tindakan:* `neptune-db:ListMLModelTransformJobs` | 
| [ListOpenCypherQueries](https://docs.aws.amazon.com/neptune/latest/data-api/API_ListOpenCypherQueries)(list\_open\_cypher\_queries) | *Tindakan:* `neptune-db::GetQueryStatus`<br />*Kunci kondisi:* `neptune-db:QueryLanguage:OpenCypher` | 
| [ManagePropertygraphStatistics](https://docs.aws.amazon.com/neptune/latest/data-api/API_ManagePropertygraphStatistics)(manage\_propertygraph\_statistics) | *Tindakan:* `neptune-db:ManageStatistics` | 
| [ManageSparqlStatistics](https://docs.aws.amazon.com/neptune/latest/data-api/API_ManageSparqlStatistics)(manage\_sparql\_statistics) | *Tindakan:* `neptune-db:ManageStatistics` | 
| [StartLoaderJob](https://docs.aws.amazon.com/neptune/latest/data-api/API_StartLoaderJob.html)(start\_loader\_job) | *Tindakan:* `neptune-db:StartLoaderJob` | 
| [Mulai MLModel DataProcessingJob](https://docs.aws.amazon.com/neptune/latest/data-api/API_StartMLModelDataProcessingJob.html) (start\_ml\_data\_processing\_job) | *Tindakan:* `neptune-db:StartMLModelDataProcessingJob` | 
| [Mulai MLModel TrainingJob](https://docs.aws.amazon.com/neptune/latest/data-api/API_StartMLModelTrainingJob.html) (start\_ml\_model\_training\_job) | *Tindakan:* `neptune-db:StartMLModelTrainingJob` | 
| [Mulai MLModel TransformJob](https://docs.aws.amazon.com/neptune/latest/data-api/API_StartMLModelTransformJob.html) (start\_ml\_model\_transform\_job) | *Tindakan:* `neptune-db:StartMLModelTransformJob` | 