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.

Job

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

type Job struct { AccountId *string `locationName:"accountId" type:"string"` Data *JobData `locationName:"data" type:"structure"` Id *string `locationName:"id" type:"string"` Nonce *string `locationName:"nonce" min:"1" type:"string"` }

Represents information about a job.

AccountId

Type: *string

The ID of the AWS account to use when performing the job.

Data

Represents additional information about a job required for a job worker to complete the job.

Id

Type: *string

The unique system-generated ID of the job.

Nonce

Type: *string

A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker. Use this number in an AcknowledgeJob request.

Method

GoString

func (s Job) GoString() string

GoString returns the string representation

SetAccountId

func (s *Job) SetAccountId(v string) *Job

SetAccountId sets the AccountId field's value.

SetData

func (s *Job) SetData(v *JobData) *Job

SetData sets the Data field's value.

SetId

func (s *Job) SetId(v string) *Job

SetId sets the Id field's value.

SetNonce

func (s *Job) SetNonce(v string) *Job

SetNonce sets the Nonce field's value.

String

func (s Job) String() string

String returns the string representation

On this page: