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.

ListJobsInput

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

type ListJobsInput struct { MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` Status *string `location:"querystring" locationName:"status" type:"string" enum:"JobStatus"` TargetSelection *string `location:"querystring" locationName:"targetSelection" type:"string" enum:"TargetSelection"` ThingGroupId *string `location:"querystring" locationName:"thingGroupId" min:"1" type:"string"` ThingGroupName *string `location:"querystring" locationName:"thingGroupName" min:"1" type:"string"` }

MaxResults

Type: *int64

The maximum number of results to return per request.

NextToken

Type: *string

The token to retrieve the next set of results.

Status

Type: *string

An optional filter that lets you search for jobs that have the specified 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

A filter that limits the returned jobs to those for the specified group.

ThingGroupName

Type: *string

A filter that limits the returned jobs to those for the specified group.

Method

GoString

func (s ListJobsInput) GoString() string

GoString returns the string representation

SetMaxResults

func (s *ListJobsInput) SetMaxResults(v int64) *ListJobsInput

SetMaxResults sets the MaxResults field's value.

SetNextToken

func (s *ListJobsInput) SetNextToken(v string) *ListJobsInput

SetNextToken sets the NextToken field's value.

SetStatus

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

SetStatus sets the Status field's value.

SetTargetSelection

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

SetTargetSelection sets the TargetSelection field's value.

SetThingGroupId

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

SetThingGroupId sets the ThingGroupId field's value.

SetThingGroupName

func (s *ListJobsInput) SetThingGroupName(v string) *ListJobsInput

SetThingGroupName sets the ThingGroupName field's value.

String

func (s ListJobsInput) String() string

String returns the string representation

Validate

func (s *ListJobsInput) Validate() error

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

On this page: