@aws-sdk/client-app-mesh 3.32.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 (415) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{dist/cjs → dist-cjs}/AppMesh.js +0 -1
  3. package/{dist/cjs → dist-cjs}/AppMeshClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/CreateGatewayRouteCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/CreateMeshCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/CreateRouteCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/CreateVirtualGatewayCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/CreateVirtualNodeCommand.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/CreateVirtualRouterCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/CreateVirtualServiceCommand.js +2 -3
  11. package/{dist/cjs → dist-cjs}/commands/DeleteGatewayRouteCommand.js +2 -3
  12. package/{dist/cjs → dist-cjs}/commands/DeleteMeshCommand.js +2 -3
  13. package/{dist/cjs → dist-cjs}/commands/DeleteRouteCommand.js +2 -3
  14. package/{dist/cjs → dist-cjs}/commands/DeleteVirtualGatewayCommand.js +2 -3
  15. package/{dist/cjs → dist-cjs}/commands/DeleteVirtualNodeCommand.js +2 -3
  16. package/{dist/cjs → dist-cjs}/commands/DeleteVirtualRouterCommand.js +2 -3
  17. package/{dist/cjs → dist-cjs}/commands/DeleteVirtualServiceCommand.js +2 -3
  18. package/{dist/cjs → dist-cjs}/commands/DescribeGatewayRouteCommand.js +2 -3
  19. package/{dist/cjs → dist-cjs}/commands/DescribeMeshCommand.js +2 -3
  20. package/{dist/cjs → dist-cjs}/commands/DescribeRouteCommand.js +2 -3
  21. package/{dist/cjs → dist-cjs}/commands/DescribeVirtualGatewayCommand.js +2 -3
  22. package/{dist/cjs → dist-cjs}/commands/DescribeVirtualNodeCommand.js +2 -3
  23. package/{dist/cjs → dist-cjs}/commands/DescribeVirtualRouterCommand.js +2 -3
  24. package/{dist/cjs → dist-cjs}/commands/DescribeVirtualServiceCommand.js +2 -3
  25. package/{dist/cjs → dist-cjs}/commands/ListGatewayRoutesCommand.js +2 -3
  26. package/{dist/cjs → dist-cjs}/commands/ListMeshesCommand.js +2 -3
  27. package/{dist/cjs → dist-cjs}/commands/ListRoutesCommand.js +2 -3
  28. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
  29. package/{dist/cjs → dist-cjs}/commands/ListVirtualGatewaysCommand.js +2 -3
  30. package/{dist/cjs → dist-cjs}/commands/ListVirtualNodesCommand.js +2 -3
  31. package/{dist/cjs → dist-cjs}/commands/ListVirtualRoutersCommand.js +2 -3
  32. package/{dist/cjs → dist-cjs}/commands/ListVirtualServicesCommand.js +2 -3
  33. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
  34. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
  35. package/{dist/cjs → dist-cjs}/commands/UpdateGatewayRouteCommand.js +2 -3
  36. package/{dist/cjs → dist-cjs}/commands/UpdateMeshCommand.js +2 -3
  37. package/{dist/cjs → dist-cjs}/commands/UpdateRouteCommand.js +2 -3
  38. package/{dist/cjs → dist-cjs}/commands/UpdateVirtualGatewayCommand.js +2 -3
  39. package/{dist/cjs → dist-cjs}/commands/UpdateVirtualNodeCommand.js +2 -3
  40. package/{dist/cjs → dist-cjs}/commands/UpdateVirtualRouterCommand.js +2 -3
  41. package/{dist/cjs → dist-cjs}/commands/UpdateVirtualServiceCommand.js +2 -3
  42. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  43. package/{dist/cjs → dist-cjs}/index.js +0 -1
  44. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  45. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
  46. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  47. package/{dist/cjs → dist-cjs}/pagination/ListGatewayRoutesPaginator.js +0 -1
  48. package/{dist/cjs → dist-cjs}/pagination/ListMeshesPaginator.js +0 -1
  49. package/{dist/cjs → dist-cjs}/pagination/ListRoutesPaginator.js +0 -1
  50. package/{dist/cjs → dist-cjs}/pagination/ListTagsForResourcePaginator.js +0 -1
  51. package/{dist/cjs → dist-cjs}/pagination/ListVirtualGatewaysPaginator.js +0 -1
  52. package/{dist/cjs → dist-cjs}/pagination/ListVirtualNodesPaginator.js +0 -1
  53. package/{dist/cjs → dist-cjs}/pagination/ListVirtualRoutersPaginator.js +0 -1
  54. package/{dist/cjs → dist-cjs}/pagination/ListVirtualServicesPaginator.js +0 -1
  55. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +6 -7
  56. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  57. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  58. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  59. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  60. package/{dist/es → dist-es}/AppMesh.js +1 -17
  61. package/{dist/es → dist-es}/AppMeshClient.js +2 -23
  62. package/{dist/es → dist-es}/commands/CreateGatewayRouteCommand.js +4 -34
  63. package/{dist/es → dist-es}/commands/CreateMeshCommand.js +4 -35
  64. package/{dist/es → dist-es}/commands/CreateRouteCommand.js +4 -33
  65. package/{dist/es → dist-es}/commands/CreateVirtualGatewayCommand.js +4 -36
  66. package/dist-es/commands/CreateVirtualNodeCommand.js +39 -0
  67. package/{dist/es → dist-es}/commands/CreateVirtualRouterCommand.js +4 -36
  68. package/{dist/es → dist-es}/commands/CreateVirtualServiceCommand.js +4 -36
  69. package/{dist/es → dist-es}/commands/DeleteGatewayRouteCommand.js +4 -30
  70. package/{dist/es → dist-es}/commands/DeleteMeshCommand.js +4 -32
  71. package/{dist/es → dist-es}/commands/DeleteRouteCommand.js +4 -30
  72. package/{dist/es → dist-es}/commands/DeleteVirtualGatewayCommand.js +4 -31
  73. package/{dist/es → dist-es}/commands/DeleteVirtualNodeCommand.js +4 -32
  74. package/{dist/es → dist-es}/commands/DeleteVirtualRouterCommand.js +4 -32
  75. package/{dist/es → dist-es}/commands/DeleteVirtualServiceCommand.js +4 -30
  76. package/{dist/es → dist-es}/commands/DescribeGatewayRouteCommand.js +4 -30
  77. package/{dist/es → dist-es}/commands/DescribeMeshCommand.js +4 -30
  78. package/{dist/es → dist-es}/commands/DescribeRouteCommand.js +4 -30
  79. package/{dist/es → dist-es}/commands/DescribeVirtualGatewayCommand.js +4 -30
  80. package/{dist/es → dist-es}/commands/DescribeVirtualNodeCommand.js +4 -30
  81. package/{dist/es → dist-es}/commands/DescribeVirtualRouterCommand.js +4 -30
  82. package/{dist/es → dist-es}/commands/DescribeVirtualServiceCommand.js +4 -30
  83. package/{dist/es → dist-es}/commands/ListGatewayRoutesCommand.js +4 -31
  84. package/{dist/es → dist-es}/commands/ListMeshesCommand.js +4 -30
  85. package/{dist/es → dist-es}/commands/ListRoutesCommand.js +4 -30
  86. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
  87. package/{dist/es → dist-es}/commands/ListVirtualGatewaysCommand.js +4 -30
  88. package/{dist/es → dist-es}/commands/ListVirtualNodesCommand.js +4 -30
  89. package/{dist/es → dist-es}/commands/ListVirtualRoutersCommand.js +4 -30
  90. package/{dist/es → dist-es}/commands/ListVirtualServicesCommand.js +4 -30
  91. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -33
  92. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
  93. package/{dist/es → dist-es}/commands/UpdateGatewayRouteCommand.js +4 -31
  94. package/{dist/es → dist-es}/commands/UpdateMeshCommand.js +4 -30
  95. package/{dist/es → dist-es}/commands/UpdateRouteCommand.js +4 -30
  96. package/{dist/es → dist-es}/commands/UpdateVirtualGatewayCommand.js +4 -30
  97. package/{dist/es → dist-es}/commands/UpdateVirtualNodeCommand.js +4 -30
  98. package/{dist/es → dist-es}/commands/UpdateVirtualRouterCommand.js +4 -30
  99. package/{dist/es → dist-es}/commands/UpdateVirtualServiceCommand.js +4 -30
  100. package/{dist/es → dist-es}/endpoints.js +1 -2
  101. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  102. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  103. package/{dist/es → dist-es}/models/models_0.js +0 -673
  104. package/dist-es/pagination/Interfaces.js +1 -0
  105. package/{dist/es → dist-es}/pagination/ListGatewayRoutesPaginator.js +16 -29
  106. package/{dist/es → dist-es}/pagination/ListMeshesPaginator.js +16 -29
  107. package/{dist/es → dist-es}/pagination/ListRoutesPaginator.js +16 -29
  108. package/{dist/es → dist-es}/pagination/ListTagsForResourcePaginator.js +16 -29
  109. package/{dist/es → dist-es}/pagination/ListVirtualGatewaysPaginator.js +16 -29
  110. package/{dist/es → dist-es}/pagination/ListVirtualNodesPaginator.js +16 -29
  111. package/{dist/es → dist-es}/pagination/ListVirtualRoutersPaginator.js +16 -29
  112. package/{dist/es → dist-es}/pagination/ListVirtualServicesPaginator.js +16 -29
  113. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +1405 -1411
  114. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  115. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  116. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  117. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  118. package/{dist/types → dist-types}/AppMesh.d.ts +1 -1
  119. package/{dist/types → dist-types}/AppMeshClient.d.ts +8 -8
  120. package/{dist/types → dist-types}/commands/CreateGatewayRouteCommand.d.ts +2 -2
  121. package/{dist/types → dist-types}/commands/CreateMeshCommand.d.ts +2 -2
  122. package/{dist/types → dist-types}/commands/CreateRouteCommand.d.ts +2 -2
  123. package/{dist/types → dist-types}/commands/CreateVirtualGatewayCommand.d.ts +2 -2
  124. package/{dist/types → dist-types}/commands/CreateVirtualNodeCommand.d.ts +2 -2
  125. package/{dist/types → dist-types}/commands/CreateVirtualRouterCommand.d.ts +2 -2
  126. package/{dist/types → dist-types}/commands/CreateVirtualServiceCommand.d.ts +2 -2
  127. package/{dist/types → dist-types}/commands/DeleteGatewayRouteCommand.d.ts +2 -2
  128. package/{dist/types → dist-types}/commands/DeleteMeshCommand.d.ts +2 -2
  129. package/{dist/types → dist-types}/commands/DeleteRouteCommand.d.ts +2 -2
  130. package/{dist/types → dist-types}/commands/DeleteVirtualGatewayCommand.d.ts +2 -2
  131. package/{dist/types → dist-types}/commands/DeleteVirtualNodeCommand.d.ts +2 -2
  132. package/{dist/types → dist-types}/commands/DeleteVirtualRouterCommand.d.ts +2 -2
  133. package/{dist/types → dist-types}/commands/DeleteVirtualServiceCommand.d.ts +2 -2
  134. package/{dist/types → dist-types}/commands/DescribeGatewayRouteCommand.d.ts +2 -2
  135. package/{dist/types → dist-types}/commands/DescribeMeshCommand.d.ts +2 -2
  136. package/{dist/types → dist-types}/commands/DescribeRouteCommand.d.ts +2 -2
  137. package/{dist/types → dist-types}/commands/DescribeVirtualGatewayCommand.d.ts +2 -2
  138. package/{dist/types → dist-types}/commands/DescribeVirtualNodeCommand.d.ts +2 -2
  139. package/{dist/types → dist-types}/commands/DescribeVirtualRouterCommand.d.ts +2 -2
  140. package/{dist/types → dist-types}/commands/DescribeVirtualServiceCommand.d.ts +2 -2
  141. package/{dist/types → dist-types}/commands/ListGatewayRoutesCommand.d.ts +2 -2
  142. package/{dist/types → dist-types}/commands/ListMeshesCommand.d.ts +2 -2
  143. package/{dist/types → dist-types}/commands/ListRoutesCommand.d.ts +2 -2
  144. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  145. package/{dist/types → dist-types}/commands/ListVirtualGatewaysCommand.d.ts +2 -2
  146. package/{dist/types → dist-types}/commands/ListVirtualNodesCommand.d.ts +2 -2
  147. package/{dist/types → dist-types}/commands/ListVirtualRoutersCommand.d.ts +2 -2
  148. package/{dist/types → dist-types}/commands/ListVirtualServicesCommand.d.ts +2 -2
  149. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  150. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  151. package/{dist/types → dist-types}/commands/UpdateGatewayRouteCommand.d.ts +2 -2
  152. package/{dist/types → dist-types}/commands/UpdateMeshCommand.d.ts +2 -2
  153. package/{dist/types → dist-types}/commands/UpdateRouteCommand.d.ts +2 -2
  154. package/{dist/types → dist-types}/commands/UpdateVirtualGatewayCommand.d.ts +2 -2
  155. package/{dist/types → dist-types}/commands/UpdateVirtualNodeCommand.d.ts +2 -2
  156. package/{dist/types → dist-types}/commands/UpdateVirtualRouterCommand.d.ts +2 -2
  157. package/{dist/types → dist-types}/commands/UpdateVirtualServiceCommand.d.ts +2 -2
  158. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  159. package/{index.ts → dist-types/index.d.ts} +0 -0
  160. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  161. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  162. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  163. package/{dist/types → dist-types}/pagination/ListGatewayRoutesPaginator.d.ts +1 -1
  164. package/{dist/types → dist-types}/pagination/ListMeshesPaginator.d.ts +1 -1
  165. package/{dist/types → dist-types}/pagination/ListRoutesPaginator.d.ts +1 -1
  166. package/{dist/types → dist-types}/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  167. package/{dist/types → dist-types}/pagination/ListVirtualGatewaysPaginator.d.ts +1 -1
  168. package/{dist/types → dist-types}/pagination/ListVirtualNodesPaginator.d.ts +1 -1
  169. package/{dist/types → dist-types}/pagination/ListVirtualRoutersPaginator.d.ts +1 -1
  170. package/{dist/types → dist-types}/pagination/ListVirtualServicesPaginator.d.ts +1 -1
  171. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  172. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
  173. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  174. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
  175. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  176. package/{dist/types → dist-types}/ts3.4/AppMesh.d.ts +1 -1
  177. package/{dist/types → dist-types}/ts3.4/AppMeshClient.d.ts +8 -8
  178. package/{dist/types → dist-types}/ts3.4/commands/CreateGatewayRouteCommand.d.ts +2 -2
  179. package/{dist/types → dist-types}/ts3.4/commands/CreateMeshCommand.d.ts +2 -2
  180. package/{dist/types → dist-types}/ts3.4/commands/CreateRouteCommand.d.ts +2 -2
  181. package/{dist/types → dist-types}/ts3.4/commands/CreateVirtualGatewayCommand.d.ts +2 -2
  182. package/{dist/types → dist-types}/ts3.4/commands/CreateVirtualNodeCommand.d.ts +2 -2
  183. package/{dist/types → dist-types}/ts3.4/commands/CreateVirtualRouterCommand.d.ts +2 -2
  184. package/{dist/types → dist-types}/ts3.4/commands/CreateVirtualServiceCommand.d.ts +2 -2
  185. package/{dist/types → dist-types}/ts3.4/commands/DeleteGatewayRouteCommand.d.ts +2 -2
  186. package/{dist/types → dist-types}/ts3.4/commands/DeleteMeshCommand.d.ts +2 -2
  187. package/{dist/types → dist-types}/ts3.4/commands/DeleteRouteCommand.d.ts +2 -2
  188. package/{dist/types → dist-types}/ts3.4/commands/DeleteVirtualGatewayCommand.d.ts +2 -2
  189. package/{dist/types → dist-types}/ts3.4/commands/DeleteVirtualNodeCommand.d.ts +2 -2
  190. package/{dist/types → dist-types}/ts3.4/commands/DeleteVirtualRouterCommand.d.ts +2 -2
  191. package/{dist/types → dist-types}/ts3.4/commands/DeleteVirtualServiceCommand.d.ts +2 -2
  192. package/{dist/types → dist-types}/ts3.4/commands/DescribeGatewayRouteCommand.d.ts +2 -2
  193. package/{dist/types → dist-types}/ts3.4/commands/DescribeMeshCommand.d.ts +2 -2
  194. package/{dist/types → dist-types}/ts3.4/commands/DescribeRouteCommand.d.ts +2 -2
  195. package/{dist/types → dist-types}/ts3.4/commands/DescribeVirtualGatewayCommand.d.ts +2 -2
  196. package/{dist/types → dist-types}/ts3.4/commands/DescribeVirtualNodeCommand.d.ts +2 -2
  197. package/{dist/types → dist-types}/ts3.4/commands/DescribeVirtualRouterCommand.d.ts +2 -2
  198. package/{dist/types → dist-types}/ts3.4/commands/DescribeVirtualServiceCommand.d.ts +2 -2
  199. package/{dist/types → dist-types}/ts3.4/commands/ListGatewayRoutesCommand.d.ts +2 -2
  200. package/{dist/types → dist-types}/ts3.4/commands/ListMeshesCommand.d.ts +2 -2
  201. package/{dist/types → dist-types}/ts3.4/commands/ListRoutesCommand.d.ts +2 -2
  202. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
  203. package/{dist/types → dist-types}/ts3.4/commands/ListVirtualGatewaysCommand.d.ts +2 -2
  204. package/{dist/types → dist-types}/ts3.4/commands/ListVirtualNodesCommand.d.ts +2 -2
  205. package/{dist/types → dist-types}/ts3.4/commands/ListVirtualRoutersCommand.d.ts +2 -2
  206. package/{dist/types → dist-types}/ts3.4/commands/ListVirtualServicesCommand.d.ts +2 -2
  207. package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
  208. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
  209. package/{dist/types → dist-types}/ts3.4/commands/UpdateGatewayRouteCommand.d.ts +2 -2
  210. package/{dist/types → dist-types}/ts3.4/commands/UpdateMeshCommand.d.ts +2 -2
  211. package/{dist/types → dist-types}/ts3.4/commands/UpdateRouteCommand.d.ts +2 -2
  212. package/{dist/types → dist-types}/ts3.4/commands/UpdateVirtualGatewayCommand.d.ts +2 -2
  213. package/{dist/types → dist-types}/ts3.4/commands/UpdateVirtualNodeCommand.d.ts +2 -2
  214. package/{dist/types → dist-types}/ts3.4/commands/UpdateVirtualRouterCommand.d.ts +2 -2
  215. package/{dist/types → dist-types}/ts3.4/commands/UpdateVirtualServiceCommand.d.ts +2 -2
  216. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  217. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  218. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  219. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  220. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  221. package/{dist/types → dist-types}/ts3.4/pagination/ListGatewayRoutesPaginator.d.ts +1 -1
  222. package/{dist/types → dist-types}/ts3.4/pagination/ListMeshesPaginator.d.ts +1 -1
  223. package/{dist/types → dist-types}/ts3.4/pagination/ListRoutesPaginator.d.ts +1 -1
  224. package/{dist/types → dist-types}/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  225. package/{dist/types → dist-types}/ts3.4/pagination/ListVirtualGatewaysPaginator.d.ts +1 -1
  226. package/{dist/types → dist-types}/ts3.4/pagination/ListVirtualNodesPaginator.d.ts +1 -1
  227. package/{dist/types → dist-types}/ts3.4/pagination/ListVirtualRoutersPaginator.d.ts +1 -1
  228. package/{dist/types → dist-types}/ts3.4/pagination/ListVirtualServicesPaginator.d.ts +1 -1
  229. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  230. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
  231. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  232. package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
  233. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  234. package/package.json +52 -49
  235. package/AppMesh.ts +0 -1396
  236. package/AppMeshClient.ts +0 -412
  237. package/commands/CreateGatewayRouteCommand.ts +0 -98
  238. package/commands/CreateMeshCommand.ts +0 -99
  239. package/commands/CreateRouteCommand.ts +0 -97
  240. package/commands/CreateVirtualGatewayCommand.ts +0 -100
  241. package/commands/CreateVirtualNodeCommand.ts +0 -116
  242. package/commands/CreateVirtualRouterCommand.ts +0 -100
  243. package/commands/CreateVirtualServiceCommand.ts +0 -100
  244. package/commands/DeleteGatewayRouteCommand.ts +0 -94
  245. package/commands/DeleteMeshCommand.ts +0 -96
  246. package/commands/DeleteRouteCommand.ts +0 -94
  247. package/commands/DeleteVirtualGatewayCommand.ts +0 -95
  248. package/commands/DeleteVirtualNodeCommand.ts +0 -96
  249. package/commands/DeleteVirtualRouterCommand.ts +0 -96
  250. package/commands/DeleteVirtualServiceCommand.ts +0 -94
  251. package/commands/DescribeGatewayRouteCommand.ts +0 -94
  252. package/commands/DescribeMeshCommand.ts +0 -94
  253. package/commands/DescribeRouteCommand.ts +0 -94
  254. package/commands/DescribeVirtualGatewayCommand.ts +0 -94
  255. package/commands/DescribeVirtualNodeCommand.ts +0 -94
  256. package/commands/DescribeVirtualRouterCommand.ts +0 -94
  257. package/commands/DescribeVirtualServiceCommand.ts +0 -94
  258. package/commands/ListGatewayRoutesCommand.ts +0 -95
  259. package/commands/ListMeshesCommand.ts +0 -94
  260. package/commands/ListRoutesCommand.ts +0 -94
  261. package/commands/ListTagsForResourceCommand.ts +0 -94
  262. package/commands/ListVirtualGatewaysCommand.ts +0 -94
  263. package/commands/ListVirtualNodesCommand.ts +0 -94
  264. package/commands/ListVirtualRoutersCommand.ts +0 -94
  265. package/commands/ListVirtualServicesCommand.ts +0 -94
  266. package/commands/TagResourceCommand.ts +0 -97
  267. package/commands/UntagResourceCommand.ts +0 -94
  268. package/commands/UpdateGatewayRouteCommand.ts +0 -95
  269. package/commands/UpdateMeshCommand.ts +0 -94
  270. package/commands/UpdateRouteCommand.ts +0 -94
  271. package/commands/UpdateVirtualGatewayCommand.ts +0 -94
  272. package/commands/UpdateVirtualNodeCommand.ts +0 -94
  273. package/commands/UpdateVirtualRouterCommand.ts +0 -94
  274. package/commands/UpdateVirtualServiceCommand.ts +0 -94
  275. package/dist/cjs/AppMesh.js.map +0 -1
  276. package/dist/cjs/AppMeshClient.js.map +0 -1
  277. package/dist/cjs/commands/CreateGatewayRouteCommand.js.map +0 -1
  278. package/dist/cjs/commands/CreateMeshCommand.js.map +0 -1
  279. package/dist/cjs/commands/CreateRouteCommand.js.map +0 -1
  280. package/dist/cjs/commands/CreateVirtualGatewayCommand.js.map +0 -1
  281. package/dist/cjs/commands/CreateVirtualNodeCommand.js.map +0 -1
  282. package/dist/cjs/commands/CreateVirtualRouterCommand.js.map +0 -1
  283. package/dist/cjs/commands/CreateVirtualServiceCommand.js.map +0 -1
  284. package/dist/cjs/commands/DeleteGatewayRouteCommand.js.map +0 -1
  285. package/dist/cjs/commands/DeleteMeshCommand.js.map +0 -1
  286. package/dist/cjs/commands/DeleteRouteCommand.js.map +0 -1
  287. package/dist/cjs/commands/DeleteVirtualGatewayCommand.js.map +0 -1
  288. package/dist/cjs/commands/DeleteVirtualNodeCommand.js.map +0 -1
  289. package/dist/cjs/commands/DeleteVirtualRouterCommand.js.map +0 -1
  290. package/dist/cjs/commands/DeleteVirtualServiceCommand.js.map +0 -1
  291. package/dist/cjs/commands/DescribeGatewayRouteCommand.js.map +0 -1
  292. package/dist/cjs/commands/DescribeMeshCommand.js.map +0 -1
  293. package/dist/cjs/commands/DescribeRouteCommand.js.map +0 -1
  294. package/dist/cjs/commands/DescribeVirtualGatewayCommand.js.map +0 -1
  295. package/dist/cjs/commands/DescribeVirtualNodeCommand.js.map +0 -1
  296. package/dist/cjs/commands/DescribeVirtualRouterCommand.js.map +0 -1
  297. package/dist/cjs/commands/DescribeVirtualServiceCommand.js.map +0 -1
  298. package/dist/cjs/commands/ListGatewayRoutesCommand.js.map +0 -1
  299. package/dist/cjs/commands/ListMeshesCommand.js.map +0 -1
  300. package/dist/cjs/commands/ListRoutesCommand.js.map +0 -1
  301. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  302. package/dist/cjs/commands/ListVirtualGatewaysCommand.js.map +0 -1
  303. package/dist/cjs/commands/ListVirtualNodesCommand.js.map +0 -1
  304. package/dist/cjs/commands/ListVirtualRoutersCommand.js.map +0 -1
  305. package/dist/cjs/commands/ListVirtualServicesCommand.js.map +0 -1
  306. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  307. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  308. package/dist/cjs/commands/UpdateGatewayRouteCommand.js.map +0 -1
  309. package/dist/cjs/commands/UpdateMeshCommand.js.map +0 -1
  310. package/dist/cjs/commands/UpdateRouteCommand.js.map +0 -1
  311. package/dist/cjs/commands/UpdateVirtualGatewayCommand.js.map +0 -1
  312. package/dist/cjs/commands/UpdateVirtualNodeCommand.js.map +0 -1
  313. package/dist/cjs/commands/UpdateVirtualRouterCommand.js.map +0 -1
  314. package/dist/cjs/commands/UpdateVirtualServiceCommand.js.map +0 -1
  315. package/dist/cjs/endpoints.js.map +0 -1
  316. package/dist/cjs/index.js.map +0 -1
  317. package/dist/cjs/models/index.js.map +0 -1
  318. package/dist/cjs/models/models_0.js.map +0 -1
  319. package/dist/cjs/package.json +0 -93
  320. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  321. package/dist/cjs/pagination/ListGatewayRoutesPaginator.js.map +0 -1
  322. package/dist/cjs/pagination/ListMeshesPaginator.js.map +0 -1
  323. package/dist/cjs/pagination/ListRoutesPaginator.js.map +0 -1
  324. package/dist/cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
  325. package/dist/cjs/pagination/ListVirtualGatewaysPaginator.js.map +0 -1
  326. package/dist/cjs/pagination/ListVirtualNodesPaginator.js.map +0 -1
  327. package/dist/cjs/pagination/ListVirtualRoutersPaginator.js.map +0 -1
  328. package/dist/cjs/pagination/ListVirtualServicesPaginator.js.map +0 -1
  329. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  330. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  331. package/dist/cjs/runtimeConfig.js.map +0 -1
  332. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  333. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  334. package/dist/es/AppMesh.js.map +0 -1
  335. package/dist/es/AppMeshClient.js.map +0 -1
  336. package/dist/es/commands/CreateGatewayRouteCommand.js.map +0 -1
  337. package/dist/es/commands/CreateMeshCommand.js.map +0 -1
  338. package/dist/es/commands/CreateRouteCommand.js.map +0 -1
  339. package/dist/es/commands/CreateVirtualGatewayCommand.js.map +0 -1
  340. package/dist/es/commands/CreateVirtualNodeCommand.js +0 -87
  341. package/dist/es/commands/CreateVirtualNodeCommand.js.map +0 -1
  342. package/dist/es/commands/CreateVirtualRouterCommand.js.map +0 -1
  343. package/dist/es/commands/CreateVirtualServiceCommand.js.map +0 -1
  344. package/dist/es/commands/DeleteGatewayRouteCommand.js.map +0 -1
  345. package/dist/es/commands/DeleteMeshCommand.js.map +0 -1
  346. package/dist/es/commands/DeleteRouteCommand.js.map +0 -1
  347. package/dist/es/commands/DeleteVirtualGatewayCommand.js.map +0 -1
  348. package/dist/es/commands/DeleteVirtualNodeCommand.js.map +0 -1
  349. package/dist/es/commands/DeleteVirtualRouterCommand.js.map +0 -1
  350. package/dist/es/commands/DeleteVirtualServiceCommand.js.map +0 -1
  351. package/dist/es/commands/DescribeGatewayRouteCommand.js.map +0 -1
  352. package/dist/es/commands/DescribeMeshCommand.js.map +0 -1
  353. package/dist/es/commands/DescribeRouteCommand.js.map +0 -1
  354. package/dist/es/commands/DescribeVirtualGatewayCommand.js.map +0 -1
  355. package/dist/es/commands/DescribeVirtualNodeCommand.js.map +0 -1
  356. package/dist/es/commands/DescribeVirtualRouterCommand.js.map +0 -1
  357. package/dist/es/commands/DescribeVirtualServiceCommand.js.map +0 -1
  358. package/dist/es/commands/ListGatewayRoutesCommand.js.map +0 -1
  359. package/dist/es/commands/ListMeshesCommand.js.map +0 -1
  360. package/dist/es/commands/ListRoutesCommand.js.map +0 -1
  361. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  362. package/dist/es/commands/ListVirtualGatewaysCommand.js.map +0 -1
  363. package/dist/es/commands/ListVirtualNodesCommand.js.map +0 -1
  364. package/dist/es/commands/ListVirtualRoutersCommand.js.map +0 -1
  365. package/dist/es/commands/ListVirtualServicesCommand.js.map +0 -1
  366. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  367. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  368. package/dist/es/commands/UpdateGatewayRouteCommand.js.map +0 -1
  369. package/dist/es/commands/UpdateMeshCommand.js.map +0 -1
  370. package/dist/es/commands/UpdateRouteCommand.js.map +0 -1
  371. package/dist/es/commands/UpdateVirtualGatewayCommand.js.map +0 -1
  372. package/dist/es/commands/UpdateVirtualNodeCommand.js.map +0 -1
  373. package/dist/es/commands/UpdateVirtualRouterCommand.js.map +0 -1
  374. package/dist/es/commands/UpdateVirtualServiceCommand.js.map +0 -1
  375. package/dist/es/endpoints.js.map +0 -1
  376. package/dist/es/index.js +0 -51
  377. package/dist/es/index.js.map +0 -1
  378. package/dist/es/models/index.js +0 -2
  379. package/dist/es/models/index.js.map +0 -1
  380. package/dist/es/models/models_0.js.map +0 -1
  381. package/dist/es/package.json +0 -93
  382. package/dist/es/pagination/Interfaces.js +0 -2
  383. package/dist/es/pagination/Interfaces.js.map +0 -1
  384. package/dist/es/pagination/ListGatewayRoutesPaginator.js.map +0 -1
  385. package/dist/es/pagination/ListMeshesPaginator.js.map +0 -1
  386. package/dist/es/pagination/ListRoutesPaginator.js.map +0 -1
  387. package/dist/es/pagination/ListTagsForResourcePaginator.js.map +0 -1
  388. package/dist/es/pagination/ListVirtualGatewaysPaginator.js.map +0 -1
  389. package/dist/es/pagination/ListVirtualNodesPaginator.js.map +0 -1
  390. package/dist/es/pagination/ListVirtualRoutersPaginator.js.map +0 -1
  391. package/dist/es/pagination/ListVirtualServicesPaginator.js.map +0 -1
  392. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  393. package/dist/es/runtimeConfig.browser.js.map +0 -1
  394. package/dist/es/runtimeConfig.js.map +0 -1
  395. package/dist/es/runtimeConfig.native.js.map +0 -1
  396. package/dist/es/runtimeConfig.shared.js.map +0 -1
  397. package/endpoints.ts +0 -57
  398. package/jest.config.js +0 -4
  399. package/models/models_0.ts +0 -7391
  400. package/pagination/Interfaces.ts +0 -7
  401. package/pagination/ListGatewayRoutesPaginator.ts +0 -58
  402. package/pagination/ListMeshesPaginator.ts +0 -54
  403. package/pagination/ListRoutesPaginator.ts +0 -54
  404. package/pagination/ListTagsForResourcePaginator.ts +0 -58
  405. package/pagination/ListVirtualGatewaysPaginator.ts +0 -58
  406. package/pagination/ListVirtualNodesPaginator.ts +0 -58
  407. package/pagination/ListVirtualRoutersPaginator.ts +0 -58
  408. package/pagination/ListVirtualServicesPaginator.ts +0 -58
  409. package/protocols/Aws_restJson1.ts +0 -9671
  410. package/runtimeConfig.browser.ts +0 -40
  411. package/runtimeConfig.native.ts +0 -16
  412. package/runtimeConfig.shared.ts +0 -16
  413. package/runtimeConfig.ts +0 -45
  414. package/tsconfig.es.json +0 -12
  415. package/tsconfig.json +0 -32
