@aws-sdk/client-iot 3.199.0 → 3.201.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 (33) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist-cjs/commands/DeleteRegistrationCodeCommand.js +2 -1
  3. package/dist-cjs/commands/DeleteRoleAliasCommand.js +1 -2
  4. package/dist-cjs/commands/ListThingGroupsCommand.js +3 -3
  5. package/dist-cjs/endpoint/EndpointParameters.js +2 -3
  6. package/dist-cjs/models/models_0.js +14 -14
  7. package/dist-cjs/models/models_1.js +14 -14
  8. package/dist-cjs/models/models_2.js +11 -3
  9. package/dist-cjs/protocols/Aws_restJson1.js +283 -258
  10. package/dist-cjs/runtimeConfig.browser.js +16 -16
  11. package/dist-cjs/runtimeConfig.js +20 -19
  12. package/dist-cjs/runtimeConfig.native.js +1 -2
  13. package/dist-cjs/runtimeConfig.shared.js +8 -11
  14. package/dist-es/commands/DeleteRegistrationCodeCommand.js +2 -1
  15. package/dist-es/commands/DeleteRoleAliasCommand.js +1 -2
  16. package/dist-es/commands/ListThingGroupsCommand.js +1 -1
  17. package/dist-es/models/models_0.js +6 -6
  18. package/dist-es/models/models_1.js +6 -6
  19. package/dist-es/models/models_2.js +6 -0
  20. package/dist-es/protocols/Aws_restJson1.js +34 -0
  21. package/dist-types/commands/DeleteRegistrationCodeCommand.d.ts +2 -1
  22. package/dist-types/commands/DeleteRoleAliasCommand.d.ts +1 -2
  23. package/dist-types/commands/ListThingGroupsCommand.d.ts +1 -1
  24. package/dist-types/models/models_0.d.ts +67 -20
  25. package/dist-types/models/models_1.d.ts +21 -44
  26. package/dist-types/models/models_2.d.ts +45 -1
  27. package/dist-types/ts3.4/commands/DeleteRegistrationCodeCommand.d.ts +2 -4
  28. package/dist-types/ts3.4/commands/DeleteRoleAliasCommand.d.ts +4 -2
  29. package/dist-types/ts3.4/commands/ListThingGroupsCommand.d.ts +1 -1
  30. package/dist-types/ts3.4/models/models_0.d.ts +19 -10
  31. package/dist-types/ts3.4/models/models_1.d.ts +10 -17
  32. package/dist-types/ts3.4/models/models_2.d.ts +17 -0
  33. package/package.json +33 -33
@@ -11,10 +11,8 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../IoTClient";
14
- import {
15
- DeleteRegistrationCodeRequest,
16
- DeleteRegistrationCodeResponse,
17
- } from "../models/models_0";
14
+ import { DeleteRegistrationCodeRequest } from "../models/models_0";
15
+ import { DeleteRegistrationCodeResponse } from "../models/models_1";
18
16
  export interface DeleteRegistrationCodeCommandInput
19
17
  extends DeleteRegistrationCodeRequest {}
20
18
  export interface DeleteRegistrationCodeCommandOutput
@@ -11,8 +11,10 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../IoTClient";
14
- import { DeleteRoleAliasRequest } from "../models/models_0";
15
- import { DeleteRoleAliasResponse } from "../models/models_1";
14
+ import {
15
+ DeleteRoleAliasRequest,
16
+ DeleteRoleAliasResponse,
17
+ } from "../models/models_1";
16
18
  export interface DeleteRoleAliasCommandInput extends DeleteRoleAliasRequest {}
17
19
  export interface DeleteRoleAliasCommandOutput
18
20
  extends DeleteRoleAliasResponse,
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  ListThingGroupsRequest,
16
16
  ListThingGroupsResponse,
17
- } from "../models/models_1";
17
+ } from "../models/models_2";
18
18
  export interface ListThingGroupsCommandInput extends ListThingGroupsRequest {}
