customerprofiles.d.ts 158 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678
  1. import {Request} from '../lib/request';
  2. import {Response} from '../lib/response';
  3. import {AWSError} from '../lib/error';
  4. import {Service} from '../lib/service';
  5. import {ServiceConfigurationOptions} from '../lib/service';
  6. import {ConfigBase as Config} from '../lib/config-base';
  7. interface Blob {}
  8. declare class CustomerProfiles extends Service {
  9. /**
  10. * Constructs a service object. This object has one method for each API operation.
  11. */
  12. constructor(options?: CustomerProfiles.Types.ClientConfiguration)
  13. config: Config & CustomerProfiles.Types.ClientConfiguration;
  14. /**
  15. * Associates a new key value with a specific profile, such as a Contact Record ContactId. A profile object can have a single unique key and any number of additional keys that can be used to identify the profile that it belongs to.
  16. */
  17. addProfileKey(params: CustomerProfiles.Types.AddProfileKeyRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.AddProfileKeyResponse) => void): Request<CustomerProfiles.Types.AddProfileKeyResponse, AWSError>;
  18. /**
  19. * Associates a new key value with a specific profile, such as a Contact Record ContactId. A profile object can have a single unique key and any number of additional keys that can be used to identify the profile that it belongs to.
  20. */
  21. addProfileKey(callback?: (err: AWSError, data: CustomerProfiles.Types.AddProfileKeyResponse) => void): Request<CustomerProfiles.Types.AddProfileKeyResponse, AWSError>;
  22. /**
  23. * Creates a new calculated attribute definition. After creation, new object data ingested into Customer Profiles will be included in the calculated attribute, which can be retrieved for a profile using the GetCalculatedAttributeForProfile API. Defining a calculated attribute makes it available for all profiles within a domain. Each calculated attribute can only reference one ObjectType and at most, two fields from that ObjectType.
  24. */
  25. createCalculatedAttributeDefinition(params: CustomerProfiles.Types.CreateCalculatedAttributeDefinitionRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.CreateCalculatedAttributeDefinitionResponse) => void): Request<CustomerProfiles.Types.CreateCalculatedAttributeDefinitionResponse, AWSError>;
  26. /**
  27. * Creates a new calculated attribute definition. After creation, new object data ingested into Customer Profiles will be included in the calculated attribute, which can be retrieved for a profile using the GetCalculatedAttributeForProfile API. Defining a calculated attribute makes it available for all profiles within a domain. Each calculated attribute can only reference one ObjectType and at most, two fields from that ObjectType.
  28. */
  29. createCalculatedAttributeDefinition(callback?: (err: AWSError, data: CustomerProfiles.Types.CreateCalculatedAttributeDefinitionResponse) => void): Request<CustomerProfiles.Types.CreateCalculatedAttributeDefinitionResponse, AWSError>;
  30. /**
  31. * Creates a domain, which is a container for all customer data, such as customer profile attributes, object types, profile keys, and encryption keys. You can create multiple domains, and each domain can have multiple third-party integrations. Each Amazon Connect instance can be associated with only one domain. Multiple Amazon Connect instances can be associated with one domain. Use this API or UpdateDomain to enable identity resolution: set Matching to true. To prevent cross-service impersonation when you call this API, see Cross-service confused deputy prevention for sample policies that you should apply.
  32. */
  33. createDomain(params: CustomerProfiles.Types.CreateDomainRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.CreateDomainResponse) => void): Request<CustomerProfiles.Types.CreateDomainResponse, AWSError>;
  34. /**
  35. * Creates a domain, which is a container for all customer data, such as customer profile attributes, object types, profile keys, and encryption keys. You can create multiple domains, and each domain can have multiple third-party integrations. Each Amazon Connect instance can be associated with only one domain. Multiple Amazon Connect instances can be associated with one domain. Use this API or UpdateDomain to enable identity resolution: set Matching to true. To prevent cross-service impersonation when you call this API, see Cross-service confused deputy prevention for sample policies that you should apply.
  36. */
  37. createDomain(callback?: (err: AWSError, data: CustomerProfiles.Types.CreateDomainResponse) => void): Request<CustomerProfiles.Types.CreateDomainResponse, AWSError>;
  38. /**
  39. * Creates an event stream, which is a subscription to real-time events, such as when profiles are created and updated through Amazon Connect Customer Profiles. Each event stream can be associated with only one Kinesis Data Stream destination in the same region and Amazon Web Services account as the customer profiles domain
  40. */
  41. createEventStream(params: CustomerProfiles.Types.CreateEventStreamRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.CreateEventStreamResponse) => void): Request<CustomerProfiles.Types.CreateEventStreamResponse, AWSError>;
  42. /**
  43. * Creates an event stream, which is a subscription to real-time events, such as when profiles are created and updated through Amazon Connect Customer Profiles. Each event stream can be associated with only one Kinesis Data Stream destination in the same region and Amazon Web Services account as the customer profiles domain
  44. */
  45. createEventStream(callback?: (err: AWSError, data: CustomerProfiles.Types.CreateEventStreamResponse) => void): Request<CustomerProfiles.Types.CreateEventStreamResponse, AWSError>;
  46. /**
  47. * 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.
  48. */
  49. createIntegrationWorkflow(params: CustomerProfiles.Types.CreateIntegrationWorkflowRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.CreateIntegrationWorkflowResponse) => void): Request<CustomerProfiles.Types.CreateIntegrationWorkflowResponse, AWSError>;
  50. /**
  51. * 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.
  52. */
  53. createIntegrationWorkflow(callback?: (err: AWSError, data: CustomerProfiles.Types.CreateIntegrationWorkflowResponse) => void): Request<CustomerProfiles.Types.CreateIntegrationWorkflowResponse, AWSError>;
  54. /**
  55. * Creates a standard profile. A standard profile represents the following attributes for a customer profile in a domain.
  56. */
  57. createProfile(params: CustomerProfiles.Types.CreateProfileRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.CreateProfileResponse) => void): Request<CustomerProfiles.Types.CreateProfileResponse, AWSError>;
  58. /**
  59. * Creates a standard profile. A standard profile represents the following attributes for a customer profile in a domain.
  60. */
  61. createProfile(callback?: (err: AWSError, data: CustomerProfiles.Types.CreateProfileResponse) => void): Request<CustomerProfiles.Types.CreateProfileResponse, AWSError>;
  62. /**
  63. * Deletes an existing calculated attribute definition. Note that deleting a default calculated attribute is possible, however once deleted, you will be unable to undo that action and will need to recreate it on your own using the CreateCalculatedAttributeDefinition API if you want it back.
  64. */
  65. deleteCalculatedAttributeDefinition(params: CustomerProfiles.Types.DeleteCalculatedAttributeDefinitionRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.DeleteCalculatedAttributeDefinitionResponse) => void): Request<CustomerProfiles.Types.DeleteCalculatedAttributeDefinitionResponse, AWSError>;
  66. /**
  67. * Deletes an existing calculated attribute definition. Note that deleting a default calculated attribute is possible, however once deleted, you will be unable to undo that action and will need to recreate it on your own using the CreateCalculatedAttributeDefinition API if you want it back.
  68. */
  69. deleteCalculatedAttributeDefinition(callback?: (err: AWSError, data: CustomerProfiles.Types.DeleteCalculatedAttributeDefinitionResponse) => void): Request<CustomerProfiles.Types.DeleteCalculatedAttributeDefinitionResponse, AWSError>;
  70. /**
  71. * Deletes a specific domain and all of its customer data, such as customer profile attributes and their related objects.
  72. */
  73. deleteDomain(params: CustomerProfiles.Types.DeleteDomainRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.DeleteDomainResponse) => void): Request<CustomerProfiles.Types.DeleteDomainResponse, AWSError>;
  74. /**
  75. * Deletes a specific domain and all of its customer data, such as customer profile attributes and their related objects.
  76. */
  77. deleteDomain(callback?: (err: AWSError, data: CustomerProfiles.Types.DeleteDomainResponse) => void): Request<CustomerProfiles.Types.DeleteDomainResponse, AWSError>;
  78. /**
  79. * Disables and deletes the specified event stream.
  80. */
  81. deleteEventStream(params: CustomerProfiles.Types.DeleteEventStreamRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.DeleteEventStreamResponse) => void): Request<CustomerProfiles.Types.DeleteEventStreamResponse, AWSError>;
  82. /**
  83. * Disables and deletes the specified event stream.
  84. */
  85. deleteEventStream(callback?: (err: AWSError, data: CustomerProfiles.Types.DeleteEventStreamResponse) => void): Request<CustomerProfiles.Types.DeleteEventStreamResponse, AWSError>;
  86. /**
  87. * Removes an integration from a specific domain.
  88. */
  89. deleteIntegration(params: CustomerProfiles.Types.DeleteIntegrationRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.DeleteIntegrationResponse) => void): Request<CustomerProfiles.Types.DeleteIntegrationResponse, AWSError>;
  90. /**
  91. * Removes an integration from a specific domain.
  92. */
  93. deleteIntegration(callback?: (err: AWSError, data: CustomerProfiles.Types.DeleteIntegrationResponse) => void): Request<CustomerProfiles.Types.DeleteIntegrationResponse, AWSError>;
  94. /**
  95. * Deletes the standard customer profile and all data pertaining to the profile.
  96. */
  97. deleteProfile(params: CustomerProfiles.Types.DeleteProfileRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.DeleteProfileResponse) => void): Request<CustomerProfiles.Types.DeleteProfileResponse, AWSError>;
  98. /**
  99. * Deletes the standard customer profile and all data pertaining to the profile.
  100. */
  101. deleteProfile(callback?: (err: AWSError, data: CustomerProfiles.Types.DeleteProfileResponse) => void): Request<CustomerProfiles.Types.DeleteProfileResponse, AWSError>;
  102. /**
  103. * Removes a searchable key from a customer profile.
  104. */
  105. deleteProfileKey(params: CustomerProfiles.Types.DeleteProfileKeyRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.DeleteProfileKeyResponse) => void): Request<CustomerProfiles.Types.DeleteProfileKeyResponse, AWSError>;
  106. /**
  107. * Removes a searchable key from a customer profile.
  108. */
  109. deleteProfileKey(callback?: (err: AWSError, data: CustomerProfiles.Types.DeleteProfileKeyResponse) => void): Request<CustomerProfiles.Types.DeleteProfileKeyResponse, AWSError>;
  110. /**
  111. * Removes an object associated with a profile of a given ProfileObjectType.
  112. */
  113. deleteProfileObject(params: CustomerProfiles.Types.DeleteProfileObjectRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.DeleteProfileObjectResponse) => void): Request<CustomerProfiles.Types.DeleteProfileObjectResponse, AWSError>;
  114. /**
  115. * Removes an object associated with a profile of a given ProfileObjectType.
  116. */
  117. deleteProfileObject(callback?: (err: AWSError, data: CustomerProfiles.Types.DeleteProfileObjectResponse) => void): Request<CustomerProfiles.Types.DeleteProfileObjectResponse, AWSError>;
  118. /**
  119. * Removes a ProfileObjectType from a specific domain as well as removes all the ProfileObjects of that type. It also disables integrations from this specific ProfileObjectType. In addition, it scrubs all of the fields of the standard profile that were populated from this ProfileObjectType.
  120. */
  121. deleteProfileObjectType(params: CustomerProfiles.Types.DeleteProfileObjectTypeRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.DeleteProfileObjectTypeResponse) => void): Request<CustomerProfiles.Types.DeleteProfileObjectTypeResponse, AWSError>;
  122. /**
  123. * Removes a ProfileObjectType from a specific domain as well as removes all the ProfileObjects of that type. It also disables integrations from this specific ProfileObjectType. In addition, it scrubs all of the fields of the standard profile that were populated from this ProfileObjectType.
  124. */
  125. deleteProfileObjectType(callback?: (err: AWSError, data: CustomerProfiles.Types.DeleteProfileObjectTypeResponse) => void): Request<CustomerProfiles.Types.DeleteProfileObjectTypeResponse, AWSError>;
  126. /**
  127. * Deletes the specified workflow and all its corresponding resources. This is an async process.
  128. */
  129. deleteWorkflow(params: CustomerProfiles.Types.DeleteWorkflowRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.DeleteWorkflowResponse) => void): Request<CustomerProfiles.Types.DeleteWorkflowResponse, AWSError>;
  130. /**
  131. * Deletes the specified workflow and all its corresponding resources. This is an async process.
  132. */
  133. deleteWorkflow(callback?: (err: AWSError, data: CustomerProfiles.Types.DeleteWorkflowResponse) => void): Request<CustomerProfiles.Types.DeleteWorkflowResponse, AWSError>;
  134. /**
  135. * The process of detecting profile object type mapping by using given objects.
  136. */
  137. detectProfileObjectType(params: CustomerProfiles.Types.DetectProfileObjectTypeRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.DetectProfileObjectTypeResponse) => void): Request<CustomerProfiles.Types.DetectProfileObjectTypeResponse, AWSError>;
  138. /**
  139. * The process of detecting profile object type mapping by using given objects.
  140. */
  141. detectProfileObjectType(callback?: (err: AWSError, data: CustomerProfiles.Types.DetectProfileObjectTypeResponse) => void): Request<CustomerProfiles.Types.DetectProfileObjectTypeResponse, AWSError>;
  142. /**
  143. * Tests the auto-merging settings of your Identity Resolution Job without merging your data. It randomly selects a sample of matching groups from the existing matching results, and applies the automerging settings that you provided. You can then view the number of profiles in the sample, the number of matches, and the number of profiles identified to be merged. This enables you to evaluate the accuracy of the attributes in your matching list. You can't view which profiles are matched and would be merged. We strongly recommend you use this API to do a dry run of the automerging process before running the Identity Resolution Job. Include at least two matching attributes. If your matching list includes too few attributes (such as only FirstName or only LastName), there may be a large number of matches. This increases the chances of erroneous merges.
  144. */
  145. getAutoMergingPreview(params: CustomerProfiles.Types.GetAutoMergingPreviewRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.GetAutoMergingPreviewResponse) => void): Request<CustomerProfiles.Types.GetAutoMergingPreviewResponse, AWSError>;
  146. /**
  147. * Tests the auto-merging settings of your Identity Resolution Job without merging your data. It randomly selects a sample of matching groups from the existing matching results, and applies the automerging settings that you provided. You can then view the number of profiles in the sample, the number of matches, and the number of profiles identified to be merged. This enables you to evaluate the accuracy of the attributes in your matching list. You can't view which profiles are matched and would be merged. We strongly recommend you use this API to do a dry run of the automerging process before running the Identity Resolution Job. Include at least two matching attributes. If your matching list includes too few attributes (such as only FirstName or only LastName), there may be a large number of matches. This increases the chances of erroneous merges.
  148. */
  149. getAutoMergingPreview(callback?: (err: AWSError, data: CustomerProfiles.Types.GetAutoMergingPreviewResponse) => void): Request<CustomerProfiles.Types.GetAutoMergingPreviewResponse, AWSError>;
  150. /**
  151. * Provides more information on a calculated attribute definition for Customer Profiles.
  152. */
  153. getCalculatedAttributeDefinition(params: CustomerProfiles.Types.GetCalculatedAttributeDefinitionRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.GetCalculatedAttributeDefinitionResponse) => void): Request<CustomerProfiles.Types.GetCalculatedAttributeDefinitionResponse, AWSError>;
  154. /**
  155. * Provides more information on a calculated attribute definition for Customer Profiles.
  156. */
  157. getCalculatedAttributeDefinition(callback?: (err: AWSError, data: CustomerProfiles.Types.GetCalculatedAttributeDefinitionResponse) => void): Request<CustomerProfiles.Types.GetCalculatedAttributeDefinitionResponse, AWSError>;
  158. /**
  159. * Retrieve a calculated attribute for a customer profile.
  160. */
  161. getCalculatedAttributeForProfile(params: CustomerProfiles.Types.GetCalculatedAttributeForProfileRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.GetCalculatedAttributeForProfileResponse) => void): Request<CustomerProfiles.Types.GetCalculatedAttributeForProfileResponse, AWSError>;
  162. /**
  163. * Retrieve a calculated attribute for a customer profile.
  164. */
  165. getCalculatedAttributeForProfile(callback?: (err: AWSError, data: CustomerProfiles.Types.GetCalculatedAttributeForProfileResponse) => void): Request<CustomerProfiles.Types.GetCalculatedAttributeForProfileResponse, AWSError>;
  166. /**
  167. * Returns information about a specific domain.
  168. */
  169. getDomain(params: CustomerProfiles.Types.GetDomainRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.GetDomainResponse) => void): Request<CustomerProfiles.Types.GetDomainResponse, AWSError>;
  170. /**
  171. * Returns information about a specific domain.
  172. */
  173. getDomain(callback?: (err: AWSError, data: CustomerProfiles.Types.GetDomainResponse) => void): Request<CustomerProfiles.Types.GetDomainResponse, AWSError>;
  174. /**
  175. * Returns information about the specified event stream in a specific domain.
  176. */
  177. getEventStream(params: CustomerProfiles.Types.GetEventStreamRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.GetEventStreamResponse) => void): Request<CustomerProfiles.Types.GetEventStreamResponse, AWSError>;
  178. /**
  179. * Returns information about the specified event stream in a specific domain.
  180. */
  181. getEventStream(callback?: (err: AWSError, data: CustomerProfiles.Types.GetEventStreamResponse) => void): Request<CustomerProfiles.Types.GetEventStreamResponse, AWSError>;
  182. /**
  183. * Returns information about an Identity Resolution Job in a specific domain. Identity Resolution Jobs are set up using the Amazon Connect admin console. For more information, see Use Identity Resolution to consolidate similar profiles.
  184. */
  185. getIdentityResolutionJob(params: CustomerProfiles.Types.GetIdentityResolutionJobRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.GetIdentityResolutionJobResponse) => void): Request<CustomerProfiles.Types.GetIdentityResolutionJobResponse, AWSError>;
  186. /**
  187. * Returns information about an Identity Resolution Job in a specific domain. Identity Resolution Jobs are set up using the Amazon Connect admin console. For more information, see Use Identity Resolution to consolidate similar profiles.
  188. */
  189. getIdentityResolutionJob(callback?: (err: AWSError, data: CustomerProfiles.Types.GetIdentityResolutionJobResponse) => void): Request<CustomerProfiles.Types.GetIdentityResolutionJobResponse, AWSError>;
  190. /**
  191. * Returns an integration for a domain.
  192. */
  193. getIntegration(params: CustomerProfiles.Types.GetIntegrationRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.GetIntegrationResponse) => void): Request<CustomerProfiles.Types.GetIntegrationResponse, AWSError>;
  194. /**
  195. * Returns an integration for a domain.
  196. */
  197. getIntegration(callback?: (err: AWSError, data: CustomerProfiles.Types.GetIntegrationResponse) => void): Request<CustomerProfiles.Types.GetIntegrationResponse, AWSError>;
  198. /**
  199. * Before calling this API, use CreateDomain or UpdateDomain to enable identity resolution: set Matching to true. GetMatches returns potentially matching profiles, based on the results of the latest run of a machine learning process. The process of matching duplicate profiles. If Matching = true, Amazon Connect Customer Profiles starts a weekly batch process called Identity Resolution Job. If you do not specify a date and time for Identity Resolution Job to run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles in your domains. After the Identity Resolution Job completes, use the GetMatches API to return and review the results. Or, if you have configured ExportingConfig in the MatchingRequest, you can download the results from S3. Amazon Connect uses the following profile attributes to identify matches: PhoneNumber HomePhoneNumber BusinessPhoneNumber MobilePhoneNumber EmailAddress PersonalEmailAddress BusinessEmailAddress FullName For example, two or more profiles—with spelling mistakes such as John Doe and Jhn Doe, or different casing email addresses such as JOHN_DOE@ANYCOMPANY.COM and johndoe@anycompany.com, or different phone number formats such as 555-010-0000 and +1-555-010-0000—can be detected as belonging to the same customer John Doe and merged into a unified profile.
  200. */
  201. getMatches(params: CustomerProfiles.Types.GetMatchesRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.GetMatchesResponse) => void): Request<CustomerProfiles.Types.GetMatchesResponse, AWSError>;
  202. /**
  203. * Before calling this API, use CreateDomain or UpdateDomain to enable identity resolution: set Matching to true. GetMatches returns potentially matching profiles, based on the results of the latest run of a machine learning process. The process of matching duplicate profiles. If Matching = true, Amazon Connect Customer Profiles starts a weekly batch process called Identity Resolution Job. If you do not specify a date and time for Identity Resolution Job to run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles in your domains. After the Identity Resolution Job completes, use the GetMatches API to return and review the results. Or, if you have configured ExportingConfig in the MatchingRequest, you can download the results from S3. Amazon Connect uses the following profile attributes to identify matches: PhoneNumber HomePhoneNumber BusinessPhoneNumber MobilePhoneNumber EmailAddress PersonalEmailAddress BusinessEmailAddress FullName For example, two or more profiles—with spelling mistakes such as John Doe and Jhn Doe, or different casing email addresses such as JOHN_DOE@ANYCOMPANY.COM and johndoe@anycompany.com, or different phone number formats such as 555-010-0000 and +1-555-010-0000—can be detected as belonging to the same customer John Doe and merged into a unified profile.
  204. */
  205. getMatches(callback?: (err: AWSError, data: CustomerProfiles.Types.GetMatchesResponse) => void): Request<CustomerProfiles.Types.GetMatchesResponse, AWSError>;
  206. /**
  207. * Returns the object types for a specific domain.
  208. */
  209. getProfileObjectType(params: CustomerProfiles.Types.GetProfileObjectTypeRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.GetProfileObjectTypeResponse) => void): Request<CustomerProfiles.Types.GetProfileObjectTypeResponse, AWSError>;
  210. /**
  211. * Returns the object types for a specific domain.
  212. */
  213. getProfileObjectType(callback?: (err: AWSError, data: CustomerProfiles.Types.GetProfileObjectTypeResponse) => void): Request<CustomerProfiles.Types.GetProfileObjectTypeResponse, AWSError>;
  214. /**
  215. * Returns the template information for a specific object type. A template is a predefined ProfileObjectType, such as “Salesforce-Account” or “Salesforce-Contact.” When a user sends a ProfileObject, using the PutProfileObject API, with an ObjectTypeName that matches one of the TemplateIds, it uses the mappings from the template.
  216. */
  217. getProfileObjectTypeTemplate(params: CustomerProfiles.Types.GetProfileObjectTypeTemplateRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.GetProfileObjectTypeTemplateResponse) => void): Request<CustomerProfiles.Types.GetProfileObjectTypeTemplateResponse, AWSError>;
  218. /**
  219. * Returns the template information for a specific object type. A template is a predefined ProfileObjectType, such as “Salesforce-Account” or “Salesforce-Contact.” When a user sends a ProfileObject, using the PutProfileObject API, with an ObjectTypeName that matches one of the TemplateIds, it uses the mappings from the template.
  220. */
  221. getProfileObjectTypeTemplate(callback?: (err: AWSError, data: CustomerProfiles.Types.GetProfileObjectTypeTemplateResponse) => void): Request<CustomerProfiles.Types.GetProfileObjectTypeTemplateResponse, AWSError>;
  222. /**
  223. * Returns a set of profiles that belong to the same matching group using the matchId or profileId. You can also specify the type of matching that you want for finding similar profiles using either RULE_BASED_MATCHING or ML_BASED_MATCHING.
  224. */
  225. getSimilarProfiles(params: CustomerProfiles.Types.GetSimilarProfilesRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.GetSimilarProfilesResponse) => void): Request<CustomerProfiles.Types.GetSimilarProfilesResponse, AWSError>;
  226. /**
  227. * Returns a set of profiles that belong to the same matching group using the matchId or profileId. You can also specify the type of matching that you want for finding similar profiles using either RULE_BASED_MATCHING or ML_BASED_MATCHING.
  228. */
  229. getSimilarProfiles(callback?: (err: AWSError, data: CustomerProfiles.Types.GetSimilarProfilesResponse) => void): Request<CustomerProfiles.Types.GetSimilarProfilesResponse, AWSError>;
  230. /**
  231. * Get details of specified workflow.
  232. */
  233. getWorkflow(params: CustomerProfiles.Types.GetWorkflowRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.GetWorkflowResponse) => void): Request<CustomerProfiles.Types.GetWorkflowResponse, AWSError>;
  234. /**
  235. * Get details of specified workflow.
  236. */
  237. getWorkflow(callback?: (err: AWSError, data: CustomerProfiles.Types.GetWorkflowResponse) => void): Request<CustomerProfiles.Types.GetWorkflowResponse, AWSError>;
  238. /**
  239. * Get granular list of steps in workflow.
  240. */
  241. getWorkflowSteps(params: CustomerProfiles.Types.GetWorkflowStepsRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.GetWorkflowStepsResponse) => void): Request<CustomerProfiles.Types.GetWorkflowStepsResponse, AWSError>;
  242. /**
  243. * Get granular list of steps in workflow.
  244. */
  245. getWorkflowSteps(callback?: (err: AWSError, data: CustomerProfiles.Types.GetWorkflowStepsResponse) => void): Request<CustomerProfiles.Types.GetWorkflowStepsResponse, AWSError>;
  246. /**
  247. * Lists all of the integrations associated to a specific URI in the AWS account.
  248. */
  249. listAccountIntegrations(params: CustomerProfiles.Types.ListAccountIntegrationsRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.ListAccountIntegrationsResponse) => void): Request<CustomerProfiles.Types.ListAccountIntegrationsResponse, AWSError>;
  250. /**
  251. * Lists all of the integrations associated to a specific URI in the AWS account.
  252. */
  253. listAccountIntegrations(callback?: (err: AWSError, data: CustomerProfiles.Types.ListAccountIntegrationsResponse) => void): Request<CustomerProfiles.Types.ListAccountIntegrationsResponse, AWSError>;
  254. /**
  255. * Lists calculated attribute definitions for Customer Profiles
  256. */
  257. listCalculatedAttributeDefinitions(params: CustomerProfiles.Types.ListCalculatedAttributeDefinitionsRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.ListCalculatedAttributeDefinitionsResponse) => void): Request<CustomerProfiles.Types.ListCalculatedAttributeDefinitionsResponse, AWSError>;
  258. /**
  259. * Lists calculated attribute definitions for Customer Profiles
  260. */
  261. listCalculatedAttributeDefinitions(callback?: (err: AWSError, data: CustomerProfiles.Types.ListCalculatedAttributeDefinitionsResponse) => void): Request<CustomerProfiles.Types.ListCalculatedAttributeDefinitionsResponse, AWSError>;
  262. /**
  263. * Retrieve a list of calculated attributes for a customer profile.
  264. */
  265. listCalculatedAttributesForProfile(params: CustomerProfiles.Types.ListCalculatedAttributesForProfileRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.ListCalculatedAttributesForProfileResponse) => void): Request<CustomerProfiles.Types.ListCalculatedAttributesForProfileResponse, AWSError>;
  266. /**
  267. * Retrieve a list of calculated attributes for a customer profile.
  268. */
  269. listCalculatedAttributesForProfile(callback?: (err: AWSError, data: CustomerProfiles.Types.ListCalculatedAttributesForProfileResponse) => void): Request<CustomerProfiles.Types.ListCalculatedAttributesForProfileResponse, AWSError>;
  270. /**
  271. * Returns a list of all the domains for an AWS account that have been created.
  272. */
  273. listDomains(params: CustomerProfiles.Types.ListDomainsRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.ListDomainsResponse) => void): Request<CustomerProfiles.Types.ListDomainsResponse, AWSError>;
  274. /**
  275. * Returns a list of all the domains for an AWS account that have been created.
  276. */
  277. listDomains(callback?: (err: AWSError, data: CustomerProfiles.Types.ListDomainsResponse) => void): Request<CustomerProfiles.Types.ListDomainsResponse, AWSError>;
  278. /**
  279. * Returns a list of all the event streams in a specific domain.
  280. */
  281. listEventStreams(params: CustomerProfiles.Types.ListEventStreamsRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.ListEventStreamsResponse) => void): Request<CustomerProfiles.Types.ListEventStreamsResponse, AWSError>;
  282. /**
  283. * Returns a list of all the event streams in a specific domain.
  284. */
  285. listEventStreams(callback?: (err: AWSError, data: CustomerProfiles.Types.ListEventStreamsResponse) => void): Request<CustomerProfiles.Types.ListEventStreamsResponse, AWSError>;
  286. /**
  287. * Lists all of the Identity Resolution Jobs in your domain. The response sorts the list by JobStartTime.
  288. */
  289. listIdentityResolutionJobs(params: CustomerProfiles.Types.ListIdentityResolutionJobsRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.ListIdentityResolutionJobsResponse) => void): Request<CustomerProfiles.Types.ListIdentityResolutionJobsResponse, AWSError>;
  290. /**
  291. * Lists all of the Identity Resolution Jobs in your domain. The response sorts the list by JobStartTime.
  292. */
  293. listIdentityResolutionJobs(callback?: (err: AWSError, data: CustomerProfiles.Types.ListIdentityResolutionJobsResponse) => void): Request<CustomerProfiles.Types.ListIdentityResolutionJobsResponse, AWSError>;
  294. /**
  295. * Lists all of the integrations in your domain.
  296. */
  297. listIntegrations(params: CustomerProfiles.Types.ListIntegrationsRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.ListIntegrationsResponse) => void): Request<CustomerProfiles.Types.ListIntegrationsResponse, AWSError>;
  298. /**
  299. * Lists all of the integrations in your domain.
  300. */
  301. listIntegrations(callback?: (err: AWSError, data: CustomerProfiles.Types.ListIntegrationsResponse) => void): Request<CustomerProfiles.Types.ListIntegrationsResponse, AWSError>;
  302. /**
  303. * Lists all of the template information for object types.
  304. */
  305. listProfileObjectTypeTemplates(params: CustomerProfiles.Types.ListProfileObjectTypeTemplatesRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.ListProfileObjectTypeTemplatesResponse) => void): Request<CustomerProfiles.Types.ListProfileObjectTypeTemplatesResponse, AWSError>;
  306. /**
  307. * Lists all of the template information for object types.
  308. */
  309. listProfileObjectTypeTemplates(callback?: (err: AWSError, data: CustomerProfiles.Types.ListProfileObjectTypeTemplatesResponse) => void): Request<CustomerProfiles.Types.ListProfileObjectTypeTemplatesResponse, AWSError>;
  310. /**
  311. * Lists all of the templates available within the service.
  312. */
  313. listProfileObjectTypes(params: CustomerProfiles.Types.ListProfileObjectTypesRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.ListProfileObjectTypesResponse) => void): Request<CustomerProfiles.Types.ListProfileObjectTypesResponse, AWSError>;
  314. /**
  315. * Lists all of the templates available within the service.
  316. */
  317. listProfileObjectTypes(callback?: (err: AWSError, data: CustomerProfiles.Types.ListProfileObjectTypesResponse) => void): Request<CustomerProfiles.Types.ListProfileObjectTypesResponse, AWSError>;
  318. /**
  319. * Returns a list of objects associated with a profile of a given ProfileObjectType.
  320. */
  321. listProfileObjects(params: CustomerProfiles.Types.ListProfileObjectsRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.ListProfileObjectsResponse) => void): Request<CustomerProfiles.Types.ListProfileObjectsResponse, AWSError>;
  322. /**
  323. * Returns a list of objects associated with a profile of a given ProfileObjectType.
  324. */
  325. listProfileObjects(callback?: (err: AWSError, data: CustomerProfiles.Types.ListProfileObjectsResponse) => void): Request<CustomerProfiles.Types.ListProfileObjectsResponse, AWSError>;
  326. /**
  327. * Returns a set of MatchIds that belong to the given domain.
  328. */
  329. listRuleBasedMatches(params: CustomerProfiles.Types.ListRuleBasedMatchesRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.ListRuleBasedMatchesResponse) => void): Request<CustomerProfiles.Types.ListRuleBasedMatchesResponse, AWSError>;
  330. /**
  331. * Returns a set of MatchIds that belong to the given domain.
  332. */
  333. listRuleBasedMatches(callback?: (err: AWSError, data: CustomerProfiles.Types.ListRuleBasedMatchesResponse) => void): Request<CustomerProfiles.Types.ListRuleBasedMatchesResponse, AWSError>;
  334. /**
  335. * Displays the tags associated with an Amazon Connect Customer Profiles resource. In Connect Customer Profiles, domains, profile object types, and integrations can be tagged.
  336. */
  337. listTagsForResource(params: CustomerProfiles.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.ListTagsForResourceResponse) => void): Request<CustomerProfiles.Types.ListTagsForResourceResponse, AWSError>;
  338. /**
  339. * Displays the tags associated with an Amazon Connect Customer Profiles resource. In Connect Customer Profiles, domains, profile object types, and integrations can be tagged.
  340. */
  341. listTagsForResource(callback?: (err: AWSError, data: CustomerProfiles.Types.ListTagsForResourceResponse) => void): Request<CustomerProfiles.Types.ListTagsForResourceResponse, AWSError>;
  342. /**
  343. * Query to list all workflows.
  344. */
  345. listWorkflows(params: CustomerProfiles.Types.ListWorkflowsRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.ListWorkflowsResponse) => void): Request<CustomerProfiles.Types.ListWorkflowsResponse, AWSError>;
  346. /**
  347. * Query to list all workflows.
  348. */
  349. listWorkflows(callback?: (err: AWSError, data: CustomerProfiles.Types.ListWorkflowsResponse) => void): Request<CustomerProfiles.Types.ListWorkflowsResponse, AWSError>;
  350. /**
  351. * Runs an AWS Lambda job that does the following: All the profileKeys in the ProfileToBeMerged will be moved to the main profile. All the objects in the ProfileToBeMerged will be moved to the main profile. All the ProfileToBeMerged will be deleted at the end. All the profileKeys in the ProfileIdsToBeMerged will be moved to the main profile. Standard fields are merged as follows: Fields are always "union"-ed if there are no conflicts in standard fields or attributeKeys. When there are conflicting fields: If no SourceProfileIds entry is specified, the main Profile value is always taken. If a SourceProfileIds entry is specified, the specified profileId is always taken, even if it is a NULL value. You can use MergeProfiles together with GetMatches, which returns potentially matching profiles, or use it with the results of another matching system. After profiles have been merged, they cannot be separated (unmerged).
  352. */
  353. mergeProfiles(params: CustomerProfiles.Types.MergeProfilesRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.MergeProfilesResponse) => void): Request<CustomerProfiles.Types.MergeProfilesResponse, AWSError>;
  354. /**
  355. * Runs an AWS Lambda job that does the following: All the profileKeys in the ProfileToBeMerged will be moved to the main profile. All the objects in the ProfileToBeMerged will be moved to the main profile. All the ProfileToBeMerged will be deleted at the end. All the profileKeys in the ProfileIdsToBeMerged will be moved to the main profile. Standard fields are merged as follows: Fields are always "union"-ed if there are no conflicts in standard fields or attributeKeys. When there are conflicting fields: If no SourceProfileIds entry is specified, the main Profile value is always taken. If a SourceProfileIds entry is specified, the specified profileId is always taken, even if it is a NULL value. You can use MergeProfiles together with GetMatches, which returns potentially matching profiles, or use it with the results of another matching system. After profiles have been merged, they cannot be separated (unmerged).
  356. */
  357. mergeProfiles(callback?: (err: AWSError, data: CustomerProfiles.Types.MergeProfilesResponse) => void): Request<CustomerProfiles.Types.MergeProfilesResponse, AWSError>;
  358. /**
  359. * 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.
  360. */
  361. putIntegration(params: CustomerProfiles.Types.PutIntegrationRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.PutIntegrationResponse) => void): Request<CustomerProfiles.Types.PutIntegrationResponse, AWSError>;
  362. /**
  363. * 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.
  364. */
  365. putIntegration(callback?: (err: AWSError, data: CustomerProfiles.Types.PutIntegrationResponse) => void): Request<CustomerProfiles.Types.PutIntegrationResponse, AWSError>;
  366. /**
  367. * Adds additional objects to customer profiles of a given ObjectType. When adding a specific profile object, like a Contact Record, an inferred profile can get created if it is not mapped to an existing profile. The resulting profile will only have a phone number populated in the standard ProfileObject. Any additional Contact Records with the same phone number will be mapped to the same inferred profile. When a ProfileObject is created and if a ProfileObjectType already exists for the ProfileObject, it will provide data to a standard profile depending on the ProfileObjectType definition. PutProfileObject needs an ObjectType, which can be created using PutProfileObjectType.
  368. */
  369. putProfileObject(params: CustomerProfiles.Types.PutProfileObjectRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.PutProfileObjectResponse) => void): Request<CustomerProfiles.Types.PutProfileObjectResponse, AWSError>;
  370. /**
  371. * Adds additional objects to customer profiles of a given ObjectType. When adding a specific profile object, like a Contact Record, an inferred profile can get created if it is not mapped to an existing profile. The resulting profile will only have a phone number populated in the standard ProfileObject. Any additional Contact Records with the same phone number will be mapped to the same inferred profile. When a ProfileObject is created and if a ProfileObjectType already exists for the ProfileObject, it will provide data to a standard profile depending on the ProfileObjectType definition. PutProfileObject needs an ObjectType, which can be created using PutProfileObjectType.
  372. */
  373. putProfileObject(callback?: (err: AWSError, data: CustomerProfiles.Types.PutProfileObjectResponse) => void): Request<CustomerProfiles.Types.PutProfileObjectResponse, AWSError>;
  374. /**
  375. * Defines a ProfileObjectType. To add or remove tags on an existing ObjectType, see TagResource/UntagResource.
  376. */
  377. putProfileObjectType(params: CustomerProfiles.Types.PutProfileObjectTypeRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.PutProfileObjectTypeResponse) => void): Request<CustomerProfiles.Types.PutProfileObjectTypeResponse, AWSError>;
  378. /**
  379. * Defines a ProfileObjectType. To add or remove tags on an existing ObjectType, see TagResource/UntagResource.
  380. */
  381. putProfileObjectType(callback?: (err: AWSError, data: CustomerProfiles.Types.PutProfileObjectTypeResponse) => void): Request<CustomerProfiles.Types.PutProfileObjectTypeResponse, AWSError>;
  382. /**
  383. * Searches for profiles within a specific domain using one or more predefined search keys (e.g., _fullName, _phone, _email, _account, etc.) and/or custom-defined search keys. A search key is a data type pair that consists of a KeyName and Values list. This operation supports searching for profiles with a minimum of 1 key-value(s) pair and up to 5 key-value(s) pairs using either AND or OR logic.
  384. */
  385. searchProfiles(params: CustomerProfiles.Types.SearchProfilesRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.SearchProfilesResponse) => void): Request<CustomerProfiles.Types.SearchProfilesResponse, AWSError>;
  386. /**
  387. * Searches for profiles within a specific domain using one or more predefined search keys (e.g., _fullName, _phone, _email, _account, etc.) and/or custom-defined search keys. A search key is a data type pair that consists of a KeyName and Values list. This operation supports searching for profiles with a minimum of 1 key-value(s) pair and up to 5 key-value(s) pairs using either AND or OR logic.
  388. */
  389. searchProfiles(callback?: (err: AWSError, data: CustomerProfiles.Types.SearchProfilesResponse) => void): Request<CustomerProfiles.Types.SearchProfilesResponse, AWSError>;
  390. /**
  391. * Assigns one or more tags (key-value pairs) to the specified Amazon Connect Customer Profiles resource. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values. In Connect Customer Profiles, domains, profile object types, and integrations can be tagged. Tags don't have any semantic meaning to AWS and are interpreted strictly as strings of characters. You can use the TagResource action with a resource that already has tags. If you specify a new tag key, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag. You can associate as many as 50 tags with a resource.
  392. */
  393. tagResource(params: CustomerProfiles.Types.TagResourceRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.TagResourceResponse) => void): Request<CustomerProfiles.Types.TagResourceResponse, AWSError>;
  394. /**
  395. * Assigns one or more tags (key-value pairs) to the specified Amazon Connect Customer Profiles resource. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values. In Connect Customer Profiles, domains, profile object types, and integrations can be tagged. Tags don't have any semantic meaning to AWS and are interpreted strictly as strings of characters. You can use the TagResource action with a resource that already has tags. If you specify a new tag key, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag. You can associate as many as 50 tags with a resource.
  396. */
  397. tagResource(callback?: (err: AWSError, data: CustomerProfiles.Types.TagResourceResponse) => void): Request<CustomerProfiles.Types.TagResourceResponse, AWSError>;
  398. /**
  399. * Removes one or more tags from the specified Amazon Connect Customer Profiles resource. In Connect Customer Profiles, domains, profile object types, and integrations can be tagged.
  400. */
  401. untagResource(params: CustomerProfiles.Types.UntagResourceRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.UntagResourceResponse) => void): Request<CustomerProfiles.Types.UntagResourceResponse, AWSError>;
  402. /**
  403. * Removes one or more tags from the specified Amazon Connect Customer Profiles resource. In Connect Customer Profiles, domains, profile object types, and integrations can be tagged.
  404. */
  405. untagResource(callback?: (err: AWSError, data: CustomerProfiles.Types.UntagResourceResponse) => void): Request<CustomerProfiles.Types.UntagResourceResponse, AWSError>;
  406. /**
  407. * Updates an existing calculated attribute definition. When updating the Conditions, note that increasing the date range of a calculated attribute will not trigger inclusion of historical data greater than the current date range.
  408. */
  409. updateCalculatedAttributeDefinition(params: CustomerProfiles.Types.UpdateCalculatedAttributeDefinitionRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.UpdateCalculatedAttributeDefinitionResponse) => void): Request<CustomerProfiles.Types.UpdateCalculatedAttributeDefinitionResponse, AWSError>;
  410. /**
  411. * Updates an existing calculated attribute definition. When updating the Conditions, note that increasing the date range of a calculated attribute will not trigger inclusion of historical data greater than the current date range.
  412. */
  413. updateCalculatedAttributeDefinition(callback?: (err: AWSError, data: CustomerProfiles.Types.UpdateCalculatedAttributeDefinitionResponse) => void): Request<CustomerProfiles.Types.UpdateCalculatedAttributeDefinitionResponse, AWSError>;
  414. /**
  415. * Updates the properties of a domain, including creating or selecting a dead letter queue or an encryption key. After a domain is created, the name can’t be changed. Use this API or CreateDomain to enable identity resolution: set Matching to true. To prevent cross-service impersonation when you call this API, see Cross-service confused deputy prevention for sample policies that you should apply. To add or remove tags on an existing Domain, see TagResource/UntagResource.
  416. */
  417. updateDomain(params: CustomerProfiles.Types.UpdateDomainRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.UpdateDomainResponse) => void): Request<CustomerProfiles.Types.UpdateDomainResponse, AWSError>;
  418. /**
  419. * Updates the properties of a domain, including creating or selecting a dead letter queue or an encryption key. After a domain is created, the name can’t be changed. Use this API or CreateDomain to enable identity resolution: set Matching to true. To prevent cross-service impersonation when you call this API, see Cross-service confused deputy prevention for sample policies that you should apply. To add or remove tags on an existing Domain, see TagResource/UntagResource.
  420. */
  421. updateDomain(callback?: (err: AWSError, data: CustomerProfiles.Types.UpdateDomainResponse) => void): Request<CustomerProfiles.Types.UpdateDomainResponse, AWSError>;
  422. /**
  423. * Updates the properties of a profile. The ProfileId is required for updating a customer profile. When calling the UpdateProfile API, specifying an empty string value means that any existing value will be removed. Not specifying a string value means that any value already there will be kept.
  424. */
  425. updateProfile(params: CustomerProfiles.Types.UpdateProfileRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.UpdateProfileResponse) => void): Request<CustomerProfiles.Types.UpdateProfileResponse, AWSError>;
  426. /**
  427. * Updates the properties of a profile. The ProfileId is required for updating a customer profile. When calling the UpdateProfile API, specifying an empty string value means that any existing value will be removed. Not specifying a string value means that any value already there will be kept.
  428. */
  429. updateProfile(callback?: (err: AWSError, data: CustomerProfiles.Types.UpdateProfileResponse) => void): Request<CustomerProfiles.Types.UpdateProfileResponse, AWSError>;
  430. }
  431. declare namespace CustomerProfiles {
  432. export type name = string;
  433. export interface AddProfileKeyRequest {
  434. /**
  435. * The unique identifier of a customer profile.
  436. */
  437. ProfileId: uuid;
  438. /**
  439. * A searchable identifier of a customer profile. The predefined keys you can use include: _account, _profileId, _assetId, _caseId, _orderId, _fullName, _phone, _email, _ctrContactId, _marketoLeadId, _salesforceAccountId, _salesforceContactId, _salesforceAssetId, _zendeskUserId, _zendeskExternalId, _zendeskTicketId, _serviceNowSystemId, _serviceNowIncidentId, _segmentUserId, _shopifyCustomerId, _shopifyOrderId.
  440. */
  441. KeyName: name;
  442. /**
  443. * A list of key values.
  444. */
  445. Values: requestValueList;
  446. /**
  447. * The unique name of the domain.
  448. */
  449. DomainName: name;
  450. }
  451. export interface AddProfileKeyResponse {
  452. /**
  453. * A searchable identifier of a customer profile.
  454. */
  455. KeyName?: name;
  456. /**
  457. * A list of key values.
  458. */
  459. Values?: requestValueList;
  460. }
  461. export interface AdditionalSearchKey {
  462. /**
  463. * A searchable identifier of a customer profile.
  464. */
  465. KeyName: name;
  466. /**
  467. * A list of key values.
  468. */
  469. Values: requestValueList;
  470. }
  471. export interface Address {
  472. /**
  473. * The first line of a customer address.
  474. */
  475. Address1?: string1To255;
  476. /**
  477. * The second line of a customer address.
  478. */
  479. Address2?: string1To255;
  480. /**
  481. * The third line of a customer address.
  482. */
  483. Address3?: string1To255;
  484. /**
  485. * The fourth line of a customer address.
  486. */
  487. Address4?: string1To255;
  488. /**
  489. * The city in which a customer lives.
  490. */
  491. City?: string1To255;
  492. /**
  493. * The county in which a customer lives.
  494. */
  495. County?: string1To255;
  496. /**
  497. * The state in which a customer lives.
  498. */
  499. State?: string1To255;
  500. /**
  501. * The province in which a customer lives.
  502. */
  503. Province?: string1To255;
  504. /**
  505. * The country in which a customer lives.
  506. */
  507. Country?: string1To255;
  508. /**
  509. * The postal code of a customer address.
  510. */
  511. PostalCode?: string1To255;
  512. }
  513. export type AddressList = string1To255[];
  514. export interface AppflowIntegration {
  515. FlowDefinition: FlowDefinition;
  516. /**
  517. * Batches in workflow of type APPFLOW_INTEGRATION.
  518. */
  519. Batches?: Batches;
  520. }
  521. export interface AppflowIntegrationWorkflowAttributes {
  522. /**
  523. * Specifies the source connector type, such as Salesforce, ServiceNow, and Marketo. Indicates source of ingestion.
  524. */
  525. SourceConnectorType: SourceConnectorType;
  526. /**
  527. * The name of the AppFlow connector profile used for ingestion.
  528. */
  529. ConnectorProfileName: ConnectorProfileName;
  530. /**
  531. * The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes this role to create resources on your behalf as part of workflow execution.
  532. */
  533. RoleArn?: string1To255;
  534. }
  535. export interface AppflowIntegrationWorkflowMetrics {
  536. /**
  537. * Number of records processed in APPFLOW_INTEGRATION workflow.
  538. */
  539. RecordsProcessed: long;
  540. /**
  541. * Total steps completed in APPFLOW_INTEGRATION workflow.
  542. */
  543. StepsCompleted: long;
  544. /**
  545. * Total steps in APPFLOW_INTEGRATION workflow.
  546. */
  547. TotalSteps: long;
  548. }
  549. export interface AppflowIntegrationWorkflowStep {
  550. /**
  551. * Name of the flow created during execution of workflow step. APPFLOW_INTEGRATION workflow type creates an appflow flow during workflow step execution on the customers behalf.
  552. */
  553. FlowName: FlowName;
  554. /**
  555. * Workflow step status for APPFLOW_INTEGRATION workflow.
  556. */
  557. Status: Status;
  558. /**
  559. * Message indicating execution of workflow step for APPFLOW_INTEGRATION workflow.
  560. */
  561. ExecutionMessage: string1To255;
  562. /**
  563. * Total number of records processed during execution of workflow step for APPFLOW_INTEGRATION workflow.
  564. */
  565. RecordsProcessed: long;
  566. /**
  567. * Start datetime of records pulled in batch during execution of workflow step for APPFLOW_INTEGRATION workflow.
  568. */
  569. BatchRecordsStartTime: string1To255;
  570. /**
  571. * End datetime of records pulled in batch during execution of workflow step for APPFLOW_INTEGRATION workflow.
  572. */
  573. BatchRecordsEndTime: string1To255;
  574. /**
  575. * Creation timestamp of workflow step for APPFLOW_INTEGRATION workflow.
  576. */
  577. CreatedAt: timestamp;
  578. /**
  579. * Last updated timestamp for workflow step for APPFLOW_INTEGRATION workflow.
  580. */
  581. LastUpdatedAt: timestamp;
  582. }
  583. export interface AttributeDetails {
  584. /**
  585. * A list of attribute items specified in the mathematical expression.
  586. */
  587. Attributes: AttributeList;
  588. /**
  589. * Mathematical expression that is performed on attribute items provided in the attribute list. Each element in the expression should follow the structure of \"{ObjectTypeName.AttributeName}\".
  590. */
  591. Expression: string1To255;
  592. }
  593. export interface AttributeItem {
  594. /**
  595. * The name of an attribute defined in a profile object type.
  596. */
  597. Name: attributeName;
  598. }
  599. export type AttributeList = AttributeItem[];
  600. export type AttributeMatchingModel = "ONE_TO_ONE"|"MANY_TO_MANY"|string;
  601. export type AttributeSourceIdMap = {[key: string]: uuid};
  602. export interface AttributeTypesSelector {
  603. /**
  604. * Configures the AttributeMatchingModel, you can either choose ONE_TO_ONE or MANY_TO_MANY.
  605. */
  606. AttributeMatchingModel: AttributeMatchingModel;
  607. /**
  608. * The Address type. You can choose from Address, BusinessAddress, MaillingAddress, and ShippingAddress. You only can use the Address type in the MatchingRule. For example, if you want to match profile based on BusinessAddress.City or MaillingAddress.City, you need to choose the BusinessAddress and the MaillingAddress to represent the Address type and specify the Address.City on the matching rule.
  609. */
  610. Address?: AddressList;
  611. /**
  612. * The PhoneNumber type. You can choose from PhoneNumber, HomePhoneNumber, and MobilePhoneNumber. You only can use the PhoneNumber type in the MatchingRule. For example, if you want to match a profile based on Phone or HomePhone, you need to choose the Phone and the HomePhone to represent the PhoneNumber type and only specify the PhoneNumber on the matching rule.
  613. */
  614. PhoneNumber?: PhoneNumberList;
  615. /**
  616. * The Email type. You can choose from EmailAddress, BusinessEmailAddress and PersonalEmailAddress. You only can use the EmailAddress type in the MatchingRule. For example, if you want to match profile based on PersonalEmailAddress or BusinessEmailAddress, you need to choose the PersonalEmailAddress and the BusinessEmailAddress to represent the EmailAddress type and only specify the EmailAddress on the matching rule.
  617. */
  618. EmailAddress?: EmailList;
  619. }
  620. export type Attributes = {[key: string]: string1To255};
  621. export interface AutoMerging {
  622. /**
  623. * The flag that enables the auto-merging of duplicate profiles.
  624. */
  625. Enabled: optionalBoolean;
  626. /**
  627. * A list of matching attributes that represent matching criteria. If two profiles meet at least one of the requirements in the matching attributes list, they will be merged.
  628. */
  629. Consolidation?: Consolidation;
  630. /**
  631. * How the auto-merging process should resolve conflicts between different profiles. For example, if Profile A and Profile B have the same FirstName and LastName (and that is the matching criteria), which EmailAddress should be used?
  632. */
  633. ConflictResolution?: ConflictResolution;
  634. /**
  635. * A number between 0 and 1 that represents the minimum confidence score required for profiles within a matching group to be merged during the auto-merge process. A higher score means higher similarity required to merge profiles.
  636. */
  637. MinAllowedConfidenceScoreForMerging?: Double0To1;
  638. }
  639. export interface Batch {
  640. /**
  641. * Start time of batch to split ingestion.
  642. */
  643. StartTime: timestamp;
  644. /**
  645. * End time of batch to split ingestion.
  646. */
  647. EndTime: timestamp;
  648. }
  649. export type Batches = Batch[];
  650. export type BucketName = string;
  651. export type BucketPrefix = string;
  652. export type CalculatedAttributeDefinitionsList = ListCalculatedAttributeDefinitionItem[];
  653. export type CalculatedAttributesForProfileList = ListCalculatedAttributeForProfileItem[];
  654. export interface Conditions {
  655. /**
  656. * The relative time period over which data is included in the aggregation.
  657. */
  658. Range?: Range;
  659. /**
  660. * The number of profile objects used for the calculated attribute.
  661. */
  662. ObjectCount?: ObjectCount;
  663. /**
  664. * The threshold for the calculated attribute.
  665. */
  666. Threshold?: Threshold;
  667. }
  668. export interface ConflictResolution {
  669. /**
  670. * How the auto-merging process should resolve conflicts between different profiles. RECENCY: Uses the data that was most recently updated. SOURCE: Uses the data from a specific source. For example, if a company has been aquired or two departments have merged, data from the specified source is used. If two duplicate profiles are from the same source, then RECENCY is used again.
  671. */
  672. ConflictResolvingModel: ConflictResolvingModel;
  673. /**
  674. * The ObjectType name that is used to resolve profile merging conflicts when choosing SOURCE as the ConflictResolvingModel.
  675. */
  676. SourceName?: string1To255;
  677. }
  678. export type ConflictResolvingModel = "RECENCY"|"SOURCE"|string;
  679. export interface ConnectorOperator {
  680. /**
  681. * The operation to be performed on the provided Marketo source fields.
  682. */
  683. Marketo?: MarketoConnectorOperator;
  684. /**
  685. * The operation to be performed on the provided Amazon S3 source fields.
  686. */
  687. S3?: S3ConnectorOperator;
  688. /**
  689. * The operation to be performed on the provided Salesforce source fields.
  690. */
  691. Salesforce?: SalesforceConnectorOperator;
  692. /**
  693. * The operation to be performed on the provided ServiceNow source fields.
  694. */
  695. ServiceNow?: ServiceNowConnectorOperator;
  696. /**
  697. * The operation to be performed on the provided Zendesk source fields.
  698. */
  699. Zendesk?: ZendeskConnectorOperator;
  700. }
  701. export type ConnectorProfileName = string;
  702. export interface Consolidation {
  703. /**
  704. * A list of matching criteria.
  705. */
  706. MatchingAttributesList: MatchingAttributesList;
  707. }
  708. export interface CreateCalculatedAttributeDefinitionRequest {
  709. /**
  710. * The unique name of the domain.
  711. */
  712. DomainName: name;
  713. /**
  714. * The unique name of the calculated attribute.
  715. */
  716. CalculatedAttributeName: typeName;
  717. /**
  718. * The display name of the calculated attribute.
  719. */
  720. DisplayName?: displayName;
  721. /**
  722. * The description of the calculated attribute.
  723. */
  724. Description?: sensitiveText;
  725. /**
  726. * Mathematical expression and a list of attribute items specified in that expression.
  727. */
  728. AttributeDetails: AttributeDetails;
  729. /**
  730. * The conditions including range, object count, and threshold for the calculated attribute.
  731. */
  732. Conditions?: Conditions;
  733. /**
  734. * The aggregation operation to perform for the calculated attribute.
  735. */
  736. Statistic: Statistic;
  737. /**
  738. * The tags used to organize, track, or control access for this resource.
  739. */
  740. Tags?: TagMap;
  741. }
  742. export interface CreateCalculatedAttributeDefinitionResponse {
  743. /**
  744. * The unique name of the calculated attribute.
  745. */
  746. CalculatedAttributeName?: typeName;
  747. /**
  748. * The display name of the calculated attribute.
  749. */
  750. DisplayName?: displayName;
  751. /**
  752. * The description of the calculated attribute.
  753. */
  754. Description?: sensitiveText;
  755. /**
  756. * Mathematical expression and a list of attribute items specified in that expression.
  757. */
  758. AttributeDetails?: AttributeDetails;
  759. /**
  760. * The conditions including range, object count, and threshold for the calculated attribute.
  761. */
  762. Conditions?: Conditions;
  763. /**
  764. * The aggregation operation to perform for the calculated attribute.
  765. */
  766. Statistic?: Statistic;
  767. /**
  768. * The timestamp of when the calculated attribute definition was created.
  769. */
  770. CreatedAt?: timestamp;
  771. /**
  772. * The timestamp of when the calculated attribute definition was most recently edited.
  773. */
  774. LastUpdatedAt?: timestamp;
  775. /**
  776. * The tags used to organize, track, or control access for this resource.
  777. */
  778. Tags?: TagMap;
  779. }
  780. export interface CreateDomainRequest {
  781. /**
  782. * The unique name of the domain.
  783. */
  784. DomainName: name;
  785. /**
  786. * The default number of days until the data within the domain expires.
  787. */
  788. DefaultExpirationDays: expirationDaysInteger;
  789. /**
  790. * The default encryption key, which is an AWS managed key, is used when no specific type of encryption key is specified. It is used to encrypt all data before it is placed in permanent or semi-permanent storage.
  791. */
  792. DefaultEncryptionKey?: encryptionKey;
  793. /**
  794. * The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from third party applications. You must set up a policy on the DeadLetterQueue for the SendMessage operation to enable Amazon Connect Customer Profiles to send messages to the DeadLetterQueue.
  795. */
  796. DeadLetterQueueUrl?: sqsQueueUrl;
  797. /**
  798. * The process of matching duplicate profiles. If Matching = true, Amazon Connect Customer Profiles starts a weekly batch process called Identity Resolution Job. If you do not specify a date and time for Identity Resolution Job to run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles in your domains. After the Identity Resolution Job completes, use the GetMatches API to return and review the results. Or, if you have configured ExportingConfig in the MatchingRequest, you can download the results from S3.
  799. */
  800. Matching?: MatchingRequest;
  801. /**
  802. * The process of matching duplicate profiles using the Rule-Based matching. If RuleBasedMatching = true, Amazon Connect Customer Profiles will start to match and merge your profiles according to your configuration in the RuleBasedMatchingRequest. You can use the ListRuleBasedMatches and GetSimilarProfiles API to return and review the results. Also, if you have configured ExportingConfig in the RuleBasedMatchingRequest, you can download the results from S3.
  803. */
  804. RuleBasedMatching?: RuleBasedMatchingRequest;
  805. /**
  806. * The tags used to organize, track, or control access for this resource.
  807. */
  808. Tags?: TagMap;
  809. }
  810. export interface CreateDomainResponse {
  811. /**
  812. * The unique name of the domain.
  813. */
  814. DomainName: name;
  815. /**
  816. * The default number of days until the data within the domain expires.
  817. */
  818. DefaultExpirationDays: expirationDaysInteger;
  819. /**
  820. * The default encryption key, which is an AWS managed key, is used when no specific type of encryption key is specified. It is used to encrypt all data before it is placed in permanent or semi-permanent storage.
  821. */
  822. DefaultEncryptionKey?: encryptionKey;
  823. /**
  824. * The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from third party applications.
  825. */
  826. DeadLetterQueueUrl?: sqsQueueUrl;
  827. /**
  828. * The process of matching duplicate profiles. If Matching = true, Amazon Connect Customer Profiles starts a weekly batch process called Identity Resolution Job. If you do not specify a date and time for Identity Resolution Job to run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles in your domains. After the Identity Resolution Job completes, use the GetMatches API to return and review the results. Or, if you have configured ExportingConfig in the MatchingRequest, you can download the results from S3.
  829. */
  830. Matching?: MatchingResponse;
  831. /**
  832. * The process of matching duplicate profiles using the Rule-Based matching. If RuleBasedMatching = true, Amazon Connect Customer Profiles will start to match and merge your profiles according to your configuration in the RuleBasedMatchingRequest. You can use the ListRuleBasedMatches and GetSimilarProfiles API to return and review the results. Also, if you have configured ExportingConfig in the RuleBasedMatchingRequest, you can download the results from S3.
  833. */
  834. RuleBasedMatching?: RuleBasedMatchingResponse;
  835. /**
  836. * The timestamp of when the domain was created.
  837. */
  838. CreatedAt: timestamp;
  839. /**
  840. * The timestamp of when the domain was most recently edited.
  841. */
  842. LastUpdatedAt: timestamp;
  843. /**
  844. * The tags used to organize, track, or control access for this resource.
  845. */
  846. Tags?: TagMap;
  847. }
  848. export interface CreateEventStreamRequest {
  849. /**
  850. * The unique name of the domain.
  851. */
  852. DomainName: name;
  853. /**
  854. * The StreamARN of the destination to deliver profile events to. For example, arn:aws:kinesis:region:account-id:stream/stream-name
  855. */
  856. Uri: string1To255;
  857. /**
  858. * The name of the event stream.
  859. */
  860. EventStreamName: name;
  861. /**
  862. * The tags used to organize, track, or control access for this resource.
  863. */
  864. Tags?: TagMap;
  865. }
  866. export interface CreateEventStreamResponse {
  867. /**
  868. * A unique identifier for the event stream.
  869. */
  870. EventStreamArn: string1To255;
  871. /**
  872. * The tags used to organize, track, or control access for this resource.
  873. */
  874. Tags?: TagMap;
  875. }
  876. export interface CreateIntegrationWorkflowRequest {
  877. /**
  878. * The unique name of the domain.
  879. */
  880. DomainName: name;
  881. /**
  882. * The type of workflow. The only supported value is APPFLOW_INTEGRATION.
  883. */
  884. WorkflowType: WorkflowType;
  885. /**
  886. * Configuration data for integration workflow.
  887. */
  888. IntegrationConfig: IntegrationConfig;
  889. /**
  890. * The name of the profile object type.
  891. */
  892. ObjectTypeName: typeName;
  893. /**
  894. * The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes this role to create resources on your behalf as part of workflow execution.
  895. */
  896. RoleArn: RoleArn;
  897. /**
  898. * The tags used to organize, track, or control access for this resource.
  899. */
  900. Tags?: TagMap;
  901. }
  902. export interface CreateIntegrationWorkflowResponse {
  903. /**
  904. * Unique identifier for the workflow.
  905. */
  906. WorkflowId: uuid;
  907. /**
  908. * A message indicating create request was received.
  909. */
  910. Message: string1To255;
  911. }
  912. export interface CreateProfileRequest {
  913. /**
  914. * The unique name of the domain.
  915. */
  916. DomainName: name;
  917. /**
  918. * A unique account number that you have given to the customer.
  919. */
  920. AccountNumber?: sensitiveString1To255;
  921. /**
  922. * Any additional information relevant to the customer’s profile.
  923. */
  924. AdditionalInformation?: sensitiveString1To1000;
  925. /**
  926. * The type of profile used to describe the customer.
  927. */
  928. PartyType?: PartyType;
  929. /**
  930. * The name of the customer’s business.
  931. */
  932. BusinessName?: sensitiveString1To255;
  933. /**
  934. * The customer’s first name.
  935. */
  936. FirstName?: sensitiveString1To255;
  937. /**
  938. * The customer’s middle name.
  939. */
  940. MiddleName?: sensitiveString1To255;
  941. /**
  942. * The customer’s last name.
  943. */
  944. LastName?: sensitiveString1To255;
  945. /**
  946. * The customer’s birth date.
  947. */
  948. BirthDate?: sensitiveString1To255;
  949. /**
  950. * The gender with which the customer identifies.
  951. */
  952. Gender?: Gender;
  953. /**
  954. * The customer’s phone number, which has not been specified as a mobile, home, or business number.
  955. */
  956. PhoneNumber?: sensitiveString1To255;
  957. /**
  958. * The customer’s mobile phone number.
  959. */
  960. MobilePhoneNumber?: sensitiveString1To255;
  961. /**
  962. * The customer’s home phone number.
  963. */
  964. HomePhoneNumber?: sensitiveString1To255;
  965. /**
  966. * The customer’s business phone number.
  967. */
  968. BusinessPhoneNumber?: sensitiveString1To255;
  969. /**
  970. * The customer’s email address, which has not been specified as a personal or business address.
  971. */
  972. EmailAddress?: sensitiveString1To255;
  973. /**
  974. * The customer’s personal email address.
  975. */
  976. PersonalEmailAddress?: sensitiveString1To255;
  977. /**
  978. * The customer’s business email address.
  979. */
  980. BusinessEmailAddress?: sensitiveString1To255;
  981. /**
  982. * A generic address associated with the customer that is not mailing, shipping, or billing.
  983. */
  984. Address?: Address;
  985. /**
  986. * The customer’s shipping address.
  987. */
  988. ShippingAddress?: Address;
  989. /**
  990. * The customer’s mailing address.
  991. */
  992. MailingAddress?: Address;
  993. /**
  994. * The customer’s billing address.
  995. */
  996. BillingAddress?: Address;
  997. /**
  998. * A key value pair of attributes of a customer profile.
  999. */
  1000. Attributes?: Attributes;
  1001. /**
  1002. * An alternative to PartyType which accepts any string as input.
  1003. */
  1004. PartyTypeString?: sensitiveString1To255;
  1005. /**
  1006. * An alternative to Gender which accepts any string as input.
  1007. */
  1008. GenderString?: sensitiveString1To255;
  1009. }
  1010. export interface CreateProfileResponse {
  1011. /**
  1012. * The unique identifier of a customer profile.
  1013. */
  1014. ProfileId: uuid;
  1015. }
  1016. export type DataPullMode = "Incremental"|"Complete"|string;
  1017. export type _Date = Date;
  1018. export type DatetimeTypeFieldName = string;
  1019. export interface DeleteCalculatedAttributeDefinitionRequest {
  1020. /**
  1021. * The unique name of the domain.
  1022. */
  1023. DomainName: name;
  1024. /**
  1025. * The unique name of the calculated attribute.
  1026. */
  1027. CalculatedAttributeName: typeName;
  1028. }
  1029. export interface DeleteCalculatedAttributeDefinitionResponse {
  1030. }
  1031. export interface DeleteDomainRequest {
  1032. /**
  1033. * The unique name of the domain.
  1034. */
  1035. DomainName: name;
  1036. }
  1037. export interface DeleteDomainResponse {
  1038. /**
  1039. * A message that indicates the delete request is done.
  1040. */
  1041. Message: message;
  1042. }
  1043. export interface DeleteEventStreamRequest {
  1044. /**
  1045. * The unique name of the domain.
  1046. */
  1047. DomainName: name;
  1048. /**
  1049. * The name of the event stream
  1050. */
  1051. EventStreamName: name;
  1052. }
  1053. export interface DeleteEventStreamResponse {
  1054. }
  1055. export interface DeleteIntegrationRequest {
  1056. /**
  1057. * The unique name of the domain.
  1058. */
  1059. DomainName: name;
  1060. /**
  1061. * The URI of the S3 bucket or any other type of data source.
  1062. */
  1063. Uri: string1To255;
  1064. }
  1065. export interface DeleteIntegrationResponse {
  1066. /**
  1067. * A message that indicates the delete request is done.
  1068. */
  1069. Message: message;
  1070. }
  1071. export interface DeleteProfileKeyRequest {
  1072. /**
  1073. * The unique identifier of a customer profile.
  1074. */
  1075. ProfileId: uuid;
  1076. /**
  1077. * A searchable identifier of a customer profile.
  1078. */
  1079. KeyName: name;
  1080. /**
  1081. * A list of key values.
  1082. */
  1083. Values: requestValueList;
  1084. /**
  1085. * The unique name of the domain.
  1086. */
  1087. DomainName: name;
  1088. }
  1089. export interface DeleteProfileKeyResponse {
  1090. /**
  1091. * A message that indicates the delete request is done.
  1092. */
  1093. Message?: message;
  1094. }
  1095. export interface DeleteProfileObjectRequest {
  1096. /**
  1097. * The unique identifier of a customer profile.
  1098. */
  1099. ProfileId: uuid;
  1100. /**
  1101. * The unique identifier of the profile object generated by the service.
  1102. */
  1103. ProfileObjectUniqueKey: string1To255;
  1104. /**
  1105. * The name of the profile object type.
  1106. */
  1107. ObjectTypeName: typeName;
  1108. /**
  1109. * The unique name of the domain.
  1110. */
  1111. DomainName: name;
  1112. }
  1113. export interface DeleteProfileObjectResponse {
  1114. /**
  1115. * A message that indicates the delete request is done.
  1116. */
  1117. Message?: message;
  1118. }
  1119. export interface DeleteProfileObjectTypeRequest {
  1120. /**
  1121. * The unique name of the domain.
  1122. */
  1123. DomainName: name;
  1124. /**
  1125. * The name of the profile object type.
  1126. */
  1127. ObjectTypeName: typeName;
  1128. }
  1129. export interface DeleteProfileObjectTypeResponse {
  1130. /**
  1131. * A message that indicates the delete request is done.
  1132. */
  1133. Message: message;
  1134. }
  1135. export interface DeleteProfileRequest {
  1136. /**
  1137. * The unique identifier of a customer profile.
  1138. */
  1139. ProfileId: uuid;
  1140. /**
  1141. * The unique name of the domain.
  1142. */
  1143. DomainName: name;
  1144. }
  1145. export interface DeleteProfileResponse {
  1146. /**
  1147. * A message that indicates the delete request is done.
  1148. */
  1149. Message?: message;
  1150. }
  1151. export interface DeleteWorkflowRequest {
  1152. /**
  1153. * The unique name of the domain.
  1154. */
  1155. DomainName: name;
  1156. /**
  1157. * Unique identifier for the workflow.
  1158. */
  1159. WorkflowId: string1To255;
  1160. }
  1161. export interface DeleteWorkflowResponse {
  1162. }
  1163. export type DestinationField = string;
  1164. export interface DestinationSummary {
  1165. /**
  1166. * The StreamARN of the destination to deliver profile events to. For example, arn:aws:kinesis:region:account-id:stream/stream-name.
  1167. */
  1168. Uri: string1To255;
  1169. /**
  1170. * The status of enabling the Kinesis stream as a destination for export.
  1171. */
  1172. Status: EventStreamDestinationStatus;
  1173. /**
  1174. * The timestamp when the status last changed to UNHEALHY.
  1175. */
  1176. UnhealthySince?: timestamp;
  1177. }
  1178. export interface DetectProfileObjectTypeRequest {
  1179. /**
  1180. * A string that is serialized from a JSON object.
  1181. */
  1182. Objects: Objects;
  1183. /**
  1184. * The unique name of the domain.
  1185. */
  1186. DomainName: name;
  1187. }
  1188. export interface DetectProfileObjectTypeResponse {
  1189. /**
  1190. * Detected ProfileObjectType mappings from given objects. A maximum of one mapping is supported.
  1191. */
  1192. DetectedProfileObjectTypes?: DetectedProfileObjectTypes;
  1193. }
  1194. export interface DetectedProfileObjectType {
  1195. /**
  1196. * The format of sourceLastUpdatedTimestamp that was detected in fields.
  1197. */
  1198. SourceLastUpdatedTimestampFormat?: string1To255;
  1199. /**
  1200. * A map of the name and the ObjectType field.
  1201. */
  1202. Fields?: FieldMap;
  1203. /**
  1204. * A list of unique keys that can be used to map data to a profile.
  1205. */
  1206. Keys?: KeyMap;
  1207. }
  1208. export type DetectedProfileObjectTypes = DetectedProfileObjectType[];
  1209. export type DomainList = ListDomainItem[];
  1210. export interface DomainStats {
  1211. /**
  1212. * The total number of profiles currently in the domain.
  1213. */
  1214. ProfileCount?: long;
  1215. /**
  1216. * The number of profiles that you are currently paying for in the domain. If you have more than 100 objects associated with a single profile, that profile counts as two profiles. If you have more than 200 objects, that profile counts as three, and so on.
  1217. */
  1218. MeteringProfileCount?: long;
  1219. /**
  1220. * The total number of objects in domain.
  1221. */
  1222. ObjectCount?: long;
  1223. /**
  1224. * The total size, in bytes, of all objects in the domain.
  1225. */
  1226. TotalSize?: long;
  1227. }
  1228. export type Double = number;
  1229. export type Double0To1 = number;
  1230. export type EmailList = string1To255[];
  1231. export interface EventStreamDestinationDetails {
  1232. /**
  1233. * The StreamARN of the destination to deliver profile events to. For example, arn:aws:kinesis:region:account-id:stream/stream-name.
  1234. */
  1235. Uri: string1To255;
  1236. /**
  1237. * The status of enabling the Kinesis stream as a destination for export.
  1238. */
  1239. Status: EventStreamDestinationStatus;
  1240. /**
  1241. * The timestamp when the status last changed to UNHEALHY.
  1242. */
  1243. UnhealthySince?: timestamp;
  1244. /**
  1245. * The human-readable string that corresponds to the error or success while enabling the streaming destination.
  1246. */
  1247. Message?: string1To1000;
  1248. }
  1249. export type EventStreamDestinationStatus = "HEALTHY"|"UNHEALTHY"|string;
  1250. export type EventStreamState = "RUNNING"|"STOPPED"|string;
  1251. export interface EventStreamSummary {
  1252. /**
  1253. * The unique name of the domain.
  1254. */
  1255. DomainName: name;
  1256. /**
  1257. * The name of the event stream.
  1258. */
  1259. EventStreamName: name;
  1260. /**
  1261. * A unique identifier for the event stream.
  1262. */
  1263. EventStreamArn: string1To255;
  1264. /**
  1265. * The operational state of destination stream for export.
  1266. */
  1267. State: EventStreamState;
  1268. /**
  1269. * The timestamp when the State changed to STOPPED.
  1270. */
  1271. StoppedSince?: timestamp;
  1272. /**
  1273. * Summary information about the Kinesis data stream.
  1274. */
  1275. DestinationSummary?: DestinationSummary;
  1276. /**
  1277. * The tags used to organize, track, or control access for this resource.
  1278. */
  1279. Tags?: TagMap;
  1280. }
  1281. export type EventStreamSummaryList = EventStreamSummary[];
  1282. export interface ExportingConfig {
  1283. /**
  1284. * The S3 location where Identity Resolution Jobs write result files.
  1285. */
  1286. S3Exporting?: S3ExportingConfig;
  1287. }
  1288. export interface ExportingLocation {
  1289. /**
  1290. * Information about the S3 location where Identity Resolution Jobs write result files.
  1291. */
  1292. S3Exporting?: S3ExportingLocation;
  1293. }
  1294. export type FieldContentType = "STRING"|"NUMBER"|"PHONE_NUMBER"|"EMAIL_ADDRESS"|"NAME"|string;
  1295. export type FieldMap = {[key: string]: ObjectTypeField};
  1296. export type FieldNameList = name[];
  1297. export interface FieldSourceProfileIds {
  1298. /**
  1299. * A unique identifier for the account number field to be merged.
  1300. */
  1301. AccountNumber?: uuid;
  1302. /**
  1303. * A unique identifier for the additional information field to be merged.
  1304. */
  1305. AdditionalInformation?: uuid;
  1306. /**
  1307. * A unique identifier for the party type field to be merged.
  1308. */
  1309. PartyType?: uuid;
  1310. /**
  1311. * A unique identifier for the business name field to be merged.
  1312. */
  1313. BusinessName?: uuid;
  1314. /**
  1315. * A unique identifier for the first name field to be merged.
  1316. */
  1317. FirstName?: uuid;
  1318. /**
  1319. * A unique identifier for the middle name field to be merged.
  1320. */
  1321. MiddleName?: uuid;
  1322. /**
  1323. * A unique identifier for the last name field to be merged.
  1324. */
  1325. LastName?: uuid;
  1326. /**
  1327. * A unique identifier for the birthdate field to be merged.
  1328. */
  1329. BirthDate?: uuid;
  1330. /**
  1331. * A unique identifier for the gender field to be merged.
  1332. */
  1333. Gender?: uuid;
  1334. /**
  1335. * A unique identifier for the phone number field to be merged.
  1336. */
  1337. PhoneNumber?: uuid;
  1338. /**
  1339. * A unique identifier for the mobile phone number field to be merged.
  1340. */
  1341. MobilePhoneNumber?: uuid;
  1342. /**
  1343. * A unique identifier for the home phone number field to be merged.
  1344. */
  1345. HomePhoneNumber?: uuid;
  1346. /**
  1347. * A unique identifier for the business phone number field to be merged.
  1348. */
  1349. BusinessPhoneNumber?: uuid;
  1350. /**
  1351. * A unique identifier for the email address field to be merged.
  1352. */
  1353. EmailAddress?: uuid;
  1354. /**
  1355. * A unique identifier for the personal email address field to be merged.
  1356. */
  1357. PersonalEmailAddress?: uuid;
  1358. /**
  1359. * A unique identifier for the party type field to be merged.
  1360. */
  1361. BusinessEmailAddress?: uuid;
  1362. /**
  1363. * A unique identifier for the party type field to be merged.
  1364. */
  1365. Address?: uuid;
  1366. /**
  1367. * A unique identifier for the shipping address field to be merged.
  1368. */
  1369. ShippingAddress?: uuid;
  1370. /**
  1371. * A unique identifier for the mailing address field to be merged.
  1372. */
  1373. MailingAddress?: uuid;
  1374. /**
  1375. * A unique identifier for the billing type field to be merged.
  1376. */
  1377. BillingAddress?: uuid;
  1378. /**
  1379. * A unique identifier for the attributes field to be merged.
  1380. */
  1381. Attributes?: AttributeSourceIdMap;
  1382. }
  1383. export interface FlowDefinition {
  1384. /**
  1385. * A description of the flow you want to create.
  1386. */
  1387. Description?: FlowDescription;
  1388. /**
  1389. * The specified name of the flow. Use underscores (_) or hyphens (-) only. Spaces are not allowed.
  1390. */
  1391. FlowName: FlowName;
  1392. /**
  1393. * The Amazon Resource Name of the AWS Key Management Service (KMS) key you provide for encryption.
  1394. */
  1395. KmsArn: KmsArn;
  1396. /**
  1397. * The configuration that controls how Customer Profiles retrieves data from the source.
  1398. */
  1399. SourceFlowConfig: SourceFlowConfig;
  1400. /**
  1401. * A list of tasks that Customer Profiles performs while transferring the data in the flow run.
  1402. */
  1403. Tasks: Tasks;
  1404. /**
  1405. * The trigger settings that determine how and when the flow runs.
  1406. */
  1407. TriggerConfig: TriggerConfig;
  1408. }
  1409. export type FlowDescription = string;
  1410. export type FlowName = string;
  1411. export interface FoundByKeyValue {
  1412. /**
  1413. * A searchable identifier of a customer profile.
  1414. */
  1415. KeyName?: name;
  1416. /**
  1417. * A list of key values.
  1418. */
  1419. Values?: requestValueList;
  1420. }
  1421. export type Gender = "MALE"|"FEMALE"|"UNSPECIFIED"|string;
  1422. export interface GetAutoMergingPreviewRequest {
  1423. /**
  1424. * The unique name of the domain.
  1425. */
  1426. DomainName: name;
  1427. /**
  1428. * A list of matching attributes that represent matching criteria.
  1429. */
  1430. Consolidation: Consolidation;
  1431. /**
  1432. * How the auto-merging process should resolve conflicts between different profiles.
  1433. */
  1434. ConflictResolution: ConflictResolution;
  1435. /**
  1436. * Minimum confidence score required for profiles within a matching group to be merged during the auto-merge process.
  1437. */
  1438. MinAllowedConfidenceScoreForMerging?: Double0To1;
  1439. }
  1440. export interface GetAutoMergingPreviewResponse {
  1441. /**
  1442. * The unique name of the domain.
  1443. */
  1444. DomainName: name;
  1445. /**
  1446. * The number of match groups in the domain that have been reviewed in this preview dry run.
  1447. */
  1448. NumberOfMatchesInSample?: long;
  1449. /**
  1450. * The number of profiles found in this preview dry run.
  1451. */
  1452. NumberOfProfilesInSample?: long;
  1453. /**
  1454. * The number of profiles that would be merged if this wasn't a preview dry run.
  1455. */
  1456. NumberOfProfilesWillBeMerged?: long;
  1457. }
  1458. export interface GetCalculatedAttributeDefinitionRequest {
  1459. /**
  1460. * The unique name of the domain.
  1461. */
  1462. DomainName: name;
  1463. /**
  1464. * The unique name of the calculated attribute.
  1465. */
  1466. CalculatedAttributeName: typeName;
  1467. }
  1468. export interface GetCalculatedAttributeDefinitionResponse {
  1469. /**
  1470. * The unique name of the calculated attribute.
  1471. */
  1472. CalculatedAttributeName?: typeName;
  1473. /**
  1474. * The display name of the calculated attribute.
  1475. */
  1476. DisplayName?: displayName;
  1477. /**
  1478. * The description of the calculated attribute.
  1479. */
  1480. Description?: sensitiveText;
  1481. /**
  1482. * The timestamp of when the calculated attribute definition was created.
  1483. */
  1484. CreatedAt?: timestamp;
  1485. /**
  1486. * The timestamp of when the calculated attribute definition was most recently edited.
  1487. */
  1488. LastUpdatedAt?: timestamp;
  1489. /**
  1490. * The aggregation operation to perform for the calculated attribute.
  1491. */
  1492. Statistic?: Statistic;
  1493. /**
  1494. * The conditions including range, object count, and threshold for the calculated attribute.
  1495. */
  1496. Conditions?: Conditions;
  1497. /**
  1498. * Mathematical expression and a list of attribute items specified in that expression.
  1499. */
  1500. AttributeDetails?: AttributeDetails;
  1501. /**
  1502. * The tags used to organize, track, or control access for this resource.
  1503. */
  1504. Tags?: TagMap;
  1505. }
  1506. export interface GetCalculatedAttributeForProfileRequest {
  1507. /**
  1508. * The unique name of the domain.
  1509. */
  1510. DomainName: name;
  1511. /**
  1512. * The unique identifier of a customer profile.
  1513. */
  1514. ProfileId: uuid;
  1515. /**
  1516. * The unique name of the calculated attribute.
  1517. */
  1518. CalculatedAttributeName: typeName;
  1519. }
  1520. export interface GetCalculatedAttributeForProfileResponse {
  1521. /**
  1522. * The unique name of the calculated attribute.
  1523. */
  1524. CalculatedAttributeName?: typeName;
  1525. /**
  1526. * The display name of the calculated attribute.
  1527. */
  1528. DisplayName?: displayName;
  1529. /**
  1530. * Indicates whether the calculated attribute’s value is based on partial data. If data is partial, it is set to true.
  1531. */
  1532. IsDataPartial?: string1To255;
  1533. /**
  1534. * The value of the calculated attribute.
  1535. */
  1536. Value?: string1To255;
  1537. }
  1538. export interface GetDomainRequest {
  1539. /**
  1540. * The unique name of the domain.
  1541. */
  1542. DomainName: name;
  1543. }
  1544. export interface GetDomainResponse {
  1545. /**
  1546. * The unique name of the domain.
  1547. */
  1548. DomainName: name;
  1549. /**
  1550. * The default number of days until the data within the domain expires.
  1551. */
  1552. DefaultExpirationDays?: expirationDaysInteger;
  1553. /**
  1554. * The default encryption key, which is an AWS managed key, is used when no specific type of encryption key is specified. It is used to encrypt all data before it is placed in permanent or semi-permanent storage.
  1555. */
  1556. DefaultEncryptionKey?: encryptionKey;
  1557. /**
  1558. * The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from third party applications.
  1559. */
  1560. DeadLetterQueueUrl?: sqsQueueUrl;
  1561. /**
  1562. * Usage-specific statistics about the domain.
  1563. */
  1564. Stats?: DomainStats;
  1565. /**
  1566. * The process of matching duplicate profiles. If Matching = true, Amazon Connect Customer Profiles starts a weekly batch process called Identity Resolution Job. If you do not specify a date and time for Identity Resolution Job to run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles in your domains. After the Identity Resolution Job completes, use the GetMatches API to return and review the results. Or, if you have configured ExportingConfig in the MatchingRequest, you can download the results from S3.
  1567. */
  1568. Matching?: MatchingResponse;
  1569. /**
  1570. * The process of matching duplicate profiles using the Rule-Based matching. If RuleBasedMatching = true, Amazon Connect Customer Profiles will start to match and merge your profiles according to your configuration in the RuleBasedMatchingRequest. You can use the ListRuleBasedMatches and GetSimilarProfiles API to return and review the results. Also, if you have configured ExportingConfig in the RuleBasedMatchingRequest, you can download the results from S3.
  1571. */
  1572. RuleBasedMatching?: RuleBasedMatchingResponse;
  1573. /**
  1574. * The timestamp of when the domain was created.
  1575. */
  1576. CreatedAt: timestamp;
  1577. /**
  1578. * The timestamp of when the domain was most recently edited.
  1579. */
  1580. LastUpdatedAt: timestamp;
  1581. /**
  1582. * The tags used to organize, track, or control access for this resource.
  1583. */
  1584. Tags?: TagMap;
  1585. }
  1586. export interface GetEventStreamRequest {
  1587. /**
  1588. * The unique name of the domain.
  1589. */
  1590. DomainName: name;
  1591. /**
  1592. * The name of the event stream provided during create operations.
  1593. */
  1594. EventStreamName: name;
  1595. }
  1596. export interface GetEventStreamResponse {
  1597. /**
  1598. * The unique name of the domain.
  1599. */
  1600. DomainName: name;
  1601. /**
  1602. * A unique identifier for the event stream.
  1603. */
  1604. EventStreamArn: string1To255;
  1605. /**
  1606. * The timestamp of when the export was created.
  1607. */
  1608. CreatedAt: timestamp;
  1609. /**
  1610. * The operational state of destination stream for export.
  1611. */
  1612. State: EventStreamState;
  1613. /**
  1614. * The timestamp when the State changed to STOPPED.
  1615. */
  1616. StoppedSince?: timestamp;
  1617. /**
  1618. * Details regarding the Kinesis stream.
  1619. */
  1620. DestinationDetails: EventStreamDestinationDetails;
  1621. /**
  1622. * The tags used to organize, track, or control access for this resource.
  1623. */
  1624. Tags?: TagMap;
  1625. }
  1626. export interface GetIdentityResolutionJobRequest {
  1627. /**
  1628. * The unique name of the domain.
  1629. */
  1630. DomainName: name;
  1631. /**
  1632. * The unique identifier of the Identity Resolution Job.
  1633. */
  1634. JobId: uuid;
  1635. }
  1636. export interface GetIdentityResolutionJobResponse {
  1637. /**
  1638. * The unique name of the domain.
  1639. */
  1640. DomainName?: name;
  1641. /**
  1642. * The unique identifier of the Identity Resolution Job.
  1643. */
  1644. JobId?: uuid;
  1645. /**
  1646. * The status of the Identity Resolution Job. PENDING: The Identity Resolution Job is scheduled but has not started yet. If you turn off the Identity Resolution feature in your domain, jobs in the PENDING state are deleted. PREPROCESSING: The Identity Resolution Job is loading your data. FIND_MATCHING: The Identity Resolution Job is using the machine learning model to identify profiles that belong to the same matching group. MERGING: The Identity Resolution Job is merging duplicate profiles. COMPLETED: The Identity Resolution Job completed successfully. PARTIAL_SUCCESS: There's a system error and not all of the data is merged. The Identity Resolution Job writes a message indicating the source of the problem. FAILED: The Identity Resolution Job did not merge any data. It writes a message indicating the source of the problem.
  1647. */
  1648. Status?: IdentityResolutionJobStatus;
  1649. /**
  1650. * The error messages that are generated when the Identity Resolution Job runs.
  1651. */
  1652. Message?: stringTo2048;
  1653. /**
  1654. * The timestamp of when the Identity Resolution Job was started or will be started.
  1655. */
  1656. JobStartTime?: timestamp;
  1657. /**
  1658. * The timestamp of when the Identity Resolution Job was completed.
  1659. */
  1660. JobEndTime?: timestamp;
  1661. /**
  1662. * The timestamp of when the Identity Resolution Job was most recently edited.
  1663. */
  1664. LastUpdatedAt?: timestamp;
  1665. /**
  1666. * The timestamp of when the Identity Resolution Job will expire.
  1667. */
  1668. JobExpirationTime?: timestamp;
  1669. /**
  1670. * Configuration settings for how to perform the auto-merging of profiles.
  1671. */
  1672. AutoMerging?: AutoMerging;
  1673. /**
  1674. * The S3 location where the Identity Resolution Job writes result files.
  1675. */
  1676. ExportingLocation?: ExportingLocation;
  1677. /**
  1678. * Statistics about the Identity Resolution Job.
  1679. */
  1680. JobStats?: JobStats;
  1681. }
  1682. export interface GetIntegrationRequest {
  1683. /**
  1684. * The unique name of the domain.
  1685. */
  1686. DomainName: name;
  1687. /**
  1688. * The URI of the S3 bucket or any other type of data source.
  1689. */
  1690. Uri: string1To255;
  1691. }
  1692. export interface GetIntegrationResponse {
  1693. /**
  1694. * The unique name of the domain.
  1695. */
  1696. DomainName: name;
  1697. /**
  1698. * The URI of the S3 bucket or any other type of data source.
  1699. */
  1700. Uri: string1To255;
  1701. /**
  1702. * The name of the profile object type.
  1703. */
  1704. ObjectTypeName?: typeName;
  1705. /**
  1706. * The timestamp of when the domain was created.
  1707. */
  1708. CreatedAt: timestamp;
  1709. /**
  1710. * The timestamp of when the domain was most recently edited.
  1711. */
  1712. LastUpdatedAt: timestamp;
  1713. /**
  1714. * The tags used to organize, track, or control access for this resource.
  1715. */
  1716. Tags?: TagMap;
  1717. /**
  1718. * A map in which each key is an event type from an external application such as Segment or Shopify, and each value is an ObjectTypeName (template) used to ingest the event. It supports the following event types: SegmentIdentify, ShopifyCreateCustomers, ShopifyUpdateCustomers, ShopifyCreateDraftOrders, ShopifyUpdateDraftOrders, ShopifyCreateOrders, and ShopifyUpdatedOrders.
  1719. */
  1720. ObjectTypeNames?: ObjectTypeNames;
  1721. /**
  1722. * Unique identifier for the workflow.
  1723. */
  1724. WorkflowId?: string1To255;
  1725. /**
  1726. * Boolean that shows if the Flow that's associated with the Integration is created in Amazon Appflow, or with ObjectTypeName equals _unstructured via API/CLI in flowDefinition.
  1727. */
  1728. IsUnstructured?: optionalBoolean;
  1729. }
  1730. export interface GetMatchesRequest {
  1731. /**
  1732. * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
  1733. */
  1734. NextToken?: token;
  1735. /**
  1736. * The maximum number of results to return per page.
  1737. */
  1738. MaxResults?: maxSize100;
  1739. /**
  1740. * The unique name of the domain.
  1741. */
  1742. DomainName: name;
  1743. }
  1744. export interface GetMatchesResponse {
  1745. /**
  1746. * If there are additional results, this is the token for the next set of results.
  1747. */
  1748. NextToken?: token;
  1749. /**
  1750. * The timestamp this version of Match Result generated.
  1751. */
  1752. MatchGenerationDate?: timestamp;
  1753. /**
  1754. * The number of potential matches found.
  1755. */
  1756. PotentialMatches?: matchesNumber;
  1757. /**
  1758. * The list of matched profiles for this instance.
  1759. */
  1760. Matches?: MatchesList;
  1761. }
  1762. export interface GetProfileObjectTypeRequest {
  1763. /**
  1764. * The unique name of the domain.
  1765. */
  1766. DomainName: name;
  1767. /**
  1768. * The name of the profile object type.
  1769. */
  1770. ObjectTypeName: typeName;
  1771. }
  1772. export interface GetProfileObjectTypeResponse {
  1773. /**
  1774. * The name of the profile object type.
  1775. */
  1776. ObjectTypeName: typeName;
  1777. /**
  1778. * The description of the profile object type.
  1779. */
  1780. Description: sensitiveText;
  1781. /**
  1782. * A unique identifier for the object template.
  1783. */
  1784. TemplateId?: name;
  1785. /**
  1786. * The number of days until the data in the object expires.
  1787. */
  1788. ExpirationDays?: expirationDaysInteger;
  1789. /**
  1790. * The customer-provided key to encrypt the profile object that will be created in this profile object type.
  1791. */
  1792. EncryptionKey?: encryptionKey;
  1793. /**
  1794. * Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. The default is FALSE. If the AllowProfileCreation flag is set to FALSE, then the service tries to fetch a standard profile and associate this object with the profile. If it is set to TRUE, and if no match is found, then the service creates a new standard profile.
  1795. */
  1796. AllowProfileCreation?: boolean;
  1797. /**
  1798. * The format of your sourceLastUpdatedTimestamp that was previously set up.
  1799. */
  1800. SourceLastUpdatedTimestampFormat?: string1To255;
  1801. /**
  1802. * A map of the name and ObjectType field.
  1803. */
  1804. Fields?: FieldMap;
  1805. /**
  1806. * A list of unique keys that can be used to map data to the profile.
  1807. */
  1808. Keys?: KeyMap;
  1809. /**
  1810. * The timestamp of when the domain was created.
  1811. */
  1812. CreatedAt?: timestamp;
  1813. /**
  1814. * The timestamp of when the domain was most recently edited.
  1815. */
  1816. LastUpdatedAt?: timestamp;
  1817. /**
  1818. * The tags used to organize, track, or control access for this resource.
  1819. */
  1820. Tags?: TagMap;
  1821. }
  1822. export interface GetProfileObjectTypeTemplateRequest {
  1823. /**
  1824. * A unique identifier for the object template.
  1825. */
  1826. TemplateId: name;
  1827. }
  1828. export interface GetProfileObjectTypeTemplateResponse {
  1829. /**
  1830. * A unique identifier for the object template.
  1831. */
  1832. TemplateId?: name;
  1833. /**
  1834. * The name of the source of the object template.
  1835. */
  1836. SourceName?: name;
  1837. /**
  1838. * The source of the object template.
  1839. */
  1840. SourceObject?: name;
  1841. /**
  1842. * Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. The default is FALSE. If the AllowProfileCreation flag is set to FALSE, then the service tries to fetch a standard profile and associate this object with the profile. If it is set to TRUE, and if no match is found, then the service creates a new standard profile.
  1843. */
  1844. AllowProfileCreation?: boolean;
  1845. /**
  1846. * The format of your sourceLastUpdatedTimestamp that was previously set up.
  1847. */
  1848. SourceLastUpdatedTimestampFormat?: string1To255;
  1849. /**
  1850. * A map of the name and ObjectType field.
  1851. */
  1852. Fields?: FieldMap;
  1853. /**
  1854. * A list of unique keys that can be used to map data to the profile.
  1855. */
  1856. Keys?: KeyMap;
  1857. }
  1858. export interface GetSimilarProfilesRequest {
  1859. /**
  1860. * The pagination token from the previous GetSimilarProfiles API call.
  1861. */
  1862. NextToken?: token;
  1863. /**
  1864. * The maximum number of objects returned per page.
  1865. */
  1866. MaxResults?: maxSize100;
  1867. /**
  1868. * The unique name of the domain.
  1869. */
  1870. DomainName: name;
  1871. /**
  1872. * Specify the type of matching to get similar profiles for.
  1873. */
  1874. MatchType: MatchType;
  1875. /**
  1876. * The string indicating the search key to be used.
  1877. */
  1878. SearchKey: string1To255;
  1879. /**
  1880. * The string based on SearchKey to be searched for similar profiles.
  1881. */
  1882. SearchValue: string1To255;
  1883. }
  1884. export interface GetSimilarProfilesResponse {
  1885. /**
  1886. * Set of profileIds that belong to the same matching group.
  1887. */
  1888. ProfileIds?: ProfileIdList;
  1889. /**
  1890. * The string matchId that the similar profiles belong to.
  1891. */
  1892. MatchId?: string1To255;
  1893. /**
  1894. * Specify the type of matching to get similar profiles for.
  1895. */
  1896. MatchType?: MatchType;
  1897. /**
  1898. * The integer rule level that the profiles matched on.
  1899. */
  1900. RuleLevel?: RuleLevel;
  1901. /**
  1902. * It only has value when the MatchType is ML_BASED_MATCHING.A number between 0 and 1, where a higher score means higher similarity. Examining match confidence scores lets you distinguish between groups of similar records in which the system is highly confident (which you may decide to merge), groups of similar records about which the system is uncertain (which you may decide to have reviewed by a human), and groups of similar records that the system deems to be unlikely (which you may decide to reject). Given confidence scores vary as per the data input, it should not be used as an absolute measure of matching quality.
  1903. */
  1904. ConfidenceScore?: Double;
  1905. /**
  1906. * The pagination token from the previous GetSimilarProfiles API call.
  1907. */
  1908. NextToken?: token;
  1909. }
  1910. export interface GetWorkflowRequest {
  1911. /**
  1912. * The unique name of the domain.
  1913. */
  1914. DomainName: name;
  1915. /**
  1916. * Unique identifier for the workflow.
  1917. */
  1918. WorkflowId: uuid;
  1919. }
  1920. export interface GetWorkflowResponse {
  1921. /**
  1922. * Unique identifier for the workflow.
  1923. */
  1924. WorkflowId?: uuid;
  1925. /**
  1926. * The type of workflow. The only supported value is APPFLOW_INTEGRATION.
  1927. */
  1928. WorkflowType?: WorkflowType;
  1929. /**
  1930. * Status of workflow execution.
  1931. */
  1932. Status?: Status;
  1933. /**
  1934. * Workflow error messages during execution (if any).
  1935. */
  1936. ErrorDescription?: string1To255;
  1937. /**
  1938. * The timestamp that represents when workflow execution started.
  1939. */
  1940. StartDate?: timestamp;
  1941. /**
  1942. * The timestamp that represents when workflow execution last updated.
  1943. */
  1944. LastUpdatedAt?: timestamp;
  1945. /**
  1946. * Attributes provided for workflow execution.
  1947. */
  1948. Attributes?: WorkflowAttributes;
  1949. /**
  1950. * Workflow specific execution metrics.
  1951. */
  1952. Metrics?: WorkflowMetrics;
  1953. }
  1954. export interface GetWorkflowStepsRequest {
  1955. /**
  1956. * The unique name of the domain.
  1957. */
  1958. DomainName: name;
  1959. /**
  1960. * Unique identifier for the workflow.
  1961. */
  1962. WorkflowId: uuid;
  1963. /**
  1964. * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
  1965. */
  1966. NextToken?: token;
  1967. /**
  1968. * The maximum number of results to return per page.
  1969. */
  1970. MaxResults?: maxSize100;
  1971. }
  1972. export interface GetWorkflowStepsResponse {
  1973. /**
  1974. * Unique identifier for the workflow.
  1975. */
  1976. WorkflowId?: uuid;
  1977. /**
  1978. * The type of workflow. The only supported value is APPFLOW_INTEGRATION.
  1979. */
  1980. WorkflowType?: WorkflowType;
  1981. /**
  1982. * List containing workflow step details.
  1983. */
  1984. Items?: WorkflowStepsList;
  1985. /**
  1986. * If there are additional results, this is the token for the next set of results.
  1987. */
  1988. NextToken?: token;
  1989. }
  1990. export interface IdentityResolutionJob {
  1991. /**
  1992. * The unique name of the domain.
  1993. */
  1994. DomainName?: name;
  1995. /**
  1996. * The unique identifier of the Identity Resolution Job.
  1997. */
  1998. JobId?: uuid;
  1999. /**
  2000. * The status of the Identity Resolution Job. PENDING: The Identity Resolution Job is scheduled but has not started yet. If you turn off the Identity Resolution feature in your domain, jobs in the PENDING state are deleted. PREPROCESSING: The Identity Resolution Job is loading your data. FIND_MATCHING: The Identity Resolution Job is using the machine learning model to identify profiles that belong to the same matching group. MERGING: The Identity Resolution Job is merging duplicate profiles. COMPLETED: The Identity Resolution Job completed successfully. PARTIAL_SUCCESS: There's a system error and not all of the data is merged. The Identity Resolution Job writes a message indicating the source of the problem. FAILED: The Identity Resolution Job did not merge any data. It writes a message indicating the source of the problem.
  2001. */
  2002. Status?: IdentityResolutionJobStatus;
  2003. /**
  2004. * The timestamp of when the job was started or will be started.
  2005. */
  2006. JobStartTime?: timestamp;
  2007. /**
  2008. * The timestamp of when the job was completed.
  2009. */
  2010. JobEndTime?: timestamp;
  2011. /**
  2012. * Statistics about an Identity Resolution Job.
  2013. */
  2014. JobStats?: JobStats;
  2015. /**
  2016. * The S3 location where the Identity Resolution Job writes result files.
  2017. */
  2018. ExportingLocation?: ExportingLocation;
  2019. /**
  2020. * The error messages that are generated when the Identity Resolution Job runs.
  2021. */
  2022. Message?: stringTo2048;
  2023. }
  2024. export type IdentityResolutionJobStatus = "PENDING"|"PREPROCESSING"|"FIND_MATCHING"|"MERGING"|"COMPLETED"|"PARTIAL_SUCCESS"|"FAILED"|string;
  2025. export type IdentityResolutionJobsList = IdentityResolutionJob[];
  2026. export interface IncrementalPullConfig {
  2027. /**
  2028. * A field that specifies the date time or timestamp field as the criteria to use when importing incremental records from the source.
  2029. */
  2030. DatetimeTypeFieldName?: DatetimeTypeFieldName;
  2031. }
  2032. export interface IntegrationConfig {
  2033. /**
  2034. * Configuration data for APPFLOW_INTEGRATION workflow type.
  2035. */
  2036. AppflowIntegration?: AppflowIntegration;
  2037. }
  2038. export type IntegrationList = ListIntegrationItem[];
  2039. export interface JobSchedule {
  2040. /**
  2041. * The day when the Identity Resolution Job should run every week.
  2042. */
  2043. DayOfTheWeek: JobScheduleDayOfTheWeek;
  2044. /**
  2045. * The time when the Identity Resolution Job should run every week.
  2046. */
  2047. Time: JobScheduleTime;
  2048. }
  2049. export type JobScheduleDayOfTheWeek = "SUNDAY"|"MONDAY"|"TUESDAY"|"WEDNESDAY"|"THURSDAY"|"FRIDAY"|"SATURDAY"|string;
  2050. export type JobScheduleTime = string;
  2051. export interface JobStats {
  2052. /**
  2053. * The number of profiles reviewed.
  2054. */
  2055. NumberOfProfilesReviewed?: long;
  2056. /**
  2057. * The number of matches found.
  2058. */
  2059. NumberOfMatchesFound?: long;
  2060. /**
  2061. * The number of merges completed.
  2062. */
  2063. NumberOfMergesDone?: long;
  2064. }
  2065. export type KeyMap = {[key: string]: ObjectTypeKeyList};
  2066. export type KmsArn = string;
  2067. export interface ListAccountIntegrationsRequest {
  2068. /**
  2069. * The URI of the S3 bucket or any other type of data source.
  2070. */
  2071. Uri: string1To255;
  2072. /**
  2073. * The pagination token from the previous ListAccountIntegrations API call.
  2074. */
  2075. NextToken?: token;
  2076. /**
  2077. * The maximum number of objects returned per page.
  2078. */
  2079. MaxResults?: maxSize100;
  2080. /**
  2081. * Boolean to indicate if hidden integration should be returned. Defaults to False.
  2082. */
  2083. IncludeHidden?: optionalBoolean;
  2084. }
  2085. export interface ListAccountIntegrationsResponse {
  2086. /**
  2087. * The list of ListAccountIntegration instances.
  2088. */
  2089. Items?: IntegrationList;
  2090. /**
  2091. * The pagination token from the previous ListAccountIntegrations API call.
  2092. */
  2093. NextToken?: token;
  2094. }
  2095. export interface ListCalculatedAttributeDefinitionItem {
  2096. /**
  2097. * The unique name of the calculated attribute.
  2098. */
  2099. CalculatedAttributeName?: typeName;
  2100. /**
  2101. * The display name of the calculated attribute.
  2102. */
  2103. DisplayName?: displayName;
  2104. /**
  2105. * The threshold for the calculated attribute.
  2106. */
  2107. Description?: sensitiveText;
  2108. /**
  2109. * The threshold for the calculated attribute.
  2110. */
  2111. CreatedAt?: timestamp;
  2112. /**
  2113. * The timestamp of when the calculated attribute definition was most recently edited.
  2114. */
  2115. LastUpdatedAt?: timestamp;
  2116. /**
  2117. * The tags used to organize, track, or control access for this resource.
  2118. */
  2119. Tags?: TagMap;
  2120. }
  2121. export interface ListCalculatedAttributeDefinitionsRequest {
  2122. /**
  2123. * The unique name of the domain.
  2124. */
  2125. DomainName: name;
  2126. /**
  2127. * The pagination token from the previous call to ListCalculatedAttributeDefinitions.
  2128. */
  2129. NextToken?: token;
  2130. /**
  2131. * The maximum number of calculated attribute definitions returned per page.
  2132. */
  2133. MaxResults?: maxSize100;
  2134. }
  2135. export interface ListCalculatedAttributeDefinitionsResponse {
  2136. /**
  2137. * The list of calculated attribute definitions.
  2138. */
  2139. Items?: CalculatedAttributeDefinitionsList;
  2140. /**
  2141. * The pagination token from the previous call to ListCalculatedAttributeDefinitions.
  2142. */
  2143. NextToken?: token;
  2144. }
  2145. export interface ListCalculatedAttributeForProfileItem {
  2146. /**
  2147. * The unique name of the calculated attribute.
  2148. */
  2149. CalculatedAttributeName?: typeName;
  2150. /**
  2151. * The display name of the calculated attribute.
  2152. */
  2153. DisplayName?: displayName;
  2154. /**
  2155. * Indicates whether the calculated attribute’s value is based on partial data. If data is partial, it is set to true.
  2156. */
  2157. IsDataPartial?: string1To255;
  2158. /**
  2159. * The value of the calculated attribute.
  2160. */
  2161. Value?: string1To255;
  2162. }
  2163. export interface ListCalculatedAttributesForProfileRequest {
  2164. /**
  2165. * The pagination token from the previous call to ListCalculatedAttributesForProfile.
  2166. */
  2167. NextToken?: token;
  2168. /**
  2169. * The maximum number of calculated attributes returned per page.
  2170. */
  2171. MaxResults?: maxSize100;
  2172. /**
  2173. * The unique name of the domain.
  2174. */
  2175. DomainName: name;
  2176. /**
  2177. * The unique identifier of a customer profile.
  2178. */
  2179. ProfileId: uuid;
  2180. }
  2181. export interface ListCalculatedAttributesForProfileResponse {
  2182. /**
  2183. * The list of calculated attributes.
  2184. */
  2185. Items?: CalculatedAttributesForProfileList;
  2186. /**
  2187. * The pagination token from the previous call to ListCalculatedAttributesForProfile.
  2188. */
  2189. NextToken?: token;
  2190. }
  2191. export interface ListDomainItem {
  2192. /**
  2193. * The unique name of the domain.
  2194. */
  2195. DomainName: name;
  2196. /**
  2197. * The timestamp of when the domain was created.
  2198. */
  2199. CreatedAt: timestamp;
  2200. /**
  2201. * The timestamp of when the domain was most recently edited.
  2202. */
  2203. LastUpdatedAt: timestamp;
  2204. /**
  2205. * The tags used to organize, track, or control access for this resource.
  2206. */
  2207. Tags?: TagMap;
  2208. }
  2209. export interface ListDomainsRequest {
  2210. /**
  2211. * The pagination token from the previous ListDomain API call.
  2212. */
  2213. NextToken?: token;
  2214. /**
  2215. * The maximum number of objects returned per page.
  2216. */
  2217. MaxResults?: maxSize100;
  2218. }
  2219. export interface ListDomainsResponse {
  2220. /**
  2221. * The list of ListDomains instances.
  2222. */
  2223. Items?: DomainList;
  2224. /**
  2225. * The pagination token from the previous ListDomains API call.
  2226. */
  2227. NextToken?: token;
  2228. }
  2229. export interface ListEventStreamsRequest {
  2230. /**
  2231. * The unique name of the domain.
  2232. */
  2233. DomainName: name;
  2234. /**
  2235. * Identifies the next page of results to return.
  2236. */
  2237. NextToken?: token;
  2238. /**
  2239. * The maximum number of objects returned per page.
  2240. */
  2241. MaxResults?: maxSize100;
  2242. }
  2243. export interface ListEventStreamsResponse {
  2244. /**
  2245. * Contains summary information about an EventStream.
  2246. */
  2247. Items?: EventStreamSummaryList;
  2248. /**
  2249. * Identifies the next page of results to return.
  2250. */
  2251. NextToken?: token;
  2252. }
  2253. export interface ListIdentityResolutionJobsRequest {
  2254. /**
  2255. * The unique name of the domain.
  2256. */
  2257. DomainName: name;
  2258. /**
  2259. * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
  2260. */
  2261. NextToken?: token;
  2262. /**
  2263. * The maximum number of results to return per page.
  2264. */
  2265. MaxResults?: maxSize100;
  2266. }
  2267. export interface ListIdentityResolutionJobsResponse {
  2268. /**
  2269. * A list of Identity Resolution Jobs.
  2270. */
  2271. IdentityResolutionJobsList?: IdentityResolutionJobsList;
  2272. /**
  2273. * If there are additional results, this is the token for the next set of results.
  2274. */
  2275. NextToken?: token;
  2276. }
  2277. export interface ListIntegrationItem {
  2278. /**
  2279. * The unique name of the domain.
  2280. */
  2281. DomainName: name;
  2282. /**
  2283. * The URI of the S3 bucket or any other type of data source.
  2284. */
  2285. Uri: string1To255;
  2286. /**
  2287. * The name of the profile object type.
  2288. */
  2289. ObjectTypeName?: typeName;
  2290. /**
  2291. * The timestamp of when the domain was created.
  2292. */
  2293. CreatedAt: timestamp;
  2294. /**
  2295. * The timestamp of when the domain was most recently edited.
  2296. */
  2297. LastUpdatedAt: timestamp;
  2298. /**
  2299. * The tags used to organize, track, or control access for this resource.
  2300. */
  2301. Tags?: TagMap;
  2302. /**
  2303. * A map in which each key is an event type from an external application such as Segment or Shopify, and each value is an ObjectTypeName (template) used to ingest the event. It supports the following event types: SegmentIdentify, ShopifyCreateCustomers, ShopifyUpdateCustomers, ShopifyCreateDraftOrders, ShopifyUpdateDraftOrders, ShopifyCreateOrders, and ShopifyUpdatedOrders.
  2304. */
  2305. ObjectTypeNames?: ObjectTypeNames;
  2306. /**
  2307. * Unique identifier for the workflow.
  2308. */
  2309. WorkflowId?: string1To255;
  2310. /**
  2311. * Boolean that shows if the Flow that's associated with the Integration is created in Amazon Appflow, or with ObjectTypeName equals _unstructured via API/CLI in flowDefinition.
  2312. */
  2313. IsUnstructured?: optionalBoolean;
  2314. }
  2315. export interface ListIntegrationsRequest {
  2316. /**
  2317. * The unique name of the domain.
  2318. */
  2319. DomainName: name;
  2320. /**
  2321. * The pagination token from the previous ListIntegrations API call.
  2322. */
  2323. NextToken?: token;
  2324. /**
  2325. * The maximum number of objects returned per page.
  2326. */
  2327. MaxResults?: maxSize100;
  2328. /**
  2329. * Boolean to indicate if hidden integration should be returned. Defaults to False.
  2330. */
  2331. IncludeHidden?: optionalBoolean;
  2332. }
  2333. export interface ListIntegrationsResponse {
  2334. /**
  2335. * The list of ListIntegrations instances.
  2336. */
  2337. Items?: IntegrationList;
  2338. /**
  2339. * The pagination token from the previous ListIntegrations API call.
  2340. */
  2341. NextToken?: token;
  2342. }
  2343. export interface ListProfileObjectTypeItem {
  2344. /**
  2345. * The name of the profile object type.
  2346. */
  2347. ObjectTypeName: typeName;
  2348. /**
  2349. * Description of the profile object type.
  2350. */
  2351. Description: text;
  2352. /**
  2353. * The timestamp of when the domain was created.
  2354. */
  2355. CreatedAt?: timestamp;
  2356. /**
  2357. * The timestamp of when the domain was most recently edited.
  2358. */
  2359. LastUpdatedAt?: timestamp;
  2360. /**
  2361. * The tags used to organize, track, or control access for this resource.
  2362. */
  2363. Tags?: TagMap;
  2364. }
  2365. export interface ListProfileObjectTypeTemplateItem {
  2366. /**
  2367. * A unique identifier for the object template.
  2368. */
  2369. TemplateId?: name;
  2370. /**
  2371. * The name of the source of the object template.
  2372. */
  2373. SourceName?: name;
  2374. /**
  2375. * The source of the object template.
  2376. */
  2377. SourceObject?: name;
  2378. }
  2379. export interface ListProfileObjectTypeTemplatesRequest {
  2380. /**
  2381. * The pagination token from the previous ListObjectTypeTemplates API call.
  2382. */
  2383. NextToken?: token;
  2384. /**
  2385. * The maximum number of objects returned per page.
  2386. */
  2387. MaxResults?: maxSize100;
  2388. }
  2389. export interface ListProfileObjectTypeTemplatesResponse {
  2390. /**
  2391. * The list of ListProfileObjectType template instances.
  2392. */
  2393. Items?: ProfileObjectTypeTemplateList;
  2394. /**
  2395. * The pagination token from the previous ListObjectTypeTemplates API call.
  2396. */
  2397. NextToken?: token;
  2398. }
  2399. export interface ListProfileObjectTypesRequest {
  2400. /**
  2401. * The unique name of the domain.
  2402. */
  2403. DomainName: name;
  2404. /**
  2405. * Identifies the next page of results to return.
  2406. */
  2407. NextToken?: token;
  2408. /**
  2409. * The maximum number of objects returned per page.
  2410. */
  2411. MaxResults?: maxSize100;
  2412. }
  2413. export interface ListProfileObjectTypesResponse {
  2414. /**
  2415. * The list of ListProfileObjectTypes instances.
  2416. */
  2417. Items?: ProfileObjectTypeList;
  2418. /**
  2419. * Identifies the next page of results to return.
  2420. */
  2421. NextToken?: token;
  2422. }
  2423. export interface ListProfileObjectsItem {
  2424. /**
  2425. * Specifies the kind of object being added to a profile, such as "Salesforce-Account."
  2426. */
  2427. ObjectTypeName?: typeName;
  2428. /**
  2429. * The unique identifier of the ProfileObject generated by the service.
  2430. */
  2431. ProfileObjectUniqueKey?: string1To255;
  2432. /**
  2433. * A JSON representation of a ProfileObject that belongs to a profile.
  2434. */
  2435. Object?: stringifiedJson;
  2436. }
  2437. export interface ListProfileObjectsRequest {
  2438. /**
  2439. * The pagination token from the previous call to ListProfileObjects.
  2440. */
  2441. NextToken?: token;
  2442. /**
  2443. * The maximum number of objects returned per page.
  2444. */
  2445. MaxResults?: maxSize100;
  2446. /**
  2447. * The unique name of the domain.
  2448. */
  2449. DomainName: name;
  2450. /**
  2451. * The name of the profile object type.
  2452. */
  2453. ObjectTypeName: typeName;
  2454. /**
  2455. * The unique identifier of a customer profile.
  2456. */
  2457. ProfileId: uuid;
  2458. /**
  2459. * Applies a filter to the response to include profile objects with the specified index values.
  2460. */
  2461. ObjectFilter?: ObjectFilter;
  2462. }
  2463. export interface ListProfileObjectsResponse {
  2464. /**
  2465. * The list of ListProfileObject instances.
  2466. */
  2467. Items?: ProfileObjectList;
  2468. /**
  2469. * The pagination token from the previous call to ListProfileObjects.
  2470. */
  2471. NextToken?: token;
  2472. }
  2473. export interface ListRuleBasedMatchesRequest {
  2474. /**
  2475. * The pagination token from the previous ListRuleBasedMatches API call.
  2476. */
  2477. NextToken?: token;
  2478. /**
  2479. * The maximum number of MatchIds returned per page.
  2480. */
  2481. MaxResults?: maxSize100;
  2482. /**
  2483. * The unique name of the domain.
  2484. */
  2485. DomainName: name;
  2486. }
  2487. export interface ListRuleBasedMatchesResponse {
  2488. /**
  2489. * The list of MatchIds for the given domain.
  2490. */
  2491. MatchIds?: MatchIdList;
  2492. /**
  2493. * The pagination token from the previous ListRuleBasedMatches API call.
  2494. */
  2495. NextToken?: token;
  2496. }
  2497. export interface ListTagsForResourceRequest {
  2498. /**
  2499. * The ARN of the resource for which you want to view tags.
  2500. */
  2501. resourceArn: TagArn;
  2502. }
  2503. export interface ListTagsForResourceResponse {
  2504. /**
  2505. * The tags used to organize, track, or control access for this resource.
  2506. */
  2507. tags?: TagMap;
  2508. }
  2509. export interface ListWorkflowsItem {
  2510. /**
  2511. * The type of workflow. The only supported value is APPFLOW_INTEGRATION.
  2512. */
  2513. WorkflowType: WorkflowType;
  2514. /**
  2515. * Unique identifier for the workflow.
  2516. */
  2517. WorkflowId: string1To255;
  2518. /**
  2519. * Status of workflow execution.
  2520. */
  2521. Status: Status;
  2522. /**
  2523. * Description for workflow execution status.
  2524. */
  2525. StatusDescription: string1To255;
  2526. /**
  2527. * Creation timestamp for workflow.
  2528. */
  2529. CreatedAt: timestamp;
  2530. /**
  2531. * Last updated timestamp for workflow.
  2532. */
  2533. LastUpdatedAt: timestamp;
  2534. }
  2535. export interface ListWorkflowsRequest {
  2536. /**
  2537. * The unique name of the domain.
  2538. */
  2539. DomainName: name;
  2540. /**
  2541. * The type of workflow. The only supported value is APPFLOW_INTEGRATION.
  2542. */
  2543. WorkflowType?: WorkflowType;
  2544. /**
  2545. * Status of workflow execution.
  2546. */
  2547. Status?: Status;
  2548. /**
  2549. * Retrieve workflows started after timestamp.
  2550. */
  2551. QueryStartDate?: timestamp;
  2552. /**
  2553. * Retrieve workflows ended after timestamp.
  2554. */
  2555. QueryEndDate?: timestamp;
  2556. /**
  2557. * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
  2558. */
  2559. NextToken?: token;
  2560. /**
  2561. * The maximum number of results to return per page.
  2562. */
  2563. MaxResults?: maxSize100;
  2564. }
  2565. export interface ListWorkflowsResponse {
  2566. /**
  2567. * List containing workflow details.
  2568. */
  2569. Items?: WorkflowList;
  2570. /**
  2571. * If there are additional results, this is the token for the next set of results.
  2572. */
  2573. NextToken?: token;
  2574. }
  2575. export type MarketoConnectorOperator = "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"|string;
  2576. export interface MarketoSourceProperties {
  2577. /**
  2578. * The object specified in the Marketo flow source.
  2579. */
  2580. Object: Object;
  2581. }
  2582. export type MatchIdList = string1To255[];
  2583. export interface MatchItem {
  2584. /**
  2585. * The unique identifiers for this group of profiles that match.
  2586. */
  2587. MatchId?: string1To255;
  2588. /**
  2589. * A list of identifiers for profiles that match.
  2590. */
  2591. ProfileIds?: ProfileIdList;
  2592. /**
  2593. * A number between 0 and 1, where a higher score means higher similarity. Examining match confidence scores lets you distinguish between groups of similar records in which the system is highly confident (which you may decide to merge), groups of similar records about which the system is uncertain (which you may decide to have reviewed by a human), and groups of similar records that the system deems to be unlikely (which you may decide to reject). Given confidence scores vary as per the data input, it should not be used an absolute measure of matching quality.
  2594. */
  2595. ConfidenceScore?: Double;
  2596. }
  2597. export type MatchType = "RULE_BASED_MATCHING"|"ML_BASED_MATCHING"|string;
  2598. export type MatchesList = MatchItem[];
  2599. export type MatchingAttributes = string1To255[];
  2600. export type MatchingAttributesList = MatchingAttributes[];
  2601. export interface MatchingRequest {
  2602. /**
  2603. * The flag that enables the matching process of duplicate profiles.
  2604. */
  2605. Enabled: optionalBoolean;
  2606. /**
  2607. * The day and time when do you want to start the Identity Resolution Job every week.
  2608. */
  2609. JobSchedule?: JobSchedule;
  2610. /**
  2611. * Configuration information about the auto-merging process.
  2612. */
  2613. AutoMerging?: AutoMerging;
  2614. /**
  2615. * Configuration information for exporting Identity Resolution results, for example, to an S3 bucket.
  2616. */
  2617. ExportingConfig?: ExportingConfig;
  2618. }
  2619. export interface MatchingResponse {
  2620. /**
  2621. * The flag that enables the matching process of duplicate profiles.
  2622. */
  2623. Enabled?: optionalBoolean;
  2624. /**
  2625. * The day and time when do you want to start the Identity Resolution Job every week.
  2626. */
  2627. JobSchedule?: JobSchedule;
  2628. /**
  2629. * Configuration information about the auto-merging process.
  2630. */
  2631. AutoMerging?: AutoMerging;
  2632. /**
  2633. * Configuration information for exporting Identity Resolution results, for example, to an S3 bucket.
  2634. */
  2635. ExportingConfig?: ExportingConfig;
  2636. }
  2637. export interface MatchingRule {
  2638. /**
  2639. * A single rule level of the MatchRules. Configures how the rule-based matching process should match profiles.
  2640. */
  2641. Rule: MatchingRuleAttributeList;
  2642. }
  2643. export type MatchingRuleAttributeList = string1To255[];
  2644. export type MatchingRules = MatchingRule[];
  2645. export type MaxAllowedRuleLevelForMatching = number;
  2646. export type MaxAllowedRuleLevelForMerging = number;
  2647. export interface MergeProfilesRequest {
  2648. /**
  2649. * The unique name of the domain.
  2650. */
  2651. DomainName: name;
  2652. /**
  2653. * The identifier of the profile to be taken.
  2654. */
  2655. MainProfileId: uuid;
  2656. /**
  2657. * The identifier of the profile to be merged into MainProfileId.
  2658. */
  2659. ProfileIdsToBeMerged: ProfileIdToBeMergedList;
  2660. /**
  2661. * The identifiers of the fields in the profile that has the information you want to apply to the merge. For example, say you want to merge EmailAddress from Profile1 into MainProfile. This would be the identifier of the EmailAddress field in Profile1.
  2662. */
  2663. FieldSourceProfileIds?: FieldSourceProfileIds;
  2664. }
  2665. export interface MergeProfilesResponse {
  2666. /**
  2667. * A message that indicates the merge request is complete.
  2668. */
  2669. Message?: message;
  2670. }
  2671. export type Object = string;
  2672. export type ObjectCount = number;
  2673. export interface ObjectFilter {
  2674. /**
  2675. * A searchable identifier of a profile object. The predefined keys you can use to search for _asset include: _assetId, _assetName, and _serialNumber. The predefined keys you can use to search for _case include: _caseId. The predefined keys you can use to search for _order include: _orderId.
  2676. */
  2677. KeyName: name;
  2678. /**
  2679. * A list of key values.
  2680. */
  2681. Values: requestValueList;
  2682. }
  2683. export interface ObjectTypeField {
  2684. /**
  2685. * A field of a ProfileObject. For example: _source.FirstName, where “_source” is a ProfileObjectType of a Zendesk user and “FirstName” is a field in that ObjectType.
  2686. */
  2687. Source?: text;
  2688. /**
  2689. * The location of the data in the standard ProfileObject model. For example: _profile.Address.PostalCode.
  2690. */
  2691. Target?: text;
  2692. /**
  2693. * The content type of the field. Used for determining equality when searching.
  2694. */
  2695. ContentType?: FieldContentType;
  2696. }
  2697. export interface ObjectTypeKey {
  2698. /**
  2699. * The types of keys that a ProfileObject can have. Each ProfileObject can have only 1 UNIQUE key but multiple PROFILE keys. PROFILE, ASSET, CASE, or ORDER means that this key can be used to tie an object to a PROFILE, ASSET, CASE, or ORDER respectively. UNIQUE means that it can be used to uniquely identify an object. If a key a is marked as SECONDARY, it will be used to search for profiles after all other PROFILE keys have been searched. A LOOKUP_ONLY key is only used to match a profile but is not persisted to be used for searching of the profile. A NEW_ONLY key is only used if the profile does not already exist before the object is ingested, otherwise it is only used for matching objects to profiles.
  2700. */
  2701. StandardIdentifiers?: StandardIdentifierList;
  2702. /**
  2703. * The reference for the key name of the fields map.
  2704. */
  2705. FieldNames?: FieldNameList;
  2706. }
  2707. export type ObjectTypeKeyList = ObjectTypeKey[];
  2708. export type ObjectTypeNames = {[key: string]: typeName};
  2709. export type Objects = stringifiedJson[];
  2710. export type Operator = "EQUAL_TO"|"GREATER_THAN"|"LESS_THAN"|"NOT_EQUAL_TO"|string;
  2711. export type OperatorPropertiesKeys = "VALUE"|"VALUES"|"DATA_TYPE"|"UPPER_BOUND"|"LOWER_BOUND"|"SOURCE_DATA_TYPE"|"DESTINATION_DATA_TYPE"|"VALIDATION_ACTION"|"MASK_VALUE"|"MASK_LENGTH"|"TRUNCATE_LENGTH"|"MATH_OPERATION_FIELDS_ORDER"|"CONCAT_FORMAT"|"SUBFIELD_CATEGORY_MAP"|string;
  2712. export type PartyType = "INDIVIDUAL"|"BUSINESS"|"OTHER"|string;
  2713. export type PhoneNumberList = string1To255[];
  2714. export interface Profile {
  2715. /**
  2716. * The unique identifier of a customer profile.
  2717. */
  2718. ProfileId?: uuid;
  2719. /**
  2720. * A unique account number that you have given to the customer.
  2721. */
  2722. AccountNumber?: sensitiveString1To255;
  2723. /**
  2724. * Any additional information relevant to the customer’s profile.
  2725. */
  2726. AdditionalInformation?: sensitiveString1To1000;
  2727. /**
  2728. * The type of profile used to describe the customer.
  2729. */
  2730. PartyType?: PartyType;
  2731. /**
  2732. * The name of the customer’s business.
  2733. */
  2734. BusinessName?: sensitiveString1To255;
  2735. /**
  2736. * The customer’s first name.
  2737. */
  2738. FirstName?: sensitiveString1To255;
  2739. /**
  2740. * The customer’s middle name.
  2741. */
  2742. MiddleName?: sensitiveString1To255;
  2743. /**
  2744. * The customer’s last name.
  2745. */
  2746. LastName?: sensitiveString1To255;
  2747. /**
  2748. * The customer’s birth date.
  2749. */
  2750. BirthDate?: sensitiveString1To255;
  2751. /**
  2752. * The gender with which the customer identifies.
  2753. */
  2754. Gender?: Gender;
  2755. /**
  2756. * The customer's phone number, which has not been specified as a mobile, home, or business number.
  2757. */
  2758. PhoneNumber?: sensitiveString1To255;
  2759. /**
  2760. * The customer’s mobile phone number.
  2761. */
  2762. MobilePhoneNumber?: sensitiveString1To255;
  2763. /**
  2764. * The customer’s home phone number.
  2765. */
  2766. HomePhoneNumber?: sensitiveString1To255;
  2767. /**
  2768. * The customer’s home phone number.
  2769. */
  2770. BusinessPhoneNumber?: sensitiveString1To255;
  2771. /**
  2772. * The customer’s email address, which has not been specified as a personal or business address.
  2773. */
  2774. EmailAddress?: sensitiveString1To255;
  2775. /**
  2776. * The customer’s personal email address.
  2777. */
  2778. PersonalEmailAddress?: sensitiveString1To255;
  2779. /**
  2780. * The customer’s business email address.
  2781. */
  2782. BusinessEmailAddress?: sensitiveString1To255;
  2783. /**
  2784. * A generic address associated with the customer that is not mailing, shipping, or billing.
  2785. */
  2786. Address?: Address;
  2787. /**
  2788. * The customer’s shipping address.
  2789. */
  2790. ShippingAddress?: Address;
  2791. /**
  2792. * The customer’s mailing address.
  2793. */
  2794. MailingAddress?: Address;
  2795. /**
  2796. * The customer’s billing address.
  2797. */
  2798. BillingAddress?: Address;
  2799. /**
  2800. * A key value pair of attributes of a customer profile.
  2801. */
  2802. Attributes?: Attributes;
  2803. /**
  2804. * A list of items used to find a profile returned in a SearchProfiles response. An item is a key-value(s) pair that matches an attribute in the profile. If the optional AdditionalSearchKeys parameter was included in the SearchProfiles request, the FoundByItems list should be interpreted based on the LogicalOperator used in the request: AND - The profile included in the response matched all of the search keys specified in the request. The FoundByItems will include all of the key-value(s) pairs that were specified in the request (as this is a requirement of AND search logic). OR - The profile included in the response matched at least one of the search keys specified in the request. The FoundByItems will include each of the key-value(s) pairs that the profile was found by. The OR relationship is the default behavior if the LogicalOperator parameter is not included in the SearchProfiles request.
  2805. */
  2806. FoundByItems?: foundByList;
  2807. /**
  2808. * An alternative to PartyType which accepts any string as input.
  2809. */
  2810. PartyTypeString?: sensitiveString1To255;
  2811. /**
  2812. * An alternative to Gender which accepts any string as input.
  2813. */
  2814. GenderString?: sensitiveString1To255;
  2815. }
  2816. export type ProfileIdList = uuid[];
  2817. export type ProfileIdToBeMergedList = uuid[];
  2818. export type ProfileList = Profile[];
  2819. export type ProfileObjectList = ListProfileObjectsItem[];
  2820. export type ProfileObjectTypeList = ListProfileObjectTypeItem[];
  2821. export type ProfileObjectTypeTemplateList = ListProfileObjectTypeTemplateItem[];
  2822. export type Property = string;
  2823. export interface PutIntegrationRequest {
  2824. /**
  2825. * The unique name of the domain.
  2826. */
  2827. DomainName: name;
  2828. /**
  2829. * The URI of the S3 bucket or any other type of data source.
  2830. */
  2831. Uri?: string1To255;
  2832. /**
  2833. * The name of the profile object type.
  2834. */
  2835. ObjectTypeName?: typeName;
  2836. /**
  2837. * The tags used to organize, track, or control access for this resource.
  2838. */
  2839. Tags?: TagMap;
  2840. /**
  2841. * The configuration that controls how Customer Profiles retrieves data from the source.
  2842. */
  2843. FlowDefinition?: FlowDefinition;
  2844. /**
  2845. * A map in which each key is an event type from an external application such as Segment or Shopify, and each value is an ObjectTypeName (template) used to ingest the event. It supports the following event types: SegmentIdentify, ShopifyCreateCustomers, ShopifyUpdateCustomers, ShopifyCreateDraftOrders, ShopifyUpdateDraftOrders, ShopifyCreateOrders, and ShopifyUpdatedOrders.
  2846. */
  2847. ObjectTypeNames?: ObjectTypeNames;
  2848. }
  2849. export interface PutIntegrationResponse {
  2850. /**
  2851. * The unique name of the domain.
  2852. */
  2853. DomainName: name;
  2854. /**
  2855. * The URI of the S3 bucket or any other type of data source.
  2856. */
  2857. Uri: string1To255;
  2858. /**
  2859. * The name of the profile object type.
  2860. */
  2861. ObjectTypeName?: typeName;
  2862. /**
  2863. * The timestamp of when the domain was created.
  2864. */
  2865. CreatedAt: timestamp;
  2866. /**
  2867. * The timestamp of when the domain was most recently edited.
  2868. */
  2869. LastUpdatedAt: timestamp;
  2870. /**
  2871. * The tags used to organize, track, or control access for this resource.
  2872. */
  2873. Tags?: TagMap;
  2874. /**
  2875. * A map in which each key is an event type from an external application such as Segment or Shopify, and each value is an ObjectTypeName (template) used to ingest the event. It supports the following event types: SegmentIdentify, ShopifyCreateCustomers, ShopifyUpdateCustomers, ShopifyCreateDraftOrders, ShopifyUpdateDraftOrders, ShopifyCreateOrders, and ShopifyUpdatedOrders.
  2876. */
  2877. ObjectTypeNames?: ObjectTypeNames;
  2878. /**
  2879. * Unique identifier for the workflow.
  2880. */
  2881. WorkflowId?: string1To255;
  2882. /**
  2883. * Boolean that shows if the Flow that's associated with the Integration is created in Amazon Appflow, or with ObjectTypeName equals _unstructured via API/CLI in flowDefinition.
  2884. */
  2885. IsUnstructured?: optionalBoolean;
  2886. }
  2887. export interface PutProfileObjectRequest {
  2888. /**
  2889. * The name of the profile object type.
  2890. */
  2891. ObjectTypeName: typeName;
  2892. /**
  2893. * A string that is serialized from a JSON object.
  2894. */
  2895. Object: stringifiedJson;
  2896. /**
  2897. * The unique name of the domain.
  2898. */
  2899. DomainName: name;
  2900. }
  2901. export interface PutProfileObjectResponse {
  2902. /**
  2903. * The unique identifier of the profile object generated by the service.
  2904. */
  2905. ProfileObjectUniqueKey?: string1To255;
  2906. }
  2907. export interface PutProfileObjectTypeRequest {
  2908. /**
  2909. * The unique name of the domain.
  2910. */
  2911. DomainName: name;
  2912. /**
  2913. * The name of the profile object type.
  2914. */
  2915. ObjectTypeName: typeName;
  2916. /**
  2917. * Description of the profile object type.
  2918. */
  2919. Description: sensitiveText;
  2920. /**
  2921. * A unique identifier for the object template. For some attributes in the request, the service will use the default value from the object template when TemplateId is present. If these attributes are present in the request, the service may return a BadRequestException. These attributes include: AllowProfileCreation, SourceLastUpdatedTimestampFormat, Fields, and Keys. For example, if AllowProfileCreation is set to true when TemplateId is set, the service may return a BadRequestException.
  2922. */
  2923. TemplateId?: name;
  2924. /**
  2925. * The number of days until the data in the object expires.
  2926. */
  2927. ExpirationDays?: expirationDaysInteger;
  2928. /**
  2929. * The customer-provided key to encrypt the profile object that will be created in this profile object type.
  2930. */
  2931. EncryptionKey?: encryptionKey;
  2932. /**
  2933. * Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. The default is FALSE. If the AllowProfileCreation flag is set to FALSE, then the service tries to fetch a standard profile and associate this object with the profile. If it is set to TRUE, and if no match is found, then the service creates a new standard profile.
  2934. */
  2935. AllowProfileCreation?: boolean;
  2936. /**
  2937. * The format of your sourceLastUpdatedTimestamp that was previously set up.
  2938. */
  2939. SourceLastUpdatedTimestampFormat?: string1To255;
  2940. /**
  2941. * A map of the name and ObjectType field.
  2942. */
  2943. Fields?: FieldMap;
  2944. /**
  2945. * A list of unique keys that can be used to map data to the profile.
  2946. */
  2947. Keys?: KeyMap;
  2948. /**
  2949. * The tags used to organize, track, or control access for this resource.
  2950. */
  2951. Tags?: TagMap;
  2952. }
  2953. export interface PutProfileObjectTypeResponse {
  2954. /**
  2955. * The name of the profile object type.
  2956. */
  2957. ObjectTypeName: typeName;
  2958. /**
  2959. * Description of the profile object type.
  2960. */
  2961. Description: sensitiveText;
  2962. /**
  2963. * A unique identifier for the object template.
  2964. */
  2965. TemplateId?: name;
  2966. /**
  2967. * The number of days until the data in the object expires.
  2968. */
  2969. ExpirationDays?: expirationDaysInteger;
  2970. /**
  2971. * The customer-provided key to encrypt the profile object that will be created in this profile object type.
  2972. */
  2973. EncryptionKey?: encryptionKey;
  2974. /**
  2975. * Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. The default is FALSE. If the AllowProfileCreation flag is set to FALSE, then the service tries to fetch a standard profile and associate this object with the profile. If it is set to TRUE, and if no match is found, then the service creates a new standard profile.
  2976. */
  2977. AllowProfileCreation?: boolean;
  2978. /**
  2979. * The format of your sourceLastUpdatedTimestamp that was previously set up in fields that were parsed using SimpleDateFormat. If you have sourceLastUpdatedTimestamp in your field, you must set up sourceLastUpdatedTimestampFormat.
  2980. */
  2981. SourceLastUpdatedTimestampFormat?: string1To255;
  2982. /**
  2983. * A map of the name and ObjectType field.
  2984. */
  2985. Fields?: FieldMap;
  2986. /**
  2987. * A list of unique keys that can be used to map data to the profile.
  2988. */
  2989. Keys?: KeyMap;
  2990. /**
  2991. * The timestamp of when the domain was created.
  2992. */
  2993. CreatedAt?: timestamp;
  2994. /**
  2995. * The timestamp of when the domain was most recently edited.
  2996. */
  2997. LastUpdatedAt?: timestamp;
  2998. /**
  2999. * The tags used to organize, track, or control access for this resource.
  3000. */
  3001. Tags?: TagMap;
  3002. }
  3003. export interface Range {
  3004. /**
  3005. * The amount of time of the specified unit.
  3006. */
  3007. Value: Value;
  3008. /**
  3009. * The unit of time.
  3010. */
  3011. Unit: Unit;
  3012. }
  3013. export type RoleArn = string;
  3014. export interface RuleBasedMatchingRequest {
  3015. /**
  3016. * The flag that enables the rule-based matching process of duplicate profiles.
  3017. */
  3018. Enabled: optionalBoolean;
  3019. /**
  3020. * Configures how the rule-based matching process should match profiles. You can have up to 15 MatchingRule in the MatchingRules.
  3021. */
  3022. MatchingRules?: MatchingRules;
  3023. /**
  3024. * MatchingRule
  3025. */
  3026. MaxAllowedRuleLevelForMerging?: MaxAllowedRuleLevelForMerging;
  3027. /**
  3028. * Indicates the maximum allowed rule level.
  3029. */
  3030. MaxAllowedRuleLevelForMatching?: MaxAllowedRuleLevelForMatching;
  3031. /**
  3032. * Configures information about the AttributeTypesSelector where the rule-based identity resolution uses to match profiles.
  3033. */
  3034. AttributeTypesSelector?: AttributeTypesSelector;
  3035. ConflictResolution?: ConflictResolution;
  3036. ExportingConfig?: ExportingConfig;
  3037. }
  3038. export interface RuleBasedMatchingResponse {
  3039. /**
  3040. * The flag that enables the rule-based matching process of duplicate profiles.
  3041. */
  3042. Enabled?: optionalBoolean;
  3043. /**
  3044. * Configures how the rule-based matching process should match profiles. You can have up to 15 MatchingRule in the MatchingRules.
  3045. */
  3046. MatchingRules?: MatchingRules;
  3047. /**
  3048. * PENDING The first status after configuration a rule-based matching rule. If it is an existing domain, the rule-based Identity Resolution waits one hour before creating the matching rule. If it is a new domain, the system will skip the PENDING stage. IN_PROGRESS The system is creating the rule-based matching rule. Under this status, the system is evaluating the existing data and you can no longer change the Rule-based matching configuration. ACTIVE The rule is ready to use. You can change the rule a day after the status is in ACTIVE.
  3049. */
  3050. Status?: RuleBasedMatchingStatus;
  3051. /**
  3052. * MatchingRule
  3053. */
  3054. MaxAllowedRuleLevelForMerging?: MaxAllowedRuleLevelForMerging;
  3055. /**
  3056. * Indicates the maximum allowed rule level.
  3057. */
  3058. MaxAllowedRuleLevelForMatching?: MaxAllowedRuleLevelForMatching;
  3059. /**
  3060. * Configures information about the AttributeTypesSelector where the rule-based identity resolution uses to match profiles.
  3061. */
  3062. AttributeTypesSelector?: AttributeTypesSelector;
  3063. ConflictResolution?: ConflictResolution;
  3064. ExportingConfig?: ExportingConfig;
  3065. }
  3066. export type RuleBasedMatchingStatus = "PENDING"|"IN_PROGRESS"|"ACTIVE"|string;
  3067. export type RuleLevel = number;
  3068. export type S3ConnectorOperator = "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"|string;
  3069. export interface S3ExportingConfig {
  3070. /**
  3071. * The name of the S3 bucket where Identity Resolution Jobs write result files.
  3072. */
  3073. S3BucketName: s3BucketName;
  3074. /**
  3075. * The S3 key name of the location where Identity Resolution Jobs write result files.
  3076. */
  3077. S3KeyName?: s3KeyNameCustomerOutputConfig;
  3078. }
  3079. export interface S3ExportingLocation {
  3080. /**
  3081. * The name of the S3 bucket name where Identity Resolution Jobs write result files.
  3082. */
  3083. S3BucketName?: s3BucketName;
  3084. /**
  3085. * The S3 key name of the location where Identity Resolution Jobs write result files.
  3086. */
  3087. S3KeyName?: s3KeyName;
  3088. }
  3089. export interface S3SourceProperties {
  3090. /**
  3091. * The Amazon S3 bucket name where the source files are stored.
  3092. */
  3093. BucketName: BucketName;
  3094. /**
  3095. * The object key for the Amazon S3 bucket in which the source files are stored.
  3096. */
  3097. BucketPrefix?: BucketPrefix;
  3098. }
  3099. export type SalesforceConnectorOperator = "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"|string;
  3100. export interface SalesforceSourceProperties {
  3101. /**
  3102. * The object specified in the Salesforce flow source.
  3103. */
  3104. Object: Object;
  3105. /**
  3106. * The flag that enables dynamic fetching of new (recently added) fields in the Salesforce objects while running a flow.
  3107. */
  3108. EnableDynamicFieldUpdate?: boolean;
  3109. /**
  3110. * Indicates whether Amazon AppFlow includes deleted files in the flow run.
  3111. */
  3112. IncludeDeletedRecords?: boolean;
  3113. }
  3114. export type ScheduleExpression = string;
  3115. export type ScheduleOffset = number;
  3116. export interface ScheduledTriggerProperties {
  3117. /**
  3118. * The scheduling expression that determines the rate at which the schedule will run, for example rate (5 minutes).
  3119. */
  3120. ScheduleExpression: ScheduleExpression;
  3121. /**
  3122. * Specifies whether a scheduled flow has an incremental data transfer or a complete data transfer for each flow run.
  3123. */
  3124. DataPullMode?: DataPullMode;
  3125. /**
  3126. * Specifies the scheduled start time for a scheduled-trigger flow.
  3127. */
  3128. ScheduleStartTime?: _Date;
  3129. /**
  3130. * Specifies the scheduled end time for a scheduled-trigger flow.
  3131. */
  3132. ScheduleEndTime?: _Date;
  3133. /**
  3134. * Specifies the time zone used when referring to the date and time of a scheduled-triggered flow, such as America/New_York.
  3135. */
  3136. Timezone?: Timezone;
  3137. /**
  3138. * Specifies the optional offset that is added to the time interval for a schedule-triggered flow.
  3139. */
  3140. ScheduleOffset?: ScheduleOffset;
  3141. /**
  3142. * Specifies the date range for the records to import from the connector in the first flow run.
  3143. */
  3144. FirstExecutionFrom?: _Date;
  3145. }
  3146. export interface SearchProfilesRequest {
  3147. /**
  3148. * The pagination token from the previous SearchProfiles API call.
  3149. */
  3150. NextToken?: token;
  3151. /**
  3152. * The maximum number of objects returned per page. The default is 20 if this parameter is not included in the request.
  3153. */
  3154. MaxResults?: maxSize100;
  3155. /**
  3156. * The unique name of the domain.
  3157. */
  3158. DomainName: name;
  3159. /**
  3160. * A searchable identifier of a customer profile. The predefined keys you can use to search include: _account, _profileId, _assetId, _caseId, _orderId, _fullName, _phone, _email, _ctrContactId, _marketoLeadId, _salesforceAccountId, _salesforceContactId, _salesforceAssetId, _zendeskUserId, _zendeskExternalId, _zendeskTicketId, _serviceNowSystemId, _serviceNowIncidentId, _segmentUserId, _shopifyCustomerId, _shopifyOrderId.
  3161. */
  3162. KeyName: name;
  3163. /**
  3164. * A list of key values.
  3165. */
  3166. Values: requestValueList;
  3167. /**
  3168. * A list of AdditionalSearchKey objects that are each searchable identifiers of a profile. Each AdditionalSearchKey object contains a KeyName and a list of Values associated with that specific key (i.e., a key-value(s) pair). These additional search keys will be used in conjunction with the LogicalOperator and the required KeyName and Values parameters to search for profiles that satisfy the search criteria.
  3169. */
  3170. AdditionalSearchKeys?: additionalSearchKeysList;
  3171. /**
  3172. * Relationship between all specified search keys that will be used to search for profiles. This includes the required KeyName and Values parameters as well as any key-value(s) pairs specified in the AdditionalSearchKeys list. This parameter influences which profiles will be returned in the response in the following manner: AND - The response only includes profiles that match all of the search keys. OR - The response includes profiles that match at least one of the search keys. The OR relationship is the default behavior if this parameter is not included in the request.
  3173. */
  3174. LogicalOperator?: logicalOperator;
  3175. }
  3176. export interface SearchProfilesResponse {
  3177. /**
  3178. * The list of Profiles matching the search criteria.
  3179. */
  3180. Items?: ProfileList;
  3181. /**
  3182. * The pagination token from the previous SearchProfiles API call.
  3183. */
  3184. NextToken?: token;
  3185. }
  3186. export type ServiceNowConnectorOperator = "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"|string;
  3187. export interface ServiceNowSourceProperties {
  3188. /**
  3189. * The object specified in the ServiceNow flow source.
  3190. */
  3191. Object: Object;
  3192. }
  3193. export interface SourceConnectorProperties {
  3194. /**
  3195. * The properties that are applied when Marketo is being used as a source.
  3196. */
  3197. Marketo?: MarketoSourceProperties;
  3198. /**
  3199. * The properties that are applied when Amazon S3 is being used as the flow source.
  3200. */
  3201. S3?: S3SourceProperties;
  3202. /**
  3203. * The properties that are applied when Salesforce is being used as a source.
  3204. */
  3205. Salesforce?: SalesforceSourceProperties;
  3206. /**
  3207. * The properties that are applied when ServiceNow is being used as a source.
  3208. */
  3209. ServiceNow?: ServiceNowSourceProperties;
  3210. /**
  3211. * The properties that are applied when using Zendesk as a flow source.
  3212. */
  3213. Zendesk?: ZendeskSourceProperties;
  3214. }
  3215. export type SourceConnectorType = "Salesforce"|"Marketo"|"Zendesk"|"Servicenow"|"S3"|string;
  3216. export type SourceFields = stringTo2048[];
  3217. export interface SourceFlowConfig {
  3218. /**
  3219. * The name of the AppFlow connector profile. This name must be unique for each connector profile in the AWS account.
  3220. */
  3221. ConnectorProfileName?: ConnectorProfileName;
  3222. /**
  3223. * The type of connector, such as Salesforce, Marketo, and so on.
  3224. */
  3225. ConnectorType: SourceConnectorType;
  3226. /**
  3227. * Defines the configuration for a scheduled incremental data pull. If a valid configuration is provided, the fields specified in the configuration are used when querying for the incremental data pull.
  3228. */
  3229. IncrementalPullConfig?: IncrementalPullConfig;
  3230. /**
  3231. * Specifies the information that is required to query a particular source connector.
  3232. */
  3233. SourceConnectorProperties: SourceConnectorProperties;
  3234. }
  3235. export type StandardIdentifier = "PROFILE"|"ASSET"|"CASE"|"UNIQUE"|"SECONDARY"|"LOOKUP_ONLY"|"NEW_ONLY"|"ORDER"|string;
  3236. export type StandardIdentifierList = StandardIdentifier[];
  3237. export type Statistic = "FIRST_OCCURRENCE"|"LAST_OCCURRENCE"|"COUNT"|"SUM"|"MINIMUM"|"MAXIMUM"|"AVERAGE"|"MAX_OCCURRENCE"|string;
  3238. export type Status = "NOT_STARTED"|"IN_PROGRESS"|"COMPLETE"|"FAILED"|"SPLIT"|"RETRY"|"CANCELLED"|string;
  3239. export type TagArn = string;
  3240. export type TagKey = string;
  3241. export type TagKeyList = TagKey[];
  3242. export type TagMap = {[key: string]: TagValue};
  3243. export interface TagResourceRequest {
  3244. /**
  3245. * The ARN of the resource that you're adding tags to.
  3246. */
  3247. resourceArn: TagArn;
  3248. /**
  3249. * The tags used to organize, track, or control access for this resource.
  3250. */
  3251. tags: TagMap;
  3252. }
  3253. export interface TagResourceResponse {
  3254. }
  3255. export type TagValue = string;
  3256. export interface Task {
  3257. /**
  3258. * The operation to be performed on the provided source fields.
  3259. */
  3260. ConnectorOperator?: ConnectorOperator;
  3261. /**
  3262. * A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.
  3263. */
  3264. DestinationField?: DestinationField;
  3265. /**
  3266. * The source fields to which a particular task is applied.
  3267. */
  3268. SourceFields: SourceFields;
  3269. /**
  3270. * A map used to store task-related information. The service looks for particular information based on the TaskType.
  3271. */
  3272. TaskProperties?: TaskPropertiesMap;
  3273. /**
  3274. * Specifies the particular task implementation that Amazon AppFlow performs.
  3275. */
  3276. TaskType: TaskType;
  3277. }
  3278. export type TaskPropertiesMap = {[key: string]: Property};
  3279. export type TaskType = "Arithmetic"|"Filter"|"Map"|"Mask"|"Merge"|"Truncate"|"Validate"|string;
  3280. export type Tasks = Task[];
  3281. export interface Threshold {
  3282. /**
  3283. * The value of the threshold.
  3284. */
  3285. Value: string1To255;
  3286. /**
  3287. * The operator of the threshold.
  3288. */
  3289. Operator: Operator;
  3290. }
  3291. export type Timezone = string;
  3292. export interface TriggerConfig {
  3293. /**
  3294. * Specifies the type of flow trigger. It can be OnDemand, Scheduled, or Event.
  3295. */
  3296. TriggerType: TriggerType;
  3297. /**
  3298. * Specifies the configuration details of a schedule-triggered flow that you define. Currently, these settings only apply to the Scheduled trigger type.
  3299. */
  3300. TriggerProperties?: TriggerProperties;
  3301. }
  3302. export interface TriggerProperties {
  3303. /**
  3304. * Specifies the configuration details of a schedule-triggered flow that you define.
  3305. */
  3306. Scheduled?: ScheduledTriggerProperties;
  3307. }
  3308. export type TriggerType = "Scheduled"|"Event"|"OnDemand"|string;
  3309. export type Unit = "DAYS"|string;
  3310. export interface UntagResourceRequest {
  3311. /**
  3312. * The ARN of the resource from which you are removing tags.
  3313. */
  3314. resourceArn: TagArn;
  3315. /**
  3316. * The list of tag keys to remove from the resource.
  3317. */
  3318. tagKeys: TagKeyList;
  3319. }
  3320. export interface UntagResourceResponse {
  3321. }
  3322. export interface UpdateAddress {
  3323. /**
  3324. * The first line of a customer address.
  3325. */
  3326. Address1?: string0To255;
  3327. /**
  3328. * The second line of a customer address.
  3329. */
  3330. Address2?: string0To255;
  3331. /**
  3332. * The third line of a customer address.
  3333. */
  3334. Address3?: string0To255;
  3335. /**
  3336. * The fourth line of a customer address.
  3337. */
  3338. Address4?: string0To255;
  3339. /**
  3340. * The city in which a customer lives.
  3341. */
  3342. City?: string0To255;
  3343. /**
  3344. * The county in which a customer lives.
  3345. */
  3346. County?: string0To255;
  3347. /**
  3348. * The state in which a customer lives.
  3349. */
  3350. State?: string0To255;
  3351. /**
  3352. * The province in which a customer lives.
  3353. */
  3354. Province?: string0To255;
  3355. /**
  3356. * The country in which a customer lives.
  3357. */
  3358. Country?: string0To255;
  3359. /**
  3360. * The postal code of a customer address.
  3361. */
  3362. PostalCode?: string0To255;
  3363. }
  3364. export type UpdateAttributes = {[key: string]: string0To255};
  3365. export interface UpdateCalculatedAttributeDefinitionRequest {
  3366. /**
  3367. * The unique name of the domain.
  3368. */
  3369. DomainName: name;
  3370. /**
  3371. * The unique name of the calculated attribute.
  3372. */
  3373. CalculatedAttributeName: typeName;
  3374. /**
  3375. * The display name of the calculated attribute.
  3376. */
  3377. DisplayName?: displayName;
  3378. /**
  3379. * The description of the calculated attribute.
  3380. */
  3381. Description?: sensitiveText;
  3382. /**
  3383. * The conditions including range, object count, and threshold for the calculated attribute.
  3384. */
  3385. Conditions?: Conditions;
  3386. }
  3387. export interface UpdateCalculatedAttributeDefinitionResponse {
  3388. /**
  3389. * The unique name of the calculated attribute.
  3390. */
  3391. CalculatedAttributeName?: typeName;
  3392. /**
  3393. * The display name of the calculated attribute.
  3394. */
  3395. DisplayName?: displayName;
  3396. /**
  3397. * The description of the calculated attribute.
  3398. */
  3399. Description?: sensitiveText;
  3400. /**
  3401. * The timestamp of when the calculated attribute definition was created.
  3402. */
  3403. CreatedAt?: timestamp;
  3404. /**
  3405. * The timestamp of when the calculated attribute definition was most recently edited.
  3406. */
  3407. LastUpdatedAt?: timestamp;
  3408. /**
  3409. * The aggregation operation to perform for the calculated attribute.
  3410. */
  3411. Statistic?: Statistic;
  3412. /**
  3413. * The conditions including range, object count, and threshold for the calculated attribute.
  3414. */
  3415. Conditions?: Conditions;
  3416. /**
  3417. * The mathematical expression and a list of attribute items specified in that expression.
  3418. */
  3419. AttributeDetails?: AttributeDetails;
  3420. /**
  3421. * The tags used to organize, track, or control access for this resource.
  3422. */
  3423. Tags?: TagMap;
  3424. }
  3425. export interface UpdateDomainRequest {
  3426. /**
  3427. * The unique name of the domain.
  3428. */
  3429. DomainName: name;
  3430. /**
  3431. * The default number of days until the data within the domain expires.
  3432. */
  3433. DefaultExpirationDays?: expirationDaysInteger;
  3434. /**
  3435. * The default encryption key, which is an AWS managed key, is used when no specific type of encryption key is specified. It is used to encrypt all data before it is placed in permanent or semi-permanent storage. If specified as an empty string, it will clear any existing value.
  3436. */
  3437. DefaultEncryptionKey?: encryptionKey;
  3438. /**
  3439. * The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from third party applications. If specified as an empty string, it will clear any existing value. You must set up a policy on the DeadLetterQueue for the SendMessage operation to enable Amazon Connect Customer Profiles to send messages to the DeadLetterQueue.
  3440. */
  3441. DeadLetterQueueUrl?: sqsQueueUrl;
  3442. /**
  3443. * The process of matching duplicate profiles. If Matching = true, Amazon Connect Customer Profiles starts a weekly batch process called Identity Resolution Job. If you do not specify a date and time for Identity Resolution Job to run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles in your domains. After the Identity Resolution Job completes, use the GetMatches API to return and review the results. Or, if you have configured ExportingConfig in the MatchingRequest, you can download the results from S3.
  3444. */
  3445. Matching?: MatchingRequest;
  3446. /**
  3447. * The process of matching duplicate profiles using the rule-Based matching. If RuleBasedMatching = true, Amazon Connect Customer Profiles will start to match and merge your profiles according to your configuration in the RuleBasedMatchingRequest. You can use the ListRuleBasedMatches and GetSimilarProfiles API to return and review the results. Also, if you have configured ExportingConfig in the RuleBasedMatchingRequest, you can download the results from S3.
  3448. */
  3449. RuleBasedMatching?: RuleBasedMatchingRequest;
  3450. /**
  3451. * The tags used to organize, track, or control access for this resource.
  3452. */
  3453. Tags?: TagMap;
  3454. }
  3455. export interface UpdateDomainResponse {
  3456. /**
  3457. * The unique name of the domain.
  3458. */
  3459. DomainName: name;
  3460. /**
  3461. * The default number of days until the data within the domain expires.
  3462. */
  3463. DefaultExpirationDays?: expirationDaysInteger;
  3464. /**
  3465. * The default encryption key, which is an AWS managed key, is used when no specific type of encryption key is specified. It is used to encrypt all data before it is placed in permanent or semi-permanent storage.
  3466. */
  3467. DefaultEncryptionKey?: encryptionKey;
  3468. /**
  3469. * The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from third party applications.
  3470. */
  3471. DeadLetterQueueUrl?: sqsQueueUrl;
  3472. /**
  3473. * The process of matching duplicate profiles. If Matching = true, Amazon Connect Customer Profiles starts a weekly batch process called Identity Resolution Job. If you do not specify a date and time for Identity Resolution Job to run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles in your domains. After the Identity Resolution Job completes, use the GetMatches API to return and review the results. Or, if you have configured ExportingConfig in the MatchingRequest, you can download the results from S3.
  3474. */
  3475. Matching?: MatchingResponse;
  3476. /**
  3477. * The process of matching duplicate profiles using the rule-Based matching. If RuleBasedMatching = true, Amazon Connect Customer Profiles will start to match and merge your profiles according to your configuration in the RuleBasedMatchingRequest. You can use the ListRuleBasedMatches and GetSimilarProfiles API to return and review the results. Also, if you have configured ExportingConfig in the RuleBasedMatchingRequest, you can download the results from S3.
  3478. */
  3479. RuleBasedMatching?: RuleBasedMatchingResponse;
  3480. /**
  3481. * The timestamp of when the domain was created.
  3482. */
  3483. CreatedAt: timestamp;
  3484. /**
  3485. * The timestamp of when the domain was most recently edited.
  3486. */
  3487. LastUpdatedAt: timestamp;
  3488. /**
  3489. * The tags used to organize, track, or control access for this resource.
  3490. */
  3491. Tags?: TagMap;
  3492. }
  3493. export interface UpdateProfileRequest {
  3494. /**
  3495. * The unique name of the domain.
  3496. */
  3497. DomainName: name;
  3498. /**
  3499. * The unique identifier of a customer profile.
  3500. */
  3501. ProfileId: uuid;
  3502. /**
  3503. * Any additional information relevant to the customer’s profile.
  3504. */
  3505. AdditionalInformation?: sensitiveString0To1000;
  3506. /**
  3507. * A unique account number that you have given to the customer.
  3508. */
  3509. AccountNumber?: sensitiveString0To255;
  3510. /**
  3511. * The type of profile used to describe the customer.
  3512. */
  3513. PartyType?: PartyType;
  3514. /**
  3515. * The name of the customer’s business.
  3516. */
  3517. BusinessName?: sensitiveString0To255;
  3518. /**
  3519. * The customer’s first name.
  3520. */
  3521. FirstName?: sensitiveString0To255;
  3522. /**
  3523. * The customer’s middle name.
  3524. */
  3525. MiddleName?: sensitiveString0To255;
  3526. /**
  3527. * The customer’s last name.
  3528. */
  3529. LastName?: sensitiveString0To255;
  3530. /**
  3531. * The customer’s birth date.
  3532. */
  3533. BirthDate?: sensitiveString0To255;
  3534. /**
  3535. * The gender with which the customer identifies.
  3536. */
  3537. Gender?: Gender;
  3538. /**
  3539. * The customer’s phone number, which has not been specified as a mobile, home, or business number.
  3540. */
  3541. PhoneNumber?: sensitiveString0To255;
  3542. /**
  3543. * The customer’s mobile phone number.
  3544. */
  3545. MobilePhoneNumber?: sensitiveString0To255;
  3546. /**
  3547. * The customer’s home phone number.
  3548. */
  3549. HomePhoneNumber?: sensitiveString0To255;
  3550. /**
  3551. * The customer’s business phone number.
  3552. */
  3553. BusinessPhoneNumber?: sensitiveString0To255;
  3554. /**
  3555. * The customer’s email address, which has not been specified as a personal or business address.
  3556. */
  3557. EmailAddress?: sensitiveString0To255;
  3558. /**
  3559. * The customer’s personal email address.
  3560. */
  3561. PersonalEmailAddress?: sensitiveString0To255;
  3562. /**
  3563. * The customer’s business email address.
  3564. */
  3565. BusinessEmailAddress?: sensitiveString0To255;
  3566. /**
  3567. * A generic address associated with the customer that is not mailing, shipping, or billing.
  3568. */
  3569. Address?: UpdateAddress;
  3570. /**
  3571. * The customer’s shipping address.
  3572. */
  3573. ShippingAddress?: UpdateAddress;
  3574. /**
  3575. * The customer’s mailing address.
  3576. */
  3577. MailingAddress?: UpdateAddress;
  3578. /**
  3579. * The customer’s billing address.
  3580. */
  3581. BillingAddress?: UpdateAddress;
  3582. /**
  3583. * A key value pair of attributes of a customer profile.
  3584. */
  3585. Attributes?: UpdateAttributes;
  3586. /**
  3587. * An alternative to PartyType which accepts any string as input.
  3588. */
  3589. PartyTypeString?: sensitiveString0To255;
  3590. /**
  3591. * An alternative to Gender which accepts any string as input.
  3592. */
  3593. GenderString?: sensitiveString0To255;
  3594. }
  3595. export interface UpdateProfileResponse {
  3596. /**
  3597. * The unique identifier of a customer profile.
  3598. */
  3599. ProfileId: uuid;
  3600. }
  3601. export type Value = number;
  3602. export interface WorkflowAttributes {
  3603. /**
  3604. * Workflow attributes specific to APPFLOW_INTEGRATION workflow.
  3605. */
  3606. AppflowIntegration?: AppflowIntegrationWorkflowAttributes;
  3607. }
  3608. export type WorkflowList = ListWorkflowsItem[];
  3609. export interface WorkflowMetrics {
  3610. /**
  3611. * Workflow execution metrics for APPFLOW_INTEGRATION workflow.
  3612. */
  3613. AppflowIntegration?: AppflowIntegrationWorkflowMetrics;
  3614. }
  3615. export interface WorkflowStepItem {
  3616. /**
  3617. * Workflow step information specific to APPFLOW_INTEGRATION workflow.
  3618. */
  3619. AppflowIntegration?: AppflowIntegrationWorkflowStep;
  3620. }
  3621. export type WorkflowStepsList = WorkflowStepItem[];
  3622. export type WorkflowType = "APPFLOW_INTEGRATION"|string;
  3623. export type ZendeskConnectorOperator = "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"|string;
  3624. export interface ZendeskSourceProperties {
  3625. /**
  3626. * The object specified in the Zendesk flow source.
  3627. */
  3628. Object: Object;
  3629. }
  3630. export type additionalSearchKeysList = AdditionalSearchKey[];
  3631. export type attributeName = string;
  3632. export type displayName = string;
  3633. export type encryptionKey = string;
  3634. export type expirationDaysInteger = number;
  3635. export type foundByList = FoundByKeyValue[];
  3636. export type logicalOperator = "AND"|"OR"|string;
  3637. export type long = number;
  3638. export type matchesNumber = number;
  3639. export type maxSize100 = number;
  3640. export type message = string;
  3641. export type optionalBoolean = boolean;
  3642. export type requestValueList = string1To255[];
  3643. export type s3BucketName = string;
  3644. export type s3KeyName = string;
  3645. export type s3KeyNameCustomerOutputConfig = string;
  3646. export type sensitiveString0To1000 = string;
  3647. export type sensitiveString0To255 = string;
  3648. export type sensitiveString1To1000 = string;
  3649. export type sensitiveString1To255 = string;
  3650. export type sensitiveText = string;
  3651. export type sqsQueueUrl = string;
  3652. export type string0To255 = string;
  3653. export type string1To1000 = string;
  3654. export type string1To255 = string;
  3655. export type stringTo2048 = string;
  3656. export type stringifiedJson = string;
  3657. export type text = string;
  3658. export type timestamp = Date;
  3659. export type token = string;
  3660. export type typeName = string;
  3661. export type uuid = string;
  3662. /**
  3663. * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
  3664. */
  3665. export type apiVersion = "2020-08-15"|"latest"|string;
  3666. export interface ClientApiVersions {
  3667. /**
  3668. * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
  3669. */
  3670. apiVersion?: apiVersion;
  3671. }
  3672. export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
  3673. /**
  3674. * Contains interfaces for use with the CustomerProfiles client.
  3675. */
  3676. export import Types = CustomerProfiles;
  3677. }
  3678. export = CustomerProfiles;