@aws-sdk/client-iot 3.137.0 → 3.144.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 (38) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/README.md +1 -1
  3. package/dist-cjs/commands/DeleteRoleAliasCommand.js +2 -1
  4. package/dist-cjs/commands/ListThingGroupsForThingCommand.js +1 -2
  5. package/dist-cjs/models/models_0.js +11 -10
  6. package/dist-cjs/models/models_1.js +10 -10
  7. package/dist-cjs/models/models_2.js +7 -3
  8. package/dist-cjs/protocols/Aws_restJson1.js +3047 -5700
  9. package/dist-es/commands/DeleteRoleAliasCommand.js +2 -1
  10. package/dist-es/commands/ListThingGroupsForThingCommand.js +1 -2
  11. package/dist-es/models/models_0.js +5 -1
  12. package/dist-es/models/models_1.js +1 -1
  13. package/dist-es/models/models_2.js +1 -0
  14. package/dist-es/protocols/Aws_restJson1.js +3917 -5525
  15. package/dist-types/IoT.d.ts +16 -14
  16. package/dist-types/commands/CreateProvisioningTemplateCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateProvisioningTemplateVersionCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteProvisioningTemplateCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteProvisioningTemplateVersionCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteRoleAliasCommand.d.ts +2 -1
  21. package/dist-types/commands/DescribeProvisioningTemplateCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeProvisioningTemplateVersionCommand.d.ts +1 -1
  23. package/dist-types/commands/DetachPrincipalPolicyCommand.d.ts +3 -3
  24. package/dist-types/commands/ListPolicyPrincipalsCommand.d.ts +2 -1
  25. package/dist-types/commands/ListPrincipalPoliciesCommand.d.ts +2 -1
  26. package/dist-types/commands/ListProvisioningTemplateVersionsCommand.d.ts +1 -1
  27. package/dist-types/commands/ListProvisioningTemplatesCommand.d.ts +1 -1
  28. package/dist-types/commands/ListThingGroupsForThingCommand.d.ts +1 -2
  29. package/dist-types/commands/UpdateProvisioningTemplateCommand.d.ts +1 -1
  30. package/dist-types/models/models_0.d.ts +26 -21
  31. package/dist-types/models/models_1.d.ts +53 -45
  32. package/dist-types/models/models_2.d.ts +23 -3
  33. package/dist-types/ts3.4/commands/DeleteRoleAliasCommand.d.ts +2 -1
  34. package/dist-types/ts3.4/commands/ListThingGroupsForThingCommand.d.ts +1 -2
  35. package/dist-types/ts3.4/models/models_0.d.ts +6 -4
  36. package/dist-types/ts3.4/models/models_1.d.ts +13 -11
  37. package/dist-types/ts3.4/models/models_2.d.ts +10 -0
  38. package/package.json +6 -6
@@ -584,14 +584,14 @@ export declare class IoT extends IoTClient {
584
584
  createProvisioningClaim(args: CreateProvisioningClaimCommandInput, cb: (err: any, data?: CreateProvisioningClaimCommandOutput) => void): void;
585
585
  createProvisioningClaim(args: CreateProvisioningClaimCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProvisioningClaimCommandOutput) => void): void;
586
586
  /**
587
- * <p>Creates a fleet provisioning template.</p>
587
+ * <p>Creates a provisioning template.</p>
588
588
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">CreateProvisioningTemplate</a> action.</p>
589
589
  */
590
590
  createProvisioningTemplate(args: CreateProvisioningTemplateCommandInput, options?: __HttpHandlerOptions): Promise<CreateProvisioningTemplateCommandOutput>;
591
591
  createProvisioningTemplate(args: CreateProvisioningTemplateCommandInput, cb: (err: any, data?: CreateProvisioningTemplateCommandOutput) => void): void;
592
592
  createProvisioningTemplate(args: CreateProvisioningTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProvisioningTemplateCommandOutput) => void): void;
593
593
  /**
594
- * <p>Creates a new version of a fleet provisioning template.</p>
594
+ * <p>Creates a new version of a provisioning template.</p>
595
595
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">CreateProvisioningTemplateVersion</a> action.</p>
596
596
  */
