@aws-sdk/client-iot-jobs-data-plane 3.1075.0 → 3.1077.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.
@@ -1,270 +0,0 @@
1
- const _B = "B";
2
- const _BIN = "BIN";
3
- const _CE = "ConflictException";
4
- const _CEPM = "CommandExecutionParameterMap";
5
- const _CPV = "CommandParameterValue";
6
- const _CVE = "CertificateValidationException";
7
- const _D = "D";
8
- const _DJE = "DescribeJobExecution";
9
- const _DJER = "DescribeJobExecutionRequest";
10
- const _DJERe = "DescribeJobExecutionResponse";
11
- const _GPJE = "GetPendingJobExecutions";
12
- const _GPJER = "GetPendingJobExecutionsRequest";
13
- const _GPJERe = "GetPendingJobExecutionsResponse";
14
- const _I = "I";
15
- const _IRE = "InvalidRequestException";
16
- const _ISE = "InternalServerException";
17
- const _ISTE = "InvalidStateTransitionException";
18
- const _JE = "JobExecution";
19
- const _JES = "JobExecutionState";
20
- const _JESL = "JobExecutionSummaryList";
21
- const _JESo = "JobExecutionSummary";
22
- const _L = "L";
23
- const _RNFE = "ResourceNotFoundException";
24
- const _S = "S";
25
- const _SCE = "StartCommandExecution";
26
- const _SCER = "StartCommandExecutionRequest";
27
- const _SCERt = "StartCommandExecutionResponse";
28
- const _SNPJE = "StartNextPendingJobExecution";
29
- const _SNPJER = "StartNextPendingJobExecutionRequest";
30
- const _SNPJERt = "StartNextPendingJobExecutionResponse";
31
- const _SQEE = "ServiceQuotaExceededException";
32
- const _SUE = "ServiceUnavailableException";
33
- const _TE = "ThrottlingException";
34
- const _TSE = "TerminalStateException";
35
- const _UJE = "UpdateJobExecution";
36
- const _UJER = "UpdateJobExecutionRequest";
37
- const _UJERp = "UpdateJobExecutionResponse";
38
- const _UL = "UL";
39
- const _VE = "ValidationException";
40
- const _aSBTO = "approximateSecondsBeforeTimedOut";
41
- const _c = "client";
42
- const _cA = "commandArn";
43
- const _cT = "clientToken";
44
- const _e = "error";
45
- const _eI = "executionId";
46
- const _eN = "executionNumber";
47
- const _eS = "executionState";
48
- const _eTS = "executionTimeoutSeconds";
49
- const _eV = "expectedVersion";
50
- const _ex = "execution";
51
- const _h = "http";
52
- const _hE = "httpError";
53
- const _hQ = "httpQuery";
54
- const _iJD = "includeJobDocument";
55
- const _iJES = "includeJobExecutionState";
56
- const _iPJ = "inProgressJobs";
57
- const _jD = "jobDocument";
58
- const _jI = "jobId";
59
- const _lUA = "lastUpdatedAt";
60
- const _m = "message";
61
- const _p = "payload";
62
- const _pa = "parameters";
63
- const _qA = "queuedAt";
64
- const _qJ = "queuedJobs";
65
- const _rI = "resourceId";
66
- const _s = "smithy.ts.sdk.synthetic.com.amazonaws.iotjobsdataplane";
67
- const _sA = "startedAt";
68
- const _sD = "statusDetails";
69
- const _sTIM = "stepTimeoutInMinutes";
70
- const _se = "server";
71
- const _st = "status";
72
- const _tA = "targetArn";
73
- const _tN = "thingName";
74
- const _vN = "versionNumber";
75
- const n0 = "com.amazonaws.iotjobsdataplane";
76
- const { TypeRegistry } = require("@smithy/core/schema");
77
- const { CertificateValidationException, ConflictException, InternalServerException, InvalidRequestException, InvalidStateTransitionException, ResourceNotFoundException, ServiceQuotaExceededException, ServiceUnavailableException, TerminalStateException, ThrottlingException, ValidationException } = require("../models/errors");
78
- const { IoTJobsDataPlaneServiceException } = require("../models/IoTJobsDataPlaneServiceException");
79
- const _s_registry = TypeRegistry.for(_s);
80
- const IoTJobsDataPlaneServiceException$ = [-3, _s, "IoTJobsDataPlaneServiceException", 0, [], []];
81
- exports.IoTJobsDataPlaneServiceException$ = IoTJobsDataPlaneServiceException$;
82
- _s_registry.registerError(IoTJobsDataPlaneServiceException$, IoTJobsDataPlaneServiceException);
83
- const n0_registry = TypeRegistry.for(n0);
84
- const CertificateValidationException$ = [-3, n0, _CVE,
85
- { [_e]: _c, [_hE]: 400 },
86
- [_m],
87
- [0]
88
- ];
89
- exports.CertificateValidationException$ = CertificateValidationException$;
90
- n0_registry.registerError(CertificateValidationException$, CertificateValidationException);
91
- const ConflictException$ = [-3, n0, _CE,
92
- { [_e]: _c, [_hE]: 409 },
93
- [_m, _rI],
94
- [0, 0]
95
- ];
96
- exports.ConflictException$ = ConflictException$;
97
- n0_registry.registerError(ConflictException$, ConflictException);
98
- const InternalServerException$ = [-3, n0, _ISE,
99
- { [_e]: _se, [_hE]: 500 },
100
- [_m],
101
- [0]
102
- ];
103
- exports.InternalServerException$ = InternalServerException$;
104
- n0_registry.registerError(InternalServerException$, InternalServerException);
105
- const InvalidRequestException$ = [-3, n0, _IRE,
106
- { [_e]: _c, [_hE]: 400 },
107
- [_m],
108
- [0]
109
- ];
110
- exports.InvalidRequestException$ = InvalidRequestException$;
111
- n0_registry.registerError(InvalidRequestException$, InvalidRequestException);
112
- const InvalidStateTransitionException$ = [-3, n0, _ISTE,
113
- { [_e]: _c, [_hE]: 409 },
114
- [_m],
115
- [0]
116
- ];
117
- exports.InvalidStateTransitionException$ = InvalidStateTransitionException$;
118
- n0_registry.registerError(InvalidStateTransitionException$, InvalidStateTransitionException);
119
- const ResourceNotFoundException$ = [-3, n0, _RNFE,
120
- { [_e]: _c, [_hE]: 404 },
121
- [_m],
122
- [0]
123
- ];
124
- exports.ResourceNotFoundException$ = ResourceNotFoundException$;
125
- n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
126
- const ServiceQuotaExceededException$ = [-3, n0, _SQEE,
127
- { [_e]: _c, [_hE]: 402 },
128
- [_m],
129
- [0]
130
- ];
131
- exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
132
- n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
133
- const ServiceUnavailableException$ = [-3, n0, _SUE,
134
- { [_e]: _se, [_hE]: 503 },
135
- [_m],
136
- [0]
137
- ];
138
- exports.ServiceUnavailableException$ = ServiceUnavailableException$;
139
- n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
140
- const TerminalStateException$ = [-3, n0, _TSE,
141
- { [_e]: _c, [_hE]: 410 },
142
- [_m],
143
- [0]
144
- ];
145
- exports.TerminalStateException$ = TerminalStateException$;
146
- n0_registry.registerError(TerminalStateException$, TerminalStateException);
147
- const ThrottlingException$ = [-3, n0, _TE,
148
- { [_e]: _c, [_hE]: 429 },
149
- [_m, _p],
150
- [0, 21]
151
- ];
152
- exports.ThrottlingException$ = ThrottlingException$;
153
- n0_registry.registerError(ThrottlingException$, ThrottlingException);
154
- const ValidationException$ = [-3, n0, _VE,
155
- { [_e]: _c, [_hE]: 400 },
156
- [_m],
157
- [0]
158
- ];
159
- exports.ValidationException$ = ValidationException$;
160
- n0_registry.registerError(ValidationException$, ValidationException);
161
- exports.errorTypeRegistries = [
162
- _s_registry,
163
- n0_registry,
164
- ];
165
- const CommandParameterValue$ = [3, n0, _CPV,
166
- 0,
167
- [_S, _B, _I, _L, _D, _BIN, _UL],
168
- [0, 2, 1, 1, 1, 21, 0]
169
- ];
170
- exports.CommandParameterValue$ = CommandParameterValue$;
171
- const DescribeJobExecutionRequest$ = [3, n0, _DJER,
172
- 0,
173
- [_jI, _tN, _iJD, _eN],
174
- [[0, 1], [0, 1], [2, { [_hQ]: _iJD }], [1, { [_hQ]: _eN }]], 2
175
- ];
176
- exports.DescribeJobExecutionRequest$ = DescribeJobExecutionRequest$;
177
- const DescribeJobExecutionResponse$ = [3, n0, _DJERe,
178
- 0,
179
- [_ex],
180
- [() => JobExecution$]
181
- ];
182
- exports.DescribeJobExecutionResponse$ = DescribeJobExecutionResponse$;
183
- const GetPendingJobExecutionsRequest$ = [3, n0, _GPJER,
184
- 0,
185
- [_tN],
186
- [[0, 1]], 1
187
- ];
188
- exports.GetPendingJobExecutionsRequest$ = GetPendingJobExecutionsRequest$;
189
- const GetPendingJobExecutionsResponse$ = [3, n0, _GPJERe,
190
- 0,
191
- [_iPJ, _qJ],
192
- [() => JobExecutionSummaryList, () => JobExecutionSummaryList]
193
- ];
194
- exports.GetPendingJobExecutionsResponse$ = GetPendingJobExecutionsResponse$;
195
- const JobExecution$ = [3, n0, _JE,
196
- 0,
197
- [_jI, _tN, _st, _sD, _qA, _sA, _lUA, _aSBTO, _vN, _eN, _jD],
198
- [0, 0, 0, 128 | 0, 1, 1, 1, 1, 1, 1, 0]
199
- ];
200
- exports.JobExecution$ = JobExecution$;
201
- const JobExecutionState$ = [3, n0, _JES,
202
- 0,
203
- [_st, _sD, _vN],
204
- [0, 128 | 0, 1]
205
- ];
206
- exports.JobExecutionState$ = JobExecutionState$;
207
- const JobExecutionSummary$ = [3, n0, _JESo,
208
- 0,
209
- [_jI, _qA, _sA, _lUA, _vN, _eN],
210
- [0, 1, 1, 1, 1, 1]
211
- ];
212
- exports.JobExecutionSummary$ = JobExecutionSummary$;
213
- const StartCommandExecutionRequest$ = [3, n0, _SCER,
214
- 0,
215
- [_tA, _cA, _pa, _eTS, _cT],
216
- [0, 0, () => CommandExecutionParameterMap, 1, [0, 4]], 2
217
- ];
218
- exports.StartCommandExecutionRequest$ = StartCommandExecutionRequest$;
219
- const StartCommandExecutionResponse$ = [3, n0, _SCERt,
220
- 0,
221
- [_eI],
222
- [0]
223
- ];
224
- exports.StartCommandExecutionResponse$ = StartCommandExecutionResponse$;
225
- const StartNextPendingJobExecutionRequest$ = [3, n0, _SNPJER,
226
- 0,
227
- [_tN, _sD, _sTIM],
228
- [[0, 1], 128 | 0, 1], 1
229
- ];
230
- exports.StartNextPendingJobExecutionRequest$ = StartNextPendingJobExecutionRequest$;
231
- const StartNextPendingJobExecutionResponse$ = [3, n0, _SNPJERt,
232
- 0,
233
- [_ex],
234
- [() => JobExecution$]
235
- ];
236
- exports.StartNextPendingJobExecutionResponse$ = StartNextPendingJobExecutionResponse$;
237
- const UpdateJobExecutionRequest$ = [3, n0, _UJER,
238
- 0,
239
- [_jI, _tN, _st, _sD, _sTIM, _eV, _iJES, _iJD, _eN],
240
- [[0, 1], [0, 1], 0, 128 | 0, 1, 1, 2, 2, 1], 3
241
- ];
242
- exports.UpdateJobExecutionRequest$ = UpdateJobExecutionRequest$;
243
- const UpdateJobExecutionResponse$ = [3, n0, _UJERp,
244
- 0,
245
- [_eS, _jD],
246
- [() => JobExecutionState$, 0]
247
- ];
248
- exports.UpdateJobExecutionResponse$ = UpdateJobExecutionResponse$;
249
- var JobExecutionSummaryList = [1, n0, _JESL,
250
- 0, () => JobExecutionSummary$
251
- ];
252
- var CommandExecutionParameterMap = [2, n0, _CEPM,
253
- 0, 0, () => CommandParameterValue$
254
- ];
255
- var DetailsMap = 128 | 0;
256
- exports.DescribeJobExecution$ = [9, n0, _DJE,
257
- { [_h]: ["GET", "/things/{thingName}/jobs/{jobId}", 200] }, () => DescribeJobExecutionRequest$, () => DescribeJobExecutionResponse$
258
- ];
259
- exports.GetPendingJobExecutions$ = [9, n0, _GPJE,
260
- { [_h]: ["GET", "/things/{thingName}/jobs", 200] }, () => GetPendingJobExecutionsRequest$, () => GetPendingJobExecutionsResponse$
261
- ];
262
- exports.StartCommandExecution$ = [9, n0, _SCE,
263
- { [_h]: ["POST", "/command-executions", 200] }, () => StartCommandExecutionRequest$, () => StartCommandExecutionResponse$
264
- ];
265
- exports.StartNextPendingJobExecution$ = [9, n0, _SNPJE,
266
- { [_h]: ["PUT", "/things/{thingName}/jobs/$next", 200] }, () => StartNextPendingJobExecutionRequest$, () => StartNextPendingJobExecutionResponse$
267
- ];
268
- exports.UpdateJobExecution$ = [9, n0, _UJE,
269
- { [_h]: ["POST", "/things/{thingName}/jobs/{jobId}", 200] }, () => UpdateJobExecutionRequest$, () => UpdateJobExecutionResponse$
270
- ];