@aws-sdk/client-iot 3.857.0 → 3.859.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
@@ -1,7 +1,138 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { IoTServiceException as __BaseException } from "./IoTServiceException";
3
- import { AbortConfig, AggregationType, AlertTarget, AlertTargetType, ApplicationProtocol, AttributePayload, AuditCheckConfiguration, AuditFrequency, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuditNotificationType, AuthenticationType, AuthInfo, AuthorizerConfig, AuthorizerStatus, AuthResult, AutoRegistrationStatus, Behavior, BillingGroupProperties, CertificateProviderOperation, ClientCertificateConfig, CustomMetricType, DayOfWeek, DimensionType, DimensionValueOperator, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MetricsExportConfig, MetricToRetain, MetricValue, MitigationActionParams, OTAUpdateStatus, PackageVersionArtifact, PackageVersionStatus, Policy, PresignedUrlConfig, ProvisioningHook, RelatedResource, ResourceIdentifier, ServerCertificateConfig, ServiceType, StreamFile, Tag, TargetSelection, TemplateType, ThingGroupProperties, ThingPrincipalType, ThingTypeProperties, TimeoutConfig, TlsConfig, TopicRuleDestinationStatus, TopicRulePayload, VerificationState, ViolationEventAdditionalInfo } from "./models_0";
4
- import { BehaviorCriteriaType, CACertificateStatus, CertificateMode, CertificateStatus, Configuration, DetectMitigationActionsTaskSummary, DetectMitigationActionsTaskTarget, DomainConfigurationStatus, EventType, GroupNameAndArn, JobExecutionStatus, JobStatus, LogTargetType, MitigationActionType, RegistrationConfig, Status, ThingGroupIndexingConfiguration, ThingIndexingConfiguration, ThingTypeMetadata, VersionUpdateByJobsConfig, ViolationEventOccurrenceRange } from "./models_1";
3
+ import { AbortConfig, AggregationType, AlertTarget, AlertTargetType, ApplicationProtocol, AttributePayload, AuditCheckConfiguration, AuditFrequency, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuditNotificationType, AuthenticationType, AuthInfo, AuthorizerConfig, AuthorizerStatus, AuthResult, AutoRegistrationStatus, Behavior, BillingGroupProperties, CertificateProviderOperation, ClientCertificateConfig, CommandNamespace, CustomMetricType, DayOfWeek, DimensionType, DimensionValueOperator, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MetricsExportConfig, MetricToRetain, MetricValue, MitigationActionParams, OTAUpdateStatus, PackageVersionArtifact, PackageVersionStatus, Policy, PresignedUrlConfig, ProvisioningHook, RelatedResource, ResourceIdentifier, ServerCertificateConfig, ServiceType, StreamFile, Tag, TargetSelection, TemplateType, ThingGroupProperties, ThingPrincipalType, ThingTypeProperties, TimeoutConfig, TlsConfig, TopicRuleDestinationStatus, TopicRulePayload, VerificationState, ViolationEventAdditionalInfo } from "./models_0";
4
+ import { BehaviorCriteriaType, CACertificateStatus, CertificateMode, CertificateStatus, CommandExecutionSummary, Configuration, DetectMitigationActionsTaskSummary, DetectMitigationActionsTaskTarget, DomainConfigurationStatus, EncryptionType, EventType, GroupNameAndArn, JobExecutionStatus, JobStatus, LogTargetType, MitigationActionType, RegistrationConfig, SortOrder, Status, ThingGroupIndexingConfiguration, ThingIndexingConfiguration, ThingTypeMetadata, VersionUpdateByJobsConfig, ViolationEventOccurrenceRange } from "./models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface ListCommandExecutionsResponse {
9
+ /**
10
+ * <p>The list of command executions.</p>
11
+ * @public
12
+ */
13
+ commandExecutions?: CommandExecutionSummary[] | undefined;
14
+ /**
15
+ * <p>The token to use to get the next set of results, or <code>null</code> if there are no
16
+ * additional results.</p>
17
+ * @public
18
+ */
19
+ nextToken?: string | undefined;
20
+ }
21
+ /**
22
+ * @public
23
+ */
24
+ export interface ListCommandsRequest {
25
+ /**
26
+ * <p>The maximum number of results to return in this operation. By default, the API returns
27
+ * up to a maximum of 25 results. You can override this default value to return up to a
28
+ * maximum of 100 results for this operation.</p>
29
+ * @public
30
+ */
31
+ maxResults?: number | undefined;
32
+ /**
33
+ * <p>To retrieve the next set of results, the <code>nextToken</code> value from a previous
34
+ * response; otherwise <code>null</code> to receive the first set of results.</p>
35
+ * @public
36
+ */
37
+ nextToken?: string | undefined;
38
+ /**
39
+ * <p>The namespace of the command. By default, the API returns all commands that have been
40
+ * created for both <code>AWS-IoT</code> and <code>AWS-IoT-FleetWise</code> namespaces. You
41
+ * can override this default value if you want to return all commands that have been
42
+ * created only for a specific namespace.</p>
43
+ * @public
44
+ */
45
+ namespace?: CommandNamespace | undefined;
46
+ /**
47
+ * <p>A filter that can be used to display the list of commands that have a specific command
48
+ * parameter name.</p>
49
+ * @public
50
+ */
51
+ commandParameterName?: string | undefined;
52
+ /**
53
+ * <p>Specify whether to list the commands that you have created in the ascending or
54
+ * descending order. By default, the API returns all commands in the descending order based
55
+ * on the time that they were created.</p>
56
+ * @public
57
+ */
58
+ sortOrder?: SortOrder | undefined;
59
+ }
60
+ /**
61
+ * <p>Summary information about a particular command resource.</p>
62
+ * @public
63
+ */
64
+ export interface CommandSummary {
65
+ /**
66
+ * <p>The Amazon Resource Name (ARN) of the command.</p>
67
+ * @public
68
+ */
69
+ commandArn?: string | undefined;
70
+ /**
71
+ * <p>The unique identifier of the command.</p>
72
+ * @public
73
+ */
74
+ commandId?: string | undefined;
75
+ /**
76
+ * <p>The display name of the command.</p>
77
+ * @public
78
+ */
79
+ displayName?: string | undefined;
80
+ /**
81
+ * <p>Indicates whether the command has been deprecated.</p>
82
+ * @public
83
+ */
84
+ deprecated?: boolean | undefined;
85
+ /**
86
+ * <p>The timestamp, when the command was created.</p>
87
+ * @public
88
+ */
89
+ createdAt?: Date | undefined;
90
+ /**
91
+ * <p>The timestamp, when the command was last updated.</p>
92
+ * @public
93
+ */
94
+ lastUpdatedAt?: Date | undefined;
95
+ /**
96
+ * <p>Indicates whether the command is pending deletion.</p>
97
+ * @public
98
+ */
99
+ pendingDeletion?: boolean | undefined;
100
+ }
101
+ /**
102
+ * @public
103
+ */
104
+ export interface ListCommandsResponse {
105
+ /**
106
+ * <p>The list of commands.</p>
107
+ * @public
108
+ */
109
+ commands?: CommandSummary[] | undefined;
110
+ /**
111
+ * <p>The token to use to get the next set of results, or <code>null</code> if there are no
112
+ * additional results.</p>
113
+ * @public
114
+ */
115
+ nextToken?: string | undefined;
116
+ }
117
+ /**
118
+ * @public
119
+ */
120
+ export interface ListCustomMetricsRequest {
121
+ /**
122
+ * <p>
123
+ * The token for the next set of results.
124
+ * </p>
125
+ * @public
126
+ */
127
+ nextToken?: string | undefined;
128
+ /**
129
+ * <p>
130
+ * The maximum number of results to return at one time. The default is 25.
131
+ * </p>
132
+ * @public
133
+ */
134
+ maxResults?: number | undefined;
135
+ }
5
136
  /**
6
137
  * @public
7
138
  */
