@aws-sdk/client-security-ir 3.1077.0 → 3.1078.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 (80) hide show
  1. package/dist-cjs/index.js +32 -243
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/BatchGetMemberAccountDetailsCommand.js +2 -14
  4. package/dist-es/commands/CancelMembershipCommand.js +2 -14
  5. package/dist-es/commands/CloseCaseCommand.js +2 -14
  6. package/dist-es/commands/CreateCaseCommand.js +2 -14
  7. package/dist-es/commands/CreateCaseCommentCommand.js +2 -14
  8. package/dist-es/commands/CreateMembershipCommand.js +2 -14
  9. package/dist-es/commands/GetCaseAttachmentDownloadUrlCommand.js +2 -14
  10. package/dist-es/commands/GetCaseAttachmentUploadUrlCommand.js +2 -14
  11. package/dist-es/commands/GetCaseCommand.js +2 -14
  12. package/dist-es/commands/GetMembershipCommand.js +2 -14
  13. package/dist-es/commands/ListCaseEditsCommand.js +2 -14
  14. package/dist-es/commands/ListCasesCommand.js +2 -14
  15. package/dist-es/commands/ListCommentsCommand.js +2 -14
  16. package/dist-es/commands/ListInvestigationsCommand.js +2 -14
  17. package/dist-es/commands/ListMembershipsCommand.js +2 -14
  18. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  19. package/dist-es/commands/SendFeedbackCommand.js +2 -14
  20. package/dist-es/commands/TagResourceCommand.js +2 -14
  21. package/dist-es/commands/UntagResourceCommand.js +2 -14
  22. package/dist-es/commands/UpdateCaseCommand.js +2 -14
  23. package/dist-es/commands/UpdateCaseCommentCommand.js +2 -14
  24. package/dist-es/commands/UpdateCaseStatusCommand.js +2 -14
  25. package/dist-es/commands/UpdateMembershipCommand.js +2 -14
  26. package/dist-es/commands/UpdateResolverTypeCommand.js +2 -14
  27. package/dist-es/index.js +1 -0
  28. package/dist-types/commandBuilder.d.ts +18 -0
  29. package/dist-types/commands/BatchGetMemberAccountDetailsCommand.d.ts +3 -8
  30. package/dist-types/commands/CancelMembershipCommand.d.ts +3 -8
  31. package/dist-types/commands/CloseCaseCommand.d.ts +3 -8
  32. package/dist-types/commands/CreateCaseCommand.d.ts +3 -8
  33. package/dist-types/commands/CreateCaseCommentCommand.d.ts +3 -8
  34. package/dist-types/commands/CreateMembershipCommand.d.ts +3 -8
  35. package/dist-types/commands/GetCaseAttachmentDownloadUrlCommand.d.ts +3 -8
  36. package/dist-types/commands/GetCaseAttachmentUploadUrlCommand.d.ts +3 -8
  37. package/dist-types/commands/GetCaseCommand.d.ts +3 -8
  38. package/dist-types/commands/GetMembershipCommand.d.ts +3 -8
  39. package/dist-types/commands/ListCaseEditsCommand.d.ts +3 -8
  40. package/dist-types/commands/ListCasesCommand.d.ts +3 -8
  41. package/dist-types/commands/ListCommentsCommand.d.ts +3 -8
  42. package/dist-types/commands/ListInvestigationsCommand.d.ts +3 -8
  43. package/dist-types/commands/ListMembershipsCommand.d.ts +3 -8
  44. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  45. package/dist-types/commands/SendFeedbackCommand.d.ts +3 -8
  46. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  47. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  48. package/dist-types/commands/UpdateCaseCommand.d.ts +3 -8
  49. package/dist-types/commands/UpdateCaseCommentCommand.d.ts +3 -8
  50. package/dist-types/commands/UpdateCaseStatusCommand.d.ts +3 -8
  51. package/dist-types/commands/UpdateMembershipCommand.d.ts +3 -8
  52. package/dist-types/commands/UpdateResolverTypeCommand.d.ts +3 -8
  53. package/dist-types/index.d.ts +1 -0
  54. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  55. package/dist-types/ts3.4/commands/BatchGetMemberAccountDetailsCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/CancelMembershipCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/CloseCaseCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/CreateCaseCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/CreateCaseCommentCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/CreateMembershipCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/GetCaseAttachmentDownloadUrlCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/GetCaseAttachmentUploadUrlCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/GetCaseCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/GetMembershipCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/ListCaseEditsCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/ListCasesCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/ListCommentsCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/ListInvestigationsCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/ListMembershipsCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/SendFeedbackCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/UpdateCaseCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/UpdateCaseCommentCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/UpdateCaseStatusCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/UpdateMembershipCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/UpdateResolverTypeCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/index.d.ts +1 -0
  80. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -66,7 +67,7 @@ const commonParams = {
66
67
  Region: { type: "builtInParams", name: "region" },
67
68
  };
68
69
 
69
- var version = "3.1076.0";
70
+ var version = "3.1077.0";
70
71
  var packageInfo = {
71
72
  version: version};
72
73
 
@@ -1167,292 +1168,80 @@ class SecurityIRClient extends Client {
1167
1168
  }
1168
1169
  }
1169
1170
 
1170
- class BatchGetMemberAccountDetailsCommand extends Command
1171
- .classBuilder()
1172
- .ep(commonParams)
1173
- .m(function (Command, cs, config, o) {
1174
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1175
- })
1176
- .s("SecurityIncidentResponse", "BatchGetMemberAccountDetails", {})
1177
- .n("SecurityIRClient", "BatchGetMemberAccountDetailsCommand")
1178
- .sc(BatchGetMemberAccountDetails$)
1179
- .build() {
1171
+ const command = makeBuilder(commonParams, "SecurityIncidentResponse", "SecurityIRClient", getEndpointPlugin);
1172
+ const _ep0 = {};
1173
+ const _mw0 = (Command, cs, config, o) => [];
1174
+
1175
+ class BatchGetMemberAccountDetailsCommand extends command(_ep0, _mw0, "BatchGetMemberAccountDetails", BatchGetMemberAccountDetails$) {
1180
1176
  }
1181
1177
 
1182
- class CancelMembershipCommand extends Command
1183
- .classBuilder()
1184
- .ep(commonParams)
1185
- .m(function (Command, cs, config, o) {
1186
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1187
- })
1188
- .s("SecurityIncidentResponse", "CancelMembership", {})
1189
- .n("SecurityIRClient", "CancelMembershipCommand")
1190
- .sc(CancelMembership$)
1191
- .build() {
1178
+ class CancelMembershipCommand extends command(_ep0, _mw0, "CancelMembership", CancelMembership$) {
1192
1179
  }
1193
1180
 
1194
- class CloseCaseCommand extends Command
1195
- .classBuilder()
1196
- .ep(commonParams)
1197
- .m(function (Command, cs, config, o) {
1198
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1199
- })
1200
- .s("SecurityIncidentResponse", "CloseCase", {})
1201
- .n("SecurityIRClient", "CloseCaseCommand")
1202
- .sc(CloseCase$)
1203
- .build() {
1181
+ class CloseCaseCommand extends command(_ep0, _mw0, "CloseCase", CloseCase$) {
1204
1182
  }
1205
1183
 
1206
- class CreateCaseCommand extends Command
1207
- .classBuilder()
1208
- .ep(commonParams)
1209
- .m(function (Command, cs, config, o) {
1210
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1211
- })
1212
- .s("SecurityIncidentResponse", "CreateCase", {})
1213
- .n("SecurityIRClient", "CreateCaseCommand")
1214
- .sc(CreateCase$)
1215
- .build() {
1184
+ class CreateCaseCommand extends command(_ep0, _mw0, "CreateCase", CreateCase$) {
1216
1185
  }
1217
1186
 
1218
- class CreateCaseCommentCommand extends Command
1219
- .classBuilder()
1220
- .ep(commonParams)
1221
- .m(function (Command, cs, config, o) {
1222
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1223
- })
1224
- .s("SecurityIncidentResponse", "CreateCaseComment", {})
1225
- .n("SecurityIRClient", "CreateCaseCommentCommand")
1226
- .sc(CreateCaseComment$)
1227
- .build() {
1187
+ class CreateCaseCommentCommand extends command(_ep0, _mw0, "CreateCaseComment", CreateCaseComment$) {
1228
1188
  }
1229
1189
 
1230
- class CreateMembershipCommand extends Command
1231
- .classBuilder()
1232
- .ep(commonParams)
1233
- .m(function (Command, cs, config, o) {
1234
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1235
- })
1236
- .s("SecurityIncidentResponse", "CreateMembership", {})
1237
- .n("SecurityIRClient", "CreateMembershipCommand")
1238
- .sc(CreateMembership$)
1239
- .build() {
1190
+ class CreateMembershipCommand extends command(_ep0, _mw0, "CreateMembership", CreateMembership$) {
1240
1191
  }
1241
1192
 
1242
- class GetCaseAttachmentDownloadUrlCommand extends Command
1243
- .classBuilder()
1244
- .ep(commonParams)
1245
- .m(function (Command, cs, config, o) {
1246
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1247
- })
1248
- .s("SecurityIncidentResponse", "GetCaseAttachmentDownloadUrl", {})
1249
- .n("SecurityIRClient", "GetCaseAttachmentDownloadUrlCommand")
1250
- .sc(GetCaseAttachmentDownloadUrl$)
1251
- .build() {
1193
+ class GetCaseAttachmentDownloadUrlCommand extends command(_ep0, _mw0, "GetCaseAttachmentDownloadUrl", GetCaseAttachmentDownloadUrl$) {
1252
1194
  }
1253
1195
 
1254
- class GetCaseAttachmentUploadUrlCommand extends Command
1255
- .classBuilder()
1256
- .ep(commonParams)
1257
- .m(function (Command, cs, config, o) {
1258
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1259
- })
1260
- .s("SecurityIncidentResponse", "GetCaseAttachmentUploadUrl", {})
1261
- .n("SecurityIRClient", "GetCaseAttachmentUploadUrlCommand")
1262
- .sc(GetCaseAttachmentUploadUrl$)
1263
- .build() {
1196
+ class GetCaseAttachmentUploadUrlCommand extends command(_ep0, _mw0, "GetCaseAttachmentUploadUrl", GetCaseAttachmentUploadUrl$) {
1264
1197
  }
1265
1198
 
1266
- class GetCaseCommand extends Command
1267
- .classBuilder()
1268
- .ep(commonParams)
1269
- .m(function (Command, cs, config, o) {
1270
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1271
- })
1272
- .s("SecurityIncidentResponse", "GetCase", {})
1273
- .n("SecurityIRClient", "GetCaseCommand")
1274
- .sc(GetCase$)
1275
- .build() {
1199
+ class GetCaseCommand extends command(_ep0, _mw0, "GetCase", GetCase$) {
1276
1200
  }
1277
1201
 
1278
- class GetMembershipCommand extends Command
1279
- .classBuilder()
1280
- .ep(commonParams)
1281
- .m(function (Command, cs, config, o) {
1282
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1283
- })
1284
- .s("SecurityIncidentResponse", "GetMembership", {})
1285
- .n("SecurityIRClient", "GetMembershipCommand")
1286
- .sc(GetMembership$)
1287
- .build() {
1202
+ class GetMembershipCommand extends command(_ep0, _mw0, "GetMembership", GetMembership$) {
1288
1203
  }
1289
1204
 
1290
- class ListCaseEditsCommand extends Command
1291
- .classBuilder()
1292
- .ep(commonParams)
1293
- .m(function (Command, cs, config, o) {
1294
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1295
- })
1296
- .s("SecurityIncidentResponse", "ListCaseEdits", {})
1297
- .n("SecurityIRClient", "ListCaseEditsCommand")
1298
- .sc(ListCaseEdits$)
1299
- .build() {
1205
+ class ListCaseEditsCommand extends command(_ep0, _mw0, "ListCaseEdits", ListCaseEdits$) {
1300
1206
  }
1301
1207
 
1302
- class ListCasesCommand extends Command
1303
- .classBuilder()
1304
- .ep(commonParams)
1305
- .m(function (Command, cs, config, o) {
1306
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1307
- })
1308
- .s("SecurityIncidentResponse", "ListCases", {})
1309
- .n("SecurityIRClient", "ListCasesCommand")
1310
- .sc(ListCases$)
1311
- .build() {
1208
+ class ListCasesCommand extends command(_ep0, _mw0, "ListCases", ListCases$) {
1312
1209
  }
1313
1210
 
1314
- class ListCommentsCommand extends Command
1315
- .classBuilder()
1316
- .ep(commonParams)
1317
- .m(function (Command, cs, config, o) {
1318
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1319
- })
1320
- .s("SecurityIncidentResponse", "ListComments", {})
1321
- .n("SecurityIRClient", "ListCommentsCommand")
1322
- .sc(ListComments$)
1323
- .build() {
1211
+ class ListCommentsCommand extends command(_ep0, _mw0, "ListComments", ListComments$) {
1324
1212
  }
1325
1213
 
1326
- class ListInvestigationsCommand extends Command
1327
- .classBuilder()
1328
- .ep(commonParams)
1329
- .m(function (Command, cs, config, o) {
1330
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1331
- })
1332
- .s("SecurityIncidentResponse", "ListInvestigations", {})
1333
- .n("SecurityIRClient", "ListInvestigationsCommand")
1334
- .sc(ListInvestigations$)
1335
- .build() {
1214
+ class ListInvestigationsCommand extends command(_ep0, _mw0, "ListInvestigations", ListInvestigations$) {
1336
1215
  }
1337
1216
 
1338
- class ListMembershipsCommand extends Command
1339
- .classBuilder()
1340
- .ep(commonParams)
1341
- .m(function (Command, cs, config, o) {
1342
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1343
- })
1344
- .s("SecurityIncidentResponse", "ListMemberships", {})
1345
- .n("SecurityIRClient", "ListMembershipsCommand")
1346
- .sc(ListMemberships$)
1347
- .build() {
1217
+ class ListMembershipsCommand extends command(_ep0, _mw0, "ListMemberships", ListMemberships$) {
1348
1218
  }
1349
1219
 
1350
- class ListTagsForResourceCommand extends Command
1351
- .classBuilder()
1352
- .ep(commonParams)
1353
- .m(function (Command, cs, config, o) {
1354
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1355
- })
1356
- .s("SecurityIncidentResponse", "ListTagsForResource", {})
1357
- .n("SecurityIRClient", "ListTagsForResourceCommand")
1358
- .sc(ListTagsForResource$)
1359
- .build() {
1220
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1360
1221
  }
1361
1222
 
1362
- class SendFeedbackCommand extends Command
1363
- .classBuilder()
1364
- .ep(commonParams)
1365
- .m(function (Command, cs, config, o) {
1366
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1367
- })
1368
- .s("SecurityIncidentResponse", "SendFeedback", {})
1369
- .n("SecurityIRClient", "SendFeedbackCommand")
1370
- .sc(SendFeedback$)
1371
- .build() {
1223
+ class SendFeedbackCommand extends command(_ep0, _mw0, "SendFeedback", SendFeedback$) {
1372
1224
  }
1373
1225
 
1374
- class TagResourceCommand extends Command
1375
- .classBuilder()
1376
- .ep(commonParams)
1377
- .m(function (Command, cs, config, o) {
1378
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1379
- })
1380
- .s("SecurityIncidentResponse", "TagResource", {})
1381
- .n("SecurityIRClient", "TagResourceCommand")
1382
- .sc(TagResource$)
1383
- .build() {
1226
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1384
1227
  }
1385
1228
 
1386
- class UntagResourceCommand extends Command
1387
- .classBuilder()
1388
- .ep(commonParams)
1389
- .m(function (Command, cs, config, o) {
1390
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1391
- })
1392
- .s("SecurityIncidentResponse", "UntagResource", {})
1393
- .n("SecurityIRClient", "UntagResourceCommand")
1394
- .sc(UntagResource$)
1395
- .build() {
1229
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1396
1230
  }
1397
1231
 
1398
- class UpdateCaseCommand extends Command
1399
- .classBuilder()
1400
- .ep(commonParams)
1401
- .m(function (Command, cs, config, o) {
1402
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1403
- })
1404
- .s("SecurityIncidentResponse", "UpdateCase", {})
1405
- .n("SecurityIRClient", "UpdateCaseCommand")
1406
- .sc(UpdateCase$)
1407
- .build() {
1232
+ class UpdateCaseCommand extends command(_ep0, _mw0, "UpdateCase", UpdateCase$) {
1408
1233
  }
1409
1234
 
1410
- class UpdateCaseCommentCommand extends Command
1411
- .classBuilder()
1412
- .ep(commonParams)
1413
- .m(function (Command, cs, config, o) {
1414
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1415
- })
1416
- .s("SecurityIncidentResponse", "UpdateCaseComment", {})
1417
- .n("SecurityIRClient", "UpdateCaseCommentCommand")
1418
- .sc(UpdateCaseComment$)
1419
- .build() {
1235
+ class UpdateCaseCommentCommand extends command(_ep0, _mw0, "UpdateCaseComment", UpdateCaseComment$) {
1420
1236
  }
1421
1237
 
1422
- class UpdateCaseStatusCommand extends Command
1423
- .classBuilder()
1424
- .ep(commonParams)
1425
- .m(function (Command, cs, config, o) {
1426
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1427
- })
1428
- .s("SecurityIncidentResponse", "UpdateCaseStatus", {})
1429
- .n("SecurityIRClient", "UpdateCaseStatusCommand")
1430
- .sc(UpdateCaseStatus$)
1431
- .build() {
1238
+ class UpdateCaseStatusCommand extends command(_ep0, _mw0, "UpdateCaseStatus", UpdateCaseStatus$) {
1432
1239
  }
1433
1240
 
1434
- class UpdateMembershipCommand extends Command
1435
- .classBuilder()
1436
- .ep(commonParams)
1437
- .m(function (Command, cs, config, o) {
1438
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1439
- })
1440
- .s("SecurityIncidentResponse", "UpdateMembership", {})
1441
- .n("SecurityIRClient", "UpdateMembershipCommand")
1442
- .sc(UpdateMembership$)
1443
- .build() {
1241
+ class UpdateMembershipCommand extends command(_ep0, _mw0, "UpdateMembership", UpdateMembership$) {
1444
1242
  }
1445
1243
 
1446
- class UpdateResolverTypeCommand extends Command
1447
- .classBuilder()
1448
- .ep(commonParams)
1449
- .m(function (Command, cs, config, o) {
1450
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1451
- })
1452
- .s("SecurityIncidentResponse", "UpdateResolverType", {})
1453
- .n("SecurityIRClient", "UpdateResolverTypeCommand")
1454
- .sc(UpdateResolverType$)
1455
- .build() {
1244
+ class UpdateResolverTypeCommand extends command(_ep0, _mw0, "UpdateResolverType", UpdateResolverType$) {
1456
1245
  }
1457
1246
 
1458
1247
  const paginateListCaseEdits = createPaginator(SecurityIRClient, ListCaseEditsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "SecurityIncidentResponse", "SecurityIRClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { BatchGetMemberAccountDetails$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchGetMemberAccountDetailsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityIncidentResponse", "BatchGetMemberAccountDetails", {})
13
- .n("SecurityIRClient", "BatchGetMemberAccountDetailsCommand")
14
- .sc(BatchGetMemberAccountDetails$)
15
- .build() {
3
+ export class BatchGetMemberAccountDetailsCommand extends command(_ep0, _mw0, "BatchGetMemberAccountDetails", BatchGetMemberAccountDetails$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CancelMembership$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelMembershipCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityIncidentResponse", "CancelMembership", {})
13
- .n("SecurityIRClient", "CancelMembershipCommand")
14
- .sc(CancelMembership$)
15
- .build() {
3
+ export class CancelMembershipCommand extends command(_ep0, _mw0, "CancelMembership", CancelMembership$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CloseCase$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CloseCaseCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityIncidentResponse", "CloseCase", {})
13
- .n("SecurityIRClient", "CloseCaseCommand")
14
- .sc(CloseCase$)
15
- .build() {
3
+ export class CloseCaseCommand extends command(_ep0, _mw0, "CloseCase", CloseCase$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateCase$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateCaseCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityIncidentResponse", "CreateCase", {})
13
- .n("SecurityIRClient", "CreateCaseCommand")
14
- .sc(CreateCase$)
15
- .build() {
3
+ export class CreateCaseCommand extends command(_ep0, _mw0, "CreateCase", CreateCase$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateCaseComment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateCaseCommentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityIncidentResponse", "CreateCaseComment", {})
13
- .n("SecurityIRClient", "CreateCaseCommentCommand")
14
- .sc(CreateCaseComment$)
15
- .build() {
3
+ export class CreateCaseCommentCommand extends command(_ep0, _mw0, "CreateCaseComment", CreateCaseComment$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateMembership$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateMembershipCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityIncidentResponse", "CreateMembership", {})
13
- .n("SecurityIRClient", "CreateMembershipCommand")
14
- .sc(CreateMembership$)
15
- .build() {
3
+ export class CreateMembershipCommand extends command(_ep0, _mw0, "CreateMembership", CreateMembership$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetCaseAttachmentDownloadUrl$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetCaseAttachmentDownloadUrlCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityIncidentResponse", "GetCaseAttachmentDownloadUrl", {})
13
- .n("SecurityIRClient", "GetCaseAttachmentDownloadUrlCommand")
14
- .sc(GetCaseAttachmentDownloadUrl$)
15
- .build() {
3
+ export class GetCaseAttachmentDownloadUrlCommand extends command(_ep0, _mw0, "GetCaseAttachmentDownloadUrl", GetCaseAttachmentDownloadUrl$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetCaseAttachmentUploadUrl$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetCaseAttachmentUploadUrlCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityIncidentResponse", "GetCaseAttachmentUploadUrl", {})
13
- .n("SecurityIRClient", "GetCaseAttachmentUploadUrlCommand")
14
- .sc(GetCaseAttachmentUploadUrl$)
15
- .build() {
3
+ export class GetCaseAttachmentUploadUrlCommand extends command(_ep0, _mw0, "GetCaseAttachmentUploadUrl", GetCaseAttachmentUploadUrl$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetCase$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetCaseCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityIncidentResponse", "GetCase", {})
13
- .n("SecurityIRClient", "GetCaseCommand")
14
- .sc(GetCase$)
15
- .build() {
3
+ export class GetCaseCommand extends command(_ep0, _mw0, "GetCase", GetCase$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetMembership$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetMembershipCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityIncidentResponse", "GetMembership", {})
13
- .n("SecurityIRClient", "GetMembershipCommand")
14
- .sc(GetMembership$)
15
- .build() {
3
+ export class GetMembershipCommand extends command(_ep0, _mw0, "GetMembership", GetMembership$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListCaseEdits$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListCaseEditsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityIncidentResponse", "ListCaseEdits", {})
13
- .n("SecurityIRClient", "ListCaseEditsCommand")
14
- .sc(ListCaseEdits$)
15
- .build() {
3
+ export class ListCaseEditsCommand extends command(_ep0, _mw0, "ListCaseEdits", ListCaseEdits$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListCases$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListCasesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityIncidentResponse", "ListCases", {})
13
- .n("SecurityIRClient", "ListCasesCommand")
14
- .sc(ListCases$)
15
- .build() {
3
+ export class ListCasesCommand extends command(_ep0, _mw0, "ListCases", ListCases$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListComments$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListCommentsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityIncidentResponse", "ListComments", {})
13
- .n("SecurityIRClient", "ListCommentsCommand")
14
- .sc(ListComments$)
15
- .build() {
3
+ export class ListCommentsCommand extends command(_ep0, _mw0, "ListComments", ListComments$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListInvestigations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListInvestigationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityIncidentResponse", "ListInvestigations", {})
13
- .n("SecurityIRClient", "ListInvestigationsCommand")
14
- .sc(ListInvestigations$)
15
- .build() {
3
+ export class ListInvestigationsCommand extends command(_ep0, _mw0, "ListInvestigations", ListInvestigations$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListMemberships$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListMembershipsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityIncidentResponse", "ListMemberships", {})
13
- .n("SecurityIRClient", "ListMembershipsCommand")
14
- .sc(ListMemberships$)
15
- .build() {
3
+ export class ListMembershipsCommand extends command(_ep0, _mw0, "ListMemberships", ListMemberships$) {
16
4
  }