@aws-sdk/client-iot 3.281.0 → 3.283.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/commands/DeletePolicyVersionCommand.js +2 -2
- package/dist-cjs/commands/ListStreamsCommand.js +1 -2
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +8 -8
- package/dist-cjs/models/models_1.js +14 -14
- package/dist-cjs/models/models_2.js +11 -3
- package/dist-cjs/protocols/Aws_restJson1.js +61 -0
- package/dist-es/commands/DeletePolicyVersionCommand.js +1 -1
- package/dist-es/commands/ListStreamsCommand.js +1 -2
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +3 -3
- package/dist-es/models/models_1.js +6 -6
- package/dist-es/models/models_2.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +61 -0
- package/dist-types/IoT.d.ts +42 -27
- package/dist-types/commands/CreateCertificateFromCsrCommand.d.ts +42 -27
- package/dist-types/commands/DeletePolicyVersionCommand.d.ts +1 -1
- package/dist-types/commands/ListStreamsCommand.d.ts +1 -2
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +31 -20
- package/dist-types/models/models_1.d.ts +38 -43
- package/dist-types/models/models_2.d.ts +44 -1
- package/dist-types/ts3.4/commands/DeletePolicyVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +1 -2
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +9 -7
- package/dist-types/ts3.4/models/models_1.d.ts +16 -17
- package/dist-types/ts3.4/models/models_2.d.ts +17 -1
- package/package.json +17 -17
|
@@ -1047,10 +1047,15 @@ export declare enum JobEndBehavior {
|
|
|
1047
1047
|
FORCE_CANCEL = "FORCE_CANCEL",
|
|
1048
1048
|
STOP_ROLLOUT = "STOP_ROLLOUT",
|
|
1049
1049
|
}
|
|
1050
|
+
export interface MaintenanceWindow {
|
|
1051
|
+
startTime: string | undefined;
|
|
1052
|
+
durationInMinutes: number | undefined;
|
|
1053
|
+
}
|
|
1050
1054
|
export interface SchedulingConfig {
|
|
1051
1055
|
startTime?: string;
|
|
1052
1056
|
endTime?: string;
|
|
1053
1057
|
endBehavior?: JobEndBehavior | string;
|
|
1058
|
+
maintenanceWindows?: MaintenanceWindow[];
|
|
1054
1059
|
}
|
|
1055
1060
|
export declare enum TargetSelection {
|
|
1056
1061
|
CONTINUOUS = "CONTINUOUS",
|
|
@@ -1099,6 +1104,7 @@ export interface CreateJobTemplateRequest {
|
|
|
1099
1104
|
timeoutConfig?: TimeoutConfig;
|
|
1100
1105
|
tags?: Tag[];
|
|
1101
1106
|
jobExecutionsRetryConfig?: JobExecutionsRetryConfig;
|
|
1107
|
+
maintenanceWindows?: MaintenanceWindow[];
|
|
1102
1108
|
}
|
|
1103
1109
|
export interface CreateJobTemplateResponse {
|
|
1104
1110
|
jobTemplateArn?: string;
|
|
@@ -1618,10 +1624,6 @@ export interface DeleteOTAUpdateResponse {}
|
|
|
1618
1624
|
export interface DeletePolicyRequest {
|
|
1619
1625
|
policyName: string | undefined;
|
|
1620
1626
|
}
|
|
1621
|
-
export interface DeletePolicyVersionRequest {
|
|
1622
|
-
policyName: string | undefined;
|
|
1623
|
-
policyVersionId: string | undefined;
|
|
1624
|
-
}
|
|
1625
1627
|
export declare const AbortCriteriaFilterSensitiveLog: (
|
|
1626
1628
|
obj: AbortCriteria
|
|
1627
1629
|
) => any;
|
|
@@ -1969,6 +1971,9 @@ export declare const JobExecutionsRolloutConfigFilterSensitiveLog: (
|
|
|
1969
1971
|
export declare const PresignedUrlConfigFilterSensitiveLog: (
|
|
1970
1972
|
obj: PresignedUrlConfig
|
|
1971
1973
|
) => any;
|
|
1974
|
+
export declare const MaintenanceWindowFilterSensitiveLog: (
|
|
1975
|
+
obj: MaintenanceWindow
|
|
1976
|
+
) => any;
|
|
1972
1977
|
export declare const SchedulingConfigFilterSensitiveLog: (
|
|
1973
1978
|
obj: SchedulingConfig
|
|
1974
1979
|
) => any;
|
|
@@ -2264,6 +2269,3 @@ export declare const DeleteOTAUpdateResponseFilterSensitiveLog: (
|
|
|
2264
2269
|
export declare const DeletePolicyRequestFilterSensitiveLog: (
|
|
2265
2270
|
obj: DeletePolicyRequest
|
|
2266
2271
|
) => any;
|
|
2267
|
-
export declare const DeletePolicyVersionRequestFilterSensitiveLog: (
|
|
2268
|
-
obj: DeletePolicyVersionRequest
|
|
2269
|
-
) => any;
|
|
@@ -37,6 +37,7 @@ import {
|
|
|
37
37
|
JobExecutionsRetryConfig,
|
|
38
38
|
JobExecutionsRolloutConfig,
|
|
39
39
|
LogLevel,
|
|
40
|
+
MaintenanceWindow,
|
|
40
41
|
MetricToRetain,
|
|
41
42
|
MetricValue,
|
|
42
43
|
MitigationActionParams,
|
|
@@ -60,6 +61,10 @@ import {
|
|
|
60
61
|
TopicRuleDestination,
|
|
61
62
|
VerificationState,
|
|
62
63
|
} from "./models_0";
|
|
64
|
+
export interface DeletePolicyVersionRequest {
|
|
65
|
+
policyName: string | undefined;
|
|
66
|
+
policyVersionId: string | undefined;
|
|
67
|
+
}
|
|
63
68
|
export interface DeleteProvisioningTemplateRequest {
|
|
64
69
|
templateName: string | undefined;
|
|
65
70
|
}
|
|
@@ -453,6 +458,9 @@ export interface JobProcessDetails {
|
|
|
453
458
|
numberOfRemovedThings?: number;
|
|
454
459
|
numberOfTimedOutThings?: number;
|
|
455
460
|
}
|
|
461
|
+
export interface ScheduledJobRollout {
|
|
462
|
+
startTime?: string;
|
|
463
|
+
}
|
|
456
464
|
export declare enum JobStatus {
|
|
457
465
|
CANCELED = "CANCELED",
|
|
458
466
|
COMPLETED = "COMPLETED",
|
|
@@ -484,6 +492,7 @@ export interface Job {
|
|
|
484
492
|
documentParameters?: Record<string, string>;
|
|
485
493
|
isConcurrent?: boolean;
|
|
486
494
|
schedulingConfig?: SchedulingConfig;
|
|
495
|
+
scheduledJobRollouts?: ScheduledJobRollout[];
|
|
487
496
|
}
|
|
488
497
|
export interface DescribeJobResponse {
|
|
489
498
|
documentSource?: string;
|
|
@@ -538,6 +547,7 @@ export interface DescribeJobTemplateResponse {
|
|
|
538
547
|
abortConfig?: AbortConfig;
|
|
539
548
|
timeoutConfig?: TimeoutConfig;
|
|
540
549
|
jobExecutionsRetryConfig?: JobExecutionsRetryConfig;
|
|
550
|
+
maintenanceWindows?: MaintenanceWindow[];
|
|
541
551
|
}
|
|
542
552
|
export interface DescribeManagedJobTemplateRequest {
|
|
543
553
|
templateName: string | undefined;
|
|
@@ -1569,17 +1579,9 @@ export interface ListSecurityProfilesForTargetResponse {
|
|
|
1569
1579
|
securityProfileTargetMappings?: SecurityProfileTargetMapping[];
|
|
1570
1580
|
nextToken?: string;
|
|
1571
1581
|
}
|
|
1572
|
-
export
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
ascendingOrder?: boolean;
|
|
1576
|
-
}
|
|
1577
|
-
export interface StreamSummary {
|
|
1578
|
-
streamId?: string;
|
|
1579
|
-
streamArn?: string;
|
|
1580
|
-
streamVersion?: number;
|
|
1581
|
-
description?: string;
|
|
1582
|
-
}
|
|
1582
|
+
export declare const DeletePolicyVersionRequestFilterSensitiveLog: (
|
|
1583
|
+
obj: DeletePolicyVersionRequest
|
|
1584
|
+
) => any;
|
|
1583
1585
|
export declare const DeleteProvisioningTemplateRequestFilterSensitiveLog: (
|
|
1584
1586
|
obj: DeleteProvisioningTemplateRequest
|
|
1585
1587
|
) => any;
|
|
@@ -1812,6 +1814,9 @@ export declare const DescribeJobRequestFilterSensitiveLog: (
|
|
|
1812
1814
|
export declare const JobProcessDetailsFilterSensitiveLog: (
|
|
1813
1815
|
obj: JobProcessDetails
|
|
1814
1816
|
) => any;
|
|
1817
|
+
export declare const ScheduledJobRolloutFilterSensitiveLog: (
|
|
1818
|
+
obj: ScheduledJobRollout
|
|
1819
|
+
) => any;
|
|
1815
1820
|
export declare const JobFilterSensitiveLog: (obj: Job) => any;
|
|
1816
1821
|
export declare const DescribeJobResponseFilterSensitiveLog: (
|
|
1817
1822
|
obj: DescribeJobResponse
|
|
@@ -2370,9 +2375,3 @@ export declare const SecurityProfileTargetMappingFilterSensitiveLog: (
|
|
|
2370
2375
|
export declare const ListSecurityProfilesForTargetResponseFilterSensitiveLog: (
|
|
2371
2376
|
obj: ListSecurityProfilesForTargetResponse
|
|
2372
2377
|
) => any;
|
|
2373
|
-
export declare const ListStreamsRequestFilterSensitiveLog: (
|
|
2374
|
-
obj: ListStreamsRequest
|
|
2375
|
-
) => any;
|
|
2376
|
-
export declare const StreamSummaryFilterSensitiveLog: (
|
|
2377
|
-
obj: StreamSummary
|
|
2378
|
-
) => any;
|
|
@@ -52,12 +52,22 @@ import {
|
|
|
52
52
|
RegistrationConfig,
|
|
53
53
|
SecurityProfileTarget,
|
|
54
54
|
Status,
|
|
55
|
-
StreamSummary,
|
|
56
55
|
ThingGroupIndexingConfiguration,
|
|
57
56
|
ThingIndexingConfiguration,
|
|
58
57
|
ThingTypeMetadata,
|
|
59
58
|
ViolationEventOccurrenceRange,
|
|
60
59
|
} from "./models_1";
|
|
60
|
+
export interface ListStreamsRequest {
|
|
61
|
+
maxResults?: number;
|
|
62
|
+
nextToken?: string;
|
|
63
|
+
ascendingOrder?: boolean;
|
|
64
|
+
}
|
|
65
|
+
export interface StreamSummary {
|
|
66
|
+
streamId?: string;
|
|
67
|
+
streamArn?: string;
|
|
68
|
+
streamVersion?: number;
|
|
69
|
+
description?: string;
|
|
70
|
+
}
|
|
61
71
|
export interface ListStreamsResponse {
|
|
62
72
|
streams?: StreamSummary[];
|
|
63
73
|
nextToken?: string;
|
|
@@ -794,6 +804,12 @@ export interface ValidateSecurityProfileBehaviorsResponse {
|
|
|
794
804
|
valid?: boolean;
|
|
795
805
|
validationErrors?: ValidationError[];
|
|
796
806
|
}
|
|
807
|
+
export declare const ListStreamsRequestFilterSensitiveLog: (
|
|
808
|
+
obj: ListStreamsRequest
|
|
809
|
+
) => any;
|
|
810
|
+
export declare const StreamSummaryFilterSensitiveLog: (
|
|
811
|
+
obj: StreamSummary
|
|
812
|
+
) => any;
|
|
797
813
|
export declare const ListStreamsResponseFilterSensitiveLog: (
|
|
798
814
|
obj: ListStreamsResponse
|
|
799
815
|
) => any;
|
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.283.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",
|
|
@@ -20,25 +20,25 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.282.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.282.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.282.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.282.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.272.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.272.0",
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.282.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.282.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.282.0",
|
|
32
32
|
"@aws-sdk/middleware-logger": "3.272.0",
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.282.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.282.0",
|
|
35
35
|
"@aws-sdk/middleware-serde": "3.272.0",
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.282.0",
|
|
37
37
|
"@aws-sdk/middleware-stack": "3.272.0",
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.282.0",
|
|
39
39
|
"@aws-sdk/node-config-provider": "3.272.0",
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.282.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.282.0",
|
|
42
42
|
"@aws-sdk/smithy-client": "3.279.0",
|
|
43
43
|
"@aws-sdk/types": "3.272.0",
|
|
44
44
|
"@aws-sdk/url-parser": "3.272.0",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
48
|
"@aws-sdk/util-defaults-mode-browser": "3.279.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.282.0",
|
|
50
50
|
"@aws-sdk/util-endpoints": "3.272.0",
|
|
51
51
|
"@aws-sdk/util-retry": "3.272.0",
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.282.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.282.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
55
55
|
"tslib": "^2.3.1",
|
|
56
56
|
"uuid": "^8.3.2"
|