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.

JobCommand

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

type JobCommand struct { Name *string `type:"string"` ScriptLocation *string `type:"string"` }

Specifies code executed when a job is run.

Name

Type: *string

The name of the job command: this must be glueetl, for an Apache Spark ETL job, or pythonshell, for a Python shell job.

ScriptLocation

Type: *string

Specifies the S3 path to a script that executes a job (required).

Method

GoString

func (s JobCommand) GoString() string

GoString returns the string representation

SetName

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

SetName sets the Name field's value.

SetScriptLocation

func (s *JobCommand) SetScriptLocation(v string) *JobCommand

SetScriptLocation sets the ScriptLocation field's value.

String

func (s JobCommand) String() string

String returns the string representation

On this page: