@aws-sdk/client-iot 3.693.0 → 3.696.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.
Files changed (53) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +177 -19
  3. package/dist-es/IoT.js +6 -0
  4. package/dist-es/commands/ListPrincipalThingsV2Command.js +22 -0
  5. package/dist-es/commands/ListThingPrincipalsV2Command.js +22 -0
  6. package/dist-es/commands/UpdateThingTypeCommand.js +22 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +4 -12
  9. package/dist-es/models/models_1.js +12 -0
  10. package/dist-es/pagination/ListPrincipalThingsV2Paginator.js +4 -0
  11. package/dist-es/pagination/ListThingPrincipalsV2Paginator.js +4 -0
  12. package/dist-es/pagination/index.js +2 -0
  13. package/dist-es/protocols/Aws_restJson1.js +90 -3
  14. package/dist-types/IoT.d.ts +21 -0
  15. package/dist-types/IoTClient.d.ts +5 -2
  16. package/dist-types/commands/AttachThingPrincipalCommand.d.ts +1 -0
  17. package/dist-types/commands/CreateDomainConfigurationCommand.d.ts +2 -0
  18. package/dist-types/commands/CreateThingTypeCommand.d.ts +9 -0
  19. package/dist-types/commands/DeleteAuthorizerCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeDomainConfigurationCommand.d.ts +2 -0
  21. package/dist-types/commands/DescribeThingTypeCommand.d.ts +9 -0
  22. package/dist-types/commands/ListJobTemplatesCommand.d.ts +2 -1
  23. package/dist-types/commands/ListManagedJobTemplatesCommand.d.ts +1 -2
  24. package/dist-types/commands/ListPrincipalThingsV2Command.d.ts +100 -0
  25. package/dist-types/commands/ListThingPrincipalsV2Command.d.ts +100 -0
  26. package/dist-types/commands/ListThingTypesCommand.d.ts +9 -0
  27. package/dist-types/commands/UpdateDomainConfigurationCommand.d.ts +2 -0
  28. package/dist-types/commands/UpdateThingTypeCommand.d.ts +102 -0
  29. package/dist-types/commands/index.d.ts +3 -0
  30. package/dist-types/models/models_0.d.ts +91 -30
  31. package/dist-types/models/models_1.d.ts +29 -69
  32. package/dist-types/models/models_2.d.ts +272 -2
  33. package/dist-types/pagination/ListPrincipalThingsV2Paginator.d.ts +7 -0
  34. package/dist-types/pagination/ListThingPrincipalsV2Paginator.d.ts +7 -0
  35. package/dist-types/pagination/index.d.ts +2 -0
  36. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  37. package/dist-types/ts3.4/IoT.d.ts +51 -0
  38. package/dist-types/ts3.4/IoTClient.d.ts +18 -0
  39. package/dist-types/ts3.4/commands/DeleteAuthorizerCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/ListJobTemplatesCommand.d.ts +2 -4
  41. package/dist-types/ts3.4/commands/ListManagedJobTemplatesCommand.d.ts +4 -2
  42. package/dist-types/ts3.4/commands/ListPrincipalThingsV2Command.d.ts +51 -0
  43. package/dist-types/ts3.4/commands/ListThingPrincipalsV2Command.d.ts +51 -0
  44. package/dist-types/ts3.4/commands/UpdateThingTypeCommand.d.ts +50 -0
  45. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  46. package/dist-types/ts3.4/models/models_0.d.ts +18 -11
  47. package/dist-types/ts3.4/models/models_1.d.ts +11 -16
  48. package/dist-types/ts3.4/models/models_2.d.ts +51 -1
  49. package/dist-types/ts3.4/pagination/ListPrincipalThingsV2Paginator.d.ts +11 -0
  50. package/dist-types/ts3.4/pagination/ListThingPrincipalsV2Paginator.d.ts +11 -0
  51. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  52. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  53. package/package.json +35 -35
@@ -1,7 +1,75 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { IoTServiceException as __BaseException } from "./IoTServiceException";
3
- import { AbortConfig, AggregationType, AlertTarget, AlertTargetType, ApplicationProtocol, AttributePayload, AuditCheckConfiguration, AuditFrequency, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuditNotificationType, AuthenticationType, AuthInfo, AuthorizerConfig, AuthorizerStatus, AuthResult, AutoRegistrationStatus, Behavior, BillingGroupProperties, CertificateProviderOperation, ClientCertificateConfig, CustomMetricType, DayOfWeek, DimensionType, DimensionValueOperator, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MetricsExportConfig, MetricToRetain, MetricValue, MitigationActionParams, OTAUpdateStatus, PackageVersionArtifact, PackageVersionStatus, Policy, PresignedUrlConfig, ProvisioningHook, RelatedResource, ResourceIdentifier, ServerCertificateConfig, StreamFile, Tag, TemplateType, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TlsConfig, TopicRuleDestinationStatus, TopicRulePayload, VerificationState, ViolationEventAdditionalInfo } from "./models_0";
4
- import { BehaviorCriteriaType, CACertificateStatus, CertificateMode, CertificateStatus, Configuration, DetectMitigationActionsTaskTarget, DomainConfigurationStatus, EventType, GroupNameAndArn, LogTargetType, ManagedJobTemplateSummary, MitigationActionType, RegistrationConfig, Status, ThingGroupIndexingConfiguration, ThingIndexingConfiguration, ThingTypeMetadata, VersionUpdateByJobsConfig, ViolationEventOccurrenceRange } from "./models_1";
3
+ import { AbortConfig, AggregationType, AlertTarget, AlertTargetType, ApplicationProtocol, AttributePayload, AuditCheckConfiguration, AuditFrequency, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuditNotificationType, AuthenticationType, AuthInfo, AuthorizerConfig, AuthorizerStatus, AuthResult, AutoRegistrationStatus, Behavior, BillingGroupProperties, CertificateProviderOperation, ClientCertificateConfig, CustomMetricType, DayOfWeek, DimensionType, DimensionValueOperator, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MetricsExportConfig, MetricToRetain, MetricValue, MitigationActionParams, OTAUpdateStatus, PackageVersionArtifact, PackageVersionStatus, Policy, PresignedUrlConfig, ProvisioningHook, RelatedResource, ResourceIdentifier, ServerCertificateConfig, StreamFile, Tag, TemplateType, ThingGroupProperties, ThingPrincipalType, ThingTypeProperties, TimeoutConfig, TlsConfig, TopicRuleDestinationStatus, TopicRulePayload, VerificationState, ViolationEventAdditionalInfo } from "./models_0";
4
+ import { BehaviorCriteriaType, CACertificateStatus, CertificateMode, CertificateStatus, Configuration, DetectMitigationActionsTaskTarget, DomainConfigurationStatus, EventType, GroupNameAndArn, JobTemplateSummary, LogTargetType, MitigationActionType, RegistrationConfig, Status, ThingGroupIndexingConfiguration, ThingIndexingConfiguration, ThingTypeMetadata, VersionUpdateByJobsConfig, ViolationEventOccurrenceRange } from "./models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface ListJobTemplatesResponse {
9
+ /**
10
+ * <p>A list of objects that contain information about the job templates.</p>
11
+ * @public
12
+ */
13
+ jobTemplates?: JobTemplateSummary[] | undefined;
14
+ /**
15
+ * <p>The token for the next set of results, or <b>null</b> if there are no
16
+ * additional results.</p>
17
+ * @public
18
+ */
19
+ nextToken?: string | undefined;
20
+ }
21
+ /**
22
+ * @public
23
+ */
24
+ export interface ListManagedJobTemplatesRequest {
25
+ /**
26
+ * <p>An optional parameter for template name. If specified, only the versions of the
27
+ * managed job templates that have the specified template name will be returned.</p>
28
+ * @public
29
+ */
30
+ templateName?: string | undefined;
31
+ /**
32
+ * <p>Maximum number of entries that can be returned.</p>
33
+ * @public
34
+ */
35
+ maxResults?: number | undefined;
36
+ /**
37
+ * <p>The token to retrieve the next set of results.</p>
38
+ * @public
39
+ */
40
+ nextToken?: string | undefined;
41
+ }
42
+ /**
43
+ * <p>An object that contains information about the managed template.</p>
44
+ * @public
45
+ */
46
+ export interface ManagedJobTemplateSummary {
47
+ /**
48
+ * <p>The Amazon Resource Name (ARN) for a managed template.</p>
49
+ * @public
50
+ */
51
+ templateArn?: string | undefined;
52
+ /**
53
+ * <p>The unique Name for a managed template.</p>
54
+ * @public
55
+ */
56
+ templateName?: string | undefined;
57
+ /**
58
+ * <p>The description for a managed template.</p>
59
+ * @public
60
+ */
61
+ description?: string | undefined;
62
+ /**
63
+ * <p>A list of environments that are supported with the managed job template.</p>
64
+ * @public
65
+ */
66
+ environments?: string[] | undefined;
67
+ /**
68
+ * <p>The version for a managed template.</p>
69
+ * @public
70
+ */
71
+ templateVersion?: string | undefined;
72
+ }
5
73
  /**
6
74
  * @public
7
75
  */
@@ -616,6 +684,96 @@ export interface ListPrincipalThingsResponse {
616
684
  */
617
685
  nextToken?: string | undefined;
618
686
  }
687
+ /**
688
+ * @public
689
+ */
690
+ export interface ListPrincipalThingsV2Request {
691
+ /**
692
+ * <p>To retrieve the next set of results, the <code>nextToken</code>
693
+ * value from a previous response; otherwise <b>null</b> to receive
694
+ * the first set of results.</p>
695
+ * @public
696
+ */
697
+ nextToken?: string | undefined;
698
+ /**
699
+ * <p>The maximum number of results to return in this operation.</p>
700
+ * @public
701
+ */
702
+ maxResults?: number | undefined;
703
+ /**
704
+ * <p>The principal. A principal can be an X.509 certificate or an Amazon Cognito ID.</p>
705
+ * @public
706
+ */
707
+ principal: string | undefined;
708
+ /**
709
+ * <p>The type of the relation you want to filter in the response. If no value is provided in
710
+ * this field, the response will list all things, including both the
711
+ * <code>EXCLUSIVE_THING</code> and <code>NON_EXCLUSIVE_THING</code> attachment
712
+ * types.</p>
713
+ * <ul>
714
+ * <li>
715
+ * <p>
716
+ * <code>EXCLUSIVE_THING</code> - Attaches the specified principal to the specified thing, exclusively.
717
+ * The thing will be the only thing that’s attached to the principal.</p>
718
+ * </li>
719
+ * </ul>
720
+ * <ul>
721
+ * <li>
722
+ * <p>
723
+ * <code>NON_EXCLUSIVE_THING</code> - Attaches the specified principal to the specified thing.
724
+ * Multiple things can be attached to the principal.</p>
725
+ * </li>
726
+ * </ul>
727
+ * @public
728
+ */
729
+ thingPrincipalType?: ThingPrincipalType | undefined;
730
+ }
731
+ /**
732
+ * <p>An object that represents the thing and the type of relation it has with the principal.</p>
733
+ * @public
734
+ */
735
+ export interface PrincipalThingObject {
736
+ /**
737
+ * <p>The name of the thing.</p>
738
+ * @public
739
+ */
740
+ thingName: string | undefined;
741
+ /**
742
+ * <p>The type of the relation you want to specify when you attach a principal to a thing.
743
+ * The value defaults to <code>NON_EXCLUSIVE_THING</code>.</p>
744
+ * <ul>
745
+ * <li>
746
+ * <p>
747
+ * <code>EXCLUSIVE_THING</code> - Attaches the specified principal to the specified thing, exclusively.
748
+ * The thing will be the only thing that’s attached to the principal.</p>
749
+ * </li>
750
+ * </ul>
751
+ * <ul>
752
+ * <li>
753
+ * <p>
754
+ * <code>NON_EXCLUSIVE_THING</code> - Attaches the specified principal to the specified thing.
755
+ * Multiple things can be attached to the principal.</p>
756
+ * </li>
757
+ * </ul>
758
+ * @public
759
+ */
760
+ thingPrincipalType?: ThingPrincipalType | undefined;
761
+ }
762
+ /**
763
+ * @public
764
+ */
765
+ export interface ListPrincipalThingsV2Response {
766
+ /**
767
+ * <p>A list of <code>thingPrincipalObject</code> that represents the principal and the type of relation it has with the thing.</p>
768
+ * @public
769
+ */
770
+ principalThingObjects?: PrincipalThingObject[] | undefined;
771
+ /**
772
+ * <p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>
773
+ * @public
774
+ */
775
+ nextToken?: string | undefined;
776
+ }
619
777
  /**
620
778
  * @public
621
779
  */
@@ -1398,6 +1556,97 @@ export interface ListThingPrincipalsResponse {
1398
1556
  */
1399
1557
  nextToken?: string | undefined;
1400
1558
  }
1559
+ /**
1560
+ * @public
1561
+ */
1562
+ export interface ListThingPrincipalsV2Request {
1563
+ /**
1564
+ * <p>To retrieve the next set of results, the <code>nextToken</code>
1565
+ * value from a previous response; otherwise <b>null</b> to receive
1566
+ * the first set of results.</p>
1567
+ * @public
1568
+ */
1569
+ nextToken?: string | undefined;
1570
+ /**
1571
+ * <p>The maximum number of results to return in this operation.</p>
1572
+ * @public
1573
+ */
1574
+ maxResults?: number | undefined;
1575
+ /**
1576
+ * <p>The name of the thing.</p>
1577
+ * @public
1578
+ */
1579
+ thingName: string | undefined;
1580
+ /**
1581
+ * <p>The type of the relation you want to filter in the response. If no value is provided in
1582
+ * this field, the response will list all principals, including both the
1583
+ * <code>EXCLUSIVE_THING</code> and <code>NON_EXCLUSIVE_THING</code> attachment
1584
+ * types.</p>
1585
+ * <ul>
1586
+ * <li>
1587
+ * <p>
1588
+ * <code>EXCLUSIVE_THING</code> - Attaches the specified principal to the specified thing, exclusively.
1589
+ * The thing will be the only thing that’s attached to the principal.</p>
1590
+ * </li>
1591
+ * </ul>
1592
+ * <ul>
1593
+ * <li>
1594
+ * <p>
1595
+ * <code>NON_EXCLUSIVE_THING</code> - Attaches the specified principal to the specified thing.
1596
+ * Multiple things can be attached to the principal.</p>
1597
+ * </li>
1598
+ * </ul>
1599
+ * @public
1600
+ */
1601
+ thingPrincipalType?: ThingPrincipalType | undefined;
1602
+ }
1603
+ /**
1604
+ * <p>An object that represents the principal and the type of relation it has with the thing.</p>
1605
+ * @public
1606
+ */
1607
+ export interface ThingPrincipalObject {
1608
+ /**
1609
+ * <p>The principal of the thing principal object.</p>
1610
+ * @public
1611
+ */
1612
+ principal: string | undefined;
1613
+ /**
1614
+ * <p>The type of the relation you want to specify when you attach a principal to a thing.
1615
+ * The value defaults to <code>NON_EXCLUSIVE_THING</code>.</p>
1616
+ * <ul>
1617
+ * <li>
1618
+ * <p>
1619
+ * <code>EXCLUSIVE_THING</code> - Attaches the specified principal to the specified thing, exclusively.
1620
+ * The thing will be the only thing that’s attached to the principal.</p>
1621
+ * </li>
1622
+ * </ul>
1623
+ * <ul>
1624
+ * <li>
1625
+ * <p>
1626
+ * <code>NON_EXCLUSIVE_THING</code> - Attaches the specified principal to the specified thing.
1627
+ * Multiple things can be attached to the principal.</p>
1628
+ * </li>
1629
+ * </ul>
1630
+ * @public
1631
+ */
1632
+ thingPrincipalType?: ThingPrincipalType | undefined;
1633
+ }
1634
+ /**
1635
+ * @public
1636
+ */
1637
+ export interface ListThingPrincipalsV2Response {
1638
+ /**
1639
+ * <p>A list of <code>thingPrincipalObject</code> that represents the principal and the type of relation it has
1640
+ * with the thing.</p>
1641
+ * @public
1642
+ */
1643
+ thingPrincipalObjects?: ThingPrincipalObject[] | undefined;
1644
+ /**
1645
+ * <p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>
1646
+ * @public
1647
+ */
1648
+ nextToken?: string | undefined;
1649
+ }
1401
1650
  /**
1402
1651
  * @public
1403
1652
  * @enum
@@ -4559,6 +4808,27 @@ export interface UpdateThingGroupsForThingRequest {
4559
4808
  */
4560
4809
  export interface UpdateThingGroupsForThingResponse {
4561
4810
  }
