iotsitewise.d.ts 250 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137
  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 IoTSiteWise extends Service {
  10. /**
  11. * Constructs a service object. This object has one method for each API operation.
  12. */
  13. constructor(options?: IoTSiteWise.Types.ClientConfiguration)
  14. config: Config & IoTSiteWise.Types.ClientConfiguration;
  15. /**
  16. * Associates a child asset with the given parent asset through a hierarchy defined in the parent asset's model. For more information, see Associating assets in the IoT SiteWise User Guide.
  17. */
  18. associateAssets(params: IoTSiteWise.Types.AssociateAssetsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  19. /**
  20. * Associates a child asset with the given parent asset through a hierarchy defined in the parent asset's model. For more information, see Associating assets in the IoT SiteWise User Guide.
  21. */
  22. associateAssets(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  23. /**
  24. * Associates a time series (data stream) with an asset property.
  25. */
  26. associateTimeSeriesToAssetProperty(params: IoTSiteWise.Types.AssociateTimeSeriesToAssetPropertyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  27. /**
  28. * Associates a time series (data stream) with an asset property.
  29. */
  30. associateTimeSeriesToAssetProperty(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  31. /**
  32. * Associates a group (batch) of assets with an IoT SiteWise Monitor project.
  33. */
  34. batchAssociateProjectAssets(params: IoTSiteWise.Types.BatchAssociateProjectAssetsRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.BatchAssociateProjectAssetsResponse) => void): Request<IoTSiteWise.Types.BatchAssociateProjectAssetsResponse, AWSError>;
  35. /**
  36. * Associates a group (batch) of assets with an IoT SiteWise Monitor project.
  37. */
  38. batchAssociateProjectAssets(callback?: (err: AWSError, data: IoTSiteWise.Types.BatchAssociateProjectAssetsResponse) => void): Request<IoTSiteWise.Types.BatchAssociateProjectAssetsResponse, AWSError>;
  39. /**
  40. * Disassociates a group (batch) of assets from an IoT SiteWise Monitor project.
  41. */
  42. batchDisassociateProjectAssets(params: IoTSiteWise.Types.BatchDisassociateProjectAssetsRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.BatchDisassociateProjectAssetsResponse) => void): Request<IoTSiteWise.Types.BatchDisassociateProjectAssetsResponse, AWSError>;
  43. /**
  44. * Disassociates a group (batch) of assets from an IoT SiteWise Monitor project.
  45. */
  46. batchDisassociateProjectAssets(callback?: (err: AWSError, data: IoTSiteWise.Types.BatchDisassociateProjectAssetsResponse) => void): Request<IoTSiteWise.Types.BatchDisassociateProjectAssetsResponse, AWSError>;
  47. /**
  48. * Gets aggregated values (for example, average, minimum, and maximum) for one or more asset properties. For more information, see Querying aggregates in the IoT SiteWise User Guide.
  49. */
  50. batchGetAssetPropertyAggregates(params: IoTSiteWise.Types.BatchGetAssetPropertyAggregatesRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.BatchGetAssetPropertyAggregatesResponse) => void): Request<IoTSiteWise.Types.BatchGetAssetPropertyAggregatesResponse, AWSError>;
  51. /**
  52. * Gets aggregated values (for example, average, minimum, and maximum) for one or more asset properties. For more information, see Querying aggregates in the IoT SiteWise User Guide.
  53. */
  54. batchGetAssetPropertyAggregates(callback?: (err: AWSError, data: IoTSiteWise.Types.BatchGetAssetPropertyAggregatesResponse) => void): Request<IoTSiteWise.Types.BatchGetAssetPropertyAggregatesResponse, AWSError>;
  55. /**
  56. * Gets the current value for one or more asset properties. For more information, see Querying current values in the IoT SiteWise User Guide.
  57. */
  58. batchGetAssetPropertyValue(params: IoTSiteWise.Types.BatchGetAssetPropertyValueRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.BatchGetAssetPropertyValueResponse) => void): Request<IoTSiteWise.Types.BatchGetAssetPropertyValueResponse, AWSError>;
  59. /**
  60. * Gets the current value for one or more asset properties. For more information, see Querying current values in the IoT SiteWise User Guide.
  61. */
  62. batchGetAssetPropertyValue(callback?: (err: AWSError, data: IoTSiteWise.Types.BatchGetAssetPropertyValueResponse) => void): Request<IoTSiteWise.Types.BatchGetAssetPropertyValueResponse, AWSError>;
  63. /**
  64. * Gets the historical values for one or more asset properties. For more information, see Querying historical values in the IoT SiteWise User Guide.
  65. */
  66. batchGetAssetPropertyValueHistory(params: IoTSiteWise.Types.BatchGetAssetPropertyValueHistoryRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.BatchGetAssetPropertyValueHistoryResponse) => void): Request<IoTSiteWise.Types.BatchGetAssetPropertyValueHistoryResponse, AWSError>;
  67. /**
  68. * Gets the historical values for one or more asset properties. For more information, see Querying historical values in the IoT SiteWise User Guide.
  69. */
  70. batchGetAssetPropertyValueHistory(callback?: (err: AWSError, data: IoTSiteWise.Types.BatchGetAssetPropertyValueHistoryResponse) => void): Request<IoTSiteWise.Types.BatchGetAssetPropertyValueHistoryResponse, AWSError>;
  71. /**
  72. * Sends a list of asset property values to IoT SiteWise. Each value is a timestamp-quality-value (TQV) data point. For more information, see Ingesting data using the API in the IoT SiteWise User Guide. To identify an asset property, you must specify one of the following: The assetId and propertyId of an asset property. A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty. With respect to Unix epoch time, IoT SiteWise accepts only TQVs that have a timestamp of no more than 7 days in the past and no more than 10 minutes in the future. IoT SiteWise rejects timestamps outside of the inclusive range of [-7 days, +10 minutes] and returns a TimestampOutOfRangeException error. For each asset property, IoT SiteWise overwrites TQVs with duplicate timestamps unless the newer TQV has a different quality. For example, if you store a TQV {T1, GOOD, V1}, then storing {T1, GOOD, V2} replaces the existing TQV. IoT SiteWise authorizes access to each BatchPutAssetPropertyValue entry individually. For more information, see BatchPutAssetPropertyValue authorization in the IoT SiteWise User Guide.
  73. */
  74. batchPutAssetPropertyValue(params: IoTSiteWise.Types.BatchPutAssetPropertyValueRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.BatchPutAssetPropertyValueResponse) => void): Request<IoTSiteWise.Types.BatchPutAssetPropertyValueResponse, AWSError>;
  75. /**
  76. * Sends a list of asset property values to IoT SiteWise. Each value is a timestamp-quality-value (TQV) data point. For more information, see Ingesting data using the API in the IoT SiteWise User Guide. To identify an asset property, you must specify one of the following: The assetId and propertyId of an asset property. A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty. With respect to Unix epoch time, IoT SiteWise accepts only TQVs that have a timestamp of no more than 7 days in the past and no more than 10 minutes in the future. IoT SiteWise rejects timestamps outside of the inclusive range of [-7 days, +10 minutes] and returns a TimestampOutOfRangeException error. For each asset property, IoT SiteWise overwrites TQVs with duplicate timestamps unless the newer TQV has a different quality. For example, if you store a TQV {T1, GOOD, V1}, then storing {T1, GOOD, V2} replaces the existing TQV. IoT SiteWise authorizes access to each BatchPutAssetPropertyValue entry individually. For more information, see BatchPutAssetPropertyValue authorization in the IoT SiteWise User Guide.
  77. */
  78. batchPutAssetPropertyValue(callback?: (err: AWSError, data: IoTSiteWise.Types.BatchPutAssetPropertyValueResponse) => void): Request<IoTSiteWise.Types.BatchPutAssetPropertyValueResponse, AWSError>;
  79. /**
  80. * Creates an access policy that grants the specified identity (IAM Identity Center user, IAM Identity Center group, or IAM user) access to the specified IoT SiteWise Monitor portal or project resource.
  81. */
  82. createAccessPolicy(params: IoTSiteWise.Types.CreateAccessPolicyRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.CreateAccessPolicyResponse) => void): Request<IoTSiteWise.Types.CreateAccessPolicyResponse, AWSError>;
  83. /**
  84. * Creates an access policy that grants the specified identity (IAM Identity Center user, IAM Identity Center group, or IAM user) access to the specified IoT SiteWise Monitor portal or project resource.
  85. */
  86. createAccessPolicy(callback?: (err: AWSError, data: IoTSiteWise.Types.CreateAccessPolicyResponse) => void): Request<IoTSiteWise.Types.CreateAccessPolicyResponse, AWSError>;
  87. /**
  88. * Creates an asset from an existing asset model. For more information, see Creating assets in the IoT SiteWise User Guide.
  89. */
  90. createAsset(params: IoTSiteWise.Types.CreateAssetRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.CreateAssetResponse) => void): Request<IoTSiteWise.Types.CreateAssetResponse, AWSError>;
  91. /**
  92. * Creates an asset from an existing asset model. For more information, see Creating assets in the IoT SiteWise User Guide.
  93. */
  94. createAsset(callback?: (err: AWSError, data: IoTSiteWise.Types.CreateAssetResponse) => void): Request<IoTSiteWise.Types.CreateAssetResponse, AWSError>;
  95. /**
  96. * Creates an asset model from specified property and hierarchy definitions. You create assets from asset models. With asset models, you can easily create assets of the same type that have standardized definitions. Each asset created from a model inherits the asset model's property and hierarchy definitions. For more information, see Defining asset models in the IoT SiteWise User Guide. You can create two types of asset models, ASSET_MODEL or COMPONENT_MODEL. ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model. COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
  97. */
  98. createAssetModel(params: IoTSiteWise.Types.CreateAssetModelRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.CreateAssetModelResponse) => void): Request<IoTSiteWise.Types.CreateAssetModelResponse, AWSError>;
  99. /**
  100. * Creates an asset model from specified property and hierarchy definitions. You create assets from asset models. With asset models, you can easily create assets of the same type that have standardized definitions. Each asset created from a model inherits the asset model's property and hierarchy definitions. For more information, see Defining asset models in the IoT SiteWise User Guide. You can create two types of asset models, ASSET_MODEL or COMPONENT_MODEL. ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model. COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
  101. */
  102. createAssetModel(callback?: (err: AWSError, data: IoTSiteWise.Types.CreateAssetModelResponse) => void): Request<IoTSiteWise.Types.CreateAssetModelResponse, AWSError>;
  103. /**
  104. * Creates a custom composite model from specified property and hierarchy definitions. There are two types of custom composite models, inline and component-model-based. Use component-model-based custom composite models to define standard, reusable components. A component-model-based custom composite model consists of a name, a description, and the ID of the component model it references. A component-model-based custom composite model has no properties of its own; its referenced component model provides its associated properties to any created assets. For more information, see Custom composite models (Components) in the IoT SiteWise User Guide. Use inline custom composite models to organize the properties of an asset model. The properties of inline custom composite models are local to the asset model where they are included and can't be used to create multiple assets. To create a component-model-based model, specify the composedAssetModelId of an existing asset model with assetModelType of COMPONENT_MODEL. To create an inline model, specify the assetModelCompositeModelProperties and don't include an composedAssetModelId.
  105. */
  106. createAssetModelCompositeModel(params: IoTSiteWise.Types.CreateAssetModelCompositeModelRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.CreateAssetModelCompositeModelResponse) => void): Request<IoTSiteWise.Types.CreateAssetModelCompositeModelResponse, AWSError>;
  107. /**
  108. * Creates a custom composite model from specified property and hierarchy definitions. There are two types of custom composite models, inline and component-model-based. Use component-model-based custom composite models to define standard, reusable components. A component-model-based custom composite model consists of a name, a description, and the ID of the component model it references. A component-model-based custom composite model has no properties of its own; its referenced component model provides its associated properties to any created assets. For more information, see Custom composite models (Components) in the IoT SiteWise User Guide. Use inline custom composite models to organize the properties of an asset model. The properties of inline custom composite models are local to the asset model where they are included and can't be used to create multiple assets. To create a component-model-based model, specify the composedAssetModelId of an existing asset model with assetModelType of COMPONENT_MODEL. To create an inline model, specify the assetModelCompositeModelProperties and don't include an composedAssetModelId.
  109. */
  110. createAssetModelCompositeModel(callback?: (err: AWSError, data: IoTSiteWise.Types.CreateAssetModelCompositeModelResponse) => void): Request<IoTSiteWise.Types.CreateAssetModelCompositeModelResponse, AWSError>;
  111. /**
  112. * Defines a job to ingest data to IoT SiteWise from Amazon S3. For more information, see Create a bulk import job (CLI) in the Amazon Simple Storage Service User Guide. Before you create a bulk import job, you must enable IoT SiteWise warm tier or IoT SiteWise cold tier. For more information about how to configure storage settings, see PutStorageConfiguration. Bulk import is designed to store historical data to IoT SiteWise. It does not trigger computations or notifications on IoT SiteWise warm or cold tier storage.
  113. */
  114. createBulkImportJob(params: IoTSiteWise.Types.CreateBulkImportJobRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.CreateBulkImportJobResponse) => void): Request<IoTSiteWise.Types.CreateBulkImportJobResponse, AWSError>;
  115. /**
  116. * Defines a job to ingest data to IoT SiteWise from Amazon S3. For more information, see Create a bulk import job (CLI) in the Amazon Simple Storage Service User Guide. Before you create a bulk import job, you must enable IoT SiteWise warm tier or IoT SiteWise cold tier. For more information about how to configure storage settings, see PutStorageConfiguration. Bulk import is designed to store historical data to IoT SiteWise. It does not trigger computations or notifications on IoT SiteWise warm or cold tier storage.
  117. */
  118. createBulkImportJob(callback?: (err: AWSError, data: IoTSiteWise.Types.CreateBulkImportJobResponse) => void): Request<IoTSiteWise.Types.CreateBulkImportJobResponse, AWSError>;
  119. /**
  120. * Creates a dashboard in an IoT SiteWise Monitor project.
  121. */
  122. createDashboard(params: IoTSiteWise.Types.CreateDashboardRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.CreateDashboardResponse) => void): Request<IoTSiteWise.Types.CreateDashboardResponse, AWSError>;
  123. /**
  124. * Creates a dashboard in an IoT SiteWise Monitor project.
  125. */
  126. createDashboard(callback?: (err: AWSError, data: IoTSiteWise.Types.CreateDashboardResponse) => void): Request<IoTSiteWise.Types.CreateDashboardResponse, AWSError>;
  127. /**
  128. * Creates a gateway, which is a virtual or edge device that delivers industrial data streams from local servers to IoT SiteWise. For more information, see Ingesting data using a gateway in the IoT SiteWise User Guide.
  129. */
  130. createGateway(params: IoTSiteWise.Types.CreateGatewayRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.CreateGatewayResponse) => void): Request<IoTSiteWise.Types.CreateGatewayResponse, AWSError>;
  131. /**
  132. * Creates a gateway, which is a virtual or edge device that delivers industrial data streams from local servers to IoT SiteWise. For more information, see Ingesting data using a gateway in the IoT SiteWise User Guide.
  133. */
  134. createGateway(callback?: (err: AWSError, data: IoTSiteWise.Types.CreateGatewayResponse) => void): Request<IoTSiteWise.Types.CreateGatewayResponse, AWSError>;
  135. /**
  136. * Creates a portal, which can contain projects and dashboards. IoT SiteWise Monitor uses IAM Identity Center or IAM to authenticate portal users and manage user permissions. Before you can sign in to a new portal, you must add at least one identity to that portal. For more information, see Adding or removing portal administrators in the IoT SiteWise User Guide.
  137. */
  138. createPortal(params: IoTSiteWise.Types.CreatePortalRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.CreatePortalResponse) => void): Request<IoTSiteWise.Types.CreatePortalResponse, AWSError>;
  139. /**
  140. * Creates a portal, which can contain projects and dashboards. IoT SiteWise Monitor uses IAM Identity Center or IAM to authenticate portal users and manage user permissions. Before you can sign in to a new portal, you must add at least one identity to that portal. For more information, see Adding or removing portal administrators in the IoT SiteWise User Guide.
  141. */
  142. createPortal(callback?: (err: AWSError, data: IoTSiteWise.Types.CreatePortalResponse) => void): Request<IoTSiteWise.Types.CreatePortalResponse, AWSError>;
  143. /**
  144. * Creates a project in the specified portal. Make sure that the project name and description don't contain confidential information.
  145. */
  146. createProject(params: IoTSiteWise.Types.CreateProjectRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.CreateProjectResponse) => void): Request<IoTSiteWise.Types.CreateProjectResponse, AWSError>;
  147. /**
  148. * Creates a project in the specified portal. Make sure that the project name and description don't contain confidential information.
  149. */
  150. createProject(callback?: (err: AWSError, data: IoTSiteWise.Types.CreateProjectResponse) => void): Request<IoTSiteWise.Types.CreateProjectResponse, AWSError>;
  151. /**
  152. * Deletes an access policy that grants the specified identity access to the specified IoT SiteWise Monitor resource. You can use this operation to revoke access to an IoT SiteWise Monitor resource.
  153. */
  154. deleteAccessPolicy(params: IoTSiteWise.Types.DeleteAccessPolicyRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.DeleteAccessPolicyResponse) => void): Request<IoTSiteWise.Types.DeleteAccessPolicyResponse, AWSError>;
  155. /**
  156. * Deletes an access policy that grants the specified identity access to the specified IoT SiteWise Monitor resource. You can use this operation to revoke access to an IoT SiteWise Monitor resource.
  157. */
  158. deleteAccessPolicy(callback?: (err: AWSError, data: IoTSiteWise.Types.DeleteAccessPolicyResponse) => void): Request<IoTSiteWise.Types.DeleteAccessPolicyResponse, AWSError>;
  159. /**
  160. * Deletes an asset. This action can't be undone. For more information, see Deleting assets and models in the IoT SiteWise User Guide. You can't delete an asset that's associated to another asset. For more information, see DisassociateAssets.
  161. */
  162. deleteAsset(params: IoTSiteWise.Types.DeleteAssetRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.DeleteAssetResponse) => void): Request<IoTSiteWise.Types.DeleteAssetResponse, AWSError>;
  163. /**
  164. * Deletes an asset. This action can't be undone. For more information, see Deleting assets and models in the IoT SiteWise User Guide. You can't delete an asset that's associated to another asset. For more information, see DisassociateAssets.
  165. */
  166. deleteAsset(callback?: (err: AWSError, data: IoTSiteWise.Types.DeleteAssetResponse) => void): Request<IoTSiteWise.Types.DeleteAssetResponse, AWSError>;
  167. /**
  168. * Deletes an asset model. This action can't be undone. You must delete all assets created from an asset model before you can delete the model. Also, you can't delete an asset model if a parent asset model exists that contains a property formula expression that depends on the asset model that you want to delete. For more information, see Deleting assets and models in the IoT SiteWise User Guide.
  169. */
  170. deleteAssetModel(params: IoTSiteWise.Types.DeleteAssetModelRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.DeleteAssetModelResponse) => void): Request<IoTSiteWise.Types.DeleteAssetModelResponse, AWSError>;
  171. /**
  172. * Deletes an asset model. This action can't be undone. You must delete all assets created from an asset model before you can delete the model. Also, you can't delete an asset model if a parent asset model exists that contains a property formula expression that depends on the asset model that you want to delete. For more information, see Deleting assets and models in the IoT SiteWise User Guide.
  173. */
  174. deleteAssetModel(callback?: (err: AWSError, data: IoTSiteWise.Types.DeleteAssetModelResponse) => void): Request<IoTSiteWise.Types.DeleteAssetModelResponse, AWSError>;
  175. /**
  176. * Deletes a composite model. This action can't be undone. You must delete all assets created from a composite model before you can delete the model. Also, you can't delete a composite model if a parent asset model exists that contains a property formula expression that depends on the asset model that you want to delete. For more information, see Deleting assets and models in the IoT SiteWise User Guide.
  177. */
  178. deleteAssetModelCompositeModel(params: IoTSiteWise.Types.DeleteAssetModelCompositeModelRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.DeleteAssetModelCompositeModelResponse) => void): Request<IoTSiteWise.Types.DeleteAssetModelCompositeModelResponse, AWSError>;
  179. /**
  180. * Deletes a composite model. This action can't be undone. You must delete all assets created from a composite model before you can delete the model. Also, you can't delete a composite model if a parent asset model exists that contains a property formula expression that depends on the asset model that you want to delete. For more information, see Deleting assets and models in the IoT SiteWise User Guide.
  181. */
  182. deleteAssetModelCompositeModel(callback?: (err: AWSError, data: IoTSiteWise.Types.DeleteAssetModelCompositeModelResponse) => void): Request<IoTSiteWise.Types.DeleteAssetModelCompositeModelResponse, AWSError>;
  183. /**
  184. * Deletes a dashboard from IoT SiteWise Monitor.
  185. */
  186. deleteDashboard(params: IoTSiteWise.Types.DeleteDashboardRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.DeleteDashboardResponse) => void): Request<IoTSiteWise.Types.DeleteDashboardResponse, AWSError>;
  187. /**
  188. * Deletes a dashboard from IoT SiteWise Monitor.
  189. */
  190. deleteDashboard(callback?: (err: AWSError, data: IoTSiteWise.Types.DeleteDashboardResponse) => void): Request<IoTSiteWise.Types.DeleteDashboardResponse, AWSError>;
  191. /**
  192. * Deletes a gateway from IoT SiteWise. When you delete a gateway, some of the gateway's files remain in your gateway's file system.
  193. */
  194. deleteGateway(params: IoTSiteWise.Types.DeleteGatewayRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  195. /**
  196. * Deletes a gateway from IoT SiteWise. When you delete a gateway, some of the gateway's files remain in your gateway's file system.
  197. */
  198. deleteGateway(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  199. /**
  200. * Deletes a portal from IoT SiteWise Monitor.
  201. */
  202. deletePortal(params: IoTSiteWise.Types.DeletePortalRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.DeletePortalResponse) => void): Request<IoTSiteWise.Types.DeletePortalResponse, AWSError>;
  203. /**
  204. * Deletes a portal from IoT SiteWise Monitor.
  205. */
  206. deletePortal(callback?: (err: AWSError, data: IoTSiteWise.Types.DeletePortalResponse) => void): Request<IoTSiteWise.Types.DeletePortalResponse, AWSError>;
  207. /**
  208. * Deletes a project from IoT SiteWise Monitor.
  209. */
  210. deleteProject(params: IoTSiteWise.Types.DeleteProjectRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.DeleteProjectResponse) => void): Request<IoTSiteWise.Types.DeleteProjectResponse, AWSError>;
  211. /**
  212. * Deletes a project from IoT SiteWise Monitor.
  213. */
  214. deleteProject(callback?: (err: AWSError, data: IoTSiteWise.Types.DeleteProjectResponse) => void): Request<IoTSiteWise.Types.DeleteProjectResponse, AWSError>;
  215. /**
  216. * Deletes a time series (data stream). If you delete a time series that's associated with an asset property, the asset property still exists, but the time series will no longer be associated with this asset property. To identify a time series, do one of the following: If the time series isn't associated with an asset property, specify the alias of the time series. If the time series is associated with an asset property, specify one of the following: The alias of the time series. The assetId and propertyId that identifies the asset property.
  217. */
  218. deleteTimeSeries(params: IoTSiteWise.Types.DeleteTimeSeriesRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  219. /**
  220. * Deletes a time series (data stream). If you delete a time series that's associated with an asset property, the asset property still exists, but the time series will no longer be associated with this asset property. To identify a time series, do one of the following: If the time series isn't associated with an asset property, specify the alias of the time series. If the time series is associated with an asset property, specify one of the following: The alias of the time series. The assetId and propertyId that identifies the asset property.
  221. */
  222. deleteTimeSeries(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  223. /**
  224. * Describes an access policy, which specifies an identity's access to an IoT SiteWise Monitor portal or project.
  225. */
  226. describeAccessPolicy(params: IoTSiteWise.Types.DescribeAccessPolicyRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeAccessPolicyResponse) => void): Request<IoTSiteWise.Types.DescribeAccessPolicyResponse, AWSError>;
  227. /**
  228. * Describes an access policy, which specifies an identity's access to an IoT SiteWise Monitor portal or project.
  229. */
  230. describeAccessPolicy(callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeAccessPolicyResponse) => void): Request<IoTSiteWise.Types.DescribeAccessPolicyResponse, AWSError>;
  231. /**
  232. * Retrieves information about an action.
  233. */
  234. describeAction(params: IoTSiteWise.Types.DescribeActionRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeActionResponse) => void): Request<IoTSiteWise.Types.DescribeActionResponse, AWSError>;
  235. /**
  236. * Retrieves information about an action.
  237. */
  238. describeAction(callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeActionResponse) => void): Request<IoTSiteWise.Types.DescribeActionResponse, AWSError>;
  239. /**
  240. * Retrieves information about an asset.
  241. */
  242. describeAsset(params: IoTSiteWise.Types.DescribeAssetRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeAssetResponse) => void): Request<IoTSiteWise.Types.DescribeAssetResponse, AWSError>;
  243. /**
  244. * Retrieves information about an asset.
  245. */
  246. describeAsset(callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeAssetResponse) => void): Request<IoTSiteWise.Types.DescribeAssetResponse, AWSError>;
  247. /**
  248. * Retrieves information about an asset composite model (also known as an asset component). An AssetCompositeModel is an instance of an AssetModelCompositeModel. If you want to see information about the model this is based on, call DescribeAssetModelCompositeModel.
  249. */
  250. describeAssetCompositeModel(params: IoTSiteWise.Types.DescribeAssetCompositeModelRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeAssetCompositeModelResponse) => void): Request<IoTSiteWise.Types.DescribeAssetCompositeModelResponse, AWSError>;
  251. /**
  252. * Retrieves information about an asset composite model (also known as an asset component). An AssetCompositeModel is an instance of an AssetModelCompositeModel. If you want to see information about the model this is based on, call DescribeAssetModelCompositeModel.
  253. */
  254. describeAssetCompositeModel(callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeAssetCompositeModelResponse) => void): Request<IoTSiteWise.Types.DescribeAssetCompositeModelResponse, AWSError>;
  255. /**
  256. * Retrieves information about an asset model.
  257. */
  258. describeAssetModel(params: IoTSiteWise.Types.DescribeAssetModelRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeAssetModelResponse) => void): Request<IoTSiteWise.Types.DescribeAssetModelResponse, AWSError>;
  259. /**
  260. * Retrieves information about an asset model.
  261. */
  262. describeAssetModel(callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeAssetModelResponse) => void): Request<IoTSiteWise.Types.DescribeAssetModelResponse, AWSError>;
  263. /**
  264. * Retrieves information about an asset model composite model (also known as an asset model component). For more information, see Custom composite models (Components) in the IoT SiteWise User Guide.
  265. */
  266. describeAssetModelCompositeModel(params: IoTSiteWise.Types.DescribeAssetModelCompositeModelRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeAssetModelCompositeModelResponse) => void): Request<IoTSiteWise.Types.DescribeAssetModelCompositeModelResponse, AWSError>;
  267. /**
  268. * Retrieves information about an asset model composite model (also known as an asset model component). For more information, see Custom composite models (Components) in the IoT SiteWise User Guide.
  269. */
  270. describeAssetModelCompositeModel(callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeAssetModelCompositeModelResponse) => void): Request<IoTSiteWise.Types.DescribeAssetModelCompositeModelResponse, AWSError>;
  271. /**
  272. * Retrieves information about an asset property. When you call this operation for an attribute property, this response includes the default attribute value that you define in the asset model. If you update the default value in the model, this operation's response includes the new default value. This operation doesn't return the value of the asset property. To get the value of an asset property, use GetAssetPropertyValue.
  273. */
  274. describeAssetProperty(params: IoTSiteWise.Types.DescribeAssetPropertyRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeAssetPropertyResponse) => void): Request<IoTSiteWise.Types.DescribeAssetPropertyResponse, AWSError>;
  275. /**
  276. * Retrieves information about an asset property. When you call this operation for an attribute property, this response includes the default attribute value that you define in the asset model. If you update the default value in the model, this operation's response includes the new default value. This operation doesn't return the value of the asset property. To get the value of an asset property, use GetAssetPropertyValue.
  277. */
  278. describeAssetProperty(callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeAssetPropertyResponse) => void): Request<IoTSiteWise.Types.DescribeAssetPropertyResponse, AWSError>;
  279. /**
  280. * Retrieves information about a bulk import job request. For more information, see Describe a bulk import job (CLI) in the Amazon Simple Storage Service User Guide.
  281. */
  282. describeBulkImportJob(params: IoTSiteWise.Types.DescribeBulkImportJobRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeBulkImportJobResponse) => void): Request<IoTSiteWise.Types.DescribeBulkImportJobResponse, AWSError>;
  283. /**
  284. * Retrieves information about a bulk import job request. For more information, see Describe a bulk import job (CLI) in the Amazon Simple Storage Service User Guide.
  285. */
  286. describeBulkImportJob(callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeBulkImportJobResponse) => void): Request<IoTSiteWise.Types.DescribeBulkImportJobResponse, AWSError>;
  287. /**
  288. * Retrieves information about a dashboard.
  289. */
  290. describeDashboard(params: IoTSiteWise.Types.DescribeDashboardRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeDashboardResponse) => void): Request<IoTSiteWise.Types.DescribeDashboardResponse, AWSError>;
  291. /**
  292. * Retrieves information about a dashboard.
  293. */
  294. describeDashboard(callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeDashboardResponse) => void): Request<IoTSiteWise.Types.DescribeDashboardResponse, AWSError>;
  295. /**
  296. * Retrieves information about the default encryption configuration for the Amazon Web Services account in the default or specified Region. For more information, see Key management in the IoT SiteWise User Guide.
  297. */
  298. describeDefaultEncryptionConfiguration(params: IoTSiteWise.Types.DescribeDefaultEncryptionConfigurationRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeDefaultEncryptionConfigurationResponse) => void): Request<IoTSiteWise.Types.DescribeDefaultEncryptionConfigurationResponse, AWSError>;
  299. /**
  300. * Retrieves information about the default encryption configuration for the Amazon Web Services account in the default or specified Region. For more information, see Key management in the IoT SiteWise User Guide.
  301. */
  302. describeDefaultEncryptionConfiguration(callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeDefaultEncryptionConfigurationResponse) => void): Request<IoTSiteWise.Types.DescribeDefaultEncryptionConfigurationResponse, AWSError>;
  303. /**
  304. * Retrieves information about a gateway.
  305. */
  306. describeGateway(params: IoTSiteWise.Types.DescribeGatewayRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeGatewayResponse) => void): Request<IoTSiteWise.Types.DescribeGatewayResponse, AWSError>;
  307. /**
  308. * Retrieves information about a gateway.
  309. */
  310. describeGateway(callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeGatewayResponse) => void): Request<IoTSiteWise.Types.DescribeGatewayResponse, AWSError>;
  311. /**
  312. * Retrieves information about a gateway capability configuration. Each gateway capability defines data sources for a gateway. A capability configuration can contain multiple data source configurations. If you define OPC-UA sources for a gateway in the IoT SiteWise console, all of your OPC-UA sources are stored in one capability configuration. To list all capability configurations for a gateway, use DescribeGateway.
  313. */
  314. describeGatewayCapabilityConfiguration(params: IoTSiteWise.Types.DescribeGatewayCapabilityConfigurationRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeGatewayCapabilityConfigurationResponse) => void): Request<IoTSiteWise.Types.DescribeGatewayCapabilityConfigurationResponse, AWSError>;
  315. /**
  316. * Retrieves information about a gateway capability configuration. Each gateway capability defines data sources for a gateway. A capability configuration can contain multiple data source configurations. If you define OPC-UA sources for a gateway in the IoT SiteWise console, all of your OPC-UA sources are stored in one capability configuration. To list all capability configurations for a gateway, use DescribeGateway.
  317. */
  318. describeGatewayCapabilityConfiguration(callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeGatewayCapabilityConfigurationResponse) => void): Request<IoTSiteWise.Types.DescribeGatewayCapabilityConfigurationResponse, AWSError>;
  319. /**
  320. * Retrieves the current IoT SiteWise logging options.
  321. */
  322. describeLoggingOptions(params: IoTSiteWise.Types.DescribeLoggingOptionsRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeLoggingOptionsResponse) => void): Request<IoTSiteWise.Types.DescribeLoggingOptionsResponse, AWSError>;
  323. /**
  324. * Retrieves the current IoT SiteWise logging options.
  325. */
  326. describeLoggingOptions(callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeLoggingOptionsResponse) => void): Request<IoTSiteWise.Types.DescribeLoggingOptionsResponse, AWSError>;
  327. /**
  328. * Retrieves information about a portal.
  329. */
  330. describePortal(params: IoTSiteWise.Types.DescribePortalRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.DescribePortalResponse) => void): Request<IoTSiteWise.Types.DescribePortalResponse, AWSError>;
  331. /**
  332. * Retrieves information about a portal.
  333. */
  334. describePortal(callback?: (err: AWSError, data: IoTSiteWise.Types.DescribePortalResponse) => void): Request<IoTSiteWise.Types.DescribePortalResponse, AWSError>;
  335. /**
  336. * Retrieves information about a project.
  337. */
  338. describeProject(params: IoTSiteWise.Types.DescribeProjectRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeProjectResponse) => void): Request<IoTSiteWise.Types.DescribeProjectResponse, AWSError>;
  339. /**
  340. * Retrieves information about a project.
  341. */
  342. describeProject(callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeProjectResponse) => void): Request<IoTSiteWise.Types.DescribeProjectResponse, AWSError>;
  343. /**
  344. * Retrieves information about the storage configuration for IoT SiteWise.
  345. */
  346. describeStorageConfiguration(params: IoTSiteWise.Types.DescribeStorageConfigurationRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeStorageConfigurationResponse) => void): Request<IoTSiteWise.Types.DescribeStorageConfigurationResponse, AWSError>;
  347. /**
  348. * Retrieves information about the storage configuration for IoT SiteWise.
  349. */
  350. describeStorageConfiguration(callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeStorageConfigurationResponse) => void): Request<IoTSiteWise.Types.DescribeStorageConfigurationResponse, AWSError>;
  351. /**
  352. * Retrieves information about a time series (data stream). To identify a time series, do one of the following: If the time series isn't associated with an asset property, specify the alias of the time series. If the time series is associated with an asset property, specify one of the following: The alias of the time series. The assetId and propertyId that identifies the asset property.
  353. */
  354. describeTimeSeries(params: IoTSiteWise.Types.DescribeTimeSeriesRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeTimeSeriesResponse) => void): Request<IoTSiteWise.Types.DescribeTimeSeriesResponse, AWSError>;
  355. /**
  356. * Retrieves information about a time series (data stream). To identify a time series, do one of the following: If the time series isn't associated with an asset property, specify the alias of the time series. If the time series is associated with an asset property, specify one of the following: The alias of the time series. The assetId and propertyId that identifies the asset property.
  357. */
  358. describeTimeSeries(callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeTimeSeriesResponse) => void): Request<IoTSiteWise.Types.DescribeTimeSeriesResponse, AWSError>;
  359. /**
  360. * Disassociates a child asset from the given parent asset through a hierarchy defined in the parent asset's model.
  361. */
  362. disassociateAssets(params: IoTSiteWise.Types.DisassociateAssetsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  363. /**
  364. * Disassociates a child asset from the given parent asset through a hierarchy defined in the parent asset's model.
  365. */
  366. disassociateAssets(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  367. /**
  368. * Disassociates a time series (data stream) from an asset property.
  369. */
  370. disassociateTimeSeriesFromAssetProperty(params: IoTSiteWise.Types.DisassociateTimeSeriesFromAssetPropertyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  371. /**
  372. * Disassociates a time series (data stream) from an asset property.
  373. */
  374. disassociateTimeSeriesFromAssetProperty(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  375. /**
  376. * Executes an action on a target resource.
  377. */
  378. executeAction(params: IoTSiteWise.Types.ExecuteActionRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.ExecuteActionResponse) => void): Request<IoTSiteWise.Types.ExecuteActionResponse, AWSError>;
  379. /**
  380. * Executes an action on a target resource.
  381. */
  382. executeAction(callback?: (err: AWSError, data: IoTSiteWise.Types.ExecuteActionResponse) => void): Request<IoTSiteWise.Types.ExecuteActionResponse, AWSError>;
  383. /**
  384. * Run SQL queries to retrieve metadata and time-series data from asset models, assets, measurements, metrics, transforms, and aggregates.
  385. */
  386. executeQuery(params: IoTSiteWise.Types.ExecuteQueryRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.ExecuteQueryResponse) => void): Request<IoTSiteWise.Types.ExecuteQueryResponse, AWSError>;
  387. /**
  388. * Run SQL queries to retrieve metadata and time-series data from asset models, assets, measurements, metrics, transforms, and aggregates.
  389. */
  390. executeQuery(callback?: (err: AWSError, data: IoTSiteWise.Types.ExecuteQueryResponse) => void): Request<IoTSiteWise.Types.ExecuteQueryResponse, AWSError>;
  391. /**
  392. * Gets aggregated values for an asset property. For more information, see Querying aggregates in the IoT SiteWise User Guide. To identify an asset property, you must specify one of the following: The assetId and propertyId of an asset property. A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty.
  393. */
  394. getAssetPropertyAggregates(params: IoTSiteWise.Types.GetAssetPropertyAggregatesRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.GetAssetPropertyAggregatesResponse) => void): Request<IoTSiteWise.Types.GetAssetPropertyAggregatesResponse, AWSError>;
  395. /**
  396. * Gets aggregated values for an asset property. For more information, see Querying aggregates in the IoT SiteWise User Guide. To identify an asset property, you must specify one of the following: The assetId and propertyId of an asset property. A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty.
  397. */
  398. getAssetPropertyAggregates(callback?: (err: AWSError, data: IoTSiteWise.Types.GetAssetPropertyAggregatesResponse) => void): Request<IoTSiteWise.Types.GetAssetPropertyAggregatesResponse, AWSError>;
  399. /**
  400. * Gets an asset property's current value. For more information, see Querying current values in the IoT SiteWise User Guide. To identify an asset property, you must specify one of the following: The assetId and propertyId of an asset property. A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty.
  401. */
  402. getAssetPropertyValue(params: IoTSiteWise.Types.GetAssetPropertyValueRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.GetAssetPropertyValueResponse) => void): Request<IoTSiteWise.Types.GetAssetPropertyValueResponse, AWSError>;
  403. /**
  404. * Gets an asset property's current value. For more information, see Querying current values in the IoT SiteWise User Guide. To identify an asset property, you must specify one of the following: The assetId and propertyId of an asset property. A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty.
  405. */
  406. getAssetPropertyValue(callback?: (err: AWSError, data: IoTSiteWise.Types.GetAssetPropertyValueResponse) => void): Request<IoTSiteWise.Types.GetAssetPropertyValueResponse, AWSError>;
  407. /**
  408. * Gets the history of an asset property's values. For more information, see Querying historical values in the IoT SiteWise User Guide. To identify an asset property, you must specify one of the following: The assetId and propertyId of an asset property. A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty.
  409. */
  410. getAssetPropertyValueHistory(params: IoTSiteWise.Types.GetAssetPropertyValueHistoryRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.GetAssetPropertyValueHistoryResponse) => void): Request<IoTSiteWise.Types.GetAssetPropertyValueHistoryResponse, AWSError>;
  411. /**
  412. * Gets the history of an asset property's values. For more information, see Querying historical values in the IoT SiteWise User Guide. To identify an asset property, you must specify one of the following: The assetId and propertyId of an asset property. A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty.
  413. */
  414. getAssetPropertyValueHistory(callback?: (err: AWSError, data: IoTSiteWise.Types.GetAssetPropertyValueHistoryResponse) => void): Request<IoTSiteWise.Types.GetAssetPropertyValueHistoryResponse, AWSError>;
  415. /**
  416. * Get interpolated values for an asset property for a specified time interval, during a period of time. If your time series is missing data points during the specified time interval, you can use interpolation to estimate the missing data. For example, you can use this operation to return the interpolated temperature values for a wind turbine every 24 hours over a duration of 7 days. To identify an asset property, you must specify one of the following: The assetId and propertyId of an asset property. A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty.
  417. */
  418. getInterpolatedAssetPropertyValues(params: IoTSiteWise.Types.GetInterpolatedAssetPropertyValuesRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.GetInterpolatedAssetPropertyValuesResponse) => void): Request<IoTSiteWise.Types.GetInterpolatedAssetPropertyValuesResponse, AWSError>;
  419. /**
  420. * Get interpolated values for an asset property for a specified time interval, during a period of time. If your time series is missing data points during the specified time interval, you can use interpolation to estimate the missing data. For example, you can use this operation to return the interpolated temperature values for a wind turbine every 24 hours over a duration of 7 days. To identify an asset property, you must specify one of the following: The assetId and propertyId of an asset property. A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty.
  421. */
  422. getInterpolatedAssetPropertyValues(callback?: (err: AWSError, data: IoTSiteWise.Types.GetInterpolatedAssetPropertyValuesResponse) => void): Request<IoTSiteWise.Types.GetInterpolatedAssetPropertyValuesResponse, AWSError>;
  423. /**
  424. * Retrieves a paginated list of access policies for an identity (an IAM Identity Center user, an IAM Identity Center group, or an IAM user) or an IoT SiteWise Monitor resource (a portal or project).
  425. */
  426. listAccessPolicies(params: IoTSiteWise.Types.ListAccessPoliciesRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.ListAccessPoliciesResponse) => void): Request<IoTSiteWise.Types.ListAccessPoliciesResponse, AWSError>;
  427. /**
  428. * Retrieves a paginated list of access policies for an identity (an IAM Identity Center user, an IAM Identity Center group, or an IAM user) or an IoT SiteWise Monitor resource (a portal or project).
  429. */
  430. listAccessPolicies(callback?: (err: AWSError, data: IoTSiteWise.Types.ListAccessPoliciesResponse) => void): Request<IoTSiteWise.Types.ListAccessPoliciesResponse, AWSError>;
  431. /**
  432. * Retrieves a paginated list of actions for a specific target resource.
  433. */
  434. listActions(params: IoTSiteWise.Types.ListActionsRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.ListActionsResponse) => void): Request<IoTSiteWise.Types.ListActionsResponse, AWSError>;
  435. /**
  436. * Retrieves a paginated list of actions for a specific target resource.
  437. */
  438. listActions(callback?: (err: AWSError, data: IoTSiteWise.Types.ListActionsResponse) => void): Request<IoTSiteWise.Types.ListActionsResponse, AWSError>;
  439. /**
  440. * Retrieves a paginated list of composite models associated with the asset model
  441. */
  442. listAssetModelCompositeModels(params: IoTSiteWise.Types.ListAssetModelCompositeModelsRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.ListAssetModelCompositeModelsResponse) => void): Request<IoTSiteWise.Types.ListAssetModelCompositeModelsResponse, AWSError>;
  443. /**
  444. * Retrieves a paginated list of composite models associated with the asset model
  445. */
  446. listAssetModelCompositeModels(callback?: (err: AWSError, data: IoTSiteWise.Types.ListAssetModelCompositeModelsResponse) => void): Request<IoTSiteWise.Types.ListAssetModelCompositeModelsResponse, AWSError>;
  447. /**
  448. * Retrieves a paginated list of properties associated with an asset model. If you update properties associated with the model before you finish listing all the properties, you need to start all over again.
  449. */
  450. listAssetModelProperties(params: IoTSiteWise.Types.ListAssetModelPropertiesRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.ListAssetModelPropertiesResponse) => void): Request<IoTSiteWise.Types.ListAssetModelPropertiesResponse, AWSError>;
  451. /**
  452. * Retrieves a paginated list of properties associated with an asset model. If you update properties associated with the model before you finish listing all the properties, you need to start all over again.
  453. */
  454. listAssetModelProperties(callback?: (err: AWSError, data: IoTSiteWise.Types.ListAssetModelPropertiesResponse) => void): Request<IoTSiteWise.Types.ListAssetModelPropertiesResponse, AWSError>;
  455. /**
  456. * Retrieves a paginated list of summaries of all asset models.
  457. */
  458. listAssetModels(params: IoTSiteWise.Types.ListAssetModelsRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.ListAssetModelsResponse) => void): Request<IoTSiteWise.Types.ListAssetModelsResponse, AWSError>;
  459. /**
  460. * Retrieves a paginated list of summaries of all asset models.
  461. */
  462. listAssetModels(callback?: (err: AWSError, data: IoTSiteWise.Types.ListAssetModelsResponse) => void): Request<IoTSiteWise.Types.ListAssetModelsResponse, AWSError>;
  463. /**
  464. * Retrieves a paginated list of properties associated with an asset. If you update properties associated with the model before you finish listing all the properties, you need to start all over again.
  465. */
  466. listAssetProperties(params: IoTSiteWise.Types.ListAssetPropertiesRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.ListAssetPropertiesResponse) => void): Request<IoTSiteWise.Types.ListAssetPropertiesResponse, AWSError>;
  467. /**
  468. * Retrieves a paginated list of properties associated with an asset. If you update properties associated with the model before you finish listing all the properties, you need to start all over again.
  469. */
  470. listAssetProperties(callback?: (err: AWSError, data: IoTSiteWise.Types.ListAssetPropertiesResponse) => void): Request<IoTSiteWise.Types.ListAssetPropertiesResponse, AWSError>;
  471. /**
  472. * Retrieves a paginated list of asset relationships for an asset. You can use this operation to identify an asset's root asset and all associated assets between that asset and its root.
  473. */
  474. listAssetRelationships(params: IoTSiteWise.Types.ListAssetRelationshipsRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.ListAssetRelationshipsResponse) => void): Request<IoTSiteWise.Types.ListAssetRelationshipsResponse, AWSError>;
  475. /**
  476. * Retrieves a paginated list of asset relationships for an asset. You can use this operation to identify an asset's root asset and all associated assets between that asset and its root.
  477. */
  478. listAssetRelationships(callback?: (err: AWSError, data: IoTSiteWise.Types.ListAssetRelationshipsResponse) => void): Request<IoTSiteWise.Types.ListAssetRelationshipsResponse, AWSError>;
  479. /**
  480. * Retrieves a paginated list of asset summaries. You can use this operation to do the following: List assets based on a specific asset model. List top-level assets. You can't use this operation to list all assets. To retrieve summaries for all of your assets, use ListAssetModels to get all of your asset model IDs. Then, use ListAssets to get all assets for each asset model.
  481. */
  482. listAssets(params: IoTSiteWise.Types.ListAssetsRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.ListAssetsResponse) => void): Request<IoTSiteWise.Types.ListAssetsResponse, AWSError>;
  483. /**
  484. * Retrieves a paginated list of asset summaries. You can use this operation to do the following: List assets based on a specific asset model. List top-level assets. You can't use this operation to list all assets. To retrieve summaries for all of your assets, use ListAssetModels to get all of your asset model IDs. Then, use ListAssets to get all assets for each asset model.
  485. */
  486. listAssets(callback?: (err: AWSError, data: IoTSiteWise.Types.ListAssetsResponse) => void): Request<IoTSiteWise.Types.ListAssetsResponse, AWSError>;
  487. /**
  488. * Retrieves a paginated list of associated assets. You can use this operation to do the following: List child assets associated to a parent asset by a hierarchy that you specify. List an asset's parent asset.
  489. */
  490. listAssociatedAssets(params: IoTSiteWise.Types.ListAssociatedAssetsRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.ListAssociatedAssetsResponse) => void): Request<IoTSiteWise.Types.ListAssociatedAssetsResponse, AWSError>;
  491. /**
  492. * Retrieves a paginated list of associated assets. You can use this operation to do the following: List child assets associated to a parent asset by a hierarchy that you specify. List an asset's parent asset.
  493. */
  494. listAssociatedAssets(callback?: (err: AWSError, data: IoTSiteWise.Types.ListAssociatedAssetsResponse) => void): Request<IoTSiteWise.Types.ListAssociatedAssetsResponse, AWSError>;
  495. /**
  496. * Retrieves a paginated list of bulk import job requests. For more information, see List bulk import jobs (CLI) in the IoT SiteWise User Guide.
  497. */
  498. listBulkImportJobs(params: IoTSiteWise.Types.ListBulkImportJobsRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.ListBulkImportJobsResponse) => void): Request<IoTSiteWise.Types.ListBulkImportJobsResponse, AWSError>;
  499. /**
  500. * Retrieves a paginated list of bulk import job requests. For more information, see List bulk import jobs (CLI) in the IoT SiteWise User Guide.
  501. */
  502. listBulkImportJobs(callback?: (err: AWSError, data: IoTSiteWise.Types.ListBulkImportJobsResponse) => void): Request<IoTSiteWise.Types.ListBulkImportJobsResponse, AWSError>;
  503. /**
  504. * Retrieves a paginated list of composition relationships for an asset model of type COMPONENT_MODEL.
  505. */
  506. listCompositionRelationships(params: IoTSiteWise.Types.ListCompositionRelationshipsRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.ListCompositionRelationshipsResponse) => void): Request<IoTSiteWise.Types.ListCompositionRelationshipsResponse, AWSError>;
  507. /**
  508. * Retrieves a paginated list of composition relationships for an asset model of type COMPONENT_MODEL.
  509. */
  510. listCompositionRelationships(callback?: (err: AWSError, data: IoTSiteWise.Types.ListCompositionRelationshipsResponse) => void): Request<IoTSiteWise.Types.ListCompositionRelationshipsResponse, AWSError>;
  511. /**
  512. * Retrieves a paginated list of dashboards for an IoT SiteWise Monitor project.
  513. */
  514. listDashboards(params: IoTSiteWise.Types.ListDashboardsRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.ListDashboardsResponse) => void): Request<IoTSiteWise.Types.ListDashboardsResponse, AWSError>;
  515. /**
  516. * Retrieves a paginated list of dashboards for an IoT SiteWise Monitor project.
  517. */
  518. listDashboards(callback?: (err: AWSError, data: IoTSiteWise.Types.ListDashboardsResponse) => void): Request<IoTSiteWise.Types.ListDashboardsResponse, AWSError>;
  519. /**
  520. * Retrieves a paginated list of gateways.
  521. */
  522. listGateways(params: IoTSiteWise.Types.ListGatewaysRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.ListGatewaysResponse) => void): Request<IoTSiteWise.Types.ListGatewaysResponse, AWSError>;
  523. /**
  524. * Retrieves a paginated list of gateways.
  525. */
  526. listGateways(callback?: (err: AWSError, data: IoTSiteWise.Types.ListGatewaysResponse) => void): Request<IoTSiteWise.Types.ListGatewaysResponse, AWSError>;
  527. /**
  528. * Retrieves a paginated list of IoT SiteWise Monitor portals.
  529. */
  530. listPortals(params: IoTSiteWise.Types.ListPortalsRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.ListPortalsResponse) => void): Request<IoTSiteWise.Types.ListPortalsResponse, AWSError>;
  531. /**
  532. * Retrieves a paginated list of IoT SiteWise Monitor portals.
  533. */
  534. listPortals(callback?: (err: AWSError, data: IoTSiteWise.Types.ListPortalsResponse) => void): Request<IoTSiteWise.Types.ListPortalsResponse, AWSError>;
  535. /**
  536. * Retrieves a paginated list of assets associated with an IoT SiteWise Monitor project.
  537. */
  538. listProjectAssets(params: IoTSiteWise.Types.ListProjectAssetsRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.ListProjectAssetsResponse) => void): Request<IoTSiteWise.Types.ListProjectAssetsResponse, AWSError>;
  539. /**
  540. * Retrieves a paginated list of assets associated with an IoT SiteWise Monitor project.
  541. */
  542. listProjectAssets(callback?: (err: AWSError, data: IoTSiteWise.Types.ListProjectAssetsResponse) => void): Request<IoTSiteWise.Types.ListProjectAssetsResponse, AWSError>;
  543. /**
  544. * Retrieves a paginated list of projects for an IoT SiteWise Monitor portal.
  545. */
  546. listProjects(params: IoTSiteWise.Types.ListProjectsRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.ListProjectsResponse) => void): Request<IoTSiteWise.Types.ListProjectsResponse, AWSError>;
  547. /**
  548. * Retrieves a paginated list of projects for an IoT SiteWise Monitor portal.
  549. */
  550. listProjects(callback?: (err: AWSError, data: IoTSiteWise.Types.ListProjectsResponse) => void): Request<IoTSiteWise.Types.ListProjectsResponse, AWSError>;
  551. /**
  552. * Retrieves the list of tags for an IoT SiteWise resource.
  553. */
  554. listTagsForResource(params: IoTSiteWise.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.ListTagsForResourceResponse) => void): Request<IoTSiteWise.Types.ListTagsForResourceResponse, AWSError>;
  555. /**
  556. * Retrieves the list of tags for an IoT SiteWise resource.
  557. */
  558. listTagsForResource(callback?: (err: AWSError, data: IoTSiteWise.Types.ListTagsForResourceResponse) => void): Request<IoTSiteWise.Types.ListTagsForResourceResponse, AWSError>;
  559. /**
  560. * Retrieves a paginated list of time series (data streams).
  561. */
  562. listTimeSeries(params: IoTSiteWise.Types.ListTimeSeriesRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.ListTimeSeriesResponse) => void): Request<IoTSiteWise.Types.ListTimeSeriesResponse, AWSError>;
  563. /**
  564. * Retrieves a paginated list of time series (data streams).
  565. */
  566. listTimeSeries(callback?: (err: AWSError, data: IoTSiteWise.Types.ListTimeSeriesResponse) => void): Request<IoTSiteWise.Types.ListTimeSeriesResponse, AWSError>;
  567. /**
  568. * Sets the default encryption configuration for the Amazon Web Services account. For more information, see Key management in the IoT SiteWise User Guide.
  569. */
  570. putDefaultEncryptionConfiguration(params: IoTSiteWise.Types.PutDefaultEncryptionConfigurationRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.PutDefaultEncryptionConfigurationResponse) => void): Request<IoTSiteWise.Types.PutDefaultEncryptionConfigurationResponse, AWSError>;
  571. /**
  572. * Sets the default encryption configuration for the Amazon Web Services account. For more information, see Key management in the IoT SiteWise User Guide.
  573. */
  574. putDefaultEncryptionConfiguration(callback?: (err: AWSError, data: IoTSiteWise.Types.PutDefaultEncryptionConfigurationResponse) => void): Request<IoTSiteWise.Types.PutDefaultEncryptionConfigurationResponse, AWSError>;
  575. /**
  576. * Sets logging options for IoT SiteWise.
  577. */
  578. putLoggingOptions(params: IoTSiteWise.Types.PutLoggingOptionsRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.PutLoggingOptionsResponse) => void): Request<IoTSiteWise.Types.PutLoggingOptionsResponse, AWSError>;
  579. /**
  580. * Sets logging options for IoT SiteWise.
  581. */
  582. putLoggingOptions(callback?: (err: AWSError, data: IoTSiteWise.Types.PutLoggingOptionsResponse) => void): Request<IoTSiteWise.Types.PutLoggingOptionsResponse, AWSError>;
  583. /**
  584. * Configures storage settings for IoT SiteWise.
  585. */
  586. putStorageConfiguration(params: IoTSiteWise.Types.PutStorageConfigurationRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.PutStorageConfigurationResponse) => void): Request<IoTSiteWise.Types.PutStorageConfigurationResponse, AWSError>;
  587. /**
  588. * Configures storage settings for IoT SiteWise.
  589. */
  590. putStorageConfiguration(callback?: (err: AWSError, data: IoTSiteWise.Types.PutStorageConfigurationResponse) => void): Request<IoTSiteWise.Types.PutStorageConfigurationResponse, AWSError>;
  591. /**
  592. * Adds tags to an IoT SiteWise resource. If a tag already exists for the resource, this operation updates the tag's value.
  593. */
  594. tagResource(params: IoTSiteWise.Types.TagResourceRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.TagResourceResponse) => void): Request<IoTSiteWise.Types.TagResourceResponse, AWSError>;
  595. /**
  596. * Adds tags to an IoT SiteWise resource. If a tag already exists for the resource, this operation updates the tag's value.
  597. */
  598. tagResource(callback?: (err: AWSError, data: IoTSiteWise.Types.TagResourceResponse) => void): Request<IoTSiteWise.Types.TagResourceResponse, AWSError>;
  599. /**
  600. * Removes a tag from an IoT SiteWise resource.
  601. */
  602. untagResource(params: IoTSiteWise.Types.UntagResourceRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.UntagResourceResponse) => void): Request<IoTSiteWise.Types.UntagResourceResponse, AWSError>;
  603. /**
  604. * Removes a tag from an IoT SiteWise resource.
  605. */
  606. untagResource(callback?: (err: AWSError, data: IoTSiteWise.Types.UntagResourceResponse) => void): Request<IoTSiteWise.Types.UntagResourceResponse, AWSError>;
  607. /**
  608. * Updates an existing access policy that specifies an identity's access to an IoT SiteWise Monitor portal or project resource.
  609. */
  610. updateAccessPolicy(params: IoTSiteWise.Types.UpdateAccessPolicyRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.UpdateAccessPolicyResponse) => void): Request<IoTSiteWise.Types.UpdateAccessPolicyResponse, AWSError>;
  611. /**
  612. * Updates an existing access policy that specifies an identity's access to an IoT SiteWise Monitor portal or project resource.
  613. */
  614. updateAccessPolicy(callback?: (err: AWSError, data: IoTSiteWise.Types.UpdateAccessPolicyResponse) => void): Request<IoTSiteWise.Types.UpdateAccessPolicyResponse, AWSError>;
  615. /**
  616. * Updates an asset's name. For more information, see Updating assets and models in the IoT SiteWise User Guide.
  617. */
  618. updateAsset(params: IoTSiteWise.Types.UpdateAssetRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.UpdateAssetResponse) => void): Request<IoTSiteWise.Types.UpdateAssetResponse, AWSError>;
  619. /**
  620. * Updates an asset's name. For more information, see Updating assets and models in the IoT SiteWise User Guide.
  621. */
  622. updateAsset(callback?: (err: AWSError, data: IoTSiteWise.Types.UpdateAssetResponse) => void): Request<IoTSiteWise.Types.UpdateAssetResponse, AWSError>;
  623. /**
  624. * Updates an asset model and all of the assets that were created from the model. Each asset created from the model inherits the updated asset model's property and hierarchy definitions. For more information, see Updating assets and models in the IoT SiteWise User Guide. This operation overwrites the existing model with the provided model. To avoid deleting your asset model's properties or hierarchies, you must include their IDs and definitions in the updated asset model payload. For more information, see DescribeAssetModel. If you remove a property from an asset model, IoT SiteWise deletes all previous data for that property. If you remove a hierarchy definition from an asset model, IoT SiteWise disassociates every asset associated with that hierarchy. You can't change the type or data type of an existing property.
  625. */
  626. updateAssetModel(params: IoTSiteWise.Types.UpdateAssetModelRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.UpdateAssetModelResponse) => void): Request<IoTSiteWise.Types.UpdateAssetModelResponse, AWSError>;
  627. /**
  628. * Updates an asset model and all of the assets that were created from the model. Each asset created from the model inherits the updated asset model's property and hierarchy definitions. For more information, see Updating assets and models in the IoT SiteWise User Guide. This operation overwrites the existing model with the provided model. To avoid deleting your asset model's properties or hierarchies, you must include their IDs and definitions in the updated asset model payload. For more information, see DescribeAssetModel. If you remove a property from an asset model, IoT SiteWise deletes all previous data for that property. If you remove a hierarchy definition from an asset model, IoT SiteWise disassociates every asset associated with that hierarchy. You can't change the type or data type of an existing property.
  629. */
  630. updateAssetModel(callback?: (err: AWSError, data: IoTSiteWise.Types.UpdateAssetModelResponse) => void): Request<IoTSiteWise.Types.UpdateAssetModelResponse, AWSError>;
  631. /**
  632. * Updates a composite model and all of the assets that were created from the model. Each asset created from the model inherits the updated asset model's property and hierarchy definitions. For more information, see Updating assets and models in the IoT SiteWise User Guide. If you remove a property from a composite asset model, IoT SiteWise deletes all previous data for that property. You can’t change the type or data type of an existing property. To replace an existing composite asset model property with a new one with the same name, do the following: Submit an UpdateAssetModelCompositeModel request with the entire existing property removed. Submit a second UpdateAssetModelCompositeModel request that includes the new property. The new asset property will have the same name as the previous one and IoT SiteWise will generate a new unique id.
  633. */
  634. updateAssetModelCompositeModel(params: IoTSiteWise.Types.UpdateAssetModelCompositeModelRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.UpdateAssetModelCompositeModelResponse) => void): Request<IoTSiteWise.Types.UpdateAssetModelCompositeModelResponse, AWSError>;
  635. /**
  636. * Updates a composite model and all of the assets that were created from the model. Each asset created from the model inherits the updated asset model's property and hierarchy definitions. For more information, see Updating assets and models in the IoT SiteWise User Guide. If you remove a property from a composite asset model, IoT SiteWise deletes all previous data for that property. You can’t change the type or data type of an existing property. To replace an existing composite asset model property with a new one with the same name, do the following: Submit an UpdateAssetModelCompositeModel request with the entire existing property removed. Submit a second UpdateAssetModelCompositeModel request that includes the new property. The new asset property will have the same name as the previous one and IoT SiteWise will generate a new unique id.
  637. */
  638. updateAssetModelCompositeModel(callback?: (err: AWSError, data: IoTSiteWise.Types.UpdateAssetModelCompositeModelResponse) => void): Request<IoTSiteWise.Types.UpdateAssetModelCompositeModelResponse, AWSError>;
  639. /**
  640. * Updates an asset property's alias and notification state. This operation overwrites the property's existing alias and notification state. To keep your existing property's alias or notification state, you must include the existing values in the UpdateAssetProperty request. For more information, see DescribeAssetProperty.
  641. */
  642. updateAssetProperty(params: IoTSiteWise.Types.UpdateAssetPropertyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  643. /**
  644. * Updates an asset property's alias and notification state. This operation overwrites the property's existing alias and notification state. To keep your existing property's alias or notification state, you must include the existing values in the UpdateAssetProperty request. For more information, see DescribeAssetProperty.
  645. */
  646. updateAssetProperty(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  647. /**
  648. * Updates an IoT SiteWise Monitor dashboard.
  649. */
  650. updateDashboard(params: IoTSiteWise.Types.UpdateDashboardRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.UpdateDashboardResponse) => void): Request<IoTSiteWise.Types.UpdateDashboardResponse, AWSError>;
  651. /**
  652. * Updates an IoT SiteWise Monitor dashboard.
  653. */
  654. updateDashboard(callback?: (err: AWSError, data: IoTSiteWise.Types.UpdateDashboardResponse) => void): Request<IoTSiteWise.Types.UpdateDashboardResponse, AWSError>;
  655. /**
  656. * Updates a gateway's name.
  657. */
  658. updateGateway(params: IoTSiteWise.Types.UpdateGatewayRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  659. /**
  660. * Updates a gateway's name.
  661. */
  662. updateGateway(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  663. /**
  664. * Updates a gateway capability configuration or defines a new capability configuration. Each gateway capability defines data sources for a gateway. A capability configuration can contain multiple data source configurations. If you define OPC-UA sources for a gateway in the IoT SiteWise console, all of your OPC-UA sources are stored in one capability configuration. To list all capability configurations for a gateway, use DescribeGateway.
  665. */
  666. updateGatewayCapabilityConfiguration(params: IoTSiteWise.Types.UpdateGatewayCapabilityConfigurationRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.UpdateGatewayCapabilityConfigurationResponse) => void): Request<IoTSiteWise.Types.UpdateGatewayCapabilityConfigurationResponse, AWSError>;
  667. /**
  668. * Updates a gateway capability configuration or defines a new capability configuration. Each gateway capability defines data sources for a gateway. A capability configuration can contain multiple data source configurations. If you define OPC-UA sources for a gateway in the IoT SiteWise console, all of your OPC-UA sources are stored in one capability configuration. To list all capability configurations for a gateway, use DescribeGateway.
  669. */
  670. updateGatewayCapabilityConfiguration(callback?: (err: AWSError, data: IoTSiteWise.Types.UpdateGatewayCapabilityConfigurationResponse) => void): Request<IoTSiteWise.Types.UpdateGatewayCapabilityConfigurationResponse, AWSError>;
  671. /**
  672. * Updates an IoT SiteWise Monitor portal.
  673. */
  674. updatePortal(params: IoTSiteWise.Types.UpdatePortalRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.UpdatePortalResponse) => void): Request<IoTSiteWise.Types.UpdatePortalResponse, AWSError>;
  675. /**
  676. * Updates an IoT SiteWise Monitor portal.
  677. */
  678. updatePortal(callback?: (err: AWSError, data: IoTSiteWise.Types.UpdatePortalResponse) => void): Request<IoTSiteWise.Types.UpdatePortalResponse, AWSError>;
  679. /**
  680. * Updates an IoT SiteWise Monitor project.
  681. */
  682. updateProject(params: IoTSiteWise.Types.UpdateProjectRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.UpdateProjectResponse) => void): Request<IoTSiteWise.Types.UpdateProjectResponse, AWSError>;
  683. /**
  684. * Updates an IoT SiteWise Monitor project.
  685. */
  686. updateProject(callback?: (err: AWSError, data: IoTSiteWise.Types.UpdateProjectResponse) => void): Request<IoTSiteWise.Types.UpdateProjectResponse, AWSError>;
  687. /**
  688. * Waits for the assetModelNotExists state by periodically calling the underlying IoTSiteWise.describeAssetModeloperation every 3 seconds (at most 20 times).
  689. */
  690. waitFor(state: "assetModelNotExists", params: IoTSiteWise.Types.DescribeAssetModelRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeAssetModelResponse) => void): Request<IoTSiteWise.Types.DescribeAssetModelResponse, AWSError>;
  691. /**
  692. * Waits for the assetModelNotExists state by periodically calling the underlying IoTSiteWise.describeAssetModeloperation every 3 seconds (at most 20 times).
  693. */
  694. waitFor(state: "assetModelNotExists", callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeAssetModelResponse) => void): Request<IoTSiteWise.Types.DescribeAssetModelResponse, AWSError>;
  695. /**
  696. * Waits for the assetModelActive state by periodically calling the underlying IoTSiteWise.describeAssetModeloperation every 3 seconds (at most 20 times).
  697. */
  698. waitFor(state: "assetModelActive", params: IoTSiteWise.Types.DescribeAssetModelRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeAssetModelResponse) => void): Request<IoTSiteWise.Types.DescribeAssetModelResponse, AWSError>;
  699. /**
  700. * Waits for the assetModelActive state by periodically calling the underlying IoTSiteWise.describeAssetModeloperation every 3 seconds (at most 20 times).
  701. */
  702. waitFor(state: "assetModelActive", callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeAssetModelResponse) => void): Request<IoTSiteWise.Types.DescribeAssetModelResponse, AWSError>;
  703. /**
  704. * Waits for the assetNotExists state by periodically calling the underlying IoTSiteWise.describeAssetoperation every 3 seconds (at most 20 times).
  705. */
  706. waitFor(state: "assetNotExists", params: IoTSiteWise.Types.DescribeAssetRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeAssetResponse) => void): Request<IoTSiteWise.Types.DescribeAssetResponse, AWSError>;
  707. /**
  708. * Waits for the assetNotExists state by periodically calling the underlying IoTSiteWise.describeAssetoperation every 3 seconds (at most 20 times).
  709. */
  710. waitFor(state: "assetNotExists", callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeAssetResponse) => void): Request<IoTSiteWise.Types.DescribeAssetResponse, AWSError>;
  711. /**
  712. * Waits for the assetActive state by periodically calling the underlying IoTSiteWise.describeAssetoperation every 3 seconds (at most 20 times).
  713. */
  714. waitFor(state: "assetActive", params: IoTSiteWise.Types.DescribeAssetRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeAssetResponse) => void): Request<IoTSiteWise.Types.DescribeAssetResponse, AWSError>;
  715. /**
  716. * Waits for the assetActive state by periodically calling the underlying IoTSiteWise.describeAssetoperation every 3 seconds (at most 20 times).
  717. */
  718. waitFor(state: "assetActive", callback?: (err: AWSError, data: IoTSiteWise.Types.DescribeAssetResponse) => void): Request<IoTSiteWise.Types.DescribeAssetResponse, AWSError>;
  719. /**
  720. * Waits for the portalNotExists state by periodically calling the underlying IoTSiteWise.describePortaloperation every 3 seconds (at most 20 times).
  721. */
  722. waitFor(state: "portalNotExists", params: IoTSiteWise.Types.DescribePortalRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: IoTSiteWise.Types.DescribePortalResponse) => void): Request<IoTSiteWise.Types.DescribePortalResponse, AWSError>;
  723. /**
  724. * Waits for the portalNotExists state by periodically calling the underlying IoTSiteWise.describePortaloperation every 3 seconds (at most 20 times).
  725. */
  726. waitFor(state: "portalNotExists", callback?: (err: AWSError, data: IoTSiteWise.Types.DescribePortalResponse) => void): Request<IoTSiteWise.Types.DescribePortalResponse, AWSError>;
  727. /**
  728. * Waits for the portalActive state by periodically calling the underlying IoTSiteWise.describePortaloperation every 3 seconds (at most 20 times).
  729. */
  730. waitFor(state: "portalActive", params: IoTSiteWise.Types.DescribePortalRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: IoTSiteWise.Types.DescribePortalResponse) => void): Request<IoTSiteWise.Types.DescribePortalResponse, AWSError>;
  731. /**
  732. * Waits for the portalActive state by periodically calling the underlying IoTSiteWise.describePortaloperation every 3 seconds (at most 20 times).
  733. */
  734. waitFor(state: "portalActive", callback?: (err: AWSError, data: IoTSiteWise.Types.DescribePortalResponse) => void): Request<IoTSiteWise.Types.DescribePortalResponse, AWSError>;
  735. }
  736. declare namespace IoTSiteWise {
  737. export type ARN = string;
  738. export type AccessPolicySummaries = AccessPolicySummary[];
  739. export interface AccessPolicySummary {
  740. /**
  741. * The ID of the access policy.
  742. */
  743. id: ID;
  744. /**
  745. * The identity (an IAM Identity Center user, an IAM Identity Center group, or an IAM user).
  746. */
  747. identity: Identity;
  748. /**
  749. * The IoT SiteWise Monitor resource (a portal or project).
  750. */
  751. resource: Resource;
  752. /**
  753. * The permissions for the access policy. Note that a project ADMINISTRATOR is also known as a project owner.
  754. */
  755. permission: Permission;
  756. /**
  757. * The date the access policy was created, in Unix epoch time.
  758. */
  759. creationDate?: Timestamp;
  760. /**
  761. * The date the access policy was last updated, in Unix epoch time.
  762. */
  763. lastUpdateDate?: Timestamp;
  764. }
  765. export interface ActionDefinition {
  766. /**
  767. * The ID of the action definition.
  768. */
  769. actionDefinitionId: ID;
  770. /**
  771. * The name of the action definition.
  772. */
  773. actionName: Name;
  774. /**
  775. * The type of the action definition.
  776. */
  777. actionType: Name;
  778. }
  779. export type ActionDefinitions = ActionDefinition[];
  780. export interface ActionPayload {
  781. /**
  782. * The payload of the action in a JSON string.
  783. */
  784. stringValue: ActionPayloadString;
  785. }
  786. export type ActionPayloadString = string;
  787. export type ActionSummaries = ActionSummary[];
  788. export interface ActionSummary {
  789. /**
  790. * The ID of the action.
  791. */
  792. actionId?: ID;
  793. /**
  794. * The ID of the action definition.
  795. */
  796. actionDefinitionId?: ID;
  797. /**
  798. * The resource the action will be taken on.
  799. */
  800. targetResource?: TargetResource;
  801. }
  802. export type AdaptiveIngestion = boolean;
  803. export type AggregateType = "AVERAGE"|"COUNT"|"MAXIMUM"|"MINIMUM"|"SUM"|"STANDARD_DEVIATION"|string;
  804. export type AggregateTypes = AggregateType[];
  805. export type AggregatedDoubleValue = number;
  806. export interface AggregatedValue {
  807. /**
  808. * The date the aggregating computations occurred, in Unix epoch time.
  809. */
  810. timestamp: Timestamp;
  811. /**
  812. * The quality of the aggregated data.
  813. */
  814. quality?: Quality;
  815. /**
  816. * The value of the aggregates.
  817. */
  818. value: Aggregates;
  819. }
  820. export type AggregatedValues = AggregatedValue[];
  821. export interface Aggregates {
  822. /**
  823. * The average (mean) value of the time series over a time interval window.
  824. */
  825. average?: AggregatedDoubleValue;
  826. /**
  827. * The count of data points in the time series over a time interval window.
  828. */
  829. count?: AggregatedDoubleValue;
  830. /**
  831. * The maximum value of the time series over a time interval window.
  832. */
  833. maximum?: AggregatedDoubleValue;
  834. /**
  835. * The minimum value of the time series over a time interval window.
  836. */
  837. minimum?: AggregatedDoubleValue;
  838. /**
  839. * The sum of the time series over a time interval window.
  840. */
  841. sum?: AggregatedDoubleValue;
  842. /**
  843. * The standard deviation of the time series over a time interval window.
  844. */
  845. standardDeviation?: AggregatedDoubleValue;
  846. }
  847. export interface Alarms {
  848. /**
  849. * The ARN of the IAM role that allows the alarm to perform actions and access Amazon Web Services resources and services, such as IoT Events.
  850. */
  851. alarmRoleArn: ARN;
  852. /**
  853. * The ARN of the Lambda function that manages alarm notifications. For more information, see Managing alarm notifications in the IoT Events Developer Guide.
  854. */
  855. notificationLambdaArn?: ARN;
  856. }
  857. export type AmazonResourceName = string;
  858. export interface AssetCompositeModel {
  859. /**
  860. * The name of the composite model.
  861. */
  862. name: Name;
  863. /**
  864. * The description of the composite model.
  865. */
  866. description?: Description;
  867. /**
  868. * The type of the composite model. For alarm composite models, this type is AWS/ALARM.
  869. */
  870. type: Name;
  871. /**
  872. * The asset properties that this composite model defines.
  873. */
  874. properties: AssetProperties;
  875. /**
  876. * The ID of the asset composite model.
  877. */
  878. id?: ID;
  879. /**
  880. * The external ID of the asset composite model. For more information, see Using external IDs in the IoT SiteWise User Guide.
  881. */
  882. externalId?: ExternalId;
  883. }
  884. export type AssetCompositeModelPath = AssetCompositeModelPathSegment[];
  885. export interface AssetCompositeModelPathSegment {
  886. /**
  887. * The ID of the path segment.
  888. */
  889. id?: ID;
  890. /**
  891. * The name of the path segment.
  892. */
  893. name?: Name;
  894. }
  895. export type AssetCompositeModelSummaries = AssetCompositeModelSummary[];
  896. export interface AssetCompositeModelSummary {
  897. /**
  898. * The ID of the composite model that this summary describes.
  899. */
  900. id: ID;
  901. /**
  902. * An external ID to assign to the asset model. If the composite model is a derived composite model, or one nested inside a component model, you can only set the external ID using UpdateAssetModelCompositeModel and specifying the derived ID of the model or property from the created model it's a part of.
  903. */
  904. externalId?: ExternalId;
  905. /**
  906. * The name of the composite model that this summary describes.
  907. */
  908. name: Name;
  909. /**
  910. * The type of asset model. ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model. COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
  911. */
  912. type: Name;
  913. /**
  914. * A description of the composite model that this summary describes.
  915. */
  916. description: Description;
  917. /**
  918. * The path that includes all the components of the asset model for the asset.
  919. */
  920. path: AssetCompositeModelPath;
  921. }
  922. export type AssetCompositeModels = AssetCompositeModel[];
  923. export type AssetErrorCode = "INTERNAL_FAILURE"|string;
  924. export interface AssetErrorDetails {
  925. /**
  926. * The ID of the asset, in UUID format.
  927. */
  928. assetId: ID;
  929. /**
  930. * The error code.
  931. */
  932. code: AssetErrorCode;
  933. /**
  934. * The error message.
  935. */
  936. message: AssetErrorMessage;
  937. }
  938. export type AssetErrorMessage = string;
  939. export type AssetHierarchies = AssetHierarchy[];
  940. export interface AssetHierarchy {
  941. /**
  942. * The ID of the hierarchy. This ID is a hierarchyId.
  943. */
  944. id?: ID;
  945. /**
  946. * The hierarchy name provided in the CreateAssetModel or UpdateAssetModel API operation.
  947. */
  948. name: Name;
  949. /**
  950. * The external ID of the hierarchy, if it has one. When you update an asset hierarchy, you may assign an external ID if it doesn't already have one. You can't change the external ID of an asset hierarchy that already has one. For more information, see Using external IDs in the IoT SiteWise User Guide.
  951. */
  952. externalId?: ExternalId;
  953. }
  954. export interface AssetHierarchyInfo {
  955. /**
  956. * The ID of the parent asset in this asset relationship.
  957. */
  958. parentAssetId?: ID;
  959. /**
  960. * The ID of the child asset in this asset relationship.
  961. */
  962. childAssetId?: ID;
  963. }
  964. export type AssetIDs = ID[];
  965. export interface AssetModelCompositeModel {
  966. /**
  967. * The name of the composite model.
  968. */
  969. name: Name;
  970. /**
  971. * The description of the composite model.
  972. */
  973. description?: Description;
  974. /**
  975. * The type of the composite model. For alarm composite models, this type is AWS/ALARM.
  976. */
  977. type: Name;
  978. /**
  979. * The asset property definitions for this composite model.
  980. */
  981. properties?: AssetModelProperties;
  982. /**
  983. * The ID of the asset model composite model.
  984. */
  985. id?: CustomID;
  986. /**
  987. * The external ID of the asset model composite model. For more information, see Using external IDs in the IoT SiteWise User Guide.
  988. */
  989. externalId?: ExternalId;
  990. }
  991. export interface AssetModelCompositeModelDefinition {
  992. /**
  993. * The name of the composite model.
  994. */
  995. name: Name;
  996. /**
  997. * The description of the composite model.
  998. */
  999. description?: Description;
  1000. /**
  1001. * The type of the composite model. For alarm composite models, this type is AWS/ALARM.
  1002. */
  1003. type: Name;
  1004. /**
  1005. * The asset property definitions for this composite model.
  1006. */
  1007. properties?: AssetModelPropertyDefinitions;
  1008. /**
  1009. * The ID to assign to the composite model, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.
  1010. */
  1011. id?: ID;
  1012. /**
  1013. * An external ID to assign to the composite model. The external ID must be unique among composite models within this asset model. For more information, see Using external IDs in the IoT SiteWise User Guide.
  1014. */
  1015. externalId?: ExternalId;
  1016. }
  1017. export type AssetModelCompositeModelDefinitions = AssetModelCompositeModelDefinition[];
  1018. export type AssetModelCompositeModelPath = AssetModelCompositeModelPathSegment[];
  1019. export interface AssetModelCompositeModelPathSegment {
  1020. /**
  1021. * The ID of the path segment.
  1022. */
  1023. id?: ID;
  1024. /**
  1025. * The name of the path segment.
  1026. */
  1027. name?: Name;
  1028. }
  1029. export type AssetModelCompositeModelSummaries = AssetModelCompositeModelSummary[];
  1030. export interface AssetModelCompositeModelSummary {
  1031. /**
  1032. * The ID of the the composite model that this summary describes..
  1033. */
  1034. id: ID;
  1035. /**
  1036. * The external ID of a composite model on this asset model. For more information, see Using external IDs in the IoT SiteWise User Guide.
  1037. */
  1038. externalId?: ExternalId;
  1039. /**
  1040. * The name of the the composite model that this summary describes..
  1041. */
  1042. name: Name;
  1043. /**
  1044. * The type of asset model. ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model. COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
  1045. */
  1046. type: Name;
  1047. /**
  1048. * The description of the the composite model that this summary describes..
  1049. */
  1050. description?: Description;
  1051. /**
  1052. * The path that includes all the pieces that make up the composite model.
  1053. */
  1054. path?: AssetModelCompositeModelPath;
  1055. }
  1056. export type AssetModelCompositeModels = AssetModelCompositeModel[];
  1057. export type AssetModelHierarchies = AssetModelHierarchy[];
  1058. export interface AssetModelHierarchy {
  1059. /**
  1060. * The ID of the asset model hierarchy. This ID is a hierarchyId. If you are callling UpdateAssetModel to create a new hierarchy: You can specify its ID here, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique. If you are calling UpdateAssetModel to modify an existing hierarchy: This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  1061. */
  1062. id?: CustomID;
  1063. /**
  1064. * The name of the asset model hierarchy that you specify by using the CreateAssetModel or UpdateAssetModel API operation.
  1065. */
  1066. name: Name;
  1067. /**
  1068. * The ID of the asset model, in UUID format. All assets in this hierarchy must be instances of the childAssetModelId asset model. IoT SiteWise will always return the actual asset model ID for this value. However, when you are specifying this value as part of a call to UpdateAssetModel, you may provide either the asset model ID or else externalId: followed by the asset model's external ID. For more information, see Using external IDs in the IoT SiteWise User Guide.
  1069. */
  1070. childAssetModelId: CustomID;
  1071. /**
  1072. * The external ID (if any) provided in the CreateAssetModel or UpdateAssetModel operation. You can assign an external ID by specifying this value as part of a call to UpdateAssetModel. However, you can't change the external ID if one is already assigned. For more information, see Using external IDs in the IoT SiteWise User Guide.
  1073. */
  1074. externalId?: ExternalId;
  1075. }
  1076. export interface AssetModelHierarchyDefinition {
  1077. /**
  1078. * The name of the asset model hierarchy definition (as specified in the CreateAssetModel or UpdateAssetModel API operation).
  1079. */
  1080. name: Name;
  1081. /**
  1082. * The ID of an asset model for this hierarchy. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  1083. */
  1084. childAssetModelId: CustomID;
  1085. /**
  1086. * The ID to assign to the asset model hierarchy, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.
  1087. */
  1088. id?: ID;
  1089. /**
  1090. * An external ID to assign to the asset model hierarchy. The external ID must be unique among asset model hierarchies within this asset model. For more information, see Using external IDs in the IoT SiteWise User Guide.
  1091. */
  1092. externalId?: ExternalId;
  1093. }
  1094. export type AssetModelHierarchyDefinitions = AssetModelHierarchyDefinition[];
  1095. export type AssetModelProperties = AssetModelProperty[];
  1096. export interface AssetModelProperty {
  1097. /**
  1098. * The ID of the asset model property. If you are callling UpdateAssetModel to create a new property: You can specify its ID here, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique. If you are calling UpdateAssetModel to modify an existing property: This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  1099. */
  1100. id?: CustomID;
  1101. /**
  1102. * The name of the asset model property.
  1103. */
  1104. name: Name;
  1105. /**
  1106. * The data type of the asset model property.
  1107. */
  1108. dataType: PropertyDataType;
  1109. /**
  1110. * The data type of the structure for this property. This parameter exists on properties that have the STRUCT data type.
  1111. */
  1112. dataTypeSpec?: Name;
  1113. /**
  1114. * The unit of the asset model property, such as Newtons or RPM.
  1115. */
  1116. unit?: PropertyUnit;
  1117. /**
  1118. * The property type (see PropertyType).
  1119. */
  1120. type: PropertyType;
  1121. /**
  1122. * The structured path to the property from the root of the asset model.
  1123. */
  1124. path?: AssetModelPropertyPath;
  1125. /**
  1126. * The external ID (if any) provided in the CreateAssetModel or UpdateAssetModel operation. You can assign an external ID by specifying this value as part of a call to UpdateAssetModel. However, you can't change the external ID if one is already assigned. For more information, see Using external IDs in the IoT SiteWise User Guide.
  1127. */
  1128. externalId?: ExternalId;
  1129. }
  1130. export interface AssetModelPropertyDefinition {
  1131. /**
  1132. * The name of the property definition.
  1133. */
  1134. name: Name;
  1135. /**
  1136. * The data type of the property definition. If you specify STRUCT, you must also specify dataTypeSpec to identify the type of the structure for this property.
  1137. */
  1138. dataType: PropertyDataType;
  1139. /**
  1140. * The data type of the structure for this property. This parameter is required on properties that have the STRUCT data type. The options for this parameter depend on the type of the composite model in which you define this property. Use AWS/ALARM_STATE for alarm state in alarm composite models.
  1141. */
  1142. dataTypeSpec?: Name;
  1143. /**
  1144. * The unit of the property definition, such as Newtons or RPM.
  1145. */
  1146. unit?: PropertyUnit;
  1147. /**
  1148. * The property definition type (see PropertyType). You can only specify one type in a property definition.
  1149. */
  1150. type: PropertyType;
  1151. /**
  1152. * The ID to assign to the asset model property, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.
  1153. */
  1154. id?: ID;
  1155. /**
  1156. * An external ID to assign to the property definition. The external ID must be unique among property definitions within this asset model. For more information, see Using external IDs in the IoT SiteWise User Guide.
  1157. */
  1158. externalId?: ExternalId;
  1159. }
  1160. export type AssetModelPropertyDefinitions = AssetModelPropertyDefinition[];
  1161. export type AssetModelPropertyPath = AssetModelPropertyPathSegment[];
  1162. export interface AssetModelPropertyPathSegment {
  1163. /**
  1164. * The ID of the path segment.
  1165. */
  1166. id?: ID;
  1167. /**
  1168. * The name of the path segment.
  1169. */
  1170. name?: Name;
  1171. }
  1172. export type AssetModelPropertySummaries = AssetModelPropertySummary[];
  1173. export interface AssetModelPropertySummary {
  1174. /**
  1175. * The ID of the property.
  1176. */
  1177. id?: ID;
  1178. /**
  1179. * The name of the property.
  1180. */
  1181. name: Name;
  1182. /**
  1183. * The data type of the property.
  1184. */
  1185. dataType: PropertyDataType;
  1186. /**
  1187. * The data type of the structure for this property. This parameter exists on properties that have the STRUCT data type.
  1188. */
  1189. dataTypeSpec?: Name;
  1190. /**
  1191. * The unit (such as Newtons or RPM) of the property.
  1192. */
  1193. unit?: PropertyUnit;
  1194. type: PropertyType;
  1195. /**
  1196. * The ID of the composite model that contains the asset model property.
  1197. */
  1198. assetModelCompositeModelId?: ID;
  1199. /**
  1200. * The structured path to the property from the root of the asset model.
  1201. */
  1202. path?: AssetModelPropertyPath;
  1203. /**
  1204. * The external ID of the property. For more information, see Using external IDs in the IoT SiteWise User Guide.
  1205. */
  1206. externalId?: ExternalId;
  1207. }
  1208. export type AssetModelState = "CREATING"|"ACTIVE"|"UPDATING"|"PROPAGATING"|"DELETING"|"FAILED"|string;
  1209. export interface AssetModelStatus {
  1210. /**
  1211. * The current state of the asset model.
  1212. */
  1213. state: AssetModelState;
  1214. /**
  1215. * Contains associated error information, if any.
  1216. */
  1217. error?: ErrorDetails;
  1218. }
  1219. export type AssetModelSummaries = AssetModelSummary[];
  1220. export interface AssetModelSummary {
  1221. /**
  1222. * The ID of the asset model (used with IoT SiteWise API operations).
  1223. */
  1224. id: ID;
  1225. /**
  1226. * The ARN of the asset model, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
  1227. */
  1228. arn: ARN;
  1229. /**
  1230. * The name of the asset model.
  1231. */
  1232. name: Name;
  1233. /**
  1234. * The asset model description.
  1235. */
  1236. description: Description;
  1237. /**
  1238. * The date the asset model was created, in Unix epoch time.
  1239. */
  1240. creationDate: Timestamp;
  1241. /**
  1242. * The date the asset model was last updated, in Unix epoch time.
  1243. */
  1244. lastUpdateDate: Timestamp;
  1245. /**
  1246. * The current status of the asset model.
  1247. */
  1248. status: AssetModelStatus;
  1249. /**
  1250. * The type of asset model. ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model. COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
  1251. */
  1252. assetModelType?: AssetModelType;
  1253. /**
  1254. * The external ID of the asset model. For more information, see Using external IDs in the IoT SiteWise User Guide.
  1255. */
  1256. externalId?: ExternalId;
  1257. }
  1258. export type AssetModelType = "ASSET_MODEL"|"COMPONENT_MODEL"|string;
  1259. export type AssetProperties = AssetProperty[];
  1260. export interface AssetProperty {
  1261. /**
  1262. * The ID of the asset property.
  1263. */
  1264. id: ID;
  1265. /**
  1266. * The name of the property.
  1267. */
  1268. name: Name;
  1269. /**
  1270. * The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.
  1271. */
  1272. alias?: PropertyAlias;
  1273. /**
  1274. * The asset property's notification topic and state. For more information, see UpdateAssetProperty.
  1275. */
  1276. notification?: PropertyNotification;
  1277. /**
  1278. * The data type of the asset property.
  1279. */
  1280. dataType: PropertyDataType;
  1281. /**
  1282. * The data type of the structure for this property. This parameter exists on properties that have the STRUCT data type.
  1283. */
  1284. dataTypeSpec?: Name;
  1285. /**
  1286. * The unit (such as Newtons or RPM) of the asset property.
  1287. */
  1288. unit?: PropertyUnit;
  1289. /**
  1290. * The structured path to the property from the root of the asset.
  1291. */
  1292. path?: AssetPropertyPath;
  1293. /**
  1294. * The external ID of the asset property. For more information, see Using external IDs in the IoT SiteWise User Guide.
  1295. */
  1296. externalId?: ExternalId;
  1297. }
  1298. export type AssetPropertyAlias = string;
  1299. export type AssetPropertyPath = AssetPropertyPathSegment[];
  1300. export interface AssetPropertyPathSegment {
  1301. /**
  1302. * The ID of the path segment.
  1303. */
  1304. id?: ID;
  1305. /**
  1306. * The name of the path segment.
  1307. */
  1308. name?: Name;
  1309. }
  1310. export type AssetPropertySummaries = AssetPropertySummary[];
  1311. export interface AssetPropertySummary {
  1312. /**
  1313. * The ID of the property.
  1314. */
  1315. id: ID;
  1316. /**
  1317. * The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.
  1318. */
  1319. alias?: PropertyAlias;
  1320. /**
  1321. * The unit of measure (such as Newtons or RPM) of the asset property.
  1322. */
  1323. unit?: PropertyUnit;
  1324. notification?: PropertyNotification;
  1325. /**
  1326. * The ID of the composite model that contains the asset property.
  1327. */
  1328. assetCompositeModelId?: ID;
  1329. /**
  1330. * The structured path to the property from the root of the asset.
  1331. */
  1332. path?: AssetPropertyPath;
  1333. /**
  1334. * The external ID of the property. For more information, see Using external IDs in the IoT SiteWise User Guide.
  1335. */
  1336. externalId?: ExternalId;
  1337. }
  1338. export interface AssetPropertyValue {
  1339. /**
  1340. * The value of the asset property (see Variant).
  1341. */
  1342. value: Variant;
  1343. /**
  1344. * The timestamp of the asset property value.
  1345. */
  1346. timestamp: TimeInNanos;
  1347. /**
  1348. * The quality of the asset property value.
  1349. */
  1350. quality?: Quality;
  1351. }
  1352. export type AssetPropertyValueHistory = AssetPropertyValue[];
  1353. export type AssetPropertyValues = AssetPropertyValue[];
  1354. export type AssetRelationshipSummaries = AssetRelationshipSummary[];
  1355. export interface AssetRelationshipSummary {
  1356. /**
  1357. * The assets that are related through an asset hierarchy. This object is present if the relationshipType is HIERARCHY.
  1358. */
  1359. hierarchyInfo?: AssetHierarchyInfo;
  1360. /**
  1361. * The relationship type of the assets in this relationship. This value is one of the following: HIERARCHY – The assets are related through an asset hierarchy. If you specify this relationship type, this asset relationship includes the hierarchyInfo object.
  1362. */
  1363. relationshipType: AssetRelationshipType;
  1364. }
  1365. export type AssetRelationshipType = "HIERARCHY"|string;
  1366. export type AssetState = "CREATING"|"ACTIVE"|"UPDATING"|"DELETING"|"FAILED"|string;
  1367. export interface AssetStatus {
  1368. /**
  1369. * The current status of the asset.
  1370. */
  1371. state: AssetState;
  1372. /**
  1373. * Contains associated error information, if any.
  1374. */
  1375. error?: ErrorDetails;
  1376. }
  1377. export type AssetSummaries = AssetSummary[];
  1378. export interface AssetSummary {
  1379. /**
  1380. * The ID of the asset, in UUID format.
  1381. */
  1382. id: ID;
  1383. /**
  1384. * The ARN of the asset, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
  1385. */
  1386. arn: ARN;
  1387. /**
  1388. * The name of the asset.
  1389. */
  1390. name: Name;
  1391. /**
  1392. * The ID of the asset model used to create this asset.
  1393. */
  1394. assetModelId: ID;
  1395. /**
  1396. * The date the asset was created, in Unix epoch time.
  1397. */
  1398. creationDate: Timestamp;
  1399. /**
  1400. * The date the asset was last updated, in Unix epoch time.
  1401. */
  1402. lastUpdateDate: Timestamp;
  1403. /**
  1404. * The current status of the asset.
  1405. */
  1406. status: AssetStatus;
  1407. /**
  1408. * A list of asset hierarchies that each contain a hierarchyId. A hierarchy specifies allowed parent/child asset relationships.
  1409. */
  1410. hierarchies: AssetHierarchies;
  1411. /**
  1412. * A description for the asset.
  1413. */
  1414. description?: Description;
  1415. /**
  1416. * The external ID of the asset. For more information, see Using external IDs in the IoT SiteWise User Guide.
  1417. */
  1418. externalId?: ExternalId;
  1419. }
  1420. export interface AssociateAssetsRequest {
  1421. /**
  1422. * The ID of the parent asset. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  1423. */
  1424. assetId: CustomID;
  1425. /**
  1426. * The ID of a hierarchy in the parent asset's model. (This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.) Hierarchies allow different groupings of assets to be formed that all come from the same asset model. For more information, see Asset hierarchies in the IoT SiteWise User Guide.
  1427. */
  1428. hierarchyId: CustomID;
  1429. /**
  1430. * The ID of the child asset to be associated. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  1431. */
  1432. childAssetId: CustomID;
  1433. /**
  1434. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  1435. */
  1436. clientToken?: ClientToken;
  1437. }
  1438. export interface AssociateTimeSeriesToAssetPropertyRequest {
  1439. /**
  1440. * The alias that identifies the time series.
  1441. */
  1442. alias: PropertyAlias;
  1443. /**
  1444. * The ID of the asset in which the asset property was created. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  1445. */
  1446. assetId: CustomID;
  1447. /**
  1448. * The ID of the asset property. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  1449. */
  1450. propertyId: CustomID;
  1451. /**
  1452. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  1453. */
  1454. clientToken?: ClientToken;
  1455. }
  1456. export type AssociatedAssetsSummaries = AssociatedAssetsSummary[];
  1457. export interface AssociatedAssetsSummary {
  1458. /**
  1459. * The ID of the asset, in UUID format.
  1460. */
  1461. id: ID;
  1462. /**
  1463. * The ARN of the asset, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
  1464. */
  1465. arn: ARN;
  1466. /**
  1467. * The name of the asset.
  1468. */
  1469. name: Name;
  1470. /**
  1471. * The ID of the asset model used to create the asset.
  1472. */
  1473. assetModelId: ID;
  1474. /**
  1475. * The date the asset was created, in Unix epoch time.
  1476. */
  1477. creationDate: Timestamp;
  1478. /**
  1479. * The date the asset was last updated, in Unix epoch time.
  1480. */
  1481. lastUpdateDate: Timestamp;
  1482. /**
  1483. * The current status of the asset.
  1484. */
  1485. status: AssetStatus;
  1486. /**
  1487. * A list of asset hierarchies that each contain a hierarchyId. A hierarchy specifies allowed parent/child asset relationships.
  1488. */
  1489. hierarchies: AssetHierarchies;
  1490. /**
  1491. * A description for the asset.
  1492. */
  1493. description?: Description;
  1494. /**
  1495. * The external ID of the asset. For more information, see Using external IDs in the IoT SiteWise User Guide.
  1496. */
  1497. externalId?: ExternalId;
  1498. }
  1499. export interface Attribute {
  1500. /**
  1501. * The default value of the asset model property attribute. All assets that you create from the asset model contain this attribute value. You can update an attribute's value after you create an asset. For more information, see Updating attribute values in the IoT SiteWise User Guide.
  1502. */
  1503. defaultValue?: DefaultValue;
  1504. }
  1505. export type AuthMode = "IAM"|"SSO"|string;
  1506. export type BatchAssociateProjectAssetsErrors = AssetErrorDetails[];
  1507. export interface BatchAssociateProjectAssetsRequest {
  1508. /**
  1509. * The ID of the project to which to associate the assets.
  1510. */
  1511. projectId: ID;
  1512. /**
  1513. * The IDs of the assets to be associated to the project.
  1514. */
  1515. assetIds: IDs;
  1516. /**
  1517. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  1518. */
  1519. clientToken?: ClientToken;
  1520. }
  1521. export interface BatchAssociateProjectAssetsResponse {
  1522. /**
  1523. * A list of associated error information, if any.
  1524. */
  1525. errors?: BatchAssociateProjectAssetsErrors;
  1526. }
  1527. export type BatchDisassociateProjectAssetsErrors = AssetErrorDetails[];
  1528. export interface BatchDisassociateProjectAssetsRequest {
  1529. /**
  1530. * The ID of the project from which to disassociate the assets.
  1531. */
  1532. projectId: ID;
  1533. /**
  1534. * The IDs of the assets to be disassociated from the project.
  1535. */
  1536. assetIds: IDs;
  1537. /**
  1538. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  1539. */
  1540. clientToken?: ClientToken;
  1541. }
  1542. export interface BatchDisassociateProjectAssetsResponse {
  1543. /**
  1544. * A list of associated error information, if any.
  1545. */
  1546. errors?: BatchDisassociateProjectAssetsErrors;
  1547. }
  1548. export type BatchEntryCompletionStatus = "SUCCESS"|"ERROR"|string;
  1549. export type BatchGetAssetPropertyAggregatesEntries = BatchGetAssetPropertyAggregatesEntry[];
  1550. export interface BatchGetAssetPropertyAggregatesEntry {
  1551. /**
  1552. * The ID of the entry.
  1553. */
  1554. entryId: EntryId;
  1555. /**
  1556. * The ID of the asset in which the asset property was created.
  1557. */
  1558. assetId?: ID;
  1559. /**
  1560. * The ID of the asset property, in UUID format.
  1561. */
  1562. propertyId?: ID;
  1563. /**
  1564. * The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.
  1565. */
  1566. propertyAlias?: AssetPropertyAlias;
  1567. /**
  1568. * The data aggregating function.
  1569. */
  1570. aggregateTypes: AggregateTypes;
  1571. /**
  1572. * The time interval over which to aggregate data.
  1573. */
  1574. resolution: Resolution;
  1575. /**
  1576. * The exclusive start of the range from which to query historical data, expressed in seconds in Unix epoch time.
  1577. */
  1578. startDate: Timestamp;
  1579. /**
  1580. * The inclusive end of the range from which to query historical data, expressed in seconds in Unix epoch time.
  1581. */
  1582. endDate: Timestamp;
  1583. /**
  1584. * The quality by which to filter asset data.
  1585. */
  1586. qualities?: Qualities;
  1587. /**
  1588. * The chronological sorting order of the requested information. Default: ASCENDING
  1589. */
  1590. timeOrdering?: TimeOrdering;
  1591. }
  1592. export type BatchGetAssetPropertyAggregatesErrorCode = "ResourceNotFoundException"|"InvalidRequestException"|"AccessDeniedException"|string;
  1593. export type BatchGetAssetPropertyAggregatesErrorEntries = BatchGetAssetPropertyAggregatesErrorEntry[];
  1594. export interface BatchGetAssetPropertyAggregatesErrorEntry {
  1595. /**
  1596. * The error code.
  1597. */
  1598. errorCode: BatchGetAssetPropertyAggregatesErrorCode;
  1599. /**
  1600. * The associated error message.
  1601. */
  1602. errorMessage: ErrorMessage;
  1603. /**
  1604. * The ID of the entry.
  1605. */
  1606. entryId: EntryId;
  1607. }
  1608. export interface BatchGetAssetPropertyAggregatesErrorInfo {
  1609. /**
  1610. * The error code.
  1611. */
  1612. errorCode: BatchGetAssetPropertyAggregatesErrorCode;
  1613. /**
  1614. * The date the error occurred, in Unix epoch time.
  1615. */
  1616. errorTimestamp: Timestamp;
  1617. }
  1618. export type BatchGetAssetPropertyAggregatesMaxResults = number;
  1619. export interface BatchGetAssetPropertyAggregatesRequest {
  1620. /**
  1621. * The list of asset property aggregate entries for the batch get request. You can specify up to 16 entries per request.
  1622. */
  1623. entries: BatchGetAssetPropertyAggregatesEntries;
  1624. /**
  1625. * The token to be used for the next set of paginated results.
  1626. */
  1627. nextToken?: NextToken;
  1628. /**
  1629. * The maximum number of results to return for each paginated request. A result set is returned in the two cases, whichever occurs first. The size of the result set is equal to 1 MB. The number of data points in the result set is equal to the value of maxResults. The maximum value of maxResults is 4000.
  1630. */
  1631. maxResults?: BatchGetAssetPropertyAggregatesMaxResults;
  1632. }
  1633. export interface BatchGetAssetPropertyAggregatesResponse {
  1634. /**
  1635. * A list of the errors (if any) associated with the batch request. Each error entry contains the entryId of the entry that failed.
  1636. */
  1637. errorEntries: BatchGetAssetPropertyAggregatesErrorEntries;
  1638. /**
  1639. * A list of entries that were processed successfully by this batch request. Each success entry contains the entryId of the entry that succeeded and the latest query result.
  1640. */
  1641. successEntries: BatchGetAssetPropertyAggregatesSuccessEntries;
  1642. /**
  1643. * A list of entries that were not processed by this batch request. because these entries had been completely processed by previous paginated requests. Each skipped entry contains the entryId of the entry that skipped.
  1644. */
  1645. skippedEntries: BatchGetAssetPropertyAggregatesSkippedEntries;
  1646. /**
  1647. * The token for the next set of results, or null if there are no additional results.
  1648. */
  1649. nextToken?: NextToken;
  1650. }
  1651. export type BatchGetAssetPropertyAggregatesSkippedEntries = BatchGetAssetPropertyAggregatesSkippedEntry[];
  1652. export interface BatchGetAssetPropertyAggregatesSkippedEntry {
  1653. /**
  1654. * The ID of the entry.
  1655. */
  1656. entryId: EntryId;
  1657. /**
  1658. * The completion status of each entry that is associated with the BatchGetAssetPropertyAggregates API.
  1659. */
  1660. completionStatus: BatchEntryCompletionStatus;
  1661. /**
  1662. * The error information, such as the error code and the timestamp.
  1663. */
  1664. errorInfo?: BatchGetAssetPropertyAggregatesErrorInfo;
  1665. }
  1666. export type BatchGetAssetPropertyAggregatesSuccessEntries = BatchGetAssetPropertyAggregatesSuccessEntry[];
  1667. export interface BatchGetAssetPropertyAggregatesSuccessEntry {
  1668. /**
  1669. * The ID of the entry.
  1670. */
  1671. entryId: EntryId;
  1672. /**
  1673. * The requested aggregated asset property values (for example, average, minimum, and maximum).
  1674. */
  1675. aggregatedValues: AggregatedValues;
  1676. }
  1677. export type BatchGetAssetPropertyValueEntries = BatchGetAssetPropertyValueEntry[];
  1678. export interface BatchGetAssetPropertyValueEntry {
  1679. /**
  1680. * The ID of the entry.
  1681. */
  1682. entryId: EntryId;
  1683. /**
  1684. * The ID of the asset in which the asset property was created.
  1685. */
  1686. assetId?: ID;
  1687. /**
  1688. * The ID of the asset property, in UUID format.
  1689. */
  1690. propertyId?: ID;
  1691. /**
  1692. * The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.
  1693. */
  1694. propertyAlias?: AssetPropertyAlias;
  1695. }
  1696. export type BatchGetAssetPropertyValueErrorCode = "ResourceNotFoundException"|"InvalidRequestException"|"AccessDeniedException"|string;
  1697. export type BatchGetAssetPropertyValueErrorEntries = BatchGetAssetPropertyValueErrorEntry[];
  1698. export interface BatchGetAssetPropertyValueErrorEntry {
  1699. /**
  1700. * The error code.
  1701. */
  1702. errorCode: BatchGetAssetPropertyValueErrorCode;
  1703. /**
  1704. * The associated error message.
  1705. */
  1706. errorMessage: ErrorMessage;
  1707. /**
  1708. * The ID of the entry.
  1709. */
  1710. entryId: EntryId;
  1711. }
  1712. export interface BatchGetAssetPropertyValueErrorInfo {
  1713. /**
  1714. * The error code.
  1715. */
  1716. errorCode: BatchGetAssetPropertyValueErrorCode;
  1717. /**
  1718. * The date the error occurred, in Unix epoch time.
  1719. */
  1720. errorTimestamp: Timestamp;
  1721. }
  1722. export type BatchGetAssetPropertyValueHistoryEntries = BatchGetAssetPropertyValueHistoryEntry[];
  1723. export interface BatchGetAssetPropertyValueHistoryEntry {
  1724. /**
  1725. * The ID of the entry.
  1726. */
  1727. entryId: EntryId;
  1728. /**
  1729. * The ID of the asset in which the asset property was created.
  1730. */
  1731. assetId?: ID;
  1732. /**
  1733. * The ID of the asset property, in UUID format.
  1734. */
  1735. propertyId?: ID;
  1736. /**
  1737. * The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.
  1738. */
  1739. propertyAlias?: AssetPropertyAlias;
  1740. /**
  1741. * The exclusive start of the range from which to query historical data, expressed in seconds in Unix epoch time.
  1742. */
  1743. startDate?: Timestamp;
  1744. /**
  1745. * The inclusive end of the range from which to query historical data, expressed in seconds in Unix epoch time.
  1746. */
  1747. endDate?: Timestamp;
  1748. /**
  1749. * The quality by which to filter asset data.
  1750. */
  1751. qualities?: Qualities;
  1752. /**
  1753. * The chronological sorting order of the requested information. Default: ASCENDING
  1754. */
  1755. timeOrdering?: TimeOrdering;
  1756. }
  1757. export type BatchGetAssetPropertyValueHistoryErrorCode = "ResourceNotFoundException"|"InvalidRequestException"|"AccessDeniedException"|string;
  1758. export type BatchGetAssetPropertyValueHistoryErrorEntries = BatchGetAssetPropertyValueHistoryErrorEntry[];
  1759. export interface BatchGetAssetPropertyValueHistoryErrorEntry {
  1760. /**
  1761. * The error code.
  1762. */
  1763. errorCode: BatchGetAssetPropertyValueHistoryErrorCode;
  1764. /**
  1765. * The associated error message.
  1766. */
  1767. errorMessage: ErrorMessage;
  1768. /**
  1769. * The ID of the entry.
  1770. */
  1771. entryId: EntryId;
  1772. }
  1773. export interface BatchGetAssetPropertyValueHistoryErrorInfo {
  1774. /**
  1775. * The error code.
  1776. */
  1777. errorCode: BatchGetAssetPropertyValueHistoryErrorCode;
  1778. /**
  1779. * The date the error occurred, in Unix epoch time.
  1780. */
  1781. errorTimestamp: Timestamp;
  1782. }
  1783. export type BatchGetAssetPropertyValueHistoryMaxResults = number;
  1784. export interface BatchGetAssetPropertyValueHistoryRequest {
  1785. /**
  1786. * The list of asset property historical value entries for the batch get request. You can specify up to 16 entries per request.
  1787. */
  1788. entries: BatchGetAssetPropertyValueHistoryEntries;
  1789. /**
  1790. * The token to be used for the next set of paginated results.
  1791. */
  1792. nextToken?: NextToken;
  1793. /**
  1794. * The maximum number of results to return for each paginated request. A result set is returned in the two cases, whichever occurs first. The size of the result set is equal to 4 MB. The number of data points in the result set is equal to the value of maxResults. The maximum value of maxResults is 20000.
  1795. */
  1796. maxResults?: BatchGetAssetPropertyValueHistoryMaxResults;
  1797. }
  1798. export interface BatchGetAssetPropertyValueHistoryResponse {
  1799. /**
  1800. * A list of the errors (if any) associated with the batch request. Each error entry contains the entryId of the entry that failed.
  1801. */
  1802. errorEntries: BatchGetAssetPropertyValueHistoryErrorEntries;
  1803. /**
  1804. * A list of entries that were processed successfully by this batch request. Each success entry contains the entryId of the entry that succeeded and the latest query result.
  1805. */
  1806. successEntries: BatchGetAssetPropertyValueHistorySuccessEntries;
  1807. /**
  1808. * A list of entries that were not processed by this batch request. because these entries had been completely processed by previous paginated requests. Each skipped entry contains the entryId of the entry that skipped.
  1809. */
  1810. skippedEntries: BatchGetAssetPropertyValueHistorySkippedEntries;
  1811. /**
  1812. * The token for the next set of results, or null if there are no additional results.
  1813. */
  1814. nextToken?: NextToken;
  1815. }
  1816. export type BatchGetAssetPropertyValueHistorySkippedEntries = BatchGetAssetPropertyValueHistorySkippedEntry[];
  1817. export interface BatchGetAssetPropertyValueHistorySkippedEntry {
  1818. /**
  1819. * The ID of the entry.
  1820. */
  1821. entryId: EntryId;
  1822. /**
  1823. * The completion status of each entry that is associated with the BatchGetAssetPropertyValueHistory API.
  1824. */
  1825. completionStatus: BatchEntryCompletionStatus;
  1826. /**
  1827. * The error information, such as the error code and the timestamp.
  1828. */
  1829. errorInfo?: BatchGetAssetPropertyValueHistoryErrorInfo;
  1830. }
  1831. export type BatchGetAssetPropertyValueHistorySuccessEntries = BatchGetAssetPropertyValueHistorySuccessEntry[];
  1832. export interface BatchGetAssetPropertyValueHistorySuccessEntry {
  1833. /**
  1834. * The ID of the entry.
  1835. */
  1836. entryId: EntryId;
  1837. /**
  1838. * The requested historical values for the specified asset property.
  1839. */
  1840. assetPropertyValueHistory: AssetPropertyValueHistory;
  1841. }
  1842. export interface BatchGetAssetPropertyValueRequest {
  1843. /**
  1844. * The list of asset property value entries for the batch get request. You can specify up to 128 entries per request.
  1845. */
  1846. entries: BatchGetAssetPropertyValueEntries;
  1847. /**
  1848. * The token to be used for the next set of paginated results.
  1849. */
  1850. nextToken?: NextToken;
  1851. }
  1852. export interface BatchGetAssetPropertyValueResponse {
  1853. /**
  1854. * A list of the errors (if any) associated with the batch request. Each error entry contains the entryId of the entry that failed.
  1855. */
  1856. errorEntries: BatchGetAssetPropertyValueErrorEntries;
  1857. /**
  1858. * A list of entries that were processed successfully by this batch request. Each success entry contains the entryId of the entry that succeeded and the latest query result.
  1859. */
  1860. successEntries: BatchGetAssetPropertyValueSuccessEntries;
  1861. /**
  1862. * A list of entries that were not processed by this batch request. because these entries had been completely processed by previous paginated requests. Each skipped entry contains the entryId of the entry that skipped.
  1863. */
  1864. skippedEntries: BatchGetAssetPropertyValueSkippedEntries;
  1865. /**
  1866. * The token for the next set of results, or null if there are no additional results.
  1867. */
  1868. nextToken?: NextToken;
  1869. }
  1870. export type BatchGetAssetPropertyValueSkippedEntries = BatchGetAssetPropertyValueSkippedEntry[];
  1871. export interface BatchGetAssetPropertyValueSkippedEntry {
  1872. /**
  1873. * The ID of the entry.
  1874. */
  1875. entryId: EntryId;
  1876. /**
  1877. * The completion status of each entry that is associated with the BatchGetAssetPropertyValue request.
  1878. */
  1879. completionStatus: BatchEntryCompletionStatus;
  1880. /**
  1881. * The error information, such as the error code and the timestamp.
  1882. */
  1883. errorInfo?: BatchGetAssetPropertyValueErrorInfo;
  1884. }
  1885. export type BatchGetAssetPropertyValueSuccessEntries = BatchGetAssetPropertyValueSuccessEntry[];
  1886. export interface BatchGetAssetPropertyValueSuccessEntry {
  1887. /**
  1888. * The ID of the entry.
  1889. */
  1890. entryId: EntryId;
  1891. assetPropertyValue?: AssetPropertyValue;
  1892. }
  1893. export interface BatchPutAssetPropertyError {
  1894. /**
  1895. * The error code.
  1896. */
  1897. errorCode: BatchPutAssetPropertyValueErrorCode;
  1898. /**
  1899. * The associated error message.
  1900. */
  1901. errorMessage: ErrorMessage;
  1902. /**
  1903. * A list of timestamps for each error, if any.
  1904. */
  1905. timestamps: Timestamps;
  1906. }
  1907. export type BatchPutAssetPropertyErrorEntries = BatchPutAssetPropertyErrorEntry[];
  1908. export interface BatchPutAssetPropertyErrorEntry {
  1909. /**
  1910. * The ID of the failed entry.
  1911. */
  1912. entryId: EntryId;
  1913. /**
  1914. * The list of update property value errors.
  1915. */
  1916. errors: BatchPutAssetPropertyErrors;
  1917. }
  1918. export type BatchPutAssetPropertyErrors = BatchPutAssetPropertyError[];
  1919. export type BatchPutAssetPropertyValueErrorCode = "ResourceNotFoundException"|"InvalidRequestException"|"InternalFailureException"|"ServiceUnavailableException"|"ThrottlingException"|"LimitExceededException"|"ConflictingOperationException"|"TimestampOutOfRangeException"|"AccessDeniedException"|string;
  1920. export interface BatchPutAssetPropertyValueRequest {
  1921. /**
  1922. * The list of asset property value entries for the batch put request. You can specify up to 10 entries per request.
  1923. */
  1924. entries: PutAssetPropertyValueEntries;
  1925. }
  1926. export interface BatchPutAssetPropertyValueResponse {
  1927. /**
  1928. * A list of the errors (if any) associated with the batch put request. Each error entry contains the entryId of the entry that failed.
  1929. */
  1930. errorEntries: BatchPutAssetPropertyErrorEntries;
  1931. }
  1932. export type Bucket = string;
  1933. export type CapabilityConfiguration = string;
  1934. export type CapabilityNamespace = string;
  1935. export type CapabilitySyncStatus = "IN_SYNC"|"OUT_OF_SYNC"|"SYNC_FAILED"|"UNKNOWN"|string;
  1936. export type ClientToken = string;
  1937. export interface ColumnInfo {
  1938. /**
  1939. * The name of the column description.
  1940. */
  1941. name?: String;
  1942. /**
  1943. * The type of the column description.
  1944. */
  1945. type?: ColumnType;
  1946. }
  1947. export type ColumnName = "ALIAS"|"ASSET_ID"|"PROPERTY_ID"|"DATA_TYPE"|"TIMESTAMP_SECONDS"|"TIMESTAMP_NANO_OFFSET"|"QUALITY"|"VALUE"|string;
  1948. export type ColumnNames = ColumnName[];
  1949. export interface ColumnType {
  1950. /**
  1951. * The allowed data types that the column has as it's value.
  1952. */
  1953. scalarType?: ScalarType;
  1954. }
  1955. export type ColumnsList = ColumnInfo[];
  1956. export interface CompositeModelProperty {
  1957. /**
  1958. * The name of the property.
  1959. */
  1960. name: Name;
  1961. /**
  1962. * The type of the composite model that defines this property.
  1963. */
  1964. type: Name;
  1965. assetProperty: Property;
  1966. /**
  1967. * The ID of the composite model that contains the property.
  1968. */
  1969. id?: ID;
  1970. /**
  1971. * The external ID of the composite model that contains the property. For more information, see Using external IDs in the IoT SiteWise User Guide.
  1972. */
  1973. externalId?: ExternalId;
  1974. }
  1975. export interface CompositionDetails {
  1976. /**
  1977. * An array detailing the composition relationship for this composite model.
  1978. */
  1979. compositionRelationship?: CompositionRelationship;
  1980. }
  1981. export type CompositionRelationship = CompositionRelationshipItem[];
  1982. export interface CompositionRelationshipItem {
  1983. /**
  1984. * The ID of the component.
  1985. */
  1986. id?: ID;
  1987. }
  1988. export type CompositionRelationshipSummaries = CompositionRelationshipSummary[];
  1989. export interface CompositionRelationshipSummary {
  1990. /**
  1991. * The ID of the asset model, in UUID format.
  1992. */
  1993. assetModelId: ID;
  1994. /**
  1995. * The ID of a composite model on this asset model.
  1996. */
  1997. assetModelCompositeModelId: ID;
  1998. /**
  1999. * The composite model type. Valid values are AWS/ALARM, CUSTOM, or AWS/L4E_ANOMALY.
  2000. */
  2001. assetModelCompositeModelType: Name;
  2002. }
  2003. export type ComputeLocation = "EDGE"|"CLOUD"|string;
  2004. export interface ConfigurationErrorDetails {
  2005. /**
  2006. * The error code.
  2007. */
  2008. code: ErrorCode;
  2009. /**
  2010. * The error message.
  2011. */
  2012. message: ErrorMessage;
  2013. }
  2014. export type ConfigurationState = "ACTIVE"|"UPDATE_IN_PROGRESS"|"UPDATE_FAILED"|string;
  2015. export interface ConfigurationStatus {
  2016. /**
  2017. * The current state of the configuration.
  2018. */
  2019. state: ConfigurationState;
  2020. /**
  2021. * Contains associated error information, if any.
  2022. */
  2023. error?: ConfigurationErrorDetails;
  2024. }
  2025. export type CoreDeviceThingName = string;
  2026. export interface CreateAccessPolicyRequest {
  2027. /**
  2028. * The identity for this access policy. Choose an IAM Identity Center user, an IAM Identity Center group, or an IAM user.
  2029. */
  2030. accessPolicyIdentity: Identity;
  2031. /**
  2032. * The IoT SiteWise Monitor resource for this access policy. Choose either a portal or a project.
  2033. */
  2034. accessPolicyResource: Resource;
  2035. /**
  2036. * The permission level for this access policy. Note that a project ADMINISTRATOR is also known as a project owner.
  2037. */
  2038. accessPolicyPermission: Permission;
  2039. /**
  2040. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  2041. */
  2042. clientToken?: ClientToken;
  2043. /**
  2044. * A list of key-value pairs that contain metadata for the access policy. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
  2045. */
  2046. tags?: TagMap;
  2047. }
  2048. export interface CreateAccessPolicyResponse {
  2049. /**
  2050. * The ID of the access policy.
  2051. */
  2052. accessPolicyId: ID;
  2053. /**
  2054. * The ARN of the access policy, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}
  2055. */
  2056. accessPolicyArn: ARN;
  2057. }
  2058. export interface CreateAssetModelCompositeModelRequest {
  2059. /**
  2060. * The ID of the asset model this composite model is a part of.
  2061. */
  2062. assetModelId: CustomID;
  2063. /**
  2064. * The ID of the parent composite model in this asset model relationship.
  2065. */
  2066. parentAssetModelCompositeModelId?: CustomID;
  2067. /**
  2068. * An external ID to assign to the composite model. If the composite model is a derived composite model, or one nested inside a component model, you can only set the external ID using UpdateAssetModelCompositeModel and specifying the derived ID of the model or property from the created model it's a part of.
  2069. */
  2070. assetModelCompositeModelExternalId?: ExternalId;
  2071. /**
  2072. * The ID of the composite model. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.
  2073. */
  2074. assetModelCompositeModelId?: ID;
  2075. /**
  2076. * A description for the composite model.
  2077. */
  2078. assetModelCompositeModelDescription?: Description;
  2079. /**
  2080. * A unique, friendly name for the composite model.
  2081. */
  2082. assetModelCompositeModelName: Name;
  2083. /**
  2084. * The composite model type. Valid values are AWS/ALARM, CUSTOM, or AWS/L4E_ANOMALY.
  2085. */
  2086. assetModelCompositeModelType: Name;
  2087. /**
  2088. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  2089. */
  2090. clientToken?: ClientToken;
  2091. /**
  2092. * The ID of a composite model on this asset.
  2093. */
  2094. composedAssetModelId?: CustomID;
  2095. /**
  2096. * The property definitions of the composite model. For more information, see &lt;LINK&gt;. You can specify up to 200 properties per composite model. For more information, see Quotas in the IoT SiteWise User Guide.
  2097. */
  2098. assetModelCompositeModelProperties?: AssetModelPropertyDefinitions;
  2099. }
  2100. export interface CreateAssetModelCompositeModelResponse {
  2101. /**
  2102. * The ID of the composed asset model. You can use this ID when you call other IoT SiteWise APIs.
  2103. */
  2104. assetModelCompositeModelId: ID;
  2105. /**
  2106. * The path to the composite model listing the parent composite models.
  2107. */
  2108. assetModelCompositeModelPath: AssetModelCompositeModelPath;
  2109. assetModelStatus: AssetModelStatus;
  2110. }
  2111. export interface CreateAssetModelRequest {
  2112. /**
  2113. * A unique, friendly name for the asset model.
  2114. */
  2115. assetModelName: Name;
  2116. /**
  2117. * A description for the asset model.
  2118. */
  2119. assetModelDescription?: Description;
  2120. /**
  2121. * The property definitions of the asset model. For more information, see Asset properties in the IoT SiteWise User Guide. You can specify up to 200 properties per asset model. For more information, see Quotas in the IoT SiteWise User Guide.
  2122. */
  2123. assetModelProperties?: AssetModelPropertyDefinitions;
  2124. /**
  2125. * The hierarchy definitions of the asset model. Each hierarchy specifies an asset model whose assets can be children of any other assets created from this asset model. For more information, see Asset hierarchies in the IoT SiteWise User Guide. You can specify up to 10 hierarchies per asset model. For more information, see Quotas in the IoT SiteWise User Guide.
  2126. */
  2127. assetModelHierarchies?: AssetModelHierarchyDefinitions;
  2128. /**
  2129. * The composite models that are part of this asset model. It groups properties (such as attributes, measurements, transforms, and metrics) and child composite models that model parts of your industrial equipment. Each composite model has a type that defines the properties that the composite model supports. Use composite models to define alarms on this asset model. When creating custom composite models, you need to use CreateAssetModelCompositeModel. For more information, see &lt;LINK&gt;.
  2130. */
  2131. assetModelCompositeModels?: AssetModelCompositeModelDefinitions;
  2132. /**
  2133. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  2134. */
  2135. clientToken?: ClientToken;
  2136. /**
  2137. * A list of key-value pairs that contain metadata for the asset model. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
  2138. */
  2139. tags?: TagMap;
  2140. /**
  2141. * The ID to assign to the asset model, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.
  2142. */
  2143. assetModelId?: ID;
  2144. /**
  2145. * An external ID to assign to the asset model. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide.
  2146. */
  2147. assetModelExternalId?: ExternalId;
  2148. /**
  2149. * The type of asset model. ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model. COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
  2150. */
  2151. assetModelType?: AssetModelType;
  2152. }
  2153. export interface CreateAssetModelResponse {
  2154. /**
  2155. * The ID of the asset model, in UUID format. You can use this ID when you call other IoT SiteWise API operations.
  2156. */
  2157. assetModelId: ID;
  2158. /**
  2159. * The ARN of the asset model, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
  2160. */
  2161. assetModelArn: ARN;
  2162. /**
  2163. * The status of the asset model, which contains a state (CREATING after successfully calling this operation) and any error message.
  2164. */
  2165. assetModelStatus: AssetModelStatus;
  2166. }
  2167. export interface CreateAssetRequest {
  2168. /**
  2169. * A friendly name for the asset.
  2170. */
  2171. assetName: Name;
  2172. /**
  2173. * The ID of the asset model from which to create the asset. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  2174. */
  2175. assetModelId: CustomID;
  2176. /**
  2177. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  2178. */
  2179. clientToken?: ClientToken;
  2180. /**
  2181. * A list of key-value pairs that contain metadata for the asset. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
  2182. */
  2183. tags?: TagMap;
  2184. /**
  2185. * A description for the asset.
  2186. */
  2187. assetDescription?: Description;
  2188. /**
  2189. * The ID to assign to the asset, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.
  2190. */
  2191. assetId?: ID;
  2192. /**
  2193. * An external ID to assign to the asset. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide.
  2194. */
  2195. assetExternalId?: ExternalId;
  2196. }
  2197. export interface CreateAssetResponse {
  2198. /**
  2199. * The ID of the asset, in UUID format. This ID uniquely identifies the asset within IoT SiteWise and can be used with other IoT SiteWise API operations.
  2200. */
  2201. assetId: ID;
  2202. /**
  2203. * The ARN of the asset, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
  2204. */
  2205. assetArn: ARN;
  2206. /**
  2207. * The status of the asset, which contains a state (CREATING after successfully calling this operation) and any error message.
  2208. */
  2209. assetStatus: AssetStatus;
  2210. }
  2211. export interface CreateBulkImportJobRequest {
  2212. /**
  2213. * The unique name that helps identify the job request.
  2214. */
  2215. jobName: Name;
  2216. /**
  2217. * The ARN of the IAM role that allows IoT SiteWise to read Amazon S3 data.
  2218. */
  2219. jobRoleArn: ARN;
  2220. /**
  2221. * The files in the specified Amazon S3 bucket that contain your data.
  2222. */
  2223. files: Files;
  2224. /**
  2225. * The Amazon S3 destination where errors associated with the job creation request are saved.
  2226. */
  2227. errorReportLocation: ErrorReportLocation;
  2228. /**
  2229. * Contains the configuration information of a job, such as the file format used to save data in Amazon S3.
  2230. */
  2231. jobConfiguration: JobConfiguration;
  2232. /**
  2233. * If set to true, ingest new data into IoT SiteWise storage. Measurements with notifications, metrics and transforms are computed. If set to false, historical data is ingested into IoT SiteWise as is.
  2234. */
  2235. adaptiveIngestion?: AdaptiveIngestion;
  2236. /**
  2237. * If set to true, your data files is deleted from S3, after ingestion into IoT SiteWise storage.
  2238. */
  2239. deleteFilesAfterImport?: DeleteFilesAfterImport;
  2240. }
  2241. export interface CreateBulkImportJobResponse {
  2242. /**
  2243. * The ID of the job.
  2244. */
  2245. jobId: ID;
  2246. /**
  2247. * The unique name that helps identify the job request.
  2248. */
  2249. jobName: Name;
  2250. /**
  2251. * The status of the bulk import job can be one of following values: PENDING – IoT SiteWise is waiting for the current bulk import job to finish. CANCELLED – The bulk import job has been canceled. RUNNING – IoT SiteWise is processing your request to import your data from Amazon S3. COMPLETED – IoT SiteWise successfully completed your request to import data from Amazon S3. FAILED – IoT SiteWise couldn't process your request to import data from Amazon S3. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues. COMPLETED_WITH_FAILURES – IoT SiteWise completed your request to import data from Amazon S3 with errors. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues.
  2252. */
  2253. jobStatus: JobStatus;
  2254. }
  2255. export interface CreateDashboardRequest {
  2256. /**
  2257. * The ID of the project in which to create the dashboard.
  2258. */
  2259. projectId: ID;
  2260. /**
  2261. * A friendly name for the dashboard.
  2262. */
  2263. dashboardName: Name;
  2264. /**
  2265. * A description for the dashboard.
  2266. */
  2267. dashboardDescription?: Description;
  2268. /**
  2269. * The dashboard definition specified in a JSON literal. For detailed information, see Creating dashboards (CLI) in the IoT SiteWise User Guide.
  2270. */
  2271. dashboardDefinition: DashboardDefinition;
  2272. /**
  2273. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  2274. */
  2275. clientToken?: ClientToken;
  2276. /**
  2277. * A list of key-value pairs that contain metadata for the dashboard. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
  2278. */
  2279. tags?: TagMap;
  2280. }
  2281. export interface CreateDashboardResponse {
  2282. /**
  2283. * The ID of the dashboard.
  2284. */
  2285. dashboardId: ID;
  2286. /**
  2287. * The ARN of the dashboard, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId}
  2288. */
  2289. dashboardArn: ARN;
  2290. }
  2291. export interface CreateGatewayRequest {
  2292. /**
  2293. * A unique, friendly name for the gateway.
  2294. */
  2295. gatewayName: Name;
  2296. /**
  2297. * The gateway's platform. You can only specify one platform in a gateway.
  2298. */
  2299. gatewayPlatform: GatewayPlatform;
  2300. /**
  2301. * A list of key-value pairs that contain metadata for the gateway. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
  2302. */
  2303. tags?: TagMap;
  2304. }
  2305. export interface CreateGatewayResponse {
  2306. /**
  2307. * The ID of the gateway device. You can use this ID when you call other IoT SiteWise API operations.
  2308. */
  2309. gatewayId: ID;
  2310. /**
  2311. * The ARN of the gateway, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}
  2312. */
  2313. gatewayArn: ARN;
  2314. }
  2315. export interface CreatePortalRequest {
  2316. /**
  2317. * A friendly name for the portal.
  2318. */
  2319. portalName: Name;
  2320. /**
  2321. * A description for the portal.
  2322. */
  2323. portalDescription?: Description;
  2324. /**
  2325. * The Amazon Web Services administrator's contact email address.
  2326. */
  2327. portalContactEmail: Email;
  2328. /**
  2329. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  2330. */
  2331. clientToken?: ClientToken;
  2332. /**
  2333. * A logo image to display in the portal. Upload a square, high-resolution image. The image is displayed on a dark background.
  2334. */
  2335. portalLogoImageFile?: ImageFile;
  2336. /**
  2337. * The ARN of a service role that allows the portal's users to access your IoT SiteWise resources on your behalf. For more information, see Using service roles for IoT SiteWise Monitor in the IoT SiteWise User Guide.
  2338. */
  2339. roleArn: ARN;
  2340. /**
  2341. * A list of key-value pairs that contain metadata for the portal. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
  2342. */
  2343. tags?: TagMap;
  2344. /**
  2345. * The service to use to authenticate users to the portal. Choose from the following options: SSO – The portal uses IAM Identity Center to authenticate users and manage user permissions. Before you can create a portal that uses IAM Identity Center, you must enable IAM Identity Center. For more information, see Enabling IAM Identity Center in the IoT SiteWise User Guide. This option is only available in Amazon Web Services Regions other than the China Regions. IAM – The portal uses Identity and Access Management to authenticate users and manage user permissions. You can't change this value after you create a portal. Default: SSO
  2346. */
  2347. portalAuthMode?: AuthMode;
  2348. /**
  2349. * The email address that sends alarm notifications. If you use the IoT Events managed Lambda function to manage your emails, you must verify the sender email address in Amazon SES.
  2350. */
  2351. notificationSenderEmail?: Email;
  2352. /**
  2353. * Contains the configuration information of an alarm created in an IoT SiteWise Monitor portal. You can use the alarm to monitor an asset property and get notified when the asset property value is outside a specified range. For more information, see Monitoring with alarms in the IoT SiteWise Application Guide.
  2354. */
  2355. alarms?: Alarms;
  2356. }
  2357. export interface CreatePortalResponse {
  2358. /**
  2359. * The ID of the created portal.
  2360. */
  2361. portalId: ID;
  2362. /**
  2363. * The ARN of the portal, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:portal/${PortalId}
  2364. */
  2365. portalArn: ARN;
  2366. /**
  2367. * The URL for the IoT SiteWise Monitor portal. You can use this URL to access portals that use IAM Identity Center for authentication. For portals that use IAM for authentication, you must use the IoT SiteWise console to get a URL that you can use to access the portal.
  2368. */
  2369. portalStartUrl: Url;
  2370. /**
  2371. * The status of the portal, which contains a state (CREATING after successfully calling this operation) and any error message.
  2372. */
  2373. portalStatus: PortalStatus;
  2374. /**
  2375. * The associated IAM Identity Center application ID, if the portal uses IAM Identity Center.
  2376. */
  2377. ssoApplicationId: SSOApplicationId;
  2378. }
  2379. export interface CreateProjectRequest {
  2380. /**
  2381. * The ID of the portal in which to create the project.
  2382. */
  2383. portalId: ID;
  2384. /**
  2385. * A friendly name for the project.
  2386. */
  2387. projectName: Name;
  2388. /**
  2389. * A description for the project.
  2390. */
  2391. projectDescription?: Description;
  2392. /**
  2393. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  2394. */
  2395. clientToken?: ClientToken;
  2396. /**
  2397. * A list of key-value pairs that contain metadata for the project. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
  2398. */
  2399. tags?: TagMap;
  2400. }
  2401. export interface CreateProjectResponse {
  2402. /**
  2403. * The ID of the project.
  2404. */
  2405. projectId: ID;
  2406. /**
  2407. * The ARN of the project, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:project/${ProjectId}
  2408. */
  2409. projectArn: ARN;
  2410. }
  2411. export interface Csv {
  2412. /**
  2413. * The column names specified in the .csv file.
  2414. */
  2415. columnNames: ColumnNames;
  2416. }
  2417. export type CustomID = string;
  2418. export interface CustomerManagedS3Storage {
  2419. /**
  2420. * The ARN of the Amazon S3 object. For more information about how to find the ARN for an Amazon S3 object, see Amazon S3 resources in the Amazon Simple Storage Service User Guide.
  2421. */
  2422. s3ResourceArn: ARN;
  2423. /**
  2424. * The ARN of the Identity and Access Management role that allows IoT SiteWise to send data to Amazon S3.
  2425. */
  2426. roleArn: ARN;
  2427. }
  2428. export type DashboardDefinition = string;
  2429. export type DashboardSummaries = DashboardSummary[];
  2430. export interface DashboardSummary {
  2431. /**
  2432. * The ID of the dashboard.
  2433. */
  2434. id: ID;
  2435. /**
  2436. * The name of the dashboard
  2437. */
  2438. name: Name;
  2439. /**
  2440. * The dashboard's description.
  2441. */
  2442. description?: Description;
  2443. /**
  2444. * The date the dashboard was created, in Unix epoch time.
  2445. */
  2446. creationDate?: Timestamp;
  2447. /**
  2448. * The date the dashboard was last updated, in Unix epoch time.
  2449. */
  2450. lastUpdateDate?: Timestamp;
  2451. }
  2452. export interface Datum {
  2453. /**
  2454. * Indicates if the data point is a scalar value such as integer, string, double, or Boolean.
  2455. */
  2456. scalarValue?: ScalarValue;
  2457. /**
  2458. * Indicates if the data point is an array.
  2459. */
  2460. arrayValue?: DatumList;
  2461. /**
  2462. * Indicates if the data point is a row.
  2463. */
  2464. rowValue?: Row;
  2465. /**
  2466. * Indicates if the data point is null.
  2467. */
  2468. nullValue?: NullableBoolean;
  2469. }
  2470. export type DatumList = Datum[];
  2471. export type DefaultValue = string;
  2472. export interface DeleteAccessPolicyRequest {
  2473. /**
  2474. * The ID of the access policy to be deleted.
  2475. */
  2476. accessPolicyId: ID;
  2477. /**
  2478. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  2479. */
  2480. clientToken?: ClientToken;
  2481. }
  2482. export interface DeleteAccessPolicyResponse {
  2483. }
  2484. export interface DeleteAssetModelCompositeModelRequest {
  2485. /**
  2486. * The ID of the asset model, in UUID format.
  2487. */
  2488. assetModelId: CustomID;
  2489. /**
  2490. * The ID of a composite model on this asset model.
  2491. */
  2492. assetModelCompositeModelId: CustomID;
  2493. /**
  2494. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  2495. */
  2496. clientToken?: ClientToken;
  2497. }
  2498. export interface DeleteAssetModelCompositeModelResponse {
  2499. assetModelStatus: AssetModelStatus;
  2500. }
  2501. export interface DeleteAssetModelRequest {
  2502. /**
  2503. * The ID of the asset model to delete. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  2504. */
  2505. assetModelId: CustomID;
  2506. /**
  2507. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  2508. */
  2509. clientToken?: ClientToken;
  2510. }
  2511. export interface DeleteAssetModelResponse {
  2512. /**
  2513. * The status of the asset model, which contains a state (DELETING after successfully calling this operation) and any error message.
  2514. */
  2515. assetModelStatus: AssetModelStatus;
  2516. }
  2517. export interface DeleteAssetRequest {
  2518. /**
  2519. * The ID of the asset to delete. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  2520. */
  2521. assetId: CustomID;
  2522. /**
  2523. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  2524. */
  2525. clientToken?: ClientToken;
  2526. }
  2527. export interface DeleteAssetResponse {
  2528. /**
  2529. * The status of the asset, which contains a state (DELETING after successfully calling this operation) and any error message.
  2530. */
  2531. assetStatus: AssetStatus;
  2532. }
  2533. export interface DeleteDashboardRequest {
  2534. /**
  2535. * The ID of the dashboard to delete.
  2536. */
  2537. dashboardId: ID;
  2538. /**
  2539. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  2540. */
  2541. clientToken?: ClientToken;
  2542. }
  2543. export interface DeleteDashboardResponse {
  2544. }
  2545. export type DeleteFilesAfterImport = boolean;
  2546. export interface DeleteGatewayRequest {
  2547. /**
  2548. * The ID of the gateway to delete.
  2549. */
  2550. gatewayId: ID;
  2551. }
  2552. export interface DeletePortalRequest {
  2553. /**
  2554. * The ID of the portal to delete.
  2555. */
  2556. portalId: ID;
  2557. /**
  2558. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  2559. */
  2560. clientToken?: ClientToken;
  2561. }
  2562. export interface DeletePortalResponse {
  2563. /**
  2564. * The status of the portal, which contains a state (DELETING after successfully calling this operation) and any error message.
  2565. */
  2566. portalStatus: PortalStatus;
  2567. }
  2568. export interface DeleteProjectRequest {
  2569. /**
  2570. * The ID of the project.
  2571. */
  2572. projectId: ID;
  2573. /**
  2574. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  2575. */
  2576. clientToken?: ClientToken;
  2577. }
  2578. export interface DeleteProjectResponse {
  2579. }
  2580. export interface DeleteTimeSeriesRequest {
  2581. /**
  2582. * The alias that identifies the time series.
  2583. */
  2584. alias?: PropertyAlias;
  2585. /**
  2586. * The ID of the asset in which the asset property was created. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  2587. */
  2588. assetId?: CustomID;
  2589. /**
  2590. * The ID of the asset property. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  2591. */
  2592. propertyId?: CustomID;
  2593. /**
  2594. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  2595. */
  2596. clientToken?: ClientToken;
  2597. }
  2598. export interface DescribeAccessPolicyRequest {
  2599. /**
  2600. * The ID of the access policy.
  2601. */
  2602. accessPolicyId: ID;
  2603. }
  2604. export interface DescribeAccessPolicyResponse {
  2605. /**
  2606. * The ID of the access policy.
  2607. */
  2608. accessPolicyId: ID;
  2609. /**
  2610. * The ARN of the access policy, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}
  2611. */
  2612. accessPolicyArn: ARN;
  2613. /**
  2614. * The identity (IAM Identity Center user, IAM Identity Center group, or IAM user) to which this access policy applies.
  2615. */
  2616. accessPolicyIdentity: Identity;
  2617. /**
  2618. * The IoT SiteWise Monitor resource (portal or project) to which this access policy provides access.
  2619. */
  2620. accessPolicyResource: Resource;
  2621. /**
  2622. * The access policy permission. Note that a project ADMINISTRATOR is also known as a project owner.
  2623. */
  2624. accessPolicyPermission: Permission;
  2625. /**
  2626. * The date the access policy was created, in Unix epoch time.
  2627. */
  2628. accessPolicyCreationDate: Timestamp;
  2629. /**
  2630. * The date the access policy was last updated, in Unix epoch time.
  2631. */
  2632. accessPolicyLastUpdateDate: Timestamp;
  2633. }
  2634. export interface DescribeActionRequest {
  2635. /**
  2636. * The ID of the action.
  2637. */
  2638. actionId: ID;
  2639. }
  2640. export interface DescribeActionResponse {
  2641. /**
  2642. * The ID of the action.
  2643. */
  2644. actionId: ID;
  2645. /**
  2646. * The resource the action will be taken on.
  2647. */
  2648. targetResource: TargetResource;
  2649. /**
  2650. * The ID of the action definition.
  2651. */
  2652. actionDefinitionId: ID;
  2653. /**
  2654. * The JSON payload of the action.
  2655. */
  2656. actionPayload: ActionPayload;
  2657. /**
  2658. * The time the action was executed.
  2659. */
  2660. executionTime: Timestamp;
  2661. }
  2662. export interface DescribeAssetCompositeModelRequest {
  2663. /**
  2664. * The ID of the asset. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  2665. */
  2666. assetId: CustomID;
  2667. /**
  2668. * The ID of a composite model on this asset. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  2669. */
  2670. assetCompositeModelId: CustomID;
  2671. }
  2672. export interface DescribeAssetCompositeModelResponse {
  2673. /**
  2674. * The ID of the asset, in UUID format. This ID uniquely identifies the asset within IoT SiteWise and can be used with other IoT SiteWise APIs.
  2675. */
  2676. assetId: ID;
  2677. /**
  2678. * The ID of a composite model on this asset.
  2679. */
  2680. assetCompositeModelId: ID;
  2681. /**
  2682. * An external ID to assign to the asset model. If the composite model is a component-based composite model, or one nested inside a component model, you can only set the external ID using UpdateAssetModelCompositeModel and specifying the derived ID of the model or property from the created model it's a part of.
  2683. */
  2684. assetCompositeModelExternalId?: ExternalId;
  2685. /**
  2686. * The path to the composite model listing the parent composite models.
  2687. */
  2688. assetCompositeModelPath: AssetCompositeModelPath;
  2689. /**
  2690. * The unique, friendly name for the composite model.
  2691. */
  2692. assetCompositeModelName: Name;
  2693. /**
  2694. * A description for the composite model.
  2695. */
  2696. assetCompositeModelDescription: Description;
  2697. /**
  2698. * The composite model type. Valid values are AWS/ALARM, CUSTOM, or AWS/L4E_ANOMALY.
  2699. */
  2700. assetCompositeModelType: Name;
  2701. /**
  2702. * The property definitions of the composite model that was used to create the asset.
  2703. */
  2704. assetCompositeModelProperties: AssetProperties;
  2705. /**
  2706. * The list of composite model summaries.
  2707. */
  2708. assetCompositeModelSummaries: AssetCompositeModelSummaries;
  2709. /**
  2710. * The available actions for a composite model on this asset.
  2711. */
  2712. actionDefinitions?: ActionDefinitions;
  2713. }
  2714. export interface DescribeAssetModelCompositeModelRequest {
  2715. /**
  2716. * The ID of the asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  2717. */
  2718. assetModelId: CustomID;
  2719. /**
  2720. * The ID of a composite model on this asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  2721. */
  2722. assetModelCompositeModelId: CustomID;
  2723. }
  2724. export interface DescribeAssetModelCompositeModelResponse {
  2725. /**
  2726. * The ID of the asset model, in UUID format.
  2727. */
  2728. assetModelId: ID;
  2729. /**
  2730. * The ID of a composite model on this asset model.
  2731. */
  2732. assetModelCompositeModelId: ID;
  2733. /**
  2734. * The external ID of a composite model on this asset model.
  2735. */
  2736. assetModelCompositeModelExternalId?: ExternalId;
  2737. /**
  2738. * The path to the composite model listing the parent composite models.
  2739. */
  2740. assetModelCompositeModelPath: AssetModelCompositeModelPath;
  2741. /**
  2742. * The unique, friendly name for the composite model.
  2743. */
  2744. assetModelCompositeModelName: Name;
  2745. /**
  2746. * The description for the composite model.
  2747. */
  2748. assetModelCompositeModelDescription: Description;
  2749. /**
  2750. * The composite model type. Valid values are AWS/ALARM, CUSTOM, or AWS/L4E_ANOMALY.
  2751. */
  2752. assetModelCompositeModelType: Name;
  2753. /**
  2754. * The property definitions of the composite model.
  2755. */
  2756. assetModelCompositeModelProperties: AssetModelProperties;
  2757. /**
  2758. * Metadata for the composition relationship established by using composedAssetModelId in CreateAssetModelCompositeModel . For instance, an array detailing the path of the composition relationship for this composite model.
  2759. */
  2760. compositionDetails?: CompositionDetails;
  2761. /**
  2762. * The list of composite model summaries for the composite model.
  2763. */
  2764. assetModelCompositeModelSummaries: AssetModelCompositeModelSummaries;
  2765. /**
  2766. * The available actions for a composite model on this asset model.
  2767. */
  2768. actionDefinitions?: ActionDefinitions;
  2769. }
  2770. export interface DescribeAssetModelRequest {
  2771. /**
  2772. * The ID of the asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  2773. */
  2774. assetModelId: CustomID;
  2775. /**
  2776. * Whether or not to exclude asset model properties from the response.
  2777. */
  2778. excludeProperties?: ExcludeProperties;
  2779. }
  2780. export interface DescribeAssetModelResponse {
  2781. /**
  2782. * The ID of the asset model, in UUID format.
  2783. */
  2784. assetModelId: ID;
  2785. /**
  2786. * The ARN of the asset model, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
  2787. */
  2788. assetModelArn: ARN;
  2789. /**
  2790. * The name of the asset model.
  2791. */
  2792. assetModelName: Name;
  2793. /**
  2794. * The asset model's description.
  2795. */
  2796. assetModelDescription: Description;
  2797. /**
  2798. * The list of asset properties for the asset model. This object doesn't include properties that you define in composite models. You can find composite model properties in the assetModelCompositeModels object.
  2799. */
  2800. assetModelProperties: AssetModelProperties;
  2801. /**
  2802. * A list of asset model hierarchies that each contain a childAssetModelId and a hierarchyId (named id). A hierarchy specifies allowed parent/child asset relationships for an asset model.
  2803. */
  2804. assetModelHierarchies: AssetModelHierarchies;
  2805. /**
  2806. * The list of built-in composite models for the asset model, such as those with those of type AWS/ALARMS.
  2807. */
  2808. assetModelCompositeModels?: AssetModelCompositeModels;
  2809. /**
  2810. * The date the asset model was created, in Unix epoch time.
  2811. */
  2812. assetModelCreationDate: Timestamp;
  2813. /**
  2814. * The date the asset model was last updated, in Unix epoch time.
  2815. */
  2816. assetModelLastUpdateDate: Timestamp;
  2817. /**
  2818. * The current status of the asset model, which contains a state and any error message.
  2819. */
  2820. assetModelStatus: AssetModelStatus;
  2821. /**
  2822. * The type of asset model. ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model. COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
  2823. */
  2824. assetModelType?: AssetModelType;
  2825. /**
  2826. * The list of the immediate child custom composite model summaries for the asset model.
  2827. */
  2828. assetModelCompositeModelSummaries?: AssetModelCompositeModelSummaries;
  2829. /**
  2830. * The external ID of the asset model, if any.
  2831. */
  2832. assetModelExternalId?: ExternalId;
  2833. }
  2834. export interface DescribeAssetPropertyRequest {
  2835. /**
  2836. * The ID of the asset. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  2837. */
  2838. assetId: CustomID;
  2839. /**
  2840. * The ID of the asset property. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  2841. */
  2842. propertyId: CustomID;
  2843. }
  2844. export interface DescribeAssetPropertyResponse {
  2845. /**
  2846. * The ID of the asset, in UUID format.
  2847. */
  2848. assetId: ID;
  2849. /**
  2850. * The name of the asset.
  2851. */
  2852. assetName: Name;
  2853. /**
  2854. * The ID of the asset model, in UUID format.
  2855. */
  2856. assetModelId: ID;
  2857. /**
  2858. * The asset property's definition, alias, and notification state. This response includes this object for normal asset properties. If you describe an asset property in a composite model, this response includes the asset property information in compositeModel.
  2859. */
  2860. assetProperty?: Property;
  2861. /**
  2862. * The composite model that declares this asset property, if this asset property exists in a composite model.
  2863. */
  2864. compositeModel?: CompositeModelProperty;
  2865. /**
  2866. * The external ID of the asset. For more information, see Using external IDs in the IoT SiteWise User Guide.
  2867. */
  2868. assetExternalId?: ExternalId;
  2869. }
  2870. export interface DescribeAssetRequest {
  2871. /**
  2872. * The ID of the asset. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  2873. */
  2874. assetId: CustomID;
  2875. /**
  2876. * Whether or not to exclude asset properties from the response.
  2877. */
  2878. excludeProperties?: ExcludeProperties;
  2879. }
  2880. export interface DescribeAssetResponse {
  2881. /**
  2882. * The ID of the asset, in UUID format.
  2883. */
  2884. assetId: ID;
  2885. /**
  2886. * The ARN of the asset, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
  2887. */
  2888. assetArn: ARN;
  2889. /**
  2890. * The name of the asset.
  2891. */
  2892. assetName: Name;
  2893. /**
  2894. * The ID of the asset model that was used to create the asset.
  2895. */
  2896. assetModelId: ID;
  2897. /**
  2898. * The list of asset properties for the asset. This object doesn't include properties that you define in composite models. You can find composite model properties in the assetCompositeModels object.
  2899. */
  2900. assetProperties: AssetProperties;
  2901. /**
  2902. * A list of asset hierarchies that each contain a hierarchyId. A hierarchy specifies allowed parent/child asset relationships.
  2903. */
  2904. assetHierarchies: AssetHierarchies;
  2905. /**
  2906. * The composite models for the asset.
  2907. */
  2908. assetCompositeModels?: AssetCompositeModels;
  2909. /**
  2910. * The date the asset was created, in Unix epoch time.
  2911. */
  2912. assetCreationDate: Timestamp;
  2913. /**
  2914. * The date the asset was last updated, in Unix epoch time.
  2915. */
  2916. assetLastUpdateDate: Timestamp;
  2917. /**
  2918. * The current status of the asset, which contains a state and any error message.
  2919. */
  2920. assetStatus: AssetStatus;
  2921. /**
  2922. * A description for the asset.
  2923. */
  2924. assetDescription?: Description;
  2925. /**
  2926. * The list of the immediate child custom composite model summaries for the asset.
  2927. */
  2928. assetCompositeModelSummaries?: AssetCompositeModelSummaries;
  2929. /**
  2930. * The external ID of the asset, if any.
  2931. */
  2932. assetExternalId?: ExternalId;
  2933. }
  2934. export interface DescribeBulkImportJobRequest {
  2935. /**
  2936. * The ID of the job.
  2937. */
  2938. jobId: ID;
  2939. }
  2940. export interface DescribeBulkImportJobResponse {
  2941. /**
  2942. * The ID of the job.
  2943. */
  2944. jobId: ID;
  2945. /**
  2946. * The unique name that helps identify the job request.
  2947. */
  2948. jobName: Name;
  2949. /**
  2950. * The status of the bulk import job can be one of following values: PENDING – IoT SiteWise is waiting for the current bulk import job to finish. CANCELLED – The bulk import job has been canceled. RUNNING – IoT SiteWise is processing your request to import your data from Amazon S3. COMPLETED – IoT SiteWise successfully completed your request to import data from Amazon S3. FAILED – IoT SiteWise couldn't process your request to import data from Amazon S3. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues. COMPLETED_WITH_FAILURES – IoT SiteWise completed your request to import data from Amazon S3 with errors. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues.
  2951. */
  2952. jobStatus: JobStatus;
  2953. /**
  2954. * The ARN of the IAM role that allows IoT SiteWise to read Amazon S3 data.
  2955. */
  2956. jobRoleArn: ARN;
  2957. /**
  2958. * The files in the specified Amazon S3 bucket that contain your data.
  2959. */
  2960. files: Files;
  2961. /**
  2962. * The Amazon S3 destination where errors associated with the job creation request are saved.
  2963. */
  2964. errorReportLocation: ErrorReportLocation;
  2965. /**
  2966. * Contains the configuration information of a job, such as the file format used to save data in Amazon S3.
  2967. */
  2968. jobConfiguration: JobConfiguration;
  2969. /**
  2970. * The date the job was created, in Unix epoch TIME.
  2971. */
  2972. jobCreationDate: Timestamp;
  2973. /**
  2974. * The date the job was last updated, in Unix epoch time.
  2975. */
  2976. jobLastUpdateDate: Timestamp;
  2977. /**
  2978. * If set to true, ingest new data into IoT SiteWise storage. Measurements with notifications, metrics and transforms are computed. If set to false, historical data is ingested into IoT SiteWise as is.
  2979. */
  2980. adaptiveIngestion?: AdaptiveIngestion;
  2981. /**
  2982. * If set to true, your data files is deleted from S3, after ingestion into IoT SiteWise storage.
  2983. */
  2984. deleteFilesAfterImport?: DeleteFilesAfterImport;
  2985. }
  2986. export interface DescribeDashboardRequest {
  2987. /**
  2988. * The ID of the dashboard.
  2989. */
  2990. dashboardId: ID;
  2991. }
  2992. export interface DescribeDashboardResponse {
  2993. /**
  2994. * The ID of the dashboard.
  2995. */
  2996. dashboardId: ID;
  2997. /**
  2998. * The ARN of the dashboard, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId}
  2999. */
  3000. dashboardArn: ARN;
  3001. /**
  3002. * The name of the dashboard.
  3003. */
  3004. dashboardName: Name;
  3005. /**
  3006. * The ID of the project that the dashboard is in.
  3007. */
  3008. projectId: ID;
  3009. /**
  3010. * The dashboard's description.
  3011. */
  3012. dashboardDescription?: Description;
  3013. /**
  3014. * The dashboard's definition JSON literal. For detailed information, see Creating dashboards (CLI) in the IoT SiteWise User Guide.
  3015. */
  3016. dashboardDefinition: DashboardDefinition;
  3017. /**
  3018. * The date the dashboard was created, in Unix epoch time.
  3019. */
  3020. dashboardCreationDate: Timestamp;
  3021. /**
  3022. * The date the dashboard was last updated, in Unix epoch time.
  3023. */
  3024. dashboardLastUpdateDate: Timestamp;
  3025. }
  3026. export interface DescribeDefaultEncryptionConfigurationRequest {
  3027. }
  3028. export interface DescribeDefaultEncryptionConfigurationResponse {
  3029. /**
  3030. * The type of encryption used for the encryption configuration.
  3031. */
  3032. encryptionType: EncryptionType;
  3033. /**
  3034. * The key ARN of the customer managed key used for KMS encryption if you use KMS_BASED_ENCRYPTION.
  3035. */
  3036. kmsKeyArn?: ARN;
  3037. /**
  3038. * The status of the account configuration. This contains the ConfigurationState. If there's an error, it also contains the ErrorDetails.
  3039. */
  3040. configurationStatus: ConfigurationStatus;
  3041. }
  3042. export interface DescribeGatewayCapabilityConfigurationRequest {
  3043. /**
  3044. * The ID of the gateway that defines the capability configuration.
  3045. */
  3046. gatewayId: ID;
  3047. /**
  3048. * The namespace of the capability configuration. For example, if you configure OPC-UA sources from the IoT SiteWise console, your OPC-UA capability configuration has the namespace iotsitewise:opcuacollector:version, where version is a number such as 1.
  3049. */
  3050. capabilityNamespace: CapabilityNamespace;
  3051. }
  3052. export interface DescribeGatewayCapabilityConfigurationResponse {
  3053. /**
  3054. * The ID of the gateway that defines the capability configuration.
  3055. */
  3056. gatewayId: ID;
  3057. /**
  3058. * The namespace of the gateway capability.
  3059. */
  3060. capabilityNamespace: CapabilityNamespace;
  3061. /**
  3062. * The JSON document that defines the gateway capability's configuration. For more information, see Configuring data sources (CLI) in the IoT SiteWise User Guide.
  3063. */
  3064. capabilityConfiguration: CapabilityConfiguration;
  3065. /**
  3066. * The synchronization status of the capability configuration. The sync status can be one of the following: IN_SYNC – The gateway is running the capability configuration. OUT_OF_SYNC – The gateway hasn't received the capability configuration. SYNC_FAILED – The gateway rejected the capability configuration.
  3067. */
  3068. capabilitySyncStatus: CapabilitySyncStatus;
  3069. }
  3070. export interface DescribeGatewayRequest {
  3071. /**
  3072. * The ID of the gateway device.
  3073. */
  3074. gatewayId: ID;
  3075. }
  3076. export interface DescribeGatewayResponse {
  3077. /**
  3078. * The ID of the gateway device.
  3079. */
  3080. gatewayId: ID;
  3081. /**
  3082. * The name of the gateway.
  3083. */
  3084. gatewayName: Name;
  3085. /**
  3086. * The ARN of the gateway, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}
  3087. */
  3088. gatewayArn: ARN;
  3089. /**
  3090. * The gateway's platform.
  3091. */
  3092. gatewayPlatform?: GatewayPlatform;
  3093. /**
  3094. * A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration's definition, use DescribeGatewayCapabilityConfiguration.
  3095. */
  3096. gatewayCapabilitySummaries: GatewayCapabilitySummaries;
  3097. /**
  3098. * The date the gateway was created, in Unix epoch time.
  3099. */
  3100. creationDate: Timestamp;
  3101. /**
  3102. * The date the gateway was last updated, in Unix epoch time.
  3103. */
  3104. lastUpdateDate: Timestamp;
  3105. }
  3106. export interface DescribeLoggingOptionsRequest {
  3107. }
  3108. export interface DescribeLoggingOptionsResponse {
  3109. /**
  3110. * The current logging options.
  3111. */
  3112. loggingOptions: LoggingOptions;
  3113. }
  3114. export interface DescribePortalRequest {
  3115. /**
  3116. * The ID of the portal.
  3117. */
  3118. portalId: ID;
  3119. }
  3120. export interface DescribePortalResponse {
  3121. /**
  3122. * The ID of the portal.
  3123. */
  3124. portalId: ID;
  3125. /**
  3126. * The ARN of the portal, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:portal/${PortalId}
  3127. */
  3128. portalArn: ARN;
  3129. /**
  3130. * The name of the portal.
  3131. */
  3132. portalName: Name;
  3133. /**
  3134. * The portal's description.
  3135. */
  3136. portalDescription?: Description;
  3137. /**
  3138. * The IAM Identity Center application generated client ID (used with IAM Identity Center API operations). IoT SiteWise includes portalClientId for only portals that use IAM Identity Center to authenticate users.
  3139. */
  3140. portalClientId: PortalClientId;
  3141. /**
  3142. * The URL for the IoT SiteWise Monitor portal. You can use this URL to access portals that use IAM Identity Center for authentication. For portals that use IAM for authentication, you must use the IoT SiteWise console to get a URL that you can use to access the portal.
  3143. */
  3144. portalStartUrl: Url;
  3145. /**
  3146. * The Amazon Web Services administrator's contact email address.
  3147. */
  3148. portalContactEmail: Email;
  3149. /**
  3150. * The current status of the portal, which contains a state and any error message.
  3151. */
  3152. portalStatus: PortalStatus;
  3153. /**
  3154. * The date the portal was created, in Unix epoch time.
  3155. */
  3156. portalCreationDate: Timestamp;
  3157. /**
  3158. * The date the portal was last updated, in Unix epoch time.
  3159. */
  3160. portalLastUpdateDate: Timestamp;
  3161. /**
  3162. * The portal's logo image, which is available at a URL.
  3163. */
  3164. portalLogoImageLocation?: ImageLocation;
  3165. /**
  3166. * The ARN of the service role that allows the portal's users to access your IoT SiteWise resources on your behalf. For more information, see Using service roles for IoT SiteWise Monitor in the IoT SiteWise User Guide.
  3167. */
  3168. roleArn?: ARN;
  3169. /**
  3170. * The service to use to authenticate users to the portal.
  3171. */
  3172. portalAuthMode?: AuthMode;
  3173. /**
  3174. * The email address that sends alarm notifications.
  3175. */
  3176. notificationSenderEmail?: Email;
  3177. /**
  3178. * Contains the configuration information of an alarm created in an IoT SiteWise Monitor portal.
  3179. */
  3180. alarms?: Alarms;
  3181. }
  3182. export interface DescribeProjectRequest {
  3183. /**
  3184. * The ID of the project.
  3185. */
  3186. projectId: ID;
  3187. }
  3188. export interface DescribeProjectResponse {
  3189. /**
  3190. * The ID of the project.
  3191. */
  3192. projectId: ID;
  3193. /**
  3194. * The ARN of the project, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:project/${ProjectId}
  3195. */
  3196. projectArn: ARN;
  3197. /**
  3198. * The name of the project.
  3199. */
  3200. projectName: Name;
  3201. /**
  3202. * The ID of the portal that the project is in.
  3203. */
  3204. portalId: ID;
  3205. /**
  3206. * The project's description.
  3207. */
  3208. projectDescription?: Description;
  3209. /**
  3210. * The date the project was created, in Unix epoch time.
  3211. */
  3212. projectCreationDate: Timestamp;
  3213. /**
  3214. * The date the project was last updated, in Unix epoch time.
  3215. */
  3216. projectLastUpdateDate: Timestamp;
  3217. }
  3218. export interface DescribeStorageConfigurationRequest {
  3219. }
  3220. export interface DescribeStorageConfigurationResponse {
  3221. /**
  3222. * The storage tier that you specified for your data. The storageType parameter can be one of the following values: SITEWISE_DEFAULT_STORAGE – IoT SiteWise saves your data into the hot tier. The hot tier is a service-managed database. MULTI_LAYER_STORAGE – IoT SiteWise saves your data in both the cold tier and the hot tier. The cold tier is a customer-managed Amazon S3 bucket.
  3223. */
  3224. storageType: StorageType;
  3225. /**
  3226. * Contains information about the storage destination.
  3227. */
  3228. multiLayerStorage?: MultiLayerStorage;
  3229. /**
  3230. * Contains the storage configuration for time series (data streams) that aren't associated with asset properties. The disassociatedDataStorage can be one of the following values: ENABLED – IoT SiteWise accepts time series that aren't associated with asset properties. After the disassociatedDataStorage is enabled, you can't disable it. DISABLED – IoT SiteWise doesn't accept time series (data streams) that aren't associated with asset properties. For more information, see Data streams in the IoT SiteWise User Guide.
  3231. */
  3232. disassociatedDataStorage?: DisassociatedDataStorageState;
  3233. /**
  3234. * The number of days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.
  3235. */
  3236. retentionPeriod?: RetentionPeriod;
  3237. configurationStatus: ConfigurationStatus;
  3238. /**
  3239. * The date the storage configuration was last updated, in Unix epoch time.
  3240. */
  3241. lastUpdateDate?: Timestamp;
  3242. /**
  3243. * A service managed storage tier optimized for analytical queries. It stores periodically uploaded, buffered and historical data ingested with the CreaeBulkImportJob API.
  3244. */
  3245. warmTier?: WarmTierState;
  3246. /**
  3247. * Set this period to specify how long your data is stored in the warm tier before it is deleted. You can set this only if cold tier is enabled.
  3248. */
  3249. warmTierRetentionPeriod?: WarmTierRetentionPeriod;
  3250. }
  3251. export interface DescribeTimeSeriesRequest {
  3252. /**
  3253. * The alias that identifies the time series.
  3254. */
  3255. alias?: PropertyAlias;
  3256. /**
  3257. * The ID of the asset in which the asset property was created. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  3258. */
  3259. assetId?: CustomID;
  3260. /**
  3261. * The ID of the asset property. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  3262. */
  3263. propertyId?: CustomID;
  3264. }
  3265. export interface DescribeTimeSeriesResponse {
  3266. /**
  3267. * The ID of the asset in which the asset property was created.
  3268. */
  3269. assetId?: ID;
  3270. /**
  3271. * The ID of the asset property, in UUID format.
  3272. */
  3273. propertyId?: ID;
  3274. /**
  3275. * The alias that identifies the time series.
  3276. */
  3277. alias?: PropertyAlias;
  3278. /**
  3279. * The ID of the time series.
  3280. */
  3281. timeSeriesId: TimeSeriesId;
  3282. /**
  3283. * The data type of the time series. If you specify STRUCT, you must also specify dataTypeSpec to identify the type of the structure for this time series.
  3284. */
  3285. dataType: PropertyDataType;
  3286. /**
  3287. * The data type of the structure for this time series. This parameter is required for time series that have the STRUCT data type. The options for this parameter depend on the type of the composite model in which you created the asset property that is associated with your time series. Use AWS/ALARM_STATE for alarm state in alarm composite models.
  3288. */
  3289. dataTypeSpec?: Name;
  3290. /**
  3291. * The date that the time series was created, in Unix epoch time.
  3292. */
  3293. timeSeriesCreationDate: Timestamp;
  3294. /**
  3295. * The date that the time series was last updated, in Unix epoch time.
  3296. */
  3297. timeSeriesLastUpdateDate: Timestamp;
  3298. /**
  3299. * The ARN of the time series, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:time-series/${TimeSeriesId}
  3300. */
  3301. timeSeriesArn: ARN;
  3302. }
  3303. export type Description = string;
  3304. export interface DetailedError {
  3305. /**
  3306. * The error code.
  3307. */
  3308. code: DetailedErrorCode;
  3309. /**
  3310. * The error message.
  3311. */
  3312. message: DetailedErrorMessage;
  3313. }
  3314. export type DetailedErrorCode = "INCOMPATIBLE_COMPUTE_LOCATION"|"INCOMPATIBLE_FORWARDING_CONFIGURATION"|string;
  3315. export type DetailedErrorMessage = string;
  3316. export type DetailedErrors = DetailedError[];
  3317. export interface DisassociateAssetsRequest {
  3318. /**
  3319. * The ID of the parent asset from which to disassociate the child asset. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  3320. */
  3321. assetId: CustomID;
  3322. /**
  3323. * The ID of a hierarchy in the parent asset's model. (This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.) Hierarchies allow different groupings of assets to be formed that all come from the same asset model. You can use the hierarchy ID to identify the correct asset to disassociate. For more information, see Asset hierarchies in the IoT SiteWise User Guide.
  3324. */
  3325. hierarchyId: CustomID;
  3326. /**
  3327. * The ID of the child asset to disassociate. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  3328. */
  3329. childAssetId: CustomID;
  3330. /**
  3331. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  3332. */
  3333. clientToken?: ClientToken;
  3334. }
  3335. export interface DisassociateTimeSeriesFromAssetPropertyRequest {
  3336. /**
  3337. * The alias that identifies the time series.
  3338. */
  3339. alias: PropertyAlias;
  3340. /**
  3341. * The ID of the asset in which the asset property was created. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  3342. */
  3343. assetId: CustomID;
  3344. /**
  3345. * The ID of the asset property. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  3346. */
  3347. propertyId: CustomID;
  3348. /**
  3349. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  3350. */
  3351. clientToken?: ClientToken;
  3352. }
  3353. export type DisassociatedDataStorageState = "ENABLED"|"DISABLED"|string;
  3354. export type Email = string;
  3355. export type EncryptionType = "SITEWISE_DEFAULT_ENCRYPTION"|"KMS_BASED_ENCRYPTION"|string;
  3356. export type EntryId = string;
  3357. export type ErrorCode = "VALIDATION_ERROR"|"INTERNAL_FAILURE"|string;
  3358. export interface ErrorDetails {
  3359. /**
  3360. * The error code.
  3361. */
  3362. code: ErrorCode;
  3363. /**
  3364. * The error message.
  3365. */
  3366. message: ErrorMessage;
  3367. /**
  3368. * A list of detailed errors.
  3369. */
  3370. details?: DetailedErrors;
  3371. }
  3372. export type ErrorMessage = string;
  3373. export interface ErrorReportLocation {
  3374. /**
  3375. * The name of the Amazon S3 bucket to which errors associated with the bulk import job are sent.
  3376. */
  3377. bucket: Bucket;
  3378. /**
  3379. * Amazon S3 uses the prefix as a folder name to organize data in the bucket. Each Amazon S3 object has a key that is its unique identifier in the bucket. Each object in a bucket has exactly one key. The prefix must end with a forward slash (/). For more information, see Organizing objects using prefixes in the Amazon Simple Storage Service User Guide.
  3380. */
  3381. prefix: String;
  3382. }
  3383. export type ExcludeProperties = boolean;
  3384. export interface ExecuteActionRequest {
  3385. /**
  3386. * The resource the action will be taken on.
  3387. */
  3388. targetResource: TargetResource;
  3389. /**
  3390. * The ID of the action definition.
  3391. */
  3392. actionDefinitionId: ID;
  3393. /**
  3394. * The JSON payload of the action.
  3395. */
  3396. actionPayload: ActionPayload;
  3397. /**
  3398. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  3399. */
  3400. clientToken?: ClientToken;
  3401. }
  3402. export interface ExecuteActionResponse {
  3403. /**
  3404. * The ID of the action.
  3405. */
  3406. actionId: ID;
  3407. }
  3408. export type ExecuteQueryMaxResults = number;
  3409. export type ExecuteQueryNextToken = string;
  3410. export interface ExecuteQueryRequest {
  3411. /**
  3412. * The IoT SiteWise query statement.
  3413. */
  3414. queryStatement: QueryStatement;
  3415. /**
  3416. * The string that specifies the next page of results.
  3417. */
  3418. nextToken?: ExecuteQueryNextToken;
  3419. /**
  3420. * The maximum number of results to return at one time. The default is 25.
  3421. */
  3422. maxResults?: ExecuteQueryMaxResults;
  3423. }
  3424. export interface ExecuteQueryResponse {
  3425. /**
  3426. * Represents a single column in the query results.
  3427. */
  3428. columns?: ColumnsList;
  3429. /**
  3430. * Represents a single row in the query results.
  3431. */
  3432. rows?: Rows;
  3433. /**
  3434. * The string that specifies the next page of results.
  3435. */
  3436. nextToken?: ExecuteQueryNextToken;
  3437. }
  3438. export type Expression = string;
  3439. export interface ExpressionVariable {
  3440. /**
  3441. * The friendly name of the variable to be used in the expression.
  3442. */
  3443. name: VariableName;
  3444. /**
  3445. * The variable that identifies an asset property from which to use values.
  3446. */
  3447. value: VariableValue;
  3448. }
  3449. export type ExpressionVariables = ExpressionVariable[];
  3450. export type ExternalId = string;
  3451. export interface File {
  3452. /**
  3453. * The name of the Amazon S3 bucket from which data is imported.
  3454. */
  3455. bucket: Bucket;
  3456. /**
  3457. * The key of the Amazon S3 object that contains your data. Each object has a key that is a unique identifier. Each object has exactly one key.
  3458. */
  3459. key: String;
  3460. /**
  3461. * The version ID to identify a specific version of the Amazon S3 object that contains your data.
  3462. */
  3463. versionId?: String;
  3464. }
  3465. export interface FileFormat {
  3466. /**
  3467. * The file is in .CSV format.
  3468. */
  3469. csv?: Csv;
  3470. /**
  3471. * The file is in parquet format.
  3472. */
  3473. parquet?: Parquet;
  3474. }
  3475. export type Files = File[];
  3476. export interface ForwardingConfig {
  3477. /**
  3478. * The forwarding state for the given property.
  3479. */
  3480. state: ForwardingConfigState;
  3481. }
  3482. export type ForwardingConfigState = "DISABLED"|"ENABLED"|string;
  3483. export type GatewayCapabilitySummaries = GatewayCapabilitySummary[];
  3484. export interface GatewayCapabilitySummary {
  3485. /**
  3486. * The namespace of the capability configuration. For example, if you configure OPC-UA sources from the IoT SiteWise console, your OPC-UA capability configuration has the namespace iotsitewise:opcuacollector:version, where version is a number such as 1.
  3487. */
  3488. capabilityNamespace: CapabilityNamespace;
  3489. /**
  3490. * The synchronization status of the capability configuration. The sync status can be one of the following: IN_SYNC – The gateway is running the capability configuration. OUT_OF_SYNC – The gateway hasn't received the capability configuration. SYNC_FAILED – The gateway rejected the capability configuration.
  3491. */
  3492. capabilitySyncStatus: CapabilitySyncStatus;
  3493. }
  3494. export interface GatewayPlatform {
  3495. /**
  3496. * A gateway that runs on IoT Greengrass.
  3497. */
  3498. greengrass?: Greengrass;
  3499. /**
  3500. * A gateway that runs on IoT Greengrass V2.
  3501. */
  3502. greengrassV2?: GreengrassV2;
  3503. }
  3504. export type GatewaySummaries = GatewaySummary[];
  3505. export interface GatewaySummary {
  3506. /**
  3507. * The ID of the gateway device.
  3508. */
  3509. gatewayId: ID;
  3510. /**
  3511. * The name of the asset.
  3512. */
  3513. gatewayName: Name;
  3514. gatewayPlatform?: GatewayPlatform;
  3515. /**
  3516. * A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration's definition, use DescribeGatewayCapabilityConfiguration.
  3517. */
  3518. gatewayCapabilitySummaries?: GatewayCapabilitySummaries;
  3519. /**
  3520. * The date the gateway was created, in Unix epoch time.
  3521. */
  3522. creationDate: Timestamp;
  3523. /**
  3524. * The date the gateway was last updated, in Unix epoch time.
  3525. */
  3526. lastUpdateDate: Timestamp;
  3527. }
  3528. export interface GetAssetPropertyAggregatesRequest {
  3529. /**
  3530. * The ID of the asset, in UUID format.
  3531. */
  3532. assetId?: ID;
  3533. /**
  3534. * The ID of the asset property, in UUID format.
  3535. */
  3536. propertyId?: ID;
  3537. /**
  3538. * The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.
  3539. */
  3540. propertyAlias?: AssetPropertyAlias;
  3541. /**
  3542. * The data aggregating function.
  3543. */
  3544. aggregateTypes: AggregateTypes;
  3545. /**
  3546. * The time interval over which to aggregate data.
  3547. */
  3548. resolution: Resolution;
  3549. /**
  3550. * The quality by which to filter asset data.
  3551. */
  3552. qualities?: Qualities;
  3553. /**
  3554. * The exclusive start of the range from which to query historical data, expressed in seconds in Unix epoch time.
  3555. */
  3556. startDate: Timestamp;
  3557. /**
  3558. * The inclusive end of the range from which to query historical data, expressed in seconds in Unix epoch time.
  3559. */
  3560. endDate: Timestamp;
  3561. /**
  3562. * The chronological sorting order of the requested information. Default: ASCENDING
  3563. */
  3564. timeOrdering?: TimeOrdering;
  3565. /**
  3566. * The token to be used for the next set of paginated results.
  3567. */
  3568. nextToken?: NextToken;
  3569. /**
  3570. * The maximum number of results to return for each paginated request. A result set is returned in the two cases, whichever occurs first. The size of the result set is equal to 1 MB. The number of data points in the result set is equal to the value of maxResults. The maximum value of maxResults is 2500.
  3571. */
  3572. maxResults?: GetAssetPropertyValueAggregatesMaxResults;
  3573. }
  3574. export interface GetAssetPropertyAggregatesResponse {
  3575. /**
  3576. * The requested aggregated values.
  3577. */
  3578. aggregatedValues: AggregatedValues;
  3579. /**
  3580. * The token for the next set of results, or null if there are no additional results.
  3581. */
  3582. nextToken?: NextToken;
  3583. }
  3584. export type GetAssetPropertyValueAggregatesMaxResults = number;
  3585. export type GetAssetPropertyValueHistoryMaxResults = number;
  3586. export interface GetAssetPropertyValueHistoryRequest {
  3587. /**
  3588. * The ID of the asset, in UUID format.
  3589. */
  3590. assetId?: ID;
  3591. /**
  3592. * The ID of the asset property, in UUID format.
  3593. */
  3594. propertyId?: ID;
  3595. /**
  3596. * The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.
  3597. */
  3598. propertyAlias?: AssetPropertyAlias;
  3599. /**
  3600. * The exclusive start of the range from which to query historical data, expressed in seconds in Unix epoch time.
  3601. */
  3602. startDate?: Timestamp;
  3603. /**
  3604. * The inclusive end of the range from which to query historical data, expressed in seconds in Unix epoch time.
  3605. */
  3606. endDate?: Timestamp;
  3607. /**
  3608. * The quality by which to filter asset data.
  3609. */
  3610. qualities?: Qualities;
  3611. /**
  3612. * The chronological sorting order of the requested information. Default: ASCENDING
  3613. */
  3614. timeOrdering?: TimeOrdering;
  3615. /**
  3616. * The token to be used for the next set of paginated results.
  3617. */
  3618. nextToken?: NextToken;
  3619. /**
  3620. * The maximum number of results to return for each paginated request. A result set is returned in the two cases, whichever occurs first. The size of the result set is equal to 4 MB. The number of data points in the result set is equal to the value of maxResults. The maximum value of maxResults is 20000.
  3621. */
  3622. maxResults?: GetAssetPropertyValueHistoryMaxResults;
  3623. }
  3624. export interface GetAssetPropertyValueHistoryResponse {
  3625. /**
  3626. * The asset property's value history.
  3627. */
  3628. assetPropertyValueHistory: AssetPropertyValueHistory;
  3629. /**
  3630. * The token for the next set of results, or null if there are no additional results.
  3631. */
  3632. nextToken?: NextToken;
  3633. }
  3634. export interface GetAssetPropertyValueRequest {
  3635. /**
  3636. * The ID of the asset, in UUID format.
  3637. */
  3638. assetId?: ID;
  3639. /**
  3640. * The ID of the asset property, in UUID format.
  3641. */
  3642. propertyId?: ID;
  3643. /**
  3644. * The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.
  3645. */
  3646. propertyAlias?: AssetPropertyAlias;
  3647. }
  3648. export interface GetAssetPropertyValueResponse {
  3649. /**
  3650. * The current asset property value.
  3651. */
  3652. propertyValue?: AssetPropertyValue;
  3653. }
  3654. export interface GetInterpolatedAssetPropertyValuesRequest {
  3655. /**
  3656. * The ID of the asset, in UUID format.
  3657. */
  3658. assetId?: ID;
  3659. /**
  3660. * The ID of the asset property, in UUID format.
  3661. */
  3662. propertyId?: ID;
  3663. /**
  3664. * The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.
  3665. */
  3666. propertyAlias?: AssetPropertyAlias;
  3667. /**
  3668. * The exclusive start of the range from which to interpolate data, expressed in seconds in Unix epoch time.
  3669. */
  3670. startTimeInSeconds: TimeInSeconds;
  3671. /**
  3672. * The nanosecond offset converted from startTimeInSeconds.
  3673. */
  3674. startTimeOffsetInNanos?: OffsetInNanos;
  3675. /**
  3676. * The inclusive end of the range from which to interpolate data, expressed in seconds in Unix epoch time.
  3677. */
  3678. endTimeInSeconds: TimeInSeconds;
  3679. /**
  3680. * The nanosecond offset converted from endTimeInSeconds.
  3681. */
  3682. endTimeOffsetInNanos?: OffsetInNanos;
  3683. /**
  3684. * The quality of the asset property value. You can use this parameter as a filter to choose only the asset property values that have a specific quality.
  3685. */
  3686. quality: Quality;
  3687. /**
  3688. * The time interval in seconds over which to interpolate data. Each interval starts when the previous one ends.
  3689. */
  3690. intervalInSeconds: IntervalInSeconds;
  3691. /**
  3692. * The token to be used for the next set of paginated results.
  3693. */
  3694. nextToken?: NextToken;
  3695. /**
  3696. * The maximum number of results to return for each paginated request. If not specified, the default value is 10.
  3697. */
  3698. maxResults?: MaxInterpolatedResults;
  3699. /**
  3700. * The interpolation type. Valid values: LINEAR_INTERPOLATION | LOCF_INTERPOLATION LINEAR_INTERPOLATION – Estimates missing data using linear interpolation. For example, you can use this operation to return the interpolated temperature values for a wind turbine every 24 hours over a duration of 7 days. If the interpolation starts July 1, 2021, at 9 AM, IoT SiteWise returns the first interpolated value on July 2, 2021, at 9 AM, the second interpolated value on July 3, 2021, at 9 AM, and so on. LOCF_INTERPOLATION – Estimates missing data using last observation carried forward interpolation If no data point is found for an interval, IoT SiteWise returns the last observed data point for the previous interval and carries forward this interpolated value until a new data point is found. For example, you can get the state of an on-off valve every 24 hours over a duration of 7 days. If the interpolation starts July 1, 2021, at 9 AM, IoT SiteWise returns the last observed data point between July 1, 2021, at 9 AM and July 2, 2021, at 9 AM as the first interpolated value. If a data point isn't found after 9 AM on July 2, 2021, IoT SiteWise uses the same interpolated value for the rest of the days.
  3701. */
  3702. type: InterpolationType;
  3703. /**
  3704. * The query interval for the window, in seconds. IoT SiteWise computes each interpolated value by using data points from the timestamp of each interval, minus the window to the timestamp of each interval plus the window. If not specified, the window ranges between the start time minus the interval and the end time plus the interval. If you specify a value for the intervalWindowInSeconds parameter, the value for the type parameter must be LINEAR_INTERPOLATION. If a data point isn't found during the specified query window, IoT SiteWise won't return an interpolated value for the interval. This indicates that there's a gap in the ingested data points. For example, you can get the interpolated temperature values for a wind turbine every 24 hours over a duration of 7 days. If the interpolation starts on July 1, 2021, at 9 AM with a window of 2 hours, IoT SiteWise uses the data points from 7 AM (9 AM minus 2 hours) to 11 AM (9 AM plus 2 hours) on July 2, 2021 to compute the first interpolated value. Next, IoT SiteWise uses the data points from 7 AM (9 AM minus 2 hours) to 11 AM (9 AM plus 2 hours) on July 3, 2021 to compute the second interpolated value, and so on.
  3705. */
  3706. intervalWindowInSeconds?: IntervalWindowInSeconds;
  3707. }
  3708. export interface GetInterpolatedAssetPropertyValuesResponse {
  3709. /**
  3710. * The requested interpolated values.
  3711. */
  3712. interpolatedAssetPropertyValues: InterpolatedAssetPropertyValues;
  3713. /**
  3714. * The token for the next set of results, or null if there are no additional results.
  3715. */
  3716. nextToken?: NextToken;
  3717. }
  3718. export interface Greengrass {
  3719. /**
  3720. * The ARN of the Greengrass group. For more information about how to find a group's ARN, see ListGroups and GetGroup in the IoT Greengrass API Reference.
  3721. */
  3722. groupArn: ARN;
  3723. }
  3724. export interface GreengrassV2 {
  3725. /**
  3726. * The name of the IoT thing for your IoT Greengrass V2 core device.
  3727. */
  3728. coreDeviceThingName: CoreDeviceThingName;
  3729. }
  3730. export interface GroupIdentity {
  3731. /**
  3732. * The IAM Identity Center ID of the group.
  3733. */
  3734. id: IdentityId;
  3735. }
  3736. export interface IAMRoleIdentity {
  3737. /**
  3738. * The ARN of the IAM role. For more information, see IAM ARNs in the IAM User Guide.
  3739. */
  3740. arn: ARN;
  3741. }
  3742. export interface IAMUserIdentity {
  3743. /**
  3744. * The ARN of the IAM user. For more information, see IAM ARNs in the IAM User Guide. If you delete the IAM user, access policies that contain this identity include an empty arn. You can delete the access policy for the IAM user that no longer exists.
  3745. */
  3746. arn: ARN;
  3747. }
  3748. export type ID = string;
  3749. export type IDs = ID[];
  3750. export interface Identity {
  3751. /**
  3752. * An IAM Identity Center user identity.
  3753. */
  3754. user?: UserIdentity;
  3755. /**
  3756. * An IAM Identity Center group identity.
  3757. */
  3758. group?: GroupIdentity;
  3759. /**
  3760. * An IAM user identity.
  3761. */
  3762. iamUser?: IAMUserIdentity;
  3763. /**
  3764. * An IAM role identity.
  3765. */
  3766. iamRole?: IAMRoleIdentity;
  3767. }
  3768. export type IdentityId = string;
  3769. export type IdentityType = "USER"|"GROUP"|"IAM"|string;
  3770. export interface Image {
  3771. /**
  3772. * The ID of an existing image. Specify this parameter to keep an existing image.
  3773. */
  3774. id?: ID;
  3775. file?: ImageFile;
  3776. }
  3777. export interface ImageFile {
  3778. /**
  3779. * The image file contents, represented as a base64-encoded string. The file size must be less than 1 MB.
  3780. */
  3781. data: ImageFileData;
  3782. /**
  3783. * The file type of the image.
  3784. */
  3785. type: ImageFileType;
  3786. }
  3787. export type ImageFileData = Buffer|Uint8Array|Blob|string;
  3788. export type ImageFileType = "PNG"|string;
  3789. export interface ImageLocation {
  3790. /**
  3791. * The ID of the image.
  3792. */
  3793. id: ID;
  3794. /**
  3795. * The URL where the image is available. The URL is valid for 15 minutes so that you can view and download the image
  3796. */
  3797. url: Url;
  3798. }
  3799. export interface InterpolatedAssetPropertyValue {
  3800. timestamp: TimeInNanos;
  3801. value: Variant;
  3802. }
  3803. export type InterpolatedAssetPropertyValues = InterpolatedAssetPropertyValue[];
  3804. export type InterpolationType = string;
  3805. export type Interval = string;
  3806. export type IntervalInSeconds = number;
  3807. export type IntervalWindowInSeconds = number;
  3808. export interface JobConfiguration {
  3809. /**
  3810. * The file format of the data in S3.
  3811. */
  3812. fileFormat: FileFormat;
  3813. }
  3814. export type JobStatus = "PENDING"|"CANCELLED"|"RUNNING"|"COMPLETED"|"FAILED"|"COMPLETED_WITH_FAILURES"|string;
  3815. export type JobSummaries = JobSummary[];
  3816. export interface JobSummary {
  3817. /**
  3818. * The ID of the job.
  3819. */
  3820. id: ID;
  3821. /**
  3822. * The unique name that helps identify the job request.
  3823. */
  3824. name: Name;
  3825. /**
  3826. * The status of the bulk import job can be one of following values: PENDING – IoT SiteWise is waiting for the current bulk import job to finish. CANCELLED – The bulk import job has been canceled. RUNNING – IoT SiteWise is processing your request to import your data from Amazon S3. COMPLETED – IoT SiteWise successfully completed your request to import data from Amazon S3. FAILED – IoT SiteWise couldn't process your request to import data from Amazon S3. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues. COMPLETED_WITH_FAILURES – IoT SiteWise completed your request to import data from Amazon S3 with errors. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues.
  3827. */
  3828. status: JobStatus;
  3829. }
  3830. export type KmsKeyId = string;
  3831. export interface ListAccessPoliciesRequest {
  3832. /**
  3833. * The type of identity (IAM Identity Center user, IAM Identity Center group, or IAM user). This parameter is required if you specify identityId.
  3834. */
  3835. identityType?: IdentityType;
  3836. /**
  3837. * The ID of the identity. This parameter is required if you specify USER or GROUP for identityType.
  3838. */
  3839. identityId?: IdentityId;
  3840. /**
  3841. * The type of resource (portal or project). This parameter is required if you specify resourceId.
  3842. */
  3843. resourceType?: ResourceType;
  3844. /**
  3845. * The ID of the resource. This parameter is required if you specify resourceType.
  3846. */
  3847. resourceId?: ID;
  3848. /**
  3849. * The ARN of the IAM user. For more information, see IAM ARNs in the IAM User Guide. This parameter is required if you specify IAM for identityType.
  3850. */
  3851. iamArn?: ARN;
  3852. /**
  3853. * The token to be used for the next set of paginated results.
  3854. */
  3855. nextToken?: NextToken;
  3856. /**
  3857. * The maximum number of results to return for each paginated request. Default: 50
  3858. */
  3859. maxResults?: MaxResults;
  3860. }
  3861. export interface ListAccessPoliciesResponse {
  3862. /**
  3863. * A list that summarizes each access policy.
  3864. */
  3865. accessPolicySummaries: AccessPolicySummaries;
  3866. /**
  3867. * The token for the next set of results, or null if there are no additional results.
  3868. */
  3869. nextToken?: NextToken;
  3870. }
  3871. export interface ListActionsRequest {
  3872. /**
  3873. * The type of resource.
  3874. */
  3875. targetResourceType: TargetResourceType;
  3876. /**
  3877. * The ID of the target resource.
  3878. */
  3879. targetResourceId: CustomID;
  3880. /**
  3881. * The token to be used for the next set of paginated results.
  3882. */
  3883. nextToken?: NextToken;
  3884. /**
  3885. * The maximum number of results to return for each paginated request.
  3886. */
  3887. maxResults?: MaxResults;
  3888. }
  3889. export interface ListActionsResponse {
  3890. /**
  3891. * A list that summarizes the actions associated with the specified asset.
  3892. */
  3893. actionSummaries: ActionSummaries;
  3894. /**
  3895. * The token for the next set of results, or null if there are no additional results.
  3896. */
  3897. nextToken: NextToken;
  3898. }
  3899. export interface ListAssetModelCompositeModelsRequest {
  3900. /**
  3901. * The ID of the asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  3902. */
  3903. assetModelId: CustomID;
  3904. /**
  3905. * The token to be used for the next set of paginated results.
  3906. */
  3907. nextToken?: NextToken;
  3908. /**
  3909. * The maximum number of results to return for each paginated request. Default: 50
  3910. */
  3911. maxResults?: MaxResults;
  3912. }
  3913. export interface ListAssetModelCompositeModelsResponse {
  3914. /**
  3915. * A list that summarizes each composite model.
  3916. */
  3917. assetModelCompositeModelSummaries: AssetModelCompositeModelSummaries;
  3918. /**
  3919. * The token for the next set of results, or null if there are no additional results.
  3920. */
  3921. nextToken?: NextToken;
  3922. }
  3923. export type ListAssetModelPropertiesFilter = "ALL"|"BASE"|string;
  3924. export interface ListAssetModelPropertiesRequest {
  3925. /**
  3926. * The ID of the asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  3927. */
  3928. assetModelId: CustomID;
  3929. /**
  3930. * The token to be used for the next set of paginated results.
  3931. */
  3932. nextToken?: NextToken;
  3933. /**
  3934. * The maximum number of results to return for each paginated request. If not specified, the default value is 50.
  3935. */
  3936. maxResults?: MaxResults;
  3937. /**
  3938. * Filters the requested list of asset model properties. You can choose one of the following options: ALL – The list includes all asset model properties for a given asset model ID. BASE – The list includes only base asset model properties for a given asset model ID. Default: BASE
  3939. */
  3940. filter?: ListAssetModelPropertiesFilter;
  3941. }
  3942. export interface ListAssetModelPropertiesResponse {
  3943. /**
  3944. * A list that summarizes the properties associated with the specified asset model.
  3945. */
  3946. assetModelPropertySummaries: AssetModelPropertySummaries;
  3947. /**
  3948. * The token for the next set of results, or null if there are no additional results.
  3949. */
  3950. nextToken?: NextToken;
  3951. }
  3952. export interface ListAssetModelsRequest {
  3953. /**
  3954. * The token to be used for the next set of paginated results.
  3955. */
  3956. nextToken?: NextToken;
  3957. /**
  3958. * The maximum number of results to return for each paginated request. Default: 50
  3959. */
  3960. maxResults?: MaxResults;
  3961. /**
  3962. * The type of asset model. ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model. COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
  3963. */
  3964. assetModelTypes?: ListAssetModelsTypeFilter;
  3965. }
  3966. export interface ListAssetModelsResponse {
  3967. /**
  3968. * A list that summarizes each asset model.
  3969. */
  3970. assetModelSummaries: AssetModelSummaries;
  3971. /**
  3972. * The token for the next set of results, or null if there are no additional results.
  3973. */
  3974. nextToken?: NextToken;
  3975. }
  3976. export type ListAssetModelsTypeFilter = AssetModelType[];
  3977. export type ListAssetPropertiesFilter = "ALL"|"BASE"|string;
  3978. export interface ListAssetPropertiesRequest {
  3979. /**
  3980. * The ID of the asset. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  3981. */
  3982. assetId: CustomID;
  3983. /**
  3984. * The token to be used for the next set of paginated results.
  3985. */
  3986. nextToken?: NextToken;
  3987. /**
  3988. * The maximum number of results to return for each paginated request. If not specified, the default value is 50.
  3989. */
  3990. maxResults?: MaxResults;
  3991. /**
  3992. * Filters the requested list of asset properties. You can choose one of the following options: ALL – The list includes all asset properties for a given asset model ID. BASE – The list includes only base asset properties for a given asset model ID. Default: BASE
  3993. */
  3994. filter?: ListAssetPropertiesFilter;
  3995. }
  3996. export interface ListAssetPropertiesResponse {
  3997. /**
  3998. * A list that summarizes the properties associated with the specified asset.
  3999. */
  4000. assetPropertySummaries: AssetPropertySummaries;
  4001. /**
  4002. * The token for the next set of results, or null if there are no additional results.
  4003. */
  4004. nextToken?: NextToken;
  4005. }
  4006. export interface ListAssetRelationshipsRequest {
  4007. /**
  4008. * The ID of the asset. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  4009. */
  4010. assetId: CustomID;
  4011. /**
  4012. * The type of traversal to use to identify asset relationships. Choose the following option: PATH_TO_ROOT – Identify the asset's parent assets up to the root asset. The asset that you specify in assetId is the first result in the list of assetRelationshipSummaries, and the root asset is the last result.
  4013. */
  4014. traversalType: TraversalType;
  4015. /**
  4016. * The token to be used for the next set of paginated results.
  4017. */
  4018. nextToken?: NextToken;
  4019. /**
  4020. * The maximum number of results to return for each paginated request.
  4021. */
  4022. maxResults?: MaxResults;
  4023. }
  4024. export interface ListAssetRelationshipsResponse {
  4025. /**
  4026. * A list that summarizes each asset relationship.
  4027. */
  4028. assetRelationshipSummaries: AssetRelationshipSummaries;
  4029. /**
  4030. * The token for the next set of results, or null if there are no additional results.
  4031. */
  4032. nextToken?: NextToken;
  4033. }
  4034. export type ListAssetsFilter = "ALL"|"TOP_LEVEL"|string;
  4035. export interface ListAssetsRequest {
  4036. /**
  4037. * The token to be used for the next set of paginated results.
  4038. */
  4039. nextToken?: NextToken;
  4040. /**
  4041. * The maximum number of results to return for each paginated request. Default: 50
  4042. */
  4043. maxResults?: MaxResults;
  4044. /**
  4045. * The ID of the asset model by which to filter the list of assets. This parameter is required if you choose ALL for filter. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  4046. */
  4047. assetModelId?: CustomID;
  4048. /**
  4049. * The filter for the requested list of assets. Choose one of the following options: ALL – The list includes all assets for a given asset model ID. The assetModelId parameter is required if you filter by ALL. TOP_LEVEL – The list includes only top-level assets in the asset hierarchy tree. Default: ALL
  4050. */
  4051. filter?: ListAssetsFilter;
  4052. }
  4053. export interface ListAssetsResponse {
  4054. /**
  4055. * A list that summarizes each asset.
  4056. */
  4057. assetSummaries: AssetSummaries;
  4058. /**
  4059. * The token for the next set of results, or null if there are no additional results.
  4060. */
  4061. nextToken?: NextToken;
  4062. }
  4063. export interface ListAssociatedAssetsRequest {
  4064. /**
  4065. * The ID of the asset to query. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  4066. */
  4067. assetId: CustomID;
  4068. /**
  4069. * The ID of the hierarchy by which child assets are associated to the asset. (This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.) To find a hierarchy ID, use the DescribeAsset or DescribeAssetModel operations. This parameter is required if you choose CHILD for traversalDirection. For more information, see Asset hierarchies in the IoT SiteWise User Guide.
  4070. */
  4071. hierarchyId?: CustomID;
  4072. /**
  4073. * The direction to list associated assets. Choose one of the following options: CHILD – The list includes all child assets associated to the asset. The hierarchyId parameter is required if you choose CHILD. PARENT – The list includes the asset's parent asset. Default: CHILD
  4074. */
  4075. traversalDirection?: TraversalDirection;
  4076. /**
  4077. * The token to be used for the next set of paginated results.
  4078. */
  4079. nextToken?: NextToken;
  4080. /**
  4081. * The maximum number of results to return for each paginated request. Default: 50
  4082. */
  4083. maxResults?: MaxResults;
  4084. }
  4085. export interface ListAssociatedAssetsResponse {
  4086. /**
  4087. * A list that summarizes the associated assets.
  4088. */
  4089. assetSummaries: AssociatedAssetsSummaries;
  4090. /**
  4091. * The token for the next set of results, or null if there are no additional results.
  4092. */
  4093. nextToken?: NextToken;
  4094. }
  4095. export type ListBulkImportJobsFilter = "ALL"|"PENDING"|"RUNNING"|"CANCELLED"|"FAILED"|"COMPLETED_WITH_FAILURES"|"COMPLETED"|string;
  4096. export interface ListBulkImportJobsRequest {
  4097. /**
  4098. * The token to be used for the next set of paginated results.
  4099. */
  4100. nextToken?: NextToken;
  4101. /**
  4102. * The maximum number of results to return for each paginated request.
  4103. */
  4104. maxResults?: MaxResults;
  4105. /**
  4106. * You can use a filter to select the bulk import jobs that you want to retrieve.
  4107. */
  4108. filter?: ListBulkImportJobsFilter;
  4109. }
  4110. export interface ListBulkImportJobsResponse {
  4111. /**
  4112. * One or more job summaries to list.
  4113. */
  4114. jobSummaries: JobSummaries;
  4115. /**
  4116. * The token for the next set of results, or null if there are no additional results.
  4117. */
  4118. nextToken?: NextToken;
  4119. }
  4120. export interface ListCompositionRelationshipsRequest {
  4121. /**
  4122. * The ID of the asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  4123. */
  4124. assetModelId: ID;
  4125. /**
  4126. * The token to be used for the next set of paginated results.
  4127. */
  4128. nextToken?: NextToken;
  4129. /**
  4130. * The maximum number of results to return for each paginated request. Default: 50
  4131. */
  4132. maxResults?: MaxResults;
  4133. }
  4134. export interface ListCompositionRelationshipsResponse {
  4135. /**
  4136. * A list that summarizes each composition relationship.
  4137. */
  4138. compositionRelationshipSummaries: CompositionRelationshipSummaries;
  4139. /**
  4140. * The token for the next set of results, or null if there are no additional results.
  4141. */
  4142. nextToken?: NextToken;
  4143. }
  4144. export interface ListDashboardsRequest {
  4145. /**
  4146. * The ID of the project.
  4147. */
  4148. projectId: ID;
  4149. /**
  4150. * The token to be used for the next set of paginated results.
  4151. */
  4152. nextToken?: NextToken;
  4153. /**
  4154. * The maximum number of results to return for each paginated request. Default: 50
  4155. */
  4156. maxResults?: MaxResults;
  4157. }
  4158. export interface ListDashboardsResponse {
  4159. /**
  4160. * A list that summarizes each dashboard in the project.
  4161. */
  4162. dashboardSummaries: DashboardSummaries;
  4163. /**
  4164. * The token for the next set of results, or null if there are no additional results.
  4165. */
  4166. nextToken?: NextToken;
  4167. }
  4168. export interface ListGatewaysRequest {
  4169. /**
  4170. * The token to be used for the next set of paginated results.
  4171. */
  4172. nextToken?: NextToken;
  4173. /**
  4174. * The maximum number of results to return for each paginated request. Default: 50
  4175. */
  4176. maxResults?: MaxResults;
  4177. }
  4178. export interface ListGatewaysResponse {
  4179. /**
  4180. * A list that summarizes each gateway.
  4181. */
  4182. gatewaySummaries: GatewaySummaries;
  4183. /**
  4184. * The token for the next set of results, or null if there are no additional results.
  4185. */
  4186. nextToken?: NextToken;
  4187. }
  4188. export interface ListPortalsRequest {
  4189. /**
  4190. * The token to be used for the next set of paginated results.
  4191. */
  4192. nextToken?: NextToken;
  4193. /**
  4194. * The maximum number of results to return for each paginated request. Default: 50
  4195. */
  4196. maxResults?: MaxResults;
  4197. }
  4198. export interface ListPortalsResponse {
  4199. /**
  4200. * A list that summarizes each portal.
  4201. */
  4202. portalSummaries?: PortalSummaries;
  4203. /**
  4204. * The token for the next set of results, or null if there are no additional results.
  4205. */
  4206. nextToken?: NextToken;
  4207. }
  4208. export interface ListProjectAssetsRequest {
  4209. /**
  4210. * The ID of the project.
  4211. */
  4212. projectId: ID;
  4213. /**
  4214. * The token to be used for the next set of paginated results.
  4215. */
  4216. nextToken?: NextToken;
  4217. /**
  4218. * The maximum number of results to return for each paginated request. Default: 50
  4219. */
  4220. maxResults?: MaxResults;
  4221. }
  4222. export interface ListProjectAssetsResponse {
  4223. /**
  4224. * A list that contains the IDs of each asset associated with the project.
  4225. */
  4226. assetIds: AssetIDs;
  4227. /**
  4228. * The token for the next set of results, or null if there are no additional results.
  4229. */
  4230. nextToken?: NextToken;
  4231. }
  4232. export interface ListProjectsRequest {
  4233. /**
  4234. * The ID of the portal.
  4235. */
  4236. portalId: ID;
  4237. /**
  4238. * The token to be used for the next set of paginated results.
  4239. */
  4240. nextToken?: NextToken;
  4241. /**
  4242. * The maximum number of results to return for each paginated request. Default: 50
  4243. */
  4244. maxResults?: MaxResults;
  4245. }
  4246. export interface ListProjectsResponse {
  4247. /**
  4248. * A list that summarizes each project in the portal.
  4249. */
  4250. projectSummaries: ProjectSummaries;
  4251. /**
  4252. * The token for the next set of results, or null if there are no additional results.
  4253. */
  4254. nextToken?: NextToken;
  4255. }
  4256. export interface ListTagsForResourceRequest {
  4257. /**
  4258. * The ARN of the resource.
  4259. */
  4260. resourceArn: AmazonResourceName;
  4261. }
  4262. export interface ListTagsForResourceResponse {
  4263. /**
  4264. * The list of key-value pairs that contain metadata for the resource. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
  4265. */
  4266. tags?: TagMap;
  4267. }
  4268. export interface ListTimeSeriesRequest {
  4269. /**
  4270. * The token to be used for the next set of paginated results.
  4271. */
  4272. nextToken?: NextToken;
  4273. /**
  4274. * The maximum number of results to return for each paginated request.
  4275. */
  4276. maxResults?: MaxResults;
  4277. /**
  4278. * The ID of the asset in which the asset property was created. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  4279. */
  4280. assetId?: CustomID;
  4281. /**
  4282. * The alias prefix of the time series.
  4283. */
  4284. aliasPrefix?: PropertyAlias;
  4285. /**
  4286. * The type of the time series. The time series type can be one of the following values: ASSOCIATED – The time series is associated with an asset property. DISASSOCIATED – The time series isn't associated with any asset property.
  4287. */
  4288. timeSeriesType?: ListTimeSeriesType;
  4289. }
  4290. export interface ListTimeSeriesResponse {
  4291. /**
  4292. * One or more time series summaries to list.
  4293. */
  4294. TimeSeriesSummaries: TimeSeriesSummaries;
  4295. /**
  4296. * The token for the next set of results, or null if there are no additional results.
  4297. */
  4298. nextToken?: NextToken;
  4299. }
  4300. export type ListTimeSeriesType = "ASSOCIATED"|"DISASSOCIATED"|string;
  4301. export type LoggingLevel = "ERROR"|"INFO"|"OFF"|string;
  4302. export interface LoggingOptions {
  4303. /**
  4304. * The IoT SiteWise logging verbosity level.
  4305. */
  4306. level: LoggingLevel;
  4307. }
  4308. export type Macro = string;
  4309. export type MaxInterpolatedResults = number;
  4310. export type MaxResults = number;
  4311. export interface Measurement {
  4312. /**
  4313. * The processing configuration for the given measurement property. You can configure measurements to be kept at the edge or forwarded to the Amazon Web Services Cloud. By default, measurements are forwarded to the cloud.
  4314. */
  4315. processingConfig?: MeasurementProcessingConfig;
  4316. }
  4317. export interface MeasurementProcessingConfig {
  4318. /**
  4319. * The forwarding configuration for the given measurement property.
  4320. */
  4321. forwardingConfig: ForwardingConfig;
  4322. }
  4323. export interface Metric {
  4324. /**
  4325. * The mathematical expression that defines the metric aggregation function. You can specify up to 10 variables per expression. You can specify up to 10 functions per expression. For more information, see Quotas in the IoT SiteWise User Guide.
  4326. */
  4327. expression: Expression;
  4328. /**
  4329. * The list of variables used in the expression.
  4330. */
  4331. variables: ExpressionVariables;
  4332. /**
  4333. * The window (time interval) over which IoT SiteWise computes the metric's aggregation expression. IoT SiteWise computes one data point per window.
  4334. */
  4335. window: MetricWindow;
  4336. /**
  4337. * The processing configuration for the given metric property. You can configure metrics to be computed at the edge or in the Amazon Web Services Cloud. By default, metrics are forwarded to the cloud.
  4338. */
  4339. processingConfig?: MetricProcessingConfig;
  4340. }
  4341. export interface MetricProcessingConfig {
  4342. /**
  4343. * The compute location for the given metric property.
  4344. */
  4345. computeLocation: ComputeLocation;
  4346. }
  4347. export interface MetricWindow {
  4348. /**
  4349. * The tumbling time interval window.
  4350. */
  4351. tumbling?: TumblingWindow;
  4352. }
  4353. export type MonitorErrorCode = "INTERNAL_FAILURE"|"VALIDATION_ERROR"|"LIMIT_EXCEEDED"|string;
  4354. export interface MonitorErrorDetails {
  4355. /**
  4356. * The error code.
  4357. */
  4358. code?: MonitorErrorCode;
  4359. /**
  4360. * The error message.
  4361. */
  4362. message?: MonitorErrorMessage;
  4363. }
  4364. export type MonitorErrorMessage = string;
  4365. export interface MultiLayerStorage {
  4366. /**
  4367. * Contains information about a customer managed Amazon S3 bucket.
  4368. */
  4369. customerManagedS3Storage: CustomerManagedS3Storage;
  4370. }
  4371. export type Name = string;
  4372. export type NextToken = string;
  4373. export type NullableBoolean = boolean;
  4374. export type NumberOfDays = number;
  4375. export type Offset = string;
  4376. export type OffsetInNanos = number;
  4377. export interface Parquet {
  4378. }
  4379. export type Permission = "ADMINISTRATOR"|"VIEWER"|string;
  4380. export type PortalClientId = string;
  4381. export interface PortalResource {
  4382. /**
  4383. * The ID of the portal.
  4384. */
  4385. id: ID;
  4386. }
  4387. export type PortalState = "CREATING"|"UPDATING"|"DELETING"|"ACTIVE"|"FAILED"|string;
  4388. export interface PortalStatus {
  4389. /**
  4390. * The current state of the portal.
  4391. */
  4392. state: PortalState;
  4393. /**
  4394. * Contains associated error information, if any.
  4395. */
  4396. error?: MonitorErrorDetails;
  4397. }
  4398. export type PortalSummaries = PortalSummary[];
  4399. export interface PortalSummary {
  4400. /**
  4401. * The ID of the portal.
  4402. */
  4403. id: ID;
  4404. /**
  4405. * The name of the portal.
  4406. */
  4407. name: Name;
  4408. /**
  4409. * The portal's description.
  4410. */
  4411. description?: Description;
  4412. /**
  4413. * The URL for the IoT SiteWise Monitor portal. You can use this URL to access portals that use IAM Identity Center for authentication. For portals that use IAM for authentication, you must use the IoT SiteWise console to get a URL that you can use to access the portal.
  4414. */
  4415. startUrl: Url;
  4416. /**
  4417. * The date the portal was created, in Unix epoch time.
  4418. */
  4419. creationDate?: Timestamp;
  4420. /**
  4421. * The date the portal was last updated, in Unix epoch time.
  4422. */
  4423. lastUpdateDate?: Timestamp;
  4424. /**
  4425. * The ARN of the service role that allows the portal's users to access your IoT SiteWise resources on your behalf. For more information, see Using service roles for IoT SiteWise Monitor in the IoT SiteWise User Guide.
  4426. */
  4427. roleArn?: ARN;
  4428. status: PortalStatus;
  4429. }
  4430. export interface ProjectResource {
  4431. /**
  4432. * The ID of the project.
  4433. */
  4434. id: ID;
  4435. }
  4436. export type ProjectSummaries = ProjectSummary[];
  4437. export interface ProjectSummary {
  4438. /**
  4439. * The ID of the project.
  4440. */
  4441. id: ID;
  4442. /**
  4443. * The name of the project.
  4444. */
  4445. name: Name;
  4446. /**
  4447. * The project's description.
  4448. */
  4449. description?: Description;
  4450. /**
  4451. * The date the project was created, in Unix epoch time.
  4452. */
  4453. creationDate?: Timestamp;
  4454. /**
  4455. * The date the project was last updated, in Unix epoch time.
  4456. */
  4457. lastUpdateDate?: Timestamp;
  4458. }
  4459. export interface Property {
  4460. /**
  4461. * The ID of the asset property.
  4462. */
  4463. id: ID;
  4464. /**
  4465. * The name of the property.
  4466. */
  4467. name: Name;
  4468. /**
  4469. * The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.
  4470. */
  4471. alias?: PropertyAlias;
  4472. /**
  4473. * The asset property's notification topic and state. For more information, see UpdateAssetProperty.
  4474. */
  4475. notification?: PropertyNotification;
  4476. /**
  4477. * The property data type.
  4478. */
  4479. dataType: PropertyDataType;
  4480. /**
  4481. * The unit (such as Newtons or RPM) of the asset property.
  4482. */
  4483. unit?: PropertyUnit;
  4484. /**
  4485. * The property type (see PropertyType). A property contains one type.
  4486. */
  4487. type?: PropertyType;
  4488. /**
  4489. * The structured path to the property from the root of the asset.
  4490. */
  4491. path?: AssetPropertyPath;
  4492. /**
  4493. * The external ID of the asset property. For more information, see Using external IDs in the IoT SiteWise User Guide.
  4494. */
  4495. externalId?: ExternalId;
  4496. }
  4497. export type PropertyAlias = string;
  4498. export type PropertyDataType = "STRING"|"INTEGER"|"DOUBLE"|"BOOLEAN"|"STRUCT"|string;
  4499. export interface PropertyNotification {
  4500. /**
  4501. * The MQTT topic to which IoT SiteWise publishes property value update notifications.
  4502. */
  4503. topic: PropertyNotificationTopic;
  4504. /**
  4505. * The current notification state.
  4506. */
  4507. state: PropertyNotificationState;
  4508. }
  4509. export type PropertyNotificationState = "ENABLED"|"DISABLED"|string;
  4510. export type PropertyNotificationTopic = string;
  4511. export interface PropertyType {
  4512. /**
  4513. * Specifies an asset attribute property. An attribute generally contains static information, such as the serial number of an IIoT wind turbine.
  4514. */
  4515. attribute?: Attribute;
  4516. /**
  4517. * Specifies an asset measurement property. A measurement represents a device's raw sensor data stream, such as timestamped temperature values or timestamped power values.
  4518. */
  4519. measurement?: Measurement;
  4520. /**
  4521. * Specifies an asset transform property. A transform contains a mathematical expression that maps a property's data points from one form to another, such as a unit conversion from Celsius to Fahrenheit.
  4522. */
  4523. transform?: Transform;
  4524. /**
  4525. * Specifies an asset metric property. A metric contains a mathematical expression that uses aggregate functions to process all input data points over a time interval and output a single data point, such as to calculate the average hourly temperature.
  4526. */
  4527. metric?: Metric;
  4528. }
  4529. export type PropertyUnit = string;
  4530. export type PropertyValueBooleanValue = boolean;
  4531. export type PropertyValueDoubleValue = number;
  4532. export type PropertyValueIntegerValue = number;
  4533. export type PropertyValueStringValue = string;
  4534. export type PutAssetPropertyValueEntries = PutAssetPropertyValueEntry[];
  4535. export interface PutAssetPropertyValueEntry {
  4536. /**
  4537. * The user specified ID for the entry. You can use this ID to identify which entries failed.
  4538. */
  4539. entryId: EntryId;
  4540. /**
  4541. * The ID of the asset to update.
  4542. */
  4543. assetId?: ID;
  4544. /**
  4545. * The ID of the asset property for this entry.
  4546. */
  4547. propertyId?: ID;
  4548. /**
  4549. * The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.
  4550. */
  4551. propertyAlias?: AssetPropertyAlias;
  4552. /**
  4553. * The list of property values to upload. You can specify up to 10 propertyValues array elements.
  4554. */
  4555. propertyValues: AssetPropertyValues;
  4556. }
  4557. export interface PutDefaultEncryptionConfigurationRequest {
  4558. /**
  4559. * The type of encryption used for the encryption configuration.
  4560. */
  4561. encryptionType: EncryptionType;
  4562. /**
  4563. * The Key ID of the customer managed key used for KMS encryption. This is required if you use KMS_BASED_ENCRYPTION.
  4564. */
  4565. kmsKeyId?: KmsKeyId;
  4566. }
  4567. export interface PutDefaultEncryptionConfigurationResponse {
  4568. /**
  4569. * The type of encryption used for the encryption configuration.
  4570. */
  4571. encryptionType: EncryptionType;
  4572. /**
  4573. * The Key ARN of the KMS key used for KMS encryption if you use KMS_BASED_ENCRYPTION.
  4574. */
  4575. kmsKeyArn?: ARN;
  4576. /**
  4577. * The status of the account configuration. This contains the ConfigurationState. If there is an error, it also contains the ErrorDetails.
  4578. */
  4579. configurationStatus: ConfigurationStatus;
  4580. }
  4581. export interface PutLoggingOptionsRequest {
  4582. /**
  4583. * The logging options to set.
  4584. */
  4585. loggingOptions: LoggingOptions;
  4586. }
  4587. export interface PutLoggingOptionsResponse {
  4588. }
  4589. export interface PutStorageConfigurationRequest {
  4590. /**
  4591. * The storage tier that you specified for your data. The storageType parameter can be one of the following values: SITEWISE_DEFAULT_STORAGE – IoT SiteWise saves your data into the hot tier. The hot tier is a service-managed database. MULTI_LAYER_STORAGE – IoT SiteWise saves your data in both the cold tier and the hot tier. The cold tier is a customer-managed Amazon S3 bucket.
  4592. */
  4593. storageType: StorageType;
  4594. /**
  4595. * Identifies a storage destination. If you specified MULTI_LAYER_STORAGE for the storage type, you must specify a MultiLayerStorage object.
  4596. */
  4597. multiLayerStorage?: MultiLayerStorage;
  4598. /**
  4599. * Contains the storage configuration for time series (data streams) that aren't associated with asset properties. The disassociatedDataStorage can be one of the following values: ENABLED – IoT SiteWise accepts time series that aren't associated with asset properties. After the disassociatedDataStorage is enabled, you can't disable it. DISABLED – IoT SiteWise doesn't accept time series (data streams) that aren't associated with asset properties. For more information, see Data streams in the IoT SiteWise User Guide.
  4600. */
  4601. disassociatedDataStorage?: DisassociatedDataStorageState;
  4602. retentionPeriod?: RetentionPeriod;
  4603. /**
  4604. * A service managed storage tier optimized for analytical queries. It stores periodically uploaded, buffered and historical data ingested with the CreaeBulkImportJob API.
  4605. */
  4606. warmTier?: WarmTierState;
  4607. /**
  4608. * Set this period to specify how long your data is stored in the warm tier before it is deleted. You can set this only if cold tier is enabled.
  4609. */
  4610. warmTierRetentionPeriod?: WarmTierRetentionPeriod;
  4611. }
  4612. export interface PutStorageConfigurationResponse {
  4613. /**
  4614. * The storage tier that you specified for your data. The storageType parameter can be one of the following values: SITEWISE_DEFAULT_STORAGE – IoT SiteWise saves your data into the hot tier. The hot tier is a service-managed database. MULTI_LAYER_STORAGE – IoT SiteWise saves your data in both the cold tier and the hot tier. The cold tier is a customer-managed Amazon S3 bucket.
  4615. */
  4616. storageType: StorageType;
  4617. /**
  4618. * Contains information about the storage destination.
  4619. */
  4620. multiLayerStorage?: MultiLayerStorage;
  4621. /**
  4622. * Contains the storage configuration for time series (data streams) that aren't associated with asset properties. The disassociatedDataStorage can be one of the following values: ENABLED – IoT SiteWise accepts time series that aren't associated with asset properties. After the disassociatedDataStorage is enabled, you can't disable it. DISABLED – IoT SiteWise doesn't accept time series (data streams) that aren't associated with asset properties. For more information, see Data streams in the IoT SiteWise User Guide.
  4623. */
  4624. disassociatedDataStorage?: DisassociatedDataStorageState;
  4625. retentionPeriod?: RetentionPeriod;
  4626. configurationStatus: ConfigurationStatus;
  4627. /**
  4628. * A service managed storage tier optimized for analytical queries. It stores periodically uploaded, buffered and historical data ingested with the CreaeBulkImportJob API.
  4629. */
  4630. warmTier?: WarmTierState;
  4631. /**
  4632. * Set this period to specify how long your data is stored in the warm tier before it is deleted. You can set this only if cold tier is enabled.
  4633. */
  4634. warmTierRetentionPeriod?: WarmTierRetentionPeriod;
  4635. }
  4636. export type Qualities = Quality[];
  4637. export type Quality = "GOOD"|"BAD"|"UNCERTAIN"|string;
  4638. export type QueryStatement = string;
  4639. export type Resolution = string;
  4640. export interface Resource {
  4641. /**
  4642. * A portal resource.
  4643. */
  4644. portal?: PortalResource;
  4645. /**
  4646. * A project resource.
  4647. */
  4648. project?: ProjectResource;
  4649. }
  4650. export type ResourceType = "PORTAL"|"PROJECT"|string;
  4651. export interface RetentionPeriod {
  4652. /**
  4653. * The number of days that your data is kept. If you specified a value for this parameter, the unlimited parameter must be false.
  4654. */
  4655. numberOfDays?: NumberOfDays;
  4656. /**
  4657. * If true, your data is kept indefinitely. If configured to true, you must not specify a value for the numberOfDays parameter.
  4658. */
  4659. unlimited?: Unlimited;
  4660. }
  4661. export interface Row {
  4662. /**
  4663. * List of data points in a single row of the result set.
  4664. */
  4665. data: DatumList;
  4666. }
  4667. export type Rows = Row[];
  4668. export type SSOApplicationId = string;
  4669. export type ScalarType = "BOOLEAN"|"INT"|"DOUBLE"|"TIMESTAMP"|"STRING"|string;
  4670. export type ScalarValue = string;
  4671. export type StorageType = "SITEWISE_DEFAULT_STORAGE"|"MULTI_LAYER_STORAGE"|string;
  4672. export type String = string;
  4673. export type TagKey = string;
  4674. export type TagKeyList = TagKey[];
  4675. export type TagMap = {[key: string]: TagValue};
  4676. export interface TagResourceRequest {
  4677. /**
  4678. * The ARN of the resource to tag.
  4679. */
  4680. resourceArn: AmazonResourceName;
  4681. /**
  4682. * A list of key-value pairs that contain metadata for the resource. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
  4683. */
  4684. tags: TagMap;
  4685. }
  4686. export interface TagResourceResponse {
  4687. }
  4688. export type TagValue = string;
  4689. export interface TargetResource {
  4690. /**
  4691. * The ID of the asset, in UUID format.
  4692. */
  4693. assetId: CustomID;
  4694. }
  4695. export type TargetResourceType = "ASSET"|string;
  4696. export interface TimeInNanos {
  4697. /**
  4698. * The timestamp date, in seconds, in the Unix epoch format. Fractional nanosecond data is provided by offsetInNanos.
  4699. */
  4700. timeInSeconds: TimeInSeconds;
  4701. /**
  4702. * The nanosecond offset from timeInSeconds.
  4703. */
  4704. offsetInNanos?: OffsetInNanos;
  4705. }
  4706. export type TimeInSeconds = number;
  4707. export type TimeOrdering = "ASCENDING"|"DESCENDING"|string;
  4708. export type TimeSeriesId = string;
  4709. export type TimeSeriesSummaries = TimeSeriesSummary[];
  4710. export interface TimeSeriesSummary {
  4711. /**
  4712. * The ID of the asset in which the asset property was created.
  4713. */
  4714. assetId?: ID;
  4715. /**
  4716. * The ID of the asset property, in UUID format.
  4717. */
  4718. propertyId?: ID;
  4719. /**
  4720. * The alias that identifies the time series.
  4721. */
  4722. alias?: PropertyAlias;
  4723. /**
  4724. * The ID of the time series.
  4725. */
  4726. timeSeriesId: TimeSeriesId;
  4727. /**
  4728. * The data type of the time series. If you specify STRUCT, you must also specify dataTypeSpec to identify the type of the structure for this time series.
  4729. */
  4730. dataType: PropertyDataType;
  4731. /**
  4732. * The data type of the structure for this time series. This parameter is required for time series that have the STRUCT data type. The options for this parameter depend on the type of the composite model in which you created the asset property that is associated with your time series. Use AWS/ALARM_STATE for alarm state in alarm composite models.
  4733. */
  4734. dataTypeSpec?: Name;
  4735. /**
  4736. * The date that the time series was created, in Unix epoch time.
  4737. */
  4738. timeSeriesCreationDate: Timestamp;
  4739. /**
  4740. * The date that the time series was last updated, in Unix epoch time.
  4741. */
  4742. timeSeriesLastUpdateDate: Timestamp;
  4743. /**
  4744. * The ARN of the time series, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:time-series/${TimeSeriesId}
  4745. */
  4746. timeSeriesArn: ARN;
  4747. }
  4748. export type Timestamp = Date;
  4749. export type Timestamps = TimeInNanos[];
  4750. export interface Transform {
  4751. /**
  4752. * The mathematical expression that defines the transformation function. You can specify up to 10 variables per expression. You can specify up to 10 functions per expression. For more information, see Quotas in the IoT SiteWise User Guide.
  4753. */
  4754. expression: Expression;
  4755. /**
  4756. * The list of variables used in the expression.
  4757. */
  4758. variables: ExpressionVariables;
  4759. /**
  4760. * The processing configuration for the given transform property. You can configure transforms to be kept at the edge or forwarded to the Amazon Web Services Cloud. You can also configure transforms to be computed at the edge or in the cloud.
  4761. */
  4762. processingConfig?: TransformProcessingConfig;
  4763. }
  4764. export interface TransformProcessingConfig {
  4765. /**
  4766. * The compute location for the given transform property.
  4767. */
  4768. computeLocation: ComputeLocation;
  4769. forwardingConfig?: ForwardingConfig;
  4770. }
  4771. export type TraversalDirection = "PARENT"|"CHILD"|string;
  4772. export type TraversalType = "PATH_TO_ROOT"|string;
  4773. export interface TumblingWindow {
  4774. /**
  4775. * The time interval for the tumbling window. The interval time must be between 1 minute and 1 week. IoT SiteWise computes the 1w interval the end of Sunday at midnight each week (UTC), the 1d interval at the end of each day at midnight (UTC), the 1h interval at the end of each hour, and so on. When IoT SiteWise aggregates data points for metric computations, the start of each interval is exclusive and the end of each interval is inclusive. IoT SiteWise places the computed data point at the end of the interval.
  4776. */
  4777. interval: Interval;
  4778. /**
  4779. * The offset for the tumbling window. The offset parameter accepts the following: The offset time. For example, if you specify 18h for offset and 1d for interval, IoT SiteWise aggregates data in one of the following ways: If you create the metric before or at 6 PM (UTC), you get the first aggregation result at 6 PM (UTC) on the day when you create the metric. If you create the metric after 6 PM (UTC), you get the first aggregation result at 6 PM (UTC) the next day. The ISO 8601 format. For example, if you specify PT18H for offset and 1d for interval, IoT SiteWise aggregates data in one of the following ways: If you create the metric before or at 6 PM (UTC), you get the first aggregation result at 6 PM (UTC) on the day when you create the metric. If you create the metric after 6 PM (UTC), you get the first aggregation result at 6 PM (UTC) the next day. The 24-hour clock. For example, if you specify 00:03:00 for offset, 5m for interval, and you create the metric at 2 PM (UTC), you get the first aggregation result at 2:03 PM (UTC). You get the second aggregation result at 2:08 PM (UTC). The offset time zone. For example, if you specify 2021-07-23T18:00-08 for offset and 1d for interval, IoT SiteWise aggregates data in one of the following ways: If you create the metric before or at 6 PM (PST), you get the first aggregation result at 6 PM (PST) on the day when you create the metric. If you create the metric after 6 PM (PST), you get the first aggregation result at 6 PM (PST) the next day.
  4780. */
  4781. offset?: Offset;
  4782. }
  4783. export type Unlimited = boolean;
  4784. export interface UntagResourceRequest {
  4785. /**
  4786. * The ARN of the resource to untag.
  4787. */
  4788. resourceArn: AmazonResourceName;
  4789. /**
  4790. * A list of keys for tags to remove from the resource.
  4791. */
  4792. tagKeys: TagKeyList;
  4793. }
  4794. export interface UntagResourceResponse {
  4795. }
  4796. export interface UpdateAccessPolicyRequest {
  4797. /**
  4798. * The ID of the access policy.
  4799. */
  4800. accessPolicyId: ID;
  4801. /**
  4802. * The identity for this access policy. Choose an IAM Identity Center user, an IAM Identity Center group, or an IAM user.
  4803. */
  4804. accessPolicyIdentity: Identity;
  4805. /**
  4806. * The IoT SiteWise Monitor resource for this access policy. Choose either a portal or a project.
  4807. */
  4808. accessPolicyResource: Resource;
  4809. /**
  4810. * The permission level for this access policy. Note that a project ADMINISTRATOR is also known as a project owner.
  4811. */
  4812. accessPolicyPermission: Permission;
  4813. /**
  4814. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  4815. */
  4816. clientToken?: ClientToken;
  4817. }
  4818. export interface UpdateAccessPolicyResponse {
  4819. }
  4820. export interface UpdateAssetModelCompositeModelRequest {
  4821. /**
  4822. * The ID of the asset model, in UUID format.
  4823. */
  4824. assetModelId: CustomID;
  4825. /**
  4826. * The ID of a composite model on this asset model.
  4827. */
  4828. assetModelCompositeModelId: CustomID;
  4829. /**
  4830. * An external ID to assign to the asset model. You can only set the external ID of the asset model if it wasn't set when it was created, or you're setting it to the exact same thing as when it was created.
  4831. */
  4832. assetModelCompositeModelExternalId?: ExternalId;
  4833. /**
  4834. * A description for the composite model.
  4835. */
  4836. assetModelCompositeModelDescription?: Description;
  4837. /**
  4838. * A unique, friendly name for the composite model.
  4839. */
  4840. assetModelCompositeModelName: Name;
  4841. /**
  4842. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  4843. */
  4844. clientToken?: ClientToken;
  4845. /**
  4846. * The property definitions of the composite model. For more information, see &lt;LINK&gt;. You can specify up to 200 properties per composite model. For more information, see Quotas in the IoT SiteWise User Guide.
  4847. */
  4848. assetModelCompositeModelProperties?: AssetModelProperties;
  4849. }
  4850. export interface UpdateAssetModelCompositeModelResponse {
  4851. /**
  4852. * The path to the composite model listing the parent composite models.
  4853. */
  4854. assetModelCompositeModelPath: AssetModelCompositeModelPath;
  4855. assetModelStatus: AssetModelStatus;
  4856. }
  4857. export interface UpdateAssetModelRequest {
  4858. /**
  4859. * The ID of the asset model to update. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  4860. */
  4861. assetModelId: CustomID;
  4862. /**
  4863. * A unique, friendly name for the asset model.
  4864. */
  4865. assetModelName: Name;
  4866. /**
  4867. * A description for the asset model.
  4868. */
  4869. assetModelDescription?: Description;
  4870. /**
  4871. * The updated property definitions of the asset model. For more information, see Asset properties in the IoT SiteWise User Guide. You can specify up to 200 properties per asset model. For more information, see Quotas in the IoT SiteWise User Guide.
  4872. */
  4873. assetModelProperties?: AssetModelProperties;
  4874. /**
  4875. * The updated hierarchy definitions of the asset model. Each hierarchy specifies an asset model whose assets can be children of any other assets created from this asset model. For more information, see Asset hierarchies in the IoT SiteWise User Guide. You can specify up to 10 hierarchies per asset model. For more information, see Quotas in the IoT SiteWise User Guide.
  4876. */
  4877. assetModelHierarchies?: AssetModelHierarchies;
  4878. /**
  4879. * The composite models that are part of this asset model. It groups properties (such as attributes, measurements, transforms, and metrics) and child composite models that model parts of your industrial equipment. Each composite model has a type that defines the properties that the composite model supports. Use composite models to define alarms on this asset model. When creating custom composite models, you need to use CreateAssetModelCompositeModel. For more information, see &lt;LINK&gt;.
  4880. */
  4881. assetModelCompositeModels?: AssetModelCompositeModels;
  4882. /**
  4883. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  4884. */
  4885. clientToken?: ClientToken;
  4886. /**
  4887. * An external ID to assign to the asset model. The asset model must not already have an external ID. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide.
  4888. */
  4889. assetModelExternalId?: ExternalId;
  4890. }
  4891. export interface UpdateAssetModelResponse {
  4892. /**
  4893. * The status of the asset model, which contains a state (UPDATING after successfully calling this operation) and any error message.
  4894. */
  4895. assetModelStatus: AssetModelStatus;
  4896. }
  4897. export interface UpdateAssetPropertyRequest {
  4898. /**
  4899. * The ID of the asset to be updated. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  4900. */
  4901. assetId: CustomID;
  4902. /**
  4903. * The ID of the asset property to be updated. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  4904. */
  4905. propertyId: CustomID;
  4906. /**
  4907. * The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide. If you omit this parameter, the alias is removed from the property.
  4908. */
  4909. propertyAlias?: PropertyAlias;
  4910. /**
  4911. * The MQTT notification state (enabled or disabled) for this asset property. When the notification state is enabled, IoT SiteWise publishes property value updates to a unique MQTT topic. For more information, see Interacting with other services in the IoT SiteWise User Guide. If you omit this parameter, the notification state is set to DISABLED.
  4912. */
  4913. propertyNotificationState?: PropertyNotificationState;
  4914. /**
  4915. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  4916. */
  4917. clientToken?: ClientToken;
  4918. /**
  4919. * The unit of measure (such as Newtons or RPM) of the asset property. If you don't specify a value for this parameter, the service uses the value of the assetModelProperty in the asset model.
  4920. */
  4921. propertyUnit?: PropertyUnit;
  4922. }
  4923. export interface UpdateAssetRequest {
  4924. /**
  4925. * The ID of the asset to update. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
  4926. */
  4927. assetId: CustomID;
  4928. /**
  4929. * A friendly name for the asset.
  4930. */
  4931. assetName: Name;
  4932. /**
  4933. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  4934. */
  4935. clientToken?: ClientToken;
  4936. /**
  4937. * A description for the asset.
  4938. */
  4939. assetDescription?: Description;
  4940. /**
  4941. * An external ID to assign to the asset. The asset must not already have an external ID. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide.
  4942. */
  4943. assetExternalId?: ExternalId;
  4944. }
  4945. export interface UpdateAssetResponse {
  4946. /**
  4947. * The status of the asset, which contains a state (UPDATING after successfully calling this operation) and any error message.
  4948. */
  4949. assetStatus: AssetStatus;
  4950. }
  4951. export interface UpdateDashboardRequest {
  4952. /**
  4953. * The ID of the dashboard to update.
  4954. */
  4955. dashboardId: ID;
  4956. /**
  4957. * A new friendly name for the dashboard.
  4958. */
  4959. dashboardName: Name;
  4960. /**
  4961. * A new description for the dashboard.
  4962. */
  4963. dashboardDescription?: Description;
  4964. /**
  4965. * The new dashboard definition, as specified in a JSON literal. For detailed information, see Creating dashboards (CLI) in the IoT SiteWise User Guide.
  4966. */
  4967. dashboardDefinition: DashboardDefinition;
  4968. /**
  4969. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  4970. */
  4971. clientToken?: ClientToken;
  4972. }
  4973. export interface UpdateDashboardResponse {
  4974. }
  4975. export interface UpdateGatewayCapabilityConfigurationRequest {
  4976. /**
  4977. * The ID of the gateway to be updated.
  4978. */
  4979. gatewayId: ID;
  4980. /**
  4981. * The namespace of the gateway capability configuration to be updated. For example, if you configure OPC-UA sources from the IoT SiteWise console, your OPC-UA capability configuration has the namespace iotsitewise:opcuacollector:version, where version is a number such as 1.
  4982. */
  4983. capabilityNamespace: CapabilityNamespace;
  4984. /**
  4985. * The JSON document that defines the configuration for the gateway capability. For more information, see Configuring data sources (CLI) in the IoT SiteWise User Guide.
  4986. */
  4987. capabilityConfiguration: CapabilityConfiguration;
  4988. }
  4989. export interface UpdateGatewayCapabilityConfigurationResponse {
  4990. /**
  4991. * The namespace of the gateway capability.
  4992. */
  4993. capabilityNamespace: CapabilityNamespace;
  4994. /**
  4995. * The synchronization status of the capability configuration. The sync status can be one of the following: IN_SYNC – The gateway is running the capability configuration. OUT_OF_SYNC – The gateway hasn't received the capability configuration. SYNC_FAILED – The gateway rejected the capability configuration. After you update a capability configuration, its sync status is OUT_OF_SYNC until the gateway receives and applies or rejects the updated configuration.
  4996. */
  4997. capabilitySyncStatus: CapabilitySyncStatus;
  4998. }
  4999. export interface UpdateGatewayRequest {
  5000. /**
  5001. * The ID of the gateway to update.
  5002. */
  5003. gatewayId: ID;
  5004. /**
  5005. * A unique, friendly name for the gateway.
  5006. */
  5007. gatewayName: Name;
  5008. }
  5009. export interface UpdatePortalRequest {
  5010. /**
  5011. * The ID of the portal to update.
  5012. */
  5013. portalId: ID;
  5014. /**
  5015. * A new friendly name for the portal.
  5016. */
  5017. portalName: Name;
  5018. /**
  5019. * A new description for the portal.
  5020. */
  5021. portalDescription?: Description;
  5022. /**
  5023. * The Amazon Web Services administrator's contact email address.
  5024. */
  5025. portalContactEmail: Email;
  5026. portalLogoImage?: Image;
  5027. /**
  5028. * The ARN of a service role that allows the portal's users to access your IoT SiteWise resources on your behalf. For more information, see Using service roles for IoT SiteWise Monitor in the IoT SiteWise User Guide.
  5029. */
  5030. roleArn: ARN;
  5031. /**
  5032. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  5033. */
  5034. clientToken?: ClientToken;
  5035. /**
  5036. * The email address that sends alarm notifications.
  5037. */
  5038. notificationSenderEmail?: Email;
  5039. /**
  5040. * Contains the configuration information of an alarm created in an IoT SiteWise Monitor portal. You can use the alarm to monitor an asset property and get notified when the asset property value is outside a specified range. For more information, see Monitoring with alarms in the IoT SiteWise Application Guide.
  5041. */
  5042. alarms?: Alarms;
  5043. }
  5044. export interface UpdatePortalResponse {
  5045. /**
  5046. * The status of the portal, which contains a state (UPDATING after successfully calling this operation) and any error message.
  5047. */
  5048. portalStatus: PortalStatus;
  5049. }
  5050. export interface UpdateProjectRequest {
  5051. /**
  5052. * The ID of the project to update.
  5053. */
  5054. projectId: ID;
  5055. /**
  5056. * A new friendly name for the project.
  5057. */
  5058. projectName: Name;
  5059. /**
  5060. * A new description for the project.
  5061. */
  5062. projectDescription?: Description;
  5063. /**
  5064. * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
  5065. */
  5066. clientToken?: ClientToken;
  5067. }
  5068. export interface UpdateProjectResponse {
  5069. }
  5070. export type Url = string;
  5071. export interface UserIdentity {
  5072. /**
  5073. * The IAM Identity Center ID of the user.
  5074. */
  5075. id: IdentityId;
  5076. }
  5077. export type VariableName = string;
  5078. export interface VariableValue {
  5079. /**
  5080. * The ID of the property to use as the variable. You can use the property name if it's from the same asset model. If the property has an external ID, you can specify externalId: followed by the external ID. For more information, see Using external IDs in the IoT SiteWise User Guide.
  5081. */
  5082. propertyId?: Macro;
  5083. /**
  5084. * The ID of the hierarchy to query for the property ID. You can use the hierarchy's name instead of the hierarchy's ID. If the hierarchy has an external ID, you can specify externalId: followed by the external ID. For more information, see Using external IDs in the IoT SiteWise User Guide. You use a hierarchy ID instead of a model ID because you can have several hierarchies using the same model and therefore the same propertyId. For example, you might have separately grouped assets that come from the same asset model. For more information, see Asset hierarchies in the IoT SiteWise User Guide.
  5085. */
  5086. hierarchyId?: Macro;
  5087. /**
  5088. * The path of the property.
  5089. */
  5090. propertyPath?: AssetModelPropertyPath;
  5091. }
  5092. export interface Variant {
  5093. /**
  5094. * Asset property data of type string (sequence of characters).
  5095. */
  5096. stringValue?: PropertyValueStringValue;
  5097. /**
  5098. * Asset property data of type integer (number that's greater than or equal to zero).
  5099. */
  5100. integerValue?: PropertyValueIntegerValue;
  5101. /**
  5102. * Asset property data of type double (floating point number).
  5103. */
  5104. doubleValue?: PropertyValueDoubleValue;
  5105. /**
  5106. * Asset property data of type Boolean (true or false).
  5107. */
  5108. booleanValue?: PropertyValueBooleanValue;
  5109. }
  5110. export interface WarmTierRetentionPeriod {
  5111. /**
  5112. * The number of days the data is stored in the warm tier.
  5113. */
  5114. numberOfDays?: NumberOfDays;
  5115. /**
  5116. * If set to true, the data is stored indefinitely in the warm tier.
  5117. */
  5118. unlimited?: Unlimited;
  5119. }
  5120. export type WarmTierState = "ENABLED"|"DISABLED"|string;
  5121. /**
  5122. * 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.
  5123. */
  5124. export type apiVersion = "2019-12-02"|"latest"|string;
  5125. export interface ClientApiVersions {
  5126. /**
  5127. * 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.
  5128. */
  5129. apiVersion?: apiVersion;
  5130. }
  5131. export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
  5132. /**
  5133. * Contains interfaces for use with the IoTSiteWise client.
  5134. */
  5135. export import Types = IoTSiteWise;
  5136. }
  5137. export = IoTSiteWise;