@aws-sdk/client-iotdeviceadvisor 3.315.0 → 3.319.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,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.IotDeviceAdvisor = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
4
5
  const CreateSuiteDefinitionCommand_1 = require("./commands/CreateSuiteDefinitionCommand");
5
6
  const DeleteSuiteDefinitionCommand_1 = require("./commands/DeleteSuiteDefinitionCommand");
6
7
  const GetEndpointCommand_1 = require("./commands/GetEndpointCommand");
@@ -16,202 +17,23 @@ const TagResourceCommand_1 = require("./commands/TagResourceCommand");
16
17
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
17
18
  const UpdateSuiteDefinitionCommand_1 = require("./commands/UpdateSuiteDefinitionCommand");
18
19
  const IotDeviceAdvisorClient_1 = require("./IotDeviceAdvisorClient");
20
+ const commands = {
21
+ CreateSuiteDefinitionCommand: CreateSuiteDefinitionCommand_1.CreateSuiteDefinitionCommand,
22
+ DeleteSuiteDefinitionCommand: DeleteSuiteDefinitionCommand_1.DeleteSuiteDefinitionCommand,
23
+ GetEndpointCommand: GetEndpointCommand_1.GetEndpointCommand,
24
+ GetSuiteDefinitionCommand: GetSuiteDefinitionCommand_1.GetSuiteDefinitionCommand,
25
+ GetSuiteRunCommand: GetSuiteRunCommand_1.GetSuiteRunCommand,
26
+ GetSuiteRunReportCommand: GetSuiteRunReportCommand_1.GetSuiteRunReportCommand,
27
+ ListSuiteDefinitionsCommand: ListSuiteDefinitionsCommand_1.ListSuiteDefinitionsCommand,
28
+ ListSuiteRunsCommand: ListSuiteRunsCommand_1.ListSuiteRunsCommand,
29
+ ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
30
+ StartSuiteRunCommand: StartSuiteRunCommand_1.StartSuiteRunCommand,
31
+ StopSuiteRunCommand: StopSuiteRunCommand_1.StopSuiteRunCommand,
32
+ TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
33
+ UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
34
+ UpdateSuiteDefinitionCommand: UpdateSuiteDefinitionCommand_1.UpdateSuiteDefinitionCommand,
35
+ };
19
36
  class IotDeviceAdvisor extends IotDeviceAdvisorClient_1.IotDeviceAdvisorClient {
20
- createSuiteDefinition(args, optionsOrCb, cb) {
21
- const command = new CreateSuiteDefinitionCommand_1.CreateSuiteDefinitionCommand(args);
22
- if (typeof optionsOrCb === "function") {
23
- this.send(command, optionsOrCb);
24
- }
25
- else if (typeof cb === "function") {
26
- if (typeof optionsOrCb !== "object")
27
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
28
- this.send(command, optionsOrCb || {}, cb);
29
- }
30
- else {
31
- return this.send(command, optionsOrCb);
32
- }
33
- }
34
- deleteSuiteDefinition(args, optionsOrCb, cb) {
35
- const command = new DeleteSuiteDefinitionCommand_1.DeleteSuiteDefinitionCommand(args);
36
- if (typeof optionsOrCb === "function") {
37
- this.send(command, optionsOrCb);
38
- }
39
- else if (typeof cb === "function") {
40
- if (typeof optionsOrCb !== "object")
41
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
42
- this.send(command, optionsOrCb || {}, cb);
43
- }
44
- else {
45
- return this.send(command, optionsOrCb);
46
- }
47
- }
48
- getEndpoint(args, optionsOrCb, cb) {
49
- const command = new GetEndpointCommand_1.GetEndpointCommand(args);
50
- if (typeof optionsOrCb === "function") {
51
- this.send(command, optionsOrCb);
52
- }
53
- else if (typeof cb === "function") {
54
- if (typeof optionsOrCb !== "object")
55
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
56
- this.send(command, optionsOrCb || {}, cb);
57
- }
58
- else {
59
- return this.send(command, optionsOrCb);
60
- }
61
- }
62
- getSuiteDefinition(args, optionsOrCb, cb) {
63
- const command = new GetSuiteDefinitionCommand_1.GetSuiteDefinitionCommand(args);
64
- if (typeof optionsOrCb === "function") {
65
- this.send(command, optionsOrCb);
66
- }
67
- else if (typeof cb === "function") {
68
- if (typeof optionsOrCb !== "object")
69
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
70
- this.send(command, optionsOrCb || {}, cb);
71
- }
72
- else {
73
- return this.send(command, optionsOrCb);
74
- }
75
- }
76
- getSuiteRun(args, optionsOrCb, cb) {
77
- const command = new GetSuiteRunCommand_1.GetSuiteRunCommand(args);
78
- if (typeof optionsOrCb === "function") {
79
- this.send(command, optionsOrCb);
80
- }
81
- else if (typeof cb === "function") {
82
- if (typeof optionsOrCb !== "object")
83
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
84
- this.send(command, optionsOrCb || {}, cb);
85
- }
86
- else {
87
- return this.send(command, optionsOrCb);
88
- }
89
- }
90
- getSuiteRunReport(args, optionsOrCb, cb) {
91
- const command = new GetSuiteRunReportCommand_1.GetSuiteRunReportCommand(args);
92
- if (typeof optionsOrCb === "function") {
93
- this.send(command, optionsOrCb);
94
- }
95
- else if (typeof cb === "function") {
96
- if (typeof optionsOrCb !== "object")
97
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
98
- this.send(command, optionsOrCb || {}, cb);
99
- }
100
- else {
101
- return this.send(command, optionsOrCb);
102
- }
103
- }
104
- listSuiteDefinitions(args, optionsOrCb, cb) {
105
- const command = new ListSuiteDefinitionsCommand_1.ListSuiteDefinitionsCommand(args);
106
- if (typeof optionsOrCb === "function") {
107
- this.send(command, optionsOrCb);
108
- }
109
- else if (typeof cb === "function") {
110
- if (typeof optionsOrCb !== "object")
111
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
112
- this.send(command, optionsOrCb || {}, cb);
113
- }
114
- else {
115
- return this.send(command, optionsOrCb);
116
- }
117
- }
118
- listSuiteRuns(args, optionsOrCb, cb) {
119
- const command = new ListSuiteRunsCommand_1.ListSuiteRunsCommand(args);
120
- if (typeof optionsOrCb === "function") {
121
- this.send(command, optionsOrCb);
122
- }
123
- else if (typeof cb === "function") {
124
- if (typeof optionsOrCb !== "object")
125
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
126
- this.send(command, optionsOrCb || {}, cb);
127
- }
128
- else {
129
- return this.send(command, optionsOrCb);
130
- }
131
- }
132
- listTagsForResource(args, optionsOrCb, cb) {
133
- const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
134
- if (typeof optionsOrCb === "function") {
135
- this.send(command, optionsOrCb);
136
- }
137
- else if (typeof cb === "function") {
138
- if (typeof optionsOrCb !== "object")
139
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
140
- this.send(command, optionsOrCb || {}, cb);
141
- }
142
- else {
143
- return this.send(command, optionsOrCb);
144
- }
145
- }
146
- startSuiteRun(args, optionsOrCb, cb) {
147
- const command = new StartSuiteRunCommand_1.StartSuiteRunCommand(args);
148
- if (typeof optionsOrCb === "function") {
149
- this.send(command, optionsOrCb);
150
- }
151
- else if (typeof cb === "function") {
152
- if (typeof optionsOrCb !== "object")
153
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
154
- this.send(command, optionsOrCb || {}, cb);
155
- }
156
- else {
157
- return this.send(command, optionsOrCb);
158
- }
159
- }
160
- stopSuiteRun(args, optionsOrCb, cb) {
161
- const command = new StopSuiteRunCommand_1.StopSuiteRunCommand(args);
162
- if (typeof optionsOrCb === "function") {
163
- this.send(command, optionsOrCb);
164
- }
165
- else if (typeof cb === "function") {
166
- if (typeof optionsOrCb !== "object")
167
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
168
- this.send(command, optionsOrCb || {}, cb);
169
- }
170
- else {
171
- return this.send(command, optionsOrCb);
172
- }
173
- }
174
- tagResource(args, optionsOrCb, cb) {
175
- const command = new TagResourceCommand_1.TagResourceCommand(args);
176
- if (typeof optionsOrCb === "function") {
177
- this.send(command, optionsOrCb);
178
- }
179
- else if (typeof cb === "function") {
180
- if (typeof optionsOrCb !== "object")
181
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
182
- this.send(command, optionsOrCb || {}, cb);
183
- }
184
- else {
185
- return this.send(command, optionsOrCb);
186
- }
187
- }
188
- untagResource(args, optionsOrCb, cb) {
189
- const command = new UntagResourceCommand_1.UntagResourceCommand(args);
190
- if (typeof optionsOrCb === "function") {
191
- this.send(command, optionsOrCb);
192
- }
193
- else if (typeof cb === "function") {
194
- if (typeof optionsOrCb !== "object")
195
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
196
- this.send(command, optionsOrCb || {}, cb);
197
- }
198
- else {
199
- return this.send(command, optionsOrCb);
200
- }
201
- }
202
- updateSuiteDefinition(args, optionsOrCb, cb) {
203
- const command = new UpdateSuiteDefinitionCommand_1.UpdateSuiteDefinitionCommand(args);
204
- if (typeof optionsOrCb === "function") {
205
- this.send(command, optionsOrCb);
206
- }
207
- else if (typeof cb === "function") {
208
- if (typeof optionsOrCb !== "object")
209
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
210
- this.send(command, optionsOrCb || {}, cb);
211
- }
212
- else {
213
- return this.send(command, optionsOrCb);
214
- }
215
- }
216
37
  }
217
38
  exports.IotDeviceAdvisor = IotDeviceAdvisor;
39
+ (0, smithy_client_1.createAggregatedClient)(commands, IotDeviceAdvisor);
@@ -1,3 +1,4 @@
1
+ import { createAggregatedClient } from "@aws-sdk/smithy-client";
1
2
  import { CreateSuiteDefinitionCommand, } from "./commands/CreateSuiteDefinitionCommand";
2
3
  import { DeleteSuiteDefinitionCommand, } from "./commands/DeleteSuiteDefinitionCommand";
3
4
  import { GetEndpointCommand } from "./commands/GetEndpointCommand";
@@ -13,201 +14,22 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
13
14
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
14
15
  import { UpdateSuiteDefinitionCommand, } from "./commands/UpdateSuiteDefinitionCommand";
15
16
  import { IotDeviceAdvisorClient } from "./IotDeviceAdvisorClient";
17
+ const commands = {
18
+ CreateSuiteDefinitionCommand,
19
+ DeleteSuiteDefinitionCommand,
20
+ GetEndpointCommand,
21
+ GetSuiteDefinitionCommand,
22
+ GetSuiteRunCommand,
23
+ GetSuiteRunReportCommand,
24
+ ListSuiteDefinitionsCommand,
25
+ ListSuiteRunsCommand,
26
+ ListTagsForResourceCommand,
27
+ StartSuiteRunCommand,
28
+ StopSuiteRunCommand,
29
+ TagResourceCommand,
30
+ UntagResourceCommand,
31
+ UpdateSuiteDefinitionCommand,
32
+ };
16
33
  export class IotDeviceAdvisor extends IotDeviceAdvisorClient {
17
- createSuiteDefinition(args, optionsOrCb, cb) {
18
- const command = new CreateSuiteDefinitionCommand(args);
19
- if (typeof optionsOrCb === "function") {
20
- this.send(command, optionsOrCb);
21
- }
22
- else if (typeof cb === "function") {
23
- if (typeof optionsOrCb !== "object")
24
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
25
- this.send(command, optionsOrCb || {}, cb);
26
- }
27
- else {
28
- return this.send(command, optionsOrCb);
29
- }
30
- }
31
- deleteSuiteDefinition(args, optionsOrCb, cb) {
32
- const command = new DeleteSuiteDefinitionCommand(args);
33
- if (typeof optionsOrCb === "function") {
34
- this.send(command, optionsOrCb);
35
- }
36
- else if (typeof cb === "function") {
37
- if (typeof optionsOrCb !== "object")
38
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
39
- this.send(command, optionsOrCb || {}, cb);
40
- }
41
- else {
42
- return this.send(command, optionsOrCb);
43
- }
44
- }
45
- getEndpoint(args, optionsOrCb, cb) {
46
- const command = new GetEndpointCommand(args);
47
- if (typeof optionsOrCb === "function") {
48
- this.send(command, optionsOrCb);
49
- }
50
- else if (typeof cb === "function") {
51
- if (typeof optionsOrCb !== "object")
52
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
53
- this.send(command, optionsOrCb || {}, cb);
54
- }
55
- else {
56
- return this.send(command, optionsOrCb);
57
- }
58
- }
59
- getSuiteDefinition(args, optionsOrCb, cb) {
60
- const command = new GetSuiteDefinitionCommand(args);
61
- if (typeof optionsOrCb === "function") {
62
- this.send(command, optionsOrCb);
63
- }
64
- else if (typeof cb === "function") {
65
- if (typeof optionsOrCb !== "object")
66
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
67
- this.send(command, optionsOrCb || {}, cb);
68
- }
69
- else {
70
- return this.send(command, optionsOrCb);
71
- }
72
- }
73
- getSuiteRun(args, optionsOrCb, cb) {
74
- const command = new GetSuiteRunCommand(args);
75
- if (typeof optionsOrCb === "function") {
76
- this.send(command, optionsOrCb);
77
- }
78
- else if (typeof cb === "function") {
79
- if (typeof optionsOrCb !== "object")
80
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
81
- this.send(command, optionsOrCb || {}, cb);
82
- }
83
- else {
84
- return this.send(command, optionsOrCb);
85
- }
86
- }
87
- getSuiteRunReport(args, optionsOrCb, cb) {
88
- const command = new GetSuiteRunReportCommand(args);
89
- if (typeof optionsOrCb === "function") {
90
- this.send(command, optionsOrCb);
91
- }
92
- else if (typeof cb === "function") {
93
- if (typeof optionsOrCb !== "object")
94
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
95
- this.send(command, optionsOrCb || {}, cb);
96
- }
97
- else {
98
- return this.send(command, optionsOrCb);
99
- }
100
- }
101
- listSuiteDefinitions(args, optionsOrCb, cb) {
102
- const command = new ListSuiteDefinitionsCommand(args);
103
- if (typeof optionsOrCb === "function") {
104
- this.send(command, optionsOrCb);
105
- }
106
- else if (typeof cb === "function") {
107
- if (typeof optionsOrCb !== "object")
108
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
109
- this.send(command, optionsOrCb || {}, cb);
110
- }
111
- else {
112
- return this.send(command, optionsOrCb);
113
- }
114
- }
115
- listSuiteRuns(args, optionsOrCb, cb) {
116
- const command = new ListSuiteRunsCommand(args);
117
- if (typeof optionsOrCb === "function") {
118
- this.send(command, optionsOrCb);
119
- }
120
- else if (typeof cb === "function") {
121
- if (typeof optionsOrCb !== "object")
122
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
123
- this.send(command, optionsOrCb || {}, cb);
124
- }
125
- else {
126
- return this.send(command, optionsOrCb);
127
- }
128
- }
129
- listTagsForResource(args, optionsOrCb, cb) {
130
- const command = new ListTagsForResourceCommand(args);
131
- if (typeof optionsOrCb === "function") {
132
- this.send(command, optionsOrCb);
133
- }
134
- else if (typeof cb === "function") {
135
- if (typeof optionsOrCb !== "object")
136
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
137
- this.send(command, optionsOrCb || {}, cb);
138
- }
139
- else {
140
- return this.send(command, optionsOrCb);
141
- }
142
- }
143
- startSuiteRun(args, optionsOrCb, cb) {
144
- const command = new StartSuiteRunCommand(args);
145
- if (typeof optionsOrCb === "function") {
146
- this.send(command, optionsOrCb);
147
- }
148
- else if (typeof cb === "function") {
149
- if (typeof optionsOrCb !== "object")
150
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
151
- this.send(command, optionsOrCb || {}, cb);
152
- }
153
- else {
154
- return this.send(command, optionsOrCb);
155
- }
156
- }
157
- stopSuiteRun(args, optionsOrCb, cb) {
158
- const command = new StopSuiteRunCommand(args);
159
- if (typeof optionsOrCb === "function") {
160
- this.send(command, optionsOrCb);
161
- }
162
- else if (typeof cb === "function") {
163
- if (typeof optionsOrCb !== "object")
164
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
165
- this.send(command, optionsOrCb || {}, cb);
166
- }
167
- else {
168
- return this.send(command, optionsOrCb);
169
- }
170
- }
171
- tagResource(args, optionsOrCb, cb) {
172
- const command = new TagResourceCommand(args);
173
- if (typeof optionsOrCb === "function") {
174
- this.send(command, optionsOrCb);
175
- }
176
- else if (typeof cb === "function") {
177
- if (typeof optionsOrCb !== "object")
178
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
179
- this.send(command, optionsOrCb || {}, cb);
180
- }
181
- else {
182
- return this.send(command, optionsOrCb);
183
- }
184
- }
185
- untagResource(args, optionsOrCb, cb) {
186
- const command = new UntagResourceCommand(args);
187
- if (typeof optionsOrCb === "function") {
188
- this.send(command, optionsOrCb);
189
- }
190
- else if (typeof cb === "function") {
191
- if (typeof optionsOrCb !== "object")
192
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
193
- this.send(command, optionsOrCb || {}, cb);
194
- }
195
- else {
196
- return this.send(command, optionsOrCb);
197
- }
198
- }
199
- updateSuiteDefinition(args, optionsOrCb, cb) {
200
- const command = new UpdateSuiteDefinitionCommand(args);
201
- if (typeof optionsOrCb === "function") {
202
- this.send(command, optionsOrCb);
203
- }
204
- else if (typeof cb === "function") {
205
- if (typeof optionsOrCb !== "object")
206
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
207
- this.send(command, optionsOrCb || {}, cb);
208
- }
209
- else {
210
- return this.send(command, optionsOrCb);
211
- }
212
- }
213
34
  }
