We are excited to announce our new API Documentation.
Protected
Creates an LF-tag with the specified name and values.
Use a bare-bones client and the command you need to make an API call.
import { LakeFormationClient, CreateLFTagCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import// const { LakeFormationClient, CreateLFTagCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS importconst client = new LakeFormationClient(config);const input = { // CreateLFTagRequest CatalogId: "STRING_VALUE", TagKey: "STRING_VALUE", // required TagValues: [ // TagValueList // required "STRING_VALUE", ],};const command = new CreateLFTagCommand(input);const response = await client.send(command);// {};
CreateLFTagCommandInput
CreateLFTagCommandOutput
input
response
config
AccessDeniedException (client fault)
Access to a resource was denied.
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.
ResourceNumberLimitExceededException (client fault)
A resource numerical limit was exceeded.
LakeFormationServiceException
Base exception class for all service exceptions from LakeFormation service.
Readonly
Static
Creates an LF-tag with the specified name and values.
Example
Use a bare-bones client and the command you need to make an API call.
Param
CreateLFTagCommandInput
Returns
CreateLFTagCommandOutput
See
input
shape.response
shape.config
shape.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
ResourceNumberLimitExceededException (client fault)
A resource numerical limit was exceeded.
Throws
LakeFormationServiceException
Base exception class for all service exceptions from LakeFormation service.