@aws-sdk/client-servicediscovery 3.33.0 → 3.36.1

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 (340) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/ServiceDiscovery.js +1 -10
  3. package/{dist/cjs → dist-cjs}/ServiceDiscoveryClient.js +8 -22
  4. package/{dist/cjs → dist-cjs}/commands/CreateHttpNamespaceCommand.js +2 -31
  5. package/dist-cjs/commands/CreatePrivateDnsNamespaceCommand.js +36 -0
  6. package/dist-cjs/commands/CreatePublicDnsNamespaceCommand.js +36 -0
  7. package/dist-cjs/commands/CreateServiceCommand.js +36 -0
  8. package/{dist/cjs → dist-cjs}/commands/DeleteNamespaceCommand.js +2 -28
  9. package/{dist/cjs → dist-cjs}/commands/DeleteServiceCommand.js +2 -28
  10. package/{dist/cjs → dist-cjs}/commands/DeregisterInstanceCommand.js +2 -28
  11. package/{dist/cjs → dist-cjs}/commands/DiscoverInstancesCommand.js +2 -29
  12. package/{dist/cjs → dist-cjs}/commands/GetInstanceCommand.js +2 -27
  13. package/{dist/cjs → dist-cjs}/commands/GetInstancesHealthStatusCommand.js +2 -32
  14. package/{dist/cjs → dist-cjs}/commands/GetNamespaceCommand.js +2 -27
  15. package/{dist/cjs → dist-cjs}/commands/GetOperationCommand.js +2 -31
  16. package/{dist/cjs → dist-cjs}/commands/GetServiceCommand.js +2 -27
  17. package/{dist/cjs → dist-cjs}/commands/ListInstancesCommand.js +2 -27
  18. package/{dist/cjs → dist-cjs}/commands/ListNamespacesCommand.js +2 -27
  19. package/{dist/cjs → dist-cjs}/commands/ListOperationsCommand.js +2 -27
  20. package/{dist/cjs → dist-cjs}/commands/ListServicesCommand.js +2 -27
  21. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
  22. package/dist-cjs/commands/RegisterInstanceCommand.js +36 -0
  23. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -27
  24. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
  25. package/{dist/cjs → dist-cjs}/commands/UpdateHttpNamespaceCommand.js +2 -28
  26. package/{dist/cjs → dist-cjs}/commands/UpdateInstanceCustomHealthStatusCommand.js +2 -31
  27. package/{dist/cjs → dist-cjs}/commands/UpdatePrivateDnsNamespaceCommand.js +2 -28
  28. package/{dist/cjs → dist-cjs}/commands/UpdatePublicDnsNamespaceCommand.js +2 -28
  29. package/dist-cjs/commands/UpdateServiceCommand.js +36 -0
  30. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  31. package/{dist/cjs → dist-cjs}/index.js +0 -1
  32. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  33. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -301
  34. package/{dist/cjs → dist-cjs}/pagination/GetInstancesHealthStatusPaginator.js +1 -12
  35. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  36. package/{dist/cjs → dist-cjs}/pagination/ListInstancesPaginator.js +1 -12
  37. package/{dist/cjs → dist-cjs}/pagination/ListNamespacesPaginator.js +1 -12
  38. package/{dist/cjs → dist-cjs}/pagination/ListOperationsPaginator.js +1 -12
  39. package/{dist/cjs → dist-cjs}/pagination/ListServicesPaginator.js +1 -12
  40. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
  41. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  42. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  43. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  44. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  45. package/{dist/es → dist-es}/ServiceDiscovery.js +2 -11
  46. package/{dist/es → dist-es}/ServiceDiscoveryClient.js +2 -16
  47. package/{dist/es → dist-es}/commands/CreateHttpNamespaceCommand.js +4 -34
  48. package/{dist/es → dist-es}/commands/CreatePrivateDnsNamespaceCommand.js +4 -36
  49. package/{dist/es → dist-es}/commands/CreatePublicDnsNamespaceCommand.js +4 -35
  50. package/dist-es/commands/CreateServiceCommand.js +39 -0
  51. package/{dist/es → dist-es}/commands/DeleteNamespaceCommand.js +4 -31
  52. package/{dist/es → dist-es}/commands/DeleteServiceCommand.js +4 -31
  53. package/{dist/es → dist-es}/commands/DeregisterInstanceCommand.js +4 -31
  54. package/{dist/es → dist-es}/commands/DiscoverInstancesCommand.js +4 -32
  55. package/{dist/es → dist-es}/commands/GetInstanceCommand.js +4 -30
  56. package/{dist/es → dist-es}/commands/GetInstancesHealthStatusCommand.js +4 -35
  57. package/{dist/es → dist-es}/commands/GetNamespaceCommand.js +4 -30
  58. package/{dist/es → dist-es}/commands/GetOperationCommand.js +4 -34
  59. package/{dist/es → dist-es}/commands/GetServiceCommand.js +4 -30
  60. package/{dist/es → dist-es}/commands/ListInstancesCommand.js +4 -30
  61. package/{dist/es → dist-es}/commands/ListNamespacesCommand.js +4 -30
  62. package/{dist/es → dist-es}/commands/ListOperationsCommand.js +4 -30
  63. package/{dist/es → dist-es}/commands/ListServicesCommand.js +4 -30
  64. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
  65. package/dist-es/commands/RegisterInstanceCommand.js +39 -0
  66. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
  67. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
  68. package/{dist/es → dist-es}/commands/UpdateHttpNamespaceCommand.js +4 -31
  69. package/{dist/es → dist-es}/commands/UpdateInstanceCustomHealthStatusCommand.js +4 -34
  70. package/{dist/es → dist-es}/commands/UpdatePrivateDnsNamespaceCommand.js +4 -31
  71. package/{dist/es → dist-es}/commands/UpdatePublicDnsNamespaceCommand.js +4 -31
  72. package/dist-es/commands/UpdateServiceCommand.js +39 -0
  73. package/{dist/es → dist-es}/endpoints.js +1 -2
  74. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  75. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  76. package/{dist/es → dist-es}/models/models_0.js +0 -301
  77. package/{dist/es → dist-es}/pagination/GetInstancesHealthStatusPaginator.js +17 -30
  78. package/dist-es/pagination/Interfaces.js +1 -0
  79. package/{dist/es → dist-es}/pagination/ListInstancesPaginator.js +17 -30
  80. package/{dist/es → dist-es}/pagination/ListNamespacesPaginator.js +17 -30
  81. package/{dist/es → dist-es}/pagination/ListOperationsPaginator.js +17 -30
  82. package/{dist/es → dist-es}/pagination/ListServicesPaginator.js +17 -30
  83. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +535 -541
  84. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  85. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  86. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  87. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  88. package/{dist/types → dist-types}/ServiceDiscovery.d.ts +2 -2
  89. package/{dist/types → dist-types}/ServiceDiscoveryClient.d.ts +8 -8
  90. package/{dist/types → dist-types}/commands/CreateHttpNamespaceCommand.d.ts +3 -3
  91. package/{dist/types → dist-types}/commands/CreatePrivateDnsNamespaceCommand.d.ts +3 -3
  92. package/{dist/types → dist-types}/commands/CreatePublicDnsNamespaceCommand.d.ts +3 -3
  93. package/{dist/types → dist-types}/commands/CreateServiceCommand.d.ts +3 -3
  94. package/{dist/types → dist-types}/commands/DeleteNamespaceCommand.d.ts +3 -3
  95. package/{dist/types → dist-types}/commands/DeleteServiceCommand.d.ts +3 -3
  96. package/{dist/types → dist-types}/commands/DeregisterInstanceCommand.d.ts +3 -3
  97. package/{dist/types → dist-types}/commands/DiscoverInstancesCommand.d.ts +3 -3
  98. package/{dist/types → dist-types}/commands/GetInstanceCommand.d.ts +3 -3
  99. package/{dist/types → dist-types}/commands/GetInstancesHealthStatusCommand.d.ts +3 -3
  100. package/{dist/types → dist-types}/commands/GetNamespaceCommand.d.ts +3 -3
  101. package/{dist/types → dist-types}/commands/GetOperationCommand.d.ts +3 -3
  102. package/{dist/types → dist-types}/commands/GetServiceCommand.d.ts +3 -3
  103. package/{dist/types → dist-types}/commands/ListInstancesCommand.d.ts +3 -3
  104. package/{dist/types → dist-types}/commands/ListNamespacesCommand.d.ts +3 -3
  105. package/{dist/types → dist-types}/commands/ListOperationsCommand.d.ts +3 -3
  106. package/{dist/types → dist-types}/commands/ListServicesCommand.d.ts +3 -3
  107. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +3 -3
  108. package/{dist/types → dist-types}/commands/RegisterInstanceCommand.d.ts +3 -3
  109. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +3 -3
  110. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +3 -3
  111. package/{dist/types → dist-types}/commands/UpdateHttpNamespaceCommand.d.ts +3 -3
  112. package/{dist/types → dist-types}/commands/UpdateInstanceCustomHealthStatusCommand.d.ts +3 -3
  113. package/{dist/types → dist-types}/commands/UpdatePrivateDnsNamespaceCommand.d.ts +3 -3
  114. package/{dist/types → dist-types}/commands/UpdatePublicDnsNamespaceCommand.d.ts +3 -3
  115. package/{dist/types → dist-types}/commands/UpdateServiceCommand.d.ts +3 -3
  116. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  117. package/{index.ts → dist-types/index.d.ts} +0 -0
  118. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  119. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  120. package/{dist/types → dist-types}/pagination/GetInstancesHealthStatusPaginator.d.ts +1 -1
  121. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  122. package/{dist/types → dist-types}/pagination/ListInstancesPaginator.d.ts +1 -1
  123. package/{dist/types → dist-types}/pagination/ListNamespacesPaginator.d.ts +1 -1
  124. package/{dist/types → dist-types}/pagination/ListOperationsPaginator.d.ts +1 -1
  125. package/{dist/types → dist-types}/pagination/ListServicesPaginator.d.ts +1 -1
  126. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  127. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  128. package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -4
  129. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  130. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  131. package/{dist/types → dist-types}/ts3.4/ServiceDiscovery.d.ts +29 -227
  132. package/{dist/types → dist-types}/ts3.4/ServiceDiscoveryClient.d.ts +32 -102
  133. package/dist-types/ts3.4/commands/CreateHttpNamespaceCommand.d.ts +17 -0
  134. package/dist-types/ts3.4/commands/CreatePrivateDnsNamespaceCommand.d.ts +17 -0
  135. package/dist-types/ts3.4/commands/CreatePublicDnsNamespaceCommand.d.ts +17 -0
  136. package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +17 -0
  137. package/dist-types/ts3.4/commands/DeleteNamespaceCommand.d.ts +17 -0
  138. package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +17 -0
  139. package/dist-types/ts3.4/commands/DeregisterInstanceCommand.d.ts +17 -0
  140. package/dist-types/ts3.4/commands/DiscoverInstancesCommand.d.ts +17 -0
  141. package/dist-types/ts3.4/commands/GetInstanceCommand.d.ts +17 -0
  142. package/dist-types/ts3.4/commands/GetInstancesHealthStatusCommand.d.ts +17 -0
  143. package/dist-types/ts3.4/commands/GetNamespaceCommand.d.ts +17 -0
  144. package/dist-types/ts3.4/commands/GetOperationCommand.d.ts +17 -0
  145. package/dist-types/ts3.4/commands/GetServiceCommand.d.ts +17 -0
  146. package/dist-types/ts3.4/commands/ListInstancesCommand.d.ts +17 -0
  147. package/dist-types/ts3.4/commands/ListNamespacesCommand.d.ts +17 -0
  148. package/dist-types/ts3.4/commands/ListOperationsCommand.d.ts +17 -0
  149. package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +17 -0
  150. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -23
  151. package/dist-types/ts3.4/commands/RegisterInstanceCommand.d.ts +17 -0
  152. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  153. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  154. package/{dist/types → dist-types}/ts3.4/commands/UpdateHttpNamespaceCommand.d.ts +5 -24
  155. package/dist-types/ts3.4/commands/UpdateInstanceCustomHealthStatusCommand.d.ts +17 -0
  156. package/{dist/types → dist-types}/ts3.4/commands/UpdatePrivateDnsNamespaceCommand.d.ts +5 -24
  157. package/{dist/types → dist-types}/ts3.4/commands/UpdatePublicDnsNamespaceCommand.d.ts +5 -24
  158. package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +17 -0
  159. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  160. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  161. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  162. package/dist-types/ts3.4/models/models_0.d.ts +1216 -0
  163. package/{dist/types → dist-types}/ts3.4/pagination/GetInstancesHealthStatusPaginator.d.ts +1 -1
  164. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  165. package/{dist/types → dist-types}/ts3.4/pagination/ListInstancesPaginator.d.ts +1 -1
  166. package/{dist/types → dist-types}/ts3.4/pagination/ListNamespacesPaginator.d.ts +1 -1
  167. package/{dist/types → dist-types}/ts3.4/pagination/ListOperationsPaginator.d.ts +1 -1
  168. package/{dist/types → dist-types}/ts3.4/pagination/ListServicesPaginator.d.ts +1 -1
  169. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  170. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  171. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +3 -7
  172. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  173. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  174. package/package.json +52 -49
  175. package/ServiceDiscovery.ts +0 -1074
  176. package/ServiceDiscoveryClient.ts +0 -345
  177. package/commands/CreateHttpNamespaceCommand.ts +0 -98
  178. package/commands/CreatePrivateDnsNamespaceCommand.ts +0 -103
  179. package/commands/CreatePublicDnsNamespaceCommand.ts +0 -99
  180. package/commands/CreateServiceCommand.ts +0 -134
  181. package/commands/DeleteNamespaceCommand.ts +0 -95
  182. package/commands/DeleteServiceCommand.ts +0 -95
  183. package/commands/DeregisterInstanceCommand.ts +0 -95
  184. package/commands/DiscoverInstancesCommand.ts +0 -96
  185. package/commands/GetInstanceCommand.ts +0 -94
  186. package/commands/GetInstancesHealthStatusCommand.ts +0 -99
  187. package/commands/GetNamespaceCommand.ts +0 -94
  188. package/commands/GetOperationCommand.ts +0 -98
  189. package/commands/GetServiceCommand.ts +0 -94
  190. package/commands/ListInstancesCommand.ts +0 -94
  191. package/commands/ListNamespacesCommand.ts +0 -94
  192. package/commands/ListOperationsCommand.ts +0 -94
  193. package/commands/ListServicesCommand.ts +0 -94
  194. package/commands/ListTagsForResourceCommand.ts +0 -94
  195. package/commands/RegisterInstanceCommand.ts +0 -133
  196. package/commands/TagResourceCommand.ts +0 -94
  197. package/commands/UntagResourceCommand.ts +0 -94
  198. package/commands/UpdateHttpNamespaceCommand.ts +0 -95
  199. package/commands/UpdateInstanceCustomHealthStatusCommand.ts +0 -104
  200. package/commands/UpdatePrivateDnsNamespaceCommand.ts +0 -98
  201. package/commands/UpdatePublicDnsNamespaceCommand.ts +0 -95
  202. package/commands/UpdateServiceCommand.ts +0 -118
  203. package/dist/cjs/ServiceDiscovery.js.map +0 -1
  204. package/dist/cjs/ServiceDiscoveryClient.js.map +0 -1
  205. package/dist/cjs/commands/CreateHttpNamespaceCommand.js.map +0 -1
  206. package/dist/cjs/commands/CreatePrivateDnsNamespaceCommand.js +0 -67
  207. package/dist/cjs/commands/CreatePrivateDnsNamespaceCommand.js.map +0 -1
  208. package/dist/cjs/commands/CreatePublicDnsNamespaceCommand.js +0 -66
  209. package/dist/cjs/commands/CreatePublicDnsNamespaceCommand.js.map +0 -1
  210. package/dist/cjs/commands/CreateServiceCommand.js +0 -101
  211. package/dist/cjs/commands/CreateServiceCommand.js.map +0 -1
  212. package/dist/cjs/commands/DeleteNamespaceCommand.js.map +0 -1
  213. package/dist/cjs/commands/DeleteServiceCommand.js.map +0 -1
  214. package/dist/cjs/commands/DeregisterInstanceCommand.js.map +0 -1
  215. package/dist/cjs/commands/DiscoverInstancesCommand.js.map +0 -1
  216. package/dist/cjs/commands/GetInstanceCommand.js.map +0 -1
  217. package/dist/cjs/commands/GetInstancesHealthStatusCommand.js.map +0 -1
  218. package/dist/cjs/commands/GetNamespaceCommand.js.map +0 -1
  219. package/dist/cjs/commands/GetOperationCommand.js.map +0 -1
  220. package/dist/cjs/commands/GetServiceCommand.js.map +0 -1
  221. package/dist/cjs/commands/ListInstancesCommand.js.map +0 -1
  222. package/dist/cjs/commands/ListNamespacesCommand.js.map +0 -1
  223. package/dist/cjs/commands/ListOperationsCommand.js.map +0 -1
  224. package/dist/cjs/commands/ListServicesCommand.js.map +0 -1
  225. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  226. package/dist/cjs/commands/RegisterInstanceCommand.js +0 -100
  227. package/dist/cjs/commands/RegisterInstanceCommand.js.map +0 -1
  228. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  229. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  230. package/dist/cjs/commands/UpdateHttpNamespaceCommand.js.map +0 -1
  231. package/dist/cjs/commands/UpdateInstanceCustomHealthStatusCommand.js.map +0 -1
  232. package/dist/cjs/commands/UpdatePrivateDnsNamespaceCommand.js.map +0 -1
  233. package/dist/cjs/commands/UpdatePublicDnsNamespaceCommand.js.map +0 -1
  234. package/dist/cjs/commands/UpdateServiceCommand.js +0 -85
  235. package/dist/cjs/commands/UpdateServiceCommand.js.map +0 -1
  236. package/dist/cjs/endpoints.js.map +0 -1
  237. package/dist/cjs/index.js.map +0 -1
  238. package/dist/cjs/models/index.js.map +0 -1
  239. package/dist/cjs/models/models_0.js.map +0 -1
  240. package/dist/cjs/package.json +0 -93
  241. package/dist/cjs/pagination/GetInstancesHealthStatusPaginator.js.map +0 -1
  242. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  243. package/dist/cjs/pagination/ListInstancesPaginator.js.map +0 -1
  244. package/dist/cjs/pagination/ListNamespacesPaginator.js.map +0 -1
  245. package/dist/cjs/pagination/ListOperationsPaginator.js.map +0 -1
  246. package/dist/cjs/pagination/ListServicesPaginator.js.map +0 -1
  247. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  248. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  249. package/dist/cjs/runtimeConfig.js.map +0 -1
  250. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  251. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  252. package/dist/es/ServiceDiscovery.js.map +0 -1
  253. package/dist/es/ServiceDiscoveryClient.js.map +0 -1
  254. package/dist/es/commands/CreateHttpNamespaceCommand.js.map +0 -1
  255. package/dist/es/commands/CreatePrivateDnsNamespaceCommand.js.map +0 -1
  256. package/dist/es/commands/CreatePublicDnsNamespaceCommand.js.map +0 -1
  257. package/dist/es/commands/CreateServiceCommand.js +0 -105
  258. package/dist/es/commands/CreateServiceCommand.js.map +0 -1
  259. package/dist/es/commands/DeleteNamespaceCommand.js.map +0 -1
  260. package/dist/es/commands/DeleteServiceCommand.js.map +0 -1
  261. package/dist/es/commands/DeregisterInstanceCommand.js.map +0 -1
  262. package/dist/es/commands/DiscoverInstancesCommand.js.map +0 -1
  263. package/dist/es/commands/GetInstanceCommand.js.map +0 -1
  264. package/dist/es/commands/GetInstancesHealthStatusCommand.js.map +0 -1
  265. package/dist/es/commands/GetNamespaceCommand.js.map +0 -1
  266. package/dist/es/commands/GetOperationCommand.js.map +0 -1
  267. package/dist/es/commands/GetServiceCommand.js.map +0 -1
  268. package/dist/es/commands/ListInstancesCommand.js.map +0 -1
  269. package/dist/es/commands/ListNamespacesCommand.js.map +0 -1
  270. package/dist/es/commands/ListOperationsCommand.js.map +0 -1
  271. package/dist/es/commands/ListServicesCommand.js.map +0 -1
  272. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  273. package/dist/es/commands/RegisterInstanceCommand.js +0 -104
  274. package/dist/es/commands/RegisterInstanceCommand.js.map +0 -1
  275. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  276. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  277. package/dist/es/commands/UpdateHttpNamespaceCommand.js.map +0 -1
  278. package/dist/es/commands/UpdateInstanceCustomHealthStatusCommand.js.map +0 -1
  279. package/dist/es/commands/UpdatePrivateDnsNamespaceCommand.js.map +0 -1
  280. package/dist/es/commands/UpdatePublicDnsNamespaceCommand.js.map +0 -1
  281. package/dist/es/commands/UpdateServiceCommand.js +0 -89
  282. package/dist/es/commands/UpdateServiceCommand.js.map +0 -1
  283. package/dist/es/endpoints.js.map +0 -1
  284. package/dist/es/index.js +0 -36
  285. package/dist/es/index.js.map +0 -1
  286. package/dist/es/models/index.js +0 -2
  287. package/dist/es/models/index.js.map +0 -1
  288. package/dist/es/models/models_0.js.map +0 -1
  289. package/dist/es/package.json +0 -93
  290. package/dist/es/pagination/GetInstancesHealthStatusPaginator.js.map +0 -1
  291. package/dist/es/pagination/Interfaces.js +0 -2
  292. package/dist/es/pagination/Interfaces.js.map +0 -1
  293. package/dist/es/pagination/ListInstancesPaginator.js.map +0 -1
  294. package/dist/es/pagination/ListNamespacesPaginator.js.map +0 -1
  295. package/dist/es/pagination/ListOperationsPaginator.js.map +0 -1
  296. package/dist/es/pagination/ListServicesPaginator.js.map +0 -1
  297. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  298. package/dist/es/runtimeConfig.browser.js.map +0 -1
  299. package/dist/es/runtimeConfig.js.map +0 -1
  300. package/dist/es/runtimeConfig.native.js.map +0 -1
  301. package/dist/es/runtimeConfig.shared.js.map +0 -1
  302. package/dist/types/ts3.4/commands/CreateHttpNamespaceCommand.d.ts +0 -39
  303. package/dist/types/ts3.4/commands/CreatePrivateDnsNamespaceCommand.d.ts +0 -41
  304. package/dist/types/ts3.4/commands/CreatePublicDnsNamespaceCommand.d.ts +0 -40
  305. package/dist/types/ts3.4/commands/CreateServiceCommand.d.ts +0 -75
  306. package/dist/types/ts3.4/commands/DeleteNamespaceCommand.d.ts +0 -36
  307. package/dist/types/ts3.4/commands/DeleteServiceCommand.d.ts +0 -36
  308. package/dist/types/ts3.4/commands/DeregisterInstanceCommand.d.ts +0 -36
  309. package/dist/types/ts3.4/commands/DiscoverInstancesCommand.d.ts +0 -37
  310. package/dist/types/ts3.4/commands/GetInstanceCommand.d.ts +0 -35
  311. package/dist/types/ts3.4/commands/GetInstancesHealthStatusCommand.d.ts +0 -40
  312. package/dist/types/ts3.4/commands/GetNamespaceCommand.d.ts +0 -35
  313. package/dist/types/ts3.4/commands/GetOperationCommand.d.ts +0 -39
  314. package/dist/types/ts3.4/commands/GetServiceCommand.d.ts +0 -35
  315. package/dist/types/ts3.4/commands/ListInstancesCommand.d.ts +0 -35
  316. package/dist/types/ts3.4/commands/ListNamespacesCommand.d.ts +0 -35
  317. package/dist/types/ts3.4/commands/ListOperationsCommand.d.ts +0 -35
  318. package/dist/types/ts3.4/commands/ListServicesCommand.d.ts +0 -35
  319. package/dist/types/ts3.4/commands/RegisterInstanceCommand.d.ts +0 -74
  320. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
  321. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
  322. package/dist/types/ts3.4/commands/UpdateInstanceCustomHealthStatusCommand.d.ts +0 -39
  323. package/dist/types/ts3.4/commands/UpdateServiceCommand.d.ts +0 -59
  324. package/dist/types/ts3.4/models/models_0.d.ts +0 -3082
  325. package/endpoints.ts +0 -63
  326. package/jest.config.js +0 -4
  327. package/models/models_0.ts +0 -3606
  328. package/pagination/GetInstancesHealthStatusPaginator.ts +0 -58
  329. package/pagination/Interfaces.ts +0 -7
  330. package/pagination/ListInstancesPaginator.ts +0 -58
  331. package/pagination/ListNamespacesPaginator.ts +0 -58
  332. package/pagination/ListOperationsPaginator.ts +0 -58
  333. package/pagination/ListServicesPaginator.ts +0 -58
  334. package/protocols/Aws_json1_1.ts +0 -3936
  335. package/runtimeConfig.browser.ts +0 -40
  336. package/runtimeConfig.native.ts +0 -16
  337. package/runtimeConfig.shared.ts +0 -16
  338. package/runtimeConfig.ts +0 -45
  339. package/tsconfig.es.json +0 -12
  340. package/tsconfig.json +0 -32
@@ -1,94 +0,0 @@
1
- import { ServiceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServiceDiscoveryClient";
2
- import { ListServicesRequest, ListServicesResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1ListServicesCommand,
5
- serializeAws_json1_1ListServicesCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface ListServicesCommandInput extends ListServicesRequest {}
21
- export interface ListServicesCommandOutput extends ListServicesResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Lists summary information for all the services that are associated with one or more specified namespaces.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { ServiceDiscoveryClient, ListServicesCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
29
- * // const { ServiceDiscoveryClient, ListServicesCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
30
- * const client = new ServiceDiscoveryClient(config);
31
- * const command = new ListServicesCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link ListServicesCommandInput} for command's `input` shape.
36
- * @see {@link ListServicesCommandOutput} for command's `response` shape.
37
- * @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class ListServicesCommand extends $Command<
41
- ListServicesCommandInput,
42
- ListServicesCommandOutput,
43
- ServiceDiscoveryClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: ListServicesCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: ServiceDiscoveryClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<ListServicesCommandInput, ListServicesCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "ServiceDiscoveryClient";
68
- const commandName = "ListServicesCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: ListServicesRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: ListServicesResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: ListServicesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1ListServicesCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListServicesCommandOutput> {
89
- return deserializeAws_json1_1ListServicesCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { ServiceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServiceDiscoveryClient";
2
- import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1ListTagsForResourceCommand,
5
- serializeAws_json1_1ListTagsForResourceCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
21
- export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Lists tags for the specified resource.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { ServiceDiscoveryClient, ListTagsForResourceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
29
- * // const { ServiceDiscoveryClient, ListTagsForResourceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
30
- * const client = new ServiceDiscoveryClient(config);
31
- * const command = new ListTagsForResourceCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
36
- * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
37
- * @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class ListTagsForResourceCommand extends $Command<
41
- ListTagsForResourceCommandInput,
42
- ListTagsForResourceCommandOutput,
43
- ServiceDiscoveryClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: ListTagsForResourceCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: ServiceDiscoveryClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "ServiceDiscoveryClient";
68
- const commandName = "ListTagsForResourceCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1ListTagsForResourceCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
89
- return deserializeAws_json1_1ListTagsForResourceCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,133 +0,0 @@
1
- import { ServiceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServiceDiscoveryClient";
2
- import { RegisterInstanceRequest, RegisterInstanceResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1RegisterInstanceCommand,
5
- serializeAws_json1_1RegisterInstanceCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface RegisterInstanceCommandInput extends RegisterInstanceRequest {}
21
- export interface RegisterInstanceCommandOutput extends RegisterInstanceResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates or updates one or more records and, optionally, creates a health check based on the settings in a
25
- * specified service. When you submit a <code>RegisterInstance</code> request, the following occurs:</p>
26
- * <ul>
27
- * <li>
28
- * <p>For each DNS record that you define in the service that's specified by <code>ServiceId</code>, a record is
29
- * created or updated in the hosted zone that's associated with the corresponding namespace.</p>
30
- * </li>
31
- * <li>
32
- * <p>If the service includes <code>HealthCheckConfig</code>, a health check is created based on the settings in the
33
- * health check configuration.</p>
34
- * </li>
35
- * <li>
36
- * <p>The health check, if any, is associated with each of the new or updated records.</p>
37
- * </li>
38
- * </ul>
39
- * <important>
40
- * <p>One <code>RegisterInstance</code> request must complete before you can submit another request and specify the
41
- * same service ID and instance ID.</p>
42
- * </important>
43
- * <p>For more information, see <a href="https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html">CreateService</a>.</p>
44
- * <p>When Cloud Map receives a DNS query for the specified DNS name, it returns the applicable value:</p>
45
- * <ul>
46
- * <li>
47
- * <p>
48
- * <b>If the health check is healthy</b>: returns all the records</p>
49
- * </li>
50
- * <li>
51
- * <p>
52
- * <b>If the health check is unhealthy</b>: returns the applicable value for the last
53
- * healthy instance</p>
54
- * </li>
55
- * <li>
56
- * <p>
57
- * <b>If you didn't specify a health check configuration</b>: returns all the
58
- * records</p>
59
- * </li>
60
- * </ul>
61
- * <p>For the current quota on the number of instances that you can register using the same namespace and using the
62
- * same service, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">Cloud Map
63
- * quotas</a> in the <i>Cloud Map Developer Guide</i>.</p>
64
- * @example
65
- * Use a bare-bones client and the command you need to make an API call.
66
- * ```javascript
67
- * import { ServiceDiscoveryClient, RegisterInstanceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
68
- * // const { ServiceDiscoveryClient, RegisterInstanceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
69
- * const client = new ServiceDiscoveryClient(config);
70
- * const command = new RegisterInstanceCommand(input);
71
- * const response = await client.send(command);
72
- * ```
73
- *
74
- * @see {@link RegisterInstanceCommandInput} for command's `input` shape.
75
- * @see {@link RegisterInstanceCommandOutput} for command's `response` shape.
76
- * @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
77
- *
78
- */
79
- export class RegisterInstanceCommand extends $Command<
80
- RegisterInstanceCommandInput,
81
- RegisterInstanceCommandOutput,
82
- ServiceDiscoveryClientResolvedConfig
83
- > {
84
- // Start section: command_properties
85
- // End section: command_properties
86
-
87
- constructor(readonly input: RegisterInstanceCommandInput) {
88
- // Start section: command_constructor
89
- super();
90
- // End section: command_constructor
91
- }
92
-
93
- /**
94
- * @internal
95
- */
96
- resolveMiddleware(
97
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
98
- configuration: ServiceDiscoveryClientResolvedConfig,
99
- options?: __HttpHandlerOptions
100
- ): Handler<RegisterInstanceCommandInput, RegisterInstanceCommandOutput> {
101
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
102
-
103
- const stack = clientStack.concat(this.middlewareStack);
104
-
105
- const { logger } = configuration;
106
- const clientName = "ServiceDiscoveryClient";
107
- const commandName = "RegisterInstanceCommand";
108
- const handlerExecutionContext: HandlerExecutionContext = {
109
- logger,
110
- clientName,
111
- commandName,
112
- inputFilterSensitiveLog: RegisterInstanceRequest.filterSensitiveLog,
113
- outputFilterSensitiveLog: RegisterInstanceResponse.filterSensitiveLog,
114
- };
115
- const { requestHandler } = configuration;
116
- return stack.resolve(
117
- (request: FinalizeHandlerArguments<any>) =>
118
- requestHandler.handle(request.request as __HttpRequest, options || {}),
119
- handlerExecutionContext
120
- );
121
- }
122
-
123
- private serialize(input: RegisterInstanceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
124
- return serializeAws_json1_1RegisterInstanceCommand(input, context);
125
- }
126
-
127
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<RegisterInstanceCommandOutput> {
128
- return deserializeAws_json1_1RegisterInstanceCommand(output, context);
129
- }
130
-
131
- // Start section: command_body_extra
132
- // End section: command_body_extra
133
- }
@@ -1,94 +0,0 @@
1
- import { ServiceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServiceDiscoveryClient";
2
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1TagResourceCommand,
5
- serializeAws_json1_1TagResourceCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface TagResourceCommandInput extends TagResourceRequest {}
21
- export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Adds one or more tags to the specified resource.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { ServiceDiscoveryClient, TagResourceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
29
- * // const { ServiceDiscoveryClient, TagResourceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
30
- * const client = new ServiceDiscoveryClient(config);
31
- * const command = new TagResourceCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link TagResourceCommandInput} for command's `input` shape.
36
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
37
- * @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class TagResourceCommand extends $Command<
41
- TagResourceCommandInput,
42
- TagResourceCommandOutput,
43
- ServiceDiscoveryClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: TagResourceCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: ServiceDiscoveryClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<TagResourceCommandInput, TagResourceCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "ServiceDiscoveryClient";
68
- const commandName = "TagResourceCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: TagResourceResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1TagResourceCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
89
- return deserializeAws_json1_1TagResourceCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { ServiceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServiceDiscoveryClient";
2
- import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1UntagResourceCommand,
5
- serializeAws_json1_1UntagResourceCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface UntagResourceCommandInput extends UntagResourceRequest {}
21
- export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Removes one or more tags from the specified resource.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { ServiceDiscoveryClient, UntagResourceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
29
- * // const { ServiceDiscoveryClient, UntagResourceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
30
- * const client = new ServiceDiscoveryClient(config);
31
- * const command = new UntagResourceCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
36
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
37
- * @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class UntagResourceCommand extends $Command<
41
- UntagResourceCommandInput,
42
- UntagResourceCommandOutput,
43
- ServiceDiscoveryClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: UntagResourceCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: ServiceDiscoveryClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<UntagResourceCommandInput, UntagResourceCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "ServiceDiscoveryClient";
68
- const commandName = "UntagResourceCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: UntagResourceResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1UntagResourceCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
89
- return deserializeAws_json1_1UntagResourceCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,95 +0,0 @@
1
- import { ServiceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServiceDiscoveryClient";
2
- import { UpdateHttpNamespaceRequest, UpdateHttpNamespaceResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1UpdateHttpNamespaceCommand,
5
- serializeAws_json1_1UpdateHttpNamespaceCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface UpdateHttpNamespaceCommandInput extends UpdateHttpNamespaceRequest {}
21
- export interface UpdateHttpNamespaceCommandOutput extends UpdateHttpNamespaceResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Updates an HTTP
25
- * namespace.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { ServiceDiscoveryClient, UpdateHttpNamespaceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
30
- * // const { ServiceDiscoveryClient, UpdateHttpNamespaceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
31
- * const client = new ServiceDiscoveryClient(config);
32
- * const command = new UpdateHttpNamespaceCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link UpdateHttpNamespaceCommandInput} for command's `input` shape.
37
- * @see {@link UpdateHttpNamespaceCommandOutput} for command's `response` shape.
38
- * @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class UpdateHttpNamespaceCommand extends $Command<
42
- UpdateHttpNamespaceCommandInput,
43
- UpdateHttpNamespaceCommandOutput,
44
- ServiceDiscoveryClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: UpdateHttpNamespaceCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: ServiceDiscoveryClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<UpdateHttpNamespaceCommandInput, UpdateHttpNamespaceCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "ServiceDiscoveryClient";
69
- const commandName = "UpdateHttpNamespaceCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: UpdateHttpNamespaceRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: UpdateHttpNamespaceResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: UpdateHttpNamespaceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1UpdateHttpNamespaceCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateHttpNamespaceCommandOutput> {
90
- return deserializeAws_json1_1UpdateHttpNamespaceCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }