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 { ListTableOptimizerRunsRequest, ListTableOptimizerRunsResponse } from "../models/models_2"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListTableOptimizerRunsCommand}. */ export interface ListTableOptimizerRunsCommandInput extends ListTableOptimizerRunsRequest { } /** * @public * * The output of {@link ListTableOptimizerRunsCommand}. */ export interface ListTableOptimizerRunsCommandOutput extends ListTableOptimizerRunsResponse, __MetadataBearer { } declare const ListTableOptimizerRunsCommand_base: { new (input: ListTableOptimizerRunsCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListTableOptimizerRunsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Lists the history of previous optimizer runs for a specific table.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, ListTableOptimizerRunsCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, ListTableOptimizerRunsCommand } = 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 = { // ListTableOptimizerRunsRequest * CatalogId: "STRING_VALUE", // required * DatabaseName: "STRING_VALUE", // required * TableName: "STRING_VALUE", // required * Type: "compaction" || "retention" || "orphan_file_deletion", // required * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new ListTableOptimizerRunsCommand(input); * const response = await client.send(command); * // { // ListTableOptimizerRunsResponse * // CatalogId: "STRING_VALUE", * // DatabaseName: "STRING_VALUE", * // TableName: "STRING_VALUE", * // NextToken: "STRING_VALUE", * // TableOptimizerRuns: [ // TableOptimizerRuns * // { // 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"), * // }, * // }, * // }, * // ], * // }; * * ``` * * @param ListTableOptimizerRunsCommandInput - {@link ListTableOptimizerRunsCommandInput} * @returns {@link ListTableOptimizerRunsCommandOutput} * @see {@link ListTableOptimizerRunsCommandInput} for command's `input` shape. * @see {@link ListTableOptimizerRunsCommandOutput} 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 ValidationException} (client fault) *

A value could not be validated.

* * @throws {@link GlueServiceException} *

Base exception class for all service exceptions from Glue service.

* * * @public */ export declare class ListTableOptimizerRunsCommand extends ListTableOptimizerRunsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListTableOptimizerRunsRequest; output: ListTableOptimizerRunsResponse; }; sdk: { input: ListTableOptimizerRunsCommandInput; output: ListTableOptimizerRunsCommandOutput; }; }; }