@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
@@ -1,94 +0,0 @@
1
- import { LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerClient";
2
- import { CheckoutBorrowLicenseRequest, CheckoutBorrowLicenseResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CheckoutBorrowLicenseCommand,
5
- serializeAws_json1_1CheckoutBorrowLicenseCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CheckoutBorrowLicenseCommandInput extends CheckoutBorrowLicenseRequest {}
21
- export interface CheckoutBorrowLicenseCommandOutput extends CheckoutBorrowLicenseResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Checks out the specified license for offline use.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { LicenseManagerClient, CheckoutBorrowLicenseCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
29
- * // const { LicenseManagerClient, CheckoutBorrowLicenseCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
30
- * const client = new LicenseManagerClient(config);
31
- * const command = new CheckoutBorrowLicenseCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link CheckoutBorrowLicenseCommandInput} for command's `input` shape.
36
- * @see {@link CheckoutBorrowLicenseCommandOutput} for command's `response` shape.
37
- * @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class CheckoutBorrowLicenseCommand extends $Command<
41
- CheckoutBorrowLicenseCommandInput,
42
- CheckoutBorrowLicenseCommandOutput,
43
- LicenseManagerClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: CheckoutBorrowLicenseCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: LicenseManagerClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<CheckoutBorrowLicenseCommandInput, CheckoutBorrowLicenseCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "LicenseManagerClient";
68
- const commandName = "CheckoutBorrowLicenseCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: CheckoutBorrowLicenseRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: CheckoutBorrowLicenseResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: CheckoutBorrowLicenseCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1CheckoutBorrowLicenseCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CheckoutBorrowLicenseCommandOutput> {
89
- return deserializeAws_json1_1CheckoutBorrowLicenseCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerClient";
2
- import { CheckoutLicenseRequest, CheckoutLicenseResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CheckoutLicenseCommand,
5
- serializeAws_json1_1CheckoutLicenseCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CheckoutLicenseCommandInput extends CheckoutLicenseRequest {}
21
- export interface CheckoutLicenseCommandOutput extends CheckoutLicenseResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Checks out the specified license.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { LicenseManagerClient, CheckoutLicenseCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
29
- * // const { LicenseManagerClient, CheckoutLicenseCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
30
- * const client = new LicenseManagerClient(config);
31
- * const command = new CheckoutLicenseCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link CheckoutLicenseCommandInput} for command's `input` shape.
36
- * @see {@link CheckoutLicenseCommandOutput} for command's `response` shape.
37
- * @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class CheckoutLicenseCommand extends $Command<
41
- CheckoutLicenseCommandInput,
42
- CheckoutLicenseCommandOutput,
43
- LicenseManagerClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: CheckoutLicenseCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: LicenseManagerClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<CheckoutLicenseCommandInput, CheckoutLicenseCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "LicenseManagerClient";
68
- const commandName = "CheckoutLicenseCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: CheckoutLicenseRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: CheckoutLicenseResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: CheckoutLicenseCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1CheckoutLicenseCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CheckoutLicenseCommandOutput> {
89
- return deserializeAws_json1_1CheckoutLicenseCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerClient";
2
- import { CreateGrantRequest, CreateGrantResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateGrantCommand,
5
- serializeAws_json1_1CreateGrantCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateGrantCommandInput extends CreateGrantRequest {}
21
- export interface CreateGrantCommandOutput extends CreateGrantResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates a grant for the specified license. A grant shares the use of license entitlements with specific AWS accounts.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { LicenseManagerClient, CreateGrantCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
29
- * // const { LicenseManagerClient, CreateGrantCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
30
- * const client = new LicenseManagerClient(config);
31
- * const command = new CreateGrantCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link CreateGrantCommandInput} for command's `input` shape.
36
- * @see {@link CreateGrantCommandOutput} for command's `response` shape.
37
- * @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class CreateGrantCommand extends $Command<
41
- CreateGrantCommandInput,
42
- CreateGrantCommandOutput,
43
- LicenseManagerClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: CreateGrantCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: LicenseManagerClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<CreateGrantCommandInput, CreateGrantCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "LicenseManagerClient";
68
- const commandName = "CreateGrantCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: CreateGrantRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: CreateGrantResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: CreateGrantCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1CreateGrantCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateGrantCommandOutput> {
89
- return deserializeAws_json1_1CreateGrantCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerClient";
2
- import { CreateGrantVersionRequest, CreateGrantVersionResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateGrantVersionCommand,
5
- serializeAws_json1_1CreateGrantVersionCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateGrantVersionCommandInput extends CreateGrantVersionRequest {}
21
- export interface CreateGrantVersionCommandOutput extends CreateGrantVersionResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates a new version of the specified grant.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { LicenseManagerClient, CreateGrantVersionCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
29
- * // const { LicenseManagerClient, CreateGrantVersionCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
30
- * const client = new LicenseManagerClient(config);
31
- * const command = new CreateGrantVersionCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link CreateGrantVersionCommandInput} for command's `input` shape.
36
- * @see {@link CreateGrantVersionCommandOutput} for command's `response` shape.
37
- * @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class CreateGrantVersionCommand extends $Command<
41
- CreateGrantVersionCommandInput,
42
- CreateGrantVersionCommandOutput,
43
- LicenseManagerClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: CreateGrantVersionCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: LicenseManagerClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<CreateGrantVersionCommandInput, CreateGrantVersionCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "LicenseManagerClient";
68
- const commandName = "CreateGrantVersionCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: CreateGrantVersionRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: CreateGrantVersionResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: CreateGrantVersionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1CreateGrantVersionCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateGrantVersionCommandOutput> {
89
- return deserializeAws_json1_1CreateGrantVersionCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerClient";
2
- import { CreateLicenseRequest, CreateLicenseResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateLicenseCommand,
5
- serializeAws_json1_1CreateLicenseCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateLicenseCommandInput extends CreateLicenseRequest {}
21
- export interface CreateLicenseCommandOutput extends CreateLicenseResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates a license.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { LicenseManagerClient, CreateLicenseCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
29
- * // const { LicenseManagerClient, CreateLicenseCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
30
- * const client = new LicenseManagerClient(config);
31
- * const command = new CreateLicenseCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link CreateLicenseCommandInput} for command's `input` shape.
36
- * @see {@link CreateLicenseCommandOutput} for command's `response` shape.
37
- * @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class CreateLicenseCommand extends $Command<
41
- CreateLicenseCommandInput,
42
- CreateLicenseCommandOutput,
43
- LicenseManagerClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: CreateLicenseCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: LicenseManagerClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<CreateLicenseCommandInput, CreateLicenseCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "LicenseManagerClient";
68
- const commandName = "CreateLicenseCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: CreateLicenseRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: CreateLicenseResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: CreateLicenseCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1CreateLicenseCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateLicenseCommandOutput> {
89
- return deserializeAws_json1_1CreateLicenseCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,102 +0,0 @@
1
- import { LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerClient";
2
- import { CreateLicenseConfigurationRequest, CreateLicenseConfigurationResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateLicenseConfigurationCommand,
5
- serializeAws_json1_1CreateLicenseConfigurationCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateLicenseConfigurationCommandInput extends CreateLicenseConfigurationRequest {}
21
- export interface CreateLicenseConfigurationCommandOutput extends CreateLicenseConfigurationResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates a license configuration.</p>
25
- * <p>A license configuration is an abstraction of a customer license agreement that can be
26
- * consumed and enforced by License Manager. Components include specifications for the license
27
- * type (licensing by instance, socket, CPU, or vCPU), allowed tenancy (shared tenancy,
28
- * Dedicated Instance, Dedicated Host, or all of these), license affinity to host (how long a
29
- * license must be associated with a host), and the number of licenses purchased and used.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { LicenseManagerClient, CreateLicenseConfigurationCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
34
- * // const { LicenseManagerClient, CreateLicenseConfigurationCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
35
- * const client = new LicenseManagerClient(config);
36
- * const command = new CreateLicenseConfigurationCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link CreateLicenseConfigurationCommandInput} for command's `input` shape.
41
- * @see {@link CreateLicenseConfigurationCommandOutput} for command's `response` shape.
42
- * @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class CreateLicenseConfigurationCommand extends $Command<
46
- CreateLicenseConfigurationCommandInput,
47
- CreateLicenseConfigurationCommandOutput,
48
- LicenseManagerClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: CreateLicenseConfigurationCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: LicenseManagerClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<CreateLicenseConfigurationCommandInput, CreateLicenseConfigurationCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "LicenseManagerClient";
73
- const commandName = "CreateLicenseConfigurationCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: CreateLicenseConfigurationRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: CreateLicenseConfigurationResponse.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: CreateLicenseConfigurationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_json1_1CreateLicenseConfigurationCommand(input, context);
91
- }
92
-
93
- private deserialize(
94
- output: __HttpResponse,
95
- context: __SerdeContext
96
- ): Promise<CreateLicenseConfigurationCommandOutput> {
97
- return deserializeAws_json1_1CreateLicenseConfigurationCommand(output, context);
98
- }
99
-
100
- // Start section: command_body_extra
101
- // End section: command_body_extra
102
- }
@@ -1,105 +0,0 @@
1
- import { LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerClient";
2
- import {
3
- CreateLicenseManagerReportGeneratorRequest,
4
- CreateLicenseManagerReportGeneratorResponse,
5
- } from "../models/models_0";
6
- import {
7
- deserializeAws_json1_1CreateLicenseManagerReportGeneratorCommand,
8
- serializeAws_json1_1CreateLicenseManagerReportGeneratorCommand,
9
- } from "../protocols/Aws_json1_1";
10
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
11
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
12
- import { Command as $Command } from "@aws-sdk/smithy-client";
13
- import {
14
- FinalizeHandlerArguments,
15
- Handler,
16
- HandlerExecutionContext,
17
- MiddlewareStack,
18
- HttpHandlerOptions as __HttpHandlerOptions,
19
- MetadataBearer as __MetadataBearer,
20
- SerdeContext as __SerdeContext,
21
- } from "@aws-sdk/types";
22
-
23
- export interface CreateLicenseManagerReportGeneratorCommandInput extends CreateLicenseManagerReportGeneratorRequest {}
24
- export interface CreateLicenseManagerReportGeneratorCommandOutput
25
- extends CreateLicenseManagerReportGeneratorResponse,
26
- __MetadataBearer {}
27
-
28
- /**
29
- * <p>Creates a new report generator.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { LicenseManagerClient, CreateLicenseManagerReportGeneratorCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
34
- * // const { LicenseManagerClient, CreateLicenseManagerReportGeneratorCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
35
- * const client = new LicenseManagerClient(config);
36
- * const command = new CreateLicenseManagerReportGeneratorCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link CreateLicenseManagerReportGeneratorCommandInput} for command's `input` shape.
41
- * @see {@link CreateLicenseManagerReportGeneratorCommandOutput} for command's `response` shape.
42
- * @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class CreateLicenseManagerReportGeneratorCommand extends $Command<
46
- CreateLicenseManagerReportGeneratorCommandInput,
47
- CreateLicenseManagerReportGeneratorCommandOutput,
48
- LicenseManagerClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: CreateLicenseManagerReportGeneratorCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: LicenseManagerClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<CreateLicenseManagerReportGeneratorCommandInput, CreateLicenseManagerReportGeneratorCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "LicenseManagerClient";
73
- const commandName = "CreateLicenseManagerReportGeneratorCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: CreateLicenseManagerReportGeneratorRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: CreateLicenseManagerReportGeneratorResponse.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(
90
- input: CreateLicenseManagerReportGeneratorCommandInput,
91
- context: __SerdeContext
92
- ): Promise<__HttpRequest> {
93
- return serializeAws_json1_1CreateLicenseManagerReportGeneratorCommand(input, context);
94
- }
95
-
96
- private deserialize(
97
- output: __HttpResponse,
98
- context: __SerdeContext
99
- ): Promise<CreateLicenseManagerReportGeneratorCommandOutput> {
100
- return deserializeAws_json1_1CreateLicenseManagerReportGeneratorCommand(output, context);
101
- }
102
-
103
- // Start section: command_body_extra
104
- // End section: command_body_extra
105
- }