@aws-sdk/client-odb 3.841.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 (291) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +525 -0
  3. package/dist-cjs/Odb.js +91 -0
  4. package/dist-cjs/OdbClient.js +52 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/AcceptMarketplaceRegistrationCommand.js +26 -0
  8. package/dist-cjs/commands/CreateCloudAutonomousVmClusterCommand.js +26 -0
  9. package/dist-cjs/commands/CreateCloudExadataInfrastructureCommand.js +27 -0
  10. package/dist-cjs/commands/CreateCloudVmClusterCommand.js +26 -0
  11. package/dist-cjs/commands/CreateOdbNetworkCommand.js +26 -0
  12. package/dist-cjs/commands/CreateOdbPeeringConnectionCommand.js +26 -0
  13. package/dist-cjs/commands/DeleteCloudAutonomousVmClusterCommand.js +26 -0
  14. package/dist-cjs/commands/DeleteCloudExadataInfrastructureCommand.js +26 -0
  15. package/dist-cjs/commands/DeleteCloudVmClusterCommand.js +26 -0
  16. package/dist-cjs/commands/DeleteOdbNetworkCommand.js +26 -0
  17. package/dist-cjs/commands/DeleteOdbPeeringConnectionCommand.js +26 -0
  18. package/dist-cjs/commands/GetCloudAutonomousVmClusterCommand.js +26 -0
  19. package/dist-cjs/commands/GetCloudExadataInfrastructureCommand.js +27 -0
  20. package/dist-cjs/commands/GetCloudExadataInfrastructureUnallocatedResourcesCommand.js +26 -0
  21. package/dist-cjs/commands/GetCloudVmClusterCommand.js +27 -0
  22. package/dist-cjs/commands/GetDbNodeCommand.js +26 -0
  23. package/dist-cjs/commands/GetDbServerCommand.js +26 -0
  24. package/dist-cjs/commands/GetOciOnboardingStatusCommand.js +26 -0
  25. package/dist-cjs/commands/GetOdbNetworkCommand.js +26 -0
  26. package/dist-cjs/commands/GetOdbPeeringConnectionCommand.js +26 -0
  27. package/dist-cjs/commands/InitializeServiceCommand.js +26 -0
  28. package/dist-cjs/commands/ListAutonomousVirtualMachinesCommand.js +26 -0
  29. package/dist-cjs/commands/ListCloudAutonomousVmClustersCommand.js +26 -0
  30. package/dist-cjs/commands/ListCloudExadataInfrastructuresCommand.js +27 -0
  31. package/dist-cjs/commands/ListCloudVmClustersCommand.js +27 -0
  32. package/dist-cjs/commands/ListDbNodesCommand.js +26 -0
  33. package/dist-cjs/commands/ListDbServersCommand.js +26 -0
  34. package/dist-cjs/commands/ListDbSystemShapesCommand.js +26 -0
  35. package/dist-cjs/commands/ListGiVersionsCommand.js +26 -0
  36. package/dist-cjs/commands/ListOdbNetworksCommand.js +26 -0
  37. package/dist-cjs/commands/ListOdbPeeringConnectionsCommand.js +26 -0
  38. package/dist-cjs/commands/ListSystemVersionsCommand.js +26 -0
  39. package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
  40. package/dist-cjs/commands/RebootDbNodeCommand.js +26 -0
  41. package/dist-cjs/commands/StartDbNodeCommand.js +26 -0
  42. package/dist-cjs/commands/StopDbNodeCommand.js +26 -0
  43. package/dist-cjs/commands/TagResourceCommand.js +26 -0
  44. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  45. package/dist-cjs/commands/UpdateCloudExadataInfrastructureCommand.js +26 -0
  46. package/dist-cjs/commands/UpdateOdbNetworkCommand.js +26 -0
  47. package/dist-cjs/commands/index.js +43 -0
  48. package/dist-cjs/endpoint/EndpointParameters.js +17 -0
  49. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  50. package/dist-cjs/endpoint/ruleset.js +7 -0
  51. package/dist-cjs/extensionConfiguration.js +2 -0
  52. package/dist-cjs/index.js +11 -0
  53. package/dist-cjs/models/OdbServiceException.js +12 -0
  54. package/dist-cjs/models/index.js +4 -0
  55. package/dist-cjs/models/models_0.js +303 -0
  56. package/dist-cjs/pagination/Interfaces.js +2 -0
  57. package/dist-cjs/pagination/ListAutonomousVirtualMachinesPaginator.js +7 -0
  58. package/dist-cjs/pagination/ListCloudAutonomousVmClustersPaginator.js +7 -0
  59. package/dist-cjs/pagination/ListCloudExadataInfrastructuresPaginator.js +7 -0
  60. package/dist-cjs/pagination/ListCloudVmClustersPaginator.js +7 -0
  61. package/dist-cjs/pagination/ListDbNodesPaginator.js +7 -0
  62. package/dist-cjs/pagination/ListDbServersPaginator.js +7 -0
  63. package/dist-cjs/pagination/ListDbSystemShapesPaginator.js +7 -0
  64. package/dist-cjs/pagination/ListGiVersionsPaginator.js +7 -0
  65. package/dist-cjs/pagination/ListOdbNetworksPaginator.js +7 -0
  66. package/dist-cjs/pagination/ListOdbPeeringConnectionsPaginator.js +7 -0
  67. package/dist-cjs/pagination/ListSystemVersionsPaginator.js +7 -0
  68. package/dist-cjs/pagination/index.js +15 -0
  69. package/dist-cjs/protocols/Aws_json1_0.js +1698 -0
  70. package/dist-cjs/runtimeConfig.browser.js +39 -0
  71. package/dist-cjs/runtimeConfig.js +56 -0
  72. package/dist-cjs/runtimeConfig.native.js +15 -0
  73. package/dist-cjs/runtimeConfig.shared.js +34 -0
  74. package/dist-cjs/runtimeExtensions.js +13 -0
  75. package/dist-es/Odb.js +87 -0
  76. package/dist-es/OdbClient.js +48 -0
  77. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  78. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  79. package/dist-es/commands/AcceptMarketplaceRegistrationCommand.js +22 -0
  80. package/dist-es/commands/CreateCloudAutonomousVmClusterCommand.js +22 -0
  81. package/dist-es/commands/CreateCloudExadataInfrastructureCommand.js +23 -0
  82. package/dist-es/commands/CreateCloudVmClusterCommand.js +22 -0
  83. package/dist-es/commands/CreateOdbNetworkCommand.js +22 -0
  84. package/dist-es/commands/CreateOdbPeeringConnectionCommand.js +22 -0
  85. package/dist-es/commands/DeleteCloudAutonomousVmClusterCommand.js +22 -0
  86. package/dist-es/commands/DeleteCloudExadataInfrastructureCommand.js +22 -0
  87. package/dist-es/commands/DeleteCloudVmClusterCommand.js +22 -0
  88. package/dist-es/commands/DeleteOdbNetworkCommand.js +22 -0
  89. package/dist-es/commands/DeleteOdbPeeringConnectionCommand.js +22 -0
  90. package/dist-es/commands/GetCloudAutonomousVmClusterCommand.js +22 -0
  91. package/dist-es/commands/GetCloudExadataInfrastructureCommand.js +23 -0
  92. package/dist-es/commands/GetCloudExadataInfrastructureUnallocatedResourcesCommand.js +22 -0
  93. package/dist-es/commands/GetCloudVmClusterCommand.js +23 -0
  94. package/dist-es/commands/GetDbNodeCommand.js +22 -0
  95. package/dist-es/commands/GetDbServerCommand.js +22 -0
  96. package/dist-es/commands/GetOciOnboardingStatusCommand.js +22 -0
  97. package/dist-es/commands/GetOdbNetworkCommand.js +22 -0
  98. package/dist-es/commands/GetOdbPeeringConnectionCommand.js +22 -0
  99. package/dist-es/commands/InitializeServiceCommand.js +22 -0
  100. package/dist-es/commands/ListAutonomousVirtualMachinesCommand.js +22 -0
  101. package/dist-es/commands/ListCloudAutonomousVmClustersCommand.js +22 -0
  102. package/dist-es/commands/ListCloudExadataInfrastructuresCommand.js +23 -0
  103. package/dist-es/commands/ListCloudVmClustersCommand.js +23 -0
  104. package/dist-es/commands/ListDbNodesCommand.js +22 -0
  105. package/dist-es/commands/ListDbServersCommand.js +22 -0
  106. package/dist-es/commands/ListDbSystemShapesCommand.js +22 -0
  107. package/dist-es/commands/ListGiVersionsCommand.js +22 -0
  108. package/dist-es/commands/ListOdbNetworksCommand.js +22 -0
  109. package/dist-es/commands/ListOdbPeeringConnectionsCommand.js +22 -0
  110. package/dist-es/commands/ListSystemVersionsCommand.js +22 -0
  111. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  112. package/dist-es/commands/RebootDbNodeCommand.js +22 -0
  113. package/dist-es/commands/StartDbNodeCommand.js +22 -0
  114. package/dist-es/commands/StopDbNodeCommand.js +22 -0
  115. package/dist-es/commands/TagResourceCommand.js +22 -0
  116. package/dist-es/commands/UntagResourceCommand.js +22 -0
  117. package/dist-es/commands/UpdateCloudExadataInfrastructureCommand.js +22 -0
  118. package/dist-es/commands/UpdateOdbNetworkCommand.js +22 -0
  119. package/dist-es/commands/index.js +40 -0
  120. package/dist-es/endpoint/EndpointParameters.js +13 -0
  121. package/dist-es/endpoint/endpointResolver.js +14 -0
  122. package/dist-es/endpoint/ruleset.js +4 -0
  123. package/dist-es/extensionConfiguration.js +1 -0
  124. package/dist-es/index.js +6 -0
  125. package/dist-es/models/OdbServiceException.js +8 -0
  126. package/dist-es/models/index.js +1 -0
  127. package/dist-es/models/models_0.js +283 -0
  128. package/dist-es/pagination/Interfaces.js +1 -0
  129. package/dist-es/pagination/ListAutonomousVirtualMachinesPaginator.js +4 -0
  130. package/dist-es/pagination/ListCloudAutonomousVmClustersPaginator.js +4 -0
  131. package/dist-es/pagination/ListCloudExadataInfrastructuresPaginator.js +4 -0
  132. package/dist-es/pagination/ListCloudVmClustersPaginator.js +4 -0
  133. package/dist-es/pagination/ListDbNodesPaginator.js +4 -0
  134. package/dist-es/pagination/ListDbServersPaginator.js +4 -0
  135. package/dist-es/pagination/ListDbSystemShapesPaginator.js +4 -0
  136. package/dist-es/pagination/ListGiVersionsPaginator.js +4 -0
  137. package/dist-es/pagination/ListOdbNetworksPaginator.js +4 -0
  138. package/dist-es/pagination/ListOdbPeeringConnectionsPaginator.js +4 -0
  139. package/dist-es/pagination/ListSystemVersionsPaginator.js +4 -0
  140. package/dist-es/pagination/index.js +12 -0
  141. package/dist-es/protocols/Aws_json1_0.js +1614 -0
  142. package/dist-es/runtimeConfig.browser.js +34 -0
  143. package/dist-es/runtimeConfig.js +51 -0
  144. package/dist-es/runtimeConfig.native.js +11 -0
  145. package/dist-es/runtimeConfig.shared.js +30 -0
  146. package/dist-es/runtimeExtensions.js +9 -0
  147. package/dist-types/Odb.d.ts +299 -0
  148. package/dist-types/OdbClient.d.ts +227 -0
  149. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  150. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  151. package/dist-types/commands/AcceptMarketplaceRegistrationCommand.d.ts +85 -0
  152. package/dist-types/commands/CreateCloudAutonomousVmClusterCommand.d.ts +139 -0
  153. package/dist-types/commands/CreateCloudExadataInfrastructureCommand.d.ts +133 -0
  154. package/dist-types/commands/CreateCloudVmClusterCommand.d.ts +126 -0
  155. package/dist-types/commands/CreateOdbNetworkCommand.d.ts +106 -0
  156. package/dist-types/commands/CreateOdbPeeringConnectionCommand.d.ts +99 -0
  157. package/dist-types/commands/DeleteCloudAutonomousVmClusterCommand.d.ts +85 -0
  158. package/dist-types/commands/DeleteCloudExadataInfrastructureCommand.d.ts +88 -0
  159. package/dist-types/commands/DeleteCloudVmClusterCommand.d.ts +85 -0
  160. package/dist-types/commands/DeleteOdbNetworkCommand.d.ts +86 -0
  161. package/dist-types/commands/DeleteOdbPeeringConnectionCommand.d.ts +85 -0
  162. package/dist-types/commands/GetCloudAutonomousVmClusterCommand.d.ts +162 -0
  163. package/dist-types/commands/GetCloudExadataInfrastructureCommand.d.ts +153 -0
  164. package/dist-types/commands/GetCloudExadataInfrastructureUnallocatedResourcesCommand.d.ts +103 -0
  165. package/dist-types/commands/GetCloudVmClusterCommand.d.ts +151 -0
  166. package/dist-types/commands/GetDbNodeCommand.d.ts +117 -0
  167. package/dist-types/commands/GetDbServerCommand.d.ts +120 -0
  168. package/dist-types/commands/GetOciOnboardingStatusCommand.d.ts +84 -0
  169. package/dist-types/commands/GetOdbNetworkCommand.d.ts +140 -0
  170. package/dist-types/commands/GetOdbPeeringConnectionCommand.d.ts +98 -0
  171. package/dist-types/commands/InitializeServiceCommand.d.ts +80 -0
  172. package/dist-types/commands/ListAutonomousVirtualMachinesCommand.d.ts +106 -0
  173. package/dist-types/commands/ListCloudAutonomousVmClustersCommand.d.ts +167 -0
  174. package/dist-types/commands/ListCloudExadataInfrastructuresCommand.d.ts +154 -0
  175. package/dist-types/commands/ListCloudVmClustersCommand.d.ts +156 -0
  176. package/dist-types/commands/ListDbNodesCommand.d.ts +119 -0
  177. package/dist-types/commands/ListDbServersCommand.d.ts +124 -0
  178. package/dist-types/commands/ListDbSystemShapesCommand.d.ts +115 -0
  179. package/dist-types/commands/ListGiVersionsCommand.d.ts +91 -0
  180. package/dist-types/commands/ListOdbNetworksCommand.d.ts +141 -0
  181. package/dist-types/commands/ListOdbPeeringConnectionsCommand.d.ts +103 -0
  182. package/dist-types/commands/ListSystemVersionsCommand.d.ts +99 -0
  183. package/dist-types/commands/ListTagsForResourceCommand.d.ts +77 -0
  184. package/dist-types/commands/RebootDbNodeCommand.d.ts +90 -0
  185. package/dist-types/commands/StartDbNodeCommand.d.ts +90 -0
  186. package/dist-types/commands/StopDbNodeCommand.d.ts +90 -0
  187. package/dist-types/commands/TagResourceCommand.d.ts +79 -0
  188. package/dist-types/commands/UntagResourceCommand.d.ts +76 -0
  189. package/dist-types/commands/UpdateCloudExadataInfrastructureCommand.d.ts +117 -0
  190. package/dist-types/commands/UpdateOdbNetworkCommand.d.ts +103 -0
  191. package/dist-types/commands/index.d.ts +40 -0
  192. package/dist-types/endpoint/EndpointParameters.d.ts +38 -0
  193. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  194. package/dist-types/endpoint/ruleset.d.ts +2 -0
  195. package/dist-types/extensionConfiguration.d.ts +9 -0
  196. package/dist-types/index.d.ts +14 -0
  197. package/dist-types/models/OdbServiceException.d.ts +14 -0
  198. package/dist-types/models/index.d.ts +1 -0
  199. package/dist-types/models/models_0.d.ts +4654 -0
  200. package/dist-types/pagination/Interfaces.d.ts +8 -0
  201. package/dist-types/pagination/ListAutonomousVirtualMachinesPaginator.d.ts +7 -0
  202. package/dist-types/pagination/ListCloudAutonomousVmClustersPaginator.d.ts +7 -0
  203. package/dist-types/pagination/ListCloudExadataInfrastructuresPaginator.d.ts +7 -0
  204. package/dist-types/pagination/ListCloudVmClustersPaginator.d.ts +7 -0
  205. package/dist-types/pagination/ListDbNodesPaginator.d.ts +7 -0
  206. package/dist-types/pagination/ListDbServersPaginator.d.ts +7 -0
  207. package/dist-types/pagination/ListDbSystemShapesPaginator.d.ts +7 -0
  208. package/dist-types/pagination/ListGiVersionsPaginator.d.ts +7 -0
  209. package/dist-types/pagination/ListOdbNetworksPaginator.d.ts +7 -0
  210. package/dist-types/pagination/ListOdbPeeringConnectionsPaginator.d.ts +7 -0
  211. package/dist-types/pagination/ListSystemVersionsPaginator.d.ts +7 -0
  212. package/dist-types/pagination/index.d.ts +12 -0
  213. package/dist-types/protocols/Aws_json1_0.d.ts +362 -0
  214. package/dist-types/runtimeConfig.browser.d.ts +50 -0
  215. package/dist-types/runtimeConfig.d.ts +50 -0
  216. package/dist-types/runtimeConfig.native.d.ts +49 -0
  217. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  218. package/dist-types/runtimeExtensions.d.ts +17 -0
  219. package/dist-types/ts3.4/Odb.d.ts +700 -0
  220. package/dist-types/ts3.4/OdbClient.d.ts +356 -0
  221. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  222. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +46 -0
  223. package/dist-types/ts3.4/commands/AcceptMarketplaceRegistrationCommand.d.ts +51 -0
  224. package/dist-types/ts3.4/commands/CreateCloudAutonomousVmClusterCommand.d.ts +51 -0
  225. package/dist-types/ts3.4/commands/CreateCloudExadataInfrastructureCommand.d.ts +51 -0
  226. package/dist-types/ts3.4/commands/CreateCloudVmClusterCommand.d.ts +51 -0
  227. package/dist-types/ts3.4/commands/CreateOdbNetworkCommand.d.ts +50 -0
  228. package/dist-types/ts3.4/commands/CreateOdbPeeringConnectionCommand.d.ts +51 -0
  229. package/dist-types/ts3.4/commands/DeleteCloudAutonomousVmClusterCommand.d.ts +51 -0
  230. package/dist-types/ts3.4/commands/DeleteCloudExadataInfrastructureCommand.d.ts +51 -0
  231. package/dist-types/ts3.4/commands/DeleteCloudVmClusterCommand.d.ts +51 -0
  232. package/dist-types/ts3.4/commands/DeleteOdbNetworkCommand.d.ts +50 -0
  233. package/dist-types/ts3.4/commands/DeleteOdbPeeringConnectionCommand.d.ts +51 -0
  234. package/dist-types/ts3.4/commands/GetCloudAutonomousVmClusterCommand.d.ts +51 -0
  235. package/dist-types/ts3.4/commands/GetCloudExadataInfrastructureCommand.d.ts +51 -0
  236. package/dist-types/ts3.4/commands/GetCloudExadataInfrastructureUnallocatedResourcesCommand.d.ts +51 -0
  237. package/dist-types/ts3.4/commands/GetCloudVmClusterCommand.d.ts +50 -0
  238. package/dist-types/ts3.4/commands/GetDbNodeCommand.d.ts +47 -0
  239. package/dist-types/ts3.4/commands/GetDbServerCommand.d.ts +47 -0
  240. package/dist-types/ts3.4/commands/GetOciOnboardingStatusCommand.d.ts +51 -0
  241. package/dist-types/ts3.4/commands/GetOdbNetworkCommand.d.ts +47 -0
  242. package/dist-types/ts3.4/commands/GetOdbPeeringConnectionCommand.d.ts +51 -0
  243. package/dist-types/ts3.4/commands/InitializeServiceCommand.d.ts +50 -0
  244. package/dist-types/ts3.4/commands/ListAutonomousVirtualMachinesCommand.d.ts +51 -0
  245. package/dist-types/ts3.4/commands/ListCloudAutonomousVmClustersCommand.d.ts +51 -0
  246. package/dist-types/ts3.4/commands/ListCloudExadataInfrastructuresCommand.d.ts +51 -0
  247. package/dist-types/ts3.4/commands/ListCloudVmClustersCommand.d.ts +51 -0
  248. package/dist-types/ts3.4/commands/ListDbNodesCommand.d.ts +47 -0
  249. package/dist-types/ts3.4/commands/ListDbServersCommand.d.ts +47 -0
  250. package/dist-types/ts3.4/commands/ListDbSystemShapesCommand.d.ts +51 -0
  251. package/dist-types/ts3.4/commands/ListGiVersionsCommand.d.ts +47 -0
  252. package/dist-types/ts3.4/commands/ListOdbNetworksCommand.d.ts +50 -0
  253. package/dist-types/ts3.4/commands/ListOdbPeeringConnectionsCommand.d.ts +51 -0
  254. package/dist-types/ts3.4/commands/ListSystemVersionsCommand.d.ts +51 -0
  255. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  256. package/dist-types/ts3.4/commands/RebootDbNodeCommand.d.ts +47 -0
  257. package/dist-types/ts3.4/commands/StartDbNodeCommand.d.ts +47 -0
  258. package/dist-types/ts3.4/commands/StopDbNodeCommand.d.ts +47 -0
  259. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  260. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  261. package/dist-types/ts3.4/commands/UpdateCloudExadataInfrastructureCommand.d.ts +51 -0
  262. package/dist-types/ts3.4/commands/UpdateOdbNetworkCommand.d.ts +50 -0
  263. package/dist-types/ts3.4/commands/index.d.ts +40 -0
  264. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  265. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  266. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  267. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  268. package/dist-types/ts3.4/index.d.ts +9 -0
  269. package/dist-types/ts3.4/models/OdbServiceException.d.ts +9 -0
  270. package/dist-types/ts3.4/models/index.d.ts +1 -0
  271. package/dist-types/ts3.4/models/models_0.d.ts +1187 -0
  272. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  273. package/dist-types/ts3.4/pagination/ListAutonomousVirtualMachinesPaginator.d.ts +11 -0
  274. package/dist-types/ts3.4/pagination/ListCloudAutonomousVmClustersPaginator.d.ts +11 -0
  275. package/dist-types/ts3.4/pagination/ListCloudExadataInfrastructuresPaginator.d.ts +11 -0
  276. package/dist-types/ts3.4/pagination/ListCloudVmClustersPaginator.d.ts +11 -0
  277. package/dist-types/ts3.4/pagination/ListDbNodesPaginator.d.ts +11 -0
  278. package/dist-types/ts3.4/pagination/ListDbServersPaginator.d.ts +11 -0
  279. package/dist-types/ts3.4/pagination/ListDbSystemShapesPaginator.d.ts +11 -0
  280. package/dist-types/ts3.4/pagination/ListGiVersionsPaginator.d.ts +11 -0
  281. package/dist-types/ts3.4/pagination/ListOdbNetworksPaginator.d.ts +11 -0
  282. package/dist-types/ts3.4/pagination/ListOdbPeeringConnectionsPaginator.d.ts +11 -0
  283. package/dist-types/ts3.4/pagination/ListSystemVersionsPaginator.d.ts +11 -0
  284. package/dist-types/ts3.4/pagination/index.d.ts +12 -0
  285. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +485 -0
  286. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +92 -0
  287. package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
  288. package/dist-types/ts3.4/runtimeConfig.native.d.ts +96 -0
  289. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  290. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  291. package/package.json +101 -0