35
+ createAggregatedClient(commands, IotDeviceAdvisor);
@@ -14,129 +14,103 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
14
14
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
15
15
  import { UpdateSuiteDefinitionCommandInput, UpdateSuiteDefinitionCommandOutput } from "./commands/UpdateSuiteDefinitionCommand";
16
16
  import { IotDeviceAdvisorClient } from "./IotDeviceAdvisorClient";
17
- /**
18
- * @public
19
- * <p>Amazon Web Services IoT Core Device Advisor is a cloud-based, fully managed test capability for validating IoT
20
- * devices during device software development. Device Advisor provides pre-built tests that you
21
- * can use to validate IoT devices for reliable and secure connectivity with Amazon Web Services IoT Core
22
- * before deploying devices to production. By using Device Advisor, you can confirm that your
23
- * devices can connect to Amazon Web Services IoT Core, follow security best practices and, if applicable,
24
- * receive software updates from IoT Device Management. You can also download signed
25
- * qualification reports to submit to the Amazon Web Services Partner Network to get your device
26
- * qualified for the Amazon Web Services Partner Device Catalog without the need to send your device in
27
- * and wait for it to be tested.</p>
28
- */
29
- export declare class IotDeviceAdvisor extends IotDeviceAdvisorClient {
17
+ export interface IotDeviceAdvisor {
30
18
  /**
31
- * @public
32
- * <p>Creates a Device Advisor test suite.</p>
33
- * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">CreateSuiteDefinition</a> action.</p>
19
+ * @see {@link CreateSuiteDefinitionCommand}
34
20
  */
35
21
  createSuiteDefinition(args: CreateSuiteDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<CreateSuiteDefinitionCommandOutput>;
36
22
  createSuiteDefinition(args: CreateSuiteDefinitionCommandInput, cb: (err: any, data?: CreateSuiteDefinitionCommandOutput) => void): void;
37
23
  createSuiteDefinition(args: CreateSuiteDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSuiteDefinitionCommandOutput) => void): void;
38
24
  /**
39
- * @public
40
- * <p>Deletes a Device Advisor test suite.</p>
41
- * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">DeleteSuiteDefinition</a> action.</p>
25
+ * @see {@link DeleteSuiteDefinitionCommand}
42
26
  */
43
27
  deleteSuiteDefinition(args: DeleteSuiteDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSuiteDefinitionCommandOutput>;
44
28
  deleteSuiteDefinition(args: DeleteSuiteDefinitionCommandInput, cb: (err: any, data?: DeleteSuiteDefinitionCommandOutput) => void): void;
45
29
  deleteSuiteDefinition(args: DeleteSuiteDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSuiteDefinitionCommandOutput) => void): void;
46
30
  /**
47
- * @public
48
- * <p>Gets information about an Device Advisor endpoint.</p>
31
+ * @see {@link GetEndpointCommand}
49
32
  */
50
33
  getEndpoint(args: GetEndpointCommandInput, options?: __HttpHandlerOptions): Promise<GetEndpointCommandOutput>;
51
34
  getEndpoint(args: GetEndpointCommandInput, cb: (err: any, data?: GetEndpointCommandOutput) => void): void;
52
35
  getEndpoint(args: GetEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEndpointCommandOutput) => void): void;
53
36
  /**
54
- * @public
55
- * <p>Gets information about a Device Advisor test suite.</p>
56
- * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">GetSuiteDefinition</a> action.</p>
37
+ * @see {@link GetSuiteDefinitionCommand}
57
38
  */
58
39
  getSuiteDefinition(args: GetSuiteDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<GetSuiteDefinitionCommandOutput>;
59
40
  getSuiteDefinition(args: GetSuiteDefinitionCommandInput, cb: (err: any, data?: GetSuiteDefinitionCommandOutput) => void): void;
60
41
  getSuiteDefinition(args: GetSuiteDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSuiteDefinitionCommandOutput) => void): void;
61
42
  /**
62
- * @public
63
- * <p>Gets information about a Device Advisor test suite run.</p>
64
- * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">GetSuiteRun</a> action.</p>
43
+ * @see {@link GetSuiteRunCommand}
65
44
  */
66
45
  getSuiteRun(args: GetSuiteRunCommandInput, options?: __HttpHandlerOptions): Promise<GetSuiteRunCommandOutput>;
67
46
  getSuiteRun(args: GetSuiteRunCommandInput, cb: (err: any, data?: GetSuiteRunCommandOutput) => void): void;
68
47
  getSuiteRun(args: GetSuiteRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSuiteRunCommandOutput) => void): void;
69
48
  /**
70
- * @public
71
- * <p>Gets a report download link for a successful Device Advisor qualifying test suite run.</p>
72
- * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">GetSuiteRunReport</a> action.</p>
49
+ * @see {@link GetSuiteRunReportCommand}
73
50
  */
74
51
  getSuiteRunReport(args: GetSuiteRunReportCommandInput, options?: __HttpHandlerOptions): Promise<GetSuiteRunReportCommandOutput>;
75
52
  getSuiteRunReport(args: GetSuiteRunReportCommandInput, cb: (err: any, data?: GetSuiteRunReportCommandOutput) => void): void;
76
53
  getSuiteRunReport(args: GetSuiteRunReportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSuiteRunReportCommandOutput) => void): void;
77
54
  /**
78
- * @public
79
- * <p>Lists the Device Advisor test suites you have created.</p>
80
- * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">ListSuiteDefinitions</a> action.</p>
55
+ * @see {@link ListSuiteDefinitionsCommand}
81
56
  */
82
57
  listSuiteDefinitions(args: ListSuiteDefinitionsCommandInput, options?: __HttpHandlerOptions): Promise<ListSuiteDefinitionsCommandOutput>;
83
58
  listSuiteDefinitions(args: ListSuiteDefinitionsCommandInput, cb: (err: any, data?: ListSuiteDefinitionsCommandOutput) => void): void;
84
59
  listSuiteDefinitions(args: ListSuiteDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSuiteDefinitionsCommandOutput) => void): void;
85
60
  /**
86
- * @public
87
- * <p>Lists runs of the specified Device Advisor test suite. You can list all runs of the test
88
- * suite, or the runs of a specific version of the test suite.</p>
89
- * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">ListSuiteRuns</a> action.</p>
61
+ * @see {@link ListSuiteRunsCommand}
90
62
  */
91
63
  listSuiteRuns(args: ListSuiteRunsCommandInput, options?: __HttpHandlerOptions): Promise<ListSuiteRunsCommandOutput>;
92
64
  listSuiteRuns(args: ListSuiteRunsCommandInput, cb: (err: any, data?: ListSuiteRunsCommandOutput) => void): void;
93
65
  listSuiteRuns(args: ListSuiteRunsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSuiteRunsCommandOutput) => void): void;
94
66
  /**
95
- * @public
96
- * <p>Lists the tags attached to an IoT Device Advisor resource.</p>
97
- * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">ListTagsForResource</a> action.</p>
67
+ * @see {@link ListTagsForResourceCommand}
98
68
  */
99
69
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
100
70
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
101
71
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
102
72
  /**
103
- * @public
104
- * <p>Starts a Device Advisor test suite run.</p>
105
- * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">StartSuiteRun</a> action.</p>
73
+ * @see {@link StartSuiteRunCommand}
106
74
  */
