@aws-sdk/client-aiops 3.928.0 → 3.929.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.
Files changed (35) hide show
  1. package/dist-cjs/index.js +456 -556
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/AIOpsClient.js +2 -0
  4. package/dist-es/commands/CreateInvestigationGroupCommand.js +3 -9
  5. package/dist-es/commands/DeleteInvestigationGroupCommand.js +3 -9
  6. package/dist-es/commands/DeleteInvestigationGroupPolicyCommand.js +3 -9
  7. package/dist-es/commands/GetInvestigationGroupCommand.js +3 -9
  8. package/dist-es/commands/GetInvestigationGroupPolicyCommand.js +3 -9
  9. package/dist-es/commands/ListInvestigationGroupsCommand.js +3 -10
  10. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  11. package/dist-es/commands/PutInvestigationGroupPolicyCommand.js +3 -9
  12. package/dist-es/commands/TagResourceCommand.js +3 -9
  13. package/dist-es/commands/UntagResourceCommand.js +3 -9
  14. package/dist-es/commands/UpdateInvestigationGroupCommand.js +3 -9
  15. package/dist-es/models/models_0.js +0 -9
  16. package/dist-es/runtimeConfig.shared.js +2 -0
  17. package/dist-es/schemas/schemas_0.js +416 -0
  18. package/dist-types/AIOpsClient.d.ts +10 -1
  19. package/dist-types/models/models_0.d.ts +0 -8
  20. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  21. package/dist-types/runtimeConfig.d.ts +1 -0
  22. package/dist-types/runtimeConfig.native.d.ts +1 -0
  23. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  24. package/dist-types/schemas/schemas_0.d.ts +54 -0
  25. package/dist-types/ts3.4/AIOpsClient.d.ts +4 -0
  26. package/dist-types/ts3.4/models/models_0.d.ts +0 -6
  27. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  28. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  29. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  30. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  31. package/dist-types/ts3.4/schemas/schemas_0.d.ts +61 -0
  32. package/package.json +2 -2
  33. package/dist-es/protocols/Aws_restJson1.js +0 -449
  34. package/dist-types/protocols/Aws_restJson1.d.ts +0 -101
  35. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -137
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class AIOpsClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,14 +110,14 @@ class AIOpsClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class AIOpsServiceException extends smithyClient.ServiceException {
113
+ let AIOpsServiceException$1 = class AIOpsServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, AIOpsServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
- class AccessDeniedException extends AIOpsServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends AIOpsServiceException$1 {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  constructor(opts) {
@@ -128,8 +128,8 @@ class AccessDeniedException extends AIOpsServiceException {
128
128
  });
129
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
130
  }
131
- }
132
- class ConflictException extends AIOpsServiceException {
131
+ };
132
+ let ConflictException$1 = class ConflictException extends AIOpsServiceException$1 {
133
133
  name = "ConflictException";
134
134
  $fault = "client";
135
135
  constructor(opts) {
@@ -140,8 +140,8 @@ class ConflictException extends AIOpsServiceException {
140
140
  });
141
141
  Object.setPrototypeOf(this, ConflictException.prototype);
142
142
  }
143
- }
144
- class ForbiddenException extends AIOpsServiceException {
143
+ };
144
+ let ForbiddenException$1 = class ForbiddenException extends AIOpsServiceException$1 {
145
145
  name = "ForbiddenException";
146
146
  $fault = "client";
147
147
  constructor(opts) {
@@ -152,8 +152,8 @@ class ForbiddenException extends AIOpsServiceException {
152
152
  });
153
153
  Object.setPrototypeOf(this, ForbiddenException.prototype);
154
154
  }
155
- }
156
- class InternalServerException extends AIOpsServiceException {
155
+ };
156
+ let InternalServerException$1 = class InternalServerException extends AIOpsServiceException$1 {
157
157
  name = "InternalServerException";
158
158
  $fault = "server";
159
159
  constructor(opts) {
@@ -164,12 +164,12 @@ class InternalServerException extends AIOpsServiceException {
164
164
  });
165
165
  Object.setPrototypeOf(this, InternalServerException.prototype);
166
166
  }
167
- }
167
+ };
168
168
  const EncryptionConfigurationType = {
169
169
  AWS_OWNED_KEY: "AWS_OWNED_KEY",
170
170
  CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY",
171
171
  };
172
- class ResourceNotFoundException extends AIOpsServiceException {
172
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends AIOpsServiceException$1 {
173
173
  name = "ResourceNotFoundException";
174
174
  $fault = "client";
175
175
  constructor(opts) {
@@ -180,8 +180,8 @@ class ResourceNotFoundException extends AIOpsServiceException {
180
180
  });
181
181
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
182
182
  }
183
- }
184
- class ServiceQuotaExceededException extends AIOpsServiceException {
183
+ };
184
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends AIOpsServiceException$1 {
185
185
  name = "ServiceQuotaExceededException";
186
186
  $fault = "client";
187
187
  resourceId;
@@ -200,8 +200,8 @@ class ServiceQuotaExceededException extends AIOpsServiceException {
200
200
  this.serviceCode = opts.serviceCode;
201
201
  this.quotaCode = opts.quotaCode;
202
202
  }
203
- }
204
- class ThrottlingException extends AIOpsServiceException {
203
+ };
204
+ let ThrottlingException$1 = class ThrottlingException extends AIOpsServiceException$1 {
205
205
  name = "ThrottlingException";
206
206
  $fault = "client";
207
207
  constructor(opts) {
@@ -212,8 +212,8 @@ class ThrottlingException extends AIOpsServiceException {
212
212
  });
213
213
  Object.setPrototypeOf(this, ThrottlingException.prototype);
214
214
  }
215
- }
216
- class ValidationException extends AIOpsServiceException {
215
+ };
216
+ let ValidationException$1 = class ValidationException extends AIOpsServiceException$1 {
217
217
  name = "ValidationException";
218
218
  $fault = "client";
219
219
  constructor(opts) {
@@ -224,474 +224,426 @@ class ValidationException extends AIOpsServiceException {
224
224
  });
225
225
  Object.setPrototypeOf(this, ValidationException.prototype);
226
226
  }
227
- }
228
- const ListInvestigationGroupsInputFilterSensitiveLog = (obj) => ({
229
- ...obj,
230
- ...(obj.nextToken && { nextToken: smithyClient.SENSITIVE_STRING }),
231
- });
232
- const ListInvestigationGroupsOutputFilterSensitiveLog = (obj) => ({
233
- ...obj,
234
- ...(obj.nextToken && { nextToken: smithyClient.SENSITIVE_STRING }),
235
- });
236
-
237
- const se_CreateInvestigationGroupCommand = async (input, context) => {
238
- const b = core.requestBuilder(input, context);
239
- const headers = {
240
- "content-type": "application/json",
241
- };
242
- b.bp("/investigationGroups");
243
- let body;
244
- body = JSON.stringify(smithyClient.take(input, {
245
- chatbotNotificationChannel: (_) => smithyClient._json(_),
246
- crossAccountConfigurations: (_) => smithyClient._json(_),
247
- encryptionConfiguration: (_) => smithyClient._json(_),
248
- isCloudTrailEventHistoryEnabled: [],
249
- name: [],
250
- retentionInDays: [],
251
- roleArn: [],
252
- tagKeyBoundaries: (_) => smithyClient._json(_),
253
- tags: (_) => smithyClient._json(_),
254
- }));
255
- b.m("POST").h(headers).b(body);
256
- return b.build();
257
- };
258
- const se_DeleteInvestigationGroupCommand = async (input, context) => {
259
- const b = core.requestBuilder(input, context);
260
- const headers = {};
261
- b.bp("/investigationGroups/{identifier}");
262
- b.p("identifier", () => input.identifier, "{identifier}", false);
263
- let body;
264
- b.m("DELETE").h(headers).b(body);
265
- return b.build();
266
- };
267
- const se_DeleteInvestigationGroupPolicyCommand = async (input, context) => {
268
- const b = core.requestBuilder(input, context);
269
- const headers = {};
270
- b.bp("/investigationGroups/{identifier}/policy");
271
- b.p("identifier", () => input.identifier, "{identifier}", false);
272
- let body;
273
- b.m("DELETE").h(headers).b(body);
274
- return b.build();
275
- };
276
- const se_GetInvestigationGroupCommand = async (input, context) => {
277
- const b = core.requestBuilder(input, context);
278
- const headers = {};
279
- b.bp("/investigationGroups/{identifier}");
280
- b.p("identifier", () => input.identifier, "{identifier}", false);
281
- let body;
282
- b.m("GET").h(headers).b(body);
283
- return b.build();
284
- };
285
- const se_GetInvestigationGroupPolicyCommand = async (input, context) => {
286
- const b = core.requestBuilder(input, context);
287
- const headers = {};
288
- b.bp("/investigationGroups/{identifier}/policy");
289
- b.p("identifier", () => input.identifier, "{identifier}", false);
290
- let body;
291
- b.m("GET").h(headers).b(body);
292
- return b.build();
293
- };
294
- const se_ListInvestigationGroupsCommand = async (input, context) => {
295
- const b = core.requestBuilder(input, context);
296
- const headers = {};
297
- b.bp("/investigationGroups");
298
- const query = smithyClient.map({
299
- [_nT]: [, input[_nT]],
300
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
301
- });
302
- let body;
303
- b.m("GET").h(headers).q(query).b(body);
304
- return b.build();
305
- };
306
- const se_ListTagsForResourceCommand = async (input, context) => {
307
- const b = core.requestBuilder(input, context);
308
- const headers = {};
309
- b.bp("/tags/{resourceArn}");
310
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
311
- let body;
312
- b.m("GET").h(headers).b(body);
313
- return b.build();
314
- };
315
- const se_PutInvestigationGroupPolicyCommand = async (input, context) => {
316
- const b = core.requestBuilder(input, context);
317
- const headers = {
318
- "content-type": "application/json",
319
- };
320
- b.bp("/investigationGroups/{identifier}/policy");
321
- b.p("identifier", () => input.identifier, "{identifier}", false);
322
- let body;
323
- body = JSON.stringify(smithyClient.take(input, {
324
- policy: [],
325
- }));
326
- b.m("POST").h(headers).b(body);
327
- return b.build();
328
- };
329
- const se_TagResourceCommand = async (input, context) => {
330
- const b = core.requestBuilder(input, context);
331
- const headers = {
332
- "content-type": "application/json",
333
- };
334
- b.bp("/tags/{resourceArn}");
335
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
336
- let body;
337
- body = JSON.stringify(smithyClient.take(input, {
338
- tags: (_) => smithyClient._json(_),
339
- }));
340
- b.m("POST").h(headers).b(body);
341
- return b.build();
342
- };
343
- const se_UntagResourceCommand = async (input, context) => {
344
- const b = core.requestBuilder(input, context);
345
- const headers = {};
346
- b.bp("/tags/{resourceArn}");
347
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
348
- const query = smithyClient.map({
349
- [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
350
- });
351
- let body;
352
- b.m("DELETE").h(headers).q(query).b(body);
353
- return b.build();
354
- };
355
- const se_UpdateInvestigationGroupCommand = async (input, context) => {
356
- const b = core.requestBuilder(input, context);
357
- const headers = {
358
- "content-type": "application/json",
359
- };
360
- b.bp("/investigationGroups/{identifier}");
361
- b.p("identifier", () => input.identifier, "{identifier}", false);
362
- let body;
363
- body = JSON.stringify(smithyClient.take(input, {
364
- chatbotNotificationChannel: (_) => smithyClient._json(_),
365
- crossAccountConfigurations: (_) => smithyClient._json(_),
366
- encryptionConfiguration: (_) => smithyClient._json(_),
367
- isCloudTrailEventHistoryEnabled: [],
368
- roleArn: [],
369
- tagKeyBoundaries: (_) => smithyClient._json(_),
370
- }));
371
- b.m("PATCH").h(headers).b(body);
372
- return b.build();
373
- };
374
- const de_CreateInvestigationGroupCommand = async (output, context) => {
375
- if (output.statusCode !== 201 && output.statusCode >= 300) {
376
- return de_CommandError(output, context);
377
- }
378
- const contents = smithyClient.map({
379
- $metadata: deserializeMetadata(output),
380
- });
381
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
382
- const doc = smithyClient.take(data, {
383
- arn: smithyClient.expectString,
384
- });
385
- Object.assign(contents, doc);
386
- return contents;
387
- };
388
- const de_DeleteInvestigationGroupCommand = async (output, context) => {
389
- if (output.statusCode !== 200 && output.statusCode >= 300) {
390
- return de_CommandError(output, context);
391
- }
392
- const contents = smithyClient.map({
393
- $metadata: deserializeMetadata(output),
394
- });
395
- await smithyClient.collectBody(output.body, context);
396
- return contents;
397
- };
398
- const de_DeleteInvestigationGroupPolicyCommand = async (output, context) => {
399
- if (output.statusCode !== 200 && output.statusCode >= 300) {
400
- return de_CommandError(output, context);
401
- }
402
- const contents = smithyClient.map({
403
- $metadata: deserializeMetadata(output),
404
- });
405
- await smithyClient.collectBody(output.body, context);
406
- return contents;
407
- };
408
- const de_GetInvestigationGroupCommand = async (output, context) => {
409
- if (output.statusCode !== 200 && output.statusCode >= 300) {
410
- return de_CommandError(output, context);
411
- }
412
- const contents = smithyClient.map({
413
- $metadata: deserializeMetadata(output),
414
- });
415
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
416
- const doc = smithyClient.take(data, {
417
- arn: smithyClient.expectString,
418
- chatbotNotificationChannel: smithyClient._json,
419
- createdAt: smithyClient.expectLong,
420
- createdBy: smithyClient.expectString,
421
- crossAccountConfigurations: smithyClient._json,
422
- encryptionConfiguration: smithyClient._json,
423
- isCloudTrailEventHistoryEnabled: smithyClient.expectBoolean,
424
- lastModifiedAt: smithyClient.expectLong,
425
- lastModifiedBy: smithyClient.expectString,
426
- name: smithyClient.expectString,
427
- retentionInDays: smithyClient.expectLong,
428
- roleArn: smithyClient.expectString,
429
- tagKeyBoundaries: smithyClient._json,
430
- });
431
- Object.assign(contents, doc);
432
- return contents;
433
- };
434
- const de_GetInvestigationGroupPolicyCommand = async (output, context) => {
435
- if (output.statusCode !== 200 && output.statusCode >= 300) {
436
- return de_CommandError(output, context);
437
- }
438
- const contents = smithyClient.map({
439
- $metadata: deserializeMetadata(output),
440
- });
441
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
442
- const doc = smithyClient.take(data, {
443
- investigationGroupArn: smithyClient.expectString,
444
- policy: smithyClient.expectString,
445
- });
446
- Object.assign(contents, doc);
447
- return contents;
448
- };
449
- const de_ListInvestigationGroupsCommand = async (output, context) => {
450
- if (output.statusCode !== 200 && output.statusCode >= 300) {
451
- return de_CommandError(output, context);
452
- }
453
- const contents = smithyClient.map({
454
- $metadata: deserializeMetadata(output),
455
- });
456
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
457
- const doc = smithyClient.take(data, {
458
- investigationGroups: smithyClient._json,
459
- nextToken: smithyClient.expectString,
460
- });
461
- Object.assign(contents, doc);
462
- return contents;
463
- };
464
- const de_ListTagsForResourceCommand = async (output, context) => {
465
- if (output.statusCode !== 200 && output.statusCode >= 300) {
466
- return de_CommandError(output, context);
467
- }
468
- const contents = smithyClient.map({
469
- $metadata: deserializeMetadata(output),
470
- });
471
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
472
- const doc = smithyClient.take(data, {
473
- tags: smithyClient._json,
474
- });
475
- Object.assign(contents, doc);
476
- return contents;
477
- };
478
- const de_PutInvestigationGroupPolicyCommand = async (output, context) => {
479
- if (output.statusCode !== 200 && output.statusCode >= 300) {
480
- return de_CommandError(output, context);
481
- }
482
- const contents = smithyClient.map({
483
- $metadata: deserializeMetadata(output),
484
- });
485
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
486
- const doc = smithyClient.take(data, {
487
- investigationGroupArn: smithyClient.expectString,
488
- });
489
- Object.assign(contents, doc);
490
- return contents;
491
- };
492
- const de_TagResourceCommand = async (output, context) => {
493
- if (output.statusCode !== 200 && output.statusCode >= 300) {
494
- return de_CommandError(output, context);
495
- }
496
- const contents = smithyClient.map({
497
- $metadata: deserializeMetadata(output),
498
- });
499
- await smithyClient.collectBody(output.body, context);
500
- return contents;
501
- };
502
- const de_UntagResourceCommand = async (output, context) => {
503
- if (output.statusCode !== 200 && output.statusCode >= 300) {
504
- return de_CommandError(output, context);
505
- }
506
- const contents = smithyClient.map({
507
- $metadata: deserializeMetadata(output),
508
- });
509
- await smithyClient.collectBody(output.body, context);
510
- return contents;
511
- };
512
- const de_UpdateInvestigationGroupCommand = async (output, context) => {
513
- if (output.statusCode !== 200 && output.statusCode >= 300) {
514
- return de_CommandError(output, context);
515
- }
516
- const contents = smithyClient.map({
517
- $metadata: deserializeMetadata(output),
518
- });
519
- await smithyClient.collectBody(output.body, context);
520
- return contents;
521
- };
522
- const de_CommandError = async (output, context) => {
523
- const parsedOutput = {
524
- ...output,
525
- body: await core$1.parseJsonErrorBody(output.body, context),
526
- };
527
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
528
- switch (errorCode) {
529
- case "AccessDeniedException":
530
- case "com.amazonaws.aiops#AccessDeniedException":
531
- throw await de_AccessDeniedExceptionRes(parsedOutput);
532
- case "ConflictException":
533
- case "com.amazonaws.aiops#ConflictException":
534
- throw await de_ConflictExceptionRes(parsedOutput);
535
- case "ForbiddenException":
536
- case "com.amazonaws.aiops#ForbiddenException":
537
- throw await de_ForbiddenExceptionRes(parsedOutput);
538
- case "InternalServerException":
539
- case "com.amazonaws.aiops#InternalServerException":
540
- throw await de_InternalServerExceptionRes(parsedOutput);
541
- case "ResourceNotFoundException":
542
- case "com.amazonaws.aiops#ResourceNotFoundException":
543
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
544
- case "ServiceQuotaExceededException":
545
- case "com.amazonaws.aiops#ServiceQuotaExceededException":
546
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
547
- case "ThrottlingException":
548
- case "com.amazonaws.aiops#ThrottlingException":
549
- throw await de_ThrottlingExceptionRes(parsedOutput);
550
- case "ValidationException":
551
- case "com.amazonaws.aiops#ValidationException":
552
- throw await de_ValidationExceptionRes(parsedOutput);
553
- default:
554
- const parsedBody = parsedOutput.body;
555
- return throwDefaultError({
556
- output,
557
- parsedBody,
558
- errorCode,
559
- });
560
- }
561
227
  };
562
- const throwDefaultError = smithyClient.withBaseException(AIOpsServiceException);
563
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
564
- const contents = smithyClient.map({});
565
- const data = parsedOutput.body;
566
- const doc = smithyClient.take(data, {
567
- message: smithyClient.expectString,
568
- });
569
- Object.assign(contents, doc);
570
- const exception = new AccessDeniedException({
571
- $metadata: deserializeMetadata(parsedOutput),
572
- ...contents,
573
- });
574
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
575
- };
576
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
577
- const contents = smithyClient.map({});
578
- const data = parsedOutput.body;
579
- const doc = smithyClient.take(data, {
580
- message: smithyClient.expectString,
581
- });
582
- Object.assign(contents, doc);
583
- const exception = new ConflictException({
584
- $metadata: deserializeMetadata(parsedOutput),
585
- ...contents,
586
- });
587
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
588
- };
589
- const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
590
- const contents = smithyClient.map({});
591
- const data = parsedOutput.body;
592
- const doc = smithyClient.take(data, {
593
- message: smithyClient.expectString,
594
- });
595
- Object.assign(contents, doc);
596
- const exception = new ForbiddenException({
597
- $metadata: deserializeMetadata(parsedOutput),
598
- ...contents,
599
- });
600
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
601
- };
602
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
603
- const contents = smithyClient.map({});
604
- const data = parsedOutput.body;
605
- const doc = smithyClient.take(data, {
606
- message: smithyClient.expectString,
607
- });
608
- Object.assign(contents, doc);
609
- const exception = new InternalServerException({
610
- $metadata: deserializeMetadata(parsedOutput),
611
- ...contents,
612
- });
613
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
614
- };
615
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
616
- const contents = smithyClient.map({});
617
- const data = parsedOutput.body;
618
- const doc = smithyClient.take(data, {
619
- message: smithyClient.expectString,
620
- });
621
- Object.assign(contents, doc);
622
- const exception = new ResourceNotFoundException({
623
- $metadata: deserializeMetadata(parsedOutput),
624
- ...contents,
625
- });
626
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
627
- };
628
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
629
- const contents = smithyClient.map({});
630
- const data = parsedOutput.body;
631
- const doc = smithyClient.take(data, {
632
- message: smithyClient.expectString,
633
- quotaCode: smithyClient.expectString,
634
- resourceId: smithyClient.expectString,
635
- resourceType: smithyClient.expectString,
636
- serviceCode: smithyClient.expectString,
637
- });
638
- Object.assign(contents, doc);
639
- const exception = new ServiceQuotaExceededException({
640
- $metadata: deserializeMetadata(parsedOutput),
641
- ...contents,
642
- });
643
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
644
- };
645
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
646
- const contents = smithyClient.map({});
647
- const data = parsedOutput.body;
648
- const doc = smithyClient.take(data, {
649
- message: smithyClient.expectString,
650
- });
651
- Object.assign(contents, doc);
652
- const exception = new ThrottlingException({
653
- $metadata: deserializeMetadata(parsedOutput),
654
- ...contents,
655
- });
656
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
657
- };
658
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
659
- const contents = smithyClient.map({});
660
- const data = parsedOutput.body;
661
- const doc = smithyClient.take(data, {
662
- message: smithyClient.expectString,
663
- });
664
- Object.assign(contents, doc);
665
- const exception = new ValidationException({
666
- $metadata: deserializeMetadata(parsedOutput),
667
- ...contents,
668
- });
669
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
670
- };
671
- const deserializeMetadata = (output) => ({
672
- httpStatusCode: output.statusCode,
673
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
674
- extendedRequestId: output.headers["x-amz-id-2"],
675
- cfId: output.headers["x-amz-cf-id"],
676
- });
228
+
229
+ const _ADE = "AccessDeniedException";
230
+ const _CAC = "CrossAccountConfiguration";
231
+ const _CACr = "CrossAccountConfigurations";
232
+ const _CE = "ConflictException";
233
+ const _CIG = "CreateInvestigationGroup";
234
+ const _CIGI = "CreateInvestigationGroupInput";
235
+ const _CIGO = "CreateInvestigationGroupOutput";
236
+ const _CNC = "ChatbotNotificationChannel";
237
+ const _DIG = "DeleteInvestigationGroup";
238
+ const _DIGP = "DeleteInvestigationGroupPolicy";
239
+ const _DIGPO = "DeleteInvestigationGroupPolicyOutput";
240
+ const _DIGPR = "DeleteInvestigationGroupPolicyRequest";
241
+ const _DIGR = "DeleteInvestigationGroupRequest";
242
+ const _EC = "EncryptionConfiguration";
243
+ const _FE = "ForbiddenException";
244
+ const _GIG = "GetInvestigationGroup";
245
+ const _GIGP = "GetInvestigationGroupPolicy";
246
+ const _GIGPR = "GetInvestigationGroupPolicyRequest";
247
+ const _GIGPRe = "GetInvestigationGroupPolicyResponse";
248
+ const _GIGR = "GetInvestigationGroupRequest";
249
+ const _GIGRe = "GetInvestigationGroupResponse";
250
+ const _IG = "InvestigationGroups";
251
+ const _ISE = "InternalServerException";
252
+ const _LIG = "ListInvestigationGroups";
253
+ const _LIGI = "ListInvestigationGroupsInput";
254
+ const _LIGM = "ListInvestigationGroupsModel";
255
+ const _LIGO = "ListInvestigationGroupsOutput";
256
+ const _LTFR = "ListTagsForResource";
257
+ const _LTFRO = "ListTagsForResourceOutput";
258
+ const _LTFRR = "ListTagsForResourceRequest";
259
+ const _PIGP = "PutInvestigationGroupPolicy";
260
+ const _PIGPR = "PutInvestigationGroupPolicyRequest";
261
+ const _PIGPRu = "PutInvestigationGroupPolicyResponse";
262
+ const _RNFE = "ResourceNotFoundException";
263
+ const _SQEE = "ServiceQuotaExceededException";
264
+ const _SSWLL = "SensitiveStringWithLengthLimits";
265
+ const _TE = "ThrottlingException";
266
+ const _TR = "TagResource";
267
+ const _TRR = "TagResourceRequest";
268
+ const _TRRa = "TagResourceResponse";
269
+ const _UIG = "UpdateInvestigationGroup";
270
+ const _UIGO = "UpdateInvestigationGroupOutput";
271
+ const _UIGR = "UpdateInvestigationGroupRequest";
272
+ const _UR = "UntagResource";
273
+ const _URR = "UntagResourceRequest";
274
+ const _URRn = "UntagResourceResponse";
275
+ const _VE = "ValidationException";
276
+ const _a = "arn";
277
+ const _c = "client";
278
+ const _cA = "createdAt";
279
+ const _cAC = "crossAccountConfigurations";
280
+ const _cB = "createdBy";
281
+ const _cNC = "chatbotNotificationChannel";
282
+ const _e = "error";
283
+ const _eC = "encryptionConfiguration";
284
+ const _h = "http";
285
+ const _hE = "httpError";
286
+ const _hQ = "httpQuery";
287
+ const _i = "identifier";
288
+ const _iCTEHE = "isCloudTrailEventHistoryEnabled";
289
+ const _iG = "investigationGroups";
290
+ const _iGA = "investigationGroupArn";
291
+ const _kKI = "kmsKeyId";
292
+ const _lMA = "lastModifiedAt";
293
+ const _lMB = "lastModifiedBy";
294
+ const _m = "message";
677
295
  const _mR = "maxResults";
296
+ const _n = "name";
678
297
  const _nT = "nextToken";
298
+ const _p = "policy";
299
+ const _qC = "quotaCode";
300
+ const _rA = "roleArn";
301
+ const _rAe = "resourceArn";
302
+ const _rI = "resourceId";
303
+ const _rID = "retentionInDays";
304
+ const _rT = "resourceType";
305
+ const _s = "server";
306
+ const _sC = "serviceCode";
307
+ const _sRA = "sourceRoleArn";
308
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.aiops";
309
+ const _t = "tags";
679
310
  const _tK = "tagKeys";
311
+ const _tKB = "tagKeyBoundaries";
312
+ const _ty = "type";
313
+ const n0 = "com.amazonaws.aiops";
314
+ var SensitiveStringWithLengthLimits = [0, n0, _SSWLL, 8, 0];
315
+ var AccessDeniedException = [
316
+ -3,
317
+ n0,
318
+ _ADE,
319
+ {
320
+ [_e]: _c,
321
+ [_hE]: 403,
322
+ },
323
+ [_m],
324
+ [0],
325
+ ];
326
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
327
+ var ConflictException = [
328
+ -3,
329
+ n0,
330
+ _CE,
331
+ {
332
+ [_e]: _c,
333
+ [_hE]: 409,
334
+ },
335
+ [_m],
336
+ [0],
337
+ ];
338
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
339
+ var CreateInvestigationGroupInput = [
340
+ 3,
341
+ n0,
342
+ _CIGI,
343
+ 0,
344
+ [_n, _rA, _eC, _rID, _t, _tKB, _cNC, _iCTEHE, _cAC],
345
+ [
346
+ 0,
347
+ 0,
348
+ () => EncryptionConfiguration,
349
+ 1,
350
+ 128 | 0,
351
+ 64 | 0,
352
+ [2, n0, _CNC, 0, 0, 64 | 0],
353
+ 2,
354
+ () => CrossAccountConfigurations,
355
+ ],
356
+ ];
357
+ var CreateInvestigationGroupOutput = [3, n0, _CIGO, 0, [_a], [0]];
358
+ var CrossAccountConfiguration = [3, n0, _CAC, 0, [_sRA], [0]];
359
+ var DeleteInvestigationGroupPolicyOutput = [3, n0, _DIGPO, 0, [], []];
360
+ var DeleteInvestigationGroupPolicyRequest = [3, n0, _DIGPR, 0, [_i], [[0, 1]]];
361
+ var DeleteInvestigationGroupRequest = [3, n0, _DIGR, 0, [_i], [[0, 1]]];
362
+ var EncryptionConfiguration = [3, n0, _EC, 0, [_ty, _kKI], [0, 0]];
363
+ var ForbiddenException = [
364
+ -3,
365
+ n0,
366
+ _FE,
367
+ {
368
+ [_e]: _c,
369
+ [_hE]: 403,
370
+ },
371
+ [_m],
372
+ [0],
373
+ ];
374
+ schema.TypeRegistry.for(n0).registerError(ForbiddenException, ForbiddenException$1);
375
+ var GetInvestigationGroupPolicyRequest = [3, n0, _GIGPR, 0, [_i], [[0, 1]]];
376
+ var GetInvestigationGroupPolicyResponse = [3, n0, _GIGPRe, 0, [_iGA, _p], [0, 0]];
377
+ var GetInvestigationGroupRequest = [3, n0, _GIGR, 0, [_i], [[0, 1]]];
378
+ var GetInvestigationGroupResponse = [
379
+ 3,
380
+ n0,
381
+ _GIGRe,
382
+ 0,
383
+ [_cB, _cA, _lMB, _lMA, _n, _a, _rA, _eC, _rID, _cNC, _tKB, _iCTEHE, _cAC],
384
+ [
385
+ 0,
386
+ 1,
387
+ 0,
388
+ 1,
389
+ 0,
390
+ 0,
391
+ 0,
392
+ () => EncryptionConfiguration,
393
+ 1,
394
+ [2, n0, _CNC, 0, 0, 64 | 0],
395
+ 64 | 0,
396
+ 2,
397
+ () => CrossAccountConfigurations,
398
+ ],
399
+ ];
400
+ var InternalServerException = [
401
+ -3,
402
+ n0,
403
+ _ISE,
404
+ {
405
+ [_e]: _s,
406
+ [_hE]: 500,
407
+ },
408
+ [_m],
409
+ [0],
410
+ ];
411
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
412
+ var ListInvestigationGroupsInput = [
413
+ 3,
414
+ n0,
415
+ _LIGI,
416
+ 0,
417
+ [_nT, _mR],
418
+ [
419
+ [
420
+ () => SensitiveStringWithLengthLimits,
421
+ {
422
+ [_hQ]: _nT,
423
+ },
424
+ ],
425
+ [
426
+ 1,
427
+ {
428
+ [_hQ]: _mR,
429
+ },
430
+ ],
431
+ ],
432
+ ];
433
+ var ListInvestigationGroupsModel = [3, n0, _LIGM, 0, [_a, _n], [0, 0]];
434
+ var ListInvestigationGroupsOutput = [
435
+ 3,
436
+ n0,
437
+ _LIGO,
438
+ 0,
439
+ [_nT, _iG],
440
+ [[() => SensitiveStringWithLengthLimits, 0], () => InvestigationGroups],
441
+ ];
442
+ var ListTagsForResourceOutput = [3, n0, _LTFRO, 0, [_t], [128 | 0]];
443
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rAe], [[0, 1]]];
444
+ var PutInvestigationGroupPolicyRequest = [3, n0, _PIGPR, 0, [_i, _p], [[0, 1], 0]];
445
+ var PutInvestigationGroupPolicyResponse = [3, n0, _PIGPRu, 0, [_iGA], [0]];
446
+ var ResourceNotFoundException = [
447
+ -3,
448
+ n0,
449
+ _RNFE,
450
+ {
451
+ [_e]: _c,
452
+ [_hE]: 404,
453
+ },
454
+ [_m],
455
+ [0],
456
+ ];
457
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
458
+ var ServiceQuotaExceededException = [
459
+ -3,
460
+ n0,
461
+ _SQEE,
462
+ {
463
+ [_e]: _c,
464
+ [_hE]: 402,
465
+ },
466
+ [_m, _rI, _rT, _sC, _qC],
467
+ [0, 0, 0, 0, 0],
468
+ ];
469
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
470
+ var TagResourceRequest = [3, n0, _TRR, 0, [_rAe, _t], [[0, 1], 128 | 0]];
471
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
472
+ var ThrottlingException = [
473
+ -3,
474
+ n0,
475
+ _TE,
476
+ {
477
+ [_e]: _c,
478
+ [_hE]: 429,
479
+ },
480
+ [_m],
481
+ [0],
482
+ ];
483
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
484
+ var UntagResourceRequest = [
485
+ 3,
486
+ n0,
487
+ _URR,
488
+ 0,
489
+ [_rAe, _tK],
490
+ [
491
+ [0, 1],
492
+ [
493
+ 64 | 0,
494
+ {
495
+ [_hQ]: _tK,
496
+ },
497
+ ],
498
+ ],
499
+ ];
500
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
501
+ var UpdateInvestigationGroupOutput = [3, n0, _UIGO, 0, [], []];
502
+ var UpdateInvestigationGroupRequest = [
503
+ 3,
504
+ n0,
505
+ _UIGR,
506
+ 0,
507
+ [_i, _rA, _eC, _tKB, _cNC, _iCTEHE, _cAC],
508
+ [[0, 1], 0, () => EncryptionConfiguration, 64 | 0, [2, n0, _CNC, 0, 0, 64 | 0], 2, () => CrossAccountConfigurations],
509
+ ];
510
+ var ValidationException = [
511
+ -3,
512
+ n0,
513
+ _VE,
514
+ {
515
+ [_e]: _c,
516
+ [_hE]: 400,
517
+ },
518
+ [_m],
519
+ [0],
520
+ ];
521
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
522
+ var __Unit = "unit";
523
+ var AIOpsServiceException = [-3, _sm, "AIOpsServiceException", 0, [], []];
524
+ schema.TypeRegistry.for(_sm).registerError(AIOpsServiceException, AIOpsServiceException$1);
525
+ var CrossAccountConfigurations = [1, n0, _CACr, 0, () => CrossAccountConfiguration];
526
+ var InvestigationGroups = [1, n0, _IG, 0, () => ListInvestigationGroupsModel];
527
+ var CreateInvestigationGroup = [
528
+ 9,
529
+ n0,
530
+ _CIG,
531
+ {
532
+ [_h]: ["POST", "/investigationGroups", 201],
533
+ },
534
+ () => CreateInvestigationGroupInput,
535
+ () => CreateInvestigationGroupOutput,
536
+ ];
537
+ var DeleteInvestigationGroup = [
538
+ 9,
539
+ n0,
540
+ _DIG,
541
+ {
542
+ [_h]: ["DELETE", "/investigationGroups/{identifier}", 200],
543
+ },
544
+ () => DeleteInvestigationGroupRequest,
545
+ () => __Unit,
546
+ ];
547
+ var DeleteInvestigationGroupPolicy = [
548
+ 9,
549
+ n0,
550
+ _DIGP,
551
+ {
552
+ [_h]: ["DELETE", "/investigationGroups/{identifier}/policy", 200],
553
+ },
554
+ () => DeleteInvestigationGroupPolicyRequest,
555
+ () => DeleteInvestigationGroupPolicyOutput,
556
+ ];
557
+ var GetInvestigationGroup = [
558
+ 9,
559
+ n0,
560
+ _GIG,
561
+ {
562
+ [_h]: ["GET", "/investigationGroups/{identifier}", 200],
563
+ },
564
+ () => GetInvestigationGroupRequest,
565
+ () => GetInvestigationGroupResponse,
566
+ ];
567
+ var GetInvestigationGroupPolicy = [
568
+ 9,
569
+ n0,
570
+ _GIGP,
571
+ {
572
+ [_h]: ["GET", "/investigationGroups/{identifier}/policy", 200],
573
+ },
574
+ () => GetInvestigationGroupPolicyRequest,
575
+ () => GetInvestigationGroupPolicyResponse,
576
+ ];
577
+ var ListInvestigationGroups = [
578
+ 9,
579
+ n0,
580
+ _LIG,
581
+ {
582
+ [_h]: ["GET", "/investigationGroups", 200],
583
+ },
584
+ () => ListInvestigationGroupsInput,
585
+ () => ListInvestigationGroupsOutput,
586
+ ];
587
+ var ListTagsForResource = [
588
+ 9,
589
+ n0,
590
+ _LTFR,
591
+ {
592
+ [_h]: ["GET", "/tags/{resourceArn}", 200],
593
+ },
594
+ () => ListTagsForResourceRequest,
595
+ () => ListTagsForResourceOutput,
596
+ ];
597
+ var PutInvestigationGroupPolicy = [
598
+ 9,
599
+ n0,
600
+ _PIGP,
601
+ {
602
+ [_h]: ["POST", "/investigationGroups/{identifier}/policy", 200],
603
+ },
604
+ () => PutInvestigationGroupPolicyRequest,
605
+ () => PutInvestigationGroupPolicyResponse,
606
+ ];
607
+ var TagResource = [
608
+ 9,
609
+ n0,
610
+ _TR,
611
+ {
612
+ [_h]: ["POST", "/tags/{resourceArn}", 200],
613
+ },
614
+ () => TagResourceRequest,
615
+ () => TagResourceResponse,
616
+ ];
617
+ var UntagResource = [
618
+ 9,
619
+ n0,
620
+ _UR,
621
+ {
622
+ [_h]: ["DELETE", "/tags/{resourceArn}", 200],
623
+ },
624
+ () => UntagResourceRequest,
625
+ () => UntagResourceResponse,
626
+ ];
627
+ var UpdateInvestigationGroup = [
628
+ 9,
629
+ n0,
630
+ _UIG,
631
+ {
632
+ [_h]: ["PATCH", "/investigationGroups/{identifier}", 200],
633
+ },
634
+ () => UpdateInvestigationGroupRequest,
635
+ () => UpdateInvestigationGroupOutput,
636
+ ];
680
637
 
681
638
  class CreateInvestigationGroupCommand extends smithyClient.Command
682
639
  .classBuilder()
683
640
  .ep(commonParams)
684
641
  .m(function (Command, cs, config, o) {
685
- return [
686
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
687
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
688
- ];
642
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
689
643
  })
690
644
  .s("AIOps", "CreateInvestigationGroup", {})
691
645
  .n("AIOpsClient", "CreateInvestigationGroupCommand")
692
- .f(void 0, void 0)
693
- .ser(se_CreateInvestigationGroupCommand)
694
- .de(de_CreateInvestigationGroupCommand)
646
+ .sc(CreateInvestigationGroup)
695
647
  .build() {
696
648
  }
697
649
 
@@ -699,16 +651,11 @@ class DeleteInvestigationGroupCommand extends smithyClient.Command
699
651
  .classBuilder()
700
652
  .ep(commonParams)
701
653
  .m(function (Command, cs, config, o) {
702
- return [
703
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
704
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
705
- ];
654
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
706
655
  })
707
656
  .s("AIOps", "DeleteInvestigationGroup", {})
708
657
  .n("AIOpsClient", "DeleteInvestigationGroupCommand")
709
- .f(void 0, void 0)
710
- .ser(se_DeleteInvestigationGroupCommand)
711
- .de(de_DeleteInvestigationGroupCommand)
658
+ .sc(DeleteInvestigationGroup)
712
659
  .build() {
713
660
  }
