@aws-sdk/client-arc-zonal-shift 3.478.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 (49) hide show
  1. package/dist-cjs/commands/CancelZonalShiftCommand.js +18 -41
  2. package/dist-cjs/commands/CreatePracticeRunConfigurationCommand.js +18 -41
  3. package/dist-cjs/commands/DeletePracticeRunConfigurationCommand.js +18 -41
  4. package/dist-cjs/commands/GetManagedResourceCommand.js +18 -41
  5. package/dist-cjs/commands/ListAutoshiftsCommand.js +18 -41
  6. package/dist-cjs/commands/ListManagedResourcesCommand.js +18 -41
  7. package/dist-cjs/commands/ListZonalShiftsCommand.js +18 -41
  8. package/dist-cjs/commands/StartZonalShiftCommand.js +18 -41
  9. package/dist-cjs/commands/UpdatePracticeRunConfigurationCommand.js +18 -41
  10. package/dist-cjs/commands/UpdateZonalAutoshiftConfigurationCommand.js +18 -41
  11. package/dist-cjs/commands/UpdateZonalShiftCommand.js +18 -41
  12. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  13. package/dist-es/commands/CancelZonalShiftCommand.js +18 -41
  14. package/dist-es/commands/CreatePracticeRunConfigurationCommand.js +18 -41
  15. package/dist-es/commands/DeletePracticeRunConfigurationCommand.js +18 -41
  16. package/dist-es/commands/GetManagedResourceCommand.js +18 -41
  17. package/dist-es/commands/ListAutoshiftsCommand.js +18 -41
  18. package/dist-es/commands/ListManagedResourcesCommand.js +18 -41
  19. package/dist-es/commands/ListZonalShiftsCommand.js +18 -41
  20. package/dist-es/commands/StartZonalShiftCommand.js +18 -41
  21. package/dist-es/commands/UpdatePracticeRunConfigurationCommand.js +18 -41
  22. package/dist-es/commands/UpdateZonalAutoshiftConfigurationCommand.js +18 -41
  23. package/dist-es/commands/UpdateZonalShiftCommand.js +18 -41
  24. package/dist-es/endpoint/EndpointParameters.js +6 -0
  25. package/dist-types/commands/CancelZonalShiftCommand.d.ts +6 -21
  26. package/dist-types/commands/CreatePracticeRunConfigurationCommand.d.ts +6 -21
  27. package/dist-types/commands/DeletePracticeRunConfigurationCommand.d.ts +6 -21
  28. package/dist-types/commands/GetManagedResourceCommand.d.ts +6 -21
  29. package/dist-types/commands/ListAutoshiftsCommand.d.ts +6 -21
  30. package/dist-types/commands/ListManagedResourcesCommand.d.ts +6 -21
  31. package/dist-types/commands/ListZonalShiftsCommand.d.ts +6 -21
  32. package/dist-types/commands/StartZonalShiftCommand.d.ts +6 -21
  33. package/dist-types/commands/UpdatePracticeRunConfigurationCommand.d.ts +6 -21
  34. package/dist-types/commands/UpdateZonalAutoshiftConfigurationCommand.d.ts +6 -21
  35. package/dist-types/commands/UpdateZonalShiftCommand.d.ts +6 -21
  36. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  37. package/dist-types/ts3.4/commands/CancelZonalShiftCommand.d.ts +14 -23
  38. package/dist-types/ts3.4/commands/CreatePracticeRunConfigurationCommand.d.ts +12 -24
  39. package/dist-types/ts3.4/commands/DeletePracticeRunConfigurationCommand.d.ts +12 -24
  40. package/dist-types/ts3.4/commands/GetManagedResourceCommand.d.ts +14 -23
  41. package/dist-types/ts3.4/commands/ListAutoshiftsCommand.d.ts +14 -23
  42. package/dist-types/ts3.4/commands/ListManagedResourcesCommand.d.ts +12 -24
  43. package/dist-types/ts3.4/commands/ListZonalShiftsCommand.d.ts +14 -23
  44. package/dist-types/ts3.4/commands/StartZonalShiftCommand.d.ts +14 -23
  45. package/dist-types/ts3.4/commands/UpdatePracticeRunConfigurationCommand.d.ts +12 -24
  46. package/dist-types/ts3.4/commands/UpdateZonalAutoshiftConfigurationCommand.d.ts +12 -24
  47. package/dist-types/ts3.4/commands/UpdateZonalShiftCommand.d.ts +14 -23
  48. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  49. package/package.json +9 -9
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateZonalAutoshiftConfigurationCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateZonalAutoshiftConfigurationCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ARCZonalShiftClient";
29
- const commandName = "UpdateZonalAutoshiftConfigurationCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "PercDataPlane",
38
- operation: "UpdateZonalAutoshiftConfiguration",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdateZonalAutoshiftConfigurationCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateZonalAutoshiftConfigurationCommand)(output, context);
49
- }
10
+ class UpdateZonalAutoshiftConfigurationCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("PercDataPlane", "UpdateZonalAutoshiftConfiguration", {})
22
+ .n("ARCZonalShiftClient", "UpdateZonalAutoshiftConfigurationCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateZonalAutoshiftConfigurationCommand)
25
+ .de(Aws_restJson1_1.de_UpdateZonalAutoshiftConfigurationCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateZonalAutoshiftConfigurationCommand = UpdateZonalAutoshiftConfigurationCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateZonalShiftCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateZonalShiftCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ARCZonalShiftClient";
29
- const commandName = "UpdateZonalShiftCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "PercDataPlane",
38
- operation: "UpdateZonalShift",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdateZonalShiftCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateZonalShiftCommand)(output, context);
49
- }
10
+ class UpdateZonalShiftCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("PercDataPlane", "UpdateZonalShift", {})
22
+ .n("ARCZonalShiftClient", "UpdateZonalShiftCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateZonalShiftCommand)
25
+ .de(Aws_restJson1_1.de_UpdateZonalShiftCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateZonalShiftCommand = UpdateZonalShiftCommand;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveClientEndpointParameters = void 0;
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
4
  const resolveClientEndpointParameters = (options) => {
5
5
  return {
6
6
  ...options,
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
10
10
  };
11
11
  };
12
12
  exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
+ exports.commonParams = {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
@@ -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_CancelZonalShiftCommand, se_CancelZonalShiftCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CancelZonalShiftCommand 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, CancelZonalShiftCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ARCZonalShiftClient";
26
- const commandName = "CancelZonalShiftCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "PercDataPlane",
35
- operation: "CancelZonalShift",
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_CancelZonalShiftCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CancelZonalShiftCommand(output, context);
46
- }
7
+ export class CancelZonalShiftCommand 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("PercDataPlane", "CancelZonalShift", {})
19
+ .n("ARCZonalShiftClient", "CancelZonalShiftCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CancelZonalShiftCommand)
22
+ .de(de_CancelZonalShiftCommand)
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_CreatePracticeRunConfigurationCommand, se_CreatePracticeRunConfigurationCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CreatePracticeRunConfigurationCommand 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, CreatePracticeRunConfigurationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ARCZonalShiftClient";
26
- const commandName = "CreatePracticeRunConfigurationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "PercDataPlane",
35
- operation: "CreatePracticeRunConfiguration",
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_CreatePracticeRunConfigurationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreatePracticeRunConfigurationCommand(output, context);
46
- }
7
+ export class CreatePracticeRunConfigurationCommand 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("PercDataPlane", "CreatePracticeRunConfiguration", {})
19
+ .n("ARCZonalShiftClient", "CreatePracticeRunConfigurationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreatePracticeRunConfigurationCommand)
22
+ .de(de_CreatePracticeRunConfigurationCommand)
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_DeletePracticeRunConfigurationCommand, se_DeletePracticeRunConfigurationCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeletePracticeRunConfigurationCommand 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, DeletePracticeRunConfigurationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ARCZonalShiftClient";
26
- const commandName = "DeletePracticeRunConfigurationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "PercDataPlane",
35
- operation: "DeletePracticeRunConfiguration",
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_DeletePracticeRunConfigurationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeletePracticeRunConfigurationCommand(output, context);
46
- }
7
+ export class DeletePracticeRunConfigurationCommand 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("PercDataPlane", "DeletePracticeRunConfiguration", {})
19
+ .n("ARCZonalShiftClient", "DeletePracticeRunConfigurationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeletePracticeRunConfigurationCommand)
22
+ .de(de_DeletePracticeRunConfigurationCommand)
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_GetManagedResourceCommand, se_GetManagedResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetManagedResourceCommand 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, GetManagedResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ARCZonalShiftClient";
26
- const commandName = "GetManagedResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "PercDataPlane",
35
- operation: "GetManagedResource",
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_GetManagedResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetManagedResourceCommand(output, context);
46
- }
7
+ export class GetManagedResourceCommand 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("PercDataPlane", "GetManagedResource", {})
19
+ .n("ARCZonalShiftClient", "GetManagedResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetManagedResourceCommand)
22
+ .de(de_GetManagedResourceCommand)
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_ListAutoshiftsCommand, se_ListAutoshiftsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListAutoshiftsCommand 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, ListAutoshiftsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ARCZonalShiftClient";
26
- const commandName = "ListAutoshiftsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "PercDataPlane",
35
- operation: "ListAutoshifts",
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_ListAutoshiftsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListAutoshiftsCommand(output, context);
46
- }
7
+ export class ListAutoshiftsCommand 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("PercDataPlane", "ListAutoshifts", {})
19
+ .n("ARCZonalShiftClient", "ListAutoshiftsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListAutoshiftsCommand)
22
+ .de(de_ListAutoshiftsCommand)
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_ListManagedResourcesCommand, se_ListManagedResourcesCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListManagedResourcesCommand 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, ListManagedResourcesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ARCZonalShiftClient";
26
- const commandName = "ListManagedResourcesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "PercDataPlane",
35
- operation: "ListManagedResources",
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_ListManagedResourcesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListManagedResourcesCommand(output, context);
46
- }
7
+ export class ListManagedResourcesCommand 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("PercDataPlane", "ListManagedResources", {})
19
+ .n("ARCZonalShiftClient", "ListManagedResourcesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListManagedResourcesCommand)
22
+ .de(de_ListManagedResourcesCommand)
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_ListZonalShiftsCommand, se_ListZonalShiftsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListZonalShiftsCommand 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, ListZonalShiftsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ARCZonalShiftClient";
26
- const commandName = "ListZonalShiftsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "PercDataPlane",
35
- operation: "ListZonalShifts",
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_ListZonalShiftsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListZonalShiftsCommand(output, context);
46
- }
7
+ export class ListZonalShiftsCommand 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("PercDataPlane", "ListZonalShifts", {})
19
+ .n("ARCZonalShiftClient", "ListZonalShiftsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListZonalShiftsCommand)
22
+ .de(de_ListZonalShiftsCommand)
23
+ .build() {
47
24
  }