Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class CreateLFTagCommandProtected

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.

import { LakeFormationClient, CreateLFTagCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
// const { LakeFormationClient, CreateLFTagCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
const 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);
// {};

Param

CreateLFTagCommandInput

Returns

CreateLFTagCommandOutput

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

ResourceNumberLimitExceededException (client fault)

A resource numerical limit was exceeded.

Throws

LakeFormationServiceException

Base exception class for all service exceptions from LakeFormation service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods