@aws-sdk/client-iot-jobs-data-plane 3.379.1 → 3.382.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,18 +17,22 @@ export declare class CertificateValidationException extends __BaseException {
17
17
  */
18
18
  export interface DescribeJobExecutionRequest {
19
19
  /**
20
+ * @public
20
21
  * <p>The unique identifier assigned to this job when it was created.</p>
21
22
  */
22
23
  jobId: string | undefined;
23
24
  /**
25
+ * @public
24
26
  * <p>The thing name associated with the device the job execution is running on.</p>
25
27
  */
26
28
  thingName: string | undefined;
27
29
  /**
30
+ * @public
28
31
  * <p>Optional. When set to true, the response contains the job document. The default is false.</p>
29
32
  */
30
33
  includeJobDocument?: boolean;
31
34
  /**
35
+ * @public
32
36
  * <p>Optional. A number that identifies a particular job execution on a particular device. If not specified,
33
37
  * the latest job execution is returned.</p>
34
38
  */
@@ -58,50 +62,61 @@ export type JobExecutionStatus = (typeof JobExecutionStatus)[keyof typeof JobExe
58
62
  */
59
63
  export interface JobExecution {
60
64
  /**
65
+ * @public
61
66
  * <p>The unique identifier you assigned to this job when it was created.</p>
62
67
  */
63
68
  jobId?: string;
64
69
  /**
70
+ * @public
65
71
  * <p>The name of the thing that is executing the job.</p>
66
72
  */
67
73
  thingName?: string;
68
74
  /**
75
+ * @public
69
76
  * <p>The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED",
70
77
  * "REJECTED", or "REMOVED".</p>
71
78
  */
72
79
  status?: JobExecutionStatus | string;
73
80
  /**
81
+ * @public
74
82
  * <p>A collection of name/value pairs that describe the status of the job execution.</p>
75
83
  */
76
84
  statusDetails?: Record<string, string>;
77
85
  /**
86
+ * @public
78
87
  * <p>The time, in milliseconds since the epoch, when the job execution was enqueued.</p>
79
88
  */
80
89
  queuedAt?: number;
81
90
  /**
91
+ * @public
82
92
  * <p>The time, in milliseconds since the epoch, when the job execution was started.</p>
83
93
  */
84
94
  startedAt?: number;
85
95
  /**
96
+ * @public
86
97
  * <p>The time, in milliseconds since the epoch, when the job execution was last updated. </p>
87
98
  */
88
99
  lastUpdatedAt?: number;
89
100
  /**
101
+ * @public
90
102
  * <p>The estimated number of seconds that remain before the job execution status will be
91
103
  * changed to <code>TIMED_OUT</code>.</p>
92
104
  */
93
105
  approximateSecondsBeforeTimedOut?: number;
94
106
  /**
107
+ * @public
95
108
  * <p>The version of the job execution. Job execution versions are incremented each time they are updated by a
96
109
  * device.</p>
97
110
  */
98
111
  versionNumber?: number;
99
112
  /**
113
+ * @public
100
114
  * <p>A number that identifies a particular job execution on a particular device. It can be used later in
101
115
  * commands that return or update job execution information.</p>
102
116
  */
103
117
  executionNumber?: number;
104
118
  /**
119
+ * @public
105
120
  * <p>The content of the job document.</p>
106
121
  */
107
122
  jobDocument?: string;
@@ -111,6 +126,7 @@ export interface JobExecution {
111
126
  */
112
127
  export interface DescribeJobExecutionResponse {
113
128
  /**
129
+ * @public
114
130
  * <p>Contains data about a job execution.</p>
115
131
  */
116
132
  execution?: JobExecution;
@@ -171,6 +187,7 @@ export declare class ThrottlingException extends __BaseException {
171
187
  readonly name: "ThrottlingException";
172
188
  readonly $fault: "client";
173
189
  /**
190
+ * @public
174
191
  * <p>The payload associated with the exception.</p>
175
192
  */
176
193
  payload?: Uint8Array;
@@ -184,6 +201,7 @@ export declare class ThrottlingException extends __BaseException {
184
201
  */
185
202
  export interface GetPendingJobExecutionsRequest {
186
203
  /**
204
+ * @public
187
205
  * <p>The name of the thing that is executing the job.</p>
188
206
  */
189
207
  thingName: string | undefined;
@@ -194,27 +212,33 @@ export interface GetPendingJobExecutionsRequest {
194
212
  */
195
213
  export interface JobExecutionSummary {
196
214
  /**
215
+ * @public
197
216
  * <p>The unique identifier you assigned to this job when it was created.</p>
198
217
  */
199
218
  jobId?: string;
200
219
  /**
220
+ * @public
201
221
  * <p>The time, in milliseconds since the epoch, when the job execution was enqueued.</p>
202
222
  */
203
223
  queuedAt?: number;
204
224
  /**
225
+ * @public
205
226
  * <p>The time, in milliseconds since the epoch, when the job execution started.</p>
206
227
  */
207
228
  startedAt?: number;
208
229
  /**
230
+ * @public
209
231
  * <p>The time, in milliseconds since the epoch, when the job execution was last updated.</p>
210
232
  */
211
233
  lastUpdatedAt?: number;
212
234
  /**
235
+ * @public
213
236
  * <p>The version of the job execution. Job execution versions are incremented each time AWS IoT Jobs receives
214
237
  * an update from a device.</p>
215
238
  */
216
239
  versionNumber?: number;
217
240
  /**
241
+ * @public
218
242
  * <p>A number that identifies a particular job execution on a particular device.</p>
219
243
  */
220
244
  executionNumber?: number;
@@ -224,10 +248,12 @@ export interface JobExecutionSummary {
224
248
  */
225
249
  export interface GetPendingJobExecutionsResponse {
226
250
  /**
251
+ * @public
227
252
  * <p>A list of JobExecutionSummary objects with status IN_PROGRESS.</p>
228
253
  */
229
254
  inProgressJobs?: JobExecutionSummary[];
230
255
  /**
256
+ * @public
231
257
  * <p>A list of JobExecutionSummary objects with status QUEUED.</p>
232
258
  */
233
259
  queuedJobs?: JobExecutionSummary[];
@@ -251,15 +277,18 @@ export declare class InvalidStateTransitionException extends __BaseException {
251
277
  */
252
278
  export interface StartNextPendingJobExecutionRequest {
253
279
  /**
280
+ * @public
254
281
  * <p>The name of the thing associated with the device.</p>
255
282
  */
256
283
  thingName: string | undefined;
257
284
  /**
285
+ * @public
258
286
  * <p>A collection of name/value pairs that describe the status of the job execution. If not specified, the
259
287
  * statusDetails are unchanged.</p>
260
288
  */
261
289
  statusDetails?: Record<string, string>;
262
290
  /**
291
+ * @public
263
292
  * <p>Specifies the amount of time this device has to finish execution of this job. If the job
264
293
  * execution status is not set to a terminal state before this timer expires, or before the
265
294
  * timer is reset (by calling <code>UpdateJobExecution</code>, setting the status to
@@ -275,6 +304,7 @@ export interface StartNextPendingJobExecutionRequest {
275
304
  */
276
305
  export interface StartNextPendingJobExecutionResponse {
277
306
  /**
307
+ * @public
278
308
  * <p>A JobExecution object.</p>
279
309
  */
280
310
  execution?: JobExecution;
@@ -284,24 +314,29 @@ export interface StartNextPendingJobExecutionResponse {
284
314
  */
285
315
  export interface UpdateJobExecutionRequest {
286
316
  /**
317
+ * @public
287
318
  * <p>The unique identifier assigned to this job when it was created.</p>
288
319
  */
289
320
  jobId: string | undefined;
290
321
  /**
322
+ * @public
291
323
  * <p>The name of the thing associated with the device.</p>
292
324
  */
293
325
  thingName: string | undefined;
294
326
  /**
327
+ * @public
295
328
  * <p>The new status for the job execution (IN_PROGRESS, FAILED, SUCCESS, or REJECTED). This must be specified
296
329
  * on every update.</p>
297
330
  */
298
331
  status: JobExecutionStatus | string | undefined;
299
332
  /**
333
+ * @public
300
334
  * <p> Optional. A collection of name/value pairs that describe the status of the job execution. If not
301
335
  * specified, the statusDetails are unchanged.</p>
302
336
  */
303
337
  statusDetails?: Record<string, string>;
304
338
  /**
339
+ * @public
305
340
  * <p>Specifies the amount of time this device has to finish execution of this job. If the job
306
341
  * execution status is not set to a terminal state before this timer expires, or before the
307
342
  * timer is reset (by again calling <code>UpdateJobExecution</code>, setting the status to
@@ -312,6 +347,7 @@ export interface UpdateJobExecutionRequest {
312
347
  */
313
348
  stepTimeoutInMinutes?: number;
314
349
  /**
350
+ * @public
315
351
  * <p>Optional. The expected current version of the job execution. Each time you update the job execution, its
316
352
  * version is incremented. If the version of the job execution stored in Jobs does not match, the update is
317
353
  * rejected with a VersionMismatch error, and an ErrorResponse that contains the current job execution status data
@@ -320,15 +356,18 @@ export interface UpdateJobExecutionRequest {
320
356
  */
321
357
  expectedVersion?: number;
322
358
  /**
359
+ * @public
323
360
  * <p>Optional. When included and set to true, the response contains the JobExecutionState data. The default is
324
361
  * false.</p>
325
362
  */
326
363
  includeJobExecutionState?: boolean;
327
364
  /**
365
+ * @public
328
366
  * <p>Optional. When set to true, the response contains the job document. The default is false.</p>
329
367
  */
330
368
  includeJobDocument?: boolean;
331
369
  /**
370
+ * @public
332
371
  * <p>Optional. A number that identifies a particular job execution on a particular device.</p>
333
372
  */
334
373
  executionNumber?: number;
@@ -339,15 +378,18 @@ export interface UpdateJobExecutionRequest {
339
378
  */
340
379
  export interface JobExecutionState {
341
380
  /**
381
+ * @public
342
382
  * <p>The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED",
343
383
  * "REJECTED", or "REMOVED".</p>
344
384
  */
345
385
  status?: JobExecutionStatus | string;
346
386
  /**
387
+ * @public
347
388
  * <p>A collection of name/value pairs that describe the status of the job execution.</p>
348
389
  */
349
390
  statusDetails?: Record<string, string>;
350
391
  /**
392
+ * @public
351
393
  * <p>The version of the job execution. Job execution versions are incremented each time they are updated by a
352
394
  * device.</p>
353
395
  */
@@ -358,10 +400,12 @@ export interface JobExecutionState {
358
400
  */
359
401
  export interface UpdateJobExecutionResponse {
360
402
  /**
403
+ * @public
361
404
  * <p>A JobExecutionState object.</p>
362
405
  */
363
406
  executionState?: JobExecutionState;
364
407
  /**
408
+ * @public
365
409
  * <p>The contents of the Job Documents.</p>
366
410
  */
367
411
  jobDocument?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iot-jobs-data-plane",
3
3
  "description": "AWS SDK for JavaScript Iot Jobs Data Plane Client for Node.js, Browser and React Native",
4
- "version": "3.379.1",
4
+ "version": "3.382.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,15 +21,15 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.379.1",
25
- "@aws-sdk/credential-provider-node": "3.379.1",
24
+ "@aws-sdk/client-sts": "3.382.0",
25
+ "@aws-sdk/credential-provider-node": "3.382.0",
26
26
  "@aws-sdk/middleware-host-header": "3.379.1",
27
27
  "@aws-sdk/middleware-logger": "3.378.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.378.0",
29
29
  "@aws-sdk/middleware-signing": "3.379.1",
30
- "@aws-sdk/middleware-user-agent": "3.379.1",
30
+ "@aws-sdk/middleware-user-agent": "3.382.0",
31
31
  "@aws-sdk/types": "3.378.0",
32
- "@aws-sdk/util-endpoints": "3.378.0",
32
+ "@aws-sdk/util-endpoints": "3.382.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.378.0",
34
34
  "@aws-sdk/util-user-agent-node": "3.378.0",
35
35
  "@smithy/config-resolver": "^2.0.1",