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

Gets all the triggers associated with a job.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, GetTriggersCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, GetTriggersCommand } = 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 = { // GetTriggersRequest * NextToken: "STRING_VALUE", * DependentJobName: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new GetTriggersCommand(input); * const response = await client.send(command); * // { // GetTriggersResponse * // Triggers: [ // TriggerList * // { // 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"), * // }, * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param GetTriggersCommandInput - {@link GetTriggersCommandInput} * @returns {@link GetTriggersCommandOutput} * @see {@link GetTriggersCommandInput} for command's `input` shape. * @see {@link GetTriggersCommandOutput} 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 GetTriggersCommand extends GetTriggersCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetTriggersRequest; output: GetTriggersResponse; }; sdk: { input: GetTriggersCommandInput; output: GetTriggersCommandOutput; }; }; }