- Navigation GuideYou are on a Command (operation) page with structural examples. Use the navigation breadcrumb if you would like to return to the Client landing page.
StartTriggerCommand
Starts an existing trigger. See Triggering Jobs for information about how different types of trigger are started.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { GlueClient, StartTriggerCommand } from "@aws-sdk/client-glue"; // ES Modules import
// const { GlueClient, StartTriggerCommand } = require("@aws-sdk/client-glue"); // CommonJS import
const client = new GlueClient(config);
const input = { // StartTriggerRequest
Name: "STRING_VALUE", // required
};
const command = new StartTriggerCommand(input);
const response = await client.send(command);
// { // StartTriggerResponse
// Name: "STRING_VALUE",
// };
StartTriggerCommand Input
See StartTriggerCommandInput for more details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
Name Required | string | undefined | The name of the trigger to start. |
StartTriggerCommand Output
See StartTriggerCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
Name | string | undefined | The name of the trigger that was started. |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
ConcurrentRunsExceededException | client | Too many jobs are being run concurrently. |
EntityNotFoundException | client | A specified entity does not exist |
InternalServiceException | server | An internal service error occurred. |
InvalidInputException | client | The input provided was not valid. |
OperationTimeoutException | client | The operation timed out. |
ResourceNumberLimitExceededException | client | A resource numerical limit was exceeded. |
GlueServiceException | Base exception class for all service exceptions from Glue service. |