applicationinsights.d.ts 68 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650
  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 ApplicationInsights extends Service {
  9. /**
  10. * Constructs a service object. This object has one method for each API operation.
  11. */
  12. constructor(options?: ApplicationInsights.Types.ClientConfiguration)
  13. config: Config & ApplicationInsights.Types.ClientConfiguration;
  14. /**
  15. * Adds a workload to a component. Each component can have at most five workloads.
  16. */
  17. addWorkload(params: ApplicationInsights.Types.AddWorkloadRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.AddWorkloadResponse) => void): Request<ApplicationInsights.Types.AddWorkloadResponse, AWSError>;
  18. /**
  19. * Adds a workload to a component. Each component can have at most five workloads.
  20. */
  21. addWorkload(callback?: (err: AWSError, data: ApplicationInsights.Types.AddWorkloadResponse) => void): Request<ApplicationInsights.Types.AddWorkloadResponse, AWSError>;
  22. /**
  23. * Adds an application that is created from a resource group.
  24. */
  25. createApplication(params: ApplicationInsights.Types.CreateApplicationRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.CreateApplicationResponse) => void): Request<ApplicationInsights.Types.CreateApplicationResponse, AWSError>;
  26. /**
  27. * Adds an application that is created from a resource group.
  28. */
  29. createApplication(callback?: (err: AWSError, data: ApplicationInsights.Types.CreateApplicationResponse) => void): Request<ApplicationInsights.Types.CreateApplicationResponse, AWSError>;
  30. /**
  31. * Creates a custom component by grouping similar standalone instances to monitor.
  32. */
  33. createComponent(params: ApplicationInsights.Types.CreateComponentRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.CreateComponentResponse) => void): Request<ApplicationInsights.Types.CreateComponentResponse, AWSError>;
  34. /**
  35. * Creates a custom component by grouping similar standalone instances to monitor.
  36. */
  37. createComponent(callback?: (err: AWSError, data: ApplicationInsights.Types.CreateComponentResponse) => void): Request<ApplicationInsights.Types.CreateComponentResponse, AWSError>;
  38. /**
  39. * Adds an log pattern to a LogPatternSet.
  40. */
  41. createLogPattern(params: ApplicationInsights.Types.CreateLogPatternRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.CreateLogPatternResponse) => void): Request<ApplicationInsights.Types.CreateLogPatternResponse, AWSError>;
  42. /**
  43. * Adds an log pattern to a LogPatternSet.
  44. */
  45. createLogPattern(callback?: (err: AWSError, data: ApplicationInsights.Types.CreateLogPatternResponse) => void): Request<ApplicationInsights.Types.CreateLogPatternResponse, AWSError>;
  46. /**
  47. * Removes the specified application from monitoring. Does not delete the application.
  48. */
  49. deleteApplication(params: ApplicationInsights.Types.DeleteApplicationRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DeleteApplicationResponse) => void): Request<ApplicationInsights.Types.DeleteApplicationResponse, AWSError>;
  50. /**
  51. * Removes the specified application from monitoring. Does not delete the application.
  52. */
  53. deleteApplication(callback?: (err: AWSError, data: ApplicationInsights.Types.DeleteApplicationResponse) => void): Request<ApplicationInsights.Types.DeleteApplicationResponse, AWSError>;
  54. /**
  55. * Ungroups a custom component. When you ungroup custom components, all applicable monitors that are set up for the component are removed and the instances revert to their standalone status.
  56. */
  57. deleteComponent(params: ApplicationInsights.Types.DeleteComponentRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DeleteComponentResponse) => void): Request<ApplicationInsights.Types.DeleteComponentResponse, AWSError>;
  58. /**
  59. * Ungroups a custom component. When you ungroup custom components, all applicable monitors that are set up for the component are removed and the instances revert to their standalone status.
  60. */
  61. deleteComponent(callback?: (err: AWSError, data: ApplicationInsights.Types.DeleteComponentResponse) => void): Request<ApplicationInsights.Types.DeleteComponentResponse, AWSError>;
  62. /**
  63. * Removes the specified log pattern from a LogPatternSet.
  64. */
  65. deleteLogPattern(params: ApplicationInsights.Types.DeleteLogPatternRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DeleteLogPatternResponse) => void): Request<ApplicationInsights.Types.DeleteLogPatternResponse, AWSError>;
  66. /**
  67. * Removes the specified log pattern from a LogPatternSet.
  68. */
  69. deleteLogPattern(callback?: (err: AWSError, data: ApplicationInsights.Types.DeleteLogPatternResponse) => void): Request<ApplicationInsights.Types.DeleteLogPatternResponse, AWSError>;
  70. /**
  71. * Describes the application.
  72. */
  73. describeApplication(params: ApplicationInsights.Types.DescribeApplicationRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeApplicationResponse) => void): Request<ApplicationInsights.Types.DescribeApplicationResponse, AWSError>;
  74. /**
  75. * Describes the application.
  76. */
  77. describeApplication(callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeApplicationResponse) => void): Request<ApplicationInsights.Types.DescribeApplicationResponse, AWSError>;
  78. /**
  79. * Describes a component and lists the resources that are grouped together in a component.
  80. */
  81. describeComponent(params: ApplicationInsights.Types.DescribeComponentRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeComponentResponse) => void): Request<ApplicationInsights.Types.DescribeComponentResponse, AWSError>;
  82. /**
  83. * Describes a component and lists the resources that are grouped together in a component.
  84. */
  85. describeComponent(callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeComponentResponse) => void): Request<ApplicationInsights.Types.DescribeComponentResponse, AWSError>;
  86. /**
  87. * Describes the monitoring configuration of the component.
  88. */
  89. describeComponentConfiguration(params: ApplicationInsights.Types.DescribeComponentConfigurationRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeComponentConfigurationResponse) => void): Request<ApplicationInsights.Types.DescribeComponentConfigurationResponse, AWSError>;
  90. /**
  91. * Describes the monitoring configuration of the component.
  92. */
  93. describeComponentConfiguration(callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeComponentConfigurationResponse) => void): Request<ApplicationInsights.Types.DescribeComponentConfigurationResponse, AWSError>;
  94. /**
  95. * Describes the recommended monitoring configuration of the component.
  96. */
  97. describeComponentConfigurationRecommendation(params: ApplicationInsights.Types.DescribeComponentConfigurationRecommendationRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeComponentConfigurationRecommendationResponse) => void): Request<ApplicationInsights.Types.DescribeComponentConfigurationRecommendationResponse, AWSError>;
  98. /**
  99. * Describes the recommended monitoring configuration of the component.
  100. */
  101. describeComponentConfigurationRecommendation(callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeComponentConfigurationRecommendationResponse) => void): Request<ApplicationInsights.Types.DescribeComponentConfigurationRecommendationResponse, AWSError>;
  102. /**
  103. * Describe a specific log pattern from a LogPatternSet.
  104. */
  105. describeLogPattern(params: ApplicationInsights.Types.DescribeLogPatternRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeLogPatternResponse) => void): Request<ApplicationInsights.Types.DescribeLogPatternResponse, AWSError>;
  106. /**
  107. * Describe a specific log pattern from a LogPatternSet.
  108. */
  109. describeLogPattern(callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeLogPatternResponse) => void): Request<ApplicationInsights.Types.DescribeLogPatternResponse, AWSError>;
  110. /**
  111. * Describes an anomaly or error with the application.
  112. */
  113. describeObservation(params: ApplicationInsights.Types.DescribeObservationRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeObservationResponse) => void): Request<ApplicationInsights.Types.DescribeObservationResponse, AWSError>;
  114. /**
  115. * Describes an anomaly or error with the application.
  116. */
  117. describeObservation(callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeObservationResponse) => void): Request<ApplicationInsights.Types.DescribeObservationResponse, AWSError>;
  118. /**
  119. * Describes an application problem.
  120. */
  121. describeProblem(params: ApplicationInsights.Types.DescribeProblemRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeProblemResponse) => void): Request<ApplicationInsights.Types.DescribeProblemResponse, AWSError>;
  122. /**
  123. * Describes an application problem.
  124. */
  125. describeProblem(callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeProblemResponse) => void): Request<ApplicationInsights.Types.DescribeProblemResponse, AWSError>;
  126. /**
  127. * Describes the anomalies or errors associated with the problem.
  128. */
  129. describeProblemObservations(params: ApplicationInsights.Types.DescribeProblemObservationsRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeProblemObservationsResponse) => void): Request<ApplicationInsights.Types.DescribeProblemObservationsResponse, AWSError>;
  130. /**
  131. * Describes the anomalies or errors associated with the problem.
  132. */
  133. describeProblemObservations(callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeProblemObservationsResponse) => void): Request<ApplicationInsights.Types.DescribeProblemObservationsResponse, AWSError>;
  134. /**
  135. * Describes a workload and its configuration.
  136. */
  137. describeWorkload(params: ApplicationInsights.Types.DescribeWorkloadRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeWorkloadResponse) => void): Request<ApplicationInsights.Types.DescribeWorkloadResponse, AWSError>;
  138. /**
  139. * Describes a workload and its configuration.
  140. */
  141. describeWorkload(callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeWorkloadResponse) => void): Request<ApplicationInsights.Types.DescribeWorkloadResponse, AWSError>;
  142. /**
  143. * Lists the IDs of the applications that you are monitoring.
  144. */
  145. listApplications(params: ApplicationInsights.Types.ListApplicationsRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.ListApplicationsResponse) => void): Request<ApplicationInsights.Types.ListApplicationsResponse, AWSError>;
  146. /**
  147. * Lists the IDs of the applications that you are monitoring.
  148. */
  149. listApplications(callback?: (err: AWSError, data: ApplicationInsights.Types.ListApplicationsResponse) => void): Request<ApplicationInsights.Types.ListApplicationsResponse, AWSError>;
  150. /**
  151. * Lists the auto-grouped, standalone, and custom components of the application.
  152. */
  153. listComponents(params: ApplicationInsights.Types.ListComponentsRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.ListComponentsResponse) => void): Request<ApplicationInsights.Types.ListComponentsResponse, AWSError>;
  154. /**
  155. * Lists the auto-grouped, standalone, and custom components of the application.
  156. */
  157. listComponents(callback?: (err: AWSError, data: ApplicationInsights.Types.ListComponentsResponse) => void): Request<ApplicationInsights.Types.ListComponentsResponse, AWSError>;
  158. /**
  159. * Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are: INFO: creating a new alarm or updating an alarm threshold. WARN: alarm not created due to insufficient data points used to predict thresholds. ERROR: alarm not created due to permission errors or exceeding quotas.
  160. */
  161. listConfigurationHistory(params: ApplicationInsights.Types.ListConfigurationHistoryRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.ListConfigurationHistoryResponse) => void): Request<ApplicationInsights.Types.ListConfigurationHistoryResponse, AWSError>;
  162. /**
  163. * Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are: INFO: creating a new alarm or updating an alarm threshold. WARN: alarm not created due to insufficient data points used to predict thresholds. ERROR: alarm not created due to permission errors or exceeding quotas.
  164. */
  165. listConfigurationHistory(callback?: (err: AWSError, data: ApplicationInsights.Types.ListConfigurationHistoryResponse) => void): Request<ApplicationInsights.Types.ListConfigurationHistoryResponse, AWSError>;
  166. /**
  167. * Lists the log pattern sets in the specific application.
  168. */
  169. listLogPatternSets(params: ApplicationInsights.Types.ListLogPatternSetsRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.ListLogPatternSetsResponse) => void): Request<ApplicationInsights.Types.ListLogPatternSetsResponse, AWSError>;
  170. /**
  171. * Lists the log pattern sets in the specific application.
  172. */
  173. listLogPatternSets(callback?: (err: AWSError, data: ApplicationInsights.Types.ListLogPatternSetsResponse) => void): Request<ApplicationInsights.Types.ListLogPatternSetsResponse, AWSError>;
  174. /**
  175. * Lists the log patterns in the specific log LogPatternSet.
  176. */
  177. listLogPatterns(params: ApplicationInsights.Types.ListLogPatternsRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.ListLogPatternsResponse) => void): Request<ApplicationInsights.Types.ListLogPatternsResponse, AWSError>;
  178. /**
  179. * Lists the log patterns in the specific log LogPatternSet.
  180. */
  181. listLogPatterns(callback?: (err: AWSError, data: ApplicationInsights.Types.ListLogPatternsResponse) => void): Request<ApplicationInsights.Types.ListLogPatternsResponse, AWSError>;
  182. /**
  183. * Lists the problems with your application.
  184. */
  185. listProblems(params: ApplicationInsights.Types.ListProblemsRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.ListProblemsResponse) => void): Request<ApplicationInsights.Types.ListProblemsResponse, AWSError>;
  186. /**
  187. * Lists the problems with your application.
  188. */
  189. listProblems(callback?: (err: AWSError, data: ApplicationInsights.Types.ListProblemsResponse) => void): Request<ApplicationInsights.Types.ListProblemsResponse, AWSError>;
  190. /**
  191. * Retrieve a list of the tags (keys and values) that are associated with a specified application. A tag is a label that you optionally define and associate with an application. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
  192. */
  193. listTagsForResource(params: ApplicationInsights.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.ListTagsForResourceResponse) => void): Request<ApplicationInsights.Types.ListTagsForResourceResponse, AWSError>;
  194. /**
  195. * Retrieve a list of the tags (keys and values) that are associated with a specified application. A tag is a label that you optionally define and associate with an application. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
  196. */
  197. listTagsForResource(callback?: (err: AWSError, data: ApplicationInsights.Types.ListTagsForResourceResponse) => void): Request<ApplicationInsights.Types.ListTagsForResourceResponse, AWSError>;
  198. /**
  199. * Lists the workloads that are configured on a given component.
  200. */
  201. listWorkloads(params: ApplicationInsights.Types.ListWorkloadsRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.ListWorkloadsResponse) => void): Request<ApplicationInsights.Types.ListWorkloadsResponse, AWSError>;
  202. /**
  203. * Lists the workloads that are configured on a given component.
  204. */
  205. listWorkloads(callback?: (err: AWSError, data: ApplicationInsights.Types.ListWorkloadsResponse) => void): Request<ApplicationInsights.Types.ListWorkloadsResponse, AWSError>;
  206. /**
  207. * Remove workload from a component.
  208. */
  209. removeWorkload(params: ApplicationInsights.Types.RemoveWorkloadRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.RemoveWorkloadResponse) => void): Request<ApplicationInsights.Types.RemoveWorkloadResponse, AWSError>;
  210. /**
  211. * Remove workload from a component.
  212. */
  213. removeWorkload(callback?: (err: AWSError, data: ApplicationInsights.Types.RemoveWorkloadResponse) => void): Request<ApplicationInsights.Types.RemoveWorkloadResponse, AWSError>;
  214. /**
  215. * Add one or more tags (keys and values) to a specified application. A tag is a label that you optionally define and associate with an application. Tags can help you categorize and manage application in different ways, such as by purpose, owner, environment, or other criteria. Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
  216. */
  217. tagResource(params: ApplicationInsights.Types.TagResourceRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.TagResourceResponse) => void): Request<ApplicationInsights.Types.TagResourceResponse, AWSError>;
  218. /**
  219. * Add one or more tags (keys and values) to a specified application. A tag is a label that you optionally define and associate with an application. Tags can help you categorize and manage application in different ways, such as by purpose, owner, environment, or other criteria. Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
  220. */
  221. tagResource(callback?: (err: AWSError, data: ApplicationInsights.Types.TagResourceResponse) => void): Request<ApplicationInsights.Types.TagResourceResponse, AWSError>;
  222. /**
  223. * Remove one or more tags (keys and values) from a specified application.
  224. */
  225. untagResource(params: ApplicationInsights.Types.UntagResourceRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.UntagResourceResponse) => void): Request<ApplicationInsights.Types.UntagResourceResponse, AWSError>;
  226. /**
  227. * Remove one or more tags (keys and values) from a specified application.
  228. */
  229. untagResource(callback?: (err: AWSError, data: ApplicationInsights.Types.UntagResourceResponse) => void): Request<ApplicationInsights.Types.UntagResourceResponse, AWSError>;
  230. /**
  231. * Updates the application.
  232. */
  233. updateApplication(params: ApplicationInsights.Types.UpdateApplicationRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateApplicationResponse) => void): Request<ApplicationInsights.Types.UpdateApplicationResponse, AWSError>;
  234. /**
  235. * Updates the application.
  236. */
  237. updateApplication(callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateApplicationResponse) => void): Request<ApplicationInsights.Types.UpdateApplicationResponse, AWSError>;
  238. /**
  239. * Updates the custom component name and/or the list of resources that make up the component.
  240. */
  241. updateComponent(params: ApplicationInsights.Types.UpdateComponentRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateComponentResponse) => void): Request<ApplicationInsights.Types.UpdateComponentResponse, AWSError>;
  242. /**
  243. * Updates the custom component name and/or the list of resources that make up the component.
  244. */
  245. updateComponent(callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateComponentResponse) => void): Request<ApplicationInsights.Types.UpdateComponentResponse, AWSError>;
  246. /**
  247. * Updates the monitoring configurations for the component. The configuration input parameter is an escaped JSON of the configuration and should match the schema of what is returned by DescribeComponentConfigurationRecommendation.
  248. */
  249. updateComponentConfiguration(params: ApplicationInsights.Types.UpdateComponentConfigurationRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateComponentConfigurationResponse) => void): Request<ApplicationInsights.Types.UpdateComponentConfigurationResponse, AWSError>;
  250. /**
  251. * Updates the monitoring configurations for the component. The configuration input parameter is an escaped JSON of the configuration and should match the schema of what is returned by DescribeComponentConfigurationRecommendation.
  252. */
  253. updateComponentConfiguration(callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateComponentConfigurationResponse) => void): Request<ApplicationInsights.Types.UpdateComponentConfigurationResponse, AWSError>;
  254. /**
  255. * Adds a log pattern to a LogPatternSet.
  256. */
  257. updateLogPattern(params: ApplicationInsights.Types.UpdateLogPatternRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateLogPatternResponse) => void): Request<ApplicationInsights.Types.UpdateLogPatternResponse, AWSError>;
  258. /**
  259. * Adds a log pattern to a LogPatternSet.
  260. */
  261. updateLogPattern(callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateLogPatternResponse) => void): Request<ApplicationInsights.Types.UpdateLogPatternResponse, AWSError>;
  262. /**
  263. * Updates the visibility of the problem or specifies the problem as RESOLVED.
  264. */
  265. updateProblem(params: ApplicationInsights.Types.UpdateProblemRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateProblemResponse) => void): Request<ApplicationInsights.Types.UpdateProblemResponse, AWSError>;
  266. /**
  267. * Updates the visibility of the problem or specifies the problem as RESOLVED.
  268. */
  269. updateProblem(callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateProblemResponse) => void): Request<ApplicationInsights.Types.UpdateProblemResponse, AWSError>;
  270. /**
  271. * Adds a workload to a component. Each component can have at most five workloads.
  272. */
  273. updateWorkload(params: ApplicationInsights.Types.UpdateWorkloadRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateWorkloadResponse) => void): Request<ApplicationInsights.Types.UpdateWorkloadResponse, AWSError>;
  274. /**
  275. * Adds a workload to a component. Each component can have at most five workloads.
  276. */
  277. updateWorkload(callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateWorkloadResponse) => void): Request<ApplicationInsights.Types.UpdateWorkloadResponse, AWSError>;
  278. }
  279. declare namespace ApplicationInsights {
  280. export type AccountId = string;
  281. export interface AddWorkloadRequest {
  282. /**
  283. * The name of the resource group.
  284. */
  285. ResourceGroupName: ResourceGroupName;
  286. /**
  287. * The name of the component.
  288. */
  289. ComponentName: ComponentName;
  290. /**
  291. * The configuration settings of the workload. The value is the escaped JSON of the configuration.
  292. */
  293. WorkloadConfiguration: WorkloadConfiguration;
  294. }
  295. export interface AddWorkloadResponse {
  296. /**
  297. * The ID of the workload.
  298. */
  299. WorkloadId?: WorkloadId;
  300. /**
  301. * The configuration settings of the workload. The value is the escaped JSON of the configuration.
  302. */
  303. WorkloadConfiguration?: WorkloadConfiguration;
  304. }
  305. export type AffectedResource = string;
  306. export type AmazonResourceName = string;
  307. export interface ApplicationComponent {
  308. /**
  309. * The name of the component.
  310. */
  311. ComponentName?: ComponentName;
  312. /**
  313. * If logging is supported for the resource type, indicates whether the component has configured logs to be monitored.
  314. */
  315. ComponentRemarks?: Remarks;
  316. /**
  317. * The resource type. Supported resource types include EC2 instances, Auto Scaling group, Classic ELB, Application ELB, and SQS Queue.
  318. */
  319. ResourceType?: ResourceType;
  320. /**
  321. * The operating system of the component.
  322. */
  323. OsType?: OsType;
  324. /**
  325. * The stack tier of the application component.
  326. */
  327. Tier?: Tier;
  328. /**
  329. * Indicates whether the application component is monitored.
  330. */
  331. Monitor?: Monitor;
  332. /**
  333. * Workloads detected in the application component.
  334. */
  335. DetectedWorkload?: DetectedWorkload;
  336. }
  337. export type ApplicationComponentList = ApplicationComponent[];
  338. export interface ApplicationInfo {
  339. /**
  340. * The AWS account ID for the owner of the application.
  341. */
  342. AccountId?: AccountId;
  343. /**
  344. * The name of the resource group used for the application.
  345. */
  346. ResourceGroupName?: ResourceGroupName;
  347. /**
  348. * The lifecycle of the application.
  349. */
  350. LifeCycle?: LifeCycle;
  351. /**
  352. * The SNS topic provided to Application Insights that is associated to the created opsItems to receive SNS notifications for opsItem updates.
  353. */
  354. OpsItemSNSTopicArn?: OpsItemSNSTopicArn;
  355. /**
  356. * Indicates whether Application Insights will create opsItems for any problem detected by Application Insights for an application.
  357. */
  358. OpsCenterEnabled?: OpsCenterEnabled;
  359. /**
  360. * Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as instance terminated, failed deployment, and others.
  361. */
  362. CWEMonitorEnabled?: CWEMonitorEnabled;
  363. /**
  364. * The issues on the user side that block Application Insights from successfully monitoring an application. Example remarks include: “Configuring application, detected 1 Errors, 3 Warnings” “Configuring application, detected 1 Unconfigured Components”
  365. */
  366. Remarks?: Remarks;
  367. /**
  368. * Indicates whether auto-configuration is turned on for this application.
  369. */
  370. AutoConfigEnabled?: AutoConfigEnabled;
  371. /**
  372. * The method used by Application Insights to onboard your resources.
  373. */
  374. DiscoveryType?: DiscoveryType;
  375. /**
  376. * If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
  377. */
  378. AttachMissingPermission?: AttachMissingPermission;
  379. }
  380. export type ApplicationInfoList = ApplicationInfo[];
  381. export type AttachMissingPermission = boolean;
  382. export type AutoConfigEnabled = boolean;
  383. export type AutoCreate = boolean;
  384. export type CWEMonitorEnabled = boolean;
  385. export type CloudWatchEventDetailType = string;
  386. export type CloudWatchEventId = string;
  387. export type CloudWatchEventSource = "EC2"|"CODE_DEPLOY"|"HEALTH"|"RDS"|string;
  388. export type CodeDeployApplication = string;
  389. export type CodeDeployDeploymentGroup = string;
  390. export type CodeDeployDeploymentId = string;
  391. export type CodeDeployInstanceGroupId = string;
  392. export type CodeDeployState = string;
  393. export type ComponentConfiguration = string;
  394. export type ComponentName = string;
  395. export interface ConfigurationEvent {
  396. /**
  397. * The name of the resource group of the application to which the configuration event belongs.
  398. */
  399. ResourceGroupName?: ResourceGroupName;
  400. /**
  401. * The AWS account ID for the owner of the application to which the configuration event belongs.
  402. */
  403. AccountId?: AccountId;
  404. /**
  405. * The resource monitored by Application Insights.
  406. */
  407. MonitoredResourceARN?: ConfigurationEventMonitoredResourceARN;
  408. /**
  409. * The status of the configuration update event. Possible values include INFO, WARN, and ERROR.
  410. */
  411. EventStatus?: ConfigurationEventStatus;
  412. /**
  413. * The resource type that Application Insights attempted to configure, for example, CLOUDWATCH_ALARM.
  414. */
  415. EventResourceType?: ConfigurationEventResourceType;
  416. /**
  417. * The timestamp of the event.
  418. */
  419. EventTime?: ConfigurationEventTime;
  420. /**
  421. * The details of the event in plain text.
  422. */
  423. EventDetail?: ConfigurationEventDetail;
  424. /**
  425. * The name of the resource Application Insights attempted to configure.
  426. */
  427. EventResourceName?: ConfigurationEventResourceName;
  428. }
  429. export type ConfigurationEventDetail = string;
  430. export type ConfigurationEventList = ConfigurationEvent[];
  431. export type ConfigurationEventMonitoredResourceARN = string;
  432. export type ConfigurationEventResourceName = string;
  433. export type ConfigurationEventResourceType = "CLOUDWATCH_ALARM"|"CLOUDWATCH_LOG"|"CLOUDFORMATION"|"SSM_ASSOCIATION"|string;
  434. export type ConfigurationEventStatus = "INFO"|"WARN"|"ERROR"|string;
  435. export type ConfigurationEventTime = Date;
  436. export interface CreateApplicationRequest {
  437. /**
  438. * The name of the resource group.
  439. */
  440. ResourceGroupName?: ResourceGroupName;
  441. /**
  442. * When set to true, creates opsItems for any problems detected on an application.
  443. */
  444. OpsCenterEnabled?: OpsCenterEnabled;
  445. /**
  446. * Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as instance terminated, failed deployment, and others.
  447. */
  448. CWEMonitorEnabled?: CWEMonitorEnabled;
  449. /**
  450. * The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.
  451. */
  452. OpsItemSNSTopicArn?: OpsItemSNSTopicArn;
  453. /**
  454. * List of tags to add to the application. tag key (Key) and an associated tag value (Value). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
  455. */
  456. Tags?: TagList;
  457. /**
  458. * Indicates whether Application Insights automatically configures unmonitored resources in the resource group.
  459. */
  460. AutoConfigEnabled?: AutoConfigEnabled;
  461. /**
  462. * Configures all of the resources in the resource group by applying the recommended configurations.
  463. */
  464. AutoCreate?: AutoCreate;
  465. /**
  466. * Application Insights can create applications based on a resource group or on an account. To create an account-based application using all of the resources in the account, set this parameter to ACCOUNT_BASED.
  467. */
  468. GroupingType?: GroupingType;
  469. /**
  470. * If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
  471. */
  472. AttachMissingPermission?: AttachMissingPermission;
  473. }
  474. export interface CreateApplicationResponse {
  475. /**
  476. * Information about the application.
  477. */
  478. ApplicationInfo?: ApplicationInfo;
  479. }
  480. export interface CreateComponentRequest {
  481. /**
  482. * The name of the resource group.
  483. */
  484. ResourceGroupName: ResourceGroupName;
  485. /**
  486. * The name of the component.
  487. */
  488. ComponentName: CustomComponentName;
  489. /**
  490. * The list of resource ARNs that belong to the component.
  491. */
  492. ResourceList: ResourceList;
  493. }
  494. export interface CreateComponentResponse {
  495. }
  496. export interface CreateLogPatternRequest {
  497. /**
  498. * The name of the resource group.
  499. */
  500. ResourceGroupName: ResourceGroupName;
  501. /**
  502. * The name of the log pattern set.
  503. */
  504. PatternSetName: LogPatternSetName;
  505. /**
  506. * The name of the log pattern.
  507. */
  508. PatternName: LogPatternName;
  509. /**
  510. * The log pattern. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported.
  511. */
  512. Pattern: LogPatternRegex;
  513. /**
  514. * Rank of the log pattern. Must be a value between 1 and 1,000,000. The patterns are sorted by rank, so we recommend that you set your highest priority patterns with the lowest rank. A pattern of rank 1 will be the first to get matched to a log line. A pattern of rank 1,000,000 will be last to get matched. When you configure custom log patterns from the console, a Low severity pattern translates to a 750,000 rank. A Medium severity pattern translates to a 500,000 rank. And a High severity pattern translates to a 250,000 rank. Rank values less than 1 or greater than 1,000,000 are reserved for AWS-provided patterns.
  515. */
  516. Rank: LogPatternRank;
  517. }
  518. export interface CreateLogPatternResponse {
  519. /**
  520. * The successfully created log pattern.
  521. */
  522. LogPattern?: LogPattern;
  523. /**
  524. * The name of the resource group.
  525. */
  526. ResourceGroupName?: ResourceGroupName;
  527. }
  528. export type CustomComponentName = string;
  529. export interface DeleteApplicationRequest {
  530. /**
  531. * The name of the resource group.
  532. */
  533. ResourceGroupName: ResourceGroupName;
  534. }
  535. export interface DeleteApplicationResponse {
  536. }
  537. export interface DeleteComponentRequest {
  538. /**
  539. * The name of the resource group.
  540. */
  541. ResourceGroupName: ResourceGroupName;
  542. /**
  543. * The name of the component.
  544. */
  545. ComponentName: CustomComponentName;
  546. }
  547. export interface DeleteComponentResponse {
  548. }
  549. export interface DeleteLogPatternRequest {
  550. /**
  551. * The name of the resource group.
  552. */
  553. ResourceGroupName: ResourceGroupName;
  554. /**
  555. * The name of the log pattern set.
  556. */
  557. PatternSetName: LogPatternSetName;
  558. /**
  559. * The name of the log pattern.
  560. */
  561. PatternName: LogPatternName;
  562. }
  563. export interface DeleteLogPatternResponse {
  564. }
  565. export interface DescribeApplicationRequest {
  566. /**
  567. * The name of the resource group.
  568. */
  569. ResourceGroupName: ResourceGroupName;
  570. /**
  571. * The AWS account ID for the resource group owner.
  572. */
  573. AccountId?: AccountId;
  574. }
  575. export interface DescribeApplicationResponse {
  576. /**
  577. * Information about the application.
  578. */
  579. ApplicationInfo?: ApplicationInfo;
  580. }
  581. export interface DescribeComponentConfigurationRecommendationRequest {
  582. /**
  583. * The name of the resource group.
  584. */
  585. ResourceGroupName: ResourceGroupName;
  586. /**
  587. * The name of the component.
  588. */
  589. ComponentName: ComponentName;
  590. /**
  591. * The tier of the application component.
  592. */
  593. Tier: Tier;
  594. /**
  595. * The name of the workload.
  596. */
  597. WorkloadName?: WorkloadName;
  598. /**
  599. * The recommended configuration type.
  600. */
  601. RecommendationType?: RecommendationType;
  602. }
  603. export interface DescribeComponentConfigurationRecommendationResponse {
  604. /**
  605. * The recommended configuration settings of the component. The value is the escaped JSON of the configuration.
  606. */
  607. ComponentConfiguration?: ComponentConfiguration;
  608. }
  609. export interface DescribeComponentConfigurationRequest {
  610. /**
  611. * The name of the resource group.
  612. */
  613. ResourceGroupName: ResourceGroupName;
  614. /**
  615. * The name of the component.
  616. */
  617. ComponentName: ComponentName;
  618. /**
  619. * The AWS account ID for the resource group owner.
  620. */
  621. AccountId?: AccountId;
  622. }
  623. export interface DescribeComponentConfigurationResponse {
  624. /**
  625. * Indicates whether the application component is monitored.
  626. */
  627. Monitor?: Monitor;
  628. /**
  629. * The tier of the application component. Supported tiers include DOT_NET_CORE, DOT_NET_WORKER, DOT_NET_WEB, SQL_SERVER, and DEFAULT
  630. */
  631. Tier?: Tier;
  632. /**
  633. * The configuration settings of the component. The value is the escaped JSON of the configuration.
  634. */
  635. ComponentConfiguration?: ComponentConfiguration;
  636. }
  637. export interface DescribeComponentRequest {
  638. /**
  639. * The name of the resource group.
  640. */
  641. ResourceGroupName: ResourceGroupName;
  642. /**
  643. * The name of the component.
  644. */
  645. ComponentName: ComponentName;
  646. /**
  647. * The AWS account ID for the resource group owner.
  648. */
  649. AccountId?: AccountId;
  650. }
  651. export interface DescribeComponentResponse {
  652. ApplicationComponent?: ApplicationComponent;
  653. /**
  654. * The list of resource ARNs that belong to the component.
  655. */
  656. ResourceList?: ResourceList;
  657. }
  658. export interface DescribeLogPatternRequest {
  659. /**
  660. * The name of the resource group.
  661. */
  662. ResourceGroupName: ResourceGroupName;
  663. /**
  664. * The name of the log pattern set.
  665. */
  666. PatternSetName: LogPatternSetName;
  667. /**
  668. * The name of the log pattern.
  669. */
  670. PatternName: LogPatternName;
  671. /**
  672. * The AWS account ID for the resource group owner.
  673. */
  674. AccountId?: AccountId;
  675. }
  676. export interface DescribeLogPatternResponse {
  677. /**
  678. * The name of the resource group.
  679. */
  680. ResourceGroupName?: ResourceGroupName;
  681. /**
  682. * The AWS account ID for the resource group owner.
  683. */
  684. AccountId?: AccountId;
  685. /**
  686. * The successfully created log pattern.
  687. */
  688. LogPattern?: LogPattern;
  689. }
  690. export interface DescribeObservationRequest {
  691. /**
  692. * The ID of the observation.
  693. */
  694. ObservationId: ObservationId;
  695. /**
  696. * The AWS account ID for the resource group owner.
  697. */
  698. AccountId?: AccountId;
  699. }
  700. export interface DescribeObservationResponse {
  701. /**
  702. * Information about the observation.
  703. */
  704. Observation?: Observation;
  705. }
  706. export interface DescribeProblemObservationsRequest {
  707. /**
  708. * The ID of the problem.
  709. */
  710. ProblemId: ProblemId;
  711. /**
  712. * The AWS account ID for the resource group owner.
  713. */
  714. AccountId?: AccountId;
  715. }
  716. export interface DescribeProblemObservationsResponse {
  717. /**
  718. * Observations related to the problem.
  719. */
  720. RelatedObservations?: RelatedObservations;
  721. }
  722. export interface DescribeProblemRequest {
  723. /**
  724. * The ID of the problem.
  725. */
  726. ProblemId: ProblemId;
  727. /**
  728. * The AWS account ID for the owner of the resource group affected by the problem.
  729. */
  730. AccountId?: AccountId;
  731. }
  732. export interface DescribeProblemResponse {
  733. /**
  734. * Information about the problem.
  735. */
  736. Problem?: Problem;
  737. }
  738. export interface DescribeWorkloadRequest {
  739. /**
  740. * The name of the resource group.
  741. */
  742. ResourceGroupName: ResourceGroupName;
  743. /**
  744. * The name of the component.
  745. */
  746. ComponentName: ComponentName;
  747. /**
  748. * The ID of the workload.
  749. */
  750. WorkloadId: WorkloadId;
  751. /**
  752. * The AWS account ID for the workload owner.
  753. */
  754. AccountId?: AccountId;
  755. }
  756. export interface DescribeWorkloadResponse {
  757. /**
  758. * The ID of the workload.
  759. */
  760. WorkloadId?: WorkloadId;
  761. /**
  762. * If logging is supported for the resource type, shows whether the component has configured logs to be monitored.
  763. */
  764. WorkloadRemarks?: Remarks;
  765. /**
  766. * The configuration settings of the workload. The value is the escaped JSON of the configuration.
  767. */
  768. WorkloadConfiguration?: WorkloadConfiguration;
  769. }
  770. export type DetectedWorkload = {[key: string]: WorkloadMetaData};
  771. export type DiscoveryType = "RESOURCE_GROUP_BASED"|"ACCOUNT_BASED"|string;
  772. export type EbsCause = string;
  773. export type EbsEvent = string;
  774. export type EbsRequestId = string;
  775. export type EbsResult = string;
  776. export type Ec2State = string;
  777. export type EndTime = Date;
  778. export type Feedback = {[key: string]: FeedbackValue};
  779. export type FeedbackKey = "INSIGHTS_FEEDBACK"|string;
  780. export type FeedbackValue = "NOT_SPECIFIED"|"USEFUL"|"NOT_USEFUL"|string;
  781. export type GroupingType = "ACCOUNT_BASED"|string;
  782. export type HealthEventArn = string;
  783. export type HealthEventDescription = string;
  784. export type HealthEventTypeCategory = string;
  785. export type HealthEventTypeCode = string;
  786. export type HealthService = string;
  787. export type Insights = string;
  788. export type LastRecurrenceTime = Date;
  789. export type LifeCycle = string;
  790. export type LineTime = Date;
  791. export interface ListApplicationsRequest {
  792. /**
  793. * The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.
  794. */
  795. MaxResults?: MaxEntities;
  796. /**
  797. * The token to request the next page of results.
  798. */
  799. NextToken?: PaginationToken;
  800. /**
  801. * The AWS account ID for the resource group owner.
  802. */
  803. AccountId?: AccountId;
  804. }
  805. export interface ListApplicationsResponse {
  806. /**
  807. * The list of applications.
  808. */
  809. ApplicationInfoList?: ApplicationInfoList;
  810. /**
  811. * The token used to retrieve the next page of results. This value is null when there are no more results to return.
  812. */
  813. NextToken?: PaginationToken;
  814. }
  815. export interface ListComponentsRequest {
  816. /**
  817. * The name of the resource group.
  818. */
  819. ResourceGroupName: ResourceGroupName;
  820. /**
  821. * The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.
  822. */
  823. MaxResults?: MaxEntities;
  824. /**
  825. * The token to request the next page of results.
  826. */
  827. NextToken?: PaginationToken;
  828. /**
  829. * The AWS account ID for the resource group owner.
  830. */
  831. AccountId?: AccountId;
  832. }
  833. export interface ListComponentsResponse {
  834. /**
  835. * The list of application components.
  836. */
  837. ApplicationComponentList?: ApplicationComponentList;
  838. /**
  839. * The token to request the next page of results.
  840. */
  841. NextToken?: PaginationToken;
  842. }
  843. export interface ListConfigurationHistoryRequest {
  844. /**
  845. * Resource group to which the application belongs.
  846. */
  847. ResourceGroupName?: ResourceGroupName;
  848. /**
  849. * The start time of the event.
  850. */
  851. StartTime?: StartTime;
  852. /**
  853. * The end time of the event.
  854. */
  855. EndTime?: EndTime;
  856. /**
  857. * The status of the configuration update event. Possible values include INFO, WARN, and ERROR.
  858. */
  859. EventStatus?: ConfigurationEventStatus;
  860. /**
  861. * The maximum number of results returned by ListConfigurationHistory in paginated output. When this parameter is used, ListConfigurationHistory returns only MaxResults in a single page along with a NextToken response element. The remaining results of the initial request can be seen by sending another ListConfigurationHistory request with the returned NextToken value. If this parameter is not used, then ListConfigurationHistory returns all results.
  862. */
  863. MaxResults?: MaxEntities;
  864. /**
  865. * The NextToken value returned from a previous paginated ListConfigurationHistory request where MaxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the NextToken value. This value is null when there are no more results to return.
  866. */
  867. NextToken?: PaginationToken;
  868. /**
  869. * The AWS account ID for the resource group owner.
  870. */
  871. AccountId?: AccountId;
  872. }
  873. export interface ListConfigurationHistoryResponse {
  874. /**
  875. * The list of configuration events and their corresponding details.
  876. */
  877. EventList?: ConfigurationEventList;
  878. /**
  879. * The NextToken value to include in a future ListConfigurationHistory request. When the results of a ListConfigurationHistory request exceed MaxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
  880. */
  881. NextToken?: PaginationToken;
  882. }
  883. export interface ListLogPatternSetsRequest {
  884. /**
  885. * The name of the resource group.
  886. */
  887. ResourceGroupName: ResourceGroupName;
  888. /**
  889. * The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.
  890. */
  891. MaxResults?: MaxEntities;
  892. /**
  893. * The token to request the next page of results.
  894. */
  895. NextToken?: PaginationToken;
  896. /**
  897. * The AWS account ID for the resource group owner.
  898. */
  899. AccountId?: AccountId;
  900. }
  901. export interface ListLogPatternSetsResponse {
  902. /**
  903. * The name of the resource group.
  904. */
  905. ResourceGroupName?: ResourceGroupName;
  906. /**
  907. * The AWS account ID for the resource group owner.
  908. */
  909. AccountId?: AccountId;
  910. /**
  911. * The list of log pattern sets.
  912. */
  913. LogPatternSets?: LogPatternSetList;
  914. /**
  915. * The token used to retrieve the next page of results. This value is null when there are no more results to return.
  916. */
  917. NextToken?: PaginationToken;
  918. }
  919. export interface ListLogPatternsRequest {
  920. /**
  921. * The name of the resource group.
  922. */
  923. ResourceGroupName: ResourceGroupName;
  924. /**
  925. * The name of the log pattern set.
  926. */
  927. PatternSetName?: LogPatternSetName;
  928. /**
  929. * The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.
  930. */
  931. MaxResults?: MaxEntities;
  932. /**
  933. * The token to request the next page of results.
  934. */
  935. NextToken?: PaginationToken;
  936. /**
  937. * The AWS account ID for the resource group owner.
  938. */
  939. AccountId?: AccountId;
  940. }
  941. export interface ListLogPatternsResponse {
  942. /**
  943. * The name of the resource group.
  944. */
  945. ResourceGroupName?: ResourceGroupName;
  946. /**
  947. * The AWS account ID for the resource group owner.
  948. */
  949. AccountId?: AccountId;
  950. /**
  951. * The list of log patterns.
  952. */
  953. LogPatterns?: LogPatternList;
  954. /**
  955. * The token used to retrieve the next page of results. This value is null when there are no more results to return.
  956. */
  957. NextToken?: PaginationToken;
  958. }
  959. export interface ListProblemsRequest {
  960. /**
  961. * The AWS account ID for the resource group owner.
  962. */
  963. AccountId?: AccountId;
  964. /**
  965. * The name of the resource group.
  966. */
  967. ResourceGroupName?: ResourceGroupName;
  968. /**
  969. * The time when the problem was detected, in epoch seconds. If you don't specify a time frame for the request, problems within the past seven days are returned.
  970. */
  971. StartTime?: StartTime;
  972. /**
  973. * The time when the problem ended, in epoch seconds. If not specified, problems within the past seven days are returned.
  974. */
  975. EndTime?: EndTime;
  976. /**
  977. * The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.
  978. */
  979. MaxResults?: MaxEntities;
  980. /**
  981. * The token to request the next page of results.
  982. */
  983. NextToken?: PaginationToken;
  984. /**
  985. * The name of the component.
  986. */
  987. ComponentName?: ComponentName;
  988. /**
  989. * Specifies whether or not you can view the problem. If not specified, visible and ignored problems are returned.
  990. */
  991. Visibility?: Visibility;
  992. }
  993. export interface ListProblemsResponse {
  994. /**
  995. * The list of problems.
  996. */
  997. ProblemList?: ProblemList;
  998. /**
  999. * The token used to retrieve the next page of results. This value is null when there are no more results to return.
  1000. */
  1001. NextToken?: PaginationToken;
  1002. /**
  1003. * The name of the resource group.
  1004. */
  1005. ResourceGroupName?: ResourceGroupName;
  1006. /**
  1007. * The AWS account ID for the resource group owner.
  1008. */
  1009. AccountId?: AccountId;
  1010. }
  1011. export interface ListTagsForResourceRequest {
  1012. /**
  1013. * The Amazon Resource Name (ARN) of the application that you want to retrieve tag information for.
  1014. */
  1015. ResourceARN: AmazonResourceName;
  1016. }
  1017. export interface ListTagsForResourceResponse {
  1018. /**
  1019. * An array that lists all the tags that are associated with the application. Each tag consists of a required tag key (Key) and an associated tag value (Value).
  1020. */
  1021. Tags?: TagList;
  1022. }
  1023. export interface ListWorkloadsRequest {
  1024. /**
  1025. * The name of the resource group.
  1026. */
  1027. ResourceGroupName: ResourceGroupName;
  1028. /**
  1029. * The name of the component.
  1030. */
  1031. ComponentName: ComponentName;
  1032. /**
  1033. * The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.
  1034. */
  1035. MaxResults?: MaxEntities;
  1036. /**
  1037. * The token to request the next page of results.
  1038. */
  1039. NextToken?: PaginationToken;
  1040. /**
  1041. * The AWS account ID of the owner of the workload.
  1042. */
  1043. AccountId?: AccountId;
  1044. }
  1045. export interface ListWorkloadsResponse {
  1046. /**
  1047. * The list of workloads.
  1048. */
  1049. WorkloadList?: WorkloadList;
  1050. /**
  1051. * The token to request the next page of results.
  1052. */
  1053. NextToken?: PaginationToken;
  1054. }
  1055. export type LogFilter = "ERROR"|"WARN"|"INFO"|string;
  1056. export type LogGroup = string;
  1057. export interface LogPattern {
  1058. /**
  1059. * The name of the log pattern. A log pattern name can contain as many as 30 characters, and it cannot be empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash, underscore.
  1060. */
  1061. PatternSetName?: LogPatternSetName;
  1062. /**
  1063. * The name of the log pattern. A log pattern name can contain as many as 50 characters, and it cannot be empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash, underscore.
  1064. */
  1065. PatternName?: LogPatternName;
  1066. /**
  1067. * A regular expression that defines the log pattern. A log pattern can contain as many as 50 characters, and it cannot be empty. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported.
  1068. */
  1069. Pattern?: LogPatternRegex;
  1070. /**
  1071. * Rank of the log pattern. Must be a value between 1 and 1,000,000. The patterns are sorted by rank, so we recommend that you set your highest priority patterns with the lowest rank. A pattern of rank 1 will be the first to get matched to a log line. A pattern of rank 1,000,000 will be last to get matched. When you configure custom log patterns from the console, a Low severity pattern translates to a 750,000 rank. A Medium severity pattern translates to a 500,000 rank. And a High severity pattern translates to a 250,000 rank. Rank values less than 1 or greater than 1,000,000 are reserved for AWS-provided patterns.
  1072. */
  1073. Rank?: LogPatternRank;
  1074. }
  1075. export type LogPatternList = LogPattern[];
  1076. export type LogPatternName = string;
  1077. export type LogPatternRank = number;
  1078. export type LogPatternRegex = string;
  1079. export type LogPatternSetList = LogPatternSetName[];
  1080. export type LogPatternSetName = string;
  1081. export type LogText = string;
  1082. export type MaxEntities = number;
  1083. export type MetaDataKey = string;
  1084. export type MetaDataValue = string;
  1085. export type MetricName = string;
  1086. export type MetricNamespace = string;
  1087. export type Monitor = boolean;
  1088. export interface Observation {
  1089. /**
  1090. * The ID of the observation type.
  1091. */
  1092. Id?: ObservationId;
  1093. /**
  1094. * The time when the observation was first detected, in epoch seconds.
  1095. */
  1096. StartTime?: StartTime;
  1097. /**
  1098. * The time when the observation ended, in epoch seconds.
  1099. */
  1100. EndTime?: EndTime;
  1101. /**
  1102. * The source type of the observation.
  1103. */
  1104. SourceType?: SourceType;
  1105. /**
  1106. * The source resource ARN of the observation.
  1107. */
  1108. SourceARN?: SourceARN;
  1109. /**
  1110. * The log group name.
  1111. */
  1112. LogGroup?: LogGroup;
  1113. /**
  1114. * The timestamp in the CloudWatch Logs that specifies when the matched line occurred.
  1115. */
  1116. LineTime?: LineTime;
  1117. /**
  1118. * The log text of the observation.
  1119. */
  1120. LogText?: LogText;
  1121. /**
  1122. * The log filter of the observation.
  1123. */
  1124. LogFilter?: LogFilter;
  1125. /**
  1126. * The namespace of the observation metric.
  1127. */
  1128. MetricNamespace?: MetricNamespace;
  1129. /**
  1130. * The name of the observation metric.
  1131. */
  1132. MetricName?: MetricName;
  1133. /**
  1134. * The unit of the source observation metric.
  1135. */
  1136. Unit?: Unit;
  1137. /**
  1138. * The value of the source observation metric.
  1139. */
  1140. Value?: Value;
  1141. /**
  1142. * The ID of the CloudWatch Event-based observation related to the detected problem.
  1143. */
  1144. CloudWatchEventId?: CloudWatchEventId;
  1145. /**
  1146. * The source of the CloudWatch Event.
  1147. */
  1148. CloudWatchEventSource?: CloudWatchEventSource;
  1149. /**
  1150. * The detail type of the CloudWatch Event-based observation, for example, EC2 Instance State-change Notification.
  1151. */
  1152. CloudWatchEventDetailType?: CloudWatchEventDetailType;
  1153. /**
  1154. * The Amazon Resource Name (ARN) of the AWS Health Event-based observation.
  1155. */
  1156. HealthEventArn?: HealthEventArn;
  1157. /**
  1158. * The service to which the AWS Health Event belongs, such as EC2.
  1159. */
  1160. HealthService?: HealthService;
  1161. /**
  1162. * The type of the AWS Health event, for example, AWS_EC2_POWER_CONNECTIVITY_ISSUE.
  1163. */
  1164. HealthEventTypeCode?: HealthEventTypeCode;
  1165. /**
  1166. * The category of the AWS Health event, such as issue.
  1167. */
  1168. HealthEventTypeCategory?: HealthEventTypeCategory;
  1169. /**
  1170. * The description of the AWS Health event provided by the service, such as Amazon EC2.
  1171. */
  1172. HealthEventDescription?: HealthEventDescription;
  1173. /**
  1174. * The deployment ID of the CodeDeploy-based observation related to the detected problem.
  1175. */
  1176. CodeDeployDeploymentId?: CodeDeployDeploymentId;
  1177. /**
  1178. * The deployment group to which the CodeDeploy deployment belongs.
  1179. */
  1180. CodeDeployDeploymentGroup?: CodeDeployDeploymentGroup;
  1181. /**
  1182. * The status of the CodeDeploy deployment, for example SUCCESS or FAILURE.
  1183. */
  1184. CodeDeployState?: CodeDeployState;
  1185. /**
  1186. * The CodeDeploy application to which the deployment belongs.
  1187. */
  1188. CodeDeployApplication?: CodeDeployApplication;
  1189. /**
  1190. * The instance group to which the CodeDeploy instance belongs.
  1191. */
  1192. CodeDeployInstanceGroupId?: CodeDeployInstanceGroupId;
  1193. /**
  1194. * The state of the instance, such as STOPPING or TERMINATING.
  1195. */
  1196. Ec2State?: Ec2State;
  1197. /**
  1198. * The category of an RDS event.
  1199. */
  1200. RdsEventCategories?: RdsEventCategories;
  1201. /**
  1202. * The message of an RDS event.
  1203. */
  1204. RdsEventMessage?: RdsEventMessage;
  1205. /**
  1206. * The name of the S3 CloudWatch Event-based observation.
  1207. */
  1208. S3EventName?: S3EventName;
  1209. /**
  1210. * The Amazon Resource Name (ARN) of the step function execution-based observation.
  1211. */
  1212. StatesExecutionArn?: StatesExecutionArn;
  1213. /**
  1214. * The Amazon Resource Name (ARN) of the step function-based observation.
  1215. */
  1216. StatesArn?: StatesArn;
  1217. /**
  1218. * The status of the step function-related observation.
  1219. */
  1220. StatesStatus?: StatesStatus;
  1221. /**
  1222. * The input to the step function-based observation.
  1223. */
  1224. StatesInput?: StatesInput;
  1225. /**
  1226. * The type of EBS CloudWatch event, such as createVolume, deleteVolume or attachVolume.
  1227. */
  1228. EbsEvent?: EbsEvent;
  1229. /**
  1230. * The result of an EBS CloudWatch event, such as failed or succeeded.
  1231. */
  1232. EbsResult?: EbsResult;
  1233. /**
  1234. * The cause of an EBS CloudWatch event.
  1235. */
  1236. EbsCause?: EbsCause;
  1237. /**
  1238. * The request ID of an EBS CloudWatch event.
  1239. */
  1240. EbsRequestId?: EbsRequestId;
  1241. /**
  1242. * The X-Ray request fault percentage for this node.
  1243. */
  1244. XRayFaultPercent?: XRayFaultPercent;
  1245. /**
  1246. * The X-Ray request throttle percentage for this node.
  1247. */
  1248. XRayThrottlePercent?: XRayThrottlePercent;
  1249. /**
  1250. * The X-Ray request error percentage for this node.
  1251. */
  1252. XRayErrorPercent?: XRayErrorPercent;
  1253. /**
  1254. * The X-Ray request count for this node.
  1255. */
  1256. XRayRequestCount?: XRayRequestCount;
  1257. /**
  1258. * The X-Ray node request average latency for this node.
  1259. */
  1260. XRayRequestAverageLatency?: XRayRequestAverageLatency;
  1261. /**
  1262. * The name of the X-Ray node.
  1263. */
  1264. XRayNodeName?: XRayNodeName;
  1265. /**
  1266. * The type of the X-Ray node.
  1267. */
  1268. XRayNodeType?: XRayNodeType;
  1269. }
  1270. export type ObservationId = string;
  1271. export type ObservationList = Observation[];
  1272. export type OpsCenterEnabled = boolean;
  1273. export type OpsItemSNSTopicArn = string;
  1274. export type OsType = "WINDOWS"|"LINUX"|string;
  1275. export type PaginationToken = string;
  1276. export interface Problem {
  1277. /**
  1278. * The ID of the problem.
  1279. */
  1280. Id?: ProblemId;
  1281. /**
  1282. * The name of the problem.
  1283. */
  1284. Title?: Title;
  1285. /**
  1286. * A detailed analysis of the problem using machine learning.
  1287. */
  1288. Insights?: Insights;
  1289. /**
  1290. * The status of the problem.
  1291. */
  1292. Status?: Status;
  1293. /**
  1294. * The resource affected by the problem.
  1295. */
  1296. AffectedResource?: AffectedResource;
  1297. /**
  1298. * The time when the problem started, in epoch seconds.
  1299. */
  1300. StartTime?: StartTime;
  1301. /**
  1302. * The time when the problem ended, in epoch seconds.
  1303. */
  1304. EndTime?: EndTime;
  1305. /**
  1306. * A measure of the level of impact of the problem.
  1307. */
  1308. SeverityLevel?: SeverityLevel;
  1309. /**
  1310. * The AWS account ID for the owner of the resource group affected by the problem.
  1311. */
  1312. AccountId?: AccountId;
  1313. /**
  1314. * The name of the resource group affected by the problem.
  1315. */
  1316. ResourceGroupName?: ResourceGroupName;
  1317. /**
  1318. * Feedback provided by the user about the problem.
  1319. */
  1320. Feedback?: Feedback;
  1321. /**
  1322. * The number of times that the same problem reoccurred after the first time it was resolved.
  1323. */
  1324. RecurringCount?: RecurringCount;
  1325. /**
  1326. * The last time that the problem reoccurred after its last resolution.
  1327. */
  1328. LastRecurrenceTime?: LastRecurrenceTime;
  1329. /**
  1330. * Specifies whether or not you can view the problem. Updates to ignored problems do not generate notifications.
  1331. */
  1332. Visibility?: Visibility;
  1333. /**
  1334. * Specifies how the problem was resolved. If the value is AUTOMATIC, the system resolved the problem. If the value is MANUAL, the user resolved the problem. If the value is UNRESOLVED, then the problem is not resolved.
  1335. */
  1336. ResolutionMethod?: ResolutionMethod;
  1337. }
  1338. export type ProblemId = string;
  1339. export type ProblemList = Problem[];
  1340. export type RdsEventCategories = string;
  1341. export type RdsEventMessage = string;
  1342. export type RecommendationType = "INFRA_ONLY"|"WORKLOAD_ONLY"|"ALL"|string;
  1343. export type RecurringCount = number;
  1344. export interface RelatedObservations {
  1345. /**
  1346. * The list of observations related to the problem.
  1347. */
  1348. ObservationList?: ObservationList;
  1349. }
  1350. export type Remarks = string;
  1351. export type RemoveSNSTopic = boolean;
  1352. export interface RemoveWorkloadRequest {
  1353. /**
  1354. * The name of the resource group.
  1355. */
  1356. ResourceGroupName: ResourceGroupName;
  1357. /**
  1358. * The name of the component.
  1359. */
  1360. ComponentName: ComponentName;
  1361. /**
  1362. * The ID of the workload.
  1363. */
  1364. WorkloadId: WorkloadId;
  1365. }
  1366. export interface RemoveWorkloadResponse {
  1367. }
  1368. export type ResolutionMethod = "MANUAL"|"AUTOMATIC"|"UNRESOLVED"|string;
  1369. export type ResourceARN = string;
  1370. export type ResourceGroupName = string;
  1371. export type ResourceList = ResourceARN[];
  1372. export type ResourceType = string;
  1373. export type S3EventName = string;
  1374. export type SeverityLevel = "Informative"|"Low"|"Medium"|"High"|string;
  1375. export type SourceARN = string;
  1376. export type SourceType = string;
  1377. export type StartTime = Date;
  1378. export type StatesArn = string;
  1379. export type StatesExecutionArn = string;
  1380. export type StatesInput = string;
  1381. export type StatesStatus = string;
  1382. export type Status = "IGNORE"|"RESOLVED"|"PENDING"|"RECURRING"|"RECOVERING"|string;
  1383. export interface Tag {
  1384. /**
  1385. * One part of a key-value pair that defines a tag. The maximum length of a tag key is 128 characters. The minimum length is 1 character.
  1386. */
  1387. Key: TagKey;
  1388. /**
  1389. * The optional part of a key-value pair that defines a tag. The maximum length of a tag value is 256 characters. The minimum length is 0 characters. If you don't want an application to have a specific tag value, don't specify a value for this parameter.
  1390. */
  1391. Value: TagValue;
  1392. }
  1393. export type TagKey = string;
  1394. export type TagKeyList = TagKey[];
  1395. export type TagList = Tag[];
  1396. export interface TagResourceRequest {
  1397. /**
  1398. * The Amazon Resource Name (ARN) of the application that you want to add one or more tags to.
  1399. */
  1400. ResourceARN: AmazonResourceName;
  1401. /**
  1402. * A list of tags that to add to the application. A tag consists of a required tag key (Key) and an associated tag value (Value). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
  1403. */
  1404. Tags: TagList;
  1405. }
  1406. export interface TagResourceResponse {
  1407. }
  1408. export type TagValue = string;
  1409. export type Tier = "CUSTOM"|"DEFAULT"|"DOT_NET_CORE"|"DOT_NET_WORKER"|"DOT_NET_WEB_TIER"|"DOT_NET_WEB"|"SQL_SERVER"|"SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP"|"MYSQL"|"POSTGRESQL"|"JAVA_JMX"|"ORACLE"|"SAP_HANA_MULTI_NODE"|"SAP_HANA_SINGLE_NODE"|"SAP_HANA_HIGH_AVAILABILITY"|"SQL_SERVER_FAILOVER_CLUSTER_INSTANCE"|"SHAREPOINT"|"ACTIVE_DIRECTORY"|"SAP_NETWEAVER_STANDARD"|"SAP_NETWEAVER_DISTRIBUTED"|"SAP_NETWEAVER_HIGH_AVAILABILITY"|string;
  1410. export type Title = string;
  1411. export type Unit = string;
  1412. export interface UntagResourceRequest {
  1413. /**
  1414. * The Amazon Resource Name (ARN) of the application that you want to remove one or more tags from.
  1415. */
  1416. ResourceARN: AmazonResourceName;
  1417. /**
  1418. * The tags (tag keys) that you want to remove from the resource. When you specify a tag key, the action removes both that key and its associated tag value. To remove more than one tag from the application, append the TagKeys parameter and argument for each additional tag to remove, separated by an ampersand.
  1419. */
  1420. TagKeys: TagKeyList;
  1421. }
  1422. export interface UntagResourceResponse {
  1423. }
  1424. export interface UpdateApplicationRequest {
  1425. /**
  1426. * The name of the resource group.
  1427. */
  1428. ResourceGroupName: ResourceGroupName;
  1429. /**
  1430. * When set to true, creates opsItems for any problems detected on an application.
  1431. */
  1432. OpsCenterEnabled?: OpsCenterEnabled;
  1433. /**
  1434. * Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as instance terminated, failed deployment, and others.
  1435. */
  1436. CWEMonitorEnabled?: CWEMonitorEnabled;
  1437. /**
  1438. * The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.
  1439. */
  1440. OpsItemSNSTopicArn?: OpsItemSNSTopicArn;
  1441. /**
  1442. * Disassociates the SNS topic from the opsItem created for detected problems.
  1443. */
  1444. RemoveSNSTopic?: RemoveSNSTopic;
  1445. /**
  1446. * Turns auto-configuration on or off.
  1447. */
  1448. AutoConfigEnabled?: AutoConfigEnabled;
  1449. /**
  1450. * If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
  1451. */
  1452. AttachMissingPermission?: AttachMissingPermission;
  1453. }
  1454. export interface UpdateApplicationResponse {
  1455. /**
  1456. * Information about the application.
  1457. */
  1458. ApplicationInfo?: ApplicationInfo;
  1459. }
  1460. export interface UpdateComponentConfigurationRequest {
  1461. /**
  1462. * The name of the resource group.
  1463. */
  1464. ResourceGroupName: ResourceGroupName;
  1465. /**
  1466. * The name of the component.
  1467. */
  1468. ComponentName: ComponentName;
  1469. /**
  1470. * Indicates whether the application component is monitored.
  1471. */
  1472. Monitor?: Monitor;
  1473. /**
  1474. * The tier of the application component.
  1475. */
  1476. Tier?: Tier;
  1477. /**
  1478. * The configuration settings of the component. The value is the escaped JSON of the configuration. For more information about the JSON format, see Working with JSON. You can send a request to DescribeComponentConfigurationRecommendation to see the recommended configuration for a component. For the complete format of the component configuration file, see Component Configuration.
  1479. */
  1480. ComponentConfiguration?: ComponentConfiguration;
  1481. /**
  1482. * Automatically configures the component by applying the recommended configurations.
  1483. */
  1484. AutoConfigEnabled?: AutoConfigEnabled;
  1485. }
  1486. export interface UpdateComponentConfigurationResponse {
  1487. }
  1488. export interface UpdateComponentRequest {
  1489. /**
  1490. * The name of the resource group.
  1491. */
  1492. ResourceGroupName: ResourceGroupName;
  1493. /**
  1494. * The name of the component.
  1495. */
  1496. ComponentName: CustomComponentName;
  1497. /**
  1498. * The new name of the component.
  1499. */
  1500. NewComponentName?: CustomComponentName;
  1501. /**
  1502. * The list of resource ARNs that belong to the component.
  1503. */
  1504. ResourceList?: ResourceList;
  1505. }
  1506. export interface UpdateComponentResponse {
  1507. }
  1508. export interface UpdateLogPatternRequest {
  1509. /**
  1510. * The name of the resource group.
  1511. */
  1512. ResourceGroupName: ResourceGroupName;
  1513. /**
  1514. * The name of the log pattern set.
  1515. */
  1516. PatternSetName: LogPatternSetName;
  1517. /**
  1518. * The name of the log pattern.
  1519. */
  1520. PatternName: LogPatternName;
  1521. /**
  1522. * The log pattern. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported.
  1523. */
  1524. Pattern?: LogPatternRegex;
  1525. /**
  1526. * Rank of the log pattern. Must be a value between 1 and 1,000,000. The patterns are sorted by rank, so we recommend that you set your highest priority patterns with the lowest rank. A pattern of rank 1 will be the first to get matched to a log line. A pattern of rank 1,000,000 will be last to get matched. When you configure custom log patterns from the console, a Low severity pattern translates to a 750,000 rank. A Medium severity pattern translates to a 500,000 rank. And a High severity pattern translates to a 250,000 rank. Rank values less than 1 or greater than 1,000,000 are reserved for AWS-provided patterns.
  1527. */
  1528. Rank?: LogPatternRank;
  1529. }
  1530. export interface UpdateLogPatternResponse {
  1531. /**
  1532. * The name of the resource group.
  1533. */
  1534. ResourceGroupName?: ResourceGroupName;
  1535. /**
  1536. * The successfully created log pattern.
  1537. */
  1538. LogPattern?: LogPattern;
  1539. }
  1540. export interface UpdateProblemRequest {
  1541. /**
  1542. * The ID of the problem.
  1543. */
  1544. ProblemId: ProblemId;
  1545. /**
  1546. * The status of the problem. Arguments can be passed for only problems that show a status of RECOVERING.
  1547. */
  1548. UpdateStatus?: UpdateStatus;
  1549. /**
  1550. * The visibility of a problem. When you pass a value of IGNORED, the problem is removed from the default view, and all notifications for the problem are suspended. When VISIBLE is passed, the IGNORED action is reversed.
  1551. */
  1552. Visibility?: Visibility;
  1553. }
  1554. export interface UpdateProblemResponse {
  1555. }
  1556. export type UpdateStatus = "RESOLVED"|string;
  1557. export interface UpdateWorkloadRequest {
  1558. /**
  1559. * The name of the resource group.
  1560. */
  1561. ResourceGroupName: ResourceGroupName;
  1562. /**
  1563. * The name of the component.
  1564. */
  1565. ComponentName: ComponentName;
  1566. /**
  1567. * The ID of the workload.
  1568. */
  1569. WorkloadId?: WorkloadId;
  1570. /**
  1571. * The configuration settings of the workload. The value is the escaped JSON of the configuration.
  1572. */
  1573. WorkloadConfiguration: WorkloadConfiguration;
  1574. }
  1575. export interface UpdateWorkloadResponse {
  1576. /**
  1577. * The ID of the workload.
  1578. */
  1579. WorkloadId?: WorkloadId;
  1580. /**
  1581. * The configuration settings of the workload. The value is the escaped JSON of the configuration.
  1582. */
  1583. WorkloadConfiguration?: WorkloadConfiguration;
  1584. }
  1585. export type Value = number;
  1586. export type Visibility = "IGNORED"|"VISIBLE"|string;
  1587. export interface Workload {
  1588. /**
  1589. * The ID of the workload.
  1590. */
  1591. WorkloadId?: WorkloadId;
  1592. /**
  1593. * The name of the component.
  1594. */
  1595. ComponentName?: ComponentName;
  1596. /**
  1597. * The name of the workload.
  1598. */
  1599. WorkloadName?: WorkloadName;
  1600. /**
  1601. * The tier of the workload.
  1602. */
  1603. Tier?: Tier;
  1604. /**
  1605. * If logging is supported for the resource type, shows whether the component has configured logs to be monitored.
  1606. */
  1607. WorkloadRemarks?: Remarks;
  1608. }
  1609. export interface WorkloadConfiguration {
  1610. /**
  1611. * The name of the workload.
  1612. */
  1613. WorkloadName?: WorkloadName;
  1614. /**
  1615. * The configuration of the workload tier.
  1616. */
  1617. Tier?: Tier;
  1618. /**
  1619. * The configuration settings of the workload.
  1620. */
  1621. Configuration?: ComponentConfiguration;
  1622. }
  1623. export type WorkloadId = string;
  1624. export type WorkloadList = Workload[];
  1625. export type WorkloadMetaData = {[key: string]: MetaDataValue};
  1626. export type WorkloadName = string;
  1627. export type XRayErrorPercent = number;
  1628. export type XRayFaultPercent = number;
  1629. export type XRayNodeName = string;
  1630. export type XRayNodeType = string;
  1631. export type XRayRequestAverageLatency = number;
  1632. export type XRayRequestCount = number;
  1633. export type XRayThrottlePercent = number;
  1634. /**
  1635. * 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.
  1636. */
  1637. export type apiVersion = "2018-11-25"|"latest"|string;
  1638. export interface ClientApiVersions {
  1639. /**
  1640. * 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.
  1641. */
  1642. apiVersion?: apiVersion;
  1643. }
  1644. export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
  1645. /**
  1646. * Contains interfaces for use with the ApplicationInsights client.
  1647. */
  1648. export import Types = ApplicationInsights;
  1649. }
  1650. export = ApplicationInsights;