Skip to content

Get Trigger

glue_get_trigger R Documentation

Retrieves the definition of a trigger

Description

Retrieves the definition of a trigger.

Usage

glue_get_trigger(Name)

Arguments

Name

[required] The name of the trigger to retrieve.

Value

A list with the following syntax:

list(
  Trigger = 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
    )
  )
)

Request syntax

svc$get_trigger(
  Name = "string"
)