import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { PutActionsRequest } from "../models/models_0"; import type { PersonalizeEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeEventsClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link PutActionsCommand}. */ export interface PutActionsCommandInput extends PutActionsRequest { } /** * @public * * The output of {@link PutActionsCommand}. */ export interface PutActionsCommandOutput extends __MetadataBearer { } declare const PutActionsCommand_base: { new (input: PutActionsCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: PutActionsCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Adds one or more actions to an Actions dataset. For more information see * Importing actions individually. *

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { PersonalizeEventsClient, PutActionsCommand } from "@aws-sdk/client-personalize-events"; // ES Modules import * // const { PersonalizeEventsClient, PutActionsCommand } = require("@aws-sdk/client-personalize-events"); // CommonJS import * // import type { PersonalizeEventsClientConfig } from "@aws-sdk/client-personalize-events"; * const config = {}; // type is PersonalizeEventsClientConfig * const client = new PersonalizeEventsClient(config); * const input = { // PutActionsRequest * datasetArn: "STRING_VALUE", // required * actions: [ // ActionList // required * { // Action * actionId: "STRING_VALUE", // required * properties: "STRING_VALUE", * }, * ], * }; * const command = new PutActionsCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param PutActionsCommandInput - {@link PutActionsCommandInput} * @returns {@link PutActionsCommandOutput} * @see {@link PutActionsCommandInput} for command's `input` shape. * @see {@link PutActionsCommandOutput} for command's `response` shape. * @see {@link PersonalizeEventsClientResolvedConfig | config} for PersonalizeEventsClient's `config` shape. * * @throws {@link InvalidInputException} (client fault) *

Provide a valid value for the field or parameter.

* * @throws {@link ResourceInUseException} (client fault) *

The specified resource is in use.

* * @throws {@link ResourceNotFoundException} (client fault) *

Could not find the specified resource.

* * @throws {@link PersonalizeEventsServiceException} *

Base exception class for all service exceptions from PersonalizeEvents service.

* * * @public */ export declare class PutActionsCommand extends PutActionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: PutActionsRequest; output: {}; }; sdk: { input: PutActionsCommandInput; output: PutActionsCommandOutput; }; }; }