@aws-sdk/client-application-insights 3.379.1 → 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 (71) 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/models/models_0.d.ts +560 -67
  55. package/dist-types/pagination/ListWorkloadsPaginator.d.ts +7 -0
  56. package/dist-types/pagination/index.d.ts +1 -0
  57. package/dist-types/protocols/Aws_json1_1.d.ts +54 -0
  58. package/dist-types/ts3.4/ApplicationInsights.d.ts +102 -0
  59. package/dist-types/ts3.4/ApplicationInsightsClient.d.ts +38 -2
  60. package/dist-types/ts3.4/commands/AddWorkloadCommand.d.ts +35 -0
  61. package/dist-types/ts3.4/commands/DescribeWorkloadCommand.d.ts +38 -0
  62. package/dist-types/ts3.4/commands/ListWorkloadsCommand.d.ts +38 -0
  63. package/dist-types/ts3.4/commands/RemoveWorkloadCommand.d.ts +38 -0
  64. package/dist-types/ts3.4/commands/UpdateProblemCommand.d.ts +38 -0
  65. package/dist-types/ts3.4/commands/UpdateWorkloadCommand.d.ts +38 -0
  66. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  67. package/dist-types/ts3.4/models/models_0.d.ts +227 -63
  68. package/dist-types/ts3.4/pagination/ListWorkloadsPaginator.d.ts +11 -0
  69. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  70. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +72 -0
  71. package/package.json +1 -1
@@ -8,26 +8,81 @@ export declare class AccessDeniedException extends __BaseException {
8
8
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
9
  );
10
10
  }
11
- export type Tier =
12
- | "ACTIVE_DIRECTORY"
13
- | "CUSTOM"
14
- | "DEFAULT"
15
- | "DOT_NET_CORE"
16
- | "DOT_NET_WEB"
17
- | "DOT_NET_WEB_TIER"
18
- | "DOT_NET_WORKER"
19
- | "JAVA_JMX"
20
- | "MYSQL"
21
- | "ORACLE"
22
- | "POSTGRESQL"
23
- | "SAP_HANA_HIGH_AVAILABILITY"
24
- | "SAP_HANA_MULTI_NODE"
25
- | "SAP_HANA_SINGLE_NODE"
26
- | "SHAREPOINT"
27
- | "SQL_SERVER"
28
- | "SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP"
29
- | "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE";
30
- export type OsType = "LINUX" | "WINDOWS";
11
+ export declare const Tier: {
12
+ readonly ACTIVE_DIRECTORY: "ACTIVE_DIRECTORY";
13
+ readonly CUSTOM: "CUSTOM";
14
+ readonly DEFAULT: "DEFAULT";
15
+ readonly DOT_NET_CORE: "DOT_NET_CORE";
16
+ readonly DOT_NET_WEB: "DOT_NET_WEB";
17
+ readonly DOT_NET_WEB_TIER: "DOT_NET_WEB_TIER";
18
+ readonly DOT_NET_WORKER: "DOT_NET_WORKER";
19
+ readonly JAVA_JMX: "JAVA_JMX";
20
+ readonly MYSQL: "MYSQL";
21
+ readonly ORACLE: "ORACLE";
22
+ readonly POSTGRESQL: "POSTGRESQL";
23
+ readonly SAP_HANA_HIGH_AVAILABILITY: "SAP_HANA_HIGH_AVAILABILITY";
24
+ readonly SAP_HANA_MULTI_NODE: "SAP_HANA_MULTI_NODE";
25
+ readonly SAP_HANA_SINGLE_NODE: "SAP_HANA_SINGLE_NODE";
26
+ readonly SAP_NETWEAVER_DISTRIBUTED: "SAP_NETWEAVER_DISTRIBUTED";
27
+ readonly SAP_NETWEAVER_HIGH_AVAILABILITY: "SAP_NETWEAVER_HIGH_AVAILABILITY";
28
+ readonly SAP_NETWEAVER_STANDARD: "SAP_NETWEAVER_STANDARD";
29
+ readonly SHAREPOINT: "SHAREPOINT";
30
+ readonly SQL_SERVER: "SQL_SERVER";
31
+ readonly SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP: "SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP";
32
+ readonly SQL_SERVER_FAILOVER_CLUSTER_INSTANCE: "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE";
33
+ };
34
+ export type Tier = (typeof Tier)[keyof typeof Tier];
35
+ export interface WorkloadConfiguration {
36
+ WorkloadName?: string;
37
+ Tier?: Tier | string;
38
+ Configuration?: string;
39
+ }
40
+ export interface AddWorkloadRequest {
41
+ ResourceGroupName: string | undefined;
42
+ ComponentName: string | undefined;
43
+ WorkloadConfiguration: WorkloadConfiguration | undefined;
44
+ }
45
+ export interface AddWorkloadResponse {
46
+ WorkloadId?: string;
47
+ WorkloadConfiguration?: WorkloadConfiguration;
48
+ }
49
+ export declare class InternalServerException extends __BaseException {
50
+ readonly name: "InternalServerException";
51
+ readonly $fault: "server";
52
+ Message?: string;
53
+ constructor(
54
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
55
+ );
56
+ }
57
+ export declare class ResourceInUseException extends __BaseException {
58
+ readonly name: "ResourceInUseException";
59
+ readonly $fault: "client";
60
+ Message?: string;
61
+ constructor(
62
+ opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
63
+ );
64
+ }
65
+ export declare class ResourceNotFoundException extends __BaseException {
66
+ readonly name: "ResourceNotFoundException";
67
+ readonly $fault: "client";
68
+ Message?: string;
69
+ constructor(
70
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
71
+ );
72
+ }
73
+ export declare class ValidationException extends __BaseException {
74
+ readonly name: "ValidationException";
75
+ readonly $fault: "client";
76
+ Message?: string;
77
+ constructor(
78
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
79
+ );
80
+ }
81
+ export declare const OsType: {
82
+ readonly LINUX: "LINUX";
83
+ readonly WINDOWS: "WINDOWS";
84
+ };
85
+ export type OsType = (typeof OsType)[keyof typeof OsType];
31
86
  export interface ApplicationComponent {
32
87
  ComponentName?: string;
33
88
  ComponentRemarks?: string;
@@ -43,6 +98,7 @@ export declare const DiscoveryType: {
43
98
  };
44
99
  export type DiscoveryType = (typeof DiscoveryType)[keyof typeof DiscoveryType];
45
100
  export interface ApplicationInfo {
101
+ AccountId?: string;
46
102
  ResourceGroupName?: string;
47
103
  LifeCycle?: string;
48
104
  OpsItemSNSTopicArn?: string;
@@ -60,14 +116,32 @@ export declare class BadRequestException extends __BaseException {
60
116
  opts: __ExceptionOptionType<BadRequestException, __BaseException>
61
117
  );
62
118
  }
63
- export type CloudWatchEventSource = "CODE_DEPLOY" | "EC2" | "HEALTH" | "RDS";
119
+ export declare const CloudWatchEventSource: {
120
+ readonly CODE_DEPLOY: "CODE_DEPLOY";
121
+ readonly EC2: "EC2";
122
+ readonly HEALTH: "HEALTH";
123
+ readonly RDS: "RDS";
124
+ };
125
+ export type CloudWatchEventSource =
126
+ (typeof CloudWatchEventSource)[keyof typeof CloudWatchEventSource];
127
+ export declare const ConfigurationEventResourceType: {
128
+ readonly CLOUDFORMATION: "CLOUDFORMATION";
129
+ readonly CLOUDWATCH_ALARM: "CLOUDWATCH_ALARM";
130
+ readonly CLOUDWATCH_LOG: "CLOUDWATCH_LOG";
131
+ readonly SSM_ASSOCIATION: "SSM_ASSOCIATION";
132
+ };
64
133
  export type ConfigurationEventResourceType =
65
- | "CLOUDFORMATION"
66
- | "CLOUDWATCH_ALARM"
67
- | "CLOUDWATCH_LOG"
68
- | "SSM_ASSOCIATION";
69
- export type ConfigurationEventStatus = "ERROR" | "INFO" | "WARN";
134
+ (typeof ConfigurationEventResourceType)[keyof typeof ConfigurationEventResourceType];
135
+ export declare const ConfigurationEventStatus: {
136
+ readonly ERROR: "ERROR";
137
+ readonly INFO: "INFO";
138
+ readonly WARN: "WARN";
139
+ };
140
+ export type ConfigurationEventStatus =
141
+ (typeof ConfigurationEventStatus)[keyof typeof ConfigurationEventStatus];
70
142
  export interface ConfigurationEvent {
143
+ ResourceGroupName?: string;
144
+ AccountId?: string;
71
145
  MonitoredResourceARN?: string;
72
146
  EventStatus?: ConfigurationEventStatus | string;
73
147
  EventResourceType?: ConfigurationEventResourceType | string;
@@ -96,30 +170,6 @@ export interface CreateApplicationRequest {
96
170
  export interface CreateApplicationResponse {
97
171
  ApplicationInfo?: ApplicationInfo;
98
172
  }
99
- export declare class InternalServerException extends __BaseException {
100
- readonly name: "InternalServerException";
101
- readonly $fault: "server";
102
- Message?: string;
103
- constructor(
104
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
105
- );
106
- }
107
- export declare class ResourceInUseException extends __BaseException {
108
- readonly name: "ResourceInUseException";
109
- readonly $fault: "client";
110
- Message?: string;
111
- constructor(
112
- opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
113
- );
114
- }
115
- export declare class ResourceNotFoundException extends __BaseException {
116
- readonly name: "ResourceNotFoundException";
117
- readonly $fault: "client";
118
- Message?: string;
119
- constructor(
120
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
121
- );
122
- }
123
173
  export declare class TagsAlreadyExistException extends __BaseException {
124
174
  readonly name: "TagsAlreadyExistException";
125
175
  readonly $fault: "client";
@@ -128,14 +178,6 @@ export declare class TagsAlreadyExistException extends __BaseException {
128
178
  opts: __ExceptionOptionType<TagsAlreadyExistException, __BaseException>
129
179
  );
130
180
  }
131
- export declare class ValidationException extends __BaseException {
132
- readonly name: "ValidationException";
133
- readonly $fault: "client";
134
- Message?: string;
135
- constructor(
136
- opts: __ExceptionOptionType<ValidationException, __BaseException>
137
- );
138
- }
139
181
  export interface CreateComponentRequest {
140
182
  ResourceGroupName: string | undefined;
141
183
  ComponentName: string | undefined;
@@ -176,6 +218,7 @@ export interface DeleteLogPatternRequest {
176
218
  export interface DeleteLogPatternResponse {}
177
219
  export interface DescribeApplicationRequest {
178
220
  ResourceGroupName: string | undefined;
221
+ AccountId?: string;
179
222
  }
180
223
  export interface DescribeApplicationResponse {
181
224
  ApplicationInfo?: ApplicationInfo;
@@ -183,6 +226,7 @@ export interface DescribeApplicationResponse {
183
226
  export interface DescribeComponentRequest {
184
227
  ResourceGroupName: string | undefined;
185
228
  ComponentName: string | undefined;
229
+ AccountId?: string;
186
230
  }
187
231
  export interface DescribeComponentResponse {
188
232
  ApplicationComponent?: ApplicationComponent;
@@ -191,16 +235,25 @@ export interface DescribeComponentResponse {
191
235
  export interface DescribeComponentConfigurationRequest {
192
236
  ResourceGroupName: string | undefined;
193
237
  ComponentName: string | undefined;
238
+ AccountId?: string;
194
239
  }
195
240
  export interface DescribeComponentConfigurationResponse {
196
241
  Monitor?: boolean;
197
242
  Tier?: Tier | string;
198
243
  ComponentConfiguration?: string;
199
244
  }
245
+ export declare const RecommendationType: {
246
+ readonly ALL: "ALL";
247
+ readonly INFRA_ONLY: "INFRA_ONLY";
248
+ readonly WORKLOAD_ONLY: "WORKLOAD_ONLY";
249
+ };
250
+ export type RecommendationType =
251
+ (typeof RecommendationType)[keyof typeof RecommendationType];
200
252
  export interface DescribeComponentConfigurationRecommendationRequest {
201
253
  ResourceGroupName: string | undefined;
202
254
  ComponentName: string | undefined;
203
255
  Tier: Tier | string | undefined;
256
+ RecommendationType?: RecommendationType | string;
204
257
  }
205
258
  export interface DescribeComponentConfigurationRecommendationResponse {
206
259
  ComponentConfiguration?: string;
@@ -209,15 +262,23 @@ export interface DescribeLogPatternRequest {
209
262
  ResourceGroupName: string | undefined;
210
263
  PatternSetName: string | undefined;
211
264
  PatternName: string | undefined;
265
+ AccountId?: string;
212
266
  }
213
267
  export interface DescribeLogPatternResponse {
214
268
  ResourceGroupName?: string;
269
+ AccountId?: string;
215
270
  LogPattern?: LogPattern;
216
271
  }
217
272
  export interface DescribeObservationRequest {
218
273
  ObservationId: string | undefined;
274
+ AccountId?: string;
219
275
  }
220
- export type LogFilter = "ERROR" | "INFO" | "WARN";
276
+ export declare const LogFilter: {
277
+ readonly ERROR: "ERROR";
278
+ readonly INFO: "INFO";
279
+ readonly WARN: "WARN";
280
+ };
281
+ export type LogFilter = (typeof LogFilter)[keyof typeof LogFilter];
221
282
  export interface Observation {
222
283
  Id?: string;
223
284
  StartTime?: Date;
@@ -270,11 +331,45 @@ export interface DescribeObservationResponse {
270
331
  }
271
332
  export interface DescribeProblemRequest {
272
333
  ProblemId: string | undefined;
334
+ AccountId?: string;
273
335
  }
274
- export type FeedbackKey = "INSIGHTS_FEEDBACK";
275
- export type FeedbackValue = "NOT_SPECIFIED" | "NOT_USEFUL" | "USEFUL";
276
- export type SeverityLevel = "High" | "Informative" | "Low" | "Medium";
277
- export type Status = "IGNORE" | "PENDING" | "RECURRING" | "RESOLVED";
336
+ export declare const FeedbackKey: {
337
+ readonly INSIGHTS_FEEDBACK: "INSIGHTS_FEEDBACK";
338
+ };
339
+ export type FeedbackKey = (typeof FeedbackKey)[keyof typeof FeedbackKey];
340
+ export declare const FeedbackValue: {
341
+ readonly NOT_SPECIFIED: "NOT_SPECIFIED";
342
+ readonly NOT_USEFUL: "NOT_USEFUL";
343
+ readonly USEFUL: "USEFUL";
344
+ };
345
+ export type FeedbackValue = (typeof FeedbackValue)[keyof typeof FeedbackValue];
346
+ export declare const ResolutionMethod: {
347
+ readonly AUTOMATIC: "AUTOMATIC";
348
+ readonly MANUAL: "MANUAL";
349
+ readonly UNRESOLVED: "UNRESOLVED";
350
+ };
351
+ export type ResolutionMethod =
352
+ (typeof ResolutionMethod)[keyof typeof ResolutionMethod];
353
+ export declare const SeverityLevel: {
354
+ readonly High: "High";
355
+ readonly Informative: "Informative";
356
+ readonly Low: "Low";
357
+ readonly Medium: "Medium";
358
+ };
359
+ export type SeverityLevel = (typeof SeverityLevel)[keyof typeof SeverityLevel];
360
+ export declare const Status: {
361
+ readonly IGNORE: "IGNORE";
362
+ readonly PENDING: "PENDING";
363
+ readonly RECOVERING: "RECOVERING";
364
+ readonly RECURRING: "RECURRING";
365
+ readonly RESOLVED: "RESOLVED";
366
+ };
367
+ export type Status = (typeof Status)[keyof typeof Status];
368
+ export declare const Visibility: {
369
+ readonly IGNORED: "IGNORED";
370
+ readonly VISIBLE: "VISIBLE";
371
+ };
372
+ export type Visibility = (typeof Visibility)[keyof typeof Visibility];
278
373
  export interface Problem {
279
374
  Id?: string;
280
375
  Title?: string;
@@ -284,16 +379,20 @@ export interface Problem {
284
379
  StartTime?: Date;
285
380
  EndTime?: Date;
286
381
  SeverityLevel?: SeverityLevel | string;
382
+ AccountId?: string;
287
383
  ResourceGroupName?: string;
288
384
  Feedback?: Record<string, FeedbackValue | string>;
289
385
  RecurringCount?: number;
290
386
  LastRecurrenceTime?: Date;
387
+ Visibility?: Visibility | string;
388
+ ResolutionMethod?: ResolutionMethod | string;
291
389
  }
292
390
  export interface DescribeProblemResponse {
293
391
  Problem?: Problem;
294
392
  }
295
393
  export interface DescribeProblemObservationsRequest {
296
394
  ProblemId: string | undefined;
395
+ AccountId?: string;
297
396
  }
298
397
  export interface RelatedObservations {
299
398
  ObservationList?: Observation[];
@@ -301,9 +400,21 @@ export interface RelatedObservations {
301
400
  export interface DescribeProblemObservationsResponse {
302
401
  RelatedObservations?: RelatedObservations;
303
402
  }
403
+ export interface DescribeWorkloadRequest {
404
+ ResourceGroupName: string | undefined;
405
+ ComponentName: string | undefined;
406
+ WorkloadId: string | undefined;
407
+ AccountId?: string;
408
+ }
409
+ export interface DescribeWorkloadResponse {
410
+ WorkloadId?: string;
411
+ WorkloadRemarks?: string;
412
+ WorkloadConfiguration?: WorkloadConfiguration;
413
+ }
304
414
  export interface ListApplicationsRequest {
305
415
  MaxResults?: number;
306
416
  NextToken?: string;
417
+ AccountId?: string;
307
418
  }
308
419
  export interface ListApplicationsResponse {
309
420
  ApplicationInfoList?: ApplicationInfo[];
@@ -313,6 +424,7 @@ export interface ListComponentsRequest {
313
424
  ResourceGroupName: string | undefined;
314
425
  MaxResults?: number;
315
426
  NextToken?: string;
427
+ AccountId?: string;
316
428
  }
317
429
  export interface ListComponentsResponse {
318
430
  ApplicationComponentList?: ApplicationComponent[];
@@ -325,6 +437,7 @@ export interface ListConfigurationHistoryRequest {
325
437
  EventStatus?: ConfigurationEventStatus | string;
326
438
  MaxResults?: number;
327
439
  NextToken?: string;
440
+ AccountId?: string;
328
441
  }
329
442
  export interface ListConfigurationHistoryResponse {
330
443
  EventList?: ConfigurationEvent[];
@@ -335,9 +448,11 @@ export interface ListLogPatternsRequest {
335
448
  PatternSetName?: string;
336
449
  MaxResults?: number;
337
450
  NextToken?: string;
451
+ AccountId?: string;
338
452
  }
339
453
  export interface ListLogPatternsResponse {
340
454
  ResourceGroupName?: string;
455
+ AccountId?: string;
341
456
  LogPatterns?: LogPattern[];
342
457
  NextToken?: string;
343
458
  }
@@ -345,24 +460,29 @@ export interface ListLogPatternSetsRequest {
345
460
  ResourceGroupName: string | undefined;
346
461
  MaxResults?: number;
347
462
  NextToken?: string;
463
+ AccountId?: string;
348
464
  }
349
465
  export interface ListLogPatternSetsResponse {
350
466
  ResourceGroupName?: string;
467
+ AccountId?: string;
351
468
  LogPatternSets?: string[];
352
469
  NextToken?: string;
353
470
  }
354
471
  export interface ListProblemsRequest {
472
+ AccountId?: string;
355
473
  ResourceGroupName?: string;
356
474
  StartTime?: Date;
357
475
  EndTime?: Date;
358
476
  MaxResults?: number;
359
477
  NextToken?: string;
360
478
  ComponentName?: string;
479
+ Visibility?: Visibility | string;
361
480
  }
362
481
  export interface ListProblemsResponse {
363
482
  ProblemList?: Problem[];
364
483
  NextToken?: string;
365
484
  ResourceGroupName?: string;
485
+ AccountId?: string;
366
486
  }
367
487
  export interface ListTagsForResourceRequest {
368
488
  ResourceARN: string | undefined;
@@ -370,6 +490,30 @@ export interface ListTagsForResourceRequest {
370
490
  export interface ListTagsForResourceResponse {
371
491
  Tags?: Tag[];
372
492
  }
493
+ export interface ListWorkloadsRequest {
494
+ ResourceGroupName: string | undefined;
495
+ ComponentName: string | undefined;
496
+ MaxResults?: number;
497
+ NextToken?: string;
498
+ AccountId?: string;
499
+ }
500
+ export interface Workload {
501
+ WorkloadId?: string;
502
+ ComponentName?: string;
503
+ WorkloadName?: string;
504
+ Tier?: Tier | string;
505
+ WorkloadRemarks?: string;
506
+ }
507
+ export interface ListWorkloadsResponse {
508
+ WorkloadList?: Workload[];
509
+ NextToken?: string;
510
+ }
511
+ export interface RemoveWorkloadRequest {
512
+ ResourceGroupName: string | undefined;
513
+ ComponentName: string | undefined;
514
+ WorkloadId: string | undefined;
515
+ }
516
+ export interface RemoveWorkloadResponse {}
373
517
  export interface TagResourceRequest {
374
518
  ResourceARN: string | undefined;
375
519
  Tags: Tag[] | undefined;
@@ -427,3 +571,23 @@ export interface UpdateLogPatternResponse {
427
571
  ResourceGroupName?: string;
428
572
  LogPattern?: LogPattern;
429
573
  }
574
+ export declare const UpdateStatus: {
575
+ readonly RESOLVED: "RESOLVED";
576
+ };
577
+ export type UpdateStatus = (typeof UpdateStatus)[keyof typeof UpdateStatus];
578
+ export interface UpdateProblemRequest {
579
+ ProblemId: string | undefined;
580
+ UpdateStatus?: UpdateStatus | string;
581
+ Visibility?: Visibility | string;
582
+ }
583
+ export interface UpdateProblemResponse {}
584
+ export interface UpdateWorkloadRequest {
585
+ ResourceGroupName: string | undefined;
586
+ ComponentName: string | undefined;
587
+ WorkloadId?: string;
588
+ WorkloadConfiguration: WorkloadConfiguration | undefined;
589
+ }
590
+ export interface UpdateWorkloadResponse {
591
+ WorkloadId?: string;
592
+ WorkloadConfiguration?: WorkloadConfiguration;
593
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListWorkloadsCommandInput,
4
+ ListWorkloadsCommandOutput,
5
+ } from "../commands/ListWorkloadsCommand";
6
+ import { ApplicationInsightsPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListWorkloads(
8
+ config: ApplicationInsightsPaginationConfiguration,
9
+ input: ListWorkloadsCommandInput,
10
+ ...additionalArguments: any
11
+ ): 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";
@@ -3,6 +3,10 @@ import {
3
3
  HttpResponse as __HttpResponse,
4
4
  } from "@smithy/protocol-http";
5
5
  import { SerdeContext as __SerdeContext } from "@smithy/types";
6
+ import {
7
+ AddWorkloadCommandInput,
8
+ AddWorkloadCommandOutput,
9
+ } from "../commands/AddWorkloadCommand";
6
10
  import {
7
11
  CreateApplicationCommandInput,
8
12
  CreateApplicationCommandOutput,
@@ -59,6 +63,10 @@ import {
59
63
  DescribeProblemObservationsCommandInput,
60
64
  DescribeProblemObservationsCommandOutput,
61
65
  } from "../commands/DescribeProblemObservationsCommand";
66
+ import {
67
+ DescribeWorkloadCommandInput,
68
+ DescribeWorkloadCommandOutput,
69
+ } from "../commands/DescribeWorkloadCommand";
62
70
  import {
63
71
  ListApplicationsCommandInput,
64
72
  ListApplicationsCommandOutput,
@@ -87,6 +95,14 @@ import {
87
95
  ListTagsForResourceCommandInput,
88
96
  ListTagsForResourceCommandOutput,
89
97
  } from "../commands/ListTagsForResourceCommand";
98
+ import {
99
+ ListWorkloadsCommandInput,
100
+ ListWorkloadsCommandOutput,
101
+ } from "../commands/ListWorkloadsCommand";
102
+ import {
103
+ RemoveWorkloadCommandInput,
104
+ RemoveWorkloadCommandOutput,
105
+ } from "../commands/RemoveWorkloadCommand";
90
106
  import {
91
107
  TagResourceCommandInput,
92
108
  TagResourceCommandOutput,
@@ -111,6 +127,18 @@ import {
111
127
  UpdateLogPatternCommandInput,
112
128
  UpdateLogPatternCommandOutput,
113
129
  } from "../commands/UpdateLogPatternCommand";
130
+ import {
131
+ UpdateProblemCommandInput,
132
+ UpdateProblemCommandOutput,
133
+ } from "../commands/UpdateProblemCommand";
134
+ import {
135
+ UpdateWorkloadCommandInput,
136
+ UpdateWorkloadCommandOutput,
137
+ } from "../commands/UpdateWorkloadCommand";
138
+ export declare const se_AddWorkloadCommand: (
139
+ input: AddWorkloadCommandInput,
140
+ context: __SerdeContext
141
+ ) => Promise<__HttpRequest>;
114
142
  export declare const se_CreateApplicationCommand: (
115
143
  input: CreateApplicationCommandInput,
116
144
  context: __SerdeContext
@@ -167,6 +195,10 @@ export declare const se_DescribeProblemObservationsCommand: (
167
195
  input: DescribeProblemObservationsCommandInput,
168
196
  context: __SerdeContext
169
197
  ) => Promise<__HttpRequest>;
198
+ export declare const se_DescribeWorkloadCommand: (
199
+ input: DescribeWorkloadCommandInput,
200
+ context: __SerdeContext
201
+ ) => Promise<__HttpRequest>;
170
202
  export declare const se_ListApplicationsCommand: (
171
203
  input: ListApplicationsCommandInput,
172
204
  context: __SerdeContext
@@ -195,6 +227,14 @@ export declare const se_ListTagsForResourceCommand: (
195
227
  input: ListTagsForResourceCommandInput,
196
228
  context: __SerdeContext
197
229
  ) => Promise<__HttpRequest>;
230
+ export declare const se_ListWorkloadsCommand: (
231
+ input: ListWorkloadsCommandInput,
232
+ context: __SerdeContext
233
+ ) => Promise<__HttpRequest>;
234
+ export declare const se_RemoveWorkloadCommand: (
235
+ input: RemoveWorkloadCommandInput,
236
+ context: __SerdeContext
237
+ ) => Promise<__HttpRequest>;
198
238
  export declare const se_TagResourceCommand: (
199
239
  input: TagResourceCommandInput,
200
240
  context: __SerdeContext
@@ -219,6 +259,18 @@ export declare const se_UpdateLogPatternCommand: (
219
259
  input: UpdateLogPatternCommandInput,
220
260
  context: __SerdeContext
221
261
  ) => Promise<__HttpRequest>;
262
+ export declare const se_UpdateProblemCommand: (
263
+ input: UpdateProblemCommandInput,
264
+ context: __SerdeContext
265
+ ) => Promise<__HttpRequest>;
266
+ export declare const se_UpdateWorkloadCommand: (
267
+ input: UpdateWorkloadCommandInput,
268
+ context: __SerdeContext
269
+ ) => Promise<__HttpRequest>;
270
+ export declare const de_AddWorkloadCommand: (
271
+ output: __HttpResponse,
272
+ context: __SerdeContext
273
+ ) => Promise<AddWorkloadCommandOutput>;
222
274
  export declare const de_CreateApplicationCommand: (
223
275
  output: __HttpResponse,
224
276
  context: __SerdeContext
@@ -275,6 +327,10 @@ export declare const de_DescribeProblemObservationsCommand: (
275
327
  output: __HttpResponse,
276
328
  context: __SerdeContext
277
329
  ) => Promise<DescribeProblemObservationsCommandOutput>;
330
+ export declare const de_DescribeWorkloadCommand: (
331
+ output: __HttpResponse,
332
+ context: __SerdeContext
333
+ ) => Promise<DescribeWorkloadCommandOutput>;
278
334
  export declare const de_ListApplicationsCommand: (
279
335
  output: __HttpResponse,
280
336
  context: __SerdeContext
@@ -303,6 +359,14 @@ export declare const de_ListTagsForResourceCommand: (
303
359
  output: __HttpResponse,
304
360
  context: __SerdeContext
305
361
  ) => Promise<ListTagsForResourceCommandOutput>;
362
+ export declare const de_ListWorkloadsCommand: (
363
+ output: __HttpResponse,
364
+ context: __SerdeContext
365
+ ) => Promise<ListWorkloadsCommandOutput>;
366
+ export declare const de_RemoveWorkloadCommand: (
367
+ output: __HttpResponse,
368
+ context: __SerdeContext
369
+ ) => Promise<RemoveWorkloadCommandOutput>;
306
370
  export declare const de_TagResourceCommand: (
307
371
  output: __HttpResponse,
308
372
  context: __SerdeContext
@@ -327,3 +391,11 @@ export declare const de_UpdateLogPatternCommand: (
327
391
  output: __HttpResponse,
328
392
  context: __SerdeContext
329
393
  ) => Promise<UpdateLogPatternCommandOutput>;
394
+ export declare const de_UpdateProblemCommand: (
395
+ output: __HttpResponse,
396
+ context: __SerdeContext
397
+ ) => Promise<UpdateProblemCommandOutput>;
398
+ export declare const de_UpdateWorkloadCommand: (
399
+ output: __HttpResponse,
400
+ context: __SerdeContext
401
+ ) => Promise<UpdateWorkloadCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-application-insights",
3
3
  "description": "AWS SDK for JavaScript Application Insights Client for Node.js, Browser and React Native",
4
- "version": "3.379.1",
4
+ "version": "3.380.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",