import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { PutDomainObjectTypeRequest, PutDomainObjectTypeResponse } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link PutDomainObjectTypeCommand}. */ export interface PutDomainObjectTypeCommandInput extends PutDomainObjectTypeRequest { } /** * @public * * The output of {@link PutDomainObjectTypeCommand}. */ export interface PutDomainObjectTypeCommandOutput extends PutDomainObjectTypeResponse, __MetadataBearer { } declare const PutDomainObjectTypeCommand_base: { new (input: PutDomainObjectTypeCommandInput): import("@smithy/core/client").CommandImpl; new (input: PutDomainObjectTypeCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Create/Update a DomainObjectType in a Customer Profiles domain. To create a new DomainObjectType, Data Store needs to be enabled on the Domain.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CustomerProfilesClient, PutDomainObjectTypeCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import * // const { CustomerProfilesClient, PutDomainObjectTypeCommand } = 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 = { // PutDomainObjectTypeRequest * DomainName: "STRING_VALUE", // required * ObjectTypeName: "STRING_VALUE", // required * Description: "STRING_VALUE", * EncryptionKey: "STRING_VALUE", * Fields: { // DomainObjectTypeFields // required * "": { // DomainObjectTypeField * Source: "STRING_VALUE", // required * Target: "STRING_VALUE", // required * ContentType: "STRING" || "NUMBER", * FeatureType: "TEXTUAL" || "CATEGORICAL", * }, * }, * Tags: { // TagMap * "": "STRING_VALUE", * }, * }; * const command = new PutDomainObjectTypeCommand(input); * const response = await client.send(command); * // { // PutDomainObjectTypeResponse * // ObjectTypeName: "STRING_VALUE", * // Description: "STRING_VALUE", * // EncryptionKey: "STRING_VALUE", * // Fields: { // DomainObjectTypeFields * // "": { // DomainObjectTypeField * // Source: "STRING_VALUE", // required * // Target: "STRING_VALUE", // required * // ContentType: "STRING" || "NUMBER", * // FeatureType: "TEXTUAL" || "CATEGORICAL", * // }, * // }, * // CreatedAt: new Date("TIMESTAMP"), * // LastUpdatedAt: new Date("TIMESTAMP"), * // Tags: { // TagMap * // "": "STRING_VALUE", * // }, * // }; * * ``` * * @param PutDomainObjectTypeCommandInput - {@link PutDomainObjectTypeCommandInput} * @returns {@link PutDomainObjectTypeCommandOutput} * @see {@link PutDomainObjectTypeCommandInput} for command's `input` shape. * @see {@link PutDomainObjectTypeCommandOutput} 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 PutDomainObjectTypeCommand extends PutDomainObjectTypeCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: PutDomainObjectTypeRequest; output: PutDomainObjectTypeResponse; }; sdk: { input: PutDomainObjectTypeCommandInput; output: PutDomainObjectTypeCommandOutput; }; }; }