pinpoint.d.ts 393 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775
  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 Pinpoint extends Service {
  9. /**
  10. * Constructs a service object. This object has one method for each API operation.
  11. */
  12. constructor(options?: Pinpoint.Types.ClientConfiguration)
  13. config: Config & Pinpoint.Types.ClientConfiguration;
  14. /**
  15. * Creates an application.
  16. */
  17. createApp(params: Pinpoint.Types.CreateAppRequest, callback?: (err: AWSError, data: Pinpoint.Types.CreateAppResponse) => void): Request<Pinpoint.Types.CreateAppResponse, AWSError>;
  18. /**
  19. * Creates an application.
  20. */
  21. createApp(callback?: (err: AWSError, data: Pinpoint.Types.CreateAppResponse) => void): Request<Pinpoint.Types.CreateAppResponse, AWSError>;
  22. /**
  23. * Creates a new campaign for an application or updates the settings of an existing campaign for an application.
  24. */
  25. createCampaign(params: Pinpoint.Types.CreateCampaignRequest, callback?: (err: AWSError, data: Pinpoint.Types.CreateCampaignResponse) => void): Request<Pinpoint.Types.CreateCampaignResponse, AWSError>;
  26. /**
  27. * Creates a new campaign for an application or updates the settings of an existing campaign for an application.
  28. */
  29. createCampaign(callback?: (err: AWSError, data: Pinpoint.Types.CreateCampaignResponse) => void): Request<Pinpoint.Types.CreateCampaignResponse, AWSError>;
  30. /**
  31. * Creates a message template for messages that are sent through the email channel.
  32. */
  33. createEmailTemplate(params: Pinpoint.Types.CreateEmailTemplateRequest, callback?: (err: AWSError, data: Pinpoint.Types.CreateEmailTemplateResponse) => void): Request<Pinpoint.Types.CreateEmailTemplateResponse, AWSError>;
  34. /**
  35. * Creates a message template for messages that are sent through the email channel.
  36. */
  37. createEmailTemplate(callback?: (err: AWSError, data: Pinpoint.Types.CreateEmailTemplateResponse) => void): Request<Pinpoint.Types.CreateEmailTemplateResponse, AWSError>;
  38. /**
  39. * Creates an export job for an application.
  40. */
  41. createExportJob(params: Pinpoint.Types.CreateExportJobRequest, callback?: (err: AWSError, data: Pinpoint.Types.CreateExportJobResponse) => void): Request<Pinpoint.Types.CreateExportJobResponse, AWSError>;
  42. /**
  43. * Creates an export job for an application.
  44. */
  45. createExportJob(callback?: (err: AWSError, data: Pinpoint.Types.CreateExportJobResponse) => void): Request<Pinpoint.Types.CreateExportJobResponse, AWSError>;
  46. /**
  47. * Creates an import job for an application.
  48. */
  49. createImportJob(params: Pinpoint.Types.CreateImportJobRequest, callback?: (err: AWSError, data: Pinpoint.Types.CreateImportJobResponse) => void): Request<Pinpoint.Types.CreateImportJobResponse, AWSError>;
  50. /**
  51. * Creates an import job for an application.
  52. */
  53. createImportJob(callback?: (err: AWSError, data: Pinpoint.Types.CreateImportJobResponse) => void): Request<Pinpoint.Types.CreateImportJobResponse, AWSError>;
  54. /**
  55. * Creates a new message template for messages using the in-app message channel.
  56. */
  57. createInAppTemplate(params: Pinpoint.Types.CreateInAppTemplateRequest, callback?: (err: AWSError, data: Pinpoint.Types.CreateInAppTemplateResponse) => void): Request<Pinpoint.Types.CreateInAppTemplateResponse, AWSError>;
  58. /**
  59. * Creates a new message template for messages using the in-app message channel.
  60. */
  61. createInAppTemplate(callback?: (err: AWSError, data: Pinpoint.Types.CreateInAppTemplateResponse) => void): Request<Pinpoint.Types.CreateInAppTemplateResponse, AWSError>;
  62. /**
  63. * Creates a journey for an application.
  64. */
  65. createJourney(params: Pinpoint.Types.CreateJourneyRequest, callback?: (err: AWSError, data: Pinpoint.Types.CreateJourneyResponse) => void): Request<Pinpoint.Types.CreateJourneyResponse, AWSError>;
  66. /**
  67. * Creates a journey for an application.
  68. */
  69. createJourney(callback?: (err: AWSError, data: Pinpoint.Types.CreateJourneyResponse) => void): Request<Pinpoint.Types.CreateJourneyResponse, AWSError>;
  70. /**
  71. * Creates a message template for messages that are sent through a push notification channel.
  72. */
  73. createPushTemplate(params: Pinpoint.Types.CreatePushTemplateRequest, callback?: (err: AWSError, data: Pinpoint.Types.CreatePushTemplateResponse) => void): Request<Pinpoint.Types.CreatePushTemplateResponse, AWSError>;
  74. /**
  75. * Creates a message template for messages that are sent through a push notification channel.
  76. */
  77. createPushTemplate(callback?: (err: AWSError, data: Pinpoint.Types.CreatePushTemplateResponse) => void): Request<Pinpoint.Types.CreatePushTemplateResponse, AWSError>;
  78. /**
  79. * Creates an Amazon Pinpoint configuration for a recommender model.
  80. */
  81. createRecommenderConfiguration(params: Pinpoint.Types.CreateRecommenderConfigurationRequest, callback?: (err: AWSError, data: Pinpoint.Types.CreateRecommenderConfigurationResponse) => void): Request<Pinpoint.Types.CreateRecommenderConfigurationResponse, AWSError>;
  82. /**
  83. * Creates an Amazon Pinpoint configuration for a recommender model.
  84. */
  85. createRecommenderConfiguration(callback?: (err: AWSError, data: Pinpoint.Types.CreateRecommenderConfigurationResponse) => void): Request<Pinpoint.Types.CreateRecommenderConfigurationResponse, AWSError>;
  86. /**
  87. * Creates a new segment for an application or updates the configuration, dimension, and other settings for an existing segment that's associated with an application.
  88. */
  89. createSegment(params: Pinpoint.Types.CreateSegmentRequest, callback?: (err: AWSError, data: Pinpoint.Types.CreateSegmentResponse) => void): Request<Pinpoint.Types.CreateSegmentResponse, AWSError>;
  90. /**
  91. * Creates a new segment for an application or updates the configuration, dimension, and other settings for an existing segment that's associated with an application.
  92. */
  93. createSegment(callback?: (err: AWSError, data: Pinpoint.Types.CreateSegmentResponse) => void): Request<Pinpoint.Types.CreateSegmentResponse, AWSError>;
  94. /**
  95. * Creates a message template for messages that are sent through the SMS channel.
  96. */
  97. createSmsTemplate(params: Pinpoint.Types.CreateSmsTemplateRequest, callback?: (err: AWSError, data: Pinpoint.Types.CreateSmsTemplateResponse) => void): Request<Pinpoint.Types.CreateSmsTemplateResponse, AWSError>;
  98. /**
  99. * Creates a message template for messages that are sent through the SMS channel.
  100. */
  101. createSmsTemplate(callback?: (err: AWSError, data: Pinpoint.Types.CreateSmsTemplateResponse) => void): Request<Pinpoint.Types.CreateSmsTemplateResponse, AWSError>;
  102. /**
  103. * Creates a message template for messages that are sent through the voice channel.
  104. */
  105. createVoiceTemplate(params: Pinpoint.Types.CreateVoiceTemplateRequest, callback?: (err: AWSError, data: Pinpoint.Types.CreateVoiceTemplateResponse) => void): Request<Pinpoint.Types.CreateVoiceTemplateResponse, AWSError>;
  106. /**
  107. * Creates a message template for messages that are sent through the voice channel.
  108. */
  109. createVoiceTemplate(callback?: (err: AWSError, data: Pinpoint.Types.CreateVoiceTemplateResponse) => void): Request<Pinpoint.Types.CreateVoiceTemplateResponse, AWSError>;
  110. /**
  111. * Disables the ADM channel for an application and deletes any existing settings for the channel.
  112. */
  113. deleteAdmChannel(params: Pinpoint.Types.DeleteAdmChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteAdmChannelResponse) => void): Request<Pinpoint.Types.DeleteAdmChannelResponse, AWSError>;
  114. /**
  115. * Disables the ADM channel for an application and deletes any existing settings for the channel.
  116. */
  117. deleteAdmChannel(callback?: (err: AWSError, data: Pinpoint.Types.DeleteAdmChannelResponse) => void): Request<Pinpoint.Types.DeleteAdmChannelResponse, AWSError>;
  118. /**
  119. * Disables the APNs channel for an application and deletes any existing settings for the channel.
  120. */
  121. deleteApnsChannel(params: Pinpoint.Types.DeleteApnsChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteApnsChannelResponse) => void): Request<Pinpoint.Types.DeleteApnsChannelResponse, AWSError>;
  122. /**
  123. * Disables the APNs channel for an application and deletes any existing settings for the channel.
  124. */
  125. deleteApnsChannel(callback?: (err: AWSError, data: Pinpoint.Types.DeleteApnsChannelResponse) => void): Request<Pinpoint.Types.DeleteApnsChannelResponse, AWSError>;
  126. /**
  127. * Disables the APNs sandbox channel for an application and deletes any existing settings for the channel.
  128. */
  129. deleteApnsSandboxChannel(params: Pinpoint.Types.DeleteApnsSandboxChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteApnsSandboxChannelResponse) => void): Request<Pinpoint.Types.DeleteApnsSandboxChannelResponse, AWSError>;
  130. /**
  131. * Disables the APNs sandbox channel for an application and deletes any existing settings for the channel.
  132. */
  133. deleteApnsSandboxChannel(callback?: (err: AWSError, data: Pinpoint.Types.DeleteApnsSandboxChannelResponse) => void): Request<Pinpoint.Types.DeleteApnsSandboxChannelResponse, AWSError>;
  134. /**
  135. * Disables the APNs VoIP channel for an application and deletes any existing settings for the channel.
  136. */
  137. deleteApnsVoipChannel(params: Pinpoint.Types.DeleteApnsVoipChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteApnsVoipChannelResponse) => void): Request<Pinpoint.Types.DeleteApnsVoipChannelResponse, AWSError>;
  138. /**
  139. * Disables the APNs VoIP channel for an application and deletes any existing settings for the channel.
  140. */
  141. deleteApnsVoipChannel(callback?: (err: AWSError, data: Pinpoint.Types.DeleteApnsVoipChannelResponse) => void): Request<Pinpoint.Types.DeleteApnsVoipChannelResponse, AWSError>;
  142. /**
  143. * Disables the APNs VoIP sandbox channel for an application and deletes any existing settings for the channel.
  144. */
  145. deleteApnsVoipSandboxChannel(params: Pinpoint.Types.DeleteApnsVoipSandboxChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteApnsVoipSandboxChannelResponse) => void): Request<Pinpoint.Types.DeleteApnsVoipSandboxChannelResponse, AWSError>;
  146. /**
  147. * Disables the APNs VoIP sandbox channel for an application and deletes any existing settings for the channel.
  148. */
  149. deleteApnsVoipSandboxChannel(callback?: (err: AWSError, data: Pinpoint.Types.DeleteApnsVoipSandboxChannelResponse) => void): Request<Pinpoint.Types.DeleteApnsVoipSandboxChannelResponse, AWSError>;
  150. /**
  151. * Deletes an application.
  152. */
  153. deleteApp(params: Pinpoint.Types.DeleteAppRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteAppResponse) => void): Request<Pinpoint.Types.DeleteAppResponse, AWSError>;
  154. /**
  155. * Deletes an application.
  156. */
  157. deleteApp(callback?: (err: AWSError, data: Pinpoint.Types.DeleteAppResponse) => void): Request<Pinpoint.Types.DeleteAppResponse, AWSError>;
  158. /**
  159. * Disables the Baidu channel for an application and deletes any existing settings for the channel.
  160. */
  161. deleteBaiduChannel(params: Pinpoint.Types.DeleteBaiduChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteBaiduChannelResponse) => void): Request<Pinpoint.Types.DeleteBaiduChannelResponse, AWSError>;
  162. /**
  163. * Disables the Baidu channel for an application and deletes any existing settings for the channel.
  164. */
  165. deleteBaiduChannel(callback?: (err: AWSError, data: Pinpoint.Types.DeleteBaiduChannelResponse) => void): Request<Pinpoint.Types.DeleteBaiduChannelResponse, AWSError>;
  166. /**
  167. * Deletes a campaign from an application.
  168. */
  169. deleteCampaign(params: Pinpoint.Types.DeleteCampaignRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteCampaignResponse) => void): Request<Pinpoint.Types.DeleteCampaignResponse, AWSError>;
  170. /**
  171. * Deletes a campaign from an application.
  172. */
  173. deleteCampaign(callback?: (err: AWSError, data: Pinpoint.Types.DeleteCampaignResponse) => void): Request<Pinpoint.Types.DeleteCampaignResponse, AWSError>;
  174. /**
  175. * Disables the email channel for an application and deletes any existing settings for the channel.
  176. */
  177. deleteEmailChannel(params: Pinpoint.Types.DeleteEmailChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteEmailChannelResponse) => void): Request<Pinpoint.Types.DeleteEmailChannelResponse, AWSError>;
  178. /**
  179. * Disables the email channel for an application and deletes any existing settings for the channel.
  180. */
  181. deleteEmailChannel(callback?: (err: AWSError, data: Pinpoint.Types.DeleteEmailChannelResponse) => void): Request<Pinpoint.Types.DeleteEmailChannelResponse, AWSError>;
  182. /**
  183. * Deletes a message template for messages that were sent through the email channel.
  184. */
  185. deleteEmailTemplate(params: Pinpoint.Types.DeleteEmailTemplateRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteEmailTemplateResponse) => void): Request<Pinpoint.Types.DeleteEmailTemplateResponse, AWSError>;
  186. /**
  187. * Deletes a message template for messages that were sent through the email channel.
  188. */
  189. deleteEmailTemplate(callback?: (err: AWSError, data: Pinpoint.Types.DeleteEmailTemplateResponse) => void): Request<Pinpoint.Types.DeleteEmailTemplateResponse, AWSError>;
  190. /**
  191. * Deletes an endpoint from an application.
  192. */
  193. deleteEndpoint(params: Pinpoint.Types.DeleteEndpointRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteEndpointResponse) => void): Request<Pinpoint.Types.DeleteEndpointResponse, AWSError>;
  194. /**
  195. * Deletes an endpoint from an application.
  196. */
  197. deleteEndpoint(callback?: (err: AWSError, data: Pinpoint.Types.DeleteEndpointResponse) => void): Request<Pinpoint.Types.DeleteEndpointResponse, AWSError>;
  198. /**
  199. * Deletes the event stream for an application.
  200. */
  201. deleteEventStream(params: Pinpoint.Types.DeleteEventStreamRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteEventStreamResponse) => void): Request<Pinpoint.Types.DeleteEventStreamResponse, AWSError>;
  202. /**
  203. * Deletes the event stream for an application.
  204. */
  205. deleteEventStream(callback?: (err: AWSError, data: Pinpoint.Types.DeleteEventStreamResponse) => void): Request<Pinpoint.Types.DeleteEventStreamResponse, AWSError>;
  206. /**
  207. * Disables the GCM channel for an application and deletes any existing settings for the channel.
  208. */
  209. deleteGcmChannel(params: Pinpoint.Types.DeleteGcmChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteGcmChannelResponse) => void): Request<Pinpoint.Types.DeleteGcmChannelResponse, AWSError>;
  210. /**
  211. * Disables the GCM channel for an application and deletes any existing settings for the channel.
  212. */
  213. deleteGcmChannel(callback?: (err: AWSError, data: Pinpoint.Types.DeleteGcmChannelResponse) => void): Request<Pinpoint.Types.DeleteGcmChannelResponse, AWSError>;
  214. /**
  215. * Deletes a message template for messages sent using the in-app message channel.
  216. */
  217. deleteInAppTemplate(params: Pinpoint.Types.DeleteInAppTemplateRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteInAppTemplateResponse) => void): Request<Pinpoint.Types.DeleteInAppTemplateResponse, AWSError>;
  218. /**
  219. * Deletes a message template for messages sent using the in-app message channel.
  220. */
  221. deleteInAppTemplate(callback?: (err: AWSError, data: Pinpoint.Types.DeleteInAppTemplateResponse) => void): Request<Pinpoint.Types.DeleteInAppTemplateResponse, AWSError>;
  222. /**
  223. * Deletes a journey from an application.
  224. */
  225. deleteJourney(params: Pinpoint.Types.DeleteJourneyRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteJourneyResponse) => void): Request<Pinpoint.Types.DeleteJourneyResponse, AWSError>;
  226. /**
  227. * Deletes a journey from an application.
  228. */
  229. deleteJourney(callback?: (err: AWSError, data: Pinpoint.Types.DeleteJourneyResponse) => void): Request<Pinpoint.Types.DeleteJourneyResponse, AWSError>;
  230. /**
  231. * Deletes a message template for messages that were sent through a push notification channel.
  232. */
  233. deletePushTemplate(params: Pinpoint.Types.DeletePushTemplateRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeletePushTemplateResponse) => void): Request<Pinpoint.Types.DeletePushTemplateResponse, AWSError>;
  234. /**
  235. * Deletes a message template for messages that were sent through a push notification channel.
  236. */
  237. deletePushTemplate(callback?: (err: AWSError, data: Pinpoint.Types.DeletePushTemplateResponse) => void): Request<Pinpoint.Types.DeletePushTemplateResponse, AWSError>;
  238. /**
  239. * Deletes an Amazon Pinpoint configuration for a recommender model.
  240. */
  241. deleteRecommenderConfiguration(params: Pinpoint.Types.DeleteRecommenderConfigurationRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteRecommenderConfigurationResponse) => void): Request<Pinpoint.Types.DeleteRecommenderConfigurationResponse, AWSError>;
  242. /**
  243. * Deletes an Amazon Pinpoint configuration for a recommender model.
  244. */
  245. deleteRecommenderConfiguration(callback?: (err: AWSError, data: Pinpoint.Types.DeleteRecommenderConfigurationResponse) => void): Request<Pinpoint.Types.DeleteRecommenderConfigurationResponse, AWSError>;
  246. /**
  247. * Deletes a segment from an application.
  248. */
  249. deleteSegment(params: Pinpoint.Types.DeleteSegmentRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteSegmentResponse) => void): Request<Pinpoint.Types.DeleteSegmentResponse, AWSError>;
  250. /**
  251. * Deletes a segment from an application.
  252. */
  253. deleteSegment(callback?: (err: AWSError, data: Pinpoint.Types.DeleteSegmentResponse) => void): Request<Pinpoint.Types.DeleteSegmentResponse, AWSError>;
  254. /**
  255. * Disables the SMS channel for an application and deletes any existing settings for the channel.
  256. */
  257. deleteSmsChannel(params: Pinpoint.Types.DeleteSmsChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteSmsChannelResponse) => void): Request<Pinpoint.Types.DeleteSmsChannelResponse, AWSError>;
  258. /**
  259. * Disables the SMS channel for an application and deletes any existing settings for the channel.
  260. */
  261. deleteSmsChannel(callback?: (err: AWSError, data: Pinpoint.Types.DeleteSmsChannelResponse) => void): Request<Pinpoint.Types.DeleteSmsChannelResponse, AWSError>;
  262. /**
  263. * Deletes a message template for messages that were sent through the SMS channel.
  264. */
  265. deleteSmsTemplate(params: Pinpoint.Types.DeleteSmsTemplateRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteSmsTemplateResponse) => void): Request<Pinpoint.Types.DeleteSmsTemplateResponse, AWSError>;
  266. /**
  267. * Deletes a message template for messages that were sent through the SMS channel.
  268. */
  269. deleteSmsTemplate(callback?: (err: AWSError, data: Pinpoint.Types.DeleteSmsTemplateResponse) => void): Request<Pinpoint.Types.DeleteSmsTemplateResponse, AWSError>;
  270. /**
  271. * Deletes all the endpoints that are associated with a specific user ID.
  272. */
  273. deleteUserEndpoints(params: Pinpoint.Types.DeleteUserEndpointsRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteUserEndpointsResponse) => void): Request<Pinpoint.Types.DeleteUserEndpointsResponse, AWSError>;
  274. /**
  275. * Deletes all the endpoints that are associated with a specific user ID.
  276. */
  277. deleteUserEndpoints(callback?: (err: AWSError, data: Pinpoint.Types.DeleteUserEndpointsResponse) => void): Request<Pinpoint.Types.DeleteUserEndpointsResponse, AWSError>;
  278. /**
  279. * Disables the voice channel for an application and deletes any existing settings for the channel.
  280. */
  281. deleteVoiceChannel(params: Pinpoint.Types.DeleteVoiceChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteVoiceChannelResponse) => void): Request<Pinpoint.Types.DeleteVoiceChannelResponse, AWSError>;
  282. /**
  283. * Disables the voice channel for an application and deletes any existing settings for the channel.
  284. */
  285. deleteVoiceChannel(callback?: (err: AWSError, data: Pinpoint.Types.DeleteVoiceChannelResponse) => void): Request<Pinpoint.Types.DeleteVoiceChannelResponse, AWSError>;
  286. /**
  287. * Deletes a message template for messages that were sent through the voice channel.
  288. */
  289. deleteVoiceTemplate(params: Pinpoint.Types.DeleteVoiceTemplateRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteVoiceTemplateResponse) => void): Request<Pinpoint.Types.DeleteVoiceTemplateResponse, AWSError>;
  290. /**
  291. * Deletes a message template for messages that were sent through the voice channel.
  292. */
  293. deleteVoiceTemplate(callback?: (err: AWSError, data: Pinpoint.Types.DeleteVoiceTemplateResponse) => void): Request<Pinpoint.Types.DeleteVoiceTemplateResponse, AWSError>;
  294. /**
  295. * Retrieves information about the status and settings of the ADM channel for an application.
  296. */
  297. getAdmChannel(params: Pinpoint.Types.GetAdmChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetAdmChannelResponse) => void): Request<Pinpoint.Types.GetAdmChannelResponse, AWSError>;
  298. /**
  299. * Retrieves information about the status and settings of the ADM channel for an application.
  300. */
  301. getAdmChannel(callback?: (err: AWSError, data: Pinpoint.Types.GetAdmChannelResponse) => void): Request<Pinpoint.Types.GetAdmChannelResponse, AWSError>;
  302. /**
  303. * Retrieves information about the status and settings of the APNs channel for an application.
  304. */
  305. getApnsChannel(params: Pinpoint.Types.GetApnsChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetApnsChannelResponse) => void): Request<Pinpoint.Types.GetApnsChannelResponse, AWSError>;
  306. /**
  307. * Retrieves information about the status and settings of the APNs channel for an application.
  308. */
  309. getApnsChannel(callback?: (err: AWSError, data: Pinpoint.Types.GetApnsChannelResponse) => void): Request<Pinpoint.Types.GetApnsChannelResponse, AWSError>;
  310. /**
  311. * Retrieves information about the status and settings of the APNs sandbox channel for an application.
  312. */
  313. getApnsSandboxChannel(params: Pinpoint.Types.GetApnsSandboxChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetApnsSandboxChannelResponse) => void): Request<Pinpoint.Types.GetApnsSandboxChannelResponse, AWSError>;
  314. /**
  315. * Retrieves information about the status and settings of the APNs sandbox channel for an application.
  316. */
  317. getApnsSandboxChannel(callback?: (err: AWSError, data: Pinpoint.Types.GetApnsSandboxChannelResponse) => void): Request<Pinpoint.Types.GetApnsSandboxChannelResponse, AWSError>;
  318. /**
  319. * Retrieves information about the status and settings of the APNs VoIP channel for an application.
  320. */
  321. getApnsVoipChannel(params: Pinpoint.Types.GetApnsVoipChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetApnsVoipChannelResponse) => void): Request<Pinpoint.Types.GetApnsVoipChannelResponse, AWSError>;
  322. /**
  323. * Retrieves information about the status and settings of the APNs VoIP channel for an application.
  324. */
  325. getApnsVoipChannel(callback?: (err: AWSError, data: Pinpoint.Types.GetApnsVoipChannelResponse) => void): Request<Pinpoint.Types.GetApnsVoipChannelResponse, AWSError>;
  326. /**
  327. * Retrieves information about the status and settings of the APNs VoIP sandbox channel for an application.
  328. */
  329. getApnsVoipSandboxChannel(params: Pinpoint.Types.GetApnsVoipSandboxChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetApnsVoipSandboxChannelResponse) => void): Request<Pinpoint.Types.GetApnsVoipSandboxChannelResponse, AWSError>;
  330. /**
  331. * Retrieves information about the status and settings of the APNs VoIP sandbox channel for an application.
  332. */
  333. getApnsVoipSandboxChannel(callback?: (err: AWSError, data: Pinpoint.Types.GetApnsVoipSandboxChannelResponse) => void): Request<Pinpoint.Types.GetApnsVoipSandboxChannelResponse, AWSError>;
  334. /**
  335. * Retrieves information about an application.
  336. */
  337. getApp(params: Pinpoint.Types.GetAppRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetAppResponse) => void): Request<Pinpoint.Types.GetAppResponse, AWSError>;
  338. /**
  339. * Retrieves information about an application.
  340. */
  341. getApp(callback?: (err: AWSError, data: Pinpoint.Types.GetAppResponse) => void): Request<Pinpoint.Types.GetAppResponse, AWSError>;
  342. /**
  343. * Retrieves (queries) pre-aggregated data for a standard metric that applies to an application.
  344. */
  345. getApplicationDateRangeKpi(params: Pinpoint.Types.GetApplicationDateRangeKpiRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetApplicationDateRangeKpiResponse) => void): Request<Pinpoint.Types.GetApplicationDateRangeKpiResponse, AWSError>;
  346. /**
  347. * Retrieves (queries) pre-aggregated data for a standard metric that applies to an application.
  348. */
  349. getApplicationDateRangeKpi(callback?: (err: AWSError, data: Pinpoint.Types.GetApplicationDateRangeKpiResponse) => void): Request<Pinpoint.Types.GetApplicationDateRangeKpiResponse, AWSError>;
  350. /**
  351. * Retrieves information about the settings for an application.
  352. */
  353. getApplicationSettings(params: Pinpoint.Types.GetApplicationSettingsRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetApplicationSettingsResponse) => void): Request<Pinpoint.Types.GetApplicationSettingsResponse, AWSError>;
  354. /**
  355. * Retrieves information about the settings for an application.
  356. */
  357. getApplicationSettings(callback?: (err: AWSError, data: Pinpoint.Types.GetApplicationSettingsResponse) => void): Request<Pinpoint.Types.GetApplicationSettingsResponse, AWSError>;
  358. /**
  359. * Retrieves information about all the applications that are associated with your Amazon Pinpoint account.
  360. */
  361. getApps(params: Pinpoint.Types.GetAppsRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetAppsResponse) => void): Request<Pinpoint.Types.GetAppsResponse, AWSError>;
  362. /**
  363. * Retrieves information about all the applications that are associated with your Amazon Pinpoint account.
  364. */
  365. getApps(callback?: (err: AWSError, data: Pinpoint.Types.GetAppsResponse) => void): Request<Pinpoint.Types.GetAppsResponse, AWSError>;
  366. /**
  367. * Retrieves information about the status and settings of the Baidu channel for an application.
  368. */
  369. getBaiduChannel(params: Pinpoint.Types.GetBaiduChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetBaiduChannelResponse) => void): Request<Pinpoint.Types.GetBaiduChannelResponse, AWSError>;
  370. /**
  371. * Retrieves information about the status and settings of the Baidu channel for an application.
  372. */
  373. getBaiduChannel(callback?: (err: AWSError, data: Pinpoint.Types.GetBaiduChannelResponse) => void): Request<Pinpoint.Types.GetBaiduChannelResponse, AWSError>;
  374. /**
  375. * Retrieves information about the status, configuration, and other settings for a campaign.
  376. */
  377. getCampaign(params: Pinpoint.Types.GetCampaignRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetCampaignResponse) => void): Request<Pinpoint.Types.GetCampaignResponse, AWSError>;
  378. /**
  379. * Retrieves information about the status, configuration, and other settings for a campaign.
  380. */
  381. getCampaign(callback?: (err: AWSError, data: Pinpoint.Types.GetCampaignResponse) => void): Request<Pinpoint.Types.GetCampaignResponse, AWSError>;
  382. /**
  383. * Retrieves information about all the activities for a campaign.
  384. */
  385. getCampaignActivities(params: Pinpoint.Types.GetCampaignActivitiesRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetCampaignActivitiesResponse) => void): Request<Pinpoint.Types.GetCampaignActivitiesResponse, AWSError>;
  386. /**
  387. * Retrieves information about all the activities for a campaign.
  388. */
  389. getCampaignActivities(callback?: (err: AWSError, data: Pinpoint.Types.GetCampaignActivitiesResponse) => void): Request<Pinpoint.Types.GetCampaignActivitiesResponse, AWSError>;
  390. /**
  391. * Retrieves (queries) pre-aggregated data for a standard metric that applies to a campaign.
  392. */
  393. getCampaignDateRangeKpi(params: Pinpoint.Types.GetCampaignDateRangeKpiRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetCampaignDateRangeKpiResponse) => void): Request<Pinpoint.Types.GetCampaignDateRangeKpiResponse, AWSError>;
  394. /**
  395. * Retrieves (queries) pre-aggregated data for a standard metric that applies to a campaign.
  396. */
  397. getCampaignDateRangeKpi(callback?: (err: AWSError, data: Pinpoint.Types.GetCampaignDateRangeKpiResponse) => void): Request<Pinpoint.Types.GetCampaignDateRangeKpiResponse, AWSError>;
  398. /**
  399. * Retrieves information about the status, configuration, and other settings for a specific version of a campaign.
  400. */
  401. getCampaignVersion(params: Pinpoint.Types.GetCampaignVersionRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetCampaignVersionResponse) => void): Request<Pinpoint.Types.GetCampaignVersionResponse, AWSError>;
  402. /**
  403. * Retrieves information about the status, configuration, and other settings for a specific version of a campaign.
  404. */
  405. getCampaignVersion(callback?: (err: AWSError, data: Pinpoint.Types.GetCampaignVersionResponse) => void): Request<Pinpoint.Types.GetCampaignVersionResponse, AWSError>;
  406. /**
  407. * Retrieves information about the status, configuration, and other settings for all versions of a campaign.
  408. */
  409. getCampaignVersions(params: Pinpoint.Types.GetCampaignVersionsRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetCampaignVersionsResponse) => void): Request<Pinpoint.Types.GetCampaignVersionsResponse, AWSError>;
  410. /**
  411. * Retrieves information about the status, configuration, and other settings for all versions of a campaign.
  412. */
  413. getCampaignVersions(callback?: (err: AWSError, data: Pinpoint.Types.GetCampaignVersionsResponse) => void): Request<Pinpoint.Types.GetCampaignVersionsResponse, AWSError>;
  414. /**
  415. * Retrieves information about the status, configuration, and other settings for all the campaigns that are associated with an application.
  416. */
  417. getCampaigns(params: Pinpoint.Types.GetCampaignsRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetCampaignsResponse) => void): Request<Pinpoint.Types.GetCampaignsResponse, AWSError>;
  418. /**
  419. * Retrieves information about the status, configuration, and other settings for all the campaigns that are associated with an application.
  420. */
  421. getCampaigns(callback?: (err: AWSError, data: Pinpoint.Types.GetCampaignsResponse) => void): Request<Pinpoint.Types.GetCampaignsResponse, AWSError>;
  422. /**
  423. * Retrieves information about the history and status of each channel for an application.
  424. */
  425. getChannels(params: Pinpoint.Types.GetChannelsRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetChannelsResponse) => void): Request<Pinpoint.Types.GetChannelsResponse, AWSError>;
  426. /**
  427. * Retrieves information about the history and status of each channel for an application.
  428. */
  429. getChannels(callback?: (err: AWSError, data: Pinpoint.Types.GetChannelsResponse) => void): Request<Pinpoint.Types.GetChannelsResponse, AWSError>;
  430. /**
  431. * Retrieves information about the status and settings of the email channel for an application.
  432. */
  433. getEmailChannel(params: Pinpoint.Types.GetEmailChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetEmailChannelResponse) => void): Request<Pinpoint.Types.GetEmailChannelResponse, AWSError>;
  434. /**
  435. * Retrieves information about the status and settings of the email channel for an application.
  436. */
  437. getEmailChannel(callback?: (err: AWSError, data: Pinpoint.Types.GetEmailChannelResponse) => void): Request<Pinpoint.Types.GetEmailChannelResponse, AWSError>;
  438. /**
  439. * Retrieves the content and settings of a message template for messages that are sent through the email channel.
  440. */
  441. getEmailTemplate(params: Pinpoint.Types.GetEmailTemplateRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetEmailTemplateResponse) => void): Request<Pinpoint.Types.GetEmailTemplateResponse, AWSError>;
  442. /**
  443. * Retrieves the content and settings of a message template for messages that are sent through the email channel.
  444. */
  445. getEmailTemplate(callback?: (err: AWSError, data: Pinpoint.Types.GetEmailTemplateResponse) => void): Request<Pinpoint.Types.GetEmailTemplateResponse, AWSError>;
  446. /**
  447. * Retrieves information about the settings and attributes of a specific endpoint for an application.
  448. */
  449. getEndpoint(params: Pinpoint.Types.GetEndpointRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetEndpointResponse) => void): Request<Pinpoint.Types.GetEndpointResponse, AWSError>;
  450. /**
  451. * Retrieves information about the settings and attributes of a specific endpoint for an application.
  452. */
  453. getEndpoint(callback?: (err: AWSError, data: Pinpoint.Types.GetEndpointResponse) => void): Request<Pinpoint.Types.GetEndpointResponse, AWSError>;
  454. /**
  455. * Retrieves information about the event stream settings for an application.
  456. */
  457. getEventStream(params: Pinpoint.Types.GetEventStreamRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetEventStreamResponse) => void): Request<Pinpoint.Types.GetEventStreamResponse, AWSError>;
  458. /**
  459. * Retrieves information about the event stream settings for an application.
  460. */
  461. getEventStream(callback?: (err: AWSError, data: Pinpoint.Types.GetEventStreamResponse) => void): Request<Pinpoint.Types.GetEventStreamResponse, AWSError>;
  462. /**
  463. * Retrieves information about the status and settings of a specific export job for an application.
  464. */
  465. getExportJob(params: Pinpoint.Types.GetExportJobRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetExportJobResponse) => void): Request<Pinpoint.Types.GetExportJobResponse, AWSError>;
  466. /**
  467. * Retrieves information about the status and settings of a specific export job for an application.
  468. */
  469. getExportJob(callback?: (err: AWSError, data: Pinpoint.Types.GetExportJobResponse) => void): Request<Pinpoint.Types.GetExportJobResponse, AWSError>;
  470. /**
  471. * Retrieves information about the status and settings of all the export jobs for an application.
  472. */
  473. getExportJobs(params: Pinpoint.Types.GetExportJobsRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetExportJobsResponse) => void): Request<Pinpoint.Types.GetExportJobsResponse, AWSError>;
  474. /**
  475. * Retrieves information about the status and settings of all the export jobs for an application.
  476. */
  477. getExportJobs(callback?: (err: AWSError, data: Pinpoint.Types.GetExportJobsResponse) => void): Request<Pinpoint.Types.GetExportJobsResponse, AWSError>;
  478. /**
  479. * Retrieves information about the status and settings of the GCM channel for an application.
  480. */
  481. getGcmChannel(params: Pinpoint.Types.GetGcmChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetGcmChannelResponse) => void): Request<Pinpoint.Types.GetGcmChannelResponse, AWSError>;
  482. /**
  483. * Retrieves information about the status and settings of the GCM channel for an application.
  484. */
  485. getGcmChannel(callback?: (err: AWSError, data: Pinpoint.Types.GetGcmChannelResponse) => void): Request<Pinpoint.Types.GetGcmChannelResponse, AWSError>;
  486. /**
  487. * Retrieves information about the status and settings of a specific import job for an application.
  488. */
  489. getImportJob(params: Pinpoint.Types.GetImportJobRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetImportJobResponse) => void): Request<Pinpoint.Types.GetImportJobResponse, AWSError>;
  490. /**
  491. * Retrieves information about the status and settings of a specific import job for an application.
  492. */
  493. getImportJob(callback?: (err: AWSError, data: Pinpoint.Types.GetImportJobResponse) => void): Request<Pinpoint.Types.GetImportJobResponse, AWSError>;
  494. /**
  495. * Retrieves information about the status and settings of all the import jobs for an application.
  496. */
  497. getImportJobs(params: Pinpoint.Types.GetImportJobsRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetImportJobsResponse) => void): Request<Pinpoint.Types.GetImportJobsResponse, AWSError>;
  498. /**
  499. * Retrieves information about the status and settings of all the import jobs for an application.
  500. */
  501. getImportJobs(callback?: (err: AWSError, data: Pinpoint.Types.GetImportJobsResponse) => void): Request<Pinpoint.Types.GetImportJobsResponse, AWSError>;
  502. /**
  503. * Retrieves the in-app messages targeted for the provided endpoint ID.
  504. */
  505. getInAppMessages(params: Pinpoint.Types.GetInAppMessagesRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetInAppMessagesResponse) => void): Request<Pinpoint.Types.GetInAppMessagesResponse, AWSError>;
  506. /**
  507. * Retrieves the in-app messages targeted for the provided endpoint ID.
  508. */
  509. getInAppMessages(callback?: (err: AWSError, data: Pinpoint.Types.GetInAppMessagesResponse) => void): Request<Pinpoint.Types.GetInAppMessagesResponse, AWSError>;
  510. /**
  511. * Retrieves the content and settings of a message template for messages sent through the in-app channel.
  512. */
  513. getInAppTemplate(params: Pinpoint.Types.GetInAppTemplateRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetInAppTemplateResponse) => void): Request<Pinpoint.Types.GetInAppTemplateResponse, AWSError>;
  514. /**
  515. * Retrieves the content and settings of a message template for messages sent through the in-app channel.
  516. */
  517. getInAppTemplate(callback?: (err: AWSError, data: Pinpoint.Types.GetInAppTemplateResponse) => void): Request<Pinpoint.Types.GetInAppTemplateResponse, AWSError>;
  518. /**
  519. * Retrieves information about the status, configuration, and other settings for a journey.
  520. */
  521. getJourney(params: Pinpoint.Types.GetJourneyRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetJourneyResponse) => void): Request<Pinpoint.Types.GetJourneyResponse, AWSError>;
  522. /**
  523. * Retrieves information about the status, configuration, and other settings for a journey.
  524. */
  525. getJourney(callback?: (err: AWSError, data: Pinpoint.Types.GetJourneyResponse) => void): Request<Pinpoint.Types.GetJourneyResponse, AWSError>;
  526. /**
  527. * Retrieves (queries) pre-aggregated data for a standard engagement metric that applies to a journey.
  528. */
  529. getJourneyDateRangeKpi(params: Pinpoint.Types.GetJourneyDateRangeKpiRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetJourneyDateRangeKpiResponse) => void): Request<Pinpoint.Types.GetJourneyDateRangeKpiResponse, AWSError>;
  530. /**
  531. * Retrieves (queries) pre-aggregated data for a standard engagement metric that applies to a journey.
  532. */
  533. getJourneyDateRangeKpi(callback?: (err: AWSError, data: Pinpoint.Types.GetJourneyDateRangeKpiResponse) => void): Request<Pinpoint.Types.GetJourneyDateRangeKpiResponse, AWSError>;
  534. /**
  535. * Retrieves (queries) pre-aggregated data for a standard execution metric that applies to a journey activity.
  536. */
  537. getJourneyExecutionActivityMetrics(params: Pinpoint.Types.GetJourneyExecutionActivityMetricsRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetJourneyExecutionActivityMetricsResponse) => void): Request<Pinpoint.Types.GetJourneyExecutionActivityMetricsResponse, AWSError>;
  538. /**
  539. * Retrieves (queries) pre-aggregated data for a standard execution metric that applies to a journey activity.
  540. */
  541. getJourneyExecutionActivityMetrics(callback?: (err: AWSError, data: Pinpoint.Types.GetJourneyExecutionActivityMetricsResponse) => void): Request<Pinpoint.Types.GetJourneyExecutionActivityMetricsResponse, AWSError>;
  542. /**
  543. * Retrieves (queries) pre-aggregated data for a standard execution metric that applies to a journey.
  544. */
  545. getJourneyExecutionMetrics(params: Pinpoint.Types.GetJourneyExecutionMetricsRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetJourneyExecutionMetricsResponse) => void): Request<Pinpoint.Types.GetJourneyExecutionMetricsResponse, AWSError>;
  546. /**
  547. * Retrieves (queries) pre-aggregated data for a standard execution metric that applies to a journey.
  548. */
  549. getJourneyExecutionMetrics(callback?: (err: AWSError, data: Pinpoint.Types.GetJourneyExecutionMetricsResponse) => void): Request<Pinpoint.Types.GetJourneyExecutionMetricsResponse, AWSError>;
  550. /**
  551. * Retrieves (queries) pre-aggregated data for a standard run execution metric that applies to a journey activity.
  552. */
  553. getJourneyRunExecutionActivityMetrics(params: Pinpoint.Types.GetJourneyRunExecutionActivityMetricsRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetJourneyRunExecutionActivityMetricsResponse) => void): Request<Pinpoint.Types.GetJourneyRunExecutionActivityMetricsResponse, AWSError>;
  554. /**
  555. * Retrieves (queries) pre-aggregated data for a standard run execution metric that applies to a journey activity.
  556. */
  557. getJourneyRunExecutionActivityMetrics(callback?: (err: AWSError, data: Pinpoint.Types.GetJourneyRunExecutionActivityMetricsResponse) => void): Request<Pinpoint.Types.GetJourneyRunExecutionActivityMetricsResponse, AWSError>;
  558. /**
  559. * Retrieves (queries) pre-aggregated data for a standard run execution metric that applies to a journey.
  560. */
  561. getJourneyRunExecutionMetrics(params: Pinpoint.Types.GetJourneyRunExecutionMetricsRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetJourneyRunExecutionMetricsResponse) => void): Request<Pinpoint.Types.GetJourneyRunExecutionMetricsResponse, AWSError>;
  562. /**
  563. * Retrieves (queries) pre-aggregated data for a standard run execution metric that applies to a journey.
  564. */
  565. getJourneyRunExecutionMetrics(callback?: (err: AWSError, data: Pinpoint.Types.GetJourneyRunExecutionMetricsResponse) => void): Request<Pinpoint.Types.GetJourneyRunExecutionMetricsResponse, AWSError>;
  566. /**
  567. * Provides information about the runs of a journey.
  568. */
  569. getJourneyRuns(params: Pinpoint.Types.GetJourneyRunsRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetJourneyRunsResponse) => void): Request<Pinpoint.Types.GetJourneyRunsResponse, AWSError>;
  570. /**
  571. * Provides information about the runs of a journey.
  572. */
  573. getJourneyRuns(callback?: (err: AWSError, data: Pinpoint.Types.GetJourneyRunsResponse) => void): Request<Pinpoint.Types.GetJourneyRunsResponse, AWSError>;
  574. /**
  575. * Retrieves the content and settings of a message template for messages that are sent through a push notification channel.
  576. */
  577. getPushTemplate(params: Pinpoint.Types.GetPushTemplateRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetPushTemplateResponse) => void): Request<Pinpoint.Types.GetPushTemplateResponse, AWSError>;
  578. /**
  579. * Retrieves the content and settings of a message template for messages that are sent through a push notification channel.
  580. */
  581. getPushTemplate(callback?: (err: AWSError, data: Pinpoint.Types.GetPushTemplateResponse) => void): Request<Pinpoint.Types.GetPushTemplateResponse, AWSError>;
  582. /**
  583. * Retrieves information about an Amazon Pinpoint configuration for a recommender model.
  584. */
  585. getRecommenderConfiguration(params: Pinpoint.Types.GetRecommenderConfigurationRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetRecommenderConfigurationResponse) => void): Request<Pinpoint.Types.GetRecommenderConfigurationResponse, AWSError>;
  586. /**
  587. * Retrieves information about an Amazon Pinpoint configuration for a recommender model.
  588. */
  589. getRecommenderConfiguration(callback?: (err: AWSError, data: Pinpoint.Types.GetRecommenderConfigurationResponse) => void): Request<Pinpoint.Types.GetRecommenderConfigurationResponse, AWSError>;
  590. /**
  591. * Retrieves information about all the recommender model configurations that are associated with your Amazon Pinpoint account.
  592. */
  593. getRecommenderConfigurations(params: Pinpoint.Types.GetRecommenderConfigurationsRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetRecommenderConfigurationsResponse) => void): Request<Pinpoint.Types.GetRecommenderConfigurationsResponse, AWSError>;
  594. /**
  595. * Retrieves information about all the recommender model configurations that are associated with your Amazon Pinpoint account.
  596. */
  597. getRecommenderConfigurations(callback?: (err: AWSError, data: Pinpoint.Types.GetRecommenderConfigurationsResponse) => void): Request<Pinpoint.Types.GetRecommenderConfigurationsResponse, AWSError>;
  598. /**
  599. * Retrieves information about the configuration, dimension, and other settings for a specific segment that's associated with an application.
  600. */
  601. getSegment(params: Pinpoint.Types.GetSegmentRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetSegmentResponse) => void): Request<Pinpoint.Types.GetSegmentResponse, AWSError>;
  602. /**
  603. * Retrieves information about the configuration, dimension, and other settings for a specific segment that's associated with an application.
  604. */
  605. getSegment(callback?: (err: AWSError, data: Pinpoint.Types.GetSegmentResponse) => void): Request<Pinpoint.Types.GetSegmentResponse, AWSError>;
  606. /**
  607. * Retrieves information about the status and settings of the export jobs for a segment.
  608. */
  609. getSegmentExportJobs(params: Pinpoint.Types.GetSegmentExportJobsRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetSegmentExportJobsResponse) => void): Request<Pinpoint.Types.GetSegmentExportJobsResponse, AWSError>;
  610. /**
  611. * Retrieves information about the status and settings of the export jobs for a segment.
  612. */
  613. getSegmentExportJobs(callback?: (err: AWSError, data: Pinpoint.Types.GetSegmentExportJobsResponse) => void): Request<Pinpoint.Types.GetSegmentExportJobsResponse, AWSError>;
  614. /**
  615. * Retrieves information about the status and settings of the import jobs for a segment.
  616. */
  617. getSegmentImportJobs(params: Pinpoint.Types.GetSegmentImportJobsRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetSegmentImportJobsResponse) => void): Request<Pinpoint.Types.GetSegmentImportJobsResponse, AWSError>;
  618. /**
  619. * Retrieves information about the status and settings of the import jobs for a segment.
  620. */
  621. getSegmentImportJobs(callback?: (err: AWSError, data: Pinpoint.Types.GetSegmentImportJobsResponse) => void): Request<Pinpoint.Types.GetSegmentImportJobsResponse, AWSError>;
  622. /**
  623. * Retrieves information about the configuration, dimension, and other settings for a specific version of a segment that's associated with an application.
  624. */
  625. getSegmentVersion(params: Pinpoint.Types.GetSegmentVersionRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetSegmentVersionResponse) => void): Request<Pinpoint.Types.GetSegmentVersionResponse, AWSError>;
  626. /**
  627. * Retrieves information about the configuration, dimension, and other settings for a specific version of a segment that's associated with an application.
  628. */
  629. getSegmentVersion(callback?: (err: AWSError, data: Pinpoint.Types.GetSegmentVersionResponse) => void): Request<Pinpoint.Types.GetSegmentVersionResponse, AWSError>;
  630. /**
  631. * Retrieves information about the configuration, dimension, and other settings for all the versions of a specific segment that's associated with an application.
  632. */
  633. getSegmentVersions(params: Pinpoint.Types.GetSegmentVersionsRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetSegmentVersionsResponse) => void): Request<Pinpoint.Types.GetSegmentVersionsResponse, AWSError>;
  634. /**
  635. * Retrieves information about the configuration, dimension, and other settings for all the versions of a specific segment that's associated with an application.
  636. */
  637. getSegmentVersions(callback?: (err: AWSError, data: Pinpoint.Types.GetSegmentVersionsResponse) => void): Request<Pinpoint.Types.GetSegmentVersionsResponse, AWSError>;
  638. /**
  639. * Retrieves information about the configuration, dimension, and other settings for all the segments that are associated with an application.
  640. */
  641. getSegments(params: Pinpoint.Types.GetSegmentsRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetSegmentsResponse) => void): Request<Pinpoint.Types.GetSegmentsResponse, AWSError>;
  642. /**
  643. * Retrieves information about the configuration, dimension, and other settings for all the segments that are associated with an application.
  644. */
  645. getSegments(callback?: (err: AWSError, data: Pinpoint.Types.GetSegmentsResponse) => void): Request<Pinpoint.Types.GetSegmentsResponse, AWSError>;
  646. /**
  647. * Retrieves information about the status and settings of the SMS channel for an application.
  648. */
  649. getSmsChannel(params: Pinpoint.Types.GetSmsChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetSmsChannelResponse) => void): Request<Pinpoint.Types.GetSmsChannelResponse, AWSError>;
  650. /**
  651. * Retrieves information about the status and settings of the SMS channel for an application.
  652. */
  653. getSmsChannel(callback?: (err: AWSError, data: Pinpoint.Types.GetSmsChannelResponse) => void): Request<Pinpoint.Types.GetSmsChannelResponse, AWSError>;
  654. /**
  655. * Retrieves the content and settings of a message template for messages that are sent through the SMS channel.
  656. */
  657. getSmsTemplate(params: Pinpoint.Types.GetSmsTemplateRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetSmsTemplateResponse) => void): Request<Pinpoint.Types.GetSmsTemplateResponse, AWSError>;
  658. /**
  659. * Retrieves the content and settings of a message template for messages that are sent through the SMS channel.
  660. */
  661. getSmsTemplate(callback?: (err: AWSError, data: Pinpoint.Types.GetSmsTemplateResponse) => void): Request<Pinpoint.Types.GetSmsTemplateResponse, AWSError>;
  662. /**
  663. * Retrieves information about all the endpoints that are associated with a specific user ID.
  664. */
  665. getUserEndpoints(params: Pinpoint.Types.GetUserEndpointsRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetUserEndpointsResponse) => void): Request<Pinpoint.Types.GetUserEndpointsResponse, AWSError>;
  666. /**
  667. * Retrieves information about all the endpoints that are associated with a specific user ID.
  668. */
  669. getUserEndpoints(callback?: (err: AWSError, data: Pinpoint.Types.GetUserEndpointsResponse) => void): Request<Pinpoint.Types.GetUserEndpointsResponse, AWSError>;
  670. /**
  671. * Retrieves information about the status and settings of the voice channel for an application.
  672. */
  673. getVoiceChannel(params: Pinpoint.Types.GetVoiceChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetVoiceChannelResponse) => void): Request<Pinpoint.Types.GetVoiceChannelResponse, AWSError>;
  674. /**
  675. * Retrieves information about the status and settings of the voice channel for an application.
  676. */
  677. getVoiceChannel(callback?: (err: AWSError, data: Pinpoint.Types.GetVoiceChannelResponse) => void): Request<Pinpoint.Types.GetVoiceChannelResponse, AWSError>;
  678. /**
  679. * Retrieves the content and settings of a message template for messages that are sent through the voice channel.
  680. */
  681. getVoiceTemplate(params: Pinpoint.Types.GetVoiceTemplateRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetVoiceTemplateResponse) => void): Request<Pinpoint.Types.GetVoiceTemplateResponse, AWSError>;
  682. /**
  683. * Retrieves the content and settings of a message template for messages that are sent through the voice channel.
  684. */
  685. getVoiceTemplate(callback?: (err: AWSError, data: Pinpoint.Types.GetVoiceTemplateResponse) => void): Request<Pinpoint.Types.GetVoiceTemplateResponse, AWSError>;
  686. /**
  687. * Retrieves information about the status, configuration, and other settings for all the journeys that are associated with an application.
  688. */
  689. listJourneys(params: Pinpoint.Types.ListJourneysRequest, callback?: (err: AWSError, data: Pinpoint.Types.ListJourneysResponse) => void): Request<Pinpoint.Types.ListJourneysResponse, AWSError>;
  690. /**
  691. * Retrieves information about the status, configuration, and other settings for all the journeys that are associated with an application.
  692. */
  693. listJourneys(callback?: (err: AWSError, data: Pinpoint.Types.ListJourneysResponse) => void): Request<Pinpoint.Types.ListJourneysResponse, AWSError>;
  694. /**
  695. * Retrieves all the tags (keys and values) that are associated with an application, campaign, message template, or segment.
  696. */
  697. listTagsForResource(params: Pinpoint.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: Pinpoint.Types.ListTagsForResourceResponse) => void): Request<Pinpoint.Types.ListTagsForResourceResponse, AWSError>;
  698. /**
  699. * Retrieves all the tags (keys and values) that are associated with an application, campaign, message template, or segment.
  700. */
  701. listTagsForResource(callback?: (err: AWSError, data: Pinpoint.Types.ListTagsForResourceResponse) => void): Request<Pinpoint.Types.ListTagsForResourceResponse, AWSError>;
  702. /**
  703. * Retrieves information about all the versions of a specific message template.
  704. */
  705. listTemplateVersions(params: Pinpoint.Types.ListTemplateVersionsRequest, callback?: (err: AWSError, data: Pinpoint.Types.ListTemplateVersionsResponse) => void): Request<Pinpoint.Types.ListTemplateVersionsResponse, AWSError>;
  706. /**
  707. * Retrieves information about all the versions of a specific message template.
  708. */
  709. listTemplateVersions(callback?: (err: AWSError, data: Pinpoint.Types.ListTemplateVersionsResponse) => void): Request<Pinpoint.Types.ListTemplateVersionsResponse, AWSError>;
  710. /**
  711. * Retrieves information about all the message templates that are associated with your Amazon Pinpoint account.
  712. */
  713. listTemplates(params: Pinpoint.Types.ListTemplatesRequest, callback?: (err: AWSError, data: Pinpoint.Types.ListTemplatesResponse) => void): Request<Pinpoint.Types.ListTemplatesResponse, AWSError>;
  714. /**
  715. * Retrieves information about all the message templates that are associated with your Amazon Pinpoint account.
  716. */
  717. listTemplates(callback?: (err: AWSError, data: Pinpoint.Types.ListTemplatesResponse) => void): Request<Pinpoint.Types.ListTemplatesResponse, AWSError>;
  718. /**
  719. * Retrieves information about a phone number.
  720. */
  721. phoneNumberValidate(params: Pinpoint.Types.PhoneNumberValidateRequest, callback?: (err: AWSError, data: Pinpoint.Types.PhoneNumberValidateResponse) => void): Request<Pinpoint.Types.PhoneNumberValidateResponse, AWSError>;
  722. /**
  723. * Retrieves information about a phone number.
  724. */
  725. phoneNumberValidate(callback?: (err: AWSError, data: Pinpoint.Types.PhoneNumberValidateResponse) => void): Request<Pinpoint.Types.PhoneNumberValidateResponse, AWSError>;
  726. /**
  727. * Creates a new event stream for an application or updates the settings of an existing event stream for an application.
  728. */
  729. putEventStream(params: Pinpoint.Types.PutEventStreamRequest, callback?: (err: AWSError, data: Pinpoint.Types.PutEventStreamResponse) => void): Request<Pinpoint.Types.PutEventStreamResponse, AWSError>;
  730. /**
  731. * Creates a new event stream for an application or updates the settings of an existing event stream for an application.
  732. */
  733. putEventStream(callback?: (err: AWSError, data: Pinpoint.Types.PutEventStreamResponse) => void): Request<Pinpoint.Types.PutEventStreamResponse, AWSError>;
  734. /**
  735. * Creates a new event to record for endpoints, or creates or updates endpoint data that existing events are associated with.
  736. */
  737. putEvents(params: Pinpoint.Types.PutEventsRequest, callback?: (err: AWSError, data: Pinpoint.Types.PutEventsResponse) => void): Request<Pinpoint.Types.PutEventsResponse, AWSError>;
  738. /**
  739. * Creates a new event to record for endpoints, or creates or updates endpoint data that existing events are associated with.
  740. */
  741. putEvents(callback?: (err: AWSError, data: Pinpoint.Types.PutEventsResponse) => void): Request<Pinpoint.Types.PutEventsResponse, AWSError>;
  742. /**
  743. * Removes one or more custom attributes, of the same attribute type, from the application. Existing endpoints still have the attributes but Amazon Pinpoint will stop capturing new or changed values for these attributes.
  744. */
  745. removeAttributes(params: Pinpoint.Types.RemoveAttributesRequest, callback?: (err: AWSError, data: Pinpoint.Types.RemoveAttributesResponse) => void): Request<Pinpoint.Types.RemoveAttributesResponse, AWSError>;
  746. /**
  747. * Removes one or more custom attributes, of the same attribute type, from the application. Existing endpoints still have the attributes but Amazon Pinpoint will stop capturing new or changed values for these attributes.
  748. */
  749. removeAttributes(callback?: (err: AWSError, data: Pinpoint.Types.RemoveAttributesResponse) => void): Request<Pinpoint.Types.RemoveAttributesResponse, AWSError>;
  750. /**
  751. * Creates and sends a direct message.
  752. */
  753. sendMessages(params: Pinpoint.Types.SendMessagesRequest, callback?: (err: AWSError, data: Pinpoint.Types.SendMessagesResponse) => void): Request<Pinpoint.Types.SendMessagesResponse, AWSError>;
  754. /**
  755. * Creates and sends a direct message.
  756. */
  757. sendMessages(callback?: (err: AWSError, data: Pinpoint.Types.SendMessagesResponse) => void): Request<Pinpoint.Types.SendMessagesResponse, AWSError>;
  758. /**
  759. * Send an OTP message
  760. */
  761. sendOTPMessage(params: Pinpoint.Types.SendOTPMessageRequest, callback?: (err: AWSError, data: Pinpoint.Types.SendOTPMessageResponse) => void): Request<Pinpoint.Types.SendOTPMessageResponse, AWSError>;
  762. /**
  763. * Send an OTP message
  764. */
  765. sendOTPMessage(callback?: (err: AWSError, data: Pinpoint.Types.SendOTPMessageResponse) => void): Request<Pinpoint.Types.SendOTPMessageResponse, AWSError>;
  766. /**
  767. * Creates and sends a message to a list of users.
  768. */
  769. sendUsersMessages(params: Pinpoint.Types.SendUsersMessagesRequest, callback?: (err: AWSError, data: Pinpoint.Types.SendUsersMessagesResponse) => void): Request<Pinpoint.Types.SendUsersMessagesResponse, AWSError>;
  770. /**
  771. * Creates and sends a message to a list of users.
  772. */
  773. sendUsersMessages(callback?: (err: AWSError, data: Pinpoint.Types.SendUsersMessagesResponse) => void): Request<Pinpoint.Types.SendUsersMessagesResponse, AWSError>;
  774. /**
  775. * Adds one or more tags (keys and values) to an application, campaign, message template, or segment.
  776. */
  777. tagResource(params: Pinpoint.Types.TagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  778. /**
  779. * Adds one or more tags (keys and values) to an application, campaign, message template, or segment.
  780. */
  781. tagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  782. /**
  783. * Removes one or more tags (keys and values) from an application, campaign, message template, or segment.
  784. */
  785. untagResource(params: Pinpoint.Types.UntagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  786. /**
  787. * Removes one or more tags (keys and values) from an application, campaign, message template, or segment.
  788. */
  789. untagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  790. /**
  791. * Enables the ADM channel for an application or updates the status and settings of the ADM channel for an application.
  792. */
  793. updateAdmChannel(params: Pinpoint.Types.UpdateAdmChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateAdmChannelResponse) => void): Request<Pinpoint.Types.UpdateAdmChannelResponse, AWSError>;
  794. /**
  795. * Enables the ADM channel for an application or updates the status and settings of the ADM channel for an application.
  796. */
  797. updateAdmChannel(callback?: (err: AWSError, data: Pinpoint.Types.UpdateAdmChannelResponse) => void): Request<Pinpoint.Types.UpdateAdmChannelResponse, AWSError>;
  798. /**
  799. * Enables the APNs channel for an application or updates the status and settings of the APNs channel for an application.
  800. */
  801. updateApnsChannel(params: Pinpoint.Types.UpdateApnsChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateApnsChannelResponse) => void): Request<Pinpoint.Types.UpdateApnsChannelResponse, AWSError>;
  802. /**
  803. * Enables the APNs channel for an application or updates the status and settings of the APNs channel for an application.
  804. */
  805. updateApnsChannel(callback?: (err: AWSError, data: Pinpoint.Types.UpdateApnsChannelResponse) => void): Request<Pinpoint.Types.UpdateApnsChannelResponse, AWSError>;
  806. /**
  807. * Enables the APNs sandbox channel for an application or updates the status and settings of the APNs sandbox channel for an application.
  808. */
  809. updateApnsSandboxChannel(params: Pinpoint.Types.UpdateApnsSandboxChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateApnsSandboxChannelResponse) => void): Request<Pinpoint.Types.UpdateApnsSandboxChannelResponse, AWSError>;
  810. /**
  811. * Enables the APNs sandbox channel for an application or updates the status and settings of the APNs sandbox channel for an application.
  812. */
  813. updateApnsSandboxChannel(callback?: (err: AWSError, data: Pinpoint.Types.UpdateApnsSandboxChannelResponse) => void): Request<Pinpoint.Types.UpdateApnsSandboxChannelResponse, AWSError>;
  814. /**
  815. * Enables the APNs VoIP channel for an application or updates the status and settings of the APNs VoIP channel for an application.
  816. */
  817. updateApnsVoipChannel(params: Pinpoint.Types.UpdateApnsVoipChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateApnsVoipChannelResponse) => void): Request<Pinpoint.Types.UpdateApnsVoipChannelResponse, AWSError>;
  818. /**
  819. * Enables the APNs VoIP channel for an application or updates the status and settings of the APNs VoIP channel for an application.
  820. */
  821. updateApnsVoipChannel(callback?: (err: AWSError, data: Pinpoint.Types.UpdateApnsVoipChannelResponse) => void): Request<Pinpoint.Types.UpdateApnsVoipChannelResponse, AWSError>;
  822. /**
  823. * Enables the APNs VoIP sandbox channel for an application or updates the status and settings of the APNs VoIP sandbox channel for an application.
  824. */
  825. updateApnsVoipSandboxChannel(params: Pinpoint.Types.UpdateApnsVoipSandboxChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateApnsVoipSandboxChannelResponse) => void): Request<Pinpoint.Types.UpdateApnsVoipSandboxChannelResponse, AWSError>;
  826. /**
  827. * Enables the APNs VoIP sandbox channel for an application or updates the status and settings of the APNs VoIP sandbox channel for an application.
  828. */
  829. updateApnsVoipSandboxChannel(callback?: (err: AWSError, data: Pinpoint.Types.UpdateApnsVoipSandboxChannelResponse) => void): Request<Pinpoint.Types.UpdateApnsVoipSandboxChannelResponse, AWSError>;
  830. /**
  831. * Updates the settings for an application.
  832. */
  833. updateApplicationSettings(params: Pinpoint.Types.UpdateApplicationSettingsRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateApplicationSettingsResponse) => void): Request<Pinpoint.Types.UpdateApplicationSettingsResponse, AWSError>;
  834. /**
  835. * Updates the settings for an application.
  836. */
  837. updateApplicationSettings(callback?: (err: AWSError, data: Pinpoint.Types.UpdateApplicationSettingsResponse) => void): Request<Pinpoint.Types.UpdateApplicationSettingsResponse, AWSError>;
  838. /**
  839. * Enables the Baidu channel for an application or updates the status and settings of the Baidu channel for an application.
  840. */
  841. updateBaiduChannel(params: Pinpoint.Types.UpdateBaiduChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateBaiduChannelResponse) => void): Request<Pinpoint.Types.UpdateBaiduChannelResponse, AWSError>;
  842. /**
  843. * Enables the Baidu channel for an application or updates the status and settings of the Baidu channel for an application.
  844. */
  845. updateBaiduChannel(callback?: (err: AWSError, data: Pinpoint.Types.UpdateBaiduChannelResponse) => void): Request<Pinpoint.Types.UpdateBaiduChannelResponse, AWSError>;
  846. /**
  847. * Updates the configuration and other settings for a campaign.
  848. */
  849. updateCampaign(params: Pinpoint.Types.UpdateCampaignRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateCampaignResponse) => void): Request<Pinpoint.Types.UpdateCampaignResponse, AWSError>;
  850. /**
  851. * Updates the configuration and other settings for a campaign.
  852. */
  853. updateCampaign(callback?: (err: AWSError, data: Pinpoint.Types.UpdateCampaignResponse) => void): Request<Pinpoint.Types.UpdateCampaignResponse, AWSError>;
  854. /**
  855. * Enables the email channel for an application or updates the status and settings of the email channel for an application.
  856. */
  857. updateEmailChannel(params: Pinpoint.Types.UpdateEmailChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateEmailChannelResponse) => void): Request<Pinpoint.Types.UpdateEmailChannelResponse, AWSError>;
  858. /**
  859. * Enables the email channel for an application or updates the status and settings of the email channel for an application.
  860. */
  861. updateEmailChannel(callback?: (err: AWSError, data: Pinpoint.Types.UpdateEmailChannelResponse) => void): Request<Pinpoint.Types.UpdateEmailChannelResponse, AWSError>;
  862. /**
  863. * Updates an existing message template for messages that are sent through the email channel.
  864. */
  865. updateEmailTemplate(params: Pinpoint.Types.UpdateEmailTemplateRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateEmailTemplateResponse) => void): Request<Pinpoint.Types.UpdateEmailTemplateResponse, AWSError>;
  866. /**
  867. * Updates an existing message template for messages that are sent through the email channel.
  868. */
  869. updateEmailTemplate(callback?: (err: AWSError, data: Pinpoint.Types.UpdateEmailTemplateResponse) => void): Request<Pinpoint.Types.UpdateEmailTemplateResponse, AWSError>;
  870. /**
  871. * Creates a new endpoint for an application or updates the settings and attributes of an existing endpoint for an application. You can also use this operation to define custom attributes for an endpoint. If an update includes one or more values for a custom attribute, Amazon Pinpoint replaces (overwrites) any existing values with the new values.
  872. */
  873. updateEndpoint(params: Pinpoint.Types.UpdateEndpointRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateEndpointResponse) => void): Request<Pinpoint.Types.UpdateEndpointResponse, AWSError>;
  874. /**
  875. * Creates a new endpoint for an application or updates the settings and attributes of an existing endpoint for an application. You can also use this operation to define custom attributes for an endpoint. If an update includes one or more values for a custom attribute, Amazon Pinpoint replaces (overwrites) any existing values with the new values.
  876. */
  877. updateEndpoint(callback?: (err: AWSError, data: Pinpoint.Types.UpdateEndpointResponse) => void): Request<Pinpoint.Types.UpdateEndpointResponse, AWSError>;
  878. /**
  879. * Creates a new batch of endpoints for an application or updates the settings and attributes of a batch of existing endpoints for an application. You can also use this operation to define custom attributes for a batch of endpoints. If an update includes one or more values for a custom attribute, Amazon Pinpoint replaces (overwrites) any existing values with the new values.
  880. */
  881. updateEndpointsBatch(params: Pinpoint.Types.UpdateEndpointsBatchRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateEndpointsBatchResponse) => void): Request<Pinpoint.Types.UpdateEndpointsBatchResponse, AWSError>;
  882. /**
  883. * Creates a new batch of endpoints for an application or updates the settings and attributes of a batch of existing endpoints for an application. You can also use this operation to define custom attributes for a batch of endpoints. If an update includes one or more values for a custom attribute, Amazon Pinpoint replaces (overwrites) any existing values with the new values.
  884. */
  885. updateEndpointsBatch(callback?: (err: AWSError, data: Pinpoint.Types.UpdateEndpointsBatchResponse) => void): Request<Pinpoint.Types.UpdateEndpointsBatchResponse, AWSError>;
  886. /**
  887. * Enables the GCM channel for an application or updates the status and settings of the GCM channel for an application.
  888. */
  889. updateGcmChannel(params: Pinpoint.Types.UpdateGcmChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateGcmChannelResponse) => void): Request<Pinpoint.Types.UpdateGcmChannelResponse, AWSError>;
  890. /**
  891. * Enables the GCM channel for an application or updates the status and settings of the GCM channel for an application.
  892. */
  893. updateGcmChannel(callback?: (err: AWSError, data: Pinpoint.Types.UpdateGcmChannelResponse) => void): Request<Pinpoint.Types.UpdateGcmChannelResponse, AWSError>;
  894. /**
  895. * Updates an existing message template for messages sent through the in-app message channel.
  896. */
  897. updateInAppTemplate(params: Pinpoint.Types.UpdateInAppTemplateRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateInAppTemplateResponse) => void): Request<Pinpoint.Types.UpdateInAppTemplateResponse, AWSError>;
  898. /**
  899. * Updates an existing message template for messages sent through the in-app message channel.
  900. */
  901. updateInAppTemplate(callback?: (err: AWSError, data: Pinpoint.Types.UpdateInAppTemplateResponse) => void): Request<Pinpoint.Types.UpdateInAppTemplateResponse, AWSError>;
  902. /**
  903. * Updates the configuration and other settings for a journey.
  904. */
  905. updateJourney(params: Pinpoint.Types.UpdateJourneyRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateJourneyResponse) => void): Request<Pinpoint.Types.UpdateJourneyResponse, AWSError>;
  906. /**
  907. * Updates the configuration and other settings for a journey.
  908. */
  909. updateJourney(callback?: (err: AWSError, data: Pinpoint.Types.UpdateJourneyResponse) => void): Request<Pinpoint.Types.UpdateJourneyResponse, AWSError>;
  910. /**
  911. * Cancels (stops) an active journey.
  912. */
  913. updateJourneyState(params: Pinpoint.Types.UpdateJourneyStateRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateJourneyStateResponse) => void): Request<Pinpoint.Types.UpdateJourneyStateResponse, AWSError>;
  914. /**
  915. * Cancels (stops) an active journey.
  916. */
  917. updateJourneyState(callback?: (err: AWSError, data: Pinpoint.Types.UpdateJourneyStateResponse) => void): Request<Pinpoint.Types.UpdateJourneyStateResponse, AWSError>;
  918. /**
  919. * Updates an existing message template for messages that are sent through a push notification channel.
  920. */
  921. updatePushTemplate(params: Pinpoint.Types.UpdatePushTemplateRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdatePushTemplateResponse) => void): Request<Pinpoint.Types.UpdatePushTemplateResponse, AWSError>;
  922. /**
  923. * Updates an existing message template for messages that are sent through a push notification channel.
  924. */
  925. updatePushTemplate(callback?: (err: AWSError, data: Pinpoint.Types.UpdatePushTemplateResponse) => void): Request<Pinpoint.Types.UpdatePushTemplateResponse, AWSError>;
  926. /**
  927. * Updates an Amazon Pinpoint configuration for a recommender model.
  928. */
  929. updateRecommenderConfiguration(params: Pinpoint.Types.UpdateRecommenderConfigurationRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateRecommenderConfigurationResponse) => void): Request<Pinpoint.Types.UpdateRecommenderConfigurationResponse, AWSError>;
  930. /**
  931. * Updates an Amazon Pinpoint configuration for a recommender model.
  932. */
  933. updateRecommenderConfiguration(callback?: (err: AWSError, data: Pinpoint.Types.UpdateRecommenderConfigurationResponse) => void): Request<Pinpoint.Types.UpdateRecommenderConfigurationResponse, AWSError>;
  934. /**
  935. * Creates a new segment for an application or updates the configuration, dimension, and other settings for an existing segment that's associated with an application.
  936. */
  937. updateSegment(params: Pinpoint.Types.UpdateSegmentRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateSegmentResponse) => void): Request<Pinpoint.Types.UpdateSegmentResponse, AWSError>;
  938. /**
  939. * Creates a new segment for an application or updates the configuration, dimension, and other settings for an existing segment that's associated with an application.
  940. */
  941. updateSegment(callback?: (err: AWSError, data: Pinpoint.Types.UpdateSegmentResponse) => void): Request<Pinpoint.Types.UpdateSegmentResponse, AWSError>;
  942. /**
  943. * Enables the SMS channel for an application or updates the status and settings of the SMS channel for an application.
  944. */
  945. updateSmsChannel(params: Pinpoint.Types.UpdateSmsChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateSmsChannelResponse) => void): Request<Pinpoint.Types.UpdateSmsChannelResponse, AWSError>;
  946. /**
  947. * Enables the SMS channel for an application or updates the status and settings of the SMS channel for an application.
  948. */
  949. updateSmsChannel(callback?: (err: AWSError, data: Pinpoint.Types.UpdateSmsChannelResponse) => void): Request<Pinpoint.Types.UpdateSmsChannelResponse, AWSError>;
  950. /**
  951. * Updates an existing message template for messages that are sent through the SMS channel.
  952. */
  953. updateSmsTemplate(params: Pinpoint.Types.UpdateSmsTemplateRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateSmsTemplateResponse) => void): Request<Pinpoint.Types.UpdateSmsTemplateResponse, AWSError>;
  954. /**
  955. * Updates an existing message template for messages that are sent through the SMS channel.
  956. */
  957. updateSmsTemplate(callback?: (err: AWSError, data: Pinpoint.Types.UpdateSmsTemplateResponse) => void): Request<Pinpoint.Types.UpdateSmsTemplateResponse, AWSError>;
  958. /**
  959. * Changes the status of a specific version of a message template to active.
  960. */
  961. updateTemplateActiveVersion(params: Pinpoint.Types.UpdateTemplateActiveVersionRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateTemplateActiveVersionResponse) => void): Request<Pinpoint.Types.UpdateTemplateActiveVersionResponse, AWSError>;
  962. /**
  963. * Changes the status of a specific version of a message template to active.
  964. */
  965. updateTemplateActiveVersion(callback?: (err: AWSError, data: Pinpoint.Types.UpdateTemplateActiveVersionResponse) => void): Request<Pinpoint.Types.UpdateTemplateActiveVersionResponse, AWSError>;
  966. /**
  967. * Enables the voice channel for an application or updates the status and settings of the voice channel for an application.
  968. */
  969. updateVoiceChannel(params: Pinpoint.Types.UpdateVoiceChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateVoiceChannelResponse) => void): Request<Pinpoint.Types.UpdateVoiceChannelResponse, AWSError>;
  970. /**
  971. * Enables the voice channel for an application or updates the status and settings of the voice channel for an application.
  972. */
  973. updateVoiceChannel(callback?: (err: AWSError, data: Pinpoint.Types.UpdateVoiceChannelResponse) => void): Request<Pinpoint.Types.UpdateVoiceChannelResponse, AWSError>;
  974. /**
  975. * Updates an existing message template for messages that are sent through the voice channel.
  976. */
  977. updateVoiceTemplate(params: Pinpoint.Types.UpdateVoiceTemplateRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateVoiceTemplateResponse) => void): Request<Pinpoint.Types.UpdateVoiceTemplateResponse, AWSError>;
  978. /**
  979. * Updates an existing message template for messages that are sent through the voice channel.
  980. */
  981. updateVoiceTemplate(callback?: (err: AWSError, data: Pinpoint.Types.UpdateVoiceTemplateResponse) => void): Request<Pinpoint.Types.UpdateVoiceTemplateResponse, AWSError>;
  982. /**
  983. * Verify an OTP
  984. */
  985. verifyOTPMessage(params: Pinpoint.Types.VerifyOTPMessageRequest, callback?: (err: AWSError, data: Pinpoint.Types.VerifyOTPMessageResponse) => void): Request<Pinpoint.Types.VerifyOTPMessageResponse, AWSError>;
  986. /**
  987. * Verify an OTP
  988. */
  989. verifyOTPMessage(callback?: (err: AWSError, data: Pinpoint.Types.VerifyOTPMessageResponse) => void): Request<Pinpoint.Types.VerifyOTPMessageResponse, AWSError>;
  990. }
  991. declare namespace Pinpoint {
  992. export interface ADMChannelRequest {
  993. /**
  994. * The Client ID that you received from Amazon to send messages by using ADM.
  995. */
  996. ClientId: __string;
  997. /**
  998. * The Client Secret that you received from Amazon to send messages by using ADM.
  999. */
  1000. ClientSecret: __string;
  1001. /**
  1002. * Specifies whether to enable the ADM channel for the application.
  1003. */
  1004. Enabled?: __boolean;
  1005. }
  1006. export interface ADMChannelResponse {
  1007. /**
  1008. * The unique identifier for the application that the ADM channel applies to.
  1009. */
  1010. ApplicationId?: __string;
  1011. /**
  1012. * The date and time when the ADM channel was enabled.
  1013. */
  1014. CreationDate?: __string;
  1015. /**
  1016. * Specifies whether the ADM channel is enabled for the application.
  1017. */
  1018. Enabled?: __boolean;
  1019. /**
  1020. * (Not used) This property is retained only for backward compatibility.
  1021. */
  1022. HasCredential?: __boolean;
  1023. /**
  1024. * (Deprecated) An identifier for the ADM channel. This property is retained only for backward compatibility.
  1025. */
  1026. Id?: __string;
  1027. /**
  1028. * Specifies whether the ADM channel is archived.
  1029. */
  1030. IsArchived?: __boolean;
  1031. /**
  1032. * The user who last modified the ADM channel.
  1033. */
  1034. LastModifiedBy?: __string;
  1035. /**
  1036. * The date and time when the ADM channel was last modified.
  1037. */
  1038. LastModifiedDate?: __string;
  1039. /**
  1040. * The type of messaging or notification platform for the channel. For the ADM channel, this value is ADM.
  1041. */
  1042. Platform: __string;
  1043. /**
  1044. * The current version of the ADM channel.
  1045. */
  1046. Version?: __integer;
  1047. }
  1048. export interface ADMMessage {
  1049. /**
  1050. * The action to occur if the recipient taps the push notification. Valid values are: OPEN_APP - Your app opens or it becomes the foreground app if it was sent to the background. This is the default action. DEEP_LINK - Your app opens and displays a designated user interface in the app. This action uses the deep-linking features of the Android platform. URL - The default mobile browser on the recipient's device opens and loads the web page at a URL that you specify.
  1051. */
  1052. Action?: Action;
  1053. /**
  1054. * The body of the notification message.
  1055. */
  1056. Body?: __string;
  1057. /**
  1058. * An arbitrary string that indicates that multiple messages are logically the same and that Amazon Device Messaging (ADM) can drop previously enqueued messages in favor of this message.
  1059. */
  1060. ConsolidationKey?: __string;
  1061. /**
  1062. * The JSON data payload to use for the push notification, if the notification is a silent push notification. This payload is added to the data.pinpoint.jsonBody object of the notification.
  1063. */
  1064. Data?: MapOf__string;
  1065. /**
  1066. * The amount of time, in seconds, that ADM should store the message if the recipient's device is offline. Amazon Pinpoint specifies this value in the expiresAfter parameter when it sends the notification message to ADM.
  1067. */
  1068. ExpiresAfter?: __string;
  1069. /**
  1070. * The icon image name of the asset saved in your app.
  1071. */
  1072. IconReference?: __string;
  1073. /**
  1074. * The URL of the large icon image to display in the content view of the push notification.
  1075. */
  1076. ImageIconUrl?: __string;
  1077. /**
  1078. * The URL of an image to display in the push notification.
  1079. */
  1080. ImageUrl?: __string;
  1081. /**
  1082. * The base64-encoded, MD5 checksum of the value specified by the Data property. ADM uses the MD5 value to verify the integrity of the data.
  1083. */
  1084. MD5?: __string;
  1085. /**
  1086. * The raw, JSON-formatted string to use as the payload for the notification message. If specified, this value overrides all other content for the message.
  1087. */
  1088. RawContent?: __string;
  1089. /**
  1090. * Specifies whether the notification is a silent push notification, which is a push notification that doesn't display on a recipient's device. Silent push notifications can be used for cases such as updating an app's configuration or supporting phone home functionality.
  1091. */
  1092. SilentPush?: __boolean;
  1093. /**
  1094. * The URL of the small icon image to display in the status bar and the content view of the push notification.
  1095. */
  1096. SmallImageIconUrl?: __string;
  1097. /**
  1098. * The sound to play when the recipient receives the push notification. You can use the default stream or specify the file name of a sound resource that's bundled in your app. On an Android platform, the sound file must reside in /res/raw/.
  1099. */
  1100. Sound?: __string;
  1101. /**
  1102. * The default message variables to use in the notification message. You can override the default variables with individual address variables.
  1103. */
  1104. Substitutions?: MapOfListOf__string;
  1105. /**
  1106. * The title to display above the notification message on the recipient's device.
  1107. */
  1108. Title?: __string;
  1109. /**
  1110. * The URL to open in the recipient's default mobile browser, if a recipient taps the push notification and the value of the Action property is URL.
  1111. */
  1112. Url?: __string;
  1113. }
  1114. export interface APNSChannelRequest {
  1115. /**
  1116. * The bundle identifier that's assigned to your iOS app. This identifier is used for APNs tokens.
  1117. */
  1118. BundleId?: __string;
  1119. /**
  1120. * The APNs client certificate that you received from Apple, if you want Amazon Pinpoint to communicate with APNs by using an APNs certificate.
  1121. */
  1122. Certificate?: __string;
  1123. /**
  1124. * The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs, key or certificate.
  1125. */
  1126. DefaultAuthenticationMethod?: __string;
  1127. /**
  1128. * Specifies whether to enable the APNs channel for the application.
  1129. */
  1130. Enabled?: __boolean;
  1131. /**
  1132. * The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with APNs.
  1133. */
  1134. PrivateKey?: __string;
  1135. /**
  1136. * The identifier that's assigned to your Apple developer account team. This identifier is used for APNs tokens.
  1137. */
  1138. TeamId?: __string;
  1139. /**
  1140. * The authentication key to use for APNs tokens.
  1141. */
  1142. TokenKey?: __string;
  1143. /**
  1144. * The key identifier that's assigned to your APNs signing key, if you want Amazon Pinpoint to communicate with APNs by using APNs tokens.
  1145. */
  1146. TokenKeyId?: __string;
  1147. }
  1148. export interface APNSChannelResponse {
  1149. /**
  1150. * The unique identifier for the application that the APNs channel applies to.
  1151. */
  1152. ApplicationId?: __string;
  1153. /**
  1154. * The date and time when the APNs channel was enabled.
  1155. */
  1156. CreationDate?: __string;
  1157. /**
  1158. * The default authentication method that Amazon Pinpoint uses to authenticate with APNs for this channel, key or certificate.
  1159. */
  1160. DefaultAuthenticationMethod?: __string;
  1161. /**
  1162. * Specifies whether the APNs channel is enabled for the application.
  1163. */
  1164. Enabled?: __boolean;
  1165. /**
  1166. * (Not used) This property is retained only for backward compatibility.
  1167. */
  1168. HasCredential?: __boolean;
  1169. /**
  1170. * Specifies whether the APNs channel is configured to communicate with APNs by using APNs tokens. To provide an authentication key for APNs tokens, set the TokenKey property of the channel.
  1171. */
  1172. HasTokenKey?: __boolean;
  1173. /**
  1174. * (Deprecated) An identifier for the APNs channel. This property is retained only for backward compatibility.
  1175. */
  1176. Id?: __string;
  1177. /**
  1178. * Specifies whether the APNs channel is archived.
  1179. */
  1180. IsArchived?: __boolean;
  1181. /**
  1182. * The user who last modified the APNs channel.
  1183. */
  1184. LastModifiedBy?: __string;
  1185. /**
  1186. * The date and time when the APNs channel was last modified.
  1187. */
  1188. LastModifiedDate?: __string;
  1189. /**
  1190. * The type of messaging or notification platform for the channel. For the APNs channel, this value is APNS.
  1191. */
  1192. Platform: __string;
  1193. /**
  1194. * The current version of the APNs channel.
  1195. */
  1196. Version?: __integer;
  1197. }
  1198. export interface APNSMessage {
  1199. /**
  1200. * The type of push notification to send. Valid values are: alert - For a standard notification that's displayed on recipients' devices and prompts a recipient to interact with the notification. background - For a silent notification that delivers content in the background and isn't displayed on recipients' devices. complication - For a notification that contains update information for an app’s complication timeline. fileprovider - For a notification that signals changes to a File Provider extension. mdm - For a notification that tells managed devices to contact the MDM server. voip - For a notification that provides information about an incoming VoIP call. Amazon Pinpoint specifies this value in the apns-push-type request header when it sends the notification message to APNs. If you don't specify a value for this property, Amazon Pinpoint sets the value to alert or background automatically, based on the value that you specify for the SilentPush or RawContent property of the message. For more information about the apns-push-type request header, see Sending Notification Requests to APNs on the Apple Developer website.
  1201. */
  1202. APNSPushType?: __string;
  1203. /**
  1204. * The action to occur if the recipient taps the push notification. Valid values are: OPEN_APP - Your app opens or it becomes the foreground app if it was sent to the background. This is the default action. DEEP_LINK - Your app opens and displays a designated user interface in the app. This setting uses the deep-linking features of the iOS platform. URL - The default mobile browser on the recipient's device opens and loads the web page at a URL that you specify.
  1205. */
  1206. Action?: Action;
  1207. /**
  1208. * The key that indicates whether and how to modify the badge of your app's icon when the recipient receives the push notification. If this key isn't included in the dictionary, the badge doesn't change. To remove the badge, set this value to 0.
  1209. */
  1210. Badge?: __integer;
  1211. /**
  1212. * The body of the notification message.
  1213. */
  1214. Body?: __string;
  1215. /**
  1216. * The key that indicates the notification type for the push notification. This key is a value that's defined by the identifier property of one of your app's registered categories.
  1217. */
  1218. Category?: __string;
  1219. /**
  1220. * An arbitrary identifier that, if assigned to multiple messages, APNs uses to coalesce the messages into a single push notification instead of delivering each message individually. This value can't exceed 64 bytes. Amazon Pinpoint specifies this value in the apns-collapse-id request header when it sends the notification message to APNs.
  1221. */
  1222. CollapseId?: __string;
  1223. /**
  1224. * The JSON payload to use for a silent push notification. This payload is added to the data.pinpoint.jsonBody object of the notification.
  1225. */
  1226. Data?: MapOf__string;
  1227. /**
  1228. * The URL of an image or video to display in the push notification.
  1229. */
  1230. MediaUrl?: __string;
  1231. /**
  1232. * The authentication method that you want Amazon Pinpoint to use when authenticating with APNs, CERTIFICATE or TOKEN.
  1233. */
  1234. PreferredAuthenticationMethod?: __string;
  1235. /**
  1236. * para>5 - Low priority, the notification might be delayed, delivered as part of a group, or throttled./listitem> 10 - High priority, the notification is sent immediately. This is the default value. A high priority notification should trigger an alert, play a sound, or badge your app's icon on the recipient's device./para> Amazon Pinpoint specifies this value in the apns-priority request header when it sends the notification message to APNs. The equivalent values for Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), are normal, for 5, and high, for 10. If you specify an FCM value for this property, Amazon Pinpoint accepts and converts the value to the corresponding APNs value.
  1237. */
  1238. Priority?: __string;
  1239. /**
  1240. * The raw, JSON-formatted string to use as the payload for the notification message. If specified, this value overrides all other content for the message. If you specify the raw content of an APNs push notification, the message payload has to include the content-available key. The value of the content-available key has to be an integer, and can only be 0 or 1. If you're sending a standard notification, set the value of content-available to 0. If you're sending a silent (background) notification, set the value of content-available to 1. Additionally, silent notification payloads can't include the alert, badge, or sound keys. For more information, see Generating a Remote Notification and Pushing Background Updates to Your App on the Apple Developer website.
  1241. */
  1242. RawContent?: __string;
  1243. /**
  1244. * Specifies whether the notification is a silent push notification. A silent (or background) push notification isn't displayed on recipients' devices. You can use silent push notifications to make small updates to your app, or to display messages in an in-app message center. Amazon Pinpoint uses this property to determine the correct value for the apns-push-type request header when it sends the notification message to APNs. If you specify a value of true for this property, Amazon Pinpoint sets the value for the apns-push-type header field to background. If you specify the raw content of an APNs push notification, the message payload has to include the content-available key. For silent (background) notifications, set the value of content-available to 1. Additionally, the message payload for a silent notification can't include the alert, badge, or sound keys. For more information, see Generating a Remote Notification and Pushing Background Updates to Your App on the Apple Developer website. Apple has indicated that they will throttle "excessive" background notifications based on current traffic volumes. To prevent your notifications being throttled, Apple recommends that you send no more than 3 silent push notifications to each recipient per hour.
  1245. */
  1246. SilentPush?: __boolean;
  1247. /**
  1248. * The key for the sound to play when the recipient receives the push notification. The value for this key is the name of a sound file in your app's main bundle or the Library/Sounds folder in your app's data container. If the sound file can't be found or you specify default for the value, the system plays the default alert sound.
  1249. */
  1250. Sound?: __string;
  1251. /**
  1252. * The default message variables to use in the notification message. You can override these default variables with individual address variables.
  1253. */
  1254. Substitutions?: MapOfListOf__string;
  1255. /**
  1256. * The key that represents your app-specific identifier for grouping notifications. If you provide a Notification Content app extension, you can use this value to group your notifications together.
  1257. */
  1258. ThreadId?: __string;
  1259. /**
  1260. * The amount of time, in seconds, that APNs should store and attempt to deliver the push notification, if the service is unable to deliver the notification the first time. If this value is 0, APNs treats the notification as if it expires immediately and the service doesn't store or try to deliver the notification again. Amazon Pinpoint specifies this value in the apns-expiration request header when it sends the notification message to APNs.
  1261. */
  1262. TimeToLive?: __integer;
  1263. /**
  1264. * The title to display above the notification message on the recipient's device.
  1265. */
  1266. Title?: __string;
  1267. /**
  1268. * The URL to open in the recipient's default mobile browser, if a recipient taps the push notification and the value of the Action property is URL.
  1269. */
  1270. Url?: __string;
  1271. }
  1272. export interface APNSPushNotificationTemplate {
  1273. /**
  1274. * The action to occur if a recipient taps a push notification that's based on the message template. Valid values are: OPEN_APP - Your app opens or it becomes the foreground app if it was sent to the background. This is the default action. DEEP_LINK - Your app opens and displays a designated user interface in the app. This setting uses the deep-linking features of the iOS platform. URL - The default mobile browser on the recipient's device opens and loads the web page at a URL that you specify.
  1275. */
  1276. Action?: Action;
  1277. /**
  1278. * The message body to use in push notifications that are based on the message template.
  1279. */
  1280. Body?: __string;
  1281. /**
  1282. * The URL of an image or video to display in push notifications that are based on the message template.
  1283. */
  1284. MediaUrl?: __string;
  1285. /**
  1286. * The raw, JSON-formatted string to use as the payload for push notifications that are based on the message template. If specified, this value overrides all other content for the message template.
  1287. */
  1288. RawContent?: __string;
  1289. /**
  1290. * The key for the sound to play when the recipient receives a push notification that's based on the message template. The value for this key is the name of a sound file in your app's main bundle or the Library/Sounds folder in your app's data container. If the sound file can't be found or you specify default for the value, the system plays the default alert sound.
  1291. */
  1292. Sound?: __string;
  1293. /**
  1294. * The title to use in push notifications that are based on the message template. This title appears above the notification message on a recipient's device.
  1295. */
  1296. Title?: __string;
  1297. /**
  1298. * The URL to open in the recipient's default mobile browser, if a recipient taps a push notification that's based on the message template and the value of the Action property is URL.
  1299. */
  1300. Url?: __string;
  1301. }
  1302. export interface APNSSandboxChannelRequest {
  1303. /**
  1304. * The bundle identifier that's assigned to your iOS app. This identifier is used for APNs tokens.
  1305. */
  1306. BundleId?: __string;
  1307. /**
  1308. * The APNs client certificate that you received from Apple, if you want Amazon Pinpoint to communicate with the APNs sandbox environment by using an APNs certificate.
  1309. */
  1310. Certificate?: __string;
  1311. /**
  1312. * The default authentication method that you want Amazon Pinpoint to use when authenticating with the APNs sandbox environment, key or certificate.
  1313. */
  1314. DefaultAuthenticationMethod?: __string;
  1315. /**
  1316. * Specifies whether to enable the APNs sandbox channel for the application.
  1317. */
  1318. Enabled?: __boolean;
  1319. /**
  1320. * The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with the APNs sandbox environment.
  1321. */
  1322. PrivateKey?: __string;
  1323. /**
  1324. * The identifier that's assigned to your Apple developer account team. This identifier is used for APNs tokens.
  1325. */
  1326. TeamId?: __string;
  1327. /**
  1328. * The authentication key to use for APNs tokens.
  1329. */
  1330. TokenKey?: __string;
  1331. /**
  1332. * The key identifier that's assigned to your APNs signing key, if you want Amazon Pinpoint to communicate with the APNs sandbox environment by using APNs tokens.
  1333. */
  1334. TokenKeyId?: __string;
  1335. }
  1336. export interface APNSSandboxChannelResponse {
  1337. /**
  1338. * The unique identifier for the application that the APNs sandbox channel applies to.
  1339. */
  1340. ApplicationId?: __string;
  1341. /**
  1342. * The date and time when the APNs sandbox channel was enabled.
  1343. */
  1344. CreationDate?: __string;
  1345. /**
  1346. * The default authentication method that Amazon Pinpoint uses to authenticate with the APNs sandbox environment for this channel, key or certificate.
  1347. */
  1348. DefaultAuthenticationMethod?: __string;
  1349. /**
  1350. * Specifies whether the APNs sandbox channel is enabled for the application.
  1351. */
  1352. Enabled?: __boolean;
  1353. /**
  1354. * (Not used) This property is retained only for backward compatibility.
  1355. */
  1356. HasCredential?: __boolean;
  1357. /**
  1358. * Specifies whether the APNs sandbox channel is configured to communicate with APNs by using APNs tokens. To provide an authentication key for APNs tokens, set the TokenKey property of the channel.
  1359. */
  1360. HasTokenKey?: __boolean;
  1361. /**
  1362. * (Deprecated) An identifier for the APNs sandbox channel. This property is retained only for backward compatibility.
  1363. */
  1364. Id?: __string;
  1365. /**
  1366. * Specifies whether the APNs sandbox channel is archived.
  1367. */
  1368. IsArchived?: __boolean;
  1369. /**
  1370. * The user who last modified the APNs sandbox channel.
  1371. */
  1372. LastModifiedBy?: __string;
  1373. /**
  1374. * The date and time when the APNs sandbox channel was last modified.
  1375. */
  1376. LastModifiedDate?: __string;
  1377. /**
  1378. * The type of messaging or notification platform for the channel. For the APNs sandbox channel, this value is APNS_SANDBOX.
  1379. */
  1380. Platform: __string;
  1381. /**
  1382. * The current version of the APNs sandbox channel.
  1383. */
  1384. Version?: __integer;
  1385. }
  1386. export interface APNSVoipChannelRequest {
  1387. /**
  1388. * The bundle identifier that's assigned to your iOS app. This identifier is used for APNs tokens.
  1389. */
  1390. BundleId?: __string;
  1391. /**
  1392. * The APNs client certificate that you received from Apple, if you want Amazon Pinpoint to communicate with APNs by using an APNs certificate.
  1393. */
  1394. Certificate?: __string;
  1395. /**
  1396. * The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs, key or certificate.
  1397. */
  1398. DefaultAuthenticationMethod?: __string;
  1399. /**
  1400. * Specifies whether to enable the APNs VoIP channel for the application.
  1401. */
  1402. Enabled?: __boolean;
  1403. /**
  1404. * The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with APNs.
  1405. */
  1406. PrivateKey?: __string;
  1407. /**
  1408. * The identifier that's assigned to your Apple developer account team. This identifier is used for APNs tokens.
  1409. */
  1410. TeamId?: __string;
  1411. /**
  1412. * The authentication key to use for APNs tokens.
  1413. */
  1414. TokenKey?: __string;
  1415. /**
  1416. * The key identifier that's assigned to your APNs signing key, if you want Amazon Pinpoint to communicate with APNs by using APNs tokens.
  1417. */
  1418. TokenKeyId?: __string;
  1419. }
  1420. export interface APNSVoipChannelResponse {
  1421. /**
  1422. * The unique identifier for the application that the APNs VoIP channel applies to.
  1423. */
  1424. ApplicationId?: __string;
  1425. /**
  1426. * The date and time when the APNs VoIP channel was enabled.
  1427. */
  1428. CreationDate?: __string;
  1429. /**
  1430. * The default authentication method that Amazon Pinpoint uses to authenticate with APNs for this channel, key or certificate.
  1431. */
  1432. DefaultAuthenticationMethod?: __string;
  1433. /**
  1434. * Specifies whether the APNs VoIP channel is enabled for the application.
  1435. */
  1436. Enabled?: __boolean;
  1437. /**
  1438. * (Not used) This property is retained only for backward compatibility.
  1439. */
  1440. HasCredential?: __boolean;
  1441. /**
  1442. * Specifies whether the APNs VoIP channel is configured to communicate with APNs by using APNs tokens. To provide an authentication key for APNs tokens, set the TokenKey property of the channel.
  1443. */
  1444. HasTokenKey?: __boolean;
  1445. /**
  1446. * (Deprecated) An identifier for the APNs VoIP channel. This property is retained only for backward compatibility.
  1447. */
  1448. Id?: __string;
  1449. /**
  1450. * Specifies whether the APNs VoIP channel is archived.
  1451. */
  1452. IsArchived?: __boolean;
  1453. /**
  1454. * The user who last modified the APNs VoIP channel.
  1455. */
  1456. LastModifiedBy?: __string;
  1457. /**
  1458. * The date and time when the APNs VoIP channel was last modified.
  1459. */
  1460. LastModifiedDate?: __string;
  1461. /**
  1462. * The type of messaging or notification platform for the channel. For the APNs VoIP channel, this value is APNS_VOIP.
  1463. */
  1464. Platform: __string;
  1465. /**
  1466. * The current version of the APNs VoIP channel.
  1467. */
  1468. Version?: __integer;
  1469. }
  1470. export interface APNSVoipSandboxChannelRequest {
  1471. /**
  1472. * The bundle identifier that's assigned to your iOS app. This identifier is used for APNs tokens.
  1473. */
  1474. BundleId?: __string;
  1475. /**
  1476. * The APNs client certificate that you received from Apple, if you want Amazon Pinpoint to communicate with the APNs sandbox environment by using an APNs certificate.
  1477. */
  1478. Certificate?: __string;
  1479. /**
  1480. * The default authentication method that you want Amazon Pinpoint to use when authenticating with the APNs sandbox environment for this channel, key or certificate.
  1481. */
  1482. DefaultAuthenticationMethod?: __string;
  1483. /**
  1484. * Specifies whether the APNs VoIP sandbox channel is enabled for the application.
  1485. */
  1486. Enabled?: __boolean;
  1487. /**
  1488. * The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with the APNs sandbox environment.
  1489. */
  1490. PrivateKey?: __string;
  1491. /**
  1492. * The identifier that's assigned to your Apple developer account team. This identifier is used for APNs tokens.
  1493. */
  1494. TeamId?: __string;
  1495. /**
  1496. * The authentication key to use for APNs tokens.
  1497. */
  1498. TokenKey?: __string;
  1499. /**
  1500. * The key identifier that's assigned to your APNs signing key, if you want Amazon Pinpoint to communicate with the APNs sandbox environment by using APNs tokens.
  1501. */
  1502. TokenKeyId?: __string;
  1503. }
  1504. export interface APNSVoipSandboxChannelResponse {
  1505. /**
  1506. * The unique identifier for the application that the APNs VoIP sandbox channel applies to.
  1507. */
  1508. ApplicationId?: __string;
  1509. /**
  1510. * The date and time when the APNs VoIP sandbox channel was enabled.
  1511. */
  1512. CreationDate?: __string;
  1513. /**
  1514. * The default authentication method that Amazon Pinpoint uses to authenticate with the APNs sandbox environment for this channel, key or certificate.
  1515. */
  1516. DefaultAuthenticationMethod?: __string;
  1517. /**
  1518. * Specifies whether the APNs VoIP sandbox channel is enabled for the application.
  1519. */
  1520. Enabled?: __boolean;
  1521. /**
  1522. * (Not used) This property is retained only for backward compatibility.
  1523. */
  1524. HasCredential?: __boolean;
  1525. /**
  1526. * Specifies whether the APNs VoIP sandbox channel is configured to communicate with APNs by using APNs tokens. To provide an authentication key for APNs tokens, set the TokenKey property of the channel.
  1527. */
  1528. HasTokenKey?: __boolean;
  1529. /**
  1530. * (Deprecated) An identifier for the APNs VoIP sandbox channel. This property is retained only for backward compatibility.
  1531. */
  1532. Id?: __string;
  1533. /**
  1534. * Specifies whether the APNs VoIP sandbox channel is archived.
  1535. */
  1536. IsArchived?: __boolean;
  1537. /**
  1538. * The user who last modified the APNs VoIP sandbox channel.
  1539. */
  1540. LastModifiedBy?: __string;
  1541. /**
  1542. * The date and time when the APNs VoIP sandbox channel was last modified.
  1543. */
  1544. LastModifiedDate?: __string;
  1545. /**
  1546. * The type of messaging or notification platform for the channel. For the APNs VoIP sandbox channel, this value is APNS_VOIP_SANDBOX.
  1547. */
  1548. Platform: __string;
  1549. /**
  1550. * The current version of the APNs VoIP sandbox channel.
  1551. */
  1552. Version?: __integer;
  1553. }
  1554. export type Action = "OPEN_APP"|"DEEP_LINK"|"URL"|string;
  1555. export interface ActivitiesResponse {
  1556. /**
  1557. * An array of responses, one for each activity that was performed by the campaign.
  1558. */
  1559. Item: ListOfActivityResponse;
  1560. /**
  1561. * The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
  1562. */
  1563. NextToken?: __string;
  1564. }
  1565. export interface Activity {
  1566. /**
  1567. * The settings for a custom message activity. This type of activity calls an AWS Lambda function or web hook that sends messages to participants.
  1568. */
  1569. CUSTOM?: CustomMessageActivity;
  1570. /**
  1571. * The settings for a yes/no split activity. This type of activity sends participants down one of two paths in a journey, based on conditions that you specify.
  1572. */
  1573. ConditionalSplit?: ConditionalSplitActivity;
  1574. /**
  1575. * The custom description of the activity.
  1576. */
  1577. Description?: __string;
  1578. /**
  1579. * The settings for an email activity. This type of activity sends an email message to participants.
  1580. */
  1581. EMAIL?: EmailMessageActivity;
  1582. /**
  1583. * The settings for a holdout activity. This type of activity stops a journey for a specified percentage of participants.
  1584. */
  1585. Holdout?: HoldoutActivity;
  1586. /**
  1587. * The settings for a multivariate split activity. This type of activity sends participants down one of as many as five paths (including a default Else path) in a journey, based on conditions that you specify.
  1588. */
  1589. MultiCondition?: MultiConditionalSplitActivity;
  1590. /**
  1591. * The settings for a push notification activity. This type of activity sends a push notification to participants.
  1592. */
  1593. PUSH?: PushMessageActivity;
  1594. /**
  1595. * The settings for a random split activity. This type of activity randomly sends specified percentages of participants down one of as many as five paths in a journey, based on conditions that you specify.
  1596. */
  1597. RandomSplit?: RandomSplitActivity;
  1598. /**
  1599. * The settings for an SMS activity. This type of activity sends a text message to participants.
  1600. */
  1601. SMS?: SMSMessageActivity;
  1602. /**
  1603. * The settings for a wait activity. This type of activity waits for a certain amount of time or until a specific date and time before moving participants to the next activity in a journey.
  1604. */
  1605. Wait?: WaitActivity;
  1606. /**
  1607. * The settings for a connect activity. This type of activity initiates a contact center call to participants.
  1608. */
  1609. ContactCenter?: ContactCenterActivity;
  1610. }
  1611. export interface ActivityResponse {
  1612. /**
  1613. * The unique identifier for the application that the campaign applies to.
  1614. */
  1615. ApplicationId: __string;
  1616. /**
  1617. * The unique identifier for the campaign that the activity applies to.
  1618. */
  1619. CampaignId: __string;
  1620. /**
  1621. * The actual time, in ISO 8601 format, when the activity was marked CANCELLED or COMPLETED.
  1622. */
  1623. End?: __string;
  1624. /**
  1625. * The unique identifier for the activity.
  1626. */
  1627. Id: __string;
  1628. /**
  1629. * Specifies whether the activity succeeded. Possible values are SUCCESS and FAIL.
  1630. */
  1631. Result?: __string;
  1632. /**
  1633. * The scheduled start time, in ISO 8601 format, for the activity.
  1634. */
  1635. ScheduledStart?: __string;
  1636. /**
  1637. * The actual start time, in ISO 8601 format, of the activity.
  1638. */
  1639. Start?: __string;
  1640. /**
  1641. * The current status of the activity. Possible values are: PENDING, INITIALIZING, RUNNING, PAUSED, CANCELLED, and COMPLETED.
  1642. */
  1643. State?: __string;
  1644. /**
  1645. * The total number of endpoints that the campaign successfully delivered messages to.
  1646. */
  1647. SuccessfulEndpointCount?: __integer;
  1648. /**
  1649. * The total number of time zones that were completed.
  1650. */
  1651. TimezonesCompletedCount?: __integer;
  1652. /**
  1653. * The total number of unique time zones that are in the segment for the campaign.
  1654. */
  1655. TimezonesTotalCount?: __integer;
  1656. /**
  1657. * The total number of endpoints that the campaign attempted to deliver messages to.
  1658. */
  1659. TotalEndpointCount?: __integer;
  1660. /**
  1661. * The unique identifier for the campaign treatment that the activity applies to. A treatment is a variation of a campaign that's used for A/B testing of a campaign.
  1662. */
  1663. TreatmentId?: __string;
  1664. /**
  1665. * A JSON object that contains metrics relating to the campaign execution for this campaign activity. For information about the structure and contents of the results, see Standard Amazon Pinpoint analytics metrics in the Amazon Pinpoint Developer Guide.
  1666. */
  1667. ExecutionMetrics?: MapOf__string;
  1668. }
  1669. export interface AddressConfiguration {
  1670. /**
  1671. * The message body to use instead of the default message body. This value overrides the default message body.
  1672. */
  1673. BodyOverride?: __string;
  1674. /**
  1675. * The channel to use when sending the message.
  1676. */
  1677. ChannelType?: ChannelType;
  1678. /**
  1679. * An object that maps custom attributes to attributes for the address and is attached to the message. Attribute names are case sensitive. For a push notification, this payload is added to the data.pinpoint object. For an email or text message, this payload is added to email/SMS delivery receipt event attributes.
  1680. */
  1681. Context?: MapOf__string;
  1682. /**
  1683. * The raw, JSON-formatted string to use as the payload for the message. If specified, this value overrides all other values for the message.
  1684. */
  1685. RawContent?: __string;
  1686. /**
  1687. * A map of the message variables to merge with the variables specified by properties of the DefaultMessage object. The variables specified in this map take precedence over all other variables.
  1688. */
  1689. Substitutions?: MapOfListOf__string;
  1690. /**
  1691. * The message title to use instead of the default message title. This value overrides the default message title.
  1692. */
  1693. TitleOverride?: __string;
  1694. }
  1695. export type Alignment = "LEFT"|"CENTER"|"RIGHT"|string;
  1696. export interface AndroidPushNotificationTemplate {
  1697. /**
  1698. * The action to occur if a recipient taps a push notification that's based on the message template. Valid values are: OPEN_APP - Your app opens or it becomes the foreground app if it was sent to the background. This is the default action. DEEP_LINK - Your app opens and displays a designated user interface in the app. This action uses the deep-linking features of the Android platform. URL - The default mobile browser on the recipient's device opens and loads the web page at a URL that you specify.
  1699. */
  1700. Action?: Action;
  1701. /**
  1702. * The message body to use in a push notification that's based on the message template.
  1703. */
  1704. Body?: __string;
  1705. /**
  1706. * The URL of the large icon image to display in the content view of a push notification that's based on the message template.
  1707. */
  1708. ImageIconUrl?: __string;
  1709. /**
  1710. * The URL of an image to display in a push notification that's based on the message template.
  1711. */
  1712. ImageUrl?: __string;
  1713. /**
  1714. * The raw, JSON-formatted string to use as the payload for a push notification that's based on the message template. If specified, this value overrides all other content for the message template.
  1715. */
  1716. RawContent?: __string;
  1717. /**
  1718. * The URL of the small icon image to display in the status bar and the content view of a push notification that's based on the message template.
  1719. */
  1720. SmallImageIconUrl?: __string;
  1721. /**
  1722. * The sound to play when a recipient receives a push notification that's based on the message template. You can use the default stream or specify the file name of a sound resource that's bundled in your app. On an Android platform, the sound file must reside in /res/raw/.
  1723. */
  1724. Sound?: __string;
  1725. /**
  1726. * The title to use in a push notification that's based on the message template. This title appears above the notification message on a recipient's device.
  1727. */
  1728. Title?: __string;
  1729. /**
  1730. * The URL to open in a recipient's default mobile browser, if a recipient taps a push notification that's based on the message template and the value of the Action property is URL.
  1731. */
  1732. Url?: __string;
  1733. }
  1734. export interface ApplicationDateRangeKpiResponse {
  1735. /**
  1736. * The unique identifier for the application that the metric applies to.
  1737. */
  1738. ApplicationId: __string;
  1739. /**
  1740. * The last date and time of the date range that was used to filter the query results, in extended ISO 8601 format. The date range is inclusive.
  1741. */
  1742. EndTime: __timestampIso8601;
  1743. /**
  1744. * The name of the metric, also referred to as a key performance indicator (KPI), that the data was retrieved for. This value describes the associated metric and consists of two or more terms, which are comprised of lowercase alphanumeric characters, separated by a hyphen. For a list of possible values, see the Amazon Pinpoint Developer Guide.
  1745. */
  1746. KpiName: __string;
  1747. /**
  1748. * An array of objects that contains the results of the query. Each object contains the value for the metric and metadata about that value.
  1749. */
  1750. KpiResult: BaseKpiResult;
  1751. /**
  1752. * The string to use in a subsequent request to get the next page of results in a paginated response. This value is null for the Application Metrics resource because the resource returns all results in a single page.
  1753. */
  1754. NextToken?: __string;
  1755. /**
  1756. * The first date and time of the date range that was used to filter the query results, in extended ISO 8601 format. The date range is inclusive.
  1757. */
  1758. StartTime: __timestampIso8601;
  1759. }
  1760. export interface ApplicationResponse {
  1761. /**
  1762. * The Amazon Resource Name (ARN) of the application.
  1763. */
  1764. Arn: __string;
  1765. /**
  1766. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  1767. */
  1768. Id: __string;
  1769. /**
  1770. * The display name of the application. This name is displayed as the Project name on the Amazon Pinpoint console.
  1771. */
  1772. Name: __string;
  1773. /**
  1774. * A string-to-string map of key-value pairs that identifies the tags that are associated with the application. Each tag consists of a required tag key and an associated tag value.
  1775. */
  1776. tags?: MapOf__string;
  1777. /**
  1778. * The date and time when the Application was created.
  1779. */
  1780. CreationDate?: __string;
  1781. }
  1782. export interface ApplicationSettingsJourneyLimits {
  1783. /**
  1784. * The daily number of messages that an endpoint can receive from all journeys. The maximum value is 100. If set to 0, this limit will not apply.
  1785. */
  1786. DailyCap?: __integer;
  1787. /**
  1788. * The default maximum number of messages that can be sent to an endpoint during the specified timeframe for all journeys.
  1789. */
  1790. TimeframeCap?: JourneyTimeframeCap;
  1791. /**
  1792. * The default maximum number of messages that a single journey can sent to a single endpoint. The maximum value is 100. If set to 0, this limit will not apply.
  1793. */
  1794. TotalCap?: __integer;
  1795. }
  1796. export interface ApplicationSettingsResource {
  1797. /**
  1798. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  1799. */
  1800. ApplicationId: __string;
  1801. /**
  1802. * The settings for the AWS Lambda function to invoke by default as a code hook for campaigns in the application. You can use this hook to customize segments that are used by campaigns in the application.
  1803. */
  1804. CampaignHook?: CampaignHook;
  1805. /**
  1806. * The date and time, in ISO 8601 format, when the application's settings were last modified.
  1807. */
  1808. LastModifiedDate?: __string;
  1809. /**
  1810. * The default sending limits for campaigns in the application.
  1811. */
  1812. Limits?: CampaignLimits;
  1813. /**
  1814. * The default quiet time for campaigns in the application. Quiet time is a specific time range when messages aren't sent to endpoints, if all the following conditions are met: The EndpointDemographic.Timezone property of the endpoint is set to a valid value. The current time in the endpoint's time zone is later than or equal to the time specified by the QuietTime.Start property for the application (or a campaign or journey that has custom quiet time settings). The current time in the endpoint's time zone is earlier than or equal to the time specified by the QuietTime.End property for the application (or a campaign or journey that has custom quiet time settings). If any of the preceding conditions isn't met, the endpoint will receive messages from a campaign or journey, even if quiet time is enabled.
  1815. */
  1816. QuietTime?: QuietTime;
  1817. /**
  1818. * The default sending limits for journeys in the application. These limits apply to each journey for the application but can be overridden, on a per journey basis, with the JourneyLimits resource.
  1819. */
  1820. JourneyLimits?: ApplicationSettingsJourneyLimits;
  1821. }
  1822. export interface ApplicationsResponse {
  1823. /**
  1824. * An array of responses, one for each application that was returned.
  1825. */
  1826. Item?: ListOfApplicationResponse;
  1827. /**
  1828. * The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
  1829. */
  1830. NextToken?: __string;
  1831. }
  1832. export interface AttributeDimension {
  1833. /**
  1834. * The type of segment dimension to use. Valid values are: INCLUSIVE - endpoints that have attributes matching the values are included in the segment.EXCLUSIVE - endpoints that have attributes matching the values are excluded in the segment.CONTAINS - endpoints that have attributes' substrings match the values are included in the segment.BEFORE - endpoints with attributes read as ISO_INSTANT datetimes before the value are included in the segment.AFTER - endpoints with attributes read as ISO_INSTANT datetimes after the value are included in the segment.ON - endpoints with attributes read as ISO_INSTANT dates on the value are included in the segment. Time is ignored in this comparison.BETWEEN - endpoints with attributes read as ISO_INSTANT datetimes between the values are included in the segment.
  1835. */
  1836. AttributeType?: AttributeType;
  1837. /**
  1838. * The criteria values to use for the segment dimension. Depending on the value of the AttributeType property, endpoints are included or excluded from the segment if their attribute values match the criteria values.
  1839. */
  1840. Values: ListOf__string;
  1841. }
  1842. export type AttributeType = "INCLUSIVE"|"EXCLUSIVE"|"CONTAINS"|"BEFORE"|"AFTER"|"ON"|"BETWEEN"|string;
  1843. export interface AttributesResource {
  1844. /**
  1845. * The unique identifier for the application.
  1846. */
  1847. ApplicationId: __string;
  1848. /**
  1849. * The type of attribute or attributes that were removed from the endpoints. Valid values are: endpoint-custom-attributes - Custom attributes that describe endpoints. endpoint-metric-attributes - Custom metrics that your app reports to Amazon Pinpoint for endpoints. endpoint-user-attributes - Custom attributes that describe users.
  1850. */
  1851. AttributeType: __string;
  1852. /**
  1853. * An array that specifies the names of the attributes that were removed from the endpoints.
  1854. */
  1855. Attributes?: ListOf__string;
  1856. }
  1857. export interface BaiduChannelRequest {
  1858. /**
  1859. * The API key that you received from the Baidu Cloud Push service to communicate with the service.
  1860. */
  1861. ApiKey: __string;
  1862. /**
  1863. * Specifies whether to enable the Baidu channel for the application.
  1864. */
  1865. Enabled?: __boolean;
  1866. /**
  1867. * The secret key that you received from the Baidu Cloud Push service to communicate with the service.
  1868. */
  1869. SecretKey: __string;
  1870. }
  1871. export interface BaiduChannelResponse {
  1872. /**
  1873. * The unique identifier for the application that the Baidu channel applies to.
  1874. */
  1875. ApplicationId?: __string;
  1876. /**
  1877. * The date and time when the Baidu channel was enabled.
  1878. */
  1879. CreationDate?: __string;
  1880. /**
  1881. * The API key that you received from the Baidu Cloud Push service to communicate with the service.
  1882. */
  1883. Credential: __string;
  1884. /**
  1885. * Specifies whether the Baidu channel is enabled for the application.
  1886. */
  1887. Enabled?: __boolean;
  1888. /**
  1889. * (Not used) This property is retained only for backward compatibility.
  1890. */
  1891. HasCredential?: __boolean;
  1892. /**
  1893. * (Deprecated) An identifier for the Baidu channel. This property is retained only for backward compatibility.
  1894. */
  1895. Id?: __string;
  1896. /**
  1897. * Specifies whether the Baidu channel is archived.
  1898. */
  1899. IsArchived?: __boolean;
  1900. /**
  1901. * The user who last modified the Baidu channel.
  1902. */
  1903. LastModifiedBy?: __string;
  1904. /**
  1905. * The date and time when the Baidu channel was last modified.
  1906. */
  1907. LastModifiedDate?: __string;
  1908. /**
  1909. * The type of messaging or notification platform for the channel. For the Baidu channel, this value is BAIDU.
  1910. */
  1911. Platform: __string;
  1912. /**
  1913. * The current version of the Baidu channel.
  1914. */
  1915. Version?: __integer;
  1916. }
  1917. export interface BaiduMessage {
  1918. /**
  1919. * The action to occur if the recipient taps the push notification. Valid values are: OPEN_APP - Your app opens or it becomes the foreground app if it was sent to the background. This is the default action. DEEP_LINK - Your app opens and displays a designated user interface in the app. This action uses the deep-linking features of the Android platform. URL - The default mobile browser on the recipient's device opens and loads the web page at a URL that you specify.
  1920. */
  1921. Action?: Action;
  1922. /**
  1923. * The body of the notification message.
  1924. */
  1925. Body?: __string;
  1926. /**
  1927. * The JSON data payload to use for the push notification, if the notification is a silent push notification. This payload is added to the data.pinpoint.jsonBody object of the notification.
  1928. */
  1929. Data?: MapOf__string;
  1930. /**
  1931. * The icon image name of the asset saved in your app.
  1932. */
  1933. IconReference?: __string;
  1934. /**
  1935. * The URL of the large icon image to display in the content view of the push notification.
  1936. */
  1937. ImageIconUrl?: __string;
  1938. /**
  1939. * The URL of an image to display in the push notification.
  1940. */
  1941. ImageUrl?: __string;
  1942. /**
  1943. * The raw, JSON-formatted string to use as the payload for the notification message. If specified, this value overrides all other content for the message.
  1944. */
  1945. RawContent?: __string;
  1946. /**
  1947. * Specifies whether the notification is a silent push notification, which is a push notification that doesn't display on a recipient's device. Silent push notifications can be used for cases such as updating an app's configuration or supporting phone home functionality.
  1948. */
  1949. SilentPush?: __boolean;
  1950. /**
  1951. * The URL of the small icon image to display in the status bar and the content view of the push notification.
  1952. */
  1953. SmallImageIconUrl?: __string;
  1954. /**
  1955. * The sound to play when the recipient receives the push notification. You can use the default stream or specify the file name of a sound resource that's bundled in your app. On an Android platform, the sound file must reside in /res/raw/.
  1956. */
  1957. Sound?: __string;
  1958. /**
  1959. * The default message variables to use in the notification message. You can override the default variables with individual address variables.
  1960. */
  1961. Substitutions?: MapOfListOf__string;
  1962. /**
  1963. * The amount of time, in seconds, that the Baidu Cloud Push service should store the message if the recipient's device is offline. The default value and maximum supported time is 604,800 seconds (7 days).
  1964. */
  1965. TimeToLive?: __integer;
  1966. /**
  1967. * The title to display above the notification message on the recipient's device.
  1968. */
  1969. Title?: __string;
  1970. /**
  1971. * The URL to open in the recipient's default mobile browser, if a recipient taps the push notification and the value of the Action property is URL.
  1972. */
  1973. Url?: __string;
  1974. }
  1975. export interface BaseKpiResult {
  1976. /**
  1977. * An array of objects that provides the results of a query that retrieved the data for a standard metric that applies to an application, campaign, or journey.
  1978. */
  1979. Rows: ListOfResultRow;
  1980. }
  1981. export type ButtonAction = "LINK"|"DEEP_LINK"|"CLOSE"|string;
  1982. export interface CampaignCustomMessage {
  1983. /**
  1984. * The raw, JSON-formatted string to use as the payload for the message. The maximum size is 5 KB.
  1985. */
  1986. Data?: __string;
  1987. }
  1988. export interface CampaignDateRangeKpiResponse {
  1989. /**
  1990. * The unique identifier for the application that the metric applies to.
  1991. */
  1992. ApplicationId: __string;
  1993. /**
  1994. * The unique identifier for the campaign that the metric applies to.
  1995. */
  1996. CampaignId: __string;
  1997. /**
  1998. * The last date and time of the date range that was used to filter the query results, in extended ISO 8601 format. The date range is inclusive.
  1999. */
  2000. EndTime: __timestampIso8601;
  2001. /**
  2002. * The name of the metric, also referred to as a key performance indicator (KPI), that the data was retrieved for. This value describes the associated metric and consists of two or more terms, which are comprised of lowercase alphanumeric characters, separated by a hyphen. For a list of possible values, see the Amazon Pinpoint Developer Guide.
  2003. */
  2004. KpiName: __string;
  2005. /**
  2006. * An array of objects that contains the results of the query. Each object contains the value for the metric and metadata about that value.
  2007. */
  2008. KpiResult: BaseKpiResult;
  2009. /**
  2010. * The string to use in a subsequent request to get the next page of results in a paginated response. This value is null for the Campaign Metrics resource because the resource returns all results in a single page.
  2011. */
  2012. NextToken?: __string;
  2013. /**
  2014. * The first date and time of the date range that was used to filter the query results, in extended ISO 8601 format. The date range is inclusive.
  2015. */
  2016. StartTime: __timestampIso8601;
  2017. }
  2018. export interface CampaignEmailMessage {
  2019. /**
  2020. * The body of the email for recipients whose email clients don't render HTML content.
  2021. */
  2022. Body?: __string;
  2023. /**
  2024. * The verified email address to send the email from. The default address is the FromAddress specified for the email channel for the application.
  2025. */
  2026. FromAddress?: __string;
  2027. /**
  2028. * The list of MessageHeaders for the email. You can have up to 15 MessageHeaders for each email.
  2029. */
  2030. Headers?: ListOfMessageHeader;
  2031. /**
  2032. * The body of the email, in HTML format, for recipients whose email clients render HTML content.
  2033. */
  2034. HtmlBody?: __string;
  2035. /**
  2036. * The subject line, or title, of the email.
  2037. */
  2038. Title?: __string;
  2039. }
  2040. export interface CampaignEventFilter {
  2041. /**
  2042. * The dimension settings of the event filter for the campaign.
  2043. */
  2044. Dimensions: EventDimensions;
  2045. /**
  2046. * The type of event that causes the campaign to be sent. Valid values are: SYSTEM, sends the campaign when a system event occurs; and, ENDPOINT, sends the campaign when an endpoint event (Events resource) occurs.
  2047. */
  2048. FilterType: FilterType;
  2049. }
  2050. export interface CampaignHook {
  2051. /**
  2052. * The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Pinpoint invokes to customize a segment for a campaign.
  2053. */
  2054. LambdaFunctionName?: __string;
  2055. /**
  2056. * The mode that Amazon Pinpoint uses to invoke the AWS Lambda function. Possible values are: FILTER - Invoke the function to customize the segment that's used by a campaign. DELIVERY - (Deprecated) Previously, invoked the function to send a campaign through a custom channel. This functionality is not supported anymore. To send a campaign through a custom channel, use the CustomDeliveryConfiguration and CampaignCustomMessage objects of the campaign.
  2057. */
  2058. Mode?: Mode;
  2059. /**
  2060. * The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over HTTPS.
  2061. */
  2062. WebUrl?: __string;
  2063. }
  2064. export interface CampaignInAppMessage {
  2065. /**
  2066. * The message body of the notification, the email body or the text message.
  2067. */
  2068. Body?: __string;
  2069. /**
  2070. * In-app message content.
  2071. */
  2072. Content?: ListOfInAppMessageContent;
  2073. /**
  2074. * Custom config to be sent to client.
  2075. */
  2076. CustomConfig?: MapOf__string;
  2077. /**
  2078. * In-app message layout.
  2079. */
  2080. Layout?: Layout;
  2081. }
  2082. export interface CampaignLimits {
  2083. /**
  2084. * The maximum number of messages that a campaign can send to a single endpoint during a 24-hour period. For an application, this value specifies the default limit for the number of messages that campaigns and journeys can send to a single endpoint during a 24-hour period. The maximum value is 100.
  2085. */
  2086. Daily?: __integer;
  2087. /**
  2088. * The maximum amount of time, in seconds, that a campaign can attempt to deliver a message after the scheduled start time for the campaign. The minimum value is 60 seconds.
  2089. */
  2090. MaximumDuration?: __integer;
  2091. /**
  2092. * The maximum number of messages that a campaign can send each second. For an application, this value specifies the default limit for the number of messages that campaigns can send each second. The minimum value is 1. The maximum value is 20,000.
  2093. */
  2094. MessagesPerSecond?: __integer;
  2095. /**
  2096. * The maximum number of messages that a campaign can send to a single endpoint during the course of the campaign. If a campaign recurs, this setting applies to all runs of the campaign. The maximum value is 100.
  2097. */
  2098. Total?: __integer;
  2099. /**
  2100. * The maximum total number of messages that the campaign can send per user session.
  2101. */
  2102. Session?: __integer;
  2103. }
  2104. export interface CampaignResponse {
  2105. /**
  2106. * An array of responses, one for each treatment that you defined for the campaign, in addition to the default treatment.
  2107. */
  2108. AdditionalTreatments?: ListOfTreatmentResource;
  2109. /**
  2110. * The unique identifier for the application that the campaign applies to.
  2111. */
  2112. ApplicationId: __string;
  2113. /**
  2114. * The Amazon Resource Name (ARN) of the campaign.
  2115. */
  2116. Arn: __string;
  2117. /**
  2118. * The date, in ISO 8601 format, when the campaign was created.
  2119. */
  2120. CreationDate: __string;
  2121. /**
  2122. * The delivery configuration settings for sending the campaign through a custom channel.
  2123. */
  2124. CustomDeliveryConfiguration?: CustomDeliveryConfiguration;
  2125. /**
  2126. * The current status of the campaign's default treatment. This value exists only for campaigns that have more than one treatment.
  2127. */
  2128. DefaultState?: CampaignState;
  2129. /**
  2130. * The custom description of the campaign.
  2131. */
  2132. Description?: __string;
  2133. /**
  2134. * The allocated percentage of users (segment members) who shouldn't receive messages from the campaign.
  2135. */
  2136. HoldoutPercent?: __integer;
  2137. /**
  2138. * The settings for the AWS Lambda function to use as a code hook for the campaign. You can use this hook to customize the segment that's used by the campaign.
  2139. */
  2140. Hook?: CampaignHook;
  2141. /**
  2142. * The unique identifier for the campaign.
  2143. */
  2144. Id: __string;
  2145. /**
  2146. * Specifies whether the campaign is paused. A paused campaign doesn't run unless you resume it by changing this value to false.
  2147. */
  2148. IsPaused?: __boolean;
  2149. /**
  2150. * The date, in ISO 8601 format, when the campaign was last modified.
  2151. */
  2152. LastModifiedDate: __string;
  2153. /**
  2154. * The messaging limits for the campaign.
  2155. */
  2156. Limits?: CampaignLimits;
  2157. /**
  2158. * The message configuration settings for the campaign.
  2159. */
  2160. MessageConfiguration?: MessageConfiguration;
  2161. /**
  2162. * The name of the campaign.
  2163. */
  2164. Name?: __string;
  2165. /**
  2166. * The schedule settings for the campaign.
  2167. */
  2168. Schedule?: Schedule;
  2169. /**
  2170. * The unique identifier for the segment that's associated with the campaign.
  2171. */
  2172. SegmentId: __string;
  2173. /**
  2174. * The version number of the segment that's associated with the campaign.
  2175. */
  2176. SegmentVersion: __integer;
  2177. /**
  2178. * The current status of the campaign.
  2179. */
  2180. State?: CampaignState;
  2181. /**
  2182. * A string-to-string map of key-value pairs that identifies the tags that are associated with the campaign. Each tag consists of a required tag key and an associated tag value.
  2183. */
  2184. tags?: MapOf__string;
  2185. /**
  2186. * The message template that’s used for the campaign.
  2187. */
  2188. TemplateConfiguration?: TemplateConfiguration;
  2189. /**
  2190. * The custom description of the default treatment for the campaign.
  2191. */
  2192. TreatmentDescription?: __string;
  2193. /**
  2194. * The custom name of the default treatment for the campaign, if the campaign has multiple treatments. A treatment is a variation of a campaign that's used for A/B testing.
  2195. */
  2196. TreatmentName?: __string;
  2197. /**
  2198. * The version number of the campaign.
  2199. */
  2200. Version?: __integer;
  2201. /**
  2202. * Defines the priority of the campaign, used to decide the order of messages displayed to user if there are multiple messages scheduled to be displayed at the same moment.
  2203. */
  2204. Priority?: __integer;
  2205. }
  2206. export interface CampaignSmsMessage {
  2207. /**
  2208. * The body of the SMS message.
  2209. */
  2210. Body?: __string;
  2211. /**
  2212. * The SMS message type. Valid values are TRANSACTIONAL (for messages that are critical or time-sensitive, such as a one-time passwords) and PROMOTIONAL (for messsages that aren't critical or time-sensitive, such as marketing messages).
  2213. */
  2214. MessageType?: MessageType;
  2215. /**
  2216. * The long code to send the SMS message from. This value should be one of the dedicated long codes that's assigned to your AWS account. Although it isn't required, we recommend that you specify the long code using an E.164 format to ensure prompt and accurate delivery of the message. For example, +12065550100.
  2217. */
  2218. OriginationNumber?: __string;
  2219. /**
  2220. * The sender ID to display on recipients' devices when they receive the SMS message.
  2221. */
  2222. SenderId?: __string;
  2223. /**
  2224. * The entity ID or Principal Entity (PE) id received from the regulatory body for sending SMS in your country.
  2225. */
  2226. EntityId?: __string;
  2227. /**
  2228. * The template ID received from the regulatory body for sending SMS in your country.
  2229. */
  2230. TemplateId?: __string;
  2231. }
  2232. export interface CampaignState {
  2233. /**
  2234. * The current status of the campaign, or the current status of a treatment that belongs to an A/B test campaign. If a campaign uses A/B testing, the campaign has a status of COMPLETED only if all campaign treatments have a status of COMPLETED. If you delete the segment that's associated with a campaign, the campaign fails and has a status of DELETED.
  2235. */
  2236. CampaignStatus?: CampaignStatus;
  2237. }
  2238. export type CampaignStatus = "SCHEDULED"|"EXECUTING"|"PENDING_NEXT_RUN"|"COMPLETED"|"PAUSED"|"DELETED"|"INVALID"|string;
  2239. export interface CampaignsResponse {
  2240. /**
  2241. * An array of responses, one for each campaign that's associated with the application.
  2242. */
  2243. Item: ListOfCampaignResponse;
  2244. /**
  2245. * The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
  2246. */
  2247. NextToken?: __string;
  2248. }
  2249. export interface ChannelResponse {
  2250. /**
  2251. * The unique identifier for the application.
  2252. */
  2253. ApplicationId?: __string;
  2254. /**
  2255. * The date and time, in ISO 8601 format, when the channel was enabled.
  2256. */
  2257. CreationDate?: __string;
  2258. /**
  2259. * Specifies whether the channel is enabled for the application.
  2260. */
  2261. Enabled?: __boolean;
  2262. /**
  2263. * (Not used) This property is retained only for backward compatibility.
  2264. */
  2265. HasCredential?: __boolean;
  2266. /**
  2267. * (Deprecated) An identifier for the channel. This property is retained only for backward compatibility.
  2268. */
  2269. Id?: __string;
  2270. /**
  2271. * Specifies whether the channel is archived.
  2272. */
  2273. IsArchived?: __boolean;
  2274. /**
  2275. * The user who last modified the channel.
  2276. */
  2277. LastModifiedBy?: __string;
  2278. /**
  2279. * The date and time, in ISO 8601 format, when the channel was last modified.
  2280. */
  2281. LastModifiedDate?: __string;
  2282. /**
  2283. * The current version of the channel.
  2284. */
  2285. Version?: __integer;
  2286. }
  2287. export type ChannelType = "PUSH"|"GCM"|"APNS"|"APNS_SANDBOX"|"APNS_VOIP"|"APNS_VOIP_SANDBOX"|"ADM"|"SMS"|"VOICE"|"EMAIL"|"BAIDU"|"CUSTOM"|"IN_APP"|string;
  2288. export interface ChannelsResponse {
  2289. /**
  2290. * A map that contains a multipart response for each channel. For each item in this object, the ChannelType is the key and the Channel is the value.
  2291. */
  2292. Channels: MapOfChannelResponse;
  2293. }
  2294. export interface Condition {
  2295. /**
  2296. * The conditions to evaluate for the activity.
  2297. */
  2298. Conditions?: ListOfSimpleCondition;
  2299. /**
  2300. * Specifies how to handle multiple conditions for the activity. For example, if you specify two conditions for an activity, whether both or only one of the conditions must be met for the activity to be performed.
  2301. */
  2302. Operator?: Operator;
  2303. }
  2304. export interface ConditionalSplitActivity {
  2305. /**
  2306. * The conditions that define the paths for the activity, and the relationship between the conditions.
  2307. */
  2308. Condition?: Condition;
  2309. /**
  2310. * The amount of time to wait before determining whether the conditions are met, or the date and time when Amazon Pinpoint determines whether the conditions are met.
  2311. */
  2312. EvaluationWaitTime?: WaitTime;
  2313. /**
  2314. * The unique identifier for the activity to perform if the conditions aren't met.
  2315. */
  2316. FalseActivity?: __string;
  2317. /**
  2318. * The unique identifier for the activity to perform if the conditions are met.
  2319. */
  2320. TrueActivity?: __string;
  2321. }
  2322. export interface ContactCenterActivity {
  2323. /**
  2324. * The unique identifier for the next activity to perform after the this activity.
  2325. */
  2326. NextActivity?: __string;
  2327. }
  2328. export interface CreateAppRequest {
  2329. CreateApplicationRequest: CreateApplicationRequest;
  2330. }
  2331. export interface CreateAppResponse {
  2332. ApplicationResponse: ApplicationResponse;
  2333. }
  2334. export interface CreateApplicationRequest {
  2335. /**
  2336. * The display name of the application. This name is displayed as the Project name on the Amazon Pinpoint console.
  2337. */
  2338. Name: __string;
  2339. /**
  2340. * A string-to-string map of key-value pairs that defines the tags to associate with the application. Each tag consists of a required tag key and an associated tag value.
  2341. */
  2342. tags?: MapOf__string;
  2343. }
  2344. export interface CreateCampaignRequest {
  2345. /**
  2346. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  2347. */
  2348. ApplicationId: __string;
  2349. WriteCampaignRequest: WriteCampaignRequest;
  2350. }
  2351. export interface CreateCampaignResponse {
  2352. CampaignResponse: CampaignResponse;
  2353. }
  2354. export interface CreateEmailTemplateRequest {
  2355. EmailTemplateRequest: EmailTemplateRequest;
  2356. /**
  2357. * The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
  2358. */
  2359. TemplateName: __string;
  2360. }
  2361. export interface CreateEmailTemplateResponse {
  2362. CreateTemplateMessageBody: CreateTemplateMessageBody;
  2363. }
  2364. export interface CreateExportJobRequest {
  2365. /**
  2366. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  2367. */
  2368. ApplicationId: __string;
  2369. ExportJobRequest: ExportJobRequest;
  2370. }
  2371. export interface CreateExportJobResponse {
  2372. ExportJobResponse: ExportJobResponse;
  2373. }
  2374. export interface CreateImportJobRequest {
  2375. /**
  2376. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  2377. */
  2378. ApplicationId: __string;
  2379. ImportJobRequest: ImportJobRequest;
  2380. }
  2381. export interface CreateImportJobResponse {
  2382. ImportJobResponse: ImportJobResponse;
  2383. }
  2384. export interface CreateInAppTemplateRequest {
  2385. InAppTemplateRequest: InAppTemplateRequest;
  2386. /**
  2387. * The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
  2388. */
  2389. TemplateName: __string;
  2390. }
  2391. export interface CreateInAppTemplateResponse {
  2392. TemplateCreateMessageBody: TemplateCreateMessageBody;
  2393. }
  2394. export interface CreateJourneyRequest {
  2395. /**
  2396. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  2397. */
  2398. ApplicationId: __string;
  2399. WriteJourneyRequest: WriteJourneyRequest;
  2400. }
  2401. export interface CreateJourneyResponse {
  2402. JourneyResponse: JourneyResponse;
  2403. }
  2404. export interface CreatePushTemplateRequest {
  2405. PushNotificationTemplateRequest: PushNotificationTemplateRequest;
  2406. /**
  2407. * The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
  2408. */
  2409. TemplateName: __string;
  2410. }
  2411. export interface CreatePushTemplateResponse {
  2412. CreateTemplateMessageBody: CreateTemplateMessageBody;
  2413. }
  2414. export interface CreateRecommenderConfiguration {
  2415. /**
  2416. * A map of key-value pairs that defines 1-10 custom endpoint or user attributes, depending on the value for the RecommendationProviderIdType property. Each of these attributes temporarily stores a recommended item that's retrieved from the recommender model and sent to an AWS Lambda function for additional processing. Each attribute can be used as a message variable in a message template. In the map, the key is the name of a custom attribute and the value is a custom display name for that attribute. The display name appears in the Attribute finder of the template editor on the Amazon Pinpoint console. The following restrictions apply to these names: An attribute name must start with a letter or number and it can contain up to 50 characters. The characters can be letters, numbers, underscores (_), or hyphens (-). Attribute names are case sensitive and must be unique. An attribute display name must start with a letter or number and it can contain up to 25 characters. The characters can be letters, numbers, spaces, underscores (_), or hyphens (-). This object is required if the configuration invokes an AWS Lambda function (RecommendationTransformerUri) to process recommendation data. Otherwise, don't include this object in your request.
  2417. */
  2418. Attributes?: MapOf__string;
  2419. /**
  2420. * A custom description of the configuration for the recommender model. The description can contain up to 128 characters. The characters can be letters, numbers, spaces, or the following symbols: _ ; () , ‐.
  2421. */
  2422. Description?: __string;
  2423. /**
  2424. * A custom name of the configuration for the recommender model. The name must start with a letter or number and it can contain up to 128 characters. The characters can be letters, numbers, spaces, underscores (_), or hyphens (-).
  2425. */
  2426. Name?: __string;
  2427. /**
  2428. * The type of Amazon Pinpoint ID to associate with unique user IDs in the recommender model. This value enables the model to use attribute and event data that’s specific to a particular endpoint or user in an Amazon Pinpoint application. Valid values are: PINPOINT_ENDPOINT_ID - Associate each user in the model with a particular endpoint in Amazon Pinpoint. The data is correlated based on endpoint IDs in Amazon Pinpoint. This is the default value. PINPOINT_USER_ID - Associate each user in the model with a particular user and endpoint in Amazon Pinpoint. The data is correlated based on user IDs in Amazon Pinpoint. If you specify this value, an endpoint definition in Amazon Pinpoint has to specify both a user ID (UserId) and an endpoint ID. Otherwise, messages won’t be sent to the user's endpoint.
  2429. */
  2430. RecommendationProviderIdType?: __string;
  2431. /**
  2432. * The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to retrieve recommendation data from the recommender model.
  2433. */
  2434. RecommendationProviderRoleArn: __string;
  2435. /**
  2436. * The Amazon Resource Name (ARN) of the recommender model to retrieve recommendation data from. This value must match the ARN of an Amazon Personalize campaign.
  2437. */
  2438. RecommendationProviderUri: __string;
  2439. /**
  2440. * The name or Amazon Resource Name (ARN) of the AWS Lambda function to invoke for additional processing of recommendation data that's retrieved from the recommender model.
  2441. */
  2442. RecommendationTransformerUri?: __string;
  2443. /**
  2444. * A custom display name for the standard endpoint or user attribute (RecommendationItems) that temporarily stores recommended items for each endpoint or user, depending on the value for the RecommendationProviderIdType property. This value is required if the configuration doesn't invoke an AWS Lambda function (RecommendationTransformerUri) to perform additional processing of recommendation data. This name appears in the Attribute finder of the template editor on the Amazon Pinpoint console. The name can contain up to 25 characters. The characters can be letters, numbers, spaces, underscores (_), or hyphens (-). These restrictions don't apply to attribute values.
  2445. */
  2446. RecommendationsDisplayName?: __string;
  2447. /**
  2448. * The number of recommended items to retrieve from the model for each endpoint or user, depending on the value for the RecommendationProviderIdType property. This number determines how many recommended items are available for use in message variables. The minimum value is 1. The maximum value is 5. The default value is 5. To use multiple recommended items and custom attributes with message variables, you have to use an AWS Lambda function (RecommendationTransformerUri) to perform additional processing of recommendation data.
  2449. */
  2450. RecommendationsPerMessage?: __integer;
  2451. }
  2452. export interface CreateRecommenderConfigurationRequest {
  2453. CreateRecommenderConfiguration: CreateRecommenderConfiguration;
  2454. }
  2455. export interface CreateRecommenderConfigurationResponse {
  2456. RecommenderConfigurationResponse: RecommenderConfigurationResponse;
  2457. }
  2458. export interface CreateSegmentRequest {
  2459. /**
  2460. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  2461. */
  2462. ApplicationId: __string;
  2463. WriteSegmentRequest: WriteSegmentRequest;
  2464. }
  2465. export interface CreateSegmentResponse {
  2466. SegmentResponse: SegmentResponse;
  2467. }
  2468. export interface CreateSmsTemplateRequest {
  2469. SMSTemplateRequest: SMSTemplateRequest;
  2470. /**
  2471. * The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
  2472. */
  2473. TemplateName: __string;
  2474. }
  2475. export interface CreateSmsTemplateResponse {
  2476. CreateTemplateMessageBody: CreateTemplateMessageBody;
  2477. }
  2478. export interface CreateTemplateMessageBody {
  2479. /**
  2480. * The Amazon Resource Name (ARN) of the message template that was created.
  2481. */
  2482. Arn?: __string;
  2483. /**
  2484. * The message that's returned from the API for the request to create the message template.
  2485. */
  2486. Message?: __string;
  2487. /**
  2488. * The unique identifier for the request to create the message template.
  2489. */
  2490. RequestID?: __string;
  2491. }
  2492. export interface CreateVoiceTemplateRequest {
  2493. /**
  2494. * The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
  2495. */
  2496. TemplateName: __string;
  2497. VoiceTemplateRequest: VoiceTemplateRequest;
  2498. }
  2499. export interface CreateVoiceTemplateResponse {
  2500. CreateTemplateMessageBody: CreateTemplateMessageBody;
  2501. }
  2502. export interface CustomDeliveryConfiguration {
  2503. /**
  2504. * The destination to send the campaign or treatment to. This value can be one of the following: The name or Amazon Resource Name (ARN) of an AWS Lambda function to invoke to handle delivery of the campaign or treatment. The URL for a web application or service that supports HTTPS and can receive the message. The URL has to be a full URL, including the HTTPS protocol.
  2505. */
  2506. DeliveryUri: __string;
  2507. /**
  2508. * The types of endpoints to send the campaign or treatment to. Each valid value maps to a type of channel that you can associate with an endpoint by using the ChannelType property of an endpoint.
  2509. */
  2510. EndpointTypes?: ListOf__EndpointTypesElement;
  2511. }
  2512. export interface CustomMessageActivity {
  2513. /**
  2514. * The destination to send the campaign or treatment to. This value can be one of the following: The name or Amazon Resource Name (ARN) of an AWS Lambda function to invoke to handle delivery of the campaign or treatment. The URL for a web application or service that supports HTTPS and can receive the message. The URL has to be a full URL, including the HTTPS protocol.
  2515. */
  2516. DeliveryUri?: __string;
  2517. /**
  2518. * The types of endpoints to send the custom message to. Each valid value maps to a type of channel that you can associate with an endpoint by using the ChannelType property of an endpoint.
  2519. */
  2520. EndpointTypes?: ListOf__EndpointTypesElement;
  2521. /**
  2522. * Specifies the message data included in a custom channel message that's sent to participants in a journey.
  2523. */
  2524. MessageConfig?: JourneyCustomMessage;
  2525. /**
  2526. * The unique identifier for the next activity to perform, after Amazon Pinpoint calls the AWS Lambda function or web hook.
  2527. */
  2528. NextActivity?: __string;
  2529. /**
  2530. * The name of the custom message template to use for the message. If specified, this value must match the name of an existing message template.
  2531. */
  2532. TemplateName?: __string;
  2533. /**
  2534. * The unique identifier for the version of the message template to use for the message. If specified, this value must match the identifier for an existing template version. To retrieve a list of versions and version identifiers for a template, use the Template Versions resource. If you don't specify a value for this property, Amazon Pinpoint uses the active version of the template. The active version is typically the version of a template that's been most recently reviewed and approved for use, depending on your workflow. It isn't necessarily the latest version of a template.
  2535. */
  2536. TemplateVersion?: __string;
  2537. }
  2538. export interface DefaultButtonConfiguration {
  2539. /**
  2540. * The background color of the button.
  2541. */
  2542. BackgroundColor?: __string;
  2543. /**
  2544. * The border radius of the button.
  2545. */
  2546. BorderRadius?: __integer;
  2547. /**
  2548. * Action triggered by the button.
  2549. */
  2550. ButtonAction: ButtonAction;
  2551. /**
  2552. * Button destination.
  2553. */
  2554. Link?: __string;
  2555. /**
  2556. * Button text.
  2557. */
  2558. Text: __string;
  2559. /**
  2560. * The text color of the button.
  2561. */
  2562. TextColor?: __string;
  2563. }
  2564. export interface DefaultMessage {
  2565. /**
  2566. * The default body of the message.
  2567. */
  2568. Body?: __string;
  2569. /**
  2570. * The default message variables to use in the message. You can override these default variables with individual address variables.
  2571. */
  2572. Substitutions?: MapOfListOf__string;
  2573. }
  2574. export interface DefaultPushNotificationMessage {
  2575. /**
  2576. * The default action to occur if a recipient taps the push notification. Valid values are: OPEN_APP - Your app opens or it becomes the foreground app if it was sent to the background. This is the default action. DEEP_LINK - Your app opens and displays a designated user interface in the app. This setting uses the deep-linking features of the iOS and Android platforms. URL - The default mobile browser on the recipient's device opens and loads the web page at a URL that you specify.
  2577. */
  2578. Action?: Action;
  2579. /**
  2580. * The default body of the notification message.
  2581. */
  2582. Body?: __string;
  2583. /**
  2584. * The JSON data payload to use for the default push notification, if the notification is a silent push notification. This payload is added to the data.pinpoint.jsonBody object of the notification.
  2585. */
  2586. Data?: MapOf__string;
  2587. /**
  2588. * Specifies whether the default notification is a silent push notification, which is a push notification that doesn't display on a recipient's device. Silent push notifications can be used for cases such as updating an app's configuration or delivering messages to an in-app notification center.
  2589. */
  2590. SilentPush?: __boolean;
  2591. /**
  2592. * The default message variables to use in the notification message. You can override the default variables with individual address variables.
  2593. */
  2594. Substitutions?: MapOfListOf__string;
  2595. /**
  2596. * The default title to display above the notification message on a recipient's device.
  2597. */
  2598. Title?: __string;
  2599. /**
  2600. * The default URL to open in a recipient's default mobile browser, if a recipient taps the push notification and the value of the Action property is URL.
  2601. */
  2602. Url?: __string;
  2603. }
  2604. export interface DefaultPushNotificationTemplate {
  2605. /**
  2606. * The action to occur if a recipient taps a push notification that's based on the message template. Valid values are: OPEN_APP - Your app opens or it becomes the foreground app if it was sent to the background. This is the default action. DEEP_LINK - Your app opens and displays a designated user interface in the app. This setting uses the deep-linking features of the iOS and Android platforms. URL - The default mobile browser on the recipient's device opens and loads the web page at a URL that you specify.
  2607. */
  2608. Action?: Action;
  2609. /**
  2610. * The message body to use in push notifications that are based on the message template.
  2611. */
  2612. Body?: __string;
  2613. /**
  2614. * The sound to play when a recipient receives a push notification that's based on the message template. You can use the default stream or specify the file name of a sound resource that's bundled in your app. On an Android platform, the sound file must reside in /res/raw/. For an iOS platform, this value is the key for the name of a sound file in your app's main bundle or the Library/Sounds folder in your app's data container. If the sound file can't be found or you specify default for the value, the system plays the default alert sound.
  2615. */
  2616. Sound?: __string;
  2617. /**
  2618. * The title to use in push notifications that are based on the message template. This title appears above the notification message on a recipient's device.
  2619. */
  2620. Title?: __string;
  2621. /**
  2622. * The URL to open in a recipient's default mobile browser, if a recipient taps a push notification that's based on the message template and the value of the Action property is URL.
  2623. */
  2624. Url?: __string;
  2625. }
  2626. export interface DeleteAdmChannelRequest {
  2627. /**
  2628. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  2629. */
  2630. ApplicationId: __string;
  2631. }
  2632. export interface DeleteAdmChannelResponse {
  2633. ADMChannelResponse: ADMChannelResponse;
  2634. }
  2635. export interface DeleteApnsChannelRequest {
  2636. /**
  2637. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  2638. */
  2639. ApplicationId: __string;
  2640. }
  2641. export interface DeleteApnsChannelResponse {
  2642. APNSChannelResponse: APNSChannelResponse;
  2643. }
  2644. export interface DeleteApnsSandboxChannelRequest {
  2645. /**
  2646. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  2647. */
  2648. ApplicationId: __string;
  2649. }
  2650. export interface DeleteApnsSandboxChannelResponse {
  2651. APNSSandboxChannelResponse: APNSSandboxChannelResponse;
  2652. }
  2653. export interface DeleteApnsVoipChannelRequest {
  2654. /**
  2655. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  2656. */
  2657. ApplicationId: __string;
  2658. }
  2659. export interface DeleteApnsVoipChannelResponse {
  2660. APNSVoipChannelResponse: APNSVoipChannelResponse;
  2661. }
  2662. export interface DeleteApnsVoipSandboxChannelRequest {
  2663. /**
  2664. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  2665. */
  2666. ApplicationId: __string;
  2667. }
  2668. export interface DeleteApnsVoipSandboxChannelResponse {
  2669. APNSVoipSandboxChannelResponse: APNSVoipSandboxChannelResponse;
  2670. }
  2671. export interface DeleteAppRequest {
  2672. /**
  2673. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  2674. */
  2675. ApplicationId: __string;
  2676. }
  2677. export interface DeleteAppResponse {
  2678. ApplicationResponse: ApplicationResponse;
  2679. }
  2680. export interface DeleteBaiduChannelRequest {
  2681. /**
  2682. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  2683. */
  2684. ApplicationId: __string;
  2685. }
  2686. export interface DeleteBaiduChannelResponse {
  2687. BaiduChannelResponse: BaiduChannelResponse;
  2688. }
  2689. export interface DeleteCampaignRequest {
  2690. /**
  2691. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  2692. */
  2693. ApplicationId: __string;
  2694. /**
  2695. * The unique identifier for the campaign.
  2696. */
  2697. CampaignId: __string;
  2698. }
  2699. export interface DeleteCampaignResponse {
  2700. CampaignResponse: CampaignResponse;
  2701. }
  2702. export interface DeleteEmailChannelRequest {
  2703. /**
  2704. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  2705. */
  2706. ApplicationId: __string;
  2707. }
  2708. export interface DeleteEmailChannelResponse {
  2709. EmailChannelResponse: EmailChannelResponse;
  2710. }
  2711. export interface DeleteEmailTemplateRequest {
  2712. /**
  2713. * The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
  2714. */
  2715. TemplateName: __string;
  2716. /**
  2717. * The unique identifier for the version of the message template to update, retrieve information about, or delete. To retrieve identifiers and other information for all the versions of a template, use the Template Versions resource. If specified, this value must match the identifier for an existing template version. If specified for an update operation, this value must match the identifier for the latest existing version of the template. This restriction helps ensure that race conditions don't occur. If you don't specify a value for this parameter, Amazon Pinpoint does the following: For a get operation, retrieves information about the active version of the template. For an update operation, saves the updates to (overwrites) the latest existing version of the template, if the create-new-version parameter isn't used or is set to false. For a delete operation, deletes the template, including all versions of the template.
  2718. */
  2719. Version?: __string;
  2720. }
  2721. export interface DeleteEmailTemplateResponse {
  2722. MessageBody: MessageBody;
  2723. }
  2724. export interface DeleteEndpointRequest {
  2725. /**
  2726. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  2727. */
  2728. ApplicationId: __string;
  2729. /**
  2730. * The case insensitive unique identifier for the endpoint. The identifier can't contain $, { or }.
  2731. */
  2732. EndpointId: __string;
  2733. }
  2734. export interface DeleteEndpointResponse {
  2735. EndpointResponse: EndpointResponse;
  2736. }
  2737. export interface DeleteEventStreamRequest {
  2738. /**
  2739. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  2740. */
  2741. ApplicationId: __string;
  2742. }
  2743. export interface DeleteEventStreamResponse {
  2744. EventStream: EventStream;
  2745. }
  2746. export interface DeleteGcmChannelRequest {
  2747. /**
  2748. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  2749. */
  2750. ApplicationId: __string;
  2751. }
  2752. export interface DeleteGcmChannelResponse {
  2753. GCMChannelResponse: GCMChannelResponse;
  2754. }
  2755. export interface DeleteInAppTemplateRequest {
  2756. /**
  2757. * The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
  2758. */
  2759. TemplateName: __string;
  2760. /**
  2761. * The unique identifier for the version of the message template to update, retrieve information about, or delete. To retrieve identifiers and other information for all the versions of a template, use the Template Versions resource. If specified, this value must match the identifier for an existing template version. If specified for an update operation, this value must match the identifier for the latest existing version of the template. This restriction helps ensure that race conditions don't occur. If you don't specify a value for this parameter, Amazon Pinpoint does the following: For a get operation, retrieves information about the active version of the template. For an update operation, saves the updates to (overwrites) the latest existing version of the template, if the create-new-version parameter isn't used or is set to false. For a delete operation, deletes the template, including all versions of the template.
  2762. */
  2763. Version?: __string;
  2764. }
  2765. export interface DeleteInAppTemplateResponse {
  2766. MessageBody: MessageBody;
  2767. }
  2768. export interface DeleteJourneyRequest {
  2769. /**
  2770. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  2771. */
  2772. ApplicationId: __string;
  2773. /**
  2774. * The unique identifier for the journey.
  2775. */
  2776. JourneyId: __string;
  2777. }
  2778. export interface DeleteJourneyResponse {
  2779. JourneyResponse: JourneyResponse;
  2780. }
  2781. export interface DeletePushTemplateRequest {
  2782. /**
  2783. * The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
  2784. */
  2785. TemplateName: __string;
  2786. /**
  2787. * The unique identifier for the version of the message template to update, retrieve information about, or delete. To retrieve identifiers and other information for all the versions of a template, use the Template Versions resource. If specified, this value must match the identifier for an existing template version. If specified for an update operation, this value must match the identifier for the latest existing version of the template. This restriction helps ensure that race conditions don't occur. If you don't specify a value for this parameter, Amazon Pinpoint does the following: For a get operation, retrieves information about the active version of the template. For an update operation, saves the updates to (overwrites) the latest existing version of the template, if the create-new-version parameter isn't used or is set to false. For a delete operation, deletes the template, including all versions of the template.
  2788. */
  2789. Version?: __string;
  2790. }
  2791. export interface DeletePushTemplateResponse {
  2792. MessageBody: MessageBody;
  2793. }
  2794. export interface DeleteRecommenderConfigurationRequest {
  2795. /**
  2796. * The unique identifier for the recommender model configuration. This identifier is displayed as the Recommender ID on the Amazon Pinpoint console.
  2797. */
  2798. RecommenderId: __string;
  2799. }
  2800. export interface DeleteRecommenderConfigurationResponse {
  2801. RecommenderConfigurationResponse: RecommenderConfigurationResponse;
  2802. }
  2803. export interface DeleteSegmentRequest {
  2804. /**
  2805. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  2806. */
  2807. ApplicationId: __string;
  2808. /**
  2809. * The unique identifier for the segment.
  2810. */
  2811. SegmentId: __string;
  2812. }
  2813. export interface DeleteSegmentResponse {
  2814. SegmentResponse: SegmentResponse;
  2815. }
  2816. export interface DeleteSmsChannelRequest {
  2817. /**
  2818. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  2819. */
  2820. ApplicationId: __string;
  2821. }
  2822. export interface DeleteSmsChannelResponse {
  2823. SMSChannelResponse: SMSChannelResponse;
  2824. }
  2825. export interface DeleteSmsTemplateRequest {
  2826. /**
  2827. * The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
  2828. */
  2829. TemplateName: __string;
  2830. /**
  2831. * The unique identifier for the version of the message template to update, retrieve information about, or delete. To retrieve identifiers and other information for all the versions of a template, use the Template Versions resource. If specified, this value must match the identifier for an existing template version. If specified for an update operation, this value must match the identifier for the latest existing version of the template. This restriction helps ensure that race conditions don't occur. If you don't specify a value for this parameter, Amazon Pinpoint does the following: For a get operation, retrieves information about the active version of the template. For an update operation, saves the updates to (overwrites) the latest existing version of the template, if the create-new-version parameter isn't used or is set to false. For a delete operation, deletes the template, including all versions of the template.
  2832. */
  2833. Version?: __string;
  2834. }
  2835. export interface DeleteSmsTemplateResponse {
  2836. MessageBody: MessageBody;
  2837. }
  2838. export interface DeleteUserEndpointsRequest {
  2839. /**
  2840. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  2841. */
  2842. ApplicationId: __string;
  2843. /**
  2844. * The unique identifier for the user.
  2845. */
  2846. UserId: __string;
  2847. }
  2848. export interface DeleteUserEndpointsResponse {
  2849. EndpointsResponse: EndpointsResponse;
  2850. }
  2851. export interface DeleteVoiceChannelRequest {
  2852. /**
  2853. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  2854. */
  2855. ApplicationId: __string;
  2856. }
  2857. export interface DeleteVoiceChannelResponse {
  2858. VoiceChannelResponse: VoiceChannelResponse;
  2859. }
  2860. export interface DeleteVoiceTemplateRequest {
  2861. /**
  2862. * The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
  2863. */
  2864. TemplateName: __string;
  2865. /**
  2866. * The unique identifier for the version of the message template to update, retrieve information about, or delete. To retrieve identifiers and other information for all the versions of a template, use the Template Versions resource. If specified, this value must match the identifier for an existing template version. If specified for an update operation, this value must match the identifier for the latest existing version of the template. This restriction helps ensure that race conditions don't occur. If you don't specify a value for this parameter, Amazon Pinpoint does the following: For a get operation, retrieves information about the active version of the template. For an update operation, saves the updates to (overwrites) the latest existing version of the template, if the create-new-version parameter isn't used or is set to false. For a delete operation, deletes the template, including all versions of the template.
  2867. */
  2868. Version?: __string;
  2869. }
  2870. export interface DeleteVoiceTemplateResponse {
  2871. MessageBody: MessageBody;
  2872. }
  2873. export type DeliveryStatus = "SUCCESSFUL"|"THROTTLED"|"TEMPORARY_FAILURE"|"PERMANENT_FAILURE"|"UNKNOWN_FAILURE"|"OPT_OUT"|"DUPLICATE"|string;
  2874. export type DimensionType = "INCLUSIVE"|"EXCLUSIVE"|string;
  2875. export interface DirectMessageConfiguration {
  2876. /**
  2877. * The default push notification message for the ADM (Amazon Device Messaging) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
  2878. */
  2879. ADMMessage?: ADMMessage;
  2880. /**
  2881. * The default push notification message for the APNs (Apple Push Notification service) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
  2882. */
  2883. APNSMessage?: APNSMessage;
  2884. /**
  2885. * The default push notification message for the Baidu (Baidu Cloud Push) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
  2886. */
  2887. BaiduMessage?: BaiduMessage;
  2888. /**
  2889. * The default message for all channels.
  2890. */
  2891. DefaultMessage?: DefaultMessage;
  2892. /**
  2893. * The default push notification message for all push notification channels.
  2894. */
  2895. DefaultPushNotificationMessage?: DefaultPushNotificationMessage;
  2896. /**
  2897. * The default message for the email channel. This message overrides the default message (DefaultMessage).
  2898. */
  2899. EmailMessage?: EmailMessage;
  2900. /**
  2901. * The default push notification message for the GCM channel, which is used to send notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. This message overrides the default push notification message (DefaultPushNotificationMessage).
  2902. */
  2903. GCMMessage?: GCMMessage;
  2904. /**
  2905. * The default message for the SMS channel. This message overrides the default message (DefaultMessage).
  2906. */
  2907. SMSMessage?: SMSMessage;
  2908. /**
  2909. * The default message for the voice channel. This message overrides the default message (DefaultMessage).
  2910. */
  2911. VoiceMessage?: VoiceMessage;
  2912. }
  2913. export type Duration = "HR_24"|"DAY_7"|"DAY_14"|"DAY_30"|string;
  2914. export interface EmailChannelRequest {
  2915. /**
  2916. * The Amazon SES configuration set that you want to apply to messages that you send through the channel.
  2917. */
  2918. ConfigurationSet?: __string;
  2919. /**
  2920. * Specifies whether to enable the email channel for the application.
  2921. */
  2922. Enabled?: __boolean;
  2923. /**
  2924. * The verified email address that you want to send email from when you send email through the channel.
  2925. */
  2926. FromAddress: __string;
  2927. /**
  2928. * The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple Email Service (Amazon SES), that you want to use when you send email through the channel.
  2929. */
  2930. Identity: __string;
  2931. /**
  2932. * The ARN of the AWS Identity and Access Management (IAM) role that you want Amazon Pinpoint to use when it submits email-related event data for the channel.
  2933. */
  2934. RoleArn?: __string;
  2935. /**
  2936. * The ARN of an IAM role for Amazon Pinpoint to use to send email from your campaigns or journeys through Amazon SES.
  2937. */
  2938. OrchestrationSendingRoleArn?: __string;
  2939. }
  2940. export interface EmailChannelResponse {
  2941. /**
  2942. * The unique identifier for the application that the email channel applies to.
  2943. */
  2944. ApplicationId?: __string;
  2945. /**
  2946. * The Amazon SES configuration set that's applied to messages that are sent through the channel.
  2947. */
  2948. ConfigurationSet?: __string;
  2949. /**
  2950. * The date and time, in ISO 8601 format, when the email channel was enabled.
  2951. */
  2952. CreationDate?: __string;
  2953. /**
  2954. * Specifies whether the email channel is enabled for the application.
  2955. */
  2956. Enabled?: __boolean;
  2957. /**
  2958. * The verified email address that email is sent from when you send email through the channel.
  2959. */
  2960. FromAddress?: __string;
  2961. /**
  2962. * (Not used) This property is retained only for backward compatibility.
  2963. */
  2964. HasCredential?: __boolean;
  2965. /**
  2966. * (Deprecated) An identifier for the email channel. This property is retained only for backward compatibility.
  2967. */
  2968. Id?: __string;
  2969. /**
  2970. * The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple Email Service (Amazon SES), that's used when you send email through the channel.
  2971. */
  2972. Identity?: __string;
  2973. /**
  2974. * Specifies whether the email channel is archived.
  2975. */
  2976. IsArchived?: __boolean;
  2977. /**
  2978. * The user who last modified the email channel.
  2979. */
  2980. LastModifiedBy?: __string;
  2981. /**
  2982. * The date and time, in ISO 8601 format, when the email channel was last modified.
  2983. */
  2984. LastModifiedDate?: __string;
  2985. /**
  2986. * The maximum number of emails that can be sent through the channel each second.
  2987. */
  2988. MessagesPerSecond?: __integer;
  2989. /**
  2990. * The type of messaging or notification platform for the channel. For the email channel, this value is EMAIL.
  2991. */
  2992. Platform: __string;
  2993. /**
  2994. * The ARN of the AWS Identity and Access Management (IAM) role that Amazon Pinpoint uses to submit email-related event data for the channel.
  2995. */
  2996. RoleArn?: __string;
  2997. /**
  2998. * The ARN of an IAM role for Amazon Pinpoint to use to send email from your campaigns or journeys through Amazon SES.
  2999. */
  3000. OrchestrationSendingRoleArn?: __string;
  3001. /**
  3002. * The current version of the email channel.
  3003. */
  3004. Version?: __integer;
  3005. }
  3006. export interface EmailMessage {
  3007. /**
  3008. * The body of the email message.
  3009. */
  3010. Body?: __string;
  3011. /**
  3012. * The email address to forward bounces and complaints to, if feedback forwarding is enabled.
  3013. */
  3014. FeedbackForwardingAddress?: __string;
  3015. /**
  3016. * The verified email address to send the email message from. The default value is the FromAddress specified for the email channel.
  3017. */
  3018. FromAddress?: __string;
  3019. /**
  3020. * The email message, represented as a raw MIME message.
  3021. */
  3022. RawEmail?: RawEmail;
  3023. /**
  3024. * The reply-to email address(es) for the email message. If a recipient replies to the email, each reply-to address receives the reply.
  3025. */
  3026. ReplyToAddresses?: ListOf__string;
  3027. /**
  3028. * The email message, composed of a subject, a text part, and an HTML part.
  3029. */
  3030. SimpleEmail?: SimpleEmail;
  3031. /**
  3032. * The default message variables to use in the email message. You can override the default variables with individual address variables.
  3033. */
  3034. Substitutions?: MapOfListOf__string;
  3035. }
  3036. export interface EmailMessageActivity {
  3037. /**
  3038. * Specifies the sender address for an email message that's sent to participants in the journey.
  3039. */
  3040. MessageConfig?: JourneyEmailMessage;
  3041. /**
  3042. * The unique identifier for the next activity to perform, after the message is sent.
  3043. */
  3044. NextActivity?: __string;
  3045. /**
  3046. * The name of the email message template to use for the message. If specified, this value must match the name of an existing message template.
  3047. */
  3048. TemplateName?: __string;
  3049. /**
  3050. * The unique identifier for the version of the email template to use for the message. If specified, this value must match the identifier for an existing template version. To retrieve a list of versions and version identifiers for a template, use the Template Versions resource. If you don't specify a value for this property, Amazon Pinpoint uses the active version of the template. The active version is typically the version of a template that's been most recently reviewed and approved for use, depending on your workflow. It isn't necessarily the latest version of a template.
  3051. */
  3052. TemplateVersion?: __string;
  3053. }
  3054. export interface EmailTemplateRequest {
  3055. /**
  3056. * A JSON object that specifies the default values to use for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable. When you create a message that's based on the template, you can override these defaults with message-specific and address-specific variables and values.
  3057. */
  3058. DefaultSubstitutions?: __string;
  3059. /**
  3060. * The message body, in HTML format, to use in email messages that are based on the message template. We recommend using HTML format for email clients that render HTML content. You can include links, formatted text, and more in an HTML message.
  3061. */
  3062. HtmlPart?: __string;
  3063. /**
  3064. * The unique identifier for the recommender model to use for the message template. Amazon Pinpoint uses this value to determine how to retrieve and process data from a recommender model when it sends messages that use the template, if the template contains message variables for recommendation data.
  3065. */
  3066. RecommenderId?: __string;
  3067. /**
  3068. * The subject line, or title, to use in email messages that are based on the message template.
  3069. */
  3070. Subject?: __string;
  3071. /**
  3072. * The list of MessageHeaders for the email. You can have up to 15 Headers.
  3073. */
  3074. Headers?: ListOfMessageHeader;
  3075. /**
  3076. * As of 22-05-2023 tags has been deprecated for update operations. After this date any value in tags is not processed and an error code is not returned. To manage tags we recommend using either Tags in the API Reference for Amazon Pinpoint, resourcegroupstaggingapi commands in the AWS Command Line Interface Documentation or resourcegroupstaggingapi in the AWS SDK. (Deprecated) A string-to-string map of key-value pairs that defines the tags to associate with the message template. Each tag consists of a required tag key and an associated tag value.
  3077. */
  3078. tags?: MapOf__string;
  3079. /**
  3080. * A custom description of the message template.
  3081. */
  3082. TemplateDescription?: __string;
  3083. /**
  3084. * The message body, in plain text format, to use in email messages that are based on the message template. We recommend using plain text format for email clients that don't render HTML content and clients that are connected to high-latency networks, such as mobile devices.
  3085. */
  3086. TextPart?: __string;
  3087. }
  3088. export interface EmailTemplateResponse {
  3089. /**
  3090. * The Amazon Resource Name (ARN) of the message template.
  3091. */
  3092. Arn?: __string;
  3093. /**
  3094. * The date, in ISO 8601 format, when the message template was created.
  3095. */
  3096. CreationDate: __string;
  3097. /**
  3098. * The JSON object that specifies the default values that are used for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable.
  3099. */
  3100. DefaultSubstitutions?: __string;
  3101. /**
  3102. * The message body, in HTML format, that's used in email messages that are based on the message template.
  3103. */
  3104. HtmlPart?: __string;
  3105. /**
  3106. * The date, in ISO 8601 format, when the message template was last modified.
  3107. */
  3108. LastModifiedDate: __string;
  3109. /**
  3110. * The unique identifier for the recommender model that's used by the message template.
  3111. */
  3112. RecommenderId?: __string;
  3113. /**
  3114. * The subject line, or title, that's used in email messages that are based on the message template.
  3115. */
  3116. Subject?: __string;
  3117. /**
  3118. * The list of MessageHeaders for the email. You can have up to 15 Headers.
  3119. */
  3120. Headers?: ListOfMessageHeader;
  3121. /**
  3122. * A string-to-string map of key-value pairs that identifies the tags that are associated with the message template. Each tag consists of a required tag key and an associated tag value.
  3123. */
  3124. tags?: MapOf__string;
  3125. /**
  3126. * The custom description of the message template.
  3127. */
  3128. TemplateDescription?: __string;
  3129. /**
  3130. * The name of the message template.
  3131. */
  3132. TemplateName: __string;
  3133. /**
  3134. * The type of channel that the message template is designed for. For an email template, this value is EMAIL.
  3135. */
  3136. TemplateType: TemplateType;
  3137. /**
  3138. * The message body, in plain text format, that's used in email messages that are based on the message template.
  3139. */
  3140. TextPart?: __string;
  3141. /**
  3142. * The unique identifier, as an integer, for the active version of the message template, or the version of the template that you specified by using the version parameter in your request.
  3143. */
  3144. Version?: __string;
  3145. }
  3146. export interface EndpointBatchItem {
  3147. /**
  3148. * The destination address for messages or push notifications that you send to the endpoint. The address varies by channel. For a push-notification channel, use the token provided by the push notification service, such as an Apple Push Notification service (APNs) device token or a Firebase Cloud Messaging (FCM) registration token. For the SMS channel, use a phone number in E.164 format, such as +12065550100. For the email channel, use an email address.
  3149. */
  3150. Address?: __string;
  3151. /**
  3152. * One or more custom attributes that describe the endpoint by associating a name with an array of values. For example, the value of a custom attribute named Interests might be: ["Science", "Music", "Travel"]. You can use these attributes as filter criteria when you create segments. Attribute names are case sensitive. An attribute name can contain up to 50 characters. An attribute value can contain up to 100 characters. When you define the name of a custom attribute, avoid using the following characters: number sign (#), colon (:), question mark (?), backslash (\), and slash (/). The Amazon Pinpoint console can't display attribute names that contain these characters. This restriction doesn't apply to attribute values.
  3153. */
  3154. Attributes?: MapOfListOf__string;
  3155. /**
  3156. * The channel to use when sending messages or push notifications to the endpoint.
  3157. */
  3158. ChannelType?: ChannelType;
  3159. /**
  3160. * The demographic information for the endpoint, such as the time zone and platform.
  3161. */
  3162. Demographic?: EndpointDemographic;
  3163. /**
  3164. * The date and time, in ISO 8601 format, when the endpoint was created or updated.
  3165. */
  3166. EffectiveDate?: __string;
  3167. /**
  3168. * Specifies whether to send messages or push notifications to the endpoint. Valid values are: ACTIVE, messages are sent to the endpoint; and, INACTIVE, messages aren’t sent to the endpoint. Amazon Pinpoint automatically sets this value to ACTIVE when you create an endpoint or update an existing endpoint. Amazon Pinpoint automatically sets this value to INACTIVE if you update another endpoint that has the same address specified by the Address property.
  3169. */
  3170. EndpointStatus?: __string;
  3171. /**
  3172. * The unique identifier for the endpoint in the context of the batch.
  3173. */
  3174. Id?: __string;
  3175. /**
  3176. * The geographic information for the endpoint.
  3177. */
  3178. Location?: EndpointLocation;
  3179. /**
  3180. * One or more custom metrics that your app reports to Amazon Pinpoint for the endpoint.
  3181. */
  3182. Metrics?: MapOf__double;
  3183. /**
  3184. * Specifies whether the user who's associated with the endpoint has opted out of receiving messages and push notifications from you. Possible values are: ALL, the user has opted out and doesn't want to receive any messages or push notifications; and, NONE, the user hasn't opted out and wants to receive all messages and push notifications.
  3185. */
  3186. OptOut?: __string;
  3187. /**
  3188. * The unique identifier for the request to create or update the endpoint.
  3189. */
  3190. RequestId?: __string;
  3191. /**
  3192. * One or more custom attributes that describe the user who's associated with the endpoint.
  3193. */
  3194. User?: EndpointUser;
  3195. }
  3196. export interface EndpointBatchRequest {
  3197. /**
  3198. * An array that defines the endpoints to create or update and, for each endpoint, the property values to set or change. An array can contain a maximum of 100 items.
  3199. */
  3200. Item: ListOfEndpointBatchItem;
  3201. }
  3202. export interface EndpointDemographic {
  3203. /**
  3204. * The version of the app that's associated with the endpoint.
  3205. */
  3206. AppVersion?: __string;
  3207. /**
  3208. * The locale of the endpoint, in the following format: the ISO 639-1 alpha-2 code, followed by an underscore (_), followed by an ISO 3166-1 alpha-2 value.
  3209. */
  3210. Locale?: __string;
  3211. /**
  3212. * The manufacturer of the endpoint device, such as apple or samsung.
  3213. */
  3214. Make?: __string;
  3215. /**
  3216. * The model name or number of the endpoint device, such as iPhone or SM-G900F.
  3217. */
  3218. Model?: __string;
  3219. /**
  3220. * The model version of the endpoint device.
  3221. */
  3222. ModelVersion?: __string;
  3223. /**
  3224. * The platform of the endpoint device, such as ios.
  3225. */
  3226. Platform?: __string;
  3227. /**
  3228. * The platform version of the endpoint device.
  3229. */
  3230. PlatformVersion?: __string;
  3231. /**
  3232. * The time zone of the endpoint, specified as a tz database name value, such as America/Los_Angeles.
  3233. */
  3234. Timezone?: __string;
  3235. }
  3236. export interface EndpointItemResponse {
  3237. /**
  3238. * The custom message that's returned in the response as a result of processing the endpoint data.
  3239. */
  3240. Message?: __string;
  3241. /**
  3242. * The status code that's returned in the response as a result of processing the endpoint data.
  3243. */
  3244. StatusCode?: __integer;
  3245. }
  3246. export interface EndpointLocation {
  3247. /**
  3248. * The name of the city where the endpoint is located.
  3249. */
  3250. City?: __string;
  3251. /**
  3252. * The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the endpoint is located. For example, US for the United States.
  3253. */
  3254. Country?: __string;
  3255. /**
  3256. * The latitude coordinate of the endpoint location, rounded to one decimal place.
  3257. */
  3258. Latitude?: __double;
  3259. /**
  3260. * The longitude coordinate of the endpoint location, rounded to one decimal place.
  3261. */
  3262. Longitude?: __double;
  3263. /**
  3264. * The postal or ZIP code for the area where the endpoint is located.
  3265. */
  3266. PostalCode?: __string;
  3267. /**
  3268. * The name of the region where the endpoint is located. For locations in the United States, this value is the name of a state.
  3269. */
  3270. Region?: __string;
  3271. }
  3272. export interface EndpointMessageResult {
  3273. /**
  3274. * The endpoint address that the message was delivered to.
  3275. */
  3276. Address?: __string;
  3277. /**
  3278. * The delivery status of the message. Possible values are: DUPLICATE - The endpoint address is a duplicate of another endpoint address. Amazon Pinpoint won't attempt to send the message again. OPT_OUT - The user who's associated with the endpoint has opted out of receiving messages from you. Amazon Pinpoint won't attempt to send the message again. PERMANENT_FAILURE - An error occurred when delivering the message to the endpoint. Amazon Pinpoint won't attempt to send the message again. SUCCESSFUL - The message was successfully delivered to the endpoint. TEMPORARY_FAILURE - A temporary error occurred. Amazon Pinpoint won't attempt to send the message again. THROTTLED - Amazon Pinpoint throttled the operation to send the message to the endpoint. UNKNOWN_FAILURE - An unknown error occurred.
  3279. */
  3280. DeliveryStatus: DeliveryStatus;
  3281. /**
  3282. * The unique identifier for the message that was sent.
  3283. */
  3284. MessageId?: __string;
  3285. /**
  3286. * The downstream service status code for delivering the message.
  3287. */
  3288. StatusCode: __integer;
  3289. /**
  3290. * The status message for delivering the message.
  3291. */
  3292. StatusMessage?: __string;
  3293. /**
  3294. * For push notifications that are sent through the GCM channel, specifies whether the endpoint's device registration token was updated as part of delivering the message.
  3295. */
  3296. UpdatedToken?: __string;
  3297. }
  3298. export interface EndpointRequest {
  3299. /**
  3300. * The destination address for messages or push notifications that you send to the endpoint. The address varies by channel. For a push-notification channel, use the token provided by the push notification service, such as an Apple Push Notification service (APNs) device token or a Firebase Cloud Messaging (FCM) registration token. For the SMS channel, use a phone number in E.164 format, such as +12065550100. For the email channel, use an email address.
  3301. */
  3302. Address?: __string;
  3303. /**
  3304. * One or more custom attributes that describe the endpoint by associating a name with an array of values. For example, the value of a custom attribute named Interests might be: ["Science", "Music", "Travel"]. You can use these attributes as filter criteria when you create segments. Attribute names are case sensitive. An attribute name can contain up to 50 characters. An attribute value can contain up to 100 characters. When you define the name of a custom attribute, avoid using the following characters: number sign (#), colon (:), question mark (?), backslash (\), and slash (/). The Amazon Pinpoint console can't display attribute names that contain these characters. This restriction doesn't apply to attribute values.
  3305. */
  3306. Attributes?: MapOfListOf__string;
  3307. /**
  3308. * The channel to use when sending messages or push notifications to the endpoint.
  3309. */
  3310. ChannelType?: ChannelType;
  3311. /**
  3312. * The demographic information for the endpoint, such as the time zone and platform.
  3313. */
  3314. Demographic?: EndpointDemographic;
  3315. /**
  3316. * The date and time, in ISO 8601 format, when the endpoint is updated.
  3317. */
  3318. EffectiveDate?: __string;
  3319. /**
  3320. * Specifies whether to send messages or push notifications to the endpoint. Valid values are: ACTIVE, messages are sent to the endpoint; and, INACTIVE, messages aren’t sent to the endpoint. Amazon Pinpoint automatically sets this value to ACTIVE when you create an endpoint or update an existing endpoint. Amazon Pinpoint automatically sets this value to INACTIVE if you update another endpoint that has the same address specified by the Address property.
  3321. */
  3322. EndpointStatus?: __string;
  3323. /**
  3324. * The geographic information for the endpoint.
  3325. */
  3326. Location?: EndpointLocation;
  3327. /**
  3328. * One or more custom metrics that your app reports to Amazon Pinpoint for the endpoint.
  3329. */
  3330. Metrics?: MapOf__double;
  3331. /**
  3332. * Specifies whether the user who's associated with the endpoint has opted out of receiving messages and push notifications from you. Possible values are: ALL, the user has opted out and doesn't want to receive any messages or push notifications; and, NONE, the user hasn't opted out and wants to receive all messages and push notifications.
  3333. */
  3334. OptOut?: __string;
  3335. /**
  3336. * The unique identifier for the most recent request to update the endpoint.
  3337. */
  3338. RequestId?: __string;
  3339. /**
  3340. * One or more custom attributes that describe the user who's associated with the endpoint.
  3341. */
  3342. User?: EndpointUser;
  3343. }
  3344. export interface EndpointResponse {
  3345. /**
  3346. * The destination address for messages or push notifications that you send to the endpoint. The address varies by channel. For example, the address for a push-notification channel is typically the token provided by a push notification service, such as an Apple Push Notification service (APNs) device token or a Firebase Cloud Messaging (FCM) registration token. The address for the SMS channel is a phone number in E.164 format, such as +12065550100. The address for the email channel is an email address.
  3347. */
  3348. Address?: __string;
  3349. /**
  3350. * The unique identifier for the application that's associated with the endpoint.
  3351. */
  3352. ApplicationId?: __string;
  3353. /**
  3354. * One or more custom attributes that describe the endpoint by associating a name with an array of values. For example, the value of a custom attribute named Interests might be: ["Science", "Music", "Travel"]. You can use these attributes as filter criteria when you create segments.
  3355. */
  3356. Attributes?: MapOfListOf__string;
  3357. /**
  3358. * The channel that's used when sending messages or push notifications to the endpoint.
  3359. */
  3360. ChannelType?: ChannelType;
  3361. /**
  3362. * A number from 0-99 that represents the cohort that the endpoint is assigned to. Endpoints are grouped into cohorts randomly, and each cohort contains approximately 1 percent of the endpoints for an application. Amazon Pinpoint assigns cohorts to the holdout or treatment allocations for campaigns.
  3363. */
  3364. CohortId?: __string;
  3365. /**
  3366. * The date and time, in ISO 8601 format, when the endpoint was created.
  3367. */
  3368. CreationDate?: __string;
  3369. /**
  3370. * The demographic information for the endpoint, such as the time zone and platform.
  3371. */
  3372. Demographic?: EndpointDemographic;
  3373. /**
  3374. * The date and time, in ISO 8601 format, when the endpoint was last updated.
  3375. */
  3376. EffectiveDate?: __string;
  3377. /**
  3378. * Specifies whether messages or push notifications are sent to the endpoint. Possible values are: ACTIVE, messages are sent to the endpoint; and, INACTIVE, messages aren’t sent to the endpoint. Amazon Pinpoint automatically sets this value to ACTIVE when you create an endpoint or update an existing endpoint. Amazon Pinpoint automatically sets this value to INACTIVE if you update another endpoint that has the same address specified by the Address property.
  3379. */
  3380. EndpointStatus?: __string;
  3381. /**
  3382. * The unique identifier that you assigned to the endpoint. The identifier should be a globally unique identifier (GUID) to ensure that it doesn't conflict with other endpoint identifiers that are associated with the application.
  3383. */
  3384. Id?: __string;
  3385. /**
  3386. * The geographic information for the endpoint.
  3387. */
  3388. Location?: EndpointLocation;
  3389. /**
  3390. * One or more custom metrics that your app reports to Amazon Pinpoint for the endpoint.
  3391. */
  3392. Metrics?: MapOf__double;
  3393. /**
  3394. * Specifies whether the user who's associated with the endpoint has opted out of receiving messages and push notifications from you. Possible values are: ALL, the user has opted out and doesn't want to receive any messages or push notifications; and, NONE, the user hasn't opted out and wants to receive all messages and push notifications.
  3395. */
  3396. OptOut?: __string;
  3397. /**
  3398. * The unique identifier for the most recent request to update the endpoint.
  3399. */
  3400. RequestId?: __string;
  3401. /**
  3402. * One or more custom user attributes that your app reports to Amazon Pinpoint for the user who's associated with the endpoint.
  3403. */
  3404. User?: EndpointUser;
  3405. }
  3406. export interface EndpointSendConfiguration {
  3407. /**
  3408. * The body of the message. If specified, this value overrides the default message body.
  3409. */
  3410. BodyOverride?: __string;
  3411. /**
  3412. * A map of custom attributes to attach to the message for the address. Attribute names are case sensitive. For a push notification, this payload is added to the data.pinpoint object. For an email or text message, this payload is added to email/SMS delivery receipt event attributes.
  3413. */
  3414. Context?: MapOf__string;
  3415. /**
  3416. * The raw, JSON-formatted string to use as the payload for the message. If specified, this value overrides all other values for the message.
  3417. */
  3418. RawContent?: __string;
  3419. /**
  3420. * A map of the message variables to merge with the variables specified for the default message (DefaultMessage.Substitutions). The variables specified in this map take precedence over all other variables.
  3421. */
  3422. Substitutions?: MapOfListOf__string;
  3423. /**
  3424. * The title or subject line of the message. If specified, this value overrides the default message title or subject line.
  3425. */
  3426. TitleOverride?: __string;
  3427. }
  3428. export interface EndpointUser {
  3429. /**
  3430. * One or more custom attributes that describe the user by associating a name with an array of values. For example, the value of an attribute named Interests might be: ["Science", "Music", "Travel"]. You can use these attributes as filter criteria when you create segments. Attribute names are case sensitive. An attribute name can contain up to 50 characters. An attribute value can contain up to 100 characters. When you define the name of a custom attribute, avoid using the following characters: number sign (#), colon (:), question mark (?), backslash (\), and slash (/). The Amazon Pinpoint console can't display attribute names that contain these characters. This restriction doesn't apply to attribute values.
  3431. */
  3432. UserAttributes?: MapOfListOf__string;
  3433. /**
  3434. * The unique identifier for the user.
  3435. */
  3436. UserId?: __string;
  3437. }
  3438. export interface EndpointsResponse {
  3439. /**
  3440. * An array of responses, one for each endpoint that's associated with the user ID.
  3441. */
  3442. Item: ListOfEndpointResponse;
  3443. }
  3444. export interface Event {
  3445. /**
  3446. * The package name of the app that's recording the event.
  3447. */
  3448. AppPackageName?: __string;
  3449. /**
  3450. * The title of the app that's recording the event.
  3451. */
  3452. AppTitle?: __string;
  3453. /**
  3454. * The version number of the app that's recording the event.
  3455. */
  3456. AppVersionCode?: __string;
  3457. /**
  3458. * One or more custom attributes that are associated with the event.
  3459. */
  3460. Attributes?: MapOf__string;
  3461. /**
  3462. * The version of the SDK that's running on the client device.
  3463. */
  3464. ClientSdkVersion?: __string;
  3465. /**
  3466. * The name of the event.
  3467. */
  3468. EventType: __string;
  3469. /**
  3470. * One or more custom metrics that are associated with the event.
  3471. */
  3472. Metrics?: MapOf__double;
  3473. /**
  3474. * The name of the SDK that's being used to record the event.
  3475. */
  3476. SdkName?: __string;
  3477. /**
  3478. * Information about the session in which the event occurred.
  3479. */
  3480. Session?: Session;
  3481. /**
  3482. * The date and time, in ISO 8601 format, when the event occurred.
  3483. */
  3484. Timestamp: __string;
  3485. }
  3486. export interface EventCondition {
  3487. /**
  3488. * The dimensions for the event filter to use for the activity.
  3489. */
  3490. Dimensions?: EventDimensions;
  3491. /**
  3492. * The message identifier (message_id) for the message to use when determining whether message events meet the condition.
  3493. */
  3494. MessageActivity?: __string;
  3495. }
  3496. export interface EventDimensions {
  3497. /**
  3498. * One or more custom attributes that your application reports to Amazon Pinpoint. You can use these attributes as selection criteria when you create an event filter.
  3499. */
  3500. Attributes?: MapOfAttributeDimension;
  3501. /**
  3502. * The name of the event that causes the campaign to be sent or the journey activity to be performed. This can be a standard event that Amazon Pinpoint generates, such as _email.delivered. For campaigns, this can also be a custom event that's specific to your application. For information about standard events, see Streaming Amazon Pinpoint Events in the Amazon Pinpoint Developer Guide.
  3503. */
  3504. EventType?: SetDimension;
  3505. /**
  3506. * One or more custom metrics that your application reports to Amazon Pinpoint. You can use these metrics as selection criteria when you create an event filter.
  3507. */
  3508. Metrics?: MapOfMetricDimension;
  3509. }
  3510. export interface EventFilter {
  3511. /**
  3512. * The dimensions for the event filter to use for the campaign or the journey activity.
  3513. */
  3514. Dimensions: EventDimensions;
  3515. /**
  3516. * The type of event that causes the campaign to be sent or the journey activity to be performed. Valid values are: SYSTEM, sends the campaign or performs the activity when a system event occurs; and, ENDPOINT, sends the campaign or performs the activity when an endpoint event (Events resource) occurs.
  3517. */
  3518. FilterType: FilterType;
  3519. }
  3520. export interface EventItemResponse {
  3521. /**
  3522. * A custom message that's returned in the response as a result of processing the event.
  3523. */
  3524. Message?: __string;
  3525. /**
  3526. * The status code that's returned in the response as a result of processing the event. Possible values are: 202, for events that were accepted; and, 400, for events that weren't valid.
  3527. */
  3528. StatusCode?: __integer;
  3529. }
  3530. export interface EventStartCondition {
  3531. EventFilter?: EventFilter;
  3532. SegmentId?: __string;
  3533. }
  3534. export interface EventStream {
  3535. /**
  3536. * The unique identifier for the application to publish event data for.
  3537. */
  3538. ApplicationId: __string;
  3539. /**
  3540. * The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery stream to publish event data to. For a Kinesis data stream, the ARN format is: arn:aws:kinesis:region:account-id:stream/stream_name
  3541. For a Kinesis Data Firehose delivery stream, the ARN format is: arn:aws:firehose:region:account-id:deliverystream/stream_name
  3542. */
  3543. DestinationStreamArn: __string;
  3544. /**
  3545. * (Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy. Amazon Pinpoint previously used this value to assume an IAM role when publishing event data, but we removed this requirement. We don't recommend use of external IDs for IAM roles that are assumed by Amazon Pinpoint.
  3546. */
  3547. ExternalId?: __string;
  3548. /**
  3549. * The date, in ISO 8601 format, when the event stream was last modified.
  3550. */
  3551. LastModifiedDate?: __string;
  3552. /**
  3553. * The IAM user who last modified the event stream.
  3554. */
  3555. LastUpdatedBy?: __string;
  3556. /**
  3557. * The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the stream in your AWS account.
  3558. */
  3559. RoleArn: __string;
  3560. }
  3561. export interface EventsBatch {
  3562. /**
  3563. * A set of properties and attributes that are associated with the endpoint.
  3564. */
  3565. Endpoint: PublicEndpoint;
  3566. /**
  3567. * A set of properties that are associated with the event.
  3568. */
  3569. Events: MapOfEvent;
  3570. }
  3571. export interface EventsRequest {
  3572. /**
  3573. * The batch of events to process. For each item in a batch, the endpoint ID acts as a key that has an EventsBatch object as its value.
  3574. */
  3575. BatchItem: MapOfEventsBatch;
  3576. }
  3577. export interface EventsResponse {
  3578. /**
  3579. * A map that contains a multipart response for each endpoint. For each item in this object, the endpoint ID is the key and the item response is the value. If no item response exists, the value can also be one of the following: 202, the request was processed successfully; or 400, the payload wasn't valid or required fields were missing.
  3580. */
  3581. Results?: MapOfItemResponse;
  3582. }
  3583. export interface ExportJobRequest {
  3584. /**
  3585. * The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to access the Amazon S3 location where you want to export endpoint definitions to.
  3586. */
  3587. RoleArn: __string;
  3588. /**
  3589. * The URL of the location in an Amazon Simple Storage Service (Amazon S3) bucket where you want to export endpoint definitions to. This location is typically a folder that contains multiple files. The URL should be in the following format: s3://bucket-name/folder-name/.
  3590. */
  3591. S3UrlPrefix: __string;
  3592. /**
  3593. * The identifier for the segment to export endpoint definitions from. If you don't specify this value, Amazon Pinpoint exports definitions for all the endpoints that are associated with the application.
  3594. */
  3595. SegmentId?: __string;
  3596. /**
  3597. * The version of the segment to export endpoint definitions from, if specified.
  3598. */
  3599. SegmentVersion?: __integer;
  3600. }
  3601. export interface ExportJobResource {
  3602. /**
  3603. * The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorized Amazon Pinpoint to access the Amazon S3 location where the endpoint definitions were exported to.
  3604. */
  3605. RoleArn: __string;
  3606. /**
  3607. * The URL of the location in an Amazon Simple Storage Service (Amazon S3) bucket where the endpoint definitions were exported to. This location is typically a folder that contains multiple files. The URL should be in the following format: s3://bucket-name/folder-name/.
  3608. */
  3609. S3UrlPrefix: __string;
  3610. /**
  3611. * The identifier for the segment that the endpoint definitions were exported from. If this value isn't present, Amazon Pinpoint exported definitions for all the endpoints that are associated with the application.
  3612. */
  3613. SegmentId?: __string;
  3614. /**
  3615. * The version of the segment that the endpoint definitions were exported from.
  3616. */
  3617. SegmentVersion?: __integer;
  3618. }
  3619. export interface ExportJobResponse {
  3620. /**
  3621. * The unique identifier for the application that's associated with the export job.
  3622. */
  3623. ApplicationId: __string;
  3624. /**
  3625. * The number of pieces that were processed successfully (completed) by the export job, as of the time of the request.
  3626. */
  3627. CompletedPieces?: __integer;
  3628. /**
  3629. * The date, in ISO 8601 format, when the export job was completed.
  3630. */
  3631. CompletionDate?: __string;
  3632. /**
  3633. * The date, in ISO 8601 format, when the export job was created.
  3634. */
  3635. CreationDate: __string;
  3636. /**
  3637. * The resource settings that apply to the export job.
  3638. */
  3639. Definition: ExportJobResource;
  3640. /**
  3641. * The number of pieces that weren't processed successfully (failed) by the export job, as of the time of the request.
  3642. */
  3643. FailedPieces?: __integer;
  3644. /**
  3645. * An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by the export job, if any.
  3646. */
  3647. Failures?: ListOf__string;
  3648. /**
  3649. * The unique identifier for the export job.
  3650. */
  3651. Id: __string;
  3652. /**
  3653. * The status of the export job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or more pieces in the job.
  3654. */
  3655. JobStatus: JobStatus;
  3656. /**
  3657. * The total number of endpoint definitions that weren't processed successfully (failed) by the export job, typically because an error, such as a syntax error, occurred.
  3658. */
  3659. TotalFailures?: __integer;
  3660. /**
  3661. * The total number of pieces that must be processed to complete the export job. Each piece consists of an approximately equal portion of the endpoint definitions that are part of the export job.
  3662. */
  3663. TotalPieces?: __integer;
  3664. /**
  3665. * The total number of endpoint definitions that were processed by the export job.
  3666. */
  3667. TotalProcessed?: __integer;
  3668. /**
  3669. * The job type. This value is EXPORT for export jobs.
  3670. */
  3671. Type: __string;
  3672. }
  3673. export interface ExportJobsResponse {
  3674. /**
  3675. * An array of responses, one for each export job that's associated with the application (Export Jobs resource) or segment (Segment Export Jobs resource).
  3676. */
  3677. Item: ListOfExportJobResponse;
  3678. /**
  3679. * The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
  3680. */
  3681. NextToken?: __string;
  3682. }
  3683. export type FilterType = "SYSTEM"|"ENDPOINT"|string;
  3684. export type Format = "CSV"|"JSON"|string;
  3685. export type Frequency = "ONCE"|"HOURLY"|"DAILY"|"WEEKLY"|"MONTHLY"|"EVENT"|"IN_APP_EVENT"|string;
  3686. export interface GCMChannelRequest {
  3687. /**
  3688. * The Web API Key, also referred to as an API_KEY or server key, that you received from Google to communicate with Google services.
  3689. */
  3690. ApiKey?: __string;
  3691. /**
  3692. * The default authentication method used for GCM. Values are either "TOKEN" or "KEY". Defaults to "KEY".
  3693. */
  3694. DefaultAuthenticationMethod?: __string;
  3695. /**
  3696. * Specifies whether to enable the GCM channel for the application.
  3697. */
  3698. Enabled?: __boolean;
  3699. /**
  3700. * The contents of the JSON file provided by Google during registration in order to generate an access token for authentication. For more information see Migrate from legacy FCM APIs to HTTP v1.
  3701. */
  3702. ServiceJson?: __string;
  3703. }
  3704. export interface GCMChannelResponse {
  3705. /**
  3706. * The unique identifier for the application that the GCM channel applies to.
  3707. */
  3708. ApplicationId?: __string;
  3709. /**
  3710. * The date and time when the GCM channel was enabled.
  3711. */
  3712. CreationDate?: __string;
  3713. /**
  3714. * The Web API Key, also referred to as an API_KEY or server key, that you received from Google to communicate with Google services.
  3715. */
  3716. Credential?: __string;
  3717. /**
  3718. * The default authentication method used for GCM. Values are either "TOKEN" or "KEY". Defaults to "KEY".
  3719. */
  3720. DefaultAuthenticationMethod?: __string;
  3721. /**
  3722. * Specifies whether the GCM channel is enabled for the application.
  3723. */
  3724. Enabled?: __boolean;
  3725. /**
  3726. * (Not used) This property is retained only for backward compatibility.
  3727. */
  3728. HasCredential?: __boolean;
  3729. /**
  3730. * Returns true if the JSON file provided by Google during registration process was used in the ServiceJson field of the request.
  3731. */
  3732. HasFcmServiceCredentials?: __boolean;
  3733. /**
  3734. * (Deprecated) An identifier for the GCM channel. This property is retained only for backward compatibility.
  3735. */
  3736. Id?: __string;
  3737. /**
  3738. * Specifies whether the GCM channel is archived.
  3739. */
  3740. IsArchived?: __boolean;
  3741. /**
  3742. * The user who last modified the GCM channel.
  3743. */
  3744. LastModifiedBy?: __string;
  3745. /**
  3746. * The date and time when the GCM channel was last modified.
  3747. */
  3748. LastModifiedDate?: __string;
  3749. /**
  3750. * The type of messaging or notification platform for the channel. For the GCM channel, this value is GCM.
  3751. */
  3752. Platform: __string;
  3753. /**
  3754. * The current version of the GCM channel.
  3755. */
  3756. Version?: __integer;
  3757. }
  3758. export interface GCMMessage {
  3759. /**
  3760. * The action to occur if the recipient taps the push notification. Valid values are: OPEN_APP - Your app opens or it becomes the foreground app if it was sent to the background. This is the default action. DEEP_LINK - Your app opens and displays a designated user interface in the app. This action uses the deep-linking features of the Android platform. URL - The default mobile browser on the recipient's device opens and loads the web page at a URL that you specify.
  3761. */
  3762. Action?: Action;
  3763. /**
  3764. * The body of the notification message.
  3765. */
  3766. Body?: __string;
  3767. /**
  3768. * An arbitrary string that identifies a group of messages that can be collapsed to ensure that only the last message is sent when delivery can resume. This helps avoid sending too many instances of the same messages when the recipient's device comes online again or becomes active. Amazon Pinpoint specifies this value in the Firebase Cloud Messaging (FCM) collapse_key parameter when it sends the notification message to FCM.
  3769. */
  3770. CollapseKey?: __string;
  3771. /**
  3772. * The JSON data payload to use for the push notification, if the notification is a silent push notification. This payload is added to the data.pinpoint.jsonBody object of the notification.
  3773. */
  3774. Data?: MapOf__string;
  3775. /**
  3776. * The icon image name of the asset saved in your app.
  3777. */
  3778. IconReference?: __string;
  3779. /**
  3780. * The URL of the large icon image to display in the content view of the push notification.
  3781. */
  3782. ImageIconUrl?: __string;
  3783. /**
  3784. * The URL of an image to display in the push notification.
  3785. */
  3786. ImageUrl?: __string;
  3787. /**
  3788. * The preferred authentication method, with valid values "KEY" or "TOKEN". If a value isn't provided then the DefaultAuthenticationMethod is used.
  3789. */
  3790. PreferredAuthenticationMethod?: __string;
  3791. /**
  3792. * para>normal – The notification might be delayed. Delivery is optimized for battery usage on the recipient's device. Use this value unless immediate delivery is required./listitem> high – The notification is sent immediately and might wake a sleeping device./para> Amazon Pinpoint specifies this value in the FCM priority parameter when it sends the notification message to FCM. The equivalent values for Apple Push Notification service (APNs) are 5, for normal, and 10, for high. If you specify an APNs value for this property, Amazon Pinpoint accepts and converts the value to the corresponding FCM value.
  3793. */
  3794. Priority?: __string;
  3795. /**
  3796. * The raw, JSON-formatted string to use as the payload for the notification message. If specified, this value overrides all other content for the message.
  3797. */
  3798. RawContent?: __string;
  3799. /**
  3800. * The package name of the application where registration tokens must match in order for the recipient to receive the message.
  3801. */
  3802. RestrictedPackageName?: __string;
  3803. /**
  3804. * Specifies whether the notification is a silent push notification, which is a push notification that doesn't display on a recipient's device. Silent push notifications can be used for cases such as updating an app's configuration or supporting phone home functionality.
  3805. */
  3806. SilentPush?: __boolean;
  3807. /**
  3808. * The URL of the small icon image to display in the status bar and the content view of the push notification.
  3809. */
  3810. SmallImageIconUrl?: __string;
  3811. /**
  3812. * The sound to play when the recipient receives the push notification. You can use the default stream or specify the file name of a sound resource that's bundled in your app. On an Android platform, the sound file must reside in /res/raw/.
  3813. */
  3814. Sound?: __string;
  3815. /**
  3816. * The default message variables to use in the notification message. You can override the default variables with individual address variables.
  3817. */
  3818. Substitutions?: MapOfListOf__string;
  3819. /**
  3820. * The amount of time, in seconds, that FCM should store and attempt to deliver the push notification, if the service is unable to deliver the notification the first time. If you don't specify this value, FCM defaults to the maximum value, which is 2,419,200 seconds (28 days). Amazon Pinpoint specifies this value in the FCM time_to_live parameter when it sends the notification message to FCM.
  3821. */
  3822. TimeToLive?: __integer;
  3823. /**
  3824. * The title to display above the notification message on the recipient's device.
  3825. */
  3826. Title?: __string;
  3827. /**
  3828. * The URL to open in the recipient's default mobile browser, if a recipient taps the push notification and the value of the Action property is URL.
  3829. */
  3830. Url?: __string;
  3831. }
  3832. export interface GPSCoordinates {
  3833. /**
  3834. * The latitude coordinate of the location.
  3835. */
  3836. Latitude: __double;
  3837. /**
  3838. * The longitude coordinate of the location.
  3839. */
  3840. Longitude: __double;
  3841. }
  3842. export interface GPSPointDimension {
  3843. /**
  3844. * The GPS coordinates to measure distance from.
  3845. */
  3846. Coordinates: GPSCoordinates;
  3847. /**
  3848. * The range, in kilometers, from the GPS coordinates.
  3849. */
  3850. RangeInKilometers?: __double;
  3851. }
  3852. export interface GetAdmChannelRequest {
  3853. /**
  3854. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  3855. */
  3856. ApplicationId: __string;
  3857. }
  3858. export interface GetAdmChannelResponse {
  3859. ADMChannelResponse: ADMChannelResponse;
  3860. }
  3861. export interface GetApnsChannelRequest {
  3862. /**
  3863. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  3864. */
  3865. ApplicationId: __string;
  3866. }
  3867. export interface GetApnsChannelResponse {
  3868. APNSChannelResponse: APNSChannelResponse;
  3869. }
  3870. export interface GetApnsSandboxChannelRequest {
  3871. /**
  3872. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  3873. */
  3874. ApplicationId: __string;
  3875. }
  3876. export interface GetApnsSandboxChannelResponse {
  3877. APNSSandboxChannelResponse: APNSSandboxChannelResponse;
  3878. }
  3879. export interface GetApnsVoipChannelRequest {
  3880. /**
  3881. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  3882. */
  3883. ApplicationId: __string;
  3884. }
  3885. export interface GetApnsVoipChannelResponse {
  3886. APNSVoipChannelResponse: APNSVoipChannelResponse;
  3887. }
  3888. export interface GetApnsVoipSandboxChannelRequest {
  3889. /**
  3890. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  3891. */
  3892. ApplicationId: __string;
  3893. }
  3894. export interface GetApnsVoipSandboxChannelResponse {
  3895. APNSVoipSandboxChannelResponse: APNSVoipSandboxChannelResponse;
  3896. }
  3897. export interface GetAppRequest {
  3898. /**
  3899. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  3900. */
  3901. ApplicationId: __string;
  3902. }
  3903. export interface GetAppResponse {
  3904. ApplicationResponse: ApplicationResponse;
  3905. }
  3906. export interface GetApplicationDateRangeKpiRequest {
  3907. /**
  3908. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  3909. */
  3910. ApplicationId: __string;
  3911. /**
  3912. * The last date and time to retrieve data for, as part of an inclusive date range that filters the query results. This value should be in extended ISO 8601 format and use Coordinated Universal Time (UTC), for example: 2019-07-26T20:00:00Z for 8:00 PM UTC July 26, 2019.
  3913. */
  3914. EndTime?: __timestampIso8601;
  3915. /**
  3916. * The name of the metric, also referred to as a key performance indicator (KPI), to retrieve data for. This value describes the associated metric and consists of two or more terms, which are comprised of lowercase alphanumeric characters, separated by a hyphen. Examples are email-open-rate and successful-delivery-rate. For a list of valid values, see the Amazon Pinpoint Developer Guide.
  3917. */
  3918. KpiName: __string;
  3919. /**
  3920. * The string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  3921. */
  3922. NextToken?: __string;
  3923. /**
  3924. * The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  3925. */
  3926. PageSize?: __string;
  3927. /**
  3928. * The first date and time to retrieve data for, as part of an inclusive date range that filters the query results. This value should be in extended ISO 8601 format and use Coordinated Universal Time (UTC), for example: 2019-07-19T20:00:00Z for 8:00 PM UTC July 19, 2019. This value should also be fewer than 90 days from the current day.
  3929. */
  3930. StartTime?: __timestampIso8601;
  3931. }
  3932. export interface GetApplicationDateRangeKpiResponse {
  3933. ApplicationDateRangeKpiResponse: ApplicationDateRangeKpiResponse;
  3934. }
  3935. export interface GetApplicationSettingsRequest {
  3936. /**
  3937. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  3938. */
  3939. ApplicationId: __string;
  3940. }
  3941. export interface GetApplicationSettingsResponse {
  3942. ApplicationSettingsResource: ApplicationSettingsResource;
  3943. }
  3944. export interface GetAppsRequest {
  3945. /**
  3946. * The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  3947. */
  3948. PageSize?: __string;
  3949. /**
  3950. * The NextToken string that specifies which page of results to return in a paginated response.
  3951. */
  3952. Token?: __string;
  3953. }
  3954. export interface GetAppsResponse {
  3955. ApplicationsResponse: ApplicationsResponse;
  3956. }
  3957. export interface GetBaiduChannelRequest {
  3958. /**
  3959. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  3960. */
  3961. ApplicationId: __string;
  3962. }
  3963. export interface GetBaiduChannelResponse {
  3964. BaiduChannelResponse: BaiduChannelResponse;
  3965. }
  3966. export interface GetCampaignActivitiesRequest {
  3967. /**
  3968. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  3969. */
  3970. ApplicationId: __string;
  3971. /**
  3972. * The unique identifier for the campaign.
  3973. */
  3974. CampaignId: __string;
  3975. /**
  3976. * The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  3977. */
  3978. PageSize?: __string;
  3979. /**
  3980. * The NextToken string that specifies which page of results to return in a paginated response.
  3981. */
  3982. Token?: __string;
  3983. }
  3984. export interface GetCampaignActivitiesResponse {
  3985. ActivitiesResponse: ActivitiesResponse;
  3986. }
  3987. export interface GetCampaignDateRangeKpiRequest {
  3988. /**
  3989. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  3990. */
  3991. ApplicationId: __string;
  3992. /**
  3993. * The unique identifier for the campaign.
  3994. */
  3995. CampaignId: __string;
  3996. /**
  3997. * The last date and time to retrieve data for, as part of an inclusive date range that filters the query results. This value should be in extended ISO 8601 format and use Coordinated Universal Time (UTC), for example: 2019-07-26T20:00:00Z for 8:00 PM UTC July 26, 2019.
  3998. */
  3999. EndTime?: __timestampIso8601;
  4000. /**
  4001. * The name of the metric, also referred to as a key performance indicator (KPI), to retrieve data for. This value describes the associated metric and consists of two or more terms, which are comprised of lowercase alphanumeric characters, separated by a hyphen. Examples are email-open-rate and successful-delivery-rate. For a list of valid values, see the Amazon Pinpoint Developer Guide.
  4002. */
  4003. KpiName: __string;
  4004. /**
  4005. * The string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  4006. */
  4007. NextToken?: __string;
  4008. /**
  4009. * The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  4010. */
  4011. PageSize?: __string;
  4012. /**
  4013. * The first date and time to retrieve data for, as part of an inclusive date range that filters the query results. This value should be in extended ISO 8601 format and use Coordinated Universal Time (UTC), for example: 2019-07-19T20:00:00Z for 8:00 PM UTC July 19, 2019. This value should also be fewer than 90 days from the current day.
  4014. */
  4015. StartTime?: __timestampIso8601;
  4016. }
  4017. export interface GetCampaignDateRangeKpiResponse {
  4018. CampaignDateRangeKpiResponse: CampaignDateRangeKpiResponse;
  4019. }
  4020. export interface GetCampaignRequest {
  4021. /**
  4022. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4023. */
  4024. ApplicationId: __string;
  4025. /**
  4026. * The unique identifier for the campaign.
  4027. */
  4028. CampaignId: __string;
  4029. }
  4030. export interface GetCampaignResponse {
  4031. CampaignResponse: CampaignResponse;
  4032. }
  4033. export interface GetCampaignVersionRequest {
  4034. /**
  4035. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4036. */
  4037. ApplicationId: __string;
  4038. /**
  4039. * The unique identifier for the campaign.
  4040. */
  4041. CampaignId: __string;
  4042. /**
  4043. * The unique version number (Version property) for the campaign version.
  4044. */
  4045. Version: __string;
  4046. }
  4047. export interface GetCampaignVersionResponse {
  4048. CampaignResponse: CampaignResponse;
  4049. }
  4050. export interface GetCampaignVersionsRequest {
  4051. /**
  4052. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4053. */
  4054. ApplicationId: __string;
  4055. /**
  4056. * The unique identifier for the campaign.
  4057. */
  4058. CampaignId: __string;
  4059. /**
  4060. * The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  4061. */
  4062. PageSize?: __string;
  4063. /**
  4064. * The NextToken string that specifies which page of results to return in a paginated response.
  4065. */
  4066. Token?: __string;
  4067. }
  4068. export interface GetCampaignVersionsResponse {
  4069. CampaignsResponse: CampaignsResponse;
  4070. }
  4071. export interface GetCampaignsRequest {
  4072. /**
  4073. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4074. */
  4075. ApplicationId: __string;
  4076. /**
  4077. * The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  4078. */
  4079. PageSize?: __string;
  4080. /**
  4081. * The NextToken string that specifies which page of results to return in a paginated response.
  4082. */
  4083. Token?: __string;
  4084. }
  4085. export interface GetCampaignsResponse {
  4086. CampaignsResponse: CampaignsResponse;
  4087. }
  4088. export interface GetChannelsRequest {
  4089. /**
  4090. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4091. */
  4092. ApplicationId: __string;
  4093. }
  4094. export interface GetChannelsResponse {
  4095. ChannelsResponse: ChannelsResponse;
  4096. }
  4097. export interface GetEmailChannelRequest {
  4098. /**
  4099. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4100. */
  4101. ApplicationId: __string;
  4102. }
  4103. export interface GetEmailChannelResponse {
  4104. EmailChannelResponse: EmailChannelResponse;
  4105. }
  4106. export interface GetEmailTemplateRequest {
  4107. /**
  4108. * The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
  4109. */
  4110. TemplateName: __string;
  4111. /**
  4112. * The unique identifier for the version of the message template to update, retrieve information about, or delete. To retrieve identifiers and other information for all the versions of a template, use the Template Versions resource. If specified, this value must match the identifier for an existing template version. If specified for an update operation, this value must match the identifier for the latest existing version of the template. This restriction helps ensure that race conditions don't occur. If you don't specify a value for this parameter, Amazon Pinpoint does the following: For a get operation, retrieves information about the active version of the template. For an update operation, saves the updates to (overwrites) the latest existing version of the template, if the create-new-version parameter isn't used or is set to false. For a delete operation, deletes the template, including all versions of the template.
  4113. */
  4114. Version?: __string;
  4115. }
  4116. export interface GetEmailTemplateResponse {
  4117. EmailTemplateResponse: EmailTemplateResponse;
  4118. }
  4119. export interface GetEndpointRequest {
  4120. /**
  4121. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4122. */
  4123. ApplicationId: __string;
  4124. /**
  4125. * The case insensitive unique identifier for the endpoint. The identifier can't contain $, { or }.
  4126. */
  4127. EndpointId: __string;
  4128. }
  4129. export interface GetEndpointResponse {
  4130. EndpointResponse: EndpointResponse;
  4131. }
  4132. export interface GetEventStreamRequest {
  4133. /**
  4134. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4135. */
  4136. ApplicationId: __string;
  4137. }
  4138. export interface GetEventStreamResponse {
  4139. EventStream: EventStream;
  4140. }
  4141. export interface GetExportJobRequest {
  4142. /**
  4143. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4144. */
  4145. ApplicationId: __string;
  4146. /**
  4147. * The unique identifier for the job.
  4148. */
  4149. JobId: __string;
  4150. }
  4151. export interface GetExportJobResponse {
  4152. ExportJobResponse: ExportJobResponse;
  4153. }
  4154. export interface GetExportJobsRequest {
  4155. /**
  4156. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4157. */
  4158. ApplicationId: __string;
  4159. /**
  4160. * The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  4161. */
  4162. PageSize?: __string;
  4163. /**
  4164. * The NextToken string that specifies which page of results to return in a paginated response.
  4165. */
  4166. Token?: __string;
  4167. }
  4168. export interface GetExportJobsResponse {
  4169. ExportJobsResponse: ExportJobsResponse;
  4170. }
  4171. export interface GetGcmChannelRequest {
  4172. /**
  4173. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4174. */
  4175. ApplicationId: __string;
  4176. }
  4177. export interface GetGcmChannelResponse {
  4178. GCMChannelResponse: GCMChannelResponse;
  4179. }
  4180. export interface GetImportJobRequest {
  4181. /**
  4182. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4183. */
  4184. ApplicationId: __string;
  4185. /**
  4186. * The unique identifier for the job.
  4187. */
  4188. JobId: __string;
  4189. }
  4190. export interface GetImportJobResponse {
  4191. ImportJobResponse: ImportJobResponse;
  4192. }
  4193. export interface GetImportJobsRequest {
  4194. /**
  4195. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4196. */
  4197. ApplicationId: __string;
  4198. /**
  4199. * The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  4200. */
  4201. PageSize?: __string;
  4202. /**
  4203. * The NextToken string that specifies which page of results to return in a paginated response.
  4204. */
  4205. Token?: __string;
  4206. }
  4207. export interface GetImportJobsResponse {
  4208. ImportJobsResponse: ImportJobsResponse;
  4209. }
  4210. export interface GetInAppMessagesRequest {
  4211. /**
  4212. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4213. */
  4214. ApplicationId: __string;
  4215. /**
  4216. * The unique identifier for the endpoint.
  4217. */
  4218. EndpointId: __string;
  4219. }
  4220. export interface GetInAppMessagesResponse {
  4221. InAppMessagesResponse: InAppMessagesResponse;
  4222. }
  4223. export interface GetInAppTemplateRequest {
  4224. /**
  4225. * The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
  4226. */
  4227. TemplateName: __string;
  4228. /**
  4229. * The unique identifier for the version of the message template to update, retrieve information about, or delete. To retrieve identifiers and other information for all the versions of a template, use the Template Versions resource. If specified, this value must match the identifier for an existing template version. If specified for an update operation, this value must match the identifier for the latest existing version of the template. This restriction helps ensure that race conditions don't occur. If you don't specify a value for this parameter, Amazon Pinpoint does the following: For a get operation, retrieves information about the active version of the template. For an update operation, saves the updates to (overwrites) the latest existing version of the template, if the create-new-version parameter isn't used or is set to false. For a delete operation, deletes the template, including all versions of the template.
  4230. */
  4231. Version?: __string;
  4232. }
  4233. export interface GetInAppTemplateResponse {
  4234. InAppTemplateResponse: InAppTemplateResponse;
  4235. }
  4236. export interface GetJourneyDateRangeKpiRequest {
  4237. /**
  4238. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4239. */
  4240. ApplicationId: __string;
  4241. /**
  4242. * The last date and time to retrieve data for, as part of an inclusive date range that filters the query results. This value should be in extended ISO 8601 format and use Coordinated Universal Time (UTC), for example: 2019-07-26T20:00:00Z for 8:00 PM UTC July 26, 2019.
  4243. */
  4244. EndTime?: __timestampIso8601;
  4245. /**
  4246. * The unique identifier for the journey.
  4247. */
  4248. JourneyId: __string;
  4249. /**
  4250. * The name of the metric, also referred to as a key performance indicator (KPI), to retrieve data for. This value describes the associated metric and consists of two or more terms, which are comprised of lowercase alphanumeric characters, separated by a hyphen. Examples are email-open-rate and successful-delivery-rate. For a list of valid values, see the Amazon Pinpoint Developer Guide.
  4251. */
  4252. KpiName: __string;
  4253. /**
  4254. * The string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  4255. */
  4256. NextToken?: __string;
  4257. /**
  4258. * The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  4259. */
  4260. PageSize?: __string;
  4261. /**
  4262. * The first date and time to retrieve data for, as part of an inclusive date range that filters the query results. This value should be in extended ISO 8601 format and use Coordinated Universal Time (UTC), for example: 2019-07-19T20:00:00Z for 8:00 PM UTC July 19, 2019. This value should also be fewer than 90 days from the current day.
  4263. */
  4264. StartTime?: __timestampIso8601;
  4265. }
  4266. export interface GetJourneyDateRangeKpiResponse {
  4267. JourneyDateRangeKpiResponse: JourneyDateRangeKpiResponse;
  4268. }
  4269. export interface GetJourneyExecutionActivityMetricsRequest {
  4270. /**
  4271. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4272. */
  4273. ApplicationId: __string;
  4274. /**
  4275. * The unique identifier for the journey activity.
  4276. */
  4277. JourneyActivityId: __string;
  4278. /**
  4279. * The unique identifier for the journey.
  4280. */
  4281. JourneyId: __string;
  4282. /**
  4283. * The string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  4284. */
  4285. NextToken?: __string;
  4286. /**
  4287. * The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  4288. */
  4289. PageSize?: __string;
  4290. }
  4291. export interface GetJourneyExecutionActivityMetricsResponse {
  4292. JourneyExecutionActivityMetricsResponse: JourneyExecutionActivityMetricsResponse;
  4293. }
  4294. export interface GetJourneyExecutionMetricsRequest {
  4295. /**
  4296. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4297. */
  4298. ApplicationId: __string;
  4299. /**
  4300. * The unique identifier for the journey.
  4301. */
  4302. JourneyId: __string;
  4303. /**
  4304. * The string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  4305. */
  4306. NextToken?: __string;
  4307. /**
  4308. * The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  4309. */
  4310. PageSize?: __string;
  4311. }
  4312. export interface GetJourneyExecutionMetricsResponse {
  4313. JourneyExecutionMetricsResponse: JourneyExecutionMetricsResponse;
  4314. }
  4315. export interface GetJourneyRequest {
  4316. /**
  4317. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4318. */
  4319. ApplicationId: __string;
  4320. /**
  4321. * The unique identifier for the journey.
  4322. */
  4323. JourneyId: __string;
  4324. }
  4325. export interface GetJourneyResponse {
  4326. JourneyResponse: JourneyResponse;
  4327. }
  4328. export interface GetJourneyRunExecutionActivityMetricsRequest {
  4329. /**
  4330. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4331. */
  4332. ApplicationId: __string;
  4333. /**
  4334. * The unique identifier for the journey activity.
  4335. */
  4336. JourneyActivityId: __string;
  4337. /**
  4338. * The unique identifier for the journey.
  4339. */
  4340. JourneyId: __string;
  4341. /**
  4342. * The string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  4343. */
  4344. NextToken?: __string;
  4345. /**
  4346. * The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  4347. */
  4348. PageSize?: __string;
  4349. /**
  4350. * The unique identifier for the journey run.
  4351. */
  4352. RunId: __string;
  4353. }
  4354. export interface GetJourneyRunExecutionActivityMetricsResponse {
  4355. JourneyRunExecutionActivityMetricsResponse: JourneyRunExecutionActivityMetricsResponse;
  4356. }
  4357. export interface GetJourneyRunExecutionMetricsRequest {
  4358. /**
  4359. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4360. */
  4361. ApplicationId: __string;
  4362. /**
  4363. * The unique identifier for the journey.
  4364. */
  4365. JourneyId: __string;
  4366. /**
  4367. * The string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  4368. */
  4369. NextToken?: __string;
  4370. /**
  4371. * The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  4372. */
  4373. PageSize?: __string;
  4374. /**
  4375. * The unique identifier for the journey run.
  4376. */
  4377. RunId: __string;
  4378. }
  4379. export interface GetJourneyRunExecutionMetricsResponse {
  4380. JourneyRunExecutionMetricsResponse: JourneyRunExecutionMetricsResponse;
  4381. }
  4382. export interface GetJourneyRunsRequest {
  4383. /**
  4384. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4385. */
  4386. ApplicationId: __string;
  4387. /**
  4388. * The unique identifier for the journey.
  4389. */
  4390. JourneyId: __string;
  4391. /**
  4392. * The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  4393. */
  4394. PageSize?: __string;
  4395. /**
  4396. * The NextToken string that specifies which page of results to return in a paginated response.
  4397. */
  4398. Token?: __string;
  4399. }
  4400. export interface GetJourneyRunsResponse {
  4401. JourneyRunsResponse: JourneyRunsResponse;
  4402. }
  4403. export interface GetPushTemplateRequest {
  4404. /**
  4405. * The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
  4406. */
  4407. TemplateName: __string;
  4408. /**
  4409. * The unique identifier for the version of the message template to update, retrieve information about, or delete. To retrieve identifiers and other information for all the versions of a template, use the Template Versions resource. If specified, this value must match the identifier for an existing template version. If specified for an update operation, this value must match the identifier for the latest existing version of the template. This restriction helps ensure that race conditions don't occur. If you don't specify a value for this parameter, Amazon Pinpoint does the following: For a get operation, retrieves information about the active version of the template. For an update operation, saves the updates to (overwrites) the latest existing version of the template, if the create-new-version parameter isn't used or is set to false. For a delete operation, deletes the template, including all versions of the template.
  4410. */
  4411. Version?: __string;
  4412. }
  4413. export interface GetPushTemplateResponse {
  4414. PushNotificationTemplateResponse: PushNotificationTemplateResponse;
  4415. }
  4416. export interface GetRecommenderConfigurationRequest {
  4417. /**
  4418. * The unique identifier for the recommender model configuration. This identifier is displayed as the Recommender ID on the Amazon Pinpoint console.
  4419. */
  4420. RecommenderId: __string;
  4421. }
  4422. export interface GetRecommenderConfigurationResponse {
  4423. RecommenderConfigurationResponse: RecommenderConfigurationResponse;
  4424. }
  4425. export interface GetRecommenderConfigurationsRequest {
  4426. /**
  4427. * The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  4428. */
  4429. PageSize?: __string;
  4430. /**
  4431. * The NextToken string that specifies which page of results to return in a paginated response.
  4432. */
  4433. Token?: __string;
  4434. }
  4435. export interface GetRecommenderConfigurationsResponse {
  4436. ListRecommenderConfigurationsResponse: ListRecommenderConfigurationsResponse;
  4437. }
  4438. export interface GetSegmentExportJobsRequest {
  4439. /**
  4440. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4441. */
  4442. ApplicationId: __string;
  4443. /**
  4444. * The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  4445. */
  4446. PageSize?: __string;
  4447. /**
  4448. * The unique identifier for the segment.
  4449. */
  4450. SegmentId: __string;
  4451. /**
  4452. * The NextToken string that specifies which page of results to return in a paginated response.
  4453. */
  4454. Token?: __string;
  4455. }
  4456. export interface GetSegmentExportJobsResponse {
  4457. ExportJobsResponse: ExportJobsResponse;
  4458. }
  4459. export interface GetSegmentImportJobsRequest {
  4460. /**
  4461. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4462. */
  4463. ApplicationId: __string;
  4464. /**
  4465. * The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  4466. */
  4467. PageSize?: __string;
  4468. /**
  4469. * The unique identifier for the segment.
  4470. */
  4471. SegmentId: __string;
  4472. /**
  4473. * The NextToken string that specifies which page of results to return in a paginated response.
  4474. */
  4475. Token?: __string;
  4476. }
  4477. export interface GetSegmentImportJobsResponse {
  4478. ImportJobsResponse: ImportJobsResponse;
  4479. }
  4480. export interface GetSegmentRequest {
  4481. /**
  4482. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4483. */
  4484. ApplicationId: __string;
  4485. /**
  4486. * The unique identifier for the segment.
  4487. */
  4488. SegmentId: __string;
  4489. }
  4490. export interface GetSegmentResponse {
  4491. SegmentResponse: SegmentResponse;
  4492. }
  4493. export interface GetSegmentVersionRequest {
  4494. /**
  4495. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4496. */
  4497. ApplicationId: __string;
  4498. /**
  4499. * The unique identifier for the segment.
  4500. */
  4501. SegmentId: __string;
  4502. /**
  4503. * The unique version number (Version property) for the campaign version.
  4504. */
  4505. Version: __string;
  4506. }
  4507. export interface GetSegmentVersionResponse {
  4508. SegmentResponse: SegmentResponse;
  4509. }
  4510. export interface GetSegmentVersionsRequest {
  4511. /**
  4512. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4513. */
  4514. ApplicationId: __string;
  4515. /**
  4516. * The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  4517. */
  4518. PageSize?: __string;
  4519. /**
  4520. * The unique identifier for the segment.
  4521. */
  4522. SegmentId: __string;
  4523. /**
  4524. * The NextToken string that specifies which page of results to return in a paginated response.
  4525. */
  4526. Token?: __string;
  4527. }
  4528. export interface GetSegmentVersionsResponse {
  4529. SegmentsResponse: SegmentsResponse;
  4530. }
  4531. export interface GetSegmentsRequest {
  4532. /**
  4533. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4534. */
  4535. ApplicationId: __string;
  4536. /**
  4537. * The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  4538. */
  4539. PageSize?: __string;
  4540. /**
  4541. * The NextToken string that specifies which page of results to return in a paginated response.
  4542. */
  4543. Token?: __string;
  4544. }
  4545. export interface GetSegmentsResponse {
  4546. SegmentsResponse: SegmentsResponse;
  4547. }
  4548. export interface GetSmsChannelRequest {
  4549. /**
  4550. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4551. */
  4552. ApplicationId: __string;
  4553. }
  4554. export interface GetSmsChannelResponse {
  4555. SMSChannelResponse: SMSChannelResponse;
  4556. }
  4557. export interface GetSmsTemplateRequest {
  4558. /**
  4559. * The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
  4560. */
  4561. TemplateName: __string;
  4562. /**
  4563. * The unique identifier for the version of the message template to update, retrieve information about, or delete. To retrieve identifiers and other information for all the versions of a template, use the Template Versions resource. If specified, this value must match the identifier for an existing template version. If specified for an update operation, this value must match the identifier for the latest existing version of the template. This restriction helps ensure that race conditions don't occur. If you don't specify a value for this parameter, Amazon Pinpoint does the following: For a get operation, retrieves information about the active version of the template. For an update operation, saves the updates to (overwrites) the latest existing version of the template, if the create-new-version parameter isn't used or is set to false. For a delete operation, deletes the template, including all versions of the template.
  4564. */
  4565. Version?: __string;
  4566. }
  4567. export interface GetSmsTemplateResponse {
  4568. SMSTemplateResponse: SMSTemplateResponse;
  4569. }
  4570. export interface GetUserEndpointsRequest {
  4571. /**
  4572. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4573. */
  4574. ApplicationId: __string;
  4575. /**
  4576. * The unique identifier for the user.
  4577. */
  4578. UserId: __string;
  4579. }
  4580. export interface GetUserEndpointsResponse {
  4581. EndpointsResponse: EndpointsResponse;
  4582. }
  4583. export interface GetVoiceChannelRequest {
  4584. /**
  4585. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  4586. */
  4587. ApplicationId: __string;
  4588. }
  4589. export interface GetVoiceChannelResponse {
  4590. VoiceChannelResponse: VoiceChannelResponse;
  4591. }
  4592. export interface GetVoiceTemplateRequest {
  4593. /**
  4594. * The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
  4595. */
  4596. TemplateName: __string;
  4597. /**
  4598. * The unique identifier for the version of the message template to update, retrieve information about, or delete. To retrieve identifiers and other information for all the versions of a template, use the Template Versions resource. If specified, this value must match the identifier for an existing template version. If specified for an update operation, this value must match the identifier for the latest existing version of the template. This restriction helps ensure that race conditions don't occur. If you don't specify a value for this parameter, Amazon Pinpoint does the following: For a get operation, retrieves information about the active version of the template. For an update operation, saves the updates to (overwrites) the latest existing version of the template, if the create-new-version parameter isn't used or is set to false. For a delete operation, deletes the template, including all versions of the template.
  4599. */
  4600. Version?: __string;
  4601. }
  4602. export interface GetVoiceTemplateResponse {
  4603. VoiceTemplateResponse: VoiceTemplateResponse;
  4604. }
  4605. export interface HoldoutActivity {
  4606. /**
  4607. * The unique identifier for the next activity to perform, after performing the holdout activity.
  4608. */
  4609. NextActivity?: __string;
  4610. /**
  4611. * The percentage of participants who shouldn't continue the journey. To determine which participants are held out, Amazon Pinpoint applies a probability-based algorithm to the percentage that you specify. Therefore, the actual percentage of participants who are held out may not be equal to the percentage that you specify.
  4612. */
  4613. Percentage: __integer;
  4614. }
  4615. export interface ImportJobRequest {
  4616. /**
  4617. * Specifies whether to create a segment that contains the endpoints, when the endpoint definitions are imported.
  4618. */
  4619. DefineSegment?: __boolean;
  4620. /**
  4621. * (Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy. Amazon Pinpoint previously used this value to assume an IAM role when importing endpoint definitions, but we removed this requirement. We don't recommend use of external IDs for IAM roles that are assumed by Amazon Pinpoint.
  4622. */
  4623. ExternalId?: __string;
  4624. /**
  4625. * The format of the files that contain the endpoint definitions to import. Valid values are: CSV, for comma-separated values format; and, JSON, for newline-delimited JSON format. If the Amazon S3 location stores multiple files that use different formats, Amazon Pinpoint imports data only from the files that use the specified format.
  4626. */
  4627. Format: Format;
  4628. /**
  4629. * Specifies whether to register the endpoints with Amazon Pinpoint, when the endpoint definitions are imported.
  4630. */
  4631. RegisterEndpoints?: __boolean;
  4632. /**
  4633. * The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to access the Amazon S3 location to import endpoint definitions from.
  4634. */
  4635. RoleArn: __string;
  4636. /**
  4637. * The URL of the Amazon Simple Storage Service (Amazon S3) bucket that contains the endpoint definitions to import. This location can be a folder or a single file. If the location is a folder, Amazon Pinpoint imports endpoint definitions from the files in this location, including any subfolders that the folder contains. The URL should be in the following format: s3://bucket-name/folder-name/file-name. The location can end with the key for an individual object or a prefix that qualifies multiple objects.
  4638. */
  4639. S3Url: __string;
  4640. /**
  4641. * The identifier for the segment to update or add the imported endpoint definitions to, if the import job is meant to update an existing segment.
  4642. */
  4643. SegmentId?: __string;
  4644. /**
  4645. * A custom name for the segment that's created by the import job, if the value of the DefineSegment property is true.
  4646. */
  4647. SegmentName?: __string;
  4648. }
  4649. export interface ImportJobResource {
  4650. /**
  4651. * Specifies whether the import job creates a segment that contains the endpoints, when the endpoint definitions are imported.
  4652. */
  4653. DefineSegment?: __boolean;
  4654. /**
  4655. * (Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy. Amazon Pinpoint previously used this value to assume an IAM role when importing endpoint definitions, but we removed this requirement. We don't recommend use of external IDs for IAM roles that are assumed by Amazon Pinpoint.
  4656. */
  4657. ExternalId?: __string;
  4658. /**
  4659. * The format of the files that contain the endpoint definitions to import. Valid values are: CSV, for comma-separated values format; and, JSON, for newline-delimited JSON format. If the files are stored in an Amazon S3 location and that location contains multiple files that use different formats, Amazon Pinpoint imports data only from the files that use the specified format.
  4660. */
  4661. Format: Format;
  4662. /**
  4663. * Specifies whether the import job registers the endpoints with Amazon Pinpoint, when the endpoint definitions are imported.
  4664. */
  4665. RegisterEndpoints?: __boolean;
  4666. /**
  4667. * The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to access the Amazon S3 location to import endpoint definitions from.
  4668. */
  4669. RoleArn: __string;
  4670. /**
  4671. * The URL of the Amazon Simple Storage Service (Amazon S3) bucket that contains the endpoint definitions to import. This location can be a folder or a single file. If the location is a folder, Amazon Pinpoint imports endpoint definitions from the files in this location, including any subfolders that the folder contains. The URL should be in the following format: s3://bucket-name/folder-name/file-name. The location can end with the key for an individual object or a prefix that qualifies multiple objects.
  4672. */
  4673. S3Url: __string;
  4674. /**
  4675. * The identifier for the segment that the import job updates or adds endpoint definitions to, if the import job updates an existing segment.
  4676. */
  4677. SegmentId?: __string;
  4678. /**
  4679. * The custom name for the segment that's created by the import job, if the value of the DefineSegment property is true.
  4680. */
  4681. SegmentName?: __string;
  4682. }
  4683. export interface ImportJobResponse {
  4684. /**
  4685. * The unique identifier for the application that's associated with the import job.
  4686. */
  4687. ApplicationId: __string;
  4688. /**
  4689. * The number of pieces that were processed successfully (completed) by the import job, as of the time of the request.
  4690. */
  4691. CompletedPieces?: __integer;
  4692. /**
  4693. * The date, in ISO 8601 format, when the import job was completed.
  4694. */
  4695. CompletionDate?: __string;
  4696. /**
  4697. * The date, in ISO 8601 format, when the import job was created.
  4698. */
  4699. CreationDate: __string;
  4700. /**
  4701. * The resource settings that apply to the import job.
  4702. */
  4703. Definition: ImportJobResource;
  4704. /**
  4705. * The number of pieces that weren't processed successfully (failed) by the import job, as of the time of the request.
  4706. */
  4707. FailedPieces?: __integer;
  4708. /**
  4709. * An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by the import job, if any.
  4710. */
  4711. Failures?: ListOf__string;
  4712. /**
  4713. * The unique identifier for the import job.
  4714. */
  4715. Id: __string;
  4716. /**
  4717. * The status of the import job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or more pieces in the job.
  4718. */
  4719. JobStatus: JobStatus;
  4720. /**
  4721. * The total number of endpoint definitions that weren't processed successfully (failed) by the import job, typically because an error, such as a syntax error, occurred.
  4722. */
  4723. TotalFailures?: __integer;
  4724. /**
  4725. * The total number of pieces that must be processed to complete the import job. Each piece consists of an approximately equal portion of the endpoint definitions that are part of the import job.
  4726. */
  4727. TotalPieces?: __integer;
  4728. /**
  4729. * The total number of endpoint definitions that were processed by the import job.
  4730. */
  4731. TotalProcessed?: __integer;
  4732. /**
  4733. * The job type. This value is IMPORT for import jobs.
  4734. */
  4735. Type: __string;
  4736. }
  4737. export interface ImportJobsResponse {
  4738. /**
  4739. * An array of responses, one for each import job that's associated with the application (Import Jobs resource) or segment (Segment Import Jobs resource).
  4740. */
  4741. Item: ListOfImportJobResponse;
  4742. /**
  4743. * The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
  4744. */
  4745. NextToken?: __string;
  4746. }
  4747. export interface InAppCampaignSchedule {
  4748. /**
  4749. * The scheduled time after which the in-app message should not be shown. Timestamp is in ISO 8601 format.
  4750. */
  4751. EndDate?: __string;
  4752. /**
  4753. * The event filter the SDK has to use to show the in-app message in the application.
  4754. */
  4755. EventFilter?: CampaignEventFilter;
  4756. /**
  4757. * Time during which the in-app message should not be shown to the user.
  4758. */
  4759. QuietTime?: QuietTime;
  4760. }
  4761. export interface InAppMessage {
  4762. /**
  4763. * In-app message content.
  4764. */
  4765. Content?: ListOfInAppMessageContent;
  4766. /**
  4767. * Custom config to be sent to SDK.
  4768. */
  4769. CustomConfig?: MapOf__string;
  4770. /**
  4771. * The layout of the message.
  4772. */
  4773. Layout?: Layout;
  4774. }
  4775. export interface InAppMessageBodyConfig {
  4776. /**
  4777. * The alignment of the text. Valid values: LEFT, CENTER, RIGHT.
  4778. */
  4779. Alignment: Alignment;
  4780. /**
  4781. * Message Body.
  4782. */
  4783. Body: __string;
  4784. /**
  4785. * The text color.
  4786. */
  4787. TextColor: __string;
  4788. }
  4789. export interface InAppMessageButton {
  4790. /**
  4791. * Default button content.
  4792. */
  4793. Android?: OverrideButtonConfiguration;
  4794. /**
  4795. * Default button content.
  4796. */
  4797. DefaultConfig?: DefaultButtonConfiguration;
  4798. /**
  4799. * Default button content.
  4800. */
  4801. IOS?: OverrideButtonConfiguration;
  4802. /**
  4803. * Default button content.
  4804. */
  4805. Web?: OverrideButtonConfiguration;
  4806. }
  4807. export interface InAppMessageCampaign {
  4808. /**
  4809. * Campaign id of the corresponding campaign.
  4810. */
  4811. CampaignId?: __string;
  4812. /**
  4813. * Daily cap which controls the number of times any in-app messages can be shown to the endpoint during a day.
  4814. */
  4815. DailyCap?: __integer;
  4816. /**
  4817. * In-app message content with all fields required for rendering an in-app message.
  4818. */
  4819. InAppMessage?: InAppMessage;
  4820. /**
  4821. * Priority of the in-app message.
  4822. */
  4823. Priority?: __integer;
  4824. /**
  4825. * Schedule of the campaign.
  4826. */
  4827. Schedule?: InAppCampaignSchedule;
  4828. /**
  4829. * Session cap which controls the number of times an in-app message can be shown to the endpoint during an application session.
  4830. */
  4831. SessionCap?: __integer;
  4832. /**
  4833. * Total cap which controls the number of times an in-app message can be shown to the endpoint.
  4834. */
  4835. TotalCap?: __integer;
  4836. /**
  4837. * Treatment id of the campaign.
  4838. */
  4839. TreatmentId?: __string;
  4840. }
  4841. export interface InAppMessageContent {
  4842. /**
  4843. * The background color for the message.
  4844. */
  4845. BackgroundColor?: __string;
  4846. /**
  4847. * The configuration for the message body.
  4848. */
  4849. BodyConfig?: InAppMessageBodyConfig;
  4850. /**
  4851. * The configuration for the message header.
  4852. */
  4853. HeaderConfig?: InAppMessageHeaderConfig;
  4854. /**
  4855. * The image url for the background of message.
  4856. */
  4857. ImageUrl?: __string;
  4858. /**
  4859. * The first button inside the message.
  4860. */
  4861. PrimaryBtn?: InAppMessageButton;
  4862. /**
  4863. * The second button inside message.
  4864. */
  4865. SecondaryBtn?: InAppMessageButton;
  4866. }
  4867. export interface InAppMessageHeaderConfig {
  4868. /**
  4869. * The alignment of the text. Valid values: LEFT, CENTER, RIGHT.
  4870. */
  4871. Alignment: Alignment;
  4872. /**
  4873. * Message Header.
  4874. */
  4875. Header: __string;
  4876. /**
  4877. * The text color.
  4878. */
  4879. TextColor: __string;
  4880. }
  4881. export interface InAppMessagesResponse {
  4882. /**
  4883. * List of targeted in-app message campaigns.
  4884. */
  4885. InAppMessageCampaigns?: ListOfInAppMessageCampaign;
  4886. }
  4887. export interface InAppTemplateRequest {
  4888. /**
  4889. * The content of the message, can include up to 5 modals. Each modal must contain a message, a header, and background color. ImageUrl and buttons are optional.
  4890. */
  4891. Content?: ListOfInAppMessageContent;
  4892. /**
  4893. * Custom config to be sent to client.
  4894. */
  4895. CustomConfig?: MapOf__string;
  4896. /**
  4897. * The layout of the message.
  4898. */
  4899. Layout?: Layout;
  4900. /**
  4901. * As of 22-05-2023 tags has been deprecated for update operations. After this date any value in tags is not processed and an error code is not returned. To manage tags we recommend using either Tags in the API Reference for Amazon Pinpoint, resourcegroupstaggingapi commands in the AWS Command Line Interface Documentation or resourcegroupstaggingapi in the AWS SDK. (Deprecated) A string-to-string map of key-value pairs that defines the tags to associate with the message template. Each tag consists of a required tag key and an associated tag value.
  4902. */
  4903. tags?: MapOf__string;
  4904. /**
  4905. * The description of the template.
  4906. */
  4907. TemplateDescription?: __string;
  4908. }
  4909. export interface InAppTemplateResponse {
  4910. /**
  4911. * The resource arn of the template.
  4912. */
  4913. Arn?: __string;
  4914. /**
  4915. * The content of the message, can include up to 5 modals. Each modal must contain a message, a header, and background color. ImageUrl and buttons are optional.
  4916. */
  4917. Content?: ListOfInAppMessageContent;
  4918. /**
  4919. * The creation date of the template.
  4920. */
  4921. CreationDate: __string;
  4922. /**
  4923. * Custom config to be sent to client.
  4924. */
  4925. CustomConfig?: MapOf__string;
  4926. /**
  4927. * The last modified date of the template.
  4928. */
  4929. LastModifiedDate: __string;
  4930. /**
  4931. * The layout of the message.
  4932. */
  4933. Layout?: Layout;
  4934. /**
  4935. * A string-to-string map of key-value pairs that defines the tags to associate with the message template. Each tag consists of a required tag key and an associated tag value.
  4936. */
  4937. tags?: MapOf__string;
  4938. /**
  4939. * The description of the template.
  4940. */
  4941. TemplateDescription?: __string;
  4942. /**
  4943. * The name of the template.
  4944. */
  4945. TemplateName: __string;
  4946. /**
  4947. * The type of the template.
  4948. */
  4949. TemplateType: TemplateType;
  4950. /**
  4951. * The version id of the template.
  4952. */
  4953. Version?: __string;
  4954. }
  4955. export type Include = "ALL"|"ANY"|"NONE"|string;
  4956. export interface ItemResponse {
  4957. /**
  4958. * The response that was received after the endpoint data was accepted.
  4959. */
  4960. EndpointItemResponse?: EndpointItemResponse;
  4961. /**
  4962. * A multipart response object that contains a key and a value for each event in the request. In each object, the event ID is the key and an EventItemResponse object is the value.
  4963. */
  4964. EventsItemResponse?: MapOfEventItemResponse;
  4965. }
  4966. export type JobStatus = "CREATED"|"PREPARING_FOR_INITIALIZATION"|"INITIALIZING"|"PROCESSING"|"PENDING_JOB"|"COMPLETING"|"COMPLETED"|"FAILING"|"FAILED"|string;
  4967. export interface JourneyCustomMessage {
  4968. /**
  4969. * The message content that's passed to an AWS Lambda function or to a web hook.
  4970. */
  4971. Data?: __string;
  4972. }
  4973. export interface JourneyDateRangeKpiResponse {
  4974. /**
  4975. * The unique identifier for the application that the metric applies to.
  4976. */
  4977. ApplicationId: __string;
  4978. /**
  4979. * The last date and time of the date range that was used to filter the query results, in extended ISO 8601 format. The date range is inclusive.
  4980. */
  4981. EndTime: __timestampIso8601;
  4982. /**
  4983. * The unique identifier for the journey that the metric applies to.
  4984. */
  4985. JourneyId: __string;
  4986. /**
  4987. * The name of the metric, also referred to as a key performance indicator (KPI), that the data was retrieved for. This value describes the associated metric and consists of two or more terms, which are comprised of lowercase alphanumeric characters, separated by a hyphen. For a list of possible values, see the Amazon Pinpoint Developer Guide.
  4988. */
  4989. KpiName: __string;
  4990. /**
  4991. * An array of objects that contains the results of the query. Each object contains the value for the metric and metadata about that value.
  4992. */
  4993. KpiResult: BaseKpiResult;
  4994. /**
  4995. * The string to use in a subsequent request to get the next page of results in a paginated response. This value is null for the Journey Engagement Metrics resource because the resource returns all results in a single page.
  4996. */
  4997. NextToken?: __string;
  4998. /**
  4999. * The first date and time of the date range that was used to filter the query results, in extended ISO 8601 format. The date range is inclusive.
  5000. */
  5001. StartTime: __timestampIso8601;
  5002. }
  5003. export interface JourneyEmailMessage {
  5004. /**
  5005. * The verified email address to send the email message from. The default address is the FromAddress specified for the email channel for the application.
  5006. */
  5007. FromAddress?: __string;
  5008. }
  5009. export interface JourneyExecutionActivityMetricsResponse {
  5010. /**
  5011. * The type of activity that the metric applies to. Possible values are: CONDITIONAL_SPLIT – For a yes/no split activity, which is an activity that sends participants down one of two paths in a journey. HOLDOUT – For a holdout activity, which is an activity that stops a journey for a specified percentage of participants. MESSAGE – For an email activity, which is an activity that sends an email message to participants. MULTI_CONDITIONAL_SPLIT – For a multivariate split activity, which is an activity that sends participants down one of as many as five paths in a journey. RANDOM_SPLIT – For a random split activity, which is an activity that sends specified percentages of participants down one of as many as five paths in a journey. WAIT – For a wait activity, which is an activity that waits for a certain amount of time or until a specific date and time before moving participants to the next activity in a journey.
  5012. */
  5013. ActivityType: __string;
  5014. /**
  5015. * The unique identifier for the application that the metric applies to.
  5016. */
  5017. ApplicationId: __string;
  5018. /**
  5019. * The unique identifier for the activity that the metric applies to.
  5020. */
  5021. JourneyActivityId: __string;
  5022. /**
  5023. * The unique identifier for the journey that the metric applies to.
  5024. */
  5025. JourneyId: __string;
  5026. /**
  5027. * The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated the execution status of the activity and updated the data for the metric.
  5028. */
  5029. LastEvaluatedTime: __string;
  5030. /**
  5031. * A JSON object that contains the results of the query. The results vary depending on the type of activity (ActivityType). For information about the structure and contents of the results, see the Amazon Pinpoint Developer Guide.
  5032. */
  5033. Metrics: MapOf__string;
  5034. }
  5035. export interface JourneyExecutionMetricsResponse {
  5036. /**
  5037. * The unique identifier for the application that the metric applies to.
  5038. */
  5039. ApplicationId: __string;
  5040. /**
  5041. * The unique identifier for the journey that the metric applies to.
  5042. */
  5043. JourneyId: __string;
  5044. /**
  5045. * The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated the journey and updated the data for the metric.
  5046. */
  5047. LastEvaluatedTime: __string;
  5048. /**
  5049. * A JSON object that contains the results of the query. For information about the structure and contents of the results, see the Amazon Pinpoint Developer Guide.
  5050. */
  5051. Metrics: MapOf__string;
  5052. }
  5053. export interface JourneyLimits {
  5054. /**
  5055. * The maximum number of messages that the journey can send to a single participant during a 24-hour period. The maximum value is 100.
  5056. */
  5057. DailyCap?: __integer;
  5058. /**
  5059. * The maximum number of times that a participant can enter the journey. The maximum value is 100. To allow participants to enter the journey an unlimited number of times, set this value to 0.
  5060. */
  5061. EndpointReentryCap?: __integer;
  5062. /**
  5063. * The maximum number of messages that the journey can send each second.
  5064. */
  5065. MessagesPerSecond?: __integer;
  5066. /**
  5067. * Minimum time that must pass before an endpoint can re-enter a given journey. The duration should use an ISO 8601 format, such as PT1H.
  5068. */
  5069. EndpointReentryInterval?: __string;
  5070. /**
  5071. * The number of messages that an endpoint can receive during the specified timeframe.
  5072. */
  5073. TimeframeCap?: JourneyTimeframeCap;
  5074. /**
  5075. * The maximum number of messages a journey can sent to a single endpoint. The maximum value is 100. If set to 0, this limit will not apply.
  5076. */
  5077. TotalCap?: __integer;
  5078. }
  5079. export interface JourneyPushMessage {
  5080. /**
  5081. * The number of seconds that the push notification service should keep the message, if the service is unable to deliver the notification the first time. This value is converted to an expiration value when it's sent to a push-notification service. If this value is 0, the service treats the notification as if it expires immediately and the service doesn't store or try to deliver the notification again. This value doesn't apply to messages that are sent through the Amazon Device Messaging (ADM) service.
  5082. */
  5083. TimeToLive?: __string;
  5084. }
  5085. export interface JourneyChannelSettings {
  5086. /**
  5087. * Amazon Resource Name (ARN) of the Connect Campaign.
  5088. */
  5089. ConnectCampaignArn?: __string;
  5090. /**
  5091. * IAM role ARN to be assumed when invoking Connect campaign execution APIs for dialing.
  5092. */
  5093. ConnectCampaignExecutionRoleArn?: __string;
  5094. }
  5095. export interface JourneyResponse {
  5096. /**
  5097. * A map that contains a set of Activity objects, one object for each activity in the journey. For each Activity object, the key is the unique identifier (string) for an activity and the value is the settings for the activity.
  5098. */
  5099. Activities?: MapOfActivity;
  5100. /**
  5101. * The unique identifier for the application that the journey applies to.
  5102. */
  5103. ApplicationId: __string;
  5104. /**
  5105. * The date, in ISO 8601 format, when the journey was created.
  5106. */
  5107. CreationDate?: __string;
  5108. /**
  5109. * The unique identifier for the journey.
  5110. */
  5111. Id: __string;
  5112. /**
  5113. * The date, in ISO 8601 format, when the journey was last modified.
  5114. */
  5115. LastModifiedDate?: __string;
  5116. /**
  5117. * The messaging and entry limits for the journey.
  5118. */
  5119. Limits?: JourneyLimits;
  5120. /**
  5121. * Specifies whether the journey's scheduled start and end times use each participant's local time. If this value is true, the schedule uses each participant's local time.
  5122. */
  5123. LocalTime?: __boolean;
  5124. /**
  5125. * The name of the journey.
  5126. */
  5127. Name: __string;
  5128. /**
  5129. * The quiet time settings for the journey. Quiet time is a specific time range when a journey doesn't send messages to participants, if all the following conditions are met: The EndpointDemographic.Timezone property of the endpoint for the participant is set to a valid value. The current time in the participant's time zone is later than or equal to the time specified by the QuietTime.Start property for the journey. The current time in the participant's time zone is earlier than or equal to the time specified by the QuietTime.End property for the journey. If any of the preceding conditions isn't met, the participant will receive messages from the journey, even if quiet time is enabled.
  5130. */
  5131. QuietTime?: QuietTime;
  5132. /**
  5133. * The frequency with which Amazon Pinpoint evaluates segment and event data for the journey, as a duration in ISO 8601 format.
  5134. */
  5135. RefreshFrequency?: __string;
  5136. /**
  5137. * The schedule settings for the journey.
  5138. */
  5139. Schedule?: JourneySchedule;
  5140. /**
  5141. * The unique identifier for the first activity in the journey.
  5142. */
  5143. StartActivity?: __string;
  5144. /**
  5145. * The segment that defines which users are participants in the journey.
  5146. */
  5147. StartCondition?: StartCondition;
  5148. /**
  5149. * The current status of the journey. Possible values are: DRAFT - The journey is being developed and hasn't been published yet. ACTIVE - The journey has been developed and published. Depending on the journey's schedule, the journey may currently be running or scheduled to start running at a later time. If a journey's status is ACTIVE, you can't add, change, or remove activities from it. COMPLETED - The journey has been published and has finished running. All participants have entered the journey and no participants are waiting to complete the journey or any activities in the journey. CANCELLED - The journey has been stopped. If a journey's status is CANCELLED, you can't add, change, or remove activities or segment settings from the journey. CLOSED - The journey has been published and has started running. It may have also passed its scheduled end time, or passed its scheduled start time and a refresh frequency hasn't been specified for it. If a journey's status is CLOSED, you can't add participants to it, and no existing participants can enter the journey for the first time. However, any existing participants who are currently waiting to start an activity may continue the journey.
  5150. */
  5151. State?: State;
  5152. /**
  5153. * This object is not used or supported.
  5154. */
  5155. tags?: MapOf__string;
  5156. /**
  5157. * Indicates whether endpoints in quiet hours should enter a wait activity until quiet hours have elapsed.
  5158. */
  5159. WaitForQuietTime?: __boolean;
  5160. /**
  5161. * Indicates whether the journey participants should be refreshed when a segment is updated.
  5162. */
  5163. RefreshOnSegmentUpdate?: __boolean;
  5164. /**
  5165. * The channel-specific configurations for the journey.
  5166. */
  5167. JourneyChannelSettings?: JourneyChannelSettings;
  5168. /**
  5169. * Indicates if journey has Advance Quiet Time enabled. This flag should be set to true in order to allow using OpenHours and ClosedDays.
  5170. */
  5171. SendingSchedule?: __boolean;
  5172. /**
  5173. * The time when a journey can send messages. QuietTime should be configured first and SendingSchedule should be set to true.
  5174. */
  5175. OpenHours?: OpenHours;
  5176. /**
  5177. * The time when a journey will not send messages. QuietTime should be configured first and SendingSchedule should be set to true.
  5178. */
  5179. ClosedDays?: ClosedDays;
  5180. /**
  5181. * An array of time zone estimation methods, if any, to use for determining an Endpoints time zone if the Endpoint does not have a value for the Demographic.Timezone attribute. PHONE_NUMBER - A time zone is determined based on the Endpoint.Address and Endpoint.Location.Country. POSTAL_CODE - A time zone is determined based on the Endpoint.Location.PostalCode and Endpoint.Location.Country. POSTAL_CODE detection is only supported in the United States, United Kingdom, Australia, New Zealand, Canada, France, Italy, Spain, Germany and in regions where Amazon Pinpoint is available.
  5182. */
  5183. TimezoneEstimationMethods?: ListOf__TimezoneEstimationMethodsElement;
  5184. }
  5185. export interface JourneyRunExecutionActivityMetricsResponse {
  5186. /**
  5187. * The type of activity that the metric applies to. Possible values are: CONDITIONAL_SPLIT – For a yes/no split activity, which is an activity that sends participants down one of two paths in a journey. HOLDOUT – For a holdout activity, which is an activity that stops a journey for a specified percentage of participants. MESSAGE – For an email activity, which is an activity that sends an email message to participants. MULTI_CONDITIONAL_SPLIT – For a multivariate split activity, which is an activity that sends participants down one of as many as five paths in a journey. RANDOM_SPLIT – For a random split activity, which is an activity that sends specified percentages of participants down one of as many as five paths in a journey. WAIT – For a wait activity, which is an activity that waits for a certain amount of time or until a specific date and time before moving participants to the next activity in a journey.
  5188. */
  5189. ActivityType: __string;
  5190. /**
  5191. * The unique identifier for the application that the metric applies to.
  5192. */
  5193. ApplicationId: __string;
  5194. /**
  5195. * The unique identifier for the activity that the metric applies to.
  5196. */
  5197. JourneyActivityId: __string;
  5198. /**
  5199. * The unique identifier for the journey that the metric applies to.
  5200. */
  5201. JourneyId: __string;
  5202. /**
  5203. * The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated the execution status of the activity for this journey run and updated the data for the metric.
  5204. */
  5205. LastEvaluatedTime: __string;
  5206. /**
  5207. * A JSON object that contains the results of the query. For information about the structure and contents of the results, see see Standard Amazon Pinpoint analytics metrics in the Amazon Pinpoint Developer Guide.
  5208. */
  5209. Metrics: MapOf__string;
  5210. /**
  5211. * The unique identifier for the journey run that the metric applies to.
  5212. */
  5213. RunId: __string;
  5214. }
  5215. export interface JourneyRunExecutionMetricsResponse {
  5216. /**
  5217. * The unique identifier for the application that the metric applies to.
  5218. */
  5219. ApplicationId: __string;
  5220. /**
  5221. * The unique identifier for the journey that the metric applies to.
  5222. */
  5223. JourneyId: __string;
  5224. /**
  5225. * The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated the journey run and updated the data for the metric.
  5226. */
  5227. LastEvaluatedTime: __string;
  5228. /**
  5229. * A JSON object that contains the results of the query. For information about the structure and contents of the results, see the Standard Amazon Pinpoint analytics metrics in the Amazon Pinpoint Developer Guide.
  5230. */
  5231. Metrics: MapOf__string;
  5232. /**
  5233. * The unique identifier for the journey run that the metric applies to.
  5234. */
  5235. RunId: __string;
  5236. }
  5237. export interface JourneyRunResponse {
  5238. /**
  5239. * The time when the journey run was created or scheduled, in ISO 8601 format.
  5240. */
  5241. CreationTime: __string;
  5242. /**
  5243. * The last time the journey run was updated, in ISO 8601 format..
  5244. */
  5245. LastUpdateTime: __string;
  5246. /**
  5247. * The unique identifier for the run.
  5248. */
  5249. RunId: __string;
  5250. /**
  5251. * The current status of the journey run.
  5252. */
  5253. Status: JourneyRunStatus;
  5254. }
  5255. export interface JourneyRunsResponse {
  5256. /**
  5257. * An array of responses, one for each run of the journey
  5258. */
  5259. Item: ListOfJourneyRunResponse;
  5260. /**
  5261. * The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
  5262. */
  5263. NextToken?: __string;
  5264. }
  5265. export type JourneyRunStatus = "SCHEDULED"|"RUNNING"|"COMPLETED"|"CANCELLED"|string;
  5266. export interface JourneySMSMessage {
  5267. /**
  5268. * The SMS message type. Valid values are TRANSACTIONAL (for messages that are critical or time-sensitive, such as a one-time passwords) and PROMOTIONAL (for messsages that aren't critical or time-sensitive, such as marketing messages).
  5269. */
  5270. MessageType?: MessageType;
  5271. /**
  5272. * The long code to send the SMS message from. This value should be one of the dedicated long codes that's assigned to your AWS account. Although it isn't required, we recommend that you specify the long code using an E.164 format to ensure prompt and accurate delivery of the message. For example, +12065550100.
  5273. */
  5274. OriginationNumber?: __string;
  5275. /**
  5276. * The sender ID to display as the sender of the message on a recipient's device. Support for sender IDs varies by country or region. For more information, see Supported Countries and Regions in the Amazon Pinpoint User Guide.
  5277. */
  5278. SenderId?: __string;
  5279. /**
  5280. * The entity ID or Principal Entity (PE) id received from the regulatory body for sending SMS in your country.
  5281. */
  5282. EntityId?: __string;
  5283. /**
  5284. * The template ID received from the regulatory body for sending SMS in your country.
  5285. */
  5286. TemplateId?: __string;
  5287. }
  5288. export interface JourneySchedule {
  5289. /**
  5290. * The scheduled time, in ISO 8601 format, when the journey ended or will end.
  5291. */
  5292. EndTime?: __timestampIso8601;
  5293. /**
  5294. * The scheduled time, in ISO 8601 format, when the journey began or will begin.
  5295. */
  5296. StartTime?: __timestampIso8601;
  5297. /**
  5298. * The starting UTC offset for the journey schedule, if the value of the journey's LocalTime property is true. Valid values are: UTC,
  5299. UTC+01, UTC+02, UTC+03, UTC+03:30, UTC+04, UTC+04:30, UTC+05, UTC+05:30,
  5300. UTC+05:45, UTC+06, UTC+06:30, UTC+07, UTC+08, UTC+08:45, UTC+09, UTC+09:30,
  5301. UTC+10, UTC+10:30, UTC+11, UTC+12, UTC+12:45, UTC+13, UTC+13:45, UTC-02,
  5302. UTC-02:30, UTC-03, UTC-03:30, UTC-04, UTC-05, UTC-06, UTC-07, UTC-08, UTC-09,
  5303. UTC-09:30, UTC-10, and UTC-11.
  5304. */
  5305. Timezone?: __string;
  5306. }
  5307. export interface JourneyStateRequest {
  5308. /**
  5309. * The status of the journey. Currently, Supported values are ACTIVE, PAUSED, and CANCELLED If you cancel a journey, Amazon Pinpoint continues to perform activities that are currently in progress, until those activities are complete. Amazon Pinpoint also continues to collect and aggregate analytics data for those activities, until they are complete, and any activities that were complete when you cancelled the journey. After you cancel a journey, you can't add, change, or remove any activities from the journey. In addition, Amazon Pinpoint stops evaluating the journey and doesn't perform any activities that haven't started. When the journey is paused, Amazon Pinpoint continues to perform activities that are currently in progress, until those activities are complete. Endpoints will stop entering journeys when the journey is paused and will resume entering the journey after the journey is resumed. For wait activities, wait time is paused when the journey is paused. Currently, PAUSED only supports journeys with a segment refresh interval.
  5310. */
  5311. State?: State;
  5312. }
  5313. export interface JourneyTimeframeCap {
  5314. /**
  5315. * The maximum number of messages that all journeys can send to an endpoint during the specified timeframe. The maximum value is 100. If set to 0, this limit will not apply.
  5316. */
  5317. Cap?: __integer;
  5318. /**
  5319. * The length of the timeframe in days. The maximum value is 30. If set to 0, this limit will not apply.
  5320. */
  5321. Days?: __integer;
  5322. }
  5323. export interface JourneysResponse {
  5324. /**
  5325. * An array of responses, one for each journey that's associated with the application.
  5326. */
  5327. Item: ListOfJourneyResponse;
  5328. /**
  5329. * The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
  5330. */
  5331. NextToken?: __string;
  5332. }
  5333. export type Layout = "BOTTOM_BANNER"|"TOP_BANNER"|"OVERLAYS"|"MOBILE_FEED"|"MIDDLE_BANNER"|"CAROUSEL"|string;
  5334. export interface ListJourneysRequest {
  5335. /**
  5336. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  5337. */
  5338. ApplicationId: __string;
  5339. /**
  5340. * The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  5341. */
  5342. PageSize?: __string;
  5343. /**
  5344. * The NextToken string that specifies which page of results to return in a paginated response.
  5345. */
  5346. Token?: __string;
  5347. }
  5348. export interface ListJourneysResponse {
  5349. JourneysResponse: JourneysResponse;
  5350. }
  5351. export interface ListRecommenderConfigurationsResponse {
  5352. /**
  5353. * An array of responses, one for each recommender model configuration that's associated with your Amazon Pinpoint account.
  5354. */
  5355. Item: ListOfRecommenderConfigurationResponse;
  5356. /**
  5357. * The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
  5358. */
  5359. NextToken?: __string;
  5360. }
  5361. export interface ListTagsForResourceRequest {
  5362. /**
  5363. * The Amazon Resource Name (ARN) of the resource.
  5364. */
  5365. ResourceArn: __string;
  5366. }
  5367. export interface ListTagsForResourceResponse {
  5368. TagsModel: TagsModel;
  5369. }
  5370. export interface ListTemplateVersionsRequest {
  5371. /**
  5372. * The string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  5373. */
  5374. NextToken?: __string;
  5375. /**
  5376. * The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  5377. */
  5378. PageSize?: __string;
  5379. /**
  5380. * The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
  5381. */
  5382. TemplateName: __string;
  5383. /**
  5384. * The type of channel that the message template is designed for. Valid values are: EMAIL, PUSH, SMS, and VOICE.
  5385. */
  5386. TemplateType: __string;
  5387. }
  5388. export interface ListTemplateVersionsResponse {
  5389. TemplateVersionsResponse: TemplateVersionsResponse;
  5390. }
  5391. export interface ListTemplatesRequest {
  5392. /**
  5393. * The string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  5394. */
  5395. NextToken?: __string;
  5396. /**
  5397. * The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
  5398. */
  5399. PageSize?: __string;
  5400. /**
  5401. * The substring to match in the names of the message templates to include in the results. If you specify this value, Amazon Pinpoint returns only those templates whose names begin with the value that you specify.
  5402. */
  5403. Prefix?: __string;
  5404. /**
  5405. * The type of message template to include in the results. Valid values are: EMAIL, PUSH, SMS, and VOICE. To include all types of templates in the results, don't include this parameter in your request.
  5406. */
  5407. TemplateType?: __string;
  5408. }
  5409. export interface ListTemplatesResponse {
  5410. TemplatesResponse: TemplatesResponse;
  5411. }
  5412. export interface Message {
  5413. /**
  5414. * The action to occur if a recipient taps the push notification. Valid values are: OPEN_APP - Your app opens or it becomes the foreground app if it was sent to the background. This is the default action. DEEP_LINK - Your app opens and displays a designated user interface in the app. This setting uses the deep-linking features of iOS and Android. URL - The default mobile browser on the recipient's device opens and loads the web page at a URL that you specify.
  5415. */
  5416. Action?: Action;
  5417. /**
  5418. * The body of the notification message. The maximum number of characters is 200.
  5419. */
  5420. Body?: __string;
  5421. /**
  5422. * The URL of the image to display as the push-notification icon, such as the icon for the app.
  5423. */
  5424. ImageIconUrl?: __string;
  5425. /**
  5426. * The URL of the image to display as the small, push-notification icon, such as a small version of the icon for the app.
  5427. */
  5428. ImageSmallIconUrl?: __string;
  5429. /**
  5430. * The URL of an image to display in the push notification.
  5431. */
  5432. ImageUrl?: __string;
  5433. /**
  5434. * The JSON payload to use for a silent push notification.
  5435. */
  5436. JsonBody?: __string;
  5437. /**
  5438. * The URL of the image or video to display in the push notification.
  5439. */
  5440. MediaUrl?: __string;
  5441. /**
  5442. * The raw, JSON-formatted string to use as the payload for the notification message. If specified, this value overrides all other content for the message.
  5443. */
  5444. RawContent?: __string;
  5445. /**
  5446. * Specifies whether the notification is a silent push notification, which is a push notification that doesn't display on a recipient's device. Silent push notifications can be used for cases such as updating an app's configuration, displaying messages in an in-app message center, or supporting phone home functionality.
  5447. */
  5448. SilentPush?: __boolean;
  5449. /**
  5450. * The number of seconds that the push-notification service should keep the message, if the service is unable to deliver the notification the first time. This value is converted to an expiration value when it's sent to a push-notification service. If this value is 0, the service treats the notification as if it expires immediately and the service doesn't store or try to deliver the notification again. This value doesn't apply to messages that are sent through the Amazon Device Messaging (ADM) service.
  5451. */
  5452. TimeToLive?: __integer;
  5453. /**
  5454. * The title to display above the notification message on a recipient's device.
  5455. */
  5456. Title?: __string;
  5457. /**
  5458. * The URL to open in a recipient's default mobile browser, if a recipient taps the push notification and the value of the Action property is URL.
  5459. */
  5460. Url?: __string;
  5461. }
  5462. export interface MessageBody {
  5463. /**
  5464. * The message that's returned from the API.
  5465. */
  5466. Message?: __string;
  5467. /**
  5468. * The unique identifier for the request or response.
  5469. */
  5470. RequestID?: __string;
  5471. }
  5472. export interface MessageConfiguration {
  5473. /**
  5474. * The message that the campaign sends through the ADM (Amazon Device Messaging) channel. If specified, this message overrides the default message.
  5475. */
  5476. ADMMessage?: Message;
  5477. /**
  5478. * The message that the campaign sends through the APNs (Apple Push Notification service) channel. If specified, this message overrides the default message.
  5479. */
  5480. APNSMessage?: Message;
  5481. /**
  5482. * The message that the campaign sends through the Baidu (Baidu Cloud Push) channel. If specified, this message overrides the default message.
  5483. */
  5484. BaiduMessage?: Message;
  5485. /**
  5486. * The message that the campaign sends through a custom channel, as specified by the delivery configuration (CustomDeliveryConfiguration) settings for the campaign. If specified, this message overrides the default message.
  5487. */
  5488. CustomMessage?: CampaignCustomMessage;
  5489. /**
  5490. * The default message that the campaign sends through all the channels that are configured for the campaign.
  5491. */
  5492. DefaultMessage?: Message;
  5493. /**
  5494. * The message that the campaign sends through the email channel. If specified, this message overrides the default message.
  5495. */
  5496. EmailMessage?: CampaignEmailMessage;
  5497. /**
  5498. * The message that the campaign sends through the GCM channel, which enables Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. If specified, this message overrides the default message.
  5499. */
  5500. GCMMessage?: Message;
  5501. /**
  5502. * The message that the campaign sends through the SMS channel. If specified, this message overrides the default message.
  5503. */
  5504. SMSMessage?: CampaignSmsMessage;
  5505. /**
  5506. * The in-app message configuration.
  5507. */
  5508. InAppMessage?: CampaignInAppMessage;
  5509. }
  5510. export interface MessageRequest {
  5511. /**
  5512. * A map of key-value pairs, where each key is an address and each value is an AddressConfiguration object. An address can be a push notification token, a phone number, or an email address. You can use an AddressConfiguration object to tailor the message for an address by specifying settings such as content overrides and message variables.
  5513. */
  5514. Addresses?: MapOfAddressConfiguration;
  5515. /**
  5516. * A map of custom attributes to attach to the message. For a push notification, this payload is added to the data.pinpoint object. For an email or text message, this payload is added to email/SMS delivery receipt event attributes.
  5517. */
  5518. Context?: MapOf__string;
  5519. /**
  5520. * A map of key-value pairs, where each key is an endpoint ID and each value is an EndpointSendConfiguration object. You can use an EndpointSendConfiguration object to tailor the message for an endpoint by specifying settings such as content overrides and message variables.
  5521. */
  5522. Endpoints?: MapOfEndpointSendConfiguration;
  5523. /**
  5524. * The settings and content for the default message and any default messages that you defined for specific channels.
  5525. */
  5526. MessageConfiguration: DirectMessageConfiguration;
  5527. /**
  5528. * The message template to use for the message.
  5529. */
  5530. TemplateConfiguration?: TemplateConfiguration;
  5531. /**
  5532. * The unique identifier for tracing the message. This identifier is visible to message recipients.
  5533. */
  5534. TraceId?: __string;
  5535. }
  5536. export interface MessageResponse {
  5537. /**
  5538. * The unique identifier for the application that was used to send the message.
  5539. */
  5540. ApplicationId: __string;
  5541. /**
  5542. * A map that contains a multipart response for each address that the message was sent to. In the map, the endpoint ID is the key and the result is the value.
  5543. */
  5544. EndpointResult?: MapOfEndpointMessageResult;
  5545. /**
  5546. * The identifier for the original request that the message was delivered for.
  5547. */
  5548. RequestId?: __string;
  5549. /**
  5550. * A map that contains a multipart response for each address (email address, phone number, or push notification token) that the message was sent to. In the map, the address is the key and the result is the value.
  5551. */
  5552. Result?: MapOfMessageResult;
  5553. }
  5554. export interface MessageResult {
  5555. /**
  5556. * The delivery status of the message. Possible values are: DUPLICATE - The endpoint address is a duplicate of another endpoint address. Amazon Pinpoint won't attempt to send the message again. OPT_OUT - The user who's associated with the endpoint address has opted out of receiving messages from you. Amazon Pinpoint won't attempt to send the message again. PERMANENT_FAILURE - An error occurred when delivering the message to the endpoint address. Amazon Pinpoint won't attempt to send the message again. SUCCESSFUL - The message was successfully delivered to the endpoint address. TEMPORARY_FAILURE - A temporary error occurred. Amazon Pinpoint won't attempt to send the message again. THROTTLED - Amazon Pinpoint throttled the operation to send the message to the endpoint address. UNKNOWN_FAILURE - An unknown error occurred.
  5557. */
  5558. DeliveryStatus: DeliveryStatus;
  5559. /**
  5560. * The unique identifier for the message that was sent.
  5561. */
  5562. MessageId?: __string;
  5563. /**
  5564. * The downstream service status code for delivering the message.
  5565. */
  5566. StatusCode: __integer;
  5567. /**
  5568. * The status message for delivering the message.
  5569. */
  5570. StatusMessage?: __string;
  5571. /**
  5572. * For push notifications that are sent through the GCM channel, specifies whether the endpoint's device registration token was updated as part of delivering the message.
  5573. */
  5574. UpdatedToken?: __string;
  5575. }
  5576. export type MessageType = "TRANSACTIONAL"|"PROMOTIONAL"|string;
  5577. export interface MetricDimension {
  5578. /**
  5579. * The operator to use when comparing metric values. Valid values are: GREATER_THAN, LESS_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN_OR_EQUAL, and EQUAL.
  5580. */
  5581. ComparisonOperator: __string;
  5582. /**
  5583. * The value to compare.
  5584. */
  5585. Value: __double;
  5586. }
  5587. export type Mode = "DELIVERY"|"FILTER"|string;
  5588. export interface MultiConditionalBranch {
  5589. /**
  5590. * The condition to evaluate for the activity path.
  5591. */
  5592. Condition?: SimpleCondition;
  5593. /**
  5594. * The unique identifier for the next activity to perform, after completing the activity for the path.
  5595. */
  5596. NextActivity?: __string;
  5597. }
  5598. export interface MultiConditionalSplitActivity {
  5599. /**
  5600. * The paths for the activity, including the conditions for entering each path and the activity to perform for each path.
  5601. */
  5602. Branches?: ListOfMultiConditionalBranch;
  5603. /**
  5604. * The unique identifier for the activity to perform for participants who don't meet any of the conditions specified for other paths in the activity.
  5605. */
  5606. DefaultActivity?: __string;
  5607. /**
  5608. * The amount of time to wait or the date and time when Amazon Pinpoint determines whether the conditions are met.
  5609. */
  5610. EvaluationWaitTime?: WaitTime;
  5611. }
  5612. export interface NumberValidateRequest {
  5613. /**
  5614. * The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was originally registered.
  5615. */
  5616. IsoCountryCode?: __string;
  5617. /**
  5618. * The phone number to retrieve information about. The phone number that you provide should include a valid numeric country code. Otherwise, the operation might result in an error.
  5619. */
  5620. PhoneNumber?: __string;
  5621. }
  5622. export interface NumberValidateResponse {
  5623. /**
  5624. * The carrier or service provider that the phone number is currently registered with. In some countries and regions, this value may be the carrier or service provider that the phone number was originally registered with.
  5625. */
  5626. Carrier?: __string;
  5627. /**
  5628. * The name of the city where the phone number was originally registered.
  5629. */
  5630. City?: __string;
  5631. /**
  5632. * The cleansed phone number, in E.164 format, for the location where the phone number was originally registered.
  5633. */
  5634. CleansedPhoneNumberE164?: __string;
  5635. /**
  5636. * The cleansed phone number, in the format for the location where the phone number was originally registered.
  5637. */
  5638. CleansedPhoneNumberNational?: __string;
  5639. /**
  5640. * The name of the country or region where the phone number was originally registered.
  5641. */
  5642. Country?: __string;
  5643. /**
  5644. * The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was originally registered.
  5645. */
  5646. CountryCodeIso2?: __string;
  5647. /**
  5648. * The numeric code for the country or region where the phone number was originally registered.
  5649. */
  5650. CountryCodeNumeric?: __string;
  5651. /**
  5652. * The name of the county where the phone number was originally registered.
  5653. */
  5654. County?: __string;
  5655. /**
  5656. * The two-character code, in ISO 3166-1 alpha-2 format, that was sent in the request body.
  5657. */
  5658. OriginalCountryCodeIso2?: __string;
  5659. /**
  5660. * The phone number that was sent in the request body.
  5661. */
  5662. OriginalPhoneNumber?: __string;
  5663. /**
  5664. * The description of the phone type. Valid values are: MOBILE, LANDLINE, VOIP,
  5665. INVALID, PREPAID, and OTHER.
  5666. */
  5667. PhoneType?: __string;
  5668. /**
  5669. * The phone type, represented by an integer. Valid values are: 0 (mobile), 1 (landline), 2 (VoIP), 3 (invalid), 4 (other), and 5 (prepaid).
  5670. */
  5671. PhoneTypeCode?: __integer;
  5672. /**
  5673. * The time zone for the location where the phone number was originally registered.
  5674. */
  5675. Timezone?: __string;
  5676. /**
  5677. * The postal or ZIP code for the location where the phone number was originally registered.
  5678. */
  5679. ZipCode?: __string;
  5680. }
  5681. export type Operator = "ALL"|"ANY"|string;
  5682. export interface OverrideButtonConfiguration {
  5683. /**
  5684. * Action triggered by the button.
  5685. */
  5686. ButtonAction: ButtonAction;
  5687. /**
  5688. * Button destination.
  5689. */
  5690. Link?: __string;
  5691. }
  5692. export interface PhoneNumberValidateRequest {
  5693. NumberValidateRequest: NumberValidateRequest;
  5694. }
  5695. export interface PhoneNumberValidateResponse {
  5696. NumberValidateResponse: NumberValidateResponse;
  5697. }
  5698. export interface PublicEndpoint {
  5699. /**
  5700. * The unique identifier for the recipient, such as a device token, email address, or mobile phone number.
  5701. */
  5702. Address?: __string;
  5703. /**
  5704. * One or more custom attributes that describe the endpoint by associating a name with an array of values. You can use these attributes as filter criteria when you create segments.
  5705. */
  5706. Attributes?: MapOfListOf__string;
  5707. /**
  5708. * The channel that's used when sending messages or push notifications to the endpoint.
  5709. */
  5710. ChannelType?: ChannelType;
  5711. /**
  5712. * The demographic information for the endpoint, such as the time zone and platform.
  5713. */
  5714. Demographic?: EndpointDemographic;
  5715. /**
  5716. * The date and time, in ISO 8601 format, when the endpoint was last updated.
  5717. */
  5718. EffectiveDate?: __string;
  5719. /**
  5720. * Specifies whether to send messages or push notifications to the endpoint. Valid values are: ACTIVE, messages are sent to the endpoint; and, INACTIVE, messages aren’t sent to the endpoint. Amazon Pinpoint automatically sets this value to ACTIVE when you create an endpoint or update an existing endpoint. Amazon Pinpoint automatically sets this value to INACTIVE if you update another endpoint that has the same address specified by the Address property.
  5721. */
  5722. EndpointStatus?: __string;
  5723. /**
  5724. * The geographic information for the endpoint.
  5725. */
  5726. Location?: EndpointLocation;
  5727. /**
  5728. * One or more custom metrics that your app reports to Amazon Pinpoint for the endpoint.
  5729. */
  5730. Metrics?: MapOf__double;
  5731. /**
  5732. * Specifies whether the user who's associated with the endpoint has opted out of receiving messages and push notifications from you. Possible values are: ALL, the user has opted out and doesn't want to receive any messages or push notifications; and, NONE, the user hasn't opted out and wants to receive all messages and push notifications.
  5733. */
  5734. OptOut?: __string;
  5735. /**
  5736. * A unique identifier that's generated each time the endpoint is updated.
  5737. */
  5738. RequestId?: __string;
  5739. /**
  5740. * One or more custom user attributes that your app reports to Amazon Pinpoint for the user who's associated with the endpoint.
  5741. */
  5742. User?: EndpointUser;
  5743. }
  5744. export interface PushMessageActivity {
  5745. /**
  5746. * Specifies the time to live (TTL) value for push notifications that are sent to participants in a journey.
  5747. */
  5748. MessageConfig?: JourneyPushMessage;
  5749. /**
  5750. * The unique identifier for the next activity to perform, after the message is sent.
  5751. */
  5752. NextActivity?: __string;
  5753. /**
  5754. * The name of the push notification template to use for the message. If specified, this value must match the name of an existing message template.
  5755. */
  5756. TemplateName?: __string;
  5757. /**
  5758. * The unique identifier for the version of the push notification template to use for the message. If specified, this value must match the identifier for an existing template version. To retrieve a list of versions and version identifiers for a template, use the Template Versions resource. If you don't specify a value for this property, Amazon Pinpoint uses the active version of the template. The active version is typically the version of a template that's been most recently reviewed and approved for use, depending on your workflow. It isn't necessarily the latest version of a template.
  5759. */
  5760. TemplateVersion?: __string;
  5761. }
  5762. export interface PushNotificationTemplateRequest {
  5763. /**
  5764. * The message template to use for the ADM (Amazon Device Messaging) channel. This message template overrides the default template for push notification channels (DefaultPushNotificationTemplate).
  5765. */
  5766. ADM?: AndroidPushNotificationTemplate;
  5767. /**
  5768. * The message template to use for the APNs (Apple Push Notification service) channel. This message template overrides the default template for push notification channels (DefaultPushNotificationTemplate).
  5769. */
  5770. APNS?: APNSPushNotificationTemplate;
  5771. /**
  5772. * The message template to use for the Baidu (Baidu Cloud Push) channel. This message template overrides the default template for push notification channels (DefaultPushNotificationTemplate).
  5773. */
  5774. Baidu?: AndroidPushNotificationTemplate;
  5775. /**
  5776. * The default message template to use for push notification channels.
  5777. */
  5778. Default?: DefaultPushNotificationTemplate;
  5779. /**
  5780. * A JSON object that specifies the default values to use for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable. When you create a message that's based on the template, you can override these defaults with message-specific and address-specific variables and values.
  5781. */
  5782. DefaultSubstitutions?: __string;
  5783. /**
  5784. * The message template to use for the GCM channel, which is used to send notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. This message template overrides the default template for push notification channels (DefaultPushNotificationTemplate).
  5785. */
  5786. GCM?: AndroidPushNotificationTemplate;
  5787. /**
  5788. * The unique identifier for the recommender model to use for the message template. Amazon Pinpoint uses this value to determine how to retrieve and process data from a recommender model when it sends messages that use the template, if the template contains message variables for recommendation data.
  5789. */
  5790. RecommenderId?: __string;
  5791. /**
  5792. * As of 22-05-2023 tags has been deprecated for update operations. After this date any value in tags is not processed and an error code is not returned. To manage tags we recommend using either Tags in the API Reference for Amazon Pinpoint, resourcegroupstaggingapi commands in the AWS Command Line Interface Documentation or resourcegroupstaggingapi in the AWS SDK. (Deprecated) A string-to-string map of key-value pairs that defines the tags to associate with the message template. Each tag consists of a required tag key and an associated tag value.
  5793. */
  5794. tags?: MapOf__string;
  5795. /**
  5796. * A custom description of the message template.
  5797. */
  5798. TemplateDescription?: __string;
  5799. }
  5800. export interface PushNotificationTemplateResponse {
  5801. /**
  5802. * The message template that's used for the ADM (Amazon Device Messaging) channel. This message template overrides the default template for push notification channels (DefaultPushNotificationTemplate).
  5803. */
  5804. ADM?: AndroidPushNotificationTemplate;
  5805. /**
  5806. * The message template that's used for the APNs (Apple Push Notification service) channel. This message template overrides the default template for push notification channels (DefaultPushNotificationTemplate).
  5807. */
  5808. APNS?: APNSPushNotificationTemplate;
  5809. /**
  5810. * The Amazon Resource Name (ARN) of the message template.
  5811. */
  5812. Arn?: __string;
  5813. /**
  5814. * The message template that's used for the Baidu (Baidu Cloud Push) channel. This message template overrides the default template for push notification channels (DefaultPushNotificationTemplate).
  5815. */
  5816. Baidu?: AndroidPushNotificationTemplate;
  5817. /**
  5818. * The date, in ISO 8601 format, when the message template was created.
  5819. */
  5820. CreationDate: __string;
  5821. /**
  5822. * The default message template that's used for push notification channels.
  5823. */
  5824. Default?: DefaultPushNotificationTemplate;
  5825. /**
  5826. * The JSON object that specifies the default values that are used for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable.
  5827. */
  5828. DefaultSubstitutions?: __string;
  5829. /**
  5830. * The message template that's used for the GCM channel, which is used to send notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. This message template overrides the default template for push notification channels (DefaultPushNotificationTemplate).
  5831. */
  5832. GCM?: AndroidPushNotificationTemplate;
  5833. /**
  5834. * The date, in ISO 8601 format, when the message template was last modified.
  5835. */
  5836. LastModifiedDate: __string;
  5837. /**
  5838. * The unique identifier for the recommender model that's used by the message template.
  5839. */
  5840. RecommenderId?: __string;
  5841. /**
  5842. * A string-to-string map of key-value pairs that identifies the tags that are associated with the message template. Each tag consists of a required tag key and an associated tag value.
  5843. */
  5844. tags?: MapOf__string;
  5845. /**
  5846. * The custom description of the message template.
  5847. */
  5848. TemplateDescription?: __string;
  5849. /**
  5850. * The name of the message template.
  5851. */
  5852. TemplateName: __string;
  5853. /**
  5854. * The type of channel that the message template is designed for. For a push notification template, this value is PUSH.
  5855. */
  5856. TemplateType: TemplateType;
  5857. /**
  5858. * The unique identifier, as an integer, for the active version of the message template, or the version of the template that you specified by using the version parameter in your request.
  5859. */
  5860. Version?: __string;
  5861. }
  5862. export interface PutEventStreamRequest {
  5863. /**
  5864. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  5865. */
  5866. ApplicationId: __string;
  5867. WriteEventStream: WriteEventStream;
  5868. }
  5869. export interface PutEventStreamResponse {
  5870. EventStream: EventStream;
  5871. }
  5872. export interface PutEventsRequest {
  5873. /**
  5874. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  5875. */
  5876. ApplicationId: __string;
  5877. EventsRequest: EventsRequest;
  5878. }
  5879. export interface PutEventsResponse {
  5880. EventsResponse: EventsResponse;
  5881. }
  5882. export interface QuietTime {
  5883. /**
  5884. * The specific time when quiet time ends. This value has to use 24-hour notation and be in HH:MM format, where HH is the hour (with a leading zero, if applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, or 14:30 to represent 2:30 PM.
  5885. */
  5886. End?: __string;
  5887. /**
  5888. * The specific time when quiet time begins. This value has to use 24-hour notation and be in HH:MM format, where HH is the hour (with a leading zero, if applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, or 14:30 to represent 2:30 PM.
  5889. */
  5890. Start?: __string;
  5891. }
  5892. export interface RandomSplitActivity {
  5893. /**
  5894. * The paths for the activity, including the percentage of participants to enter each path and the activity to perform for each path.
  5895. */
  5896. Branches?: ListOfRandomSplitEntry;
  5897. }
  5898. export interface RandomSplitEntry {
  5899. /**
  5900. * The unique identifier for the next activity to perform, after completing the activity for the path.
  5901. */
  5902. NextActivity?: __string;
  5903. /**
  5904. * The percentage of participants to send down the activity path. To determine which participants are sent down each path, Amazon Pinpoint applies a probability-based algorithm to the percentages that you specify for the paths. Therefore, the actual percentage of participants who are sent down a path may not be equal to the percentage that you specify.
  5905. */
  5906. Percentage?: __integer;
  5907. }
  5908. export interface RawEmail {
  5909. /**
  5910. * The email message, represented as a raw MIME message. The entire message must be base64 encoded.
  5911. */
  5912. Data?: __blob;
  5913. }
  5914. export type __blob = Buffer|Uint8Array|Blob|string;
  5915. export interface RecencyDimension {
  5916. /**
  5917. * The duration to use when determining whether an endpoint is active or inactive.
  5918. */
  5919. Duration: Duration;
  5920. /**
  5921. * The type of recency dimension to use for the segment. Valid values are: ACTIVE, endpoints that were active within the specified duration are included in the segment; and, INACTIVE, endpoints that weren't active within the specified duration are included in the segment.
  5922. */
  5923. RecencyType: RecencyType;
  5924. }
  5925. export type RecencyType = "ACTIVE"|"INACTIVE"|string;
  5926. export interface RecommenderConfigurationResponse {
  5927. /**
  5928. * A map that defines 1-10 custom endpoint or user attributes, depending on the value for the RecommendationProviderIdType property. Each of these attributes temporarily stores a recommended item that's retrieved from the recommender model and sent to an AWS Lambda function for additional processing. Each attribute can be used as a message variable in a message template. This value is null if the configuration doesn't invoke an AWS Lambda function (RecommendationTransformerUri) to perform additional processing of recommendation data.
  5929. */
  5930. Attributes?: MapOf__string;
  5931. /**
  5932. * The date, in extended ISO 8601 format, when the configuration was created for the recommender model.
  5933. */
  5934. CreationDate: __string;
  5935. /**
  5936. * The custom description of the configuration for the recommender model.
  5937. */
  5938. Description?: __string;
  5939. /**
  5940. * The unique identifier for the recommender model configuration.
  5941. */
  5942. Id: __string;
  5943. /**
  5944. * The date, in extended ISO 8601 format, when the configuration for the recommender model was last modified.
  5945. */
  5946. LastModifiedDate: __string;
  5947. /**
  5948. * The custom name of the configuration for the recommender model.
  5949. */
  5950. Name?: __string;
  5951. /**
  5952. * The type of Amazon Pinpoint ID that's associated with unique user IDs in the recommender model. This value enables the model to use attribute and event data that’s specific to a particular endpoint or user in an Amazon Pinpoint application. Possible values are: PINPOINT_ENDPOINT_ID - Each user in the model is associated with a particular endpoint in Amazon Pinpoint. The data is correlated based on endpoint IDs in Amazon Pinpoint. This is the default value. PINPOINT_USER_ID - Each user in the model is associated with a particular user and endpoint in Amazon Pinpoint. The data is correlated based on user IDs in Amazon Pinpoint. If this value is specified, an endpoint definition in Amazon Pinpoint has to specify both a user ID (UserId) and an endpoint ID. Otherwise, messages won’t be sent to the user's endpoint.
  5953. */
  5954. RecommendationProviderIdType?: __string;
  5955. /**
  5956. * The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to retrieve recommendation data from the recommender model.
  5957. */
  5958. RecommendationProviderRoleArn: __string;
  5959. /**
  5960. * The Amazon Resource Name (ARN) of the recommender model that Amazon Pinpoint retrieves the recommendation data from. This value is the ARN of an Amazon Personalize campaign.
  5961. */
  5962. RecommendationProviderUri: __string;
  5963. /**
  5964. * The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Pinpoint invokes to perform additional processing of recommendation data that it retrieves from the recommender model.
  5965. */
  5966. RecommendationTransformerUri?: __string;
  5967. /**
  5968. * The custom display name for the standard endpoint or user attribute (RecommendationItems) that temporarily stores recommended items for each endpoint or user, depending on the value for the RecommendationProviderIdType property. This name appears in the Attribute finder of the template editor on the Amazon Pinpoint console. This value is null if the configuration doesn't invoke an AWS Lambda function (RecommendationTransformerUri) to perform additional processing of recommendation data.
  5969. */
  5970. RecommendationsDisplayName?: __string;
  5971. /**
  5972. * The number of recommended items that are retrieved from the model for each endpoint or user, depending on the value for the RecommendationProviderIdType property. This number determines how many recommended items are available for use in message variables.
  5973. */
  5974. RecommendationsPerMessage?: __integer;
  5975. }
  5976. export interface RemoveAttributesRequest {
  5977. /**
  5978. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  5979. */
  5980. ApplicationId: __string;
  5981. /**
  5982. * The type of attribute or attributes to remove. Valid values are: endpoint-custom-attributes - Custom attributes that describe endpoints, such as the date when an associated user opted in or out of receiving communications from you through a specific type of channel. endpoint-metric-attributes - Custom metrics that your app reports to Amazon Pinpoint for endpoints, such as the number of app sessions or the number of items left in a cart. endpoint-user-attributes - Custom attributes that describe users, such as first name, last name, and age.
  5983. */
  5984. AttributeType: __string;
  5985. UpdateAttributesRequest: UpdateAttributesRequest;
  5986. }
  5987. export interface RemoveAttributesResponse {
  5988. AttributesResource: AttributesResource;
  5989. }
  5990. export interface ResultRow {
  5991. /**
  5992. * An array of objects that defines the field and field values that were used to group data in a result set that contains multiple results. This value is null if the data in a result set isn’t grouped.
  5993. */
  5994. GroupedBys: ListOfResultRowValue;
  5995. /**
  5996. * An array of objects that provides pre-aggregated values for a standard metric that applies to an application, campaign, or journey.
  5997. */
  5998. Values: ListOfResultRowValue;
  5999. }
  6000. export interface ResultRowValue {
  6001. /**
  6002. * The friendly name of the metric whose value is specified by the Value property.
  6003. */
  6004. Key: __string;
  6005. /**
  6006. * The data type of the value specified by the Value property.
  6007. */
  6008. Type: __string;
  6009. /**
  6010. * In a Values object, the value for the metric that the query retrieved data for. In a GroupedBys object, the value for the field that was used to group data in a result set that contains multiple results (Values objects).
  6011. */
  6012. Value: __string;
  6013. }
  6014. export interface SMSChannelRequest {
  6015. /**
  6016. * Specifies whether to enable the SMS channel for the application.
  6017. */
  6018. Enabled?: __boolean;
  6019. /**
  6020. * The identity that you want to display on recipients' devices when they receive messages from the SMS channel.
  6021. */
  6022. SenderId?: __string;
  6023. /**
  6024. * The registered short code that you want to use when you send messages through the SMS channel.
  6025. */
  6026. ShortCode?: __string;
  6027. }
  6028. export interface SMSChannelResponse {
  6029. /**
  6030. * The unique identifier for the application that the SMS channel applies to.
  6031. */
  6032. ApplicationId?: __string;
  6033. /**
  6034. * The date and time, in ISO 8601 format, when the SMS channel was enabled.
  6035. */
  6036. CreationDate?: __string;
  6037. /**
  6038. * Specifies whether the SMS channel is enabled for the application.
  6039. */
  6040. Enabled?: __boolean;
  6041. /**
  6042. * (Not used) This property is retained only for backward compatibility.
  6043. */
  6044. HasCredential?: __boolean;
  6045. /**
  6046. * (Deprecated) An identifier for the SMS channel. This property is retained only for backward compatibility.
  6047. */
  6048. Id?: __string;
  6049. /**
  6050. * Specifies whether the SMS channel is archived.
  6051. */
  6052. IsArchived?: __boolean;
  6053. /**
  6054. * The user who last modified the SMS channel.
  6055. */
  6056. LastModifiedBy?: __string;
  6057. /**
  6058. * The date and time, in ISO 8601 format, when the SMS channel was last modified.
  6059. */
  6060. LastModifiedDate?: __string;
  6061. /**
  6062. * The type of messaging or notification platform for the channel. For the SMS channel, this value is SMS.
  6063. */
  6064. Platform: __string;
  6065. /**
  6066. * The maximum number of promotional messages that you can send through the SMS channel each second.
  6067. */
  6068. PromotionalMessagesPerSecond?: __integer;
  6069. /**
  6070. * The identity that displays on recipients' devices when they receive messages from the SMS channel.
  6071. */
  6072. SenderId?: __string;
  6073. /**
  6074. * The registered short code to use when you send messages through the SMS channel.
  6075. */
  6076. ShortCode?: __string;
  6077. /**
  6078. * The maximum number of transactional messages that you can send through the SMS channel each second.
  6079. */
  6080. TransactionalMessagesPerSecond?: __integer;
  6081. /**
  6082. * The current version of the SMS channel.
  6083. */
  6084. Version?: __integer;
  6085. }
  6086. export interface SMSMessage {
  6087. /**
  6088. * The body of the SMS message.
  6089. */
  6090. Body?: __string;
  6091. /**
  6092. * The SMS program name that you provided to AWS Support when you requested your dedicated number.
  6093. */
  6094. Keyword?: __string;
  6095. /**
  6096. * This field is reserved for future use.
  6097. */
  6098. MediaUrl?: __string;
  6099. /**
  6100. * The SMS message type. Valid values are TRANSACTIONAL (for messages that are critical or time-sensitive, such as a one-time passwords) and PROMOTIONAL (for messsages that aren't critical or time-sensitive, such as marketing messages).
  6101. */
  6102. MessageType?: MessageType;
  6103. /**
  6104. * The number to send the SMS message from. This value should be one of the dedicated long or short codes that's assigned to your AWS account. If you don't specify a long or short code, Amazon Pinpoint assigns a random long code to the SMS message and sends the message from that code.
  6105. */
  6106. OriginationNumber?: __string;
  6107. /**
  6108. * The sender ID to display as the sender of the message on a recipient's device. Support for sender IDs varies by country or region.
  6109. */
  6110. SenderId?: __string;
  6111. /**
  6112. * The message variables to use in the SMS message. You can override the default variables with individual address variables.
  6113. */
  6114. Substitutions?: MapOfListOf__string;
  6115. /**
  6116. * The entity ID or Principal Entity (PE) id received from the regulatory body for sending SMS in your country.
  6117. */
  6118. EntityId?: __string;
  6119. /**
  6120. * The template ID received from the regulatory body for sending SMS in your country.
  6121. */
  6122. TemplateId?: __string;
  6123. }
  6124. export interface SMSMessageActivity {
  6125. /**
  6126. * Specifies the sender ID and message type for an SMS message that's sent to participants in a journey.
  6127. */
  6128. MessageConfig?: JourneySMSMessage;
  6129. /**
  6130. * The unique identifier for the next activity to perform, after the message is sent.
  6131. */
  6132. NextActivity?: __string;
  6133. /**
  6134. * The name of the SMS message template to use for the message. If specified, this value must match the name of an existing message template.
  6135. */
  6136. TemplateName?: __string;
  6137. /**
  6138. * The unique identifier for the version of the SMS template to use for the message. If specified, this value must match the identifier for an existing template version. To retrieve a list of versions and version identifiers for a template, use the Template Versions resource. If you don't specify a value for this property, Amazon Pinpoint uses the active version of the template. The active version is typically the version of a template that's been most recently reviewed and approved for use, depending on your workflow. It isn't necessarily the latest version of a template.
  6139. */
  6140. TemplateVersion?: __string;
  6141. }
  6142. export interface SMSTemplateRequest {
  6143. /**
  6144. * The message body to use in text messages that are based on the message template.
  6145. */
  6146. Body?: __string;
  6147. /**
  6148. * A JSON object that specifies the default values to use for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable. When you create a message that's based on the template, you can override these defaults with message-specific and address-specific variables and values.
  6149. */
  6150. DefaultSubstitutions?: __string;
  6151. /**
  6152. * The unique identifier for the recommender model to use for the message template. Amazon Pinpoint uses this value to determine how to retrieve and process data from a recommender model when it sends messages that use the template, if the template contains message variables for recommendation data.
  6153. */
  6154. RecommenderId?: __string;
  6155. /**
  6156. * As of 22-05-2023 tags has been deprecated for update operations. After this date any value in tags is not processed and an error code is not returned. To manage tags we recommend using either Tags in the API Reference for Amazon Pinpoint, resourcegroupstaggingapi commands in the AWS Command Line Interface Documentation or resourcegroupstaggingapi in the AWS SDK. (Deprecated) A string-to-string map of key-value pairs that defines the tags to associate with the message template. Each tag consists of a required tag key and an associated tag value.
  6157. */
  6158. tags?: MapOf__string;
  6159. /**
  6160. * A custom description of the message template.
  6161. */
  6162. TemplateDescription?: __string;
  6163. }
  6164. export interface SMSTemplateResponse {
  6165. /**
  6166. * The Amazon Resource Name (ARN) of the message template.
  6167. */
  6168. Arn?: __string;
  6169. /**
  6170. * The message body that's used in text messages that are based on the message template.
  6171. */
  6172. Body?: __string;
  6173. /**
  6174. * The date, in ISO 8601 format, when the message template was created.
  6175. */
  6176. CreationDate: __string;
  6177. /**
  6178. * The JSON object that specifies the default values that are used for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable.
  6179. */
  6180. DefaultSubstitutions?: __string;
  6181. /**
  6182. * The date, in ISO 8601 format, when the message template was last modified.
  6183. */
  6184. LastModifiedDate: __string;
  6185. /**
  6186. * The unique identifier for the recommender model that's used by the message template.
  6187. */
  6188. RecommenderId?: __string;
  6189. /**
  6190. * A string-to-string map of key-value pairs that identifies the tags that are associated with the message template. Each tag consists of a required tag key and an associated tag value.
  6191. */
  6192. tags?: MapOf__string;
  6193. /**
  6194. * The custom description of the message template.
  6195. */
  6196. TemplateDescription?: __string;
  6197. /**
  6198. * The name of the message template.
  6199. */
  6200. TemplateName: __string;
  6201. /**
  6202. * The type of channel that the message template is designed for. For an SMS template, this value is SMS.
  6203. */
  6204. TemplateType: TemplateType;
  6205. /**
  6206. * The unique identifier, as an integer, for the active version of the message template, or the version of the template that you specified by using the version parameter in your request.
  6207. */
  6208. Version?: __string;
  6209. }
  6210. export interface Schedule {
  6211. /**
  6212. * The scheduled time, in ISO 8601 format, when the campaign ended or will end.
  6213. */
  6214. EndTime?: __string;
  6215. /**
  6216. * The type of event that causes the campaign to be sent, if the value of the Frequency property is EVENT.
  6217. */
  6218. EventFilter?: CampaignEventFilter;
  6219. /**
  6220. * Specifies how often the campaign is sent or whether the campaign is sent in response to a specific event.
  6221. */
  6222. Frequency?: Frequency;
  6223. /**
  6224. * Specifies whether the start and end times for the campaign schedule use each recipient's local time. To base the schedule on each recipient's local time, set this value to true.
  6225. */
  6226. IsLocalTime?: __boolean;
  6227. /**
  6228. * The default quiet time for the campaign. Quiet time is a specific time range when a campaign doesn't send messages to endpoints, if all the following conditions are met: The EndpointDemographic.Timezone property of the endpoint is set to a valid value. The current time in the endpoint's time zone is later than or equal to the time specified by the QuietTime.Start property for the campaign. The current time in the endpoint's time zone is earlier than or equal to the time specified by the QuietTime.End property for the campaign. If any of the preceding conditions isn't met, the endpoint will receive messages from the campaign, even if quiet time is enabled.
  6229. */
  6230. QuietTime?: QuietTime;
  6231. /**
  6232. * The scheduled time when the campaign began or will begin. Valid values are: IMMEDIATE, to start the campaign immediately; or, a specific time in ISO 8601 format.
  6233. */
  6234. StartTime: __string;
  6235. /**
  6236. * The starting UTC offset for the campaign schedule, if the value of the IsLocalTime property is true. Valid values are: UTC, UTC+01, UTC+02, UTC+03, UTC+03:30, UTC+04, UTC+04:30, UTC+05,
  6237. UTC+05:30, UTC+05:45, UTC+06, UTC+06:30, UTC+07, UTC+08, UTC+09, UTC+09:30,
  6238. UTC+10, UTC+10:30, UTC+11, UTC+12, UTC+13, UTC-02, UTC-03, UTC-04, UTC-05, UTC-06,
  6239. UTC-07, UTC-08, UTC-09, UTC-10, and UTC-11.
  6240. */
  6241. Timezone?: __string;
  6242. }
  6243. export interface SegmentBehaviors {
  6244. /**
  6245. * The dimension settings that are based on how recently an endpoint was active.
  6246. */
  6247. Recency?: RecencyDimension;
  6248. }
  6249. export interface SegmentCondition {
  6250. /**
  6251. * The unique identifier for the segment to associate with the activity.
  6252. */
  6253. SegmentId: __string;
  6254. }
  6255. export interface SegmentDemographics {
  6256. /**
  6257. * The app version criteria for the segment.
  6258. */
  6259. AppVersion?: SetDimension;
  6260. /**
  6261. * The channel criteria for the segment.
  6262. */
  6263. Channel?: SetDimension;
  6264. /**
  6265. * The device type criteria for the segment.
  6266. */
  6267. DeviceType?: SetDimension;
  6268. /**
  6269. * The device make criteria for the segment.
  6270. */
  6271. Make?: SetDimension;
  6272. /**
  6273. * The device model criteria for the segment.
  6274. */
  6275. Model?: SetDimension;
  6276. /**
  6277. * The device platform criteria for the segment.
  6278. */
  6279. Platform?: SetDimension;
  6280. }
  6281. export interface SegmentDimensions {
  6282. /**
  6283. * One or more custom attributes to use as criteria for the segment.
  6284. */
  6285. Attributes?: MapOfAttributeDimension;
  6286. /**
  6287. * The behavior-based criteria, such as how recently users have used your app, for the segment.
  6288. */
  6289. Behavior?: SegmentBehaviors;
  6290. /**
  6291. * The demographic-based criteria, such as device platform, for the segment.
  6292. */
  6293. Demographic?: SegmentDemographics;
  6294. /**
  6295. * The location-based criteria, such as region or GPS coordinates, for the segment.
  6296. */
  6297. Location?: SegmentLocation;
  6298. /**
  6299. * One or more custom metrics to use as criteria for the segment.
  6300. */
  6301. Metrics?: MapOfMetricDimension;
  6302. /**
  6303. * One or more custom user attributes to use as criteria for the segment.
  6304. */
  6305. UserAttributes?: MapOfAttributeDimension;
  6306. }
  6307. export interface SegmentGroup {
  6308. /**
  6309. * An array that defines the dimensions for the segment.
  6310. */
  6311. Dimensions?: ListOfSegmentDimensions;
  6312. /**
  6313. * The base segment to build the segment on. A base segment, also referred to as a source segment, defines the initial population of endpoints for a segment. When you add dimensions to a segment, Amazon Pinpoint filters the base segment by using the dimensions that you specify. You can specify more than one dimensional segment or only one imported segment. If you specify an imported segment, the Amazon Pinpoint console displays a segment size estimate that indicates the size of the imported segment without any filters applied to it.
  6314. */
  6315. SourceSegments?: ListOfSegmentReference;
  6316. /**
  6317. * Specifies how to handle multiple base segments for the segment. For example, if you specify three base segments for the segment, whether the resulting segment is based on all, any, or none of the base segments.
  6318. */
  6319. SourceType?: SourceType;
  6320. /**
  6321. * Specifies how to handle multiple dimensions for the segment. For example, if you specify three dimensions for the segment, whether the resulting segment includes endpoints that match all, any, or none of the dimensions.
  6322. */
  6323. Type?: Type;
  6324. }
  6325. export interface SegmentGroupList {
  6326. /**
  6327. * An array that defines the set of segment criteria to evaluate when handling segment groups for the segment.
  6328. */
  6329. Groups?: ListOfSegmentGroup;
  6330. /**
  6331. * Specifies how to handle multiple segment groups for the segment. For example, if the segment includes three segment groups, whether the resulting segment includes endpoints that match all, any, or none of the segment groups.
  6332. */
  6333. Include?: Include;
  6334. }
  6335. export interface SegmentImportResource {
  6336. /**
  6337. * The number of channel types in the endpoint definitions that were imported to create the segment.
  6338. */
  6339. ChannelCounts?: MapOf__integer;
  6340. /**
  6341. * (Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy. Amazon Pinpoint previously used this value to assume an IAM role when importing endpoint definitions, but we removed this requirement. We don't recommend use of external IDs for IAM roles that are assumed by Amazon Pinpoint.
  6342. */
  6343. ExternalId: __string;
  6344. /**
  6345. * The format of the files that were imported to create the segment. Valid values are: CSV, for comma-separated values format; and, JSON, for newline-delimited JSON format.
  6346. */
  6347. Format: Format;
  6348. /**
  6349. * The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorized Amazon Pinpoint to access the Amazon S3 location to import endpoint definitions from.
  6350. */
  6351. RoleArn: __string;
  6352. /**
  6353. * The URL of the Amazon Simple Storage Service (Amazon S3) bucket that the endpoint definitions were imported from to create the segment.
  6354. */
  6355. S3Url: __string;
  6356. /**
  6357. * The number of endpoint definitions that were imported successfully to create the segment.
  6358. */
  6359. Size: __integer;
  6360. }
  6361. export interface SegmentLocation {
  6362. /**
  6363. * The country or region code, in ISO 3166-1 alpha-2 format, for the segment.
  6364. */
  6365. Country?: SetDimension;
  6366. /**
  6367. * The GPS location and range for the segment.
  6368. */
  6369. GPSPoint?: GPSPointDimension;
  6370. }
  6371. export interface SegmentReference {
  6372. /**
  6373. * The unique identifier for the segment.
  6374. */
  6375. Id: __string;
  6376. /**
  6377. * The version number of the segment.
  6378. */
  6379. Version?: __integer;
  6380. }
  6381. export interface SegmentResponse {
  6382. /**
  6383. * The unique identifier for the application that the segment is associated with.
  6384. */
  6385. ApplicationId: __string;
  6386. /**
  6387. * The Amazon Resource Name (ARN) of the segment.
  6388. */
  6389. Arn: __string;
  6390. /**
  6391. * The date and time when the segment was created.
  6392. */
  6393. CreationDate: __string;
  6394. /**
  6395. * The dimension settings for the segment.
  6396. */
  6397. Dimensions?: SegmentDimensions;
  6398. /**
  6399. * The unique identifier for the segment.
  6400. */
  6401. Id: __string;
  6402. /**
  6403. * The settings for the import job that's associated with the segment.
  6404. */
  6405. ImportDefinition?: SegmentImportResource;
  6406. /**
  6407. * The date and time when the segment was last modified.
  6408. */
  6409. LastModifiedDate?: __string;
  6410. /**
  6411. * The name of the segment.
  6412. */
  6413. Name?: __string;
  6414. /**
  6415. * A list of one or more segment groups that apply to the segment. Each segment group consists of zero or more base segments and the dimensions that are applied to those base segments.
  6416. */
  6417. SegmentGroups?: SegmentGroupList;
  6418. /**
  6419. * The segment type. Valid values are: DIMENSIONAL - A dynamic segment, which is a segment that uses selection criteria that you specify and is based on endpoint data that's reported by your app. Dynamic segments can change over time. IMPORT - A static segment, which is a segment that uses selection criteria that you specify and is based on endpoint definitions that you import from a file. Imported segments are static; they don't change over time.
  6420. */
  6421. SegmentType: SegmentType;
  6422. /**
  6423. * A string-to-string map of key-value pairs that identifies the tags that are associated with the segment. Each tag consists of a required tag key and an associated tag value.
  6424. */
  6425. tags?: MapOf__string;
  6426. /**
  6427. * The version number of the segment.
  6428. */
  6429. Version?: __integer;
  6430. }
  6431. export type SegmentType = "DIMENSIONAL"|"IMPORT"|string;
  6432. export interface SegmentsResponse {
  6433. /**
  6434. * An array of responses, one for each segment that's associated with the application (Segments resource) or each version of a segment that's associated with the application (Segment Versions resource).
  6435. */
  6436. Item: ListOfSegmentResponse;
  6437. /**
  6438. * The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
  6439. */
  6440. NextToken?: __string;
  6441. }
  6442. export interface SendMessagesRequest {
  6443. /**
  6444. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  6445. */
  6446. ApplicationId: __string;
  6447. MessageRequest: MessageRequest;
  6448. }
  6449. export interface SendMessagesResponse {
  6450. MessageResponse: MessageResponse;
  6451. }
  6452. export interface SendOTPMessageRequest {
  6453. /**
  6454. * The unique ID of your Amazon Pinpoint application.
  6455. */
  6456. ApplicationId: __string;
  6457. SendOTPMessageRequestParameters: SendOTPMessageRequestParameters;
  6458. }
  6459. export interface SendOTPMessageRequestParameters {
  6460. /**
  6461. * The attempts allowed to validate an OTP.
  6462. */
  6463. AllowedAttempts?: __integer;
  6464. /**
  6465. * The brand name that will be substituted into the OTP message body. Should be owned by calling AWS account.
  6466. */
  6467. BrandName: __string;
  6468. /**
  6469. * Channel type for the OTP message. Supported values: [SMS].
  6470. */
  6471. Channel: __string;
  6472. /**
  6473. * The number of characters in the generated OTP.
  6474. */
  6475. CodeLength?: __integer;
  6476. /**
  6477. * The destination identity to send OTP to.
  6478. */
  6479. DestinationIdentity: __string;
  6480. /**
  6481. * A unique Entity ID received from DLT after entity registration is approved.
  6482. */
  6483. EntityId?: __string;
  6484. /**
  6485. * The language to be used for the outgoing message body containing the OTP.
  6486. */
  6487. Language?: __string;
  6488. /**
  6489. * The origination identity used to send OTP from.
  6490. */
  6491. OriginationIdentity: __string;
  6492. /**
  6493. * Developer-specified reference identifier. Required to match during OTP verification.
  6494. */
  6495. ReferenceId: __string;
  6496. /**
  6497. * A unique Template ID received from DLT after entity registration is approved.
  6498. */
  6499. TemplateId?: __string;
  6500. /**
  6501. * The time in minutes before the OTP is no longer valid.
  6502. */
  6503. ValidityPeriod?: __integer;
  6504. }
  6505. export interface SendOTPMessageResponse {
  6506. MessageResponse: MessageResponse;
  6507. }
  6508. export interface SendUsersMessageRequest {
  6509. /**
  6510. * A map of custom attribute-value pairs. For a push notification, Amazon Pinpoint adds these attributes to the data.pinpoint object in the body of the notification payload. Amazon Pinpoint also provides these attributes in the events that it generates for users-messages deliveries.
  6511. */
  6512. Context?: MapOf__string;
  6513. /**
  6514. * The settings and content for the default message and any default messages that you defined for specific channels.
  6515. */
  6516. MessageConfiguration: DirectMessageConfiguration;
  6517. /**
  6518. * The message template to use for the message.
  6519. */
  6520. TemplateConfiguration?: TemplateConfiguration;
  6521. /**
  6522. * The unique identifier for tracing the message. This identifier is visible to message recipients.
  6523. */
  6524. TraceId?: __string;
  6525. /**
  6526. * A map that associates user IDs with EndpointSendConfiguration objects. You can use an EndpointSendConfiguration object to tailor the message for a user by specifying settings such as content overrides and message variables.
  6527. */
  6528. Users: MapOfEndpointSendConfiguration;
  6529. }
  6530. export interface SendUsersMessageResponse {
  6531. /**
  6532. * The unique identifier for the application that was used to send the message.
  6533. */
  6534. ApplicationId: __string;
  6535. /**
  6536. * The unique identifier that was assigned to the message request.
  6537. */
  6538. RequestId?: __string;
  6539. /**
  6540. * An object that indicates which endpoints the message was sent to, for each user. The object lists user IDs and, for each user ID, provides the endpoint IDs that the message was sent to. For each endpoint ID, it provides an EndpointMessageResult object.
  6541. */
  6542. Result?: MapOfMapOfEndpointMessageResult;
  6543. }
  6544. export interface SendUsersMessagesRequest {
  6545. /**
  6546. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  6547. */
  6548. ApplicationId: __string;
  6549. SendUsersMessageRequest: SendUsersMessageRequest;
  6550. }
  6551. export interface SendUsersMessagesResponse {
  6552. SendUsersMessageResponse: SendUsersMessageResponse;
  6553. }
  6554. export interface Session {
  6555. /**
  6556. * The duration of the session, in milliseconds.
  6557. */
  6558. Duration?: __integer;
  6559. /**
  6560. * The unique identifier for the session.
  6561. */
  6562. Id: __string;
  6563. /**
  6564. * The date and time when the session began.
  6565. */
  6566. StartTimestamp: __string;
  6567. /**
  6568. * The date and time when the session ended.
  6569. */
  6570. StopTimestamp?: __string;
  6571. }
  6572. export interface SetDimension {
  6573. /**
  6574. * The type of segment dimension to use. Valid values are: INCLUSIVE, endpoints that match the criteria are included in the segment; and, EXCLUSIVE, endpoints that match the criteria are excluded from the segment.
  6575. */
  6576. DimensionType?: DimensionType;
  6577. /**
  6578. * The criteria values to use for the segment dimension. Depending on the value of the DimensionType property, endpoints are included or excluded from the segment if their values match the criteria values.
  6579. */
  6580. Values: ListOf__string;
  6581. }
  6582. export interface SimpleCondition {
  6583. /**
  6584. * The dimension settings for the event that's associated with the activity.
  6585. */
  6586. EventCondition?: EventCondition;
  6587. /**
  6588. * The segment that's associated with the activity.
  6589. */
  6590. SegmentCondition?: SegmentCondition;
  6591. /**
  6592. * The dimension settings for the segment that's associated with the activity.
  6593. */
  6594. SegmentDimensions?: SegmentDimensions;
  6595. }
  6596. export interface SimpleEmail {
  6597. /**
  6598. * The body of the email message, in HTML format. We recommend using HTML format for email clients that render HTML content. You can include links, formatted text, and more in an HTML message.
  6599. */
  6600. HtmlPart?: SimpleEmailPart;
  6601. /**
  6602. * The subject line, or title, of the email.
  6603. */
  6604. Subject?: SimpleEmailPart;
  6605. /**
  6606. * The body of the email message, in plain text format. We recommend using plain text format for email clients that don't render HTML content and clients that are connected to high-latency networks, such as mobile devices.
  6607. */
  6608. TextPart?: SimpleEmailPart;
  6609. /**
  6610. * The list of MessageHeaders for the email. You can have up to 15 Headers.
  6611. */
  6612. Headers?: ListOfMessageHeader;
  6613. }
  6614. export type ListOfMessageHeader = MessageHeader[];
  6615. export interface MessageHeader {
  6616. /**
  6617. * The name of the message header. The header name can contain up to 126 characters.
  6618. */
  6619. Name?: __string;
  6620. /**
  6621. * The value of the message header. The header value can contain up to 870 characters, including the length of any rendered attributes. For example if you add the {CreationDate} attribute, it renders as YYYY-MM-DDTHH:MM:SS.SSSZ and is 24 characters in length.
  6622. */
  6623. Value?: __string;
  6624. }
  6625. export interface SimpleEmailPart {
  6626. /**
  6627. * The applicable character set for the message content.
  6628. */
  6629. Charset?: __string;
  6630. /**
  6631. * The textual data of the message content.
  6632. */
  6633. Data?: __string;
  6634. }
  6635. export type SourceType = "ALL"|"ANY"|"NONE"|string;
  6636. export interface StartCondition {
  6637. /**
  6638. * The custom description of the condition.
  6639. */
  6640. Description?: __string;
  6641. EventStartCondition?: EventStartCondition;
  6642. /**
  6643. * The segment that's associated with the first activity in the journey. This segment determines which users are participants in the journey.
  6644. */
  6645. SegmentStartCondition?: SegmentCondition;
  6646. }
  6647. export type State = "DRAFT"|"ACTIVE"|"COMPLETED"|"CANCELLED"|"CLOSED"|"PAUSED"|string;
  6648. export interface TagResourceRequest {
  6649. /**
  6650. * The Amazon Resource Name (ARN) of the resource.
  6651. */
  6652. ResourceArn: __string;
  6653. TagsModel: TagsModel;
  6654. }
  6655. export interface TagsModel {
  6656. /**
  6657. * A string-to-string map of key-value pairs that defines the tags for an application, campaign, message template, or segment. Each of these resources can have a maximum of 50 tags. Each tag consists of a required tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
  6658. */
  6659. tags: MapOf__string;
  6660. }
  6661. export interface Template {
  6662. /**
  6663. * The name of the message template to use for the message. If specified, this value must match the name of an existing message template.
  6664. */
  6665. Name?: __string;
  6666. /**
  6667. * The unique identifier for the version of the message template to use for the message. If specified, this value must match the identifier for an existing template version. To retrieve a list of versions and version identifiers for a template, use the Template Versions resource. If you don't specify a value for this property, Amazon Pinpoint uses the active version of the template. The active version is typically the version of a template that's been most recently reviewed and approved for use, depending on your workflow. It isn't necessarily the latest version of a template.
  6668. */
  6669. Version?: __string;
  6670. }
  6671. export interface TemplateActiveVersionRequest {
  6672. /**
  6673. * The version of the message template to use as the active version of the template. Valid values are: latest, for the most recent version of the template; or, the unique identifier for any existing version of the template. If you specify an identifier, the value must match the identifier for an existing template version. To retrieve a list of versions and version identifiers for a template, use the Template Versions resource.
  6674. */
  6675. Version?: __string;
  6676. }
  6677. export interface TemplateConfiguration {
  6678. /**
  6679. * The email template to use for the message.
  6680. */
  6681. EmailTemplate?: Template;
  6682. /**
  6683. * The push notification template to use for the message.
  6684. */
  6685. PushTemplate?: Template;
  6686. /**
  6687. * The SMS template to use for the message.
  6688. */
  6689. SMSTemplate?: Template;
  6690. /**
  6691. * The voice template to use for the message. This object isn't supported for campaigns.
  6692. */
  6693. VoiceTemplate?: Template;
  6694. /**
  6695. * The InApp template to use for the message. The InApp template object is not supported for SendMessages.
  6696. */
  6697. InAppTemplate?: Template;
  6698. }
  6699. export interface TemplateCreateMessageBody {
  6700. /**
  6701. * The Amazon Resource Name (ARN) of the message template that was created.
  6702. */
  6703. Arn?: __string;
  6704. /**
  6705. * The message that's returned from the API for the request to create the message template.
  6706. */
  6707. Message?: __string;
  6708. /**
  6709. * The unique identifier for the request to create the message template.
  6710. */
  6711. RequestID?: __string;
  6712. }
  6713. export interface TemplateResponse {
  6714. /**
  6715. * The Amazon Resource Name (ARN) of the message template. This value isn't included in a TemplateResponse object. To retrieve the ARN of a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the ARN for.
  6716. */
  6717. Arn?: __string;
  6718. /**
  6719. * The date, in ISO 8601 format, when the message template was created.
  6720. */
  6721. CreationDate: __string;
  6722. /**
  6723. * The JSON object that specifies the default values that are used for message variables in the message template. This object isn't included in a TemplateResponse object. To retrieve this object for a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the object for.
  6724. */
  6725. DefaultSubstitutions?: __string;
  6726. /**
  6727. * The date, in ISO 8601 format, when the message template was last modified.
  6728. */
  6729. LastModifiedDate: __string;
  6730. /**
  6731. * A map of key-value pairs that identifies the tags that are associated with the message template. This object isn't included in a TemplateResponse object. To retrieve this object for a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the object for.
  6732. */
  6733. tags?: MapOf__string;
  6734. /**
  6735. * The custom description of the message template. This value isn't included in a TemplateResponse object. To retrieve the description of a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the description for.
  6736. */
  6737. TemplateDescription?: __string;
  6738. /**
  6739. * The name of the message template.
  6740. */
  6741. TemplateName: __string;
  6742. /**
  6743. * The type of channel that the message template is designed for. Possible values are: EMAIL, PUSH, SMS, INAPP, and VOICE.
  6744. */
  6745. TemplateType: TemplateType;
  6746. /**
  6747. * The unique identifier, as an integer, for the active version of the message template.
  6748. */
  6749. Version?: __string;
  6750. }
  6751. export type TemplateType = "EMAIL"|"SMS"|"VOICE"|"PUSH"|"INAPP"|string;
  6752. export interface TemplateVersionResponse {
  6753. /**
  6754. * The date, in ISO 8601 format, when the version of the message template was created.
  6755. */
  6756. CreationDate: __string;
  6757. /**
  6758. * A JSON object that specifies the default values that are used for message variables in the version of the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable.
  6759. */
  6760. DefaultSubstitutions?: __string;
  6761. /**
  6762. * The date, in ISO 8601 format, when the version of the message template was last modified.
  6763. */
  6764. LastModifiedDate: __string;
  6765. /**
  6766. * The custom description of the version of the message template.
  6767. */
  6768. TemplateDescription?: __string;
  6769. /**
  6770. * The name of the message template.
  6771. */
  6772. TemplateName: __string;
  6773. /**
  6774. * The type of channel that the message template is designed for. Possible values are: EMAIL, PUSH, SMS, INAPP, and VOICE.
  6775. */
  6776. TemplateType: __string;
  6777. /**
  6778. * The unique identifier for the version of the message template. This value is an integer that Amazon Pinpoint automatically increments and assigns to each new version of a template.
  6779. */
  6780. Version?: __string;
  6781. }
  6782. export interface TemplateVersionsResponse {
  6783. /**
  6784. * An array of responses, one for each version of the message template.
  6785. */
  6786. Item: ListOfTemplateVersionResponse;
  6787. /**
  6788. * The message that's returned from the API for the request to retrieve information about all the versions of the message template.
  6789. */
  6790. Message?: __string;
  6791. /**
  6792. * The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
  6793. */
  6794. NextToken?: __string;
  6795. /**
  6796. * The unique identifier for the request to retrieve information about all the versions of the message template.
  6797. */
  6798. RequestID?: __string;
  6799. }
  6800. export interface TemplatesResponse {
  6801. /**
  6802. * An array of responses, one for each message template that's associated with your Amazon Pinpoint account and meets any filter criteria that you specified in the request.
  6803. */
  6804. Item: ListOfTemplateResponse;
  6805. /**
  6806. * The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
  6807. */
  6808. NextToken?: __string;
  6809. }
  6810. export interface TreatmentResource {
  6811. /**
  6812. * The delivery configuration settings for sending the treatment through a custom channel. This object is required if the MessageConfiguration object for the treatment specifies a CustomMessage object.
  6813. */
  6814. CustomDeliveryConfiguration?: CustomDeliveryConfiguration;
  6815. /**
  6816. * The unique identifier for the treatment.
  6817. */
  6818. Id: __string;
  6819. /**
  6820. * The message configuration settings for the treatment.
  6821. */
  6822. MessageConfiguration?: MessageConfiguration;
  6823. /**
  6824. * The schedule settings for the treatment.
  6825. */
  6826. Schedule?: Schedule;
  6827. /**
  6828. * The allocated percentage of users (segment members) that the treatment is sent to.
  6829. */
  6830. SizePercent: __integer;
  6831. /**
  6832. * The current status of the treatment.
  6833. */
  6834. State?: CampaignState;
  6835. /**
  6836. * The message template to use for the treatment.
  6837. */
  6838. TemplateConfiguration?: TemplateConfiguration;
  6839. /**
  6840. * The custom description of the treatment.
  6841. */
  6842. TreatmentDescription?: __string;
  6843. /**
  6844. * The custom name of the treatment.
  6845. */
  6846. TreatmentName?: __string;
  6847. }
  6848. export type Type = "ALL"|"ANY"|"NONE"|string;
  6849. export interface UntagResourceRequest {
  6850. /**
  6851. * The Amazon Resource Name (ARN) of the resource.
  6852. */
  6853. ResourceArn: __string;
  6854. /**
  6855. * The key of the tag to remove from the resource. To remove multiple tags, append the tagKeys parameter and argument for each additional tag to remove, separated by an ampersand (&amp;).
  6856. */
  6857. TagKeys: ListOf__string;
  6858. }
  6859. export interface UpdateAdmChannelRequest {
  6860. ADMChannelRequest: ADMChannelRequest;
  6861. /**
  6862. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  6863. */
  6864. ApplicationId: __string;
  6865. }
  6866. export interface UpdateAdmChannelResponse {
  6867. ADMChannelResponse: ADMChannelResponse;
  6868. }
  6869. export interface UpdateApnsChannelRequest {
  6870. APNSChannelRequest: APNSChannelRequest;
  6871. /**
  6872. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  6873. */
  6874. ApplicationId: __string;
  6875. }
  6876. export interface UpdateApnsChannelResponse {
  6877. APNSChannelResponse: APNSChannelResponse;
  6878. }
  6879. export interface UpdateApnsSandboxChannelRequest {
  6880. APNSSandboxChannelRequest: APNSSandboxChannelRequest;
  6881. /**
  6882. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  6883. */
  6884. ApplicationId: __string;
  6885. }
  6886. export interface UpdateApnsSandboxChannelResponse {
  6887. APNSSandboxChannelResponse: APNSSandboxChannelResponse;
  6888. }
  6889. export interface UpdateApnsVoipChannelRequest {
  6890. APNSVoipChannelRequest: APNSVoipChannelRequest;
  6891. /**
  6892. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  6893. */
  6894. ApplicationId: __string;
  6895. }
  6896. export interface UpdateApnsVoipChannelResponse {
  6897. APNSVoipChannelResponse: APNSVoipChannelResponse;
  6898. }
  6899. export interface UpdateApnsVoipSandboxChannelRequest {
  6900. APNSVoipSandboxChannelRequest: APNSVoipSandboxChannelRequest;
  6901. /**
  6902. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  6903. */
  6904. ApplicationId: __string;
  6905. }
  6906. export interface UpdateApnsVoipSandboxChannelResponse {
  6907. APNSVoipSandboxChannelResponse: APNSVoipSandboxChannelResponse;
  6908. }
  6909. export interface UpdateApplicationSettingsRequest {
  6910. /**
  6911. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  6912. */
  6913. ApplicationId: __string;
  6914. WriteApplicationSettingsRequest: WriteApplicationSettingsRequest;
  6915. }
  6916. export interface UpdateApplicationSettingsResponse {
  6917. ApplicationSettingsResource: ApplicationSettingsResource;
  6918. }
  6919. export interface UpdateAttributesRequest {
  6920. /**
  6921. * An array of the attributes to remove from all the endpoints that are associated with the application. The array can specify the complete, exact name of each attribute to remove or it can specify a glob pattern that an attribute name must match in order for the attribute to be removed.
  6922. */
  6923. Blacklist?: ListOf__string;
  6924. }
  6925. export interface UpdateBaiduChannelRequest {
  6926. /**
  6927. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  6928. */
  6929. ApplicationId: __string;
  6930. BaiduChannelRequest: BaiduChannelRequest;
  6931. }
  6932. export interface UpdateBaiduChannelResponse {
  6933. BaiduChannelResponse: BaiduChannelResponse;
  6934. }
  6935. export interface UpdateCampaignRequest {
  6936. /**
  6937. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  6938. */
  6939. ApplicationId: __string;
  6940. /**
  6941. * The unique identifier for the campaign.
  6942. */
  6943. CampaignId: __string;
  6944. WriteCampaignRequest: WriteCampaignRequest;
  6945. }
  6946. export interface UpdateCampaignResponse {
  6947. CampaignResponse: CampaignResponse;
  6948. }
  6949. export interface UpdateEmailChannelRequest {
  6950. /**
  6951. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  6952. */
  6953. ApplicationId: __string;
  6954. EmailChannelRequest: EmailChannelRequest;
  6955. }
  6956. export interface UpdateEmailChannelResponse {
  6957. EmailChannelResponse: EmailChannelResponse;
  6958. }
  6959. export interface UpdateEmailTemplateRequest {
  6960. /**
  6961. * Specifies whether to save the updates as a new version of the message template. Valid values are: true, save the updates as a new version; and, false, save the updates to (overwrite) the latest existing version of the template. If you don't specify a value for this parameter, Amazon Pinpoint saves the updates to (overwrites) the latest existing version of the template. If you specify a value of true for this parameter, don't specify a value for the version parameter. Otherwise, an error will occur.
  6962. */
  6963. CreateNewVersion?: __boolean;
  6964. EmailTemplateRequest: EmailTemplateRequest;
  6965. /**
  6966. * The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
  6967. */
  6968. TemplateName: __string;
  6969. /**
  6970. * The unique identifier for the version of the message template to update, retrieve information about, or delete. To retrieve identifiers and other information for all the versions of a template, use the Template Versions resource. If specified, this value must match the identifier for an existing template version. If specified for an update operation, this value must match the identifier for the latest existing version of the template. This restriction helps ensure that race conditions don't occur. If you don't specify a value for this parameter, Amazon Pinpoint does the following: For a get operation, retrieves information about the active version of the template. For an update operation, saves the updates to (overwrites) the latest existing version of the template, if the create-new-version parameter isn't used or is set to false. For a delete operation, deletes the template, including all versions of the template.
  6971. */
  6972. Version?: __string;
  6973. }
  6974. export interface UpdateEmailTemplateResponse {
  6975. MessageBody: MessageBody;
  6976. }
  6977. export interface UpdateEndpointRequest {
  6978. /**
  6979. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  6980. */
  6981. ApplicationId: __string;
  6982. /**
  6983. * The case insensitive unique identifier for the endpoint. The identifier can't contain $, { or }.
  6984. */
  6985. EndpointId: __string;
  6986. EndpointRequest: EndpointRequest;
  6987. }
  6988. export interface UpdateEndpointResponse {
  6989. MessageBody: MessageBody;
  6990. }
  6991. export interface UpdateEndpointsBatchRequest {
  6992. /**
  6993. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  6994. */
  6995. ApplicationId: __string;
  6996. EndpointBatchRequest: EndpointBatchRequest;
  6997. }
  6998. export interface UpdateEndpointsBatchResponse {
  6999. MessageBody: MessageBody;
  7000. }
  7001. export interface UpdateGcmChannelRequest {
  7002. /**
  7003. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  7004. */
  7005. ApplicationId: __string;
  7006. GCMChannelRequest: GCMChannelRequest;
  7007. }
  7008. export interface UpdateGcmChannelResponse {
  7009. GCMChannelResponse: GCMChannelResponse;
  7010. }
  7011. export interface UpdateInAppTemplateRequest {
  7012. /**
  7013. * Specifies whether to save the updates as a new version of the message template. Valid values are: true, save the updates as a new version; and, false, save the updates to (overwrite) the latest existing version of the template. If you don't specify a value for this parameter, Amazon Pinpoint saves the updates to (overwrites) the latest existing version of the template. If you specify a value of true for this parameter, don't specify a value for the version parameter. Otherwise, an error will occur.
  7014. */
  7015. CreateNewVersion?: __boolean;
  7016. InAppTemplateRequest: InAppTemplateRequest;
  7017. /**
  7018. * The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
  7019. */
  7020. TemplateName: __string;
  7021. /**
  7022. * The unique identifier for the version of the message template to update, retrieve information about, or delete. To retrieve identifiers and other information for all the versions of a template, use the Template Versions resource. If specified, this value must match the identifier for an existing template version. If specified for an update operation, this value must match the identifier for the latest existing version of the template. This restriction helps ensure that race conditions don't occur. If you don't specify a value for this parameter, Amazon Pinpoint does the following: For a get operation, retrieves information about the active version of the template. For an update operation, saves the updates to (overwrites) the latest existing version of the template, if the create-new-version parameter isn't used or is set to false. For a delete operation, deletes the template, including all versions of the template.
  7023. */
  7024. Version?: __string;
  7025. }
  7026. export interface UpdateInAppTemplateResponse {
  7027. MessageBody: MessageBody;
  7028. }
  7029. export interface UpdateJourneyRequest {
  7030. /**
  7031. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  7032. */
  7033. ApplicationId: __string;
  7034. /**
  7035. * The unique identifier for the journey.
  7036. */
  7037. JourneyId: __string;
  7038. WriteJourneyRequest: WriteJourneyRequest;
  7039. }
  7040. export interface UpdateJourneyResponse {
  7041. JourneyResponse: JourneyResponse;
  7042. }
  7043. export interface UpdateJourneyStateRequest {
  7044. /**
  7045. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  7046. */
  7047. ApplicationId: __string;
  7048. /**
  7049. * The unique identifier for the journey.
  7050. */
  7051. JourneyId: __string;
  7052. JourneyStateRequest: JourneyStateRequest;
  7053. }
  7054. export interface UpdateJourneyStateResponse {
  7055. JourneyResponse: JourneyResponse;
  7056. }
  7057. export interface UpdatePushTemplateRequest {
  7058. /**
  7059. * Specifies whether to save the updates as a new version of the message template. Valid values are: true, save the updates as a new version; and, false, save the updates to (overwrite) the latest existing version of the template. If you don't specify a value for this parameter, Amazon Pinpoint saves the updates to (overwrites) the latest existing version of the template. If you specify a value of true for this parameter, don't specify a value for the version parameter. Otherwise, an error will occur.
  7060. */
  7061. CreateNewVersion?: __boolean;
  7062. PushNotificationTemplateRequest: PushNotificationTemplateRequest;
  7063. /**
  7064. * The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
  7065. */
  7066. TemplateName: __string;
  7067. /**
  7068. * The unique identifier for the version of the message template to update, retrieve information about, or delete. To retrieve identifiers and other information for all the versions of a template, use the Template Versions resource. If specified, this value must match the identifier for an existing template version. If specified for an update operation, this value must match the identifier for the latest existing version of the template. This restriction helps ensure that race conditions don't occur. If you don't specify a value for this parameter, Amazon Pinpoint does the following: For a get operation, retrieves information about the active version of the template. For an update operation, saves the updates to (overwrites) the latest existing version of the template, if the create-new-version parameter isn't used or is set to false. For a delete operation, deletes the template, including all versions of the template.
  7069. */
  7070. Version?: __string;
  7071. }
  7072. export interface UpdatePushTemplateResponse {
  7073. MessageBody: MessageBody;
  7074. }
  7075. export interface UpdateRecommenderConfiguration {
  7076. /**
  7077. * A map of key-value pairs that defines 1-10 custom endpoint or user attributes, depending on the value for the RecommendationProviderIdType property. Each of these attributes temporarily stores a recommended item that's retrieved from the recommender model and sent to an AWS Lambda function for additional processing. Each attribute can be used as a message variable in a message template. In the map, the key is the name of a custom attribute and the value is a custom display name for that attribute. The display name appears in the Attribute finder of the template editor on the Amazon Pinpoint console. The following restrictions apply to these names: An attribute name must start with a letter or number and it can contain up to 50 characters. The characters can be letters, numbers, underscores (_), or hyphens (-). Attribute names are case sensitive and must be unique. An attribute display name must start with a letter or number and it can contain up to 25 characters. The characters can be letters, numbers, spaces, underscores (_), or hyphens (-). This object is required if the configuration invokes an AWS Lambda function (RecommendationTransformerUri) to process recommendation data. Otherwise, don't include this object in your request.
  7078. */
  7079. Attributes?: MapOf__string;
  7080. /**
  7081. * A custom description of the configuration for the recommender model. The description can contain up to 128 characters. The characters can be letters, numbers, spaces, or the following symbols: _ ; () , ‐.
  7082. */
  7083. Description?: __string;
  7084. /**
  7085. * A custom name of the configuration for the recommender model. The name must start with a letter or number and it can contain up to 128 characters. The characters can be letters, numbers, spaces, underscores (_), or hyphens (-).
  7086. */
  7087. Name?: __string;
  7088. /**
  7089. * The type of Amazon Pinpoint ID to associate with unique user IDs in the recommender model. This value enables the model to use attribute and event data that’s specific to a particular endpoint or user in an Amazon Pinpoint application. Valid values are: PINPOINT_ENDPOINT_ID - Associate each user in the model with a particular endpoint in Amazon Pinpoint. The data is correlated based on endpoint IDs in Amazon Pinpoint. This is the default value. PINPOINT_USER_ID - Associate each user in the model with a particular user and endpoint in Amazon Pinpoint. The data is correlated based on user IDs in Amazon Pinpoint. If you specify this value, an endpoint definition in Amazon Pinpoint has to specify both a user ID (UserId) and an endpoint ID. Otherwise, messages won’t be sent to the user's endpoint.
  7090. */
  7091. RecommendationProviderIdType?: __string;
  7092. /**
  7093. * The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to retrieve recommendation data from the recommender model.
  7094. */
  7095. RecommendationProviderRoleArn: __string;
  7096. /**
  7097. * The Amazon Resource Name (ARN) of the recommender model to retrieve recommendation data from. This value must match the ARN of an Amazon Personalize campaign.
  7098. */
  7099. RecommendationProviderUri: __string;
  7100. /**
  7101. * The name or Amazon Resource Name (ARN) of the AWS Lambda function to invoke for additional processing of recommendation data that's retrieved from the recommender model.
  7102. */
  7103. RecommendationTransformerUri?: __string;
  7104. /**
  7105. * A custom display name for the standard endpoint or user attribute (RecommendationItems) that temporarily stores recommended items for each endpoint or user, depending on the value for the RecommendationProviderIdType property. This value is required if the configuration doesn't invoke an AWS Lambda function (RecommendationTransformerUri) to perform additional processing of recommendation data. This name appears in the Attribute finder of the template editor on the Amazon Pinpoint console. The name can contain up to 25 characters. The characters can be letters, numbers, spaces, underscores (_), or hyphens (-). These restrictions don't apply to attribute values.
  7106. */
  7107. RecommendationsDisplayName?: __string;
  7108. /**
  7109. * The number of recommended items to retrieve from the model for each endpoint or user, depending on the value for the RecommendationProviderIdType property. This number determines how many recommended items are available for use in message variables. The minimum value is 1. The maximum value is 5. The default value is 5. To use multiple recommended items and custom attributes with message variables, you have to use an AWS Lambda function (RecommendationTransformerUri) to perform additional processing of recommendation data.
  7110. */
  7111. RecommendationsPerMessage?: __integer;
  7112. }
  7113. export interface UpdateRecommenderConfigurationRequest {
  7114. /**
  7115. * The unique identifier for the recommender model configuration. This identifier is displayed as the Recommender ID on the Amazon Pinpoint console.
  7116. */
  7117. RecommenderId: __string;
  7118. UpdateRecommenderConfiguration: UpdateRecommenderConfiguration;
  7119. }
  7120. export interface UpdateRecommenderConfigurationResponse {
  7121. RecommenderConfigurationResponse: RecommenderConfigurationResponse;
  7122. }
  7123. export interface UpdateSegmentRequest {
  7124. /**
  7125. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  7126. */
  7127. ApplicationId: __string;
  7128. /**
  7129. * The unique identifier for the segment.
  7130. */
  7131. SegmentId: __string;
  7132. WriteSegmentRequest: WriteSegmentRequest;
  7133. }
  7134. export interface UpdateSegmentResponse {
  7135. SegmentResponse: SegmentResponse;
  7136. }
  7137. export interface UpdateSmsChannelRequest {
  7138. /**
  7139. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  7140. */
  7141. ApplicationId: __string;
  7142. SMSChannelRequest: SMSChannelRequest;
  7143. }
  7144. export interface UpdateSmsChannelResponse {
  7145. SMSChannelResponse: SMSChannelResponse;
  7146. }
  7147. export interface UpdateSmsTemplateRequest {
  7148. /**
  7149. * Specifies whether to save the updates as a new version of the message template. Valid values are: true, save the updates as a new version; and, false, save the updates to (overwrite) the latest existing version of the template. If you don't specify a value for this parameter, Amazon Pinpoint saves the updates to (overwrites) the latest existing version of the template. If you specify a value of true for this parameter, don't specify a value for the version parameter. Otherwise, an error will occur.
  7150. */
  7151. CreateNewVersion?: __boolean;
  7152. SMSTemplateRequest: SMSTemplateRequest;
  7153. /**
  7154. * The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
  7155. */
  7156. TemplateName: __string;
  7157. /**
  7158. * The unique identifier for the version of the message template to update, retrieve information about, or delete. To retrieve identifiers and other information for all the versions of a template, use the Template Versions resource. If specified, this value must match the identifier for an existing template version. If specified for an update operation, this value must match the identifier for the latest existing version of the template. This restriction helps ensure that race conditions don't occur. If you don't specify a value for this parameter, Amazon Pinpoint does the following: For a get operation, retrieves information about the active version of the template. For an update operation, saves the updates to (overwrites) the latest existing version of the template, if the create-new-version parameter isn't used or is set to false. For a delete operation, deletes the template, including all versions of the template.
  7159. */
  7160. Version?: __string;
  7161. }
  7162. export interface UpdateSmsTemplateResponse {
  7163. MessageBody: MessageBody;
  7164. }
  7165. export interface UpdateTemplateActiveVersionRequest {
  7166. TemplateActiveVersionRequest: TemplateActiveVersionRequest;
  7167. /**
  7168. * The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
  7169. */
  7170. TemplateName: __string;
  7171. /**
  7172. * The type of channel that the message template is designed for. Valid values are: EMAIL, PUSH, SMS, and VOICE.
  7173. */
  7174. TemplateType: __string;
  7175. }
  7176. export interface UpdateTemplateActiveVersionResponse {
  7177. MessageBody: MessageBody;
  7178. }
  7179. export interface UpdateVoiceChannelRequest {
  7180. /**
  7181. * The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
  7182. */
  7183. ApplicationId: __string;
  7184. VoiceChannelRequest: VoiceChannelRequest;
  7185. }
  7186. export interface UpdateVoiceChannelResponse {
  7187. VoiceChannelResponse: VoiceChannelResponse;
  7188. }
  7189. export interface UpdateVoiceTemplateRequest {
  7190. /**
  7191. * Specifies whether to save the updates as a new version of the message template. Valid values are: true, save the updates as a new version; and, false, save the updates to (overwrite) the latest existing version of the template. If you don't specify a value for this parameter, Amazon Pinpoint saves the updates to (overwrites) the latest existing version of the template. If you specify a value of true for this parameter, don't specify a value for the version parameter. Otherwise, an error will occur.
  7192. */
  7193. CreateNewVersion?: __boolean;
  7194. /**
  7195. * The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
  7196. */
  7197. TemplateName: __string;
  7198. /**
  7199. * The unique identifier for the version of the message template to update, retrieve information about, or delete. To retrieve identifiers and other information for all the versions of a template, use the Template Versions resource. If specified, this value must match the identifier for an existing template version. If specified for an update operation, this value must match the identifier for the latest existing version of the template. This restriction helps ensure that race conditions don't occur. If you don't specify a value for this parameter, Amazon Pinpoint does the following: For a get operation, retrieves information about the active version of the template. For an update operation, saves the updates to (overwrites) the latest existing version of the template, if the create-new-version parameter isn't used or is set to false. For a delete operation, deletes the template, including all versions of the template.
  7200. */
  7201. Version?: __string;
  7202. VoiceTemplateRequest: VoiceTemplateRequest;
  7203. }
  7204. export interface UpdateVoiceTemplateResponse {
  7205. MessageBody: MessageBody;
  7206. }
  7207. export interface VerificationResponse {
  7208. /**
  7209. * Specifies whether the OTP is valid or not.
  7210. */
  7211. Valid?: __boolean;
  7212. }
  7213. export interface VerifyOTPMessageRequest {
  7214. /**
  7215. * The unique ID of your Amazon Pinpoint application.
  7216. */
  7217. ApplicationId: __string;
  7218. VerifyOTPMessageRequestParameters: VerifyOTPMessageRequestParameters;
  7219. }
  7220. export interface VerifyOTPMessageRequestParameters {
  7221. /**
  7222. * The destination identity to send OTP to.
  7223. */
  7224. DestinationIdentity: __string;
  7225. /**
  7226. * The OTP the end user provided for verification.
  7227. */
  7228. Otp: __string;
  7229. /**
  7230. * The reference identifier provided when the OTP was previously sent.
  7231. */
  7232. ReferenceId: __string;
  7233. }
  7234. export interface VerifyOTPMessageResponse {
  7235. VerificationResponse: VerificationResponse;
  7236. }
  7237. export interface VoiceChannelRequest {
  7238. /**
  7239. * Specifies whether to enable the voice channel for the application.
  7240. */
  7241. Enabled?: __boolean;
  7242. }
  7243. export interface VoiceChannelResponse {
  7244. /**
  7245. * The unique identifier for the application that the voice channel applies to.
  7246. */
  7247. ApplicationId?: __string;
  7248. /**
  7249. * The date and time, in ISO 8601 format, when the voice channel was enabled.
  7250. */
  7251. CreationDate?: __string;
  7252. /**
  7253. * Specifies whether the voice channel is enabled for the application.
  7254. */
  7255. Enabled?: __boolean;
  7256. /**
  7257. * (Not used) This property is retained only for backward compatibility.
  7258. */
  7259. HasCredential?: __boolean;
  7260. /**
  7261. * (Deprecated) An identifier for the voice channel. This property is retained only for backward compatibility.
  7262. */
  7263. Id?: __string;
  7264. /**
  7265. * Specifies whether the voice channel is archived.
  7266. */
  7267. IsArchived?: __boolean;
  7268. /**
  7269. * The user who last modified the voice channel.
  7270. */
  7271. LastModifiedBy?: __string;
  7272. /**
  7273. * The date and time, in ISO 8601 format, when the voice channel was last modified.
  7274. */
  7275. LastModifiedDate?: __string;
  7276. /**
  7277. * The type of messaging or notification platform for the channel. For the voice channel, this value is VOICE.
  7278. */
  7279. Platform: __string;
  7280. /**
  7281. * The current version of the voice channel.
  7282. */
  7283. Version?: __integer;
  7284. }
  7285. export interface VoiceMessage {
  7286. /**
  7287. * The text of the script to use for the voice message.
  7288. */
  7289. Body?: __string;
  7290. /**
  7291. * The code for the language to use when synthesizing the text of the message script. For a list of supported languages and the code for each one, see the Amazon Polly Developer Guide.
  7292. */
  7293. LanguageCode?: __string;
  7294. /**
  7295. * The long code to send the voice message from. This value should be one of the dedicated long codes that's assigned to your AWS account. Although it isn't required, we recommend that you specify the long code in E.164 format, for example +12065550100, to ensure prompt and accurate delivery of the message.
  7296. */
  7297. OriginationNumber?: __string;
  7298. /**
  7299. * The default message variables to use in the voice message. You can override the default variables with individual address variables.
  7300. */
  7301. Substitutions?: MapOfListOf__string;
  7302. /**
  7303. * The name of the voice to use when delivering the message. For a list of supported voices, see the Amazon Polly Developer Guide.
  7304. */
  7305. VoiceId?: __string;
  7306. }
  7307. export interface VoiceTemplateRequest {
  7308. /**
  7309. * The text of the script to use in messages that are based on the message template, in plain text format.
  7310. */
  7311. Body?: __string;
  7312. /**
  7313. * A JSON object that specifies the default values to use for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable. When you create a message that's based on the template, you can override these defaults with message-specific and address-specific variables and values.
  7314. */
  7315. DefaultSubstitutions?: __string;
  7316. /**
  7317. * The code for the language to use when synthesizing the text of the script in messages that are based on the message template. For a list of supported languages and the code for each one, see the Amazon Polly Developer Guide.
  7318. */
  7319. LanguageCode?: __string;
  7320. /**
  7321. * As of 22-05-2023 tags has been deprecated for update operations. After this date any value in tags is not processed and an error code is not returned. To manage tags we recommend using either Tags in the API Reference for Amazon Pinpoint, resourcegroupstaggingapi commands in the AWS Command Line Interface Documentation or resourcegroupstaggingapi in the AWS SDK. (Deprecated) A string-to-string map of key-value pairs that defines the tags to associate with the message template. Each tag consists of a required tag key and an associated tag value.
  7322. */
  7323. tags?: MapOf__string;
  7324. /**
  7325. * A custom description of the message template.
  7326. */
  7327. TemplateDescription?: __string;
  7328. /**
  7329. * The name of the voice to use when delivering messages that are based on the message template. For a list of supported voices, see the Amazon Polly Developer Guide.
  7330. */
  7331. VoiceId?: __string;
  7332. }
  7333. export interface VoiceTemplateResponse {
  7334. /**
  7335. * The Amazon Resource Name (ARN) of the message template.
  7336. */
  7337. Arn?: __string;
  7338. /**
  7339. * The text of the script that's used in messages that are based on the message template, in plain text format.
  7340. */
  7341. Body?: __string;
  7342. /**
  7343. * The date, in ISO 8601 format, when the message template was created.
  7344. */
  7345. CreationDate: __string;
  7346. /**
  7347. * The JSON object that specifies the default values that are used for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable.
  7348. */
  7349. DefaultSubstitutions?: __string;
  7350. /**
  7351. * The code for the language that's used when synthesizing the text of the script in messages that are based on the message template. For a list of supported languages and the code for each one, see the Amazon Polly Developer Guide.
  7352. */
  7353. LanguageCode?: __string;
  7354. /**
  7355. * The date, in ISO 8601 format, when the message template was last modified.
  7356. */
  7357. LastModifiedDate: __string;
  7358. /**
  7359. * A string-to-string map of key-value pairs that identifies the tags that are associated with the message template. Each tag consists of a required tag key and an associated tag value.
  7360. */
  7361. tags?: MapOf__string;
  7362. /**
  7363. * The custom description of the message template.
  7364. */
  7365. TemplateDescription?: __string;
  7366. /**
  7367. * The name of the message template.
  7368. */
  7369. TemplateName: __string;
  7370. /**
  7371. * The type of channel that the message template is designed for. For a voice template, this value is VOICE.
  7372. */
  7373. TemplateType: TemplateType;
  7374. /**
  7375. * The unique identifier, as an integer, for the active version of the message template, or the version of the template that you specified by using the version parameter in your request.
  7376. */
  7377. Version?: __string;
  7378. /**
  7379. * The name of the voice that's used when delivering messages that are based on the message template. For a list of supported voices, see the Amazon Polly Developer Guide.
  7380. */
  7381. VoiceId?: __string;
  7382. }
  7383. export interface WaitActivity {
  7384. /**
  7385. * The unique identifier for the next activity to perform, after performing the wait activity.
  7386. */
  7387. NextActivity?: __string;
  7388. /**
  7389. * The amount of time to wait or the date and time when the activity moves participants to the next activity in the journey.
  7390. */
  7391. WaitTime?: WaitTime;
  7392. }
  7393. export interface WaitTime {
  7394. /**
  7395. * The amount of time to wait, as a duration in ISO 8601 format, before determining whether the activity's conditions have been met or moving participants to the next activity in the journey.
  7396. */
  7397. WaitFor?: __string;
  7398. /**
  7399. * The date and time, in ISO 8601 format, when Amazon Pinpoint determines whether the activity's conditions have been met or the activity moves participants to the next activity in the journey.
  7400. */
  7401. WaitUntil?: __string;
  7402. }
  7403. export interface WriteApplicationSettingsRequest {
  7404. /**
  7405. * The settings for the AWS Lambda function to invoke by default as a code hook for campaigns in the application. You can use this hook to customize segments that are used by campaigns in the application. To override these settings and define custom settings for a specific campaign, use the CampaignHook object of the Campaign resource.
  7406. */
  7407. CampaignHook?: CampaignHook;
  7408. /**
  7409. * Specifies whether to enable application-related alarms in Amazon CloudWatch.
  7410. */
  7411. CloudWatchMetricsEnabled?: __boolean;
  7412. EventTaggingEnabled?: __boolean;
  7413. /**
  7414. * The default sending limits for campaigns in the application. To override these limits and define custom limits for a specific campaign or journey, use the Campaign resource or the Journey resource, respectively.
  7415. */
  7416. Limits?: CampaignLimits;
  7417. /**
  7418. * The default quiet time for campaigns in the application. Quiet time is a specific time range when messages aren't sent to endpoints, if all the following conditions are met: The EndpointDemographic.Timezone property of the endpoint is set to a valid value. The current time in the endpoint's time zone is later than or equal to the time specified by the QuietTime.Start property for the application (or a campaign or journey that has custom quiet time settings). The current time in the endpoint's time zone is earlier than or equal to the time specified by the QuietTime.End property for the application (or a campaign or journey that has custom quiet time settings). If any of the preceding conditions isn't met, the endpoint will receive messages from a campaign or journey, even if quiet time is enabled. To override the default quiet time settings for a specific campaign or journey, use the Campaign resource or the Journey resource to define a custom quiet time for the campaign or journey.
  7419. */
  7420. QuietTime?: QuietTime;
  7421. /**
  7422. * The default sending limits for journeys in the application. These limits apply to each journey for the application but can be overridden, on a per journey basis, with the JourneyLimits resource.
  7423. */
  7424. JourneyLimits?: ApplicationSettingsJourneyLimits;
  7425. }
  7426. export interface WriteCampaignRequest {
  7427. /**
  7428. * An array of requests that defines additional treatments for the campaign, in addition to the default treatment for the campaign.
  7429. */
  7430. AdditionalTreatments?: ListOfWriteTreatmentResource;
  7431. /**
  7432. * The delivery configuration settings for sending the campaign through a custom channel. This object is required if the MessageConfiguration object for the campaign specifies a CustomMessage object.
  7433. */
  7434. CustomDeliveryConfiguration?: CustomDeliveryConfiguration;
  7435. /**
  7436. * A custom description of the campaign.
  7437. */
  7438. Description?: __string;
  7439. /**
  7440. * The allocated percentage of users (segment members) who shouldn't receive messages from the campaign.
  7441. */
  7442. HoldoutPercent?: __integer;
  7443. /**
  7444. * The settings for the AWS Lambda function to invoke as a code hook for the campaign. You can use this hook to customize the segment that's used by the campaign.
  7445. */
  7446. Hook?: CampaignHook;
  7447. /**
  7448. * Specifies whether to pause the campaign. A paused campaign doesn't run unless you resume it by changing this value to false.
  7449. */
  7450. IsPaused?: __boolean;
  7451. /**
  7452. * The messaging limits for the campaign.
  7453. */
  7454. Limits?: CampaignLimits;
  7455. /**
  7456. * The message configuration settings for the campaign.
  7457. */
  7458. MessageConfiguration?: MessageConfiguration;
  7459. /**
  7460. * A custom name for the campaign.
  7461. */
  7462. Name?: __string;
  7463. /**
  7464. * The schedule settings for the campaign.
  7465. */
  7466. Schedule?: Schedule;
  7467. /**
  7468. * The unique identifier for the segment to associate with the campaign.
  7469. */
  7470. SegmentId?: __string;
  7471. /**
  7472. * The version of the segment to associate with the campaign.
  7473. */
  7474. SegmentVersion?: __integer;
  7475. /**
  7476. * As of 22-05-2023 tags has been deprecated for update operations. After this date any value in tags is not processed and an error code is not returned. To manage tags we recommend using either Tags in the API Reference for Amazon Pinpoint, resourcegroupstaggingapi commands in the AWS Command Line Interface Documentation or resourcegroupstaggingapi in the AWS SDK. (Deprecated) A string-to-string map of key-value pairs that defines the tags to associate with the campaign. Each tag consists of a required tag key and an associated tag value.
  7477. */
  7478. tags?: MapOf__string;
  7479. /**
  7480. * The message template to use for the campaign.
  7481. */
  7482. TemplateConfiguration?: TemplateConfiguration;
  7483. /**
  7484. * A custom description of the default treatment for the campaign.
  7485. */
  7486. TreatmentDescription?: __string;
  7487. /**
  7488. * A custom name of the default treatment for the campaign, if the campaign has multiple treatments. A treatment is a variation of a campaign that's used for A/B testing.
  7489. */
  7490. TreatmentName?: __string;
  7491. /**
  7492. * Defines the priority of the campaign, used to decide the order of messages displayed to user if there are multiple messages scheduled to be displayed at the same moment.
  7493. */
  7494. Priority?: __integer;
  7495. }
  7496. export interface WriteEventStream {
  7497. /**
  7498. * The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery stream that you want to publish event data to. For a Kinesis data stream, the ARN format is: arn:aws:kinesis:region:account-id:stream/stream_name
  7499. For a Kinesis Data Firehose delivery stream, the ARN format is: arn:aws:firehose:region:account-id:deliverystream/stream_name
  7500. */
  7501. DestinationStreamArn: __string;
  7502. /**
  7503. * The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the stream in your AWS account.
  7504. */
  7505. RoleArn: __string;
  7506. }
  7507. export interface WriteJourneyRequest {
  7508. /**
  7509. * A map that contains a set of Activity objects, one object for each activity in the journey. For each Activity object, the key is the unique identifier (string) for an activity and the value is the settings for the activity. An activity identifier can contain a maximum of 100 characters. The characters must be alphanumeric characters.
  7510. */
  7511. Activities?: MapOfActivity;
  7512. /**
  7513. * The date, in ISO 8601 format, when the journey was created.
  7514. */
  7515. CreationDate?: __string;
  7516. /**
  7517. * The date, in ISO 8601 format, when the journey was last modified.
  7518. */
  7519. LastModifiedDate?: __string;
  7520. /**
  7521. * The messaging and entry limits for the journey.
  7522. */
  7523. Limits?: JourneyLimits;
  7524. /**
  7525. * Specifies whether the journey's scheduled start and end times use each participant's local time. To base the schedule on each participant's local time, set this value to true.
  7526. */
  7527. LocalTime?: __boolean;
  7528. /**
  7529. * The name of the journey. A journey name can contain a maximum of 150 characters. The characters can be alphanumeric characters or symbols, such as underscores (_) or hyphens (-). A journey name can't contain any spaces.
  7530. */
  7531. Name: __string;
  7532. /**
  7533. * The quiet time settings for the journey. Quiet time is a specific time range when a journey doesn't send messages to participants, if all the following conditions are met: The EndpointDemographic.Timezone property of the endpoint for the participant is set to a valid value. The current time in the participant's time zone is later than or equal to the time specified by the QuietTime.Start property for the journey. The current time in the participant's time zone is earlier than or equal to the time specified by the QuietTime.End property for the journey. If any of the preceding conditions isn't met, the participant will receive messages from the journey, even if quiet time is enabled.
  7534. */
  7535. QuietTime?: QuietTime;
  7536. /**
  7537. * The frequency with which Amazon Pinpoint evaluates segment and event data for the journey, as a duration in ISO 8601 format.
  7538. */
  7539. RefreshFrequency?: __string;
  7540. /**
  7541. * The schedule settings for the journey.
  7542. */
  7543. Schedule?: JourneySchedule;
  7544. /**
  7545. * The unique identifier for the first activity in the journey. The identifier for this activity can contain a maximum of 128 characters. The characters must be alphanumeric characters.
  7546. */
  7547. StartActivity?: __string;
  7548. /**
  7549. * The segment that defines which users are participants in the journey.
  7550. */
  7551. StartCondition?: StartCondition;
  7552. /**
  7553. * The status of the journey. Valid values are: DRAFT - Saves the journey and doesn't publish it. ACTIVE - Saves and publishes the journey. Depending on the journey's schedule, the journey starts running immediately or at the scheduled start time. If a journey's status is ACTIVE, you can't add, change, or remove activities from it. PAUSED, CANCELLED, COMPLETED, and CLOSED states are not supported in requests to create or update a journey. To cancel, pause, or resume a journey, use the Journey State resource.
  7554. */
  7555. State?: State;
  7556. /**
  7557. * Specifies whether endpoints in quiet hours should enter a wait till the end of their quiet hours.
  7558. */
  7559. WaitForQuietTime?: __boolean;
  7560. /**
  7561. * Indicates whether the journey participants should be refreshed when a segment is updated.
  7562. */
  7563. RefreshOnSegmentUpdate?: __boolean;
  7564. /**
  7565. * The channel-specific configurations for the journey.
  7566. */
  7567. JourneyChannelSettings?: JourneyChannelSettings;
  7568. /**
  7569. * Indicates if journey has Advance Quiet Time enabled. This flag should be set to true in order to allow using OpenHours and ClosedDays.
  7570. */
  7571. SendingSchedule?: __boolean;
  7572. /**
  7573. * The time when journey allow to send messages. QuietTime should be configured first and SendingSchedule should be set to true.
  7574. */
  7575. OpenHours?: OpenHours;
  7576. /**
  7577. * The time when journey will stop sending messages. QuietTime should be configured first and SendingSchedule should be set to true.
  7578. */
  7579. ClosedDays?: ClosedDays;
  7580. /**
  7581. * An array of time zone estimation methods, if any, to use for determining an Endpoints time zone if the Endpoint does not have a value for the Demographic.Timezone attribute. PHONE_NUMBER - A time zone is determined based on the Endpoint.Address and Endpoint.Location.Country. POSTAL_CODE - A time zone is determined based on the Endpoint.Location.PostalCode and Endpoint.Location.Country. POSTAL_CODE detection is only supported in the United States, United Kingdom, Australia, New Zealand, Canada, France, Italy, Spain, Germany and in regions where Amazon Pinpoint is available.
  7582. */
  7583. TimezoneEstimationMethods?: ListOf__TimezoneEstimationMethodsElement;
  7584. }
  7585. export interface WriteSegmentRequest {
  7586. /**
  7587. * The criteria that define the dimensions for the segment.
  7588. */
  7589. Dimensions?: SegmentDimensions;
  7590. /**
  7591. * The name of the segment.
  7592. */
  7593. Name?: __string;
  7594. /**
  7595. * The segment group to use and the dimensions to apply to the group's base segments in order to build the segment. A segment group can consist of zero or more base segments. Your request can include only one segment group.
  7596. */
  7597. SegmentGroups?: SegmentGroupList;
  7598. /**
  7599. * As of 22-05-2023 tags has been deprecated for update operations. After this date any value in tags is not processed and an error code is not returned. To manage tags we recommend using either Tags in the API Reference for Amazon Pinpoint, resourcegroupstaggingapi commands in the AWS Command Line Interface Documentation or resourcegroupstaggingapi in the AWS SDK. (Deprecated) A string-to-string map of key-value pairs that defines the tags to associate with the segment. Each tag consists of a required tag key and an associated tag value.
  7600. */
  7601. tags?: MapOf__string;
  7602. }
  7603. export interface WriteTreatmentResource {
  7604. /**
  7605. * The delivery configuration settings for sending the treatment through a custom channel. This object is required if the MessageConfiguration object for the treatment specifies a CustomMessage object.
  7606. */
  7607. CustomDeliveryConfiguration?: CustomDeliveryConfiguration;
  7608. /**
  7609. * The message configuration settings for the treatment.
  7610. */
  7611. MessageConfiguration?: MessageConfiguration;
  7612. /**
  7613. * The schedule settings for the treatment.
  7614. */
  7615. Schedule?: Schedule;
  7616. /**
  7617. * The allocated percentage of users (segment members) to send the treatment to.
  7618. */
  7619. SizePercent: __integer;
  7620. /**
  7621. * The message template to use for the treatment.
  7622. */
  7623. TemplateConfiguration?: TemplateConfiguration;
  7624. /**
  7625. * A custom description of the treatment.
  7626. */
  7627. TreatmentDescription?: __string;
  7628. /**
  7629. * A custom name for the treatment.
  7630. */
  7631. TreatmentName?: __string;
  7632. }
  7633. export type __EndpointTypesElement = "PUSH"|"GCM"|"APNS"|"APNS_SANDBOX"|"APNS_VOIP"|"APNS_VOIP_SANDBOX"|"ADM"|"SMS"|"VOICE"|"EMAIL"|"BAIDU"|"CUSTOM"|"IN_APP"|string;
  7634. export type __TimezoneEstimationMethodsElement = "PHONE_NUMBER"|"POSTAL_CODE"|string;
  7635. export type __boolean = boolean;
  7636. export type __double = number;
  7637. export type __integer = number;
  7638. export type ListOfActivityResponse = ActivityResponse[];
  7639. export type ListOfApplicationResponse = ApplicationResponse[];
  7640. export type ListOfCampaignResponse = CampaignResponse[];
  7641. export type ListOfEndpointBatchItem = EndpointBatchItem[];
  7642. export type ListOfEndpointResponse = EndpointResponse[];
  7643. export type ListOfExportJobResponse = ExportJobResponse[];
  7644. export type ListOfImportJobResponse = ImportJobResponse[];
  7645. export type ListOfInAppMessageCampaign = InAppMessageCampaign[];
  7646. export type ListOfInAppMessageContent = InAppMessageContent[];
  7647. export type ListOfJourneyResponse = JourneyResponse[];
  7648. export type ListOfJourneyRunResponse = JourneyRunResponse[];
  7649. export type ListOfMultiConditionalBranch = MultiConditionalBranch[];
  7650. export type ListOfRandomSplitEntry = RandomSplitEntry[];
  7651. export type ListOfRecommenderConfigurationResponse = RecommenderConfigurationResponse[];
  7652. export type ListOfResultRow = ResultRow[];
  7653. export type ListOfResultRowValue = ResultRowValue[];
  7654. export type ListOfSegmentDimensions = SegmentDimensions[];
  7655. export type ListOfSegmentGroup = SegmentGroup[];
  7656. export type ListOfSegmentReference = SegmentReference[];
  7657. export type ListOfSegmentResponse = SegmentResponse[];
  7658. export type ListOfSimpleCondition = SimpleCondition[];
  7659. export type ListOfTemplateResponse = TemplateResponse[];
  7660. export type ListOfTemplateVersionResponse = TemplateVersionResponse[];
  7661. export type ListOfTreatmentResource = TreatmentResource[];
  7662. export type ListOfWriteTreatmentResource = WriteTreatmentResource[];
  7663. export type ListOf__EndpointTypesElement = __EndpointTypesElement[];
  7664. export type ListOf__TimezoneEstimationMethodsElement = __TimezoneEstimationMethodsElement[];
  7665. export type ListOf__string = __string[];
  7666. export type MapOfActivity = {[key: string]: Activity};
  7667. export type MapOfAddressConfiguration = {[key: string]: AddressConfiguration};
  7668. export type MapOfAttributeDimension = {[key: string]: AttributeDimension};
  7669. export type MapOfChannelResponse = {[key: string]: ChannelResponse};
  7670. export type MapOfEndpointMessageResult = {[key: string]: EndpointMessageResult};
  7671. export type MapOfEndpointSendConfiguration = {[key: string]: EndpointSendConfiguration};
  7672. export type MapOfEvent = {[key: string]: Event};
  7673. export type MapOfEventItemResponse = {[key: string]: EventItemResponse};
  7674. export type MapOfEventsBatch = {[key: string]: EventsBatch};
  7675. export type MapOfItemResponse = {[key: string]: ItemResponse};
  7676. export type MapOfMessageResult = {[key: string]: MessageResult};
  7677. export type MapOfMetricDimension = {[key: string]: MetricDimension};
  7678. export type MapOf__double = {[key: string]: __double};
  7679. export type MapOf__integer = {[key: string]: __integer};
  7680. export type MapOfListOf__string = {[key: string]: ListOf__string};
  7681. export type MapOfMapOfEndpointMessageResult = {[key: string]: MapOfEndpointMessageResult};
  7682. export type MapOf__string = {[key: string]: __string};
  7683. export type __string = string;
  7684. export type __timestampIso8601 = Date;
  7685. export type DayOfWeek = "MONDAY"|"TUESDAY"|"WEDNESDAY"|"THURSDAY"|"FRIDAY"|"SATURDAY"|"SUNDAY"|string;
  7686. export interface OpenHoursRule {
  7687. /**
  7688. * The start of the scheduled time, in ISO 8601 format, when the channel can send messages.
  7689. */
  7690. StartTime?: __string;
  7691. /**
  7692. * The end of the scheduled time, in ISO 8601 format, when the channel can't send messages.
  7693. */
  7694. EndTime?: __string;
  7695. }
  7696. export type ListOfOpenHoursRules = OpenHoursRule[];
  7697. export type MapOfListOfOpenHoursRules = {[key: string]: ListOfOpenHoursRules};
  7698. export interface OpenHours {
  7699. /**
  7700. * Specifies the schedule settings for the email channel.
  7701. */
  7702. EMAIL?: MapOfListOfOpenHoursRules;
  7703. /**
  7704. * Specifies the schedule settings for the SMS channel.
  7705. */
  7706. SMS?: MapOfListOfOpenHoursRules;
  7707. /**
  7708. * Specifies the schedule settings for the push channel.
  7709. */
  7710. PUSH?: MapOfListOfOpenHoursRules;
  7711. /**
  7712. * Specifies the schedule settings for the voice channel.
  7713. */
  7714. VOICE?: MapOfListOfOpenHoursRules;
  7715. /**
  7716. * Specifies the schedule settings for the custom channel.
  7717. */
  7718. CUSTOM?: MapOfListOfOpenHoursRules;
  7719. }
  7720. export interface ClosedDaysRule {
  7721. /**
  7722. * The name of the closed day rule.
  7723. */
  7724. Name?: __string;
  7725. /**
  7726. * Start DateTime ISO 8601 format
  7727. */
  7728. StartDateTime?: __string;
  7729. /**
  7730. * End DateTime ISO 8601 format
  7731. */
  7732. EndDateTime?: __string;
  7733. }
  7734. export type ListOfClosedDaysRules = ClosedDaysRule[];
  7735. export interface ClosedDays {
  7736. /**
  7737. * Rules for the Email channel.
  7738. */
  7739. EMAIL?: ListOfClosedDaysRules;
  7740. /**
  7741. * Rules for the SMS channel.
  7742. */
  7743. SMS?: ListOfClosedDaysRules;
  7744. /**
  7745. * Rules for the Push channel.
  7746. */
  7747. PUSH?: ListOfClosedDaysRules;
  7748. /**
  7749. * Rules for the Voice channel.
  7750. */
  7751. VOICE?: ListOfClosedDaysRules;
  7752. /**
  7753. * Rules for the Custom channel.
  7754. */
  7755. CUSTOM?: ListOfClosedDaysRules;
  7756. }
  7757. /**
  7758. * 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.
  7759. */
  7760. export type apiVersion = "2016-12-01"|"latest"|string;
  7761. export interface ClientApiVersions {
  7762. /**
  7763. * 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.
  7764. */
  7765. apiVersion?: apiVersion;
  7766. }
  7767. export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
  7768. /**
  7769. * Contains interfaces for use with the Pinpoint client.
  7770. */
  7771. export import Types = Pinpoint;
  7772. }
  7773. export = Pinpoint;