Skip to main content
 print this page

Datasources

APIs related to Datasources functionality

📄️ Run a read-only datasource operation

Dispatches on the action query parameter. Caller needs at least read/view on the datasource (else AUTH-1012). Safe to retry (read-only). Actions: testDatasource (jdbc, email, s3, ext-api, amorphic, arcgis — other types fail with GE-1004); getSampleData (ext-api only; other types return 200 Message); getSupportedItemTypes (arcgis only; other types return 200 Message); getSchemas, getSchemaTables, getTableMetadata (JDBC bulkdataload or advanceddataload only — otherwise the handler leaves the response unset and can fail with 500).

📄️ Update asset metadata

Updates asset metadata for amorphic, jdbc, or arcgis datasources (edit access required). Default body updates CustomMetadata and/or BusinessMetadata.Keywords. Use action=update-glossary-details to set per-column glossary terms (body is a map of column name to TermId/GlossaryId objects). Use action=review_all or review_suggestion to approve/decline AI suggestions on internal amorphic dataset assets (body requires ReviewAction; Columns required for review_suggestion). Response is Message.

📄️ Trigger or resume a datasource sync job

Starts a sync job for a datasource. The caller must have editor access. Supported datasource types are amorphic and jdbc with IngestionType set to metadataonly. Only one RUNNING or STARTING job can exist for a datasource at a time. External Amorphic and metadata-only ingestions use the external-assets Step Functions flow; other supported syncs either resume an eligible STOPPED/FAILED Glue job or start a new catalog Glue sync. Each request creates a new JobId.

📄️ Stop a running datasource sync job

Stops an in-flight catalog Glue sync job. Caller needs editor access (else AUTH-1012). Supported types: amorphic, or jdbc with IngestionType metadataonly. Job must be RUNNING or STARTING in DynamoDB (else IPV-1078). If Glue is still RUNNING, stop is requested and JobStatus becomes STOPPING; if Glue already terminal, DynamoDB is synced to that status. Intended for catalog Glue runs (GlueJobRunId 'n/a' on the external path can fail with GE-1034). Not idempotent for an already-stopped job.

📄️ View, generate, or download JDBC execution logs

Retrieves CloudWatch logs for one JDBC dataflow execution. The caller (identified by role_id) needs datasources.view and at least read-only access on the datasource (else AUTH-1010). Supported only for full-load JDBC Bulkload (servicename=jdbc-dataflow) and JDBC Advanced Load (jdbc-advanced-dataflow). Not supported for cdc / full-load-and-cdc (GE-1034), SaaS, Streams, or ArcGIS. Time window comes from the execution StartTime/EndTime; do not send startTime/endTime in the body.