714
661
 
@@ -716,16 +663,11 @@ class DeleteInvestigationGroupPolicyCommand extends smithyClient.Command
716
663
  .classBuilder()
717
664
  .ep(commonParams)
718
665
  .m(function (Command, cs, config, o) {
719
- return [
720
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
721
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
722
- ];
666
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
723
667
  })
724
668
  .s("AIOps", "DeleteInvestigationGroupPolicy", {})
725
669
  .n("AIOpsClient", "DeleteInvestigationGroupPolicyCommand")
726
- .f(void 0, void 0)
727
- .ser(se_DeleteInvestigationGroupPolicyCommand)
728
- .de(de_DeleteInvestigationGroupPolicyCommand)
670
+ .sc(DeleteInvestigationGroupPolicy)
729
671
  .build() {
730
672
  }
731
673
 
@@ -733,16 +675,11 @@ class GetInvestigationGroupCommand extends smithyClient.Command
733
675
  .classBuilder()
734
676
  .ep(commonParams)
735
677
  .m(function (Command, cs, config, o) {
736
- return [
737
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
738
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
739
- ];
678
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
740
679
  })
741
680
  .s("AIOps", "GetInvestigationGroup", {})
742
681
  .n("AIOpsClient", "GetInvestigationGroupCommand")
743
- .f(void 0, void 0)
744
- .ser(se_GetInvestigationGroupCommand)
745
- .de(de_GetInvestigationGroupCommand)
682
+ .sc(GetInvestigationGroup)
746
683
  .build() {
747
684
  }
748
685
 
@@ -750,16 +687,11 @@ class GetInvestigationGroupPolicyCommand extends smithyClient.Command
750
687
  .classBuilder()
751
688
  .ep(commonParams)
752
689
  .m(function (Command, cs, config, o) {
753
- return [
754
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
755
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
756
- ];
690
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
757
691
  })
758
692
  .s("AIOps", "GetInvestigationGroupPolicy", {})
759
693
  .n("AIOpsClient", "GetInvestigationGroupPolicyCommand")
760
- .f(void 0, void 0)
761
- .ser(se_GetInvestigationGroupPolicyCommand)
762
- .de(de_GetInvestigationGroupPolicyCommand)
694
+ .sc(GetInvestigationGroupPolicy)
763
695
  .build() {
764
696
  }
765
697
 
@@ -767,16 +699,11 @@ class ListInvestigationGroupsCommand extends smithyClient.Command
767
699
  .classBuilder()
768
700
  .ep(commonParams)
769
701
  .m(function (Command, cs, config, o) {
770
- return [
771
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
772
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
773
- ];
702
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
774
703
  })
775
704
  .s("AIOps", "ListInvestigationGroups", {})
776
705
  .n("AIOpsClient", "ListInvestigationGroupsCommand")
777
- .f(ListInvestigationGroupsInputFilterSensitiveLog, ListInvestigationGroupsOutputFilterSensitiveLog)
778
- .ser(se_ListInvestigationGroupsCommand)
779
- .de(de_ListInvestigationGroupsCommand)
706
+ .sc(ListInvestigationGroups)
780
707
  .build() {
781
708
  }
782
709
 
@@ -784,16 +711,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
784
711
  .classBuilder()
785
712
  .ep(commonParams)
786
713
  .m(function (Command, cs, config, o) {
787
- return [
788
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
789
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
790
- ];
714
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
791
715
  })
792
716
  .s("AIOps", "ListTagsForResource", {})
793
717
  .n("AIOpsClient", "ListTagsForResourceCommand")
794
- .f(void 0, void 0)
795
- .ser(se_ListTagsForResourceCommand)
796
- .de(de_ListTagsForResourceCommand)
718
+ .sc(ListTagsForResource)
797
719
  .build() {
798
720
  }
799
721
 
@@ -801,16 +723,11 @@ class PutInvestigationGroupPolicyCommand extends smithyClient.Command
801
723
  .classBuilder()
802
724
  .ep(commonParams)
803
725
  .m(function (Command, cs, config, o) {
804
- return [
805
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
806
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
807
- ];
726
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
808
727
  })
809
728
  .s("AIOps", "PutInvestigationGroupPolicy", {})
810
729
  .n("AIOpsClient", "PutInvestigationGroupPolicyCommand")
811
- .f(void 0, void 0)
812
- .ser(se_PutInvestigationGroupPolicyCommand)
813
- .de(de_PutInvestigationGroupPolicyCommand)
730
+ .sc(PutInvestigationGroupPolicy)
814
731
  .build() {
815
732
  }
816
733
 
@@ -818,16 +735,11 @@ class TagResourceCommand extends smithyClient.Command
818
735
  .classBuilder()
819
736
  .ep(commonParams)
820
737
  .m(function (Command, cs, config, o) {
821
- return [
822
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
823
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
824
- ];
738
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
825
739
  })
826
740
  .s("AIOps", "TagResource", {})
827
741
  .n("AIOpsClient", "TagResourceCommand")
828
- .f(void 0, void 0)
829
- .ser(se_TagResourceCommand)
830
- .de(de_TagResourceCommand)
742
+ .sc(TagResource)
831
743
  .build() {
832
744
  }
833
745
 
@@ -835,16 +747,11 @@ class UntagResourceCommand extends smithyClient.Command
835
747
  .classBuilder()
836
748
  .ep(commonParams)
837
749
  .m(function (Command, cs, config, o) {
838
- return [
839
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
840
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
841
- ];
750
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
842
751
  })
843
752
  .s("AIOps", "UntagResource", {})
844
753
  .n("AIOpsClient", "UntagResourceCommand")
845
- .f(void 0, void 0)
846
- .ser(se_UntagResourceCommand)
847
- .de(de_UntagResourceCommand)
754
+ .sc(UntagResource)
848
755
  .build() {
849
756
  }
850
757
 
@@ -852,16 +759,11 @@ class UpdateInvestigationGroupCommand extends smithyClient.Command
852
759
  .classBuilder()
853
760
  .ep(commonParams)
854
761
  .m(function (Command, cs, config, o) {
855
- return [
856
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
857
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
858
- ];
762
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
859
763
  })
860
764
  .s("AIOps", "UpdateInvestigationGroup", {})
861
765
  .n("AIOpsClient", "UpdateInvestigationGroupCommand")
862
- .f(void 0, void 0)
863
- .ser(se_UpdateInvestigationGroupCommand)
864
- .de(de_UpdateInvestigationGroupCommand)
766
+ .sc(UpdateInvestigationGroup)
865
767
  .build() {
866
768
  }
867
769
 
@@ -894,27 +796,25 @@ Object.defineProperty(exports, "__Client", {
894
796
  });
895
797
  exports.AIOps = AIOps;
896
798
  exports.AIOpsClient = AIOpsClient;
897
- exports.AIOpsServiceException = AIOpsServiceException;
898
- exports.AccessDeniedException = AccessDeniedException;
899
- exports.ConflictException = ConflictException;
799
+ exports.AIOpsServiceException = AIOpsServiceException$1;
800
+ exports.AccessDeniedException = AccessDeniedException$1;
801
+ exports.ConflictException = ConflictException$1;
900
802
  exports.CreateInvestigationGroupCommand = CreateInvestigationGroupCommand;
901
803
  exports.DeleteInvestigationGroupCommand = DeleteInvestigationGroupCommand;
902
804
  exports.DeleteInvestigationGroupPolicyCommand = DeleteInvestigationGroupPolicyCommand;
903
805
  exports.EncryptionConfigurationType = EncryptionConfigurationType;
904
- exports.ForbiddenException = ForbiddenException;
806
+ exports.ForbiddenException = ForbiddenException$1;
905
807
  exports.GetInvestigationGroupCommand = GetInvestigationGroupCommand;
906
808
  exports.GetInvestigationGroupPolicyCommand = GetInvestigationGroupPolicyCommand;
907
- exports.InternalServerException = InternalServerException;
809
+ exports.InternalServerException = InternalServerException$1;
908
810
  exports.ListInvestigationGroupsCommand = ListInvestigationGroupsCommand;
909
- exports.ListInvestigationGroupsInputFilterSensitiveLog = ListInvestigationGroupsInputFilterSensitiveLog;
910
- exports.ListInvestigationGroupsOutputFilterSensitiveLog = ListInvestigationGroupsOutputFilterSensitiveLog;
911
811
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
912
812
  exports.PutInvestigationGroupPolicyCommand = PutInvestigationGroupPolicyCommand;
913
- exports.ResourceNotFoundException = ResourceNotFoundException;
914
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
813
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
814
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
915
815
  exports.TagResourceCommand = TagResourceCommand;
916
- exports.ThrottlingException = ThrottlingException;
816
+ exports.ThrottlingException = ThrottlingException$1;
917
817
  exports.UntagResourceCommand = UntagResourceCommand;
918
818
  exports.UpdateInvestigationGroupCommand = UpdateInvestigationGroupCommand;
919
- exports.ValidationException = ValidationException;
819
+ exports.ValidationException = ValidationException$1;
920
820
  exports.paginateListInvestigationGroups = paginateListInvestigationGroups;