107
75
  startSuiteRun(args: StartSuiteRunCommandInput, options?: __HttpHandlerOptions): Promise<StartSuiteRunCommandOutput>;
108
76
  startSuiteRun(args: StartSuiteRunCommandInput, cb: (err: any, data?: StartSuiteRunCommandOutput) => void): void;
109
77
  startSuiteRun(args: StartSuiteRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartSuiteRunCommandOutput) => void): void;
110
78
  /**
111
- * @public
112
- * <p>Stops a Device Advisor test suite run that is currently running.</p>
113
- * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">StopSuiteRun</a> action.</p>
79
+ * @see {@link StopSuiteRunCommand}
114
80
  */
115
81
  stopSuiteRun(args: StopSuiteRunCommandInput, options?: __HttpHandlerOptions): Promise<StopSuiteRunCommandOutput>;
116
82
  stopSuiteRun(args: StopSuiteRunCommandInput, cb: (err: any, data?: StopSuiteRunCommandOutput) => void): void;
117
83
  stopSuiteRun(args: StopSuiteRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopSuiteRunCommandOutput) => void): void;
118
84
  /**
119
- * @public
120
- * <p>Adds to and modifies existing tags of an IoT Device Advisor resource.</p>
121
- * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">TagResource</a> action.</p>
85
+ * @see {@link TagResourceCommand}
122
86
  */
