1// Code generated by smithy-go-codegen DO NOT EDIT. 2 3package types 4 5import ( 6 smithydocument "github.com/aws/smithy-go/document" 7) 8 9// Contains data about a job execution. 10type JobExecution struct { 11 12 // The estimated number of seconds that remain before the job execution status will 13 // be changed to TIMED_OUT. 14 ApproximateSecondsBeforeTimedOut *int64 15 16 // A number that identifies a particular job execution on a particular device. It 17 // can be used later in commands that return or update job execution information. 18 ExecutionNumber *int64 19 20 // The content of the job document. 21 JobDocument *string 22 23 // The unique identifier you assigned to this job when it was created. 24 JobId *string 25 26 // The time, in milliseconds since the epoch, when the job execution was last 27 // updated. 28 LastUpdatedAt int64 29 30 // The time, in milliseconds since the epoch, when the job execution was enqueued. 31 QueuedAt int64 32 33 // The time, in milliseconds since the epoch, when the job execution was started. 34 StartedAt *int64 35 36 // The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", 37 // "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED". 38 Status JobExecutionStatus 39 40 // A collection of name/value pairs that describe the status of the job execution. 41 StatusDetails map[string]string 42 43 // The name of the thing that is executing the job. 44 ThingName *string 45 46 // The version of the job execution. Job execution versions are incremented each 47 // time they are updated by a device. 48 VersionNumber int64 49 50 noSmithyDocumentSerde 51} 52 53// Contains data about the state of a job execution. 54type JobExecutionState struct { 55 56 // The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", 57 // "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED". 58 Status JobExecutionStatus 59 60 // A collection of name/value pairs that describe the status of the job execution. 61 StatusDetails map[string]string 62 63 // The version of the job execution. Job execution versions are incremented each 64 // time they are updated by a device. 65 VersionNumber int64 66 67 noSmithyDocumentSerde 68} 69 70// Contains a subset of information about a job execution. 71type JobExecutionSummary struct { 72 73 // A number that identifies a particular job execution on a particular device. 74 ExecutionNumber *int64 75 76 // The unique identifier you assigned to this job when it was created. 77 JobId *string 78 79 // The time, in milliseconds since the epoch, when the job execution was last 80 // updated. 81 LastUpdatedAt int64 82 83 // The time, in milliseconds since the epoch, when the job execution was enqueued. 84 QueuedAt int64 85 86 // The time, in milliseconds since the epoch, when the job execution started. 87 StartedAt *int64 88 89 // The version of the job execution. Job execution versions are incremented each 90 // time AWS IoT Jobs receives an update from a device. 91 VersionNumber int64 92 93 noSmithyDocumentSerde 94} 95 96type noSmithyDocumentSerde = smithydocument.NoSerde 97