@aws-sdk/client-iot-jobs-data-plane 3.33.0 → 3.36.1

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.
Files changed (115) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/IoTJobsDataPlane.js +1 -15
  3. package/dist-cjs/IoTJobsDataPlaneClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/DescribeJobExecutionCommand.js +2 -27
  5. package/{dist/cjs → dist-cjs}/commands/GetPendingJobExecutionsCommand.js +2 -27
  6. package/{dist/cjs → dist-cjs}/commands/StartNextPendingJobExecutionCommand.js +2 -27
  7. package/{dist/cjs → dist-cjs}/commands/UpdateJobExecutionCommand.js +2 -27
  8. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  9. package/{dist/cjs → dist-cjs}/index.js +0 -1
  10. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  11. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -55
  12. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +0 -6
  13. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  14. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  15. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  16. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  17. package/{dist/es → dist-es}/IoTJobsDataPlane.js +2 -16
  18. package/{dist/es → dist-es}/IoTJobsDataPlaneClient.js +2 -21
  19. package/{dist/es → dist-es}/commands/DescribeJobExecutionCommand.js +4 -30
  20. package/{dist/es → dist-es}/commands/GetPendingJobExecutionsCommand.js +4 -30
  21. package/{dist/es → dist-es}/commands/StartNextPendingJobExecutionCommand.js +4 -30
  22. package/{dist/es → dist-es}/commands/UpdateJobExecutionCommand.js +4 -30
  23. package/{dist/es → dist-es}/endpoints.js +1 -2
  24. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  25. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  26. package/{dist/es → dist-es}/models/models_0.js +0 -55
  27. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +127 -133
  28. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  29. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  30. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  31. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  32. package/{dist/types → dist-types}/IoTJobsDataPlane.d.ts +2 -2
  33. package/{dist/types → dist-types}/IoTJobsDataPlaneClient.d.ts +5 -5
  34. package/{dist/types → dist-types}/commands/DescribeJobExecutionCommand.d.ts +2 -2
  35. package/{dist/types → dist-types}/commands/GetPendingJobExecutionsCommand.d.ts +2 -2
  36. package/{dist/types → dist-types}/commands/StartNextPendingJobExecutionCommand.d.ts +2 -2
  37. package/{dist/types → dist-types}/commands/UpdateJobExecutionCommand.d.ts +2 -2
  38. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  39. package/{index.ts → dist-types/index.d.ts} +0 -0
  40. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  41. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  42. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  43. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  44. package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -4
  45. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  46. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  47. package/{dist/types → dist-types}/ts3.4/IoTJobsDataPlane.d.ts +7 -27
  48. package/dist-types/ts3.4/IoTJobsDataPlaneClient.d.ts +71 -0
  49. package/{dist/types → dist-types}/ts3.4/commands/DescribeJobExecutionCommand.d.ts +4 -22
  50. package/{dist/types → dist-types}/ts3.4/commands/GetPendingJobExecutionsCommand.d.ts +4 -22
  51. package/{dist/types → dist-types}/ts3.4/commands/StartNextPendingJobExecutionCommand.d.ts +4 -22
  52. package/{dist/types → dist-types}/ts3.4/commands/UpdateJobExecutionCommand.d.ts +4 -22
  53. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  54. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  55. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  56. package/dist-types/ts3.4/models/models_0.d.ts +251 -0
  57. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  58. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  59. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +3 -7
  60. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  61. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  62. package/package.json +52 -49
  63. package/IoTJobsDataPlane.ts +0 -165
  64. package/IoTJobsDataPlaneClient.ts +0 -266
  65. package/commands/DescribeJobExecutionCommand.ts +0 -94
  66. package/commands/GetPendingJobExecutionsCommand.ts +0 -94
  67. package/commands/StartNextPendingJobExecutionCommand.ts +0 -99
  68. package/commands/UpdateJobExecutionCommand.ts +0 -94
  69. package/dist/cjs/IoTJobsDataPlane.js.map +0 -1
  70. package/dist/cjs/IoTJobsDataPlaneClient.js +0 -54
  71. package/dist/cjs/IoTJobsDataPlaneClient.js.map +0 -1
  72. package/dist/cjs/commands/DescribeJobExecutionCommand.js.map +0 -1
  73. package/dist/cjs/commands/GetPendingJobExecutionsCommand.js.map +0 -1
  74. package/dist/cjs/commands/StartNextPendingJobExecutionCommand.js.map +0 -1
  75. package/dist/cjs/commands/UpdateJobExecutionCommand.js.map +0 -1
  76. package/dist/cjs/endpoints.js.map +0 -1
  77. package/dist/cjs/index.js.map +0 -1
  78. package/dist/cjs/models/index.js.map +0 -1
  79. package/dist/cjs/models/models_0.js.map +0 -1
  80. package/dist/cjs/package.json +0 -91
  81. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  82. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  83. package/dist/cjs/runtimeConfig.js.map +0 -1
  84. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  85. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  86. package/dist/es/IoTJobsDataPlane.js.map +0 -1
  87. package/dist/es/IoTJobsDataPlaneClient.js.map +0 -1
  88. package/dist/es/commands/DescribeJobExecutionCommand.js.map +0 -1
  89. package/dist/es/commands/GetPendingJobExecutionsCommand.js.map +0 -1
  90. package/dist/es/commands/StartNextPendingJobExecutionCommand.js.map +0 -1
  91. package/dist/es/commands/UpdateJobExecutionCommand.js.map +0 -1
  92. package/dist/es/endpoints.js.map +0 -1
  93. package/dist/es/index.js +0 -8
  94. package/dist/es/index.js.map +0 -1
  95. package/dist/es/models/index.js +0 -2
  96. package/dist/es/models/index.js.map +0 -1
  97. package/dist/es/models/models_0.js.map +0 -1
  98. package/dist/es/package.json +0 -91
  99. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  100. package/dist/es/runtimeConfig.browser.js.map +0 -1
  101. package/dist/es/runtimeConfig.js.map +0 -1
  102. package/dist/es/runtimeConfig.native.js.map +0 -1
  103. package/dist/es/runtimeConfig.shared.js.map +0 -1
  104. package/dist/types/ts3.4/IoTJobsDataPlaneClient.d.ts +0 -146
  105. package/dist/types/ts3.4/models/models_0.d.ts +0 -435
  106. package/endpoints.ts +0 -91
  107. package/jest.config.js +0 -4
  108. package/models/models_0.ts +0 -533
  109. package/protocols/Aws_restJson1.ts +0 -848
  110. package/runtimeConfig.browser.ts +0 -40
  111. package/runtimeConfig.native.ts +0 -16
  112. package/runtimeConfig.shared.ts +0 -16
  113. package/runtimeConfig.ts +0 -45
  114. package/tsconfig.es.json +0 -12
  115. package/tsconfig.json +0 -32
