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.

StartJobRunInput

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

type StartJobRunInput struct { AllocatedCapacity *int64 `deprecated:"true" type:"integer"` Arguments map[string]*string `type:"map"` JobName *string `min:"1" type:"string" required:"true"` JobRunId *string `min:"1" type:"string"` MaxCapacity *float64 `type:"double"` NotificationProperty *NotificationProperty `type:"structure"` SecurityConfiguration *string `min:"1" type:"string"` Timeout *int64 `min:"1" type:"integer"` }

AllocatedCapacity

Type: *int64

This field is deprecated, use MaxCapacity instead.

The number of AWS Glue data processing units (DPUs) to allocate to this JobRun. From 2 to 100 DPUs can be allocated; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the AWS Glue pricing page (https://aws.amazon.com/glue/pricing/).

Deprecated: This property is deprecated, use MaxCapacity instead.

Arguments

Type: map[string]*string

The job arguments specifically for this run. They override the equivalent default arguments set for 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 the job definition to use.

JobName is a required field

JobRunId

Type: *string

The ID of a previous JobRun to retry.

MaxCapacity

Type: *float64

AWS Glue supports running jobs on a JobCommand.Name="pythonshell" with allocated processing as low as 0.0625 DPU, which can be specified using MaxCapacity. Glue ETL jobs running in any other way cannot have fractional DPU allocations.

NotificationProperty

Specifies configuration properties of a notification.

SecurityConfiguration

Type: *string

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

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 StartJobRunInput) GoString() string

GoString returns the string representation

SetAllocatedCapacity

func (s *StartJobRunInput) SetAllocatedCapacity(v int64) *StartJobRunInput

SetAllocatedCapacity sets the AllocatedCapacity field's value.

SetArguments

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

SetArguments sets the Arguments field's value.

SetJobName

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

SetJobName sets the JobName field's value.

SetJobRunId

func (s *StartJobRunInput) SetJobRunId(v string) *StartJobRunInput

SetJobRunId sets the JobRunId field's value.

SetMaxCapacity

func (s *StartJobRunInput) SetMaxCapacity(v float64) *StartJobRunInput

SetMaxCapacity sets the MaxCapacity field's value.

SetNotificationProperty

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

SetNotificationProperty sets the NotificationProperty field's value.

SetSecurityConfiguration

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

SetSecurityConfiguration sets the SecurityConfiguration field's value.

SetTimeout

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

SetTimeout sets the Timeout field's value.

String

func (s StartJobRunInput) String() string

String returns the string representation

Validate

func (s *StartJobRunInput) Validate() error

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

On this page: