import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { PutProfileObjectTypeRequest, PutProfileObjectTypeResponse } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link PutProfileObjectTypeCommand}. */ export interface PutProfileObjectTypeCommandInput extends PutProfileObjectTypeRequest { } /** * @public * * The output of {@link PutProfileObjectTypeCommand}. */ export interface PutProfileObjectTypeCommandOutput extends PutProfileObjectTypeResponse, __MetadataBearer { } declare const PutProfileObjectTypeCommand_base: { new (input: PutProfileObjectTypeCommandInput): import("@smithy/core/client").CommandImpl; new (input: PutProfileObjectTypeCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Defines a ProfileObjectType.

*

To add or remove tags on an existing ObjectType, see * TagResource/UntagResource.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CustomerProfilesClient, PutProfileObjectTypeCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import * // const { CustomerProfilesClient, PutProfileObjectTypeCommand } = 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 = { // PutProfileObjectTypeRequest * DomainName: "STRING_VALUE", // required * ObjectTypeName: "STRING_VALUE", // required * Description: "STRING_VALUE", // required * TemplateId: "STRING_VALUE", * ExpirationDays: Number("int"), * EncryptionKey: "STRING_VALUE", * AllowProfileCreation: true || false, * SourceLastUpdatedTimestampFormat: "STRING_VALUE", * MaxProfileObjectCount: Number("int"), * SourcePriority: Number("int"), * Fields: { // FieldMap * "": { // ObjectTypeField * Source: "STRING_VALUE", * Target: "STRING_VALUE", * ContentType: "STRING" || "NUMBER" || "PHONE_NUMBER" || "EMAIL_ADDRESS" || "NAME", * }, * }, * Keys: { // KeyMap * "": [ // ObjectTypeKeyList * { // ObjectTypeKey * StandardIdentifiers: [ // StandardIdentifierList * "PROFILE" || "ASSET" || "CASE" || "DEVICE" || "WEB_ANALYTICS" || "ORDER" || "COMMUNICATION_RECORD" || "AIR_PREFERENCE" || "HOTEL_PREFERENCE" || "AIR_BOOKING" || "AIR_SEGMENT" || "HOTEL_RESERVATION" || "HOTEL_STAY_REVENUE" || "LOYALTY" || "LOYALTY_TRANSACTION" || "LOYALTY_PROMOTION" || "UNIQUE" || "SECONDARY" || "LOOKUP_ONLY" || "NEW_ONLY", * ], * FieldNames: [ // FieldNameList * "STRING_VALUE", * ], * }, * ], * }, * Tags: { // TagMap * "": "STRING_VALUE", * }, * }; * const command = new PutProfileObjectTypeCommand(input); * const response = await client.send(command); * // { // PutProfileObjectTypeResponse * // ObjectTypeName: "STRING_VALUE", // required * // Description: "STRING_VALUE", // required * // TemplateId: "STRING_VALUE", * // ExpirationDays: Number("int"), * // EncryptionKey: "STRING_VALUE", * // AllowProfileCreation: true || false, * // SourceLastUpdatedTimestampFormat: "STRING_VALUE", * // MaxProfileObjectCount: Number("int"), * // MaxAvailableProfileObjectCount: Number("int"), * // SourcePriority: Number("int"), * // Fields: { // FieldMap * // "": { // ObjectTypeField * // Source: "STRING_VALUE", * // Target: "STRING_VALUE", * // ContentType: "STRING" || "NUMBER" || "PHONE_NUMBER" || "EMAIL_ADDRESS" || "NAME", * // }, * // }, * // Keys: { // KeyMap * // "": [ // ObjectTypeKeyList * // { // ObjectTypeKey * // StandardIdentifiers: [ // StandardIdentifierList * // "PROFILE" || "ASSET" || "CASE" || "DEVICE" || "WEB_ANALYTICS" || "ORDER" || "COMMUNICATION_RECORD" || "AIR_PREFERENCE" || "HOTEL_PREFERENCE" || "AIR_BOOKING" || "AIR_SEGMENT" || "HOTEL_RESERVATION" || "HOTEL_STAY_REVENUE" || "LOYALTY" || "LOYALTY_TRANSACTION" || "LOYALTY_PROMOTION" || "UNIQUE" || "SECONDARY" || "LOOKUP_ONLY" || "NEW_ONLY", * // ], * // FieldNames: [ // FieldNameList * // "STRING_VALUE", * // ], * // }, * // ], * // }, * // CreatedAt: new Date("TIMESTAMP"), * // LastUpdatedAt: new Date("TIMESTAMP"), * // Tags: { // TagMap * // "": "STRING_VALUE", * // }, * // }; * * ``` * * @param PutProfileObjectTypeCommandInput - {@link PutProfileObjectTypeCommandInput} * @returns {@link PutProfileObjectTypeCommandOutput} * @see {@link PutProfileObjectTypeCommandInput} for command's `input` shape. * @see {@link PutProfileObjectTypeCommandOutput} 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 PutProfileObjectTypeCommand extends PutProfileObjectTypeCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: PutProfileObjectTypeRequest; output: PutProfileObjectTypeResponse; }; sdk: { input: PutProfileObjectTypeCommandInput; output: PutProfileObjectTypeCommandOutput; }; }; }