BatchGetTableOptimizer - AWS Glue


Returns the configuration for the specified table optimizers.

Request Syntax

{ "Entries": [ { "catalogId": "string", "databaseName": "string", "tableName": "string", "type": "string" } ] }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.


A list of BatchGetTableOptimizerEntry objects specifying the table optimizers to retrieve.

Type: Array of BatchGetTableOptimizerEntry objects

Required: Yes

Response Syntax

{ "Failures": [ { "catalogId": "string", "databaseName": "string", "error": { "ErrorCode": "string", "ErrorMessage": "string" }, "tableName": "string", "type": "string" } ], "TableOptimizers": [ { "catalogId": "string", "databaseName": "string", "tableName": "string", "tableOptimizer": { "configuration": { "enabled": boolean, "roleArn": "string" }, "lastRun": { "endTimestamp": number, "error": "string", "eventType": "string", "metrics": { "JobDurationInHour": "string", "NumberOfBytesCompacted": "string", "NumberOfDpus": "string", "NumberOfFilesCompacted": "string" }, "startTimestamp": number }, "type": "string" } } ] }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.


A list of errors from the operation.

Type: Array of BatchGetTableOptimizerError objects


A list of BatchTableOptimizer objects.

Type: Array of BatchTableOptimizer objects


For information about the errors that are common to all actions, see Common Errors.


An internal service error occurred.

HTTP Status Code: 500

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: