@aws-sdk/client-iot 3.418.0 → 3.423.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -39,16 +39,16 @@ using your favorite package manager:
39
39
 
40
40
  The AWS SDK is modulized by clients and commands.
41
41
  To send a request, you only need to import the `IoTClient` and
42
- the commands you need, for example `AcceptCertificateTransferCommand`:
42
+ the commands you need, for example `ListIndicesCommand`:
43
43
 
44
44
  ```js
45
45
  // ES5 example
46
- const { IoTClient, AcceptCertificateTransferCommand } = require("@aws-sdk/client-iot");
46
+ const { IoTClient, ListIndicesCommand } = require("@aws-sdk/client-iot");
47
47
  ```
48
48
 
49
49
  ```ts
50
50
  // ES6+ example
51
- import { IoTClient, AcceptCertificateTransferCommand } from "@aws-sdk/client-iot";
51
+ import { IoTClient, ListIndicesCommand } from "@aws-sdk/client-iot";
52
52
  ```
53
53
 
54
54
  ### Usage
@@ -67,7 +67,7 @@ const client = new IoTClient({ region: "REGION" });
67
67
  const params = {
68
68
  /** input parameters */
69
69
  };
70
- const command = new AcceptCertificateTransferCommand(params);
70
+ const command = new ListIndicesCommand(params);
71
71
  ```
72
72
 
73
73
  #### Async/await
@@ -146,7 +146,7 @@ const client = new AWS.IoT({ region: "REGION" });
146
146
 
147
147
  // async/await.
148
148
  try {
149
- const data = await client.acceptCertificateTransfer(params);
149
+ const data = await client.listIndices(params);
150
150
  // process data.
151
151
  } catch (error) {
152
152
  // error handling.
@@ -154,7 +154,7 @@ try {
154
154
 
155
155
  // Promises.
156
156
  client
157
- .acceptCertificateTransfer(params)
157
+ .listIndices(params)
158
158
  .then((data) => {
159
159
  // process data.
160
160
  })
@@ -163,7 +163,7 @@ client
163
163
  });
164
164
 
165
165
  // callbacks.
166
- client.acceptCertificateTransfer(params, (err, data) => {
166
+ client.listIndices(params, (err, data) => {
167
167
  // process err and data.
168
168
  });
169
169
  ```
