AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

TriggerUpdate

import "github.com/aws/aws-sdk-go/service/glue"

type TriggerUpdate struct { Actions []*Action `type:"list"` Description *string `type:"string"` Name *string `min:"1" type:"string"` Predicate *Predicate `type:"structure"` Schedule *string `type:"string"` }

A structure used to provide information used to update a trigger. This object will update the the previous trigger definition by overwriting it completely.

Actions

Defines an action to be initiated by a trigger.

Description

Type: *string

A description of this trigger.

Name

Type: *string

Reserved for future use.

Predicate

Defines the predicate of the trigger, which determines when it fires.

Schedule

Type: *string

A cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html). For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *).

Method

GoString

func (s TriggerUpdate) GoString() string

GoString returns the string representation

SetActions

func (s *TriggerUpdate) SetActions(v []*Action) *TriggerUpdate

SetActions sets the Actions field's value.

SetDescription

func (s *TriggerUpdate) SetDescription(v string) *TriggerUpdate

SetDescription sets the Description field's value.

SetName

func (s *TriggerUpdate) SetName(v string) *TriggerUpdate

SetName sets the Name field's value.

SetPredicate

func (s *TriggerUpdate) SetPredicate(v *Predicate) *TriggerUpdate

SetPredicate sets the Predicate field's value.

SetSchedule

func (s *TriggerUpdate) SetSchedule(v string) *TriggerUpdate

SetSchedule sets the Schedule field's value.

String

func (s TriggerUpdate) String() string

String returns the string representation

Validate

func (s *TriggerUpdate) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: