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