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.

JobExecutionState

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

type JobExecutionState struct { Status *string `locationName:"status" type:"string" enum:"JobExecutionStatus"` StatusDetails map[string]*string `locationName:"statusDetails" type:"map"` VersionNumber *int64 `locationName:"versionNumber" type:"long"` }

Contains data about the state of a job execution.

Status

Type: *string

The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".

StatusDetails

Type: map[string]*string

A collection of name/value pairs that describe the status of the job execution.

VersionNumber

Type: *int64

The version of the job execution. Job execution versions are incremented each time they are updated by a device.

Method

GoString

func (s JobExecutionState) GoString() string

GoString returns the string representation

SetStatus

func (s *JobExecutionState) SetStatus(v string) *JobExecutionState

SetStatus sets the Status field's value.

SetStatusDetails

func (s *JobExecutionState) SetStatusDetails(v map[string]*string) *JobExecutionState

SetStatusDetails sets the StatusDetails field's value.

SetVersionNumber

func (s *JobExecutionState) SetVersionNumber(v int64) *JobExecutionState

SetVersionNumber sets the VersionNumber field's value.

String

func (s JobExecutionState) String() string

String returns the string representation

On this page: