appfabric.d.ts 51 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127
  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 AppFabric extends Service {
  9. /**
  10. * Constructs a service object. This object has one method for each API operation.
  11. */
  12. constructor(options?: AppFabric.Types.ClientConfiguration)
  13. config: Config & AppFabric.Types.ClientConfiguration;
  14. /**
  15. * Gets user access details in a batch request. This action polls data from the tasks that are kicked off by the StartUserAccessTasks action.
  16. */
  17. batchGetUserAccessTasks(params: AppFabric.Types.BatchGetUserAccessTasksRequest, callback?: (err: AWSError, data: AppFabric.Types.BatchGetUserAccessTasksResponse) => void): Request<AppFabric.Types.BatchGetUserAccessTasksResponse, AWSError>;
  18. /**
  19. * Gets user access details in a batch request. This action polls data from the tasks that are kicked off by the StartUserAccessTasks action.
  20. */
  21. batchGetUserAccessTasks(callback?: (err: AWSError, data: AppFabric.Types.BatchGetUserAccessTasksResponse) => void): Request<AppFabric.Types.BatchGetUserAccessTasksResponse, AWSError>;
  22. /**
  23. * Establishes a connection between Amazon Web Services AppFabric and an application, which allows AppFabric to call the APIs of the application.
  24. */
  25. connectAppAuthorization(params: AppFabric.Types.ConnectAppAuthorizationRequest, callback?: (err: AWSError, data: AppFabric.Types.ConnectAppAuthorizationResponse) => void): Request<AppFabric.Types.ConnectAppAuthorizationResponse, AWSError>;
  26. /**
  27. * Establishes a connection between Amazon Web Services AppFabric and an application, which allows AppFabric to call the APIs of the application.
  28. */
  29. connectAppAuthorization(callback?: (err: AWSError, data: AppFabric.Types.ConnectAppAuthorizationResponse) => void): Request<AppFabric.Types.ConnectAppAuthorizationResponse, AWSError>;
  30. /**
  31. * Creates an app authorization within an app bundle, which allows AppFabric to connect to an application.
  32. */
  33. createAppAuthorization(params: AppFabric.Types.CreateAppAuthorizationRequest, callback?: (err: AWSError, data: AppFabric.Types.CreateAppAuthorizationResponse) => void): Request<AppFabric.Types.CreateAppAuthorizationResponse, AWSError>;
  34. /**
  35. * Creates an app authorization within an app bundle, which allows AppFabric to connect to an application.
  36. */
  37. createAppAuthorization(callback?: (err: AWSError, data: AppFabric.Types.CreateAppAuthorizationResponse) => void): Request<AppFabric.Types.CreateAppAuthorizationResponse, AWSError>;
  38. /**
  39. * Creates an app bundle to collect data from an application using AppFabric.
  40. */
  41. createAppBundle(params: AppFabric.Types.CreateAppBundleRequest, callback?: (err: AWSError, data: AppFabric.Types.CreateAppBundleResponse) => void): Request<AppFabric.Types.CreateAppBundleResponse, AWSError>;
  42. /**
  43. * Creates an app bundle to collect data from an application using AppFabric.
  44. */
  45. createAppBundle(callback?: (err: AWSError, data: AppFabric.Types.CreateAppBundleResponse) => void): Request<AppFabric.Types.CreateAppBundleResponse, AWSError>;
  46. /**
  47. * Creates a data ingestion for an application.
  48. */
  49. createIngestion(params: AppFabric.Types.CreateIngestionRequest, callback?: (err: AWSError, data: AppFabric.Types.CreateIngestionResponse) => void): Request<AppFabric.Types.CreateIngestionResponse, AWSError>;
  50. /**
  51. * Creates a data ingestion for an application.
  52. */
  53. createIngestion(callback?: (err: AWSError, data: AppFabric.Types.CreateIngestionResponse) => void): Request<AppFabric.Types.CreateIngestionResponse, AWSError>;
  54. /**
  55. * Creates an ingestion destination, which specifies how an application's ingested data is processed by Amazon Web Services AppFabric and where it's delivered.
  56. */
  57. createIngestionDestination(params: AppFabric.Types.CreateIngestionDestinationRequest, callback?: (err: AWSError, data: AppFabric.Types.CreateIngestionDestinationResponse) => void): Request<AppFabric.Types.CreateIngestionDestinationResponse, AWSError>;
  58. /**
  59. * Creates an ingestion destination, which specifies how an application's ingested data is processed by Amazon Web Services AppFabric and where it's delivered.
  60. */
  61. createIngestionDestination(callback?: (err: AWSError, data: AppFabric.Types.CreateIngestionDestinationResponse) => void): Request<AppFabric.Types.CreateIngestionDestinationResponse, AWSError>;
  62. /**
  63. * Deletes an app authorization. You must delete the associated ingestion before you can delete an app authorization.
  64. */
  65. deleteAppAuthorization(params: AppFabric.Types.DeleteAppAuthorizationRequest, callback?: (err: AWSError, data: AppFabric.Types.DeleteAppAuthorizationResponse) => void): Request<AppFabric.Types.DeleteAppAuthorizationResponse, AWSError>;
  66. /**
  67. * Deletes an app authorization. You must delete the associated ingestion before you can delete an app authorization.
  68. */
  69. deleteAppAuthorization(callback?: (err: AWSError, data: AppFabric.Types.DeleteAppAuthorizationResponse) => void): Request<AppFabric.Types.DeleteAppAuthorizationResponse, AWSError>;
  70. /**
  71. * Deletes an app bundle. You must delete all associated app authorizations before you can delete an app bundle.
  72. */
  73. deleteAppBundle(params: AppFabric.Types.DeleteAppBundleRequest, callback?: (err: AWSError, data: AppFabric.Types.DeleteAppBundleResponse) => void): Request<AppFabric.Types.DeleteAppBundleResponse, AWSError>;
  74. /**
  75. * Deletes an app bundle. You must delete all associated app authorizations before you can delete an app bundle.
  76. */
  77. deleteAppBundle(callback?: (err: AWSError, data: AppFabric.Types.DeleteAppBundleResponse) => void): Request<AppFabric.Types.DeleteAppBundleResponse, AWSError>;
  78. /**
  79. * Deletes an ingestion. You must stop (disable) the ingestion and you must delete all associated ingestion destinations before you can delete an app ingestion.
  80. */
  81. deleteIngestion(params: AppFabric.Types.DeleteIngestionRequest, callback?: (err: AWSError, data: AppFabric.Types.DeleteIngestionResponse) => void): Request<AppFabric.Types.DeleteIngestionResponse, AWSError>;
  82. /**
  83. * Deletes an ingestion. You must stop (disable) the ingestion and you must delete all associated ingestion destinations before you can delete an app ingestion.
  84. */
  85. deleteIngestion(callback?: (err: AWSError, data: AppFabric.Types.DeleteIngestionResponse) => void): Request<AppFabric.Types.DeleteIngestionResponse, AWSError>;
  86. /**
  87. * Deletes an ingestion destination. This deletes the association between an ingestion and it's destination. It doesn't delete previously ingested data or the storage destination, such as the Amazon S3 bucket where the data is delivered. If the ingestion destination is deleted while the associated ingestion is enabled, the ingestion will fail and is eventually disabled.
  88. */
  89. deleteIngestionDestination(params: AppFabric.Types.DeleteIngestionDestinationRequest, callback?: (err: AWSError, data: AppFabric.Types.DeleteIngestionDestinationResponse) => void): Request<AppFabric.Types.DeleteIngestionDestinationResponse, AWSError>;
  90. /**
  91. * Deletes an ingestion destination. This deletes the association between an ingestion and it's destination. It doesn't delete previously ingested data or the storage destination, such as the Amazon S3 bucket where the data is delivered. If the ingestion destination is deleted while the associated ingestion is enabled, the ingestion will fail and is eventually disabled.
  92. */
  93. deleteIngestionDestination(callback?: (err: AWSError, data: AppFabric.Types.DeleteIngestionDestinationResponse) => void): Request<AppFabric.Types.DeleteIngestionDestinationResponse, AWSError>;
  94. /**
  95. * Returns information about an app authorization.
  96. */
  97. getAppAuthorization(params: AppFabric.Types.GetAppAuthorizationRequest, callback?: (err: AWSError, data: AppFabric.Types.GetAppAuthorizationResponse) => void): Request<AppFabric.Types.GetAppAuthorizationResponse, AWSError>;
  98. /**
  99. * Returns information about an app authorization.
  100. */
  101. getAppAuthorization(callback?: (err: AWSError, data: AppFabric.Types.GetAppAuthorizationResponse) => void): Request<AppFabric.Types.GetAppAuthorizationResponse, AWSError>;
  102. /**
  103. * Returns information about an app bundle.
  104. */
  105. getAppBundle(params: AppFabric.Types.GetAppBundleRequest, callback?: (err: AWSError, data: AppFabric.Types.GetAppBundleResponse) => void): Request<AppFabric.Types.GetAppBundleResponse, AWSError>;
  106. /**
  107. * Returns information about an app bundle.
  108. */
  109. getAppBundle(callback?: (err: AWSError, data: AppFabric.Types.GetAppBundleResponse) => void): Request<AppFabric.Types.GetAppBundleResponse, AWSError>;
  110. /**
  111. * Returns information about an ingestion.
  112. */
  113. getIngestion(params: AppFabric.Types.GetIngestionRequest, callback?: (err: AWSError, data: AppFabric.Types.GetIngestionResponse) => void): Request<AppFabric.Types.GetIngestionResponse, AWSError>;
  114. /**
  115. * Returns information about an ingestion.
  116. */
  117. getIngestion(callback?: (err: AWSError, data: AppFabric.Types.GetIngestionResponse) => void): Request<AppFabric.Types.GetIngestionResponse, AWSError>;
  118. /**
  119. * Returns information about an ingestion destination.
  120. */
  121. getIngestionDestination(params: AppFabric.Types.GetIngestionDestinationRequest, callback?: (err: AWSError, data: AppFabric.Types.GetIngestionDestinationResponse) => void): Request<AppFabric.Types.GetIngestionDestinationResponse, AWSError>;
  122. /**
  123. * Returns information about an ingestion destination.
  124. */
  125. getIngestionDestination(callback?: (err: AWSError, data: AppFabric.Types.GetIngestionDestinationResponse) => void): Request<AppFabric.Types.GetIngestionDestinationResponse, AWSError>;
  126. /**
  127. * Returns a list of all app authorizations configured for an app bundle.
  128. */
  129. listAppAuthorizations(params: AppFabric.Types.ListAppAuthorizationsRequest, callback?: (err: AWSError, data: AppFabric.Types.ListAppAuthorizationsResponse) => void): Request<AppFabric.Types.ListAppAuthorizationsResponse, AWSError>;
  130. /**
  131. * Returns a list of all app authorizations configured for an app bundle.
  132. */
  133. listAppAuthorizations(callback?: (err: AWSError, data: AppFabric.Types.ListAppAuthorizationsResponse) => void): Request<AppFabric.Types.ListAppAuthorizationsResponse, AWSError>;
  134. /**
  135. * Returns a list of app bundles.
  136. */
  137. listAppBundles(params: AppFabric.Types.ListAppBundlesRequest, callback?: (err: AWSError, data: AppFabric.Types.ListAppBundlesResponse) => void): Request<AppFabric.Types.ListAppBundlesResponse, AWSError>;
  138. /**
  139. * Returns a list of app bundles.
  140. */
  141. listAppBundles(callback?: (err: AWSError, data: AppFabric.Types.ListAppBundlesResponse) => void): Request<AppFabric.Types.ListAppBundlesResponse, AWSError>;
  142. /**
  143. * Returns a list of all ingestion destinations configured for an ingestion.
  144. */
  145. listIngestionDestinations(params: AppFabric.Types.ListIngestionDestinationsRequest, callback?: (err: AWSError, data: AppFabric.Types.ListIngestionDestinationsResponse) => void): Request<AppFabric.Types.ListIngestionDestinationsResponse, AWSError>;
  146. /**
  147. * Returns a list of all ingestion destinations configured for an ingestion.
  148. */
  149. listIngestionDestinations(callback?: (err: AWSError, data: AppFabric.Types.ListIngestionDestinationsResponse) => void): Request<AppFabric.Types.ListIngestionDestinationsResponse, AWSError>;
  150. /**
  151. * Returns a list of all ingestions configured for an app bundle.
  152. */
  153. listIngestions(params: AppFabric.Types.ListIngestionsRequest, callback?: (err: AWSError, data: AppFabric.Types.ListIngestionsResponse) => void): Request<AppFabric.Types.ListIngestionsResponse, AWSError>;
  154. /**
  155. * Returns a list of all ingestions configured for an app bundle.
  156. */
  157. listIngestions(callback?: (err: AWSError, data: AppFabric.Types.ListIngestionsResponse) => void): Request<AppFabric.Types.ListIngestionsResponse, AWSError>;
  158. /**
  159. * Returns a list of tags for a resource.
  160. */
  161. listTagsForResource(params: AppFabric.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: AppFabric.Types.ListTagsForResourceResponse) => void): Request<AppFabric.Types.ListTagsForResourceResponse, AWSError>;
  162. /**
  163. * Returns a list of tags for a resource.
  164. */
  165. listTagsForResource(callback?: (err: AWSError, data: AppFabric.Types.ListTagsForResourceResponse) => void): Request<AppFabric.Types.ListTagsForResourceResponse, AWSError>;
  166. /**
  167. * Starts (enables) an ingestion, which collects data from an application.
  168. */
  169. startIngestion(params: AppFabric.Types.StartIngestionRequest, callback?: (err: AWSError, data: AppFabric.Types.StartIngestionResponse) => void): Request<AppFabric.Types.StartIngestionResponse, AWSError>;
  170. /**
  171. * Starts (enables) an ingestion, which collects data from an application.
  172. */
  173. startIngestion(callback?: (err: AWSError, data: AppFabric.Types.StartIngestionResponse) => void): Request<AppFabric.Types.StartIngestionResponse, AWSError>;
  174. /**
  175. * Starts the tasks to search user access status for a specific email address. The tasks are stopped when the user access status data is found. The tasks are terminated when the API calls to the application time out.
  176. */
  177. startUserAccessTasks(params: AppFabric.Types.StartUserAccessTasksRequest, callback?: (err: AWSError, data: AppFabric.Types.StartUserAccessTasksResponse) => void): Request<AppFabric.Types.StartUserAccessTasksResponse, AWSError>;
  178. /**
  179. * Starts the tasks to search user access status for a specific email address. The tasks are stopped when the user access status data is found. The tasks are terminated when the API calls to the application time out.
  180. */
  181. startUserAccessTasks(callback?: (err: AWSError, data: AppFabric.Types.StartUserAccessTasksResponse) => void): Request<AppFabric.Types.StartUserAccessTasksResponse, AWSError>;
  182. /**
  183. * Stops (disables) an ingestion.
  184. */
  185. stopIngestion(params: AppFabric.Types.StopIngestionRequest, callback?: (err: AWSError, data: AppFabric.Types.StopIngestionResponse) => void): Request<AppFabric.Types.StopIngestionResponse, AWSError>;
  186. /**
  187. * Stops (disables) an ingestion.
  188. */
  189. stopIngestion(callback?: (err: AWSError, data: AppFabric.Types.StopIngestionResponse) => void): Request<AppFabric.Types.StopIngestionResponse, AWSError>;
  190. /**
  191. * Assigns one or more tags (key-value pairs) to the specified resource.
  192. */
  193. tagResource(params: AppFabric.Types.TagResourceRequest, callback?: (err: AWSError, data: AppFabric.Types.TagResourceResponse) => void): Request<AppFabric.Types.TagResourceResponse, AWSError>;
  194. /**
  195. * Assigns one or more tags (key-value pairs) to the specified resource.
  196. */
  197. tagResource(callback?: (err: AWSError, data: AppFabric.Types.TagResourceResponse) => void): Request<AppFabric.Types.TagResourceResponse, AWSError>;
  198. /**
  199. * Removes a tag or tags from a resource.
  200. */
  201. untagResource(params: AppFabric.Types.UntagResourceRequest, callback?: (err: AWSError, data: AppFabric.Types.UntagResourceResponse) => void): Request<AppFabric.Types.UntagResourceResponse, AWSError>;
  202. /**
  203. * Removes a tag or tags from a resource.
  204. */
  205. untagResource(callback?: (err: AWSError, data: AppFabric.Types.UntagResourceResponse) => void): Request<AppFabric.Types.UntagResourceResponse, AWSError>;
  206. /**
  207. * Updates an app authorization within an app bundle, which allows AppFabric to connect to an application. If the app authorization was in a connected state, updating the app authorization will set it back to a PendingConnect state.
  208. */
  209. updateAppAuthorization(params: AppFabric.Types.UpdateAppAuthorizationRequest, callback?: (err: AWSError, data: AppFabric.Types.UpdateAppAuthorizationResponse) => void): Request<AppFabric.Types.UpdateAppAuthorizationResponse, AWSError>;
  210. /**
  211. * Updates an app authorization within an app bundle, which allows AppFabric to connect to an application. If the app authorization was in a connected state, updating the app authorization will set it back to a PendingConnect state.
  212. */
  213. updateAppAuthorization(callback?: (err: AWSError, data: AppFabric.Types.UpdateAppAuthorizationResponse) => void): Request<AppFabric.Types.UpdateAppAuthorizationResponse, AWSError>;
  214. /**
  215. * Updates an ingestion destination, which specifies how an application's ingested data is processed by Amazon Web Services AppFabric and where it's delivered.
  216. */
  217. updateIngestionDestination(params: AppFabric.Types.UpdateIngestionDestinationRequest, callback?: (err: AWSError, data: AppFabric.Types.UpdateIngestionDestinationResponse) => void): Request<AppFabric.Types.UpdateIngestionDestinationResponse, AWSError>;
  218. /**
  219. * Updates an ingestion destination, which specifies how an application's ingested data is processed by Amazon Web Services AppFabric and where it's delivered.
  220. */
  221. updateIngestionDestination(callback?: (err: AWSError, data: AppFabric.Types.UpdateIngestionDestinationResponse) => void): Request<AppFabric.Types.UpdateIngestionDestinationResponse, AWSError>;
  222. }
  223. declare namespace AppFabric {
  224. export interface ApiKeyCredential {
  225. /**
  226. * An API key for an application.
  227. */
  228. apiKey: SensitiveString2048;
  229. }
  230. export interface AppAuthorization {
  231. /**
  232. * The Amazon Resource Name (ARN) of the app authorization.
  233. */
  234. appAuthorizationArn: Arn;
  235. /**
  236. * The Amazon Resource Name (ARN) of the app bundle for the app authorization.
  237. */
  238. appBundleArn: Arn;
  239. /**
  240. * The name of the application.
  241. */
  242. app: String255;
  243. /**
  244. * Contains information about an application tenant, such as the application display name and identifier.
  245. */
  246. tenant: Tenant;
  247. /**
  248. * The authorization type.
  249. */
  250. authType: AuthType;
  251. /**
  252. * The state of the app authorization. The following states are possible: PendingConnect: The initial state of the app authorization. The app authorization is created but not yet connected. Connected: The app authorization is connected to the application, and is ready to be used. ConnectionValidationFailed: The app authorization received a validation exception when trying to connect to the application. If the app authorization is in this state, you should verify the configured credentials and try to connect the app authorization again. TokenAutoRotationFailed: AppFabric failed to refresh the access token. If the app authorization is in this state, you should try to reconnect the app authorization.
  253. */
  254. status: AppAuthorizationStatus;
  255. /**
  256. * The timestamp of when the app authorization was created.
  257. */
  258. createdAt: DateTime;
  259. /**
  260. * The timestamp of when the app authorization was last updated.
  261. */
  262. updatedAt: DateTime;
  263. /**
  264. * The user persona of the app authorization. This field should always be admin.
  265. */
  266. persona?: Persona;
  267. /**
  268. * The application URL for the OAuth flow.
  269. */
  270. authUrl?: String;
  271. }
  272. export type AppAuthorizationStatus = "PendingConnect"|"Connected"|"ConnectionValidationFailed"|"TokenAutoRotationFailed"|string;
  273. export interface AppAuthorizationSummary {
  274. /**
  275. * The Amazon Resource Name (ARN) of the app authorization.
  276. */
  277. appAuthorizationArn: Arn;
  278. /**
  279. * The Amazon Resource Name (ARN) of the app bundle for the app authorization.
  280. */
  281. appBundleArn: Arn;
  282. /**
  283. * The name of the application.
  284. */
  285. app: String255;
  286. /**
  287. * Contains information about an application tenant, such as the application display name and identifier.
  288. */
  289. tenant: Tenant;
  290. /**
  291. * The state of the app authorization. The following states are possible: PendingConnect: The initial state of the app authorization. The app authorization is created but not yet connected. Connected: The app authorization is connected to the application, and is ready to be used. ConnectionValidationFailed: The app authorization received a validation exception when trying to connect to the application. If the app authorization is in this state, you should verify the configured credentials and try to connect the app authorization again. TokenAutoRotationFailed: AppFabric failed to refresh the access token. If the app authorization is in this state, you should try to reconnect the app authorization.
  292. */
  293. status: AppAuthorizationStatus;
  294. /**
  295. * Timestamp for when the app authorization was last updated.
  296. */
  297. updatedAt: DateTime;
  298. }
  299. export type AppAuthorizationSummaryList = AppAuthorizationSummary[];
  300. export interface AppBundle {
  301. /**
  302. * The Amazon Resource Name (ARN) of the app bundle.
  303. */
  304. arn: Arn;
  305. /**
  306. * The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the application data.
  307. */
  308. customerManagedKeyArn?: Arn;
  309. }
  310. export interface AppBundleSummary {
  311. /**
  312. * The Amazon Resource Name (ARN) of the app bundle.
  313. */
  314. arn: Arn;
  315. }
  316. export type AppBundleSummaryList = AppBundleSummary[];
  317. export type Arn = string;
  318. export interface AuditLogDestinationConfiguration {
  319. /**
  320. * Contains information about an audit log destination.
  321. */
  322. destination: Destination;
  323. }
  324. export interface AuditLogProcessingConfiguration {
  325. /**
  326. * The event schema in which the audit logs need to be formatted.
  327. */
  328. schema: Schema;
  329. /**
  330. * The format in which the audit logs need to be formatted.
  331. */
  332. format: Format;
  333. }
  334. export interface AuthRequest {
  335. /**
  336. * The redirect URL that is specified in the AuthURL and the application client.
  337. */
  338. redirectUri: RedirectUri;
  339. /**
  340. * The authorization code returned by the application after permission is granted in the application OAuth page (after clicking on the AuthURL).
  341. */
  342. code: SensitiveString2048;
  343. }
  344. export type AuthType = "oauth2"|"apiKey"|string;
  345. export interface BatchGetUserAccessTasksRequest {
  346. /**
  347. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
  348. */
  349. appBundleIdentifier: Identifier;
  350. /**
  351. * The tasks IDs to use for the request.
  352. */
  353. taskIdList: TaskIdList;
  354. }
  355. export interface BatchGetUserAccessTasksResponse {
  356. /**
  357. * Contains a list of user access results.
  358. */
  359. userAccessResultsList?: UserAccessResultsList;
  360. }
  361. export interface ConnectAppAuthorizationRequest {
  362. /**
  363. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle that contains the app authorization to use for the request.
  364. */
  365. appBundleIdentifier: Identifier;
  366. /**
  367. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request.
  368. */
  369. appAuthorizationIdentifier: Identifier;
  370. /**
  371. * Contains OAuth2 authorization information. This is required if the app authorization for the request is configured with an OAuth2 (oauth2) authorization type.
  372. */
  373. authRequest?: AuthRequest;
  374. }
  375. export interface ConnectAppAuthorizationResponse {
  376. /**
  377. * Contains a summary of the app authorization.
  378. */
  379. appAuthorizationSummary: AppAuthorizationSummary;
  380. }
  381. export interface CreateAppAuthorizationRequest {
  382. /**
  383. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
  384. */
  385. appBundleIdentifier: Identifier;
  386. /**
  387. * The name of the application. Valid values are: SLACK ASANA JIRA M365 M365AUDITLOGS ZOOM ZENDESK OKTA GOOGLE DROPBOX SMARTSHEET CISCO
  388. */
  389. app: String255;
  390. /**
  391. * Contains credentials for the application, such as an API key or OAuth2 client ID and secret. Specify credentials that match the authorization type for your request. For example, if the authorization type for your request is OAuth2 (oauth2), then you should provide only the OAuth2 credentials.
  392. */
  393. credential: Credential;
  394. /**
  395. * Contains information about an application tenant, such as the application display name and identifier.
  396. */
  397. tenant: Tenant;
  398. /**
  399. * The authorization type for the app authorization.
  400. */
  401. authType: AuthType;
  402. /**
  403. * Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value. If you don't provide this value, then Amazon Web Services generates a random one for you. If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.
  404. */
  405. clientToken?: UUID;
  406. /**
  407. * A map of the key-value pairs of the tag or tags to assign to the resource.
  408. */
  409. tags?: TagList;
  410. }
  411. export interface CreateAppAuthorizationResponse {
  412. /**
  413. * Contains information about an app authorization.
  414. */
  415. appAuthorization: AppAuthorization;
  416. }
  417. export interface CreateAppBundleRequest {
  418. /**
  419. * Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value. If you don't provide this value, then Amazon Web Services generates a random one for you. If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.
  420. */
  421. clientToken?: UUID;
  422. /**
  423. * The Amazon Resource Name (ARN) of the Key Management Service (KMS) key to use to encrypt the application data. If this is not specified, an Amazon Web Services owned key is used for encryption.
  424. */
  425. customerManagedKeyIdentifier?: Identifier;
  426. /**
  427. * A map of the key-value pairs of the tag or tags to assign to the resource.
  428. */
  429. tags?: TagList;
  430. }
  431. export interface CreateAppBundleResponse {
  432. /**
  433. * Contains information about an app bundle.
  434. */
  435. appBundle: AppBundle;
  436. }
  437. export interface CreateIngestionDestinationRequest {
  438. /**
  439. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
  440. */
  441. appBundleIdentifier: Identifier;
  442. /**
  443. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request.
  444. */
  445. ingestionIdentifier: Identifier;
  446. /**
  447. * Contains information about how ingested data is processed.
  448. */
  449. processingConfiguration: ProcessingConfiguration;
  450. /**
  451. * Contains information about the destination of ingested data.
  452. */
  453. destinationConfiguration: DestinationConfiguration;
  454. /**
  455. * Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value. If you don't provide this value, then Amazon Web Services generates a random one for you. If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.
  456. */
  457. clientToken?: UUID;
  458. /**
  459. * A map of the key-value pairs of the tag or tags to assign to the resource.
  460. */
  461. tags?: TagList;
  462. }
  463. export interface CreateIngestionDestinationResponse {
  464. /**
  465. * Contains information about an ingestion destination.
  466. */
  467. ingestionDestination: IngestionDestination;
  468. }
  469. export interface CreateIngestionRequest {
  470. /**
  471. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
  472. */
  473. appBundleIdentifier: Identifier;
  474. /**
  475. * The name of the application. Valid values are: SLACK ASANA JIRA M365 M365AUDITLOGS ZOOM ZENDESK OKTA GOOGLE DROPBOX SMARTSHEET CISCO
  476. */
  477. app: String255;
  478. /**
  479. * The ID of the application tenant.
  480. */
  481. tenantId: TenantIdentifier;
  482. /**
  483. * The ingestion type.
  484. */
  485. ingestionType: IngestionType;
  486. /**
  487. * Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value. If you don't provide this value, then Amazon Web Services generates a random one for you. If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.
  488. */
  489. clientToken?: UUID;
  490. /**
  491. * A map of the key-value pairs of the tag or tags to assign to the resource.
  492. */
  493. tags?: TagList;
  494. }
  495. export interface CreateIngestionResponse {
  496. /**
  497. * Contains information about an ingestion.
  498. */
  499. ingestion: Ingestion;
  500. }
  501. export interface Credential {
  502. /**
  503. * Contains OAuth2 client credential information.
  504. */
  505. oauth2Credential?: Oauth2Credential;
  506. /**
  507. * Contains API key credential information.
  508. */
  509. apiKeyCredential?: ApiKeyCredential;
  510. }
  511. export type DateTime = Date;
  512. export interface DeleteAppAuthorizationRequest {
  513. /**
  514. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
  515. */
  516. appBundleIdentifier: Identifier;
  517. /**
  518. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request.
  519. */
  520. appAuthorizationIdentifier: Identifier;
  521. }
  522. export interface DeleteAppAuthorizationResponse {
  523. }
  524. export interface DeleteAppBundleRequest {
  525. /**
  526. * The ID or Amazon Resource Name (ARN) of the app bundle that needs to be deleted.
  527. */
  528. appBundleIdentifier: Identifier;
  529. }
  530. export interface DeleteAppBundleResponse {
  531. }
  532. export interface DeleteIngestionDestinationRequest {
  533. /**
  534. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
  535. */
  536. appBundleIdentifier: Identifier;
  537. /**
  538. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request.
  539. */
  540. ingestionIdentifier: Identifier;
  541. /**
  542. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion destination to use for the request.
  543. */
  544. ingestionDestinationIdentifier: Identifier;
  545. }
  546. export interface DeleteIngestionDestinationResponse {
  547. }
  548. export interface DeleteIngestionRequest {
  549. /**
  550. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
  551. */
  552. appBundleIdentifier: Identifier;
  553. /**
  554. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request.
  555. */
  556. ingestionIdentifier: Identifier;
  557. }
  558. export interface DeleteIngestionResponse {
  559. }
  560. export interface Destination {
  561. /**
  562. * Contains information about an Amazon S3 bucket.
  563. */
  564. s3Bucket?: S3Bucket;
  565. /**
  566. * Contains information about an Amazon Kinesis Data Firehose delivery stream.
  567. */
  568. firehoseStream?: FirehoseStream;
  569. }
  570. export interface DestinationConfiguration {
  571. /**
  572. * Contains information about an audit log destination configuration.
  573. */
  574. auditLog?: AuditLogDestinationConfiguration;
  575. }
  576. export type Email = string;
  577. export interface FirehoseStream {
  578. /**
  579. * The name of the Amazon Kinesis Data Firehose delivery stream.
  580. */
  581. streamName: String64;
  582. }
  583. export type Format = "json"|"parquet"|string;
  584. export interface GetAppAuthorizationRequest {
  585. /**
  586. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
  587. */
  588. appBundleIdentifier: Identifier;
  589. /**
  590. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request.
  591. */
  592. appAuthorizationIdentifier: Identifier;
  593. }
  594. export interface GetAppAuthorizationResponse {
  595. /**
  596. * Contains information about an app authorization.
  597. */
  598. appAuthorization: AppAuthorization;
  599. }
  600. export interface GetAppBundleRequest {
  601. /**
  602. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
  603. */
  604. appBundleIdentifier: Identifier;
  605. }
  606. export interface GetAppBundleResponse {
  607. /**
  608. * Contains information about an app bundle.
  609. */
  610. appBundle: AppBundle;
  611. }
  612. export interface GetIngestionDestinationRequest {
  613. /**
  614. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
  615. */
  616. appBundleIdentifier: Identifier;
  617. /**
  618. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request.
  619. */
  620. ingestionIdentifier: Identifier;
  621. /**
  622. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion destination to use for the request.
  623. */
  624. ingestionDestinationIdentifier: Identifier;
  625. }
  626. export interface GetIngestionDestinationResponse {
  627. /**
  628. * Contains information about an ingestion destination.
  629. */
  630. ingestionDestination: IngestionDestination;
  631. }
  632. export interface GetIngestionRequest {
  633. /**
  634. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
  635. */
  636. appBundleIdentifier: Identifier;
  637. /**
  638. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request.
  639. */
  640. ingestionIdentifier: Identifier;
  641. }
  642. export interface GetIngestionResponse {
  643. /**
  644. * Contains information about an ingestion.
  645. */
  646. ingestion: Ingestion;
  647. }
  648. export type Identifier = string;
  649. export interface Ingestion {
  650. /**
  651. * The Amazon Resource Name (ARN) of the ingestion.
  652. */
  653. arn: Arn;
  654. /**
  655. * The Amazon Resource Name (ARN) of the app bundle for the ingestion.
  656. */
  657. appBundleArn: Arn;
  658. /**
  659. * The name of the application.
  660. */
  661. app: String255;
  662. /**
  663. * The ID of the application tenant.
  664. */
  665. tenantId: TenantIdentifier;
  666. /**
  667. * The timestamp of when the ingestion was created.
  668. */
  669. createdAt: DateTime;
  670. /**
  671. * The timestamp of when the ingestion was last updated.
  672. */
  673. updatedAt: DateTime;
  674. /**
  675. * The status of the ingestion.
  676. */
  677. state: IngestionState;
  678. /**
  679. * The type of the ingestion.
  680. */
  681. ingestionType: IngestionType;
  682. }
  683. export interface IngestionDestination {
  684. /**
  685. * The Amazon Resource Name (ARN) of the ingestion destination.
  686. */
  687. arn: Arn;
  688. /**
  689. * The Amazon Resource Name (ARN) of the ingestion.
  690. */
  691. ingestionArn: Arn;
  692. /**
  693. * Contains information about how ingested data is processed.
  694. */
  695. processingConfiguration: ProcessingConfiguration;
  696. /**
  697. * Contains information about the destination of ingested data.
  698. */
  699. destinationConfiguration: DestinationConfiguration;
  700. /**
  701. * The state of the ingestion destination. The following states are possible: Active: The ingestion destination is active and is ready to be used. Failed: The ingestion destination has failed. If the ingestion destination is in this state, you should verify the ingestion destination configuration and try again.
  702. */
  703. status?: IngestionDestinationStatus;
  704. /**
  705. * The reason for the current status of the ingestion destination. Only present when the status of ingestion destination is Failed.
  706. */
  707. statusReason?: String;
  708. /**
  709. * The timestamp of when the ingestion destination was created.
  710. */
  711. createdAt?: DateTime;
  712. /**
  713. * The timestamp of when the ingestion destination was last updated.
  714. */
  715. updatedAt?: DateTime;
  716. }
  717. export type IngestionDestinationList = IngestionDestinationSummary[];
  718. export type IngestionDestinationStatus = "Active"|"Failed"|string;
  719. export interface IngestionDestinationSummary {
  720. /**
  721. * The Amazon Resource Name (ARN) of the ingestion destination.
  722. */
  723. arn: Arn;
  724. }
  725. export type IngestionList = IngestionSummary[];
  726. export type IngestionState = "enabled"|"disabled"|string;
  727. export interface IngestionSummary {
  728. /**
  729. * The Amazon Resource Name (ARN) of the ingestion.
  730. */
  731. arn: Arn;
  732. /**
  733. * The name of the application.
  734. */
  735. app: String255;
  736. /**
  737. * The ID of the application tenant.
  738. */
  739. tenantId: TenantIdentifier;
  740. /**
  741. * The status of the ingestion.
  742. */
  743. state: IngestionState;
  744. }
  745. export type IngestionType = "auditLog"|string;
  746. export interface ListAppAuthorizationsRequest {
  747. /**
  748. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
  749. */
  750. appBundleIdentifier: Identifier;
  751. /**
  752. * The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results. This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.
  753. */
  754. maxResults?: MaxResults;
  755. /**
  756. * If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
  757. */
  758. nextToken?: String2048;
  759. }
  760. export interface ListAppAuthorizationsResponse {
  761. /**
  762. * Contains a list of app authorization summaries.
  763. */
  764. appAuthorizationSummaryList: AppAuthorizationSummaryList;
  765. /**
  766. * If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
  767. */
  768. nextToken?: String2048;
  769. }
  770. export interface ListAppBundlesRequest {
  771. /**
  772. * The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results. This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.
  773. */
  774. maxResults?: MaxResults;
  775. /**
  776. * If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
  777. */
  778. nextToken?: String2048;
  779. }
  780. export interface ListAppBundlesResponse {
  781. /**
  782. * Contains a list of app bundle summaries.
  783. */
  784. appBundleSummaryList: AppBundleSummaryList;
  785. /**
  786. * If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
  787. */
  788. nextToken?: String2048;
  789. }
  790. export interface ListIngestionDestinationsRequest {
  791. /**
  792. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
  793. */
  794. appBundleIdentifier: Identifier;
  795. /**
  796. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request.
  797. */
  798. ingestionIdentifier: Identifier;
  799. /**
  800. * The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results. This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.
  801. */
  802. maxResults?: MaxResults;
  803. /**
  804. * If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
  805. */
  806. nextToken?: String;
  807. }
  808. export interface ListIngestionDestinationsResponse {
  809. /**
  810. * Contains a list of ingestion destination summaries.
  811. */
  812. ingestionDestinations: IngestionDestinationList;
  813. /**
  814. * If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
  815. */
  816. nextToken?: String;
  817. }
  818. export interface ListIngestionsRequest {
  819. /**
  820. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
  821. */
  822. appBundleIdentifier: Identifier;
  823. /**
  824. * The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results. This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.
  825. */
  826. maxResults?: MaxResults;
  827. /**
  828. * If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
  829. */
  830. nextToken?: String;
  831. }
  832. export interface ListIngestionsResponse {
  833. /**
  834. * Contains a list of ingestion summaries.
  835. */
  836. ingestions: IngestionList;
  837. /**
  838. * If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
  839. */
  840. nextToken?: String;
  841. }
  842. export interface ListTagsForResourceRequest {
  843. /**
  844. * The Amazon Resource Name (ARN) of the resource for which you want to retrieve tags.
  845. */
  846. resourceArn: Arn;
  847. }
  848. export interface ListTagsForResourceResponse {
  849. /**
  850. * A map of the key-value pairs for the tag or tags assigned to the specified resource.
  851. */
  852. tags?: TagList;
  853. }
  854. export type MaxResults = number;
  855. export interface Oauth2Credential {
  856. /**
  857. * The client ID of the client application.
  858. */
  859. clientId: String2048;
  860. /**
  861. * The client secret of the client application.
  862. */
  863. clientSecret: SensitiveString2048;
  864. }
  865. export type Persona = "admin"|"endUser"|string;
  866. export interface ProcessingConfiguration {
  867. /**
  868. * Contains information about an audit log processing configuration.
  869. */
  870. auditLog?: AuditLogProcessingConfiguration;
  871. }
  872. export type RedirectUri = string;
  873. export type ResultStatus = "IN_PROGRESS"|"COMPLETED"|"FAILED"|"EXPIRED"|string;
  874. export interface S3Bucket {
  875. /**
  876. * The name of the Amazon S3 bucket.
  877. */
  878. bucketName: String63;
  879. /**
  880. * The object key to use.
  881. */
  882. prefix?: String120;
  883. }
  884. export type Schema = "ocsf"|"raw"|string;
  885. export type SensitiveString2048 = string;
  886. export interface StartIngestionRequest {
  887. /**
  888. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request.
  889. */
  890. ingestionIdentifier: Identifier;
  891. /**
  892. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
  893. */
  894. appBundleIdentifier: Identifier;
  895. }
  896. export interface StartIngestionResponse {
  897. }
  898. export interface StartUserAccessTasksRequest {
  899. /**
  900. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
  901. */
  902. appBundleIdentifier: Identifier;
  903. /**
  904. * The email address of the target user.
  905. */
  906. email: Email;
  907. }
  908. export interface StartUserAccessTasksResponse {
  909. /**
  910. * Contains a list of user access task information.
  911. */
  912. userAccessTasksList?: UserAccessTasksList;
  913. }
  914. export interface StopIngestionRequest {
  915. /**
  916. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request.
  917. */
  918. ingestionIdentifier: Identifier;
  919. /**
  920. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
  921. */
  922. appBundleIdentifier: Identifier;
  923. }
  924. export interface StopIngestionResponse {
  925. }
  926. export type String = string;
  927. export type String120 = string;
  928. export type String2048 = string;
  929. export type String255 = string;
  930. export type String63 = string;
  931. export type String64 = string;
  932. export interface Tag {
  933. /**
  934. * Tag key.
  935. */
  936. key: TagKey;
  937. /**
  938. * Tag value.
  939. */
  940. value: TagValue;
  941. }
  942. export type TagKey = string;
  943. export type TagKeyList = TagKey[];
  944. export type TagList = Tag[];
  945. export interface TagResourceRequest {
  946. /**
  947. * The Amazon Resource Name (ARN) of the resource that you want to tag.
  948. */
  949. resourceArn: Arn;
  950. /**
  951. * A map of the key-value pairs of the tag or tags to assign to the resource.
  952. */
  953. tags: TagList;
  954. }
  955. export interface TagResourceResponse {
  956. }
  957. export type TagValue = string;
  958. export interface TaskError {
  959. /**
  960. * The code of the error.
  961. */
  962. errorCode?: String;
  963. /**
  964. * The message of the error.
  965. */
  966. errorMessage?: String;
  967. }
  968. export type TaskIdList = UUID[];
  969. export interface Tenant {
  970. /**
  971. * The ID of the application tenant.
  972. */
  973. tenantIdentifier: TenantIdentifier;
  974. /**
  975. * The display name of the tenant.
  976. */
  977. tenantDisplayName: String2048;
  978. }
  979. export type TenantIdentifier = string;
  980. export type UUID = string;
  981. export interface UntagResourceRequest {
  982. /**
  983. * The Amazon Resource Name (ARN) of the resource that you want to untag.
  984. */
  985. resourceArn: Arn;
  986. /**
  987. * The keys of the key-value pairs for the tag or tags you want to remove from the specified resource.
  988. */
  989. tagKeys: TagKeyList;
  990. }
  991. export interface UntagResourceResponse {
  992. }
  993. export interface UpdateAppAuthorizationRequest {
  994. /**
  995. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
  996. */
  997. appBundleIdentifier: Identifier;
  998. /**
  999. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request.
  1000. */
  1001. appAuthorizationIdentifier: Identifier;
  1002. /**
  1003. * Contains credentials for the application, such as an API key or OAuth2 client ID and secret. Specify credentials that match the authorization type of the app authorization to update. For example, if the authorization type of the app authorization is OAuth2 (oauth2), then you should provide only the OAuth2 credentials.
  1004. */
  1005. credential?: Credential;
  1006. /**
  1007. * Contains information about an application tenant, such as the application display name and identifier.
  1008. */
  1009. tenant?: Tenant;
  1010. }
  1011. export interface UpdateAppAuthorizationResponse {
  1012. /**
  1013. * Contains information about an app authorization.
  1014. */
  1015. appAuthorization: AppAuthorization;
  1016. }
  1017. export interface UpdateIngestionDestinationRequest {
  1018. /**
  1019. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
  1020. */
  1021. appBundleIdentifier: Identifier;
  1022. /**
  1023. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request.
  1024. */
  1025. ingestionIdentifier: Identifier;
  1026. /**
  1027. * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion destination to use for the request.
  1028. */
  1029. ingestionDestinationIdentifier: Identifier;
  1030. /**
  1031. * Contains information about the destination of ingested data.
  1032. */
  1033. destinationConfiguration: DestinationConfiguration;
  1034. }
  1035. export interface UpdateIngestionDestinationResponse {
  1036. /**
  1037. * Contains information about an ingestion destination.
  1038. */
  1039. ingestionDestination: IngestionDestination;
  1040. }
  1041. export interface UserAccessResultItem {
  1042. /**
  1043. * The name of the application.
  1044. */
  1045. app?: String255;
  1046. /**
  1047. * The ID of the application tenant.
  1048. */
  1049. tenantId?: TenantIdentifier;
  1050. /**
  1051. * The display name of the tenant.
  1052. */
  1053. tenantDisplayName?: String2048;
  1054. /**
  1055. * The unique ID of the task.
  1056. */
  1057. taskId?: UUID;
  1058. /**
  1059. * The status of the user access result item. The following states are possible: IN_PROGRESS: The user access task is in progress. COMPLETED: The user access task completed successfully. FAILED: The user access task failed. EXPIRED: The user access task expired.
  1060. */
  1061. resultStatus?: ResultStatus;
  1062. /**
  1063. * The email address of the target user.
  1064. */
  1065. email?: Email;
  1066. /**
  1067. * The unique ID of user.
  1068. */
  1069. userId?: SensitiveString2048;
  1070. /**
  1071. * The full name of the user.
  1072. */
  1073. userFullName?: SensitiveString2048;
  1074. /**
  1075. * The first name of the user.
  1076. */
  1077. userFirstName?: SensitiveString2048;
  1078. /**
  1079. * The last name of the user.
  1080. */
  1081. userLastName?: SensitiveString2048;
  1082. /**
  1083. * The status of the user returned by the application.
  1084. */
  1085. userStatus?: String;
  1086. /**
  1087. * Contains information about an error returned from a user access task.
  1088. */
  1089. taskError?: TaskError;
  1090. }
  1091. export type UserAccessResultsList = UserAccessResultItem[];
  1092. export interface UserAccessTaskItem {
  1093. /**
  1094. * The name of the application.
  1095. */
  1096. app: String255;
  1097. /**
  1098. * The ID of the application tenant.
  1099. */
  1100. tenantId: TenantIdentifier;
  1101. /**
  1102. * The unique ID of the task.
  1103. */
  1104. taskId?: UUID;
  1105. /**
  1106. * Error from the task, if any.
  1107. */
  1108. error?: TaskError;
  1109. }
  1110. export type UserAccessTasksList = UserAccessTaskItem[];
  1111. /**
  1112. * 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.
  1113. */
  1114. export type apiVersion = "2023-05-19"|"latest"|string;
  1115. export interface ClientApiVersions {
  1116. /**
  1117. * 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.
  1118. */
  1119. apiVersion?: apiVersion;
  1120. }
  1121. export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
  1122. /**
  1123. * Contains interfaces for use with the AppFabric client.
  1124. */
  1125. export import Types = AppFabric;
  1126. }
  1127. export = AppFabric;