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

The name of the Catalog to retrieve. This should be all lowercase.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, GetCatalogCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, GetCatalogCommand } = 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 = { // GetCatalogRequest * CatalogId: "STRING_VALUE", // required * }; * const command = new GetCatalogCommand(input); * const response = await client.send(command); * // { // GetCatalogResponse * // Catalog: { // Catalog * // CatalogId: "STRING_VALUE", * // Name: "STRING_VALUE", // required * // ResourceArn: "STRING_VALUE", * // Description: "STRING_VALUE", * // Parameters: { // ParametersMap * // "": "STRING_VALUE", * // }, * // CreateTime: new Date("TIMESTAMP"), * // UpdateTime: new Date("TIMESTAMP"), * // TargetRedshiftCatalog: { // TargetRedshiftCatalog * // CatalogArn: "STRING_VALUE", // required * // }, * // FederatedCatalog: { // FederatedCatalog * // Identifier: "STRING_VALUE", * // ConnectionName: "STRING_VALUE", * // ConnectionType: "STRING_VALUE", * // }, * // CatalogProperties: { // CatalogPropertiesOutput * // DataLakeAccessProperties: { // DataLakeAccessPropertiesOutput * // DataLakeAccess: true || false, * // DataTransferRole: "STRING_VALUE", * // KmsKey: "STRING_VALUE", * // ManagedWorkgroupName: "STRING_VALUE", * // ManagedWorkgroupStatus: "STRING_VALUE", * // RedshiftDatabaseName: "STRING_VALUE", * // StatusMessage: "STRING_VALUE", * // CatalogType: "STRING_VALUE", * // }, * // IcebergOptimizationProperties: { // IcebergOptimizationPropertiesOutput * // RoleArn: "STRING_VALUE", * // Compaction: { * // "": "STRING_VALUE", * // }, * // Retention: { * // "": "STRING_VALUE", * // }, * // OrphanFileDeletion: { * // "": "STRING_VALUE", * // }, * // LastUpdatedTime: new Date("TIMESTAMP"), * // }, * // 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", * // }, * // }; * * ``` * * @param GetCatalogCommandInput - {@link GetCatalogCommandInput} * @returns {@link GetCatalogCommandOutput} * @see {@link GetCatalogCommandInput} for command's `input` shape. * @see {@link GetCatalogCommandOutput} 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 FederationSourceException} (client fault) *

A federation source failed.

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

A federation source failed, but the operation may be retried.

* * @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 GetCatalogCommand extends GetCatalogCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetCatalogRequest; output: GetCatalogResponse; }; sdk: { input: GetCatalogCommandInput; output: GetCatalogCommandOutput; }; }; }