@aws-sdk/client-iot 3.51.0 → 3.54.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/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/IoTServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +308 -6
- package/dist-cjs/models/models_1.js +32 -5
- package/dist-cjs/models/models_2.js +82 -3
- package/dist-cjs/protocols/Aws_restJson1.js +2544 -9978
- package/dist-es/index.js +1 -0
- package/dist-es/models/IoTServiceException.js +12 -0
- package/dist-es/models/models_0.js +280 -1
- package/dist-es/models/models_1.js +26 -1
- package/dist-es/models/models_2.js +74 -1
- package/dist-es/protocols/Aws_restJson1.js +5589 -10955
- package/dist-types/IoTClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/IoTServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +123 -116
- package/dist-types/models/models_1.d.ts +14 -10
- package/dist-types/models/models_2.d.ts +34 -30
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/IoTClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/IoTServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +97 -94
- package/dist-types/ts3.4/models/models_1.d.ts +11 -9
- package/dist-types/ts3.4/models/models_2.d.ts +27 -25
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +33 -33
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: IoTClientConfig) => {
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AcceptCertificateTransferCommandInput, AcceptCertificateTransferCommandOutput } from "./commands/AcceptCertificateTransferCommand";
|
|
10
10
|
import { AddThingToBillingGroupCommandInput, AddThingToBillingGroupCommandOutput } from "./commands/AddThingToBillingGroupCommand";
|
|
11
11
|
import { AddThingToThingGroupCommandInput, AddThingToThingGroupCommandOutput } from "./commands/AddThingToThingGroupCommand";
|
|
@@ -252,7 +252,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
252
252
|
|
|
253
253
|
urlParser?: __UrlParser;
|
|
254
254
|
|
|
255
|
-
bodyLengthChecker?:
|
|
255
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
256
256
|
|
|
257
257
|
streamCollector?: __StreamCollector;
|
|
258
258
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { IoTServiceException as __BaseException } from "./IoTServiceException";
|
|
2
3
|
export declare enum AbortAction {
|
|
3
4
|
CANCEL = "CANCEL"
|
|
4
5
|
}
|
|
@@ -44,53 +45,53 @@ export declare namespace AcceptCertificateTransferRequest {
|
|
|
44
45
|
const filterSensitiveLog: (obj: AcceptCertificateTransferRequest) => any;
|
|
45
46
|
}
|
|
46
47
|
|
|
47
|
-
export
|
|
48
|
-
name: "InternalFailureException";
|
|
49
|
-
$fault: "server";
|
|
48
|
+
export declare class InternalFailureException extends __BaseException {
|
|
49
|
+
readonly name: "InternalFailureException";
|
|
50
|
+
readonly $fault: "server";
|
|
50
51
|
|
|
51
|
-
|
|
52
|
+
constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
|
|
52
53
|
}
|
|
53
54
|
|
|
54
|
-
export
|
|
55
|
-
name: "InvalidRequestException";
|
|
56
|
-
$fault: "client";
|
|
55
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
56
|
+
readonly name: "InvalidRequestException";
|
|
57
|
+
readonly $fault: "client";
|
|
57
58
|
|
|
58
|
-
|
|
59
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
59
60
|
}
|
|
60
61
|
|
|
61
|
-
export
|
|
62
|
-
name: "ResourceNotFoundException";
|
|
63
|
-
$fault: "client";
|
|
62
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
63
|
+
readonly name: "ResourceNotFoundException";
|
|
64
|
+
readonly $fault: "client";
|
|
64
65
|
|
|
65
|
-
|
|
66
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
66
67
|
}
|
|
67
68
|
|
|
68
|
-
export
|
|
69
|
-
name: "ServiceUnavailableException";
|
|
70
|
-
$fault: "server";
|
|
69
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
70
|
+
readonly name: "ServiceUnavailableException";
|
|
71
|
+
readonly $fault: "server";
|
|
71
72
|
|
|
72
|
-
|
|
73
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
73
74
|
}
|
|
74
75
|
|
|
75
|
-
export
|
|
76
|
-
name: "ThrottlingException";
|
|
77
|
-
$fault: "client";
|
|
76
|
+
export declare class ThrottlingException extends __BaseException {
|
|
77
|
+
readonly name: "ThrottlingException";
|
|
78
|
+
readonly $fault: "client";
|
|
78
79
|
|
|
79
|
-
|
|
80
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
80
81
|
}
|
|
81
82
|
|
|
82
|
-
export
|
|
83
|
-
name: "TransferAlreadyCompletedException";
|
|
84
|
-
$fault: "client";
|
|
83
|
+
export declare class TransferAlreadyCompletedException extends __BaseException {
|
|
84
|
+
readonly name: "TransferAlreadyCompletedException";
|
|
85
|
+
readonly $fault: "client";
|
|
85
86
|
|
|
86
|
-
|
|
87
|
+
constructor(opts: __ExceptionOptionType<TransferAlreadyCompletedException, __BaseException>);
|
|
87
88
|
}
|
|
88
89
|
|
|
89
|
-
export
|
|
90
|
-
name: "UnauthorizedException";
|
|
91
|
-
$fault: "client";
|
|
90
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
91
|
+
readonly name: "UnauthorizedException";
|
|
92
|
+
readonly $fault: "client";
|
|
92
93
|
|
|
93
|
-
|
|
94
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
94
95
|
}
|
|
95
96
|
|
|
96
97
|
export interface CloudwatchAlarmAction {
|
|
@@ -942,11 +943,11 @@ export declare namespace AssociateTargetsWithJobResponse {
|
|
|
942
943
|
const filterSensitiveLog: (obj: AssociateTargetsWithJobResponse) => any;
|
|
943
944
|
}
|
|
944
945
|
|
|
945
|
-
export
|
|
946
|
-
name: "LimitExceededException";
|
|
947
|
-
$fault: "client";
|
|
946
|
+
export declare class LimitExceededException extends __BaseException {
|
|
947
|
+
readonly name: "LimitExceededException";
|
|
948
|
+
readonly $fault: "client";
|
|
948
949
|
|
|
949
|
-
|
|
950
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
950
951
|
}
|
|
951
952
|
export interface AttachPolicyRequest {
|
|
952
953
|
|
|
@@ -986,11 +987,11 @@ export declare namespace AttachSecurityProfileResponse {
|
|
|
986
987
|
const filterSensitiveLog: (obj: AttachSecurityProfileResponse) => any;
|
|
987
988
|
}
|
|
988
989
|
|
|
989
|
-
export
|
|
990
|
-
name: "VersionConflictException";
|
|
991
|
-
$fault: "client";
|
|
990
|
+
export declare class VersionConflictException extends __BaseException {
|
|
991
|
+
readonly name: "VersionConflictException";
|
|
992
|
+
readonly $fault: "client";
|
|
992
993
|
|
|
993
|
-
|
|
994
|
+
constructor(opts: __ExceptionOptionType<VersionConflictException, __BaseException>);
|
|
994
995
|
}
|
|
995
996
|
|
|
996
997
|
export interface AttachThingPrincipalRequest {
|
|
@@ -1533,11 +1534,11 @@ export declare namespace CancelJobExecutionRequest {
|
|
|
1533
1534
|
const filterSensitiveLog: (obj: CancelJobExecutionRequest) => any;
|
|
1534
1535
|
}
|
|
1535
1536
|
|
|
1536
|
-
export
|
|
1537
|
-
name: "InvalidStateTransitionException";
|
|
1538
|
-
$fault: "client";
|
|
1537
|
+
export declare class InvalidStateTransitionException extends __BaseException {
|
|
1538
|
+
readonly name: "InvalidStateTransitionException";
|
|
1539
|
+
readonly $fault: "client";
|
|
1539
1540
|
|
|
1540
|
-
|
|
1541
|
+
constructor(opts: __ExceptionOptionType<InvalidStateTransitionException, __BaseException>);
|
|
1541
1542
|
}
|
|
1542
1543
|
export interface ClearDefaultAuthorizerRequest {
|
|
1543
1544
|
}
|
|
@@ -1566,18 +1567,18 @@ export declare namespace ConfirmTopicRuleDestinationResponse {
|
|
|
1566
1567
|
const filterSensitiveLog: (obj: ConfirmTopicRuleDestinationResponse) => any;
|
|
1567
1568
|
}
|
|
1568
1569
|
|
|
1569
|
-
export
|
|
1570
|
-
name: "ConflictingResourceUpdateException";
|
|
1571
|
-
$fault: "client";
|
|
1570
|
+
export declare class ConflictingResourceUpdateException extends __BaseException {
|
|
1571
|
+
readonly name: "ConflictingResourceUpdateException";
|
|
1572
|
+
readonly $fault: "client";
|
|
1572
1573
|
|
|
1573
|
-
|
|
1574
|
+
constructor(opts: __ExceptionOptionType<ConflictingResourceUpdateException, __BaseException>);
|
|
1574
1575
|
}
|
|
1575
1576
|
|
|
1576
|
-
export
|
|
1577
|
-
name: "InternalException";
|
|
1578
|
-
$fault: "server";
|
|
1577
|
+
export declare class InternalException extends __BaseException {
|
|
1578
|
+
readonly name: "InternalException";
|
|
1579
|
+
readonly $fault: "server";
|
|
1579
1580
|
|
|
1580
|
-
|
|
1581
|
+
constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
|
|
1581
1582
|
}
|
|
1582
1583
|
export interface CreateAuditSuppressionRequest {
|
|
1583
1584
|
|
|
@@ -1604,15 +1605,15 @@ export declare namespace CreateAuditSuppressionResponse {
|
|
|
1604
1605
|
const filterSensitiveLog: (obj: CreateAuditSuppressionResponse) => any;
|
|
1605
1606
|
}
|
|
1606
1607
|
|
|
1607
|
-
export
|
|
1608
|
-
name: "ResourceAlreadyExistsException";
|
|
1609
|
-
$fault: "client";
|
|
1610
|
-
|
|
1611
|
-
message?: string;
|
|
1608
|
+
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
1609
|
+
readonly name: "ResourceAlreadyExistsException";
|
|
1610
|
+
readonly $fault: "client";
|
|
1612
1611
|
|
|
1613
1612
|
resourceId?: string;
|
|
1614
1613
|
|
|
1615
1614
|
resourceArn?: string;
|
|
1615
|
+
|
|
1616
|
+
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
1616
1617
|
}
|
|
1617
1618
|
|
|
1618
1619
|
export interface Tag {
|
|
@@ -1778,11 +1779,11 @@ export declare namespace CreateDimensionResponse {
|
|
|
1778
1779
|
const filterSensitiveLog: (obj: CreateDimensionResponse) => any;
|
|
1779
1780
|
}
|
|
1780
1781
|
|
|
1781
|
-
export
|
|
1782
|
-
name: "CertificateValidationException";
|
|
1783
|
-
$fault: "client";
|
|
1782
|
+
export declare class CertificateValidationException extends __BaseException {
|
|
1783
|
+
readonly name: "CertificateValidationException";
|
|
1784
|
+
readonly $fault: "client";
|
|
1784
1785
|
|
|
1785
|
-
|
|
1786
|
+
constructor(opts: __ExceptionOptionType<CertificateValidationException, __BaseException>);
|
|
1786
1787
|
}
|
|
1787
1788
|
export declare enum ServiceType {
|
|
1788
1789
|
CREDENTIAL_PROVIDER = "CREDENTIAL_PROVIDER",
|
|
@@ -1867,11 +1868,11 @@ export declare namespace CreateDynamicThingGroupResponse {
|
|
|
1867
1868
|
const filterSensitiveLog: (obj: CreateDynamicThingGroupResponse) => any;
|
|
1868
1869
|
}
|
|
1869
1870
|
|
|
1870
|
-
export
|
|
1871
|
-
name: "InvalidQueryException";
|
|
1872
|
-
$fault: "client";
|
|
1871
|
+
export declare class InvalidQueryException extends __BaseException {
|
|
1872
|
+
readonly name: "InvalidQueryException";
|
|
1873
|
+
readonly $fault: "client";
|
|
1873
1874
|
|
|
1874
|
-
|
|
1875
|
+
constructor(opts: __ExceptionOptionType<InvalidQueryException, __BaseException>);
|
|
1875
1876
|
}
|
|
1876
1877
|
export declare enum FleetMetricUnit {
|
|
1877
1878
|
Bits = "Bits",
|
|
@@ -1939,17 +1940,18 @@ export declare namespace CreateFleetMetricResponse {
|
|
|
1939
1940
|
const filterSensitiveLog: (obj: CreateFleetMetricResponse) => any;
|
|
1940
1941
|
}
|
|
1941
1942
|
|
|
1942
|
-
export
|
|
1943
|
-
name: "IndexNotReadyException";
|
|
1944
|
-
$fault: "client";
|
|
1943
|
+
export declare class IndexNotReadyException extends __BaseException {
|
|
1944
|
+
readonly name: "IndexNotReadyException";
|
|
1945
|
+
readonly $fault: "client";
|
|
1945
1946
|
|
|
1946
|
-
|
|
1947
|
+
constructor(opts: __ExceptionOptionType<IndexNotReadyException, __BaseException>);
|
|
1947
1948
|
}
|
|
1948
1949
|
|
|
1949
|
-
export
|
|
1950
|
-
name: "InvalidAggregationException";
|
|
1951
|
-
$fault: "client";
|
|
1952
|
-
|
|
1950
|
+
export declare class InvalidAggregationException extends __BaseException {
|
|
1951
|
+
readonly name: "InvalidAggregationException";
|
|
1952
|
+
readonly $fault: "client";
|
|
1953
|
+
|
|
1954
|
+
constructor(opts: __ExceptionOptionType<InvalidAggregationException, __BaseException>);
|
|
1953
1955
|
}
|
|
1954
1956
|
export declare enum RetryableFailureType {
|
|
1955
1957
|
ALL = "ALL",
|
|
@@ -2086,10 +2088,11 @@ export declare namespace CreateJobResponse {
|
|
|
2086
2088
|
const filterSensitiveLog: (obj: CreateJobResponse) => any;
|
|
2087
2089
|
}
|
|
2088
2090
|
|
|
2089
|
-
export
|
|
2090
|
-
name: "ConflictException";
|
|
2091
|
-
$fault: "client";
|
|
2092
|
-
|
|
2091
|
+
export declare class ConflictException extends __BaseException {
|
|
2092
|
+
readonly name: "ConflictException";
|
|
2093
|
+
readonly $fault: "client";
|
|
2094
|
+
|
|
2095
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
2093
2096
|
}
|
|
2094
2097
|
export interface CreateJobTemplateRequest {
|
|
2095
2098
|
|
|
@@ -2595,11 +2598,11 @@ export declare namespace CreatePolicyResponse {
|
|
|
2595
2598
|
const filterSensitiveLog: (obj: CreatePolicyResponse) => any;
|
|
2596
2599
|
}
|
|
2597
2600
|
|
|
2598
|
-
export
|
|
2599
|
-
name: "MalformedPolicyException";
|
|
2600
|
-
$fault: "client";
|
|
2601
|
+
export declare class MalformedPolicyException extends __BaseException {
|
|
2602
|
+
readonly name: "MalformedPolicyException";
|
|
2603
|
+
readonly $fault: "client";
|
|
2601
2604
|
|
|
2602
|
-
|
|
2605
|
+
constructor(opts: __ExceptionOptionType<MalformedPolicyException, __BaseException>);
|
|
2603
2606
|
}
|
|
2604
2607
|
|
|
2605
2608
|
export interface CreatePolicyVersionRequest {
|
|
@@ -2630,11 +2633,11 @@ export declare namespace CreatePolicyVersionResponse {
|
|
|
2630
2633
|
const filterSensitiveLog: (obj: CreatePolicyVersionResponse) => any;
|
|
2631
2634
|
}
|
|
2632
2635
|
|
|
2633
|
-
export
|
|
2634
|
-
name: "VersionsLimitExceededException";
|
|
2635
|
-
$fault: "client";
|
|
2636
|
+
export declare class VersionsLimitExceededException extends __BaseException {
|
|
2637
|
+
readonly name: "VersionsLimitExceededException";
|
|
2638
|
+
readonly $fault: "client";
|
|
2636
2639
|
|
|
2637
|
-
|
|
2640
|
+
constructor(opts: __ExceptionOptionType<VersionsLimitExceededException, __BaseException>);
|
|
2638
2641
|
}
|
|
2639
2642
|
export interface CreateProvisioningClaimRequest {
|
|
2640
2643
|
|
|
@@ -2983,11 +2986,11 @@ export declare namespace CreateTopicRuleRequest {
|
|
|
2983
2986
|
const filterSensitiveLog: (obj: CreateTopicRuleRequest) => any;
|
|
2984
2987
|
}
|
|
2985
2988
|
|
|
2986
|
-
export
|
|
2987
|
-
name: "SqlParseException";
|
|
2988
|
-
$fault: "client";
|
|
2989
|
+
export declare class SqlParseException extends __BaseException {
|
|
2990
|
+
readonly name: "SqlParseException";
|
|
2991
|
+
readonly $fault: "client";
|
|
2989
2992
|
|
|
2990
|
-
|
|
2993
|
+
constructor(opts: __ExceptionOptionType<SqlParseException, __BaseException>);
|
|
2991
2994
|
}
|
|
2992
2995
|
|
|
2993
2996
|
export interface HttpUrlDestinationConfiguration {
|
|
@@ -3137,11 +3140,11 @@ export declare namespace DeleteAuthorizerResponse {
|
|
|
3137
3140
|
const filterSensitiveLog: (obj: DeleteAuthorizerResponse) => any;
|
|
3138
3141
|
}
|
|
3139
3142
|
|
|
3140
|
-
export
|
|
3141
|
-
name: "DeleteConflictException";
|
|
3142
|
-
$fault: "client";
|
|
3143
|
+
export declare class DeleteConflictException extends __BaseException {
|
|
3144
|
+
readonly name: "DeleteConflictException";
|
|
3145
|
+
readonly $fault: "client";
|
|
3143
3146
|
|
|
3144
|
-
|
|
3147
|
+
constructor(opts: __ExceptionOptionType<DeleteConflictException, __BaseException>);
|
|
3145
3148
|
}
|
|
3146
3149
|
export interface DeleteBillingGroupRequest {
|
|
3147
3150
|
|
|
@@ -3160,11 +3163,11 @@ export declare namespace DeleteBillingGroupResponse {
|
|
|
3160
3163
|
const filterSensitiveLog: (obj: DeleteBillingGroupResponse) => any;
|
|
3161
3164
|
}
|
|
3162
3165
|
|
|
3163
|
-
export
|
|
3164
|
-
name: "CertificateStateException";
|
|
3165
|
-
$fault: "client";
|
|
3166
|
+
export declare class CertificateStateException extends __BaseException {
|
|
3167
|
+
readonly name: "CertificateStateException";
|
|
3168
|
+
readonly $fault: "client";
|
|
3166
3169
|
|
|
3167
|
-
|
|
3170
|
+
constructor(opts: __ExceptionOptionType<CertificateStateException, __BaseException>);
|
|
3168
3171
|
}
|
|
3169
3172
|
|
|
3170
3173
|
export interface DeleteCACertificateRequest {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { IoTServiceException as __BaseException } from "./IoTServiceException";
|
|
2
3
|
import { AbortConfig, Action, ActiveViolation, AggregationType, AlertTarget, AuditCheckConfiguration, AuditCheckDetails, AuditFinding, AuditFrequency, AuditMitigationActionExecutionMetadata, AuditMitigationActionsExecutionStatus, AuditMitigationActionsTaskMetadata, AuditMitigationActionsTaskStatus, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuditSuppression, AuditTaskMetadata, AuditTaskStatus, AuditTaskType, AuthorizerConfig, AuthorizerDescription, AuthorizerStatus, AuthorizerSummary, AutoRegistrationStatus, AwsJobExecutionsRolloutConfig, AwsJobPresignedUrlConfig, Behavior, BillingGroupProperties, CustomMetricType, DayOfWeek, DimensionType, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MetricToRetain, MitigationActionParams, OTAUpdateFile, OTAUpdateStatus, Policy, PresignedUrlConfig, Protocol, ProvisioningHook, ResourceIdentifier, ServiceType, StreamFile, Tag, TargetSelection, TaskStatisticsForAuditCheck, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TopicRuleDestination, VerificationState } from "./models_0";
|
|
3
4
|
export interface DeleteScheduledAuditRequest {
|
|
4
5
|
|
|
@@ -1109,10 +1110,11 @@ export declare namespace DescribeManagedJobTemplateResponse {
|
|
|
1109
1110
|
const filterSensitiveLog: (obj: DescribeManagedJobTemplateResponse) => any;
|
|
1110
1111
|
}
|
|
1111
1112
|
|
|
1112
|
-
export
|
|
1113
|
-
name: "InternalServerException";
|
|
1114
|
-
$fault: "server";
|
|
1115
|
-
|
|
1113
|
+
export declare class InternalServerException extends __BaseException {
|
|
1114
|
+
readonly name: "InternalServerException";
|
|
1115
|
+
readonly $fault: "server";
|
|
1116
|
+
|
|
1117
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
1116
1118
|
}
|
|
1117
1119
|
export interface DescribeMitigationActionRequest {
|
|
1118
1120
|
|
|
@@ -2183,11 +2185,11 @@ export declare namespace GetV2LoggingOptionsResponse {
|
|
|
2183
2185
|
const filterSensitiveLog: (obj: GetV2LoggingOptionsResponse) => any;
|
|
2184
2186
|
}
|
|
2185
2187
|
|
|
2186
|
-
export
|
|
2187
|
-
name: "NotConfiguredException";
|
|
2188
|
-
$fault: "client";
|
|
2188
|
+
export declare class NotConfiguredException extends __BaseException {
|
|
2189
|
+
readonly name: "NotConfiguredException";
|
|
2190
|
+
readonly $fault: "client";
|
|
2189
2191
|
|
|
2190
|
-
|
|
2192
|
+
constructor(opts: __ExceptionOptionType<NotConfiguredException, __BaseException>);
|
|
2191
2193
|
}
|
|
2192
2194
|
export declare enum BehaviorCriteriaType {
|
|
2193
2195
|
MACHINE_LEARNING = "MACHINE_LEARNING",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { IoTServiceException as __BaseException } from "./IoTServiceException";
|
|
2
3
|
import { AbortConfig, AggregationType, AlertTarget, AttributePayload, AuditCheckConfiguration, AuditFrequency, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuthInfo, AuthorizerConfig, AuthorizerStatus, AuthResult, AutoRegistrationStatus, Behavior, BillingGroupProperties, CustomMetricType, DayOfWeek, DimensionType, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MetricToRetain, MetricValue, MitigationActionParams, PresignedUrlConfig, ProvisioningHook, ResourceIdentifier, StreamFile, Tag, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TopicRuleDestinationStatus, TopicRulePayload, VerificationState, ViolationEventAdditionalInfo } from "./models_0";
|
|
3
4
|
import { BehaviorCriteriaType, CACertificateStatus, CertificateStatus, Configuration, DetectMitigationActionsTaskTarget, DomainConfigurationStatus, LogTargetType, RegistrationConfig, ReportType, Status, ThingGroupIndexingConfiguration, ThingIndexingConfiguration, ThingTypeMetadata, ViolationEventOccurrenceRange } from "./models_1";
|
|
4
5
|
export interface ListThingRegistrationTaskReportsRequest {
|
|
@@ -450,18 +451,18 @@ export declare namespace RegisterCACertificateResponse {
|
|
|
450
451
|
const filterSensitiveLog: (obj: RegisterCACertificateResponse) => any;
|
|
451
452
|
}
|
|
452
453
|
|
|
453
|
-
export
|
|
454
|
-
name: "RegistrationCodeValidationException";
|
|
455
|
-
$fault: "client";
|
|
454
|
+
export declare class RegistrationCodeValidationException extends __BaseException {
|
|
455
|
+
readonly name: "RegistrationCodeValidationException";
|
|
456
|
+
readonly $fault: "client";
|
|
456
457
|
|
|
457
|
-
|
|
458
|
+
constructor(opts: __ExceptionOptionType<RegistrationCodeValidationException, __BaseException>);
|
|
458
459
|
}
|
|
459
460
|
|
|
460
|
-
export
|
|
461
|
-
name: "CertificateConflictException";
|
|
462
|
-
$fault: "client";
|
|
461
|
+
export declare class CertificateConflictException extends __BaseException {
|
|
462
|
+
readonly name: "CertificateConflictException";
|
|
463
|
+
readonly $fault: "client";
|
|
463
464
|
|
|
464
|
-
|
|
465
|
+
constructor(opts: __ExceptionOptionType<CertificateConflictException, __BaseException>);
|
|
465
466
|
}
|
|
466
467
|
|
|
467
468
|
export interface RegisterCertificateRequest {
|
|
@@ -534,11 +535,11 @@ export declare namespace RegisterThingResponse {
|
|
|
534
535
|
const filterSensitiveLog: (obj: RegisterThingResponse) => any;
|
|
535
536
|
}
|
|
536
537
|
|
|
537
|
-
export
|
|
538
|
-
name: "ResourceRegistrationFailureException";
|
|
539
|
-
$fault: "client";
|
|
538
|
+
export declare class ResourceRegistrationFailureException extends __BaseException {
|
|
539
|
+
readonly name: "ResourceRegistrationFailureException";
|
|
540
|
+
readonly $fault: "client";
|
|
540
541
|
|
|
541
|
-
|
|
542
|
+
constructor(opts: __ExceptionOptionType<ResourceRegistrationFailureException, __BaseException>);
|
|
542
543
|
}
|
|
543
544
|
|
|
544
545
|
export interface RejectCertificateTransferRequest {
|
|
@@ -783,10 +784,11 @@ export declare namespace StartAuditMitigationActionsTaskResponse {
|
|
|
783
784
|
const filterSensitiveLog: (obj: StartAuditMitigationActionsTaskResponse) => any;
|
|
784
785
|
}
|
|
785
786
|
|
|
786
|
-
export
|
|
787
|
-
name: "TaskAlreadyExistsException";
|
|
788
|
-
$fault: "client";
|
|
789
|
-
|
|
787
|
+
export declare class TaskAlreadyExistsException extends __BaseException {
|
|
788
|
+
readonly name: "TaskAlreadyExistsException";
|
|
789
|
+
readonly $fault: "client";
|
|
790
|
+
|
|
791
|
+
constructor(opts: __ExceptionOptionType<TaskAlreadyExistsException, __BaseException>);
|
|
790
792
|
}
|
|
791
793
|
export interface StartDetectMitigationActionsTaskRequest {
|
|
792
794
|
|
|
@@ -911,11 +913,11 @@ export declare namespace TestAuthorizationResponse {
|
|
|
911
913
|
const filterSensitiveLog: (obj: TestAuthorizationResponse) => any;
|
|
912
914
|
}
|
|
913
915
|
|
|
914
|
-
export
|
|
915
|
-
name: "InvalidResponseException";
|
|
916
|
-
$fault: "client";
|
|
916
|
+
export declare class InvalidResponseException extends __BaseException {
|
|
917
|
+
readonly name: "InvalidResponseException";
|
|
918
|
+
readonly $fault: "client";
|
|
917
919
|
|
|
918
|
-
|
|
920
|
+
constructor(opts: __ExceptionOptionType<InvalidResponseException, __BaseException>);
|
|
919
921
|
}
|
|
920
922
|
|
|
921
923
|
export interface HttpContext {
|
|
@@ -1009,11 +1011,11 @@ export declare namespace TransferCertificateResponse {
|
|
|
1009
1011
|
const filterSensitiveLog: (obj: TransferCertificateResponse) => any;
|
|
1010
1012
|
}
|
|
1011
1013
|
|
|
1012
|
-
export
|
|
1013
|
-
name: "TransferConflictException";
|
|
1014
|
-
$fault: "client";
|
|
1014
|
+
export declare class TransferConflictException extends __BaseException {
|
|
1015
|
+
readonly name: "TransferConflictException";
|
|
1016
|
+
readonly $fault: "client";
|
|
1015
1017
|
|
|
1016
|
-
|
|
1018
|
+
constructor(opts: __ExceptionOptionType<TransferConflictException, __BaseException>);
|
|
1017
1019
|
}
|
|
1018
1020
|
export interface UntagResourceRequest {
|
|
1019
1021
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: IoTClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: IoTClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: IoTClientConfig) => {
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
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.54.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",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "rimraf ./dist-*"
|
|
12
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
|
|
13
13
|
},
|
|
14
14
|
"main": "./dist-cjs/index.js",
|
|
15
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -18,41 +18,41 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.54.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.54.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.54.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.54.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.54.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.54.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.54.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.54.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.54.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.54.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.54.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.54.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.54.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.54.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.54.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.54.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.54.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.54.0",
|
|
39
|
+
"@aws-sdk/types": "3.54.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.54.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.54.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.54.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.54.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.54.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.54.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.54.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0",
|
|
52
52
|
"uuid": "^8.3.2"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
55
|
+
"@aws-sdk/service-client-documentation-generator": "3.52.0",
|
|
56
56
|
"@tsconfig/recommended": "1.0.1",
|
|
57
57
|
"@types/node": "^12.7.5",
|
|
58
58
|
"@types/uuid": "^8.3.0",
|