Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class DeregisterResourceCommandProtected

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.

import { LakeFormationClient, DeregisterResourceCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
// const { LakeFormationClient, DeregisterResourceCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
const client = new LakeFormationClient(config);
const input = { // DeregisterResourceRequest
ResourceArn: "STRING_VALUE", // required
};
const command = new DeregisterResourceCommand(input);
const response = await client.send(command);
// {};

Param

DeregisterResourceCommandInput

Returns

DeregisterResourceCommandOutput

See

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.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods