@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,97 +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 { DeleteMeshInput, DeleteMeshOutput } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DeleteMeshCommand,
18
- serializeAws_restJson1DeleteMeshCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DeleteMeshCommandInput extends DeleteMeshInput {}
22
- export interface DeleteMeshCommandOutput extends DeleteMeshOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes an existing service mesh.</p>
26
- * <p>You must delete all resources (virtual services, routes, virtual routers, and virtual
27
- * nodes) in the service mesh before you can delete the mesh itself.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { AppMeshClient, DeleteMeshCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
32
- * // const { AppMeshClient, DeleteMeshCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
33
- * const client = new AppMeshClient(config);
34
- * const command = new DeleteMeshCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link DeleteMeshCommandInput} for command's `input` shape.
39
- * @see {@link DeleteMeshCommandOutput} for command's `response` shape.
40
- * @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class DeleteMeshCommand extends $Command<
44
- DeleteMeshCommandInput,
45
- DeleteMeshCommandOutput,
46
- AppMeshClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: DeleteMeshCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: AppMeshClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<DeleteMeshCommandInput, DeleteMeshCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "AppMeshClient";
71
- const commandName = "DeleteMeshCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: DeleteMeshInput.filterSensitiveLog,
77
- outputFilterSensitiveLog: DeleteMeshOutput.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: DeleteMeshCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_restJson1DeleteMeshCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteMeshCommandOutput> {
92
- return deserializeAws_restJson1DeleteMeshCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -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 { DeleteRouteInput, DeleteRouteOutput } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DeleteRouteCommand,
18
- serializeAws_restJson1DeleteRouteCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DeleteRouteCommandInput extends DeleteRouteInput {}
22
- export interface DeleteRouteCommandOutput extends DeleteRouteOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes an existing 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, DeleteRouteCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
30
- * // const { AppMeshClient, DeleteRouteCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
31
- * const client = new AppMeshClient(config);
32
- * const command = new DeleteRouteCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DeleteRouteCommandInput} for command's `input` shape.
37
- * @see {@link DeleteRouteCommandOutput} for command's `response` shape.
38
- * @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DeleteRouteCommand extends $Command<
42
- DeleteRouteCommandInput,
43
- DeleteRouteCommandOutput,
44
- AppMeshClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DeleteRouteCommandInput) {
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<DeleteRouteCommandInput, DeleteRouteCommandOutput> {
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 = "DeleteRouteCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DeleteRouteInput.filterSensitiveLog,
75
- outputFilterSensitiveLog: DeleteRouteOutput.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: DeleteRouteCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1DeleteRouteCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteRouteCommandOutput> {
90
- return deserializeAws_restJson1DeleteRouteCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,96 +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 { DeleteVirtualGatewayInput, DeleteVirtualGatewayOutput } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DeleteVirtualGatewayCommand,
18
- serializeAws_restJson1DeleteVirtualGatewayCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DeleteVirtualGatewayCommandInput extends DeleteVirtualGatewayInput {}
22
- export interface DeleteVirtualGatewayCommandOutput extends DeleteVirtualGatewayOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes an existing virtual gateway. You cannot delete a virtual gateway if any gateway
26
- * routes are associated to it.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { AppMeshClient, DeleteVirtualGatewayCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
31
- * // const { AppMeshClient, DeleteVirtualGatewayCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
32
- * const client = new AppMeshClient(config);
33
- * const command = new DeleteVirtualGatewayCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link DeleteVirtualGatewayCommandInput} for command's `input` shape.
38
- * @see {@link DeleteVirtualGatewayCommandOutput} for command's `response` shape.
39
- * @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class DeleteVirtualGatewayCommand extends $Command<
43
- DeleteVirtualGatewayCommandInput,
44
- DeleteVirtualGatewayCommandOutput,
45
- AppMeshClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: DeleteVirtualGatewayCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: AppMeshClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<DeleteVirtualGatewayCommandInput, DeleteVirtualGatewayCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "AppMeshClient";
70
- const commandName = "DeleteVirtualGatewayCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: DeleteVirtualGatewayInput.filterSensitiveLog,
76
- outputFilterSensitiveLog: DeleteVirtualGatewayOutput.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: DeleteVirtualGatewayCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_restJson1DeleteVirtualGatewayCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteVirtualGatewayCommandOutput> {
91
- return deserializeAws_restJson1DeleteVirtualGatewayCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,97 +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 { DeleteVirtualNodeInput, DeleteVirtualNodeOutput } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DeleteVirtualNodeCommand,
18
- serializeAws_restJson1DeleteVirtualNodeCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DeleteVirtualNodeCommandInput extends DeleteVirtualNodeInput {}
22
- export interface DeleteVirtualNodeCommandOutput extends DeleteVirtualNodeOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes an existing virtual node.</p>
26
- * <p>You must delete any virtual services that list a virtual node as a service provider
27
- * before you can delete the virtual node itself.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { AppMeshClient, DeleteVirtualNodeCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
32
- * // const { AppMeshClient, DeleteVirtualNodeCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
33
- * const client = new AppMeshClient(config);
34
- * const command = new DeleteVirtualNodeCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link DeleteVirtualNodeCommandInput} for command's `input` shape.
39
- * @see {@link DeleteVirtualNodeCommandOutput} for command's `response` shape.
40
- * @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class DeleteVirtualNodeCommand extends $Command<
44
- DeleteVirtualNodeCommandInput,
45
- DeleteVirtualNodeCommandOutput,
46
- AppMeshClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: DeleteVirtualNodeCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: AppMeshClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<DeleteVirtualNodeCommandInput, DeleteVirtualNodeCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "AppMeshClient";
71
- const commandName = "DeleteVirtualNodeCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: DeleteVirtualNodeInput.filterSensitiveLog,
77
- outputFilterSensitiveLog: DeleteVirtualNodeOutput.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: DeleteVirtualNodeCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_restJson1DeleteVirtualNodeCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteVirtualNodeCommandOutput> {
92
- return deserializeAws_restJson1DeleteVirtualNodeCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,97 +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 { DeleteVirtualRouterInput, DeleteVirtualRouterOutput } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DeleteVirtualRouterCommand,
18
- serializeAws_restJson1DeleteVirtualRouterCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DeleteVirtualRouterCommandInput extends DeleteVirtualRouterInput {}
22
- export interface DeleteVirtualRouterCommandOutput extends DeleteVirtualRouterOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes an existing virtual router.</p>
26
- * <p>You must delete any routes associated with the virtual router before you can delete the
27
- * router itself.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { AppMeshClient, DeleteVirtualRouterCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
32
- * // const { AppMeshClient, DeleteVirtualRouterCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
33
- * const client = new AppMeshClient(config);
34
- * const command = new DeleteVirtualRouterCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link DeleteVirtualRouterCommandInput} for command's `input` shape.
39
- * @see {@link DeleteVirtualRouterCommandOutput} for command's `response` shape.
40
- * @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class DeleteVirtualRouterCommand extends $Command<
44
- DeleteVirtualRouterCommandInput,
45
- DeleteVirtualRouterCommandOutput,
46
- AppMeshClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: DeleteVirtualRouterCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: AppMeshClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<DeleteVirtualRouterCommandInput, DeleteVirtualRouterCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "AppMeshClient";
71
- const commandName = "DeleteVirtualRouterCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: DeleteVirtualRouterInput.filterSensitiveLog,
77
- outputFilterSensitiveLog: DeleteVirtualRouterOutput.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: DeleteVirtualRouterCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_restJson1DeleteVirtualRouterCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteVirtualRouterCommandOutput> {
92
- return deserializeAws_restJson1DeleteVirtualRouterCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -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 { DeleteVirtualServiceInput, DeleteVirtualServiceOutput } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DeleteVirtualServiceCommand,
18
- serializeAws_restJson1DeleteVirtualServiceCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DeleteVirtualServiceCommandInput extends DeleteVirtualServiceInput {}
22
- export interface DeleteVirtualServiceCommandOutput extends DeleteVirtualServiceOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes an existing virtual service.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { AppMeshClient, DeleteVirtualServiceCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
30
- * // const { AppMeshClient, DeleteVirtualServiceCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
31
- * const client = new AppMeshClient(config);
32
- * const command = new DeleteVirtualServiceCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DeleteVirtualServiceCommandInput} for command's `input` shape.
37
- * @see {@link DeleteVirtualServiceCommandOutput} for command's `response` shape.
38
- * @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DeleteVirtualServiceCommand extends $Command<
42
- DeleteVirtualServiceCommandInput,
43
- DeleteVirtualServiceCommandOutput,
44
- AppMeshClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DeleteVirtualServiceCommandInput) {
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<DeleteVirtualServiceCommandInput, DeleteVirtualServiceCommandOutput> {
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 = "DeleteVirtualServiceCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DeleteVirtualServiceInput.filterSensitiveLog,
75
- outputFilterSensitiveLog: DeleteVirtualServiceOutput.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: DeleteVirtualServiceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1DeleteVirtualServiceCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteVirtualServiceCommandOutput> {
90
- return deserializeAws_restJson1DeleteVirtualServiceCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -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 { DescribeGatewayRouteInput, DescribeGatewayRouteOutput } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DescribeGatewayRouteCommand,
18
- serializeAws_restJson1DescribeGatewayRouteCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DescribeGatewayRouteCommandInput extends DescribeGatewayRouteInput {}
22
- export interface DescribeGatewayRouteCommandOutput extends DescribeGatewayRouteOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Describes 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, DescribeGatewayRouteCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
30
- * // const { AppMeshClient, DescribeGatewayRouteCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
31
- * const client = new AppMeshClient(config);
32
- * const command = new DescribeGatewayRouteCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeGatewayRouteCommandInput} for command's `input` shape.
37
- * @see {@link DescribeGatewayRouteCommandOutput} for command's `response` shape.
38
- * @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeGatewayRouteCommand extends $Command<
42
- DescribeGatewayRouteCommandInput,
43
- DescribeGatewayRouteCommandOutput,
44
- AppMeshClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeGatewayRouteCommandInput) {
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<DescribeGatewayRouteCommandInput, DescribeGatewayRouteCommandOutput> {
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 = "DescribeGatewayRouteCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeGatewayRouteInput.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeGatewayRouteOutput.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: DescribeGatewayRouteCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1DescribeGatewayRouteCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeGatewayRouteCommandOutput> {
90
- return deserializeAws_restJson1DescribeGatewayRouteCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }