@aws-sdk/client-iot 3.141.0 → 3.145.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 +30 -0
- package/dist-cjs/commands/DeleteRoleAliasCommand.js +2 -1
- package/dist-cjs/commands/ListThingGroupsForThingCommand.js +1 -2
- package/dist-cjs/models/models_0.js +11 -10
- package/dist-cjs/models/models_1.js +10 -10
- package/dist-cjs/models/models_2.js +7 -3
- package/dist-cjs/protocols/Aws_restJson1.js +3047 -5700
- package/dist-es/commands/DeleteRoleAliasCommand.js +2 -1
- package/dist-es/commands/ListThingGroupsForThingCommand.js +1 -2
- package/dist-es/models/models_0.js +5 -1
- package/dist-es/models/models_1.js +1 -1
- package/dist-es/models/models_2.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +3917 -5525
- package/dist-types/IoT.d.ts +16 -14
- package/dist-types/commands/CreateProvisioningTemplateCommand.d.ts +1 -1
- package/dist-types/commands/CreateProvisioningTemplateVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteProvisioningTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteProvisioningTemplateVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRoleAliasCommand.d.ts +2 -1
- package/dist-types/commands/DescribeProvisioningTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DescribeProvisioningTemplateVersionCommand.d.ts +1 -1
- package/dist-types/commands/DetachPrincipalPolicyCommand.d.ts +3 -3
- package/dist-types/commands/ListPolicyPrincipalsCommand.d.ts +2 -1
- package/dist-types/commands/ListPrincipalPoliciesCommand.d.ts +2 -1
- package/dist-types/commands/ListProvisioningTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListProvisioningTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/ListThingGroupsForThingCommand.d.ts +1 -2
- package/dist-types/commands/UpdateProvisioningTemplateCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +26 -21
- package/dist-types/models/models_1.d.ts +53 -45
- package/dist-types/models/models_2.d.ts +23 -3
- package/dist-types/ts3.4/commands/DeleteRoleAliasCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListThingGroupsForThingCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +6 -4
- package/dist-types/ts3.4/models/models_1.d.ts +13 -11
- package/dist-types/ts3.4/models/models_2.d.ts +10 -0
- package/package.json +11 -6
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { IoTServiceException as __BaseException } from "./IoTServiceException";
|
|
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, DimensionValueOperator, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MetricToRetain, MetricValue, MitigationActionParams, OTAUpdateFile, OTAUpdateStatus, Policy, PresignedUrlConfig, Protocol, ProvisioningHook, ResourceIdentifier, ServiceType, StreamFile, Tag, TargetSelection, TaskStatisticsForAuditCheck, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TopicRuleDestination, VerificationState } from "./models_0";
|
|
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, DimensionValueOperator, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MetricToRetain, MetricValue, MitigationActionParams, OTAUpdateFile, OTAUpdateStatus, Policy, PresignedUrlConfig, Protocol, ProvisioningHook, ResourceIdentifier, ServiceType, StreamFile, Tag, TargetSelection, TaskStatisticsForAuditCheck, TemplateType, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TopicRuleDestination, VerificationState } from "./models_0";
|
|
4
|
+
export interface DeleteRoleAliasResponse {
|
|
5
|
+
}
|
|
4
6
|
export interface DeleteScheduledAuditRequest {
|
|
5
7
|
/**
|
|
6
8
|
* <p>The name of the scheduled audit you want to delete.</p>
|
|
@@ -483,6 +485,10 @@ export interface RegistrationConfig {
|
|
|
483
485
|
* <p>The ARN of the role.</p>
|
|
484
486
|
*/
|
|
485
487
|
roleArn?: string;
|
|
488
|
+
/**
|
|
489
|
+
* <p>The name of the provisioning template.</p>
|
|
490
|
+
*/
|
|
491
|
+
templateName?: string;
|
|
486
492
|
}
|
|
487
493
|
/**
|
|
488
494
|
* <p>The output from the DescribeCACertificate operation.</p>
|
|
@@ -1625,29 +1631,29 @@ export interface DescribeMitigationActionResponse {
|
|
|
1625
1631
|
}
|
|
1626
1632
|
export interface DescribeProvisioningTemplateRequest {
|
|
1627
1633
|
/**
|
|
1628
|
-
* <p>The name of the
|
|
1634
|
+
* <p>The name of the provisioning template.</p>
|
|
1629
1635
|
*/
|
|
1630
1636
|
templateName: string | undefined;
|
|
1631
1637
|
}
|
|
1632
1638
|
export interface DescribeProvisioningTemplateResponse {
|
|
1633
1639
|
/**
|
|
1634
|
-
* <p>The ARN of the
|
|
1640
|
+
* <p>The ARN of the provisioning template.</p>
|
|
1635
1641
|
*/
|
|
1636
1642
|
templateArn?: string;
|
|
1637
1643
|
/**
|
|
1638
|
-
* <p>The name of the
|
|
1644
|
+
* <p>The name of the provisioning template.</p>
|
|
1639
1645
|
*/
|
|
1640
1646
|
templateName?: string;
|
|
1641
1647
|
/**
|
|
1642
|
-
* <p>The description of the
|
|
1648
|
+
* <p>The description of the provisioning template.</p>
|
|
1643
1649
|
*/
|
|
1644
1650
|
description?: string;
|
|
1645
1651
|
/**
|
|
1646
|
-
* <p>The date when the
|
|
1652
|
+
* <p>The date when the provisioning template was created.</p>
|
|
1647
1653
|
*/
|
|
1648
1654
|
creationDate?: Date;
|
|
1649
1655
|
/**
|
|
1650
|
-
* <p>The date when the
|
|
1656
|
+
* <p>The date when the provisioning template was last modified.</p>
|
|
1651
1657
|
*/
|
|
1652
1658
|
lastModifiedDate?: Date;
|
|
1653
1659
|
/**
|
|
@@ -1655,11 +1661,11 @@ export interface DescribeProvisioningTemplateResponse {
|
|
|
1655
1661
|
*/
|
|
1656
1662
|
defaultVersionId?: number;
|
|
1657
1663
|
/**
|
|
1658
|
-
* <p>The JSON formatted contents of the
|
|
1664
|
+
* <p>The JSON formatted contents of the provisioning template.</p>
|
|
1659
1665
|
*/
|
|
1660
1666
|
templateBody?: string;
|
|
1661
1667
|
/**
|
|
1662
|
-
* <p>True if the
|
|
1668
|
+
* <p>True if the provisioning template is enabled, otherwise false.</p>
|
|
1663
1669
|
*/
|
|
1664
1670
|
enabled?: boolean;
|
|
1665
1671
|
/**
|
|
@@ -1671,6 +1677,13 @@ export interface DescribeProvisioningTemplateResponse {
|
|
|
1671
1677
|
* <p>Gets information about a pre-provisioned hook.</p>
|
|
1672
1678
|
*/
|
|
1673
1679
|
preProvisioningHook?: ProvisioningHook;
|
|
1680
|
+
/**
|
|
1681
|
+
* <p>The type you define in a provisioning template. You can create a template with only one type.
|
|
1682
|
+
* You can't change the template type after its creation. The default value is <code>FLEET_PROVISIONING</code>.
|
|
1683
|
+
* For more information about provisioning template, see: <a href="https://docs.aws.amazon.com/iot/latest/developerguide/provision-template.html">Provisioning template</a>.
|
|
1684
|
+
* </p>
|
|
1685
|
+
*/
|
|
1686
|
+
type?: TemplateType | string;
|
|
1674
1687
|
}
|
|
1675
1688
|
export interface DescribeProvisioningTemplateVersionRequest {
|
|
1676
1689
|
/**
|
|
@@ -1678,25 +1691,25 @@ export interface DescribeProvisioningTemplateVersionRequest {
|
|
|
1678
1691
|
*/
|
|
1679
1692
|
templateName: string | undefined;
|
|
1680
1693
|
/**
|
|
1681
|
-
* <p>The
|
|
1694
|
+
* <p>The provisioning template version ID.</p>
|
|
1682
1695
|
*/
|
|
1683
1696
|
versionId: number | undefined;
|
|
1684
1697
|
}
|
|
1685
1698
|
export interface DescribeProvisioningTemplateVersionResponse {
|
|
1686
1699
|
/**
|
|
1687
|
-
* <p>The
|
|
1700
|
+
* <p>The provisioning template version ID.</p>
|
|
1688
1701
|
*/
|
|
1689
1702
|
versionId?: number;
|
|
1690
1703
|
/**
|
|
1691
|
-
* <p>The date when the
|
|
1704
|
+
* <p>The date when the provisioning template version was created.</p>
|
|
1692
1705
|
*/
|
|
1693
1706
|
creationDate?: Date;
|
|
1694
1707
|
/**
|
|
1695
|
-
* <p>The JSON formatted contents of the
|
|
1708
|
+
* <p>The JSON formatted contents of the provisioning template version.</p>
|
|
1696
1709
|
*/
|
|
1697
1710
|
templateBody?: string;
|
|
1698
1711
|
/**
|
|
1699
|
-
* <p>True if the
|
|
1712
|
+
* <p>True if the provisioning template version is the default version.</p>
|
|
1700
1713
|
*/
|
|
1701
1714
|
isDefaultVersion?: boolean;
|
|
1702
1715
|
}
|
|
@@ -3413,6 +3426,10 @@ export interface ListCACertificatesRequest {
|
|
|
3413
3426
|
* <p>Determines the order of the results.</p>
|
|
3414
3427
|
*/
|
|
3415
3428
|
ascendingOrder?: boolean;
|
|
3429
|
+
/**
|
|
3430
|
+
* <p>The name of the provisioning template.</p>
|
|
3431
|
+
*/
|
|
3432
|
+
templateName?: string;
|
|
3416
3433
|
}
|
|
3417
3434
|
/**
|
|
3418
3435
|
* <p>A CA certificate.</p>
|
|
@@ -4594,37 +4611,44 @@ export interface ListProvisioningTemplatesRequest {
|
|
|
4594
4611
|
nextToken?: string;
|
|
4595
4612
|
}
|
|
4596
4613
|
/**
|
|
4597
|
-
* <p>A summary of information about a
|
|
4614
|
+
* <p>A summary of information about a provisioning template.</p>
|
|
4598
4615
|
*/
|
|
4599
4616
|
export interface ProvisioningTemplateSummary {
|
|
4600
4617
|
/**
|
|
4601
|
-
* <p>The ARN of the
|
|
4618
|
+
* <p>The ARN of the provisioning template.</p>
|
|
4602
4619
|
*/
|
|
4603
4620
|
templateArn?: string;
|
|
4604
4621
|
/**
|
|
4605
|
-
* <p>The name of the
|
|
4622
|
+
* <p>The name of the provisioning template.</p>
|
|
4606
4623
|
*/
|
|
4607
4624
|
templateName?: string;
|
|
4608
4625
|
/**
|
|
4609
|
-
* <p>The description of the
|
|
4626
|
+
* <p>The description of the provisioning template.</p>
|
|
4610
4627
|
*/
|
|
4611
4628
|
description?: string;
|
|
4612
4629
|
/**
|
|
4613
|
-
* <p>The date when the
|
|
4630
|
+
* <p>The date when the provisioning template summary was created.</p>
|
|
4614
4631
|
*/
|
|
4615
4632
|
creationDate?: Date;
|
|
4616
4633
|
/**
|
|
4617
|
-
* <p>The date when the
|
|
4634
|
+
* <p>The date when the provisioning template summary was last modified.</p>
|
|
4618
4635
|
*/
|
|
4619
4636
|
lastModifiedDate?: Date;
|
|
4620
4637
|
/**
|
|
4621
4638
|
* <p>True if the fleet provision template is enabled, otherwise false.</p>
|
|
4622
4639
|
*/
|
|
4623
4640
|
enabled?: boolean;
|
|
4641
|
+
/**
|
|
4642
|
+
* <p>The type you define in a provisioning template. You can create a template with only one type.
|
|
4643
|
+
* You can't change the template type after its creation. The default value is <code>FLEET_PROVISIONING</code>.
|
|
4644
|
+
* For more information about provisioning template, see: <a href="https://docs.aws.amazon.com/iot/latest/developerguide/provision-template.html">Provisioning template</a>.
|
|
4645
|
+
* </p>
|
|
4646
|
+
*/
|
|
4647
|
+
type?: TemplateType | string;
|
|
4624
4648
|
}
|
|
4625
4649
|
export interface ListProvisioningTemplatesResponse {
|
|
4626
4650
|
/**
|
|
4627
|
-
* <p>A list of
|
|
4651
|
+
* <p>A list of provisioning templates</p>
|
|
4628
4652
|
*/
|
|
4629
4653
|
templates?: ProvisioningTemplateSummary[];
|
|
4630
4654
|
/**
|
|
@@ -4634,7 +4658,7 @@ export interface ListProvisioningTemplatesResponse {
|
|
|
4634
4658
|
}
|
|
4635
4659
|
export interface ListProvisioningTemplateVersionsRequest {
|
|
4636
4660
|
/**
|
|
4637
|
-
* <p>The name of the
|
|
4661
|
+
* <p>The name of the provisioning template.</p>
|
|
4638
4662
|
*/
|
|
4639
4663
|
templateName: string | undefined;
|
|
4640
4664
|
/**
|
|
@@ -4655,18 +4679,18 @@ export interface ProvisioningTemplateVersionSummary {
|
|
|
4655
4679
|
*/
|
|
4656
4680
|
versionId?: number;
|
|
4657
4681
|
/**
|
|
4658
|
-
* <p>The date when the
|
|
4682
|
+
* <p>The date when the provisioning template version was created</p>
|
|
4659
4683
|
*/
|
|
4660
4684
|
creationDate?: Date;
|
|
4661
4685
|
/**
|
|
4662
|
-
* <p>True if the
|
|
4686
|
+
* <p>True if the provisioning template version is the default version, otherwise
|
|
4663
4687
|
* false.</p>
|
|
4664
4688
|
*/
|
|
4665
4689
|
isDefaultVersion?: boolean;
|
|
4666
4690
|
}
|
|
4667
4691
|
export interface ListProvisioningTemplateVersionsResponse {
|
|
4668
4692
|
/**
|
|
4669
|
-
* <p>The list of
|
|
4693
|
+
* <p>The list of provisioning template versions.</p>
|
|
4670
4694
|
*/
|
|
4671
4695
|
versions?: ProvisioningTemplateVersionSummary[];
|
|
4672
4696
|
/**
|
|
@@ -4995,22 +5019,10 @@ export interface ListThingGroupsResponse {
|
|
|
4995
5019
|
*/
|
|
4996
5020
|
nextToken?: string;
|
|
4997
5021
|
}
|
|
4998
|
-
|
|
4999
|
-
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
thingName: string | undefined;
|
|
5003
|
-
/**
|
|
5004
|
-
* <p>To retrieve the next set of results, the <code>nextToken</code>
|
|
5005
|
-
* value from a previous response; otherwise <b>null</b> to receive
|
|
5006
|
-
* the first set of results.</p>
|
|
5007
|
-
*/
|
|
5008
|
-
nextToken?: string;
|
|
5009
|
-
/**
|
|
5010
|
-
* <p>The maximum number of results to return at one time.</p>
|
|
5011
|
-
*/
|
|
5012
|
-
maxResults?: number;
|
|
5013
|
-
}
|
|
5022
|
+
/**
|
|
5023
|
+
* @internal
|
|
5024
|
+
*/
|
|
5025
|
+
export declare const DeleteRoleAliasResponseFilterSensitiveLog: (obj: DeleteRoleAliasResponse) => any;
|
|
5014
5026
|
/**
|
|
5015
5027
|
* @internal
|
|
5016
5028
|
*/
|
|
@@ -6103,7 +6115,3 @@ export declare const ListThingGroupsRequestFilterSensitiveLog: (obj: ListThingGr
|
|
|
6103
6115
|
* @internal
|
|
6104
6116
|
*/
|
|
6105
6117
|
export declare const ListThingGroupsResponseFilterSensitiveLog: (obj: ListThingGroupsResponse) => any;
|
|
6106
|
-
/**
|
|
6107
|
-
* @internal
|
|
6108
|
-
*/
|
|
6109
|
-
export declare const ListThingGroupsForThingRequestFilterSensitiveLog: (obj: ListThingGroupsForThingRequest) => any;
|
|
@@ -2,6 +2,22 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
|
|
|
2
2
|
import { IoTServiceException as __BaseException } from "./IoTServiceException";
|
|
3
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";
|
|
4
4
|
import { BehaviorCriteriaType, CACertificateStatus, CertificateMode, CertificateStatus, Configuration, DetectMitigationActionsTaskTarget, DomainConfigurationStatus, GroupNameAndArn, LogTargetType, RegistrationConfig, Status, ThingGroupIndexingConfiguration, ThingIndexingConfiguration, ThingTypeMetadata, ViolationEventOccurrenceRange } from "./models_1";
|
|
5
|
+
export interface ListThingGroupsForThingRequest {
|
|
6
|
+
/**
|
|
7
|
+
* <p>The thing name.</p>
|
|
8
|
+
*/
|
|
9
|
+
thingName: string | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* <p>To retrieve the next set of results, the <code>nextToken</code>
|
|
12
|
+
* value from a previous response; otherwise <b>null</b> to receive
|
|
13
|
+
* the first set of results.</p>
|
|
14
|
+
*/
|
|
15
|
+
nextToken?: string;
|
|
16
|
+
/**
|
|
17
|
+
* <p>The maximum number of results to return at one time.</p>
|
|
18
|
+
*/
|
|
19
|
+
maxResults?: number;
|
|
20
|
+
}
|
|
5
21
|
export interface ListThingGroupsForThingResponse {
|
|
6
22
|
/**
|
|
7
23
|
* <p>The thing groups.</p>
|
|
@@ -1908,15 +1924,15 @@ export interface UpdateMitigationActionResponse {
|
|
|
1908
1924
|
}
|
|
1909
1925
|
export interface UpdateProvisioningTemplateRequest {
|
|
1910
1926
|
/**
|
|
1911
|
-
* <p>The name of the
|
|
1927
|
+
* <p>The name of the provisioning template.</p>
|
|
1912
1928
|
*/
|
|
1913
1929
|
templateName: string | undefined;
|
|
1914
1930
|
/**
|
|
1915
|
-
* <p>The description of the
|
|
1931
|
+
* <p>The description of the provisioning template.</p>
|
|
1916
1932
|
*/
|
|
1917
1933
|
description?: string;
|
|
1918
1934
|
/**
|
|
1919
|
-
* <p>True to enable the
|
|
1935
|
+
* <p>True to enable the provisioning template, otherwise false.</p>
|
|
1920
1936
|
*/
|
|
1921
1937
|
enabled?: boolean;
|
|
1922
1938
|
/**
|
|
@@ -2310,6 +2326,10 @@ export interface ValidateSecurityProfileBehaviorsResponse {
|
|
|
2310
2326
|
*/
|
|
2311
2327
|
validationErrors?: ValidationError[];
|
|
2312
2328
|
}
|
|
2329
|
+
/**
|
|
2330
|
+
* @internal
|
|
2331
|
+
*/
|
|
2332
|
+
export declare const ListThingGroupsForThingRequestFilterSensitiveLog: (obj: ListThingGroupsForThingRequest) => any;
|
|
2313
2333
|
/**
|
|
2314
2334
|
* @internal
|
|
2315
2335
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
4
|
-
import { DeleteRoleAliasRequest
|
|
4
|
+
import { DeleteRoleAliasRequest } from "../models/models_0";
|
|
5
|
+
import { DeleteRoleAliasResponse } from "../models/models_1";
|
|
5
6
|
export interface DeleteRoleAliasCommandInput extends DeleteRoleAliasRequest {
|
|
6
7
|
}
|
|
7
8
|
export interface DeleteRoleAliasCommandOutput extends DeleteRoleAliasResponse, __MetadataBearer {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
4
|
-
import { ListThingGroupsForThingRequest } from "../models/
|
|
5
|
-
import { ListThingGroupsForThingResponse } from "../models/models_2";
|
|
4
|
+
import { ListThingGroupsForThingRequest, ListThingGroupsForThingResponse } from "../models/models_2";
|
|
6
5
|
export interface ListThingGroupsForThingCommandInput extends ListThingGroupsForThingRequest {
|
|
7
6
|
}
|
|
8
7
|
export interface ListThingGroupsForThingCommandOutput extends ListThingGroupsForThingResponse, __MetadataBearer {
|
|
@@ -1972,6 +1972,10 @@ export interface ProvisioningHook {
|
|
|
1972
1972
|
|
|
1973
1973
|
targetArn: string | undefined;
|
|
1974
1974
|
}
|
|
1975
|
+
export declare enum TemplateType {
|
|
1976
|
+
FLEET_PROVISIONING = "FLEET_PROVISIONING",
|
|
1977
|
+
JITP = "JITP"
|
|
1978
|
+
}
|
|
1975
1979
|
export interface CreateProvisioningTemplateRequest {
|
|
1976
1980
|
|
|
1977
1981
|
templateName: string | undefined;
|
|
@@ -1987,6 +1991,8 @@ export interface CreateProvisioningTemplateRequest {
|
|
|
1987
1991
|
preProvisioningHook?: ProvisioningHook;
|
|
1988
1992
|
|
|
1989
1993
|
tags?: Tag[];
|
|
1994
|
+
|
|
1995
|
+
type?: TemplateType | string;
|
|
1990
1996
|
}
|
|
1991
1997
|
export interface CreateProvisioningTemplateResponse {
|
|
1992
1998
|
|
|
@@ -2438,8 +2444,6 @@ export interface DeleteRoleAliasRequest {
|
|
|
2438
2444
|
|
|
2439
2445
|
roleAlias: string | undefined;
|
|
2440
2446
|
}
|
|
2441
|
-
export interface DeleteRoleAliasResponse {
|
|
2442
|
-
}
|
|
2443
2447
|
|
|
2444
2448
|
export declare const AbortCriteriaFilterSensitiveLog: (obj: AbortCriteria) => any;
|
|
2445
2449
|
|
|
@@ -2912,5 +2916,3 @@ export declare const DeleteRegistrationCodeRequestFilterSensitiveLog: (obj: Dele
|
|
|
2912
2916
|
export declare const DeleteRegistrationCodeResponseFilterSensitiveLog: (obj: DeleteRegistrationCodeResponse) => any;
|
|
2913
2917
|
|
|
2914
2918
|
export declare const DeleteRoleAliasRequestFilterSensitiveLog: (obj: DeleteRoleAliasRequest) => any;
|
|
2915
|
-
|
|
2916
|
-
export declare const DeleteRoleAliasResponseFilterSensitiveLog: (obj: DeleteRoleAliasResponse) => any;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { IoTServiceException as __BaseException } from "./IoTServiceException";
|
|
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, DimensionValueOperator, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MetricToRetain, MetricValue, MitigationActionParams, OTAUpdateFile, OTAUpdateStatus, Policy, PresignedUrlConfig, Protocol, ProvisioningHook, ResourceIdentifier, ServiceType, StreamFile, Tag, TargetSelection, TaskStatisticsForAuditCheck, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TopicRuleDestination, VerificationState } from "./models_0";
|
|
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, DimensionValueOperator, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MetricToRetain, MetricValue, MitigationActionParams, OTAUpdateFile, OTAUpdateStatus, Policy, PresignedUrlConfig, Protocol, ProvisioningHook, ResourceIdentifier, ServiceType, StreamFile, Tag, TargetSelection, TaskStatisticsForAuditCheck, TemplateType, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TopicRuleDestination, VerificationState } from "./models_0";
|
|
4
|
+
export interface DeleteRoleAliasResponse {
|
|
5
|
+
}
|
|
4
6
|
export interface DeleteScheduledAuditRequest {
|
|
5
7
|
|
|
6
8
|
scheduledAuditName: string | undefined;
|
|
@@ -267,6 +269,8 @@ export interface RegistrationConfig {
|
|
|
267
269
|
templateBody?: string;
|
|
268
270
|
|
|
269
271
|
roleArn?: string;
|
|
272
|
+
|
|
273
|
+
templateName?: string;
|
|
270
274
|
}
|
|
271
275
|
|
|
272
276
|
export interface DescribeCACertificateResponse {
|
|
@@ -835,6 +839,8 @@ export interface DescribeProvisioningTemplateResponse {
|
|
|
835
839
|
provisioningRoleArn?: string;
|
|
836
840
|
|
|
837
841
|
preProvisioningHook?: ProvisioningHook;
|
|
842
|
+
|
|
843
|
+
type?: TemplateType | string;
|
|
838
844
|
}
|
|
839
845
|
export interface DescribeProvisioningTemplateVersionRequest {
|
|
840
846
|
|
|
@@ -1719,6 +1725,8 @@ export interface ListCACertificatesRequest {
|
|
|
1719
1725
|
marker?: string;
|
|
1720
1726
|
|
|
1721
1727
|
ascendingOrder?: boolean;
|
|
1728
|
+
|
|
1729
|
+
templateName?: string;
|
|
1722
1730
|
}
|
|
1723
1731
|
|
|
1724
1732
|
export interface CACertificate {
|
|
@@ -2301,6 +2309,8 @@ export interface ProvisioningTemplateSummary {
|
|
|
2301
2309
|
lastModifiedDate?: Date;
|
|
2302
2310
|
|
|
2303
2311
|
enabled?: boolean;
|
|
2312
|
+
|
|
2313
|
+
type?: TemplateType | string;
|
|
2304
2314
|
}
|
|
2305
2315
|
export interface ListProvisioningTemplatesResponse {
|
|
2306
2316
|
|
|
@@ -2504,14 +2514,8 @@ export interface ListThingGroupsResponse {
|
|
|
2504
2514
|
|
|
2505
2515
|
nextToken?: string;
|
|
2506
2516
|
}
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
thingName: string | undefined;
|
|
2510
|
-
|
|
2511
|
-
nextToken?: string;
|
|
2512
|
-
|
|
2513
|
-
maxResults?: number;
|
|
2514
|
-
}
|
|
2517
|
+
|
|
2518
|
+
export declare const DeleteRoleAliasResponseFilterSensitiveLog: (obj: DeleteRoleAliasResponse) => any;
|
|
2515
2519
|
|
|
2516
2520
|
export declare const DeleteScheduledAuditRequestFilterSensitiveLog: (obj: DeleteScheduledAuditRequest) => any;
|
|
2517
2521
|
|
|
@@ -3058,5 +3062,3 @@ export declare const ListTargetsForSecurityProfileResponseFilterSensitiveLog: (o
|
|
|
3058
3062
|
export declare const ListThingGroupsRequestFilterSensitiveLog: (obj: ListThingGroupsRequest) => any;
|
|
3059
3063
|
|
|
3060
3064
|
export declare const ListThingGroupsResponseFilterSensitiveLog: (obj: ListThingGroupsResponse) => any;
|
|
3061
|
-
|
|
3062
|
-
export declare const ListThingGroupsForThingRequestFilterSensitiveLog: (obj: ListThingGroupsForThingRequest) => any;
|
|
@@ -2,6 +2,14 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
|
|
|
2
2
|
import { IoTServiceException as __BaseException } from "./IoTServiceException";
|
|
3
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";
|
|
4
4
|
import { BehaviorCriteriaType, CACertificateStatus, CertificateMode, CertificateStatus, Configuration, DetectMitigationActionsTaskTarget, DomainConfigurationStatus, GroupNameAndArn, LogTargetType, RegistrationConfig, Status, ThingGroupIndexingConfiguration, ThingIndexingConfiguration, ThingTypeMetadata, ViolationEventOccurrenceRange } from "./models_1";
|
|
5
|
+
export interface ListThingGroupsForThingRequest {
|
|
6
|
+
|
|
7
|
+
thingName: string | undefined;
|
|
8
|
+
|
|
9
|
+
nextToken?: string;
|
|
10
|
+
|
|
11
|
+
maxResults?: number;
|
|
12
|
+
}
|
|
5
13
|
export interface ListThingGroupsForThingResponse {
|
|
6
14
|
|
|
7
15
|
thingGroups?: GroupNameAndArn[];
|
|
@@ -1121,6 +1129,8 @@ export interface ValidateSecurityProfileBehaviorsResponse {
|
|
|
1121
1129
|
validationErrors?: ValidationError[];
|
|
1122
1130
|
}
|
|
1123
1131
|
|
|
1132
|
+
export declare const ListThingGroupsForThingRequestFilterSensitiveLog: (obj: ListThingGroupsForThingRequest) => any;
|
|
1133
|
+
|
|
1124
1134
|
export declare const ListThingGroupsForThingResponseFilterSensitiveLog: (obj: ListThingGroupsForThingResponse) => any;
|
|
1125
1135
|
|
|
1126
1136
|
export declare const ListThingPrincipalsRequestFilterSensitiveLog: (obj: ListThingPrincipalsRequest) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iot",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iot Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.145.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",
|
|
@@ -18,9 +18,9 @@
|
|
|
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.
|
|
21
|
+
"@aws-sdk/client-sts": "3.145.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.145.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.131.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.127.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
37
|
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
38
|
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
+
"@aws-sdk/smithy-client": "3.142.0",
|
|
40
40
|
"@aws-sdk/types": "3.127.0",
|
|
41
41
|
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.142.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.142.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
49
|
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
@@ -63,6 +63,11 @@
|
|
|
63
63
|
"typedoc": "0.19.2",
|
|
64
64
|
"typescript": "~4.6.2"
|
|
65
65
|
},
|
|
66
|
+
"overrides": {
|
|
67
|
+
"typedoc": {
|
|
68
|
+
"typescript": "~4.6.2"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
66
71
|
"engines": {
|
|
67
72
|
"node": ">=12.0.0"
|
|
68
73
|
},
|