@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,99 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import {
15
- ApplicationInsightsClientResolvedConfig,
16
- ServiceInputTypes,
17
- ServiceOutputTypes,
18
- } from "../ApplicationInsightsClient";
19
- import { ListComponentsRequest, ListComponentsResponse } from "../models/models_0";
20
- import {
21
- deserializeAws_json1_1ListComponentsCommand,
22
- serializeAws_json1_1ListComponentsCommand,
23
- } from "../protocols/Aws_json1_1";
24
-
25
- export interface ListComponentsCommandInput extends ListComponentsRequest {}
26
- export interface ListComponentsCommandOutput extends ListComponentsResponse, __MetadataBearer {}
27
-
28
- /**
29
- * <p>Lists the auto-grouped, standalone, and custom components of the application.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { ApplicationInsightsClient, ListComponentsCommand } from "@aws-sdk/client-application-insights"; // ES Modules import
34
- * // const { ApplicationInsightsClient, ListComponentsCommand } = require("@aws-sdk/client-application-insights"); // CommonJS import
35
- * const client = new ApplicationInsightsClient(config);
36
- * const command = new ListComponentsCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link ListComponentsCommandInput} for command's `input` shape.
41
- * @see {@link ListComponentsCommandOutput} for command's `response` shape.
42
- * @see {@link ApplicationInsightsClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class ListComponentsCommand extends $Command<
46
- ListComponentsCommandInput,
47
- ListComponentsCommandOutput,
48
- ApplicationInsightsClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: ListComponentsCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: ApplicationInsightsClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<ListComponentsCommandInput, ListComponentsCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "ApplicationInsightsClient";
73
- const commandName = "ListComponentsCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: ListComponentsRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: ListComponentsResponse.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: ListComponentsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_json1_1ListComponentsCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListComponentsCommandOutput> {
94
- return deserializeAws_json1_1ListComponentsCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }
@@ -1,112 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import {
15
- ApplicationInsightsClientResolvedConfig,
16
- ServiceInputTypes,
17
- ServiceOutputTypes,
18
- } from "../ApplicationInsightsClient";
19
- import { ListConfigurationHistoryRequest, ListConfigurationHistoryResponse } from "../models/models_0";
20
- import {
21
- deserializeAws_json1_1ListConfigurationHistoryCommand,
22
- serializeAws_json1_1ListConfigurationHistoryCommand,
23
- } from "../protocols/Aws_json1_1";
24
-
25
- export interface ListConfigurationHistoryCommandInput extends ListConfigurationHistoryRequest {}
26
- export interface ListConfigurationHistoryCommandOutput extends ListConfigurationHistoryResponse, __MetadataBearer {}
27
-
28
- /**
29
- * <p>
30
- * Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are:
31
- * </p>
32
- * <ul>
33
- * <li>
34
- * <p>INFO: creating a new alarm or updating an alarm threshold.</p>
35
- * </li>
36
- * <li>
37
- * <p>WARN: alarm not created due to insufficient data points used to predict thresholds.</p>
38
- * </li>
39
- * <li>
40
- * <p>ERROR: alarm not created due to permission errors or exceeding quotas. </p>
41
- * </li>
42
- * </ul>
43
- * @example
44
- * Use a bare-bones client and the command you need to make an API call.
45
- * ```javascript
46
- * import { ApplicationInsightsClient, ListConfigurationHistoryCommand } from "@aws-sdk/client-application-insights"; // ES Modules import
47
- * // const { ApplicationInsightsClient, ListConfigurationHistoryCommand } = require("@aws-sdk/client-application-insights"); // CommonJS import
48
- * const client = new ApplicationInsightsClient(config);
49
- * const command = new ListConfigurationHistoryCommand(input);
50
- * const response = await client.send(command);
51
- * ```
52
- *
53
- * @see {@link ListConfigurationHistoryCommandInput} for command's `input` shape.
54
- * @see {@link ListConfigurationHistoryCommandOutput} for command's `response` shape.
55
- * @see {@link ApplicationInsightsClientResolvedConfig | config} for command's `input` shape.
56
- *
57
- */
58
- export class ListConfigurationHistoryCommand extends $Command<
59
- ListConfigurationHistoryCommandInput,
60
- ListConfigurationHistoryCommandOutput,
61
- ApplicationInsightsClientResolvedConfig
62
- > {
63
- // Start section: command_properties
64
- // End section: command_properties
65
-
66
- constructor(readonly input: ListConfigurationHistoryCommandInput) {
67
- // Start section: command_constructor
68
- super();
69
- // End section: command_constructor
70
- }
71
-
72
- /**
73
- * @internal
74
- */
75
- resolveMiddleware(
76
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
77
- configuration: ApplicationInsightsClientResolvedConfig,
78
- options?: __HttpHandlerOptions
79
- ): Handler<ListConfigurationHistoryCommandInput, ListConfigurationHistoryCommandOutput> {
80
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
81
-
82
- const stack = clientStack.concat(this.middlewareStack);
83
-
84
- const { logger } = configuration;
85
- const clientName = "ApplicationInsightsClient";
86
- const commandName = "ListConfigurationHistoryCommand";
87
- const handlerExecutionContext: HandlerExecutionContext = {
88
- logger,
89
- clientName,
90
- commandName,
91
- inputFilterSensitiveLog: ListConfigurationHistoryRequest.filterSensitiveLog,
92
- outputFilterSensitiveLog: ListConfigurationHistoryResponse.filterSensitiveLog,
93
- };
94
- const { requestHandler } = configuration;
95
- return stack.resolve(
96
- (request: FinalizeHandlerArguments<any>) =>
97
- requestHandler.handle(request.request as __HttpRequest, options || {}),
98
- handlerExecutionContext
99
- );
100
- }
101
-
102
- private serialize(input: ListConfigurationHistoryCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
103
- return serializeAws_json1_1ListConfigurationHistoryCommand(input, context);
104
- }
105
-
106
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListConfigurationHistoryCommandOutput> {
107
- return deserializeAws_json1_1ListConfigurationHistoryCommand(output, context);
108
- }
109
-
110
- // Start section: command_body_extra
111
- // End section: command_body_extra
112
- }
@@ -1,99 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import {
15
- ApplicationInsightsClientResolvedConfig,
16
- ServiceInputTypes,
17
- ServiceOutputTypes,
18
- } from "../ApplicationInsightsClient";
19
- import { ListLogPatternSetsRequest, ListLogPatternSetsResponse } from "../models/models_0";
20
- import {
21
- deserializeAws_json1_1ListLogPatternSetsCommand,
22
- serializeAws_json1_1ListLogPatternSetsCommand,
23
- } from "../protocols/Aws_json1_1";
24
-
25
- export interface ListLogPatternSetsCommandInput extends ListLogPatternSetsRequest {}
26
- export interface ListLogPatternSetsCommandOutput extends ListLogPatternSetsResponse, __MetadataBearer {}
27
-
28
- /**
29
- * <p>Lists the log pattern sets in the specific application.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { ApplicationInsightsClient, ListLogPatternSetsCommand } from "@aws-sdk/client-application-insights"; // ES Modules import
34
- * // const { ApplicationInsightsClient, ListLogPatternSetsCommand } = require("@aws-sdk/client-application-insights"); // CommonJS import
35
- * const client = new ApplicationInsightsClient(config);
36
- * const command = new ListLogPatternSetsCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link ListLogPatternSetsCommandInput} for command's `input` shape.
41
- * @see {@link ListLogPatternSetsCommandOutput} for command's `response` shape.
42
- * @see {@link ApplicationInsightsClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class ListLogPatternSetsCommand extends $Command<
46
- ListLogPatternSetsCommandInput,
47
- ListLogPatternSetsCommandOutput,
48
- ApplicationInsightsClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: ListLogPatternSetsCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: ApplicationInsightsClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<ListLogPatternSetsCommandInput, ListLogPatternSetsCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "ApplicationInsightsClient";
73
- const commandName = "ListLogPatternSetsCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: ListLogPatternSetsRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: ListLogPatternSetsResponse.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: ListLogPatternSetsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_json1_1ListLogPatternSetsCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListLogPatternSetsCommandOutput> {
94
- return deserializeAws_json1_1ListLogPatternSetsCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }
@@ -1,99 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import {
15
- ApplicationInsightsClientResolvedConfig,
16
- ServiceInputTypes,
17
- ServiceOutputTypes,
18
- } from "../ApplicationInsightsClient";
19
- import { ListLogPatternsRequest, ListLogPatternsResponse } from "../models/models_0";
20
- import {
21
- deserializeAws_json1_1ListLogPatternsCommand,
22
- serializeAws_json1_1ListLogPatternsCommand,
23
- } from "../protocols/Aws_json1_1";
24
-
25
- export interface ListLogPatternsCommandInput extends ListLogPatternsRequest {}
26
- export interface ListLogPatternsCommandOutput extends ListLogPatternsResponse, __MetadataBearer {}
27
-
28
- /**
29
- * <p>Lists the log patterns in the specific log <code>LogPatternSet</code>.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { ApplicationInsightsClient, ListLogPatternsCommand } from "@aws-sdk/client-application-insights"; // ES Modules import
34
- * // const { ApplicationInsightsClient, ListLogPatternsCommand } = require("@aws-sdk/client-application-insights"); // CommonJS import
35
- * const client = new ApplicationInsightsClient(config);
36
- * const command = new ListLogPatternsCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link ListLogPatternsCommandInput} for command's `input` shape.
41
- * @see {@link ListLogPatternsCommandOutput} for command's `response` shape.
42
- * @see {@link ApplicationInsightsClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class ListLogPatternsCommand extends $Command<
46
- ListLogPatternsCommandInput,
47
- ListLogPatternsCommandOutput,
48
- ApplicationInsightsClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: ListLogPatternsCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: ApplicationInsightsClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<ListLogPatternsCommandInput, ListLogPatternsCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "ApplicationInsightsClient";
73
- const commandName = "ListLogPatternsCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: ListLogPatternsRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: ListLogPatternsResponse.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: ListLogPatternsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_json1_1ListLogPatternsCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListLogPatternsCommandOutput> {
94
- return deserializeAws_json1_1ListLogPatternsCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }
@@ -1,99 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import {
15
- ApplicationInsightsClientResolvedConfig,
16
- ServiceInputTypes,
17
- ServiceOutputTypes,
18
- } from "../ApplicationInsightsClient";
19
- import { ListProblemsRequest, ListProblemsResponse } from "../models/models_0";
20
- import {
21
- deserializeAws_json1_1ListProblemsCommand,
22
- serializeAws_json1_1ListProblemsCommand,
23
- } from "../protocols/Aws_json1_1";
24
-
25
- export interface ListProblemsCommandInput extends ListProblemsRequest {}
26
- export interface ListProblemsCommandOutput extends ListProblemsResponse, __MetadataBearer {}
27
-
28
- /**
29
- * <p>Lists the problems with your application.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { ApplicationInsightsClient, ListProblemsCommand } from "@aws-sdk/client-application-insights"; // ES Modules import
34
- * // const { ApplicationInsightsClient, ListProblemsCommand } = require("@aws-sdk/client-application-insights"); // CommonJS import
35
- * const client = new ApplicationInsightsClient(config);
36
- * const command = new ListProblemsCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link ListProblemsCommandInput} for command's `input` shape.
41
- * @see {@link ListProblemsCommandOutput} for command's `response` shape.
42
- * @see {@link ApplicationInsightsClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class ListProblemsCommand extends $Command<
46
- ListProblemsCommandInput,
47
- ListProblemsCommandOutput,
48
- ApplicationInsightsClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: ListProblemsCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: ApplicationInsightsClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<ListProblemsCommandInput, ListProblemsCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "ApplicationInsightsClient";
73
- const commandName = "ListProblemsCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: ListProblemsRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: ListProblemsResponse.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: ListProblemsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_json1_1ListProblemsCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListProblemsCommandOutput> {
94
- return deserializeAws_json1_1ListProblemsCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }
@@ -1,104 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import {
15
- ApplicationInsightsClientResolvedConfig,
16
- ServiceInputTypes,
17
- ServiceOutputTypes,
18
- } from "../ApplicationInsightsClient";
19
- import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
20
- import {
21
- deserializeAws_json1_1ListTagsForResourceCommand,
22
- serializeAws_json1_1ListTagsForResourceCommand,
23
- } from "../protocols/Aws_json1_1";
24
-
25
- export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
26
- export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
27
-
28
- /**
29
- * <p>Retrieve a list of the tags (keys and values) that are associated with a specified
30
- * application. A <i>tag</i> is a label that you optionally define and associate
31
- * with an application. Each tag consists of a required <i>tag key</i> and an
32
- * optional associated <i>tag value</i>. A tag key is a general label that
33
- * acts as a category for more specific tag values. A tag value acts as a descriptor within
34
- * a tag key.</p>
35
- * @example
36
- * Use a bare-bones client and the command you need to make an API call.
37
- * ```javascript
38
- * import { ApplicationInsightsClient, ListTagsForResourceCommand } from "@aws-sdk/client-application-insights"; // ES Modules import
39
- * // const { ApplicationInsightsClient, ListTagsForResourceCommand } = require("@aws-sdk/client-application-insights"); // CommonJS import
40
- * const client = new ApplicationInsightsClient(config);
41
- * const command = new ListTagsForResourceCommand(input);
42
- * const response = await client.send(command);
43
- * ```
44
- *
45
- * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
46
- * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
47
- * @see {@link ApplicationInsightsClientResolvedConfig | config} for command's `input` shape.
48
- *
49
- */
50
- export class ListTagsForResourceCommand extends $Command<
51
- ListTagsForResourceCommandInput,
52
- ListTagsForResourceCommandOutput,
53
- ApplicationInsightsClientResolvedConfig
54
- > {
55
- // Start section: command_properties
56
- // End section: command_properties
57
-
58
- constructor(readonly input: ListTagsForResourceCommandInput) {
59
- // Start section: command_constructor
60
- super();
61
- // End section: command_constructor
62
- }
63
-
64
- /**
65
- * @internal
66
- */
67
- resolveMiddleware(
68
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
69
- configuration: ApplicationInsightsClientResolvedConfig,
70
- options?: __HttpHandlerOptions
71
- ): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
72
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
73
-
74
- const stack = clientStack.concat(this.middlewareStack);
75
-
76
- const { logger } = configuration;
77
- const clientName = "ApplicationInsightsClient";
78
- const commandName = "ListTagsForResourceCommand";
79
- const handlerExecutionContext: HandlerExecutionContext = {
80
- logger,
81
- clientName,
82
- commandName,
83
- inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
84
- outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog,
85
- };
86
- const { requestHandler } = configuration;
87
- return stack.resolve(
88
- (request: FinalizeHandlerArguments<any>) =>
89
- requestHandler.handle(request.request as __HttpRequest, options || {}),
90
- handlerExecutionContext
91
- );
92
- }
93
-
94
- private serialize(input: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
95
- return serializeAws_json1_1ListTagsForResourceCommand(input, context);
96
- }
97
-
98
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
99
- return deserializeAws_json1_1ListTagsForResourceCommand(output, context);
100
- }
101
-
102
- // Start section: command_body_extra
103
- // End section: command_body_extra
104
- }