Skip to content

Get Triggers

glue_get_triggers R Documentation

Gets all the triggers associated with a job

Description

Gets all the triggers associated with a job.

Usage

glue_get_triggers(NextToken, DependentJobName, MaxResults)

Arguments

NextToken

A continuation token, if this is a continuation call.

DependentJobName

The name of the job to retrieve triggers for. The trigger that can start this job is returned, and if there is no such trigger, all triggers are returned.

MaxResults

The maximum size of the response.

Value

A list with the following syntax:

list(
  Triggers = list(
    list(
      Name = "string",
      WorkflowName = "string",
      Id = "string",
      Type = "SCHEDULED"|"CONDITIONAL"|"ON_DEMAND"|"EVENT",
      State = "CREATING"|"CREATED"|"ACTIVATING"|"ACTIVATED"|"DEACTIVATING"|"DEACTIVATED"|"DELETING"|"UPDATING",
      Description = "string",
      Schedule = "string",
      Actions = list(
        list(
          JobName = "string",
          Arguments = list(
            "string"
          ),
          Timeout = 123,
          SecurityConfiguration = "string",
          NotificationProperty = list(
            NotifyDelayAfter = 123
          ),
          CrawlerName = "string"
        )
      ),
      Predicate = list(
        Logical = "AND"|"ANY",
        Conditions = list(
          list(
            LogicalOperator = "EQUALS",
            JobName = "string",
            State = "STARTING"|"RUNNING"|"STOPPING"|"STOPPED"|"SUCCEEDED"|"FAILED"|"TIMEOUT"|"ERROR"|"WAITING"|"EXPIRED",
            CrawlerName = "string",
            CrawlState = "RUNNING"|"CANCELLING"|"CANCELLED"|"SUCCEEDED"|"FAILED"|"ERROR"
          )
        )
      ),
      EventBatchingCondition = list(
        BatchSize = 123,
        BatchWindow = 123
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$get_triggers(
  NextToken = "string",
  DependentJobName = "string",
  MaxResults = 123
)