Retrieves the current data access role for the given resource registered in Lake Formation.
Use a bare-bones client and the command you need to make an API call.
import { LakeFormationClient, DescribeResourceCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import // const { LakeFormationClient, DescribeResourceCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import const client = new LakeFormationClient(config); const command = new DescribeResourceCommand(input); const response = await client.send(command);
DescribeResourceCommandInput for command's input shape.
input
DescribeResourceCommandOutput for command's response shape.
response
config for LakeFormationClient's config shape.
config
Retrieves the current data access role for the given resource registered in Lake Formation.
Use a bare-bones client and the command you need to make an API call.
import { LakeFormationClient, DescribeResourceCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import // const { LakeFormationClient, DescribeResourceCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import const client = new LakeFormationClient(config); const command = new DescribeResourceCommand(input); const response = await client.send(command);
DescribeResourceCommandInput for command's
input
shape.DescribeResourceCommandOutput for command's
response
shape.config for LakeFormationClient's
config
shape.