@aws-sdk/client-arc-zonal-shift 3.928.0 → 3.930.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 (36) hide show
  1. package/dist-cjs/index.js +609 -802
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/ARCZonalShiftClient.js +2 -0
  4. package/dist-es/commands/CancelPracticeRunCommand.js +3 -9
  5. package/dist-es/commands/CancelZonalShiftCommand.js +3 -9
  6. package/dist-es/commands/CreatePracticeRunConfigurationCommand.js +3 -9
  7. package/dist-es/commands/DeletePracticeRunConfigurationCommand.js +3 -9
  8. package/dist-es/commands/GetAutoshiftObserverNotificationStatusCommand.js +3 -9
  9. package/dist-es/commands/GetManagedResourceCommand.js +3 -9
  10. package/dist-es/commands/ListAutoshiftsCommand.js +3 -9
  11. package/dist-es/commands/ListManagedResourcesCommand.js +3 -9
  12. package/dist-es/commands/ListZonalShiftsCommand.js +3 -9
  13. package/dist-es/commands/StartPracticeRunCommand.js +3 -9
  14. package/dist-es/commands/StartZonalShiftCommand.js +3 -9
  15. package/dist-es/commands/UpdateAutoshiftObserverNotificationStatusCommand.js +3 -9
  16. package/dist-es/commands/UpdatePracticeRunConfigurationCommand.js +3 -9
  17. package/dist-es/commands/UpdateZonalAutoshiftConfigurationCommand.js +3 -9
  18. package/dist-es/commands/UpdateZonalShiftCommand.js +3 -9
  19. package/dist-es/runtimeConfig.shared.js +2 -0
  20. package/dist-es/schemas/schemas_0.js +569 -0
  21. package/dist-types/ARCZonalShiftClient.d.ts +10 -1
  22. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  23. package/dist-types/runtimeConfig.d.ts +1 -0
  24. package/dist-types/runtimeConfig.native.d.ts +1 -0
  25. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  26. package/dist-types/schemas/schemas_0.d.ts +71 -0
  27. package/dist-types/ts3.4/ARCZonalShiftClient.d.ts +4 -0
  28. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  29. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  30. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  31. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  32. package/dist-types/ts3.4/schemas/schemas_0.d.ts +76 -0
  33. package/package.json +33 -33
  34. package/dist-es/protocols/Aws_restJson1.js +0 -684
  35. package/dist-types/protocols/Aws_restJson1.d.ts +0 -137
  36. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -185
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.arczonalshift" }),
28
30
  serviceId: config?.serviceId ?? "ARC Zonal Shift",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class ARCZonalShiftClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CancelPracticeRunCommand, se_CancelPracticeRunCommand } from "../protocols/Aws_restJson1";
4
+ import { CancelPracticeRun } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelPracticeRunCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("PercDataPlane", "CancelPracticeRun", {})
17
13
  .n("ARCZonalShiftClient", "CancelPracticeRunCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelPracticeRunCommand)
20
- .de(de_CancelPracticeRunCommand)
14
+ .sc(CancelPracticeRun)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CancelZonalShiftCommand, se_CancelZonalShiftCommand } from "../protocols/Aws_restJson1";
4
+ import { CancelZonalShift } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelZonalShiftCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("PercDataPlane", "CancelZonalShift", {})
17
13
  .n("ARCZonalShiftClient", "CancelZonalShiftCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelZonalShiftCommand)
20
- .de(de_CancelZonalShiftCommand)
14
+ .sc(CancelZonalShift)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreatePracticeRunConfigurationCommand, se_CreatePracticeRunConfigurationCommand, } from "../protocols/Aws_restJson1";
4
+ import { CreatePracticeRunConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreatePracticeRunConfigurationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("PercDataPlane", "CreatePracticeRunConfiguration", {})
17
13
  .n("ARCZonalShiftClient", "CreatePracticeRunConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreatePracticeRunConfigurationCommand)
20
- .de(de_CreatePracticeRunConfigurationCommand)
14
+ .sc(CreatePracticeRunConfiguration)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeletePracticeRunConfigurationCommand, se_DeletePracticeRunConfigurationCommand, } from "../protocols/Aws_restJson1";
4
+ import { DeletePracticeRunConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeletePracticeRunConfigurationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("PercDataPlane", "DeletePracticeRunConfiguration", {})
17
13
  .n("ARCZonalShiftClient", "DeletePracticeRunConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeletePracticeRunConfigurationCommand)
20
- .de(de_DeletePracticeRunConfigurationCommand)
14
+ .sc(DeletePracticeRunConfiguration)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetAutoshiftObserverNotificationStatusCommand, se_GetAutoshiftObserverNotificationStatusCommand, } from "../protocols/Aws_restJson1";
4
+ import { GetAutoshiftObserverNotificationStatus } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetAutoshiftObserverNotificationStatusCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("PercDataPlane", "GetAutoshiftObserverNotificationStatus", {})
17
13
  .n("ARCZonalShiftClient", "GetAutoshiftObserverNotificationStatusCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetAutoshiftObserverNotificationStatusCommand)
20
- .de(de_GetAutoshiftObserverNotificationStatusCommand)
14
+ .sc(GetAutoshiftObserverNotificationStatus)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetManagedResourceCommand, se_GetManagedResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { GetManagedResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetManagedResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("PercDataPlane", "GetManagedResource", {})
17
13
  .n("ARCZonalShiftClient", "GetManagedResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetManagedResourceCommand)
20
- .de(de_GetManagedResourceCommand)
14
+ .sc(GetManagedResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListAutoshiftsCommand, se_ListAutoshiftsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListAutoshifts } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListAutoshiftsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("PercDataPlane", "ListAutoshifts", {})
17
13
  .n("ARCZonalShiftClient", "ListAutoshiftsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListAutoshiftsCommand)
20
- .de(de_ListAutoshiftsCommand)
14
+ .sc(ListAutoshifts)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListManagedResourcesCommand, se_ListManagedResourcesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListManagedResources } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListManagedResourcesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("PercDataPlane", "ListManagedResources", {})
17
13
  .n("ARCZonalShiftClient", "ListManagedResourcesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListManagedResourcesCommand)
20
- .de(de_ListManagedResourcesCommand)
14
+ .sc(ListManagedResources)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListZonalShiftsCommand, se_ListZonalShiftsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListZonalShifts } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListZonalShiftsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("PercDataPlane", "ListZonalShifts", {})
17
13
  .n("ARCZonalShiftClient", "ListZonalShiftsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListZonalShiftsCommand)
20
- .de(de_ListZonalShiftsCommand)
14
+ .sc(ListZonalShifts)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StartPracticeRunCommand, se_StartPracticeRunCommand } from "../protocols/Aws_restJson1";
4
+ import { StartPracticeRun } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartPracticeRunCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("PercDataPlane", "StartPracticeRun", {})
17
13
  .n("ARCZonalShiftClient", "StartPracticeRunCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartPracticeRunCommand)
20
- .de(de_StartPracticeRunCommand)
14
+ .sc(StartPracticeRun)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StartZonalShiftCommand, se_StartZonalShiftCommand } from "../protocols/Aws_restJson1";
4
+ import { StartZonalShift } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartZonalShiftCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("PercDataPlane", "StartZonalShift", {})
17
13
  .n("ARCZonalShiftClient", "StartZonalShiftCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartZonalShiftCommand)
20
- .de(de_StartZonalShiftCommand)
14
+ .sc(StartZonalShift)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateAutoshiftObserverNotificationStatusCommand, se_UpdateAutoshiftObserverNotificationStatusCommand, } from "../protocols/Aws_restJson1";
4
+ import { UpdateAutoshiftObserverNotificationStatus } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateAutoshiftObserverNotificationStatusCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("PercDataPlane", "UpdateAutoshiftObserverNotificationStatus", {})
17
13
  .n("ARCZonalShiftClient", "UpdateAutoshiftObserverNotificationStatusCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateAutoshiftObserverNotificationStatusCommand)
20
- .de(de_UpdateAutoshiftObserverNotificationStatusCommand)
14
+ .sc(UpdateAutoshiftObserverNotificationStatus)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdatePracticeRunConfigurationCommand, se_UpdatePracticeRunConfigurationCommand, } from "../protocols/Aws_restJson1";
4
+ import { UpdatePracticeRunConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdatePracticeRunConfigurationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("PercDataPlane", "UpdatePracticeRunConfiguration", {})
17
13
  .n("ARCZonalShiftClient", "UpdatePracticeRunConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdatePracticeRunConfigurationCommand)
20
- .de(de_UpdatePracticeRunConfigurationCommand)
14
+ .sc(UpdatePracticeRunConfiguration)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateZonalAutoshiftConfigurationCommand, se_UpdateZonalAutoshiftConfigurationCommand, } from "../protocols/Aws_restJson1";
4
+ import { UpdateZonalAutoshiftConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateZonalAutoshiftConfigurationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("PercDataPlane", "UpdateZonalAutoshiftConfiguration", {})
17
13
  .n("ARCZonalShiftClient", "UpdateZonalAutoshiftConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateZonalAutoshiftConfigurationCommand)
20
- .de(de_UpdateZonalAutoshiftConfigurationCommand)
14
+ .sc(UpdateZonalAutoshiftConfiguration)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateZonalShiftCommand, se_UpdateZonalShiftCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateZonalShift } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateZonalShiftCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("PercDataPlane", "UpdateZonalShift", {})
17
13
  .n("ARCZonalShiftClient", "UpdateZonalShiftCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateZonalShiftCommand)
20
- .de(de_UpdateZonalShiftCommand)
14
+ .sc(UpdateZonalShift)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.arczonalshift" }),
25
27
  serviceId: config?.serviceId ?? "ARC Zonal Shift",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,