@aws-sdk/client-iot 3.696.0 → 3.698.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 (91) hide show
  1. package/README.md +64 -0
  2. package/dist-cjs/index.js +555 -0
  3. package/dist-es/IoT.js +16 -0
  4. package/dist-es/commands/CreateCommandCommand.js +22 -0
  5. package/dist-es/commands/DeleteCommandCommand.js +22 -0
  6. package/dist-es/commands/DeleteCommandExecutionCommand.js +22 -0
  7. package/dist-es/commands/GetCommandCommand.js +22 -0
  8. package/dist-es/commands/GetCommandExecutionCommand.js +22 -0
  9. package/dist-es/commands/ListCommandExecutionsCommand.js +22 -0
  10. package/dist-es/commands/ListCommandsCommand.js +22 -0
  11. package/dist-es/commands/UpdateCommandCommand.js +22 -0
  12. package/dist-es/commands/index.js +8 -0
  13. package/dist-es/models/models_0.js +4 -0
  14. package/dist-es/models/models_1.js +12 -0
  15. package/dist-es/pagination/ListCommandExecutionsPaginator.js +4 -0
  16. package/dist-es/pagination/ListCommandsPaginator.js +4 -0
  17. package/dist-es/pagination/index.js +2 -0
  18. package/dist-es/protocols/Aws_restJson1.js +387 -0
  19. package/dist-types/IoT.d.ts +58 -0
  20. package/dist-types/IoTClient.d.ts +10 -2
  21. package/dist-types/commands/AssociateSbomWithPackageVersionCommand.d.ts +2 -2
  22. package/dist-types/commands/AssociateTargetsWithJobCommand.d.ts +4 -3
  23. package/dist-types/commands/CreateCommandCommand.d.ts +127 -0
  24. package/dist-types/commands/CreateJobTemplateCommand.d.ts +1 -1
  25. package/dist-types/commands/CreatePackageCommand.d.ts +2 -2
  26. package/dist-types/commands/CreatePackageVersionCommand.d.ts +2 -2
  27. package/dist-types/commands/CreateTopicRuleDestinationCommand.d.ts +2 -1
  28. package/dist-types/commands/DeleteAccountAuditConfigurationCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteAuditSuppressionCommand.d.ts +1 -1
  30. package/dist-types/commands/DeleteCommandCommand.d.ts +84 -0
  31. package/dist-types/commands/DeleteCommandExecutionCommand.d.ts +87 -0
  32. package/dist-types/commands/DeleteJobCommand.d.ts +6 -7
  33. package/dist-types/commands/DisassociateSbomFromPackageVersionCommand.d.ts +1 -1
  34. package/dist-types/commands/GetCommandCommand.d.ts +121 -0
  35. package/dist-types/commands/GetCommandExecutionCommand.d.ts +117 -0
  36. package/dist-types/commands/ListCommandExecutionsCommand.d.ts +116 -0
  37. package/dist-types/commands/ListCommandsCommand.d.ts +96 -0
  38. package/dist-types/commands/ListDetectMitigationActionsExecutionsCommand.d.ts +2 -1
  39. package/dist-types/commands/ListDetectMitigationActionsTasksCommand.d.ts +1 -1
  40. package/dist-types/commands/ListDimensionsCommand.d.ts +1 -1
  41. package/dist-types/commands/ListDomainConfigurationsCommand.d.ts +1 -1
  42. package/dist-types/commands/ListFleetMetricsCommand.d.ts +1 -1
  43. package/dist-types/commands/ListIndicesCommand.d.ts +1 -1
  44. package/dist-types/commands/ListJobExecutionsForJobCommand.d.ts +1 -1
  45. package/dist-types/commands/ListJobExecutionsForThingCommand.d.ts +1 -1
  46. package/dist-types/commands/ListJobTemplatesCommand.d.ts +1 -2
  47. package/dist-types/commands/ListJobsCommand.d.ts +1 -1
  48. package/dist-types/commands/UpdateCommandCommand.d.ts +94 -0
  49. package/dist-types/commands/UpdatePackageCommand.d.ts +1 -1
  50. package/dist-types/commands/UpdatePackageConfigurationCommand.d.ts +1 -1
  51. package/dist-types/commands/UpdatePackageVersionCommand.d.ts +1 -1
  52. package/dist-types/commands/index.d.ts +8 -0
  53. package/dist-types/models/models_0.d.ts +332 -236
  54. package/dist-types/models/models_1.d.ts +880 -784
  55. package/dist-types/models/models_2.d.ts +671 -11
  56. package/dist-types/pagination/ListCommandExecutionsPaginator.d.ts +7 -0
  57. package/dist-types/pagination/ListCommandsPaginator.d.ts +7 -0
  58. package/dist-types/pagination/index.d.ts +2 -0
  59. package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
  60. package/dist-types/ts3.4/IoT.d.ts +138 -0
  61. package/dist-types/ts3.4/IoTClient.d.ts +48 -0
  62. package/dist-types/ts3.4/commands/CreateCommandCommand.d.ts +50 -0
  63. package/dist-types/ts3.4/commands/CreateTopicRuleDestinationCommand.d.ts +2 -4
  64. package/dist-types/ts3.4/commands/DeleteAccountAuditConfigurationCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/DeleteAuditSuppressionCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/DeleteCommandCommand.d.ts +50 -0
  67. package/dist-types/ts3.4/commands/DeleteCommandExecutionCommand.d.ts +51 -0
  68. package/dist-types/ts3.4/commands/GetCommandCommand.d.ts +47 -0
  69. package/dist-types/ts3.4/commands/GetCommandExecutionCommand.d.ts +51 -0
  70. package/dist-types/ts3.4/commands/ListCommandExecutionsCommand.d.ts +51 -0
  71. package/dist-types/ts3.4/commands/ListCommandsCommand.d.ts +47 -0
  72. package/dist-types/ts3.4/commands/ListDetectMitigationActionsExecutionsCommand.d.ts +2 -4
  73. package/dist-types/ts3.4/commands/ListDetectMitigationActionsTasksCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/ListDimensionsCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/ListDomainConfigurationsCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/ListFleetMetricsCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/ListIndicesCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/ListJobExecutionsForJobCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/ListJobExecutionsForThingCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/ListJobTemplatesCommand.d.ts +4 -2
  81. package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/UpdateCommandCommand.d.ts +50 -0
  83. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  84. package/dist-types/ts3.4/models/models_0.d.ts +39 -21
  85. package/dist-types/ts3.4/models/models_1.d.ts +148 -129
  86. package/dist-types/ts3.4/models/models_2.d.ts +147 -1
  87. package/dist-types/ts3.4/pagination/ListCommandExecutionsPaginator.d.ts +11 -0
  88. package/dist-types/ts3.4/pagination/ListCommandsPaginator.d.ts +11 -0
  89. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  90. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
  91. package/package.json +1 -1
@@ -0,0 +1,121 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
4
+ import { GetCommandRequest, GetCommandResponse } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetCommandCommand}.
14
+ */
15
+ export interface GetCommandCommandInput extends GetCommandRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetCommandCommand}.
21
+ */
22
+ export interface GetCommandCommandOutput extends GetCommandResponse, __MetadataBearer {
23
+ }
24
+ declare const GetCommandCommand_base: {
25
+ new (input: GetCommandCommandInput): import("@smithy/smithy-client").CommandImpl<GetCommandCommandInput, GetCommandCommandOutput, IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetCommandCommandInput): import("@smithy/smithy-client").CommandImpl<GetCommandCommandInput, GetCommandCommandOutput, IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Gets information about the specified command.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { IoTClient, GetCommandCommand } from "@aws-sdk/client-iot"; // ES Modules import
35
+ * // const { IoTClient, GetCommandCommand } = require("@aws-sdk/client-iot"); // CommonJS import
36
+ * const client = new IoTClient(config);
37
+ * const input = { // GetCommandRequest
38
+ * commandId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetCommandCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetCommandResponse
43
+ * // commandId: "STRING_VALUE",
44
+ * // commandArn: "STRING_VALUE",
45
+ * // namespace: "AWS-IoT" || "AWS-IoT-FleetWise",
46
+ * // displayName: "STRING_VALUE",
47
+ * // description: "STRING_VALUE",
48
+ * // mandatoryParameters: [ // CommandParameterList
49
+ * // { // CommandParameter
50
+ * // name: "STRING_VALUE", // required
51
+ * // value: { // CommandParameterValue
52
+ * // S: "STRING_VALUE",
53
+ * // B: true || false,
54
+ * // I: Number("int"),
55
+ * // L: Number("long"),
56
+ * // D: Number("double"),
57
+ * // BIN: new Uint8Array(),
58
+ * // UL: "STRING_VALUE",
59
+ * // },
60
+ * // defaultValue: {
61
+ * // S: "STRING_VALUE",
62
+ * // B: true || false,
63
+ * // I: Number("int"),
64
+ * // L: Number("long"),
65
+ * // D: Number("double"),
66
+ * // BIN: new Uint8Array(),
67
+ * // UL: "STRING_VALUE",
68
+ * // },
69
+ * // description: "STRING_VALUE",
70
+ * // },
71
+ * // ],
72
+ * // payload: { // CommandPayload
73
+ * // content: new Uint8Array(),
74
+ * // contentType: "STRING_VALUE",
75
+ * // },
76
+ * // roleArn: "STRING_VALUE",
77
+ * // createdAt: new Date("TIMESTAMP"),
78
+ * // lastUpdatedAt: new Date("TIMESTAMP"),
79
+ * // deprecated: true || false,
80
+ * // pendingDeletion: true || false,
81
+ * // };
82
+ *
83
+ * ```
84
+ *
85
+ * @param GetCommandCommandInput - {@link GetCommandCommandInput}
86
+ * @returns {@link GetCommandCommandOutput}
87
+ * @see {@link GetCommandCommandInput} for command's `input` shape.
88
+ * @see {@link GetCommandCommandOutput} for command's `response` shape.
89
+ * @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape.
90
+ *
91
+ * @throws {@link InternalServerException} (server fault)
92
+ * <p>Internal error from the service that indicates an unexpected error or that the service
93
+ * is unavailable.</p>
94
+ *
95
+ * @throws {@link ResourceNotFoundException} (client fault)
96
+ * <p>The specified resource does not exist.</p>
97
+ *
98
+ * @throws {@link ThrottlingException} (client fault)
99
+ * <p>The rate exceeds the limit.</p>
100
+ *
101
+ * @throws {@link ValidationException} (client fault)
102
+ * <p>The request is not valid.</p>
103
+ *
104
+ * @throws {@link IoTServiceException}
105
+ * <p>Base exception class for all service exceptions from IoT service.</p>
106
+ *
107
+ * @public
108
+ */
109
+ export declare class GetCommandCommand extends GetCommandCommand_base {
110
+ /** @internal type navigation helper, not in runtime. */
111
+ protected static __types: {
112
+ api: {
113
+ input: GetCommandRequest;
114
+ output: GetCommandResponse;
115
+ };
116
+ sdk: {
117
+ input: GetCommandCommandInput;
118
+ output: GetCommandCommandOutput;
119
+ };
120
+ };
121
+ }
@@ -0,0 +1,117 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
4
+ import { GetCommandExecutionRequest, GetCommandExecutionResponse } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetCommandExecutionCommand}.
14
+ */
15
+ export interface GetCommandExecutionCommandInput extends GetCommandExecutionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetCommandExecutionCommand}.
21
+ */
22
+ export interface GetCommandExecutionCommandOutput extends GetCommandExecutionResponse, __MetadataBearer {
23
+ }
24
+ declare const GetCommandExecutionCommand_base: {
25
+ new (input: GetCommandExecutionCommandInput): import("@smithy/smithy-client").CommandImpl<GetCommandExecutionCommandInput, GetCommandExecutionCommandOutput, IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetCommandExecutionCommandInput): import("@smithy/smithy-client").CommandImpl<GetCommandExecutionCommandInput, GetCommandExecutionCommandOutput, IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Gets information about the specific command execution on a single device.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { IoTClient, GetCommandExecutionCommand } from "@aws-sdk/client-iot"; // ES Modules import
35
+ * // const { IoTClient, GetCommandExecutionCommand } = require("@aws-sdk/client-iot"); // CommonJS import
36
+ * const client = new IoTClient(config);
37
+ * const input = { // GetCommandExecutionRequest
38
+ * executionId: "STRING_VALUE", // required
39
+ * targetArn: "STRING_VALUE", // required
40
+ * includeResult: true || false,
41
+ * };
42
+ * const command = new GetCommandExecutionCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetCommandExecutionResponse
45
+ * // executionId: "STRING_VALUE",
46
+ * // commandArn: "STRING_VALUE",
47
+ * // targetArn: "STRING_VALUE",
48
+ * // status: "CREATED" || "IN_PROGRESS" || "SUCCEEDED" || "FAILED" || "REJECTED" || "TIMED_OUT",
49
+ * // statusReason: { // StatusReason
50
+ * // reasonCode: "STRING_VALUE", // required
51
+ * // reasonDescription: "STRING_VALUE",
52
+ * // },
53
+ * // result: { // CommandExecutionResultMap
54
+ * // "<keys>": { // CommandExecutionResult
55
+ * // S: "STRING_VALUE",
56
+ * // B: true || false,
57
+ * // BIN: new Uint8Array(),
58
+ * // },
59
+ * // },
60
+ * // parameters: { // CommandExecutionParameterMap
61
+ * // "<keys>": { // CommandParameterValue
62
+ * // S: "STRING_VALUE",
63
+ * // B: true || false,
64
+ * // I: Number("int"),
65
+ * // L: Number("long"),
66
+ * // D: Number("double"),
67
+ * // BIN: new Uint8Array(),
68
+ * // UL: "STRING_VALUE",
69
+ * // },
70
+ * // },
71
+ * // executionTimeoutSeconds: Number("long"),
72
+ * // createdAt: new Date("TIMESTAMP"),
73
+ * // lastUpdatedAt: new Date("TIMESTAMP"),
74
+ * // startedAt: new Date("TIMESTAMP"),
75
+ * // completedAt: new Date("TIMESTAMP"),
76
+ * // timeToLive: new Date("TIMESTAMP"),
77
+ * // };
78
+ *
79
+ * ```
80
+ *
81
+ * @param GetCommandExecutionCommandInput - {@link GetCommandExecutionCommandInput}
82
+ * @returns {@link GetCommandExecutionCommandOutput}
83
+ * @see {@link GetCommandExecutionCommandInput} for command's `input` shape.
84
+ * @see {@link GetCommandExecutionCommandOutput} for command's `response` shape.
85
+ * @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape.
86
+ *
87
+ * @throws {@link InternalServerException} (server fault)
88
+ * <p>Internal error from the service that indicates an unexpected error or that the service
89
+ * is unavailable.</p>
90
+ *
91
+ * @throws {@link ResourceNotFoundException} (client fault)
92
+ * <p>The specified resource does not exist.</p>
93
+ *
94
+ * @throws {@link ThrottlingException} (client fault)
95
+ * <p>The rate exceeds the limit.</p>
96
+ *
97
+ * @throws {@link ValidationException} (client fault)
98
+ * <p>The request is not valid.</p>
99
+ *
100
+ * @throws {@link IoTServiceException}
101
+ * <p>Base exception class for all service exceptions from IoT service.</p>
102
+ *
103
+ * @public
104
+ */
105
+ export declare class GetCommandExecutionCommand extends GetCommandExecutionCommand_base {
106
+ /** @internal type navigation helper, not in runtime. */
107
+ protected static __types: {
108
+ api: {
109
+ input: GetCommandExecutionRequest;
110
+ output: GetCommandExecutionResponse;
111
+ };
112
+ sdk: {
113
+ input: GetCommandExecutionCommandInput;
114
+ output: GetCommandExecutionCommandOutput;
115
+ };
116
+ };
117
+ }
@@ -0,0 +1,116 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
4
+ import { ListCommandExecutionsRequest, ListCommandExecutionsResponse } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListCommandExecutionsCommand}.
14
+ */
15
+ export interface ListCommandExecutionsCommandInput extends ListCommandExecutionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListCommandExecutionsCommand}.
21
+ */
22
+ export interface ListCommandExecutionsCommandOutput extends ListCommandExecutionsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListCommandExecutionsCommand_base: {
25
+ new (input: ListCommandExecutionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListCommandExecutionsCommandInput, ListCommandExecutionsCommandOutput, IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListCommandExecutionsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListCommandExecutionsCommandInput, ListCommandExecutionsCommandOutput, IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>List all command executions.</p>
31
+ * <important>
32
+ * <p>You must provide only the
33
+ * <code>startedTimeFilter</code> or the <code>completedTimeFilter</code> information. If you
34
+ * provide both time filters, the API will generate an error.
35
+ * You can use this information to find command executions that started within
36
+ * a specific timeframe.</p>
37
+ * </important>
38
+ * @example
39
+ * Use a bare-bones client and the command you need to make an API call.
40
+ * ```javascript
41
+ * import { IoTClient, ListCommandExecutionsCommand } from "@aws-sdk/client-iot"; // ES Modules import
42
+ * // const { IoTClient, ListCommandExecutionsCommand } = require("@aws-sdk/client-iot"); // CommonJS import
43
+ * const client = new IoTClient(config);
44
+ * const input = { // ListCommandExecutionsRequest
45
+ * maxResults: Number("int"),
46
+ * nextToken: "STRING_VALUE",
47
+ * namespace: "AWS-IoT" || "AWS-IoT-FleetWise",
48
+ * status: "CREATED" || "IN_PROGRESS" || "SUCCEEDED" || "FAILED" || "REJECTED" || "TIMED_OUT",
49
+ * sortOrder: "ASCENDING" || "DESCENDING",
50
+ * startedTimeFilter: { // TimeFilter
51
+ * after: "STRING_VALUE",
52
+ * before: "STRING_VALUE",
53
+ * },
54
+ * completedTimeFilter: {
55
+ * after: "STRING_VALUE",
56
+ * before: "STRING_VALUE",
57
+ * },
58
+ * targetArn: "STRING_VALUE",
59
+ * commandArn: "STRING_VALUE",
60
+ * };
61
+ * const command = new ListCommandExecutionsCommand(input);
62
+ * const response = await client.send(command);
63
+ * // { // ListCommandExecutionsResponse
64
+ * // commandExecutions: [ // CommandExecutionSummaryList
65
+ * // { // CommandExecutionSummary
66
+ * // commandArn: "STRING_VALUE",
67
+ * // executionId: "STRING_VALUE",
68
+ * // targetArn: "STRING_VALUE",
69
+ * // status: "CREATED" || "IN_PROGRESS" || "SUCCEEDED" || "FAILED" || "REJECTED" || "TIMED_OUT",
70
+ * // createdAt: new Date("TIMESTAMP"),
71
+ * // startedAt: new Date("TIMESTAMP"),
72
+ * // completedAt: new Date("TIMESTAMP"),
73
+ * // },
74
+ * // ],
75
+ * // nextToken: "STRING_VALUE",
76
+ * // };
77
+ *
78
+ * ```
79
+ *
80
+ * @param ListCommandExecutionsCommandInput - {@link ListCommandExecutionsCommandInput}
81
+ * @returns {@link ListCommandExecutionsCommandOutput}
82
+ * @see {@link ListCommandExecutionsCommandInput} for command's `input` shape.
83
+ * @see {@link ListCommandExecutionsCommandOutput} for command's `response` shape.
84
+ * @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape.
85
+ *
86
+ * @throws {@link InternalServerException} (server fault)
87
+ * <p>Internal error from the service that indicates an unexpected error or that the service
88
+ * is unavailable.</p>
89
+ *
90
+ * @throws {@link ResourceNotFoundException} (client fault)
91
+ * <p>The specified resource does not exist.</p>
92
+ *
93
+ * @throws {@link ThrottlingException} (client fault)
94
+ * <p>The rate exceeds the limit.</p>
95
+ *
96
+ * @throws {@link ValidationException} (client fault)
97
+ * <p>The request is not valid.</p>
98
+ *
99
+ * @throws {@link IoTServiceException}
100
+ * <p>Base exception class for all service exceptions from IoT service.</p>
101
+ *
102
+ * @public
103
+ */
104
+ export declare class ListCommandExecutionsCommand extends ListCommandExecutionsCommand_base {
105
+ /** @internal type navigation helper, not in runtime. */
106
+ protected static __types: {
107
+ api: {
108
+ input: ListCommandExecutionsRequest;
109
+ output: ListCommandExecutionsResponse;
110
+ };
111
+ sdk: {
112
+ input: ListCommandExecutionsCommandInput;
113
+ output: ListCommandExecutionsCommandOutput;
114
+ };
115
+ };
116
+ }
@@ -0,0 +1,96 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
4
+ import { ListCommandsRequest, ListCommandsResponse } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListCommandsCommand}.
14
+ */
15
+ export interface ListCommandsCommandInput extends ListCommandsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListCommandsCommand}.
21
+ */
22
+ export interface ListCommandsCommandOutput extends ListCommandsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListCommandsCommand_base: {
25
+ new (input: ListCommandsCommandInput): import("@smithy/smithy-client").CommandImpl<ListCommandsCommandInput, ListCommandsCommandOutput, IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListCommandsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListCommandsCommandInput, ListCommandsCommandOutput, IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>List all commands in your account.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { IoTClient, ListCommandsCommand } from "@aws-sdk/client-iot"; // ES Modules import
35
+ * // const { IoTClient, ListCommandsCommand } = require("@aws-sdk/client-iot"); // CommonJS import
36
+ * const client = new IoTClient(config);
37
+ * const input = { // ListCommandsRequest
38
+ * maxResults: Number("int"),
39
+ * nextToken: "STRING_VALUE",
40
+ * namespace: "AWS-IoT" || "AWS-IoT-FleetWise",
41
+ * commandParameterName: "STRING_VALUE",
42
+ * sortOrder: "ASCENDING" || "DESCENDING",
43
+ * };
44
+ * const command = new ListCommandsCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListCommandsResponse
47
+ * // commands: [ // CommandSummaryList
48
+ * // { // CommandSummary
49
+ * // commandArn: "STRING_VALUE",
50
+ * // commandId: "STRING_VALUE",
51
+ * // displayName: "STRING_VALUE",
52
+ * // deprecated: true || false,
53
+ * // createdAt: new Date("TIMESTAMP"),
54
+ * // lastUpdatedAt: new Date("TIMESTAMP"),
55
+ * // pendingDeletion: true || false,
56
+ * // },
57
+ * // ],
58
+ * // nextToken: "STRING_VALUE",
59
+ * // };
60
+ *
61
+ * ```
62
+ *
63
+ * @param ListCommandsCommandInput - {@link ListCommandsCommandInput}
64
+ * @returns {@link ListCommandsCommandOutput}
65
+ * @see {@link ListCommandsCommandInput} for command's `input` shape.
66
+ * @see {@link ListCommandsCommandOutput} for command's `response` shape.
67
+ * @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape.
68
+ *
69
+ * @throws {@link InternalServerException} (server fault)
70
+ * <p>Internal error from the service that indicates an unexpected error or that the service
71
+ * is unavailable.</p>
72
+ *
73
+ * @throws {@link ThrottlingException} (client fault)
74
+ * <p>The rate exceeds the limit.</p>
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ * <p>The request is not valid.</p>
78
+ *
79
+ * @throws {@link IoTServiceException}
80
+ * <p>Base exception class for all service exceptions from IoT service.</p>
81
+ *
82
+ * @public
83
+ */
84
+ export declare class ListCommandsCommand extends ListCommandsCommand_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: ListCommandsRequest;
89
+ output: ListCommandsResponse;
90
+ };
91
+ sdk: {
92
+ input: ListCommandsCommandInput;
93
+ output: ListCommandsCommandOutput;
94
+ };
95
+ };
96
+ }
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
4
- import { ListDetectMitigationActionsExecutionsRequest, ListDetectMitigationActionsExecutionsResponse } from "../models/models_1";
4
+ import { ListDetectMitigationActionsExecutionsRequest } from "../models/models_1";
5
+ import { ListDetectMitigationActionsExecutionsResponse } from "../models/models_2";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
4
- import { ListDetectMitigationActionsTasksRequest, ListDetectMitigationActionsTasksResponse } from "../models/models_1";
4
+ import { ListDetectMitigationActionsTasksRequest, ListDetectMitigationActionsTasksResponse } from "../models/models_2";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
4
- import { ListDimensionsRequest, ListDimensionsResponse } from "../models/models_1";
4
+ import { ListDimensionsRequest, ListDimensionsResponse } from "../models/models_2";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
4
- import { ListDomainConfigurationsRequest, ListDomainConfigurationsResponse } from "../models/models_1";
4
+ import { ListDomainConfigurationsRequest, ListDomainConfigurationsResponse } from "../models/models_2";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
4
- import { ListFleetMetricsRequest, ListFleetMetricsResponse } from "../models/models_1";
4
+ import { ListFleetMetricsRequest, ListFleetMetricsResponse } from "../models/models_2";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
4
- import { ListIndicesRequest, ListIndicesResponse } from "../models/models_1";
4
+ import { ListIndicesRequest, ListIndicesResponse } from "../models/models_2";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
4
- import { ListJobExecutionsForJobRequest, ListJobExecutionsForJobResponse } from "../models/models_1";
4
+ import { ListJobExecutionsForJobRequest, ListJobExecutionsForJobResponse } from "../models/models_2";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
4
- import { ListJobExecutionsForThingRequest, ListJobExecutionsForThingResponse } from "../models/models_1";
4
+ import { ListJobExecutionsForThingRequest, ListJobExecutionsForThingResponse } from "../models/models_2";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
4
- import { ListJobTemplatesRequest } from "../models/models_1";
5
- import { ListJobTemplatesResponse } from "../models/models_2";
4
+ import { ListJobTemplatesRequest, ListJobTemplatesResponse } from "../models/models_2";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
4
- import { ListJobsRequest, ListJobsResponse } from "../models/models_1";
4
+ import { ListJobsRequest, ListJobsResponse } from "../models/models_2";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -0,0 +1,94 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
4
+ import { UpdateCommandRequest, UpdateCommandResponse } from "../models/models_2";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateCommandCommand}.
14
+ */
15
+ export interface UpdateCommandCommandInput extends UpdateCommandRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateCommandCommand}.
21
+ */
22
+ export interface UpdateCommandCommandOutput extends UpdateCommandResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateCommandCommand_base: {
25
+ new (input: UpdateCommandCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCommandCommandInput, UpdateCommandCommandOutput, IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateCommandCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCommandCommandInput, UpdateCommandCommandOutput, IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Update information about a command or mark a command for deprecation.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { IoTClient, UpdateCommandCommand } from "@aws-sdk/client-iot"; // ES Modules import
35
+ * // const { IoTClient, UpdateCommandCommand } = require("@aws-sdk/client-iot"); // CommonJS import
36
+ * const client = new IoTClient(config);
37
+ * const input = { // UpdateCommandRequest
38
+ * commandId: "STRING_VALUE", // required
39
+ * displayName: "STRING_VALUE",
40
+ * description: "STRING_VALUE",
41
+ * deprecated: true || false,
42
+ * };
43
+ * const command = new UpdateCommandCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // UpdateCommandResponse
46
+ * // commandId: "STRING_VALUE",
47
+ * // displayName: "STRING_VALUE",
48
+ * // description: "STRING_VALUE",
49
+ * // deprecated: true || false,
50
+ * // lastUpdatedAt: new Date("TIMESTAMP"),
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param UpdateCommandCommandInput - {@link UpdateCommandCommandInput}
56
+ * @returns {@link UpdateCommandCommandOutput}
57
+ * @see {@link UpdateCommandCommandInput} for command's `input` shape.
58
+ * @see {@link UpdateCommandCommandOutput} for command's `response` shape.
59
+ * @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape.
60
+ *
61
+ * @throws {@link ConflictException} (client fault)
62
+ * <p>The request conflicts with the current state of the resource.</p>
63
+ *
64
+ * @throws {@link InternalServerException} (server fault)
65
+ * <p>Internal error from the service that indicates an unexpected error or that the service
66
+ * is unavailable.</p>
67
+ *
68
+ * @throws {@link ResourceNotFoundException} (client fault)
69
+ * <p>The specified resource does not exist.</p>
70
+ *
71
+ * @throws {@link ThrottlingException} (client fault)
72
+ * <p>The rate exceeds the limit.</p>
73
+ *
74
+ * @throws {@link ValidationException} (client fault)
75
+ * <p>The request is not valid.</p>
76
+ *
77
+ * @throws {@link IoTServiceException}
78
+ * <p>Base exception class for all service exceptions from IoT service.</p>
79
+ *
80
+ * @public
81
+ */
82
+ export declare class UpdateCommandCommand extends UpdateCommandCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: UpdateCommandRequest;
87
+ output: UpdateCommandResponse;
88
+ };
89
+ sdk: {
90
+ input: UpdateCommandCommandInput;
91
+ output: UpdateCommandCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -55,7 +55,7 @@ declare const UpdatePackageCommand_base: {
55
55
  * @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape.
56
56
  *
57
57
  * @throws {@link ConflictException} (client fault)
58
- * <p>A resource with the same name already exists.</p>
58
+ * <p>The request conflicts with the current state of the resource.</p>
59
59
  *
60
60
  * @throws {@link InternalServerException} (server fault)
61
61
  * <p>Internal error from the service that indicates an unexpected error or that the service