BatchGetTableOptimizer - AWS Glue

BatchGetTableOptimizer

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.

Entries

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, "orphanFileDeletionConfiguration": { "icebergConfiguration": { "location": "string", "orphanFileRetentionPeriodInDays": number } }, "retentionConfiguration": { "icebergConfiguration": { "cleanExpiredFiles": boolean, "numberOfSnapshotsToRetain": number, "snapshotRetentionPeriodInDays": number } }, "roleArn": "string", "vpcConfiguration": { ... } }, "lastRun": { "compactionMetrics": { "IcebergMetrics": { "JobDurationInHour": number, "NumberOfBytesCompacted": number, "NumberOfDpus": number, "NumberOfFilesCompacted": number } }, "endTimestamp": number, "error": "string", "eventType": "string", "metrics": { "JobDurationInHour": "string", "NumberOfBytesCompacted": "string", "NumberOfDpus": "string", "NumberOfFilesCompacted": "string" }, "orphanFileDeletionMetrics": { "IcebergMetrics": { "JobDurationInHour": number, "NumberOfDpus": number, "NumberOfOrphanFilesDeleted": number } }, "retentionMetrics": { "IcebergMetrics": { "JobDurationInHour": number, "NumberOfDataFilesDeleted": number, "NumberOfDpus": number, "NumberOfManifestFilesDeleted": number, "NumberOfManifestListsDeleted": number } }, "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.

Failures

A list of errors from the operation.

Type: Array of BatchGetTableOptimizerError objects

TableOptimizers

A list of BatchTableOptimizer objects.

Type: Array of BatchTableOptimizer objects

Errors

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

AccessDeniedException

Access to a resource was denied.

HTTP Status Code: 400

EntityNotFoundException

A specified entity does not exist

HTTP Status Code: 400

InternalServiceException

An internal service error occurred.

HTTP Status Code: 500

InvalidInputException

The input provided was not valid.

HTTP Status Code: 400

ThrottlingException

The throttling threshhold was exceeded.

HTTP Status Code: 400

See Also

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