@aws-sdk/client-app-mesh 3.35.0 → 3.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (296) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/AppMesh.js +0 -1
  3. package/dist-cjs/AppMeshClient.js +0 -1
  4. package/dist-cjs/commands/CreateGatewayRouteCommand.js +0 -1
  5. package/dist-cjs/commands/CreateMeshCommand.js +0 -1
  6. package/dist-cjs/commands/CreateRouteCommand.js +0 -1
  7. package/dist-cjs/commands/CreateVirtualGatewayCommand.js +0 -1
  8. package/dist-cjs/commands/CreateVirtualNodeCommand.js +0 -1
  9. package/dist-cjs/commands/CreateVirtualRouterCommand.js +0 -1
  10. package/dist-cjs/commands/CreateVirtualServiceCommand.js +0 -1
  11. package/dist-cjs/commands/DeleteGatewayRouteCommand.js +0 -1
  12. package/dist-cjs/commands/DeleteMeshCommand.js +0 -1
  13. package/dist-cjs/commands/DeleteRouteCommand.js +0 -1
  14. package/dist-cjs/commands/DeleteVirtualGatewayCommand.js +0 -1
  15. package/dist-cjs/commands/DeleteVirtualNodeCommand.js +0 -1
  16. package/dist-cjs/commands/DeleteVirtualRouterCommand.js +0 -1
  17. package/dist-cjs/commands/DeleteVirtualServiceCommand.js +0 -1
  18. package/dist-cjs/commands/DescribeGatewayRouteCommand.js +0 -1
  19. package/dist-cjs/commands/DescribeMeshCommand.js +0 -1
  20. package/dist-cjs/commands/DescribeRouteCommand.js +0 -1
  21. package/dist-cjs/commands/DescribeVirtualGatewayCommand.js +0 -1
  22. package/dist-cjs/commands/DescribeVirtualNodeCommand.js +0 -1
  23. package/dist-cjs/commands/DescribeVirtualRouterCommand.js +0 -1
  24. package/dist-cjs/commands/DescribeVirtualServiceCommand.js +0 -1
  25. package/dist-cjs/commands/ListGatewayRoutesCommand.js +0 -1
  26. package/dist-cjs/commands/ListMeshesCommand.js +0 -1
  27. package/dist-cjs/commands/ListRoutesCommand.js +0 -1
  28. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  29. package/dist-cjs/commands/ListVirtualGatewaysCommand.js +0 -1
  30. package/dist-cjs/commands/ListVirtualNodesCommand.js +0 -1
  31. package/dist-cjs/commands/ListVirtualRoutersCommand.js +0 -1
  32. package/dist-cjs/commands/ListVirtualServicesCommand.js +0 -1
  33. package/dist-cjs/commands/TagResourceCommand.js +0 -1
  34. package/dist-cjs/commands/UntagResourceCommand.js +0 -1
  35. package/dist-cjs/commands/UpdateGatewayRouteCommand.js +0 -1
  36. package/dist-cjs/commands/UpdateMeshCommand.js +0 -1
  37. package/dist-cjs/commands/UpdateRouteCommand.js +0 -1
  38. package/dist-cjs/commands/UpdateVirtualGatewayCommand.js +0 -1
  39. package/dist-cjs/commands/UpdateVirtualNodeCommand.js +0 -1
  40. package/dist-cjs/commands/UpdateVirtualRouterCommand.js +0 -1
  41. package/dist-cjs/commands/UpdateVirtualServiceCommand.js +0 -1
  42. package/dist-cjs/endpoints.js +0 -1
  43. package/dist-cjs/index.js +0 -1
  44. package/dist-cjs/models/index.js +0 -1
  45. package/dist-cjs/models/models_0.js +0 -1
  46. package/dist-cjs/pagination/Interfaces.js +0 -1
  47. package/dist-cjs/pagination/ListGatewayRoutesPaginator.js +0 -1
  48. package/dist-cjs/pagination/ListMeshesPaginator.js +0 -1
  49. package/dist-cjs/pagination/ListRoutesPaginator.js +0 -1
  50. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -1
  51. package/dist-cjs/pagination/ListVirtualGatewaysPaginator.js +0 -1
  52. package/dist-cjs/pagination/ListVirtualNodesPaginator.js +0 -1
  53. package/dist-cjs/pagination/ListVirtualRoutersPaginator.js +0 -1
  54. package/dist-cjs/pagination/ListVirtualServicesPaginator.js +0 -1
  55. package/dist-cjs/protocols/Aws_restJson1.js +0 -1
  56. package/dist-cjs/runtimeConfig.browser.js +2 -3
  57. package/dist-cjs/runtimeConfig.js +3 -4
  58. package/dist-cjs/runtimeConfig.native.js +0 -1
  59. package/dist-cjs/runtimeConfig.shared.js +0 -1
  60. package/dist-es/AppMesh.js +0 -1
  61. package/dist-es/AppMeshClient.js +0 -1
  62. package/dist-es/commands/CreateGatewayRouteCommand.js +0 -1
  63. package/dist-es/commands/CreateMeshCommand.js +0 -1
  64. package/dist-es/commands/CreateRouteCommand.js +0 -1
  65. package/dist-es/commands/CreateVirtualGatewayCommand.js +0 -1
  66. package/dist-es/commands/CreateVirtualNodeCommand.js +0 -1
  67. package/dist-es/commands/CreateVirtualRouterCommand.js +0 -1
  68. package/dist-es/commands/CreateVirtualServiceCommand.js +0 -1
  69. package/dist-es/commands/DeleteGatewayRouteCommand.js +0 -1
  70. package/dist-es/commands/DeleteMeshCommand.js +0 -1
  71. package/dist-es/commands/DeleteRouteCommand.js +0 -1
  72. package/dist-es/commands/DeleteVirtualGatewayCommand.js +0 -1
  73. package/dist-es/commands/DeleteVirtualNodeCommand.js +0 -1
  74. package/dist-es/commands/DeleteVirtualRouterCommand.js +0 -1
  75. package/dist-es/commands/DeleteVirtualServiceCommand.js +0 -1
  76. package/dist-es/commands/DescribeGatewayRouteCommand.js +0 -1
  77. package/dist-es/commands/DescribeMeshCommand.js +0 -1
  78. package/dist-es/commands/DescribeRouteCommand.js +0 -1
  79. package/dist-es/commands/DescribeVirtualGatewayCommand.js +0 -1
  80. package/dist-es/commands/DescribeVirtualNodeCommand.js +0 -1
  81. package/dist-es/commands/DescribeVirtualRouterCommand.js +0 -1
  82. package/dist-es/commands/DescribeVirtualServiceCommand.js +0 -1
  83. package/dist-es/commands/ListGatewayRoutesCommand.js +0 -1
  84. package/dist-es/commands/ListMeshesCommand.js +0 -1
  85. package/dist-es/commands/ListRoutesCommand.js +0 -1
  86. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  87. package/dist-es/commands/ListVirtualGatewaysCommand.js +0 -1
  88. package/dist-es/commands/ListVirtualNodesCommand.js +0 -1
  89. package/dist-es/commands/ListVirtualRoutersCommand.js +0 -1
  90. package/dist-es/commands/ListVirtualServicesCommand.js +0 -1
  91. package/dist-es/commands/TagResourceCommand.js +0 -1
  92. package/dist-es/commands/UntagResourceCommand.js +0 -1
  93. package/dist-es/commands/UpdateGatewayRouteCommand.js +0 -1
  94. package/dist-es/commands/UpdateMeshCommand.js +0 -1
  95. package/dist-es/commands/UpdateRouteCommand.js +0 -1
  96. package/dist-es/commands/UpdateVirtualGatewayCommand.js +0 -1
  97. package/dist-es/commands/UpdateVirtualNodeCommand.js +0 -1
  98. package/dist-es/commands/UpdateVirtualRouterCommand.js +0 -1
  99. package/dist-es/commands/UpdateVirtualServiceCommand.js +0 -1
  100. package/dist-es/endpoints.js +0 -1
  101. package/dist-es/index.js +0 -1
  102. package/dist-es/models/index.js +0 -1
  103. package/dist-es/models/models_0.js +0 -1
  104. package/dist-es/pagination/Interfaces.js +0 -1
  105. package/dist-es/pagination/ListGatewayRoutesPaginator.js +0 -1
  106. package/dist-es/pagination/ListMeshesPaginator.js +0 -1
  107. package/dist-es/pagination/ListRoutesPaginator.js +0 -1
  108. package/dist-es/pagination/ListTagsForResourcePaginator.js +0 -1
  109. package/dist-es/pagination/ListVirtualGatewaysPaginator.js +0 -1
  110. package/dist-es/pagination/ListVirtualNodesPaginator.js +0 -1
  111. package/dist-es/pagination/ListVirtualRoutersPaginator.js +0 -1
  112. package/dist-es/pagination/ListVirtualServicesPaginator.js +0 -1
  113. package/dist-es/protocols/Aws_restJson1.js +0 -1
  114. package/dist-es/runtimeConfig.browser.js +1 -2
  115. package/dist-es/runtimeConfig.js +2 -3
  116. package/dist-es/runtimeConfig.native.js +0 -1
  117. package/dist-es/runtimeConfig.shared.js +0 -1
  118. package/package.json +33 -30
  119. package/dist-cjs/AppMesh.js.map +0 -1
  120. package/dist-cjs/AppMeshClient.js.map +0 -1
  121. package/dist-cjs/commands/CreateGatewayRouteCommand.js.map +0 -1
  122. package/dist-cjs/commands/CreateMeshCommand.js.map +0 -1
  123. package/dist-cjs/commands/CreateRouteCommand.js.map +0 -1
  124. package/dist-cjs/commands/CreateVirtualGatewayCommand.js.map +0 -1
  125. package/dist-cjs/commands/CreateVirtualNodeCommand.js.map +0 -1
  126. package/dist-cjs/commands/CreateVirtualRouterCommand.js.map +0 -1
  127. package/dist-cjs/commands/CreateVirtualServiceCommand.js.map +0 -1
  128. package/dist-cjs/commands/DeleteGatewayRouteCommand.js.map +0 -1
  129. package/dist-cjs/commands/DeleteMeshCommand.js.map +0 -1
  130. package/dist-cjs/commands/DeleteRouteCommand.js.map +0 -1
  131. package/dist-cjs/commands/DeleteVirtualGatewayCommand.js.map +0 -1
  132. package/dist-cjs/commands/DeleteVirtualNodeCommand.js.map +0 -1
  133. package/dist-cjs/commands/DeleteVirtualRouterCommand.js.map +0 -1
  134. package/dist-cjs/commands/DeleteVirtualServiceCommand.js.map +0 -1
  135. package/dist-cjs/commands/DescribeGatewayRouteCommand.js.map +0 -1
  136. package/dist-cjs/commands/DescribeMeshCommand.js.map +0 -1
  137. package/dist-cjs/commands/DescribeRouteCommand.js.map +0 -1
  138. package/dist-cjs/commands/DescribeVirtualGatewayCommand.js.map +0 -1
  139. package/dist-cjs/commands/DescribeVirtualNodeCommand.js.map +0 -1
  140. package/dist-cjs/commands/DescribeVirtualRouterCommand.js.map +0 -1
  141. package/dist-cjs/commands/DescribeVirtualServiceCommand.js.map +0 -1
  142. package/dist-cjs/commands/ListGatewayRoutesCommand.js.map +0 -1
  143. package/dist-cjs/commands/ListMeshesCommand.js.map +0 -1
  144. package/dist-cjs/commands/ListRoutesCommand.js.map +0 -1
  145. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  146. package/dist-cjs/commands/ListVirtualGatewaysCommand.js.map +0 -1
  147. package/dist-cjs/commands/ListVirtualNodesCommand.js.map +0 -1
  148. package/dist-cjs/commands/ListVirtualRoutersCommand.js.map +0 -1
  149. package/dist-cjs/commands/ListVirtualServicesCommand.js.map +0 -1
  150. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  151. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  152. package/dist-cjs/commands/UpdateGatewayRouteCommand.js.map +0 -1
  153. package/dist-cjs/commands/UpdateMeshCommand.js.map +0 -1
  154. package/dist-cjs/commands/UpdateRouteCommand.js.map +0 -1
  155. package/dist-cjs/commands/UpdateVirtualGatewayCommand.js.map +0 -1
  156. package/dist-cjs/commands/UpdateVirtualNodeCommand.js.map +0 -1
  157. package/dist-cjs/commands/UpdateVirtualRouterCommand.js.map +0 -1
  158. package/dist-cjs/commands/UpdateVirtualServiceCommand.js.map +0 -1
  159. package/dist-cjs/endpoints.js.map +0 -1
  160. package/dist-cjs/index.js.map +0 -1
  161. package/dist-cjs/models/index.js.map +0 -1
  162. package/dist-cjs/models/models_0.js.map +0 -1
  163. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  164. package/dist-cjs/pagination/ListGatewayRoutesPaginator.js.map +0 -1
  165. package/dist-cjs/pagination/ListMeshesPaginator.js.map +0 -1
  166. package/dist-cjs/pagination/ListRoutesPaginator.js.map +0 -1
  167. package/dist-cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
  168. package/dist-cjs/pagination/ListVirtualGatewaysPaginator.js.map +0 -1
  169. package/dist-cjs/pagination/ListVirtualNodesPaginator.js.map +0 -1
  170. package/dist-cjs/pagination/ListVirtualRoutersPaginator.js.map +0 -1
  171. package/dist-cjs/pagination/ListVirtualServicesPaginator.js.map +0 -1
  172. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  173. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  174. package/dist-cjs/runtimeConfig.js.map +0 -1
  175. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  176. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  177. package/dist-es/AppMesh.js.map +0 -1
  178. package/dist-es/AppMeshClient.js.map +0 -1
  179. package/dist-es/commands/CreateGatewayRouteCommand.js.map +0 -1
  180. package/dist-es/commands/CreateMeshCommand.js.map +0 -1
  181. package/dist-es/commands/CreateRouteCommand.js.map +0 -1
  182. package/dist-es/commands/CreateVirtualGatewayCommand.js.map +0 -1
  183. package/dist-es/commands/CreateVirtualNodeCommand.js.map +0 -1
  184. package/dist-es/commands/CreateVirtualRouterCommand.js.map +0 -1
  185. package/dist-es/commands/CreateVirtualServiceCommand.js.map +0 -1
  186. package/dist-es/commands/DeleteGatewayRouteCommand.js.map +0 -1
  187. package/dist-es/commands/DeleteMeshCommand.js.map +0 -1
  188. package/dist-es/commands/DeleteRouteCommand.js.map +0 -1
  189. package/dist-es/commands/DeleteVirtualGatewayCommand.js.map +0 -1
  190. package/dist-es/commands/DeleteVirtualNodeCommand.js.map +0 -1
  191. package/dist-es/commands/DeleteVirtualRouterCommand.js.map +0 -1
  192. package/dist-es/commands/DeleteVirtualServiceCommand.js.map +0 -1
  193. package/dist-es/commands/DescribeGatewayRouteCommand.js.map +0 -1
  194. package/dist-es/commands/DescribeMeshCommand.js.map +0 -1
  195. package/dist-es/commands/DescribeRouteCommand.js.map +0 -1
  196. package/dist-es/commands/DescribeVirtualGatewayCommand.js.map +0 -1
  197. package/dist-es/commands/DescribeVirtualNodeCommand.js.map +0 -1
  198. package/dist-es/commands/DescribeVirtualRouterCommand.js.map +0 -1
  199. package/dist-es/commands/DescribeVirtualServiceCommand.js.map +0 -1
  200. package/dist-es/commands/ListGatewayRoutesCommand.js.map +0 -1
  201. package/dist-es/commands/ListMeshesCommand.js.map +0 -1
  202. package/dist-es/commands/ListRoutesCommand.js.map +0 -1
  203. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  204. package/dist-es/commands/ListVirtualGatewaysCommand.js.map +0 -1
  205. package/dist-es/commands/ListVirtualNodesCommand.js.map +0 -1
  206. package/dist-es/commands/ListVirtualRoutersCommand.js.map +0 -1
  207. package/dist-es/commands/ListVirtualServicesCommand.js.map +0 -1
  208. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  209. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  210. package/dist-es/commands/UpdateGatewayRouteCommand.js.map +0 -1
  211. package/dist-es/commands/UpdateMeshCommand.js.map +0 -1
  212. package/dist-es/commands/UpdateRouteCommand.js.map +0 -1
  213. package/dist-es/commands/UpdateVirtualGatewayCommand.js.map +0 -1
  214. package/dist-es/commands/UpdateVirtualNodeCommand.js.map +0 -1
  215. package/dist-es/commands/UpdateVirtualRouterCommand.js.map +0 -1
  216. package/dist-es/commands/UpdateVirtualServiceCommand.js.map +0 -1
  217. package/dist-es/endpoints.js.map +0 -1
  218. package/dist-es/index.js.map +0 -1
  219. package/dist-es/models/index.js.map +0 -1
  220. package/dist-es/models/models_0.js.map +0 -1
  221. package/dist-es/pagination/Interfaces.js.map +0 -1
  222. package/dist-es/pagination/ListGatewayRoutesPaginator.js.map +0 -1
  223. package/dist-es/pagination/ListMeshesPaginator.js.map +0 -1
  224. package/dist-es/pagination/ListRoutesPaginator.js.map +0 -1
  225. package/dist-es/pagination/ListTagsForResourcePaginator.js.map +0 -1
  226. package/dist-es/pagination/ListVirtualGatewaysPaginator.js.map +0 -1
  227. package/dist-es/pagination/ListVirtualNodesPaginator.js.map +0 -1
  228. package/dist-es/pagination/ListVirtualRoutersPaginator.js.map +0 -1
  229. package/dist-es/pagination/ListVirtualServicesPaginator.js.map +0 -1
  230. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  231. package/dist-es/runtimeConfig.browser.js.map +0 -1
  232. package/dist-es/runtimeConfig.js.map +0 -1
  233. package/dist-es/runtimeConfig.native.js.map +0 -1
  234. package/dist-es/runtimeConfig.shared.js.map +0 -1
  235. package/jest.config.js +0 -4
  236. package/src/AppMesh.ts +0 -1397
  237. package/src/AppMeshClient.ts +0 -413
  238. package/src/commands/CreateGatewayRouteCommand.ts +0 -99
  239. package/src/commands/CreateMeshCommand.ts +0 -100
  240. package/src/commands/CreateRouteCommand.ts +0 -98
  241. package/src/commands/CreateVirtualGatewayCommand.ts +0 -101
  242. package/src/commands/CreateVirtualNodeCommand.ts +0 -117
  243. package/src/commands/CreateVirtualRouterCommand.ts +0 -101
  244. package/src/commands/CreateVirtualServiceCommand.ts +0 -101
  245. package/src/commands/DeleteGatewayRouteCommand.ts +0 -95
  246. package/src/commands/DeleteMeshCommand.ts +0 -97
  247. package/src/commands/DeleteRouteCommand.ts +0 -95
  248. package/src/commands/DeleteVirtualGatewayCommand.ts +0 -96
  249. package/src/commands/DeleteVirtualNodeCommand.ts +0 -97
  250. package/src/commands/DeleteVirtualRouterCommand.ts +0 -97
  251. package/src/commands/DeleteVirtualServiceCommand.ts +0 -95
  252. package/src/commands/DescribeGatewayRouteCommand.ts +0 -95
  253. package/src/commands/DescribeMeshCommand.ts +0 -95
  254. package/src/commands/DescribeRouteCommand.ts +0 -95
  255. package/src/commands/DescribeVirtualGatewayCommand.ts +0 -95
  256. package/src/commands/DescribeVirtualNodeCommand.ts +0 -95
  257. package/src/commands/DescribeVirtualRouterCommand.ts +0 -95
  258. package/src/commands/DescribeVirtualServiceCommand.ts +0 -95
  259. package/src/commands/ListGatewayRoutesCommand.ts +0 -96
  260. package/src/commands/ListMeshesCommand.ts +0 -95
  261. package/src/commands/ListRoutesCommand.ts +0 -95
  262. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  263. package/src/commands/ListVirtualGatewaysCommand.ts +0 -95
  264. package/src/commands/ListVirtualNodesCommand.ts +0 -95
  265. package/src/commands/ListVirtualRoutersCommand.ts +0 -95
  266. package/src/commands/ListVirtualServicesCommand.ts +0 -95
  267. package/src/commands/TagResourceCommand.ts +0 -98
  268. package/src/commands/UntagResourceCommand.ts +0 -95
  269. package/src/commands/UpdateGatewayRouteCommand.ts +0 -96
  270. package/src/commands/UpdateMeshCommand.ts +0 -95
  271. package/src/commands/UpdateRouteCommand.ts +0 -95
  272. package/src/commands/UpdateVirtualGatewayCommand.ts +0 -95
  273. package/src/commands/UpdateVirtualNodeCommand.ts +0 -95
  274. package/src/commands/UpdateVirtualRouterCommand.ts +0 -95
  275. package/src/commands/UpdateVirtualServiceCommand.ts +0 -95
  276. package/src/endpoints.ts +0 -57
  277. package/src/index.ts +0 -50
  278. package/src/models/index.ts +0 -1
  279. package/src/models/models_0.ts +0 -7391
  280. package/src/pagination/Interfaces.ts +0 -8
  281. package/src/pagination/ListGatewayRoutesPaginator.ts +0 -59
  282. package/src/pagination/ListMeshesPaginator.ts +0 -55
  283. package/src/pagination/ListRoutesPaginator.ts +0 -55
  284. package/src/pagination/ListTagsForResourcePaginator.ts +0 -59
  285. package/src/pagination/ListVirtualGatewaysPaginator.ts +0 -59
  286. package/src/pagination/ListVirtualNodesPaginator.ts +0 -59
  287. package/src/pagination/ListVirtualRoutersPaginator.ts +0 -59
  288. package/src/pagination/ListVirtualServicesPaginator.ts +0 -59
  289. package/src/protocols/Aws_restJson1.ts +0 -9672
  290. package/src/runtimeConfig.browser.ts +0 -41
  291. package/src/runtimeConfig.native.ts +0 -17
  292. package/src/runtimeConfig.shared.ts +0 -17
  293. package/src/runtimeConfig.ts +0 -46
  294. package/tsconfig.es.json +0 -10
  295. package/tsconfig.json +0 -33
  296. package/tsconfig.types.json +0 -9
@@ -1,98 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppMeshClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppMeshClient";
15
- import { CreateRouteInput, CreateRouteOutput } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1CreateRouteCommand,
18
- serializeAws_restJson1CreateRouteCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface CreateRouteCommandInput extends CreateRouteInput {}
22
- export interface CreateRouteCommandOutput extends CreateRouteOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Creates a route that is associated with a virtual router.</p>
26
- * <p> You can route several different protocols and define a retry policy for a route.
27
- * Traffic can be routed to one or more virtual nodes.</p>
28
- * <p>For more information about routes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/routes.html">Routes</a>.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { AppMeshClient, CreateRouteCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
33
- * // const { AppMeshClient, CreateRouteCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
34
- * const client = new AppMeshClient(config);
35
- * const command = new CreateRouteCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link CreateRouteCommandInput} for command's `input` shape.
40
- * @see {@link CreateRouteCommandOutput} for command's `response` shape.
41
- * @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class CreateRouteCommand extends $Command<
45
- CreateRouteCommandInput,
46
- CreateRouteCommandOutput,
47
- AppMeshClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: CreateRouteCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: AppMeshClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<CreateRouteCommandInput, CreateRouteCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "AppMeshClient";
72
- const commandName = "CreateRouteCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: CreateRouteInput.filterSensitiveLog,
78
- outputFilterSensitiveLog: CreateRouteOutput.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: CreateRouteCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_restJson1CreateRouteCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateRouteCommandOutput> {
93
- return deserializeAws_restJson1CreateRouteCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,101 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppMeshClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppMeshClient";
15
- import { CreateVirtualGatewayInput, CreateVirtualGatewayOutput } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1CreateVirtualGatewayCommand,
18
- serializeAws_restJson1CreateVirtualGatewayCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface CreateVirtualGatewayCommandInput extends CreateVirtualGatewayInput {}
22
- export interface CreateVirtualGatewayCommandOutput extends CreateVirtualGatewayOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Creates a virtual gateway.</p>
26
- * <p>A virtual gateway allows resources outside your mesh to communicate to resources that
27
- * are inside your mesh. The virtual gateway represents an Envoy proxy running in an Amazon ECS
28
- * task, in a Kubernetes service, or on an Amazon EC2 instance. Unlike a virtual node, which
29
- * represents an Envoy running with an application, a virtual gateway represents Envoy
30
- * deployed by itself.</p>
31
- * <p>For more information about virtual gateways, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html">Virtual gateways</a>. </p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { AppMeshClient, CreateVirtualGatewayCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
36
- * // const { AppMeshClient, CreateVirtualGatewayCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
37
- * const client = new AppMeshClient(config);
38
- * const command = new CreateVirtualGatewayCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link CreateVirtualGatewayCommandInput} for command's `input` shape.
43
- * @see {@link CreateVirtualGatewayCommandOutput} for command's `response` shape.
44
- * @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
- export class CreateVirtualGatewayCommand extends $Command<
48
- CreateVirtualGatewayCommandInput,
49
- CreateVirtualGatewayCommandOutput,
50
- AppMeshClientResolvedConfig
51
- > {
52
- // Start section: command_properties
53
- // End section: command_properties
54
-
55
- constructor(readonly input: CreateVirtualGatewayCommandInput) {
56
- // Start section: command_constructor
57
- super();
58
- // End section: command_constructor
59
- }
60
-
61
- /**
62
- * @internal
63
- */
64
- resolveMiddleware(
65
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
66
- configuration: AppMeshClientResolvedConfig,
67
- options?: __HttpHandlerOptions
68
- ): Handler<CreateVirtualGatewayCommandInput, CreateVirtualGatewayCommandOutput> {
69
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
70
-
71
- const stack = clientStack.concat(this.middlewareStack);
72
-
73
- const { logger } = configuration;
74
- const clientName = "AppMeshClient";
75
- const commandName = "CreateVirtualGatewayCommand";
76
- const handlerExecutionContext: HandlerExecutionContext = {
77
- logger,
78
- clientName,
79
- commandName,
80
- inputFilterSensitiveLog: CreateVirtualGatewayInput.filterSensitiveLog,
81
- outputFilterSensitiveLog: CreateVirtualGatewayOutput.filterSensitiveLog,
82
- };
83
- const { requestHandler } = configuration;
84
- return stack.resolve(
85
- (request: FinalizeHandlerArguments<any>) =>
86
- requestHandler.handle(request.request as __HttpRequest, options || {}),
87
- handlerExecutionContext
88
- );
89
- }
90
-
91
- private serialize(input: CreateVirtualGatewayCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
92
- return serializeAws_restJson1CreateVirtualGatewayCommand(input, context);
93
- }
94
-
95
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateVirtualGatewayCommandOutput> {
96
- return deserializeAws_restJson1CreateVirtualGatewayCommand(output, context);
97
- }
98
-
99
- // Start section: command_body_extra
100
- // End section: command_body_extra
101
- }
@@ -1,117 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppMeshClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppMeshClient";
15
- import { CreateVirtualNodeInput, CreateVirtualNodeOutput } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1CreateVirtualNodeCommand,
18
- serializeAws_restJson1CreateVirtualNodeCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface CreateVirtualNodeCommandInput extends CreateVirtualNodeInput {}
22
- export interface CreateVirtualNodeCommandOutput extends CreateVirtualNodeOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Creates a virtual node within a service mesh.</p>
26
- * <p> A virtual node acts as a logical pointer to a particular task group, such as an Amazon ECS
27
- * service or a Kubernetes deployment. When you create a virtual node, you can specify the
28
- * service discovery information for your task group, and whether the proxy running in a task
29
- * group will communicate with other proxies using Transport Layer Security (TLS).</p>
30
- * <p>You define a <code>listener</code> for any inbound traffic that your virtual node
31
- * expects. Any virtual service that your virtual node expects to communicate to is specified
32
- * as a <code>backend</code>.</p>
33
- * <p>The response metadata for your new virtual node contains the <code>arn</code> that is
34
- * associated with the virtual node. Set this value to the full ARN; for example,
35
- * <code>arn:aws:appmesh:us-west-2:123456789012:myMesh/default/virtualNode/myApp</code>)
36
- * as the <code>APPMESH_RESOURCE_ARN</code> environment variable for your task group's Envoy
37
- * proxy container in your task definition or pod spec. This is then mapped to the
38
- * <code>node.id</code> and <code>node.cluster</code> Envoy parameters.</p>
39
- * <note>
40
- * <p>By default, App Mesh uses the name of the resource you specified in
41
- * <code>APPMESH_RESOURCE_ARN</code> when Envoy is referring to itself in metrics and
42
- * traces. You can override this behavior by setting the
43
- * <code>APPMESH_RESOURCE_CLUSTER</code> environment variable with your own name.</p>
44
- * </note>
45
- * <p>For more information about virtual nodes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_nodes.html">Virtual nodes</a>. You must be using <code>1.15.0</code> or later of the Envoy image when
46
- * setting these variables. For more information aboutApp Mesh Envoy variables, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/envoy.html">Envoy image</a> in
47
- * the AWS App Mesh User Guide.</p>
48
- * @example
49
- * Use a bare-bones client and the command you need to make an API call.
50
- * ```javascript
51
- * import { AppMeshClient, CreateVirtualNodeCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
52
- * // const { AppMeshClient, CreateVirtualNodeCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
53
- * const client = new AppMeshClient(config);
54
- * const command = new CreateVirtualNodeCommand(input);
55
- * const response = await client.send(command);
56
- * ```
57
- *
58
- * @see {@link CreateVirtualNodeCommandInput} for command's `input` shape.
59
- * @see {@link CreateVirtualNodeCommandOutput} for command's `response` shape.
60
- * @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
61
- *
62
- */
63
- export class CreateVirtualNodeCommand extends $Command<
64
- CreateVirtualNodeCommandInput,
65
- CreateVirtualNodeCommandOutput,
66
- AppMeshClientResolvedConfig
67
- > {
68
- // Start section: command_properties
69
- // End section: command_properties
70
-
71
- constructor(readonly input: CreateVirtualNodeCommandInput) {
72
- // Start section: command_constructor
73
- super();
74
- // End section: command_constructor
75
- }
76
-
77
- /**
78
- * @internal
79
- */
80
- resolveMiddleware(
81
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
82
- configuration: AppMeshClientResolvedConfig,
83
- options?: __HttpHandlerOptions
84
- ): Handler<CreateVirtualNodeCommandInput, CreateVirtualNodeCommandOutput> {
85
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
86
-
87
- const stack = clientStack.concat(this.middlewareStack);
88
-
89
- const { logger } = configuration;
90
- const clientName = "AppMeshClient";
91
- const commandName = "CreateVirtualNodeCommand";
92
- const handlerExecutionContext: HandlerExecutionContext = {
93
- logger,
94
- clientName,
95
- commandName,
96
- inputFilterSensitiveLog: CreateVirtualNodeInput.filterSensitiveLog,
97
- outputFilterSensitiveLog: CreateVirtualNodeOutput.filterSensitiveLog,
98
- };
99
- const { requestHandler } = configuration;
100
- return stack.resolve(
101
- (request: FinalizeHandlerArguments<any>) =>
102
- requestHandler.handle(request.request as __HttpRequest, options || {}),
103
- handlerExecutionContext
104
- );
105
- }
106
-
107
- private serialize(input: CreateVirtualNodeCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
108
- return serializeAws_restJson1CreateVirtualNodeCommand(input, context);
109
- }
110
-
111
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateVirtualNodeCommandOutput> {
112
- return deserializeAws_restJson1CreateVirtualNodeCommand(output, context);
113
- }
114
-
115
- // Start section: command_body_extra
116
- // End section: command_body_extra
117
- }
@@ -1,101 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppMeshClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppMeshClient";
15
- import { CreateVirtualRouterInput, CreateVirtualRouterOutput } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1CreateVirtualRouterCommand,
18
- serializeAws_restJson1CreateVirtualRouterCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface CreateVirtualRouterCommandInput extends CreateVirtualRouterInput {}
22
- export interface CreateVirtualRouterCommandOutput extends CreateVirtualRouterOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Creates a virtual router within a service mesh.</p>
26
- * <p>Specify a <code>listener</code> for any inbound traffic that your virtual router
27
- * receives. Create a virtual router for each protocol and port that you need to route.
28
- * Virtual routers handle traffic for one or more virtual services within your mesh. After you
29
- * create your virtual router, create and associate routes for your virtual router that direct
30
- * incoming requests to different virtual nodes.</p>
31
- * <p>For more information about virtual routers, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_routers.html">Virtual routers</a>.</p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { AppMeshClient, CreateVirtualRouterCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
36
- * // const { AppMeshClient, CreateVirtualRouterCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
37
- * const client = new AppMeshClient(config);
38
- * const command = new CreateVirtualRouterCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link CreateVirtualRouterCommandInput} for command's `input` shape.
43
- * @see {@link CreateVirtualRouterCommandOutput} for command's `response` shape.
44
- * @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
- export class CreateVirtualRouterCommand extends $Command<
48
- CreateVirtualRouterCommandInput,
49
- CreateVirtualRouterCommandOutput,
50
- AppMeshClientResolvedConfig
51
- > {
52
- // Start section: command_properties
53
- // End section: command_properties
54
-
55
- constructor(readonly input: CreateVirtualRouterCommandInput) {
56
- // Start section: command_constructor
57
- super();
58
- // End section: command_constructor
59
- }
60
-
61
- /**
62
- * @internal
63
- */
64
- resolveMiddleware(
65
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
66
- configuration: AppMeshClientResolvedConfig,
67
- options?: __HttpHandlerOptions
68
- ): Handler<CreateVirtualRouterCommandInput, CreateVirtualRouterCommandOutput> {
69
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
70
-
71
- const stack = clientStack.concat(this.middlewareStack);
72
-
73
- const { logger } = configuration;
74
- const clientName = "AppMeshClient";
75
- const commandName = "CreateVirtualRouterCommand";
76
- const handlerExecutionContext: HandlerExecutionContext = {
77
- logger,
78
- clientName,
79
- commandName,
80
- inputFilterSensitiveLog: CreateVirtualRouterInput.filterSensitiveLog,
81
- outputFilterSensitiveLog: CreateVirtualRouterOutput.filterSensitiveLog,
82
- };
83
- const { requestHandler } = configuration;
84
- return stack.resolve(
85
- (request: FinalizeHandlerArguments<any>) =>
86
- requestHandler.handle(request.request as __HttpRequest, options || {}),
87
- handlerExecutionContext
88
- );
89
- }
90
-
91
- private serialize(input: CreateVirtualRouterCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
92
- return serializeAws_restJson1CreateVirtualRouterCommand(input, context);
93
- }
94
-
95
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateVirtualRouterCommandOutput> {
96
- return deserializeAws_restJson1CreateVirtualRouterCommand(output, context);
97
- }
98
-
99
- // Start section: command_body_extra
100
- // End section: command_body_extra
101
- }
@@ -1,101 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppMeshClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppMeshClient";
15
- import { CreateVirtualServiceInput, CreateVirtualServiceOutput } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1CreateVirtualServiceCommand,
18
- serializeAws_restJson1CreateVirtualServiceCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface CreateVirtualServiceCommandInput extends CreateVirtualServiceInput {}
22
- export interface CreateVirtualServiceCommandOutput extends CreateVirtualServiceOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Creates a virtual service within a service mesh.</p>
26
- * <p>A virtual service is an abstraction of a real service that is provided by a virtual node
27
- * directly or indirectly by means of a virtual router. Dependent services call your virtual
28
- * service by its <code>virtualServiceName</code>, and those requests are routed to the
29
- * virtual node or virtual router that is specified as the provider for the virtual
30
- * service.</p>
31
- * <p>For more information about virtual services, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_services.html">Virtual services</a>.</p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { AppMeshClient, CreateVirtualServiceCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
36
- * // const { AppMeshClient, CreateVirtualServiceCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
37
- * const client = new AppMeshClient(config);
38
- * const command = new CreateVirtualServiceCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link CreateVirtualServiceCommandInput} for command's `input` shape.
43
- * @see {@link CreateVirtualServiceCommandOutput} for command's `response` shape.
44
- * @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
- export class CreateVirtualServiceCommand extends $Command<
48
- CreateVirtualServiceCommandInput,
49
- CreateVirtualServiceCommandOutput,
50
- AppMeshClientResolvedConfig
51
- > {
52
- // Start section: command_properties
53
- // End section: command_properties
54
-
55
- constructor(readonly input: CreateVirtualServiceCommandInput) {
56
- // Start section: command_constructor
57
- super();
58
- // End section: command_constructor
59
- }
60
-
61
- /**
62
- * @internal
63
- */
64
- resolveMiddleware(
65
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
66
- configuration: AppMeshClientResolvedConfig,
67
- options?: __HttpHandlerOptions
68
- ): Handler<CreateVirtualServiceCommandInput, CreateVirtualServiceCommandOutput> {
69
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
70
-
71
- const stack = clientStack.concat(this.middlewareStack);
72
-
73
- const { logger } = configuration;
74
- const clientName = "AppMeshClient";
75
- const commandName = "CreateVirtualServiceCommand";
76
- const handlerExecutionContext: HandlerExecutionContext = {
77
- logger,
78
- clientName,
79
- commandName,
80
- inputFilterSensitiveLog: CreateVirtualServiceInput.filterSensitiveLog,
81
- outputFilterSensitiveLog: CreateVirtualServiceOutput.filterSensitiveLog,
82
- };
83
- const { requestHandler } = configuration;
84
- return stack.resolve(
85
- (request: FinalizeHandlerArguments<any>) =>
86
- requestHandler.handle(request.request as __HttpRequest, options || {}),
87
- handlerExecutionContext
88
- );
89
- }
90
-
91
- private serialize(input: CreateVirtualServiceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
92
- return serializeAws_restJson1CreateVirtualServiceCommand(input, context);
93
- }
94
-
95
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateVirtualServiceCommandOutput> {
96
- return deserializeAws_restJson1CreateVirtualServiceCommand(output, context);
97
- }
98
-
99
- // Start section: command_body_extra
100
- // End section: command_body_extra
101
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppMeshClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppMeshClient";
15
- import { DeleteGatewayRouteInput, DeleteGatewayRouteOutput } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DeleteGatewayRouteCommand,
18
- serializeAws_restJson1DeleteGatewayRouteCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DeleteGatewayRouteCommandInput extends DeleteGatewayRouteInput {}
22
- export interface DeleteGatewayRouteCommandOutput extends DeleteGatewayRouteOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes an existing gateway route.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { AppMeshClient, DeleteGatewayRouteCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
30
- * // const { AppMeshClient, DeleteGatewayRouteCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
31
- * const client = new AppMeshClient(config);
32
- * const command = new DeleteGatewayRouteCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DeleteGatewayRouteCommandInput} for command's `input` shape.
37
- * @see {@link DeleteGatewayRouteCommandOutput} for command's `response` shape.
38
- * @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DeleteGatewayRouteCommand extends $Command<
42
- DeleteGatewayRouteCommandInput,
43
- DeleteGatewayRouteCommandOutput,
44
- AppMeshClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DeleteGatewayRouteCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: AppMeshClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DeleteGatewayRouteCommandInput, DeleteGatewayRouteCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "AppMeshClient";
69
- const commandName = "DeleteGatewayRouteCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DeleteGatewayRouteInput.filterSensitiveLog,
75
- outputFilterSensitiveLog: DeleteGatewayRouteOutput.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: DeleteGatewayRouteCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1DeleteGatewayRouteCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteGatewayRouteCommandOutput> {
90
- return deserializeAws_restJson1DeleteGatewayRouteCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }