We are excited to announce our new API Documentation.
Protected
Deregisters the resource as managed by the Data Catalog.
When you deregister a path, Lake Formation removes the path from the inline policy attached to your service-linked role.
Use a bare-bones client and the command you need to make an API call.
import { LakeFormationClient, DeregisterResourceCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import// const { LakeFormationClient, DeregisterResourceCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS importconst client = new LakeFormationClient(config);const input = { // DeregisterResourceRequest ResourceArn: "STRING_VALUE", // required};const command = new DeregisterResourceCommand(input);const response = await client.send(command);// {};
DeregisterResourceCommandInput
DeregisterResourceCommandOutput
input
response
config
EntityNotFoundException (client fault)
A specified entity does not exist.
InternalServiceException (server fault)
An internal service error occurred.
InvalidInputException (client fault)
The input provided was not valid.
OperationTimeoutException (client fault)
The operation timed out.
LakeFormationServiceException
Base exception class for all service exceptions from LakeFormation service.
Readonly
Static
Deregisters the resource as managed by the Data Catalog.
When you deregister a path, Lake Formation removes the path from the inline policy attached to your service-linked role.
Example
Use a bare-bones client and the command you need to make an API call.
Param
DeregisterResourceCommandInput
Returns
DeregisterResourceCommandOutput
See
input
shape.response
shape.config
shape.Throws
EntityNotFoundException (client fault)
A specified entity does not exist.
Throws
InternalServiceException (server fault)
An internal service error occurred.
Throws
InvalidInputException (client fault)
The input provided was not valid.
Throws
OperationTimeoutException (client fault)
The operation timed out.
Throws
LakeFormationServiceException
Base exception class for all service exceptions from LakeFormation service.