@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
@@ -15,12 +15,147 @@ export declare class AccessDeniedException extends __BaseException {
15
15
  }
16
16
  /**
17
17
  * @public
18
+ * @enum
19
+ */
20
+ export declare const Tier: {
21
+ readonly ACTIVE_DIRECTORY: "ACTIVE_DIRECTORY";
22
+ readonly CUSTOM: "CUSTOM";
23
+ readonly DEFAULT: "DEFAULT";
24
+ readonly DOT_NET_CORE: "DOT_NET_CORE";
25
+ readonly DOT_NET_WEB: "DOT_NET_WEB";
26
+ readonly DOT_NET_WEB_TIER: "DOT_NET_WEB_TIER";
27
+ readonly DOT_NET_WORKER: "DOT_NET_WORKER";
28
+ readonly JAVA_JMX: "JAVA_JMX";
29
+ readonly MYSQL: "MYSQL";
30
+ readonly ORACLE: "ORACLE";
31
+ readonly POSTGRESQL: "POSTGRESQL";
32
+ readonly SAP_HANA_HIGH_AVAILABILITY: "SAP_HANA_HIGH_AVAILABILITY";
33
+ readonly SAP_HANA_MULTI_NODE: "SAP_HANA_MULTI_NODE";
34
+ readonly SAP_HANA_SINGLE_NODE: "SAP_HANA_SINGLE_NODE";
35
+ readonly SAP_NETWEAVER_DISTRIBUTED: "SAP_NETWEAVER_DISTRIBUTED";
36
+ readonly SAP_NETWEAVER_HIGH_AVAILABILITY: "SAP_NETWEAVER_HIGH_AVAILABILITY";
37
+ readonly SAP_NETWEAVER_STANDARD: "SAP_NETWEAVER_STANDARD";
38
+ readonly SHAREPOINT: "SHAREPOINT";
39
+ readonly SQL_SERVER: "SQL_SERVER";
40
+ readonly SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP: "SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP";
41
+ readonly SQL_SERVER_FAILOVER_CLUSTER_INSTANCE: "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE";
42
+ };
43
+ /**
44
+ * @public
45
+ */
46
+ export type Tier = (typeof Tier)[keyof typeof Tier];
47
+ /**
48
+ * @public
49
+ * <p>The configuration of the workload.</p>
50
+ */
51
+ export interface WorkloadConfiguration {
52
+ /**
53
+ * <p>The name of the workload.</p>
54
+ */
55
+ WorkloadName?: string;
56
+ /**
57
+ * <p>The configuration of the workload tier.</p>
58
+ */
59
+ Tier?: Tier | string;
60
+ /**
61
+ * <p>The configuration settings of the workload.</p>
62
+ */
63
+ Configuration?: string;
64
+ }
65
+ /**
66
+ * @public
67
+ */
68
+ export interface AddWorkloadRequest {
69
+ /**
70
+ * <p>The name of the resource group.</p>
71
+ */
72
+ ResourceGroupName: string | undefined;
73
+ /**
74
+ * <p>The name of the component.</p>
75
+ */
76
+ ComponentName: string | undefined;
77
+ /**
78
+ * <p>The configuration settings of the workload. The value is the escaped JSON of the configuration.</p>
79
+ */
80
+ WorkloadConfiguration: WorkloadConfiguration | undefined;
81
+ }
82
+ /**
83
+ * @public
84
+ */
85
+ export interface AddWorkloadResponse {
86
+ /**
87
+ * <p>The ID of the workload.</p>
88
+ */
89
+ WorkloadId?: string;
90
+ /**
91
+ * <p>The configuration settings of the workload. The value is the escaped JSON of the configuration.</p>
92
+ */
93
+ WorkloadConfiguration?: WorkloadConfiguration;
94
+ }
95
+ /**
96
+ * @public
97
+ * <p>The server encountered an internal error and is unable to complete the request.</p>
98
+ */
99
+ export declare class InternalServerException extends __BaseException {
100
+ readonly name: "InternalServerException";
101
+ readonly $fault: "server";
102
+ Message?: string;
103
+ /**
104
+ * @internal
105
+ */
106
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
107
+ }
108
+ /**
109
+ * @public
110
+ * <p>The resource is already created or in use.</p>
18
111
  */
19
- export type Tier = "ACTIVE_DIRECTORY" | "CUSTOM" | "DEFAULT" | "DOT_NET_CORE" | "DOT_NET_WEB" | "DOT_NET_WEB_TIER" | "DOT_NET_WORKER" | "JAVA_JMX" | "MYSQL" | "ORACLE" | "POSTGRESQL" | "SAP_HANA_HIGH_AVAILABILITY" | "SAP_HANA_MULTI_NODE" | "SAP_HANA_SINGLE_NODE" | "SHAREPOINT" | "SQL_SERVER" | "SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP" | "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE";
112
+ export declare class ResourceInUseException extends __BaseException {
113
+ readonly name: "ResourceInUseException";
114
+ readonly $fault: "client";
115
+ Message?: string;
116
+ /**
117
+ * @internal
118
+ */
119
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
120
+ }
20
121
  /**
21
122
  * @public
123
+ * <p>The resource does not exist in the customer account.</p>
22
124
  */
23
- export type OsType = "LINUX" | "WINDOWS";
125
+ export declare class ResourceNotFoundException extends __BaseException {
126
+ readonly name: "ResourceNotFoundException";
127
+ readonly $fault: "client";
128
+ Message?: string;
129
+ /**
130
+ * @internal
131
+ */
132
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
133
+ }
134
+ /**
135
+ * @public
136
+ * <p>The parameter is not valid.</p>
137
+ */
138
+ export declare class ValidationException extends __BaseException {
139
+ readonly name: "ValidationException";
140
+ readonly $fault: "client";
141
+ Message?: string;
142
+ /**
143
+ * @internal
144
+ */
145
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
146
+ }
147
+ /**
148
+ * @public
149
+ * @enum
150
+ */
151
+ export declare const OsType: {
152
+ readonly LINUX: "LINUX";
153
+ readonly WINDOWS: "WINDOWS";
154
+ };
155
+ /**
156
+ * @public
157
+ */
158
+ export type OsType = (typeof OsType)[keyof typeof OsType];
24
159
  /**
25
160
  * @public
26
161
  * <p>Describes a standalone resource or similarly grouped resources that the application is
@@ -75,6 +210,10 @@ export type DiscoveryType = (typeof DiscoveryType)[keyof typeof DiscoveryType];
75
210
  * <p>Describes the status of the application.</p>
76
211
  */
77
212
  export interface ApplicationInfo {
213
+ /**
214
+ * <p>The AWS account ID for the owner of the application.</p>
215
+ */
216
+ AccountId?: string;
78
217
  /**
79
218
  * <p>The name of the resource group used for the application.</p>
80
219
  */
@@ -117,9 +256,7 @@ export interface ApplicationInfo {
117
256
  */
118
257
  AutoConfigEnabled?: boolean;
119
258
  /**
120
- * <p>
121
- * The method used by Application Insights to onboard your resources.
122
- * </p>
259
+ * <p> The method used by Application Insights to onboard your resources. </p>
123
260
  */
124
261
  DiscoveryType?: DiscoveryType | string;
125
262
  }
@@ -138,21 +275,58 @@ export declare class BadRequestException extends __BaseException {
138
275
  }
139
276
  /**
140
277
  * @public
278
+ * @enum
141
279
  */
142
- export type CloudWatchEventSource = "CODE_DEPLOY" | "EC2" | "HEALTH" | "RDS";
280
+ export declare const CloudWatchEventSource: {
281
+ readonly CODE_DEPLOY: "CODE_DEPLOY";
282
+ readonly EC2: "EC2";
283
+ readonly HEALTH: "HEALTH";
284
+ readonly RDS: "RDS";
285
+ };
143
286
  /**
144
287
  * @public
145
288
  */
146
- export type ConfigurationEventResourceType = "CLOUDFORMATION" | "CLOUDWATCH_ALARM" | "CLOUDWATCH_LOG" | "SSM_ASSOCIATION";
289
+ export type CloudWatchEventSource = (typeof CloudWatchEventSource)[keyof typeof CloudWatchEventSource];
147
290
  /**
148
291
  * @public
292
+ * @enum
149
293
  */
150
- export type ConfigurationEventStatus = "ERROR" | "INFO" | "WARN";
294
+ export declare const ConfigurationEventResourceType: {
295
+ readonly CLOUDFORMATION: "CLOUDFORMATION";
296
+ readonly CLOUDWATCH_ALARM: "CLOUDWATCH_ALARM";
297
+ readonly CLOUDWATCH_LOG: "CLOUDWATCH_LOG";
298
+ readonly SSM_ASSOCIATION: "SSM_ASSOCIATION";
299
+ };
300
+ /**
301
+ * @public
302
+ */
303
+ export type ConfigurationEventResourceType = (typeof ConfigurationEventResourceType)[keyof typeof ConfigurationEventResourceType];
304
+ /**
305
+ * @public
306
+ * @enum
307
+ */
308
+ export declare const ConfigurationEventStatus: {
309
+ readonly ERROR: "ERROR";
310
+ readonly INFO: "INFO";
311
+ readonly WARN: "WARN";
312
+ };
313
+ /**
314
+ * @public
315
+ */
316
+ export type ConfigurationEventStatus = (typeof ConfigurationEventStatus)[keyof typeof ConfigurationEventStatus];
151
317
  /**
152
318
  * @public
153
319
  * <p> The event information. </p>
154
320
  */
155
321
  export interface ConfigurationEvent {
322
+ /**
323
+ * <p>The name of the resource group of the application to which the configuration event belongs.</p>
324
+ */
325
+ ResourceGroupName?: string;
326
+ /**
327
+ * <p>The AWS account ID for the owner of the application to which the configuration event belongs.</p>
328
+ */
329
+ AccountId?: string;
156
330
  /**
157
331
  * <p> The resource monitored by Application Insights. </p>
158
332
  */
@@ -274,8 +448,8 @@ export interface CreateApplicationRequest {
274
448
  AutoCreate?: boolean;
275
449
  /**
276
450
  * <p>Application Insights can create applications based on a resource group or on an account.
277
- * To create an account-based application using all of the resources in the account, set this parameter to <code>ACCOUNT_BASED</code>.
278
- * </p>
451
+ * To create an account-based application using all of the resources in the account, set this
452
+ * parameter to <code>ACCOUNT_BASED</code>. </p>
279
453
  */
280
454
  GroupingType?: GroupingType | string;
281
455
  }
@@ -288,45 +462,6 @@ export interface CreateApplicationResponse {
288
462
  */
289
463
  ApplicationInfo?: ApplicationInfo;
290
464
  }
291
- /**
292
- * @public
293
- * <p>The server encountered an internal error and is unable to complete the request.</p>
294
- */
295
- export declare class InternalServerException extends __BaseException {
296
- readonly name: "InternalServerException";
297
- readonly $fault: "server";
298
- Message?: string;
299
- /**
300
- * @internal
301
- */
302
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
303
- }
304
- /**
305
- * @public
306
- * <p>The resource is already created or in use.</p>
307
- */
308
- export declare class ResourceInUseException extends __BaseException {
309
- readonly name: "ResourceInUseException";
310
- readonly $fault: "client";
311
- Message?: string;
312
- /**
313
- * @internal
314
- */
315
- constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
316
- }
317
- /**
318
- * @public
319
- * <p>The resource does not exist in the customer account.</p>
320
- */
321
- export declare class ResourceNotFoundException extends __BaseException {
322
- readonly name: "ResourceNotFoundException";
323
- readonly $fault: "client";
324
- Message?: string;
325
- /**
326
- * @internal
327
- */
328
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
329
- }
330
465
  /**
331
466
  * @public
332
467
  * <p>Tags are already registered for the specified application ARN.</p>
@@ -340,19 +475,6 @@ export declare class TagsAlreadyExistException extends __BaseException {
340
475
  */
341
476
  constructor(opts: __ExceptionOptionType<TagsAlreadyExistException, __BaseException>);
342
477
  }
343
- /**
344
- * @public
345
- * <p>The parameter is not valid.</p>
346
- */
347
- export declare class ValidationException extends __BaseException {
348
- readonly name: "ValidationException";
349
- readonly $fault: "client";
350
- Message?: string;
351
- /**
352
- * @internal
353
- */
354
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
355
- }
356
478
  /**
357
479
  * @public
358
480
  */
@@ -523,6 +645,10 @@ export interface DescribeApplicationRequest {
523
645
  * <p>The name of the resource group.</p>
524
646
  */
525
647
  ResourceGroupName: string | undefined;
648
+ /**
649
+ * <p>The AWS account ID for the resource group owner.</p>
650
+ */
651
+ AccountId?: string;
526
652
  }
527
653
  /**
528
654
  * @public
@@ -545,6 +671,10 @@ export interface DescribeComponentRequest {
545
671
  * <p>The name of the component.</p>
546
672
  */
547
673
  ComponentName: string | undefined;
674
+ /**
675
+ * <p>The AWS account ID for the resource group owner.</p>
676
+ */
677
+ AccountId?: string;
548
678
  }
549
679
  /**
550
680
  * @public
@@ -572,6 +702,10 @@ export interface DescribeComponentConfigurationRequest {
572
702
  * <p>The name of the component.</p>
573
703
  */
574
704
  ComponentName: string | undefined;
705
+ /**
706
+ * <p>The AWS account ID for the resource group owner.</p>
707
+ */
708
+ AccountId?: string;
575
709
  }
576
710
  /**
577
711
  * @public
@@ -594,6 +728,19 @@ export interface DescribeComponentConfigurationResponse {
594
728
  */
595
729
  ComponentConfiguration?: string;
596
730
  }
731
+ /**
732
+ * @public
733
+ * @enum
734
+ */
735
+ export declare const RecommendationType: {
736
+ readonly ALL: "ALL";
737
+ readonly INFRA_ONLY: "INFRA_ONLY";
738
+ readonly WORKLOAD_ONLY: "WORKLOAD_ONLY";
739
+ };
740
+ /**
741
+ * @public
742
+ */
743
+ export type RecommendationType = (typeof RecommendationType)[keyof typeof RecommendationType];
597
744
  /**
598
745
  * @public
599
746
  */
@@ -610,6 +757,10 @@ export interface DescribeComponentConfigurationRecommendationRequest {
610
757
  * <p>The tier of the application component.</p>
611
758
  */
612
759
  Tier: Tier | string | undefined;
760
+ /**
761
+ * <p>The recommended configuration type.</p>
762
+ */
763
+ RecommendationType?: RecommendationType | string;
613
764
  }
614
765
  /**
615
766
  * @public
@@ -637,6 +788,10 @@ export interface DescribeLogPatternRequest {
637
788
  * <p>The name of the log pattern.</p>
638
789
  */
639
790
  PatternName: string | undefined;
791
+ /**
792
+ * <p>The AWS account ID for the resource group owner.</p>
793
+ */
794
+ AccountId?: string;
640
795
  }
641
796
  /**
642
797
  * @public
@@ -646,6 +801,10 @@ export interface DescribeLogPatternResponse {
646
801
  * <p>The name of the resource group.</p>
647
802
  */
648
803
  ResourceGroupName?: string;
804
+ /**
805
+ * <p>The AWS account ID for the resource group owner.</p>
806
+ */
807
+ AccountId?: string;
649
808
  /**
650
809
  * <p>The successfully created log pattern.</p>
651
810
  */
@@ -659,11 +818,24 @@ export interface DescribeObservationRequest {
659
818
  * <p>The ID of the observation.</p>
660
819
  */
661
820
  ObservationId: string | undefined;
821
+ /**
822
+ * <p>The AWS account ID for the resource group owner.</p>
823
+ */
824
+ AccountId?: string;
662
825
  }
826
+ /**
827
+ * @public
828
+ * @enum
829
+ */
830
+ export declare const LogFilter: {
831
+ readonly ERROR: "ERROR";
832
+ readonly INFO: "INFO";
833
+ readonly WARN: "WARN";
834
+ };
663
835
  /**
664
836
  * @public
665
837
  */
666
- export type LogFilter = "ERROR" | "INFO" | "WARN";
838
+ export type LogFilter = (typeof LogFilter)[keyof typeof LogFilter];
667
839
  /**
668
840
  * @public
669
841
  * <p>Describes an anomaly or error with the application.</p>
@@ -878,23 +1050,89 @@ export interface DescribeProblemRequest {
878
1050
  * <p>The ID of the problem.</p>
879
1051
  */
880
1052
  ProblemId: string | undefined;
1053
+ /**
1054
+ * <p>The AWS account ID for the owner of the resource group affected by the problem.</p>
1055
+ */
1056
+ AccountId?: string;
881
1057
  }
882
1058
  /**
883
1059
  * @public
1060
+ * @enum
884
1061
  */
885
- export type FeedbackKey = "INSIGHTS_FEEDBACK";
1062
+ export declare const FeedbackKey: {
1063
+ readonly INSIGHTS_FEEDBACK: "INSIGHTS_FEEDBACK";
1064
+ };
886
1065
  /**
887
1066
  * @public
888
1067
  */
889
- export type FeedbackValue = "NOT_SPECIFIED" | "NOT_USEFUL" | "USEFUL";
1068
+ export type FeedbackKey = (typeof FeedbackKey)[keyof typeof FeedbackKey];
890
1069
  /**
891
1070
  * @public
1071
+ * @enum
892
1072
  */
893
- export type SeverityLevel = "High" | "Informative" | "Low" | "Medium";
1073
+ export declare const FeedbackValue: {
1074
+ readonly NOT_SPECIFIED: "NOT_SPECIFIED";
1075
+ readonly NOT_USEFUL: "NOT_USEFUL";
1076
+ readonly USEFUL: "USEFUL";
1077
+ };
1078
+ /**
1079
+ * @public
1080
+ */
1081
+ export type FeedbackValue = (typeof FeedbackValue)[keyof typeof FeedbackValue];
1082
+ /**
1083
+ * @public
1084
+ * @enum
1085
+ */
1086
+ export declare const ResolutionMethod: {
1087
+ readonly AUTOMATIC: "AUTOMATIC";
1088
+ readonly MANUAL: "MANUAL";
1089
+ readonly UNRESOLVED: "UNRESOLVED";
1090
+ };
1091
+ /**
1092
+ * @public
1093
+ */
1094
+ export type ResolutionMethod = (typeof ResolutionMethod)[keyof typeof ResolutionMethod];
1095
+ /**
1096
+ * @public
1097
+ * @enum
1098
+ */
1099
+ export declare const SeverityLevel: {
1100
+ readonly High: "High";
1101
+ readonly Informative: "Informative";
1102
+ readonly Low: "Low";
1103
+ readonly Medium: "Medium";
1104
+ };
894
1105
  /**
895
1106
  * @public
896
1107
  */
897
- export type Status = "IGNORE" | "PENDING" | "RECURRING" | "RESOLVED";
1108
+ export type SeverityLevel = (typeof SeverityLevel)[keyof typeof SeverityLevel];
1109
+ /**
1110
+ * @public
1111
+ * @enum
1112
+ */
1113
+ export declare const Status: {
1114
+ readonly IGNORE: "IGNORE";
1115
+ readonly PENDING: "PENDING";
1116
+ readonly RECOVERING: "RECOVERING";
1117
+ readonly RECURRING: "RECURRING";
1118
+ readonly RESOLVED: "RESOLVED";
1119
+ };
1120
+ /**
1121
+ * @public
1122
+ */
1123
+ export type Status = (typeof Status)[keyof typeof Status];
1124
+ /**
1125
+ * @public
1126
+ * @enum
1127
+ */
1128
+ export declare const Visibility: {
1129
+ readonly IGNORED: "IGNORED";
1130
+ readonly VISIBLE: "VISIBLE";
1131
+ };
1132
+ /**
1133
+ * @public
1134
+ */
1135
+ export type Visibility = (typeof Visibility)[keyof typeof Visibility];
898
1136
  /**
899
1137
  * @public
900
1138
  * <p>Describes a problem that is detected by correlating observations.</p>
@@ -932,6 +1170,10 @@ export interface Problem {
932
1170
  * <p>A measure of the level of impact of the problem.</p>
933
1171
  */
934
1172
  SeverityLevel?: SeverityLevel | string;
1173
+ /**
1174
+ * <p>The AWS account ID for the owner of the resource group affected by the problem.</p>
1175
+ */
1176
+ AccountId?: string;
935
1177
  /**
936
1178
  * <p>The name of the resource group affected by the problem.</p>
937
1179
  */
@@ -949,6 +1191,17 @@ export interface Problem {
949
1191
  * <p> The last time that the problem reoccurred after its last resolution. </p>
950
1192
  */
951
1193
  LastRecurrenceTime?: Date;
1194
+ /**
1195
+ * <p>Specifies whether or not you can view the problem. Updates to ignored problems do not
1196
+ * generate notifications.</p>
1197
+ */
1198
+ Visibility?: Visibility | string;
1199
+ /**
1200
+ * <p>Specifies how the problem was resolved. If the value is <code>AUTOMATIC</code>, the
1201
+ * system resolved the problem. If the value is <code>MANUAL</code>, the user resolved the
1202
+ * problem. If the value is <code>UNRESOLVED</code>, then the problem is not resolved.</p>
1203
+ */
1204
+ ResolutionMethod?: ResolutionMethod | string;
952
1205
  }
953
1206
  /**
954
1207
  * @public
@@ -967,6 +1220,10 @@ export interface DescribeProblemObservationsRequest {
967
1220
  * <p>The ID of the problem.</p>
968
1221
  */
969
1222
  ProblemId: string | undefined;
1223
+ /**
1224
+ * <p>The AWS account ID for the resource group owner.</p>
1225
+ */
1226
+ AccountId?: string;
970
1227
  }
971
1228
  /**
972
1229
  * @public
@@ -987,6 +1244,44 @@ export interface DescribeProblemObservationsResponse {
987
1244
  */
988
1245
  RelatedObservations?: RelatedObservations;
989
1246
  }
1247
+ /**
1248
+ * @public
1249
+ */
1250
+ export interface DescribeWorkloadRequest {
1251
+ /**
1252
+ * <p>The name of the resource group.</p>
1253
+ */
1254
+ ResourceGroupName: string | undefined;
1255
+ /**
1256
+ * <p>The name of the component.</p>
1257
+ */
1258
+ ComponentName: string | undefined;
1259
+ /**
1260
+ * <p>The ID of the workload.</p>
1261
+ */
1262
+ WorkloadId: string | undefined;
1263
+ /**
1264
+ * <p>The AWS account ID for the workload owner.</p>
1265
+ */
1266
+ AccountId?: string;
1267
+ }
1268
+ /**
1269
+ * @public
1270
+ */
1271
+ export interface DescribeWorkloadResponse {
1272
+ /**
1273
+ * <p>The ID of the workload.</p>
1274
+ */
1275
+ WorkloadId?: string;
1276
+ /**
1277
+ * <p>If logging is supported for the resource type, shows whether the component has configured logs to be monitored.</p>
1278
+ */
1279
+ WorkloadRemarks?: string;
1280
+ /**
1281
+ * <p>The configuration settings of the workload. The value is the escaped JSON of the configuration.</p>
1282
+ */
1283
+ WorkloadConfiguration?: WorkloadConfiguration;
1284
+ }
990
1285
  /**
991
1286
  * @public
992
1287
  */
@@ -1000,6 +1295,10 @@ export interface ListApplicationsRequest {
1000
1295
  * <p>The token to request the next page of results.</p>
1001
1296
  */
1002
1297
  NextToken?: string;
1298
+ /**
1299
+ * <p>The AWS account ID for the resource group owner.</p>
1300
+ */
1301
+ AccountId?: string;
1003
1302
  }
1004
1303
  /**
1005
1304
  * @public
@@ -1032,6 +1331,10 @@ export interface ListComponentsRequest {
1032
1331
  * <p>The token to request the next page of results.</p>
1033
1332
  */
1034
1333
  NextToken?: string;
1334
+ /**
1335
+ * <p>The AWS account ID for the resource group owner.</p>
1336
+ */
1337
+ AccountId?: string;
1035
1338
  }
1036
1339
  /**
1037
1340
  * @public
@@ -1085,6 +1388,10 @@ export interface ListConfigurationHistoryRequest {
1085
1388
  * <code>null</code> when there are no more results to return.</p>
1086
1389
  */
1087
1390
  NextToken?: string;
1391
+ /**
1392
+ * <p>The AWS account ID for the resource group owner.</p>
1393
+ */
1394
+ AccountId?: string;
1088
1395
  }
1089
1396
  /**
1090
1397
  * @public
@@ -1124,6 +1431,10 @@ export interface ListLogPatternsRequest {
1124
1431
  * <p>The token to request the next page of results.</p>
1125
1432
  */
1126
1433
  NextToken?: string;
1434
+ /**
1435
+ * <p>The AWS account ID for the resource group owner.</p>
1436
+ */
1437
+ AccountId?: string;
1127
1438
  }
1128
1439
  /**
1129
1440
  * @public
@@ -1133,6 +1444,10 @@ export interface ListLogPatternsResponse {
1133
1444
  * <p>The name of the resource group.</p>
1134
1445
  */
1135
1446
  ResourceGroupName?: string;
1447
+ /**
1448
+ * <p>The AWS account ID for the resource group owner.</p>
1449
+ */
1450
+ AccountId?: string;
1136
1451
  /**
1137
1452
  * <p>The list of log patterns.</p>
1138
1453
  */
@@ -1160,6 +1475,10 @@ export interface ListLogPatternSetsRequest {
1160
1475
  * <p>The token to request the next page of results.</p>
1161
1476
  */
1162
1477
  NextToken?: string;
1478
+ /**
1479
+ * <p>The AWS account ID for the resource group owner.</p>
1480
+ */
1481
+ AccountId?: string;
1163
1482
  }
1164
1483
  /**
1165
1484
  * @public
@@ -1169,6 +1488,10 @@ export interface ListLogPatternSetsResponse {
1169
1488
  * <p>The name of the resource group.</p>
1170
1489
  */
1171
1490
  ResourceGroupName?: string;
1491
+ /**
1492
+ * <p>The AWS account ID for the resource group owner.</p>
1493
+ */
1494
+ AccountId?: string;
1172
1495
  /**
1173
1496
  * <p>The list of log pattern sets.</p>
1174
1497
  */
@@ -1183,6 +1506,10 @@ export interface ListLogPatternSetsResponse {
1183
1506
  * @public
1184
1507
  */
1185
1508
  export interface ListProblemsRequest {
1509
+ /**
1510
+ * <p>The AWS account ID for the resource group owner.</p>
1511
+ */
1512
+ AccountId?: string;
1186
1513
  /**
1187
1514
  * <p>The name of the resource group.</p>
1188
1515
  */
@@ -1210,6 +1537,11 @@ export interface ListProblemsRequest {
1210
1537
  * <p> The name of the component. </p>
1211
1538
  */
1212
1539
  ComponentName?: string;
1540
+ /**
1541
+ * <p>Specifies whether or not you can view the problem. If not specified, visible and
1542
+ * ignored problems are returned.</p>
1543
+ */
1544
+ Visibility?: Visibility | string;
1213
1545
  }
1214
1546
  /**
1215
1547
  * @public
@@ -1228,6 +1560,10 @@ export interface ListProblemsResponse {
1228
1560
  * <p> The name of the resource group. </p>
1229
1561
  */
1230
1562
  ResourceGroupName?: string;
1563
+ /**
1564
+ * <p>The AWS account ID for the resource group owner.</p>
1565
+ */
1566
+ AccountId?: string;
1231
1567
  }
1232
1568
  /**
1233
1569
  * @public
@@ -1250,6 +1586,93 @@ export interface ListTagsForResourceResponse {
1250
1586
  */
1251
1587
  Tags?: Tag[];
1252
1588
  }
1589
+ /**
1590
+ * @public
1591
+ */
1592
+ export interface ListWorkloadsRequest {
1593
+ /**
1594
+ * <p>The name of the resource group.</p>
1595
+ */
1596
+ ResourceGroupName: string | undefined;
1597
+ /**
1598
+ * <p>The name of the component.</p>
1599
+ */
1600
+ ComponentName: string | undefined;
1601
+ /**
1602
+ * <p>The maximum number of results to return in a single call. To retrieve the remaining
1603
+ * results, make another call with the returned <code>NextToken</code> value.</p>
1604
+ */
1605
+ MaxResults?: number;
1606
+ /**
1607
+ * <p>The token to request the next page of results.</p>
1608
+ */
1609
+ NextToken?: string;
1610
+ /**
1611
+ * <p>The AWS account ID of the owner of the workload.</p>
1612
+ */
1613
+ AccountId?: string;
1614
+ }
1615
+ /**
1616
+ * @public
1617
+ * <p>Describes the workloads on a component.</p>
1618
+ */
1619
+ export interface Workload {
1620
+ /**
1621
+ * <p>The ID of the workload.</p>
1622
+ */
1623
+ WorkloadId?: string;
1624
+ /**
1625
+ * <p>The name of the component.</p>
1626
+ */
1627
+ ComponentName?: string;
1628
+ /**
1629
+ * <p>The name of the workload.</p>
1630
+ */
1631
+ WorkloadName?: string;
1632
+ /**
1633
+ * <p>The tier of the workload.</p>
1634
+ */
1635
+ Tier?: Tier | string;
1636
+ /**
1637
+ * <p>If logging is supported for the resource type, shows whether the component has configured logs to be monitored.</p>
1638
+ */
1639
+ WorkloadRemarks?: string;
1640
+ }
1641
+ /**
1642
+ * @public
1643
+ */
1644
+ export interface ListWorkloadsResponse {
1645
+ /**
1646
+ * <p>The list of workloads.</p>
1647
+ */
1648
+ WorkloadList?: Workload[];
1649
+ /**
1650
+ * <p>The token to request the next page of results.</p>
1651
+ */
1652
+ NextToken?: string;
1653
+ }
1654
+ /**
1655
+ * @public
1656
+ */
1657
+ export interface RemoveWorkloadRequest {
1658
+ /**
1659
+ * <p>The name of the resource group.</p>
1660
+ */
1661
+ ResourceGroupName: string | undefined;
1662
+ /**
1663
+ * <p>The name of the component.</p>
1664
+ */
1665
+ ComponentName: string | undefined;
1666
+ /**
1667
+ * <p>The ID of the workload.</p>
1668
+ */
1669
+ WorkloadId: string | undefined;
1670
+ }
1671
+ /**
1672
+ * @public
1673
+ */
1674
+ export interface RemoveWorkloadResponse {
1675
+ }
1253
1676
  /**
1254
1677
  * @public
1255
1678
  */
@@ -1467,3 +1890,73 @@ export interface UpdateLogPatternResponse {
1467
1890
  */
1468
1891
  LogPattern?: LogPattern;
1469
1892
  }
1893
+ /**
1894
+ * @public
1895
+ * @enum
1896
+ */
1897
+ export declare const UpdateStatus: {
1898
+ readonly RESOLVED: "RESOLVED";
1899
+ };
1900
+ /**
1901
+ * @public
1902
+ */
1903
+ export type UpdateStatus = (typeof UpdateStatus)[keyof typeof UpdateStatus];
1904
+ /**
1905
+ * @public
1906
+ */
1907
+ export interface UpdateProblemRequest {
1908
+ /**
1909
+ * <p>The ID of the problem.</p>
1910
+ */
1911
+ ProblemId: string | undefined;
1912
+ /**
1913
+ * <p>The status of the problem. Arguments can be passed for only problems that show a status
1914
+ * of <code>RECOVERING</code>.</p>
1915
+ */
1916
+ UpdateStatus?: UpdateStatus | string;
1917
+ /**
1918
+ * <p>The visibility of a problem. When you pass a value of <code>IGNORED</code>, the problem
1919
+ * is removed from the default view, and all notifications for the problem are suspended. When
1920
+ * <code>VISIBLE</code> is passed, the <code>IGNORED</code> action is reversed.</p>
1921
+ */
1922
+ Visibility?: Visibility | string;
1923
+ }
1924
+ /**
1925
+ * @public
1926
+ */
1927
+ export interface UpdateProblemResponse {
1928
+ }
1929
+ /**
1930
+ * @public
1931
+ */
1932
+ export interface UpdateWorkloadRequest {
1933
+ /**
1934
+ * <p>The name of the resource group.</p>
1935
+ */
1936
+ ResourceGroupName: string | undefined;
1937
+ /**
1938
+ * <p> The name of the component. </p>
1939
+ */
1940
+ ComponentName: string | undefined;
1941
+ /**
1942
+ * <p>The ID of the workload.</p>
1943
+ */
1944
+ WorkloadId?: string;
1945
+ /**
1946
+ * <p>The configuration settings of the workload. The value is the escaped JSON of the configuration.</p>
1947
+ */
1948
+ WorkloadConfiguration: WorkloadConfiguration | undefined;
1949
+ }
1950
+ /**
1951
+ * @public
1952
+ */
1953
+ export interface UpdateWorkloadResponse {
1954
+ /**
1955
+ * <p>The ID of the workload.</p>
1956
+ */
1957
+ WorkloadId?: string;
1958
+ /**
1959
+ * <p>The configuration settings of the workload. The value is the escaped JSON of the configuration.</p>
1960
+ */
1961
+ WorkloadConfiguration?: WorkloadConfiguration;
1962
+ }