@aws-sdk/client-application-insights 3.427.0 → 3.429.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.
@@ -58,7 +58,7 @@ export interface WorkloadConfiguration {
58
58
  * @public
59
59
  * <p>The configuration of the workload tier.</p>
60
60
  */
61
- Tier?: Tier | string;
61
+ Tier?: Tier;
62
62
  /**
63
63
  * @public
64
64
  * <p>The configuration settings of the workload.</p>
@@ -191,12 +191,12 @@ export interface ApplicationComponent {
191
191
  * @public
192
192
  * <p> The operating system of the component. </p>
193
193
  */
194
- OsType?: OsType | string;
194
+ OsType?: OsType;
195
195
  /**
196
196
  * @public
197
197
  * <p>The stack tier of the application component.</p>
198
198
  */
199
- Tier?: Tier | string;
199
+ Tier?: Tier;
200
200
  /**
201
201
  * @public
202
202
  * <p>Indicates whether the application component is monitored. </p>
@@ -206,7 +206,7 @@ export interface ApplicationComponent {
206
206
  * @public
207
207
  * <p> Workloads detected in the application component. </p>
208
208
  */
209
- DetectedWorkload?: Record<string, Record<string, string>>;
209
+ DetectedWorkload?: Record<Tier, Record<string, string>>;
210
210
  }
211
211
  /**
212
212
  * @public
@@ -282,7 +282,7 @@ export interface ApplicationInfo {
282
282
  * @public
283
283
  * <p> The method used by Application Insights to onboard your resources. </p>
284
284
  */
285
- DiscoveryType?: DiscoveryType | string;
285
+ DiscoveryType?: DiscoveryType;
286
286
  }
287
287
  /**
288
288
  * @public
@@ -363,13 +363,13 @@ export interface ConfigurationEvent {
363
363
  * <p> The status of the configuration update event. Possible values include INFO, WARN, and
364
364
  * ERROR. </p>
365
365
  */
366
- EventStatus?: ConfigurationEventStatus | string;
366
+ EventStatus?: ConfigurationEventStatus;
367
367
  /**
368
368
  * @public
369
369
  * <p> The resource type that Application Insights attempted to configure, for example,
370
370
  * CLOUDWATCH_ALARM. </p>
371
371
  */
372
- EventResourceType?: ConfigurationEventResourceType | string;
372
+ EventResourceType?: ConfigurationEventResourceType;
373
373
  /**
374
374
  * @public
375
375
  * <p> The timestamp of the event. </p>
@@ -493,7 +493,7 @@ export interface CreateApplicationRequest {
493
493
  * To create an account-based application using all of the resources in the account, set this
494
494
  * parameter to <code>ACCOUNT_BASED</code>. </p>
495
495
  */
496
- GroupingType?: GroupingType | string;
496
+ GroupingType?: GroupingType;
497
497
  }
498
498
  /**
499
499
  * @public
@@ -797,7 +797,7 @@ export interface DescribeComponentConfigurationResponse {
797
797
  * <code>SQL_SERVER</code>, and <code>DEFAULT</code>
798
798
  * </p>
799
799
  */
800
- Tier?: Tier | string;
800
+ Tier?: Tier;
801
801
  /**
802
802
  * @public
803
803
  * <p>The configuration settings of the component. The value is the escaped JSON of the
@@ -836,12 +836,12 @@ export interface DescribeComponentConfigurationRecommendationRequest {
836
836
  * @public
837
837
  * <p>The tier of the application component.</p>
838
838
  */
839
- Tier: Tier | string | undefined;
839
+ Tier: Tier | undefined;
840
840
  /**
841
841
  * @public
842
842
  * <p>The recommended configuration type.</p>
843
843
  */
844
- RecommendationType?: RecommendationType | string;
844
+ RecommendationType?: RecommendationType;
845
845
  }
846
846
  /**
847
847
  * @public
@@ -977,7 +977,7 @@ export interface Observation {
977
977
  * @public
978
978
  * <p>The log filter of the observation.</p>
979
979
  */
980
- LogFilter?: LogFilter | string;
980
+ LogFilter?: LogFilter;
981
981
  /**
982
982
  * @public
983
983
  * <p>The namespace of the observation metric.</p>
@@ -1008,7 +1008,7 @@ export interface Observation {
1008
1008
  * @public
1009
1009
  * <p> The source of the CloudWatch Event. </p>
1010
1010
  */
1011
- CloudWatchEventSource?: CloudWatchEventSource | string;
1011
+ CloudWatchEventSource?: CloudWatchEventSource;
1012
1012
  /**
1013
1013
  * @public
1014
1014
  * <p> The detail type of the CloudWatch Event-based observation, for example, <code>EC2
@@ -1296,7 +1296,7 @@ export interface Problem {
1296
1296
  * @public
1297
1297
  * <p>The status of the problem.</p>
1298
1298
  */
1299
- Status?: Status | string;
1299
+ Status?: Status;
1300
1300
  /**
1301
1301
  * @public
1302
1302
  * <p>The resource affected by the problem.</p>
@@ -1316,7 +1316,7 @@ export interface Problem {
1316
1316
  * @public
1317
1317
  * <p>A measure of the level of impact of the problem.</p>
1318
1318
  */
1319
- SeverityLevel?: SeverityLevel | string;
1319
+ SeverityLevel?: SeverityLevel;
1320
1320
  /**
1321
1321
  * @public
1322
1322
  * <p>The AWS account ID for the owner of the resource group affected by the problem.</p>
@@ -1331,7 +1331,7 @@ export interface Problem {
1331
1331
  * @public
1332
1332
  * <p>Feedback provided by the user about the problem.</p>
1333
1333
  */
1334
- Feedback?: Record<string, FeedbackValue | string>;
1334
+ Feedback?: Record<FeedbackKey, FeedbackValue>;
1335
1335
  /**
1336
1336
  * @public
1337
1337
  * <p> The number of times that the same problem reoccurred after the first time it was
@@ -1348,14 +1348,14 @@ export interface Problem {
1348
1348
  * <p>Specifies whether or not you can view the problem. Updates to ignored problems do not
1349
1349
  * generate notifications.</p>
1350
1350
  */
1351
- Visibility?: Visibility | string;
1351
+ Visibility?: Visibility;
1352
1352
  /**
1353
1353
  * @public
1354
1354
  * <p>Specifies how the problem was resolved. If the value is <code>AUTOMATIC</code>, the
1355
1355
  * system resolved the problem. If the value is <code>MANUAL</code>, the user resolved the
1356
1356
  * problem. If the value is <code>UNRESOLVED</code>, then the problem is not resolved.</p>
1357
1357
  */
1358
- ResolutionMethod?: ResolutionMethod | string;
1358
+ ResolutionMethod?: ResolutionMethod;
1359
1359
  }
1360
1360
  /**
1361
1361
  * @public
@@ -1550,7 +1550,7 @@ export interface ListConfigurationHistoryRequest {
1550
1550
  * <p>The status of the configuration update event. Possible values include INFO, WARN, and
1551
1551
  * ERROR.</p>
1552
1552
  */
1553
- EventStatus?: ConfigurationEventStatus | string;
1553
+ EventStatus?: ConfigurationEventStatus;
1554
1554
  /**
1555
1555
  * @public
1556
1556
  * <p> The maximum number of results returned by <code>ListConfigurationHistory</code> in
@@ -1752,7 +1752,7 @@ export interface ListProblemsRequest {
1752
1752
  * <p>Specifies whether or not you can view the problem. If not specified, visible and
1753
1753
  * ignored problems are returned.</p>
1754
1754
  */
1755
- Visibility?: Visibility | string;
1755
+ Visibility?: Visibility;
1756
1756
  }
1757
1757
  /**
1758
1758
  * @public
@@ -1858,7 +1858,7 @@ export interface Workload {
1858
1858
  * @public
1859
1859
  * <p>The tier of the workload.</p>
1860
1860
  */
1861
- Tier?: Tier | string;
1861
+ Tier?: Tier;
1862
1862
  /**
1863
1863
  * @public
1864
1864
  * <p>If logging is supported for the resource type, shows whether the component has configured logs to be monitored.</p>
@@ -2074,7 +2074,7 @@ export interface UpdateComponentConfigurationRequest {
2074
2074
  * @public
2075
2075
  * <p>The tier of the application component.</p>
2076
2076
  */
2077
- Tier?: Tier | string;
2077
+ Tier?: Tier;
2078
2078
  /**
2079
2079
  * @public
2080
2080
  * <p>The configuration settings of the component. The value is the escaped JSON of the
@@ -2176,14 +2176,14 @@ export interface UpdateProblemRequest {
2176
2176
  * <p>The status of the problem. Arguments can be passed for only problems that show a status
2177
2177
  * of <code>RECOVERING</code>.</p>
2178
2178
  */
2179
- UpdateStatus?: UpdateStatus | string;
2179
+ UpdateStatus?: UpdateStatus;
2180
2180
  /**
2181
2181
  * @public
2182
2182
  * <p>The visibility of a problem. When you pass a value of <code>IGNORED</code>, the problem
2183
2183
  * is removed from the default view, and all notifications for the problem are suspended. When
2184
2184
  * <code>VISIBLE</code> is passed, the <code>IGNORED</code> action is reversed.</p>
2185
2185
  */
2186
- Visibility?: Visibility | string;
2186
+ Visibility?: Visibility;
2187
2187
  }
2188
2188
  /**
2189
2189
  * @public
@@ -34,7 +34,7 @@ export declare const Tier: {
34
34
  export type Tier = (typeof Tier)[keyof typeof Tier];
35
35
  export interface WorkloadConfiguration {
36
36
  WorkloadName?: string;
37
- Tier?: Tier | string;
37
+ Tier?: Tier;
38
38
  Configuration?: string;
39
39
  }
40
40
  export interface AddWorkloadRequest {
@@ -87,10 +87,10 @@ export interface ApplicationComponent {
87
87
  ComponentName?: string;
88
88
  ComponentRemarks?: string;
89
89
  ResourceType?: string;
90
- OsType?: OsType | string;
91
- Tier?: Tier | string;
90
+ OsType?: OsType;
91
+ Tier?: Tier;
92
92
  Monitor?: boolean;
93
- DetectedWorkload?: Record<string, Record<string, string>>;
93
+ DetectedWorkload?: Record<Tier, Record<string, string>>;
94
94
  }
95
95
  export declare const DiscoveryType: {
96
96
  readonly ACCOUNT_BASED: "ACCOUNT_BASED";
@@ -106,7 +106,7 @@ export interface ApplicationInfo {
106
106
  CWEMonitorEnabled?: boolean;
107
107
  Remarks?: string;
108
108
  AutoConfigEnabled?: boolean;
109
- DiscoveryType?: DiscoveryType | string;
109
+ DiscoveryType?: DiscoveryType;
110
110
  }
111
111
  export declare class BadRequestException extends __BaseException {
112
112
  readonly name: "BadRequestException";
@@ -143,8 +143,8 @@ export interface ConfigurationEvent {
143
143
  ResourceGroupName?: string;
144
144
  AccountId?: string;
145
145
  MonitoredResourceARN?: string;
146
- EventStatus?: ConfigurationEventStatus | string;
147
- EventResourceType?: ConfigurationEventResourceType | string;
146
+ EventStatus?: ConfigurationEventStatus;
147
+ EventResourceType?: ConfigurationEventResourceType;
148
148
  EventTime?: Date;
149
149
  EventDetail?: string;
150
150
  EventResourceName?: string;
@@ -165,7 +165,7 @@ export interface CreateApplicationRequest {
165
165
  Tags?: Tag[];
166
166
  AutoConfigEnabled?: boolean;
167
167
  AutoCreate?: boolean;
168
- GroupingType?: GroupingType | string;
168
+ GroupingType?: GroupingType;
169
169
  }
170
170
  export interface CreateApplicationResponse {
171
171
  ApplicationInfo?: ApplicationInfo;
@@ -239,7 +239,7 @@ export interface DescribeComponentConfigurationRequest {
239
239
  }
240
240
  export interface DescribeComponentConfigurationResponse {
241
241
  Monitor?: boolean;
242
- Tier?: Tier | string;
242
+ Tier?: Tier;
243
243
  ComponentConfiguration?: string;
244
244
  }
245
245
  export declare const RecommendationType: {
@@ -252,8 +252,8 @@ export type RecommendationType =
252
252
  export interface DescribeComponentConfigurationRecommendationRequest {
253
253
  ResourceGroupName: string | undefined;
254
254
  ComponentName: string | undefined;
255
- Tier: Tier | string | undefined;
256
- RecommendationType?: RecommendationType | string;
255
+ Tier: Tier | undefined;
256
+ RecommendationType?: RecommendationType;
257
257
  }
258
258
  export interface DescribeComponentConfigurationRecommendationResponse {
259
259
  ComponentConfiguration?: string;
@@ -288,13 +288,13 @@ export interface Observation {
288
288
  LogGroup?: string;
289
289
  LineTime?: Date;
290
290
  LogText?: string;
291
- LogFilter?: LogFilter | string;
291
+ LogFilter?: LogFilter;
292
292
  MetricNamespace?: string;
293
293
  MetricName?: string;
294
294
  Unit?: string;
295
295
  Value?: number;
296
296
  CloudWatchEventId?: string;
297
- CloudWatchEventSource?: CloudWatchEventSource | string;
297
+ CloudWatchEventSource?: CloudWatchEventSource;
298
298
  CloudWatchEventDetailType?: string;
299
299
  HealthEventArn?: string;
300
300
  HealthService?: string;
@@ -374,18 +374,18 @@ export interface Problem {
374
374
  Id?: string;
375
375
  Title?: string;
376
376
  Insights?: string;
377
- Status?: Status | string;
377
+ Status?: Status;
378
378
  AffectedResource?: string;
379
379
  StartTime?: Date;
380
380
  EndTime?: Date;
381
- SeverityLevel?: SeverityLevel | string;
381
+ SeverityLevel?: SeverityLevel;
382
382
  AccountId?: string;
383
383
  ResourceGroupName?: string;
384
- Feedback?: Record<string, FeedbackValue | string>;
384
+ Feedback?: Record<FeedbackKey, FeedbackValue>;
385
385
  RecurringCount?: number;
386
386
  LastRecurrenceTime?: Date;
387
- Visibility?: Visibility | string;
388
- ResolutionMethod?: ResolutionMethod | string;
387
+ Visibility?: Visibility;
388
+ ResolutionMethod?: ResolutionMethod;
389
389
  }
390
390
  export interface DescribeProblemResponse {
391
391
  Problem?: Problem;
@@ -434,7 +434,7 @@ export interface ListConfigurationHistoryRequest {
434
434
  ResourceGroupName?: string;
435
435
  StartTime?: Date;
436
436
  EndTime?: Date;
437
- EventStatus?: ConfigurationEventStatus | string;
437
+ EventStatus?: ConfigurationEventStatus;
438
438
  MaxResults?: number;
439
439
  NextToken?: string;
440
440
  AccountId?: string;
@@ -476,7 +476,7 @@ export interface ListProblemsRequest {
476
476
  MaxResults?: number;
477
477
  NextToken?: string;
478
478
  ComponentName?: string;
479
- Visibility?: Visibility | string;
479
+ Visibility?: Visibility;
480
480
  }
481
481
  export interface ListProblemsResponse {
482
482
  ProblemList?: Problem[];
@@ -501,7 +501,7 @@ export interface Workload {
501
501
  WorkloadId?: string;
502
502
  ComponentName?: string;
503
503
  WorkloadName?: string;
504
- Tier?: Tier | string;
504
+ Tier?: Tier;
505
505
  WorkloadRemarks?: string;
506
506
  }
507
507
  export interface ListWorkloadsResponse {
@@ -555,7 +555,7 @@ export interface UpdateComponentConfigurationRequest {
555
555
  ResourceGroupName: string | undefined;
556
556
  ComponentName: string | undefined;
557
557
  Monitor?: boolean;
558
- Tier?: Tier | string;
558
+ Tier?: Tier;
559
559
  ComponentConfiguration?: string;
560
560
  AutoConfigEnabled?: boolean;
561
561
  }
@@ -577,8 +577,8 @@ export declare const UpdateStatus: {
577
577
  export type UpdateStatus = (typeof UpdateStatus)[keyof typeof UpdateStatus];
578
578
  export interface UpdateProblemRequest {
579
579
  ProblemId: string | undefined;
580
- UpdateStatus?: UpdateStatus | string;
581
- Visibility?: Visibility | string;
580
+ UpdateStatus?: UpdateStatus;
581
+ Visibility?: Visibility;
582
582
  }
583
583
  export interface UpdateProblemResponse {}
584
584
  export interface UpdateWorkloadRequest {
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.427.0",
4
+ "version": "3.429.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,39 +21,39 @@
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.427.0",
25
- "@aws-sdk/credential-provider-node": "3.427.0",
26
- "@aws-sdk/middleware-host-header": "3.425.0",
27
- "@aws-sdk/middleware-logger": "3.425.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
29
- "@aws-sdk/middleware-signing": "3.425.0",
30
- "@aws-sdk/middleware-user-agent": "3.427.0",
31
- "@aws-sdk/region-config-resolver": "3.425.0",
32
- "@aws-sdk/types": "3.425.0",
33
- "@aws-sdk/util-endpoints": "3.427.0",
34
- "@aws-sdk/util-user-agent-browser": "3.425.0",
35
- "@aws-sdk/util-user-agent-node": "3.425.0",
36
- "@smithy/config-resolver": "^2.0.11",
37
- "@smithy/fetch-http-handler": "^2.2.1",
38
- "@smithy/hash-node": "^2.0.10",
39
- "@smithy/invalid-dependency": "^2.0.10",
40
- "@smithy/middleware-content-length": "^2.0.12",
41
- "@smithy/middleware-endpoint": "^2.0.10",
42
- "@smithy/middleware-retry": "^2.0.13",
43
- "@smithy/middleware-serde": "^2.0.10",
44
- "@smithy/middleware-stack": "^2.0.4",
45
- "@smithy/node-config-provider": "^2.0.13",
46
- "@smithy/node-http-handler": "^2.1.6",
47
- "@smithy/protocol-http": "^3.0.6",
48
- "@smithy/smithy-client": "^2.1.9",
49
- "@smithy/types": "^2.3.4",
50
- "@smithy/url-parser": "^2.0.10",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
+ "@aws-sdk/middleware-logger": "3.428.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
+ "@aws-sdk/middleware-signing": "3.428.0",
30
+ "@aws-sdk/middleware-user-agent": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/types": "3.428.0",
33
+ "@aws-sdk/util-endpoints": "3.428.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.428.0",
35
+ "@aws-sdk/util-user-agent-node": "3.428.0",
36
+ "@smithy/config-resolver": "^2.0.14",
37
+ "@smithy/fetch-http-handler": "^2.2.3",
38
+ "@smithy/hash-node": "^2.0.11",
39
+ "@smithy/invalid-dependency": "^2.0.11",
40
+ "@smithy/middleware-content-length": "^2.0.13",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
+ "@smithy/middleware-retry": "^2.0.16",
43
+ "@smithy/middleware-serde": "^2.0.11",
44
+ "@smithy/middleware-stack": "^2.0.5",
45
+ "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-http-handler": "^2.1.7",
47
+ "@smithy/protocol-http": "^3.0.7",
48
+ "@smithy/smithy-client": "^2.1.11",
49
+ "@smithy/types": "^2.3.5",
50
+ "@smithy/url-parser": "^2.0.11",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.13",
55
- "@smithy/util-defaults-mode-node": "^2.0.15",
56
- "@smithy/util-retry": "^2.0.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
55
+ "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0"
59
59
  },