iam.d.ts 516 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342
  1. import {Request} from '../lib/request';
  2. import {Response} from '../lib/response';
  3. import {AWSError} from '../lib/error';
  4. import {Service} from '../lib/service';
  5. import {WaiterConfiguration} from '../lib/service';
  6. import {ServiceConfigurationOptions} from '../lib/service';
  7. import {ConfigBase as Config} from '../lib/config-base';
  8. interface Blob {}
  9. declare class IAM extends Service {
  10. /**
  11. * Constructs a service object. This object has one method for each API operation.
  12. */
  13. constructor(options?: IAM.Types.ClientConfiguration)
  14. config: Config & IAM.Types.ClientConfiguration;
  15. /**
  16. * Adds a new client ID (also known as audience) to the list of client IDs already registered for the specified IAM OpenID Connect (OIDC) provider resource. This operation is idempotent; it does not fail or return an error if you add an existing client ID to the provider.
  17. */
  18. addClientIDToOpenIDConnectProvider(params: IAM.Types.AddClientIDToOpenIDConnectProviderRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  19. /**
  20. * Adds a new client ID (also known as audience) to the list of client IDs already registered for the specified IAM OpenID Connect (OIDC) provider resource. This operation is idempotent; it does not fail or return an error if you add an existing client ID to the provider.
  21. */
  22. addClientIDToOpenIDConnectProvider(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  23. /**
  24. * Adds the specified IAM role to the specified instance profile. An instance profile can contain only one role, and this quota cannot be increased. You can remove the existing role and then add a different role to an instance profile. You must then wait for the change to appear across all of Amazon Web Services because of eventual consistency. To force the change, you must disassociate the instance profile and then associate the instance profile, or you can stop your instance and then restart it. The caller of this operation must be granted the PassRole permission on the IAM role by a permissions policy. For more information about roles, see IAM roles in the IAM User Guide. For more information about instance profiles, see Using instance profiles in the IAM User Guide.
  25. */
  26. addRoleToInstanceProfile(params: IAM.Types.AddRoleToInstanceProfileRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  27. /**
  28. * Adds the specified IAM role to the specified instance profile. An instance profile can contain only one role, and this quota cannot be increased. You can remove the existing role and then add a different role to an instance profile. You must then wait for the change to appear across all of Amazon Web Services because of eventual consistency. To force the change, you must disassociate the instance profile and then associate the instance profile, or you can stop your instance and then restart it. The caller of this operation must be granted the PassRole permission on the IAM role by a permissions policy. For more information about roles, see IAM roles in the IAM User Guide. For more information about instance profiles, see Using instance profiles in the IAM User Guide.
  29. */
  30. addRoleToInstanceProfile(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  31. /**
  32. * Adds the specified user to the specified group.
  33. */
  34. addUserToGroup(params: IAM.Types.AddUserToGroupRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  35. /**
  36. * Adds the specified user to the specified group.
  37. */
  38. addUserToGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  39. /**
  40. * Attaches the specified managed policy to the specified IAM group. You use this operation to attach a managed policy to a group. To embed an inline policy in a group, use PutGroupPolicy . As a best practice, you can validate your IAM policies. To learn more, see Validating IAM policies in the IAM User Guide. For more information about policies, see Managed policies and inline policies in the IAM User Guide.
  41. */
  42. attachGroupPolicy(params: IAM.Types.AttachGroupPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  43. /**
  44. * Attaches the specified managed policy to the specified IAM group. You use this operation to attach a managed policy to a group. To embed an inline policy in a group, use PutGroupPolicy . As a best practice, you can validate your IAM policies. To learn more, see Validating IAM policies in the IAM User Guide. For more information about policies, see Managed policies and inline policies in the IAM User Guide.
  45. */
  46. attachGroupPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  47. /**
  48. * Attaches the specified managed policy to the specified IAM role. When you attach a managed policy to a role, the managed policy becomes part of the role's permission (access) policy. You cannot use a managed policy as the role's trust policy. The role's trust policy is created at the same time as the role, using CreateRole . You can update a role's trust policy using UpdateAssumerolePolicy . Use this operation to attach a managed policy to a role. To embed an inline policy in a role, use PutRolePolicy . For more information about policies, see Managed policies and inline policies in the IAM User Guide. As a best practice, you can validate your IAM policies. To learn more, see Validating IAM policies in the IAM User Guide.
  49. */
  50. attachRolePolicy(params: IAM.Types.AttachRolePolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  51. /**
  52. * Attaches the specified managed policy to the specified IAM role. When you attach a managed policy to a role, the managed policy becomes part of the role's permission (access) policy. You cannot use a managed policy as the role's trust policy. The role's trust policy is created at the same time as the role, using CreateRole . You can update a role's trust policy using UpdateAssumerolePolicy . Use this operation to attach a managed policy to a role. To embed an inline policy in a role, use PutRolePolicy . For more information about policies, see Managed policies and inline policies in the IAM User Guide. As a best practice, you can validate your IAM policies. To learn more, see Validating IAM policies in the IAM User Guide.
  53. */
  54. attachRolePolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  55. /**
  56. * Attaches the specified managed policy to the specified user. You use this operation to attach a managed policy to a user. To embed an inline policy in a user, use PutUserPolicy . As a best practice, you can validate your IAM policies. To learn more, see Validating IAM policies in the IAM User Guide. For more information about policies, see Managed policies and inline policies in the IAM User Guide.
  57. */
  58. attachUserPolicy(params: IAM.Types.AttachUserPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  59. /**
  60. * Attaches the specified managed policy to the specified user. You use this operation to attach a managed policy to a user. To embed an inline policy in a user, use PutUserPolicy . As a best practice, you can validate your IAM policies. To learn more, see Validating IAM policies in the IAM User Guide. For more information about policies, see Managed policies and inline policies in the IAM User Guide.
  61. */
  62. attachUserPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  63. /**
  64. * Changes the password of the IAM user who is calling this operation. This operation can be performed using the CLI, the Amazon Web Services API, or the My Security Credentials page in the Amazon Web Services Management Console. The Amazon Web Services account root user password is not affected by this operation. Use UpdateLoginProfile to use the CLI, the Amazon Web Services API, or the Users page in the IAM console to change the password for any IAM user. For more information about modifying passwords, see Managing passwords in the IAM User Guide.
  65. */
  66. changePassword(params: IAM.Types.ChangePasswordRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  67. /**
  68. * Changes the password of the IAM user who is calling this operation. This operation can be performed using the CLI, the Amazon Web Services API, or the My Security Credentials page in the Amazon Web Services Management Console. The Amazon Web Services account root user password is not affected by this operation. Use UpdateLoginProfile to use the CLI, the Amazon Web Services API, or the Users page in the IAM console to change the password for any IAM user. For more information about modifying passwords, see Managing passwords in the IAM User Guide.
  69. */
  70. changePassword(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  71. /**
  72. * Creates a new Amazon Web Services secret access key and corresponding Amazon Web Services access key ID for the specified user. The default status for new keys is Active. If you do not specify a user name, IAM determines the user name implicitly based on the Amazon Web Services access key ID signing the request. This operation works for access keys under the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root user credentials. This is true even if the Amazon Web Services account has no associated users. For information about quotas on the number of keys you can create, see IAM and STS quotas in the IAM User Guide. To ensure the security of your Amazon Web Services account, the secret access key is accessible only during key and user creation. You must save the key (for example, in a text file) if you want to be able to access it again. If a secret key is lost, you can delete the access keys for the associated user and then create new keys.
  73. */
  74. createAccessKey(params: IAM.Types.CreateAccessKeyRequest, callback?: (err: AWSError, data: IAM.Types.CreateAccessKeyResponse) => void): Request<IAM.Types.CreateAccessKeyResponse, AWSError>;
  75. /**
  76. * Creates a new Amazon Web Services secret access key and corresponding Amazon Web Services access key ID for the specified user. The default status for new keys is Active. If you do not specify a user name, IAM determines the user name implicitly based on the Amazon Web Services access key ID signing the request. This operation works for access keys under the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root user credentials. This is true even if the Amazon Web Services account has no associated users. For information about quotas on the number of keys you can create, see IAM and STS quotas in the IAM User Guide. To ensure the security of your Amazon Web Services account, the secret access key is accessible only during key and user creation. You must save the key (for example, in a text file) if you want to be able to access it again. If a secret key is lost, you can delete the access keys for the associated user and then create new keys.
  77. */
  78. createAccessKey(callback?: (err: AWSError, data: IAM.Types.CreateAccessKeyResponse) => void): Request<IAM.Types.CreateAccessKeyResponse, AWSError>;
  79. /**
  80. * Creates an alias for your Amazon Web Services account. For information about using an Amazon Web Services account alias, see Creating, deleting, and listing an Amazon Web Services account alias in the Amazon Web Services Sign-In User Guide.
  81. */
  82. createAccountAlias(params: IAM.Types.CreateAccountAliasRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  83. /**
  84. * Creates an alias for your Amazon Web Services account. For information about using an Amazon Web Services account alias, see Creating, deleting, and listing an Amazon Web Services account alias in the Amazon Web Services Sign-In User Guide.
  85. */
  86. createAccountAlias(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  87. /**
  88. * Creates a new group. For information about the number of groups you can create, see IAM and STS quotas in the IAM User Guide.
  89. */
  90. createGroup(params: IAM.Types.CreateGroupRequest, callback?: (err: AWSError, data: IAM.Types.CreateGroupResponse) => void): Request<IAM.Types.CreateGroupResponse, AWSError>;
  91. /**
  92. * Creates a new group. For information about the number of groups you can create, see IAM and STS quotas in the IAM User Guide.
  93. */
  94. createGroup(callback?: (err: AWSError, data: IAM.Types.CreateGroupResponse) => void): Request<IAM.Types.CreateGroupResponse, AWSError>;
  95. /**
  96. * Creates a new instance profile. For information about instance profiles, see Using roles for applications on Amazon EC2 in the IAM User Guide, and Instance profiles in the Amazon EC2 User Guide. For information about the number of instance profiles you can create, see IAM object quotas in the IAM User Guide.
  97. */
  98. createInstanceProfile(params: IAM.Types.CreateInstanceProfileRequest, callback?: (err: AWSError, data: IAM.Types.CreateInstanceProfileResponse) => void): Request<IAM.Types.CreateInstanceProfileResponse, AWSError>;
  99. /**
  100. * Creates a new instance profile. For information about instance profiles, see Using roles for applications on Amazon EC2 in the IAM User Guide, and Instance profiles in the Amazon EC2 User Guide. For information about the number of instance profiles you can create, see IAM object quotas in the IAM User Guide.
  101. */
  102. createInstanceProfile(callback?: (err: AWSError, data: IAM.Types.CreateInstanceProfileResponse) => void): Request<IAM.Types.CreateInstanceProfileResponse, AWSError>;
  103. /**
  104. * Creates a password for the specified IAM user. A password allows an IAM user to access Amazon Web Services services through the Amazon Web Services Management Console. You can use the CLI, the Amazon Web Services API, or the Users page in the IAM console to create a password for any IAM user. Use ChangePassword to update your own existing password in the My Security Credentials page in the Amazon Web Services Management Console. For more information about managing passwords, see Managing passwords in the IAM User Guide.
  105. */
  106. createLoginProfile(params: IAM.Types.CreateLoginProfileRequest, callback?: (err: AWSError, data: IAM.Types.CreateLoginProfileResponse) => void): Request<IAM.Types.CreateLoginProfileResponse, AWSError>;
  107. /**
  108. * Creates a password for the specified IAM user. A password allows an IAM user to access Amazon Web Services services through the Amazon Web Services Management Console. You can use the CLI, the Amazon Web Services API, or the Users page in the IAM console to create a password for any IAM user. Use ChangePassword to update your own existing password in the My Security Credentials page in the Amazon Web Services Management Console. For more information about managing passwords, see Managing passwords in the IAM User Guide.
  109. */
  110. createLoginProfile(callback?: (err: AWSError, data: IAM.Types.CreateLoginProfileResponse) => void): Request<IAM.Types.CreateLoginProfileResponse, AWSError>;
  111. /**
  112. * Creates an IAM entity to describe an identity provider (IdP) that supports OpenID Connect (OIDC). The OIDC provider that you create with this operation can be used as a principal in a role's trust policy. Such a policy establishes a trust relationship between Amazon Web Services and the OIDC provider. If you are using an OIDC identity provider from Google, Facebook, or Amazon Cognito, you don't need to create a separate IAM identity provider. These OIDC identity providers are already built-in to Amazon Web Services and are available for your use. Instead, you can move directly to creating new roles using your identity provider. To learn more, see Creating a role for web identity or OpenID connect federation in the IAM User Guide. When you create the IAM OIDC provider, you specify the following: The URL of the OIDC identity provider (IdP) to trust A list of client IDs (also known as audiences) that identify the application or applications allowed to authenticate using the OIDC provider A list of tags that are attached to the specified IAM OIDC provider A list of thumbprints of one or more server certificates that the IdP uses You get all of this information from the OIDC IdP you want to use to access Amazon Web Services. Amazon Web Services secures communication with some OIDC identity providers (IdPs) through our library of trusted root certificate authorities (CAs) instead of using a certificate thumbprint to verify your IdP server certificate. In these cases, your legacy thumbprint remains in your configuration, but is no longer used for validation. These OIDC IdPs include Auth0, GitHub, GitLab, Google, and those that use an Amazon S3 bucket to host a JSON Web Key Set (JWKS) endpoint. The trust for the OIDC provider is derived from the IAM provider that this operation creates. Therefore, it is best to limit access to the CreateOpenIDConnectProvider operation to highly privileged users.
  113. */
  114. createOpenIDConnectProvider(params: IAM.Types.CreateOpenIDConnectProviderRequest, callback?: (err: AWSError, data: IAM.Types.CreateOpenIDConnectProviderResponse) => void): Request<IAM.Types.CreateOpenIDConnectProviderResponse, AWSError>;
  115. /**
  116. * Creates an IAM entity to describe an identity provider (IdP) that supports OpenID Connect (OIDC). The OIDC provider that you create with this operation can be used as a principal in a role's trust policy. Such a policy establishes a trust relationship between Amazon Web Services and the OIDC provider. If you are using an OIDC identity provider from Google, Facebook, or Amazon Cognito, you don't need to create a separate IAM identity provider. These OIDC identity providers are already built-in to Amazon Web Services and are available for your use. Instead, you can move directly to creating new roles using your identity provider. To learn more, see Creating a role for web identity or OpenID connect federation in the IAM User Guide. When you create the IAM OIDC provider, you specify the following: The URL of the OIDC identity provider (IdP) to trust A list of client IDs (also known as audiences) that identify the application or applications allowed to authenticate using the OIDC provider A list of tags that are attached to the specified IAM OIDC provider A list of thumbprints of one or more server certificates that the IdP uses You get all of this information from the OIDC IdP you want to use to access Amazon Web Services. Amazon Web Services secures communication with some OIDC identity providers (IdPs) through our library of trusted root certificate authorities (CAs) instead of using a certificate thumbprint to verify your IdP server certificate. In these cases, your legacy thumbprint remains in your configuration, but is no longer used for validation. These OIDC IdPs include Auth0, GitHub, GitLab, Google, and those that use an Amazon S3 bucket to host a JSON Web Key Set (JWKS) endpoint. The trust for the OIDC provider is derived from the IAM provider that this operation creates. Therefore, it is best to limit access to the CreateOpenIDConnectProvider operation to highly privileged users.
  117. */
  118. createOpenIDConnectProvider(callback?: (err: AWSError, data: IAM.Types.CreateOpenIDConnectProviderResponse) => void): Request<IAM.Types.CreateOpenIDConnectProviderResponse, AWSError>;
  119. /**
  120. * Creates a new managed policy for your Amazon Web Services account. This operation creates a policy version with a version identifier of v1 and sets v1 as the policy's default version. For more information about policy versions, see Versioning for managed policies in the IAM User Guide. As a best practice, you can validate your IAM policies. To learn more, see Validating IAM policies in the IAM User Guide. For more information about managed policies in general, see Managed policies and inline policies in the IAM User Guide.
  121. */
  122. createPolicy(params: IAM.Types.CreatePolicyRequest, callback?: (err: AWSError, data: IAM.Types.CreatePolicyResponse) => void): Request<IAM.Types.CreatePolicyResponse, AWSError>;
  123. /**
  124. * Creates a new managed policy for your Amazon Web Services account. This operation creates a policy version with a version identifier of v1 and sets v1 as the policy's default version. For more information about policy versions, see Versioning for managed policies in the IAM User Guide. As a best practice, you can validate your IAM policies. To learn more, see Validating IAM policies in the IAM User Guide. For more information about managed policies in general, see Managed policies and inline policies in the IAM User Guide.
  125. */
  126. createPolicy(callback?: (err: AWSError, data: IAM.Types.CreatePolicyResponse) => void): Request<IAM.Types.CreatePolicyResponse, AWSError>;
  127. /**
  128. * Creates a new version of the specified managed policy. To update a managed policy, you create a new policy version. A managed policy can have up to five versions. If the policy has five versions, you must delete an existing version using DeletePolicyVersion before you create a new version. Optionally, you can set the new version as the policy's default version. The default version is the version that is in effect for the IAM users, groups, and roles to which the policy is attached. For more information about managed policy versions, see Versioning for managed policies in the IAM User Guide.
  129. */
  130. createPolicyVersion(params: IAM.Types.CreatePolicyVersionRequest, callback?: (err: AWSError, data: IAM.Types.CreatePolicyVersionResponse) => void): Request<IAM.Types.CreatePolicyVersionResponse, AWSError>;
  131. /**
  132. * Creates a new version of the specified managed policy. To update a managed policy, you create a new policy version. A managed policy can have up to five versions. If the policy has five versions, you must delete an existing version using DeletePolicyVersion before you create a new version. Optionally, you can set the new version as the policy's default version. The default version is the version that is in effect for the IAM users, groups, and roles to which the policy is attached. For more information about managed policy versions, see Versioning for managed policies in the IAM User Guide.
  133. */
  134. createPolicyVersion(callback?: (err: AWSError, data: IAM.Types.CreatePolicyVersionResponse) => void): Request<IAM.Types.CreatePolicyVersionResponse, AWSError>;
  135. /**
  136. * Creates a new role for your Amazon Web Services account. For more information about roles, see IAM roles in the IAM User Guide. For information about quotas for role names and the number of roles you can create, see IAM and STS quotas in the IAM User Guide.
  137. */
  138. createRole(params: IAM.Types.CreateRoleRequest, callback?: (err: AWSError, data: IAM.Types.CreateRoleResponse) => void): Request<IAM.Types.CreateRoleResponse, AWSError>;
  139. /**
  140. * Creates a new role for your Amazon Web Services account. For more information about roles, see IAM roles in the IAM User Guide. For information about quotas for role names and the number of roles you can create, see IAM and STS quotas in the IAM User Guide.
  141. */
  142. createRole(callback?: (err: AWSError, data: IAM.Types.CreateRoleResponse) => void): Request<IAM.Types.CreateRoleResponse, AWSError>;
  143. /**
  144. * Creates an IAM resource that describes an identity provider (IdP) that supports SAML 2.0. The SAML provider resource that you create with this operation can be used as a principal in an IAM role's trust policy. Such a policy can enable federated users who sign in using the SAML IdP to assume the role. You can create an IAM role that supports Web-based single sign-on (SSO) to the Amazon Web Services Management Console or one that supports API access to Amazon Web Services. When you create the SAML provider resource, you upload a SAML metadata document that you get from your IdP. That document includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that the IdP sends. You must generate the metadata document using the identity management software that is used as your organization's IdP. This operation requires Signature Version 4. For more information, see Enabling SAML 2.0 federated users to access the Amazon Web Services Management Console and About SAML 2.0-based federation in the IAM User Guide.
  145. */
  146. createSAMLProvider(params: IAM.Types.CreateSAMLProviderRequest, callback?: (err: AWSError, data: IAM.Types.CreateSAMLProviderResponse) => void): Request<IAM.Types.CreateSAMLProviderResponse, AWSError>;
  147. /**
  148. * Creates an IAM resource that describes an identity provider (IdP) that supports SAML 2.0. The SAML provider resource that you create with this operation can be used as a principal in an IAM role's trust policy. Such a policy can enable federated users who sign in using the SAML IdP to assume the role. You can create an IAM role that supports Web-based single sign-on (SSO) to the Amazon Web Services Management Console or one that supports API access to Amazon Web Services. When you create the SAML provider resource, you upload a SAML metadata document that you get from your IdP. That document includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that the IdP sends. You must generate the metadata document using the identity management software that is used as your organization's IdP. This operation requires Signature Version 4. For more information, see Enabling SAML 2.0 federated users to access the Amazon Web Services Management Console and About SAML 2.0-based federation in the IAM User Guide.
  149. */
  150. createSAMLProvider(callback?: (err: AWSError, data: IAM.Types.CreateSAMLProviderResponse) => void): Request<IAM.Types.CreateSAMLProviderResponse, AWSError>;
  151. /**
  152. * Creates an IAM role that is linked to a specific Amazon Web Services service. The service controls the attached policies and when the role can be deleted. This helps ensure that the service is not broken by an unexpectedly changed or deleted role, which could put your Amazon Web Services resources into an unknown state. Allowing the service to control the role helps improve service stability and proper cleanup when a service and its role are no longer needed. For more information, see Using service-linked roles in the IAM User Guide. To attach a policy to this service-linked role, you must make the request using the Amazon Web Services service that depends on this role.
  153. */
  154. createServiceLinkedRole(params: IAM.Types.CreateServiceLinkedRoleRequest, callback?: (err: AWSError, data: IAM.Types.CreateServiceLinkedRoleResponse) => void): Request<IAM.Types.CreateServiceLinkedRoleResponse, AWSError>;
  155. /**
  156. * Creates an IAM role that is linked to a specific Amazon Web Services service. The service controls the attached policies and when the role can be deleted. This helps ensure that the service is not broken by an unexpectedly changed or deleted role, which could put your Amazon Web Services resources into an unknown state. Allowing the service to control the role helps improve service stability and proper cleanup when a service and its role are no longer needed. For more information, see Using service-linked roles in the IAM User Guide. To attach a policy to this service-linked role, you must make the request using the Amazon Web Services service that depends on this role.
  157. */
  158. createServiceLinkedRole(callback?: (err: AWSError, data: IAM.Types.CreateServiceLinkedRoleResponse) => void): Request<IAM.Types.CreateServiceLinkedRoleResponse, AWSError>;
  159. /**
  160. * Generates a set of credentials consisting of a user name and password that can be used to access the service specified in the request. These credentials are generated by IAM, and can be used only for the specified service. You can have a maximum of two sets of service-specific credentials for each supported service per user. You can create service-specific credentials for CodeCommit and Amazon Keyspaces (for Apache Cassandra). You can reset the password to a new service-generated value by calling ResetServiceSpecificCredential. For more information about service-specific credentials, see Using IAM with CodeCommit: Git credentials, SSH keys, and Amazon Web Services access keys in the IAM User Guide.
  161. */
  162. createServiceSpecificCredential(params: IAM.Types.CreateServiceSpecificCredentialRequest, callback?: (err: AWSError, data: IAM.Types.CreateServiceSpecificCredentialResponse) => void): Request<IAM.Types.CreateServiceSpecificCredentialResponse, AWSError>;
  163. /**
  164. * Generates a set of credentials consisting of a user name and password that can be used to access the service specified in the request. These credentials are generated by IAM, and can be used only for the specified service. You can have a maximum of two sets of service-specific credentials for each supported service per user. You can create service-specific credentials for CodeCommit and Amazon Keyspaces (for Apache Cassandra). You can reset the password to a new service-generated value by calling ResetServiceSpecificCredential. For more information about service-specific credentials, see Using IAM with CodeCommit: Git credentials, SSH keys, and Amazon Web Services access keys in the IAM User Guide.
  165. */
  166. createServiceSpecificCredential(callback?: (err: AWSError, data: IAM.Types.CreateServiceSpecificCredentialResponse) => void): Request<IAM.Types.CreateServiceSpecificCredentialResponse, AWSError>;
  167. /**
  168. * Creates a new IAM user for your Amazon Web Services account. For information about quotas for the number of IAM users you can create, see IAM and STS quotas in the IAM User Guide.
  169. */
  170. createUser(params: IAM.Types.CreateUserRequest, callback?: (err: AWSError, data: IAM.Types.CreateUserResponse) => void): Request<IAM.Types.CreateUserResponse, AWSError>;
  171. /**
  172. * Creates a new IAM user for your Amazon Web Services account. For information about quotas for the number of IAM users you can create, see IAM and STS quotas in the IAM User Guide.
  173. */
  174. createUser(callback?: (err: AWSError, data: IAM.Types.CreateUserResponse) => void): Request<IAM.Types.CreateUserResponse, AWSError>;
  175. /**
  176. * Creates a new virtual MFA device for the Amazon Web Services account. After creating the virtual MFA, use EnableMFADevice to attach the MFA device to an IAM user. For more information about creating and working with virtual MFA devices, see Using a virtual MFA device in the IAM User Guide. For information about the maximum number of MFA devices you can create, see IAM and STS quotas in the IAM User Guide. The seed information contained in the QR code and the Base32 string should be treated like any other secret access information. In other words, protect the seed information as you would your Amazon Web Services access keys or your passwords. After you provision your virtual device, you should ensure that the information is destroyed following secure procedures.
  177. */
  178. createVirtualMFADevice(params: IAM.Types.CreateVirtualMFADeviceRequest, callback?: (err: AWSError, data: IAM.Types.CreateVirtualMFADeviceResponse) => void): Request<IAM.Types.CreateVirtualMFADeviceResponse, AWSError>;
  179. /**
  180. * Creates a new virtual MFA device for the Amazon Web Services account. After creating the virtual MFA, use EnableMFADevice to attach the MFA device to an IAM user. For more information about creating and working with virtual MFA devices, see Using a virtual MFA device in the IAM User Guide. For information about the maximum number of MFA devices you can create, see IAM and STS quotas in the IAM User Guide. The seed information contained in the QR code and the Base32 string should be treated like any other secret access information. In other words, protect the seed information as you would your Amazon Web Services access keys or your passwords. After you provision your virtual device, you should ensure that the information is destroyed following secure procedures.
  181. */
  182. createVirtualMFADevice(callback?: (err: AWSError, data: IAM.Types.CreateVirtualMFADeviceResponse) => void): Request<IAM.Types.CreateVirtualMFADeviceResponse, AWSError>;
  183. /**
  184. * Deactivates the specified MFA device and removes it from association with the user name for which it was originally enabled. For more information about creating and working with virtual MFA devices, see Enabling a virtual multi-factor authentication (MFA) device in the IAM User Guide.
  185. */
  186. deactivateMFADevice(params: IAM.Types.DeactivateMFADeviceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  187. /**
  188. * Deactivates the specified MFA device and removes it from association with the user name for which it was originally enabled. For more information about creating and working with virtual MFA devices, see Enabling a virtual multi-factor authentication (MFA) device in the IAM User Guide.
  189. */
  190. deactivateMFADevice(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  191. /**
  192. * Deletes the access key pair associated with the specified IAM user. If you do not specify a user name, IAM determines the user name implicitly based on the Amazon Web Services access key ID signing the request. This operation works for access keys under the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root user credentials even if the Amazon Web Services account has no associated users.
  193. */
  194. deleteAccessKey(params: IAM.Types.DeleteAccessKeyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  195. /**
  196. * Deletes the access key pair associated with the specified IAM user. If you do not specify a user name, IAM determines the user name implicitly based on the Amazon Web Services access key ID signing the request. This operation works for access keys under the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root user credentials even if the Amazon Web Services account has no associated users.
  197. */
  198. deleteAccessKey(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  199. /**
  200. * Deletes the specified Amazon Web Services account alias. For information about using an Amazon Web Services account alias, see Creating, deleting, and listing an Amazon Web Services account alias in the Amazon Web Services Sign-In User Guide.
  201. */
  202. deleteAccountAlias(params: IAM.Types.DeleteAccountAliasRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  203. /**
  204. * Deletes the specified Amazon Web Services account alias. For information about using an Amazon Web Services account alias, see Creating, deleting, and listing an Amazon Web Services account alias in the Amazon Web Services Sign-In User Guide.
  205. */
  206. deleteAccountAlias(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  207. /**
  208. * Deletes the password policy for the Amazon Web Services account. There are no parameters.
  209. */
  210. deleteAccountPasswordPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  211. /**
  212. * Deletes the specified IAM group. The group must not contain any users or have any attached policies.
  213. */
  214. deleteGroup(params: IAM.Types.DeleteGroupRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  215. /**
  216. * Deletes the specified IAM group. The group must not contain any users or have any attached policies.
  217. */
  218. deleteGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  219. /**
  220. * Deletes the specified inline policy that is embedded in the specified IAM group. A group can also have managed policies attached to it. To detach a managed policy from a group, use DetachGroupPolicy. For more information about policies, refer to Managed policies and inline policies in the IAM User Guide.
  221. */
  222. deleteGroupPolicy(params: IAM.Types.DeleteGroupPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  223. /**
  224. * Deletes the specified inline policy that is embedded in the specified IAM group. A group can also have managed policies attached to it. To detach a managed policy from a group, use DetachGroupPolicy. For more information about policies, refer to Managed policies and inline policies in the IAM User Guide.
  225. */
  226. deleteGroupPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  227. /**
  228. * Deletes the specified instance profile. The instance profile must not have an associated role. Make sure that you do not have any Amazon EC2 instances running with the instance profile you are about to delete. Deleting a role or instance profile that is associated with a running instance will break any applications running on the instance. For more information about instance profiles, see Using instance profiles in the IAM User Guide.
  229. */
  230. deleteInstanceProfile(params: IAM.Types.DeleteInstanceProfileRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  231. /**
  232. * Deletes the specified instance profile. The instance profile must not have an associated role. Make sure that you do not have any Amazon EC2 instances running with the instance profile you are about to delete. Deleting a role or instance profile that is associated with a running instance will break any applications running on the instance. For more information about instance profiles, see Using instance profiles in the IAM User Guide.
  233. */
  234. deleteInstanceProfile(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  235. /**
  236. * Deletes the password for the specified IAM user, For more information, see Managing passwords for IAM users. You can use the CLI, the Amazon Web Services API, or the Users page in the IAM console to delete a password for any IAM user. You can use ChangePassword to update, but not delete, your own password in the My Security Credentials page in the Amazon Web Services Management Console. Deleting a user's password does not prevent a user from accessing Amazon Web Services through the command line interface or the API. To prevent all user access, you must also either make any access keys inactive or delete them. For more information about making keys inactive or deleting them, see UpdateAccessKey and DeleteAccessKey.
  237. */
  238. deleteLoginProfile(params: IAM.Types.DeleteLoginProfileRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  239. /**
  240. * Deletes the password for the specified IAM user, For more information, see Managing passwords for IAM users. You can use the CLI, the Amazon Web Services API, or the Users page in the IAM console to delete a password for any IAM user. You can use ChangePassword to update, but not delete, your own password in the My Security Credentials page in the Amazon Web Services Management Console. Deleting a user's password does not prevent a user from accessing Amazon Web Services through the command line interface or the API. To prevent all user access, you must also either make any access keys inactive or delete them. For more information about making keys inactive or deleting them, see UpdateAccessKey and DeleteAccessKey.
  241. */
  242. deleteLoginProfile(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  243. /**
  244. * Deletes an OpenID Connect identity provider (IdP) resource object in IAM. Deleting an IAM OIDC provider resource does not update any roles that reference the provider as a principal in their trust policies. Any attempt to assume a role that references a deleted provider fails. This operation is idempotent; it does not fail or return an error if you call the operation for a provider that does not exist.
  245. */
  246. deleteOpenIDConnectProvider(params: IAM.Types.DeleteOpenIDConnectProviderRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  247. /**
  248. * Deletes an OpenID Connect identity provider (IdP) resource object in IAM. Deleting an IAM OIDC provider resource does not update any roles that reference the provider as a principal in their trust policies. Any attempt to assume a role that references a deleted provider fails. This operation is idempotent; it does not fail or return an error if you call the operation for a provider that does not exist.
  249. */
  250. deleteOpenIDConnectProvider(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  251. /**
  252. * Deletes the specified managed policy. Before you can delete a managed policy, you must first detach the policy from all users, groups, and roles that it is attached to. In addition, you must delete all the policy's versions. The following steps describe the process for deleting a managed policy: Detach the policy from all users, groups, and roles that the policy is attached to, using DetachUserPolicy, DetachGroupPolicy, or DetachRolePolicy. To list all the users, groups, and roles that a policy is attached to, use ListEntitiesForPolicy. Delete all versions of the policy using DeletePolicyVersion. To list the policy's versions, use ListPolicyVersions. You cannot use DeletePolicyVersion to delete the version that is marked as the default version. You delete the policy's default version in the next step of the process. Delete the policy (this automatically deletes the policy's default version) using this operation. For information about managed policies, see Managed policies and inline policies in the IAM User Guide.
  253. */
  254. deletePolicy(params: IAM.Types.DeletePolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  255. /**
  256. * Deletes the specified managed policy. Before you can delete a managed policy, you must first detach the policy from all users, groups, and roles that it is attached to. In addition, you must delete all the policy's versions. The following steps describe the process for deleting a managed policy: Detach the policy from all users, groups, and roles that the policy is attached to, using DetachUserPolicy, DetachGroupPolicy, or DetachRolePolicy. To list all the users, groups, and roles that a policy is attached to, use ListEntitiesForPolicy. Delete all versions of the policy using DeletePolicyVersion. To list the policy's versions, use ListPolicyVersions. You cannot use DeletePolicyVersion to delete the version that is marked as the default version. You delete the policy's default version in the next step of the process. Delete the policy (this automatically deletes the policy's default version) using this operation. For information about managed policies, see Managed policies and inline policies in the IAM User Guide.
  257. */
  258. deletePolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  259. /**
  260. * Deletes the specified version from the specified managed policy. You cannot delete the default version from a policy using this operation. To delete the default version from a policy, use DeletePolicy. To find out which version of a policy is marked as the default version, use ListPolicyVersions. For information about versions for managed policies, see Versioning for managed policies in the IAM User Guide.
  261. */
  262. deletePolicyVersion(params: IAM.Types.DeletePolicyVersionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  263. /**
  264. * Deletes the specified version from the specified managed policy. You cannot delete the default version from a policy using this operation. To delete the default version from a policy, use DeletePolicy. To find out which version of a policy is marked as the default version, use ListPolicyVersions. For information about versions for managed policies, see Versioning for managed policies in the IAM User Guide.
  265. */
  266. deletePolicyVersion(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  267. /**
  268. * Deletes the specified role. Unlike the Amazon Web Services Management Console, when you delete a role programmatically, you must delete the items attached to the role manually, or the deletion fails. For more information, see Deleting an IAM role. Before attempting to delete a role, remove the following attached items: Inline policies (DeleteRolePolicy) Attached managed policies (DetachRolePolicy) Instance profile (RemoveRoleFromInstanceProfile) Optional – Delete instance profile after detaching from role for resource clean up (DeleteInstanceProfile) Make sure that you do not have any Amazon EC2 instances running with the role you are about to delete. Deleting a role or instance profile that is associated with a running instance will break any applications running on the instance.
  269. */
  270. deleteRole(params: IAM.Types.DeleteRoleRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  271. /**
  272. * Deletes the specified role. Unlike the Amazon Web Services Management Console, when you delete a role programmatically, you must delete the items attached to the role manually, or the deletion fails. For more information, see Deleting an IAM role. Before attempting to delete a role, remove the following attached items: Inline policies (DeleteRolePolicy) Attached managed policies (DetachRolePolicy) Instance profile (RemoveRoleFromInstanceProfile) Optional – Delete instance profile after detaching from role for resource clean up (DeleteInstanceProfile) Make sure that you do not have any Amazon EC2 instances running with the role you are about to delete. Deleting a role or instance profile that is associated with a running instance will break any applications running on the instance.
  273. */
  274. deleteRole(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  275. /**
  276. * Deletes the permissions boundary for the specified IAM role. You cannot set the boundary for a service-linked role. Deleting the permissions boundary for a role might increase its permissions. For example, it might allow anyone who assumes the role to perform all the actions granted in its permissions policies.
  277. */
  278. deleteRolePermissionsBoundary(params: IAM.Types.DeleteRolePermissionsBoundaryRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  279. /**
  280. * Deletes the permissions boundary for the specified IAM role. You cannot set the boundary for a service-linked role. Deleting the permissions boundary for a role might increase its permissions. For example, it might allow anyone who assumes the role to perform all the actions granted in its permissions policies.
  281. */
  282. deleteRolePermissionsBoundary(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  283. /**
  284. * Deletes the specified inline policy that is embedded in the specified IAM role. A role can also have managed policies attached to it. To detach a managed policy from a role, use DetachRolePolicy. For more information about policies, refer to Managed policies and inline policies in the IAM User Guide.
  285. */
  286. deleteRolePolicy(params: IAM.Types.DeleteRolePolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  287. /**
  288. * Deletes the specified inline policy that is embedded in the specified IAM role. A role can also have managed policies attached to it. To detach a managed policy from a role, use DetachRolePolicy. For more information about policies, refer to Managed policies and inline policies in the IAM User Guide.
  289. */
  290. deleteRolePolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  291. /**
  292. * Deletes a SAML provider resource in IAM. Deleting the provider resource from IAM does not update any roles that reference the SAML provider resource's ARN as a principal in their trust policies. Any attempt to assume a role that references a non-existent provider resource ARN fails. This operation requires Signature Version 4.
  293. */
  294. deleteSAMLProvider(params: IAM.Types.DeleteSAMLProviderRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  295. /**
  296. * Deletes a SAML provider resource in IAM. Deleting the provider resource from IAM does not update any roles that reference the SAML provider resource's ARN as a principal in their trust policies. Any attempt to assume a role that references a non-existent provider resource ARN fails. This operation requires Signature Version 4.
  297. */
  298. deleteSAMLProvider(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  299. /**
  300. * Deletes the specified SSH public key. The SSH public key deleted by this operation is used only for authenticating the associated IAM user to an CodeCommit repository. For more information about using SSH keys to authenticate to an CodeCommit repository, see Set up CodeCommit for SSH connections in the CodeCommit User Guide.
  301. */
  302. deleteSSHPublicKey(params: IAM.Types.DeleteSSHPublicKeyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  303. /**
  304. * Deletes the specified SSH public key. The SSH public key deleted by this operation is used only for authenticating the associated IAM user to an CodeCommit repository. For more information about using SSH keys to authenticate to an CodeCommit repository, see Set up CodeCommit for SSH connections in the CodeCommit User Guide.
  305. */
  306. deleteSSHPublicKey(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  307. /**
  308. * Deletes the specified server certificate. For more information about working with server certificates, see Working with server certificates in the IAM User Guide. This topic also includes a list of Amazon Web Services services that can use the server certificates that you manage with IAM. If you are using a server certificate with Elastic Load Balancing, deleting the certificate could have implications for your application. If Elastic Load Balancing doesn't detect the deletion of bound certificates, it may continue to use the certificates. This could cause Elastic Load Balancing to stop accepting traffic. We recommend that you remove the reference to the certificate from Elastic Load Balancing before using this command to delete the certificate. For more information, see DeleteLoadBalancerListeners in the Elastic Load Balancing API Reference.
  309. */
  310. deleteServerCertificate(params: IAM.Types.DeleteServerCertificateRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  311. /**
  312. * Deletes the specified server certificate. For more information about working with server certificates, see Working with server certificates in the IAM User Guide. This topic also includes a list of Amazon Web Services services that can use the server certificates that you manage with IAM. If you are using a server certificate with Elastic Load Balancing, deleting the certificate could have implications for your application. If Elastic Load Balancing doesn't detect the deletion of bound certificates, it may continue to use the certificates. This could cause Elastic Load Balancing to stop accepting traffic. We recommend that you remove the reference to the certificate from Elastic Load Balancing before using this command to delete the certificate. For more information, see DeleteLoadBalancerListeners in the Elastic Load Balancing API Reference.
  313. */
  314. deleteServerCertificate(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  315. /**
  316. * Submits a service-linked role deletion request and returns a DeletionTaskId, which you can use to check the status of the deletion. Before you call this operation, confirm that the role has no active sessions and that any resources used by the role in the linked service are deleted. If you call this operation more than once for the same service-linked role and an earlier deletion task is not complete, then the DeletionTaskId of the earlier request is returned. If you submit a deletion request for a service-linked role whose linked service is still accessing a resource, then the deletion task fails. If it fails, the GetServiceLinkedRoleDeletionStatus operation returns the reason for the failure, usually including the resources that must be deleted. To delete the service-linked role, you must first remove those resources from the linked service and then submit the deletion request again. Resources are specific to the service that is linked to the role. For more information about removing resources from a service, see the Amazon Web Services documentation for your service. For more information about service-linked roles, see Roles terms and concepts: Amazon Web Services service-linked role in the IAM User Guide.
  317. */
  318. deleteServiceLinkedRole(params: IAM.Types.DeleteServiceLinkedRoleRequest, callback?: (err: AWSError, data: IAM.Types.DeleteServiceLinkedRoleResponse) => void): Request<IAM.Types.DeleteServiceLinkedRoleResponse, AWSError>;
  319. /**
  320. * Submits a service-linked role deletion request and returns a DeletionTaskId, which you can use to check the status of the deletion. Before you call this operation, confirm that the role has no active sessions and that any resources used by the role in the linked service are deleted. If you call this operation more than once for the same service-linked role and an earlier deletion task is not complete, then the DeletionTaskId of the earlier request is returned. If you submit a deletion request for a service-linked role whose linked service is still accessing a resource, then the deletion task fails. If it fails, the GetServiceLinkedRoleDeletionStatus operation returns the reason for the failure, usually including the resources that must be deleted. To delete the service-linked role, you must first remove those resources from the linked service and then submit the deletion request again. Resources are specific to the service that is linked to the role. For more information about removing resources from a service, see the Amazon Web Services documentation for your service. For more information about service-linked roles, see Roles terms and concepts: Amazon Web Services service-linked role in the IAM User Guide.
  321. */
  322. deleteServiceLinkedRole(callback?: (err: AWSError, data: IAM.Types.DeleteServiceLinkedRoleResponse) => void): Request<IAM.Types.DeleteServiceLinkedRoleResponse, AWSError>;
  323. /**
  324. * Deletes the specified service-specific credential.
  325. */
  326. deleteServiceSpecificCredential(params: IAM.Types.DeleteServiceSpecificCredentialRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  327. /**
  328. * Deletes the specified service-specific credential.
  329. */
  330. deleteServiceSpecificCredential(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  331. /**
  332. * Deletes a signing certificate associated with the specified IAM user. If you do not specify a user name, IAM determines the user name implicitly based on the Amazon Web Services access key ID signing the request. This operation works for access keys under the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root user credentials even if the Amazon Web Services account has no associated IAM users.
  333. */
  334. deleteSigningCertificate(params: IAM.Types.DeleteSigningCertificateRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  335. /**
  336. * Deletes a signing certificate associated with the specified IAM user. If you do not specify a user name, IAM determines the user name implicitly based on the Amazon Web Services access key ID signing the request. This operation works for access keys under the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root user credentials even if the Amazon Web Services account has no associated IAM users.
  337. */
  338. deleteSigningCertificate(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  339. /**
  340. * Deletes the specified IAM user. Unlike the Amazon Web Services Management Console, when you delete a user programmatically, you must delete the items attached to the user manually, or the deletion fails. For more information, see Deleting an IAM user. Before attempting to delete a user, remove the following items: Password (DeleteLoginProfile) Access keys (DeleteAccessKey) Signing certificate (DeleteSigningCertificate) SSH public key (DeleteSSHPublicKey) Git credentials (DeleteServiceSpecificCredential) Multi-factor authentication (MFA) device (DeactivateMFADevice, DeleteVirtualMFADevice) Inline policies (DeleteUserPolicy) Attached managed policies (DetachUserPolicy) Group memberships (RemoveUserFromGroup)
  341. */
  342. deleteUser(params: IAM.Types.DeleteUserRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  343. /**
  344. * Deletes the specified IAM user. Unlike the Amazon Web Services Management Console, when you delete a user programmatically, you must delete the items attached to the user manually, or the deletion fails. For more information, see Deleting an IAM user. Before attempting to delete a user, remove the following items: Password (DeleteLoginProfile) Access keys (DeleteAccessKey) Signing certificate (DeleteSigningCertificate) SSH public key (DeleteSSHPublicKey) Git credentials (DeleteServiceSpecificCredential) Multi-factor authentication (MFA) device (DeactivateMFADevice, DeleteVirtualMFADevice) Inline policies (DeleteUserPolicy) Attached managed policies (DetachUserPolicy) Group memberships (RemoveUserFromGroup)
  345. */
  346. deleteUser(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  347. /**
  348. * Deletes the permissions boundary for the specified IAM user. Deleting the permissions boundary for a user might increase its permissions by allowing the user to perform all the actions granted in its permissions policies.
  349. */
  350. deleteUserPermissionsBoundary(params: IAM.Types.DeleteUserPermissionsBoundaryRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  351. /**
  352. * Deletes the permissions boundary for the specified IAM user. Deleting the permissions boundary for a user might increase its permissions by allowing the user to perform all the actions granted in its permissions policies.
  353. */
  354. deleteUserPermissionsBoundary(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  355. /**
  356. * Deletes the specified inline policy that is embedded in the specified IAM user. A user can also have managed policies attached to it. To detach a managed policy from a user, use DetachUserPolicy. For more information about policies, refer to Managed policies and inline policies in the IAM User Guide.
  357. */
  358. deleteUserPolicy(params: IAM.Types.DeleteUserPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  359. /**
  360. * Deletes the specified inline policy that is embedded in the specified IAM user. A user can also have managed policies attached to it. To detach a managed policy from a user, use DetachUserPolicy. For more information about policies, refer to Managed policies and inline policies in the IAM User Guide.
  361. */
  362. deleteUserPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  363. /**
  364. * Deletes a virtual MFA device. You must deactivate a user's virtual MFA device before you can delete it. For information about deactivating MFA devices, see DeactivateMFADevice.
  365. */
  366. deleteVirtualMFADevice(params: IAM.Types.DeleteVirtualMFADeviceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  367. /**
  368. * Deletes a virtual MFA device. You must deactivate a user's virtual MFA device before you can delete it. For information about deactivating MFA devices, see DeactivateMFADevice.
  369. */
  370. deleteVirtualMFADevice(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  371. /**
  372. * Removes the specified managed policy from the specified IAM group. A group can also have inline policies embedded with it. To delete an inline policy, use DeleteGroupPolicy. For information about policies, see Managed policies and inline policies in the IAM User Guide.
  373. */
  374. detachGroupPolicy(params: IAM.Types.DetachGroupPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  375. /**
  376. * Removes the specified managed policy from the specified IAM group. A group can also have inline policies embedded with it. To delete an inline policy, use DeleteGroupPolicy. For information about policies, see Managed policies and inline policies in the IAM User Guide.
  377. */
  378. detachGroupPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  379. /**
  380. * Removes the specified managed policy from the specified role. A role can also have inline policies embedded with it. To delete an inline policy, use DeleteRolePolicy. For information about policies, see Managed policies and inline policies in the IAM User Guide.
  381. */
  382. detachRolePolicy(params: IAM.Types.DetachRolePolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  383. /**
  384. * Removes the specified managed policy from the specified role. A role can also have inline policies embedded with it. To delete an inline policy, use DeleteRolePolicy. For information about policies, see Managed policies and inline policies in the IAM User Guide.
  385. */
  386. detachRolePolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  387. /**
  388. * Removes the specified managed policy from the specified user. A user can also have inline policies embedded with it. To delete an inline policy, use DeleteUserPolicy. For information about policies, see Managed policies and inline policies in the IAM User Guide.
  389. */
  390. detachUserPolicy(params: IAM.Types.DetachUserPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  391. /**
  392. * Removes the specified managed policy from the specified user. A user can also have inline policies embedded with it. To delete an inline policy, use DeleteUserPolicy. For information about policies, see Managed policies and inline policies in the IAM User Guide.
  393. */
  394. detachUserPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  395. /**
  396. * Enables the specified MFA device and associates it with the specified IAM user. When enabled, the MFA device is required for every subsequent login by the IAM user associated with the device.
  397. */
  398. enableMFADevice(params: IAM.Types.EnableMFADeviceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  399. /**
  400. * Enables the specified MFA device and associates it with the specified IAM user. When enabled, the MFA device is required for every subsequent login by the IAM user associated with the device.
  401. */
  402. enableMFADevice(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  403. /**
  404. * Generates a credential report for the Amazon Web Services account. For more information about the credential report, see Getting credential reports in the IAM User Guide.
  405. */
  406. generateCredentialReport(callback?: (err: AWSError, data: IAM.Types.GenerateCredentialReportResponse) => void): Request<IAM.Types.GenerateCredentialReportResponse, AWSError>;
  407. /**
  408. * Generates a report for service last accessed data for Organizations. You can generate a report for any entities (organization root, organizational unit, or account) or policies in your organization. To call this operation, you must be signed in using your Organizations management account credentials. You can use your long-term IAM user or root user credentials, or temporary credentials from assuming an IAM role. SCPs must be enabled for your organization root. You must have the required IAM and Organizations permissions. For more information, see Refining permissions using service last accessed data in the IAM User Guide. You can generate a service last accessed data report for entities by specifying only the entity's path. This data includes a list of services that are allowed by any service control policies (SCPs) that apply to the entity. You can generate a service last accessed data report for a policy by specifying an entity's path and an optional Organizations policy ID. This data includes a list of services that are allowed by the specified SCP. For each service in both report types, the data includes the most recent account activity that the policy allows to account principals in the entity or the entity's children. For important information about the data, reporting period, permissions required, troubleshooting, and supported Regions see Reducing permissions using service last accessed data in the IAM User Guide. The data includes all attempts to access Amazon Web Services, not just the successful ones. This includes all attempts that were made using the Amazon Web Services Management Console, the Amazon Web Services API through any of the SDKs, or any of the command line tools. An unexpected entry in the service last accessed data does not mean that an account has been compromised, because the request might have been denied. Refer to your CloudTrail logs as the authoritative source for information about all API calls and whether they were successful or denied access. For more information, see Logging IAM events with CloudTrail in the IAM User Guide. This operation returns a JobId. Use this parameter in the GetOrganizationsAccessReport operation to check the status of the report generation. To check the status of this request, use the JobId parameter in the GetOrganizationsAccessReport operation and test the JobStatus response parameter. When the job is complete, you can retrieve the report. To generate a service last accessed data report for entities, specify an entity path without specifying the optional Organizations policy ID. The type of entity that you specify determines the data returned in the report. Root – When you specify the organizations root as the entity, the resulting report lists all of the services allowed by SCPs that are attached to your root. For each service, the report includes data for all accounts in your organization except the management account, because the management account is not limited by SCPs. OU – When you specify an organizational unit (OU) as the entity, the resulting report lists all of the services allowed by SCPs that are attached to the OU and its parents. For each service, the report includes data for all accounts in the OU or its children. This data excludes the management account, because the management account is not limited by SCPs. management account – When you specify the management account, the resulting report lists all Amazon Web Services services, because the management account is not limited by SCPs. For each service, the report includes data for only the management account. Account – When you specify another account as the entity, the resulting report lists all of the services allowed by SCPs that are attached to the account and its parents. For each service, the report includes data for only the specified account. To generate a service last accessed data report for policies, specify an entity path and the optional Organizations policy ID. The type of entity that you specify determines the data returned for each service. Root – When you specify the root entity and a policy ID, the resulting report lists all of the services that are allowed by the specified SCP. For each service, the report includes data for all accounts in your organization to which the SCP applies. This data excludes the management account, because the management account is not limited by SCPs. If the SCP is not attached to any entities in the organization, then the report will return a list of services with no data. OU – When you specify an OU entity and a policy ID, the resulting report lists all of the services that are allowed by the specified SCP. For each service, the report includes data for all accounts in the OU or its children to which the SCP applies. This means that other accounts outside the OU that are affected by the SCP might not be included in the data. This data excludes the management account, because the management account is not limited by SCPs. If the SCP is not attached to the OU or one of its children, the report will return a list of services with no data. management account – When you specify the management account, the resulting report lists all Amazon Web Services services, because the management account is not limited by SCPs. If you specify a policy ID in the CLI or API, the policy is ignored. For each service, the report includes data for only the management account. Account – When you specify another account entity and a policy ID, the resulting report lists all of the services that are allowed by the specified SCP. For each service, the report includes data for only the specified account. This means that other accounts in the organization that are affected by the SCP might not be included in the data. If the SCP is not attached to the account, the report will return a list of services with no data. Service last accessed data does not use other policy types when determining whether a principal could access a service. These other policy types include identity-based policies, resource-based policies, access control lists, IAM permissions boundaries, and STS assume role policies. It only applies SCP logic. For more about the evaluation of policy types, see Evaluating policies in the IAM User Guide. For more information about service last accessed data, see Reducing policy scope by viewing user activity in the IAM User Guide.
  409. */
  410. generateOrganizationsAccessReport(params: IAM.Types.GenerateOrganizationsAccessReportRequest, callback?: (err: AWSError, data: IAM.Types.GenerateOrganizationsAccessReportResponse) => void): Request<IAM.Types.GenerateOrganizationsAccessReportResponse, AWSError>;
  411. /**
  412. * Generates a report for service last accessed data for Organizations. You can generate a report for any entities (organization root, organizational unit, or account) or policies in your organization. To call this operation, you must be signed in using your Organizations management account credentials. You can use your long-term IAM user or root user credentials, or temporary credentials from assuming an IAM role. SCPs must be enabled for your organization root. You must have the required IAM and Organizations permissions. For more information, see Refining permissions using service last accessed data in the IAM User Guide. You can generate a service last accessed data report for entities by specifying only the entity's path. This data includes a list of services that are allowed by any service control policies (SCPs) that apply to the entity. You can generate a service last accessed data report for a policy by specifying an entity's path and an optional Organizations policy ID. This data includes a list of services that are allowed by the specified SCP. For each service in both report types, the data includes the most recent account activity that the policy allows to account principals in the entity or the entity's children. For important information about the data, reporting period, permissions required, troubleshooting, and supported Regions see Reducing permissions using service last accessed data in the IAM User Guide. The data includes all attempts to access Amazon Web Services, not just the successful ones. This includes all attempts that were made using the Amazon Web Services Management Console, the Amazon Web Services API through any of the SDKs, or any of the command line tools. An unexpected entry in the service last accessed data does not mean that an account has been compromised, because the request might have been denied. Refer to your CloudTrail logs as the authoritative source for information about all API calls and whether they were successful or denied access. For more information, see Logging IAM events with CloudTrail in the IAM User Guide. This operation returns a JobId. Use this parameter in the GetOrganizationsAccessReport operation to check the status of the report generation. To check the status of this request, use the JobId parameter in the GetOrganizationsAccessReport operation and test the JobStatus response parameter. When the job is complete, you can retrieve the report. To generate a service last accessed data report for entities, specify an entity path without specifying the optional Organizations policy ID. The type of entity that you specify determines the data returned in the report. Root – When you specify the organizations root as the entity, the resulting report lists all of the services allowed by SCPs that are attached to your root. For each service, the report includes data for all accounts in your organization except the management account, because the management account is not limited by SCPs. OU – When you specify an organizational unit (OU) as the entity, the resulting report lists all of the services allowed by SCPs that are attached to the OU and its parents. For each service, the report includes data for all accounts in the OU or its children. This data excludes the management account, because the management account is not limited by SCPs. management account – When you specify the management account, the resulting report lists all Amazon Web Services services, because the management account is not limited by SCPs. For each service, the report includes data for only the management account. Account – When you specify another account as the entity, the resulting report lists all of the services allowed by SCPs that are attached to the account and its parents. For each service, the report includes data for only the specified account. To generate a service last accessed data report for policies, specify an entity path and the optional Organizations policy ID. The type of entity that you specify determines the data returned for each service. Root – When you specify the root entity and a policy ID, the resulting report lists all of the services that are allowed by the specified SCP. For each service, the report includes data for all accounts in your organization to which the SCP applies. This data excludes the management account, because the management account is not limited by SCPs. If the SCP is not attached to any entities in the organization, then the report will return a list of services with no data. OU – When you specify an OU entity and a policy ID, the resulting report lists all of the services that are allowed by the specified SCP. For each service, the report includes data for all accounts in the OU or its children to which the SCP applies. This means that other accounts outside the OU that are affected by the SCP might not be included in the data. This data excludes the management account, because the management account is not limited by SCPs. If the SCP is not attached to the OU or one of its children, the report will return a list of services with no data. management account – When you specify the management account, the resulting report lists all Amazon Web Services services, because the management account is not limited by SCPs. If you specify a policy ID in the CLI or API, the policy is ignored. For each service, the report includes data for only the management account. Account – When you specify another account entity and a policy ID, the resulting report lists all of the services that are allowed by the specified SCP. For each service, the report includes data for only the specified account. This means that other accounts in the organization that are affected by the SCP might not be included in the data. If the SCP is not attached to the account, the report will return a list of services with no data. Service last accessed data does not use other policy types when determining whether a principal could access a service. These other policy types include identity-based policies, resource-based policies, access control lists, IAM permissions boundaries, and STS assume role policies. It only applies SCP logic. For more about the evaluation of policy types, see Evaluating policies in the IAM User Guide. For more information about service last accessed data, see Reducing policy scope by viewing user activity in the IAM User Guide.
  413. */
  414. generateOrganizationsAccessReport(callback?: (err: AWSError, data: IAM.Types.GenerateOrganizationsAccessReportResponse) => void): Request<IAM.Types.GenerateOrganizationsAccessReportResponse, AWSError>;
  415. /**
  416. * Generates a report that includes details about when an IAM resource (user, group, role, or policy) was last used in an attempt to access Amazon Web Services services. Recent activity usually appears within four hours. IAM reports activity for at least the last 400 days, or less if your Region began supporting this feature within the last year. For more information, see Regions where data is tracked. For more information about services and actions for which action last accessed information is displayed, see IAM action last accessed information services and actions. The service last accessed data includes all attempts to access an Amazon Web Services API, not just the successful ones. This includes all attempts that were made using the Amazon Web Services Management Console, the Amazon Web Services API through any of the SDKs, or any of the command line tools. An unexpected entry in the service last accessed data does not mean that your account has been compromised, because the request might have been denied. Refer to your CloudTrail logs as the authoritative source for information about all API calls and whether they were successful or denied access. For more information, see Logging IAM events with CloudTrail in the IAM User Guide. The GenerateServiceLastAccessedDetails operation returns a JobId. Use this parameter in the following operations to retrieve the following details from your report: GetServiceLastAccessedDetails – Use this operation for users, groups, roles, or policies to list every Amazon Web Services service that the resource could access using permissions policies. For each service, the response includes information about the most recent access attempt. The JobId returned by GenerateServiceLastAccessedDetail must be used by the same role within a session, or by the same user when used to call GetServiceLastAccessedDetail. GetServiceLastAccessedDetailsWithEntities – Use this operation for groups and policies to list information about the associated entities (users or roles) that attempted to access a specific Amazon Web Services service. To check the status of the GenerateServiceLastAccessedDetails request, use the JobId parameter in the same operations and test the JobStatus response parameter. For additional information about the permissions policies that allow an identity (user, group, or role) to access specific services, use the ListPoliciesGrantingServiceAccess operation. Service last accessed data does not use other policy types when determining whether a resource could access a service. These other policy types include resource-based policies, access control lists, Organizations policies, IAM permissions boundaries, and STS assume role policies. It only applies permissions policy logic. For more about the evaluation of policy types, see Evaluating policies in the IAM User Guide. For more information about service and action last accessed data, see Reducing permissions using service last accessed data in the IAM User Guide.
  417. */
  418. generateServiceLastAccessedDetails(params: IAM.Types.GenerateServiceLastAccessedDetailsRequest, callback?: (err: AWSError, data: IAM.Types.GenerateServiceLastAccessedDetailsResponse) => void): Request<IAM.Types.GenerateServiceLastAccessedDetailsResponse, AWSError>;
  419. /**
  420. * Generates a report that includes details about when an IAM resource (user, group, role, or policy) was last used in an attempt to access Amazon Web Services services. Recent activity usually appears within four hours. IAM reports activity for at least the last 400 days, or less if your Region began supporting this feature within the last year. For more information, see Regions where data is tracked. For more information about services and actions for which action last accessed information is displayed, see IAM action last accessed information services and actions. The service last accessed data includes all attempts to access an Amazon Web Services API, not just the successful ones. This includes all attempts that were made using the Amazon Web Services Management Console, the Amazon Web Services API through any of the SDKs, or any of the command line tools. An unexpected entry in the service last accessed data does not mean that your account has been compromised, because the request might have been denied. Refer to your CloudTrail logs as the authoritative source for information about all API calls and whether they were successful or denied access. For more information, see Logging IAM events with CloudTrail in the IAM User Guide. The GenerateServiceLastAccessedDetails operation returns a JobId. Use this parameter in the following operations to retrieve the following details from your report: GetServiceLastAccessedDetails – Use this operation for users, groups, roles, or policies to list every Amazon Web Services service that the resource could access using permissions policies. For each service, the response includes information about the most recent access attempt. The JobId returned by GenerateServiceLastAccessedDetail must be used by the same role within a session, or by the same user when used to call GetServiceLastAccessedDetail. GetServiceLastAccessedDetailsWithEntities – Use this operation for groups and policies to list information about the associated entities (users or roles) that attempted to access a specific Amazon Web Services service. To check the status of the GenerateServiceLastAccessedDetails request, use the JobId parameter in the same operations and test the JobStatus response parameter. For additional information about the permissions policies that allow an identity (user, group, or role) to access specific services, use the ListPoliciesGrantingServiceAccess operation. Service last accessed data does not use other policy types when determining whether a resource could access a service. These other policy types include resource-based policies, access control lists, Organizations policies, IAM permissions boundaries, and STS assume role policies. It only applies permissions policy logic. For more about the evaluation of policy types, see Evaluating policies in the IAM User Guide. For more information about service and action last accessed data, see Reducing permissions using service last accessed data in the IAM User Guide.
  421. */
  422. generateServiceLastAccessedDetails(callback?: (err: AWSError, data: IAM.Types.GenerateServiceLastAccessedDetailsResponse) => void): Request<IAM.Types.GenerateServiceLastAccessedDetailsResponse, AWSError>;
  423. /**
  424. * Retrieves information about when the specified access key was last used. The information includes the date and time of last use, along with the Amazon Web Services service and Region that were specified in the last request made with that key.
  425. */
  426. getAccessKeyLastUsed(params: IAM.Types.GetAccessKeyLastUsedRequest, callback?: (err: AWSError, data: IAM.Types.GetAccessKeyLastUsedResponse) => void): Request<IAM.Types.GetAccessKeyLastUsedResponse, AWSError>;
  427. /**
  428. * Retrieves information about when the specified access key was last used. The information includes the date and time of last use, along with the Amazon Web Services service and Region that were specified in the last request made with that key.
  429. */
  430. getAccessKeyLastUsed(callback?: (err: AWSError, data: IAM.Types.GetAccessKeyLastUsedResponse) => void): Request<IAM.Types.GetAccessKeyLastUsedResponse, AWSError>;
  431. /**
  432. * Retrieves information about all IAM users, groups, roles, and policies in your Amazon Web Services account, including their relationships to one another. Use this operation to obtain a snapshot of the configuration of IAM permissions (users, groups, roles, and policies) in your account. Policies returned by this operation are URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode method of the java.net.URLDecoder utility class in the Java SDK. Other languages and SDKs provide similar functionality. You can optionally filter the results using the Filter parameter. You can paginate the results using the MaxItems and Marker parameters.
  433. */
  434. getAccountAuthorizationDetails(params: IAM.Types.GetAccountAuthorizationDetailsRequest, callback?: (err: AWSError, data: IAM.Types.GetAccountAuthorizationDetailsResponse) => void): Request<IAM.Types.GetAccountAuthorizationDetailsResponse, AWSError>;
  435. /**
  436. * Retrieves information about all IAM users, groups, roles, and policies in your Amazon Web Services account, including their relationships to one another. Use this operation to obtain a snapshot of the configuration of IAM permissions (users, groups, roles, and policies) in your account. Policies returned by this operation are URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode method of the java.net.URLDecoder utility class in the Java SDK. Other languages and SDKs provide similar functionality. You can optionally filter the results using the Filter parameter. You can paginate the results using the MaxItems and Marker parameters.
  437. */
  438. getAccountAuthorizationDetails(callback?: (err: AWSError, data: IAM.Types.GetAccountAuthorizationDetailsResponse) => void): Request<IAM.Types.GetAccountAuthorizationDetailsResponse, AWSError>;
  439. /**
  440. * Retrieves the password policy for the Amazon Web Services account. This tells you the complexity requirements and mandatory rotation periods for the IAM user passwords in your account. For more information about using a password policy, see Managing an IAM password policy.
  441. */
  442. getAccountPasswordPolicy(callback?: (err: AWSError, data: IAM.Types.GetAccountPasswordPolicyResponse) => void): Request<IAM.Types.GetAccountPasswordPolicyResponse, AWSError>;
  443. /**
  444. * Retrieves information about IAM entity usage and IAM quotas in the Amazon Web Services account. For information about IAM quotas, see IAM and STS quotas in the IAM User Guide.
  445. */
  446. getAccountSummary(callback?: (err: AWSError, data: IAM.Types.GetAccountSummaryResponse) => void): Request<IAM.Types.GetAccountSummaryResponse, AWSError>;
  447. /**
  448. * Gets a list of all of the context keys referenced in the input policies. The policies are supplied as a list of one or more strings. To get the context keys from policies associated with an IAM user, group, or role, use GetContextKeysForPrincipalPolicy. Context keys are variables maintained by Amazon Web Services and its services that provide details about the context of an API query request. Context keys can be evaluated by testing against a value specified in an IAM policy. Use GetContextKeysForCustomPolicy to understand what key names and values you must supply when you call SimulateCustomPolicy. Note that all parameters are shown in unencoded form here for clarity but must be URL encoded to be included as a part of a real HTML request.
  449. */
  450. getContextKeysForCustomPolicy(params: IAM.Types.GetContextKeysForCustomPolicyRequest, callback?: (err: AWSError, data: IAM.Types.GetContextKeysForPolicyResponse) => void): Request<IAM.Types.GetContextKeysForPolicyResponse, AWSError>;
  451. /**
  452. * Gets a list of all of the context keys referenced in the input policies. The policies are supplied as a list of one or more strings. To get the context keys from policies associated with an IAM user, group, or role, use GetContextKeysForPrincipalPolicy. Context keys are variables maintained by Amazon Web Services and its services that provide details about the context of an API query request. Context keys can be evaluated by testing against a value specified in an IAM policy. Use GetContextKeysForCustomPolicy to understand what key names and values you must supply when you call SimulateCustomPolicy. Note that all parameters are shown in unencoded form here for clarity but must be URL encoded to be included as a part of a real HTML request.
  453. */
  454. getContextKeysForCustomPolicy(callback?: (err: AWSError, data: IAM.Types.GetContextKeysForPolicyResponse) => void): Request<IAM.Types.GetContextKeysForPolicyResponse, AWSError>;
  455. /**
  456. * Gets a list of all of the context keys referenced in all the IAM policies that are attached to the specified IAM entity. The entity can be an IAM user, group, or role. If you specify a user, then the request also includes all of the policies attached to groups that the user is a member of. You can optionally include a list of one or more additional policies, specified as strings. If you want to include only a list of policies by string, use GetContextKeysForCustomPolicy instead. Note: This operation discloses information about the permissions granted to other users. If you do not want users to see other user's permissions, then consider allowing them to use GetContextKeysForCustomPolicy instead. Context keys are variables maintained by Amazon Web Services and its services that provide details about the context of an API query request. Context keys can be evaluated by testing against a value in an IAM policy. Use GetContextKeysForPrincipalPolicy to understand what key names and values you must supply when you call SimulatePrincipalPolicy.
  457. */
  458. getContextKeysForPrincipalPolicy(params: IAM.Types.GetContextKeysForPrincipalPolicyRequest, callback?: (err: AWSError, data: IAM.Types.GetContextKeysForPolicyResponse) => void): Request<IAM.Types.GetContextKeysForPolicyResponse, AWSError>;
  459. /**
  460. * Gets a list of all of the context keys referenced in all the IAM policies that are attached to the specified IAM entity. The entity can be an IAM user, group, or role. If you specify a user, then the request also includes all of the policies attached to groups that the user is a member of. You can optionally include a list of one or more additional policies, specified as strings. If you want to include only a list of policies by string, use GetContextKeysForCustomPolicy instead. Note: This operation discloses information about the permissions granted to other users. If you do not want users to see other user's permissions, then consider allowing them to use GetContextKeysForCustomPolicy instead. Context keys are variables maintained by Amazon Web Services and its services that provide details about the context of an API query request. Context keys can be evaluated by testing against a value in an IAM policy. Use GetContextKeysForPrincipalPolicy to understand what key names and values you must supply when you call SimulatePrincipalPolicy.
  461. */
  462. getContextKeysForPrincipalPolicy(callback?: (err: AWSError, data: IAM.Types.GetContextKeysForPolicyResponse) => void): Request<IAM.Types.GetContextKeysForPolicyResponse, AWSError>;
  463. /**
  464. * Retrieves a credential report for the Amazon Web Services account. For more information about the credential report, see Getting credential reports in the IAM User Guide.
  465. */
  466. getCredentialReport(callback?: (err: AWSError, data: IAM.Types.GetCredentialReportResponse) => void): Request<IAM.Types.GetCredentialReportResponse, AWSError>;
  467. /**
  468. * Returns a list of IAM users that are in the specified IAM group. You can paginate the results using the MaxItems and Marker parameters.
  469. */
  470. getGroup(params: IAM.Types.GetGroupRequest, callback?: (err: AWSError, data: IAM.Types.GetGroupResponse) => void): Request<IAM.Types.GetGroupResponse, AWSError>;
  471. /**
  472. * Returns a list of IAM users that are in the specified IAM group. You can paginate the results using the MaxItems and Marker parameters.
  473. */
  474. getGroup(callback?: (err: AWSError, data: IAM.Types.GetGroupResponse) => void): Request<IAM.Types.GetGroupResponse, AWSError>;
  475. /**
  476. * Retrieves the specified inline policy document that is embedded in the specified IAM group. Policies returned by this operation are URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode method of the java.net.URLDecoder utility class in the Java SDK. Other languages and SDKs provide similar functionality. An IAM group can also have managed policies attached to it. To retrieve a managed policy document that is attached to a group, use GetPolicy to determine the policy's default version, then use GetPolicyVersion to retrieve the policy document. For more information about policies, see Managed policies and inline policies in the IAM User Guide.
  477. */
  478. getGroupPolicy(params: IAM.Types.GetGroupPolicyRequest, callback?: (err: AWSError, data: IAM.Types.GetGroupPolicyResponse) => void): Request<IAM.Types.GetGroupPolicyResponse, AWSError>;
  479. /**
  480. * Retrieves the specified inline policy document that is embedded in the specified IAM group. Policies returned by this operation are URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode method of the java.net.URLDecoder utility class in the Java SDK. Other languages and SDKs provide similar functionality. An IAM group can also have managed policies attached to it. To retrieve a managed policy document that is attached to a group, use GetPolicy to determine the policy's default version, then use GetPolicyVersion to retrieve the policy document. For more information about policies, see Managed policies and inline policies in the IAM User Guide.
  481. */
  482. getGroupPolicy(callback?: (err: AWSError, data: IAM.Types.GetGroupPolicyResponse) => void): Request<IAM.Types.GetGroupPolicyResponse, AWSError>;
  483. /**
  484. * Retrieves information about the specified instance profile, including the instance profile's path, GUID, ARN, and role. For more information about instance profiles, see Using instance profiles in the IAM User Guide.
  485. */
  486. getInstanceProfile(params: IAM.Types.GetInstanceProfileRequest, callback?: (err: AWSError, data: IAM.Types.GetInstanceProfileResponse) => void): Request<IAM.Types.GetInstanceProfileResponse, AWSError>;
  487. /**
  488. * Retrieves information about the specified instance profile, including the instance profile's path, GUID, ARN, and role. For more information about instance profiles, see Using instance profiles in the IAM User Guide.
  489. */
  490. getInstanceProfile(callback?: (err: AWSError, data: IAM.Types.GetInstanceProfileResponse) => void): Request<IAM.Types.GetInstanceProfileResponse, AWSError>;
  491. /**
  492. * Retrieves the user name for the specified IAM user. A login profile is created when you create a password for the user to access the Amazon Web Services Management Console. If the user does not exist or does not have a password, the operation returns a 404 (NoSuchEntity) error. If you create an IAM user with access to the console, the CreateDate reflects the date you created the initial password for the user. If you create an IAM user with programmatic access, and then later add a password for the user to access the Amazon Web Services Management Console, the CreateDate reflects the initial password creation date. A user with programmatic access does not have a login profile unless you create a password for the user to access the Amazon Web Services Management Console.
  493. */
  494. getLoginProfile(params: IAM.Types.GetLoginProfileRequest, callback?: (err: AWSError, data: IAM.Types.GetLoginProfileResponse) => void): Request<IAM.Types.GetLoginProfileResponse, AWSError>;
  495. /**
  496. * Retrieves the user name for the specified IAM user. A login profile is created when you create a password for the user to access the Amazon Web Services Management Console. If the user does not exist or does not have a password, the operation returns a 404 (NoSuchEntity) error. If you create an IAM user with access to the console, the CreateDate reflects the date you created the initial password for the user. If you create an IAM user with programmatic access, and then later add a password for the user to access the Amazon Web Services Management Console, the CreateDate reflects the initial password creation date. A user with programmatic access does not have a login profile unless you create a password for the user to access the Amazon Web Services Management Console.
  497. */
  498. getLoginProfile(callback?: (err: AWSError, data: IAM.Types.GetLoginProfileResponse) => void): Request<IAM.Types.GetLoginProfileResponse, AWSError>;
  499. /**
  500. * Retrieves information about an MFA device for a specified user.
  501. */
  502. getMFADevice(params: IAM.Types.GetMFADeviceRequest, callback?: (err: AWSError, data: IAM.Types.GetMFADeviceResponse) => void): Request<IAM.Types.GetMFADeviceResponse, AWSError>;
  503. /**
  504. * Retrieves information about an MFA device for a specified user.
  505. */
  506. getMFADevice(callback?: (err: AWSError, data: IAM.Types.GetMFADeviceResponse) => void): Request<IAM.Types.GetMFADeviceResponse, AWSError>;
  507. /**
  508. * Returns information about the specified OpenID Connect (OIDC) provider resource object in IAM.
  509. */
  510. getOpenIDConnectProvider(params: IAM.Types.GetOpenIDConnectProviderRequest, callback?: (err: AWSError, data: IAM.Types.GetOpenIDConnectProviderResponse) => void): Request<IAM.Types.GetOpenIDConnectProviderResponse, AWSError>;
  511. /**
  512. * Returns information about the specified OpenID Connect (OIDC) provider resource object in IAM.
  513. */
  514. getOpenIDConnectProvider(callback?: (err: AWSError, data: IAM.Types.GetOpenIDConnectProviderResponse) => void): Request<IAM.Types.GetOpenIDConnectProviderResponse, AWSError>;
  515. /**
  516. * Retrieves the service last accessed data report for Organizations that was previously generated using the GenerateOrganizationsAccessReport operation. This operation retrieves the status of your report job and the report contents. Depending on the parameters that you passed when you generated the report, the data returned could include different information. For details, see GenerateOrganizationsAccessReport. To call this operation, you must be signed in to the management account in your organization. SCPs must be enabled for your organization root. You must have permissions to perform this operation. For more information, see Refining permissions using service last accessed data in the IAM User Guide. For each service that principals in an account (root user, IAM users, or IAM roles) could access using SCPs, the operation returns details about the most recent access attempt. If there was no attempt, the service is listed without details about the most recent attempt to access the service. If the operation fails, it returns the reason that it failed. By default, the list is sorted by service namespace.
  517. */
  518. getOrganizationsAccessReport(params: IAM.Types.GetOrganizationsAccessReportRequest, callback?: (err: AWSError, data: IAM.Types.GetOrganizationsAccessReportResponse) => void): Request<IAM.Types.GetOrganizationsAccessReportResponse, AWSError>;
  519. /**
  520. * Retrieves the service last accessed data report for Organizations that was previously generated using the GenerateOrganizationsAccessReport operation. This operation retrieves the status of your report job and the report contents. Depending on the parameters that you passed when you generated the report, the data returned could include different information. For details, see GenerateOrganizationsAccessReport. To call this operation, you must be signed in to the management account in your organization. SCPs must be enabled for your organization root. You must have permissions to perform this operation. For more information, see Refining permissions using service last accessed data in the IAM User Guide. For each service that principals in an account (root user, IAM users, or IAM roles) could access using SCPs, the operation returns details about the most recent access attempt. If there was no attempt, the service is listed without details about the most recent attempt to access the service. If the operation fails, it returns the reason that it failed. By default, the list is sorted by service namespace.
  521. */
  522. getOrganizationsAccessReport(callback?: (err: AWSError, data: IAM.Types.GetOrganizationsAccessReportResponse) => void): Request<IAM.Types.GetOrganizationsAccessReportResponse, AWSError>;
  523. /**
  524. * Retrieves information about the specified managed policy, including the policy's default version and the total number of IAM users, groups, and roles to which the policy is attached. To retrieve the list of the specific users, groups, and roles that the policy is attached to, use ListEntitiesForPolicy. This operation returns metadata about the policy. To retrieve the actual policy document for a specific version of the policy, use GetPolicyVersion. This operation retrieves information about managed policies. To retrieve information about an inline policy that is embedded with an IAM user, group, or role, use GetUserPolicy, GetGroupPolicy, or GetRolePolicy. For more information about policies, see Managed policies and inline policies in the IAM User Guide.
  525. */
  526. getPolicy(params: IAM.Types.GetPolicyRequest, callback?: (err: AWSError, data: IAM.Types.GetPolicyResponse) => void): Request<IAM.Types.GetPolicyResponse, AWSError>;
  527. /**
  528. * Retrieves information about the specified managed policy, including the policy's default version and the total number of IAM users, groups, and roles to which the policy is attached. To retrieve the list of the specific users, groups, and roles that the policy is attached to, use ListEntitiesForPolicy. This operation returns metadata about the policy. To retrieve the actual policy document for a specific version of the policy, use GetPolicyVersion. This operation retrieves information about managed policies. To retrieve information about an inline policy that is embedded with an IAM user, group, or role, use GetUserPolicy, GetGroupPolicy, or GetRolePolicy. For more information about policies, see Managed policies and inline policies in the IAM User Guide.
  529. */
  530. getPolicy(callback?: (err: AWSError, data: IAM.Types.GetPolicyResponse) => void): Request<IAM.Types.GetPolicyResponse, AWSError>;
  531. /**
  532. * Retrieves information about the specified version of the specified managed policy, including the policy document. Policies returned by this operation are URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode method of the java.net.URLDecoder utility class in the Java SDK. Other languages and SDKs provide similar functionality. To list the available versions for a policy, use ListPolicyVersions. This operation retrieves information about managed policies. To retrieve information about an inline policy that is embedded in a user, group, or role, use GetUserPolicy, GetGroupPolicy, or GetRolePolicy. For more information about the types of policies, see Managed policies and inline policies in the IAM User Guide. For more information about managed policy versions, see Versioning for managed policies in the IAM User Guide.
  533. */
  534. getPolicyVersion(params: IAM.Types.GetPolicyVersionRequest, callback?: (err: AWSError, data: IAM.Types.GetPolicyVersionResponse) => void): Request<IAM.Types.GetPolicyVersionResponse, AWSError>;
  535. /**
  536. * Retrieves information about the specified version of the specified managed policy, including the policy document. Policies returned by this operation are URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode method of the java.net.URLDecoder utility class in the Java SDK. Other languages and SDKs provide similar functionality. To list the available versions for a policy, use ListPolicyVersions. This operation retrieves information about managed policies. To retrieve information about an inline policy that is embedded in a user, group, or role, use GetUserPolicy, GetGroupPolicy, or GetRolePolicy. For more information about the types of policies, see Managed policies and inline policies in the IAM User Guide. For more information about managed policy versions, see Versioning for managed policies in the IAM User Guide.
  537. */
  538. getPolicyVersion(callback?: (err: AWSError, data: IAM.Types.GetPolicyVersionResponse) => void): Request<IAM.Types.GetPolicyVersionResponse, AWSError>;
  539. /**
  540. * Retrieves information about the specified role, including the role's path, GUID, ARN, and the role's trust policy that grants permission to assume the role. For more information about roles, see IAM roles in the IAM User Guide. Policies returned by this operation are URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode method of the java.net.URLDecoder utility class in the Java SDK. Other languages and SDKs provide similar functionality.
  541. */
  542. getRole(params: IAM.Types.GetRoleRequest, callback?: (err: AWSError, data: IAM.Types.GetRoleResponse) => void): Request<IAM.Types.GetRoleResponse, AWSError>;
  543. /**
  544. * Retrieves information about the specified role, including the role's path, GUID, ARN, and the role's trust policy that grants permission to assume the role. For more information about roles, see IAM roles in the IAM User Guide. Policies returned by this operation are URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode method of the java.net.URLDecoder utility class in the Java SDK. Other languages and SDKs provide similar functionality.
  545. */
  546. getRole(callback?: (err: AWSError, data: IAM.Types.GetRoleResponse) => void): Request<IAM.Types.GetRoleResponse, AWSError>;
  547. /**
  548. * Retrieves the specified inline policy document that is embedded with the specified IAM role. Policies returned by this operation are URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode method of the java.net.URLDecoder utility class in the Java SDK. Other languages and SDKs provide similar functionality. An IAM role can also have managed policies attached to it. To retrieve a managed policy document that is attached to a role, use GetPolicy to determine the policy's default version, then use GetPolicyVersion to retrieve the policy document. For more information about policies, see Managed policies and inline policies in the IAM User Guide. For more information about roles, see IAM roles in the IAM User Guide.
  549. */
  550. getRolePolicy(params: IAM.Types.GetRolePolicyRequest, callback?: (err: AWSError, data: IAM.Types.GetRolePolicyResponse) => void): Request<IAM.Types.GetRolePolicyResponse, AWSError>;
  551. /**
  552. * Retrieves the specified inline policy document that is embedded with the specified IAM role. Policies returned by this operation are URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode method of the java.net.URLDecoder utility class in the Java SDK. Other languages and SDKs provide similar functionality. An IAM role can also have managed policies attached to it. To retrieve a managed policy document that is attached to a role, use GetPolicy to determine the policy's default version, then use GetPolicyVersion to retrieve the policy document. For more information about policies, see Managed policies and inline policies in the IAM User Guide. For more information about roles, see IAM roles in the IAM User Guide.
  553. */
  554. getRolePolicy(callback?: (err: AWSError, data: IAM.Types.GetRolePolicyResponse) => void): Request<IAM.Types.GetRolePolicyResponse, AWSError>;
  555. /**
  556. * Returns the SAML provider metadocument that was uploaded when the IAM SAML provider resource object was created or updated. This operation requires Signature Version 4.
  557. */
  558. getSAMLProvider(params: IAM.Types.GetSAMLProviderRequest, callback?: (err: AWSError, data: IAM.Types.GetSAMLProviderResponse) => void): Request<IAM.Types.GetSAMLProviderResponse, AWSError>;
  559. /**
  560. * Returns the SAML provider metadocument that was uploaded when the IAM SAML provider resource object was created or updated. This operation requires Signature Version 4.
  561. */
  562. getSAMLProvider(callback?: (err: AWSError, data: IAM.Types.GetSAMLProviderResponse) => void): Request<IAM.Types.GetSAMLProviderResponse, AWSError>;
  563. /**
  564. * Retrieves the specified SSH public key, including metadata about the key. The SSH public key retrieved by this operation is used only for authenticating the associated IAM user to an CodeCommit repository. For more information about using SSH keys to authenticate to an CodeCommit repository, see Set up CodeCommit for SSH connections in the CodeCommit User Guide.
  565. */
  566. getSSHPublicKey(params: IAM.Types.GetSSHPublicKeyRequest, callback?: (err: AWSError, data: IAM.Types.GetSSHPublicKeyResponse) => void): Request<IAM.Types.GetSSHPublicKeyResponse, AWSError>;
  567. /**
  568. * Retrieves the specified SSH public key, including metadata about the key. The SSH public key retrieved by this operation is used only for authenticating the associated IAM user to an CodeCommit repository. For more information about using SSH keys to authenticate to an CodeCommit repository, see Set up CodeCommit for SSH connections in the CodeCommit User Guide.
  569. */
  570. getSSHPublicKey(callback?: (err: AWSError, data: IAM.Types.GetSSHPublicKeyResponse) => void): Request<IAM.Types.GetSSHPublicKeyResponse, AWSError>;
  571. /**
  572. * Retrieves information about the specified server certificate stored in IAM. For more information about working with server certificates, see Working with server certificates in the IAM User Guide. This topic includes a list of Amazon Web Services services that can use the server certificates that you manage with IAM.
  573. */
  574. getServerCertificate(params: IAM.Types.GetServerCertificateRequest, callback?: (err: AWSError, data: IAM.Types.GetServerCertificateResponse) => void): Request<IAM.Types.GetServerCertificateResponse, AWSError>;
  575. /**
  576. * Retrieves information about the specified server certificate stored in IAM. For more information about working with server certificates, see Working with server certificates in the IAM User Guide. This topic includes a list of Amazon Web Services services that can use the server certificates that you manage with IAM.
  577. */
  578. getServerCertificate(callback?: (err: AWSError, data: IAM.Types.GetServerCertificateResponse) => void): Request<IAM.Types.GetServerCertificateResponse, AWSError>;
  579. /**
  580. * Retrieves a service last accessed report that was created using the GenerateServiceLastAccessedDetails operation. You can use the JobId parameter in GetServiceLastAccessedDetails to retrieve the status of your report job. When the report is complete, you can retrieve the generated report. The report includes a list of Amazon Web Services services that the resource (user, group, role, or managed policy) can access. Service last accessed data does not use other policy types when determining whether a resource could access a service. These other policy types include resource-based policies, access control lists, Organizations policies, IAM permissions boundaries, and STS assume role policies. It only applies permissions policy logic. For more about the evaluation of policy types, see Evaluating policies in the IAM User Guide. For each service that the resource could access using permissions policies, the operation returns details about the most recent access attempt. If there was no attempt, the service is listed without details about the most recent attempt to access the service. If the operation fails, the GetServiceLastAccessedDetails operation returns the reason that it failed. The GetServiceLastAccessedDetails operation returns a list of services. This list includes the number of entities that have attempted to access the service and the date and time of the last attempt. It also returns the ARN of the following entity, depending on the resource ARN that you used to generate the report: User – Returns the user ARN that you used to generate the report Group – Returns the ARN of the group member (user) that last attempted to access the service Role – Returns the role ARN that you used to generate the report Policy – Returns the ARN of the user or role that last used the policy to attempt to access the service By default, the list is sorted by service namespace. If you specified ACTION_LEVEL granularity when you generated the report, this operation returns service and action last accessed data. This includes the most recent access attempt for each tracked action within a service. Otherwise, this operation returns only service data. For more information about service and action last accessed data, see Reducing permissions using service last accessed data in the IAM User Guide.
  581. */
  582. getServiceLastAccessedDetails(params: IAM.Types.GetServiceLastAccessedDetailsRequest, callback?: (err: AWSError, data: IAM.Types.GetServiceLastAccessedDetailsResponse) => void): Request<IAM.Types.GetServiceLastAccessedDetailsResponse, AWSError>;
  583. /**
  584. * Retrieves a service last accessed report that was created using the GenerateServiceLastAccessedDetails operation. You can use the JobId parameter in GetServiceLastAccessedDetails to retrieve the status of your report job. When the report is complete, you can retrieve the generated report. The report includes a list of Amazon Web Services services that the resource (user, group, role, or managed policy) can access. Service last accessed data does not use other policy types when determining whether a resource could access a service. These other policy types include resource-based policies, access control lists, Organizations policies, IAM permissions boundaries, and STS assume role policies. It only applies permissions policy logic. For more about the evaluation of policy types, see Evaluating policies in the IAM User Guide. For each service that the resource could access using permissions policies, the operation returns details about the most recent access attempt. If there was no attempt, the service is listed without details about the most recent attempt to access the service. If the operation fails, the GetServiceLastAccessedDetails operation returns the reason that it failed. The GetServiceLastAccessedDetails operation returns a list of services. This list includes the number of entities that have attempted to access the service and the date and time of the last attempt. It also returns the ARN of the following entity, depending on the resource ARN that you used to generate the report: User – Returns the user ARN that you used to generate the report Group – Returns the ARN of the group member (user) that last attempted to access the service Role – Returns the role ARN that you used to generate the report Policy – Returns the ARN of the user or role that last used the policy to attempt to access the service By default, the list is sorted by service namespace. If you specified ACTION_LEVEL granularity when you generated the report, this operation returns service and action last accessed data. This includes the most recent access attempt for each tracked action within a service. Otherwise, this operation returns only service data. For more information about service and action last accessed data, see Reducing permissions using service last accessed data in the IAM User Guide.
  585. */
  586. getServiceLastAccessedDetails(callback?: (err: AWSError, data: IAM.Types.GetServiceLastAccessedDetailsResponse) => void): Request<IAM.Types.GetServiceLastAccessedDetailsResponse, AWSError>;
  587. /**
  588. * After you generate a group or policy report using the GenerateServiceLastAccessedDetails operation, you can use the JobId parameter in GetServiceLastAccessedDetailsWithEntities. This operation retrieves the status of your report job and a list of entities that could have used group or policy permissions to access the specified service. Group – For a group report, this operation returns a list of users in the group that could have used the group’s policies in an attempt to access the service. Policy – For a policy report, this operation returns a list of entities (users or roles) that could have used the policy in an attempt to access the service. You can also use this operation for user or role reports to retrieve details about those entities. If the operation fails, the GetServiceLastAccessedDetailsWithEntities operation returns the reason that it failed. By default, the list of associated entities is sorted by date, with the most recent access listed first.
  589. */
  590. getServiceLastAccessedDetailsWithEntities(params: IAM.Types.GetServiceLastAccessedDetailsWithEntitiesRequest, callback?: (err: AWSError, data: IAM.Types.GetServiceLastAccessedDetailsWithEntitiesResponse) => void): Request<IAM.Types.GetServiceLastAccessedDetailsWithEntitiesResponse, AWSError>;
  591. /**
  592. * After you generate a group or policy report using the GenerateServiceLastAccessedDetails operation, you can use the JobId parameter in GetServiceLastAccessedDetailsWithEntities. This operation retrieves the status of your report job and a list of entities that could have used group or policy permissions to access the specified service. Group – For a group report, this operation returns a list of users in the group that could have used the group’s policies in an attempt to access the service. Policy – For a policy report, this operation returns a list of entities (users or roles) that could have used the policy in an attempt to access the service. You can also use this operation for user or role reports to retrieve details about those entities. If the operation fails, the GetServiceLastAccessedDetailsWithEntities operation returns the reason that it failed. By default, the list of associated entities is sorted by date, with the most recent access listed first.
  593. */
  594. getServiceLastAccessedDetailsWithEntities(callback?: (err: AWSError, data: IAM.Types.GetServiceLastAccessedDetailsWithEntitiesResponse) => void): Request<IAM.Types.GetServiceLastAccessedDetailsWithEntitiesResponse, AWSError>;
  595. /**
  596. * Retrieves the status of your service-linked role deletion. After you use DeleteServiceLinkedRole to submit a service-linked role for deletion, you can use the DeletionTaskId parameter in GetServiceLinkedRoleDeletionStatus to check the status of the deletion. If the deletion fails, this operation returns the reason that it failed, if that information is returned by the service.
  597. */
  598. getServiceLinkedRoleDeletionStatus(params: IAM.Types.GetServiceLinkedRoleDeletionStatusRequest, callback?: (err: AWSError, data: IAM.Types.GetServiceLinkedRoleDeletionStatusResponse) => void): Request<IAM.Types.GetServiceLinkedRoleDeletionStatusResponse, AWSError>;
  599. /**
  600. * Retrieves the status of your service-linked role deletion. After you use DeleteServiceLinkedRole to submit a service-linked role for deletion, you can use the DeletionTaskId parameter in GetServiceLinkedRoleDeletionStatus to check the status of the deletion. If the deletion fails, this operation returns the reason that it failed, if that information is returned by the service.
  601. */
  602. getServiceLinkedRoleDeletionStatus(callback?: (err: AWSError, data: IAM.Types.GetServiceLinkedRoleDeletionStatusResponse) => void): Request<IAM.Types.GetServiceLinkedRoleDeletionStatusResponse, AWSError>;
  603. /**
  604. * Retrieves information about the specified IAM user, including the user's creation date, path, unique ID, and ARN. If you do not specify a user name, IAM determines the user name implicitly based on the Amazon Web Services access key ID used to sign the request to this operation.
  605. */
  606. getUser(params: IAM.Types.GetUserRequest, callback?: (err: AWSError, data: IAM.Types.GetUserResponse) => void): Request<IAM.Types.GetUserResponse, AWSError>;
  607. /**
  608. * Retrieves information about the specified IAM user, including the user's creation date, path, unique ID, and ARN. If you do not specify a user name, IAM determines the user name implicitly based on the Amazon Web Services access key ID used to sign the request to this operation.
  609. */
  610. getUser(callback?: (err: AWSError, data: IAM.Types.GetUserResponse) => void): Request<IAM.Types.GetUserResponse, AWSError>;
  611. /**
  612. * Retrieves the specified inline policy document that is embedded in the specified IAM user. Policies returned by this operation are URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode method of the java.net.URLDecoder utility class in the Java SDK. Other languages and SDKs provide similar functionality. An IAM user can also have managed policies attached to it. To retrieve a managed policy document that is attached to a user, use GetPolicy to determine the policy's default version. Then use GetPolicyVersion to retrieve the policy document. For more information about policies, see Managed policies and inline policies in the IAM User Guide.
  613. */
  614. getUserPolicy(params: IAM.Types.GetUserPolicyRequest, callback?: (err: AWSError, data: IAM.Types.GetUserPolicyResponse) => void): Request<IAM.Types.GetUserPolicyResponse, AWSError>;
  615. /**
  616. * Retrieves the specified inline policy document that is embedded in the specified IAM user. Policies returned by this operation are URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode method of the java.net.URLDecoder utility class in the Java SDK. Other languages and SDKs provide similar functionality. An IAM user can also have managed policies attached to it. To retrieve a managed policy document that is attached to a user, use GetPolicy to determine the policy's default version. Then use GetPolicyVersion to retrieve the policy document. For more information about policies, see Managed policies and inline policies in the IAM User Guide.
  617. */
  618. getUserPolicy(callback?: (err: AWSError, data: IAM.Types.GetUserPolicyResponse) => void): Request<IAM.Types.GetUserPolicyResponse, AWSError>;
  619. /**
  620. * Returns information about the access key IDs associated with the specified IAM user. If there is none, the operation returns an empty list. Although each user is limited to a small number of keys, you can still paginate the results using the MaxItems and Marker parameters. If the UserName is not specified, the user name is determined implicitly based on the Amazon Web Services access key ID used to sign the request. If a temporary access key is used, then UserName is required. If a long-term key is assigned to the user, then UserName is not required. This operation works for access keys under the Amazon Web Services account. If the Amazon Web Services account has no associated users, the root user returns it's own access key IDs by running this command. To ensure the security of your Amazon Web Services account, the secret access key is accessible only during key and user creation.
  621. */
  622. listAccessKeys(params: IAM.Types.ListAccessKeysRequest, callback?: (err: AWSError, data: IAM.Types.ListAccessKeysResponse) => void): Request<IAM.Types.ListAccessKeysResponse, AWSError>;
  623. /**
  624. * Returns information about the access key IDs associated with the specified IAM user. If there is none, the operation returns an empty list. Although each user is limited to a small number of keys, you can still paginate the results using the MaxItems and Marker parameters. If the UserName is not specified, the user name is determined implicitly based on the Amazon Web Services access key ID used to sign the request. If a temporary access key is used, then UserName is required. If a long-term key is assigned to the user, then UserName is not required. This operation works for access keys under the Amazon Web Services account. If the Amazon Web Services account has no associated users, the root user returns it's own access key IDs by running this command. To ensure the security of your Amazon Web Services account, the secret access key is accessible only during key and user creation.
  625. */
  626. listAccessKeys(callback?: (err: AWSError, data: IAM.Types.ListAccessKeysResponse) => void): Request<IAM.Types.ListAccessKeysResponse, AWSError>;
  627. /**
  628. * Lists the account alias associated with the Amazon Web Services account (Note: you can have only one). For information about using an Amazon Web Services account alias, see Creating, deleting, and listing an Amazon Web Services account alias in the Amazon Web Services Sign-In User Guide.
  629. */
  630. listAccountAliases(params: IAM.Types.ListAccountAliasesRequest, callback?: (err: AWSError, data: IAM.Types.ListAccountAliasesResponse) => void): Request<IAM.Types.ListAccountAliasesResponse, AWSError>;
  631. /**
  632. * Lists the account alias associated with the Amazon Web Services account (Note: you can have only one). For information about using an Amazon Web Services account alias, see Creating, deleting, and listing an Amazon Web Services account alias in the Amazon Web Services Sign-In User Guide.
  633. */
  634. listAccountAliases(callback?: (err: AWSError, data: IAM.Types.ListAccountAliasesResponse) => void): Request<IAM.Types.ListAccountAliasesResponse, AWSError>;
  635. /**
  636. * Lists all managed policies that are attached to the specified IAM group. An IAM group can also have inline policies embedded with it. To list the inline policies for a group, use ListGroupPolicies. For information about policies, see Managed policies and inline policies in the IAM User Guide. You can paginate the results using the MaxItems and Marker parameters. You can use the PathPrefix parameter to limit the list of policies to only those matching the specified path prefix. If there are no policies attached to the specified group (or none that match the specified path prefix), the operation returns an empty list.
  637. */
  638. listAttachedGroupPolicies(params: IAM.Types.ListAttachedGroupPoliciesRequest, callback?: (err: AWSError, data: IAM.Types.ListAttachedGroupPoliciesResponse) => void): Request<IAM.Types.ListAttachedGroupPoliciesResponse, AWSError>;
  639. /**
  640. * Lists all managed policies that are attached to the specified IAM group. An IAM group can also have inline policies embedded with it. To list the inline policies for a group, use ListGroupPolicies. For information about policies, see Managed policies and inline policies in the IAM User Guide. You can paginate the results using the MaxItems and Marker parameters. You can use the PathPrefix parameter to limit the list of policies to only those matching the specified path prefix. If there are no policies attached to the specified group (or none that match the specified path prefix), the operation returns an empty list.
  641. */
  642. listAttachedGroupPolicies(callback?: (err: AWSError, data: IAM.Types.ListAttachedGroupPoliciesResponse) => void): Request<IAM.Types.ListAttachedGroupPoliciesResponse, AWSError>;
  643. /**
  644. * Lists all managed policies that are attached to the specified IAM role. An IAM role can also have inline policies embedded with it. To list the inline policies for a role, use ListRolePolicies. For information about policies, see Managed policies and inline policies in the IAM User Guide. You can paginate the results using the MaxItems and Marker parameters. You can use the PathPrefix parameter to limit the list of policies to only those matching the specified path prefix. If there are no policies attached to the specified role (or none that match the specified path prefix), the operation returns an empty list.
  645. */
  646. listAttachedRolePolicies(params: IAM.Types.ListAttachedRolePoliciesRequest, callback?: (err: AWSError, data: IAM.Types.ListAttachedRolePoliciesResponse) => void): Request<IAM.Types.ListAttachedRolePoliciesResponse, AWSError>;
  647. /**
  648. * Lists all managed policies that are attached to the specified IAM role. An IAM role can also have inline policies embedded with it. To list the inline policies for a role, use ListRolePolicies. For information about policies, see Managed policies and inline policies in the IAM User Guide. You can paginate the results using the MaxItems and Marker parameters. You can use the PathPrefix parameter to limit the list of policies to only those matching the specified path prefix. If there are no policies attached to the specified role (or none that match the specified path prefix), the operation returns an empty list.
  649. */
  650. listAttachedRolePolicies(callback?: (err: AWSError, data: IAM.Types.ListAttachedRolePoliciesResponse) => void): Request<IAM.Types.ListAttachedRolePoliciesResponse, AWSError>;
  651. /**
  652. * Lists all managed policies that are attached to the specified IAM user. An IAM user can also have inline policies embedded with it. To list the inline policies for a user, use ListUserPolicies. For information about policies, see Managed policies and inline policies in the IAM User Guide. You can paginate the results using the MaxItems and Marker parameters. You can use the PathPrefix parameter to limit the list of policies to only those matching the specified path prefix. If there are no policies attached to the specified group (or none that match the specified path prefix), the operation returns an empty list.
  653. */
  654. listAttachedUserPolicies(params: IAM.Types.ListAttachedUserPoliciesRequest, callback?: (err: AWSError, data: IAM.Types.ListAttachedUserPoliciesResponse) => void): Request<IAM.Types.ListAttachedUserPoliciesResponse, AWSError>;
  655. /**
  656. * Lists all managed policies that are attached to the specified IAM user. An IAM user can also have inline policies embedded with it. To list the inline policies for a user, use ListUserPolicies. For information about policies, see Managed policies and inline policies in the IAM User Guide. You can paginate the results using the MaxItems and Marker parameters. You can use the PathPrefix parameter to limit the list of policies to only those matching the specified path prefix. If there are no policies attached to the specified group (or none that match the specified path prefix), the operation returns an empty list.
  657. */
  658. listAttachedUserPolicies(callback?: (err: AWSError, data: IAM.Types.ListAttachedUserPoliciesResponse) => void): Request<IAM.Types.ListAttachedUserPoliciesResponse, AWSError>;
  659. /**
  660. * Lists all IAM users, groups, and roles that the specified managed policy is attached to. You can use the optional EntityFilter parameter to limit the results to a particular type of entity (users, groups, or roles). For example, to list only the roles that are attached to the specified policy, set EntityFilter to Role. You can paginate the results using the MaxItems and Marker parameters.
  661. */
  662. listEntitiesForPolicy(params: IAM.Types.ListEntitiesForPolicyRequest, callback?: (err: AWSError, data: IAM.Types.ListEntitiesForPolicyResponse) => void): Request<IAM.Types.ListEntitiesForPolicyResponse, AWSError>;
  663. /**
  664. * Lists all IAM users, groups, and roles that the specified managed policy is attached to. You can use the optional EntityFilter parameter to limit the results to a particular type of entity (users, groups, or roles). For example, to list only the roles that are attached to the specified policy, set EntityFilter to Role. You can paginate the results using the MaxItems and Marker parameters.
  665. */
  666. listEntitiesForPolicy(callback?: (err: AWSError, data: IAM.Types.ListEntitiesForPolicyResponse) => void): Request<IAM.Types.ListEntitiesForPolicyResponse, AWSError>;
  667. /**
  668. * Lists the names of the inline policies that are embedded in the specified IAM group. An IAM group can also have managed policies attached to it. To list the managed policies that are attached to a group, use ListAttachedGroupPolicies. For more information about policies, see Managed policies and inline policies in the IAM User Guide. You can paginate the results using the MaxItems and Marker parameters. If there are no inline policies embedded with the specified group, the operation returns an empty list.
  669. */
  670. listGroupPolicies(params: IAM.Types.ListGroupPoliciesRequest, callback?: (err: AWSError, data: IAM.Types.ListGroupPoliciesResponse) => void): Request<IAM.Types.ListGroupPoliciesResponse, AWSError>;
  671. /**
  672. * Lists the names of the inline policies that are embedded in the specified IAM group. An IAM group can also have managed policies attached to it. To list the managed policies that are attached to a group, use ListAttachedGroupPolicies. For more information about policies, see Managed policies and inline policies in the IAM User Guide. You can paginate the results using the MaxItems and Marker parameters. If there are no inline policies embedded with the specified group, the operation returns an empty list.
  673. */
  674. listGroupPolicies(callback?: (err: AWSError, data: IAM.Types.ListGroupPoliciesResponse) => void): Request<IAM.Types.ListGroupPoliciesResponse, AWSError>;
  675. /**
  676. * Lists the IAM groups that have the specified path prefix. You can paginate the results using the MaxItems and Marker parameters.
  677. */
  678. listGroups(params: IAM.Types.ListGroupsRequest, callback?: (err: AWSError, data: IAM.Types.ListGroupsResponse) => void): Request<IAM.Types.ListGroupsResponse, AWSError>;
  679. /**
  680. * Lists the IAM groups that have the specified path prefix. You can paginate the results using the MaxItems and Marker parameters.
  681. */
  682. listGroups(callback?: (err: AWSError, data: IAM.Types.ListGroupsResponse) => void): Request<IAM.Types.ListGroupsResponse, AWSError>;
  683. /**
  684. * Lists the IAM groups that the specified IAM user belongs to. You can paginate the results using the MaxItems and Marker parameters.
  685. */
  686. listGroupsForUser(params: IAM.Types.ListGroupsForUserRequest, callback?: (err: AWSError, data: IAM.Types.ListGroupsForUserResponse) => void): Request<IAM.Types.ListGroupsForUserResponse, AWSError>;
  687. /**
  688. * Lists the IAM groups that the specified IAM user belongs to. You can paginate the results using the MaxItems and Marker parameters.
  689. */
  690. listGroupsForUser(callback?: (err: AWSError, data: IAM.Types.ListGroupsForUserResponse) => void): Request<IAM.Types.ListGroupsForUserResponse, AWSError>;
  691. /**
  692. * Lists the tags that are attached to the specified IAM instance profile. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  693. */
  694. listInstanceProfileTags(params: IAM.Types.ListInstanceProfileTagsRequest, callback?: (err: AWSError, data: IAM.Types.ListInstanceProfileTagsResponse) => void): Request<IAM.Types.ListInstanceProfileTagsResponse, AWSError>;
  695. /**
  696. * Lists the tags that are attached to the specified IAM instance profile. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  697. */
  698. listInstanceProfileTags(callback?: (err: AWSError, data: IAM.Types.ListInstanceProfileTagsResponse) => void): Request<IAM.Types.ListInstanceProfileTagsResponse, AWSError>;
  699. /**
  700. * Lists the instance profiles that have the specified path prefix. If there are none, the operation returns an empty list. For more information about instance profiles, see Using instance profiles in the IAM User Guide. IAM resource-listing operations return a subset of the available attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for an instance profile, see GetInstanceProfile. You can paginate the results using the MaxItems and Marker parameters.
  701. */
  702. listInstanceProfiles(params: IAM.Types.ListInstanceProfilesRequest, callback?: (err: AWSError, data: IAM.Types.ListInstanceProfilesResponse) => void): Request<IAM.Types.ListInstanceProfilesResponse, AWSError>;
  703. /**
  704. * Lists the instance profiles that have the specified path prefix. If there are none, the operation returns an empty list. For more information about instance profiles, see Using instance profiles in the IAM User Guide. IAM resource-listing operations return a subset of the available attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for an instance profile, see GetInstanceProfile. You can paginate the results using the MaxItems and Marker parameters.
  705. */
  706. listInstanceProfiles(callback?: (err: AWSError, data: IAM.Types.ListInstanceProfilesResponse) => void): Request<IAM.Types.ListInstanceProfilesResponse, AWSError>;
  707. /**
  708. * Lists the instance profiles that have the specified associated IAM role. If there are none, the operation returns an empty list. For more information about instance profiles, go to Using instance profiles in the IAM User Guide. You can paginate the results using the MaxItems and Marker parameters.
  709. */
  710. listInstanceProfilesForRole(params: IAM.Types.ListInstanceProfilesForRoleRequest, callback?: (err: AWSError, data: IAM.Types.ListInstanceProfilesForRoleResponse) => void): Request<IAM.Types.ListInstanceProfilesForRoleResponse, AWSError>;
  711. /**
  712. * Lists the instance profiles that have the specified associated IAM role. If there are none, the operation returns an empty list. For more information about instance profiles, go to Using instance profiles in the IAM User Guide. You can paginate the results using the MaxItems and Marker parameters.
  713. */
  714. listInstanceProfilesForRole(callback?: (err: AWSError, data: IAM.Types.ListInstanceProfilesForRoleResponse) => void): Request<IAM.Types.ListInstanceProfilesForRoleResponse, AWSError>;
  715. /**
  716. * Lists the tags that are attached to the specified IAM virtual multi-factor authentication (MFA) device. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  717. */
  718. listMFADeviceTags(params: IAM.Types.ListMFADeviceTagsRequest, callback?: (err: AWSError, data: IAM.Types.ListMFADeviceTagsResponse) => void): Request<IAM.Types.ListMFADeviceTagsResponse, AWSError>;
  719. /**
  720. * Lists the tags that are attached to the specified IAM virtual multi-factor authentication (MFA) device. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  721. */
  722. listMFADeviceTags(callback?: (err: AWSError, data: IAM.Types.ListMFADeviceTagsResponse) => void): Request<IAM.Types.ListMFADeviceTagsResponse, AWSError>;
  723. /**
  724. * Lists the MFA devices for an IAM user. If the request includes a IAM user name, then this operation lists all the MFA devices associated with the specified user. If you do not specify a user name, IAM determines the user name implicitly based on the Amazon Web Services access key ID signing the request for this operation. You can paginate the results using the MaxItems and Marker parameters.
  725. */
  726. listMFADevices(params: IAM.Types.ListMFADevicesRequest, callback?: (err: AWSError, data: IAM.Types.ListMFADevicesResponse) => void): Request<IAM.Types.ListMFADevicesResponse, AWSError>;
  727. /**
  728. * Lists the MFA devices for an IAM user. If the request includes a IAM user name, then this operation lists all the MFA devices associated with the specified user. If you do not specify a user name, IAM determines the user name implicitly based on the Amazon Web Services access key ID signing the request for this operation. You can paginate the results using the MaxItems and Marker parameters.
  729. */
  730. listMFADevices(callback?: (err: AWSError, data: IAM.Types.ListMFADevicesResponse) => void): Request<IAM.Types.ListMFADevicesResponse, AWSError>;
  731. /**
  732. * Lists the tags that are attached to the specified OpenID Connect (OIDC)-compatible identity provider. The returned list of tags is sorted by tag key. For more information, see About web identity federation. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  733. */
  734. listOpenIDConnectProviderTags(params: IAM.Types.ListOpenIDConnectProviderTagsRequest, callback?: (err: AWSError, data: IAM.Types.ListOpenIDConnectProviderTagsResponse) => void): Request<IAM.Types.ListOpenIDConnectProviderTagsResponse, AWSError>;
  735. /**
  736. * Lists the tags that are attached to the specified OpenID Connect (OIDC)-compatible identity provider. The returned list of tags is sorted by tag key. For more information, see About web identity federation. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  737. */
  738. listOpenIDConnectProviderTags(callback?: (err: AWSError, data: IAM.Types.ListOpenIDConnectProviderTagsResponse) => void): Request<IAM.Types.ListOpenIDConnectProviderTagsResponse, AWSError>;
  739. /**
  740. * Lists information about the IAM OpenID Connect (OIDC) provider resource objects defined in the Amazon Web Services account. IAM resource-listing operations return a subset of the available attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for an OIDC provider, see GetOpenIDConnectProvider.
  741. */
  742. listOpenIDConnectProviders(params: IAM.Types.ListOpenIDConnectProvidersRequest, callback?: (err: AWSError, data: IAM.Types.ListOpenIDConnectProvidersResponse) => void): Request<IAM.Types.ListOpenIDConnectProvidersResponse, AWSError>;
  743. /**
  744. * Lists information about the IAM OpenID Connect (OIDC) provider resource objects defined in the Amazon Web Services account. IAM resource-listing operations return a subset of the available attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for an OIDC provider, see GetOpenIDConnectProvider.
  745. */
  746. listOpenIDConnectProviders(callback?: (err: AWSError, data: IAM.Types.ListOpenIDConnectProvidersResponse) => void): Request<IAM.Types.ListOpenIDConnectProvidersResponse, AWSError>;
  747. /**
  748. * Lists all the managed policies that are available in your Amazon Web Services account, including your own customer-defined managed policies and all Amazon Web Services managed policies. You can filter the list of policies that is returned using the optional OnlyAttached, Scope, and PathPrefix parameters. For example, to list only the customer managed policies in your Amazon Web Services account, set Scope to Local. To list only Amazon Web Services managed policies, set Scope to AWS. You can paginate the results using the MaxItems and Marker parameters. For more information about managed policies, see Managed policies and inline policies in the IAM User Guide. IAM resource-listing operations return a subset of the available attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for a customer manged policy, see GetPolicy.
  749. */
  750. listPolicies(params: IAM.Types.ListPoliciesRequest, callback?: (err: AWSError, data: IAM.Types.ListPoliciesResponse) => void): Request<IAM.Types.ListPoliciesResponse, AWSError>;
  751. /**
  752. * Lists all the managed policies that are available in your Amazon Web Services account, including your own customer-defined managed policies and all Amazon Web Services managed policies. You can filter the list of policies that is returned using the optional OnlyAttached, Scope, and PathPrefix parameters. For example, to list only the customer managed policies in your Amazon Web Services account, set Scope to Local. To list only Amazon Web Services managed policies, set Scope to AWS. You can paginate the results using the MaxItems and Marker parameters. For more information about managed policies, see Managed policies and inline policies in the IAM User Guide. IAM resource-listing operations return a subset of the available attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for a customer manged policy, see GetPolicy.
  753. */
  754. listPolicies(callback?: (err: AWSError, data: IAM.Types.ListPoliciesResponse) => void): Request<IAM.Types.ListPoliciesResponse, AWSError>;
  755. /**
  756. * Retrieves a list of policies that the IAM identity (user, group, or role) can use to access each specified service. This operation does not use other policy types when determining whether a resource could access a service. These other policy types include resource-based policies, access control lists, Organizations policies, IAM permissions boundaries, and STS assume role policies. It only applies permissions policy logic. For more about the evaluation of policy types, see Evaluating policies in the IAM User Guide. The list of policies returned by the operation depends on the ARN of the identity that you provide. User – The list of policies includes the managed and inline policies that are attached to the user directly. The list also includes any additional managed and inline policies that are attached to the group to which the user belongs. Group – The list of policies includes only the managed and inline policies that are attached to the group directly. Policies that are attached to the group’s user are not included. Role – The list of policies includes only the managed and inline policies that are attached to the role. For each managed policy, this operation returns the ARN and policy name. For each inline policy, it returns the policy name and the entity to which it is attached. Inline policies do not have an ARN. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide. Policies that are attached to users and roles as permissions boundaries are not returned. To view which managed policy is currently used to set the permissions boundary for a user or role, use the GetUser or GetRole operations.
  757. */
  758. listPoliciesGrantingServiceAccess(params: IAM.Types.ListPoliciesGrantingServiceAccessRequest, callback?: (err: AWSError, data: IAM.Types.ListPoliciesGrantingServiceAccessResponse) => void): Request<IAM.Types.ListPoliciesGrantingServiceAccessResponse, AWSError>;
  759. /**
  760. * Retrieves a list of policies that the IAM identity (user, group, or role) can use to access each specified service. This operation does not use other policy types when determining whether a resource could access a service. These other policy types include resource-based policies, access control lists, Organizations policies, IAM permissions boundaries, and STS assume role policies. It only applies permissions policy logic. For more about the evaluation of policy types, see Evaluating policies in the IAM User Guide. The list of policies returned by the operation depends on the ARN of the identity that you provide. User – The list of policies includes the managed and inline policies that are attached to the user directly. The list also includes any additional managed and inline policies that are attached to the group to which the user belongs. Group – The list of policies includes only the managed and inline policies that are attached to the group directly. Policies that are attached to the group’s user are not included. Role – The list of policies includes only the managed and inline policies that are attached to the role. For each managed policy, this operation returns the ARN and policy name. For each inline policy, it returns the policy name and the entity to which it is attached. Inline policies do not have an ARN. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide. Policies that are attached to users and roles as permissions boundaries are not returned. To view which managed policy is currently used to set the permissions boundary for a user or role, use the GetUser or GetRole operations.
  761. */
  762. listPoliciesGrantingServiceAccess(callback?: (err: AWSError, data: IAM.Types.ListPoliciesGrantingServiceAccessResponse) => void): Request<IAM.Types.ListPoliciesGrantingServiceAccessResponse, AWSError>;
  763. /**
  764. * Lists the tags that are attached to the specified IAM customer managed policy. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  765. */
  766. listPolicyTags(params: IAM.Types.ListPolicyTagsRequest, callback?: (err: AWSError, data: IAM.Types.ListPolicyTagsResponse) => void): Request<IAM.Types.ListPolicyTagsResponse, AWSError>;
  767. /**
  768. * Lists the tags that are attached to the specified IAM customer managed policy. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  769. */
  770. listPolicyTags(callback?: (err: AWSError, data: IAM.Types.ListPolicyTagsResponse) => void): Request<IAM.Types.ListPolicyTagsResponse, AWSError>;
  771. /**
  772. * Lists information about the versions of the specified managed policy, including the version that is currently set as the policy's default version. For more information about managed policies, see Managed policies and inline policies in the IAM User Guide.
  773. */
  774. listPolicyVersions(params: IAM.Types.ListPolicyVersionsRequest, callback?: (err: AWSError, data: IAM.Types.ListPolicyVersionsResponse) => void): Request<IAM.Types.ListPolicyVersionsResponse, AWSError>;
  775. /**
  776. * Lists information about the versions of the specified managed policy, including the version that is currently set as the policy's default version. For more information about managed policies, see Managed policies and inline policies in the IAM User Guide.
  777. */
  778. listPolicyVersions(callback?: (err: AWSError, data: IAM.Types.ListPolicyVersionsResponse) => void): Request<IAM.Types.ListPolicyVersionsResponse, AWSError>;
  779. /**
  780. * Lists the names of the inline policies that are embedded in the specified IAM role. An IAM role can also have managed policies attached to it. To list the managed policies that are attached to a role, use ListAttachedRolePolicies. For more information about policies, see Managed policies and inline policies in the IAM User Guide. You can paginate the results using the MaxItems and Marker parameters. If there are no inline policies embedded with the specified role, the operation returns an empty list.
  781. */
  782. listRolePolicies(params: IAM.Types.ListRolePoliciesRequest, callback?: (err: AWSError, data: IAM.Types.ListRolePoliciesResponse) => void): Request<IAM.Types.ListRolePoliciesResponse, AWSError>;
  783. /**
  784. * Lists the names of the inline policies that are embedded in the specified IAM role. An IAM role can also have managed policies attached to it. To list the managed policies that are attached to a role, use ListAttachedRolePolicies. For more information about policies, see Managed policies and inline policies in the IAM User Guide. You can paginate the results using the MaxItems and Marker parameters. If there are no inline policies embedded with the specified role, the operation returns an empty list.
  785. */
  786. listRolePolicies(callback?: (err: AWSError, data: IAM.Types.ListRolePoliciesResponse) => void): Request<IAM.Types.ListRolePoliciesResponse, AWSError>;
  787. /**
  788. * Lists the tags that are attached to the specified role. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  789. */
  790. listRoleTags(params: IAM.Types.ListRoleTagsRequest, callback?: (err: AWSError, data: IAM.Types.ListRoleTagsResponse) => void): Request<IAM.Types.ListRoleTagsResponse, AWSError>;
  791. /**
  792. * Lists the tags that are attached to the specified role. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  793. */
  794. listRoleTags(callback?: (err: AWSError, data: IAM.Types.ListRoleTagsResponse) => void): Request<IAM.Types.ListRoleTagsResponse, AWSError>;
  795. /**
  796. * Lists the IAM roles that have the specified path prefix. If there are none, the operation returns an empty list. For more information about roles, see IAM roles in the IAM User Guide. IAM resource-listing operations return a subset of the available attributes for the resource. This operation does not return the following attributes, even though they are an attribute of the returned object: PermissionsBoundary RoleLastUsed Tags To view all of the information for a role, see GetRole. You can paginate the results using the MaxItems and Marker parameters.
  797. */
  798. listRoles(params: IAM.Types.ListRolesRequest, callback?: (err: AWSError, data: IAM.Types.ListRolesResponse) => void): Request<IAM.Types.ListRolesResponse, AWSError>;
  799. /**
  800. * Lists the IAM roles that have the specified path prefix. If there are none, the operation returns an empty list. For more information about roles, see IAM roles in the IAM User Guide. IAM resource-listing operations return a subset of the available attributes for the resource. This operation does not return the following attributes, even though they are an attribute of the returned object: PermissionsBoundary RoleLastUsed Tags To view all of the information for a role, see GetRole. You can paginate the results using the MaxItems and Marker parameters.
  801. */
  802. listRoles(callback?: (err: AWSError, data: IAM.Types.ListRolesResponse) => void): Request<IAM.Types.ListRolesResponse, AWSError>;
  803. /**
  804. * Lists the tags that are attached to the specified Security Assertion Markup Language (SAML) identity provider. The returned list of tags is sorted by tag key. For more information, see About SAML 2.0-based federation. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  805. */
  806. listSAMLProviderTags(params: IAM.Types.ListSAMLProviderTagsRequest, callback?: (err: AWSError, data: IAM.Types.ListSAMLProviderTagsResponse) => void): Request<IAM.Types.ListSAMLProviderTagsResponse, AWSError>;
  807. /**
  808. * Lists the tags that are attached to the specified Security Assertion Markup Language (SAML) identity provider. The returned list of tags is sorted by tag key. For more information, see About SAML 2.0-based federation. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  809. */
  810. listSAMLProviderTags(callback?: (err: AWSError, data: IAM.Types.ListSAMLProviderTagsResponse) => void): Request<IAM.Types.ListSAMLProviderTagsResponse, AWSError>;
  811. /**
  812. * Lists the SAML provider resource objects defined in IAM in the account. IAM resource-listing operations return a subset of the available attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for a SAML provider, see GetSAMLProvider. This operation requires Signature Version 4.
  813. */
  814. listSAMLProviders(params: IAM.Types.ListSAMLProvidersRequest, callback?: (err: AWSError, data: IAM.Types.ListSAMLProvidersResponse) => void): Request<IAM.Types.ListSAMLProvidersResponse, AWSError>;
  815. /**
  816. * Lists the SAML provider resource objects defined in IAM in the account. IAM resource-listing operations return a subset of the available attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for a SAML provider, see GetSAMLProvider. This operation requires Signature Version 4.
  817. */
  818. listSAMLProviders(callback?: (err: AWSError, data: IAM.Types.ListSAMLProvidersResponse) => void): Request<IAM.Types.ListSAMLProvidersResponse, AWSError>;
  819. /**
  820. * Returns information about the SSH public keys associated with the specified IAM user. If none exists, the operation returns an empty list. The SSH public keys returned by this operation are used only for authenticating the IAM user to an CodeCommit repository. For more information about using SSH keys to authenticate to an CodeCommit repository, see Set up CodeCommit for SSH connections in the CodeCommit User Guide. Although each user is limited to a small number of keys, you can still paginate the results using the MaxItems and Marker parameters.
  821. */
  822. listSSHPublicKeys(params: IAM.Types.ListSSHPublicKeysRequest, callback?: (err: AWSError, data: IAM.Types.ListSSHPublicKeysResponse) => void): Request<IAM.Types.ListSSHPublicKeysResponse, AWSError>;
  823. /**
  824. * Returns information about the SSH public keys associated with the specified IAM user. If none exists, the operation returns an empty list. The SSH public keys returned by this operation are used only for authenticating the IAM user to an CodeCommit repository. For more information about using SSH keys to authenticate to an CodeCommit repository, see Set up CodeCommit for SSH connections in the CodeCommit User Guide. Although each user is limited to a small number of keys, you can still paginate the results using the MaxItems and Marker parameters.
  825. */
  826. listSSHPublicKeys(callback?: (err: AWSError, data: IAM.Types.ListSSHPublicKeysResponse) => void): Request<IAM.Types.ListSSHPublicKeysResponse, AWSError>;
  827. /**
  828. * Lists the tags that are attached to the specified IAM server certificate. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide. For certificates in a Region supported by Certificate Manager (ACM), we recommend that you don't use IAM server certificates. Instead, use ACM to provision, manage, and deploy your server certificates. For more information about IAM server certificates, Working with server certificates in the IAM User Guide.
  829. */
  830. listServerCertificateTags(params: IAM.Types.ListServerCertificateTagsRequest, callback?: (err: AWSError, data: IAM.Types.ListServerCertificateTagsResponse) => void): Request<IAM.Types.ListServerCertificateTagsResponse, AWSError>;
  831. /**
  832. * Lists the tags that are attached to the specified IAM server certificate. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide. For certificates in a Region supported by Certificate Manager (ACM), we recommend that you don't use IAM server certificates. Instead, use ACM to provision, manage, and deploy your server certificates. For more information about IAM server certificates, Working with server certificates in the IAM User Guide.
  833. */
  834. listServerCertificateTags(callback?: (err: AWSError, data: IAM.Types.ListServerCertificateTagsResponse) => void): Request<IAM.Types.ListServerCertificateTagsResponse, AWSError>;
  835. /**
  836. * Lists the server certificates stored in IAM that have the specified path prefix. If none exist, the operation returns an empty list. You can paginate the results using the MaxItems and Marker parameters. For more information about working with server certificates, see Working with server certificates in the IAM User Guide. This topic also includes a list of Amazon Web Services services that can use the server certificates that you manage with IAM. IAM resource-listing operations return a subset of the available attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for a servercertificate, see GetServerCertificate.
  837. */
  838. listServerCertificates(params: IAM.Types.ListServerCertificatesRequest, callback?: (err: AWSError, data: IAM.Types.ListServerCertificatesResponse) => void): Request<IAM.Types.ListServerCertificatesResponse, AWSError>;
  839. /**
  840. * Lists the server certificates stored in IAM that have the specified path prefix. If none exist, the operation returns an empty list. You can paginate the results using the MaxItems and Marker parameters. For more information about working with server certificates, see Working with server certificates in the IAM User Guide. This topic also includes a list of Amazon Web Services services that can use the server certificates that you manage with IAM. IAM resource-listing operations return a subset of the available attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for a servercertificate, see GetServerCertificate.
  841. */
  842. listServerCertificates(callback?: (err: AWSError, data: IAM.Types.ListServerCertificatesResponse) => void): Request<IAM.Types.ListServerCertificatesResponse, AWSError>;
  843. /**
  844. * Returns information about the service-specific credentials associated with the specified IAM user. If none exists, the operation returns an empty list. The service-specific credentials returned by this operation are used only for authenticating the IAM user to a specific service. For more information about using service-specific credentials to authenticate to an Amazon Web Services service, see Set up service-specific credentials in the CodeCommit User Guide.
  845. */
  846. listServiceSpecificCredentials(params: IAM.Types.ListServiceSpecificCredentialsRequest, callback?: (err: AWSError, data: IAM.Types.ListServiceSpecificCredentialsResponse) => void): Request<IAM.Types.ListServiceSpecificCredentialsResponse, AWSError>;
  847. /**
  848. * Returns information about the service-specific credentials associated with the specified IAM user. If none exists, the operation returns an empty list. The service-specific credentials returned by this operation are used only for authenticating the IAM user to a specific service. For more information about using service-specific credentials to authenticate to an Amazon Web Services service, see Set up service-specific credentials in the CodeCommit User Guide.
  849. */
  850. listServiceSpecificCredentials(callback?: (err: AWSError, data: IAM.Types.ListServiceSpecificCredentialsResponse) => void): Request<IAM.Types.ListServiceSpecificCredentialsResponse, AWSError>;
  851. /**
  852. * Returns information about the signing certificates associated with the specified IAM user. If none exists, the operation returns an empty list. Although each user is limited to a small number of signing certificates, you can still paginate the results using the MaxItems and Marker parameters. If the UserName field is not specified, the user name is determined implicitly based on the Amazon Web Services access key ID used to sign the request for this operation. This operation works for access keys under the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root user credentials even if the Amazon Web Services account has no associated users.
  853. */
  854. listSigningCertificates(params: IAM.Types.ListSigningCertificatesRequest, callback?: (err: AWSError, data: IAM.Types.ListSigningCertificatesResponse) => void): Request<IAM.Types.ListSigningCertificatesResponse, AWSError>;
  855. /**
  856. * Returns information about the signing certificates associated with the specified IAM user. If none exists, the operation returns an empty list. Although each user is limited to a small number of signing certificates, you can still paginate the results using the MaxItems and Marker parameters. If the UserName field is not specified, the user name is determined implicitly based on the Amazon Web Services access key ID used to sign the request for this operation. This operation works for access keys under the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root user credentials even if the Amazon Web Services account has no associated users.
  857. */
  858. listSigningCertificates(callback?: (err: AWSError, data: IAM.Types.ListSigningCertificatesResponse) => void): Request<IAM.Types.ListSigningCertificatesResponse, AWSError>;
  859. /**
  860. * Lists the names of the inline policies embedded in the specified IAM user. An IAM user can also have managed policies attached to it. To list the managed policies that are attached to a user, use ListAttachedUserPolicies. For more information about policies, see Managed policies and inline policies in the IAM User Guide. You can paginate the results using the MaxItems and Marker parameters. If there are no inline policies embedded with the specified user, the operation returns an empty list.
  861. */
  862. listUserPolicies(params: IAM.Types.ListUserPoliciesRequest, callback?: (err: AWSError, data: IAM.Types.ListUserPoliciesResponse) => void): Request<IAM.Types.ListUserPoliciesResponse, AWSError>;
  863. /**
  864. * Lists the names of the inline policies embedded in the specified IAM user. An IAM user can also have managed policies attached to it. To list the managed policies that are attached to a user, use ListAttachedUserPolicies. For more information about policies, see Managed policies and inline policies in the IAM User Guide. You can paginate the results using the MaxItems and Marker parameters. If there are no inline policies embedded with the specified user, the operation returns an empty list.
  865. */
  866. listUserPolicies(callback?: (err: AWSError, data: IAM.Types.ListUserPoliciesResponse) => void): Request<IAM.Types.ListUserPoliciesResponse, AWSError>;
  867. /**
  868. * Lists the tags that are attached to the specified IAM user. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  869. */
  870. listUserTags(params: IAM.Types.ListUserTagsRequest, callback?: (err: AWSError, data: IAM.Types.ListUserTagsResponse) => void): Request<IAM.Types.ListUserTagsResponse, AWSError>;
  871. /**
  872. * Lists the tags that are attached to the specified IAM user. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  873. */
  874. listUserTags(callback?: (err: AWSError, data: IAM.Types.ListUserTagsResponse) => void): Request<IAM.Types.ListUserTagsResponse, AWSError>;
  875. /**
  876. * Lists the IAM users that have the specified path prefix. If no path prefix is specified, the operation returns all users in the Amazon Web Services account. If there are none, the operation returns an empty list. IAM resource-listing operations return a subset of the available attributes for the resource. This operation does not return the following attributes, even though they are an attribute of the returned object: PermissionsBoundary Tags To view all of the information for a user, see GetUser. You can paginate the results using the MaxItems and Marker parameters.
  877. */
  878. listUsers(params: IAM.Types.ListUsersRequest, callback?: (err: AWSError, data: IAM.Types.ListUsersResponse) => void): Request<IAM.Types.ListUsersResponse, AWSError>;
  879. /**
  880. * Lists the IAM users that have the specified path prefix. If no path prefix is specified, the operation returns all users in the Amazon Web Services account. If there are none, the operation returns an empty list. IAM resource-listing operations return a subset of the available attributes for the resource. This operation does not return the following attributes, even though they are an attribute of the returned object: PermissionsBoundary Tags To view all of the information for a user, see GetUser. You can paginate the results using the MaxItems and Marker parameters.
  881. */
  882. listUsers(callback?: (err: AWSError, data: IAM.Types.ListUsersResponse) => void): Request<IAM.Types.ListUsersResponse, AWSError>;
  883. /**
  884. * Lists the virtual MFA devices defined in the Amazon Web Services account by assignment status. If you do not specify an assignment status, the operation returns a list of all virtual MFA devices. Assignment status can be Assigned, Unassigned, or Any. IAM resource-listing operations return a subset of the available attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view tag information for a virtual MFA device, see ListMFADeviceTags. You can paginate the results using the MaxItems and Marker parameters.
  885. */
  886. listVirtualMFADevices(params: IAM.Types.ListVirtualMFADevicesRequest, callback?: (err: AWSError, data: IAM.Types.ListVirtualMFADevicesResponse) => void): Request<IAM.Types.ListVirtualMFADevicesResponse, AWSError>;
  887. /**
  888. * Lists the virtual MFA devices defined in the Amazon Web Services account by assignment status. If you do not specify an assignment status, the operation returns a list of all virtual MFA devices. Assignment status can be Assigned, Unassigned, or Any. IAM resource-listing operations return a subset of the available attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view tag information for a virtual MFA device, see ListMFADeviceTags. You can paginate the results using the MaxItems and Marker parameters.
  889. */
  890. listVirtualMFADevices(callback?: (err: AWSError, data: IAM.Types.ListVirtualMFADevicesResponse) => void): Request<IAM.Types.ListVirtualMFADevicesResponse, AWSError>;
  891. /**
  892. * Adds or updates an inline policy document that is embedded in the specified IAM group. A user can also have managed policies attached to it. To attach a managed policy to a group, use AttachGroupPolicy . To create a new managed policy, use CreatePolicy . For information about policies, see Managed policies and inline policies in the IAM User Guide. For information about the maximum number of inline policies that you can embed in a group, see IAM and STS quotas in the IAM User Guide. Because policy documents can be large, you should use POST rather than GET when calling PutGroupPolicy. For general information about using the Query API with IAM, see Making query requests in the IAM User Guide.
  893. */
  894. putGroupPolicy(params: IAM.Types.PutGroupPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  895. /**
  896. * Adds or updates an inline policy document that is embedded in the specified IAM group. A user can also have managed policies attached to it. To attach a managed policy to a group, use AttachGroupPolicy . To create a new managed policy, use CreatePolicy . For information about policies, see Managed policies and inline policies in the IAM User Guide. For information about the maximum number of inline policies that you can embed in a group, see IAM and STS quotas in the IAM User Guide. Because policy documents can be large, you should use POST rather than GET when calling PutGroupPolicy. For general information about using the Query API with IAM, see Making query requests in the IAM User Guide.
  897. */
  898. putGroupPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  899. /**
  900. * Adds or updates the policy that is specified as the IAM role's permissions boundary. You can use an Amazon Web Services managed policy or a customer managed policy to set the boundary for a role. Use the boundary to control the maximum permissions that the role can have. Setting a permissions boundary is an advanced feature that can affect the permissions for the role. You cannot set the boundary for a service-linked role. Policies used as permissions boundaries do not provide permissions. You must also attach a permissions policy to the role. To learn how the effective permissions for a role are evaluated, see IAM JSON policy evaluation logic in the IAM User Guide.
  901. */
  902. putRolePermissionsBoundary(params: IAM.Types.PutRolePermissionsBoundaryRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  903. /**
  904. * Adds or updates the policy that is specified as the IAM role's permissions boundary. You can use an Amazon Web Services managed policy or a customer managed policy to set the boundary for a role. Use the boundary to control the maximum permissions that the role can have. Setting a permissions boundary is an advanced feature that can affect the permissions for the role. You cannot set the boundary for a service-linked role. Policies used as permissions boundaries do not provide permissions. You must also attach a permissions policy to the role. To learn how the effective permissions for a role are evaluated, see IAM JSON policy evaluation logic in the IAM User Guide.
  905. */
  906. putRolePermissionsBoundary(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  907. /**
  908. * Adds or updates an inline policy document that is embedded in the specified IAM role. When you embed an inline policy in a role, the inline policy is used as part of the role's access (permissions) policy. The role's trust policy is created at the same time as the role, using CreateRole . You can update a role's trust policy using UpdateAssumeRolePolicy . For more information about roles, see IAM roles in the IAM User Guide. A role can also have a managed policy attached to it. To attach a managed policy to a role, use AttachRolePolicy . To create a new managed policy, use CreatePolicy . For information about policies, see Managed policies and inline policies in the IAM User Guide. For information about the maximum number of inline policies that you can embed with a role, see IAM and STS quotas in the IAM User Guide. Because policy documents can be large, you should use POST rather than GET when calling PutRolePolicy. For general information about using the Query API with IAM, see Making query requests in the IAM User Guide.
  909. */
  910. putRolePolicy(params: IAM.Types.PutRolePolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  911. /**
  912. * Adds or updates an inline policy document that is embedded in the specified IAM role. When you embed an inline policy in a role, the inline policy is used as part of the role's access (permissions) policy. The role's trust policy is created at the same time as the role, using CreateRole . You can update a role's trust policy using UpdateAssumeRolePolicy . For more information about roles, see IAM roles in the IAM User Guide. A role can also have a managed policy attached to it. To attach a managed policy to a role, use AttachRolePolicy . To create a new managed policy, use CreatePolicy . For information about policies, see Managed policies and inline policies in the IAM User Guide. For information about the maximum number of inline policies that you can embed with a role, see IAM and STS quotas in the IAM User Guide. Because policy documents can be large, you should use POST rather than GET when calling PutRolePolicy. For general information about using the Query API with IAM, see Making query requests in the IAM User Guide.
  913. */
  914. putRolePolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  915. /**
  916. * Adds or updates the policy that is specified as the IAM user's permissions boundary. You can use an Amazon Web Services managed policy or a customer managed policy to set the boundary for a user. Use the boundary to control the maximum permissions that the user can have. Setting a permissions boundary is an advanced feature that can affect the permissions for the user. Policies that are used as permissions boundaries do not provide permissions. You must also attach a permissions policy to the user. To learn how the effective permissions for a user are evaluated, see IAM JSON policy evaluation logic in the IAM User Guide.
  917. */
  918. putUserPermissionsBoundary(params: IAM.Types.PutUserPermissionsBoundaryRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  919. /**
  920. * Adds or updates the policy that is specified as the IAM user's permissions boundary. You can use an Amazon Web Services managed policy or a customer managed policy to set the boundary for a user. Use the boundary to control the maximum permissions that the user can have. Setting a permissions boundary is an advanced feature that can affect the permissions for the user. Policies that are used as permissions boundaries do not provide permissions. You must also attach a permissions policy to the user. To learn how the effective permissions for a user are evaluated, see IAM JSON policy evaluation logic in the IAM User Guide.
  921. */
  922. putUserPermissionsBoundary(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  923. /**
  924. * Adds or updates an inline policy document that is embedded in the specified IAM user. An IAM user can also have a managed policy attached to it. To attach a managed policy to a user, use AttachUserPolicy . To create a new managed policy, use CreatePolicy . For information about policies, see Managed policies and inline policies in the IAM User Guide. For information about the maximum number of inline policies that you can embed in a user, see IAM and STS quotas in the IAM User Guide. Because policy documents can be large, you should use POST rather than GET when calling PutUserPolicy. For general information about using the Query API with IAM, see Making query requests in the IAM User Guide.
  925. */
  926. putUserPolicy(params: IAM.Types.PutUserPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  927. /**
  928. * Adds or updates an inline policy document that is embedded in the specified IAM user. An IAM user can also have a managed policy attached to it. To attach a managed policy to a user, use AttachUserPolicy . To create a new managed policy, use CreatePolicy . For information about policies, see Managed policies and inline policies in the IAM User Guide. For information about the maximum number of inline policies that you can embed in a user, see IAM and STS quotas in the IAM User Guide. Because policy documents can be large, you should use POST rather than GET when calling PutUserPolicy. For general information about using the Query API with IAM, see Making query requests in the IAM User Guide.
  929. */
  930. putUserPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  931. /**
  932. * Removes the specified client ID (also known as audience) from the list of client IDs registered for the specified IAM OpenID Connect (OIDC) provider resource object. This operation is idempotent; it does not fail or return an error if you try to remove a client ID that does not exist.
  933. */
  934. removeClientIDFromOpenIDConnectProvider(params: IAM.Types.RemoveClientIDFromOpenIDConnectProviderRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  935. /**
  936. * Removes the specified client ID (also known as audience) from the list of client IDs registered for the specified IAM OpenID Connect (OIDC) provider resource object. This operation is idempotent; it does not fail or return an error if you try to remove a client ID that does not exist.
  937. */
  938. removeClientIDFromOpenIDConnectProvider(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  939. /**
  940. * Removes the specified IAM role from the specified Amazon EC2 instance profile. Make sure that you do not have any Amazon EC2 instances running with the role you are about to remove from the instance profile. Removing a role from an instance profile that is associated with a running instance might break any applications running on the instance. For more information about roles, see IAM roles in the IAM User Guide. For more information about instance profiles, see Using instance profiles in the IAM User Guide.
  941. */
  942. removeRoleFromInstanceProfile(params: IAM.Types.RemoveRoleFromInstanceProfileRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  943. /**
  944. * Removes the specified IAM role from the specified Amazon EC2 instance profile. Make sure that you do not have any Amazon EC2 instances running with the role you are about to remove from the instance profile. Removing a role from an instance profile that is associated with a running instance might break any applications running on the instance. For more information about roles, see IAM roles in the IAM User Guide. For more information about instance profiles, see Using instance profiles in the IAM User Guide.
  945. */
  946. removeRoleFromInstanceProfile(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  947. /**
  948. * Removes the specified user from the specified group.
  949. */
  950. removeUserFromGroup(params: IAM.Types.RemoveUserFromGroupRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  951. /**
  952. * Removes the specified user from the specified group.
  953. */
  954. removeUserFromGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  955. /**
  956. * Resets the password for a service-specific credential. The new password is Amazon Web Services generated and cryptographically strong. It cannot be configured by the user. Resetting the password immediately invalidates the previous password associated with this user.
  957. */
  958. resetServiceSpecificCredential(params: IAM.Types.ResetServiceSpecificCredentialRequest, callback?: (err: AWSError, data: IAM.Types.ResetServiceSpecificCredentialResponse) => void): Request<IAM.Types.ResetServiceSpecificCredentialResponse, AWSError>;
  959. /**
  960. * Resets the password for a service-specific credential. The new password is Amazon Web Services generated and cryptographically strong. It cannot be configured by the user. Resetting the password immediately invalidates the previous password associated with this user.
  961. */
  962. resetServiceSpecificCredential(callback?: (err: AWSError, data: IAM.Types.ResetServiceSpecificCredentialResponse) => void): Request<IAM.Types.ResetServiceSpecificCredentialResponse, AWSError>;
  963. /**
  964. * Synchronizes the specified MFA device with its IAM resource object on the Amazon Web Services servers. For more information about creating and working with virtual MFA devices, see Using a virtual MFA device in the IAM User Guide.
  965. */
  966. resyncMFADevice(params: IAM.Types.ResyncMFADeviceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  967. /**
  968. * Synchronizes the specified MFA device with its IAM resource object on the Amazon Web Services servers. For more information about creating and working with virtual MFA devices, see Using a virtual MFA device in the IAM User Guide.
  969. */
  970. resyncMFADevice(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  971. /**
  972. * Sets the specified version of the specified policy as the policy's default (operative) version. This operation affects all users, groups, and roles that the policy is attached to. To list the users, groups, and roles that the policy is attached to, use ListEntitiesForPolicy. For information about managed policies, see Managed policies and inline policies in the IAM User Guide.
  973. */
  974. setDefaultPolicyVersion(params: IAM.Types.SetDefaultPolicyVersionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  975. /**
  976. * Sets the specified version of the specified policy as the policy's default (operative) version. This operation affects all users, groups, and roles that the policy is attached to. To list the users, groups, and roles that the policy is attached to, use ListEntitiesForPolicy. For information about managed policies, see Managed policies and inline policies in the IAM User Guide.
  977. */
  978. setDefaultPolicyVersion(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  979. /**
  980. * Sets the specified version of the global endpoint token as the token version used for the Amazon Web Services account. By default, Security Token Service (STS) is available as a global service, and all STS requests go to a single endpoint at https://sts.amazonaws.com. Amazon Web Services recommends using Regional STS endpoints to reduce latency, build in redundancy, and increase session token availability. For information about Regional endpoints for STS, see Security Token Service endpoints and quotas in the Amazon Web Services General Reference. If you make an STS call to the global endpoint, the resulting session tokens might be valid in some Regions but not others. It depends on the version that is set in this operation. Version 1 tokens are valid only in Amazon Web Services Regions that are available by default. These tokens do not work in manually enabled Regions, such as Asia Pacific (Hong Kong). Version 2 tokens are valid in all Regions. However, version 2 tokens are longer and might affect systems where you temporarily store tokens. For information, see Activating and deactivating STS in an Amazon Web Services Region in the IAM User Guide. To view the current session token version, see the GlobalEndpointTokenVersion entry in the response of the GetAccountSummary operation.
  981. */
  982. setSecurityTokenServicePreferences(params: IAM.Types.SetSecurityTokenServicePreferencesRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  983. /**
  984. * Sets the specified version of the global endpoint token as the token version used for the Amazon Web Services account. By default, Security Token Service (STS) is available as a global service, and all STS requests go to a single endpoint at https://sts.amazonaws.com. Amazon Web Services recommends using Regional STS endpoints to reduce latency, build in redundancy, and increase session token availability. For information about Regional endpoints for STS, see Security Token Service endpoints and quotas in the Amazon Web Services General Reference. If you make an STS call to the global endpoint, the resulting session tokens might be valid in some Regions but not others. It depends on the version that is set in this operation. Version 1 tokens are valid only in Amazon Web Services Regions that are available by default. These tokens do not work in manually enabled Regions, such as Asia Pacific (Hong Kong). Version 2 tokens are valid in all Regions. However, version 2 tokens are longer and might affect systems where you temporarily store tokens. For information, see Activating and deactivating STS in an Amazon Web Services Region in the IAM User Guide. To view the current session token version, see the GlobalEndpointTokenVersion entry in the response of the GetAccountSummary operation.
  985. */
  986. setSecurityTokenServicePreferences(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  987. /**
  988. * Simulate how a set of IAM policies and optionally a resource-based policy works with a list of API operations and Amazon Web Services resources to determine the policies' effective permissions. The policies are provided as strings. The simulation does not perform the API operations; it only checks the authorization to determine if the simulated policies allow or deny the operations. You can simulate resources that don't exist in your account. If you want to simulate existing policies that are attached to an IAM user, group, or role, use SimulatePrincipalPolicy instead. Context keys are variables that are maintained by Amazon Web Services and its services and which provide details about the context of an API query request. You can use the Condition element of an IAM policy to evaluate context keys. To get the list of context keys that the policies require for correct simulation, use GetContextKeysForCustomPolicy. If the output is long, you can use MaxItems and Marker parameters to paginate the results. The IAM policy simulator evaluates statements in the identity-based policy and the inputs that you provide during simulation. The policy simulator results can differ from your live Amazon Web Services environment. We recommend that you check your policies against your live Amazon Web Services environment after testing using the policy simulator to confirm that you have the desired results. For more information about using the policy simulator, see Testing IAM policies with the IAM policy simulator in the IAM User Guide.
  989. */
  990. simulateCustomPolicy(params: IAM.Types.SimulateCustomPolicyRequest, callback?: (err: AWSError, data: IAM.Types.SimulatePolicyResponse) => void): Request<IAM.Types.SimulatePolicyResponse, AWSError>;
  991. /**
  992. * Simulate how a set of IAM policies and optionally a resource-based policy works with a list of API operations and Amazon Web Services resources to determine the policies' effective permissions. The policies are provided as strings. The simulation does not perform the API operations; it only checks the authorization to determine if the simulated policies allow or deny the operations. You can simulate resources that don't exist in your account. If you want to simulate existing policies that are attached to an IAM user, group, or role, use SimulatePrincipalPolicy instead. Context keys are variables that are maintained by Amazon Web Services and its services and which provide details about the context of an API query request. You can use the Condition element of an IAM policy to evaluate context keys. To get the list of context keys that the policies require for correct simulation, use GetContextKeysForCustomPolicy. If the output is long, you can use MaxItems and Marker parameters to paginate the results. The IAM policy simulator evaluates statements in the identity-based policy and the inputs that you provide during simulation. The policy simulator results can differ from your live Amazon Web Services environment. We recommend that you check your policies against your live Amazon Web Services environment after testing using the policy simulator to confirm that you have the desired results. For more information about using the policy simulator, see Testing IAM policies with the IAM policy simulator in the IAM User Guide.
  993. */
  994. simulateCustomPolicy(callback?: (err: AWSError, data: IAM.Types.SimulatePolicyResponse) => void): Request<IAM.Types.SimulatePolicyResponse, AWSError>;
  995. /**
  996. * Simulate how a set of IAM policies attached to an IAM entity works with a list of API operations and Amazon Web Services resources to determine the policies' effective permissions. The entity can be an IAM user, group, or role. If you specify a user, then the simulation also includes all of the policies that are attached to groups that the user belongs to. You can simulate resources that don't exist in your account. You can optionally include a list of one or more additional policies specified as strings to include in the simulation. If you want to simulate only policies specified as strings, use SimulateCustomPolicy instead. You can also optionally include one resource-based policy to be evaluated with each of the resources included in the simulation for IAM users only. The simulation does not perform the API operations; it only checks the authorization to determine if the simulated policies allow or deny the operations. Note: This operation discloses information about the permissions granted to other users. If you do not want users to see other user's permissions, then consider allowing them to use SimulateCustomPolicy instead. Context keys are variables maintained by Amazon Web Services and its services that provide details about the context of an API query request. You can use the Condition element of an IAM policy to evaluate context keys. To get the list of context keys that the policies require for correct simulation, use GetContextKeysForPrincipalPolicy. If the output is long, you can use the MaxItems and Marker parameters to paginate the results. The IAM policy simulator evaluates statements in the identity-based policy and the inputs that you provide during simulation. The policy simulator results can differ from your live Amazon Web Services environment. We recommend that you check your policies against your live Amazon Web Services environment after testing using the policy simulator to confirm that you have the desired results. For more information about using the policy simulator, see Testing IAM policies with the IAM policy simulator in the IAM User Guide.
  997. */
  998. simulatePrincipalPolicy(params: IAM.Types.SimulatePrincipalPolicyRequest, callback?: (err: AWSError, data: IAM.Types.SimulatePolicyResponse) => void): Request<IAM.Types.SimulatePolicyResponse, AWSError>;
  999. /**
  1000. * Simulate how a set of IAM policies attached to an IAM entity works with a list of API operations and Amazon Web Services resources to determine the policies' effective permissions. The entity can be an IAM user, group, or role. If you specify a user, then the simulation also includes all of the policies that are attached to groups that the user belongs to. You can simulate resources that don't exist in your account. You can optionally include a list of one or more additional policies specified as strings to include in the simulation. If you want to simulate only policies specified as strings, use SimulateCustomPolicy instead. You can also optionally include one resource-based policy to be evaluated with each of the resources included in the simulation for IAM users only. The simulation does not perform the API operations; it only checks the authorization to determine if the simulated policies allow or deny the operations. Note: This operation discloses information about the permissions granted to other users. If you do not want users to see other user's permissions, then consider allowing them to use SimulateCustomPolicy instead. Context keys are variables maintained by Amazon Web Services and its services that provide details about the context of an API query request. You can use the Condition element of an IAM policy to evaluate context keys. To get the list of context keys that the policies require for correct simulation, use GetContextKeysForPrincipalPolicy. If the output is long, you can use the MaxItems and Marker parameters to paginate the results. The IAM policy simulator evaluates statements in the identity-based policy and the inputs that you provide during simulation. The policy simulator results can differ from your live Amazon Web Services environment. We recommend that you check your policies against your live Amazon Web Services environment after testing using the policy simulator to confirm that you have the desired results. For more information about using the policy simulator, see Testing IAM policies with the IAM policy simulator in the IAM User Guide.
  1001. */
  1002. simulatePrincipalPolicy(callback?: (err: AWSError, data: IAM.Types.SimulatePolicyResponse) => void): Request<IAM.Types.SimulatePolicyResponse, AWSError>;
  1003. /**
  1004. * Adds one or more tags to an IAM instance profile. If a tag with the same key name already exists, then that tag is overwritten with the new value. Each tag consists of a key name and an associated value. By assigning tags to your resources, you can do the following: Administrative grouping and discovery - Attach tags to resources to aid in organization and search. For example, you could search for all resources with the key name Project and the value MyImportantProject. Or search for all resources with the key name Cost Center and the value 41200. Access control - Include tags in IAM user-based and resource-based policies. You can use tags to restrict access to only an IAM instance profile that has a specified tag attached. For examples of policies that show how to use tags to control access, see Control access using IAM tags in the IAM User Guide. If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created. For more information about tagging, see Tagging IAM resources in the IAM User Guide. Amazon Web Services always interprets the tag Value as a single string. If you need to store an array, you can store comma-separated values in the string. However, you must interpret the value in your code.
  1005. */
  1006. tagInstanceProfile(params: IAM.Types.TagInstanceProfileRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1007. /**
  1008. * Adds one or more tags to an IAM instance profile. If a tag with the same key name already exists, then that tag is overwritten with the new value. Each tag consists of a key name and an associated value. By assigning tags to your resources, you can do the following: Administrative grouping and discovery - Attach tags to resources to aid in organization and search. For example, you could search for all resources with the key name Project and the value MyImportantProject. Or search for all resources with the key name Cost Center and the value 41200. Access control - Include tags in IAM user-based and resource-based policies. You can use tags to restrict access to only an IAM instance profile that has a specified tag attached. For examples of policies that show how to use tags to control access, see Control access using IAM tags in the IAM User Guide. If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created. For more information about tagging, see Tagging IAM resources in the IAM User Guide. Amazon Web Services always interprets the tag Value as a single string. If you need to store an array, you can store comma-separated values in the string. However, you must interpret the value in your code.
  1009. */
  1010. tagInstanceProfile(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1011. /**
  1012. * Adds one or more tags to an IAM virtual multi-factor authentication (MFA) device. If a tag with the same key name already exists, then that tag is overwritten with the new value. A tag consists of a key name and an associated value. By assigning tags to your resources, you can do the following: Administrative grouping and discovery - Attach tags to resources to aid in organization and search. For example, you could search for all resources with the key name Project and the value MyImportantProject. Or search for all resources with the key name Cost Center and the value 41200. Access control - Include tags in IAM user-based and resource-based policies. You can use tags to restrict access to only an IAM virtual MFA device that has a specified tag attached. For examples of policies that show how to use tags to control access, see Control access using IAM tags in the IAM User Guide. If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created. For more information about tagging, see Tagging IAM resources in the IAM User Guide. Amazon Web Services always interprets the tag Value as a single string. If you need to store an array, you can store comma-separated values in the string. However, you must interpret the value in your code.
  1013. */
  1014. tagMFADevice(params: IAM.Types.TagMFADeviceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1015. /**
  1016. * Adds one or more tags to an IAM virtual multi-factor authentication (MFA) device. If a tag with the same key name already exists, then that tag is overwritten with the new value. A tag consists of a key name and an associated value. By assigning tags to your resources, you can do the following: Administrative grouping and discovery - Attach tags to resources to aid in organization and search. For example, you could search for all resources with the key name Project and the value MyImportantProject. Or search for all resources with the key name Cost Center and the value 41200. Access control - Include tags in IAM user-based and resource-based policies. You can use tags to restrict access to only an IAM virtual MFA device that has a specified tag attached. For examples of policies that show how to use tags to control access, see Control access using IAM tags in the IAM User Guide. If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created. For more information about tagging, see Tagging IAM resources in the IAM User Guide. Amazon Web Services always interprets the tag Value as a single string. If you need to store an array, you can store comma-separated values in the string. However, you must interpret the value in your code.
  1017. */
  1018. tagMFADevice(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1019. /**
  1020. * Adds one or more tags to an OpenID Connect (OIDC)-compatible identity provider. For more information about these providers, see About web identity federation. If a tag with the same key name already exists, then that tag is overwritten with the new value. A tag consists of a key name and an associated value. By assigning tags to your resources, you can do the following: Administrative grouping and discovery - Attach tags to resources to aid in organization and search. For example, you could search for all resources with the key name Project and the value MyImportantProject. Or search for all resources with the key name Cost Center and the value 41200. Access control - Include tags in IAM identity-based and resource-based policies. You can use tags to restrict access to only an OIDC provider that has a specified tag attached. For examples of policies that show how to use tags to control access, see Control access using IAM tags in the IAM User Guide. If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created. For more information about tagging, see Tagging IAM resources in the IAM User Guide. Amazon Web Services always interprets the tag Value as a single string. If you need to store an array, you can store comma-separated values in the string. However, you must interpret the value in your code.
  1021. */
  1022. tagOpenIDConnectProvider(params: IAM.Types.TagOpenIDConnectProviderRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1023. /**
  1024. * Adds one or more tags to an OpenID Connect (OIDC)-compatible identity provider. For more information about these providers, see About web identity federation. If a tag with the same key name already exists, then that tag is overwritten with the new value. A tag consists of a key name and an associated value. By assigning tags to your resources, you can do the following: Administrative grouping and discovery - Attach tags to resources to aid in organization and search. For example, you could search for all resources with the key name Project and the value MyImportantProject. Or search for all resources with the key name Cost Center and the value 41200. Access control - Include tags in IAM identity-based and resource-based policies. You can use tags to restrict access to only an OIDC provider that has a specified tag attached. For examples of policies that show how to use tags to control access, see Control access using IAM tags in the IAM User Guide. If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created. For more information about tagging, see Tagging IAM resources in the IAM User Guide. Amazon Web Services always interprets the tag Value as a single string. If you need to store an array, you can store comma-separated values in the string. However, you must interpret the value in your code.
  1025. */
  1026. tagOpenIDConnectProvider(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1027. /**
  1028. * Adds one or more tags to an IAM customer managed policy. If a tag with the same key name already exists, then that tag is overwritten with the new value. A tag consists of a key name and an associated value. By assigning tags to your resources, you can do the following: Administrative grouping and discovery - Attach tags to resources to aid in organization and search. For example, you could search for all resources with the key name Project and the value MyImportantProject. Or search for all resources with the key name Cost Center and the value 41200. Access control - Include tags in IAM user-based and resource-based policies. You can use tags to restrict access to only an IAM customer managed policy that has a specified tag attached. For examples of policies that show how to use tags to control access, see Control access using IAM tags in the IAM User Guide. If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created. For more information about tagging, see Tagging IAM resources in the IAM User Guide. Amazon Web Services always interprets the tag Value as a single string. If you need to store an array, you can store comma-separated values in the string. However, you must interpret the value in your code.
  1029. */
  1030. tagPolicy(params: IAM.Types.TagPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1031. /**
  1032. * Adds one or more tags to an IAM customer managed policy. If a tag with the same key name already exists, then that tag is overwritten with the new value. A tag consists of a key name and an associated value. By assigning tags to your resources, you can do the following: Administrative grouping and discovery - Attach tags to resources to aid in organization and search. For example, you could search for all resources with the key name Project and the value MyImportantProject. Or search for all resources with the key name Cost Center and the value 41200. Access control - Include tags in IAM user-based and resource-based policies. You can use tags to restrict access to only an IAM customer managed policy that has a specified tag attached. For examples of policies that show how to use tags to control access, see Control access using IAM tags in the IAM User Guide. If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created. For more information about tagging, see Tagging IAM resources in the IAM User Guide. Amazon Web Services always interprets the tag Value as a single string. If you need to store an array, you can store comma-separated values in the string. However, you must interpret the value in your code.
  1033. */
  1034. tagPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1035. /**
  1036. * Adds one or more tags to an IAM role. The role can be a regular role or a service-linked role. If a tag with the same key name already exists, then that tag is overwritten with the new value. A tag consists of a key name and an associated value. By assigning tags to your resources, you can do the following: Administrative grouping and discovery - Attach tags to resources to aid in organization and search. For example, you could search for all resources with the key name Project and the value MyImportantProject. Or search for all resources with the key name Cost Center and the value 41200. Access control - Include tags in IAM user-based and resource-based policies. You can use tags to restrict access to only an IAM role that has a specified tag attached. You can also restrict access to only those resources that have a certain tag attached. For examples of policies that show how to use tags to control access, see Control access using IAM tags in the IAM User Guide. Cost allocation - Use tags to help track which individuals and teams are using which Amazon Web Services resources. If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created. For more information about tagging, see Tagging IAM resources in the IAM User Guide. Amazon Web Services always interprets the tag Value as a single string. If you need to store an array, you can store comma-separated values in the string. However, you must interpret the value in your code. For more information about tagging, see Tagging IAM identities in the IAM User Guide.
  1037. */
  1038. tagRole(params: IAM.Types.TagRoleRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1039. /**
  1040. * Adds one or more tags to an IAM role. The role can be a regular role or a service-linked role. If a tag with the same key name already exists, then that tag is overwritten with the new value. A tag consists of a key name and an associated value. By assigning tags to your resources, you can do the following: Administrative grouping and discovery - Attach tags to resources to aid in organization and search. For example, you could search for all resources with the key name Project and the value MyImportantProject. Or search for all resources with the key name Cost Center and the value 41200. Access control - Include tags in IAM user-based and resource-based policies. You can use tags to restrict access to only an IAM role that has a specified tag attached. You can also restrict access to only those resources that have a certain tag attached. For examples of policies that show how to use tags to control access, see Control access using IAM tags in the IAM User Guide. Cost allocation - Use tags to help track which individuals and teams are using which Amazon Web Services resources. If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created. For more information about tagging, see Tagging IAM resources in the IAM User Guide. Amazon Web Services always interprets the tag Value as a single string. If you need to store an array, you can store comma-separated values in the string. However, you must interpret the value in your code. For more information about tagging, see Tagging IAM identities in the IAM User Guide.
  1041. */
  1042. tagRole(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1043. /**
  1044. * Adds one or more tags to a Security Assertion Markup Language (SAML) identity provider. For more information about these providers, see About SAML 2.0-based federation . If a tag with the same key name already exists, then that tag is overwritten with the new value. A tag consists of a key name and an associated value. By assigning tags to your resources, you can do the following: Administrative grouping and discovery - Attach tags to resources to aid in organization and search. For example, you could search for all resources with the key name Project and the value MyImportantProject. Or search for all resources with the key name Cost Center and the value 41200. Access control - Include tags in IAM user-based and resource-based policies. You can use tags to restrict access to only a SAML identity provider that has a specified tag attached. For examples of policies that show how to use tags to control access, see Control access using IAM tags in the IAM User Guide. If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created. For more information about tagging, see Tagging IAM resources in the IAM User Guide. Amazon Web Services always interprets the tag Value as a single string. If you need to store an array, you can store comma-separated values in the string. However, you must interpret the value in your code.
  1045. */
  1046. tagSAMLProvider(params: IAM.Types.TagSAMLProviderRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1047. /**
  1048. * Adds one or more tags to a Security Assertion Markup Language (SAML) identity provider. For more information about these providers, see About SAML 2.0-based federation . If a tag with the same key name already exists, then that tag is overwritten with the new value. A tag consists of a key name and an associated value. By assigning tags to your resources, you can do the following: Administrative grouping and discovery - Attach tags to resources to aid in organization and search. For example, you could search for all resources with the key name Project and the value MyImportantProject. Or search for all resources with the key name Cost Center and the value 41200. Access control - Include tags in IAM user-based and resource-based policies. You can use tags to restrict access to only a SAML identity provider that has a specified tag attached. For examples of policies that show how to use tags to control access, see Control access using IAM tags in the IAM User Guide. If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created. For more information about tagging, see Tagging IAM resources in the IAM User Guide. Amazon Web Services always interprets the tag Value as a single string. If you need to store an array, you can store comma-separated values in the string. However, you must interpret the value in your code.
  1049. */
  1050. tagSAMLProvider(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1051. /**
  1052. * Adds one or more tags to an IAM server certificate. If a tag with the same key name already exists, then that tag is overwritten with the new value. For certificates in a Region supported by Certificate Manager (ACM), we recommend that you don't use IAM server certificates. Instead, use ACM to provision, manage, and deploy your server certificates. For more information about IAM server certificates, Working with server certificates in the IAM User Guide. A tag consists of a key name and an associated value. By assigning tags to your resources, you can do the following: Administrative grouping and discovery - Attach tags to resources to aid in organization and search. For example, you could search for all resources with the key name Project and the value MyImportantProject. Or search for all resources with the key name Cost Center and the value 41200. Access control - Include tags in IAM user-based and resource-based policies. You can use tags to restrict access to only a server certificate that has a specified tag attached. For examples of policies that show how to use tags to control access, see Control access using IAM tags in the IAM User Guide. Cost allocation - Use tags to help track which individuals and teams are using which Amazon Web Services resources. If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created. For more information about tagging, see Tagging IAM resources in the IAM User Guide. Amazon Web Services always interprets the tag Value as a single string. If you need to store an array, you can store comma-separated values in the string. However, you must interpret the value in your code.
  1053. */
  1054. tagServerCertificate(params: IAM.Types.TagServerCertificateRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1055. /**
  1056. * Adds one or more tags to an IAM server certificate. If a tag with the same key name already exists, then that tag is overwritten with the new value. For certificates in a Region supported by Certificate Manager (ACM), we recommend that you don't use IAM server certificates. Instead, use ACM to provision, manage, and deploy your server certificates. For more information about IAM server certificates, Working with server certificates in the IAM User Guide. A tag consists of a key name and an associated value. By assigning tags to your resources, you can do the following: Administrative grouping and discovery - Attach tags to resources to aid in organization and search. For example, you could search for all resources with the key name Project and the value MyImportantProject. Or search for all resources with the key name Cost Center and the value 41200. Access control - Include tags in IAM user-based and resource-based policies. You can use tags to restrict access to only a server certificate that has a specified tag attached. For examples of policies that show how to use tags to control access, see Control access using IAM tags in the IAM User Guide. Cost allocation - Use tags to help track which individuals and teams are using which Amazon Web Services resources. If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created. For more information about tagging, see Tagging IAM resources in the IAM User Guide. Amazon Web Services always interprets the tag Value as a single string. If you need to store an array, you can store comma-separated values in the string. However, you must interpret the value in your code.
  1057. */
  1058. tagServerCertificate(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1059. /**
  1060. * Adds one or more tags to an IAM user. If a tag with the same key name already exists, then that tag is overwritten with the new value. A tag consists of a key name and an associated value. By assigning tags to your resources, you can do the following: Administrative grouping and discovery - Attach tags to resources to aid in organization and search. For example, you could search for all resources with the key name Project and the value MyImportantProject. Or search for all resources with the key name Cost Center and the value 41200. Access control - Include tags in IAM identity-based and resource-based policies. You can use tags to restrict access to only an IAM requesting user that has a specified tag attached. You can also restrict access to only those resources that have a certain tag attached. For examples of policies that show how to use tags to control access, see Control access using IAM tags in the IAM User Guide. Cost allocation - Use tags to help track which individuals and teams are using which Amazon Web Services resources. If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created. For more information about tagging, see Tagging IAM resources in the IAM User Guide. Amazon Web Services always interprets the tag Value as a single string. If you need to store an array, you can store comma-separated values in the string. However, you must interpret the value in your code. For more information about tagging, see Tagging IAM identities in the IAM User Guide.
  1061. */
  1062. tagUser(params: IAM.Types.TagUserRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1063. /**
  1064. * Adds one or more tags to an IAM user. If a tag with the same key name already exists, then that tag is overwritten with the new value. A tag consists of a key name and an associated value. By assigning tags to your resources, you can do the following: Administrative grouping and discovery - Attach tags to resources to aid in organization and search. For example, you could search for all resources with the key name Project and the value MyImportantProject. Or search for all resources with the key name Cost Center and the value 41200. Access control - Include tags in IAM identity-based and resource-based policies. You can use tags to restrict access to only an IAM requesting user that has a specified tag attached. You can also restrict access to only those resources that have a certain tag attached. For examples of policies that show how to use tags to control access, see Control access using IAM tags in the IAM User Guide. Cost allocation - Use tags to help track which individuals and teams are using which Amazon Web Services resources. If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created. For more information about tagging, see Tagging IAM resources in the IAM User Guide. Amazon Web Services always interprets the tag Value as a single string. If you need to store an array, you can store comma-separated values in the string. However, you must interpret the value in your code. For more information about tagging, see Tagging IAM identities in the IAM User Guide.
  1065. */
  1066. tagUser(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1067. /**
  1068. * Removes the specified tags from the IAM instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  1069. */
  1070. untagInstanceProfile(params: IAM.Types.UntagInstanceProfileRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1071. /**
  1072. * Removes the specified tags from the IAM instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  1073. */
  1074. untagInstanceProfile(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1075. /**
  1076. * Removes the specified tags from the IAM virtual multi-factor authentication (MFA) device. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  1077. */
  1078. untagMFADevice(params: IAM.Types.UntagMFADeviceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1079. /**
  1080. * Removes the specified tags from the IAM virtual multi-factor authentication (MFA) device. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  1081. */
  1082. untagMFADevice(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1083. /**
  1084. * Removes the specified tags from the specified OpenID Connect (OIDC)-compatible identity provider in IAM. For more information about OIDC providers, see About web identity federation. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  1085. */
  1086. untagOpenIDConnectProvider(params: IAM.Types.UntagOpenIDConnectProviderRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1087. /**
  1088. * Removes the specified tags from the specified OpenID Connect (OIDC)-compatible identity provider in IAM. For more information about OIDC providers, see About web identity federation. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  1089. */
  1090. untagOpenIDConnectProvider(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1091. /**
  1092. * Removes the specified tags from the customer managed policy. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  1093. */
  1094. untagPolicy(params: IAM.Types.UntagPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1095. /**
  1096. * Removes the specified tags from the customer managed policy. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  1097. */
  1098. untagPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1099. /**
  1100. * Removes the specified tags from the role. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  1101. */
  1102. untagRole(params: IAM.Types.UntagRoleRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1103. /**
  1104. * Removes the specified tags from the role. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  1105. */
  1106. untagRole(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1107. /**
  1108. * Removes the specified tags from the specified Security Assertion Markup Language (SAML) identity provider in IAM. For more information about these providers, see About web identity federation. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  1109. */
  1110. untagSAMLProvider(params: IAM.Types.UntagSAMLProviderRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1111. /**
  1112. * Removes the specified tags from the specified Security Assertion Markup Language (SAML) identity provider in IAM. For more information about these providers, see About web identity federation. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  1113. */
  1114. untagSAMLProvider(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1115. /**
  1116. * Removes the specified tags from the IAM server certificate. For more information about tagging, see Tagging IAM resources in the IAM User Guide. For certificates in a Region supported by Certificate Manager (ACM), we recommend that you don't use IAM server certificates. Instead, use ACM to provision, manage, and deploy your server certificates. For more information about IAM server certificates, Working with server certificates in the IAM User Guide.
  1117. */
  1118. untagServerCertificate(params: IAM.Types.UntagServerCertificateRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1119. /**
  1120. * Removes the specified tags from the IAM server certificate. For more information about tagging, see Tagging IAM resources in the IAM User Guide. For certificates in a Region supported by Certificate Manager (ACM), we recommend that you don't use IAM server certificates. Instead, use ACM to provision, manage, and deploy your server certificates. For more information about IAM server certificates, Working with server certificates in the IAM User Guide.
  1121. */
  1122. untagServerCertificate(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1123. /**
  1124. * Removes the specified tags from the user. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  1125. */
  1126. untagUser(params: IAM.Types.UntagUserRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1127. /**
  1128. * Removes the specified tags from the user. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  1129. */
  1130. untagUser(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1131. /**
  1132. * Changes the status of the specified access key from Active to Inactive, or vice versa. This operation can be used to disable a user's key as part of a key rotation workflow. If the UserName is not specified, the user name is determined implicitly based on the Amazon Web Services access key ID used to sign the request. If a temporary access key is used, then UserName is required. If a long-term key is assigned to the user, then UserName is not required. This operation works for access keys under the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root user credentials even if the Amazon Web Services account has no associated users. For information about rotating keys, see Managing keys and certificates in the IAM User Guide.
  1133. */
  1134. updateAccessKey(params: IAM.Types.UpdateAccessKeyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1135. /**
  1136. * Changes the status of the specified access key from Active to Inactive, or vice versa. This operation can be used to disable a user's key as part of a key rotation workflow. If the UserName is not specified, the user name is determined implicitly based on the Amazon Web Services access key ID used to sign the request. If a temporary access key is used, then UserName is required. If a long-term key is assigned to the user, then UserName is not required. This operation works for access keys under the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root user credentials even if the Amazon Web Services account has no associated users. For information about rotating keys, see Managing keys and certificates in the IAM User Guide.
  1137. */
  1138. updateAccessKey(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1139. /**
  1140. * Updates the password policy settings for the Amazon Web Services account. This operation does not support partial updates. No parameters are required, but if you do not specify a parameter, that parameter's value reverts to its default value. See the Request Parameters section for each parameter's default value. Also note that some parameters do not allow the default parameter to be explicitly set. Instead, to invoke the default value, do not include that parameter when you invoke the operation. For more information about using a password policy, see Managing an IAM password policy in the IAM User Guide.
  1141. */
  1142. updateAccountPasswordPolicy(params: IAM.Types.UpdateAccountPasswordPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1143. /**
  1144. * Updates the password policy settings for the Amazon Web Services account. This operation does not support partial updates. No parameters are required, but if you do not specify a parameter, that parameter's value reverts to its default value. See the Request Parameters section for each parameter's default value. Also note that some parameters do not allow the default parameter to be explicitly set. Instead, to invoke the default value, do not include that parameter when you invoke the operation. For more information about using a password policy, see Managing an IAM password policy in the IAM User Guide.
  1145. */
  1146. updateAccountPasswordPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1147. /**
  1148. * Updates the policy that grants an IAM entity permission to assume a role. This is typically referred to as the "role trust policy". For more information about roles, see Using roles to delegate permissions and federate identities.
  1149. */
  1150. updateAssumeRolePolicy(params: IAM.Types.UpdateAssumeRolePolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1151. /**
  1152. * Updates the policy that grants an IAM entity permission to assume a role. This is typically referred to as the "role trust policy". For more information about roles, see Using roles to delegate permissions and federate identities.
  1153. */
  1154. updateAssumeRolePolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1155. /**
  1156. * Updates the name and/or the path of the specified IAM group. You should understand the implications of changing a group's path or name. For more information, see Renaming users and groups in the IAM User Guide. The person making the request (the principal), must have permission to change the role group with the old name and the new name. For example, to change the group named Managers to MGRs, the principal must have a policy that allows them to update both groups. If the principal has permission to update the Managers group, but not the MGRs group, then the update fails. For more information about permissions, see Access management.
  1157. */
  1158. updateGroup(params: IAM.Types.UpdateGroupRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1159. /**
  1160. * Updates the name and/or the path of the specified IAM group. You should understand the implications of changing a group's path or name. For more information, see Renaming users and groups in the IAM User Guide. The person making the request (the principal), must have permission to change the role group with the old name and the new name. For example, to change the group named Managers to MGRs, the principal must have a policy that allows them to update both groups. If the principal has permission to update the Managers group, but not the MGRs group, then the update fails. For more information about permissions, see Access management.
  1161. */
  1162. updateGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1163. /**
  1164. * Changes the password for the specified IAM user. You can use the CLI, the Amazon Web Services API, or the Users page in the IAM console to change the password for any IAM user. Use ChangePassword to change your own password in the My Security Credentials page in the Amazon Web Services Management Console. For more information about modifying passwords, see Managing passwords in the IAM User Guide.
  1165. */
  1166. updateLoginProfile(params: IAM.Types.UpdateLoginProfileRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1167. /**
  1168. * Changes the password for the specified IAM user. You can use the CLI, the Amazon Web Services API, or the Users page in the IAM console to change the password for any IAM user. Use ChangePassword to change your own password in the My Security Credentials page in the Amazon Web Services Management Console. For more information about modifying passwords, see Managing passwords in the IAM User Guide.
  1169. */
  1170. updateLoginProfile(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1171. /**
  1172. * Replaces the existing list of server certificate thumbprints associated with an OpenID Connect (OIDC) provider resource object with a new list of thumbprints. The list that you pass with this operation completely replaces the existing list of thumbprints. (The lists are not merged.) Typically, you need to update a thumbprint only when the identity provider certificate changes, which occurs rarely. However, if the provider's certificate does change, any attempt to assume an IAM role that specifies the OIDC provider as a principal fails until the certificate thumbprint is updated. Amazon Web Services secures communication with some OIDC identity providers (IdPs) through our library of trusted root certificate authorities (CAs) instead of using a certificate thumbprint to verify your IdP server certificate. In these cases, your legacy thumbprint remains in your configuration, but is no longer used for validation. These OIDC IdPs include Auth0, GitHub, GitLab, Google, and those that use an Amazon S3 bucket to host a JSON Web Key Set (JWKS) endpoint. Trust for the OIDC provider is derived from the provider certificate and is validated by the thumbprint. Therefore, it is best to limit access to the UpdateOpenIDConnectProviderThumbprint operation to highly privileged users.
  1173. */
  1174. updateOpenIDConnectProviderThumbprint(params: IAM.Types.UpdateOpenIDConnectProviderThumbprintRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1175. /**
  1176. * Replaces the existing list of server certificate thumbprints associated with an OpenID Connect (OIDC) provider resource object with a new list of thumbprints. The list that you pass with this operation completely replaces the existing list of thumbprints. (The lists are not merged.) Typically, you need to update a thumbprint only when the identity provider certificate changes, which occurs rarely. However, if the provider's certificate does change, any attempt to assume an IAM role that specifies the OIDC provider as a principal fails until the certificate thumbprint is updated. Amazon Web Services secures communication with some OIDC identity providers (IdPs) through our library of trusted root certificate authorities (CAs) instead of using a certificate thumbprint to verify your IdP server certificate. In these cases, your legacy thumbprint remains in your configuration, but is no longer used for validation. These OIDC IdPs include Auth0, GitHub, GitLab, Google, and those that use an Amazon S3 bucket to host a JSON Web Key Set (JWKS) endpoint. Trust for the OIDC provider is derived from the provider certificate and is validated by the thumbprint. Therefore, it is best to limit access to the UpdateOpenIDConnectProviderThumbprint operation to highly privileged users.
  1177. */
  1178. updateOpenIDConnectProviderThumbprint(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1179. /**
  1180. * Updates the description or maximum session duration setting of a role.
  1181. */
  1182. updateRole(params: IAM.Types.UpdateRoleRequest, callback?: (err: AWSError, data: IAM.Types.UpdateRoleResponse) => void): Request<IAM.Types.UpdateRoleResponse, AWSError>;
  1183. /**
  1184. * Updates the description or maximum session duration setting of a role.
  1185. */
  1186. updateRole(callback?: (err: AWSError, data: IAM.Types.UpdateRoleResponse) => void): Request<IAM.Types.UpdateRoleResponse, AWSError>;
  1187. /**
  1188. * Use UpdateRole instead. Modifies only the description of a role. This operation performs the same function as the Description parameter in the UpdateRole operation.
  1189. */
  1190. updateRoleDescription(params: IAM.Types.UpdateRoleDescriptionRequest, callback?: (err: AWSError, data: IAM.Types.UpdateRoleDescriptionResponse) => void): Request<IAM.Types.UpdateRoleDescriptionResponse, AWSError>;
  1191. /**
  1192. * Use UpdateRole instead. Modifies only the description of a role. This operation performs the same function as the Description parameter in the UpdateRole operation.
  1193. */
  1194. updateRoleDescription(callback?: (err: AWSError, data: IAM.Types.UpdateRoleDescriptionResponse) => void): Request<IAM.Types.UpdateRoleDescriptionResponse, AWSError>;
  1195. /**
  1196. * Updates the metadata document for an existing SAML provider resource object. This operation requires Signature Version 4.
  1197. */
  1198. updateSAMLProvider(params: IAM.Types.UpdateSAMLProviderRequest, callback?: (err: AWSError, data: IAM.Types.UpdateSAMLProviderResponse) => void): Request<IAM.Types.UpdateSAMLProviderResponse, AWSError>;
  1199. /**
  1200. * Updates the metadata document for an existing SAML provider resource object. This operation requires Signature Version 4.
  1201. */
  1202. updateSAMLProvider(callback?: (err: AWSError, data: IAM.Types.UpdateSAMLProviderResponse) => void): Request<IAM.Types.UpdateSAMLProviderResponse, AWSError>;
  1203. /**
  1204. * Sets the status of an IAM user's SSH public key to active or inactive. SSH public keys that are inactive cannot be used for authentication. This operation can be used to disable a user's SSH public key as part of a key rotation work flow. The SSH public key affected by this operation is used only for authenticating the associated IAM user to an CodeCommit repository. For more information about using SSH keys to authenticate to an CodeCommit repository, see Set up CodeCommit for SSH connections in the CodeCommit User Guide.
  1205. */
  1206. updateSSHPublicKey(params: IAM.Types.UpdateSSHPublicKeyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1207. /**
  1208. * Sets the status of an IAM user's SSH public key to active or inactive. SSH public keys that are inactive cannot be used for authentication. This operation can be used to disable a user's SSH public key as part of a key rotation work flow. The SSH public key affected by this operation is used only for authenticating the associated IAM user to an CodeCommit repository. For more information about using SSH keys to authenticate to an CodeCommit repository, see Set up CodeCommit for SSH connections in the CodeCommit User Guide.
  1209. */
  1210. updateSSHPublicKey(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1211. /**
  1212. * Updates the name and/or the path of the specified server certificate stored in IAM. For more information about working with server certificates, see Working with server certificates in the IAM User Guide. This topic also includes a list of Amazon Web Services services that can use the server certificates that you manage with IAM. You should understand the implications of changing a server certificate's path or name. For more information, see Renaming a server certificate in the IAM User Guide. The person making the request (the principal), must have permission to change the server certificate with the old name and the new name. For example, to change the certificate named ProductionCert to ProdCert, the principal must have a policy that allows them to update both certificates. If the principal has permission to update the ProductionCert group, but not the ProdCert certificate, then the update fails. For more information about permissions, see Access management in the IAM User Guide.
  1213. */
  1214. updateServerCertificate(params: IAM.Types.UpdateServerCertificateRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1215. /**
  1216. * Updates the name and/or the path of the specified server certificate stored in IAM. For more information about working with server certificates, see Working with server certificates in the IAM User Guide. This topic also includes a list of Amazon Web Services services that can use the server certificates that you manage with IAM. You should understand the implications of changing a server certificate's path or name. For more information, see Renaming a server certificate in the IAM User Guide. The person making the request (the principal), must have permission to change the server certificate with the old name and the new name. For example, to change the certificate named ProductionCert to ProdCert, the principal must have a policy that allows them to update both certificates. If the principal has permission to update the ProductionCert group, but not the ProdCert certificate, then the update fails. For more information about permissions, see Access management in the IAM User Guide.
  1217. */
  1218. updateServerCertificate(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1219. /**
  1220. * Sets the status of a service-specific credential to Active or Inactive. Service-specific credentials that are inactive cannot be used for authentication to the service. This operation can be used to disable a user's service-specific credential as part of a credential rotation work flow.
  1221. */
  1222. updateServiceSpecificCredential(params: IAM.Types.UpdateServiceSpecificCredentialRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1223. /**
  1224. * Sets the status of a service-specific credential to Active or Inactive. Service-specific credentials that are inactive cannot be used for authentication to the service. This operation can be used to disable a user's service-specific credential as part of a credential rotation work flow.
  1225. */
  1226. updateServiceSpecificCredential(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1227. /**
  1228. * Changes the status of the specified user signing certificate from active to disabled, or vice versa. This operation can be used to disable an IAM user's signing certificate as part of a certificate rotation work flow. If the UserName field is not specified, the user name is determined implicitly based on the Amazon Web Services access key ID used to sign the request. This operation works for access keys under the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root user credentials even if the Amazon Web Services account has no associated users.
  1229. */
  1230. updateSigningCertificate(params: IAM.Types.UpdateSigningCertificateRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1231. /**
  1232. * Changes the status of the specified user signing certificate from active to disabled, or vice versa. This operation can be used to disable an IAM user's signing certificate as part of a certificate rotation work flow. If the UserName field is not specified, the user name is determined implicitly based on the Amazon Web Services access key ID used to sign the request. This operation works for access keys under the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root user credentials even if the Amazon Web Services account has no associated users.
  1233. */
  1234. updateSigningCertificate(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1235. /**
  1236. * Updates the name and/or the path of the specified IAM user. You should understand the implications of changing an IAM user's path or name. For more information, see Renaming an IAM user and Renaming an IAM group in the IAM User Guide. To change a user name, the requester must have appropriate permissions on both the source object and the target object. For example, to change Bob to Robert, the entity making the request must have permission on Bob and Robert, or must have permission on all (*). For more information about permissions, see Permissions and policies.
  1237. */
  1238. updateUser(params: IAM.Types.UpdateUserRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1239. /**
  1240. * Updates the name and/or the path of the specified IAM user. You should understand the implications of changing an IAM user's path or name. For more information, see Renaming an IAM user and Renaming an IAM group in the IAM User Guide. To change a user name, the requester must have appropriate permissions on both the source object and the target object. For example, to change Bob to Robert, the entity making the request must have permission on Bob and Robert, or must have permission on all (*). For more information about permissions, see Permissions and policies.
  1241. */
  1242. updateUser(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  1243. /**
  1244. * Uploads an SSH public key and associates it with the specified IAM user. The SSH public key uploaded by this operation can be used only for authenticating the associated IAM user to an CodeCommit repository. For more information about using SSH keys to authenticate to an CodeCommit repository, see Set up CodeCommit for SSH connections in the CodeCommit User Guide.
  1245. */
  1246. uploadSSHPublicKey(params: IAM.Types.UploadSSHPublicKeyRequest, callback?: (err: AWSError, data: IAM.Types.UploadSSHPublicKeyResponse) => void): Request<IAM.Types.UploadSSHPublicKeyResponse, AWSError>;
  1247. /**
  1248. * Uploads an SSH public key and associates it with the specified IAM user. The SSH public key uploaded by this operation can be used only for authenticating the associated IAM user to an CodeCommit repository. For more information about using SSH keys to authenticate to an CodeCommit repository, see Set up CodeCommit for SSH connections in the CodeCommit User Guide.
  1249. */
  1250. uploadSSHPublicKey(callback?: (err: AWSError, data: IAM.Types.UploadSSHPublicKeyResponse) => void): Request<IAM.Types.UploadSSHPublicKeyResponse, AWSError>;
  1251. /**
  1252. * Uploads a server certificate entity for the Amazon Web Services account. The server certificate entity includes a public key certificate, a private key, and an optional certificate chain, which should all be PEM-encoded. We recommend that you use Certificate Manager to provision, manage, and deploy your server certificates. With ACM you can request a certificate, deploy it to Amazon Web Services resources, and let ACM handle certificate renewals for you. Certificates provided by ACM are free. For more information about using ACM, see the Certificate Manager User Guide. For more information about working with server certificates, see Working with server certificates in the IAM User Guide. This topic includes a list of Amazon Web Services services that can use the server certificates that you manage with IAM. For information about the number of server certificates you can upload, see IAM and STS quotas in the IAM User Guide. Because the body of the public key certificate, private key, and the certificate chain can be large, you should use POST rather than GET when calling UploadServerCertificate. For information about setting up signatures and authorization through the API, see Signing Amazon Web Services API requests in the Amazon Web Services General Reference. For general information about using the Query API with IAM, see Calling the API by making HTTP query requests in the IAM User Guide.
  1253. */
  1254. uploadServerCertificate(params: IAM.Types.UploadServerCertificateRequest, callback?: (err: AWSError, data: IAM.Types.UploadServerCertificateResponse) => void): Request<IAM.Types.UploadServerCertificateResponse, AWSError>;
  1255. /**
  1256. * Uploads a server certificate entity for the Amazon Web Services account. The server certificate entity includes a public key certificate, a private key, and an optional certificate chain, which should all be PEM-encoded. We recommend that you use Certificate Manager to provision, manage, and deploy your server certificates. With ACM you can request a certificate, deploy it to Amazon Web Services resources, and let ACM handle certificate renewals for you. Certificates provided by ACM are free. For more information about using ACM, see the Certificate Manager User Guide. For more information about working with server certificates, see Working with server certificates in the IAM User Guide. This topic includes a list of Amazon Web Services services that can use the server certificates that you manage with IAM. For information about the number of server certificates you can upload, see IAM and STS quotas in the IAM User Guide. Because the body of the public key certificate, private key, and the certificate chain can be large, you should use POST rather than GET when calling UploadServerCertificate. For information about setting up signatures and authorization through the API, see Signing Amazon Web Services API requests in the Amazon Web Services General Reference. For general information about using the Query API with IAM, see Calling the API by making HTTP query requests in the IAM User Guide.
  1257. */
  1258. uploadServerCertificate(callback?: (err: AWSError, data: IAM.Types.UploadServerCertificateResponse) => void): Request<IAM.Types.UploadServerCertificateResponse, AWSError>;
  1259. /**
  1260. * Uploads an X.509 signing certificate and associates it with the specified IAM user. Some Amazon Web Services services require you to use certificates to validate requests that are signed with a corresponding private key. When you upload the certificate, its default status is Active. For information about when you would use an X.509 signing certificate, see Managing server certificates in IAM in the IAM User Guide. If the UserName is not specified, the IAM user name is determined implicitly based on the Amazon Web Services access key ID used to sign the request. This operation works for access keys under the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root user credentials even if the Amazon Web Services account has no associated users. Because the body of an X.509 certificate can be large, you should use POST rather than GET when calling UploadSigningCertificate. For information about setting up signatures and authorization through the API, see Signing Amazon Web Services API requests in the Amazon Web Services General Reference. For general information about using the Query API with IAM, see Making query requests in the IAM User Guide.
  1261. */
  1262. uploadSigningCertificate(params: IAM.Types.UploadSigningCertificateRequest, callback?: (err: AWSError, data: IAM.Types.UploadSigningCertificateResponse) => void): Request<IAM.Types.UploadSigningCertificateResponse, AWSError>;
  1263. /**
  1264. * Uploads an X.509 signing certificate and associates it with the specified IAM user. Some Amazon Web Services services require you to use certificates to validate requests that are signed with a corresponding private key. When you upload the certificate, its default status is Active. For information about when you would use an X.509 signing certificate, see Managing server certificates in IAM in the IAM User Guide. If the UserName is not specified, the IAM user name is determined implicitly based on the Amazon Web Services access key ID used to sign the request. This operation works for access keys under the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root user credentials even if the Amazon Web Services account has no associated users. Because the body of an X.509 certificate can be large, you should use POST rather than GET when calling UploadSigningCertificate. For information about setting up signatures and authorization through the API, see Signing Amazon Web Services API requests in the Amazon Web Services General Reference. For general information about using the Query API with IAM, see Making query requests in the IAM User Guide.
  1265. */
  1266. uploadSigningCertificate(callback?: (err: AWSError, data: IAM.Types.UploadSigningCertificateResponse) => void): Request<IAM.Types.UploadSigningCertificateResponse, AWSError>;
  1267. /**
  1268. * Waits for the instanceProfileExists state by periodically calling the underlying IAM.getInstanceProfileoperation every 1 seconds (at most 40 times).
  1269. */
  1270. waitFor(state: "instanceProfileExists", params: IAM.Types.GetInstanceProfileRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: IAM.Types.GetInstanceProfileResponse) => void): Request<IAM.Types.GetInstanceProfileResponse, AWSError>;
  1271. /**
  1272. * Waits for the instanceProfileExists state by periodically calling the underlying IAM.getInstanceProfileoperation every 1 seconds (at most 40 times).
  1273. */
  1274. waitFor(state: "instanceProfileExists", callback?: (err: AWSError, data: IAM.Types.GetInstanceProfileResponse) => void): Request<IAM.Types.GetInstanceProfileResponse, AWSError>;
  1275. /**
  1276. * Waits for the userExists state by periodically calling the underlying IAM.getUseroperation every 1 seconds (at most 20 times).
  1277. */
  1278. waitFor(state: "userExists", params: IAM.Types.GetUserRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: IAM.Types.GetUserResponse) => void): Request<IAM.Types.GetUserResponse, AWSError>;
  1279. /**
  1280. * Waits for the userExists state by periodically calling the underlying IAM.getUseroperation every 1 seconds (at most 20 times).
  1281. */
  1282. waitFor(state: "userExists", callback?: (err: AWSError, data: IAM.Types.GetUserResponse) => void): Request<IAM.Types.GetUserResponse, AWSError>;
  1283. /**
  1284. * Waits for the roleExists state by periodically calling the underlying IAM.getRoleoperation every 1 seconds (at most 20 times).
  1285. */
  1286. waitFor(state: "roleExists", params: IAM.Types.GetRoleRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: IAM.Types.GetRoleResponse) => void): Request<IAM.Types.GetRoleResponse, AWSError>;
  1287. /**
  1288. * Waits for the roleExists state by periodically calling the underlying IAM.getRoleoperation every 1 seconds (at most 20 times).
  1289. */
  1290. waitFor(state: "roleExists", callback?: (err: AWSError, data: IAM.Types.GetRoleResponse) => void): Request<IAM.Types.GetRoleResponse, AWSError>;
  1291. /**
  1292. * Waits for the policyExists state by periodically calling the underlying IAM.getPolicyoperation every 1 seconds (at most 20 times).
  1293. */
  1294. waitFor(state: "policyExists", params: IAM.Types.GetPolicyRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: IAM.Types.GetPolicyResponse) => void): Request<IAM.Types.GetPolicyResponse, AWSError>;
  1295. /**
  1296. * Waits for the policyExists state by periodically calling the underlying IAM.getPolicyoperation every 1 seconds (at most 20 times).
  1297. */
  1298. waitFor(state: "policyExists", callback?: (err: AWSError, data: IAM.Types.GetPolicyResponse) => void): Request<IAM.Types.GetPolicyResponse, AWSError>;
  1299. }
  1300. declare namespace IAM {
  1301. export type AccessAdvisorUsageGranularityType = "SERVICE_LEVEL"|"ACTION_LEVEL"|string;
  1302. export interface AccessDetail {
  1303. /**
  1304. * The name of the service in which access was attempted.
  1305. */
  1306. ServiceName: serviceNameType;
  1307. /**
  1308. * The namespace of the service in which access was attempted. To learn the service namespace of a service, see Actions, resources, and condition keys for Amazon Web Services services in the Service Authorization Reference. Choose the name of the service to view details for that service. In the first paragraph, find the service prefix. For example, (service prefix: a4b). For more information about service namespaces, see Amazon Web Services service namespaces in the Amazon Web Services General Reference.
  1309. */
  1310. ServiceNamespace: serviceNamespaceType;
  1311. /**
  1312. * The Region where the last service access attempt occurred. This field is null if no principals in the reported Organizations entity attempted to access the service within the tracking period.
  1313. */
  1314. Region?: stringType;
  1315. /**
  1316. * The path of the Organizations entity (root, organizational unit, or account) from which an authenticated principal last attempted to access the service. Amazon Web Services does not report unauthenticated requests. This field is null if no principals (IAM users, IAM roles, or root user) in the reported Organizations entity attempted to access the service within the tracking period.
  1317. */
  1318. EntityPath?: organizationsEntityPathType;
  1319. /**
  1320. * The date and time, in ISO 8601 date-time format, when an authenticated principal most recently attempted to access the service. Amazon Web Services does not report unauthenticated requests. This field is null if no principals in the reported Organizations entity attempted to access the service within the tracking period.
  1321. */
  1322. LastAuthenticatedTime?: dateType;
  1323. /**
  1324. * The number of accounts with authenticated principals (root user, IAM users, and IAM roles) that attempted to access the service in the tracking period.
  1325. */
  1326. TotalAuthenticatedEntities?: integerType;
  1327. }
  1328. export type AccessDetails = AccessDetail[];
  1329. export interface AccessKey {
  1330. /**
  1331. * The name of the IAM user that the access key is associated with.
  1332. */
  1333. UserName: userNameType;
  1334. /**
  1335. * The ID for this access key.
  1336. */
  1337. AccessKeyId: accessKeyIdType;
  1338. /**
  1339. * The status of the access key. Active means that the key is valid for API calls, while Inactive means it is not.
  1340. */
  1341. Status: statusType;
  1342. /**
  1343. * The secret key used to sign requests.
  1344. */
  1345. SecretAccessKey: accessKeySecretType;
  1346. /**
  1347. * The date when the access key was created.
  1348. */
  1349. CreateDate?: dateType;
  1350. }
  1351. export interface AccessKeyLastUsed {
  1352. /**
  1353. * The date and time, in ISO 8601 date-time format, when the access key was most recently used. This field is null in the following situations: The user does not have an access key. An access key exists but has not been used since IAM began tracking this information. There is no sign-in data associated with the user.
  1354. */
  1355. LastUsedDate: dateType;
  1356. /**
  1357. * The name of the Amazon Web Services service with which this access key was most recently used. The value of this field is "N/A" in the following situations: The user does not have an access key. An access key exists but has not been used since IAM started tracking this information. There is no sign-in data associated with the user.
  1358. */
  1359. ServiceName: stringType;
  1360. /**
  1361. * The Amazon Web Services Region where this access key was most recently used. The value for this field is "N/A" in the following situations: The user does not have an access key. An access key exists but has not been used since IAM began tracking this information. There is no sign-in data associated with the user. For more information about Amazon Web Services Regions, see Regions and endpoints in the Amazon Web Services General Reference.
  1362. */
  1363. Region: stringType;
  1364. }
  1365. export interface AccessKeyMetadata {
  1366. /**
  1367. * The name of the IAM user that the key is associated with.
  1368. */
  1369. UserName?: userNameType;
  1370. /**
  1371. * The ID for this access key.
  1372. */
  1373. AccessKeyId?: accessKeyIdType;
  1374. /**
  1375. * The status of the access key. Active means that the key is valid for API calls; Inactive means it is not.
  1376. */
  1377. Status?: statusType;
  1378. /**
  1379. * The date when the access key was created.
  1380. */
  1381. CreateDate?: dateType;
  1382. }
  1383. export type ActionNameListType = ActionNameType[];
  1384. export type ActionNameType = string;
  1385. export interface AddClientIDToOpenIDConnectProviderRequest {
  1386. /**
  1387. * The Amazon Resource Name (ARN) of the IAM OpenID Connect (OIDC) provider resource to add the client ID to. You can get a list of OIDC provider ARNs by using the ListOpenIDConnectProviders operation.
  1388. */
  1389. OpenIDConnectProviderArn: arnType;
  1390. /**
  1391. * The client ID (also known as audience) to add to the IAM OpenID Connect provider resource.
  1392. */
  1393. ClientID: clientIDType;
  1394. }
  1395. export interface AddRoleToInstanceProfileRequest {
  1396. /**
  1397. * The name of the instance profile to update. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1398. */
  1399. InstanceProfileName: instanceProfileNameType;
  1400. /**
  1401. * The name of the role to add. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1402. */
  1403. RoleName: roleNameType;
  1404. }
  1405. export interface AddUserToGroupRequest {
  1406. /**
  1407. * The name of the group to update. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1408. */
  1409. GroupName: groupNameType;
  1410. /**
  1411. * The name of the user to add. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1412. */
  1413. UserName: existingUserNameType;
  1414. }
  1415. export type ArnListType = arnType[];
  1416. export interface AttachGroupPolicyRequest {
  1417. /**
  1418. * The name (friendly name, not ARN) of the group to attach the policy to. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1419. */
  1420. GroupName: groupNameType;
  1421. /**
  1422. * The Amazon Resource Name (ARN) of the IAM policy you want to attach. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
  1423. */
  1424. PolicyArn: arnType;
  1425. }
  1426. export interface AttachRolePolicyRequest {
  1427. /**
  1428. * The name (friendly name, not ARN) of the role to attach the policy to. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1429. */
  1430. RoleName: roleNameType;
  1431. /**
  1432. * The Amazon Resource Name (ARN) of the IAM policy you want to attach. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
  1433. */
  1434. PolicyArn: arnType;
  1435. }
  1436. export interface AttachUserPolicyRequest {
  1437. /**
  1438. * The name (friendly name, not ARN) of the IAM user to attach the policy to. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1439. */
  1440. UserName: userNameType;
  1441. /**
  1442. * The Amazon Resource Name (ARN) of the IAM policy you want to attach. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
  1443. */
  1444. PolicyArn: arnType;
  1445. }
  1446. export interface AttachedPermissionsBoundary {
  1447. /**
  1448. * The permissions boundary usage type that indicates what type of IAM resource is used as the permissions boundary for an entity. This data type can only have a value of Policy.
  1449. */
  1450. PermissionsBoundaryType?: PermissionsBoundaryAttachmentType;
  1451. /**
  1452. * The ARN of the policy used to set the permissions boundary for the user or role.
  1453. */
  1454. PermissionsBoundaryArn?: arnType;
  1455. }
  1456. export interface AttachedPolicy {
  1457. /**
  1458. * The friendly name of the attached policy.
  1459. */
  1460. PolicyName?: policyNameType;
  1461. PolicyArn?: arnType;
  1462. }
  1463. export type BootstrapDatum = Buffer|Uint8Array|Blob|string;
  1464. export type CertificationKeyType = string;
  1465. export type CertificationMapType = {[key: string]: CertificationValueType};
  1466. export type CertificationValueType = string;
  1467. export interface ChangePasswordRequest {
  1468. /**
  1469. * The IAM user's current password.
  1470. */
  1471. OldPassword: passwordType;
  1472. /**
  1473. * The new password. The new password must conform to the Amazon Web Services account's password policy, if one exists. The regex pattern that is used to validate this parameter is a string of characters. That string can include almost any printable ASCII character from the space (\u0020) through the end of the ASCII character range (\u00FF). You can also include the tab (\u0009), line feed (\u000A), and carriage return (\u000D) characters. Any of these characters are valid in a password. However, many tools, such as the Amazon Web Services Management Console, might restrict the ability to type certain characters because they have special meaning within that tool.
  1474. */
  1475. NewPassword: passwordType;
  1476. }
  1477. export type ColumnNumber = number;
  1478. export interface ContextEntry {
  1479. /**
  1480. * The full name of a condition context key, including the service prefix. For example, aws:SourceIp or s3:VersionId.
  1481. */
  1482. ContextKeyName?: ContextKeyNameType;
  1483. /**
  1484. * The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a Condition element in an input policy.
  1485. */
  1486. ContextKeyValues?: ContextKeyValueListType;
  1487. /**
  1488. * The data type of the value (or values) specified in the ContextKeyValues parameter.
  1489. */
  1490. ContextKeyType?: ContextKeyTypeEnum;
  1491. }
  1492. export type ContextEntryListType = ContextEntry[];
  1493. export type ContextKeyNameType = string;
  1494. export type ContextKeyNamesResultListType = ContextKeyNameType[];
  1495. export type ContextKeyTypeEnum = "string"|"stringList"|"numeric"|"numericList"|"boolean"|"booleanList"|"ip"|"ipList"|"binary"|"binaryList"|"date"|"dateList"|string;
  1496. export type ContextKeyValueListType = ContextKeyValueType[];
  1497. export type ContextKeyValueType = string;
  1498. export interface CreateAccessKeyRequest {
  1499. /**
  1500. * The name of the IAM user that the new key will belong to. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1501. */
  1502. UserName?: existingUserNameType;
  1503. }
  1504. export interface CreateAccessKeyResponse {
  1505. /**
  1506. * A structure with details about the access key.
  1507. */
  1508. AccessKey: AccessKey;
  1509. }
  1510. export interface CreateAccountAliasRequest {
  1511. /**
  1512. * The account alias to create. This parameter allows (through its regex pattern) a string of characters consisting of lowercase letters, digits, and dashes. You cannot start or finish with a dash, nor can you have two dashes in a row.
  1513. */
  1514. AccountAlias: accountAliasType;
  1515. }
  1516. export interface CreateGroupRequest {
  1517. /**
  1518. * The path to the group. For more information about paths, see IAM identifiers in the IAM User Guide. This parameter is optional. If it is not included, it defaults to a slash (/). This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.
  1519. */
  1520. Path?: pathType;
  1521. /**
  1522. * The name of the group to create. Do not include the path in this value. IAM user, group, role, and policy names must be unique within the account. Names are not distinguished by case. For example, you cannot create resources named both "MyResource" and "myresource".
  1523. */
  1524. GroupName: groupNameType;
  1525. }
  1526. export interface CreateGroupResponse {
  1527. /**
  1528. * A structure containing details about the new group.
  1529. */
  1530. Group: Group;
  1531. }
  1532. export interface CreateInstanceProfileRequest {
  1533. /**
  1534. * The name of the instance profile to create. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1535. */
  1536. InstanceProfileName: instanceProfileNameType;
  1537. /**
  1538. * The path to the instance profile. For more information about paths, see IAM Identifiers in the IAM User Guide. This parameter is optional. If it is not included, it defaults to a slash (/). This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.
  1539. */
  1540. Path?: pathType;
  1541. /**
  1542. * A list of tags that you want to attach to the newly created IAM instance profile. Each tag consists of a key name and an associated value. For more information about tagging, see Tagging IAM resources in the IAM User Guide. If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created.
  1543. */
  1544. Tags?: tagListType;
  1545. }
  1546. export interface CreateInstanceProfileResponse {
  1547. /**
  1548. * A structure containing details about the new instance profile.
  1549. */
  1550. InstanceProfile: InstanceProfile;
  1551. }
  1552. export interface CreateLoginProfileRequest {
  1553. /**
  1554. * The name of the IAM user to create a password for. The user must already exist. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1555. */
  1556. UserName: userNameType;
  1557. /**
  1558. * The new password for the user. The regex pattern that is used to validate this parameter is a string of characters. That string can include almost any printable ASCII character from the space (\u0020) through the end of the ASCII character range (\u00FF). You can also include the tab (\u0009), line feed (\u000A), and carriage return (\u000D) characters. Any of these characters are valid in a password. However, many tools, such as the Amazon Web Services Management Console, might restrict the ability to type certain characters because they have special meaning within that tool.
  1559. */
  1560. Password: passwordType;
  1561. /**
  1562. * Specifies whether the user is required to set a new password on next sign-in.
  1563. */
  1564. PasswordResetRequired?: booleanType;
  1565. }
  1566. export interface CreateLoginProfileResponse {
  1567. /**
  1568. * A structure containing the user name and password create date.
  1569. */
  1570. LoginProfile: LoginProfile;
  1571. }
  1572. export interface CreateOpenIDConnectProviderRequest {
  1573. /**
  1574. * The URL of the identity provider. The URL must begin with https:// and should correspond to the iss claim in the provider's OpenID Connect ID tokens. Per the OIDC standard, path components are allowed but query parameters are not. Typically the URL consists of only a hostname, like https://server.example.org or https://example.com. The URL should not contain a port number. You cannot register the same provider multiple times in a single Amazon Web Services account. If you try to submit a URL that has already been used for an OpenID Connect provider in the Amazon Web Services account, you will get an error.
  1575. */
  1576. Url: OpenIDConnectProviderUrlType;
  1577. /**
  1578. * Provides a list of client IDs, also known as audiences. When a mobile or web app registers with an OpenID Connect provider, they establish a value that identifies the application. This is the value that's sent as the client_id parameter on OAuth requests. You can register multiple client IDs with the same provider. For example, you might have multiple applications that use the same OIDC provider. You cannot register more than 100 client IDs with a single IAM OIDC provider. There is no defined format for a client ID. The CreateOpenIDConnectProviderRequest operation accepts client IDs up to 255 characters long.
  1579. */
  1580. ClientIDList?: clientIDListType;
  1581. /**
  1582. * A list of server certificate thumbprints for the OpenID Connect (OIDC) identity provider's server certificates. Typically this list includes only one entry. However, IAM lets you have up to five thumbprints for an OIDC provider. This lets you maintain multiple thumbprints if the identity provider is rotating certificates. This parameter is optional. If it is not included, IAM will retrieve and use the top intermediate certificate authority (CA) thumbprint of the OpenID Connect identity provider server certificate. The server certificate thumbprint is the hex-encoded SHA-1 hash value of the X.509 certificate used by the domain where the OpenID Connect provider makes its keys available. It is always a 40-character string. For example, assume that the OIDC provider is server.example.com and the provider stores its keys at https://keys.server.example.com/openid-connect. In that case, the thumbprint string would be the hex-encoded SHA-1 hash value of the certificate used by https://keys.server.example.com. For more information about obtaining the OIDC provider thumbprint, see Obtaining the thumbprint for an OpenID Connect provider in the IAM user Guide.
  1583. */
  1584. ThumbprintList?: thumbprintListType;
  1585. /**
  1586. * A list of tags that you want to attach to the new IAM OpenID Connect (OIDC) provider. Each tag consists of a key name and an associated value. For more information about tagging, see Tagging IAM resources in the IAM User Guide. If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created.
  1587. */
  1588. Tags?: tagListType;
  1589. }
  1590. export interface CreateOpenIDConnectProviderResponse {
  1591. /**
  1592. * The Amazon Resource Name (ARN) of the new IAM OpenID Connect provider that is created. For more information, see OpenIDConnectProviderListEntry.
  1593. */
  1594. OpenIDConnectProviderArn?: arnType;
  1595. /**
  1596. * A list of tags that are attached to the new IAM OIDC provider. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  1597. */
  1598. Tags?: tagListType;
  1599. }
  1600. export interface CreatePolicyRequest {
  1601. /**
  1602. * The friendly name of the policy. IAM user, group, role, and policy names must be unique within the account. Names are not distinguished by case. For example, you cannot create resources named both "MyResource" and "myresource".
  1603. */
  1604. PolicyName: policyNameType;
  1605. /**
  1606. * The path for the policy. For more information about paths, see IAM identifiers in the IAM User Guide. This parameter is optional. If it is not included, it defaults to a slash (/). This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters. You cannot use an asterisk (*) in the path name.
  1607. */
  1608. Path?: policyPathType;
  1609. /**
  1610. * The JSON policy document that you want to use as the content for the new policy. You must provide policies in JSON format in IAM. However, for CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM. The maximum length of the policy document that you can pass in this operation, including whitespace, is listed below. To view the maximum character counts of a managed policy with no whitespaces, see IAM and STS character quotas. To learn more about JSON policy grammar, see Grammar of the IAM JSON policy language in the IAM User Guide. The regex pattern used to validate this parameter is a string of characters consisting of the following: Any printable ASCII character ranging from the space character (\u0020) through the end of the ASCII character range The printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF) The special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D)
  1611. */
  1612. PolicyDocument: policyDocumentType;
  1613. /**
  1614. * A friendly description of the policy. Typically used to store information about the permissions defined in the policy. For example, "Grants access to production DynamoDB tables." The policy description is immutable. After a value is assigned, it cannot be changed.
  1615. */
  1616. Description?: policyDescriptionType;
  1617. /**
  1618. * A list of tags that you want to attach to the new IAM customer managed policy. Each tag consists of a key name and an associated value. For more information about tagging, see Tagging IAM resources in the IAM User Guide. If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created.
  1619. */
  1620. Tags?: tagListType;
  1621. }
  1622. export interface CreatePolicyResponse {
  1623. /**
  1624. * A structure containing details about the new policy.
  1625. */
  1626. Policy?: Policy;
  1627. }
  1628. export interface CreatePolicyVersionRequest {
  1629. /**
  1630. * The Amazon Resource Name (ARN) of the IAM policy to which you want to add a new version. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
  1631. */
  1632. PolicyArn: arnType;
  1633. /**
  1634. * The JSON policy document that you want to use as the content for this new version of the policy. You must provide policies in JSON format in IAM. However, for CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM. The maximum length of the policy document that you can pass in this operation, including whitespace, is listed below. To view the maximum character counts of a managed policy with no whitespaces, see IAM and STS character quotas. The regex pattern used to validate this parameter is a string of characters consisting of the following: Any printable ASCII character ranging from the space character (\u0020) through the end of the ASCII character range The printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF) The special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D)
  1635. */
  1636. PolicyDocument: policyDocumentType;
  1637. /**
  1638. * Specifies whether to set this version as the policy's default version. When this parameter is true, the new policy version becomes the operative version. That is, it becomes the version that is in effect for the IAM users, groups, and roles that the policy is attached to. For more information about managed policy versions, see Versioning for managed policies in the IAM User Guide.
  1639. */
  1640. SetAsDefault?: booleanType;
  1641. }
  1642. export interface CreatePolicyVersionResponse {
  1643. /**
  1644. * A structure containing details about the new policy version.
  1645. */
  1646. PolicyVersion?: PolicyVersion;
  1647. }
  1648. export interface CreateRoleRequest {
  1649. /**
  1650. * The path to the role. For more information about paths, see IAM Identifiers in the IAM User Guide. This parameter is optional. If it is not included, it defaults to a slash (/). This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.
  1651. */
  1652. Path?: pathType;
  1653. /**
  1654. * The name of the role to create. IAM user, group, role, and policy names must be unique within the account. Names are not distinguished by case. For example, you cannot create resources named both "MyResource" and "myresource". This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1655. */
  1656. RoleName: roleNameType;
  1657. /**
  1658. * The trust relationship policy document that grants an entity permission to assume the role. In IAM, you must provide a JSON policy that has been converted to a string. However, for CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM. The regex pattern used to validate this parameter is a string of characters consisting of the following: Any printable ASCII character ranging from the space character (\u0020) through the end of the ASCII character range The printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF) The special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D) Upon success, the response includes the same trust policy in JSON format.
  1659. */
  1660. AssumeRolePolicyDocument: policyDocumentType;
  1661. /**
  1662. * A description of the role.
  1663. */
  1664. Description?: roleDescriptionType;
  1665. /**
  1666. * The maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default value of one hour is applied. This setting can have a value from 1 hour to 12 hours. Anyone who assumes the role from the CLI or API can use the DurationSeconds API parameter or the duration-seconds CLI parameter to request a longer session. The MaxSessionDuration setting determines the maximum duration that can be requested using the DurationSeconds parameter. If users don't specify a value for the DurationSeconds parameter, their security credentials are valid for one hour by default. This applies when you use the AssumeRole* API operations or the assume-role* CLI operations but does not apply when you use those operations to create a console URL. For more information, see Using IAM roles in the IAM User Guide.
  1667. */
  1668. MaxSessionDuration?: roleMaxSessionDurationType;
  1669. /**
  1670. * The ARN of the managed policy that is used to set the permissions boundary for the role. A permissions boundary policy defines the maximum permissions that identity-based policies can grant to an entity, but does not grant permissions. Permissions boundaries do not define the maximum permissions that a resource-based policy can grant to an entity. To learn more, see Permissions boundaries for IAM entities in the IAM User Guide. For more information about policy types, see Policy types in the IAM User Guide.
  1671. */
  1672. PermissionsBoundary?: arnType;
  1673. /**
  1674. * A list of tags that you want to attach to the new role. Each tag consists of a key name and an associated value. For more information about tagging, see Tagging IAM resources in the IAM User Guide. If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created.
  1675. */
  1676. Tags?: tagListType;
  1677. }
  1678. export interface CreateRoleResponse {
  1679. /**
  1680. * A structure containing details about the new role.
  1681. */
  1682. Role: Role;
  1683. }
  1684. export interface CreateSAMLProviderRequest {
  1685. /**
  1686. * An XML document generated by an identity provider (IdP) that supports SAML 2.0. The document includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that are received from the IdP. You must generate the metadata document using the identity management software that is used as your organization's IdP. For more information, see About SAML 2.0-based federation in the IAM User Guide
  1687. */
  1688. SAMLMetadataDocument: SAMLMetadataDocumentType;
  1689. /**
  1690. * The name of the provider to create. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1691. */
  1692. Name: SAMLProviderNameType;
  1693. /**
  1694. * A list of tags that you want to attach to the new IAM SAML provider. Each tag consists of a key name and an associated value. For more information about tagging, see Tagging IAM resources in the IAM User Guide. If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created.
  1695. */
  1696. Tags?: tagListType;
  1697. }
  1698. export interface CreateSAMLProviderResponse {
  1699. /**
  1700. * The Amazon Resource Name (ARN) of the new SAML provider resource in IAM.
  1701. */
  1702. SAMLProviderArn?: arnType;
  1703. /**
  1704. * A list of tags that are attached to the new IAM SAML provider. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  1705. */
  1706. Tags?: tagListType;
  1707. }
  1708. export interface CreateServiceLinkedRoleRequest {
  1709. /**
  1710. * The service principal for the Amazon Web Services service to which this role is attached. You use a string similar to a URL but without the http:// in front. For example: elasticbeanstalk.amazonaws.com. Service principals are unique and case-sensitive. To find the exact service principal for your service-linked role, see Amazon Web Services services that work with IAM in the IAM User Guide. Look for the services that have Yes in the Service-Linked Role column. Choose the Yes link to view the service-linked role documentation for that service.
  1711. */
  1712. AWSServiceName: groupNameType;
  1713. /**
  1714. * The description of the role.
  1715. */
  1716. Description?: roleDescriptionType;
  1717. /**
  1718. * A string that you provide, which is combined with the service-provided prefix to form the complete role name. If you make multiple requests for the same service, then you must supply a different CustomSuffix for each request. Otherwise the request fails with a duplicate role name error. For example, you could add -1 or -debug to the suffix. Some services do not support the CustomSuffix parameter. If you provide an optional suffix and the operation fails, try the operation again without the suffix.
  1719. */
  1720. CustomSuffix?: customSuffixType;
  1721. }
  1722. export interface CreateServiceLinkedRoleResponse {
  1723. /**
  1724. * A Role object that contains details about the newly created role.
  1725. */
  1726. Role?: Role;
  1727. }
  1728. export interface CreateServiceSpecificCredentialRequest {
  1729. /**
  1730. * The name of the IAM user that is to be associated with the credentials. The new service-specific credentials have the same permissions as the associated user except that they can be used only to access the specified service. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1731. */
  1732. UserName: userNameType;
  1733. /**
  1734. * The name of the Amazon Web Services service that is to be associated with the credentials. The service you specify here is the only service that can be accessed using these credentials.
  1735. */
  1736. ServiceName: serviceName;
  1737. }
  1738. export interface CreateServiceSpecificCredentialResponse {
  1739. /**
  1740. * A structure that contains information about the newly created service-specific credential. This is the only time that the password for this credential set is available. It cannot be recovered later. Instead, you must reset the password with ResetServiceSpecificCredential.
  1741. */
  1742. ServiceSpecificCredential?: ServiceSpecificCredential;
  1743. }
  1744. export interface CreateUserRequest {
  1745. /**
  1746. * The path for the user name. For more information about paths, see IAM identifiers in the IAM User Guide. This parameter is optional. If it is not included, it defaults to a slash (/). This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.
  1747. */
  1748. Path?: pathType;
  1749. /**
  1750. * The name of the user to create. IAM user, group, role, and policy names must be unique within the account. Names are not distinguished by case. For example, you cannot create resources named both "MyResource" and "myresource".
  1751. */
  1752. UserName: userNameType;
  1753. /**
  1754. * The ARN of the managed policy that is used to set the permissions boundary for the user. A permissions boundary policy defines the maximum permissions that identity-based policies can grant to an entity, but does not grant permissions. Permissions boundaries do not define the maximum permissions that a resource-based policy can grant to an entity. To learn more, see Permissions boundaries for IAM entities in the IAM User Guide. For more information about policy types, see Policy types in the IAM User Guide.
  1755. */
  1756. PermissionsBoundary?: arnType;
  1757. /**
  1758. * A list of tags that you want to attach to the new user. Each tag consists of a key name and an associated value. For more information about tagging, see Tagging IAM resources in the IAM User Guide. If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created.
  1759. */
  1760. Tags?: tagListType;
  1761. }
  1762. export interface CreateUserResponse {
  1763. /**
  1764. * A structure with details about the new IAM user.
  1765. */
  1766. User?: User;
  1767. }
  1768. export interface CreateVirtualMFADeviceRequest {
  1769. /**
  1770. * The path for the virtual MFA device. For more information about paths, see IAM identifiers in the IAM User Guide. This parameter is optional. If it is not included, it defaults to a slash (/). This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.
  1771. */
  1772. Path?: pathType;
  1773. /**
  1774. * The name of the virtual MFA device, which must be unique. Use with path to uniquely identify a virtual MFA device. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1775. */
  1776. VirtualMFADeviceName: virtualMFADeviceName;
  1777. /**
  1778. * A list of tags that you want to attach to the new IAM virtual MFA device. Each tag consists of a key name and an associated value. For more information about tagging, see Tagging IAM resources in the IAM User Guide. If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created.
  1779. */
  1780. Tags?: tagListType;
  1781. }
  1782. export interface CreateVirtualMFADeviceResponse {
  1783. /**
  1784. * A structure containing details about the new virtual MFA device.
  1785. */
  1786. VirtualMFADevice: VirtualMFADevice;
  1787. }
  1788. export interface DeactivateMFADeviceRequest {
  1789. /**
  1790. * The name of the user whose MFA device you want to deactivate. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1791. */
  1792. UserName: existingUserNameType;
  1793. /**
  1794. * The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@:/-
  1795. */
  1796. SerialNumber: serialNumberType;
  1797. }
  1798. export interface DeleteAccessKeyRequest {
  1799. /**
  1800. * The name of the user whose access key pair you want to delete. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1801. */
  1802. UserName?: existingUserNameType;
  1803. /**
  1804. * The access key ID for the access key ID and secret access key you want to delete. This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
  1805. */
  1806. AccessKeyId: accessKeyIdType;
  1807. }
  1808. export interface DeleteAccountAliasRequest {
  1809. /**
  1810. * The name of the account alias to delete. This parameter allows (through its regex pattern) a string of characters consisting of lowercase letters, digits, and dashes. You cannot start or finish with a dash, nor can you have two dashes in a row.
  1811. */
  1812. AccountAlias: accountAliasType;
  1813. }
  1814. export interface DeleteGroupPolicyRequest {
  1815. /**
  1816. * The name (friendly name, not ARN) identifying the group that the policy is embedded in. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1817. */
  1818. GroupName: groupNameType;
  1819. /**
  1820. * The name identifying the policy document to delete. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1821. */
  1822. PolicyName: policyNameType;
  1823. }
  1824. export interface DeleteGroupRequest {
  1825. /**
  1826. * The name of the IAM group to delete. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1827. */
  1828. GroupName: groupNameType;
  1829. }
  1830. export interface DeleteInstanceProfileRequest {
  1831. /**
  1832. * The name of the instance profile to delete. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1833. */
  1834. InstanceProfileName: instanceProfileNameType;
  1835. }
  1836. export interface DeleteLoginProfileRequest {
  1837. /**
  1838. * The name of the user whose password you want to delete. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1839. */
  1840. UserName: userNameType;
  1841. }
  1842. export interface DeleteOpenIDConnectProviderRequest {
  1843. /**
  1844. * The Amazon Resource Name (ARN) of the IAM OpenID Connect provider resource object to delete. You can get a list of OpenID Connect provider resource ARNs by using the ListOpenIDConnectProviders operation.
  1845. */
  1846. OpenIDConnectProviderArn: arnType;
  1847. }
  1848. export interface DeletePolicyRequest {
  1849. /**
  1850. * The Amazon Resource Name (ARN) of the IAM policy you want to delete. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
  1851. */
  1852. PolicyArn: arnType;
  1853. }
  1854. export interface DeletePolicyVersionRequest {
  1855. /**
  1856. * The Amazon Resource Name (ARN) of the IAM policy from which you want to delete a version. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
  1857. */
  1858. PolicyArn: arnType;
  1859. /**
  1860. * The policy version to delete. This parameter allows (through its regex pattern) a string of characters that consists of the lowercase letter 'v' followed by one or two digits, and optionally followed by a period '.' and a string of letters and digits. For more information about managed policy versions, see Versioning for managed policies in the IAM User Guide.
  1861. */
  1862. VersionId: policyVersionIdType;
  1863. }
  1864. export interface DeleteRolePermissionsBoundaryRequest {
  1865. /**
  1866. * The name (friendly name, not ARN) of the IAM role from which you want to remove the permissions boundary.
  1867. */
  1868. RoleName: roleNameType;
  1869. }
  1870. export interface DeleteRolePolicyRequest {
  1871. /**
  1872. * The name (friendly name, not ARN) identifying the role that the policy is embedded in. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1873. */
  1874. RoleName: roleNameType;
  1875. /**
  1876. * The name of the inline policy to delete from the specified IAM role. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1877. */
  1878. PolicyName: policyNameType;
  1879. }
  1880. export interface DeleteRoleRequest {
  1881. /**
  1882. * The name of the role to delete. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1883. */
  1884. RoleName: roleNameType;
  1885. }
  1886. export interface DeleteSAMLProviderRequest {
  1887. /**
  1888. * The Amazon Resource Name (ARN) of the SAML provider to delete.
  1889. */
  1890. SAMLProviderArn: arnType;
  1891. }
  1892. export interface DeleteSSHPublicKeyRequest {
  1893. /**
  1894. * The name of the IAM user associated with the SSH public key. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1895. */
  1896. UserName: userNameType;
  1897. /**
  1898. * The unique identifier for the SSH public key. This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
  1899. */
  1900. SSHPublicKeyId: publicKeyIdType;
  1901. }
  1902. export interface DeleteServerCertificateRequest {
  1903. /**
  1904. * The name of the server certificate you want to delete. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1905. */
  1906. ServerCertificateName: serverCertificateNameType;
  1907. }
  1908. export interface DeleteServiceLinkedRoleRequest {
  1909. /**
  1910. * The name of the service-linked role to be deleted.
  1911. */
  1912. RoleName: roleNameType;
  1913. }
  1914. export interface DeleteServiceLinkedRoleResponse {
  1915. /**
  1916. * The deletion task identifier that you can use to check the status of the deletion. This identifier is returned in the format task/aws-service-role/&lt;service-principal-name&gt;/&lt;role-name&gt;/&lt;task-uuid&gt;.
  1917. */
  1918. DeletionTaskId: DeletionTaskIdType;
  1919. }
  1920. export interface DeleteServiceSpecificCredentialRequest {
  1921. /**
  1922. * The name of the IAM user associated with the service-specific credential. If this value is not specified, then the operation assumes the user whose credentials are used to call the operation. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1923. */
  1924. UserName?: userNameType;
  1925. /**
  1926. * The unique identifier of the service-specific credential. You can get this value by calling ListServiceSpecificCredentials. This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
  1927. */
  1928. ServiceSpecificCredentialId: serviceSpecificCredentialId;
  1929. }
  1930. export interface DeleteSigningCertificateRequest {
  1931. /**
  1932. * The name of the user the signing certificate belongs to. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1933. */
  1934. UserName?: existingUserNameType;
  1935. /**
  1936. * The ID of the signing certificate to delete. The format of this parameter, as described by its regex pattern, is a string of characters that can be upper- or lower-cased letters or digits.
  1937. */
  1938. CertificateId: certificateIdType;
  1939. }
  1940. export interface DeleteUserPermissionsBoundaryRequest {
  1941. /**
  1942. * The name (friendly name, not ARN) of the IAM user from which you want to remove the permissions boundary.
  1943. */
  1944. UserName: userNameType;
  1945. }
  1946. export interface DeleteUserPolicyRequest {
  1947. /**
  1948. * The name (friendly name, not ARN) identifying the user that the policy is embedded in. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1949. */
  1950. UserName: existingUserNameType;
  1951. /**
  1952. * The name identifying the policy document to delete. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1953. */
  1954. PolicyName: policyNameType;
  1955. }
  1956. export interface DeleteUserRequest {
  1957. /**
  1958. * The name of the user to delete. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1959. */
  1960. UserName: existingUserNameType;
  1961. }
  1962. export interface DeleteVirtualMFADeviceRequest {
  1963. /**
  1964. * The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the same as the ARN. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@:/-
  1965. */
  1966. SerialNumber: serialNumberType;
  1967. }
  1968. export interface DeletionTaskFailureReasonType {
  1969. /**
  1970. * A short description of the reason that the service-linked role deletion failed.
  1971. */
  1972. Reason?: ReasonType;
  1973. /**
  1974. * A list of objects that contains details about the service-linked role deletion failure, if that information is returned by the service. If the service-linked role has active sessions or if any resources that were used by the role have not been deleted from the linked service, the role can't be deleted. This parameter includes a list of the resources that are associated with the role and the Region in which the resources are being used.
  1975. */
  1976. RoleUsageList?: RoleUsageListType;
  1977. }
  1978. export type DeletionTaskIdType = string;
  1979. export type DeletionTaskStatusType = "SUCCEEDED"|"IN_PROGRESS"|"FAILED"|"NOT_STARTED"|string;
  1980. export interface DetachGroupPolicyRequest {
  1981. /**
  1982. * The name (friendly name, not ARN) of the IAM group to detach the policy from. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1983. */
  1984. GroupName: groupNameType;
  1985. /**
  1986. * The Amazon Resource Name (ARN) of the IAM policy you want to detach. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
  1987. */
  1988. PolicyArn: arnType;
  1989. }
  1990. export interface DetachRolePolicyRequest {
  1991. /**
  1992. * The name (friendly name, not ARN) of the IAM role to detach the policy from. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  1993. */
  1994. RoleName: roleNameType;
  1995. /**
  1996. * The Amazon Resource Name (ARN) of the IAM policy you want to detach. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
  1997. */
  1998. PolicyArn: arnType;
  1999. }
  2000. export interface DetachUserPolicyRequest {
  2001. /**
  2002. * The name (friendly name, not ARN) of the IAM user to detach the policy from. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  2003. */
  2004. UserName: userNameType;
  2005. /**
  2006. * The Amazon Resource Name (ARN) of the IAM policy you want to detach. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
  2007. */
  2008. PolicyArn: arnType;
  2009. }
  2010. export interface EnableMFADeviceRequest {
  2011. /**
  2012. * The name of the IAM user for whom you want to enable the MFA device. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  2013. */
  2014. UserName: existingUserNameType;
  2015. /**
  2016. * The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@:/-
  2017. */
  2018. SerialNumber: serialNumberType;
  2019. /**
  2020. * An authentication code emitted by the device. The format for this parameter is a string of six digits. Submit your request immediately after generating the authentication codes. If you generate the codes and then wait too long to submit the request, the MFA device successfully associates with the user but the MFA device becomes out of sync. This happens because time-based one-time passwords (TOTP) expire after a short period of time. If this happens, you can resync the device.
  2021. */
  2022. AuthenticationCode1: authenticationCodeType;
  2023. /**
  2024. * A subsequent authentication code emitted by the device. The format for this parameter is a string of six digits. Submit your request immediately after generating the authentication codes. If you generate the codes and then wait too long to submit the request, the MFA device successfully associates with the user but the MFA device becomes out of sync. This happens because time-based one-time passwords (TOTP) expire after a short period of time. If this happens, you can resync the device.
  2025. */
  2026. AuthenticationCode2: authenticationCodeType;
  2027. }
  2028. export interface EntityDetails {
  2029. /**
  2030. * The EntityInfo object that contains details about the entity (user or role).
  2031. */
  2032. EntityInfo: EntityInfo;
  2033. /**
  2034. * The date and time, in ISO 8601 date-time format, when the authenticated entity last attempted to access Amazon Web Services. Amazon Web Services does not report unauthenticated requests. This field is null if no IAM entities attempted to access the service within the tracking period.
  2035. */
  2036. LastAuthenticated?: dateType;
  2037. }
  2038. export interface EntityInfo {
  2039. Arn: arnType;
  2040. /**
  2041. * The name of the entity (user or role).
  2042. */
  2043. Name: userNameType;
  2044. /**
  2045. * The type of entity (user or role).
  2046. */
  2047. Type: policyOwnerEntityType;
  2048. /**
  2049. * The identifier of the entity (user or role).
  2050. */
  2051. Id: idType;
  2052. /**
  2053. * The path to the entity (user or role). For more information about paths, see IAM identifiers in the IAM User Guide.
  2054. */
  2055. Path?: pathType;
  2056. }
  2057. export type EntityType = "User"|"Role"|"Group"|"LocalManagedPolicy"|"AWSManagedPolicy"|string;
  2058. export interface ErrorDetails {
  2059. /**
  2060. * Detailed information about the reason that the operation failed.
  2061. */
  2062. Message: stringType;
  2063. /**
  2064. * The error code associated with the operation failure.
  2065. */
  2066. Code: stringType;
  2067. }
  2068. export type EvalDecisionDetailsType = {[key: string]: PolicyEvaluationDecisionType};
  2069. export type EvalDecisionSourceType = string;
  2070. export interface EvaluationResult {
  2071. /**
  2072. * The name of the API operation tested on the indicated resource.
  2073. */
  2074. EvalActionName: ActionNameType;
  2075. /**
  2076. * The ARN of the resource that the indicated API operation was tested on.
  2077. */
  2078. EvalResourceName?: ResourceNameType;
  2079. /**
  2080. * The result of the simulation.
  2081. */
  2082. EvalDecision: PolicyEvaluationDecisionType;
  2083. /**
  2084. * A list of the statements in the input policies that determine the result for this scenario. Remember that even if multiple statements allow the operation on the resource, if only one statement denies that operation, then the explicit deny overrides any allow. In addition, the deny statement is the only entry included in the result.
  2085. */
  2086. MatchedStatements?: StatementListType;
  2087. /**
  2088. * A list of context keys that are required by the included input policies but that were not provided by one of the input parameters. This list is used when the resource in a simulation is "*", either explicitly, or when the ResourceArns parameter blank. If you include a list of resources, then any missing context values are instead included under the ResourceSpecificResults section. To discover the context keys used by a set of policies, you can call GetContextKeysForCustomPolicy or GetContextKeysForPrincipalPolicy.
  2089. */
  2090. MissingContextValues?: ContextKeyNamesResultListType;
  2091. /**
  2092. * A structure that details how Organizations and its service control policies affect the results of the simulation. Only applies if the simulated user's account is part of an organization.
  2093. */
  2094. OrganizationsDecisionDetail?: OrganizationsDecisionDetail;
  2095. /**
  2096. * Contains information about the effect that a permissions boundary has on a policy simulation when the boundary is applied to an IAM entity.
  2097. */
  2098. PermissionsBoundaryDecisionDetail?: PermissionsBoundaryDecisionDetail;
  2099. /**
  2100. * Additional details about the results of the cross-account evaluation decision. This parameter is populated for only cross-account simulations. It contains a brief summary of how each policy type contributes to the final evaluation decision. If the simulation evaluates policies within the same account and includes a resource ARN, then the parameter is present but the response is empty. If the simulation evaluates policies within the same account and specifies all resources (*), then the parameter is not returned. When you make a cross-account request, Amazon Web Services evaluates the request in the trusting account and the trusted account. The request is allowed only if both evaluations return true. For more information about how policies are evaluated, see Evaluating policies within a single account. If an Organizations SCP included in the evaluation denies access, the simulation ends. In this case, policy evaluation does not proceed any further and this parameter is not returned.
  2101. */
  2102. EvalDecisionDetails?: EvalDecisionDetailsType;
  2103. /**
  2104. * The individual results of the simulation of the API operation specified in EvalActionName on each resource.
  2105. */
  2106. ResourceSpecificResults?: ResourceSpecificResultListType;
  2107. }
  2108. export type EvaluationResultsListType = EvaluationResult[];
  2109. export interface GenerateCredentialReportResponse {
  2110. /**
  2111. * Information about the state of the credential report.
  2112. */
  2113. State?: ReportStateType;
  2114. /**
  2115. * Information about the credential report.
  2116. */
  2117. Description?: ReportStateDescriptionType;
  2118. }
  2119. export interface GenerateOrganizationsAccessReportRequest {
  2120. /**
  2121. * The path of the Organizations entity (root, OU, or account). You can build an entity path using the known structure of your organization. For example, assume that your account ID is 123456789012 and its parent OU ID is ou-rge0-awsabcde. The organization root ID is r-f6g7h8i9j0example and your organization ID is o-a1b2c3d4e5. Your entity path is o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-rge0-awsabcde/123456789012.
  2122. */
  2123. EntityPath: organizationsEntityPathType;
  2124. /**
  2125. * The identifier of the Organizations service control policy (SCP). This parameter is optional. This ID is used to generate information about when an account principal that is limited by the SCP attempted to access an Amazon Web Services service.
  2126. */
  2127. OrganizationsPolicyId?: organizationsPolicyIdType;
  2128. }
  2129. export interface GenerateOrganizationsAccessReportResponse {
  2130. /**
  2131. * The job identifier that you can use in the GetOrganizationsAccessReport operation.
  2132. */
  2133. JobId?: jobIDType;
  2134. }
  2135. export interface GenerateServiceLastAccessedDetailsRequest {
  2136. /**
  2137. * The ARN of the IAM resource (user, group, role, or managed policy) used to generate information about when the resource was last used in an attempt to access an Amazon Web Services service.
  2138. */
  2139. Arn: arnType;
  2140. /**
  2141. * The level of detail that you want to generate. You can specify whether you want to generate information about the last attempt to access services or actions. If you specify service-level granularity, this operation generates only service data. If you specify action-level granularity, it generates service and action data. If you don't include this optional parameter, the operation generates service data.
  2142. */
  2143. Granularity?: AccessAdvisorUsageGranularityType;
  2144. }
  2145. export interface GenerateServiceLastAccessedDetailsResponse {
  2146. /**
  2147. * The JobId that you can use in the GetServiceLastAccessedDetails or GetServiceLastAccessedDetailsWithEntities operations. The JobId returned by GenerateServiceLastAccessedDetail must be used by the same role within a session, or by the same user when used to call GetServiceLastAccessedDetail.
  2148. */
  2149. JobId?: jobIDType;
  2150. }
  2151. export interface GetAccessKeyLastUsedRequest {
  2152. /**
  2153. * The identifier of an access key. This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
  2154. */
  2155. AccessKeyId: accessKeyIdType;
  2156. }
  2157. export interface GetAccessKeyLastUsedResponse {
  2158. /**
  2159. * The name of the IAM user that owns this access key.
  2160. */
  2161. UserName?: existingUserNameType;
  2162. /**
  2163. * Contains information about the last time the access key was used.
  2164. */
  2165. AccessKeyLastUsed?: AccessKeyLastUsed;
  2166. }
  2167. export interface GetAccountAuthorizationDetailsRequest {
  2168. /**
  2169. * A list of entity types used to filter the results. Only the entities that match the types you specify are included in the output. Use the value LocalManagedPolicy to include customer managed policies. The format for this parameter is a comma-separated (if more than one) list of strings. Each string value in the list must be one of the valid values listed below.
  2170. */
  2171. Filter?: entityListType;
  2172. /**
  2173. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  2174. */
  2175. MaxItems?: maxItemsType;
  2176. /**
  2177. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  2178. */
  2179. Marker?: markerType;
  2180. }
  2181. export interface GetAccountAuthorizationDetailsResponse {
  2182. /**
  2183. * A list containing information about IAM users.
  2184. */
  2185. UserDetailList?: userDetailListType;
  2186. /**
  2187. * A list containing information about IAM groups.
  2188. */
  2189. GroupDetailList?: groupDetailListType;
  2190. /**
  2191. * A list containing information about IAM roles.
  2192. */
  2193. RoleDetailList?: roleDetailListType;
  2194. /**
  2195. * A list containing information about managed policies.
  2196. */
  2197. Policies?: ManagedPolicyDetailListType;
  2198. /**
  2199. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  2200. */
  2201. IsTruncated?: booleanType;
  2202. /**
  2203. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  2204. */
  2205. Marker?: responseMarkerType;
  2206. }
  2207. export interface GetAccountPasswordPolicyResponse {
  2208. /**
  2209. * A structure that contains details about the account's password policy.
  2210. */
  2211. PasswordPolicy: PasswordPolicy;
  2212. }
  2213. export interface GetAccountSummaryResponse {
  2214. /**
  2215. * A set of key–value pairs containing information about IAM entity usage and IAM quotas.
  2216. */
  2217. SummaryMap?: summaryMapType;
  2218. }
  2219. export interface GetContextKeysForCustomPolicyRequest {
  2220. /**
  2221. * A list of policies for which you want the list of context keys referenced in those policies. Each document is specified as a string containing the complete, valid JSON text of an IAM policy. The regex pattern used to validate this parameter is a string of characters consisting of the following: Any printable ASCII character ranging from the space character (\u0020) through the end of the ASCII character range The printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF) The special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D)
  2222. */
  2223. PolicyInputList: SimulationPolicyListType;
  2224. }
  2225. export interface GetContextKeysForPolicyResponse {
  2226. /**
  2227. * The list of context keys that are referenced in the input policies.
  2228. */
  2229. ContextKeyNames?: ContextKeyNamesResultListType;
  2230. }
  2231. export interface GetContextKeysForPrincipalPolicyRequest {
  2232. /**
  2233. * The ARN of a user, group, or role whose policies contain the context keys that you want listed. If you specify a user, the list includes context keys that are found in all policies that are attached to the user. The list also includes all groups that the user is a member of. If you pick a group or a role, then it includes only those context keys that are found in policies attached to that entity. Note that all parameters are shown in unencoded form here for clarity, but must be URL encoded to be included as a part of a real HTML request. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
  2234. */
  2235. PolicySourceArn: arnType;
  2236. /**
  2237. * An optional list of additional policies for which you want the list of context keys that are referenced. The regex pattern used to validate this parameter is a string of characters consisting of the following: Any printable ASCII character ranging from the space character (\u0020) through the end of the ASCII character range The printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF) The special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D)
  2238. */
  2239. PolicyInputList?: SimulationPolicyListType;
  2240. }
  2241. export interface GetCredentialReportResponse {
  2242. /**
  2243. * Contains the credential report. The report is Base64-encoded.
  2244. */
  2245. Content?: ReportContentType;
  2246. /**
  2247. * The format (MIME type) of the credential report.
  2248. */
  2249. ReportFormat?: ReportFormatType;
  2250. /**
  2251. * The date and time when the credential report was created, in ISO 8601 date-time format.
  2252. */
  2253. GeneratedTime?: dateType;
  2254. }
  2255. export interface GetGroupPolicyRequest {
  2256. /**
  2257. * The name of the group the policy is associated with. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  2258. */
  2259. GroupName: groupNameType;
  2260. /**
  2261. * The name of the policy document to get. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  2262. */
  2263. PolicyName: policyNameType;
  2264. }
  2265. export interface GetGroupPolicyResponse {
  2266. /**
  2267. * The group the policy is associated with.
  2268. */
  2269. GroupName: groupNameType;
  2270. /**
  2271. * The name of the policy.
  2272. */
  2273. PolicyName: policyNameType;
  2274. /**
  2275. * The policy document. IAM stores policies in JSON format. However, resources that were created using CloudFormation templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.
  2276. */
  2277. PolicyDocument: policyDocumentType;
  2278. }
  2279. export interface GetGroupRequest {
  2280. /**
  2281. * The name of the group. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  2282. */
  2283. GroupName: groupNameType;
  2284. /**
  2285. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  2286. */
  2287. Marker?: markerType;
  2288. /**
  2289. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  2290. */
  2291. MaxItems?: maxItemsType;
  2292. }
  2293. export interface GetGroupResponse {
  2294. /**
  2295. * A structure that contains details about the group.
  2296. */
  2297. Group: Group;
  2298. /**
  2299. * A list of users in the group.
  2300. */
  2301. Users: userListType;
  2302. /**
  2303. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  2304. */
  2305. IsTruncated?: booleanType;
  2306. /**
  2307. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  2308. */
  2309. Marker?: responseMarkerType;
  2310. }
  2311. export interface GetInstanceProfileRequest {
  2312. /**
  2313. * The name of the instance profile to get information about. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  2314. */
  2315. InstanceProfileName: instanceProfileNameType;
  2316. }
  2317. export interface GetInstanceProfileResponse {
  2318. /**
  2319. * A structure containing details about the instance profile.
  2320. */
  2321. InstanceProfile: InstanceProfile;
  2322. }
  2323. export interface GetLoginProfileRequest {
  2324. /**
  2325. * The name of the user whose login profile you want to retrieve. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  2326. */
  2327. UserName: userNameType;
  2328. }
  2329. export interface GetLoginProfileResponse {
  2330. /**
  2331. * A structure containing the user name and the profile creation date for the user.
  2332. */
  2333. LoginProfile: LoginProfile;
  2334. }
  2335. export interface GetMFADeviceRequest {
  2336. /**
  2337. * Serial number that uniquely identifies the MFA device. For this API, we only accept FIDO security key ARNs.
  2338. */
  2339. SerialNumber: serialNumberType;
  2340. /**
  2341. * The friendly name identifying the user.
  2342. */
  2343. UserName?: userNameType;
  2344. }
  2345. export interface GetMFADeviceResponse {
  2346. /**
  2347. * The friendly name identifying the user.
  2348. */
  2349. UserName?: userNameType;
  2350. /**
  2351. * Serial number that uniquely identifies the MFA device. For this API, we only accept FIDO security key ARNs.
  2352. */
  2353. SerialNumber: serialNumberType;
  2354. /**
  2355. * The date that a specified user's MFA device was first enabled.
  2356. */
  2357. EnableDate?: dateType;
  2358. /**
  2359. * The certifications of a specified user's MFA device. We currently provide FIPS-140-2, FIPS-140-3, and FIDO certification levels obtained from FIDO Alliance Metadata Service (MDS).
  2360. */
  2361. Certifications?: CertificationMapType;
  2362. }
  2363. export interface GetOpenIDConnectProviderRequest {
  2364. /**
  2365. * The Amazon Resource Name (ARN) of the OIDC provider resource object in IAM to get information for. You can get a list of OIDC provider resource ARNs by using the ListOpenIDConnectProviders operation. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
  2366. */
  2367. OpenIDConnectProviderArn: arnType;
  2368. }
  2369. export interface GetOpenIDConnectProviderResponse {
  2370. /**
  2371. * The URL that the IAM OIDC provider resource object is associated with. For more information, see CreateOpenIDConnectProvider.
  2372. */
  2373. Url?: OpenIDConnectProviderUrlType;
  2374. /**
  2375. * A list of client IDs (also known as audiences) that are associated with the specified IAM OIDC provider resource object. For more information, see CreateOpenIDConnectProvider.
  2376. */
  2377. ClientIDList?: clientIDListType;
  2378. /**
  2379. * A list of certificate thumbprints that are associated with the specified IAM OIDC provider resource object. For more information, see CreateOpenIDConnectProvider.
  2380. */
  2381. ThumbprintList?: thumbprintListType;
  2382. /**
  2383. * The date and time when the IAM OIDC provider resource object was created in the Amazon Web Services account.
  2384. */
  2385. CreateDate?: dateType;
  2386. /**
  2387. * A list of tags that are attached to the specified IAM OIDC provider. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  2388. */
  2389. Tags?: tagListType;
  2390. }
  2391. export interface GetOrganizationsAccessReportRequest {
  2392. /**
  2393. * The identifier of the request generated by the GenerateOrganizationsAccessReport operation.
  2394. */
  2395. JobId: jobIDType;
  2396. /**
  2397. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  2398. */
  2399. MaxItems?: maxItemsType;
  2400. /**
  2401. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  2402. */
  2403. Marker?: markerType;
  2404. /**
  2405. * The key that is used to sort the results. If you choose the namespace key, the results are returned in alphabetical order. If you choose the time key, the results are sorted numerically by the date and time.
  2406. */
  2407. SortKey?: sortKeyType;
  2408. }
  2409. export interface GetOrganizationsAccessReportResponse {
  2410. /**
  2411. * The status of the job.
  2412. */
  2413. JobStatus: jobStatusType;
  2414. /**
  2415. * The date and time, in ISO 8601 date-time format, when the report job was created.
  2416. */
  2417. JobCreationDate: dateType;
  2418. /**
  2419. * The date and time, in ISO 8601 date-time format, when the generated report job was completed or failed. This field is null if the job is still in progress, as indicated by a job status value of IN_PROGRESS.
  2420. */
  2421. JobCompletionDate?: dateType;
  2422. /**
  2423. * The number of services that the applicable SCPs allow account principals to access.
  2424. */
  2425. NumberOfServicesAccessible?: integerType;
  2426. /**
  2427. * The number of services that account principals are allowed but did not attempt to access.
  2428. */
  2429. NumberOfServicesNotAccessed?: integerType;
  2430. /**
  2431. * An object that contains details about the most recent attempt to access the service.
  2432. */
  2433. AccessDetails?: AccessDetails;
  2434. /**
  2435. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  2436. */
  2437. IsTruncated?: booleanType;
  2438. /**
  2439. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  2440. */
  2441. Marker?: markerType;
  2442. ErrorDetails?: ErrorDetails;
  2443. }
  2444. export interface GetPolicyRequest {
  2445. /**
  2446. * The Amazon Resource Name (ARN) of the managed policy that you want information about. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
  2447. */
  2448. PolicyArn: arnType;
  2449. }
  2450. export interface GetPolicyResponse {
  2451. /**
  2452. * A structure containing details about the policy.
  2453. */
  2454. Policy?: Policy;
  2455. }
  2456. export interface GetPolicyVersionRequest {
  2457. /**
  2458. * The Amazon Resource Name (ARN) of the managed policy that you want information about. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
  2459. */
  2460. PolicyArn: arnType;
  2461. /**
  2462. * Identifies the policy version to retrieve. This parameter allows (through its regex pattern) a string of characters that consists of the lowercase letter 'v' followed by one or two digits, and optionally followed by a period '.' and a string of letters and digits.
  2463. */
  2464. VersionId: policyVersionIdType;
  2465. }
  2466. export interface GetPolicyVersionResponse {
  2467. /**
  2468. * A structure containing details about the policy version.
  2469. */
  2470. PolicyVersion?: PolicyVersion;
  2471. }
  2472. export interface GetRolePolicyRequest {
  2473. /**
  2474. * The name of the role associated with the policy. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  2475. */
  2476. RoleName: roleNameType;
  2477. /**
  2478. * The name of the policy document to get. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  2479. */
  2480. PolicyName: policyNameType;
  2481. }
  2482. export interface GetRolePolicyResponse {
  2483. /**
  2484. * The role the policy is associated with.
  2485. */
  2486. RoleName: roleNameType;
  2487. /**
  2488. * The name of the policy.
  2489. */
  2490. PolicyName: policyNameType;
  2491. /**
  2492. * The policy document. IAM stores policies in JSON format. However, resources that were created using CloudFormation templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.
  2493. */
  2494. PolicyDocument: policyDocumentType;
  2495. }
  2496. export interface GetRoleRequest {
  2497. /**
  2498. * The name of the IAM role to get information about. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  2499. */
  2500. RoleName: roleNameType;
  2501. }
  2502. export interface GetRoleResponse {
  2503. /**
  2504. * A structure containing details about the IAM role.
  2505. */
  2506. Role: Role;
  2507. }
  2508. export interface GetSAMLProviderRequest {
  2509. /**
  2510. * The Amazon Resource Name (ARN) of the SAML provider resource object in IAM to get information about. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
  2511. */
  2512. SAMLProviderArn: arnType;
  2513. }
  2514. export interface GetSAMLProviderResponse {
  2515. /**
  2516. * The XML metadata document that includes information about an identity provider.
  2517. */
  2518. SAMLMetadataDocument?: SAMLMetadataDocumentType;
  2519. /**
  2520. * The date and time when the SAML provider was created.
  2521. */
  2522. CreateDate?: dateType;
  2523. /**
  2524. * The expiration date and time for the SAML provider.
  2525. */
  2526. ValidUntil?: dateType;
  2527. /**
  2528. * A list of tags that are attached to the specified IAM SAML provider. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  2529. */
  2530. Tags?: tagListType;
  2531. }
  2532. export interface GetSSHPublicKeyRequest {
  2533. /**
  2534. * The name of the IAM user associated with the SSH public key. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  2535. */
  2536. UserName: userNameType;
  2537. /**
  2538. * The unique identifier for the SSH public key. This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
  2539. */
  2540. SSHPublicKeyId: publicKeyIdType;
  2541. /**
  2542. * Specifies the public key encoding format to use in the response. To retrieve the public key in ssh-rsa format, use SSH. To retrieve the public key in PEM format, use PEM.
  2543. */
  2544. Encoding: encodingType;
  2545. }
  2546. export interface GetSSHPublicKeyResponse {
  2547. /**
  2548. * A structure containing details about the SSH public key.
  2549. */
  2550. SSHPublicKey?: SSHPublicKey;
  2551. }
  2552. export interface GetServerCertificateRequest {
  2553. /**
  2554. * The name of the server certificate you want to retrieve information about. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  2555. */
  2556. ServerCertificateName: serverCertificateNameType;
  2557. }
  2558. export interface GetServerCertificateResponse {
  2559. /**
  2560. * A structure containing details about the server certificate.
  2561. */
  2562. ServerCertificate: ServerCertificate;
  2563. }
  2564. export interface GetServiceLastAccessedDetailsRequest {
  2565. /**
  2566. * The ID of the request generated by the GenerateServiceLastAccessedDetails operation. The JobId returned by GenerateServiceLastAccessedDetail must be used by the same role within a session, or by the same user when used to call GetServiceLastAccessedDetail.
  2567. */
  2568. JobId: jobIDType;
  2569. /**
  2570. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  2571. */
  2572. MaxItems?: maxItemsType;
  2573. /**
  2574. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  2575. */
  2576. Marker?: markerType;
  2577. }
  2578. export interface GetServiceLastAccessedDetailsResponse {
  2579. /**
  2580. * The status of the job.
  2581. */
  2582. JobStatus: jobStatusType;
  2583. /**
  2584. * The type of job. Service jobs return information about when each service was last accessed. Action jobs also include information about when tracked actions within the service were last accessed.
  2585. */
  2586. JobType?: AccessAdvisorUsageGranularityType;
  2587. /**
  2588. * The date and time, in ISO 8601 date-time format, when the report job was created.
  2589. */
  2590. JobCreationDate: dateType;
  2591. /**
  2592. * A ServiceLastAccessed object that contains details about the most recent attempt to access the service.
  2593. */
  2594. ServicesLastAccessed: ServicesLastAccessed;
  2595. /**
  2596. * The date and time, in ISO 8601 date-time format, when the generated report job was completed or failed. This field is null if the job is still in progress, as indicated by a job status value of IN_PROGRESS.
  2597. */
  2598. JobCompletionDate: dateType;
  2599. /**
  2600. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  2601. */
  2602. IsTruncated?: booleanType;
  2603. /**
  2604. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  2605. */
  2606. Marker?: responseMarkerType;
  2607. /**
  2608. * An object that contains details about the reason the operation failed.
  2609. */
  2610. Error?: ErrorDetails;
  2611. }
  2612. export interface GetServiceLastAccessedDetailsWithEntitiesRequest {
  2613. /**
  2614. * The ID of the request generated by the GenerateServiceLastAccessedDetails operation.
  2615. */
  2616. JobId: jobIDType;
  2617. /**
  2618. * The service namespace for an Amazon Web Services service. Provide the service namespace to learn when the IAM entity last attempted to access the specified service. To learn the service namespace for a service, see Actions, resources, and condition keys for Amazon Web Services services in the IAM User Guide. Choose the name of the service to view details for that service. In the first paragraph, find the service prefix. For example, (service prefix: a4b). For more information about service namespaces, see Amazon Web Services service namespaces in the Amazon Web Services General Reference.
  2619. */
  2620. ServiceNamespace: serviceNamespaceType;
  2621. /**
  2622. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  2623. */
  2624. MaxItems?: maxItemsType;
  2625. /**
  2626. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  2627. */
  2628. Marker?: markerType;
  2629. }
  2630. export interface GetServiceLastAccessedDetailsWithEntitiesResponse {
  2631. /**
  2632. * The status of the job.
  2633. */
  2634. JobStatus: jobStatusType;
  2635. /**
  2636. * The date and time, in ISO 8601 date-time format, when the report job was created.
  2637. */
  2638. JobCreationDate: dateType;
  2639. /**
  2640. * The date and time, in ISO 8601 date-time format, when the generated report job was completed or failed. This field is null if the job is still in progress, as indicated by a job status value of IN_PROGRESS.
  2641. */
  2642. JobCompletionDate: dateType;
  2643. /**
  2644. * An EntityDetailsList object that contains details about when an IAM entity (user or role) used group or policy permissions in an attempt to access the specified Amazon Web Services service.
  2645. */
  2646. EntityDetailsList: entityDetailsListType;
  2647. /**
  2648. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  2649. */
  2650. IsTruncated?: booleanType;
  2651. /**
  2652. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  2653. */
  2654. Marker?: responseMarkerType;
  2655. /**
  2656. * An object that contains details about the reason the operation failed.
  2657. */
  2658. Error?: ErrorDetails;
  2659. }
  2660. export interface GetServiceLinkedRoleDeletionStatusRequest {
  2661. /**
  2662. * The deletion task identifier. This identifier is returned by the DeleteServiceLinkedRole operation in the format task/aws-service-role/&lt;service-principal-name&gt;/&lt;role-name&gt;/&lt;task-uuid&gt;.
  2663. */
  2664. DeletionTaskId: DeletionTaskIdType;
  2665. }
  2666. export interface GetServiceLinkedRoleDeletionStatusResponse {
  2667. /**
  2668. * The status of the deletion.
  2669. */
  2670. Status: DeletionTaskStatusType;
  2671. /**
  2672. * An object that contains details about the reason the deletion failed.
  2673. */
  2674. Reason?: DeletionTaskFailureReasonType;
  2675. }
  2676. export interface GetUserPolicyRequest {
  2677. /**
  2678. * The name of the user who the policy is associated with. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  2679. */
  2680. UserName: existingUserNameType;
  2681. /**
  2682. * The name of the policy document to get. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  2683. */
  2684. PolicyName: policyNameType;
  2685. }
  2686. export interface GetUserPolicyResponse {
  2687. /**
  2688. * The user the policy is associated with.
  2689. */
  2690. UserName: existingUserNameType;
  2691. /**
  2692. * The name of the policy.
  2693. */
  2694. PolicyName: policyNameType;
  2695. /**
  2696. * The policy document. IAM stores policies in JSON format. However, resources that were created using CloudFormation templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.
  2697. */
  2698. PolicyDocument: policyDocumentType;
  2699. }
  2700. export interface GetUserRequest {
  2701. /**
  2702. * The name of the user to get information about. This parameter is optional. If it is not included, it defaults to the user making the request. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  2703. */
  2704. UserName?: existingUserNameType;
  2705. }
  2706. export interface GetUserResponse {
  2707. /**
  2708. * A structure containing details about the IAM user. Due to a service issue, password last used data does not include password use from May 3, 2018 22:50 PDT to May 23, 2018 14:08 PDT. This affects last sign-in dates shown in the IAM console and password last used dates in the IAM credential report, and returned by this operation. If users signed in during the affected time, the password last used date that is returned is the date the user last signed in before May 3, 2018. For users that signed in after May 23, 2018 14:08 PDT, the returned password last used date is accurate. You can use password last used information to identify unused credentials for deletion. For example, you might delete users who did not sign in to Amazon Web Services in the last 90 days. In cases like this, we recommend that you adjust your evaluation window to include dates after May 23, 2018. Alternatively, if your users use access keys to access Amazon Web Services programmatically you can refer to access key last used information because it is accurate for all dates.
  2709. */
  2710. User: User;
  2711. }
  2712. export interface Group {
  2713. /**
  2714. * The path to the group. For more information about paths, see IAM identifiers in the IAM User Guide.
  2715. */
  2716. Path: pathType;
  2717. /**
  2718. * The friendly name that identifies the group.
  2719. */
  2720. GroupName: groupNameType;
  2721. /**
  2722. * The stable and unique string identifying the group. For more information about IDs, see IAM identifiers in the IAM User Guide.
  2723. */
  2724. GroupId: idType;
  2725. /**
  2726. * The Amazon Resource Name (ARN) specifying the group. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.
  2727. */
  2728. Arn: arnType;
  2729. /**
  2730. * The date and time, in ISO 8601 date-time format, when the group was created.
  2731. */
  2732. CreateDate: dateType;
  2733. }
  2734. export interface GroupDetail {
  2735. /**
  2736. * The path to the group. For more information about paths, see IAM identifiers in the IAM User Guide.
  2737. */
  2738. Path?: pathType;
  2739. /**
  2740. * The friendly name that identifies the group.
  2741. */
  2742. GroupName?: groupNameType;
  2743. /**
  2744. * The stable and unique string identifying the group. For more information about IDs, see IAM identifiers in the IAM User Guide.
  2745. */
  2746. GroupId?: idType;
  2747. Arn?: arnType;
  2748. /**
  2749. * The date and time, in ISO 8601 date-time format, when the group was created.
  2750. */
  2751. CreateDate?: dateType;
  2752. /**
  2753. * A list of the inline policies embedded in the group.
  2754. */
  2755. GroupPolicyList?: policyDetailListType;
  2756. /**
  2757. * A list of the managed policies attached to the group.
  2758. */
  2759. AttachedManagedPolicies?: attachedPoliciesListType;
  2760. }
  2761. export interface InstanceProfile {
  2762. /**
  2763. * The path to the instance profile. For more information about paths, see IAM identifiers in the IAM User Guide.
  2764. */
  2765. Path: pathType;
  2766. /**
  2767. * The name identifying the instance profile.
  2768. */
  2769. InstanceProfileName: instanceProfileNameType;
  2770. /**
  2771. * The stable and unique string identifying the instance profile. For more information about IDs, see IAM identifiers in the IAM User Guide.
  2772. */
  2773. InstanceProfileId: idType;
  2774. /**
  2775. * The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.
  2776. */
  2777. Arn: arnType;
  2778. /**
  2779. * The date when the instance profile was created.
  2780. */
  2781. CreateDate: dateType;
  2782. /**
  2783. * The role associated with the instance profile.
  2784. */
  2785. Roles: roleListType;
  2786. /**
  2787. * A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  2788. */
  2789. Tags?: tagListType;
  2790. }
  2791. export type LineNumber = number;
  2792. export interface ListAccessKeysRequest {
  2793. /**
  2794. * The name of the user. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  2795. */
  2796. UserName?: existingUserNameType;
  2797. /**
  2798. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  2799. */
  2800. Marker?: markerType;
  2801. /**
  2802. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  2803. */
  2804. MaxItems?: maxItemsType;
  2805. }
  2806. export interface ListAccessKeysResponse {
  2807. /**
  2808. * A list of objects containing metadata about the access keys.
  2809. */
  2810. AccessKeyMetadata: accessKeyMetadataListType;
  2811. /**
  2812. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  2813. */
  2814. IsTruncated?: booleanType;
  2815. /**
  2816. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  2817. */
  2818. Marker?: responseMarkerType;
  2819. }
  2820. export interface ListAccountAliasesRequest {
  2821. /**
  2822. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  2823. */
  2824. Marker?: markerType;
  2825. /**
  2826. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  2827. */
  2828. MaxItems?: maxItemsType;
  2829. }
  2830. export interface ListAccountAliasesResponse {
  2831. /**
  2832. * A list of aliases associated with the account. Amazon Web Services supports only one alias per account.
  2833. */
  2834. AccountAliases: accountAliasListType;
  2835. /**
  2836. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  2837. */
  2838. IsTruncated?: booleanType;
  2839. /**
  2840. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  2841. */
  2842. Marker?: responseMarkerType;
  2843. }
  2844. export interface ListAttachedGroupPoliciesRequest {
  2845. /**
  2846. * The name (friendly name, not ARN) of the group to list attached policies for. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  2847. */
  2848. GroupName: groupNameType;
  2849. /**
  2850. * The path prefix for filtering the results. This parameter is optional. If it is not included, it defaults to a slash (/), listing all policies. This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.
  2851. */
  2852. PathPrefix?: policyPathType;
  2853. /**
  2854. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  2855. */
  2856. Marker?: markerType;
  2857. /**
  2858. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  2859. */
  2860. MaxItems?: maxItemsType;
  2861. }
  2862. export interface ListAttachedGroupPoliciesResponse {
  2863. /**
  2864. * A list of the attached policies.
  2865. */
  2866. AttachedPolicies?: attachedPoliciesListType;
  2867. /**
  2868. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  2869. */
  2870. IsTruncated?: booleanType;
  2871. /**
  2872. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  2873. */
  2874. Marker?: responseMarkerType;
  2875. }
  2876. export interface ListAttachedRolePoliciesRequest {
  2877. /**
  2878. * The name (friendly name, not ARN) of the role to list attached policies for. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  2879. */
  2880. RoleName: roleNameType;
  2881. /**
  2882. * The path prefix for filtering the results. This parameter is optional. If it is not included, it defaults to a slash (/), listing all policies. This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.
  2883. */
  2884. PathPrefix?: policyPathType;
  2885. /**
  2886. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  2887. */
  2888. Marker?: markerType;
  2889. /**
  2890. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  2891. */
  2892. MaxItems?: maxItemsType;
  2893. }
  2894. export interface ListAttachedRolePoliciesResponse {
  2895. /**
  2896. * A list of the attached policies.
  2897. */
  2898. AttachedPolicies?: attachedPoliciesListType;
  2899. /**
  2900. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  2901. */
  2902. IsTruncated?: booleanType;
  2903. /**
  2904. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  2905. */
  2906. Marker?: responseMarkerType;
  2907. }
  2908. export interface ListAttachedUserPoliciesRequest {
  2909. /**
  2910. * The name (friendly name, not ARN) of the user to list attached policies for. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  2911. */
  2912. UserName: userNameType;
  2913. /**
  2914. * The path prefix for filtering the results. This parameter is optional. If it is not included, it defaults to a slash (/), listing all policies. This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.
  2915. */
  2916. PathPrefix?: policyPathType;
  2917. /**
  2918. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  2919. */
  2920. Marker?: markerType;
  2921. /**
  2922. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  2923. */
  2924. MaxItems?: maxItemsType;
  2925. }
  2926. export interface ListAttachedUserPoliciesResponse {
  2927. /**
  2928. * A list of the attached policies.
  2929. */
  2930. AttachedPolicies?: attachedPoliciesListType;
  2931. /**
  2932. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  2933. */
  2934. IsTruncated?: booleanType;
  2935. /**
  2936. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  2937. */
  2938. Marker?: responseMarkerType;
  2939. }
  2940. export interface ListEntitiesForPolicyRequest {
  2941. /**
  2942. * The Amazon Resource Name (ARN) of the IAM policy for which you want the versions. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
  2943. */
  2944. PolicyArn: arnType;
  2945. /**
  2946. * The entity type to use for filtering the results. For example, when EntityFilter is Role, only the roles that are attached to the specified policy are returned. This parameter is optional. If it is not included, all attached entities (users, groups, and roles) are returned. The argument for this parameter must be one of the valid values listed below.
  2947. */
  2948. EntityFilter?: EntityType;
  2949. /**
  2950. * The path prefix for filtering the results. This parameter is optional. If it is not included, it defaults to a slash (/), listing all entities. This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.
  2951. */
  2952. PathPrefix?: pathType;
  2953. /**
  2954. * The policy usage method to use for filtering the results. To list only permissions policies, set PolicyUsageFilter to PermissionsPolicy. To list only the policies used to set permissions boundaries, set the value to PermissionsBoundary. This parameter is optional. If it is not included, all policies are returned.
  2955. */
  2956. PolicyUsageFilter?: PolicyUsageType;
  2957. /**
  2958. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  2959. */
  2960. Marker?: markerType;
  2961. /**
  2962. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  2963. */
  2964. MaxItems?: maxItemsType;
  2965. }
  2966. export interface ListEntitiesForPolicyResponse {
  2967. /**
  2968. * A list of IAM groups that the policy is attached to.
  2969. */
  2970. PolicyGroups?: PolicyGroupListType;
  2971. /**
  2972. * A list of IAM users that the policy is attached to.
  2973. */
  2974. PolicyUsers?: PolicyUserListType;
  2975. /**
  2976. * A list of IAM roles that the policy is attached to.
  2977. */
  2978. PolicyRoles?: PolicyRoleListType;
  2979. /**
  2980. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  2981. */
  2982. IsTruncated?: booleanType;
  2983. /**
  2984. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  2985. */
  2986. Marker?: responseMarkerType;
  2987. }
  2988. export interface ListGroupPoliciesRequest {
  2989. /**
  2990. * The name of the group to list policies for. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  2991. */
  2992. GroupName: groupNameType;
  2993. /**
  2994. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  2995. */
  2996. Marker?: markerType;
  2997. /**
  2998. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  2999. */
  3000. MaxItems?: maxItemsType;
  3001. }
  3002. export interface ListGroupPoliciesResponse {
  3003. /**
  3004. * A list of policy names. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  3005. */
  3006. PolicyNames: policyNameListType;
  3007. /**
  3008. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  3009. */
  3010. IsTruncated?: booleanType;
  3011. /**
  3012. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  3013. */
  3014. Marker?: responseMarkerType;
  3015. }
  3016. export interface ListGroupsForUserRequest {
  3017. /**
  3018. * The name of the user to list groups for. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  3019. */
  3020. UserName: existingUserNameType;
  3021. /**
  3022. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  3023. */
  3024. Marker?: markerType;
  3025. /**
  3026. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  3027. */
  3028. MaxItems?: maxItemsType;
  3029. }
  3030. export interface ListGroupsForUserResponse {
  3031. /**
  3032. * A list of groups.
  3033. */
  3034. Groups: groupListType;
  3035. /**
  3036. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  3037. */
  3038. IsTruncated?: booleanType;
  3039. /**
  3040. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  3041. */
  3042. Marker?: responseMarkerType;
  3043. }
  3044. export interface ListGroupsRequest {
  3045. /**
  3046. * The path prefix for filtering the results. For example, the prefix /division_abc/subdivision_xyz/ gets all groups whose path starts with /division_abc/subdivision_xyz/. This parameter is optional. If it is not included, it defaults to a slash (/), listing all groups. This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.
  3047. */
  3048. PathPrefix?: pathPrefixType;
  3049. /**
  3050. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  3051. */
  3052. Marker?: markerType;
  3053. /**
  3054. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  3055. */
  3056. MaxItems?: maxItemsType;
  3057. }
  3058. export interface ListGroupsResponse {
  3059. /**
  3060. * A list of groups.
  3061. */
  3062. Groups: groupListType;
  3063. /**
  3064. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  3065. */
  3066. IsTruncated?: booleanType;
  3067. /**
  3068. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  3069. */
  3070. Marker?: responseMarkerType;
  3071. }
  3072. export interface ListInstanceProfileTagsRequest {
  3073. /**
  3074. * The name of the IAM instance profile whose tags you want to see. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  3075. */
  3076. InstanceProfileName: instanceProfileNameType;
  3077. /**
  3078. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  3079. */
  3080. Marker?: markerType;
  3081. /**
  3082. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  3083. */
  3084. MaxItems?: maxItemsType;
  3085. }
  3086. export interface ListInstanceProfileTagsResponse {
  3087. /**
  3088. * The list of tags that are currently attached to the IAM instance profile. Each tag consists of a key name and an associated value. If no tags are attached to the specified resource, the response contains an empty list.
  3089. */
  3090. Tags: tagListType;
  3091. /**
  3092. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  3093. */
  3094. IsTruncated?: booleanType;
  3095. /**
  3096. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  3097. */
  3098. Marker?: responseMarkerType;
  3099. }
  3100. export interface ListInstanceProfilesForRoleRequest {
  3101. /**
  3102. * The name of the role to list instance profiles for. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  3103. */
  3104. RoleName: roleNameType;
  3105. /**
  3106. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  3107. */
  3108. Marker?: markerType;
  3109. /**
  3110. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  3111. */
  3112. MaxItems?: maxItemsType;
  3113. }
  3114. export interface ListInstanceProfilesForRoleResponse {
  3115. /**
  3116. * A list of instance profiles.
  3117. */
  3118. InstanceProfiles: instanceProfileListType;
  3119. /**
  3120. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  3121. */
  3122. IsTruncated?: booleanType;
  3123. /**
  3124. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  3125. */
  3126. Marker?: responseMarkerType;
  3127. }
  3128. export interface ListInstanceProfilesRequest {
  3129. /**
  3130. * The path prefix for filtering the results. For example, the prefix /application_abc/component_xyz/ gets all instance profiles whose path starts with /application_abc/component_xyz/. This parameter is optional. If it is not included, it defaults to a slash (/), listing all instance profiles. This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.
  3131. */
  3132. PathPrefix?: pathPrefixType;
  3133. /**
  3134. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  3135. */
  3136. Marker?: markerType;
  3137. /**
  3138. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  3139. */
  3140. MaxItems?: maxItemsType;
  3141. }
  3142. export interface ListInstanceProfilesResponse {
  3143. /**
  3144. * A list of instance profiles.
  3145. */
  3146. InstanceProfiles: instanceProfileListType;
  3147. /**
  3148. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  3149. */
  3150. IsTruncated?: booleanType;
  3151. /**
  3152. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  3153. */
  3154. Marker?: responseMarkerType;
  3155. }
  3156. export interface ListMFADeviceTagsRequest {
  3157. /**
  3158. * The unique identifier for the IAM virtual MFA device whose tags you want to see. For virtual MFA devices, the serial number is the same as the ARN. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  3159. */
  3160. SerialNumber: serialNumberType;
  3161. /**
  3162. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  3163. */
  3164. Marker?: markerType;
  3165. /**
  3166. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  3167. */
  3168. MaxItems?: maxItemsType;
  3169. }
  3170. export interface ListMFADeviceTagsResponse {
  3171. /**
  3172. * The list of tags that are currently attached to the virtual MFA device. Each tag consists of a key name and an associated value. If no tags are attached to the specified resource, the response contains an empty list.
  3173. */
  3174. Tags: tagListType;
  3175. /**
  3176. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  3177. */
  3178. IsTruncated?: booleanType;
  3179. /**
  3180. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  3181. */
  3182. Marker?: responseMarkerType;
  3183. }
  3184. export interface ListMFADevicesRequest {
  3185. /**
  3186. * The name of the user whose MFA devices you want to list. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  3187. */
  3188. UserName?: existingUserNameType;
  3189. /**
  3190. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  3191. */
  3192. Marker?: markerType;
  3193. /**
  3194. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  3195. */
  3196. MaxItems?: maxItemsType;
  3197. }
  3198. export interface ListMFADevicesResponse {
  3199. /**
  3200. * A list of MFA devices.
  3201. */
  3202. MFADevices: mfaDeviceListType;
  3203. /**
  3204. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  3205. */
  3206. IsTruncated?: booleanType;
  3207. /**
  3208. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  3209. */
  3210. Marker?: responseMarkerType;
  3211. }
  3212. export interface ListOpenIDConnectProviderTagsRequest {
  3213. /**
  3214. * The ARN of the OpenID Connect (OIDC) identity provider whose tags you want to see. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  3215. */
  3216. OpenIDConnectProviderArn: arnType;
  3217. /**
  3218. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  3219. */
  3220. Marker?: markerType;
  3221. /**
  3222. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  3223. */
  3224. MaxItems?: maxItemsType;
  3225. }
  3226. export interface ListOpenIDConnectProviderTagsResponse {
  3227. /**
  3228. * The list of tags that are currently attached to the OpenID Connect (OIDC) identity provider. Each tag consists of a key name and an associated value. If no tags are attached to the specified resource, the response contains an empty list.
  3229. */
  3230. Tags: tagListType;
  3231. /**
  3232. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  3233. */
  3234. IsTruncated?: booleanType;
  3235. /**
  3236. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  3237. */
  3238. Marker?: responseMarkerType;
  3239. }
  3240. export interface ListOpenIDConnectProvidersRequest {
  3241. }
  3242. export interface ListOpenIDConnectProvidersResponse {
  3243. /**
  3244. * The list of IAM OIDC provider resource objects defined in the Amazon Web Services account.
  3245. */
  3246. OpenIDConnectProviderList?: OpenIDConnectProviderListType;
  3247. }
  3248. export interface ListPoliciesGrantingServiceAccessEntry {
  3249. /**
  3250. * The namespace of the service that was accessed. To learn the service namespace of a service, see Actions, resources, and condition keys for Amazon Web Services services in the Service Authorization Reference. Choose the name of the service to view details for that service. In the first paragraph, find the service prefix. For example, (service prefix: a4b). For more information about service namespaces, see Amazon Web Services service namespaces in the Amazon Web Services General Reference.
  3251. */
  3252. ServiceNamespace?: serviceNamespaceType;
  3253. /**
  3254. * The PoliciesGrantingServiceAccess object that contains details about the policy.
  3255. */
  3256. Policies?: policyGrantingServiceAccessListType;
  3257. }
  3258. export interface ListPoliciesGrantingServiceAccessRequest {
  3259. /**
  3260. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  3261. */
  3262. Marker?: markerType;
  3263. /**
  3264. * The ARN of the IAM identity (user, group, or role) whose policies you want to list.
  3265. */
  3266. Arn: arnType;
  3267. /**
  3268. * The service namespace for the Amazon Web Services services whose policies you want to list. To learn the service namespace for a service, see Actions, resources, and condition keys for Amazon Web Services services in the IAM User Guide. Choose the name of the service to view details for that service. In the first paragraph, find the service prefix. For example, (service prefix: a4b). For more information about service namespaces, see Amazon Web Services service namespaces in the Amazon Web Services General Reference.
  3269. */
  3270. ServiceNamespaces: serviceNamespaceListType;
  3271. }
  3272. export interface ListPoliciesGrantingServiceAccessResponse {
  3273. /**
  3274. * A ListPoliciesGrantingServiceAccess object that contains details about the permissions policies attached to the specified identity (user, group, or role).
  3275. */
  3276. PoliciesGrantingServiceAccess: listPolicyGrantingServiceAccessResponseListType;
  3277. /**
  3278. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  3279. */
  3280. IsTruncated?: booleanType;
  3281. /**
  3282. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  3283. */
  3284. Marker?: responseMarkerType;
  3285. }
  3286. export interface ListPoliciesRequest {
  3287. /**
  3288. * The scope to use for filtering the results. To list only Amazon Web Services managed policies, set Scope to AWS. To list only the customer managed policies in your Amazon Web Services account, set Scope to Local. This parameter is optional. If it is not included, or if it is set to All, all policies are returned.
  3289. */
  3290. Scope?: policyScopeType;
  3291. /**
  3292. * A flag to filter the results to only the attached policies. When OnlyAttached is true, the returned list contains only the policies that are attached to an IAM user, group, or role. When OnlyAttached is false, or when the parameter is not included, all policies are returned.
  3293. */
  3294. OnlyAttached?: booleanType;
  3295. /**
  3296. * The path prefix for filtering the results. This parameter is optional. If it is not included, it defaults to a slash (/), listing all policies. This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.
  3297. */
  3298. PathPrefix?: policyPathType;
  3299. /**
  3300. * The policy usage method to use for filtering the results. To list only permissions policies, set PolicyUsageFilter to PermissionsPolicy. To list only the policies used to set permissions boundaries, set the value to PermissionsBoundary. This parameter is optional. If it is not included, all policies are returned.
  3301. */
  3302. PolicyUsageFilter?: PolicyUsageType;
  3303. /**
  3304. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  3305. */
  3306. Marker?: markerType;
  3307. /**
  3308. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  3309. */
  3310. MaxItems?: maxItemsType;
  3311. }
  3312. export interface ListPoliciesResponse {
  3313. /**
  3314. * A list of policies.
  3315. */
  3316. Policies?: policyListType;
  3317. /**
  3318. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  3319. */
  3320. IsTruncated?: booleanType;
  3321. /**
  3322. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  3323. */
  3324. Marker?: responseMarkerType;
  3325. }
  3326. export interface ListPolicyTagsRequest {
  3327. /**
  3328. * The ARN of the IAM customer managed policy whose tags you want to see. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  3329. */
  3330. PolicyArn: arnType;
  3331. /**
  3332. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  3333. */
  3334. Marker?: markerType;
  3335. /**
  3336. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  3337. */
  3338. MaxItems?: maxItemsType;
  3339. }
  3340. export interface ListPolicyTagsResponse {
  3341. /**
  3342. * The list of tags that are currently attached to the IAM customer managed policy. Each tag consists of a key name and an associated value. If no tags are attached to the specified resource, the response contains an empty list.
  3343. */
  3344. Tags: tagListType;
  3345. /**
  3346. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  3347. */
  3348. IsTruncated?: booleanType;
  3349. /**
  3350. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  3351. */
  3352. Marker?: responseMarkerType;
  3353. }
  3354. export interface ListPolicyVersionsRequest {
  3355. /**
  3356. * The Amazon Resource Name (ARN) of the IAM policy for which you want the versions. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
  3357. */
  3358. PolicyArn: arnType;
  3359. /**
  3360. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  3361. */
  3362. Marker?: markerType;
  3363. /**
  3364. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  3365. */
  3366. MaxItems?: maxItemsType;
  3367. }
  3368. export interface ListPolicyVersionsResponse {
  3369. /**
  3370. * A list of policy versions. For more information about managed policy versions, see Versioning for managed policies in the IAM User Guide.
  3371. */
  3372. Versions?: policyDocumentVersionListType;
  3373. /**
  3374. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  3375. */
  3376. IsTruncated?: booleanType;
  3377. /**
  3378. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  3379. */
  3380. Marker?: responseMarkerType;
  3381. }
  3382. export interface ListRolePoliciesRequest {
  3383. /**
  3384. * The name of the role to list policies for. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  3385. */
  3386. RoleName: roleNameType;
  3387. /**
  3388. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  3389. */
  3390. Marker?: markerType;
  3391. /**
  3392. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  3393. */
  3394. MaxItems?: maxItemsType;
  3395. }
  3396. export interface ListRolePoliciesResponse {
  3397. /**
  3398. * A list of policy names.
  3399. */
  3400. PolicyNames: policyNameListType;
  3401. /**
  3402. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  3403. */
  3404. IsTruncated?: booleanType;
  3405. /**
  3406. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  3407. */
  3408. Marker?: responseMarkerType;
  3409. }
  3410. export interface ListRoleTagsRequest {
  3411. /**
  3412. * The name of the IAM role for which you want to see the list of tags. This parameter accepts (through its regex pattern) a string of characters that consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  3413. */
  3414. RoleName: roleNameType;
  3415. /**
  3416. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  3417. */
  3418. Marker?: markerType;
  3419. /**
  3420. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  3421. */
  3422. MaxItems?: maxItemsType;
  3423. }
  3424. export interface ListRoleTagsResponse {
  3425. /**
  3426. * The list of tags that are currently attached to the role. Each tag consists of a key name and an associated value. If no tags are attached to the specified resource, the response contains an empty list.
  3427. */
  3428. Tags: tagListType;
  3429. /**
  3430. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  3431. */
  3432. IsTruncated?: booleanType;
  3433. /**
  3434. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  3435. */
  3436. Marker?: responseMarkerType;
  3437. }
  3438. export interface ListRolesRequest {
  3439. /**
  3440. * The path prefix for filtering the results. For example, the prefix /application_abc/component_xyz/ gets all roles whose path starts with /application_abc/component_xyz/. This parameter is optional. If it is not included, it defaults to a slash (/), listing all roles. This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.
  3441. */
  3442. PathPrefix?: pathPrefixType;
  3443. /**
  3444. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  3445. */
  3446. Marker?: markerType;
  3447. /**
  3448. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  3449. */
  3450. MaxItems?: maxItemsType;
  3451. }
  3452. export interface ListRolesResponse {
  3453. /**
  3454. * A list of roles.
  3455. */
  3456. Roles: roleListType;
  3457. /**
  3458. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  3459. */
  3460. IsTruncated?: booleanType;
  3461. /**
  3462. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  3463. */
  3464. Marker?: responseMarkerType;
  3465. }
  3466. export interface ListSAMLProviderTagsRequest {
  3467. /**
  3468. * The ARN of the Security Assertion Markup Language (SAML) identity provider whose tags you want to see. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  3469. */
  3470. SAMLProviderArn: arnType;
  3471. /**
  3472. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  3473. */
  3474. Marker?: markerType;
  3475. /**
  3476. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  3477. */
  3478. MaxItems?: maxItemsType;
  3479. }
  3480. export interface ListSAMLProviderTagsResponse {
  3481. /**
  3482. * The list of tags that are currently attached to the Security Assertion Markup Language (SAML) identity provider. Each tag consists of a key name and an associated value. If no tags are attached to the specified resource, the response contains an empty list.
  3483. */
  3484. Tags: tagListType;
  3485. /**
  3486. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  3487. */
  3488. IsTruncated?: booleanType;
  3489. /**
  3490. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  3491. */
  3492. Marker?: responseMarkerType;
  3493. }
  3494. export interface ListSAMLProvidersRequest {
  3495. }
  3496. export interface ListSAMLProvidersResponse {
  3497. /**
  3498. * The list of SAML provider resource objects defined in IAM for this Amazon Web Services account.
  3499. */
  3500. SAMLProviderList?: SAMLProviderListType;
  3501. }
  3502. export interface ListSSHPublicKeysRequest {
  3503. /**
  3504. * The name of the IAM user to list SSH public keys for. If none is specified, the UserName field is determined implicitly based on the Amazon Web Services access key used to sign the request. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  3505. */
  3506. UserName?: userNameType;
  3507. /**
  3508. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  3509. */
  3510. Marker?: markerType;
  3511. /**
  3512. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  3513. */
  3514. MaxItems?: maxItemsType;
  3515. }
  3516. export interface ListSSHPublicKeysResponse {
  3517. /**
  3518. * A list of the SSH public keys assigned to IAM user.
  3519. */
  3520. SSHPublicKeys?: SSHPublicKeyListType;
  3521. /**
  3522. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  3523. */
  3524. IsTruncated?: booleanType;
  3525. /**
  3526. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  3527. */
  3528. Marker?: responseMarkerType;
  3529. }
  3530. export interface ListServerCertificateTagsRequest {
  3531. /**
  3532. * The name of the IAM server certificate whose tags you want to see. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  3533. */
  3534. ServerCertificateName: serverCertificateNameType;
  3535. /**
  3536. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  3537. */
  3538. Marker?: markerType;
  3539. /**
  3540. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  3541. */
  3542. MaxItems?: maxItemsType;
  3543. }
  3544. export interface ListServerCertificateTagsResponse {
  3545. /**
  3546. * The list of tags that are currently attached to the IAM server certificate. Each tag consists of a key name and an associated value. If no tags are attached to the specified resource, the response contains an empty list.
  3547. */
  3548. Tags: tagListType;
  3549. /**
  3550. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  3551. */
  3552. IsTruncated?: booleanType;
  3553. /**
  3554. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  3555. */
  3556. Marker?: responseMarkerType;
  3557. }
  3558. export interface ListServerCertificatesRequest {
  3559. /**
  3560. * The path prefix for filtering the results. For example: /company/servercerts would get all server certificates for which the path starts with /company/servercerts. This parameter is optional. If it is not included, it defaults to a slash (/), listing all server certificates. This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.
  3561. */
  3562. PathPrefix?: pathPrefixType;
  3563. /**
  3564. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  3565. */
  3566. Marker?: markerType;
  3567. /**
  3568. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  3569. */
  3570. MaxItems?: maxItemsType;
  3571. }
  3572. export interface ListServerCertificatesResponse {
  3573. /**
  3574. * A list of server certificates.
  3575. */
  3576. ServerCertificateMetadataList: serverCertificateMetadataListType;
  3577. /**
  3578. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  3579. */
  3580. IsTruncated?: booleanType;
  3581. /**
  3582. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  3583. */
  3584. Marker?: responseMarkerType;
  3585. }
  3586. export interface ListServiceSpecificCredentialsRequest {
  3587. /**
  3588. * The name of the user whose service-specific credentials you want information about. If this value is not specified, then the operation assumes the user whose credentials are used to call the operation. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  3589. */
  3590. UserName?: userNameType;
  3591. /**
  3592. * Filters the returned results to only those for the specified Amazon Web Services service. If not specified, then Amazon Web Services returns service-specific credentials for all services.
  3593. */
  3594. ServiceName?: serviceName;
  3595. }
  3596. export interface ListServiceSpecificCredentialsResponse {
  3597. /**
  3598. * A list of structures that each contain details about a service-specific credential.
  3599. */
  3600. ServiceSpecificCredentials?: ServiceSpecificCredentialsListType;
  3601. }
  3602. export interface ListSigningCertificatesRequest {
  3603. /**
  3604. * The name of the IAM user whose signing certificates you want to examine. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  3605. */
  3606. UserName?: existingUserNameType;
  3607. /**
  3608. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  3609. */
  3610. Marker?: markerType;
  3611. /**
  3612. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  3613. */
  3614. MaxItems?: maxItemsType;
  3615. }
  3616. export interface ListSigningCertificatesResponse {
  3617. /**
  3618. * A list of the user's signing certificate information.
  3619. */
  3620. Certificates: certificateListType;
  3621. /**
  3622. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  3623. */
  3624. IsTruncated?: booleanType;
  3625. /**
  3626. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  3627. */
  3628. Marker?: responseMarkerType;
  3629. }
  3630. export interface ListUserPoliciesRequest {
  3631. /**
  3632. * The name of the user to list policies for. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  3633. */
  3634. UserName: existingUserNameType;
  3635. /**
  3636. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  3637. */
  3638. Marker?: markerType;
  3639. /**
  3640. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  3641. */
  3642. MaxItems?: maxItemsType;
  3643. }
  3644. export interface ListUserPoliciesResponse {
  3645. /**
  3646. * A list of policy names.
  3647. */
  3648. PolicyNames: policyNameListType;
  3649. /**
  3650. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  3651. */
  3652. IsTruncated?: booleanType;
  3653. /**
  3654. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  3655. */
  3656. Marker?: responseMarkerType;
  3657. }
  3658. export interface ListUserTagsRequest {
  3659. /**
  3660. * The name of the IAM user whose tags you want to see. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  3661. */
  3662. UserName: existingUserNameType;
  3663. /**
  3664. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  3665. */
  3666. Marker?: markerType;
  3667. /**
  3668. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  3669. */
  3670. MaxItems?: maxItemsType;
  3671. }
  3672. export interface ListUserTagsResponse {
  3673. /**
  3674. * The list of tags that are currently attached to the user. Each tag consists of a key name and an associated value. If no tags are attached to the specified resource, the response contains an empty list.
  3675. */
  3676. Tags: tagListType;
  3677. /**
  3678. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  3679. */
  3680. IsTruncated?: booleanType;
  3681. /**
  3682. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  3683. */
  3684. Marker?: responseMarkerType;
  3685. }
  3686. export interface ListUsersRequest {
  3687. /**
  3688. * The path prefix for filtering the results. For example: /division_abc/subdivision_xyz/, which would get all user names whose path starts with /division_abc/subdivision_xyz/. This parameter is optional. If it is not included, it defaults to a slash (/), listing all user names. This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.
  3689. */
  3690. PathPrefix?: pathPrefixType;
  3691. /**
  3692. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  3693. */
  3694. Marker?: markerType;
  3695. /**
  3696. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  3697. */
  3698. MaxItems?: maxItemsType;
  3699. }
  3700. export interface ListUsersResponse {
  3701. /**
  3702. * A list of users.
  3703. */
  3704. Users: userListType;
  3705. /**
  3706. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  3707. */
  3708. IsTruncated?: booleanType;
  3709. /**
  3710. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  3711. */
  3712. Marker?: responseMarkerType;
  3713. }
  3714. export interface ListVirtualMFADevicesRequest {
  3715. /**
  3716. * The status (Unassigned or Assigned) of the devices to list. If you do not specify an AssignmentStatus, the operation defaults to Any, which lists both assigned and unassigned virtual MFA devices.,
  3717. */
  3718. AssignmentStatus?: assignmentStatusType;
  3719. /**
  3720. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  3721. */
  3722. Marker?: markerType;
  3723. /**
  3724. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  3725. */
  3726. MaxItems?: maxItemsType;
  3727. }
  3728. export interface ListVirtualMFADevicesResponse {
  3729. /**
  3730. * The list of virtual MFA devices in the current account that match the AssignmentStatus value that was passed in the request.
  3731. */
  3732. VirtualMFADevices: virtualMFADeviceListType;
  3733. /**
  3734. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  3735. */
  3736. IsTruncated?: booleanType;
  3737. /**
  3738. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  3739. */
  3740. Marker?: responseMarkerType;
  3741. }
  3742. export interface LoginProfile {
  3743. /**
  3744. * The name of the user, which can be used for signing in to the Amazon Web Services Management Console.
  3745. */
  3746. UserName: userNameType;
  3747. /**
  3748. * The date when the password for the user was created.
  3749. */
  3750. CreateDate: dateType;
  3751. /**
  3752. * Specifies whether the user is required to set a new password on next sign-in.
  3753. */
  3754. PasswordResetRequired?: booleanType;
  3755. }
  3756. export interface MFADevice {
  3757. /**
  3758. * The user with whom the MFA device is associated.
  3759. */
  3760. UserName: userNameType;
  3761. /**
  3762. * The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.
  3763. */
  3764. SerialNumber: serialNumberType;
  3765. /**
  3766. * The date when the MFA device was enabled for the user.
  3767. */
  3768. EnableDate: dateType;
  3769. }
  3770. export interface ManagedPolicyDetail {
  3771. /**
  3772. * The friendly name (not ARN) identifying the policy.
  3773. */
  3774. PolicyName?: policyNameType;
  3775. /**
  3776. * The stable and unique string identifying the policy. For more information about IDs, see IAM identifiers in the IAM User Guide.
  3777. */
  3778. PolicyId?: idType;
  3779. Arn?: arnType;
  3780. /**
  3781. * The path to the policy. For more information about paths, see IAM identifiers in the IAM User Guide.
  3782. */
  3783. Path?: policyPathType;
  3784. /**
  3785. * The identifier for the version of the policy that is set as the default (operative) version. For more information about policy versions, see Versioning for managed policies in the IAM User Guide.
  3786. */
  3787. DefaultVersionId?: policyVersionIdType;
  3788. /**
  3789. * The number of principal entities (users, groups, and roles) that the policy is attached to.
  3790. */
  3791. AttachmentCount?: attachmentCountType;
  3792. /**
  3793. * The number of entities (users and roles) for which the policy is used as the permissions boundary. For more information about permissions boundaries, see Permissions boundaries for IAM identities in the IAM User Guide.
  3794. */
  3795. PermissionsBoundaryUsageCount?: attachmentCountType;
  3796. /**
  3797. * Specifies whether the policy can be attached to an IAM user, group, or role.
  3798. */
  3799. IsAttachable?: booleanType;
  3800. /**
  3801. * A friendly description of the policy.
  3802. */
  3803. Description?: policyDescriptionType;
  3804. /**
  3805. * The date and time, in ISO 8601 date-time format, when the policy was created.
  3806. */
  3807. CreateDate?: dateType;
  3808. /**
  3809. * The date and time, in ISO 8601 date-time format, when the policy was last updated. When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.
  3810. */
  3811. UpdateDate?: dateType;
  3812. /**
  3813. * A list containing information about the versions of the policy.
  3814. */
  3815. PolicyVersionList?: policyDocumentVersionListType;
  3816. }
  3817. export type ManagedPolicyDetailListType = ManagedPolicyDetail[];
  3818. export interface OpenIDConnectProviderListEntry {
  3819. Arn?: arnType;
  3820. }
  3821. export type OpenIDConnectProviderListType = OpenIDConnectProviderListEntry[];
  3822. export type OpenIDConnectProviderUrlType = string;
  3823. export interface OrganizationsDecisionDetail {
  3824. /**
  3825. * Specifies whether the simulated operation is allowed by the Organizations service control policies that impact the simulated user's account.
  3826. */
  3827. AllowedByOrganizations?: booleanType;
  3828. }
  3829. export interface PasswordPolicy {
  3830. /**
  3831. * Minimum length to require for IAM user passwords.
  3832. */
  3833. MinimumPasswordLength?: minimumPasswordLengthType;
  3834. /**
  3835. * Specifies whether IAM user passwords must contain at least one of the following symbols: ! @ # $ % ^ &amp; * ( ) _ + - = [ ] { } | '
  3836. */
  3837. RequireSymbols?: booleanType;
  3838. /**
  3839. * Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).
  3840. */
  3841. RequireNumbers?: booleanType;
  3842. /**
  3843. * Specifies whether IAM user passwords must contain at least one uppercase character (A to Z).
  3844. */
  3845. RequireUppercaseCharacters?: booleanType;
  3846. /**
  3847. * Specifies whether IAM user passwords must contain at least one lowercase character (a to z).
  3848. */
  3849. RequireLowercaseCharacters?: booleanType;
  3850. /**
  3851. * Specifies whether IAM users are allowed to change their own password. Gives IAM users permissions to iam:ChangePassword for only their user and to the iam:GetAccountPasswordPolicy action. This option does not attach a permissions policy to each user, rather the permissions are applied at the account-level for all users by IAM.
  3852. */
  3853. AllowUsersToChangePassword?: booleanType;
  3854. /**
  3855. * Indicates whether passwords in the account expire. Returns true if MaxPasswordAge contains a value greater than 0. Returns false if MaxPasswordAge is 0 or not present.
  3856. */
  3857. ExpirePasswords?: booleanType;
  3858. /**
  3859. * The number of days that an IAM user password is valid.
  3860. */
  3861. MaxPasswordAge?: maxPasswordAgeType;
  3862. /**
  3863. * Specifies the number of previous passwords that IAM users are prevented from reusing.
  3864. */
  3865. PasswordReusePrevention?: passwordReusePreventionType;
  3866. /**
  3867. * Specifies whether IAM users are prevented from setting a new password via the Amazon Web Services Management Console after their password has expired. The IAM user cannot access the console until an administrator resets the password. IAM users with iam:ChangePassword permission and active access keys can reset their own expired console password using the CLI or API.
  3868. */
  3869. HardExpiry?: booleanObjectType;
  3870. }
  3871. export type PermissionsBoundaryAttachmentType = "PermissionsBoundaryPolicy"|string;
  3872. export interface PermissionsBoundaryDecisionDetail {
  3873. /**
  3874. * Specifies whether an action is allowed by a permissions boundary that is applied to an IAM entity (user or role). A value of true means that the permissions boundary does not deny the action. This means that the policy includes an Allow statement that matches the request. In this case, if an identity-based policy also allows the action, the request is allowed. A value of false means that either the requested action is not allowed (implicitly denied) or that the action is explicitly denied by the permissions boundary. In both of these cases, the action is not allowed, regardless of the identity-based policy.
  3875. */
  3876. AllowedByPermissionsBoundary?: booleanType;
  3877. }
  3878. export interface Policy {
  3879. /**
  3880. * The friendly name (not ARN) identifying the policy.
  3881. */
  3882. PolicyName?: policyNameType;
  3883. /**
  3884. * The stable and unique string identifying the policy. For more information about IDs, see IAM identifiers in the IAM User Guide.
  3885. */
  3886. PolicyId?: idType;
  3887. Arn?: arnType;
  3888. /**
  3889. * The path to the policy. For more information about paths, see IAM identifiers in the IAM User Guide.
  3890. */
  3891. Path?: policyPathType;
  3892. /**
  3893. * The identifier for the version of the policy that is set as the default version.
  3894. */
  3895. DefaultVersionId?: policyVersionIdType;
  3896. /**
  3897. * The number of entities (users, groups, and roles) that the policy is attached to.
  3898. */
  3899. AttachmentCount?: attachmentCountType;
  3900. /**
  3901. * The number of entities (users and roles) for which the policy is used to set the permissions boundary. For more information about permissions boundaries, see Permissions boundaries for IAM identities in the IAM User Guide.
  3902. */
  3903. PermissionsBoundaryUsageCount?: attachmentCountType;
  3904. /**
  3905. * Specifies whether the policy can be attached to an IAM user, group, or role.
  3906. */
  3907. IsAttachable?: booleanType;
  3908. /**
  3909. * A friendly description of the policy. This element is included in the response to the GetPolicy operation. It is not included in the response to the ListPolicies operation.
  3910. */
  3911. Description?: policyDescriptionType;
  3912. /**
  3913. * The date and time, in ISO 8601 date-time format, when the policy was created.
  3914. */
  3915. CreateDate?: dateType;
  3916. /**
  3917. * The date and time, in ISO 8601 date-time format, when the policy was last updated. When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.
  3918. */
  3919. UpdateDate?: dateType;
  3920. /**
  3921. * A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  3922. */
  3923. Tags?: tagListType;
  3924. }
  3925. export interface PolicyDetail {
  3926. /**
  3927. * The name of the policy.
  3928. */
  3929. PolicyName?: policyNameType;
  3930. /**
  3931. * The policy document.
  3932. */
  3933. PolicyDocument?: policyDocumentType;
  3934. }
  3935. export type PolicyEvaluationDecisionType = "allowed"|"explicitDeny"|"implicitDeny"|string;
  3936. export interface PolicyGrantingServiceAccess {
  3937. /**
  3938. * The policy name.
  3939. */
  3940. PolicyName: policyNameType;
  3941. /**
  3942. * The policy type. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.
  3943. */
  3944. PolicyType: policyType;
  3945. PolicyArn?: arnType;
  3946. /**
  3947. * The type of entity (user or role) that used the policy to access the service to which the inline policy is attached. This field is null for managed policies. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.
  3948. */
  3949. EntityType?: policyOwnerEntityType;
  3950. /**
  3951. * The name of the entity (user or role) to which the inline policy is attached. This field is null for managed policies. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.
  3952. */
  3953. EntityName?: entityNameType;
  3954. }
  3955. export interface PolicyGroup {
  3956. /**
  3957. * The name (friendly name, not ARN) identifying the group.
  3958. */
  3959. GroupName?: groupNameType;
  3960. /**
  3961. * The stable and unique string identifying the group. For more information about IDs, see IAM identifiers in the IAM User Guide.
  3962. */
  3963. GroupId?: idType;
  3964. }
  3965. export type PolicyGroupListType = PolicyGroup[];
  3966. export type PolicyIdentifierType = string;
  3967. export interface PolicyRole {
  3968. /**
  3969. * The name (friendly name, not ARN) identifying the role.
  3970. */
  3971. RoleName?: roleNameType;
  3972. /**
  3973. * The stable and unique string identifying the role. For more information about IDs, see IAM identifiers in the IAM User Guide.
  3974. */
  3975. RoleId?: idType;
  3976. }
  3977. export type PolicyRoleListType = PolicyRole[];
  3978. export type PolicySourceType = "user"|"group"|"role"|"aws-managed"|"user-managed"|"resource"|"none"|string;
  3979. export type PolicyUsageType = "PermissionsPolicy"|"PermissionsBoundary"|string;
  3980. export interface PolicyUser {
  3981. /**
  3982. * The name (friendly name, not ARN) identifying the user.
  3983. */
  3984. UserName?: userNameType;
  3985. /**
  3986. * The stable and unique string identifying the user. For more information about IDs, see IAM identifiers in the IAM User Guide.
  3987. */
  3988. UserId?: idType;
  3989. }
  3990. export type PolicyUserListType = PolicyUser[];
  3991. export interface PolicyVersion {
  3992. /**
  3993. * The policy document. The policy document is returned in the response to the GetPolicyVersion and GetAccountAuthorizationDetails operations. It is not returned in the response to the CreatePolicyVersion or ListPolicyVersions operations. The policy document returned in this structure is URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode method of the java.net.URLDecoder utility class in the Java SDK. Other languages and SDKs provide similar functionality.
  3994. */
  3995. Document?: policyDocumentType;
  3996. /**
  3997. * The identifier for the policy version. Policy version identifiers always begin with v (always lowercase). When a policy is created, the first policy version is v1.
  3998. */
  3999. VersionId?: policyVersionIdType;
  4000. /**
  4001. * Specifies whether the policy version is set as the policy's default version.
  4002. */
  4003. IsDefaultVersion?: booleanType;
  4004. /**
  4005. * The date and time, in ISO 8601 date-time format, when the policy version was created.
  4006. */
  4007. CreateDate?: dateType;
  4008. }
  4009. export interface Position {
  4010. /**
  4011. * The line containing the specified position in the document.
  4012. */
  4013. Line?: LineNumber;
  4014. /**
  4015. * The column in the line containing the specified position in the document.
  4016. */
  4017. Column?: ColumnNumber;
  4018. }
  4019. export interface PutGroupPolicyRequest {
  4020. /**
  4021. * The name of the group to associate the policy with. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-.
  4022. */
  4023. GroupName: groupNameType;
  4024. /**
  4025. * The name of the policy document. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4026. */
  4027. PolicyName: policyNameType;
  4028. /**
  4029. * The policy document. You must provide policies in JSON format in IAM. However, for CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM. The regex pattern used to validate this parameter is a string of characters consisting of the following: Any printable ASCII character ranging from the space character (\u0020) through the end of the ASCII character range The printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF) The special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D)
  4030. */
  4031. PolicyDocument: policyDocumentType;
  4032. }
  4033. export interface PutRolePermissionsBoundaryRequest {
  4034. /**
  4035. * The name (friendly name, not ARN) of the IAM role for which you want to set the permissions boundary.
  4036. */
  4037. RoleName: roleNameType;
  4038. /**
  4039. * The ARN of the managed policy that is used to set the permissions boundary for the role. A permissions boundary policy defines the maximum permissions that identity-based policies can grant to an entity, but does not grant permissions. Permissions boundaries do not define the maximum permissions that a resource-based policy can grant to an entity. To learn more, see Permissions boundaries for IAM entities in the IAM User Guide. For more information about policy types, see Policy types in the IAM User Guide.
  4040. */
  4041. PermissionsBoundary: arnType;
  4042. }
  4043. export interface PutRolePolicyRequest {
  4044. /**
  4045. * The name of the role to associate the policy with. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4046. */
  4047. RoleName: roleNameType;
  4048. /**
  4049. * The name of the policy document. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4050. */
  4051. PolicyName: policyNameType;
  4052. /**
  4053. * The policy document. You must provide policies in JSON format in IAM. However, for CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM. The regex pattern used to validate this parameter is a string of characters consisting of the following: Any printable ASCII character ranging from the space character (\u0020) through the end of the ASCII character range The printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF) The special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D)
  4054. */
  4055. PolicyDocument: policyDocumentType;
  4056. }
  4057. export interface PutUserPermissionsBoundaryRequest {
  4058. /**
  4059. * The name (friendly name, not ARN) of the IAM user for which you want to set the permissions boundary.
  4060. */
  4061. UserName: userNameType;
  4062. /**
  4063. * The ARN of the managed policy that is used to set the permissions boundary for the user. A permissions boundary policy defines the maximum permissions that identity-based policies can grant to an entity, but does not grant permissions. Permissions boundaries do not define the maximum permissions that a resource-based policy can grant to an entity. To learn more, see Permissions boundaries for IAM entities in the IAM User Guide. For more information about policy types, see Policy types in the IAM User Guide.
  4064. */
  4065. PermissionsBoundary: arnType;
  4066. }
  4067. export interface PutUserPolicyRequest {
  4068. /**
  4069. * The name of the user to associate the policy with. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4070. */
  4071. UserName: existingUserNameType;
  4072. /**
  4073. * The name of the policy document. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4074. */
  4075. PolicyName: policyNameType;
  4076. /**
  4077. * The policy document. You must provide policies in JSON format in IAM. However, for CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM. The regex pattern used to validate this parameter is a string of characters consisting of the following: Any printable ASCII character ranging from the space character (\u0020) through the end of the ASCII character range The printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF) The special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D)
  4078. */
  4079. PolicyDocument: policyDocumentType;
  4080. }
  4081. export type ReasonType = string;
  4082. export type RegionNameType = string;
  4083. export interface RemoveClientIDFromOpenIDConnectProviderRequest {
  4084. /**
  4085. * The Amazon Resource Name (ARN) of the IAM OIDC provider resource to remove the client ID from. You can get a list of OIDC provider ARNs by using the ListOpenIDConnectProviders operation. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
  4086. */
  4087. OpenIDConnectProviderArn: arnType;
  4088. /**
  4089. * The client ID (also known as audience) to remove from the IAM OIDC provider resource. For more information about client IDs, see CreateOpenIDConnectProvider.
  4090. */
  4091. ClientID: clientIDType;
  4092. }
  4093. export interface RemoveRoleFromInstanceProfileRequest {
  4094. /**
  4095. * The name of the instance profile to update. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4096. */
  4097. InstanceProfileName: instanceProfileNameType;
  4098. /**
  4099. * The name of the role to remove. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4100. */
  4101. RoleName: roleNameType;
  4102. }
  4103. export interface RemoveUserFromGroupRequest {
  4104. /**
  4105. * The name of the group to update. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4106. */
  4107. GroupName: groupNameType;
  4108. /**
  4109. * The name of the user to remove. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4110. */
  4111. UserName: existingUserNameType;
  4112. }
  4113. export type ReportContentType = Buffer|Uint8Array|Blob|string;
  4114. export type ReportFormatType = "text/csv"|string;
  4115. export type ReportStateDescriptionType = string;
  4116. export type ReportStateType = "STARTED"|"INPROGRESS"|"COMPLETE"|string;
  4117. export interface ResetServiceSpecificCredentialRequest {
  4118. /**
  4119. * The name of the IAM user associated with the service-specific credential. If this value is not specified, then the operation assumes the user whose credentials are used to call the operation. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4120. */
  4121. UserName?: userNameType;
  4122. /**
  4123. * The unique identifier of the service-specific credential. This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
  4124. */
  4125. ServiceSpecificCredentialId: serviceSpecificCredentialId;
  4126. }
  4127. export interface ResetServiceSpecificCredentialResponse {
  4128. /**
  4129. * A structure with details about the updated service-specific credential, including the new password. This is the only time that you can access the password. You cannot recover the password later, but you can reset it again.
  4130. */
  4131. ServiceSpecificCredential?: ServiceSpecificCredential;
  4132. }
  4133. export type ResourceHandlingOptionType = string;
  4134. export type ResourceNameListType = ResourceNameType[];
  4135. export type ResourceNameType = string;
  4136. export interface ResourceSpecificResult {
  4137. /**
  4138. * The name of the simulated resource, in Amazon Resource Name (ARN) format.
  4139. */
  4140. EvalResourceName: ResourceNameType;
  4141. /**
  4142. * The result of the simulation of the simulated API operation on the resource specified in EvalResourceName.
  4143. */
  4144. EvalResourceDecision: PolicyEvaluationDecisionType;
  4145. /**
  4146. * A list of the statements in the input policies that determine the result for this part of the simulation. Remember that even if multiple statements allow the operation on the resource, if any statement denies that operation, then the explicit deny overrides any allow. In addition, the deny statement is the only entry included in the result.
  4147. */
  4148. MatchedStatements?: StatementListType;
  4149. /**
  4150. * A list of context keys that are required by the included input policies but that were not provided by one of the input parameters. This list is used when a list of ARNs is included in the ResourceArns parameter instead of "*". If you do not specify individual resources, by setting ResourceArns to "*" or by not including the ResourceArns parameter, then any missing context values are instead included under the EvaluationResults section. To discover the context keys used by a set of policies, you can call GetContextKeysForCustomPolicy or GetContextKeysForPrincipalPolicy.
  4151. */
  4152. MissingContextValues?: ContextKeyNamesResultListType;
  4153. /**
  4154. * Additional details about the results of the evaluation decision on a single resource. This parameter is returned only for cross-account simulations. This parameter explains how each policy type contributes to the resource-specific evaluation decision.
  4155. */
  4156. EvalDecisionDetails?: EvalDecisionDetailsType;
  4157. /**
  4158. * Contains information about the effect that a permissions boundary has on a policy simulation when that boundary is applied to an IAM entity.
  4159. */
  4160. PermissionsBoundaryDecisionDetail?: PermissionsBoundaryDecisionDetail;
  4161. }
  4162. export type ResourceSpecificResultListType = ResourceSpecificResult[];
  4163. export interface ResyncMFADeviceRequest {
  4164. /**
  4165. * The name of the user whose MFA device you want to resynchronize. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4166. */
  4167. UserName: existingUserNameType;
  4168. /**
  4169. * Serial number that uniquely identifies the MFA device. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4170. */
  4171. SerialNumber: serialNumberType;
  4172. /**
  4173. * An authentication code emitted by the device. The format for this parameter is a sequence of six digits.
  4174. */
  4175. AuthenticationCode1: authenticationCodeType;
  4176. /**
  4177. * A subsequent authentication code emitted by the device. The format for this parameter is a sequence of six digits.
  4178. */
  4179. AuthenticationCode2: authenticationCodeType;
  4180. }
  4181. export interface Role {
  4182. /**
  4183. * The path to the role. For more information about paths, see IAM identifiers in the IAM User Guide.
  4184. */
  4185. Path: pathType;
  4186. /**
  4187. * The friendly name that identifies the role.
  4188. */
  4189. RoleName: roleNameType;
  4190. /**
  4191. * The stable and unique string identifying the role. For more information about IDs, see IAM identifiers in the IAM User Guide.
  4192. */
  4193. RoleId: idType;
  4194. /**
  4195. * The Amazon Resource Name (ARN) specifying the role. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide guide.
  4196. */
  4197. Arn: arnType;
  4198. /**
  4199. * The date and time, in ISO 8601 date-time format, when the role was created.
  4200. */
  4201. CreateDate: dateType;
  4202. /**
  4203. * The policy that grants an entity permission to assume the role.
  4204. */
  4205. AssumeRolePolicyDocument?: policyDocumentType;
  4206. /**
  4207. * A description of the role that you provide.
  4208. */
  4209. Description?: roleDescriptionType;
  4210. /**
  4211. * The maximum session duration (in seconds) for the specified role. Anyone who uses the CLI, or API to assume the role can specify the duration using the optional DurationSeconds API parameter or duration-seconds CLI parameter.
  4212. */
  4213. MaxSessionDuration?: roleMaxSessionDurationType;
  4214. /**
  4215. * The ARN of the policy used to set the permissions boundary for the role. For more information about permissions boundaries, see Permissions boundaries for IAM identities in the IAM User Guide.
  4216. */
  4217. PermissionsBoundary?: AttachedPermissionsBoundary;
  4218. /**
  4219. * A list of tags that are attached to the role. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  4220. */
  4221. Tags?: tagListType;
  4222. /**
  4223. * Contains information about the last time that an IAM role was used. This includes the date and time and the Region in which the role was last used. Activity is only reported for the trailing 400 days. This period can be shorter if your Region began supporting these features within the last year. The role might have been used more than 400 days ago. For more information, see Regions where data is tracked in the IAM user Guide.
  4224. */
  4225. RoleLastUsed?: RoleLastUsed;
  4226. }
  4227. export interface RoleDetail {
  4228. /**
  4229. * The path to the role. For more information about paths, see IAM identifiers in the IAM User Guide.
  4230. */
  4231. Path?: pathType;
  4232. /**
  4233. * The friendly name that identifies the role.
  4234. */
  4235. RoleName?: roleNameType;
  4236. /**
  4237. * The stable and unique string identifying the role. For more information about IDs, see IAM identifiers in the IAM User Guide.
  4238. */
  4239. RoleId?: idType;
  4240. Arn?: arnType;
  4241. /**
  4242. * The date and time, in ISO 8601 date-time format, when the role was created.
  4243. */
  4244. CreateDate?: dateType;
  4245. /**
  4246. * The trust policy that grants permission to assume the role.
  4247. */
  4248. AssumeRolePolicyDocument?: policyDocumentType;
  4249. /**
  4250. * A list of instance profiles that contain this role.
  4251. */
  4252. InstanceProfileList?: instanceProfileListType;
  4253. /**
  4254. * A list of inline policies embedded in the role. These policies are the role's access (permissions) policies.
  4255. */
  4256. RolePolicyList?: policyDetailListType;
  4257. /**
  4258. * A list of managed policies attached to the role. These policies are the role's access (permissions) policies.
  4259. */
  4260. AttachedManagedPolicies?: attachedPoliciesListType;
  4261. /**
  4262. * The ARN of the policy used to set the permissions boundary for the role. For more information about permissions boundaries, see Permissions boundaries for IAM identities in the IAM User Guide.
  4263. */
  4264. PermissionsBoundary?: AttachedPermissionsBoundary;
  4265. /**
  4266. * A list of tags that are attached to the role. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  4267. */
  4268. Tags?: tagListType;
  4269. /**
  4270. * Contains information about the last time that an IAM role was used. This includes the date and time and the Region in which the role was last used. Activity is only reported for the trailing 400 days. This period can be shorter if your Region began supporting these features within the last year. The role might have been used more than 400 days ago. For more information, see Regions where data is tracked in the IAM User Guide.
  4271. */
  4272. RoleLastUsed?: RoleLastUsed;
  4273. }
  4274. export interface RoleLastUsed {
  4275. /**
  4276. * The date and time, in ISO 8601 date-time format that the role was last used. This field is null if the role has not been used within the IAM tracking period. For more information about the tracking period, see Regions where data is tracked in the IAM User Guide.
  4277. */
  4278. LastUsedDate?: dateType;
  4279. /**
  4280. * The name of the Amazon Web Services Region in which the role was last used.
  4281. */
  4282. Region?: stringType;
  4283. }
  4284. export type RoleUsageListType = RoleUsageType[];
  4285. export interface RoleUsageType {
  4286. /**
  4287. * The name of the Region where the service-linked role is being used.
  4288. */
  4289. Region?: RegionNameType;
  4290. /**
  4291. * The name of the resource that is using the service-linked role.
  4292. */
  4293. Resources?: ArnListType;
  4294. }
  4295. export type SAMLMetadataDocumentType = string;
  4296. export interface SAMLProviderListEntry {
  4297. /**
  4298. * The Amazon Resource Name (ARN) of the SAML provider.
  4299. */
  4300. Arn?: arnType;
  4301. /**
  4302. * The expiration date and time for the SAML provider.
  4303. */
  4304. ValidUntil?: dateType;
  4305. /**
  4306. * The date and time when the SAML provider was created.
  4307. */
  4308. CreateDate?: dateType;
  4309. }
  4310. export type SAMLProviderListType = SAMLProviderListEntry[];
  4311. export type SAMLProviderNameType = string;
  4312. export interface SSHPublicKey {
  4313. /**
  4314. * The name of the IAM user associated with the SSH public key.
  4315. */
  4316. UserName: userNameType;
  4317. /**
  4318. * The unique identifier for the SSH public key.
  4319. */
  4320. SSHPublicKeyId: publicKeyIdType;
  4321. /**
  4322. * The MD5 message digest of the SSH public key.
  4323. */
  4324. Fingerprint: publicKeyFingerprintType;
  4325. /**
  4326. * The SSH public key.
  4327. */
  4328. SSHPublicKeyBody: publicKeyMaterialType;
  4329. /**
  4330. * The status of the SSH public key. Active means that the key can be used for authentication with an CodeCommit repository. Inactive means that the key cannot be used.
  4331. */
  4332. Status: statusType;
  4333. /**
  4334. * The date and time, in ISO 8601 date-time format, when the SSH public key was uploaded.
  4335. */
  4336. UploadDate?: dateType;
  4337. }
  4338. export type SSHPublicKeyListType = SSHPublicKeyMetadata[];
  4339. export interface SSHPublicKeyMetadata {
  4340. /**
  4341. * The name of the IAM user associated with the SSH public key.
  4342. */
  4343. UserName: userNameType;
  4344. /**
  4345. * The unique identifier for the SSH public key.
  4346. */
  4347. SSHPublicKeyId: publicKeyIdType;
  4348. /**
  4349. * The status of the SSH public key. Active means that the key can be used for authentication with an CodeCommit repository. Inactive means that the key cannot be used.
  4350. */
  4351. Status: statusType;
  4352. /**
  4353. * The date and time, in ISO 8601 date-time format, when the SSH public key was uploaded.
  4354. */
  4355. UploadDate: dateType;
  4356. }
  4357. export interface ServerCertificate {
  4358. /**
  4359. * The meta information of the server certificate, such as its name, path, ID, and ARN.
  4360. */
  4361. ServerCertificateMetadata: ServerCertificateMetadata;
  4362. /**
  4363. * The contents of the public key certificate.
  4364. */
  4365. CertificateBody: certificateBodyType;
  4366. /**
  4367. * The contents of the public key certificate chain.
  4368. */
  4369. CertificateChain?: certificateChainType;
  4370. /**
  4371. * A list of tags that are attached to the server certificate. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  4372. */
  4373. Tags?: tagListType;
  4374. }
  4375. export interface ServerCertificateMetadata {
  4376. /**
  4377. * The path to the server certificate. For more information about paths, see IAM identifiers in the IAM User Guide.
  4378. */
  4379. Path: pathType;
  4380. /**
  4381. * The name that identifies the server certificate.
  4382. */
  4383. ServerCertificateName: serverCertificateNameType;
  4384. /**
  4385. * The stable and unique string identifying the server certificate. For more information about IDs, see IAM identifiers in the IAM User Guide.
  4386. */
  4387. ServerCertificateId: idType;
  4388. /**
  4389. * The Amazon Resource Name (ARN) specifying the server certificate. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.
  4390. */
  4391. Arn: arnType;
  4392. /**
  4393. * The date when the server certificate was uploaded.
  4394. */
  4395. UploadDate?: dateType;
  4396. /**
  4397. * The date on which the certificate is set to expire.
  4398. */
  4399. Expiration?: dateType;
  4400. }
  4401. export interface ServiceLastAccessed {
  4402. /**
  4403. * The name of the service in which access was attempted.
  4404. */
  4405. ServiceName: serviceNameType;
  4406. /**
  4407. * The date and time, in ISO 8601 date-time format, when an authenticated entity most recently attempted to access the service. Amazon Web Services does not report unauthenticated requests. This field is null if no IAM entities attempted to access the service within the tracking period.
  4408. */
  4409. LastAuthenticated?: dateType;
  4410. /**
  4411. * The namespace of the service in which access was attempted. To learn the service namespace of a service, see Actions, resources, and condition keys for Amazon Web Services services in the Service Authorization Reference. Choose the name of the service to view details for that service. In the first paragraph, find the service prefix. For example, (service prefix: a4b). For more information about service namespaces, see Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
  4412. */
  4413. ServiceNamespace: serviceNamespaceType;
  4414. /**
  4415. * The ARN of the authenticated entity (user or role) that last attempted to access the service. Amazon Web Services does not report unauthenticated requests. This field is null if no IAM entities attempted to access the service within the tracking period.
  4416. */
  4417. LastAuthenticatedEntity?: arnType;
  4418. /**
  4419. * The Region from which the authenticated entity (user or role) last attempted to access the service. Amazon Web Services does not report unauthenticated requests. This field is null if no IAM entities attempted to access the service within the tracking period.
  4420. */
  4421. LastAuthenticatedRegion?: stringType;
  4422. /**
  4423. * The total number of authenticated principals (root user, IAM users, or IAM roles) that have attempted to access the service. This field is null if no principals attempted to access the service within the tracking period.
  4424. */
  4425. TotalAuthenticatedEntities?: integerType;
  4426. /**
  4427. * An object that contains details about the most recent attempt to access a tracked action within the service. This field is null if there no tracked actions or if the principal did not use the tracked actions within the tracking period. This field is also null if the report was generated at the service level and not the action level. For more information, see the Granularity field in GenerateServiceLastAccessedDetails.
  4428. */
  4429. TrackedActionsLastAccessed?: TrackedActionsLastAccessed;
  4430. }
  4431. export interface ServiceSpecificCredential {
  4432. /**
  4433. * The date and time, in ISO 8601 date-time format, when the service-specific credential were created.
  4434. */
  4435. CreateDate: dateType;
  4436. /**
  4437. * The name of the service associated with the service-specific credential.
  4438. */
  4439. ServiceName: serviceName;
  4440. /**
  4441. * The generated user name for the service-specific credential. This value is generated by combining the IAM user's name combined with the ID number of the Amazon Web Services account, as in jane-at-123456789012, for example. This value cannot be configured by the user.
  4442. */
  4443. ServiceUserName: serviceUserName;
  4444. /**
  4445. * The generated password for the service-specific credential.
  4446. */
  4447. ServicePassword: servicePassword;
  4448. /**
  4449. * The unique identifier for the service-specific credential.
  4450. */
  4451. ServiceSpecificCredentialId: serviceSpecificCredentialId;
  4452. /**
  4453. * The name of the IAM user associated with the service-specific credential.
  4454. */
  4455. UserName: userNameType;
  4456. /**
  4457. * The status of the service-specific credential. Active means that the key is valid for API calls, while Inactive means it is not.
  4458. */
  4459. Status: statusType;
  4460. }
  4461. export interface ServiceSpecificCredentialMetadata {
  4462. /**
  4463. * The name of the IAM user associated with the service-specific credential.
  4464. */
  4465. UserName: userNameType;
  4466. /**
  4467. * The status of the service-specific credential. Active means that the key is valid for API calls, while Inactive means it is not.
  4468. */
  4469. Status: statusType;
  4470. /**
  4471. * The generated user name for the service-specific credential.
  4472. */
  4473. ServiceUserName: serviceUserName;
  4474. /**
  4475. * The date and time, in ISO 8601 date-time format, when the service-specific credential were created.
  4476. */
  4477. CreateDate: dateType;
  4478. /**
  4479. * The unique identifier for the service-specific credential.
  4480. */
  4481. ServiceSpecificCredentialId: serviceSpecificCredentialId;
  4482. /**
  4483. * The name of the service associated with the service-specific credential.
  4484. */
  4485. ServiceName: serviceName;
  4486. }
  4487. export type ServiceSpecificCredentialsListType = ServiceSpecificCredentialMetadata[];
  4488. export type ServicesLastAccessed = ServiceLastAccessed[];
  4489. export interface SetDefaultPolicyVersionRequest {
  4490. /**
  4491. * The Amazon Resource Name (ARN) of the IAM policy whose default version you want to set. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
  4492. */
  4493. PolicyArn: arnType;
  4494. /**
  4495. * The version of the policy to set as the default (operative) version. For more information about managed policy versions, see Versioning for managed policies in the IAM User Guide.
  4496. */
  4497. VersionId: policyVersionIdType;
  4498. }
  4499. export interface SetSecurityTokenServicePreferencesRequest {
  4500. /**
  4501. * The version of the global endpoint token. Version 1 tokens are valid only in Amazon Web Services Regions that are available by default. These tokens do not work in manually enabled Regions, such as Asia Pacific (Hong Kong). Version 2 tokens are valid in all Regions. However, version 2 tokens are longer and might affect systems where you temporarily store tokens. For information, see Activating and deactivating STS in an Amazon Web Services Region in the IAM User Guide.
  4502. */
  4503. GlobalEndpointTokenVersion: globalEndpointTokenVersion;
  4504. }
  4505. export interface SigningCertificate {
  4506. /**
  4507. * The name of the user the signing certificate is associated with.
  4508. */
  4509. UserName: userNameType;
  4510. /**
  4511. * The ID for the signing certificate.
  4512. */
  4513. CertificateId: certificateIdType;
  4514. /**
  4515. * The contents of the signing certificate.
  4516. */
  4517. CertificateBody: certificateBodyType;
  4518. /**
  4519. * The status of the signing certificate. Active means that the key is valid for API calls, while Inactive means it is not.
  4520. */
  4521. Status: statusType;
  4522. /**
  4523. * The date when the signing certificate was uploaded.
  4524. */
  4525. UploadDate?: dateType;
  4526. }
  4527. export interface SimulateCustomPolicyRequest {
  4528. /**
  4529. * A list of policy documents to include in the simulation. Each document is specified as a string containing the complete, valid JSON text of an IAM policy. Do not include any resource-based policies in this parameter. Any resource-based policy must be submitted with the ResourcePolicy parameter. The policies cannot be "scope-down" policies, such as you could include in a call to GetFederationToken or one of the AssumeRole API operations. In other words, do not use policies designed to restrict what a user can do while using the temporary credentials. The maximum length of the policy document that you can pass in this operation, including whitespace, is listed below. To view the maximum character counts of a managed policy with no whitespaces, see IAM and STS character quotas. The regex pattern used to validate this parameter is a string of characters consisting of the following: Any printable ASCII character ranging from the space character (\u0020) through the end of the ASCII character range The printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF) The special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D)
  4530. */
  4531. PolicyInputList: SimulationPolicyListType;
  4532. /**
  4533. * The IAM permissions boundary policy to simulate. The permissions boundary sets the maximum permissions that an IAM entity can have. You can input only one permissions boundary when you pass a policy to this operation. For more information about permissions boundaries, see Permissions boundaries for IAM entities in the IAM User Guide. The policy input is specified as a string that contains the complete, valid JSON text of a permissions boundary policy. The maximum length of the policy document that you can pass in this operation, including whitespace, is listed below. To view the maximum character counts of a managed policy with no whitespaces, see IAM and STS character quotas. The regex pattern used to validate this parameter is a string of characters consisting of the following: Any printable ASCII character ranging from the space character (\u0020) through the end of the ASCII character range The printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF) The special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D)
  4534. */
  4535. PermissionsBoundaryPolicyInputList?: SimulationPolicyListType;
  4536. /**
  4537. * A list of names of API operations to evaluate in the simulation. Each operation is evaluated against each resource. Each operation must include the service identifier, such as iam:CreateUser. This operation does not support using wildcards (*) in an action name.
  4538. */
  4539. ActionNames: ActionNameListType;
  4540. /**
  4541. * A list of ARNs of Amazon Web Services resources to include in the simulation. If this parameter is not provided, then the value defaults to * (all resources). Each API in the ActionNames parameter is evaluated for each resource in this list. The simulation determines the access result (allowed or denied) of each combination and reports it in the response. You can simulate resources that don't exist in your account. The simulation does not automatically retrieve policies for the specified resources. If you want to include a resource policy in the simulation, then you must include the policy as a string in the ResourcePolicy parameter. If you include a ResourcePolicy, then it must be applicable to all of the resources included in the simulation or you receive an invalid input error. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference. Simulation of resource-based policies isn't supported for IAM roles.
  4542. */
  4543. ResourceArns?: ResourceNameListType;
  4544. /**
  4545. * A resource-based policy to include in the simulation provided as a string. Each resource in the simulation is treated as if it had this policy attached. You can include only one resource-based policy in a simulation. The maximum length of the policy document that you can pass in this operation, including whitespace, is listed below. To view the maximum character counts of a managed policy with no whitespaces, see IAM and STS character quotas. The regex pattern used to validate this parameter is a string of characters consisting of the following: Any printable ASCII character ranging from the space character (\u0020) through the end of the ASCII character range The printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF) The special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D) Simulation of resource-based policies isn't supported for IAM roles.
  4546. */
  4547. ResourcePolicy?: policyDocumentType;
  4548. /**
  4549. * An ARN representing the Amazon Web Services account ID that specifies the owner of any simulated resource that does not identify its owner in the resource ARN. Examples of resource ARNs include an S3 bucket or object. If ResourceOwner is specified, it is also used as the account owner of any ResourcePolicy included in the simulation. If the ResourceOwner parameter is not specified, then the owner of the resources and the resource policy defaults to the account of the identity provided in CallerArn. This parameter is required only if you specify a resource-based policy and account that owns the resource is different from the account that owns the simulated calling user CallerArn. The ARN for an account uses the following syntax: arn:aws:iam::AWS-account-ID:root. For example, to represent the account with the 112233445566 ID, use the following ARN: arn:aws:iam::112233445566-ID:root.
  4550. */
  4551. ResourceOwner?: ResourceNameType;
  4552. /**
  4553. * The ARN of the IAM user that you want to use as the simulated caller of the API operations. CallerArn is required if you include a ResourcePolicy so that the policy's Principal element has a value to use in evaluating the policy. You can specify only the ARN of an IAM user. You cannot specify the ARN of an assumed role, federated user, or a service principal.
  4554. */
  4555. CallerArn?: ResourceNameType;
  4556. /**
  4557. * A list of context keys and corresponding values for the simulation to use. Whenever a context key is evaluated in one of the simulated IAM permissions policies, the corresponding value is supplied.
  4558. */
  4559. ContextEntries?: ContextEntryListType;
  4560. /**
  4561. * Specifies the type of simulation to run. Different API operations that support resource-based policies require different combinations of resources. By specifying the type of simulation to run, you enable the policy simulator to enforce the presence of the required resources to ensure reliable simulation results. If your simulation does not match one of the following scenarios, then you can omit this parameter. The following list shows each of the supported scenario values and the resources that you must define to run the simulation. Each of the Amazon EC2 scenarios requires that you specify instance, image, and security group resources. If your scenario includes an EBS volume, then you must specify that volume as a resource. If the Amazon EC2 scenario includes VPC, then you must supply the network interface resource. If it includes an IP subnet, then you must specify the subnet resource. For more information on the Amazon EC2 scenario options, see Supported platforms in the Amazon EC2 User Guide. EC2-VPC-InstanceStore instance, image, security group, network interface EC2-VPC-InstanceStore-Subnet instance, image, security group, network interface, subnet EC2-VPC-EBS instance, image, security group, network interface, volume EC2-VPC-EBS-Subnet instance, image, security group, network interface, subnet, volume
  4562. */
  4563. ResourceHandlingOption?: ResourceHandlingOptionType;
  4564. /**
  4565. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  4566. */
  4567. MaxItems?: maxItemsType;
  4568. /**
  4569. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  4570. */
  4571. Marker?: markerType;
  4572. }
  4573. export interface SimulatePolicyResponse {
  4574. /**
  4575. * The results of the simulation.
  4576. */
  4577. EvaluationResults?: EvaluationResultsListType;
  4578. /**
  4579. * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
  4580. */
  4581. IsTruncated?: booleanType;
  4582. /**
  4583. * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  4584. */
  4585. Marker?: responseMarkerType;
  4586. }
  4587. export interface SimulatePrincipalPolicyRequest {
  4588. /**
  4589. * The Amazon Resource Name (ARN) of a user, group, or role whose policies you want to include in the simulation. If you specify a user, group, or role, the simulation includes all policies that are associated with that entity. If you specify a user, the simulation also includes all policies that are attached to any groups the user belongs to. The maximum length of the policy document that you can pass in this operation, including whitespace, is listed below. To view the maximum character counts of a managed policy with no whitespaces, see IAM and STS character quotas. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
  4590. */
  4591. PolicySourceArn: arnType;
  4592. /**
  4593. * An optional list of additional policy documents to include in the simulation. Each document is specified as a string containing the complete, valid JSON text of an IAM policy. The regex pattern used to validate this parameter is a string of characters consisting of the following: Any printable ASCII character ranging from the space character (\u0020) through the end of the ASCII character range The printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF) The special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D)
  4594. */
  4595. PolicyInputList?: SimulationPolicyListType;
  4596. /**
  4597. * The IAM permissions boundary policy to simulate. The permissions boundary sets the maximum permissions that the entity can have. You can input only one permissions boundary when you pass a policy to this operation. An IAM entity can only have one permissions boundary in effect at a time. For example, if a permissions boundary is attached to an entity and you pass in a different permissions boundary policy using this parameter, then the new permissions boundary policy is used for the simulation. For more information about permissions boundaries, see Permissions boundaries for IAM entities in the IAM User Guide. The policy input is specified as a string containing the complete, valid JSON text of a permissions boundary policy. The maximum length of the policy document that you can pass in this operation, including whitespace, is listed below. To view the maximum character counts of a managed policy with no whitespaces, see IAM and STS character quotas. The regex pattern used to validate this parameter is a string of characters consisting of the following: Any printable ASCII character ranging from the space character (\u0020) through the end of the ASCII character range The printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF) The special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D)
  4598. */
  4599. PermissionsBoundaryPolicyInputList?: SimulationPolicyListType;
  4600. /**
  4601. * A list of names of API operations to evaluate in the simulation. Each operation is evaluated for each resource. Each operation must include the service identifier, such as iam:CreateUser.
  4602. */
  4603. ActionNames: ActionNameListType;
  4604. /**
  4605. * A list of ARNs of Amazon Web Services resources to include in the simulation. If this parameter is not provided, then the value defaults to * (all resources). Each API in the ActionNames parameter is evaluated for each resource in this list. The simulation determines the access result (allowed or denied) of each combination and reports it in the response. You can simulate resources that don't exist in your account. The simulation does not automatically retrieve policies for the specified resources. If you want to include a resource policy in the simulation, then you must include the policy as a string in the ResourcePolicy parameter. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference. Simulation of resource-based policies isn't supported for IAM roles.
  4606. */
  4607. ResourceArns?: ResourceNameListType;
  4608. /**
  4609. * A resource-based policy to include in the simulation provided as a string. Each resource in the simulation is treated as if it had this policy attached. You can include only one resource-based policy in a simulation. The maximum length of the policy document that you can pass in this operation, including whitespace, is listed below. To view the maximum character counts of a managed policy with no whitespaces, see IAM and STS character quotas. The regex pattern used to validate this parameter is a string of characters consisting of the following: Any printable ASCII character ranging from the space character (\u0020) through the end of the ASCII character range The printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF) The special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D) Simulation of resource-based policies isn't supported for IAM roles.
  4610. */
  4611. ResourcePolicy?: policyDocumentType;
  4612. /**
  4613. * An Amazon Web Services account ID that specifies the owner of any simulated resource that does not identify its owner in the resource ARN. Examples of resource ARNs include an S3 bucket or object. If ResourceOwner is specified, it is also used as the account owner of any ResourcePolicy included in the simulation. If the ResourceOwner parameter is not specified, then the owner of the resources and the resource policy defaults to the account of the identity provided in CallerArn. This parameter is required only if you specify a resource-based policy and account that owns the resource is different from the account that owns the simulated calling user CallerArn.
  4614. */
  4615. ResourceOwner?: ResourceNameType;
  4616. /**
  4617. * The ARN of the IAM user that you want to specify as the simulated caller of the API operations. If you do not specify a CallerArn, it defaults to the ARN of the user that you specify in PolicySourceArn, if you specified a user. If you include both a PolicySourceArn (for example, arn:aws:iam::123456789012:user/David) and a CallerArn (for example, arn:aws:iam::123456789012:user/Bob), the result is that you simulate calling the API operations as Bob, as if Bob had David's policies. You can specify only the ARN of an IAM user. You cannot specify the ARN of an assumed role, federated user, or a service principal. CallerArn is required if you include a ResourcePolicy and the PolicySourceArn is not the ARN for an IAM user. This is required so that the resource-based policy's Principal element has a value to use in evaluating the policy. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
  4618. */
  4619. CallerArn?: ResourceNameType;
  4620. /**
  4621. * A list of context keys and corresponding values for the simulation to use. Whenever a context key is evaluated in one of the simulated IAM permissions policies, the corresponding value is supplied.
  4622. */
  4623. ContextEntries?: ContextEntryListType;
  4624. /**
  4625. * Specifies the type of simulation to run. Different API operations that support resource-based policies require different combinations of resources. By specifying the type of simulation to run, you enable the policy simulator to enforce the presence of the required resources to ensure reliable simulation results. If your simulation does not match one of the following scenarios, then you can omit this parameter. The following list shows each of the supported scenario values and the resources that you must define to run the simulation. Each of the Amazon EC2 scenarios requires that you specify instance, image, and security group resources. If your scenario includes an EBS volume, then you must specify that volume as a resource. If the Amazon EC2 scenario includes VPC, then you must supply the network interface resource. If it includes an IP subnet, then you must specify the subnet resource. For more information on the Amazon EC2 scenario options, see Supported platforms in the Amazon EC2 User Guide. EC2-VPC-InstanceStore instance, image, security group, network interface EC2-VPC-InstanceStore-Subnet instance, image, security group, network interface, subnet EC2-VPC-EBS instance, image, security group, network interface, volume EC2-VPC-EBS-Subnet instance, image, security group, network interface, subnet, volume
  4626. */
  4627. ResourceHandlingOption?: ResourceHandlingOptionType;
  4628. /**
  4629. * Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
  4630. */
  4631. MaxItems?: maxItemsType;
  4632. /**
  4633. * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
  4634. */
  4635. Marker?: markerType;
  4636. }
  4637. export type SimulationPolicyListType = policyDocumentType[];
  4638. export interface Statement {
  4639. /**
  4640. * The identifier of the policy that was provided as an input.
  4641. */
  4642. SourcePolicyId?: PolicyIdentifierType;
  4643. /**
  4644. * The type of the policy.
  4645. */
  4646. SourcePolicyType?: PolicySourceType;
  4647. /**
  4648. * The row and column of the beginning of the Statement in an IAM policy.
  4649. */
  4650. StartPosition?: Position;
  4651. /**
  4652. * The row and column of the end of a Statement in an IAM policy.
  4653. */
  4654. EndPosition?: Position;
  4655. }
  4656. export type StatementListType = Statement[];
  4657. export interface Tag {
  4658. /**
  4659. * The key name that can be used to look up or retrieve the associated value. For example, Department or Cost Center are common choices.
  4660. */
  4661. Key: tagKeyType;
  4662. /**
  4663. * The value associated with this tag. For example, tags with a key name of Department could have values such as Human Resources, Accounting, and Support. Tags with a key name of Cost Center might have values that consist of the number associated with the different cost centers in your company. Typically, many resources have tags with the same key name but with different values. Amazon Web Services always interprets the tag Value as a single string. If you need to store an array, you can store comma-separated values in the string. However, you must interpret the value in your code.
  4664. */
  4665. Value: tagValueType;
  4666. }
  4667. export interface TagInstanceProfileRequest {
  4668. /**
  4669. * The name of the IAM instance profile to which you want to add tags. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4670. */
  4671. InstanceProfileName: instanceProfileNameType;
  4672. /**
  4673. * The list of tags that you want to attach to the IAM instance profile. Each tag consists of a key name and an associated value.
  4674. */
  4675. Tags: tagListType;
  4676. }
  4677. export interface TagMFADeviceRequest {
  4678. /**
  4679. * The unique identifier for the IAM virtual MFA device to which you want to add tags. For virtual MFA devices, the serial number is the same as the ARN. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4680. */
  4681. SerialNumber: serialNumberType;
  4682. /**
  4683. * The list of tags that you want to attach to the IAM virtual MFA device. Each tag consists of a key name and an associated value.
  4684. */
  4685. Tags: tagListType;
  4686. }
  4687. export interface TagOpenIDConnectProviderRequest {
  4688. /**
  4689. * The ARN of the OIDC identity provider in IAM to which you want to add tags. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4690. */
  4691. OpenIDConnectProviderArn: arnType;
  4692. /**
  4693. * The list of tags that you want to attach to the OIDC identity provider in IAM. Each tag consists of a key name and an associated value.
  4694. */
  4695. Tags: tagListType;
  4696. }
  4697. export interface TagPolicyRequest {
  4698. /**
  4699. * The ARN of the IAM customer managed policy to which you want to add tags. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4700. */
  4701. PolicyArn: arnType;
  4702. /**
  4703. * The list of tags that you want to attach to the IAM customer managed policy. Each tag consists of a key name and an associated value.
  4704. */
  4705. Tags: tagListType;
  4706. }
  4707. export interface TagRoleRequest {
  4708. /**
  4709. * The name of the IAM role to which you want to add tags. This parameter accepts (through its regex pattern) a string of characters that consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4710. */
  4711. RoleName: roleNameType;
  4712. /**
  4713. * The list of tags that you want to attach to the IAM role. Each tag consists of a key name and an associated value.
  4714. */
  4715. Tags: tagListType;
  4716. }
  4717. export interface TagSAMLProviderRequest {
  4718. /**
  4719. * The ARN of the SAML identity provider in IAM to which you want to add tags. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4720. */
  4721. SAMLProviderArn: arnType;
  4722. /**
  4723. * The list of tags that you want to attach to the SAML identity provider in IAM. Each tag consists of a key name and an associated value.
  4724. */
  4725. Tags: tagListType;
  4726. }
  4727. export interface TagServerCertificateRequest {
  4728. /**
  4729. * The name of the IAM server certificate to which you want to add tags. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4730. */
  4731. ServerCertificateName: serverCertificateNameType;
  4732. /**
  4733. * The list of tags that you want to attach to the IAM server certificate. Each tag consists of a key name and an associated value.
  4734. */
  4735. Tags: tagListType;
  4736. }
  4737. export interface TagUserRequest {
  4738. /**
  4739. * The name of the IAM user to which you want to add tags. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4740. */
  4741. UserName: existingUserNameType;
  4742. /**
  4743. * The list of tags that you want to attach to the IAM user. Each tag consists of a key name and an associated value.
  4744. */
  4745. Tags: tagListType;
  4746. }
  4747. export interface TrackedActionLastAccessed {
  4748. /**
  4749. * The name of the tracked action to which access was attempted. Tracked actions are actions that report activity to IAM.
  4750. */
  4751. ActionName?: stringType;
  4752. LastAccessedEntity?: arnType;
  4753. /**
  4754. * The date and time, in ISO 8601 date-time format, when an authenticated entity most recently attempted to access the tracked service. Amazon Web Services does not report unauthenticated requests. This field is null if no IAM entities attempted to access the service within the tracking period.
  4755. */
  4756. LastAccessedTime?: dateType;
  4757. /**
  4758. * The Region from which the authenticated entity (user or role) last attempted to access the tracked action. Amazon Web Services does not report unauthenticated requests. This field is null if no IAM entities attempted to access the service within the tracking period.
  4759. */
  4760. LastAccessedRegion?: stringType;
  4761. }
  4762. export type TrackedActionsLastAccessed = TrackedActionLastAccessed[];
  4763. export interface UntagInstanceProfileRequest {
  4764. /**
  4765. * The name of the IAM instance profile from which you want to remove tags. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4766. */
  4767. InstanceProfileName: instanceProfileNameType;
  4768. /**
  4769. * A list of key names as a simple array of strings. The tags with matching keys are removed from the specified instance profile.
  4770. */
  4771. TagKeys: tagKeyListType;
  4772. }
  4773. export interface UntagMFADeviceRequest {
  4774. /**
  4775. * The unique identifier for the IAM virtual MFA device from which you want to remove tags. For virtual MFA devices, the serial number is the same as the ARN. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4776. */
  4777. SerialNumber: serialNumberType;
  4778. /**
  4779. * A list of key names as a simple array of strings. The tags with matching keys are removed from the specified instance profile.
  4780. */
  4781. TagKeys: tagKeyListType;
  4782. }
  4783. export interface UntagOpenIDConnectProviderRequest {
  4784. /**
  4785. * The ARN of the OIDC provider in IAM from which you want to remove tags. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4786. */
  4787. OpenIDConnectProviderArn: arnType;
  4788. /**
  4789. * A list of key names as a simple array of strings. The tags with matching keys are removed from the specified OIDC provider.
  4790. */
  4791. TagKeys: tagKeyListType;
  4792. }
  4793. export interface UntagPolicyRequest {
  4794. /**
  4795. * The ARN of the IAM customer managed policy from which you want to remove tags. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4796. */
  4797. PolicyArn: arnType;
  4798. /**
  4799. * A list of key names as a simple array of strings. The tags with matching keys are removed from the specified policy.
  4800. */
  4801. TagKeys: tagKeyListType;
  4802. }
  4803. export interface UntagRoleRequest {
  4804. /**
  4805. * The name of the IAM role from which you want to remove tags. This parameter accepts (through its regex pattern) a string of characters that consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4806. */
  4807. RoleName: roleNameType;
  4808. /**
  4809. * A list of key names as a simple array of strings. The tags with matching keys are removed from the specified role.
  4810. */
  4811. TagKeys: tagKeyListType;
  4812. }
  4813. export interface UntagSAMLProviderRequest {
  4814. /**
  4815. * The ARN of the SAML identity provider in IAM from which you want to remove tags. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4816. */
  4817. SAMLProviderArn: arnType;
  4818. /**
  4819. * A list of key names as a simple array of strings. The tags with matching keys are removed from the specified SAML identity provider.
  4820. */
  4821. TagKeys: tagKeyListType;
  4822. }
  4823. export interface UntagServerCertificateRequest {
  4824. /**
  4825. * The name of the IAM server certificate from which you want to remove tags. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4826. */
  4827. ServerCertificateName: serverCertificateNameType;
  4828. /**
  4829. * A list of key names as a simple array of strings. The tags with matching keys are removed from the specified IAM server certificate.
  4830. */
  4831. TagKeys: tagKeyListType;
  4832. }
  4833. export interface UntagUserRequest {
  4834. /**
  4835. * The name of the IAM user from which you want to remove tags. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4836. */
  4837. UserName: existingUserNameType;
  4838. /**
  4839. * A list of key names as a simple array of strings. The tags with matching keys are removed from the specified user.
  4840. */
  4841. TagKeys: tagKeyListType;
  4842. }
  4843. export interface UpdateAccessKeyRequest {
  4844. /**
  4845. * The name of the user whose key you want to update. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4846. */
  4847. UserName?: existingUserNameType;
  4848. /**
  4849. * The access key ID of the secret access key you want to update. This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
  4850. */
  4851. AccessKeyId: accessKeyIdType;
  4852. /**
  4853. * The status you want to assign to the secret access key. Active means that the key can be used for programmatic calls to Amazon Web Services, while Inactive means that the key cannot be used.
  4854. */
  4855. Status: statusType;
  4856. }
  4857. export interface UpdateAccountPasswordPolicyRequest {
  4858. /**
  4859. * The minimum number of characters allowed in an IAM user password. If you do not specify a value for this parameter, then the operation uses the default value of 6.
  4860. */
  4861. MinimumPasswordLength?: minimumPasswordLengthType;
  4862. /**
  4863. * Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters: ! @ # $ % ^ &amp; * ( ) _ + - = [ ] { } | ' If you do not specify a value for this parameter, then the operation uses the default value of false. The result is that passwords do not require at least one symbol character.
  4864. */
  4865. RequireSymbols?: booleanType;
  4866. /**
  4867. * Specifies whether IAM user passwords must contain at least one numeric character (0 to 9). If you do not specify a value for this parameter, then the operation uses the default value of false. The result is that passwords do not require at least one numeric character.
  4868. */
  4869. RequireNumbers?: booleanType;
  4870. /**
  4871. * Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z). If you do not specify a value for this parameter, then the operation uses the default value of false. The result is that passwords do not require at least one uppercase character.
  4872. */
  4873. RequireUppercaseCharacters?: booleanType;
  4874. /**
  4875. * Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin alphabet (a to z). If you do not specify a value for this parameter, then the operation uses the default value of false. The result is that passwords do not require at least one lowercase character.
  4876. */
  4877. RequireLowercaseCharacters?: booleanType;
  4878. /**
  4879. * Allows all IAM users in your account to use the Amazon Web Services Management Console to change their own passwords. For more information, see Permitting IAM users to change their own passwords in the IAM User Guide. If you do not specify a value for this parameter, then the operation uses the default value of false. The result is that IAM users in the account do not automatically have permissions to change their own password.
  4880. */
  4881. AllowUsersToChangePassword?: booleanType;
  4882. /**
  4883. * The number of days that an IAM user password is valid. If you do not specify a value for this parameter, then the operation uses the default value of 0. The result is that IAM user passwords never expire.
  4884. */
  4885. MaxPasswordAge?: maxPasswordAgeType;
  4886. /**
  4887. * Specifies the number of previous passwords that IAM users are prevented from reusing. If you do not specify a value for this parameter, then the operation uses the default value of 0. The result is that IAM users are not prevented from reusing previous passwords.
  4888. */
  4889. PasswordReusePrevention?: passwordReusePreventionType;
  4890. /**
  4891. * Prevents IAM users who are accessing the account via the Amazon Web Services Management Console from setting a new console password after their password has expired. The IAM user cannot access the console until an administrator resets the password. If you do not specify a value for this parameter, then the operation uses the default value of false. The result is that IAM users can change their passwords after they expire and continue to sign in as the user. In the Amazon Web Services Management Console, the custom password policy option Allow users to change their own password gives IAM users permissions to iam:ChangePassword for only their user and to the iam:GetAccountPasswordPolicy action. This option does not attach a permissions policy to each user, rather the permissions are applied at the account-level for all users by IAM. IAM users with iam:ChangePassword permission and active access keys can reset their own expired console password using the CLI or API.
  4892. */
  4893. HardExpiry?: booleanObjectType;
  4894. }
  4895. export interface UpdateAssumeRolePolicyRequest {
  4896. /**
  4897. * The name of the role to update with the new policy. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4898. */
  4899. RoleName: roleNameType;
  4900. /**
  4901. * The policy that grants an entity permission to assume the role. You must provide policies in JSON format in IAM. However, for CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM. The regex pattern used to validate this parameter is a string of characters consisting of the following: Any printable ASCII character ranging from the space character (\u0020) through the end of the ASCII character range The printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF) The special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D)
  4902. */
  4903. PolicyDocument: policyDocumentType;
  4904. }
  4905. export interface UpdateGroupRequest {
  4906. /**
  4907. * Name of the IAM group to update. If you're changing the name of the group, this is the original name. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4908. */
  4909. GroupName: groupNameType;
  4910. /**
  4911. * New path for the IAM group. Only include this if changing the group's path. This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.
  4912. */
  4913. NewPath?: pathType;
  4914. /**
  4915. * New name for the IAM group. Only include this if changing the group's name. IAM user, group, role, and policy names must be unique within the account. Names are not distinguished by case. For example, you cannot create resources named both "MyResource" and "myresource".
  4916. */
  4917. NewGroupName?: groupNameType;
  4918. }
  4919. export interface UpdateLoginProfileRequest {
  4920. /**
  4921. * The name of the user whose password you want to update. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4922. */
  4923. UserName: userNameType;
  4924. /**
  4925. * The new password for the specified IAM user. The regex pattern used to validate this parameter is a string of characters consisting of the following: Any printable ASCII character ranging from the space character (\u0020) through the end of the ASCII character range The printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF) The special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D) However, the format can be further restricted by the account administrator by setting a password policy on the Amazon Web Services account. For more information, see UpdateAccountPasswordPolicy.
  4926. */
  4927. Password?: passwordType;
  4928. /**
  4929. * Allows this new password to be used only once by requiring the specified IAM user to set a new password on next sign-in.
  4930. */
  4931. PasswordResetRequired?: booleanObjectType;
  4932. }
  4933. export interface UpdateOpenIDConnectProviderThumbprintRequest {
  4934. /**
  4935. * The Amazon Resource Name (ARN) of the IAM OIDC provider resource object for which you want to update the thumbprint. You can get a list of OIDC provider ARNs by using the ListOpenIDConnectProviders operation. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
  4936. */
  4937. OpenIDConnectProviderArn: arnType;
  4938. /**
  4939. * A list of certificate thumbprints that are associated with the specified IAM OpenID Connect provider. For more information, see CreateOpenIDConnectProvider.
  4940. */
  4941. ThumbprintList: thumbprintListType;
  4942. }
  4943. export interface UpdateRoleDescriptionRequest {
  4944. /**
  4945. * The name of the role that you want to modify.
  4946. */
  4947. RoleName: roleNameType;
  4948. /**
  4949. * The new description that you want to apply to the specified role.
  4950. */
  4951. Description: roleDescriptionType;
  4952. }
  4953. export interface UpdateRoleDescriptionResponse {
  4954. /**
  4955. * A structure that contains details about the modified role.
  4956. */
  4957. Role?: Role;
  4958. }
  4959. export interface UpdateRoleRequest {
  4960. /**
  4961. * The name of the role that you want to modify.
  4962. */
  4963. RoleName: roleNameType;
  4964. /**
  4965. * The new description that you want to apply to the specified role.
  4966. */
  4967. Description?: roleDescriptionType;
  4968. /**
  4969. * The maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default value of one hour is applied. This setting can have a value from 1 hour to 12 hours. Anyone who assumes the role from the CLI or API can use the DurationSeconds API parameter or the duration-seconds CLI parameter to request a longer session. The MaxSessionDuration setting determines the maximum duration that can be requested using the DurationSeconds parameter. If users don't specify a value for the DurationSeconds parameter, their security credentials are valid for one hour by default. This applies when you use the AssumeRole* API operations or the assume-role* CLI operations but does not apply when you use those operations to create a console URL. For more information, see Using IAM roles in the IAM User Guide. IAM role credentials provided by Amazon EC2 instances assigned to the role are not subject to the specified maximum session duration.
  4970. */
  4971. MaxSessionDuration?: roleMaxSessionDurationType;
  4972. }
  4973. export interface UpdateRoleResponse {
  4974. }
  4975. export interface UpdateSAMLProviderRequest {
  4976. /**
  4977. * An XML document generated by an identity provider (IdP) that supports SAML 2.0. The document includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that are received from the IdP. You must generate the metadata document using the identity management software that is used as your organization's IdP.
  4978. */
  4979. SAMLMetadataDocument: SAMLMetadataDocumentType;
  4980. /**
  4981. * The Amazon Resource Name (ARN) of the SAML provider to update. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
  4982. */
  4983. SAMLProviderArn: arnType;
  4984. }
  4985. export interface UpdateSAMLProviderResponse {
  4986. /**
  4987. * The Amazon Resource Name (ARN) of the SAML provider that was updated.
  4988. */
  4989. SAMLProviderArn?: arnType;
  4990. }
  4991. export interface UpdateSSHPublicKeyRequest {
  4992. /**
  4993. * The name of the IAM user associated with the SSH public key. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  4994. */
  4995. UserName: userNameType;
  4996. /**
  4997. * The unique identifier for the SSH public key. This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
  4998. */
  4999. SSHPublicKeyId: publicKeyIdType;
  5000. /**
  5001. * The status to assign to the SSH public key. Active means that the key can be used for authentication with an CodeCommit repository. Inactive means that the key cannot be used.
  5002. */
  5003. Status: statusType;
  5004. }
  5005. export interface UpdateServerCertificateRequest {
  5006. /**
  5007. * The name of the server certificate that you want to update. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  5008. */
  5009. ServerCertificateName: serverCertificateNameType;
  5010. /**
  5011. * The new path for the server certificate. Include this only if you are updating the server certificate's path. This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.
  5012. */
  5013. NewPath?: pathType;
  5014. /**
  5015. * The new name for the server certificate. Include this only if you are updating the server certificate's name. The name of the certificate cannot contain any spaces. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  5016. */
  5017. NewServerCertificateName?: serverCertificateNameType;
  5018. }
  5019. export interface UpdateServiceSpecificCredentialRequest {
  5020. /**
  5021. * The name of the IAM user associated with the service-specific credential. If you do not specify this value, then the operation assumes the user whose credentials are used to call the operation. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  5022. */
  5023. UserName?: userNameType;
  5024. /**
  5025. * The unique identifier of the service-specific credential. This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
  5026. */
  5027. ServiceSpecificCredentialId: serviceSpecificCredentialId;
  5028. /**
  5029. * The status to be assigned to the service-specific credential.
  5030. */
  5031. Status: statusType;
  5032. }
  5033. export interface UpdateSigningCertificateRequest {
  5034. /**
  5035. * The name of the IAM user the signing certificate belongs to. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  5036. */
  5037. UserName?: existingUserNameType;
  5038. /**
  5039. * The ID of the signing certificate you want to update. This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
  5040. */
  5041. CertificateId: certificateIdType;
  5042. /**
  5043. * The status you want to assign to the certificate. Active means that the certificate can be used for programmatic calls to Amazon Web Services Inactive means that the certificate cannot be used.
  5044. */
  5045. Status: statusType;
  5046. }
  5047. export interface UpdateUserRequest {
  5048. /**
  5049. * Name of the user to update. If you're changing the name of the user, this is the original user name. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  5050. */
  5051. UserName: existingUserNameType;
  5052. /**
  5053. * New path for the IAM user. Include this parameter only if you're changing the user's path. This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.
  5054. */
  5055. NewPath?: pathType;
  5056. /**
  5057. * New name for the user. Include this parameter only if you're changing the user's name. IAM user, group, role, and policy names must be unique within the account. Names are not distinguished by case. For example, you cannot create resources named both "MyResource" and "myresource".
  5058. */
  5059. NewUserName?: userNameType;
  5060. }
  5061. export interface UploadSSHPublicKeyRequest {
  5062. /**
  5063. * The name of the IAM user to associate the SSH public key with. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  5064. */
  5065. UserName: userNameType;
  5066. /**
  5067. * The SSH public key. The public key must be encoded in ssh-rsa format or PEM format. The minimum bit-length of the public key is 2048 bits. For example, you can generate a 2048-bit key, and the resulting PEM file is 1679 bytes long. The regex pattern used to validate this parameter is a string of characters consisting of the following: Any printable ASCII character ranging from the space character (\u0020) through the end of the ASCII character range The printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF) The special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D)
  5068. */
  5069. SSHPublicKeyBody: publicKeyMaterialType;
  5070. }
  5071. export interface UploadSSHPublicKeyResponse {
  5072. /**
  5073. * Contains information about the SSH public key.
  5074. */
  5075. SSHPublicKey?: SSHPublicKey;
  5076. }
  5077. export interface UploadServerCertificateRequest {
  5078. /**
  5079. * The path for the server certificate. For more information about paths, see IAM identifiers in the IAM User Guide. This parameter is optional. If it is not included, it defaults to a slash (/). This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters. If you are uploading a server certificate specifically for use with Amazon CloudFront distributions, you must specify a path using the path parameter. The path must begin with /cloudfront and must include a trailing slash (for example, /cloudfront/test/).
  5080. */
  5081. Path?: pathType;
  5082. /**
  5083. * The name for the server certificate. Do not include the path in this value. The name of the certificate cannot contain any spaces. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  5084. */
  5085. ServerCertificateName: serverCertificateNameType;
  5086. /**
  5087. * The contents of the public key certificate in PEM-encoded format. The regex pattern used to validate this parameter is a string of characters consisting of the following: Any printable ASCII character ranging from the space character (\u0020) through the end of the ASCII character range The printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF) The special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D)
  5088. */
  5089. CertificateBody: certificateBodyType;
  5090. /**
  5091. * The contents of the private key in PEM-encoded format. The regex pattern used to validate this parameter is a string of characters consisting of the following: Any printable ASCII character ranging from the space character (\u0020) through the end of the ASCII character range The printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF) The special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D)
  5092. */
  5093. PrivateKey: privateKeyType;
  5094. /**
  5095. * The contents of the certificate chain. This is typically a concatenation of the PEM-encoded public key certificates of the chain. The regex pattern used to validate this parameter is a string of characters consisting of the following: Any printable ASCII character ranging from the space character (\u0020) through the end of the ASCII character range The printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF) The special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D)
  5096. */
  5097. CertificateChain?: certificateChainType;
  5098. /**
  5099. * A list of tags that you want to attach to the new IAM server certificate resource. Each tag consists of a key name and an associated value. For more information about tagging, see Tagging IAM resources in the IAM User Guide. If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created.
  5100. */
  5101. Tags?: tagListType;
  5102. }
  5103. export interface UploadServerCertificateResponse {
  5104. /**
  5105. * The meta information of the uploaded server certificate without its certificate body, certificate chain, and private key.
  5106. */
  5107. ServerCertificateMetadata?: ServerCertificateMetadata;
  5108. /**
  5109. * A list of tags that are attached to the new IAM server certificate. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  5110. */
  5111. Tags?: tagListType;
  5112. }
  5113. export interface UploadSigningCertificateRequest {
  5114. /**
  5115. * The name of the user the signing certificate is for. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  5116. */
  5117. UserName?: existingUserNameType;
  5118. /**
  5119. * The contents of the signing certificate. The regex pattern used to validate this parameter is a string of characters consisting of the following: Any printable ASCII character ranging from the space character (\u0020) through the end of the ASCII character range The printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF) The special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D)
  5120. */
  5121. CertificateBody: certificateBodyType;
  5122. }
  5123. export interface UploadSigningCertificateResponse {
  5124. /**
  5125. * Information about the certificate.
  5126. */
  5127. Certificate: SigningCertificate;
  5128. }
  5129. export interface User {
  5130. /**
  5131. * The path to the user. For more information about paths, see IAM identifiers in the IAM User Guide. The ARN of the policy used to set the permissions boundary for the user.
  5132. */
  5133. Path: pathType;
  5134. /**
  5135. * The friendly name identifying the user.
  5136. */
  5137. UserName: userNameType;
  5138. /**
  5139. * The stable and unique string identifying the user. For more information about IDs, see IAM identifiers in the IAM User Guide.
  5140. */
  5141. UserId: idType;
  5142. /**
  5143. * The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and how to use ARNs in policies, see IAM Identifiers in the IAM User Guide.
  5144. */
  5145. Arn: arnType;
  5146. /**
  5147. * The date and time, in ISO 8601 date-time format, when the user was created.
  5148. */
  5149. CreateDate: dateType;
  5150. /**
  5151. * The date and time, in ISO 8601 date-time format, when the user's password was last used to sign in to an Amazon Web Services website. For a list of Amazon Web Services websites that capture a user's last sign-in time, see the Credential reports topic in the IAM User Guide. If a password is used more than once in a five-minute span, only the first use is returned in this field. If the field is null (no value), then it indicates that they never signed in with a password. This can be because: The user never had a password. A password exists but has not been used since IAM started tracking this information on October 20, 2014. A null value does not mean that the user never had a password. Also, if the user does not currently have a password but had one in the past, then this field contains the date and time the most recent password was used. This value is returned only in the GetUser and ListUsers operations.
  5152. */
  5153. PasswordLastUsed?: dateType;
  5154. /**
  5155. * For more information about permissions boundaries, see Permissions boundaries for IAM identities in the IAM User Guide.
  5156. */
  5157. PermissionsBoundary?: AttachedPermissionsBoundary;
  5158. /**
  5159. * A list of tags that are associated with the user. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  5160. */
  5161. Tags?: tagListType;
  5162. }
  5163. export interface UserDetail {
  5164. /**
  5165. * The path to the user. For more information about paths, see IAM identifiers in the IAM User Guide.
  5166. */
  5167. Path?: pathType;
  5168. /**
  5169. * The friendly name identifying the user.
  5170. */
  5171. UserName?: userNameType;
  5172. /**
  5173. * The stable and unique string identifying the user. For more information about IDs, see IAM identifiers in the IAM User Guide.
  5174. */
  5175. UserId?: idType;
  5176. Arn?: arnType;
  5177. /**
  5178. * The date and time, in ISO 8601 date-time format, when the user was created.
  5179. */
  5180. CreateDate?: dateType;
  5181. /**
  5182. * A list of the inline policies embedded in the user.
  5183. */
  5184. UserPolicyList?: policyDetailListType;
  5185. /**
  5186. * A list of IAM groups that the user is in.
  5187. */
  5188. GroupList?: groupNameListType;
  5189. /**
  5190. * A list of the managed policies attached to the user.
  5191. */
  5192. AttachedManagedPolicies?: attachedPoliciesListType;
  5193. /**
  5194. * The ARN of the policy used to set the permissions boundary for the user. For more information about permissions boundaries, see Permissions boundaries for IAM identities in the IAM User Guide.
  5195. */
  5196. PermissionsBoundary?: AttachedPermissionsBoundary;
  5197. /**
  5198. * A list of tags that are associated with the user. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  5199. */
  5200. Tags?: tagListType;
  5201. }
  5202. export interface VirtualMFADevice {
  5203. /**
  5204. * The serial number associated with VirtualMFADevice.
  5205. */
  5206. SerialNumber: serialNumberType;
  5207. /**
  5208. * The base32 seed defined as specified in RFC3548. The Base32StringSeed is base32-encoded.
  5209. */
  5210. Base32StringSeed?: BootstrapDatum;
  5211. /**
  5212. * A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String where $virtualMFADeviceName is one of the create call arguments. AccountName is the user name if set (otherwise, the account ID otherwise), and Base32String is the seed in base32 format. The Base32String value is base64-encoded.
  5213. */
  5214. QRCodePNG?: BootstrapDatum;
  5215. /**
  5216. * The IAM user associated with this virtual MFA device.
  5217. */
  5218. User?: User;
  5219. /**
  5220. * The date and time on which the virtual MFA device was enabled.
  5221. */
  5222. EnableDate?: dateType;
  5223. /**
  5224. * A list of tags that are attached to the virtual MFA device. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
  5225. */
  5226. Tags?: tagListType;
  5227. }
  5228. export type accessKeyIdType = string;
  5229. export type accessKeyMetadataListType = AccessKeyMetadata[];
  5230. export type accessKeySecretType = string;
  5231. export type accountAliasListType = accountAliasType[];
  5232. export type accountAliasType = string;
  5233. export type arnType = string;
  5234. export type assignmentStatusType = "Assigned"|"Unassigned"|"Any"|string;
  5235. export type attachedPoliciesListType = AttachedPolicy[];
  5236. export type attachmentCountType = number;
  5237. export type authenticationCodeType = string;
  5238. export type booleanObjectType = boolean;
  5239. export type booleanType = boolean;
  5240. export type certificateBodyType = string;
  5241. export type certificateChainType = string;
  5242. export type certificateIdType = string;
  5243. export type certificateListType = SigningCertificate[];
  5244. export type clientIDListType = clientIDType[];
  5245. export type clientIDType = string;
  5246. export type customSuffixType = string;
  5247. export type dateType = Date;
  5248. export type encodingType = "SSH"|"PEM"|string;
  5249. export type entityDetailsListType = EntityDetails[];
  5250. export type entityListType = EntityType[];
  5251. export type entityNameType = string;
  5252. export type existingUserNameType = string;
  5253. export type globalEndpointTokenVersion = "v1Token"|"v2Token"|string;
  5254. export type groupDetailListType = GroupDetail[];
  5255. export type groupListType = Group[];
  5256. export type groupNameListType = groupNameType[];
  5257. export type groupNameType = string;
  5258. export type idType = string;
  5259. export type instanceProfileListType = InstanceProfile[];
  5260. export type instanceProfileNameType = string;
  5261. export type integerType = number;
  5262. export type jobIDType = string;
  5263. export type jobStatusType = "IN_PROGRESS"|"COMPLETED"|"FAILED"|string;
  5264. export type listPolicyGrantingServiceAccessResponseListType = ListPoliciesGrantingServiceAccessEntry[];
  5265. export type markerType = string;
  5266. export type maxItemsType = number;
  5267. export type maxPasswordAgeType = number;
  5268. export type mfaDeviceListType = MFADevice[];
  5269. export type minimumPasswordLengthType = number;
  5270. export type organizationsEntityPathType = string;
  5271. export type organizationsPolicyIdType = string;
  5272. export type passwordReusePreventionType = number;
  5273. export type passwordType = string;
  5274. export type pathPrefixType = string;
  5275. export type pathType = string;
  5276. export type policyDescriptionType = string;
  5277. export type policyDetailListType = PolicyDetail[];
  5278. export type policyDocumentType = string;
  5279. export type policyDocumentVersionListType = PolicyVersion[];
  5280. export type policyGrantingServiceAccessListType = PolicyGrantingServiceAccess[];
  5281. export type policyListType = Policy[];
  5282. export type policyNameListType = policyNameType[];
  5283. export type policyNameType = string;
  5284. export type policyOwnerEntityType = "USER"|"ROLE"|"GROUP"|string;
  5285. export type policyPathType = string;
  5286. export type policyScopeType = "All"|"AWS"|"Local"|string;
  5287. export type policyType = "INLINE"|"MANAGED"|string;
  5288. export type policyVersionIdType = string;
  5289. export type privateKeyType = string;
  5290. export type publicKeyFingerprintType = string;
  5291. export type publicKeyIdType = string;
  5292. export type publicKeyMaterialType = string;
  5293. export type responseMarkerType = string;
  5294. export type roleDescriptionType = string;
  5295. export type roleDetailListType = RoleDetail[];
  5296. export type roleListType = Role[];
  5297. export type roleMaxSessionDurationType = number;
  5298. export type roleNameType = string;
  5299. export type serialNumberType = string;
  5300. export type serverCertificateMetadataListType = ServerCertificateMetadata[];
  5301. export type serverCertificateNameType = string;
  5302. export type serviceName = string;
  5303. export type serviceNameType = string;
  5304. export type serviceNamespaceListType = serviceNamespaceType[];
  5305. export type serviceNamespaceType = string;
  5306. export type servicePassword = string;
  5307. export type serviceSpecificCredentialId = string;
  5308. export type serviceUserName = string;
  5309. export type sortKeyType = "SERVICE_NAMESPACE_ASCENDING"|"SERVICE_NAMESPACE_DESCENDING"|"LAST_AUTHENTICATED_TIME_ASCENDING"|"LAST_AUTHENTICATED_TIME_DESCENDING"|string;
  5310. export type statusType = "Active"|"Inactive"|string;
  5311. export type stringType = string;
  5312. export type summaryKeyType = "Users"|"UsersQuota"|"Groups"|"GroupsQuota"|"ServerCertificates"|"ServerCertificatesQuota"|"UserPolicySizeQuota"|"GroupPolicySizeQuota"|"GroupsPerUserQuota"|"SigningCertificatesPerUserQuota"|"AccessKeysPerUserQuota"|"MFADevices"|"MFADevicesInUse"|"AccountMFAEnabled"|"AccountAccessKeysPresent"|"AccountSigningCertificatesPresent"|"AttachedPoliciesPerGroupQuota"|"AttachedPoliciesPerRoleQuota"|"AttachedPoliciesPerUserQuota"|"Policies"|"PoliciesQuota"|"PolicySizeQuota"|"PolicyVersionsInUse"|"PolicyVersionsInUseQuota"|"VersionsPerPolicyQuota"|"GlobalEndpointTokenVersion"|string;
  5313. export type summaryMapType = {[key: string]: summaryValueType};
  5314. export type summaryValueType = number;
  5315. export type tagKeyListType = tagKeyType[];
  5316. export type tagKeyType = string;
  5317. export type tagListType = Tag[];
  5318. export type tagValueType = string;
  5319. export type thumbprintListType = thumbprintType[];
  5320. export type thumbprintType = string;
  5321. export type userDetailListType = UserDetail[];
  5322. export type userListType = User[];
  5323. export type userNameType = string;
  5324. export type virtualMFADeviceListType = VirtualMFADevice[];
  5325. export type virtualMFADeviceName = string;
  5326. /**
  5327. * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
  5328. */
  5329. export type apiVersion = "2010-05-08"|"latest"|string;
  5330. export interface ClientApiVersions {
  5331. /**
  5332. * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
  5333. */
  5334. apiVersion?: apiVersion;
  5335. }
  5336. export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
  5337. /**
  5338. * Contains interfaces for use with the IAM client.
  5339. */
  5340. export import Types = IAM;
  5341. }
  5342. export = IAM;