@aws-sdk/client-application-insights 3.35.0 → 3.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (231) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/ApplicationInsights.js +0 -1
  3. package/dist-cjs/ApplicationInsightsClient.js +0 -1
  4. package/dist-cjs/commands/CreateApplicationCommand.js +0 -1
  5. package/dist-cjs/commands/CreateComponentCommand.js +0 -1
  6. package/dist-cjs/commands/CreateLogPatternCommand.js +0 -1
  7. package/dist-cjs/commands/DeleteApplicationCommand.js +0 -1
  8. package/dist-cjs/commands/DeleteComponentCommand.js +0 -1
  9. package/dist-cjs/commands/DeleteLogPatternCommand.js +0 -1
  10. package/dist-cjs/commands/DescribeApplicationCommand.js +0 -1
  11. package/dist-cjs/commands/DescribeComponentCommand.js +0 -1
  12. package/dist-cjs/commands/DescribeComponentConfigurationCommand.js +0 -1
  13. package/dist-cjs/commands/DescribeComponentConfigurationRecommendationCommand.js +0 -1
  14. package/dist-cjs/commands/DescribeLogPatternCommand.js +0 -1
  15. package/dist-cjs/commands/DescribeObservationCommand.js +0 -1
  16. package/dist-cjs/commands/DescribeProblemCommand.js +0 -1
  17. package/dist-cjs/commands/DescribeProblemObservationsCommand.js +0 -1
  18. package/dist-cjs/commands/ListApplicationsCommand.js +0 -1
  19. package/dist-cjs/commands/ListComponentsCommand.js +0 -1
  20. package/dist-cjs/commands/ListConfigurationHistoryCommand.js +0 -1
  21. package/dist-cjs/commands/ListLogPatternSetsCommand.js +0 -1
  22. package/dist-cjs/commands/ListLogPatternsCommand.js +0 -1
  23. package/dist-cjs/commands/ListProblemsCommand.js +0 -1
  24. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  25. package/dist-cjs/commands/TagResourceCommand.js +0 -1
  26. package/dist-cjs/commands/UntagResourceCommand.js +0 -1
  27. package/dist-cjs/commands/UpdateApplicationCommand.js +0 -1
  28. package/dist-cjs/commands/UpdateComponentCommand.js +0 -1
  29. package/dist-cjs/commands/UpdateComponentConfigurationCommand.js +0 -1
  30. package/dist-cjs/commands/UpdateLogPatternCommand.js +0 -1
  31. package/dist-cjs/endpoints.js +0 -1
  32. package/dist-cjs/index.js +0 -1
  33. package/dist-cjs/models/index.js +0 -1
  34. package/dist-cjs/models/models_0.js +0 -1
  35. package/dist-cjs/pagination/Interfaces.js +0 -1
  36. package/dist-cjs/pagination/ListApplicationsPaginator.js +0 -1
  37. package/dist-cjs/pagination/ListComponentsPaginator.js +0 -1
  38. package/dist-cjs/pagination/ListConfigurationHistoryPaginator.js +0 -1
  39. package/dist-cjs/pagination/ListLogPatternSetsPaginator.js +0 -1
  40. package/dist-cjs/pagination/ListLogPatternsPaginator.js +0 -1
  41. package/dist-cjs/pagination/ListProblemsPaginator.js +0 -1
  42. package/dist-cjs/protocols/Aws_json1_1.js +0 -1
  43. package/dist-cjs/runtimeConfig.browser.js +2 -3
  44. package/dist-cjs/runtimeConfig.js +3 -4
  45. package/dist-cjs/runtimeConfig.native.js +0 -1
  46. package/dist-cjs/runtimeConfig.shared.js +0 -1
  47. package/dist-es/ApplicationInsights.js +0 -1
  48. package/dist-es/ApplicationInsightsClient.js +0 -1
  49. package/dist-es/commands/CreateApplicationCommand.js +0 -1
  50. package/dist-es/commands/CreateComponentCommand.js +0 -1
  51. package/dist-es/commands/CreateLogPatternCommand.js +0 -1
  52. package/dist-es/commands/DeleteApplicationCommand.js +0 -1
  53. package/dist-es/commands/DeleteComponentCommand.js +0 -1
  54. package/dist-es/commands/DeleteLogPatternCommand.js +0 -1
  55. package/dist-es/commands/DescribeApplicationCommand.js +0 -1
  56. package/dist-es/commands/DescribeComponentCommand.js +0 -1
  57. package/dist-es/commands/DescribeComponentConfigurationCommand.js +0 -1
  58. package/dist-es/commands/DescribeComponentConfigurationRecommendationCommand.js +0 -1
  59. package/dist-es/commands/DescribeLogPatternCommand.js +0 -1
  60. package/dist-es/commands/DescribeObservationCommand.js +0 -1
  61. package/dist-es/commands/DescribeProblemCommand.js +0 -1
  62. package/dist-es/commands/DescribeProblemObservationsCommand.js +0 -1
  63. package/dist-es/commands/ListApplicationsCommand.js +0 -1
  64. package/dist-es/commands/ListComponentsCommand.js +0 -1
  65. package/dist-es/commands/ListConfigurationHistoryCommand.js +0 -1
  66. package/dist-es/commands/ListLogPatternSetsCommand.js +0 -1
  67. package/dist-es/commands/ListLogPatternsCommand.js +0 -1
  68. package/dist-es/commands/ListProblemsCommand.js +0 -1
  69. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  70. package/dist-es/commands/TagResourceCommand.js +0 -1
  71. package/dist-es/commands/UntagResourceCommand.js +0 -1
  72. package/dist-es/commands/UpdateApplicationCommand.js +0 -1
  73. package/dist-es/commands/UpdateComponentCommand.js +0 -1
  74. package/dist-es/commands/UpdateComponentConfigurationCommand.js +0 -1
  75. package/dist-es/commands/UpdateLogPatternCommand.js +0 -1
  76. package/dist-es/endpoints.js +0 -1
  77. package/dist-es/index.js +0 -1
  78. package/dist-es/models/index.js +0 -1
  79. package/dist-es/models/models_0.js +0 -1
  80. package/dist-es/pagination/Interfaces.js +0 -1
  81. package/dist-es/pagination/ListApplicationsPaginator.js +0 -1
  82. package/dist-es/pagination/ListComponentsPaginator.js +0 -1
  83. package/dist-es/pagination/ListConfigurationHistoryPaginator.js +0 -1
  84. package/dist-es/pagination/ListLogPatternSetsPaginator.js +0 -1
  85. package/dist-es/pagination/ListLogPatternsPaginator.js +0 -1
  86. package/dist-es/pagination/ListProblemsPaginator.js +0 -1
  87. package/dist-es/protocols/Aws_json1_1.js +0 -1
  88. package/dist-es/runtimeConfig.browser.js +1 -2
  89. package/dist-es/runtimeConfig.js +2 -3
  90. package/dist-es/runtimeConfig.native.js +0 -1
  91. package/dist-es/runtimeConfig.shared.js +0 -1
  92. package/package.json +33 -30
  93. package/dist-cjs/ApplicationInsights.js.map +0 -1
  94. package/dist-cjs/ApplicationInsightsClient.js.map +0 -1
  95. package/dist-cjs/commands/CreateApplicationCommand.js.map +0 -1
  96. package/dist-cjs/commands/CreateComponentCommand.js.map +0 -1
  97. package/dist-cjs/commands/CreateLogPatternCommand.js.map +0 -1
  98. package/dist-cjs/commands/DeleteApplicationCommand.js.map +0 -1
  99. package/dist-cjs/commands/DeleteComponentCommand.js.map +0 -1
  100. package/dist-cjs/commands/DeleteLogPatternCommand.js.map +0 -1
  101. package/dist-cjs/commands/DescribeApplicationCommand.js.map +0 -1
  102. package/dist-cjs/commands/DescribeComponentCommand.js.map +0 -1
  103. package/dist-cjs/commands/DescribeComponentConfigurationCommand.js.map +0 -1
  104. package/dist-cjs/commands/DescribeComponentConfigurationRecommendationCommand.js.map +0 -1
  105. package/dist-cjs/commands/DescribeLogPatternCommand.js.map +0 -1
  106. package/dist-cjs/commands/DescribeObservationCommand.js.map +0 -1
  107. package/dist-cjs/commands/DescribeProblemCommand.js.map +0 -1
  108. package/dist-cjs/commands/DescribeProblemObservationsCommand.js.map +0 -1
  109. package/dist-cjs/commands/ListApplicationsCommand.js.map +0 -1
  110. package/dist-cjs/commands/ListComponentsCommand.js.map +0 -1
  111. package/dist-cjs/commands/ListConfigurationHistoryCommand.js.map +0 -1
  112. package/dist-cjs/commands/ListLogPatternSetsCommand.js.map +0 -1
  113. package/dist-cjs/commands/ListLogPatternsCommand.js.map +0 -1
  114. package/dist-cjs/commands/ListProblemsCommand.js.map +0 -1
  115. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  116. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  117. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  118. package/dist-cjs/commands/UpdateApplicationCommand.js.map +0 -1
  119. package/dist-cjs/commands/UpdateComponentCommand.js.map +0 -1
  120. package/dist-cjs/commands/UpdateComponentConfigurationCommand.js.map +0 -1
  121. package/dist-cjs/commands/UpdateLogPatternCommand.js.map +0 -1
  122. package/dist-cjs/endpoints.js.map +0 -1
  123. package/dist-cjs/index.js.map +0 -1
  124. package/dist-cjs/models/index.js.map +0 -1
  125. package/dist-cjs/models/models_0.js.map +0 -1
  126. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  127. package/dist-cjs/pagination/ListApplicationsPaginator.js.map +0 -1
  128. package/dist-cjs/pagination/ListComponentsPaginator.js.map +0 -1
  129. package/dist-cjs/pagination/ListConfigurationHistoryPaginator.js.map +0 -1
  130. package/dist-cjs/pagination/ListLogPatternSetsPaginator.js.map +0 -1
  131. package/dist-cjs/pagination/ListLogPatternsPaginator.js.map +0 -1
  132. package/dist-cjs/pagination/ListProblemsPaginator.js.map +0 -1
  133. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  134. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  135. package/dist-cjs/runtimeConfig.js.map +0 -1
  136. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  137. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  138. package/dist-es/ApplicationInsights.js.map +0 -1
  139. package/dist-es/ApplicationInsightsClient.js.map +0 -1
  140. package/dist-es/commands/CreateApplicationCommand.js.map +0 -1
  141. package/dist-es/commands/CreateComponentCommand.js.map +0 -1
  142. package/dist-es/commands/CreateLogPatternCommand.js.map +0 -1
  143. package/dist-es/commands/DeleteApplicationCommand.js.map +0 -1
  144. package/dist-es/commands/DeleteComponentCommand.js.map +0 -1
  145. package/dist-es/commands/DeleteLogPatternCommand.js.map +0 -1
  146. package/dist-es/commands/DescribeApplicationCommand.js.map +0 -1
  147. package/dist-es/commands/DescribeComponentCommand.js.map +0 -1
  148. package/dist-es/commands/DescribeComponentConfigurationCommand.js.map +0 -1
  149. package/dist-es/commands/DescribeComponentConfigurationRecommendationCommand.js.map +0 -1
  150. package/dist-es/commands/DescribeLogPatternCommand.js.map +0 -1
  151. package/dist-es/commands/DescribeObservationCommand.js.map +0 -1
  152. package/dist-es/commands/DescribeProblemCommand.js.map +0 -1
  153. package/dist-es/commands/DescribeProblemObservationsCommand.js.map +0 -1
  154. package/dist-es/commands/ListApplicationsCommand.js.map +0 -1
  155. package/dist-es/commands/ListComponentsCommand.js.map +0 -1
  156. package/dist-es/commands/ListConfigurationHistoryCommand.js.map +0 -1
  157. package/dist-es/commands/ListLogPatternSetsCommand.js.map +0 -1
  158. package/dist-es/commands/ListLogPatternsCommand.js.map +0 -1
  159. package/dist-es/commands/ListProblemsCommand.js.map +0 -1
  160. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  161. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  162. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  163. package/dist-es/commands/UpdateApplicationCommand.js.map +0 -1
  164. package/dist-es/commands/UpdateComponentCommand.js.map +0 -1
  165. package/dist-es/commands/UpdateComponentConfigurationCommand.js.map +0 -1
  166. package/dist-es/commands/UpdateLogPatternCommand.js.map +0 -1
  167. package/dist-es/endpoints.js.map +0 -1
  168. package/dist-es/index.js.map +0 -1
  169. package/dist-es/models/index.js.map +0 -1
  170. package/dist-es/models/models_0.js.map +0 -1
  171. package/dist-es/pagination/Interfaces.js.map +0 -1
  172. package/dist-es/pagination/ListApplicationsPaginator.js.map +0 -1
  173. package/dist-es/pagination/ListComponentsPaginator.js.map +0 -1
  174. package/dist-es/pagination/ListConfigurationHistoryPaginator.js.map +0 -1
  175. package/dist-es/pagination/ListLogPatternSetsPaginator.js.map +0 -1
  176. package/dist-es/pagination/ListLogPatternsPaginator.js.map +0 -1
  177. package/dist-es/pagination/ListProblemsPaginator.js.map +0 -1
  178. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  179. package/dist-es/runtimeConfig.browser.js.map +0 -1
  180. package/dist-es/runtimeConfig.js.map +0 -1
  181. package/dist-es/runtimeConfig.native.js.map +0 -1
  182. package/dist-es/runtimeConfig.shared.js.map +0 -1
  183. package/jest.config.js +0 -4
  184. package/src/ApplicationInsights.ts +0 -1037
  185. package/src/ApplicationInsightsClient.ts +0 -353
  186. package/src/commands/CreateApplicationCommand.ts +0 -99
  187. package/src/commands/CreateComponentCommand.ts +0 -99
  188. package/src/commands/CreateLogPatternCommand.ts +0 -99
  189. package/src/commands/DeleteApplicationCommand.ts +0 -99
  190. package/src/commands/DeleteComponentCommand.ts +0 -100
  191. package/src/commands/DeleteLogPatternCommand.ts +0 -99
  192. package/src/commands/DescribeApplicationCommand.ts +0 -99
  193. package/src/commands/DescribeComponentCommand.ts +0 -99
  194. package/src/commands/DescribeComponentConfigurationCommand.ts +0 -107
  195. package/src/commands/DescribeComponentConfigurationRecommendationCommand.ts +0 -114
  196. package/src/commands/DescribeLogPatternCommand.ts +0 -99
  197. package/src/commands/DescribeObservationCommand.ts +0 -99
  198. package/src/commands/DescribeProblemCommand.ts +0 -99
  199. package/src/commands/DescribeProblemObservationsCommand.ts +0 -104
  200. package/src/commands/ListApplicationsCommand.ts +0 -99
  201. package/src/commands/ListComponentsCommand.ts +0 -99
  202. package/src/commands/ListConfigurationHistoryCommand.ts +0 -112
  203. package/src/commands/ListLogPatternSetsCommand.ts +0 -99
  204. package/src/commands/ListLogPatternsCommand.ts +0 -99
  205. package/src/commands/ListProblemsCommand.ts +0 -99
  206. package/src/commands/ListTagsForResourceCommand.ts +0 -104
  207. package/src/commands/TagResourceCommand.ts +0 -106
  208. package/src/commands/UntagResourceCommand.ts +0 -99
  209. package/src/commands/UpdateApplicationCommand.ts +0 -99
  210. package/src/commands/UpdateComponentCommand.ts +0 -100
  211. package/src/commands/UpdateComponentConfigurationCommand.ts +0 -106
  212. package/src/commands/UpdateLogPatternCommand.ts +0 -99
  213. package/src/endpoints.ts +0 -57
  214. package/src/index.ts +0 -37
  215. package/src/models/index.ts +0 -1
  216. package/src/models/models_0.ts +0 -2046
  217. package/src/pagination/Interfaces.ts +0 -8
  218. package/src/pagination/ListApplicationsPaginator.ts +0 -59
  219. package/src/pagination/ListComponentsPaginator.ts +0 -59
  220. package/src/pagination/ListConfigurationHistoryPaginator.ts +0 -59
  221. package/src/pagination/ListLogPatternSetsPaginator.ts +0 -59
  222. package/src/pagination/ListLogPatternsPaginator.ts +0 -59
  223. package/src/pagination/ListProblemsPaginator.ts +0 -59
  224. package/src/protocols/Aws_json1_1.ts +0 -3617
  225. package/src/runtimeConfig.browser.ts +0 -41
  226. package/src/runtimeConfig.native.ts +0 -17
  227. package/src/runtimeConfig.shared.ts +0 -17
  228. package/src/runtimeConfig.ts +0 -46
  229. package/tsconfig.es.json +0 -10
  230. package/tsconfig.json +0 -33
  231. package/tsconfig.types.json +0 -9
@@ -1,1037 +0,0 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
-
3
- import { ApplicationInsightsClient } from "./ApplicationInsightsClient";
4
- import {
5
- CreateApplicationCommand,
6
- CreateApplicationCommandInput,
7
- CreateApplicationCommandOutput,
8
- } from "./commands/CreateApplicationCommand";
9
- import {
10
- CreateComponentCommand,
11
- CreateComponentCommandInput,
12
- CreateComponentCommandOutput,
13
- } from "./commands/CreateComponentCommand";
14
- import {
15
- CreateLogPatternCommand,
16
- CreateLogPatternCommandInput,
17
- CreateLogPatternCommandOutput,
18
- } from "./commands/CreateLogPatternCommand";
19
- import {
20
- DeleteApplicationCommand,
21
- DeleteApplicationCommandInput,
22
- DeleteApplicationCommandOutput,
23
- } from "./commands/DeleteApplicationCommand";
24
- import {
25
- DeleteComponentCommand,
26
- DeleteComponentCommandInput,
27
- DeleteComponentCommandOutput,
28
- } from "./commands/DeleteComponentCommand";
29
- import {
30
- DeleteLogPatternCommand,
31
- DeleteLogPatternCommandInput,
32
- DeleteLogPatternCommandOutput,
33
- } from "./commands/DeleteLogPatternCommand";
34
- import {
35
- DescribeApplicationCommand,
36
- DescribeApplicationCommandInput,
37
- DescribeApplicationCommandOutput,
38
- } from "./commands/DescribeApplicationCommand";
39
- import {
40
- DescribeComponentCommand,
41
- DescribeComponentCommandInput,
42
- DescribeComponentCommandOutput,
43
- } from "./commands/DescribeComponentCommand";
44
- import {
45
- DescribeComponentConfigurationCommand,
46
- DescribeComponentConfigurationCommandInput,
47
- DescribeComponentConfigurationCommandOutput,
48
- } from "./commands/DescribeComponentConfigurationCommand";
49
- import {
50
- DescribeComponentConfigurationRecommendationCommand,
51
- DescribeComponentConfigurationRecommendationCommandInput,
52
- DescribeComponentConfigurationRecommendationCommandOutput,
53
- } from "./commands/DescribeComponentConfigurationRecommendationCommand";
54
- import {
55
- DescribeLogPatternCommand,
56
- DescribeLogPatternCommandInput,
57
- DescribeLogPatternCommandOutput,
58
- } from "./commands/DescribeLogPatternCommand";
59
- import {
60
- DescribeObservationCommand,
61
- DescribeObservationCommandInput,
62
- DescribeObservationCommandOutput,
63
- } from "./commands/DescribeObservationCommand";
64
- import {
65
- DescribeProblemCommand,
66
- DescribeProblemCommandInput,
67
- DescribeProblemCommandOutput,
68
- } from "./commands/DescribeProblemCommand";
69
- import {
70
- DescribeProblemObservationsCommand,
71
- DescribeProblemObservationsCommandInput,
72
- DescribeProblemObservationsCommandOutput,
73
- } from "./commands/DescribeProblemObservationsCommand";
74
- import {
75
- ListApplicationsCommand,
76
- ListApplicationsCommandInput,
77
- ListApplicationsCommandOutput,
78
- } from "./commands/ListApplicationsCommand";
79
- import {
80
- ListComponentsCommand,
81
- ListComponentsCommandInput,
82
- ListComponentsCommandOutput,
83
- } from "./commands/ListComponentsCommand";
84
- import {
85
- ListConfigurationHistoryCommand,
86
- ListConfigurationHistoryCommandInput,
87
- ListConfigurationHistoryCommandOutput,
88
- } from "./commands/ListConfigurationHistoryCommand";
89
- import {
90
- ListLogPatternsCommand,
91
- ListLogPatternsCommandInput,
92
- ListLogPatternsCommandOutput,
93
- } from "./commands/ListLogPatternsCommand";
94
- import {
95
- ListLogPatternSetsCommand,
96
- ListLogPatternSetsCommandInput,
97
- ListLogPatternSetsCommandOutput,
98
- } from "./commands/ListLogPatternSetsCommand";
99
- import {
100
- ListProblemsCommand,
101
- ListProblemsCommandInput,
102
- ListProblemsCommandOutput,
103
- } from "./commands/ListProblemsCommand";
104
- import {
105
- ListTagsForResourceCommand,
106
- ListTagsForResourceCommandInput,
107
- ListTagsForResourceCommandOutput,
108
- } from "./commands/ListTagsForResourceCommand";
109
- import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
110
- import {
111
- UntagResourceCommand,
112
- UntagResourceCommandInput,
113
- UntagResourceCommandOutput,
114
- } from "./commands/UntagResourceCommand";
115
- import {
116
- UpdateApplicationCommand,
117
- UpdateApplicationCommandInput,
118
- UpdateApplicationCommandOutput,
119
- } from "./commands/UpdateApplicationCommand";
120
- import {
121
- UpdateComponentCommand,
122
- UpdateComponentCommandInput,
123
- UpdateComponentCommandOutput,
124
- } from "./commands/UpdateComponentCommand";
125
- import {
126
- UpdateComponentConfigurationCommand,
127
- UpdateComponentConfigurationCommandInput,
128
- UpdateComponentConfigurationCommandOutput,
129
- } from "./commands/UpdateComponentConfigurationCommand";
130
- import {
131
- UpdateLogPatternCommand,
132
- UpdateLogPatternCommandInput,
133
- UpdateLogPatternCommandOutput,
134
- } from "./commands/UpdateLogPatternCommand";
135
-
136
- /**
137
- * <fullname>Amazon CloudWatch Application Insights</fullname>
138
- * <p> Amazon CloudWatch Application Insights is a service that
139
- * helps you detect common problems with your applications. It
140
- * enables you to pinpoint the source of issues in your applications (built with technologies
141
- * such as Microsoft IIS, .NET, and Microsoft SQL Server), by providing key insights into
142
- * detected problems.</p>
143
- * <p>After you onboard your application, CloudWatch Application Insights identifies,
144
- * recommends, and sets up metrics and logs. It continuously analyzes and
145
- * correlates your metrics and logs for unusual behavior to surface actionable problems with
146
- * your application. For example, if your application is slow and unresponsive and leading to
147
- * HTTP 500 errors in your Application Load Balancer (ALB), Application Insights informs you
148
- * that a memory pressure problem with your SQL Server database is occurring. It bases this
149
- * analysis on impactful metrics and log errors. </p>
150
- */
151
- export class ApplicationInsights extends ApplicationInsightsClient {
152
- /**
153
- * <p>Adds an application that is created from a resource group.</p>
154
- */
155
- public createApplication(
156
- args: CreateApplicationCommandInput,
157
- options?: __HttpHandlerOptions
158
- ): Promise<CreateApplicationCommandOutput>;
159
- public createApplication(
160
- args: CreateApplicationCommandInput,
161
- cb: (err: any, data?: CreateApplicationCommandOutput) => void
162
- ): void;
163
- public createApplication(
164
- args: CreateApplicationCommandInput,
165
- options: __HttpHandlerOptions,
166
- cb: (err: any, data?: CreateApplicationCommandOutput) => void
167
- ): void;
168
- public createApplication(
169
- args: CreateApplicationCommandInput,
170
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateApplicationCommandOutput) => void),
171
- cb?: (err: any, data?: CreateApplicationCommandOutput) => void
172
- ): Promise<CreateApplicationCommandOutput> | void {
173
- const command = new CreateApplicationCommand(args);
174
- if (typeof optionsOrCb === "function") {
175
- this.send(command, optionsOrCb);
176
- } else if (typeof cb === "function") {
177
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
178
- this.send(command, optionsOrCb || {}, cb);
179
- } else {
180
- return this.send(command, optionsOrCb);
181
- }
182
- }
183
-
184
- /**
185
- * <p>Creates a custom component by grouping similar standalone instances to monitor.</p>
186
- */
187
- public createComponent(
188
- args: CreateComponentCommandInput,
189
- options?: __HttpHandlerOptions
190
- ): Promise<CreateComponentCommandOutput>;
191
- public createComponent(
192
- args: CreateComponentCommandInput,
193
- cb: (err: any, data?: CreateComponentCommandOutput) => void
194
- ): void;
195
- public createComponent(
196
- args: CreateComponentCommandInput,
197
- options: __HttpHandlerOptions,
198
- cb: (err: any, data?: CreateComponentCommandOutput) => void
199
- ): void;
200
- public createComponent(
201
- args: CreateComponentCommandInput,
202
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateComponentCommandOutput) => void),
203
- cb?: (err: any, data?: CreateComponentCommandOutput) => void
204
- ): Promise<CreateComponentCommandOutput> | void {
205
- const command = new CreateComponentCommand(args);
206
- if (typeof optionsOrCb === "function") {
207
- this.send(command, optionsOrCb);
208
- } else if (typeof cb === "function") {
209
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
210
- this.send(command, optionsOrCb || {}, cb);
211
- } else {
212
- return this.send(command, optionsOrCb);
213
- }
214
- }
215
-
216
- /**
217
- * <p>Adds an log pattern to a <code>LogPatternSet</code>.</p>
218
- */
219
- public createLogPattern(
220
- args: CreateLogPatternCommandInput,
221
- options?: __HttpHandlerOptions
222
- ): Promise<CreateLogPatternCommandOutput>;
223
- public createLogPattern(
224
- args: CreateLogPatternCommandInput,
225
- cb: (err: any, data?: CreateLogPatternCommandOutput) => void
226
- ): void;
227
- public createLogPattern(
228
- args: CreateLogPatternCommandInput,
229
- options: __HttpHandlerOptions,
230
- cb: (err: any, data?: CreateLogPatternCommandOutput) => void
231
- ): void;
232
- public createLogPattern(
233
- args: CreateLogPatternCommandInput,
234
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateLogPatternCommandOutput) => void),
235
- cb?: (err: any, data?: CreateLogPatternCommandOutput) => void
236
- ): Promise<CreateLogPatternCommandOutput> | void {
237
- const command = new CreateLogPatternCommand(args);
238
- if (typeof optionsOrCb === "function") {
239
- this.send(command, optionsOrCb);
240
- } else if (typeof cb === "function") {
241
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
242
- this.send(command, optionsOrCb || {}, cb);
243
- } else {
244
- return this.send(command, optionsOrCb);
245
- }
246
- }
247
-
248
- /**
249
- * <p>Removes the specified application from monitoring. Does not delete the application.</p>
250
- */
251
- public deleteApplication(
252
- args: DeleteApplicationCommandInput,
253
- options?: __HttpHandlerOptions
254
- ): Promise<DeleteApplicationCommandOutput>;
255
- public deleteApplication(
256
- args: DeleteApplicationCommandInput,
257
- cb: (err: any, data?: DeleteApplicationCommandOutput) => void
258
- ): void;
259
- public deleteApplication(
260
- args: DeleteApplicationCommandInput,
261
- options: __HttpHandlerOptions,
262
- cb: (err: any, data?: DeleteApplicationCommandOutput) => void
263
- ): void;
264
- public deleteApplication(
265
- args: DeleteApplicationCommandInput,
266
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteApplicationCommandOutput) => void),
267
- cb?: (err: any, data?: DeleteApplicationCommandOutput) => void
268
- ): Promise<DeleteApplicationCommandOutput> | void {
269
- const command = new DeleteApplicationCommand(args);
270
- if (typeof optionsOrCb === "function") {
271
- this.send(command, optionsOrCb);
272
- } else if (typeof cb === "function") {
273
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
274
- this.send(command, optionsOrCb || {}, cb);
275
- } else {
276
- return this.send(command, optionsOrCb);
277
- }
278
- }
279
-
280
- /**
281
- * <p>Ungroups a custom component. When you ungroup custom components, all applicable
282
- * monitors that are set up for the component are removed and the instances revert to their standalone status.</p>
283
- */
284
- public deleteComponent(
285
- args: DeleteComponentCommandInput,
286
- options?: __HttpHandlerOptions
287
- ): Promise<DeleteComponentCommandOutput>;
288
- public deleteComponent(
289
- args: DeleteComponentCommandInput,
290
- cb: (err: any, data?: DeleteComponentCommandOutput) => void
291
- ): void;
292
- public deleteComponent(
293
- args: DeleteComponentCommandInput,
294
- options: __HttpHandlerOptions,
295
- cb: (err: any, data?: DeleteComponentCommandOutput) => void
296
- ): void;
297
- public deleteComponent(
298
- args: DeleteComponentCommandInput,
299
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteComponentCommandOutput) => void),
300
- cb?: (err: any, data?: DeleteComponentCommandOutput) => void
301
- ): Promise<DeleteComponentCommandOutput> | void {
302
- const command = new DeleteComponentCommand(args);
303
- if (typeof optionsOrCb === "function") {
304
- this.send(command, optionsOrCb);
305
- } else if (typeof cb === "function") {
306
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
307
- this.send(command, optionsOrCb || {}, cb);
308
- } else {
309
- return this.send(command, optionsOrCb);
310
- }
311
- }
312
-
313
- /**
314
- * <p>Removes the specified log pattern from a <code>LogPatternSet</code>.</p>
315
- */
316
- public deleteLogPattern(
317
- args: DeleteLogPatternCommandInput,
318
- options?: __HttpHandlerOptions
319
- ): Promise<DeleteLogPatternCommandOutput>;
320
- public deleteLogPattern(
321
- args: DeleteLogPatternCommandInput,
322
- cb: (err: any, data?: DeleteLogPatternCommandOutput) => void
323
- ): void;
324
- public deleteLogPattern(
325
- args: DeleteLogPatternCommandInput,
326
- options: __HttpHandlerOptions,
327
- cb: (err: any, data?: DeleteLogPatternCommandOutput) => void
328
- ): void;
329
- public deleteLogPattern(
330
- args: DeleteLogPatternCommandInput,
331
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteLogPatternCommandOutput) => void),
332
- cb?: (err: any, data?: DeleteLogPatternCommandOutput) => void
333
- ): Promise<DeleteLogPatternCommandOutput> | void {
334
- const command = new DeleteLogPatternCommand(args);
335
- if (typeof optionsOrCb === "function") {
336
- this.send(command, optionsOrCb);
337
- } else if (typeof cb === "function") {
338
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
339
- this.send(command, optionsOrCb || {}, cb);
340
- } else {
341
- return this.send(command, optionsOrCb);
342
- }
343
- }
344
-
345
- /**
346
- * <p>Describes the application.</p>
347
- */
348
- public describeApplication(
349
- args: DescribeApplicationCommandInput,
350
- options?: __HttpHandlerOptions
351
- ): Promise<DescribeApplicationCommandOutput>;
352
- public describeApplication(
353
- args: DescribeApplicationCommandInput,
354
- cb: (err: any, data?: DescribeApplicationCommandOutput) => void
355
- ): void;
356
- public describeApplication(
357
- args: DescribeApplicationCommandInput,
358
- options: __HttpHandlerOptions,
359
- cb: (err: any, data?: DescribeApplicationCommandOutput) => void
360
- ): void;
361
- public describeApplication(
362
- args: DescribeApplicationCommandInput,
363
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeApplicationCommandOutput) => void),
364
- cb?: (err: any, data?: DescribeApplicationCommandOutput) => void
365
- ): Promise<DescribeApplicationCommandOutput> | void {
366
- const command = new DescribeApplicationCommand(args);
367
- if (typeof optionsOrCb === "function") {
368
- this.send(command, optionsOrCb);
369
- } else if (typeof cb === "function") {
370
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
371
- this.send(command, optionsOrCb || {}, cb);
372
- } else {
373
- return this.send(command, optionsOrCb);
374
- }
375
- }
376
-
377
- /**
378
- * <p>Describes a component and lists the resources that are grouped together in a component.</p>
379
- */
380
- public describeComponent(
381
- args: DescribeComponentCommandInput,
382
- options?: __HttpHandlerOptions
383
- ): Promise<DescribeComponentCommandOutput>;
384
- public describeComponent(
385
- args: DescribeComponentCommandInput,
386
- cb: (err: any, data?: DescribeComponentCommandOutput) => void
387
- ): void;
388
- public describeComponent(
389
- args: DescribeComponentCommandInput,
390
- options: __HttpHandlerOptions,
391
- cb: (err: any, data?: DescribeComponentCommandOutput) => void
392
- ): void;
393
- public describeComponent(
394
- args: DescribeComponentCommandInput,
395
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeComponentCommandOutput) => void),
396
- cb?: (err: any, data?: DescribeComponentCommandOutput) => void
397
- ): Promise<DescribeComponentCommandOutput> | void {
398
- const command = new DescribeComponentCommand(args);
399
- if (typeof optionsOrCb === "function") {
400
- this.send(command, optionsOrCb);
401
- } else if (typeof cb === "function") {
402
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
403
- this.send(command, optionsOrCb || {}, cb);
404
- } else {
405
- return this.send(command, optionsOrCb);
406
- }
407
- }
408
-
409
- /**
410
- * <p>Describes the monitoring configuration of the component.</p>
411
- */
412
- public describeComponentConfiguration(
413
- args: DescribeComponentConfigurationCommandInput,
414
- options?: __HttpHandlerOptions
415
- ): Promise<DescribeComponentConfigurationCommandOutput>;
416
- public describeComponentConfiguration(
417
- args: DescribeComponentConfigurationCommandInput,
418
- cb: (err: any, data?: DescribeComponentConfigurationCommandOutput) => void
419
- ): void;
420
- public describeComponentConfiguration(
421
- args: DescribeComponentConfigurationCommandInput,
422
- options: __HttpHandlerOptions,
423
- cb: (err: any, data?: DescribeComponentConfigurationCommandOutput) => void
424
- ): void;
425
- public describeComponentConfiguration(
426
- args: DescribeComponentConfigurationCommandInput,
427
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeComponentConfigurationCommandOutput) => void),
428
- cb?: (err: any, data?: DescribeComponentConfigurationCommandOutput) => void
429
- ): Promise<DescribeComponentConfigurationCommandOutput> | void {
430
- const command = new DescribeComponentConfigurationCommand(args);
431
- if (typeof optionsOrCb === "function") {
432
- this.send(command, optionsOrCb);
433
- } else if (typeof cb === "function") {
434
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
435
- this.send(command, optionsOrCb || {}, cb);
436
- } else {
437
- return this.send(command, optionsOrCb);
438
- }
439
- }
440
-
441
- /**
442
- * <p>Describes the recommended monitoring configuration of the component.</p>
443
- */
444
- public describeComponentConfigurationRecommendation(
445
- args: DescribeComponentConfigurationRecommendationCommandInput,
446
- options?: __HttpHandlerOptions
447
- ): Promise<DescribeComponentConfigurationRecommendationCommandOutput>;
448
- public describeComponentConfigurationRecommendation(
449
- args: DescribeComponentConfigurationRecommendationCommandInput,
450
- cb: (err: any, data?: DescribeComponentConfigurationRecommendationCommandOutput) => void
451
- ): void;
452
- public describeComponentConfigurationRecommendation(
453
- args: DescribeComponentConfigurationRecommendationCommandInput,
454
- options: __HttpHandlerOptions,
455
- cb: (err: any, data?: DescribeComponentConfigurationRecommendationCommandOutput) => void
456
- ): void;
457
- public describeComponentConfigurationRecommendation(
458
- args: DescribeComponentConfigurationRecommendationCommandInput,
459
- optionsOrCb?:
460
- | __HttpHandlerOptions
461
- | ((err: any, data?: DescribeComponentConfigurationRecommendationCommandOutput) => void),
462
- cb?: (err: any, data?: DescribeComponentConfigurationRecommendationCommandOutput) => void
463
- ): Promise<DescribeComponentConfigurationRecommendationCommandOutput> | void {
464
- const command = new DescribeComponentConfigurationRecommendationCommand(args);
465
- if (typeof optionsOrCb === "function") {
466
- this.send(command, optionsOrCb);
467
- } else if (typeof cb === "function") {
468
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
469
- this.send(command, optionsOrCb || {}, cb);
470
- } else {
471
- return this.send(command, optionsOrCb);
472
- }
473
- }
474
-
475
- /**
476
- * <p>Describe a specific log pattern from a <code>LogPatternSet</code>.</p>
477
- */
478
- public describeLogPattern(
479
- args: DescribeLogPatternCommandInput,
480
- options?: __HttpHandlerOptions
481
- ): Promise<DescribeLogPatternCommandOutput>;
482
- public describeLogPattern(
483
- args: DescribeLogPatternCommandInput,
484
- cb: (err: any, data?: DescribeLogPatternCommandOutput) => void
485
- ): void;
486
- public describeLogPattern(
487
- args: DescribeLogPatternCommandInput,
488
- options: __HttpHandlerOptions,
489
- cb: (err: any, data?: DescribeLogPatternCommandOutput) => void
490
- ): void;
491
- public describeLogPattern(
492
- args: DescribeLogPatternCommandInput,
493
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeLogPatternCommandOutput) => void),
494
- cb?: (err: any, data?: DescribeLogPatternCommandOutput) => void
495
- ): Promise<DescribeLogPatternCommandOutput> | void {
496
- const command = new DescribeLogPatternCommand(args);
497
- if (typeof optionsOrCb === "function") {
498
- this.send(command, optionsOrCb);
499
- } else if (typeof cb === "function") {
500
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
501
- this.send(command, optionsOrCb || {}, cb);
502
- } else {
503
- return this.send(command, optionsOrCb);
504
- }
505
- }
506
-
507
- /**
508
- * <p>Describes an anomaly or error with the application.</p>
509
- */
510
- public describeObservation(
511
- args: DescribeObservationCommandInput,
512
- options?: __HttpHandlerOptions
513
- ): Promise<DescribeObservationCommandOutput>;
514
- public describeObservation(
515
- args: DescribeObservationCommandInput,
516
- cb: (err: any, data?: DescribeObservationCommandOutput) => void
517
- ): void;
518
- public describeObservation(
519
- args: DescribeObservationCommandInput,
520
- options: __HttpHandlerOptions,
521
- cb: (err: any, data?: DescribeObservationCommandOutput) => void
522
- ): void;
523
- public describeObservation(
524
- args: DescribeObservationCommandInput,
525
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeObservationCommandOutput) => void),
526
- cb?: (err: any, data?: DescribeObservationCommandOutput) => void
527
- ): Promise<DescribeObservationCommandOutput> | void {
528
- const command = new DescribeObservationCommand(args);
529
- if (typeof optionsOrCb === "function") {
530
- this.send(command, optionsOrCb);
531
- } else if (typeof cb === "function") {
532
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
533
- this.send(command, optionsOrCb || {}, cb);
534
- } else {
535
- return this.send(command, optionsOrCb);
536
- }
537
- }
538
-
539
- /**
540
- * <p>Describes an application problem.</p>
541
- */
542
- public describeProblem(
543
- args: DescribeProblemCommandInput,
544
- options?: __HttpHandlerOptions
545
- ): Promise<DescribeProblemCommandOutput>;
546
- public describeProblem(
547
- args: DescribeProblemCommandInput,
548
- cb: (err: any, data?: DescribeProblemCommandOutput) => void
549
- ): void;
550
- public describeProblem(
551
- args: DescribeProblemCommandInput,
552
- options: __HttpHandlerOptions,
553
- cb: (err: any, data?: DescribeProblemCommandOutput) => void
554
- ): void;
555
- public describeProblem(
556
- args: DescribeProblemCommandInput,
557
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeProblemCommandOutput) => void),
558
- cb?: (err: any, data?: DescribeProblemCommandOutput) => void
559
- ): Promise<DescribeProblemCommandOutput> | void {
560
- const command = new DescribeProblemCommand(args);
561
- if (typeof optionsOrCb === "function") {
562
- this.send(command, optionsOrCb);
563
- } else if (typeof cb === "function") {
564
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
565
- this.send(command, optionsOrCb || {}, cb);
566
- } else {
567
- return this.send(command, optionsOrCb);
568
- }
569
- }
570
-
571
- /**
572
- * <p>Describes the anomalies or errors associated with the problem.</p>
573
- */
574
- public describeProblemObservations(
575
- args: DescribeProblemObservationsCommandInput,
576
- options?: __HttpHandlerOptions
577
- ): Promise<DescribeProblemObservationsCommandOutput>;
578
- public describeProblemObservations(
579
- args: DescribeProblemObservationsCommandInput,
580
- cb: (err: any, data?: DescribeProblemObservationsCommandOutput) => void
581
- ): void;
582
- public describeProblemObservations(
583
- args: DescribeProblemObservationsCommandInput,
584
- options: __HttpHandlerOptions,
585
- cb: (err: any, data?: DescribeProblemObservationsCommandOutput) => void
586
- ): void;
587
- public describeProblemObservations(
588
- args: DescribeProblemObservationsCommandInput,
589
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeProblemObservationsCommandOutput) => void),
590
- cb?: (err: any, data?: DescribeProblemObservationsCommandOutput) => void
591
- ): Promise<DescribeProblemObservationsCommandOutput> | void {
592
- const command = new DescribeProblemObservationsCommand(args);
593
- if (typeof optionsOrCb === "function") {
594
- this.send(command, optionsOrCb);
595
- } else if (typeof cb === "function") {
596
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
597
- this.send(command, optionsOrCb || {}, cb);
598
- } else {
599
- return this.send(command, optionsOrCb);
600
- }
601
- }
602
-
603
- /**
604
- * <p>Lists the IDs of the applications that you are monitoring. </p>
605
- */
606
- public listApplications(
607
- args: ListApplicationsCommandInput,
608
- options?: __HttpHandlerOptions
609
- ): Promise<ListApplicationsCommandOutput>;
610
- public listApplications(
611
- args: ListApplicationsCommandInput,
612
- cb: (err: any, data?: ListApplicationsCommandOutput) => void
613
- ): void;
614
- public listApplications(
615
- args: ListApplicationsCommandInput,
616
- options: __HttpHandlerOptions,
617
- cb: (err: any, data?: ListApplicationsCommandOutput) => void
618
- ): void;
619
- public listApplications(
620
- args: ListApplicationsCommandInput,
621
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListApplicationsCommandOutput) => void),
622
- cb?: (err: any, data?: ListApplicationsCommandOutput) => void
623
- ): Promise<ListApplicationsCommandOutput> | void {
624
- const command = new ListApplicationsCommand(args);
625
- if (typeof optionsOrCb === "function") {
626
- this.send(command, optionsOrCb);
627
- } else if (typeof cb === "function") {
628
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
629
- this.send(command, optionsOrCb || {}, cb);
630
- } else {
631
- return this.send(command, optionsOrCb);
632
- }
633
- }
634
-
635
- /**
636
- * <p>Lists the auto-grouped, standalone, and custom components of the application.</p>
637
- */
638
- public listComponents(
639
- args: ListComponentsCommandInput,
640
- options?: __HttpHandlerOptions
641
- ): Promise<ListComponentsCommandOutput>;
642
- public listComponents(
643
- args: ListComponentsCommandInput,
644
- cb: (err: any, data?: ListComponentsCommandOutput) => void
645
- ): void;
646
- public listComponents(
647
- args: ListComponentsCommandInput,
648
- options: __HttpHandlerOptions,
649
- cb: (err: any, data?: ListComponentsCommandOutput) => void
650
- ): void;
651
- public listComponents(
652
- args: ListComponentsCommandInput,
653
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListComponentsCommandOutput) => void),
654
- cb?: (err: any, data?: ListComponentsCommandOutput) => void
655
- ): Promise<ListComponentsCommandOutput> | void {
656
- const command = new ListComponentsCommand(args);
657
- if (typeof optionsOrCb === "function") {
658
- this.send(command, optionsOrCb);
659
- } else if (typeof cb === "function") {
660
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
661
- this.send(command, optionsOrCb || {}, cb);
662
- } else {
663
- return this.send(command, optionsOrCb);
664
- }
665
- }
666
-
667
- /**
668
- * <p>
669
- * Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are:
670
- * </p>
671
- * <ul>
672
- * <li>
673
- * <p>INFO: creating a new alarm or updating an alarm threshold.</p>
674
- * </li>
675
- * <li>
676
- * <p>WARN: alarm not created due to insufficient data points used to predict thresholds.</p>
677
- * </li>
678
- * <li>
679
- * <p>ERROR: alarm not created due to permission errors or exceeding quotas. </p>
680
- * </li>
681
- * </ul>
682
- */
683
- public listConfigurationHistory(
684
- args: ListConfigurationHistoryCommandInput,
685
- options?: __HttpHandlerOptions
686
- ): Promise<ListConfigurationHistoryCommandOutput>;
687
- public listConfigurationHistory(
688
- args: ListConfigurationHistoryCommandInput,
689
- cb: (err: any, data?: ListConfigurationHistoryCommandOutput) => void
690
- ): void;
691
- public listConfigurationHistory(
692
- args: ListConfigurationHistoryCommandInput,
693
- options: __HttpHandlerOptions,
694
- cb: (err: any, data?: ListConfigurationHistoryCommandOutput) => void
695
- ): void;
696
- public listConfigurationHistory(
697
- args: ListConfigurationHistoryCommandInput,
698
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListConfigurationHistoryCommandOutput) => void),
699
- cb?: (err: any, data?: ListConfigurationHistoryCommandOutput) => void
700
- ): Promise<ListConfigurationHistoryCommandOutput> | void {
701
- const command = new ListConfigurationHistoryCommand(args);
702
- if (typeof optionsOrCb === "function") {
703
- this.send(command, optionsOrCb);
704
- } else if (typeof cb === "function") {
705
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
706
- this.send(command, optionsOrCb || {}, cb);
707
- } else {
708
- return this.send(command, optionsOrCb);
709
- }
710
- }
711
-
712
- /**
713
- * <p>Lists the log patterns in the specific log <code>LogPatternSet</code>.</p>
714
- */
715
- public listLogPatterns(
716
- args: ListLogPatternsCommandInput,
717
- options?: __HttpHandlerOptions
718
- ): Promise<ListLogPatternsCommandOutput>;
719
- public listLogPatterns(
720
- args: ListLogPatternsCommandInput,
721
- cb: (err: any, data?: ListLogPatternsCommandOutput) => void
722
- ): void;
723
- public listLogPatterns(
724
- args: ListLogPatternsCommandInput,
725
- options: __HttpHandlerOptions,
726
- cb: (err: any, data?: ListLogPatternsCommandOutput) => void
727
- ): void;
728
- public listLogPatterns(
729
- args: ListLogPatternsCommandInput,
730
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListLogPatternsCommandOutput) => void),
731
- cb?: (err: any, data?: ListLogPatternsCommandOutput) => void
732
- ): Promise<ListLogPatternsCommandOutput> | void {
733
- const command = new ListLogPatternsCommand(args);
734
- if (typeof optionsOrCb === "function") {
735
- this.send(command, optionsOrCb);
736
- } else if (typeof cb === "function") {
737
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
738
- this.send(command, optionsOrCb || {}, cb);
739
- } else {
740
- return this.send(command, optionsOrCb);
741
- }
742
- }
743
-
744
- /**
745
- * <p>Lists the log pattern sets in the specific application.</p>
746
- */
747
- public listLogPatternSets(
748
- args: ListLogPatternSetsCommandInput,
749
- options?: __HttpHandlerOptions
750
- ): Promise<ListLogPatternSetsCommandOutput>;
751
- public listLogPatternSets(
752
- args: ListLogPatternSetsCommandInput,
753
- cb: (err: any, data?: ListLogPatternSetsCommandOutput) => void
754
- ): void;
755
- public listLogPatternSets(
756
- args: ListLogPatternSetsCommandInput,
757
- options: __HttpHandlerOptions,
758
- cb: (err: any, data?: ListLogPatternSetsCommandOutput) => void
759
- ): void;
760
- public listLogPatternSets(
761
- args: ListLogPatternSetsCommandInput,
762
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListLogPatternSetsCommandOutput) => void),
763
- cb?: (err: any, data?: ListLogPatternSetsCommandOutput) => void
764
- ): Promise<ListLogPatternSetsCommandOutput> | void {
765
- const command = new ListLogPatternSetsCommand(args);
766
- if (typeof optionsOrCb === "function") {
767
- this.send(command, optionsOrCb);
768
- } else if (typeof cb === "function") {
769
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
770
- this.send(command, optionsOrCb || {}, cb);
771
- } else {
772
- return this.send(command, optionsOrCb);
773
- }
774
- }
775
-
776
- /**
777
- * <p>Lists the problems with your application.</p>
778
- */
779
- public listProblems(
780
- args: ListProblemsCommandInput,
781
- options?: __HttpHandlerOptions
782
- ): Promise<ListProblemsCommandOutput>;
783
- public listProblems(args: ListProblemsCommandInput, cb: (err: any, data?: ListProblemsCommandOutput) => void): void;
784
- public listProblems(
785
- args: ListProblemsCommandInput,
786
- options: __HttpHandlerOptions,
787
- cb: (err: any, data?: ListProblemsCommandOutput) => void
788
- ): void;
789
- public listProblems(
790
- args: ListProblemsCommandInput,
791
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListProblemsCommandOutput) => void),
792
- cb?: (err: any, data?: ListProblemsCommandOutput) => void
793
- ): Promise<ListProblemsCommandOutput> | void {
794
- const command = new ListProblemsCommand(args);
795
- if (typeof optionsOrCb === "function") {
796
- this.send(command, optionsOrCb);
797
- } else if (typeof cb === "function") {
798
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
799
- this.send(command, optionsOrCb || {}, cb);
800
- } else {
801
- return this.send(command, optionsOrCb);
802
- }
803
- }
804
-
805
- /**
806
- * <p>Retrieve a list of the tags (keys and values) that are associated with a specified
807
- * application. A <i>tag</i> is a label that you optionally define and associate
808
- * with an application. Each tag consists of a required <i>tag key</i> and an
809
- * optional associated <i>tag value</i>. A tag key is a general label that
810
- * acts as a category for more specific tag values. A tag value acts as a descriptor within
811
- * a tag key.</p>
812
- */
813
- public listTagsForResource(
814
- args: ListTagsForResourceCommandInput,
815
- options?: __HttpHandlerOptions
816
- ): Promise<ListTagsForResourceCommandOutput>;
817
- public listTagsForResource(
818
- args: ListTagsForResourceCommandInput,
819
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
820
- ): void;
821
- public listTagsForResource(
822
- args: ListTagsForResourceCommandInput,
823
- options: __HttpHandlerOptions,
824
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
825
- ): void;
826
- public listTagsForResource(
827
- args: ListTagsForResourceCommandInput,
828
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
829
- cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
830
- ): Promise<ListTagsForResourceCommandOutput> | void {
831
- const command = new ListTagsForResourceCommand(args);
832
- if (typeof optionsOrCb === "function") {
833
- this.send(command, optionsOrCb);
834
- } else if (typeof cb === "function") {
835
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
836
- this.send(command, optionsOrCb || {}, cb);
837
- } else {
838
- return this.send(command, optionsOrCb);
839
- }
840
- }
841
-
842
- /**
843
- * <p>Add one or more tags (keys and values) to a specified application. A
844
- * <i>tag</i> is a label that you optionally define and associate with an
845
- * application. Tags can help you categorize and manage application in different ways, such as
846
- * by purpose, owner, environment, or other criteria. </p>
847
- * <p>Each tag consists of a required <i>tag key</i> and an
848
- * associated <i>tag value</i>, both of which you define. A tag key is a
849
- * general label that acts as a category for more specific tag values. A tag value acts as
850
- * a descriptor within a tag key.</p>
851
- */
852
- public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
853
- public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
854
- public tagResource(
855
- args: TagResourceCommandInput,
856
- options: __HttpHandlerOptions,
857
- cb: (err: any, data?: TagResourceCommandOutput) => void
858
- ): void;
859
- public tagResource(
860
- args: TagResourceCommandInput,
861
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
862
- cb?: (err: any, data?: TagResourceCommandOutput) => void
863
- ): Promise<TagResourceCommandOutput> | void {
864
- const command = new TagResourceCommand(args);
865
- if (typeof optionsOrCb === "function") {
866
- this.send(command, optionsOrCb);
867
- } else if (typeof cb === "function") {
868
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
869
- this.send(command, optionsOrCb || {}, cb);
870
- } else {
871
- return this.send(command, optionsOrCb);
872
- }
873
- }
874
-
875
- /**
876
- * <p>Remove one or more tags (keys and values) from a specified application.</p>
877
- */
878
- public untagResource(
879
- args: UntagResourceCommandInput,
880
- options?: __HttpHandlerOptions
881
- ): Promise<UntagResourceCommandOutput>;
882
- public untagResource(
883
- args: UntagResourceCommandInput,
884
- cb: (err: any, data?: UntagResourceCommandOutput) => void
885
- ): void;
886
- public untagResource(
887
- args: UntagResourceCommandInput,
888
- options: __HttpHandlerOptions,
889
- cb: (err: any, data?: UntagResourceCommandOutput) => void
890
- ): void;
891
- public untagResource(
892
- args: UntagResourceCommandInput,
893
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
894
- cb?: (err: any, data?: UntagResourceCommandOutput) => void
895
- ): Promise<UntagResourceCommandOutput> | void {
896
- const command = new UntagResourceCommand(args);
897
- if (typeof optionsOrCb === "function") {
898
- this.send(command, optionsOrCb);
899
- } else if (typeof cb === "function") {
900
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
901
- this.send(command, optionsOrCb || {}, cb);
902
- } else {
903
- return this.send(command, optionsOrCb);
904
- }
905
- }
906
-
907
- /**
908
- * <p>Updates the application.</p>
909
- */
910
- public updateApplication(
911
- args: UpdateApplicationCommandInput,
912
- options?: __HttpHandlerOptions
913
- ): Promise<UpdateApplicationCommandOutput>;
914
- public updateApplication(
915
- args: UpdateApplicationCommandInput,
916
- cb: (err: any, data?: UpdateApplicationCommandOutput) => void
917
- ): void;
918
- public updateApplication(
919
- args: UpdateApplicationCommandInput,
920
- options: __HttpHandlerOptions,
921
- cb: (err: any, data?: UpdateApplicationCommandOutput) => void
922
- ): void;
923
- public updateApplication(
924
- args: UpdateApplicationCommandInput,
925
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateApplicationCommandOutput) => void),
926
- cb?: (err: any, data?: UpdateApplicationCommandOutput) => void
927
- ): Promise<UpdateApplicationCommandOutput> | void {
928
- const command = new UpdateApplicationCommand(args);
929
- if (typeof optionsOrCb === "function") {
930
- this.send(command, optionsOrCb);
931
- } else if (typeof cb === "function") {
932
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
933
- this.send(command, optionsOrCb || {}, cb);
934
- } else {
935
- return this.send(command, optionsOrCb);
936
- }
937
- }
938
-
939
- /**
940
- * <p>Updates the custom component name and/or the list of resources that make up the
941
- * component.</p>
942
- */
943
- public updateComponent(
944
- args: UpdateComponentCommandInput,
945
- options?: __HttpHandlerOptions
946
- ): Promise<UpdateComponentCommandOutput>;
947
- public updateComponent(
948
- args: UpdateComponentCommandInput,
949
- cb: (err: any, data?: UpdateComponentCommandOutput) => void
950
- ): void;
951
- public updateComponent(
952
- args: UpdateComponentCommandInput,
953
- options: __HttpHandlerOptions,
954
- cb: (err: any, data?: UpdateComponentCommandOutput) => void
955
- ): void;
956
- public updateComponent(
957
- args: UpdateComponentCommandInput,
958
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateComponentCommandOutput) => void),
959
- cb?: (err: any, data?: UpdateComponentCommandOutput) => void
960
- ): Promise<UpdateComponentCommandOutput> | void {
961
- const command = new UpdateComponentCommand(args);
962
- if (typeof optionsOrCb === "function") {
963
- this.send(command, optionsOrCb);
964
- } else if (typeof cb === "function") {
965
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
966
- this.send(command, optionsOrCb || {}, cb);
967
- } else {
968
- return this.send(command, optionsOrCb);
969
- }
970
- }
971
-
972
- /**
973
- * <p>Updates the monitoring configurations for the component. The configuration input parameter
974
- * is an escaped JSON of the configuration and should match the schema of what is returned
975
- * by <code>DescribeComponentConfigurationRecommendation</code>. </p>
976
- */
977
- public updateComponentConfiguration(
978
- args: UpdateComponentConfigurationCommandInput,
979
- options?: __HttpHandlerOptions
980
- ): Promise<UpdateComponentConfigurationCommandOutput>;
981
- public updateComponentConfiguration(
982
- args: UpdateComponentConfigurationCommandInput,
983
- cb: (err: any, data?: UpdateComponentConfigurationCommandOutput) => void
984
- ): void;
985
- public updateComponentConfiguration(
986
- args: UpdateComponentConfigurationCommandInput,
987
- options: __HttpHandlerOptions,
988
- cb: (err: any, data?: UpdateComponentConfigurationCommandOutput) => void
989
- ): void;
990
- public updateComponentConfiguration(
991
- args: UpdateComponentConfigurationCommandInput,
992
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateComponentConfigurationCommandOutput) => void),
993
- cb?: (err: any, data?: UpdateComponentConfigurationCommandOutput) => void
994
- ): Promise<UpdateComponentConfigurationCommandOutput> | void {
995
- const command = new UpdateComponentConfigurationCommand(args);
996
- if (typeof optionsOrCb === "function") {
997
- this.send(command, optionsOrCb);
998
- } else if (typeof cb === "function") {
999
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1000
- this.send(command, optionsOrCb || {}, cb);
1001
- } else {
1002
- return this.send(command, optionsOrCb);
1003
- }
1004
- }
1005
-
1006
- /**
1007
- * <p>Adds a log pattern to a <code>LogPatternSet</code>.</p>
1008
- */
1009
- public updateLogPattern(
1010
- args: UpdateLogPatternCommandInput,
1011
- options?: __HttpHandlerOptions
1012
- ): Promise<UpdateLogPatternCommandOutput>;
1013
- public updateLogPattern(
1014
- args: UpdateLogPatternCommandInput,
1015
- cb: (err: any, data?: UpdateLogPatternCommandOutput) => void
1016
- ): void;
1017
- public updateLogPattern(
1018
- args: UpdateLogPatternCommandInput,
1019
- options: __HttpHandlerOptions,
1020
- cb: (err: any, data?: UpdateLogPatternCommandOutput) => void
1021
- ): void;
1022
- public updateLogPattern(
1023
- args: UpdateLogPatternCommandInput,
1024
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateLogPatternCommandOutput) => void),
1025
- cb?: (err: any, data?: UpdateLogPatternCommandOutput) => void
1026
- ): Promise<UpdateLogPatternCommandOutput> | void {
1027
- const command = new UpdateLogPatternCommand(args);
1028
- if (typeof optionsOrCb === "function") {
1029
- this.send(command, optionsOrCb);
1030
- } else if (typeof cb === "function") {
1031
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1032
- this.send(command, optionsOrCb || {}, cb);
1033
- } else {
1034
- return this.send(command, optionsOrCb);
1035
- }
1036
- }
1037
- }