Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class GetLFTagCommandProtected

Returns an LF-tag definition.

Example

Use a bare-bones client and the command you need to make an API call.

import { LakeFormationClient, GetLFTagCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
// const { LakeFormationClient, GetLFTagCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
const client = new LakeFormationClient(config);
const input = { // GetLFTagRequest
CatalogId: "STRING_VALUE",
TagKey: "STRING_VALUE", // required
};
const command = new GetLFTagCommand(input);
const response = await client.send(command);
// { // GetLFTagResponse
// CatalogId: "STRING_VALUE",
// TagKey: "STRING_VALUE",
// TagValues: [ // TagValueList
// "STRING_VALUE",
// ],
// };

Param

GetLFTagCommandInput

Returns

GetLFTagCommandOutput

See

Throws

AccessDeniedException (client fault)

Access to a resource was denied.

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