Skip to content

Update Trigger

glue_update_trigger R Documentation

Updates a trigger definition

Description

Updates a trigger definition.

Usage

glue_update_trigger(Name, TriggerUpdate)

Arguments

Name

[required] The name of the trigger to update.

TriggerUpdate

[required] The new values with which to update the trigger.

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$update_trigger(
  Name = "string",
  TriggerUpdate = list(
    Name = "string",
    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
    )
  )
)