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.

UpdateJobInput

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

type UpdateJobInput struct { AbortConfig *AbortConfig `locationName:"abortConfig" type:"structure"` Description *string `locationName:"description" type:"string"` JobExecutionsRolloutConfig *JobExecutionsRolloutConfig `locationName:"jobExecutionsRolloutConfig" type:"structure"` JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"` PresignedUrlConfig *PresignedUrlConfig `locationName:"presignedUrlConfig" type:"structure"` TimeoutConfig *TimeoutConfig `locationName:"timeoutConfig" type:"structure"` }

AbortConfig

Details of abort criteria to abort the job.

Description

Type: *string

A short text description of the job.

JobExecutionsRolloutConfig

Allows you to create a staged rollout of a job.

JobId

Type: *string

The ID of the job to be updated.

JobId is a required field

PresignedUrlConfig

Configuration for pre-signed S3 URLs.

TimeoutConfig

Specifies the amount of time each device has to finish its execution of the job. A timer is started when the job execution status is set to IN_PROGRESS. If the job execution status is not set to another terminal state before the timer expires, it will be automatically set to TIMED_OUT.

Method

GoString

func (s UpdateJobInput) GoString() string

GoString returns the string representation

SetAbortConfig

func (s *UpdateJobInput) SetAbortConfig(v *AbortConfig) *UpdateJobInput

SetAbortConfig sets the AbortConfig field's value.

SetDescription

func (s *UpdateJobInput) SetDescription(v string) *UpdateJobInput

SetDescription sets the Description field's value.

SetJobExecutionsRolloutConfig

func (s *UpdateJobInput) SetJobExecutionsRolloutConfig(v *JobExecutionsRolloutConfig) *UpdateJobInput

SetJobExecutionsRolloutConfig sets the JobExecutionsRolloutConfig field's value.

SetJobId

func (s *UpdateJobInput) SetJobId(v string) *UpdateJobInput

SetJobId sets the JobId field's value.

SetPresignedUrlConfig

func (s *UpdateJobInput) SetPresignedUrlConfig(v *PresignedUrlConfig) *UpdateJobInput

SetPresignedUrlConfig sets the PresignedUrlConfig field's value.

SetTimeoutConfig

func (s *UpdateJobInput) SetTimeoutConfig(v *TimeoutConfig) *UpdateJobInput

SetTimeoutConfig sets the TimeoutConfig field's value.

String

func (s UpdateJobInput) String() string

String returns the string representation

Validate

func (s *UpdateJobInput) Validate() error

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

On this page: