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

Updates an existing catalog's properties in the Glue Data Catalog.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, UpdateCatalogCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, UpdateCatalogCommand } = 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 = { // UpdateCatalogRequest * CatalogId: "STRING_VALUE", // required * CatalogInput: { // CatalogInput * Description: "STRING_VALUE", * FederatedCatalog: { // FederatedCatalog * Identifier: "STRING_VALUE", * ConnectionName: "STRING_VALUE", * ConnectionType: "STRING_VALUE", * }, * Parameters: { // ParametersMap * "": "STRING_VALUE", * }, * TargetRedshiftCatalog: { // TargetRedshiftCatalog * CatalogArn: "STRING_VALUE", // required * }, * CatalogProperties: { // CatalogProperties * DataLakeAccessProperties: { // DataLakeAccessProperties * DataLakeAccess: true || false, * DataTransferRole: "STRING_VALUE", * KmsKey: "STRING_VALUE", * CatalogType: "STRING_VALUE", * }, * IcebergOptimizationProperties: { // IcebergOptimizationProperties * RoleArn: "STRING_VALUE", * Compaction: { * "": "STRING_VALUE", * }, * Retention: { * "": "STRING_VALUE", * }, * OrphanFileDeletion: { * "": "STRING_VALUE", * }, * }, * CustomProperties: "", * }, * CreateTableDefaultPermissions: [ // PrincipalPermissionsList * { // PrincipalPermissions * Principal: { // DataLakePrincipal * DataLakePrincipalIdentifier: "STRING_VALUE", * }, * Permissions: [ // PermissionList * "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS", * ], * }, * ], * CreateDatabaseDefaultPermissions: [ * { * Principal: { * DataLakePrincipalIdentifier: "STRING_VALUE", * }, * Permissions: [ * "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS", * ], * }, * ], * AllowFullTableExternalDataAccess: "True" || "False", * OverwriteChildResourcePermissionsWithDefault: "Accept" || "Deny", * }, * }; * const command = new UpdateCatalogCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param UpdateCatalogCommandInput - {@link UpdateCatalogCommandInput} * @returns {@link UpdateCatalogCommandOutput} * @see {@link UpdateCatalogCommandInput} for command's `input` shape. * @see {@link UpdateCatalogCommandOutput} 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 ConcurrentModificationException} (client fault) *

Two processes are trying to modify a resource simultaneously.

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

A specified entity does not exist

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

A federation source failed.

* * @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 UpdateCatalogCommand extends UpdateCatalogCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateCatalogRequest; output: {}; }; sdk: { input: UpdateCatalogCommandInput; output: UpdateCatalogCommandOutput; }; }; }