@aws-sdk/client-iot 3.713.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-cjs/runtimeConfig.js +8 -6
- 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-es/runtimeConfig.js +8 -6
- package/dist-types/IoT.d.ts +7 -0
- package/dist-types/IoTClient.d.ts +21 -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/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/IoT.d.ts +17 -0
- package/dist-types/ts3.4/IoTClient.d.ts +7 -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/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +14 -14
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
IoTClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../IoTClient";
|
|
8
|
+
import {
|
|
9
|
+
GetThingConnectivityDataRequest,
|
|
10
|
+
GetThingConnectivityDataResponse,
|
|
11
|
+
} from "../models/models_1";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetThingConnectivityDataCommandInput
|
|
15
|
+
extends GetThingConnectivityDataRequest {}
|
|
16
|
+
export interface GetThingConnectivityDataCommandOutput
|
|
17
|
+
extends GetThingConnectivityDataResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetThingConnectivityDataCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetThingConnectivityDataCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetThingConnectivityDataCommandInput,
|
|
24
|
+
GetThingConnectivityDataCommandOutput,
|
|
25
|
+
IoTClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: GetThingConnectivityDataCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GetThingConnectivityDataCommandInput,
|
|
33
|
+
GetThingConnectivityDataCommandOutput,
|
|
34
|
+
IoTClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GetThingConnectivityDataCommand extends GetThingConnectivityDataCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: GetThingConnectivityDataRequest;
|
|
44
|
+
output: GetThingConnectivityDataResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: GetThingConnectivityDataCommandInput;
|
|
48
|
+
output: GetThingConnectivityDataCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../IoTClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
ListDetectMitigationActionsExecutionsRequest,
|
|
10
|
+
ListDetectMitigationActionsExecutionsResponse,
|
|
11
|
+
} from "../models/models_2";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface ListDetectMitigationActionsExecutionsCommandInput
|
|
@@ -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";
|
|
@@ -1309,6 +1309,33 @@ export interface Statistics {
|
|
|
1309
1309
|
export interface GetStatisticsResponse {
|
|
1310
1310
|
statistics?: Statistics | undefined;
|
|
1311
1311
|
}
|
|
1312
|
+
export interface GetThingConnectivityDataRequest {
|
|
1313
|
+
thingName: string | undefined;
|
|
1314
|
+
}
|
|
1315
|
+
export declare const DisconnectReasonValue: {
|
|
1316
|
+
readonly AUTH_ERROR: "AUTH_ERROR";
|
|
1317
|
+
readonly CLIENT_ERROR: "CLIENT_ERROR";
|
|
1318
|
+
readonly CLIENT_INITIATED_DISCONNECT: "CLIENT_INITIATED_DISCONNECT";
|
|
1319
|
+
readonly CONNECTION_LOST: "CONNECTION_LOST";
|
|
1320
|
+
readonly CUSTOMAUTH_TTL_EXPIRATION: "CUSTOMAUTH_TTL_EXPIRATION";
|
|
1321
|
+
readonly DUPLICATE_CLIENTID: "DUPLICATE_CLIENTID";
|
|
1322
|
+
readonly FORBIDDEN_ACCESS: "FORBIDDEN_ACCESS";
|
|
1323
|
+
readonly MQTT_KEEP_ALIVE_TIMEOUT: "MQTT_KEEP_ALIVE_TIMEOUT";
|
|
1324
|
+
readonly NONE: "NONE";
|
|
1325
|
+
readonly SERVER_ERROR: "SERVER_ERROR";
|
|
1326
|
+
readonly SERVER_INITIATED_DISCONNECT: "SERVER_INITIATED_DISCONNECT";
|
|
1327
|
+
readonly THROTTLED: "THROTTLED";
|
|
1328
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
1329
|
+
readonly WEBSOCKET_TTL_EXPIRATION: "WEBSOCKET_TTL_EXPIRATION";
|
|
1330
|
+
};
|
|
1331
|
+
export type DisconnectReasonValue =
|
|
1332
|
+
(typeof DisconnectReasonValue)[keyof typeof DisconnectReasonValue];
|
|
1333
|
+
export interface GetThingConnectivityDataResponse {
|
|
1334
|
+
thingName?: string | undefined;
|
|
1335
|
+
connected?: boolean | undefined;
|
|
1336
|
+
timestamp?: Date | undefined;
|
|
1337
|
+
disconnectReason?: DisconnectReasonValue | undefined;
|
|
1338
|
+
}
|
|
1312
1339
|
export interface GetTopicRuleRequest {
|
|
1313
1340
|
ruleName: string | undefined;
|
|
1314
1341
|
}
|
|
@@ -1570,37 +1597,15 @@ export interface ListCustomMetricsResponse {
|
|
|
1570
1597
|
metricNames?: string[] | undefined;
|
|
1571
1598
|
nextToken?: string | undefined;
|
|
1572
1599
|
}
|
|
1573
|
-
export interface ListDetectMitigationActionsExecutionsRequest {
|
|
1574
|
-
taskId?: string | undefined;
|
|
1575
|
-
violationId?: string | undefined;
|
|
1576
|
-
thingName?: string | undefined;
|
|
1577
|
-
startTime?: Date | undefined;
|
|
1578
|
-
endTime?: Date | undefined;
|
|
1579
|
-
maxResults?: number | undefined;
|
|
1580
|
-
nextToken?: string | undefined;
|
|
1581
|
-
}
|
|
1582
|
-
export declare const DetectMitigationActionExecutionStatus: {
|
|
1583
|
-
readonly FAILED: "FAILED";
|
|
1584
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
1585
|
-
readonly SKIPPED: "SKIPPED";
|
|
1586
|
-
readonly SUCCESSFUL: "SUCCESSFUL";
|
|
1587
|
-
};
|
|
1588
|
-
export type DetectMitigationActionExecutionStatus =
|
|
1589
|
-
(typeof DetectMitigationActionExecutionStatus)[keyof typeof DetectMitigationActionExecutionStatus];
|
|
1590
|
-
export interface DetectMitigationActionExecution {
|
|
1591
|
-
taskId?: string | undefined;
|
|
1592
|
-
violationId?: string | undefined;
|
|
1593
|
-
actionName?: string | undefined;
|
|
1594
|
-
thingName?: string | undefined;
|
|
1595
|
-
executionStartDate?: Date | undefined;
|
|
1596
|
-
executionEndDate?: Date | undefined;
|
|
1597
|
-
status?: DetectMitigationActionExecutionStatus | undefined;
|
|
1598
|
-
errorCode?: string | undefined;
|
|
1599
|
-
message?: string | undefined;
|
|
1600
|
-
}
|
|
1601
1600
|
export declare const GetPackageResponseFilterSensitiveLog: (
|
|
1602
1601
|
obj: GetPackageResponse
|
|
1603
1602
|
) => any;
|
|
1604
1603
|
export declare const GetPackageVersionResponseFilterSensitiveLog: (
|
|
1605
1604
|
obj: GetPackageVersionResponse
|
|
1606
1605
|
) => any;
|
|
1606
|
+
export declare const GetThingConnectivityDataRequestFilterSensitiveLog: (
|
|
1607
|
+
obj: GetThingConnectivityDataRequest
|
|
1608
|
+
) => any;
|
|
1609
|
+
export declare const GetThingConnectivityDataResponseFilterSensitiveLog: (
|
|
1610
|
+
obj: GetThingConnectivityDataResponse
|
|
1611
|
+
) => any;
|
|
@@ -64,7 +64,6 @@ import {
|
|
|
64
64
|
CertificateMode,
|
|
65
65
|
CertificateStatus,
|
|
66
66
|
Configuration,
|
|
67
|
-
DetectMitigationActionExecution,
|
|
68
67
|
DetectMitigationActionsTaskSummary,
|
|
69
68
|
DetectMitigationActionsTaskTarget,
|
|
70
69
|
DomainConfigurationStatus,
|
|
@@ -82,6 +81,34 @@ import {
|
|
|
82
81
|
VersionUpdateByJobsConfig,
|
|
83
82
|
ViolationEventOccurrenceRange,
|
|
84
83
|
} from "./models_1";
|
|
84
|
+
export interface ListDetectMitigationActionsExecutionsRequest {
|
|
85
|
+
taskId?: string | undefined;
|
|
86
|
+
violationId?: string | undefined;
|
|
87
|
+
thingName?: string | undefined;
|
|
88
|
+
startTime?: Date | undefined;
|
|
89
|
+
endTime?: Date | undefined;
|
|
90
|
+
maxResults?: number | undefined;
|
|
91
|
+
nextToken?: string | undefined;
|
|
92
|
+
}
|
|
93
|
+
export declare const DetectMitigationActionExecutionStatus: {
|
|
94
|
+
readonly FAILED: "FAILED";
|
|
95
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
96
|
+
readonly SKIPPED: "SKIPPED";
|
|
97
|
+
readonly SUCCESSFUL: "SUCCESSFUL";
|
|
98
|
+
};
|
|
99
|
+
export type DetectMitigationActionExecutionStatus =
|
|
100
|
+
(typeof DetectMitigationActionExecutionStatus)[keyof typeof DetectMitigationActionExecutionStatus];
|
|
101
|
+
export interface DetectMitigationActionExecution {
|
|
102
|
+
taskId?: string | undefined;
|
|
103
|
+
violationId?: string | undefined;
|
|
104
|
+
actionName?: string | undefined;
|
|
105
|
+
thingName?: string | undefined;
|
|
106
|
+
executionStartDate?: Date | undefined;
|
|
107
|
+
executionEndDate?: Date | undefined;
|
|
108
|
+
status?: DetectMitigationActionExecutionStatus | undefined;
|
|
109
|
+
errorCode?: string | undefined;
|
|
110
|
+
message?: string | undefined;
|
|
111
|
+
}
|
|
85
112
|
export interface ListDetectMitigationActionsExecutionsResponse {
|
|
86
113
|
actionsExecutions?: DetectMitigationActionExecution[] | undefined;
|
|
87
114
|
nextToken?: string | undefined;
|
|
@@ -583,6 +583,10 @@ import {
|
|
|
583
583
|
GetStatisticsCommandInput,
|
|
584
584
|
GetStatisticsCommandOutput,
|
|
585
585
|
} from "../commands/GetStatisticsCommand";
|
|
586
|
+
import {
|
|
587
|
+
GetThingConnectivityDataCommandInput,
|
|
588
|
+
GetThingConnectivityDataCommandOutput,
|
|
589
|
+
} from "../commands/GetThingConnectivityDataCommand";
|
|
586
590
|
import {
|
|
587
591
|
GetTopicRuleCommandInput,
|
|
588
592
|
GetTopicRuleCommandOutput,
|
|
@@ -1659,6 +1663,10 @@ export declare const se_GetStatisticsCommand: (
|
|
|
1659
1663
|
input: GetStatisticsCommandInput,
|
|
1660
1664
|
context: __SerdeContext
|
|
1661
1665
|
) => Promise<__HttpRequest>;
|
|
1666
|
+
export declare const se_GetThingConnectivityDataCommand: (
|
|
1667
|
+
input: GetThingConnectivityDataCommandInput,
|
|
1668
|
+
context: __SerdeContext
|
|
1669
|
+
) => Promise<__HttpRequest>;
|
|
1662
1670
|
export declare const se_GetTopicRuleCommand: (
|
|
1663
1671
|
input: GetTopicRuleCommandInput,
|
|
1664
1672
|
context: __SerdeContext
|
|
@@ -2735,6 +2743,10 @@ export declare const de_GetStatisticsCommand: (
|
|
|
2735
2743
|
output: __HttpResponse,
|
|
2736
2744
|
context: __SerdeContext
|
|
2737
2745
|
) => Promise<GetStatisticsCommandOutput>;
|
|
2746
|
+
export declare const de_GetThingConnectivityDataCommand: (
|
|
2747
|
+
output: __HttpResponse,
|
|
2748
|
+
context: __SerdeContext
|
|
2749
|
+
) => Promise<GetThingConnectivityDataCommandOutput>;
|
|
2738
2750
|
export declare const de_GetTopicRuleCommand: (
|
|
2739
2751
|
output: __HttpResponse,
|
|
2740
2752
|
context: __SerdeContext
|
|
@@ -33,6 +33,7 @@ export declare const getRuntimeConfig: (config: IoTClientConfig) => {
|
|
|
33
33
|
utf8Encoder: (input: string | Uint8Array) => string;
|
|
34
34
|
disableHostPrefix: boolean;
|
|
35
35
|
serviceId: string;
|
|
36
|
+
profile?: string | undefined;
|
|
36
37
|
logger: import("@smithy/types").Logger;
|
|
37
38
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
38
39
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
@@ -38,6 +38,7 @@ export declare const getRuntimeConfig: (config: IoTClientConfig) => {
|
|
|
38
38
|
utf8Encoder: (input: string | Uint8Array) => string;
|
|
39
39
|
disableHostPrefix: boolean;
|
|
40
40
|
serviceId: string;
|
|
41
|
+
profile?: string | undefined;
|
|
41
42
|
logger: import("@smithy/types").Logger;
|
|
42
43
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
43
44
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
@@ -22,6 +22,7 @@ export declare const getRuntimeConfig: (config: IoTClientConfig) => {
|
|
|
22
22
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
23
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
24
|
region: string | import("@smithy/types").Provider<any>;
|
|
25
|
+
profile?: string | undefined;
|
|
25
26
|
defaultUserAgentProvider: (
|
|
26
27
|
config?:
|
|
27
28
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iot",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iot Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.715.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-iot",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.714.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.714.0",
|
|
25
|
+
"@aws-sdk/core": "3.714.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.714.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.714.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.714.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.714.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.714.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.714.0",
|
|
32
|
+
"@aws-sdk/types": "3.714.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.714.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.714.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.714.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.13",
|
|
37
37
|
"@smithy/core": "^2.5.5",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.1.2",
|