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