@@ -10,6 +10,11 @@ import {
10
10
CreateDomainCommandInput ,
11
11
CreateDomainCommandOutput ,
12
12
} from "./commands/CreateDomainCommand" ;
13
+ import {
14
+ CreateIntegrationWorkflowCommand ,
15
+ CreateIntegrationWorkflowCommandInput ,
16
+ CreateIntegrationWorkflowCommandOutput ,
17
+ } from "./commands/CreateIntegrationWorkflowCommand" ;
13
18
import {
14
19
CreateProfileCommand ,
15
20
CreateProfileCommandInput ,
@@ -45,6 +50,11 @@ import {
45
50
DeleteProfileObjectTypeCommandInput ,
46
51
DeleteProfileObjectTypeCommandOutput ,
47
52
} from "./commands/DeleteProfileObjectTypeCommand" ;
53
+ import {
54
+ DeleteWorkflowCommand ,
55
+ DeleteWorkflowCommandInput ,
56
+ DeleteWorkflowCommandOutput ,
57
+ } from "./commands/DeleteWorkflowCommand" ;
48
58
import {
49
59
GetAutoMergingPreviewCommand ,
50
60
GetAutoMergingPreviewCommandInput ,
@@ -72,6 +82,12 @@ import {
72
82
GetProfileObjectTypeTemplateCommandInput ,
73
83
GetProfileObjectTypeTemplateCommandOutput ,
74
84
} from "./commands/GetProfileObjectTypeTemplateCommand" ;
85
+ import { GetWorkflowCommand , GetWorkflowCommandInput , GetWorkflowCommandOutput } from "./commands/GetWorkflowCommand" ;
86
+ import {
87
+ GetWorkflowStepsCommand ,
88
+ GetWorkflowStepsCommandInput ,
89
+ GetWorkflowStepsCommandOutput ,
90
+ } from "./commands/GetWorkflowStepsCommand" ;
75
91
import {
76
92
ListAccountIntegrationsCommand ,
77
93
ListAccountIntegrationsCommandInput ,
@@ -108,6 +124,11 @@ import {
108
124
ListTagsForResourceCommandInput ,
109
125
ListTagsForResourceCommandOutput ,
110
126
} from "./commands/ListTagsForResourceCommand" ;
127
+ import {
128
+ ListWorkflowsCommand ,
129
+ ListWorkflowsCommandInput ,
130
+ ListWorkflowsCommandOutput ,
131
+ } from "./commands/ListWorkflowsCommand" ;
111
132
import {
112
133
MergeProfilesCommand ,
113
134
MergeProfilesCommandInput ,
@@ -237,6 +258,40 @@ export class CustomerProfiles extends CustomerProfilesClient {
237
258
}
238
259
}
239
260
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
+
240
295
/**
241
296
* <p>Creates a standard profile.</p>
242
297
* <p>A standard profile represents the following attributes for a customer profile in a
@@ -464,6 +519,38 @@ export class CustomerProfiles extends CustomerProfilesClient {
464
519
}
465
520
}
466
521
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
+
467
554
/**
468
555
* <p>Tests the auto-merging settings of your Identity Resolution Job without merging your data. It randomly
469
556
* selects a sample of matching groups from the existing matching results, and applies the
@@ -643,9 +730,6 @@ export class CustomerProfiles extends CustomerProfilesClient {
643
730
* <li>
644
731
* <p>FullName</p>
645
732
* </li>
646
- * <li>
647
- * <p>BusinessName</p>
648
- * </li>
649
733
* </ul>
650
734
* <p>For example, two or more profiles—with spelling mistakes such as <b>John Doe</b> and <b>Jhn Doe</b>, or different casing
651
735
* email addresses such as <b>[email protected] </b> and
@@ -743,6 +827,64 @@ export class CustomerProfiles extends CustomerProfilesClient {
743
827
}
744
828
}
745
829
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
+
746
888
/**
747
889
* <p>Lists all of the integrations associated to a specific URI in the AWS account.</p>
748
890
*/
@@ -995,6 +1137,38 @@ export class CustomerProfiles extends CustomerProfilesClient {
995
1137
}
996
1138
}
997
1139
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
+
998
1172
/**
999
1173
* <p>Runs an AWS Lambda job that does the following:</p>
1000
1174
* <ol>
0 commit comments