@aws-sdk/client-iot 3.60.0 → 3.72.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 +27 -0
- package/README.md +2 -2
- package/dist-cjs/IoT.js +15 -0
- package/dist-cjs/commands/ListMetricValuesCommand.js +36 -0
- package/dist-cjs/commands/ListThingPrincipalsCommand.js +3 -3
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_1.js +20 -19
- package/dist-cjs/models/models_2.js +20 -3
- package/dist-cjs/pagination/ListMetricValuesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +105 -7
- package/dist-es/IoT.js +15 -0
- package/dist-es/commands/ListMetricValuesCommand.js +39 -0
- package/dist-es/commands/ListThingPrincipalsCommand.js +1 -1
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_1.js +12 -13
- package/dist-es/models/models_2.js +13 -0
- package/dist-es/pagination/ListMetricValuesPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +116 -0
- package/dist-types/IoT.d.ts +8 -0
- package/dist-types/IoTClient.d.ts +3 -2
- package/dist-types/commands/ListMetricValuesCommand.d.ts +36 -0
- package/dist-types/commands/ListThingPrincipalsCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2 -2
- package/dist-types/models/models_1.d.ts +77 -49
- package/dist-types/models/models_2.d.ts +49 -1
- package/dist-types/pagination/ListMetricValuesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/IoT.d.ts +5 -0
- package/dist-types/ts3.4/IoTClient.d.ts +3 -2
- package/dist-types/ts3.4/commands/ListMetricValuesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListThingPrincipalsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +44 -29
- package/dist-types/ts3.4/models/models_2.d.ts +29 -1
- package/dist-types/ts3.4/pagination/ListMetricValuesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- package/package.json +6 -6
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListMetricValuesRequest, ListMetricValuesResponse } from "../models/models_1";
|
|
5
|
+
import { deserializeAws_restJson1ListMetricValuesCommand, serializeAws_restJson1ListMetricValuesCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ListMetricValuesCommand = (function (_super) {
|
|
7
|
+
__extends(ListMetricValuesCommand, _super);
|
|
8
|
+
function ListMetricValuesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListMetricValuesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IoTClient";
|
|
18
|
+
var commandName = "ListMetricValuesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListMetricValuesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListMetricValuesResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListMetricValuesCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1ListMetricValuesCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListMetricValuesCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1ListMetricValuesCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListMetricValuesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListMetricValuesCommand };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ListThingPrincipalsRequest, ListThingPrincipalsResponse } from "../models/
|
|
4
|
+
import { ListThingPrincipalsRequest, ListThingPrincipalsResponse } from "../models/models_2";
|
|
5
5
|
import { deserializeAws_restJson1ListThingPrincipalsCommand, serializeAws_restJson1ListThingPrincipalsCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var ListThingPrincipalsCommand = (function (_super) {
|
|
7
7
|
__extends(ListThingPrincipalsCommand, _super);
|
|
@@ -153,6 +153,7 @@ export * from "./ListJobExecutionsForThingCommand";
|
|
|
153
153
|
export * from "./ListJobTemplatesCommand";
|
|
154
154
|
export * from "./ListJobsCommand";
|
|
155
155
|
export * from "./ListManagedJobTemplatesCommand";
|
|
156
|
+
export * from "./ListMetricValuesCommand";
|
|
156
157
|
export * from "./ListMitigationActionsCommand";
|
|
157
158
|
export * from "./ListOTAUpdatesCommand";
|
|
158
159
|
export * from "./ListOutgoingCertificatesCommand";
|
|
@@ -1066,6 +1066,18 @@ export var ListManagedJobTemplatesResponse;
|
|
|
1066
1066
|
(function (ListManagedJobTemplatesResponse) {
|
|
1067
1067
|
ListManagedJobTemplatesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1068
1068
|
})(ListManagedJobTemplatesResponse || (ListManagedJobTemplatesResponse = {}));
|
|
1069
|
+
export var ListMetricValuesRequest;
|
|
1070
|
+
(function (ListMetricValuesRequest) {
|
|
1071
|
+
ListMetricValuesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1072
|
+
})(ListMetricValuesRequest || (ListMetricValuesRequest = {}));
|
|
1073
|
+
export var MetricDatum;
|
|
1074
|
+
(function (MetricDatum) {
|
|
1075
|
+
MetricDatum.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1076
|
+
})(MetricDatum || (MetricDatum = {}));
|
|
1077
|
+
export var ListMetricValuesResponse;
|
|
1078
|
+
(function (ListMetricValuesResponse) {
|
|
1079
|
+
ListMetricValuesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1080
|
+
})(ListMetricValuesResponse || (ListMetricValuesResponse = {}));
|
|
1069
1081
|
export var ListMitigationActionsRequest;
|
|
1070
1082
|
(function (ListMitigationActionsRequest) {
|
|
1071
1083
|
ListMitigationActionsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1270,16 +1282,3 @@ export var ListThingGroupsForThingResponse;
|
|
|
1270
1282
|
(function (ListThingGroupsForThingResponse) {
|
|
1271
1283
|
ListThingGroupsForThingResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1272
1284
|
})(ListThingGroupsForThingResponse || (ListThingGroupsForThingResponse = {}));
|
|
1273
|
-
export var ListThingPrincipalsRequest;
|
|
1274
|
-
(function (ListThingPrincipalsRequest) {
|
|
1275
|
-
ListThingPrincipalsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1276
|
-
})(ListThingPrincipalsRequest || (ListThingPrincipalsRequest = {}));
|
|
1277
|
-
export var ListThingPrincipalsResponse;
|
|
1278
|
-
(function (ListThingPrincipalsResponse) {
|
|
1279
|
-
ListThingPrincipalsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1280
|
-
})(ListThingPrincipalsResponse || (ListThingPrincipalsResponse = {}));
|
|
1281
|
-
export var ReportType;
|
|
1282
|
-
(function (ReportType) {
|
|
1283
|
-
ReportType["ERRORS"] = "ERRORS";
|
|
1284
|
-
ReportType["RESULTS"] = "RESULTS";
|
|
1285
|
-
})(ReportType || (ReportType = {}));
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
import { __assign, __extends } from "tslib";
|
|
2
2
|
import { IoTServiceException as __BaseException } from "./IoTServiceException";
|
|
3
|
+
export var ListThingPrincipalsRequest;
|
|
4
|
+
(function (ListThingPrincipalsRequest) {
|
|
5
|
+
ListThingPrincipalsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
6
|
+
})(ListThingPrincipalsRequest || (ListThingPrincipalsRequest = {}));
|
|
7
|
+
export var ListThingPrincipalsResponse;
|
|
8
|
+
(function (ListThingPrincipalsResponse) {
|
|
9
|
+
ListThingPrincipalsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
10
|
+
})(ListThingPrincipalsResponse || (ListThingPrincipalsResponse = {}));
|
|
11
|
+
export var ReportType;
|
|
12
|
+
(function (ReportType) {
|
|
13
|
+
ReportType["ERRORS"] = "ERRORS";
|
|
14
|
+
ReportType["RESULTS"] = "RESULTS";
|
|
15
|
+
})(ReportType || (ReportType = {}));
|
|
3
16
|
export var ListThingRegistrationTaskReportsRequest;
|
|
4
17
|
(function (ListThingRegistrationTaskReportsRequest) {
|
|
5
18
|
ListThingRegistrationTaskReportsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListMetricValuesCommand, } from "../commands/ListMetricValuesCommand";
|
|
3
|
+
import { IoT } from "../IoT";
|
|
4
|
+
import { IoTClient } from "../IoTClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListMetricValuesCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listMetricValues.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListMetricValues(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListMetricValues_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.nextToken = token;
|
|
49
|
+
input["maxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof IoT)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof IoTClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected IoT | IoTClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
token = page.nextToken;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|
|
@@ -23,6 +23,7 @@ export * from "./ListJobExecutionsForJobPaginator";
|
|
|
23
23
|
export * from "./ListJobExecutionsForThingPaginator";
|
|
24
24
|
export * from "./ListJobTemplatesPaginator";
|
|
25
25
|
export * from "./ListJobsPaginator";
|
|
26
|
+
export * from "./ListMetricValuesPaginator";
|
|
26
27
|
export * from "./ListMitigationActionsPaginator";
|
|
27
28
|
export * from "./ListOTAUpdatesPaginator";
|
|
28
29
|
export * from "./ListOutgoingCertificatesPaginator";
|
|
@@ -4885,6 +4885,29 @@ export var serializeAws_restJson1ListManagedJobTemplatesCommand = function (inpu
|
|
|
4885
4885
|
}
|
|
4886
4886
|
});
|
|
4887
4887
|
}); };
|
|
4888
|
+
export var serializeAws_restJson1ListMetricValuesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4889
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, query, body;
|
|
4890
|
+
return __generator(this, function (_c) {
|
|
4891
|
+
switch (_c.label) {
|
|
4892
|
+
case 0: return [4, context.endpoint()];
|
|
4893
|
+
case 1:
|
|
4894
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4895
|
+
headers = {};
|
|
4896
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/metric-values";
|
|
4897
|
+
query = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.thingName !== undefined && { thingName: input.thingName })), (input.metricName !== undefined && { metricName: input.metricName })), (input.dimensionName !== undefined && { dimensionName: input.dimensionName })), (input.dimensionValueOperator !== undefined && { dimensionValueOperator: input.dimensionValueOperator })), (input.startTime !== undefined && { startTime: (input.startTime.toISOString().split(".")[0] + "Z").toString() })), (input.endTime !== undefined && { endTime: (input.endTime.toISOString().split(".")[0] + "Z").toString() })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken }));
|
|
4898
|
+
return [2, new __HttpRequest({
|
|
4899
|
+
protocol: protocol,
|
|
4900
|
+
hostname: hostname,
|
|
4901
|
+
port: port,
|
|
4902
|
+
method: "GET",
|
|
4903
|
+
headers: headers,
|
|
4904
|
+
path: resolvedPath,
|
|
4905
|
+
query: query,
|
|
4906
|
+
body: body,
|
|
4907
|
+
})];
|
|
4908
|
+
}
|
|
4909
|
+
});
|
|
4910
|
+
}); };
|
|
4888
4911
|
export var serializeAws_restJson1ListMitigationActionsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4889
4912
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, query, body;
|
|
4890
4913
|
return __generator(this, function (_c) {
|
|
@@ -19260,6 +19283,78 @@ var deserializeAws_restJson1ListManagedJobTemplatesCommandError = function (outp
|
|
|
19260
19283
|
}
|
|
19261
19284
|
});
|
|
19262
19285
|
}); };
|
|
19286
|
+
export var deserializeAws_restJson1ListMetricValuesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
19287
|
+
var contents, data, _a, _b;
|
|
19288
|
+
return __generator(this, function (_c) {
|
|
19289
|
+
switch (_c.label) {
|
|
19290
|
+
case 0:
|
|
19291
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
19292
|
+
return [2, deserializeAws_restJson1ListMetricValuesCommandError(output, context)];
|
|
19293
|
+
}
|
|
19294
|
+
contents = {
|
|
19295
|
+
$metadata: deserializeMetadata(output),
|
|
19296
|
+
metricDatumList: undefined,
|
|
19297
|
+
nextToken: undefined,
|
|
19298
|
+
};
|
|
19299
|
+
_a = __expectNonNull;
|
|
19300
|
+
_b = __expectObject;
|
|
19301
|
+
return [4, parseBody(output.body, context)];
|
|
19302
|
+
case 1:
|
|
19303
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
19304
|
+
if (data.metricDatumList !== undefined && data.metricDatumList !== null) {
|
|
19305
|
+
contents.metricDatumList = deserializeAws_restJson1MetricDatumList(data.metricDatumList, context);
|
|
19306
|
+
}
|
|
19307
|
+
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
19308
|
+
contents.nextToken = __expectString(data.nextToken);
|
|
19309
|
+
}
|
|
19310
|
+
return [2, Promise.resolve(contents)];
|
|
19311
|
+
}
|
|
19312
|
+
});
|
|
19313
|
+
}); };
|
|
19314
|
+
var deserializeAws_restJson1ListMetricValuesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
19315
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
19316
|
+
var _c;
|
|
19317
|
+
return __generator(this, function (_d) {
|
|
19318
|
+
switch (_d.label) {
|
|
19319
|
+
case 0:
|
|
19320
|
+
_a = [__assign({}, output)];
|
|
19321
|
+
_c = {};
|
|
19322
|
+
return [4, parseBody(output.body, context)];
|
|
19323
|
+
case 1:
|
|
19324
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
19325
|
+
errorCode = "UnknownError";
|
|
19326
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
19327
|
+
_b = errorCode;
|
|
19328
|
+
switch (_b) {
|
|
19329
|
+
case "InternalFailureException": return [3, 2];
|
|
19330
|
+
case "com.amazonaws.iot#InternalFailureException": return [3, 2];
|
|
19331
|
+
case "InvalidRequestException": return [3, 4];
|
|
19332
|
+
case "com.amazonaws.iot#InvalidRequestException": return [3, 4];
|
|
19333
|
+
case "ResourceNotFoundException": return [3, 6];
|
|
19334
|
+
case "com.amazonaws.iot#ResourceNotFoundException": return [3, 6];
|
|
19335
|
+
case "ThrottlingException": return [3, 8];
|
|
19336
|
+
case "com.amazonaws.iot#ThrottlingException": return [3, 8];
|
|
19337
|
+
}
|
|
19338
|
+
return [3, 10];
|
|
19339
|
+
case 2: return [4, deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context)];
|
|
19340
|
+
case 3: throw _d.sent();
|
|
19341
|
+
case 4: return [4, deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context)];
|
|
19342
|
+
case 5: throw _d.sent();
|
|
19343
|
+
case 6: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
19344
|
+
case 7: throw _d.sent();
|
|
19345
|
+
case 8: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
19346
|
+
case 9: throw _d.sent();
|
|
19347
|
+
case 10:
|
|
19348
|
+
parsedBody = parsedOutput.body;
|
|
19349
|
+
response = new __BaseException({
|
|
19350
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
19351
|
+
$fault: "client",
|
|
19352
|
+
$metadata: deserializeMetadata(output),
|
|
19353
|
+
});
|
|
19354
|
+
throw __decorateServiceException(response, parsedBody);
|
|
19355
|
+
}
|
|
19356
|
+
});
|
|
19357
|
+
}); };
|
|
19263
19358
|
export var deserializeAws_restJson1ListMitigationActionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
19264
19359
|
var contents, data, _a, _b;
|
|
19265
19360
|
return __generator(this, function (_c) {
|
|
@@ -28406,6 +28501,27 @@ var deserializeAws_restJson1ManagedJobTemplateSummary = function (output, contex
|
|
|
28406
28501
|
templateVersion: __expectString(output.templateVersion),
|
|
28407
28502
|
};
|
|
28408
28503
|
};
|
|
28504
|
+
var deserializeAws_restJson1MetricDatum = function (output, context) {
|
|
28505
|
+
return {
|
|
28506
|
+
timestamp: output.timestamp !== undefined && output.timestamp !== null
|
|
28507
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.timestamp)))
|
|
28508
|
+
: undefined,
|
|
28509
|
+
value: output.value !== undefined && output.value !== null
|
|
28510
|
+
? deserializeAws_restJson1MetricValue(output.value, context)
|
|
28511
|
+
: undefined,
|
|
28512
|
+
};
|
|
28513
|
+
};
|
|
28514
|
+
var deserializeAws_restJson1MetricDatumList = function (output, context) {
|
|
28515
|
+
var retVal = (output || [])
|
|
28516
|
+
.filter(function (e) { return e != null; })
|
|
28517
|
+
.map(function (entry) {
|
|
28518
|
+
if (entry === null) {
|
|
28519
|
+
return null;
|
|
28520
|
+
}
|
|
28521
|
+
return deserializeAws_restJson1MetricDatum(entry, context);
|
|
28522
|
+
});
|
|
28523
|
+
return retVal;
|
|
28524
|
+
};
|
|
28409
28525
|
var deserializeAws_restJson1MetricDimension = function (output, context) {
|
|
28410
28526
|
return {
|
|
28411
28527
|
dimensionName: __expectString(output.dimensionName),
|
package/dist-types/IoT.d.ts
CHANGED
|
@@ -154,6 +154,7 @@ import { ListJobExecutionsForThingCommandInput, ListJobExecutionsForThingCommand
|
|
|
154
154
|
import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
|
|
155
155
|
import { ListJobTemplatesCommandInput, ListJobTemplatesCommandOutput } from "./commands/ListJobTemplatesCommand";
|
|
156
156
|
import { ListManagedJobTemplatesCommandInput, ListManagedJobTemplatesCommandOutput } from "./commands/ListManagedJobTemplatesCommand";
|
|
157
|
+
import { ListMetricValuesCommandInput, ListMetricValuesCommandOutput } from "./commands/ListMetricValuesCommand";
|
|
157
158
|
import { ListMitigationActionsCommandInput, ListMitigationActionsCommandOutput } from "./commands/ListMitigationActionsCommand";
|
|
158
159
|
import { ListOTAUpdatesCommandInput, ListOTAUpdatesCommandOutput } from "./commands/ListOTAUpdatesCommand";
|
|
159
160
|
import { ListOutgoingCertificatesCommandInput, ListOutgoingCertificatesCommandOutput } from "./commands/ListOutgoingCertificatesCommand";
|
|
@@ -1545,6 +1546,13 @@ export declare class IoT extends IoTClient {
|
|
|
1545
1546
|
listManagedJobTemplates(args: ListManagedJobTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<ListManagedJobTemplatesCommandOutput>;
|
|
1546
1547
|
listManagedJobTemplates(args: ListManagedJobTemplatesCommandInput, cb: (err: any, data?: ListManagedJobTemplatesCommandOutput) => void): void;
|
|
1547
1548
|
listManagedJobTemplates(args: ListManagedJobTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListManagedJobTemplatesCommandOutput) => void): void;
|
|
1549
|
+
/**
|
|
1550
|
+
* <p>Lists the values reported for an IoT Device Defender metric (device-side metric, cloud-side metric, or custom metric)
|
|
1551
|
+
* by the given thing during the specified time period.</p>
|
|
1552
|
+
*/
|
|
1553
|
+
listMetricValues(args: ListMetricValuesCommandInput, options?: __HttpHandlerOptions): Promise<ListMetricValuesCommandOutput>;
|
|
1554
|
+
listMetricValues(args: ListMetricValuesCommandInput, cb: (err: any, data?: ListMetricValuesCommandOutput) => void): void;
|
|
1555
|
+
listMetricValues(args: ListMetricValuesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMetricValuesCommandOutput) => void): void;
|
|
1548
1556
|
/**
|
|
1549
1557
|
* <p>Gets a list of all mitigation actions that match the specified filter criteria.</p>
|
|
1550
1558
|
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">ListMitigationActions</a> action.</p>
|
|
@@ -161,6 +161,7 @@ import { ListJobExecutionsForThingCommandInput, ListJobExecutionsForThingCommand
|
|
|
161
161
|
import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
|
|
162
162
|
import { ListJobTemplatesCommandInput, ListJobTemplatesCommandOutput } from "./commands/ListJobTemplatesCommand";
|
|
163
163
|
import { ListManagedJobTemplatesCommandInput, ListManagedJobTemplatesCommandOutput } from "./commands/ListManagedJobTemplatesCommand";
|
|
164
|
+
import { ListMetricValuesCommandInput, ListMetricValuesCommandOutput } from "./commands/ListMetricValuesCommand";
|
|
164
165
|
import { ListMitigationActionsCommandInput, ListMitigationActionsCommandOutput } from "./commands/ListMitigationActionsCommand";
|
|
165
166
|
import { ListOTAUpdatesCommandInput, ListOTAUpdatesCommandOutput } from "./commands/ListOTAUpdatesCommand";
|
|
166
167
|
import { ListOutgoingCertificatesCommandInput, ListOutgoingCertificatesCommandOutput } from "./commands/ListOutgoingCertificatesCommand";
|
|
@@ -242,8 +243,8 @@ import { UpdateThingGroupCommandInput, UpdateThingGroupCommandOutput } from "./c
|
|
|
242
243
|
import { UpdateThingGroupsForThingCommandInput, UpdateThingGroupsForThingCommandOutput } from "./commands/UpdateThingGroupsForThingCommand";
|
|
243
244
|
import { UpdateTopicRuleDestinationCommandInput, UpdateTopicRuleDestinationCommandOutput } from "./commands/UpdateTopicRuleDestinationCommand";
|
|
244
245
|
import { ValidateSecurityProfileBehaviorsCommandInput, ValidateSecurityProfileBehaviorsCommandOutput } from "./commands/ValidateSecurityProfileBehaviorsCommand";
|
|
245
|
-
export declare type ServiceInputTypes = AcceptCertificateTransferCommandInput | AddThingToBillingGroupCommandInput | AddThingToThingGroupCommandInput | AssociateTargetsWithJobCommandInput | AttachPolicyCommandInput | AttachPrincipalPolicyCommandInput | AttachSecurityProfileCommandInput | AttachThingPrincipalCommandInput | CancelAuditMitigationActionsTaskCommandInput | CancelAuditTaskCommandInput | CancelCertificateTransferCommandInput | CancelDetectMitigationActionsTaskCommandInput | CancelJobCommandInput | CancelJobExecutionCommandInput | ClearDefaultAuthorizerCommandInput | ConfirmTopicRuleDestinationCommandInput | CreateAuditSuppressionCommandInput | CreateAuthorizerCommandInput | CreateBillingGroupCommandInput | CreateCertificateFromCsrCommandInput | CreateCustomMetricCommandInput | CreateDimensionCommandInput | CreateDomainConfigurationCommandInput | CreateDynamicThingGroupCommandInput | CreateFleetMetricCommandInput | CreateJobCommandInput | CreateJobTemplateCommandInput | CreateKeysAndCertificateCommandInput | CreateMitigationActionCommandInput | CreateOTAUpdateCommandInput | CreatePolicyCommandInput | CreatePolicyVersionCommandInput | CreateProvisioningClaimCommandInput | CreateProvisioningTemplateCommandInput | CreateProvisioningTemplateVersionCommandInput | CreateRoleAliasCommandInput | CreateScheduledAuditCommandInput | CreateSecurityProfileCommandInput | CreateStreamCommandInput | CreateThingCommandInput | CreateThingGroupCommandInput | CreateThingTypeCommandInput | CreateTopicRuleCommandInput | CreateTopicRuleDestinationCommandInput | DeleteAccountAuditConfigurationCommandInput | DeleteAuditSuppressionCommandInput | DeleteAuthorizerCommandInput | DeleteBillingGroupCommandInput | DeleteCACertificateCommandInput | DeleteCertificateCommandInput | DeleteCustomMetricCommandInput | DeleteDimensionCommandInput | DeleteDomainConfigurationCommandInput | DeleteDynamicThingGroupCommandInput | DeleteFleetMetricCommandInput | DeleteJobCommandInput | DeleteJobExecutionCommandInput | DeleteJobTemplateCommandInput | DeleteMitigationActionCommandInput | DeleteOTAUpdateCommandInput | DeletePolicyCommandInput | DeletePolicyVersionCommandInput | DeleteProvisioningTemplateCommandInput | DeleteProvisioningTemplateVersionCommandInput | DeleteRegistrationCodeCommandInput | DeleteRoleAliasCommandInput | DeleteScheduledAuditCommandInput | DeleteSecurityProfileCommandInput | DeleteStreamCommandInput | DeleteThingCommandInput | DeleteThingGroupCommandInput | DeleteThingTypeCommandInput | DeleteTopicRuleCommandInput | DeleteTopicRuleDestinationCommandInput | DeleteV2LoggingLevelCommandInput | DeprecateThingTypeCommandInput | DescribeAccountAuditConfigurationCommandInput | DescribeAuditFindingCommandInput | DescribeAuditMitigationActionsTaskCommandInput | DescribeAuditSuppressionCommandInput | DescribeAuditTaskCommandInput | DescribeAuthorizerCommandInput | DescribeBillingGroupCommandInput | DescribeCACertificateCommandInput | DescribeCertificateCommandInput | DescribeCustomMetricCommandInput | DescribeDefaultAuthorizerCommandInput | DescribeDetectMitigationActionsTaskCommandInput | DescribeDimensionCommandInput | DescribeDomainConfigurationCommandInput | DescribeEndpointCommandInput | DescribeEventConfigurationsCommandInput | DescribeFleetMetricCommandInput | DescribeIndexCommandInput | DescribeJobCommandInput | DescribeJobExecutionCommandInput | DescribeJobTemplateCommandInput | DescribeManagedJobTemplateCommandInput | DescribeMitigationActionCommandInput | DescribeProvisioningTemplateCommandInput | DescribeProvisioningTemplateVersionCommandInput | DescribeRoleAliasCommandInput | DescribeScheduledAuditCommandInput | DescribeSecurityProfileCommandInput | DescribeStreamCommandInput | DescribeThingCommandInput | DescribeThingGroupCommandInput | DescribeThingRegistrationTaskCommandInput | DescribeThingTypeCommandInput | DetachPolicyCommandInput | DetachPrincipalPolicyCommandInput | DetachSecurityProfileCommandInput | DetachThingPrincipalCommandInput | DisableTopicRuleCommandInput | EnableTopicRuleCommandInput | GetBehaviorModelTrainingSummariesCommandInput | GetBucketsAggregationCommandInput | GetCardinalityCommandInput | GetEffectivePoliciesCommandInput | GetIndexingConfigurationCommandInput | GetJobDocumentCommandInput | GetLoggingOptionsCommandInput | GetOTAUpdateCommandInput | GetPercentilesCommandInput | GetPolicyCommandInput | GetPolicyVersionCommandInput | GetRegistrationCodeCommandInput | GetStatisticsCommandInput | GetTopicRuleCommandInput | GetTopicRuleDestinationCommandInput | GetV2LoggingOptionsCommandInput | ListActiveViolationsCommandInput | ListAttachedPoliciesCommandInput | ListAuditFindingsCommandInput | ListAuditMitigationActionsExecutionsCommandInput | ListAuditMitigationActionsTasksCommandInput | ListAuditSuppressionsCommandInput | ListAuditTasksCommandInput | ListAuthorizersCommandInput | ListBillingGroupsCommandInput | ListCACertificatesCommandInput | ListCertificatesByCACommandInput | ListCertificatesCommandInput | ListCustomMetricsCommandInput | ListDetectMitigationActionsExecutionsCommandInput | ListDetectMitigationActionsTasksCommandInput | ListDimensionsCommandInput | ListDomainConfigurationsCommandInput | ListFleetMetricsCommandInput | ListIndicesCommandInput | ListJobExecutionsForJobCommandInput | ListJobExecutionsForThingCommandInput | ListJobTemplatesCommandInput | ListJobsCommandInput | ListManagedJobTemplatesCommandInput | ListMitigationActionsCommandInput | ListOTAUpdatesCommandInput | ListOutgoingCertificatesCommandInput | ListPoliciesCommandInput | ListPolicyPrincipalsCommandInput | ListPolicyVersionsCommandInput | ListPrincipalPoliciesCommandInput | ListPrincipalThingsCommandInput | ListProvisioningTemplateVersionsCommandInput | ListProvisioningTemplatesCommandInput | ListRoleAliasesCommandInput | ListScheduledAuditsCommandInput | ListSecurityProfilesCommandInput | ListSecurityProfilesForTargetCommandInput | ListStreamsCommandInput | ListTagsForResourceCommandInput | ListTargetsForPolicyCommandInput | ListTargetsForSecurityProfileCommandInput | ListThingGroupsCommandInput | ListThingGroupsForThingCommandInput | ListThingPrincipalsCommandInput | ListThingRegistrationTaskReportsCommandInput | ListThingRegistrationTasksCommandInput | ListThingTypesCommandInput | ListThingsCommandInput | ListThingsInBillingGroupCommandInput | ListThingsInThingGroupCommandInput | ListTopicRuleDestinationsCommandInput | ListTopicRulesCommandInput | ListV2LoggingLevelsCommandInput | ListViolationEventsCommandInput | PutVerificationStateOnViolationCommandInput | RegisterCACertificateCommandInput | RegisterCertificateCommandInput | RegisterCertificateWithoutCACommandInput | RegisterThingCommandInput | RejectCertificateTransferCommandInput | RemoveThingFromBillingGroupCommandInput | RemoveThingFromThingGroupCommandInput | ReplaceTopicRuleCommandInput | SearchIndexCommandInput | SetDefaultAuthorizerCommandInput | SetDefaultPolicyVersionCommandInput | SetLoggingOptionsCommandInput | SetV2LoggingLevelCommandInput | SetV2LoggingOptionsCommandInput | StartAuditMitigationActionsTaskCommandInput | StartDetectMitigationActionsTaskCommandInput | StartOnDemandAuditTaskCommandInput | StartThingRegistrationTaskCommandInput | StopThingRegistrationTaskCommandInput | TagResourceCommandInput | TestAuthorizationCommandInput | TestInvokeAuthorizerCommandInput | TransferCertificateCommandInput | UntagResourceCommandInput | UpdateAccountAuditConfigurationCommandInput | UpdateAuditSuppressionCommandInput | UpdateAuthorizerCommandInput | UpdateBillingGroupCommandInput | UpdateCACertificateCommandInput | UpdateCertificateCommandInput | UpdateCustomMetricCommandInput | UpdateDimensionCommandInput | UpdateDomainConfigurationCommandInput | UpdateDynamicThingGroupCommandInput | UpdateEventConfigurationsCommandInput | UpdateFleetMetricCommandInput | UpdateIndexingConfigurationCommandInput | UpdateJobCommandInput | UpdateMitigationActionCommandInput | UpdateProvisioningTemplateCommandInput | UpdateRoleAliasCommandInput | UpdateScheduledAuditCommandInput | UpdateSecurityProfileCommandInput | UpdateStreamCommandInput | UpdateThingCommandInput | UpdateThingGroupCommandInput | UpdateThingGroupsForThingCommandInput | UpdateTopicRuleDestinationCommandInput | ValidateSecurityProfileBehaviorsCommandInput;
|
|
246
|
-
export declare type ServiceOutputTypes = AcceptCertificateTransferCommandOutput | AddThingToBillingGroupCommandOutput | AddThingToThingGroupCommandOutput | AssociateTargetsWithJobCommandOutput | AttachPolicyCommandOutput | AttachPrincipalPolicyCommandOutput | AttachSecurityProfileCommandOutput | AttachThingPrincipalCommandOutput | CancelAuditMitigationActionsTaskCommandOutput | CancelAuditTaskCommandOutput | CancelCertificateTransferCommandOutput | CancelDetectMitigationActionsTaskCommandOutput | CancelJobCommandOutput | CancelJobExecutionCommandOutput | ClearDefaultAuthorizerCommandOutput | ConfirmTopicRuleDestinationCommandOutput | CreateAuditSuppressionCommandOutput | CreateAuthorizerCommandOutput | CreateBillingGroupCommandOutput | CreateCertificateFromCsrCommandOutput | CreateCustomMetricCommandOutput | CreateDimensionCommandOutput | CreateDomainConfigurationCommandOutput | CreateDynamicThingGroupCommandOutput | CreateFleetMetricCommandOutput | CreateJobCommandOutput | CreateJobTemplateCommandOutput | CreateKeysAndCertificateCommandOutput | CreateMitigationActionCommandOutput | CreateOTAUpdateCommandOutput | CreatePolicyCommandOutput | CreatePolicyVersionCommandOutput | CreateProvisioningClaimCommandOutput | CreateProvisioningTemplateCommandOutput | CreateProvisioningTemplateVersionCommandOutput | CreateRoleAliasCommandOutput | CreateScheduledAuditCommandOutput | CreateSecurityProfileCommandOutput | CreateStreamCommandOutput | CreateThingCommandOutput | CreateThingGroupCommandOutput | CreateThingTypeCommandOutput | CreateTopicRuleCommandOutput | CreateTopicRuleDestinationCommandOutput | DeleteAccountAuditConfigurationCommandOutput | DeleteAuditSuppressionCommandOutput | DeleteAuthorizerCommandOutput | DeleteBillingGroupCommandOutput | DeleteCACertificateCommandOutput | DeleteCertificateCommandOutput | DeleteCustomMetricCommandOutput | DeleteDimensionCommandOutput | DeleteDomainConfigurationCommandOutput | DeleteDynamicThingGroupCommandOutput | DeleteFleetMetricCommandOutput | DeleteJobCommandOutput | DeleteJobExecutionCommandOutput | DeleteJobTemplateCommandOutput | DeleteMitigationActionCommandOutput | DeleteOTAUpdateCommandOutput | DeletePolicyCommandOutput | DeletePolicyVersionCommandOutput | DeleteProvisioningTemplateCommandOutput | DeleteProvisioningTemplateVersionCommandOutput | DeleteRegistrationCodeCommandOutput | DeleteRoleAliasCommandOutput | DeleteScheduledAuditCommandOutput | DeleteSecurityProfileCommandOutput | DeleteStreamCommandOutput | DeleteThingCommandOutput | DeleteThingGroupCommandOutput | DeleteThingTypeCommandOutput | DeleteTopicRuleCommandOutput | DeleteTopicRuleDestinationCommandOutput | DeleteV2LoggingLevelCommandOutput | DeprecateThingTypeCommandOutput | DescribeAccountAuditConfigurationCommandOutput | DescribeAuditFindingCommandOutput | DescribeAuditMitigationActionsTaskCommandOutput | DescribeAuditSuppressionCommandOutput | DescribeAuditTaskCommandOutput | DescribeAuthorizerCommandOutput | DescribeBillingGroupCommandOutput | DescribeCACertificateCommandOutput | DescribeCertificateCommandOutput | DescribeCustomMetricCommandOutput | DescribeDefaultAuthorizerCommandOutput | DescribeDetectMitigationActionsTaskCommandOutput | DescribeDimensionCommandOutput | DescribeDomainConfigurationCommandOutput | DescribeEndpointCommandOutput | DescribeEventConfigurationsCommandOutput | DescribeFleetMetricCommandOutput | DescribeIndexCommandOutput | DescribeJobCommandOutput | DescribeJobExecutionCommandOutput | DescribeJobTemplateCommandOutput | DescribeManagedJobTemplateCommandOutput | DescribeMitigationActionCommandOutput | DescribeProvisioningTemplateCommandOutput | DescribeProvisioningTemplateVersionCommandOutput | DescribeRoleAliasCommandOutput | DescribeScheduledAuditCommandOutput | DescribeSecurityProfileCommandOutput | DescribeStreamCommandOutput | DescribeThingCommandOutput | DescribeThingGroupCommandOutput | DescribeThingRegistrationTaskCommandOutput | DescribeThingTypeCommandOutput | DetachPolicyCommandOutput | DetachPrincipalPolicyCommandOutput | DetachSecurityProfileCommandOutput | DetachThingPrincipalCommandOutput | DisableTopicRuleCommandOutput | EnableTopicRuleCommandOutput | GetBehaviorModelTrainingSummariesCommandOutput | GetBucketsAggregationCommandOutput | GetCardinalityCommandOutput | GetEffectivePoliciesCommandOutput | GetIndexingConfigurationCommandOutput | GetJobDocumentCommandOutput | GetLoggingOptionsCommandOutput | GetOTAUpdateCommandOutput | GetPercentilesCommandOutput | GetPolicyCommandOutput | GetPolicyVersionCommandOutput | GetRegistrationCodeCommandOutput | GetStatisticsCommandOutput | GetTopicRuleCommandOutput | GetTopicRuleDestinationCommandOutput | GetV2LoggingOptionsCommandOutput | ListActiveViolationsCommandOutput | ListAttachedPoliciesCommandOutput | ListAuditFindingsCommandOutput | ListAuditMitigationActionsExecutionsCommandOutput | ListAuditMitigationActionsTasksCommandOutput | ListAuditSuppressionsCommandOutput | ListAuditTasksCommandOutput | ListAuthorizersCommandOutput | ListBillingGroupsCommandOutput | ListCACertificatesCommandOutput | ListCertificatesByCACommandOutput | ListCertificatesCommandOutput | ListCustomMetricsCommandOutput | ListDetectMitigationActionsExecutionsCommandOutput | ListDetectMitigationActionsTasksCommandOutput | ListDimensionsCommandOutput | ListDomainConfigurationsCommandOutput | ListFleetMetricsCommandOutput | ListIndicesCommandOutput | ListJobExecutionsForJobCommandOutput | ListJobExecutionsForThingCommandOutput | ListJobTemplatesCommandOutput | ListJobsCommandOutput | ListManagedJobTemplatesCommandOutput | ListMitigationActionsCommandOutput | ListOTAUpdatesCommandOutput | ListOutgoingCertificatesCommandOutput | ListPoliciesCommandOutput | ListPolicyPrincipalsCommandOutput | ListPolicyVersionsCommandOutput | ListPrincipalPoliciesCommandOutput | ListPrincipalThingsCommandOutput | ListProvisioningTemplateVersionsCommandOutput | ListProvisioningTemplatesCommandOutput | ListRoleAliasesCommandOutput | ListScheduledAuditsCommandOutput | ListSecurityProfilesCommandOutput | ListSecurityProfilesForTargetCommandOutput | ListStreamsCommandOutput | ListTagsForResourceCommandOutput | ListTargetsForPolicyCommandOutput | ListTargetsForSecurityProfileCommandOutput | ListThingGroupsCommandOutput | ListThingGroupsForThingCommandOutput | ListThingPrincipalsCommandOutput | ListThingRegistrationTaskReportsCommandOutput | ListThingRegistrationTasksCommandOutput | ListThingTypesCommandOutput | ListThingsCommandOutput | ListThingsInBillingGroupCommandOutput | ListThingsInThingGroupCommandOutput | ListTopicRuleDestinationsCommandOutput | ListTopicRulesCommandOutput | ListV2LoggingLevelsCommandOutput | ListViolationEventsCommandOutput | PutVerificationStateOnViolationCommandOutput | RegisterCACertificateCommandOutput | RegisterCertificateCommandOutput | RegisterCertificateWithoutCACommandOutput | RegisterThingCommandOutput | RejectCertificateTransferCommandOutput | RemoveThingFromBillingGroupCommandOutput | RemoveThingFromThingGroupCommandOutput | ReplaceTopicRuleCommandOutput | SearchIndexCommandOutput | SetDefaultAuthorizerCommandOutput | SetDefaultPolicyVersionCommandOutput | SetLoggingOptionsCommandOutput | SetV2LoggingLevelCommandOutput | SetV2LoggingOptionsCommandOutput | StartAuditMitigationActionsTaskCommandOutput | StartDetectMitigationActionsTaskCommandOutput | StartOnDemandAuditTaskCommandOutput | StartThingRegistrationTaskCommandOutput | StopThingRegistrationTaskCommandOutput | TagResourceCommandOutput | TestAuthorizationCommandOutput | TestInvokeAuthorizerCommandOutput | TransferCertificateCommandOutput | UntagResourceCommandOutput | UpdateAccountAuditConfigurationCommandOutput | UpdateAuditSuppressionCommandOutput | UpdateAuthorizerCommandOutput | UpdateBillingGroupCommandOutput | UpdateCACertificateCommandOutput | UpdateCertificateCommandOutput | UpdateCustomMetricCommandOutput | UpdateDimensionCommandOutput | UpdateDomainConfigurationCommandOutput | UpdateDynamicThingGroupCommandOutput | UpdateEventConfigurationsCommandOutput | UpdateFleetMetricCommandOutput | UpdateIndexingConfigurationCommandOutput | UpdateJobCommandOutput | UpdateMitigationActionCommandOutput | UpdateProvisioningTemplateCommandOutput | UpdateRoleAliasCommandOutput | UpdateScheduledAuditCommandOutput | UpdateSecurityProfileCommandOutput | UpdateStreamCommandOutput | UpdateThingCommandOutput | UpdateThingGroupCommandOutput | UpdateThingGroupsForThingCommandOutput | UpdateTopicRuleDestinationCommandOutput | ValidateSecurityProfileBehaviorsCommandOutput;
|
|
246
|
+
export declare type ServiceInputTypes = AcceptCertificateTransferCommandInput | AddThingToBillingGroupCommandInput | AddThingToThingGroupCommandInput | AssociateTargetsWithJobCommandInput | AttachPolicyCommandInput | AttachPrincipalPolicyCommandInput | AttachSecurityProfileCommandInput | AttachThingPrincipalCommandInput | CancelAuditMitigationActionsTaskCommandInput | CancelAuditTaskCommandInput | CancelCertificateTransferCommandInput | CancelDetectMitigationActionsTaskCommandInput | CancelJobCommandInput | CancelJobExecutionCommandInput | ClearDefaultAuthorizerCommandInput | ConfirmTopicRuleDestinationCommandInput | CreateAuditSuppressionCommandInput | CreateAuthorizerCommandInput | CreateBillingGroupCommandInput | CreateCertificateFromCsrCommandInput | CreateCustomMetricCommandInput | CreateDimensionCommandInput | CreateDomainConfigurationCommandInput | CreateDynamicThingGroupCommandInput | CreateFleetMetricCommandInput | CreateJobCommandInput | CreateJobTemplateCommandInput | CreateKeysAndCertificateCommandInput | CreateMitigationActionCommandInput | CreateOTAUpdateCommandInput | CreatePolicyCommandInput | CreatePolicyVersionCommandInput | CreateProvisioningClaimCommandInput | CreateProvisioningTemplateCommandInput | CreateProvisioningTemplateVersionCommandInput | CreateRoleAliasCommandInput | CreateScheduledAuditCommandInput | CreateSecurityProfileCommandInput | CreateStreamCommandInput | CreateThingCommandInput | CreateThingGroupCommandInput | CreateThingTypeCommandInput | CreateTopicRuleCommandInput | CreateTopicRuleDestinationCommandInput | DeleteAccountAuditConfigurationCommandInput | DeleteAuditSuppressionCommandInput | DeleteAuthorizerCommandInput | DeleteBillingGroupCommandInput | DeleteCACertificateCommandInput | DeleteCertificateCommandInput | DeleteCustomMetricCommandInput | DeleteDimensionCommandInput | DeleteDomainConfigurationCommandInput | DeleteDynamicThingGroupCommandInput | DeleteFleetMetricCommandInput | DeleteJobCommandInput | DeleteJobExecutionCommandInput | DeleteJobTemplateCommandInput | DeleteMitigationActionCommandInput | DeleteOTAUpdateCommandInput | DeletePolicyCommandInput | DeletePolicyVersionCommandInput | DeleteProvisioningTemplateCommandInput | DeleteProvisioningTemplateVersionCommandInput | DeleteRegistrationCodeCommandInput | DeleteRoleAliasCommandInput | DeleteScheduledAuditCommandInput | DeleteSecurityProfileCommandInput | DeleteStreamCommandInput | DeleteThingCommandInput | DeleteThingGroupCommandInput | DeleteThingTypeCommandInput | DeleteTopicRuleCommandInput | DeleteTopicRuleDestinationCommandInput | DeleteV2LoggingLevelCommandInput | DeprecateThingTypeCommandInput | DescribeAccountAuditConfigurationCommandInput | DescribeAuditFindingCommandInput | DescribeAuditMitigationActionsTaskCommandInput | DescribeAuditSuppressionCommandInput | DescribeAuditTaskCommandInput | DescribeAuthorizerCommandInput | DescribeBillingGroupCommandInput | DescribeCACertificateCommandInput | DescribeCertificateCommandInput | DescribeCustomMetricCommandInput | DescribeDefaultAuthorizerCommandInput | DescribeDetectMitigationActionsTaskCommandInput | DescribeDimensionCommandInput | DescribeDomainConfigurationCommandInput | DescribeEndpointCommandInput | DescribeEventConfigurationsCommandInput | DescribeFleetMetricCommandInput | DescribeIndexCommandInput | DescribeJobCommandInput | DescribeJobExecutionCommandInput | DescribeJobTemplateCommandInput | DescribeManagedJobTemplateCommandInput | DescribeMitigationActionCommandInput | DescribeProvisioningTemplateCommandInput | DescribeProvisioningTemplateVersionCommandInput | DescribeRoleAliasCommandInput | DescribeScheduledAuditCommandInput | DescribeSecurityProfileCommandInput | DescribeStreamCommandInput | DescribeThingCommandInput | DescribeThingGroupCommandInput | DescribeThingRegistrationTaskCommandInput | DescribeThingTypeCommandInput | DetachPolicyCommandInput | DetachPrincipalPolicyCommandInput | DetachSecurityProfileCommandInput | DetachThingPrincipalCommandInput | DisableTopicRuleCommandInput | EnableTopicRuleCommandInput | GetBehaviorModelTrainingSummariesCommandInput | GetBucketsAggregationCommandInput | GetCardinalityCommandInput | GetEffectivePoliciesCommandInput | GetIndexingConfigurationCommandInput | GetJobDocumentCommandInput | GetLoggingOptionsCommandInput | GetOTAUpdateCommandInput | GetPercentilesCommandInput | GetPolicyCommandInput | GetPolicyVersionCommandInput | GetRegistrationCodeCommandInput | GetStatisticsCommandInput | GetTopicRuleCommandInput | GetTopicRuleDestinationCommandInput | GetV2LoggingOptionsCommandInput | ListActiveViolationsCommandInput | ListAttachedPoliciesCommandInput | ListAuditFindingsCommandInput | ListAuditMitigationActionsExecutionsCommandInput | ListAuditMitigationActionsTasksCommandInput | ListAuditSuppressionsCommandInput | ListAuditTasksCommandInput | ListAuthorizersCommandInput | ListBillingGroupsCommandInput | ListCACertificatesCommandInput | ListCertificatesByCACommandInput | ListCertificatesCommandInput | ListCustomMetricsCommandInput | ListDetectMitigationActionsExecutionsCommandInput | ListDetectMitigationActionsTasksCommandInput | ListDimensionsCommandInput | ListDomainConfigurationsCommandInput | ListFleetMetricsCommandInput | ListIndicesCommandInput | ListJobExecutionsForJobCommandInput | ListJobExecutionsForThingCommandInput | ListJobTemplatesCommandInput | ListJobsCommandInput | ListManagedJobTemplatesCommandInput | ListMetricValuesCommandInput | ListMitigationActionsCommandInput | ListOTAUpdatesCommandInput | ListOutgoingCertificatesCommandInput | ListPoliciesCommandInput | ListPolicyPrincipalsCommandInput | ListPolicyVersionsCommandInput | ListPrincipalPoliciesCommandInput | ListPrincipalThingsCommandInput | ListProvisioningTemplateVersionsCommandInput | ListProvisioningTemplatesCommandInput | ListRoleAliasesCommandInput | ListScheduledAuditsCommandInput | ListSecurityProfilesCommandInput | ListSecurityProfilesForTargetCommandInput | ListStreamsCommandInput | ListTagsForResourceCommandInput | ListTargetsForPolicyCommandInput | ListTargetsForSecurityProfileCommandInput | ListThingGroupsCommandInput | ListThingGroupsForThingCommandInput | ListThingPrincipalsCommandInput | ListThingRegistrationTaskReportsCommandInput | ListThingRegistrationTasksCommandInput | ListThingTypesCommandInput | ListThingsCommandInput | ListThingsInBillingGroupCommandInput | ListThingsInThingGroupCommandInput | ListTopicRuleDestinationsCommandInput | ListTopicRulesCommandInput | ListV2LoggingLevelsCommandInput | ListViolationEventsCommandInput | PutVerificationStateOnViolationCommandInput | RegisterCACertificateCommandInput | RegisterCertificateCommandInput | RegisterCertificateWithoutCACommandInput | RegisterThingCommandInput | RejectCertificateTransferCommandInput | RemoveThingFromBillingGroupCommandInput | RemoveThingFromThingGroupCommandInput | ReplaceTopicRuleCommandInput | SearchIndexCommandInput | SetDefaultAuthorizerCommandInput | SetDefaultPolicyVersionCommandInput | SetLoggingOptionsCommandInput | SetV2LoggingLevelCommandInput | SetV2LoggingOptionsCommandInput | StartAuditMitigationActionsTaskCommandInput | StartDetectMitigationActionsTaskCommandInput | StartOnDemandAuditTaskCommandInput | StartThingRegistrationTaskCommandInput | StopThingRegistrationTaskCommandInput | TagResourceCommandInput | TestAuthorizationCommandInput | TestInvokeAuthorizerCommandInput | TransferCertificateCommandInput | UntagResourceCommandInput | UpdateAccountAuditConfigurationCommandInput | UpdateAuditSuppressionCommandInput | UpdateAuthorizerCommandInput | UpdateBillingGroupCommandInput | UpdateCACertificateCommandInput | UpdateCertificateCommandInput | UpdateCustomMetricCommandInput | UpdateDimensionCommandInput | UpdateDomainConfigurationCommandInput | UpdateDynamicThingGroupCommandInput | UpdateEventConfigurationsCommandInput | UpdateFleetMetricCommandInput | UpdateIndexingConfigurationCommandInput | UpdateJobCommandInput | UpdateMitigationActionCommandInput | UpdateProvisioningTemplateCommandInput | UpdateRoleAliasCommandInput | UpdateScheduledAuditCommandInput | UpdateSecurityProfileCommandInput | UpdateStreamCommandInput | UpdateThingCommandInput | UpdateThingGroupCommandInput | UpdateThingGroupsForThingCommandInput | UpdateTopicRuleDestinationCommandInput | ValidateSecurityProfileBehaviorsCommandInput;
|
|
247
|
+
export declare type ServiceOutputTypes = AcceptCertificateTransferCommandOutput | AddThingToBillingGroupCommandOutput | AddThingToThingGroupCommandOutput | AssociateTargetsWithJobCommandOutput | AttachPolicyCommandOutput | AttachPrincipalPolicyCommandOutput | AttachSecurityProfileCommandOutput | AttachThingPrincipalCommandOutput | CancelAuditMitigationActionsTaskCommandOutput | CancelAuditTaskCommandOutput | CancelCertificateTransferCommandOutput | CancelDetectMitigationActionsTaskCommandOutput | CancelJobCommandOutput | CancelJobExecutionCommandOutput | ClearDefaultAuthorizerCommandOutput | ConfirmTopicRuleDestinationCommandOutput | CreateAuditSuppressionCommandOutput | CreateAuthorizerCommandOutput | CreateBillingGroupCommandOutput | CreateCertificateFromCsrCommandOutput | CreateCustomMetricCommandOutput | CreateDimensionCommandOutput | CreateDomainConfigurationCommandOutput | CreateDynamicThingGroupCommandOutput | CreateFleetMetricCommandOutput | CreateJobCommandOutput | CreateJobTemplateCommandOutput | CreateKeysAndCertificateCommandOutput | CreateMitigationActionCommandOutput | CreateOTAUpdateCommandOutput | CreatePolicyCommandOutput | CreatePolicyVersionCommandOutput | CreateProvisioningClaimCommandOutput | CreateProvisioningTemplateCommandOutput | CreateProvisioningTemplateVersionCommandOutput | CreateRoleAliasCommandOutput | CreateScheduledAuditCommandOutput | CreateSecurityProfileCommandOutput | CreateStreamCommandOutput | CreateThingCommandOutput | CreateThingGroupCommandOutput | CreateThingTypeCommandOutput | CreateTopicRuleCommandOutput | CreateTopicRuleDestinationCommandOutput | DeleteAccountAuditConfigurationCommandOutput | DeleteAuditSuppressionCommandOutput | DeleteAuthorizerCommandOutput | DeleteBillingGroupCommandOutput | DeleteCACertificateCommandOutput | DeleteCertificateCommandOutput | DeleteCustomMetricCommandOutput | DeleteDimensionCommandOutput | DeleteDomainConfigurationCommandOutput | DeleteDynamicThingGroupCommandOutput | DeleteFleetMetricCommandOutput | DeleteJobCommandOutput | DeleteJobExecutionCommandOutput | DeleteJobTemplateCommandOutput | DeleteMitigationActionCommandOutput | DeleteOTAUpdateCommandOutput | DeletePolicyCommandOutput | DeletePolicyVersionCommandOutput | DeleteProvisioningTemplateCommandOutput | DeleteProvisioningTemplateVersionCommandOutput | DeleteRegistrationCodeCommandOutput | DeleteRoleAliasCommandOutput | DeleteScheduledAuditCommandOutput | DeleteSecurityProfileCommandOutput | DeleteStreamCommandOutput | DeleteThingCommandOutput | DeleteThingGroupCommandOutput | DeleteThingTypeCommandOutput | DeleteTopicRuleCommandOutput | DeleteTopicRuleDestinationCommandOutput | DeleteV2LoggingLevelCommandOutput | DeprecateThingTypeCommandOutput | DescribeAccountAuditConfigurationCommandOutput | DescribeAuditFindingCommandOutput | DescribeAuditMitigationActionsTaskCommandOutput | DescribeAuditSuppressionCommandOutput | DescribeAuditTaskCommandOutput | DescribeAuthorizerCommandOutput | DescribeBillingGroupCommandOutput | DescribeCACertificateCommandOutput | DescribeCertificateCommandOutput | DescribeCustomMetricCommandOutput | DescribeDefaultAuthorizerCommandOutput | DescribeDetectMitigationActionsTaskCommandOutput | DescribeDimensionCommandOutput | DescribeDomainConfigurationCommandOutput | DescribeEndpointCommandOutput | DescribeEventConfigurationsCommandOutput | DescribeFleetMetricCommandOutput | DescribeIndexCommandOutput | DescribeJobCommandOutput | DescribeJobExecutionCommandOutput | DescribeJobTemplateCommandOutput | DescribeManagedJobTemplateCommandOutput | DescribeMitigationActionCommandOutput | DescribeProvisioningTemplateCommandOutput | DescribeProvisioningTemplateVersionCommandOutput | DescribeRoleAliasCommandOutput | DescribeScheduledAuditCommandOutput | DescribeSecurityProfileCommandOutput | DescribeStreamCommandOutput | DescribeThingCommandOutput | DescribeThingGroupCommandOutput | DescribeThingRegistrationTaskCommandOutput | DescribeThingTypeCommandOutput | DetachPolicyCommandOutput | DetachPrincipalPolicyCommandOutput | DetachSecurityProfileCommandOutput | DetachThingPrincipalCommandOutput | DisableTopicRuleCommandOutput | EnableTopicRuleCommandOutput | GetBehaviorModelTrainingSummariesCommandOutput | GetBucketsAggregationCommandOutput | GetCardinalityCommandOutput | GetEffectivePoliciesCommandOutput | GetIndexingConfigurationCommandOutput | GetJobDocumentCommandOutput | GetLoggingOptionsCommandOutput | GetOTAUpdateCommandOutput | GetPercentilesCommandOutput | GetPolicyCommandOutput | GetPolicyVersionCommandOutput | GetRegistrationCodeCommandOutput | GetStatisticsCommandOutput | GetTopicRuleCommandOutput | GetTopicRuleDestinationCommandOutput | GetV2LoggingOptionsCommandOutput | ListActiveViolationsCommandOutput | ListAttachedPoliciesCommandOutput | ListAuditFindingsCommandOutput | ListAuditMitigationActionsExecutionsCommandOutput | ListAuditMitigationActionsTasksCommandOutput | ListAuditSuppressionsCommandOutput | ListAuditTasksCommandOutput | ListAuthorizersCommandOutput | ListBillingGroupsCommandOutput | ListCACertificatesCommandOutput | ListCertificatesByCACommandOutput | ListCertificatesCommandOutput | ListCustomMetricsCommandOutput | ListDetectMitigationActionsExecutionsCommandOutput | ListDetectMitigationActionsTasksCommandOutput | ListDimensionsCommandOutput | ListDomainConfigurationsCommandOutput | ListFleetMetricsCommandOutput | ListIndicesCommandOutput | ListJobExecutionsForJobCommandOutput | ListJobExecutionsForThingCommandOutput | ListJobTemplatesCommandOutput | ListJobsCommandOutput | ListManagedJobTemplatesCommandOutput | ListMetricValuesCommandOutput | ListMitigationActionsCommandOutput | ListOTAUpdatesCommandOutput | ListOutgoingCertificatesCommandOutput | ListPoliciesCommandOutput | ListPolicyPrincipalsCommandOutput | ListPolicyVersionsCommandOutput | ListPrincipalPoliciesCommandOutput | ListPrincipalThingsCommandOutput | ListProvisioningTemplateVersionsCommandOutput | ListProvisioningTemplatesCommandOutput | ListRoleAliasesCommandOutput | ListScheduledAuditsCommandOutput | ListSecurityProfilesCommandOutput | ListSecurityProfilesForTargetCommandOutput | ListStreamsCommandOutput | ListTagsForResourceCommandOutput | ListTargetsForPolicyCommandOutput | ListTargetsForSecurityProfileCommandOutput | ListThingGroupsCommandOutput | ListThingGroupsForThingCommandOutput | ListThingPrincipalsCommandOutput | ListThingRegistrationTaskReportsCommandOutput | ListThingRegistrationTasksCommandOutput | ListThingTypesCommandOutput | ListThingsCommandOutput | ListThingsInBillingGroupCommandOutput | ListThingsInThingGroupCommandOutput | ListTopicRuleDestinationsCommandOutput | ListTopicRulesCommandOutput | ListV2LoggingLevelsCommandOutput | ListViolationEventsCommandOutput | PutVerificationStateOnViolationCommandOutput | RegisterCACertificateCommandOutput | RegisterCertificateCommandOutput | RegisterCertificateWithoutCACommandOutput | RegisterThingCommandOutput | RejectCertificateTransferCommandOutput | RemoveThingFromBillingGroupCommandOutput | RemoveThingFromThingGroupCommandOutput | ReplaceTopicRuleCommandOutput | SearchIndexCommandOutput | SetDefaultAuthorizerCommandOutput | SetDefaultPolicyVersionCommandOutput | SetLoggingOptionsCommandOutput | SetV2LoggingLevelCommandOutput | SetV2LoggingOptionsCommandOutput | StartAuditMitigationActionsTaskCommandOutput | StartDetectMitigationActionsTaskCommandOutput | StartOnDemandAuditTaskCommandOutput | StartThingRegistrationTaskCommandOutput | StopThingRegistrationTaskCommandOutput | TagResourceCommandOutput | TestAuthorizationCommandOutput | TestInvokeAuthorizerCommandOutput | TransferCertificateCommandOutput | UntagResourceCommandOutput | UpdateAccountAuditConfigurationCommandOutput | UpdateAuditSuppressionCommandOutput | UpdateAuthorizerCommandOutput | UpdateBillingGroupCommandOutput | UpdateCACertificateCommandOutput | UpdateCertificateCommandOutput | UpdateCustomMetricCommandOutput | UpdateDimensionCommandOutput | UpdateDomainConfigurationCommandOutput | UpdateDynamicThingGroupCommandOutput | UpdateEventConfigurationsCommandOutput | UpdateFleetMetricCommandOutput | UpdateIndexingConfigurationCommandOutput | UpdateJobCommandOutput | UpdateMitigationActionCommandOutput | UpdateProvisioningTemplateCommandOutput | UpdateRoleAliasCommandOutput | UpdateScheduledAuditCommandOutput | UpdateSecurityProfileCommandOutput | UpdateStreamCommandOutput | UpdateThingCommandOutput | UpdateThingGroupCommandOutput | UpdateThingGroupsForThingCommandOutput | UpdateTopicRuleDestinationCommandOutput | ValidateSecurityProfileBehaviorsCommandOutput;
|
|
247
248
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
248
249
|
/**
|
|
249
250
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -0,0 +1,36 @@
|
|
|
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 { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
4
|
+
import { ListMetricValuesRequest, ListMetricValuesResponse } from "../models/models_1";
|
|
5
|
+
export interface ListMetricValuesCommandInput extends ListMetricValuesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListMetricValuesCommandOutput extends ListMetricValuesResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Lists the values reported for an IoT Device Defender metric (device-side metric, cloud-side metric, or custom metric)
|
|
11
|
+
* by the given thing during the specified time period.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { IoTClient, ListMetricValuesCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
16
|
+
* // const { IoTClient, ListMetricValuesCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
17
|
+
* const client = new IoTClient(config);
|
|
18
|
+
* const command = new ListMetricValuesCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListMetricValuesCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListMetricValuesCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListMetricValuesCommand extends $Command<ListMetricValuesCommandInput, ListMetricValuesCommandOutput, IoTClientResolvedConfig> {
|
|
28
|
+
readonly input: ListMetricValuesCommandInput;
|
|
29
|
+
constructor(input: ListMetricValuesCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListMetricValuesCommandInput, ListMetricValuesCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
4
|
-
import { ListThingPrincipalsRequest, ListThingPrincipalsResponse } from "../models/
|
|
4
|
+
import { ListThingPrincipalsRequest, ListThingPrincipalsResponse } from "../models/models_2";
|
|
5
5
|
export interface ListThingPrincipalsCommandInput extends ListThingPrincipalsRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface ListThingPrincipalsCommandOutput extends ListThingPrincipalsResponse, __MetadataBearer {
|
|
@@ -153,6 +153,7 @@ export * from "./ListJobExecutionsForThingCommand";
|
|
|
153
153
|
export * from "./ListJobTemplatesCommand";
|
|
154
154
|
export * from "./ListJobsCommand";
|
|
155
155
|
export * from "./ListManagedJobTemplatesCommand";
|
|
156
|
+
export * from "./ListMetricValuesCommand";
|
|
156
157
|
export * from "./ListMitigationActionsCommand";
|
|
157
158
|
export * from "./ListOTAUpdatesCommand";
|
|
158
159
|
export * from "./ListOutgoingCertificatesCommand";
|
|
@@ -4375,11 +4375,11 @@ export interface CustomCodeSigning {
|
|
|
4375
4375
|
*/
|
|
4376
4376
|
certificateChain?: CodeSigningCertificateChain;
|
|
4377
4377
|
/**
|
|
4378
|
-
* <p>The hash algorithm used to code sign the file
|
|
4378
|
+
* <p>The hash algorithm used to code sign the file.</p>
|
|
4379
4379
|
*/
|
|
4380
4380
|
hashAlgorithm?: string;
|
|
4381
4381
|
/**
|
|
4382
|
-
* <p>The signature algorithm used to code sign the file
|
|
4382
|
+
* <p>The signature algorithm used to code sign the file.</p>
|
|
4383
4383
|
*/
|
|
4384
4384
|
signatureAlgorithm?: string;
|
|
4385
4385
|
}
|