@aws-sdk/client-application-insights 3.379.1 → 3.382.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.
- package/README.md +55 -7
- package/dist-cjs/ApplicationInsights.js +12 -0
- package/dist-cjs/commands/AddWorkloadCommand.js +46 -0
- package/dist-cjs/commands/DescribeWorkloadCommand.js +46 -0
- package/dist-cjs/commands/ListWorkloadsCommand.js +46 -0
- package/dist-cjs/commands/RemoveWorkloadCommand.js +46 -0
- package/dist-cjs/commands/UpdateProblemCommand.js +46 -0
- package/dist-cjs/commands/UpdateWorkloadCommand.js +46 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +118 -31
- package/dist-cjs/pagination/ListWorkloadsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +290 -2
- package/dist-es/ApplicationInsights.js +12 -0
- package/dist-es/commands/AddWorkloadCommand.js +42 -0
- package/dist-es/commands/DescribeWorkloadCommand.js +42 -0
- package/dist-es/commands/ListWorkloadsCommand.js +42 -0
- package/dist-es/commands/RemoveWorkloadCommand.js +42 -0
- package/dist-es/commands/UpdateProblemCommand.js +42 -0
- package/dist-es/commands/UpdateWorkloadCommand.js +42 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +114 -27
- package/dist-es/pagination/ListWorkloadsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +276 -0
- package/dist-types/ApplicationInsights.d.ts +42 -0
- package/dist-types/ApplicationInsightsClient.d.ts +8 -2
- package/dist-types/commands/AddWorkloadCommand.d.ts +96 -0
- package/dist-types/commands/CreateApplicationCommand.d.ts +3 -2
- package/dist-types/commands/DescribeApplicationCommand.d.ts +3 -1
- package/dist-types/commands/DescribeComponentCommand.d.ts +3 -2
- package/dist-types/commands/DescribeComponentConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/DescribeComponentConfigurationRecommendationCommand.d.ts +2 -1
- package/dist-types/commands/DescribeLogPatternCommand.d.ts +2 -0
- package/dist-types/commands/DescribeObservationCommand.d.ts +3 -2
- package/dist-types/commands/DescribeProblemCommand.d.ts +7 -3
- package/dist-types/commands/DescribeProblemObservationsCommand.d.ts +3 -2
- package/dist-types/commands/DescribeWorkloadCommand.d.ts +91 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +3 -1
- package/dist-types/commands/ListComponentsCommand.d.ts +3 -2
- package/dist-types/commands/ListConfigurationHistoryCommand.d.ts +6 -3
- package/dist-types/commands/ListLogPatternSetsCommand.d.ts +2 -0
- package/dist-types/commands/ListLogPatternsCommand.d.ts +2 -0
- package/dist-types/commands/ListProblemsCommand.d.ts +9 -3
- package/dist-types/commands/ListWorkloadsCommand.d.ts +95 -0
- package/dist-types/commands/RemoveWorkloadCommand.d.ts +82 -0
- package/dist-types/commands/UpdateApplicationCommand.d.ts +2 -1
- package/dist-types/commands/UpdateComponentConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateProblemCommand.d.ts +83 -0
- package/dist-types/commands/UpdateWorkloadCommand.d.ts +94 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +830 -67
- package/dist-types/pagination/ListWorkloadsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +54 -0
- package/dist-types/ts3.4/ApplicationInsights.d.ts +102 -0
- package/dist-types/ts3.4/ApplicationInsightsClient.d.ts +38 -2
- package/dist-types/ts3.4/commands/AddWorkloadCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DescribeWorkloadCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListWorkloadsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/RemoveWorkloadCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateProblemCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateWorkloadCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +227 -63
- package/dist-types/ts3.4/pagination/ListWorkloadsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +72 -0
- package/package.json +5 -5
|
@@ -8,26 +8,81 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
8
8
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
export
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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
|
|
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
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
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
|
|
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
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
export type
|
|
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>;
|
|
@@ -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.
|
|
4
|
+
"version": "3.382.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",
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.382.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.382.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.379.1",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.378.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.378.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.379.1",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.382.0",
|
|
31
31
|
"@aws-sdk/types": "3.378.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.382.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.378.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.378.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.0.1",
|