@aws-sdk/client-security-ir 3.1076.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 (92) hide show
  1. package/dist-cjs/index.js +35 -245
  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-es/runtimeConfig.browser.js +0 -2
  29. package/dist-es/runtimeConfig.js +1 -2
  30. package/dist-es/runtimeConfig.native.js +0 -2
  31. package/dist-es/runtimeConfig.shared.js +2 -0
  32. package/dist-types/commandBuilder.d.ts +18 -0
  33. package/dist-types/commands/BatchGetMemberAccountDetailsCommand.d.ts +3 -8
  34. package/dist-types/commands/CancelMembershipCommand.d.ts +3 -8
  35. package/dist-types/commands/CloseCaseCommand.d.ts +3 -8
  36. package/dist-types/commands/CreateCaseCommand.d.ts +3 -8
  37. package/dist-types/commands/CreateCaseCommentCommand.d.ts +3 -8
  38. package/dist-types/commands/CreateMembershipCommand.d.ts +3 -8
  39. package/dist-types/commands/GetCaseAttachmentDownloadUrlCommand.d.ts +3 -8
  40. package/dist-types/commands/GetCaseAttachmentUploadUrlCommand.d.ts +3 -8
  41. package/dist-types/commands/GetCaseCommand.d.ts +3 -8
  42. package/dist-types/commands/GetMembershipCommand.d.ts +3 -8
  43. package/dist-types/commands/ListCaseEditsCommand.d.ts +3 -8
  44. package/dist-types/commands/ListCasesCommand.d.ts +3 -8
  45. package/dist-types/commands/ListCommentsCommand.d.ts +3 -8
  46. package/dist-types/commands/ListInvestigationsCommand.d.ts +3 -8
  47. package/dist-types/commands/ListMembershipsCommand.d.ts +3 -8
  48. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  49. package/dist-types/commands/SendFeedbackCommand.d.ts +3 -8
  50. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  51. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  52. package/dist-types/commands/UpdateCaseCommand.d.ts +3 -8
  53. package/dist-types/commands/UpdateCaseCommentCommand.d.ts +3 -8
  54. package/dist-types/commands/UpdateCaseStatusCommand.d.ts +3 -8
  55. package/dist-types/commands/UpdateMembershipCommand.d.ts +3 -8
  56. package/dist-types/commands/UpdateResolverTypeCommand.d.ts +3 -8
  57. package/dist-types/index.d.ts +1 -0
  58. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  59. package/dist-types/runtimeConfig.d.ts +1 -1
  60. package/dist-types/runtimeConfig.native.d.ts +1 -1
  61. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  62. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  63. package/dist-types/ts3.4/commands/BatchGetMemberAccountDetailsCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/CancelMembershipCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/CloseCaseCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/CreateCaseCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/CreateCaseCommentCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/CreateMembershipCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/GetCaseAttachmentDownloadUrlCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/GetCaseAttachmentUploadUrlCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/GetCaseCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/GetMembershipCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/ListCaseEditsCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/ListCasesCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/ListCommentsCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/ListInvestigationsCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/ListMembershipsCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/SendFeedbackCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/UpdateCaseCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/UpdateCaseCommentCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/UpdateCaseStatusCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/UpdateMembershipCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/UpdateResolverTypeCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/index.d.ts +1 -0
  88. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  89. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  90. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  91. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  92. package/package.json +8 -10
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");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultSecurityIRHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -65,7 +67,7 @@ const commonParams = {
65
67
  Region: { type: "builtInParams", name: "region" },
66
68
  };
67
69
 
68
- var version = "3.1075.0";
70
+ var version = "3.1077.0";
69
71
  var packageInfo = {
70
72
  version: version};
71
73
 
@@ -1045,6 +1047,7 @@ const getRuntimeConfig$1 = (config) => {
1045
1047
  serviceTarget: "SecurityIncidentResponse",
1046
1048
  },
1047
1049
  serviceId: config?.serviceId ?? "Security IR",
1050
+ sha256: config?.sha256 ?? Sha256,
1048
1051
  urlParser: config?.urlParser ?? parseUrl,
1049
1052
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1050
1053
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1078,7 +1081,6 @@ const getRuntimeConfig = (config) => {
1078
1081
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1079
1082
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1080
1083
  }, config),
1081
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1082
1084
  streamCollector: config?.streamCollector ?? streamCollector,
1083
1085
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1084
1086
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1166,292 +1168,80 @@ class SecurityIRClient extends Client {
1166
1168
  }
1167
1169
  }
1168
1170
 