@@ -6,6 +6,8 @@ const IoTServiceException_1 = require("./IoTServiceException");
6
6
  exports.LogTargetType = {
7
7
  CLIENT_ID: "CLIENT_ID",
8
8
  DEFAULT: "DEFAULT",
9
+ DEVICE_DEFENDER: "DEVICE_DEFENDER",
10
+ EVENT_TYPE: "EVENT_TYPE",
9
11
  PRINCIPAL_ID: "PRINCIPAL_ID",
10
12
  SOURCE_IP: "SOURCE_IP",
11
13
  THING_GROUP: "THING_GROUP",
@@ -3,6 +3,8 @@ import { IoTServiceException as __BaseException } from "./IoTServiceException";
3
3
  export const LogTargetType = {
4
4
  CLIENT_ID: "CLIENT_ID",
5
5
  DEFAULT: "DEFAULT",
6
+ DEVICE_DEFENDER: "DEVICE_DEFENDER",
7
+ EVENT_TYPE: "EVENT_TYPE",
6
8
  PRINCIPAL_ID: "PRINCIPAL_ID",
7
9
  SOURCE_IP: "SOURCE_IP",
8
10
  THING_GROUP: "THING_GROUP",
@@ -29,11 +29,9 @@ export interface CreateCertificateFromCsrCommandOutput extends CreateCertificate
29
29
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">CreateCertificateFromCsr</a> action.
30
30
  * </p>
31
31
  * <note>
32
- * <p>The CSR must include a public key that is either an
33
- * RSA key with a length of at least 2048 bits or an ECC key from NIST P-256 or NIST P-384 curves.
34
- * For supported certificates, consult <a href="https://docs.aws.amazon.com/iot/latest/developerguide/x509-client-certs.html#x509-cert-algorithms">
35
- * Certificate signing algorithms supported by IoT</a>.
36
- * </p>
32
+ * <p>The CSR must include a public key that is either an RSA key with a length of at least
33
+ * 2048 bits or an ECC key from NIST P-256, NIST P-384, or NIST P-521 curves. For supported
34
+ * certificates, consult <a href="https://docs.aws.amazon.com/iot/latest/developerguide/x509-client-certs.html#x509-cert-algorithms"> Certificate signing algorithms supported by IoT</a>. </p>
37
35
  * </note>
38
36
  * <note>
39
37
  * <p>Reusing the same certificate signing request (CSR)
@@ -218,6 +218,12 @@ export interface CreateTopicRuleCommandOutput extends __MetadataBearer {
218
218
  * clientProperties: { // ClientProperties // required
219
219
  * "<keys>": "STRING_VALUE",
220
220
  * },
221
+ * headers: [ // KafkaHeaders
222
+ * { // KafkaActionHeader
223
+ * key: "STRING_VALUE", // required
224
+ * value: "STRING_VALUE", // required
225
+ * },
226
+ * ],
221
227
  * },
222
228
  * openSearch: { // OpenSearchAction
223
229
  * roleArn: "STRING_VALUE", // required
@@ -421,6 +427,12 @@ export interface CreateTopicRuleCommandOutput extends __MetadataBearer {
421
427
  * clientProperties: { // required
422
428
  * "<keys>": "STRING_VALUE",
423
429
  * },
430
+ * headers: [
431
+ * {
432
+ * key: "STRING_VALUE", // required
433
+ * value: "STRING_VALUE", // required
434
+ * },
435
+ * ],
424
436
  * },
425
437
  * openSearch: {
426
438
  * roleArn: "STRING_VALUE", // required
@@ -2,7 +2,8 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
5
- import { DeleteDynamicThingGroupRequest, DeleteDynamicThingGroupResponse } from "../models/models_0";
5
+ import { DeleteDynamicThingGroupRequest } from "../models/models_0";
6
+ import { DeleteDynamicThingGroupResponse } from "../models/models_1";
6
7
  /**
7
8
  * @public
8
9
  */
@@ -25,7 +25,7 @@ export interface DeletePackageVersionCommandOutput extends DeletePackageVersionR
25
25
  * @public
26
26
  * <p>Deletes a specific version from a software package.</p>
27
27
  * <p>
28
- * <b>Note:</b> If a package version is designated as default, you must remove the designation from the package using the <a>UpdatePackage</a> action.</p>
28
+ * <b>Note:</b> If a package version is designated as default, you must remove the designation from the software package using the <a>UpdatePackage</a> action.</p>
29
29
  * @example
30
30
  * Use a bare-bones client and the command you need to make an API call.
31
31
  * ```javascript
@@ -32,7 +32,7 @@ export interface DeleteV2LoggingLevelCommandOutput extends __MetadataBearer {
32
32
  * // const { IoTClient, DeleteV2LoggingLevelCommand } = require("@aws-sdk/client-iot"); // CommonJS import
33
33
  * const client = new IoTClient(config);
34
34
  * const input = { // DeleteV2LoggingLevelRequest
35
- * targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID", // required
35
+ * targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID" || "EVENT_TYPE" || "DEVICE_DEFENDER", // required
36
36
  * targetName: "STRING_VALUE", // required
37
37
  * };
38
38
  * const command = new DeleteV2LoggingLevelCommand(input);
@@ -224,6 +224,12 @@ export interface GetTopicRuleCommandOutput extends GetTopicRuleResponse, __Metad
224
224
  * // clientProperties: { // ClientProperties // required
225
225
  * // "<keys>": "STRING_VALUE",
226
226
  * // },
227
+ * // headers: [ // KafkaHeaders
228
+ * // { // KafkaActionHeader
229
+ * // key: "STRING_VALUE", // required
230
+ * // value: "STRING_VALUE", // required
231
+ * // },
232
+ * // ],
227
233
  * // },
228
234
  * // openSearch: { // OpenSearchAction
229
235
  * // roleArn: "STRING_VALUE", // required
@@ -427,6 +433,12 @@ export interface GetTopicRuleCommandOutput extends GetTopicRuleResponse, __Metad
427
433
  * // clientProperties: { // required
428
434
  * // "<keys>": "STRING_VALUE",
429
435
  * // },
436
+ * // headers: [
437
+ * // {
438
+ * // key: "STRING_VALUE", // required
439
+ * // value: "STRING_VALUE", // required
440
+ * // },
441
+ * // ],
430
442
  * // },
431
443
  * // openSearch: {
432
444
  * // roleArn: "STRING_VALUE", // required
@@ -32,7 +32,7 @@ export interface ListV2LoggingLevelsCommandOutput extends ListV2LoggingLevelsRes
32
32
  * // const { IoTClient, ListV2LoggingLevelsCommand } = require("@aws-sdk/client-iot"); // CommonJS import
33
33
  * const client = new IoTClient(config);
34
34
  * const input = { // ListV2LoggingLevelsRequest
35
- * targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID",
35
+ * targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID" || "EVENT_TYPE" || "DEVICE_DEFENDER",
36
36
  * nextToken: "STRING_VALUE",
37
37
  * maxResults: Number("int"),
38
38
  * };
@@ -42,7 +42,7 @@ export interface ListV2LoggingLevelsCommandOutput extends ListV2LoggingLevelsRes
42
42
  * // logTargetConfigurations: [ // LogTargetConfigurations
43
43
  * // { // LogTargetConfiguration
44
44
  * // logTarget: { // LogTarget
45
- * // targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID", // required
45
+ * // targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID" || "EVENT_TYPE" || "DEVICE_DEFENDER", // required
46
46
  * // targetName: "STRING_VALUE",
47
47
  * // },
48
48
  * // logLevel: "DEBUG" || "INFO" || "ERROR" || "WARN" || "DISABLED",
@@ -219,6 +219,12 @@ export interface ReplaceTopicRuleCommandOutput extends __MetadataBearer {
219
219
  * clientProperties: { // ClientProperties // required
220
220
  * "<keys>": "STRING_VALUE",
221
221
  * },
222
+ * headers: [ // KafkaHeaders
223
+ * { // KafkaActionHeader
224
+ * key: "STRING_VALUE", // required
225
+ * value: "STRING_VALUE", // required
226
+ * },
227
+ * ],
222
228
  * },
223
229
  * openSearch: { // OpenSearchAction
224
230
  * roleArn: "STRING_VALUE", // required
@@ -422,6 +428,12 @@ export interface ReplaceTopicRuleCommandOutput extends __MetadataBearer {
422
428
  * clientProperties: { // required
423
429
  * "<keys>": "STRING_VALUE",
424
430
  * },
431
+ * headers: [
432
+ * {
433
+ * key: "STRING_VALUE", // required
434
+ * value: "STRING_VALUE", // required
435
+ * },
436
+ * ],
425
437
  * },
426
438
  * openSearch: {
427
439
  * roleArn: "STRING_VALUE", // required
@@ -33,7 +33,7 @@ export interface SetV2LoggingLevelCommandOutput extends __MetadataBearer {
33
33
  * const client = new IoTClient(config);
34
34
  * const input = { // SetV2LoggingLevelRequest
35
35
  * logTarget: { // LogTarget
36
- * targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID", // required
36
+ * targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID" || "EVENT_TYPE" || "DEVICE_DEFENDER", // required
37
37
  * targetName: "STRING_VALUE",
38
38
  * },
39
39
  * logLevel: "DEBUG" || "INFO" || "ERROR" || "WARN" || "DISABLED", // required
@@ -23,7 +23,7 @@ export interface UpdatePackageCommandOutput extends UpdatePackageResponse, __Met
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Updates the supported fields for a specific package.</p>
26
+ * <p>Updates the supported fields for a specific software package.</p>
27
27
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">UpdatePackage</a> and <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">GetIndexingConfiguration</a> actions.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
@@ -23,7 +23,7 @@ export interface UpdatePackageConfigurationCommandOutput extends UpdatePackageCo
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Updates the package configuration.</p>
26
+ * <p>Updates the software package configuration.</p>
27
27
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">UpdatePackageConfiguration</a> and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html">iam:PassRole</a> actions.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
@@ -776,6 +776,26 @@ export interface IotSiteWiseAction {
776
776
  */
777
777
  roleArn: string | undefined;
778
778
  }
779
+ /**
780
+ * @public
781
+ * <p>Specifies a Kafka header using key-value pairs when you create a Rule’s Kafka Action.
782
+ * You can use these headers to route data from IoT clients to downstream Kafka clusters
783
+ * without modifying your message payload.</p>
784
+ * <p>For more information about Rule's Kafka action, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/apache-kafka-rule-action.html">Apache Kafka</a>.
785
+ * </p>
786
+ */
787
+ export interface KafkaActionHeader {
788
+ /**
789
+ * @public
790
+ * <p>The key of the Kafka header.</p>
791
+ */
792
+ key: string | undefined;
793
+ /**
794
+ * @public
795
+ * <p>The value of the Kafka header.</p>
796
+ */
797
+ value: string | undefined;
798
+ }
779
799
  /**
780
800
  * @public
781
801
  * <p>Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster.</p>
@@ -806,6 +826,11 @@ export interface KafkaAction {
806
826
  * <p>Properties of the Apache Kafka producer client.</p>
807
827
  */
808
828
  clientProperties: Record<string, string> | undefined;
829
+ /**
830
+ * @public
831
+ * <p>The list of Kafka headers that you specify.</p>
832
+ */
833
+ headers?: KafkaActionHeader[];
809
834
  }
810
835
  /**
811
836
  * @public
@@ -1665,8 +1690,10 @@ export interface Behavior {
1665
1690
  metricDimension?: MetricDimension;
1666
1691
  /**
1667
1692
  * @public
1668
- * <p>The criteria that determine if a device is behaving normally in regard to
1669
- * the <code>metric</code>.</p>
1693
+ * <p>The criteria that determine if a device is behaving normally in regard to the <code>metric</code>.</p>
1694
+ * <note>
1695
+ * <p>In the IoT console, you can choose to be sent an alert through Amazon SNS when IoT Device Defender detects that a device is behaving anomalously.</p>
1696
+ * </note>
1670
1697
  */
1671
1698
  criteria?: BehaviorCriteria;
1672
1699
  /**
@@ -4063,6 +4090,8 @@ export interface SchedulingConfig {
4063
4090
  * must be scheduled a minimum of thirty minutes from the current time. The date and time
4064
4091
  * format for the <code>startTime</code> is YYYY-MM-DD for the date and HH:MM for the
4065
4092
  * time.</p>
4093
+ * <p>For more information on the syntax for <code>startTime</code> when using an API
4094
+ * command or the Command Line Interface, see <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-parameters-types.html#parameter-type-timestamp">Timestamp</a>.</p>
4066
4095
  */
4067
4096
  startTime?: string;
4068
4097
  /**
@@ -4074,6 +4103,8 @@ export interface SchedulingConfig {
4074
4103
  * minutes. The maximum duration between <code>startTime</code> and <code>endTime</code> is
4075
4104
  * two years. The date and time format for the <code>endTime</code> is YYYY-MM-DD for the
4076
4105
  * date and HH:MM for the time.</p>
4106
+ * <p>For more information on the syntax for <code>endTime</code> when using an API command
4107
+ * or the Command Line Interface, see <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-parameters-types.html#parameter-type-timestamp">Timestamp</a>.</p>
4077
4108
  */
4078
4109
  endTime?: string;
4079
4110
  /**
@@ -4297,15 +4328,10 @@ export interface CreateJobTemplateRequest {
4297
4328
  jobArn?: string;
4298
4329
  /**
4299
4330
  * @public
4300
- * <p>An S3 link to the job document to use in the template. Required if you don't specify a value for <code>document</code>.</p>
4301
- * <note>
4302
- * <p>If the job document resides in an S3 bucket, you must use a placeholder link when specifying the document.</p>
4303
- * <p>The placeholder link is of the following form:</p>
4304
- * <p>
4305
- * <code>$\{aws:iot:s3-presigned-url:https://s3.amazonaws.com/<i>bucket</i>/<i>key</i>\}</code>
4306
- * </p>
4307
- * <p>where <i>bucket</i> is your bucket name and <i>key</i> is the object in the bucket to which you are linking.</p>
4308
- * </note>
4331
+ * <p>An S3 link, or S3 object URL, to the job document. The link is an Amazon S3 object URL and is required if you don't specify a value for <code>document</code>.</p>
4332
+ * <p>For example, <code>--document-source https://s3.<i>region-code</i>.amazonaws.com/example-firmware/device-firmware.1.0</code>
4333
+ * </p>
4334
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-bucket-intro.html">Methods for accessing a bucket</a>.</p>
4309
4335
  */
4310
4336
  documentSource?: string;
4311
4337
  /**
@@ -5003,7 +5029,7 @@ export interface OTAUpdateFile {
5003
5029
  codeSigning?: CodeSigning;
5004
5030
  /**
5005
5031
  * @public
5006
- * <p>A list of name/attribute pairs.</p>
5032
+ * <p>A list of name-attribute pairs. They won't be sent to devices as a part of the Job document.</p>
5007
5033
  */
5008
5034
  attributes?: Record<string, string>;
5009
5035
  }
@@ -5089,7 +5115,8 @@ export interface CreateOTAUpdateRequest {
5089
5115
  roleArn: string | undefined;
5090
5116
  /**
5091
5117
  * @public
5092
- * <p>A list of additional OTA update parameters which are name-value pairs.</p>
5118
+ * <p>A list of additional OTA update parameters, which are name-value pairs.
5119
+ * They won't be sent to devices as a part of the Job document.</p>
5093
5120
  */
5094
5121
  additionalParameters?: Record<string, string>;
5095
5122
  /**
@@ -5150,7 +5177,7 @@ export interface CreateOTAUpdateResponse {
5150
5177
  export interface CreatePackageRequest {
5151
5178
  /**
5152
5179
  * @public
5153
- * <p>The name of the new package.</p>
5180
+ * <p>The name of the new software package.</p>
5154
5181
  */
5155
5182
  packageName: string | undefined;
5156
5183
  /**
@@ -5176,7 +5203,7 @@ export interface CreatePackageRequest {
5176
5203
  export interface CreatePackageResponse {
5177
5204
  /**
5178
5205
  * @public
5179
- * <p>The name of the package.</p>
5206
+ * <p>The name of the software package.</p>
5180
5207
  */
5181
5208
  packageName?: string;
5182
5209
  /**
@@ -5233,7 +5260,7 @@ export declare class ValidationException extends __BaseException {
5233
5260
  export interface CreatePackageVersionRequest {
5234
5261
  /**
5235
5262
  * @public
5236
- * <p>The name of the associated package.</p>
5263
+ * <p>The name of the associated software package.</p>
5237
5264
  */
5238
5265
  packageName: string | undefined;
5239
5266
  /**
@@ -5288,7 +5315,7 @@ export interface CreatePackageVersionResponse {
5288
5315
  packageVersionArn?: string;
5289
5316
  /**
5290
5317
  * @public
5291
- * <p>The name of the associated package.</p>
5318
+ * <p>The name of the associated software package.</p>
5292
5319
  */
5293
5320
  packageName?: string;
5294
5321
  /**
@@ -6537,11 +6564,6 @@ export interface DeleteDynamicThingGroupRequest {
6537
6564
  */
6538
6565
  expectedVersion?: number;
6539
6566
  }
6540
- /**
6541
- * @public
6542
- */
6543
- export interface DeleteDynamicThingGroupResponse {
6544
- }
6545
6567
  /**
6546
6568
  * @internal
6547
6569
  */
@@ -1,6 +1,11 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { IoTServiceException as __BaseException } from "./IoTServiceException";
3
3
  import { AbortConfig, Action, ActiveViolation, AggregationType, AlertTarget, AuditCheckConfiguration, AuditCheckDetails, AuditFinding, AuditFrequency, AuditMitigationActionExecutionMetadata, AuditMitigationActionsExecutionStatus, AuditMitigationActionsTaskMetadata, AuditMitigationActionsTaskStatus, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuditSuppression, AuditTaskMetadata, AuditTaskStatus, AuditTaskType, AuthorizerConfig, AuthorizerDescription, AuthorizerStatus, AuthorizerSummary, AutoRegistrationStatus, AwsJobExecutionsRolloutConfig, AwsJobPresignedUrlConfig, Behavior, BillingGroupProperties, CustomMetricType, DayOfWeek, DimensionType, DimensionValueOperator, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MaintenanceWindow, MetricToRetain, MetricValue, MitigationActionParams, OTAUpdateFile, OTAUpdateStatus, PackageVersionStatus, Policy, PresignedUrlConfig, Protocol, ProvisioningHook, ResourceIdentifier, SchedulingConfig, ServiceType, StreamFile, TargetSelection, TaskStatisticsForAuditCheck, TemplateType, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TlsConfig, TopicRuleDestination, VerificationState } from "./models_0";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface DeleteDynamicThingGroupResponse {
8
+ }
4
9
  /**
5
10
  * @public
6
11
  */
@@ -161,7 +166,7 @@ export interface DeleteOTAUpdateResponse {
161
166
  export interface DeletePackageRequest {
162
167
  /**
163
168
  * @public
164
- * <p>The name of the target package.</p>
169
+ * <p>The name of the target software package.</p>
165
170
  */
166
171
  packageName: string | undefined;
167
172
  /**
@@ -182,7 +187,7 @@ export interface DeletePackageResponse {
182
187
  export interface DeletePackageVersionRequest {
183
188
  /**
184
189
  * @public
185
- * <p>The name of the associated package.</p>
190
+ * <p>The name of the associated software package.</p>
186
191
  */
187
192
  packageName: string | undefined;
188
193
  /**
@@ -438,6 +443,8 @@ export interface DeleteTopicRuleDestinationResponse {
438
443
  export declare const LogTargetType: {
439
444
  readonly CLIENT_ID: "CLIENT_ID";
440
445
  readonly DEFAULT: "DEFAULT";
446
+ readonly DEVICE_DEFENDER: "DEVICE_DEFENDER";
447
+ readonly EVENT_TYPE: "EVENT_TYPE";
441
448
  readonly PRINCIPAL_ID: "PRINCIPAL_ID";
442
449
  readonly SOURCE_IP: "SOURCE_IP";
443
450
  readonly THING_GROUP: "THING_GROUP";
@@ -1622,7 +1629,8 @@ export interface DescribeEndpointRequest {
1622
1629
  * </li>
1623
1630
  * </ul>
1624
1631
  * <p>We strongly recommend that customers use the newer <code>iot:Data-ATS</code> endpoint type to avoid
1625
- * issues related to the widespread distrust of Symantec certificate authorities.</p>
1632
+ * issues related to the widespread distrust of Symantec certificate authorities. ATS Signed Certificates
1633
+ * are more secure and are trusted by most popular browsers.</p>
1626
1634
  */
1627
1635
  endpointType?: string;
1628
1636
  }
@@ -4022,7 +4030,7 @@ export interface GetOTAUpdateResponse {
4022
4030
  export interface GetPackageRequest {
4023
4031
  /**
4024
4032
  * @public
4025
- * <p>The name of the target package.</p>
4033
+ * <p>The name of the target software package.</p>
4026
4034
  */
4027
4035
  packageName: string | undefined;
4028
4036
  }
@@ -4032,7 +4040,7 @@ export interface GetPackageRequest {
4032
4040
  export interface GetPackageResponse {
4033
4041
  /**
4034
4042
  * @public
4035
- * <p>The name of the package.</p>
4043
+ * <p>The name of the software package.</p>
4036
4044
  */
4037
4045
  packageName?: string;
4038
4046
  /**
@@ -4122,7 +4130,7 @@ export interface GetPackageVersionResponse {
4122
4130
  packageVersionArn?: string;
4123
4131
  /**
4124
4132
  * @public
4125
- * <p>The name of the package.</p>
4133
+ * <p>The name of the software package.</p>
4126
4134
  */
4127
4135
  packageName?: string;
4128
4136
  /**
@@ -6371,7 +6379,7 @@ export interface ListPackagesRequest {
6371
6379
  export interface PackageSummary {
6372
6380
  /**
6373
6381
  * @public
6374
- * <p>The name for the target package.</p>
6382
+ * <p>The name for the target software package.</p>
6375
6383
  */
6376
6384
  packageName?: string;
6377
6385
  /**
@@ -6411,7 +6419,7 @@ export interface ListPackagesResponse {
6411
6419
  export interface ListPackageVersionsRequest {
6412
6420
  /**
6413
6421
  * @public
6414
- * <p>The name of the target package.</p>
6422
+ * <p>The name of the target software package.</p>
6415
6423
  */
6416
6424
  packageName: string | undefined;
6417
6425
  /**
@@ -6570,27 +6578,6 @@ export interface ListPolicyVersionsRequest {
6570
6578
  */
6571
6579
  policyName: string | undefined;
6572
6580
  }
6573
- /**
6574
- * @public
6575
- * <p>Describes a policy version.</p>
6576
- */
6577
- export interface PolicyVersion {
6578
- /**
6579
- * @public
6580
- * <p>The policy version ID.</p>
6581
- */
6582
- versionId?: string;
6583
- /**
6584
- * @public
6585
- * <p>Specifies whether the policy version is the default.</p>
6586
- */
6587
- isDefaultVersion?: boolean;
6588
- /**
6589
- * @public
6590
- * <p>The date and time the policy was created.</p>
6591
- */
6592
- createDate?: Date;
6593
- }
6594
6581
  /**
6595
6582
  * @internal
6596
6583
  */
@@ -1,7 +1,28 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { IoTServiceException as __BaseException } from "./IoTServiceException";
3
3
  import { AbortConfig, AggregationType, AlertTarget, AttributePayload, AuditCheckConfiguration, AuditFrequency, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuthInfo, AuthorizerConfig, AuthorizerStatus, AuthResult, AutoRegistrationStatus, Behavior, BillingGroupProperties, CustomMetricType, DayOfWeek, DimensionType, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MetricToRetain, MetricValue, MitigationActionParams, Policy, PresignedUrlConfig, ProvisioningHook, RelatedResource, ResourceIdentifier, StreamFile, Tag, TemplateType, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TlsConfig, TopicRuleDestinationStatus, TopicRulePayload, VerificationState, ViolationEventAdditionalInfo } from "./models_0";
4
- import { BehaviorCriteriaType, CACertificateStatus, CertificateMode, CertificateStatus, Configuration, DetectMitigationActionsTaskTarget, DomainConfigurationStatus, GroupNameAndArn, LogTargetType, PolicyVersion, RegistrationConfig, Status, ThingGroupIndexingConfiguration, ThingIndexingConfiguration, ThingTypeMetadata, VersionUpdateByJobsConfig, ViolationEventOccurrenceRange } from "./models_1";
4
+ import { BehaviorCriteriaType, CACertificateStatus, CertificateMode, CertificateStatus, Configuration, DetectMitigationActionsTaskTarget, DomainConfigurationStatus, GroupNameAndArn, LogTargetType, RegistrationConfig, Status, ThingGroupIndexingConfiguration, ThingIndexingConfiguration, ThingTypeMetadata, VersionUpdateByJobsConfig, ViolationEventOccurrenceRange } from "./models_1";
5
+ /**
6
+ * @public
7
+ * <p>Describes a policy version.</p>
8
+ */
9
+ export interface PolicyVersion {
10
+ /**
11
+ * @public
12
+ * <p>The policy version ID.</p>
13
+ */
14
+ versionId?: string;
15
+ /**
16
+ * @public
17
+ * <p>Specifies whether the policy version is the default.</p>
18
+ */
19
+ isDefaultVersion?: boolean;
20
+ /**
21
+ * @public
22
+ * <p>The date and time the policy was created.</p>
23
+ */
24
+ createDate?: Date;
25
+ }
5
26
  /**
6
27
  * @public
7
28
  * <p>The output from the ListPolicyVersions operation.</p>
@@ -3238,7 +3259,7 @@ export interface UpdateMitigationActionResponse {
3238
3259
  export interface UpdatePackageRequest {
3239
3260
  /**
3240
3261
  * @public
3241
- * <p>The name of the target package.</p>
3262
+ * <p>The name of the target software package.</p>
3242
3263
  */
3243
3264
  packageName: string | undefined;
3244
3265
  /**
@@ -3329,7 +3350,7 @@ export interface UpdatePackageVersionRequest {
3329
3350
  description?: string;
3330
3351
  /**
3331
3352
  * @public
3332
- * <p>Metadata that can be used to define a package version’s configuration. For example, the S3 file location, configuration options that are being sent to the device or fleet. </p>
3353
+ * <p>Metadata that can be used to define a package version’s configuration. For example, the Amazon S3 file location, configuration options that are being sent to the device or fleet. </p>
3333
3354
  * <p>
3334
3355
  * <b>Note:</b> Attributes can be updated only when the package version
3335
3356
  * is in a draft state.</p>
@@ -11,10 +11,8 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../IoTClient";
14
- import {
15
- DeleteDynamicThingGroupRequest,
16
- DeleteDynamicThingGroupResponse,
17
- } from "../models/models_0";
14
+ import { DeleteDynamicThingGroupRequest } from "../models/models_0";
15
+ import { DeleteDynamicThingGroupResponse } from "../models/models_1";
18
16
  export { __MetadataBearer, $Command };
19
17
  export interface DeleteDynamicThingGroupCommandInput
20
18
  extends DeleteDynamicThingGroupRequest {}
@@ -234,12 +234,17 @@ export interface IotSiteWiseAction {
234
234
  putAssetPropertyValueEntries: PutAssetPropertyValueEntry[] | undefined;
235
235
  roleArn: string | undefined;
236
236
  }
237
+ export interface KafkaActionHeader {
238
+ key: string | undefined;
239
+ value: string | undefined;
240
+ }
237
241
  export interface KafkaAction {
238
242
  destinationArn: string | undefined;
239
243
  topic: string | undefined;
240
244
  key?: string;
241
245
  partition?: string;
242
246
  clientProperties: Record<string, string> | undefined;
247
+ headers?: KafkaActionHeader[];
243
248
  }
244
249
  export interface KinesisAction {
245
250
  roleArn: string | undefined;
@@ -1727,7 +1732,6 @@ export interface DeleteDynamicThingGroupRequest {
1727
1732
  thingGroupName: string | undefined;
1728
1733
  expectedVersion?: number;
1729
1734
  }
1730
- export interface DeleteDynamicThingGroupResponse {}
1731
1735
  export declare const KeyPairFilterSensitiveLog: (obj: KeyPair) => any;
1732
1736
  export declare const CreateKeysAndCertificateResponseFilterSensitiveLog: (
1733
1737
  obj: CreateKeysAndCertificateResponse
@@ -62,6 +62,7 @@ import {
62
62
  TopicRuleDestination,
63
63
  VerificationState,
64
64
  } from "./models_0";
65
+ export interface DeleteDynamicThingGroupResponse {}
65
66
  export interface DeleteFleetMetricRequest {
66
67
  metricName: string | undefined;
67
68
  expectedVersion?: number;
@@ -161,6 +162,8 @@ export interface DeleteTopicRuleDestinationResponse {}
161
162
  export declare const LogTargetType: {
162
163
  readonly CLIENT_ID: "CLIENT_ID";
163
164
  readonly DEFAULT: "DEFAULT";
165
+ readonly DEVICE_DEFENDER: "DEVICE_DEFENDER";
166
+ readonly EVENT_TYPE: "EVENT_TYPE";
164
167
  readonly PRINCIPAL_ID: "PRINCIPAL_ID";
165
168
  readonly SOURCE_IP: "SOURCE_IP";
166
169
  readonly THING_GROUP: "THING_GROUP";
@@ -1602,11 +1605,6 @@ export interface ListPolicyPrincipalsResponse {
1602
1605
  export interface ListPolicyVersionsRequest {
1603
1606
  policyName: string | undefined;
1604
1607
  }
1605
- export interface PolicyVersion {
1606
- versionId?: string;
1607
- isDefaultVersion?: boolean;
1608
- createDate?: Date;
1609
- }
1610
1608
  export declare const GetPackageResponseFilterSensitiveLog: (
1611
1609
  obj: GetPackageResponse
1612
1610
  ) => any;
@@ -53,7 +53,6 @@ import {
53
53
  DomainConfigurationStatus,
54
54
  GroupNameAndArn,
55
55
  LogTargetType,
56
- PolicyVersion,
57
56
  RegistrationConfig,
58
57
  Status,
59
58
  ThingGroupIndexingConfiguration,
@@ -62,6 +61,11 @@ import {
62
61
  VersionUpdateByJobsConfig,
63
62
  ViolationEventOccurrenceRange,
64
63
  } from "./models_1";
64
+ export interface PolicyVersion {
65
+ versionId?: string;
66
+ isDefaultVersion?: boolean;
67
+ createDate?: Date;
68
+ }
65
69
  export interface ListPolicyVersionsResponse {
66
70
  policyVersions?: PolicyVersion[];
67
71
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iot",
3
3
  "description": "AWS SDK for JavaScript Iot Client for Node.js, Browser and React Native",
4
- "version": "3.418.0",
4
+ "version": "3.423.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,8 +21,8 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.418.0",
25
- "@aws-sdk/credential-provider-node": "3.418.0",
24
+ "@aws-sdk/client-sts": "3.423.0",
25
+ "@aws-sdk/credential-provider-node": "3.423.0",
26
26
  "@aws-sdk/middleware-host-header": "3.418.0",
27
27
  "@aws-sdk/middleware-logger": "3.418.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.418.0",