Skip to main content

@wildix/wda-insights-client > UpdateProjectionsCategoryCommand

UpdateProjectionsCategoryCommand class

Updates an existing projections category.

Signature:

export declare class UpdateProjectionsCategoryCommand extends UpdateProjectionsCategoryCommand_base 

Extends: UpdateProjectionsCategoryCommand_base

Example

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

import { WdaInsightsClient, UpdateProjectionsCategoryCommand } from "@wildix/wda-insights-client"; // ES Modules import
// const { WdaInsightsClient, UpdateProjectionsCategoryCommand } = require("@wildix/wda-insights-client"); // CommonJS import
const client = new WdaInsightsClient(config);
const input = { // UpdateProjectionsCategoryInput
company: "STRING_VALUE",
id: "STRING_VALUE", // required
name: "STRING_VALUE", // required
};
const command = new UpdateProjectionsCategoryCommand(input);
const response = await client.send(command);
// { // UpdateProjectionsCategoryOutput
// category: { // ProjectionsCategory
// id: "STRING_VALUE", // required
// name: "STRING_VALUE", // required
// },
// };