@aws-sdk/client-snow-device-management 3.477.0 → 3.481.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 (73) hide show
  1. package/dist-cjs/commands/CancelTaskCommand.js +18 -41
  2. package/dist-cjs/commands/CreateTaskCommand.js +18 -41
  3. package/dist-cjs/commands/DescribeDeviceCommand.js +18 -41
  4. package/dist-cjs/commands/DescribeDeviceEc2InstancesCommand.js +18 -41
  5. package/dist-cjs/commands/DescribeExecutionCommand.js +18 -41
  6. package/dist-cjs/commands/DescribeTaskCommand.js +18 -41
  7. package/dist-cjs/commands/ListDeviceResourcesCommand.js +18 -41
  8. package/dist-cjs/commands/ListDevicesCommand.js +18 -41
  9. package/dist-cjs/commands/ListExecutionsCommand.js +18 -41
  10. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  11. package/dist-cjs/commands/ListTasksCommand.js +18 -41
  12. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  13. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  14. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  15. package/dist-cjs/pagination/ListDeviceResourcesPaginator.js +2 -24
  16. package/dist-cjs/pagination/ListDevicesPaginator.js +2 -24
  17. package/dist-cjs/pagination/ListExecutionsPaginator.js +2 -24
  18. package/dist-cjs/pagination/ListTasksPaginator.js +2 -24
  19. package/dist-es/commands/CancelTaskCommand.js +18 -41
  20. package/dist-es/commands/CreateTaskCommand.js +18 -41
  21. package/dist-es/commands/DescribeDeviceCommand.js +18 -41
  22. package/dist-es/commands/DescribeDeviceEc2InstancesCommand.js +18 -41
  23. package/dist-es/commands/DescribeExecutionCommand.js +18 -41
  24. package/dist-es/commands/DescribeTaskCommand.js +18 -41
  25. package/dist-es/commands/ListDeviceResourcesCommand.js +18 -41
  26. package/dist-es/commands/ListDevicesCommand.js +18 -41
  27. package/dist-es/commands/ListExecutionsCommand.js +18 -41
  28. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  29. package/dist-es/commands/ListTasksCommand.js +18 -41
  30. package/dist-es/commands/TagResourceCommand.js +18 -41
  31. package/dist-es/commands/UntagResourceCommand.js +18 -41
  32. package/dist-es/endpoint/EndpointParameters.js +6 -0
  33. package/dist-es/pagination/ListDeviceResourcesPaginator.js +2 -23
  34. package/dist-es/pagination/ListDevicesPaginator.js +2 -23
  35. package/dist-es/pagination/ListExecutionsPaginator.js +2 -23
  36. package/dist-es/pagination/ListTasksPaginator.js +2 -23
  37. package/dist-types/commands/CancelTaskCommand.d.ts +6 -21
  38. package/dist-types/commands/CreateTaskCommand.d.ts +6 -21
  39. package/dist-types/commands/DescribeDeviceCommand.d.ts +6 -21
  40. package/dist-types/commands/DescribeDeviceEc2InstancesCommand.d.ts +6 -21
  41. package/dist-types/commands/DescribeExecutionCommand.d.ts +6 -21
  42. package/dist-types/commands/DescribeTaskCommand.d.ts +6 -21
  43. package/dist-types/commands/ListDeviceResourcesCommand.d.ts +6 -21
  44. package/dist-types/commands/ListDevicesCommand.d.ts +6 -21
  45. package/dist-types/commands/ListExecutionsCommand.d.ts +6 -21
  46. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  47. package/dist-types/commands/ListTasksCommand.d.ts +6 -21
  48. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  49. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  50. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  51. package/dist-types/pagination/ListDeviceResourcesPaginator.d.ts +1 -1
  52. package/dist-types/pagination/ListDevicesPaginator.d.ts +1 -1
  53. package/dist-types/pagination/ListExecutionsPaginator.d.ts +1 -1
  54. package/dist-types/pagination/ListTasksPaginator.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/CancelTaskCommand.d.ts +14 -23
  56. package/dist-types/ts3.4/commands/CreateTaskCommand.d.ts +14 -23
  57. package/dist-types/ts3.4/commands/DescribeDeviceCommand.d.ts +14 -23
  58. package/dist-types/ts3.4/commands/DescribeDeviceEc2InstancesCommand.d.ts +12 -24
  59. package/dist-types/ts3.4/commands/DescribeExecutionCommand.d.ts +14 -23
  60. package/dist-types/ts3.4/commands/DescribeTaskCommand.d.ts +14 -23
  61. package/dist-types/ts3.4/commands/ListDeviceResourcesCommand.d.ts +14 -23
  62. package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +14 -23
  63. package/dist-types/ts3.4/commands/ListExecutionsCommand.d.ts +14 -23
  64. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  65. package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +14 -23
  66. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  67. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  68. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  69. package/dist-types/ts3.4/pagination/ListDeviceResourcesPaginator.d.ts +3 -3
  70. package/dist-types/ts3.4/pagination/ListDevicesPaginator.d.ts +3 -3
  71. package/dist-types/ts3.4/pagination/ListExecutionsPaginator.d.ts +3 -3
  72. package/dist-types/ts3.4/pagination/ListTasksPaginator.d.ts +3 -3
  73. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeDeviceEc2InstancesCommand, se_DescribeDeviceEc2InstancesCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeDeviceEc2InstancesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeDeviceEc2InstancesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SnowDeviceManagementClient";
