import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { PutIntegrationRequest, PutIntegrationResponse } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link PutIntegrationCommand}. */ export interface PutIntegrationCommandInput extends PutIntegrationRequest { } /** * @public * * The output of {@link PutIntegrationCommand}. */ export interface PutIntegrationCommandOutput extends PutIntegrationResponse, __MetadataBearer { } declare const PutIntegrationCommand_base: { new (input: PutIntegrationCommandInput): import("@smithy/core/client").CommandImpl; new (input: PutIntegrationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Adds an integration between the service and a third-party service, which includes * Amazon AppFlow and Amazon Connect.

*

An integration can belong to only one domain.

*

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

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CustomerProfilesClient, PutIntegrationCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import * // const { CustomerProfilesClient, PutIntegrationCommand } = 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 = { // PutIntegrationRequest * DomainName: "STRING_VALUE", // required * Uri: "STRING_VALUE", * ObjectTypeName: "STRING_VALUE", * ObjectTypeNames: { // ObjectTypeNames * "": "STRING_VALUE", * }, * Tags: { // TagMap * "": "STRING_VALUE", * }, * FlowDefinition: { // FlowDefinition * Description: "STRING_VALUE", * FlowName: "STRING_VALUE", // required * KmsArn: "STRING_VALUE", // required * SourceFlowConfig: { // SourceFlowConfig * ConnectorProfileName: "STRING_VALUE", * ConnectorType: "Salesforce" || "Marketo" || "Zendesk" || "Servicenow" || "S3", // required * IncrementalPullConfig: { // IncrementalPullConfig * DatetimeTypeFieldName: "STRING_VALUE", * }, * SourceConnectorProperties: { // SourceConnectorProperties * Marketo: { // MarketoSourceProperties * Object: "STRING_VALUE", // required * }, * S3: { // S3SourceProperties * BucketName: "STRING_VALUE", // required * BucketPrefix: "STRING_VALUE", * }, * Salesforce: { // SalesforceSourceProperties * Object: "STRING_VALUE", // required * EnableDynamicFieldUpdate: true || false, * IncludeDeletedRecords: true || false, * }, * ServiceNow: { // ServiceNowSourceProperties * Object: "STRING_VALUE", // required * }, * Zendesk: { // ZendeskSourceProperties * Object: "STRING_VALUE", // required * }, * }, * }, * Tasks: [ // Tasks // required * { // Task * ConnectorOperator: { // ConnectorOperator * Marketo: "PROJECTION" || "LESS_THAN" || "GREATER_THAN" || "BETWEEN" || "ADDITION" || "MULTIPLICATION" || "DIVISION" || "SUBTRACTION" || "MASK_ALL" || "MASK_FIRST_N" || "MASK_LAST_N" || "VALIDATE_NON_NULL" || "VALIDATE_NON_ZERO" || "VALIDATE_NON_NEGATIVE" || "VALIDATE_NUMERIC" || "NO_OP", * S3: "PROJECTION" || "LESS_THAN" || "GREATER_THAN" || "BETWEEN" || "LESS_THAN_OR_EQUAL_TO" || "GREATER_THAN_OR_EQUAL_TO" || "EQUAL_TO" || "NOT_EQUAL_TO" || "ADDITION" || "MULTIPLICATION" || "DIVISION" || "SUBTRACTION" || "MASK_ALL" || "MASK_FIRST_N" || "MASK_LAST_N" || "VALIDATE_NON_NULL" || "VALIDATE_NON_ZERO" || "VALIDATE_NON_NEGATIVE" || "VALIDATE_NUMERIC" || "NO_OP", * Salesforce: "PROJECTION" || "LESS_THAN" || "CONTAINS" || "GREATER_THAN" || "BETWEEN" || "LESS_THAN_OR_EQUAL_TO" || "GREATER_THAN_OR_EQUAL_TO" || "EQUAL_TO" || "NOT_EQUAL_TO" || "ADDITION" || "MULTIPLICATION" || "DIVISION" || "SUBTRACTION" || "MASK_ALL" || "MASK_FIRST_N" || "MASK_LAST_N" || "VALIDATE_NON_NULL" || "VALIDATE_NON_ZERO" || "VALIDATE_NON_NEGATIVE" || "VALIDATE_NUMERIC" || "NO_OP", * ServiceNow: "PROJECTION" || "CONTAINS" || "LESS_THAN" || "GREATER_THAN" || "BETWEEN" || "LESS_THAN_OR_EQUAL_TO" || "GREATER_THAN_OR_EQUAL_TO" || "EQUAL_TO" || "NOT_EQUAL_TO" || "ADDITION" || "MULTIPLICATION" || "DIVISION" || "SUBTRACTION" || "MASK_ALL" || "MASK_FIRST_N" || "MASK_LAST_N" || "VALIDATE_NON_NULL" || "VALIDATE_NON_ZERO" || "VALIDATE_NON_NEGATIVE" || "VALIDATE_NUMERIC" || "NO_OP", * Zendesk: "PROJECTION" || "GREATER_THAN" || "ADDITION" || "MULTIPLICATION" || "DIVISION" || "SUBTRACTION" || "MASK_ALL" || "MASK_FIRST_N" || "MASK_LAST_N" || "VALIDATE_NON_NULL" || "VALIDATE_NON_ZERO" || "VALIDATE_NON_NEGATIVE" || "VALIDATE_NUMERIC" || "NO_OP", * }, * DestinationField: "STRING_VALUE", * SourceFields: [ // SourceFields // required * "STRING_VALUE", * ], * TaskProperties: { // TaskPropertiesMap * "": "STRING_VALUE", * }, * TaskType: "Arithmetic" || "Filter" || "Map" || "Mask" || "Merge" || "Truncate" || "Validate", // required * }, * ], * TriggerConfig: { // TriggerConfig * TriggerType: "Scheduled" || "Event" || "OnDemand", // required * TriggerProperties: { // TriggerProperties * Scheduled: { // ScheduledTriggerProperties * ScheduleExpression: "STRING_VALUE", // required * DataPullMode: "Incremental" || "Complete", * ScheduleStartTime: new Date("TIMESTAMP"), * ScheduleEndTime: new Date("TIMESTAMP"), * Timezone: "STRING_VALUE", * ScheduleOffset: Number("long"), * FirstExecutionFrom: new Date("TIMESTAMP"), * }, * }, * }, * }, * RoleArn: "STRING_VALUE", * EventTriggerNames: [ // EventTriggerNames * "STRING_VALUE", * ], * Scope: "PROFILE" || "DOMAIN", * }; * const command = new PutIntegrationCommand(input); * const response = await client.send(command); * // { // PutIntegrationResponse * // DomainName: "STRING_VALUE", // required * // Uri: "STRING_VALUE", // required * // ObjectTypeName: "STRING_VALUE", * // CreatedAt: new Date("TIMESTAMP"), // required * // LastUpdatedAt: new Date("TIMESTAMP"), // required * // Tags: { // TagMap * // "": "STRING_VALUE", * // }, * // ObjectTypeNames: { // ObjectTypeNames * // "": "STRING_VALUE", * // }, * // WorkflowId: "STRING_VALUE", * // IsUnstructured: true || false, * // RoleArn: "STRING_VALUE", * // EventTriggerNames: [ // EventTriggerNames * // "STRING_VALUE", * // ], * // Scope: "PROFILE" || "DOMAIN", * // }; * * ``` * * @param PutIntegrationCommandInput - {@link PutIntegrationCommandInput} * @returns {@link PutIntegrationCommandOutput} * @see {@link PutIntegrationCommandInput} for command's `input` shape. * @see {@link PutIntegrationCommandOutput} 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 PutIntegrationCommand extends PutIntegrationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: PutIntegrationRequest; output: PutIntegrationResponse; }; sdk: { input: PutIntegrationCommandInput; output: PutIntegrationCommandOutput; }; }; }