@aws-sdk/client-securitylake 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 (113) hide show
  1. package/dist-cjs/index.js +42 -315
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateAwsLogSourceCommand.js +2 -14
  4. package/dist-es/commands/CreateCustomLogSourceCommand.js +2 -14
  5. package/dist-es/commands/CreateDataLakeCommand.js +2 -14
  6. package/dist-es/commands/CreateDataLakeExceptionSubscriptionCommand.js +2 -14
  7. package/dist-es/commands/CreateDataLakeOrganizationConfigurationCommand.js +2 -14
  8. package/dist-es/commands/CreateSubscriberCommand.js +2 -14
  9. package/dist-es/commands/CreateSubscriberNotificationCommand.js +2 -14
  10. package/dist-es/commands/DeleteAwsLogSourceCommand.js +2 -14
  11. package/dist-es/commands/DeleteCustomLogSourceCommand.js +2 -14
  12. package/dist-es/commands/DeleteDataLakeCommand.js +2 -14
  13. package/dist-es/commands/DeleteDataLakeExceptionSubscriptionCommand.js +2 -14
  14. package/dist-es/commands/DeleteDataLakeOrganizationConfigurationCommand.js +2 -14
  15. package/dist-es/commands/DeleteSubscriberCommand.js +2 -14
  16. package/dist-es/commands/DeleteSubscriberNotificationCommand.js +2 -14
  17. package/dist-es/commands/DeregisterDataLakeDelegatedAdministratorCommand.js +2 -14
  18. package/dist-es/commands/GetDataLakeExceptionSubscriptionCommand.js +2 -14
  19. package/dist-es/commands/GetDataLakeOrganizationConfigurationCommand.js +2 -14
  20. package/dist-es/commands/GetDataLakeSourcesCommand.js +2 -14
  21. package/dist-es/commands/GetSubscriberCommand.js +2 -14
  22. package/dist-es/commands/ListDataLakeExceptionsCommand.js +2 -14
  23. package/dist-es/commands/ListDataLakesCommand.js +2 -14
  24. package/dist-es/commands/ListLogSourcesCommand.js +2 -14
  25. package/dist-es/commands/ListSubscribersCommand.js +2 -14
  26. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  27. package/dist-es/commands/RegisterDataLakeDelegatedAdministratorCommand.js +2 -14
  28. package/dist-es/commands/TagResourceCommand.js +2 -14
  29. package/dist-es/commands/UntagResourceCommand.js +2 -14
  30. package/dist-es/commands/UpdateDataLakeCommand.js +2 -14
  31. package/dist-es/commands/UpdateDataLakeExceptionSubscriptionCommand.js +2 -14
  32. package/dist-es/commands/UpdateSubscriberCommand.js +2 -14
  33. package/dist-es/commands/UpdateSubscriberNotificationCommand.js +2 -14
  34. package/dist-es/index.js +1 -0
  35. package/dist-es/runtimeConfig.browser.js +0 -2
  36. package/dist-es/runtimeConfig.js +1 -2
  37. package/dist-es/runtimeConfig.native.js +0 -2
  38. package/dist-es/runtimeConfig.shared.js +2 -0
  39. package/dist-types/commandBuilder.d.ts +18 -0
  40. package/dist-types/commands/CreateAwsLogSourceCommand.d.ts +3 -8
  41. package/dist-types/commands/CreateCustomLogSourceCommand.d.ts +3 -8
  42. package/dist-types/commands/CreateDataLakeCommand.d.ts +3 -8
  43. package/dist-types/commands/CreateDataLakeExceptionSubscriptionCommand.d.ts +3 -8
  44. package/dist-types/commands/CreateDataLakeOrganizationConfigurationCommand.d.ts +3 -8
  45. package/dist-types/commands/CreateSubscriberCommand.d.ts +3 -8
  46. package/dist-types/commands/CreateSubscriberNotificationCommand.d.ts +3 -8
  47. package/dist-types/commands/DeleteAwsLogSourceCommand.d.ts +3 -8
  48. package/dist-types/commands/DeleteCustomLogSourceCommand.d.ts +3 -8
  49. package/dist-types/commands/DeleteDataLakeCommand.d.ts +3 -8
  50. package/dist-types/commands/DeleteDataLakeExceptionSubscriptionCommand.d.ts +3 -8
  51. package/dist-types/commands/DeleteDataLakeOrganizationConfigurationCommand.d.ts +3 -8
  52. package/dist-types/commands/DeleteSubscriberCommand.d.ts +3 -8
  53. package/dist-types/commands/DeleteSubscriberNotificationCommand.d.ts +3 -8
  54. package/dist-types/commands/DeregisterDataLakeDelegatedAdministratorCommand.d.ts +3 -8
  55. package/dist-types/commands/GetDataLakeExceptionSubscriptionCommand.d.ts +3 -8
  56. package/dist-types/commands/GetDataLakeOrganizationConfigurationCommand.d.ts +3 -8
  57. package/dist-types/commands/GetDataLakeSourcesCommand.d.ts +3 -8
  58. package/dist-types/commands/GetSubscriberCommand.d.ts +3 -8
  59. package/dist-types/commands/ListDataLakeExceptionsCommand.d.ts +3 -8
  60. package/dist-types/commands/ListDataLakesCommand.d.ts +3 -8
  61. package/dist-types/commands/ListLogSourcesCommand.d.ts +3 -8
  62. package/dist-types/commands/ListSubscribersCommand.d.ts +3 -8
  63. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  64. package/dist-types/commands/RegisterDataLakeDelegatedAdministratorCommand.d.ts +3 -8
  65. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  66. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  67. package/dist-types/commands/UpdateDataLakeCommand.d.ts +3 -8
  68. package/dist-types/commands/UpdateDataLakeExceptionSubscriptionCommand.d.ts +3 -8
  69. package/dist-types/commands/UpdateSubscriberCommand.d.ts +3 -8
  70. package/dist-types/commands/UpdateSubscriberNotificationCommand.d.ts +3 -8
  71. package/dist-types/index.d.ts +1 -0
  72. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  73. package/dist-types/runtimeConfig.d.ts +1 -1
  74. package/dist-types/runtimeConfig.native.d.ts +1 -1
  75. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  76. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  77. package/dist-types/ts3.4/commands/CreateAwsLogSourceCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/CreateCustomLogSourceCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/CreateDataLakeCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/CreateDataLakeExceptionSubscriptionCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/CreateDataLakeOrganizationConfigurationCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/CreateSubscriberCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/CreateSubscriberNotificationCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/DeleteAwsLogSourceCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/DeleteCustomLogSourceCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/DeleteDataLakeCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/DeleteDataLakeExceptionSubscriptionCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/DeleteDataLakeOrganizationConfigurationCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/DeleteSubscriberCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/DeleteSubscriberNotificationCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/DeregisterDataLakeDelegatedAdministratorCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/GetDataLakeExceptionSubscriptionCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/GetDataLakeOrganizationConfigurationCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/GetDataLakeSourcesCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/GetSubscriberCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/ListDataLakeExceptionsCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/ListDataLakesCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/ListLogSourcesCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/ListSubscribersCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/RegisterDataLakeDelegatedAdministratorCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/UpdateDataLakeCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/UpdateDataLakeExceptionSubscriptionCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/UpdateSubscriberCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/UpdateSubscriberNotificationCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/index.d.ts +1 -0
  109. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  110. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  111. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  112. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  113. 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 defaultSecurityLakeHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -67,7 +69,7 @@ const commonParams = {
67
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
70
  };
69
71
 
70
- var version = "3.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -1121,6 +1123,7 @@ const getRuntimeConfig$1 = (config) => {
1121
1123
  serviceTarget: "SecurityLake",
1122
1124
  },
1123
1125
  serviceId: config?.serviceId ?? "SecurityLake",
1126
+ sha256: config?.sha256 ?? Sha256,
1124
1127
  urlParser: config?.urlParser ?? parseUrl,
1125
1128
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1126
1129
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1154,7 +1157,6 @@ const getRuntimeConfig = (config) => {
1154
1157
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1155
1158
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1156
1159
  }, config),
1157
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1158
1160
  streamCollector: config?.streamCollector ?? streamCollector,
1159
1161
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1160
1162
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1242,376 +1244,101 @@ class SecurityLakeClient extends Client {
1242
1244
  }
1243
1245
  }
1244
1246
 
1245
- class CreateAwsLogSourceCommand extends Command
1246
- .classBuilder()
1247
- .ep(commonParams)
1248
- .m(function (Command, cs, config, o) {
1249
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1250
- })
1251
- .s("SecurityLake", "CreateAwsLogSource", {})
1252
- .n("SecurityLakeClient", "CreateAwsLogSourceCommand")
1253
- .sc(CreateAwsLogSource$)
1254
- .build() {
1247
+ const command = makeBuilder(commonParams, "SecurityLake", "SecurityLakeClient", getEndpointPlugin);
1248
+ const _ep0 = {};
1249
+ const _mw0 = (Command, cs, config, o) => [];
1250
+
1251
+ class CreateAwsLogSourceCommand extends command(_ep0, _mw0, "CreateAwsLogSource", CreateAwsLogSource$) {
1255
1252
  }
1256
1253
 
1257
- class CreateCustomLogSourceCommand extends Command
1258
- .classBuilder()
1259
- .ep(commonParams)
1260
- .m(function (Command, cs, config, o) {
1261
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1262
- })
1263
- .s("SecurityLake", "CreateCustomLogSource", {})
1264
- .n("SecurityLakeClient", "CreateCustomLogSourceCommand")
1265
- .sc(CreateCustomLogSource$)
1266
- .build() {
1254
+ class CreateCustomLogSourceCommand extends command(_ep0, _mw0, "CreateCustomLogSource", CreateCustomLogSource$) {
1267
1255
  }
1268
1256
 
1269
- class CreateDataLakeCommand extends Command
1270
- .classBuilder()
1271
- .ep(commonParams)
1272
- .m(function (Command, cs, config, o) {
1273
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1274
- })
1275
- .s("SecurityLake", "CreateDataLake", {})
1276
- .n("SecurityLakeClient", "CreateDataLakeCommand")
1277
- .sc(CreateDataLake$)
1278
- .build() {
1257
+ class CreateDataLakeCommand extends command(_ep0, _mw0, "CreateDataLake", CreateDataLake$) {
1279
1258
  }
1280
1259
 
1281
- class CreateDataLakeExceptionSubscriptionCommand extends Command
1282
- .classBuilder()
1283
- .ep(commonParams)
1284
- .m(function (Command, cs, config, o) {
1285
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1286
- })
1287
- .s("SecurityLake", "CreateDataLakeExceptionSubscription", {})
1288
- .n("SecurityLakeClient", "CreateDataLakeExceptionSubscriptionCommand")
1289
- .sc(CreateDataLakeExceptionSubscription$)
1290
- .build() {
1260
+ class CreateDataLakeExceptionSubscriptionCommand extends command(_ep0, _mw0, "CreateDataLakeExceptionSubscription", CreateDataLakeExceptionSubscription$) {
1291
1261
  }
1292
1262
 
1293
- class CreateDataLakeOrganizationConfigurationCommand extends Command
1294
- .classBuilder()
1295
- .ep(commonParams)
1296
- .m(function (Command, cs, config, o) {
1297
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1298
- })
1299
- .s("SecurityLake", "CreateDataLakeOrganizationConfiguration", {})
1300
- .n("SecurityLakeClient", "CreateDataLakeOrganizationConfigurationCommand")
1301
- .sc(CreateDataLakeOrganizationConfiguration$)
1302
- .build() {
1263
+ class CreateDataLakeOrganizationConfigurationCommand extends command(_ep0, _mw0, "CreateDataLakeOrganizationConfiguration", CreateDataLakeOrganizationConfiguration$) {
1303
1264
  }
1304
1265
 
1305
- class CreateSubscriberCommand extends Command
1306
- .classBuilder()
1307
- .ep(commonParams)
1308
- .m(function (Command, cs, config, o) {
1309
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1310
- })
1311
- .s("SecurityLake", "CreateSubscriber", {})
1312
- .n("SecurityLakeClient", "CreateSubscriberCommand")
1313
- .sc(CreateSubscriber$)
1314
- .build() {
1266
+ class CreateSubscriberCommand extends command(_ep0, _mw0, "CreateSubscriber", CreateSubscriber$) {
1315
1267
  }
1316
1268
 
1317
- class CreateSubscriberNotificationCommand extends Command
1318
- .classBuilder()
1319
- .ep(commonParams)
1320
- .m(function (Command, cs, config, o) {
1321
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1322
- })
1323
- .s("SecurityLake", "CreateSubscriberNotification", {})
1324
- .n("SecurityLakeClient", "CreateSubscriberNotificationCommand")
1325
- .sc(CreateSubscriberNotification$)
1326
- .build() {
1269
+ class CreateSubscriberNotificationCommand extends command(_ep0, _mw0, "CreateSubscriberNotification", CreateSubscriberNotification$) {
1327
1270
  }
1328
1271
 
1329
- class DeleteAwsLogSourceCommand extends Command
1330
- .classBuilder()
1331
- .ep(commonParams)
1332
- .m(function (Command, cs, config, o) {
1333
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1334
- })
1335
- .s("SecurityLake", "DeleteAwsLogSource", {})
1336
- .n("SecurityLakeClient", "DeleteAwsLogSourceCommand")
1337
- .sc(DeleteAwsLogSource$)
1338
- .build() {
1272
+ class DeleteAwsLogSourceCommand extends command(_ep0, _mw0, "DeleteAwsLogSource", DeleteAwsLogSource$) {
1339
1273
  }
1340
1274
 
1341
- class DeleteCustomLogSourceCommand extends Command
1342
- .classBuilder()
1343
- .ep(commonParams)
1344
- .m(function (Command, cs, config, o) {
1345
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1346
- })
1347
- .s("SecurityLake", "DeleteCustomLogSource", {})
1348
- .n("SecurityLakeClient", "DeleteCustomLogSourceCommand")
1349
- .sc(DeleteCustomLogSource$)
1350
- .build() {
1275
+ class DeleteCustomLogSourceCommand extends command(_ep0, _mw0, "DeleteCustomLogSource", DeleteCustomLogSource$) {
1351
1276
  }
1352
1277
 
1353
- class DeleteDataLakeCommand extends Command
1354
- .classBuilder()
1355
- .ep(commonParams)
1356
- .m(function (Command, cs, config, o) {
1357
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1358
- })
1359
- .s("SecurityLake", "DeleteDataLake", {})
1360
- .n("SecurityLakeClient", "DeleteDataLakeCommand")
1361
- .sc(DeleteDataLake$)
1362
- .build() {
1278
+ class DeleteDataLakeCommand extends command(_ep0, _mw0, "DeleteDataLake", DeleteDataLake$) {
1363
1279
  }
1364
1280
 
1365
- class DeleteDataLakeExceptionSubscriptionCommand extends Command
1366
- .classBuilder()
1367
- .ep(commonParams)
1368
- .m(function (Command, cs, config, o) {
1369
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1370
- })
1371
- .s("SecurityLake", "DeleteDataLakeExceptionSubscription", {})
1372
- .n("SecurityLakeClient", "DeleteDataLakeExceptionSubscriptionCommand")
1373
- .sc(DeleteDataLakeExceptionSubscription$)
1374
- .build() {
1281
+ class DeleteDataLakeExceptionSubscriptionCommand extends command(_ep0, _mw0, "DeleteDataLakeExceptionSubscription", DeleteDataLakeExceptionSubscription$) {
1375
1282
  }
1376
1283
 
1377
- class DeleteDataLakeOrganizationConfigurationCommand extends Command
1378
- .classBuilder()
1379
- .ep(commonParams)
1380
- .m(function (Command, cs, config, o) {
1381
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1382
- })
1383
- .s("SecurityLake", "DeleteDataLakeOrganizationConfiguration", {})
1384
- .n("SecurityLakeClient", "DeleteDataLakeOrganizationConfigurationCommand")
1385
- .sc(DeleteDataLakeOrganizationConfiguration$)
1386
- .build() {
1284
+ class DeleteDataLakeOrganizationConfigurationCommand extends command(_ep0, _mw0, "DeleteDataLakeOrganizationConfiguration", DeleteDataLakeOrganizationConfiguration$) {
1387
1285
  }
1388
1286
 
1389
- class DeleteSubscriberCommand extends Command
1390
- .classBuilder()
1391
- .ep(commonParams)
1392
- .m(function (Command, cs, config, o) {
1393
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1394
- })
1395
- .s("SecurityLake", "DeleteSubscriber", {})
1396
- .n("SecurityLakeClient", "DeleteSubscriberCommand")
1397
- .sc(DeleteSubscriber$)
1398
- .build() {
1287
+ class DeleteSubscriberCommand extends command(_ep0, _mw0, "DeleteSubscriber", DeleteSubscriber$) {
1399
1288
  }
1400
1289
 
1401
- class DeleteSubscriberNotificationCommand extends Command
1402
- .classBuilder()
1403
- .ep(commonParams)
1404
- .m(function (Command, cs, config, o) {
1405
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1406
- })
1407
- .s("SecurityLake", "DeleteSubscriberNotification", {})
1408
- .n("SecurityLakeClient", "DeleteSubscriberNotificationCommand")
1409
- .sc(DeleteSubscriberNotification$)
1410
- .build() {
1290
+ class DeleteSubscriberNotificationCommand extends command(_ep0, _mw0, "DeleteSubscriberNotification", DeleteSubscriberNotification$) {
1411
1291
  }
1412
1292
 
1413
- class DeregisterDataLakeDelegatedAdministratorCommand extends Command
1414
- .classBuilder()
1415
- .ep(commonParams)
1416
- .m(function (Command, cs, config, o) {
1417
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1418
- })
1419
- .s("SecurityLake", "DeregisterDataLakeDelegatedAdministrator", {})
1420
- .n("SecurityLakeClient", "DeregisterDataLakeDelegatedAdministratorCommand")
1421
- .sc(DeregisterDataLakeDelegatedAdministrator$)
1422
- .build() {
1293
+ class DeregisterDataLakeDelegatedAdministratorCommand extends command(_ep0, _mw0, "DeregisterDataLakeDelegatedAdministrator", DeregisterDataLakeDelegatedAdministrator$) {
1423
1294
  }
1424
1295
 
1425
- class GetDataLakeExceptionSubscriptionCommand extends Command
1426
- .classBuilder()
1427
- .ep(commonParams)
1428
- .m(function (Command, cs, config, o) {
1429
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1430
- })
1431
- .s("SecurityLake", "GetDataLakeExceptionSubscription", {})
1432
- .n("SecurityLakeClient", "GetDataLakeExceptionSubscriptionCommand")
1433
- .sc(GetDataLakeExceptionSubscription$)
1434
- .build() {
1296
+ class GetDataLakeExceptionSubscriptionCommand extends command(_ep0, _mw0, "GetDataLakeExceptionSubscription", GetDataLakeExceptionSubscription$) {
1435
1297
  }
1436
1298
 
1437
- class GetDataLakeOrganizationConfigurationCommand extends Command
1438
- .classBuilder()
1439
- .ep(commonParams)
1440
- .m(function (Command, cs, config, o) {
1441
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1442
- })
1443
- .s("SecurityLake", "GetDataLakeOrganizationConfiguration", {})
1444
- .n("SecurityLakeClient", "GetDataLakeOrganizationConfigurationCommand")
1445
- .sc(GetDataLakeOrganizationConfiguration$)
1446
- .build() {
1299
+ class GetDataLakeOrganizationConfigurationCommand extends command(_ep0, _mw0, "GetDataLakeOrganizationConfiguration", GetDataLakeOrganizationConfiguration$) {
1447
1300
  }
1448
1301
 
1449
- class GetDataLakeSourcesCommand extends Command
1450
- .classBuilder()
1451
- .ep(commonParams)
1452
- .m(function (Command, cs, config, o) {
1453
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1454
- })
1455
- .s("SecurityLake", "GetDataLakeSources", {})
1456
- .n("SecurityLakeClient", "GetDataLakeSourcesCommand")
1457
- .sc(GetDataLakeSources$)
1458
- .build() {
1302
+ class GetDataLakeSourcesCommand extends command(_ep0, _mw0, "GetDataLakeSources", GetDataLakeSources$) {
1459
1303
  }
1460
1304
 
1461
- class GetSubscriberCommand extends Command
1462
- .classBuilder()
1463
- .ep(commonParams)
1464
- .m(function (Command, cs, config, o) {
1465
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1466
- })
1467
- .s("SecurityLake", "GetSubscriber", {})
1468
- .n("SecurityLakeClient", "GetSubscriberCommand")
1469
- .sc(GetSubscriber$)
1470
- .build() {
1305
+ class GetSubscriberCommand extends command(_ep0, _mw0, "GetSubscriber", GetSubscriber$) {
1471
1306
  }
1472
1307
 
1473
- class ListDataLakeExceptionsCommand extends Command
1474
- .classBuilder()
1475
- .ep(commonParams)
1476
- .m(function (Command, cs, config, o) {
1477
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1478
- })
1479
- .s("SecurityLake", "ListDataLakeExceptions", {})
1480
- .n("SecurityLakeClient", "ListDataLakeExceptionsCommand")
1481
- .sc(ListDataLakeExceptions$)
1482
- .build() {
1308
+ class ListDataLakeExceptionsCommand extends command(_ep0, _mw0, "ListDataLakeExceptions", ListDataLakeExceptions$) {
1483
1309
  }
1484
1310
 
1485
- class ListDataLakesCommand extends Command
1486
- .classBuilder()
1487
- .ep(commonParams)
1488
- .m(function (Command, cs, config, o) {
1489
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1490
- })
1491
- .s("SecurityLake", "ListDataLakes", {})
1492
- .n("SecurityLakeClient", "ListDataLakesCommand")
1493
- .sc(ListDataLakes$)
1494
- .build() {
1311
+ class ListDataLakesCommand extends command(_ep0, _mw0, "ListDataLakes", ListDataLakes$) {
1495
1312
  }
1496
1313
 
1497
- class ListLogSourcesCommand extends Command
1498
- .classBuilder()
1499
- .ep(commonParams)
1500
- .m(function (Command, cs, config, o) {
1501
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1502
- })
1503
- .s("SecurityLake", "ListLogSources", {})
1504
- .n("SecurityLakeClient", "ListLogSourcesCommand")
1505
- .sc(ListLogSources$)
1506
- .build() {
1314
+ class ListLogSourcesCommand extends command(_ep0, _mw0, "ListLogSources", ListLogSources$) {
1507
1315
  }
1508
1316
 
1509
- class ListSubscribersCommand extends Command
1510
- .classBuilder()
1511
- .ep(commonParams)
1512
- .m(function (Command, cs, config, o) {
1513
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1514
- })
1515
- .s("SecurityLake", "ListSubscribers", {})
1516
- .n("SecurityLakeClient", "ListSubscribersCommand")
1517
- .sc(ListSubscribers$)
1518
- .build() {
1317
+ class ListSubscribersCommand extends command(_ep0, _mw0, "ListSubscribers", ListSubscribers$) {
1519
1318
  }
1520
1319
 
1521
- class ListTagsForResourceCommand extends Command
1522
- .classBuilder()
1523
- .ep(commonParams)
1524
- .m(function (Command, cs, config, o) {
1525
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1526
- })
1527
- .s("SecurityLake", "ListTagsForResource", {})
1528
- .n("SecurityLakeClient", "ListTagsForResourceCommand")
1529
- .sc(ListTagsForResource$)
1530
- .build() {
1320
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1531
1321
  }
1532
1322
 
1533
- class RegisterDataLakeDelegatedAdministratorCommand extends Command
1534
- .classBuilder()
1535
- .ep(commonParams)
1536
- .m(function (Command, cs, config, o) {
1537
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1538
- })
1539
- .s("SecurityLake", "RegisterDataLakeDelegatedAdministrator", {})
1540
- .n("SecurityLakeClient", "RegisterDataLakeDelegatedAdministratorCommand")
1541
- .sc(RegisterDataLakeDelegatedAdministrator$)
1542
- .build() {
1323
+ class RegisterDataLakeDelegatedAdministratorCommand extends command(_ep0, _mw0, "RegisterDataLakeDelegatedAdministrator", RegisterDataLakeDelegatedAdministrator$) {
1543
1324
  }
1544
1325
 
1545
- class TagResourceCommand extends Command
1546
- .classBuilder()
1547
- .ep(commonParams)
1548
- .m(function (Command, cs, config, o) {
1549
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1550
- })
1551
- .s("SecurityLake", "TagResource", {})
1552
- .n("SecurityLakeClient", "TagResourceCommand")
1553
- .sc(TagResource$)
1554
- .build() {
1326
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1555
1327
  }
1556
1328
 
1557
- class UntagResourceCommand extends Command
1558
- .classBuilder()
1559
- .ep(commonParams)
1560
- .m(function (Command, cs, config, o) {
1561
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1562
- })
1563
- .s("SecurityLake", "UntagResource", {})
1564
- .n("SecurityLakeClient", "UntagResourceCommand")
1565
- .sc(UntagResource$)
1566
- .build() {
1329
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1567
1330
  }
1568
1331
 
1569
- class UpdateDataLakeCommand extends Command
1570
- .classBuilder()
1571
- .ep(commonParams)
1572
- .m(function (Command, cs, config, o) {
1573
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1574
- })
1575
- .s("SecurityLake", "UpdateDataLake", {})
1576
- .n("SecurityLakeClient", "UpdateDataLakeCommand")
1577
- .sc(UpdateDataLake$)
1578
- .build() {
1332
+ class UpdateDataLakeCommand extends command(_ep0, _mw0, "UpdateDataLake", UpdateDataLake$) {
1579
1333
  }
1580
1334
 
1581
- class UpdateDataLakeExceptionSubscriptionCommand extends Command
1582
- .classBuilder()
1583
- .ep(commonParams)
1584
- .m(function (Command, cs, config, o) {
1585
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1586
- })
1587
- .s("SecurityLake", "UpdateDataLakeExceptionSubscription", {})
1588
- .n("SecurityLakeClient", "UpdateDataLakeExceptionSubscriptionCommand")
1589
- .sc(UpdateDataLakeExceptionSubscription$)
1590
- .build() {
1335
+ class UpdateDataLakeExceptionSubscriptionCommand extends command(_ep0, _mw0, "UpdateDataLakeExceptionSubscription", UpdateDataLakeExceptionSubscription$) {
1591
1336
  }
1592
1337
 
1593
- class UpdateSubscriberCommand extends Command
1594
- .classBuilder()
1595
- .ep(commonParams)
1596
- .m(function (Command, cs, config, o) {
1597
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1598
- })
1599
- .s("SecurityLake", "UpdateSubscriber", {})
1600
- .n("SecurityLakeClient", "UpdateSubscriberCommand")
1601
- .sc(UpdateSubscriber$)
1602
- .build() {
1338
+ class UpdateSubscriberCommand extends command(_ep0, _mw0, "UpdateSubscriber", UpdateSubscriber$) {
1603
1339
  }
1604
1340
 
1605
- class UpdateSubscriberNotificationCommand extends Command
1606
- .classBuilder()
1607
- .ep(commonParams)
1608
- .m(function (Command, cs, config, o) {
1609
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1610
- })
1611
- .s("SecurityLake", "UpdateSubscriberNotification", {})
1612
- .n("SecurityLakeClient", "UpdateSubscriberNotificationCommand")
1613
- .sc(UpdateSubscriberNotification$)
1614
- .build() {
1341
+ class UpdateSubscriberNotificationCommand extends command(_ep0, _mw0, "UpdateSubscriberNotification", UpdateSubscriberNotification$) {
1615
1342
  }
1616
1343
 
1617
1344
  const paginateGetDataLakeSources = createPaginator(SecurityLakeClient, GetDataLakeSourcesCommand, "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, "SecurityLake", "SecurityLakeClient", 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 { CreateAwsLogSource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateAwsLogSourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "CreateAwsLogSource", {})
13
- .n("SecurityLakeClient", "CreateAwsLogSourceCommand")
14
- .sc(CreateAwsLogSource$)
15
- .build() {
3
+ export class CreateAwsLogSourceCommand extends command(_ep0, _mw0, "CreateAwsLogSource", CreateAwsLogSource$) {
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 { CreateCustomLogSource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateCustomLogSourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "CreateCustomLogSource", {})
13
- .n("SecurityLakeClient", "CreateCustomLogSourceCommand")
14
- .sc(CreateCustomLogSource$)
15
- .build() {
3
+ export class CreateCustomLogSourceCommand extends command(_ep0, _mw0, "CreateCustomLogSource", CreateCustomLogSource$) {
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 { CreateDataLake$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateDataLakeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "CreateDataLake", {})
13
- .n("SecurityLakeClient", "CreateDataLakeCommand")
14
- .sc(CreateDataLake$)
15
- .build() {
3
+ export class CreateDataLakeCommand extends command(_ep0, _mw0, "CreateDataLake", CreateDataLake$) {
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 { CreateDataLakeExceptionSubscription$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateDataLakeExceptionSubscriptionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "CreateDataLakeExceptionSubscription", {})
13
- .n("SecurityLakeClient", "CreateDataLakeExceptionSubscriptionCommand")
14
- .sc(CreateDataLakeExceptionSubscription$)
15
- .build() {
3
+ export class CreateDataLakeExceptionSubscriptionCommand extends command(_ep0, _mw0, "CreateDataLakeExceptionSubscription", CreateDataLakeExceptionSubscription$) {
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 { CreateDataLakeOrganizationConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateDataLakeOrganizationConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "CreateDataLakeOrganizationConfiguration", {})
13
- .n("SecurityLakeClient", "CreateDataLakeOrganizationConfigurationCommand")
14
- .sc(CreateDataLakeOrganizationConfiguration$)
15
- .build() {
3
+ export class CreateDataLakeOrganizationConfigurationCommand extends command(_ep0, _mw0, "CreateDataLakeOrganizationConfiguration", CreateDataLakeOrganizationConfiguration$) {
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 { CreateSubscriber$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateSubscriberCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "CreateSubscriber", {})
13
- .n("SecurityLakeClient", "CreateSubscriberCommand")
14
- .sc(CreateSubscriber$)
15
- .build() {
3
+ export class CreateSubscriberCommand extends command(_ep0, _mw0, "CreateSubscriber", CreateSubscriber$) {
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 { CreateSubscriberNotification$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateSubscriberNotificationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "CreateSubscriberNotification", {})
13
- .n("SecurityLakeClient", "CreateSubscriberNotificationCommand")
14
- .sc(CreateSubscriberNotification$)
15
- .build() {
3
+ export class CreateSubscriberNotificationCommand extends command(_ep0, _mw0, "CreateSubscriberNotification", CreateSubscriberNotification$) {
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 { DeleteAwsLogSource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteAwsLogSourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "DeleteAwsLogSource", {})
13
- .n("SecurityLakeClient", "DeleteAwsLogSourceCommand")
14
- .sc(DeleteAwsLogSource$)
15
- .build() {
3
+ export class DeleteAwsLogSourceCommand extends command(_ep0, _mw0, "DeleteAwsLogSource", DeleteAwsLogSource$) {
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 { DeleteCustomLogSource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteCustomLogSourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "DeleteCustomLogSource", {})
13
- .n("SecurityLakeClient", "DeleteCustomLogSourceCommand")
14
- .sc(DeleteCustomLogSource$)
15
- .build() {
3
+ export class DeleteCustomLogSourceCommand extends command(_ep0, _mw0, "DeleteCustomLogSource", DeleteCustomLogSource$) {
16
4
  }