Batch operation to grant permissions to the principal.
Use a bare-bones client and the command you need to make an API call.
import { LakeFormationClient, BatchGrantPermissionsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import // const { LakeFormationClient, BatchGrantPermissionsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import const client = new LakeFormationClient(config); const command = new BatchGrantPermissionsCommand(input); const response = await client.send(command);
BatchGrantPermissionsCommandInput for command's input shape.
input
BatchGrantPermissionsCommandOutput for command's response shape.
response
config for LakeFormationClient's config shape.
config
Batch operation to grant permissions to the principal.
Use a bare-bones client and the command you need to make an API call.
import { LakeFormationClient, BatchGrantPermissionsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import // const { LakeFormationClient, BatchGrantPermissionsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import const client = new LakeFormationClient(config); const command = new BatchGrantPermissionsCommand(input); const response = await client.send(command);
BatchGrantPermissionsCommandInput for command's
input
shape.BatchGrantPermissionsCommandOutput for command's
response
shape.config for LakeFormationClient's
config
shape.