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

Retrieves the definition of a trigger.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, GetTriggerCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, GetTriggerCommand } = 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 = { // GetTriggerRequest * Name: "STRING_VALUE", // required * }; * const command = new GetTriggerCommand(input); * const response = await client.send(command); * // { // GetTriggerResponse * // Trigger: { // Trigger * // Name: "STRING_VALUE", * // WorkflowName: "STRING_VALUE", * // Id: "STRING_VALUE", * // Type: "SCHEDULED" || "CONDITIONAL" || "ON_DEMAND" || "EVENT", * // State: "CREATING" || "CREATED" || "ACTIVATING" || "ACTIVATED" || "DEACTIVATING" || "DEACTIVATED" || "DELETING" || "UPDATING", * // Description: "STRING_VALUE", * // Schedule: "STRING_VALUE", * // Actions: [ // ActionList * // { // Action * // JobName: "STRING_VALUE", * // Arguments: { // GenericMap * // "": "STRING_VALUE", * // }, * // Timeout: Number("int"), * // SecurityConfiguration: "STRING_VALUE", * // NotificationProperty: { // NotificationProperty * // NotifyDelayAfter: Number("int"), * // }, * // CrawlerName: "STRING_VALUE", * // }, * // ], * // Predicate: { // Predicate * // Logical: "AND" || "ANY", * // Conditions: [ // ConditionList * // { // Condition * // LogicalOperator: "EQUALS", * // JobName: "STRING_VALUE", * // State: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING" || "EXPIRED", * // CrawlerName: "STRING_VALUE", * // CrawlState: "RUNNING" || "CANCELLING" || "CANCELLED" || "SUCCEEDED" || "FAILED" || "ERROR", * // }, * // ], * // }, * // EventBatchingCondition: { // EventBatchingCondition * // BatchSize: Number("int"), // required * // BatchWindow: Number("int"), * // }, * // }, * // }; * * ``` * * @param GetTriggerCommandInput - {@link GetTriggerCommandInput} * @returns {@link GetTriggerCommandOutput} * @see {@link GetTriggerCommandInput} for command's `input` shape. * @see {@link GetTriggerCommandOutput} 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 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 GetTriggerCommand extends GetTriggerCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetTriggerRequest; output: GetTriggerResponse; }; sdk: { input: GetTriggerCommandInput; output: GetTriggerCommandOutput; }; }; }