@aws-sdk/client-iotdeviceadvisor 3.183.0 → 3.185.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.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/IotDeviceAdvisor.js +65 -58
- package/dist-es/IotDeviceAdvisorClient.js +28 -22
- package/dist-es/commands/CreateSuiteDefinitionCommand.js +28 -21
- package/dist-es/commands/DeleteSuiteDefinitionCommand.js +28 -21
- package/dist-es/commands/GetEndpointCommand.js +28 -21
- package/dist-es/commands/GetSuiteDefinitionCommand.js +28 -21
- package/dist-es/commands/GetSuiteRunCommand.js +28 -21
- package/dist-es/commands/GetSuiteRunReportCommand.js +28 -21
- package/dist-es/commands/ListSuiteDefinitionsCommand.js +28 -21
- package/dist-es/commands/ListSuiteRunsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/StartSuiteRunCommand.js +28 -21
- package/dist-es/commands/StopSuiteRunCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateSuiteDefinitionCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/IotDeviceAdvisorServiceException.js +10 -5
- package/dist-es/models/models_0.js +82 -155
- package/dist-es/pagination/ListSuiteDefinitionsPaginator.js +68 -25
- package/dist-es/pagination/ListSuiteRunsPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +1415 -1003
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.185.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.184.0...v3.185.0) (2022-10-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **codegen:** add deser check for x-amz-request-id ([#4015](https://github.com/aws/aws-sdk-js-v3/issues/4015)) ([6ff07bd](https://github.com/aws/aws-sdk-js-v3/commit/6ff07bd7e72bd56725f318013ac1d6d0fbbcdd9a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-iotdeviceadvisor
|
|
@@ -1201,10 +1201,10 @@ const deserializeAws_restJson1TestResult = (output, context) => {
|
|
|
1201
1201
|
};
|
|
1202
1202
|
};
|
|
1203
1203
|
const deserializeMetadata = (output) => {
|
|
1204
|
-
var _a;
|
|
1204
|
+
var _a, _b;
|
|
1205
1205
|
return ({
|
|
1206
1206
|
httpStatusCode: output.statusCode,
|
|
1207
|
-
requestId: (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"],
|
|
1207
|
+
requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
|
|
1208
1208
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1209
1209
|
cfId: output.headers["x-amz-cf-id"],
|
|
1210
1210
|
});
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { CreateSuiteDefinitionCommand, } from "./commands/CreateSuiteDefinitionCommand";
|
|
2
3
|
import { DeleteSuiteDefinitionCommand, } from "./commands/DeleteSuiteDefinitionCommand";
|
|
3
4
|
import { GetEndpointCommand } from "./commands/GetEndpointCommand";
|
|
@@ -13,201 +14,207 @@ 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";
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
var IotDeviceAdvisor = (function (_super) {
|
|
18
|
+
__extends(IotDeviceAdvisor, _super);
|
|
19
|
+
function IotDeviceAdvisor() {
|
|
20
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
21
|
+
}
|
|
22
|
+
IotDeviceAdvisor.prototype.createSuiteDefinition = function (args, optionsOrCb, cb) {
|
|
23
|
+
var command = new CreateSuiteDefinitionCommand(args);
|
|
19
24
|
if (typeof optionsOrCb === "function") {
|
|
20
25
|
this.send(command, optionsOrCb);
|
|
21
26
|
}
|
|
22
27
|
else if (typeof cb === "function") {
|
|
23
28
|
if (typeof optionsOrCb !== "object")
|
|
24
|
-
throw new Error(
|
|
29
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
25
30
|
this.send(command, optionsOrCb || {}, cb);
|
|
26
31
|
}
|
|
27
32
|
else {
|
|
28
33
|
return this.send(command, optionsOrCb);
|
|
29
34
|
}
|
|
30
|
-
}
|
|
31
|
-
deleteSuiteDefinition(args, optionsOrCb, cb) {
|
|
32
|
-
|
|
35
|
+
};
|
|
36
|
+
IotDeviceAdvisor.prototype.deleteSuiteDefinition = function (args, optionsOrCb, cb) {
|
|
37
|
+
var command = new DeleteSuiteDefinitionCommand(args);
|
|
33
38
|
if (typeof optionsOrCb === "function") {
|
|
34
39
|
this.send(command, optionsOrCb);
|
|
35
40
|
}
|
|
36
41
|
else if (typeof cb === "function") {
|
|
37
42
|
if (typeof optionsOrCb !== "object")
|
|
38
|
-
throw new Error(
|
|
43
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
39
44
|
this.send(command, optionsOrCb || {}, cb);
|
|
40
45
|
}
|
|
41
46
|
else {
|
|
42
47
|
return this.send(command, optionsOrCb);
|
|
43
48
|
}
|
|
44
|
-
}
|
|
45
|
-
getEndpoint(args, optionsOrCb, cb) {
|
|
46
|
-
|
|
49
|
+
};
|
|
50
|
+
IotDeviceAdvisor.prototype.getEndpoint = function (args, optionsOrCb, cb) {
|
|
51
|
+
var command = new GetEndpointCommand(args);
|
|
47
52
|
if (typeof optionsOrCb === "function") {
|
|
48
53
|
this.send(command, optionsOrCb);
|
|
49
54
|
}
|
|
50
55
|
else if (typeof cb === "function") {
|
|
51
56
|
if (typeof optionsOrCb !== "object")
|
|
52
|
-
throw new Error(
|
|
57
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
53
58
|
this.send(command, optionsOrCb || {}, cb);
|
|
54
59
|
}
|
|
55
60
|
else {
|
|
56
61
|
return this.send(command, optionsOrCb);
|
|
57
62
|
}
|
|
58
|
-
}
|
|
59
|
-
getSuiteDefinition(args, optionsOrCb, cb) {
|
|
60
|
-
|
|
63
|
+
};
|
|
64
|
+
IotDeviceAdvisor.prototype.getSuiteDefinition = function (args, optionsOrCb, cb) {
|
|
65
|
+
var command = new GetSuiteDefinitionCommand(args);
|
|
61
66
|
if (typeof optionsOrCb === "function") {
|
|
62
67
|
this.send(command, optionsOrCb);
|
|
63
68
|
}
|
|
64
69
|
else if (typeof cb === "function") {
|
|
65
70
|
if (typeof optionsOrCb !== "object")
|
|
66
|
-
throw new Error(
|
|
71
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
67
72
|
this.send(command, optionsOrCb || {}, cb);
|
|
68
73
|
}
|
|
69
74
|
else {
|
|
70
75
|
return this.send(command, optionsOrCb);
|
|
71
76
|
}
|
|
72
|
-
}
|
|
73
|
-
getSuiteRun(args, optionsOrCb, cb) {
|
|
74
|
-
|
|
77
|
+
};
|
|
78
|
+
IotDeviceAdvisor.prototype.getSuiteRun = function (args, optionsOrCb, cb) {
|
|
79
|
+
var command = new GetSuiteRunCommand(args);
|
|
75
80
|
if (typeof optionsOrCb === "function") {
|
|
76
81
|
this.send(command, optionsOrCb);
|
|
77
82
|
}
|
|
78
83
|
else if (typeof cb === "function") {
|
|
79
84
|
if (typeof optionsOrCb !== "object")
|
|
80
|
-
throw new Error(
|
|
85
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
81
86
|
this.send(command, optionsOrCb || {}, cb);
|
|
82
87
|
}
|
|
83
88
|
else {
|
|
84
89
|
return this.send(command, optionsOrCb);
|
|
85
90
|
}
|
|
86
|
-
}
|
|
87
|
-
getSuiteRunReport(args, optionsOrCb, cb) {
|
|
88
|
-
|
|
91
|
+
};
|
|
92
|
+
IotDeviceAdvisor.prototype.getSuiteRunReport = function (args, optionsOrCb, cb) {
|
|
93
|
+
var command = new GetSuiteRunReportCommand(args);
|
|
89
94
|
if (typeof optionsOrCb === "function") {
|
|
90
95
|
this.send(command, optionsOrCb);
|
|
91
96
|
}
|
|
92
97
|
else if (typeof cb === "function") {
|
|
93
98
|
if (typeof optionsOrCb !== "object")
|
|
94
|
-
throw new Error(
|
|
99
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
95
100
|
this.send(command, optionsOrCb || {}, cb);
|
|
96
101
|
}
|
|
97
102
|
else {
|
|
98
103
|
return this.send(command, optionsOrCb);
|
|
99
104
|
}
|
|
100
|
-
}
|
|
101
|
-
listSuiteDefinitions(args, optionsOrCb, cb) {
|
|
102
|
-
|
|
105
|
+
};
|
|
106
|
+
IotDeviceAdvisor.prototype.listSuiteDefinitions = function (args, optionsOrCb, cb) {
|
|
107
|
+
var command = new ListSuiteDefinitionsCommand(args);
|
|
103
108
|
if (typeof optionsOrCb === "function") {
|
|
104
109
|
this.send(command, optionsOrCb);
|
|
105
110
|
}
|
|
106
111
|
else if (typeof cb === "function") {
|
|
107
112
|
if (typeof optionsOrCb !== "object")
|
|
108
|
-
throw new Error(
|
|
113
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
109
114
|
this.send(command, optionsOrCb || {}, cb);
|
|
110
115
|
}
|
|
111
116
|
else {
|
|
112
117
|
return this.send(command, optionsOrCb);
|
|
113
118
|
}
|
|
114
|
-
}
|
|
115
|
-
listSuiteRuns(args, optionsOrCb, cb) {
|
|
116
|
-
|
|
119
|
+
};
|
|
120
|
+
IotDeviceAdvisor.prototype.listSuiteRuns = function (args, optionsOrCb, cb) {
|
|
121
|
+
var command = new ListSuiteRunsCommand(args);
|
|
117
122
|
if (typeof optionsOrCb === "function") {
|
|
118
123
|
this.send(command, optionsOrCb);
|
|
119
124
|
}
|
|
120
125
|
else if (typeof cb === "function") {
|
|
121
126
|
if (typeof optionsOrCb !== "object")
|
|
122
|
-
throw new Error(
|
|
127
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
123
128
|
this.send(command, optionsOrCb || {}, cb);
|
|
124
129
|
}
|
|
125
130
|
else {
|
|
126
131
|
return this.send(command, optionsOrCb);
|
|
127
132
|
}
|
|
128
|
-
}
|
|
129
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
130
|
-
|
|
133
|
+
};
|
|
134
|
+
IotDeviceAdvisor.prototype.listTagsForResource = function (args, optionsOrCb, cb) {
|
|
135
|
+
var command = new ListTagsForResourceCommand(args);
|
|
131
136
|
if (typeof optionsOrCb === "function") {
|
|
132
137
|
this.send(command, optionsOrCb);
|
|
133
138
|
}
|
|
134
139
|
else if (typeof cb === "function") {
|
|
135
140
|
if (typeof optionsOrCb !== "object")
|
|
136
|
-
throw new Error(
|
|
141
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
137
142
|
this.send(command, optionsOrCb || {}, cb);
|
|
138
143
|
}
|
|
139
144
|
else {
|
|
140
145
|
return this.send(command, optionsOrCb);
|
|
141
146
|
}
|
|
142
|
-
}
|
|
143
|
-
startSuiteRun(args, optionsOrCb, cb) {
|
|
144
|
-
|
|
147
|
+
};
|
|
148
|
+
IotDeviceAdvisor.prototype.startSuiteRun = function (args, optionsOrCb, cb) {
|
|
149
|
+
var command = new StartSuiteRunCommand(args);
|
|
145
150
|
if (typeof optionsOrCb === "function") {
|
|
146
151
|
this.send(command, optionsOrCb);
|
|
147
152
|
}
|
|
148
153
|
else if (typeof cb === "function") {
|
|
149
154
|
if (typeof optionsOrCb !== "object")
|
|
150
|
-
throw new Error(
|
|
155
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
151
156
|
this.send(command, optionsOrCb || {}, cb);
|
|
152
157
|
}
|
|
153
158
|
else {
|
|
154
159
|
return this.send(command, optionsOrCb);
|
|
155
160
|
}
|
|
156
|
-
}
|
|
157
|
-
stopSuiteRun(args, optionsOrCb, cb) {
|
|
158
|
-
|
|
161
|
+
};
|
|
162
|
+
IotDeviceAdvisor.prototype.stopSuiteRun = function (args, optionsOrCb, cb) {
|
|
163
|
+
var command = new StopSuiteRunCommand(args);
|
|
159
164
|
if (typeof optionsOrCb === "function") {
|
|
160
165
|
this.send(command, optionsOrCb);
|
|
161
166
|
}
|
|
162
167
|
else if (typeof cb === "function") {
|
|
163
168
|
if (typeof optionsOrCb !== "object")
|
|
164
|
-
throw new Error(
|
|
169
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
165
170
|
this.send(command, optionsOrCb || {}, cb);
|
|
166
171
|
}
|
|
167
172
|
else {
|
|
168
173
|
return this.send(command, optionsOrCb);
|
|
169
174
|
}
|
|
170
|
-
}
|
|
171
|
-
tagResource(args, optionsOrCb, cb) {
|
|
172
|
-
|
|
175
|
+
};
|
|
176
|
+
IotDeviceAdvisor.prototype.tagResource = function (args, optionsOrCb, cb) {
|
|
177
|
+
var command = new TagResourceCommand(args);
|
|
173
178
|
if (typeof optionsOrCb === "function") {
|
|
174
179
|
this.send(command, optionsOrCb);
|
|
175
180
|
}
|
|
176
181
|
else if (typeof cb === "function") {
|
|
177
182
|
if (typeof optionsOrCb !== "object")
|
|
178
|
-
throw new Error(
|
|
183
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
179
184
|
this.send(command, optionsOrCb || {}, cb);
|
|
180
185
|
}
|
|
181
186
|
else {
|
|
182
187
|
return this.send(command, optionsOrCb);
|
|
183
188
|
}
|
|
184
|
-
}
|
|
185
|
-
untagResource(args, optionsOrCb, cb) {
|
|
186
|
-
|
|
189
|
+
};
|
|
190
|
+
IotDeviceAdvisor.prototype.untagResource = function (args, optionsOrCb, cb) {
|
|
191
|
+
var command = new UntagResourceCommand(args);
|
|
187
192
|
if (typeof optionsOrCb === "function") {
|
|
188
193
|
this.send(command, optionsOrCb);
|
|
189
194
|
}
|
|
190
195
|
else if (typeof cb === "function") {
|
|
191
196
|
if (typeof optionsOrCb !== "object")
|
|
192
|
-
throw new Error(
|
|
197
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
193
198
|
this.send(command, optionsOrCb || {}, cb);
|
|
194
199
|
}
|
|
195
200
|
else {
|
|
196
201
|
return this.send(command, optionsOrCb);
|
|
197
202
|
}
|
|
198
|
-
}
|
|
199
|
-
updateSuiteDefinition(args, optionsOrCb, cb) {
|
|
200
|
-
|
|
203
|
+
};
|
|
204
|
+
IotDeviceAdvisor.prototype.updateSuiteDefinition = function (args, optionsOrCb, cb) {
|
|
205
|
+
var command = new UpdateSuiteDefinitionCommand(args);
|
|
201
206
|
if (typeof optionsOrCb === "function") {
|
|
202
207
|
this.send(command, optionsOrCb);
|
|
203
208
|
}
|
|
204
209
|
else if (typeof cb === "function") {
|
|
205
210
|
if (typeof optionsOrCb !== "object")
|
|
206
|
-
throw new Error(
|
|
211
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
207
212
|
this.send(command, optionsOrCb || {}, cb);
|
|
208
213
|
}
|
|
209
214
|
else {
|
|
210
215
|
return this.send(command, optionsOrCb);
|
|
211
216
|
}
|
|
212
|
-
}
|
|
213
|
-
|
|
217
|
+
};
|
|
218
|
+
return IotDeviceAdvisor;
|
|
219
|
+
}(IotDeviceAdvisorClient));
|
|
220
|
+
export { IotDeviceAdvisor };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
2
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
11
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
var IotDeviceAdvisorClient = (function (_super) {
|
|
13
|
+
__extends(IotDeviceAdvisorClient, _super);
|
|
14
|
+
function IotDeviceAdvisorClient(configuration) {
|
|
15
|
+
var _this = this;
|
|
16
|
+
var _config_0 = __getRuntimeConfig(configuration);
|
|
17
|
+
var _config_1 = resolveRegionConfig(_config_0);
|
|
18
|
+
var _config_2 = resolveEndpointsConfig(_config_1);
|
|
19
|
+
var _config_3 = resolveRetryConfig(_config_2);
|
|
20
|
+
var _config_4 = resolveHostHeaderConfig(_config_3);
|
|
21
|
+
var _config_5 = resolveAwsAuthConfig(_config_4);
|
|
22
|
+
var _config_6 = resolveUserAgentConfig(_config_5);
|
|
23
|
+
_this = _super.call(this, _config_6) || this;
|
|
24
|
+
_this.config = _config_6;
|
|
25
|
+
_this.middlewareStack.use(getRetryPlugin(_this.config));
|
|
26
|
+
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
27
|
+
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
28
|
+
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
30
|
+
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
+
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
+
return _this;
|
|
29
33
|
}
|
|
30
|
-
destroy() {
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
+
IotDeviceAdvisorClient.prototype.destroy = function () {
|
|
35
|
+
_super.prototype.destroy.call(this);
|
|
36
|
+
};
|
|
37
|
+
return IotDeviceAdvisorClient;
|
|
38
|
+
}(__Client));
|
|
39
|
+
export { IotDeviceAdvisorClient };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateSuiteDefinitionRequestFilterSensitiveLog, CreateSuiteDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateSuiteDefinitionCommand, serializeAws_restJson1CreateSuiteDefinitionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateSuiteDefinitionCommand = (function (_super) {
|
|
7
|
+
__extends(CreateSuiteDefinitionCommand, _super);
|
|
8
|
+
function CreateSuiteDefinitionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateSuiteDefinitionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IotDeviceAdvisorClient";
|
|
18
|
+
var commandName = "CreateSuiteDefinitionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateSuiteDefinitionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateSuiteDefinitionResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateSuiteDefinitionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateSuiteDefinitionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateSuiteDefinitionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateSuiteDefinitionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateSuiteDefinitionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateSuiteDefinitionCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteSuiteDefinitionRequestFilterSensitiveLog, DeleteSuiteDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1DeleteSuiteDefinitionCommand, serializeAws_restJson1DeleteSuiteDefinitionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeleteSuiteDefinitionCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteSuiteDefinitionCommand, _super);
|
|
8
|
+
function DeleteSuiteDefinitionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeleteSuiteDefinitionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IotDeviceAdvisorClient";
|
|
18
|
+
var commandName = "DeleteSuiteDefinitionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeleteSuiteDefinitionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DeleteSuiteDefinitionResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteSuiteDefinitionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1DeleteSuiteDefinitionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeleteSuiteDefinitionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1DeleteSuiteDefinitionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeleteSuiteDefinitionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteSuiteDefinitionCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetEndpointRequestFilterSensitiveLog, GetEndpointResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetEndpointCommand, serializeAws_restJson1GetEndpointCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetEndpointCommand = (function (_super) {
|
|
7
|
+
__extends(GetEndpointCommand, _super);
|
|
8
|
+
function GetEndpointCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetEndpointCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IotDeviceAdvisorClient";
|
|
18
|
+
var commandName = "GetEndpointCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetEndpointRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetEndpointResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetEndpointCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetEndpointCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetEndpointCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetEndpointCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetEndpointCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetEndpointCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetSuiteDefinitionRequestFilterSensitiveLog, GetSuiteDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetSuiteDefinitionCommand, serializeAws_restJson1GetSuiteDefinitionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetSuiteDefinitionCommand = (function (_super) {
|
|
7
|
+
__extends(GetSuiteDefinitionCommand, _super);
|
|
8
|
+
function GetSuiteDefinitionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetSuiteDefinitionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IotDeviceAdvisorClient";
|
|
18
|
+
var commandName = "GetSuiteDefinitionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetSuiteDefinitionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetSuiteDefinitionResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetSuiteDefinitionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetSuiteDefinitionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetSuiteDefinitionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetSuiteDefinitionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetSuiteDefinitionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetSuiteDefinitionCommand };
|