@@ -1,533 +0,0 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
-
3
- /**
4
- * <p>The certificate is invalid.</p>
5
- */
6
- export interface CertificateValidationException extends __SmithyException, $MetadataBearer {
7
- name: "CertificateValidationException";
8
- $fault: "client";
9
- /**
10
- * <p>Additional information about the exception.</p>
11
- */
12
- message?: string;
13
- }
14
-
15
- export namespace CertificateValidationException {
16
- /**
17
- * @internal
18
- */
19
- export const filterSensitiveLog = (obj: CertificateValidationException): any => ({
20
- ...obj,
21
- });
22
- }
23
-
24
- export interface DescribeJobExecutionRequest {
25
- /**
26
- * <p>The unique identifier assigned to this job when it was created.</p>
27
- */
28
- jobId: string | undefined;
29
-
30
- /**
31
- * <p>The thing name associated with the device the job execution is running on.</p>
32
- */
33
- thingName: string | undefined;
34
-
35
- /**
36
- * <p>Optional. When set to true, the response contains the job document. The default is false.</p>
37
- */
38
- includeJobDocument?: boolean;
39
-
40
- /**
41
- * <p>Optional. A number that identifies a particular job execution on a particular device. If not specified,
42
- * the latest job execution is returned.</p>
43
- */
44
- executionNumber?: number;
45
- }
46
-
47
- export namespace DescribeJobExecutionRequest {
48
- /**
49
- * @internal
50
- */
51
- export const filterSensitiveLog = (obj: DescribeJobExecutionRequest): any => ({
52
- ...obj,
53
- });
54
- }
55
-
56
- export enum JobExecutionStatus {
57
- CANCELED = "CANCELED",
58
- FAILED = "FAILED",
59
- IN_PROGRESS = "IN_PROGRESS",
60
- QUEUED = "QUEUED",
61
- REJECTED = "REJECTED",
62
- REMOVED = "REMOVED",
63
- SUCCEEDED = "SUCCEEDED",
64
- TIMED_OUT = "TIMED_OUT",
65
- }
66
-
67
- /**
68
- * <p>Contains data about a job execution.</p>
69
- */
70
- export interface JobExecution {
71
- /**
72
- * <p>The unique identifier you assigned to this job when it was created.</p>
73
- */
74
- jobId?: string;
75
-
76
- /**
77
- * <p>The name of the thing that is executing the job.</p>
78
- */
79
- thingName?: string;
80
-
81
- /**
82
- * <p>The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED",
83
- * "REJECTED", or "REMOVED".</p>
84
- */
85
- status?: JobExecutionStatus | string;
86
-
87
- /**
88
- * <p>A collection of name/value pairs that describe the status of the job execution.</p>
89
- */
90
- statusDetails?: { [key: string]: string };
91
-
92
- /**
93
- * <p>The time, in milliseconds since the epoch, when the job execution was enqueued.</p>
94
- */
95
- queuedAt?: number;
96
-
97
- /**
98
- * <p>The time, in milliseconds since the epoch, when the job execution was started.</p>
99
- */
100
- startedAt?: number;
101
-
102
- /**
103
- * <p>The time, in milliseconds since the epoch, when the job execution was last updated. </p>
104
- */
105
- lastUpdatedAt?: number;
106
-
107
- /**
108
- * <p>The estimated number of seconds that remain before the job execution status will be
109
- * changed to <code>TIMED_OUT</code>.</p>
110
- */
111
- approximateSecondsBeforeTimedOut?: number;
112
-
113
- /**
114
- * <p>The version of the job execution. Job execution versions are incremented each time they are updated by a
115
- * device.</p>
116
- */
117
- versionNumber?: number;
118
-
119
- /**
120
- * <p>A number that identifies a particular job execution on a particular device. It can be used later in
121
- * commands that return or update job execution information.</p>
122
- */
123
- executionNumber?: number;
124
-
125
- /**
126
- * <p>The content of the job document.</p>
127
- */
128
- jobDocument?: string;
129
- }
130
-
131
- export namespace JobExecution {
132
- /**
133
- * @internal
134
- */
135
- export const filterSensitiveLog = (obj: JobExecution): any => ({
136
- ...obj,
137
- });
138
- }
139
-
140
- export interface DescribeJobExecutionResponse {
141
- /**
142
- * <p>Contains data about a job execution.</p>
143
- */
144
- execution?: JobExecution;
145
- }
146
-
147
- export namespace DescribeJobExecutionResponse {
148
- /**
149
- * @internal
150
- */
151
- export const filterSensitiveLog = (obj: DescribeJobExecutionResponse): any => ({
152
- ...obj,
153
- });
154
- }
155
-
156
- /**
157
- * <p>The contents of the request were invalid. For example, this code is returned when an UpdateJobExecution request contains invalid status details. The message contains details about the error.</p>
158
- */
159
- export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
160
- name: "InvalidRequestException";
161
- $fault: "client";
162
- /**
163
- * <p>The message for the exception.</p>
164
- */
165
- message?: string;
166
- }
167
-
168
- export namespace InvalidRequestException {
169
- /**
170
- * @internal
171
- */
172
- export const filterSensitiveLog = (obj: InvalidRequestException): any => ({
173
- ...obj,
174
- });
175
- }
176
-
177
- /**
178
- * <p>The specified resource does not exist.</p>
179
- */
180
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
181
- name: "ResourceNotFoundException";
182
- $fault: "client";
183
- /**
184
- * <p>The message for the exception.</p>
185
- */
186
- message?: string;
187
- }
188
-
189
- export namespace ResourceNotFoundException {
190
- /**
191
- * @internal
192
- */
193
- export const filterSensitiveLog = (obj: ResourceNotFoundException): any => ({
194
- ...obj,
195
- });
196
- }
197
-
198
- /**
199
- * <p>The service is temporarily unavailable.</p>
200
- */
201
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
202
- name: "ServiceUnavailableException";
203
- $fault: "server";
204
- /**
205
- * <p>The message for the exception.</p>
206
- */
207
- message?: string;
208
- }
209
-
210
- export namespace ServiceUnavailableException {
211
- /**
212
- * @internal
213
- */
214
- export const filterSensitiveLog = (obj: ServiceUnavailableException): any => ({
215
- ...obj,
216
- });
217
- }
218
-
219
- /**
220
- * <p>The job is in a terminal state.</p>
221
- */
222
- export interface TerminalStateException extends __SmithyException, $MetadataBearer {
223
- name: "TerminalStateException";
224
- $fault: "client";
225
- message?: string;
226
- }
227
-
228
- export namespace TerminalStateException {
229
- /**
230
- * @internal
231
- */
232
- export const filterSensitiveLog = (obj: TerminalStateException): any => ({
233
- ...obj,
234
- });
235
- }
236
-
237
- /**
238
- * <p>The rate exceeds the limit.</p>
239
- */
240
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
241
- name: "ThrottlingException";
242
- $fault: "client";
243
- /**
244
- * <p>The message associated with the exception.</p>
245
- */
246
- message?: string;
247
-
248
- /**
249
- * <p>The payload associated with the exception.</p>
250
- */
251
- payload?: Uint8Array;
252
- }
253
-
254
- export namespace ThrottlingException {
255
- /**
256
- * @internal
257
- */
258
- export const filterSensitiveLog = (obj: ThrottlingException): any => ({
259
- ...obj,
260
- });
261
- }
262
-
263
- export interface GetPendingJobExecutionsRequest {
264
- /**
265
- * <p>The name of the thing that is executing the job.</p>
266
- */
267
- thingName: string | undefined;
268
- }
269
-
270
- export namespace GetPendingJobExecutionsRequest {
271
- /**
272
- * @internal
273
- */
274
- export const filterSensitiveLog = (obj: GetPendingJobExecutionsRequest): any => ({
275
- ...obj,
276
- });
277
- }
278
-
279
- /**
280
- * <p>Contains a subset of information about a job execution.</p>
281
- */
282
- export interface JobExecutionSummary {
283
- /**
284
- * <p>The unique identifier you assigned to this job when it was created.</p>
285
- */
286
- jobId?: string;
287
-
288
- /**
289
- * <p>The time, in milliseconds since the epoch, when the job execution was enqueued.</p>
290
- */
291
- queuedAt?: number;
292
-
293
- /**
294
- * <p>The time, in milliseconds since the epoch, when the job execution started.</p>
295
- */
296
- startedAt?: number;
297
-
298
- /**
299
- * <p>The time, in milliseconds since the epoch, when the job execution was last updated.</p>
300
- */
301
- lastUpdatedAt?: number;
302
-
303
- /**
304
- * <p>The version of the job execution. Job execution versions are incremented each time AWS IoT Jobs receives
305
- * an update from a device.</p>
306
- */
307
- versionNumber?: number;
308
-
309
- /**
310
- * <p>A number that identifies a particular job execution on a particular device.</p>
311
- */
312
- executionNumber?: number;
313
- }
314
-
315
- export namespace JobExecutionSummary {
316
- /**
317
- * @internal
318
- */
319
- export const filterSensitiveLog = (obj: JobExecutionSummary): any => ({
320
- ...obj,
321
- });
322
- }
323
-
324
- export interface GetPendingJobExecutionsResponse {
325
- /**
326
- * <p>A list of JobExecutionSummary objects with status IN_PROGRESS.</p>
327
- */
328
- inProgressJobs?: JobExecutionSummary[];
329
-
330
- /**
331
- * <p>A list of JobExecutionSummary objects with status QUEUED.</p>
332
- */
333
- queuedJobs?: JobExecutionSummary[];
334
- }
335
-
336
- export namespace GetPendingJobExecutionsResponse {
337
- /**
338
- * @internal
339
- */
340
- export const filterSensitiveLog = (obj: GetPendingJobExecutionsResponse): any => ({
341
- ...obj,
342
- });
343
- }
344
-
345
- /**
346
- * <p>An update attempted to change the job execution to a state that is invalid because of the job execution's
347
- * current state (for example, an attempt to change a request in state SUCCESS to state IN_PROGRESS). In this
348
- * case, the body of the error message also contains the executionState field.</p>
349
- */
350
- export interface InvalidStateTransitionException extends __SmithyException, $MetadataBearer {
351
- name: "InvalidStateTransitionException";
352
- $fault: "client";
353
- message?: string;
354
- }
355
-
356
- export namespace InvalidStateTransitionException {
357
- /**
358
- * @internal
359
- */
360
- export const filterSensitiveLog = (obj: InvalidStateTransitionException): any => ({
361
- ...obj,
362
- });
363
- }
364
-
365
- export interface StartNextPendingJobExecutionRequest {
366
- /**
367
- * <p>The name of the thing associated with the device.</p>
368
- */
369
- thingName: string | undefined;
370
-
371
- /**
372
- * <p>A collection of name/value pairs that describe the status of the job execution. If not specified, the
373
- * statusDetails are unchanged.</p>
374
- */
375
- statusDetails?: { [key: string]: string };
376
-
377
- /**
378
- * <p>Specifies the amount of time this device has to finish execution of this job. If the job
379
- * execution status is not set to a terminal state before this timer expires, or before the
380
- * timer is reset (by calling <code>UpdateJobExecution</code>, setting the status to
381
- * <code>IN_PROGRESS</code> and specifying a new timeout value in field <code>stepTimeoutInMinutes</code>)
382
- * the job execution status will be automatically set to <code>TIMED_OUT</code>. Note that setting
383
- * this timeout has no effect on that job execution timeout which may have been specified when
384
- * the job was created (<code>CreateJob</code> using field <code>timeoutConfig</code>).</p>
385
- */
386
- stepTimeoutInMinutes?: number;
387
- }
388
-
389
- export namespace StartNextPendingJobExecutionRequest {
390
- /**
391
- * @internal
392
- */
393
- export const filterSensitiveLog = (obj: StartNextPendingJobExecutionRequest): any => ({
394
- ...obj,
395
- });
396
- }
397
-
398
- export interface StartNextPendingJobExecutionResponse {
399
- /**
400
- * <p>A JobExecution object.</p>
401
- */
402
- execution?: JobExecution;
403
- }
404
-
405
- export namespace StartNextPendingJobExecutionResponse {
406
- /**
407
- * @internal
408
- */
409
- export const filterSensitiveLog = (obj: StartNextPendingJobExecutionResponse): any => ({
410
- ...obj,
411
- });
412
- }
413
-
414
- export interface UpdateJobExecutionRequest {
415
- /**
416
- * <p>The unique identifier assigned to this job when it was created.</p>
417
- */
418
- jobId: string | undefined;
419
-
420
- /**
421
- * <p>The name of the thing associated with the device.</p>
422
- */
423
- thingName: string | undefined;
424
-
425
- /**
426
- * <p>The new status for the job execution (IN_PROGRESS, FAILED, SUCCESS, or REJECTED). This must be specified
427
- * on every update.</p>
428
- */
429
- status: JobExecutionStatus | string | undefined;
430
-
431
- /**
432
- * <p> Optional. A collection of name/value pairs that describe the status of the job execution. If not
433
- * specified, the statusDetails are unchanged.</p>
434
- */
435
- statusDetails?: { [key: string]: string };
436
-
437
- /**
438
- * <p>Specifies the amount of time this device has to finish execution of this job. If the job
439
- * execution status is not set to a terminal state before this timer expires, or before the
440
- * timer is reset (by again calling <code>UpdateJobExecution</code>, setting the status to
441
- * <code>IN_PROGRESS</code> and specifying a new timeout value in this field) the job execution
442
- * status will be automatically set to <code>TIMED_OUT</code>. Note that setting or resetting
443
- * this timeout has no effect on that job execution timeout which may have been specified when
444
- * the job was created (<code>CreateJob</code> using field <code>timeoutConfig</code>).</p>
445
- */
446
- stepTimeoutInMinutes?: number;
447
-
448
- /**
449
- * <p>Optional. The expected current version of the job execution. Each time you update the job execution, its
450
- * version is incremented. If the version of the job execution stored in Jobs does not match, the update is
451
- * rejected with a VersionMismatch error, and an ErrorResponse that contains the current job execution status data
452
- * is returned. (This makes it unnecessary to perform a separate DescribeJobExecution request in order to obtain
453
- * the job execution status data.)</p>
454
- */
455
- expectedVersion?: number;
456
-
457
- /**
458
- * <p>Optional. When included and set to true, the response contains the JobExecutionState data. The default is
459
- * false.</p>
460
- */
461
- includeJobExecutionState?: boolean;
462
-
463
- /**
464
- * <p>Optional. When set to true, the response contains the job document. The default is false.</p>
465
- */
466
- includeJobDocument?: boolean;
467
-
468
- /**
469
- * <p>Optional. A number that identifies a particular job execution on a particular device.</p>
470
- */
471
- executionNumber?: number;
472
- }
473
-
474
- export namespace UpdateJobExecutionRequest {
475
- /**
476
- * @internal
477
- */
478
- export const filterSensitiveLog = (obj: UpdateJobExecutionRequest): any => ({
479
- ...obj,
480
- });
481
- }
482
-
483
- /**
484
- * <p>Contains data about the state of a job execution.</p>
485
- */
486
- export interface JobExecutionState {
487
- /**
488
- * <p>The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED",
489
- * "REJECTED", or "REMOVED".</p>
490
- */
491
- status?: JobExecutionStatus | string;
492
-
493
- /**
494
- * <p>A collection of name/value pairs that describe the status of the job execution.</p>
495
- */
496
- statusDetails?: { [key: string]: string };
497
-
498
- /**
499
- * <p>The version of the job execution. Job execution versions are incremented each time they are updated by a
500
- * device.</p>
501
- */
502
- versionNumber?: number;
503
- }
504
-
505
- export namespace JobExecutionState {
506
- /**
507
- * @internal
508
- */
509
- export const filterSensitiveLog = (obj: JobExecutionState): any => ({
510
- ...obj,
511
- });
512
- }
513
-
514
- export interface UpdateJobExecutionResponse {
515
- /**
516
- * <p>A JobExecutionState object.</p>
517
- */
518
- executionState?: JobExecutionState;
519
-
520
- /**
521
- * <p>The contents of the Job Documents.</p>
522
- */
523
- jobDocument?: string;
524
- }
525
-
526
- export namespace UpdateJobExecutionResponse {
527
- /**
528
- * @internal
529
- */
530
- export const filterSensitiveLog = (obj: UpdateJobExecutionResponse): any => ({
531
- ...obj,
532
- });
533
- }