start_export_task
async
¶
start_export_task(
graph_identifier: GraphIdentifier,
role_arn: RoleArn,
format: ExportFormat,
destination: str,
kms_key_identifier: KmsKeyArn,
*,
config_overrides: Optional[AsyncNeptuneGraphClientConfig] = None,
parquet_type: Optional[ParquetType] = None,
export_filter: Optional[ExportFilter] = None,
tags: Optional[TagMap] = None,
) -> StartExportTaskOutput
Export data from an existing Neptune Analytics graph to Amazon S3. The graph state should be AVAILABLE.
Parameters:
-
graph_identifier(GraphIdentifier) –The source graph identifier of the export task.
-
role_arn(RoleArn) –The ARN of the IAM role that will allow data to be exported to the destination.
-
format(ExportFormat) –The format of the export task.
-
destination(str) –The Amazon S3 URI where data will be exported to.
-
kms_key_identifier(KmsKeyArn) –The KMS key identifier of the export task.
-
parquet_type(Optional[ParquetType], default:None) –The parquet type of the export task.
-
export_filter(Optional[ExportFilter], default:None) –The export filter of the export task.
-
tags(Optional[TagMap], default:None) –Tags to be applied to the export task.
Raises:
-
ConflictException–Raised when a conflict is encountered.
-
InternalServerException–A failure occurred on the server.
-
ResourceNotFoundException–A specified resource could not be located.
-
ThrottlingException–The exception was interrupted by throttling.
-
ValidationException–A resource could not be validated.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_neptune_graph/_services/async_neptune_graph.py
2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 | |