@aws-sdk/client-iot 3.714.0 → 3.715.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/README.md +8 -0
- package/dist-cjs/index.js +80 -7
- package/dist-es/IoT.js +2 -0
- package/dist-es/commands/GetThingConnectivityDataCommand.js +23 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_1.js +24 -6
- package/dist-es/models/models_2.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +26 -0
- package/dist-types/IoT.d.ts +7 -0
- package/dist-types/IoTClient.d.ts +3 -2
- package/dist-types/commands/GetThingConnectivityDataCommand.d.ts +95 -0
- package/dist-types/commands/ListCommandExecutionsCommand.d.ts +18 -5
- package/dist-types/commands/ListDetectMitigationActionsExecutionsCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +4 -1
- package/dist-types/models/models_1.d.ts +69 -140
- package/dist-types/models/models_2.d.ts +141 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/IoT.d.ts +17 -0
- package/dist-types/ts3.4/IoTClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/GetThingConnectivityDataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDetectMitigationActionsExecutionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +33 -28
- package/dist-types/ts3.4/models/models_2.d.ts +28 -1
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1378,6 +1378,14 @@ GetStatistics
|
|
|
1378
1378
|
|
|
1379
1379
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot/command/GetStatisticsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot/Interface/GetStatisticsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot/Interface/GetStatisticsCommandOutput/)
|
|
1380
1380
|
|
|
1381
|
+
</details>
|
|
1382
|
+
<details>
|
|
1383
|
+
<summary>
|
|
1384
|
+
GetThingConnectivityData
|
|
1385
|
+
</summary>
|
|
1386
|
+
|
|
1387
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot/command/GetThingConnectivityDataCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot/Interface/GetThingConnectivityDataCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot/Interface/GetThingConnectivityDataCommandOutput/)
|
|
1388
|
+
|
|
1381
1389
|
</details>
|
|
1382
1390
|
<details>
|
|
1383
1391
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -198,6 +198,7 @@ __export(src_exports, {
|
|
|
198
198
|
DimensionValueOperator: () => DimensionValueOperator,
|
|
199
199
|
DisableTopicRuleCommand: () => DisableTopicRuleCommand,
|
|
200
200
|
DisassociateSbomFromPackageVersionCommand: () => DisassociateSbomFromPackageVersionCommand,
|
|
201
|
+
DisconnectReasonValue: () => DisconnectReasonValue,
|
|
201
202
|
DomainConfigurationStatus: () => DomainConfigurationStatus,
|
|
202
203
|
DomainType: () => DomainType,
|
|
203
204
|
DynamicGroupStatus: () => DynamicGroupStatus,
|
|
@@ -226,6 +227,9 @@ __export(src_exports, {
|
|
|
226
227
|
GetPolicyVersionCommand: () => GetPolicyVersionCommand,
|
|
227
228
|
GetRegistrationCodeCommand: () => GetRegistrationCodeCommand,
|
|
228
229
|
GetStatisticsCommand: () => GetStatisticsCommand,
|
|
230
|
+
GetThingConnectivityDataCommand: () => GetThingConnectivityDataCommand,
|
|
231
|
+
GetThingConnectivityDataRequestFilterSensitiveLog: () => GetThingConnectivityDataRequestFilterSensitiveLog,
|
|
232
|
+
GetThingConnectivityDataResponseFilterSensitiveLog: () => GetThingConnectivityDataResponseFilterSensitiveLog,
|
|
229
233
|
GetTopicRuleCommand: () => GetTopicRuleCommand,
|
|
230
234
|
GetTopicRuleDestinationCommand: () => GetTopicRuleDestinationCommand,
|
|
231
235
|
GetV2LoggingOptionsCommand: () => GetV2LoggingOptionsCommand,
|
|
@@ -1575,6 +1579,22 @@ var ThingIndexingMode = {
|
|
|
1575
1579
|
REGISTRY: "REGISTRY",
|
|
1576
1580
|
REGISTRY_AND_SHADOW: "REGISTRY_AND_SHADOW"
|
|
1577
1581
|
};
|
|
1582
|
+
var DisconnectReasonValue = {
|
|
1583
|
+
AUTH_ERROR: "AUTH_ERROR",
|
|
1584
|
+
CLIENT_ERROR: "CLIENT_ERROR",
|
|
1585
|
+
CLIENT_INITIATED_DISCONNECT: "CLIENT_INITIATED_DISCONNECT",
|
|
1586
|
+
CONNECTION_LOST: "CONNECTION_LOST",
|
|
1587
|
+
CUSTOMAUTH_TTL_EXPIRATION: "CUSTOMAUTH_TTL_EXPIRATION",
|
|
1588
|
+
DUPLICATE_CLIENTID: "DUPLICATE_CLIENTID",
|
|
1589
|
+
FORBIDDEN_ACCESS: "FORBIDDEN_ACCESS",
|
|
1590
|
+
MQTT_KEEP_ALIVE_TIMEOUT: "MQTT_KEEP_ALIVE_TIMEOUT",
|
|
1591
|
+
NONE: "NONE",
|
|
1592
|
+
SERVER_ERROR: "SERVER_ERROR",
|
|
1593
|
+
SERVER_INITIATED_DISCONNECT: "SERVER_INITIATED_DISCONNECT",
|
|
1594
|
+
THROTTLED: "THROTTLED",
|
|
1595
|
+
UNKNOWN: "UNKNOWN",
|
|
1596
|
+
WEBSOCKET_TTL_EXPIRATION: "WEBSOCKET_TTL_EXPIRATION"
|
|
1597
|
+
};
|
|
1578
1598
|
var _NotConfiguredException = class _NotConfiguredException extends IoTServiceException {
|
|
1579
1599
|
/**
|
|
1580
1600
|
* @internal
|
|
@@ -1601,12 +1621,6 @@ var SortOrder = {
|
|
|
1601
1621
|
Ascending: "ASCENDING",
|
|
1602
1622
|
Descending: "DESCENDING"
|
|
1603
1623
|
};
|
|
1604
|
-
var DetectMitigationActionExecutionStatus = {
|
|
1605
|
-
FAILED: "FAILED",
|
|
1606
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
1607
|
-
SKIPPED: "SKIPPED",
|
|
1608
|
-
SUCCESSFUL: "SUCCESSFUL"
|
|
1609
|
-
};
|
|
1610
1624
|
var GetPackageResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1611
1625
|
...obj,
|
|
1612
1626
|
...obj.description && { description: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -1617,9 +1631,23 @@ var GetPackageVersionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) =
|
|
|
1617
1631
|
...obj.attributes && { attributes: import_smithy_client.SENSITIVE_STRING },
|
|
1618
1632
|
...obj.recipe && { recipe: import_smithy_client.SENSITIVE_STRING }
|
|
1619
1633
|
}), "GetPackageVersionResponseFilterSensitiveLog");
|
|
1634
|
+
var GetThingConnectivityDataRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1635
|
+
...obj,
|
|
1636
|
+
...obj.thingName && { thingName: import_smithy_client.SENSITIVE_STRING }
|
|
1637
|
+
}), "GetThingConnectivityDataRequestFilterSensitiveLog");
|
|
1638
|
+
var GetThingConnectivityDataResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1639
|
+
...obj,
|
|
1640
|
+
...obj.thingName && { thingName: import_smithy_client.SENSITIVE_STRING }
|
|
1641
|
+
}), "GetThingConnectivityDataResponseFilterSensitiveLog");
|
|
1620
1642
|
|
|
1621
1643
|
// src/models/models_2.ts
|
|
1622
1644
|
|
|
1645
|
+
var DetectMitigationActionExecutionStatus = {
|
|
1646
|
+
FAILED: "FAILED",
|
|
1647
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
1648
|
+
SKIPPED: "SKIPPED",
|
|
1649
|
+
SUCCESSFUL: "SUCCESSFUL"
|
|
1650
|
+
};
|
|
1623
1651
|
var SbomValidationResult = {
|
|
1624
1652
|
FAILED: "FAILED",
|
|
1625
1653
|
SUCCEEDED: "SUCCEEDED"
|
|
@@ -3648,6 +3676,15 @@ var se_GetStatisticsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
3648
3676
|
b.m("POST").h(headers).b(body);
|
|
3649
3677
|
return b.build();
|
|
3650
3678
|
}, "se_GetStatisticsCommand");
|
|
3679
|
+
var se_GetThingConnectivityDataCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
3680
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
3681
|
+
const headers = {};
|
|
3682
|
+
b.bp("/things/{thingName}/connectivity-data");
|
|
3683
|
+
b.p("thingName", () => input.thingName, "{thingName}", false);
|
|
3684
|
+
let body;
|
|
3685
|
+
b.m("POST").h(headers).b(body);
|
|
3686
|
+
return b.build();
|
|
3687
|
+
}, "se_GetThingConnectivityDataCommand");
|
|
3651
3688
|
var se_GetTopicRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
3652
3689
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
3653
3690
|
const headers = {};
|
|
@@ -7673,6 +7710,23 @@ var de_GetStatisticsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
7673
7710
|
Object.assign(contents, doc);
|
|
7674
7711
|
return contents;
|
|
7675
7712
|
}, "de_GetStatisticsCommand");
|
|
7713
|
+
var de_GetThingConnectivityDataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
7714
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7715
|
+
return de_CommandError(output, context);
|
|
7716
|
+
}
|
|
7717
|
+
const contents = (0, import_smithy_client.map)({
|
|
7718
|
+
$metadata: deserializeMetadata(output)
|
|
7719
|
+
});
|
|
7720
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
7721
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
7722
|
+
connected: import_smithy_client.expectBoolean,
|
|
7723
|
+
disconnectReason: import_smithy_client.expectString,
|
|
7724
|
+
thingName: import_smithy_client.expectString,
|
|
7725
|
+
timestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
7726
|
+
});
|
|
7727
|
+
Object.assign(contents, doc);
|
|
7728
|
+
return contents;
|
|
7729
|
+
}, "de_GetThingConnectivityDataCommand");
|
|
7676
7730
|
var de_GetTopicRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
7677
7731
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7678
7732
|
return de_CommandError(output, context);
|
|
@@ -13123,6 +13177,20 @@ var _GetStatisticsCommand = class _GetStatisticsCommand extends import_smithy_cl
|
|
|
13123
13177
|
__name(_GetStatisticsCommand, "GetStatisticsCommand");
|
|
13124
13178
|
var GetStatisticsCommand = _GetStatisticsCommand;
|
|
13125
13179
|
|
|
13180
|
+
// src/commands/GetThingConnectivityDataCommand.ts
|
|
13181
|
+
|
|
13182
|
+
|
|
13183
|
+
|
|
13184
|
+
var _GetThingConnectivityDataCommand = class _GetThingConnectivityDataCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
13185
|
+
return [
|
|
13186
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
13187
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
13188
|
+
];
|
|
13189
|
+
}).s("AWSIotService", "GetThingConnectivityData", {}).n("IoTClient", "GetThingConnectivityDataCommand").f(GetThingConnectivityDataRequestFilterSensitiveLog, GetThingConnectivityDataResponseFilterSensitiveLog).ser(se_GetThingConnectivityDataCommand).de(de_GetThingConnectivityDataCommand).build() {
|
|
13190
|
+
};
|
|
13191
|
+
__name(_GetThingConnectivityDataCommand, "GetThingConnectivityDataCommand");
|
|
13192
|
+
var GetThingConnectivityDataCommand = _GetThingConnectivityDataCommand;
|
|
13193
|
+
|
|
13126
13194
|
// src/commands/GetTopicRuleCommand.ts
|
|
13127
13195
|
|
|
13128
13196
|
|
|
@@ -15006,6 +15074,7 @@ var commands = {
|
|
|
15006
15074
|
GetPolicyVersionCommand,
|
|
15007
15075
|
GetRegistrationCodeCommand,
|
|
15008
15076
|
GetStatisticsCommand,
|
|
15077
|
+
GetThingConnectivityDataCommand,
|
|
15009
15078
|
GetTopicRuleCommand,
|
|
15010
15079
|
GetTopicRuleDestinationCommand,
|
|
15011
15080
|
GetV2LoggingOptionsCommand,
|
|
@@ -15545,6 +15614,7 @@ var paginateListViolationEvents = (0, import_core.createPaginator)(IoTClient, Li
|
|
|
15545
15614
|
GetPolicyVersionCommand,
|
|
15546
15615
|
GetRegistrationCodeCommand,
|
|
15547
15616
|
GetStatisticsCommand,
|
|
15617
|
+
GetThingConnectivityDataCommand,
|
|
15548
15618
|
GetTopicRuleCommand,
|
|
15549
15619
|
GetTopicRuleDestinationCommand,
|
|
15550
15620
|
GetV2LoggingOptionsCommand,
|
|
@@ -15840,12 +15910,15 @@ var paginateListViolationEvents = (0, import_core.createPaginator)(IoTClient, Li
|
|
|
15840
15910
|
NamedShadowIndexingMode,
|
|
15841
15911
|
ThingConnectivityIndexingMode,
|
|
15842
15912
|
ThingIndexingMode,
|
|
15913
|
+
DisconnectReasonValue,
|
|
15843
15914
|
NotConfiguredException,
|
|
15844
15915
|
BehaviorCriteriaType,
|
|
15845
15916
|
SortOrder,
|
|
15846
|
-
DetectMitigationActionExecutionStatus,
|
|
15847
15917
|
GetPackageResponseFilterSensitiveLog,
|
|
15848
15918
|
GetPackageVersionResponseFilterSensitiveLog,
|
|
15919
|
+
GetThingConnectivityDataRequestFilterSensitiveLog,
|
|
15920
|
+
GetThingConnectivityDataResponseFilterSensitiveLog,
|
|
15921
|
+
DetectMitigationActionExecutionStatus,
|
|
15849
15922
|
SbomValidationResult,
|
|
15850
15923
|
SbomValidationErrorCode,
|
|
15851
15924
|
ReportType,
|
package/dist-es/IoT.js
CHANGED
|
@@ -144,6 +144,7 @@ import { GetPolicyCommand } from "./commands/GetPolicyCommand";
|
|
|
144
144
|
import { GetPolicyVersionCommand, } from "./commands/GetPolicyVersionCommand";
|
|
145
145
|
import { GetRegistrationCodeCommand, } from "./commands/GetRegistrationCodeCommand";
|
|
146
146
|
import { GetStatisticsCommand, } from "./commands/GetStatisticsCommand";
|
|
147
|
+
import { GetThingConnectivityDataCommand, } from "./commands/GetThingConnectivityDataCommand";
|
|
147
148
|
import { GetTopicRuleCommand, } from "./commands/GetTopicRuleCommand";
|
|
148
149
|
import { GetTopicRuleDestinationCommand, } from "./commands/GetTopicRuleDestinationCommand";
|
|
149
150
|
import { GetV2LoggingOptionsCommand, } from "./commands/GetV2LoggingOptionsCommand";
|
|
@@ -415,6 +416,7 @@ const commands = {
|
|
|
415
416
|
GetPolicyVersionCommand,
|
|
416
417
|
GetRegistrationCodeCommand,
|
|
417
418
|
GetStatisticsCommand,
|
|
419
|
+
GetThingConnectivityDataCommand,
|
|
418
420
|
GetTopicRuleCommand,
|
|
419
421
|
GetTopicRuleDestinationCommand,
|
|
420
422
|
GetV2LoggingOptionsCommand,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { GetThingConnectivityDataRequestFilterSensitiveLog, GetThingConnectivityDataResponseFilterSensitiveLog, } from "../models/models_1";
|
|
6
|
+
import { de_GetThingConnectivityDataCommand, se_GetThingConnectivityDataCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class GetThingConnectivityDataCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AWSIotService", "GetThingConnectivityData", {})
|
|
18
|
+
.n("IoTClient", "GetThingConnectivityDataCommand")
|
|
19
|
+
.f(GetThingConnectivityDataRequestFilterSensitiveLog, GetThingConnectivityDataResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_GetThingConnectivityDataCommand)
|
|
21
|
+
.de(de_GetThingConnectivityDataCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -143,6 +143,7 @@ export * from "./GetPolicyCommand";
|
|
|
143
143
|
export * from "./GetPolicyVersionCommand";
|
|
144
144
|
export * from "./GetRegistrationCodeCommand";
|
|
145
145
|
export * from "./GetStatisticsCommand";
|
|
146
|
+
export * from "./GetThingConnectivityDataCommand";
|
|
146
147
|
export * from "./GetTopicRuleCommand";
|
|
147
148
|
export * from "./GetTopicRuleDestinationCommand";
|
|
148
149
|
export * from "./GetV2LoggingOptionsCommand";
|
|
@@ -164,6 +164,22 @@ export const ThingIndexingMode = {
|
|
|
164
164
|
REGISTRY: "REGISTRY",
|
|
165
165
|
REGISTRY_AND_SHADOW: "REGISTRY_AND_SHADOW",
|
|
166
166
|
};
|
|
167
|
+
export const DisconnectReasonValue = {
|
|
168
|
+
AUTH_ERROR: "AUTH_ERROR",
|
|
169
|
+
CLIENT_ERROR: "CLIENT_ERROR",
|
|
170
|
+
CLIENT_INITIATED_DISCONNECT: "CLIENT_INITIATED_DISCONNECT",
|
|
171
|
+
CONNECTION_LOST: "CONNECTION_LOST",
|
|
172
|
+
CUSTOMAUTH_TTL_EXPIRATION: "CUSTOMAUTH_TTL_EXPIRATION",
|
|
173
|
+
DUPLICATE_CLIENTID: "DUPLICATE_CLIENTID",
|
|
174
|
+
FORBIDDEN_ACCESS: "FORBIDDEN_ACCESS",
|
|
175
|
+
MQTT_KEEP_ALIVE_TIMEOUT: "MQTT_KEEP_ALIVE_TIMEOUT",
|
|
176
|
+
NONE: "NONE",
|
|
177
|
+
SERVER_ERROR: "SERVER_ERROR",
|
|
178
|
+
SERVER_INITIATED_DISCONNECT: "SERVER_INITIATED_DISCONNECT",
|
|
179
|
+
THROTTLED: "THROTTLED",
|
|
180
|
+
UNKNOWN: "UNKNOWN",
|
|
181
|
+
WEBSOCKET_TTL_EXPIRATION: "WEBSOCKET_TTL_EXPIRATION",
|
|
182
|
+
};
|
|
167
183
|
export class NotConfiguredException extends __BaseException {
|
|
168
184
|
constructor(opts) {
|
|
169
185
|
super({
|
|
@@ -185,12 +201,6 @@ export const SortOrder = {
|
|
|
185
201
|
Ascending: "ASCENDING",
|
|
186
202
|
Descending: "DESCENDING",
|
|
187
203
|
};
|
|
188
|
-
export const DetectMitigationActionExecutionStatus = {
|
|
189
|
-
FAILED: "FAILED",
|
|
190
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
191
|
-
SKIPPED: "SKIPPED",
|
|
192
|
-
SUCCESSFUL: "SUCCESSFUL",
|
|
193
|
-
};
|
|
194
204
|
export const GetPackageResponseFilterSensitiveLog = (obj) => ({
|
|
195
205
|
...obj,
|
|
196
206
|
...(obj.description && { description: SENSITIVE_STRING }),
|
|
@@ -201,3 +211,11 @@ export const GetPackageVersionResponseFilterSensitiveLog = (obj) => ({
|
|
|
201
211
|
...(obj.attributes && { attributes: SENSITIVE_STRING }),
|
|
202
212
|
...(obj.recipe && { recipe: SENSITIVE_STRING }),
|
|
203
213
|
});
|
|
214
|
+
export const GetThingConnectivityDataRequestFilterSensitiveLog = (obj) => ({
|
|
215
|
+
...obj,
|
|
216
|
+
...(obj.thingName && { thingName: SENSITIVE_STRING }),
|
|
217
|
+
});
|
|
218
|
+
export const GetThingConnectivityDataResponseFilterSensitiveLog = (obj) => ({
|
|
219
|
+
...obj,
|
|
220
|
+
...(obj.thingName && { thingName: SENSITIVE_STRING }),
|
|
221
|
+
});
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { IoTServiceException as __BaseException } from "./IoTServiceException";
|
|
3
|
+
export const DetectMitigationActionExecutionStatus = {
|
|
4
|
+
FAILED: "FAILED",
|
|
5
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
6
|
+
SKIPPED: "SKIPPED",
|
|
7
|
+
SUCCESSFUL: "SUCCESSFUL",
|
|
8
|
+
};
|
|
3
9
|
export const SbomValidationResult = {
|
|
4
10
|
FAILED: "FAILED",
|
|
5
11
|
SUCCEEDED: "SUCCEEDED",
|
|
@@ -1809,6 +1809,15 @@ export const se_GetStatisticsCommand = async (input, context) => {
|
|
|
1809
1809
|
b.m("POST").h(headers).b(body);
|
|
1810
1810
|
return b.build();
|
|
1811
1811
|
};
|
|
1812
|
+
export const se_GetThingConnectivityDataCommand = async (input, context) => {
|
|
1813
|
+
const b = rb(input, context);
|
|
1814
|
+
const headers = {};
|
|
1815
|
+
b.bp("/things/{thingName}/connectivity-data");
|
|
1816
|
+
b.p("thingName", () => input.thingName, "{thingName}", false);
|
|
1817
|
+
let body;
|
|
1818
|
+
b.m("POST").h(headers).b(body);
|
|
1819
|
+
return b.build();
|
|
1820
|
+
};
|
|
1812
1821
|
export const se_GetTopicRuleCommand = async (input, context) => {
|
|
1813
1822
|
const b = rb(input, context);
|
|
1814
1823
|
const headers = {};
|
|
@@ -5726,6 +5735,23 @@ export const de_GetStatisticsCommand = async (output, context) => {
|
|
|
5726
5735
|
Object.assign(contents, doc);
|
|
5727
5736
|
return contents;
|
|
5728
5737
|
};
|
|
5738
|
+
export const de_GetThingConnectivityDataCommand = async (output, context) => {
|
|
5739
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5740
|
+
return de_CommandError(output, context);
|
|
5741
|
+
}
|
|
5742
|
+
const contents = map({
|
|
5743
|
+
$metadata: deserializeMetadata(output),
|
|
5744
|
+
});
|
|
5745
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5746
|
+
const doc = take(data, {
|
|
5747
|
+
connected: __expectBoolean,
|
|
5748
|
+
disconnectReason: __expectString,
|
|
5749
|
+
thingName: __expectString,
|
|
5750
|
+
timestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5751
|
+
});
|
|
5752
|
+
Object.assign(contents, doc);
|
|
5753
|
+
return contents;
|
|
5754
|
+
};
|
|
5729
5755
|
export const de_GetTopicRuleCommand = async (output, context) => {
|
|
5730
5756
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5731
5757
|
return de_CommandError(output, context);
|
package/dist-types/IoT.d.ts
CHANGED
|
@@ -144,6 +144,7 @@ import { GetPolicyCommandInput, GetPolicyCommandOutput } from "./commands/GetPol
|
|
|
144
144
|
import { GetPolicyVersionCommandInput, GetPolicyVersionCommandOutput } from "./commands/GetPolicyVersionCommand";
|
|
145
145
|
import { GetRegistrationCodeCommandInput, GetRegistrationCodeCommandOutput } from "./commands/GetRegistrationCodeCommand";
|
|
146
146
|
import { GetStatisticsCommandInput, GetStatisticsCommandOutput } from "./commands/GetStatisticsCommand";
|
|
147
|
+
import { GetThingConnectivityDataCommandInput, GetThingConnectivityDataCommandOutput } from "./commands/GetThingConnectivityDataCommand";
|
|
147
148
|
import { GetTopicRuleCommandInput, GetTopicRuleCommandOutput } from "./commands/GetTopicRuleCommand";
|
|
148
149
|
import { GetTopicRuleDestinationCommandInput, GetTopicRuleDestinationCommandOutput } from "./commands/GetTopicRuleDestinationCommand";
|
|
149
150
|
import { GetV2LoggingOptionsCommandInput, GetV2LoggingOptionsCommandOutput } from "./commands/GetV2LoggingOptionsCommand";
|
|
@@ -1156,6 +1157,12 @@ export interface IoT {
|
|
|
1156
1157
|
getStatistics(args: GetStatisticsCommandInput, options?: __HttpHandlerOptions): Promise<GetStatisticsCommandOutput>;
|
|
1157
1158
|
getStatistics(args: GetStatisticsCommandInput, cb: (err: any, data?: GetStatisticsCommandOutput) => void): void;
|
|
1158
1159
|
getStatistics(args: GetStatisticsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetStatisticsCommandOutput) => void): void;
|
|
1160
|
+
/**
|
|
1161
|
+
* @see {@link GetThingConnectivityDataCommand}
|
|
1162
|
+
*/
|
|
1163
|
+
getThingConnectivityData(args: GetThingConnectivityDataCommandInput, options?: __HttpHandlerOptions): Promise<GetThingConnectivityDataCommandOutput>;
|
|
1164
|
+
getThingConnectivityData(args: GetThingConnectivityDataCommandInput, cb: (err: any, data?: GetThingConnectivityDataCommandOutput) => void): void;
|
|
1165
|
+
getThingConnectivityData(args: GetThingConnectivityDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetThingConnectivityDataCommandOutput) => void): void;
|
|
1159
1166
|
/**
|
|
1160
1167
|
* @see {@link GetTopicRuleCommand}
|
|
1161
1168
|
*/
|
|
@@ -152,6 +152,7 @@ import { GetPolicyCommandInput, GetPolicyCommandOutput } from "./commands/GetPol
|
|
|
152
152
|
import { GetPolicyVersionCommandInput, GetPolicyVersionCommandOutput } from "./commands/GetPolicyVersionCommand";
|
|
153
153
|
import { GetRegistrationCodeCommandInput, GetRegistrationCodeCommandOutput } from "./commands/GetRegistrationCodeCommand";
|
|
154
154
|
import { GetStatisticsCommandInput, GetStatisticsCommandOutput } from "./commands/GetStatisticsCommand";
|
|
155
|
+
import { GetThingConnectivityDataCommandInput, GetThingConnectivityDataCommandOutput } from "./commands/GetThingConnectivityDataCommand";
|
|
155
156
|
import { GetTopicRuleCommandInput, GetTopicRuleCommandOutput } from "./commands/GetTopicRuleCommand";
|
|
156
157
|
import { GetTopicRuleDestinationCommandInput, GetTopicRuleDestinationCommandOutput } from "./commands/GetTopicRuleDestinationCommand";
|
|
157
158
|
import { GetV2LoggingOptionsCommandInput, GetV2LoggingOptionsCommandOutput } from "./commands/GetV2LoggingOptionsCommand";
|
|
@@ -282,11 +283,11 @@ export { __Client };
|
|
|
282
283
|
/**
|
|
283
284
|
* @public
|
|
284
285
|
*/
|
|
285
|
-
export type ServiceInputTypes = AcceptCertificateTransferCommandInput | AddThingToBillingGroupCommandInput | AddThingToThingGroupCommandInput | AssociateSbomWithPackageVersionCommandInput | AssociateTargetsWithJobCommandInput | AttachPolicyCommandInput | AttachPrincipalPolicyCommandInput | AttachSecurityProfileCommandInput | AttachThingPrincipalCommandInput | CancelAuditMitigationActionsTaskCommandInput | CancelAuditTaskCommandInput | CancelCertificateTransferCommandInput | CancelDetectMitigationActionsTaskCommandInput | CancelJobCommandInput | CancelJobExecutionCommandInput | ClearDefaultAuthorizerCommandInput | ConfirmTopicRuleDestinationCommandInput | CreateAuditSuppressionCommandInput | CreateAuthorizerCommandInput | CreateBillingGroupCommandInput | CreateCertificateFromCsrCommandInput | CreateCertificateProviderCommandInput | CreateCommandCommandInput | CreateCustomMetricCommandInput | CreateDimensionCommandInput | CreateDomainConfigurationCommandInput | CreateDynamicThingGroupCommandInput | CreateFleetMetricCommandInput | CreateJobCommandInput | CreateJobTemplateCommandInput | CreateKeysAndCertificateCommandInput | CreateMitigationActionCommandInput | CreateOTAUpdateCommandInput | CreatePackageCommandInput | CreatePackageVersionCommandInput | CreatePolicyCommandInput | CreatePolicyVersionCommandInput | CreateProvisioningClaimCommandInput | CreateProvisioningTemplateCommandInput | CreateProvisioningTemplateVersionCommandInput | CreateRoleAliasCommandInput | CreateScheduledAuditCommandInput | CreateSecurityProfileCommandInput | CreateStreamCommandInput | CreateThingCommandInput | CreateThingGroupCommandInput | CreateThingTypeCommandInput | CreateTopicRuleCommandInput | CreateTopicRuleDestinationCommandInput | DeleteAccountAuditConfigurationCommandInput | DeleteAuditSuppressionCommandInput | DeleteAuthorizerCommandInput | DeleteBillingGroupCommandInput | DeleteCACertificateCommandInput | DeleteCertificateCommandInput | DeleteCertificateProviderCommandInput | DeleteCommandCommandInput | DeleteCommandExecutionCommandInput | DeleteCustomMetricCommandInput | DeleteDimensionCommandInput | DeleteDomainConfigurationCommandInput | DeleteDynamicThingGroupCommandInput | DeleteFleetMetricCommandInput | DeleteJobCommandInput | DeleteJobExecutionCommandInput | DeleteJobTemplateCommandInput | DeleteMitigationActionCommandInput | DeleteOTAUpdateCommandInput | DeletePackageCommandInput | DeletePackageVersionCommandInput | 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 | DescribeCertificateProviderCommandInput | 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 | DisassociateSbomFromPackageVersionCommandInput | EnableTopicRuleCommandInput | GetBehaviorModelTrainingSummariesCommandInput | GetBucketsAggregationCommandInput | GetCardinalityCommandInput | GetCommandCommandInput | GetCommandExecutionCommandInput | GetEffectivePoliciesCommandInput | GetIndexingConfigurationCommandInput | GetJobDocumentCommandInput | GetLoggingOptionsCommandInput | GetOTAUpdateCommandInput | GetPackageCommandInput | GetPackageConfigurationCommandInput | GetPackageVersionCommandInput | GetPercentilesCommandInput | GetPolicyCommandInput | GetPolicyVersionCommandInput | GetRegistrationCodeCommandInput | GetStatisticsCommandInput | GetTopicRuleCommandInput | GetTopicRuleDestinationCommandInput | GetV2LoggingOptionsCommandInput | ListActiveViolationsCommandInput | ListAttachedPoliciesCommandInput | ListAuditFindingsCommandInput | ListAuditMitigationActionsExecutionsCommandInput | ListAuditMitigationActionsTasksCommandInput | ListAuditSuppressionsCommandInput | ListAuditTasksCommandInput | ListAuthorizersCommandInput | ListBillingGroupsCommandInput | ListCACertificatesCommandInput | ListCertificateProvidersCommandInput | ListCertificatesByCACommandInput | ListCertificatesCommandInput | ListCommandExecutionsCommandInput | ListCommandsCommandInput | ListCustomMetricsCommandInput | ListDetectMitigationActionsExecutionsCommandInput | ListDetectMitigationActionsTasksCommandInput | ListDimensionsCommandInput | ListDomainConfigurationsCommandInput | ListFleetMetricsCommandInput | ListIndicesCommandInput | ListJobExecutionsForJobCommandInput | ListJobExecutionsForThingCommandInput | ListJobTemplatesCommandInput | ListJobsCommandInput | ListManagedJobTemplatesCommandInput | ListMetricValuesCommandInput | ListMitigationActionsCommandInput | ListOTAUpdatesCommandInput | ListOutgoingCertificatesCommandInput | ListPackageVersionsCommandInput | ListPackagesCommandInput | ListPoliciesCommandInput | ListPolicyPrincipalsCommandInput | ListPolicyVersionsCommandInput | ListPrincipalPoliciesCommandInput | ListPrincipalThingsCommandInput | ListPrincipalThingsV2CommandInput | ListProvisioningTemplateVersionsCommandInput | ListProvisioningTemplatesCommandInput | ListRelatedResourcesForAuditFindingCommandInput | ListRoleAliasesCommandInput | ListSbomValidationResultsCommandInput | ListScheduledAuditsCommandInput | ListSecurityProfilesCommandInput | ListSecurityProfilesForTargetCommandInput | ListStreamsCommandInput | ListTagsForResourceCommandInput | ListTargetsForPolicyCommandInput | ListTargetsForSecurityProfileCommandInput | ListThingGroupsCommandInput | ListThingGroupsForThingCommandInput | ListThingPrincipalsCommandInput | ListThingPrincipalsV2CommandInput | 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 | UpdateCertificateProviderCommandInput | UpdateCommandCommandInput | UpdateCustomMetricCommandInput | UpdateDimensionCommandInput | UpdateDomainConfigurationCommandInput | UpdateDynamicThingGroupCommandInput | UpdateEventConfigurationsCommandInput | UpdateFleetMetricCommandInput | UpdateIndexingConfigurationCommandInput | UpdateJobCommandInput | UpdateMitigationActionCommandInput | UpdatePackageCommandInput | UpdatePackageConfigurationCommandInput | UpdatePackageVersionCommandInput | UpdateProvisioningTemplateCommandInput | UpdateRoleAliasCommandInput | UpdateScheduledAuditCommandInput | UpdateSecurityProfileCommandInput | UpdateStreamCommandInput | UpdateThingCommandInput | UpdateThingGroupCommandInput | UpdateThingGroupsForThingCommandInput | UpdateThingTypeCommandInput | UpdateTopicRuleDestinationCommandInput | ValidateSecurityProfileBehaviorsCommandInput;
|
|
286
|
+
export type ServiceInputTypes = AcceptCertificateTransferCommandInput | AddThingToBillingGroupCommandInput | AddThingToThingGroupCommandInput | AssociateSbomWithPackageVersionCommandInput | AssociateTargetsWithJobCommandInput | AttachPolicyCommandInput | AttachPrincipalPolicyCommandInput | AttachSecurityProfileCommandInput | AttachThingPrincipalCommandInput | CancelAuditMitigationActionsTaskCommandInput | CancelAuditTaskCommandInput | CancelCertificateTransferCommandInput | CancelDetectMitigationActionsTaskCommandInput | CancelJobCommandInput | CancelJobExecutionCommandInput | ClearDefaultAuthorizerCommandInput | ConfirmTopicRuleDestinationCommandInput | CreateAuditSuppressionCommandInput | CreateAuthorizerCommandInput | CreateBillingGroupCommandInput | CreateCertificateFromCsrCommandInput | CreateCertificateProviderCommandInput | CreateCommandCommandInput | CreateCustomMetricCommandInput | CreateDimensionCommandInput | CreateDomainConfigurationCommandInput | CreateDynamicThingGroupCommandInput | CreateFleetMetricCommandInput | CreateJobCommandInput | CreateJobTemplateCommandInput | CreateKeysAndCertificateCommandInput | CreateMitigationActionCommandInput | CreateOTAUpdateCommandInput | CreatePackageCommandInput | CreatePackageVersionCommandInput | CreatePolicyCommandInput | CreatePolicyVersionCommandInput | CreateProvisioningClaimCommandInput | CreateProvisioningTemplateCommandInput | CreateProvisioningTemplateVersionCommandInput | CreateRoleAliasCommandInput | CreateScheduledAuditCommandInput | CreateSecurityProfileCommandInput | CreateStreamCommandInput | CreateThingCommandInput | CreateThingGroupCommandInput | CreateThingTypeCommandInput | CreateTopicRuleCommandInput | CreateTopicRuleDestinationCommandInput | DeleteAccountAuditConfigurationCommandInput | DeleteAuditSuppressionCommandInput | DeleteAuthorizerCommandInput | DeleteBillingGroupCommandInput | DeleteCACertificateCommandInput | DeleteCertificateCommandInput | DeleteCertificateProviderCommandInput | DeleteCommandCommandInput | DeleteCommandExecutionCommandInput | DeleteCustomMetricCommandInput | DeleteDimensionCommandInput | DeleteDomainConfigurationCommandInput | DeleteDynamicThingGroupCommandInput | DeleteFleetMetricCommandInput | DeleteJobCommandInput | DeleteJobExecutionCommandInput | DeleteJobTemplateCommandInput | DeleteMitigationActionCommandInput | DeleteOTAUpdateCommandInput | DeletePackageCommandInput | DeletePackageVersionCommandInput | 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 | DescribeCertificateProviderCommandInput | 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 | DisassociateSbomFromPackageVersionCommandInput | EnableTopicRuleCommandInput | GetBehaviorModelTrainingSummariesCommandInput | GetBucketsAggregationCommandInput | GetCardinalityCommandInput | GetCommandCommandInput | GetCommandExecutionCommandInput | GetEffectivePoliciesCommandInput | GetIndexingConfigurationCommandInput | GetJobDocumentCommandInput | GetLoggingOptionsCommandInput | GetOTAUpdateCommandInput | GetPackageCommandInput | GetPackageConfigurationCommandInput | GetPackageVersionCommandInput | GetPercentilesCommandInput | GetPolicyCommandInput | GetPolicyVersionCommandInput | GetRegistrationCodeCommandInput | GetStatisticsCommandInput | GetThingConnectivityDataCommandInput | GetTopicRuleCommandInput | GetTopicRuleDestinationCommandInput | GetV2LoggingOptionsCommandInput | ListActiveViolationsCommandInput | ListAttachedPoliciesCommandInput | ListAuditFindingsCommandInput | ListAuditMitigationActionsExecutionsCommandInput | ListAuditMitigationActionsTasksCommandInput | ListAuditSuppressionsCommandInput | ListAuditTasksCommandInput | ListAuthorizersCommandInput | ListBillingGroupsCommandInput | ListCACertificatesCommandInput | ListCertificateProvidersCommandInput | ListCertificatesByCACommandInput | ListCertificatesCommandInput | ListCommandExecutionsCommandInput | ListCommandsCommandInput | ListCustomMetricsCommandInput | ListDetectMitigationActionsExecutionsCommandInput | ListDetectMitigationActionsTasksCommandInput | ListDimensionsCommandInput | ListDomainConfigurationsCommandInput | ListFleetMetricsCommandInput | ListIndicesCommandInput | ListJobExecutionsForJobCommandInput | ListJobExecutionsForThingCommandInput | ListJobTemplatesCommandInput | ListJobsCommandInput | ListManagedJobTemplatesCommandInput | ListMetricValuesCommandInput | ListMitigationActionsCommandInput | ListOTAUpdatesCommandInput | ListOutgoingCertificatesCommandInput | ListPackageVersionsCommandInput | ListPackagesCommandInput | ListPoliciesCommandInput | ListPolicyPrincipalsCommandInput | ListPolicyVersionsCommandInput | ListPrincipalPoliciesCommandInput | ListPrincipalThingsCommandInput | ListPrincipalThingsV2CommandInput | ListProvisioningTemplateVersionsCommandInput | ListProvisioningTemplatesCommandInput | ListRelatedResourcesForAuditFindingCommandInput | ListRoleAliasesCommandInput | ListSbomValidationResultsCommandInput | ListScheduledAuditsCommandInput | ListSecurityProfilesCommandInput | ListSecurityProfilesForTargetCommandInput | ListStreamsCommandInput | ListTagsForResourceCommandInput | ListTargetsForPolicyCommandInput | ListTargetsForSecurityProfileCommandInput | ListThingGroupsCommandInput | ListThingGroupsForThingCommandInput | ListThingPrincipalsCommandInput | ListThingPrincipalsV2CommandInput | 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 | UpdateCertificateProviderCommandInput | UpdateCommandCommandInput | UpdateCustomMetricCommandInput | UpdateDimensionCommandInput | UpdateDomainConfigurationCommandInput | UpdateDynamicThingGroupCommandInput | UpdateEventConfigurationsCommandInput | UpdateFleetMetricCommandInput | UpdateIndexingConfigurationCommandInput | UpdateJobCommandInput | UpdateMitigationActionCommandInput | UpdatePackageCommandInput | UpdatePackageConfigurationCommandInput | UpdatePackageVersionCommandInput | UpdateProvisioningTemplateCommandInput | UpdateRoleAliasCommandInput | UpdateScheduledAuditCommandInput | UpdateSecurityProfileCommandInput | UpdateStreamCommandInput | UpdateThingCommandInput | UpdateThingGroupCommandInput | UpdateThingGroupsForThingCommandInput | UpdateThingTypeCommandInput | UpdateTopicRuleDestinationCommandInput | ValidateSecurityProfileBehaviorsCommandInput;
|
|
286
287
|
/**
|
|
287
288
|
* @public
|
|
288
289
|
*/
|
|
289
|
-
export type ServiceOutputTypes = AcceptCertificateTransferCommandOutput | AddThingToBillingGroupCommandOutput | AddThingToThingGroupCommandOutput | AssociateSbomWithPackageVersionCommandOutput | AssociateTargetsWithJobCommandOutput | AttachPolicyCommandOutput | AttachPrincipalPolicyCommandOutput | AttachSecurityProfileCommandOutput | AttachThingPrincipalCommandOutput | CancelAuditMitigationActionsTaskCommandOutput | CancelAuditTaskCommandOutput | CancelCertificateTransferCommandOutput | CancelDetectMitigationActionsTaskCommandOutput | CancelJobCommandOutput | CancelJobExecutionCommandOutput | ClearDefaultAuthorizerCommandOutput | ConfirmTopicRuleDestinationCommandOutput | CreateAuditSuppressionCommandOutput | CreateAuthorizerCommandOutput | CreateBillingGroupCommandOutput | CreateCertificateFromCsrCommandOutput | CreateCertificateProviderCommandOutput | CreateCommandCommandOutput | CreateCustomMetricCommandOutput | CreateDimensionCommandOutput | CreateDomainConfigurationCommandOutput | CreateDynamicThingGroupCommandOutput | CreateFleetMetricCommandOutput | CreateJobCommandOutput | CreateJobTemplateCommandOutput | CreateKeysAndCertificateCommandOutput | CreateMitigationActionCommandOutput | CreateOTAUpdateCommandOutput | CreatePackageCommandOutput | CreatePackageVersionCommandOutput | CreatePolicyCommandOutput | CreatePolicyVersionCommandOutput | CreateProvisioningClaimCommandOutput | CreateProvisioningTemplateCommandOutput | CreateProvisioningTemplateVersionCommandOutput | CreateRoleAliasCommandOutput | CreateScheduledAuditCommandOutput | CreateSecurityProfileCommandOutput | CreateStreamCommandOutput | CreateThingCommandOutput | CreateThingGroupCommandOutput | CreateThingTypeCommandOutput | CreateTopicRuleCommandOutput | CreateTopicRuleDestinationCommandOutput | DeleteAccountAuditConfigurationCommandOutput | DeleteAuditSuppressionCommandOutput | DeleteAuthorizerCommandOutput | DeleteBillingGroupCommandOutput | DeleteCACertificateCommandOutput | DeleteCertificateCommandOutput | DeleteCertificateProviderCommandOutput | DeleteCommandCommandOutput | DeleteCommandExecutionCommandOutput | DeleteCustomMetricCommandOutput | DeleteDimensionCommandOutput | DeleteDomainConfigurationCommandOutput | DeleteDynamicThingGroupCommandOutput | DeleteFleetMetricCommandOutput | DeleteJobCommandOutput | DeleteJobExecutionCommandOutput | DeleteJobTemplateCommandOutput | DeleteMitigationActionCommandOutput | DeleteOTAUpdateCommandOutput | DeletePackageCommandOutput | DeletePackageVersionCommandOutput | 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 | DescribeCertificateProviderCommandOutput | 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 | DisassociateSbomFromPackageVersionCommandOutput | EnableTopicRuleCommandOutput | GetBehaviorModelTrainingSummariesCommandOutput | GetBucketsAggregationCommandOutput | GetCardinalityCommandOutput | GetCommandCommandOutput | GetCommandExecutionCommandOutput | GetEffectivePoliciesCommandOutput | GetIndexingConfigurationCommandOutput | GetJobDocumentCommandOutput | GetLoggingOptionsCommandOutput | GetOTAUpdateCommandOutput | GetPackageCommandOutput | GetPackageConfigurationCommandOutput | GetPackageVersionCommandOutput | GetPercentilesCommandOutput | GetPolicyCommandOutput | GetPolicyVersionCommandOutput | GetRegistrationCodeCommandOutput | GetStatisticsCommandOutput | GetTopicRuleCommandOutput | GetTopicRuleDestinationCommandOutput | GetV2LoggingOptionsCommandOutput | ListActiveViolationsCommandOutput | ListAttachedPoliciesCommandOutput | ListAuditFindingsCommandOutput | ListAuditMitigationActionsExecutionsCommandOutput | ListAuditMitigationActionsTasksCommandOutput | ListAuditSuppressionsCommandOutput | ListAuditTasksCommandOutput | ListAuthorizersCommandOutput | ListBillingGroupsCommandOutput | ListCACertificatesCommandOutput | ListCertificateProvidersCommandOutput | ListCertificatesByCACommandOutput | ListCertificatesCommandOutput | ListCommandExecutionsCommandOutput | ListCommandsCommandOutput | ListCustomMetricsCommandOutput | ListDetectMitigationActionsExecutionsCommandOutput | ListDetectMitigationActionsTasksCommandOutput | ListDimensionsCommandOutput | ListDomainConfigurationsCommandOutput | ListFleetMetricsCommandOutput | ListIndicesCommandOutput | ListJobExecutionsForJobCommandOutput | ListJobExecutionsForThingCommandOutput | ListJobTemplatesCommandOutput | ListJobsCommandOutput | ListManagedJobTemplatesCommandOutput | ListMetricValuesCommandOutput | ListMitigationActionsCommandOutput | ListOTAUpdatesCommandOutput | ListOutgoingCertificatesCommandOutput | ListPackageVersionsCommandOutput | ListPackagesCommandOutput | ListPoliciesCommandOutput | ListPolicyPrincipalsCommandOutput | ListPolicyVersionsCommandOutput | ListPrincipalPoliciesCommandOutput | ListPrincipalThingsCommandOutput | ListPrincipalThingsV2CommandOutput | ListProvisioningTemplateVersionsCommandOutput | ListProvisioningTemplatesCommandOutput | ListRelatedResourcesForAuditFindingCommandOutput | ListRoleAliasesCommandOutput | ListSbomValidationResultsCommandOutput | ListScheduledAuditsCommandOutput | ListSecurityProfilesCommandOutput | ListSecurityProfilesForTargetCommandOutput | ListStreamsCommandOutput | ListTagsForResourceCommandOutput | ListTargetsForPolicyCommandOutput | ListTargetsForSecurityProfileCommandOutput | ListThingGroupsCommandOutput | ListThingGroupsForThingCommandOutput | ListThingPrincipalsCommandOutput | ListThingPrincipalsV2CommandOutput | 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 | UpdateCertificateProviderCommandOutput | UpdateCommandCommandOutput | UpdateCustomMetricCommandOutput | UpdateDimensionCommandOutput | UpdateDomainConfigurationCommandOutput | UpdateDynamicThingGroupCommandOutput | UpdateEventConfigurationsCommandOutput | UpdateFleetMetricCommandOutput | UpdateIndexingConfigurationCommandOutput | UpdateJobCommandOutput | UpdateMitigationActionCommandOutput | UpdatePackageCommandOutput | UpdatePackageConfigurationCommandOutput | UpdatePackageVersionCommandOutput | UpdateProvisioningTemplateCommandOutput | UpdateRoleAliasCommandOutput | UpdateScheduledAuditCommandOutput | UpdateSecurityProfileCommandOutput | UpdateStreamCommandOutput | UpdateThingCommandOutput | UpdateThingGroupCommandOutput | UpdateThingGroupsForThingCommandOutput | UpdateThingTypeCommandOutput | UpdateTopicRuleDestinationCommandOutput | ValidateSecurityProfileBehaviorsCommandOutput;
|
|
290
|
+
export type ServiceOutputTypes = AcceptCertificateTransferCommandOutput | AddThingToBillingGroupCommandOutput | AddThingToThingGroupCommandOutput | AssociateSbomWithPackageVersionCommandOutput | AssociateTargetsWithJobCommandOutput | AttachPolicyCommandOutput | AttachPrincipalPolicyCommandOutput | AttachSecurityProfileCommandOutput | AttachThingPrincipalCommandOutput | CancelAuditMitigationActionsTaskCommandOutput | CancelAuditTaskCommandOutput | CancelCertificateTransferCommandOutput | CancelDetectMitigationActionsTaskCommandOutput | CancelJobCommandOutput | CancelJobExecutionCommandOutput | ClearDefaultAuthorizerCommandOutput | ConfirmTopicRuleDestinationCommandOutput | CreateAuditSuppressionCommandOutput | CreateAuthorizerCommandOutput | CreateBillingGroupCommandOutput | CreateCertificateFromCsrCommandOutput | CreateCertificateProviderCommandOutput | CreateCommandCommandOutput | CreateCustomMetricCommandOutput | CreateDimensionCommandOutput | CreateDomainConfigurationCommandOutput | CreateDynamicThingGroupCommandOutput | CreateFleetMetricCommandOutput | CreateJobCommandOutput | CreateJobTemplateCommandOutput | CreateKeysAndCertificateCommandOutput | CreateMitigationActionCommandOutput | CreateOTAUpdateCommandOutput | CreatePackageCommandOutput | CreatePackageVersionCommandOutput | CreatePolicyCommandOutput | CreatePolicyVersionCommandOutput | CreateProvisioningClaimCommandOutput | CreateProvisioningTemplateCommandOutput | CreateProvisioningTemplateVersionCommandOutput | CreateRoleAliasCommandOutput | CreateScheduledAuditCommandOutput | CreateSecurityProfileCommandOutput | CreateStreamCommandOutput | CreateThingCommandOutput | CreateThingGroupCommandOutput | CreateThingTypeCommandOutput | CreateTopicRuleCommandOutput | CreateTopicRuleDestinationCommandOutput | DeleteAccountAuditConfigurationCommandOutput | DeleteAuditSuppressionCommandOutput | DeleteAuthorizerCommandOutput | DeleteBillingGroupCommandOutput | DeleteCACertificateCommandOutput | DeleteCertificateCommandOutput | DeleteCertificateProviderCommandOutput | DeleteCommandCommandOutput | DeleteCommandExecutionCommandOutput | DeleteCustomMetricCommandOutput | DeleteDimensionCommandOutput | DeleteDomainConfigurationCommandOutput | DeleteDynamicThingGroupCommandOutput | DeleteFleetMetricCommandOutput | DeleteJobCommandOutput | DeleteJobExecutionCommandOutput | DeleteJobTemplateCommandOutput | DeleteMitigationActionCommandOutput | DeleteOTAUpdateCommandOutput | DeletePackageCommandOutput | DeletePackageVersionCommandOutput | 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 | DescribeCertificateProviderCommandOutput | 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 | DisassociateSbomFromPackageVersionCommandOutput | EnableTopicRuleCommandOutput | GetBehaviorModelTrainingSummariesCommandOutput | GetBucketsAggregationCommandOutput | GetCardinalityCommandOutput | GetCommandCommandOutput | GetCommandExecutionCommandOutput | GetEffectivePoliciesCommandOutput | GetIndexingConfigurationCommandOutput | GetJobDocumentCommandOutput | GetLoggingOptionsCommandOutput | GetOTAUpdateCommandOutput | GetPackageCommandOutput | GetPackageConfigurationCommandOutput | GetPackageVersionCommandOutput | GetPercentilesCommandOutput | GetPolicyCommandOutput | GetPolicyVersionCommandOutput | GetRegistrationCodeCommandOutput | GetStatisticsCommandOutput | GetThingConnectivityDataCommandOutput | GetTopicRuleCommandOutput | GetTopicRuleDestinationCommandOutput | GetV2LoggingOptionsCommandOutput | ListActiveViolationsCommandOutput | ListAttachedPoliciesCommandOutput | ListAuditFindingsCommandOutput | ListAuditMitigationActionsExecutionsCommandOutput | ListAuditMitigationActionsTasksCommandOutput | ListAuditSuppressionsCommandOutput | ListAuditTasksCommandOutput | ListAuthorizersCommandOutput | ListBillingGroupsCommandOutput | ListCACertificatesCommandOutput | ListCertificateProvidersCommandOutput | ListCertificatesByCACommandOutput | ListCertificatesCommandOutput | ListCommandExecutionsCommandOutput | ListCommandsCommandOutput | ListCustomMetricsCommandOutput | ListDetectMitigationActionsExecutionsCommandOutput | ListDetectMitigationActionsTasksCommandOutput | ListDimensionsCommandOutput | ListDomainConfigurationsCommandOutput | ListFleetMetricsCommandOutput | ListIndicesCommandOutput | ListJobExecutionsForJobCommandOutput | ListJobExecutionsForThingCommandOutput | ListJobTemplatesCommandOutput | ListJobsCommandOutput | ListManagedJobTemplatesCommandOutput | ListMetricValuesCommandOutput | ListMitigationActionsCommandOutput | ListOTAUpdatesCommandOutput | ListOutgoingCertificatesCommandOutput | ListPackageVersionsCommandOutput | ListPackagesCommandOutput | ListPoliciesCommandOutput | ListPolicyPrincipalsCommandOutput | ListPolicyVersionsCommandOutput | ListPrincipalPoliciesCommandOutput | ListPrincipalThingsCommandOutput | ListPrincipalThingsV2CommandOutput | ListProvisioningTemplateVersionsCommandOutput | ListProvisioningTemplatesCommandOutput | ListRelatedResourcesForAuditFindingCommandOutput | ListRoleAliasesCommandOutput | ListSbomValidationResultsCommandOutput | ListScheduledAuditsCommandOutput | ListSecurityProfilesCommandOutput | ListSecurityProfilesForTargetCommandOutput | ListStreamsCommandOutput | ListTagsForResourceCommandOutput | ListTargetsForPolicyCommandOutput | ListTargetsForSecurityProfileCommandOutput | ListThingGroupsCommandOutput | ListThingGroupsForThingCommandOutput | ListThingPrincipalsCommandOutput | ListThingPrincipalsV2CommandOutput | 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 | UpdateCertificateProviderCommandOutput | UpdateCommandCommandOutput | UpdateCustomMetricCommandOutput | UpdateDimensionCommandOutput | UpdateDomainConfigurationCommandOutput | UpdateDynamicThingGroupCommandOutput | UpdateEventConfigurationsCommandOutput | UpdateFleetMetricCommandOutput | UpdateIndexingConfigurationCommandOutput | UpdateJobCommandOutput | UpdateMitigationActionCommandOutput | UpdatePackageCommandOutput | UpdatePackageConfigurationCommandOutput | UpdatePackageVersionCommandOutput | UpdateProvisioningTemplateCommandOutput | UpdateRoleAliasCommandOutput | UpdateScheduledAuditCommandOutput | UpdateSecurityProfileCommandOutput | UpdateStreamCommandOutput | UpdateThingCommandOutput | UpdateThingGroupCommandOutput | UpdateThingGroupsForThingCommandOutput | UpdateThingTypeCommandOutput | UpdateTopicRuleDestinationCommandOutput | ValidateSecurityProfileBehaviorsCommandOutput;
|
|
290
291
|
/**
|
|
291
292
|
* @public
|
|
292
293
|
*/
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
4
|
+
import { GetThingConnectivityDataRequest, GetThingConnectivityDataResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetThingConnectivityDataCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetThingConnectivityDataCommandInput extends GetThingConnectivityDataRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetThingConnectivityDataCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetThingConnectivityDataCommandOutput extends GetThingConnectivityDataResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetThingConnectivityDataCommand_base: {
|
|
25
|
+
new (input: GetThingConnectivityDataCommandInput): import("@smithy/smithy-client").CommandImpl<GetThingConnectivityDataCommandInput, GetThingConnectivityDataCommandOutput, IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetThingConnectivityDataCommandInput): import("@smithy/smithy-client").CommandImpl<GetThingConnectivityDataCommandInput, GetThingConnectivityDataCommandOutput, IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves the live connectivity status per device.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { IoTClient, GetThingConnectivityDataCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
35
|
+
* // const { IoTClient, GetThingConnectivityDataCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
36
|
+
* const client = new IoTClient(config);
|
|
37
|
+
* const input = { // GetThingConnectivityDataRequest
|
|
38
|
+
* thingName: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetThingConnectivityDataCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetThingConnectivityDataResponse
|
|
43
|
+
* // thingName: "STRING_VALUE",
|
|
44
|
+
* // connected: true || false,
|
|
45
|
+
* // timestamp: new Date("TIMESTAMP"),
|
|
46
|
+
* // disconnectReason: "AUTH_ERROR" || "CLIENT_INITIATED_DISCONNECT" || "CLIENT_ERROR" || "CONNECTION_LOST" || "DUPLICATE_CLIENTID" || "FORBIDDEN_ACCESS" || "MQTT_KEEP_ALIVE_TIMEOUT" || "SERVER_ERROR" || "SERVER_INITIATED_DISCONNECT" || "THROTTLED" || "WEBSOCKET_TTL_EXPIRATION" || "CUSTOMAUTH_TTL_EXPIRATION" || "UNKNOWN" || "NONE",
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param GetThingConnectivityDataCommandInput - {@link GetThingConnectivityDataCommandInput}
|
|
52
|
+
* @returns {@link GetThingConnectivityDataCommandOutput}
|
|
53
|
+
* @see {@link GetThingConnectivityDataCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link GetThingConnectivityDataCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link IndexNotReadyException} (client fault)
|
|
58
|
+
* <p>The index is not ready.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalFailureException} (server fault)
|
|
61
|
+
* <p>An unexpected error has occurred.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
64
|
+
* <p>The request is not valid.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* <p>The specified resource does not exist.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
70
|
+
* <p>The service is temporarily unavailable.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
73
|
+
* <p>The rate exceeds the limit.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
76
|
+
* <p>You are not authorized to perform this operation.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link IoTServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from IoT service.</p>
|
|
80
|
+
*
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class GetThingConnectivityDataCommand extends GetThingConnectivityDataCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: GetThingConnectivityDataRequest;
|
|
88
|
+
output: GetThingConnectivityDataResponse;
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: GetThingConnectivityDataCommandInput;
|
|
92
|
+
output: GetThingConnectivityDataCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -29,11 +29,24 @@ declare const ListCommandExecutionsCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>List all command executions.</p>
|
|
31
31
|
* <important>
|
|
32
|
-
* <
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
32
|
+
* <ul>
|
|
33
|
+
* <li>
|
|
34
|
+
* <p>You must provide only the <code>startedTimeFilter</code> or
|
|
35
|
+
* the <code>completedTimeFilter</code> information. If you provide
|
|
36
|
+
* both time filters, the API will generate an error. You can use
|
|
37
|
+
* this information to retrieve a list of command executions
|
|
38
|
+
* within a specific timeframe.</p>
|
|
39
|
+
* </li>
|
|
40
|
+
* <li>
|
|
41
|
+
* <p>You must provide only the <code>commandArn</code> or
|
|
42
|
+
* the <code>thingArn</code> information depending on whether you want
|
|
43
|
+
* to list executions for a specific command or an IoT thing. If you provide
|
|
44
|
+
* both fields, the API will generate an error.</p>
|
|
45
|
+
* </li>
|
|
46
|
+
* </ul>
|
|
47
|
+
* <p>For more information about considerations for using this API, see
|
|
48
|
+
* <a href="https://docs.aws.amazon.com/iot/latest/developerguide/iot-remote-command-execution-start-monitor.html#iot-remote-command-execution-list-cli">List
|
|
49
|
+
* command executions in your account (CLI)</a>.</p>
|
|
37
50
|
* </important>
|
|
38
51
|
* @example
|
|
39
52
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
4
|
-
import { ListDetectMitigationActionsExecutionsRequest } from "../models/
|
|
5
|
-
import { ListDetectMitigationActionsExecutionsResponse } from "../models/models_2";
|
|
4
|
+
import { ListDetectMitigationActionsExecutionsRequest, ListDetectMitigationActionsExecutionsResponse } from "../models/models_2";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -143,6 +143,7 @@ export * from "./GetPolicyCommand";
|
|
|
143
143
|
export * from "./GetPolicyVersionCommand";
|
|
144
144
|
export * from "./GetRegistrationCodeCommand";
|
|
145
145
|
export * from "./GetStatisticsCommand";
|
|
146
|
+
export * from "./GetThingConnectivityDataCommand";
|
|
146
147
|
export * from "./GetTopicRuleCommand";
|
|
147
148
|
export * from "./GetTopicRuleDestinationCommand";
|
|
148
149
|
export * from "./GetV2LoggingOptionsCommand";
|
|
@@ -3885,7 +3885,10 @@ export interface CreateCommandRequest {
|
|
|
3885
3885
|
*/
|
|
3886
3886
|
mandatoryParameters?: CommandParameter[] | undefined;
|
|
3887
3887
|
/**
|
|
3888
|
-
* <p>The IAM role that
|
|
3888
|
+
* <p>The IAM role that you must provide when using the <code>AWS-IoT-FleetWise</code> namespace.
|
|
3889
|
+
* The role grants IoT Device Management the permission to access IoT FleetWise resources
|
|
3890
|
+
* for generating the payload for the command. This field is not required when you use the
|
|
3891
|
+
* <code>AWS-IoT</code> namespace.</p>
|
|
3889
3892
|
* @public
|
|
3890
3893
|
*/
|
|
3891
3894
|
roleArn?: string | undefined;
|