@aws-sdk/client-application-insights 3.378.0 → 3.380.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 (74) hide show
  1. package/README.md +55 -7
  2. package/dist-cjs/ApplicationInsights.js +12 -0
  3. package/dist-cjs/commands/AddWorkloadCommand.js +46 -0
  4. package/dist-cjs/commands/DescribeWorkloadCommand.js +46 -0
  5. package/dist-cjs/commands/ListWorkloadsCommand.js +46 -0
  6. package/dist-cjs/commands/RemoveWorkloadCommand.js +46 -0
  7. package/dist-cjs/commands/UpdateProblemCommand.js +46 -0
  8. package/dist-cjs/commands/UpdateWorkloadCommand.js +46 -0
  9. package/dist-cjs/commands/index.js +6 -0
  10. package/dist-cjs/endpoint/ruleset.js +3 -3
  11. package/dist-cjs/models/models_0.js +118 -31
  12. package/dist-cjs/pagination/ListWorkloadsPaginator.js +29 -0
  13. package/dist-cjs/pagination/index.js +1 -0
  14. package/dist-cjs/protocols/Aws_json1_1.js +290 -2
  15. package/dist-es/ApplicationInsights.js +12 -0
  16. package/dist-es/commands/AddWorkloadCommand.js +42 -0
  17. package/dist-es/commands/DescribeWorkloadCommand.js +42 -0
  18. package/dist-es/commands/ListWorkloadsCommand.js +42 -0
  19. package/dist-es/commands/RemoveWorkloadCommand.js +42 -0
  20. package/dist-es/commands/UpdateProblemCommand.js +42 -0
  21. package/dist-es/commands/UpdateWorkloadCommand.js +42 -0
  22. package/dist-es/commands/index.js +6 -0
  23. package/dist-es/endpoint/ruleset.js +3 -3
  24. package/dist-es/models/models_0.js +114 -27
  25. package/dist-es/pagination/ListWorkloadsPaginator.js +25 -0
  26. package/dist-es/pagination/index.js +1 -0
  27. package/dist-es/protocols/Aws_json1_1.js +276 -0
  28. package/dist-types/ApplicationInsights.d.ts +42 -0
  29. package/dist-types/ApplicationInsightsClient.d.ts +8 -2
  30. package/dist-types/commands/AddWorkloadCommand.d.ts +96 -0
  31. package/dist-types/commands/CreateApplicationCommand.d.ts +3 -2
  32. package/dist-types/commands/DescribeApplicationCommand.d.ts +3 -1
  33. package/dist-types/commands/DescribeComponentCommand.d.ts +3 -2
  34. package/dist-types/commands/DescribeComponentConfigurationCommand.d.ts +2 -1
  35. package/dist-types/commands/DescribeComponentConfigurationRecommendationCommand.d.ts +2 -1
  36. package/dist-types/commands/DescribeLogPatternCommand.d.ts +2 -0
  37. package/dist-types/commands/DescribeObservationCommand.d.ts +3 -2
  38. package/dist-types/commands/DescribeProblemCommand.d.ts +7 -3
  39. package/dist-types/commands/DescribeProblemObservationsCommand.d.ts +3 -2
  40. package/dist-types/commands/DescribeWorkloadCommand.d.ts +91 -0
  41. package/dist-types/commands/ListApplicationsCommand.d.ts +3 -1
  42. package/dist-types/commands/ListComponentsCommand.d.ts +3 -2
  43. package/dist-types/commands/ListConfigurationHistoryCommand.d.ts +6 -3
  44. package/dist-types/commands/ListLogPatternSetsCommand.d.ts +2 -0
  45. package/dist-types/commands/ListLogPatternsCommand.d.ts +2 -0
  46. package/dist-types/commands/ListProblemsCommand.d.ts +9 -3
  47. package/dist-types/commands/ListWorkloadsCommand.d.ts +95 -0
  48. package/dist-types/commands/RemoveWorkloadCommand.d.ts +82 -0
  49. package/dist-types/commands/UpdateApplicationCommand.d.ts +2 -1
  50. package/dist-types/commands/UpdateComponentConfigurationCommand.d.ts +1 -1
  51. package/dist-types/commands/UpdateProblemCommand.d.ts +83 -0
  52. package/dist-types/commands/UpdateWorkloadCommand.d.ts +94 -0
  53. package/dist-types/commands/index.d.ts +6 -0
  54. package/dist-types/endpoint/EndpointParameters.d.ts +3 -0
  55. package/dist-types/index.d.ts +1 -0
  56. package/dist-types/models/models_0.d.ts +560 -67
  57. package/dist-types/pagination/ListWorkloadsPaginator.d.ts +7 -0
  58. package/dist-types/pagination/index.d.ts +1 -0
  59. package/dist-types/protocols/Aws_json1_1.d.ts +54 -0
  60. package/dist-types/ts3.4/ApplicationInsights.d.ts +102 -0
  61. package/dist-types/ts3.4/ApplicationInsightsClient.d.ts +38 -2
  62. package/dist-types/ts3.4/commands/AddWorkloadCommand.d.ts +35 -0
  63. package/dist-types/ts3.4/commands/DescribeWorkloadCommand.d.ts +38 -0
  64. package/dist-types/ts3.4/commands/ListWorkloadsCommand.d.ts +38 -0
  65. package/dist-types/ts3.4/commands/RemoveWorkloadCommand.d.ts +38 -0
  66. package/dist-types/ts3.4/commands/UpdateProblemCommand.d.ts +38 -0
  67. package/dist-types/ts3.4/commands/UpdateWorkloadCommand.d.ts +38 -0
  68. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  69. package/dist-types/ts3.4/index.d.ts +1 -0
  70. package/dist-types/ts3.4/models/models_0.d.ts +227 -63
  71. package/dist-types/ts3.4/pagination/ListWorkloadsPaginator.d.ts +11 -0
  72. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  73. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +72 -0
  74. package/package.json +6 -6
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListWorkloadsCommandInput, ListWorkloadsCommandOutput } from "../commands/ListWorkloadsCommand";
3
+ import { ApplicationInsightsPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListWorkloads(config: ApplicationInsightsPaginationConfiguration, input: ListWorkloadsCommandInput, ...additionalArguments: any): Paginator<ListWorkloadsCommandOutput>;
@@ -5,3 +5,4 @@ export * from "./ListConfigurationHistoryPaginator";
5
5
  export * from "./ListLogPatternSetsPaginator";
6
6
  export * from "./ListLogPatternsPaginator";
7
7
  export * from "./ListProblemsPaginator";
8
+ export * from "./ListWorkloadsPaginator";
@@ -1,5 +1,6 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
+ import { AddWorkloadCommandInput, AddWorkloadCommandOutput } from "../commands/AddWorkloadCommand";
3
4
  import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "../commands/CreateApplicationCommand";
4
5
  import { CreateComponentCommandInput, CreateComponentCommandOutput } from "../commands/CreateComponentCommand";
5
6
  import { CreateLogPatternCommandInput, CreateLogPatternCommandOutput } from "../commands/CreateLogPatternCommand";
@@ -14,6 +15,7 @@ import { DescribeLogPatternCommandInput, DescribeLogPatternCommandOutput } from
14
15
  import { DescribeObservationCommandInput, DescribeObservationCommandOutput } from "../commands/DescribeObservationCommand";
15
16
  import { DescribeProblemCommandInput, DescribeProblemCommandOutput } from "../commands/DescribeProblemCommand";
16
17
  import { DescribeProblemObservationsCommandInput, DescribeProblemObservationsCommandOutput } from "../commands/DescribeProblemObservationsCommand";
18
+ import { DescribeWorkloadCommandInput, DescribeWorkloadCommandOutput } from "../commands/DescribeWorkloadCommand";
17
19
  import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "../commands/ListApplicationsCommand";
18
20
  import { ListComponentsCommandInput, ListComponentsCommandOutput } from "../commands/ListComponentsCommand";
19
21
  import { ListConfigurationHistoryCommandInput, ListConfigurationHistoryCommandOutput } from "../commands/ListConfigurationHistoryCommand";
@@ -21,12 +23,20 @@ import { ListLogPatternsCommandInput, ListLogPatternsCommandOutput } from "../co
21
23
  import { ListLogPatternSetsCommandInput, ListLogPatternSetsCommandOutput } from "../commands/ListLogPatternSetsCommand";
22
24
  import { ListProblemsCommandInput, ListProblemsCommandOutput } from "../commands/ListProblemsCommand";
23
25
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
26
+ import { ListWorkloadsCommandInput, ListWorkloadsCommandOutput } from "../commands/ListWorkloadsCommand";
27
+ import { RemoveWorkloadCommandInput, RemoveWorkloadCommandOutput } from "../commands/RemoveWorkloadCommand";
24
28
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
25
29
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
26
30
  import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "../commands/UpdateApplicationCommand";
27
31
  import { UpdateComponentCommandInput, UpdateComponentCommandOutput } from "../commands/UpdateComponentCommand";
28
32
  import { UpdateComponentConfigurationCommandInput, UpdateComponentConfigurationCommandOutput } from "../commands/UpdateComponentConfigurationCommand";
29
33
  import { UpdateLogPatternCommandInput, UpdateLogPatternCommandOutput } from "../commands/UpdateLogPatternCommand";
34
+ import { UpdateProblemCommandInput, UpdateProblemCommandOutput } from "../commands/UpdateProblemCommand";
35
+ import { UpdateWorkloadCommandInput, UpdateWorkloadCommandOutput } from "../commands/UpdateWorkloadCommand";
36
+ /**
37
+ * serializeAws_json1_1AddWorkloadCommand
38
+ */
39
+ export declare const se_AddWorkloadCommand: (input: AddWorkloadCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
30
40
  /**
31
41
  * serializeAws_json1_1CreateApplicationCommand
32
42
  */
@@ -83,6 +93,10 @@ export declare const se_DescribeProblemCommand: (input: DescribeProblemCommandIn
83
93
  * serializeAws_json1_1DescribeProblemObservationsCommand
84
94
  */
85
95
  export declare const se_DescribeProblemObservationsCommand: (input: DescribeProblemObservationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
96
+ /**
97
+ * serializeAws_json1_1DescribeWorkloadCommand
98
+ */
99
+ export declare const se_DescribeWorkloadCommand: (input: DescribeWorkloadCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
86
100
  /**
87
101
  * serializeAws_json1_1ListApplicationsCommand
88
102
  */
@@ -111,6 +125,14 @@ export declare const se_ListProblemsCommand: (input: ListProblemsCommandInput, c
111
125
  * serializeAws_json1_1ListTagsForResourceCommand
112
126
  */
113
127
  export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
128
+ /**
129
+ * serializeAws_json1_1ListWorkloadsCommand
130
+ */
131
+ export declare const se_ListWorkloadsCommand: (input: ListWorkloadsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
132
+ /**
133
+ * serializeAws_json1_1RemoveWorkloadCommand
134
+ */
135
+ export declare const se_RemoveWorkloadCommand: (input: RemoveWorkloadCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
114
136
  /**
115
137
  * serializeAws_json1_1TagResourceCommand
116
138
  */
@@ -135,6 +157,18 @@ export declare const se_UpdateComponentConfigurationCommand: (input: UpdateCompo
135
157
  * serializeAws_json1_1UpdateLogPatternCommand
136
158
  */
137
159
  export declare const se_UpdateLogPatternCommand: (input: UpdateLogPatternCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
160
+ /**
161
+ * serializeAws_json1_1UpdateProblemCommand
162
+ */
163
+ export declare const se_UpdateProblemCommand: (input: UpdateProblemCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
164
+ /**
165
+ * serializeAws_json1_1UpdateWorkloadCommand
166
+ */
167
+ export declare const se_UpdateWorkloadCommand: (input: UpdateWorkloadCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
168
+ /**
169
+ * deserializeAws_json1_1AddWorkloadCommand
170
+ */
171
+ export declare const de_AddWorkloadCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AddWorkloadCommandOutput>;
138
172
  /**
139
173
  * deserializeAws_json1_1CreateApplicationCommand
140
174
  */
@@ -191,6 +225,10 @@ export declare const de_DescribeProblemCommand: (output: __HttpResponse, context
191
225
  * deserializeAws_json1_1DescribeProblemObservationsCommand
192
226
  */
193
227
  export declare const de_DescribeProblemObservationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeProblemObservationsCommandOutput>;
228
+ /**
229
+ * deserializeAws_json1_1DescribeWorkloadCommand
230
+ */
231
+ export declare const de_DescribeWorkloadCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeWorkloadCommandOutput>;
194
232
  /**
195
233
  * deserializeAws_json1_1ListApplicationsCommand
196
234
  */
@@ -219,6 +257,14 @@ export declare const de_ListProblemsCommand: (output: __HttpResponse, context: _
219
257
  * deserializeAws_json1_1ListTagsForResourceCommand
220
258
  */
221
259
  export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
260
+ /**
261
+ * deserializeAws_json1_1ListWorkloadsCommand
262
+ */
263
+ export declare const de_ListWorkloadsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListWorkloadsCommandOutput>;
264
+ /**
265
+ * deserializeAws_json1_1RemoveWorkloadCommand
266
+ */
267
+ export declare const de_RemoveWorkloadCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RemoveWorkloadCommandOutput>;
222
268
  /**
223
269
  * deserializeAws_json1_1TagResourceCommand
224
270
  */
@@ -243,3 +289,11 @@ export declare const de_UpdateComponentConfigurationCommand: (output: __HttpResp
243
289
  * deserializeAws_json1_1UpdateLogPatternCommand
244
290
  */
245
291
  export declare const de_UpdateLogPatternCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateLogPatternCommandOutput>;
292
+ /**
293
+ * deserializeAws_json1_1UpdateProblemCommand
294
+ */
295
+ export declare const de_UpdateProblemCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateProblemCommandOutput>;
296
+ /**
297
+ * deserializeAws_json1_1UpdateWorkloadCommand
298
+ */
299
+ export declare const de_UpdateWorkloadCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateWorkloadCommandOutput>;
@@ -1,5 +1,9 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { ApplicationInsightsClient } from "./ApplicationInsightsClient";
3
+ import {
4
+ AddWorkloadCommandInput,
5
+ AddWorkloadCommandOutput,
6
+ } from "./commands/AddWorkloadCommand";
3
7
  import {
4
8
  CreateApplicationCommandInput,
5
9
  CreateApplicationCommandOutput,
@@ -56,6 +60,10 @@ import {
56
60
  DescribeProblemObservationsCommandInput,
57
61
  DescribeProblemObservationsCommandOutput,
58
62
  } from "./commands/DescribeProblemObservationsCommand";
63
+ import {
64
+ DescribeWorkloadCommandInput,
65
+ DescribeWorkloadCommandOutput,
66
+ } from "./commands/DescribeWorkloadCommand";
59
67
  import {
60
68
  ListApplicationsCommandInput,
61
69
  ListApplicationsCommandOutput,
@@ -84,6 +92,14 @@ import {
84
92
  ListTagsForResourceCommandInput,
85
93
  ListTagsForResourceCommandOutput,
86
94
  } from "./commands/ListTagsForResourceCommand";
95
+ import {
96
+ ListWorkloadsCommandInput,
97
+ ListWorkloadsCommandOutput,
98
+ } from "./commands/ListWorkloadsCommand";
99
+ import {
100
+ RemoveWorkloadCommandInput,
101
+ RemoveWorkloadCommandOutput,
102
+ } from "./commands/RemoveWorkloadCommand";
87
103
  import {
88
104
  TagResourceCommandInput,
89
105
  TagResourceCommandOutput,
@@ -108,7 +124,28 @@ import {
108
124
  UpdateLogPatternCommandInput,
109
125
  UpdateLogPatternCommandOutput,
110
126
  } from "./commands/UpdateLogPatternCommand";
127
+ import {
128
+ UpdateProblemCommandInput,
129
+ UpdateProblemCommandOutput,
130
+ } from "./commands/UpdateProblemCommand";
131
+ import {
132
+ UpdateWorkloadCommandInput,
133
+ UpdateWorkloadCommandOutput,
134
+ } from "./commands/UpdateWorkloadCommand";
111
135
  export interface ApplicationInsights {
136
+ addWorkload(
137
+ args: AddWorkloadCommandInput,
138
+ options?: __HttpHandlerOptions
139
+ ): Promise<AddWorkloadCommandOutput>;
140
+ addWorkload(
141
+ args: AddWorkloadCommandInput,
142
+ cb: (err: any, data?: AddWorkloadCommandOutput) => void
143
+ ): void;
144
+ addWorkload(
145
+ args: AddWorkloadCommandInput,
146
+ options: __HttpHandlerOptions,
147
+ cb: (err: any, data?: AddWorkloadCommandOutput) => void
148
+ ): void;
112
149
  createApplication(
113
150
  args: CreateApplicationCommandInput,
114
151
  options?: __HttpHandlerOptions
@@ -297,6 +334,19 @@ export interface ApplicationInsights {
297
334
  options: __HttpHandlerOptions,
298
335
  cb: (err: any, data?: DescribeProblemObservationsCommandOutput) => void
299
336
  ): void;
337
+ describeWorkload(
338
+ args: DescribeWorkloadCommandInput,
339
+ options?: __HttpHandlerOptions
340
+ ): Promise<DescribeWorkloadCommandOutput>;
341
+ describeWorkload(
342
+ args: DescribeWorkloadCommandInput,
343
+ cb: (err: any, data?: DescribeWorkloadCommandOutput) => void
344
+ ): void;
345
+ describeWorkload(
346
+ args: DescribeWorkloadCommandInput,
347
+ options: __HttpHandlerOptions,
348
+ cb: (err: any, data?: DescribeWorkloadCommandOutput) => void
349
+ ): void;
300
350
  listApplications(
301
351
  args: ListApplicationsCommandInput,
302
352
  options?: __HttpHandlerOptions
@@ -388,6 +438,32 @@ export interface ApplicationInsights {
388
438
  options: __HttpHandlerOptions,
389
439
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
390
440
  ): void;
441
+ listWorkloads(
442
+ args: ListWorkloadsCommandInput,
443
+ options?: __HttpHandlerOptions
444
+ ): Promise<ListWorkloadsCommandOutput>;
445
+ listWorkloads(
446
+ args: ListWorkloadsCommandInput,
447
+ cb: (err: any, data?: ListWorkloadsCommandOutput) => void
448
+ ): void;
449
+ listWorkloads(
450
+ args: ListWorkloadsCommandInput,
451
+ options: __HttpHandlerOptions,
452
+ cb: (err: any, data?: ListWorkloadsCommandOutput) => void
453
+ ): void;
454
+ removeWorkload(
455
+ args: RemoveWorkloadCommandInput,
456
+ options?: __HttpHandlerOptions
457
+ ): Promise<RemoveWorkloadCommandOutput>;
458
+ removeWorkload(
459
+ args: RemoveWorkloadCommandInput,
460
+ cb: (err: any, data?: RemoveWorkloadCommandOutput) => void
461
+ ): void;
462
+ removeWorkload(
463
+ args: RemoveWorkloadCommandInput,
464
+ options: __HttpHandlerOptions,
465
+ cb: (err: any, data?: RemoveWorkloadCommandOutput) => void
466
+ ): void;
391
467
  tagResource(
392
468
  args: TagResourceCommandInput,
393
469
  options?: __HttpHandlerOptions
@@ -466,6 +542,32 @@ export interface ApplicationInsights {
466
542
  options: __HttpHandlerOptions,
467
543
  cb: (err: any, data?: UpdateLogPatternCommandOutput) => void
468
544
  ): void;
545
+ updateProblem(
546
+ args: UpdateProblemCommandInput,
547
+ options?: __HttpHandlerOptions
548
+ ): Promise<UpdateProblemCommandOutput>;
549
+ updateProblem(
550
+ args: UpdateProblemCommandInput,
551
+ cb: (err: any, data?: UpdateProblemCommandOutput) => void
552
+ ): void;
553
+ updateProblem(
554
+ args: UpdateProblemCommandInput,
555
+ options: __HttpHandlerOptions,
556
+ cb: (err: any, data?: UpdateProblemCommandOutput) => void
557
+ ): void;
558
+ updateWorkload(
559
+ args: UpdateWorkloadCommandInput,
560
+ options?: __HttpHandlerOptions
561
+ ): Promise<UpdateWorkloadCommandOutput>;
562
+ updateWorkload(
563
+ args: UpdateWorkloadCommandInput,
564
+ cb: (err: any, data?: UpdateWorkloadCommandOutput) => void
565
+ ): void;
566
+ updateWorkload(
567
+ args: UpdateWorkloadCommandInput,
568
+ options: __HttpHandlerOptions,
569
+ cb: (err: any, data?: UpdateWorkloadCommandOutput) => void
570
+ ): void;
469
571
  }
470
572
  export declare class ApplicationInsights
471
573
  extends ApplicationInsightsClient
@@ -44,6 +44,10 @@ import {
44
44
  UrlParser as __UrlParser,
45
45
  UserAgent as __UserAgent,
46
46
  } from "@smithy/types";
47
+ import {
48
+ AddWorkloadCommandInput,
49
+ AddWorkloadCommandOutput,
50
+ } from "./commands/AddWorkloadCommand";
47
51
  import {
48
52
  CreateApplicationCommandInput,
49
53
  CreateApplicationCommandOutput,
@@ -100,6 +104,10 @@ import {
100
104
  DescribeProblemObservationsCommandInput,
101
105
  DescribeProblemObservationsCommandOutput,
102
106
  } from "./commands/DescribeProblemObservationsCommand";
107
+ import {
108
+ DescribeWorkloadCommandInput,
109
+ DescribeWorkloadCommandOutput,
110
+ } from "./commands/DescribeWorkloadCommand";
103
111
  import {
104
112
  ListApplicationsCommandInput,
105
113
  ListApplicationsCommandOutput,
@@ -128,6 +136,14 @@ import {
128
136
  ListTagsForResourceCommandInput,
129
137
  ListTagsForResourceCommandOutput,
130
138
  } from "./commands/ListTagsForResourceCommand";
139
+ import {
140
+ ListWorkloadsCommandInput,
141
+ ListWorkloadsCommandOutput,
142
+ } from "./commands/ListWorkloadsCommand";
143
+ import {
144
+ RemoveWorkloadCommandInput,
145
+ RemoveWorkloadCommandOutput,
146
+ } from "./commands/RemoveWorkloadCommand";
131
147
  import {
132
148
  TagResourceCommandInput,
133
149
  TagResourceCommandOutput,
@@ -152,6 +168,14 @@ import {
152
168
  UpdateLogPatternCommandInput,
153
169
  UpdateLogPatternCommandOutput,
154
170
  } from "./commands/UpdateLogPatternCommand";
171
+ import {
172
+ UpdateProblemCommandInput,
173
+ UpdateProblemCommandOutput,
174
+ } from "./commands/UpdateProblemCommand";
175
+ import {
176
+ UpdateWorkloadCommandInput,
177
+ UpdateWorkloadCommandOutput,
178
+ } from "./commands/UpdateWorkloadCommand";
155
179
  import {
156
180
  ClientInputEndpointParameters,
157
181
  ClientResolvedEndpointParameters,
@@ -159,6 +183,7 @@ import {
159
183
  } from "./endpoint/EndpointParameters";
160
184
  export { __Client };
161
185
  export type ServiceInputTypes =
186
+ | AddWorkloadCommandInput
162
187
  | CreateApplicationCommandInput
163
188
  | CreateComponentCommandInput
164
189
  | CreateLogPatternCommandInput
@@ -173,6 +198,7 @@ export type ServiceInputTypes =
173
198
  | DescribeObservationCommandInput
174
199
  | DescribeProblemCommandInput
175
200
  | DescribeProblemObservationsCommandInput
201
+ | DescribeWorkloadCommandInput
176
202
  | ListApplicationsCommandInput
177
203
  | ListComponentsCommandInput
178
204
  | ListConfigurationHistoryCommandInput
@@ -180,13 +206,18 @@ export type ServiceInputTypes =
180
206
  | ListLogPatternsCommandInput
181
207
  | ListProblemsCommandInput
182
208
  | ListTagsForResourceCommandInput
209
+ | ListWorkloadsCommandInput
210
+ | RemoveWorkloadCommandInput
183
211
  | TagResourceCommandInput
184
212
  | UntagResourceCommandInput
185
213
  | UpdateApplicationCommandInput
186
214
  | UpdateComponentCommandInput
187
215
  | UpdateComponentConfigurationCommandInput
188
- | UpdateLogPatternCommandInput;
216
+ | UpdateLogPatternCommandInput
217
+ | UpdateProblemCommandInput
218
+ | UpdateWorkloadCommandInput;
189
219
  export type ServiceOutputTypes =
220
+ | AddWorkloadCommandOutput
190
221
  | CreateApplicationCommandOutput
191
222
  | CreateComponentCommandOutput
192
223
  | CreateLogPatternCommandOutput
@@ -201,6 +232,7 @@ export type ServiceOutputTypes =
201
232
  | DescribeObservationCommandOutput
202
233
  | DescribeProblemCommandOutput
203
234
  | DescribeProblemObservationsCommandOutput
235
+ | DescribeWorkloadCommandOutput
204
236
  | ListApplicationsCommandOutput
205
237
  | ListComponentsCommandOutput
206
238
  | ListConfigurationHistoryCommandOutput
@@ -208,12 +240,16 @@ export type ServiceOutputTypes =
208
240
  | ListLogPatternsCommandOutput
209
241
  | ListProblemsCommandOutput
210
242
  | ListTagsForResourceCommandOutput
243
+ | ListWorkloadsCommandOutput
244
+ | RemoveWorkloadCommandOutput
211
245
  | TagResourceCommandOutput
212
246
  | UntagResourceCommandOutput
213
247
  | UpdateApplicationCommandOutput
214
248
  | UpdateComponentCommandOutput
215
249
  | UpdateComponentConfigurationCommandOutput
216
- | UpdateLogPatternCommandOutput;
250
+ | UpdateLogPatternCommandOutput
251
+ | UpdateProblemCommandOutput
252
+ | UpdateWorkloadCommandOutput;
217
253
  export interface ClientDefaults
218
254
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
219
255
  requestHandler?: __HttpHandler;
@@ -0,0 +1,35 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ ApplicationInsightsClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../ApplicationInsightsClient";
14
+ import { AddWorkloadRequest, AddWorkloadResponse } from "../models/models_0";
15
+ export { __MetadataBearer, $Command };
16
+ export interface AddWorkloadCommandInput extends AddWorkloadRequest {}
17
+ export interface AddWorkloadCommandOutput
18
+ extends AddWorkloadResponse,
19
+ __MetadataBearer {}
20
+ export declare class AddWorkloadCommand extends $Command<
21
+ AddWorkloadCommandInput,
22
+ AddWorkloadCommandOutput,
23
+ ApplicationInsightsClientResolvedConfig
24
+ > {
25
+ readonly input: AddWorkloadCommandInput;
26
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
+ constructor(input: AddWorkloadCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: ApplicationInsightsClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<AddWorkloadCommandInput, AddWorkloadCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ ApplicationInsightsClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../ApplicationInsightsClient";
14
+ import {
15
+ DescribeWorkloadRequest,
16
+ DescribeWorkloadResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface DescribeWorkloadCommandInput extends DescribeWorkloadRequest {}
20
+ export interface DescribeWorkloadCommandOutput
21
+ extends DescribeWorkloadResponse,
22
+ __MetadataBearer {}
23
+ export declare class DescribeWorkloadCommand extends $Command<
24
+ DescribeWorkloadCommandInput,
25
+ DescribeWorkloadCommandOutput,
26
+ ApplicationInsightsClientResolvedConfig
27
+ > {
28
+ readonly input: DescribeWorkloadCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: DescribeWorkloadCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: ApplicationInsightsClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<DescribeWorkloadCommandInput, DescribeWorkloadCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ ApplicationInsightsClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../ApplicationInsightsClient";
14
+ import {
15
+ ListWorkloadsRequest,
16
+ ListWorkloadsResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface ListWorkloadsCommandInput extends ListWorkloadsRequest {}
20
+ export interface ListWorkloadsCommandOutput
21
+ extends ListWorkloadsResponse,
22
+ __MetadataBearer {}
23
+ export declare class ListWorkloadsCommand extends $Command<
24
+ ListWorkloadsCommandInput,
25
+ ListWorkloadsCommandOutput,
26
+ ApplicationInsightsClientResolvedConfig
27
+ > {
28
+ readonly input: ListWorkloadsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: ListWorkloadsCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: ApplicationInsightsClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<ListWorkloadsCommandInput, ListWorkloadsCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ ApplicationInsightsClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../ApplicationInsightsClient";
14
+ import {
15
+ RemoveWorkloadRequest,
16
+ RemoveWorkloadResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface RemoveWorkloadCommandInput extends RemoveWorkloadRequest {}
20
+ export interface RemoveWorkloadCommandOutput
21
+ extends RemoveWorkloadResponse,
22
+ __MetadataBearer {}
23
+ export declare class RemoveWorkloadCommand extends $Command<
24
+ RemoveWorkloadCommandInput,
25
+ RemoveWorkloadCommandOutput,
26
+ ApplicationInsightsClientResolvedConfig
27
+ > {
28
+ readonly input: RemoveWorkloadCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: RemoveWorkloadCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: ApplicationInsightsClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<RemoveWorkloadCommandInput, RemoveWorkloadCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ ApplicationInsightsClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../ApplicationInsightsClient";
14
+ import {
15
+ UpdateProblemRequest,
16
+ UpdateProblemResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface UpdateProblemCommandInput extends UpdateProblemRequest {}
20
+ export interface UpdateProblemCommandOutput
21
+ extends UpdateProblemResponse,
22
+ __MetadataBearer {}
23
+ export declare class UpdateProblemCommand extends $Command<
24
+ UpdateProblemCommandInput,
25
+ UpdateProblemCommandOutput,
26
+ ApplicationInsightsClientResolvedConfig
27
+ > {
28
+ readonly input: UpdateProblemCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: UpdateProblemCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: ApplicationInsightsClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<UpdateProblemCommandInput, UpdateProblemCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ ApplicationInsightsClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../ApplicationInsightsClient";
14
+ import {
15
+ UpdateWorkloadRequest,
16
+ UpdateWorkloadResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface UpdateWorkloadCommandInput extends UpdateWorkloadRequest {}
20
+ export interface UpdateWorkloadCommandOutput
21
+ extends UpdateWorkloadResponse,
22
+ __MetadataBearer {}
23
+ export declare class UpdateWorkloadCommand extends $Command<
24
+ UpdateWorkloadCommandInput,
25
+ UpdateWorkloadCommandOutput,
26
+ ApplicationInsightsClientResolvedConfig
27
+ > {
28
+ readonly input: UpdateWorkloadCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: UpdateWorkloadCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: ApplicationInsightsClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<UpdateWorkloadCommandInput, UpdateWorkloadCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -1,3 +1,4 @@
1
+ export * from "./AddWorkloadCommand";
1
2
  export * from "./CreateApplicationCommand";
2
3
  export * from "./CreateComponentCommand";
3
4
  export * from "./CreateLogPatternCommand";
@@ -12,6 +13,7 @@ export * from "./DescribeLogPatternCommand";
12
13
  export * from "./DescribeObservationCommand";
13
14
  export * from "./DescribeProblemCommand";
14
15
  export * from "./DescribeProblemObservationsCommand";
16
+ export * from "./DescribeWorkloadCommand";
15
17
  export * from "./ListApplicationsCommand";
16
18
  export * from "./ListComponentsCommand";
17
19
  export * from "./ListConfigurationHistoryCommand";
@@ -19,9 +21,13 @@ export * from "./ListLogPatternSetsCommand";
19
21
  export * from "./ListLogPatternsCommand";
20
22
  export * from "./ListProblemsCommand";
21
23
  export * from "./ListTagsForResourceCommand";
24
+ export * from "./ListWorkloadsCommand";
25
+ export * from "./RemoveWorkloadCommand";
22
26
  export * from "./TagResourceCommand";
23
27
  export * from "./UntagResourceCommand";
24
28
  export * from "./UpdateApplicationCommand";
25
29
  export * from "./UpdateComponentCommand";
26
30
  export * from "./UpdateComponentConfigurationCommand";
27
31
  export * from "./UpdateLogPatternCommand";
32
+ export * from "./UpdateProblemCommand";
33
+ export * from "./UpdateWorkloadCommand";
@@ -1,5 +1,6 @@
1
1
  export * from "./ApplicationInsightsClient";
2
2
  export * from "./ApplicationInsights";
3
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
3
4
  export * from "./commands";
4
5
  export * from "./pagination";
5
6
  export * from "./models";