@aws-sdk/client-iot 3.100.0 → 3.105.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/CHANGELOG.md +11 -0
- package/dist-cjs/IoTClient.js +2 -0
- package/dist-es/IoTClient.js +2 -0
- package/dist-types/models/models_0.d.ts +12 -36
- package/dist-types/models/models_1.d.ts +11 -33
- package/dist-types/models/models_2.d.ts +13 -39
- package/dist-types/ts3.4/models/models_0.d.ts +12 -36
- package/dist-types/ts3.4/models/models_1.d.ts +11 -33
- package/dist-types/ts3.4/models/models_2.d.ts +13 -39
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-iot
|
package/dist-cjs/IoTClient.js
CHANGED
|
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
7
|
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
|
+
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
8
9
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
9
10
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
10
11
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
@@ -25,6 +26,7 @@ class IoTClient extends smithy_client_1.Client {
|
|
|
25
26
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
27
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
28
|
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
28
30
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
31
|
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
32
|
this.middlewareStack.use((0, middleware_retry_1.getOmitRetryHeadersPlugin)(this.config));
|
package/dist-es/IoTClient.js
CHANGED
|
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
|
|
|
3
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
5
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
6
|
+
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
6
7
|
import { getOmitRetryHeadersPlugin, getRetryPlugin, resolveRetryConfig, } from "@aws-sdk/middleware-retry";
|
|
7
8
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
@@ -25,6 +26,7 @@ var IoTClient = (function (_super) {
|
|
|
25
26
|
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
26
27
|
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
27
28
|
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
28
30
|
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
29
31
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
30
32
|
_this.middlewareStack.use(getOmitRetryHeadersPlugin(_this.config));
|
|
@@ -789,9 +789,7 @@ export interface KafkaAction {
|
|
|
789
789
|
/**
|
|
790
790
|
* <p>Properties of the Apache Kafka producer client.</p>
|
|
791
791
|
*/
|
|
792
|
-
clientProperties:
|
|
793
|
-
[key: string]: string;
|
|
794
|
-
} | undefined;
|
|
792
|
+
clientProperties: Record<string, string> | undefined;
|
|
795
793
|
}
|
|
796
794
|
export declare namespace KafkaAction {
|
|
797
795
|
/**
|
|
@@ -1924,9 +1922,7 @@ export interface AttributePayload {
|
|
|
1924
1922
|
* <code>{\"attributes\":{\"string1\":\"string2\"}}</code>
|
|
1925
1923
|
* </p>
|
|
1926
1924
|
*/
|
|
1927
|
-
attributes?:
|
|
1928
|
-
[key: string]: string;
|
|
1929
|
-
};
|
|
1925
|
+
attributes?: Record<string, string>;
|
|
1930
1926
|
/**
|
|
1931
1927
|
* <p>Specifies whether the list of attributes provided in the <code>AttributePayload</code> is merged with
|
|
1932
1928
|
* the attributes stored in the registry, instead of overwriting them.</p>
|
|
@@ -2096,9 +2092,7 @@ export interface NonCompliantResource {
|
|
|
2096
2092
|
/**
|
|
2097
2093
|
* <p>Other information about the noncompliant resource.</p>
|
|
2098
2094
|
*/
|
|
2099
|
-
additionalInfo?:
|
|
2100
|
-
[key: string]: string;
|
|
2101
|
-
};
|
|
2095
|
+
additionalInfo?: Record<string, string>;
|
|
2102
2096
|
}
|
|
2103
2097
|
export declare namespace NonCompliantResource {
|
|
2104
2098
|
/**
|
|
@@ -2121,9 +2115,7 @@ export interface RelatedResource {
|
|
|
2121
2115
|
/**
|
|
2122
2116
|
* <p>Other information about the resource.</p>
|
|
2123
2117
|
*/
|
|
2124
|
-
additionalInfo?:
|
|
2125
|
-
[key: string]: string;
|
|
2126
|
-
};
|
|
2118
|
+
additionalInfo?: Record<string, string>;
|
|
2127
2119
|
}
|
|
2128
2120
|
export declare namespace RelatedResource {
|
|
2129
2121
|
/**
|
|
@@ -2332,9 +2324,7 @@ export interface AuditMitigationActionsTaskTarget {
|
|
|
2332
2324
|
/**
|
|
2333
2325
|
* <p>Specifies a filter in the form of an audit check and set of reason codes that identify the findings from the audit to which the audit mitigation actions task apply.</p>
|
|
2334
2326
|
*/
|
|
2335
|
-
auditCheckToReasonCodeFilter?:
|
|
2336
|
-
[key: string]: string[];
|
|
2337
|
-
};
|
|
2327
|
+
auditCheckToReasonCodeFilter?: Record<string, string[]>;
|
|
2338
2328
|
}
|
|
2339
2329
|
export declare namespace AuditMitigationActionsTaskTarget {
|
|
2340
2330
|
/**
|
|
@@ -2514,9 +2504,7 @@ export interface AuthorizerDescription {
|
|
|
2514
2504
|
* <p>The public keys used to validate the token signature returned by your custom
|
|
2515
2505
|
* authentication service.</p>
|
|
2516
2506
|
*/
|
|
2517
|
-
tokenSigningPublicKeys?:
|
|
2518
|
-
[key: string]: string;
|
|
2519
|
-
};
|
|
2507
|
+
tokenSigningPublicKeys?: Record<string, string>;
|
|
2520
2508
|
/**
|
|
2521
2509
|
* <p>The status of the authorizer.</p>
|
|
2522
2510
|
*/
|
|
@@ -2816,9 +2804,7 @@ export interface CancelJobExecutionRequest {
|
|
|
2816
2804
|
* <p>A collection of name/value pairs that describe the status of the job execution. If not
|
|
2817
2805
|
* specified, the statusDetails are unchanged. You can specify at most 10 name/value pairs.</p>
|
|
2818
2806
|
*/
|
|
2819
|
-
statusDetails?:
|
|
2820
|
-
[key: string]: string;
|
|
2821
|
-
};
|
|
2807
|
+
statusDetails?: Record<string, string>;
|
|
2822
2808
|
}
|
|
2823
2809
|
export declare namespace CancelJobExecutionRequest {
|
|
2824
2810
|
/**
|
|
@@ -3005,9 +2991,7 @@ export interface CreateAuthorizerRequest {
|
|
|
3005
2991
|
* <p>The public keys used to verify the digital signature returned by your custom
|
|
3006
2992
|
* authentication service.</p>
|
|
3007
2993
|
*/
|
|
3008
|
-
tokenSigningPublicKeys?:
|
|
3009
|
-
[key: string]: string;
|
|
3010
|
-
};
|
|
2994
|
+
tokenSigningPublicKeys?: Record<string, string>;
|
|
3011
2995
|
/**
|
|
3012
2996
|
* <p>The status of the create authorizer request.</p>
|
|
3013
2997
|
*/
|
|
@@ -3825,9 +3809,7 @@ export interface CreateJobRequest {
|
|
|
3825
3809
|
* create jobs from them.</p>
|
|
3826
3810
|
* </note>
|
|
3827
3811
|
*/
|
|
3828
|
-
documentParameters?:
|
|
3829
|
-
[key: string]: string;
|
|
3830
|
-
};
|
|
3812
|
+
documentParameters?: Record<string, string>;
|
|
3831
3813
|
}
|
|
3832
3814
|
export declare namespace CreateJobRequest {
|
|
3833
3815
|
/**
|
|
@@ -4592,9 +4574,7 @@ export interface OTAUpdateFile {
|
|
|
4592
4574
|
/**
|
|
4593
4575
|
* <p>A list of name/attribute pairs.</p>
|
|
4594
4576
|
*/
|
|
4595
|
-
attributes?:
|
|
4596
|
-
[key: string]: string;
|
|
4597
|
-
};
|
|
4577
|
+
attributes?: Record<string, string>;
|
|
4598
4578
|
}
|
|
4599
4579
|
export declare namespace OTAUpdateFile {
|
|
4600
4580
|
/**
|
|
@@ -4663,9 +4643,7 @@ export interface CreateOTAUpdateRequest {
|
|
|
4663
4643
|
/**
|
|
4664
4644
|
* <p>A list of additional OTA update parameters which are name-value pairs.</p>
|
|
4665
4645
|
*/
|
|
4666
|
-
additionalParameters?:
|
|
4667
|
-
[key: string]: string;
|
|
4668
|
-
};
|
|
4646
|
+
additionalParameters?: Record<string, string>;
|
|
4669
4647
|
/**
|
|
4670
4648
|
* <p>Metadata which can be used to manage updates.</p>
|
|
4671
4649
|
*/
|
|
@@ -5152,9 +5130,7 @@ export interface CreateSecurityProfileRequest {
|
|
|
5152
5130
|
* <p>Specifies the destinations to which alerts are sent. (Alerts are always sent to the
|
|
5153
5131
|
* console.) Alerts are generated when a device (thing) violates a behavior.</p>
|
|
5154
5132
|
*/
|
|
5155
|
-
alertTargets?:
|
|
5156
|
-
[key: string]: AlertTarget;
|
|
5157
|
-
};
|
|
5133
|
+
alertTargets?: Record<string, AlertTarget>;
|
|
5158
5134
|
/**
|
|
5159
5135
|
* @deprecated
|
|
5160
5136
|
*
|
|
@@ -261,15 +261,11 @@ export interface DescribeAccountAuditConfigurationResponse {
|
|
|
261
261
|
* <p>Information about the targets to which audit notifications are sent for
|
|
262
262
|
* this account.</p>
|
|
263
263
|
*/
|
|
264
|
-
auditNotificationTargetConfigurations?:
|
|
265
|
-
[key: string]: AuditNotificationTarget;
|
|
266
|
-
};
|
|
264
|
+
auditNotificationTargetConfigurations?: Record<string, AuditNotificationTarget>;
|
|
267
265
|
/**
|
|
268
266
|
* <p>Which audit checks are enabled and disabled for this account.</p>
|
|
269
267
|
*/
|
|
270
|
-
auditCheckConfigurations?:
|
|
271
|
-
[key: string]: AuditCheckConfiguration;
|
|
272
|
-
};
|
|
268
|
+
auditCheckConfigurations?: Record<string, AuditCheckConfiguration>;
|
|
273
269
|
}
|
|
274
270
|
export declare namespace DescribeAccountAuditConfigurationResponse {
|
|
275
271
|
/**
|
|
@@ -356,9 +352,7 @@ export interface DescribeAuditMitigationActionsTaskResponse {
|
|
|
356
352
|
/**
|
|
357
353
|
* <p>Aggregate counts of the results when the mitigation tasks were applied to the findings for this audit mitigation actions task.</p>
|
|
358
354
|
*/
|
|
359
|
-
taskStatistics?:
|
|
360
|
-
[key: string]: TaskStatisticsForAuditCheck;
|
|
361
|
-
};
|
|
355
|
+
taskStatistics?: Record<string, TaskStatisticsForAuditCheck>;
|
|
362
356
|
/**
|
|
363
357
|
* <p>Identifies the findings to which the mitigation actions are applied. This can be by audit checks, by audit task, or a set of findings.</p>
|
|
364
358
|
*/
|
|
@@ -366,9 +360,7 @@ export interface DescribeAuditMitigationActionsTaskResponse {
|
|
|
366
360
|
/**
|
|
367
361
|
* <p>Specifies the mitigation actions that should be applied to specific audit checks.</p>
|
|
368
362
|
*/
|
|
369
|
-
auditCheckToActionsMapping?:
|
|
370
|
-
[key: string]: string[];
|
|
371
|
-
};
|
|
363
|
+
auditCheckToActionsMapping?: Record<string, string[]>;
|
|
372
364
|
/**
|
|
373
365
|
* <p>Specifies the mitigation actions and their parameters that are applied as part of this task.</p>
|
|
374
366
|
*/
|
|
@@ -512,9 +504,7 @@ export interface DescribeAuditTaskResponse {
|
|
|
512
504
|
/**
|
|
513
505
|
* <p>Detailed information about each check performed during this audit.</p>
|
|
514
506
|
*/
|
|
515
|
-
auditDetails?:
|
|
516
|
-
[key: string]: AuditCheckDetails;
|
|
517
|
-
};
|
|
507
|
+
auditDetails?: Record<string, AuditCheckDetails>;
|
|
518
508
|
}
|
|
519
509
|
export declare namespace DescribeAuditTaskResponse {
|
|
520
510
|
/**
|
|
@@ -1389,9 +1379,7 @@ export interface DescribeEventConfigurationsResponse {
|
|
|
1389
1379
|
/**
|
|
1390
1380
|
* <p>The event configurations.</p>
|
|
1391
1381
|
*/
|
|
1392
|
-
eventConfigurations?:
|
|
1393
|
-
[key: string]: Configuration;
|
|
1394
|
-
};
|
|
1382
|
+
eventConfigurations?: Record<string, Configuration>;
|
|
1395
1383
|
/**
|
|
1396
1384
|
* <p>The creation date of the event configuration.</p>
|
|
1397
1385
|
*/
|
|
@@ -1721,9 +1709,7 @@ export interface Job {
|
|
|
1721
1709
|
* create jobs from them.</p>
|
|
1722
1710
|
* </note>
|
|
1723
1711
|
*/
|
|
1724
|
-
documentParameters?:
|
|
1725
|
-
[key: string]: string;
|
|
1726
|
-
};
|
|
1712
|
+
documentParameters?: Record<string, string>;
|
|
1727
1713
|
isConcurrent?: boolean;
|
|
1728
1714
|
}
|
|
1729
1715
|
export declare namespace Job {
|
|
@@ -1786,9 +1772,7 @@ export interface JobExecutionStatusDetails {
|
|
|
1786
1772
|
/**
|
|
1787
1773
|
* <p>The job execution status.</p>
|
|
1788
1774
|
*/
|
|
1789
|
-
detailsMap?:
|
|
1790
|
-
[key: string]: string;
|
|
1791
|
-
};
|
|
1775
|
+
detailsMap?: Record<string, string>;
|
|
1792
1776
|
}
|
|
1793
1777
|
export declare namespace JobExecutionStatusDetails {
|
|
1794
1778
|
/**
|
|
@@ -2373,9 +2357,7 @@ export interface DescribeSecurityProfileResponse {
|
|
|
2373
2357
|
/**
|
|
2374
2358
|
* <p>Where the alerts are sent. (Alerts are always sent to the console.)</p>
|
|
2375
2359
|
*/
|
|
2376
|
-
alertTargets?:
|
|
2377
|
-
[key: string]: AlertTarget;
|
|
2378
|
-
};
|
|
2360
|
+
alertTargets?: Record<string, AlertTarget>;
|
|
2379
2361
|
/**
|
|
2380
2362
|
* @deprecated
|
|
2381
2363
|
*
|
|
@@ -2530,9 +2512,7 @@ export interface DescribeThingResponse {
|
|
|
2530
2512
|
/**
|
|
2531
2513
|
* <p>The thing attributes.</p>
|
|
2532
2514
|
*/
|
|
2533
|
-
attributes?:
|
|
2534
|
-
[key: string]: string;
|
|
2535
|
-
};
|
|
2515
|
+
attributes?: Record<string, string>;
|
|
2536
2516
|
/**
|
|
2537
2517
|
* <p>The current version of the thing record in the registry.</p>
|
|
2538
2518
|
* <note>
|
|
@@ -3555,9 +3535,7 @@ export interface OTAUpdateInfo {
|
|
|
3555
3535
|
/**
|
|
3556
3536
|
* <p>A collection of name/value pairs</p>
|
|
3557
3537
|
*/
|
|
3558
|
-
additionalParameters?:
|
|
3559
|
-
[key: string]: string;
|
|
3560
|
-
};
|
|
3538
|
+
additionalParameters?: Record<string, string>;
|
|
3561
3539
|
}
|
|
3562
3540
|
export declare namespace OTAUpdateInfo {
|
|
3563
3541
|
/**
|
|
@@ -195,9 +195,7 @@ export interface ThingAttribute {
|
|
|
195
195
|
/**
|
|
196
196
|
* <p>A list of thing attributes which are name-value pairs.</p>
|
|
197
197
|
*/
|
|
198
|
-
attributes?:
|
|
199
|
-
[key: string]: string;
|
|
200
|
-
};
|
|
198
|
+
attributes?: Record<string, string>;
|
|
201
199
|
/**
|
|
202
200
|
* <p>The version of the thing record in the registry.</p>
|
|
203
201
|
*/
|
|
@@ -1017,9 +1015,7 @@ export interface RegisterThingRequest {
|
|
|
1017
1015
|
/**
|
|
1018
1016
|
* <p>The parameters for provisioning a thing. See <a href="https://docs.aws.amazon.com/iot/latest/developerguide/provision-template.html">Provisioning Templates</a> for more information.</p>
|
|
1019
1017
|
*/
|
|
1020
|
-
parameters?:
|
|
1021
|
-
[key: string]: string;
|
|
1022
|
-
};
|
|
1018
|
+
parameters?: Record<string, string>;
|
|
1023
1019
|
}
|
|
1024
1020
|
export declare namespace RegisterThingRequest {
|
|
1025
1021
|
/**
|
|
@@ -1035,9 +1031,7 @@ export interface RegisterThingResponse {
|
|
|
1035
1031
|
/**
|
|
1036
1032
|
* <p>ARNs for the generated resources.</p>
|
|
1037
1033
|
*/
|
|
1038
|
-
resourceArns?:
|
|
1039
|
-
[key: string]: string;
|
|
1040
|
-
};
|
|
1034
|
+
resourceArns?: Record<string, string>;
|
|
1041
1035
|
}
|
|
1042
1036
|
export declare namespace RegisterThingResponse {
|
|
1043
1037
|
/**
|
|
@@ -1207,9 +1201,7 @@ export interface ThingGroupDocument {
|
|
|
1207
1201
|
/**
|
|
1208
1202
|
* <p>The thing group attributes.</p>
|
|
1209
1203
|
*/
|
|
1210
|
-
attributes?:
|
|
1211
|
-
[key: string]: string;
|
|
1212
|
-
};
|
|
1204
|
+
attributes?: Record<string, string>;
|
|
1213
1205
|
/**
|
|
1214
1206
|
* <p>Parent group names.</p>
|
|
1215
1207
|
*/
|
|
@@ -1269,9 +1261,7 @@ export interface ThingDocument {
|
|
|
1269
1261
|
/**
|
|
1270
1262
|
* <p>The attributes.</p>
|
|
1271
1263
|
*/
|
|
1272
|
-
attributes?:
|
|
1273
|
-
[key: string]: string;
|
|
1274
|
-
};
|
|
1264
|
+
attributes?: Record<string, string>;
|
|
1275
1265
|
/**
|
|
1276
1266
|
* <p>The unnamed shadow and named shadow.</p>
|
|
1277
1267
|
* <p>For more information about shadows, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/iot-device-shadows.html">IoT Device Shadow service.</a>
|
|
@@ -1447,9 +1437,7 @@ export interface StartAuditMitigationActionsTaskRequest {
|
|
|
1447
1437
|
/**
|
|
1448
1438
|
* <p>For an audit check, specifies which mitigation actions to apply. Those actions must be defined in your Amazon Web Services accounts.</p>
|
|
1449
1439
|
*/
|
|
1450
|
-
auditCheckToActionsMapping:
|
|
1451
|
-
[key: string]: string[];
|
|
1452
|
-
} | undefined;
|
|
1440
|
+
auditCheckToActionsMapping: Record<string, string[]> | undefined;
|
|
1453
1441
|
/**
|
|
1454
1442
|
* <p>Each audit mitigation task must have a unique client request token. If you try to start a new task with the same token as a task that already exists, an exception occurs. If you omit this value, a unique client request token is generated automatically.</p>
|
|
1455
1443
|
*/
|
|
@@ -1724,9 +1712,7 @@ export interface HttpContext {
|
|
|
1724
1712
|
/**
|
|
1725
1713
|
* <p>The header keys and values in an HTTP authorization request.</p>
|
|
1726
1714
|
*/
|
|
1727
|
-
headers?:
|
|
1728
|
-
[key: string]: string;
|
|
1729
|
-
};
|
|
1715
|
+
headers?: Record<string, string>;
|
|
1730
1716
|
/**
|
|
1731
1717
|
* <p>The query string keys and values in an HTTP authorization request.</p>
|
|
1732
1718
|
*/
|
|
@@ -1927,9 +1913,7 @@ export interface UpdateAccountAuditConfigurationRequest {
|
|
|
1927
1913
|
/**
|
|
1928
1914
|
* <p>Information about the targets to which audit notifications are sent.</p>
|
|
1929
1915
|
*/
|
|
1930
|
-
auditNotificationTargetConfigurations?:
|
|
1931
|
-
[key: string]: AuditNotificationTarget;
|
|
1932
|
-
};
|
|
1916
|
+
auditNotificationTargetConfigurations?: Record<string, AuditNotificationTarget>;
|
|
1933
1917
|
/**
|
|
1934
1918
|
* <p>Specifies which audit checks are enabled and disabled for this account. Use
|
|
1935
1919
|
* <code>DescribeAccountAuditConfiguration</code> to see the list of all checks, including those
|
|
@@ -1945,9 +1929,7 @@ export interface UpdateAccountAuditConfigurationRequest {
|
|
|
1945
1929
|
* <p>On the first call to <code>UpdateAccountAuditConfiguration</code>,
|
|
1946
1930
|
* this parameter is required and must specify at least one enabled check.</p>
|
|
1947
1931
|
*/
|
|
1948
|
-
auditCheckConfigurations?:
|
|
1949
|
-
[key: string]: AuditCheckConfiguration;
|
|
1950
|
-
};
|
|
1932
|
+
auditCheckConfigurations?: Record<string, AuditCheckConfiguration>;
|
|
1951
1933
|
}
|
|
1952
1934
|
export declare namespace UpdateAccountAuditConfigurationRequest {
|
|
1953
1935
|
/**
|
|
@@ -2024,9 +2006,7 @@ export interface UpdateAuthorizerRequest {
|
|
|
2024
2006
|
/**
|
|
2025
2007
|
* <p>The public keys used to verify the token signature.</p>
|
|
2026
2008
|
*/
|
|
2027
|
-
tokenSigningPublicKeys?:
|
|
2028
|
-
[key: string]: string;
|
|
2029
|
-
};
|
|
2009
|
+
tokenSigningPublicKeys?: Record<string, string>;
|
|
2030
2010
|
/**
|
|
2031
2011
|
* <p>The status of the update authorizer request.</p>
|
|
2032
2012
|
*/
|
|
@@ -2371,9 +2351,7 @@ export interface UpdateEventConfigurationsRequest {
|
|
|
2371
2351
|
/**
|
|
2372
2352
|
* <p>The new event configuration values.</p>
|
|
2373
2353
|
*/
|
|
2374
|
-
eventConfigurations?:
|
|
2375
|
-
[key: string]: Configuration;
|
|
2376
|
-
};
|
|
2354
|
+
eventConfigurations?: Record<string, Configuration>;
|
|
2377
2355
|
}
|
|
2378
2356
|
export declare namespace UpdateEventConfigurationsRequest {
|
|
2379
2357
|
/**
|
|
@@ -2705,9 +2683,7 @@ export interface UpdateSecurityProfileRequest {
|
|
|
2705
2683
|
/**
|
|
2706
2684
|
* <p>Where the alerts are sent. (Alerts are always sent to the console.)</p>
|
|
2707
2685
|
*/
|
|
2708
|
-
alertTargets?:
|
|
2709
|
-
[key: string]: AlertTarget;
|
|
2710
|
-
};
|
|
2686
|
+
alertTargets?: Record<string, AlertTarget>;
|
|
2711
2687
|
/**
|
|
2712
2688
|
* @deprecated
|
|
2713
2689
|
*
|
|
@@ -2776,9 +2752,7 @@ export interface UpdateSecurityProfileResponse {
|
|
|
2776
2752
|
/**
|
|
2777
2753
|
* <p>Where the alerts are sent. (Alerts are always sent to the console.)</p>
|
|
2778
2754
|
*/
|
|
2779
|
-
alertTargets?:
|
|
2780
|
-
[key: string]: AlertTarget;
|
|
2781
|
-
};
|
|
2755
|
+
alertTargets?: Record<string, AlertTarget>;
|
|
2782
2756
|
/**
|
|
2783
2757
|
* @deprecated
|
|
2784
2758
|
*
|
|
@@ -418,9 +418,7 @@ export interface KafkaAction {
|
|
|
418
418
|
|
|
419
419
|
partition?: string;
|
|
420
420
|
|
|
421
|
-
clientProperties:
|
|
422
|
-
[key: string]: string;
|
|
423
|
-
} | undefined;
|
|
421
|
+
clientProperties: Record<string, string> | undefined;
|
|
424
422
|
}
|
|
425
423
|
export declare namespace KafkaAction {
|
|
426
424
|
|
|
@@ -1014,9 +1012,7 @@ export declare namespace AttachThingPrincipalResponse {
|
|
|
1014
1012
|
|
|
1015
1013
|
export interface AttributePayload {
|
|
1016
1014
|
|
|
1017
|
-
attributes?:
|
|
1018
|
-
[key: string]: string;
|
|
1019
|
-
};
|
|
1015
|
+
attributes?: Record<string, string>;
|
|
1020
1016
|
|
|
1021
1017
|
merge?: boolean;
|
|
1022
1018
|
}
|
|
@@ -1113,9 +1109,7 @@ export interface NonCompliantResource {
|
|
|
1113
1109
|
|
|
1114
1110
|
resourceIdentifier?: ResourceIdentifier;
|
|
1115
1111
|
|
|
1116
|
-
additionalInfo?:
|
|
1117
|
-
[key: string]: string;
|
|
1118
|
-
};
|
|
1112
|
+
additionalInfo?: Record<string, string>;
|
|
1119
1113
|
}
|
|
1120
1114
|
export declare namespace NonCompliantResource {
|
|
1121
1115
|
|
|
@@ -1128,9 +1122,7 @@ export interface RelatedResource {
|
|
|
1128
1122
|
|
|
1129
1123
|
resourceIdentifier?: ResourceIdentifier;
|
|
1130
1124
|
|
|
1131
|
-
additionalInfo?:
|
|
1132
|
-
[key: string]: string;
|
|
1133
|
-
};
|
|
1125
|
+
additionalInfo?: Record<string, string>;
|
|
1134
1126
|
}
|
|
1135
1127
|
export declare namespace RelatedResource {
|
|
1136
1128
|
|
|
@@ -1253,9 +1245,7 @@ export interface AuditMitigationActionsTaskTarget {
|
|
|
1253
1245
|
|
|
1254
1246
|
findingIds?: string[];
|
|
1255
1247
|
|
|
1256
|
-
auditCheckToReasonCodeFilter?:
|
|
1257
|
-
[key: string]: string[];
|
|
1258
|
-
};
|
|
1248
|
+
auditCheckToReasonCodeFilter?: Record<string, string[]>;
|
|
1259
1249
|
}
|
|
1260
1250
|
export declare namespace AuditMitigationActionsTaskTarget {
|
|
1261
1251
|
|
|
@@ -1359,9 +1349,7 @@ export interface AuthorizerDescription {
|
|
|
1359
1349
|
|
|
1360
1350
|
tokenKeyName?: string;
|
|
1361
1351
|
|
|
1362
|
-
tokenSigningPublicKeys?:
|
|
1363
|
-
[key: string]: string;
|
|
1364
|
-
};
|
|
1352
|
+
tokenSigningPublicKeys?: Record<string, string>;
|
|
1365
1353
|
|
|
1366
1354
|
status?: AuthorizerStatus | string;
|
|
1367
1355
|
|
|
@@ -1525,9 +1513,7 @@ export interface CancelJobExecutionRequest {
|
|
|
1525
1513
|
|
|
1526
1514
|
expectedVersion?: number;
|
|
1527
1515
|
|
|
1528
|
-
statusDetails?:
|
|
1529
|
-
[key: string]: string;
|
|
1530
|
-
};
|
|
1516
|
+
statusDetails?: Record<string, string>;
|
|
1531
1517
|
}
|
|
1532
1518
|
export declare namespace CancelJobExecutionRequest {
|
|
1533
1519
|
|
|
@@ -1634,9 +1620,7 @@ export interface CreateAuthorizerRequest {
|
|
|
1634
1620
|
|
|
1635
1621
|
tokenKeyName?: string;
|
|
1636
1622
|
|
|
1637
|
-
tokenSigningPublicKeys?:
|
|
1638
|
-
[key: string]: string;
|
|
1639
|
-
};
|
|
1623
|
+
tokenSigningPublicKeys?: Record<string, string>;
|
|
1640
1624
|
|
|
1641
1625
|
status?: AuthorizerStatus | string;
|
|
1642
1626
|
|
|
@@ -2067,9 +2051,7 @@ export interface CreateJobRequest {
|
|
|
2067
2051
|
|
|
2068
2052
|
jobExecutionsRetryConfig?: JobExecutionsRetryConfig;
|
|
2069
2053
|
|
|
2070
|
-
documentParameters?:
|
|
2071
|
-
[key: string]: string;
|
|
2072
|
-
};
|
|
2054
|
+
documentParameters?: Record<string, string>;
|
|
2073
2055
|
}
|
|
2074
2056
|
export declare namespace CreateJobRequest {
|
|
2075
2057
|
|
|
@@ -2501,9 +2483,7 @@ export interface OTAUpdateFile {
|
|
|
2501
2483
|
|
|
2502
2484
|
codeSigning?: CodeSigning;
|
|
2503
2485
|
|
|
2504
|
-
attributes?:
|
|
2505
|
-
[key: string]: string;
|
|
2506
|
-
};
|
|
2486
|
+
attributes?: Record<string, string>;
|
|
2507
2487
|
}
|
|
2508
2488
|
export declare namespace OTAUpdateFile {
|
|
2509
2489
|
|
|
@@ -2537,9 +2517,7 @@ export interface CreateOTAUpdateRequest {
|
|
|
2537
2517
|
|
|
2538
2518
|
roleArn: string | undefined;
|
|
2539
2519
|
|
|
2540
|
-
additionalParameters?:
|
|
2541
|
-
[key: string]: string;
|
|
2542
|
-
};
|
|
2520
|
+
additionalParameters?: Record<string, string>;
|
|
2543
2521
|
|
|
2544
2522
|
tags?: Tag[];
|
|
2545
2523
|
}
|
|
@@ -2797,9 +2775,7 @@ export interface CreateSecurityProfileRequest {
|
|
|
2797
2775
|
|
|
2798
2776
|
behaviors?: Behavior[];
|
|
2799
2777
|
|
|
2800
|
-
alertTargets?:
|
|
2801
|
-
[key: string]: AlertTarget;
|
|
2802
|
-
};
|
|
2778
|
+
alertTargets?: Record<string, AlertTarget>;
|
|
2803
2779
|
|
|
2804
2780
|
additionalMetricsToRetain?: string[];
|
|
2805
2781
|
|
|
@@ -163,13 +163,9 @@ export interface DescribeAccountAuditConfigurationResponse {
|
|
|
163
163
|
|
|
164
164
|
roleArn?: string;
|
|
165
165
|
|
|
166
|
-
auditNotificationTargetConfigurations?:
|
|
167
|
-
[key: string]: AuditNotificationTarget;
|
|
168
|
-
};
|
|
166
|
+
auditNotificationTargetConfigurations?: Record<string, AuditNotificationTarget>;
|
|
169
167
|
|
|
170
|
-
auditCheckConfigurations?:
|
|
171
|
-
[key: string]: AuditCheckConfiguration;
|
|
172
|
-
};
|
|
168
|
+
auditCheckConfigurations?: Record<string, AuditCheckConfiguration>;
|
|
173
169
|
}
|
|
174
170
|
export declare namespace DescribeAccountAuditConfigurationResponse {
|
|
175
171
|
|
|
@@ -222,15 +218,11 @@ export interface DescribeAuditMitigationActionsTaskResponse {
|
|
|
222
218
|
|
|
223
219
|
endTime?: Date;
|
|
224
220
|
|
|
225
|
-
taskStatistics?:
|
|
226
|
-
[key: string]: TaskStatisticsForAuditCheck;
|
|
227
|
-
};
|
|
221
|
+
taskStatistics?: Record<string, TaskStatisticsForAuditCheck>;
|
|
228
222
|
|
|
229
223
|
target?: AuditMitigationActionsTaskTarget;
|
|
230
224
|
|
|
231
|
-
auditCheckToActionsMapping?:
|
|
232
|
-
[key: string]: string[];
|
|
233
|
-
};
|
|
225
|
+
auditCheckToActionsMapping?: Record<string, string[]>;
|
|
234
226
|
|
|
235
227
|
actionsDefinition?: MitigationAction[];
|
|
236
228
|
}
|
|
@@ -305,9 +297,7 @@ export interface DescribeAuditTaskResponse {
|
|
|
305
297
|
|
|
306
298
|
scheduledAuditName?: string;
|
|
307
299
|
|
|
308
|
-
auditDetails?:
|
|
309
|
-
[key: string]: AuditCheckDetails;
|
|
310
|
-
};
|
|
300
|
+
auditDetails?: Record<string, AuditCheckDetails>;
|
|
311
301
|
}
|
|
312
302
|
export declare namespace DescribeAuditTaskResponse {
|
|
313
303
|
|
|
@@ -779,9 +769,7 @@ export declare namespace Configuration {
|
|
|
779
769
|
}
|
|
780
770
|
export interface DescribeEventConfigurationsResponse {
|
|
781
771
|
|
|
782
|
-
eventConfigurations?:
|
|
783
|
-
[key: string]: Configuration;
|
|
784
|
-
};
|
|
772
|
+
eventConfigurations?: Record<string, Configuration>;
|
|
785
773
|
|
|
786
774
|
creationDate?: Date;
|
|
787
775
|
|
|
@@ -938,9 +926,7 @@ export interface Job {
|
|
|
938
926
|
|
|
939
927
|
jobExecutionsRetryConfig?: JobExecutionsRetryConfig;
|
|
940
928
|
|
|
941
|
-
documentParameters?:
|
|
942
|
-
[key: string]: string;
|
|
943
|
-
};
|
|
929
|
+
documentParameters?: Record<string, string>;
|
|
944
930
|
isConcurrent?: boolean;
|
|
945
931
|
}
|
|
946
932
|
export declare namespace Job {
|
|
@@ -982,9 +968,7 @@ export declare enum JobExecutionStatus {
|
|
|
982
968
|
|
|
983
969
|
export interface JobExecutionStatusDetails {
|
|
984
970
|
|
|
985
|
-
detailsMap?:
|
|
986
|
-
[key: string]: string;
|
|
987
|
-
};
|
|
971
|
+
detailsMap?: Record<string, string>;
|
|
988
972
|
}
|
|
989
973
|
export declare namespace JobExecutionStatusDetails {
|
|
990
974
|
|
|
@@ -1294,9 +1278,7 @@ export interface DescribeSecurityProfileResponse {
|
|
|
1294
1278
|
|
|
1295
1279
|
behaviors?: Behavior[];
|
|
1296
1280
|
|
|
1297
|
-
alertTargets?:
|
|
1298
|
-
[key: string]: AlertTarget;
|
|
1299
|
-
};
|
|
1281
|
+
alertTargets?: Record<string, AlertTarget>;
|
|
1300
1282
|
|
|
1301
1283
|
additionalMetricsToRetain?: string[];
|
|
1302
1284
|
|
|
@@ -1373,9 +1355,7 @@ export interface DescribeThingResponse {
|
|
|
1373
1355
|
|
|
1374
1356
|
thingTypeName?: string;
|
|
1375
1357
|
|
|
1376
|
-
attributes?:
|
|
1377
|
-
[key: string]: string;
|
|
1378
|
-
};
|
|
1358
|
+
attributes?: Record<string, string>;
|
|
1379
1359
|
|
|
1380
1360
|
version?: number;
|
|
1381
1361
|
|
|
@@ -1932,9 +1912,7 @@ export interface OTAUpdateInfo {
|
|
|
1932
1912
|
|
|
1933
1913
|
errorInfo?: ErrorInfo;
|
|
1934
1914
|
|
|
1935
|
-
additionalParameters?:
|
|
1936
|
-
[key: string]: string;
|
|
1937
|
-
};
|
|
1915
|
+
additionalParameters?: Record<string, string>;
|
|
1938
1916
|
}
|
|
1939
1917
|
export declare namespace OTAUpdateInfo {
|
|
1940
1918
|
|
|
@@ -106,9 +106,7 @@ export interface ThingAttribute {
|
|
|
106
106
|
|
|
107
107
|
thingArn?: string;
|
|
108
108
|
|
|
109
|
-
attributes?:
|
|
110
|
-
[key: string]: string;
|
|
111
|
-
};
|
|
109
|
+
attributes?: Record<string, string>;
|
|
112
110
|
|
|
113
111
|
version?: number;
|
|
114
112
|
}
|
|
@@ -542,9 +540,7 @@ export interface RegisterThingRequest {
|
|
|
542
540
|
|
|
543
541
|
templateBody: string | undefined;
|
|
544
542
|
|
|
545
|
-
parameters?:
|
|
546
|
-
[key: string]: string;
|
|
547
|
-
};
|
|
543
|
+
parameters?: Record<string, string>;
|
|
548
544
|
}
|
|
549
545
|
export declare namespace RegisterThingRequest {
|
|
550
546
|
|
|
@@ -554,9 +550,7 @@ export interface RegisterThingResponse {
|
|
|
554
550
|
|
|
555
551
|
certificatePem?: string;
|
|
556
552
|
|
|
557
|
-
resourceArns?:
|
|
558
|
-
[key: string]: string;
|
|
559
|
-
};
|
|
553
|
+
resourceArns?: Record<string, string>;
|
|
560
554
|
}
|
|
561
555
|
export declare namespace RegisterThingResponse {
|
|
562
556
|
|
|
@@ -656,9 +650,7 @@ export interface ThingGroupDocument {
|
|
|
656
650
|
|
|
657
651
|
thingGroupDescription?: string;
|
|
658
652
|
|
|
659
|
-
attributes?:
|
|
660
|
-
[key: string]: string;
|
|
661
|
-
};
|
|
653
|
+
attributes?: Record<string, string>;
|
|
662
654
|
|
|
663
655
|
parentGroupNames?: string[];
|
|
664
656
|
}
|
|
@@ -690,9 +682,7 @@ export interface ThingDocument {
|
|
|
690
682
|
|
|
691
683
|
thingGroupNames?: string[];
|
|
692
684
|
|
|
693
|
-
attributes?:
|
|
694
|
-
[key: string]: string;
|
|
695
|
-
};
|
|
685
|
+
attributes?: Record<string, string>;
|
|
696
686
|
|
|
697
687
|
shadow?: string;
|
|
698
688
|
|
|
@@ -793,9 +783,7 @@ export interface StartAuditMitigationActionsTaskRequest {
|
|
|
793
783
|
|
|
794
784
|
target: AuditMitigationActionsTaskTarget | undefined;
|
|
795
785
|
|
|
796
|
-
auditCheckToActionsMapping:
|
|
797
|
-
[key: string]: string[];
|
|
798
|
-
} | undefined;
|
|
786
|
+
auditCheckToActionsMapping: Record<string, string[]> | undefined;
|
|
799
787
|
|
|
800
788
|
clientRequestToken?: string;
|
|
801
789
|
}
|
|
@@ -950,9 +938,7 @@ export declare class InvalidResponseException extends __BaseException {
|
|
|
950
938
|
|
|
951
939
|
export interface HttpContext {
|
|
952
940
|
|
|
953
|
-
headers?:
|
|
954
|
-
[key: string]: string;
|
|
955
|
-
};
|
|
941
|
+
headers?: Record<string, string>;
|
|
956
942
|
|
|
957
943
|
queryString?: string;
|
|
958
944
|
}
|
|
@@ -1065,13 +1051,9 @@ export interface UpdateAccountAuditConfigurationRequest {
|
|
|
1065
1051
|
|
|
1066
1052
|
roleArn?: string;
|
|
1067
1053
|
|
|
1068
|
-
auditNotificationTargetConfigurations?:
|
|
1069
|
-
[key: string]: AuditNotificationTarget;
|
|
1070
|
-
};
|
|
1054
|
+
auditNotificationTargetConfigurations?: Record<string, AuditNotificationTarget>;
|
|
1071
1055
|
|
|
1072
|
-
auditCheckConfigurations?:
|
|
1073
|
-
[key: string]: AuditCheckConfiguration;
|
|
1074
|
-
};
|
|
1056
|
+
auditCheckConfigurations?: Record<string, AuditCheckConfiguration>;
|
|
1075
1057
|
}
|
|
1076
1058
|
export declare namespace UpdateAccountAuditConfigurationRequest {
|
|
1077
1059
|
|
|
@@ -1113,9 +1095,7 @@ export interface UpdateAuthorizerRequest {
|
|
|
1113
1095
|
|
|
1114
1096
|
tokenKeyName?: string;
|
|
1115
1097
|
|
|
1116
|
-
tokenSigningPublicKeys?:
|
|
1117
|
-
[key: string]: string;
|
|
1118
|
-
};
|
|
1098
|
+
tokenSigningPublicKeys?: Record<string, string>;
|
|
1119
1099
|
|
|
1120
1100
|
status?: AuthorizerStatus | string;
|
|
1121
1101
|
|
|
@@ -1291,9 +1271,7 @@ export declare namespace UpdateDynamicThingGroupResponse {
|
|
|
1291
1271
|
}
|
|
1292
1272
|
export interface UpdateEventConfigurationsRequest {
|
|
1293
1273
|
|
|
1294
|
-
eventConfigurations?:
|
|
1295
|
-
[key: string]: Configuration;
|
|
1296
|
-
};
|
|
1274
|
+
eventConfigurations?: Record<string, Configuration>;
|
|
1297
1275
|
}
|
|
1298
1276
|
export declare namespace UpdateEventConfigurationsRequest {
|
|
1299
1277
|
|
|
@@ -1471,9 +1449,7 @@ export interface UpdateSecurityProfileRequest {
|
|
|
1471
1449
|
|
|
1472
1450
|
behaviors?: Behavior[];
|
|
1473
1451
|
|
|
1474
|
-
alertTargets?:
|
|
1475
|
-
[key: string]: AlertTarget;
|
|
1476
|
-
};
|
|
1452
|
+
alertTargets?: Record<string, AlertTarget>;
|
|
1477
1453
|
|
|
1478
1454
|
additionalMetricsToRetain?: string[];
|
|
1479
1455
|
|
|
@@ -1501,9 +1477,7 @@ export interface UpdateSecurityProfileResponse {
|
|
|
1501
1477
|
|
|
1502
1478
|
behaviors?: Behavior[];
|
|
1503
1479
|
|
|
1504
|
-
alertTargets?:
|
|
1505
|
-
[key: string]: AlertTarget;
|
|
1506
|
-
};
|
|
1480
|
+
alertTargets?: Record<string, AlertTarget>;
|
|
1507
1481
|
|
|
1508
1482
|
additionalMetricsToRetain?: string[];
|
|
1509
1483
|
|
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.
|
|
4
|
+
"version": "3.105.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",
|
|
@@ -18,15 +18,16 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.105.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.105.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.78.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.78.0",
|
|
27
27
|
"@aws-sdk/middleware-content-length": "3.78.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.78.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.78.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.105.0",
|
|
30
31
|
"@aws-sdk/middleware-retry": "3.80.0",
|
|
31
32
|
"@aws-sdk/middleware-serde": "3.78.0",
|
|
32
33
|
"@aws-sdk/middleware-signing": "3.78.0",
|