@aws-sdk/client-iot 3.693.0 → 3.694.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/dist-cjs/index.js +177 -19
- package/dist-es/IoT.js +6 -0
- package/dist-es/commands/ListPrincipalThingsV2Command.js +22 -0
- package/dist-es/commands/ListThingPrincipalsV2Command.js +22 -0
- package/dist-es/commands/UpdateThingTypeCommand.js +22 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +4 -12
- package/dist-es/models/models_1.js +12 -0
- package/dist-es/pagination/ListPrincipalThingsV2Paginator.js +4 -0
- package/dist-es/pagination/ListThingPrincipalsV2Paginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +90 -3
- package/dist-types/IoT.d.ts +21 -0
- package/dist-types/IoTClient.d.ts +5 -2
- package/dist-types/commands/AttachThingPrincipalCommand.d.ts +1 -0
- package/dist-types/commands/CreateDomainConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/CreateThingTypeCommand.d.ts +9 -0
- package/dist-types/commands/DeleteAuthorizerCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDomainConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/DescribeThingTypeCommand.d.ts +9 -0
- package/dist-types/commands/ListJobTemplatesCommand.d.ts +2 -1
- package/dist-types/commands/ListManagedJobTemplatesCommand.d.ts +1 -2
- package/dist-types/commands/ListPrincipalThingsV2Command.d.ts +100 -0
- package/dist-types/commands/ListThingPrincipalsV2Command.d.ts +100 -0
- package/dist-types/commands/ListThingTypesCommand.d.ts +9 -0
- package/dist-types/commands/UpdateDomainConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/UpdateThingTypeCommand.d.ts +102 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +91 -30
- package/dist-types/models/models_1.d.ts +29 -69
- package/dist-types/models/models_2.d.ts +272 -2
- package/dist-types/pagination/ListPrincipalThingsV2Paginator.d.ts +7 -0
- package/dist-types/pagination/ListThingPrincipalsV2Paginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/IoT.d.ts +51 -0
- package/dist-types/ts3.4/IoTClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteAuthorizerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListJobTemplatesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListManagedJobTemplatesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListPrincipalThingsV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListThingPrincipalsV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateThingTypeCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +18 -11
- package/dist-types/ts3.4/models/models_1.d.ts +11 -16
- package/dist-types/ts3.4/models/models_2.d.ts +51 -1
- package/dist-types/ts3.4/pagination/ListPrincipalThingsV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListThingPrincipalsV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +1 -1
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
IoTClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../IoTClient";
|
|
8
|
+
import {
|
|
9
|
+
ListPrincipalThingsV2Request,
|
|
10
|
+
ListPrincipalThingsV2Response,
|
|
11
|
+
} from "../models/models_2";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListPrincipalThingsV2CommandInput
|
|
15
|
+
extends ListPrincipalThingsV2Request {}
|
|
16
|
+
export interface ListPrincipalThingsV2CommandOutput
|
|
17
|
+
extends ListPrincipalThingsV2Response,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListPrincipalThingsV2Command_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListPrincipalThingsV2CommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ListPrincipalThingsV2CommandInput,
|
|
24
|
+
ListPrincipalThingsV2CommandOutput,
|
|
25
|
+
IoTClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: ListPrincipalThingsV2CommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ListPrincipalThingsV2CommandInput,
|
|
33
|
+
ListPrincipalThingsV2CommandOutput,
|
|
34
|
+
IoTClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ListPrincipalThingsV2Command extends ListPrincipalThingsV2Command_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: ListPrincipalThingsV2Request;
|
|
44
|
+
output: ListPrincipalThingsV2Response;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: ListPrincipalThingsV2CommandInput;
|
|
48
|
+
output: ListPrincipalThingsV2CommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
IoTClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../IoTClient";
|
|
8
|
+
import {
|
|
9
|
+
ListThingPrincipalsV2Request,
|
|
10
|
+
ListThingPrincipalsV2Response,
|
|
11
|
+
} from "../models/models_2";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListThingPrincipalsV2CommandInput
|
|
15
|
+
extends ListThingPrincipalsV2Request {}
|
|
16
|
+
export interface ListThingPrincipalsV2CommandOutput
|
|
17
|
+
extends ListThingPrincipalsV2Response,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListThingPrincipalsV2Command_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListThingPrincipalsV2CommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ListThingPrincipalsV2CommandInput,
|
|
24
|
+
ListThingPrincipalsV2CommandOutput,
|
|
25
|
+
IoTClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: ListThingPrincipalsV2CommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ListThingPrincipalsV2CommandInput,
|
|
33
|
+
ListThingPrincipalsV2CommandOutput,
|
|
34
|
+
IoTClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ListThingPrincipalsV2Command extends ListThingPrincipalsV2Command_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: ListThingPrincipalsV2Request;
|
|
44
|
+
output: ListThingPrincipalsV2Response;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: ListThingPrincipalsV2CommandInput;
|
|
48
|
+
output: ListThingPrincipalsV2CommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
IoTClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../IoTClient";
|
|
8
|
+
import {
|
|
9
|
+
UpdateThingTypeRequest,
|
|
10
|
+
UpdateThingTypeResponse,
|
|
11
|
+
} from "../models/models_2";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateThingTypeCommandInput extends UpdateThingTypeRequest {}
|
|
15
|
+
export interface UpdateThingTypeCommandOutput
|
|
16
|
+
extends UpdateThingTypeResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const UpdateThingTypeCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: UpdateThingTypeCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
UpdateThingTypeCommandInput,
|
|
23
|
+
UpdateThingTypeCommandOutput,
|
|
24
|
+
IoTClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: UpdateThingTypeCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
UpdateThingTypeCommandInput,
|
|
32
|
+
UpdateThingTypeCommandOutput,
|
|
33
|
+
IoTClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class UpdateThingTypeCommand extends UpdateThingTypeCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: UpdateThingTypeRequest;
|
|
43
|
+
output: {};
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: UpdateThingTypeCommandInput;
|
|
47
|
+
output: UpdateThingTypeCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -177,6 +177,7 @@ export * from "./ListPolicyPrincipalsCommand";
|
|
|
177
177
|
export * from "./ListPolicyVersionsCommand";
|
|
178
178
|
export * from "./ListPrincipalPoliciesCommand";
|
|
179
179
|
export * from "./ListPrincipalThingsCommand";
|
|
180
|
+
export * from "./ListPrincipalThingsV2Command";
|
|
180
181
|
export * from "./ListProvisioningTemplateVersionsCommand";
|
|
181
182
|
export * from "./ListProvisioningTemplatesCommand";
|
|
182
183
|
export * from "./ListRelatedResourcesForAuditFindingCommand";
|
|
@@ -192,6 +193,7 @@ export * from "./ListTargetsForSecurityProfileCommand";
|
|
|
192
193
|
export * from "./ListThingGroupsCommand";
|
|
193
194
|
export * from "./ListThingGroupsForThingCommand";
|
|
194
195
|
export * from "./ListThingPrincipalsCommand";
|
|
196
|
+
export * from "./ListThingPrincipalsV2Command";
|
|
195
197
|
export * from "./ListThingRegistrationTaskReportsCommand";
|
|
196
198
|
export * from "./ListThingRegistrationTasksCommand";
|
|
197
199
|
export * from "./ListThingTypesCommand";
|
|
@@ -254,5 +256,6 @@ export * from "./UpdateStreamCommand";
|
|
|
254
256
|
export * from "./UpdateThingCommand";
|
|
255
257
|
export * from "./UpdateThingGroupCommand";
|
|
256
258
|
export * from "./UpdateThingGroupsForThingCommand";
|
|
259
|
+
export * from "./UpdateThingTypeCommand";
|
|
257
260
|
export * from "./UpdateTopicRuleDestinationCommand";
|
|
258
261
|
export * from "./ValidateSecurityProfileBehaviorsCommand";
|
|
@@ -616,9 +616,16 @@ export declare class VersionConflictException extends __BaseException {
|
|
|
616
616
|
opts: __ExceptionOptionType<VersionConflictException, __BaseException>
|
|
617
617
|
);
|
|
618
618
|
}
|
|
619
|
+
export declare const ThingPrincipalType: {
|
|
620
|
+
readonly EXCLUSIVE_THING: "EXCLUSIVE_THING";
|
|
621
|
+
readonly NON_EXCLUSIVE_THING: "NON_EXCLUSIVE_THING";
|
|
622
|
+
};
|
|
623
|
+
export type ThingPrincipalType =
|
|
624
|
+
(typeof ThingPrincipalType)[keyof typeof ThingPrincipalType];
|
|
619
625
|
export interface AttachThingPrincipalRequest {
|
|
620
626
|
thingName: string | undefined;
|
|
621
627
|
principal: string | undefined;
|
|
628
|
+
thingPrincipalType?: ThingPrincipalType | undefined;
|
|
622
629
|
}
|
|
623
630
|
export interface AttachThingPrincipalResponse {}
|
|
624
631
|
export interface AttributePayload {
|
|
@@ -1052,6 +1059,8 @@ export interface ClientCertificateConfig {
|
|
|
1052
1059
|
}
|
|
1053
1060
|
export interface ServerCertificateConfig {
|
|
1054
1061
|
enableOCSPCheck?: boolean | undefined;
|
|
1062
|
+
ocspLambdaArn?: string | undefined;
|
|
1063
|
+
ocspAuthorizedResponderArn?: string | undefined;
|
|
1055
1064
|
}
|
|
1056
1065
|
export declare const ServiceType: {
|
|
1057
1066
|
readonly CREDENTIAL_PROVIDER: "CREDENTIAL_PROVIDER";
|
|
@@ -1677,9 +1686,18 @@ export interface CreateThingGroupResponse {
|
|
|
1677
1686
|
thingGroupArn?: string | undefined;
|
|
1678
1687
|
thingGroupId?: string | undefined;
|
|
1679
1688
|
}
|
|
1689
|
+
export interface PropagatingAttribute {
|
|
1690
|
+
userPropertyKey?: string | undefined;
|
|
1691
|
+
thingAttribute?: string | undefined;
|
|
1692
|
+
connectionAttribute?: string | undefined;
|
|
1693
|
+
}
|
|
1694
|
+
export interface Mqtt5Configuration {
|
|
1695
|
+
propagatingAttributes?: PropagatingAttribute[] | undefined;
|
|
1696
|
+
}
|
|
1680
1697
|
export interface ThingTypeProperties {
|
|
1681
1698
|
thingTypeDescription?: string | undefined;
|
|
1682
1699
|
searchableAttributes?: string[] | undefined;
|
|
1700
|
+
mqtt5Configuration?: Mqtt5Configuration | undefined;
|
|
1683
1701
|
}
|
|
1684
1702
|
export interface CreateThingTypeRequest {
|
|
1685
1703
|
thingTypeName: string | undefined;
|
|
@@ -1764,17 +1782,6 @@ export interface DeleteAuditSuppressionRequest {
|
|
|
1764
1782
|
resourceIdentifier: ResourceIdentifier | undefined;
|
|
1765
1783
|
}
|
|
1766
1784
|
export interface DeleteAuditSuppressionResponse {}
|
|
1767
|
-
export interface DeleteAuthorizerRequest {
|
|
1768
|
-
authorizerName: string | undefined;
|
|
1769
|
-
}
|
|
1770
|
-
export interface DeleteAuthorizerResponse {}
|
|
1771
|
-
export declare class DeleteConflictException extends __BaseException {
|
|
1772
|
-
readonly name: "DeleteConflictException";
|
|
1773
|
-
readonly $fault: "client";
|
|
1774
|
-
constructor(
|
|
1775
|
-
opts: __ExceptionOptionType<DeleteConflictException, __BaseException>
|
|
1776
|
-
);
|
|
1777
|
-
}
|
|
1778
1785
|
export declare const KeyPairFilterSensitiveLog: (obj: KeyPair) => any;
|
|
1779
1786
|
export declare const CreateKeysAndCertificateResponseFilterSensitiveLog: (
|
|
1780
1787
|
obj: CreateKeysAndCertificateResponse
|
|
@@ -71,6 +71,17 @@ import {
|
|
|
71
71
|
TopicRuleDestination,
|
|
72
72
|
VerificationState,
|
|
73
73
|
} from "./models_0";
|
|
74
|
+
export interface DeleteAuthorizerRequest {
|
|
75
|
+
authorizerName: string | undefined;
|
|
76
|
+
}
|
|
77
|
+
export interface DeleteAuthorizerResponse {}
|
|
78
|
+
export declare class DeleteConflictException extends __BaseException {
|
|
79
|
+
readonly name: "DeleteConflictException";
|
|
80
|
+
readonly $fault: "client";
|
|
81
|
+
constructor(
|
|
82
|
+
opts: __ExceptionOptionType<DeleteConflictException, __BaseException>
|
|
83
|
+
);
|
|
84
|
+
}
|
|
74
85
|
export interface DeleteBillingGroupRequest {
|
|
75
86
|
billingGroupName: string | undefined;
|
|
76
87
|
expectedVersion?: number | undefined;
|
|
@@ -1568,22 +1579,6 @@ export interface JobTemplateSummary {
|
|
|
1568
1579
|
description?: string | undefined;
|
|
1569
1580
|
createdAt?: Date | undefined;
|
|
1570
1581
|
}
|
|
1571
|
-
export interface ListJobTemplatesResponse {
|
|
1572
|
-
jobTemplates?: JobTemplateSummary[] | undefined;
|
|
1573
|
-
nextToken?: string | undefined;
|
|
1574
|
-
}
|
|
1575
|
-
export interface ListManagedJobTemplatesRequest {
|
|
1576
|
-
templateName?: string | undefined;
|
|
1577
|
-
maxResults?: number | undefined;
|
|
1578
|
-
nextToken?: string | undefined;
|
|
1579
|
-
}
|
|
1580
|
-
export interface ManagedJobTemplateSummary {
|
|
1581
|
-
templateArn?: string | undefined;
|
|
1582
|
-
templateName?: string | undefined;
|
|
1583
|
-
description?: string | undefined;
|
|
1584
|
-
environments?: string[] | undefined;
|
|
1585
|
-
templateVersion?: string | undefined;
|
|
1586
|
-
}
|
|
1587
1582
|
export declare const GetPackageResponseFilterSensitiveLog: (
|
|
1588
1583
|
obj: GetPackageResponse
|
|
1589
1584
|
) => any;
|
|
@@ -47,6 +47,7 @@ import {
|
|
|
47
47
|
Tag,
|
|
48
48
|
TemplateType,
|
|
49
49
|
ThingGroupProperties,
|
|
50
|
+
ThingPrincipalType,
|
|
50
51
|
ThingTypeProperties,
|
|
51
52
|
TimeoutConfig,
|
|
52
53
|
TlsConfig,
|
|
@@ -65,8 +66,8 @@ import {
|
|
|
65
66
|
DomainConfigurationStatus,
|
|
66
67
|
EventType,
|
|
67
68
|
GroupNameAndArn,
|
|
69
|
+
JobTemplateSummary,
|
|
68
70
|
LogTargetType,
|
|
69
|
-
ManagedJobTemplateSummary,
|
|
70
71
|
MitigationActionType,
|
|
71
72
|
RegistrationConfig,
|
|
72
73
|
Status,
|
|
@@ -76,6 +77,22 @@ import {
|
|
|
76
77
|
VersionUpdateByJobsConfig,
|
|
77
78
|
ViolationEventOccurrenceRange,
|
|
78
79
|
} from "./models_1";
|
|
80
|
+
export interface ListJobTemplatesResponse {
|
|
81
|
+
jobTemplates?: JobTemplateSummary[] | undefined;
|
|
82
|
+
nextToken?: string | undefined;
|
|
83
|
+
}
|
|
84
|
+
export interface ListManagedJobTemplatesRequest {
|
|
85
|
+
templateName?: string | undefined;
|
|
86
|
+
maxResults?: number | undefined;
|
|
87
|
+
nextToken?: string | undefined;
|
|
88
|
+
}
|
|
89
|
+
export interface ManagedJobTemplateSummary {
|
|
90
|
+
templateArn?: string | undefined;
|
|
91
|
+
templateName?: string | undefined;
|
|
92
|
+
description?: string | undefined;
|
|
93
|
+
environments?: string[] | undefined;
|
|
94
|
+
templateVersion?: string | undefined;
|
|
95
|
+
}
|
|
79
96
|
export interface ListManagedJobTemplatesResponse {
|
|
80
97
|
managedJobTemplates?: ManagedJobTemplateSummary[] | undefined;
|
|
81
98
|
nextToken?: string | undefined;
|
|
@@ -223,6 +240,20 @@ export interface ListPrincipalThingsResponse {
|
|
|
223
240
|
things?: string[] | undefined;
|
|
224
241
|
nextToken?: string | undefined;
|
|
225
242
|
}
|
|
243
|
+
export interface ListPrincipalThingsV2Request {
|
|
244
|
+
nextToken?: string | undefined;
|
|
245
|
+
maxResults?: number | undefined;
|
|
246
|
+
principal: string | undefined;
|
|
247
|
+
thingPrincipalType?: ThingPrincipalType | undefined;
|
|
248
|
+
}
|
|
249
|
+
export interface PrincipalThingObject {
|
|
250
|
+
thingName: string | undefined;
|
|
251
|
+
thingPrincipalType?: ThingPrincipalType | undefined;
|
|
252
|
+
}
|
|
253
|
+
export interface ListPrincipalThingsV2Response {
|
|
254
|
+
principalThingObjects?: PrincipalThingObject[] | undefined;
|
|
255
|
+
nextToken?: string | undefined;
|
|
256
|
+
}
|
|
226
257
|
export interface ListProvisioningTemplatesRequest {
|
|
227
258
|
maxResults?: number | undefined;
|
|
228
259
|
nextToken?: string | undefined;
|
|
@@ -417,6 +448,20 @@ export interface ListThingPrincipalsResponse {
|
|
|
417
448
|
principals?: string[] | undefined;
|
|
418
449
|
nextToken?: string | undefined;
|
|
419
450
|
}
|
|
451
|
+
export interface ListThingPrincipalsV2Request {
|
|
452
|
+
nextToken?: string | undefined;
|
|
453
|
+
maxResults?: number | undefined;
|
|
454
|
+
thingName: string | undefined;
|
|
455
|
+
thingPrincipalType?: ThingPrincipalType | undefined;
|
|
456
|
+
}
|
|
457
|
+
export interface ThingPrincipalObject {
|
|
458
|
+
principal: string | undefined;
|
|
459
|
+
thingPrincipalType?: ThingPrincipalType | undefined;
|
|
460
|
+
}
|
|
461
|
+
export interface ListThingPrincipalsV2Response {
|
|
462
|
+
thingPrincipalObjects?: ThingPrincipalObject[] | undefined;
|
|
463
|
+
nextToken?: string | undefined;
|
|
464
|
+
}
|
|
420
465
|
export declare const ReportType: {
|
|
421
466
|
readonly ERRORS: "ERRORS";
|
|
422
467
|
readonly RESULTS: "RESULTS";
|
|
@@ -1130,6 +1175,11 @@ export interface UpdateThingGroupsForThingRequest {
|
|
|
1130
1175
|
overrideDynamicGroups?: boolean | undefined;
|
|
1131
1176
|
}
|
|
1132
1177
|
export interface UpdateThingGroupsForThingResponse {}
|
|
1178
|
+
export interface UpdateThingTypeRequest {
|
|
1179
|
+
thingTypeName: string | undefined;
|
|
1180
|
+
thingTypeProperties?: ThingTypeProperties | undefined;
|
|
1181
|
+
}
|
|
1182
|
+
export interface UpdateThingTypeResponse {}
|
|
1133
1183
|
export interface UpdateTopicRuleDestinationRequest {
|
|
1134
1184
|
arn: string | undefined;
|
|
1135
1185
|
status: TopicRuleDestinationStatus | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListPrincipalThingsV2CommandInput,
|
|
4
|
+
ListPrincipalThingsV2CommandOutput,
|
|
5
|
+
} from "../commands/ListPrincipalThingsV2Command";
|
|
6
|
+
import { IoTPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListPrincipalThingsV2: (
|
|
8
|
+
config: IoTPaginationConfiguration,
|
|
9
|
+
input: ListPrincipalThingsV2CommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListPrincipalThingsV2CommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListThingPrincipalsV2CommandInput,
|
|
4
|
+
ListThingPrincipalsV2CommandOutput,
|
|
5
|
+
} from "../commands/ListThingPrincipalsV2Command";
|
|
6
|
+
import { IoTPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListThingPrincipalsV2: (
|
|
8
|
+
config: IoTPaginationConfiguration,
|
|
9
|
+
input: ListThingPrincipalsV2CommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListThingPrincipalsV2CommandOutput>;
|
|
@@ -34,6 +34,7 @@ export * from "./ListPoliciesPaginator";
|
|
|
34
34
|
export * from "./ListPolicyPrincipalsPaginator";
|
|
35
35
|
export * from "./ListPrincipalPoliciesPaginator";
|
|
36
36
|
export * from "./ListPrincipalThingsPaginator";
|
|
37
|
+
export * from "./ListPrincipalThingsV2Paginator";
|
|
37
38
|
export * from "./ListProvisioningTemplateVersionsPaginator";
|
|
38
39
|
export * from "./ListProvisioningTemplatesPaginator";
|
|
39
40
|
export * from "./ListRelatedResourcesForAuditFindingPaginator";
|
|
@@ -49,6 +50,7 @@ export * from "./ListTargetsForSecurityProfilePaginator";
|
|
|
49
50
|
export * from "./ListThingGroupsForThingPaginator";
|
|
50
51
|
export * from "./ListThingGroupsPaginator";
|
|
51
52
|
export * from "./ListThingPrincipalsPaginator";
|
|
53
|
+
export * from "./ListThingPrincipalsV2Paginator";
|
|
52
54
|
export * from "./ListThingRegistrationTaskReportsPaginator";
|
|
53
55
|
export * from "./ListThingRegistrationTasksPaginator";
|
|
54
56
|
export * from "./ListThingTypesPaginator";
|
|
@@ -719,6 +719,10 @@ import {
|
|
|
719
719
|
ListPrincipalThingsCommandInput,
|
|
720
720
|
ListPrincipalThingsCommandOutput,
|
|
721
721
|
} from "../commands/ListPrincipalThingsCommand";
|
|
722
|
+
import {
|
|
723
|
+
ListPrincipalThingsV2CommandInput,
|
|
724
|
+
ListPrincipalThingsV2CommandOutput,
|
|
725
|
+
} from "../commands/ListPrincipalThingsV2Command";
|
|
722
726
|
import {
|
|
723
727
|
ListProvisioningTemplatesCommandInput,
|
|
724
728
|
ListProvisioningTemplatesCommandOutput,
|
|
@@ -779,6 +783,10 @@ import {
|
|
|
779
783
|
ListThingPrincipalsCommandInput,
|
|
780
784
|
ListThingPrincipalsCommandOutput,
|
|
781
785
|
} from "../commands/ListThingPrincipalsCommand";
|
|
786
|
+
import {
|
|
787
|
+
ListThingPrincipalsV2CommandInput,
|
|
788
|
+
ListThingPrincipalsV2CommandOutput,
|
|
789
|
+
} from "../commands/ListThingPrincipalsV2Command";
|
|
782
790
|
import {
|
|
783
791
|
ListThingRegistrationTaskReportsCommandInput,
|
|
784
792
|
ListThingRegistrationTaskReportsCommandOutput,
|
|
@@ -1027,6 +1035,10 @@ import {
|
|
|
1027
1035
|
UpdateThingGroupsForThingCommandInput,
|
|
1028
1036
|
UpdateThingGroupsForThingCommandOutput,
|
|
1029
1037
|
} from "../commands/UpdateThingGroupsForThingCommand";
|
|
1038
|
+
import {
|
|
1039
|
+
UpdateThingTypeCommandInput,
|
|
1040
|
+
UpdateThingTypeCommandOutput,
|
|
1041
|
+
} from "../commands/UpdateThingTypeCommand";
|
|
1030
1042
|
import {
|
|
1031
1043
|
UpdateTopicRuleDestinationCommandInput,
|
|
1032
1044
|
UpdateTopicRuleDestinationCommandOutput,
|
|
@@ -1751,6 +1763,10 @@ export declare const se_ListPrincipalThingsCommand: (
|
|
|
1751
1763
|
input: ListPrincipalThingsCommandInput,
|
|
1752
1764
|
context: __SerdeContext
|
|
1753
1765
|
) => Promise<__HttpRequest>;
|
|
1766
|
+
export declare const se_ListPrincipalThingsV2Command: (
|
|
1767
|
+
input: ListPrincipalThingsV2CommandInput,
|
|
1768
|
+
context: __SerdeContext
|
|
1769
|
+
) => Promise<__HttpRequest>;
|
|
1754
1770
|
export declare const se_ListProvisioningTemplatesCommand: (
|
|
1755
1771
|
input: ListProvisioningTemplatesCommandInput,
|
|
1756
1772
|
context: __SerdeContext
|
|
@@ -1811,6 +1827,10 @@ export declare const se_ListThingPrincipalsCommand: (
|
|
|
1811
1827
|
input: ListThingPrincipalsCommandInput,
|
|
1812
1828
|
context: __SerdeContext
|
|
1813
1829
|
) => Promise<__HttpRequest>;
|
|
1830
|
+
export declare const se_ListThingPrincipalsV2Command: (
|
|
1831
|
+
input: ListThingPrincipalsV2CommandInput,
|
|
1832
|
+
context: __SerdeContext
|
|
1833
|
+
) => Promise<__HttpRequest>;
|
|
1814
1834
|
export declare const se_ListThingRegistrationTaskReportsCommand: (
|
|
1815
1835
|
input: ListThingRegistrationTaskReportsCommandInput,
|
|
1816
1836
|
context: __SerdeContext
|
|
@@ -2059,6 +2079,10 @@ export declare const se_UpdateThingGroupsForThingCommand: (
|
|
|
2059
2079
|
input: UpdateThingGroupsForThingCommandInput,
|
|
2060
2080
|
context: __SerdeContext
|
|
2061
2081
|
) => Promise<__HttpRequest>;
|
|
2082
|
+
export declare const se_UpdateThingTypeCommand: (
|
|
2083
|
+
input: UpdateThingTypeCommandInput,
|
|
2084
|
+
context: __SerdeContext
|
|
2085
|
+
) => Promise<__HttpRequest>;
|
|
2062
2086
|
export declare const se_UpdateTopicRuleDestinationCommand: (
|
|
2063
2087
|
input: UpdateTopicRuleDestinationCommandInput,
|
|
2064
2088
|
context: __SerdeContext
|
|
@@ -2783,6 +2807,10 @@ export declare const de_ListPrincipalThingsCommand: (
|
|
|
2783
2807
|
output: __HttpResponse,
|
|
2784
2808
|
context: __SerdeContext
|
|
2785
2809
|
) => Promise<ListPrincipalThingsCommandOutput>;
|
|
2810
|
+
export declare const de_ListPrincipalThingsV2Command: (
|
|
2811
|
+
output: __HttpResponse,
|
|
2812
|
+
context: __SerdeContext
|
|
2813
|
+
) => Promise<ListPrincipalThingsV2CommandOutput>;
|
|
2786
2814
|
export declare const de_ListProvisioningTemplatesCommand: (
|
|
2787
2815
|
output: __HttpResponse,
|
|
2788
2816
|
context: __SerdeContext
|
|
@@ -2843,6 +2871,10 @@ export declare const de_ListThingPrincipalsCommand: (
|
|
|
2843
2871
|
output: __HttpResponse,
|
|
2844
2872
|
context: __SerdeContext
|
|
2845
2873
|
) => Promise<ListThingPrincipalsCommandOutput>;
|
|
2874
|
+
export declare const de_ListThingPrincipalsV2Command: (
|
|
2875
|
+
output: __HttpResponse,
|
|
2876
|
+
context: __SerdeContext
|
|
2877
|
+
) => Promise<ListThingPrincipalsV2CommandOutput>;
|
|
2846
2878
|
export declare const de_ListThingRegistrationTaskReportsCommand: (
|
|
2847
2879
|
output: __HttpResponse,
|
|
2848
2880
|
context: __SerdeContext
|
|
@@ -3091,6 +3123,10 @@ export declare const de_UpdateThingGroupsForThingCommand: (
|
|
|
3091
3123
|
output: __HttpResponse,
|
|
3092
3124
|
context: __SerdeContext
|
|
3093
3125
|
) => Promise<UpdateThingGroupsForThingCommandOutput>;
|
|
3126
|
+
export declare const de_UpdateThingTypeCommand: (
|
|
3127
|
+
output: __HttpResponse,
|
|
3128
|
+
context: __SerdeContext
|
|
3129
|
+
) => Promise<UpdateThingTypeCommandOutput>;
|
|
3094
3130
|
export declare const de_UpdateTopicRuleDestinationCommand: (
|
|
3095
3131
|
output: __HttpResponse,
|
|
3096
3132
|
context: __SerdeContext
|
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.694.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-iot",
|