@aws-sdk/client-iotdeviceadvisor 3.40.0 → 3.45.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.
Files changed (40) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/README.md +9 -1
  3. package/dist-cjs/IotDeviceAdvisor.js +15 -0
  4. package/dist-cjs/commands/GetEndpointCommand.js +36 -0
  5. package/dist-cjs/commands/index.js +1 -0
  6. package/dist-cjs/endpoints.js +9 -0
  7. package/dist-cjs/models/models_0.js +19 -7
  8. package/dist-cjs/protocols/Aws_restJson1.js +88 -1
  9. package/dist-es/IotDeviceAdvisor.js +15 -0
  10. package/dist-es/commands/GetEndpointCommand.js +39 -0
  11. package/dist-es/commands/index.js +1 -0
  12. package/dist-es/endpoints.js +9 -0
  13. package/dist-es/models/models_0.js +12 -4
  14. package/dist-es/protocols/Aws_restJson1.js +103 -1
  15. package/dist-types/IotDeviceAdvisor.d.ts +31 -3
  16. package/dist-types/IotDeviceAdvisorClient.d.ts +12 -3
  17. package/dist-types/commands/CreateSuiteDefinitionCommand.d.ts +2 -1
  18. package/dist-types/commands/DeleteSuiteDefinitionCommand.d.ts +2 -1
  19. package/dist-types/commands/GetEndpointCommand.d.ts +35 -0
  20. package/dist-types/commands/GetSuiteDefinitionCommand.d.ts +2 -1
  21. package/dist-types/commands/GetSuiteRunCommand.d.ts +2 -1
  22. package/dist-types/commands/GetSuiteRunReportCommand.d.ts +2 -1
  23. package/dist-types/commands/ListSuiteDefinitionsCommand.d.ts +2 -1
  24. package/dist-types/commands/ListSuiteRunsCommand.d.ts +4 -3
  25. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  26. package/dist-types/commands/StartSuiteRunCommand.d.ts +2 -1
  27. package/dist-types/commands/StopSuiteRunCommand.d.ts +2 -1
  28. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  29. package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  30. package/dist-types/commands/UpdateSuiteDefinitionCommand.d.ts +2 -1
  31. package/dist-types/commands/index.d.ts +1 -0
  32. package/dist-types/models/models_0.d.ts +129 -60
  33. package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
  34. package/dist-types/ts3.4/IotDeviceAdvisor.d.ts +5 -0
  35. package/dist-types/ts3.4/IotDeviceAdvisorClient.d.ts +3 -2
  36. package/dist-types/ts3.4/commands/GetEndpointCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +31 -11
  39. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
  40. package/package.json +6 -6
@@ -1,12 +1,12 @@
1
1
  import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
2
  /**
3
- * <p>Sends Conflict Exception.</p>
3
+ * <p>Sends a Conflict Exception.</p>
4
4
  */
5
5
  export interface ConflictException extends __SmithyException, $MetadataBearer {
6
6
  name: "ConflictException";
7
7
  $fault: "client";
8
8
  /**
9
- * <p>Sends Conflict Exception message.</p>
9
+ * <p>Sends a Conflict Exception message.</p>
10
10
  */
11
11
  message?: string;
12
12
  }
@@ -17,15 +17,15 @@ export declare namespace ConflictException {
17
17
  const filterSensitiveLog: (obj: ConflictException) => any;
18
18
  }
19
19
  /**
20
- * <p>Lists all the devices under test</p>
20
+ * <p>Information of a test device. A thing ARN or a certificate ARN is required.</p>
21
21
  */
22
22
  export interface DeviceUnderTest {
23
23
  /**
24
- * <p>Lists devices thing arn</p>
24
+ * <p>Lists devices thing ARN.</p>
25
25
  */
26
26
  thingArn?: string;
27
27
  /**
28
- * <p>Lists devices certificate arn</p>
28
+ * <p>Lists devices certificate ARN.</p>
29
29
  */
30
30
  certificateArn?: string;
31
31
  }
@@ -56,7 +56,7 @@ export interface SuiteDefinitionConfiguration {
56
56
  */
57
57
  rootGroup?: string;
58
58
  /**
59
- * <p>Gets device permission arn.</p>
59
+ * <p>Gets the device permission ARN.</p>
60
60
  */
61
61
  devicePermissionRoleArn?: string;
62
62
  }
@@ -90,7 +90,7 @@ export interface CreateSuiteDefinitionResponse {
90
90
  */
91
91
  suiteDefinitionId?: string;
92
92
  /**
93
- * <p>Creates a Device Advisor test suite with Amazon Resource name.</p>
93
+ * <p>Creates a Device Advisor test suite with Amazon Resource Name (ARN).</p>
94
94
  */
95
95
  suiteDefinitionArn?: string;
96
96
  /**
@@ -109,13 +109,13 @@ export declare namespace CreateSuiteDefinitionResponse {
109
109
  const filterSensitiveLog: (obj: CreateSuiteDefinitionResponse) => any;
110
110
  }
111
111
  /**
112
- * <p>Sends Internal Failure Exception.</p>
112
+ * <p>Sends an Internal Failure exception.</p>
113
113
  */
114
114
  export interface InternalServerException extends __SmithyException, $MetadataBearer {
115
115
  name: "InternalServerException";
116
116
  $fault: "server";
117
117
  /**
118
- * <p>Sends Internal Failure Exception message.</p>
118
+ * <p>Sends an Internal Failure Exception message.</p>
119
119
  */
120
120
  message?: string;
121
121
  }
@@ -126,13 +126,13 @@ export declare namespace InternalServerException {
126
126
  const filterSensitiveLog: (obj: InternalServerException) => any;
127
127
  }
128
128
  /**
129
- * <p>Sends invalid request exception.</p>
129
+ * <p>Sends a validation exception.</p>
130
130
  */
131
131
  export interface ValidationException extends __SmithyException, $MetadataBearer {
132
132
  name: "ValidationException";
133
133
  $fault: "client";
134
134
  /**
135
- * <p>Sends invalid request exception message.</p>
135
+ * <p>Sends a Validation Exception message.</p>
136
136
  */
137
137
  message?: string;
138
138
  }
@@ -144,7 +144,7 @@ export declare namespace ValidationException {
144
144
  }
145
145
  export interface DeleteSuiteDefinitionRequest {
146
146
  /**
147
- * <p>Suite definition Id of the test suite to be deleted.</p>
147
+ * <p>Suite definition ID of the test suite to be deleted.</p>
148
148
  */
149
149
  suiteDefinitionId: string | undefined;
150
150
  }
@@ -162,9 +162,54 @@ export declare namespace DeleteSuiteDefinitionResponse {
162
162
  */
163
163
  const filterSensitiveLog: (obj: DeleteSuiteDefinitionResponse) => any;
164
164
  }
165
+ export interface GetEndpointRequest {
166
+ /**
167
+ * <p>The thing ARN of the device. This is an optional parameter.</p>
168
+ */
169
+ thingArn?: string;
170
+ /**
171
+ * <p>The certificate ARN of the device. This is an optional parameter.</p>
172
+ */
173
+ certificateArn?: string;
174
+ }
175
+ export declare namespace GetEndpointRequest {
176
+ /**
177
+ * @internal
178
+ */
179
+ const filterSensitiveLog: (obj: GetEndpointRequest) => any;
180
+ }
181
+ export interface GetEndpointResponse {
182
+ /**
183
+ * <p>The response of an Device Advisor endpoint.</p>
184
+ */
185
+ endpoint?: string;
186
+ }
187
+ export declare namespace GetEndpointResponse {
188
+ /**
189
+ * @internal
190
+ */
191
+ const filterSensitiveLog: (obj: GetEndpointResponse) => any;
192
+ }
193
+ /**
194
+ * <p>Sends a Resource Not Found exception.</p>
195
+ */
196
+ export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
197
+ name: "ResourceNotFoundException";
198
+ $fault: "client";
199
+ /**
200
+ * <p>Sends a Resource Not Found Exception message.</p>
201
+ */
202
+ message?: string;
203
+ }
204
+ export declare namespace ResourceNotFoundException {
205
+ /**
206
+ * @internal
207
+ */
208
+ const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
209
+ }
165
210
  export interface GetSuiteDefinitionRequest {
166
211
  /**
167
- * <p>Suite definition Id of the test suite to get.</p>
212
+ * <p>Suite definition ID of the test suite to get.</p>
168
213
  */
169
214
  suiteDefinitionId: string | undefined;
170
215
  /**
@@ -180,7 +225,7 @@ export declare namespace GetSuiteDefinitionRequest {
180
225
  }
181
226
  export interface GetSuiteDefinitionResponse {
182
227
  /**
183
- * <p>Suite definition Id of the suite definition.</p>
228
+ * <p>Suite definition ID of the suite definition.</p>
184
229
  */
185
230
  suiteDefinitionId?: string;
186
231
  /**
@@ -220,30 +265,13 @@ export declare namespace GetSuiteDefinitionResponse {
220
265
  */
221
266
  const filterSensitiveLog: (obj: GetSuiteDefinitionResponse) => any;
222
267
  }
