@aws-sdk/client-aiops 3.957.0 → 3.962.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -16
- package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-cjs/index.js +181 -183
- package/dist-cjs/runtimeConfig.browser.js +1 -2
- package/dist-cjs/runtimeConfig.js +2 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +4 -6
- package/dist-es/schemas/schemas_0.js +184 -184
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -9,10 +9,8 @@ AWS SDK for JavaScript AIOps Client for Node.js, Browser and React Native.
|
|
|
9
9
|
<p>The CloudWatch investigations feature is a generative AI-powered assistant that can help you respond to incidents in your system. It uses generative AI to scan your system's telemetry and quickly surface suggestions that might be related to your issue. These suggestions include metrics, logs, deployment events, and root-cause hypotheses. </p> <p>You can use API actions to create, manage, and delete investigation groups and investigation group policies. To start and manage investigations, you must use the CloudWatch console.</p>
|
|
10
10
|
|
|
11
11
|
## Installing
|
|
12
|
-
|
|
13
12
|
To install this package, simply type add or install @aws-sdk/client-aiops
|
|
14
13
|
using your favorite package manager:
|
|
15
|
-
|
|
16
14
|
- `npm install @aws-sdk/client-aiops`
|
|
17
15
|
- `yarn add @aws-sdk/client-aiops`
|
|
18
16
|
- `pnpm add @aws-sdk/client-aiops`
|
|
@@ -48,9 +46,7 @@ To send a request, you:
|
|
|
48
46
|
// a client can be shared by different commands.
|
|
49
47
|
const client = new AIOpsClient({ region: "REGION" });
|
|
50
48
|
|
|
51
|
-
const params = {
|
|
52
|
-
/** input parameters */
|
|
53
|
-
};
|
|
49
|
+
const params = { /** input parameters */ };
|
|
54
50
|
const command = new ListInvestigationGroupsCommand(params);
|
|
55
51
|
```
|
|
56
52
|
|
|
@@ -209,7 +205,6 @@ CreateInvestigationGroup
|
|
|
209
205
|
</summary>
|
|
210
206
|
|
|
211
207
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/aiops/command/CreateInvestigationGroupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-aiops/Interface/CreateInvestigationGroupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-aiops/Interface/CreateInvestigationGroupCommandOutput/)
|
|
212
|
-
|
|
213
208
|
</details>
|
|
214
209
|
<details>
|
|
215
210
|
<summary>
|
|
@@ -217,7 +212,6 @@ DeleteInvestigationGroup
|
|
|
217
212
|
</summary>
|
|
218
213
|
|
|
219
214
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/aiops/command/DeleteInvestigationGroupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-aiops/Interface/DeleteInvestigationGroupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-aiops/Interface/DeleteInvestigationGroupCommandOutput/)
|
|
220
|
-
|
|
221
215
|
</details>
|
|
222
216
|
<details>
|
|
223
217
|
<summary>
|
|
@@ -225,7 +219,6 @@ DeleteInvestigationGroupPolicy
|
|
|
225
219
|
</summary>
|
|
226
220
|
|
|
227
221
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/aiops/command/DeleteInvestigationGroupPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-aiops/Interface/DeleteInvestigationGroupPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-aiops/Interface/DeleteInvestigationGroupPolicyCommandOutput/)
|
|
228
|
-
|
|
229
222
|
</details>
|
|
230
223
|
<details>
|
|
231
224
|
<summary>
|
|
@@ -233,7 +226,6 @@ GetInvestigationGroup
|
|
|
233
226
|
</summary>
|
|
234
227
|
|
|
235
228
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/aiops/command/GetInvestigationGroupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-aiops/Interface/GetInvestigationGroupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-aiops/Interface/GetInvestigationGroupCommandOutput/)
|
|
236
|
-
|
|
237
229
|
</details>
|
|
238
230
|
<details>
|
|
239
231
|
<summary>
|
|
@@ -241,7 +233,6 @@ GetInvestigationGroupPolicy
|
|
|
241
233
|
</summary>
|
|
242
234
|
|
|
243
235
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/aiops/command/GetInvestigationGroupPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-aiops/Interface/GetInvestigationGroupPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-aiops/Interface/GetInvestigationGroupPolicyCommandOutput/)
|
|
244
|
-
|
|
245
236
|
</details>
|
|
246
237
|
<details>
|
|
247
238
|
<summary>
|
|
@@ -249,7 +240,6 @@ ListInvestigationGroups
|
|
|
249
240
|
</summary>
|
|
250
241
|
|
|
251
242
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/aiops/command/ListInvestigationGroupsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-aiops/Interface/ListInvestigationGroupsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-aiops/Interface/ListInvestigationGroupsCommandOutput/)
|
|
252
|
-
|
|
253
243
|
</details>
|
|
254
244
|
<details>
|
|
255
245
|
<summary>
|
|
@@ -257,7 +247,6 @@ ListTagsForResource
|
|
|
257
247
|
</summary>
|
|
258
248
|
|
|
259
249
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/aiops/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-aiops/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-aiops/Interface/ListTagsForResourceCommandOutput/)
|
|
260
|
-
|
|
261
250
|
</details>
|
|
262
251
|
<details>
|
|
263
252
|
<summary>
|
|
@@ -265,7 +254,6 @@ PutInvestigationGroupPolicy
|
|
|
265
254
|
</summary>
|
|
266
255
|
|
|
267
256
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/aiops/command/PutInvestigationGroupPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-aiops/Interface/PutInvestigationGroupPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-aiops/Interface/PutInvestigationGroupPolicyCommandOutput/)
|
|
268
|
-
|
|
269
257
|
</details>
|
|
270
258
|
<details>
|
|
271
259
|
<summary>
|
|
@@ -273,7 +261,6 @@ TagResource
|
|
|
273
261
|
</summary>
|
|
274
262
|
|
|
275
263
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/aiops/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-aiops/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-aiops/Interface/TagResourceCommandOutput/)
|
|
276
|
-
|
|
277
264
|
</details>
|
|
278
265
|
<details>
|
|
279
266
|
<summary>
|
|
@@ -281,7 +268,6 @@ UntagResource
|
|
|
281
268
|
</summary>
|
|
282
269
|
|
|
283
270
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/aiops/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-aiops/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-aiops/Interface/UntagResourceCommandOutput/)
|
|
284
|
-
|
|
285
271
|
</details>
|
|
286
272
|
<details>
|
|
287
273
|
<summary>
|
|
@@ -289,5 +275,4 @@ UpdateInvestigationGroup
|
|
|
289
275
|
</summary>
|
|
290
276
|
|
|
291
277
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/aiops/command/UpdateInvestigationGroupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-aiops/Interface/UpdateInvestigationGroupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-aiops/Interface/UpdateInvestigationGroupCommandOutput/)
|
|
292
|
-
|
|
293
278
|
</details>
|
|
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
|
|
|
6
6
|
const defaultAIOpsHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
8
|
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
|
9
|
-
region:
|
|
10
|
-
(
|
|
11
|
-
|
|
12
|
-
})(),
|
|
9
|
+
region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
|
|
10
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
|
+
})(),
|
|
13
12
|
};
|
|
14
13
|
};
|
|
15
14
|
exports.defaultAIOpsHttpAuthSchemeParametersProvider = defaultAIOpsHttpAuthSchemeParametersProvider;
|
package/dist-cjs/index.js
CHANGED
|
@@ -308,217 +308,215 @@ const _tKB = "tagKeyBoundaries";
|
|
|
308
308
|
const _ty = "type";
|
|
309
309
|
const n0 = "com.amazonaws.aiops";
|
|
310
310
|
var SensitiveStringWithLengthLimits = [0, n0, _SSWLL, 8, 0];
|
|
311
|
-
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
311
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
312
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
313
|
+
[_m],
|
|
314
|
+
[0]
|
|
315
|
+
];
|
|
312
316
|
schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
313
|
-
var ConflictException$ = [-3, n0, _CE,
|
|
317
|
+
var ConflictException$ = [-3, n0, _CE,
|
|
318
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
319
|
+
[_m],
|
|
320
|
+
[0]
|
|
321
|
+
];
|
|
314
322
|
schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
315
|
-
var CreateInvestigationGroupInput$ = [
|
|
316
|
-
3,
|
|
317
|
-
n0,
|
|
318
|
-
_CIGI,
|
|
323
|
+
var CreateInvestigationGroupInput$ = [3, n0, _CIGI,
|
|
319
324
|
0,
|
|
320
325
|
[_n, _rA, _eC, _rID, _t, _tKB, _cNC, _iCTEHE, _cAC],
|
|
321
|
-
[
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
]
|
|
332
|
-
];
|
|
333
|
-
var
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
var
|
|
339
|
-
|
|
326
|
+
[0, 0, () => EncryptionConfiguration$, 1, 128 | 0, 64 | 0, [2, n0, _CNC, 0, 0, 64 | 0], 2, () => CrossAccountConfigurations]
|
|
327
|
+
];
|
|
328
|
+
var CreateInvestigationGroupOutput$ = [3, n0, _CIGO,
|
|
329
|
+
0,
|
|
330
|
+
[_a],
|
|
331
|
+
[0]
|
|
332
|
+
];
|
|
333
|
+
var CrossAccountConfiguration$ = [3, n0, _CAC,
|
|
334
|
+
0,
|
|
335
|
+
[_sRA],
|
|
336
|
+
[0]
|
|
337
|
+
];
|
|
338
|
+
var DeleteInvestigationGroupPolicyOutput$ = [3, n0, _DIGPO,
|
|
339
|
+
0,
|
|
340
|
+
[],
|
|
341
|
+
[]
|
|
342
|
+
];
|
|
343
|
+
var DeleteInvestigationGroupPolicyRequest$ = [3, n0, _DIGPR,
|
|
344
|
+
0,
|
|
345
|
+
[_i],
|
|
346
|
+
[[0, 1]]
|
|
347
|
+
];
|
|
348
|
+
var DeleteInvestigationGroupRequest$ = [3, n0, _DIGR,
|
|
349
|
+
0,
|
|
350
|
+
[_i],
|
|
351
|
+
[[0, 1]]
|
|
352
|
+
];
|
|
353
|
+
var EncryptionConfiguration$ = [3, n0, _EC,
|
|
354
|
+
0,
|
|
355
|
+
[_ty, _kKI],
|
|
356
|
+
[0, 0]
|
|
357
|
+
];
|
|
358
|
+
var ForbiddenException$ = [-3, n0, _FE,
|
|
359
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
360
|
+
[_m],
|
|
361
|
+
[0]
|
|
362
|
+
];
|
|
340
363
|
schema.TypeRegistry.for(n0).registerError(ForbiddenException$, ForbiddenException);
|
|
341
|
-
var GetInvestigationGroupPolicyRequest$ = [3, n0, _GIGPR,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
364
|
+
var GetInvestigationGroupPolicyRequest$ = [3, n0, _GIGPR,
|
|
365
|
+
0,
|
|
366
|
+
[_i],
|
|
367
|
+
[[0, 1]]
|
|
368
|
+
];
|
|
369
|
+
var GetInvestigationGroupPolicyResponse$ = [3, n0, _GIGPRe,
|
|
370
|
+
0,
|
|
371
|
+
[_iGA, _p],
|
|
372
|
+
[0, 0]
|
|
373
|
+
];
|
|
374
|
+
var GetInvestigationGroupRequest$ = [3, n0, _GIGR,
|
|
375
|
+
0,
|
|
376
|
+
[_i],
|
|
377
|
+
[[0, 1]]
|
|
378
|
+
];
|
|
379
|
+
var GetInvestigationGroupResponse$ = [3, n0, _GIGRe,
|
|
348
380
|
0,
|
|
349
381
|
[_cB, _cA, _lMB, _lMA, _n, _a, _rA, _eC, _rID, _cNC, _tKB, _iCTEHE, _cAC],
|
|
350
|
-
[
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
0,
|
|
358
|
-
() => EncryptionConfiguration$,
|
|
359
|
-
1,
|
|
360
|
-
[2, n0, _CNC, 0, 0, 64 | 0],
|
|
361
|
-
64 | 0,
|
|
362
|
-
2,
|
|
363
|
-
() => CrossAccountConfigurations,
|
|
364
|
-
],
|
|
365
|
-
];
|
|
366
|
-
var InternalServerException$ = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_m], [0]];
|
|
382
|
+
[0, 1, 0, 1, 0, 0, 0, () => EncryptionConfiguration$, 1, [2, n0, _CNC, 0, 0, 64 | 0], 64 | 0, 2, () => CrossAccountConfigurations]
|
|
383
|
+
];
|
|
384
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
385
|
+
{ [_e]: _s, [_hE]: 500 },
|
|
386
|
+
[_m],
|
|
387
|
+
[0]
|
|
388
|
+
];
|
|
367
389
|
schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
368
|
-
var ListInvestigationGroupsInput$ = [
|
|
369
|
-
3,
|
|
370
|
-
n0,
|
|
371
|
-
_LIGI,
|
|
390
|
+
var ListInvestigationGroupsInput$ = [3, n0, _LIGI,
|
|
372
391
|
0,
|
|
373
392
|
[_nT, _mR],
|
|
374
|
-
[
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
]
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
n0,
|
|
383
|
-
_LIGO,
|
|
393
|
+
[[() => SensitiveStringWithLengthLimits, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
|
|
394
|
+
];
|
|
395
|
+
var ListInvestigationGroupsModel$ = [3, n0, _LIGM,
|
|
396
|
+
0,
|
|
397
|
+
[_a, _n],
|
|
398
|
+
[0, 0]
|
|
399
|
+
];
|
|
400
|
+
var ListInvestigationGroupsOutput$ = [3, n0, _LIGO,
|
|
384
401
|
0,
|
|
385
402
|
[_nT, _iG],
|
|
386
|
-
[[() => SensitiveStringWithLengthLimits, 0], () => InvestigationGroups]
|
|
403
|
+
[[() => SensitiveStringWithLengthLimits, 0], () => InvestigationGroups]
|
|
404
|
+
];
|
|
405
|
+
var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
|
|
406
|
+
0,
|
|
407
|
+
[_t],
|
|
408
|
+
[128 | 0]
|
|
409
|
+
];
|
|
410
|
+
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
411
|
+
0,
|
|
412
|
+
[_rAe],
|
|
413
|
+
[[0, 1]]
|
|
414
|
+
];
|
|
415
|
+
var PutInvestigationGroupPolicyRequest$ = [3, n0, _PIGPR,
|
|
416
|
+
0,
|
|
417
|
+
[_i, _p],
|
|
418
|
+
[[0, 1], 0]
|
|
419
|
+
];
|
|
420
|
+
var PutInvestigationGroupPolicyResponse$ = [3, n0, _PIGPRu,
|
|
421
|
+
0,
|
|
422
|
+
[_iGA],
|
|
423
|
+
[0]
|
|
424
|
+
];
|
|
425
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
426
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
427
|
+
[_m],
|
|
428
|
+
[0]
|
|
387
429
|
];
|
|
388
|
-
var ListTagsForResourceOutput$ = [3, n0, _LTFRO, 0, [_t], [128 | 0]];
|
|
389
|
-
var ListTagsForResourceRequest$ = [3, n0, _LTFRR, 0, [_rAe], [[0, 1]]];
|
|
390
|
-
var PutInvestigationGroupPolicyRequest$ = [3, n0, _PIGPR, 0, [_i, _p], [[0, 1], 0]];
|
|
391
|
-
var PutInvestigationGroupPolicyResponse$ = [3, n0, _PIGPRu, 0, [_iGA], [0]];
|
|
392
|
-
var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
393
430
|
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
394
|
-
var ServiceQuotaExceededException$ = [
|
|
395
|
-
-3,
|
|
396
|
-
n0,
|
|
397
|
-
_SQEE,
|
|
431
|
+
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
398
432
|
{ [_e]: _c, [_hE]: 402 },
|
|
399
433
|
[_m, _rI, _rT, _sC, _qC],
|
|
400
|
-
[0, 0, 0, 0, 0]
|
|
434
|
+
[0, 0, 0, 0, 0]
|
|
401
435
|
];
|
|
402
436
|
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
403
|
-
var TagResourceRequest$ = [3, n0, _TRR,
|
|
404
|
-
|
|
405
|
-
|
|
437
|
+
var TagResourceRequest$ = [3, n0, _TRR,
|
|
438
|
+
0,
|
|
439
|
+
[_rAe, _t],
|
|
440
|
+
[[0, 1], 128 | 0]
|
|
441
|
+
];
|
|
442
|
+
var TagResourceResponse$ = [3, n0, _TRRa,
|
|
443
|
+
0,
|
|
444
|
+
[],
|
|
445
|
+
[]
|
|
446
|
+
];
|
|
447
|
+
var ThrottlingException$ = [-3, n0, _TE,
|
|
448
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
449
|
+
[_m],
|
|
450
|
+
[0]
|
|
451
|
+
];
|
|
406
452
|
schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
407
|
-
var UntagResourceRequest$ = [
|
|
408
|
-
3,
|
|
409
|
-
n0,
|
|
410
|
-
_URR,
|
|
453
|
+
var UntagResourceRequest$ = [3, n0, _URR,
|
|
411
454
|
0,
|
|
412
455
|
[_rAe, _tK],
|
|
413
|
-
[
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
]
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
var
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
456
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]]
|
|
457
|
+
];
|
|
458
|
+
var UntagResourceResponse$ = [3, n0, _URRn,
|
|
459
|
+
0,
|
|
460
|
+
[],
|
|
461
|
+
[]
|
|
462
|
+
];
|
|
463
|
+
var UpdateInvestigationGroupOutput$ = [3, n0, _UIGO,
|
|
464
|
+
0,
|
|
465
|
+
[],
|
|
466
|
+
[]
|
|
467
|
+
];
|
|
468
|
+
var UpdateInvestigationGroupRequest$ = [3, n0, _UIGR,
|
|
424
469
|
0,
|
|
425
470
|
[_i, _rA, _eC, _tKB, _cNC, _iCTEHE, _cAC],
|
|
426
|
-
[[0, 1], 0, () => EncryptionConfiguration$, 64 | 0, [2, n0, _CNC, 0, 0, 64 | 0], 2, () => CrossAccountConfigurations]
|
|
471
|
+
[[0, 1], 0, () => EncryptionConfiguration$, 64 | 0, [2, n0, _CNC, 0, 0, 64 | 0], 2, () => CrossAccountConfigurations]
|
|
472
|
+
];
|
|
473
|
+
var ValidationException$ = [-3, n0, _VE,
|
|
474
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
475
|
+
[_m],
|
|
476
|
+
[0]
|
|
427
477
|
];
|
|
428
|
-
var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
429
478
|
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
430
479
|
var __Unit = "unit";
|
|
431
480
|
var AIOpsServiceException$ = [-3, _sm, "AIOpsServiceException", 0, [], []];
|
|
432
481
|
schema.TypeRegistry.for(_sm).registerError(AIOpsServiceException$, AIOpsServiceException);
|
|
433
|
-
var CrossAccountConfigurations = [1, n0, _CACr,
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
() => CreateInvestigationGroupInput$,
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
() =>
|
|
450
|
-
];
|
|
451
|
-
var
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
{ [_h]: ["
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
]
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
() =>
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
{ [_h]: ["GET", "/investigationGroups/{identifier}/policy", 200] },
|
|
472
|
-
() => GetInvestigationGroupPolicyRequest$,
|
|
473
|
-
() => GetInvestigationGroupPolicyResponse$,
|
|
474
|
-
];
|
|
475
|
-
var ListInvestigationGroups$ = [
|
|
476
|
-
9,
|
|
477
|
-
n0,
|
|
478
|
-
_LIG,
|
|
479
|
-
{ [_h]: ["GET", "/investigationGroups", 200] },
|
|
480
|
-
() => ListInvestigationGroupsInput$,
|
|
481
|
-
() => ListInvestigationGroupsOutput$,
|
|
482
|
-
];
|
|
483
|
-
var ListTagsForResource$ = [
|
|
484
|
-
9,
|
|
485
|
-
n0,
|
|
486
|
-
_LTFR,
|
|
487
|
-
{ [_h]: ["GET", "/tags/{resourceArn}", 200] },
|
|
488
|
-
() => ListTagsForResourceRequest$,
|
|
489
|
-
() => ListTagsForResourceOutput$,
|
|
490
|
-
];
|
|
491
|
-
var PutInvestigationGroupPolicy$ = [
|
|
492
|
-
9,
|
|
493
|
-
n0,
|
|
494
|
-
_PIGP,
|
|
495
|
-
{ [_h]: ["POST", "/investigationGroups/{identifier}/policy", 200] },
|
|
496
|
-
() => PutInvestigationGroupPolicyRequest$,
|
|
497
|
-
() => PutInvestigationGroupPolicyResponse$,
|
|
498
|
-
];
|
|
499
|
-
var TagResource$ = [
|
|
500
|
-
9,
|
|
501
|
-
n0,
|
|
502
|
-
_TR,
|
|
503
|
-
{ [_h]: ["POST", "/tags/{resourceArn}", 200] },
|
|
504
|
-
() => TagResourceRequest$,
|
|
505
|
-
() => TagResourceResponse$,
|
|
506
|
-
];
|
|
507
|
-
var UntagResource$ = [
|
|
508
|
-
9,
|
|
509
|
-
n0,
|
|
510
|
-
_UR,
|
|
511
|
-
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] },
|
|
512
|
-
() => UntagResourceRequest$,
|
|
513
|
-
() => UntagResourceResponse$,
|
|
514
|
-
];
|
|
515
|
-
var UpdateInvestigationGroup$ = [
|
|
516
|
-
9,
|
|
517
|
-
n0,
|
|
518
|
-
_UIG,
|
|
519
|
-
{ [_h]: ["PATCH", "/investigationGroups/{identifier}", 200] },
|
|
520
|
-
() => UpdateInvestigationGroupRequest$,
|
|
521
|
-
() => UpdateInvestigationGroupOutput$,
|
|
482
|
+
var CrossAccountConfigurations = [1, n0, _CACr,
|
|
483
|
+
0, () => CrossAccountConfiguration$
|
|
484
|
+
];
|
|
485
|
+
var InvestigationGroups = [1, n0, _IG,
|
|
486
|
+
0, () => ListInvestigationGroupsModel$
|
|
487
|
+
];
|
|
488
|
+
var CreateInvestigationGroup$ = [9, n0, _CIG,
|
|
489
|
+
{ [_h]: ["POST", "/investigationGroups", 201] }, () => CreateInvestigationGroupInput$, () => CreateInvestigationGroupOutput$
|
|
490
|
+
];
|
|
491
|
+
var DeleteInvestigationGroup$ = [9, n0, _DIG,
|
|
492
|
+
{ [_h]: ["DELETE", "/investigationGroups/{identifier}", 200] }, () => DeleteInvestigationGroupRequest$, () => __Unit
|
|
493
|
+
];
|
|
494
|
+
var DeleteInvestigationGroupPolicy$ = [9, n0, _DIGP,
|
|
495
|
+
{ [_h]: ["DELETE", "/investigationGroups/{identifier}/policy", 200] }, () => DeleteInvestigationGroupPolicyRequest$, () => DeleteInvestigationGroupPolicyOutput$
|
|
496
|
+
];
|
|
497
|
+
var GetInvestigationGroup$ = [9, n0, _GIG,
|
|
498
|
+
{ [_h]: ["GET", "/investigationGroups/{identifier}", 200] }, () => GetInvestigationGroupRequest$, () => GetInvestigationGroupResponse$
|
|
499
|
+
];
|
|
500
|
+
var GetInvestigationGroupPolicy$ = [9, n0, _GIGP,
|
|
501
|
+
{ [_h]: ["GET", "/investigationGroups/{identifier}/policy", 200] }, () => GetInvestigationGroupPolicyRequest$, () => GetInvestigationGroupPolicyResponse$
|
|
502
|
+
];
|
|
503
|
+
var ListInvestigationGroups$ = [9, n0, _LIG,
|
|
504
|
+
{ [_h]: ["GET", "/investigationGroups", 200] }, () => ListInvestigationGroupsInput$, () => ListInvestigationGroupsOutput$
|
|
505
|
+
];
|
|
506
|
+
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
507
|
+
{ [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceOutput$
|
|
508
|
+
];
|
|
509
|
+
var PutInvestigationGroupPolicy$ = [9, n0, _PIGP,
|
|
510
|
+
{ [_h]: ["POST", "/investigationGroups/{identifier}/policy", 200] }, () => PutInvestigationGroupPolicyRequest$, () => PutInvestigationGroupPolicyResponse$
|
|
511
|
+
];
|
|
512
|
+
var TagResource$ = [9, n0, _TR,
|
|
513
|
+
{ [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
|
|
514
|
+
];
|
|
515
|
+
var UntagResource$ = [9, n0, _UR,
|
|
516
|
+
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
517
|
+
];
|
|
518
|
+
var UpdateInvestigationGroup$ = [9, n0, _UIG,
|
|
519
|
+
{ [_h]: ["PATCH", "/investigationGroups/{identifier}", 200] }, () => UpdateInvestigationGroupRequest$, () => UpdateInvestigationGroupOutput$
|
|
522
520
|
];
|
|
523
521
|
|
|
524
522
|
class CreateInvestigationGroupCommand extends smithyClient.Command
|
|
@@ -24,8 +24,7 @@ const getRuntimeConfig = (config) => {
|
|
|
24
24
|
defaultsMode,
|
|
25
25
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
26
26
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
28
|
-
(0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
27
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
29
28
|
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
30
29
|
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
31
30
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -34,11 +34,9 @@ const getRuntimeConfig = (config) => {
|
|
|
34
34
|
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
35
35
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
36
36
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
37
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
38
|
-
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
37
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
39
38
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
40
|
-
region: config?.region ??
|
|
41
|
-
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
39
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
42
40
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
43
41
|
retryMode: config?.retryMode ??
|
|
44
42
|
(0, node_config_provider_1.loadConfig)({
|
|
@@ -3,10 +3,9 @@ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
|
|
|
3
3
|
export const defaultAIOpsHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
|
5
5
|
operation: getSmithyContext(context).operation,
|
|
6
|
-
region:
|
|
7
|
-
(
|
|
8
|
-
|
|
9
|
-
})(),
|
|
6
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
7
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
8
|
+
})(),
|
|
10
9
|
};
|
|
11
10
|
};
|
|
12
11
|
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
@@ -20,8 +20,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
20
20
|
defaultsMode,
|
|
21
21
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
22
22
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
23
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
24
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
23
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
25
24
|
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
26
25
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
27
26
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import {
|
|
2
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core";
|
|
3
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
|
-
import {
|
|
4
|
+
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
5
5
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
6
|
import { Hash } from "@smithy/hash-node";
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
@@ -30,11 +30,9 @@ export const getRuntimeConfig = (config) => {
|
|
|
30
30
|
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
31
31
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
32
32
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
33
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
33
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
35
34
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
36
|
-
region: config?.region ??
|
|
37
|
-
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
35
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
38
36
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
39
37
|
retryMode: config?.retryMode ??
|
|
40
38
|
loadNodeConfig({
|
|
@@ -87,220 +87,220 @@ import { TypeRegistry } from "@smithy/core/schema";
|
|
|
87
87
|
import { AIOpsServiceException } from "../models/AIOpsServiceException";
|
|
88
88
|
import { AccessDeniedException, ConflictException, ForbiddenException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
89
89
|
var SensitiveStringWithLengthLimits = [0, n0, _SSWLL, 8, 0];
|
|
90
|
-
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
90
|
+
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
91
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
92
|
+
[_m],
|
|
93
|
+
[0]
|
|
94
|
+
];
|
|
91
95
|
TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
92
|
-
export var ConflictException$ = [-3, n0, _CE,
|
|
96
|
+
export var ConflictException$ = [-3, n0, _CE,
|
|
97
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
98
|
+
[_m],
|
|
99
|
+
[0]
|
|
100
|
+
];
|
|
93
101
|
TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
94
|
-
export var CreateInvestigationGroupInput$ = [
|
|
95
|
-
3,
|
|
96
|
-
n0,
|
|
97
|
-
_CIGI,
|
|
102
|
+
export var CreateInvestigationGroupInput$ = [3, n0, _CIGI,
|
|
98
103
|
0,
|
|
99
104
|
[_n, _rA, _eC, _rID, _t, _tKB, _cNC, _iCTEHE, _cAC],
|
|
100
|
-
[
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
]
|
|
111
|
-
];
|
|
112
|
-
export var
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
export var
|
|
118
|
-
|
|
105
|
+
[0, 0, () => EncryptionConfiguration$, 1, 128 | 0, 64 | 0, [2, n0, _CNC, 0, 0, 64 | 0], 2, () => CrossAccountConfigurations]
|
|
106
|
+
];
|
|
107
|
+
export var CreateInvestigationGroupOutput$ = [3, n0, _CIGO,
|
|
108
|
+
0,
|
|
109
|
+
[_a],
|
|
110
|
+
[0]
|
|
111
|
+
];
|
|
112
|
+
export var CrossAccountConfiguration$ = [3, n0, _CAC,
|
|
113
|
+
0,
|
|
114
|
+
[_sRA],
|
|
115
|
+
[0]
|
|
116
|
+
];
|
|
117
|
+
export var DeleteInvestigationGroupPolicyOutput$ = [3, n0, _DIGPO,
|
|
118
|
+
0,
|
|
119
|
+
[],
|
|
120
|
+
[]
|
|
121
|
+
];
|
|
122
|
+
export var DeleteInvestigationGroupPolicyRequest$ = [3, n0, _DIGPR,
|
|
123
|
+
0,
|
|
124
|
+
[_i],
|
|
125
|
+
[[0, 1]]
|
|
126
|
+
];
|
|
127
|
+
export var DeleteInvestigationGroupRequest$ = [3, n0, _DIGR,
|
|
128
|
+
0,
|
|
129
|
+
[_i],
|
|
130
|
+
[[0, 1]]
|
|
131
|
+
];
|
|
132
|
+
export var EncryptionConfiguration$ = [3, n0, _EC,
|
|
133
|
+
0,
|
|
134
|
+
[_ty, _kKI],
|
|
135
|
+
[0, 0]
|
|
136
|
+
];
|
|
137
|
+
export var ForbiddenException$ = [-3, n0, _FE,
|
|
138
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
139
|
+
[_m],
|
|
140
|
+
[0]
|
|
141
|
+
];
|
|
119
142
|
TypeRegistry.for(n0).registerError(ForbiddenException$, ForbiddenException);
|
|
120
|
-
export var GetInvestigationGroupPolicyRequest$ = [3, n0, _GIGPR,
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
143
|
+
export var GetInvestigationGroupPolicyRequest$ = [3, n0, _GIGPR,
|
|
144
|
+
0,
|
|
145
|
+
[_i],
|
|
146
|
+
[[0, 1]]
|
|
147
|
+
];
|
|
148
|
+
export var GetInvestigationGroupPolicyResponse$ = [3, n0, _GIGPRe,
|
|
149
|
+
0,
|
|
150
|
+
[_iGA, _p],
|
|
151
|
+
[0, 0]
|
|
152
|
+
];
|
|
153
|
+
export var GetInvestigationGroupRequest$ = [3, n0, _GIGR,
|
|
154
|
+
0,
|
|
155
|
+
[_i],
|
|
156
|
+
[[0, 1]]
|
|
157
|
+
];
|
|
158
|
+
export var GetInvestigationGroupResponse$ = [3, n0, _GIGRe,
|
|
127
159
|
0,
|
|
128
160
|
[_cB, _cA, _lMB, _lMA, _n, _a, _rA, _eC, _rID, _cNC, _tKB, _iCTEHE, _cAC],
|
|
129
|
-
[
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
0,
|
|
137
|
-
() => EncryptionConfiguration$,
|
|
138
|
-
1,
|
|
139
|
-
[2, n0, _CNC, 0, 0, 64 | 0],
|
|
140
|
-
64 | 0,
|
|
141
|
-
2,
|
|
142
|
-
() => CrossAccountConfigurations,
|
|
143
|
-
],
|
|
144
|
-
];
|
|
145
|
-
export var InternalServerException$ = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_m], [0]];
|
|
161
|
+
[0, 1, 0, 1, 0, 0, 0, () => EncryptionConfiguration$, 1, [2, n0, _CNC, 0, 0, 64 | 0], 64 | 0, 2, () => CrossAccountConfigurations]
|
|
162
|
+
];
|
|
163
|
+
export var InternalServerException$ = [-3, n0, _ISE,
|
|
164
|
+
{ [_e]: _s, [_hE]: 500 },
|
|
165
|
+
[_m],
|
|
166
|
+
[0]
|
|
167
|
+
];
|
|
146
168
|
TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
147
|
-
export var ListInvestigationGroupsInput$ = [
|
|
148
|
-
3,
|
|
149
|
-
n0,
|
|
150
|
-
_LIGI,
|
|
169
|
+
export var ListInvestigationGroupsInput$ = [3, n0, _LIGI,
|
|
151
170
|
0,
|
|
152
171
|
[_nT, _mR],
|
|
153
|
-
[
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
]
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
n0,
|
|
162
|
-
_LIGO,
|
|
172
|
+
[[() => SensitiveStringWithLengthLimits, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
|
|
173
|
+
];
|
|
174
|
+
export var ListInvestigationGroupsModel$ = [3, n0, _LIGM,
|
|
175
|
+
0,
|
|
176
|
+
[_a, _n],
|
|
177
|
+
[0, 0]
|
|
178
|
+
];
|
|
179
|
+
export var ListInvestigationGroupsOutput$ = [3, n0, _LIGO,
|
|
163
180
|
0,
|
|
164
181
|
[_nT, _iG],
|
|
165
|
-
[[() => SensitiveStringWithLengthLimits, 0], () => InvestigationGroups]
|
|
182
|
+
[[() => SensitiveStringWithLengthLimits, 0], () => InvestigationGroups]
|
|
183
|
+
];
|
|
184
|
+
export var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
|
|
185
|
+
0,
|
|
186
|
+
[_t],
|
|
187
|
+
[128 | 0]
|
|
188
|
+
];
|
|
189
|
+
export var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
190
|
+
0,
|
|
191
|
+
[_rAe],
|
|
192
|
+
[[0, 1]]
|
|
193
|
+
];
|
|
194
|
+
export var PutInvestigationGroupPolicyRequest$ = [3, n0, _PIGPR,
|
|
195
|
+
0,
|
|
196
|
+
[_i, _p],
|
|
197
|
+
[[0, 1], 0]
|
|
198
|
+
];
|
|
199
|
+
export var PutInvestigationGroupPolicyResponse$ = [3, n0, _PIGPRu,
|
|
200
|
+
0,
|
|
201
|
+
[_iGA],
|
|
202
|
+
[0]
|
|
203
|
+
];
|
|
204
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
205
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
206
|
+
[_m],
|
|
207
|
+
[0]
|
|
166
208
|
];
|
|
167
|
-
export var ListTagsForResourceOutput$ = [3, n0, _LTFRO, 0, [_t], [128 | 0]];
|
|
168
|
-
export var ListTagsForResourceRequest$ = [3, n0, _LTFRR, 0, [_rAe], [[0, 1]]];
|
|
169
|
-
export var PutInvestigationGroupPolicyRequest$ = [3, n0, _PIGPR, 0, [_i, _p], [[0, 1], 0]];
|
|
170
|
-
export var PutInvestigationGroupPolicyResponse$ = [3, n0, _PIGPRu, 0, [_iGA], [0]];
|
|
171
|
-
export var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
172
209
|
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
173
|
-
export var ServiceQuotaExceededException$ = [
|
|
174
|
-
-3,
|
|
175
|
-
n0,
|
|
176
|
-
_SQEE,
|
|
210
|
+
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
177
211
|
{ [_e]: _c, [_hE]: 402 },
|
|
178
212
|
[_m, _rI, _rT, _sC, _qC],
|
|
179
|
-
[0, 0, 0, 0, 0]
|
|
213
|
+
[0, 0, 0, 0, 0]
|
|
180
214
|
];
|
|
181
215
|
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
182
|
-
export var TagResourceRequest$ = [3, n0, _TRR,
|
|
183
|
-
|
|
184
|
-
|
|
216
|
+
export var TagResourceRequest$ = [3, n0, _TRR,
|
|
217
|
+
0,
|
|
218
|
+
[_rAe, _t],
|
|
219
|
+
[[0, 1], 128 | 0]
|
|
220
|
+
];
|
|
221
|
+
export var TagResourceResponse$ = [3, n0, _TRRa,
|
|
222
|
+
0,
|
|
223
|
+
[],
|
|
224
|
+
[]
|
|
225
|
+
];
|
|
226
|
+
export var ThrottlingException$ = [-3, n0, _TE,
|
|
227
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
228
|
+
[_m],
|
|
229
|
+
[0]
|
|
230
|
+
];
|
|
185
231
|
TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
186
|
-
export var UntagResourceRequest$ = [
|
|
187
|
-
3,
|
|
188
|
-
n0,
|
|
189
|
-
_URR,
|
|
232
|
+
export var UntagResourceRequest$ = [3, n0, _URR,
|
|
190
233
|
0,
|
|
191
234
|
[_rAe, _tK],
|
|
192
|
-
[
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
]
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
export var
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
235
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]]
|
|
236
|
+
];
|
|
237
|
+
export var UntagResourceResponse$ = [3, n0, _URRn,
|
|
238
|
+
0,
|
|
239
|
+
[],
|
|
240
|
+
[]
|
|
241
|
+
];
|
|
242
|
+
export var UpdateInvestigationGroupOutput$ = [3, n0, _UIGO,
|
|
243
|
+
0,
|
|
244
|
+
[],
|
|
245
|
+
[]
|
|
246
|
+
];
|
|
247
|
+
export var UpdateInvestigationGroupRequest$ = [3, n0, _UIGR,
|
|
203
248
|
0,
|
|
204
249
|
[_i, _rA, _eC, _tKB, _cNC, _iCTEHE, _cAC],
|
|
205
|
-
[[0, 1], 0, () => EncryptionConfiguration$, 64 | 0, [2, n0, _CNC, 0, 0, 64 | 0], 2, () => CrossAccountConfigurations]
|
|
250
|
+
[[0, 1], 0, () => EncryptionConfiguration$, 64 | 0, [2, n0, _CNC, 0, 0, 64 | 0], 2, () => CrossAccountConfigurations]
|
|
251
|
+
];
|
|
252
|
+
export var ValidationException$ = [-3, n0, _VE,
|
|
253
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
254
|
+
[_m],
|
|
255
|
+
[0]
|
|
206
256
|
];
|
|
207
|
-
export var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
208
257
|
TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
209
258
|
var __Unit = "unit";
|
|
210
259
|
export var AIOpsServiceException$ = [-3, _sm, "AIOpsServiceException", 0, [], []];
|
|
211
260
|
TypeRegistry.for(_sm).registerError(AIOpsServiceException$, AIOpsServiceException);
|
|
212
261
|
var ChatConfigurationArns = 64 | 0;
|
|
213
|
-
var CrossAccountConfigurations = [1, n0, _CACr,
|
|
214
|
-
|
|
262
|
+
var CrossAccountConfigurations = [1, n0, _CACr,
|
|
263
|
+
0, () => CrossAccountConfiguration$
|
|
264
|
+
];
|
|
265
|
+
var InvestigationGroups = [1, n0, _IG,
|
|
266
|
+
0, () => ListInvestigationGroupsModel$
|
|
267
|
+
];
|
|
215
268
|
var TagKeyBoundaries = 64 | 0;
|
|
216
269
|
var TagKeys = 64 | 0;
|
|
217
|
-
var ChatbotNotificationChannel = [2, n0, _CNC,
|
|
270
|
+
var ChatbotNotificationChannel = [2, n0, _CNC,
|
|
271
|
+
0, 0, 64 | 0
|
|
272
|
+
];
|
|
218
273
|
var Tags = 128 | 0;
|
|
219
|
-
export var CreateInvestigationGroup$ = [
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
{ [_h]: ["
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
]
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
() =>
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
() =>
|
|
242
|
-
];
|
|
243
|
-
export var
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
{ [_h]: ["
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
]
|
|
251
|
-
export var GetInvestigationGroupPolicy$ = [
|
|
252
|
-
9,
|
|
253
|
-
n0,
|
|
254
|
-
_GIGP,
|
|
255
|
-
{ [_h]: ["GET", "/investigationGroups/{identifier}/policy", 200] },
|
|
256
|
-
() => GetInvestigationGroupPolicyRequest$,
|
|
257
|
-
() => GetInvestigationGroupPolicyResponse$,
|
|
258
|
-
];
|
|
259
|
-
export var ListInvestigationGroups$ = [
|
|
260
|
-
9,
|
|
261
|
-
n0,
|
|
262
|
-
_LIG,
|
|
263
|
-
{ [_h]: ["GET", "/investigationGroups", 200] },
|
|
264
|
-
() => ListInvestigationGroupsInput$,
|
|
265
|
-
() => ListInvestigationGroupsOutput$,
|
|
266
|
-
];
|
|
267
|
-
export var ListTagsForResource$ = [
|
|
268
|
-
9,
|
|
269
|
-
n0,
|
|
270
|
-
_LTFR,
|
|
271
|
-
{ [_h]: ["GET", "/tags/{resourceArn}", 200] },
|
|
272
|
-
() => ListTagsForResourceRequest$,
|
|
273
|
-
() => ListTagsForResourceOutput$,
|
|
274
|
-
];
|
|
275
|
-
export var PutInvestigationGroupPolicy$ = [
|
|
276
|
-
9,
|
|
277
|
-
n0,
|
|
278
|
-
_PIGP,
|
|
279
|
-
{ [_h]: ["POST", "/investigationGroups/{identifier}/policy", 200] },
|
|
280
|
-
() => PutInvestigationGroupPolicyRequest$,
|
|
281
|
-
() => PutInvestigationGroupPolicyResponse$,
|
|
282
|
-
];
|
|
283
|
-
export var TagResource$ = [
|
|
284
|
-
9,
|
|
285
|
-
n0,
|
|
286
|
-
_TR,
|
|
287
|
-
{ [_h]: ["POST", "/tags/{resourceArn}", 200] },
|
|
288
|
-
() => TagResourceRequest$,
|
|
289
|
-
() => TagResourceResponse$,
|
|
290
|
-
];
|
|
291
|
-
export var UntagResource$ = [
|
|
292
|
-
9,
|
|
293
|
-
n0,
|
|
294
|
-
_UR,
|
|
295
|
-
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] },
|
|
296
|
-
() => UntagResourceRequest$,
|
|
297
|
-
() => UntagResourceResponse$,
|
|
298
|
-
];
|
|
299
|
-
export var UpdateInvestigationGroup$ = [
|
|
300
|
-
9,
|
|
301
|
-
n0,
|
|
302
|
-
_UIG,
|
|
303
|
-
{ [_h]: ["PATCH", "/investigationGroups/{identifier}", 200] },
|
|
304
|
-
() => UpdateInvestigationGroupRequest$,
|
|
305
|
-
() => UpdateInvestigationGroupOutput$,
|
|
274
|
+
export var CreateInvestigationGroup$ = [9, n0, _CIG,
|
|
275
|
+
{ [_h]: ["POST", "/investigationGroups", 201] }, () => CreateInvestigationGroupInput$, () => CreateInvestigationGroupOutput$
|
|
276
|
+
];
|
|
277
|
+
export var DeleteInvestigationGroup$ = [9, n0, _DIG,
|
|
278
|
+
{ [_h]: ["DELETE", "/investigationGroups/{identifier}", 200] }, () => DeleteInvestigationGroupRequest$, () => __Unit
|
|
279
|
+
];
|
|
280
|
+
export var DeleteInvestigationGroupPolicy$ = [9, n0, _DIGP,
|
|
281
|
+
{ [_h]: ["DELETE", "/investigationGroups/{identifier}/policy", 200] }, () => DeleteInvestigationGroupPolicyRequest$, () => DeleteInvestigationGroupPolicyOutput$
|
|
282
|
+
];
|
|
283
|
+
export var GetInvestigationGroup$ = [9, n0, _GIG,
|
|
284
|
+
{ [_h]: ["GET", "/investigationGroups/{identifier}", 200] }, () => GetInvestigationGroupRequest$, () => GetInvestigationGroupResponse$
|
|
285
|
+
];
|
|
286
|
+
export var GetInvestigationGroupPolicy$ = [9, n0, _GIGP,
|
|
287
|
+
{ [_h]: ["GET", "/investigationGroups/{identifier}/policy", 200] }, () => GetInvestigationGroupPolicyRequest$, () => GetInvestigationGroupPolicyResponse$
|
|
288
|
+
];
|
|
289
|
+
export var ListInvestigationGroups$ = [9, n0, _LIG,
|
|
290
|
+
{ [_h]: ["GET", "/investigationGroups", 200] }, () => ListInvestigationGroupsInput$, () => ListInvestigationGroupsOutput$
|
|
291
|
+
];
|
|
292
|
+
export var ListTagsForResource$ = [9, n0, _LTFR,
|
|
293
|
+
{ [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceOutput$
|
|
294
|
+
];
|
|
295
|
+
export var PutInvestigationGroupPolicy$ = [9, n0, _PIGP,
|
|
296
|
+
{ [_h]: ["POST", "/investigationGroups/{identifier}/policy", 200] }, () => PutInvestigationGroupPolicyRequest$, () => PutInvestigationGroupPolicyResponse$
|
|
297
|
+
];
|
|
298
|
+
export var TagResource$ = [9, n0, _TR,
|
|
299
|
+
{ [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
|
|
300
|
+
];
|
|
301
|
+
export var UntagResource$ = [9, n0, _UR,
|
|
302
|
+
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
303
|
+
];
|
|
304
|
+
export var UpdateInvestigationGroup$ = [9, n0, _UIG,
|
|
305
|
+
{ [_h]: ["PATCH", "/investigationGroups/{identifier}", 200] }, () => UpdateInvestigationGroupRequest$, () => UpdateInvestigationGroupOutput$
|
|
306
306
|
];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-aiops",
|
|
3
3
|
"description": "AWS SDK for JavaScript Aiops Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.962.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-aiops",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
24
|
"@aws-sdk/core": "3.957.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.962.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.957.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.957.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.957.0",
|