@@ -0,0 +1,1698 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.de_DeleteOdbNetworkCommand = exports.de_DeleteCloudVmClusterCommand = exports.de_DeleteCloudExadataInfrastructureCommand = exports.de_DeleteCloudAutonomousVmClusterCommand = exports.de_CreateOdbPeeringConnectionCommand = exports.de_CreateOdbNetworkCommand = exports.de_CreateCloudVmClusterCommand = exports.de_CreateCloudExadataInfrastructureCommand = exports.de_CreateCloudAutonomousVmClusterCommand = exports.de_AcceptMarketplaceRegistrationCommand = exports.se_UpdateOdbNetworkCommand = exports.se_UpdateCloudExadataInfrastructureCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopDbNodeCommand = exports.se_StartDbNodeCommand = exports.se_RebootDbNodeCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSystemVersionsCommand = exports.se_ListOdbPeeringConnectionsCommand = exports.se_ListOdbNetworksCommand = exports.se_ListGiVersionsCommand = exports.se_ListDbSystemShapesCommand = exports.se_ListDbServersCommand = exports.se_ListDbNodesCommand = exports.se_ListCloudVmClustersCommand = exports.se_ListCloudExadataInfrastructuresCommand = exports.se_ListCloudAutonomousVmClustersCommand = exports.se_ListAutonomousVirtualMachinesCommand = exports.se_InitializeServiceCommand = exports.se_GetOdbPeeringConnectionCommand = exports.se_GetOdbNetworkCommand = exports.se_GetOciOnboardingStatusCommand = exports.se_GetDbServerCommand = exports.se_GetDbNodeCommand = exports.se_GetCloudVmClusterCommand = exports.se_GetCloudExadataInfrastructureUnallocatedResourcesCommand = exports.se_GetCloudExadataInfrastructureCommand = exports.se_GetCloudAutonomousVmClusterCommand = exports.se_DeleteOdbPeeringConnectionCommand = exports.se_DeleteOdbNetworkCommand = exports.se_DeleteCloudVmClusterCommand = exports.se_DeleteCloudExadataInfrastructureCommand = exports.se_DeleteCloudAutonomousVmClusterCommand = exports.se_CreateOdbPeeringConnectionCommand = exports.se_CreateOdbNetworkCommand = exports.se_CreateCloudVmClusterCommand = exports.se_CreateCloudExadataInfrastructureCommand = exports.se_CreateCloudAutonomousVmClusterCommand = exports.se_AcceptMarketplaceRegistrationCommand = void 0;
4
+ exports.de_UpdateOdbNetworkCommand = exports.de_UpdateCloudExadataInfrastructureCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopDbNodeCommand = exports.de_StartDbNodeCommand = exports.de_RebootDbNodeCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSystemVersionsCommand = exports.de_ListOdbPeeringConnectionsCommand = exports.de_ListOdbNetworksCommand = exports.de_ListGiVersionsCommand = exports.de_ListDbSystemShapesCommand = exports.de_ListDbServersCommand = exports.de_ListDbNodesCommand = exports.de_ListCloudVmClustersCommand = exports.de_ListCloudExadataInfrastructuresCommand = exports.de_ListCloudAutonomousVmClustersCommand = exports.de_ListAutonomousVirtualMachinesCommand = exports.de_InitializeServiceCommand = exports.de_GetOdbPeeringConnectionCommand = exports.de_GetOdbNetworkCommand = exports.de_GetOciOnboardingStatusCommand = exports.de_GetDbServerCommand = exports.de_GetDbNodeCommand = exports.de_GetCloudVmClusterCommand = exports.de_GetCloudExadataInfrastructureUnallocatedResourcesCommand = exports.de_GetCloudExadataInfrastructureCommand = exports.de_GetCloudAutonomousVmClusterCommand = exports.de_DeleteOdbPeeringConnectionCommand = void 0;
5
+ const core_1 = require("@aws-sdk/core");
6
+ const protocol_http_1 = require("@smithy/protocol-http");
7
+ const smithy_client_1 = require("@smithy/smithy-client");
8
+ const uuid_1 = require("uuid");
9
+ const models_0_1 = require("../models/models_0");
10
+ const OdbServiceException_1 = require("../models/OdbServiceException");
11
+ const se_AcceptMarketplaceRegistrationCommand = async (input, context) => {
12
+ const headers = sharedHeaders("AcceptMarketplaceRegistration");
13
+ let body;
14
+ body = JSON.stringify((0, smithy_client_1._json)(input));
15
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
16
+ };
17
+ exports.se_AcceptMarketplaceRegistrationCommand = se_AcceptMarketplaceRegistrationCommand;
18
+ const se_CreateCloudAutonomousVmClusterCommand = async (input, context) => {
19
+ const headers = sharedHeaders("CreateCloudAutonomousVmCluster");
20
+ let body;
21
+ body = JSON.stringify(se_CreateCloudAutonomousVmClusterInput(input, context));
22
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
23
+ };
24
+ exports.se_CreateCloudAutonomousVmClusterCommand = se_CreateCloudAutonomousVmClusterCommand;
25
+ const se_CreateCloudExadataInfrastructureCommand = async (input, context) => {
26
+ const headers = sharedHeaders("CreateCloudExadataInfrastructure");
27
+ let body;
28
+ body = JSON.stringify(se_CreateCloudExadataInfrastructureInput(input, context));
29
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
30
+ };
31
+ exports.se_CreateCloudExadataInfrastructureCommand = se_CreateCloudExadataInfrastructureCommand;
32
+ const se_CreateCloudVmClusterCommand = async (input, context) => {
33
+ const headers = sharedHeaders("CreateCloudVmCluster");
34
+ let body;
35
+ body = JSON.stringify(se_CreateCloudVmClusterInput(input, context));
36
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
37
+ };
38
+ exports.se_CreateCloudVmClusterCommand = se_CreateCloudVmClusterCommand;
39
+ const se_CreateOdbNetworkCommand = async (input, context) => {
40
+ const headers = sharedHeaders("CreateOdbNetwork");
41
+ let body;
42
+ body = JSON.stringify(se_CreateOdbNetworkInput(input, context));
43
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
44
+ };
45
+ exports.se_CreateOdbNetworkCommand = se_CreateOdbNetworkCommand;
46
+ const se_CreateOdbPeeringConnectionCommand = async (input, context) => {
47
+ const headers = sharedHeaders("CreateOdbPeeringConnection");
48
+ let body;
49
+ body = JSON.stringify(se_CreateOdbPeeringConnectionInput(input, context));
50
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
51
+ };
52
+ exports.se_CreateOdbPeeringConnectionCommand = se_CreateOdbPeeringConnectionCommand;
53
+ const se_DeleteCloudAutonomousVmClusterCommand = async (input, context) => {
54
+ const headers = sharedHeaders("DeleteCloudAutonomousVmCluster");
55
+ let body;
56
+ body = JSON.stringify((0, smithy_client_1._json)(input));
57
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
58
+ };
59
+ exports.se_DeleteCloudAutonomousVmClusterCommand = se_DeleteCloudAutonomousVmClusterCommand;
60
+ const se_DeleteCloudExadataInfrastructureCommand = async (input, context) => {
61
+ const headers = sharedHeaders("DeleteCloudExadataInfrastructure");
62
+ let body;
63
+ body = JSON.stringify((0, smithy_client_1._json)(input));
64
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
65
+ };
66
+ exports.se_DeleteCloudExadataInfrastructureCommand = se_DeleteCloudExadataInfrastructureCommand;
67
+ const se_DeleteCloudVmClusterCommand = async (input, context) => {
68
+ const headers = sharedHeaders("DeleteCloudVmCluster");
69
+ let body;
70
+ body = JSON.stringify((0, smithy_client_1._json)(input));
71
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
72
+ };
73
+ exports.se_DeleteCloudVmClusterCommand = se_DeleteCloudVmClusterCommand;
74
+ const se_DeleteOdbNetworkCommand = async (input, context) => {
75
+ const headers = sharedHeaders("DeleteOdbNetwork");
76
+ let body;
77
+ body = JSON.stringify((0, smithy_client_1._json)(input));
78
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
79
+ };
80
+ exports.se_DeleteOdbNetworkCommand = se_DeleteOdbNetworkCommand;
81
+ const se_DeleteOdbPeeringConnectionCommand = async (input, context) => {
82
+ const headers = sharedHeaders("DeleteOdbPeeringConnection");
83
+ let body;
84
+ body = JSON.stringify((0, smithy_client_1._json)(input));
85
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
86
+ };
87
+ exports.se_DeleteOdbPeeringConnectionCommand = se_DeleteOdbPeeringConnectionCommand;
88
+ const se_GetCloudAutonomousVmClusterCommand = async (input, context) => {
89
+ const headers = sharedHeaders("GetCloudAutonomousVmCluster");
90
+ let body;
91
+ body = JSON.stringify((0, smithy_client_1._json)(input));
92
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
93
+ };
94
+ exports.se_GetCloudAutonomousVmClusterCommand = se_GetCloudAutonomousVmClusterCommand;
95
+ const se_GetCloudExadataInfrastructureCommand = async (input, context) => {
96
+ const headers = sharedHeaders("GetCloudExadataInfrastructure");
97
+ let body;
98
+ body = JSON.stringify((0, smithy_client_1._json)(input));
99
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
100
+ };
101
+ exports.se_GetCloudExadataInfrastructureCommand = se_GetCloudExadataInfrastructureCommand;
102
+ const se_GetCloudExadataInfrastructureUnallocatedResourcesCommand = async (input, context) => {
103
+ const headers = sharedHeaders("GetCloudExadataInfrastructureUnallocatedResources");
104
+ let body;
105
+ body = JSON.stringify((0, smithy_client_1._json)(input));
106
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
107
+ };
108
+ exports.se_GetCloudExadataInfrastructureUnallocatedResourcesCommand = se_GetCloudExadataInfrastructureUnallocatedResourcesCommand;
109
+ const se_GetCloudVmClusterCommand = async (input, context) => {
110
+ const headers = sharedHeaders("GetCloudVmCluster");
111
+ let body;
112
+ body = JSON.stringify((0, smithy_client_1._json)(input));
113
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
114
+ };
115
+ exports.se_GetCloudVmClusterCommand = se_GetCloudVmClusterCommand;
116
+ const se_GetDbNodeCommand = async (input, context) => {
117
+ const headers = sharedHeaders("GetDbNode");
118
+ let body;
119
+ body = JSON.stringify((0, smithy_client_1._json)(input));
120
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
121
+ };
122
+ exports.se_GetDbNodeCommand = se_GetDbNodeCommand;
123
+ const se_GetDbServerCommand = async (input, context) => {
124
+ const headers = sharedHeaders("GetDbServer");
125
+ let body;
126
+ body = JSON.stringify((0, smithy_client_1._json)(input));
127
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
128
+ };
129
+ exports.se_GetDbServerCommand = se_GetDbServerCommand;
130
+ const se_GetOciOnboardingStatusCommand = async (input, context) => {
131
+ const headers = sharedHeaders("GetOciOnboardingStatus");
132
+ let body;
133
+ body = JSON.stringify((0, smithy_client_1._json)(input));
134
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
135
+ };
136
+ exports.se_GetOciOnboardingStatusCommand = se_GetOciOnboardingStatusCommand;
137
+ const se_GetOdbNetworkCommand = async (input, context) => {
138
+ const headers = sharedHeaders("GetOdbNetwork");
139
+ let body;
140
+ body = JSON.stringify((0, smithy_client_1._json)(input));
141
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
142
+ };
143
+ exports.se_GetOdbNetworkCommand = se_GetOdbNetworkCommand;
144
+ const se_GetOdbPeeringConnectionCommand = async (input, context) => {
145
+ const headers = sharedHeaders("GetOdbPeeringConnection");
146
+ let body;
147
+ body = JSON.stringify((0, smithy_client_1._json)(input));
148
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
149
+ };
150
+ exports.se_GetOdbPeeringConnectionCommand = se_GetOdbPeeringConnectionCommand;
151
+ const se_InitializeServiceCommand = async (input, context) => {
152
+ const headers = sharedHeaders("InitializeService");
153
+ let body;
154
+ body = JSON.stringify((0, smithy_client_1._json)(input));
155
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
156
+ };
157
+ exports.se_InitializeServiceCommand = se_InitializeServiceCommand;
158
+ const se_ListAutonomousVirtualMachinesCommand = async (input, context) => {
159
+ const headers = sharedHeaders("ListAutonomousVirtualMachines");
160
+ let body;
161
+ body = JSON.stringify((0, smithy_client_1._json)(input));
162
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
163
+ };
164
+ exports.se_ListAutonomousVirtualMachinesCommand = se_ListAutonomousVirtualMachinesCommand;
165
+ const se_ListCloudAutonomousVmClustersCommand = async (input, context) => {
166
+ const headers = sharedHeaders("ListCloudAutonomousVmClusters");
167
+ let body;
168
+ body = JSON.stringify((0, smithy_client_1._json)(input));
169
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
170
+ };
171
+ exports.se_ListCloudAutonomousVmClustersCommand = se_ListCloudAutonomousVmClustersCommand;
172
+ const se_ListCloudExadataInfrastructuresCommand = async (input, context) => {
173
+ const headers = sharedHeaders("ListCloudExadataInfrastructures");
174
+ let body;
175
+ body = JSON.stringify((0, smithy_client_1._json)(input));
176
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
177
+ };
178
+ exports.se_ListCloudExadataInfrastructuresCommand = se_ListCloudExadataInfrastructuresCommand;
179
+ const se_ListCloudVmClustersCommand = async (input, context) => {
180
+ const headers = sharedHeaders("ListCloudVmClusters");
181
+ let body;
182
+ body = JSON.stringify((0, smithy_client_1._json)(input));
183
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
184
+ };
185
+ exports.se_ListCloudVmClustersCommand = se_ListCloudVmClustersCommand;
186
+ const se_ListDbNodesCommand = async (input, context) => {
187
+ const headers = sharedHeaders("ListDbNodes");
188
+ let body;
189
+ body = JSON.stringify((0, smithy_client_1._json)(input));
190
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
191
+ };
192
+ exports.se_ListDbNodesCommand = se_ListDbNodesCommand;
193
+ const se_ListDbServersCommand = async (input, context) => {
194
+ const headers = sharedHeaders("ListDbServers");
195
+ let body;
196
+ body = JSON.stringify((0, smithy_client_1._json)(input));
197
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
198
+ };
199
+ exports.se_ListDbServersCommand = se_ListDbServersCommand;
200
+ const se_ListDbSystemShapesCommand = async (input, context) => {
201
+ const headers = sharedHeaders("ListDbSystemShapes");
202
+ let body;
203
+ body = JSON.stringify((0, smithy_client_1._json)(input));
204
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
205
+ };
206
+ exports.se_ListDbSystemShapesCommand = se_ListDbSystemShapesCommand;
207
+ const se_ListGiVersionsCommand = async (input, context) => {
208
+ const headers = sharedHeaders("ListGiVersions");
209
+ let body;
210
+ body = JSON.stringify((0, smithy_client_1._json)(input));
211
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
212
+ };
213
+ exports.se_ListGiVersionsCommand = se_ListGiVersionsCommand;
214
+ const se_ListOdbNetworksCommand = async (input, context) => {
215
+ const headers = sharedHeaders("ListOdbNetworks");
216
+ let body;
217
+ body = JSON.stringify((0, smithy_client_1._json)(input));
218
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
219
+ };
220
+ exports.se_ListOdbNetworksCommand = se_ListOdbNetworksCommand;
221
+ const se_ListOdbPeeringConnectionsCommand = async (input, context) => {
222
+ const headers = sharedHeaders("ListOdbPeeringConnections");
223
+ let body;
224
+ body = JSON.stringify((0, smithy_client_1._json)(input));
225
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
226
+ };
227
+ exports.se_ListOdbPeeringConnectionsCommand = se_ListOdbPeeringConnectionsCommand;
228
+ const se_ListSystemVersionsCommand = async (input, context) => {
229
+ const headers = sharedHeaders("ListSystemVersions");
230
+ let body;
231
+ body = JSON.stringify((0, smithy_client_1._json)(input));
232
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
233
+ };
234
+ exports.se_ListSystemVersionsCommand = se_ListSystemVersionsCommand;
235
+ const se_ListTagsForResourceCommand = async (input, context) => {
236
+ const headers = sharedHeaders("ListTagsForResource");
237
+ let body;
238
+ body = JSON.stringify((0, smithy_client_1._json)(input));
239
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
240
+ };
241
+ exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
242
+ const se_RebootDbNodeCommand = async (input, context) => {
243
+ const headers = sharedHeaders("RebootDbNode");
244
+ let body;
245
+ body = JSON.stringify((0, smithy_client_1._json)(input));
246
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
247
+ };
248
+ exports.se_RebootDbNodeCommand = se_RebootDbNodeCommand;
249
+ const se_StartDbNodeCommand = async (input, context) => {
250
+ const headers = sharedHeaders("StartDbNode");
251
+ let body;
252
+ body = JSON.stringify((0, smithy_client_1._json)(input));
253
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
254
+ };
255
+ exports.se_StartDbNodeCommand = se_StartDbNodeCommand;
256
+ const se_StopDbNodeCommand = async (input, context) => {
257
+ const headers = sharedHeaders("StopDbNode");
258
+ let body;
259
+ body = JSON.stringify((0, smithy_client_1._json)(input));
260
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
261
+ };
262
+ exports.se_StopDbNodeCommand = se_StopDbNodeCommand;
263
+ const se_TagResourceCommand = async (input, context) => {
264
+ const headers = sharedHeaders("TagResource");
265
+ let body;
266
+ body = JSON.stringify((0, smithy_client_1._json)(input));
267
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
268
+ };
269
+ exports.se_TagResourceCommand = se_TagResourceCommand;
270
+ const se_UntagResourceCommand = async (input, context) => {
271
+ const headers = sharedHeaders("UntagResource");
272
+ let body;
273
+ body = JSON.stringify((0, smithy_client_1._json)(input));
274
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
275
+ };
276
+ exports.se_UntagResourceCommand = se_UntagResourceCommand;
277
+ const se_UpdateCloudExadataInfrastructureCommand = async (input, context) => {
278
+ const headers = sharedHeaders("UpdateCloudExadataInfrastructure");
279
+ let body;
280
+ body = JSON.stringify((0, smithy_client_1._json)(input));
281
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
282
+ };
283
+ exports.se_UpdateCloudExadataInfrastructureCommand = se_UpdateCloudExadataInfrastructureCommand;
284
+ const se_UpdateOdbNetworkCommand = async (input, context) => {
285
+ const headers = sharedHeaders("UpdateOdbNetwork");
286
+ let body;
287
+ body = JSON.stringify((0, smithy_client_1._json)(input));
288
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
289
+ };
290
+ exports.se_UpdateOdbNetworkCommand = se_UpdateOdbNetworkCommand;
291
+ const de_AcceptMarketplaceRegistrationCommand = async (output, context) => {
292
+ if (output.statusCode >= 300) {
293
+ return de_CommandError(output, context);
294
+ }
295
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
296
+ let contents = {};
297
+ contents = (0, smithy_client_1._json)(data);
298
+ const response = {
299
+ $metadata: deserializeMetadata(output),
300
+ ...contents,
301
+ };
302
+ return response;
303
+ };
304
+ exports.de_AcceptMarketplaceRegistrationCommand = de_AcceptMarketplaceRegistrationCommand;
305
+ const de_CreateCloudAutonomousVmClusterCommand = async (output, context) => {
306
+ if (output.statusCode >= 300) {
307
+ return de_CommandError(output, context);
308
+ }
309
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
310
+ let contents = {};
311
+ contents = (0, smithy_client_1._json)(data);
312
+ const response = {
313
+ $metadata: deserializeMetadata(output),
314
+ ...contents,
315
+ };
316
+ return response;
317
+ };
318
+ exports.de_CreateCloudAutonomousVmClusterCommand = de_CreateCloudAutonomousVmClusterCommand;
319
+ const de_CreateCloudExadataInfrastructureCommand = async (output, context) => {
320
+ if (output.statusCode >= 300) {
321
+ return de_CommandError(output, context);
322
+ }
323
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
324
+ let contents = {};
325
+ contents = (0, smithy_client_1._json)(data);
326
+ const response = {
327
+ $metadata: deserializeMetadata(output),
328
+ ...contents,
329
+ };
330
+ return response;
331
+ };
332
+ exports.de_CreateCloudExadataInfrastructureCommand = de_CreateCloudExadataInfrastructureCommand;
333
+ const de_CreateCloudVmClusterCommand = async (output, context) => {
334
+ if (output.statusCode >= 300) {
335
+ return de_CommandError(output, context);
336
+ }
337
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
338
+ let contents = {};
339
+ contents = (0, smithy_client_1._json)(data);
340
+ const response = {
341
+ $metadata: deserializeMetadata(output),
342
+ ...contents,
343
+ };
344
+ return response;
345
+ };
346
+ exports.de_CreateCloudVmClusterCommand = de_CreateCloudVmClusterCommand;
347
+ const de_CreateOdbNetworkCommand = async (output, context) => {
348
+ if (output.statusCode >= 300) {
349
+ return de_CommandError(output, context);
350
+ }
351
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
352
+ let contents = {};
353
+ contents = (0, smithy_client_1._json)(data);
354
+ const response = {
355
+ $metadata: deserializeMetadata(output),
356
+ ...contents,
357
+ };
358
+ return response;
359
+ };
360
+ exports.de_CreateOdbNetworkCommand = de_CreateOdbNetworkCommand;
361
+ const de_CreateOdbPeeringConnectionCommand = async (output, context) => {
362
+ if (output.statusCode >= 300) {
363
+ return de_CommandError(output, context);
364
+ }
365
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
366
+ let contents = {};
367
+ contents = (0, smithy_client_1._json)(data);
368
+ const response = {
369
+ $metadata: deserializeMetadata(output),
370
+ ...contents,
371
+ };
372
+ return response;
373
+ };
374
+ exports.de_CreateOdbPeeringConnectionCommand = de_CreateOdbPeeringConnectionCommand;
375
+ const de_DeleteCloudAutonomousVmClusterCommand = async (output, context) => {
376
+ if (output.statusCode >= 300) {
377
+ return de_CommandError(output, context);
378
+ }
379
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
380
+ let contents = {};
381
+ contents = (0, smithy_client_1._json)(data);
382
+ const response = {
383
+ $metadata: deserializeMetadata(output),
384
+ ...contents,
385
+ };
386
+ return response;
387
+ };
388
+ exports.de_DeleteCloudAutonomousVmClusterCommand = de_DeleteCloudAutonomousVmClusterCommand;
389
+ const de_DeleteCloudExadataInfrastructureCommand = async (output, context) => {
390
+ if (output.statusCode >= 300) {
391
+ return de_CommandError(output, context);
392
+ }
393
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
394
+ let contents = {};
395
+ contents = (0, smithy_client_1._json)(data);
396
+ const response = {
397
+ $metadata: deserializeMetadata(output),
398
+ ...contents,
399
+ };
400
+ return response;
401
+ };
402
+ exports.de_DeleteCloudExadataInfrastructureCommand = de_DeleteCloudExadataInfrastructureCommand;
403
+ const de_DeleteCloudVmClusterCommand = async (output, context) => {
404
+ if (output.statusCode >= 300) {
405
+ return de_CommandError(output, context);
406
+ }
407
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
408
+ let contents = {};
409
+ contents = (0, smithy_client_1._json)(data);
410
+ const response = {
411
+ $metadata: deserializeMetadata(output),
412
+ ...contents,
413
+ };
414
+ return response;
415
+ };
416
+ exports.de_DeleteCloudVmClusterCommand = de_DeleteCloudVmClusterCommand;
417
+ const de_DeleteOdbNetworkCommand = async (output, context) => {
418
+ if (output.statusCode >= 300) {
419
+ return de_CommandError(output, context);
420
+ }
421
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
422
+ let contents = {};
423
+ contents = (0, smithy_client_1._json)(data);
424
+ const response = {
425
+ $metadata: deserializeMetadata(output),
426
+ ...contents,
427
+ };
428
+ return response;
429
+ };
430
+ exports.de_DeleteOdbNetworkCommand = de_DeleteOdbNetworkCommand;
431
+ const de_DeleteOdbPeeringConnectionCommand = async (output, context) => {
432
+ if (output.statusCode >= 300) {
433
+ return de_CommandError(output, context);
434
+ }
435
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
436
+ let contents = {};
437
+ contents = (0, smithy_client_1._json)(data);
438
+ const response = {
439
+ $metadata: deserializeMetadata(output),
440
+ ...contents,
441
+ };
442
+ return response;
443
+ };
444
+ exports.de_DeleteOdbPeeringConnectionCommand = de_DeleteOdbPeeringConnectionCommand;
445
+ const de_GetCloudAutonomousVmClusterCommand = async (output, context) => {
446
+ if (output.statusCode >= 300) {
447
+ return de_CommandError(output, context);
448
+ }
449
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
450
+ let contents = {};
451
+ contents = de_GetCloudAutonomousVmClusterOutput(data, context);
452
+ const response = {
453
+ $metadata: deserializeMetadata(output),
454
+ ...contents,
455
+ };
456
+ return response;
457
+ };
458
+ exports.de_GetCloudAutonomousVmClusterCommand = de_GetCloudAutonomousVmClusterCommand;
459
+ const de_GetCloudExadataInfrastructureCommand = async (output, context) => {
460
+ if (output.statusCode >= 300) {
461
+ return de_CommandError(output, context);
462
+ }
463
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
464
+ let contents = {};
465
+ contents = de_GetCloudExadataInfrastructureOutput(data, context);
466
+ const response = {
467
+ $metadata: deserializeMetadata(output),
468
+ ...contents,
469
+ };
470
+ return response;
471
+ };
472
+ exports.de_GetCloudExadataInfrastructureCommand = de_GetCloudExadataInfrastructureCommand;
473
+ const de_GetCloudExadataInfrastructureUnallocatedResourcesCommand = async (output, context) => {
474
+ if (output.statusCode >= 300) {
475
+ return de_CommandError(output, context);
476
+ }
477
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
478
+ let contents = {};
479
+ contents = de_GetCloudExadataInfrastructureUnallocatedResourcesOutput(data, context);
480
+ const response = {
481
+ $metadata: deserializeMetadata(output),
482
+ ...contents,
483
+ };
484
+ return response;
485
+ };
486
+ exports.de_GetCloudExadataInfrastructureUnallocatedResourcesCommand = de_GetCloudExadataInfrastructureUnallocatedResourcesCommand;
487
+ const de_GetCloudVmClusterCommand = async (output, context) => {
488
+ if (output.statusCode >= 300) {
489
+ return de_CommandError(output, context);
490
+ }
491
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
492
+ let contents = {};
493
+ contents = de_GetCloudVmClusterOutput(data, context);
494
+ const response = {
495
+ $metadata: deserializeMetadata(output),
496
+ ...contents,
497
+ };
498
+ return response;
499
+ };
500
+ exports.de_GetCloudVmClusterCommand = de_GetCloudVmClusterCommand;
501
+ const de_GetDbNodeCommand = async (output, context) => {
502
+ if (output.statusCode >= 300) {
503
+ return de_CommandError(output, context);
504
+ }
505
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
506
+ let contents = {};
507
+ contents = de_GetDbNodeOutput(data, context);
508
+ const response = {
509
+ $metadata: deserializeMetadata(output),
510
+ ...contents,
511
+ };
512
+ return response;
513
+ };
514
+ exports.de_GetDbNodeCommand = de_GetDbNodeCommand;
515
+ const de_GetDbServerCommand = async (output, context) => {
516
+ if (output.statusCode >= 300) {
517
+ return de_CommandError(output, context);
518
+ }
519
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
520
+ let contents = {};
521
+ contents = de_GetDbServerOutput(data, context);
522
+ const response = {
523
+ $metadata: deserializeMetadata(output),
524
+ ...contents,
525
+ };
526
+ return response;
527
+ };
528
+ exports.de_GetDbServerCommand = de_GetDbServerCommand;
529
+ const de_GetOciOnboardingStatusCommand = async (output, context) => {
530
+ if (output.statusCode >= 300) {
531
+ return de_CommandError(output, context);
532
+ }
533
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
534
+ let contents = {};
535
+ contents = (0, smithy_client_1._json)(data);
536
+ const response = {
537
+ $metadata: deserializeMetadata(output),
538
+ ...contents,
539
+ };
540
+ return response;
541
+ };
542
+ exports.de_GetOciOnboardingStatusCommand = de_GetOciOnboardingStatusCommand;
543
+ const de_GetOdbNetworkCommand = async (output, context) => {
544
+ if (output.statusCode >= 300) {
545
+ return de_CommandError(output, context);
546
+ }
547
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
548
+ let contents = {};
549
+ contents = de_GetOdbNetworkOutput(data, context);
550
+ const response = {
551
+ $metadata: deserializeMetadata(output),
552
+ ...contents,
553
+ };
554
+ return response;
555
+ };
556
+ exports.de_GetOdbNetworkCommand = de_GetOdbNetworkCommand;
557
+ const de_GetOdbPeeringConnectionCommand = async (output, context) => {
558
+ if (output.statusCode >= 300) {
559
+ return de_CommandError(output, context);
560
+ }
561
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
562
+ let contents = {};
563
+ contents = de_GetOdbPeeringConnectionOutput(data, context);
564
+ const response = {
565
+ $metadata: deserializeMetadata(output),
566
+ ...contents,
567
+ };
568
+ return response;
569
+ };
570
+ exports.de_GetOdbPeeringConnectionCommand = de_GetOdbPeeringConnectionCommand;
571
+ const de_InitializeServiceCommand = async (output, context) => {
572
+ if (output.statusCode >= 300) {
573
+ return de_CommandError(output, context);
574
+ }
575
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
576
+ let contents = {};
577
+ contents = (0, smithy_client_1._json)(data);
578
+ const response = {
579
+ $metadata: deserializeMetadata(output),
580
+ ...contents,
581
+ };
582
+ return response;
583
+ };
584
+ exports.de_InitializeServiceCommand = de_InitializeServiceCommand;
585
+ const de_ListAutonomousVirtualMachinesCommand = async (output, context) => {
586
+ if (output.statusCode >= 300) {
587
+ return de_CommandError(output, context);
588
+ }
589
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
590
+ let contents = {};
591
+ contents = (0, smithy_client_1._json)(data);
592
+ const response = {
593
+ $metadata: deserializeMetadata(output),
594
+ ...contents,
595
+ };
596
+ return response;
597
+ };
598
+ exports.de_ListAutonomousVirtualMachinesCommand = de_ListAutonomousVirtualMachinesCommand;
599
+ const de_ListCloudAutonomousVmClustersCommand = async (output, context) => {
600
+ if (output.statusCode >= 300) {
601
+ return de_CommandError(output, context);
602
+ }
603
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
604
+ let contents = {};
605
+ contents = de_ListCloudAutonomousVmClustersOutput(data, context);
606
+ const response = {
607
+ $metadata: deserializeMetadata(output),
608
+ ...contents,
609
+ };
610
+ return response;
611
+ };
612
+ exports.de_ListCloudAutonomousVmClustersCommand = de_ListCloudAutonomousVmClustersCommand;
613
+ const de_ListCloudExadataInfrastructuresCommand = async (output, context) => {
614
+ if (output.statusCode >= 300) {
615
+ return de_CommandError(output, context);
616
+ }
617
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
618
+ let contents = {};
619
+ contents = de_ListCloudExadataInfrastructuresOutput(data, context);
620
+ const response = {
621
+ $metadata: deserializeMetadata(output),
622
+ ...contents,
623
+ };
624
+ return response;
625
+ };
626
+ exports.de_ListCloudExadataInfrastructuresCommand = de_ListCloudExadataInfrastructuresCommand;
627
+ const de_ListCloudVmClustersCommand = async (output, context) => {
628
+ if (output.statusCode >= 300) {
629
+ return de_CommandError(output, context);
630
+ }
631
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
632
+ let contents = {};
633
+ contents = de_ListCloudVmClustersOutput(data, context);
634
+ const response = {
635
+ $metadata: deserializeMetadata(output),
636
+ ...contents,
637
+ };
638
+ return response;
639
+ };
640
+ exports.de_ListCloudVmClustersCommand = de_ListCloudVmClustersCommand;
641
+ const de_ListDbNodesCommand = async (output, context) => {
642
+ if (output.statusCode >= 300) {
643
+ return de_CommandError(output, context);
644
+ }
645
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
646
+ let contents = {};
647
+ contents = de_ListDbNodesOutput(data, context);
648
+ const response = {
649
+ $metadata: deserializeMetadata(output),
650
+ ...contents,
651
+ };
652
+ return response;
653
+ };
654
+ exports.de_ListDbNodesCommand = de_ListDbNodesCommand;
655
+ const de_ListDbServersCommand = async (output, context) => {
656
+ if (output.statusCode >= 300) {
657
+ return de_CommandError(output, context);
658
+ }
659
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
660
+ let contents = {};
661
+ contents = de_ListDbServersOutput(data, context);
662
+ const response = {
663
+ $metadata: deserializeMetadata(output),
664
+ ...contents,
665
+ };
666
+ return response;
667
+ };
668
+ exports.de_ListDbServersCommand = de_ListDbServersCommand;
669
+ const de_ListDbSystemShapesCommand = async (output, context) => {
670
+ if (output.statusCode >= 300) {
671
+ return de_CommandError(output, context);
672
+ }
673
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
674
+ let contents = {};
675
+ contents = (0, smithy_client_1._json)(data);
676
+ const response = {
677
+ $metadata: deserializeMetadata(output),
678
+ ...contents,
679
+ };
680
+ return response;
681
+ };
682
+ exports.de_ListDbSystemShapesCommand = de_ListDbSystemShapesCommand;
683
+ const de_ListGiVersionsCommand = async (output, context) => {
684
+ if (output.statusCode >= 300) {
685
+ return de_CommandError(output, context);
686
+ }
687
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
688
+ let contents = {};
689
+ contents = (0, smithy_client_1._json)(data);
690
+ const response = {
691
+ $metadata: deserializeMetadata(output),
692
+ ...contents,
693
+ };
694
+ return response;
695
+ };
696
+ exports.de_ListGiVersionsCommand = de_ListGiVersionsCommand;
697
+ const de_ListOdbNetworksCommand = async (output, context) => {
698
+ if (output.statusCode >= 300) {
699
+ return de_CommandError(output, context);
700
+ }
701
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
702
+ let contents = {};
703
+ contents = de_ListOdbNetworksOutput(data, context);
704
+ const response = {
705
+ $metadata: deserializeMetadata(output),
706
+ ...contents,
707
+ };
708
+ return response;
709
+ };
710
+ exports.de_ListOdbNetworksCommand = de_ListOdbNetworksCommand;
711
+ const de_ListOdbPeeringConnectionsCommand = async (output, context) => {
712
+ if (output.statusCode >= 300) {
713
+ return de_CommandError(output, context);
714
+ }
715
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
716
+ let contents = {};
717
+ contents = de_ListOdbPeeringConnectionsOutput(data, context);
718
+ const response = {
719
+ $metadata: deserializeMetadata(output),
720
+ ...contents,
721
+ };
722
+ return response;
723
+ };
724
+ exports.de_ListOdbPeeringConnectionsCommand = de_ListOdbPeeringConnectionsCommand;
725
+ const de_ListSystemVersionsCommand = async (output, context) => {
726
+ if (output.statusCode >= 300) {
727
+ return de_CommandError(output, context);
728
+ }
729
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
730
+ let contents = {};
731
+ contents = (0, smithy_client_1._json)(data);
732
+ const response = {
733
+ $metadata: deserializeMetadata(output),
734
+ ...contents,
735
+ };
736
+ return response;
737
+ };
738
+ exports.de_ListSystemVersionsCommand = de_ListSystemVersionsCommand;
739
+ const de_ListTagsForResourceCommand = async (output, context) => {
740
+ if (output.statusCode >= 300) {
741
+ return de_CommandError(output, context);
742
+ }
743
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
744
+ let contents = {};
745
+ contents = (0, smithy_client_1._json)(data);
746
+ const response = {
747
+ $metadata: deserializeMetadata(output),
748
+ ...contents,
749
+ };
750
+ return response;
751
+ };
752
+ exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
753
+ const de_RebootDbNodeCommand = async (output, context) => {
754
+ if (output.statusCode >= 300) {
755
+ return de_CommandError(output, context);
756
+ }
757
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
758
+ let contents = {};
759
+ contents = (0, smithy_client_1._json)(data);
760
+ const response = {
761
+ $metadata: deserializeMetadata(output),
762
+ ...contents,
763
+ };
764
+ return response;
765
+ };
766
+ exports.de_RebootDbNodeCommand = de_RebootDbNodeCommand;
767
+ const de_StartDbNodeCommand = async (output, context) => {
768
+ if (output.statusCode >= 300) {
769
+ return de_CommandError(output, context);
770
+ }
771
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
772
+ let contents = {};
773
+ contents = (0, smithy_client_1._json)(data);
774
+ const response = {
775
+ $metadata: deserializeMetadata(output),
776
+ ...contents,
777
+ };
778
+ return response;
779
+ };
780
+ exports.de_StartDbNodeCommand = de_StartDbNodeCommand;
781
+ const de_StopDbNodeCommand = async (output, context) => {
782
+ if (output.statusCode >= 300) {
783
+ return de_CommandError(output, context);
784
+ }
785
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
786
+ let contents = {};
787
+ contents = (0, smithy_client_1._json)(data);
788
+ const response = {
789
+ $metadata: deserializeMetadata(output),
790
+ ...contents,
791
+ };
792
+ return response;
793
+ };
794
+ exports.de_StopDbNodeCommand = de_StopDbNodeCommand;
795
+ const de_TagResourceCommand = async (output, context) => {
796
+ if (output.statusCode >= 300) {
797
+ return de_CommandError(output, context);
798
+ }
799
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
800
+ let contents = {};
801
+ contents = (0, smithy_client_1._json)(data);
802
+ const response = {
803
+ $metadata: deserializeMetadata(output),
804
+ ...contents,
805
+ };
806
+ return response;
807
+ };
808
+ exports.de_TagResourceCommand = de_TagResourceCommand;
809
+ const de_UntagResourceCommand = async (output, context) => {
810
+ if (output.statusCode >= 300) {
811
+ return de_CommandError(output, context);
812
+ }
813
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
814
+ let contents = {};
815
+ contents = (0, smithy_client_1._json)(data);
816
+ const response = {
817
+ $metadata: deserializeMetadata(output),
818
+ ...contents,
819
+ };
820
+ return response;
821
+ };
822
+ exports.de_UntagResourceCommand = de_UntagResourceCommand;
823
+ const de_UpdateCloudExadataInfrastructureCommand = async (output, context) => {
824
+ if (output.statusCode >= 300) {
825
+ return de_CommandError(output, context);
826
+ }
827
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
828
+ let contents = {};
829
+ contents = (0, smithy_client_1._json)(data);
830
+ const response = {
831
+ $metadata: deserializeMetadata(output),
832
+ ...contents,
833
+ };
834
+ return response;
835
+ };
836
+ exports.de_UpdateCloudExadataInfrastructureCommand = de_UpdateCloudExadataInfrastructureCommand;
837
+ const de_UpdateOdbNetworkCommand = async (output, context) => {
838
+ if (output.statusCode >= 300) {
839
+ return de_CommandError(output, context);
840
+ }
841
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
842
+ let contents = {};
843
+ contents = (0, smithy_client_1._json)(data);
844
+ const response = {
845
+ $metadata: deserializeMetadata(output),
846
+ ...contents,
847
+ };
848
+ return response;
849
+ };
850
+ exports.de_UpdateOdbNetworkCommand = de_UpdateOdbNetworkCommand;
851
+ const de_CommandError = async (output, context) => {
852
+ const parsedOutput = {
853
+ ...output,
854
+ body: await (0, core_1.parseJsonErrorBody)(output.body, context),
855
+ };
856
+ const errorCode = (0, core_1.loadRestJsonErrorCode)(output, parsedOutput.body);
857
+ switch (errorCode) {
858
+ case "AccessDeniedException":
859
+ case "com.amazonaws.odb#AccessDeniedException":
860
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
861
+ case "ConflictException":
862
+ case "com.amazonaws.odb#ConflictException":
863
+ throw await de_ConflictExceptionRes(parsedOutput, context);
864
+ case "InternalServerException":
865
+ case "com.amazonaws.odb#InternalServerException":
866
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
867
+ case "ThrottlingException":
868
+ case "com.amazonaws.odb#ThrottlingException":
869
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
870
+ case "ValidationException":
871
+ case "com.amazonaws.odb#ValidationException":
872
+ throw await de_ValidationExceptionRes(parsedOutput, context);
873
+ case "ResourceNotFoundException":
874
+ case "com.amazonaws.odb#ResourceNotFoundException":
875
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
876
+ case "ServiceQuotaExceededException":
877
+ case "com.amazonaws.odb#ServiceQuotaExceededException":
878
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
879
+ default:
880
+ const parsedBody = parsedOutput.body;
881
+ return throwDefaultError({
882
+ output,
883
+ parsedBody,
884
+ errorCode,
885
+ });
886
+ }
887
+ };
888
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
889
+ const body = parsedOutput.body;
890
+ const deserialized = (0, smithy_client_1._json)(body);
891
+ const exception = new models_0_1.AccessDeniedException({
892
+ $metadata: deserializeMetadata(parsedOutput),
893
+ ...deserialized,
894
+ });
895
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
896
+ };
897
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
898
+ const body = parsedOutput.body;
899
+ const deserialized = (0, smithy_client_1._json)(body);
900
+ const exception = new models_0_1.ConflictException({
901
+ $metadata: deserializeMetadata(parsedOutput),
902
+ ...deserialized,
903
+ });
904
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
905
+ };
906
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
907
+ const body = parsedOutput.body;
908
+ const deserialized = (0, smithy_client_1._json)(body);
909
+ const exception = new models_0_1.InternalServerException({
910
+ $metadata: deserializeMetadata(parsedOutput),
911
+ ...deserialized,
912
+ });
913
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
914
+ };
915
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
916
+ const body = parsedOutput.body;
917
+ const deserialized = (0, smithy_client_1._json)(body);
918
+ const exception = new models_0_1.ResourceNotFoundException({
919
+ $metadata: deserializeMetadata(parsedOutput),
920
+ ...deserialized,
921
+ });
922
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
923
+ };
924
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
925
+ const body = parsedOutput.body;
926
+ const deserialized = (0, smithy_client_1._json)(body);
927
+ const exception = new models_0_1.ServiceQuotaExceededException({
928
+ $metadata: deserializeMetadata(parsedOutput),
929
+ ...deserialized,
930
+ });
931
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
932
+ };
933
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
934
+ const body = parsedOutput.body;
935
+ const deserialized = (0, smithy_client_1._json)(body);
936
+ const exception = new models_0_1.ThrottlingException({
937
+ $metadata: deserializeMetadata(parsedOutput),
938
+ ...deserialized,
939
+ });
940
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
941
+ };
942
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
943
+ const body = parsedOutput.body;
944
+ const deserialized = (0, smithy_client_1._json)(body);
945
+ const exception = new models_0_1.ValidationException({
946
+ $metadata: deserializeMetadata(parsedOutput),
947
+ ...deserialized,
948
+ });
949
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
950
+ };
951
+ const se_CreateCloudAutonomousVmClusterInput = (input, context) => {
952
+ return (0, smithy_client_1.take)(input, {
953
+ autonomousDataStorageSizeInTBs: smithy_client_1.serializeFloat,
954
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
955
+ cloudExadataInfrastructureId: [],
956
+ cpuCoreCountPerNode: [],
957
+ dbServers: smithy_client_1._json,
958
+ description: [],
959
+ displayName: [],
960
+ isMtlsEnabledVmCluster: [],
961
+ licenseModel: [],
962
+ maintenanceWindow: smithy_client_1._json,
963
+ memoryPerOracleComputeUnitInGBs: [],
964
+ odbNetworkId: [],
965
+ scanListenerPortNonTls: [],
966
+ scanListenerPortTls: [],
967
+ tags: smithy_client_1._json,
968
+ timeZone: [],
969
+ totalContainerDatabases: [],
970
+ });
971
+ };
972
+ const se_CreateCloudExadataInfrastructureInput = (input, context) => {
973
+ return (0, smithy_client_1.take)(input, {
974
+ availabilityZone: [],
975
+ availabilityZoneId: [],
976
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
977
+ computeCount: [],
978
+ customerContactsToSendToOCI: smithy_client_1._json,
979
+ databaseServerType: [],
980
+ displayName: [],
981
+ maintenanceWindow: smithy_client_1._json,
982
+ shape: [],
983
+ storageCount: [],
984
+ storageServerType: [],
985
+ tags: smithy_client_1._json,
986
+ });
987
+ };
988
+ const se_CreateCloudVmClusterInput = (input, context) => {
989
+ return (0, smithy_client_1.take)(input, {
990
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
991
+ cloudExadataInfrastructureId: [],
992
+ clusterName: [],
993
+ cpuCoreCount: [],
994
+ dataCollectionOptions: smithy_client_1._json,
995
+ dataStorageSizeInTBs: smithy_client_1.serializeFloat,
996
+ dbNodeStorageSizeInGBs: [],
997
+ dbServers: smithy_client_1._json,
998
+ displayName: [],
999
+ giVersion: [],
1000
+ hostname: [],
1001
+ isLocalBackupEnabled: [],
1002
+ isSparseDiskgroupEnabled: [],
1003
+ licenseModel: [],
1004
+ memorySizeInGBs: [],
1005
+ odbNetworkId: [],
1006
+ scanListenerPortTcp: [],
1007
+ sshPublicKeys: smithy_client_1._json,
1008
+ systemVersion: [],
1009
+ tags: smithy_client_1._json,
1010
+ timeZone: [],
1011
+ });
1012
+ };
1013
+ const se_CreateOdbNetworkInput = (input, context) => {
1014
+ return (0, smithy_client_1.take)(input, {
1015
+ availabilityZone: [],
1016
+ availabilityZoneId: [],
1017
+ backupSubnetCidr: [],
1018
+ clientSubnetCidr: [],
1019
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
1020
+ customDomainName: [],
1021
+ defaultDnsPrefix: [],
1022
+ displayName: [],
1023
+ s3Access: [],
1024
+ s3PolicyDocument: [],
1025
+ tags: smithy_client_1._json,
1026
+ zeroEtlAccess: [],
1027
+ });
1028
+ };
1029
+ const se_CreateOdbPeeringConnectionInput = (input, context) => {
1030
+ return (0, smithy_client_1.take)(input, {
1031
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
1032
+ displayName: [],
1033
+ odbNetworkId: [],
1034
+ peerNetworkId: [],
1035
+ tags: smithy_client_1._json,
1036
+ });
1037
+ };
1038
+ const de_CloudAutonomousVmCluster = (output, context) => {
1039
+ return (0, smithy_client_1.take)(output, {
1040
+ autonomousDataStoragePercentage: smithy_client_1.limitedParseFloat32,
1041
+ autonomousDataStorageSizeInTBs: smithy_client_1.limitedParseDouble,
1042
+ availableAutonomousDataStorageSizeInTBs: smithy_client_1.limitedParseDouble,
1043
+ availableContainerDatabases: smithy_client_1.expectInt32,
1044
+ availableCpus: smithy_client_1.limitedParseFloat32,
1045
+ cloudAutonomousVmClusterArn: smithy_client_1.expectString,
1046
+ cloudAutonomousVmClusterId: smithy_client_1.expectString,
1047
+ cloudExadataInfrastructureId: smithy_client_1.expectString,
1048
+ computeModel: smithy_client_1.expectString,
1049
+ cpuCoreCount: smithy_client_1.expectInt32,
1050
+ cpuCoreCountPerNode: smithy_client_1.expectInt32,
1051
+ cpuPercentage: smithy_client_1.limitedParseFloat32,
1052
+ createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
1053
+ dataStorageSizeInGBs: smithy_client_1.limitedParseDouble,
1054
+ dataStorageSizeInTBs: smithy_client_1.limitedParseDouble,
1055
+ dbNodeStorageSizeInGBs: smithy_client_1.expectInt32,
1056
+ dbServers: smithy_client_1._json,
1057
+ description: smithy_client_1.expectString,
1058
+ displayName: smithy_client_1.expectString,
1059
+ domain: smithy_client_1.expectString,
1060
+ exadataStorageInTBsLowestScaledValue: smithy_client_1.limitedParseDouble,
1061
+ hostname: smithy_client_1.expectString,
1062
+ isMtlsEnabledVmCluster: smithy_client_1.expectBoolean,
1063
+ licenseModel: smithy_client_1.expectString,
1064
+ maintenanceWindow: smithy_client_1._json,
1065
+ maxAcdsLowestScaledValue: smithy_client_1.expectInt32,
1066
+ memoryPerOracleComputeUnitInGBs: smithy_client_1.expectInt32,
1067
+ memorySizeInGBs: smithy_client_1.expectInt32,
1068
+ nodeCount: smithy_client_1.expectInt32,
1069
+ nonProvisionableAutonomousContainerDatabases: smithy_client_1.expectInt32,
1070
+ ociResourceAnchorName: smithy_client_1.expectString,
1071
+ ociUrl: smithy_client_1.expectString,
1072
+ ocid: smithy_client_1.expectString,
1073
+ odbNetworkId: smithy_client_1.expectString,
1074
+ percentProgress: smithy_client_1.limitedParseFloat32,
1075
+ provisionableAutonomousContainerDatabases: smithy_client_1.expectInt32,
1076
+ provisionedAutonomousContainerDatabases: smithy_client_1.expectInt32,
1077
+ provisionedCpus: smithy_client_1.limitedParseFloat32,
1078
+ reclaimableCpus: smithy_client_1.limitedParseFloat32,
1079
+ reservedCpus: smithy_client_1.limitedParseFloat32,
1080
+ scanListenerPortNonTls: smithy_client_1.expectInt32,
1081
+ scanListenerPortTls: smithy_client_1.expectInt32,
1082
+ shape: smithy_client_1.expectString,
1083
+ status: smithy_client_1.expectString,
1084
+ statusReason: smithy_client_1.expectString,
1085
+ timeDatabaseSslCertificateExpires: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
1086
+ timeOrdsCertificateExpires: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
1087
+ timeZone: smithy_client_1.expectString,
1088
+ totalContainerDatabases: smithy_client_1.expectInt32,
1089
+ });
1090
+ };
1091
+ const de_CloudAutonomousVmClusterList = (output, context) => {
1092
+ const retVal = (output || [])
1093
+ .filter((e) => e != null)
1094
+ .map((entry) => {
1095
+ return de_CloudAutonomousVmClusterSummary(entry, context);
1096
+ });
1097
+ return retVal;
1098
+ };
1099
+ const de_CloudAutonomousVmClusterResourceDetails = (output, context) => {
1100
+ return (0, smithy_client_1.take)(output, {
1101
+ cloudAutonomousVmClusterId: smithy_client_1.expectString,
1102
+ unallocatedAdbStorageInTBs: smithy_client_1.limitedParseDouble,
1103
+ });
1104
+ };
1105
+ const de_CloudAutonomousVmClusterResourceDetailsList = (output, context) => {
1106
+ const retVal = (output || [])
1107
+ .filter((e) => e != null)
1108
+ .map((entry) => {
1109
+ return de_CloudAutonomousVmClusterResourceDetails(entry, context);
1110
+ });
1111
+ return retVal;
1112
+ };
1113
+ const de_CloudAutonomousVmClusterSummary = (output, context) => {
1114
+ return (0, smithy_client_1.take)(output, {
1115
+ autonomousDataStoragePercentage: smithy_client_1.limitedParseFloat32,
1116
+ autonomousDataStorageSizeInTBs: smithy_client_1.limitedParseDouble,
1117
+ availableAutonomousDataStorageSizeInTBs: smithy_client_1.limitedParseDouble,
1118
+ availableContainerDatabases: smithy_client_1.expectInt32,
1119
+ availableCpus: smithy_client_1.limitedParseFloat32,
1120
+ cloudAutonomousVmClusterArn: smithy_client_1.expectString,
1121
+ cloudAutonomousVmClusterId: smithy_client_1.expectString,
1122
+ cloudExadataInfrastructureId: smithy_client_1.expectString,
1123
+ computeModel: smithy_client_1.expectString,
1124
+ cpuCoreCount: smithy_client_1.expectInt32,
1125
+ cpuCoreCountPerNode: smithy_client_1.expectInt32,
1126
+ cpuPercentage: smithy_client_1.limitedParseFloat32,
1127
+ createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
1128
+ dataStorageSizeInGBs: smithy_client_1.limitedParseDouble,
1129
+ dataStorageSizeInTBs: smithy_client_1.limitedParseDouble,
1130
+ dbNodeStorageSizeInGBs: smithy_client_1.expectInt32,
1131
+ dbServers: smithy_client_1._json,
1132
+ description: smithy_client_1.expectString,
1133
+ displayName: smithy_client_1.expectString,
1134
+ domain: smithy_client_1.expectString,
1135
+ exadataStorageInTBsLowestScaledValue: smithy_client_1.limitedParseDouble,
1136
+ hostname: smithy_client_1.expectString,
1137
+ isMtlsEnabledVmCluster: smithy_client_1.expectBoolean,
1138
+ licenseModel: smithy_client_1.expectString,
1139
+ maintenanceWindow: smithy_client_1._json,
1140
+ maxAcdsLowestScaledValue: smithy_client_1.expectInt32,
1141
+ memoryPerOracleComputeUnitInGBs: smithy_client_1.expectInt32,
1142
+ memorySizeInGBs: smithy_client_1.expectInt32,
1143
+ nodeCount: smithy_client_1.expectInt32,
1144
+ nonProvisionableAutonomousContainerDatabases: smithy_client_1.expectInt32,
1145
+ ociResourceAnchorName: smithy_client_1.expectString,
1146
+ ociUrl: smithy_client_1.expectString,
1147
+ ocid: smithy_client_1.expectString,
1148
+ odbNetworkId: smithy_client_1.expectString,
1149
+ percentProgress: smithy_client_1.limitedParseFloat32,
1150
+ provisionableAutonomousContainerDatabases: smithy_client_1.expectInt32,
1151
+ provisionedAutonomousContainerDatabases: smithy_client_1.expectInt32,
1152
+ provisionedCpus: smithy_client_1.limitedParseFloat32,
1153
+ reclaimableCpus: smithy_client_1.limitedParseFloat32,
1154
+ reservedCpus: smithy_client_1.limitedParseFloat32,
1155
+ scanListenerPortNonTls: smithy_client_1.expectInt32,
1156
+ scanListenerPortTls: smithy_client_1.expectInt32,
1157
+ shape: smithy_client_1.expectString,
1158
+ status: smithy_client_1.expectString,
1159
+ statusReason: smithy_client_1.expectString,
1160
+ timeDatabaseSslCertificateExpires: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
1161
+ timeOrdsCertificateExpires: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
1162
+ timeZone: smithy_client_1.expectString,
1163
+ totalContainerDatabases: smithy_client_1.expectInt32,
1164
+ });
1165
+ };
1166
+ const de_CloudExadataInfrastructure = (output, context) => {
1167
+ return (0, smithy_client_1.take)(output, {
1168
+ activatedStorageCount: smithy_client_1.expectInt32,
1169
+ additionalStorageCount: smithy_client_1.expectInt32,
1170
+ availabilityZone: smithy_client_1.expectString,
1171
+ availabilityZoneId: smithy_client_1.expectString,
1172
+ availableStorageSizeInGBs: smithy_client_1.expectInt32,
1173
+ cloudExadataInfrastructureArn: smithy_client_1.expectString,
1174
+ cloudExadataInfrastructureId: smithy_client_1.expectString,
1175
+ computeCount: smithy_client_1.expectInt32,
1176
+ computeModel: smithy_client_1.expectString,
1177
+ cpuCount: smithy_client_1.expectInt32,
1178
+ createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
1179
+ customerContactsToSendToOCI: smithy_client_1._json,
1180
+ dataStorageSizeInTBs: smithy_client_1.limitedParseDouble,
1181
+ databaseServerType: smithy_client_1.expectString,
1182
+ dbNodeStorageSizeInGBs: smithy_client_1.expectInt32,
1183
+ dbServerVersion: smithy_client_1.expectString,
1184
+ displayName: smithy_client_1.expectString,
1185
+ lastMaintenanceRunId: smithy_client_1.expectString,
1186
+ maintenanceWindow: smithy_client_1._json,
1187
+ maxCpuCount: smithy_client_1.expectInt32,
1188
+ maxDataStorageInTBs: smithy_client_1.limitedParseDouble,
1189
+ maxDbNodeStorageSizeInGBs: smithy_client_1.expectInt32,
1190
+ maxMemoryInGBs: smithy_client_1.expectInt32,
1191
+ memorySizeInGBs: smithy_client_1.expectInt32,
1192
+ monthlyDbServerVersion: smithy_client_1.expectString,
1193
+ monthlyStorageServerVersion: smithy_client_1.expectString,
1194
+ nextMaintenanceRunId: smithy_client_1.expectString,
1195
+ ociResourceAnchorName: smithy_client_1.expectString,
1196
+ ociUrl: smithy_client_1.expectString,
1197
+ ocid: smithy_client_1.expectString,
1198
+ percentProgress: smithy_client_1.limitedParseFloat32,
1199
+ shape: smithy_client_1.expectString,
1200
+ status: smithy_client_1.expectString,
1201
+ statusReason: smithy_client_1.expectString,
1202
+ storageCount: smithy_client_1.expectInt32,
1203
+ storageServerType: smithy_client_1.expectString,
1204
+ storageServerVersion: smithy_client_1.expectString,
1205
+ totalStorageSizeInGBs: smithy_client_1.expectInt32,
1206
+ });
1207
+ };
1208
+ const de_CloudExadataInfrastructureList = (output, context) => {
1209
+ const retVal = (output || [])
1210
+ .filter((e) => e != null)
1211
+ .map((entry) => {
1212
+ return de_CloudExadataInfrastructureSummary(entry, context);
1213
+ });
1214
+ return retVal;
1215
+ };
1216
+ const de_CloudExadataInfrastructureSummary = (output, context) => {
1217
+ return (0, smithy_client_1.take)(output, {
1218
+ activatedStorageCount: smithy_client_1.expectInt32,
1219
+ additionalStorageCount: smithy_client_1.expectInt32,
1220
+ availabilityZone: smithy_client_1.expectString,
1221
+ availabilityZoneId: smithy_client_1.expectString,
1222
+ availableStorageSizeInGBs: smithy_client_1.expectInt32,
1223
+ cloudExadataInfrastructureArn: smithy_client_1.expectString,
1224
+ cloudExadataInfrastructureId: smithy_client_1.expectString,
1225
+ computeCount: smithy_client_1.expectInt32,
1226
+ computeModel: smithy_client_1.expectString,
1227
+ cpuCount: smithy_client_1.expectInt32,
1228
+ createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
1229
+ customerContactsToSendToOCI: smithy_client_1._json,
1230
+ dataStorageSizeInTBs: smithy_client_1.limitedParseDouble,
1231
+ databaseServerType: smithy_client_1.expectString,
1232
+ dbNodeStorageSizeInGBs: smithy_client_1.expectInt32,
1233
+ dbServerVersion: smithy_client_1.expectString,
1234
+ displayName: smithy_client_1.expectString,
1235
+ lastMaintenanceRunId: smithy_client_1.expectString,
1236
+ maintenanceWindow: smithy_client_1._json,
1237
+ maxCpuCount: smithy_client_1.expectInt32,
1238
+ maxDataStorageInTBs: smithy_client_1.limitedParseDouble,
1239
+ maxDbNodeStorageSizeInGBs: smithy_client_1.expectInt32,
1240
+ maxMemoryInGBs: smithy_client_1.expectInt32,
1241
+ memorySizeInGBs: smithy_client_1.expectInt32,
1242
+ monthlyDbServerVersion: smithy_client_1.expectString,
1243
+ monthlyStorageServerVersion: smithy_client_1.expectString,
1244
+ nextMaintenanceRunId: smithy_client_1.expectString,
1245
+ ociResourceAnchorName: smithy_client_1.expectString,
1246
+ ociUrl: smithy_client_1.expectString,
1247
+ ocid: smithy_client_1.expectString,
1248
+ percentProgress: smithy_client_1.limitedParseFloat32,
1249
+ shape: smithy_client_1.expectString,
1250
+ status: smithy_client_1.expectString,
1251
+ statusReason: smithy_client_1.expectString,
1252
+ storageCount: smithy_client_1.expectInt32,
1253
+ storageServerType: smithy_client_1.expectString,
1254
+ storageServerVersion: smithy_client_1.expectString,
1255
+ totalStorageSizeInGBs: smithy_client_1.expectInt32,
1256
+ });
1257
+ };
1258
+ const de_CloudExadataInfrastructureUnallocatedResources = (output, context) => {
1259
+ return (0, smithy_client_1.take)(output, {
1260
+ cloudAutonomousVmClusters: (_) => de_CloudAutonomousVmClusterResourceDetailsList(_, context),
1261
+ cloudExadataInfrastructureDisplayName: smithy_client_1.expectString,
1262
+ cloudExadataInfrastructureId: smithy_client_1.expectString,
1263
+ exadataStorageInTBs: smithy_client_1.limitedParseDouble,
1264
+ localStorageInGBs: smithy_client_1.expectInt32,
1265
+ memoryInGBs: smithy_client_1.expectInt32,
1266
+ ocpus: smithy_client_1.expectInt32,
1267
+ });
1268
+ };
1269
+ const de_CloudVmCluster = (output, context) => {
1270
+ return (0, smithy_client_1.take)(output, {
1271
+ cloudExadataInfrastructureId: smithy_client_1.expectString,
1272
+ cloudVmClusterArn: smithy_client_1.expectString,
1273
+ cloudVmClusterId: smithy_client_1.expectString,
1274
+ clusterName: smithy_client_1.expectString,
1275
+ computeModel: smithy_client_1.expectString,
1276
+ cpuCoreCount: smithy_client_1.expectInt32,
1277
+ createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
1278
+ dataCollectionOptions: smithy_client_1._json,
1279
+ dataStorageSizeInTBs: smithy_client_1.limitedParseDouble,
1280
+ dbNodeStorageSizeInGBs: smithy_client_1.expectInt32,
1281
+ dbServers: smithy_client_1._json,
1282
+ diskRedundancy: smithy_client_1.expectString,
1283
+ displayName: smithy_client_1.expectString,
1284
+ domain: smithy_client_1.expectString,
1285
+ giVersion: smithy_client_1.expectString,
1286
+ hostname: smithy_client_1.expectString,
1287
+ iormConfigCache: smithy_client_1._json,
1288
+ isLocalBackupEnabled: smithy_client_1.expectBoolean,
1289
+ isSparseDiskgroupEnabled: smithy_client_1.expectBoolean,
1290
+ lastUpdateHistoryEntryId: smithy_client_1.expectString,
1291
+ licenseModel: smithy_client_1.expectString,
1292
+ listenerPort: smithy_client_1.expectInt32,
1293
+ memorySizeInGBs: smithy_client_1.expectInt32,
1294
+ nodeCount: smithy_client_1.expectInt32,
1295
+ ociResourceAnchorName: smithy_client_1.expectString,
1296
+ ociUrl: smithy_client_1.expectString,
1297
+ ocid: smithy_client_1.expectString,
1298
+ odbNetworkId: smithy_client_1.expectString,
1299
+ percentProgress: smithy_client_1.limitedParseFloat32,
1300
+ scanDnsName: smithy_client_1.expectString,
1301
+ scanDnsRecordId: smithy_client_1.expectString,
1302
+ scanIpIds: smithy_client_1._json,
1303
+ shape: smithy_client_1.expectString,
1304
+ sshPublicKeys: smithy_client_1._json,
1305
+ status: smithy_client_1.expectString,
1306
+ statusReason: smithy_client_1.expectString,
1307
+ storageSizeInGBs: smithy_client_1.expectInt32,
1308
+ systemVersion: smithy_client_1.expectString,
1309
+ timeZone: smithy_client_1.expectString,
1310
+ vipIds: smithy_client_1._json,
1311
+ });
1312
+ };
1313
+ const de_CloudVmClusterList = (output, context) => {
1314
+ const retVal = (output || [])
1315
+ .filter((e) => e != null)
1316
+ .map((entry) => {
1317
+ return de_CloudVmClusterSummary(entry, context);
1318
+ });
1319
+ return retVal;
1320
+ };
1321
+ const de_CloudVmClusterSummary = (output, context) => {
1322
+ return (0, smithy_client_1.take)(output, {
1323
+ cloudExadataInfrastructureId: smithy_client_1.expectString,
1324
+ cloudVmClusterArn: smithy_client_1.expectString,
1325
+ cloudVmClusterId: smithy_client_1.expectString,
1326
+ clusterName: smithy_client_1.expectString,
1327
+ computeModel: smithy_client_1.expectString,
1328
+ cpuCoreCount: smithy_client_1.expectInt32,
1329
+ createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
1330
+ dataCollectionOptions: smithy_client_1._json,
1331
+ dataStorageSizeInTBs: smithy_client_1.limitedParseDouble,
1332
+ dbNodeStorageSizeInGBs: smithy_client_1.expectInt32,
1333
+ dbServers: smithy_client_1._json,
1334
+ diskRedundancy: smithy_client_1.expectString,
1335
+ displayName: smithy_client_1.expectString,
1336
+ domain: smithy_client_1.expectString,
1337
+ giVersion: smithy_client_1.expectString,
1338
+ hostname: smithy_client_1.expectString,
1339
+ iormConfigCache: smithy_client_1._json,
1340
+ isLocalBackupEnabled: smithy_client_1.expectBoolean,
1341
+ isSparseDiskgroupEnabled: smithy_client_1.expectBoolean,
1342
+ lastUpdateHistoryEntryId: smithy_client_1.expectString,
1343
+ licenseModel: smithy_client_1.expectString,
1344
+ listenerPort: smithy_client_1.expectInt32,
1345
+ memorySizeInGBs: smithy_client_1.expectInt32,
1346
+ nodeCount: smithy_client_1.expectInt32,
1347
+ ociResourceAnchorName: smithy_client_1.expectString,
1348
+ ociUrl: smithy_client_1.expectString,
1349
+ ocid: smithy_client_1.expectString,
1350
+ odbNetworkId: smithy_client_1.expectString,
1351
+ percentProgress: smithy_client_1.limitedParseFloat32,
1352
+ scanDnsName: smithy_client_1.expectString,
1353
+ scanDnsRecordId: smithy_client_1.expectString,
1354
+ scanIpIds: smithy_client_1._json,
1355
+ shape: smithy_client_1.expectString,
1356
+ sshPublicKeys: smithy_client_1._json,
1357
+ status: smithy_client_1.expectString,
1358
+ statusReason: smithy_client_1.expectString,
1359
+ storageSizeInGBs: smithy_client_1.expectInt32,
1360
+ systemVersion: smithy_client_1.expectString,
1361
+ timeZone: smithy_client_1.expectString,
1362
+ vipIds: smithy_client_1._json,
1363
+ });
1364
+ };
1365
+ const de_DbNode = (output, context) => {
1366
+ return (0, smithy_client_1.take)(output, {
1367
+ additionalDetails: smithy_client_1.expectString,
1368
+ backupIpId: smithy_client_1.expectString,
1369
+ backupVnic2Id: smithy_client_1.expectString,
1370
+ backupVnicId: smithy_client_1.expectString,
1371
+ cpuCoreCount: smithy_client_1.expectInt32,
1372
+ createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
1373
+ dbNodeArn: smithy_client_1.expectString,
1374
+ dbNodeId: smithy_client_1.expectString,
1375
+ dbNodeStorageSizeInGBs: smithy_client_1.expectInt32,
1376
+ dbServerId: smithy_client_1.expectString,
1377
+ dbSystemId: smithy_client_1.expectString,
1378
+ faultDomain: smithy_client_1.expectString,
1379
+ floatingIpAddress: smithy_client_1.expectString,
1380
+ hostIpId: smithy_client_1.expectString,
1381
+ hostname: smithy_client_1.expectString,
1382
+ maintenanceType: smithy_client_1.expectString,
1383
+ memorySizeInGBs: smithy_client_1.expectInt32,
1384
+ ociResourceAnchorName: smithy_client_1.expectString,
1385
+ ocid: smithy_client_1.expectString,
1386
+ privateIpAddress: smithy_client_1.expectString,
1387
+ softwareStorageSizeInGB: smithy_client_1.expectInt32,
1388
+ status: smithy_client_1.expectString,
1389
+ statusReason: smithy_client_1.expectString,
1390
+ timeMaintenanceWindowEnd: smithy_client_1.expectString,
1391
+ timeMaintenanceWindowStart: smithy_client_1.expectString,
1392
+ totalCpuCoreCount: smithy_client_1.expectInt32,
1393
+ vnic2Id: smithy_client_1.expectString,
1394
+ vnicId: smithy_client_1.expectString,
1395
+ });
1396
+ };
1397
+ const de_DbNodeList = (output, context) => {
1398
+ const retVal = (output || [])
1399
+ .filter((e) => e != null)
1400
+ .map((entry) => {
1401
+ return de_DbNodeSummary(entry, context);
1402
+ });
1403
+ return retVal;
1404
+ };
1405
+ const de_DbNodeSummary = (output, context) => {
1406
+ return (0, smithy_client_1.take)(output, {
1407
+ additionalDetails: smithy_client_1.expectString,
1408
+ backupIpId: smithy_client_1.expectString,
1409
+ backupVnic2Id: smithy_client_1.expectString,
1410
+ backupVnicId: smithy_client_1.expectString,
1411
+ cpuCoreCount: smithy_client_1.expectInt32,
1412
+ createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
1413
+ dbNodeArn: smithy_client_1.expectString,
1414
+ dbNodeId: smithy_client_1.expectString,
1415
+ dbNodeStorageSizeInGBs: smithy_client_1.expectInt32,
1416
+ dbServerId: smithy_client_1.expectString,
1417
+ dbSystemId: smithy_client_1.expectString,
1418
+ faultDomain: smithy_client_1.expectString,
1419
+ hostIpId: smithy_client_1.expectString,
1420
+ hostname: smithy_client_1.expectString,
1421
+ maintenanceType: smithy_client_1.expectString,
1422
+ memorySizeInGBs: smithy_client_1.expectInt32,
1423
+ ociResourceAnchorName: smithy_client_1.expectString,
1424
+ ocid: smithy_client_1.expectString,
1425
+ softwareStorageSizeInGB: smithy_client_1.expectInt32,
1426
+ status: smithy_client_1.expectString,
1427
+ statusReason: smithy_client_1.expectString,
1428
+ timeMaintenanceWindowEnd: smithy_client_1.expectString,
1429
+ timeMaintenanceWindowStart: smithy_client_1.expectString,
1430
+ totalCpuCoreCount: smithy_client_1.expectInt32,
1431
+ vnic2Id: smithy_client_1.expectString,
1432
+ vnicId: smithy_client_1.expectString,
1433
+ });
1434
+ };
1435
+ const de_DbServer = (output, context) => {
1436
+ return (0, smithy_client_1.take)(output, {
1437
+ autonomousVirtualMachineIds: smithy_client_1._json,
1438
+ autonomousVmClusterIds: smithy_client_1._json,
1439
+ computeModel: smithy_client_1.expectString,
1440
+ cpuCoreCount: smithy_client_1.expectInt32,
1441
+ createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
1442
+ dbNodeStorageSizeInGBs: smithy_client_1.expectInt32,
1443
+ dbServerId: smithy_client_1.expectString,
1444
+ dbServerPatchingDetails: smithy_client_1._json,
1445
+ displayName: smithy_client_1.expectString,
1446
+ exadataInfrastructureId: smithy_client_1.expectString,
1447
+ maxCpuCount: smithy_client_1.expectInt32,
1448
+ maxDbNodeStorageInGBs: smithy_client_1.expectInt32,
1449
+ maxMemoryInGBs: smithy_client_1.expectInt32,
1450
+ memorySizeInGBs: smithy_client_1.expectInt32,
1451
+ ociResourceAnchorName: smithy_client_1.expectString,
1452
+ ocid: smithy_client_1.expectString,
1453
+ shape: smithy_client_1.expectString,
1454
+ status: smithy_client_1.expectString,
1455
+ statusReason: smithy_client_1.expectString,
1456
+ vmClusterIds: smithy_client_1._json,
1457
+ });
1458
+ };
1459
+ const de_DbServerList = (output, context) => {
1460
+ const retVal = (output || [])
1461
+ .filter((e) => e != null)
1462
+ .map((entry) => {
1463
+ return de_DbServerSummary(entry, context);
1464
+ });
1465
+ return retVal;
1466
+ };
1467
+ const de_DbServerSummary = (output, context) => {
1468
+ return (0, smithy_client_1.take)(output, {
1469
+ autonomousVirtualMachineIds: smithy_client_1._json,
1470
+ autonomousVmClusterIds: smithy_client_1._json,
1471
+ computeModel: smithy_client_1.expectString,
1472
+ cpuCoreCount: smithy_client_1.expectInt32,
1473
+ createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
1474
+ dbNodeStorageSizeInGBs: smithy_client_1.expectInt32,
1475
+ dbServerId: smithy_client_1.expectString,
1476
+ dbServerPatchingDetails: smithy_client_1._json,
1477
+ displayName: smithy_client_1.expectString,
1478
+ exadataInfrastructureId: smithy_client_1.expectString,
1479
+ maxCpuCount: smithy_client_1.expectInt32,
1480
+ maxDbNodeStorageInGBs: smithy_client_1.expectInt32,
1481
+ maxMemoryInGBs: smithy_client_1.expectInt32,
1482
+ memorySizeInGBs: smithy_client_1.expectInt32,
1483
+ ociResourceAnchorName: smithy_client_1.expectString,
1484
+ ocid: smithy_client_1.expectString,
1485
+ shape: smithy_client_1.expectString,
1486
+ status: smithy_client_1.expectString,
1487
+ statusReason: smithy_client_1.expectString,
1488
+ vmClusterIds: smithy_client_1._json,
1489
+ });
1490
+ };
1491
+ const de_GetCloudAutonomousVmClusterOutput = (output, context) => {
1492
+ return (0, smithy_client_1.take)(output, {
1493
+ cloudAutonomousVmCluster: (_) => de_CloudAutonomousVmCluster(_, context),
1494
+ });
1495
+ };
1496
+ const de_GetCloudExadataInfrastructureOutput = (output, context) => {
1497
+ return (0, smithy_client_1.take)(output, {
1498
+ cloudExadataInfrastructure: (_) => de_CloudExadataInfrastructure(_, context),
1499
+ });
1500
+ };
1501
+ const de_GetCloudExadataInfrastructureUnallocatedResourcesOutput = (output, context) => {
1502
+ return (0, smithy_client_1.take)(output, {
1503
+ cloudExadataInfrastructureUnallocatedResources: (_) => de_CloudExadataInfrastructureUnallocatedResources(_, context),
1504
+ });
1505
+ };
1506
+ const de_GetCloudVmClusterOutput = (output, context) => {
1507
+ return (0, smithy_client_1.take)(output, {
1508
+ cloudVmCluster: (_) => de_CloudVmCluster(_, context),
1509
+ });
1510
+ };
1511
+ const de_GetDbNodeOutput = (output, context) => {
1512
+ return (0, smithy_client_1.take)(output, {
1513
+ dbNode: (_) => de_DbNode(_, context),
1514
+ });
1515
+ };
1516
+ const de_GetDbServerOutput = (output, context) => {
1517
+ return (0, smithy_client_1.take)(output, {
1518
+ dbServer: (_) => de_DbServer(_, context),
1519
+ });
1520
+ };
1521
+ const de_GetOdbNetworkOutput = (output, context) => {
1522
+ return (0, smithy_client_1.take)(output, {
1523
+ odbNetwork: (_) => de_OdbNetwork(_, context),
1524
+ });
1525
+ };
1526
+ const de_GetOdbPeeringConnectionOutput = (output, context) => {
1527
+ return (0, smithy_client_1.take)(output, {
1528
+ odbPeeringConnection: (_) => de_OdbPeeringConnection(_, context),
1529
+ });
1530
+ };
1531
+ const de_ListCloudAutonomousVmClustersOutput = (output, context) => {
1532
+ return (0, smithy_client_1.take)(output, {
1533
+ cloudAutonomousVmClusters: (_) => de_CloudAutonomousVmClusterList(_, context),
1534
+ nextToken: smithy_client_1.expectString,
1535
+ });
1536
+ };
1537
+ const de_ListCloudExadataInfrastructuresOutput = (output, context) => {
1538
+ return (0, smithy_client_1.take)(output, {
1539
+ cloudExadataInfrastructures: (_) => de_CloudExadataInfrastructureList(_, context),
1540
+ nextToken: smithy_client_1.expectString,
1541
+ });
1542
+ };
1543
+ const de_ListCloudVmClustersOutput = (output, context) => {
1544
+ return (0, smithy_client_1.take)(output, {
1545
+ cloudVmClusters: (_) => de_CloudVmClusterList(_, context),
1546
+ nextToken: smithy_client_1.expectString,
1547
+ });
1548
+ };
1549
+ const de_ListDbNodesOutput = (output, context) => {
1550
+ return (0, smithy_client_1.take)(output, {
1551
+ dbNodes: (_) => de_DbNodeList(_, context),
1552
+ nextToken: smithy_client_1.expectString,
1553
+ });
1554
+ };
1555
+ const de_ListDbServersOutput = (output, context) => {
1556
+ return (0, smithy_client_1.take)(output, {
1557
+ dbServers: (_) => de_DbServerList(_, context),
1558
+ nextToken: smithy_client_1.expectString,
1559
+ });
1560
+ };
1561
+ const de_ListOdbNetworksOutput = (output, context) => {
1562
+ return (0, smithy_client_1.take)(output, {
1563
+ nextToken: smithy_client_1.expectString,
1564
+ odbNetworks: (_) => de_OdbNetworkList(_, context),
1565
+ });
1566
+ };
1567
+ const de_ListOdbPeeringConnectionsOutput = (output, context) => {
1568
+ return (0, smithy_client_1.take)(output, {
1569
+ nextToken: smithy_client_1.expectString,
1570
+ odbPeeringConnections: (_) => de_OdbPeeringConnectionList(_, context),
1571
+ });
1572
+ };
1573
+ const de_OdbNetwork = (output, context) => {
1574
+ return (0, smithy_client_1.take)(output, {
1575
+ availabilityZone: smithy_client_1.expectString,
1576
+ availabilityZoneId: smithy_client_1.expectString,
1577
+ backupSubnetCidr: smithy_client_1.expectString,
1578
+ clientSubnetCidr: smithy_client_1.expectString,
1579
+ createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
1580
+ customDomainName: smithy_client_1.expectString,
1581
+ defaultDnsPrefix: smithy_client_1.expectString,
1582
+ displayName: smithy_client_1.expectString,
1583
+ managedServices: smithy_client_1._json,
1584
+ ociDnsForwardingConfigs: smithy_client_1._json,
1585
+ ociNetworkAnchorId: smithy_client_1.expectString,
1586
+ ociNetworkAnchorUrl: smithy_client_1.expectString,
1587
+ ociResourceAnchorName: smithy_client_1.expectString,
1588
+ ociVcnId: smithy_client_1.expectString,
1589
+ ociVcnUrl: smithy_client_1.expectString,
1590
+ odbNetworkArn: smithy_client_1.expectString,
1591
+ odbNetworkId: smithy_client_1.expectString,
1592
+ peeredCidrs: smithy_client_1._json,
1593
+ percentProgress: smithy_client_1.limitedParseFloat32,
1594
+ status: smithy_client_1.expectString,
1595
+ statusReason: smithy_client_1.expectString,
1596
+ });
1597
+ };
1598
+ const de_OdbNetworkList = (output, context) => {
1599
+ const retVal = (output || [])
1600
+ .filter((e) => e != null)
1601
+ .map((entry) => {
1602
+ return de_OdbNetworkSummary(entry, context);
1603
+ });
1604
+ return retVal;
1605
+ };
1606
+ const de_OdbNetworkSummary = (output, context) => {
1607
+ return (0, smithy_client_1.take)(output, {
1608
+ availabilityZone: smithy_client_1.expectString,
1609
+ availabilityZoneId: smithy_client_1.expectString,
1610
+ backupSubnetCidr: smithy_client_1.expectString,
1611
+ clientSubnetCidr: smithy_client_1.expectString,
1612
+ createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
1613
+ customDomainName: smithy_client_1.expectString,
1614
+ defaultDnsPrefix: smithy_client_1.expectString,
1615
+ displayName: smithy_client_1.expectString,
1616
+ managedServices: smithy_client_1._json,
1617
+ ociDnsForwardingConfigs: smithy_client_1._json,
1618
+ ociNetworkAnchorId: smithy_client_1.expectString,
1619
+ ociNetworkAnchorUrl: smithy_client_1.expectString,
1620
+ ociResourceAnchorName: smithy_client_1.expectString,
1621
+ ociVcnId: smithy_client_1.expectString,
1622
+ ociVcnUrl: smithy_client_1.expectString,
1623
+ odbNetworkArn: smithy_client_1.expectString,
1624
+ odbNetworkId: smithy_client_1.expectString,
1625
+ peeredCidrs: smithy_client_1._json,
1626
+ percentProgress: smithy_client_1.limitedParseFloat32,
1627
+ status: smithy_client_1.expectString,
1628
+ statusReason: smithy_client_1.expectString,
1629
+ });
1630
+ };
1631
+ const de_OdbPeeringConnection = (output, context) => {
1632
+ return (0, smithy_client_1.take)(output, {
1633
+ createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
1634
+ displayName: smithy_client_1.expectString,
1635
+ odbNetworkArn: smithy_client_1.expectString,
1636
+ odbPeeringConnectionArn: smithy_client_1.expectString,
1637
+ odbPeeringConnectionId: smithy_client_1.expectString,
1638
+ odbPeeringConnectionType: smithy_client_1.expectString,
1639
+ peerNetworkArn: smithy_client_1.expectString,
1640
+ percentProgress: smithy_client_1.limitedParseFloat32,
1641
+ status: smithy_client_1.expectString,
1642
+ statusReason: smithy_client_1.expectString,
1643
+ });
1644
+ };
1645
+ const de_OdbPeeringConnectionList = (output, context) => {
1646
+ const retVal = (output || [])
1647
+ .filter((e) => e != null)
1648
+ .map((entry) => {
1649
+ return de_OdbPeeringConnectionSummary(entry, context);
1650
+ });
1651
+ return retVal;
1652
+ };
1653
+ const de_OdbPeeringConnectionSummary = (output, context) => {
1654
+ return (0, smithy_client_1.take)(output, {
1655
+ createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
1656
+ displayName: smithy_client_1.expectString,
1657
+ odbNetworkArn: smithy_client_1.expectString,
1658
+ odbPeeringConnectionArn: smithy_client_1.expectString,
1659
+ odbPeeringConnectionId: smithy_client_1.expectString,
1660
+ odbPeeringConnectionType: smithy_client_1.expectString,
1661
+ peerNetworkArn: smithy_client_1.expectString,
1662
+ percentProgress: smithy_client_1.limitedParseFloat32,
1663
+ status: smithy_client_1.expectString,
1664
+ statusReason: smithy_client_1.expectString,
1665
+ });
1666
+ };
1667
+ const deserializeMetadata = (output) => ({
1668
+ httpStatusCode: output.statusCode,
1669
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1670
+ extendedRequestId: output.headers["x-amz-id-2"],
1671
+ cfId: output.headers["x-amz-cf-id"],
1672
+ });
1673
+ const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
1674
+ const throwDefaultError = (0, smithy_client_1.withBaseException)(OdbServiceException_1.OdbServiceException);
1675
+ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
1676
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1677
+ const contents = {
1678
+ protocol,
1679
+ hostname,
1680
+ port,
1681
+ method: "POST",
1682
+ path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1683
+ headers,
1684
+ };
1685
+ if (resolvedHostname !== undefined) {
1686
+ contents.hostname = resolvedHostname;
1687
+ }
1688
+ if (body !== undefined) {
1689
+ contents.body = body;
1690
+ }
1691
+ return new protocol_http_1.HttpRequest(contents);
1692
+ };
1693
+ function sharedHeaders(operation) {
1694
+ return {
1695
+ "content-type": "application/x-amz-json-1.0",
1696
+ "x-amz-target": `Odb.${operation}`,
1697
+ };
1698
+ }