@aws-sdk/client-iotdeviceadvisor 3.42.0 → 3.47.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 (50) hide show
  1. package/CHANGELOG.md +50 -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 +1 -0
  7. package/dist-cjs/models/models_0.js +13 -25
  8. package/dist-cjs/protocols/Aws_restJson1.js +88 -1
  9. package/dist-cjs/runtimeConfig.browser.js +7 -2
  10. package/dist-cjs/runtimeConfig.js +9 -3
  11. package/dist-es/IotDeviceAdvisor.js +15 -0
  12. package/dist-es/commands/GetEndpointCommand.js +39 -0
  13. package/dist-es/commands/index.js +1 -0
  14. package/dist-es/endpoints.js +1 -0
  15. package/dist-es/models/models_0.js +8 -16
  16. package/dist-es/protocols/Aws_restJson1.js +103 -1
  17. package/dist-es/runtimeConfig.browser.js +12 -3
  18. package/dist-es/runtimeConfig.js +13 -6
  19. package/dist-types/IotDeviceAdvisor.d.ts +31 -3
  20. package/dist-types/IotDeviceAdvisorClient.d.ts +17 -4
  21. package/dist-types/commands/CreateSuiteDefinitionCommand.d.ts +1 -0
  22. package/dist-types/commands/DeleteSuiteDefinitionCommand.d.ts +1 -0
  23. package/dist-types/commands/GetEndpointCommand.d.ts +35 -0
  24. package/dist-types/commands/GetSuiteDefinitionCommand.d.ts +1 -0
  25. package/dist-types/commands/GetSuiteRunCommand.d.ts +1 -0
  26. package/dist-types/commands/GetSuiteRunReportCommand.d.ts +1 -0
  27. package/dist-types/commands/ListSuiteDefinitionsCommand.d.ts +1 -0
  28. package/dist-types/commands/ListSuiteRunsCommand.d.ts +3 -2
  29. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
  30. package/dist-types/commands/StartSuiteRunCommand.d.ts +1 -0
  31. package/dist-types/commands/StopSuiteRunCommand.d.ts +1 -0
  32. package/dist-types/commands/TagResourceCommand.d.ts +1 -0
  33. package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
  34. package/dist-types/commands/UpdateSuiteDefinitionCommand.d.ts +1 -0
  35. package/dist-types/commands/index.d.ts +1 -0
  36. package/dist-types/models/models_0.d.ts +123 -78
  37. package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
  38. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  39. package/dist-types/runtimeConfig.d.ts +4 -3
  40. package/dist-types/runtimeConfig.native.d.ts +1 -0
  41. package/dist-types/ts3.4/IotDeviceAdvisor.d.ts +5 -0
  42. package/dist-types/ts3.4/IotDeviceAdvisorClient.d.ts +6 -3
  43. package/dist-types/ts3.4/commands/GetEndpointCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  45. package/dist-types/ts3.4/models/models_0.d.ts +27 -23
  46. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
  47. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  48. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  49. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  50. package/package.json +38 -45
@@ -1,31 +1,25 @@
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
  }
13
- export declare namespace ConflictException {
14
- /**
15
- * @internal
16
- */
17
- const filterSensitiveLog: (obj: ConflictException) => any;
18
- }
19
13
  /**
20
- * <p>Lists all the devices under test</p>
14
+ * <p>Information of a test device. A thing ARN or a certificate ARN is required.</p>
21
15
  */
22
16
  export interface DeviceUnderTest {
23
17
  /**
24
- * <p>Lists devices thing arn</p>
18
+ * <p>Lists devices thing ARN.</p>
25
19
  */
26
20
  thingArn?: string;
27
21
  /**
28
- * <p>Lists devices certificate arn</p>
22
+ * <p>Lists devices certificate ARN.</p>
29
23
  */
30
24
  certificateArn?: string;
31
25
  }
@@ -56,7 +50,7 @@ export interface SuiteDefinitionConfiguration {
56
50
  */
57
51
  rootGroup?: string;
58
52
  /**
59
- * <p>Gets device permission arn.</p>
53
+ * <p>Gets the device permission ARN.</p>
60
54
  */
61
55
  devicePermissionRoleArn?: string;
62
56
  }
@@ -90,7 +84,7 @@ export interface CreateSuiteDefinitionResponse {
90
84
  */
91
85
  suiteDefinitionId?: string;
92
86
  /**
93
- * <p>Creates a Device Advisor test suite with Amazon Resource name.</p>
87
+ * <p>Creates a Device Advisor test suite with Amazon Resource Name (ARN).</p>
94
88
  */
95
89
  suiteDefinitionArn?: string;
96
90
  /**
@@ -109,42 +103,30 @@ export declare namespace CreateSuiteDefinitionResponse {
109
103
  const filterSensitiveLog: (obj: CreateSuiteDefinitionResponse) => any;
110
104
  }
111
105
  /**
112
- * <p>Sends Internal Failure Exception.</p>
106
+ * <p>Sends an Internal Failure exception.</p>
113
107
  */
114
108
  export interface InternalServerException extends __SmithyException, $MetadataBearer {
115
109
  name: "InternalServerException";
116
110
  $fault: "server";
117
111
  /**
118
- * <p>Sends Internal Failure Exception message.</p>
112
+ * <p>Sends an Internal Failure Exception message.</p>
119
113
  */
120
114
  message?: string;
121
115
  }
122
- export declare namespace InternalServerException {
123
- /**
124
- * @internal
125
- */
126
- const filterSensitiveLog: (obj: InternalServerException) => any;
127
- }
128
116
  /**
129
- * <p>Sends invalid request exception.</p>
117
+ * <p>Sends a validation exception.</p>
130
118
  */
131
119
  export interface ValidationException extends __SmithyException, $MetadataBearer {
132
120
  name: "ValidationException";
133
121
  $fault: "client";
134
122
  /**
135
- * <p>Sends invalid request exception message.</p>
123
+ * <p>Sends a Validation Exception message.</p>
136
124
  */
137
125
  message?: string;
138
126
  }
139
- export declare namespace ValidationException {
140
- /**
141
- * @internal
142
- */
143
- const filterSensitiveLog: (obj: ValidationException) => any;
144
- }
145
127
  export interface DeleteSuiteDefinitionRequest {
146
128
  /**
147
- * <p>Suite definition Id of the test suite to be deleted.</p>
129
+ * <p>Suite definition ID of the test suite to be deleted.</p>
148
130
  */
149
131
  suiteDefinitionId: string | undefined;
150
132
  }
@@ -162,9 +144,48 @@ export declare namespace DeleteSuiteDefinitionResponse {
162
144
  */
163
145
  const filterSensitiveLog: (obj: DeleteSuiteDefinitionResponse) => any;
164
146
  }
147
+ export interface GetEndpointRequest {
148
+ /**
149
+ * <p>The thing ARN of the device. This is an optional parameter.</p>
150
+ */
151
+ thingArn?: string;
152
+ /**
153
+ * <p>The certificate ARN of the device. This is an optional parameter.</p>
154
+ */
155
+ certificateArn?: string;
156
+ }
157
+ export declare namespace GetEndpointRequest {
158
+ /**
159
+ * @internal
160
+ */
161
+ const filterSensitiveLog: (obj: GetEndpointRequest) => any;
162
+ }
163
+ export interface GetEndpointResponse {
164
+ /**
165
+ * <p>The response of an Device Advisor endpoint.</p>
166
+ */
167
+ endpoint?: string;
168
+ }
169
+ export declare namespace GetEndpointResponse {
170
+ /**
171
+ * @internal
172
+ */
173
+ const filterSensitiveLog: (obj: GetEndpointResponse) => any;
174
+ }
175
+ /**
176
+ * <p>Sends a Resource Not Found exception.</p>
177
+ */
178
+ export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
179
+ name: "ResourceNotFoundException";
180
+ $fault: "client";
181
+ /**
182
+ * <p>Sends a Resource Not Found Exception message.</p>
183
+ */
184
+ message?: string;
185
+ }
165
186
  export interface GetSuiteDefinitionRequest {
166
187
  /**
167
- * <p>Suite definition Id of the test suite to get.</p>
188
+ * <p>Suite definition ID of the test suite to get.</p>
168
189
  */
169
190
  suiteDefinitionId: string | undefined;
170
191
  /**
@@ -180,7 +201,7 @@ export declare namespace GetSuiteDefinitionRequest {
180
201
  }
181
202
  export interface GetSuiteDefinitionResponse {
182
203
  /**
183
- * <p>Suite definition Id of the suite definition.</p>
204
+ * <p>Suite definition ID of the suite definition.</p>
184
205
  */
185
206
  suiteDefinitionId?: string;
186
207
  /**
@@ -220,30 +241,13 @@ export declare namespace GetSuiteDefinitionResponse {
220
241
  */
221
242
  const filterSensitiveLog: (obj: GetSuiteDefinitionResponse) => any;
222
243
  }
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
244
  export interface GetSuiteRunRequest {
241
245
  /**
242
- * <p>Suite definition Id for the test suite run.</p>
246
+ * <p>Suite definition ID for the test suite run.</p>
243
247
  */
244
248
  suiteDefinitionId: string | undefined;
245
249
  /**
246
- * <p>Suite run Id for the test suite run.</p>
250
+ * <p>Suite run ID for the test suite run.</p>
247
251
  */
248
252
  suiteRunId: string | undefined;
249
253
  }
@@ -276,6 +280,10 @@ export interface SuiteRunConfiguration {
276
280
  * <p>Gets test case list.</p>
277
281
  */
278
282
  selectedTestList?: string[];
283
+ /**
284
+ * <p>TRUE if multiple test suites run in parallel.</p>
285
+ */
286
+ parallelRun?: boolean;
279
287
  }
280
288
  export declare namespace SuiteRunConfiguration {
281
289
  /**
@@ -295,23 +303,57 @@ export declare enum Status {
295
303
  STOPPING = "STOPPING"
296
304
  }
297
305
  /**
298
- * <p>Provides test case run.</p>
306
+ * <p>Provides the test case run.</p>
299
307
  */
300
308
  export interface TestCaseRun {
301
309
  /**
302
- * <p>Provides test case run Id.</p>
310
+ * <p>Provides the test case run ID.</p>
303
311
  */
304
312
  testCaseRunId?: string;
305
313
  /**
306
- * <p>Provides test case run definition Id.</p>
314
+ * <p>Provides the test case run definition ID.</p>
307
315
  */
308
316
  testCaseDefinitionId?: string;
309
317
  /**
310
- * <p>Provides test case run definition Name.</p>
318
+ * <p>Provides the test case run definition name.</p>
311
319
  */
312
320
  testCaseDefinitionName?: string;
313
321
  /**
314
- * <p>Provides test case run status.</p>
322
+ * <p>Provides the test case run status. Status is one of the following:</p>
323
+ * <ul>
324
+ * <li>
325
+ * <p>
326
+ * <code>PASS</code>: Test passed.</p>
327
+ * </li>
328
+ * <li>
329
+ * <p>
330
+ * <code>FAIL</code>: Test failed.</p>
331
+ * </li>
332
+ * <li>
333
+ * <p>
334
+ * <code>PENDING</code>: Test has not started running but is scheduled.</p>
335
+ * </li>
336
+ * <li>
337
+ * <p>
338
+ * <code>RUNNING</code>: Test is running.</p>
339
+ * </li>
340
+ * <li>
341
+ * <p>
342
+ * <code>STOPPING</code>: Test is performing cleanup steps. You will see this status only if you stop a suite run.</p>
343
+ * </li>
344
+ * <li>
345
+ * <p>
346
+ * <code>STOPPED</code> Test is stopped. You will see this status only if you stop a suite run.</p>
347
+ * </li>
348
+ * <li>
349
+ * <p>
350
+ * <code>PASS_WITH_WARNINGS</code>: Test passed with warnings.</p>
351
+ * </li>
352
+ * <li>
353
+ * <p>
354
+ * <code>ERORR</code>: Test faced an error when running due to an internal issue.</p>
355
+ * </li>
356
+ * </ul>
315
357
  */
316
358
  status?: Status | string;
317
359
  /**
@@ -323,7 +365,7 @@ export interface TestCaseRun {
323
365
  */
324
366
  endTime?: Date;
325
367
  /**
326
- * <p>Provides test case run log Url.</p>
368
+ * <p>Provides test case run log URL.</p>
327
369
  */
328
370
  logUrl?: string;
329
371
  /**
@@ -346,7 +388,7 @@ export declare namespace TestCaseRun {
346
388
  */
347
389
  export interface GroupResult {
348
390
  /**
349
- * <p>Group result Id.</p>
391
+ * <p>Group result ID.</p>
350
392
  */
351
393
  groupId?: string;
352
394
  /**
@@ -381,7 +423,7 @@ export declare namespace TestResult {
381
423
  }
382
424
  export interface GetSuiteRunResponse {
383
425
  /**
384
- * <p>Suite definition Id for the test suite run.</p>
426
+ * <p>Suite definition ID for the test suite run.</p>
385
427
  */
386
428
  suiteDefinitionId?: string;
387
429
  /**
@@ -389,7 +431,7 @@ export interface GetSuiteRunResponse {
389
431
  */
390
432
  suiteDefinitionVersion?: string;
391
433
  /**
392
- * <p>Suite run Id for the test suite run.</p>
434
+ * <p>Suite run ID for the test suite run.</p>
393
435
  */
394
436
  suiteRunId?: string;
395
437
  /**
@@ -405,7 +447,7 @@ export interface GetSuiteRunResponse {
405
447
  */
406
448
  testResult?: TestResult;
407
449
  /**
408
- * <p>Date (in Unix epoch time) when the test suite run was started.</p>
450
+ * <p>Date (in Unix epoch time) when the test suite run started.</p>
409
451
  */
410
452
  startTime?: Date;
411
453
  /**
@@ -435,11 +477,11 @@ export declare namespace GetSuiteRunResponse {
435
477
  }
436
478
  export interface GetSuiteRunReportRequest {
437
479
  /**
438
- * <p>Suite definition Id of the test suite.</p>
480
+ * <p>Suite definition ID of the test suite.</p>
439
481
  */
440
482
  suiteDefinitionId: string | undefined;
441
483
  /**
442
- * <p>Suite run Id of the test suite run.</p>
484
+ * <p>Suite run ID of the test suite run.</p>
443
485
  */
444
486
  suiteRunId: string | undefined;
445
487
  }
@@ -482,7 +524,7 @@ export declare namespace ListSuiteDefinitionsRequest {
482
524
  */
483
525
  export interface SuiteDefinitionInformation {
484
526
  /**
485
- * <p>Suite definition Id of the test suite.</p>
527
+ * <p>Suite definition ID of the test suite.</p>
486
528
  */
487
529
  suiteDefinitionId?: string;
488
530
  /**
@@ -490,7 +532,7 @@ export interface SuiteDefinitionInformation {
490
532
  */
491
533
  suiteDefinitionName?: string;
492
534
  /**
493
- * <p>Specifies the devices under test for the test suite.</p>
535
+ * <p>Specifies the devices that are under test for the test suite.</p>
494
536
  */
495
537
  defaultDevices?: DeviceUnderTest[];
496
538
  /**
@@ -526,11 +568,13 @@ export declare namespace ListSuiteDefinitionsResponse {
526
568
  }
527
569
  export interface ListSuiteRunsRequest {
528
570
  /**
529
- * <p>Lists the test suite runs of the specified test suite based on suite definition Id.</p>
571
+ * <p>Lists the test suite runs of the specified test suite based on suite definition
572
+ * ID.</p>
530
573
  */
531
574
  suiteDefinitionId?: string;
532
575
  /**
533
- * <p>Must be passed along with suiteDefinitionId. Lists the test suite runs of the specified test suite based on suite definition version.</p>
576
+ * <p>Must be passed along with <code>suiteDefinitionId</code>. Lists the test suite runs of
577
+ * the specified test suite based on suite definition version.</p>
534
578
  */
535
579
  suiteDefinitionVersion?: string;
536
580
  /**
@@ -550,10 +594,11 @@ export declare namespace ListSuiteRunsRequest {
550
594
  }
551
595
  /**
552
596
  * <p>Information about the suite run.</p>
597
+ * <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
598
  */
554
599
  export interface SuiteRunInformation {
555
600
  /**
556
- * <p>Suite definition Id of the suite run.</p>
601
+ * <p>Suite definition ID of the suite run.</p>
557
602
  */
558
603
  suiteDefinitionId?: string;
559
604
  /**
@@ -565,7 +610,7 @@ export interface SuiteRunInformation {
565
610
  */
566
611
  suiteDefinitionName?: string;
567
612
  /**
568
- * <p>Suite run Id of the suite run.</p>
613
+ * <p>Suite run ID of the suite run.</p>
569
614
  */
570
615
  suiteRunId?: string;
571
616
  /**
@@ -643,7 +688,7 @@ export declare namespace ListTagsForResourceResponse {
643
688
  }
644
689
  export interface StartSuiteRunRequest {
645
690
  /**
646
- * <p>Suite definition Id of the test suite.</p>
691
+ * <p>Suite definition ID of the test suite.</p>
647
692
  */
648
693
  suiteDefinitionId: string | undefined;
649
694
  /**
@@ -669,15 +714,15 @@ export declare namespace StartSuiteRunRequest {
669
714
  }
670
715
  export interface StartSuiteRunResponse {
671
716
  /**
672
- * <p>Suite Run Id of the started suite run.</p>
717
+ * <p>Suite Run ID of the started suite run.</p>
673
718
  */
674
719
  suiteRunId?: string;
675
720
  /**
676
- * <p>Amazon resource name of the started suite run.</p>
721
+ * <p>Amazon Resource Name (ARN) of the started suite run.</p>
677
722
  */
678
723
  suiteRunArn?: string;
679
724
  /**
680
- * <p>Date (in Unix epoch time) when the suite run was created.</p>
725
+ * <p>Starts a Device Advisor test suite run based on suite create time.</p>
681
726
  */
682
727
  createdAt?: Date;
683
728
  }
@@ -689,11 +734,11 @@ export declare namespace StartSuiteRunResponse {
689
734
  }
690
735
  export interface StopSuiteRunRequest {
691
736
  /**
692
- * <p>Suite definition Id of the test suite run to be stopped.</p>
737
+ * <p>Suite definition ID of the test suite run to be stopped.</p>
693
738
  */
694
739
  suiteDefinitionId: string | undefined;
695
740
  /**
696
- * <p>Suite run Id of the test suite run to be stopped.</p>
741
+ * <p>Suite run ID of the test suite run to be stopped.</p>
697
742
  */
698
743
  suiteRunId: string | undefined;
699
744
  }
@@ -763,7 +808,7 @@ export declare namespace UntagResourceResponse {
763
808
  }
764
809
  export interface UpdateSuiteDefinitionRequest {
765
810
  /**
766
- * <p>Suite definition Id of the test suite to be updated.</p>
811
+ * <p>Suite definition ID of the test suite to be updated.</p>
767
812
  */
768
813
  suiteDefinitionId: string | undefined;
769
814
  /**
@@ -779,11 +824,11 @@ export declare namespace UpdateSuiteDefinitionRequest {
779
824
  }
780
825
  export interface UpdateSuiteDefinitionResponse {
781
826
  /**
782
- * <p>Suite definition Id of the updated test suite.</p>
827
+ * <p>Suite definition ID of the updated test suite.</p>
783
828
  */
784
829
  suiteDefinitionId?: string;
785
830
  /**
786
- * <p>Amazon Resource name of the updated test suite.</p>
831
+ * <p>Amazon Resource Name (ARN) of the updated test suite.</p>
787
832
  */
788
833
  suiteDefinitionArn?: string;
789
834
  /**
@@ -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,10 +1,11 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { IotDeviceAdvisorClientConfig } from "./IotDeviceAdvisorClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: IotDeviceAdvisorClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: IotDeviceAdvisorClientConfig) =>
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<any>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,18 +1,19 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { IotDeviceAdvisorClientConfig } from "./IotDeviceAdvisorClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: IotDeviceAdvisorClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<string>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: IotDeviceAdvisorClientConfig) =>
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
30
  tls?: boolean | undefined;
30
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -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;
@@ -4,10 +4,11 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
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;
@@ -64,6 +65,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
64
65
  regionInfoProvider?: RegionInfoProvider;
65
66
 
66
67
  defaultUserAgentProvider?: Provider<__UserAgent>;
68
+
69
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
67
70
  }
68
71
  declare type IotDeviceAdvisorClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
69
72
 
@@ -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";