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.

Action

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

type Action struct { Arguments map[string]*string `type:"map"` JobName *string `min:"1" type:"string"` NotificationProperty *NotificationProperty `type:"structure"` SecurityConfiguration *string `min:"1" type:"string"` Timeout *int64 `min:"1" type:"integer"` }

Defines an action to be initiated by a trigger.

Arguments

Type: map[string]*string

The job arguments used when this trigger fires. For this job run, they replace the default arguments set in the job definition itself.

You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.

For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html) topic in the developer guide.

For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html) topic in the developer guide.

JobName

Type: *string

The name of a job to be executed.

NotificationProperty

Specifies configuration properties of a notification.

SecurityConfiguration

Type: *string

The name of the SecurityConfiguration structure to be used with this action.

Timeout

Type: *int64

The JobRun timeout in minutes. This is the maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours). This overrides the timeout value set in the parent job.

Method

GoString

func (s Action) GoString() string

GoString returns the string representation

SetArguments

func (s *Action) SetArguments(v map[string]*string) *Action

SetArguments sets the Arguments field's value.

SetJobName

func (s *Action) SetJobName(v string) *Action

SetJobName sets the JobName field's value.

SetNotificationProperty

func (s *Action) SetNotificationProperty(v *NotificationProperty) *Action

SetNotificationProperty sets the NotificationProperty field's value.

SetSecurityConfiguration

func (s *Action) SetSecurityConfiguration(v string) *Action

SetSecurityConfiguration sets the SecurityConfiguration field's value.

SetTimeout

func (s *Action) SetTimeout(v int64) *Action

SetTimeout sets the Timeout field's value.

String

func (s Action) String() string

String returns the string representation

Validate

func (s *Action) Validate() error

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

On this page: