@aws-sdk/client-application-insights 3.1075.0 → 3.1077.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/dist-cjs/index.js CHANGED
@@ -1,21 +1,58 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
- const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
4
  exports.$Command = Command;
6
5
  exports.__Client = Client;
7
- const { resolveRegionConfig } = require("@smithy/core/config");
8
- const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
- const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
- const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
- const { getSchemaSerdePlugin } = require("@smithy/core/schema");
12
- const { resolveHttpAuthSchemeConfig, defaultApplicationInsightsHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { AddWorkload$, CreateApplication$, CreateComponent$, CreateLogPattern$, DeleteApplication$, DeleteComponent$, DeleteLogPattern$, DescribeApplication$, DescribeComponent$, DescribeComponentConfiguration$, DescribeComponentConfigurationRecommendation$, DescribeLogPattern$, DescribeObservation$, DescribeProblem$, DescribeProblemObservations$, DescribeWorkload$, ListApplications$, ListComponents$, ListConfigurationHistory$, ListLogPatterns$, ListLogPatternSets$, ListProblems$, ListTagsForResource$, ListWorkloads$, RemoveWorkload$, TagResource$, UntagResource$, UpdateApplication$, UpdateComponent$, UpdateComponentConfiguration$, UpdateLogPattern$, UpdateProblem$, UpdateWorkload$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { ApplicationInsightsServiceException } = require("./models/ApplicationInsightsServiceException");
18
- exports.ApplicationInsightsServiceException = ApplicationInsightsServiceException;
6
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
9
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
16
+ const { Sha256 } = require("@smithy/core/checksum");
17
+
18
+ const defaultApplicationInsightsHttpAuthSchemeParametersProvider = async (config, context, input) => {
19
+ return {
20
+ operation: getSmithyContext(context).operation,
21
+ region: await normalizeProvider(config.region)() || (() => {
22
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
23
+ })(),
24
+ };
25
+ };
26
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
27
+ return {
28
+ schemeId: "aws.auth#sigv4",
29
+ signingProperties: {
30
+ name: "applicationinsights",
31
+ region: authParameters.region,
32
+ },
33
+ propertiesExtractor: (config, context) => ({
34
+ signingProperties: {
35
+ config,
36
+ context,
37
+ },
38
+ }),
39
+ };
40
+ }
41
+ const defaultApplicationInsightsHttpAuthSchemeProvider = (authParameters) => {
42
+ const options = [];
43
+ switch (authParameters.operation) {
44
+ default: {
45
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
46
+ }
47
+ }
48
+ return options;
49
+ };
50
+ const resolveHttpAuthSchemeConfig = (config) => {
51
+ const config_0 = resolveAwsSdkSigV4Config(config);
52
+ return Object.assign(config_0, {
53
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
54
+ });
55
+ };
19
56
 
20
57
  const resolveClientEndpointParameters = (options) => {
21
58
  return Object.assign(options, {
@@ -31,6 +68,1058 @@ const commonParams = {
31
68
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
69
  };
33
70
 
71
+ var version = "3.1076.0";
72
+ var packageInfo = {
73
+ version: version};
74
+
75
+ const k = "ref";
76
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
77
+ const _data = {
78
+ conditions: [
79
+ [c, [g]],
80
+ [c, j],
81
+ ["aws.partition", j, d],
82
+ [e, [{ [k]: "UseFIPS" }, b]],
83
+ [e, [{ [k]: "UseDualStack" }, b]],
84
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
85
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
86
+ ],
87
+ results: [
88
+ [a],
89
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
90
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
91
+ [g, i],
92
+ ["https://applicationinsights-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
93
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
94
+ ["https://applicationinsights-fips.{Region}.{PartitionResult#dnsSuffix}", i],
95
+ [a, "FIPS is enabled but this partition does not support FIPS"],
96
+ ["https://applicationinsights.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
97
+ [a, "DualStack is enabled but this partition does not support DualStack"],
98
+ ["https://applicationinsights.{Region}.{PartitionResult#dnsSuffix}", i],
99
+ [a, "Invalid Configuration: Missing Region"]
100
+ ]
101
+ };
102
+ const root = 2;
103
+ const r = 100_000_000;
104
+ const nodes = new Int32Array([
105
+ -1, 1, -1,
106
+ 0, 12, 3,
107
+ 1, 4, r + 11,
108
+ 2, 5, r + 11,
109
+ 3, 8, 6,
110
+ 4, 7, r + 10,
111
+ 5, r + 8, r + 9,
112
+ 4, 10, 9,
113
+ 6, r + 6, r + 7,
114
+ 5, 11, r + 5,
115
+ 6, r + 4, r + 5,
116
+ 3, r + 1, 13,
117
+ 4, r + 2, r + 3,
118
+ ]);
119
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
120
+
121
+ const cache = new EndpointCache({
122
+ size: 50,
123
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
124
+ });
125
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
126
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
127
+ endpointParams: endpointParams,
128
+ logger: context.logger,
129
+ }));
130
+ };
131
+ customEndpointFunctions.aws = awsEndpointFunctions;
132
+
133
+ class ApplicationInsightsServiceException extends ServiceException {
134
+ constructor(options) {
135
+ super(options);
136
+ Object.setPrototypeOf(this, ApplicationInsightsServiceException.prototype);
137
+ }
138
+ }
139
+
140
+ class AccessDeniedException extends ApplicationInsightsServiceException {
141
+ name = "AccessDeniedException";
142
+ $fault = "client";
143
+ Message;
144
+ constructor(opts) {
145
+ super({
146
+ name: "AccessDeniedException",
147
+ $fault: "client",
148
+ ...opts,
149
+ });
150
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
151
+ this.Message = opts.Message;
152
+ }
153
+ }
154
+ class InternalServerException extends ApplicationInsightsServiceException {
155
+ name = "InternalServerException";
156
+ $fault = "server";
157
+ Message;
158
+ constructor(opts) {
159
+ super({
160
+ name: "InternalServerException",
161
+ $fault: "server",
162
+ ...opts,
163
+ });
164
+ Object.setPrototypeOf(this, InternalServerException.prototype);
165
+ this.Message = opts.Message;
166
+ }
167
+ }
168
+ class ResourceInUseException extends ApplicationInsightsServiceException {
169
+ name = "ResourceInUseException";
170
+ $fault = "client";
171
+ Message;
172
+ constructor(opts) {
173
+ super({
174
+ name: "ResourceInUseException",
175
+ $fault: "client",
176
+ ...opts,
177
+ });
178
+ Object.setPrototypeOf(this, ResourceInUseException.prototype);
179
+ this.Message = opts.Message;
180
+ }
181
+ }
182
+ class ResourceNotFoundException extends ApplicationInsightsServiceException {
183
+ name = "ResourceNotFoundException";
184
+ $fault = "client";
185
+ Message;
186
+ constructor(opts) {
187
+ super({
188
+ name: "ResourceNotFoundException",
189
+ $fault: "client",
190
+ ...opts,
191
+ });
192
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
193
+ this.Message = opts.Message;
194
+ }
195
+ }
196
+ class ValidationException extends ApplicationInsightsServiceException {
197
+ name = "ValidationException";
198
+ $fault = "client";
199
+ Message;
200
+ constructor(opts) {
201
+ super({
202
+ name: "ValidationException",
203
+ $fault: "client",
204
+ ...opts,
205
+ });
206
+ Object.setPrototypeOf(this, ValidationException.prototype);
207
+ this.Message = opts.Message;
208
+ }
209
+ }
210
+ class BadRequestException extends ApplicationInsightsServiceException {
211
+ name = "BadRequestException";
212
+ $fault = "client";
213
+ Message;
214
+ constructor(opts) {
215
+ super({
216
+ name: "BadRequestException",
217
+ $fault: "client",
218
+ ...opts,
219
+ });
220
+ Object.setPrototypeOf(this, BadRequestException.prototype);
221
+ this.Message = opts.Message;
222
+ }
223
+ }
224
+ class TagsAlreadyExistException extends ApplicationInsightsServiceException {
225
+ name = "TagsAlreadyExistException";
226
+ $fault = "client";
227
+ Message;
228
+ constructor(opts) {
229
+ super({
230
+ name: "TagsAlreadyExistException",
231
+ $fault: "client",
232
+ ...opts,
233
+ });
234
+ Object.setPrototypeOf(this, TagsAlreadyExistException.prototype);
235
+ this.Message = opts.Message;
236
+ }
237
+ }
238
+ class TooManyTagsException extends ApplicationInsightsServiceException {
239
+ name = "TooManyTagsException";
240
+ $fault = "client";
241
+ Message;
242
+ ResourceName;
243
+ constructor(opts) {
244
+ super({
245
+ name: "TooManyTagsException",
246
+ $fault: "client",
247
+ ...opts,
248
+ });
249
+ Object.setPrototypeOf(this, TooManyTagsException.prototype);
250
+ this.Message = opts.Message;
251
+ this.ResourceName = opts.ResourceName;
252
+ }
253
+ }
254
+
255
+ const _AC = "ApplicationComponent";
256
+ const _ACE = "AutoConfigEnabled";
257
+ const _ACL = "ApplicationComponentList";
258
+ const _ACu = "AutoCreate";
259
+ const _ADE = "AccessDeniedException";
260
+ const _AI = "ApplicationInfo";
261
+ const _AIL = "ApplicationInfoList";
262
+ const _AIc = "AccountId";
263
+ const _AMP = "AttachMissingPermission";
264
+ const _AR = "AffectedResource";
265
+ const _AW = "AddWorkload";
266
+ const _AWR = "AddWorkloadRequest";
267
+ const _AWRd = "AddWorkloadResponse";
268
+ const _BRE = "BadRequestException";
269
+ const _C = "Configuration";
270
+ const _CA = "CreateApplication";
271
+ const _CAR = "CreateApplicationRequest";
272
+ const _CARr = "CreateApplicationResponse";
273
+ const _CC = "ComponentConfiguration";
274
+ const _CCR = "CreateComponentRequest";
275
+ const _CCRr = "CreateComponentResponse";
276
+ const _CCr = "CreateComponent";
277
+ const _CDA = "CodeDeployApplication";
278
+ const _CDDG = "CodeDeployDeploymentGroup";
279
+ const _CDDI = "CodeDeployDeploymentId";
280
+ const _CDIGI = "CodeDeployInstanceGroupId";
281
+ const _CDS = "CodeDeployState";
282
+ const _CE = "ConfigurationEvent";
283
+ const _CEL = "ConfigurationEventList";
284
+ const _CLP = "CreateLogPattern";
285
+ const _CLPR = "CreateLogPatternRequest";
286
+ const _CLPRr = "CreateLogPatternResponse";
287
+ const _CN = "ComponentName";
288
+ const _CR = "ComponentRemarks";
289
+ const _CWEDT = "CloudWatchEventDetailType";
290
+ const _CWEI = "CloudWatchEventId";
291
+ const _CWEME = "CWEMonitorEnabled";
292
+ const _CWES = "CloudWatchEventSource";
293
+ const _DA = "DeleteApplication";
294
+ const _DAR = "DeleteApplicationRequest";
295
+ const _DARe = "DeleteApplicationResponse";
296
+ const _DARes = "DescribeApplicationRequest";
297
+ const _DAResc = "DescribeApplicationResponse";
298
+ const _DAe = "DescribeApplication";
299
+ const _DC = "DeleteComponent";
300
+ const _DCC = "DescribeComponentConfiguration";
301
+ const _DCCR = "DescribeComponentConfigurationRequest";
302
+ const _DCCRR = "DescribeComponentConfigurationRecommendationRequest";
303
+ const _DCCRRe = "DescribeComponentConfigurationRecommendationResponse";
304
+ const _DCCRe = "DescribeComponentConfigurationResponse";
305
+ const _DCCRes = "DescribeComponentConfigurationRecommendation";
306
+ const _DCR = "DeleteComponentRequest";
307
+ const _DCRe = "DeleteComponentResponse";
308
+ const _DCRes = "DescribeComponentRequest";
309
+ const _DCResc = "DescribeComponentResponse";
310
+ const _DCe = "DescribeComponent";
311
+ const _DLP = "DeleteLogPattern";
312
+ const _DLPR = "DeleteLogPatternRequest";
313
+ const _DLPRe = "DeleteLogPatternResponse";
314
+ const _DLPRes = "DescribeLogPatternRequest";
315
+ const _DLPResc = "DescribeLogPatternResponse";
316
+ const _DLPe = "DescribeLogPattern";
317
+ const _DO = "DescribeObservation";
318
+ const _DOR = "DescribeObservationRequest";
319
+ const _DORe = "DescribeObservationResponse";
320
+ const _DP = "DescribeProblem";
321
+ const _DPO = "DescribeProblemObservations";
322
+ const _DPOR = "DescribeProblemObservationsRequest";
323
+ const _DPORe = "DescribeProblemObservationsResponse";
324
+ const _DPR = "DescribeProblemRequest";
325
+ const _DPRe = "DescribeProblemResponse";
326
+ const _DT = "DiscoveryType";
327
+ const _DW = "DetectedWorkload";
328
+ const _DWR = "DescribeWorkloadRequest";
329
+ const _DWRe = "DescribeWorkloadResponse";
330
+ const _DWe = "DescribeWorkload";
331
+ const _EC = "EbsCause";
332
+ const _ED = "EventDetail";
333
+ const _EE = "EbsEvent";
334
+ const _EL = "EventList";
335
+ const _ER = "EbsResult";
336
+ const _ERI = "EbsRequestId";
337
+ const _ERN = "EventResourceName";
338
+ const _ERT = "EventResourceType";
339
+ const _ES = "EventStatus";
340
+ const _ESc = "Ec2State";
341
+ const _ET = "EventTime";
342
+ const _ETn = "EndTime";
343
+ const _F = "Feedback";
344
+ const _GT = "GroupingType";
345
+ const _HEA = "HealthEventArn";
346
+ const _HED = "HealthEventDescription";
347
+ const _HETC = "HealthEventTypeCode";
348
+ const _HETCe = "HealthEventTypeCategory";
349
+ const _HS = "HealthService";
350
+ const _I = "Id";
351
+ const _ISE = "InternalServerException";
352
+ const _In = "Insights";
353
+ const _K = "Key";
354
+ const _LA = "ListApplications";
355
+ const _LAR = "ListApplicationsRequest";
356
+ const _LARi = "ListApplicationsResponse";
357
+ const _LC = "LifeCycle";
358
+ const _LCH = "ListConfigurationHistory";
359
+ const _LCHR = "ListConfigurationHistoryRequest";
360
+ const _LCHRi = "ListConfigurationHistoryResponse";
361
+ const _LCR = "ListComponentsRequest";
362
+ const _LCRi = "ListComponentsResponse";
363
+ const _LCi = "ListComponents";
364
+ const _LF = "LogFilter";
365
+ const _LG = "LogGroup";
366
+ const _LLP = "ListLogPatterns";
367
+ const _LLPR = "ListLogPatternsRequest";
368
+ const _LLPRi = "ListLogPatternsResponse";
369
+ const _LLPS = "ListLogPatternSets";
370
+ const _LLPSR = "ListLogPatternSetsRequest";
371
+ const _LLPSRi = "ListLogPatternSetsResponse";
372
+ const _LP = "LogPattern";
373
+ const _LPL = "LogPatternList";
374
+ const _LPR = "ListProblemsRequest";
375
+ const _LPRi = "ListProblemsResponse";
376
+ const _LPS = "LogPatternSets";
377
+ const _LPi = "ListProblems";
378
+ const _LPo = "LogPatterns";
379
+ const _LRT = "LastRecurrenceTime";
380
+ const _LT = "LineTime";
381
+ const _LTFR = "ListTagsForResource";
382
+ const _LTFRR = "ListTagsForResourceRequest";
383
+ const _LTFRRi = "ListTagsForResourceResponse";
384
+ const _LTo = "LogText";
385
+ const _LW = "ListWorkloads";
386
+ const _LWR = "ListWorkloadsRequest";
387
+ const _LWRi = "ListWorkloadsResponse";
388
+ const _M = "Message";
389
+ const _MN = "MetricNamespace";
390
+ const _MNe = "MetricName";
391
+ const _MR = "MaxResults";
392
+ const _MRARN = "MonitoredResourceARN";
393
+ const _MWC = "MissingWorkloadConfig";
394
+ const _Mo = "Monitor";
395
+ const _NCN = "NewComponentName";
396
+ const _NT = "NextToken";
397
+ const _O = "Observation";
398
+ const _OCE = "OpsCenterEnabled";
399
+ const _OI = "ObservationId";
400
+ const _OISNSTA = "OpsItemSNSTopicArn";
401
+ const _OL = "ObservationList";
402
+ const _OT = "OsType";
403
+ const _P = "Pattern";
404
+ const _PI = "ProblemId";
405
+ const _PL = "ProblemList";
406
+ const _PN = "PatternName";
407
+ const _PSN = "PatternSetName";
408
+ const _Pr = "Problem";
409
+ const _R = "Remarks";
410
+ const _RARN = "ResourceARN";
411
+ const _RC = "RecurringCount";
412
+ const _REC = "RdsEventCategories";
413
+ const _REM = "RdsEventMessage";
414
+ const _RGN = "ResourceGroupName";
415
+ const _RIUE = "ResourceInUseException";
416
+ const _RL = "ResourceList";
417
+ const _RM = "ResolutionMethod";
418
+ const _RN = "ResourceName";
419
+ const _RNFE = "ResourceNotFoundException";
420
+ const _RO = "RelatedObservations";
421
+ const _RSNST = "RemoveSNSTopic";
422
+ const _RT = "ResourceType";
423
+ const _RTe = "RecommendationType";
424
+ const _RW = "RemoveWorkload";
425
+ const _RWR = "RemoveWorkloadRequest";
426
+ const _RWRe = "RemoveWorkloadResponse";
427
+ const _Ra = "Rank";
428
+ const _S = "Status";
429
+ const _SA = "StatesArn";
430
+ const _SARN = "SourceARN";
431
+ const _SEA = "StatesExecutionArn";
432
+ const _SEN = "S3EventName";
433
+ const _SI = "StatesInput";
434
+ const _SL = "SeverityLevel";
435
+ const _SN = "ShortName";
436
+ const _SNSNA = "SNSNotificationArn";
437
+ const _SS = "StatesStatus";
438
+ const _ST = "StartTime";
439
+ const _STo = "SourceType";
440
+ const _T = "Tier";
441
+ const _TAEE = "TagsAlreadyExistException";
442
+ const _TK = "TagKeys";
443
+ const _TL = "TagList";
444
+ const _TMTE = "TooManyTagsException";
445
+ const _TR = "TagResource";
446
+ const _TRR = "TagResourceRequest";
447
+ const _TRRa = "TagResourceResponse";
448
+ const _Ta = "Tags";
449
+ const _Tag = "Tag";
450
+ const _Ti = "Title";
451
+ const _U = "Unit";
452
+ const _UA = "UpdateApplication";
453
+ const _UAR = "UpdateApplicationRequest";
454
+ const _UARp = "UpdateApplicationResponse";
455
+ const _UC = "UpdateComponent";
456
+ const _UCC = "UpdateComponentConfiguration";
457
+ const _UCCR = "UpdateComponentConfigurationRequest";
458
+ const _UCCRp = "UpdateComponentConfigurationResponse";
459
+ const _UCR = "UpdateComponentRequest";
460
+ const _UCRp = "UpdateComponentResponse";
461
+ const _ULP = "UpdateLogPattern";
462
+ const _ULPR = "UpdateLogPatternRequest";
463
+ const _ULPRp = "UpdateLogPatternResponse";
464
+ const _UP = "UpdateProblem";
465
+ const _UPR = "UpdateProblemRequest";
466
+ const _UPRp = "UpdateProblemResponse";
467
+ const _UR = "UntagResource";
468
+ const _URR = "UntagResourceRequest";
469
+ const _URRn = "UntagResourceResponse";
470
+ const _US = "UpdateStatus";
471
+ const _UW = "UpdateWorkload";
472
+ const _UWR = "UpdateWorkloadRequest";
473
+ const _UWRp = "UpdateWorkloadResponse";
474
+ const _V = "Visibility";
475
+ const _VE = "ValidationException";
476
+ const _Va = "Value";
477
+ const _W = "Workload";
478
+ const _WC = "WorkloadConfiguration";
479
+ const _WI = "WorkloadId";
480
+ const _WL = "WorkloadList";
481
+ const _WN = "WorkloadName";
482
+ const _WR = "WorkloadRemarks";
483
+ const _XREP = "XRayErrorPercent";
484
+ const _XRFP = "XRayFaultPercent";
485
+ const _XRNN = "XRayNodeName";
486
+ const _XRNT = "XRayNodeType";
487
+ const _XRRAL = "XRayRequestAverageLatency";
488
+ const _XRRC = "XRayRequestCount";
489
+ const _XRTP = "XRayThrottlePercent";
490
+ const _aQE = "awsQueryError";
491
+ const _c = "client";
492
+ const _e = "error";
493
+ const _hE = "httpError";
494
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.applicationinsights";
495
+ const _se = "server";
496
+ const n0 = "com.amazonaws.applicationinsights";
497
+ const _s_registry = TypeRegistry.for(_s);
498
+ var ApplicationInsightsServiceException$ = [-3, _s, "ApplicationInsightsServiceException", 0, [], []];
499
+ _s_registry.registerError(ApplicationInsightsServiceException$, ApplicationInsightsServiceException);
500
+ const n0_registry = TypeRegistry.for(n0);
501
+ var AccessDeniedException$ = [-3, n0, _ADE,
502
+ { [_aQE]: [`AccessDeniedException`, 403], [_e]: _c, [_hE]: 403 },
503
+ [_M],
504
+ [0]
505
+ ];
506
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
507
+ var BadRequestException$ = [-3, n0, _BRE,
508
+ { [_aQE]: [`BadRequestException`, 400], [_e]: _c, [_hE]: 400 },
509
+ [_M],
510
+ [0]
511
+ ];
512
+ n0_registry.registerError(BadRequestException$, BadRequestException);
513
+ var InternalServerException$ = [-3, n0, _ISE,
514
+ { [_aQE]: [`InternalServerException`, 500], [_e]: _se, [_hE]: 500 },
515
+ [_M],
516
+ [0]
517
+ ];
518
+ n0_registry.registerError(InternalServerException$, InternalServerException);
519
+ var ResourceInUseException$ = [-3, n0, _RIUE,
520
+ { [_aQE]: [`ResourceInUseException`, 400], [_e]: _c, [_hE]: 400 },
521
+ [_M],
522
+ [0]
523
+ ];
524
+ n0_registry.registerError(ResourceInUseException$, ResourceInUseException);
525
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
526
+ { [_aQE]: [`ResourceNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
527
+ [_M],
528
+ [0]
529
+ ];
530
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
531
+ var TagsAlreadyExistException$ = [-3, n0, _TAEE,
532
+ { [_e]: _c, [_hE]: 400 },
533
+ [_M],
534
+ [0]
535
+ ];
536
+ n0_registry.registerError(TagsAlreadyExistException$, TagsAlreadyExistException);
537
+ var TooManyTagsException$ = [-3, n0, _TMTE,
538
+ { [_e]: _c, [_hE]: 400 },
539
+ [_M, _RN],
540
+ [0, 0]
541
+ ];
542
+ n0_registry.registerError(TooManyTagsException$, TooManyTagsException);
543
+ var ValidationException$ = [-3, n0, _VE,
544
+ { [_aQE]: [`ValidationException`, 400], [_e]: _c, [_hE]: 400 },
545
+ [_M],
546
+ [0]
547
+ ];
548
+ n0_registry.registerError(ValidationException$, ValidationException);
549
+ const errorTypeRegistries = [
550
+ _s_registry,
551
+ n0_registry,
552
+ ];
553
+ var AddWorkloadRequest$ = [3, n0, _AWR,
554
+ 0,
555
+ [_RGN, _CN, _WC],
556
+ [0, 0, () => WorkloadConfiguration$], 3
557
+ ];
558
+ var AddWorkloadResponse$ = [3, n0, _AWRd,
559
+ 0,
560
+ [_WI, _WC],
561
+ [0, () => WorkloadConfiguration$]
562
+ ];
563
+ var ApplicationComponent$ = [3, n0, _AC,
564
+ 0,
565
+ [_CN, _CR, _RT, _OT, _T, _Mo, _DW],
566
+ [0, 0, 0, 0, 0, 2, [2, n0, _DW, 0, 0, 128 | 0]]
567
+ ];
568
+ var ApplicationInfo$ = [3, n0, _AI,
569
+ 0,
570
+ [_AIc, _RGN, _LC, _OISNSTA, _SNSNA, _OCE, _CWEME, _R, _ACE, _DT, _AMP],
571
+ [0, 0, 0, 0, 0, 2, 2, 0, 2, 0, 2]
572
+ ];
573
+ var ConfigurationEvent$ = [3, n0, _CE,
574
+ 0,
575
+ [_RGN, _AIc, _MRARN, _ES, _ERT, _ET, _ED, _ERN],
576
+ [0, 0, 0, 0, 0, 4, 0, 0]
577
+ ];
578
+ var CreateApplicationRequest$ = [3, n0, _CAR,
579
+ 0,
580
+ [_RGN, _OCE, _CWEME, _OISNSTA, _SNSNA, _Ta, _ACE, _ACu, _GT, _AMP],
581
+ [0, 2, 2, 0, 0, () => TagList, 2, 2, 0, 2]
582
+ ];
583
+ var CreateApplicationResponse$ = [3, n0, _CARr,
584
+ 0,
585
+ [_AI],
586
+ [() => ApplicationInfo$]
587
+ ];
588
+ var CreateComponentRequest$ = [3, n0, _CCR,
589
+ 0,
590
+ [_RGN, _CN, _RL],
591
+ [0, 0, 64 | 0], 3
592
+ ];
593
+ var CreateComponentResponse$ = [3, n0, _CCRr,
594
+ 0,
595
+ [],
596
+ []
597
+ ];
598
+ var CreateLogPatternRequest$ = [3, n0, _CLPR,
599
+ 0,
600
+ [_RGN, _PSN, _PN, _P, _Ra],
601
+ [0, 0, 0, 0, 1], 5
602
+ ];
603
+ var CreateLogPatternResponse$ = [3, n0, _CLPRr,
604
+ 0,
605
+ [_LP, _RGN],
606
+ [() => LogPattern$, 0]
607
+ ];
608
+ var DeleteApplicationRequest$ = [3, n0, _DAR,
609
+ 0,
610
+ [_RGN],
611
+ [0], 1
612
+ ];
613
+ var DeleteApplicationResponse$ = [3, n0, _DARe,
614
+ 0,
615
+ [],
616
+ []
617
+ ];
618
+ var DeleteComponentRequest$ = [3, n0, _DCR,
619
+ 0,
620
+ [_RGN, _CN],
621
+ [0, 0], 2
622
+ ];
623
+ var DeleteComponentResponse$ = [3, n0, _DCRe,
624
+ 0,
625
+ [],
626
+ []
627
+ ];
628
+ var DeleteLogPatternRequest$ = [3, n0, _DLPR,
629
+ 0,
630
+ [_RGN, _PSN, _PN],
631
+ [0, 0, 0], 3
632
+ ];
633
+ var DeleteLogPatternResponse$ = [3, n0, _DLPRe,
634
+ 0,
635
+ [],
636
+ []
637
+ ];
638
+ var DescribeApplicationRequest$ = [3, n0, _DARes,
639
+ 0,
640
+ [_RGN, _AIc],
641
+ [0, 0], 1
642
+ ];
643
+ var DescribeApplicationResponse$ = [3, n0, _DAResc,
644
+ 0,
645
+ [_AI],
646
+ [() => ApplicationInfo$]
647
+ ];
648
+ var DescribeComponentConfigurationRecommendationRequest$ = [3, n0, _DCCRR,
649
+ 0,
650
+ [_RGN, _CN, _T, _WN, _RTe],
651
+ [0, 0, 0, 0, 0], 3
652
+ ];
653
+ var DescribeComponentConfigurationRecommendationResponse$ = [3, n0, _DCCRRe,
654
+ 0,
655
+ [_CC],
656
+ [0]
657
+ ];
658
+ var DescribeComponentConfigurationRequest$ = [3, n0, _DCCR,
659
+ 0,
660
+ [_RGN, _CN, _AIc],
661
+ [0, 0, 0], 2
662
+ ];
663
+ var DescribeComponentConfigurationResponse$ = [3, n0, _DCCRe,
664
+ 0,
665
+ [_Mo, _T, _CC],
666
+ [2, 0, 0]
667
+ ];
668
+ var DescribeComponentRequest$ = [3, n0, _DCRes,
669
+ 0,
670
+ [_RGN, _CN, _AIc],
671
+ [0, 0, 0], 2
672
+ ];
673
+ var DescribeComponentResponse$ = [3, n0, _DCResc,
674
+ 0,
675
+ [_AC, _RL],
676
+ [() => ApplicationComponent$, 64 | 0]
677
+ ];
678
+ var DescribeLogPatternRequest$ = [3, n0, _DLPRes,
679
+ 0,
680
+ [_RGN, _PSN, _PN, _AIc],
681
+ [0, 0, 0, 0], 3
682
+ ];
683
+ var DescribeLogPatternResponse$ = [3, n0, _DLPResc,
684
+ 0,
685
+ [_RGN, _AIc, _LP],
686
+ [0, 0, () => LogPattern$]
687
+ ];
688
+ var DescribeObservationRequest$ = [3, n0, _DOR,
689
+ 0,
690
+ [_OI, _AIc],
691
+ [0, 0], 1
692
+ ];
693
+ var DescribeObservationResponse$ = [3, n0, _DORe,
694
+ 0,
695
+ [_O],
696
+ [() => Observation$]
697
+ ];
698
+ var DescribeProblemObservationsRequest$ = [3, n0, _DPOR,
699
+ 0,
700
+ [_PI, _AIc],
701
+ [0, 0], 1
702
+ ];
703
+ var DescribeProblemObservationsResponse$ = [3, n0, _DPORe,
704
+ 0,
705
+ [_RO],
706
+ [() => RelatedObservations$]
707
+ ];
708
+ var DescribeProblemRequest$ = [3, n0, _DPR,
709
+ 0,
710
+ [_PI, _AIc],
711
+ [0, 0], 1
712
+ ];
713
+ var DescribeProblemResponse$ = [3, n0, _DPRe,
714
+ 0,
715
+ [_Pr, _SNSNA],
716
+ [() => Problem$, 0]
717
+ ];
718
+ var DescribeWorkloadRequest$ = [3, n0, _DWR,
719
+ 0,
720
+ [_RGN, _CN, _WI, _AIc],
721
+ [0, 0, 0, 0], 3
722
+ ];
723
+ var DescribeWorkloadResponse$ = [3, n0, _DWRe,
724
+ 0,
725
+ [_WI, _WR, _WC],
726
+ [0, 0, () => WorkloadConfiguration$]
727
+ ];
728
+ var ListApplicationsRequest$ = [3, n0, _LAR,
729
+ 0,
730
+ [_MR, _NT, _AIc],
731
+ [1, 0, 0]
732
+ ];
733
+ var ListApplicationsResponse$ = [3, n0, _LARi,
734
+ 0,
735
+ [_AIL, _NT],
736
+ [() => ApplicationInfoList, 0]
737
+ ];
738
+ var ListComponentsRequest$ = [3, n0, _LCR,
739
+ 0,
740
+ [_RGN, _MR, _NT, _AIc],
741
+ [0, 1, 0, 0], 1
742
+ ];
743
+ var ListComponentsResponse$ = [3, n0, _LCRi,
744
+ 0,
745
+ [_ACL, _NT],
746
+ [() => ApplicationComponentList, 0]
747
+ ];
748
+ var ListConfigurationHistoryRequest$ = [3, n0, _LCHR,
749
+ 0,
750
+ [_RGN, _ST, _ETn, _ES, _MR, _NT, _AIc],
751
+ [0, 4, 4, 0, 1, 0, 0]
752
+ ];
753
+ var ListConfigurationHistoryResponse$ = [3, n0, _LCHRi,
754
+ 0,
755
+ [_EL, _NT],
756
+ [() => ConfigurationEventList, 0]
757
+ ];
758
+ var ListLogPatternSetsRequest$ = [3, n0, _LLPSR,
759
+ 0,
760
+ [_RGN, _MR, _NT, _AIc],
761
+ [0, 1, 0, 0], 1
762
+ ];
763
+ var ListLogPatternSetsResponse$ = [3, n0, _LLPSRi,
764
+ 0,
765
+ [_RGN, _AIc, _LPS, _NT],
766
+ [0, 0, 64 | 0, 0]
767
+ ];
768
+ var ListLogPatternsRequest$ = [3, n0, _LLPR,
769
+ 0,
770
+ [_RGN, _PSN, _MR, _NT, _AIc],
771
+ [0, 0, 1, 0, 0], 1
772
+ ];
773
+ var ListLogPatternsResponse$ = [3, n0, _LLPRi,
774
+ 0,
775
+ [_RGN, _AIc, _LPo, _NT],
776
+ [0, 0, () => LogPatternList, 0]
777
+ ];
778
+ var ListProblemsRequest$ = [3, n0, _LPR,
779
+ 0,
780
+ [_AIc, _RGN, _ST, _ETn, _MR, _NT, _CN, _V],
781
+ [0, 0, 4, 4, 1, 0, 0, 0]
782
+ ];
783
+ var ListProblemsResponse$ = [3, n0, _LPRi,
784
+ 0,
785
+ [_PL, _NT, _RGN, _AIc],
786
+ [() => ProblemList, 0, 0, 0]
787
+ ];
788
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
789
+ 0,
790
+ [_RARN],
791
+ [0], 1
792
+ ];
793
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
794
+ 0,
795
+ [_Ta],
796
+ [() => TagList]
797
+ ];
798
+ var ListWorkloadsRequest$ = [3, n0, _LWR,
799
+ 0,
800
+ [_RGN, _CN, _MR, _NT, _AIc],
801
+ [0, 0, 1, 0, 0], 2
802
+ ];
803
+ var ListWorkloadsResponse$ = [3, n0, _LWRi,
804
+ 0,
805
+ [_WL, _NT],
806
+ [() => WorkloadList, 0]
807
+ ];
808
+ var LogPattern$ = [3, n0, _LP,
809
+ 0,
810
+ [_PSN, _PN, _P, _Ra],
811
+ [0, 0, 0, 1]
812
+ ];
813
+ var Observation$ = [3, n0, _O,
814
+ 0,
815
+ [_I, _ST, _ETn, _STo, _SARN, _LG, _LT, _LTo, _LF, _MN, _MNe, _U, _Va, _CWEI, _CWES, _CWEDT, _HEA, _HS, _HETC, _HETCe, _HED, _CDDI, _CDDG, _CDS, _CDA, _CDIGI, _ESc, _REC, _REM, _SEN, _SEA, _SA, _SS, _SI, _EE, _ER, _EC, _ERI, _XRFP, _XRTP, _XREP, _XRRC, _XRRAL, _XRNN, _XRNT],
816
+ [0, 4, 4, 0, 0, 0, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0]
817
+ ];
818
+ var Problem$ = [3, n0, _Pr,
819
+ 0,
820
+ [_I, _Ti, _SN, _In, _S, _AR, _ST, _ETn, _SL, _AIc, _RGN, _F, _RC, _LRT, _V, _RM],
821
+ [0, 0, 0, 0, 0, 0, 4, 4, 0, 0, 0, 128 | 0, 1, 4, 0, 0]
822
+ ];
823
+ var RelatedObservations$ = [3, n0, _RO,
824
+ 0,
825
+ [_OL],
826
+ [() => ObservationList]
827
+ ];
828
+ var RemoveWorkloadRequest$ = [3, n0, _RWR,
829
+ 0,
830
+ [_RGN, _CN, _WI],
831
+ [0, 0, 0], 3
832
+ ];
833
+ var RemoveWorkloadResponse$ = [3, n0, _RWRe,
834
+ 0,
835
+ [],
836
+ []
837
+ ];
838
+ var Tag$ = [3, n0, _Tag,
839
+ 0,
840
+ [_K, _Va],
841
+ [0, 0], 2
842
+ ];
843
+ var TagResourceRequest$ = [3, n0, _TRR,
844
+ 0,
845
+ [_RARN, _Ta],
846
+ [0, () => TagList], 2
847
+ ];
848
+ var TagResourceResponse$ = [3, n0, _TRRa,
849
+ 0,
850
+ [],
851
+ []
852
+ ];
853
+ var UntagResourceRequest$ = [3, n0, _URR,
854
+ 0,
855
+ [_RARN, _TK],
856
+ [0, 64 | 0], 2
857
+ ];
858
+ var UntagResourceResponse$ = [3, n0, _URRn,
859
+ 0,
860
+ [],
861
+ []
862
+ ];
863
+ var UpdateApplicationRequest$ = [3, n0, _UAR,
864
+ 0,
865
+ [_RGN, _OCE, _CWEME, _OISNSTA, _SNSNA, _RSNST, _ACE, _AMP],
866
+ [0, 2, 2, 0, 0, 2, 2, 2], 1
867
+ ];
868
+ var UpdateApplicationResponse$ = [3, n0, _UARp,
869
+ 0,
870
+ [_AI],
871
+ [() => ApplicationInfo$]
872
+ ];
873
+ var UpdateComponentConfigurationRequest$ = [3, n0, _UCCR,
874
+ 0,
875
+ [_RGN, _CN, _Mo, _T, _CC, _ACE],
876
+ [0, 0, 2, 0, 0, 2], 2
877
+ ];
878
+ var UpdateComponentConfigurationResponse$ = [3, n0, _UCCRp,
879
+ 0,
880
+ [],
881
+ []
882
+ ];
883
+ var UpdateComponentRequest$ = [3, n0, _UCR,
884
+ 0,
885
+ [_RGN, _CN, _NCN, _RL],
886
+ [0, 0, 0, 64 | 0], 2
887
+ ];
888
+ var UpdateComponentResponse$ = [3, n0, _UCRp,
889
+ 0,
890
+ [],
891
+ []
892
+ ];
893
+ var UpdateLogPatternRequest$ = [3, n0, _ULPR,
894
+ 0,
895
+ [_RGN, _PSN, _PN, _P, _Ra],
896
+ [0, 0, 0, 0, 1], 3
897
+ ];
898
+ var UpdateLogPatternResponse$ = [3, n0, _ULPRp,
899
+ 0,
900
+ [_RGN, _LP],
901
+ [0, () => LogPattern$]
902
+ ];
903
+ var UpdateProblemRequest$ = [3, n0, _UPR,
904
+ 0,
905
+ [_PI, _US, _V],
906
+ [0, 0, 0], 1
907
+ ];
908
+ var UpdateProblemResponse$ = [3, n0, _UPRp,
909
+ 0,
910
+ [],
911
+ []
912
+ ];
913
+ var UpdateWorkloadRequest$ = [3, n0, _UWR,
914
+ 0,
915
+ [_RGN, _CN, _WC, _WI],
916
+ [0, 0, () => WorkloadConfiguration$, 0], 3
917
+ ];
918
+ var UpdateWorkloadResponse$ = [3, n0, _UWRp,
919
+ 0,
920
+ [_WI, _WC],
921
+ [0, () => WorkloadConfiguration$]
922
+ ];
923
+ var Workload$ = [3, n0, _W,
924
+ 0,
925
+ [_WI, _CN, _WN, _T, _WR, _MWC],
926
+ [0, 0, 0, 0, 0, 2]
927
+ ];
928
+ var WorkloadConfiguration$ = [3, n0, _WC,
929
+ 0,
930
+ [_WN, _T, _C],
931
+ [0, 0, 0]
932
+ ];
933
+ var ApplicationComponentList = [1, n0, _ACL,
934
+ 0, () => ApplicationComponent$
935
+ ];
936
+ var ApplicationInfoList = [1, n0, _AIL,
937
+ 0, () => ApplicationInfo$
938
+ ];
939
+ var ConfigurationEventList = [1, n0, _CEL,
940
+ 0, () => ConfigurationEvent$
941
+ ];
942
+ var LogPatternList = [1, n0, _LPL,
943
+ 0, () => LogPattern$
944
+ ];
945
+ var ObservationList = [1, n0, _OL,
946
+ 0, () => Observation$
947
+ ];
948
+ var ProblemList = [1, n0, _PL,
949
+ 0, () => Problem$
950
+ ];
951
+ var TagList = [1, n0, _TL,
952
+ 0, () => Tag$
953
+ ];
954
+ var WorkloadList = [1, n0, _WL,
955
+ 0, () => Workload$
956
+ ];
957
+ var AddWorkload$ = [9, n0, _AW,
958
+ 0, () => AddWorkloadRequest$, () => AddWorkloadResponse$
959
+ ];
960
+ var CreateApplication$ = [9, n0, _CA,
961
+ 0, () => CreateApplicationRequest$, () => CreateApplicationResponse$
962
+ ];
963
+ var CreateComponent$ = [9, n0, _CCr,
964
+ 0, () => CreateComponentRequest$, () => CreateComponentResponse$
965
+ ];
966
+ var CreateLogPattern$ = [9, n0, _CLP,
967
+ 0, () => CreateLogPatternRequest$, () => CreateLogPatternResponse$
968
+ ];
969
+ var DeleteApplication$ = [9, n0, _DA,
970
+ 0, () => DeleteApplicationRequest$, () => DeleteApplicationResponse$
971
+ ];
972
+ var DeleteComponent$ = [9, n0, _DC,
973
+ 0, () => DeleteComponentRequest$, () => DeleteComponentResponse$
974
+ ];
975
+ var DeleteLogPattern$ = [9, n0, _DLP,
976
+ 0, () => DeleteLogPatternRequest$, () => DeleteLogPatternResponse$
977
+ ];
978
+ var DescribeApplication$ = [9, n0, _DAe,
979
+ 0, () => DescribeApplicationRequest$, () => DescribeApplicationResponse$
980
+ ];
981
+ var DescribeComponent$ = [9, n0, _DCe,
982
+ 0, () => DescribeComponentRequest$, () => DescribeComponentResponse$
983
+ ];
984
+ var DescribeComponentConfiguration$ = [9, n0, _DCC,
985
+ 0, () => DescribeComponentConfigurationRequest$, () => DescribeComponentConfigurationResponse$
986
+ ];
987
+ var DescribeComponentConfigurationRecommendation$ = [9, n0, _DCCRes,
988
+ 0, () => DescribeComponentConfigurationRecommendationRequest$, () => DescribeComponentConfigurationRecommendationResponse$
989
+ ];
990
+ var DescribeLogPattern$ = [9, n0, _DLPe,
991
+ 0, () => DescribeLogPatternRequest$, () => DescribeLogPatternResponse$
992
+ ];
993
+ var DescribeObservation$ = [9, n0, _DO,
994
+ 0, () => DescribeObservationRequest$, () => DescribeObservationResponse$
995
+ ];
996
+ var DescribeProblem$ = [9, n0, _DP,
997
+ 0, () => DescribeProblemRequest$, () => DescribeProblemResponse$
998
+ ];
999
+ var DescribeProblemObservations$ = [9, n0, _DPO,
1000
+ 0, () => DescribeProblemObservationsRequest$, () => DescribeProblemObservationsResponse$
1001
+ ];
1002
+ var DescribeWorkload$ = [9, n0, _DWe,
1003
+ 0, () => DescribeWorkloadRequest$, () => DescribeWorkloadResponse$
1004
+ ];
1005
+ var ListApplications$ = [9, n0, _LA,
1006
+ 0, () => ListApplicationsRequest$, () => ListApplicationsResponse$
1007
+ ];
1008
+ var ListComponents$ = [9, n0, _LCi,
1009
+ 0, () => ListComponentsRequest$, () => ListComponentsResponse$
1010
+ ];
1011
+ var ListConfigurationHistory$ = [9, n0, _LCH,
1012
+ 0, () => ListConfigurationHistoryRequest$, () => ListConfigurationHistoryResponse$
1013
+ ];
1014
+ var ListLogPatterns$ = [9, n0, _LLP,
1015
+ 0, () => ListLogPatternsRequest$, () => ListLogPatternsResponse$
1016
+ ];
1017
+ var ListLogPatternSets$ = [9, n0, _LLPS,
1018
+ 0, () => ListLogPatternSetsRequest$, () => ListLogPatternSetsResponse$
1019
+ ];
1020
+ var ListProblems$ = [9, n0, _LPi,
1021
+ 0, () => ListProblemsRequest$, () => ListProblemsResponse$
1022
+ ];
1023
+ var ListTagsForResource$ = [9, n0, _LTFR,
1024
+ 0, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
1025
+ ];
1026
+ var ListWorkloads$ = [9, n0, _LW,
1027
+ 0, () => ListWorkloadsRequest$, () => ListWorkloadsResponse$
1028
+ ];
1029
+ var RemoveWorkload$ = [9, n0, _RW,
1030
+ 0, () => RemoveWorkloadRequest$, () => RemoveWorkloadResponse$
1031
+ ];
1032
+ var TagResource$ = [9, n0, _TR,
1033
+ 0, () => TagResourceRequest$, () => TagResourceResponse$
1034
+ ];
1035
+ var UntagResource$ = [9, n0, _UR,
1036
+ 0, () => UntagResourceRequest$, () => UntagResourceResponse$
1037
+ ];
1038
+ var UpdateApplication$ = [9, n0, _UA,
1039
+ 0, () => UpdateApplicationRequest$, () => UpdateApplicationResponse$
1040
+ ];
1041
+ var UpdateComponent$ = [9, n0, _UC,
1042
+ 0, () => UpdateComponentRequest$, () => UpdateComponentResponse$
1043
+ ];
1044
+ var UpdateComponentConfiguration$ = [9, n0, _UCC,
1045
+ 0, () => UpdateComponentConfigurationRequest$, () => UpdateComponentConfigurationResponse$
1046
+ ];
1047
+ var UpdateLogPattern$ = [9, n0, _ULP,
1048
+ 0, () => UpdateLogPatternRequest$, () => UpdateLogPatternResponse$
1049
+ ];
1050
+ var UpdateProblem$ = [9, n0, _UP,
1051
+ 0, () => UpdateProblemRequest$, () => UpdateProblemResponse$
1052
+ ];
1053
+ var UpdateWorkload$ = [9, n0, _UW,
1054
+ 0, () => UpdateWorkloadRequest$, () => UpdateWorkloadResponse$
1055
+ ];
1056
+
1057
+ const getRuntimeConfig$1 = (config) => {
1058
+ return {
1059
+ apiVersion: "2018-11-25",
1060
+ base64Decoder: config?.base64Decoder ?? fromBase64,
1061
+ base64Encoder: config?.base64Encoder ?? toBase64,
1062
+ disableHostPrefix: config?.disableHostPrefix ?? false,
1063
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
1064
+ extensions: config?.extensions ?? [],
1065
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultApplicationInsightsHttpAuthSchemeProvider,
1066
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
1067
+ {
1068
+ schemeId: "aws.auth#sigv4",
1069
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
1070
+ signer: new AwsSdkSigV4Signer(),
1071
+ },
1072
+ ],
1073
+ logger: config?.logger ?? new NoOpLogger(),
1074
+ protocol: config?.protocol ?? AwsJson1_1Protocol,
1075
+ protocolSettings: config?.protocolSettings ?? {
1076
+ defaultNamespace: "com.amazonaws.applicationinsights",
1077
+ errorTypeRegistries,
1078
+ version: "2018-11-25",
1079
+ serviceTarget: "EC2WindowsBarleyService",
1080
+ },
1081
+ serviceId: config?.serviceId ?? "Application Insights",
1082
+ sha256: config?.sha256 ?? Sha256,
1083
+ urlParser: config?.urlParser ?? parseUrl,
1084
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1085
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
1086
+ };
1087
+ };
1088
+
1089
+ const getRuntimeConfig = (config) => {
1090
+ emitWarningIfUnsupportedVersion(process.version);
1091
+ const defaultsMode = resolveDefaultsModeConfig(config);
1092
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
1093
+ const clientSharedValues = getRuntimeConfig$1(config);
1094
+ emitWarningIfUnsupportedVersion$1(process.version);
1095
+ const loaderConfig = {
1096
+ profile: config?.profile,
1097
+ logger: clientSharedValues.logger,
1098
+ };
1099
+ return {
1100
+ ...clientSharedValues,
1101
+ ...config,
1102
+ runtime: "node",
1103
+ defaultsMode,
1104
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
1105
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
1106
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
1107
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
1108
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
1109
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
1110
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
1111
+ retryMode: config?.retryMode ??
1112
+ loadConfig({
1113
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1114
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1115
+ }, config),
1116
+ streamCollector: config?.streamCollector ?? streamCollector,
1117
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1118
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1119
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
1120
+ };
1121
+ };
1122
+
34
1123
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
1124
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
1125
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -666,57 +1755,185 @@ const UpdateStatus = {
666
1755
  RESOLVED: "RESOLVED",
667
1756
  };
668
1757
 
1758
+ exports.AccessDeniedException = AccessDeniedException;
1759
+ exports.AccessDeniedException$ = AccessDeniedException$;
1760
+ exports.AddWorkload$ = AddWorkload$;
669
1761
  exports.AddWorkloadCommand = AddWorkloadCommand;
1762
+ exports.AddWorkloadRequest$ = AddWorkloadRequest$;
1763
+ exports.AddWorkloadResponse$ = AddWorkloadResponse$;
1764
+ exports.ApplicationComponent$ = ApplicationComponent$;
1765
+ exports.ApplicationInfo$ = ApplicationInfo$;
670
1766
  exports.ApplicationInsights = ApplicationInsights;
671
1767
  exports.ApplicationInsightsClient = ApplicationInsightsClient;
1768
+ exports.ApplicationInsightsServiceException = ApplicationInsightsServiceException;
1769
+ exports.ApplicationInsightsServiceException$ = ApplicationInsightsServiceException$;
1770
+ exports.BadRequestException = BadRequestException;
1771
+ exports.BadRequestException$ = BadRequestException$;
672
1772
  exports.CloudWatchEventSource = CloudWatchEventSource;
1773
+ exports.ConfigurationEvent$ = ConfigurationEvent$;
673
1774
  exports.ConfigurationEventResourceType = ConfigurationEventResourceType;
674
1775
  exports.ConfigurationEventStatus = ConfigurationEventStatus;
1776
+ exports.CreateApplication$ = CreateApplication$;
675
1777
  exports.CreateApplicationCommand = CreateApplicationCommand;
1778
+ exports.CreateApplicationRequest$ = CreateApplicationRequest$;
1779
+ exports.CreateApplicationResponse$ = CreateApplicationResponse$;
1780
+ exports.CreateComponent$ = CreateComponent$;
676
1781
  exports.CreateComponentCommand = CreateComponentCommand;
1782
+ exports.CreateComponentRequest$ = CreateComponentRequest$;
1783
+ exports.CreateComponentResponse$ = CreateComponentResponse$;
1784
+ exports.CreateLogPattern$ = CreateLogPattern$;
677
1785
  exports.CreateLogPatternCommand = CreateLogPatternCommand;
1786
+ exports.CreateLogPatternRequest$ = CreateLogPatternRequest$;
1787
+ exports.CreateLogPatternResponse$ = CreateLogPatternResponse$;
1788
+ exports.DeleteApplication$ = DeleteApplication$;
678
1789
  exports.DeleteApplicationCommand = DeleteApplicationCommand;
1790
+ exports.DeleteApplicationRequest$ = DeleteApplicationRequest$;
1791
+ exports.DeleteApplicationResponse$ = DeleteApplicationResponse$;
1792
+ exports.DeleteComponent$ = DeleteComponent$;
679
1793
  exports.DeleteComponentCommand = DeleteComponentCommand;
1794
+ exports.DeleteComponentRequest$ = DeleteComponentRequest$;
1795
+ exports.DeleteComponentResponse$ = DeleteComponentResponse$;
1796
+ exports.DeleteLogPattern$ = DeleteLogPattern$;
680
1797
  exports.DeleteLogPatternCommand = DeleteLogPatternCommand;
1798
+ exports.DeleteLogPatternRequest$ = DeleteLogPatternRequest$;
1799
+ exports.DeleteLogPatternResponse$ = DeleteLogPatternResponse$;
1800
+ exports.DescribeApplication$ = DescribeApplication$;
681
1801
  exports.DescribeApplicationCommand = DescribeApplicationCommand;
1802
+ exports.DescribeApplicationRequest$ = DescribeApplicationRequest$;
1803
+ exports.DescribeApplicationResponse$ = DescribeApplicationResponse$;
1804
+ exports.DescribeComponent$ = DescribeComponent$;
682
1805
  exports.DescribeComponentCommand = DescribeComponentCommand;
1806
+ exports.DescribeComponentConfiguration$ = DescribeComponentConfiguration$;
683
1807
  exports.DescribeComponentConfigurationCommand = DescribeComponentConfigurationCommand;
1808
+ exports.DescribeComponentConfigurationRecommendation$ = DescribeComponentConfigurationRecommendation$;
684
1809
  exports.DescribeComponentConfigurationRecommendationCommand = DescribeComponentConfigurationRecommendationCommand;
1810
+ exports.DescribeComponentConfigurationRecommendationRequest$ = DescribeComponentConfigurationRecommendationRequest$;
1811
+ exports.DescribeComponentConfigurationRecommendationResponse$ = DescribeComponentConfigurationRecommendationResponse$;
1812
+ exports.DescribeComponentConfigurationRequest$ = DescribeComponentConfigurationRequest$;
1813
+ exports.DescribeComponentConfigurationResponse$ = DescribeComponentConfigurationResponse$;
1814
+ exports.DescribeComponentRequest$ = DescribeComponentRequest$;
1815
+ exports.DescribeComponentResponse$ = DescribeComponentResponse$;
1816
+ exports.DescribeLogPattern$ = DescribeLogPattern$;
685
1817
  exports.DescribeLogPatternCommand = DescribeLogPatternCommand;
1818
+ exports.DescribeLogPatternRequest$ = DescribeLogPatternRequest$;
1819
+ exports.DescribeLogPatternResponse$ = DescribeLogPatternResponse$;
1820
+ exports.DescribeObservation$ = DescribeObservation$;
686
1821
  exports.DescribeObservationCommand = DescribeObservationCommand;
1822
+ exports.DescribeObservationRequest$ = DescribeObservationRequest$;
1823
+ exports.DescribeObservationResponse$ = DescribeObservationResponse$;
1824
+ exports.DescribeProblem$ = DescribeProblem$;
687
1825
  exports.DescribeProblemCommand = DescribeProblemCommand;
1826
+ exports.DescribeProblemObservations$ = DescribeProblemObservations$;
688
1827
  exports.DescribeProblemObservationsCommand = DescribeProblemObservationsCommand;
1828
+ exports.DescribeProblemObservationsRequest$ = DescribeProblemObservationsRequest$;
1829
+ exports.DescribeProblemObservationsResponse$ = DescribeProblemObservationsResponse$;
1830
+ exports.DescribeProblemRequest$ = DescribeProblemRequest$;
1831
+ exports.DescribeProblemResponse$ = DescribeProblemResponse$;
1832
+ exports.DescribeWorkload$ = DescribeWorkload$;
689
1833
  exports.DescribeWorkloadCommand = DescribeWorkloadCommand;
1834
+ exports.DescribeWorkloadRequest$ = DescribeWorkloadRequest$;
1835
+ exports.DescribeWorkloadResponse$ = DescribeWorkloadResponse$;
690
1836
  exports.DiscoveryType = DiscoveryType;
691
1837
  exports.FeedbackKey = FeedbackKey;
692
1838
  exports.FeedbackValue = FeedbackValue;
693
1839
  exports.GroupingType = GroupingType;
1840
+ exports.InternalServerException = InternalServerException;
1841
+ exports.InternalServerException$ = InternalServerException$;
1842
+ exports.ListApplications$ = ListApplications$;
694
1843
  exports.ListApplicationsCommand = ListApplicationsCommand;
1844
+ exports.ListApplicationsRequest$ = ListApplicationsRequest$;
1845
+ exports.ListApplicationsResponse$ = ListApplicationsResponse$;
1846
+ exports.ListComponents$ = ListComponents$;
695
1847
  exports.ListComponentsCommand = ListComponentsCommand;
1848
+ exports.ListComponentsRequest$ = ListComponentsRequest$;
1849
+ exports.ListComponentsResponse$ = ListComponentsResponse$;
1850
+ exports.ListConfigurationHistory$ = ListConfigurationHistory$;
696
1851
  exports.ListConfigurationHistoryCommand = ListConfigurationHistoryCommand;
1852
+ exports.ListConfigurationHistoryRequest$ = ListConfigurationHistoryRequest$;
1853
+ exports.ListConfigurationHistoryResponse$ = ListConfigurationHistoryResponse$;
1854
+ exports.ListLogPatternSets$ = ListLogPatternSets$;
697
1855
  exports.ListLogPatternSetsCommand = ListLogPatternSetsCommand;
1856
+ exports.ListLogPatternSetsRequest$ = ListLogPatternSetsRequest$;
1857
+ exports.ListLogPatternSetsResponse$ = ListLogPatternSetsResponse$;
1858
+ exports.ListLogPatterns$ = ListLogPatterns$;
698
1859
  exports.ListLogPatternsCommand = ListLogPatternsCommand;
1860
+ exports.ListLogPatternsRequest$ = ListLogPatternsRequest$;
1861
+ exports.ListLogPatternsResponse$ = ListLogPatternsResponse$;
1862
+ exports.ListProblems$ = ListProblems$;
699
1863
  exports.ListProblemsCommand = ListProblemsCommand;
1864
+ exports.ListProblemsRequest$ = ListProblemsRequest$;
1865
+ exports.ListProblemsResponse$ = ListProblemsResponse$;
1866
+ exports.ListTagsForResource$ = ListTagsForResource$;
700
1867
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1868
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
1869
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
1870
+ exports.ListWorkloads$ = ListWorkloads$;
701
1871
  exports.ListWorkloadsCommand = ListWorkloadsCommand;
1872
+ exports.ListWorkloadsRequest$ = ListWorkloadsRequest$;
1873
+ exports.ListWorkloadsResponse$ = ListWorkloadsResponse$;
702
1874
  exports.LogFilter = LogFilter;
1875
+ exports.LogPattern$ = LogPattern$;
1876
+ exports.Observation$ = Observation$;
703
1877
  exports.OsType = OsType;
1878
+ exports.Problem$ = Problem$;
704
1879
  exports.RecommendationType = RecommendationType;
1880
+ exports.RelatedObservations$ = RelatedObservations$;
1881
+ exports.RemoveWorkload$ = RemoveWorkload$;
705
1882
  exports.RemoveWorkloadCommand = RemoveWorkloadCommand;
1883
+ exports.RemoveWorkloadRequest$ = RemoveWorkloadRequest$;
1884
+ exports.RemoveWorkloadResponse$ = RemoveWorkloadResponse$;
706
1885
  exports.ResolutionMethod = ResolutionMethod;
1886
+ exports.ResourceInUseException = ResourceInUseException;
1887
+ exports.ResourceInUseException$ = ResourceInUseException$;
1888
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1889
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
707
1890
  exports.SeverityLevel = SeverityLevel;
708
1891
  exports.Status = Status;
1892
+ exports.Tag$ = Tag$;
1893
+ exports.TagResource$ = TagResource$;
709
1894
  exports.TagResourceCommand = TagResourceCommand;
1895
+ exports.TagResourceRequest$ = TagResourceRequest$;
1896
+ exports.TagResourceResponse$ = TagResourceResponse$;
1897
+ exports.TagsAlreadyExistException = TagsAlreadyExistException;
1898
+ exports.TagsAlreadyExistException$ = TagsAlreadyExistException$;
710
1899
  exports.Tier = Tier;
1900
+ exports.TooManyTagsException = TooManyTagsException;
1901
+ exports.TooManyTagsException$ = TooManyTagsException$;
1902
+ exports.UntagResource$ = UntagResource$;
711
1903
  exports.UntagResourceCommand = UntagResourceCommand;
1904
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
1905
+ exports.UntagResourceResponse$ = UntagResourceResponse$;
1906
+ exports.UpdateApplication$ = UpdateApplication$;
712
1907
  exports.UpdateApplicationCommand = UpdateApplicationCommand;
1908
+ exports.UpdateApplicationRequest$ = UpdateApplicationRequest$;
1909
+ exports.UpdateApplicationResponse$ = UpdateApplicationResponse$;
1910
+ exports.UpdateComponent$ = UpdateComponent$;
713
1911
  exports.UpdateComponentCommand = UpdateComponentCommand;
1912
+ exports.UpdateComponentConfiguration$ = UpdateComponentConfiguration$;
714
1913
  exports.UpdateComponentConfigurationCommand = UpdateComponentConfigurationCommand;
1914
+ exports.UpdateComponentConfigurationRequest$ = UpdateComponentConfigurationRequest$;
1915
+ exports.UpdateComponentConfigurationResponse$ = UpdateComponentConfigurationResponse$;
1916
+ exports.UpdateComponentRequest$ = UpdateComponentRequest$;
1917
+ exports.UpdateComponentResponse$ = UpdateComponentResponse$;
1918
+ exports.UpdateLogPattern$ = UpdateLogPattern$;
715
1919
  exports.UpdateLogPatternCommand = UpdateLogPatternCommand;
1920
+ exports.UpdateLogPatternRequest$ = UpdateLogPatternRequest$;
1921
+ exports.UpdateLogPatternResponse$ = UpdateLogPatternResponse$;
1922
+ exports.UpdateProblem$ = UpdateProblem$;
716
1923
  exports.UpdateProblemCommand = UpdateProblemCommand;
1924
+ exports.UpdateProblemRequest$ = UpdateProblemRequest$;
1925
+ exports.UpdateProblemResponse$ = UpdateProblemResponse$;
717
1926
  exports.UpdateStatus = UpdateStatus;
1927
+ exports.UpdateWorkload$ = UpdateWorkload$;
718
1928
  exports.UpdateWorkloadCommand = UpdateWorkloadCommand;
1929
+ exports.UpdateWorkloadRequest$ = UpdateWorkloadRequest$;
1930
+ exports.UpdateWorkloadResponse$ = UpdateWorkloadResponse$;
1931
+ exports.ValidationException = ValidationException;
1932
+ exports.ValidationException$ = ValidationException$;
719
1933
  exports.Visibility = Visibility;
1934
+ exports.Workload$ = Workload$;
1935
+ exports.WorkloadConfiguration$ = WorkloadConfiguration$;
1936
+ exports.errorTypeRegistries = errorTypeRegistries;
720
1937
  exports.paginateListApplications = paginateListApplications;
721
1938
  exports.paginateListComponents = paginateListComponents;
722
1939
  exports.paginateListConfigurationHistory = paginateListConfigurationHistory;