@aws-sdk/client-iot 3.450.0 → 3.453.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/dist-cjs/models/models_1.js +5 -1
- package/dist-cjs/protocols/Aws_restJson1.js +7 -0
- package/dist-es/models/models_1.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +7 -0
- package/dist-types/commands/CreateSecurityProfileCommand.d.ts +6 -0
- package/dist-types/commands/CreateThingGroupCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDynamicThingGroupCommand.d.ts +1 -2
- package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +6 -0
- package/dist-types/commands/GetIndexingConfigurationCommand.d.ts +6 -0
- package/dist-types/commands/ListActiveViolationsCommand.d.ts +1 -0
- package/dist-types/commands/ListPolicyPrincipalsCommand.d.ts +1 -1
- package/dist-types/commands/ListPolicyVersionsCommand.d.ts +1 -2
- package/dist-types/commands/ListViolationEventsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateIndexingConfigurationCommand.d.ts +6 -0
- package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +13 -0
- package/dist-types/commands/ValidateSecurityProfileBehaviorsCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +40 -20
- package/dist-types/models/models_1.d.ts +110 -69
- package/dist-types/models/models_2.d.ts +73 -2
- package/dist-types/ts3.4/commands/DeleteDynamicThingGroupCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListPolicyPrincipalsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPolicyVersionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +7 -4
- package/dist-types/ts3.4/models/models_1.d.ts +17 -13
- package/dist-types/ts3.4/models/models_2.d.ts +17 -0
- package/package.json +35 -35
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetPackageVersionResponseFilterSensitiveLog = exports.GetPackageResponseFilterSensitiveLog = exports.DetectMitigationActionExecutionStatus = exports.BehaviorCriteriaType = exports.NotConfiguredException = exports.ThingIndexingMode = exports.ThingConnectivityIndexingMode = exports.NamedShadowIndexingMode = exports.DeviceDefenderIndexingMode = exports.ThingGroupIndexingMode = exports.FieldType = exports.ModelStatus = exports.Status = exports.DynamicGroupStatus = exports.MitigationActionType = exports.JobExecutionStatus = exports.JobStatus = exports.IndexStatus = exports.EventType = exports.ServerCertificateStatus = exports.DomainType = exports.DomainConfigurationStatus = exports.DetectMitigationActionsTaskStatus = exports.CertificateStatus = exports.CACertificateStatus = exports.CertificateMode = exports.LogTargetType = void 0;
|
|
3
|
+
exports.GetPackageVersionResponseFilterSensitiveLog = exports.GetPackageResponseFilterSensitiveLog = exports.DetectMitigationActionExecutionStatus = exports.BehaviorCriteriaType = exports.NotConfiguredException = exports.ThingIndexingMode = exports.ThingConnectivityIndexingMode = exports.NamedShadowIndexingMode = exports.TargetFieldOrder = exports.DeviceDefenderIndexingMode = exports.ThingGroupIndexingMode = exports.FieldType = exports.ModelStatus = exports.Status = exports.DynamicGroupStatus = exports.MitigationActionType = exports.JobExecutionStatus = exports.JobStatus = exports.IndexStatus = exports.EventType = exports.ServerCertificateStatus = exports.DomainType = exports.DomainConfigurationStatus = exports.DetectMitigationActionsTaskStatus = exports.CertificateStatus = exports.CACertificateStatus = exports.CertificateMode = exports.LogTargetType = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const IoTServiceException_1 = require("./IoTServiceException");
|
|
6
6
|
exports.LogTargetType = {
|
|
@@ -120,6 +120,10 @@ exports.DeviceDefenderIndexingMode = {
|
|
|
120
120
|
OFF: "OFF",
|
|
121
121
|
VIOLATIONS: "VIOLATIONS",
|
|
122
122
|
};
|
|
123
|
+
exports.TargetFieldOrder = {
|
|
124
|
+
LatLon: "LatLon",
|
|
125
|
+
LonLat: "LonLat",
|
|
126
|
+
};
|
|
123
127
|
exports.NamedShadowIndexingMode = {
|
|
124
128
|
OFF: "OFF",
|
|
125
129
|
ON: "ON",
|
|
@@ -986,6 +986,7 @@ const se_CreateSecurityProfileCommand = async (input, context) => {
|
|
|
986
986
|
additionalMetricsToRetainV2: (_) => (0, smithy_client_1._json)(_),
|
|
987
987
|
alertTargets: (_) => (0, smithy_client_1._json)(_),
|
|
988
988
|
behaviors: (_) => se_Behaviors(_, context),
|
|
989
|
+
metricsExportConfig: (_) => (0, smithy_client_1._json)(_),
|
|
989
990
|
securityProfileDescription: [],
|
|
990
991
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
991
992
|
}));
|
|
@@ -5425,6 +5426,8 @@ const se_UpdateSecurityProfileCommand = async (input, context) => {
|
|
|
5425
5426
|
deleteAdditionalMetricsToRetain: [],
|
|
5426
5427
|
deleteAlertTargets: [],
|
|
5427
5428
|
deleteBehaviors: [],
|
|
5429
|
+
deleteMetricsExportConfig: [],
|
|
5430
|
+
metricsExportConfig: (_) => (0, smithy_client_1._json)(_),
|
|
5428
5431
|
securityProfileDescription: [],
|
|
5429
5432
|
}));
|
|
5430
5433
|
return new protocol_http_1.HttpRequest({
|
|
@@ -10581,6 +10584,7 @@ const de_DescribeSecurityProfileCommand = async (output, context) => {
|
|
|
10581
10584
|
behaviors: (_) => de_Behaviors(_, context),
|
|
10582
10585
|
creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
10583
10586
|
lastModifiedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
10587
|
+
metricsExportConfig: smithy_client_1._json,
|
|
10584
10588
|
securityProfileArn: smithy_client_1.expectString,
|
|
10585
10589
|
securityProfileDescription: smithy_client_1.expectString,
|
|
10586
10590
|
securityProfileName: smithy_client_1.expectString,
|
|
@@ -16832,6 +16836,7 @@ const de_UpdateSecurityProfileCommand = async (output, context) => {
|
|
|
16832
16836
|
behaviors: (_) => de_Behaviors(_, context),
|
|
16833
16837
|
creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
16834
16838
|
lastModifiedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
16839
|
+
metricsExportConfig: smithy_client_1._json,
|
|
16835
16840
|
securityProfileArn: smithy_client_1.expectString,
|
|
16836
16841
|
securityProfileDescription: smithy_client_1.expectString,
|
|
16837
16842
|
securityProfileName: smithy_client_1.expectString,
|
|
@@ -17629,6 +17634,7 @@ const se_AwsJobExponentialRolloutRate = (input, context) => {
|
|
|
17629
17634
|
const se_Behavior = (input, context) => {
|
|
17630
17635
|
return (0, smithy_client_1.take)(input, {
|
|
17631
17636
|
criteria: (_) => se_BehaviorCriteria(_, context),
|
|
17637
|
+
exportMetric: [],
|
|
17632
17638
|
metric: [],
|
|
17633
17639
|
metricDimension: smithy_client_1._json,
|
|
17634
17640
|
name: [],
|
|
@@ -17889,6 +17895,7 @@ const de_AwsJobExponentialRolloutRate = (output, context) => {
|
|
|
17889
17895
|
const de_Behavior = (output, context) => {
|
|
17890
17896
|
return (0, smithy_client_1.take)(output, {
|
|
17891
17897
|
criteria: (_) => de_BehaviorCriteria(_, context),
|
|
17898
|
+
exportMetric: smithy_client_1.expectBoolean,
|
|
17892
17899
|
metric: smithy_client_1.expectString,
|
|
17893
17900
|
metricDimension: smithy_client_1._json,
|
|
17894
17901
|
name: smithy_client_1.expectString,
|
|
@@ -117,6 +117,10 @@ export const DeviceDefenderIndexingMode = {
|
|
|
117
117
|
OFF: "OFF",
|
|
118
118
|
VIOLATIONS: "VIOLATIONS",
|
|
119
119
|
};
|
|
120
|
+
export const TargetFieldOrder = {
|
|
121
|
+
LatLon: "LatLon",
|
|
122
|
+
LonLat: "LonLat",
|
|
123
|
+
};
|
|
120
124
|
export const NamedShadowIndexingMode = {
|
|
121
125
|
OFF: "OFF",
|
|
122
126
|
ON: "ON",
|
|
@@ -935,6 +935,7 @@ export const se_CreateSecurityProfileCommand = async (input, context) => {
|
|
|
935
935
|
additionalMetricsToRetainV2: (_) => _json(_),
|
|
936
936
|
alertTargets: (_) => _json(_),
|
|
937
937
|
behaviors: (_) => se_Behaviors(_, context),
|
|
938
|
+
metricsExportConfig: (_) => _json(_),
|
|
938
939
|
securityProfileDescription: [],
|
|
939
940
|
tags: (_) => _json(_),
|
|
940
941
|
}));
|
|
@@ -5170,6 +5171,8 @@ export const se_UpdateSecurityProfileCommand = async (input, context) => {
|
|
|
5170
5171
|
deleteAdditionalMetricsToRetain: [],
|
|
5171
5172
|
deleteAlertTargets: [],
|
|
5172
5173
|
deleteBehaviors: [],
|
|
5174
|
+
deleteMetricsExportConfig: [],
|
|
5175
|
+
metricsExportConfig: (_) => _json(_),
|
|
5173
5176
|
securityProfileDescription: [],
|
|
5174
5177
|
}));
|
|
5175
5178
|
return new __HttpRequest({
|
|
@@ -10212,6 +10215,7 @@ export const de_DescribeSecurityProfileCommand = async (output, context) => {
|
|
|
10212
10215
|
behaviors: (_) => de_Behaviors(_, context),
|
|
10213
10216
|
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
10214
10217
|
lastModifiedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
10218
|
+
metricsExportConfig: _json,
|
|
10215
10219
|
securityProfileArn: __expectString,
|
|
10216
10220
|
securityProfileDescription: __expectString,
|
|
10217
10221
|
securityProfileName: __expectString,
|
|
@@ -16327,6 +16331,7 @@ export const de_UpdateSecurityProfileCommand = async (output, context) => {
|
|
|
16327
16331
|
behaviors: (_) => de_Behaviors(_, context),
|
|
16328
16332
|
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
16329
16333
|
lastModifiedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
16334
|
+
metricsExportConfig: _json,
|
|
16330
16335
|
securityProfileArn: __expectString,
|
|
16331
16336
|
securityProfileDescription: __expectString,
|
|
16332
16337
|
securityProfileName: __expectString,
|
|
@@ -17117,6 +17122,7 @@ const se_AwsJobExponentialRolloutRate = (input, context) => {
|
|
|
17117
17122
|
const se_Behavior = (input, context) => {
|
|
17118
17123
|
return take(input, {
|
|
17119
17124
|
criteria: (_) => se_BehaviorCriteria(_, context),
|
|
17125
|
+
exportMetric: [],
|
|
17120
17126
|
metric: [],
|
|
17121
17127
|
metricDimension: _json,
|
|
17122
17128
|
name: [],
|
|
@@ -17377,6 +17383,7 @@ const de_AwsJobExponentialRolloutRate = (output, context) => {
|
|
|
17377
17383
|
const de_Behavior = (output, context) => {
|
|
17378
17384
|
return take(output, {
|
|
17379
17385
|
criteria: (_) => de_BehaviorCriteria(_, context),
|
|
17386
|
+
exportMetric: __expectBoolean,
|
|
17380
17387
|
metric: __expectString,
|
|
17381
17388
|
metricDimension: _json,
|
|
17382
17389
|
name: __expectString,
|
|
@@ -71,6 +71,7 @@ export interface CreateSecurityProfileCommandOutput extends CreateSecurityProfil
|
|
|
71
71
|
* },
|
|
72
72
|
* },
|
|
73
73
|
* suppressAlerts: true || false,
|
|
74
|
+
* exportMetric: true || false,
|
|
74
75
|
* },
|
|
75
76
|
* ],
|
|
76
77
|
* alertTargets: { // AlertTargets
|
|
@@ -89,6 +90,7 @@ export interface CreateSecurityProfileCommandOutput extends CreateSecurityProfil
|
|
|
89
90
|
* dimensionName: "STRING_VALUE", // required
|
|
90
91
|
* operator: "IN" || "NOT_IN",
|
|
91
92
|
* },
|
|
93
|
+
* exportMetric: true || false,
|
|
92
94
|
* },
|
|
93
95
|
* ],
|
|
94
96
|
* tags: [ // TagList
|
|
@@ -97,6 +99,10 @@ export interface CreateSecurityProfileCommandOutput extends CreateSecurityProfil
|
|
|
97
99
|
* Value: "STRING_VALUE",
|
|
98
100
|
* },
|
|
99
101
|
* ],
|
|
102
|
+
* metricsExportConfig: { // MetricsExportConfig
|
|
103
|
+
* mqttTopic: "STRING_VALUE", // required
|
|
104
|
+
* roleArn: "STRING_VALUE", // required
|
|
105
|
+
* },
|
|
100
106
|
* };
|
|
101
107
|
* const command = new CreateSecurityProfileCommand(input);
|
|
102
108
|
* const response = await client.send(command);
|
|
@@ -27,6 +27,9 @@ export interface CreateThingGroupCommandOutput extends CreateThingGroupResponse,
|
|
|
27
27
|
* <note>
|
|
28
28
|
* <p>This is a control plane operation. See <a href="https://docs.aws.amazon.com/iot/latest/developerguide/iot-authorization.html">Authorization</a> for
|
|
29
29
|
* information about authorizing control plane actions.</p>
|
|
30
|
+
* <p>If the <code>ThingGroup</code> that you create has the exact same attributes as an existing
|
|
31
|
+
* <code>ThingGroup</code>, you will get a 200 success response.
|
|
32
|
+
* </p>
|
|
30
33
|
* </note>
|
|
31
34
|
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">CreateThingGroup</a> action.</p>
|
|
32
35
|
* @example
|
|
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
5
|
-
import { DeleteDynamicThingGroupRequest } from "../models/
|
|
6
|
-
import { DeleteDynamicThingGroupResponse } from "../models/models_1";
|
|
5
|
+
import { DeleteDynamicThingGroupRequest, DeleteDynamicThingGroupResponse } from "../models/models_1";
|
|
7
6
|
/**
|
|
8
7
|
* @public
|
|
9
8
|
*/
|
|
@@ -77,6 +77,7 @@ export interface DescribeSecurityProfileCommandOutput extends DescribeSecurityPr
|
|
|
77
77
|
* // },
|
|
78
78
|
* // },
|
|
79
79
|
* // suppressAlerts: true || false,
|
|
80
|
+
* // exportMetric: true || false,
|
|
80
81
|
* // },
|
|
81
82
|
* // ],
|
|
82
83
|
* // alertTargets: { // AlertTargets
|
|
@@ -95,11 +96,16 @@ export interface DescribeSecurityProfileCommandOutput extends DescribeSecurityPr
|
|
|
95
96
|
* // dimensionName: "STRING_VALUE", // required
|
|
96
97
|
* // operator: "IN" || "NOT_IN",
|
|
97
98
|
* // },
|
|
99
|
+
* // exportMetric: true || false,
|
|
98
100
|
* // },
|
|
99
101
|
* // ],
|
|
100
102
|
* // version: Number("long"),
|
|
101
103
|
* // creationDate: new Date("TIMESTAMP"),
|
|
102
104
|
* // lastModifiedDate: new Date("TIMESTAMP"),
|
|
105
|
+
* // metricsExportConfig: { // MetricsExportConfig
|
|
106
|
+
* // mqttTopic: "STRING_VALUE", // required
|
|
107
|
+
* // roleArn: "STRING_VALUE", // required
|
|
108
|
+
* // },
|
|
103
109
|
* // };
|
|
104
110
|
*
|
|
105
111
|
* ```
|
|
@@ -56,6 +56,12 @@ export interface GetIndexingConfigurationCommandOutput extends GetIndexingConfig
|
|
|
56
56
|
* // namedShadowNames: [ // NamedShadowNamesFilter
|
|
57
57
|
* // "STRING_VALUE",
|
|
58
58
|
* // ],
|
|
59
|
+
* // geoLocations: [ // GeoLocationsFilter
|
|
60
|
+
* // { // GeoLocationTarget
|
|
61
|
+
* // name: "STRING_VALUE",
|
|
62
|
+
* // order: "LatLon" || "LonLat",
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
59
65
|
* // },
|
|
60
66
|
* // },
|
|
61
67
|
* // thingGroupIndexingConfiguration: { // ThingGroupIndexingConfiguration
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
5
|
-
import { ListPolicyPrincipalsRequest, ListPolicyPrincipalsResponse } from "../models/
|
|
5
|
+
import { ListPolicyPrincipalsRequest, ListPolicyPrincipalsResponse } from "../models/models_2";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
5
|
-
import { ListPolicyVersionsRequest } from "../models/
|
|
6
|
-
import { ListPolicyVersionsResponse } from "../models/models_2";
|
|
5
|
+
import { ListPolicyVersionsRequest, ListPolicyVersionsResponse } from "../models/models_2";
|
|
7
6
|
/**
|
|
8
7
|
* @public
|
|
9
8
|
*/
|
|
@@ -53,6 +53,12 @@ export interface UpdateIndexingConfigurationCommandOutput extends UpdateIndexing
|
|
|
53
53
|
* namedShadowNames: [ // NamedShadowNamesFilter
|
|
54
54
|
* "STRING_VALUE",
|
|
55
55
|
* ],
|
|
56
|
+
* geoLocations: [ // GeoLocationsFilter
|
|
57
|
+
* { // GeoLocationTarget
|
|
58
|
+
* name: "STRING_VALUE",
|
|
59
|
+
* order: "LatLon" || "LonLat",
|
|
60
|
+
* },
|
|
61
|
+
* ],
|
|
56
62
|
* },
|
|
57
63
|
* },
|
|
58
64
|
* thingGroupIndexingConfiguration: { // ThingGroupIndexingConfiguration
|
|
@@ -71,6 +71,7 @@ export interface UpdateSecurityProfileCommandOutput extends UpdateSecurityProfil
|
|
|
71
71
|
* },
|
|
72
72
|
* },
|
|
73
73
|
* suppressAlerts: true || false,
|
|
74
|
+
* exportMetric: true || false,
|
|
74
75
|
* },
|
|
75
76
|
* ],
|
|
76
77
|
* alertTargets: { // AlertTargets
|
|
@@ -89,12 +90,18 @@ export interface UpdateSecurityProfileCommandOutput extends UpdateSecurityProfil
|
|
|
89
90
|
* dimensionName: "STRING_VALUE", // required
|
|
90
91
|
* operator: "IN" || "NOT_IN",
|
|
91
92
|
* },
|
|
93
|
+
* exportMetric: true || false,
|
|
92
94
|
* },
|
|
93
95
|
* ],
|
|
94
96
|
* deleteBehaviors: true || false,
|
|
95
97
|
* deleteAlertTargets: true || false,
|
|
96
98
|
* deleteAdditionalMetricsToRetain: true || false,
|
|
97
99
|
* expectedVersion: Number("long"),
|
|
100
|
+
* metricsExportConfig: { // MetricsExportConfig
|
|
101
|
+
* mqttTopic: "STRING_VALUE", // required
|
|
102
|
+
* roleArn: "STRING_VALUE", // required
|
|
103
|
+
* },
|
|
104
|
+
* deleteMetricsExportConfig: true || false,
|
|
98
105
|
* };
|
|
99
106
|
* const command = new UpdateSecurityProfileCommand(input);
|
|
100
107
|
* const response = await client.send(command);
|
|
@@ -139,6 +146,7 @@ export interface UpdateSecurityProfileCommandOutput extends UpdateSecurityProfil
|
|
|
139
146
|
* // },
|
|
140
147
|
* // },
|
|
141
148
|
* // suppressAlerts: true || false,
|
|
149
|
+
* // exportMetric: true || false,
|
|
142
150
|
* // },
|
|
143
151
|
* // ],
|
|
144
152
|
* // alertTargets: { // AlertTargets
|
|
@@ -157,11 +165,16 @@ export interface UpdateSecurityProfileCommandOutput extends UpdateSecurityProfil
|
|
|
157
165
|
* // dimensionName: "STRING_VALUE", // required
|
|
158
166
|
* // operator: "IN" || "NOT_IN",
|
|
159
167
|
* // },
|
|
168
|
+
* // exportMetric: true || false,
|
|
160
169
|
* // },
|
|
161
170
|
* // ],
|
|
162
171
|
* // version: Number("long"),
|
|
163
172
|
* // creationDate: new Date("TIMESTAMP"),
|
|
164
173
|
* // lastModifiedDate: new Date("TIMESTAMP"),
|
|
174
|
+
* // metricsExportConfig: { // MetricsExportConfig
|
|
175
|
+
* // mqttTopic: "STRING_VALUE", // required
|
|
176
|
+
* // roleArn: "STRING_VALUE", // required
|
|
177
|
+
* // },
|
|
165
178
|
* // };
|
|
166
179
|
*
|
|
167
180
|
* ```
|
|
@@ -1703,6 +1703,11 @@ export interface Behavior {
|
|
|
1703
1703
|
* </p>
|
|
1704
1704
|
*/
|
|
1705
1705
|
suppressAlerts?: boolean;
|
|
1706
|
+
/**
|
|
1707
|
+
* @public
|
|
1708
|
+
* <p>Value indicates exporting metrics related to the behavior when it is true.</p>
|
|
1709
|
+
*/
|
|
1710
|
+
exportMetric?: boolean;
|
|
1706
1711
|
}
|
|
1707
1712
|
/**
|
|
1708
1713
|
* @public
|
|
@@ -1806,6 +1811,12 @@ export interface MetricToRetain {
|
|
|
1806
1811
|
* <p>The dimension of a metric. This can't be used with custom metrics.</p>
|
|
1807
1812
|
*/
|
|
1808
1813
|
metricDimension?: MetricDimension;
|
|
1814
|
+
/**
|
|
1815
|
+
* @public
|
|
1816
|
+
* <p>Value added in both Behavior and AdditionalMetricsToRetainV2 to indicate if Device
|
|
1817
|
+
* Defender Detect should export the corresponding metrics.</p>
|
|
1818
|
+
*/
|
|
1819
|
+
exportMetric?: boolean;
|
|
1809
1820
|
}
|
|
1810
1821
|
/**
|
|
1811
1822
|
* @public
|
|
@@ -4269,8 +4280,8 @@ export interface CreateJobRequest {
|
|
|
4269
4280
|
* <p>The package version Amazon Resource Names (ARNs) that are installed on the device when the
|
|
4270
4281
|
* job successfully completes. </p>
|
|
4271
4282
|
* <p>
|
|
4272
|
-
* <b>Note:</b>The following Length Constraints relates to a single
|
|
4273
|
-
* Up to
|
|
4283
|
+
* <b>Note:</b>The following Length Constraints relates to a single ARN.
|
|
4284
|
+
* Up to 25 package version ARNs are allowed.</p>
|
|
4274
4285
|
*/
|
|
4275
4286
|
destinationPackageVersions?: string[];
|
|
4276
4287
|
}
|
|
@@ -4384,10 +4395,11 @@ export interface CreateJobTemplateRequest {
|
|
|
4384
4395
|
maintenanceWindows?: MaintenanceWindow[];
|
|
4385
4396
|
/**
|
|
4386
4397
|
* @public
|
|
4387
|
-
* <p>The package version Amazon Resource Names (ARNs) that are installed on the device when the
|
|
4398
|
+
* <p>The package version Amazon Resource Names (ARNs) that are installed on the device when the
|
|
4399
|
+
* job successfully completes. </p>
|
|
4388
4400
|
* <p>
|
|
4389
|
-
* <b>Note:</b>The following Length Constraints relates to a single
|
|
4390
|
-
*
|
|
4401
|
+
* <b>Note:</b>The following Length Constraints relates to a single ARN.
|
|
4402
|
+
* Up to 25 package version ARNs are allowed.</p>
|
|
4391
4403
|
*/
|
|
4392
4404
|
destinationPackageVersions?: string[];
|
|
4393
4405
|
}
|
|
@@ -5796,6 +5808,24 @@ export interface CreateScheduledAuditResponse {
|
|
|
5796
5808
|
*/
|
|
5797
5809
|
scheduledAuditArn?: string;
|
|
5798
5810
|
}
|
|
5811
|
+
/**
|
|
5812
|
+
* @public
|
|
5813
|
+
* <p>Set configurations for metrics export.</p>
|
|
5814
|
+
*/
|
|
5815
|
+
export interface MetricsExportConfig {
|
|
5816
|
+
/**
|
|
5817
|
+
* @public
|
|
5818
|
+
* <p>The MQTT topic that Device Defender Detect should publish messages to for metrics
|
|
5819
|
+
* export.</p>
|
|
5820
|
+
*/
|
|
5821
|
+
mqttTopic: string | undefined;
|
|
5822
|
+
/**
|
|
5823
|
+
* @public
|
|
5824
|
+
* <p>This role ARN has permission to publish MQTT messages, after which Device Defender Detect
|
|
5825
|
+
* can assume the role and publish messages on your behalf.</p>
|
|
5826
|
+
*/
|
|
5827
|
+
roleArn: string | undefined;
|
|
5828
|
+
}
|
|
5799
5829
|
/**
|
|
5800
5830
|
* @public
|
|
5801
5831
|
*/
|
|
@@ -5843,6 +5873,11 @@ export interface CreateSecurityProfileRequest {
|
|
|
5843
5873
|
* <p>Metadata that can be used to manage the security profile.</p>
|
|
5844
5874
|
*/
|
|
5845
5875
|
tags?: Tag[];
|
|
5876
|
+
/**
|
|
5877
|
+
* @public
|
|
5878
|
+
* <p>Specifies the MQTT topic and role ARN required for metric export.</p>
|
|
5879
|
+
*/
|
|
5880
|
+
metricsExportConfig?: MetricsExportConfig;
|
|
5846
5881
|
}
|
|
5847
5882
|
/**
|
|
5848
5883
|
* @public
|
|
@@ -6549,21 +6584,6 @@ export interface DeleteDomainConfigurationRequest {
|
|
|
6549
6584
|
*/
|
|
6550
6585
|
export interface DeleteDomainConfigurationResponse {
|
|
6551
6586
|
}
|
|
6552
|
-
/**
|
|
6553
|
-
* @public
|
|
6554
|
-
*/
|
|
6555
|
-
export interface DeleteDynamicThingGroupRequest {
|
|
6556
|
-
/**
|
|
6557
|
-
* @public
|
|
6558
|
-
* <p>The name of the dynamic thing group to delete.</p>
|
|
6559
|
-
*/
|
|
6560
|
-
thingGroupName: string | undefined;
|
|
6561
|
-
/**
|
|
6562
|
-
* @public
|
|
6563
|
-
* <p>The expected version of the dynamic thing group to delete.</p>
|
|
6564
|
-
*/
|
|
6565
|
-
expectedVersion?: number;
|
|
6566
|
-
}
|
|
6567
6587
|
/**
|
|
6568
6588
|
* @internal
|
|
6569
6589
|
*/
|
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { IoTServiceException as __BaseException } from "./IoTServiceException";
|
|
3
|
-
import { AbortConfig, Action, ActiveViolation, AggregationType, AlertTarget, AlertTargetType, AuditCheckConfiguration, AuditCheckDetails, AuditFinding, AuditFrequency, AuditMitigationActionExecutionMetadata, AuditMitigationActionsExecutionStatus, AuditMitigationActionsTaskMetadata, AuditMitigationActionsTaskStatus, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuditNotificationType, AuditSuppression, AuditTaskMetadata, AuditTaskStatus, AuditTaskType, AuthorizerConfig, AuthorizerDescription, AuthorizerStatus, AuthorizerSummary, AutoRegistrationStatus, AwsJobExecutionsRolloutConfig, AwsJobPresignedUrlConfig, Behavior, BillingGroupProperties, CustomMetricType, DayOfWeek, DimensionType, DimensionValueOperator, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MaintenanceWindow, MetricToRetain, MetricValue, MitigationActionParams, OTAUpdateFile, OTAUpdateStatus, PackageVersionStatus, Policy, PresignedUrlConfig, Protocol, ProvisioningHook, ResourceIdentifier, SchedulingConfig, ServiceType, StreamFile, TargetSelection, TaskStatisticsForAuditCheck, TemplateType, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TlsConfig, TopicRuleDestination, VerificationState } from "./models_0";
|
|
3
|
+
import { AbortConfig, Action, ActiveViolation, AggregationType, AlertTarget, AlertTargetType, AuditCheckConfiguration, AuditCheckDetails, AuditFinding, AuditFrequency, AuditMitigationActionExecutionMetadata, AuditMitigationActionsExecutionStatus, AuditMitigationActionsTaskMetadata, AuditMitigationActionsTaskStatus, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuditNotificationType, AuditSuppression, AuditTaskMetadata, AuditTaskStatus, AuditTaskType, AuthorizerConfig, AuthorizerDescription, AuthorizerStatus, AuthorizerSummary, AutoRegistrationStatus, AwsJobExecutionsRolloutConfig, AwsJobPresignedUrlConfig, Behavior, BillingGroupProperties, CustomMetricType, DayOfWeek, DimensionType, DimensionValueOperator, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MaintenanceWindow, MetricsExportConfig, MetricToRetain, MetricValue, MitigationActionParams, OTAUpdateFile, OTAUpdateStatus, PackageVersionStatus, Policy, PresignedUrlConfig, Protocol, ProvisioningHook, ResourceIdentifier, SchedulingConfig, ServiceType, StreamFile, TargetSelection, TaskStatisticsForAuditCheck, TemplateType, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TlsConfig, TopicRuleDestination, VerificationState } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface DeleteDynamicThingGroupRequest {
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
* <p>The name of the dynamic thing group to delete.</p>
|
|
11
|
+
*/
|
|
12
|
+
thingGroupName: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
* <p>The expected version of the dynamic thing group to delete.</p>
|
|
16
|
+
*/
|
|
17
|
+
expectedVersion?: number;
|
|
18
|
+
}
|
|
4
19
|
/**
|
|
5
20
|
* @public
|
|
6
21
|
*/
|
|
@@ -2096,10 +2111,11 @@ export interface Job {
|
|
|
2096
2111
|
scheduledJobRollouts?: ScheduledJobRollout[];
|
|
2097
2112
|
/**
|
|
2098
2113
|
* @public
|
|
2099
|
-
* <p>The package version Amazon Resource Names (ARNs) that are installed on the device when the
|
|
2114
|
+
* <p>The package version Amazon Resource Names (ARNs) that are installed on the device when the
|
|
2115
|
+
* job successfully completes. </p>
|
|
2100
2116
|
* <p>
|
|
2101
|
-
* <b>Note:</b>The following Length Constraints relates to a single
|
|
2102
|
-
*
|
|
2117
|
+
* <b>Note:</b>The following Length Constraints relates to a single ARN.
|
|
2118
|
+
* Up to 25 package version ARNs are allowed.</p>
|
|
2103
2119
|
*/
|
|
2104
2120
|
destinationPackageVersions?: string[];
|
|
2105
2121
|
}
|
|
@@ -2327,10 +2343,11 @@ export interface DescribeJobTemplateResponse {
|
|
|
2327
2343
|
maintenanceWindows?: MaintenanceWindow[];
|
|
2328
2344
|
/**
|
|
2329
2345
|
* @public
|
|
2330
|
-
* <p>The package version Amazon Resource Names (ARNs) that are installed on the device when the
|
|
2346
|
+
* <p>The package version Amazon Resource Names (ARNs) that are installed on the device when the
|
|
2347
|
+
* job successfully completes. </p>
|
|
2331
2348
|
* <p>
|
|
2332
|
-
* <b>Note:</b>The following Length Constraints relates to a single
|
|
2333
|
-
*
|
|
2349
|
+
* <b>Note:</b>The following Length Constraints relates to a single ARN.
|
|
2350
|
+
* Up to 25 package version ARNs are allowed.</p>
|
|
2334
2351
|
*/
|
|
2335
2352
|
destinationPackageVersions?: string[];
|
|
2336
2353
|
}
|
|
@@ -2829,6 +2846,11 @@ export interface DescribeSecurityProfileResponse {
|
|
|
2829
2846
|
* <p>The time the security profile was last modified.</p>
|
|
2830
2847
|
*/
|
|
2831
2848
|
lastModifiedDate?: Date;
|
|
2849
|
+
/**
|
|
2850
|
+
* @public
|
|
2851
|
+
* <p>Specifies the MQTT topic and role ARN required for metric export.</p>
|
|
2852
|
+
*/
|
|
2853
|
+
metricsExportConfig?: MetricsExportConfig;
|
|
2832
2854
|
}
|
|
2833
2855
|
/**
|
|
2834
2856
|
* @public
|
|
@@ -3674,6 +3696,9 @@ export interface ThingGroupIndexingConfiguration {
|
|
|
3674
3696
|
* @public
|
|
3675
3697
|
* <p>Contains fields that are indexed and whose types are already known by the Fleet Indexing
|
|
3676
3698
|
* service. This is an optional field. For more information, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/managing-fleet-index.html#managed-field">Managed fields</a> in the <i>Amazon Web Services IoT Core Developer Guide</i>.</p>
|
|
3699
|
+
* <note>
|
|
3700
|
+
* <p>You can't modify managed fields by updating fleet indexing configuration.</p>
|
|
3701
|
+
* </note>
|
|
3677
3702
|
*/
|
|
3678
3703
|
managedFields?: Field[];
|
|
3679
3704
|
/**
|
|
@@ -3698,9 +3723,56 @@ export declare const DeviceDefenderIndexingMode: {
|
|
|
3698
3723
|
export type DeviceDefenderIndexingMode = (typeof DeviceDefenderIndexingMode)[keyof typeof DeviceDefenderIndexingMode];
|
|
3699
3724
|
/**
|
|
3700
3725
|
* @public
|
|
3701
|
-
*
|
|
3702
|
-
|
|
3703
|
-
|
|
3726
|
+
* @enum
|
|
3727
|
+
*/
|
|
3728
|
+
export declare const TargetFieldOrder: {
|
|
3729
|
+
readonly LatLon: "LatLon";
|
|
3730
|
+
readonly LonLat: "LonLat";
|
|
3731
|
+
};
|
|
3732
|
+
/**
|
|
3733
|
+
* @public
|
|
3734
|
+
*/
|
|
3735
|
+
export type TargetFieldOrder = (typeof TargetFieldOrder)[keyof typeof TargetFieldOrder];
|
|
3736
|
+
/**
|
|
3737
|
+
* @public
|
|
3738
|
+
* <p>A geolocation target that you select to index. Each geolocation target contains a
|
|
3739
|
+
* <code>name</code> and <code>order</code> key-value pair that specifies the geolocation
|
|
3740
|
+
* target fields.</p>
|
|
3741
|
+
*/
|
|
3742
|
+
export interface GeoLocationTarget {
|
|
3743
|
+
/**
|
|
3744
|
+
* @public
|
|
3745
|
+
* <p>The <code>name</code> of the geolocation target field. If the target field is part of a
|
|
3746
|
+
* named shadow, you must select the named shadow using the <code>namedShadow</code> filter.</p>
|
|
3747
|
+
*/
|
|
3748
|
+
name?: string;
|
|
3749
|
+
/**
|
|
3750
|
+
* @public
|
|
3751
|
+
* <p>The <code>order</code> of the geolocation target field. This field is optional. The
|
|
3752
|
+
* default value is <code>LatLon</code>.</p>
|
|
3753
|
+
*/
|
|
3754
|
+
order?: TargetFieldOrder;
|
|
3755
|
+
}
|
|
3756
|
+
/**
|
|
3757
|
+
* @public
|
|
3758
|
+
* <p>Provides additional selections for named shadows and geolocation data. </p>
|
|
3759
|
+
* <p>To add named shadows to your fleet indexing configuration, set <code>namedShadowIndexingMode</code> to
|
|
3760
|
+
* be ON and specify your shadow names in <code>namedShadowNames</code> filter.</p>
|
|
3761
|
+
* <p>To add geolocation data to your fleet indexing configuration: </p>
|
|
3762
|
+
* <ul>
|
|
3763
|
+
* <li>
|
|
3764
|
+
* <p>If you store geolocation data in a class/unnamed shadow, set
|
|
3765
|
+
* <code>thingIndexingMode</code> to be <code>REGISTRY_AND_SHADOW</code> and specify your
|
|
3766
|
+
* geolocation data in <code>geoLocations</code> filter. </p>
|
|
3767
|
+
* </li>
|
|
3768
|
+
* <li>
|
|
3769
|
+
* <p>If you store geolocation data in a named shadow, set
|
|
3770
|
+
* <code>namedShadowIndexingMode</code> to be <code>ON</code>, add the shadow name in
|
|
3771
|
+
* <code>namedShadowNames</code> filter, and specify your geolocation data in
|
|
3772
|
+
* <code>geoLocations</code> filter. For more information, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/managing-fleet-index.html">Managing fleet
|
|
3773
|
+
* indexing</a>.</p>
|
|
3774
|
+
* </li>
|
|
3775
|
+
* </ul>
|
|
3704
3776
|
*/
|
|
3705
3777
|
export interface IndexingFilter {
|
|
3706
3778
|
/**
|
|
@@ -3711,6 +3783,13 @@ export interface IndexingFilter {
|
|
|
3711
3783
|
* </p>
|
|
3712
3784
|
*/
|
|
3713
3785
|
namedShadowNames?: string[];
|
|
3786
|
+
/**
|
|
3787
|
+
* @public
|
|
3788
|
+
* <p>The list of geolocation targets that you select to index. The default maximum number of
|
|
3789
|
+
* geolocation targets for indexing is <code>1</code>. To increase the limit, see <a href="https://docs.aws.amazon.com/general/latest/gr/iot_device_management.html#fleet-indexing-limits">Amazon Web Services IoT Device
|
|
3790
|
+
* Management Quotas</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
3791
|
+
*/
|
|
3792
|
+
geoLocations?: GeoLocationTarget[];
|
|
3714
3793
|
}
|
|
3715
3794
|
/**
|
|
3716
3795
|
* @public
|
|
@@ -3823,7 +3902,10 @@ export interface ThingIndexingConfiguration {
|
|
|
3823
3902
|
/**
|
|
3824
3903
|
* @public
|
|
3825
3904
|
* <p>Contains fields that are indexed and whose types are already known by the Fleet Indexing
|
|
3826
|
-
* service
|
|
3905
|
+
* service. This is an optional field. For more information, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/managing-fleet-index.html#managed-field">Managed fields</a> in the <i>Amazon Web Services IoT Core Developer Guide</i>.</p>
|
|
3906
|
+
* <note>
|
|
3907
|
+
* <p>You can't modify managed fields by updating fleet indexing configuration.</p>
|
|
3908
|
+
* </note>
|
|
3827
3909
|
*/
|
|
3828
3910
|
managedFields?: Field[];
|
|
3829
3911
|
/**
|
|
@@ -3833,9 +3915,23 @@ export interface ThingIndexingConfiguration {
|
|
|
3833
3915
|
customFields?: Field[];
|
|
3834
3916
|
/**
|
|
3835
3917
|
* @public
|
|
3836
|
-
* <p>Provides additional
|
|
3837
|
-
*
|
|
3838
|
-
* specify your shadow names in <code>
|
|
3918
|
+
* <p>Provides additional selections for named shadows and geolocation data. </p>
|
|
3919
|
+
* <p>To add named shadows to your fleet indexing configuration, set <code>namedShadowIndexingMode</code> to
|
|
3920
|
+
* be ON and specify your shadow names in <code>namedShadowNames</code> filter.</p>
|
|
3921
|
+
* <p>To add geolocation data to your fleet indexing configuration: </p>
|
|
3922
|
+
* <ul>
|
|
3923
|
+
* <li>
|
|
3924
|
+
* <p>If you store geolocation data in a class/unnamed shadow, set
|
|
3925
|
+
* <code>thingIndexingMode</code> to be <code>REGISTRY_AND_SHADOW</code> and specify your
|
|
3926
|
+
* geolocation data in <code>geoLocations</code> filter. </p>
|
|
3927
|
+
* </li>
|
|
3928
|
+
* <li>
|
|
3929
|
+
* <p>If you store geolocation data in a named shadow, set <code>namedShadowIndexingMode</code>
|
|
3930
|
+
* to be <code>ON</code>, add the shadow name in <code>namedShadowNames</code> filter, and
|
|
3931
|
+
* specify your geolocation data in <code>geoLocations</code> filter. For more information, see
|
|
3932
|
+
* <a href="https://docs.aws.amazon.com/iot/latest/developerguide/managing-fleet-index.html">Managing fleet indexing</a>.</p>
|
|
3933
|
+
* </li>
|
|
3934
|
+
* </ul>
|
|
3839
3935
|
*/
|
|
3840
3936
|
filter?: IndexingFilter;
|
|
3841
3937
|
}
|
|
@@ -6523,61 +6619,6 @@ export interface ListPoliciesResponse {
|
|
|
6523
6619
|
*/
|
|
6524
6620
|
nextMarker?: string;
|
|
6525
6621
|
}
|
|
6526
|
-
/**
|
|
6527
|
-
* @public
|
|
6528
|
-
* <p>The input for the ListPolicyPrincipals operation.</p>
|
|
6529
|
-
*/
|
|
6530
|
-
export interface ListPolicyPrincipalsRequest {
|
|
6531
|
-
/**
|
|
6532
|
-
* @public
|
|
6533
|
-
* <p>The policy name.</p>
|
|
6534
|
-
*/
|
|
6535
|
-
policyName: string | undefined;
|
|
6536
|
-
/**
|
|
6537
|
-
* @public
|
|
6538
|
-
* <p>The marker for the next set of results.</p>
|
|
6539
|
-
*/
|
|
6540
|
-
marker?: string;
|
|
6541
|
-
/**
|
|
6542
|
-
* @public
|
|
6543
|
-
* <p>The result page size.</p>
|
|
6544
|
-
*/
|
|
6545
|
-
pageSize?: number;
|
|
6546
|
-
/**
|
|
6547
|
-
* @public
|
|
6548
|
-
* <p>Specifies the order for results. If true, the results are returned in ascending
|
|
6549
|
-
* creation order.</p>
|
|
6550
|
-
*/
|
|
6551
|
-
ascendingOrder?: boolean;
|
|
6552
|
-
}
|
|
6553
|
-
/**
|
|
6554
|
-
* @public
|
|
6555
|
-
* <p>The output from the ListPolicyPrincipals operation.</p>
|
|
6556
|
-
*/
|
|
6557
|
-
export interface ListPolicyPrincipalsResponse {
|
|
6558
|
-
/**
|
|
6559
|
-
* @public
|
|
6560
|
-
* <p>The descriptions of the principals.</p>
|
|
6561
|
-
*/
|
|
6562
|
-
principals?: string[];
|
|
6563
|
-
/**
|
|
6564
|
-
* @public
|
|
6565
|
-
* <p>The marker for the next set of results, or null if there are no additional
|
|
6566
|
-
* results.</p>
|
|
6567
|
-
*/
|
|
6568
|
-
nextMarker?: string;
|
|
6569
|
-
}
|
|
6570
|
-
/**
|
|
6571
|
-
* @public
|
|
6572
|
-
* <p>The input for the ListPolicyVersions operation.</p>
|
|
6573
|
-
*/
|
|
6574
|
-
export interface ListPolicyVersionsRequest {
|
|
6575
|
-
/**
|
|
6576
|
-
* @public
|
|
6577
|
-
* <p>The policy name.</p>
|
|
6578
|
-
*/
|
|
6579
|
-
policyName: string | undefined;
|
|
6580
|
-
}
|
|
6581
6622
|
/**
|
|
6582
6623
|
* @internal
|
|
6583
6624
|
*/
|
|
@@ -1,7 +1,62 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { IoTServiceException as __BaseException } from "./IoTServiceException";
|
|
3
|
-
import { AbortConfig, AggregationType, AlertTarget, AlertTargetType, AttributePayload, AuditCheckConfiguration, AuditFrequency, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuditNotificationType, AuthInfo, AuthorizerConfig, AuthorizerStatus, AuthResult, AutoRegistrationStatus, Behavior, BillingGroupProperties, CustomMetricType, DayOfWeek, DimensionType, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MetricToRetain, MetricValue, MitigationActionParams, Policy, PresignedUrlConfig, ProvisioningHook, RelatedResource, ResourceIdentifier, StreamFile, Tag, TemplateType, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TlsConfig, TopicRuleDestinationStatus, TopicRulePayload, VerificationState, ViolationEventAdditionalInfo } from "./models_0";
|
|
3
|
+
import { AbortConfig, AggregationType, AlertTarget, AlertTargetType, AttributePayload, AuditCheckConfiguration, AuditFrequency, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuditNotificationType, AuthInfo, AuthorizerConfig, AuthorizerStatus, AuthResult, AutoRegistrationStatus, Behavior, BillingGroupProperties, CustomMetricType, DayOfWeek, DimensionType, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MetricsExportConfig, MetricToRetain, MetricValue, MitigationActionParams, Policy, PresignedUrlConfig, ProvisioningHook, RelatedResource, ResourceIdentifier, StreamFile, Tag, TemplateType, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TlsConfig, TopicRuleDestinationStatus, TopicRulePayload, VerificationState, ViolationEventAdditionalInfo } from "./models_0";
|
|
4
4
|
import { BehaviorCriteriaType, CACertificateStatus, CertificateMode, CertificateStatus, Configuration, DetectMitigationActionsTaskTarget, DomainConfigurationStatus, EventType, GroupNameAndArn, LogTargetType, RegistrationConfig, Status, ThingGroupIndexingConfiguration, ThingIndexingConfiguration, ThingTypeMetadata, VersionUpdateByJobsConfig, ViolationEventOccurrenceRange } from "./models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
* <p>The input for the ListPolicyPrincipals operation.</p>
|
|
8
|
+
*/
|
|
9
|
+
export interface ListPolicyPrincipalsRequest {
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
* <p>The policy name.</p>
|
|
13
|
+
*/
|
|
14
|
+
policyName: string | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* <p>The marker for the next set of results.</p>
|
|
18
|
+
*/
|
|
19
|
+
marker?: string;
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>The result page size.</p>
|
|
23
|
+
*/
|
|
24
|
+
pageSize?: number;
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
* <p>Specifies the order for results. If true, the results are returned in ascending
|
|
28
|
+
* creation order.</p>
|
|
29
|
+
*/
|
|
30
|
+
ascendingOrder?: boolean;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
* <p>The output from the ListPolicyPrincipals operation.</p>
|
|
35
|
+
*/
|
|
36
|
+
export interface ListPolicyPrincipalsResponse {
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
* <p>The descriptions of the principals.</p>
|
|
40
|
+
*/
|
|
41
|
+
principals?: string[];
|
|
42
|
+
/**
|
|
43
|
+
* @public
|
|
44
|
+
* <p>The marker for the next set of results, or null if there are no additional
|
|
45
|
+
* results.</p>
|
|
46
|
+
*/
|
|
47
|
+
nextMarker?: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @public
|
|
51
|
+
* <p>The input for the ListPolicyVersions operation.</p>
|
|
52
|
+
*/
|
|
53
|
+
export interface ListPolicyVersionsRequest {
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
* <p>The policy name.</p>
|
|
57
|
+
*/
|
|
58
|
+
policyName: string | undefined;
|
|
59
|
+
}
|
|
5
60
|
/**
|
|
6
61
|
* @public
|
|
7
62
|
* <p>Describes a policy version.</p>
|
|
@@ -1929,7 +1984,8 @@ export interface SearchIndexRequest {
|
|
|
1929
1984
|
nextToken?: string;
|
|
1930
1985
|
/**
|
|
1931
1986
|
* @public
|
|
1932
|
-
* <p>The maximum number of results to return at one time
|
|
1987
|
+
* <p>The maximum number of results to return per page at one time. The response might
|
|
1988
|
+
* contain fewer results but will never contain more.</p>
|
|
1933
1989
|
*/
|
|
1934
1990
|
maxResults?: number;
|
|
1935
1991
|
/**
|
|
@@ -3586,6 +3642,16 @@ export interface UpdateSecurityProfileRequest {
|
|
|
3586
3642
|
* version, a <code>VersionConflictException</code> is thrown.</p>
|
|
3587
3643
|
*/
|
|
3588
3644
|
expectedVersion?: number;
|
|
3645
|
+
/**
|
|
3646
|
+
* @public
|
|
3647
|
+
* <p>Specifies the MQTT topic and role ARN required for metric export.</p>
|
|
3648
|
+
*/
|
|
3649
|
+
metricsExportConfig?: MetricsExportConfig;
|
|
3650
|
+
/**
|
|
3651
|
+
* @public
|
|
3652
|
+
* <p>Set the value as true to delete metrics export related configurations.</p>
|
|
3653
|
+
*/
|
|
3654
|
+
deleteMetricsExportConfig?: boolean;
|
|
3589
3655
|
}
|
|
3590
3656
|
/**
|
|
3591
3657
|
* @public
|
|
@@ -3652,6 +3718,11 @@ export interface UpdateSecurityProfileResponse {
|
|
|
3652
3718
|
* <p>The time the security profile was last modified.</p>
|
|
3653
3719
|
*/
|
|
3654
3720
|
lastModifiedDate?: Date;
|
|
3721
|
+
/**
|
|
3722
|
+
* @public
|
|
3723
|
+
* <p>Specifies the MQTT topic and role ARN required for metric export.</p>
|
|
3724
|
+
*/
|
|
3725
|
+
metricsExportConfig?: MetricsExportConfig;
|
|
3655
3726
|
}
|
|
3656
3727
|
/**
|
|
3657
3728
|
* @public
|
|
@@ -11,8 +11,10 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../IoTClient";
|
|
14
|
-
import {
|
|
15
|
-
|
|
14
|
+
import {
|
|
15
|
+
DeleteDynamicThingGroupRequest,
|
|
16
|
+
DeleteDynamicThingGroupResponse,
|
|
17
|
+
} from "../models/models_1";
|
|
16
18
|
export { __MetadataBearer, $Command };
|
|
17
19
|
export interface DeleteDynamicThingGroupCommandInput
|
|
18
20
|
extends DeleteDynamicThingGroupRequest {}
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
ListPolicyPrincipalsRequest,
|
|
16
16
|
ListPolicyPrincipalsResponse,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_2";
|
|
18
18
|
export { __MetadataBearer, $Command };
|
|
19
19
|
export interface ListPolicyPrincipalsCommandInput
|
|
20
20
|
extends ListPolicyPrincipalsRequest {}
|
|
@@ -11,8 +11,10 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../IoTClient";
|
|
14
|
-
import {
|
|
15
|
-
|
|
14
|
+
import {
|
|
15
|
+
ListPolicyVersionsRequest,
|
|
16
|
+
ListPolicyVersionsResponse,
|
|
17
|
+
} from "../models/models_2";
|
|
16
18
|
export { __MetadataBearer, $Command };
|
|
17
19
|
export interface ListPolicyVersionsCommandInput
|
|
18
20
|
extends ListPolicyVersionsRequest {}
|
|
@@ -440,6 +440,7 @@ export interface Behavior {
|
|
|
440
440
|
metricDimension?: MetricDimension;
|
|
441
441
|
criteria?: BehaviorCriteria;
|
|
442
442
|
suppressAlerts?: boolean;
|
|
443
|
+
exportMetric?: boolean;
|
|
443
444
|
}
|
|
444
445
|
export declare const VerificationState: {
|
|
445
446
|
readonly BENIGN_POSITIVE: "BENIGN_POSITIVE";
|
|
@@ -467,6 +468,7 @@ export interface ActiveViolation {
|
|
|
467
468
|
export interface MetricToRetain {
|
|
468
469
|
metric: string | undefined;
|
|
469
470
|
metricDimension?: MetricDimension;
|
|
471
|
+
exportMetric?: boolean;
|
|
470
472
|
}
|
|
471
473
|
export interface AddThingsToThingGroupParams {
|
|
472
474
|
thingGroupNames: string[] | undefined;
|
|
@@ -1546,6 +1548,10 @@ export interface CreateScheduledAuditRequest {
|
|
|
1546
1548
|
export interface CreateScheduledAuditResponse {
|
|
1547
1549
|
scheduledAuditArn?: string;
|
|
1548
1550
|
}
|
|
1551
|
+
export interface MetricsExportConfig {
|
|
1552
|
+
mqttTopic: string | undefined;
|
|
1553
|
+
roleArn: string | undefined;
|
|
1554
|
+
}
|
|
1549
1555
|
export interface CreateSecurityProfileRequest {
|
|
1550
1556
|
securityProfileName: string | undefined;
|
|
1551
1557
|
securityProfileDescription?: string;
|
|
@@ -1554,6 +1560,7 @@ export interface CreateSecurityProfileRequest {
|
|
|
1554
1560
|
additionalMetricsToRetain?: string[];
|
|
1555
1561
|
additionalMetricsToRetainV2?: MetricToRetain[];
|
|
1556
1562
|
tags?: Tag[];
|
|
1563
|
+
metricsExportConfig?: MetricsExportConfig;
|
|
1557
1564
|
}
|
|
1558
1565
|
export interface CreateSecurityProfileResponse {
|
|
1559
1566
|
securityProfileName?: string;
|
|
@@ -1728,10 +1735,6 @@ export interface DeleteDomainConfigurationRequest {
|
|
|
1728
1735
|
domainConfigurationName: string | undefined;
|
|
1729
1736
|
}
|
|
1730
1737
|
export interface DeleteDomainConfigurationResponse {}
|
|
1731
|
-
export interface DeleteDynamicThingGroupRequest {
|
|
1732
|
-
thingGroupName: string | undefined;
|
|
1733
|
-
expectedVersion?: number;
|
|
1734
|
-
}
|
|
1735
1738
|
export declare const KeyPairFilterSensitiveLog: (obj: KeyPair) => any;
|
|
1736
1739
|
export declare const CreateKeysAndCertificateResponseFilterSensitiveLog: (
|
|
1737
1740
|
obj: CreateKeysAndCertificateResponse
|
|
@@ -40,6 +40,7 @@ import {
|
|
|
40
40
|
JobExecutionsRolloutConfig,
|
|
41
41
|
LogLevel,
|
|
42
42
|
MaintenanceWindow,
|
|
43
|
+
MetricsExportConfig,
|
|
43
44
|
MetricToRetain,
|
|
44
45
|
MetricValue,
|
|
45
46
|
MitigationActionParams,
|
|
@@ -64,6 +65,10 @@ import {
|
|
|
64
65
|
TopicRuleDestination,
|
|
65
66
|
VerificationState,
|
|
66
67
|
} from "./models_0";
|
|
68
|
+
export interface DeleteDynamicThingGroupRequest {
|
|
69
|
+
thingGroupName: string | undefined;
|
|
70
|
+
expectedVersion?: number;
|
|
71
|
+
}
|
|
67
72
|
export interface DeleteDynamicThingGroupResponse {}
|
|
68
73
|
export interface DeleteFleetMetricRequest {
|
|
69
74
|
metricName: string | undefined;
|
|
@@ -728,6 +733,7 @@ export interface DescribeSecurityProfileResponse {
|
|
|
728
733
|
version?: number;
|
|
729
734
|
creationDate?: Date;
|
|
730
735
|
lastModifiedDate?: Date;
|
|
736
|
+
metricsExportConfig?: MetricsExportConfig;
|
|
731
737
|
}
|
|
732
738
|
export interface DescribeStreamRequest {
|
|
733
739
|
streamId: string | undefined;
|
|
@@ -947,8 +953,19 @@ export declare const DeviceDefenderIndexingMode: {
|
|
|
947
953
|
};
|
|
948
954
|
export type DeviceDefenderIndexingMode =
|
|
949
955
|
(typeof DeviceDefenderIndexingMode)[keyof typeof DeviceDefenderIndexingMode];
|
|
956
|
+
export declare const TargetFieldOrder: {
|
|
957
|
+
readonly LatLon: "LatLon";
|
|
958
|
+
readonly LonLat: "LonLat";
|
|
959
|
+
};
|
|
960
|
+
export type TargetFieldOrder =
|
|
961
|
+
(typeof TargetFieldOrder)[keyof typeof TargetFieldOrder];
|
|
962
|
+
export interface GeoLocationTarget {
|
|
963
|
+
name?: string;
|
|
964
|
+
order?: TargetFieldOrder;
|
|
965
|
+
}
|
|
950
966
|
export interface IndexingFilter {
|
|
951
967
|
namedShadowNames?: string[];
|
|
968
|
+
geoLocations?: GeoLocationTarget[];
|
|
952
969
|
}
|
|
953
970
|
export declare const NamedShadowIndexingMode: {
|
|
954
971
|
readonly OFF: "OFF";
|
|
@@ -1593,19 +1610,6 @@ export interface ListPoliciesResponse {
|
|
|
1593
1610
|
policies?: Policy[];
|
|
1594
1611
|
nextMarker?: string;
|
|
1595
1612
|
}
|
|
1596
|
-
export interface ListPolicyPrincipalsRequest {
|
|
1597
|
-
policyName: string | undefined;
|
|
1598
|
-
marker?: string;
|
|
1599
|
-
pageSize?: number;
|
|
1600
|
-
ascendingOrder?: boolean;
|
|
1601
|
-
}
|
|
1602
|
-
export interface ListPolicyPrincipalsResponse {
|
|
1603
|
-
principals?: string[];
|
|
1604
|
-
nextMarker?: string;
|
|
1605
|
-
}
|
|
1606
|
-
export interface ListPolicyVersionsRequest {
|
|
1607
|
-
policyName: string | undefined;
|
|
1608
|
-
}
|
|
1609
1613
|
export declare const GetPackageResponseFilterSensitiveLog: (
|
|
1610
1614
|
obj: GetPackageResponse
|
|
1611
1615
|
) => any;
|
|
@@ -25,6 +25,7 @@ import {
|
|
|
25
25
|
JobExecutionsRetryConfig,
|
|
26
26
|
JobExecutionsRolloutConfig,
|
|
27
27
|
LogLevel,
|
|
28
|
+
MetricsExportConfig,
|
|
28
29
|
MetricToRetain,
|
|
29
30
|
MetricValue,
|
|
30
31
|
MitigationActionParams,
|
|
@@ -64,6 +65,19 @@ import {
|
|
|
64
65
|
VersionUpdateByJobsConfig,
|
|
65
66
|
ViolationEventOccurrenceRange,
|
|
66
67
|
} from "./models_1";
|
|
68
|
+
export interface ListPolicyPrincipalsRequest {
|
|
69
|
+
policyName: string | undefined;
|
|
70
|
+
marker?: string;
|
|
71
|
+
pageSize?: number;
|
|
72
|
+
ascendingOrder?: boolean;
|
|
73
|
+
}
|
|
74
|
+
export interface ListPolicyPrincipalsResponse {
|
|
75
|
+
principals?: string[];
|
|
76
|
+
nextMarker?: string;
|
|
77
|
+
}
|
|
78
|
+
export interface ListPolicyVersionsRequest {
|
|
79
|
+
policyName: string | undefined;
|
|
80
|
+
}
|
|
67
81
|
export interface PolicyVersion {
|
|
68
82
|
versionId?: string;
|
|
69
83
|
isDefaultVersion?: boolean;
|
|
@@ -901,6 +915,8 @@ export interface UpdateSecurityProfileRequest {
|
|
|
901
915
|
deleteAlertTargets?: boolean;
|
|
902
916
|
deleteAdditionalMetricsToRetain?: boolean;
|
|
903
917
|
expectedVersion?: number;
|
|
918
|
+
metricsExportConfig?: MetricsExportConfig;
|
|
919
|
+
deleteMetricsExportConfig?: boolean;
|
|
904
920
|
}
|
|
905
921
|
export interface UpdateSecurityProfileResponse {
|
|
906
922
|
securityProfileName?: string;
|
|
@@ -913,6 +929,7 @@ export interface UpdateSecurityProfileResponse {
|
|
|
913
929
|
version?: number;
|
|
914
930
|
creationDate?: Date;
|
|
915
931
|
lastModifiedDate?: Date;
|
|
932
|
+
metricsExportConfig?: MetricsExportConfig;
|
|
916
933
|
}
|
|
917
934
|
export interface UpdateStreamRequest {
|
|
918
935
|
streamId: string | undefined;
|
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.453.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
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-signing": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
33
|
-
"@aws-sdk/types": "3.
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
37
|
-
"@smithy/config-resolver": "^2.0.
|
|
38
|
-
"@smithy/fetch-http-handler": "^2.2.
|
|
39
|
-
"@smithy/hash-node": "^2.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^2.
|
|
43
|
-
"@smithy/middleware-retry": "^2.0.
|
|
44
|
-
"@smithy/middleware-serde": "^2.0.
|
|
45
|
-
"@smithy/middleware-stack": "^2.0.
|
|
46
|
-
"@smithy/node-config-provider": "^2.1.
|
|
47
|
-
"@smithy/node-http-handler": "^2.1.
|
|
48
|
-
"@smithy/protocol-http": "^3.0.
|
|
49
|
-
"@smithy/smithy-client": "^2.1.
|
|
50
|
-
"@smithy/types": "^2.
|
|
51
|
-
"@smithy/url-parser": "^2.0.
|
|
52
|
-
"@smithy/util-base64": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.451.0",
|
|
25
|
+
"@aws-sdk/core": "3.451.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.451.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.451.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.451.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.451.0",
|
|
30
|
+
"@aws-sdk/middleware-signing": "3.451.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.451.0",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "3.451.0",
|
|
33
|
+
"@aws-sdk/types": "3.451.0",
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.451.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "3.451.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.451.0",
|
|
37
|
+
"@smithy/config-resolver": "^2.0.18",
|
|
38
|
+
"@smithy/fetch-http-handler": "^2.2.6",
|
|
39
|
+
"@smithy/hash-node": "^2.0.15",
|
|
40
|
+
"@smithy/invalid-dependency": "^2.0.13",
|
|
41
|
+
"@smithy/middleware-content-length": "^2.0.15",
|
|
42
|
+
"@smithy/middleware-endpoint": "^2.2.0",
|
|
43
|
+
"@smithy/middleware-retry": "^2.0.20",
|
|
44
|
+
"@smithy/middleware-serde": "^2.0.13",
|
|
45
|
+
"@smithy/middleware-stack": "^2.0.7",
|
|
46
|
+
"@smithy/node-config-provider": "^2.1.5",
|
|
47
|
+
"@smithy/node-http-handler": "^2.1.9",
|
|
48
|
+
"@smithy/protocol-http": "^3.0.9",
|
|
49
|
+
"@smithy/smithy-client": "^2.1.15",
|
|
50
|
+
"@smithy/types": "^2.5.0",
|
|
51
|
+
"@smithy/url-parser": "^2.0.13",
|
|
52
|
+
"@smithy/util-base64": "^2.0.1",
|
|
53
53
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
57
|
-
"@smithy/util-endpoints": "^1.0.
|
|
58
|
-
"@smithy/util-retry": "^2.0.
|
|
59
|
-
"@smithy/util-utf8": "^2.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^2.0.19",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^2.0.25",
|
|
57
|
+
"@smithy/util-endpoints": "^1.0.4",
|
|
58
|
+
"@smithy/util-retry": "^2.0.6",
|
|
59
|
+
"@smithy/util-utf8": "^2.0.2",
|
|
60
60
|
"tslib": "^2.5.0",
|
|
61
61
|
"uuid": "^8.3.2"
|
|
62
62
|
},
|