123
87
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
124
88
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
125
89
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
126
90
  /**
127
- * @public
128
- * <p>Removes tags from an IoT Device Advisor resource.</p>
129
- * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">UntagResource</a> action.</p>
91
+ * @see {@link UntagResourceCommand}
130
92
  */
131
93
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
132
94
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
133
95
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
134
96
  /**
135
- * @public
136
- * <p>Updates a Device Advisor test suite.</p>
137
- * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">UpdateSuiteDefinition</a> action.</p>
97
+ * @see {@link UpdateSuiteDefinitionCommand}
138
98
  */
139
99
  updateSuiteDefinition(args: UpdateSuiteDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSuiteDefinitionCommandOutput>;
140
100
  updateSuiteDefinition(args: UpdateSuiteDefinitionCommandInput, cb: (err: any, data?: UpdateSuiteDefinitionCommandOutput) => void): void;
141
101
  updateSuiteDefinition(args: UpdateSuiteDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSuiteDefinitionCommandOutput) => void): void;
142
102
  }
103
+ /**
104
+ * @public
105
+ * <p>Amazon Web Services IoT Core Device Advisor is a cloud-based, fully managed test capability for validating IoT
106
+ * devices during device software development. Device Advisor provides pre-built tests that you
107
+ * can use to validate IoT devices for reliable and secure connectivity with Amazon Web Services IoT Core
108
+ * before deploying devices to production. By using Device Advisor, you can confirm that your
109
+ * devices can connect to Amazon Web Services IoT Core, follow security best practices and, if applicable,
110
+ * receive software updates from IoT Device Management. You can also download signed
111
+ * qualification reports to submit to the Amazon Web Services Partner Network to get your device
112
+ * qualified for the Amazon Web Services Partner Device Catalog without the need to send your device in
113
+ * and wait for it to be tested.</p>
114
+ */
115
+ export declare class IotDeviceAdvisor extends IotDeviceAdvisorClient implements IotDeviceAdvisor {
116
+ }
@@ -56,7 +56,7 @@ import {
56
56
  UpdateSuiteDefinitionCommandOutput,
57
57
  } from "./commands/UpdateSuiteDefinitionCommand";
