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

Retrieves multiple function definitions from the Data Catalog.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, GetUserDefinedFunctionsCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, GetUserDefinedFunctionsCommand } = 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 = { // GetUserDefinedFunctionsRequest * CatalogId: "STRING_VALUE", * DatabaseName: "STRING_VALUE", * Pattern: "STRING_VALUE", // required * FunctionType: "REGULAR_FUNCTION" || "AGGREGATE_FUNCTION" || "STORED_PROCEDURE", * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new GetUserDefinedFunctionsCommand(input); * const response = await client.send(command); * // { // GetUserDefinedFunctionsResponse * // UserDefinedFunctions: [ // UserDefinedFunctionList * // { // UserDefinedFunction * // FunctionName: "STRING_VALUE", * // DatabaseName: "STRING_VALUE", * // ClassName: "STRING_VALUE", * // OwnerName: "STRING_VALUE", * // FunctionType: "REGULAR_FUNCTION" || "AGGREGATE_FUNCTION" || "STORED_PROCEDURE", * // OwnerType: "USER" || "ROLE" || "GROUP", * // CreateTime: new Date("TIMESTAMP"), * // ResourceUris: [ // ResourceUriList * // { // ResourceUri * // ResourceType: "JAR" || "FILE" || "ARCHIVE", * // Uri: "STRING_VALUE", * // }, * // ], * // CatalogId: "STRING_VALUE", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param GetUserDefinedFunctionsCommandInput - {@link GetUserDefinedFunctionsCommandInput} * @returns {@link GetUserDefinedFunctionsCommandOutput} * @see {@link GetUserDefinedFunctionsCommandInput} for command's `input` shape. * @see {@link GetUserDefinedFunctionsCommandOutput} 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 GetUserDefinedFunctionsCommand extends GetUserDefinedFunctionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetUserDefinedFunctionsRequest; output: GetUserDefinedFunctionsResponse; }; sdk: { input: GetUserDefinedFunctionsCommandInput; output: GetUserDefinedFunctionsCommandOutput; }; }; }