@aws-sdk/client-snow-device-management 3.32.0 → 3.36.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 +44 -0
- package/{dist/cjs → dist-cjs}/SnowDeviceManagement.js +1 -2
- package/{dist/cjs → dist-cjs}/SnowDeviceManagementClient.js +8 -9
- package/{dist/cjs → dist-cjs}/commands/CancelTaskCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateTaskCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeDeviceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeDeviceEc2InstancesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeExecutionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeTaskCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListDeviceResourcesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListDevicesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListExecutionsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListTasksCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListDeviceResourcesPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListDevicesPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListExecutionsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListTasksPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +5 -6
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/SnowDeviceManagement.js +2 -6
- package/{dist/es → dist-es}/SnowDeviceManagementClient.js +2 -11
- package/{dist/es → dist-es}/commands/CancelTaskCommand.js +4 -35
- package/{dist/es → dist-es}/commands/CreateTaskCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeDeviceCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DescribeDeviceEc2InstancesCommand.js +4 -32
- package/{dist/es → dist-es}/commands/DescribeExecutionCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeTaskCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListDeviceResourcesCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListDevicesCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListExecutionsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListTasksCommand.js +4 -30
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -142
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListDeviceResourcesPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListDevicesPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListExecutionsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListTasksPaginator.js +17 -30
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +356 -362
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/SnowDeviceManagement.d.ts +2 -2
- package/{dist/types → dist-types}/SnowDeviceManagementClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/CancelTaskCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateTaskCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeDeviceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeDeviceEc2InstancesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeExecutionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeTaskCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListDeviceResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListDevicesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListExecutionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListTasksCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListDeviceResourcesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListDevicesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListExecutionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListTasksPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/SnowDeviceManagement.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/SnowDeviceManagementClient.d.ts +8 -8
- package/{dist/types → dist-types}/ts3.4/commands/CancelTaskCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CreateTaskCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeDeviceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeDeviceEc2InstancesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeExecutionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeTaskCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListDeviceResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListDevicesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListExecutionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListTasksCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListDeviceResourcesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListDevicesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListExecutionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListTasksPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +52 -49
- package/SnowDeviceManagement.ts +0 -444
- package/SnowDeviceManagementClient.ts +0 -283
- package/commands/CancelTaskCommand.ts +0 -103
- package/commands/CreateTaskCommand.ts +0 -98
- package/commands/DescribeDeviceCommand.ts +0 -99
- package/commands/DescribeDeviceEc2InstancesCommand.ts +0 -103
- package/commands/DescribeExecutionCommand.ts +0 -98
- package/commands/DescribeTaskCommand.ts +0 -98
- package/commands/ListDeviceResourcesCommand.ts +0 -98
- package/commands/ListDevicesCommand.ts +0 -99
- package/commands/ListExecutionsCommand.ts +0 -98
- package/commands/ListTagsForResourceCommand.ts +0 -98
- package/commands/ListTasksCommand.ts +0 -98
- package/commands/TagResourceCommand.ts +0 -98
- package/commands/UntagResourceCommand.ts +0 -98
- package/dist/cjs/SnowDeviceManagement.js.map +0 -1
- package/dist/cjs/SnowDeviceManagementClient.js.map +0 -1
- package/dist/cjs/commands/CancelTaskCommand.js.map +0 -1
- package/dist/cjs/commands/CreateTaskCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeDeviceCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeDeviceEc2InstancesCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeExecutionCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeTaskCommand.js.map +0 -1
- package/dist/cjs/commands/ListDeviceResourcesCommand.js.map +0 -1
- package/dist/cjs/commands/ListDevicesCommand.js.map +0 -1
- package/dist/cjs/commands/ListExecutionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/ListTasksCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -93
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListDeviceResourcesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListDevicesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListExecutionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListTasksPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/SnowDeviceManagement.js.map +0 -1
- package/dist/es/SnowDeviceManagementClient.js.map +0 -1
- package/dist/es/commands/CancelTaskCommand.js.map +0 -1
- package/dist/es/commands/CreateTaskCommand.js.map +0 -1
- package/dist/es/commands/DescribeDeviceCommand.js.map +0 -1
- package/dist/es/commands/DescribeDeviceEc2InstancesCommand.js.map +0 -1
- package/dist/es/commands/DescribeExecutionCommand.js.map +0 -1
- package/dist/es/commands/DescribeTaskCommand.js.map +0 -1
- package/dist/es/commands/ListDeviceResourcesCommand.js.map +0 -1
- package/dist/es/commands/ListDevicesCommand.js.map +0 -1
- package/dist/es/commands/ListExecutionsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/ListTasksCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -22
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -93
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListDeviceResourcesPaginator.js.map +0 -1
- package/dist/es/pagination/ListDevicesPaginator.js.map +0 -1
- package/dist/es/pagination/ListExecutionsPaginator.js.map +0 -1
- package/dist/es/pagination/ListTasksPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -1402
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListDeviceResourcesPaginator.ts +0 -58
- package/pagination/ListDevicesPaginator.ts +0 -54
- package/pagination/ListExecutionsPaginator.ts +0 -58
- package/pagination/ListTasksPaginator.ts +0 -54
- package/protocols/Aws_restJson1.ts +0 -2174
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,50 @@
|
|
|
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.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
|
|
12
|
+
* **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
|
|
13
|
+
* **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
* **clients:** eslint --fix using esprint ([#2849](https://github.com/aws/aws-sdk-js-v3/issues/2849)) ([94d0a2d](https://github.com/aws/aws-sdk-js-v3/commit/94d0a2d8a0579ee0a742337937ad05735cfbc1ba))
|
|
25
|
+
* **clients:** move source files to 'src' folder ([#2845](https://github.com/aws/aws-sdk-js-v3/issues/2845)) ([e0025cd](https://github.com/aws/aws-sdk-js-v3/commit/e0025cddbba244a41ddf1fd1adb761142e15c22d))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
# [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Features
|
|
35
|
+
|
|
36
|
+
* **clients:** remove comments from transpiled JS files ([#2817](https://github.com/aws/aws-sdk-js-v3/issues/2817)) ([d01420b](https://github.com/aws/aws-sdk-js-v3/commit/d01420b247966c8ec84c1dd0a1b42512ede10c90))
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
# [3.33.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.32.0...v3.33.0) (2021-09-21)
|
|
43
|
+
|
|
44
|
+
**Note:** Version bump only for package @aws-sdk/client-snow-device-management
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
6
50
|
# [3.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
|
|
7
51
|
|
|
8
52
|
**Note:** Version bump only for package @aws-sdk/client-snow-device-management
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SnowDeviceManagement = void 0;
|
|
4
|
-
const SnowDeviceManagementClient_1 = require("./SnowDeviceManagementClient");
|
|
5
4
|
const CancelTaskCommand_1 = require("./commands/CancelTaskCommand");
|
|
6
5
|
const CreateTaskCommand_1 = require("./commands/CreateTaskCommand");
|
|
7
6
|
const DescribeDeviceCommand_1 = require("./commands/DescribeDeviceCommand");
|
|
@@ -15,6 +14,7 @@ const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceComm
|
|
|
15
14
|
const ListTasksCommand_1 = require("./commands/ListTasksCommand");
|
|
16
15
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
17
16
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
17
|
+
const SnowDeviceManagementClient_1 = require("./SnowDeviceManagementClient");
|
|
18
18
|
/**
|
|
19
19
|
* <p>Amazon Web Services Snow Device Management documentation.</p>
|
|
20
20
|
*/
|
|
@@ -203,4 +203,3 @@ class SnowDeviceManagement extends SnowDeviceManagementClient_1.SnowDeviceManage
|
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
205
|
exports.SnowDeviceManagement = SnowDeviceManagement;
|
|
206
|
-
//# sourceMappingURL=SnowDeviceManagement.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SnowDeviceManagementClient = void 0;
|
|
4
|
-
const runtimeConfig_1 = require("./runtimeConfig");
|
|
5
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
6
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
7
6
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
@@ -10,18 +9,19 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
|
10
9
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
11
10
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
12
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
|
+
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
13
|
/**
|
|
14
14
|
* <p>Amazon Web Services Snow Device Management documentation.</p>
|
|
15
15
|
*/
|
|
16
16
|
class SnowDeviceManagementClient extends smithy_client_1.Client {
|
|
17
17
|
constructor(configuration) {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
19
|
+
const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
|
|
20
|
+
const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
|
|
21
|
+
const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
|
|
22
|
+
const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
|
|
23
|
+
const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
|
|
24
|
+
const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
|
|
25
25
|
super(_config_6);
|
|
26
26
|
this.config = _config_6;
|
|
27
27
|
this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
|
|
@@ -41,4 +41,3 @@ class SnowDeviceManagementClient extends smithy_client_1.Client {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
exports.SnowDeviceManagementClient = SnowDeviceManagementClient;
|
|
44
|
-
//# sourceMappingURL=SnowDeviceManagementClient.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CancelTaskCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Sends a cancel request for a specified task. You can cancel a task only if it's still in a
|
|
10
10
|
* <code>QUEUED</code> state. Tasks that are already running can't be cancelled.</p>
|
|
@@ -63,4 +63,3 @@ class CancelTaskCommand extends smithy_client_1.Command {
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
exports.CancelTaskCommand = CancelTaskCommand;
|
|
66
|
-
//# sourceMappingURL=CancelTaskCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateTaskCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Instructs one or more devices to start a task, such as unlocking or rebooting.</p>
|
|
10
10
|
* @example
|
|
@@ -58,4 +58,3 @@ class CreateTaskCommand extends smithy_client_1.Command {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.CreateTaskCommand = CreateTaskCommand;
|
|
61
|
-
//# sourceMappingURL=CreateTaskCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DescribeDeviceCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Checks device-specific information, such as the device type, software version, IP
|
|
10
10
|
* addresses, and lock status.</p>
|
|
@@ -59,4 +59,3 @@ class DescribeDeviceCommand extends smithy_client_1.Command {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
exports.DescribeDeviceCommand = DescribeDeviceCommand;
|
|
62
|
-
//# sourceMappingURL=DescribeDeviceCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DescribeDeviceEc2InstancesCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Checks the current state of the Amazon EC2 instances. The output is similar to
|
|
10
10
|
* <code>describeDevice</code>, but the results are sourced from the device cache in the
|
|
@@ -60,4 +60,3 @@ class DescribeDeviceEc2InstancesCommand extends smithy_client_1.Command {
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
exports.DescribeDeviceEc2InstancesCommand = DescribeDeviceEc2InstancesCommand;
|
|
63
|
-
//# sourceMappingURL=DescribeDeviceEc2InstancesCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DescribeExecutionCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Checks the status of a remote task running on one or more target devices.</p>
|
|
10
10
|
* @example
|
|
@@ -58,4 +58,3 @@ class DescribeExecutionCommand extends smithy_client_1.Command {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.DescribeExecutionCommand = DescribeExecutionCommand;
|
|
61
|
-
//# sourceMappingURL=DescribeExecutionCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DescribeTaskCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Checks the metadata for a given task on a device. </p>
|
|
10
10
|
* @example
|
|
@@ -58,4 +58,3 @@ class DescribeTaskCommand extends smithy_client_1.Command {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.DescribeTaskCommand = DescribeTaskCommand;
|
|
61
|
-
//# sourceMappingURL=DescribeTaskCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ListDeviceResourcesCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Returns a list of the Amazon Web Services resources available for a device. Currently, Amazon EC2 instances are the only supported resource type.</p>
|
|
10
10
|
* @example
|
|
@@ -58,4 +58,3 @@ class ListDeviceResourcesCommand extends smithy_client_1.Command {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.ListDeviceResourcesCommand = ListDeviceResourcesCommand;
|
|
61
|
-
//# sourceMappingURL=ListDeviceResourcesCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ListDevicesCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Returns a list of all devices on your Amazon Web Services account that have Amazon Web Services Snow Device Management
|
|
10
10
|
* enabled in the Amazon Web Services Region where the command is run.</p>
|
|
@@ -59,4 +59,3 @@ class ListDevicesCommand extends smithy_client_1.Command {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
exports.ListDevicesCommand = ListDevicesCommand;
|
|
62
|
-
//# sourceMappingURL=ListDevicesCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ListExecutionsCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Returns the status of tasks for one or more target devices.</p>
|
|
10
10
|
* @example
|
|
@@ -58,4 +58,3 @@ class ListExecutionsCommand extends smithy_client_1.Command {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.ListExecutionsCommand = ListExecutionsCommand;
|
|
61
|
-
//# sourceMappingURL=ListExecutionsCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ListTagsForResourceCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Returns a list of tags for a managed device or task.</p>
|
|
10
10
|
* @example
|
|
@@ -58,4 +58,3 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
61
|
-
//# sourceMappingURL=ListTagsForResourceCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ListTasksCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Returns a list of tasks that can be filtered by state.</p>
|
|
10
10
|
* @example
|
|
@@ -58,4 +58,3 @@ class ListTasksCommand extends smithy_client_1.Command {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.ListTasksCommand = ListTasksCommand;
|
|
61
|
-
//# sourceMappingURL=ListTasksCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TagResourceCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Adds or replaces tags on a device or task.</p>
|
|
10
10
|
* @example
|
|
@@ -58,4 +58,3 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.TagResourceCommand = TagResourceCommand;
|
|
61
|
-
//# sourceMappingURL=TagResourceCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UntagResourceCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Removes a tag from a device or task.</p>
|
|
10
10
|
* @example
|
|
@@ -58,4 +58,3 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
61
|
-
//# sourceMappingURL=UntagResourceCommand.js.map
|
|
@@ -22,4 +22,3 @@ tslib_1.__exportStar(require("./commands/TagResourceCommand"), exports);
|
|
|
22
22
|
tslib_1.__exportStar(require("./commands/UntagResourceCommand"), exports);
|
|
23
23
|
tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
|
|
24
24
|
tslib_1.__exportStar(require("./models/index"), exports);
|
|
25
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDeviceResources = void 0;
|
|
4
|
+
const ListDeviceResourcesCommand_1 = require("../commands/ListDeviceResourcesCommand");
|
|
4
5
|
const SnowDeviceManagement_1 = require("../SnowDeviceManagement");
|
|
5
6
|
const SnowDeviceManagementClient_1 = require("../SnowDeviceManagementClient");
|
|
6
|
-
const ListDeviceResourcesCommand_1 = require("../commands/ListDeviceResourcesCommand");
|
|
7
7
|
/**
|
|
8
8
|
* @private
|
|
9
9
|
*/
|
|
@@ -43,4 +43,3 @@ async function* paginateListDeviceResources(config, input, ...additionalArgument
|
|
|
43
43
|
return undefined;
|
|
44
44
|
}
|
|
45
45
|
exports.paginateListDeviceResources = paginateListDeviceResources;
|
|
46
|
-
//# sourceMappingURL=ListDeviceResourcesPaginator.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDevices = void 0;
|
|
4
|
+
const ListDevicesCommand_1 = require("../commands/ListDevicesCommand");
|
|
4
5
|
const SnowDeviceManagement_1 = require("../SnowDeviceManagement");
|
|
5
6
|
const SnowDeviceManagementClient_1 = require("../SnowDeviceManagementClient");
|
|
6
|
-
const ListDevicesCommand_1 = require("../commands/ListDevicesCommand");
|
|
7
7
|
/**
|
|
8
8
|
* @private
|
|
9
9
|
*/
|
|
@@ -43,4 +43,3 @@ async function* paginateListDevices(config, input, ...additionalArguments) {
|
|
|
43
43
|
return undefined;
|
|
44
44
|
}
|
|
45
45
|
exports.paginateListDevices = paginateListDevices;
|
|
46
|
-
//# sourceMappingURL=ListDevicesPaginator.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListExecutions = void 0;
|
|
4
|
+
const ListExecutionsCommand_1 = require("../commands/ListExecutionsCommand");
|
|
4
5
|
const SnowDeviceManagement_1 = require("../SnowDeviceManagement");
|
|
5
6
|
const SnowDeviceManagementClient_1 = require("../SnowDeviceManagementClient");
|
|
6
|
-
const ListExecutionsCommand_1 = require("../commands/ListExecutionsCommand");
|
|
7
7
|
/**
|
|
8
8
|
* @private
|
|
9
9
|
*/
|
|
@@ -43,4 +43,3 @@ async function* paginateListExecutions(config, input, ...additionalArguments) {
|
|
|
43
43
|
return undefined;
|
|
44
44
|
}
|
|
45
45
|
exports.paginateListExecutions = paginateListExecutions;
|
|
46
|
-
//# sourceMappingURL=ListExecutionsPaginator.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTasks = void 0;
|
|
4
|
+
const ListTasksCommand_1 = require("../commands/ListTasksCommand");
|
|
4
5
|
const SnowDeviceManagement_1 = require("../SnowDeviceManagement");
|
|
5
6
|
const SnowDeviceManagementClient_1 = require("../SnowDeviceManagementClient");
|
|
6
|
-
const ListTasksCommand_1 = require("../commands/ListTasksCommand");
|
|
7
7
|
/**
|
|
8
8
|
* @private
|
|
9
9
|
*/
|
|
@@ -43,4 +43,3 @@ async function* paginateListTasks(config, input, ...additionalArguments) {
|
|
|
43
43
|
return undefined;
|
|
44
44
|
}
|
|
45
45
|
exports.paginateListTasks = paginateListTasks;
|
|
46
|
-
//# sourceMappingURL=ListTasksPaginator.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1ListTasksCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListExecutionsCommand = exports.deserializeAws_restJson1ListDevicesCommand = exports.deserializeAws_restJson1ListDeviceResourcesCommand = exports.deserializeAws_restJson1DescribeTaskCommand = exports.deserializeAws_restJson1DescribeExecutionCommand = exports.deserializeAws_restJson1DescribeDeviceEc2InstancesCommand = exports.deserializeAws_restJson1DescribeDeviceCommand = exports.deserializeAws_restJson1CreateTaskCommand = exports.deserializeAws_restJson1CancelTaskCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1ListTasksCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListExecutionsCommand = exports.serializeAws_restJson1ListDevicesCommand = exports.serializeAws_restJson1ListDeviceResourcesCommand = exports.serializeAws_restJson1DescribeTaskCommand = exports.serializeAws_restJson1DescribeExecutionCommand = exports.serializeAws_restJson1DescribeDeviceEc2InstancesCommand = exports.serializeAws_restJson1DescribeDeviceCommand = exports.serializeAws_restJson1CreateTaskCommand = exports.serializeAws_restJson1CancelTaskCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
4
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
6
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
6
|
const uuid_1 = require("uuid");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const serializeAws_restJson1CancelTaskCommand = async (input, context) => {
|
|
9
9
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
10
10
|
const headers = {};
|
|
@@ -37,7 +37,7 @@ const serializeAws_restJson1CreateTaskCommand = async (input, context) => {
|
|
|
37
37
|
const headers = {
|
|
38
38
|
"content-type": "application/json",
|
|
39
39
|
};
|
|
40
|
-
|
|
40
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/task";
|
|
41
41
|
let body;
|
|
42
42
|
body = JSON.stringify({
|
|
43
43
|
clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
@@ -218,7 +218,7 @@ exports.serializeAws_restJson1ListDeviceResourcesCommand = serializeAws_restJson
|
|
|
218
218
|
const serializeAws_restJson1ListDevicesCommand = async (input, context) => {
|
|
219
219
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
220
220
|
const headers = {};
|
|
221
|
-
|
|
221
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/managed-devices";
|
|
222
222
|
const query = {
|
|
223
223
|
...(input.jobId !== undefined && { jobId: input.jobId }),
|
|
224
224
|
...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }),
|
|
@@ -240,7 +240,7 @@ exports.serializeAws_restJson1ListDevicesCommand = serializeAws_restJson1ListDev
|
|
|
240
240
|
const serializeAws_restJson1ListExecutionsCommand = async (input, context) => {
|
|
241
241
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
242
242
|
const headers = {};
|
|
243
|
-
|
|
243
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/executions";
|
|
244
244
|
const query = {
|
|
245
245
|
...(input.taskId !== undefined && { taskId: input.taskId }),
|
|
246
246
|
...(input.state !== undefined && { state: input.state }),
|
|
@@ -289,7 +289,7 @@ exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson
|
|
|
289
289
|
const serializeAws_restJson1ListTasksCommand = async (input, context) => {
|
|
290
290
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
291
291
|
const headers = {};
|
|
292
|
-
|
|
292
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/tasks";
|
|
293
293
|
const query = {
|
|
294
294
|
...(input.state !== undefined && { state: input.state }),
|
|
295
295
|
...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }),
|
|
@@ -1887,4 +1887,3 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
1887
1887
|
}
|
|
1888
1888
|
return "";
|
|
1889
1889
|
};
|
|
1890
|
-
//# sourceMappingURL=Aws_restJson1.js.map
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
5
|
+
// @ts-ignore: package.json will be imported from dist folders
|
|
6
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
|
|
6
7
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
8
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
8
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
@@ -38,4 +39,3 @@ const getRuntimeConfig = (config) => {
|
|
|
38
39
|
};
|
|
39
40
|
};
|
|
40
41
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
41
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
5
|
+
// @ts-ignore: package.json will be imported from dist folders
|
|
6
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
|
|
6
7
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
7
8
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
8
9
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
@@ -43,4 +44,3 @@ const getRuntimeConfig = (config) => {
|
|
|
43
44
|
};
|
|
44
45
|
};
|
|
45
46
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
46
|
-
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
-
const endpoints_1 = require("./endpoints");
|
|
5
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
|
+
const endpoints_1 = require("./endpoints");
|
|
6
6
|
/**
|
|
7
7
|
* @internal
|
|
8
8
|
*/
|
|
@@ -18,4 +18,3 @@ const getRuntimeConfig = (config) => {
|
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
21
|
-
//# sourceMappingURL=runtimeConfig.shared.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { SnowDeviceManagementClient } from "./SnowDeviceManagementClient";
|
|
3
2
|
import { CancelTaskCommand } from "./commands/CancelTaskCommand";
|
|
4
3
|
import { CreateTaskCommand } from "./commands/CreateTaskCommand";
|
|
5
4
|
import { DescribeDeviceCommand, } from "./commands/DescribeDeviceCommand";
|
|
@@ -13,10 +12,8 @@ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceComma
|
|
|
13
12
|
import { ListTasksCommand } from "./commands/ListTasksCommand";
|
|
14
13
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
15
14
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
*/
|
|
19
|
-
var SnowDeviceManagement = /** @class */ (function (_super) {
|
|
15
|
+
import { SnowDeviceManagementClient } from "./SnowDeviceManagementClient";
|
|
16
|
+
var SnowDeviceManagement = (function (_super) {
|
|
20
17
|
__extends(SnowDeviceManagement, _super);
|
|
21
18
|
function SnowDeviceManagement() {
|
|
22
19
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -206,4 +203,3 @@ var SnowDeviceManagement = /** @class */ (function (_super) {
|
|
|
206
203
|
return SnowDeviceManagement;
|
|
207
204
|
}(SnowDeviceManagementClient));
|
|
208
205
|
export { SnowDeviceManagement };
|
|
209
|
-
//# sourceMappingURL=SnowDeviceManagement.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
3
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
4
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
5
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,10 +7,8 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
|
8
7
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
9
8
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
9
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
*/
|
|
14
|
-
var SnowDeviceManagementClient = /** @class */ (function (_super) {
|
|
10
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
+
var SnowDeviceManagementClient = (function (_super) {
|
|
15
12
|
__extends(SnowDeviceManagementClient, _super);
|
|
16
13
|
function SnowDeviceManagementClient(configuration) {
|
|
17
14
|
var _this = this;
|
|
@@ -32,15 +29,9 @@ var SnowDeviceManagementClient = /** @class */ (function (_super) {
|
|
|
32
29
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
33
30
|
return _this;
|
|
34
31
|
}
|
|
35
|
-
/**
|
|
36
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
37
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
38
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
39
|
-
*/
|
|
40
32
|
SnowDeviceManagementClient.prototype.destroy = function () {
|
|
41
33
|
_super.prototype.destroy.call(this);
|
|
42
34
|
};
|
|
43
35
|
return SnowDeviceManagementClient;
|
|
44
36
|
}(__Client));
|
|
45
37
|
export { SnowDeviceManagementClient };
|
|
46
|
-
//# sourceMappingURL=SnowDeviceManagementClient.js.map
|