1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046 |
- //
- // Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
- //
- // Licensed under the Apache License, Version 2.0 (the "License").
- // You may not use this file except in compliance with the License.
- // A copy of the License is located at
- //
- // http://aws.amazon.com/apache2.0
- //
- // or in the "license" file accompanying this file. This file is distributed
- // on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
- // express or implied. See the License for the specific language governing
- // permissions and limitations under the License.
- //
-
- #import <Foundation/Foundation.h>
- #import <AWSCore/AWSNetworking.h>
- #import <AWSCore/AWSModel.h>
-
- NS_ASSUME_NONNULL_BEGIN
-
- FOUNDATION_EXPORT NSString *const AWSCognitoIdentityProviderErrorDomain;
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderErrorType) {
- AWSCognitoIdentityProviderErrorUnknown,
- AWSCognitoIdentityProviderErrorAliasExists,
- AWSCognitoIdentityProviderErrorCodeDeliveryFailure,
- AWSCognitoIdentityProviderErrorCodeMismatch,
- AWSCognitoIdentityProviderErrorConcurrentModification,
- AWSCognitoIdentityProviderErrorDuplicateProvider,
- AWSCognitoIdentityProviderErrorEnableSoftwareTokenMFA,
- AWSCognitoIdentityProviderErrorExpiredCode,
- AWSCognitoIdentityProviderErrorGroupExists,
- AWSCognitoIdentityProviderErrorInternalError,
- AWSCognitoIdentityProviderErrorInvalidEmailRoleAccessPolicy,
- AWSCognitoIdentityProviderErrorInvalidLambdaResponse,
- AWSCognitoIdentityProviderErrorInvalidOAuthFlow,
- AWSCognitoIdentityProviderErrorInvalidParameter,
- AWSCognitoIdentityProviderErrorInvalidPassword,
- AWSCognitoIdentityProviderErrorInvalidSmsRoleAccessPolicy,
- AWSCognitoIdentityProviderErrorInvalidSmsRoleTrustRelationship,
- AWSCognitoIdentityProviderErrorInvalidUserPoolConfiguration,
- AWSCognitoIdentityProviderErrorLimitExceeded,
- AWSCognitoIdentityProviderErrorMFAMethodNotFound,
- AWSCognitoIdentityProviderErrorNotAuthorized,
- AWSCognitoIdentityProviderErrorPasswordResetRequired,
- AWSCognitoIdentityProviderErrorPreconditionNotMet,
- AWSCognitoIdentityProviderErrorResourceNotFound,
- AWSCognitoIdentityProviderErrorScopeDoesNotExist,
- AWSCognitoIdentityProviderErrorSoftwareTokenMFANotFound,
- AWSCognitoIdentityProviderErrorTooManyFailedAttempts,
- AWSCognitoIdentityProviderErrorTooManyRequests,
- AWSCognitoIdentityProviderErrorUnexpectedLambda,
- AWSCognitoIdentityProviderErrorUnsupportedIdentityProvider,
- AWSCognitoIdentityProviderErrorUnsupportedUserState,
- AWSCognitoIdentityProviderErrorUserImportInProgress,
- AWSCognitoIdentityProviderErrorUserLambdaValidation,
- AWSCognitoIdentityProviderErrorUserNotConfirmed,
- AWSCognitoIdentityProviderErrorUserNotFound,
- AWSCognitoIdentityProviderErrorUserPoolAddOnNotEnabled,
- AWSCognitoIdentityProviderErrorUserPoolTagging,
- AWSCognitoIdentityProviderErrorUsernameExists,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderAccountTakeoverEventActionType) {
- AWSCognitoIdentityProviderAccountTakeoverEventActionTypeUnknown,
- AWSCognitoIdentityProviderAccountTakeoverEventActionTypeBlock,
- AWSCognitoIdentityProviderAccountTakeoverEventActionTypeMfaIfConfigured,
- AWSCognitoIdentityProviderAccountTakeoverEventActionTypeMfaRequired,
- AWSCognitoIdentityProviderAccountTakeoverEventActionTypeNoAction,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderAdvancedSecurityModeType) {
- AWSCognitoIdentityProviderAdvancedSecurityModeTypeUnknown,
- AWSCognitoIdentityProviderAdvancedSecurityModeTypeOff,
- AWSCognitoIdentityProviderAdvancedSecurityModeTypeAudit,
- AWSCognitoIdentityProviderAdvancedSecurityModeTypeEnforced,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderAliasAttributeType) {
- AWSCognitoIdentityProviderAliasAttributeTypeUnknown,
- AWSCognitoIdentityProviderAliasAttributeTypePhoneNumber,
- AWSCognitoIdentityProviderAliasAttributeTypeEmail,
- AWSCognitoIdentityProviderAliasAttributeTypePreferredUsername,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderAttributeDataType) {
- AWSCognitoIdentityProviderAttributeDataTypeUnknown,
- AWSCognitoIdentityProviderAttributeDataTypeString,
- AWSCognitoIdentityProviderAttributeDataTypeNumber,
- AWSCognitoIdentityProviderAttributeDataTypeDateTime,
- AWSCognitoIdentityProviderAttributeDataTypeBoolean,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderAuthFlowType) {
- AWSCognitoIdentityProviderAuthFlowTypeUnknown,
- AWSCognitoIdentityProviderAuthFlowTypeUserSrpAuth,
- AWSCognitoIdentityProviderAuthFlowTypeRefreshTokenAuth,
- AWSCognitoIdentityProviderAuthFlowTypeRefreshToken,
- AWSCognitoIdentityProviderAuthFlowTypeCustomAuth,
- AWSCognitoIdentityProviderAuthFlowTypeAdminNoSrpAuth,
- AWSCognitoIdentityProviderAuthFlowTypeUserPasswordAuth,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderChallengeName) {
- AWSCognitoIdentityProviderChallengeNameUnknown,
- AWSCognitoIdentityProviderChallengeNamePassword,
- AWSCognitoIdentityProviderChallengeNameMfa,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderChallengeNameType) {
- AWSCognitoIdentityProviderChallengeNameTypeUnknown,
- AWSCognitoIdentityProviderChallengeNameTypeSmsMfa,
- AWSCognitoIdentityProviderChallengeNameTypeSoftwareTokenMfa,
- AWSCognitoIdentityProviderChallengeNameTypeSelectMfaType,
- AWSCognitoIdentityProviderChallengeNameTypeMfaSetup,
- AWSCognitoIdentityProviderChallengeNameTypePasswordVerifier,
- AWSCognitoIdentityProviderChallengeNameTypeCustomChallenge,
- AWSCognitoIdentityProviderChallengeNameTypeDeviceSrpAuth,
- AWSCognitoIdentityProviderChallengeNameTypeDevicePasswordVerifier,
- AWSCognitoIdentityProviderChallengeNameTypeAdminNoSrpAuth,
- AWSCognitoIdentityProviderChallengeNameTypeNewPasswordRequired,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderChallengeResponse) {
- AWSCognitoIdentityProviderChallengeResponseUnknown,
- AWSCognitoIdentityProviderChallengeResponseSuccess,
- AWSCognitoIdentityProviderChallengeResponseFailure,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderCompromisedCredentialsEventActionType) {
- AWSCognitoIdentityProviderCompromisedCredentialsEventActionTypeUnknown,
- AWSCognitoIdentityProviderCompromisedCredentialsEventActionTypeBlock,
- AWSCognitoIdentityProviderCompromisedCredentialsEventActionTypeNoAction,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderDefaultEmailOptionType) {
- AWSCognitoIdentityProviderDefaultEmailOptionTypeUnknown,
- AWSCognitoIdentityProviderDefaultEmailOptionTypeConfirmWithLink,
- AWSCognitoIdentityProviderDefaultEmailOptionTypeConfirmWithCode,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderDeliveryMediumType) {
- AWSCognitoIdentityProviderDeliveryMediumTypeUnknown,
- AWSCognitoIdentityProviderDeliveryMediumTypeSms,
- AWSCognitoIdentityProviderDeliveryMediumTypeEmail,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderDeviceRememberedStatusType) {
- AWSCognitoIdentityProviderDeviceRememberedStatusTypeUnknown,
- AWSCognitoIdentityProviderDeviceRememberedStatusTypeRemembered,
- AWSCognitoIdentityProviderDeviceRememberedStatusTypeNotRemembered,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderDomainStatusType) {
- AWSCognitoIdentityProviderDomainStatusTypeUnknown,
- AWSCognitoIdentityProviderDomainStatusTypeCreating,
- AWSCognitoIdentityProviderDomainStatusTypeDeleting,
- AWSCognitoIdentityProviderDomainStatusTypeUpdating,
- AWSCognitoIdentityProviderDomainStatusTypeActive,
- AWSCognitoIdentityProviderDomainStatusTypeFailed,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderEventFilterType) {
- AWSCognitoIdentityProviderEventFilterTypeUnknown,
- AWSCognitoIdentityProviderEventFilterTypeSignIn,
- AWSCognitoIdentityProviderEventFilterTypePasswordChange,
- AWSCognitoIdentityProviderEventFilterTypeSignUp,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderEventResponseType) {
- AWSCognitoIdentityProviderEventResponseTypeUnknown,
- AWSCognitoIdentityProviderEventResponseTypeSuccess,
- AWSCognitoIdentityProviderEventResponseTypeFailure,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderEventType) {
- AWSCognitoIdentityProviderEventTypeUnknown,
- AWSCognitoIdentityProviderEventTypeSignIn,
- AWSCognitoIdentityProviderEventTypeSignUp,
- AWSCognitoIdentityProviderEventTypeForgotPassword,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderExplicitAuthFlowsType) {
- AWSCognitoIdentityProviderExplicitAuthFlowsTypeUnknown,
- AWSCognitoIdentityProviderExplicitAuthFlowsTypeAdminNoSrpAuth,
- AWSCognitoIdentityProviderExplicitAuthFlowsTypeCustomAuthFlowOnly,
- AWSCognitoIdentityProviderExplicitAuthFlowsTypeUserPasswordAuth,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderFeedbackValueType) {
- AWSCognitoIdentityProviderFeedbackValueTypeUnknown,
- AWSCognitoIdentityProviderFeedbackValueTypeValid,
- AWSCognitoIdentityProviderFeedbackValueTypeInvalid,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderIdentityProviderTypeType) {
- AWSCognitoIdentityProviderIdentityProviderTypeTypeUnknown,
- AWSCognitoIdentityProviderIdentityProviderTypeTypeSaml,
- AWSCognitoIdentityProviderIdentityProviderTypeTypeFacebook,
- AWSCognitoIdentityProviderIdentityProviderTypeTypeGoogle,
- AWSCognitoIdentityProviderIdentityProviderTypeTypeLoginWithAmazon,
- AWSCognitoIdentityProviderIdentityProviderTypeTypeOidc,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderMessageActionType) {
- AWSCognitoIdentityProviderMessageActionTypeUnknown,
- AWSCognitoIdentityProviderMessageActionTypeResend,
- AWSCognitoIdentityProviderMessageActionTypeSuppress,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderOAuthFlowType) {
- AWSCognitoIdentityProviderOAuthFlowTypeUnknown,
- AWSCognitoIdentityProviderOAuthFlowTypeCode,
- AWSCognitoIdentityProviderOAuthFlowTypeImplicit,
- AWSCognitoIdentityProviderOAuthFlowTypeClientCredentials,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderRiskDecisionType) {
- AWSCognitoIdentityProviderRiskDecisionTypeUnknown,
- AWSCognitoIdentityProviderRiskDecisionTypeNoRisk,
- AWSCognitoIdentityProviderRiskDecisionTypeAccountTakeover,
- AWSCognitoIdentityProviderRiskDecisionTypeBlock,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderRiskLevelType) {
- AWSCognitoIdentityProviderRiskLevelTypeUnknown,
- AWSCognitoIdentityProviderRiskLevelTypeLow,
- AWSCognitoIdentityProviderRiskLevelTypeMedium,
- AWSCognitoIdentityProviderRiskLevelTypeHigh,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderStatusType) {
- AWSCognitoIdentityProviderStatusTypeUnknown,
- AWSCognitoIdentityProviderStatusTypeEnabled,
- AWSCognitoIdentityProviderStatusTypeDisabled,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderUserImportJobStatusType) {
- AWSCognitoIdentityProviderUserImportJobStatusTypeUnknown,
- AWSCognitoIdentityProviderUserImportJobStatusTypeCreated,
- AWSCognitoIdentityProviderUserImportJobStatusTypePending,
- AWSCognitoIdentityProviderUserImportJobStatusTypeInProgress,
- AWSCognitoIdentityProviderUserImportJobStatusTypeStopping,
- AWSCognitoIdentityProviderUserImportJobStatusTypeExpired,
- AWSCognitoIdentityProviderUserImportJobStatusTypeStopped,
- AWSCognitoIdentityProviderUserImportJobStatusTypeFailed,
- AWSCognitoIdentityProviderUserImportJobStatusTypeSucceeded,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderUserPoolMfaType) {
- AWSCognitoIdentityProviderUserPoolMfaTypeUnknown,
- AWSCognitoIdentityProviderUserPoolMfaTypeOff,
- AWSCognitoIdentityProviderUserPoolMfaTypeOn,
- AWSCognitoIdentityProviderUserPoolMfaTypeOptional,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderUserStatusType) {
- AWSCognitoIdentityProviderUserStatusTypeUnknown,
- AWSCognitoIdentityProviderUserStatusTypeUnconfirmed,
- AWSCognitoIdentityProviderUserStatusTypeConfirmed,
- AWSCognitoIdentityProviderUserStatusTypeArchived,
- AWSCognitoIdentityProviderUserStatusTypeCompromised,
- AWSCognitoIdentityProviderUserStatusTypeResetRequired,
- AWSCognitoIdentityProviderUserStatusTypeForceChangePassword,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderUsernameAttributeType) {
- AWSCognitoIdentityProviderUsernameAttributeTypeUnknown,
- AWSCognitoIdentityProviderUsernameAttributeTypePhoneNumber,
- AWSCognitoIdentityProviderUsernameAttributeTypeEmail,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderVerifiedAttributeType) {
- AWSCognitoIdentityProviderVerifiedAttributeTypeUnknown,
- AWSCognitoIdentityProviderVerifiedAttributeTypePhoneNumber,
- AWSCognitoIdentityProviderVerifiedAttributeTypeEmail,
- };
-
- typedef NS_ENUM(NSInteger, AWSCognitoIdentityProviderVerifySoftwareTokenResponseType) {
- AWSCognitoIdentityProviderVerifySoftwareTokenResponseTypeUnknown,
- AWSCognitoIdentityProviderVerifySoftwareTokenResponseTypeSuccess,
- AWSCognitoIdentityProviderVerifySoftwareTokenResponseTypeError,
- };
-
- @class AWSCognitoIdentityProviderAccountTakeoverActionType;
- @class AWSCognitoIdentityProviderAccountTakeoverActionsType;
- @class AWSCognitoIdentityProviderAccountTakeoverRiskConfigurationType;
- @class AWSCognitoIdentityProviderAddCustomAttributesRequest;
- @class AWSCognitoIdentityProviderAddCustomAttributesResponse;
- @class AWSCognitoIdentityProviderAdminAddUserToGroupRequest;
- @class AWSCognitoIdentityProviderAdminConfirmSignUpRequest;
- @class AWSCognitoIdentityProviderAdminConfirmSignUpResponse;
- @class AWSCognitoIdentityProviderAdminCreateUserConfigType;
- @class AWSCognitoIdentityProviderAdminCreateUserRequest;
- @class AWSCognitoIdentityProviderAdminCreateUserResponse;
- @class AWSCognitoIdentityProviderAdminDeleteUserAttributesRequest;
- @class AWSCognitoIdentityProviderAdminDeleteUserAttributesResponse;
- @class AWSCognitoIdentityProviderAdminDeleteUserRequest;
- @class AWSCognitoIdentityProviderAdminDisableProviderForUserRequest;
- @class AWSCognitoIdentityProviderAdminDisableProviderForUserResponse;
- @class AWSCognitoIdentityProviderAdminDisableUserRequest;
- @class AWSCognitoIdentityProviderAdminDisableUserResponse;
- @class AWSCognitoIdentityProviderAdminEnableUserRequest;
- @class AWSCognitoIdentityProviderAdminEnableUserResponse;
- @class AWSCognitoIdentityProviderAdminForgetDeviceRequest;
- @class AWSCognitoIdentityProviderAdminGetDeviceRequest;
- @class AWSCognitoIdentityProviderAdminGetDeviceResponse;
- @class AWSCognitoIdentityProviderAdminGetUserRequest;
- @class AWSCognitoIdentityProviderAdminGetUserResponse;
- @class AWSCognitoIdentityProviderAdminInitiateAuthRequest;
- @class AWSCognitoIdentityProviderAdminInitiateAuthResponse;
- @class AWSCognitoIdentityProviderAdminLinkProviderForUserRequest;
- @class AWSCognitoIdentityProviderAdminLinkProviderForUserResponse;
- @class AWSCognitoIdentityProviderAdminListDevicesRequest;
- @class AWSCognitoIdentityProviderAdminListDevicesResponse;
- @class AWSCognitoIdentityProviderAdminListGroupsForUserRequest;
- @class AWSCognitoIdentityProviderAdminListGroupsForUserResponse;
- @class AWSCognitoIdentityProviderAdminListUserAuthEventsRequest;
- @class AWSCognitoIdentityProviderAdminListUserAuthEventsResponse;
- @class AWSCognitoIdentityProviderAdminRemoveUserFromGroupRequest;
- @class AWSCognitoIdentityProviderAdminResetUserPasswordRequest;
- @class AWSCognitoIdentityProviderAdminResetUserPasswordResponse;
- @class AWSCognitoIdentityProviderAdminRespondToAuthChallengeRequest;
- @class AWSCognitoIdentityProviderAdminRespondToAuthChallengeResponse;
- @class AWSCognitoIdentityProviderAdminSetUserMFAPreferenceRequest;
- @class AWSCognitoIdentityProviderAdminSetUserMFAPreferenceResponse;
- @class AWSCognitoIdentityProviderAdminSetUserSettingsRequest;
- @class AWSCognitoIdentityProviderAdminSetUserSettingsResponse;
- @class AWSCognitoIdentityProviderAdminUpdateAuthEventFeedbackRequest;
- @class AWSCognitoIdentityProviderAdminUpdateAuthEventFeedbackResponse;
- @class AWSCognitoIdentityProviderAdminUpdateDeviceStatusRequest;
- @class AWSCognitoIdentityProviderAdminUpdateDeviceStatusResponse;
- @class AWSCognitoIdentityProviderAdminUpdateUserAttributesRequest;
- @class AWSCognitoIdentityProviderAdminUpdateUserAttributesResponse;
- @class AWSCognitoIdentityProviderAdminUserGlobalSignOutRequest;
- @class AWSCognitoIdentityProviderAdminUserGlobalSignOutResponse;
- @class AWSCognitoIdentityProviderAnalyticsConfigurationType;
- @class AWSCognitoIdentityProviderAnalyticsMetadataType;
- @class AWSCognitoIdentityProviderAssociateSoftwareTokenRequest;
- @class AWSCognitoIdentityProviderAssociateSoftwareTokenResponse;
- @class AWSCognitoIdentityProviderAttributeType;
- @class AWSCognitoIdentityProviderAuthEventType;
- @class AWSCognitoIdentityProviderAuthenticationResultType;
- @class AWSCognitoIdentityProviderChallengeResponseType;
- @class AWSCognitoIdentityProviderChangePasswordRequest;
- @class AWSCognitoIdentityProviderChangePasswordResponse;
- @class AWSCognitoIdentityProviderCodeDeliveryDetailsType;
- @class AWSCognitoIdentityProviderCompromisedCredentialsActionsType;
- @class AWSCognitoIdentityProviderCompromisedCredentialsRiskConfigurationType;
- @class AWSCognitoIdentityProviderConfirmDeviceRequest;
- @class AWSCognitoIdentityProviderConfirmDeviceResponse;
- @class AWSCognitoIdentityProviderConfirmForgotPasswordRequest;
- @class AWSCognitoIdentityProviderConfirmForgotPasswordResponse;
- @class AWSCognitoIdentityProviderConfirmSignUpRequest;
- @class AWSCognitoIdentityProviderConfirmSignUpResponse;
- @class AWSCognitoIdentityProviderContextDataType;
- @class AWSCognitoIdentityProviderCreateGroupRequest;
- @class AWSCognitoIdentityProviderCreateGroupResponse;
- @class AWSCognitoIdentityProviderCreateIdentityProviderRequest;
- @class AWSCognitoIdentityProviderCreateIdentityProviderResponse;
- @class AWSCognitoIdentityProviderCreateResourceServerRequest;
- @class AWSCognitoIdentityProviderCreateResourceServerResponse;
- @class AWSCognitoIdentityProviderCreateUserImportJobRequest;
- @class AWSCognitoIdentityProviderCreateUserImportJobResponse;
- @class AWSCognitoIdentityProviderCreateUserPoolClientRequest;
- @class AWSCognitoIdentityProviderCreateUserPoolClientResponse;
- @class AWSCognitoIdentityProviderCreateUserPoolDomainRequest;
- @class AWSCognitoIdentityProviderCreateUserPoolDomainResponse;
- @class AWSCognitoIdentityProviderCreateUserPoolRequest;
- @class AWSCognitoIdentityProviderCreateUserPoolResponse;
- @class AWSCognitoIdentityProviderCustomDomainConfigType;
- @class AWSCognitoIdentityProviderDeleteGroupRequest;
- @class AWSCognitoIdentityProviderDeleteIdentityProviderRequest;
- @class AWSCognitoIdentityProviderDeleteResourceServerRequest;
- @class AWSCognitoIdentityProviderDeleteUserAttributesRequest;
- @class AWSCognitoIdentityProviderDeleteUserAttributesResponse;
- @class AWSCognitoIdentityProviderDeleteUserPoolClientRequest;
- @class AWSCognitoIdentityProviderDeleteUserPoolDomainRequest;
- @class AWSCognitoIdentityProviderDeleteUserPoolDomainResponse;
- @class AWSCognitoIdentityProviderDeleteUserPoolRequest;
- @class AWSCognitoIdentityProviderDeleteUserRequest;
- @class AWSCognitoIdentityProviderDescribeIdentityProviderRequest;
- @class AWSCognitoIdentityProviderDescribeIdentityProviderResponse;
- @class AWSCognitoIdentityProviderDescribeResourceServerRequest;
- @class AWSCognitoIdentityProviderDescribeResourceServerResponse;
- @class AWSCognitoIdentityProviderDescribeRiskConfigurationRequest;
- @class AWSCognitoIdentityProviderDescribeRiskConfigurationResponse;
- @class AWSCognitoIdentityProviderDescribeUserImportJobRequest;
- @class AWSCognitoIdentityProviderDescribeUserImportJobResponse;
- @class AWSCognitoIdentityProviderDescribeUserPoolClientRequest;
- @class AWSCognitoIdentityProviderDescribeUserPoolClientResponse;
- @class AWSCognitoIdentityProviderDescribeUserPoolDomainRequest;
- @class AWSCognitoIdentityProviderDescribeUserPoolDomainResponse;
- @class AWSCognitoIdentityProviderDescribeUserPoolRequest;
- @class AWSCognitoIdentityProviderDescribeUserPoolResponse;
- @class AWSCognitoIdentityProviderDeviceConfigurationType;
- @class AWSCognitoIdentityProviderDeviceSecretVerifierConfigType;
- @class AWSCognitoIdentityProviderDeviceType;
- @class AWSCognitoIdentityProviderDomainDescriptionType;
- @class AWSCognitoIdentityProviderEmailConfigurationType;
- @class AWSCognitoIdentityProviderEventContextDataType;
- @class AWSCognitoIdentityProviderEventFeedbackType;
- @class AWSCognitoIdentityProviderEventRiskType;
- @class AWSCognitoIdentityProviderForgetDeviceRequest;
- @class AWSCognitoIdentityProviderForgotPasswordRequest;
- @class AWSCognitoIdentityProviderForgotPasswordResponse;
- @class AWSCognitoIdentityProviderGetCSVHeaderRequest;
- @class AWSCognitoIdentityProviderGetCSVHeaderResponse;
- @class AWSCognitoIdentityProviderGetDeviceRequest;
- @class AWSCognitoIdentityProviderGetDeviceResponse;
- @class AWSCognitoIdentityProviderGetGroupRequest;
- @class AWSCognitoIdentityProviderGetGroupResponse;
- @class AWSCognitoIdentityProviderGetIdentityProviderByIdentifierRequest;
- @class AWSCognitoIdentityProviderGetIdentityProviderByIdentifierResponse;
- @class AWSCognitoIdentityProviderGetSigningCertificateRequest;
- @class AWSCognitoIdentityProviderGetSigningCertificateResponse;
- @class AWSCognitoIdentityProviderGetUICustomizationRequest;
- @class AWSCognitoIdentityProviderGetUICustomizationResponse;
- @class AWSCognitoIdentityProviderGetUserAttributeVerificationCodeRequest;
- @class AWSCognitoIdentityProviderGetUserAttributeVerificationCodeResponse;
- @class AWSCognitoIdentityProviderGetUserPoolMfaConfigRequest;
- @class AWSCognitoIdentityProviderGetUserPoolMfaConfigResponse;
- @class AWSCognitoIdentityProviderGetUserRequest;
- @class AWSCognitoIdentityProviderGetUserResponse;
- @class AWSCognitoIdentityProviderGlobalSignOutRequest;
- @class AWSCognitoIdentityProviderGlobalSignOutResponse;
- @class AWSCognitoIdentityProviderGroupType;
- @class AWSCognitoIdentityProviderHttpHeader;
- @class AWSCognitoIdentityProviderIdentityProviderType;
- @class AWSCognitoIdentityProviderInitiateAuthRequest;
- @class AWSCognitoIdentityProviderInitiateAuthResponse;
- @class AWSCognitoIdentityProviderLambdaConfigType;
- @class AWSCognitoIdentityProviderListDevicesRequest;
- @class AWSCognitoIdentityProviderListDevicesResponse;
- @class AWSCognitoIdentityProviderListGroupsRequest;
- @class AWSCognitoIdentityProviderListGroupsResponse;
- @class AWSCognitoIdentityProviderListIdentityProvidersRequest;
- @class AWSCognitoIdentityProviderListIdentityProvidersResponse;
- @class AWSCognitoIdentityProviderListResourceServersRequest;
- @class AWSCognitoIdentityProviderListResourceServersResponse;
- @class AWSCognitoIdentityProviderListUserImportJobsRequest;
- @class AWSCognitoIdentityProviderListUserImportJobsResponse;
- @class AWSCognitoIdentityProviderListUserPoolClientsRequest;
- @class AWSCognitoIdentityProviderListUserPoolClientsResponse;
- @class AWSCognitoIdentityProviderListUserPoolsRequest;
- @class AWSCognitoIdentityProviderListUserPoolsResponse;
- @class AWSCognitoIdentityProviderListUsersInGroupRequest;
- @class AWSCognitoIdentityProviderListUsersInGroupResponse;
- @class AWSCognitoIdentityProviderListUsersRequest;
- @class AWSCognitoIdentityProviderListUsersResponse;
- @class AWSCognitoIdentityProviderMFAOptionType;
- @class AWSCognitoIdentityProviderMessageTemplateType;
- @class AWSCognitoIdentityProviderLatestDeviceMetadataType;
- @class AWSCognitoIdentityProviderNotifyConfigurationType;
- @class AWSCognitoIdentityProviderNotifyEmailType;
- @class AWSCognitoIdentityProviderNumberAttributeConstraintsType;
- @class AWSCognitoIdentityProviderPasswordPolicyType;
- @class AWSCognitoIdentityProviderProviderDescription;
- @class AWSCognitoIdentityProviderProviderUserIdentifierType;
- @class AWSCognitoIdentityProviderResendConfirmationCodeRequest;
- @class AWSCognitoIdentityProviderResendConfirmationCodeResponse;
- @class AWSCognitoIdentityProviderResourceServerScopeType;
- @class AWSCognitoIdentityProviderResourceServerType;
- @class AWSCognitoIdentityProviderRespondToAuthChallengeRequest;
- @class AWSCognitoIdentityProviderRespondToAuthChallengeResponse;
- @class AWSCognitoIdentityProviderRiskConfigurationType;
- @class AWSCognitoIdentityProviderRiskExceptionConfigurationType;
- @class AWSCognitoIdentityProviderSMSMfaSettingsType;
- @class AWSCognitoIdentityProviderSchemaAttributeType;
- @class AWSCognitoIdentityProviderSetRiskConfigurationRequest;
- @class AWSCognitoIdentityProviderSetRiskConfigurationResponse;
- @class AWSCognitoIdentityProviderSetUICustomizationRequest;
- @class AWSCognitoIdentityProviderSetUICustomizationResponse;
- @class AWSCognitoIdentityProviderSetUserMFAPreferenceRequest;
- @class AWSCognitoIdentityProviderSetUserMFAPreferenceResponse;
- @class AWSCognitoIdentityProviderSetUserPoolMfaConfigRequest;
- @class AWSCognitoIdentityProviderSetUserPoolMfaConfigResponse;
- @class AWSCognitoIdentityProviderSetUserSettingsRequest;
- @class AWSCognitoIdentityProviderSetUserSettingsResponse;
- @class AWSCognitoIdentityProviderSignUpRequest;
- @class AWSCognitoIdentityProviderSignUpResponse;
- @class AWSCognitoIdentityProviderSmsConfigurationType;
- @class AWSCognitoIdentityProviderSmsMfaConfigType;
- @class AWSCognitoIdentityProviderSoftwareTokenMfaConfigType;
- @class AWSCognitoIdentityProviderSoftwareTokenMfaSettingsType;
- @class AWSCognitoIdentityProviderStartUserImportJobRequest;
- @class AWSCognitoIdentityProviderStartUserImportJobResponse;
- @class AWSCognitoIdentityProviderStopUserImportJobRequest;
- @class AWSCognitoIdentityProviderStopUserImportJobResponse;
- @class AWSCognitoIdentityProviderStringAttributeConstraintsType;
- @class AWSCognitoIdentityProviderUICustomizationType;
- @class AWSCognitoIdentityProviderUpdateAuthEventFeedbackRequest;
- @class AWSCognitoIdentityProviderUpdateAuthEventFeedbackResponse;
- @class AWSCognitoIdentityProviderUpdateDeviceStatusRequest;
- @class AWSCognitoIdentityProviderUpdateDeviceStatusResponse;
- @class AWSCognitoIdentityProviderUpdateGroupRequest;
- @class AWSCognitoIdentityProviderUpdateGroupResponse;
- @class AWSCognitoIdentityProviderUpdateIdentityProviderRequest;
- @class AWSCognitoIdentityProviderUpdateIdentityProviderResponse;
- @class AWSCognitoIdentityProviderUpdateResourceServerRequest;
- @class AWSCognitoIdentityProviderUpdateResourceServerResponse;
- @class AWSCognitoIdentityProviderUpdateUserAttributesRequest;
- @class AWSCognitoIdentityProviderUpdateUserAttributesResponse;
- @class AWSCognitoIdentityProviderUpdateUserPoolClientRequest;
- @class AWSCognitoIdentityProviderUpdateUserPoolClientResponse;
- @class AWSCognitoIdentityProviderUpdateUserPoolRequest;
- @class AWSCognitoIdentityProviderUpdateUserPoolResponse;
- @class AWSCognitoIdentityProviderUserContextDataType;
- @class AWSCognitoIdentityProviderUserImportJobType;
- @class AWSCognitoIdentityProviderUserPoolAddOnsType;
- @class AWSCognitoIdentityProviderUserPoolClientDescription;
- @class AWSCognitoIdentityProviderUserPoolClientType;
- @class AWSCognitoIdentityProviderUserPoolDescriptionType;
- @class AWSCognitoIdentityProviderUserPoolPolicyType;
- @class AWSCognitoIdentityProviderUserPoolType;
- @class AWSCognitoIdentityProviderUserType;
- @class AWSCognitoIdentityProviderVerificationMessageTemplateType;
- @class AWSCognitoIdentityProviderVerifySoftwareTokenRequest;
- @class AWSCognitoIdentityProviderVerifySoftwareTokenResponse;
- @class AWSCognitoIdentityProviderVerifyUserAttributeRequest;
- @class AWSCognitoIdentityProviderVerifyUserAttributeResponse;
-
- /**
- <p>Account takeover action type.</p>
- Required parameters: [Notify, EventAction]
- */
- @interface AWSCognitoIdentityProviderAccountTakeoverActionType : AWSModel
-
-
- /**
- <p>The event action.</p><ul><li><p><code>BLOCK</code> Choosing this action will block the request.</p></li><li><p><code>MFA_IF_CONFIGURED</code> Throw MFA challenge if user has configured it, else allow the request.</p></li><li><p><code>MFA_REQUIRED</code> Throw MFA challenge if user has configured it, else block the request.</p></li><li><p><code>NO_ACTION</code> Allow the user sign-in.</p></li></ul>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderAccountTakeoverEventActionType eventAction;
-
- /**
- <p>Flag specifying whether to send a notification.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable notify;
-
- @end
-
- /**
- <p>Account takeover actions type.</p>
- */
- @interface AWSCognitoIdentityProviderAccountTakeoverActionsType : AWSModel
-
-
- /**
- <p>Action to take for a high risk.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderAccountTakeoverActionType * _Nullable highAction;
-
- /**
- <p>Action to take for a low risk.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderAccountTakeoverActionType * _Nullable lowAction;
-
- /**
- <p>Action to take for a medium risk.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderAccountTakeoverActionType * _Nullable mediumAction;
-
- @end
-
- /**
- <p>Configuration for mitigation actions and notification for different levels of risk detected for a potential account takeover.</p>
- Required parameters: [Actions]
- */
- @interface AWSCognitoIdentityProviderAccountTakeoverRiskConfigurationType : AWSModel
-
-
- /**
- <p>Account takeover risk configuration actions</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderAccountTakeoverActionsType * _Nullable actions;
-
- /**
- <p>The notify configuration used to construct email notifications.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderNotifyConfigurationType * _Nullable notifyConfiguration;
-
- @end
-
- /**
- <p>Represents the request to add custom attributes.</p>
- Required parameters: [UserPoolId, CustomAttributes]
- */
- @interface AWSCognitoIdentityProviderAddCustomAttributesRequest : AWSRequest
-
-
- /**
- <p>An array of custom attributes, such as Mutable and Name.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderSchemaAttributeType *> * _Nullable customAttributes;
-
- /**
- <p>The user pool ID for the user pool where you want to add custom attributes.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
- <p>Represents the response from the server for the request to add custom attributes.</p>
- */
- @interface AWSCognitoIdentityProviderAddCustomAttributesResponse : AWSModel
-
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderAdminAddUserToGroupRequest : AWSRequest
-
-
- /**
- <p>The group name.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable groupName;
-
- /**
- <p>The user pool ID for the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- /**
- <p>The username for the user.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- @end
-
- /**
- <p>Represents the request to confirm user registration.</p>
- Required parameters: [UserPoolId, Username]
- */
- @interface AWSCognitoIdentityProviderAdminConfirmSignUpRequest : AWSRequest
-
-
- /**
- <p>The user pool ID for which you want to confirm user registration.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- /**
- <p>The user name for which you want to confirm user registration.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- @end
-
- /**
- <p>Represents the response from the server for the request to confirm registration.</p>
- */
- @interface AWSCognitoIdentityProviderAdminConfirmSignUpResponse : AWSModel
-
-
- @end
-
- /**
- <p>The configuration for creating a new user profile.</p>
- */
- @interface AWSCognitoIdentityProviderAdminCreateUserConfigType : AWSModel
-
-
- /**
- <p>Set to <code>True</code> if only the administrator is allowed to create user profiles. Set to <code>False</code> if users can sign themselves up via an app.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable allowAdminCreateUserOnly;
-
- /**
- <p>The message template to be used for the welcome message to new users.</p><p>See also <a href="http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-message-customizations.html#cognito-user-pool-settings-user-invitation-message-customization">Customizing User Invitation Messages</a>.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderMessageTemplateType * _Nullable inviteMessageTemplate;
-
- /**
- <p>The user account expiration limit, in days, after which the account is no longer usable. To reset the account after that time limit, you must call <code>AdminCreateUser</code> again, specifying <code>"RESEND"</code> for the <code>MessageAction</code> parameter. The default value for this parameter is 7.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable unusedAccountValidityDays;
-
- @end
-
- /**
- <p>Represents the request to create a user in the specified user pool.</p>
- Required parameters: [UserPoolId, Username]
- */
- @interface AWSCognitoIdentityProviderAdminCreateUserRequest : AWSRequest
-
-
- /**
- <p>Specify <code>"EMAIL"</code> if email will be used to send the welcome message. Specify <code>"SMS"</code> if the phone number will be used. The default value is <code>"SMS"</code>. More than one value can be specified.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable desiredDeliveryMediums;
-
- /**
- <p>This parameter is only used if the <code>phone_number_verified</code> or <code>email_verified</code> attribute is set to <code>True</code>. Otherwise, it is ignored.</p><p>If this parameter is set to <code>True</code> and the phone number or email address specified in the UserAttributes parameter already exists as an alias with a different user, the API call will migrate the alias from the previous user to the newly created user. The previous user will no longer be able to log in using that alias.</p><p>If this parameter is set to <code>False</code>, the API throws an <code>AliasExistsException</code> error if the alias already exists. The default value is <code>False</code>.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable forceAliasCreation;
-
- /**
- <p>Set to <code>"RESEND"</code> to resend the invitation message to a user that already exists and reset the expiration limit on the user's account. Set to <code>"SUPPRESS"</code> to suppress sending the message. Only one value can be specified.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderMessageActionType messageAction;
-
- /**
- <p>The user's temporary password. This password must conform to the password policy that you specified when you created the user pool.</p><p>The temporary password is valid only once. To complete the Admin Create User flow, the user must enter the temporary password in the sign-in page along with a new password to be used in all future sign-ins.</p><p>This parameter is not required. If you do not specify a value, Amazon Cognito generates one for you.</p><p>The temporary password can only be used until the user account expiration limit that you specified when you created the user pool. To reset the account after that time limit, you must call <code>AdminCreateUser</code> again, specifying <code>"RESEND"</code> for the <code>MessageAction</code> parameter.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable temporaryPassword;
-
- /**
- <p>An array of name-value pairs that contain user attributes and attribute values to be set for the user to be created. You can create a user without specifying any attributes other than <code>Username</code>. However, any attributes that you specify as required (in or in the <b>Attributes</b> tab of the console) must be supplied either by you (in your call to <code>AdminCreateUser</code>) or by the user (when he or she signs up in response to your welcome message).</p><p>For custom attributes, you must prepend the <code>custom:</code> prefix to the attribute name.</p><p>To send a message inviting the user to sign up, you must specify the user's email address or phone number. This can be done in your call to AdminCreateUser or in the <b>Users</b> tab of the Amazon Cognito console for managing your user pools.</p><p>In your call to <code>AdminCreateUser</code>, you can set the <code>email_verified</code> attribute to <code>True</code>, and you can set the <code>phone_number_verified</code> attribute to <code>True</code>. (You can also do this by calling .)</p><ul><li><p><b>email</b>: The email address of the user to whom the message that contains the code and username will be sent. Required if the <code>email_verified</code> attribute is set to <code>True</code>, or if <code>"EMAIL"</code> is specified in the <code>DesiredDeliveryMediums</code> parameter.</p></li><li><p><b>phone_number</b>: The phone number of the user to whom the message that contains the code and username will be sent. Required if the <code>phone_number_verified</code> attribute is set to <code>True</code>, or if <code>"SMS"</code> is specified in the <code>DesiredDeliveryMediums</code> parameter.</p></li></ul>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderAttributeType *> * _Nullable userAttributes;
-
- /**
- <p>The user pool ID for the user pool where the user will be created.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- /**
- <p>The username for the user. Must be unique within the user pool. Must be a UTF-8 string between 1 and 128 characters. After the user is created, the username cannot be changed.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- /**
- <p>The user's validation data. This is an array of name-value pairs that contain user attributes and attribute values that you can use for custom validation, such as restricting the types of user accounts that can be registered. For example, you might choose to allow or disallow user sign-up based on the user's domain.</p><p>To configure custom validation, you must create a Pre Sign-up Lambda trigger for the user pool as described in the Amazon Cognito Developer Guide. The Lambda trigger receives the validation data and uses it in the validation process.</p><p>The user's validation data is not persisted.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderAttributeType *> * _Nullable validationData;
-
- @end
-
- /**
- <p>Represents the response from the server to the request to create the user.</p>
- */
- @interface AWSCognitoIdentityProviderAdminCreateUserResponse : AWSModel
-
-
- /**
- <p>The newly created user.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderUserType * _Nullable user;
-
- @end
-
- /**
- <p>Represents the request to delete user attributes as an administrator.</p>
- Required parameters: [UserPoolId, Username, UserAttributeNames]
- */
- @interface AWSCognitoIdentityProviderAdminDeleteUserAttributesRequest : AWSRequest
-
-
- /**
- <p>An array of strings representing the user attribute names you wish to delete.</p><p>For custom attributes, you must prepend the <code>custom:</code> prefix to the attribute name.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable userAttributeNames;
-
- /**
- <p>The user pool ID for the user pool where you want to delete user attributes.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- /**
- <p>The user name of the user from which you would like to delete attributes.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- @end
-
- /**
- <p>Represents the response received from the server for a request to delete user attributes.</p>
- */
- @interface AWSCognitoIdentityProviderAdminDeleteUserAttributesResponse : AWSModel
-
-
- @end
-
- /**
- <p>Represents the request to delete a user as an administrator.</p>
- Required parameters: [UserPoolId, Username]
- */
- @interface AWSCognitoIdentityProviderAdminDeleteUserRequest : AWSRequest
-
-
- /**
- <p>The user pool ID for the user pool where you want to delete the user.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- /**
- <p>The user name of the user you wish to delete.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderAdminDisableProviderForUserRequest : AWSRequest
-
-
- /**
- <p>The user to be disabled.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderProviderUserIdentifierType * _Nullable user;
-
- /**
- <p>The user pool ID for the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderAdminDisableProviderForUserResponse : AWSModel
-
-
- @end
-
- /**
- <p>Represents the request to disable any user as an administrator.</p>
- Required parameters: [UserPoolId, Username]
- */
- @interface AWSCognitoIdentityProviderAdminDisableUserRequest : AWSRequest
-
-
- /**
- <p>The user pool ID for the user pool where you want to disable the user.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- /**
- <p>The user name of the user you wish to disable.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- @end
-
- /**
- <p>Represents the response received from the server to disable the user as an administrator.</p>
- */
- @interface AWSCognitoIdentityProviderAdminDisableUserResponse : AWSModel
-
-
- @end
-
- /**
- <p>Represents the request that enables the user as an administrator.</p>
- Required parameters: [UserPoolId, Username]
- */
- @interface AWSCognitoIdentityProviderAdminEnableUserRequest : AWSRequest
-
-
- /**
- <p>The user pool ID for the user pool where you want to enable the user.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- /**
- <p>The user name of the user you wish to enable.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- @end
-
- /**
- <p>Represents the response from the server for the request to enable a user as an administrator.</p>
- */
- @interface AWSCognitoIdentityProviderAdminEnableUserResponse : AWSModel
-
-
- @end
-
- /**
- <p>Sends the forgot device request, as an administrator.</p>
- Required parameters: [UserPoolId, Username, DeviceKey]
- */
- @interface AWSCognitoIdentityProviderAdminForgetDeviceRequest : AWSRequest
-
-
- /**
- <p>The device key.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable deviceKey;
-
- /**
- <p>The user pool ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- /**
- <p>The user name.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- @end
-
- /**
- <p>Represents the request to get the device, as an administrator.</p>
- Required parameters: [DeviceKey, UserPoolId, Username]
- */
- @interface AWSCognitoIdentityProviderAdminGetDeviceRequest : AWSRequest
-
-
- /**
- <p>The device key.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable deviceKey;
-
- /**
- <p>The user pool ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- /**
- <p>The user name.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- @end
-
- /**
- <p>Gets the device response, as an administrator.</p>
- Required parameters: [Device]
- */
- @interface AWSCognitoIdentityProviderAdminGetDeviceResponse : AWSModel
-
-
- /**
- <p>The device.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderDeviceType * _Nullable device;
-
- @end
-
- /**
- <p>Represents the request to get the specified user as an administrator.</p>
- Required parameters: [UserPoolId, Username]
- */
- @interface AWSCognitoIdentityProviderAdminGetUserRequest : AWSRequest
-
-
- /**
- <p>The user pool ID for the user pool where you want to get information about the user.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- /**
- <p>The user name of the user you wish to retrieve.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- @end
-
- /**
- <p>Represents the response from the server from the request to get the specified user as an administrator.</p>
- Required parameters: [Username]
- */
- @interface AWSCognitoIdentityProviderAdminGetUserResponse : AWSModel
-
-
- /**
- <p>Indicates that the status is enabled.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable enabled;
-
- /**
- <p>Specifies the options for MFA (e.g., email or phone number).</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderMFAOptionType *> * _Nullable MFAOptions;
-
- /**
- <p>The user's preferred MFA setting.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable preferredMfaSetting;
-
- /**
- <p>An array of name-value pairs representing user attributes.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderAttributeType *> * _Nullable userAttributes;
-
- /**
- <p>The date the user was created.</p>
- */
- @property (nonatomic, strong) NSDate * _Nullable userCreateDate;
-
- /**
- <p>The date the user was last modified.</p>
- */
- @property (nonatomic, strong) NSDate * _Nullable userLastModifiedDate;
-
- /**
- <p>The list of the user's MFA settings.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable userMFASettingList;
-
- /**
- <p>The user status. Can be one of the following:</p><ul><li><p>UNCONFIRMED - User has been created but not confirmed.</p></li><li><p>CONFIRMED - User has been confirmed.</p></li><li><p>ARCHIVED - User is no longer active.</p></li><li><p>COMPROMISED - User is disabled due to a potential security threat.</p></li><li><p>UNKNOWN - User status is not known.</p></li></ul>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderUserStatusType userStatus;
-
- /**
- <p>The user name of the user about whom you are receiving information.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- @end
-
- /**
- <p>Initiates the authorization request, as an administrator.</p>
- Required parameters: [UserPoolId, ClientId, AuthFlow]
- */
- @interface AWSCognitoIdentityProviderAdminInitiateAuthRequest : AWSRequest
-
-
- /**
- <p>The analytics metadata for collecting Amazon Pinpoint metrics for <code>AdminInitiateAuth</code> calls.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderAnalyticsMetadataType * _Nullable analyticsMetadata;
-
- /**
- <p>The authentication flow for this call to execute. The API action will depend on this value. For example:</p><ul><li><p><code>REFRESH_TOKEN_AUTH</code> will take in a valid refresh token and return new tokens.</p></li><li><p><code>USER_SRP_AUTH</code> will take in <code>USERNAME</code> and <code>SRP_A</code> and return the SRP variables to be used for next challenge execution.</p></li><li><p><code>USER_PASSWORD_AUTH</code> will take in <code>USERNAME</code> and <code>PASSWORD</code> and return the next challenge or tokens.</p></li></ul><p>Valid values include:</p><ul><li><p><code>USER_SRP_AUTH</code>: Authentication flow for the Secure Remote Password (SRP) protocol.</p></li><li><p><code>REFRESH_TOKEN_AUTH</code>/<code>REFRESH_TOKEN</code>: Authentication flow for refreshing the access token and ID token by supplying a valid refresh token.</p></li><li><p><code>CUSTOM_AUTH</code>: Custom authentication flow.</p></li><li><p><code>ADMIN_NO_SRP_AUTH</code>: Non-SRP authentication flow; you can pass in the USERNAME and PASSWORD directly if the flow is enabled for calling the app client.</p></li><li><p><code>USER_PASSWORD_AUTH</code>: Non-SRP authentication flow; USERNAME and PASSWORD are passed directly. If a user migration Lambda trigger is set, this flow will invoke the user migration Lambda if the USERNAME is not found in the user pool. </p></li></ul>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderAuthFlowType authFlow;
-
- /**
- <p>The authentication parameters. These are inputs corresponding to the <code>AuthFlow</code> that you are invoking. The required values depend on the value of <code>AuthFlow</code>:</p><ul><li><p>For <code>USER_SRP_AUTH</code>: <code>USERNAME</code> (required), <code>SRP_A</code> (required), <code>SECRET_HASH</code> (required if the app client is configured with a client secret), <code>DEVICE_KEY</code></p></li><li><p>For <code>REFRESH_TOKEN_AUTH/REFRESH_TOKEN</code>: <code>REFRESH_TOKEN</code> (required), <code>SECRET_HASH</code> (required if the app client is configured with a client secret), <code>DEVICE_KEY</code></p></li><li><p>For <code>ADMIN_NO_SRP_AUTH</code>: <code>USERNAME</code> (required), <code>SECRET_HASH</code> (if app client is configured with client secret), <code>PASSWORD</code> (required), <code>DEVICE_KEY</code></p></li><li><p>For <code>CUSTOM_AUTH</code>: <code>USERNAME</code> (required), <code>SECRET_HASH</code> (if app client is configured with client secret), <code>DEVICE_KEY</code></p></li></ul>
- */
- @property (nonatomic, strong) NSDictionary<NSString *, NSString *> * _Nullable authParameters;
-
- /**
- <p>The app client ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable clientId;
-
- /**
- <p>This is a random key-value pair map which can contain any key and will be passed to your PreAuthentication Lambda trigger as-is. It can be used to implement additional validations around authentication.</p>
- */
- @property (nonatomic, strong) NSDictionary<NSString *, NSString *> * _Nullable clientMetadata;
-
- /**
- <p>Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderContextDataType * _Nullable contextData;
-
- /**
- <p>The ID of the Amazon Cognito user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
- <p>Initiates the authentication response, as an administrator.</p>
- */
- @interface AWSCognitoIdentityProviderAdminInitiateAuthResponse : AWSModel
-
-
- /**
- <p>The result of the authentication response. This is only returned if the caller does not need to pass another challenge. If the caller does need to pass another challenge before it gets tokens, <code>ChallengeName</code>, <code>ChallengeParameters</code>, and <code>Session</code> are returned.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderAuthenticationResultType * _Nullable authenticationResult;
-
- /**
- <p>The name of the challenge which you are responding to with this call. This is returned to you in the <code>AdminInitiateAuth</code> response if you need to pass another challenge.</p><ul><li><p><code>MFA_SETUP</code>: If MFA is required, users who do not have at least one of the MFA methods set up are presented with an <code>MFA_SETUP</code> challenge. The user must set up at least one MFA type to continue to authenticate.</p></li><li><p><code>SELECT_MFA_TYPE</code>: Selects the MFA type. Valid MFA options are <code>SMS_MFA</code> for text SMS MFA, and <code>SOFTWARE_TOKEN_MFA</code> for TOTP software token MFA.</p></li><li><p><code>SMS_MFA</code>: Next challenge is to supply an <code>SMS_MFA_CODE</code>, delivered via SMS.</p></li><li><p><code>PASSWORD_VERIFIER</code>: Next challenge is to supply <code>PASSWORD_CLAIM_SIGNATURE</code>, <code>PASSWORD_CLAIM_SECRET_BLOCK</code>, and <code>TIMESTAMP</code> after the client-side SRP calculations.</p></li><li><p><code>CUSTOM_CHALLENGE</code>: This is returned if your custom authentication flow determines that the user should pass another challenge before tokens are issued.</p></li><li><p><code>DEVICE_SRP_AUTH</code>: If device tracking was enabled on your user pool and the previous challenges were passed, this challenge is returned so that Amazon Cognito can start tracking this device.</p></li><li><p><code>DEVICE_PASSWORD_VERIFIER</code>: Similar to <code>PASSWORD_VERIFIER</code>, but for devices only.</p></li><li><p><code>ADMIN_NO_SRP_AUTH</code>: This is returned if you need to authenticate with <code>USERNAME</code> and <code>PASSWORD</code> directly. An app client must be enabled to use this flow.</p></li><li><p><code>NEW_PASSWORD_REQUIRED</code>: For users which are required to change their passwords after successful first login. This challenge should be passed with <code>NEW_PASSWORD</code> and any other required attributes.</p></li></ul>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderChallengeNameType challengeName;
-
- /**
- <p>The challenge parameters. These are returned to you in the <code>AdminInitiateAuth</code> response if you need to pass another challenge. The responses in this parameter should be used to compute inputs to the next call (<code>AdminRespondToAuthChallenge</code>).</p><p>All challenges require <code>USERNAME</code> and <code>SECRET_HASH</code> (if applicable).</p><p>The value of the <code>USER_ID_FOR_SRP</code> attribute will be the user's actual username, not an alias (such as email address or phone number), even if you specified an alias in your call to <code>AdminInitiateAuth</code>. This is because, in the <code>AdminRespondToAuthChallenge</code> API <code>ChallengeResponses</code>, the <code>USERNAME</code> attribute cannot be an alias.</p>
- */
- @property (nonatomic, strong) NSDictionary<NSString *, NSString *> * _Nullable challengeParameters;
-
- /**
- <p>The session which should be passed both ways in challenge-response calls to the service. If <code>AdminInitiateAuth</code> or <code>AdminRespondToAuthChallenge</code> API call determines that the caller needs to go through another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next <code>AdminRespondToAuthChallenge</code> API call.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable session;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderAdminLinkProviderForUserRequest : AWSRequest
-
-
- /**
- <p>The existing user in the user pool to be linked to the external identity provider user account. Can be a native (Username + Password) Cognito User Pools user or a federated user (for example, a SAML or Facebook user). If the user doesn't exist, an exception is thrown. This is the user that is returned when the new user (with the linked identity provider attribute) signs in.</p><p>For a native username + password user, the <code>ProviderAttributeValue</code> for the <code>DestinationUser</code> should be the username in the user pool. For a federated user, it should be the provider-specific <code>user_id</code>.</p><p>The <code>ProviderAttributeName</code> of the <code>DestinationUser</code> is ignored.</p><p>The <code>ProviderName</code> should be set to <code>Cognito</code> for users in Cognito user pools.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderProviderUserIdentifierType * _Nullable destinationUser;
-
- /**
- <p>An external identity provider account for a user who does not currently exist yet in the user pool. This user must be a federated user (for example, a SAML or Facebook user), not another native user.</p><p>If the <code>SourceUser</code> is a federated social identity provider user (Facebook, Google, or Login with Amazon), you must set the <code>ProviderAttributeName</code> to <code>Cognito_Subject</code>. For social identity providers, the <code>ProviderName</code> will be <code>Facebook</code>, <code>Google</code>, or <code>LoginWithAmazon</code>, and Cognito will automatically parse the Facebook, Google, and Login with Amazon tokens for <code>id</code>, <code>sub</code>, and <code>user_id</code>, respectively. The <code>ProviderAttributeValue</code> for the user must be the same value as the <code>id</code>, <code>sub</code>, or <code>user_id</code> value found in the social identity provider token.</p><p/><p>For SAML, the <code>ProviderAttributeName</code> can be any value that matches a claim in the SAML assertion. If you wish to link SAML users based on the subject of the SAML assertion, you should map the subject to a claim through the SAML identity provider and submit that claim name as the <code>ProviderAttributeName</code>. If you set <code>ProviderAttributeName</code> to <code>Cognito_Subject</code>, Cognito will automatically parse the default unique identifier found in the subject from the SAML token.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderProviderUserIdentifierType * _Nullable sourceUser;
-
- /**
- <p>The user pool ID for the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderAdminLinkProviderForUserResponse : AWSModel
-
-
- @end
-
- /**
- <p>Represents the request to list devices, as an administrator.</p>
- Required parameters: [UserPoolId, Username]
- */
- @interface AWSCognitoIdentityProviderAdminListDevicesRequest : AWSRequest
-
-
- /**
- <p>The limit of the devices request.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable limit;
-
- /**
- <p>The pagination token.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable paginationToken;
-
- /**
- <p>The user pool ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- /**
- <p>The user name.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- @end
-
- /**
- <p>Lists the device's response, as an administrator.</p>
- */
- @interface AWSCognitoIdentityProviderAdminListDevicesResponse : AWSModel
-
-
- /**
- <p>The devices in the list of devices response.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderDeviceType *> * _Nullable devices;
-
- /**
- <p>The pagination token.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable paginationToken;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderAdminListGroupsForUserRequest : AWSRequest
-
-
- /**
- <p>The limit of the request to list groups.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable limit;
-
- /**
- <p>An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable nextToken;
-
- /**
- <p>The user pool ID for the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- /**
- <p>The username for the user.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderAdminListGroupsForUserResponse : AWSModel
-
-
- /**
- <p>The groups that the user belongs to.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderGroupType *> * _Nullable groups;
-
- /**
- <p>An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable nextToken;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderAdminListUserAuthEventsRequest : AWSRequest
-
-
- /**
- <p>The maximum number of authentication events to return.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable maxResults;
-
- /**
- <p>A pagination token.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable nextToken;
-
- /**
- <p>The user pool ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- /**
- <p>The user pool username or an alias.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderAdminListUserAuthEventsResponse : AWSModel
-
-
- /**
- <p>The response object. It includes the <code>EventID</code>, <code>EventType</code>, <code>CreationDate</code>, <code>EventRisk</code>, and <code>EventResponse</code>.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderAuthEventType *> * _Nullable authEvents;
-
- /**
- <p>A pagination token.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable nextToken;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderAdminRemoveUserFromGroupRequest : AWSRequest
-
-
- /**
- <p>The group name.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable groupName;
-
- /**
- <p>The user pool ID for the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- /**
- <p>The username for the user.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- @end
-
- /**
- <p>Represents the request to reset a user's password as an administrator.</p>
- Required parameters: [UserPoolId, Username]
- */
- @interface AWSCognitoIdentityProviderAdminResetUserPasswordRequest : AWSRequest
-
-
- /**
- <p>The user pool ID for the user pool where you want to reset the user's password.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- /**
- <p>The user name of the user whose password you wish to reset.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- @end
-
- /**
- <p>Represents the response from the server to reset a user password as an administrator.</p>
- */
- @interface AWSCognitoIdentityProviderAdminResetUserPasswordResponse : AWSModel
-
-
- @end
-
- /**
- <p>The request to respond to the authentication challenge, as an administrator.</p>
- Required parameters: [UserPoolId, ClientId, ChallengeName]
- */
- @interface AWSCognitoIdentityProviderAdminRespondToAuthChallengeRequest : AWSRequest
-
-
- /**
- <p>The analytics metadata for collecting Amazon Pinpoint metrics for <code>AdminRespondToAuthChallenge</code> calls.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderAnalyticsMetadataType * _Nullable analyticsMetadata;
-
- /**
- <p>The challenge name. For more information, see .</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderChallengeNameType challengeName;
-
- /**
- <p>The challenge responses. These are inputs corresponding to the value of <code>ChallengeName</code>, for example:</p><ul><li><p><code>SMS_MFA</code>: <code>SMS_MFA_CODE</code>, <code>USERNAME</code>, <code>SECRET_HASH</code> (if app client is configured with client secret).</p></li><li><p><code>PASSWORD_VERIFIER</code>: <code>PASSWORD_CLAIM_SIGNATURE</code>, <code>PASSWORD_CLAIM_SECRET_BLOCK</code>, <code>TIMESTAMP</code>, <code>USERNAME</code>, <code>SECRET_HASH</code> (if app client is configured with client secret).</p></li><li><p><code>ADMIN_NO_SRP_AUTH</code>: <code>PASSWORD</code>, <code>USERNAME</code>, <code>SECRET_HASH</code> (if app client is configured with client secret). </p></li><li><p><code>NEW_PASSWORD_REQUIRED</code>: <code>NEW_PASSWORD</code>, any other required attributes, <code>USERNAME</code>, <code>SECRET_HASH</code> (if app client is configured with client secret). </p></li></ul><p>The value of the <code>USERNAME</code> attribute must be the user's actual username, not an alias (such as email address or phone number). To make this easier, the <code>AdminInitiateAuth</code> response includes the actual username value in the <code>USERNAMEUSER_ID_FOR_SRP</code> attribute, even if you specified an alias in your call to <code>AdminInitiateAuth</code>.</p>
- */
- @property (nonatomic, strong) NSDictionary<NSString *, NSString *> * _Nullable challengeResponses;
-
- /**
- <p>The app client ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable clientId;
-
- /**
- <p>Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderContextDataType * _Nullable contextData;
-
- /**
- <p>The session which should be passed both ways in challenge-response calls to the service. If <code>InitiateAuth</code> or <code>RespondToAuthChallenge</code> API call determines that the caller needs to go through another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next <code>RespondToAuthChallenge</code> API call.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable session;
-
- /**
- <p>The ID of the Amazon Cognito user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
- <p>Responds to the authentication challenge, as an administrator.</p>
- */
- @interface AWSCognitoIdentityProviderAdminRespondToAuthChallengeResponse : AWSModel
-
-
- /**
- <p>The result returned by the server in response to the authentication request.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderAuthenticationResultType * _Nullable authenticationResult;
-
- /**
- <p>The name of the challenge. For more information, see .</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderChallengeNameType challengeName;
-
- /**
- <p>The challenge parameters. For more information, see .</p>
- */
- @property (nonatomic, strong) NSDictionary<NSString *, NSString *> * _Nullable challengeParameters;
-
- /**
- <p>The session which should be passed both ways in challenge-response calls to the service. If the or API call determines that the caller needs to go through another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next <code>RespondToAuthChallenge</code> API call.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable session;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderAdminSetUserMFAPreferenceRequest : AWSRequest
-
-
- /**
- <p>The SMS text message MFA settings.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderSMSMfaSettingsType * _Nullable SMSMfaSettings;
-
- /**
- <p>The time-based one-time password software token MFA settings.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderSoftwareTokenMfaSettingsType * _Nullable softwareTokenMfaSettings;
-
- /**
- <p>The user pool ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- /**
- <p>The user pool username or alias.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderAdminSetUserMFAPreferenceResponse : AWSModel
-
-
- @end
-
- /**
- <p>Represents the request to set user settings as an administrator.</p>
- Required parameters: [UserPoolId, Username, MFAOptions]
- */
- @interface AWSCognitoIdentityProviderAdminSetUserSettingsRequest : AWSRequest
-
-
- /**
- <p>Specifies the options for MFA (e.g., email or phone number).</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderMFAOptionType *> * _Nullable MFAOptions;
-
- /**
- <p>The user pool ID for the user pool where you want to set the user's settings, such as MFA options.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- /**
- <p>The user name of the user for whom you wish to set user settings.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- @end
-
- /**
- <p>Represents the response from the server to set user settings as an administrator.</p>
- */
- @interface AWSCognitoIdentityProviderAdminSetUserSettingsResponse : AWSModel
-
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderAdminUpdateAuthEventFeedbackRequest : AWSRequest
-
-
- /**
- <p>The authentication event ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable eventId;
-
- /**
- <p>The authentication event feedback value.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderFeedbackValueType feedbackValue;
-
- /**
- <p>The user pool ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- /**
- <p>The user pool username.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderAdminUpdateAuthEventFeedbackResponse : AWSModel
-
-
- @end
-
- /**
- <p>The request to update the device status, as an administrator.</p>
- Required parameters: [UserPoolId, Username, DeviceKey]
- */
- @interface AWSCognitoIdentityProviderAdminUpdateDeviceStatusRequest : AWSRequest
-
-
- /**
- <p>The device key.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable deviceKey;
-
- /**
- <p>The status indicating whether a device has been remembered or not.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderDeviceRememberedStatusType deviceRememberedStatus;
-
- /**
- <p>The user pool ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- /**
- <p>The user name.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- @end
-
- /**
- <p>The status response from the request to update the device, as an administrator.</p>
- */
- @interface AWSCognitoIdentityProviderAdminUpdateDeviceStatusResponse : AWSModel
-
-
- @end
-
- /**
- <p>Represents the request to update the user's attributes as an administrator.</p>
- Required parameters: [UserPoolId, Username, UserAttributes]
- */
- @interface AWSCognitoIdentityProviderAdminUpdateUserAttributesRequest : AWSRequest
-
-
- /**
- <p>An array of name-value pairs representing user attributes.</p><p>For custom attributes, you must prepend the <code>custom:</code> prefix to the attribute name.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderAttributeType *> * _Nullable userAttributes;
-
- /**
- <p>The user pool ID for the user pool where you want to update user attributes.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- /**
- <p>The user name of the user for whom you want to update user attributes.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- @end
-
- /**
- <p>Represents the response from the server for the request to update user attributes as an administrator.</p>
- */
- @interface AWSCognitoIdentityProviderAdminUpdateUserAttributesResponse : AWSModel
-
-
- @end
-
- /**
- <p>The request to sign out of all devices, as an administrator.</p>
- Required parameters: [UserPoolId, Username]
- */
- @interface AWSCognitoIdentityProviderAdminUserGlobalSignOutRequest : AWSRequest
-
-
- /**
- <p>The user pool ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- /**
- <p>The user name.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- @end
-
- /**
- <p>The global sign-out response, as an administrator.</p>
- */
- @interface AWSCognitoIdentityProviderAdminUserGlobalSignOutResponse : AWSModel
-
-
- @end
-
- /**
- <p>The Amazon Pinpoint analytics configuration for collecting metrics for a user pool.</p>
- Required parameters: [ApplicationId, RoleArn, ExternalId]
- */
- @interface AWSCognitoIdentityProviderAnalyticsConfigurationType : AWSModel
-
-
- /**
- <p>The application ID for an Amazon Pinpoint application.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable applicationId;
-
- /**
- <p>The external ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable externalId;
-
- /**
- <p>The ARN of an IAM role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable roleArn;
-
- /**
- <p>If <code>UserDataShared</code> is <code>true</code>, Amazon Cognito will include user data in the events it publishes to Amazon Pinpoint analytics.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable userDataShared;
-
- @end
-
- /**
- <p>An Amazon Pinpoint analytics endpoint.</p><p>An endpoint uniquely identifies a mobile device, email address, or phone number that can receive messages from Amazon Pinpoint analytics.</p>
- */
- @interface AWSCognitoIdentityProviderAnalyticsMetadataType : AWSModel
-
-
- /**
- <p>The endpoint ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable analyticsEndpointId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderAssociateSoftwareTokenRequest : AWSRequest
-
-
- /**
- <p>The access token.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable accessToken;
-
- /**
- <p>The session which should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable session;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderAssociateSoftwareTokenResponse : AWSModel
-
-
- /**
- <p>A unique generated shared secret code that is used in the TOTP algorithm to generate a one time code.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable secretCode;
-
- /**
- <p>The session which should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable session;
-
- @end
-
- /**
- <p>Specifies whether the attribute is standard or custom.</p>
- Required parameters: [Name]
- */
- @interface AWSCognitoIdentityProviderAttributeType : AWSModel
-
-
- /**
- <p>The name of the attribute.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable name;
-
- /**
- <p>The value of the attribute.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable value;
-
- @end
-
- /**
- <p>The authentication event type.</p>
- */
- @interface AWSCognitoIdentityProviderAuthEventType : AWSModel
-
-
- /**
- <p>The challenge responses.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderChallengeResponseType *> * _Nullable challengeResponses;
-
- /**
- <p>The creation date</p>
- */
- @property (nonatomic, strong) NSDate * _Nullable creationDate;
-
- /**
- <p>The user context data captured at the time of an event request. It provides additional information about the client from which event the request is received.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderEventContextDataType * _Nullable eventContextData;
-
- /**
- <p>A flag specifying the user feedback captured at the time of an event request is good or bad. </p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderEventFeedbackType * _Nullable eventFeedback;
-
- /**
- <p>The event ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable eventId;
-
- /**
- <p>The event response.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderEventResponseType eventResponse;
-
- /**
- <p>The event risk.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderEventRiskType * _Nullable eventRisk;
-
- /**
- <p>The event type.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderEventType eventType;
-
- @end
-
- /**
- <p>The authentication result.</p>
- */
- @interface AWSCognitoIdentityProviderAuthenticationResultType : AWSModel
-
-
- /**
- <p>The access token.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable accessToken;
-
- /**
- <p>The expiration period of the authentication result in seconds.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable expiresIn;
-
- /**
- <p>The ID token.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable idToken;
-
- /**
- <p>The new device metadata from an authentication result.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderLatestDeviceMetadataType * _Nullable latestDeviceMetadata;
-
- /**
- <p>The refresh token.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable refreshToken;
-
- /**
- <p>The token type.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable tokenType;
-
- @end
-
- /**
- <p>The challenge response type.</p>
- */
- @interface AWSCognitoIdentityProviderChallengeResponseType : AWSModel
-
-
- /**
- <p>The challenge name</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderChallengeName challengeName;
-
- /**
- <p>The challenge response.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderChallengeResponse challengeResponse;
-
- @end
-
- /**
- <p>Represents the request to change a user password.</p>
- Required parameters: [PreviousPassword, ProposedPassword, AccessToken]
- */
- @interface AWSCognitoIdentityProviderChangePasswordRequest : AWSRequest
-
-
- /**
- <p>The access token.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable accessToken;
-
- /**
- <p>The old password.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable previousPassword;
-
- /**
- <p>The new password.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable proposedPassword;
-
- @end
-
- /**
- <p>The response from the server to the change password request.</p>
- */
- @interface AWSCognitoIdentityProviderChangePasswordResponse : AWSModel
-
-
- @end
-
- /**
- <p>The code delivery details being returned from the server.</p>
- */
- @interface AWSCognitoIdentityProviderCodeDeliveryDetailsType : AWSModel
-
-
- /**
- <p>The attribute name.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable attributeName;
-
- /**
- <p>The delivery medium (email message or phone number).</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderDeliveryMediumType deliveryMedium;
-
- /**
- <p>The destination for the code delivery details.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable destination;
-
- @end
-
- /**
- <p>The compromised credentials actions type</p>
- Required parameters: [EventAction]
- */
- @interface AWSCognitoIdentityProviderCompromisedCredentialsActionsType : AWSModel
-
-
- /**
- <p>The event action.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderCompromisedCredentialsEventActionType eventAction;
-
- @end
-
- /**
- <p>The compromised credentials risk configuration type.</p>
- Required parameters: [Actions]
- */
- @interface AWSCognitoIdentityProviderCompromisedCredentialsRiskConfigurationType : AWSModel
-
-
- /**
- <p>The compromised credentials risk configuration actions.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderCompromisedCredentialsActionsType * _Nullable actions;
-
- /**
- <p>Perform the action for these events. The default is to perform all events if no event filter is specified.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable eventFilter;
-
- @end
-
- /**
- <p>Confirms the device request.</p>
- Required parameters: [AccessToken, DeviceKey]
- */
- @interface AWSCognitoIdentityProviderConfirmDeviceRequest : AWSRequest
-
-
- /**
- <p>The access token.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable accessToken;
-
- /**
- <p>The device key.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable deviceKey;
-
- /**
- <p>The device name.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable deviceName;
-
- /**
- <p>The configuration of the device secret verifier.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderDeviceSecretVerifierConfigType * _Nullable deviceSecretVerifierConfig;
-
- @end
-
- /**
- <p>Confirms the device response.</p>
- */
- @interface AWSCognitoIdentityProviderConfirmDeviceResponse : AWSModel
-
-
- /**
- <p>Indicates whether the user confirmation is necessary to confirm the device response.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable userConfirmationNecessary;
-
- @end
-
- /**
- <p>The request representing the confirmation for a password reset.</p>
- Required parameters: [ClientId, Username, ConfirmationCode, Password]
- */
- @interface AWSCognitoIdentityProviderConfirmForgotPasswordRequest : AWSRequest
-
-
- /**
- <p>The Amazon Pinpoint analytics metadata for collecting metrics for <code>ConfirmForgotPassword</code> calls.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderAnalyticsMetadataType * _Nullable analyticsMetadata;
-
- /**
- <p>The app client ID of the app associated with the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable clientId;
-
- /**
- <p>The confirmation code sent by a user's request to retrieve a forgotten password. For more information, see </p>
- */
- @property (nonatomic, strong) NSString * _Nullable confirmationCode;
-
- /**
- <p>The password sent by a user's request to retrieve a forgotten password.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable password;
-
- /**
- <p>A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable secretHash;
-
- /**
- <p>Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderUserContextDataType * _Nullable userContextData;
-
- /**
- <p>The user name of the user for whom you want to enter a code to retrieve a forgotten password.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- @end
-
- /**
- <p>The response from the server that results from a user's request to retrieve a forgotten password.</p>
- */
- @interface AWSCognitoIdentityProviderConfirmForgotPasswordResponse : AWSModel
-
-
- @end
-
- /**
- <p>Represents the request to confirm registration of a user.</p>
- Required parameters: [ClientId, Username, ConfirmationCode]
- */
- @interface AWSCognitoIdentityProviderConfirmSignUpRequest : AWSRequest
-
-
- /**
- <p>The Amazon Pinpoint analytics metadata for collecting metrics for <code>ConfirmSignUp</code> calls.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderAnalyticsMetadataType * _Nullable analyticsMetadata;
-
- /**
- <p>The ID of the app client associated with the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable clientId;
-
- /**
- <p>The confirmation code sent by a user's request to confirm registration.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable confirmationCode;
-
- /**
- <p>Boolean to be specified to force user confirmation irrespective of existing alias. By default set to <code>False</code>. If this parameter is set to <code>True</code> and the phone number/email used for sign up confirmation already exists as an alias with a different user, the API call will migrate the alias from the previous user to the newly created user being confirmed. If set to <code>False</code>, the API will throw an <b>AliasExistsException</b> error.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable forceAliasCreation;
-
- /**
- <p>A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable secretHash;
-
- /**
- <p>Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderUserContextDataType * _Nullable userContextData;
-
- /**
- <p>The user name of the user whose registration you wish to confirm.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- @end
-
- /**
- <p>Represents the response from the server for the registration confirmation.</p>
- */
- @interface AWSCognitoIdentityProviderConfirmSignUpResponse : AWSModel
-
-
- @end
-
- /**
- <p>Contextual user data type used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.</p>
- Required parameters: [IpAddress, ServerName, ServerPath, HttpHeaders]
- */
- @interface AWSCognitoIdentityProviderContextDataType : AWSModel
-
-
- /**
- <p>Encoded data containing device fingerprinting details, collected using the Amazon Cognito context data collection library.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable encodedData;
-
- /**
- <p>HttpHeaders received on your server in same order.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderHttpHeader *> * _Nullable httpHeaders;
-
- /**
- <p>Source IP address of your user.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable ipAddress;
-
- /**
- <p>Your server endpoint where this API is invoked.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable serverName;
-
- /**
- <p>Your server path where this API is invoked. </p>
- */
- @property (nonatomic, strong) NSString * _Nullable serverPath;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderCreateGroupRequest : AWSRequest
-
-
- /**
- <p>A string containing the description of the group.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable detail;
-
- /**
- <p>The name of the group. Must be unique.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable groupName;
-
- /**
- <p>A nonnegative integer value that specifies the precedence of this group relative to the other groups that a user can belong to in the user pool. Zero is the highest precedence value. Groups with lower <code>Precedence</code> values take precedence over groups with higher or null <code>Precedence</code> values. If a user belongs to two or more groups, it is the group with the lowest precedence value whose role ARN will be used in the <code>cognito:roles</code> and <code>cognito:preferred_role</code> claims in the user's tokens.</p><p>Two groups can have the same <code>Precedence</code> value. If this happens, neither group takes precedence over the other. If two groups with the same <code>Precedence</code> have the same role ARN, that role is used in the <code>cognito:preferred_role</code> claim in tokens for users in each group. If the two groups have different role ARNs, the <code>cognito:preferred_role</code> claim is not set in users' tokens.</p><p>The default <code>Precedence</code> value is null.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable precedence;
-
- /**
- <p>The role ARN for the group.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable roleArn;
-
- /**
- <p>The user pool ID for the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderCreateGroupResponse : AWSModel
-
-
- /**
- <p>The group object for the group.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderGroupType * _Nullable group;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderCreateIdentityProviderRequest : AWSRequest
-
-
- /**
- <p>A mapping of identity provider attributes to standard and custom user pool attributes.</p>
- */
- @property (nonatomic, strong) NSDictionary<NSString *, NSString *> * _Nullable attributeMapping;
-
- /**
- <p>A list of identity provider identifiers.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable idpIdentifiers;
-
- /**
- <p>The identity provider details, such as <code>MetadataURL</code> and <code>MetadataFile</code>.</p>
- */
- @property (nonatomic, strong) NSDictionary<NSString *, NSString *> * _Nullable providerDetails;
-
- /**
- <p>The identity provider name.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable providerName;
-
- /**
- <p>The identity provider type.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderIdentityProviderTypeType providerType;
-
- /**
- <p>The user pool ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderCreateIdentityProviderResponse : AWSModel
-
-
- /**
- <p>The newly created identity provider object.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderIdentityProviderType * _Nullable identityProvider;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderCreateResourceServerRequest : AWSRequest
-
-
- /**
- <p>A unique resource server identifier for the resource server. This could be an HTTPS endpoint where the resource server is located. For example, <code>https://my-weather-api.example.com</code>.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable identifier;
-
- /**
- <p>A friendly name for the resource server.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable name;
-
- /**
- <p>A list of scopes. Each scope is map, where the keys are <code>name</code> and <code>description</code>.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderResourceServerScopeType *> * _Nullable scopes;
-
- /**
- <p>The user pool ID for the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderCreateResourceServerResponse : AWSModel
-
-
- /**
- <p>The newly created resource server.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderResourceServerType * _Nullable resourceServer;
-
- @end
-
- /**
- <p>Represents the request to create the user import job.</p>
- Required parameters: [JobName, UserPoolId, CloudWatchLogsRoleArn]
- */
- @interface AWSCognitoIdentityProviderCreateUserImportJobRequest : AWSRequest
-
-
- /**
- <p>The role ARN for the Amazon CloudWatch Logging role for the user import job.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable cloudWatchLogsRoleArn;
-
- /**
- <p>The job name for the user import job.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable jobName;
-
- /**
- <p>The user pool ID for the user pool that the users are being imported into.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
- <p>Represents the response from the server to the request to create the user import job.</p>
- */
- @interface AWSCognitoIdentityProviderCreateUserImportJobResponse : AWSModel
-
-
- /**
- <p>The job object that represents the user import job.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderUserImportJobType * _Nullable userImportJob;
-
- @end
-
- /**
- <p>Represents the request to create a user pool client.</p>
- Required parameters: [UserPoolId, ClientName]
- */
- @interface AWSCognitoIdentityProviderCreateUserPoolClientRequest : AWSRequest
-
-
- /**
- <p>Set to <code>code</code> to initiate a code grant flow, which provides an authorization code as the response. This code can be exchanged for access tokens with the token endpoint.</p><p>Set to <code>token</code> to specify that the client should get the access token (and, optionally, ID token, based on scopes) directly.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable allowedOAuthFlows;
-
- /**
- <p>Set to <code>True</code> if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable allowedOAuthFlowsUserPoolClient;
-
- /**
- <p>A list of allowed <code>OAuth</code> scopes. Currently supported values are <code>"phone"</code>, <code>"email"</code>, <code>"openid"</code>, and <code>"Cognito"</code>.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable allowedOAuthScopes;
-
- /**
- <p>The Amazon Pinpoint analytics configuration for collecting metrics for this user pool.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderAnalyticsConfigurationType * _Nullable analyticsConfiguration;
-
- /**
- <p>A list of allowed redirect (callback) URLs for the identity providers.</p><p>A redirect URI must:</p><ul><li><p>Be an absolute URI.</p></li><li><p>Be registered with the authorization server.</p></li><li><p>Not include a fragment component.</p></li></ul><p>See <a href="https://tools.ietf.org/html/rfc6749#section-3.1.2">OAuth 2.0 - Redirection Endpoint</a>.</p><p>Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.</p><p>App callback URLs such as myapp://example are also supported.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable callbackURLs;
-
- /**
- <p>The client name for the user pool client you would like to create.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable clientName;
-
- /**
- <p>The default redirect URI. Must be in the <code>CallbackURLs</code> list.</p><p>A redirect URI must:</p><ul><li><p>Be an absolute URI.</p></li><li><p>Be registered with the authorization server.</p></li><li><p>Not include a fragment component.</p></li></ul><p>See <a href="https://tools.ietf.org/html/rfc6749#section-3.1.2">OAuth 2.0 - Redirection Endpoint</a>.</p><p>Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.</p><p>App callback URLs such as myapp://example are also supported.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable defaultRedirectURI;
-
- /**
- <p>The explicit authentication flows.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable explicitAuthFlows;
-
- /**
- <p>Boolean to specify whether you want to generate a secret for the user pool client being created.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable generateSecret;
-
- /**
- <p>A list of allowed logout URLs for the identity providers.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable logoutURLs;
-
- /**
- <p>The read attributes.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable readAttributes;
-
- /**
- <p>The time limit, in days, after which the refresh token is no longer valid and cannot be used.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable refreshTokenValidity;
-
- /**
- <p>A list of provider names for the identity providers that are supported on this client.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable supportedIdentityProviders;
-
- /**
- <p>The user pool ID for the user pool where you want to create a user pool client.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- /**
- <p>The write attributes.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable writeAttributes;
-
- @end
-
- /**
- <p>Represents the response from the server to create a user pool client.</p>
- */
- @interface AWSCognitoIdentityProviderCreateUserPoolClientResponse : AWSModel
-
-
- /**
- <p>The user pool client that was just created.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderUserPoolClientType * _Nullable userPoolClient;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderCreateUserPoolDomainRequest : AWSRequest
-
-
- /**
- <p>The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.</p><p>Provide this parameter only if you want to use own custom domain for your user pool. Otherwise, you can exclude this parameter and use the Amazon Cognito hosted domain instead.</p><p>For more information about the hosted domain and custom domains, see <a href="http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-assign-domain.html">Configuring a User Pool Domain</a>.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderCustomDomainConfigType * _Nullable customDomainConfig;
-
- /**
- <p>The domain string.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable domain;
-
- /**
- <p>The user pool ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderCreateUserPoolDomainResponse : AWSModel
-
-
- /**
- <p>The Amazon CloudFront endpoint that you use as the target of the alias that you set up with your Domain Name Service (DNS) provider.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable cloudFrontDomain;
-
- @end
-
- /**
- <p>Represents the request to create a user pool.</p>
- Required parameters: [PoolName]
- */
- @interface AWSCognitoIdentityProviderCreateUserPoolRequest : AWSRequest
-
-
- /**
- <p>The configuration for <code>AdminCreateUser</code> requests.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderAdminCreateUserConfigType * _Nullable adminCreateUserConfig;
-
- /**
- <p>Attributes supported as an alias for this user pool. Possible values: <b>phone_number</b>, <b>email</b>, or <b>preferred_username</b>.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable aliasAttributes;
-
- /**
- <p>The attributes to be auto-verified. Possible values: <b>email</b>, <b>phone_number</b>.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable autoVerifiedAttributes;
-
- /**
- <p>The device configuration.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderDeviceConfigurationType * _Nullable deviceConfiguration;
-
- /**
- <p>The email configuration.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderEmailConfigurationType * _Nullable emailConfiguration;
-
- /**
- <p>A string representing the email verification message.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable emailVerificationMessage;
-
- /**
- <p>A string representing the email verification subject.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable emailVerificationSubject;
-
- /**
- <p>The Lambda trigger configuration information for the new user pool.</p><note><p>In a push model, event sources (such as Amazon S3 and custom applications) need permission to invoke a function. So you will need to make an extra call to add permission for these event sources to invoke your Lambda function.</p><p/><p>For more information on using the Lambda API to add permission, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/API_AddPermission.html"> AddPermission </a>. </p><p>For adding permission using the AWS CLI, see <a href="https://docs.aws.amazon.com/cli/latest/reference/lambda/add-permission.html"> add-permission </a>.</p></note>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderLambdaConfigType * _Nullable lambdaConfig;
-
- /**
- <p>Specifies MFA configuration details.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderUserPoolMfaType mfaConfiguration;
-
- /**
- <p>The policies associated with the new user pool.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderUserPoolPolicyType * _Nullable policies;
-
- /**
- <p>A string used to name the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable poolName;
-
- /**
- <p>An array of schema attributes for the new user pool. These attributes can be standard or custom attributes.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderSchemaAttributeType *> * _Nullable schema;
-
- /**
- <p>A string representing the SMS authentication message.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable smsAuthenticationMessage;
-
- /**
- <p>The SMS configuration.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderSmsConfigurationType * _Nullable smsConfiguration;
-
- /**
- <p>A string representing the SMS verification message.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable smsVerificationMessage;
-
- /**
- <p>Used to enable advanced security risk detection. Set the key <code>AdvancedSecurityMode</code> to the value "AUDIT".</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderUserPoolAddOnsType * _Nullable userPoolAddOns;
-
- /**
- <p>The cost allocation tags for the user pool. For more information, see <a href="http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-cost-allocation-tagging.html">Adding Cost Allocation Tags to Your User Pool</a></p>
- */
- @property (nonatomic, strong) NSDictionary<NSString *, NSString *> * _Nullable userPoolTags;
-
- /**
- <p>Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable usernameAttributes;
-
- /**
- <p>The template for the verification message that the user sees when the app requests permission to access the user's information.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderVerificationMessageTemplateType * _Nullable verificationMessageTemplate;
-
- @end
-
- /**
- <p>Represents the response from the server for the request to create a user pool.</p>
- */
- @interface AWSCognitoIdentityProviderCreateUserPoolResponse : AWSModel
-
-
- /**
- <p>A container for the user pool details.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderUserPoolType * _Nullable userPool;
-
- @end
-
- /**
- <p>The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.</p>
- Required parameters: [CertificateArn]
- */
- @interface AWSCognitoIdentityProviderCustomDomainConfigType : AWSModel
-
-
- /**
- <p>The Amazon Resource Name (ARN) of an AWS Certificate Manager SSL certificate. You use this certificate for the subdomain of your custom domain.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable certificateArn;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderDeleteGroupRequest : AWSRequest
-
-
- /**
- <p>The name of the group.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable groupName;
-
- /**
- <p>The user pool ID for the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderDeleteIdentityProviderRequest : AWSRequest
-
-
- /**
- <p>The identity provider name.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable providerName;
-
- /**
- <p>The user pool ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderDeleteResourceServerRequest : AWSRequest
-
-
- /**
- <p>The identifier for the resource server.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable identifier;
-
- /**
- <p>The user pool ID for the user pool that hosts the resource server.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
- <p>Represents the request to delete user attributes.</p>
- Required parameters: [UserAttributeNames, AccessToken]
- */
- @interface AWSCognitoIdentityProviderDeleteUserAttributesRequest : AWSRequest
-
-
- /**
- <p>The access token used in the request to delete user attributes.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable accessToken;
-
- /**
- <p>An array of strings representing the user attribute names you wish to delete.</p><p>For custom attributes, you must prepend the <code>custom:</code> prefix to the attribute name.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable userAttributeNames;
-
- @end
-
- /**
- <p>Represents the response from the server to delete user attributes.</p>
- */
- @interface AWSCognitoIdentityProviderDeleteUserAttributesResponse : AWSModel
-
-
- @end
-
- /**
- <p>Represents the request to delete a user pool client.</p>
- Required parameters: [UserPoolId, ClientId]
- */
- @interface AWSCognitoIdentityProviderDeleteUserPoolClientRequest : AWSRequest
-
-
- /**
- <p>The app client ID of the app associated with the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable clientId;
-
- /**
- <p>The user pool ID for the user pool where you want to delete the client.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderDeleteUserPoolDomainRequest : AWSRequest
-
-
- /**
- <p>The domain string.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable domain;
-
- /**
- <p>The user pool ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderDeleteUserPoolDomainResponse : AWSModel
-
-
- @end
-
- /**
- <p>Represents the request to delete a user pool.</p>
- Required parameters: [UserPoolId]
- */
- @interface AWSCognitoIdentityProviderDeleteUserPoolRequest : AWSRequest
-
-
- /**
- <p>The user pool ID for the user pool you want to delete.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
- <p>Represents the request to delete a user.</p>
- Required parameters: [AccessToken]
- */
- @interface AWSCognitoIdentityProviderDeleteUserRequest : AWSRequest
-
-
- /**
- <p>The access token from a request to delete a user.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable accessToken;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderDescribeIdentityProviderRequest : AWSRequest
-
-
- /**
- <p>The identity provider name.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable providerName;
-
- /**
- <p>The user pool ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderDescribeIdentityProviderResponse : AWSModel
-
-
- /**
- <p>The identity provider that was deleted.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderIdentityProviderType * _Nullable identityProvider;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderDescribeResourceServerRequest : AWSRequest
-
-
- /**
- <p>The identifier for the resource server</p>
- */
- @property (nonatomic, strong) NSString * _Nullable identifier;
-
- /**
- <p>The user pool ID for the user pool that hosts the resource server.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderDescribeResourceServerResponse : AWSModel
-
-
- /**
- <p>The resource server.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderResourceServerType * _Nullable resourceServer;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderDescribeRiskConfigurationRequest : AWSRequest
-
-
- /**
- <p>The app client ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable clientId;
-
- /**
- <p>The user pool ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderDescribeRiskConfigurationResponse : AWSModel
-
-
- /**
- <p>The risk configuration.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderRiskConfigurationType * _Nullable riskConfiguration;
-
- @end
-
- /**
- <p>Represents the request to describe the user import job.</p>
- Required parameters: [UserPoolId, JobId]
- */
- @interface AWSCognitoIdentityProviderDescribeUserImportJobRequest : AWSRequest
-
-
- /**
- <p>The job ID for the user import job.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable jobId;
-
- /**
- <p>The user pool ID for the user pool that the users are being imported into.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
- <p>Represents the response from the server to the request to describe the user import job.</p>
- */
- @interface AWSCognitoIdentityProviderDescribeUserImportJobResponse : AWSModel
-
-
- /**
- <p>The job object that represents the user import job.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderUserImportJobType * _Nullable userImportJob;
-
- @end
-
- /**
- <p>Represents the request to describe a user pool client.</p>
- Required parameters: [UserPoolId, ClientId]
- */
- @interface AWSCognitoIdentityProviderDescribeUserPoolClientRequest : AWSRequest
-
-
- /**
- <p>The app client ID of the app associated with the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable clientId;
-
- /**
- <p>The user pool ID for the user pool you want to describe.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
- <p>Represents the response from the server from a request to describe the user pool client.</p>
- */
- @interface AWSCognitoIdentityProviderDescribeUserPoolClientResponse : AWSModel
-
-
- /**
- <p>The user pool client from a server response to describe the user pool client.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderUserPoolClientType * _Nullable userPoolClient;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderDescribeUserPoolDomainRequest : AWSRequest
-
-
- /**
- <p>The domain string.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable domain;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderDescribeUserPoolDomainResponse : AWSModel
-
-
- /**
- <p>A domain description object containing information about the domain.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderDomainDescriptionType * _Nullable domainDescription;
-
- @end
-
- /**
- <p>Represents the request to describe the user pool.</p>
- Required parameters: [UserPoolId]
- */
- @interface AWSCognitoIdentityProviderDescribeUserPoolRequest : AWSRequest
-
-
- /**
- <p>The user pool ID for the user pool you want to describe.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
- <p>Represents the response to describe the user pool.</p>
- */
- @interface AWSCognitoIdentityProviderDescribeUserPoolResponse : AWSModel
-
-
- /**
- <p>The container of metadata returned by the server to describe the pool.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderUserPoolType * _Nullable userPool;
-
- @end
-
- /**
- <p>The configuration for the user pool's device tracking.</p>
- */
- @interface AWSCognitoIdentityProviderDeviceConfigurationType : AWSModel
-
-
- /**
- <p>Indicates whether a challenge is required on a new device. Only applicable to a new device.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable challengeRequiredOnNewDevice;
-
- /**
- <p>If true, a device is only remembered on user prompt.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable deviceOnlyRememberedOnUserPrompt;
-
- @end
-
- /**
- <p>The device verifier against which it will be authenticated.</p>
- */
- @interface AWSCognitoIdentityProviderDeviceSecretVerifierConfigType : AWSModel
-
-
- /**
- <p>The password verifier.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable passwordVerifier;
-
- /**
- <p>The salt.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable salt;
-
- @end
-
- /**
- <p>The device type.</p>
- */
- @interface AWSCognitoIdentityProviderDeviceType : AWSModel
-
-
- /**
- <p>The device attributes.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderAttributeType *> * _Nullable deviceAttributes;
-
- /**
- <p>The creation date of the device.</p>
- */
- @property (nonatomic, strong) NSDate * _Nullable deviceCreateDate;
-
- /**
- <p>The device key.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable deviceKey;
-
- /**
- <p>The date in which the device was last authenticated.</p>
- */
- @property (nonatomic, strong) NSDate * _Nullable deviceLastAuthenticatedDate;
-
- /**
- <p>The last modified date of the device.</p>
- */
- @property (nonatomic, strong) NSDate * _Nullable deviceLastModifiedDate;
-
- @end
-
- /**
- <p>A container for information about a domain.</p>
- */
- @interface AWSCognitoIdentityProviderDomainDescriptionType : AWSModel
-
-
- /**
- <p>The AWS account ID for the user pool owner.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable AWSAccountId;
-
- /**
- <p>The ARN of the CloudFront distribution.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable cloudFrontDistribution;
-
- /**
- <p>The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderCustomDomainConfigType * _Nullable customDomainConfig;
-
- /**
- <p>The domain string.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable domain;
-
- /**
- <p>The S3 bucket where the static files for this domain are stored.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable s3Bucket;
-
- /**
- <p>The domain status.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderDomainStatusType status;
-
- /**
- <p>The user pool ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- /**
- <p>The app version.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable version;
-
- @end
-
- /**
- <p>The email configuration type.</p>
- */
- @interface AWSCognitoIdentityProviderEmailConfigurationType : AWSModel
-
-
- /**
- <p>The destination to which the receiver of the email should reply to.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable replyToEmailAddress;
-
- /**
- <p>The Amazon Resource Name (ARN) of the email source.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable sourceArn;
-
- @end
-
- /**
- <p>Specifies the user context data captured at the time of an event request.</p>
- */
- @interface AWSCognitoIdentityProviderEventContextDataType : AWSModel
-
-
- /**
- <p>The user's city.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable city;
-
- /**
- <p>The user's country.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable country;
-
- /**
- <p>The user's device name.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable deviceName;
-
- /**
- <p>The user's IP address.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable ipAddress;
-
- /**
- <p>The user's time zone.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable timezone;
-
- @end
-
- /**
- <p>Specifies the event feedback type.</p>
- Required parameters: [FeedbackValue, Provider]
- */
- @interface AWSCognitoIdentityProviderEventFeedbackType : AWSModel
-
-
- /**
- <p>The event feedback date.</p>
- */
- @property (nonatomic, strong) NSDate * _Nullable feedbackDate;
-
- /**
- <p>The event feedback value.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderFeedbackValueType feedbackValue;
-
- /**
- <p>The provider.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable provider;
-
- @end
-
- /**
- <p>The event risk type.</p>
- */
- @interface AWSCognitoIdentityProviderEventRiskType : AWSModel
-
-
- /**
- <p>The risk decision.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderRiskDecisionType riskDecision;
-
- /**
- <p>The risk level.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderRiskLevelType riskLevel;
-
- @end
-
- /**
- <p>Represents the request to forget the device.</p>
- Required parameters: [DeviceKey]
- */
- @interface AWSCognitoIdentityProviderForgetDeviceRequest : AWSRequest
-
-
- /**
- <p>The access token for the forgotten device request.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable accessToken;
-
- /**
- <p>The device key.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable deviceKey;
-
- @end
-
- /**
- <p>Represents the request to reset a user's password.</p>
- Required parameters: [ClientId, Username]
- */
- @interface AWSCognitoIdentityProviderForgotPasswordRequest : AWSRequest
-
-
- /**
- <p>The Amazon Pinpoint analytics metadata for collecting metrics for <code>ForgotPassword</code> calls.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderAnalyticsMetadataType * _Nullable analyticsMetadata;
-
- /**
- <p>The ID of the client associated with the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable clientId;
-
- /**
- <p>A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable secretHash;
-
- /**
- <p>Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderUserContextDataType * _Nullable userContextData;
-
- /**
- <p>The user name of the user for whom you want to enter a code to reset a forgotten password.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- @end
-
- /**
- <p>Respresents the response from the server regarding the request to reset a password.</p>
- */
- @interface AWSCognitoIdentityProviderForgotPasswordResponse : AWSModel
-
-
- /**
- <p>The code delivery details returned by the server in response to the request to reset a password.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderCodeDeliveryDetailsType * _Nullable codeDeliveryDetails;
-
- @end
-
- /**
- <p>Represents the request to get the header information for the .csv file for the user import job.</p>
- Required parameters: [UserPoolId]
- */
- @interface AWSCognitoIdentityProviderGetCSVHeaderRequest : AWSRequest
-
-
- /**
- <p>The user pool ID for the user pool that the users are to be imported into.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
- <p>Represents the response from the server to the request to get the header information for the .csv file for the user import job.</p>
- */
- @interface AWSCognitoIdentityProviderGetCSVHeaderResponse : AWSModel
-
-
- /**
- <p>The header information for the .csv file for the user import job.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable CSVHeader;
-
- /**
- <p>The user pool ID for the user pool that the users are to be imported into.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
- <p>Represents the request to get the device.</p>
- Required parameters: [DeviceKey]
- */
- @interface AWSCognitoIdentityProviderGetDeviceRequest : AWSRequest
-
-
- /**
- <p>The access token.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable accessToken;
-
- /**
- <p>The device key.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable deviceKey;
-
- @end
-
- /**
- <p>Gets the device response.</p>
- Required parameters: [Device]
- */
- @interface AWSCognitoIdentityProviderGetDeviceResponse : AWSModel
-
-
- /**
- <p>The device.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderDeviceType * _Nullable device;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderGetGroupRequest : AWSRequest
-
-
- /**
- <p>The name of the group.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable groupName;
-
- /**
- <p>The user pool ID for the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderGetGroupResponse : AWSModel
-
-
- /**
- <p>The group object for the group.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderGroupType * _Nullable group;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderGetIdentityProviderByIdentifierRequest : AWSRequest
-
-
- /**
- <p>The identity provider ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable idpIdentifier;
-
- /**
- <p>The user pool ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderGetIdentityProviderByIdentifierResponse : AWSModel
-
-
- /**
- <p>The identity provider object.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderIdentityProviderType * _Nullable identityProvider;
-
- @end
-
- /**
- <p>Request to get a signing certificate from Cognito.</p>
- Required parameters: [UserPoolId]
- */
- @interface AWSCognitoIdentityProviderGetSigningCertificateRequest : AWSRequest
-
-
- /**
- <p>The user pool ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
- <p>Response from Cognito for a signing certificate request.</p>
- */
- @interface AWSCognitoIdentityProviderGetSigningCertificateResponse : AWSModel
-
-
- /**
- <p>The signing certificate.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable certificate;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderGetUICustomizationRequest : AWSRequest
-
-
- /**
- <p>The client ID for the client app.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable clientId;
-
- /**
- <p>The user pool ID for the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderGetUICustomizationResponse : AWSModel
-
-
- /**
- <p>The UI customization information.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderUICustomizationType * _Nullable UICustomization;
-
- @end
-
- /**
- <p>Represents the request to get user attribute verification.</p>
- Required parameters: [AccessToken, AttributeName]
- */
- @interface AWSCognitoIdentityProviderGetUserAttributeVerificationCodeRequest : AWSRequest
-
-
- /**
- <p>The access token returned by the server response to get the user attribute verification code.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable accessToken;
-
- /**
- <p>The attribute name returned by the server response to get the user attribute verification code.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable attributeName;
-
- @end
-
- /**
- <p>The verification code response returned by the server response to get the user attribute verification code.</p>
- */
- @interface AWSCognitoIdentityProviderGetUserAttributeVerificationCodeResponse : AWSModel
-
-
- /**
- <p>The code delivery details returned by the server in response to the request to get the user attribute verification code.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderCodeDeliveryDetailsType * _Nullable codeDeliveryDetails;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderGetUserPoolMfaConfigRequest : AWSRequest
-
-
- /**
- <p>The user pool ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderGetUserPoolMfaConfigResponse : AWSModel
-
-
- /**
- <p>The multi-factor (MFA) configuration.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderUserPoolMfaType mfaConfiguration;
-
- /**
- <p>The SMS text message multi-factor (MFA) configuration.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderSmsMfaConfigType * _Nullable smsMfaConfiguration;
-
- /**
- <p>The software token multi-factor (MFA) configuration.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderSoftwareTokenMfaConfigType * _Nullable softwareTokenMfaConfiguration;
-
- @end
-
- /**
- <p>Represents the request to get information about the user.</p>
- Required parameters: [AccessToken]
- */
- @interface AWSCognitoIdentityProviderGetUserRequest : AWSRequest
-
-
- /**
- <p>The access token returned by the server response to get information about the user.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable accessToken;
-
- @end
-
- /**
- <p>Represents the response from the server from the request to get information about the user.</p>
- Required parameters: [Username, UserAttributes]
- */
- @interface AWSCognitoIdentityProviderGetUserResponse : AWSModel
-
-
- /**
- <p>Specifies the options for MFA (e.g., email or phone number).</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderMFAOptionType *> * _Nullable MFAOptions;
-
- /**
- <p>The user's preferred MFA setting.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable preferredMfaSetting;
-
- /**
- <p>An array of name-value pairs representing user attributes.</p><p>For custom attributes, you must prepend the <code>custom:</code> prefix to the attribute name.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderAttributeType *> * _Nullable userAttributes;
-
- /**
- <p>The list of the user's MFA settings.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable userMFASettingList;
-
- /**
- <p>The user name of the user you wish to retrieve from the get user request.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- @end
-
- /**
- <p>Represents the request to sign out all devices.</p>
- Required parameters: [AccessToken]
- */
- @interface AWSCognitoIdentityProviderGlobalSignOutRequest : AWSRequest
-
-
- /**
- <p>The access token.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable accessToken;
-
- @end
-
- /**
- <p>The response to the request to sign out all devices.</p>
- */
- @interface AWSCognitoIdentityProviderGlobalSignOutResponse : AWSModel
-
-
- @end
-
- /**
- <p>The group type.</p>
- */
- @interface AWSCognitoIdentityProviderGroupType : AWSModel
-
-
- /**
- <p>The date the group was created.</p>
- */
- @property (nonatomic, strong) NSDate * _Nullable creationDate;
-
- /**
- <p>A string containing the description of the group.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable detail;
-
- /**
- <p>The name of the group.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable groupName;
-
- /**
- <p>The date the group was last modified.</p>
- */
- @property (nonatomic, strong) NSDate * _Nullable lastModifiedDate;
-
- /**
- <p>A nonnegative integer value that specifies the precedence of this group relative to the other groups that a user can belong to in the user pool. If a user belongs to two or more groups, it is the group with the highest precedence whose role ARN will be used in the <code>cognito:roles</code> and <code>cognito:preferred_role</code> claims in the user's tokens. Groups with higher <code>Precedence</code> values take precedence over groups with lower <code>Precedence</code> values or with null <code>Precedence</code> values.</p><p>Two groups can have the same <code>Precedence</code> value. If this happens, neither group takes precedence over the other. If two groups with the same <code>Precedence</code> have the same role ARN, that role is used in the <code>cognito:preferred_role</code> claim in tokens for users in each group. If the two groups have different role ARNs, the <code>cognito:preferred_role</code> claim is not set in users' tokens.</p><p>The default <code>Precedence</code> value is null.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable precedence;
-
- /**
- <p>The role ARN for the group.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable roleArn;
-
- /**
- <p>The user pool ID for the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
- <p>The HTTP header.</p>
- */
- @interface AWSCognitoIdentityProviderHttpHeader : AWSModel
-
-
- /**
- <p>The header name</p>
- */
- @property (nonatomic, strong) NSString * _Nullable headerName;
-
- /**
- <p>The header value.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable headerValue;
-
- @end
-
- /**
- <p>A container for information about an identity provider.</p>
- */
- @interface AWSCognitoIdentityProviderIdentityProviderType : AWSModel
-
-
- /**
- <p>A mapping of identity provider attributes to standard and custom user pool attributes.</p>
- */
- @property (nonatomic, strong) NSDictionary<NSString *, NSString *> * _Nullable attributeMapping;
-
- /**
- <p>The date the identity provider was created.</p>
- */
- @property (nonatomic, strong) NSDate * _Nullable creationDate;
-
- /**
- <p>A list of identity provider identifiers.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable idpIdentifiers;
-
- /**
- <p>The date the identity provider was last modified.</p>
- */
- @property (nonatomic, strong) NSDate * _Nullable lastModifiedDate;
-
- /**
- <p>The identity provider details, such as <code>MetadataURL</code> and <code>MetadataFile</code>.</p>
- */
- @property (nonatomic, strong) NSDictionary<NSString *, NSString *> * _Nullable providerDetails;
-
- /**
- <p>The identity provider name.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable providerName;
-
- /**
- <p>The identity provider type.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderIdentityProviderTypeType providerType;
-
- /**
- <p>The user pool ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
- <p>Initiates the authentication request.</p>
- Required parameters: [AuthFlow, ClientId]
- */
- @interface AWSCognitoIdentityProviderInitiateAuthRequest : AWSRequest
-
-
- /**
- <p>The Amazon Pinpoint analytics metadata for collecting metrics for <code>InitiateAuth</code> calls.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderAnalyticsMetadataType * _Nullable analyticsMetadata;
-
- /**
- <p>The authentication flow for this call to execute. The API action will depend on this value. For example: </p><ul><li><p><code>REFRESH_TOKEN_AUTH</code> will take in a valid refresh token and return new tokens.</p></li><li><p><code>USER_SRP_AUTH</code> will take in <code>USERNAME</code> and <code>SRP_A</code> and return the SRP variables to be used for next challenge execution.</p></li><li><p><code>USER_PASSWORD_AUTH</code> will take in <code>USERNAME</code> and <code>PASSWORD</code> and return the next challenge or tokens.</p></li></ul><p>Valid values include:</p><ul><li><p><code>USER_SRP_AUTH</code>: Authentication flow for the Secure Remote Password (SRP) protocol.</p></li><li><p><code>REFRESH_TOKEN_AUTH</code>/<code>REFRESH_TOKEN</code>: Authentication flow for refreshing the access token and ID token by supplying a valid refresh token.</p></li><li><p><code>CUSTOM_AUTH</code>: Custom authentication flow.</p></li><li><p><code>USER_PASSWORD_AUTH</code>: Non-SRP authentication flow; USERNAME and PASSWORD are passed directly. If a user migration Lambda trigger is set, this flow will invoke the user migration Lambda if the USERNAME is not found in the user pool. </p></li></ul><p><code>ADMIN_NO_SRP_AUTH</code> is not a valid value.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderAuthFlowType authFlow;
-
- /**
- <p>The authentication parameters. These are inputs corresponding to the <code>AuthFlow</code> that you are invoking. The required values depend on the value of <code>AuthFlow</code>:</p><ul><li><p>For <code>USER_SRP_AUTH</code>: <code>USERNAME</code> (required), <code>SRP_A</code> (required), <code>SECRET_HASH</code> (required if the app client is configured with a client secret), <code>DEVICE_KEY</code></p></li><li><p>For <code>REFRESH_TOKEN_AUTH/REFRESH_TOKEN</code>: <code>REFRESH_TOKEN</code> (required), <code>SECRET_HASH</code> (required if the app client is configured with a client secret), <code>DEVICE_KEY</code></p></li><li><p>For <code>CUSTOM_AUTH</code>: <code>USERNAME</code> (required), <code>SECRET_HASH</code> (if app client is configured with client secret), <code>DEVICE_KEY</code></p></li></ul>
- */
- @property (nonatomic, strong) NSDictionary<NSString *, NSString *> * _Nullable authParameters;
-
- /**
- <p>The app client ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable clientId;
-
- /**
- <p>This is a random key-value pair map which can contain any key and will be passed to your PreAuthentication Lambda trigger as-is. It can be used to implement additional validations around authentication.</p>
- */
- @property (nonatomic, strong) NSDictionary<NSString *, NSString *> * _Nullable clientMetadata;
-
- /**
- <p>Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderUserContextDataType * _Nullable userContextData;
-
- @end
-
- /**
- <p>Initiates the authentication response.</p>
- */
- @interface AWSCognitoIdentityProviderInitiateAuthResponse : AWSModel
-
-
- /**
- <p>The result of the authentication response. This is only returned if the caller does not need to pass another challenge. If the caller does need to pass another challenge before it gets tokens, <code>ChallengeName</code>, <code>ChallengeParameters</code>, and <code>Session</code> are returned.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderAuthenticationResultType * _Nullable authenticationResult;
-
- /**
- <p>The name of the challenge which you are responding to with this call. This is returned to you in the <code>AdminInitiateAuth</code> response if you need to pass another challenge.</p><p>Valid values include the following. Note that all of these challenges require <code>USERNAME</code> and <code>SECRET_HASH</code> (if applicable) in the parameters.</p><ul><li><p><code>SMS_MFA</code>: Next challenge is to supply an <code>SMS_MFA_CODE</code>, delivered via SMS.</p></li><li><p><code>PASSWORD_VERIFIER</code>: Next challenge is to supply <code>PASSWORD_CLAIM_SIGNATURE</code>, <code>PASSWORD_CLAIM_SECRET_BLOCK</code>, and <code>TIMESTAMP</code> after the client-side SRP calculations.</p></li><li><p><code>CUSTOM_CHALLENGE</code>: This is returned if your custom authentication flow determines that the user should pass another challenge before tokens are issued.</p></li><li><p><code>DEVICE_SRP_AUTH</code>: If device tracking was enabled on your user pool and the previous challenges were passed, this challenge is returned so that Amazon Cognito can start tracking this device.</p></li><li><p><code>DEVICE_PASSWORD_VERIFIER</code>: Similar to <code>PASSWORD_VERIFIER</code>, but for devices only.</p></li><li><p><code>NEW_PASSWORD_REQUIRED</code>: For users which are required to change their passwords after successful first login. This challenge should be passed with <code>NEW_PASSWORD</code> and any other required attributes.</p></li></ul>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderChallengeNameType challengeName;
-
- /**
- <p>The challenge parameters. These are returned to you in the <code>InitiateAuth</code> response if you need to pass another challenge. The responses in this parameter should be used to compute inputs to the next call (<code>RespondToAuthChallenge</code>). </p><p>All challenges require <code>USERNAME</code> and <code>SECRET_HASH</code> (if applicable).</p>
- */
- @property (nonatomic, strong) NSDictionary<NSString *, NSString *> * _Nullable challengeParameters;
-
- /**
- <p>The session which should be passed both ways in challenge-response calls to the service. If the or API call determines that the caller needs to go through another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next <code>RespondToAuthChallenge</code> API call.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable session;
-
- @end
-
- /**
- <p>Specifies the configuration for AWS Lambda triggers.</p>
- */
- @interface AWSCognitoIdentityProviderLambdaConfigType : AWSModel
-
-
- /**
- <p>Creates an authentication challenge.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable createAuthChallenge;
-
- /**
- <p>A custom Message AWS Lambda trigger.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable customMessage;
-
- /**
- <p>Defines the authentication challenge.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable defineAuthChallenge;
-
- /**
- <p>A post-authentication AWS Lambda trigger.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable postAuthentication;
-
- /**
- <p>A post-confirmation AWS Lambda trigger.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable postConfirmation;
-
- /**
- <p>A pre-authentication AWS Lambda trigger.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable preAuthentication;
-
- /**
- <p>A pre-registration AWS Lambda trigger.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable preSignUp;
-
- /**
- <p>A Lambda trigger that is invoked before token generation.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable preTokenGeneration;
-
- /**
- <p>The user migration Lambda config type.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userMigration;
-
- /**
- <p>Verifies the authentication challenge response.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable verifyAuthChallengeResponse;
-
- @end
-
- /**
- <p>Represents the request to list the devices.</p>
- Required parameters: [AccessToken]
- */
- @interface AWSCognitoIdentityProviderListDevicesRequest : AWSRequest
-
-
- /**
- <p>The access tokens for the request to list devices.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable accessToken;
-
- /**
- <p>The limit of the device request.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable limit;
-
- /**
- <p>The pagination token for the list request.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable paginationToken;
-
- @end
-
- /**
- <p>Represents the response to list devices.</p>
- */
- @interface AWSCognitoIdentityProviderListDevicesResponse : AWSModel
-
-
- /**
- <p>The devices returned in the list devices response.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderDeviceType *> * _Nullable devices;
-
- /**
- <p>The pagination token for the list device response.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable paginationToken;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderListGroupsRequest : AWSRequest
-
-
- /**
- <p>The limit of the request to list groups.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable limit;
-
- /**
- <p>An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable nextToken;
-
- /**
- <p>The user pool ID for the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderListGroupsResponse : AWSModel
-
-
- /**
- <p>The group objects for the groups.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderGroupType *> * _Nullable groups;
-
- /**
- <p>An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable nextToken;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderListIdentityProvidersRequest : AWSRequest
-
-
- /**
- <p>The maximum number of identity providers to return.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable maxResults;
-
- /**
- <p>A pagination token.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable nextToken;
-
- /**
- <p>The user pool ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderListIdentityProvidersResponse : AWSModel
-
-
- /**
- <p>A pagination token.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable nextToken;
-
- /**
- <p>A list of identity provider objects.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderProviderDescription *> * _Nullable providers;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderListResourceServersRequest : AWSRequest
-
-
- /**
- <p>The maximum number of resource servers to return.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable maxResults;
-
- /**
- <p>A pagination token.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable nextToken;
-
- /**
- <p>The user pool ID for the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderListResourceServersResponse : AWSModel
-
-
- /**
- <p>A pagination token.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable nextToken;
-
- /**
- <p>The resource servers.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderResourceServerType *> * _Nullable resourceServers;
-
- @end
-
- /**
- <p>Represents the request to list the user import jobs.</p>
- Required parameters: [UserPoolId, MaxResults]
- */
- @interface AWSCognitoIdentityProviderListUserImportJobsRequest : AWSRequest
-
-
- /**
- <p>The maximum number of import jobs you want the request to return.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable maxResults;
-
- /**
- <p>An identifier that was returned from the previous call to <code>ListUserImportJobs</code>, which can be used to return the next set of import jobs in the list.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable paginationToken;
-
- /**
- <p>The user pool ID for the user pool that the users are being imported into.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
- <p>Represents the response from the server to the request to list the user import jobs.</p>
- */
- @interface AWSCognitoIdentityProviderListUserImportJobsResponse : AWSModel
-
-
- /**
- <p>An identifier that can be used to return the next set of user import jobs in the list.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable paginationToken;
-
- /**
- <p>The user import jobs.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderUserImportJobType *> * _Nullable userImportJobs;
-
- @end
-
- /**
- <p>Represents the request to list the user pool clients.</p>
- Required parameters: [UserPoolId]
- */
- @interface AWSCognitoIdentityProviderListUserPoolClientsRequest : AWSRequest
-
-
- /**
- <p>The maximum number of results you want the request to return when listing the user pool clients.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable maxResults;
-
- /**
- <p>An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable nextToken;
-
- /**
- <p>The user pool ID for the user pool where you want to list user pool clients.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
- <p>Represents the response from the server that lists user pool clients.</p>
- */
- @interface AWSCognitoIdentityProviderListUserPoolClientsResponse : AWSModel
-
-
- /**
- <p>An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable nextToken;
-
- /**
- <p>The user pool clients in the response that lists user pool clients.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderUserPoolClientDescription *> * _Nullable userPoolClients;
-
- @end
-
- /**
- <p>Represents the request to list user pools.</p>
- Required parameters: [MaxResults]
- */
- @interface AWSCognitoIdentityProviderListUserPoolsRequest : AWSRequest
-
-
- /**
- <p>The maximum number of results you want the request to return when listing the user pools.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable maxResults;
-
- /**
- <p>An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable nextToken;
-
- @end
-
- /**
- <p>Represents the response to list user pools.</p>
- */
- @interface AWSCognitoIdentityProviderListUserPoolsResponse : AWSModel
-
-
- /**
- <p>An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable nextToken;
-
- /**
- <p>The user pools from the response to list users.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderUserPoolDescriptionType *> * _Nullable userPools;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderListUsersInGroupRequest : AWSRequest
-
-
- /**
- <p>The name of the group.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable groupName;
-
- /**
- <p>The limit of the request to list users.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable limit;
-
- /**
- <p>An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable nextToken;
-
- /**
- <p>The user pool ID for the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderListUsersInGroupResponse : AWSModel
-
-
- /**
- <p>An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable nextToken;
-
- /**
- <p>The users returned in the request to list users.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderUserType *> * _Nullable users;
-
- @end
-
- /**
- <p>Represents the request to list users.</p>
- Required parameters: [UserPoolId]
- */
- @interface AWSCognitoIdentityProviderListUsersRequest : AWSRequest
-
-
- /**
- <p>An array of strings, where each string is the name of a user attribute to be returned for each user in the search results. If the array is null, all attributes are returned.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable attributesToGet;
-
- /**
- <p>A filter string of the form "<i>AttributeName</i><i>Filter-Type</i> "<i>AttributeValue</i>"". Quotation marks within the filter string must be escaped using the backslash (\) character. For example, "<code>family_name</code> = \"Reddy\"".</p><ul><li><p><i>AttributeName</i>: The name of the attribute to search for. You can only search for one attribute at a time.</p></li><li><p><i>Filter-Type</i>: For an exact match, use =, for example, "<code>given_name</code> = \"Jon\"". For a prefix ("starts with") match, use ^=, for example, "<code>given_name</code> ^= \"Jon\"". </p></li><li><p><i>AttributeValue</i>: The attribute value that must be matched for each user.</p></li></ul><p>If the filter string is empty, <code>ListUsers</code> returns all users in the user pool.</p><p>You can only search for the following standard attributes:</p><ul><li><p><code>username</code> (case-sensitive)</p></li><li><p><code>email</code></p></li><li><p><code>phone_number</code></p></li><li><p><code>name</code></p></li><li><p><code>given_name</code></p></li><li><p><code>family_name</code></p></li><li><p><code>preferred_username</code></p></li><li><p><code>cognito:user_status</code> (called <b>Status</b> in the Console) (case-insensitive)</p></li><li><p><code>status (called <b>Enabled</b> in the Console) (case-sensitive)</code></p></li><li><p><code>sub</code></p></li></ul><p>Custom attributes are not searchable.</p><p>For more information, see <a href="http://docs.aws.amazon.com/cognito/latest/developerguide/how-to-manage-user-accounts.html#cognito-user-pools-searching-for-users-using-listusers-api">Searching for Users Using the ListUsers API</a> and <a href="http://docs.aws.amazon.com/cognito/latest/developerguide/how-to-manage-user-accounts.html#cognito-user-pools-searching-for-users-listusers-api-examples">Examples of Using the ListUsers API</a> in the <i>Amazon Cognito Developer Guide</i>.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable filter;
-
- /**
- <p>Maximum number of users to be returned.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable limit;
-
- /**
- <p>An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable paginationToken;
-
- /**
- <p>The user pool ID for the user pool on which the search should be performed.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
- <p>The response from the request to list users.</p>
- */
- @interface AWSCognitoIdentityProviderListUsersResponse : AWSModel
-
-
- /**
- <p>An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable paginationToken;
-
- /**
- <p>The users returned in the request to list users.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderUserType *> * _Nullable users;
-
- @end
-
- /**
- <p>Specifies the different settings for multi-factor authentication (MFA).</p>
- */
- @interface AWSCognitoIdentityProviderMFAOptionType : AWSModel
-
-
- /**
- <p>The attribute name of the MFA option type.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable attributeName;
-
- /**
- <p>The delivery medium (email message or SMS message) to send the MFA code.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderDeliveryMediumType deliveryMedium;
-
- @end
-
- /**
- <p>The message template structure.</p>
- */
- @interface AWSCognitoIdentityProviderMessageTemplateType : AWSModel
-
-
- /**
- <p>The message template for email messages.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable emailMessage;
-
- /**
- <p>The subject line for email messages.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable emailSubject;
-
- /**
- <p>The message template for SMS messages.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable SMSMessage;
-
- @end
-
- /**
- <p>The new device metadata type.</p>
- */
- @interface AWSCognitoIdentityProviderLatestDeviceMetadataType : AWSModel
-
-
- /**
- <p>The device group key.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable deviceGroupKey;
-
- /**
- <p>The device key.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable deviceKey;
-
- @end
-
- /**
- <p>The notify configuration type.</p>
- Required parameters: [SourceArn]
- */
- @interface AWSCognitoIdentityProviderNotifyConfigurationType : AWSModel
-
-
- /**
- <p>Email template used when a detected risk event is blocked.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderNotifyEmailType * _Nullable blockEmail;
-
- /**
- <p>The email address that is sending the email. It must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable from;
-
- /**
- <p>The MFA email template used when MFA is challenged as part of a detected risk.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderNotifyEmailType * _Nullable mfaEmail;
-
- /**
- <p>The email template used when a detected risk event is allowed.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderNotifyEmailType * _Nullable noActionEmail;
-
- /**
- <p>The destination to which the receiver of an email should reply to.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable replyTo;
-
- /**
- <p>The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy. It permits Amazon Cognito to send for the email address specified in the <code>From</code> parameter.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable sourceArn;
-
- @end
-
- /**
- <p>The notify email type.</p>
- Required parameters: [Subject]
- */
- @interface AWSCognitoIdentityProviderNotifyEmailType : AWSModel
-
-
- /**
- <p>The HTML body.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable htmlBody;
-
- /**
- <p>The subject.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable subject;
-
- /**
- <p>The text body.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable textBody;
-
- @end
-
- /**
- <p>The minimum and maximum value of an attribute that is of the number data type.</p>
- */
- @interface AWSCognitoIdentityProviderNumberAttributeConstraintsType : AWSModel
-
-
- /**
- <p>The maximum value of an attribute that is of the number data type.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable maxValue;
-
- /**
- <p>The minimum value of an attribute that is of the number data type.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable minValue;
-
- @end
-
- /**
- <p>The password policy type.</p>
- */
- @interface AWSCognitoIdentityProviderPasswordPolicyType : AWSModel
-
-
- /**
- <p>The minimum length of the password policy that you have set. Cannot be less than 6.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable minimumLength;
-
- /**
- <p>In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable requireLowercase;
-
- /**
- <p>In the password policy that you have set, refers to whether you have required users to use at least one number in their password.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable requireNumbers;
-
- /**
- <p>In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable requireSymbols;
-
- /**
- <p>In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable requireUppercase;
-
- @end
-
- /**
- <p>A container for identity provider details.</p>
- */
- @interface AWSCognitoIdentityProviderProviderDescription : AWSModel
-
-
- /**
- <p>The date the provider was added to the user pool.</p>
- */
- @property (nonatomic, strong) NSDate * _Nullable creationDate;
-
- /**
- <p>The date the provider was last modified.</p>
- */
- @property (nonatomic, strong) NSDate * _Nullable lastModifiedDate;
-
- /**
- <p>The identity provider name.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable providerName;
-
- /**
- <p>The identity provider type.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderIdentityProviderTypeType providerType;
-
- @end
-
- /**
- <p>A container for information about an identity provider for a user pool.</p>
- */
- @interface AWSCognitoIdentityProviderProviderUserIdentifierType : AWSModel
-
-
- /**
- <p>The name of the provider attribute to link to, for example, <code>NameID</code>.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable providerAttributeName;
-
- /**
- <p>The value of the provider attribute to link to, for example, <code>xxxxx_account</code>.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable providerAttributeValue;
-
- /**
- <p>The name of the provider, for example, Facebook, Google, or Login with Amazon.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable providerName;
-
- @end
-
- /**
- <p>Represents the request to resend the confirmation code.</p>
- Required parameters: [ClientId, Username]
- */
- @interface AWSCognitoIdentityProviderResendConfirmationCodeRequest : AWSRequest
-
-
- /**
- <p>The Amazon Pinpoint analytics metadata for collecting metrics for <code>ResendConfirmationCode</code> calls.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderAnalyticsMetadataType * _Nullable analyticsMetadata;
-
- /**
- <p>The ID of the client associated with the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable clientId;
-
- /**
- <p>A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable secretHash;
-
- /**
- <p>Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderUserContextDataType * _Nullable userContextData;
-
- /**
- <p>The user name of the user to whom you wish to resend a confirmation code.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- @end
-
- /**
- <p>The response from the server when the Amazon Cognito Your User Pools service makes the request to resend a confirmation code.</p>
- */
- @interface AWSCognitoIdentityProviderResendConfirmationCodeResponse : AWSModel
-
-
- /**
- <p>The code delivery details returned by the server in response to the request to resend the confirmation code.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderCodeDeliveryDetailsType * _Nullable codeDeliveryDetails;
-
- @end
-
- /**
- <p>A resource server scope.</p>
- Required parameters: [ScopeName, ScopeDescription]
- */
- @interface AWSCognitoIdentityProviderResourceServerScopeType : AWSModel
-
-
- /**
- <p>A description of the scope.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable scopeDescription;
-
- /**
- <p>The name of the scope.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable scopeName;
-
- @end
-
- /**
- <p>A container for information about a resource server for a user pool.</p>
- */
- @interface AWSCognitoIdentityProviderResourceServerType : AWSModel
-
-
- /**
- <p>The identifier for the resource server.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable identifier;
-
- /**
- <p>The name of the resource server.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable name;
-
- /**
- <p>A list of scopes that are defined for the resource server.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderResourceServerScopeType *> * _Nullable scopes;
-
- /**
- <p>The user pool ID for the user pool that hosts the resource server.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
- <p>The request to respond to an authentication challenge.</p>
- Required parameters: [ClientId, ChallengeName]
- */
- @interface AWSCognitoIdentityProviderRespondToAuthChallengeRequest : AWSRequest
-
-
- /**
- <p>The Amazon Pinpoint analytics metadata for collecting metrics for <code>RespondToAuthChallenge</code> calls.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderAnalyticsMetadataType * _Nullable analyticsMetadata;
-
- /**
- <p>The challenge name. For more information, see .</p><p><code>ADMIN_NO_SRP_AUTH</code> is not a valid value.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderChallengeNameType challengeName;
-
- /**
- <p>The challenge responses. These are inputs corresponding to the value of <code>ChallengeName</code>, for example:</p><ul><li><p><code>SMS_MFA</code>: <code>SMS_MFA_CODE</code>, <code>USERNAME</code>, <code>SECRET_HASH</code> (if app client is configured with client secret).</p></li><li><p><code>PASSWORD_VERIFIER</code>: <code>PASSWORD_CLAIM_SIGNATURE</code>, <code>PASSWORD_CLAIM_SECRET_BLOCK</code>, <code>TIMESTAMP</code>, <code>USERNAME</code>, <code>SECRET_HASH</code> (if app client is configured with client secret).</p></li><li><p><code>NEW_PASSWORD_REQUIRED</code>: <code>NEW_PASSWORD</code>, any other required attributes, <code>USERNAME</code>, <code>SECRET_HASH</code> (if app client is configured with client secret). </p></li></ul>
- */
- @property (nonatomic, strong) NSDictionary<NSString *, NSString *> * _Nullable challengeResponses;
-
- /**
- <p>The app client ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable clientId;
-
- /**
- <p>The session which should be passed both ways in challenge-response calls to the service. If <code>InitiateAuth</code> or <code>RespondToAuthChallenge</code> API call determines that the caller needs to go through another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next <code>RespondToAuthChallenge</code> API call.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable session;
-
- /**
- <p>Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderUserContextDataType * _Nullable userContextData;
-
- @end
-
- /**
- <p>The response to respond to the authentication challenge.</p>
- */
- @interface AWSCognitoIdentityProviderRespondToAuthChallengeResponse : AWSModel
-
-
- /**
- <p>The result returned by the server in response to the request to respond to the authentication challenge.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderAuthenticationResultType * _Nullable authenticationResult;
-
- /**
- <p>The challenge name. For more information, see .</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderChallengeNameType challengeName;
-
- /**
- <p>The challenge parameters. For more information, see .</p>
- */
- @property (nonatomic, strong) NSDictionary<NSString *, NSString *> * _Nullable challengeParameters;
-
- /**
- <p>The session which should be passed both ways in challenge-response calls to the service. If the or API call determines that the caller needs to go through another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next <code>RespondToAuthChallenge</code> API call.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable session;
-
- @end
-
- /**
- <p>The risk configuration type.</p>
- */
- @interface AWSCognitoIdentityProviderRiskConfigurationType : AWSModel
-
-
- /**
- <p>The account takeover risk configuration object including the <code>NotifyConfiguration</code> object and <code>Actions</code> to take in the case of an account takeover.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderAccountTakeoverRiskConfigurationType * _Nullable accountTakeoverRiskConfiguration;
-
- /**
- <p>The app client ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable clientId;
-
- /**
- <p>The compromised credentials risk configuration object including the <code>EventFilter</code> and the <code>EventAction</code></p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderCompromisedCredentialsRiskConfigurationType * _Nullable compromisedCredentialsRiskConfiguration;
-
- /**
- <p>The last modified date.</p>
- */
- @property (nonatomic, strong) NSDate * _Nullable lastModifiedDate;
-
- /**
- <p>The configuration to override the risk decision.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderRiskExceptionConfigurationType * _Nullable riskExceptionConfiguration;
-
- /**
- <p>The user pool ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
- <p>The type of the configuration to override the risk decision.</p>
- */
- @interface AWSCognitoIdentityProviderRiskExceptionConfigurationType : AWSModel
-
-
- /**
- <p>Overrides the risk decision to always block the pre-authentication requests. The IP range is in CIDR notation: a compact representation of an IP address and its associated routing prefix.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable blockedIPRangeList;
-
- /**
- <p>Risk detection is not performed on the IP addresses in the range list. The IP range is in CIDR notation.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable skippedIPRangeList;
-
- @end
-
- /**
- <p>The SMS multi-factor authentication (MFA) settings type.</p>
- */
- @interface AWSCognitoIdentityProviderSMSMfaSettingsType : AWSModel
-
-
- /**
- <p>Specifies whether SMS text message MFA is enabled.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable enabled;
-
- /**
- <p>The preferred MFA method.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable preferredMfa;
-
- @end
-
- /**
- <p>Contains information about the schema attribute.</p>
- */
- @interface AWSCognitoIdentityProviderSchemaAttributeType : AWSModel
-
-
- /**
- <p>The attribute data type.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderAttributeDataType attributeDataType;
-
- /**
- <p>Specifies whether the attribute type is developer only.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable developerOnlyAttribute;
-
- /**
- <p>Specifies whether the value of the attribute can be changed.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable varying;
-
- /**
- <p>A schema attribute of the name type.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable name;
-
- /**
- <p>Specifies the constraints for an attribute of the number type.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderNumberAttributeConstraintsType * _Nullable numberAttributeConstraints;
-
- /**
- <p>Specifies whether a user pool attribute is required. If the attribute is required and the user does not provide a value, registration or sign-in will fail.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable required;
-
- /**
- <p>Specifies the constraints for an attribute of the string type.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderStringAttributeConstraintsType * _Nullable stringAttributeConstraints;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderSetRiskConfigurationRequest : AWSRequest
-
-
- /**
- <p>The account takeover risk configuration.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderAccountTakeoverRiskConfigurationType * _Nullable accountTakeoverRiskConfiguration;
-
- /**
- <p>The app client ID. If <code>ClientId</code> is null, then the risk configuration is mapped to <code>userPoolId</code>. When the client ID is null, the same risk configuration is applied to all the clients in the userPool.</p><p>Otherwise, <code>ClientId</code> is mapped to the client. When the client ID is not null, the user pool configuration is overridden and the risk configuration for the client is used instead.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable clientId;
-
- /**
- <p>The compromised credentials risk configuration.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderCompromisedCredentialsRiskConfigurationType * _Nullable compromisedCredentialsRiskConfiguration;
-
- /**
- <p>The configuration to override the risk decision.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderRiskExceptionConfigurationType * _Nullable riskExceptionConfiguration;
-
- /**
- <p>The user pool ID. </p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderSetRiskConfigurationResponse : AWSModel
-
-
- /**
- <p>The risk configuration.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderRiskConfigurationType * _Nullable riskConfiguration;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderSetUICustomizationRequest : AWSRequest
-
-
- /**
- <p>The CSS values in the UI customization.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable CSS;
-
- /**
- <p>The client ID for the client app.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable clientId;
-
- /**
- <p>The uploaded logo image for the UI customization.</p>
- */
- @property (nonatomic, strong) NSData * _Nullable imageFile;
-
- /**
- <p>The user pool ID for the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderSetUICustomizationResponse : AWSModel
-
-
- /**
- <p>The UI customization information.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderUICustomizationType * _Nullable UICustomization;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderSetUserMFAPreferenceRequest : AWSRequest
-
-
- /**
- <p>The access token.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable accessToken;
-
- /**
- <p>The SMS text message multi-factor authentication (MFA) settings.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderSMSMfaSettingsType * _Nullable SMSMfaSettings;
-
- /**
- <p>The time-based one-time password software token MFA settings.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderSoftwareTokenMfaSettingsType * _Nullable softwareTokenMfaSettings;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderSetUserMFAPreferenceResponse : AWSModel
-
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderSetUserPoolMfaConfigRequest : AWSRequest
-
-
- /**
- <p>The MFA configuration.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderUserPoolMfaType mfaConfiguration;
-
- /**
- <p>The SMS text message MFA configuration.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderSmsMfaConfigType * _Nullable smsMfaConfiguration;
-
- /**
- <p>The software token MFA configuration.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderSoftwareTokenMfaConfigType * _Nullable softwareTokenMfaConfiguration;
-
- /**
- <p>The user pool ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderSetUserPoolMfaConfigResponse : AWSModel
-
-
- /**
- <p>The MFA configuration.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderUserPoolMfaType mfaConfiguration;
-
- /**
- <p>The SMS text message MFA configuration.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderSmsMfaConfigType * _Nullable smsMfaConfiguration;
-
- /**
- <p>The software token MFA configuration.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderSoftwareTokenMfaConfigType * _Nullable softwareTokenMfaConfiguration;
-
- @end
-
- /**
- <p>Represents the request to set user settings.</p>
- Required parameters: [AccessToken, MFAOptions]
- */
- @interface AWSCognitoIdentityProviderSetUserSettingsRequest : AWSRequest
-
-
- /**
- <p>The access token for the set user settings request.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable accessToken;
-
- /**
- <p>Specifies the options for MFA (e.g., email or phone number).</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderMFAOptionType *> * _Nullable MFAOptions;
-
- @end
-
- /**
- <p>The response from the server for a set user settings request.</p>
- */
- @interface AWSCognitoIdentityProviderSetUserSettingsResponse : AWSModel
-
-
- @end
-
- /**
- <p>Represents the request to register a user.</p>
- Required parameters: [ClientId, Username, Password]
- */
- @interface AWSCognitoIdentityProviderSignUpRequest : AWSRequest
-
-
- /**
- <p>The Amazon Pinpoint analytics metadata for collecting metrics for <code>SignUp</code> calls.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderAnalyticsMetadataType * _Nullable analyticsMetadata;
-
- /**
- <p>The ID of the client associated with the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable clientId;
-
- /**
- <p>The password of the user you wish to register.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable password;
-
- /**
- <p>A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable secretHash;
-
- /**
- <p>An array of name-value pairs representing user attributes.</p><p>For custom attributes, you must prepend the <code>custom:</code> prefix to the attribute name.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderAttributeType *> * _Nullable userAttributes;
-
- /**
- <p>Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderUserContextDataType * _Nullable userContextData;
-
- /**
- <p>The user name of the user you wish to register.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- /**
- <p>The validation data in the request to register a user.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderAttributeType *> * _Nullable validationData;
-
- @end
-
- /**
- <p>The response from the server for a registration request.</p>
- Required parameters: [UserConfirmed, UserSub]
- */
- @interface AWSCognitoIdentityProviderSignUpResponse : AWSModel
-
-
- /**
- <p>The code delivery details returned by the server response to the user registration request.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderCodeDeliveryDetailsType * _Nullable codeDeliveryDetails;
-
- /**
- <p>A response from the server indicating that a user registration has been confirmed.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable userConfirmed;
-
- /**
- <p>The UUID of the authenticated user. This is not the same as <code>username</code>.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userSub;
-
- @end
-
- /**
- <p>The SMS configuration type.</p>
- Required parameters: [SnsCallerArn]
- */
- @interface AWSCognitoIdentityProviderSmsConfigurationType : AWSModel
-
-
- /**
- <p>The external ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable externalId;
-
- /**
- <p>The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) caller.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable snsCallerArn;
-
- @end
-
- /**
- <p>The SMS text message multi-factor authentication (MFA) configuration type.</p>
- */
- @interface AWSCognitoIdentityProviderSmsMfaConfigType : AWSModel
-
-
- /**
- <p>The SMS authentication message.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable smsAuthenticationMessage;
-
- /**
- <p>The SMS configuration.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderSmsConfigurationType * _Nullable smsConfiguration;
-
- @end
-
- /**
- <p>The type used for enabling software token MFA at the user pool level.</p>
- */
- @interface AWSCognitoIdentityProviderSoftwareTokenMfaConfigType : AWSModel
-
-
- /**
- <p>Specifies whether software token MFA is enabled.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable enabled;
-
- @end
-
- /**
- <p>The type used for enabling software token MFA at the user level.</p>
- */
- @interface AWSCognitoIdentityProviderSoftwareTokenMfaSettingsType : AWSModel
-
-
- /**
- <p>Specifies whether software token MFA is enabled.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable enabled;
-
- /**
- <p>The preferred MFA method.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable preferredMfa;
-
- @end
-
- /**
- <p>Represents the request to start the user import job.</p>
- Required parameters: [UserPoolId, JobId]
- */
- @interface AWSCognitoIdentityProviderStartUserImportJobRequest : AWSRequest
-
-
- /**
- <p>The job ID for the user import job.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable jobId;
-
- /**
- <p>The user pool ID for the user pool that the users are being imported into.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
- <p>Represents the response from the server to the request to start the user import job.</p>
- */
- @interface AWSCognitoIdentityProviderStartUserImportJobResponse : AWSModel
-
-
- /**
- <p>The job object that represents the user import job.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderUserImportJobType * _Nullable userImportJob;
-
- @end
-
- /**
- <p>Represents the request to stop the user import job.</p>
- Required parameters: [UserPoolId, JobId]
- */
- @interface AWSCognitoIdentityProviderStopUserImportJobRequest : AWSRequest
-
-
- /**
- <p>The job ID for the user import job.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable jobId;
-
- /**
- <p>The user pool ID for the user pool that the users are being imported into.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
- <p>Represents the response from the server to the request to stop the user import job.</p>
- */
- @interface AWSCognitoIdentityProviderStopUserImportJobResponse : AWSModel
-
-
- /**
- <p>The job object that represents the user import job.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderUserImportJobType * _Nullable userImportJob;
-
- @end
-
- /**
- <p>The constraints associated with a string attribute.</p>
- */
- @interface AWSCognitoIdentityProviderStringAttributeConstraintsType : AWSModel
-
-
- /**
- <p>The maximum length.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable maxLength;
-
- /**
- <p>The minimum length.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable minLength;
-
- @end
-
- /**
- <p>A container for the UI customization information for a user pool's built-in app UI.</p>
- */
- @interface AWSCognitoIdentityProviderUICustomizationType : AWSModel
-
-
- /**
- <p>The CSS values in the UI customization.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable CSS;
-
- /**
- <p>The CSS version number.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable CSSVersion;
-
- /**
- <p>The client ID for the client app.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable clientId;
-
- /**
- <p>The creation date for the UI customization.</p>
- */
- @property (nonatomic, strong) NSDate * _Nullable creationDate;
-
- /**
- <p>The logo image for the UI customization.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable imageUrl;
-
- /**
- <p>The last-modified date for the UI customization.</p>
- */
- @property (nonatomic, strong) NSDate * _Nullable lastModifiedDate;
-
- /**
- <p>The user pool ID for the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderUpdateAuthEventFeedbackRequest : AWSRequest
-
-
- /**
- <p>The event ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable eventId;
-
- /**
- <p>The feedback token.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable feedbackToken;
-
- /**
- <p>The authentication event feedback value.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderFeedbackValueType feedbackValue;
-
- /**
- <p>The user pool ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- /**
- <p>The user pool username.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderUpdateAuthEventFeedbackResponse : AWSModel
-
-
- @end
-
- /**
- <p>Represents the request to update the device status.</p>
- Required parameters: [AccessToken, DeviceKey]
- */
- @interface AWSCognitoIdentityProviderUpdateDeviceStatusRequest : AWSRequest
-
-
- /**
- <p>The access token.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable accessToken;
-
- /**
- <p>The device key.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable deviceKey;
-
- /**
- <p>The status of whether a device is remembered.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderDeviceRememberedStatusType deviceRememberedStatus;
-
- @end
-
- /**
- <p>The response to the request to update the device status.</p>
- */
- @interface AWSCognitoIdentityProviderUpdateDeviceStatusResponse : AWSModel
-
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderUpdateGroupRequest : AWSRequest
-
-
- /**
- <p>A string containing the new description of the group.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable detail;
-
- /**
- <p>The name of the group.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable groupName;
-
- /**
- <p>The new precedence value for the group. For more information about this parameter, see .</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable precedence;
-
- /**
- <p>The new role ARN for the group. This is used for setting the <code>cognito:roles</code> and <code>cognito:preferred_role</code> claims in the token.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable roleArn;
-
- /**
- <p>The user pool ID for the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderUpdateGroupResponse : AWSModel
-
-
- /**
- <p>The group object for the group.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderGroupType * _Nullable group;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderUpdateIdentityProviderRequest : AWSRequest
-
-
- /**
- <p>The identity provider attribute mapping to be changed.</p>
- */
- @property (nonatomic, strong) NSDictionary<NSString *, NSString *> * _Nullable attributeMapping;
-
- /**
- <p>A list of identity provider identifiers.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable idpIdentifiers;
-
- /**
- <p>The identity provider details to be updated, such as <code>MetadataURL</code> and <code>MetadataFile</code>.</p>
- */
- @property (nonatomic, strong) NSDictionary<NSString *, NSString *> * _Nullable providerDetails;
-
- /**
- <p>The identity provider name.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable providerName;
-
- /**
- <p>The user pool ID.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderUpdateIdentityProviderResponse : AWSModel
-
-
- /**
- <p>The identity provider object.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderIdentityProviderType * _Nullable identityProvider;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderUpdateResourceServerRequest : AWSRequest
-
-
- /**
- <p>The identifier for the resource server.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable identifier;
-
- /**
- <p>The name of the resource server.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable name;
-
- /**
- <p>The scope values to be set for the resource server.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderResourceServerScopeType *> * _Nullable scopes;
-
- /**
- <p>The user pool ID for the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderUpdateResourceServerResponse : AWSModel
-
-
- /**
- <p>The resource server.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderResourceServerType * _Nullable resourceServer;
-
- @end
-
- /**
- <p>Represents the request to update user attributes.</p>
- Required parameters: [UserAttributes, AccessToken]
- */
- @interface AWSCognitoIdentityProviderUpdateUserAttributesRequest : AWSRequest
-
-
- /**
- <p>The access token for the request to update user attributes.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable accessToken;
-
- /**
- <p>An array of name-value pairs representing user attributes.</p><p>For custom attributes, you must prepend the <code>custom:</code> prefix to the attribute name.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderAttributeType *> * _Nullable userAttributes;
-
- @end
-
- /**
- <p>Represents the response from the server for the request to update user attributes.</p>
- */
- @interface AWSCognitoIdentityProviderUpdateUserAttributesResponse : AWSModel
-
-
- /**
- <p>The code delivery details list from the server for the request to update user attributes.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderCodeDeliveryDetailsType *> * _Nullable codeDeliveryDetailsList;
-
- @end
-
- /**
- <p>Represents the request to update the user pool client.</p>
- Required parameters: [UserPoolId, ClientId]
- */
- @interface AWSCognitoIdentityProviderUpdateUserPoolClientRequest : AWSRequest
-
-
- /**
- <p>Set to <code>code</code> to initiate a code grant flow, which provides an authorization code as the response. This code can be exchanged for access tokens with the token endpoint.</p><p>Set to <code>token</code> to specify that the client should get the access token (and, optionally, ID token, based on scopes) directly.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable allowedOAuthFlows;
-
- /**
- <p>Set to TRUE if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable allowedOAuthFlowsUserPoolClient;
-
- /**
- <p>A list of allowed <code>OAuth</code> scopes. Currently supported values are <code>"phone"</code>, <code>"email"</code>, <code>"openid"</code>, and <code>"Cognito"</code>.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable allowedOAuthScopes;
-
- /**
- <p>The Amazon Pinpoint analytics configuration for collecting metrics for this user pool.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderAnalyticsConfigurationType * _Nullable analyticsConfiguration;
-
- /**
- <p>A list of allowed redirect (callback) URLs for the identity providers.</p><p>A redirect URI must:</p><ul><li><p>Be an absolute URI.</p></li><li><p>Be registered with the authorization server.</p></li><li><p>Not include a fragment component.</p></li></ul><p>See <a href="https://tools.ietf.org/html/rfc6749#section-3.1.2">OAuth 2.0 - Redirection Endpoint</a>.</p><p>Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.</p><p>App callback URLs such as myapp://example are also supported.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable callbackURLs;
-
- /**
- <p>The ID of the client associated with the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable clientId;
-
- /**
- <p>The client name from the update user pool client request.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable clientName;
-
- /**
- <p>The default redirect URI. Must be in the <code>CallbackURLs</code> list.</p><p>A redirect URI must:</p><ul><li><p>Be an absolute URI.</p></li><li><p>Be registered with the authorization server.</p></li><li><p>Not include a fragment component.</p></li></ul><p>See <a href="https://tools.ietf.org/html/rfc6749#section-3.1.2">OAuth 2.0 - Redirection Endpoint</a>.</p><p>Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.</p><p>App callback URLs such as myapp://example are also supported.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable defaultRedirectURI;
-
- /**
- <p>Explicit authentication flows.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable explicitAuthFlows;
-
- /**
- <p>A list of allowed logout URLs for the identity providers.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable logoutURLs;
-
- /**
- <p>The read-only attributes of the user pool.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable readAttributes;
-
- /**
- <p>The time limit, in days, after which the refresh token is no longer valid and cannot be used.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable refreshTokenValidity;
-
- /**
- <p>A list of provider names for the identity providers that are supported on this client.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable supportedIdentityProviders;
-
- /**
- <p>The user pool ID for the user pool where you want to update the user pool client.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- /**
- <p>The writeable attributes of the user pool.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable writeAttributes;
-
- @end
-
- /**
- <p>Represents the response from the server to the request to update the user pool client.</p>
- */
- @interface AWSCognitoIdentityProviderUpdateUserPoolClientResponse : AWSModel
-
-
- /**
- <p>The user pool client value from the response from the server when an update user pool client request is made.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderUserPoolClientType * _Nullable userPoolClient;
-
- @end
-
- /**
- <p>Represents the request to update the user pool.</p>
- Required parameters: [UserPoolId]
- */
- @interface AWSCognitoIdentityProviderUpdateUserPoolRequest : AWSRequest
-
-
- /**
- <p>The configuration for <code>AdminCreateUser</code> requests.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderAdminCreateUserConfigType * _Nullable adminCreateUserConfig;
-
- /**
- <p>The attributes that are automatically verified when the Amazon Cognito service makes a request to update user pools.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable autoVerifiedAttributes;
-
- /**
- <p>Device configuration.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderDeviceConfigurationType * _Nullable deviceConfiguration;
-
- /**
- <p>Email configuration.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderEmailConfigurationType * _Nullable emailConfiguration;
-
- /**
- <p>The contents of the email verification message.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable emailVerificationMessage;
-
- /**
- <p>The subject of the email verification message.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable emailVerificationSubject;
-
- /**
- <p>The AWS Lambda configuration information from the request to update the user pool.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderLambdaConfigType * _Nullable lambdaConfig;
-
- /**
- <p>Can be one of the following values:</p><ul><li><p><code>OFF</code> - MFA tokens are not required and cannot be specified during user registration.</p></li><li><p><code>ON</code> - MFA tokens are required for all user registrations. You can only specify required when you are initially creating a user pool.</p></li><li><p><code>OPTIONAL</code> - Users have the option when registering to create an MFA token.</p></li></ul>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderUserPoolMfaType mfaConfiguration;
-
- /**
- <p>A container with the policies you wish to update in a user pool.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderUserPoolPolicyType * _Nullable policies;
-
- /**
- <p>The contents of the SMS authentication message.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable smsAuthenticationMessage;
-
- /**
- <p>SMS configuration.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderSmsConfigurationType * _Nullable smsConfiguration;
-
- /**
- <p>A container with information about the SMS verification message.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable smsVerificationMessage;
-
- /**
- <p>Used to enable advanced security risk detection. Set the key <code>AdvancedSecurityMode</code> to the value "AUDIT".</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderUserPoolAddOnsType * _Nullable userPoolAddOns;
-
- /**
- <p>The user pool ID for the user pool you want to update.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- /**
- <p>The cost allocation tags for the user pool. For more information, see <a href="http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-cost-allocation-tagging.html">Adding Cost Allocation Tags to Your User Pool</a></p>
- */
- @property (nonatomic, strong) NSDictionary<NSString *, NSString *> * _Nullable userPoolTags;
-
- /**
- <p>The template for verification messages.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderVerificationMessageTemplateType * _Nullable verificationMessageTemplate;
-
- @end
-
- /**
- <p>Represents the response from the server when you make a request to update the user pool.</p>
- */
- @interface AWSCognitoIdentityProviderUpdateUserPoolResponse : AWSModel
-
-
- @end
-
- /**
- <p>Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.</p>
- */
- @interface AWSCognitoIdentityProviderUserContextDataType : AWSModel
-
-
- /**
- <p>Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable encodedData;
-
- @end
-
- /**
- <p>The user import job type.</p>
- */
- @interface AWSCognitoIdentityProviderUserImportJobType : AWSModel
-
-
- /**
- <p>The role ARN for the Amazon CloudWatch Logging role for the user import job. For more information, see "Creating the CloudWatch Logs IAM Role" in the Amazon Cognito Developer Guide.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable cloudWatchLogsRoleArn;
-
- /**
- <p>The date when the user import job was completed.</p>
- */
- @property (nonatomic, strong) NSDate * _Nullable completionDate;
-
- /**
- <p>The message returned when the user import job is completed.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable completionMessage;
-
- /**
- <p>The date the user import job was created.</p>
- */
- @property (nonatomic, strong) NSDate * _Nullable creationDate;
-
- /**
- <p>The number of users that could not be imported.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable failedUsers;
-
- /**
- <p>The number of users that were successfully imported.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable importedUsers;
-
- /**
- <p>The job ID for the user import job.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable jobId;
-
- /**
- <p>The job name for the user import job.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable jobName;
-
- /**
- <p>The pre-signed URL to be used to upload the <code>.csv</code> file.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable preSignedUrl;
-
- /**
- <p>The number of users that were skipped.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable skippedUsers;
-
- /**
- <p>The date when the user import job was started.</p>
- */
- @property (nonatomic, strong) NSDate * _Nullable startDate;
-
- /**
- <p>The status of the user import job. One of the following:</p><ul><li><p><code>Created</code> - The job was created but not started.</p></li><li><p><code>Pending</code> - A transition state. You have started the job, but it has not begun importing users yet.</p></li><li><p><code>InProgress</code> - The job has started, and users are being imported.</p></li><li><p><code>Stopping</code> - You have stopped the job, but the job has not stopped importing users yet.</p></li><li><p><code>Stopped</code> - You have stopped the job, and the job has stopped importing users.</p></li><li><p><code>Succeeded</code> - The job has completed successfully.</p></li><li><p><code>Failed</code> - The job has stopped due to an error.</p></li><li><p><code>Expired</code> - You created a job, but did not start the job within 24-48 hours. All data associated with the job was deleted, and the job cannot be started.</p></li></ul>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderUserImportJobStatusType status;
-
- /**
- <p>The user pool ID for the user pool that the users are being imported into.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
- <p>The user pool add-ons type.</p>
- Required parameters: [AdvancedSecurityMode]
- */
- @interface AWSCognitoIdentityProviderUserPoolAddOnsType : AWSModel
-
-
- /**
- <p>The advanced security mode.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderAdvancedSecurityModeType advancedSecurityMode;
-
- @end
-
- /**
- <p>The description of the user pool client.</p>
- */
- @interface AWSCognitoIdentityProviderUserPoolClientDescription : AWSModel
-
-
- /**
- <p>The ID of the client associated with the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable clientId;
-
- /**
- <p>The client name from the user pool client description.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable clientName;
-
- /**
- <p>The user pool ID for the user pool where you want to describe the user pool client.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- @end
-
- /**
- <p>Contains information about a user pool client.</p>
- */
- @interface AWSCognitoIdentityProviderUserPoolClientType : AWSModel
-
-
- /**
- <p>Set to <code>code</code> to initiate a code grant flow, which provides an authorization code as the response. This code can be exchanged for access tokens with the token endpoint.</p><p>Set to <code>token</code> to specify that the client should get the access token (and, optionally, ID token, based on scopes) directly.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable allowedOAuthFlows;
-
- /**
- <p>Set to TRUE if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable allowedOAuthFlowsUserPoolClient;
-
- /**
- <p>A list of allowed <code>OAuth</code> scopes. Currently supported values are <code>"phone"</code>, <code>"email"</code>, <code>"openid"</code>, and <code>"Cognito"</code>.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable allowedOAuthScopes;
-
- /**
- <p>The Amazon Pinpoint analytics configuration for the user pool client.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderAnalyticsConfigurationType * _Nullable analyticsConfiguration;
-
- /**
- <p>A list of allowed redirect (callback) URLs for the identity providers.</p><p>A redirect URI must:</p><ul><li><p>Be an absolute URI.</p></li><li><p>Be registered with the authorization server.</p></li><li><p>Not include a fragment component.</p></li></ul><p>See <a href="https://tools.ietf.org/html/rfc6749#section-3.1.2">OAuth 2.0 - Redirection Endpoint</a>.</p><p>Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.</p><p>App callback URLs such as myapp://example are also supported.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable callbackURLs;
-
- /**
- <p>The ID of the client associated with the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable clientId;
-
- /**
- <p>The client name from the user pool request of the client type.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable clientName;
-
- /**
- <p>The client secret from the user pool request of the client type.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable clientSecret;
-
- /**
- <p>The date the user pool client was created.</p>
- */
- @property (nonatomic, strong) NSDate * _Nullable creationDate;
-
- /**
- <p>The default redirect URI. Must be in the <code>CallbackURLs</code> list.</p><p>A redirect URI must:</p><ul><li><p>Be an absolute URI.</p></li><li><p>Be registered with the authorization server.</p></li><li><p>Not include a fragment component.</p></li></ul><p>See <a href="https://tools.ietf.org/html/rfc6749#section-3.1.2">OAuth 2.0 - Redirection Endpoint</a>.</p><p>Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.</p><p>App callback URLs such as myapp://example are also supported.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable defaultRedirectURI;
-
- /**
- <p>The explicit authentication flows.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable explicitAuthFlows;
-
- /**
- <p>The date the user pool client was last modified.</p>
- */
- @property (nonatomic, strong) NSDate * _Nullable lastModifiedDate;
-
- /**
- <p>A list of allowed logout URLs for the identity providers.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable logoutURLs;
-
- /**
- <p>The Read-only attributes.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable readAttributes;
-
- /**
- <p>The time limit, in days, after which the refresh token is no longer valid and cannot be used.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable refreshTokenValidity;
-
- /**
- <p>A list of provider names for the identity providers that are supported on this client.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable supportedIdentityProviders;
-
- /**
- <p>The user pool ID for the user pool client.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable userPoolId;
-
- /**
- <p>The writeable attributes.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable writeAttributes;
-
- @end
-
- /**
- <p>A user pool description.</p>
- */
- @interface AWSCognitoIdentityProviderUserPoolDescriptionType : AWSModel
-
-
- /**
- <p>The date the user pool description was created.</p>
- */
- @property (nonatomic, strong) NSDate * _Nullable creationDate;
-
- /**
- <p>The ID in a user pool description.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable identifier;
-
- /**
- <p>The AWS Lambda configuration information in a user pool description.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderLambdaConfigType * _Nullable lambdaConfig;
-
- /**
- <p>The date the user pool description was last modified.</p>
- */
- @property (nonatomic, strong) NSDate * _Nullable lastModifiedDate;
-
- /**
- <p>The name in a user pool description.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable name;
-
- /**
- <p>The user pool status in a user pool description.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderStatusType status;
-
- @end
-
- /**
- <p>The policy associated with a user pool.</p>
- */
- @interface AWSCognitoIdentityProviderUserPoolPolicyType : AWSModel
-
-
- /**
- <p>The password policy.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderPasswordPolicyType * _Nullable passwordPolicy;
-
- @end
-
- /**
- <p>A container for information about the user pool.</p>
- */
- @interface AWSCognitoIdentityProviderUserPoolType : AWSModel
-
-
- /**
- <p>The configuration for <code>AdminCreateUser</code> requests.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderAdminCreateUserConfigType * _Nullable adminCreateUserConfig;
-
- /**
- <p>Specifies the attributes that are aliased in a user pool.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable aliasAttributes;
-
- /**
- <p>The Amazon Resource Name (ARN) for the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable arn;
-
- /**
- <p>Specifies the attributes that are auto-verified in a user pool.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable autoVerifiedAttributes;
-
- /**
- <p>The date the user pool was created.</p>
- */
- @property (nonatomic, strong) NSDate * _Nullable creationDate;
-
- /**
-
- */
- @property (nonatomic, strong) NSString * _Nullable customDomain;
-
- /**
- <p>The device configuration.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderDeviceConfigurationType * _Nullable deviceConfiguration;
-
- /**
- <p>Holds the domain prefix if the user pool has a domain associated with it.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable domain;
-
- /**
- <p>The email configuration.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderEmailConfigurationType * _Nullable emailConfiguration;
-
- /**
- <p>The reason why the email configuration cannot send the messages to your users.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable emailConfigurationFailure;
-
- /**
- <p>The contents of the email verification message.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable emailVerificationMessage;
-
- /**
- <p>The subject of the email verification message.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable emailVerificationSubject;
-
- /**
- <p>A number estimating the size of the user pool.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable estimatedNumberOfUsers;
-
- /**
- <p>The ID of the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable identifier;
-
- /**
- <p>The AWS Lambda triggers associated with the user pool.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderLambdaConfigType * _Nullable lambdaConfig;
-
- /**
- <p>The date the user pool was last modified.</p>
- */
- @property (nonatomic, strong) NSDate * _Nullable lastModifiedDate;
-
- /**
- <p>Can be one of the following values:</p><ul><li><p><code>OFF</code> - MFA tokens are not required and cannot be specified during user registration.</p></li><li><p><code>ON</code> - MFA tokens are required for all user registrations. You can only specify required when you are initially creating a user pool.</p></li><li><p><code>OPTIONAL</code> - Users have the option when registering to create an MFA token.</p></li></ul>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderUserPoolMfaType mfaConfiguration;
-
- /**
- <p>The name of the user pool.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable name;
-
- /**
- <p>The policies associated with the user pool.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderUserPoolPolicyType * _Nullable policies;
-
- /**
- <p>A container with the schema attributes of a user pool.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderSchemaAttributeType *> * _Nullable schemaAttributes;
-
- /**
- <p>The contents of the SMS authentication message.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable smsAuthenticationMessage;
-
- /**
- <p>The SMS configuration.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderSmsConfigurationType * _Nullable smsConfiguration;
-
- /**
- <p>The reason why the SMS configuration cannot send the messages to your users.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable smsConfigurationFailure;
-
- /**
- <p>The contents of the SMS verification message.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable smsVerificationMessage;
-
- /**
- <p>The status of a user pool.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderStatusType status;
-
- /**
- <p>The user pool add-ons.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderUserPoolAddOnsType * _Nullable userPoolAddOns;
-
- /**
- <p>The cost allocation tags for the user pool. For more information, see <a href="http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-cost-allocation-tagging.html">Adding Cost Allocation Tags to Your User Pool</a></p>
- */
- @property (nonatomic, strong) NSDictionary<NSString *, NSString *> * _Nullable userPoolTags;
-
- /**
- <p>Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.</p>
- */
- @property (nonatomic, strong) NSArray<NSString *> * _Nullable usernameAttributes;
-
- /**
- <p>The template for verification messages.</p>
- */
- @property (nonatomic, strong) AWSCognitoIdentityProviderVerificationMessageTemplateType * _Nullable verificationMessageTemplate;
-
- @end
-
- /**
- <p>The user type.</p>
- */
- @interface AWSCognitoIdentityProviderUserType : AWSModel
-
-
- /**
- <p>A container with information about the user type attributes.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderAttributeType *> * _Nullable attributes;
-
- /**
- <p>Specifies whether the user is enabled.</p>
- */
- @property (nonatomic, strong) NSNumber * _Nullable enabled;
-
- /**
- <p>The MFA options for the user.</p>
- */
- @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderMFAOptionType *> * _Nullable MFAOptions;
-
- /**
- <p>The creation date of the user.</p>
- */
- @property (nonatomic, strong) NSDate * _Nullable userCreateDate;
-
- /**
- <p>The last modified date of the user.</p>
- */
- @property (nonatomic, strong) NSDate * _Nullable userLastModifiedDate;
-
- /**
- <p>The user status. Can be one of the following:</p><ul><li><p>UNCONFIRMED - User has been created but not confirmed.</p></li><li><p>CONFIRMED - User has been confirmed.</p></li><li><p>ARCHIVED - User is no longer active.</p></li><li><p>COMPROMISED - User is disabled due to a potential security threat.</p></li><li><p>UNKNOWN - User status is not known.</p></li></ul>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderUserStatusType userStatus;
-
- /**
- <p>The user name of the user you wish to describe.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable username;
-
- @end
-
- /**
- <p>The template for verification messages.</p>
- */
- @interface AWSCognitoIdentityProviderVerificationMessageTemplateType : AWSModel
-
-
- /**
- <p>The default email option.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderDefaultEmailOptionType defaultEmailOption;
-
- /**
- <p>The email message template.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable emailMessage;
-
- /**
- <p>The email message template for sending a confirmation link to the user.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable emailMessageByLink;
-
- /**
- <p>The subject line for the email message template.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable emailSubject;
-
- /**
- <p>The subject line for the email message template for sending a confirmation link to the user.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable emailSubjectByLink;
-
- /**
- <p>The SMS message template.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable smsMessage;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderVerifySoftwareTokenRequest : AWSRequest
-
-
- /**
- <p>The access token.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable accessToken;
-
- /**
- <p>The friendly device name.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable friendlyDeviceName;
-
- /**
- <p>The session which should be passed both ways in challenge-response calls to the service.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable session;
-
- /**
- <p>The one time password computed using the secret code returned by </p>
- */
- @property (nonatomic, strong) NSString * _Nullable userCode;
-
- @end
-
- /**
-
- */
- @interface AWSCognitoIdentityProviderVerifySoftwareTokenResponse : AWSModel
-
-
- /**
- <p>The session which should be passed both ways in challenge-response calls to the service.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable session;
-
- /**
- <p>The status of the verify software token.</p>
- */
- @property (nonatomic, assign) AWSCognitoIdentityProviderVerifySoftwareTokenResponseType status;
-
- @end
-
- /**
- <p>Represents the request to verify user attributes.</p>
- Required parameters: [AccessToken, AttributeName, Code]
- */
- @interface AWSCognitoIdentityProviderVerifyUserAttributeRequest : AWSRequest
-
-
- /**
- <p>Represents the access token of the request to verify user attributes.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable accessToken;
-
- /**
- <p>The attribute name in the request to verify user attributes.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable attributeName;
-
- /**
- <p>The verification code in the request to verify user attributes.</p>
- */
- @property (nonatomic, strong) NSString * _Nullable code;
-
- @end
-
- /**
- <p>A container representing the response from the server from the request to verify user attributes.</p>
- */
- @interface AWSCognitoIdentityProviderVerifyUserAttributeResponse : AWSModel
-
-
- @end
-
- NS_ASSUME_NONNULL_END
|