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

Retrieves the partition indexes associated with a table.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, GetPartitionIndexesCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, GetPartitionIndexesCommand } = 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 = { // GetPartitionIndexesRequest * CatalogId: "STRING_VALUE", * DatabaseName: "STRING_VALUE", // required * TableName: "STRING_VALUE", // required * NextToken: "STRING_VALUE", * }; * const command = new GetPartitionIndexesCommand(input); * const response = await client.send(command); * // { // GetPartitionIndexesResponse * // PartitionIndexDescriptorList: [ // PartitionIndexDescriptorList * // { // PartitionIndexDescriptor * // IndexName: "STRING_VALUE", // required * // Keys: [ // KeySchemaElementList // required * // { // KeySchemaElement * // Name: "STRING_VALUE", // required * // Type: "STRING_VALUE", // required * // }, * // ], * // IndexStatus: "CREATING" || "ACTIVE" || "DELETING" || "FAILED", // required * // BackfillErrors: [ // BackfillErrors * // { // BackfillError * // Code: "ENCRYPTED_PARTITION_ERROR" || "INTERNAL_ERROR" || "INVALID_PARTITION_TYPE_DATA_ERROR" || "MISSING_PARTITION_VALUE_ERROR" || "UNSUPPORTED_PARTITION_CHARACTER_ERROR", * // Partitions: [ // BackfillErroredPartitionsList * // { // PartitionValueList * // Values: [ // ValueStringList // required * // "STRING_VALUE", * // ], * // }, * // ], * // }, * // ], * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param GetPartitionIndexesCommandInput - {@link GetPartitionIndexesCommandInput} * @returns {@link GetPartitionIndexesCommandOutput} * @see {@link GetPartitionIndexesCommandInput} for command's `input` shape. * @see {@link GetPartitionIndexesCommandOutput} 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 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 GetPartitionIndexesCommand extends GetPartitionIndexesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetPartitionIndexesRequest; output: GetPartitionIndexesResponse; }; sdk: { input: GetPartitionIndexesCommandInput; output: GetPartitionIndexesCommandOutput; }; }; }