19
19
  export interface ListThingGroupsCommandOutput
20
20
  extends ListThingGroupsResponse,
@@ -244,6 +244,18 @@ export interface KinesisAction {
244
244
  export interface LambdaAction {
245
245
  functionArn: string | undefined;
246
246
  }
247
+ export interface LocationTimestamp {
248
+ value: string | undefined;
249
+ unit?: string;
250
+ }
251
+ export interface LocationAction {
252
+ roleArn: string | undefined;
253
+ trackerName: string | undefined;
254
+ deviceId: string | undefined;
255
+ timestamp?: LocationTimestamp;
256
+ latitude: string | undefined;
257
+ longitude: string | undefined;
258
+ }
247
259
  export interface OpenSearchAction {
248
260
  roleArn: string | undefined;
249
261
  endpoint: string | undefined;
@@ -333,6 +345,7 @@ export interface Action {
333
345
  http?: HttpAction;
334
346
  kafka?: KafkaAction;
335
347
  openSearch?: OpenSearchAction;
348
+ location?: LocationAction;
336
349
  }
337
350
  export declare enum ActionType {
338
351
  CONNECT = "CONNECT",
@@ -1586,10 +1599,6 @@ export interface DeleteProvisioningTemplateVersionRequest {
1586
1599
  }
1587
1600
  export interface DeleteProvisioningTemplateVersionResponse {}
1588
1601
  export interface DeleteRegistrationCodeRequest {}
1589
- export interface DeleteRegistrationCodeResponse {}
1590
- export interface DeleteRoleAliasRequest {
1591
- roleAlias: string | undefined;
1592
- }
1593
1602
  export declare const AbortCriteriaFilterSensitiveLog: (
1594
1603
  obj: AbortCriteria
1595
1604
  ) => any;
@@ -1655,6 +1664,12 @@ export declare const KinesisActionFilterSensitiveLog: (
1655
1664
  obj: KinesisAction
1656
1665
  ) => any;
1657
1666
  export declare const LambdaActionFilterSensitiveLog: (obj: LambdaAction) => any;
1667
+ export declare const LocationTimestampFilterSensitiveLog: (
1668
+ obj: LocationTimestamp
1669
+ ) => any;
1670
+ export declare const LocationActionFilterSensitiveLog: (
1671
+ obj: LocationAction
1672
+ ) => any;
1658
1673
  export declare const OpenSearchActionFilterSensitiveLog: (
1659
1674
  obj: OpenSearchAction
1660
1675
  ) => any;
@@ -2236,9 +2251,3 @@ export declare const DeleteProvisioningTemplateVersionResponseFilterSensitiveLog
2236
2251
  export declare const DeleteRegistrationCodeRequestFilterSensitiveLog: (
2237
2252
  obj: DeleteRegistrationCodeRequest
2238
2253
  ) => any;
2239
- export declare const DeleteRegistrationCodeResponseFilterSensitiveLog: (
2240
- obj: DeleteRegistrationCodeResponse
2241
- ) => any;
2242
- export declare const DeleteRoleAliasRequestFilterSensitiveLog: (
2243
- obj: DeleteRoleAliasRequest
2244
- ) => any;
@@ -59,6 +59,10 @@ import {
59
59
  TopicRuleDestination,
60
60
  VerificationState,
61
61
  } from "./models_0";
62
+ export interface DeleteRegistrationCodeResponse {}
63
+ export interface DeleteRoleAliasRequest {
64
+ roleAlias: string | undefined;
65
+ }
62
66
  export interface DeleteRoleAliasResponse {}
63
67
  export interface DeleteScheduledAuditRequest {
64
68
  scheduledAuditName: string | undefined;
@@ -1584,17 +1588,12 @@ export interface ListTargetsForSecurityProfileResponse {
1584
1588
  securityProfileTargets?: SecurityProfileTarget[];
1585
1589
  nextToken?: string;
1586
1590
  }
1587
- export interface ListThingGroupsRequest {
1588
- nextToken?: string;
1589
- maxResults?: number;
1590
- parentGroup?: string;
1591
- namePrefixFilter?: string;
1592
- recursive?: boolean;
1593
- }
1594
- export interface ListThingGroupsResponse {
1595
- thingGroups?: GroupNameAndArn[];
1596
- nextToken?: string;
1597
- }
1591
+ export declare const DeleteRegistrationCodeResponseFilterSensitiveLog: (
1592
+ obj: DeleteRegistrationCodeResponse
1593
+ ) => any;
1594
+ export declare const DeleteRoleAliasRequestFilterSensitiveLog: (
1595
+ obj: DeleteRoleAliasRequest
1596
+ ) => any;
1598
1597
  export declare const DeleteRoleAliasResponseFilterSensitiveLog: (
1599
1598
  obj: DeleteRoleAliasResponse
1600
1599
  ) => any;
@@ -2385,9 +2384,3 @@ export declare const ListTargetsForSecurityProfileRequestFilterSensitiveLog: (
2385
2384
  export declare const ListTargetsForSecurityProfileResponseFilterSensitiveLog: (
2386
2385
  obj: ListTargetsForSecurityProfileResponse
2387
2386
  ) => any;
2388
- export declare const ListThingGroupsRequestFilterSensitiveLog: (
2389
- obj: ListThingGroupsRequest
2390
- ) => any;
2391
- export declare const ListThingGroupsResponseFilterSensitiveLog: (
2392
- obj: ListThingGroupsResponse
2393
- ) => any;
@@ -56,6 +56,17 @@ import {
56
56
  ThingTypeMetadata,
57
57
  ViolationEventOccurrenceRange,
58
58
  } from "./models_1";
59
+ export interface ListThingGroupsRequest {
60
+ nextToken?: string;
61
+ maxResults?: number;
62
+ parentGroup?: string;
63
+ namePrefixFilter?: string;
64
+ recursive?: boolean;
65
+ }
66
+ export interface ListThingGroupsResponse {
67
+ thingGroups?: GroupNameAndArn[];
68
+ nextToken?: string;
69
+ }
59
70
  export interface ListThingGroupsForThingRequest {
60
71
  thingName: string | undefined;
61
72
  nextToken?: string;
@@ -751,6 +762,12 @@ export interface ValidateSecurityProfileBehaviorsResponse {
751
762
  valid?: boolean;
752
763
  validationErrors?: ValidationError[];
753
764
  }
765
+ export declare const ListThingGroupsRequestFilterSensitiveLog: (
766
+ obj: ListThingGroupsRequest
767
+ ) => any;
768
+ export declare const ListThingGroupsResponseFilterSensitiveLog: (
769
+ obj: ListThingGroupsResponse
770
+ ) => any;
754
771
  export declare const ListThingGroupsForThingRequestFilterSensitiveLog: (
755
772
  obj: ListThingGroupsForThingRequest
756
773
  ) => any;
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.199.0",
4
+ "version": "3.201.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",
@@ -19,45 +19,45 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.199.0",
23
- "@aws-sdk/config-resolver": "3.198.0",
24
- "@aws-sdk/credential-provider-node": "3.199.0",
25
- "@aws-sdk/fetch-http-handler": "3.199.0",
26
- "@aws-sdk/hash-node": "3.198.0",
27
- "@aws-sdk/invalid-dependency": "3.198.0",
28
- "@aws-sdk/middleware-content-length": "3.199.0",
29
- "@aws-sdk/middleware-endpoint": "3.198.0",
30
- "@aws-sdk/middleware-host-header": "3.198.0",
31
- "@aws-sdk/middleware-logger": "3.198.0",
32
- "@aws-sdk/middleware-recursion-detection": "3.198.0",
33
- "@aws-sdk/middleware-retry": "3.198.0",
34
- "@aws-sdk/middleware-serde": "3.198.0",
35
- "@aws-sdk/middleware-signing": "3.198.0",
36
- "@aws-sdk/middleware-stack": "3.198.0",
37
- "@aws-sdk/middleware-user-agent": "3.198.0",
38
- "@aws-sdk/node-config-provider": "3.198.0",
39
- "@aws-sdk/node-http-handler": "3.199.0",
40
- "@aws-sdk/protocol-http": "3.198.0",
41
- "@aws-sdk/smithy-client": "3.198.0",
42
- "@aws-sdk/types": "3.198.0",
43
- "@aws-sdk/url-parser": "3.198.0",
22
+ "@aws-sdk/client-sts": "3.201.0",
23
+ "@aws-sdk/config-resolver": "3.201.0",
24
+ "@aws-sdk/credential-provider-node": "3.201.0",
25
+ "@aws-sdk/fetch-http-handler": "3.201.0",
26
+ "@aws-sdk/hash-node": "3.201.0",
27
+ "@aws-sdk/invalid-dependency": "3.201.0",
28
+ "@aws-sdk/middleware-content-length": "3.201.0",
29
+ "@aws-sdk/middleware-endpoint": "3.201.0",
30
+ "@aws-sdk/middleware-host-header": "3.201.0",
31
+ "@aws-sdk/middleware-logger": "3.201.0",
32
+ "@aws-sdk/middleware-recursion-detection": "3.201.0",
33
+ "@aws-sdk/middleware-retry": "3.201.0",
34
+ "@aws-sdk/middleware-serde": "3.201.0",
35
+ "@aws-sdk/middleware-signing": "3.201.0",
36
+ "@aws-sdk/middleware-stack": "3.201.0",
37
+ "@aws-sdk/middleware-user-agent": "3.201.0",
38
+ "@aws-sdk/node-config-provider": "3.201.0",
39
+ "@aws-sdk/node-http-handler": "3.201.0",
40
+ "@aws-sdk/protocol-http": "3.201.0",
41
+ "@aws-sdk/smithy-client": "3.201.0",
42
+ "@aws-sdk/types": "3.201.0",
43
+ "@aws-sdk/url-parser": "3.201.0",
44
44
  "@aws-sdk/util-base64-browser": "3.188.0",
45
- "@aws-sdk/util-base64-node": "3.188.0",
45
+ "@aws-sdk/util-base64-node": "3.201.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
- "@aws-sdk/util-body-length-node": "3.188.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.198.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.198.0",
50
- "@aws-sdk/util-endpoints": "3.198.0",
51
- "@aws-sdk/util-user-agent-browser": "3.198.0",
52
- "@aws-sdk/util-user-agent-node": "3.198.0",
47
+ "@aws-sdk/util-body-length-node": "3.201.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.201.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.201.0",
50
+ "@aws-sdk/util-endpoints": "3.201.0",
51
+ "@aws-sdk/util-user-agent-browser": "3.201.0",
52
+ "@aws-sdk/util-user-agent-node": "3.201.0",
53
53
  "@aws-sdk/util-utf8-browser": "3.188.0",
54
- "@aws-sdk/util-utf8-node": "3.199.0",
54
+ "@aws-sdk/util-utf8-node": "3.201.0",
55
55
  "tslib": "^2.3.1",
56
56
  "uuid": "^8.3.2"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@aws-sdk/service-client-documentation-generator": "3.188.0",
60
- "@tsconfig/recommended": "1.0.1",
60
+ "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^12.7.5",
62
62
  "@types/uuid": "^8.3.0",
63
63
  "concurrently": "7.0.0",
@@ -72,7 +72,7 @@
72
72
  }
73
73
  },
74
74
  "engines": {
75
- "node": ">=12.0.0"
75
+ "node": ">=14.0.0"
76
76
  },
77
77
  "typesVersions": {
78
78
  "<4.0": {