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

Adds one or more items to an Items dataset. For more information see * Importing items individually. *

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { PersonalizeEventsClient, PutItemsCommand } from "@aws-sdk/client-personalize-events"; // ES Modules import * // const { PersonalizeEventsClient, PutItemsCommand } = 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 = { // PutItemsRequest * datasetArn: "STRING_VALUE", // required * items: [ // ItemList // required * { // Item * itemId: "STRING_VALUE", // required * properties: "STRING_VALUE", * }, * ], * }; * const command = new PutItemsCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param PutItemsCommandInput - {@link PutItemsCommandInput} * @returns {@link PutItemsCommandOutput} * @see {@link PutItemsCommandInput} for command's `input` shape. * @see {@link PutItemsCommandOutput} 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 PutItemsCommand extends PutItemsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: PutItemsRequest; output: {}; }; sdk: { input: PutItemsCommandInput; output: PutItemsCommandOutput; }; }; }