@@ -4853,6 +4984,32 @@ export interface UpdateDynamicThingGroupResponse {
4853
4984
  */
4854
4985
  version?: number | undefined;
4855
4986
  }
4987
+ /**
4988
+ * @public
4989
+ */
4990
+ export interface UpdateEncryptionConfigurationRequest {
4991
+ /**
4992
+ * <p>The type of the Amazon Web Services Key Management Service (KMS) key.</p>
4993
+ * @public
4994
+ */
4995
+ encryptionType: EncryptionType | undefined;
4996
+ /**
4997
+ * <p>The ARN of the customer-managed KMS key.</p>
4998
+ * @public
4999
+ */
5000
+ kmsKeyArn?: string | undefined;
5001
+ /**
5002
+ * <p>The Amazon Resource Name (ARN) of the IAM role assumed by Amazon Web Services IoT Core to call KMS on
5003
+ * behalf of the customer.</p>
5004
+ * @public
5005
+ */
5006
+ kmsAccessRoleArn?: string | undefined;
5007
+ }
5008
+ /**
5009
+ * @public
5010
+ */
5011
+ export interface UpdateEncryptionConfigurationResponse {
5012
+ }
4856
5013
  /**
4857
5014
  * @public
4858
5015
  */
@@ -101,6 +101,7 @@ import { DescribeDefaultAuthorizerCommandInput, DescribeDefaultAuthorizerCommand
101
101
  import { DescribeDetectMitigationActionsTaskCommandInput, DescribeDetectMitigationActionsTaskCommandOutput } from "../commands/DescribeDetectMitigationActionsTaskCommand";
102
102
  import { DescribeDimensionCommandInput, DescribeDimensionCommandOutput } from "../commands/DescribeDimensionCommand";
103
103
  import { DescribeDomainConfigurationCommandInput, DescribeDomainConfigurationCommandOutput } from "../commands/DescribeDomainConfigurationCommand";
104
+ import { DescribeEncryptionConfigurationCommandInput, DescribeEncryptionConfigurationCommandOutput } from "../commands/DescribeEncryptionConfigurationCommand";
104
105
  import { DescribeEndpointCommandInput, DescribeEndpointCommandOutput } from "../commands/DescribeEndpointCommand";
105
106
  import { DescribeEventConfigurationsCommandInput, DescribeEventConfigurationsCommandOutput } from "../commands/DescribeEventConfigurationsCommand";
106
107
  import { DescribeFleetMetricCommandInput, DescribeFleetMetricCommandOutput } from "../commands/DescribeFleetMetricCommand";
@@ -251,6 +252,7 @@ import { UpdateCustomMetricCommandInput, UpdateCustomMetricCommandOutput } from
251
252
  import { UpdateDimensionCommandInput, UpdateDimensionCommandOutput } from "../commands/UpdateDimensionCommand";
252
253
  import { UpdateDomainConfigurationCommandInput, UpdateDomainConfigurationCommandOutput } from "../commands/UpdateDomainConfigurationCommand";
253
254
  import { UpdateDynamicThingGroupCommandInput, UpdateDynamicThingGroupCommandOutput } from "../commands/UpdateDynamicThingGroupCommand";
255
+ import { UpdateEncryptionConfigurationCommandInput, UpdateEncryptionConfigurationCommandOutput } from "../commands/UpdateEncryptionConfigurationCommand";
254
256
  import { UpdateEventConfigurationsCommandInput, UpdateEventConfigurationsCommandOutput } from "../commands/UpdateEventConfigurationsCommand";
255
257
  import { UpdateFleetMetricCommandInput, UpdateFleetMetricCommandOutput } from "../commands/UpdateFleetMetricCommand";
256
258
  import { UpdateIndexingConfigurationCommandInput, UpdateIndexingConfigurationCommandOutput } from "../commands/UpdateIndexingConfigurationCommand";
@@ -674,6 +676,10 @@ export declare const se_DescribeDimensionCommand: (input: DescribeDimensionComma
674
676
  * serializeAws_restJson1DescribeDomainConfigurationCommand
675
677
  */
676
678
  export declare const se_DescribeDomainConfigurationCommand: (input: DescribeDomainConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
679
+ /**
680
+ * serializeAws_restJson1DescribeEncryptionConfigurationCommand
681
+ */
682
+ export declare const se_DescribeEncryptionConfigurationCommand: (input: DescribeEncryptionConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
677
683
  /**
678
684
  * serializeAws_restJson1DescribeEndpointCommand
679
685
  */
@@ -1274,6 +1280,10 @@ export declare const se_UpdateDomainConfigurationCommand: (input: UpdateDomainCo
1274
1280
  * serializeAws_restJson1UpdateDynamicThingGroupCommand
1275
1281
  */
1276
1282
  export declare const se_UpdateDynamicThingGroupCommand: (input: UpdateDynamicThingGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1283
+ /**
1284
+ * serializeAws_restJson1UpdateEncryptionConfigurationCommand
1285
+ */
1286
+ export declare const se_UpdateEncryptionConfigurationCommand: (input: UpdateEncryptionConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1277
1287
  /**
1278
1288
  * serializeAws_restJson1UpdateEventConfigurationsCommand
1279
1289
  */
@@ -1754,6 +1764,10 @@ export declare const de_DescribeDimensionCommand: (output: __HttpResponse, conte
1754
1764
  * deserializeAws_restJson1DescribeDomainConfigurationCommand
1755
1765
  */
1756
1766
  export declare const de_DescribeDomainConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeDomainConfigurationCommandOutput>;
1767
+ /**
1768
+ * deserializeAws_restJson1DescribeEncryptionConfigurationCommand
1769
+ */
1770
+ export declare const de_DescribeEncryptionConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeEncryptionConfigurationCommandOutput>;
1757
1771
  /**
1758
1772
  * deserializeAws_restJson1DescribeEndpointCommand
1759
1773
  */
@@ -2354,6 +2368,10 @@ export declare const de_UpdateDomainConfigurationCommand: (output: __HttpRespons
2354
2368
  * deserializeAws_restJson1UpdateDynamicThingGroupCommand
2355
2369
  */
2356
2370
  export declare const de_UpdateDynamicThingGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateDynamicThingGroupCommandOutput>;
2371
+ /**
2372
+ * deserializeAws_restJson1UpdateEncryptionConfigurationCommand
2373
+ */
2374
+ export declare const de_UpdateEncryptionConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateEncryptionConfigurationCommandOutput>;
2357
2375
  /**
2358
2376
  * deserializeAws_restJson1UpdateEventConfigurationsCommand
2359
2377
  */
@@ -403,6 +403,10 @@ import {
403
403
  DescribeDomainConfigurationCommandInput,
404
404
  DescribeDomainConfigurationCommandOutput,
405
405
  } from "./commands/DescribeDomainConfigurationCommand";
406
+ import {
407
+ DescribeEncryptionConfigurationCommandInput,
408
+ DescribeEncryptionConfigurationCommandOutput,
409
+ } from "./commands/DescribeEncryptionConfigurationCommand";
406
410
  import {
407
411
  DescribeEndpointCommandInput,
408
412
  DescribeEndpointCommandOutput,
@@ -1003,6 +1007,10 @@ import {
1003
1007
  UpdateDynamicThingGroupCommandInput,
1004
1008
  UpdateDynamicThingGroupCommandOutput,
1005
1009
  } from "./commands/UpdateDynamicThingGroupCommand";
1010
+ import {
1011
+ UpdateEncryptionConfigurationCommandInput,
1012
+ UpdateEncryptionConfigurationCommandOutput,
1013
+ } from "./commands/UpdateEncryptionConfigurationCommand";
1006
1014
  import {
1007
1015
  UpdateEventConfigurationsCommandInput,
1008
1016
  UpdateEventConfigurationsCommandOutput,
@@ -2438,6 +2446,20 @@ export interface IoT {
2438
2446
  options: __HttpHandlerOptions,
2439
2447
  cb: (err: any, data?: DescribeDomainConfigurationCommandOutput) => void
2440
2448
  ): void;
2449
+ describeEncryptionConfiguration(): Promise<DescribeEncryptionConfigurationCommandOutput>;
2450
+ describeEncryptionConfiguration(
2451
+ args: DescribeEncryptionConfigurationCommandInput,
2452
+ options?: __HttpHandlerOptions
2453
+ ): Promise<DescribeEncryptionConfigurationCommandOutput>;
2454
+ describeEncryptionConfiguration(
2455
+ args: DescribeEncryptionConfigurationCommandInput,
2456
+ cb: (err: any, data?: DescribeEncryptionConfigurationCommandOutput) => void
2457
+ ): void;
2458
+ describeEncryptionConfiguration(
2459
+ args: DescribeEncryptionConfigurationCommandInput,
2460
+ options: __HttpHandlerOptions,
2461
+ cb: (err: any, data?: DescribeEncryptionConfigurationCommandOutput) => void
2462
+ ): void;
2441
2463
  describeEndpoint(): Promise<DescribeEndpointCommandOutput>;
2442
2464
  describeEndpoint(
2443
2465
  args: DescribeEndpointCommandInput,
@@ -4473,6 +4495,19 @@ export interface IoT {
4473
4495
  options: __HttpHandlerOptions,
4474
4496
  cb: (err: any, data?: UpdateDynamicThingGroupCommandOutput) => void
4475
4497
  ): void;
4498
+ updateEncryptionConfiguration(
4499
+ args: UpdateEncryptionConfigurationCommandInput,
4500
+ options?: __HttpHandlerOptions
4501
+ ): Promise<UpdateEncryptionConfigurationCommandOutput>;
4502
+ updateEncryptionConfiguration(
4503
+ args: UpdateEncryptionConfigurationCommandInput,
4504
+ cb: (err: any, data?: UpdateEncryptionConfigurationCommandOutput) => void
4505
+ ): void;
4506
+ updateEncryptionConfiguration(
4507
+ args: UpdateEncryptionConfigurationCommandInput,
4508
+ options: __HttpHandlerOptions,
4509
+ cb: (err: any, data?: UpdateEncryptionConfigurationCommandOutput) => void
4510
+ ): void;
4476
4511
  updateEventConfigurations(): Promise<UpdateEventConfigurationsCommandOutput>;
4477
4512
  updateEventConfigurations(
4478
4513
  args: UpdateEventConfigurationsCommandInput,
@@ -449,6 +449,10 @@ import {
449
449
  DescribeDomainConfigurationCommandInput,
450
450
  DescribeDomainConfigurationCommandOutput,
451
451
  } from "./commands/DescribeDomainConfigurationCommand";
452
+ import {
453
+ DescribeEncryptionConfigurationCommandInput,
454
+ DescribeEncryptionConfigurationCommandOutput,
455
+ } from "./commands/DescribeEncryptionConfigurationCommand";
452
456
  import {
453
457
  DescribeEndpointCommandInput,
454
458
  DescribeEndpointCommandOutput,
@@ -1049,6 +1053,10 @@ import {
1049
1053
  UpdateDynamicThingGroupCommandInput,
1050
1054
  UpdateDynamicThingGroupCommandOutput,
1051
1055
  } from "./commands/UpdateDynamicThingGroupCommand";
1056
+ import {
1057
+ UpdateEncryptionConfigurationCommandInput,
1058
+ UpdateEncryptionConfigurationCommandOutput,
1059
+ } from "./commands/UpdateEncryptionConfigurationCommand";
1052
1060
  import {
1053
1061
  UpdateEventConfigurationsCommandInput,
1054
1062
  UpdateEventConfigurationsCommandOutput,
@@ -1234,6 +1242,7 @@ export type ServiceInputTypes =
1234
1242
  | DescribeDetectMitigationActionsTaskCommandInput
1235
1243
  | DescribeDimensionCommandInput
1236
1244
  | DescribeDomainConfigurationCommandInput
1245
+ | DescribeEncryptionConfigurationCommandInput
1237
1246
  | DescribeEndpointCommandInput
1238
1247
  | DescribeEventConfigurationsCommandInput
1239
1248
  | DescribeFleetMetricCommandInput
@@ -1384,6 +1393,7 @@ export type ServiceInputTypes =
1384
1393
  | UpdateDimensionCommandInput
1385
1394
  | UpdateDomainConfigurationCommandInput
1386
1395
  | UpdateDynamicThingGroupCommandInput
1396
+ | UpdateEncryptionConfigurationCommandInput
1387
1397
  | UpdateEventConfigurationsCommandInput
1388
1398
  | UpdateFleetMetricCommandInput
1389
1399
  | UpdateIndexingConfigurationCommandInput
@@ -1505,6 +1515,7 @@ export type ServiceOutputTypes =
1505
1515
  | DescribeDetectMitigationActionsTaskCommandOutput
1506
1516
  | DescribeDimensionCommandOutput
1507
1517
  | DescribeDomainConfigurationCommandOutput
1518
+ | DescribeEncryptionConfigurationCommandOutput
1508
1519
  | DescribeEndpointCommandOutput
1509
1520
  | DescribeEventConfigurationsCommandOutput
1510
1521
  | DescribeFleetMetricCommandOutput
@@ -1655,6 +1666,7 @@ export type ServiceOutputTypes =
1655
1666
  | UpdateDimensionCommandOutput
1656
1667
  | UpdateDomainConfigurationCommandOutput
1657
1668
  | UpdateDynamicThingGroupCommandOutput
1669
+ | UpdateEncryptionConfigurationCommandOutput
1658
1670
  | UpdateEventConfigurationsCommandOutput
1659
1671
  | UpdateFleetMetricCommandOutput
1660
1672
  | UpdateIndexingConfigurationCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ IoTClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../IoTClient";
8
+ import {
9
+ DescribeEncryptionConfigurationRequest,
10
+ DescribeEncryptionConfigurationResponse,
11
+ } from "../models/models_1";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DescribeEncryptionConfigurationCommandInput
15
+ extends DescribeEncryptionConfigurationRequest {}
16
+ export interface DescribeEncryptionConfigurationCommandOutput
17
+ extends DescribeEncryptionConfigurationResponse,
18
+ __MetadataBearer {}
19
+ declare const DescribeEncryptionConfigurationCommand_base: {
20
+ new (
21
+ input: DescribeEncryptionConfigurationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DescribeEncryptionConfigurationCommandInput,
24
+ DescribeEncryptionConfigurationCommandOutput,
25
+ IoTClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [DescribeEncryptionConfigurationCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DescribeEncryptionConfigurationCommandInput,
33
+ DescribeEncryptionConfigurationCommandOutput,
34
+ IoTClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DescribeEncryptionConfigurationCommand extends DescribeEncryptionConfigurationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: {};
44
+ output: DescribeEncryptionConfigurationResponse;
45
+ };
46
+ sdk: {
47
+ input: DescribeEncryptionConfigurationCommandInput;
48
+ output: DescribeEncryptionConfigurationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../IoTClient";
8
- import {
9
- ListCommandExecutionsRequest,
10
- ListCommandExecutionsResponse,
11
- } from "../models/models_1";
8
+ import { ListCommandExecutionsRequest } from "../models/models_1";
9
+ import { ListCommandExecutionsResponse } from "../models/models_2";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface ListCommandExecutionsCommandInput
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../IoTClient";
8
- import { ListCommandsRequest, ListCommandsResponse } from "../models/models_1";
8
+ import { ListCommandsRequest, ListCommandsResponse } from "../models/models_2";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface ListCommandsCommandInput extends ListCommandsRequest {}
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../IoTClient";
8
- import { ListCustomMetricsRequest } from "../models/models_1";
9
- import { ListCustomMetricsResponse } from "../models/models_2";
8
+ import {
9
+ ListCustomMetricsRequest,
10
+ ListCustomMetricsResponse,
11
+ } from "../models/models_2";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface ListCustomMetricsCommandInput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ IoTClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../IoTClient";
8
+ import {
9
+ UpdateEncryptionConfigurationRequest,
10
+ UpdateEncryptionConfigurationResponse,
11
+ } from "../models/models_2";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface UpdateEncryptionConfigurationCommandInput
15
+ extends UpdateEncryptionConfigurationRequest {}
16
+ export interface UpdateEncryptionConfigurationCommandOutput
17
+ extends UpdateEncryptionConfigurationResponse,
18
+ __MetadataBearer {}
19
+ declare const UpdateEncryptionConfigurationCommand_base: {
20
+ new (
21
+ input: UpdateEncryptionConfigurationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ UpdateEncryptionConfigurationCommandInput,
24
+ UpdateEncryptionConfigurationCommandOutput,
25
+ IoTClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: UpdateEncryptionConfigurationCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ UpdateEncryptionConfigurationCommandInput,
33
+ UpdateEncryptionConfigurationCommandOutput,
34
+ IoTClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class UpdateEncryptionConfigurationCommand extends UpdateEncryptionConfigurationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: UpdateEncryptionConfigurationRequest;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: UpdateEncryptionConfigurationCommandInput;
48
+ output: UpdateEncryptionConfigurationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -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";
@@ -564,6 +564,31 @@ export interface DescribeDomainConfigurationResponse {
564
564
  applicationProtocol?: ApplicationProtocol | undefined;
565
565
  clientCertificateConfig?: ClientCertificateConfig | undefined;
566
566
  }
567
+ export interface DescribeEncryptionConfigurationRequest {}
568
+ export declare const ConfigurationStatus: {
569
+ readonly HEALTHY: "HEALTHY";
570
+ readonly UNHEALTHY: "UNHEALTHY";
571
+ };
572
+ export type ConfigurationStatus =
573
+ (typeof ConfigurationStatus)[keyof typeof ConfigurationStatus];
574
+ export interface ConfigurationDetails {
575
+ configurationStatus?: ConfigurationStatus | undefined;
576
+ errorCode?: string | undefined;
577
+ errorMessage?: string | undefined;
578
+ }
579
+ export declare const EncryptionType: {
580
+ readonly AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY";
581
+ readonly CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY";
582
+ };
583
+ export type EncryptionType =
584
+ (typeof EncryptionType)[keyof typeof EncryptionType];
585
+ export interface DescribeEncryptionConfigurationResponse {
586
+ encryptionType?: EncryptionType | undefined;
587
+ kmsKeyArn?: string | undefined;
588
+ kmsAccessRoleArn?: string | undefined;
589
+ configurationDetails?: ConfigurationDetails | undefined;
590
+ lastModifiedDate?: Date | undefined;
591
+ }
567
592
  export interface DescribeEndpointRequest {
568
593
  endpointType?: string | undefined;
569
594
  }
@@ -1570,34 +1595,6 @@ export interface CommandExecutionSummary {
1570
1595
  startedAt?: Date | undefined;
1571
1596
  completedAt?: Date | undefined;
1572
1597
  }
1573
- export interface ListCommandExecutionsResponse {
1574
- commandExecutions?: CommandExecutionSummary[] | undefined;
1575
- nextToken?: string | undefined;
1576
- }
1577
- export interface ListCommandsRequest {
1578
- maxResults?: number | undefined;
1579
- nextToken?: string | undefined;
1580
- namespace?: CommandNamespace | undefined;
1581
- commandParameterName?: string | undefined;
1582
- sortOrder?: SortOrder | undefined;
1583
- }
1584
- export interface CommandSummary {
1585
- commandArn?: string | undefined;
1586
- commandId?: string | undefined;
1587
- displayName?: string | undefined;
1588
- deprecated?: boolean | undefined;
1589
- createdAt?: Date | undefined;
1590
- lastUpdatedAt?: Date | undefined;
1591
- pendingDeletion?: boolean | undefined;
1592
- }
1593
- export interface ListCommandsResponse {
1594
- commands?: CommandSummary[] | undefined;
1595
- nextToken?: string | undefined;
1596
- }
1597
- export interface ListCustomMetricsRequest {
1598
- nextToken?: string | undefined;
1599
- maxResults?: number | undefined;
1600
- }
1601
1598
  export declare const GetPackageResponseFilterSensitiveLog: (
1602
1599
  obj: GetPackageResponse
1603
1600
  ) => any;
@@ -22,6 +22,7 @@ import {
22
22
  BillingGroupProperties,
23
23
  CertificateProviderOperation,
24
24
  ClientCertificateConfig,
25
+ CommandNamespace,
25
26
  CustomMetricType,
26
27
  DayOfWeek,
27
28
  DimensionType,
@@ -63,10 +64,12 @@ import {
63
64
  CACertificateStatus,
64
65
  CertificateMode,
65
66
  CertificateStatus,
67
+ CommandExecutionSummary,
66
68
  Configuration,
67
69
  DetectMitigationActionsTaskSummary,
68
70
  DetectMitigationActionsTaskTarget,
69
71
  DomainConfigurationStatus,
72
+ EncryptionType,
70
73
  EventType,
71
74
  GroupNameAndArn,
72
75
  JobExecutionStatus,
@@ -74,6 +77,7 @@ import {
74
77
  LogTargetType,
75
78
  MitigationActionType,
76
79
  RegistrationConfig,
80
+ SortOrder,
77
81
  Status,
78
82
  ThingGroupIndexingConfiguration,
79
83
  ThingIndexingConfiguration,
@@ -81,6 +85,34 @@ import {
81
85
  VersionUpdateByJobsConfig,
82
86
  ViolationEventOccurrenceRange,
83
87
  } from "./models_1";
88
+ export interface ListCommandExecutionsResponse {
89
+ commandExecutions?: CommandExecutionSummary[] | undefined;
90
+ nextToken?: string | undefined;
91
+ }
92
+ export interface ListCommandsRequest {
93
+ maxResults?: number | undefined;
94
+ nextToken?: string | undefined;
95
+ namespace?: CommandNamespace | undefined;
96
+ commandParameterName?: string | undefined;
97
+ sortOrder?: SortOrder | undefined;
98
+ }
99
+ export interface CommandSummary {
100
+ commandArn?: string | undefined;
101
+ commandId?: string | undefined;
102
+ displayName?: string | undefined;
103
+ deprecated?: boolean | undefined;
104
+ createdAt?: Date | undefined;
105
+ lastUpdatedAt?: Date | undefined;
106
+ pendingDeletion?: boolean | undefined;
107
+ }
108
+ export interface ListCommandsResponse {
109
+ commands?: CommandSummary[] | undefined;
110
+ nextToken?: string | undefined;
111
+ }
112
+ export interface ListCustomMetricsRequest {
113
+ nextToken?: string | undefined;
114
+ maxResults?: number | undefined;
115
+ }
84
116
  export interface ListCustomMetricsResponse {
85
117
  metricNames?: string[] | undefined;
86
118
  nextToken?: string | undefined;
@@ -1191,6 +1223,12 @@ export interface UpdateDynamicThingGroupRequest {
1191
1223
  export interface UpdateDynamicThingGroupResponse {
1192
1224
  version?: number | undefined;
1193
1225
  }
1226
+ export interface UpdateEncryptionConfigurationRequest {
1227
+ encryptionType: EncryptionType | undefined;
1228
+ kmsKeyArn?: string | undefined;
1229
+ kmsAccessRoleArn?: string | undefined;
1230
+ }
1231
+ export interface UpdateEncryptionConfigurationResponse {}
1194
1232
  export interface UpdateEventConfigurationsRequest {
1195
1233
  eventConfigurations?: Partial<Record<EventType, Configuration>> | undefined;
1196
1234
  }