import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; import type { BatchGetTableOptimizerRequest, BatchGetTableOptimizerResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link BatchGetTableOptimizerCommand}. */ export interface BatchGetTableOptimizerCommandInput extends BatchGetTableOptimizerRequest { } /** * @public * * The output of {@link BatchGetTableOptimizerCommand}. */ export interface BatchGetTableOptimizerCommandOutput extends BatchGetTableOptimizerResponse, __MetadataBearer { } declare const BatchGetTableOptimizerCommand_base: { new (input: BatchGetTableOptimizerCommandInput): import("@smithy/core/client").CommandImpl; new (input: BatchGetTableOptimizerCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Returns the configuration for the specified table optimizers.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, BatchGetTableOptimizerCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, BatchGetTableOptimizerCommand } = require("@aws-sdk/client-glue"); // CommonJS import * // import type { GlueClientConfig } from "@aws-sdk/client-glue"; * const config = {}; // type is GlueClientConfig * const client = new GlueClient(config); * const input = { // BatchGetTableOptimizerRequest * Entries: [ // BatchGetTableOptimizerEntries // required * { // BatchGetTableOptimizerEntry * catalogId: "STRING_VALUE", * databaseName: "STRING_VALUE", * tableName: "STRING_VALUE", * type: "compaction" || "retention" || "orphan_file_deletion", * }, * ], * }; * const command = new BatchGetTableOptimizerCommand(input); * const response = await client.send(command); * // { // BatchGetTableOptimizerResponse * // TableOptimizers: [ // BatchTableOptimizers * // { // BatchTableOptimizer * // catalogId: "STRING_VALUE", * // databaseName: "STRING_VALUE", * // tableName: "STRING_VALUE", * // tableOptimizer: { // TableOptimizer * // type: "compaction" || "retention" || "orphan_file_deletion", * // configuration: { // TableOptimizerConfiguration * // roleArn: "STRING_VALUE", * // enabled: true || false, * // vpcConfiguration: { // TableOptimizerVpcConfiguration Union: only one key present * // glueConnectionName: "STRING_VALUE", * // }, * // compactionConfiguration: { // CompactionConfiguration * // icebergConfiguration: { // IcebergCompactionConfiguration * // strategy: "binpack" || "sort" || "z-order", * // minInputFiles: Number("int"), * // deleteFileThreshold: Number("int"), * // }, * // }, * // retentionConfiguration: { // RetentionConfiguration * // icebergConfiguration: { // IcebergRetentionConfiguration * // snapshotRetentionPeriodInDays: Number("int"), * // numberOfSnapshotsToRetain: Number("int"), * // cleanExpiredFiles: true || false, * // runRateInHours: Number("int"), * // }, * // }, * // orphanFileDeletionConfiguration: { // OrphanFileDeletionConfiguration * // icebergConfiguration: { // IcebergOrphanFileDeletionConfiguration * // orphanFileRetentionPeriodInDays: Number("int"), * // location: "STRING_VALUE", * // runRateInHours: Number("int"), * // }, * // }, * // }, * // lastRun: { // TableOptimizerRun * // eventType: "starting" || "completed" || "failed" || "in_progress", * // startTimestamp: new Date("TIMESTAMP"), * // endTimestamp: new Date("TIMESTAMP"), * // metrics: { // RunMetrics * // NumberOfBytesCompacted: "STRING_VALUE", * // NumberOfFilesCompacted: "STRING_VALUE", * // NumberOfDpus: "STRING_VALUE", * // JobDurationInHour: "STRING_VALUE", * // }, * // error: "STRING_VALUE", * // compactionMetrics: { // CompactionMetrics * // IcebergMetrics: { // IcebergCompactionMetrics * // NumberOfBytesCompacted: Number("long"), * // NumberOfFilesCompacted: Number("long"), * // DpuHours: Number("double"), * // NumberOfDpus: Number("int"), * // JobDurationInHour: Number("double"), * // }, * // }, * // compactionStrategy: "binpack" || "sort" || "z-order", * // retentionMetrics: { // RetentionMetrics * // IcebergMetrics: { // IcebergRetentionMetrics * // NumberOfDataFilesDeleted: Number("long"), * // NumberOfManifestFilesDeleted: Number("long"), * // NumberOfManifestListsDeleted: Number("long"), * // DpuHours: Number("double"), * // NumberOfDpus: Number("int"), * // JobDurationInHour: Number("double"), * // }, * // }, * // orphanFileDeletionMetrics: { // OrphanFileDeletionMetrics * // IcebergMetrics: { // IcebergOrphanFileDeletionMetrics * // NumberOfOrphanFilesDeleted: Number("long"), * // DpuHours: Number("double"), * // NumberOfDpus: Number("int"), * // JobDurationInHour: Number("double"), * // }, * // }, * // }, * // configurationSource: "catalog" || "table", * // }, * // }, * // ], * // Failures: [ // BatchGetTableOptimizerErrors * // { // BatchGetTableOptimizerError * // error: { // ErrorDetail * // ErrorCode: "STRING_VALUE", * // ErrorMessage: "STRING_VALUE", * // }, * // catalogId: "STRING_VALUE", * // databaseName: "STRING_VALUE", * // tableName: "STRING_VALUE", * // type: "compaction" || "retention" || "orphan_file_deletion", * // }, * // ], * // }; * * ``` * * @param BatchGetTableOptimizerCommandInput - {@link BatchGetTableOptimizerCommandInput} * @returns {@link BatchGetTableOptimizerCommandOutput} * @see {@link BatchGetTableOptimizerCommandInput} for command's `input` shape. * @see {@link BatchGetTableOptimizerCommandOutput} for command's `response` shape. * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Access to a resource was denied.

* * @throws {@link EntityNotFoundException} (client fault) *

A specified entity does not exist

* * @throws {@link InternalServiceException} (server fault) *

An internal service error occurred.

* * @throws {@link InvalidInputException} (client fault) *

The input provided was not valid.

* * @throws {@link ThrottlingException} (client fault) *

The throttling threshhold was exceeded.

* * @throws {@link GlueServiceException} *

Base exception class for all service exceptions from Glue service.

* * * @public */ export declare class BatchGetTableOptimizerCommand extends BatchGetTableOptimizerCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: BatchGetTableOptimizerRequest; output: BatchGetTableOptimizerResponse; }; sdk: { input: BatchGetTableOptimizerCommandInput; output: BatchGetTableOptimizerCommandOutput; }; }; }