Create an Iceberg Glue table optimizer
POST/datasets/:id/optimizers
Creates and configures an AWS Glue Iceberg table optimizer for the dataset. Iceberg-only (IsIcebergTable=true); not supported for IcebergCatalog=s3tables (GE-1010). type query param is required and must be one of compaction | retention | orphan-file-deletion. Request body uses Enabled plus optional Configuration keyed by type (compaction: Strategy/MinInputFiles/DeleteFileThreshold; retention: SnapshotRetentionDays/SnapshotsToRetain/CleanExpiredFiles/RunRateHours; orphan-file-deletion: OrphanFileRetentionDays/RunRateHours). IAM role ARN is applied server-side. Not idempotent: AlreadyExistsException surfaces as a create error (use PUT to update).
Request
Responses
- 200
- 400
- 500
Optimizer created. Message is "Successfully created the iceberg table optimizer".
Response Headers
Validation or authorization failure. Body is {"Message": " -
Response Headers
Backend/generic failure. Body is {"Message": " -