@aws-sdk/client-iot 3.535.0 → 3.540.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/dist-cjs/endpoint/endpointResolver.js +4 -2
- package/dist-cjs/index.js +0 -3
- package/dist-es/endpoint/endpointResolver.js +3 -1
- package/dist-es/index.js +0 -1
- package/dist-types/commands/AttachPrincipalPolicyCommand.d.ts +2 -1
- package/dist-types/commands/DetachPrincipalPolicyCommand.d.ts +2 -1
- package/dist-types/commands/ListPolicyPrincipalsCommand.d.ts +2 -1
- package/dist-types/commands/ListPrincipalPoliciesCommand.d.ts +2 -1
- package/dist-types/index.d.ts +0 -1
- package/dist-types/ts3.4/index.d.ts +0 -1
- package/package.json +5 -5
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
|
-
const util_endpoints_1 = require("@
|
|
4
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
+
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
5
6
|
const ruleset_1 = require("./ruleset");
|
|
6
7
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
|
-
return (0,
|
|
8
|
+
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
8
9
|
endpointParams: endpointParams,
|
|
9
10
|
logger: context.logger,
|
|
10
11
|
});
|
|
11
12
|
};
|
|
12
13
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
14
|
+
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -15328,9 +15328,6 @@ var paginateListV2LoggingLevels = (0, import_core.createPaginator)(IoTClient, Li
|
|
|
15328
15328
|
// src/pagination/ListViolationEventsPaginator.ts
|
|
15329
15329
|
|
|
15330
15330
|
var paginateListViolationEvents = (0, import_core.createPaginator)(IoTClient, ListViolationEventsCommand, "nextToken", "nextToken", "maxResults");
|
|
15331
|
-
|
|
15332
|
-
// src/index.ts
|
|
15333
|
-
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
15334
15331
|
// Annotate the CommonJS export names for ESM import in node:
|
|
15335
15332
|
|
|
15336
15333
|
0 && (module.exports = {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
2
3
|
import { ruleSet } from "./ruleset";
|
|
3
4
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
5
|
return resolveEndpoint(ruleSet, {
|
|
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
6
7
|
logger: context.logger,
|
|
7
8
|
});
|
|
8
9
|
};
|
|
10
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
package/dist-es/index.js
CHANGED
|
@@ -32,6 +32,8 @@ declare const AttachPrincipalPolicyCommand_base: {
|
|
|
32
32
|
* <b>Note:</b> This action is deprecated and works as
|
|
33
33
|
* expected for backward compatibility, but we won't add enhancements. Use <a>AttachPolicy</a> instead.</p>
|
|
34
34
|
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">AttachPrincipalPolicy</a> action.</p>
|
|
35
|
+
*
|
|
36
|
+
* @deprecated
|
|
35
37
|
* @example
|
|
36
38
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
39
|
* ```javascript
|
|
@@ -79,7 +81,6 @@ declare const AttachPrincipalPolicyCommand_base: {
|
|
|
79
81
|
* <p>Base exception class for all service exceptions from IoT service.</p>
|
|
80
82
|
*
|
|
81
83
|
* @public
|
|
82
|
-
* @deprecated
|
|
83
84
|
*/
|
|
84
85
|
export declare class AttachPrincipalPolicyCommand extends AttachPrincipalPolicyCommand_base {
|
|
85
86
|
}
|
|
@@ -31,6 +31,8 @@ declare const DetachPrincipalPolicyCommand_base: {
|
|
|
31
31
|
* <b>Note:</b> This action is deprecated and works as
|
|
32
32
|
* expected for backward compatibility, but we won't add enhancements. Use <a>DetachPolicy</a> instead.</p>
|
|
33
33
|
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">DetachPrincipalPolicy</a> action.</p>
|
|
34
|
+
*
|
|
35
|
+
* @deprecated
|
|
34
36
|
* @example
|
|
35
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
38
|
* ```javascript
|
|
@@ -75,7 +77,6 @@ declare const DetachPrincipalPolicyCommand_base: {
|
|
|
75
77
|
* <p>Base exception class for all service exceptions from IoT service.</p>
|
|
76
78
|
*
|
|
77
79
|
* @public
|
|
78
|
-
* @deprecated
|
|
79
80
|
*/
|
|
80
81
|
export declare class DetachPrincipalPolicyCommand extends DetachPrincipalPolicyCommand_base {
|
|
81
82
|
}
|
|
@@ -31,6 +31,8 @@ declare const ListPolicyPrincipalsCommand_base: {
|
|
|
31
31
|
* <b>Note:</b> This action is deprecated and works as
|
|
32
32
|
* expected for backward compatibility, but we won't add enhancements. Use <a>ListTargetsForPolicy</a> instead.</p>
|
|
33
33
|
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">ListPolicyPrincipals</a> action.</p>
|
|
34
|
+
*
|
|
35
|
+
* @deprecated
|
|
34
36
|
* @example
|
|
35
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
38
|
* ```javascript
|
|
@@ -82,7 +84,6 @@ declare const ListPolicyPrincipalsCommand_base: {
|
|
|
82
84
|
* <p>Base exception class for all service exceptions from IoT service.</p>
|
|
83
85
|
*
|
|
84
86
|
* @public
|
|
85
|
-
* @deprecated
|
|
86
87
|
*/
|
|
87
88
|
export declare class ListPolicyPrincipalsCommand extends ListPolicyPrincipalsCommand_base {
|
|
88
89
|
}
|
|
@@ -32,6 +32,8 @@ declare const ListPrincipalPoliciesCommand_base: {
|
|
|
32
32
|
* <b>Note:</b> This action is deprecated and works as
|
|
33
33
|
* expected for backward compatibility, but we won't add enhancements. Use <a>ListAttachedPolicies</a> instead.</p>
|
|
34
34
|
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">ListPrincipalPolicies</a> action.</p>
|
|
35
|
+
*
|
|
36
|
+
* @deprecated
|
|
35
37
|
* @example
|
|
36
38
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
39
|
* ```javascript
|
|
@@ -86,7 +88,6 @@ declare const ListPrincipalPoliciesCommand_base: {
|
|
|
86
88
|
* <p>Base exception class for all service exceptions from IoT service.</p>
|
|
87
89
|
*
|
|
88
90
|
* @public
|
|
89
|
-
* @deprecated
|
|
90
91
|
*/
|
|
91
92
|
export declare class ListPrincipalPoliciesCommand extends ListPrincipalPoliciesCommand_base {
|
|
92
93
|
}
|
package/dist-types/index.d.ts
CHANGED
|
@@ -26,5 +26,4 @@ export { IoTExtensionConfiguration } from "./extensionConfiguration";
|
|
|
26
26
|
export * from "./commands";
|
|
27
27
|
export * from "./pagination";
|
|
28
28
|
export * from "./models";
|
|
29
|
-
import "@aws-sdk/util-endpoints";
|
|
30
29
|
export { IoTServiceException } from "./models/IoTServiceException";
|
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.540.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-iot",
|
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.540.0",
|
|
24
24
|
"@aws-sdk/core": "3.535.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.540.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.540.0",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "3.535.0",
|
|
31
31
|
"@aws-sdk/types": "3.535.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.540.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.2.0",
|