1169
- class BatchGetMemberAccountDetailsCommand extends Command
1170
- .classBuilder()
1171
- .ep(commonParams)
1172
- .m(function (Command, cs, config, o) {
1173
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1174
- })
1175
- .s("SecurityIncidentResponse", "BatchGetMemberAccountDetails", {})
1176
- .n("SecurityIRClient", "BatchGetMemberAccountDetailsCommand")
1177
- .sc(BatchGetMemberAccountDetails$)
1178
- .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$) {
1179
1176
  }
1180
1177
 
1181
- class CancelMembershipCommand extends Command
1182
- .classBuilder()
1183
- .ep(commonParams)
1184
- .m(function (Command, cs, config, o) {
1185
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1186
- })
1187
- .s("SecurityIncidentResponse", "CancelMembership", {})
1188
- .n("SecurityIRClient", "CancelMembershipCommand")
1189
- .sc(CancelMembership$)
1190
- .build() {
1178
+ class CancelMembershipCommand extends command(_ep0, _mw0, "CancelMembership", CancelMembership$) {
1191
1179
  }
1192
1180
 
1193
- class CloseCaseCommand extends Command
1194
- .classBuilder()
1195
- .ep(commonParams)
1196
- .m(function (Command, cs, config, o) {
1197
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1198
- })
1199
- .s("SecurityIncidentResponse", "CloseCase", {})
1200
- .n("SecurityIRClient", "CloseCaseCommand")
1201
- .sc(CloseCase$)
1202
- .build() {
1181
+ class CloseCaseCommand extends command(_ep0, _mw0, "CloseCase", CloseCase$) {
1203
1182
  }
1204
1183
 
1205
- class CreateCaseCommand extends Command
1206
- .classBuilder()
1207
- .ep(commonParams)
1208
- .m(function (Command, cs, config, o) {
1209
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1210
- })
1211
- .s("SecurityIncidentResponse", "CreateCase", {})
1212
- .n("SecurityIRClient", "CreateCaseCommand")
1213
- .sc(CreateCase$)
1214
- .build() {
1184
+ class CreateCaseCommand extends command(_ep0, _mw0, "CreateCase", CreateCase$) {
1215
1185
  }
1216
1186
 
1217
- class CreateCaseCommentCommand extends Command
1218
- .classBuilder()
1219
- .ep(commonParams)
1220
- .m(function (Command, cs, config, o) {
1221
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1222
- })
1223
- .s("SecurityIncidentResponse", "CreateCaseComment", {})
1224
- .n("SecurityIRClient", "CreateCaseCommentCommand")
1225
- .sc(CreateCaseComment$)
1226
- .build() {
1187
+ class CreateCaseCommentCommand extends command(_ep0, _mw0, "CreateCaseComment", CreateCaseComment$) {
1227
1188
  }
1228
1189
 
1229
- class CreateMembershipCommand extends Command
1230
- .classBuilder()
1231
- .ep(commonParams)
1232
- .m(function (Command, cs, config, o) {
1233
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1234
- })
1235
- .s("SecurityIncidentResponse", "CreateMembership", {})
1236
- .n("SecurityIRClient", "CreateMembershipCommand")
1237
- .sc(CreateMembership$)
1238
- .build() {
1190
+ class CreateMembershipCommand extends command(_ep0, _mw0, "CreateMembership", CreateMembership$) {
1239
1191
  }
1240
1192
 
1241
- class GetCaseAttachmentDownloadUrlCommand extends Command
1242
- .classBuilder()
1243
- .ep(commonParams)
1244
- .m(function (Command, cs, config, o) {
1245
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1246
- })
1247
- .s("SecurityIncidentResponse", "GetCaseAttachmentDownloadUrl", {})
1248
- .n("SecurityIRClient", "GetCaseAttachmentDownloadUrlCommand")
1249
- .sc(GetCaseAttachmentDownloadUrl$)
1250
- .build() {
1193
+ class GetCaseAttachmentDownloadUrlCommand extends command(_ep0, _mw0, "GetCaseAttachmentDownloadUrl", GetCaseAttachmentDownloadUrl$) {
1251
1194
  }
1252
1195
 
1253
- class GetCaseAttachmentUploadUrlCommand extends Command
1254
- .classBuilder()
1255
- .ep(commonParams)
1256
- .m(function (Command, cs, config, o) {
1257
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1258
- })
1259
- .s("SecurityIncidentResponse", "GetCaseAttachmentUploadUrl", {})
1260
- .n("SecurityIRClient", "GetCaseAttachmentUploadUrlCommand")
1261
- .sc(GetCaseAttachmentUploadUrl$)
1262
- .build() {
1196
+ class GetCaseAttachmentUploadUrlCommand extends command(_ep0, _mw0, "GetCaseAttachmentUploadUrl", GetCaseAttachmentUploadUrl$) {
1263
1197
  }
1264
1198
 
1265
- class GetCaseCommand extends Command
1266
- .classBuilder()
1267
- .ep(commonParams)
1268
- .m(function (Command, cs, config, o) {
1269
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1270
- })
1271
- .s("SecurityIncidentResponse", "GetCase", {})
1272
- .n("SecurityIRClient", "GetCaseCommand")
1273
- .sc(GetCase$)
1274
- .build() {
1199
+ class GetCaseCommand extends command(_ep0, _mw0, "GetCase", GetCase$) {
1275
1200
  }
1276
1201
 
1277
- class GetMembershipCommand extends Command
1278
- .classBuilder()
1279
- .ep(commonParams)
1280
- .m(function (Command, cs, config, o) {
1281
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1282
- })
1283
- .s("SecurityIncidentResponse", "GetMembership", {})
1284
- .n("SecurityIRClient", "GetMembershipCommand")
1285
- .sc(GetMembership$)
1286
- .build() {
1202
+ class GetMembershipCommand extends command(_ep0, _mw0, "GetMembership", GetMembership$) {
1287
1203
  }
1288
1204
 
1289
- class ListCaseEditsCommand extends Command
1290
- .classBuilder()
1291
- .ep(commonParams)
1292
- .m(function (Command, cs, config, o) {
1293
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1294
- })
1295
- .s("SecurityIncidentResponse", "ListCaseEdits", {})
1296
- .n("SecurityIRClient", "ListCaseEditsCommand")
1297
- .sc(ListCaseEdits$)
1298
- .build() {
1205
+ class ListCaseEditsCommand extends command(_ep0, _mw0, "ListCaseEdits", ListCaseEdits$) {
1299
1206
  }
1300
1207
 
1301
- class ListCasesCommand extends Command
1302
- .classBuilder()
1303
- .ep(commonParams)
1304
- .m(function (Command, cs, config, o) {
1305
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1306
- })
1307
- .s("SecurityIncidentResponse", "ListCases", {})
1308
- .n("SecurityIRClient", "ListCasesCommand")
1309
- .sc(ListCases$)
1310
- .build() {
1208
+ class ListCasesCommand extends command(_ep0, _mw0, "ListCases", ListCases$) {
1311
1209
  }
1312
1210
 
1313
- class ListCommentsCommand extends Command
1314
- .classBuilder()
1315
- .ep(commonParams)
1316
- .m(function (Command, cs, config, o) {
1317
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1318
- })
1319
- .s("SecurityIncidentResponse", "ListComments", {})
1320
- .n("SecurityIRClient", "ListCommentsCommand")
1321
- .sc(ListComments$)
1322
- .build() {
1211
+ class ListCommentsCommand extends command(_ep0, _mw0, "ListComments", ListComments$) {
1323
1212
  }
1324
1213
 
1325
- class ListInvestigationsCommand extends Command
1326
- .classBuilder()
1327
- .ep(commonParams)
1328
- .m(function (Command, cs, config, o) {
1329
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1330
- })
1331
- .s("SecurityIncidentResponse", "ListInvestigations", {})
1332
- .n("SecurityIRClient", "ListInvestigationsCommand")
1333
- .sc(ListInvestigations$)
1334
- .build() {
1214
+ class ListInvestigationsCommand extends command(_ep0, _mw0, "ListInvestigations", ListInvestigations$) {
1335
1215
  }
1336
1216
 
1337
- class ListMembershipsCommand extends Command
1338
- .classBuilder()
1339
- .ep(commonParams)
1340
- .m(function (Command, cs, config, o) {
1341
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1342
- })
1343
- .s("SecurityIncidentResponse", "ListMemberships", {})
1344
- .n("SecurityIRClient", "ListMembershipsCommand")
1345
- .sc(ListMemberships$)
1346
- .build() {
1217
+ class ListMembershipsCommand extends command(_ep0, _mw0, "ListMemberships", ListMemberships$) {
1347
1218
  }
1348
1219
 
1349
- class ListTagsForResourceCommand extends Command
1350
- .classBuilder()
1351
- .ep(commonParams)
1352
- .m(function (Command, cs, config, o) {
1353
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1354
- })
1355
- .s("SecurityIncidentResponse", "ListTagsForResource", {})
1356
- .n("SecurityIRClient", "ListTagsForResourceCommand")
1357
- .sc(ListTagsForResource$)
1358
- .build() {
1220
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1359
1221
  }
1360
1222
 
1361
- class SendFeedbackCommand extends Command
1362
- .classBuilder()
1363
- .ep(commonParams)
1364
- .m(function (Command, cs, config, o) {
1365
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1366
- })
1367
- .s("SecurityIncidentResponse", "SendFeedback", {})
1368
- .n("SecurityIRClient", "SendFeedbackCommand")
1369
- .sc(SendFeedback$)
1370
- .build() {
1223
+ class SendFeedbackCommand extends command(_ep0, _mw0, "SendFeedback", SendFeedback$) {
1371
1224
  }
1372
1225
 
1373
- class TagResourceCommand extends Command
1374
- .classBuilder()
1375
- .ep(commonParams)
1376
- .m(function (Command, cs, config, o) {
1377
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1378
- })
1379
- .s("SecurityIncidentResponse", "TagResource", {})
1380
- .n("SecurityIRClient", "TagResourceCommand")
1381
- .sc(TagResource$)
1382
- .build() {
1226
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1383
1227
  }
1384
1228
 
1385
- class UntagResourceCommand extends Command
1386
- .classBuilder()
1387
- .ep(commonParams)
1388
- .m(function (Command, cs, config, o) {
1389
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1390
- })
1391
- .s("SecurityIncidentResponse", "UntagResource", {})
1392
- .n("SecurityIRClient", "UntagResourceCommand")
1393
- .sc(UntagResource$)
1394
- .build() {
1229
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1395
1230
  }
1396
1231
 
1397
- class UpdateCaseCommand extends Command
1398
- .classBuilder()
1399
- .ep(commonParams)
1400
- .m(function (Command, cs, config, o) {
1401
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1402
- })
1403
- .s("SecurityIncidentResponse", "UpdateCase", {})
1404
- .n("SecurityIRClient", "UpdateCaseCommand")
1405
- .sc(UpdateCase$)
1406
- .build() {
1232
+ class UpdateCaseCommand extends command(_ep0, _mw0, "UpdateCase", UpdateCase$) {
1407
1233
  }
1408
1234
 
1409
- class UpdateCaseCommentCommand extends Command
1410
- .classBuilder()
1411
- .ep(commonParams)
1412
- .m(function (Command, cs, config, o) {
1413
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1414
- })
1415
- .s("SecurityIncidentResponse", "UpdateCaseComment", {})
1416
- .n("SecurityIRClient", "UpdateCaseCommentCommand")
1417
- .sc(UpdateCaseComment$)
1418
- .build() {
1235
+ class UpdateCaseCommentCommand extends command(_ep0, _mw0, "UpdateCaseComment", UpdateCaseComment$) {
1419
1236
  }
1420
1237
 
1421
- class UpdateCaseStatusCommand extends Command
1422
- .classBuilder()
1423
- .ep(commonParams)
1424
- .m(function (Command, cs, config, o) {
1425
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1426
- })
1427
- .s("SecurityIncidentResponse", "UpdateCaseStatus", {})
1428
- .n("SecurityIRClient", "UpdateCaseStatusCommand")
1429
- .sc(UpdateCaseStatus$)
1430
- .build() {
1238
+ class UpdateCaseStatusCommand extends command(_ep0, _mw0, "UpdateCaseStatus", UpdateCaseStatus$) {
1431
1239
  }
1432
1240
 
1433
- class UpdateMembershipCommand extends Command
1434
- .classBuilder()
1435
- .ep(commonParams)
1436
- .m(function (Command, cs, config, o) {
1437
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1438
- })
1439
- .s("SecurityIncidentResponse", "UpdateMembership", {})
1440
- .n("SecurityIRClient", "UpdateMembershipCommand")
1441
- .sc(UpdateMembership$)
1442
- .build() {
1241
+ class UpdateMembershipCommand extends command(_ep0, _mw0, "UpdateMembership", UpdateMembership$) {
1443
1242
  }
1444
1243
 
1445
- class UpdateResolverTypeCommand extends Command
1446
- .classBuilder()
1447
- .ep(commonParams)
1448
- .m(function (Command, cs, config, o) {
1449
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1450
- })
1451
- .s("SecurityIncidentResponse", "UpdateResolverType", {})
1452
- .n("SecurityIRClient", "UpdateResolverTypeCommand")
1453
- .sc(UpdateResolverType$)
1454
- .build() {
1244
+ class UpdateResolverTypeCommand extends command(_ep0, _mw0, "UpdateResolverType", UpdateResolverType$) {
1455
1245
  }
1456
1246
 
1457
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
  }