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 { BatchUpdatePartitionRequest, BatchUpdatePartitionResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link BatchUpdatePartitionCommand}. */ export interface BatchUpdatePartitionCommandInput extends BatchUpdatePartitionRequest { } /** * @public * * The output of {@link BatchUpdatePartitionCommand}. */ export interface BatchUpdatePartitionCommandOutput extends BatchUpdatePartitionResponse, __MetadataBearer { } declare const BatchUpdatePartitionCommand_base: { new (input: BatchUpdatePartitionCommandInput): import("@smithy/core/client").CommandImpl; new (input: BatchUpdatePartitionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Updates one or more partitions in a batch operation.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, BatchUpdatePartitionCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, BatchUpdatePartitionCommand } = 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 = { // BatchUpdatePartitionRequest * CatalogId: "STRING_VALUE", * DatabaseName: "STRING_VALUE", // required * TableName: "STRING_VALUE", // required * Entries: [ // BatchUpdatePartitionRequestEntryList // required * { // BatchUpdatePartitionRequestEntry * PartitionValueList: [ // BoundedPartitionValueList // required * "STRING_VALUE", * ], * PartitionInput: { // PartitionInput * Values: [ // ValueStringList * "STRING_VALUE", * ], * LastAccessTime: new Date("TIMESTAMP"), * StorageDescriptor: { // StorageDescriptor * Columns: [ // ColumnList * { // Column * Name: "STRING_VALUE", // required * Type: "STRING_VALUE", * Comment: "STRING_VALUE", * Parameters: { // ParametersMap * "": "STRING_VALUE", * }, * }, * ], * Location: "STRING_VALUE", * AdditionalLocations: [ // LocationStringList * "STRING_VALUE", * ], * InputFormat: "STRING_VALUE", * OutputFormat: "STRING_VALUE", * Compressed: true || false, * NumberOfBuckets: Number("int"), * SerdeInfo: { // SerDeInfo * Name: "STRING_VALUE", * SerializationLibrary: "STRING_VALUE", * Parameters: { * "": "STRING_VALUE", * }, * }, * BucketColumns: [ // NameStringList * "STRING_VALUE", * ], * SortColumns: [ // OrderList * { // Order * Column: "STRING_VALUE", // required * SortOrder: Number("int"), // required * }, * ], * Parameters: "", * SkewedInfo: { // SkewedInfo * SkewedColumnNames: [ * "STRING_VALUE", * ], * SkewedColumnValues: [ // ColumnValueStringList * "STRING_VALUE", * ], * SkewedColumnValueLocationMaps: { // LocationMap * "": "STRING_VALUE", * }, * }, * StoredAsSubDirectories: true || false, * SchemaReference: { // SchemaReference * SchemaId: { // SchemaId * SchemaArn: "STRING_VALUE", * SchemaName: "STRING_VALUE", * RegistryName: "STRING_VALUE", * }, * SchemaVersionId: "STRING_VALUE", * SchemaVersionNumber: Number("long"), * }, * }, * Parameters: "", * LastAnalyzedTime: new Date("TIMESTAMP"), * }, * }, * ], * }; * const command = new BatchUpdatePartitionCommand(input); * const response = await client.send(command); * // { // BatchUpdatePartitionResponse * // Errors: [ // BatchUpdatePartitionFailureList * // { // BatchUpdatePartitionFailureEntry * // PartitionValueList: [ // BoundedPartitionValueList * // "STRING_VALUE", * // ], * // ErrorDetail: { // ErrorDetail * // ErrorCode: "STRING_VALUE", * // ErrorMessage: "STRING_VALUE", * // }, * // }, * // ], * // }; * * ``` * * @param BatchUpdatePartitionCommandInput - {@link BatchUpdatePartitionCommandInput} * @returns {@link BatchUpdatePartitionCommandOutput} * @see {@link BatchUpdatePartitionCommandInput} for command's `input` shape. * @see {@link BatchUpdatePartitionCommandOutput} for command's `response` shape. * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape. * * @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 BatchUpdatePartitionCommand extends BatchUpdatePartitionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: BatchUpdatePartitionRequest; output: BatchUpdatePartitionResponse; }; sdk: { input: BatchUpdatePartitionCommandInput; output: BatchUpdatePartitionCommandOutput; }; }; }