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.

StartNextPendingJobExecutionInput

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

type StartNextPendingJobExecutionInput struct { StatusDetails map[string]*string `locationName:"statusDetails" type:"map"` StepTimeoutInMinutes *int64 `locationName:"stepTimeoutInMinutes" type:"long"` ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` }

StatusDetails

Type: map[string]*string

A collection of name/value pairs that describe the status of the job execution. If not specified, the statusDetails are unchanged.

StepTimeoutInMinutes

Type: *int64

Specifies the amount of time this device has to finish execution of this job. If the job execution status is not set to a terminal state before this timer expires, or before the timer is reset (by calling UpdateJobExecution, setting the status to IN_PROGRESS and specifying a new timeout value in field stepTimeoutInMinutes) the job execution status will be automatically set to TIMED_OUT. Note that setting this timeout has no effect on that job execution timeout which may have been specified when the job was created (CreateJob using field timeoutConfig).

ThingName

Type: *string

The name of the thing associated with the device.

ThingName is a required field

Method

GoString

func (s StartNextPendingJobExecutionInput) GoString() string

GoString returns the string representation

SetStatusDetails

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

SetStatusDetails sets the StatusDetails field's value.

SetStepTimeoutInMinutes

func (s *StartNextPendingJobExecutionInput) SetStepTimeoutInMinutes(v int64) *StartNextPendingJobExecutionInput

SetStepTimeoutInMinutes sets the StepTimeoutInMinutes field's value.

SetThingName

func (s *StartNextPendingJobExecutionInput) SetThingName(v string) *StartNextPendingJobExecutionInput

SetThingName sets the ThingName field's value.

String

func (s StartNextPendingJobExecutionInput) String() string

String returns the string representation

Validate

func (s *StartNextPendingJobExecutionInput) Validate() error

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

On this page: