@aws-sdk/client-iot 3.450.0 → 3.451.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/protocols/Aws_restJson1.js +7 -0
- package/dist-es/protocols/Aws_restJson1.js +7 -0
- package/dist-types/commands/AttachSecurityProfileCommand.d.ts +1 -1
- package/dist-types/commands/CancelAuditMitigationActionsTaskCommand.d.ts +2 -3
- package/dist-types/commands/CancelAuditTaskCommand.d.ts +2 -1
- package/dist-types/commands/CancelDetectMitigationActionsTaskCommand.d.ts +1 -3
- package/dist-types/commands/CreateCustomMetricCommand.d.ts +1 -4
- package/dist-types/commands/CreateDimensionCommand.d.ts +4 -2
- package/dist-types/commands/CreateMitigationActionCommand.d.ts +4 -2
- package/dist-types/commands/CreateScheduledAuditCommand.d.ts +1 -2
- package/dist-types/commands/CreateSecurityProfileCommand.d.ts +6 -0
- package/dist-types/commands/CreateThingGroupCommand.d.ts +3 -0
- package/dist-types/commands/DeleteAccountAuditConfigurationCommand.d.ts +3 -2
- package/dist-types/commands/DeleteCustomMetricCommand.d.ts +4 -8
- package/dist-types/commands/DeleteDynamicThingGroupCommand.d.ts +1 -2
- package/dist-types/commands/DescribeAccountAuditConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/DescribeAuditFindingCommand.d.ts +1 -3
- package/dist-types/commands/DescribeAuditMitigationActionsTaskCommand.d.ts +3 -1
- package/dist-types/commands/DescribeCustomMetricCommand.d.ts +1 -3
- package/dist-types/commands/DescribeDetectMitigationActionsTaskCommand.d.ts +1 -3
- package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +6 -0
- package/dist-types/commands/DetachSecurityProfileCommand.d.ts +2 -1
- package/dist-types/commands/GetBehaviorModelTrainingSummariesCommand.d.ts +1 -3
- package/dist-types/commands/ListActiveViolationsCommand.d.ts +1 -0
- package/dist-types/commands/ListAuditFindingsCommand.d.ts +2 -2
- package/dist-types/commands/ListAuditMitigationActionsExecutionsCommand.d.ts +1 -2
- package/dist-types/commands/ListAuditTasksCommand.d.ts +2 -2
- package/dist-types/commands/ListCustomMetricsCommand.d.ts +1 -3
- package/dist-types/commands/ListDetectMitigationActionsExecutionsCommand.d.ts +1 -3
- package/dist-types/commands/ListDetectMitigationActionsTasksCommand.d.ts +1 -3
- package/dist-types/commands/ListMetricValuesCommand.d.ts +2 -2
- package/dist-types/commands/ListPolicyVersionsCommand.d.ts +1 -2
- package/dist-types/commands/ListRelatedResourcesForAuditFindingCommand.d.ts +6 -6
- package/dist-types/commands/ListSecurityProfilesCommand.d.ts +4 -4
- package/dist-types/commands/ListTargetsForSecurityProfileCommand.d.ts +2 -1
- package/dist-types/commands/ListViolationEventsCommand.d.ts +4 -3
- package/dist-types/commands/StartDetectMitigationActionsTaskCommand.d.ts +1 -3
- package/dist-types/commands/UpdateAccountAuditConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/UpdateCustomMetricCommand.d.ts +1 -2
- package/dist-types/commands/UpdateDimensionCommand.d.ts +2 -6
- package/dist-types/commands/UpdateScheduledAuditCommand.d.ts +2 -2
- 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 +79 -73
- package/dist-types/models/models_1.d.ts +164 -203
- package/dist-types/models/models_2.d.ts +163 -172
- package/dist-types/ts3.4/commands/DeleteDynamicThingGroupCommand.d.ts +4 -2
- 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 +6 -3
- package/dist-types/ts3.4/models/models_2.d.ts +7 -0
- package/package.json +35 -35
|
@@ -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 {}
|
|
@@ -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;
|
|
@@ -1603,9 +1609,6 @@ export interface ListPolicyPrincipalsResponse {
|
|
|
1603
1609
|
principals?: string[];
|
|
1604
1610
|
nextMarker?: string;
|
|
1605
1611
|
}
|
|
1606
|
-
export interface ListPolicyVersionsRequest {
|
|
1607
|
-
policyName: string | undefined;
|
|
1608
|
-
}
|
|
1609
1612
|
export declare const GetPackageResponseFilterSensitiveLog: (
|
|
1610
1613
|
obj: GetPackageResponse
|
|
1611
1614
|
) => 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,9 @@ import {
|
|
|
64
65
|
VersionUpdateByJobsConfig,
|
|
65
66
|
ViolationEventOccurrenceRange,
|
|
66
67
|
} from "./models_1";
|
|
68
|
+
export interface ListPolicyVersionsRequest {
|
|
69
|
+
policyName: string | undefined;
|
|
70
|
+
}
|
|
67
71
|
export interface PolicyVersion {
|
|
68
72
|
versionId?: string;
|
|
69
73
|
isDefaultVersion?: boolean;
|
|
@@ -901,6 +905,8 @@ export interface UpdateSecurityProfileRequest {
|
|
|
901
905
|
deleteAlertTargets?: boolean;
|
|
902
906
|
deleteAdditionalMetricsToRetain?: boolean;
|
|
903
907
|
expectedVersion?: number;
|
|
908
|
+
metricsExportConfig?: MetricsExportConfig;
|
|
909
|
+
deleteMetricsExportConfig?: boolean;
|
|
904
910
|
}
|
|
905
911
|
export interface UpdateSecurityProfileResponse {
|
|
906
912
|
securityProfileName?: string;
|
|
@@ -913,6 +919,7 @@ export interface UpdateSecurityProfileResponse {
|
|
|
913
919
|
version?: number;
|
|
914
920
|
creationDate?: Date;
|
|
915
921
|
lastModifiedDate?: Date;
|
|
922
|
+
metricsExportConfig?: MetricsExportConfig;
|
|
916
923
|
}
|
|
917
924
|
export interface UpdateStreamRequest {
|
|
918
925
|
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.451.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
|
},
|