223
- /**
224
- * <p>Sends Resource Not Found Exception.</p>
225
- */
226
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
227
- name: "ResourceNotFoundException";
228
- $fault: "client";
229
- /**
230
- * <p>Sends Resource Not Found Exception message.</p>
231
- */
232
- message?: string;
233
- }
234
- export declare namespace ResourceNotFoundException {
235
- /**
236
- * @internal
237
- */
238
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
239
- }
240
268
  export interface GetSuiteRunRequest {
241
269
  /**
242
- * <p>Suite definition Id for the test suite run.</p>
270
+ * <p>Suite definition ID for the test suite run.</p>
243
271
  */
244
272
  suiteDefinitionId: string | undefined;
245
273
  /**
246
- * <p>Suite run Id for the test suite run.</p>
274
+ * <p>Suite run ID for the test suite run.</p>
247
275
  */
248
276
  suiteRunId: string | undefined;
249
277
  }
@@ -276,6 +304,10 @@ export interface SuiteRunConfiguration {
276
304
  * <p>Gets test case list.</p>
277
305
  */
278
306
  selectedTestList?: string[];
307
+ /**
308
+ * <p>TRUE if multiple test suites run in parallel.</p>
309
+ */
310
+ parallelRun?: boolean;
279
311
  }
280
312
  export declare namespace SuiteRunConfiguration {
281
313
  /**
@@ -295,23 +327,57 @@ export declare enum Status {
295
327
  STOPPING = "STOPPING"
296
328
  }
297
329
  /**
298
- * <p>Provides test case run.</p>
330
+ * <p>Provides the test case run.</p>
299
331
  */
300
332
  export interface TestCaseRun {
301
333
  /**
302
- * <p>Provides test case run Id.</p>
334
+ * <p>Provides the test case run ID.</p>
303
335
  */
304
336
  testCaseRunId?: string;
305
337
  /**
306
- * <p>Provides test case run definition Id.</p>
338
+ * <p>Provides the test case run definition ID.</p>
307
339
  */
308
340
  testCaseDefinitionId?: string;
309
341
  /**
310
- * <p>Provides test case run definition Name.</p>
342
+ * <p>Provides the test case run definition name.</p>
311
343
  */
312
344
  testCaseDefinitionName?: string;
313
345
  /**
314
- * <p>Provides test case run status.</p>
346
+ * <p>Provides the test case run status. Status is one of the following:</p>
347
+ * <ul>
348
+ * <li>
349
+ * <p>
350
+ * <code>PASS</code>: Test passed.</p>
351
+ * </li>
352
+ * <li>
353
+ * <p>
354
+ * <code>FAIL</code>: Test failed.</p>
355
+ * </li>
356
+ * <li>
357
+ * <p>
358
+ * <code>PENDING</code>: Test has not started running but is scheduled.</p>
359
+ * </li>
360
+ * <li>
361
+ * <p>
362
+ * <code>RUNNING</code>: Test is running.</p>
363
+ * </li>
364
+ * <li>
365
+ * <p>
366
+ * <code>STOPPING</code>: Test is performing cleanup steps. You will see this status only if you stop a suite run.</p>
367
+ * </li>
368
+ * <li>
369
+ * <p>
370
+ * <code>STOPPED</code> Test is stopped. You will see this status only if you stop a suite run.</p>
371
+ * </li>
372
+ * <li>
373
+ * <p>
374
+ * <code>PASS_WITH_WARNINGS</code>: Test passed with warnings.</p>
375
+ * </li>
376
+ * <li>
377
+ * <p>
378
+ * <code>ERORR</code>: Test faced an error when running due to an internal issue.</p>
379
+ * </li>
380
+ * </ul>
315
381
  */
316
382
  status?: Status | string;
317
383
  /**
@@ -323,7 +389,7 @@ export interface TestCaseRun {
323
389
  */
324
390
  endTime?: Date;
325
391
  /**
326
- * <p>Provides test case run log Url.</p>
392
+ * <p>Provides test case run log URL.</p>
327
393
  */
328
394
  logUrl?: string;
329
395
  /**
@@ -346,7 +412,7 @@ export declare namespace TestCaseRun {
346
412
  */
347
413
  export interface GroupResult {
348
414
  /**
349
- * <p>Group result Id.</p>
415
+ * <p>Group result ID.</p>
350
416
  */
351
417
  groupId?: string;
352
418
  /**
@@ -381,7 +447,7 @@ export declare namespace TestResult {
381
447
  }
382
448
  export interface GetSuiteRunResponse {
383
449
  /**
384
- * <p>Suite definition Id for the test suite run.</p>
450
+ * <p>Suite definition ID for the test suite run.</p>
385
451
  */
386
452
  suiteDefinitionId?: string;
387
453
  /**
@@ -389,7 +455,7 @@ export interface GetSuiteRunResponse {
389
455
  */
390
456
  suiteDefinitionVersion?: string;
391
457
  /**
392
- * <p>Suite run Id for the test suite run.</p>
458
+ * <p>Suite run ID for the test suite run.</p>
393
459
  */
394
460
  suiteRunId?: string;
395
461
  /**
@@ -405,7 +471,7 @@ export interface GetSuiteRunResponse {
405
471
  */
406
472
  testResult?: TestResult;
407
473
  /**
408
- * <p>Date (in Unix epoch time) when the test suite run was started.</p>
474
+ * <p>Date (in Unix epoch time) when the test suite run started.</p>
409
475
  */
410
476
  startTime?: Date;
411
477
  /**
@@ -435,11 +501,11 @@ export declare namespace GetSuiteRunResponse {
435
501
  }
436
502
  export interface GetSuiteRunReportRequest {
437
503
  /**
438
- * <p>Suite definition Id of the test suite.</p>
504
+ * <p>Suite definition ID of the test suite.</p>
439
505
  */
440
506
  suiteDefinitionId: string | undefined;
441
507
  /**
442
- * <p>Suite run Id of the test suite run.</p>
508
+ * <p>Suite run ID of the test suite run.</p>
443
509
  */
444
510
  suiteRunId: string | undefined;
445
511
  }
@@ -482,7 +548,7 @@ export declare namespace ListSuiteDefinitionsRequest {
482
548
  */
483
549
  export interface SuiteDefinitionInformation {
484
550
  /**
485
- * <p>Suite definition Id of the test suite.</p>
551
+ * <p>Suite definition ID of the test suite.</p>
486
552
  */
487
553
  suiteDefinitionId?: string;
488
554
  /**
@@ -490,7 +556,7 @@ export interface SuiteDefinitionInformation {
490
556
  */
491
557
  suiteDefinitionName?: string;
492
558
  /**
493
- * <p>Specifies the devices under test for the test suite.</p>
559
+ * <p>Specifies the devices that are under test for the test suite.</p>
494
560
  */
495
561
  defaultDevices?: DeviceUnderTest[];
496
562
  /**
@@ -526,11 +592,13 @@ export declare namespace ListSuiteDefinitionsResponse {
526
592
  }
527
593
  export interface ListSuiteRunsRequest {
528
594
  /**
529
- * <p>Lists the test suite runs of the specified test suite based on suite definition Id.</p>
595
+ * <p>Lists the test suite runs of the specified test suite based on suite definition
596
+ * ID.</p>
530
597
  */
531
598
  suiteDefinitionId?: string;
532
599
  /**
533
- * <p>Must be passed along with suiteDefinitionId. Lists the test suite runs of the specified test suite based on suite definition version.</p>
600
+ * <p>Must be passed along with <code>suiteDefinitionId</code>. Lists the test suite runs of
601
+ * the specified test suite based on suite definition version.</p>
534
602
  */
535
603
  suiteDefinitionVersion?: string;
536
604
  /**
@@ -550,10 +618,11 @@ export declare namespace ListSuiteRunsRequest {
550
618
  }
551
619
  /**
552
620
  * <p>Information about the suite run.</p>
621
+ * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">SuiteRunInformation</a> action.</p>
553
622
  */
554
623
  export interface SuiteRunInformation {
555
624
  /**
556
- * <p>Suite definition Id of the suite run.</p>
625
+ * <p>Suite definition ID of the suite run.</p>
557
626
  */
558
627
  suiteDefinitionId?: string;
559
628
  /**
@@ -565,7 +634,7 @@ export interface SuiteRunInformation {
565
634
  */
566
635
  suiteDefinitionName?: string;
567
636
  /**
568
- * <p>Suite run Id of the suite run.</p>
637
+ * <p>Suite run ID of the suite run.</p>
569
638
  */
570
639
  suiteRunId?: string;
571
640
  /**
@@ -643,7 +712,7 @@ export declare namespace ListTagsForResourceResponse {
643
712
  }
644
713
  export interface StartSuiteRunRequest {
645
714
  /**
646
- * <p>Suite definition Id of the test suite.</p>
715
+ * <p>Suite definition ID of the test suite.</p>
647
716
  */
648
717
  suiteDefinitionId: string | undefined;
649
718
  /**
@@ -669,15 +738,15 @@ export declare namespace StartSuiteRunRequest {
669
738
  }
670
739
  export interface StartSuiteRunResponse {
671
740
  /**
672
- * <p>Suite Run Id of the started suite run.</p>
741
+ * <p>Suite Run ID of the started suite run.</p>
673
742
  */
674
743
  suiteRunId?: string;
675
744
  /**
676
- * <p>Amazon resource name of the started suite run.</p>
745
+ * <p>Amazon Resource Name (ARN) of the started suite run.</p>
677
746
  */
678
747
  suiteRunArn?: string;
679
748
  /**
680
- * <p>Date (in Unix epoch time) when the suite run was created.</p>
749
+ * <p>Starts a Device Advisor test suite run based on suite create time.</p>
681
750
  */
682
751
  createdAt?: Date;
683
752
  }
@@ -689,11 +758,11 @@ export declare namespace StartSuiteRunResponse {
689
758
  }
690
759
  export interface StopSuiteRunRequest {
691
760
  /**
692
- * <p>Suite definition Id of the test suite run to be stopped.</p>
761
+ * <p>Suite definition ID of the test suite run to be stopped.</p>
693
762
  */
694
763
  suiteDefinitionId: string | undefined;
695
764
  /**
696
- * <p>Suite run Id of the test suite run to be stopped.</p>
765
+ * <p>Suite run ID of the test suite run to be stopped.</p>
697
766
  */
698
767
  suiteRunId: string | undefined;
699
768
  }
@@ -763,7 +832,7 @@ export declare namespace UntagResourceResponse {
763
832
  }
764
833
  export interface UpdateSuiteDefinitionRequest {
765
834
  /**
766
- * <p>Suite definition Id of the test suite to be updated.</p>
835
+ * <p>Suite definition ID of the test suite to be updated.</p>
767
836
  */
768
837
  suiteDefinitionId: string | undefined;
769
838
  /**
@@ -779,11 +848,11 @@ export declare namespace UpdateSuiteDefinitionRequest {
779
848
  }
780
849
  export interface UpdateSuiteDefinitionResponse {
781
850
  /**
782
- * <p>Suite definition Id of the updated test suite.</p>
851
+ * <p>Suite definition ID of the updated test suite.</p>
783
852
  */
784
853
  suiteDefinitionId?: string;
785
854
  /**
786
- * <p>Amazon Resource name of the updated test suite.</p>
855
+ * <p>Amazon Resource Name (ARN) of the updated test suite.</p>
787
856
  */
788
857
  suiteDefinitionArn?: string;
789
858
  /**
@@ -2,6 +2,7 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@a
2
2
  import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
3
  import { CreateSuiteDefinitionCommandInput, CreateSuiteDefinitionCommandOutput } from "../commands/CreateSuiteDefinitionCommand";
4
4
  import { DeleteSuiteDefinitionCommandInput, DeleteSuiteDefinitionCommandOutput } from "../commands/DeleteSuiteDefinitionCommand";
5
+ import { GetEndpointCommandInput, GetEndpointCommandOutput } from "../commands/GetEndpointCommand";
5
6
  import { GetSuiteDefinitionCommandInput, GetSuiteDefinitionCommandOutput } from "../commands/GetSuiteDefinitionCommand";
6
7
  import { GetSuiteRunCommandInput, GetSuiteRunCommandOutput } from "../commands/GetSuiteRunCommand";
7
8
  import { GetSuiteRunReportCommandInput, GetSuiteRunReportCommandOutput } from "../commands/GetSuiteRunReportCommand";
@@ -15,6 +16,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../comman
15
16
  import { UpdateSuiteDefinitionCommandInput, UpdateSuiteDefinitionCommandOutput } from "../commands/UpdateSuiteDefinitionCommand";
16
17
  export declare const serializeAws_restJson1CreateSuiteDefinitionCommand: (input: CreateSuiteDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
17
18
  export declare const serializeAws_restJson1DeleteSuiteDefinitionCommand: (input: DeleteSuiteDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
19
+ export declare const serializeAws_restJson1GetEndpointCommand: (input: GetEndpointCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
18
20
  export declare const serializeAws_restJson1GetSuiteDefinitionCommand: (input: GetSuiteDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
19
21
  export declare const serializeAws_restJson1GetSuiteRunCommand: (input: GetSuiteRunCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
20
22
  export declare const serializeAws_restJson1GetSuiteRunReportCommand: (input: GetSuiteRunReportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -28,6 +30,7 @@ export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagRe
28
30
  export declare const serializeAws_restJson1UpdateSuiteDefinitionCommand: (input: UpdateSuiteDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
29
31
  export declare const deserializeAws_restJson1CreateSuiteDefinitionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateSuiteDefinitionCommandOutput>;
30
32
  export declare const deserializeAws_restJson1DeleteSuiteDefinitionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteSuiteDefinitionCommandOutput>;
33
+ export declare const deserializeAws_restJson1GetEndpointCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEndpointCommandOutput>;
31
34
  export declare const deserializeAws_restJson1GetSuiteDefinitionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSuiteDefinitionCommandOutput>;
32
35
  export declare const deserializeAws_restJson1GetSuiteRunCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSuiteRunCommandOutput>;
33
36
  export declare const deserializeAws_restJson1GetSuiteRunReportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSuiteRunReportCommandOutput>;
@@ -1,6 +1,7 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
2
  import { CreateSuiteDefinitionCommandInput, CreateSuiteDefinitionCommandOutput } from "./commands/CreateSuiteDefinitionCommand";
3
3
  import { DeleteSuiteDefinitionCommandInput, DeleteSuiteDefinitionCommandOutput } from "./commands/DeleteSuiteDefinitionCommand";
4
+ import { GetEndpointCommandInput, GetEndpointCommandOutput } from "./commands/GetEndpointCommand";
4
5
  import { GetSuiteDefinitionCommandInput, GetSuiteDefinitionCommandOutput } from "./commands/GetSuiteDefinitionCommand";
5
6
  import { GetSuiteRunCommandInput, GetSuiteRunCommandOutput } from "./commands/GetSuiteRunCommand";
6
7
  import { GetSuiteRunReportCommandInput, GetSuiteRunReportCommandOutput } from "./commands/GetSuiteRunReportCommand";
@@ -24,6 +25,10 @@ export declare class IotDeviceAdvisor extends IotDeviceAdvisorClient {
24
25
  deleteSuiteDefinition(args: DeleteSuiteDefinitionCommandInput, cb: (err: any, data?: DeleteSuiteDefinitionCommandOutput) => void): void;
25
26
  deleteSuiteDefinition(args: DeleteSuiteDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSuiteDefinitionCommandOutput) => void): void;
26
27
 
28
+ getEndpoint(args: GetEndpointCommandInput, options?: __HttpHandlerOptions): Promise<GetEndpointCommandOutput>;
29
+ getEndpoint(args: GetEndpointCommandInput, cb: (err: any, data?: GetEndpointCommandOutput) => void): void;
30
+ getEndpoint(args: GetEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEndpointCommandOutput) => void): void;
31
+
27
32
  getSuiteDefinition(args: GetSuiteDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<GetSuiteDefinitionCommandOutput>;
28
33
  getSuiteDefinition(args: GetSuiteDefinitionCommandInput, cb: (err: any, data?: GetSuiteDefinitionCommandOutput) => void): void;
29
34
  getSuiteDefinition(args: GetSuiteDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSuiteDefinitionCommandOutput) => void): void;
@@ -8,6 +8,7 @@ import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, Smith
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { CreateSuiteDefinitionCommandInput, CreateSuiteDefinitionCommandOutput } from "./commands/CreateSuiteDefinitionCommand";
10
10
  import { DeleteSuiteDefinitionCommandInput, DeleteSuiteDefinitionCommandOutput } from "./commands/DeleteSuiteDefinitionCommand";
11
+ import { GetEndpointCommandInput, GetEndpointCommandOutput } from "./commands/GetEndpointCommand";
11
12
  import { GetSuiteDefinitionCommandInput, GetSuiteDefinitionCommandOutput } from "./commands/GetSuiteDefinitionCommand";
12
13
  import { GetSuiteRunCommandInput, GetSuiteRunCommandOutput } from "./commands/GetSuiteRunCommand";
13
14
  import { GetSuiteRunReportCommandInput, GetSuiteRunReportCommandOutput } from "./commands/GetSuiteRunReportCommand";
@@ -19,8 +20,8 @@ import { StopSuiteRunCommandInput, StopSuiteRunCommandOutput } from "./commands/
19
20
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
20
21
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
21
22
  import { UpdateSuiteDefinitionCommandInput, UpdateSuiteDefinitionCommandOutput } from "./commands/UpdateSuiteDefinitionCommand";
22
- export declare type ServiceInputTypes = CreateSuiteDefinitionCommandInput | DeleteSuiteDefinitionCommandInput | GetSuiteDefinitionCommandInput | GetSuiteRunCommandInput | GetSuiteRunReportCommandInput | ListSuiteDefinitionsCommandInput | ListSuiteRunsCommandInput | ListTagsForResourceCommandInput | StartSuiteRunCommandInput | StopSuiteRunCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateSuiteDefinitionCommandInput;
23
- export declare type ServiceOutputTypes = CreateSuiteDefinitionCommandOutput | DeleteSuiteDefinitionCommandOutput | GetSuiteDefinitionCommandOutput | GetSuiteRunCommandOutput | GetSuiteRunReportCommandOutput | ListSuiteDefinitionsCommandOutput | ListSuiteRunsCommandOutput | ListTagsForResourceCommandOutput | StartSuiteRunCommandOutput | StopSuiteRunCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateSuiteDefinitionCommandOutput;
23
+ export declare type ServiceInputTypes = CreateSuiteDefinitionCommandInput | DeleteSuiteDefinitionCommandInput | GetEndpointCommandInput | GetSuiteDefinitionCommandInput | GetSuiteRunCommandInput | GetSuiteRunReportCommandInput | ListSuiteDefinitionsCommandInput | ListSuiteRunsCommandInput | ListTagsForResourceCommandInput | StartSuiteRunCommandInput | StopSuiteRunCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateSuiteDefinitionCommandInput;
24
+ export declare type ServiceOutputTypes = CreateSuiteDefinitionCommandOutput | DeleteSuiteDefinitionCommandOutput | GetEndpointCommandOutput | GetSuiteDefinitionCommandOutput | GetSuiteRunCommandOutput | GetSuiteRunReportCommandOutput | ListSuiteDefinitionsCommandOutput | ListSuiteRunsCommandOutput | ListTagsForResourceCommandOutput | StartSuiteRunCommandOutput | StopSuiteRunCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateSuiteDefinitionCommandOutput;
24
25
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
25
26
 
26
27
  requestHandler?: __HttpHandler;
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { IotDeviceAdvisorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IotDeviceAdvisorClient";
4
+ import { GetEndpointRequest, GetEndpointResponse } from "../models/models_0";
5
+ export interface GetEndpointCommandInput extends GetEndpointRequest {
6
+ }
7
+ export interface GetEndpointCommandOutput extends GetEndpointResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class GetEndpointCommand extends $Command<GetEndpointCommandInput, GetEndpointCommandOutput, IotDeviceAdvisorClientResolvedConfig> {
11
+ readonly input: GetEndpointCommandInput;
12
+ constructor(input: GetEndpointCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IotDeviceAdvisorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetEndpointCommandInput, GetEndpointCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -1,5 +1,6 @@
1
1
  export * from "./CreateSuiteDefinitionCommand";
2
2
  export * from "./DeleteSuiteDefinitionCommand";
3
+ export * from "./GetEndpointCommand";
3
4
  export * from "./GetSuiteDefinitionCommand";
4
5
  export * from "./GetSuiteRunCommand";
5
6
  export * from "./GetSuiteRunReportCommand";
@@ -100,6 +100,35 @@ export declare namespace DeleteSuiteDefinitionResponse {
100
100
 
101
101
  const filterSensitiveLog: (obj: DeleteSuiteDefinitionResponse) => any;
102
102
  }
103
+ export interface GetEndpointRequest {
104
+
105
+ thingArn?: string;
106
+
107
+ certificateArn?: string;
108
+ }
109
+ export declare namespace GetEndpointRequest {
110
+
111
+ const filterSensitiveLog: (obj: GetEndpointRequest) => any;
112
+ }
113
+ export interface GetEndpointResponse {
114
+
115
+ endpoint?: string;
116
+ }
117
+ export declare namespace GetEndpointResponse {
118
+
119
+ const filterSensitiveLog: (obj: GetEndpointResponse) => any;
120
+ }
121
+
122
+ export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
123
+ name: "ResourceNotFoundException";
124
+ $fault: "client";
125
+
126
+ message?: string;
127
+ }
128
+ export declare namespace ResourceNotFoundException {
129
+
130
+ const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
131
+ }
103
132
  export interface GetSuiteDefinitionRequest {
104
133
 
105
134
  suiteDefinitionId: string | undefined;
@@ -134,17 +163,6 @@ export declare namespace GetSuiteDefinitionResponse {
134
163
 
135
164
  const filterSensitiveLog: (obj: GetSuiteDefinitionResponse) => any;
136
165
  }
137
-
138
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
139
- name: "ResourceNotFoundException";
140
- $fault: "client";
141
-
142
- message?: string;
143
- }
144
- export declare namespace ResourceNotFoundException {
145
-
146
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
147
- }
148
166
  export interface GetSuiteRunRequest {
149
167
 
150
168
  suiteDefinitionId: string | undefined;
@@ -172,6 +190,8 @@ export interface SuiteRunConfiguration {
172
190
  primaryDevice?: DeviceUnderTest;
173
191
 
174
192
  selectedTestList?: string[];
193
+
194
+ parallelRun?: boolean;
175
195
  }
176
196
  export declare namespace SuiteRunConfiguration {
177
197
 
@@ -2,6 +2,7 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@a
2
2
  import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
3
  import { CreateSuiteDefinitionCommandInput, CreateSuiteDefinitionCommandOutput } from "../commands/CreateSuiteDefinitionCommand";
4
4
  import { DeleteSuiteDefinitionCommandInput, DeleteSuiteDefinitionCommandOutput } from "../commands/DeleteSuiteDefinitionCommand";
5
+ import { GetEndpointCommandInput, GetEndpointCommandOutput } from "../commands/GetEndpointCommand";
5
6
  import { GetSuiteDefinitionCommandInput, GetSuiteDefinitionCommandOutput } from "../commands/GetSuiteDefinitionCommand";
6
7
  import { GetSuiteRunCommandInput, GetSuiteRunCommandOutput } from "../commands/GetSuiteRunCommand";
7
8
  import { GetSuiteRunReportCommandInput, GetSuiteRunReportCommandOutput } from "../commands/GetSuiteRunReportCommand";
@@ -15,6 +16,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../comman
15
16
  import { UpdateSuiteDefinitionCommandInput, UpdateSuiteDefinitionCommandOutput } from "../commands/UpdateSuiteDefinitionCommand";
16
17
  export declare const serializeAws_restJson1CreateSuiteDefinitionCommand: (input: CreateSuiteDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
17
18
  export declare const serializeAws_restJson1DeleteSuiteDefinitionCommand: (input: DeleteSuiteDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
19
+ export declare const serializeAws_restJson1GetEndpointCommand: (input: GetEndpointCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
18
20
  export declare const serializeAws_restJson1GetSuiteDefinitionCommand: (input: GetSuiteDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
19
21
  export declare const serializeAws_restJson1GetSuiteRunCommand: (input: GetSuiteRunCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
20
22
  export declare const serializeAws_restJson1GetSuiteRunReportCommand: (input: GetSuiteRunReportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -28,6 +30,7 @@ export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagRe
28
30
  export declare const serializeAws_restJson1UpdateSuiteDefinitionCommand: (input: UpdateSuiteDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
29
31
  export declare const deserializeAws_restJson1CreateSuiteDefinitionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateSuiteDefinitionCommandOutput>;
30
32
  export declare const deserializeAws_restJson1DeleteSuiteDefinitionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteSuiteDefinitionCommandOutput>;
33
+ export declare const deserializeAws_restJson1GetEndpointCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEndpointCommandOutput>;
31
34
  export declare const deserializeAws_restJson1GetSuiteDefinitionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSuiteDefinitionCommandOutput>;
32
35
  export declare const deserializeAws_restJson1GetSuiteRunCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSuiteRunCommandOutput>;
33
36
  export declare const deserializeAws_restJson1GetSuiteRunReportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSuiteRunReportCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iotdeviceadvisor",
3
3
  "description": "AWS SDK for JavaScript Iotdeviceadvisor Client for Node.js, Browser and React Native",
4
- "version": "3.40.0",
4
+ "version": "3.45.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "2.0.0",
23
23
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.40.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.40.0",
24
+ "@aws-sdk/client-sts": "3.45.0",
25
+ "@aws-sdk/config-resolver": "3.45.0",
26
+ "@aws-sdk/credential-provider-node": "3.45.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.40.0",
28
28
  "@aws-sdk/hash-node": "3.40.0",
29
29
  "@aws-sdk/invalid-dependency": "3.40.0",
@@ -32,13 +32,13 @@
32
32
  "@aws-sdk/middleware-logger": "3.40.0",
33
33
  "@aws-sdk/middleware-retry": "3.40.0",
34
34
  "@aws-sdk/middleware-serde": "3.40.0",
35
- "@aws-sdk/middleware-signing": "3.40.0",
35
+ "@aws-sdk/middleware-signing": "3.45.0",
36
36
  "@aws-sdk/middleware-stack": "3.40.0",
37
37
  "@aws-sdk/middleware-user-agent": "3.40.0",
38
38
  "@aws-sdk/node-config-provider": "3.40.0",
39
39
  "@aws-sdk/node-http-handler": "3.40.0",
40
40
  "@aws-sdk/protocol-http": "3.40.0",
41
- "@aws-sdk/smithy-client": "3.40.0",
41
+ "@aws-sdk/smithy-client": "3.41.0",
42
42
  "@aws-sdk/types": "3.40.0",
43
43
  "@aws-sdk/url-parser": "3.40.0",
44
44
  "@aws-sdk/util-base64-browser": "3.37.0",