@aws-sdk/client-license-manager 3.33.0 → 3.36.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (434) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/README.md +2 -4
  3. package/{dist/cjs → dist-cjs}/LicenseManager.js +47 -8
  4. package/{dist/cjs → dist-cjs}/LicenseManagerClient.js +8 -19
  5. package/{dist/cjs → dist-cjs}/commands/AcceptGrantCommand.js +2 -27
  6. package/{dist/cjs → dist-cjs}/commands/CheckInLicenseCommand.js +2 -27
  7. package/{dist/cjs → dist-cjs}/commands/CheckoutBorrowLicenseCommand.js +2 -27
  8. package/{dist/cjs → dist-cjs}/commands/CheckoutLicenseCommand.js +2 -27
  9. package/{dist/cjs → dist-cjs}/commands/CreateGrantCommand.js +2 -27
  10. package/{dist/cjs → dist-cjs}/commands/CreateGrantVersionCommand.js +2 -27
  11. package/{dist/cjs → dist-cjs}/commands/CreateLicenseCommand.js +2 -27
  12. package/{dist/cjs → dist-cjs}/commands/CreateLicenseConfigurationCommand.js +2 -32
  13. package/dist-cjs/commands/CreateLicenseConversionTaskForResourceCommand.js +36 -0
  14. package/{dist/cjs → dist-cjs}/commands/CreateLicenseManagerReportGeneratorCommand.js +2 -27
  15. package/{dist/cjs → dist-cjs}/commands/CreateLicenseVersionCommand.js +2 -27
  16. package/{dist/cjs → dist-cjs}/commands/CreateTokenCommand.js +2 -30
  17. package/{dist/cjs → dist-cjs}/commands/DeleteGrantCommand.js +2 -27
  18. package/{dist/cjs → dist-cjs}/commands/DeleteLicenseCommand.js +2 -27
  19. package/{dist/cjs → dist-cjs}/commands/DeleteLicenseConfigurationCommand.js +2 -28
  20. package/{dist/cjs → dist-cjs}/commands/DeleteLicenseManagerReportGeneratorCommand.js +2 -28
  21. package/{dist/cjs → dist-cjs}/commands/DeleteTokenCommand.js +2 -27
  22. package/{dist/cjs → dist-cjs}/commands/ExtendLicenseConsumptionCommand.js +2 -27
  23. package/{dist/cjs → dist-cjs}/commands/GetAccessTokenCommand.js +2 -28
  24. package/{dist/cjs → dist-cjs}/commands/GetGrantCommand.js +2 -27
  25. package/{dist/cjs → dist-cjs}/commands/GetLicenseCommand.js +2 -27
  26. package/{dist/cjs → dist-cjs}/commands/GetLicenseConfigurationCommand.js +2 -27
  27. package/dist-cjs/commands/GetLicenseConversionTaskCommand.js +36 -0
  28. package/{dist/cjs → dist-cjs}/commands/GetLicenseManagerReportGeneratorCommand.js +2 -27
  29. package/{dist/cjs → dist-cjs}/commands/GetLicenseUsageCommand.js +2 -27
  30. package/{dist/cjs → dist-cjs}/commands/GetServiceSettingsCommand.js +2 -27
  31. package/{dist/cjs → dist-cjs}/commands/ListAssociationsForLicenseConfigurationCommand.js +2 -30
  32. package/{dist/cjs → dist-cjs}/commands/ListDistributedGrantsCommand.js +2 -27
  33. package/{dist/cjs → dist-cjs}/commands/ListFailuresForLicenseConfigurationOperationsCommand.js +2 -27
  34. package/{dist/cjs → dist-cjs}/commands/ListLicenseConfigurationsCommand.js +2 -27
  35. package/dist-cjs/commands/ListLicenseConversionTasksCommand.js +36 -0
  36. package/{dist/cjs → dist-cjs}/commands/ListLicenseManagerReportGeneratorsCommand.js +2 -27
  37. package/{dist/cjs → dist-cjs}/commands/ListLicenseSpecificationsForResourceCommand.js +2 -27
  38. package/{dist/cjs → dist-cjs}/commands/ListLicenseVersionsCommand.js +2 -27
  39. package/{dist/cjs → dist-cjs}/commands/ListLicensesCommand.js +2 -27
  40. package/{dist/cjs → dist-cjs}/commands/ListReceivedGrantsCommand.js +2 -27
  41. package/{dist/cjs → dist-cjs}/commands/ListReceivedLicensesCommand.js +2 -27
  42. package/{dist/cjs → dist-cjs}/commands/ListResourceInventoryCommand.js +2 -27
  43. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
  44. package/{dist/cjs → dist-cjs}/commands/ListTokensCommand.js +2 -27
  45. package/{dist/cjs → dist-cjs}/commands/ListUsageForLicenseConfigurationCommand.js +2 -29
  46. package/{dist/cjs → dist-cjs}/commands/RejectGrantCommand.js +2 -27
  47. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -27
  48. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
  49. package/{dist/cjs → dist-cjs}/commands/UpdateLicenseConfigurationCommand.js +2 -27
  50. package/{dist/cjs → dist-cjs}/commands/UpdateLicenseManagerReportGeneratorCommand.js +2 -28
  51. package/{dist/cjs → dist-cjs}/commands/UpdateLicenseSpecificationsForResourceCommand.js +2 -30
  52. package/{dist/cjs → dist-cjs}/commands/UpdateServiceSettingsCommand.js +2 -27
  53. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  54. package/{dist/cjs → dist-cjs}/index.js +3 -1
  55. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  56. package/{dist/cjs → dist-cjs}/models/models_0.js +57 -430
  57. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +385 -8
  58. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  59. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  60. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  61. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  62. package/{dist/es → dist-es}/LicenseManager.js +48 -9
  63. package/{dist/es → dist-es}/LicenseManagerClient.js +2 -13
  64. package/{dist/es → dist-es}/commands/AcceptGrantCommand.js +4 -30
  65. package/{dist/es → dist-es}/commands/CheckInLicenseCommand.js +4 -30
  66. package/{dist/es → dist-es}/commands/CheckoutBorrowLicenseCommand.js +4 -30
  67. package/{dist/es → dist-es}/commands/CheckoutLicenseCommand.js +4 -30
  68. package/{dist/es → dist-es}/commands/CreateGrantCommand.js +4 -30
  69. package/{dist/es → dist-es}/commands/CreateGrantVersionCommand.js +4 -30
  70. package/{dist/es → dist-es}/commands/CreateLicenseCommand.js +4 -30
  71. package/{dist/es → dist-es}/commands/CreateLicenseConfigurationCommand.js +4 -35
  72. package/dist-es/commands/CreateLicenseConversionTaskForResourceCommand.js +39 -0
  73. package/{dist/es → dist-es}/commands/CreateLicenseManagerReportGeneratorCommand.js +4 -30
  74. package/{dist/es → dist-es}/commands/CreateLicenseVersionCommand.js +4 -30
  75. package/{dist/es → dist-es}/commands/CreateTokenCommand.js +4 -33
  76. package/{dist/es → dist-es}/commands/DeleteGrantCommand.js +4 -30
  77. package/{dist/es → dist-es}/commands/DeleteLicenseCommand.js +4 -30
  78. package/{dist/es → dist-es}/commands/DeleteLicenseConfigurationCommand.js +4 -31
  79. package/{dist/es → dist-es}/commands/DeleteLicenseManagerReportGeneratorCommand.js +4 -31
  80. package/{dist/es → dist-es}/commands/DeleteTokenCommand.js +4 -30
  81. package/{dist/es → dist-es}/commands/ExtendLicenseConsumptionCommand.js +4 -30
  82. package/{dist/es → dist-es}/commands/GetAccessTokenCommand.js +4 -31
  83. package/{dist/es → dist-es}/commands/GetGrantCommand.js +4 -30
  84. package/{dist/es → dist-es}/commands/GetLicenseCommand.js +4 -30
  85. package/{dist/es → dist-es}/commands/GetLicenseConfigurationCommand.js +4 -30
  86. package/dist-es/commands/GetLicenseConversionTaskCommand.js +39 -0
  87. package/{dist/es → dist-es}/commands/GetLicenseManagerReportGeneratorCommand.js +4 -30
  88. package/{dist/es → dist-es}/commands/GetLicenseUsageCommand.js +4 -30
  89. package/{dist/es → dist-es}/commands/GetServiceSettingsCommand.js +4 -30
  90. package/{dist/es → dist-es}/commands/ListAssociationsForLicenseConfigurationCommand.js +4 -33
  91. package/{dist/es → dist-es}/commands/ListDistributedGrantsCommand.js +4 -30
  92. package/{dist/es → dist-es}/commands/ListFailuresForLicenseConfigurationOperationsCommand.js +4 -30
  93. package/{dist/es → dist-es}/commands/ListLicenseConfigurationsCommand.js +4 -30
  94. package/dist-es/commands/ListLicenseConversionTasksCommand.js +39 -0
  95. package/{dist/es → dist-es}/commands/ListLicenseManagerReportGeneratorsCommand.js +4 -30
  96. package/{dist/es → dist-es}/commands/ListLicenseSpecificationsForResourceCommand.js +4 -30
  97. package/{dist/es → dist-es}/commands/ListLicenseVersionsCommand.js +4 -30
  98. package/{dist/es → dist-es}/commands/ListLicensesCommand.js +4 -30
  99. package/{dist/es → dist-es}/commands/ListReceivedGrantsCommand.js +4 -30
  100. package/{dist/es → dist-es}/commands/ListReceivedLicensesCommand.js +4 -30
  101. package/{dist/es → dist-es}/commands/ListResourceInventoryCommand.js +4 -30
  102. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
  103. package/{dist/es → dist-es}/commands/ListTokensCommand.js +4 -30
  104. package/{dist/es → dist-es}/commands/ListUsageForLicenseConfigurationCommand.js +4 -32
  105. package/{dist/es → dist-es}/commands/RejectGrantCommand.js +4 -30
  106. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
  107. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
  108. package/{dist/es → dist-es}/commands/UpdateLicenseConfigurationCommand.js +4 -30
  109. package/{dist/es → dist-es}/commands/UpdateLicenseManagerReportGeneratorCommand.js +4 -31
  110. package/{dist/es → dist-es}/commands/UpdateLicenseSpecificationsForResourceCommand.js +4 -33
  111. package/{dist/es → dist-es}/commands/UpdateServiceSettingsCommand.js +4 -30
  112. package/{dist/es → dist-es}/endpoints.js +1 -2
  113. package/{dist/es → dist-es}/index.js +3 -1
  114. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  115. package/{dist/es → dist-es}/models/models_0.js +38 -427
  116. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +1927 -1532
  117. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  118. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  119. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  120. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  121. package/{dist/types → dist-types}/LicenseManager.d.ts +35 -14
  122. package/{dist/types/ts3.4 → dist-types}/LicenseManagerClient.d.ts +181 -179
  123. package/{dist/types → dist-types}/commands/AcceptGrantCommand.d.ts +2 -2
  124. package/{dist/types → dist-types}/commands/CheckInLicenseCommand.d.ts +2 -2
  125. package/{dist/types → dist-types}/commands/CheckoutBorrowLicenseCommand.d.ts +2 -2
  126. package/{dist/types → dist-types}/commands/CheckoutLicenseCommand.d.ts +2 -2
  127. package/{dist/types → dist-types}/commands/CreateGrantCommand.d.ts +3 -3
  128. package/{dist/types → dist-types}/commands/CreateGrantVersionCommand.d.ts +2 -2
  129. package/{dist/types → dist-types}/commands/CreateLicenseCommand.d.ts +2 -2
  130. package/{dist/types → dist-types}/commands/CreateLicenseConfigurationCommand.d.ts +2 -2
  131. package/dist-types/commands/CreateLicenseConversionTaskForResourceCommand.d.ts +35 -0
  132. package/{dist/types → dist-types}/commands/CreateLicenseManagerReportGeneratorCommand.d.ts +3 -3
  133. package/{dist/types → dist-types}/commands/CreateLicenseVersionCommand.d.ts +2 -2
  134. package/{dist/types → dist-types}/commands/CreateTokenCommand.d.ts +2 -2
  135. package/{dist/types → dist-types}/commands/DeleteGrantCommand.d.ts +2 -2
  136. package/{dist/types → dist-types}/commands/DeleteLicenseCommand.d.ts +2 -2
  137. package/{dist/types → dist-types}/commands/DeleteLicenseConfigurationCommand.d.ts +2 -2
  138. package/{dist/types → dist-types}/commands/DeleteLicenseManagerReportGeneratorCommand.d.ts +5 -4
  139. package/{dist/types → dist-types}/commands/DeleteTokenCommand.d.ts +2 -2
  140. package/{dist/types → dist-types}/commands/ExtendLicenseConsumptionCommand.d.ts +2 -2
  141. package/{dist/types → dist-types}/commands/GetAccessTokenCommand.d.ts +2 -2
  142. package/{dist/types → dist-types}/commands/GetGrantCommand.d.ts +2 -2
  143. package/{dist/types → dist-types}/commands/GetLicenseCommand.d.ts +2 -2
  144. package/{dist/types → dist-types}/commands/GetLicenseConfigurationCommand.d.ts +2 -2
  145. package/dist-types/commands/GetLicenseConversionTaskCommand.d.ts +35 -0
  146. package/{dist/types → dist-types}/commands/GetLicenseManagerReportGeneratorCommand.d.ts +3 -3
  147. package/{dist/types → dist-types}/commands/GetLicenseUsageCommand.d.ts +2 -2
  148. package/{dist/types → dist-types}/commands/GetServiceSettingsCommand.d.ts +2 -2
  149. package/{dist/types → dist-types}/commands/ListAssociationsForLicenseConfigurationCommand.d.ts +2 -2
  150. package/{dist/types → dist-types}/commands/ListDistributedGrantsCommand.d.ts +2 -2
  151. package/{dist/types → dist-types}/commands/ListFailuresForLicenseConfigurationOperationsCommand.d.ts +2 -2
  152. package/{dist/types → dist-types}/commands/ListLicenseConfigurationsCommand.d.ts +2 -2
  153. package/dist-types/commands/ListLicenseConversionTasksCommand.d.ts +35 -0
  154. package/{dist/types → dist-types}/commands/ListLicenseManagerReportGeneratorsCommand.d.ts +2 -2
  155. package/{dist/types → dist-types}/commands/ListLicenseSpecificationsForResourceCommand.d.ts +2 -2
  156. package/{dist/types → dist-types}/commands/ListLicenseVersionsCommand.d.ts +2 -2
  157. package/{dist/types → dist-types}/commands/ListLicensesCommand.d.ts +2 -2
  158. package/{dist/types → dist-types}/commands/ListReceivedGrantsCommand.d.ts +2 -2
  159. package/{dist/types → dist-types}/commands/ListReceivedLicensesCommand.d.ts +2 -2
  160. package/{dist/types → dist-types}/commands/ListResourceInventoryCommand.d.ts +2 -2
  161. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  162. package/{dist/types → dist-types}/commands/ListTokensCommand.d.ts +2 -2
  163. package/{dist/types → dist-types}/commands/ListUsageForLicenseConfigurationCommand.d.ts +2 -2
  164. package/{dist/types → dist-types}/commands/RejectGrantCommand.d.ts +2 -2
  165. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  166. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  167. package/{dist/types → dist-types}/commands/UpdateLicenseConfigurationCommand.d.ts +2 -2
  168. package/{dist/types → dist-types}/commands/UpdateLicenseManagerReportGeneratorCommand.d.ts +3 -3
  169. package/{dist/types → dist-types}/commands/UpdateLicenseSpecificationsForResourceCommand.d.ts +4 -4
  170. package/{dist/types → dist-types}/commands/UpdateServiceSettingsCommand.d.ts +2 -2
  171. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  172. package/{dist/types → dist-types}/index.d.ts +3 -0
  173. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  174. package/{dist/types → dist-types}/models/models_0.d.ts +249 -39
  175. package/{dist/types/ts3.4 → dist-types}/protocols/Aws_json1_1.d.ts +146 -137
  176. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  177. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  178. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  179. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  180. package/{dist/types → dist-types}/ts3.4/LicenseManager.d.ts +64 -163
  181. package/{dist/types → dist-types/ts3.4}/LicenseManagerClient.d.ts +115 -179
  182. package/dist-types/ts3.4/commands/AcceptGrantCommand.d.ts +17 -0
  183. package/dist-types/ts3.4/commands/CheckInLicenseCommand.d.ts +17 -0
  184. package/{dist/types → dist-types}/ts3.4/commands/CheckoutBorrowLicenseCommand.d.ts +4 -22
  185. package/{dist/types → dist-types}/ts3.4/commands/CheckoutLicenseCommand.d.ts +4 -22
  186. package/dist-types/ts3.4/commands/CreateGrantCommand.d.ts +17 -0
  187. package/{dist/types → dist-types}/ts3.4/commands/CreateGrantVersionCommand.d.ts +4 -22
  188. package/{dist/types → dist-types}/ts3.4/commands/CreateLicenseCommand.d.ts +4 -22
  189. package/dist-types/ts3.4/commands/CreateLicenseConfigurationCommand.d.ts +17 -0
  190. package/dist-types/ts3.4/commands/CreateLicenseConversionTaskForResourceCommand.d.ts +17 -0
  191. package/{dist/types → dist-types}/ts3.4/commands/CreateLicenseManagerReportGeneratorCommand.d.ts +4 -22
  192. package/{dist/types → dist-types}/ts3.4/commands/CreateLicenseVersionCommand.d.ts +4 -22
  193. package/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +17 -0
  194. package/dist-types/ts3.4/commands/DeleteGrantCommand.d.ts +17 -0
  195. package/dist-types/ts3.4/commands/DeleteLicenseCommand.d.ts +17 -0
  196. package/{dist/types → dist-types}/ts3.4/commands/DeleteLicenseConfigurationCommand.d.ts +4 -23
  197. package/dist-types/ts3.4/commands/DeleteLicenseManagerReportGeneratorCommand.d.ts +17 -0
  198. package/dist-types/ts3.4/commands/DeleteTokenCommand.d.ts +17 -0
  199. package/{dist/types → dist-types}/ts3.4/commands/ExtendLicenseConsumptionCommand.d.ts +4 -22
  200. package/dist-types/ts3.4/commands/GetAccessTokenCommand.d.ts +17 -0
  201. package/dist-types/ts3.4/commands/GetGrantCommand.d.ts +17 -0
  202. package/dist-types/ts3.4/commands/GetLicenseCommand.d.ts +17 -0
  203. package/{dist/types → dist-types}/ts3.4/commands/GetLicenseConfigurationCommand.d.ts +4 -22
  204. package/dist-types/ts3.4/commands/GetLicenseConversionTaskCommand.d.ts +17 -0
  205. package/{dist/types → dist-types}/ts3.4/commands/GetLicenseManagerReportGeneratorCommand.d.ts +4 -22
  206. package/dist-types/ts3.4/commands/GetLicenseUsageCommand.d.ts +17 -0
  207. package/{dist/types → dist-types}/ts3.4/commands/GetServiceSettingsCommand.d.ts +4 -22
  208. package/dist-types/ts3.4/commands/ListAssociationsForLicenseConfigurationCommand.d.ts +17 -0
  209. package/{dist/types → dist-types}/ts3.4/commands/ListDistributedGrantsCommand.d.ts +4 -22
  210. package/{dist/types → dist-types}/ts3.4/commands/ListFailuresForLicenseConfigurationOperationsCommand.d.ts +4 -22
  211. package/{dist/types → dist-types}/ts3.4/commands/ListLicenseConfigurationsCommand.d.ts +4 -22
  212. package/dist-types/ts3.4/commands/ListLicenseConversionTasksCommand.d.ts +17 -0
  213. package/{dist/types → dist-types}/ts3.4/commands/ListLicenseManagerReportGeneratorsCommand.d.ts +4 -22
  214. package/{dist/types → dist-types}/ts3.4/commands/ListLicenseSpecificationsForResourceCommand.d.ts +4 -22
  215. package/{dist/types → dist-types}/ts3.4/commands/ListLicenseVersionsCommand.d.ts +4 -22
  216. package/dist-types/ts3.4/commands/ListLicensesCommand.d.ts +17 -0
  217. package/{dist/types → dist-types}/ts3.4/commands/ListReceivedGrantsCommand.d.ts +4 -22
  218. package/{dist/types → dist-types}/ts3.4/commands/ListReceivedLicensesCommand.d.ts +4 -22
  219. package/{dist/types → dist-types}/ts3.4/commands/ListResourceInventoryCommand.d.ts +4 -22
  220. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +4 -22
  221. package/dist-types/ts3.4/commands/ListTokensCommand.d.ts +17 -0
  222. package/dist-types/ts3.4/commands/ListUsageForLicenseConfigurationCommand.d.ts +17 -0
  223. package/dist-types/ts3.4/commands/RejectGrantCommand.d.ts +17 -0
  224. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  225. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  226. package/{dist/types → dist-types}/ts3.4/commands/UpdateLicenseConfigurationCommand.d.ts +4 -22
  227. package/{dist/types → dist-types}/ts3.4/commands/UpdateLicenseManagerReportGeneratorCommand.d.ts +4 -23
  228. package/dist-types/ts3.4/commands/UpdateLicenseSpecificationsForResourceCommand.d.ts +17 -0
  229. package/{dist/types → dist-types}/ts3.4/commands/UpdateServiceSettingsCommand.d.ts +4 -22
  230. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  231. package/{dist/types → dist-types}/ts3.4/index.d.ts +3 -0
  232. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  233. package/dist-types/ts3.4/models/models_0.d.ts +2067 -0
  234. package/{dist/types → dist-types/ts3.4}/protocols/Aws_json1_1.d.ts +146 -137
  235. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  236. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  237. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  238. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  239. package/package.json +52 -49
  240. package/LicenseManager.ts +0 -1597
  241. package/LicenseManagerClient.ts +0 -444
  242. package/commands/AcceptGrantCommand.ts +0 -94
  243. package/commands/CheckInLicenseCommand.ts +0 -94
  244. package/commands/CheckoutBorrowLicenseCommand.ts +0 -94
  245. package/commands/CheckoutLicenseCommand.ts +0 -94
  246. package/commands/CreateGrantCommand.ts +0 -94
  247. package/commands/CreateGrantVersionCommand.ts +0 -94
  248. package/commands/CreateLicenseCommand.ts +0 -94
  249. package/commands/CreateLicenseConfigurationCommand.ts +0 -102
  250. package/commands/CreateLicenseManagerReportGeneratorCommand.ts +0 -105
  251. package/commands/CreateLicenseVersionCommand.ts +0 -94
  252. package/commands/CreateTokenCommand.ts +0 -97
  253. package/commands/DeleteGrantCommand.ts +0 -94
  254. package/commands/DeleteLicenseCommand.ts +0 -94
  255. package/commands/DeleteLicenseConfigurationCommand.ts +0 -98
  256. package/commands/DeleteLicenseManagerReportGeneratorCommand.ts +0 -106
  257. package/commands/DeleteTokenCommand.ts +0 -94
  258. package/commands/ExtendLicenseConsumptionCommand.ts +0 -94
  259. package/commands/GetAccessTokenCommand.ts +0 -95
  260. package/commands/GetGrantCommand.ts +0 -91
  261. package/commands/GetLicenseCommand.ts +0 -94
  262. package/commands/GetLicenseConfigurationCommand.ts +0 -94
  263. package/commands/GetLicenseManagerReportGeneratorCommand.ts +0 -102
  264. package/commands/GetLicenseUsageCommand.ts +0 -94
  265. package/commands/GetServiceSettingsCommand.ts +0 -94
  266. package/commands/ListAssociationsForLicenseConfigurationCommand.ts +0 -112
  267. package/commands/ListDistributedGrantsCommand.ts +0 -94
  268. package/commands/ListFailuresForLicenseConfigurationOperationsCommand.ts +0 -109
  269. package/commands/ListLicenseConfigurationsCommand.ts +0 -97
  270. package/commands/ListLicenseManagerReportGeneratorsCommand.ts +0 -105
  271. package/commands/ListLicenseSpecificationsForResourceCommand.ts +0 -105
  272. package/commands/ListLicenseVersionsCommand.ts +0 -94
  273. package/commands/ListLicensesCommand.ts +0 -94
  274. package/commands/ListReceivedGrantsCommand.ts +0 -94
  275. package/commands/ListReceivedLicensesCommand.ts +0 -94
  276. package/commands/ListResourceInventoryCommand.ts +0 -94
  277. package/commands/ListTagsForResourceCommand.ts +0 -94
  278. package/commands/ListTokensCommand.ts +0 -94
  279. package/commands/ListUsageForLicenseConfigurationCommand.ts +0 -104
  280. package/commands/RejectGrantCommand.ts +0 -94
  281. package/commands/TagResourceCommand.ts +0 -94
  282. package/commands/UntagResourceCommand.ts +0 -94
  283. package/commands/UpdateLicenseConfigurationCommand.ts +0 -97
  284. package/commands/UpdateLicenseManagerReportGeneratorCommand.ts +0 -106
  285. package/commands/UpdateLicenseSpecificationsForResourceCommand.ts +0 -109
  286. package/commands/UpdateServiceSettingsCommand.ts +0 -94
  287. package/dist/cjs/LicenseManager.js.map +0 -1
  288. package/dist/cjs/LicenseManagerClient.js.map +0 -1
  289. package/dist/cjs/commands/AcceptGrantCommand.js.map +0 -1
  290. package/dist/cjs/commands/CheckInLicenseCommand.js.map +0 -1
  291. package/dist/cjs/commands/CheckoutBorrowLicenseCommand.js.map +0 -1
  292. package/dist/cjs/commands/CheckoutLicenseCommand.js.map +0 -1
  293. package/dist/cjs/commands/CreateGrantCommand.js.map +0 -1
  294. package/dist/cjs/commands/CreateGrantVersionCommand.js.map +0 -1
  295. package/dist/cjs/commands/CreateLicenseCommand.js.map +0 -1
  296. package/dist/cjs/commands/CreateLicenseConfigurationCommand.js.map +0 -1
  297. package/dist/cjs/commands/CreateLicenseManagerReportGeneratorCommand.js.map +0 -1
  298. package/dist/cjs/commands/CreateLicenseVersionCommand.js.map +0 -1
  299. package/dist/cjs/commands/CreateTokenCommand.js.map +0 -1
  300. package/dist/cjs/commands/DeleteGrantCommand.js.map +0 -1
  301. package/dist/cjs/commands/DeleteLicenseCommand.js.map +0 -1
  302. package/dist/cjs/commands/DeleteLicenseConfigurationCommand.js.map +0 -1
  303. package/dist/cjs/commands/DeleteLicenseManagerReportGeneratorCommand.js.map +0 -1
  304. package/dist/cjs/commands/DeleteTokenCommand.js.map +0 -1
  305. package/dist/cjs/commands/ExtendLicenseConsumptionCommand.js.map +0 -1
  306. package/dist/cjs/commands/GetAccessTokenCommand.js.map +0 -1
  307. package/dist/cjs/commands/GetGrantCommand.js.map +0 -1
  308. package/dist/cjs/commands/GetLicenseCommand.js.map +0 -1
  309. package/dist/cjs/commands/GetLicenseConfigurationCommand.js.map +0 -1
  310. package/dist/cjs/commands/GetLicenseManagerReportGeneratorCommand.js.map +0 -1
  311. package/dist/cjs/commands/GetLicenseUsageCommand.js.map +0 -1
  312. package/dist/cjs/commands/GetServiceSettingsCommand.js.map +0 -1
  313. package/dist/cjs/commands/ListAssociationsForLicenseConfigurationCommand.js.map +0 -1
  314. package/dist/cjs/commands/ListDistributedGrantsCommand.js.map +0 -1
  315. package/dist/cjs/commands/ListFailuresForLicenseConfigurationOperationsCommand.js.map +0 -1
  316. package/dist/cjs/commands/ListLicenseConfigurationsCommand.js.map +0 -1
  317. package/dist/cjs/commands/ListLicenseManagerReportGeneratorsCommand.js.map +0 -1
  318. package/dist/cjs/commands/ListLicenseSpecificationsForResourceCommand.js.map +0 -1
  319. package/dist/cjs/commands/ListLicenseVersionsCommand.js.map +0 -1
  320. package/dist/cjs/commands/ListLicensesCommand.js.map +0 -1
  321. package/dist/cjs/commands/ListReceivedGrantsCommand.js.map +0 -1
  322. package/dist/cjs/commands/ListReceivedLicensesCommand.js.map +0 -1
  323. package/dist/cjs/commands/ListResourceInventoryCommand.js.map +0 -1
  324. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  325. package/dist/cjs/commands/ListTokensCommand.js.map +0 -1
  326. package/dist/cjs/commands/ListUsageForLicenseConfigurationCommand.js.map +0 -1
  327. package/dist/cjs/commands/RejectGrantCommand.js.map +0 -1
  328. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  329. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  330. package/dist/cjs/commands/UpdateLicenseConfigurationCommand.js.map +0 -1
  331. package/dist/cjs/commands/UpdateLicenseManagerReportGeneratorCommand.js.map +0 -1
  332. package/dist/cjs/commands/UpdateLicenseSpecificationsForResourceCommand.js.map +0 -1
  333. package/dist/cjs/commands/UpdateServiceSettingsCommand.js.map +0 -1
  334. package/dist/cjs/endpoints.js.map +0 -1
  335. package/dist/cjs/index.js.map +0 -1
  336. package/dist/cjs/models/index.js.map +0 -1
  337. package/dist/cjs/models/models_0.js.map +0 -1
  338. package/dist/cjs/package.json +0 -91
  339. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  340. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  341. package/dist/cjs/runtimeConfig.js.map +0 -1
  342. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  343. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  344. package/dist/es/LicenseManager.js.map +0 -1
  345. package/dist/es/LicenseManagerClient.js.map +0 -1
  346. package/dist/es/commands/AcceptGrantCommand.js.map +0 -1
  347. package/dist/es/commands/CheckInLicenseCommand.js.map +0 -1
  348. package/dist/es/commands/CheckoutBorrowLicenseCommand.js.map +0 -1
  349. package/dist/es/commands/CheckoutLicenseCommand.js.map +0 -1
  350. package/dist/es/commands/CreateGrantCommand.js.map +0 -1
  351. package/dist/es/commands/CreateGrantVersionCommand.js.map +0 -1
  352. package/dist/es/commands/CreateLicenseCommand.js.map +0 -1
  353. package/dist/es/commands/CreateLicenseConfigurationCommand.js.map +0 -1
  354. package/dist/es/commands/CreateLicenseManagerReportGeneratorCommand.js.map +0 -1
  355. package/dist/es/commands/CreateLicenseVersionCommand.js.map +0 -1
  356. package/dist/es/commands/CreateTokenCommand.js.map +0 -1
  357. package/dist/es/commands/DeleteGrantCommand.js.map +0 -1
  358. package/dist/es/commands/DeleteLicenseCommand.js.map +0 -1
  359. package/dist/es/commands/DeleteLicenseConfigurationCommand.js.map +0 -1
  360. package/dist/es/commands/DeleteLicenseManagerReportGeneratorCommand.js.map +0 -1
  361. package/dist/es/commands/DeleteTokenCommand.js.map +0 -1
  362. package/dist/es/commands/ExtendLicenseConsumptionCommand.js.map +0 -1
  363. package/dist/es/commands/GetAccessTokenCommand.js.map +0 -1
  364. package/dist/es/commands/GetGrantCommand.js.map +0 -1
  365. package/dist/es/commands/GetLicenseCommand.js.map +0 -1
  366. package/dist/es/commands/GetLicenseConfigurationCommand.js.map +0 -1
  367. package/dist/es/commands/GetLicenseManagerReportGeneratorCommand.js.map +0 -1
  368. package/dist/es/commands/GetLicenseUsageCommand.js.map +0 -1
  369. package/dist/es/commands/GetServiceSettingsCommand.js.map +0 -1
  370. package/dist/es/commands/ListAssociationsForLicenseConfigurationCommand.js.map +0 -1
  371. package/dist/es/commands/ListDistributedGrantsCommand.js.map +0 -1
  372. package/dist/es/commands/ListFailuresForLicenseConfigurationOperationsCommand.js.map +0 -1
  373. package/dist/es/commands/ListLicenseConfigurationsCommand.js.map +0 -1
  374. package/dist/es/commands/ListLicenseManagerReportGeneratorsCommand.js.map +0 -1
  375. package/dist/es/commands/ListLicenseSpecificationsForResourceCommand.js.map +0 -1
  376. package/dist/es/commands/ListLicenseVersionsCommand.js.map +0 -1
  377. package/dist/es/commands/ListLicensesCommand.js.map +0 -1
  378. package/dist/es/commands/ListReceivedGrantsCommand.js.map +0 -1
  379. package/dist/es/commands/ListReceivedLicensesCommand.js.map +0 -1
  380. package/dist/es/commands/ListResourceInventoryCommand.js.map +0 -1
  381. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  382. package/dist/es/commands/ListTokensCommand.js.map +0 -1
  383. package/dist/es/commands/ListUsageForLicenseConfigurationCommand.js.map +0 -1
  384. package/dist/es/commands/RejectGrantCommand.js.map +0 -1
  385. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  386. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  387. package/dist/es/commands/UpdateLicenseConfigurationCommand.js.map +0 -1
  388. package/dist/es/commands/UpdateLicenseManagerReportGeneratorCommand.js.map +0 -1
  389. package/dist/es/commands/UpdateLicenseSpecificationsForResourceCommand.js.map +0 -1
  390. package/dist/es/commands/UpdateServiceSettingsCommand.js.map +0 -1
  391. package/dist/es/endpoints.js.map +0 -1
  392. package/dist/es/index.js.map +0 -1
  393. package/dist/es/models/index.js +0 -2
  394. package/dist/es/models/index.js.map +0 -1
  395. package/dist/es/models/models_0.js.map +0 -1
  396. package/dist/es/package.json +0 -91
  397. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  398. package/dist/es/runtimeConfig.browser.js.map +0 -1
  399. package/dist/es/runtimeConfig.js.map +0 -1
  400. package/dist/es/runtimeConfig.native.js.map +0 -1
  401. package/dist/es/runtimeConfig.shared.js.map +0 -1
  402. package/dist/types/ts3.4/commands/AcceptGrantCommand.d.ts +0 -35
  403. package/dist/types/ts3.4/commands/CheckInLicenseCommand.d.ts +0 -35
  404. package/dist/types/ts3.4/commands/CreateGrantCommand.d.ts +0 -35
  405. package/dist/types/ts3.4/commands/CreateLicenseConfigurationCommand.d.ts +0 -40
  406. package/dist/types/ts3.4/commands/CreateTokenCommand.d.ts +0 -38
  407. package/dist/types/ts3.4/commands/DeleteGrantCommand.d.ts +0 -35
  408. package/dist/types/ts3.4/commands/DeleteLicenseCommand.d.ts +0 -35
  409. package/dist/types/ts3.4/commands/DeleteLicenseManagerReportGeneratorCommand.d.ts +0 -36
  410. package/dist/types/ts3.4/commands/DeleteTokenCommand.d.ts +0 -35
  411. package/dist/types/ts3.4/commands/GetAccessTokenCommand.d.ts +0 -36
  412. package/dist/types/ts3.4/commands/GetGrantCommand.d.ts +0 -35
  413. package/dist/types/ts3.4/commands/GetLicenseCommand.d.ts +0 -35
  414. package/dist/types/ts3.4/commands/GetLicenseUsageCommand.d.ts +0 -35
  415. package/dist/types/ts3.4/commands/ListAssociationsForLicenseConfigurationCommand.d.ts +0 -38
  416. package/dist/types/ts3.4/commands/ListLicensesCommand.d.ts +0 -35
  417. package/dist/types/ts3.4/commands/ListTokensCommand.d.ts +0 -35
  418. package/dist/types/ts3.4/commands/ListUsageForLicenseConfigurationCommand.d.ts +0 -37
  419. package/dist/types/ts3.4/commands/RejectGrantCommand.d.ts +0 -35
  420. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
  421. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
  422. package/dist/types/ts3.4/commands/UpdateLicenseSpecificationsForResourceCommand.d.ts +0 -38
  423. package/dist/types/ts3.4/models/models_0.d.ts +0 -3515
  424. package/endpoints.ts +0 -86
  425. package/index.ts +0 -48
  426. package/jest.config.js +0 -4
  427. package/models/models_0.ts +0 -4395
  428. package/protocols/Aws_json1_1.ts +0 -7994
  429. package/runtimeConfig.browser.ts +0 -40
  430. package/runtimeConfig.native.ts +0 -16
  431. package/runtimeConfig.shared.ts +0 -16
  432. package/runtimeConfig.ts +0 -45
  433. package/tsconfig.es.json +0 -12
  434. package/tsconfig.json +0 -32