package/AppMesh.ts DELETED
@@ -1,1396 +0,0 @@
1
- import { AppMeshClient } from "./AppMeshClient";
2
- import {
3
- CreateGatewayRouteCommand,
4
- CreateGatewayRouteCommandInput,
5
- CreateGatewayRouteCommandOutput,
6
- } from "./commands/CreateGatewayRouteCommand";
7
- import { CreateMeshCommand, CreateMeshCommandInput, CreateMeshCommandOutput } from "./commands/CreateMeshCommand";
8
- import { CreateRouteCommand, CreateRouteCommandInput, CreateRouteCommandOutput } from "./commands/CreateRouteCommand";
9
- import {
10
- CreateVirtualGatewayCommand,
11
- CreateVirtualGatewayCommandInput,
12
- CreateVirtualGatewayCommandOutput,
13
- } from "./commands/CreateVirtualGatewayCommand";
14
- import {
15
- CreateVirtualNodeCommand,
16
- CreateVirtualNodeCommandInput,
17
- CreateVirtualNodeCommandOutput,
18
- } from "./commands/CreateVirtualNodeCommand";
19
- import {
20
- CreateVirtualRouterCommand,
21
- CreateVirtualRouterCommandInput,
22
- CreateVirtualRouterCommandOutput,
23
- } from "./commands/CreateVirtualRouterCommand";
24
- import {
25
- CreateVirtualServiceCommand,
26
- CreateVirtualServiceCommandInput,
27
- CreateVirtualServiceCommandOutput,
28
- } from "./commands/CreateVirtualServiceCommand";
29
- import {
30
- DeleteGatewayRouteCommand,
31
- DeleteGatewayRouteCommandInput,
32
- DeleteGatewayRouteCommandOutput,
33
- } from "./commands/DeleteGatewayRouteCommand";
34
- import { DeleteMeshCommand, DeleteMeshCommandInput, DeleteMeshCommandOutput } from "./commands/DeleteMeshCommand";
35
- import { DeleteRouteCommand, DeleteRouteCommandInput, DeleteRouteCommandOutput } from "./commands/DeleteRouteCommand";
36
- import {
37
- DeleteVirtualGatewayCommand,
38
- DeleteVirtualGatewayCommandInput,
39
- DeleteVirtualGatewayCommandOutput,
40
- } from "./commands/DeleteVirtualGatewayCommand";
41
- import {
42
- DeleteVirtualNodeCommand,
43
- DeleteVirtualNodeCommandInput,
44
- DeleteVirtualNodeCommandOutput,
45
- } from "./commands/DeleteVirtualNodeCommand";
46
- import {
47
- DeleteVirtualRouterCommand,
48
- DeleteVirtualRouterCommandInput,
49
- DeleteVirtualRouterCommandOutput,
50
- } from "./commands/DeleteVirtualRouterCommand";
51
- import {
52
- DeleteVirtualServiceCommand,
53
- DeleteVirtualServiceCommandInput,
54
- DeleteVirtualServiceCommandOutput,
55
- } from "./commands/DeleteVirtualServiceCommand";
56
- import {
57
- DescribeGatewayRouteCommand,
58
- DescribeGatewayRouteCommandInput,
59
- DescribeGatewayRouteCommandOutput,
60
- } from "./commands/DescribeGatewayRouteCommand";
61
- import {
62
- DescribeMeshCommand,
63
- DescribeMeshCommandInput,
64
- DescribeMeshCommandOutput,
65
- } from "./commands/DescribeMeshCommand";
66
- import {
67
- DescribeRouteCommand,
68
- DescribeRouteCommandInput,
69
- DescribeRouteCommandOutput,
70
- } from "./commands/DescribeRouteCommand";
71
- import {
72
- DescribeVirtualGatewayCommand,
73
- DescribeVirtualGatewayCommandInput,
74
- DescribeVirtualGatewayCommandOutput,
75
- } from "./commands/DescribeVirtualGatewayCommand";
76
- import {
77
- DescribeVirtualNodeCommand,
78
- DescribeVirtualNodeCommandInput,
79
- DescribeVirtualNodeCommandOutput,
80
- } from "./commands/DescribeVirtualNodeCommand";
81
- import {
82
- DescribeVirtualRouterCommand,
83
- DescribeVirtualRouterCommandInput,
84
- DescribeVirtualRouterCommandOutput,
85
- } from "./commands/DescribeVirtualRouterCommand";
86
- import {
87
- DescribeVirtualServiceCommand,
88
- DescribeVirtualServiceCommandInput,
89
- DescribeVirtualServiceCommandOutput,
90
- } from "./commands/DescribeVirtualServiceCommand";
91
- import {
92
- ListGatewayRoutesCommand,
93
- ListGatewayRoutesCommandInput,
94
- ListGatewayRoutesCommandOutput,
95
- } from "./commands/ListGatewayRoutesCommand";
96
- import { ListMeshesCommand, ListMeshesCommandInput, ListMeshesCommandOutput } from "./commands/ListMeshesCommand";
97
- import { ListRoutesCommand, ListRoutesCommandInput, ListRoutesCommandOutput } from "./commands/ListRoutesCommand";
98
- import {
99
- ListTagsForResourceCommand,
100
- ListTagsForResourceCommandInput,
101
- ListTagsForResourceCommandOutput,
102
- } from "./commands/ListTagsForResourceCommand";
103
- import {
104
- ListVirtualGatewaysCommand,
105
- ListVirtualGatewaysCommandInput,
106
- ListVirtualGatewaysCommandOutput,
107
- } from "./commands/ListVirtualGatewaysCommand";
108
- import {
109
- ListVirtualNodesCommand,
110
- ListVirtualNodesCommandInput,
111
- ListVirtualNodesCommandOutput,
112
- } from "./commands/ListVirtualNodesCommand";
113
- import {
114
- ListVirtualRoutersCommand,
115
- ListVirtualRoutersCommandInput,
116
- ListVirtualRoutersCommandOutput,
117
- } from "./commands/ListVirtualRoutersCommand";
118
- import {
119
- ListVirtualServicesCommand,
120
- ListVirtualServicesCommandInput,
121
- ListVirtualServicesCommandOutput,
122
- } from "./commands/ListVirtualServicesCommand";
123
- import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
124
- import {
125
- UntagResourceCommand,
126
- UntagResourceCommandInput,
127
- UntagResourceCommandOutput,
128
- } from "./commands/UntagResourceCommand";
129
- import {
130
- UpdateGatewayRouteCommand,
131
- UpdateGatewayRouteCommandInput,
132
- UpdateGatewayRouteCommandOutput,
133
- } from "./commands/UpdateGatewayRouteCommand";
134
- import { UpdateMeshCommand, UpdateMeshCommandInput, UpdateMeshCommandOutput } from "./commands/UpdateMeshCommand";
135
- import { UpdateRouteCommand, UpdateRouteCommandInput, UpdateRouteCommandOutput } from "./commands/UpdateRouteCommand";
136
- import {
137
- UpdateVirtualGatewayCommand,
138
- UpdateVirtualGatewayCommandInput,
139
- UpdateVirtualGatewayCommandOutput,
140
- } from "./commands/UpdateVirtualGatewayCommand";
141
- import {
142
- UpdateVirtualNodeCommand,
143
- UpdateVirtualNodeCommandInput,
144
- UpdateVirtualNodeCommandOutput,
145
- } from "./commands/UpdateVirtualNodeCommand";
146
- import {
147
- UpdateVirtualRouterCommand,
148
- UpdateVirtualRouterCommandInput,
149
- UpdateVirtualRouterCommandOutput,
150
- } from "./commands/UpdateVirtualRouterCommand";
151
- import {
152
- UpdateVirtualServiceCommand,
153
- UpdateVirtualServiceCommandInput,
154
- UpdateVirtualServiceCommandOutput,
155
- } from "./commands/UpdateVirtualServiceCommand";
156
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
157
-
158
- /**
159
- * <p>App Mesh is a service mesh based on the Envoy proxy that makes it easy to monitor and
160
- * control microservices. App Mesh standardizes how your microservices communicate, giving you
161
- * end-to-end visibility and helping to ensure high availability for your applications.</p>
162
- * <p>App Mesh gives you consistent visibility and network traffic controls for every
163
- * microservice in an application. You can use App Mesh with Amazon Web Services Fargate, Amazon ECS, Amazon EKS,
164
- * Kubernetes on Amazon Web Services, and Amazon EC2.</p>
165
- * <note>
166
- * <p>App Mesh supports microservice applications that use service discovery naming for their
167
- * components. For more information about service discovery on Amazon ECS, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html">Service Discovery</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. Kubernetes
168
- * <code>kube-dns</code> and <code>coredns</code> are supported. For more information,
169
- * see <a href="https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/">DNS
170
- * for Services and Pods</a> in the Kubernetes documentation.</p>
171
- * </note>
172
- */
173
- export class AppMesh extends AppMeshClient {
174
- /**
175
- * <p>Creates a gateway route.</p>
176
- * <p>A gateway route is attached to a virtual gateway and routes traffic to an existing
177
- * virtual service. If a route matches a request, it can distribute traffic to a target
178
- * virtual service.</p>
179
- * <p>For more information about gateway routes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/gateway-routes.html">Gateway routes</a>.</p>
180
- */
181
- public createGatewayRoute(
182
- args: CreateGatewayRouteCommandInput,
183
- options?: __HttpHandlerOptions
184
- ): Promise<CreateGatewayRouteCommandOutput>;
185
- public createGatewayRoute(
186
- args: CreateGatewayRouteCommandInput,
187
- cb: (err: any, data?: CreateGatewayRouteCommandOutput) => void
188
- ): void;
189
- public createGatewayRoute(
190
- args: CreateGatewayRouteCommandInput,
191
- options: __HttpHandlerOptions,
192
- cb: (err: any, data?: CreateGatewayRouteCommandOutput) => void
193
- ): void;
194
- public createGatewayRoute(
195
- args: CreateGatewayRouteCommandInput,
196
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateGatewayRouteCommandOutput) => void),
197
- cb?: (err: any, data?: CreateGatewayRouteCommandOutput) => void
198
- ): Promise<CreateGatewayRouteCommandOutput> | void {
199
- const command = new CreateGatewayRouteCommand(args);
200
- if (typeof optionsOrCb === "function") {
201
- this.send(command, optionsOrCb);
202
- } else if (typeof cb === "function") {
203
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
204
- this.send(command, optionsOrCb || {}, cb);
205
- } else {
206
- return this.send(command, optionsOrCb);
207
- }
208
- }
209
-
210
- /**
211
- * <p>Creates a service mesh.</p>
212
- * <p> A service mesh is a logical boundary for network traffic between services that are
213
- * represented by resources within the mesh. After you create your service mesh, you can
214
- * create virtual services, virtual nodes, virtual routers, and routes to distribute traffic
215
- * between the applications in your mesh.</p>
216
- * <p>For more information about service meshes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/meshes.html">Service meshes</a>.</p>
217
- */
218
- public createMesh(args: CreateMeshCommandInput, options?: __HttpHandlerOptions): Promise<CreateMeshCommandOutput>;
219
- public createMesh(args: CreateMeshCommandInput, cb: (err: any, data?: CreateMeshCommandOutput) => void): void;
220
- public createMesh(
221
- args: CreateMeshCommandInput,
222
- options: __HttpHandlerOptions,
223
- cb: (err: any, data?: CreateMeshCommandOutput) => void
224
- ): void;
225
- public createMesh(
226
- args: CreateMeshCommandInput,
227
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateMeshCommandOutput) => void),
228
- cb?: (err: any, data?: CreateMeshCommandOutput) => void
229
- ): Promise<CreateMeshCommandOutput> | void {
230
- const command = new CreateMeshCommand(args);
231
- if (typeof optionsOrCb === "function") {
232
- this.send(command, optionsOrCb);
233
- } else if (typeof cb === "function") {
234
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
235
- this.send(command, optionsOrCb || {}, cb);
236
- } else {
237
- return this.send(command, optionsOrCb);
238
- }
239
- }
240
-
241
- /**
242
- * <p>Creates a route that is associated with a virtual router.</p>
243
- * <p> You can route several different protocols and define a retry policy for a route.
244
- * Traffic can be routed to one or more virtual nodes.</p>
245
- * <p>For more information about routes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/routes.html">Routes</a>.</p>
246
- */
247
- public createRoute(args: CreateRouteCommandInput, options?: __HttpHandlerOptions): Promise<CreateRouteCommandOutput>;
248
- public createRoute(args: CreateRouteCommandInput, cb: (err: any, data?: CreateRouteCommandOutput) => void): void;
249
- public createRoute(
250
- args: CreateRouteCommandInput,
251
- options: __HttpHandlerOptions,
252
- cb: (err: any, data?: CreateRouteCommandOutput) => void
253
- ): void;
254
- public createRoute(
255
- args: CreateRouteCommandInput,
256
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateRouteCommandOutput) => void),
257
- cb?: (err: any, data?: CreateRouteCommandOutput) => void
258
- ): Promise<CreateRouteCommandOutput> | void {
259
- const command = new CreateRouteCommand(args);
260
- if (typeof optionsOrCb === "function") {
261
- this.send(command, optionsOrCb);
262
- } else if (typeof cb === "function") {
263
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
264
- this.send(command, optionsOrCb || {}, cb);
265
- } else {
266
- return this.send(command, optionsOrCb);
267
- }
268
- }
269
-
270
- /**
271
- * <p>Creates a virtual gateway.</p>
272
- * <p>A virtual gateway allows resources outside your mesh to communicate to resources that
273
- * are inside your mesh. The virtual gateway represents an Envoy proxy running in an Amazon ECS
274
- * task, in a Kubernetes service, or on an Amazon EC2 instance. Unlike a virtual node, which
275
- * represents an Envoy running with an application, a virtual gateway represents Envoy
276
- * deployed by itself.</p>
277
- * <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>
278
- */
279
- public createVirtualGateway(
280
- args: CreateVirtualGatewayCommandInput,
281
- options?: __HttpHandlerOptions
282
- ): Promise<CreateVirtualGatewayCommandOutput>;
283
- public createVirtualGateway(
284
- args: CreateVirtualGatewayCommandInput,
285
- cb: (err: any, data?: CreateVirtualGatewayCommandOutput) => void
286
- ): void;
287
- public createVirtualGateway(
288
- args: CreateVirtualGatewayCommandInput,
289
- options: __HttpHandlerOptions,
290
- cb: (err: any, data?: CreateVirtualGatewayCommandOutput) => void
291
- ): void;
292
- public createVirtualGateway(
293
- args: CreateVirtualGatewayCommandInput,
294
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateVirtualGatewayCommandOutput) => void),
295
- cb?: (err: any, data?: CreateVirtualGatewayCommandOutput) => void
296
- ): Promise<CreateVirtualGatewayCommandOutput> | void {
297
- const command = new CreateVirtualGatewayCommand(args);
298
- if (typeof optionsOrCb === "function") {
299
- this.send(command, optionsOrCb);
300
- } else if (typeof cb === "function") {
301
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
302
- this.send(command, optionsOrCb || {}, cb);
303
- } else {
304
- return this.send(command, optionsOrCb);
305
- }
306
- }
307
-
308
- /**
309
- * <p>Creates a virtual node within a service mesh.</p>
310
- * <p> A virtual node acts as a logical pointer to a particular task group, such as an Amazon ECS
311
- * service or a Kubernetes deployment. When you create a virtual node, you can specify the
312
- * service discovery information for your task group, and whether the proxy running in a task
313
- * group will communicate with other proxies using Transport Layer Security (TLS).</p>
314
- * <p>You define a <code>listener</code> for any inbound traffic that your virtual node
315
- * expects. Any virtual service that your virtual node expects to communicate to is specified
316
- * as a <code>backend</code>.</p>
317
- * <p>The response metadata for your new virtual node contains the <code>arn</code> that is
318
- * associated with the virtual node. Set this value to the full ARN; for example,
319
- * <code>arn:aws:appmesh:us-west-2:123456789012:myMesh/default/virtualNode/myApp</code>)
320
- * as the <code>APPMESH_RESOURCE_ARN</code> environment variable for your task group's Envoy
321
- * proxy container in your task definition or pod spec. This is then mapped to the
322
- * <code>node.id</code> and <code>node.cluster</code> Envoy parameters.</p>
323
- * <note>
324
- * <p>By default, App Mesh uses the name of the resource you specified in
325
- * <code>APPMESH_RESOURCE_ARN</code> when Envoy is referring to itself in metrics and
326
- * traces. You can override this behavior by setting the
327
- * <code>APPMESH_RESOURCE_CLUSTER</code> environment variable with your own name.</p>
328
- * </note>
329
- * <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
330
- * 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
331
- * the AWS App Mesh User Guide.</p>
332
- */
333
- public createVirtualNode(
334
- args: CreateVirtualNodeCommandInput,
335
- options?: __HttpHandlerOptions
336
- ): Promise<CreateVirtualNodeCommandOutput>;
337
- public createVirtualNode(
338
- args: CreateVirtualNodeCommandInput,
339
- cb: (err: any, data?: CreateVirtualNodeCommandOutput) => void
340
- ): void;
341
- public createVirtualNode(
342
- args: CreateVirtualNodeCommandInput,
343
- options: __HttpHandlerOptions,
344
- cb: (err: any, data?: CreateVirtualNodeCommandOutput) => void
345
- ): void;
346
- public createVirtualNode(
347
- args: CreateVirtualNodeCommandInput,
348
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateVirtualNodeCommandOutput) => void),
349
- cb?: (err: any, data?: CreateVirtualNodeCommandOutput) => void
350
- ): Promise<CreateVirtualNodeCommandOutput> | void {
351
- const command = new CreateVirtualNodeCommand(args);
352
- if (typeof optionsOrCb === "function") {
353
- this.send(command, optionsOrCb);
354
- } else if (typeof cb === "function") {
355
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
356
- this.send(command, optionsOrCb || {}, cb);
357
- } else {
358
- return this.send(command, optionsOrCb);
359
- }
360
- }
361
-
362
- /**
363
- * <p>Creates a virtual router within a service mesh.</p>
364
- * <p>Specify a <code>listener</code> for any inbound traffic that your virtual router
365
- * receives. Create a virtual router for each protocol and port that you need to route.
366
- * Virtual routers handle traffic for one or more virtual services within your mesh. After you
367
- * create your virtual router, create and associate routes for your virtual router that direct
368
- * incoming requests to different virtual nodes.</p>
369
- * <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>
370
- */
371
- public createVirtualRouter(
372
- args: CreateVirtualRouterCommandInput,
373
- options?: __HttpHandlerOptions
374
- ): Promise<CreateVirtualRouterCommandOutput>;
375
- public createVirtualRouter(
376
- args: CreateVirtualRouterCommandInput,
377
- cb: (err: any, data?: CreateVirtualRouterCommandOutput) => void
378
- ): void;
379
- public createVirtualRouter(
380
- args: CreateVirtualRouterCommandInput,
381
- options: __HttpHandlerOptions,
382
- cb: (err: any, data?: CreateVirtualRouterCommandOutput) => void
383
- ): void;
384
- public createVirtualRouter(
385
- args: CreateVirtualRouterCommandInput,
386
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateVirtualRouterCommandOutput) => void),
387
- cb?: (err: any, data?: CreateVirtualRouterCommandOutput) => void
388
- ): Promise<CreateVirtualRouterCommandOutput> | void {
389
- const command = new CreateVirtualRouterCommand(args);
390
- if (typeof optionsOrCb === "function") {
391
- this.send(command, optionsOrCb);
392
- } else if (typeof cb === "function") {
393
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
394
- this.send(command, optionsOrCb || {}, cb);
395
- } else {
396
- return this.send(command, optionsOrCb);
397
- }
398
- }
399
-
400
- /**
401
- * <p>Creates a virtual service within a service mesh.</p>
402
- * <p>A virtual service is an abstraction of a real service that is provided by a virtual node
403
- * directly or indirectly by means of a virtual router. Dependent services call your virtual
404
- * service by its <code>virtualServiceName</code>, and those requests are routed to the
405
- * virtual node or virtual router that is specified as the provider for the virtual
406
- * service.</p>
407
- * <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>
408
- */
409
- public createVirtualService(
410
- args: CreateVirtualServiceCommandInput,
411
- options?: __HttpHandlerOptions
412
- ): Promise<CreateVirtualServiceCommandOutput>;
413
- public createVirtualService(
414
- args: CreateVirtualServiceCommandInput,
415
- cb: (err: any, data?: CreateVirtualServiceCommandOutput) => void
416
- ): void;
417
- public createVirtualService(
418
- args: CreateVirtualServiceCommandInput,
419
- options: __HttpHandlerOptions,
420
- cb: (err: any, data?: CreateVirtualServiceCommandOutput) => void
421
- ): void;
422
- public createVirtualService(
423
- args: CreateVirtualServiceCommandInput,
424
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateVirtualServiceCommandOutput) => void),
425
- cb?: (err: any, data?: CreateVirtualServiceCommandOutput) => void
426
- ): Promise<CreateVirtualServiceCommandOutput> | void {
427
- const command = new CreateVirtualServiceCommand(args);
428
- if (typeof optionsOrCb === "function") {
429
- this.send(command, optionsOrCb);
430
- } else if (typeof cb === "function") {
431
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
432
- this.send(command, optionsOrCb || {}, cb);
433
- } else {
434
- return this.send(command, optionsOrCb);
435
- }
436
- }
437
-
438
- /**
439
- * <p>Deletes an existing gateway route.</p>
440
- */
441
- public deleteGatewayRoute(
442
- args: DeleteGatewayRouteCommandInput,
443
- options?: __HttpHandlerOptions
444
- ): Promise<DeleteGatewayRouteCommandOutput>;
445
- public deleteGatewayRoute(
446
- args: DeleteGatewayRouteCommandInput,
447
- cb: (err: any, data?: DeleteGatewayRouteCommandOutput) => void
448
- ): void;
449
- public deleteGatewayRoute(
450
- args: DeleteGatewayRouteCommandInput,
451
- options: __HttpHandlerOptions,
452
- cb: (err: any, data?: DeleteGatewayRouteCommandOutput) => void
453
- ): void;
454
- public deleteGatewayRoute(
455
- args: DeleteGatewayRouteCommandInput,
456
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteGatewayRouteCommandOutput) => void),
457
- cb?: (err: any, data?: DeleteGatewayRouteCommandOutput) => void
458
- ): Promise<DeleteGatewayRouteCommandOutput> | void {
459
- const command = new DeleteGatewayRouteCommand(args);
460
- if (typeof optionsOrCb === "function") {
461
- this.send(command, optionsOrCb);
462
- } else if (typeof cb === "function") {
463
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
464
- this.send(command, optionsOrCb || {}, cb);
465
- } else {
466
- return this.send(command, optionsOrCb);
467
- }
468
- }
469
-
470
- /**
471
- * <p>Deletes an existing service mesh.</p>
472
- * <p>You must delete all resources (virtual services, routes, virtual routers, and virtual
473
- * nodes) in the service mesh before you can delete the mesh itself.</p>
474
- */
475
- public deleteMesh(args: DeleteMeshCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMeshCommandOutput>;
476
- public deleteMesh(args: DeleteMeshCommandInput, cb: (err: any, data?: DeleteMeshCommandOutput) => void): void;
477
- public deleteMesh(
478
- args: DeleteMeshCommandInput,
479
- options: __HttpHandlerOptions,
480
- cb: (err: any, data?: DeleteMeshCommandOutput) => void
481
- ): void;
482
- public deleteMesh(
483
- args: DeleteMeshCommandInput,
484
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteMeshCommandOutput) => void),
485
- cb?: (err: any, data?: DeleteMeshCommandOutput) => void
486
- ): Promise<DeleteMeshCommandOutput> | void {
487
- const command = new DeleteMeshCommand(args);
488
- if (typeof optionsOrCb === "function") {
489
- this.send(command, optionsOrCb);
490
- } else if (typeof cb === "function") {
491
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
492
- this.send(command, optionsOrCb || {}, cb);
493
- } else {
494
- return this.send(command, optionsOrCb);
495
- }
496
- }
497
-
498
- /**
499
- * <p>Deletes an existing route.</p>
500
- */
501
- public deleteRoute(args: DeleteRouteCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRouteCommandOutput>;
502
- public deleteRoute(args: DeleteRouteCommandInput, cb: (err: any, data?: DeleteRouteCommandOutput) => void): void;
503
- public deleteRoute(
504
- args: DeleteRouteCommandInput,
505
- options: __HttpHandlerOptions,
506
- cb: (err: any, data?: DeleteRouteCommandOutput) => void
507
- ): void;
508
- public deleteRoute(
509
- args: DeleteRouteCommandInput,
510
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteRouteCommandOutput) => void),
511
- cb?: (err: any, data?: DeleteRouteCommandOutput) => void
512
- ): Promise<DeleteRouteCommandOutput> | void {
513
- const command = new DeleteRouteCommand(args);
514
- if (typeof optionsOrCb === "function") {
515
- this.send(command, optionsOrCb);
516
- } else if (typeof cb === "function") {
517
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
518
- this.send(command, optionsOrCb || {}, cb);
519
- } else {
520
- return this.send(command, optionsOrCb);
521
- }
522
- }
523
-
524
- /**
525
- * <p>Deletes an existing virtual gateway. You cannot delete a virtual gateway if any gateway
526
- * routes are associated to it.</p>
527
- */
528
- public deleteVirtualGateway(
529
- args: DeleteVirtualGatewayCommandInput,
530
- options?: __HttpHandlerOptions
531
- ): Promise<DeleteVirtualGatewayCommandOutput>;
532
- public deleteVirtualGateway(
533
- args: DeleteVirtualGatewayCommandInput,
534
- cb: (err: any, data?: DeleteVirtualGatewayCommandOutput) => void
535
- ): void;
536
- public deleteVirtualGateway(
537
- args: DeleteVirtualGatewayCommandInput,
538
- options: __HttpHandlerOptions,
539
- cb: (err: any, data?: DeleteVirtualGatewayCommandOutput) => void
540
- ): void;
541
- public deleteVirtualGateway(
542
- args: DeleteVirtualGatewayCommandInput,
543
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteVirtualGatewayCommandOutput) => void),
544
- cb?: (err: any, data?: DeleteVirtualGatewayCommandOutput) => void
545
- ): Promise<DeleteVirtualGatewayCommandOutput> | void {
546
- const command = new DeleteVirtualGatewayCommand(args);
547
- if (typeof optionsOrCb === "function") {
548
- this.send(command, optionsOrCb);
549
- } else if (typeof cb === "function") {
550
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
551
- this.send(command, optionsOrCb || {}, cb);
552
- } else {
553
- return this.send(command, optionsOrCb);
554
- }
555
- }
556
-
557
- /**
558
- * <p>Deletes an existing virtual node.</p>
559
- * <p>You must delete any virtual services that list a virtual node as a service provider
560
- * before you can delete the virtual node itself.</p>
561
- */
562
- public deleteVirtualNode(
563
- args: DeleteVirtualNodeCommandInput,
564
- options?: __HttpHandlerOptions
565
- ): Promise<DeleteVirtualNodeCommandOutput>;
566
- public deleteVirtualNode(
567
- args: DeleteVirtualNodeCommandInput,
568
- cb: (err: any, data?: DeleteVirtualNodeCommandOutput) => void
569
- ): void;
570
- public deleteVirtualNode(
571
- args: DeleteVirtualNodeCommandInput,
572
- options: __HttpHandlerOptions,
573
- cb: (err: any, data?: DeleteVirtualNodeCommandOutput) => void
574
- ): void;
575
- public deleteVirtualNode(
576
- args: DeleteVirtualNodeCommandInput,
577
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteVirtualNodeCommandOutput) => void),
578
- cb?: (err: any, data?: DeleteVirtualNodeCommandOutput) => void
579
- ): Promise<DeleteVirtualNodeCommandOutput> | void {
580
- const command = new DeleteVirtualNodeCommand(args);
581
- if (typeof optionsOrCb === "function") {
582
- this.send(command, optionsOrCb);
583
- } else if (typeof cb === "function") {
584
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
585
- this.send(command, optionsOrCb || {}, cb);
586
- } else {
587
- return this.send(command, optionsOrCb);
588
- }
589
- }
590
-
591
- /**
592
- * <p>Deletes an existing virtual router.</p>
593
- * <p>You must delete any routes associated with the virtual router before you can delete the
594
- * router itself.</p>
595
- */
596
- public deleteVirtualRouter(
597
- args: DeleteVirtualRouterCommandInput,
598
- options?: __HttpHandlerOptions
599
- ): Promise<DeleteVirtualRouterCommandOutput>;
600
- public deleteVirtualRouter(
601
- args: DeleteVirtualRouterCommandInput,
602
- cb: (err: any, data?: DeleteVirtualRouterCommandOutput) => void
603
- ): void;
604
- public deleteVirtualRouter(
605
- args: DeleteVirtualRouterCommandInput,
606
- options: __HttpHandlerOptions,
607
- cb: (err: any, data?: DeleteVirtualRouterCommandOutput) => void
608
- ): void;
609
- public deleteVirtualRouter(
610
- args: DeleteVirtualRouterCommandInput,
611
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteVirtualRouterCommandOutput) => void),
612
- cb?: (err: any, data?: DeleteVirtualRouterCommandOutput) => void
613
- ): Promise<DeleteVirtualRouterCommandOutput> | void {
614
- const command = new DeleteVirtualRouterCommand(args);
615
- if (typeof optionsOrCb === "function") {
616
- this.send(command, optionsOrCb);
617
- } else if (typeof cb === "function") {
618
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
619
- this.send(command, optionsOrCb || {}, cb);
620
- } else {
621
- return this.send(command, optionsOrCb);
622
- }
623
- }
624
-
625
- /**
626
- * <p>Deletes an existing virtual service.</p>
627
- */
628
- public deleteVirtualService(
629
- args: DeleteVirtualServiceCommandInput,
630
- options?: __HttpHandlerOptions
631
- ): Promise<DeleteVirtualServiceCommandOutput>;
632
- public deleteVirtualService(
633
- args: DeleteVirtualServiceCommandInput,
634
- cb: (err: any, data?: DeleteVirtualServiceCommandOutput) => void
635
- ): void;
636
- public deleteVirtualService(
637
- args: DeleteVirtualServiceCommandInput,
638
- options: __HttpHandlerOptions,
639
- cb: (err: any, data?: DeleteVirtualServiceCommandOutput) => void
640
- ): void;
641
- public deleteVirtualService(
642
- args: DeleteVirtualServiceCommandInput,
643
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteVirtualServiceCommandOutput) => void),
644
- cb?: (err: any, data?: DeleteVirtualServiceCommandOutput) => void
645
- ): Promise<DeleteVirtualServiceCommandOutput> | void {
646
- const command = new DeleteVirtualServiceCommand(args);
647
- if (typeof optionsOrCb === "function") {
648
- this.send(command, optionsOrCb);
649
- } else if (typeof cb === "function") {
650
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
651
- this.send(command, optionsOrCb || {}, cb);
652
- } else {
653
- return this.send(command, optionsOrCb);
654
- }
655
- }
656
-
657
- /**
658
- * <p>Describes an existing gateway route.</p>
659
- */
660
- public describeGatewayRoute(
661
- args: DescribeGatewayRouteCommandInput,
662
- options?: __HttpHandlerOptions
663
- ): Promise<DescribeGatewayRouteCommandOutput>;
664
- public describeGatewayRoute(
665
- args: DescribeGatewayRouteCommandInput,
666
- cb: (err: any, data?: DescribeGatewayRouteCommandOutput) => void
667
- ): void;
668
- public describeGatewayRoute(
669
- args: DescribeGatewayRouteCommandInput,
670
- options: __HttpHandlerOptions,
671
- cb: (err: any, data?: DescribeGatewayRouteCommandOutput) => void
672
- ): void;
673
- public describeGatewayRoute(
674
- args: DescribeGatewayRouteCommandInput,
675
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeGatewayRouteCommandOutput) => void),
676
- cb?: (err: any, data?: DescribeGatewayRouteCommandOutput) => void
677
- ): Promise<DescribeGatewayRouteCommandOutput> | void {
678
- const command = new DescribeGatewayRouteCommand(args);
679
- if (typeof optionsOrCb === "function") {
680
- this.send(command, optionsOrCb);
681
- } else if (typeof cb === "function") {
682
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
683
- this.send(command, optionsOrCb || {}, cb);
684
- } else {
685
- return this.send(command, optionsOrCb);
686
- }
687
- }
688
-
689
- /**
690
- * <p>Describes an existing service mesh.</p>
691
- */
692
- public describeMesh(
693
- args: DescribeMeshCommandInput,
694
- options?: __HttpHandlerOptions
695
- ): Promise<DescribeMeshCommandOutput>;
696
- public describeMesh(args: DescribeMeshCommandInput, cb: (err: any, data?: DescribeMeshCommandOutput) => void): void;
697
- public describeMesh(
698
- args: DescribeMeshCommandInput,
699
- options: __HttpHandlerOptions,
700
- cb: (err: any, data?: DescribeMeshCommandOutput) => void
701
- ): void;
702
- public describeMesh(
703
- args: DescribeMeshCommandInput,
704
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeMeshCommandOutput) => void),
705
- cb?: (err: any, data?: DescribeMeshCommandOutput) => void
706
- ): Promise<DescribeMeshCommandOutput> | void {
707
- const command = new DescribeMeshCommand(args);
708
- if (typeof optionsOrCb === "function") {
709
- this.send(command, optionsOrCb);
710
- } else if (typeof cb === "function") {
711
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
712
- this.send(command, optionsOrCb || {}, cb);
713
- } else {
714
- return this.send(command, optionsOrCb);
715
- }
716
- }
717
-
718
- /**
719
- * <p>Describes an existing route.</p>
720
- */
721
- public describeRoute(
722
- args: DescribeRouteCommandInput,
723
- options?: __HttpHandlerOptions
724
- ): Promise<DescribeRouteCommandOutput>;
725
- public describeRoute(
726
- args: DescribeRouteCommandInput,
727
- cb: (err: any, data?: DescribeRouteCommandOutput) => void
728
- ): void;
729
- public describeRoute(
730
- args: DescribeRouteCommandInput,
731
- options: __HttpHandlerOptions,
732
- cb: (err: any, data?: DescribeRouteCommandOutput) => void
733
- ): void;
734
- public describeRoute(
735
- args: DescribeRouteCommandInput,
736
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeRouteCommandOutput) => void),
737
- cb?: (err: any, data?: DescribeRouteCommandOutput) => void
738
- ): Promise<DescribeRouteCommandOutput> | void {
739
- const command = new DescribeRouteCommand(args);
740
- if (typeof optionsOrCb === "function") {
741
- this.send(command, optionsOrCb);
742
- } else if (typeof cb === "function") {
743
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
744
- this.send(command, optionsOrCb || {}, cb);
745
- } else {
746
- return this.send(command, optionsOrCb);
747
- }
748
- }
749
-
750
- /**
751
- * <p>Describes an existing virtual gateway.</p>
752
- */
753
- public describeVirtualGateway(
754
- args: DescribeVirtualGatewayCommandInput,
755
- options?: __HttpHandlerOptions
756
- ): Promise<DescribeVirtualGatewayCommandOutput>;
757
- public describeVirtualGateway(
758
- args: DescribeVirtualGatewayCommandInput,
759
- cb: (err: any, data?: DescribeVirtualGatewayCommandOutput) => void
760
- ): void;
761
- public describeVirtualGateway(
762
- args: DescribeVirtualGatewayCommandInput,
763
- options: __HttpHandlerOptions,
764
- cb: (err: any, data?: DescribeVirtualGatewayCommandOutput) => void
765
- ): void;
766
- public describeVirtualGateway(
767
- args: DescribeVirtualGatewayCommandInput,
768
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeVirtualGatewayCommandOutput) => void),
769
- cb?: (err: any, data?: DescribeVirtualGatewayCommandOutput) => void
770
- ): Promise<DescribeVirtualGatewayCommandOutput> | void {
771
- const command = new DescribeVirtualGatewayCommand(args);
772
- if (typeof optionsOrCb === "function") {
773
- this.send(command, optionsOrCb);
774
- } else if (typeof cb === "function") {
775
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
776
- this.send(command, optionsOrCb || {}, cb);
777
- } else {
778
- return this.send(command, optionsOrCb);
779
- }
780
- }
781
-
782
- /**
783
- * <p>Describes an existing virtual node.</p>
784
- */
785
- public describeVirtualNode(
786
- args: DescribeVirtualNodeCommandInput,
787
- options?: __HttpHandlerOptions
788
- ): Promise<DescribeVirtualNodeCommandOutput>;
789
- public describeVirtualNode(
790
- args: DescribeVirtualNodeCommandInput,
791
- cb: (err: any, data?: DescribeVirtualNodeCommandOutput) => void
792
- ): void;
793
- public describeVirtualNode(
794
- args: DescribeVirtualNodeCommandInput,
795
- options: __HttpHandlerOptions,
796
- cb: (err: any, data?: DescribeVirtualNodeCommandOutput) => void
797
- ): void;
798
- public describeVirtualNode(
799
- args: DescribeVirtualNodeCommandInput,
800
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeVirtualNodeCommandOutput) => void),
801
- cb?: (err: any, data?: DescribeVirtualNodeCommandOutput) => void
802
- ): Promise<DescribeVirtualNodeCommandOutput> | void {
803
- const command = new DescribeVirtualNodeCommand(args);
804
- if (typeof optionsOrCb === "function") {
805
- this.send(command, optionsOrCb);
806
- } else if (typeof cb === "function") {
807
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
808
- this.send(command, optionsOrCb || {}, cb);
809
- } else {
810
- return this.send(command, optionsOrCb);
811
- }
812
- }
813
-
814
- /**
815
- * <p>Describes an existing virtual router.</p>
816
- */
817
- public describeVirtualRouter(
818
- args: DescribeVirtualRouterCommandInput,
819
- options?: __HttpHandlerOptions
820
- ): Promise<DescribeVirtualRouterCommandOutput>;
821
- public describeVirtualRouter(
822
- args: DescribeVirtualRouterCommandInput,
823
- cb: (err: any, data?: DescribeVirtualRouterCommandOutput) => void
824
- ): void;
825
- public describeVirtualRouter(
826
- args: DescribeVirtualRouterCommandInput,
827
- options: __HttpHandlerOptions,
828
- cb: (err: any, data?: DescribeVirtualRouterCommandOutput) => void
829
- ): void;
830
- public describeVirtualRouter(
831
- args: DescribeVirtualRouterCommandInput,
832
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeVirtualRouterCommandOutput) => void),
833
- cb?: (err: any, data?: DescribeVirtualRouterCommandOutput) => void
834
- ): Promise<DescribeVirtualRouterCommandOutput> | void {
835
- const command = new DescribeVirtualRouterCommand(args);
836
- if (typeof optionsOrCb === "function") {
837
- this.send(command, optionsOrCb);
838
- } else if (typeof cb === "function") {
839
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
840
- this.send(command, optionsOrCb || {}, cb);
841
- } else {
842
- return this.send(command, optionsOrCb);
843
- }
844
- }
845
-
846
- /**
847
- * <p>Describes an existing virtual service.</p>
848
- */
849
- public describeVirtualService(
850
- args: DescribeVirtualServiceCommandInput,
851
- options?: __HttpHandlerOptions
852
- ): Promise<DescribeVirtualServiceCommandOutput>;
853
- public describeVirtualService(
854
- args: DescribeVirtualServiceCommandInput,
855
- cb: (err: any, data?: DescribeVirtualServiceCommandOutput) => void
856
- ): void;
857
- public describeVirtualService(
858
- args: DescribeVirtualServiceCommandInput,
859
- options: __HttpHandlerOptions,
860
- cb: (err: any, data?: DescribeVirtualServiceCommandOutput) => void
861
- ): void;
862
- public describeVirtualService(
863
- args: DescribeVirtualServiceCommandInput,
864
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeVirtualServiceCommandOutput) => void),
865
- cb?: (err: any, data?: DescribeVirtualServiceCommandOutput) => void
866
- ): Promise<DescribeVirtualServiceCommandOutput> | void {
867
- const command = new DescribeVirtualServiceCommand(args);
868
- if (typeof optionsOrCb === "function") {
869
- this.send(command, optionsOrCb);
870
- } else if (typeof cb === "function") {
871
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
872
- this.send(command, optionsOrCb || {}, cb);
873
- } else {
874
- return this.send(command, optionsOrCb);
875
- }
876
- }
877
-
878
- /**
879
- * <p>Returns a list of existing gateway routes that are associated to a virtual
880
- * gateway.</p>
881
- */
882
- public listGatewayRoutes(
883
- args: ListGatewayRoutesCommandInput,
884
- options?: __HttpHandlerOptions
885
- ): Promise<ListGatewayRoutesCommandOutput>;
886
- public listGatewayRoutes(
887
- args: ListGatewayRoutesCommandInput,
888
- cb: (err: any, data?: ListGatewayRoutesCommandOutput) => void
889
- ): void;
890
- public listGatewayRoutes(
891
- args: ListGatewayRoutesCommandInput,
892
- options: __HttpHandlerOptions,
893
- cb: (err: any, data?: ListGatewayRoutesCommandOutput) => void
894
- ): void;
895
- public listGatewayRoutes(
896
- args: ListGatewayRoutesCommandInput,
897
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListGatewayRoutesCommandOutput) => void),
898
- cb?: (err: any, data?: ListGatewayRoutesCommandOutput) => void
899
- ): Promise<ListGatewayRoutesCommandOutput> | void {
900
- const command = new ListGatewayRoutesCommand(args);
901
- if (typeof optionsOrCb === "function") {
902
- this.send(command, optionsOrCb);
903
- } else if (typeof cb === "function") {
904
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
905
- this.send(command, optionsOrCb || {}, cb);
906
- } else {
907
- return this.send(command, optionsOrCb);
908
- }
909
- }
910
-
911
- /**
912
- * <p>Returns a list of existing service meshes.</p>
913
- */
914
- public listMeshes(args: ListMeshesCommandInput, options?: __HttpHandlerOptions): Promise<ListMeshesCommandOutput>;
915
- public listMeshes(args: ListMeshesCommandInput, cb: (err: any, data?: ListMeshesCommandOutput) => void): void;
916
- public listMeshes(
917
- args: ListMeshesCommandInput,
918
- options: __HttpHandlerOptions,
919
- cb: (err: any, data?: ListMeshesCommandOutput) => void
920
- ): void;
921
- public listMeshes(
922
- args: ListMeshesCommandInput,
923
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListMeshesCommandOutput) => void),
924
- cb?: (err: any, data?: ListMeshesCommandOutput) => void
925
- ): Promise<ListMeshesCommandOutput> | void {
926
- const command = new ListMeshesCommand(args);
927
- if (typeof optionsOrCb === "function") {
928
- this.send(command, optionsOrCb);
929
- } else if (typeof cb === "function") {
930
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
931
- this.send(command, optionsOrCb || {}, cb);
932
- } else {
933
- return this.send(command, optionsOrCb);
934
- }
935
- }
936
-
937
- /**
938
- * <p>Returns a list of existing routes in a service mesh.</p>
939
- */
940
- public listRoutes(args: ListRoutesCommandInput, options?: __HttpHandlerOptions): Promise<ListRoutesCommandOutput>;
941
- public listRoutes(args: ListRoutesCommandInput, cb: (err: any, data?: ListRoutesCommandOutput) => void): void;
942
- public listRoutes(
943
- args: ListRoutesCommandInput,
944
- options: __HttpHandlerOptions,
945
- cb: (err: any, data?: ListRoutesCommandOutput) => void
946
- ): void;
947
- public listRoutes(
948
- args: ListRoutesCommandInput,
949
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListRoutesCommandOutput) => void),
950
- cb?: (err: any, data?: ListRoutesCommandOutput) => void
951
- ): Promise<ListRoutesCommandOutput> | void {
952
- const command = new ListRoutesCommand(args);
953
- if (typeof optionsOrCb === "function") {
954
- this.send(command, optionsOrCb);
955
- } else if (typeof cb === "function") {
956
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
957
- this.send(command, optionsOrCb || {}, cb);
958
- } else {
959
- return this.send(command, optionsOrCb);
960
- }
961
- }
962
-
963
- /**
964
- * <p>List the tags for an App Mesh resource.</p>
965
- */
966
- public listTagsForResource(
967
- args: ListTagsForResourceCommandInput,
968
- options?: __HttpHandlerOptions
969
- ): Promise<ListTagsForResourceCommandOutput>;
970
- public listTagsForResource(
971
- args: ListTagsForResourceCommandInput,
972
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
973
- ): void;
974
- public listTagsForResource(
975
- args: ListTagsForResourceCommandInput,
976
- options: __HttpHandlerOptions,
977
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
978
- ): void;
979
- public listTagsForResource(
980
- args: ListTagsForResourceCommandInput,
981
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
982
- cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
983
- ): Promise<ListTagsForResourceCommandOutput> | void {
984
- const command = new ListTagsForResourceCommand(args);
985
- if (typeof optionsOrCb === "function") {
986
- this.send(command, optionsOrCb);
987
- } else if (typeof cb === "function") {
988
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
989
- this.send(command, optionsOrCb || {}, cb);
990
- } else {
991
- return this.send(command, optionsOrCb);
992
- }
993
- }
994
-
995
- /**
996
- * <p>Returns a list of existing virtual gateways in a service mesh.</p>
997
- */
998
- public listVirtualGateways(
999
- args: ListVirtualGatewaysCommandInput,
1000
- options?: __HttpHandlerOptions
1001
- ): Promise<ListVirtualGatewaysCommandOutput>;
1002
- public listVirtualGateways(
1003
- args: ListVirtualGatewaysCommandInput,
1004
- cb: (err: any, data?: ListVirtualGatewaysCommandOutput) => void
1005
- ): void;
1006
- public listVirtualGateways(
1007
- args: ListVirtualGatewaysCommandInput,
1008
- options: __HttpHandlerOptions,
1009
- cb: (err: any, data?: ListVirtualGatewaysCommandOutput) => void
1010
- ): void;
1011
- public listVirtualGateways(
1012
- args: ListVirtualGatewaysCommandInput,
1013
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListVirtualGatewaysCommandOutput) => void),
1014
- cb?: (err: any, data?: ListVirtualGatewaysCommandOutput) => void
1015
- ): Promise<ListVirtualGatewaysCommandOutput> | void {
1016
- const command = new ListVirtualGatewaysCommand(args);
1017
- if (typeof optionsOrCb === "function") {
1018
- this.send(command, optionsOrCb);
1019
- } else if (typeof cb === "function") {
1020
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1021
- this.send(command, optionsOrCb || {}, cb);
1022
- } else {
1023
- return this.send(command, optionsOrCb);
1024
- }
1025
- }
1026
-
1027
- /**
1028
- * <p>Returns a list of existing virtual nodes.</p>
1029
- */
1030
- public listVirtualNodes(
1031
- args: ListVirtualNodesCommandInput,
1032
- options?: __HttpHandlerOptions
1033
- ): Promise<ListVirtualNodesCommandOutput>;
1034
- public listVirtualNodes(
1035
- args: ListVirtualNodesCommandInput,
1036
- cb: (err: any, data?: ListVirtualNodesCommandOutput) => void
1037
- ): void;
1038
- public listVirtualNodes(
1039
- args: ListVirtualNodesCommandInput,
1040
- options: __HttpHandlerOptions,
1041
- cb: (err: any, data?: ListVirtualNodesCommandOutput) => void
1042
- ): void;
1043
- public listVirtualNodes(
1044
- args: ListVirtualNodesCommandInput,
1045
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListVirtualNodesCommandOutput) => void),
1046
- cb?: (err: any, data?: ListVirtualNodesCommandOutput) => void
1047
- ): Promise<ListVirtualNodesCommandOutput> | void {
1048
- const command = new ListVirtualNodesCommand(args);
1049
- if (typeof optionsOrCb === "function") {
1050
- this.send(command, optionsOrCb);
1051
- } else if (typeof cb === "function") {
1052
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1053
- this.send(command, optionsOrCb || {}, cb);
1054
- } else {
1055
- return this.send(command, optionsOrCb);
1056
- }
1057
- }
1058
-
1059
- /**
1060
- * <p>Returns a list of existing virtual routers in a service mesh.</p>
1061
- */
1062
- public listVirtualRouters(
1063
- args: ListVirtualRoutersCommandInput,
1064
- options?: __HttpHandlerOptions
1065
- ): Promise<ListVirtualRoutersCommandOutput>;
1066
- public listVirtualRouters(
1067
- args: ListVirtualRoutersCommandInput,
1068
- cb: (err: any, data?: ListVirtualRoutersCommandOutput) => void
1069
- ): void;
1070
- public listVirtualRouters(
1071
- args: ListVirtualRoutersCommandInput,
1072
- options: __HttpHandlerOptions,
1073
- cb: (err: any, data?: ListVirtualRoutersCommandOutput) => void
1074
- ): void;
1075
- public listVirtualRouters(
1076
- args: ListVirtualRoutersCommandInput,
1077
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListVirtualRoutersCommandOutput) => void),
1078
- cb?: (err: any, data?: ListVirtualRoutersCommandOutput) => void
1079
- ): Promise<ListVirtualRoutersCommandOutput> | void {
1080
- const command = new ListVirtualRoutersCommand(args);
1081
- if (typeof optionsOrCb === "function") {
1082
- this.send(command, optionsOrCb);
1083
- } else if (typeof cb === "function") {
1084
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1085
- this.send(command, optionsOrCb || {}, cb);
1086
- } else {
1087
- return this.send(command, optionsOrCb);
1088
- }
1089
- }
1090
-
1091
- /**
1092
- * <p>Returns a list of existing virtual services in a service mesh.</p>
1093
- */
1094
- public listVirtualServices(
1095
- args: ListVirtualServicesCommandInput,
1096
- options?: __HttpHandlerOptions
1097
- ): Promise<ListVirtualServicesCommandOutput>;
1098
- public listVirtualServices(
1099
- args: ListVirtualServicesCommandInput,
1100
- cb: (err: any, data?: ListVirtualServicesCommandOutput) => void
1101
- ): void;
1102
- public listVirtualServices(
1103
- args: ListVirtualServicesCommandInput,
1104
- options: __HttpHandlerOptions,
1105
- cb: (err: any, data?: ListVirtualServicesCommandOutput) => void
1106
- ): void;
1107
- public listVirtualServices(
1108
- args: ListVirtualServicesCommandInput,
1109
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListVirtualServicesCommandOutput) => void),
1110
- cb?: (err: any, data?: ListVirtualServicesCommandOutput) => void
1111
- ): Promise<ListVirtualServicesCommandOutput> | void {
1112
- const command = new ListVirtualServicesCommand(args);
1113
- if (typeof optionsOrCb === "function") {
1114
- this.send(command, optionsOrCb);
1115
- } else if (typeof cb === "function") {
1116
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1117
- this.send(command, optionsOrCb || {}, cb);
1118
- } else {
1119
- return this.send(command, optionsOrCb);
1120
- }
1121
- }
1122
-
1123
- /**
1124
- * <p>Associates the specified tags to a resource with the specified <code>resourceArn</code>.
1125
- * If existing tags on a resource aren't specified in the request parameters, they aren't
1126
- * changed. When a resource is deleted, the tags associated with that resource are also
1127
- * deleted.</p>
1128
- */
1129
- public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
1130
- public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
1131
- public tagResource(
1132
- args: TagResourceCommandInput,
1133
- options: __HttpHandlerOptions,
1134
- cb: (err: any, data?: TagResourceCommandOutput) => void
1135
- ): void;
1136
- public tagResource(
1137
- args: TagResourceCommandInput,
1138
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
1139
- cb?: (err: any, data?: TagResourceCommandOutput) => void
1140
- ): Promise<TagResourceCommandOutput> | void {
1141
- const command = new TagResourceCommand(args);
1142
- if (typeof optionsOrCb === "function") {
1143
- this.send(command, optionsOrCb);
1144
- } else if (typeof cb === "function") {
1145
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1146
- this.send(command, optionsOrCb || {}, cb);
1147
- } else {
1148
- return this.send(command, optionsOrCb);
1149
- }
1150
- }
1151
-
1152
- /**
1153
- * <p>Deletes specified tags from a resource.</p>
1154
- */
1155
- public untagResource(
1156
- args: UntagResourceCommandInput,
1157
- options?: __HttpHandlerOptions
1158
- ): Promise<UntagResourceCommandOutput>;
1159
- public untagResource(
1160
- args: UntagResourceCommandInput,
1161
- cb: (err: any, data?: UntagResourceCommandOutput) => void
1162
- ): void;
1163
- public untagResource(
1164
- args: UntagResourceCommandInput,
1165
- options: __HttpHandlerOptions,
1166
- cb: (err: any, data?: UntagResourceCommandOutput) => void
1167
- ): void;
1168
- public untagResource(
1169
- args: UntagResourceCommandInput,
1170
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
1171
- cb?: (err: any, data?: UntagResourceCommandOutput) => void
1172
- ): Promise<UntagResourceCommandOutput> | void {
1173
- const command = new UntagResourceCommand(args);
1174
- if (typeof optionsOrCb === "function") {
1175
- this.send(command, optionsOrCb);
1176
- } else if (typeof cb === "function") {
1177
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1178
- this.send(command, optionsOrCb || {}, cb);
1179
- } else {
1180
- return this.send(command, optionsOrCb);
1181
- }
1182
- }
1183
-
1184
- /**
1185
- * <p>Updates an existing gateway route that is associated to a specified virtual gateway in a
1186
- * service mesh.</p>
1187
- */
1188
- public updateGatewayRoute(
1189
- args: UpdateGatewayRouteCommandInput,
1190
- options?: __HttpHandlerOptions
1191
- ): Promise<UpdateGatewayRouteCommandOutput>;
1192
- public updateGatewayRoute(
1193
- args: UpdateGatewayRouteCommandInput,
1194
- cb: (err: any, data?: UpdateGatewayRouteCommandOutput) => void
1195
- ): void;
1196
- public updateGatewayRoute(
1197
- args: UpdateGatewayRouteCommandInput,
1198
- options: __HttpHandlerOptions,
1199
- cb: (err: any, data?: UpdateGatewayRouteCommandOutput) => void
1200
- ): void;
1201
- public updateGatewayRoute(
1202
- args: UpdateGatewayRouteCommandInput,
1203
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateGatewayRouteCommandOutput) => void),
1204
- cb?: (err: any, data?: UpdateGatewayRouteCommandOutput) => void
1205
- ): Promise<UpdateGatewayRouteCommandOutput> | void {
1206
- const command = new UpdateGatewayRouteCommand(args);
1207
- if (typeof optionsOrCb === "function") {
1208
- this.send(command, optionsOrCb);
1209
- } else if (typeof cb === "function") {
1210
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1211
- this.send(command, optionsOrCb || {}, cb);
1212
- } else {
1213
- return this.send(command, optionsOrCb);
1214
- }
1215
- }
1216
-
1217
- /**
1218
- * <p>Updates an existing service mesh.</p>
1219
- */
1220
- public updateMesh(args: UpdateMeshCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMeshCommandOutput>;
1221
- public updateMesh(args: UpdateMeshCommandInput, cb: (err: any, data?: UpdateMeshCommandOutput) => void): void;
1222
- public updateMesh(
1223
- args: UpdateMeshCommandInput,
1224
- options: __HttpHandlerOptions,
1225
- cb: (err: any, data?: UpdateMeshCommandOutput) => void
1226
- ): void;
1227
- public updateMesh(
1228
- args: UpdateMeshCommandInput,
1229
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateMeshCommandOutput) => void),
1230
- cb?: (err: any, data?: UpdateMeshCommandOutput) => void
1231
- ): Promise<UpdateMeshCommandOutput> | void {
1232
- const command = new UpdateMeshCommand(args);
1233
- if (typeof optionsOrCb === "function") {
1234
- this.send(command, optionsOrCb);
1235
- } else if (typeof cb === "function") {
1236
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1237
- this.send(command, optionsOrCb || {}, cb);
1238
- } else {
1239
- return this.send(command, optionsOrCb);
1240
- }
1241
- }
1242
-
1243
- /**
1244
- * <p>Updates an existing route for a specified service mesh and virtual router.</p>
1245
- */
1246
- public updateRoute(args: UpdateRouteCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRouteCommandOutput>;
1247
- public updateRoute(args: UpdateRouteCommandInput, cb: (err: any, data?: UpdateRouteCommandOutput) => void): void;
1248
- public updateRoute(
1249
- args: UpdateRouteCommandInput,
1250
- options: __HttpHandlerOptions,
1251
- cb: (err: any, data?: UpdateRouteCommandOutput) => void
1252
- ): void;
1253
- public updateRoute(
1254
- args: UpdateRouteCommandInput,
1255
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateRouteCommandOutput) => void),
1256
- cb?: (err: any, data?: UpdateRouteCommandOutput) => void
1257
- ): Promise<UpdateRouteCommandOutput> | void {
1258
- const command = new UpdateRouteCommand(args);
1259
- if (typeof optionsOrCb === "function") {
1260
- this.send(command, optionsOrCb);
1261
- } else if (typeof cb === "function") {
1262
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1263
- this.send(command, optionsOrCb || {}, cb);
1264
- } else {
1265
- return this.send(command, optionsOrCb);
1266
- }
1267
- }
1268
-
1269
- /**
1270
- * <p>Updates an existing virtual gateway in a specified service mesh.</p>
1271
- */
1272
- public updateVirtualGateway(
1273
- args: UpdateVirtualGatewayCommandInput,
1274
- options?: __HttpHandlerOptions
1275
- ): Promise<UpdateVirtualGatewayCommandOutput>;
1276
- public updateVirtualGateway(
1277
- args: UpdateVirtualGatewayCommandInput,
1278
- cb: (err: any, data?: UpdateVirtualGatewayCommandOutput) => void
1279
- ): void;
1280
- public updateVirtualGateway(
1281
- args: UpdateVirtualGatewayCommandInput,
1282
- options: __HttpHandlerOptions,
1283
- cb: (err: any, data?: UpdateVirtualGatewayCommandOutput) => void
1284
- ): void;
1285
- public updateVirtualGateway(
1286
- args: UpdateVirtualGatewayCommandInput,
1287
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateVirtualGatewayCommandOutput) => void),
1288
- cb?: (err: any, data?: UpdateVirtualGatewayCommandOutput) => void
1289
- ): Promise<UpdateVirtualGatewayCommandOutput> | void {
1290
- const command = new UpdateVirtualGatewayCommand(args);
1291
- if (typeof optionsOrCb === "function") {
1292
- this.send(command, optionsOrCb);
1293
- } else if (typeof cb === "function") {
1294
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1295
- this.send(command, optionsOrCb || {}, cb);
1296
- } else {
1297
- return this.send(command, optionsOrCb);
1298
- }
1299
- }
1300
-
1301
- /**
1302
- * <p>Updates an existing virtual node in a specified service mesh.</p>
1303
- */
1304
- public updateVirtualNode(
1305
- args: UpdateVirtualNodeCommandInput,
1306
- options?: __HttpHandlerOptions
1307
- ): Promise<UpdateVirtualNodeCommandOutput>;
1308
- public updateVirtualNode(
1309
- args: UpdateVirtualNodeCommandInput,
1310
- cb: (err: any, data?: UpdateVirtualNodeCommandOutput) => void
1311
- ): void;
1312
- public updateVirtualNode(
1313
- args: UpdateVirtualNodeCommandInput,
1314
- options: __HttpHandlerOptions,
1315
- cb: (err: any, data?: UpdateVirtualNodeCommandOutput) => void
1316
- ): void;
1317
- public updateVirtualNode(
1318
- args: UpdateVirtualNodeCommandInput,
1319
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateVirtualNodeCommandOutput) => void),
1320
- cb?: (err: any, data?: UpdateVirtualNodeCommandOutput) => void
1321
- ): Promise<UpdateVirtualNodeCommandOutput> | void {
1322
- const command = new UpdateVirtualNodeCommand(args);
1323
- if (typeof optionsOrCb === "function") {
1324
- this.send(command, optionsOrCb);
1325
- } else if (typeof cb === "function") {
1326
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1327
- this.send(command, optionsOrCb || {}, cb);
1328
- } else {
1329
- return this.send(command, optionsOrCb);
1330
- }
1331
- }
1332
-
1333
- /**
1334
- * <p>Updates an existing virtual router in a specified service mesh.</p>
1335
- */
1336
- public updateVirtualRouter(
1337
- args: UpdateVirtualRouterCommandInput,
1338
- options?: __HttpHandlerOptions
1339
- ): Promise<UpdateVirtualRouterCommandOutput>;
1340
- public updateVirtualRouter(
1341
- args: UpdateVirtualRouterCommandInput,
1342
- cb: (err: any, data?: UpdateVirtualRouterCommandOutput) => void
1343
- ): void;
1344
- public updateVirtualRouter(
1345
- args: UpdateVirtualRouterCommandInput,
1346
- options: __HttpHandlerOptions,
1347
- cb: (err: any, data?: UpdateVirtualRouterCommandOutput) => void
1348
- ): void;
1349
- public updateVirtualRouter(
1350
- args: UpdateVirtualRouterCommandInput,
1351
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateVirtualRouterCommandOutput) => void),
1352
- cb?: (err: any, data?: UpdateVirtualRouterCommandOutput) => void
1353
- ): Promise<UpdateVirtualRouterCommandOutput> | void {
1354
- const command = new UpdateVirtualRouterCommand(args);
1355
- if (typeof optionsOrCb === "function") {
1356
- this.send(command, optionsOrCb);
1357
- } else if (typeof cb === "function") {
1358
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1359
- this.send(command, optionsOrCb || {}, cb);
1360
- } else {
1361
- return this.send(command, optionsOrCb);
1362
- }
1363
- }
1364
-
1365
- /**
1366
- * <p>Updates an existing virtual service in a specified service mesh.</p>
1367
- */
1368
- public updateVirtualService(
1369
- args: UpdateVirtualServiceCommandInput,
1370
- options?: __HttpHandlerOptions
1371
- ): Promise<UpdateVirtualServiceCommandOutput>;
1372
- public updateVirtualService(
1373
- args: UpdateVirtualServiceCommandInput,
1374
- cb: (err: any, data?: UpdateVirtualServiceCommandOutput) => void
1375
- ): void;
1376
- public updateVirtualService(
1377
- args: UpdateVirtualServiceCommandInput,
1378
- options: __HttpHandlerOptions,
1379
- cb: (err: any, data?: UpdateVirtualServiceCommandOutput) => void
1380
- ): void;
1381
- public updateVirtualService(
1382
- args: UpdateVirtualServiceCommandInput,
1383
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateVirtualServiceCommandOutput) => void),
1384
- cb?: (err: any, data?: UpdateVirtualServiceCommandOutput) => void
1385
- ): Promise<UpdateVirtualServiceCommandOutput> | void {
1386
- const command = new UpdateVirtualServiceCommand(args);
1387
- if (typeof optionsOrCb === "function") {
1388
- this.send(command, optionsOrCb);
1389
- } else if (typeof cb === "function") {
1390
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1391
- this.send(command, optionsOrCb || {}, cb);
1392
- } else {
1393
- return this.send(command, optionsOrCb);
1394
- }
1395
- }
1396
- }