Skip to main content

@wildix/wda-insights-client > UpdateFilterCommand

UpdateFilterCommand class

Signature:

export declare class UpdateFilterCommand extends UpdateFilterCommand_base 

Extends: UpdateFilterCommand_base

Example

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

import { WdaInsightsClient, UpdateFilterCommand } from "@wildix/wda-insights-client"; // ES Modules import
// const { WdaInsightsClient, UpdateFilterCommand } = require("@wildix/wda-insights-client"); // CommonJS import
const client = new WdaInsightsClient(config);
const input = { // UpdateFilterInput
id: "STRING_VALUE", // required
name: "STRING_VALUE", // required
body: "STRING_VALUE", // required
};
const command = new UpdateFilterCommand(input);
const response = await client.send(command);
// { // UpdateFilterOutput
// item: { // ListFiltersItem
// id: "STRING_VALUE", // required
// name: "STRING_VALUE", // required
// body: "STRING_VALUE", // required
// createdAt: "STRING_VALUE", // required
// updatedAt: "STRING_VALUE", // required
// },
// };