@aws-sdk/client-iot 3.857.0 → 3.858.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 (35) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +101 -0
  3. package/dist-es/IoT.js +4 -0
  4. package/dist-es/commands/DescribeEncryptionConfigurationCommand.js +22 -0
  5. package/dist-es/commands/UpdateEncryptionConfigurationCommand.js +22 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_1.js +8 -0
  8. package/dist-es/protocols/Aws_restJson1.js +51 -0
  9. package/dist-types/IoT.d.ts +15 -0
  10. package/dist-types/IoTClient.d.ts +4 -2
  11. package/dist-types/commands/CreateTopicRuleCommand.d.ts +3 -0
  12. package/dist-types/commands/CreateTopicRuleDestinationCommand.d.ts +3 -0
  13. package/dist-types/commands/DescribeEncryptionConfigurationCommand.d.ts +95 -0
  14. package/dist-types/commands/ListCommandExecutionsCommand.d.ts +2 -1
  15. package/dist-types/commands/ListCommandsCommand.d.ts +1 -1
  16. package/dist-types/commands/ListCustomMetricsCommand.d.ts +1 -2
  17. package/dist-types/commands/ListTopicRulesCommand.d.ts +3 -0
  18. package/dist-types/commands/TransferCertificateCommand.d.ts +18 -2
  19. package/dist-types/commands/UpdateEncryptionConfigurationCommand.d.ts +106 -0
  20. package/dist-types/commands/index.d.ts +2 -0
  21. package/dist-types/models/models_1.d.ts +87 -131
  22. package/dist-types/models/models_2.d.ts +159 -2
  23. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  24. package/dist-types/ts3.4/IoT.d.ts +35 -0
  25. package/dist-types/ts3.4/IoTClient.d.ts +12 -0
  26. package/dist-types/ts3.4/commands/DescribeEncryptionConfigurationCommand.d.ts +51 -0
  27. package/dist-types/ts3.4/commands/ListCommandExecutionsCommand.d.ts +2 -4
  28. package/dist-types/ts3.4/commands/ListCommandsCommand.d.ts +1 -1
  29. package/dist-types/ts3.4/commands/ListCustomMetricsCommand.d.ts +4 -2
  30. package/dist-types/ts3.4/commands/UpdateEncryptionConfigurationCommand.d.ts +51 -0
  31. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  32. package/dist-types/ts3.4/models/models_1.d.ts +25 -28
  33. package/dist-types/ts3.4/models/models_2.d.ts +38 -0
  34. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  35. package/package.json +5 -5