package/LicenseManager.ts DELETED
@@ -1,1597 +0,0 @@
1
- import { LicenseManagerClient } from "./LicenseManagerClient";
2
- import { AcceptGrantCommand, AcceptGrantCommandInput, AcceptGrantCommandOutput } from "./commands/AcceptGrantCommand";
3
- import {
4
- CheckInLicenseCommand,
5
- CheckInLicenseCommandInput,
6
- CheckInLicenseCommandOutput,
7
- } from "./commands/CheckInLicenseCommand";
8
- import {
9
- CheckoutBorrowLicenseCommand,
10
- CheckoutBorrowLicenseCommandInput,
11
- CheckoutBorrowLicenseCommandOutput,
12
- } from "./commands/CheckoutBorrowLicenseCommand";
13
- import {
14
- CheckoutLicenseCommand,
15
- CheckoutLicenseCommandInput,
16
- CheckoutLicenseCommandOutput,
17
- } from "./commands/CheckoutLicenseCommand";
18
- import { CreateGrantCommand, CreateGrantCommandInput, CreateGrantCommandOutput } from "./commands/CreateGrantCommand";
19
- import {
20
- CreateGrantVersionCommand,
21
- CreateGrantVersionCommandInput,
22
- CreateGrantVersionCommandOutput,
23
- } from "./commands/CreateGrantVersionCommand";
24
- import {
25
- CreateLicenseCommand,
26
- CreateLicenseCommandInput,
27
- CreateLicenseCommandOutput,
28
- } from "./commands/CreateLicenseCommand";
29
- import {
30
- CreateLicenseConfigurationCommand,
31
- CreateLicenseConfigurationCommandInput,
32
- CreateLicenseConfigurationCommandOutput,
33
- } from "./commands/CreateLicenseConfigurationCommand";
34
- import {
35
- CreateLicenseManagerReportGeneratorCommand,
36
- CreateLicenseManagerReportGeneratorCommandInput,
37
- CreateLicenseManagerReportGeneratorCommandOutput,
38
- } from "./commands/CreateLicenseManagerReportGeneratorCommand";
39
- import {
40
- CreateLicenseVersionCommand,
41
- CreateLicenseVersionCommandInput,
42
- CreateLicenseVersionCommandOutput,
43
- } from "./commands/CreateLicenseVersionCommand";
44
- import { CreateTokenCommand, CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/CreateTokenCommand";
45
- import { DeleteGrantCommand, DeleteGrantCommandInput, DeleteGrantCommandOutput } from "./commands/DeleteGrantCommand";
46
- import {
47
- DeleteLicenseCommand,
48
- DeleteLicenseCommandInput,
49
- DeleteLicenseCommandOutput,
50
- } from "./commands/DeleteLicenseCommand";
51
- import {
52
- DeleteLicenseConfigurationCommand,
53
- DeleteLicenseConfigurationCommandInput,
54
- DeleteLicenseConfigurationCommandOutput,
55
- } from "./commands/DeleteLicenseConfigurationCommand";
56
- import {
57
- DeleteLicenseManagerReportGeneratorCommand,
58
- DeleteLicenseManagerReportGeneratorCommandInput,
59
- DeleteLicenseManagerReportGeneratorCommandOutput,
60
- } from "./commands/DeleteLicenseManagerReportGeneratorCommand";
61
- import { DeleteTokenCommand, DeleteTokenCommandInput, DeleteTokenCommandOutput } from "./commands/DeleteTokenCommand";
62
- import {
63
- ExtendLicenseConsumptionCommand,
64
- ExtendLicenseConsumptionCommandInput,
65
- ExtendLicenseConsumptionCommandOutput,
66
- } from "./commands/ExtendLicenseConsumptionCommand";
67
- import {
68
- GetAccessTokenCommand,
69
- GetAccessTokenCommandInput,
70
- GetAccessTokenCommandOutput,
71
- } from "./commands/GetAccessTokenCommand";
72
- import { GetGrantCommand, GetGrantCommandInput, GetGrantCommandOutput } from "./commands/GetGrantCommand";
73
- import { GetLicenseCommand, GetLicenseCommandInput, GetLicenseCommandOutput } from "./commands/GetLicenseCommand";
74
- import {
75
- GetLicenseConfigurationCommand,
76
- GetLicenseConfigurationCommandInput,
77
- GetLicenseConfigurationCommandOutput,
78
- } from "./commands/GetLicenseConfigurationCommand";
79
- import {
80
- GetLicenseManagerReportGeneratorCommand,
81
- GetLicenseManagerReportGeneratorCommandInput,
82
- GetLicenseManagerReportGeneratorCommandOutput,
83
- } from "./commands/GetLicenseManagerReportGeneratorCommand";
84
- import {
85
- GetLicenseUsageCommand,
86
- GetLicenseUsageCommandInput,
87
- GetLicenseUsageCommandOutput,
88
- } from "./commands/GetLicenseUsageCommand";
89
- import {
90
- GetServiceSettingsCommand,
91
- GetServiceSettingsCommandInput,
92
- GetServiceSettingsCommandOutput,
93
- } from "./commands/GetServiceSettingsCommand";
94
- import {
95
- ListAssociationsForLicenseConfigurationCommand,
96
- ListAssociationsForLicenseConfigurationCommandInput,
97
- ListAssociationsForLicenseConfigurationCommandOutput,
98
- } from "./commands/ListAssociationsForLicenseConfigurationCommand";
99
- import {
100
- ListDistributedGrantsCommand,
101
- ListDistributedGrantsCommandInput,
102
- ListDistributedGrantsCommandOutput,
103
- } from "./commands/ListDistributedGrantsCommand";
104
- import {
105
- ListFailuresForLicenseConfigurationOperationsCommand,
106
- ListFailuresForLicenseConfigurationOperationsCommandInput,
107
- ListFailuresForLicenseConfigurationOperationsCommandOutput,
108
- } from "./commands/ListFailuresForLicenseConfigurationOperationsCommand";
109
- import {
110
- ListLicenseConfigurationsCommand,
111
- ListLicenseConfigurationsCommandInput,
112
- ListLicenseConfigurationsCommandOutput,
113
- } from "./commands/ListLicenseConfigurationsCommand";
114
- import {
115
- ListLicenseManagerReportGeneratorsCommand,
116
- ListLicenseManagerReportGeneratorsCommandInput,
117
- ListLicenseManagerReportGeneratorsCommandOutput,
118
- } from "./commands/ListLicenseManagerReportGeneratorsCommand";
119
- import {
120
- ListLicenseSpecificationsForResourceCommand,
121
- ListLicenseSpecificationsForResourceCommandInput,
122
- ListLicenseSpecificationsForResourceCommandOutput,
123
- } from "./commands/ListLicenseSpecificationsForResourceCommand";
124
- import {
125
- ListLicenseVersionsCommand,
126
- ListLicenseVersionsCommandInput,
127
- ListLicenseVersionsCommandOutput,
128
- } from "./commands/ListLicenseVersionsCommand";
129
- import {
130
- ListLicensesCommand,
131
- ListLicensesCommandInput,
132
- ListLicensesCommandOutput,
133
- } from "./commands/ListLicensesCommand";
134
- import {
135
- ListReceivedGrantsCommand,
136
- ListReceivedGrantsCommandInput,
137
- ListReceivedGrantsCommandOutput,
138
- } from "./commands/ListReceivedGrantsCommand";
139
- import {
140
- ListReceivedLicensesCommand,
141
- ListReceivedLicensesCommandInput,
142
- ListReceivedLicensesCommandOutput,
143
- } from "./commands/ListReceivedLicensesCommand";
144
- import {
145
- ListResourceInventoryCommand,
146
- ListResourceInventoryCommandInput,
147
- ListResourceInventoryCommandOutput,
148
- } from "./commands/ListResourceInventoryCommand";
149
- import {
150
- ListTagsForResourceCommand,
151
- ListTagsForResourceCommandInput,
152
- ListTagsForResourceCommandOutput,
153
- } from "./commands/ListTagsForResourceCommand";
154
- import { ListTokensCommand, ListTokensCommandInput, ListTokensCommandOutput } from "./commands/ListTokensCommand";
155
- import {
156
- ListUsageForLicenseConfigurationCommand,
157
- ListUsageForLicenseConfigurationCommandInput,
158
- ListUsageForLicenseConfigurationCommandOutput,
159
- } from "./commands/ListUsageForLicenseConfigurationCommand";
160
- import { RejectGrantCommand, RejectGrantCommandInput, RejectGrantCommandOutput } from "./commands/RejectGrantCommand";
161
- import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
162
- import {
163
- UntagResourceCommand,
164
- UntagResourceCommandInput,
165
- UntagResourceCommandOutput,
166
- } from "./commands/UntagResourceCommand";
167
- import {
168
- UpdateLicenseConfigurationCommand,
169
- UpdateLicenseConfigurationCommandInput,
170
- UpdateLicenseConfigurationCommandOutput,
171
- } from "./commands/UpdateLicenseConfigurationCommand";
172
- import {
173
- UpdateLicenseManagerReportGeneratorCommand,
174
- UpdateLicenseManagerReportGeneratorCommandInput,
175
- UpdateLicenseManagerReportGeneratorCommandOutput,
176
- } from "./commands/UpdateLicenseManagerReportGeneratorCommand";
177
- import {
178
- UpdateLicenseSpecificationsForResourceCommand,
179
- UpdateLicenseSpecificationsForResourceCommandInput,
180
- UpdateLicenseSpecificationsForResourceCommandOutput,
181
- } from "./commands/UpdateLicenseSpecificationsForResourceCommand";
182
- import {
183
- UpdateServiceSettingsCommand,
184
- UpdateServiceSettingsCommandInput,
185
- UpdateServiceSettingsCommandOutput,
186
- } from "./commands/UpdateServiceSettingsCommand";
187
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
188
-
189
- /**
190
- * <fullname> AWS License Manager </fullname>
191
- * <p>AWS License Manager makes it easier to manage licenses from software vendors across multiple
192
- * AWS accounts and on-premises servers.</p>
193
- */
194
- export class LicenseManager extends LicenseManagerClient {
195
- /**
196
- * <p>Accepts the specified grant.</p>
197
- */
198
- public acceptGrant(args: AcceptGrantCommandInput, options?: __HttpHandlerOptions): Promise<AcceptGrantCommandOutput>;
199
- public acceptGrant(args: AcceptGrantCommandInput, cb: (err: any, data?: AcceptGrantCommandOutput) => void): void;
200
- public acceptGrant(
201
- args: AcceptGrantCommandInput,
202
- options: __HttpHandlerOptions,
203
- cb: (err: any, data?: AcceptGrantCommandOutput) => void
204
- ): void;
205
- public acceptGrant(
206
- args: AcceptGrantCommandInput,
207
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AcceptGrantCommandOutput) => void),
208
- cb?: (err: any, data?: AcceptGrantCommandOutput) => void
209
- ): Promise<AcceptGrantCommandOutput> | void {
210
- const command = new AcceptGrantCommand(args);
211
- if (typeof optionsOrCb === "function") {
212
- this.send(command, optionsOrCb);
213
- } else if (typeof cb === "function") {
214
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
215
- this.send(command, optionsOrCb || {}, cb);
216
- } else {
217
- return this.send(command, optionsOrCb);
218
- }
219
- }
220
-
221
- /**
222
- * <p>Checks in the specified license. Check in a license when it is no longer in use.</p>
223
- */
224
- public checkInLicense(
225
- args: CheckInLicenseCommandInput,
226
- options?: __HttpHandlerOptions
227
- ): Promise<CheckInLicenseCommandOutput>;
228
- public checkInLicense(
229
- args: CheckInLicenseCommandInput,
230
- cb: (err: any, data?: CheckInLicenseCommandOutput) => void
231
- ): void;
232
- public checkInLicense(
233
- args: CheckInLicenseCommandInput,
234
- options: __HttpHandlerOptions,
235
- cb: (err: any, data?: CheckInLicenseCommandOutput) => void
236
- ): void;
237
- public checkInLicense(
238
- args: CheckInLicenseCommandInput,
239
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CheckInLicenseCommandOutput) => void),
240
- cb?: (err: any, data?: CheckInLicenseCommandOutput) => void
241
- ): Promise<CheckInLicenseCommandOutput> | void {
242
- const command = new CheckInLicenseCommand(args);
243
- if (typeof optionsOrCb === "function") {
244
- this.send(command, optionsOrCb);
245
- } else if (typeof cb === "function") {
246
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
247
- this.send(command, optionsOrCb || {}, cb);
248
- } else {
249
- return this.send(command, optionsOrCb);
250
- }
251
- }
252
-
253
- /**
254
- * <p>Checks out the specified license for offline use.</p>
255
- */
256
- public checkoutBorrowLicense(
257
- args: CheckoutBorrowLicenseCommandInput,
258
- options?: __HttpHandlerOptions
259
- ): Promise<CheckoutBorrowLicenseCommandOutput>;
260
- public checkoutBorrowLicense(
261
- args: CheckoutBorrowLicenseCommandInput,
262
- cb: (err: any, data?: CheckoutBorrowLicenseCommandOutput) => void
263
- ): void;
264
- public checkoutBorrowLicense(
265
- args: CheckoutBorrowLicenseCommandInput,
266
- options: __HttpHandlerOptions,
267
- cb: (err: any, data?: CheckoutBorrowLicenseCommandOutput) => void
268
- ): void;
269
- public checkoutBorrowLicense(
270
- args: CheckoutBorrowLicenseCommandInput,
271
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CheckoutBorrowLicenseCommandOutput) => void),
272
- cb?: (err: any, data?: CheckoutBorrowLicenseCommandOutput) => void
273
- ): Promise<CheckoutBorrowLicenseCommandOutput> | void {
274
- const command = new CheckoutBorrowLicenseCommand(args);
275
- if (typeof optionsOrCb === "function") {
276
- this.send(command, optionsOrCb);
277
- } else if (typeof cb === "function") {
278
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
279
- this.send(command, optionsOrCb || {}, cb);
280
- } else {
281
- return this.send(command, optionsOrCb);
282
- }
283
- }
284
-
285
- /**
286
- * <p>Checks out the specified license.</p>
287
- */
288
- public checkoutLicense(
289
- args: CheckoutLicenseCommandInput,
290
- options?: __HttpHandlerOptions
291
- ): Promise<CheckoutLicenseCommandOutput>;
292
- public checkoutLicense(
293
- args: CheckoutLicenseCommandInput,
294
- cb: (err: any, data?: CheckoutLicenseCommandOutput) => void
295
- ): void;
296
- public checkoutLicense(
297
- args: CheckoutLicenseCommandInput,
298
- options: __HttpHandlerOptions,
299
- cb: (err: any, data?: CheckoutLicenseCommandOutput) => void
300
- ): void;
301
- public checkoutLicense(
302
- args: CheckoutLicenseCommandInput,
303
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CheckoutLicenseCommandOutput) => void),
304
- cb?: (err: any, data?: CheckoutLicenseCommandOutput) => void
305
- ): Promise<CheckoutLicenseCommandOutput> | void {
306
- const command = new CheckoutLicenseCommand(args);
307
- if (typeof optionsOrCb === "function") {
308
- this.send(command, optionsOrCb);
309
- } else if (typeof cb === "function") {
310
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
311
- this.send(command, optionsOrCb || {}, cb);
312
- } else {
313
- return this.send(command, optionsOrCb);
314
- }
315
- }
316
-
317
- /**
318
- * <p>Creates a grant for the specified license. A grant shares the use of license entitlements with specific AWS accounts.</p>
319
- */
320
- public createGrant(args: CreateGrantCommandInput, options?: __HttpHandlerOptions): Promise<CreateGrantCommandOutput>;
321
- public createGrant(args: CreateGrantCommandInput, cb: (err: any, data?: CreateGrantCommandOutput) => void): void;
322
- public createGrant(
323
- args: CreateGrantCommandInput,
324
- options: __HttpHandlerOptions,
325
- cb: (err: any, data?: CreateGrantCommandOutput) => void
326
- ): void;
327
- public createGrant(
328
- args: CreateGrantCommandInput,
329
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateGrantCommandOutput) => void),
330
- cb?: (err: any, data?: CreateGrantCommandOutput) => void
331
- ): Promise<CreateGrantCommandOutput> | void {
332
- const command = new CreateGrantCommand(args);
333
- if (typeof optionsOrCb === "function") {
334
- this.send(command, optionsOrCb);
335
- } else if (typeof cb === "function") {
336
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
337
- this.send(command, optionsOrCb || {}, cb);
338
- } else {
339
- return this.send(command, optionsOrCb);
340
- }
341
- }
342
-
343
- /**
344
- * <p>Creates a new version of the specified grant.</p>
345
- */
346
- public createGrantVersion(
347
- args: CreateGrantVersionCommandInput,
348
- options?: __HttpHandlerOptions
349
- ): Promise<CreateGrantVersionCommandOutput>;
350
- public createGrantVersion(
351
- args: CreateGrantVersionCommandInput,
352
- cb: (err: any, data?: CreateGrantVersionCommandOutput) => void
353
- ): void;
354
- public createGrantVersion(
355
- args: CreateGrantVersionCommandInput,
356
- options: __HttpHandlerOptions,
357
- cb: (err: any, data?: CreateGrantVersionCommandOutput) => void
358
- ): void;
359
- public createGrantVersion(
360
- args: CreateGrantVersionCommandInput,
361
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateGrantVersionCommandOutput) => void),
362
- cb?: (err: any, data?: CreateGrantVersionCommandOutput) => void
363
- ): Promise<CreateGrantVersionCommandOutput> | void {
364
- const command = new CreateGrantVersionCommand(args);
365
- if (typeof optionsOrCb === "function") {
366
- this.send(command, optionsOrCb);
367
- } else if (typeof cb === "function") {
368
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
369
- this.send(command, optionsOrCb || {}, cb);
370
- } else {
371
- return this.send(command, optionsOrCb);
372
- }
373
- }
374
-
375
- /**
376
- * <p>Creates a license.</p>
377
- */
378
- public createLicense(
379
- args: CreateLicenseCommandInput,
380
- options?: __HttpHandlerOptions
381
- ): Promise<CreateLicenseCommandOutput>;
382
- public createLicense(
383
- args: CreateLicenseCommandInput,
384
- cb: (err: any, data?: CreateLicenseCommandOutput) => void
385
- ): void;
386
- public createLicense(
387
- args: CreateLicenseCommandInput,
388
- options: __HttpHandlerOptions,
389
- cb: (err: any, data?: CreateLicenseCommandOutput) => void
390
- ): void;
391
- public createLicense(
392
- args: CreateLicenseCommandInput,
393
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateLicenseCommandOutput) => void),
394
- cb?: (err: any, data?: CreateLicenseCommandOutput) => void
395
- ): Promise<CreateLicenseCommandOutput> | void {
396
- const command = new CreateLicenseCommand(args);
397
- if (typeof optionsOrCb === "function") {
398
- this.send(command, optionsOrCb);
399
- } else if (typeof cb === "function") {
400
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
401
- this.send(command, optionsOrCb || {}, cb);
402
- } else {
403
- return this.send(command, optionsOrCb);
404
- }
405
- }
406
-
407
- /**
408
- * <p>Creates a license configuration.</p>
409
- * <p>A license configuration is an abstraction of a customer license agreement that can be
410
- * consumed and enforced by License Manager. Components include specifications for the license
411
- * type (licensing by instance, socket, CPU, or vCPU), allowed tenancy (shared tenancy,
412
- * Dedicated Instance, Dedicated Host, or all of these), license affinity to host (how long a
413
- * license must be associated with a host), and the number of licenses purchased and used.</p>
414
- */
415
- public createLicenseConfiguration(
416
- args: CreateLicenseConfigurationCommandInput,
417
- options?: __HttpHandlerOptions
418
- ): Promise<CreateLicenseConfigurationCommandOutput>;
419
- public createLicenseConfiguration(
420
- args: CreateLicenseConfigurationCommandInput,
421
- cb: (err: any, data?: CreateLicenseConfigurationCommandOutput) => void
422
- ): void;
423
- public createLicenseConfiguration(
424
- args: CreateLicenseConfigurationCommandInput,
425
- options: __HttpHandlerOptions,
426
- cb: (err: any, data?: CreateLicenseConfigurationCommandOutput) => void
427
- ): void;
428
- public createLicenseConfiguration(
429
- args: CreateLicenseConfigurationCommandInput,
430
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateLicenseConfigurationCommandOutput) => void),
431
- cb?: (err: any, data?: CreateLicenseConfigurationCommandOutput) => void
432
- ): Promise<CreateLicenseConfigurationCommandOutput> | void {
433
- const command = new CreateLicenseConfigurationCommand(args);
434
- if (typeof optionsOrCb === "function") {
435
- this.send(command, optionsOrCb);
436
- } else if (typeof cb === "function") {
437
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
438
- this.send(command, optionsOrCb || {}, cb);
439
- } else {
440
- return this.send(command, optionsOrCb);
441
- }
442
- }
443
-
444
- /**
445
- * <p>Creates a new report generator.</p>
446
- */
447
- public createLicenseManagerReportGenerator(
448
- args: CreateLicenseManagerReportGeneratorCommandInput,
449
- options?: __HttpHandlerOptions
450
- ): Promise<CreateLicenseManagerReportGeneratorCommandOutput>;
451
- public createLicenseManagerReportGenerator(
452
- args: CreateLicenseManagerReportGeneratorCommandInput,
453
- cb: (err: any, data?: CreateLicenseManagerReportGeneratorCommandOutput) => void
454
- ): void;
455
- public createLicenseManagerReportGenerator(
456
- args: CreateLicenseManagerReportGeneratorCommandInput,
457
- options: __HttpHandlerOptions,
458
- cb: (err: any, data?: CreateLicenseManagerReportGeneratorCommandOutput) => void
459
- ): void;
460
- public createLicenseManagerReportGenerator(
461
- args: CreateLicenseManagerReportGeneratorCommandInput,
462
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateLicenseManagerReportGeneratorCommandOutput) => void),
463
- cb?: (err: any, data?: CreateLicenseManagerReportGeneratorCommandOutput) => void
464
- ): Promise<CreateLicenseManagerReportGeneratorCommandOutput> | void {
465
- const command = new CreateLicenseManagerReportGeneratorCommand(args);
466
- if (typeof optionsOrCb === "function") {
467
- this.send(command, optionsOrCb);
468
- } else if (typeof cb === "function") {
469
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
470
- this.send(command, optionsOrCb || {}, cb);
471
- } else {
472
- return this.send(command, optionsOrCb);
473
- }
474
- }
475
-
476
- /**
477
- * <p>Creates a new version of the specified license.</p>
478
- */
479
- public createLicenseVersion(
480
- args: CreateLicenseVersionCommandInput,
481
- options?: __HttpHandlerOptions
482
- ): Promise<CreateLicenseVersionCommandOutput>;
483
- public createLicenseVersion(
484
- args: CreateLicenseVersionCommandInput,
485
- cb: (err: any, data?: CreateLicenseVersionCommandOutput) => void
486
- ): void;
487
- public createLicenseVersion(
488
- args: CreateLicenseVersionCommandInput,
489
- options: __HttpHandlerOptions,
490
- cb: (err: any, data?: CreateLicenseVersionCommandOutput) => void
491
- ): void;
492
- public createLicenseVersion(
493
- args: CreateLicenseVersionCommandInput,
494
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateLicenseVersionCommandOutput) => void),
495
- cb?: (err: any, data?: CreateLicenseVersionCommandOutput) => void
496
- ): Promise<CreateLicenseVersionCommandOutput> | void {
497
- const command = new CreateLicenseVersionCommand(args);
498
- if (typeof optionsOrCb === "function") {
499
- this.send(command, optionsOrCb);
500
- } else if (typeof cb === "function") {
501
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
502
- this.send(command, optionsOrCb || {}, cb);
503
- } else {
504
- return this.send(command, optionsOrCb);
505
- }
506
- }
507
-
508
- /**
509
- * <p>Creates a long-lived token.</p>
510
- * <p>A refresh token is a JWT token used to get an access token. With an access token,
511
- * you can call AssumeRoleWithWebIdentity to get role credentials that you can use to
512
- * call License Manager to manage the specified license.</p>
513
- */
514
- public createToken(args: CreateTokenCommandInput, options?: __HttpHandlerOptions): Promise<CreateTokenCommandOutput>;
515
- public createToken(args: CreateTokenCommandInput, cb: (err: any, data?: CreateTokenCommandOutput) => void): void;
516
- public createToken(
517
- args: CreateTokenCommandInput,
518
- options: __HttpHandlerOptions,
519
- cb: (err: any, data?: CreateTokenCommandOutput) => void
520
- ): void;
521
- public createToken(
522
- args: CreateTokenCommandInput,
523
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateTokenCommandOutput) => void),
524
- cb?: (err: any, data?: CreateTokenCommandOutput) => void
525
- ): Promise<CreateTokenCommandOutput> | void {
526
- const command = new CreateTokenCommand(args);
527
- if (typeof optionsOrCb === "function") {
528
- this.send(command, optionsOrCb);
529
- } else if (typeof cb === "function") {
530
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
531
- this.send(command, optionsOrCb || {}, cb);
532
- } else {
533
- return this.send(command, optionsOrCb);
534
- }
535
- }
536
-
537
- /**
538
- * <p>Deletes the specified grant.</p>
539
- */
540
- public deleteGrant(args: DeleteGrantCommandInput, options?: __HttpHandlerOptions): Promise<DeleteGrantCommandOutput>;
541
- public deleteGrant(args: DeleteGrantCommandInput, cb: (err: any, data?: DeleteGrantCommandOutput) => void): void;
542
- public deleteGrant(
543
- args: DeleteGrantCommandInput,
544
- options: __HttpHandlerOptions,
545
- cb: (err: any, data?: DeleteGrantCommandOutput) => void
546
- ): void;
547
- public deleteGrant(
548
- args: DeleteGrantCommandInput,
549
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteGrantCommandOutput) => void),
550
- cb?: (err: any, data?: DeleteGrantCommandOutput) => void
551
- ): Promise<DeleteGrantCommandOutput> | void {
552
- const command = new DeleteGrantCommand(args);
553
- if (typeof optionsOrCb === "function") {
554
- this.send(command, optionsOrCb);
555
- } else if (typeof cb === "function") {
556
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
557
- this.send(command, optionsOrCb || {}, cb);
558
- } else {
559
- return this.send(command, optionsOrCb);
560
- }
561
- }
562
-
563
- /**
564
- * <p>Deletes the specified license.</p>
565
- */
566
- public deleteLicense(
567
- args: DeleteLicenseCommandInput,
568
- options?: __HttpHandlerOptions
569
- ): Promise<DeleteLicenseCommandOutput>;
570
- public deleteLicense(
571
- args: DeleteLicenseCommandInput,
572
- cb: (err: any, data?: DeleteLicenseCommandOutput) => void
573
- ): void;
574
- public deleteLicense(
575
- args: DeleteLicenseCommandInput,
576
- options: __HttpHandlerOptions,
577
- cb: (err: any, data?: DeleteLicenseCommandOutput) => void
578
- ): void;
579
- public deleteLicense(
580
- args: DeleteLicenseCommandInput,
581
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteLicenseCommandOutput) => void),
582
- cb?: (err: any, data?: DeleteLicenseCommandOutput) => void
583
- ): Promise<DeleteLicenseCommandOutput> | void {
584
- const command = new DeleteLicenseCommand(args);
585
- if (typeof optionsOrCb === "function") {
586
- this.send(command, optionsOrCb);
587
- } else if (typeof cb === "function") {
588
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
589
- this.send(command, optionsOrCb || {}, cb);
590
- } else {
591
- return this.send(command, optionsOrCb);
592
- }
593
- }
594
-
595
- /**
596
- * <p>Deletes the specified license configuration.</p>
597
- * <p>You cannot delete a license configuration that is in use.</p>
598
- */
599
- public deleteLicenseConfiguration(
600
- args: DeleteLicenseConfigurationCommandInput,
601
- options?: __HttpHandlerOptions
602
- ): Promise<DeleteLicenseConfigurationCommandOutput>;
603
- public deleteLicenseConfiguration(
604
- args: DeleteLicenseConfigurationCommandInput,
605
- cb: (err: any, data?: DeleteLicenseConfigurationCommandOutput) => void
606
- ): void;
607
- public deleteLicenseConfiguration(
608
- args: DeleteLicenseConfigurationCommandInput,
609
- options: __HttpHandlerOptions,
610
- cb: (err: any, data?: DeleteLicenseConfigurationCommandOutput) => void
611
- ): void;
612
- public deleteLicenseConfiguration(
613
- args: DeleteLicenseConfigurationCommandInput,
614
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteLicenseConfigurationCommandOutput) => void),
615
- cb?: (err: any, data?: DeleteLicenseConfigurationCommandOutput) => void
616
- ): Promise<DeleteLicenseConfigurationCommandOutput> | void {
617
- const command = new DeleteLicenseConfigurationCommand(args);
618
- if (typeof optionsOrCb === "function") {
619
- this.send(command, optionsOrCb);
620
- } else if (typeof cb === "function") {
621
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
622
- this.send(command, optionsOrCb || {}, cb);
623
- } else {
624
- return this.send(command, optionsOrCb);
625
- }
626
- }
627
-
628
- /**
629
- * <p>Delete an existing report generator.</p>
630
- * <p>This action deletes the report generator, which stops it from generating future reports and cannot be reversed. However, the previous reports from this generator will remain in your S3 bucket.</p>
631
- */
632
- public deleteLicenseManagerReportGenerator(
633
- args: DeleteLicenseManagerReportGeneratorCommandInput,
634
- options?: __HttpHandlerOptions
635
- ): Promise<DeleteLicenseManagerReportGeneratorCommandOutput>;
636
- public deleteLicenseManagerReportGenerator(
637
- args: DeleteLicenseManagerReportGeneratorCommandInput,
638
- cb: (err: any, data?: DeleteLicenseManagerReportGeneratorCommandOutput) => void
639
- ): void;
640
- public deleteLicenseManagerReportGenerator(
641
- args: DeleteLicenseManagerReportGeneratorCommandInput,
642
- options: __HttpHandlerOptions,
643
- cb: (err: any, data?: DeleteLicenseManagerReportGeneratorCommandOutput) => void
644
- ): void;
645
- public deleteLicenseManagerReportGenerator(
646
- args: DeleteLicenseManagerReportGeneratorCommandInput,
647
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteLicenseManagerReportGeneratorCommandOutput) => void),
648
- cb?: (err: any, data?: DeleteLicenseManagerReportGeneratorCommandOutput) => void
649
- ): Promise<DeleteLicenseManagerReportGeneratorCommandOutput> | void {
650
- const command = new DeleteLicenseManagerReportGeneratorCommand(args);
651
- if (typeof optionsOrCb === "function") {
652
- this.send(command, optionsOrCb);
653
- } else if (typeof cb === "function") {
654
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
655
- this.send(command, optionsOrCb || {}, cb);
656
- } else {
657
- return this.send(command, optionsOrCb);
658
- }
659
- }
660
-
661
- /**
662
- * <p>Deletes the specified token. Must be called in the license home Region.</p>
663
- */
664
- public deleteToken(args: DeleteTokenCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTokenCommandOutput>;
665
- public deleteToken(args: DeleteTokenCommandInput, cb: (err: any, data?: DeleteTokenCommandOutput) => void): void;
666
- public deleteToken(
667
- args: DeleteTokenCommandInput,
668
- options: __HttpHandlerOptions,
669
- cb: (err: any, data?: DeleteTokenCommandOutput) => void
670
- ): void;
671
- public deleteToken(
672
- args: DeleteTokenCommandInput,
673
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteTokenCommandOutput) => void),
674
- cb?: (err: any, data?: DeleteTokenCommandOutput) => void
675
- ): Promise<DeleteTokenCommandOutput> | void {
676
- const command = new DeleteTokenCommand(args);
677
- if (typeof optionsOrCb === "function") {
678
- this.send(command, optionsOrCb);
679
- } else if (typeof cb === "function") {
680
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
681
- this.send(command, optionsOrCb || {}, cb);
682
- } else {
683
- return this.send(command, optionsOrCb);
684
- }
685
- }
686
-
687
- /**
688
- * <p>Extends the expiration date for license consumption.</p>
689
- */
690
- public extendLicenseConsumption(
691
- args: ExtendLicenseConsumptionCommandInput,
692
- options?: __HttpHandlerOptions
693
- ): Promise<ExtendLicenseConsumptionCommandOutput>;
694
- public extendLicenseConsumption(
695
- args: ExtendLicenseConsumptionCommandInput,
696
- cb: (err: any, data?: ExtendLicenseConsumptionCommandOutput) => void
697
- ): void;
698
- public extendLicenseConsumption(
699
- args: ExtendLicenseConsumptionCommandInput,
700
- options: __HttpHandlerOptions,
701
- cb: (err: any, data?: ExtendLicenseConsumptionCommandOutput) => void
702
- ): void;
703
- public extendLicenseConsumption(
704
- args: ExtendLicenseConsumptionCommandInput,
705
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ExtendLicenseConsumptionCommandOutput) => void),
706
- cb?: (err: any, data?: ExtendLicenseConsumptionCommandOutput) => void
707
- ): Promise<ExtendLicenseConsumptionCommandOutput> | void {
708
- const command = new ExtendLicenseConsumptionCommand(args);
709
- if (typeof optionsOrCb === "function") {
710
- this.send(command, optionsOrCb);
711
- } else if (typeof cb === "function") {
712
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
713
- this.send(command, optionsOrCb || {}, cb);
714
- } else {
715
- return this.send(command, optionsOrCb);
716
- }
717
- }
718
-
719
- /**
720
- * <p>Gets a temporary access token to use with AssumeRoleWithWebIdentity. Access tokens
721
- * are valid for one hour.</p>
722
- */
723
- public getAccessToken(
724
- args: GetAccessTokenCommandInput,
725
- options?: __HttpHandlerOptions
726
- ): Promise<GetAccessTokenCommandOutput>;
727
- public getAccessToken(
728
- args: GetAccessTokenCommandInput,
729
- cb: (err: any, data?: GetAccessTokenCommandOutput) => void
730
- ): void;
731
- public getAccessToken(
732
- args: GetAccessTokenCommandInput,
733
- options: __HttpHandlerOptions,
734
- cb: (err: any, data?: GetAccessTokenCommandOutput) => void
735
- ): void;
736
- public getAccessToken(
737
- args: GetAccessTokenCommandInput,
738
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetAccessTokenCommandOutput) => void),
739
- cb?: (err: any, data?: GetAccessTokenCommandOutput) => void
740
- ): Promise<GetAccessTokenCommandOutput> | void {
741
- const command = new GetAccessTokenCommand(args);
742
- if (typeof optionsOrCb === "function") {
743
- this.send(command, optionsOrCb);
744
- } else if (typeof cb === "function") {
745
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
746
- this.send(command, optionsOrCb || {}, cb);
747
- } else {
748
- return this.send(command, optionsOrCb);
749
- }
750
- }
751
-
752
- /**
753
- * <p>Gets detailed information about the specified grant.</p>
754
- */
755
- public getGrant(args: GetGrantCommandInput, options?: __HttpHandlerOptions): Promise<GetGrantCommandOutput>;
756
- public getGrant(args: GetGrantCommandInput, cb: (err: any, data?: GetGrantCommandOutput) => void): void;
757
- public getGrant(
758
- args: GetGrantCommandInput,
759
- options: __HttpHandlerOptions,
760
- cb: (err: any, data?: GetGrantCommandOutput) => void
761
- ): void;
762
- public getGrant(
763
- args: GetGrantCommandInput,
764
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetGrantCommandOutput) => void),
765
- cb?: (err: any, data?: GetGrantCommandOutput) => void
766
- ): Promise<GetGrantCommandOutput> | void {
767
- const command = new GetGrantCommand(args);
768
- if (typeof optionsOrCb === "function") {
769
- this.send(command, optionsOrCb);
770
- } else if (typeof cb === "function") {
771
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
772
- this.send(command, optionsOrCb || {}, cb);
773
- } else {
774
- return this.send(command, optionsOrCb);
775
- }
776
- }
777
-
778
- /**
779
- * <p>Gets detailed information about the specified license.</p>
780
- */
781
- public getLicense(args: GetLicenseCommandInput, options?: __HttpHandlerOptions): Promise<GetLicenseCommandOutput>;
782
- public getLicense(args: GetLicenseCommandInput, cb: (err: any, data?: GetLicenseCommandOutput) => void): void;
783
- public getLicense(
784
- args: GetLicenseCommandInput,
785
- options: __HttpHandlerOptions,
786
- cb: (err: any, data?: GetLicenseCommandOutput) => void
787
- ): void;
788
- public getLicense(
789
- args: GetLicenseCommandInput,
790
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetLicenseCommandOutput) => void),
791
- cb?: (err: any, data?: GetLicenseCommandOutput) => void
792
- ): Promise<GetLicenseCommandOutput> | void {
793
- const command = new GetLicenseCommand(args);
794
- if (typeof optionsOrCb === "function") {
795
- this.send(command, optionsOrCb);
796
- } else if (typeof cb === "function") {
797
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
798
- this.send(command, optionsOrCb || {}, cb);
799
- } else {
800
- return this.send(command, optionsOrCb);
801
- }
802
- }
803
-
804
- /**
805
- * <p>Gets detailed information about the specified license configuration.</p>
806
- */
807
- public getLicenseConfiguration(
808
- args: GetLicenseConfigurationCommandInput,
809
- options?: __HttpHandlerOptions
810
- ): Promise<GetLicenseConfigurationCommandOutput>;
811
- public getLicenseConfiguration(
812
- args: GetLicenseConfigurationCommandInput,
813
- cb: (err: any, data?: GetLicenseConfigurationCommandOutput) => void
814
- ): void;
815
- public getLicenseConfiguration(
816
- args: GetLicenseConfigurationCommandInput,
817
- options: __HttpHandlerOptions,
818
- cb: (err: any, data?: GetLicenseConfigurationCommandOutput) => void
819
- ): void;
820
- public getLicenseConfiguration(
821
- args: GetLicenseConfigurationCommandInput,
822
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetLicenseConfigurationCommandOutput) => void),
823
- cb?: (err: any, data?: GetLicenseConfigurationCommandOutput) => void
824
- ): Promise<GetLicenseConfigurationCommandOutput> | void {
825
- const command = new GetLicenseConfigurationCommand(args);
826
- if (typeof optionsOrCb === "function") {
827
- this.send(command, optionsOrCb);
828
- } else if (typeof cb === "function") {
829
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
830
- this.send(command, optionsOrCb || {}, cb);
831
- } else {
832
- return this.send(command, optionsOrCb);
833
- }
834
- }
835
-
836
- /**
837
- * <p>Gets information on the specified report generator.</p>
838
- */
839
- public getLicenseManagerReportGenerator(
840
- args: GetLicenseManagerReportGeneratorCommandInput,
841
- options?: __HttpHandlerOptions
842
- ): Promise<GetLicenseManagerReportGeneratorCommandOutput>;
843
- public getLicenseManagerReportGenerator(
844
- args: GetLicenseManagerReportGeneratorCommandInput,
845
- cb: (err: any, data?: GetLicenseManagerReportGeneratorCommandOutput) => void
846
- ): void;
847
- public getLicenseManagerReportGenerator(
848
- args: GetLicenseManagerReportGeneratorCommandInput,
849
- options: __HttpHandlerOptions,
850
- cb: (err: any, data?: GetLicenseManagerReportGeneratorCommandOutput) => void
851
- ): void;
852
- public getLicenseManagerReportGenerator(
853
- args: GetLicenseManagerReportGeneratorCommandInput,
854
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetLicenseManagerReportGeneratorCommandOutput) => void),
855
- cb?: (err: any, data?: GetLicenseManagerReportGeneratorCommandOutput) => void
856
- ): Promise<GetLicenseManagerReportGeneratorCommandOutput> | void {
857
- const command = new GetLicenseManagerReportGeneratorCommand(args);
858
- if (typeof optionsOrCb === "function") {
859
- this.send(command, optionsOrCb);
860
- } else if (typeof cb === "function") {
861
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
862
- this.send(command, optionsOrCb || {}, cb);
863
- } else {
864
- return this.send(command, optionsOrCb);
865
- }
866
- }
867
-
868
- /**
869
- * <p>Gets detailed information about the usage of the specified license.</p>
870
- */
871
- public getLicenseUsage(
872
- args: GetLicenseUsageCommandInput,
873
- options?: __HttpHandlerOptions
874
- ): Promise<GetLicenseUsageCommandOutput>;
875
- public getLicenseUsage(
876
- args: GetLicenseUsageCommandInput,
877
- cb: (err: any, data?: GetLicenseUsageCommandOutput) => void
878
- ): void;
879
- public getLicenseUsage(
880
- args: GetLicenseUsageCommandInput,
881
- options: __HttpHandlerOptions,
882
- cb: (err: any, data?: GetLicenseUsageCommandOutput) => void
883
- ): void;
884
- public getLicenseUsage(
885
- args: GetLicenseUsageCommandInput,
886
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetLicenseUsageCommandOutput) => void),
887
- cb?: (err: any, data?: GetLicenseUsageCommandOutput) => void
888
- ): Promise<GetLicenseUsageCommandOutput> | void {
889
- const command = new GetLicenseUsageCommand(args);
890
- if (typeof optionsOrCb === "function") {
891
- this.send(command, optionsOrCb);
892
- } else if (typeof cb === "function") {
893
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
894
- this.send(command, optionsOrCb || {}, cb);
895
- } else {
896
- return this.send(command, optionsOrCb);
897
- }
898
- }
899
-
900
- /**
901
- * <p>Gets the License Manager settings for the current Region.</p>
902
- */
903
- public getServiceSettings(
904
- args: GetServiceSettingsCommandInput,
905
- options?: __HttpHandlerOptions
906
- ): Promise<GetServiceSettingsCommandOutput>;
907
- public getServiceSettings(
908
- args: GetServiceSettingsCommandInput,
909
- cb: (err: any, data?: GetServiceSettingsCommandOutput) => void
910
- ): void;
911
- public getServiceSettings(
912
- args: GetServiceSettingsCommandInput,
913
- options: __HttpHandlerOptions,
914
- cb: (err: any, data?: GetServiceSettingsCommandOutput) => void
915
- ): void;
916
- public getServiceSettings(
917
- args: GetServiceSettingsCommandInput,
918
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetServiceSettingsCommandOutput) => void),
919
- cb?: (err: any, data?: GetServiceSettingsCommandOutput) => void
920
- ): Promise<GetServiceSettingsCommandOutput> | void {
921
- const command = new GetServiceSettingsCommand(args);
922
- if (typeof optionsOrCb === "function") {
923
- this.send(command, optionsOrCb);
924
- } else if (typeof cb === "function") {
925
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
926
- this.send(command, optionsOrCb || {}, cb);
927
- } else {
928
- return this.send(command, optionsOrCb);
929
- }
930
- }
931
-
932
- /**
933
- * <p>Lists the resource associations for the specified license configuration.</p>
934
- * <p>Resource associations need not consume licenses from a license configuration.
935
- * For example, an AMI or a stopped instance might not consume a license (depending on
936
- * the license rules).</p>
937
- */
938
- public listAssociationsForLicenseConfiguration(
939
- args: ListAssociationsForLicenseConfigurationCommandInput,
940
- options?: __HttpHandlerOptions
941
- ): Promise<ListAssociationsForLicenseConfigurationCommandOutput>;
942
- public listAssociationsForLicenseConfiguration(
943
- args: ListAssociationsForLicenseConfigurationCommandInput,
944
- cb: (err: any, data?: ListAssociationsForLicenseConfigurationCommandOutput) => void
945
- ): void;
946
- public listAssociationsForLicenseConfiguration(
947
- args: ListAssociationsForLicenseConfigurationCommandInput,
948
- options: __HttpHandlerOptions,
949
- cb: (err: any, data?: ListAssociationsForLicenseConfigurationCommandOutput) => void
950
- ): void;
951
- public listAssociationsForLicenseConfiguration(
952
- args: ListAssociationsForLicenseConfigurationCommandInput,
953
- optionsOrCb?:
954
- | __HttpHandlerOptions
955
- | ((err: any, data?: ListAssociationsForLicenseConfigurationCommandOutput) => void),
956
- cb?: (err: any, data?: ListAssociationsForLicenseConfigurationCommandOutput) => void
957
- ): Promise<ListAssociationsForLicenseConfigurationCommandOutput> | void {
958
- const command = new ListAssociationsForLicenseConfigurationCommand(args);
959
- if (typeof optionsOrCb === "function") {
960
- this.send(command, optionsOrCb);
961
- } else if (typeof cb === "function") {
962
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
963
- this.send(command, optionsOrCb || {}, cb);
964
- } else {
965
- return this.send(command, optionsOrCb);
966
- }
967
- }
968
-
969
- /**
970
- * <p>Lists the grants distributed for the specified license.</p>
971
- */
972
- public listDistributedGrants(
973
- args: ListDistributedGrantsCommandInput,
974
- options?: __HttpHandlerOptions
975
- ): Promise<ListDistributedGrantsCommandOutput>;
976
- public listDistributedGrants(
977
- args: ListDistributedGrantsCommandInput,
978
- cb: (err: any, data?: ListDistributedGrantsCommandOutput) => void
979
- ): void;
980
- public listDistributedGrants(
981
- args: ListDistributedGrantsCommandInput,
982
- options: __HttpHandlerOptions,
983
- cb: (err: any, data?: ListDistributedGrantsCommandOutput) => void
984
- ): void;
985
- public listDistributedGrants(
986
- args: ListDistributedGrantsCommandInput,
987
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDistributedGrantsCommandOutput) => void),
988
- cb?: (err: any, data?: ListDistributedGrantsCommandOutput) => void
989
- ): Promise<ListDistributedGrantsCommandOutput> | void {
990
- const command = new ListDistributedGrantsCommand(args);
991
- if (typeof optionsOrCb === "function") {
992
- this.send(command, optionsOrCb);
993
- } else if (typeof cb === "function") {
994
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
995
- this.send(command, optionsOrCb || {}, cb);
996
- } else {
997
- return this.send(command, optionsOrCb);
998
- }
999
- }
1000
-
1001
- /**
1002
- * <p>Lists the license configuration operations that failed.</p>
1003
- */
1004
- public listFailuresForLicenseConfigurationOperations(
1005
- args: ListFailuresForLicenseConfigurationOperationsCommandInput,
1006
- options?: __HttpHandlerOptions
1007
- ): Promise<ListFailuresForLicenseConfigurationOperationsCommandOutput>;
1008
- public listFailuresForLicenseConfigurationOperations(
1009
- args: ListFailuresForLicenseConfigurationOperationsCommandInput,
1010
- cb: (err: any, data?: ListFailuresForLicenseConfigurationOperationsCommandOutput) => void
1011
- ): void;
1012
- public listFailuresForLicenseConfigurationOperations(
1013
- args: ListFailuresForLicenseConfigurationOperationsCommandInput,
1014
- options: __HttpHandlerOptions,
1015
- cb: (err: any, data?: ListFailuresForLicenseConfigurationOperationsCommandOutput) => void
1016
- ): void;
1017
- public listFailuresForLicenseConfigurationOperations(
1018
- args: ListFailuresForLicenseConfigurationOperationsCommandInput,
1019
- optionsOrCb?:
1020
- | __HttpHandlerOptions
1021
- | ((err: any, data?: ListFailuresForLicenseConfigurationOperationsCommandOutput) => void),
1022
- cb?: (err: any, data?: ListFailuresForLicenseConfigurationOperationsCommandOutput) => void
1023
- ): Promise<ListFailuresForLicenseConfigurationOperationsCommandOutput> | void {
1024
- const command = new ListFailuresForLicenseConfigurationOperationsCommand(args);
1025
- if (typeof optionsOrCb === "function") {
1026
- this.send(command, optionsOrCb);
1027
- } else if (typeof cb === "function") {
1028
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1029
- this.send(command, optionsOrCb || {}, cb);
1030
- } else {
1031
- return this.send(command, optionsOrCb);
1032
- }
1033
- }
1034
-
1035
- /**
1036
- * <p>Lists the license configurations for your account.</p>
1037
- */
1038
- public listLicenseConfigurations(
1039
- args: ListLicenseConfigurationsCommandInput,
1040
- options?: __HttpHandlerOptions
1041
- ): Promise<ListLicenseConfigurationsCommandOutput>;
1042
- public listLicenseConfigurations(
1043
- args: ListLicenseConfigurationsCommandInput,
1044
- cb: (err: any, data?: ListLicenseConfigurationsCommandOutput) => void
1045
- ): void;
1046
- public listLicenseConfigurations(
1047
- args: ListLicenseConfigurationsCommandInput,
1048
- options: __HttpHandlerOptions,
1049
- cb: (err: any, data?: ListLicenseConfigurationsCommandOutput) => void
1050
- ): void;
1051
- public listLicenseConfigurations(
1052
- args: ListLicenseConfigurationsCommandInput,
1053
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListLicenseConfigurationsCommandOutput) => void),
1054
- cb?: (err: any, data?: ListLicenseConfigurationsCommandOutput) => void
1055
- ): Promise<ListLicenseConfigurationsCommandOutput> | void {
1056
- const command = new ListLicenseConfigurationsCommand(args);
1057
- if (typeof optionsOrCb === "function") {
1058
- this.send(command, optionsOrCb);
1059
- } else if (typeof cb === "function") {
1060
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1061
- this.send(command, optionsOrCb || {}, cb);
1062
- } else {
1063
- return this.send(command, optionsOrCb);
1064
- }
1065
- }
1066
-
1067
- /**
1068
- * <p>Lists the report generators for your account.</p>
1069
- */
1070
- public listLicenseManagerReportGenerators(
1071
- args: ListLicenseManagerReportGeneratorsCommandInput,
1072
- options?: __HttpHandlerOptions
1073
- ): Promise<ListLicenseManagerReportGeneratorsCommandOutput>;
1074
- public listLicenseManagerReportGenerators(
1075
- args: ListLicenseManagerReportGeneratorsCommandInput,
1076
- cb: (err: any, data?: ListLicenseManagerReportGeneratorsCommandOutput) => void
1077
- ): void;
1078
- public listLicenseManagerReportGenerators(
1079
- args: ListLicenseManagerReportGeneratorsCommandInput,
1080
- options: __HttpHandlerOptions,
1081
- cb: (err: any, data?: ListLicenseManagerReportGeneratorsCommandOutput) => void
1082
- ): void;
1083
- public listLicenseManagerReportGenerators(
1084
- args: ListLicenseManagerReportGeneratorsCommandInput,
1085
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListLicenseManagerReportGeneratorsCommandOutput) => void),
1086
- cb?: (err: any, data?: ListLicenseManagerReportGeneratorsCommandOutput) => void
1087
- ): Promise<ListLicenseManagerReportGeneratorsCommandOutput> | void {
1088
- const command = new ListLicenseManagerReportGeneratorsCommand(args);
1089
- if (typeof optionsOrCb === "function") {
1090
- this.send(command, optionsOrCb);
1091
- } else if (typeof cb === "function") {
1092
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1093
- this.send(command, optionsOrCb || {}, cb);
1094
- } else {
1095
- return this.send(command, optionsOrCb);
1096
- }
1097
- }
1098
-
1099
- /**
1100
- * <p>Lists the licenses for your account.</p>
1101
- */
1102
- public listLicenses(
1103
- args: ListLicensesCommandInput,
1104
- options?: __HttpHandlerOptions
1105
- ): Promise<ListLicensesCommandOutput>;
1106
- public listLicenses(args: ListLicensesCommandInput, cb: (err: any, data?: ListLicensesCommandOutput) => void): void;
1107
- public listLicenses(
1108
- args: ListLicensesCommandInput,
1109
- options: __HttpHandlerOptions,
1110
- cb: (err: any, data?: ListLicensesCommandOutput) => void
1111
- ): void;
1112
- public listLicenses(
1113
- args: ListLicensesCommandInput,
1114
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListLicensesCommandOutput) => void),
1115
- cb?: (err: any, data?: ListLicensesCommandOutput) => void
1116
- ): Promise<ListLicensesCommandOutput> | void {
1117
- const command = new ListLicensesCommand(args);
1118
- if (typeof optionsOrCb === "function") {
1119
- this.send(command, optionsOrCb);
1120
- } else if (typeof cb === "function") {
1121
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1122
- this.send(command, optionsOrCb || {}, cb);
1123
- } else {
1124
- return this.send(command, optionsOrCb);
1125
- }
1126
- }
1127
-
1128
- /**
1129
- * <p>Describes the license configurations for the specified resource.</p>
1130
- */
1131
- public listLicenseSpecificationsForResource(
1132
- args: ListLicenseSpecificationsForResourceCommandInput,
1133
- options?: __HttpHandlerOptions
1134
- ): Promise<ListLicenseSpecificationsForResourceCommandOutput>;
1135
- public listLicenseSpecificationsForResource(
1136
- args: ListLicenseSpecificationsForResourceCommandInput,
1137
- cb: (err: any, data?: ListLicenseSpecificationsForResourceCommandOutput) => void
1138
- ): void;
1139
- public listLicenseSpecificationsForResource(
1140
- args: ListLicenseSpecificationsForResourceCommandInput,
1141
- options: __HttpHandlerOptions,
1142
- cb: (err: any, data?: ListLicenseSpecificationsForResourceCommandOutput) => void
1143
- ): void;
1144
- public listLicenseSpecificationsForResource(
1145
- args: ListLicenseSpecificationsForResourceCommandInput,
1146
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListLicenseSpecificationsForResourceCommandOutput) => void),
1147
- cb?: (err: any, data?: ListLicenseSpecificationsForResourceCommandOutput) => void
1148
- ): Promise<ListLicenseSpecificationsForResourceCommandOutput> | void {
1149
- const command = new ListLicenseSpecificationsForResourceCommand(args);
1150
- if (typeof optionsOrCb === "function") {
1151
- this.send(command, optionsOrCb);
1152
- } else if (typeof cb === "function") {
1153
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1154
- this.send(command, optionsOrCb || {}, cb);
1155
- } else {
1156
- return this.send(command, optionsOrCb);
1157
- }
1158
- }
1159
-
1160
- /**
1161
- * <p>Lists all versions of the specified license.</p>
1162
- */
1163
- public listLicenseVersions(
1164
- args: ListLicenseVersionsCommandInput,
1165
- options?: __HttpHandlerOptions
1166
- ): Promise<ListLicenseVersionsCommandOutput>;
1167
- public listLicenseVersions(
1168
- args: ListLicenseVersionsCommandInput,
1169
- cb: (err: any, data?: ListLicenseVersionsCommandOutput) => void
1170
- ): void;
1171
- public listLicenseVersions(
1172
- args: ListLicenseVersionsCommandInput,
1173
- options: __HttpHandlerOptions,
1174
- cb: (err: any, data?: ListLicenseVersionsCommandOutput) => void
1175
- ): void;
1176
- public listLicenseVersions(
1177
- args: ListLicenseVersionsCommandInput,
1178
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListLicenseVersionsCommandOutput) => void),
1179
- cb?: (err: any, data?: ListLicenseVersionsCommandOutput) => void
1180
- ): Promise<ListLicenseVersionsCommandOutput> | void {
1181
- const command = new ListLicenseVersionsCommand(args);
1182
- if (typeof optionsOrCb === "function") {
1183
- this.send(command, optionsOrCb);
1184
- } else if (typeof cb === "function") {
1185
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1186
- this.send(command, optionsOrCb || {}, cb);
1187
- } else {
1188
- return this.send(command, optionsOrCb);
1189
- }
1190
- }
1191
-
1192
- /**
1193
- * <p>Lists grants that are received but not accepted.</p>
1194
- */
1195
- public listReceivedGrants(
1196
- args: ListReceivedGrantsCommandInput,
1197
- options?: __HttpHandlerOptions
1198
- ): Promise<ListReceivedGrantsCommandOutput>;
1199
- public listReceivedGrants(
1200
- args: ListReceivedGrantsCommandInput,
1201
- cb: (err: any, data?: ListReceivedGrantsCommandOutput) => void
1202
- ): void;
1203
- public listReceivedGrants(
1204
- args: ListReceivedGrantsCommandInput,
1205
- options: __HttpHandlerOptions,
1206
- cb: (err: any, data?: ListReceivedGrantsCommandOutput) => void
1207
- ): void;
1208
- public listReceivedGrants(
1209
- args: ListReceivedGrantsCommandInput,
1210
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListReceivedGrantsCommandOutput) => void),
1211
- cb?: (err: any, data?: ListReceivedGrantsCommandOutput) => void
1212
- ): Promise<ListReceivedGrantsCommandOutput> | void {
1213
- const command = new ListReceivedGrantsCommand(args);
1214
- if (typeof optionsOrCb === "function") {
1215
- this.send(command, optionsOrCb);
1216
- } else if (typeof cb === "function") {
1217
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1218
- this.send(command, optionsOrCb || {}, cb);
1219
- } else {
1220
- return this.send(command, optionsOrCb);
1221
- }
1222
- }
1223
-
1224
- /**
1225
- * <p>Lists received licenses.</p>
1226
- */
1227
- public listReceivedLicenses(
1228
- args: ListReceivedLicensesCommandInput,
1229
- options?: __HttpHandlerOptions
1230
- ): Promise<ListReceivedLicensesCommandOutput>;
1231
- public listReceivedLicenses(
1232
- args: ListReceivedLicensesCommandInput,
1233
- cb: (err: any, data?: ListReceivedLicensesCommandOutput) => void
1234
- ): void;
1235
- public listReceivedLicenses(
1236
- args: ListReceivedLicensesCommandInput,
1237
- options: __HttpHandlerOptions,
1238
- cb: (err: any, data?: ListReceivedLicensesCommandOutput) => void
1239
- ): void;
1240
- public listReceivedLicenses(
1241
- args: ListReceivedLicensesCommandInput,
1242
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListReceivedLicensesCommandOutput) => void),
1243
- cb?: (err: any, data?: ListReceivedLicensesCommandOutput) => void
1244
- ): Promise<ListReceivedLicensesCommandOutput> | void {
1245
- const command = new ListReceivedLicensesCommand(args);
1246
- if (typeof optionsOrCb === "function") {
1247
- this.send(command, optionsOrCb);
1248
- } else if (typeof cb === "function") {
1249
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1250
- this.send(command, optionsOrCb || {}, cb);
1251
- } else {
1252
- return this.send(command, optionsOrCb);
1253
- }
1254
- }
1255
-
1256
- /**
1257
- * <p>Lists resources managed using Systems Manager inventory.</p>
1258
- */
1259
- public listResourceInventory(
1260
- args: ListResourceInventoryCommandInput,
1261
- options?: __HttpHandlerOptions
1262
- ): Promise<ListResourceInventoryCommandOutput>;
1263
- public listResourceInventory(
1264
- args: ListResourceInventoryCommandInput,
1265
- cb: (err: any, data?: ListResourceInventoryCommandOutput) => void
1266
- ): void;
1267
- public listResourceInventory(
1268
- args: ListResourceInventoryCommandInput,
1269
- options: __HttpHandlerOptions,
1270
- cb: (err: any, data?: ListResourceInventoryCommandOutput) => void
1271
- ): void;
1272
- public listResourceInventory(
1273
- args: ListResourceInventoryCommandInput,
1274
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListResourceInventoryCommandOutput) => void),
1275
- cb?: (err: any, data?: ListResourceInventoryCommandOutput) => void
1276
- ): Promise<ListResourceInventoryCommandOutput> | void {
1277
- const command = new ListResourceInventoryCommand(args);
1278
- if (typeof optionsOrCb === "function") {
1279
- this.send(command, optionsOrCb);
1280
- } else if (typeof cb === "function") {
1281
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1282
- this.send(command, optionsOrCb || {}, cb);
1283
- } else {
1284
- return this.send(command, optionsOrCb);
1285
- }
1286
- }
1287
-
1288
- /**
1289
- * <p>Lists the tags for the specified license configuration.</p>
1290
- */
1291
- public listTagsForResource(
1292
- args: ListTagsForResourceCommandInput,
1293
- options?: __HttpHandlerOptions
1294
- ): Promise<ListTagsForResourceCommandOutput>;
1295
- public listTagsForResource(
1296
- args: ListTagsForResourceCommandInput,
1297
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
1298
- ): void;
1299
- public listTagsForResource(
1300
- args: ListTagsForResourceCommandInput,
1301
- options: __HttpHandlerOptions,
1302
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
1303
- ): void;
1304
- public listTagsForResource(
1305
- args: ListTagsForResourceCommandInput,
1306
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
1307
- cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
1308
- ): Promise<ListTagsForResourceCommandOutput> | void {
1309
- const command = new ListTagsForResourceCommand(args);
1310
- if (typeof optionsOrCb === "function") {
1311
- this.send(command, optionsOrCb);
1312
- } else if (typeof cb === "function") {
1313
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1314
- this.send(command, optionsOrCb || {}, cb);
1315
- } else {
1316
- return this.send(command, optionsOrCb);
1317
- }
1318
- }
1319
-
1320
- /**
1321
- * <p>Lists your tokens.</p>
1322
- */
1323
- public listTokens(args: ListTokensCommandInput, options?: __HttpHandlerOptions): Promise<ListTokensCommandOutput>;
1324
- public listTokens(args: ListTokensCommandInput, cb: (err: any, data?: ListTokensCommandOutput) => void): void;
1325
- public listTokens(
1326
- args: ListTokensCommandInput,
1327
- options: __HttpHandlerOptions,
1328
- cb: (err: any, data?: ListTokensCommandOutput) => void
1329
- ): void;
1330
- public listTokens(
1331
- args: ListTokensCommandInput,
1332
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTokensCommandOutput) => void),
1333
- cb?: (err: any, data?: ListTokensCommandOutput) => void
1334
- ): Promise<ListTokensCommandOutput> | void {
1335
- const command = new ListTokensCommand(args);
1336
- if (typeof optionsOrCb === "function") {
1337
- this.send(command, optionsOrCb);
1338
- } else if (typeof cb === "function") {
1339
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1340
- this.send(command, optionsOrCb || {}, cb);
1341
- } else {
1342
- return this.send(command, optionsOrCb);
1343
- }
1344
- }
1345
-
1346
- /**
1347
- * <p>Lists all license usage records for a license configuration, displaying license
1348
- * consumption details by resource at a selected point in time. Use this action to audit the
1349
- * current license consumption for any license inventory and configuration.</p>
1350
- */
1351
- public listUsageForLicenseConfiguration(
1352
- args: ListUsageForLicenseConfigurationCommandInput,
1353
- options?: __HttpHandlerOptions
1354
- ): Promise<ListUsageForLicenseConfigurationCommandOutput>;
1355
- public listUsageForLicenseConfiguration(
1356
- args: ListUsageForLicenseConfigurationCommandInput,
1357
- cb: (err: any, data?: ListUsageForLicenseConfigurationCommandOutput) => void
1358
- ): void;
1359
- public listUsageForLicenseConfiguration(
1360
- args: ListUsageForLicenseConfigurationCommandInput,
1361
- options: __HttpHandlerOptions,
1362
- cb: (err: any, data?: ListUsageForLicenseConfigurationCommandOutput) => void
1363
- ): void;
1364
- public listUsageForLicenseConfiguration(
1365
- args: ListUsageForLicenseConfigurationCommandInput,
1366
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListUsageForLicenseConfigurationCommandOutput) => void),
1367
- cb?: (err: any, data?: ListUsageForLicenseConfigurationCommandOutput) => void
1368
- ): Promise<ListUsageForLicenseConfigurationCommandOutput> | void {
1369
- const command = new ListUsageForLicenseConfigurationCommand(args);
1370
- if (typeof optionsOrCb === "function") {
1371
- this.send(command, optionsOrCb);
1372
- } else if (typeof cb === "function") {
1373
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1374
- this.send(command, optionsOrCb || {}, cb);
1375
- } else {
1376
- return this.send(command, optionsOrCb);
1377
- }
1378
- }
1379
-
1380
- /**
1381
- * <p>Rejects the specified grant.</p>
1382
- */
1383
- public rejectGrant(args: RejectGrantCommandInput, options?: __HttpHandlerOptions): Promise<RejectGrantCommandOutput>;
1384
- public rejectGrant(args: RejectGrantCommandInput, cb: (err: any, data?: RejectGrantCommandOutput) => void): void;
1385
- public rejectGrant(
1386
- args: RejectGrantCommandInput,
1387
- options: __HttpHandlerOptions,
1388
- cb: (err: any, data?: RejectGrantCommandOutput) => void
1389
- ): void;
1390
- public rejectGrant(
1391
- args: RejectGrantCommandInput,
1392
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RejectGrantCommandOutput) => void),
1393
- cb?: (err: any, data?: RejectGrantCommandOutput) => void
1394
- ): Promise<RejectGrantCommandOutput> | void {
1395
- const command = new RejectGrantCommand(args);
1396
- if (typeof optionsOrCb === "function") {
1397
- this.send(command, optionsOrCb);
1398
- } else if (typeof cb === "function") {
1399
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1400
- this.send(command, optionsOrCb || {}, cb);
1401
- } else {
1402
- return this.send(command, optionsOrCb);
1403
- }
1404
- }
1405
-
1406
- /**
1407
- * <p>Adds the specified tags to the specified license configuration.</p>
1408
- */
1409
- public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
1410
- public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
1411
- public tagResource(
1412
- args: TagResourceCommandInput,
1413
- options: __HttpHandlerOptions,
1414
- cb: (err: any, data?: TagResourceCommandOutput) => void
1415
- ): void;
1416
- public tagResource(
1417
- args: TagResourceCommandInput,
1418
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
1419
- cb?: (err: any, data?: TagResourceCommandOutput) => void
1420
- ): Promise<TagResourceCommandOutput> | void {
1421
- const command = new TagResourceCommand(args);
1422
- if (typeof optionsOrCb === "function") {
1423
- this.send(command, optionsOrCb);
1424
- } else if (typeof cb === "function") {
1425
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1426
- this.send(command, optionsOrCb || {}, cb);
1427
- } else {
1428
- return this.send(command, optionsOrCb);
1429
- }
1430
- }
1431
-
1432
- /**
1433
- * <p>Removes the specified tags from the specified license configuration.</p>
1434
- */
1435
- public untagResource(
1436
- args: UntagResourceCommandInput,
1437
- options?: __HttpHandlerOptions
1438
- ): Promise<UntagResourceCommandOutput>;
1439
- public untagResource(
1440
- args: UntagResourceCommandInput,
1441
- cb: (err: any, data?: UntagResourceCommandOutput) => void
1442
- ): void;
1443
- public untagResource(
1444
- args: UntagResourceCommandInput,
1445
- options: __HttpHandlerOptions,
1446
- cb: (err: any, data?: UntagResourceCommandOutput) => void
1447
- ): void;
1448
- public untagResource(
1449
- args: UntagResourceCommandInput,
1450
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
1451
- cb?: (err: any, data?: UntagResourceCommandOutput) => void
1452
- ): Promise<UntagResourceCommandOutput> | void {
1453
- const command = new UntagResourceCommand(args);
1454
- if (typeof optionsOrCb === "function") {
1455
- this.send(command, optionsOrCb);
1456
- } else if (typeof cb === "function") {
1457
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1458
- this.send(command, optionsOrCb || {}, cb);
1459
- } else {
1460
- return this.send(command, optionsOrCb);
1461
- }
1462
- }
1463
-
1464
- /**
1465
- * <p>Modifies the attributes of an existing license configuration.</p>
1466
- */
1467
- public updateLicenseConfiguration(
1468
- args: UpdateLicenseConfigurationCommandInput,
1469
- options?: __HttpHandlerOptions
1470
- ): Promise<UpdateLicenseConfigurationCommandOutput>;
1471
- public updateLicenseConfiguration(
1472
- args: UpdateLicenseConfigurationCommandInput,
1473
- cb: (err: any, data?: UpdateLicenseConfigurationCommandOutput) => void
1474
- ): void;
1475
- public updateLicenseConfiguration(
1476
- args: UpdateLicenseConfigurationCommandInput,
1477
- options: __HttpHandlerOptions,
1478
- cb: (err: any, data?: UpdateLicenseConfigurationCommandOutput) => void
1479
- ): void;
1480
- public updateLicenseConfiguration(
1481
- args: UpdateLicenseConfigurationCommandInput,
1482
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateLicenseConfigurationCommandOutput) => void),
1483
- cb?: (err: any, data?: UpdateLicenseConfigurationCommandOutput) => void
1484
- ): Promise<UpdateLicenseConfigurationCommandOutput> | void {
1485
- const command = new UpdateLicenseConfigurationCommand(args);
1486
- if (typeof optionsOrCb === "function") {
1487
- this.send(command, optionsOrCb);
1488
- } else if (typeof cb === "function") {
1489
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1490
- this.send(command, optionsOrCb || {}, cb);
1491
- } else {
1492
- return this.send(command, optionsOrCb);
1493
- }
1494
- }
1495
-
1496
- /**
1497
- * <p>Updates a report generator.</p>
1498
- * <p>After you make changes to a report generator, it will start generating new reports within 60 minutes of being updated.</p>
1499
- */
1500
- public updateLicenseManagerReportGenerator(
1501
- args: UpdateLicenseManagerReportGeneratorCommandInput,
1502
- options?: __HttpHandlerOptions
1503
- ): Promise<UpdateLicenseManagerReportGeneratorCommandOutput>;
1504
- public updateLicenseManagerReportGenerator(
1505
- args: UpdateLicenseManagerReportGeneratorCommandInput,
1506
- cb: (err: any, data?: UpdateLicenseManagerReportGeneratorCommandOutput) => void
1507
- ): void;
1508
- public updateLicenseManagerReportGenerator(
1509
- args: UpdateLicenseManagerReportGeneratorCommandInput,
1510
- options: __HttpHandlerOptions,
1511
- cb: (err: any, data?: UpdateLicenseManagerReportGeneratorCommandOutput) => void
1512
- ): void;
1513
- public updateLicenseManagerReportGenerator(
1514
- args: UpdateLicenseManagerReportGeneratorCommandInput,
1515
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateLicenseManagerReportGeneratorCommandOutput) => void),
1516
- cb?: (err: any, data?: UpdateLicenseManagerReportGeneratorCommandOutput) => void
1517
- ): Promise<UpdateLicenseManagerReportGeneratorCommandOutput> | void {
1518
- const command = new UpdateLicenseManagerReportGeneratorCommand(args);
1519
- if (typeof optionsOrCb === "function") {
1520
- this.send(command, optionsOrCb);
1521
- } else if (typeof cb === "function") {
1522
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1523
- this.send(command, optionsOrCb || {}, cb);
1524
- } else {
1525
- return this.send(command, optionsOrCb);
1526
- }
1527
- }
1528
-
1529
- /**
1530
- * <p>Adds or removes the specified license configurations for the specified AWS resource.</p>
1531
- * <p>You can update the license specifications of AMIs, instances, and hosts.
1532
- * You cannot update the license specifications for launch templates and AWS CloudFormation templates,
1533
- * as they send license configurations to the operation that creates the resource.</p>
1534
- */
1535
- public updateLicenseSpecificationsForResource(
1536
- args: UpdateLicenseSpecificationsForResourceCommandInput,
1537
- options?: __HttpHandlerOptions
1538
- ): Promise<UpdateLicenseSpecificationsForResourceCommandOutput>;
1539
- public updateLicenseSpecificationsForResource(
1540
- args: UpdateLicenseSpecificationsForResourceCommandInput,
1541
- cb: (err: any, data?: UpdateLicenseSpecificationsForResourceCommandOutput) => void
1542
- ): void;
1543
- public updateLicenseSpecificationsForResource(
1544
- args: UpdateLicenseSpecificationsForResourceCommandInput,
1545
- options: __HttpHandlerOptions,
1546
- cb: (err: any, data?: UpdateLicenseSpecificationsForResourceCommandOutput) => void
1547
- ): void;
1548
- public updateLicenseSpecificationsForResource(
1549
- args: UpdateLicenseSpecificationsForResourceCommandInput,
1550
- optionsOrCb?:
1551
- | __HttpHandlerOptions
1552
- | ((err: any, data?: UpdateLicenseSpecificationsForResourceCommandOutput) => void),
1553
- cb?: (err: any, data?: UpdateLicenseSpecificationsForResourceCommandOutput) => void
1554
- ): Promise<UpdateLicenseSpecificationsForResourceCommandOutput> | void {
1555
- const command = new UpdateLicenseSpecificationsForResourceCommand(args);
1556
- if (typeof optionsOrCb === "function") {
1557
- this.send(command, optionsOrCb);
1558
- } else if (typeof cb === "function") {
1559
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1560
- this.send(command, optionsOrCb || {}, cb);
1561
- } else {
1562
- return this.send(command, optionsOrCb);
1563
- }
1564
- }
1565
-
1566
- /**
1567
- * <p>Updates License Manager settings for the current Region.</p>
1568
- */
1569
- public updateServiceSettings(
1570
- args: UpdateServiceSettingsCommandInput,
1571
- options?: __HttpHandlerOptions
1572
- ): Promise<UpdateServiceSettingsCommandOutput>;
1573
- public updateServiceSettings(
1574
- args: UpdateServiceSettingsCommandInput,
1575
- cb: (err: any, data?: UpdateServiceSettingsCommandOutput) => void
1576
- ): void;
1577
- public updateServiceSettings(
1578
- args: UpdateServiceSettingsCommandInput,
1579
- options: __HttpHandlerOptions,
1580
- cb: (err: any, data?: UpdateServiceSettingsCommandOutput) => void
1581
- ): void;
1582
- public updateServiceSettings(
1583
- args: UpdateServiceSettingsCommandInput,
1584
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateServiceSettingsCommandOutput) => void),
1585
- cb?: (err: any, data?: UpdateServiceSettingsCommandOutput) => void
1586
- ): Promise<UpdateServiceSettingsCommandOutput> | void {
1587
- const command = new UpdateServiceSettingsCommand(args);
1588
- if (typeof optionsOrCb === "function") {
1589
- this.send(command, optionsOrCb);
1590
- } else if (typeof cb === "function") {
1591
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1592
- this.send(command, optionsOrCb || {}, cb);
1593
- } else {
1594
- return this.send(command, optionsOrCb);
1595
- }
1596
- }
1597
- }