@@ -10,6 +10,11 @@ import {
1010 CreateDomainCommandInput ,
1111 CreateDomainCommandOutput ,
1212} from "./commands/CreateDomainCommand" ;
13+ import {
14+ CreateIntegrationWorkflowCommand ,
15+ CreateIntegrationWorkflowCommandInput ,
16+ CreateIntegrationWorkflowCommandOutput ,
17+ } from "./commands/CreateIntegrationWorkflowCommand" ;
1318import {
1419 CreateProfileCommand ,
1520 CreateProfileCommandInput ,
@@ -45,6 +50,11 @@ import {
4550 DeleteProfileObjectTypeCommandInput ,
4651 DeleteProfileObjectTypeCommandOutput ,
4752} from "./commands/DeleteProfileObjectTypeCommand" ;
53+ import {
54+ DeleteWorkflowCommand ,
55+ DeleteWorkflowCommandInput ,
56+ DeleteWorkflowCommandOutput ,
57+ } from "./commands/DeleteWorkflowCommand" ;
4858import {
4959 GetAutoMergingPreviewCommand ,
5060 GetAutoMergingPreviewCommandInput ,
@@ -72,6 +82,12 @@ import {
7282 GetProfileObjectTypeTemplateCommandInput ,
7383 GetProfileObjectTypeTemplateCommandOutput ,
7484} from "./commands/GetProfileObjectTypeTemplateCommand" ;
85+ import { GetWorkflowCommand , GetWorkflowCommandInput , GetWorkflowCommandOutput } from "./commands/GetWorkflowCommand" ;
86+ import {
87+ GetWorkflowStepsCommand ,
88+ GetWorkflowStepsCommandInput ,
89+ GetWorkflowStepsCommandOutput ,
90+ } from "./commands/GetWorkflowStepsCommand" ;
7591import {
7692 ListAccountIntegrationsCommand ,
7793 ListAccountIntegrationsCommandInput ,
@@ -108,6 +124,11 @@ import {
108124 ListTagsForResourceCommandInput ,
109125 ListTagsForResourceCommandOutput ,
110126} from "./commands/ListTagsForResourceCommand" ;
127+ import {
128+ ListWorkflowsCommand ,
129+ ListWorkflowsCommandInput ,
130+ ListWorkflowsCommandOutput ,
131+ } from "./commands/ListWorkflowsCommand" ;
111132import {
112133 MergeProfilesCommand ,
113134 MergeProfilesCommandInput ,
@@ -237,6 +258,40 @@ export class CustomerProfiles extends CustomerProfilesClient {
237258 }
238259 }
239260
261+ /**
262+ * <p>
263+ * Creates an integration workflow. An integration workflow is an async process which ingests historic data and sets up an integration for ongoing updates. The supported Amazon AppFlow sources are Salesforce, ServiceNow, and Marketo.
264+ * </p>
265+ */
266+ public createIntegrationWorkflow (
267+ args : CreateIntegrationWorkflowCommandInput ,
268+ options ?: __HttpHandlerOptions
269+ ) : Promise < CreateIntegrationWorkflowCommandOutput > ;
270+ public createIntegrationWorkflow (
271+ args : CreateIntegrationWorkflowCommandInput ,
272+ cb : ( err : any , data ?: CreateIntegrationWorkflowCommandOutput ) => void
273+ ) : void ;
274+ public createIntegrationWorkflow (
275+ args : CreateIntegrationWorkflowCommandInput ,
276+ options : __HttpHandlerOptions ,
277+ cb : ( err : any , data ?: CreateIntegrationWorkflowCommandOutput ) => void
278+ ) : void ;
279+ public createIntegrationWorkflow (
280+ args : CreateIntegrationWorkflowCommandInput ,
281+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: CreateIntegrationWorkflowCommandOutput ) => void ) ,
282+ cb ?: ( err : any , data ?: CreateIntegrationWorkflowCommandOutput ) => void
283+ ) : Promise < CreateIntegrationWorkflowCommandOutput > | void {
284+ const command = new CreateIntegrationWorkflowCommand ( args ) ;
285+ if ( typeof optionsOrCb === "function" ) {
286+ this . send ( command , optionsOrCb ) ;
287+ } else if ( typeof cb === "function" ) {
288+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
289+ this . send ( command , optionsOrCb || { } , cb ) ;
290+ } else {
291+ return this . send ( command , optionsOrCb ) ;
292+ }
293+ }
294+
240295 /**
241296 * <p>Creates a standard profile.</p>
242297 * <p>A standard profile represents the following attributes for a customer profile in a
@@ -464,6 +519,38 @@ export class CustomerProfiles extends CustomerProfilesClient {
464519 }
465520 }
466521
522+ /**
523+ * <p>Deletes the specified workflow and all its corresponding resources. This is an async process.</p>
524+ */
525+ public deleteWorkflow (
526+ args : DeleteWorkflowCommandInput ,
527+ options ?: __HttpHandlerOptions
528+ ) : Promise < DeleteWorkflowCommandOutput > ;
529+ public deleteWorkflow (
530+ args : DeleteWorkflowCommandInput ,
531+ cb : ( err : any , data ?: DeleteWorkflowCommandOutput ) => void
532+ ) : void ;
533+ public deleteWorkflow (
534+ args : DeleteWorkflowCommandInput ,
535+ options : __HttpHandlerOptions ,
536+ cb : ( err : any , data ?: DeleteWorkflowCommandOutput ) => void
537+ ) : void ;
538+ public deleteWorkflow (
539+ args : DeleteWorkflowCommandInput ,
540+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: DeleteWorkflowCommandOutput ) => void ) ,
541+ cb ?: ( err : any , data ?: DeleteWorkflowCommandOutput ) => void
542+ ) : Promise < DeleteWorkflowCommandOutput > | void {
543+ const command = new DeleteWorkflowCommand ( args ) ;
544+ if ( typeof optionsOrCb === "function" ) {
545+ this . send ( command , optionsOrCb ) ;
546+ } else if ( typeof cb === "function" ) {
547+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
548+ this . send ( command , optionsOrCb || { } , cb ) ;
549+ } else {
550+ return this . send ( command , optionsOrCb ) ;
551+ }
552+ }
553+
467554 /**
468555 * <p>Tests the auto-merging settings of your Identity Resolution Job without merging your data. It randomly
469556 * selects a sample of matching groups from the existing matching results, and applies the
@@ -643,9 +730,6 @@ export class CustomerProfiles extends CustomerProfilesClient {
643730 * <li>
644731 * <p>FullName</p>
645732 * </li>
646- * <li>
647- * <p>BusinessName</p>
648- * </li>
649733 * </ul>
650734 * <p>For example, two or more profiles—with spelling mistakes such as <b>John Doe</b> and <b>Jhn Doe</b>, or different casing
651735 * email addresses such as <b>[email protected] </b> and @@ -743,6 +827,64 @@ export class CustomerProfiles extends CustomerProfilesClient {
743827 }
744828 }
745829
830+ /**
831+ * <p>Get details of specified workflow.</p>
832+ */
833+ public getWorkflow ( args : GetWorkflowCommandInput , options ?: __HttpHandlerOptions ) : Promise < GetWorkflowCommandOutput > ;
834+ public getWorkflow ( args : GetWorkflowCommandInput , cb : ( err : any , data ?: GetWorkflowCommandOutput ) => void ) : void ;
835+ public getWorkflow (
836+ args : GetWorkflowCommandInput ,
837+ options : __HttpHandlerOptions ,
838+ cb : ( err : any , data ?: GetWorkflowCommandOutput ) => void
839+ ) : void ;
840+ public getWorkflow (
841+ args : GetWorkflowCommandInput ,
842+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: GetWorkflowCommandOutput ) => void ) ,
843+ cb ?: ( err : any , data ?: GetWorkflowCommandOutput ) => void
844+ ) : Promise < GetWorkflowCommandOutput > | void {
845+ const command = new GetWorkflowCommand ( args ) ;
846+ if ( typeof optionsOrCb === "function" ) {
847+ this . send ( command , optionsOrCb ) ;
848+ } else if ( typeof cb === "function" ) {
849+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
850+ this . send ( command , optionsOrCb || { } , cb ) ;
851+ } else {
852+ return this . send ( command , optionsOrCb ) ;
853+ }
854+ }
855+
856+ /**
857+ * <p>Get granular list of steps in workflow.</p>
858+ */
859+ public getWorkflowSteps (
860+ args : GetWorkflowStepsCommandInput ,
861+ options ?: __HttpHandlerOptions
862+ ) : Promise < GetWorkflowStepsCommandOutput > ;
863+ public getWorkflowSteps (
864+ args : GetWorkflowStepsCommandInput ,
865+ cb : ( err : any , data ?: GetWorkflowStepsCommandOutput ) => void
866+ ) : void ;
867+ public getWorkflowSteps (
868+ args : GetWorkflowStepsCommandInput ,
869+ options : __HttpHandlerOptions ,
870+ cb : ( err : any , data ?: GetWorkflowStepsCommandOutput ) => void
871+ ) : void ;
872+ public getWorkflowSteps (
873+ args : GetWorkflowStepsCommandInput ,
874+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: GetWorkflowStepsCommandOutput ) => void ) ,
875+ cb ?: ( err : any , data ?: GetWorkflowStepsCommandOutput ) => void
876+ ) : Promise < GetWorkflowStepsCommandOutput > | void {
877+ const command = new GetWorkflowStepsCommand ( args ) ;
878+ if ( typeof optionsOrCb === "function" ) {
879+ this . send ( command , optionsOrCb ) ;
880+ } else if ( typeof cb === "function" ) {
881+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
882+ this . send ( command , optionsOrCb || { } , cb ) ;
883+ } else {
884+ return this . send ( command , optionsOrCb ) ;
885+ }
886+ }
887+
746888 /**
747889 * <p>Lists all of the integrations associated to a specific URI in the AWS account.</p>
748890 */
@@ -995,6 +1137,38 @@ export class CustomerProfiles extends CustomerProfilesClient {
9951137 }
9961138 }
9971139
1140+ /**
1141+ * <p>Query to list all workflows.</p>
1142+ */
1143+ public listWorkflows (
1144+ args : ListWorkflowsCommandInput ,
1145+ options ?: __HttpHandlerOptions
1146+ ) : Promise < ListWorkflowsCommandOutput > ;
1147+ public listWorkflows (
1148+ args : ListWorkflowsCommandInput ,
1149+ cb : ( err : any , data ?: ListWorkflowsCommandOutput ) => void
1150+ ) : void ;
1151+ public listWorkflows (
1152+ args : ListWorkflowsCommandInput ,
1153+ options : __HttpHandlerOptions ,
1154+ cb : ( err : any , data ?: ListWorkflowsCommandOutput ) => void
1155+ ) : void ;
1156+ public listWorkflows (
1157+ args : ListWorkflowsCommandInput ,
1158+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: ListWorkflowsCommandOutput ) => void ) ,
1159+ cb ?: ( err : any , data ?: ListWorkflowsCommandOutput ) => void
1160+ ) : Promise < ListWorkflowsCommandOutput > | void {
1161+ const command = new ListWorkflowsCommand ( args ) ;
1162+ if ( typeof optionsOrCb === "function" ) {
1163+ this . send ( command , optionsOrCb ) ;
1164+ } else if ( typeof cb === "function" ) {
1165+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
1166+ this . send ( command , optionsOrCb || { } , cb ) ;
1167+ } else {
1168+ return this . send ( command , optionsOrCb ) ;
1169+ }
1170+ }
1171+
9981172 /**
9991173 * <p>Runs an AWS Lambda job that does the following:</p>
10001174 * <ol>
0 commit comments