import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateRecommenderSchemaRequest, CreateRecommenderSchemaResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateRecommenderSchemaCommand}. */ export interface CreateRecommenderSchemaCommandInput extends CreateRecommenderSchemaRequest { } /** * @public * * The output of {@link CreateRecommenderSchemaCommand}. */ export interface CreateRecommenderSchemaCommandOutput extends CreateRecommenderSchemaResponse, __MetadataBearer { } declare const CreateRecommenderSchemaCommand_base: { new (input: CreateRecommenderSchemaCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateRecommenderSchemaCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a recommender schema. A recommender schema defines the set of data columns available for training recommenders and filters under a domain.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CustomerProfilesClient, CreateRecommenderSchemaCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import * // const { CustomerProfilesClient, CreateRecommenderSchemaCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import * // import type { CustomerProfilesClientConfig } from "@aws-sdk/client-customer-profiles"; * const config = {}; // type is CustomerProfilesClientConfig * const client = new CustomerProfilesClient(config); * const input = { // CreateRecommenderSchemaRequest * DomainName: "STRING_VALUE", // required * RecommenderSchemaName: "STRING_VALUE", // required * Fields: { // RecommenderSchemaFields // required * "": [ // RecommenderSchemaFieldList * { // RecommenderSchemaField * TargetFieldName: "STRING_VALUE", // required * ContentType: "STRING" || "NUMBER", * FeatureType: "TEXTUAL" || "CATEGORICAL", * }, * ], * }, * Tags: { // TagMap * "": "STRING_VALUE", * }, * }; * const command = new CreateRecommenderSchemaCommand(input); * const response = await client.send(command); * // { // CreateRecommenderSchemaResponse * // RecommenderSchemaArn: "STRING_VALUE", // required * // RecommenderSchemaName: "STRING_VALUE", // required * // Fields: { // RecommenderSchemaFields // required * // "": [ // RecommenderSchemaFieldList * // { // RecommenderSchemaField * // TargetFieldName: "STRING_VALUE", // required * // ContentType: "STRING" || "NUMBER", * // FeatureType: "TEXTUAL" || "CATEGORICAL", * // }, * // ], * // }, * // CreatedAt: new Date("TIMESTAMP"), // required * // Status: "ACTIVE" || "DELETING", // required * // Tags: { // TagMap * // "": "STRING_VALUE", * // }, * // }; * * ``` * * @param CreateRecommenderSchemaCommandInput - {@link CreateRecommenderSchemaCommandInput} * @returns {@link CreateRecommenderSchemaCommandOutput} * @see {@link CreateRecommenderSchemaCommandInput} for command's `input` shape. * @see {@link CreateRecommenderSchemaCommandOutput} for command's `response` shape. * @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

The input you provided is invalid.

* * @throws {@link InternalServerException} (server fault) *

An internal service error occurred.

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

The requested resource does not exist, or access was denied.

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

You exceeded the maximum number of requests.

* * @throws {@link CustomerProfilesServiceException} *

Base exception class for all service exceptions from CustomerProfiles service.

* * * @public */ export declare class CreateRecommenderSchemaCommand extends CreateRecommenderSchemaCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateRecommenderSchemaRequest; output: CreateRecommenderSchemaResponse; }; sdk: { input: CreateRecommenderSchemaCommandInput; output: CreateRecommenderSchemaCommandOutput; }; }; }