@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 { GetResourceLFTagsRequest, GetResourceLFTagsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1GetResourceLFTagsCommand,
5
- serializeAws_json1_1GetResourceLFTagsCommand,
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 GetResourceLFTagsCommandInput extends GetResourceLFTagsRequest {}
21
- export interface GetResourceLFTagsCommandOutput extends GetResourceLFTagsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Returns the tags applied to a resource.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { LakeFormationClient, GetResourceLFTagsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
29
- * // const { LakeFormationClient, GetResourceLFTagsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
30
- * const client = new LakeFormationClient(config);
31
- * const command = new GetResourceLFTagsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link GetResourceLFTagsCommandInput} for command's `input` shape.
36
- * @see {@link GetResourceLFTagsCommandOutput} for command's `response` shape.
37
- * @see {@link LakeFormationClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class GetResourceLFTagsCommand extends $Command<
41
- GetResourceLFTagsCommandInput,
42
- GetResourceLFTagsCommandOutput,
43
- LakeFormationClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: GetResourceLFTagsCommandInput) {
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<GetResourceLFTagsCommandInput, GetResourceLFTagsCommandOutput> {
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 = "GetResourceLFTagsCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: GetResourceLFTagsRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: GetResourceLFTagsResponse.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: GetResourceLFTagsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1GetResourceLFTagsCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetResourceLFTagsCommandOutput> {
89
- return deserializeAws_json1_1GetResourceLFTagsCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,95 +0,0 @@
1
- import { LakeFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LakeFormationClient";
2
- import { GrantPermissionsRequest, GrantPermissionsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1GrantPermissionsCommand,
5
- serializeAws_json1_1GrantPermissionsCommand,
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 GrantPermissionsCommandInput extends GrantPermissionsRequest {}
21
- export interface GrantPermissionsCommandOutput extends GrantPermissionsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Grants permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3.</p>
25
- * <p>For information about permissions, see <a href="https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html">Security and Access Control to Metadata and Data</a>.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { LakeFormationClient, GrantPermissionsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
30
- * // const { LakeFormationClient, GrantPermissionsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
31
- * const client = new LakeFormationClient(config);
32
- * const command = new GrantPermissionsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link GrantPermissionsCommandInput} for command's `input` shape.
37
- * @see {@link GrantPermissionsCommandOutput} for command's `response` shape.
38
- * @see {@link LakeFormationClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class GrantPermissionsCommand extends $Command<
42
- GrantPermissionsCommandInput,
43
- GrantPermissionsCommandOutput,
44
- LakeFormationClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: GrantPermissionsCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: LakeFormationClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<GrantPermissionsCommandInput, GrantPermissionsCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "LakeFormationClient";
69
- const commandName = "GrantPermissionsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: GrantPermissionsRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: GrantPermissionsResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: GrantPermissionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1GrantPermissionsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GrantPermissionsCommandOutput> {
90
- return deserializeAws_json1_1GrantPermissionsCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,94 +0,0 @@
1
- import { LakeFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LakeFormationClient";
2
- import { ListLFTagsRequest, ListLFTagsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1ListLFTagsCommand,
5
- serializeAws_json1_1ListLFTagsCommand,
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 ListLFTagsCommandInput extends ListLFTagsRequest {}
21
- export interface ListLFTagsCommandOutput extends ListLFTagsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Lists tags that the requester has permission to view. </p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { LakeFormationClient, ListLFTagsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
29
- * // const { LakeFormationClient, ListLFTagsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
30
- * const client = new LakeFormationClient(config);
31
- * const command = new ListLFTagsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link ListLFTagsCommandInput} for command's `input` shape.
36
- * @see {@link ListLFTagsCommandOutput} for command's `response` shape.
37
- * @see {@link LakeFormationClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class ListLFTagsCommand extends $Command<
41
- ListLFTagsCommandInput,
42
- ListLFTagsCommandOutput,
43
- LakeFormationClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: ListLFTagsCommandInput) {
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<ListLFTagsCommandInput, ListLFTagsCommandOutput> {
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 = "ListLFTagsCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: ListLFTagsRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: ListLFTagsResponse.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: ListLFTagsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1ListLFTagsCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListLFTagsCommandOutput> {
89
- return deserializeAws_json1_1ListLFTagsCommand(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 { ListPermissionsRequest, ListPermissionsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1ListPermissionsCommand,
5
- serializeAws_json1_1ListPermissionsCommand,
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 ListPermissionsCommandInput extends ListPermissionsRequest {}
21
- export interface ListPermissionsCommandOutput extends ListPermissionsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Returns a list of the principal permissions on the resource, filtered by the permissions of the caller. For example, if you are granted an ALTER permission, you are able to see only the principal permissions for ALTER.</p>
25
- * <p>This operation returns only those permissions that have been explicitly granted.</p>
26
- * <p>For information about permissions, see <a href="https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html">Security and Access Control to Metadata and Data</a>.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { LakeFormationClient, ListPermissionsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
31
- * // const { LakeFormationClient, ListPermissionsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
32
- * const client = new LakeFormationClient(config);
33
- * const command = new ListPermissionsCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link ListPermissionsCommandInput} for command's `input` shape.
38
- * @see {@link ListPermissionsCommandOutput} for command's `response` shape.
39
- * @see {@link LakeFormationClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class ListPermissionsCommand extends $Command<
43
- ListPermissionsCommandInput,
44
- ListPermissionsCommandOutput,
45
- LakeFormationClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: ListPermissionsCommandInput) {
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<ListPermissionsCommandInput, ListPermissionsCommandOutput> {
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 = "ListPermissionsCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: ListPermissionsRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: ListPermissionsResponse.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: ListPermissionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1ListPermissionsCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListPermissionsCommandOutput> {
91
- return deserializeAws_json1_1ListPermissionsCommand(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 { ListResourcesRequest, ListResourcesResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1ListResourcesCommand,
5
- serializeAws_json1_1ListResourcesCommand,
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 ListResourcesCommandInput extends ListResourcesRequest {}
21
- export interface ListResourcesCommandOutput extends ListResourcesResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Lists the resources registered to be managed by the Data Catalog.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { LakeFormationClient, ListResourcesCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
29
- * // const { LakeFormationClient, ListResourcesCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
30
- * const client = new LakeFormationClient(config);
31
- * const command = new ListResourcesCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link ListResourcesCommandInput} for command's `input` shape.
36
- * @see {@link ListResourcesCommandOutput} for command's `response` shape.
37
- * @see {@link LakeFormationClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class ListResourcesCommand extends $Command<
41
- ListResourcesCommandInput,
42
- ListResourcesCommandOutput,
43
- LakeFormationClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: ListResourcesCommandInput) {
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<ListResourcesCommandInput, ListResourcesCommandOutput> {
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 = "ListResourcesCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: ListResourcesRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: ListResourcesResponse.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: ListResourcesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1ListResourcesCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListResourcesCommandOutput> {
89
- return deserializeAws_json1_1ListResourcesCommand(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 { PutDataLakeSettingsRequest, PutDataLakeSettingsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1PutDataLakeSettingsCommand,
5
- serializeAws_json1_1PutDataLakeSettingsCommand,
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 PutDataLakeSettingsCommandInput extends PutDataLakeSettingsRequest {}
21
- export interface PutDataLakeSettingsCommandOutput extends PutDataLakeSettingsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Sets the list of data lake administrators who have admin privileges on all resources managed by Lake Formation. For more information on admin privileges, see <a href="https://docs.aws.amazon.com/lake-formation/latest/dg/lake-formation-permissions.html">Granting Lake Formation Permissions</a>.</p>
25
- *
26
- * <p>This API replaces the current list of data lake admins with the new list being passed. To add an admin, fetch the current list and add the new admin to that list and pass that list in this API.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { LakeFormationClient, PutDataLakeSettingsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
31
- * // const { LakeFormationClient, PutDataLakeSettingsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
32
- * const client = new LakeFormationClient(config);
33
- * const command = new PutDataLakeSettingsCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link PutDataLakeSettingsCommandInput} for command's `input` shape.
38
- * @see {@link PutDataLakeSettingsCommandOutput} for command's `response` shape.
39
- * @see {@link LakeFormationClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class PutDataLakeSettingsCommand extends $Command<
43
- PutDataLakeSettingsCommandInput,
44
- PutDataLakeSettingsCommandOutput,
45
- LakeFormationClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: PutDataLakeSettingsCommandInput) {
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<PutDataLakeSettingsCommandInput, PutDataLakeSettingsCommandOutput> {
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 = "PutDataLakeSettingsCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: PutDataLakeSettingsRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: PutDataLakeSettingsResponse.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: PutDataLakeSettingsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1PutDataLakeSettingsCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutDataLakeSettingsCommandOutput> {
91
- return deserializeAws_json1_1PutDataLakeSettingsCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,109 +0,0 @@
1
- import { LakeFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LakeFormationClient";
2
- import { RegisterResourceRequest, RegisterResourceResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1RegisterResourceCommand,
5
- serializeAws_json1_1RegisterResourceCommand,
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 RegisterResourceCommandInput extends RegisterResourceRequest {}
21
- export interface RegisterResourceCommandOutput extends RegisterResourceResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Registers the resource as managed by the Data Catalog.</p>
25
- *
26
- * <p>To add or update data, Lake Formation needs read/write access to the chosen Amazon S3 path. Choose a role that you know has permission to do this, or choose the AWSServiceRoleForLakeFormationDataAccess service-linked role. When you register the first Amazon S3 path, the service-linked role and a new inline policy are created on your behalf. Lake Formation adds the first path to the inline policy and attaches it to the service-linked role. When you register subsequent paths, Lake Formation adds the path to the existing policy.</p>
27
- *
28
- * <p>The following request registers a new location and gives AWS Lake Formation permission to use the service-linked role to access that location.</p>
29
- *
30
- * <p>
31
- * <code>ResourceArn = arn:aws:s3:::my-bucket
32
- * UseServiceLinkedRole = true</code>
33
- * </p>
34
- *
35
- * <p>If <code>UseServiceLinkedRole</code> is not set to true, you must provide or set the <code>RoleArn</code>:</p>
36
- *
37
- * <p>
38
- * <code>arn:aws:iam::12345:role/my-data-access-role</code>
39
- * </p>
40
- * @example
41
- * Use a bare-bones client and the command you need to make an API call.
42
- * ```javascript
43
- * import { LakeFormationClient, RegisterResourceCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
44
- * // const { LakeFormationClient, RegisterResourceCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
45
- * const client = new LakeFormationClient(config);
46
- * const command = new RegisterResourceCommand(input);
47
- * const response = await client.send(command);
48
- * ```
49
- *
50
- * @see {@link RegisterResourceCommandInput} for command's `input` shape.
51
- * @see {@link RegisterResourceCommandOutput} for command's `response` shape.
52
- * @see {@link LakeFormationClientResolvedConfig | config} for command's `input` shape.
53
- *
54
- */
55
- export class RegisterResourceCommand extends $Command<
56
- RegisterResourceCommandInput,
57
- RegisterResourceCommandOutput,
58
- LakeFormationClientResolvedConfig
59
- > {
60
- // Start section: command_properties
61
- // End section: command_properties
62
-
63
- constructor(readonly input: RegisterResourceCommandInput) {
64
- // Start section: command_constructor
65
- super();
66
- // End section: command_constructor
67
- }
68
-
69
- /**
70
- * @internal
71
- */
72
- resolveMiddleware(
73
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
74
- configuration: LakeFormationClientResolvedConfig,
75
- options?: __HttpHandlerOptions
76
- ): Handler<RegisterResourceCommandInput, RegisterResourceCommandOutput> {
77
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
78
-
79
- const stack = clientStack.concat(this.middlewareStack);
80
-
81
- const { logger } = configuration;
82
- const clientName = "LakeFormationClient";
83
- const commandName = "RegisterResourceCommand";
84
- const handlerExecutionContext: HandlerExecutionContext = {
85
- logger,
86
- clientName,
87
- commandName,
88
- inputFilterSensitiveLog: RegisterResourceRequest.filterSensitiveLog,
89
- outputFilterSensitiveLog: RegisterResourceResponse.filterSensitiveLog,
90
- };
91
- const { requestHandler } = configuration;
92
- return stack.resolve(
93
- (request: FinalizeHandlerArguments<any>) =>
94
- requestHandler.handle(request.request as __HttpRequest, options || {}),
95
- handlerExecutionContext
96
- );
97
- }
98
-
99
- private serialize(input: RegisterResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
100
- return serializeAws_json1_1RegisterResourceCommand(input, context);
101
- }
102
-
103
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<RegisterResourceCommandOutput> {
104
- return deserializeAws_json1_1RegisterResourceCommand(output, context);
105
- }
106
-
107
- // Start section: command_body_extra
108
- // End section: command_body_extra
109
- }