26
- const commandName = "DescribeDeviceEc2InstancesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SnowDeviceManagement",
35
- operation: "DescribeDeviceEc2Instances",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeDeviceEc2InstancesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeDeviceEc2InstancesCommand(output, context);
46
- }
7
+ export class DescribeDeviceEc2InstancesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("SnowDeviceManagement", "DescribeDeviceEc2Instances", {})
19
+ .n("SnowDeviceManagementClient", "DescribeDeviceEc2InstancesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeDeviceEc2InstancesCommand)
22
+ .de(de_DescribeDeviceEc2InstancesCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeExecutionCommand, se_DescribeExecutionCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeExecutionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeExecutionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SnowDeviceManagementClient";
26
- const commandName = "DescribeExecutionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SnowDeviceManagement",
35
- operation: "DescribeExecution",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeExecutionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeExecutionCommand(output, context);
46
- }
7
+ export class DescribeExecutionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("SnowDeviceManagement", "DescribeExecution", {})
19
+ .n("SnowDeviceManagementClient", "DescribeExecutionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeExecutionCommand)
22
+ .de(de_DescribeExecutionCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeTaskCommand, se_DescribeTaskCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeTaskCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeTaskCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SnowDeviceManagementClient";
26
- const commandName = "DescribeTaskCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SnowDeviceManagement",
35
- operation: "DescribeTask",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeTaskCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeTaskCommand(output, context);
46
- }
7
+ export class DescribeTaskCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("SnowDeviceManagement", "DescribeTask", {})
19
+ .n("SnowDeviceManagementClient", "DescribeTaskCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeTaskCommand)
22
+ .de(de_DescribeTaskCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListDeviceResourcesCommand, se_ListDeviceResourcesCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListDeviceResourcesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListDeviceResourcesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SnowDeviceManagementClient";
26
- const commandName = "ListDeviceResourcesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SnowDeviceManagement",
35
- operation: "ListDeviceResources",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListDeviceResourcesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListDeviceResourcesCommand(output, context);
46
- }
7
+ export class ListDeviceResourcesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("SnowDeviceManagement", "ListDeviceResources", {})
19
+ .n("SnowDeviceManagementClient", "ListDeviceResourcesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListDeviceResourcesCommand)
22
+ .de(de_ListDeviceResourcesCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListDevicesCommand, se_ListDevicesCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListDevicesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListDevicesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SnowDeviceManagementClient";
26
- const commandName = "ListDevicesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SnowDeviceManagement",
35
- operation: "ListDevices",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListDevicesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListDevicesCommand(output, context);
46
- }
7
+ export class ListDevicesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("SnowDeviceManagement", "ListDevices", {})
19
+ .n("SnowDeviceManagementClient", "ListDevicesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListDevicesCommand)
22
+ .de(de_ListDevicesCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListExecutionsCommand, se_ListExecutionsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListExecutionsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListExecutionsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SnowDeviceManagementClient";
26
- const commandName = "ListExecutionsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SnowDeviceManagement",
35
- operation: "ListExecutions",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListExecutionsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListExecutionsCommand(output, context);
46
- }
7
+ export class ListExecutionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("SnowDeviceManagement", "ListExecutions", {})
19
+ .n("SnowDeviceManagementClient", "ListExecutionsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListExecutionsCommand)
22
+ .de(de_ListExecutionsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListTagsForResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SnowDeviceManagementClient";
26
- const commandName = "ListTagsForResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SnowDeviceManagement",
35
- operation: "ListTagsForResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListTagsForResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTagsForResourceCommand(output, context);
46
- }
7
+ export class ListTagsForResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("SnowDeviceManagement", "ListTagsForResource", {})
19
+ .n("SnowDeviceManagementClient", "ListTagsForResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTagsForResourceCommand)
22
+ .de(de_ListTagsForResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListTasksCommand, se_ListTasksCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListTasksCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListTasksCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SnowDeviceManagementClient";
26
- const commandName = "ListTasksCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SnowDeviceManagement",
35
- operation: "ListTasks",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListTasksCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTasksCommand(output, context);
46
- }
7
+ export class ListTasksCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("SnowDeviceManagement", "ListTasks", {})
19
+ .n("SnowDeviceManagementClient", "ListTasksCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTasksCommand)
22
+ .de(de_ListTasksCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class TagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SnowDeviceManagementClient";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SnowDeviceManagement",
35
- operation: "TagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_TagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_TagResourceCommand(output, context);
46
- }
7
+ export class TagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("SnowDeviceManagement", "TagResource", {})
19
+ .n("SnowDeviceManagementClient", "TagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagResourceCommand)
22
+ .de(de_TagResourceCommand)
23
+ .build() {
47
24
  }