597
597
  createProvisioningTemplateVersion(args: CreateProvisioningTemplateVersionCommandInput, options?: __HttpHandlerOptions): Promise<CreateProvisioningTemplateVersionCommandOutput>;
@@ -839,14 +839,14 @@ export declare class IoT extends IoTClient {
839
839
  deletePolicyVersion(args: DeletePolicyVersionCommandInput, cb: (err: any, data?: DeletePolicyVersionCommandOutput) => void): void;
840
840
  deletePolicyVersion(args: DeletePolicyVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePolicyVersionCommandOutput) => void): void;
841
841
  /**
842
- * <p>Deletes a fleet provisioning template.</p>
842
+ * <p>Deletes a provisioning template.</p>
843
843
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">DeleteProvisioningTemplate</a> action.</p>
844
844
  */
845
845
  deleteProvisioningTemplate(args: DeleteProvisioningTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProvisioningTemplateCommandOutput>;
846
846
  deleteProvisioningTemplate(args: DeleteProvisioningTemplateCommandInput, cb: (err: any, data?: DeleteProvisioningTemplateCommandOutput) => void): void;
847
847
  deleteProvisioningTemplate(args: DeleteProvisioningTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProvisioningTemplateCommandOutput) => void): void;
848
848
  /**
849
- * <p>Deletes a fleet provisioning template version.</p>
849
+ * <p>Deletes a provisioning template version.</p>
850
850
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">DeleteProvisioningTemplateVersion</a> action.</p>
851
851
  */
852
852
  deleteProvisioningTemplateVersion(args: DeleteProvisioningTemplateVersionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProvisioningTemplateVersionCommandOutput>;
@@ -1110,14 +1110,14 @@ export declare class IoT extends IoTClient {
1110
1110
  describeMitigationAction(args: DescribeMitigationActionCommandInput, cb: (err: any, data?: DescribeMitigationActionCommandOutput) => void): void;
1111
1111
  describeMitigationAction(args: DescribeMitigationActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMitigationActionCommandOutput) => void): void;
1112
1112
  /**
1113
- * <p>Returns information about a fleet provisioning template.</p>
1113
+ * <p>Returns information about a provisioning template.</p>
1114
1114
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">DescribeProvisioningTemplate</a> action.</p>
1115
1115
  */
1116
1116
  describeProvisioningTemplate(args: DescribeProvisioningTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DescribeProvisioningTemplateCommandOutput>;
1117
1117
  describeProvisioningTemplate(args: DescribeProvisioningTemplateCommandInput, cb: (err: any, data?: DescribeProvisioningTemplateCommandOutput) => void): void;
1118
1118
  describeProvisioningTemplate(args: DescribeProvisioningTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeProvisioningTemplateCommandOutput) => void): void;
1119
1119
  /**
1120
- * <p>Returns information about a fleet provisioning template version.</p>
1120
+ * <p>Returns information about a provisioning template version.</p>
1121
1121
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">DescribeProvisioningTemplateVersion</a> action.</p>
1122
1122
  */
1123
1123
  describeProvisioningTemplateVersion(args: DescribeProvisioningTemplateVersionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeProvisioningTemplateVersionCommandOutput>;
@@ -1194,9 +1194,9 @@ export declare class IoT extends IoTClient {
1194
1194
  * @deprecated
1195
1195
  *
1196
1196
  * <p>Removes the specified policy from the specified certificate.</p>
1197
- * <note>
1198
- * <p>This action is deprecated. Please use <a>DetachPolicy</a> instead.</p>
1199
- * </note>
1197
+ * <p>
1198
+ * <b>Note:</b> This action is deprecated and works as
1199
+ * expected for backward compatibility, but we won't add enhancements. Use <a>DetachPolicy</a> instead.</p>
1200
1200
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">DetachPrincipalPolicy</a> action.</p>
1201
1201
  */
1202
1202
  detachPrincipalPolicy(args: DetachPrincipalPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DetachPrincipalPolicyCommandOutput>;
@@ -1587,7 +1587,8 @@ export declare class IoT extends IoTClient {
1587
1587
  *
1588
1588
  * <p>Lists the principals associated with the specified policy.</p>
1589
1589
  * <p>
1590
- * <b>Note:</b> This action is deprecated. Please use <a>ListTargetsForPolicy</a> instead.</p>
1590
+ * <b>Note:</b> This action is deprecated and works as
1591
+ * expected for backward compatibility, but we won't add enhancements. Use <a>ListTargetsForPolicy</a> instead.</p>
1591
1592
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">ListPolicyPrincipals</a> action.</p>
1592
1593
  */
1593
1594
  listPolicyPrincipals(args: ListPolicyPrincipalsCommandInput, options?: __HttpHandlerOptions): Promise<ListPolicyPrincipalsCommandOutput>;
@@ -1607,7 +1608,8 @@ export declare class IoT extends IoTClient {
1607
1608
  * <p>Lists the policies attached to the specified principal. If you use an Cognito
1608
1609
  * identity, the ID must be in <a href="https://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_GetCredentialsForIdentity.html#API_GetCredentialsForIdentity_RequestSyntax">AmazonCognito Identity format</a>.</p>
1609
1610
  * <p>
1610
- * <b>Note:</b> This action is deprecated. Please use <a>ListAttachedPolicies</a> instead.</p>
1611
+ * <b>Note:</b> This action is deprecated and works as
1612
+ * expected for backward compatibility, but we won't add enhancements. Use <a>ListAttachedPolicies</a> instead.</p>
1611
1613
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">ListPrincipalPolicies</a> action.</p>
1612
1614
  */
1613
1615
  listPrincipalPolicies(args: ListPrincipalPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListPrincipalPoliciesCommandOutput>;
@@ -1623,14 +1625,14 @@ export declare class IoT extends IoTClient {
1623
1625
  listPrincipalThings(args: ListPrincipalThingsCommandInput, cb: (err: any, data?: ListPrincipalThingsCommandOutput) => void): void;
1624
1626
  listPrincipalThings(args: ListPrincipalThingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPrincipalThingsCommandOutput) => void): void;
1625
1627
  /**
1626
- * <p>Lists the fleet provisioning templates in your Amazon Web Services account.</p>
1628
+ * <p>Lists the provisioning templates in your Amazon Web Services account.</p>
1627
1629
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">ListProvisioningTemplates</a> action.</p>
1628
1630
  */
1629
1631
  listProvisioningTemplates(args: ListProvisioningTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<ListProvisioningTemplatesCommandOutput>;
1630
1632
  listProvisioningTemplates(args: ListProvisioningTemplatesCommandInput, cb: (err: any, data?: ListProvisioningTemplatesCommandOutput) => void): void;
1631
1633
  listProvisioningTemplates(args: ListProvisioningTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProvisioningTemplatesCommandOutput) => void): void;
1632
1634
  /**
1633
- * <p>A list of fleet provisioning template versions.</p>
1635
+ * <p>A list of provisioning template versions.</p>
1634
1636
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">ListProvisioningTemplateVersions</a> action.</p>
1635
1637
  */
1636
1638
  listProvisioningTemplateVersions(args: ListProvisioningTemplateVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListProvisioningTemplateVersionsCommandOutput>;
@@ -2143,7 +2145,7 @@ export declare class IoT extends IoTClient {
2143
2145
  updateMitigationAction(args: UpdateMitigationActionCommandInput, cb: (err: any, data?: UpdateMitigationActionCommandOutput) => void): void;
2144
2146
  updateMitigationAction(args: UpdateMitigationActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMitigationActionCommandOutput) => void): void;
2145
2147
  /**
2146
- * <p>Updates a fleet provisioning template.</p>
2148
+ * <p>Updates a provisioning template.</p>
2147
2149
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">UpdateProvisioningTemplate</a> action.</p>
2148
2150
  */
2149
2151
  updateProvisioningTemplate(args: UpdateProvisioningTemplateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateProvisioningTemplateCommandOutput>;
@@ -7,7 +7,7 @@ export interface CreateProvisioningTemplateCommandInput extends CreateProvisioni
7
7
  export interface CreateProvisioningTemplateCommandOutput extends CreateProvisioningTemplateResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Creates a fleet provisioning template.</p>
10
+ * <p>Creates a provisioning template.</p>
11
11
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">CreateProvisioningTemplate</a> action.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
@@ -7,7 +7,7 @@ export interface CreateProvisioningTemplateVersionCommandInput extends CreatePro
7
7
  export interface CreateProvisioningTemplateVersionCommandOutput extends CreateProvisioningTemplateVersionResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Creates a new version of a fleet provisioning template.</p>
10
+ * <p>Creates a new version of a provisioning template.</p>
11
11
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">CreateProvisioningTemplateVersion</a> action.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
@@ -7,7 +7,7 @@ export interface DeleteProvisioningTemplateCommandInput extends DeleteProvisioni
7
7
  export interface DeleteProvisioningTemplateCommandOutput extends DeleteProvisioningTemplateResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Deletes a fleet provisioning template.</p>
10
+ * <p>Deletes a provisioning template.</p>
11
11
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">DeleteProvisioningTemplate</a> action.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
@@ -7,7 +7,7 @@ export interface DeleteProvisioningTemplateVersionCommandInput extends DeletePro
7
7
  export interface DeleteProvisioningTemplateVersionCommandOutput extends DeleteProvisioningTemplateVersionResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Deletes a fleet provisioning template version.</p>
10
+ * <p>Deletes a provisioning template version.</p>
11
11
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">DeleteProvisioningTemplateVersion</a> action.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
@@ -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, DeleteRoleAliasResponse } from "../models/models_0";
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 {
@@ -7,7 +7,7 @@ export interface DescribeProvisioningTemplateCommandInput extends DescribeProvis
7
7
  export interface DescribeProvisioningTemplateCommandOutput extends DescribeProvisioningTemplateResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Returns information about a fleet provisioning template.</p>
10
+ * <p>Returns information about a provisioning template.</p>
11
11
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">DescribeProvisioningTemplate</a> action.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
@@ -7,7 +7,7 @@ export interface DescribeProvisioningTemplateVersionCommandInput extends Describ
7
7
  export interface DescribeProvisioningTemplateVersionCommandOutput extends DescribeProvisioningTemplateVersionResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Returns information about a fleet provisioning template version.</p>
10
+ * <p>Returns information about a provisioning template version.</p>
11
11
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">DescribeProvisioningTemplateVersion</a> action.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
@@ -10,9 +10,9 @@ export interface DetachPrincipalPolicyCommandOutput extends __MetadataBearer {
10
10
  * @deprecated
11
11
  *
12
12
  * <p>Removes the specified policy from the specified certificate.</p>
13
- * <note>
14
- * <p>This action is deprecated. Please use <a>DetachPolicy</a> instead.</p>
15
- * </note>
13
+ * <p>
14
+ * <b>Note:</b> This action is deprecated and works as
15
+ * expected for backward compatibility, but we won't add enhancements. Use <a>DetachPolicy</a> instead.</p>
16
16
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">DetachPrincipalPolicy</a> action.</p>
17
17
  * @example
18
18
  * Use a bare-bones client and the command you need to make an API call.
@@ -11,7 +11,8 @@ export interface ListPolicyPrincipalsCommandOutput extends ListPolicyPrincipalsR
11
11
  *
12
12
  * <p>Lists the principals associated with the specified policy.</p>
13
13
  * <p>
14
- * <b>Note:</b> This action is deprecated. Please use <a>ListTargetsForPolicy</a> instead.</p>
14
+ * <b>Note:</b> This action is deprecated and works as
15
+ * expected for backward compatibility, but we won't add enhancements. Use <a>ListTargetsForPolicy</a> instead.</p>
15
16
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">ListPolicyPrincipals</a> action.</p>
16
17
  * @example
17
18
  * Use a bare-bones client and the command you need to make an API call.
@@ -12,7 +12,8 @@ export interface ListPrincipalPoliciesCommandOutput extends ListPrincipalPolicie
12
12
  * <p>Lists the policies attached to the specified principal. If you use an Cognito
13
13
  * identity, the ID must be in <a href="https://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_GetCredentialsForIdentity.html#API_GetCredentialsForIdentity_RequestSyntax">AmazonCognito Identity format</a>.</p>
14
14
  * <p>
15
- * <b>Note:</b> This action is deprecated. Please use <a>ListAttachedPolicies</a> instead.</p>
15
+ * <b>Note:</b> This action is deprecated and works as
16
+ * expected for backward compatibility, but we won't add enhancements. Use <a>ListAttachedPolicies</a> instead.</p>
16
17
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">ListPrincipalPolicies</a> action.</p>
17
18
  * @example
18
19
  * Use a bare-bones client and the command you need to make an API call.
@@ -7,7 +7,7 @@ export interface ListProvisioningTemplateVersionsCommandInput extends ListProvis
7
7
  export interface ListProvisioningTemplateVersionsCommandOutput extends ListProvisioningTemplateVersionsResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>A list of fleet provisioning template versions.</p>
10
+ * <p>A list of provisioning template versions.</p>
11
11
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">ListProvisioningTemplateVersions</a> action.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
@@ -7,7 +7,7 @@ export interface ListProvisioningTemplatesCommandInput extends ListProvisioningT
7
7
  export interface ListProvisioningTemplatesCommandOutput extends ListProvisioningTemplatesResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Lists the fleet provisioning templates in your Amazon Web Services account.</p>
10
+ * <p>Lists the provisioning templates in your Amazon Web Services account.</p>
11
11
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">ListProvisioningTemplates</a> action.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
@@ -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/models_1";
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 {
@@ -7,7 +7,7 @@ export interface UpdateProvisioningTemplateCommandInput extends UpdateProvisioni
7
7
  export interface UpdateProvisioningTemplateCommandOutput extends UpdateProvisioningTemplateResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Updates a fleet provisioning template.</p>
10
+ * <p>Updates a provisioning template.</p>
11
11
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">UpdateProvisioningTemplate</a> action.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
@@ -3868,25 +3868,29 @@ export interface ProvisioningHook {
3868
3868
  */
3869
3869
  targetArn: string | undefined;
3870
3870
  }
3871
+ export declare enum TemplateType {
3872
+ FLEET_PROVISIONING = "FLEET_PROVISIONING",
3873
+ JITP = "JITP"
3874
+ }
3871
3875
  export interface CreateProvisioningTemplateRequest {
3872
3876
  /**
3873
- * <p>The name of the fleet provisioning template.</p>
3877
+ * <p>The name of the provisioning template.</p>
3874
3878
  */
3875
3879
  templateName: string | undefined;
3876
3880
  /**
3877
- * <p>The description of the fleet provisioning template.</p>
3881
+ * <p>The description of the provisioning template.</p>
3878
3882
  */
3879
3883
  description?: string;
3880
3884
  /**
3881
- * <p>The JSON formatted contents of the fleet provisioning template.</p>
3885
+ * <p>The JSON formatted contents of the provisioning template.</p>
3882
3886
  */
3883
3887
  templateBody: string | undefined;
3884
3888
  /**
3885
- * <p>True to enable the fleet provisioning template, otherwise false.</p>
3889
+ * <p>True to enable the provisioning template, otherwise false.</p>
3886
3890
  */
3887
3891
  enabled?: boolean;
3888
3892
  /**
3889
- * <p>The role ARN for the role associated with the fleet provisioning template. This IoT role
3893
+ * <p>The role ARN for the role associated with the provisioning template. This IoT role
3890
3894
  * grants permission to provision a device.</p>
3891
3895
  */
3892
3896
  provisioningRoleArn: string | undefined;
@@ -3895,7 +3899,7 @@ export interface CreateProvisioningTemplateRequest {
3895
3899
  */
3896
3900
  preProvisioningHook?: ProvisioningHook;
3897
3901
  /**
3898
- * <p>Metadata which can be used to manage the fleet provisioning template.</p>
3902
+ * <p>Metadata which can be used to manage the provisioning template.</p>
3899
3903
  * <note>
3900
3904
  * <p>For URI Request parameters use format: ...key1=value1&key2=value2...</p>
3901
3905
  * <p>For the CLI command-line parameter use format: &&tags
@@ -3905,6 +3909,13 @@ export interface CreateProvisioningTemplateRequest {
3905
3909
  * </note>
3906
3910
  */
3907
3911
  tags?: Tag[];
3912
+ /**
3913
+ * <p>The type you define in a provisioning template. You can create a template with only one type.
3914
+ * You can't change the template type after its creation. The default value is <code>FLEET_PROVISIONING</code>.
3915
+ * For more information about provisioning template, see: <a href="https://docs.aws.amazon.com/iot/latest/developerguide/provision-template.html">Provisioning template</a>.
3916
+ * </p>
3917
+ */
3918
+ type?: TemplateType | string;
3908
3919
  }
3909
3920
  export interface CreateProvisioningTemplateResponse {
3910
3921
  /**
@@ -3912,21 +3923,21 @@ export interface CreateProvisioningTemplateResponse {
3912
3923
  */
3913
3924
  templateArn?: string;
3914
3925
  /**
3915
- * <p>The name of the fleet provisioning template.</p>
3926
+ * <p>The name of the provisioning template.</p>
3916
3927
  */
3917
3928
  templateName?: string;
3918
3929
  /**
3919
- * <p>The default version of the fleet provisioning template.</p>
3930
+ * <p>The default version of the provisioning template.</p>
3920
3931
  */
3921
3932
  defaultVersionId?: number;
3922
3933
  }
3923
3934
  export interface CreateProvisioningTemplateVersionRequest {
3924
3935
  /**
3925
- * <p>The name of the fleet provisioning template.</p>
3936
+ * <p>The name of the provisioning template.</p>
3926
3937
  */
3927
3938
  templateName: string | undefined;
3928
3939
  /**
3929
- * <p>The JSON formatted contents of the fleet provisioning template.</p>
3940
+ * <p>The JSON formatted contents of the provisioning template.</p>
3930
3941
  */
3931
3942
  templateBody: string | undefined;
3932
3943
  /**
@@ -3940,15 +3951,15 @@ export interface CreateProvisioningTemplateVersionResponse {
3940
3951
  */
3941
3952
  templateArn?: string;
3942
3953
  /**
3943
- * <p>The name of the fleet provisioning template.</p>
3954
+ * <p>The name of the provisioning template.</p>
3944
3955
  */
3945
3956
  templateName?: string;
3946
3957
  /**
3947
- * <p>The version of the fleet provisioning template.</p>
3958
+ * <p>The version of the provisioning template.</p>
3948
3959
  */
3949
3960
  versionId?: number;
3950
3961
  /**
3951
- * <p>True if the fleet provisioning template version is the default version, otherwise
3962
+ * <p>True if the provisioning template version is the default version, otherwise
3952
3963
  * false.</p>
3953
3964
  */
3954
3965
  isDefaultVersion?: boolean;
@@ -4785,11 +4796,11 @@ export interface DeleteProvisioningTemplateResponse {
4785
4796
  }
4786
4797
  export interface DeleteProvisioningTemplateVersionRequest {
4787
4798
  /**
4788
- * <p>The name of the fleet provisioning template version to delete.</p>
4799
+ * <p>The name of the provisioning template version to delete.</p>
4789
4800
  */
4790
4801
  templateName: string | undefined;
4791
4802
  /**
4792
- * <p>The fleet provisioning template version ID to delete.</p>
4803
+ * <p>The provisioning template version ID to delete.</p>
4793
4804
  */
4794
4805
  versionId: number | undefined;
4795
4806
  }
@@ -4811,8 +4822,6 @@ export interface DeleteRoleAliasRequest {
4811
4822
  */
4812
4823
  roleAlias: string | undefined;
4813
4824
  }
4814
- export interface DeleteRoleAliasResponse {
4815
- }
4816
4825
  /**
4817
4826
  * @internal
4818
4827
  */
@@ -5757,7 +5766,3 @@ export declare const DeleteRegistrationCodeResponseFilterSensitiveLog: (obj: Del
5757
5766
  * @internal
5758
5767
  */
5759
5768
  export declare const DeleteRoleAliasRequestFilterSensitiveLog: (obj: DeleteRoleAliasRequest) => any;
5760
- /**
5761
- * @internal
5762
- */
5763
- export declare const DeleteRoleAliasResponseFilterSensitiveLog: (obj: DeleteRoleAliasResponse) => any;