@aws-sdk/client-lakeformation 3.34.0 → 3.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (296) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/LakeFormation.js +1 -6
  3. package/{dist/cjs → dist-cjs}/LakeFormationClient.js +8 -18
  4. package/{dist/cjs → dist-cjs}/commands/AddLFTagsToResourceCommand.js +2 -27
  5. package/{dist/cjs → dist-cjs}/commands/BatchGrantPermissionsCommand.js +2 -27
  6. package/{dist/cjs → dist-cjs}/commands/BatchRevokePermissionsCommand.js +2 -27
  7. package/{dist/cjs → dist-cjs}/commands/CreateLFTagCommand.js +2 -27
  8. package/{dist/cjs → dist-cjs}/commands/DeleteLFTagCommand.js +2 -27
  9. package/{dist/cjs → dist-cjs}/commands/DeregisterResourceCommand.js +2 -29
  10. package/{dist/cjs → dist-cjs}/commands/DescribeResourceCommand.js +2 -27
  11. package/{dist/cjs → dist-cjs}/commands/GetDataLakeSettingsCommand.js +2 -27
  12. package/{dist/cjs → dist-cjs}/commands/GetEffectivePermissionsForPathCommand.js +2 -28
  13. package/{dist/cjs → dist-cjs}/commands/GetLFTagCommand.js +2 -27
  14. package/{dist/cjs → dist-cjs}/commands/GetResourceLFTagsCommand.js +2 -27
  15. package/{dist/cjs → dist-cjs}/commands/GrantPermissionsCommand.js +2 -28
  16. package/{dist/cjs → dist-cjs}/commands/ListLFTagsCommand.js +2 -27
  17. package/{dist/cjs → dist-cjs}/commands/ListPermissionsCommand.js +2 -29
  18. package/{dist/cjs → dist-cjs}/commands/ListResourcesCommand.js +2 -27
  19. package/{dist/cjs → dist-cjs}/commands/PutDataLakeSettingsCommand.js +2 -29
  20. package/dist-cjs/commands/RegisterResourceCommand.js +36 -0
  21. package/{dist/cjs → dist-cjs}/commands/RemoveLFTagsFromResourceCommand.js +2 -27
  22. package/{dist/cjs → dist-cjs}/commands/RevokePermissionsCommand.js +2 -27
  23. package/{dist/cjs → dist-cjs}/commands/SearchDatabasesByLFTagsCommand.js +2 -27
  24. package/{dist/cjs → dist-cjs}/commands/SearchTablesByLFTagsCommand.js +2 -27
  25. package/{dist/cjs → dist-cjs}/commands/UpdateLFTagCommand.js +2 -27
  26. package/{dist/cjs → dist-cjs}/commands/UpdateResourceCommand.js +2 -27
  27. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  28. package/{dist/cjs → dist-cjs}/index.js +0 -1
  29. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  30. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -244
  31. package/{dist/cjs → dist-cjs}/pagination/GetEffectivePermissionsForPathPaginator.js +1 -12
  32. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  33. package/{dist/cjs → dist-cjs}/pagination/ListPermissionsPaginator.js +1 -12
  34. package/{dist/cjs → dist-cjs}/pagination/ListResourcesPaginator.js +1 -12
  35. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
  36. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  37. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  38. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  39. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  40. package/{dist/es → dist-es}/LakeFormation.js +1 -2
  41. package/{dist/es → dist-es}/LakeFormationClient.js +1 -2
  42. package/{dist/es → dist-es}/commands/AddLFTagsToResourceCommand.js +2 -3
  43. package/{dist/es → dist-es}/commands/BatchGrantPermissionsCommand.js +2 -3
  44. package/{dist/es → dist-es}/commands/BatchRevokePermissionsCommand.js +2 -3
  45. package/{dist/es → dist-es}/commands/CreateLFTagCommand.js +2 -3
  46. package/{dist/es → dist-es}/commands/DeleteLFTagCommand.js +2 -3
  47. package/{dist/es → dist-es}/commands/DeregisterResourceCommand.js +2 -3
  48. package/{dist/es → dist-es}/commands/DescribeResourceCommand.js +2 -3
  49. package/{dist/es → dist-es}/commands/GetDataLakeSettingsCommand.js +2 -3
  50. package/{dist/es → dist-es}/commands/GetEffectivePermissionsForPathCommand.js +2 -3
  51. package/{dist/es → dist-es}/commands/GetLFTagCommand.js +2 -3
  52. package/{dist/es → dist-es}/commands/GetResourceLFTagsCommand.js +2 -3
  53. package/{dist/es → dist-es}/commands/GrantPermissionsCommand.js +2 -3
  54. package/{dist/es → dist-es}/commands/ListLFTagsCommand.js +2 -3
  55. package/{dist/es → dist-es}/commands/ListPermissionsCommand.js +2 -3
  56. package/{dist/es → dist-es}/commands/ListResourcesCommand.js +2 -3
  57. package/{dist/es → dist-es}/commands/PutDataLakeSettingsCommand.js +2 -3
  58. package/{dist/es → dist-es}/commands/RegisterResourceCommand.js +2 -3
  59. package/{dist/es → dist-es}/commands/RemoveLFTagsFromResourceCommand.js +2 -3
  60. package/{dist/es → dist-es}/commands/RevokePermissionsCommand.js +2 -3
  61. package/{dist/es → dist-es}/commands/SearchDatabasesByLFTagsCommand.js +2 -3
  62. package/{dist/es → dist-es}/commands/SearchTablesByLFTagsCommand.js +2 -3
  63. package/{dist/es → dist-es}/commands/UpdateLFTagCommand.js +2 -3
  64. package/{dist/es → dist-es}/commands/UpdateResourceCommand.js +2 -3
  65. package/{dist/es → dist-es}/endpoints.js +1 -2
  66. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  67. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  68. package/{dist/es → dist-es}/models/models_0.js +0 -1
  69. package/{dist/es → dist-es}/pagination/GetEffectivePermissionsForPathPaginator.js +1 -2
  70. package/dist-es/pagination/Interfaces.js +1 -0
  71. package/{dist/es → dist-es}/pagination/ListPermissionsPaginator.js +1 -2
  72. package/{dist/es → dist-es}/pagination/ListResourcesPaginator.js +1 -2
  73. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
  74. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  75. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  76. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  77. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  78. package/{dist/types → dist-types}/LakeFormation.d.ts +2 -2
  79. package/{dist/types → dist-types}/LakeFormationClient.d.ts +8 -8
  80. package/{dist/types → dist-types}/commands/AddLFTagsToResourceCommand.d.ts +2 -2
  81. package/{dist/types → dist-types}/commands/BatchGrantPermissionsCommand.d.ts +2 -2
  82. package/{dist/types → dist-types}/commands/BatchRevokePermissionsCommand.d.ts +2 -2
  83. package/{dist/types → dist-types}/commands/CreateLFTagCommand.d.ts +2 -2
  84. package/{dist/types → dist-types}/commands/DeleteLFTagCommand.d.ts +2 -2
  85. package/{dist/types → dist-types}/commands/DeregisterResourceCommand.d.ts +2 -2
  86. package/{dist/types → dist-types}/commands/DescribeResourceCommand.d.ts +2 -2
  87. package/{dist/types → dist-types}/commands/GetDataLakeSettingsCommand.d.ts +2 -2
  88. package/{dist/types → dist-types}/commands/GetEffectivePermissionsForPathCommand.d.ts +2 -2
  89. package/{dist/types → dist-types}/commands/GetLFTagCommand.d.ts +2 -2
  90. package/{dist/types → dist-types}/commands/GetResourceLFTagsCommand.d.ts +2 -2
  91. package/{dist/types → dist-types}/commands/GrantPermissionsCommand.d.ts +2 -2
  92. package/{dist/types → dist-types}/commands/ListLFTagsCommand.d.ts +2 -2
  93. package/{dist/types → dist-types}/commands/ListPermissionsCommand.d.ts +2 -2
  94. package/{dist/types → dist-types}/commands/ListResourcesCommand.d.ts +2 -2
  95. package/{dist/types → dist-types}/commands/PutDataLakeSettingsCommand.d.ts +2 -2
  96. package/{dist/types → dist-types}/commands/RegisterResourceCommand.d.ts +2 -2
  97. package/{dist/types → dist-types}/commands/RemoveLFTagsFromResourceCommand.d.ts +2 -2
  98. package/{dist/types → dist-types}/commands/RevokePermissionsCommand.d.ts +2 -2
  99. package/{dist/types → dist-types}/commands/SearchDatabasesByLFTagsCommand.d.ts +2 -2
  100. package/{dist/types → dist-types}/commands/SearchTablesByLFTagsCommand.d.ts +2 -2
  101. package/{dist/types → dist-types}/commands/UpdateLFTagCommand.d.ts +2 -2
  102. package/{dist/types → dist-types}/commands/UpdateResourceCommand.d.ts +2 -2
  103. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  104. package/{index.ts → dist-types/index.d.ts} +0 -0
  105. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  106. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  107. package/{dist/types → dist-types}/pagination/GetEffectivePermissionsForPathPaginator.d.ts +1 -1
  108. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  109. package/{dist/types → dist-types}/pagination/ListPermissionsPaginator.d.ts +1 -1
  110. package/{dist/types → dist-types}/pagination/ListResourcesPaginator.d.ts +1 -1
  111. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  112. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  113. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  114. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  115. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  116. package/{dist/types → dist-types}/ts3.4/LakeFormation.d.ts +26 -98
  117. package/{dist/types → dist-types}/ts3.4/LakeFormationClient.d.ts +32 -98
  118. package/{dist/types → dist-types}/ts3.4/commands/AddLFTagsToResourceCommand.d.ts +4 -22
  119. package/{dist/types → dist-types}/ts3.4/commands/BatchGrantPermissionsCommand.d.ts +4 -22
  120. package/{dist/types → dist-types}/ts3.4/commands/BatchRevokePermissionsCommand.d.ts +4 -22
  121. package/dist-types/ts3.4/commands/CreateLFTagCommand.d.ts +17 -0
  122. package/dist-types/ts3.4/commands/DeleteLFTagCommand.d.ts +17 -0
  123. package/dist-types/ts3.4/commands/DeregisterResourceCommand.d.ts +17 -0
  124. package/dist-types/ts3.4/commands/DescribeResourceCommand.d.ts +17 -0
  125. package/dist-types/ts3.4/commands/GetDataLakeSettingsCommand.d.ts +17 -0
  126. package/dist-types/ts3.4/commands/GetEffectivePermissionsForPathCommand.d.ts +17 -0
  127. package/dist-types/ts3.4/commands/GetLFTagCommand.d.ts +17 -0
  128. package/{dist/types → dist-types}/ts3.4/commands/GetResourceLFTagsCommand.d.ts +4 -22
  129. package/dist-types/ts3.4/commands/GrantPermissionsCommand.d.ts +17 -0
  130. package/dist-types/ts3.4/commands/ListLFTagsCommand.d.ts +17 -0
  131. package/dist-types/ts3.4/commands/ListPermissionsCommand.d.ts +17 -0
  132. package/dist-types/ts3.4/commands/ListResourcesCommand.d.ts +17 -0
  133. package/dist-types/ts3.4/commands/PutDataLakeSettingsCommand.d.ts +17 -0
  134. package/dist-types/ts3.4/commands/RegisterResourceCommand.d.ts +17 -0
  135. package/dist-types/ts3.4/commands/RemoveLFTagsFromResourceCommand.d.ts +17 -0
  136. package/dist-types/ts3.4/commands/RevokePermissionsCommand.d.ts +17 -0
  137. package/dist-types/ts3.4/commands/SearchDatabasesByLFTagsCommand.d.ts +17 -0
  138. package/dist-types/ts3.4/commands/SearchTablesByLFTagsCommand.d.ts +17 -0
  139. package/dist-types/ts3.4/commands/UpdateLFTagCommand.d.ts +17 -0
  140. package/dist-types/ts3.4/commands/UpdateResourceCommand.d.ts +17 -0
  141. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  142. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  143. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  144. package/dist-types/ts3.4/models/models_0.d.ts +937 -0
  145. package/{dist/types → dist-types}/ts3.4/pagination/GetEffectivePermissionsForPathPaginator.d.ts +1 -1
  146. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  147. package/{dist/types → dist-types}/ts3.4/pagination/ListPermissionsPaginator.d.ts +1 -1
  148. package/{dist/types → dist-types}/ts3.4/pagination/ListResourcesPaginator.d.ts +1 -1
  149. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  150. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  151. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  152. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  153. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  154. package/package.json +45 -42
  155. package/LakeFormation.ts +0 -832
  156. package/LakeFormationClient.ts +0 -332
  157. package/commands/AddLFTagsToResourceCommand.ts +0 -94
  158. package/commands/BatchGrantPermissionsCommand.ts +0 -94
  159. package/commands/BatchRevokePermissionsCommand.ts +0 -94
  160. package/commands/CreateLFTagCommand.ts +0 -94
  161. package/commands/DeleteLFTagCommand.ts +0 -94
  162. package/commands/DeregisterResourceCommand.ts +0 -96
  163. package/commands/DescribeResourceCommand.ts +0 -94
  164. package/commands/GetDataLakeSettingsCommand.ts +0 -94
  165. package/commands/GetEffectivePermissionsForPathCommand.ts +0 -103
  166. package/commands/GetLFTagCommand.ts +0 -91
  167. package/commands/GetResourceLFTagsCommand.ts +0 -94
  168. package/commands/GrantPermissionsCommand.ts +0 -95
  169. package/commands/ListLFTagsCommand.ts +0 -94
  170. package/commands/ListPermissionsCommand.ts +0 -96
  171. package/commands/ListResourcesCommand.ts +0 -94
  172. package/commands/PutDataLakeSettingsCommand.ts +0 -96
  173. package/commands/RegisterResourceCommand.ts +0 -109
  174. package/commands/RemoveLFTagsFromResourceCommand.ts +0 -94
  175. package/commands/RevokePermissionsCommand.ts +0 -94
  176. package/commands/SearchDatabasesByLFTagsCommand.ts +0 -94
  177. package/commands/SearchTablesByLFTagsCommand.ts +0 -94
  178. package/commands/UpdateLFTagCommand.ts +0 -94
  179. package/commands/UpdateResourceCommand.ts +0 -94
  180. package/dist/cjs/LakeFormation.js.map +0 -1
  181. package/dist/cjs/LakeFormationClient.js.map +0 -1
  182. package/dist/cjs/commands/AddLFTagsToResourceCommand.js.map +0 -1
  183. package/dist/cjs/commands/BatchGrantPermissionsCommand.js.map +0 -1
  184. package/dist/cjs/commands/BatchRevokePermissionsCommand.js.map +0 -1
  185. package/dist/cjs/commands/CreateLFTagCommand.js.map +0 -1
  186. package/dist/cjs/commands/DeleteLFTagCommand.js.map +0 -1
  187. package/dist/cjs/commands/DeregisterResourceCommand.js.map +0 -1
  188. package/dist/cjs/commands/DescribeResourceCommand.js.map +0 -1
  189. package/dist/cjs/commands/GetDataLakeSettingsCommand.js.map +0 -1
  190. package/dist/cjs/commands/GetEffectivePermissionsForPathCommand.js.map +0 -1
  191. package/dist/cjs/commands/GetLFTagCommand.js.map +0 -1
  192. package/dist/cjs/commands/GetResourceLFTagsCommand.js.map +0 -1
  193. package/dist/cjs/commands/GrantPermissionsCommand.js.map +0 -1
  194. package/dist/cjs/commands/ListLFTagsCommand.js.map +0 -1
  195. package/dist/cjs/commands/ListPermissionsCommand.js.map +0 -1
  196. package/dist/cjs/commands/ListResourcesCommand.js.map +0 -1
  197. package/dist/cjs/commands/PutDataLakeSettingsCommand.js.map +0 -1
  198. package/dist/cjs/commands/RegisterResourceCommand.js +0 -76
  199. package/dist/cjs/commands/RegisterResourceCommand.js.map +0 -1
  200. package/dist/cjs/commands/RemoveLFTagsFromResourceCommand.js.map +0 -1
  201. package/dist/cjs/commands/RevokePermissionsCommand.js.map +0 -1
  202. package/dist/cjs/commands/SearchDatabasesByLFTagsCommand.js.map +0 -1
  203. package/dist/cjs/commands/SearchTablesByLFTagsCommand.js.map +0 -1
  204. package/dist/cjs/commands/UpdateLFTagCommand.js.map +0 -1
  205. package/dist/cjs/commands/UpdateResourceCommand.js.map +0 -1
  206. package/dist/cjs/endpoints.js.map +0 -1
  207. package/dist/cjs/index.js.map +0 -1
  208. package/dist/cjs/models/index.js.map +0 -1
  209. package/dist/cjs/models/models_0.js.map +0 -1
  210. package/dist/cjs/package.json +0 -91
  211. package/dist/cjs/pagination/GetEffectivePermissionsForPathPaginator.js.map +0 -1
  212. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  213. package/dist/cjs/pagination/ListPermissionsPaginator.js.map +0 -1
  214. package/dist/cjs/pagination/ListResourcesPaginator.js.map +0 -1
  215. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  216. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  217. package/dist/cjs/runtimeConfig.js.map +0 -1
  218. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  219. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  220. package/dist/es/LakeFormation.js.map +0 -1
  221. package/dist/es/LakeFormationClient.js.map +0 -1
  222. package/dist/es/commands/AddLFTagsToResourceCommand.js.map +0 -1
  223. package/dist/es/commands/BatchGrantPermissionsCommand.js.map +0 -1
  224. package/dist/es/commands/BatchRevokePermissionsCommand.js.map +0 -1
  225. package/dist/es/commands/CreateLFTagCommand.js.map +0 -1
  226. package/dist/es/commands/DeleteLFTagCommand.js.map +0 -1
  227. package/dist/es/commands/DeregisterResourceCommand.js.map +0 -1
  228. package/dist/es/commands/DescribeResourceCommand.js.map +0 -1
  229. package/dist/es/commands/GetDataLakeSettingsCommand.js.map +0 -1
  230. package/dist/es/commands/GetEffectivePermissionsForPathCommand.js.map +0 -1
  231. package/dist/es/commands/GetLFTagCommand.js.map +0 -1
  232. package/dist/es/commands/GetResourceLFTagsCommand.js.map +0 -1
  233. package/dist/es/commands/GrantPermissionsCommand.js.map +0 -1
  234. package/dist/es/commands/ListLFTagsCommand.js.map +0 -1
  235. package/dist/es/commands/ListPermissionsCommand.js.map +0 -1
  236. package/dist/es/commands/ListResourcesCommand.js.map +0 -1
  237. package/dist/es/commands/PutDataLakeSettingsCommand.js.map +0 -1
  238. package/dist/es/commands/RegisterResourceCommand.js.map +0 -1
  239. package/dist/es/commands/RemoveLFTagsFromResourceCommand.js.map +0 -1
  240. package/dist/es/commands/RevokePermissionsCommand.js.map +0 -1
  241. package/dist/es/commands/SearchDatabasesByLFTagsCommand.js.map +0 -1
  242. package/dist/es/commands/SearchTablesByLFTagsCommand.js.map +0 -1
  243. package/dist/es/commands/UpdateLFTagCommand.js.map +0 -1
  244. package/dist/es/commands/UpdateResourceCommand.js.map +0 -1
  245. package/dist/es/endpoints.js.map +0 -1
  246. package/dist/es/index.js +0 -31
  247. package/dist/es/index.js.map +0 -1
  248. package/dist/es/models/index.js +0 -2
  249. package/dist/es/models/index.js.map +0 -1
  250. package/dist/es/models/models_0.js.map +0 -1
  251. package/dist/es/package.json +0 -91
  252. package/dist/es/pagination/GetEffectivePermissionsForPathPaginator.js.map +0 -1
  253. package/dist/es/pagination/Interfaces.js +0 -2
  254. package/dist/es/pagination/Interfaces.js.map +0 -1
  255. package/dist/es/pagination/ListPermissionsPaginator.js.map +0 -1
  256. package/dist/es/pagination/ListResourcesPaginator.js.map +0 -1
  257. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  258. package/dist/es/runtimeConfig.browser.js.map +0 -1
  259. package/dist/es/runtimeConfig.js.map +0 -1
  260. package/dist/es/runtimeConfig.native.js.map +0 -1
  261. package/dist/es/runtimeConfig.shared.js.map +0 -1
  262. package/dist/types/ts3.4/commands/CreateLFTagCommand.d.ts +0 -35
  263. package/dist/types/ts3.4/commands/DeleteLFTagCommand.d.ts +0 -35
  264. package/dist/types/ts3.4/commands/DeregisterResourceCommand.d.ts +0 -37
  265. package/dist/types/ts3.4/commands/DescribeResourceCommand.d.ts +0 -35
  266. package/dist/types/ts3.4/commands/GetDataLakeSettingsCommand.d.ts +0 -35
  267. package/dist/types/ts3.4/commands/GetEffectivePermissionsForPathCommand.d.ts +0 -36
  268. package/dist/types/ts3.4/commands/GetLFTagCommand.d.ts +0 -35
  269. package/dist/types/ts3.4/commands/GrantPermissionsCommand.d.ts +0 -36
  270. package/dist/types/ts3.4/commands/ListLFTagsCommand.d.ts +0 -35
  271. package/dist/types/ts3.4/commands/ListPermissionsCommand.d.ts +0 -37
  272. package/dist/types/ts3.4/commands/ListResourcesCommand.d.ts +0 -35
  273. package/dist/types/ts3.4/commands/PutDataLakeSettingsCommand.d.ts +0 -37
  274. package/dist/types/ts3.4/commands/RegisterResourceCommand.d.ts +0 -50
  275. package/dist/types/ts3.4/commands/RemoveLFTagsFromResourceCommand.d.ts +0 -35
  276. package/dist/types/ts3.4/commands/RevokePermissionsCommand.d.ts +0 -35
  277. package/dist/types/ts3.4/commands/SearchDatabasesByLFTagsCommand.d.ts +0 -35
  278. package/dist/types/ts3.4/commands/SearchTablesByLFTagsCommand.d.ts +0 -35
  279. package/dist/types/ts3.4/commands/UpdateLFTagCommand.d.ts +0 -35
  280. package/dist/types/ts3.4/commands/UpdateResourceCommand.d.ts +0 -35
  281. package/dist/types/ts3.4/models/models_0.d.ts +0 -1525
  282. package/endpoints.ts +0 -82
  283. package/jest.config.js +0 -4
  284. package/models/models_0.ts +0 -1946
  285. package/pagination/GetEffectivePermissionsForPathPaginator.ts +0 -58
  286. package/pagination/Interfaces.ts +0 -7
  287. package/pagination/ListPermissionsPaginator.ts +0 -58
  288. package/pagination/ListResourcesPaginator.ts +0 -58
  289. package/protocols/Aws_json1_1.ts +0 -3905
  290. package/runtimeConfig.browser.ts +0 -40
  291. package/runtimeConfig.native.ts +0 -16
  292. package/runtimeConfig.shared.ts +0 -16
  293. package/runtimeConfig.ts +0 -45
  294. package/tsconfig.es.json +0 -10
  295. package/tsconfig.json +0 -31
  296. package/tsconfig.types.json +0 -8