58
58
  import { IotDeviceAdvisorClient } from "./IotDeviceAdvisorClient";
59
- export declare class IotDeviceAdvisor extends IotDeviceAdvisorClient {
59
+ export interface IotDeviceAdvisor {
60
60
  createSuiteDefinition(
61
61
  args: CreateSuiteDefinitionCommandInput,
62
62
  options?: __HttpHandlerOptions
@@ -240,3 +240,6 @@ export declare class IotDeviceAdvisor extends IotDeviceAdvisorClient {
240
240
  cb: (err: any, data?: UpdateSuiteDefinitionCommandOutput) => void
241
241
  ): void;
242
242
  }
243
+ export declare class IotDeviceAdvisor
244
+ extends IotDeviceAdvisorClient
245
+ implements IotDeviceAdvisor {}
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.315.0",
4
+ "version": "3.319.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.315.0",
24
+ "@aws-sdk/client-sts": "3.319.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.315.0",
26
+ "@aws-sdk/credential-provider-node": "3.319.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -36,19 +36,19 @@
36
36
  "@aws-sdk/middleware-serde": "3.310.0",
37
37
  "@aws-sdk/middleware-signing": "3.310.0",
38
38
  "@aws-sdk/middleware-stack": "3.310.0",
39
- "@aws-sdk/middleware-user-agent": "3.310.0",
39
+ "@aws-sdk/middleware-user-agent": "3.319.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.310.0",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.315.0",
43
+ "@aws-sdk/smithy-client": "3.316.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.315.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.315.0",
51
- "@aws-sdk/util-endpoints": "3.310.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.316.0",
51
+ "@aws-sdk/util-endpoints": "3.319.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",
54
54
  "@aws-sdk/util-user-agent-node": "3.310.0",