@aws-sdk/client-aiops 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, defaultAIOpsHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { CreateInvestigationGroup$, DeleteInvestigationGroup$, DeleteInvestigationGroupPolicy$, GetInvestigationGroup$, GetInvestigationGroupPolicy$, ListInvestigationGroups$, ListTagsForResource$, PutInvestigationGroupPolicy$, TagResource$, UntagResource$, UpdateInvestigationGroup$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { AIOpsServiceException } = require("./models/AIOpsServiceException");
18
- exports.AIOpsServiceException = AIOpsServiceException;
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 { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
16
+
17
+ const defaultAIOpsHttpAuthSchemeParametersProvider = 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: "aiops",
30
+ region: authParameters.region,
31
+ },
32
+ propertiesExtractor: (config, context) => ({
33
+ signingProperties: {
34
+ config,
35
+ context,
36
+ },
37
+ }),
38
+ };
39
+ }
40
+ const defaultAIOpsHttpAuthSchemeProvider = (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,549 @@ 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://aiops-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
92
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
93
+ ["https://aiops-fips.{Region}.{PartitionResult#dnsSuffix}", i],
94
+ [a, "FIPS is enabled but this partition does not support FIPS"],
95
+ ["https://aiops.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
96
+ [a, "DualStack is enabled but this partition does not support DualStack"],
97
+ ["https://aiops.{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 AIOpsServiceException extends ServiceException {
133
+ constructor(options) {
134
+ super(options);
135
+ Object.setPrototypeOf(this, AIOpsServiceException.prototype);
136
+ }
137
+ }
138
+
139
+ class AccessDeniedException extends AIOpsServiceException {
140
+ name = "AccessDeniedException";
141
+ $fault = "client";
142
+ constructor(opts) {
143
+ super({
144
+ name: "AccessDeniedException",
145
+ $fault: "client",
146
+ ...opts,
147
+ });
148
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
149
+ }
150
+ }
151
+ class ConflictException extends AIOpsServiceException {
152
+ name = "ConflictException";
153
+ $fault = "client";
154
+ constructor(opts) {
155
+ super({
156
+ name: "ConflictException",
157
+ $fault: "client",
158
+ ...opts,
159
+ });
160
+ Object.setPrototypeOf(this, ConflictException.prototype);
161
+ }
162
+ }
163
+ class ForbiddenException extends AIOpsServiceException {
164
+ name = "ForbiddenException";
165
+ $fault = "client";
166
+ constructor(opts) {
167
+ super({
168
+ name: "ForbiddenException",
169
+ $fault: "client",
170
+ ...opts,
171
+ });
172
+ Object.setPrototypeOf(this, ForbiddenException.prototype);
173
+ }
174
+ }
175
+ class InternalServerException extends AIOpsServiceException {
176
+ name = "InternalServerException";
177
+ $fault = "server";
178
+ constructor(opts) {
179
+ super({
180
+ name: "InternalServerException",
181
+ $fault: "server",
182
+ ...opts,
183
+ });
184
+ Object.setPrototypeOf(this, InternalServerException.prototype);
185
+ }
186
+ }
187
+ class ResourceNotFoundException extends AIOpsServiceException {
188
+ name = "ResourceNotFoundException";
189
+ $fault = "client";
190
+ constructor(opts) {
191
+ super({
192
+ name: "ResourceNotFoundException",
193
+ $fault: "client",
194
+ ...opts,
195
+ });
196
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
197
+ }
198
+ }
199
+ class ServiceQuotaExceededException extends AIOpsServiceException {
200
+ name = "ServiceQuotaExceededException";
201
+ $fault = "client";
202
+ resourceId;
203
+ resourceType;
204
+ serviceCode;
205
+ quotaCode;
206
+ constructor(opts) {
207
+ super({
208
+ name: "ServiceQuotaExceededException",
209
+ $fault: "client",
210
+ ...opts,
211
+ });
212
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
213
+ this.resourceId = opts.resourceId;
214
+ this.resourceType = opts.resourceType;
215
+ this.serviceCode = opts.serviceCode;
216
+ this.quotaCode = opts.quotaCode;
217
+ }
218
+ }
219
+ class ThrottlingException extends AIOpsServiceException {
220
+ name = "ThrottlingException";
221
+ $fault = "client";
222
+ constructor(opts) {
223
+ super({
224
+ name: "ThrottlingException",
225
+ $fault: "client",
226
+ ...opts,
227
+ });
228
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
229
+ }
230
+ }
231
+ class ValidationException extends AIOpsServiceException {
232
+ name = "ValidationException";
233
+ $fault = "client";
234
+ constructor(opts) {
235
+ super({
236
+ name: "ValidationException",
237
+ $fault: "client",
238
+ ...opts,
239
+ });
240
+ Object.setPrototypeOf(this, ValidationException.prototype);
241
+ }
242
+ }
243
+
244
+ const _ADE = "AccessDeniedException";
245
+ const _CAC = "CrossAccountConfiguration";
246
+ const _CACr = "CrossAccountConfigurations";
247
+ const _CE = "ConflictException";
248
+ const _CIG = "CreateInvestigationGroup";
249
+ const _CIGI = "CreateInvestigationGroupInput";
250
+ const _CIGO = "CreateInvestigationGroupOutput";
251
+ const _CNC = "ChatbotNotificationChannel";
252
+ const _DIG = "DeleteInvestigationGroup";
253
+ const _DIGP = "DeleteInvestigationGroupPolicy";
254
+ const _DIGPO = "DeleteInvestigationGroupPolicyOutput";
255
+ const _DIGPR = "DeleteInvestigationGroupPolicyRequest";
256
+ const _DIGR = "DeleteInvestigationGroupRequest";
257
+ const _EC = "EncryptionConfiguration";
258
+ const _FE = "ForbiddenException";
259
+ const _GIG = "GetInvestigationGroup";
260
+ const _GIGP = "GetInvestigationGroupPolicy";
261
+ const _GIGPR = "GetInvestigationGroupPolicyRequest";
262
+ const _GIGPRe = "GetInvestigationGroupPolicyResponse";
263
+ const _GIGR = "GetInvestigationGroupRequest";
264
+ const _GIGRe = "GetInvestigationGroupResponse";
265
+ const _IG = "InvestigationGroups";
266
+ const _ISE = "InternalServerException";
267
+ const _LIG = "ListInvestigationGroups";
268
+ const _LIGI = "ListInvestigationGroupsInput";
269
+ const _LIGM = "ListInvestigationGroupsModel";
270
+ const _LIGO = "ListInvestigationGroupsOutput";
271
+ const _LTFR = "ListTagsForResource";
272
+ const _LTFRO = "ListTagsForResourceOutput";
273
+ const _LTFRR = "ListTagsForResourceRequest";
274
+ const _PIGP = "PutInvestigationGroupPolicy";
275
+ const _PIGPR = "PutInvestigationGroupPolicyRequest";
276
+ const _PIGPRu = "PutInvestigationGroupPolicyResponse";
277
+ const _RNFE = "ResourceNotFoundException";
278
+ const _SQEE = "ServiceQuotaExceededException";
279
+ const _SSWLL = "SensitiveStringWithLengthLimits";
280
+ const _TE = "ThrottlingException";
281
+ const _TR = "TagResource";
282
+ const _TRR = "TagResourceRequest";
283
+ const _TRRa = "TagResourceResponse";
284
+ const _UIG = "UpdateInvestigationGroup";
285
+ const _UIGO = "UpdateInvestigationGroupOutput";
286
+ const _UIGR = "UpdateInvestigationGroupRequest";
287
+ const _UR = "UntagResource";
288
+ const _URR = "UntagResourceRequest";
289
+ const _URRn = "UntagResourceResponse";
290
+ const _VE = "ValidationException";
291
+ const _a = "arn";
292
+ const _c = "client";
293
+ const _cA = "createdAt";
294
+ const _cAC = "crossAccountConfigurations";
295
+ const _cB = "createdBy";
296
+ const _cNC = "chatbotNotificationChannel";
297
+ const _e = "error";
298
+ const _eC = "encryptionConfiguration";
299
+ const _h = "http";
300
+ const _hE = "httpError";
301
+ const _hQ = "httpQuery";
302
+ const _i = "identifier";
303
+ const _iCTEHE = "isCloudTrailEventHistoryEnabled";
304
+ const _iG = "investigationGroups";
305
+ const _iGA = "investigationGroupArn";
306
+ const _kKI = "kmsKeyId";
307
+ const _lMA = "lastModifiedAt";
308
+ const _lMB = "lastModifiedBy";
309
+ const _m = "message";
310
+ const _mR = "maxResults";
311
+ const _n = "name";
312
+ const _nT = "nextToken";
313
+ const _p = "policy";
314
+ const _qC = "quotaCode";
315
+ const _rA = "roleArn";
316
+ const _rAe = "resourceArn";
317
+ const _rI = "resourceId";
318
+ const _rID = "retentionInDays";
319
+ const _rT = "resourceType";
320
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.aiops";
321
+ const _sC = "serviceCode";
322
+ const _sRA = "sourceRoleArn";
323
+ const _se = "server";
324
+ const _t = "tags";
325
+ const _tK = "tagKeys";
326
+ const _tKB = "tagKeyBoundaries";
327
+ const _ty = "type";
328
+ const n0 = "com.amazonaws.aiops";
329
+ const _s_registry = TypeRegistry.for(_s);
330
+ var AIOpsServiceException$ = [-3, _s, "AIOpsServiceException", 0, [], []];
331
+ _s_registry.registerError(AIOpsServiceException$, AIOpsServiceException);
332
+ const n0_registry = TypeRegistry.for(n0);
333
+ var AccessDeniedException$ = [-3, n0, _ADE,
334
+ { [_e]: _c, [_hE]: 403 },
335
+ [_m],
336
+ [0]
337
+ ];
338
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
339
+ var ConflictException$ = [-3, n0, _CE,
340
+ { [_e]: _c, [_hE]: 409 },
341
+ [_m],
342
+ [0]
343
+ ];
344
+ n0_registry.registerError(ConflictException$, ConflictException);
345
+ var ForbiddenException$ = [-3, n0, _FE,
346
+ { [_e]: _c, [_hE]: 403 },
347
+ [_m],
348
+ [0]
349
+ ];
350
+ n0_registry.registerError(ForbiddenException$, ForbiddenException);
351
+ var InternalServerException$ = [-3, n0, _ISE,
352
+ { [_e]: _se, [_hE]: 500 },
353
+ [_m],
354
+ [0]
355
+ ];
356
+ n0_registry.registerError(InternalServerException$, InternalServerException);
357
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
358
+ { [_e]: _c, [_hE]: 404 },
359
+ [_m],
360
+ [0]
361
+ ];
362
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
363
+ var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
364
+ { [_e]: _c, [_hE]: 402 },
365
+ [_m, _rI, _rT, _sC, _qC],
366
+ [0, 0, 0, 0, 0]
367
+ ];
368
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
369
+ var ThrottlingException$ = [-3, n0, _TE,
370
+ { [_e]: _c, [_hE]: 429 },
371
+ [_m],
372
+ [0]
373
+ ];
374
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
375
+ var ValidationException$ = [-3, n0, _VE,
376
+ { [_e]: _c, [_hE]: 400 },
377
+ [_m],
378
+ [0]
379
+ ];
380
+ n0_registry.registerError(ValidationException$, ValidationException);
381
+ const errorTypeRegistries = [
382
+ _s_registry,
383
+ n0_registry,
384
+ ];
385
+ var SensitiveStringWithLengthLimits = [0, n0, _SSWLL, 8, 0];
386
+ var CreateInvestigationGroupInput$ = [3, n0, _CIGI,
387
+ 0,
388
+ [_n, _rA, _eC, _rID, _t, _tKB, _cNC, _iCTEHE, _cAC],
389
+ [0, 0, () => EncryptionConfiguration$, 1, 128 | 0, 64 | 0, [2, n0, _CNC, 0, 0, 64 | 0], 2, () => CrossAccountConfigurations], 2
390
+ ];
391
+ var CreateInvestigationGroupOutput$ = [3, n0, _CIGO,
392
+ 0,
393
+ [_a],
394
+ [0]
395
+ ];
396
+ var CrossAccountConfiguration$ = [3, n0, _CAC,
397
+ 0,
398
+ [_sRA],
399
+ [0]
400
+ ];
401
+ var DeleteInvestigationGroupPolicyOutput$ = [3, n0, _DIGPO,
402
+ 0,
403
+ [],
404
+ []
405
+ ];
406
+ var DeleteInvestigationGroupPolicyRequest$ = [3, n0, _DIGPR,
407
+ 0,
408
+ [_i],
409
+ [[0, 1]], 1
410
+ ];
411
+ var DeleteInvestigationGroupRequest$ = [3, n0, _DIGR,
412
+ 0,
413
+ [_i],
414
+ [[0, 1]], 1
415
+ ];
416
+ var EncryptionConfiguration$ = [3, n0, _EC,
417
+ 0,
418
+ [_ty, _kKI],
419
+ [0, 0]
420
+ ];
421
+ var GetInvestigationGroupPolicyRequest$ = [3, n0, _GIGPR,
422
+ 0,
423
+ [_i],
424
+ [[0, 1]], 1
425
+ ];
426
+ var GetInvestigationGroupPolicyResponse$ = [3, n0, _GIGPRe,
427
+ 0,
428
+ [_iGA, _p],
429
+ [0, 0]
430
+ ];
431
+ var GetInvestigationGroupRequest$ = [3, n0, _GIGR,
432
+ 0,
433
+ [_i],
434
+ [[0, 1]], 1
435
+ ];
436
+ var GetInvestigationGroupResponse$ = [3, n0, _GIGRe,
437
+ 0,
438
+ [_cB, _cA, _lMB, _lMA, _n, _a, _rA, _eC, _rID, _cNC, _tKB, _iCTEHE, _cAC],
439
+ [0, 1, 0, 1, 0, 0, 0, () => EncryptionConfiguration$, 1, [2, n0, _CNC, 0, 0, 64 | 0], 64 | 0, 2, () => CrossAccountConfigurations]
440
+ ];
441
+ var ListInvestigationGroupsInput$ = [3, n0, _LIGI,
442
+ 0,
443
+ [_nT, _mR],
444
+ [[() => SensitiveStringWithLengthLimits, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
445
+ ];
446
+ var ListInvestigationGroupsModel$ = [3, n0, _LIGM,
447
+ 0,
448
+ [_a, _n],
449
+ [0, 0]
450
+ ];
451
+ var ListInvestigationGroupsOutput$ = [3, n0, _LIGO,
452
+ 0,
453
+ [_nT, _iG],
454
+ [[() => SensitiveStringWithLengthLimits, 0], () => InvestigationGroups]
455
+ ];
456
+ var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
457
+ 0,
458
+ [_t],
459
+ [128 | 0]
460
+ ];
461
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
462
+ 0,
463
+ [_rAe],
464
+ [[0, 1]], 1
465
+ ];
466
+ var PutInvestigationGroupPolicyRequest$ = [3, n0, _PIGPR,
467
+ 0,
468
+ [_i, _p],
469
+ [[0, 1], 0], 2
470
+ ];
471
+ var PutInvestigationGroupPolicyResponse$ = [3, n0, _PIGPRu,
472
+ 0,
473
+ [_iGA],
474
+ [0]
475
+ ];
476
+ var TagResourceRequest$ = [3, n0, _TRR,
477
+ 0,
478
+ [_rAe, _t],
479
+ [[0, 1], 128 | 0], 2
480
+ ];
481
+ var TagResourceResponse$ = [3, n0, _TRRa,
482
+ 0,
483
+ [],
484
+ []
485
+ ];
486
+ var UntagResourceRequest$ = [3, n0, _URR,
487
+ 0,
488
+ [_rAe, _tK],
489
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
490
+ ];
491
+ var UntagResourceResponse$ = [3, n0, _URRn,
492
+ 0,
493
+ [],
494
+ []
495
+ ];
496
+ var UpdateInvestigationGroupOutput$ = [3, n0, _UIGO,
497
+ 0,
498
+ [],
499
+ []
500
+ ];
501
+ var UpdateInvestigationGroupRequest$ = [3, n0, _UIGR,
502
+ 0,
503
+ [_i, _rA, _eC, _tKB, _cNC, _iCTEHE, _cAC],
504
+ [[0, 1], 0, () => EncryptionConfiguration$, 64 | 0, [2, n0, _CNC, 0, 0, 64 | 0], 2, () => CrossAccountConfigurations], 1
505
+ ];
506
+ var __Unit = "unit";
507
+ var CrossAccountConfigurations = [1, n0, _CACr,
508
+ 0, () => CrossAccountConfiguration$
509
+ ];
510
+ var InvestigationGroups = [1, n0, _IG,
511
+ 0, () => ListInvestigationGroupsModel$
512
+ ];
513
+ var CreateInvestigationGroup$ = [9, n0, _CIG,
514
+ { [_h]: ["POST", "/investigationGroups", 201] }, () => CreateInvestigationGroupInput$, () => CreateInvestigationGroupOutput$
515
+ ];
516
+ var DeleteInvestigationGroup$ = [9, n0, _DIG,
517
+ { [_h]: ["DELETE", "/investigationGroups/{identifier}", 200] }, () => DeleteInvestigationGroupRequest$, () => __Unit
518
+ ];
519
+ var DeleteInvestigationGroupPolicy$ = [9, n0, _DIGP,
520
+ { [_h]: ["DELETE", "/investigationGroups/{identifier}/policy", 200] }, () => DeleteInvestigationGroupPolicyRequest$, () => DeleteInvestigationGroupPolicyOutput$
521
+ ];
522
+ var GetInvestigationGroup$ = [9, n0, _GIG,
523
+ { [_h]: ["GET", "/investigationGroups/{identifier}", 200] }, () => GetInvestigationGroupRequest$, () => GetInvestigationGroupResponse$
524
+ ];
525
+ var GetInvestigationGroupPolicy$ = [9, n0, _GIGP,
526
+ { [_h]: ["GET", "/investigationGroups/{identifier}/policy", 200] }, () => GetInvestigationGroupPolicyRequest$, () => GetInvestigationGroupPolicyResponse$
527
+ ];
528
+ var ListInvestigationGroups$ = [9, n0, _LIG,
529
+ { [_h]: ["GET", "/investigationGroups", 200] }, () => ListInvestigationGroupsInput$, () => ListInvestigationGroupsOutput$
530
+ ];
531
+ var ListTagsForResource$ = [9, n0, _LTFR,
532
+ { [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceOutput$
533
+ ];
534
+ var PutInvestigationGroupPolicy$ = [9, n0, _PIGP,
535
+ { [_h]: ["POST", "/investigationGroups/{identifier}/policy", 200] }, () => PutInvestigationGroupPolicyRequest$, () => PutInvestigationGroupPolicyResponse$
536
+ ];
537
+ var TagResource$ = [9, n0, _TR,
538
+ { [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
539
+ ];
540
+ var UntagResource$ = [9, n0, _UR,
541
+ { [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
542
+ ];
543
+ var UpdateInvestigationGroup$ = [9, n0, _UIG,
544
+ { [_h]: ["PATCH", "/investigationGroups/{identifier}", 200] }, () => UpdateInvestigationGroupRequest$, () => UpdateInvestigationGroupOutput$
545
+ ];
546
+
547
+ const getRuntimeConfig$1 = (config) => {
548
+ return {
549
+ apiVersion: "2018-05-10",
550
+ base64Decoder: config?.base64Decoder ?? fromBase64,
551
+ base64Encoder: config?.base64Encoder ?? toBase64,
552
+ disableHostPrefix: config?.disableHostPrefix ?? false,
553
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
554
+ extensions: config?.extensions ?? [],
555
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultAIOpsHttpAuthSchemeProvider,
556
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
557
+ {
558
+ schemeId: "aws.auth#sigv4",
559
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
560
+ signer: new AwsSdkSigV4Signer(),
561
+ },
562
+ ],
563
+ logger: config?.logger ?? new NoOpLogger(),
564
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
565
+ protocolSettings: config?.protocolSettings ?? {
566
+ defaultNamespace: "com.amazonaws.aiops",
567
+ errorTypeRegistries,
568
+ version: "2018-05-10",
569
+ serviceTarget: "AIOps",
570
+ },
571
+ serviceId: config?.serviceId ?? "AIOps",
572
+ urlParser: config?.urlParser ?? parseUrl,
573
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
574
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
575
+ };
576
+ };
577
+
578
+ const getRuntimeConfig = (config) => {
579
+ emitWarningIfUnsupportedVersion(process.version);
580
+ const defaultsMode = resolveDefaultsModeConfig(config);
581
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
582
+ const clientSharedValues = getRuntimeConfig$1(config);
583
+ emitWarningIfUnsupportedVersion$1(process.version);
584
+ const loaderConfig = {
585
+ profile: config?.profile,
586
+ logger: clientSharedValues.logger,
587
+ };
588
+ return {
589
+ ...clientSharedValues,
590
+ ...config,
591
+ runtime: "node",
592
+ defaultsMode,
593
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
594
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
595
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
596
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
597
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
598
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
599
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
600
+ retryMode: config?.retryMode ??
601
+ loadConfig({
602
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
603
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
604
+ }, config),
605
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
606
+ streamCollector: config?.streamCollector ?? streamCollector,
607
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
608
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
609
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
610
+ };
611
+ };
612
+
34
613
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
614
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
615
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -272,16 +851,70 @@ const EncryptionConfigurationType = {
272
851
 
273
852
  exports.AIOps = AIOps;
274
853
  exports.AIOpsClient = AIOpsClient;
854
+ exports.AIOpsServiceException = AIOpsServiceException;
855
+ exports.AIOpsServiceException$ = AIOpsServiceException$;
856
+ exports.AccessDeniedException = AccessDeniedException;
857
+ exports.AccessDeniedException$ = AccessDeniedException$;
858
+ exports.ConflictException = ConflictException;
859
+ exports.ConflictException$ = ConflictException$;
860
+ exports.CreateInvestigationGroup$ = CreateInvestigationGroup$;
275
861
  exports.CreateInvestigationGroupCommand = CreateInvestigationGroupCommand;
862
+ exports.CreateInvestigationGroupInput$ = CreateInvestigationGroupInput$;
863
+ exports.CreateInvestigationGroupOutput$ = CreateInvestigationGroupOutput$;
864
+ exports.CrossAccountConfiguration$ = CrossAccountConfiguration$;
865
+ exports.DeleteInvestigationGroup$ = DeleteInvestigationGroup$;
276
866
  exports.DeleteInvestigationGroupCommand = DeleteInvestigationGroupCommand;
867
+ exports.DeleteInvestigationGroupPolicy$ = DeleteInvestigationGroupPolicy$;
277
868
  exports.DeleteInvestigationGroupPolicyCommand = DeleteInvestigationGroupPolicyCommand;
869
+ exports.DeleteInvestigationGroupPolicyOutput$ = DeleteInvestigationGroupPolicyOutput$;
870
+ exports.DeleteInvestigationGroupPolicyRequest$ = DeleteInvestigationGroupPolicyRequest$;
871
+ exports.DeleteInvestigationGroupRequest$ = DeleteInvestigationGroupRequest$;
872
+ exports.EncryptionConfiguration$ = EncryptionConfiguration$;
278
873
  exports.EncryptionConfigurationType = EncryptionConfigurationType;
874
+ exports.ForbiddenException = ForbiddenException;
875
+ exports.ForbiddenException$ = ForbiddenException$;
876
+ exports.GetInvestigationGroup$ = GetInvestigationGroup$;
279
877
  exports.GetInvestigationGroupCommand = GetInvestigationGroupCommand;
878
+ exports.GetInvestigationGroupPolicy$ = GetInvestigationGroupPolicy$;
280
879
  exports.GetInvestigationGroupPolicyCommand = GetInvestigationGroupPolicyCommand;
880
+ exports.GetInvestigationGroupPolicyRequest$ = GetInvestigationGroupPolicyRequest$;
881
+ exports.GetInvestigationGroupPolicyResponse$ = GetInvestigationGroupPolicyResponse$;
882
+ exports.GetInvestigationGroupRequest$ = GetInvestigationGroupRequest$;
883
+ exports.GetInvestigationGroupResponse$ = GetInvestigationGroupResponse$;
884
+ exports.InternalServerException = InternalServerException;
885
+ exports.InternalServerException$ = InternalServerException$;
886
+ exports.ListInvestigationGroups$ = ListInvestigationGroups$;
281
887
  exports.ListInvestigationGroupsCommand = ListInvestigationGroupsCommand;
888
+ exports.ListInvestigationGroupsInput$ = ListInvestigationGroupsInput$;
889
+ exports.ListInvestigationGroupsModel$ = ListInvestigationGroupsModel$;
890
+ exports.ListInvestigationGroupsOutput$ = ListInvestigationGroupsOutput$;
891
+ exports.ListTagsForResource$ = ListTagsForResource$;
282
892
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
893
+ exports.ListTagsForResourceOutput$ = ListTagsForResourceOutput$;
894
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
895
+ exports.PutInvestigationGroupPolicy$ = PutInvestigationGroupPolicy$;
283
896
  exports.PutInvestigationGroupPolicyCommand = PutInvestigationGroupPolicyCommand;
897
+ exports.PutInvestigationGroupPolicyRequest$ = PutInvestigationGroupPolicyRequest$;
898
+ exports.PutInvestigationGroupPolicyResponse$ = PutInvestigationGroupPolicyResponse$;
899
+ exports.ResourceNotFoundException = ResourceNotFoundException;
900
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
901
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
902
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
903
+ exports.TagResource$ = TagResource$;
284
904
  exports.TagResourceCommand = TagResourceCommand;
905
+ exports.TagResourceRequest$ = TagResourceRequest$;
906
+ exports.TagResourceResponse$ = TagResourceResponse$;
907
+ exports.ThrottlingException = ThrottlingException;
908
+ exports.ThrottlingException$ = ThrottlingException$;
909
+ exports.UntagResource$ = UntagResource$;
285
910
  exports.UntagResourceCommand = UntagResourceCommand;
911
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
912
+ exports.UntagResourceResponse$ = UntagResourceResponse$;
913
+ exports.UpdateInvestigationGroup$ = UpdateInvestigationGroup$;
286
914
  exports.UpdateInvestigationGroupCommand = UpdateInvestigationGroupCommand;
915
+ exports.UpdateInvestigationGroupOutput$ = UpdateInvestigationGroupOutput$;
916
+ exports.UpdateInvestigationGroupRequest$ = UpdateInvestigationGroupRequest$;
917
+ exports.ValidationException = ValidationException;
918
+ exports.ValidationException$ = ValidationException$;
919
+ exports.errorTypeRegistries = errorTypeRegistries;
287
920
  exports.paginateListInvestigationGroups = paginateListInvestigationGroups;