@@ -0,0 +1,95 @@
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 { DescribeEncryptionConfigurationRequest, DescribeEncryptionConfigurationResponse } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeEncryptionConfigurationCommand}.
14
+ */
15
+ export interface DescribeEncryptionConfigurationCommandInput extends DescribeEncryptionConfigurationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeEncryptionConfigurationCommand}.
21
+ */
22
+ export interface DescribeEncryptionConfigurationCommandOutput extends DescribeEncryptionConfigurationResponse, __MetadataBearer {
23
+ }
24
+ declare const DescribeEncryptionConfigurationCommand_base: {
25
+ new (input: DescribeEncryptionConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeEncryptionConfigurationCommandInput, DescribeEncryptionConfigurationCommandOutput, IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [DescribeEncryptionConfigurationCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeEncryptionConfigurationCommandInput, DescribeEncryptionConfigurationCommandOutput, IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves the encryption configuration for resources and data of your Amazon Web Services account in
31
+ * Amazon Web Services IoT Core. For more information, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/key-management.html">Key management in IoT</a> from
32
+ * the <i>Amazon Web Services IoT Core Developer Guide</i>.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { IoTClient, DescribeEncryptionConfigurationCommand } from "@aws-sdk/client-iot"; // ES Modules import
37
+ * // const { IoTClient, DescribeEncryptionConfigurationCommand } = require("@aws-sdk/client-iot"); // CommonJS import
38
+ * const client = new IoTClient(config);
39
+ * const input = {};
40
+ * const command = new DescribeEncryptionConfigurationCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // DescribeEncryptionConfigurationResponse
43
+ * // encryptionType: "CUSTOMER_MANAGED_KMS_KEY" || "AWS_OWNED_KMS_KEY",
44
+ * // kmsKeyArn: "STRING_VALUE",
45
+ * // kmsAccessRoleArn: "STRING_VALUE",
46
+ * // configurationDetails: { // ConfigurationDetails
47
+ * // configurationStatus: "HEALTHY" || "UNHEALTHY",
48
+ * // errorCode: "STRING_VALUE",
49
+ * // errorMessage: "STRING_VALUE",
50
+ * // },
51
+ * // lastModifiedDate: new Date("TIMESTAMP"),
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param DescribeEncryptionConfigurationCommandInput - {@link DescribeEncryptionConfigurationCommandInput}
57
+ * @returns {@link DescribeEncryptionConfigurationCommandOutput}
58
+ * @see {@link DescribeEncryptionConfigurationCommandInput} for command's `input` shape.
59
+ * @see {@link DescribeEncryptionConfigurationCommandOutput} for command's `response` shape.
60
+ * @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape.
61
+ *
62
+ * @throws {@link InternalFailureException} (server fault)
63
+ * <p>An unexpected error has occurred.</p>
64
+ *
65
+ * @throws {@link InvalidRequestException} (client fault)
66
+ * <p>The request is not valid.</p>
67
+ *
68
+ * @throws {@link ServiceUnavailableException} (server fault)
69
+ * <p>The service is temporarily unavailable.</p>
70
+ *
71
+ * @throws {@link ThrottlingException} (client fault)
72
+ * <p>The rate exceeds the limit.</p>
73
+ *
74
+ * @throws {@link UnauthorizedException} (client fault)
75
+ * <p>You are not authorized to perform this operation.</p>
76
+ *
77
+ * @throws {@link IoTServiceException}
78
+ * <p>Base exception class for all service exceptions from IoT service.</p>
79
+ *
80
+ *
81
+ * @public
82
+ */
83
+ export declare class DescribeEncryptionConfigurationCommand extends DescribeEncryptionConfigurationCommand_base {
84
+ /** @internal type navigation helper, not in runtime. */
85
+ protected static __types: {
86
+ api: {
87
+ input: {};
88
+ output: DescribeEncryptionConfigurationResponse;
89
+ };
90
+ sdk: {
91
+ input: DescribeEncryptionConfigurationCommandInput;
92
+ output: DescribeEncryptionConfigurationCommandOutput;
93
+ };
94
+ };
95
+ }
@@ -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 { ListCommandExecutionsRequest, ListCommandExecutionsResponse } from "../models/models_1";
4
+ import { ListCommandExecutionsRequest } from "../models/models_1";
5
+ import { ListCommandExecutionsResponse } 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 { ListCommandsRequest, ListCommandsResponse } from "../models/models_1";
4
+ import { ListCommandsRequest, ListCommandsResponse } 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 { ListCustomMetricsRequest } from "../models/models_1";
5
- import { ListCustomMetricsResponse } from "../models/models_2";
4
+ import { ListCustomMetricsRequest, ListCustomMetricsResponse } from "../models/models_2";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -73,6 +73,9 @@ declare const ListTopicRulesCommand_base: {
73
73
  * @throws {@link ServiceUnavailableException} (server fault)
74
74
  * <p>The service is temporarily unavailable.</p>
75
75
  *
76
+ * @throws {@link UnauthorizedException} (client fault)
77
+ * <p>You are not authorized to perform this operation.</p>
78
+ *
76
79
  * @throws {@link IoTServiceException}
77
80
  * <p>Base exception class for all service exceptions from IoT service.</p>
78
81
  *
@@ -30,12 +30,28 @@ declare const TransferCertificateCommand_base: {
30
30
  * <p>Transfers the specified certificate to the specified Amazon Web Services account.</p>
31
31
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">TransferCertificate</a> action.</p>
32
32
  * <p>You can cancel the transfer until it is acknowledged by the recipient.</p>
33
- * <p>No notification is sent to the transfer destination's account. It is up to the caller
33
+ * <p>No notification is sent to the transfer destination's account. It's up to the caller
34
34
  * to notify the transfer target.</p>
35
- * <p>The certificate being transferred must not be in the ACTIVE state. You can use the
35
+ * <p>The certificate being transferred must not be in the <code>ACTIVE</code> state. You can use the
36
36
  * <a>UpdateCertificate</a> action to deactivate it.</p>
37
37
  * <p>The certificate must not have any policies attached to it. You can use the
38
38
  * <a>DetachPolicy</a> action to detach them.</p>
39
+ * <p>
40
+ * <b>Customer managed key behavior:</b> When you use a customer managed key to secure your data and then transfer
41
+ * the key to a customer in a different account using the <a>TransferCertificate</a> operation, the certificates will no longer be protected by their
42
+ * customer managed key configuration. During the transfer process, certificates are encrypted using IoT owned keys.</p>
43
+ * <p>While a certificate is in the <b>PENDING_TRANSFER</b> state, it's always protected by IoT owned keys, regardless of the customer managed key configuration of either the source or destination account. </p>
44
+ * <p>Once the transfer is completed through <a>AcceptCertificateTransfer</a>, <a>RejectCertificateTransfer</a>, or
45
+ * <a>CancelCertificateTransfer</a>, the certificate will be protected by the customer managed key configuration of the account that owns
46
+ * the certificate after the transfer operation:</p>
47
+ * <ul>
48
+ * <li>
49
+ * <p>If the transfer is accepted: The certificate is protected by the destination account's customer managed key configuration.</p>
50
+ * </li>
51
+ * <li>
52
+ * <p>If the transfer is rejected or cancelled: The certificate is protected by the source account's customer managed key configuration.</p>
53
+ * </li>
54
+ * </ul>
39
55
  * @example
40
56
  * Use a bare-bones client and the command you need to make an API call.
41
57
  * ```javascript
@@ -0,0 +1,106 @@
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 { UpdateEncryptionConfigurationRequest, UpdateEncryptionConfigurationResponse } from "../models/models_2";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateEncryptionConfigurationCommand}.
14
+ */
15
+ export interface UpdateEncryptionConfigurationCommandInput extends UpdateEncryptionConfigurationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateEncryptionConfigurationCommand}.
21
+ */
22
+ export interface UpdateEncryptionConfigurationCommandOutput extends UpdateEncryptionConfigurationResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateEncryptionConfigurationCommand_base: {
25
+ new (input: UpdateEncryptionConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateEncryptionConfigurationCommandInput, UpdateEncryptionConfigurationCommandOutput, IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateEncryptionConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateEncryptionConfigurationCommandInput, UpdateEncryptionConfigurationCommandOutput, IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates the encryption configuration. By default, all Amazon Web Services IoT Core data at rest is
31
+ * encrypted using Amazon Web Services owned keys. Amazon Web Services IoT Core also supports symmetric customer managed keys
32
+ * from Amazon Web Services Key Management Service (KMS). With customer managed keys, you create, own, and
33
+ * manage the KMS keys in your Amazon Web Services account. For more information, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/data-encryption.html">Data
34
+ * encryption</a> in the <i>Amazon Web Services IoT Core Developer Guide</i>.</p>
35
+ * @example
36
+ * Use a bare-bones client and the command you need to make an API call.
37
+ * ```javascript
38
+ * import { IoTClient, UpdateEncryptionConfigurationCommand } from "@aws-sdk/client-iot"; // ES Modules import
39
+ * // const { IoTClient, UpdateEncryptionConfigurationCommand } = require("@aws-sdk/client-iot"); // CommonJS import
40
+ * const client = new IoTClient(config);
41
+ * const input = { // UpdateEncryptionConfigurationRequest
42
+ * encryptionType: "CUSTOMER_MANAGED_KMS_KEY" || "AWS_OWNED_KMS_KEY", // required
43
+ * kmsKeyArn: "STRING_VALUE",
44
+ * kmsAccessRoleArn: "STRING_VALUE",
45
+ * };
46
+ * const command = new UpdateEncryptionConfigurationCommand(input);
47
+ * const response = await client.send(command);
48
+ * // {};
49
+ *
50
+ * ```
51
+ *
52
+ * @param UpdateEncryptionConfigurationCommandInput - {@link UpdateEncryptionConfigurationCommandInput}
53
+ * @returns {@link UpdateEncryptionConfigurationCommandOutput}
54
+ * @see {@link UpdateEncryptionConfigurationCommandInput} for command's `input` shape.
55
+ * @see {@link UpdateEncryptionConfigurationCommandOutput} for command's `response` shape.
56
+ * @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape.
57
+ *
58
+ * @throws {@link InternalFailureException} (server fault)
59
+ * <p>An unexpected error has occurred.</p>
60
+ *
61
+ * @throws {@link InvalidRequestException} (client fault)
62
+ * <p>The request is not valid.</p>
63
+ *
64
+ * @throws {@link ServiceUnavailableException} (server fault)
65
+ * <p>The service is temporarily unavailable.</p>
66
+ *
67
+ * @throws {@link ThrottlingException} (client fault)
68
+ * <p>The rate exceeds the limit.</p>
69
+ *
70
+ * @throws {@link UnauthorizedException} (client fault)
71
+ * <p>You are not authorized to perform this operation.</p>
72
+ *
73
+ * @throws {@link IoTServiceException}
74
+ * <p>Base exception class for all service exceptions from IoT service.</p>
75
+ *
76
+ *
77
+ * @example UpdateEncryptionConfiguration example
78
+ * ```javascript
79
+ * // This operation updates the encryption configuration.
80
+ * const input = {
81
+ * encryptionType: "CUSTOMER_MANAGED_KMS_KEY",
82
+ * kmsAccessRoleArn: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
83
+ * kmsKeyArn: "arn:aws:iam:us-west-2:111122223333:role/myrole"
84
+ * };
85
+ * const command = new UpdateEncryptionConfigurationCommand(input);
86
+ * const response = await client.send(command);
87
+ * /* response is
88
+ * { /* metadata only *\/ }
89
+ * *\/
90
+ * ```
91
+ *
92
+ * @public
93
+ */
94
+ export declare class UpdateEncryptionConfigurationCommand extends UpdateEncryptionConfigurationCommand_base {
95
+ /** @internal type navigation helper, not in runtime. */
96
+ protected static __types: {
97
+ api: {
98
+ input: UpdateEncryptionConfigurationRequest;
99
+ output: {};
100
+ };
101
+ sdk: {
102
+ input: UpdateEncryptionConfigurationCommandInput;
103
+ output: UpdateEncryptionConfigurationCommandOutput;
104
+ };
105
+ };
106
+ }
@@ -99,6 +99,7 @@ export * from "./DescribeDefaultAuthorizerCommand";
99
99
  export * from "./DescribeDetectMitigationActionsTaskCommand";
100
100
  export * from "./DescribeDimensionCommand";
101
101
  export * from "./DescribeDomainConfigurationCommand";
102
+ export * from "./DescribeEncryptionConfigurationCommand";
102
103
  export * from "./DescribeEndpointCommand";
103
104
  export * from "./DescribeEventConfigurationsCommand";
104
105
  export * from "./DescribeFleetMetricCommand";
@@ -249,6 +250,7 @@ export * from "./UpdateCustomMetricCommand";
249
250
  export * from "./UpdateDimensionCommand";
250
251
  export * from "./UpdateDomainConfigurationCommand";
251
252
  export * from "./UpdateDynamicThingGroupCommand";
253
+ export * from "./UpdateEncryptionConfigurationCommand";
252
254
  export * from "./UpdateEventConfigurationsCommand";
253
255
  export * from "./UpdateFleetMetricCommand";
254
256
  export * from "./UpdateIndexingConfigurationCommand";
@@ -2102,6 +2102,93 @@ export interface DescribeDomainConfigurationResponse {
2102
2102
  */
2103
2103
  clientCertificateConfig?: ClientCertificateConfig | undefined;
2104
2104
  }
2105
+ /**
2106
+ * @public
2107
+ */
2108
+ export interface DescribeEncryptionConfigurationRequest {
2109
+ }
2110
+ /**
2111
+ * @public
2112
+ * @enum
2113
+ */
2114
+ export declare const ConfigurationStatus: {
2115
+ readonly HEALTHY: "HEALTHY";
2116
+ readonly UNHEALTHY: "UNHEALTHY";
2117
+ };
2118
+ /**
2119
+ * @public
2120
+ */
2121
+ export type ConfigurationStatus = (typeof ConfigurationStatus)[keyof typeof ConfigurationStatus];
2122
+ /**
2123
+ * <p>The encryption configuration details that include the status information of the Amazon Web Services Key Management Service (KMS) key and the KMS access role.</p>
2124
+ * @public
2125
+ */
2126
+ export interface ConfigurationDetails {
2127
+ /**
2128
+ * <p>The health status of KMS key and KMS access role. If either KMS key or KMS access role
2129
+ * is <code>UNHEALTHY</code>, the return value will be <code>UNHEALTHY</code>. To use a
2130
+ * customer-managed KMS key, the value of <code>configurationStatus</code> must be
2131
+ * <code>HEALTHY</code>. </p>
2132
+ * @public
2133
+ */
2134
+ configurationStatus?: ConfigurationStatus | undefined;
2135
+ /**
2136
+ * <p>The error code that indicates either the KMS key or the KMS access role is <code>UNHEALTHY</code>.
2137
+ * Valid values: <code>KMS_KEY_VALIDATION_ERROR</code> and <code>ROLE_VALIDATION_ERROR</code>.
2138
+ * </p>
2139
+ * @public
2140
+ */
2141
+ errorCode?: string | undefined;
2142
+ /**
2143
+ * <p>The detailed error message that corresponds to the <code>errorCode</code>.</p>
2144
+ * @public
2145
+ */
2146
+ errorMessage?: string | undefined;
2147
+ }
2148
+ /**
2149
+ * @public
2150
+ * @enum
2151
+ */
2152
+ export declare const EncryptionType: {
2153
+ readonly AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY";
2154
+ readonly CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY";
2155
+ };
2156
+ /**
2157
+ * @public
2158
+ */
2159
+ export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType];
2160
+ /**
2161
+ * @public
2162
+ */
2163
+ export interface DescribeEncryptionConfigurationResponse {
2164
+ /**
2165
+ * <p>The type of the Amazon Web Services Key Management Service (KMS) key.</p>
2166
+ * @public
2167
+ */
2168
+ encryptionType?: EncryptionType | undefined;
2169
+ /**
2170
+ * <p>The Amazon Resource Name (ARN) of the IAM role assumed by Amazon Web Services IoT Core to call KMS on
2171
+ * behalf of the customer.</p>
2172
+ * @public
2173
+ */
2174
+ kmsKeyArn?: string | undefined;
2175
+ /**
2176
+ * <p>The ARN of the customer-managed KMS key.</p>
2177
+ * @public
2178
+ */
2179
+ kmsAccessRoleArn?: string | undefined;
2180
+ /**
2181
+ * <p>The encryption configuration details that include the status information of the KMS key
2182
+ * and the KMS access role.</p>
2183
+ * @public
2184
+ */
2185
+ configurationDetails?: ConfigurationDetails | undefined;
2186
+ /**
2187
+ * <p>The date when encryption configuration is last updated.</p>
2188
+ * @public
2189
+ */
2190
+ lastModifiedDate?: Date | undefined;
2191
+ }
2105
2192
  /**
2106
2193
  * <p>The input for the DescribeEndpoint operation.</p>
2107
2194
  * @public
@@ -6399,137 +6486,6 @@ export interface CommandExecutionSummary {
6399
6486
  */
6400
6487
  completedAt?: Date | undefined;
6401
6488
  }
6402
- /**
6403
- * @public
6404
- */
6405
- export interface ListCommandExecutionsResponse {
6406
- /**
6407
- * <p>The list of command executions.</p>
6408
- * @public
6409
- */
6410
- commandExecutions?: CommandExecutionSummary[] | undefined;
6411
- /**
6412
- * <p>The token to use to get the next set of results, or <code>null</code> if there are no
6413
- * additional results.</p>
6414
- * @public
6415
- */
6416
- nextToken?: string | undefined;
6417
- }
6418
- /**
6419
- * @public
6420
- */
6421
- export interface ListCommandsRequest {
6422
- /**
6423
- * <p>The maximum number of results to return in this operation. By default, the API returns
6424
- * up to a maximum of 25 results. You can override this default value to return up to a
6425
- * maximum of 100 results for this operation.</p>
6426
- * @public
6427
- */
6428
- maxResults?: number | undefined;
6429
- /**
6430
- * <p>To retrieve the next set of results, the <code>nextToken</code> value from a previous
6431
- * response; otherwise <code>null</code> to receive the first set of results.</p>
6432
- * @public
6433
- */
6434
- nextToken?: string | undefined;
6435
- /**
6436
- * <p>The namespace of the command. By default, the API returns all commands that have been
6437
- * created for both <code>AWS-IoT</code> and <code>AWS-IoT-FleetWise</code> namespaces. You
6438
- * can override this default value if you want to return all commands that have been
6439
- * created only for a specific namespace.</p>
6440
- * @public
6441
- */
6442
- namespace?: CommandNamespace | undefined;
6443
- /**
6444
- * <p>A filter that can be used to display the list of commands that have a specific command
6445
- * parameter name.</p>
6446
- * @public
6447
- */
6448
- commandParameterName?: string | undefined;
6449
- /**
6450
- * <p>Specify whether to list the commands that you have created in the ascending or
6451
- * descending order. By default, the API returns all commands in the descending order based
6452
- * on the time that they were created.</p>
6453
- * @public
6454
- */
6455
- sortOrder?: SortOrder | undefined;
6456
- }
6457
- /**
6458
- * <p>Summary information about a particular command resource.</p>
6459
- * @public
6460
- */
6461
- export interface CommandSummary {
6462
- /**
6463
- * <p>The Amazon Resource Name (ARN) of the command.</p>
6464
- * @public
6465
- */
6466
- commandArn?: string | undefined;
6467
- /**
6468
- * <p>The unique identifier of the command.</p>
6469
- * @public
6470
- */
6471
- commandId?: string | undefined;
6472
- /**
6473
- * <p>The display name of the command.</p>
6474
- * @public
6475
- */
6476
- displayName?: string | undefined;
6477
- /**
6478
- * <p>Indicates whether the command has been deprecated.</p>
6479
- * @public
6480
- */
6481
- deprecated?: boolean | undefined;
6482
- /**
6483
- * <p>The timestamp, when the command was created.</p>
6484
- * @public
6485
- */
6486
- createdAt?: Date | undefined;
6487
- /**
6488
- * <p>The timestamp, when the command was last updated.</p>
6489
- * @public
6490
- */
6491
- lastUpdatedAt?: Date | undefined;
6492
- /**
6493
- * <p>Indicates whether the command is pending deletion.</p>
6494
- * @public
6495
- */
6496
- pendingDeletion?: boolean | undefined;
6497
- }
6498
- /**
6499
- * @public
6500
- */
6501
- export interface ListCommandsResponse {
6502
- /**
6503
- * <p>The list of commands.</p>
6504
- * @public
6505
- */
6506
- commands?: CommandSummary[] | undefined;
6507
- /**
6508
- * <p>The token to use to get the next set of results, or <code>null</code> if there are no
6509
- * additional results.</p>
6510
- * @public
6511
- */
6512
- nextToken?: string | undefined;
6513
- }
6514
- /**
6515
- * @public
6516
- */
6517
- export interface ListCustomMetricsRequest {
6518
- /**
6519
- * <p>
6520
- * The token for the next set of results.
6521
- * </p>
6522
- * @public
6523
- */
6524
- nextToken?: string | undefined;
6525
- /**
6526
- * <p>
6527
- * The maximum number of results to return at one time. The default is 25.
6528
- * </p>
6529
- * @public
6530
- */
6531
- maxResults?: number | undefined;
6532
- }
6533
6489
  /**
6534
6490
  * @internal
6535
6491
  */