import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateBatchSegmentJobRequest, CreateBatchSegmentJobResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateBatchSegmentJobCommand}. */ export interface CreateBatchSegmentJobCommandInput extends CreateBatchSegmentJobRequest { } /** * @public * * The output of {@link CreateBatchSegmentJobCommand}. */ export interface CreateBatchSegmentJobCommandOutput extends CreateBatchSegmentJobResponse, __MetadataBearer { } declare const CreateBatchSegmentJobCommand_base: { new (input: CreateBatchSegmentJobCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateBatchSegmentJobCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a batch segment job. The operation can handle up to 50 million records and the * input file must be in JSON format. For more information, see * Getting batch recommendations and user segments.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { PersonalizeClient, CreateBatchSegmentJobCommand } from "@aws-sdk/client-personalize"; // ES Modules import * // const { PersonalizeClient, CreateBatchSegmentJobCommand } = require("@aws-sdk/client-personalize"); // CommonJS import * // import type { PersonalizeClientConfig } from "@aws-sdk/client-personalize"; * const config = {}; // type is PersonalizeClientConfig * const client = new PersonalizeClient(config); * const input = { // CreateBatchSegmentJobRequest * jobName: "STRING_VALUE", // required * solutionVersionArn: "STRING_VALUE", // required * filterArn: "STRING_VALUE", * numResults: Number("int"), * jobInput: { // BatchSegmentJobInput * s3DataSource: { // S3DataConfig * path: "STRING_VALUE", // required * kmsKeyArn: "STRING_VALUE", * }, * }, * jobOutput: { // BatchSegmentJobOutput * s3DataDestination: { * path: "STRING_VALUE", // required * kmsKeyArn: "STRING_VALUE", * }, * }, * roleArn: "STRING_VALUE", // required * tags: [ // Tags * { // Tag * tagKey: "STRING_VALUE", // required * tagValue: "STRING_VALUE", // required * }, * ], * }; * const command = new CreateBatchSegmentJobCommand(input); * const response = await client.send(command); * // { // CreateBatchSegmentJobResponse * // batchSegmentJobArn: "STRING_VALUE", * // }; * * ``` * * @param CreateBatchSegmentJobCommandInput - {@link CreateBatchSegmentJobCommandInput} * @returns {@link CreateBatchSegmentJobCommandOutput} * @see {@link CreateBatchSegmentJobCommandInput} for command's `input` shape. * @see {@link CreateBatchSegmentJobCommandOutput} for command's `response` shape. * @see {@link PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape. * * @throws {@link InvalidInputException} (client fault) *

Provide a valid value for the field or parameter.

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

The limit on the number of requests per second has been exceeded.

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

The specified resource already exists.

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

The specified resource is in use.

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

Could not find the specified resource.

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

You have exceeded the maximum number of tags you can apply to this resource.

* * @throws {@link PersonalizeServiceException} *

Base exception class for all service exceptions from Personalize service.

* * * @public */ export declare class CreateBatchSegmentJobCommand extends CreateBatchSegmentJobCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateBatchSegmentJobRequest; output: CreateBatchSegmentJobResponse; }; sdk: { input: CreateBatchSegmentJobCommandInput; output: CreateBatchSegmentJobCommandOutput; }; }; }