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 { DeletePartitionIndexRequest, DeletePartitionIndexResponse } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeletePartitionIndexCommand}. */ export interface DeletePartitionIndexCommandInput extends DeletePartitionIndexRequest { } /** * @public * * The output of {@link DeletePartitionIndexCommand}. */ export interface DeletePartitionIndexCommandOutput extends DeletePartitionIndexResponse, __MetadataBearer { } declare const DeletePartitionIndexCommand_base: { new (input: DeletePartitionIndexCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeletePartitionIndexCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Deletes a specified partition index from an existing table.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, DeletePartitionIndexCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, DeletePartitionIndexCommand } = 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 = { // DeletePartitionIndexRequest * CatalogId: "STRING_VALUE", * DatabaseName: "STRING_VALUE", // required * TableName: "STRING_VALUE", // required * IndexName: "STRING_VALUE", // required * }; * const command = new DeletePartitionIndexCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeletePartitionIndexCommandInput - {@link DeletePartitionIndexCommandInput} * @returns {@link DeletePartitionIndexCommandOutput} * @see {@link DeletePartitionIndexCommandInput} for command's `input` shape. * @see {@link DeletePartitionIndexCommandOutput} for command's `response` shape. * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape. * * @throws {@link ConflictException} (client fault) *

The CreatePartitions API was called on a table that has indexes enabled.

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

A specified entity does not exist

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

An encryption operation failed.

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

An internal service error occurred.

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

The input provided was not valid.

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

The operation timed out.

* * @throws {@link GlueServiceException} *

Base exception class for all service exceptions from Glue service.

* * * @public */ export declare class DeletePartitionIndexCommand extends DeletePartitionIndexCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeletePartitionIndexRequest; output: {}; }; sdk: { input: DeletePartitionIndexCommandInput; output: DeletePartitionIndexCommandOutput; }; }; }