@aws-sdk/client-app-mesh 3.928.0 → 3.929.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 (59) hide show
  1. package/dist-cjs/index.js +2611 -1742
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/AppMeshClient.js +2 -0
  4. package/dist-es/commands/CreateGatewayRouteCommand.js +3 -9
  5. package/dist-es/commands/CreateMeshCommand.js +3 -9
  6. package/dist-es/commands/CreateRouteCommand.js +3 -9
  7. package/dist-es/commands/CreateVirtualGatewayCommand.js +3 -9
  8. package/dist-es/commands/CreateVirtualNodeCommand.js +3 -9
  9. package/dist-es/commands/CreateVirtualRouterCommand.js +3 -9
  10. package/dist-es/commands/CreateVirtualServiceCommand.js +3 -9
  11. package/dist-es/commands/DeleteGatewayRouteCommand.js +3 -9
  12. package/dist-es/commands/DeleteMeshCommand.js +3 -9
  13. package/dist-es/commands/DeleteRouteCommand.js +3 -9
  14. package/dist-es/commands/DeleteVirtualGatewayCommand.js +3 -9
  15. package/dist-es/commands/DeleteVirtualNodeCommand.js +3 -9
  16. package/dist-es/commands/DeleteVirtualRouterCommand.js +3 -9
  17. package/dist-es/commands/DeleteVirtualServiceCommand.js +3 -9
  18. package/dist-es/commands/DescribeGatewayRouteCommand.js +3 -9
  19. package/dist-es/commands/DescribeMeshCommand.js +3 -9
  20. package/dist-es/commands/DescribeRouteCommand.js +3 -9
  21. package/dist-es/commands/DescribeVirtualGatewayCommand.js +3 -9
  22. package/dist-es/commands/DescribeVirtualNodeCommand.js +3 -9
  23. package/dist-es/commands/DescribeVirtualRouterCommand.js +3 -9
  24. package/dist-es/commands/DescribeVirtualServiceCommand.js +3 -9
  25. package/dist-es/commands/ListGatewayRoutesCommand.js +3 -9
  26. package/dist-es/commands/ListMeshesCommand.js +3 -9
  27. package/dist-es/commands/ListRoutesCommand.js +3 -9
  28. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  29. package/dist-es/commands/ListVirtualGatewaysCommand.js +3 -9
  30. package/dist-es/commands/ListVirtualNodesCommand.js +3 -9
  31. package/dist-es/commands/ListVirtualRoutersCommand.js +3 -9
  32. package/dist-es/commands/ListVirtualServicesCommand.js +3 -9
  33. package/dist-es/commands/TagResourceCommand.js +3 -9
  34. package/dist-es/commands/UntagResourceCommand.js +3 -9
  35. package/dist-es/commands/UpdateGatewayRouteCommand.js +3 -9
  36. package/dist-es/commands/UpdateMeshCommand.js +3 -9
  37. package/dist-es/commands/UpdateRouteCommand.js +3 -9
  38. package/dist-es/commands/UpdateVirtualGatewayCommand.js +3 -9
  39. package/dist-es/commands/UpdateVirtualNodeCommand.js +3 -9
  40. package/dist-es/commands/UpdateVirtualRouterCommand.js +3 -9
  41. package/dist-es/commands/UpdateVirtualServiceCommand.js +3 -9
  42. package/dist-es/runtimeConfig.shared.js +2 -0
  43. package/dist-es/schemas/schemas_0.js +2515 -0
  44. package/dist-types/AppMeshClient.d.ts +10 -1
  45. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  46. package/dist-types/runtimeConfig.d.ts +1 -0
  47. package/dist-types/runtimeConfig.native.d.ts +1 -0
  48. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  49. package/dist-types/schemas/schemas_0.d.ts +296 -0
  50. package/dist-types/ts3.4/AppMeshClient.d.ts +4 -0
  51. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  52. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  53. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  54. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  55. package/dist-types/ts3.4/schemas/schemas_0.d.ts +301 -0
  56. package/package.json +2 -3
  57. package/dist-es/protocols/Aws_restJson1.js +0 -1451
  58. package/dist-types/protocols/Aws_restJson1.d.ts +0 -344
  59. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -461
@@ -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_ListMeshesCommand, se_ListMeshesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListMeshes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListMeshesCommand 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("AppMesh", "ListMeshes", {})
17
13
  .n("AppMeshClient", "ListMeshesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListMeshesCommand)
20
- .de(de_ListMeshesCommand)
14
+ .sc(ListMeshes)
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_ListRoutesCommand, se_ListRoutesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListRoutes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListRoutesCommand 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("AppMesh", "ListRoutes", {})
17
13
  .n("AppMeshClient", "ListRoutesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListRoutesCommand)
20
- .de(de_ListRoutesCommand)
14
+ .sc(ListRoutes)
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_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand 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("AppMesh", "ListTagsForResource", {})
17
13
  .n("AppMeshClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
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_ListVirtualGatewaysCommand, se_ListVirtualGatewaysCommand } from "../protocols/Aws_restJson1";
4
+ import { ListVirtualGateways } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListVirtualGatewaysCommand 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("AppMesh", "ListVirtualGateways", {})
17
13
  .n("AppMeshClient", "ListVirtualGatewaysCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListVirtualGatewaysCommand)
20
- .de(de_ListVirtualGatewaysCommand)
14
+ .sc(ListVirtualGateways)
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_ListVirtualNodesCommand, se_ListVirtualNodesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListVirtualNodes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListVirtualNodesCommand 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("AppMesh", "ListVirtualNodes", {})
17
13
  .n("AppMeshClient", "ListVirtualNodesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListVirtualNodesCommand)
20
- .de(de_ListVirtualNodesCommand)
14
+ .sc(ListVirtualNodes)
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_ListVirtualRoutersCommand, se_ListVirtualRoutersCommand } from "../protocols/Aws_restJson1";
4
+ import { ListVirtualRouters } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListVirtualRoutersCommand 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("AppMesh", "ListVirtualRouters", {})
17
13
  .n("AppMeshClient", "ListVirtualRoutersCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListVirtualRoutersCommand)
20
- .de(de_ListVirtualRoutersCommand)
14
+ .sc(ListVirtualRouters)
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_ListVirtualServicesCommand, se_ListVirtualServicesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListVirtualServices } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListVirtualServicesCommand 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("AppMesh", "ListVirtualServices", {})
17
13
  .n("AppMeshClient", "ListVirtualServicesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListVirtualServicesCommand)
20
- .de(de_ListVirtualServicesCommand)
14
+ .sc(ListVirtualServices)
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_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand 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("AppMesh", "TagResource", {})
17
13
  .n("AppMeshClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
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_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand 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("AppMesh", "UntagResource", {})
17
13
  .n("AppMeshClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
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_UpdateGatewayRouteCommand, se_UpdateGatewayRouteCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateGatewayRoute } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateGatewayRouteCommand 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("AppMesh", "UpdateGatewayRoute", {})
17
13
  .n("AppMeshClient", "UpdateGatewayRouteCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateGatewayRouteCommand)
20
- .de(de_UpdateGatewayRouteCommand)
14
+ .sc(UpdateGatewayRoute)
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_UpdateMeshCommand, se_UpdateMeshCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateMesh } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateMeshCommand 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("AppMesh", "UpdateMesh", {})
17
13
  .n("AppMeshClient", "UpdateMeshCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateMeshCommand)
20
- .de(de_UpdateMeshCommand)
14
+ .sc(UpdateMesh)
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_UpdateRouteCommand, se_UpdateRouteCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateRoute } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateRouteCommand 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("AppMesh", "UpdateRoute", {})
17
13
  .n("AppMeshClient", "UpdateRouteCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateRouteCommand)
20
- .de(de_UpdateRouteCommand)
14
+ .sc(UpdateRoute)
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_UpdateVirtualGatewayCommand, se_UpdateVirtualGatewayCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateVirtualGateway } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateVirtualGatewayCommand 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("AppMesh", "UpdateVirtualGateway", {})
17
13
  .n("AppMeshClient", "UpdateVirtualGatewayCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateVirtualGatewayCommand)
20
- .de(de_UpdateVirtualGatewayCommand)
14
+ .sc(UpdateVirtualGateway)
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_UpdateVirtualNodeCommand, se_UpdateVirtualNodeCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateVirtualNode } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateVirtualNodeCommand 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("AppMesh", "UpdateVirtualNode", {})
17
13
  .n("AppMeshClient", "UpdateVirtualNodeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateVirtualNodeCommand)
20
- .de(de_UpdateVirtualNodeCommand)
14
+ .sc(UpdateVirtualNode)
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_UpdateVirtualRouterCommand, se_UpdateVirtualRouterCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateVirtualRouter } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateVirtualRouterCommand 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("AppMesh", "UpdateVirtualRouter", {})
17
13
  .n("AppMeshClient", "UpdateVirtualRouterCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateVirtualRouterCommand)
20
- .de(de_UpdateVirtualRouterCommand)
14
+ .sc(UpdateVirtualRouter)
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_UpdateVirtualServiceCommand, se_UpdateVirtualServiceCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateVirtualService } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateVirtualServiceCommand 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("AppMesh", "UpdateVirtualService", {})
17
13
  .n("AppMeshClient", "UpdateVirtualServiceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateVirtualServiceCommand)
20
- .de(de_UpdateVirtualServiceCommand)
14
+ .sc(UpdateVirtualService)
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.appmesh" }),
25
27
  serviceId: config?.serviceId ?? "App Mesh",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,