@aws-sdk/client-iot 3.714.0 → 3.716.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 +12 -12
|
@@ -4149,7 +4149,8 @@ export interface GetCommandResponse {
|
|
|
4149
4149
|
*/
|
|
4150
4150
|
payload?: CommandPayload | undefined;
|
|
4151
4151
|
/**
|
|
4152
|
-
* <p>The IAM role that
|
|
4152
|
+
* <p>The IAM role that you provided when creating the command with <code>AWS-IoT-FleetWise</code>
|
|
4153
|
+
* as the namespace.</p>
|
|
4153
4154
|
* @public
|
|
4154
4155
|
*/
|
|
4155
4156
|
roleArn?: string | undefined;
|
|
@@ -4348,7 +4349,8 @@ export interface GetCommandExecutionResponse {
|
|
|
4348
4349
|
*/
|
|
4349
4350
|
completedAt?: Date | undefined;
|
|
4350
4351
|
/**
|
|
4351
|
-
* <p>The time to live (TTL) parameter
|
|
4352
|
+
* <p>The time to live (TTL) parameter that indicates the duration for which executions will
|
|
4353
|
+
* be retained in your account. The default value is six months.</p>
|
|
4352
4354
|
* @public
|
|
4353
4355
|
*/
|
|
4354
4356
|
timeToLive?: Date | undefined;
|
|
@@ -5332,6 +5334,65 @@ export interface GetStatisticsResponse {
|
|
|
5332
5334
|
*/
|
|
5333
5335
|
statistics?: Statistics | undefined;
|
|
5334
5336
|
}
|
|
5337
|
+
/**
|
|
5338
|
+
* @public
|
|
5339
|
+
*/
|
|
5340
|
+
export interface GetThingConnectivityDataRequest {
|
|
5341
|
+
/**
|
|
5342
|
+
* <p>The name of your IoT thing.</p>
|
|
5343
|
+
* @public
|
|
5344
|
+
*/
|
|
5345
|
+
thingName: string | undefined;
|
|
5346
|
+
}
|
|
5347
|
+
/**
|
|
5348
|
+
* @public
|
|
5349
|
+
* @enum
|
|
5350
|
+
*/
|
|
5351
|
+
export declare const DisconnectReasonValue: {
|
|
5352
|
+
readonly AUTH_ERROR: "AUTH_ERROR";
|
|
5353
|
+
readonly CLIENT_ERROR: "CLIENT_ERROR";
|
|
5354
|
+
readonly CLIENT_INITIATED_DISCONNECT: "CLIENT_INITIATED_DISCONNECT";
|
|
5355
|
+
readonly CONNECTION_LOST: "CONNECTION_LOST";
|
|
5356
|
+
readonly CUSTOMAUTH_TTL_EXPIRATION: "CUSTOMAUTH_TTL_EXPIRATION";
|
|
5357
|
+
readonly DUPLICATE_CLIENTID: "DUPLICATE_CLIENTID";
|
|
5358
|
+
readonly FORBIDDEN_ACCESS: "FORBIDDEN_ACCESS";
|
|
5359
|
+
readonly MQTT_KEEP_ALIVE_TIMEOUT: "MQTT_KEEP_ALIVE_TIMEOUT";
|
|
5360
|
+
readonly NONE: "NONE";
|
|
5361
|
+
readonly SERVER_ERROR: "SERVER_ERROR";
|
|
5362
|
+
readonly SERVER_INITIATED_DISCONNECT: "SERVER_INITIATED_DISCONNECT";
|
|
5363
|
+
readonly THROTTLED: "THROTTLED";
|
|
5364
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
5365
|
+
readonly WEBSOCKET_TTL_EXPIRATION: "WEBSOCKET_TTL_EXPIRATION";
|
|
5366
|
+
};
|
|
5367
|
+
/**
|
|
5368
|
+
* @public
|
|
5369
|
+
*/
|
|
5370
|
+
export type DisconnectReasonValue = (typeof DisconnectReasonValue)[keyof typeof DisconnectReasonValue];
|
|
5371
|
+
/**
|
|
5372
|
+
* @public
|
|
5373
|
+
*/
|
|
5374
|
+
export interface GetThingConnectivityDataResponse {
|
|
5375
|
+
/**
|
|
5376
|
+
* <p>The name of your IoT thing.</p>
|
|
5377
|
+
* @public
|
|
5378
|
+
*/
|
|
5379
|
+
thingName?: string | undefined;
|
|
5380
|
+
/**
|
|
5381
|
+
* <p>A Boolean that indicates the connectivity status.</p>
|
|
5382
|
+
* @public
|
|
5383
|
+
*/
|
|
5384
|
+
connected?: boolean | undefined;
|
|
5385
|
+
/**
|
|
5386
|
+
* <p>The timestamp of when the event occurred.</p>
|
|
5387
|
+
* @public
|
|
5388
|
+
*/
|
|
5389
|
+
timestamp?: Date | undefined;
|
|
5390
|
+
/**
|
|
5391
|
+
* <p>The reason why the client is disconnecting.</p>
|
|
5392
|
+
* @public
|
|
5393
|
+
*/
|
|
5394
|
+
disconnectReason?: DisconnectReasonValue | undefined;
|
|
5395
|
+
}
|
|
5335
5396
|
/**
|
|
5336
5397
|
* <p>The input for the GetTopicRule operation.</p>
|
|
5337
5398
|
* @public
|
|
@@ -6464,150 +6525,18 @@ export interface ListCustomMetricsResponse {
|
|
|
6464
6525
|
nextToken?: string | undefined;
|
|
6465
6526
|
}
|
|
6466
6527
|
/**
|
|
6467
|
-
* @
|
|
6468
|
-
*/
|
|
6469
|
-
export interface ListDetectMitigationActionsExecutionsRequest {
|
|
6470
|
-
/**
|
|
6471
|
-
* <p>
|
|
6472
|
-
* The unique identifier of the task.
|
|
6473
|
-
* </p>
|
|
6474
|
-
* @public
|
|
6475
|
-
*/
|
|
6476
|
-
taskId?: string | undefined;
|
|
6477
|
-
/**
|
|
6478
|
-
* <p>
|
|
6479
|
-
* The unique identifier of the violation.
|
|
6480
|
-
* </p>
|
|
6481
|
-
* @public
|
|
6482
|
-
*/
|
|
6483
|
-
violationId?: string | undefined;
|
|
6484
|
-
/**
|
|
6485
|
-
* <p>
|
|
6486
|
-
* The name of the thing whose mitigation actions are listed.
|
|
6487
|
-
* </p>
|
|
6488
|
-
* @public
|
|
6489
|
-
*/
|
|
6490
|
-
thingName?: string | undefined;
|
|
6491
|
-
/**
|
|
6492
|
-
* <p>
|
|
6493
|
-
* A filter to limit results to those found after the specified time. You must
|
|
6494
|
-
* specify either the startTime and endTime or the taskId, but not both.
|
|
6495
|
-
* </p>
|
|
6496
|
-
* @public
|
|
6497
|
-
*/
|
|
6498
|
-
startTime?: Date | undefined;
|
|
6499
|
-
/**
|
|
6500
|
-
* <p>
|
|
6501
|
-
* The end of the time period for which ML Detect mitigation actions executions are returned.
|
|
6502
|
-
* </p>
|
|
6503
|
-
* @public
|
|
6504
|
-
*/
|
|
6505
|
-
endTime?: Date | undefined;
|
|
6506
|
-
/**
|
|
6507
|
-
* <p>
|
|
6508
|
-
* The maximum number of results to return at one time. The default is 25.
|
|
6509
|
-
* </p>
|
|
6510
|
-
* @public
|
|
6511
|
-
*/
|
|
6512
|
-
maxResults?: number | undefined;
|
|
6513
|
-
/**
|
|
6514
|
-
* <p>
|
|
6515
|
-
* The token for the next set of results.
|
|
6516
|
-
* </p>
|
|
6517
|
-
* @public
|
|
6518
|
-
*/
|
|
6519
|
-
nextToken?: string | undefined;
|
|
6520
|
-
}
|
|
6521
|
-
/**
|
|
6522
|
-
* @public
|
|
6523
|
-
* @enum
|
|
6524
|
-
*/
|
|
6525
|
-
export declare const DetectMitigationActionExecutionStatus: {
|
|
6526
|
-
readonly FAILED: "FAILED";
|
|
6527
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
6528
|
-
readonly SKIPPED: "SKIPPED";
|
|
6529
|
-
readonly SUCCESSFUL: "SUCCESSFUL";
|
|
6530
|
-
};
|
|
6531
|
-
/**
|
|
6532
|
-
* @public
|
|
6528
|
+
* @internal
|
|
6533
6529
|
*/
|
|
6534
|
-
export
|
|
6530
|
+
export declare const GetPackageResponseFilterSensitiveLog: (obj: GetPackageResponse) => any;
|
|
6535
6531
|
/**
|
|
6536
|
-
*
|
|
6537
|
-
* Describes which mitigation actions should be executed.
|
|
6538
|
-
* </p>
|
|
6539
|
-
* @public
|
|
6532
|
+
* @internal
|
|
6540
6533
|
*/
|
|
6541
|
-
export
|
|
6542
|
-
/**
|
|
6543
|
-
* <p>
|
|
6544
|
-
* The unique identifier of the task.
|
|
6545
|
-
* </p>
|
|
6546
|
-
* @public
|
|
6547
|
-
*/
|
|
6548
|
-
taskId?: string | undefined;
|
|
6549
|
-
/**
|
|
6550
|
-
* <p>
|
|
6551
|
-
* The unique identifier of the violation.
|
|
6552
|
-
* </p>
|
|
6553
|
-
* @public
|
|
6554
|
-
*/
|
|
6555
|
-
violationId?: string | undefined;
|
|
6556
|
-
/**
|
|
6557
|
-
* <p>
|
|
6558
|
-
* The friendly name that uniquely identifies the mitigation action.
|
|
6559
|
-
* </p>
|
|
6560
|
-
* @public
|
|
6561
|
-
*/
|
|
6562
|
-
actionName?: string | undefined;
|
|
6563
|
-
/**
|
|
6564
|
-
* <p>
|
|
6565
|
-
* The name of the thing.
|
|
6566
|
-
* </p>
|
|
6567
|
-
* @public
|
|
6568
|
-
*/
|
|
6569
|
-
thingName?: string | undefined;
|
|
6570
|
-
/**
|
|
6571
|
-
* <p>
|
|
6572
|
-
* The date a mitigation action was started.
|
|
6573
|
-
* </p>
|
|
6574
|
-
* @public
|
|
6575
|
-
*/
|
|
6576
|
-
executionStartDate?: Date | undefined;
|
|
6577
|
-
/**
|
|
6578
|
-
* <p>
|
|
6579
|
-
* The date a mitigation action ended.
|
|
6580
|
-
* </p>
|
|
6581
|
-
* @public
|
|
6582
|
-
*/
|
|
6583
|
-
executionEndDate?: Date | undefined;
|
|
6584
|
-
/**
|
|
6585
|
-
* <p>
|
|
6586
|
-
* The status of a mitigation action.
|
|
6587
|
-
* </p>
|
|
6588
|
-
* @public
|
|
6589
|
-
*/
|
|
6590
|
-
status?: DetectMitigationActionExecutionStatus | undefined;
|
|
6591
|
-
/**
|
|
6592
|
-
* <p>
|
|
6593
|
-
* The error code of a mitigation action.
|
|
6594
|
-
* </p>
|
|
6595
|
-
* @public
|
|
6596
|
-
*/
|
|
6597
|
-
errorCode?: string | undefined;
|
|
6598
|
-
/**
|
|
6599
|
-
* <p>
|
|
6600
|
-
* The message of a mitigation action.
|
|
6601
|
-
* </p>
|
|
6602
|
-
* @public
|
|
6603
|
-
*/
|
|
6604
|
-
message?: string | undefined;
|
|
6605
|
-
}
|
|
6534
|
+
export declare const GetPackageVersionResponseFilterSensitiveLog: (obj: GetPackageVersionResponse) => any;
|
|
6606
6535
|
/**
|
|
6607
6536
|
* @internal
|
|
6608
6537
|
*/
|
|
6609
|
-
export declare const
|
|
6538
|
+
export declare const GetThingConnectivityDataRequestFilterSensitiveLog: (obj: GetThingConnectivityDataRequest) => any;
|
|
6610
6539
|
/**
|
|
6611
6540
|
* @internal
|
|
6612
6541
|
*/
|
|
6613
|
-
export declare const
|
|
6542
|
+
export declare const GetThingConnectivityDataResponseFilterSensitiveLog: (obj: GetThingConnectivityDataResponse) => any;
|
|
@@ -1,7 +1,147 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { IoTServiceException as __BaseException } from "./IoTServiceException";
|
|
3
3
|
import { AbortConfig, AggregationType, AlertTarget, AlertTargetType, ApplicationProtocol, AttributePayload, AuditCheckConfiguration, AuditFrequency, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuditNotificationType, AuthenticationType, AuthInfo, AuthorizerConfig, AuthorizerStatus, AuthResult, AutoRegistrationStatus, Behavior, BillingGroupProperties, CertificateProviderOperation, ClientCertificateConfig, CustomMetricType, DayOfWeek, DimensionType, DimensionValueOperator, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MetricsExportConfig, MetricToRetain, MetricValue, MitigationActionParams, OTAUpdateStatus, PackageVersionArtifact, PackageVersionStatus, Policy, PresignedUrlConfig, ProvisioningHook, RelatedResource, ResourceIdentifier, ServerCertificateConfig, ServiceType, StreamFile, Tag, TargetSelection, TemplateType, ThingGroupProperties, ThingPrincipalType, ThingTypeProperties, TimeoutConfig, TlsConfig, TopicRuleDestinationStatus, TopicRulePayload, VerificationState, ViolationEventAdditionalInfo } from "./models_0";
|
|
4
|
-
import { BehaviorCriteriaType, CACertificateStatus, CertificateMode, CertificateStatus, Configuration,
|
|
4
|
+
import { BehaviorCriteriaType, CACertificateStatus, CertificateMode, CertificateStatus, Configuration, DetectMitigationActionsTaskSummary, DetectMitigationActionsTaskTarget, DomainConfigurationStatus, EventType, GroupNameAndArn, JobExecutionStatus, JobStatus, LogTargetType, MitigationActionType, RegistrationConfig, Status, ThingGroupIndexingConfiguration, ThingIndexingConfiguration, ThingTypeMetadata, VersionUpdateByJobsConfig, ViolationEventOccurrenceRange } from "./models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface ListDetectMitigationActionsExecutionsRequest {
|
|
9
|
+
/**
|
|
10
|
+
* <p>
|
|
11
|
+
* The unique identifier of the task.
|
|
12
|
+
* </p>
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
taskId?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* <p>
|
|
18
|
+
* The unique identifier of the violation.
|
|
19
|
+
* </p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
violationId?: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* <p>
|
|
25
|
+
* The name of the thing whose mitigation actions are listed.
|
|
26
|
+
* </p>
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
thingName?: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* <p>
|
|
32
|
+
* A filter to limit results to those found after the specified time. You must
|
|
33
|
+
* specify either the startTime and endTime or the taskId, but not both.
|
|
34
|
+
* </p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
startTime?: Date | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* <p>
|
|
40
|
+
* The end of the time period for which ML Detect mitigation actions executions are returned.
|
|
41
|
+
* </p>
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
endTime?: Date | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* <p>
|
|
47
|
+
* The maximum number of results to return at one time. The default is 25.
|
|
48
|
+
* </p>
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
maxResults?: number | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* <p>
|
|
54
|
+
* The token for the next set of results.
|
|
55
|
+
* </p>
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
nextToken?: string | undefined;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
* @enum
|
|
63
|
+
*/
|
|
64
|
+
export declare const DetectMitigationActionExecutionStatus: {
|
|
65
|
+
readonly FAILED: "FAILED";
|
|
66
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
67
|
+
readonly SKIPPED: "SKIPPED";
|
|
68
|
+
readonly SUCCESSFUL: "SUCCESSFUL";
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export type DetectMitigationActionExecutionStatus = (typeof DetectMitigationActionExecutionStatus)[keyof typeof DetectMitigationActionExecutionStatus];
|
|
74
|
+
/**
|
|
75
|
+
* <p>
|
|
76
|
+
* Describes which mitigation actions should be executed.
|
|
77
|
+
* </p>
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export interface DetectMitigationActionExecution {
|
|
81
|
+
/**
|
|
82
|
+
* <p>
|
|
83
|
+
* The unique identifier of the task.
|
|
84
|
+
* </p>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
taskId?: string | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* <p>
|
|
90
|
+
* The unique identifier of the violation.
|
|
91
|
+
* </p>
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
violationId?: string | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* <p>
|
|
97
|
+
* The friendly name that uniquely identifies the mitigation action.
|
|
98
|
+
* </p>
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
actionName?: string | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* <p>
|
|
104
|
+
* The name of the thing.
|
|
105
|
+
* </p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
thingName?: string | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* <p>
|
|
111
|
+
* The date a mitigation action was started.
|
|
112
|
+
* </p>
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
executionStartDate?: Date | undefined;
|
|
116
|
+
/**
|
|
117
|
+
* <p>
|
|
118
|
+
* The date a mitigation action ended.
|
|
119
|
+
* </p>
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
executionEndDate?: Date | undefined;
|
|
123
|
+
/**
|
|
124
|
+
* <p>
|
|
125
|
+
* The status of a mitigation action.
|
|
126
|
+
* </p>
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
status?: DetectMitigationActionExecutionStatus | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* <p>
|
|
132
|
+
* The error code of a mitigation action.
|
|
133
|
+
* </p>
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
errorCode?: string | undefined;
|
|
137
|
+
/**
|
|
138
|
+
* <p>
|
|
139
|
+
* The message of a mitigation action.
|
|
140
|
+
* </p>
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
message?: string | undefined;
|
|
144
|
+
}
|
|
5
145
|
/**
|
|
6
146
|
* @public
|
|
7
147
|
*/
|
|
@@ -145,6 +145,7 @@ import { GetPolicyCommandInput, GetPolicyCommandOutput } from "../commands/GetPo
|
|
|
145
145
|
import { GetPolicyVersionCommandInput, GetPolicyVersionCommandOutput } from "../commands/GetPolicyVersionCommand";
|
|
146
146
|
import { GetRegistrationCodeCommandInput, GetRegistrationCodeCommandOutput } from "../commands/GetRegistrationCodeCommand";
|
|
147
147
|
import { GetStatisticsCommandInput, GetStatisticsCommandOutput } from "../commands/GetStatisticsCommand";
|
|
148
|
+
import { GetThingConnectivityDataCommandInput, GetThingConnectivityDataCommandOutput } from "../commands/GetThingConnectivityDataCommand";
|
|
148
149
|
import { GetTopicRuleCommandInput, GetTopicRuleCommandOutput } from "../commands/GetTopicRuleCommand";
|
|
149
150
|
import { GetTopicRuleDestinationCommandInput, GetTopicRuleDestinationCommandOutput } from "../commands/GetTopicRuleDestinationCommand";
|
|
150
151
|
import { GetV2LoggingOptionsCommandInput, GetV2LoggingOptionsCommandOutput } from "../commands/GetV2LoggingOptionsCommand";
|
|
@@ -849,6 +850,10 @@ export declare const se_GetRegistrationCodeCommand: (input: GetRegistrationCodeC
|
|
|
849
850
|
* serializeAws_restJson1GetStatisticsCommand
|
|
850
851
|
*/
|
|
851
852
|
export declare const se_GetStatisticsCommand: (input: GetStatisticsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
853
|
+
/**
|
|
854
|
+
* serializeAws_restJson1GetThingConnectivityDataCommand
|
|
855
|
+
*/
|
|
856
|
+
export declare const se_GetThingConnectivityDataCommand: (input: GetThingConnectivityDataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
852
857
|
/**
|
|
853
858
|
* serializeAws_restJson1GetTopicRuleCommand
|
|
854
859
|
*/
|
|
@@ -1925,6 +1930,10 @@ export declare const de_GetRegistrationCodeCommand: (output: __HttpResponse, con
|
|
|
1925
1930
|
* deserializeAws_restJson1GetStatisticsCommand
|
|
1926
1931
|
*/
|
|
1927
1932
|
export declare const de_GetStatisticsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetStatisticsCommandOutput>;
|
|
1933
|
+
/**
|
|
1934
|
+
* deserializeAws_restJson1GetThingConnectivityDataCommand
|
|
1935
|
+
*/
|
|
1936
|
+
export declare const de_GetThingConnectivityDataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetThingConnectivityDataCommandOutput>;
|
|
1928
1937
|
/**
|
|
1929
1938
|
* deserializeAws_restJson1GetTopicRuleCommand
|
|
1930
1939
|
*/
|
|
@@ -579,6 +579,10 @@ import {
|
|
|
579
579
|
GetStatisticsCommandInput,
|
|
580
580
|
GetStatisticsCommandOutput,
|
|
581
581
|
} from "./commands/GetStatisticsCommand";
|
|
582
|
+
import {
|
|
583
|
+
GetThingConnectivityDataCommandInput,
|
|
584
|
+
GetThingConnectivityDataCommandOutput,
|
|
585
|
+
} from "./commands/GetThingConnectivityDataCommand";
|
|
582
586
|
import {
|
|
583
587
|
GetTopicRuleCommandInput,
|
|
584
588
|
GetTopicRuleCommandOutput,
|
|
@@ -3032,6 +3036,19 @@ export interface IoT {
|
|
|
3032
3036
|
options: __HttpHandlerOptions,
|
|
3033
3037
|
cb: (err: any, data?: GetStatisticsCommandOutput) => void
|
|
3034
3038
|
): void;
|
|
3039
|
+
getThingConnectivityData(
|
|
3040
|
+
args: GetThingConnectivityDataCommandInput,
|
|
3041
|
+
options?: __HttpHandlerOptions
|
|
3042
|
+
): Promise<GetThingConnectivityDataCommandOutput>;
|
|
3043
|
+
getThingConnectivityData(
|
|
3044
|
+
args: GetThingConnectivityDataCommandInput,
|
|
3045
|
+
cb: (err: any, data?: GetThingConnectivityDataCommandOutput) => void
|
|
3046
|
+
): void;
|
|
3047
|
+
getThingConnectivityData(
|
|
3048
|
+
args: GetThingConnectivityDataCommandInput,
|
|
3049
|
+
options: __HttpHandlerOptions,
|
|
3050
|
+
cb: (err: any, data?: GetThingConnectivityDataCommandOutput) => void
|
|
3051
|
+
): void;
|
|
3035
3052
|
getTopicRule(
|
|
3036
3053
|
args: GetTopicRuleCommandInput,
|
|
3037
3054
|
options?: __HttpHandlerOptions
|
|
@@ -625,6 +625,10 @@ import {
|
|
|
625
625
|
GetStatisticsCommandInput,
|
|
626
626
|
GetStatisticsCommandOutput,
|
|
627
627
|
} from "./commands/GetStatisticsCommand";
|
|
628
|
+
import {
|
|
629
|
+
GetThingConnectivityDataCommandInput,
|
|
630
|
+
GetThingConnectivityDataCommandOutput,
|
|
631
|
+
} from "./commands/GetThingConnectivityDataCommand";
|
|
628
632
|
import {
|
|
629
633
|
GetTopicRuleCommandInput,
|
|
630
634
|
GetTopicRuleCommandOutput,
|
|
@@ -1274,6 +1278,7 @@ export type ServiceInputTypes =
|
|
|
1274
1278
|
| GetPolicyVersionCommandInput
|
|
1275
1279
|
| GetRegistrationCodeCommandInput
|
|
1276
1280
|
| GetStatisticsCommandInput
|
|
1281
|
+
| GetThingConnectivityDataCommandInput
|
|
1277
1282
|
| GetTopicRuleCommandInput
|
|
1278
1283
|
| GetTopicRuleDestinationCommandInput
|
|
1279
1284
|
| GetV2LoggingOptionsCommandInput
|
|
@@ -1544,6 +1549,7 @@ export type ServiceOutputTypes =
|
|
|
1544
1549
|
| GetPolicyVersionCommandOutput
|
|
1545
1550
|
| GetRegistrationCodeCommandOutput
|
|
1546
1551
|
| GetStatisticsCommandOutput
|
|
1552
|
+
| GetThingConnectivityDataCommandOutput
|
|
1547
1553
|
| GetTopicRuleCommandOutput
|
|
1548
1554
|
| GetTopicRuleDestinationCommandOutput
|
|
1549
1555
|
| GetV2LoggingOptionsCommandOutput
|
|
@@ -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;
|