dataexchange.d.ts 82 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438
  1. import {Request} from '../lib/request';
  2. import {Response} from '../lib/response';
  3. import {AWSError} from '../lib/error';
  4. import {Service} from '../lib/service';
  5. import {ServiceConfigurationOptions} from '../lib/service';
  6. import {ConfigBase as Config} from '../lib/config-base';
  7. interface Blob {}
  8. declare class DataExchange extends Service {
  9. /**
  10. * Constructs a service object. This object has one method for each API operation.
  11. */
  12. constructor(options?: DataExchange.Types.ClientConfiguration)
  13. config: Config & DataExchange.Types.ClientConfiguration;
  14. /**
  15. * This operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.
  16. */
  17. cancelJob(params: DataExchange.Types.CancelJobRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  18. /**
  19. * This operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.
  20. */
  21. cancelJob(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  22. /**
  23. * This operation creates a data set.
  24. */
  25. createDataSet(params: DataExchange.Types.CreateDataSetRequest, callback?: (err: AWSError, data: DataExchange.Types.CreateDataSetResponse) => void): Request<DataExchange.Types.CreateDataSetResponse, AWSError>;
  26. /**
  27. * This operation creates a data set.
  28. */
  29. createDataSet(callback?: (err: AWSError, data: DataExchange.Types.CreateDataSetResponse) => void): Request<DataExchange.Types.CreateDataSetResponse, AWSError>;
  30. /**
  31. * This operation creates an event action.
  32. */
  33. createEventAction(params: DataExchange.Types.CreateEventActionRequest, callback?: (err: AWSError, data: DataExchange.Types.CreateEventActionResponse) => void): Request<DataExchange.Types.CreateEventActionResponse, AWSError>;
  34. /**
  35. * This operation creates an event action.
  36. */
  37. createEventAction(callback?: (err: AWSError, data: DataExchange.Types.CreateEventActionResponse) => void): Request<DataExchange.Types.CreateEventActionResponse, AWSError>;
  38. /**
  39. * This operation creates a job.
  40. */
  41. createJob(params: DataExchange.Types.CreateJobRequest, callback?: (err: AWSError, data: DataExchange.Types.CreateJobResponse) => void): Request<DataExchange.Types.CreateJobResponse, AWSError>;
  42. /**
  43. * This operation creates a job.
  44. */
  45. createJob(callback?: (err: AWSError, data: DataExchange.Types.CreateJobResponse) => void): Request<DataExchange.Types.CreateJobResponse, AWSError>;
  46. /**
  47. * This operation creates a revision for a data set.
  48. */
  49. createRevision(params: DataExchange.Types.CreateRevisionRequest, callback?: (err: AWSError, data: DataExchange.Types.CreateRevisionResponse) => void): Request<DataExchange.Types.CreateRevisionResponse, AWSError>;
  50. /**
  51. * This operation creates a revision for a data set.
  52. */
  53. createRevision(callback?: (err: AWSError, data: DataExchange.Types.CreateRevisionResponse) => void): Request<DataExchange.Types.CreateRevisionResponse, AWSError>;
  54. /**
  55. * This operation deletes an asset.
  56. */
  57. deleteAsset(params: DataExchange.Types.DeleteAssetRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  58. /**
  59. * This operation deletes an asset.
  60. */
  61. deleteAsset(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  62. /**
  63. * This operation deletes a data set.
  64. */
  65. deleteDataSet(params: DataExchange.Types.DeleteDataSetRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  66. /**
  67. * This operation deletes a data set.
  68. */
  69. deleteDataSet(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  70. /**
  71. * This operation deletes the event action.
  72. */
  73. deleteEventAction(params: DataExchange.Types.DeleteEventActionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  74. /**
  75. * This operation deletes the event action.
  76. */
  77. deleteEventAction(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  78. /**
  79. * This operation deletes a revision.
  80. */
  81. deleteRevision(params: DataExchange.Types.DeleteRevisionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  82. /**
  83. * This operation deletes a revision.
  84. */
  85. deleteRevision(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  86. /**
  87. * This operation returns information about an asset.
  88. */
  89. getAsset(params: DataExchange.Types.GetAssetRequest, callback?: (err: AWSError, data: DataExchange.Types.GetAssetResponse) => void): Request<DataExchange.Types.GetAssetResponse, AWSError>;
  90. /**
  91. * This operation returns information about an asset.
  92. */
  93. getAsset(callback?: (err: AWSError, data: DataExchange.Types.GetAssetResponse) => void): Request<DataExchange.Types.GetAssetResponse, AWSError>;
  94. /**
  95. * This operation returns information about a data set.
  96. */
  97. getDataSet(params: DataExchange.Types.GetDataSetRequest, callback?: (err: AWSError, data: DataExchange.Types.GetDataSetResponse) => void): Request<DataExchange.Types.GetDataSetResponse, AWSError>;
  98. /**
  99. * This operation returns information about a data set.
  100. */
  101. getDataSet(callback?: (err: AWSError, data: DataExchange.Types.GetDataSetResponse) => void): Request<DataExchange.Types.GetDataSetResponse, AWSError>;
  102. /**
  103. * This operation retrieves information about an event action.
  104. */
  105. getEventAction(params: DataExchange.Types.GetEventActionRequest, callback?: (err: AWSError, data: DataExchange.Types.GetEventActionResponse) => void): Request<DataExchange.Types.GetEventActionResponse, AWSError>;
  106. /**
  107. * This operation retrieves information about an event action.
  108. */
  109. getEventAction(callback?: (err: AWSError, data: DataExchange.Types.GetEventActionResponse) => void): Request<DataExchange.Types.GetEventActionResponse, AWSError>;
  110. /**
  111. * This operation returns information about a job.
  112. */
  113. getJob(params: DataExchange.Types.GetJobRequest, callback?: (err: AWSError, data: DataExchange.Types.GetJobResponse) => void): Request<DataExchange.Types.GetJobResponse, AWSError>;
  114. /**
  115. * This operation returns information about a job.
  116. */
  117. getJob(callback?: (err: AWSError, data: DataExchange.Types.GetJobResponse) => void): Request<DataExchange.Types.GetJobResponse, AWSError>;
  118. /**
  119. * This operation returns information about a revision.
  120. */
  121. getRevision(params: DataExchange.Types.GetRevisionRequest, callback?: (err: AWSError, data: DataExchange.Types.GetRevisionResponse) => void): Request<DataExchange.Types.GetRevisionResponse, AWSError>;
  122. /**
  123. * This operation returns information about a revision.
  124. */
  125. getRevision(callback?: (err: AWSError, data: DataExchange.Types.GetRevisionResponse) => void): Request<DataExchange.Types.GetRevisionResponse, AWSError>;
  126. /**
  127. * This operation lists a data set's revisions sorted by CreatedAt in descending order.
  128. */
  129. listDataSetRevisions(params: DataExchange.Types.ListDataSetRevisionsRequest, callback?: (err: AWSError, data: DataExchange.Types.ListDataSetRevisionsResponse) => void): Request<DataExchange.Types.ListDataSetRevisionsResponse, AWSError>;
  130. /**
  131. * This operation lists a data set's revisions sorted by CreatedAt in descending order.
  132. */
  133. listDataSetRevisions(callback?: (err: AWSError, data: DataExchange.Types.ListDataSetRevisionsResponse) => void): Request<DataExchange.Types.ListDataSetRevisionsResponse, AWSError>;
  134. /**
  135. * This operation lists your data sets. When listing by origin OWNED, results are sorted by CreatedAt in descending order. When listing by origin ENTITLED, there is no order and the maxResults parameter is ignored.
  136. */
  137. listDataSets(params: DataExchange.Types.ListDataSetsRequest, callback?: (err: AWSError, data: DataExchange.Types.ListDataSetsResponse) => void): Request<DataExchange.Types.ListDataSetsResponse, AWSError>;
  138. /**
  139. * This operation lists your data sets. When listing by origin OWNED, results are sorted by CreatedAt in descending order. When listing by origin ENTITLED, there is no order and the maxResults parameter is ignored.
  140. */
  141. listDataSets(callback?: (err: AWSError, data: DataExchange.Types.ListDataSetsResponse) => void): Request<DataExchange.Types.ListDataSetsResponse, AWSError>;
  142. /**
  143. * This operation lists your event actions.
  144. */
  145. listEventActions(params: DataExchange.Types.ListEventActionsRequest, callback?: (err: AWSError, data: DataExchange.Types.ListEventActionsResponse) => void): Request<DataExchange.Types.ListEventActionsResponse, AWSError>;
  146. /**
  147. * This operation lists your event actions.
  148. */
  149. listEventActions(callback?: (err: AWSError, data: DataExchange.Types.ListEventActionsResponse) => void): Request<DataExchange.Types.ListEventActionsResponse, AWSError>;
  150. /**
  151. * This operation lists your jobs sorted by CreatedAt in descending order.
  152. */
  153. listJobs(params: DataExchange.Types.ListJobsRequest, callback?: (err: AWSError, data: DataExchange.Types.ListJobsResponse) => void): Request<DataExchange.Types.ListJobsResponse, AWSError>;
  154. /**
  155. * This operation lists your jobs sorted by CreatedAt in descending order.
  156. */
  157. listJobs(callback?: (err: AWSError, data: DataExchange.Types.ListJobsResponse) => void): Request<DataExchange.Types.ListJobsResponse, AWSError>;
  158. /**
  159. * This operation lists a revision's assets sorted alphabetically in descending order.
  160. */
  161. listRevisionAssets(params: DataExchange.Types.ListRevisionAssetsRequest, callback?: (err: AWSError, data: DataExchange.Types.ListRevisionAssetsResponse) => void): Request<DataExchange.Types.ListRevisionAssetsResponse, AWSError>;
  162. /**
  163. * This operation lists a revision's assets sorted alphabetically in descending order.
  164. */
  165. listRevisionAssets(callback?: (err: AWSError, data: DataExchange.Types.ListRevisionAssetsResponse) => void): Request<DataExchange.Types.ListRevisionAssetsResponse, AWSError>;
  166. /**
  167. * This operation lists the tags on the resource.
  168. */
  169. listTagsForResource(params: DataExchange.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: DataExchange.Types.ListTagsForResourceResponse) => void): Request<DataExchange.Types.ListTagsForResourceResponse, AWSError>;
  170. /**
  171. * This operation lists the tags on the resource.
  172. */
  173. listTagsForResource(callback?: (err: AWSError, data: DataExchange.Types.ListTagsForResourceResponse) => void): Request<DataExchange.Types.ListTagsForResourceResponse, AWSError>;
  174. /**
  175. * This operation revokes subscribers' access to a revision.
  176. */
  177. revokeRevision(params: DataExchange.Types.RevokeRevisionRequest, callback?: (err: AWSError, data: DataExchange.Types.RevokeRevisionResponse) => void): Request<DataExchange.Types.RevokeRevisionResponse, AWSError>;
  178. /**
  179. * This operation revokes subscribers' access to a revision.
  180. */
  181. revokeRevision(callback?: (err: AWSError, data: DataExchange.Types.RevokeRevisionResponse) => void): Request<DataExchange.Types.RevokeRevisionResponse, AWSError>;
  182. /**
  183. * This operation invokes an API Gateway API asset. The request is proxied to the provider’s API Gateway API.
  184. */
  185. sendApiAsset(params: DataExchange.Types.SendApiAssetRequest, callback?: (err: AWSError, data: DataExchange.Types.SendApiAssetResponse) => void): Request<DataExchange.Types.SendApiAssetResponse, AWSError>;
  186. /**
  187. * This operation invokes an API Gateway API asset. The request is proxied to the provider’s API Gateway API.
  188. */
  189. sendApiAsset(callback?: (err: AWSError, data: DataExchange.Types.SendApiAssetResponse) => void): Request<DataExchange.Types.SendApiAssetResponse, AWSError>;
  190. /**
  191. * The type of event associated with the data set.
  192. */
  193. sendDataSetNotification(params: DataExchange.Types.SendDataSetNotificationRequest, callback?: (err: AWSError, data: DataExchange.Types.SendDataSetNotificationResponse) => void): Request<DataExchange.Types.SendDataSetNotificationResponse, AWSError>;
  194. /**
  195. * The type of event associated with the data set.
  196. */
  197. sendDataSetNotification(callback?: (err: AWSError, data: DataExchange.Types.SendDataSetNotificationResponse) => void): Request<DataExchange.Types.SendDataSetNotificationResponse, AWSError>;
  198. /**
  199. * This operation starts a job.
  200. */
  201. startJob(params: DataExchange.Types.StartJobRequest, callback?: (err: AWSError, data: DataExchange.Types.StartJobResponse) => void): Request<DataExchange.Types.StartJobResponse, AWSError>;
  202. /**
  203. * This operation starts a job.
  204. */
  205. startJob(callback?: (err: AWSError, data: DataExchange.Types.StartJobResponse) => void): Request<DataExchange.Types.StartJobResponse, AWSError>;
  206. /**
  207. * This operation tags a resource.
  208. */
  209. tagResource(params: DataExchange.Types.TagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  210. /**
  211. * This operation tags a resource.
  212. */
  213. tagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  214. /**
  215. * This operation removes one or more tags from a resource.
  216. */
  217. untagResource(params: DataExchange.Types.UntagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  218. /**
  219. * This operation removes one or more tags from a resource.
  220. */
  221. untagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  222. /**
  223. * This operation updates an asset.
  224. */
  225. updateAsset(params: DataExchange.Types.UpdateAssetRequest, callback?: (err: AWSError, data: DataExchange.Types.UpdateAssetResponse) => void): Request<DataExchange.Types.UpdateAssetResponse, AWSError>;
  226. /**
  227. * This operation updates an asset.
  228. */
  229. updateAsset(callback?: (err: AWSError, data: DataExchange.Types.UpdateAssetResponse) => void): Request<DataExchange.Types.UpdateAssetResponse, AWSError>;
  230. /**
  231. * This operation updates a data set.
  232. */
  233. updateDataSet(params: DataExchange.Types.UpdateDataSetRequest, callback?: (err: AWSError, data: DataExchange.Types.UpdateDataSetResponse) => void): Request<DataExchange.Types.UpdateDataSetResponse, AWSError>;
  234. /**
  235. * This operation updates a data set.
  236. */
  237. updateDataSet(callback?: (err: AWSError, data: DataExchange.Types.UpdateDataSetResponse) => void): Request<DataExchange.Types.UpdateDataSetResponse, AWSError>;
  238. /**
  239. * This operation updates the event action.
  240. */
  241. updateEventAction(params: DataExchange.Types.UpdateEventActionRequest, callback?: (err: AWSError, data: DataExchange.Types.UpdateEventActionResponse) => void): Request<DataExchange.Types.UpdateEventActionResponse, AWSError>;
  242. /**
  243. * This operation updates the event action.
  244. */
  245. updateEventAction(callback?: (err: AWSError, data: DataExchange.Types.UpdateEventActionResponse) => void): Request<DataExchange.Types.UpdateEventActionResponse, AWSError>;
  246. /**
  247. * This operation updates a revision.
  248. */
  249. updateRevision(params: DataExchange.Types.UpdateRevisionRequest, callback?: (err: AWSError, data: DataExchange.Types.UpdateRevisionResponse) => void): Request<DataExchange.Types.UpdateRevisionResponse, AWSError>;
  250. /**
  251. * This operation updates a revision.
  252. */
  253. updateRevision(callback?: (err: AWSError, data: DataExchange.Types.UpdateRevisionResponse) => void): Request<DataExchange.Types.UpdateRevisionResponse, AWSError>;
  254. }
  255. declare namespace DataExchange {
  256. export interface Action {
  257. /**
  258. * Details for the export revision to Amazon S3 action.
  259. */
  260. ExportRevisionToS3?: AutoExportRevisionToS3RequestDetails;
  261. }
  262. export type ApiDescription = string;
  263. export interface ApiGatewayApiAsset {
  264. /**
  265. * The API description of the API asset.
  266. */
  267. ApiDescription?: ApiDescription;
  268. /**
  269. * The API endpoint of the API asset.
  270. */
  271. ApiEndpoint?: __string;
  272. /**
  273. * The unique identifier of the API asset.
  274. */
  275. ApiId?: __string;
  276. /**
  277. * The API key of the API asset.
  278. */
  279. ApiKey?: __string;
  280. /**
  281. * The API name of the API asset.
  282. */
  283. ApiName?: __string;
  284. /**
  285. * The download URL of the API specification of the API asset.
  286. */
  287. ApiSpecificationDownloadUrl?: __string;
  288. /**
  289. * The date and time that the upload URL expires, in ISO 8601 format.
  290. */
  291. ApiSpecificationDownloadUrlExpiresAt?: Timestamp;
  292. /**
  293. * The protocol type of the API asset.
  294. */
  295. ProtocolType?: ProtocolType;
  296. /**
  297. * The stage of the API asset.
  298. */
  299. Stage?: __string;
  300. }
  301. export type Arn = string;
  302. export interface AssetDestinationEntry {
  303. /**
  304. * The unique identifier for the asset.
  305. */
  306. AssetId: Id;
  307. /**
  308. * The Amazon S3 bucket that is the destination for the asset.
  309. */
  310. Bucket: __string;
  311. /**
  312. * The name of the object in Amazon S3 for the asset.
  313. */
  314. Key?: __string;
  315. }
  316. export interface AssetDetails {
  317. /**
  318. * The Amazon S3 object that is the asset.
  319. */
  320. S3SnapshotAsset?: S3SnapshotAsset;
  321. /**
  322. * The Amazon Redshift datashare that is the asset.
  323. */
  324. RedshiftDataShareAsset?: RedshiftDataShareAsset;
  325. /**
  326. * Information about the API Gateway API asset.
  327. */
  328. ApiGatewayApiAsset?: ApiGatewayApiAsset;
  329. /**
  330. * The Amazon S3 data access that is the asset.
  331. */
  332. S3DataAccessAsset?: S3DataAccessAsset;
  333. /**
  334. * The AWS Lake Formation data permission that is the asset.
  335. */
  336. LakeFormationDataPermissionAsset?: LakeFormationDataPermissionAsset;
  337. }
  338. export interface AssetEntry {
  339. /**
  340. * The ARN for the asset.
  341. */
  342. Arn: Arn;
  343. /**
  344. * Details about the asset.
  345. */
  346. AssetDetails: AssetDetails;
  347. /**
  348. * The type of asset that is added to a data set.
  349. */
  350. AssetType: AssetType;
  351. /**
  352. * The date and time that the asset was created, in ISO 8601 format.
  353. */
  354. CreatedAt: Timestamp;
  355. /**
  356. * The unique identifier for the data set associated with this asset.
  357. */
  358. DataSetId: Id;
  359. /**
  360. * The unique identifier for the asset.
  361. */
  362. Id: Id;
  363. /**
  364. * The name of the asset. When importing from Amazon S3, the Amazon S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target Amazon S3 object key. When importing from Amazon API Gateway API, the API name is used as the asset name. When importing from Amazon Redshift, the datashare name is used as the asset name. When importing from AWS Lake Formation, the static values of "Database(s) included in LF-tag policy" or "Table(s) included in LF-tag policy" are used as the asset name.
  365. */
  366. Name: AssetName;
  367. /**
  368. * The unique identifier for the revision associated with this asset.
  369. */
  370. RevisionId: Id;
  371. /**
  372. * The asset ID of the owned asset corresponding to the entitled asset being viewed. This parameter is returned when an asset owner is viewing the entitled copy of its owned asset.
  373. */
  374. SourceId?: Id;
  375. /**
  376. * The date and time that the asset was last updated, in ISO 8601 format.
  377. */
  378. UpdatedAt: Timestamp;
  379. }
  380. export type AssetName = string;
  381. export interface AssetSourceEntry {
  382. /**
  383. * The Amazon S3 bucket that's part of the source of the asset.
  384. */
  385. Bucket: __string;
  386. /**
  387. * The name of the object in Amazon S3 for the asset.
  388. */
  389. Key: __string;
  390. }
  391. export type AssetType = "S3_SNAPSHOT"|"REDSHIFT_DATA_SHARE"|"API_GATEWAY_API"|"S3_DATA_ACCESS"|"LAKE_FORMATION_DATA_PERMISSION"|string;
  392. export interface AutoExportRevisionDestinationEntry {
  393. /**
  394. * The Amazon S3 bucket that is the destination for the event action.
  395. */
  396. Bucket: __string;
  397. /**
  398. * A string representing the pattern for generated names of the individual assets in the revision. For more information about key patterns, see Key patterns when exporting revisions.
  399. */
  400. KeyPattern?: __string;
  401. }
  402. export interface AutoExportRevisionToS3RequestDetails {
  403. /**
  404. * Encryption configuration for the auto export job.
  405. */
  406. Encryption?: ExportServerSideEncryption;
  407. /**
  408. * A revision destination is the Amazon S3 bucket folder destination to where the export will be sent.
  409. */
  410. RevisionDestination: AutoExportRevisionDestinationEntry;
  411. }
  412. export type AwsAccountId = string;
  413. export interface CancelJobRequest {
  414. /**
  415. * The unique identifier for a job.
  416. */
  417. JobId: __string;
  418. }
  419. export type ClientToken = string;
  420. export type Code = "ACCESS_DENIED_EXCEPTION"|"INTERNAL_SERVER_EXCEPTION"|"MALWARE_DETECTED"|"RESOURCE_NOT_FOUND_EXCEPTION"|"SERVICE_QUOTA_EXCEEDED_EXCEPTION"|"VALIDATION_EXCEPTION"|"MALWARE_SCAN_ENCRYPTED_FILE"|string;
  421. export interface CreateDataSetRequest {
  422. /**
  423. * The type of asset that is added to a data set.
  424. */
  425. AssetType: AssetType;
  426. /**
  427. * A description for the data set. This value can be up to 16,348 characters long.
  428. */
  429. Description: Description;
  430. /**
  431. * The name of the data set.
  432. */
  433. Name: Name;
  434. /**
  435. * A data set tag is an optional label that you can assign to a data set when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to these data sets and revisions.
  436. */
  437. Tags?: MapOf__string;
  438. }
  439. export interface CreateDataSetResponse {
  440. /**
  441. * The ARN for the data set.
  442. */
  443. Arn?: Arn;
  444. /**
  445. * The type of asset that is added to a data set.
  446. */
  447. AssetType?: AssetType;
  448. /**
  449. * The date and time that the data set was created, in ISO 8601 format.
  450. */
  451. CreatedAt?: Timestamp;
  452. /**
  453. * The description for the data set.
  454. */
  455. Description?: Description;
  456. /**
  457. * The unique identifier for the data set.
  458. */
  459. Id?: Id;
  460. /**
  461. * The name of the data set.
  462. */
  463. Name?: Name;
  464. /**
  465. * A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).
  466. */
  467. Origin?: Origin;
  468. /**
  469. * If the origin of this data set is ENTITLED, includes the details for the product on AWS Marketplace.
  470. */
  471. OriginDetails?: OriginDetails;
  472. /**
  473. * The data set ID of the owned data set corresponding to the entitled data set being viewed. This parameter is returned when a data set owner is viewing the entitled copy of its owned data set.
  474. */
  475. SourceId?: Id;
  476. /**
  477. * The tags for the data set.
  478. */
  479. Tags?: MapOf__string;
  480. /**
  481. * The date and time that the data set was last updated, in ISO 8601 format.
  482. */
  483. UpdatedAt?: Timestamp;
  484. }
  485. export interface CreateEventActionRequest {
  486. /**
  487. * What occurs after a certain event.
  488. */
  489. Action: Action;
  490. /**
  491. * What occurs to start an action.
  492. */
  493. Event: Event;
  494. }
  495. export interface CreateEventActionResponse {
  496. /**
  497. * What occurs after a certain event.
  498. */
  499. Action?: Action;
  500. /**
  501. * The ARN for the event action.
  502. */
  503. Arn?: Arn;
  504. /**
  505. * The date and time that the event action was created, in ISO 8601 format.
  506. */
  507. CreatedAt?: Timestamp;
  508. /**
  509. * What occurs to start an action.
  510. */
  511. Event?: Event;
  512. /**
  513. * The unique identifier for the event action.
  514. */
  515. Id?: Id;
  516. /**
  517. * The date and time that the event action was last updated, in ISO 8601 format.
  518. */
  519. UpdatedAt?: Timestamp;
  520. }
  521. export interface CreateJobRequest {
  522. /**
  523. * The details for the CreateJob request.
  524. */
  525. Details: RequestDetails;
  526. /**
  527. * The type of job to be created.
  528. */
  529. Type: Type;
  530. }
  531. export interface CreateJobResponse {
  532. /**
  533. * The ARN for the job.
  534. */
  535. Arn?: Arn;
  536. /**
  537. * The date and time that the job was created, in ISO 8601 format.
  538. */
  539. CreatedAt?: Timestamp;
  540. /**
  541. * Details about the job.
  542. */
  543. Details?: ResponseDetails;
  544. /**
  545. * The errors associated with jobs.
  546. */
  547. Errors?: ListOfJobError;
  548. /**
  549. * The unique identifier for the job.
  550. */
  551. Id?: Id;
  552. /**
  553. * The state of the job.
  554. */
  555. State?: State;
  556. /**
  557. * The job type.
  558. */
  559. Type?: Type;
  560. /**
  561. * The date and time that the job was last updated, in ISO 8601 format.
  562. */
  563. UpdatedAt?: Timestamp;
  564. }
  565. export interface CreateRevisionRequest {
  566. /**
  567. * An optional comment about the revision.
  568. */
  569. Comment?: __stringMin0Max16384;
  570. /**
  571. * The unique identifier for a data set.
  572. */
  573. DataSetId: __string;
  574. /**
  575. * A revision tag is an optional label that you can assign to a revision when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to these data sets and revisions.
  576. */
  577. Tags?: MapOf__string;
  578. }
  579. export interface CreateRevisionResponse {
  580. /**
  581. * The ARN for the revision.
  582. */
  583. Arn?: Arn;
  584. /**
  585. * An optional comment about the revision.
  586. */
  587. Comment?: __stringMin0Max16384;
  588. /**
  589. * The date and time that the revision was created, in ISO 8601 format.
  590. */
  591. CreatedAt?: Timestamp;
  592. /**
  593. * The unique identifier for the data set associated with the data set revision.
  594. */
  595. DataSetId?: Id;
  596. /**
  597. * To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.
  598. */
  599. Finalized?: __boolean;
  600. /**
  601. * The unique identifier for the revision.
  602. */
  603. Id?: Id;
  604. /**
  605. * The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter is returned when a revision owner is viewing the entitled copy of its owned revision.
  606. */
  607. SourceId?: Id;
  608. /**
  609. * The tags for the revision.
  610. */
  611. Tags?: MapOf__string;
  612. /**
  613. * The date and time that the revision was last updated, in ISO 8601 format.
  614. */
  615. UpdatedAt?: Timestamp;
  616. /**
  617. * A required comment to inform subscribers of the reason their access to the revision was revoked.
  618. */
  619. RevocationComment?: __stringMin10Max512;
  620. /**
  621. * A status indicating that subscribers' access to the revision was revoked.
  622. */
  623. Revoked?: __boolean;
  624. /**
  625. * The date and time that the revision was revoked, in ISO 8601 format.
  626. */
  627. RevokedAt?: Timestamp;
  628. }
  629. export interface CreateS3DataAccessFromS3BucketRequestDetails {
  630. /**
  631. * Details about the S3 data access source asset.
  632. */
  633. AssetSource: S3DataAccessAssetSourceEntry;
  634. /**
  635. * The unique identifier for the data set associated with the creation of this Amazon S3 data access.
  636. */
  637. DataSetId: Id;
  638. /**
  639. * The unique identifier for a revision.
  640. */
  641. RevisionId: Id;
  642. }
  643. export interface CreateS3DataAccessFromS3BucketResponseDetails {
  644. /**
  645. * Details about the asset source from an Amazon S3 bucket.
  646. */
  647. AssetSource: S3DataAccessAssetSourceEntry;
  648. /**
  649. * The unique identifier for this data set.
  650. */
  651. DataSetId: Id;
  652. /**
  653. * The unique identifier for the revision.
  654. */
  655. RevisionId: Id;
  656. }
  657. export interface DataSetEntry {
  658. /**
  659. * The ARN for the data set.
  660. */
  661. Arn: Arn;
  662. /**
  663. * The type of asset that is added to a data set.
  664. */
  665. AssetType: AssetType;
  666. /**
  667. * The date and time that the data set was created, in ISO 8601 format.
  668. */
  669. CreatedAt: Timestamp;
  670. /**
  671. * The description for the data set.
  672. */
  673. Description: Description;
  674. /**
  675. * The unique identifier for the data set.
  676. */
  677. Id: Id;
  678. /**
  679. * The name of the data set.
  680. */
  681. Name: Name;
  682. /**
  683. * A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).
  684. */
  685. Origin: Origin;
  686. /**
  687. * If the origin of this data set is ENTITLED, includes the details for the product on AWS Marketplace.
  688. */
  689. OriginDetails?: OriginDetails;
  690. /**
  691. * The data set ID of the owned data set corresponding to the entitled data set being viewed. This parameter is returned when a data set owner is viewing the entitled copy of its owned data set.
  692. */
  693. SourceId?: Id;
  694. /**
  695. * The date and time that the data set was last updated, in ISO 8601 format.
  696. */
  697. UpdatedAt: Timestamp;
  698. }
  699. export interface DataUpdateRequestDetails {
  700. /**
  701. * A datetime in the past when the data was updated. This typically means that the underlying resource supporting the data set was updated.
  702. */
  703. DataUpdatedAt?: Timestamp;
  704. }
  705. export interface DatabaseLFTagPolicy {
  706. /**
  707. * A list of LF-tag conditions that apply to database resources.
  708. */
  709. Expression: ListOfLFTags;
  710. }
  711. export interface DatabaseLFTagPolicyAndPermissions {
  712. /**
  713. * A list of LF-tag conditions that apply to database resources.
  714. */
  715. Expression: ListOfLFTags;
  716. /**
  717. * The permissions granted to subscribers on database resources.
  718. */
  719. Permissions: ListOfDatabaseLFTagPolicyPermissions;
  720. }
  721. export type DatabaseLFTagPolicyPermission = "DESCRIBE"|string;
  722. export interface DeleteAssetRequest {
  723. /**
  724. * The unique identifier for an asset.
  725. */
  726. AssetId: __string;
  727. /**
  728. * The unique identifier for a data set.
  729. */
  730. DataSetId: __string;
  731. /**
  732. * The unique identifier for a revision.
  733. */
  734. RevisionId: __string;
  735. }
  736. export interface DeleteDataSetRequest {
  737. /**
  738. * The unique identifier for a data set.
  739. */
  740. DataSetId: __string;
  741. }
  742. export interface DeleteEventActionRequest {
  743. /**
  744. * The unique identifier for the event action.
  745. */
  746. EventActionId: __string;
  747. }
  748. export interface DeleteRevisionRequest {
  749. /**
  750. * The unique identifier for a data set.
  751. */
  752. DataSetId: __string;
  753. /**
  754. * The unique identifier for a revision.
  755. */
  756. RevisionId: __string;
  757. }
  758. export interface DeprecationRequestDetails {
  759. /**
  760. * A datetime in the future when the data set will be deprecated.
  761. */
  762. DeprecationAt: Timestamp;
  763. }
  764. export type Description = string;
  765. export interface Details {
  766. /**
  767. * Information about the job error.
  768. */
  769. ImportAssetFromSignedUrlJobErrorDetails?: ImportAssetFromSignedUrlJobErrorDetails;
  770. /**
  771. * Details about the job error.
  772. */
  773. ImportAssetsFromS3JobErrorDetails?: ListOfAssetSourceEntry;
  774. }
  775. export interface Event {
  776. /**
  777. * What occurs to start the revision publish action.
  778. */
  779. RevisionPublished?: RevisionPublished;
  780. }
  781. export interface EventActionEntry {
  782. /**
  783. * What occurs after a certain event.
  784. */
  785. Action: Action;
  786. /**
  787. * The Amazon Resource Name (ARN) for the event action.
  788. */
  789. Arn: Arn;
  790. /**
  791. * The date and time that the event action was created, in ISO 8601 format.
  792. */
  793. CreatedAt: Timestamp;
  794. /**
  795. * What occurs to start an action.
  796. */
  797. Event: Event;
  798. /**
  799. * The unique identifier for the event action.
  800. */
  801. Id: Id;
  802. /**
  803. * The date and time that the event action was last updated, in ISO 8601 format.
  804. */
  805. UpdatedAt: Timestamp;
  806. }
  807. export interface ExportAssetToSignedUrlRequestDetails {
  808. /**
  809. * The unique identifier for the asset that is exported to a signed URL.
  810. */
  811. AssetId: Id;
  812. /**
  813. * The unique identifier for the data set associated with this export job.
  814. */
  815. DataSetId: Id;
  816. /**
  817. * The unique identifier for the revision associated with this export request.
  818. */
  819. RevisionId: Id;
  820. }
  821. export interface ExportAssetToSignedUrlResponseDetails {
  822. /**
  823. * The unique identifier for the asset associated with this export job.
  824. */
  825. AssetId: Id;
  826. /**
  827. * The unique identifier for the data set associated with this export job.
  828. */
  829. DataSetId: Id;
  830. /**
  831. * The unique identifier for the revision associated with this export response.
  832. */
  833. RevisionId: Id;
  834. /**
  835. * The signed URL for the export request.
  836. */
  837. SignedUrl?: __string;
  838. /**
  839. * The date and time that the signed URL expires, in ISO 8601 format.
  840. */
  841. SignedUrlExpiresAt?: Timestamp;
  842. }
  843. export interface ExportAssetsToS3RequestDetails {
  844. /**
  845. * The destination for the asset.
  846. */
  847. AssetDestinations: ListOfAssetDestinationEntry;
  848. /**
  849. * The unique identifier for the data set associated with this export job.
  850. */
  851. DataSetId: Id;
  852. /**
  853. * Encryption configuration for the export job.
  854. */
  855. Encryption?: ExportServerSideEncryption;
  856. /**
  857. * The unique identifier for the revision associated with this export request.
  858. */
  859. RevisionId: Id;
  860. }
  861. export interface ExportAssetsToS3ResponseDetails {
  862. /**
  863. * The destination in Amazon S3 where the asset is exported.
  864. */
  865. AssetDestinations: ListOfAssetDestinationEntry;
  866. /**
  867. * The unique identifier for the data set associated with this export job.
  868. */
  869. DataSetId: Id;
  870. /**
  871. * Encryption configuration of the export job.
  872. */
  873. Encryption?: ExportServerSideEncryption;
  874. /**
  875. * The unique identifier for the revision associated with this export response.
  876. */
  877. RevisionId: Id;
  878. }
  879. export interface ExportRevisionsToS3RequestDetails {
  880. /**
  881. * The unique identifier for the data set associated with this export job.
  882. */
  883. DataSetId: Id;
  884. /**
  885. * Encryption configuration for the export job.
  886. */
  887. Encryption?: ExportServerSideEncryption;
  888. /**
  889. * The destination for the revision.
  890. */
  891. RevisionDestinations: ListOfRevisionDestinationEntry;
  892. }
  893. export interface ExportRevisionsToS3ResponseDetails {
  894. /**
  895. * The unique identifier for the data set associated with this export job.
  896. */
  897. DataSetId: Id;
  898. /**
  899. * Encryption configuration of the export job.
  900. */
  901. Encryption?: ExportServerSideEncryption;
  902. /**
  903. * The destination in Amazon S3 where the revision is exported.
  904. */
  905. RevisionDestinations: ListOfRevisionDestinationEntry;
  906. /**
  907. * The Amazon Resource Name (ARN) of the event action.
  908. */
  909. EventActionArn?: __string;
  910. }
  911. export interface ExportServerSideEncryption {
  912. /**
  913. * The Amazon Resource Name (ARN) of the AWS KMS key you want to use to encrypt the Amazon S3 objects. This parameter is required if you choose aws:kms as an encryption type.
  914. */
  915. KmsKeyArn?: __string;
  916. /**
  917. * The type of server side encryption used for encrypting the objects in Amazon S3.
  918. */
  919. Type: ServerSideEncryptionTypes;
  920. }
  921. export interface GetAssetRequest {
  922. /**
  923. * The unique identifier for an asset.
  924. */
  925. AssetId: __string;
  926. /**
  927. * The unique identifier for a data set.
  928. */
  929. DataSetId: __string;
  930. /**
  931. * The unique identifier for a revision.
  932. */
  933. RevisionId: __string;
  934. }
  935. export interface GetAssetResponse {
  936. /**
  937. * The ARN for the asset.
  938. */
  939. Arn?: Arn;
  940. /**
  941. * Details about the asset.
  942. */
  943. AssetDetails?: AssetDetails;
  944. /**
  945. * The type of asset that is added to a data set.
  946. */
  947. AssetType?: AssetType;
  948. /**
  949. * The date and time that the asset was created, in ISO 8601 format.
  950. */
  951. CreatedAt?: Timestamp;
  952. /**
  953. * The unique identifier for the data set associated with this asset.
  954. */
  955. DataSetId?: Id;
  956. /**
  957. * The unique identifier for the asset.
  958. */
  959. Id?: Id;
  960. /**
  961. * The name of the asset. When importing from Amazon S3, the Amazon S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target Amazon S3 object key. When importing from Amazon API Gateway API, the API name is used as the asset name. When importing from Amazon Redshift, the datashare name is used as the asset name. When importing from AWS Lake Formation, the static values of "Database(s) included in the LF-tag policy" or "Table(s) included in the LF-tag policy" are used as the asset name.
  962. */
  963. Name?: AssetName;
  964. /**
  965. * The unique identifier for the revision associated with this asset.
  966. */
  967. RevisionId?: Id;
  968. /**
  969. * The asset ID of the owned asset corresponding to the entitled asset being viewed. This parameter is returned when an asset owner is viewing the entitled copy of its owned asset.
  970. */
  971. SourceId?: Id;
  972. /**
  973. * The date and time that the asset was last updated, in ISO 8601 format.
  974. */
  975. UpdatedAt?: Timestamp;
  976. }
  977. export interface GetDataSetRequest {
  978. /**
  979. * The unique identifier for a data set.
  980. */
  981. DataSetId: __string;
  982. }
  983. export interface GetDataSetResponse {
  984. /**
  985. * The ARN for the data set.
  986. */
  987. Arn?: Arn;
  988. /**
  989. * The type of asset that is added to a data set.
  990. */
  991. AssetType?: AssetType;
  992. /**
  993. * The date and time that the data set was created, in ISO 8601 format.
  994. */
  995. CreatedAt?: Timestamp;
  996. /**
  997. * The description for the data set.
  998. */
  999. Description?: Description;
  1000. /**
  1001. * The unique identifier for the data set.
  1002. */
  1003. Id?: Id;
  1004. /**
  1005. * The name of the data set.
  1006. */
  1007. Name?: Name;
  1008. /**
  1009. * A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).
  1010. */
  1011. Origin?: Origin;
  1012. /**
  1013. * If the origin of this data set is ENTITLED, includes the details for the product on AWS Marketplace.
  1014. */
  1015. OriginDetails?: OriginDetails;
  1016. /**
  1017. * The data set ID of the owned data set corresponding to the entitled data set being viewed. This parameter is returned when a data set owner is viewing the entitled copy of its owned data set.
  1018. */
  1019. SourceId?: Id;
  1020. /**
  1021. * The tags for the data set.
  1022. */
  1023. Tags?: MapOf__string;
  1024. /**
  1025. * The date and time that the data set was last updated, in ISO 8601 format.
  1026. */
  1027. UpdatedAt?: Timestamp;
  1028. }
  1029. export interface GetEventActionRequest {
  1030. /**
  1031. * The unique identifier for the event action.
  1032. */
  1033. EventActionId: __string;
  1034. }
  1035. export interface GetEventActionResponse {
  1036. /**
  1037. * What occurs after a certain event.
  1038. */
  1039. Action?: Action;
  1040. /**
  1041. * The ARN for the event action.
  1042. */
  1043. Arn?: Arn;
  1044. /**
  1045. * The date and time that the event action was created, in ISO 8601 format.
  1046. */
  1047. CreatedAt?: Timestamp;
  1048. /**
  1049. * What occurs to start an action.
  1050. */
  1051. Event?: Event;
  1052. /**
  1053. * The unique identifier for the event action.
  1054. */
  1055. Id?: Id;
  1056. /**
  1057. * The date and time that the event action was last updated, in ISO 8601 format.
  1058. */
  1059. UpdatedAt?: Timestamp;
  1060. }
  1061. export interface GetJobRequest {
  1062. /**
  1063. * The unique identifier for a job.
  1064. */
  1065. JobId: __string;
  1066. }
  1067. export interface GetJobResponse {
  1068. /**
  1069. * The ARN for the job.
  1070. */
  1071. Arn?: Arn;
  1072. /**
  1073. * The date and time that the job was created, in ISO 8601 format.
  1074. */
  1075. CreatedAt?: Timestamp;
  1076. /**
  1077. * Details about the job.
  1078. */
  1079. Details?: ResponseDetails;
  1080. /**
  1081. * The errors associated with jobs.
  1082. */
  1083. Errors?: ListOfJobError;
  1084. /**
  1085. * The unique identifier for the job.
  1086. */
  1087. Id?: Id;
  1088. /**
  1089. * The state of the job.
  1090. */
  1091. State?: State;
  1092. /**
  1093. * The job type.
  1094. */
  1095. Type?: Type;
  1096. /**
  1097. * The date and time that the job was last updated, in ISO 8601 format.
  1098. */
  1099. UpdatedAt?: Timestamp;
  1100. }
  1101. export interface GetRevisionRequest {
  1102. /**
  1103. * The unique identifier for a data set.
  1104. */
  1105. DataSetId: __string;
  1106. /**
  1107. * The unique identifier for a revision.
  1108. */
  1109. RevisionId: __string;
  1110. }
  1111. export interface GetRevisionResponse {
  1112. /**
  1113. * The ARN for the revision.
  1114. */
  1115. Arn?: Arn;
  1116. /**
  1117. * An optional comment about the revision.
  1118. */
  1119. Comment?: __stringMin0Max16384;
  1120. /**
  1121. * The date and time that the revision was created, in ISO 8601 format.
  1122. */
  1123. CreatedAt?: Timestamp;
  1124. /**
  1125. * The unique identifier for the data set associated with the data set revision.
  1126. */
  1127. DataSetId?: Id;
  1128. /**
  1129. * To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.
  1130. */
  1131. Finalized?: __boolean;
  1132. /**
  1133. * The unique identifier for the revision.
  1134. */
  1135. Id?: Id;
  1136. /**
  1137. * The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter is returned when a revision owner is viewing the entitled copy of its owned revision.
  1138. */
  1139. SourceId?: Id;
  1140. /**
  1141. * The tags for the revision.
  1142. */
  1143. Tags?: MapOf__string;
  1144. /**
  1145. * The date and time that the revision was last updated, in ISO 8601 format.
  1146. */
  1147. UpdatedAt?: Timestamp;
  1148. /**
  1149. * A required comment to inform subscribers of the reason their access to the revision was revoked.
  1150. */
  1151. RevocationComment?: __stringMin10Max512;
  1152. /**
  1153. * A status indicating that subscribers' access to the revision was revoked.
  1154. */
  1155. Revoked?: __boolean;
  1156. /**
  1157. * The date and time that the revision was revoked, in ISO 8601 format.
  1158. */
  1159. RevokedAt?: Timestamp;
  1160. }
  1161. export type Id = string;
  1162. export interface ImportAssetFromApiGatewayApiRequestDetails {
  1163. /**
  1164. * The API description. Markdown supported.
  1165. */
  1166. ApiDescription?: ApiDescription;
  1167. /**
  1168. * The API Gateway API ID.
  1169. */
  1170. ApiId: __string;
  1171. /**
  1172. * The API Gateway API key.
  1173. */
  1174. ApiKey?: __string;
  1175. /**
  1176. * The API name.
  1177. */
  1178. ApiName: __string;
  1179. /**
  1180. * The Base64-encoded MD5 hash of the OpenAPI 3.0 JSON API specification file. It is used to ensure the integrity of the file.
  1181. */
  1182. ApiSpecificationMd5Hash: __stringMin24Max24PatternAZaZ094AZaZ092AZaZ093;
  1183. /**
  1184. * The data set ID.
  1185. */
  1186. DataSetId: Id;
  1187. /**
  1188. * The protocol type.
  1189. */
  1190. ProtocolType: ProtocolType;
  1191. /**
  1192. * The revision ID.
  1193. */
  1194. RevisionId: Id;
  1195. /**
  1196. * The API stage.
  1197. */
  1198. Stage: __string;
  1199. }
  1200. export interface ImportAssetFromApiGatewayApiResponseDetails {
  1201. /**
  1202. * The API description.
  1203. */
  1204. ApiDescription?: ApiDescription;
  1205. /**
  1206. * The API ID.
  1207. */
  1208. ApiId: __string;
  1209. /**
  1210. * The API key.
  1211. */
  1212. ApiKey?: __string;
  1213. /**
  1214. * The API name.
  1215. */
  1216. ApiName: __string;
  1217. /**
  1218. * The Base64-encoded Md5 hash for the API asset, used to ensure the integrity of the API at that location.
  1219. */
  1220. ApiSpecificationMd5Hash: __stringMin24Max24PatternAZaZ094AZaZ092AZaZ093;
  1221. /**
  1222. * The upload URL of the API specification.
  1223. */
  1224. ApiSpecificationUploadUrl: __string;
  1225. /**
  1226. * The date and time that the upload URL expires, in ISO 8601 format.
  1227. */
  1228. ApiSpecificationUploadUrlExpiresAt: Timestamp;
  1229. /**
  1230. * The data set ID.
  1231. */
  1232. DataSetId: Id;
  1233. /**
  1234. * The protocol type.
  1235. */
  1236. ProtocolType: ProtocolType;
  1237. /**
  1238. * The revision ID.
  1239. */
  1240. RevisionId: Id;
  1241. /**
  1242. * The API stage.
  1243. */
  1244. Stage: __string;
  1245. }
  1246. export interface ImportAssetFromSignedUrlJobErrorDetails {
  1247. /**
  1248. * Details about the job error.
  1249. */
  1250. AssetName: AssetName;
  1251. }
  1252. export interface ImportAssetFromSignedUrlRequestDetails {
  1253. /**
  1254. * The name of the asset. When importing from Amazon S3, the Amazon S3 object key is used as the asset name.
  1255. */
  1256. AssetName: AssetName;
  1257. /**
  1258. * The unique identifier for the data set associated with this import job.
  1259. */
  1260. DataSetId: Id;
  1261. /**
  1262. * The Base64-encoded Md5 hash for the asset, used to ensure the integrity of the file at that location.
  1263. */
  1264. Md5Hash: __stringMin24Max24PatternAZaZ094AZaZ092AZaZ093;
  1265. /**
  1266. * The unique identifier for the revision associated with this import request.
  1267. */
  1268. RevisionId: Id;
  1269. }
  1270. export interface ImportAssetFromSignedUrlResponseDetails {
  1271. /**
  1272. * The name for the asset associated with this import job.
  1273. */
  1274. AssetName: AssetName;
  1275. /**
  1276. * The unique identifier for the data set associated with this import job.
  1277. */
  1278. DataSetId: Id;
  1279. /**
  1280. * The Base64-encoded Md5 hash for the asset, used to ensure the integrity of the file at that location.
  1281. */
  1282. Md5Hash?: __stringMin24Max24PatternAZaZ094AZaZ092AZaZ093;
  1283. /**
  1284. * The unique identifier for the revision associated with this import response.
  1285. */
  1286. RevisionId: Id;
  1287. /**
  1288. * The signed URL.
  1289. */
  1290. SignedUrl?: __string;
  1291. /**
  1292. * The time and date at which the signed URL expires, in ISO 8601 format.
  1293. */
  1294. SignedUrlExpiresAt?: Timestamp;
  1295. }
  1296. export interface ImportAssetsFromLakeFormationTagPolicyRequestDetails {
  1297. /**
  1298. * The identifier for the AWS Glue Data Catalog.
  1299. */
  1300. CatalogId: AwsAccountId;
  1301. /**
  1302. * A structure for the database object.
  1303. */
  1304. Database?: DatabaseLFTagPolicyAndPermissions;
  1305. /**
  1306. * A structure for the table object.
  1307. */
  1308. Table?: TableLFTagPolicyAndPermissions;
  1309. /**
  1310. * The IAM role's ARN that allows AWS Data Exchange to assume the role and grant and revoke permissions of subscribers to AWS Lake Formation data permissions.
  1311. */
  1312. RoleArn: RoleArn;
  1313. /**
  1314. * The unique identifier for the data set associated with this import job.
  1315. */
  1316. DataSetId: Id;
  1317. /**
  1318. * The unique identifier for the revision associated with this import job.
  1319. */
  1320. RevisionId: Id;
  1321. }
  1322. export interface ImportAssetsFromLakeFormationTagPolicyResponseDetails {
  1323. /**
  1324. * The identifier for the AWS Glue Data Catalog.
  1325. */
  1326. CatalogId: AwsAccountId;
  1327. /**
  1328. * A structure for the database object.
  1329. */
  1330. Database?: DatabaseLFTagPolicyAndPermissions;
  1331. /**
  1332. * A structure for the table object.
  1333. */
  1334. Table?: TableLFTagPolicyAndPermissions;
  1335. /**
  1336. * The IAM role's ARN that allows AWS Data Exchange to assume the role and grant and revoke permissions to AWS Lake Formation data permissions.
  1337. */
  1338. RoleArn: RoleArn;
  1339. /**
  1340. * The unique identifier for the data set associated with this import job.
  1341. */
  1342. DataSetId: Id;
  1343. /**
  1344. * The unique identifier for the revision associated with this import job.
  1345. */
  1346. RevisionId: Id;
  1347. }
  1348. export interface ImportAssetsFromRedshiftDataSharesRequestDetails {
  1349. /**
  1350. * A list of Amazon Redshift datashare assets.
  1351. */
  1352. AssetSources: ListOfRedshiftDataShareAssetSourceEntry;
  1353. /**
  1354. * The unique identifier for the data set associated with this import job.
  1355. */
  1356. DataSetId: Id;
  1357. /**
  1358. * The unique identifier for the revision associated with this import job.
  1359. */
  1360. RevisionId: Id;
  1361. }
  1362. export interface ImportAssetsFromRedshiftDataSharesResponseDetails {
  1363. /**
  1364. * A list of Amazon Redshift datashare asset sources.
  1365. */
  1366. AssetSources: ListOfRedshiftDataShareAssetSourceEntry;
  1367. /**
  1368. * The unique identifier for the data set associated with this import job.
  1369. */
  1370. DataSetId: Id;
  1371. /**
  1372. * The unique identifier for the revision associated with this import job.
  1373. */
  1374. RevisionId: Id;
  1375. }
  1376. export interface ImportAssetsFromS3RequestDetails {
  1377. /**
  1378. * Is a list of Amazon S3 bucket and object key pairs.
  1379. */
  1380. AssetSources: ListOfAssetSourceEntry;
  1381. /**
  1382. * The unique identifier for the data set associated with this import job.
  1383. */
  1384. DataSetId: Id;
  1385. /**
  1386. * The unique identifier for the revision associated with this import request.
  1387. */
  1388. RevisionId: Id;
  1389. }
  1390. export interface ImportAssetsFromS3ResponseDetails {
  1391. /**
  1392. * Is a list of Amazon S3 bucket and object key pairs.
  1393. */
  1394. AssetSources: ListOfAssetSourceEntry;
  1395. /**
  1396. * The unique identifier for the data set associated with this import job.
  1397. */
  1398. DataSetId: Id;
  1399. /**
  1400. * The unique identifier for the revision associated with this import response.
  1401. */
  1402. RevisionId: Id;
  1403. }
  1404. export interface JobEntry {
  1405. /**
  1406. * The ARN for the job.
  1407. */
  1408. Arn: Arn;
  1409. /**
  1410. * The date and time that the job was created, in ISO 8601 format.
  1411. */
  1412. CreatedAt: Timestamp;
  1413. /**
  1414. * Details of the operation to be performed by the job, such as export destination details or import source details.
  1415. */
  1416. Details: ResponseDetails;
  1417. /**
  1418. * Errors for jobs.
  1419. */
  1420. Errors?: ListOfJobError;
  1421. /**
  1422. * The unique identifier for the job.
  1423. */
  1424. Id: Id;
  1425. /**
  1426. * The state of the job.
  1427. */
  1428. State: State;
  1429. /**
  1430. * The job type.
  1431. */
  1432. Type: Type;
  1433. /**
  1434. * The date and time that the job was last updated, in ISO 8601 format.
  1435. */
  1436. UpdatedAt: Timestamp;
  1437. }
  1438. export interface JobError {
  1439. /**
  1440. * The code for the job error.
  1441. */
  1442. Code: Code;
  1443. /**
  1444. * The details about the job error.
  1445. */
  1446. Details?: Details;
  1447. /**
  1448. * The name of the limit that was reached.
  1449. */
  1450. LimitName?: JobErrorLimitName;
  1451. /**
  1452. * The value of the exceeded limit.
  1453. */
  1454. LimitValue?: __double;
  1455. /**
  1456. * The message related to the job error.
  1457. */
  1458. Message: __string;
  1459. /**
  1460. * The unique identifier for the resource related to the error.
  1461. */
  1462. ResourceId?: __string;
  1463. /**
  1464. * The type of resource related to the error.
  1465. */
  1466. ResourceType?: JobErrorResourceTypes;
  1467. }
  1468. export type JobErrorLimitName = "Assets per revision"|"Asset size in GB"|"Amazon Redshift datashare assets per revision"|"AWS Lake Formation data permission assets per revision"|"Amazon S3 data access assets per revision"|string;
  1469. export type JobErrorResourceTypes = "REVISION"|"ASSET"|"DATA_SET"|string;
  1470. export type KmsKeyArn = string;
  1471. export interface KmsKeyToGrant {
  1472. /**
  1473. * The AWS KMS CMK (Key Management System Customer Managed Key) used to encrypt S3 objects in the shared S3 Bucket. AWS Data exchange will create a KMS grant for each subscriber to allow them to access and decrypt their entitled data that is encrypted using this KMS key specified.
  1474. */
  1475. KmsKeyArn: KmsKeyArn;
  1476. }
  1477. export type LFPermission = "DESCRIBE"|"SELECT"|string;
  1478. export interface LFResourceDetails {
  1479. /**
  1480. * Details about the database resource included in the AWS Lake Formation data permission.
  1481. */
  1482. Database?: DatabaseLFTagPolicy;
  1483. /**
  1484. * Details about the table resource included in the AWS Lake Formation data permission.
  1485. */
  1486. Table?: TableLFTagPolicy;
  1487. }
  1488. export type LFResourceType = "TABLE"|"DATABASE"|string;
  1489. export interface LFTag {
  1490. /**
  1491. * The key name for the LF-tag.
  1492. */
  1493. TagKey: String;
  1494. /**
  1495. * A list of LF-tag values.
  1496. */
  1497. TagValues: ListOfLFTagValues;
  1498. }
  1499. export interface LFTagPolicyDetails {
  1500. /**
  1501. * The identifier for the AWS Glue Data Catalog.
  1502. */
  1503. CatalogId: AwsAccountId;
  1504. /**
  1505. * The resource type for which the LF-tag policy applies.
  1506. */
  1507. ResourceType: LFResourceType;
  1508. /**
  1509. * Details for the Lake Formation Resources included in the LF-tag policy.
  1510. */
  1511. ResourceDetails: LFResourceDetails;
  1512. }
  1513. export interface LakeFormationDataPermissionAsset {
  1514. /**
  1515. * Details about the AWS Lake Formation data permission.
  1516. */
  1517. LakeFormationDataPermissionDetails: LakeFormationDataPermissionDetails;
  1518. /**
  1519. * The data permission type.
  1520. */
  1521. LakeFormationDataPermissionType: LakeFormationDataPermissionType;
  1522. /**
  1523. * The permissions granted to the subscribers on the resource.
  1524. */
  1525. Permissions: ListOfLFPermissions;
  1526. /**
  1527. * The IAM role's ARN that allows AWS Data Exchange to assume the role and grant and revoke permissions to AWS Lake Formation data permissions.
  1528. */
  1529. RoleArn?: RoleArn;
  1530. }
  1531. export interface LakeFormationDataPermissionDetails {
  1532. /**
  1533. * Details about the LF-tag policy.
  1534. */
  1535. LFTagPolicy?: LFTagPolicyDetails;
  1536. }
  1537. export type LakeFormationDataPermissionType = "LFTagPolicy"|string;
  1538. export interface LakeFormationTagPolicyDetails {
  1539. /**
  1540. * The underlying Glue database that the notification is referring to.
  1541. */
  1542. Database?: __string;
  1543. /**
  1544. * The underlying Glue table that the notification is referring to.
  1545. */
  1546. Table?: __string;
  1547. }
  1548. export interface ListDataSetRevisionsRequest {
  1549. /**
  1550. * The unique identifier for a data set.
  1551. */
  1552. DataSetId: __string;
  1553. /**
  1554. * The maximum number of results returned by a single call.
  1555. */
  1556. MaxResults?: MaxResults;
  1557. /**
  1558. * The token value retrieved from a previous call to access the next page of results.
  1559. */
  1560. NextToken?: __string;
  1561. }
  1562. export interface ListDataSetRevisionsResponse {
  1563. /**
  1564. * The token value retrieved from a previous call to access the next page of results.
  1565. */
  1566. NextToken?: NextToken;
  1567. /**
  1568. * The asset objects listed by the request.
  1569. */
  1570. Revisions?: ListOfRevisionEntry;
  1571. }
  1572. export interface ListDataSetsRequest {
  1573. /**
  1574. * The maximum number of results returned by a single call.
  1575. */
  1576. MaxResults?: MaxResults;
  1577. /**
  1578. * The token value retrieved from a previous call to access the next page of results.
  1579. */
  1580. NextToken?: __string;
  1581. /**
  1582. * A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).
  1583. */
  1584. Origin?: __string;
  1585. }
  1586. export interface ListDataSetsResponse {
  1587. /**
  1588. * The data set objects listed by the request.
  1589. */
  1590. DataSets?: ListOfDataSetEntry;
  1591. /**
  1592. * The token value retrieved from a previous call to access the next page of results.
  1593. */
  1594. NextToken?: NextToken;
  1595. }
  1596. export interface ListEventActionsRequest {
  1597. /**
  1598. * The unique identifier for the event source.
  1599. */
  1600. EventSourceId?: __string;
  1601. /**
  1602. * The maximum number of results returned by a single call.
  1603. */
  1604. MaxResults?: MaxResults;
  1605. /**
  1606. * The token value retrieved from a previous call to access the next page of results.
  1607. */
  1608. NextToken?: __string;
  1609. }
  1610. export interface ListEventActionsResponse {
  1611. /**
  1612. * The event action objects listed by the request.
  1613. */
  1614. EventActions?: ListOfEventActionEntry;
  1615. /**
  1616. * The token value retrieved from a previous call to access the next page of results.
  1617. */
  1618. NextToken?: NextToken;
  1619. }
  1620. export interface ListJobsRequest {
  1621. /**
  1622. * The unique identifier for a data set.
  1623. */
  1624. DataSetId?: __string;
  1625. /**
  1626. * The maximum number of results returned by a single call.
  1627. */
  1628. MaxResults?: MaxResults;
  1629. /**
  1630. * The token value retrieved from a previous call to access the next page of results.
  1631. */
  1632. NextToken?: __string;
  1633. /**
  1634. * The unique identifier for a revision.
  1635. */
  1636. RevisionId?: __string;
  1637. }
  1638. export interface ListJobsResponse {
  1639. /**
  1640. * The jobs listed by the request.
  1641. */
  1642. Jobs?: ListOfJobEntry;
  1643. /**
  1644. * The token value retrieved from a previous call to access the next page of results.
  1645. */
  1646. NextToken?: NextToken;
  1647. }
  1648. export type ListOfAssetDestinationEntry = AssetDestinationEntry[];
  1649. export type ListOfAssetEntry = AssetEntry[];
  1650. export type ListOfAssetSourceEntry = AssetSourceEntry[];
  1651. export type ListOfDataSetEntry = DataSetEntry[];
  1652. export type ListOfDatabaseLFTagPolicyPermissions = DatabaseLFTagPolicyPermission[];
  1653. export type ListOfEventActionEntry = EventActionEntry[];
  1654. export type ListOfJobEntry = JobEntry[];
  1655. export type ListOfJobError = JobError[];
  1656. export type ListOfKmsKeysToGrant = KmsKeyToGrant[];
  1657. export type ListOfLFPermissions = LFPermission[];
  1658. export type ListOfLFTagValues = String[];
  1659. export type ListOfLFTags = LFTag[];
  1660. export type ListOfLakeFormationTagPolicies = LakeFormationTagPolicyDetails[];
  1661. export type ListOfRedshiftDataShareAssetSourceEntry = RedshiftDataShareAssetSourceEntry[];
  1662. export type ListOfRedshiftDataShares = RedshiftDataShareDetails[];
  1663. export type ListOfRevisionDestinationEntry = RevisionDestinationEntry[];
  1664. export type ListOfRevisionEntry = RevisionEntry[];
  1665. export type ListOfS3DataAccesses = S3DataAccessDetails[];
  1666. export type ListOfSchemaChangeDetails = SchemaChangeDetails[];
  1667. export type ListOfTableTagPolicyLFPermissions = TableTagPolicyLFPermission[];
  1668. export type ListOf__string = __string[];
  1669. export interface ListRevisionAssetsRequest {
  1670. /**
  1671. * The unique identifier for a data set.
  1672. */
  1673. DataSetId: __string;
  1674. /**
  1675. * The maximum number of results returned by a single call.
  1676. */
  1677. MaxResults?: MaxResults;
  1678. /**
  1679. * The token value retrieved from a previous call to access the next page of results.
  1680. */
  1681. NextToken?: __string;
  1682. /**
  1683. * The unique identifier for a revision.
  1684. */
  1685. RevisionId: __string;
  1686. }
  1687. export interface ListRevisionAssetsResponse {
  1688. /**
  1689. * The asset objects listed by the request.
  1690. */
  1691. Assets?: ListOfAssetEntry;
  1692. /**
  1693. * The token value retrieved from a previous call to access the next page of results.
  1694. */
  1695. NextToken?: NextToken;
  1696. }
  1697. export interface ListTagsForResourceRequest {
  1698. /**
  1699. * An Amazon Resource Name (ARN) that uniquely identifies an AWS resource.
  1700. */
  1701. ResourceArn: __string;
  1702. }
  1703. export interface ListTagsForResourceResponse {
  1704. /**
  1705. * A label that consists of a customer-defined key and an optional value.
  1706. */
  1707. Tags?: MapOf__string;
  1708. }
  1709. export type MapOf__string = {[key: string]: __string};
  1710. export type MaxResults = number;
  1711. export type Name = string;
  1712. export type NextToken = string;
  1713. export interface NotificationDetails {
  1714. /**
  1715. * Extra details specific to a data update type notification.
  1716. */
  1717. DataUpdate?: DataUpdateRequestDetails;
  1718. /**
  1719. * Extra details specific to a deprecation type notification.
  1720. */
  1721. Deprecation?: DeprecationRequestDetails;
  1722. /**
  1723. * Extra details specific to a schema change type notification.
  1724. */
  1725. SchemaChange?: SchemaChangeRequestDetails;
  1726. }
  1727. export type NotificationType = "DATA_DELAY"|"DATA_UPDATE"|"DEPRECATION"|"SCHEMA_CHANGE"|string;
  1728. export type Origin = "OWNED"|"ENTITLED"|string;
  1729. export interface OriginDetails {
  1730. /**
  1731. * The product ID of the origin of the data set.
  1732. */
  1733. ProductId?: __string;
  1734. }
  1735. export type ProtocolType = "REST"|string;
  1736. export interface RedshiftDataShareAsset {
  1737. /**
  1738. * The Amazon Resource Name (ARN) of the datashare asset.
  1739. */
  1740. Arn: __string;
  1741. }
  1742. export interface RedshiftDataShareAssetSourceEntry {
  1743. /**
  1744. * The Amazon Resource Name (ARN) of the datashare asset.
  1745. */
  1746. DataShareArn: __string;
  1747. }
  1748. export interface RedshiftDataShareDetails {
  1749. /**
  1750. * The ARN of the underlying Redshift data share that is being affected by this notification.
  1751. */
  1752. Arn: __string;
  1753. /**
  1754. * The database name in the Redshift data share that is being affected by this notification.
  1755. */
  1756. Database: __string;
  1757. /**
  1758. * A function name in the Redshift database that is being affected by this notification.
  1759. */
  1760. Function?: __string;
  1761. /**
  1762. * A table name in the Redshift database that is being affected by this notification.
  1763. */
  1764. Table?: __string;
  1765. /**
  1766. * A schema name in the Redshift database that is being affected by this notification.
  1767. */
  1768. Schema?: __string;
  1769. /**
  1770. * A view name in the Redshift database that is being affected by this notification.
  1771. */
  1772. View?: __string;
  1773. }
  1774. export interface RequestDetails {
  1775. /**
  1776. * Details about the export to signed URL request.
  1777. */
  1778. ExportAssetToSignedUrl?: ExportAssetToSignedUrlRequestDetails;
  1779. /**
  1780. * Details about the export to Amazon S3 request.
  1781. */
  1782. ExportAssetsToS3?: ExportAssetsToS3RequestDetails;
  1783. /**
  1784. * Details about the export to Amazon S3 request.
  1785. */
  1786. ExportRevisionsToS3?: ExportRevisionsToS3RequestDetails;
  1787. /**
  1788. * Details about the import from Amazon S3 request.
  1789. */
  1790. ImportAssetFromSignedUrl?: ImportAssetFromSignedUrlRequestDetails;
  1791. /**
  1792. * Details about the import asset from API Gateway API request.
  1793. */
  1794. ImportAssetsFromS3?: ImportAssetsFromS3RequestDetails;
  1795. /**
  1796. * Details from an import from Amazon Redshift datashare request.
  1797. */
  1798. ImportAssetsFromRedshiftDataShares?: ImportAssetsFromRedshiftDataSharesRequestDetails;
  1799. /**
  1800. * Details about the import from signed URL request.
  1801. */
  1802. ImportAssetFromApiGatewayApi?: ImportAssetFromApiGatewayApiRequestDetails;
  1803. /**
  1804. * Details of the request to create S3 data access from the Amazon S3 bucket.
  1805. */
  1806. CreateS3DataAccessFromS3Bucket?: CreateS3DataAccessFromS3BucketRequestDetails;
  1807. /**
  1808. * Request details for the ImportAssetsFromLakeFormationTagPolicy job.
  1809. */
  1810. ImportAssetsFromLakeFormationTagPolicy?: ImportAssetsFromLakeFormationTagPolicyRequestDetails;
  1811. }
  1812. export interface ResponseDetails {
  1813. /**
  1814. * Details for the export to signed URL response.
  1815. */
  1816. ExportAssetToSignedUrl?: ExportAssetToSignedUrlResponseDetails;
  1817. /**
  1818. * Details for the export to Amazon S3 response.
  1819. */
  1820. ExportAssetsToS3?: ExportAssetsToS3ResponseDetails;
  1821. /**
  1822. * Details for the export revisions to Amazon S3 response.
  1823. */
  1824. ExportRevisionsToS3?: ExportRevisionsToS3ResponseDetails;
  1825. /**
  1826. * Details for the import from signed URL response.
  1827. */
  1828. ImportAssetFromSignedUrl?: ImportAssetFromSignedUrlResponseDetails;
  1829. /**
  1830. * Details for the import from Amazon S3 response.
  1831. */
  1832. ImportAssetsFromS3?: ImportAssetsFromS3ResponseDetails;
  1833. /**
  1834. * Details from an import from Amazon Redshift datashare response.
  1835. */
  1836. ImportAssetsFromRedshiftDataShares?: ImportAssetsFromRedshiftDataSharesResponseDetails;
  1837. /**
  1838. * The response details.
  1839. */
  1840. ImportAssetFromApiGatewayApi?: ImportAssetFromApiGatewayApiResponseDetails;
  1841. /**
  1842. * Response details from the CreateS3DataAccessFromS3Bucket job.
  1843. */
  1844. CreateS3DataAccessFromS3Bucket?: CreateS3DataAccessFromS3BucketResponseDetails;
  1845. /**
  1846. * Response details from the ImportAssetsFromLakeFormationTagPolicy job.
  1847. */
  1848. ImportAssetsFromLakeFormationTagPolicy?: ImportAssetsFromLakeFormationTagPolicyResponseDetails;
  1849. }
  1850. export interface RevisionDestinationEntry {
  1851. /**
  1852. * The Amazon S3 bucket that is the destination for the assets in the revision.
  1853. */
  1854. Bucket: __string;
  1855. /**
  1856. * A string representing the pattern for generated names of the individual assets in the revision. For more information about key patterns, see Key patterns when exporting revisions.
  1857. */
  1858. KeyPattern?: __string;
  1859. /**
  1860. * The unique identifier for the revision.
  1861. */
  1862. RevisionId: Id;
  1863. }
  1864. export interface RevisionEntry {
  1865. /**
  1866. * The ARN for the revision.
  1867. */
  1868. Arn: Arn;
  1869. /**
  1870. * An optional comment about the revision.
  1871. */
  1872. Comment?: __stringMin0Max16384;
  1873. /**
  1874. * The date and time that the revision was created, in ISO 8601 format.
  1875. */
  1876. CreatedAt: Timestamp;
  1877. /**
  1878. * The unique identifier for the data set associated with the data set revision.
  1879. */
  1880. DataSetId: Id;
  1881. /**
  1882. * To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.
  1883. */
  1884. Finalized?: __boolean;
  1885. /**
  1886. * The unique identifier for the revision.
  1887. */
  1888. Id: Id;
  1889. /**
  1890. * The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter is returned when a revision owner is viewing the entitled copy of its owned revision.
  1891. */
  1892. SourceId?: Id;
  1893. /**
  1894. * The date and time that the revision was last updated, in ISO 8601 format.
  1895. */
  1896. UpdatedAt: Timestamp;
  1897. /**
  1898. * A required comment to inform subscribers of the reason their access to the revision was revoked.
  1899. */
  1900. RevocationComment?: __stringMin10Max512;
  1901. /**
  1902. * A status indicating that subscribers' access to the revision was revoked.
  1903. */
  1904. Revoked?: __boolean;
  1905. /**
  1906. * The date and time that the revision was revoked, in ISO 8601 format.
  1907. */
  1908. RevokedAt?: Timestamp;
  1909. }
  1910. export interface RevisionPublished {
  1911. /**
  1912. * The data set ID of the published revision.
  1913. */
  1914. DataSetId: Id;
  1915. }
  1916. export interface RevokeRevisionRequest {
  1917. /**
  1918. * The unique identifier for a data set.
  1919. */
  1920. DataSetId: __string;
  1921. /**
  1922. * The unique identifier for a revision.
  1923. */
  1924. RevisionId: __string;
  1925. /**
  1926. * A required comment to inform subscribers of the reason their access to the revision was revoked.
  1927. */
  1928. RevocationComment: __stringMin10Max512;
  1929. }
  1930. export interface RevokeRevisionResponse {
  1931. /**
  1932. * The ARN for the revision.
  1933. */
  1934. Arn?: Arn;
  1935. /**
  1936. * An optional comment about the revision.
  1937. */
  1938. Comment?: __stringMin0Max16384;
  1939. /**
  1940. * The date and time that the revision was created, in ISO 8601 format.
  1941. */
  1942. CreatedAt?: Timestamp;
  1943. /**
  1944. * The unique identifier for the data set associated with the data set revision.
  1945. */
  1946. DataSetId?: Id;
  1947. /**
  1948. * To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.
  1949. */
  1950. Finalized?: __boolean;
  1951. /**
  1952. * The unique identifier for the revision.
  1953. */
  1954. Id?: Id;
  1955. /**
  1956. * The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter is returned when a revision owner is viewing the entitled copy of its owned revision.
  1957. */
  1958. SourceId?: Id;
  1959. /**
  1960. * The date and time that the revision was last updated, in ISO 8601 format.
  1961. */
  1962. UpdatedAt?: Timestamp;
  1963. /**
  1964. * A required comment to inform subscribers of the reason their access to the revision was revoked.
  1965. */
  1966. RevocationComment?: __stringMin10Max512;
  1967. /**
  1968. * A status indicating that subscribers' access to the revision was revoked.
  1969. */
  1970. Revoked?: __boolean;
  1971. /**
  1972. * The date and time that the revision was revoked, in ISO 8601 format.
  1973. */
  1974. RevokedAt?: Timestamp;
  1975. }
  1976. export type RoleArn = string;
  1977. export interface S3DataAccessAsset {
  1978. /**
  1979. * The Amazon S3 bucket hosting data to be shared in the S3 data access.
  1980. */
  1981. Bucket: __string;
  1982. /**
  1983. * The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.
  1984. */
  1985. KeyPrefixes?: ListOf__string;
  1986. /**
  1987. * S3 keys made available using this asset.
  1988. */
  1989. Keys?: ListOf__string;
  1990. /**
  1991. * The automatically-generated bucket-style alias for your Amazon S3 Access Point. Customers can access their entitled data using the S3 Access Point alias.
  1992. */
  1993. S3AccessPointAlias?: __string;
  1994. /**
  1995. * The ARN for your Amazon S3 Access Point. Customers can also access their entitled data using the S3 Access Point ARN.
  1996. */
  1997. S3AccessPointArn?: __string;
  1998. /**
  1999. * List of AWS KMS CMKs (Key Management System Customer Managed Keys) and ARNs used to encrypt S3 objects being shared in this S3 Data Access asset. Providers must include all AWS KMS keys used to encrypt these shared S3 objects.
  2000. */
  2001. KmsKeysToGrant?: ListOfKmsKeysToGrant;
  2002. }
  2003. export interface S3DataAccessAssetSourceEntry {
  2004. /**
  2005. * The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.
  2006. */
  2007. Bucket: __string;
  2008. /**
  2009. * Organizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.
  2010. */
  2011. KeyPrefixes?: ListOf__string;
  2012. /**
  2013. * The keys used to create the Amazon S3 data access.
  2014. */
  2015. Keys?: ListOf__string;
  2016. /**
  2017. * List of AWS KMS CMKs (Key Management System Customer Managed Keys) and ARNs used to encrypt S3 objects being shared in this S3 Data Access asset.
  2018. */
  2019. KmsKeysToGrant?: ListOfKmsKeysToGrant;
  2020. }
  2021. export interface S3DataAccessDetails {
  2022. /**
  2023. * A list of the key prefixes affected by this notification. This can have up to 50 entries.
  2024. */
  2025. KeyPrefixes?: ListOf__string;
  2026. /**
  2027. * A list of the keys affected by this notification. This can have up to 50 entries.
  2028. */
  2029. Keys?: ListOf__string;
  2030. }
  2031. export interface S3SnapshotAsset {
  2032. /**
  2033. * The size of the Amazon S3 object that is the object.
  2034. */
  2035. Size: __doubleMin0;
  2036. }
  2037. export interface SchemaChangeDetails {
  2038. /**
  2039. * Name of the changing field. This value can be up to 255 characters long.
  2040. */
  2041. Name: __string;
  2042. /**
  2043. * Is the field being added, removed, or modified?
  2044. */
  2045. Type: SchemaChangeType;
  2046. /**
  2047. * Description of what's changing about this field. This value can be up to 512 characters long.
  2048. */
  2049. Description?: __string;
  2050. }
  2051. export interface SchemaChangeRequestDetails {
  2052. /**
  2053. * List of schema changes happening in the scope of this notification. This can have up to 100 entries.
  2054. */
  2055. Changes?: ListOfSchemaChangeDetails;
  2056. /**
  2057. * A date in the future when the schema change is taking effect.
  2058. */
  2059. SchemaChangeAt: Timestamp;
  2060. }
  2061. export type SchemaChangeType = "ADD"|"REMOVE"|"MODIFY"|string;
  2062. export interface ScopeDetails {
  2063. /**
  2064. * Underlying LF resources that will be affected by this notification.
  2065. */
  2066. LakeFormationTagPolicies?: ListOfLakeFormationTagPolicies;
  2067. /**
  2068. * Underlying Redshift resources that will be affected by this notification.
  2069. */
  2070. RedshiftDataShares?: ListOfRedshiftDataShares;
  2071. /**
  2072. * Underlying S3 resources that will be affected by this notification.
  2073. */
  2074. S3DataAccesses?: ListOfS3DataAccesses;
  2075. }
  2076. export interface SendApiAssetRequest {
  2077. /**
  2078. * The request body.
  2079. */
  2080. Body?: __string;
  2081. /**
  2082. * Attach query string parameters to the end of the URI (for example, /v1/examplePath?exampleParam=exampleValue).
  2083. */
  2084. QueryStringParameters?: MapOf__string;
  2085. /**
  2086. * Asset ID value for the API request.
  2087. */
  2088. AssetId: __string;
  2089. /**
  2090. * Data set ID value for the API request.
  2091. */
  2092. DataSetId: __string;
  2093. /**
  2094. * Any header value prefixed with x-amzn-dataexchange-header- will have that stripped before sending the Asset API request. Use this when you want to override a header that AWS Data Exchange uses. Alternatively, you can use the header without a prefix to the HTTP request.
  2095. */
  2096. RequestHeaders?: MapOf__string;
  2097. /**
  2098. * HTTP method value for the API request. Alternatively, you can use the appropriate verb in your request.
  2099. */
  2100. Method?: __string;
  2101. /**
  2102. * URI path value for the API request. Alternatively, you can set the URI path directly by invoking /v1/{pathValue}.
  2103. */
  2104. Path?: __string;
  2105. /**
  2106. * Revision ID value for the API request.
  2107. */
  2108. RevisionId: __string;
  2109. }
  2110. export interface SendApiAssetResponse {
  2111. /**
  2112. * The response body from the underlying API tracked by the API asset.
  2113. */
  2114. Body?: __string;
  2115. /**
  2116. * The response headers from the underlying API tracked by the API asset.
  2117. */
  2118. ResponseHeaders?: MapOf__string;
  2119. }
  2120. export interface SendDataSetNotificationRequest {
  2121. /**
  2122. * Affected scope of this notification such as the underlying resources affected by the notification event.
  2123. */
  2124. Scope?: ScopeDetails;
  2125. /**
  2126. * Idempotency key for the notification, this key allows us to deduplicate notifications that are sent in quick succession erroneously.
  2127. */
  2128. ClientToken?: ClientToken;
  2129. /**
  2130. * Free-form text field for providers to add information about their notifications.
  2131. */
  2132. Comment?: __stringMin0Max4096;
  2133. /**
  2134. * Affected data set of the notification.
  2135. */
  2136. DataSetId: __string;
  2137. /**
  2138. * Extra details specific to this notification type.
  2139. */
  2140. Details?: NotificationDetails;
  2141. /**
  2142. * The type of the notification. Describing the kind of event the notification is alerting you to.
  2143. */
  2144. Type: NotificationType;
  2145. }
  2146. export interface SendDataSetNotificationResponse {
  2147. }
  2148. export type ServerSideEncryptionTypes = "aws:kms"|"AES256"|string;
  2149. export interface StartJobRequest {
  2150. /**
  2151. * The unique identifier for a job.
  2152. */
  2153. JobId: __string;
  2154. }
  2155. export interface StartJobResponse {
  2156. }
  2157. export type State = "WAITING"|"IN_PROGRESS"|"ERROR"|"COMPLETED"|"CANCELLED"|"TIMED_OUT"|string;
  2158. export type String = string;
  2159. export interface TableLFTagPolicy {
  2160. /**
  2161. * A list of LF-tag conditions that apply to table resources.
  2162. */
  2163. Expression: ListOfLFTags;
  2164. }
  2165. export interface TableLFTagPolicyAndPermissions {
  2166. /**
  2167. * A list of LF-tag conditions that apply to table resources.
  2168. */
  2169. Expression: ListOfLFTags;
  2170. /**
  2171. * The permissions granted to subscribers on table resources.
  2172. */
  2173. Permissions: ListOfTableTagPolicyLFPermissions;
  2174. }
  2175. export type TableTagPolicyLFPermission = "DESCRIBE"|"SELECT"|string;
  2176. export interface TagResourceRequest {
  2177. /**
  2178. * An Amazon Resource Name (ARN) that uniquely identifies an AWS resource.
  2179. */
  2180. ResourceArn: __string;
  2181. /**
  2182. * A label that consists of a customer-defined key and an optional value.
  2183. */
  2184. Tags: MapOf__string;
  2185. }
  2186. export type Timestamp = Date;
  2187. export type Type = "IMPORT_ASSETS_FROM_S3"|"IMPORT_ASSET_FROM_SIGNED_URL"|"EXPORT_ASSETS_TO_S3"|"EXPORT_ASSET_TO_SIGNED_URL"|"EXPORT_REVISIONS_TO_S3"|"IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES"|"IMPORT_ASSET_FROM_API_GATEWAY_API"|"CREATE_S3_DATA_ACCESS_FROM_S3_BUCKET"|"IMPORT_ASSETS_FROM_LAKE_FORMATION_TAG_POLICY"|string;
  2188. export interface UntagResourceRequest {
  2189. /**
  2190. * An Amazon Resource Name (ARN) that uniquely identifies an AWS resource.
  2191. */
  2192. ResourceArn: __string;
  2193. /**
  2194. * The key tags.
  2195. */
  2196. TagKeys: ListOf__string;
  2197. }
  2198. export interface UpdateAssetRequest {
  2199. /**
  2200. * The unique identifier for an asset.
  2201. */
  2202. AssetId: __string;
  2203. /**
  2204. * The unique identifier for a data set.
  2205. */
  2206. DataSetId: __string;
  2207. /**
  2208. * The name of the asset. When importing from Amazon S3, the Amazon S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target Amazon S3 object key. When importing from Amazon API Gateway API, the API name is used as the asset name. When importing from Amazon Redshift, the datashare name is used as the asset name. When importing from AWS Lake Formation, the static values of "Database(s) included in the LF-tag policy" or "Table(s) included in LF-tag policy" are used as the name.
  2209. */
  2210. Name: AssetName;
  2211. /**
  2212. * The unique identifier for a revision.
  2213. */
  2214. RevisionId: __string;
  2215. }
  2216. export interface UpdateAssetResponse {
  2217. /**
  2218. * The ARN for the asset.
  2219. */
  2220. Arn?: Arn;
  2221. /**
  2222. * Details about the asset.
  2223. */
  2224. AssetDetails?: AssetDetails;
  2225. /**
  2226. * The type of asset that is added to a data set.
  2227. */
  2228. AssetType?: AssetType;
  2229. /**
  2230. * The date and time that the asset was created, in ISO 8601 format.
  2231. */
  2232. CreatedAt?: Timestamp;
  2233. /**
  2234. * The unique identifier for the data set associated with this asset.
  2235. */
  2236. DataSetId?: Id;
  2237. /**
  2238. * The unique identifier for the asset.
  2239. */
  2240. Id?: Id;
  2241. /**
  2242. * The name of the asset. When importing from Amazon S3, the Amazon S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target Amazon S3 object key. When importing from Amazon API Gateway API, the API name is used as the asset name. When importing from Amazon Redshift, the datashare name is used as the asset name. When importing from AWS Lake Formation, the static values of "Database(s) included in the LF-tag policy"- or "Table(s) included in LF-tag policy" are used as the asset name.
  2243. */
  2244. Name?: AssetName;
  2245. /**
  2246. * The unique identifier for the revision associated with this asset.
  2247. */
  2248. RevisionId?: Id;
  2249. /**
  2250. * The asset ID of the owned asset corresponding to the entitled asset being viewed. This parameter is returned when an asset owner is viewing the entitled copy of its owned asset.
  2251. */
  2252. SourceId?: Id;
  2253. /**
  2254. * The date and time that the asset was last updated, in ISO 8601 format.
  2255. */
  2256. UpdatedAt?: Timestamp;
  2257. }
  2258. export interface UpdateDataSetRequest {
  2259. /**
  2260. * The unique identifier for a data set.
  2261. */
  2262. DataSetId: __string;
  2263. /**
  2264. * The description for the data set.
  2265. */
  2266. Description?: Description;
  2267. /**
  2268. * The name of the data set.
  2269. */
  2270. Name?: Name;
  2271. }
  2272. export interface UpdateDataSetResponse {
  2273. /**
  2274. * The ARN for the data set.
  2275. */
  2276. Arn?: Arn;
  2277. /**
  2278. * The type of asset that is added to a data set.
  2279. */
  2280. AssetType?: AssetType;
  2281. /**
  2282. * The date and time that the data set was created, in ISO 8601 format.
  2283. */
  2284. CreatedAt?: Timestamp;
  2285. /**
  2286. * The description for the data set.
  2287. */
  2288. Description?: Description;
  2289. /**
  2290. * The unique identifier for the data set.
  2291. */
  2292. Id?: Id;
  2293. /**
  2294. * The name of the data set.
  2295. */
  2296. Name?: Name;
  2297. /**
  2298. * A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).
  2299. */
  2300. Origin?: Origin;
  2301. /**
  2302. * If the origin of this data set is ENTITLED, includes the details for the product on AWS Marketplace.
  2303. */
  2304. OriginDetails?: OriginDetails;
  2305. /**
  2306. * The data set ID of the owned data set corresponding to the entitled data set being viewed. This parameter is returned when a data set owner is viewing the entitled copy of its owned data set.
  2307. */
  2308. SourceId?: Id;
  2309. /**
  2310. * The date and time that the data set was last updated, in ISO 8601 format.
  2311. */
  2312. UpdatedAt?: Timestamp;
  2313. }
  2314. export interface UpdateEventActionRequest {
  2315. /**
  2316. * What occurs after a certain event.
  2317. */
  2318. Action?: Action;
  2319. /**
  2320. * The unique identifier for the event action.
  2321. */
  2322. EventActionId: __string;
  2323. }
  2324. export interface UpdateEventActionResponse {
  2325. /**
  2326. * What occurs after a certain event.
  2327. */
  2328. Action?: Action;
  2329. /**
  2330. * The ARN for the event action.
  2331. */
  2332. Arn?: Arn;
  2333. /**
  2334. * The date and time that the event action was created, in ISO 8601 format.
  2335. */
  2336. CreatedAt?: Timestamp;
  2337. /**
  2338. * What occurs to start an action.
  2339. */
  2340. Event?: Event;
  2341. /**
  2342. * The unique identifier for the event action.
  2343. */
  2344. Id?: Id;
  2345. /**
  2346. * The date and time that the event action was last updated, in ISO 8601 format.
  2347. */
  2348. UpdatedAt?: Timestamp;
  2349. }
  2350. export interface UpdateRevisionRequest {
  2351. /**
  2352. * An optional comment about the revision.
  2353. */
  2354. Comment?: __stringMin0Max16384;
  2355. /**
  2356. * The unique identifier for a data set.
  2357. */
  2358. DataSetId: __string;
  2359. /**
  2360. * Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products.
  2361. */
  2362. Finalized?: __boolean;
  2363. /**
  2364. * The unique identifier for a revision.
  2365. */
  2366. RevisionId: __string;
  2367. }
  2368. export interface UpdateRevisionResponse {
  2369. /**
  2370. * The ARN for the revision.
  2371. */
  2372. Arn?: Arn;
  2373. /**
  2374. * An optional comment about the revision.
  2375. */
  2376. Comment?: __stringMin0Max16384;
  2377. /**
  2378. * The date and time that the revision was created, in ISO 8601 format.
  2379. */
  2380. CreatedAt?: Timestamp;
  2381. /**
  2382. * The unique identifier for the data set associated with the data set revision.
  2383. */
  2384. DataSetId?: Id;
  2385. /**
  2386. * To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.
  2387. */
  2388. Finalized?: __boolean;
  2389. /**
  2390. * The unique identifier for the revision.
  2391. */
  2392. Id?: Id;
  2393. /**
  2394. * The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter is returned when a revision owner is viewing the entitled copy of its owned revision.
  2395. */
  2396. SourceId?: Id;
  2397. /**
  2398. * The date and time that the revision was last updated, in ISO 8601 format.
  2399. */
  2400. UpdatedAt?: Timestamp;
  2401. /**
  2402. * A required comment to inform subscribers of the reason their access to the revision was revoked.
  2403. */
  2404. RevocationComment?: __stringMin10Max512;
  2405. /**
  2406. * A status indicating that subscribers' access to the revision was revoked.
  2407. */
  2408. Revoked?: __boolean;
  2409. /**
  2410. * The date and time that the revision was revoked, in ISO 8601 format.
  2411. */
  2412. RevokedAt?: Timestamp;
  2413. }
  2414. export type __boolean = boolean;
  2415. export type __double = number;
  2416. export type __doubleMin0 = number;
  2417. export type __string = string;
  2418. export type __stringMin0Max16384 = string;
  2419. export type __stringMin0Max4096 = string;
  2420. export type __stringMin10Max512 = string;
  2421. export type __stringMin24Max24PatternAZaZ094AZaZ092AZaZ093 = string;
  2422. /**
  2423. * 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.
  2424. */
  2425. export type apiVersion = "2017-07-25"|"latest"|string;
  2426. export interface ClientApiVersions {
  2427. /**
  2428. * 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.
  2429. */
  2430. apiVersion?: apiVersion;
  2431. }
  2432. export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
  2433. /**
  2434. * Contains interfaces for use with the DataExchange client.
  2435. */
  2436. export import Types = DataExchange;
  2437. }
  2438. export = DataExchange;