4811
+ /**
4812
+ * @public
4813
+ */
4814
+ export interface UpdateThingTypeRequest {
4815
+ /**
4816
+ * <p>The name of a thing type.</p>
4817
+ * @public
4818
+ */
4819
+ thingTypeName: string | undefined;
4820
+ /**
4821
+ * <p>The ThingTypeProperties contains information about the thing type including: a thing type description,
4822
+ * and a list of searchable thing attribute names.</p>
4823
+ * @public
4824
+ */
4825
+ thingTypeProperties?: ThingTypeProperties | undefined;
4826
+ }
4827
+ /**
4828
+ * @public
4829
+ */
4830
+ export interface UpdateThingTypeResponse {
4831
+ }
4562
4832
  /**
4563
4833
  * @public
4564
4834
  */
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListPrincipalThingsV2CommandInput, ListPrincipalThingsV2CommandOutput } from "../commands/ListPrincipalThingsV2Command";
3
+ import { IoTPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListPrincipalThingsV2: (config: IoTPaginationConfiguration, input: ListPrincipalThingsV2CommandInput, ...rest: any[]) => Paginator<ListPrincipalThingsV2CommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListThingPrincipalsV2CommandInput, ListThingPrincipalsV2CommandOutput } from "../commands/ListThingPrincipalsV2Command";
3
+ import { IoTPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListThingPrincipalsV2: (config: IoTPaginationConfiguration, input: ListThingPrincipalsV2CommandInput, ...rest: any[]) => 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";
@@ -179,6 +179,7 @@ import { ListPolicyPrincipalsCommandInput, ListPolicyPrincipalsCommandOutput } f
179
179
  import { ListPolicyVersionsCommandInput, ListPolicyVersionsCommandOutput } from "../commands/ListPolicyVersionsCommand";
180
180
  import { ListPrincipalPoliciesCommandInput, ListPrincipalPoliciesCommandOutput } from "../commands/ListPrincipalPoliciesCommand";
181
181
  import { ListPrincipalThingsCommandInput, ListPrincipalThingsCommandOutput } from "../commands/ListPrincipalThingsCommand";
182
+ import { ListPrincipalThingsV2CommandInput, ListPrincipalThingsV2CommandOutput } from "../commands/ListPrincipalThingsV2Command";
182
183
  import { ListProvisioningTemplatesCommandInput, ListProvisioningTemplatesCommandOutput } from "../commands/ListProvisioningTemplatesCommand";
183
184
  import { ListProvisioningTemplateVersionsCommandInput, ListProvisioningTemplateVersionsCommandOutput } from "../commands/ListProvisioningTemplateVersionsCommand";
184
185
  import { ListRelatedResourcesForAuditFindingCommandInput, ListRelatedResourcesForAuditFindingCommandOutput } from "../commands/ListRelatedResourcesForAuditFindingCommand";
@@ -194,6 +195,7 @@ import { ListTargetsForSecurityProfileCommandInput, ListTargetsForSecurityProfil
194
195
  import { ListThingGroupsCommandInput, ListThingGroupsCommandOutput } from "../commands/ListThingGroupsCommand";
195
196
  import { ListThingGroupsForThingCommandInput, ListThingGroupsForThingCommandOutput } from "../commands/ListThingGroupsForThingCommand";
196
197
  import { ListThingPrincipalsCommandInput, ListThingPrincipalsCommandOutput } from "../commands/ListThingPrincipalsCommand";
198
+ import { ListThingPrincipalsV2CommandInput, ListThingPrincipalsV2CommandOutput } from "../commands/ListThingPrincipalsV2Command";
197
199
  import { ListThingRegistrationTaskReportsCommandInput, ListThingRegistrationTaskReportsCommandOutput } from "../commands/ListThingRegistrationTaskReportsCommand";
198
200
  import { ListThingRegistrationTasksCommandInput, ListThingRegistrationTasksCommandOutput } from "../commands/ListThingRegistrationTasksCommand";
199
201
  import { ListThingsCommandInput, ListThingsCommandOutput } from "../commands/ListThingsCommand";
@@ -256,6 +258,7 @@ import { UpdateStreamCommandInput, UpdateStreamCommandOutput } from "../commands
256
258
  import { UpdateThingCommandInput, UpdateThingCommandOutput } from "../commands/UpdateThingCommand";
257
259
  import { UpdateThingGroupCommandInput, UpdateThingGroupCommandOutput } from "../commands/UpdateThingGroupCommand";
258
260
  import { UpdateThingGroupsForThingCommandInput, UpdateThingGroupsForThingCommandOutput } from "../commands/UpdateThingGroupsForThingCommand";
261
+ import { UpdateThingTypeCommandInput, UpdateThingTypeCommandOutput } from "../commands/UpdateThingTypeCommand";
259
262
  import { UpdateTopicRuleDestinationCommandInput, UpdateTopicRuleDestinationCommandOutput } from "../commands/UpdateTopicRuleDestinationCommand";
260
263
  import { ValidateSecurityProfileBehaviorsCommandInput, ValidateSecurityProfileBehaviorsCommandOutput } from "../commands/ValidateSecurityProfileBehaviorsCommand";
261
264
  /**
@@ -974,6 +977,10 @@ export declare const se_ListPrincipalPoliciesCommand: (input: ListPrincipalPolic
974
977
  * serializeAws_restJson1ListPrincipalThingsCommand
975
978
  */
976
979
  export declare const se_ListPrincipalThingsCommand: (input: ListPrincipalThingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
980
+ /**
981
+ * serializeAws_restJson1ListPrincipalThingsV2Command
982
+ */
983
+ export declare const se_ListPrincipalThingsV2Command: (input: ListPrincipalThingsV2CommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
977
984
  /**
978
985
  * serializeAws_restJson1ListProvisioningTemplatesCommand
979
986
  */
@@ -1034,6 +1041,10 @@ export declare const se_ListThingGroupsForThingCommand: (input: ListThingGroupsF
1034
1041
  * serializeAws_restJson1ListThingPrincipalsCommand
1035
1042
  */
1036
1043
  export declare const se_ListThingPrincipalsCommand: (input: ListThingPrincipalsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1044
+ /**
1045
+ * serializeAws_restJson1ListThingPrincipalsV2Command
1046
+ */
1047
+ export declare const se_ListThingPrincipalsV2Command: (input: ListThingPrincipalsV2CommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1037
1048
  /**
1038
1049
  * serializeAws_restJson1ListThingRegistrationTaskReportsCommand
1039
1050
  */
@@ -1282,6 +1293,10 @@ export declare const se_UpdateThingGroupCommand: (input: UpdateThingGroupCommand
1282
1293
  * serializeAws_restJson1UpdateThingGroupsForThingCommand
1283
1294
  */
1284
1295
  export declare const se_UpdateThingGroupsForThingCommand: (input: UpdateThingGroupsForThingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1296
+ /**
1297
+ * serializeAws_restJson1UpdateThingTypeCommand
1298
+ */
1299
+ export declare const se_UpdateThingTypeCommand: (input: UpdateThingTypeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1285
1300
  /**
1286
1301
  * serializeAws_restJson1UpdateTopicRuleDestinationCommand
1287
1302
  */
@@ -2006,6 +2021,10 @@ export declare const de_ListPrincipalPoliciesCommand: (output: __HttpResponse, c
2006
2021
  * deserializeAws_restJson1ListPrincipalThingsCommand
2007
2022
  */
2008
2023
  export declare const de_ListPrincipalThingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPrincipalThingsCommandOutput>;
2024
+ /**
2025
+ * deserializeAws_restJson1ListPrincipalThingsV2Command
2026
+ */
2027
+ export declare const de_ListPrincipalThingsV2Command: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPrincipalThingsV2CommandOutput>;
2009
2028
  /**
2010
2029
  * deserializeAws_restJson1ListProvisioningTemplatesCommand
2011
2030
  */
@@ -2066,6 +2085,10 @@ export declare const de_ListThingGroupsForThingCommand: (output: __HttpResponse,
2066
2085
  * deserializeAws_restJson1ListThingPrincipalsCommand
2067
2086
  */
2068
2087
  export declare const de_ListThingPrincipalsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListThingPrincipalsCommandOutput>;
2088
+ /**
2089
+ * deserializeAws_restJson1ListThingPrincipalsV2Command
2090
+ */
2091
+ export declare const de_ListThingPrincipalsV2Command: (output: __HttpResponse, context: __SerdeContext) => Promise<ListThingPrincipalsV2CommandOutput>;
2069
2092
  /**
2070
2093
  * deserializeAws_restJson1ListThingRegistrationTaskReportsCommand
2071
2094
  */
@@ -2314,6 +2337,10 @@ export declare const de_UpdateThingGroupCommand: (output: __HttpResponse, contex
2314
2337
  * deserializeAws_restJson1UpdateThingGroupsForThingCommand
2315
2338
  */
2316
2339
  export declare const de_UpdateThingGroupsForThingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateThingGroupsForThingCommandOutput>;
2340
+ /**
2341
+ * deserializeAws_restJson1UpdateThingTypeCommand
2342
+ */
2343
+ export declare const de_UpdateThingTypeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateThingTypeCommandOutput>;
2317
2344
  /**
2318
2345
  * deserializeAws_restJson1UpdateTopicRuleDestinationCommand
2319
2346
  */
@@ -715,6 +715,10 @@ import {
715
715
  ListPrincipalThingsCommandInput,
716
716
  ListPrincipalThingsCommandOutput,
717
717
  } from "./commands/ListPrincipalThingsCommand";
718
+ import {
719
+ ListPrincipalThingsV2CommandInput,
720
+ ListPrincipalThingsV2CommandOutput,
721
+ } from "./commands/ListPrincipalThingsV2Command";
718
722
  import {
719
723
  ListProvisioningTemplatesCommandInput,
720
724
  ListProvisioningTemplatesCommandOutput,
@@ -775,6 +779,10 @@ import {
775
779
  ListThingPrincipalsCommandInput,
776
780
  ListThingPrincipalsCommandOutput,
777
781
  } from "./commands/ListThingPrincipalsCommand";
782
+ import {
783
+ ListThingPrincipalsV2CommandInput,
784
+ ListThingPrincipalsV2CommandOutput,
785
+ } from "./commands/ListThingPrincipalsV2Command";
778
786
  import {
779
787
  ListThingRegistrationTaskReportsCommandInput,
780
788
  ListThingRegistrationTaskReportsCommandOutput,
@@ -1023,6 +1031,10 @@ import {
1023
1031
  UpdateThingGroupsForThingCommandInput,
1024
1032
  UpdateThingGroupsForThingCommandOutput,
1025
1033
  } from "./commands/UpdateThingGroupsForThingCommand";
1034
+ import {
1035
+ UpdateThingTypeCommandInput,
1036
+ UpdateThingTypeCommandOutput,
1037
+ } from "./commands/UpdateThingTypeCommand";
1026
1038
  import {
1027
1039
  UpdateTopicRuleDestinationCommandInput,
1028
1040
  UpdateTopicRuleDestinationCommandOutput,
@@ -3465,6 +3477,19 @@ export interface IoT {
3465
3477
  options: __HttpHandlerOptions,
3466
3478
  cb: (err: any, data?: ListPrincipalThingsCommandOutput) => void
3467
3479
  ): void;
3480
+ listPrincipalThingsV2(
3481
+ args: ListPrincipalThingsV2CommandInput,
3482
+ options?: __HttpHandlerOptions
3483
+ ): Promise<ListPrincipalThingsV2CommandOutput>;
3484
+ listPrincipalThingsV2(
3485
+ args: ListPrincipalThingsV2CommandInput,
3486
+ cb: (err: any, data?: ListPrincipalThingsV2CommandOutput) => void
3487
+ ): void;
3488
+ listPrincipalThingsV2(
3489
+ args: ListPrincipalThingsV2CommandInput,
3490
+ options: __HttpHandlerOptions,
3491
+ cb: (err: any, data?: ListPrincipalThingsV2CommandOutput) => void
3492
+ ): void;
3468
3493
  listProvisioningTemplates(): Promise<ListProvisioningTemplatesCommandOutput>;
3469
3494
  listProvisioningTemplates(
3470
3495
  args: ListProvisioningTemplatesCommandInput,
@@ -3672,6 +3697,19 @@ export interface IoT {
3672
3697
  options: __HttpHandlerOptions,
3673
3698
  cb: (err: any, data?: ListThingPrincipalsCommandOutput) => void
3674
3699
  ): void;
3700
+ listThingPrincipalsV2(
3701
+ args: ListThingPrincipalsV2CommandInput,
3702
+ options?: __HttpHandlerOptions
3703
+ ): Promise<ListThingPrincipalsV2CommandOutput>;
3704
+ listThingPrincipalsV2(
3705
+ args: ListThingPrincipalsV2CommandInput,
3706
+ cb: (err: any, data?: ListThingPrincipalsV2CommandOutput) => void
3707
+ ): void;
3708
+ listThingPrincipalsV2(
3709
+ args: ListThingPrincipalsV2CommandInput,
3710
+ options: __HttpHandlerOptions,
3711
+ cb: (err: any, data?: ListThingPrincipalsV2CommandOutput) => void
3712
+ ): void;
3675
3713
  listThingRegistrationTaskReports(
3676
3714
  args: ListThingRegistrationTaskReportsCommandInput,
3677
3715
  options?: __HttpHandlerOptions
@@ -4492,6 +4530,19 @@ export interface IoT {
4492
4530
  options: __HttpHandlerOptions,
4493
4531
  cb: (err: any, data?: UpdateThingGroupsForThingCommandOutput) => void
4494
4532
  ): void;
4533
+ updateThingType(
4534
+ args: UpdateThingTypeCommandInput,
4535
+ options?: __HttpHandlerOptions
4536
+ ): Promise<UpdateThingTypeCommandOutput>;
4537
+ updateThingType(
4538
+ args: UpdateThingTypeCommandInput,
4539
+ cb: (err: any, data?: UpdateThingTypeCommandOutput) => void
4540
+ ): void;
4541
+ updateThingType(
4542
+ args: UpdateThingTypeCommandInput,
4543
+ options: __HttpHandlerOptions,
4544
+ cb: (err: any, data?: UpdateThingTypeCommandOutput) => void
4545
+ ): void;
4495
4546
  updateTopicRuleDestination(
4496
4547
  args: UpdateTopicRuleDestinationCommandInput,
4497
4548
  options?: __HttpHandlerOptions
@@ -761,6 +761,10 @@ import {
761
761
  ListPrincipalThingsCommandInput,
762
762
  ListPrincipalThingsCommandOutput,
763
763
  } from "./commands/ListPrincipalThingsCommand";
764
+ import {
765
+ ListPrincipalThingsV2CommandInput,
766
+ ListPrincipalThingsV2CommandOutput,
767
+ } from "./commands/ListPrincipalThingsV2Command";
764
768
  import {
765
769
  ListProvisioningTemplatesCommandInput,
766
770
  ListProvisioningTemplatesCommandOutput,
@@ -821,6 +825,10 @@ import {
821
825
  ListThingPrincipalsCommandInput,
822
826
  ListThingPrincipalsCommandOutput,
823
827
  } from "./commands/ListThingPrincipalsCommand";
828
+ import {
829
+ ListThingPrincipalsV2CommandInput,
830
+ ListThingPrincipalsV2CommandOutput,
831
+ } from "./commands/ListThingPrincipalsV2Command";
824
832
  import {
825
833
  ListThingRegistrationTaskReportsCommandInput,
826
834
  ListThingRegistrationTaskReportsCommandOutput,
@@ -1069,6 +1077,10 @@ import {
1069
1077
  UpdateThingGroupsForThingCommandInput,
1070
1078
  UpdateThingGroupsForThingCommandOutput,
1071
1079
  } from "./commands/UpdateThingGroupsForThingCommand";
1080
+ import {
1081
+ UpdateThingTypeCommandInput,
1082
+ UpdateThingTypeCommandOutput,
1083
+ } from "./commands/UpdateThingTypeCommand";
1072
1084
  import {
1073
1085
  UpdateTopicRuleDestinationCommandInput,
1074
1086
  UpdateTopicRuleDestinationCommandOutput,
@@ -1264,6 +1276,7 @@ export type ServiceInputTypes =
1264
1276
  | ListPolicyVersionsCommandInput
1265
1277
  | ListPrincipalPoliciesCommandInput
1266
1278
  | ListPrincipalThingsCommandInput
1279
+ | ListPrincipalThingsV2CommandInput
1267
1280
  | ListProvisioningTemplateVersionsCommandInput
1268
1281
  | ListProvisioningTemplatesCommandInput
1269
1282
  | ListRelatedResourcesForAuditFindingCommandInput
@@ -1279,6 +1292,7 @@ export type ServiceInputTypes =
1279
1292
  | ListThingGroupsCommandInput
1280
1293
  | ListThingGroupsForThingCommandInput
1281
1294
  | ListThingPrincipalsCommandInput
1295
+ | ListThingPrincipalsV2CommandInput
1282
1296
  | ListThingRegistrationTaskReportsCommandInput
1283
1297
  | ListThingRegistrationTasksCommandInput
1284
1298
  | ListThingTypesCommandInput
@@ -1341,6 +1355,7 @@ export type ServiceInputTypes =
1341
1355
  | UpdateThingCommandInput
1342
1356
  | UpdateThingGroupCommandInput
1343
1357
  | UpdateThingGroupsForThingCommandInput
1358
+ | UpdateThingTypeCommandInput
1344
1359
  | UpdateTopicRuleDestinationCommandInput
1345
1360
  | ValidateSecurityProfileBehaviorsCommandInput;
1346
1361
  export type ServiceOutputTypes =
@@ -1523,6 +1538,7 @@ export type ServiceOutputTypes =
1523
1538
  | ListPolicyVersionsCommandOutput
1524
1539
  | ListPrincipalPoliciesCommandOutput
1525
1540
  | ListPrincipalThingsCommandOutput
1541
+ | ListPrincipalThingsV2CommandOutput
1526
1542
  | ListProvisioningTemplateVersionsCommandOutput
1527
1543
  | ListProvisioningTemplatesCommandOutput
1528
1544
  | ListRelatedResourcesForAuditFindingCommandOutput
@@ -1538,6 +1554,7 @@ export type ServiceOutputTypes =
1538
1554
  | ListThingGroupsCommandOutput
1539
1555
  | ListThingGroupsForThingCommandOutput
1540
1556
  | ListThingPrincipalsCommandOutput
1557
+ | ListThingPrincipalsV2CommandOutput
1541
1558
  | ListThingRegistrationTaskReportsCommandOutput
1542
1559
  | ListThingRegistrationTasksCommandOutput
1543
1560
  | ListThingTypesCommandOutput
@@ -1600,6 +1617,7 @@ export type ServiceOutputTypes =
1600
1617
  | UpdateThingCommandOutput
1601
1618
  | UpdateThingGroupCommandOutput
1602
1619
  | UpdateThingGroupsForThingCommandOutput
1620
+ | UpdateThingTypeCommandOutput
1603
1621
  | UpdateTopicRuleDestinationCommandOutput
1604
1622
  | ValidateSecurityProfileBehaviorsCommandOutput;
1605
1623
  export interface ClientDefaults
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  DeleteAuthorizerRequest,
10
10
  DeleteAuthorizerResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface DeleteAuthorizerCommandInput extends DeleteAuthorizerRequest {}
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../IoTClient";
8
- import {
9
- ListJobTemplatesRequest,
10
- ListJobTemplatesResponse,
11
- } from "../models/models_1";
8
+ import { ListJobTemplatesRequest } from "../models/models_1";
9
+ import { ListJobTemplatesResponse } from "../models/models_2";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface ListJobTemplatesCommandInput extends ListJobTemplatesRequest {}
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../IoTClient";
8
- import { ListManagedJobTemplatesRequest } from "../models/models_1";
9
- import { ListManagedJobTemplatesResponse } from "../models/models_2";
8
+ import {
9
+ ListManagedJobTemplatesRequest,
10
+ ListManagedJobTemplatesResponse,
11
+ } from "../models/models_2";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface ListManagedJobTemplatesCommandInput