@@ -1,94 +0,0 @@
1
- import { LakeFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LakeFormationClient";
2
- import { CreateLFTagRequest, CreateLFTagResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateLFTagCommand,
5
- serializeAws_json1_1CreateLFTagCommand,
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 CreateLFTagCommandInput extends CreateLFTagRequest {}
21
- export interface CreateLFTagCommandOutput extends CreateLFTagResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates a tag with the specified name and values.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { LakeFormationClient, CreateLFTagCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
29
- * // const { LakeFormationClient, CreateLFTagCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
30
- * const client = new LakeFormationClient(config);
31
- * const command = new CreateLFTagCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link CreateLFTagCommandInput} for command's `input` shape.
36
- * @see {@link CreateLFTagCommandOutput} for command's `response` shape.
37
- * @see {@link LakeFormationClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class CreateLFTagCommand extends $Command<
41
- CreateLFTagCommandInput,
42
- CreateLFTagCommandOutput,
43
- LakeFormationClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: CreateLFTagCommandInput) {
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: LakeFormationClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<CreateLFTagCommandInput, CreateLFTagCommandOutput> {
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 = "LakeFormationClient";
68
- const commandName = "CreateLFTagCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: CreateLFTagRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: CreateLFTagResponse.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: CreateLFTagCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1CreateLFTagCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateLFTagCommandOutput> {
89
- return deserializeAws_json1_1CreateLFTagCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { LakeFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LakeFormationClient";
2
- import { DeleteLFTagRequest, DeleteLFTagResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DeleteLFTagCommand,
5
- serializeAws_json1_1DeleteLFTagCommand,
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 DeleteLFTagCommandInput extends DeleteLFTagRequest {}
21
- export interface DeleteLFTagCommandOutput extends DeleteLFTagResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes the specified tag key name. If the attribute key does not exist or the tag does not exist, then the operation will not do anything. If the attribute key exists, then the operation checks if any resources are tagged with this attribute key, if yes, the API throws a 400 Exception with the message "Delete not allowed" as the tag key is still attached with resources. You can consider untagging resources with this tag key.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { LakeFormationClient, DeleteLFTagCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
29
- * // const { LakeFormationClient, DeleteLFTagCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
30
- * const client = new LakeFormationClient(config);
31
- * const command = new DeleteLFTagCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DeleteLFTagCommandInput} for command's `input` shape.
36
- * @see {@link DeleteLFTagCommandOutput} for command's `response` shape.
37
- * @see {@link LakeFormationClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DeleteLFTagCommand extends $Command<
41
- DeleteLFTagCommandInput,
42
- DeleteLFTagCommandOutput,
43
- LakeFormationClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DeleteLFTagCommandInput) {
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: LakeFormationClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<DeleteLFTagCommandInput, DeleteLFTagCommandOutput> {
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 = "LakeFormationClient";
68
- const commandName = "DeleteLFTagCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DeleteLFTagRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: DeleteLFTagResponse.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: DeleteLFTagCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1DeleteLFTagCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteLFTagCommandOutput> {
89
- return deserializeAws_json1_1DeleteLFTagCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,96 +0,0 @@
1
- import { LakeFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LakeFormationClient";
2
- import { DeregisterResourceRequest, DeregisterResourceResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DeregisterResourceCommand,
5
- serializeAws_json1_1DeregisterResourceCommand,
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 DeregisterResourceCommandInput extends DeregisterResourceRequest {}
21
- export interface DeregisterResourceCommandOutput extends DeregisterResourceResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deregisters the resource as managed by the Data Catalog.</p>
25
- *
26
- * <p>When you deregister a path, Lake Formation removes the path from the inline policy attached to your service-linked role.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { LakeFormationClient, DeregisterResourceCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
31
- * // const { LakeFormationClient, DeregisterResourceCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
32
- * const client = new LakeFormationClient(config);
33
- * const command = new DeregisterResourceCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link DeregisterResourceCommandInput} for command's `input` shape.
38
- * @see {@link DeregisterResourceCommandOutput} for command's `response` shape.
39
- * @see {@link LakeFormationClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class DeregisterResourceCommand extends $Command<
43
- DeregisterResourceCommandInput,
44
- DeregisterResourceCommandOutput,
45
- LakeFormationClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: DeregisterResourceCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: LakeFormationClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<DeregisterResourceCommandInput, DeregisterResourceCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "LakeFormationClient";
70
- const commandName = "DeregisterResourceCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: DeregisterResourceRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: DeregisterResourceResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: DeregisterResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1DeregisterResourceCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeregisterResourceCommandOutput> {
91
- return deserializeAws_json1_1DeregisterResourceCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,94 +0,0 @@
1
- import { LakeFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LakeFormationClient";
2
- import { DescribeResourceRequest, DescribeResourceResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DescribeResourceCommand,
5
- serializeAws_json1_1DescribeResourceCommand,
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 DescribeResourceCommandInput extends DescribeResourceRequest {}
21
- export interface DescribeResourceCommandOutput extends DescribeResourceResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Retrieves the current data access role for the given resource registered in AWS Lake Formation.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { LakeFormationClient, DescribeResourceCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
29
- * // const { LakeFormationClient, DescribeResourceCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
30
- * const client = new LakeFormationClient(config);
31
- * const command = new DescribeResourceCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DescribeResourceCommandInput} for command's `input` shape.
36
- * @see {@link DescribeResourceCommandOutput} for command's `response` shape.
37
- * @see {@link LakeFormationClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DescribeResourceCommand extends $Command<
41
- DescribeResourceCommandInput,
42
- DescribeResourceCommandOutput,
43
- LakeFormationClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DescribeResourceCommandInput) {
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: LakeFormationClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<DescribeResourceCommandInput, DescribeResourceCommandOutput> {
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 = "LakeFormationClient";
68
- const commandName = "DescribeResourceCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DescribeResourceRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: DescribeResourceResponse.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: DescribeResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1DescribeResourceCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeResourceCommandOutput> {
89
- return deserializeAws_json1_1DescribeResourceCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { LakeFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LakeFormationClient";
2
- import { GetDataLakeSettingsRequest, GetDataLakeSettingsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1GetDataLakeSettingsCommand,
5
- serializeAws_json1_1GetDataLakeSettingsCommand,
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 GetDataLakeSettingsCommandInput extends GetDataLakeSettingsRequest {}
21
- export interface GetDataLakeSettingsCommandOutput extends GetDataLakeSettingsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Retrieves the list of the data lake administrators of a Lake Formation-managed data lake. </p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { LakeFormationClient, GetDataLakeSettingsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
29
- * // const { LakeFormationClient, GetDataLakeSettingsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
30
- * const client = new LakeFormationClient(config);
31
- * const command = new GetDataLakeSettingsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link GetDataLakeSettingsCommandInput} for command's `input` shape.
36
- * @see {@link GetDataLakeSettingsCommandOutput} for command's `response` shape.
37
- * @see {@link LakeFormationClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class GetDataLakeSettingsCommand extends $Command<
41
- GetDataLakeSettingsCommandInput,
42
- GetDataLakeSettingsCommandOutput,
43
- LakeFormationClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: GetDataLakeSettingsCommandInput) {
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: LakeFormationClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<GetDataLakeSettingsCommandInput, GetDataLakeSettingsCommandOutput> {
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 = "LakeFormationClient";
68
- const commandName = "GetDataLakeSettingsCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: GetDataLakeSettingsRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: GetDataLakeSettingsResponse.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: GetDataLakeSettingsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1GetDataLakeSettingsCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetDataLakeSettingsCommandOutput> {
89
- return deserializeAws_json1_1GetDataLakeSettingsCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,103 +0,0 @@
1
- import { LakeFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LakeFormationClient";
2
- import { GetEffectivePermissionsForPathRequest, GetEffectivePermissionsForPathResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1GetEffectivePermissionsForPathCommand,
5
- serializeAws_json1_1GetEffectivePermissionsForPathCommand,
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 GetEffectivePermissionsForPathCommandInput extends GetEffectivePermissionsForPathRequest {}
21
- export interface GetEffectivePermissionsForPathCommandOutput
22
- extends GetEffectivePermissionsForPathResponse,
23
- __MetadataBearer {}
24
-
25
- /**
26
- * <p>Returns the Lake Formation permissions for a specified table or database resource located
27
- * at a path in Amazon S3. <code>GetEffectivePermissionsForPath</code> will not return databases and tables if the catalog is encrypted.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { LakeFormationClient, GetEffectivePermissionsForPathCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
32
- * // const { LakeFormationClient, GetEffectivePermissionsForPathCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
33
- * const client = new LakeFormationClient(config);
34
- * const command = new GetEffectivePermissionsForPathCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link GetEffectivePermissionsForPathCommandInput} for command's `input` shape.
39
- * @see {@link GetEffectivePermissionsForPathCommandOutput} for command's `response` shape.
40
- * @see {@link LakeFormationClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class GetEffectivePermissionsForPathCommand extends $Command<
44
- GetEffectivePermissionsForPathCommandInput,
45
- GetEffectivePermissionsForPathCommandOutput,
46
- LakeFormationClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: GetEffectivePermissionsForPathCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: LakeFormationClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<GetEffectivePermissionsForPathCommandInput, GetEffectivePermissionsForPathCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "LakeFormationClient";
71
- const commandName = "GetEffectivePermissionsForPathCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: GetEffectivePermissionsForPathRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: GetEffectivePermissionsForPathResponse.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(
88
- input: GetEffectivePermissionsForPathCommandInput,
89
- context: __SerdeContext
90
- ): Promise<__HttpRequest> {
91
- return serializeAws_json1_1GetEffectivePermissionsForPathCommand(input, context);
92
- }
93
-
94
- private deserialize(
95
- output: __HttpResponse,
96
- context: __SerdeContext
97
- ): Promise<GetEffectivePermissionsForPathCommandOutput> {
98
- return deserializeAws_json1_1GetEffectivePermissionsForPathCommand(output, context);
99
- }
100
-
101
- // Start section: command_body_extra
102
- // End section: command_body_extra
103
- }
@@ -1,91 +0,0 @@
1
- import { LakeFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LakeFormationClient";
2
- import { GetLFTagRequest, GetLFTagResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1GetLFTagCommand, serializeAws_json1_1GetLFTagCommand } from "../protocols/Aws_json1_1";
4
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
6
- import { Command as $Command } from "@aws-sdk/smithy-client";
7
- import {
8
- FinalizeHandlerArguments,
9
- Handler,
10
- HandlerExecutionContext,
11
- MiddlewareStack,
12
- HttpHandlerOptions as __HttpHandlerOptions,
13
- MetadataBearer as __MetadataBearer,
14
- SerdeContext as __SerdeContext,
15
- } from "@aws-sdk/types";
16
-
17
- export interface GetLFTagCommandInput extends GetLFTagRequest {}
18
- export interface GetLFTagCommandOutput extends GetLFTagResponse, __MetadataBearer {}
19
-
20
- /**
21
- * <p>Returns a tag definition.</p>
22
- * @example
23
- * Use a bare-bones client and the command you need to make an API call.
24
- * ```javascript
25
- * import { LakeFormationClient, GetLFTagCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
26
- * // const { LakeFormationClient, GetLFTagCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
27
- * const client = new LakeFormationClient(config);
28
- * const command = new GetLFTagCommand(input);
29
- * const response = await client.send(command);
30
- * ```
31
- *
32
- * @see {@link GetLFTagCommandInput} for command's `input` shape.
33
- * @see {@link GetLFTagCommandOutput} for command's `response` shape.
34
- * @see {@link LakeFormationClientResolvedConfig | config} for command's `input` shape.
35
- *
36
- */
37
- export class GetLFTagCommand extends $Command<
38
- GetLFTagCommandInput,
39
- GetLFTagCommandOutput,
40
- LakeFormationClientResolvedConfig
41
- > {
42
- // Start section: command_properties
43
- // End section: command_properties
44
-
45
- constructor(readonly input: GetLFTagCommandInput) {
46
- // Start section: command_constructor
47
- super();
48
- // End section: command_constructor
49
- }
50
-
51
- /**
52
- * @internal
53
- */
54
- resolveMiddleware(
55
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
56
- configuration: LakeFormationClientResolvedConfig,
57
- options?: __HttpHandlerOptions
58
- ): Handler<GetLFTagCommandInput, GetLFTagCommandOutput> {
59
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
60
-
61
- const stack = clientStack.concat(this.middlewareStack);
62
-
63
- const { logger } = configuration;
64
- const clientName = "LakeFormationClient";
65
- const commandName = "GetLFTagCommand";
66
- const handlerExecutionContext: HandlerExecutionContext = {
67
- logger,
68
- clientName,
69
- commandName,
70
- inputFilterSensitiveLog: GetLFTagRequest.filterSensitiveLog,
71
- outputFilterSensitiveLog: GetLFTagResponse.filterSensitiveLog,
72
- };
73
- const { requestHandler } = configuration;
74
- return stack.resolve(
75
- (request: FinalizeHandlerArguments<any>) =>
76
- requestHandler.handle(request.request as __HttpRequest, options || {}),
77
- handlerExecutionContext
78
- );
79
- }
80
-
81
- private serialize(input: GetLFTagCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
82
- return serializeAws_json1_1GetLFTagCommand(input, context);
83
- }
84
-
85
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetLFTagCommandOutput> {
86
- return deserializeAws_json1_1GetLFTagCommand(output, context);
87
- }
88
-
89
- // Start section: command_body_extra
90
- // End section: command_body_extra
91
- }