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.

JobSummary

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

type JobSummary struct { CompletedAt *time.Time `locationName:"completedAt" type:"timestamp"` CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` JobArn *string `locationName:"jobArn" type:"string"` JobId *string `locationName:"jobId" min:"1" type:"string"` LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"` Status *string `locationName:"status" type:"string" enum:"JobStatus"` TargetSelection *string `locationName:"targetSelection" type:"string" enum:"TargetSelection"` ThingGroupId *string `locationName:"thingGroupId" min:"1" type:"string"` }

The job summary.

CompletedAt

Type: *time.Time

The time, in seconds since the epoch, when the job completed.

CreatedAt

Type: *time.Time

The time, in seconds since the epoch, when the job was created.

JobArn

Type: *string

The job ARN.

JobId

Type: *string

The unique identifier you assigned to this job when it was created.

LastUpdatedAt

Type: *time.Time

The time, in seconds since the epoch, when the job was last updated.

Status

Type: *string

The job summary status.

TargetSelection

Type: *string

Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group.

ThingGroupId

Type: *string

The ID of the thing group.

Method

GoString

func (s JobSummary) GoString() string

GoString returns the string representation

SetCompletedAt

func (s *JobSummary) SetCompletedAt(v time.Time) *JobSummary

SetCompletedAt sets the CompletedAt field's value.

SetCreatedAt

func (s *JobSummary) SetCreatedAt(v time.Time) *JobSummary

SetCreatedAt sets the CreatedAt field's value.

SetJobArn

func (s *JobSummary) SetJobArn(v string) *JobSummary

SetJobArn sets the JobArn field's value.

SetJobId

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

SetJobId sets the JobId field's value.

SetLastUpdatedAt

func (s *JobSummary) SetLastUpdatedAt(v time.Time) *JobSummary

SetLastUpdatedAt sets the LastUpdatedAt field's value.

SetStatus

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

SetStatus sets the Status field's value.

SetTargetSelection

func (s *JobSummary) SetTargetSelection(v string) *JobSummary

SetTargetSelection sets the TargetSelection field's value.

SetThingGroupId

func (s *JobSummary) SetThingGroupId(v string) *JobSummary

SetThingGroupId sets the ThingGroupId field's value.

String

func (s JobSummary) String() string

String returns the string representation

On this page: