@aws-sdk/client-detective 3.1077.0 → 3.1079.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 (95) hide show
  1. package/dist-cjs/index.js +37 -293
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AcceptInvitationCommand.js +2 -14
  4. package/dist-es/commands/BatchGetGraphMemberDatasourcesCommand.js +2 -14
  5. package/dist-es/commands/BatchGetMembershipDatasourcesCommand.js +2 -14
  6. package/dist-es/commands/CreateGraphCommand.js +2 -14
  7. package/dist-es/commands/CreateMembersCommand.js +2 -14
  8. package/dist-es/commands/DeleteGraphCommand.js +2 -14
  9. package/dist-es/commands/DeleteMembersCommand.js +2 -14
  10. package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +2 -14
  11. package/dist-es/commands/DisableOrganizationAdminAccountCommand.js +2 -14
  12. package/dist-es/commands/DisassociateMembershipCommand.js +2 -14
  13. package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +2 -14
  14. package/dist-es/commands/GetInvestigationCommand.js +2 -14
  15. package/dist-es/commands/GetMembersCommand.js +2 -14
  16. package/dist-es/commands/ListDatasourcePackagesCommand.js +2 -14
  17. package/dist-es/commands/ListGraphsCommand.js +2 -14
  18. package/dist-es/commands/ListIndicatorsCommand.js +2 -14
  19. package/dist-es/commands/ListInvestigationsCommand.js +2 -14
  20. package/dist-es/commands/ListInvitationsCommand.js +2 -14
  21. package/dist-es/commands/ListMembersCommand.js +2 -14
  22. package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +2 -14
  23. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  24. package/dist-es/commands/RejectInvitationCommand.js +2 -14
  25. package/dist-es/commands/StartInvestigationCommand.js +2 -14
  26. package/dist-es/commands/StartMonitoringMemberCommand.js +2 -14
  27. package/dist-es/commands/TagResourceCommand.js +2 -14
  28. package/dist-es/commands/UntagResourceCommand.js +2 -14
  29. package/dist-es/commands/UpdateDatasourcePackagesCommand.js +2 -14
  30. package/dist-es/commands/UpdateInvestigationStateCommand.js +2 -14
  31. package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +2 -14
  32. package/dist-es/index.js +1 -0
  33. package/dist-types/commandBuilder.d.ts +18 -0
  34. package/dist-types/commands/AcceptInvitationCommand.d.ts +3 -8
  35. package/dist-types/commands/BatchGetGraphMemberDatasourcesCommand.d.ts +3 -8
  36. package/dist-types/commands/BatchGetMembershipDatasourcesCommand.d.ts +3 -8
  37. package/dist-types/commands/CreateGraphCommand.d.ts +3 -8
  38. package/dist-types/commands/CreateMembersCommand.d.ts +3 -8
  39. package/dist-types/commands/DeleteGraphCommand.d.ts +3 -8
  40. package/dist-types/commands/DeleteMembersCommand.d.ts +3 -8
  41. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +3 -8
  42. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +3 -8
  43. package/dist-types/commands/DisassociateMembershipCommand.d.ts +3 -8
  44. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +3 -8
  45. package/dist-types/commands/GetInvestigationCommand.d.ts +3 -8
  46. package/dist-types/commands/GetMembersCommand.d.ts +3 -8
  47. package/dist-types/commands/ListDatasourcePackagesCommand.d.ts +3 -8
  48. package/dist-types/commands/ListGraphsCommand.d.ts +3 -8
  49. package/dist-types/commands/ListIndicatorsCommand.d.ts +3 -8
  50. package/dist-types/commands/ListInvestigationsCommand.d.ts +3 -8
  51. package/dist-types/commands/ListInvitationsCommand.d.ts +3 -8
  52. package/dist-types/commands/ListMembersCommand.d.ts +3 -8
  53. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +3 -8
  54. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  55. package/dist-types/commands/RejectInvitationCommand.d.ts +3 -8
  56. package/dist-types/commands/StartInvestigationCommand.d.ts +3 -8
  57. package/dist-types/commands/StartMonitoringMemberCommand.d.ts +3 -8
  58. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  59. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  60. package/dist-types/commands/UpdateDatasourcePackagesCommand.d.ts +3 -8
  61. package/dist-types/commands/UpdateInvestigationStateCommand.d.ts +3 -8
  62. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +3 -8
  63. package/dist-types/index.d.ts +1 -0
  64. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  65. package/dist-types/ts3.4/commands/AcceptInvitationCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/BatchGetGraphMemberDatasourcesCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/BatchGetMembershipDatasourcesCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/CreateGraphCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/CreateMembersCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/DeleteGraphCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/DeleteMembersCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/DescribeOrganizationConfigurationCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/DisableOrganizationAdminAccountCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/DisassociateMembershipCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/EnableOrganizationAdminAccountCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/GetInvestigationCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/ListDatasourcePackagesCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/ListGraphsCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/ListIndicatorsCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/ListInvestigationsCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/RejectInvitationCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/StartInvestigationCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/StartMonitoringMemberCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/UpdateDatasourcePackagesCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/UpdateInvestigationStateCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/index.d.ts +1 -0
  95. 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");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1155,352 +1156,95 @@ class DetectiveClient extends Client {
1155
1156
  }
1156
1157
  }
1157
1158
 
1158
- class AcceptInvitationCommand extends Command
1159
- .classBuilder()
1160
- .ep(commonParams)
1161
- .m(function (Command, cs, config, o) {
1162
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1163
- })
1164
- .s("AmazonDetective", "AcceptInvitation", {})
1165
- .n("DetectiveClient", "AcceptInvitationCommand")
1166
- .sc(AcceptInvitation$)
1167
- .build() {
1159
+ const command = makeBuilder(commonParams, "AmazonDetective", "DetectiveClient", getEndpointPlugin);
1160
+ const _ep0 = {};
1161
+ const _mw0 = (Command, cs, config, o) => [];
1162
+
1163
+ class AcceptInvitationCommand extends command(_ep0, _mw0, "AcceptInvitation", AcceptInvitation$) {
1168
1164
  }
1169
1165
 
1170
- class BatchGetGraphMemberDatasourcesCommand extends Command
1171
- .classBuilder()
1172
- .ep(commonParams)
1173
- .m(function (Command, cs, config, o) {
1174
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1175
- })
1176
- .s("AmazonDetective", "BatchGetGraphMemberDatasources", {})
1177
- .n("DetectiveClient", "BatchGetGraphMemberDatasourcesCommand")
1178
- .sc(BatchGetGraphMemberDatasources$)
1179
- .build() {
1166
+ class BatchGetGraphMemberDatasourcesCommand extends command(_ep0, _mw0, "BatchGetGraphMemberDatasources", BatchGetGraphMemberDatasources$) {
1180
1167
  }
1181
1168
 
1182
- class BatchGetMembershipDatasourcesCommand extends Command
1183
- .classBuilder()
1184
- .ep(commonParams)
1185
- .m(function (Command, cs, config, o) {
1186
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1187
- })
1188
- .s("AmazonDetective", "BatchGetMembershipDatasources", {})
1189
- .n("DetectiveClient", "BatchGetMembershipDatasourcesCommand")
1190
- .sc(BatchGetMembershipDatasources$)
1191
- .build() {
1169
+ class BatchGetMembershipDatasourcesCommand extends command(_ep0, _mw0, "BatchGetMembershipDatasources", BatchGetMembershipDatasources$) {
1192
1170
  }
1193
1171
 
1194
- class CreateGraphCommand extends Command
1195
- .classBuilder()
1196
- .ep(commonParams)
1197
- .m(function (Command, cs, config, o) {
1198
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1199
- })
1200
- .s("AmazonDetective", "CreateGraph", {})
1201
- .n("DetectiveClient", "CreateGraphCommand")
1202
- .sc(CreateGraph$)
1203
- .build() {
1172
+ class CreateGraphCommand extends command(_ep0, _mw0, "CreateGraph", CreateGraph$) {
1204
1173
  }
1205
1174
 
1206
- class CreateMembersCommand extends Command
1207
- .classBuilder()
1208
- .ep(commonParams)
1209
- .m(function (Command, cs, config, o) {
1210
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1211
- })
1212
- .s("AmazonDetective", "CreateMembers", {})
1213
- .n("DetectiveClient", "CreateMembersCommand")
1214
- .sc(CreateMembers$)
1215
- .build() {
1175
+ class CreateMembersCommand extends command(_ep0, _mw0, "CreateMembers", CreateMembers$) {
1216
1176
  }
1217
1177
 
1218
- class DeleteGraphCommand extends Command
1219
- .classBuilder()
1220
- .ep(commonParams)
1221
- .m(function (Command, cs, config, o) {
1222
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1223
- })
1224
- .s("AmazonDetective", "DeleteGraph", {})
1225
- .n("DetectiveClient", "DeleteGraphCommand")
1226
- .sc(DeleteGraph$)
1227
- .build() {
1178
+ class DeleteGraphCommand extends command(_ep0, _mw0, "DeleteGraph", DeleteGraph$) {
1228
1179
  }
1229
1180
 
1230
- class DeleteMembersCommand extends Command
1231
- .classBuilder()
1232
- .ep(commonParams)
1233
- .m(function (Command, cs, config, o) {
1234
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1235
- })
1236
- .s("AmazonDetective", "DeleteMembers", {})
1237
- .n("DetectiveClient", "DeleteMembersCommand")
1238
- .sc(DeleteMembers$)
1239
- .build() {
1181
+ class DeleteMembersCommand extends command(_ep0, _mw0, "DeleteMembers", DeleteMembers$) {
1240
1182
  }
1241
1183
 
1242
- class DescribeOrganizationConfigurationCommand extends Command
1243
- .classBuilder()
1244
- .ep(commonParams)
1245
- .m(function (Command, cs, config, o) {
1246
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1247
- })
1248
- .s("AmazonDetective", "DescribeOrganizationConfiguration", {})
1249
- .n("DetectiveClient", "DescribeOrganizationConfigurationCommand")
1250
- .sc(DescribeOrganizationConfiguration$)
1251
- .build() {
1184
+ class DescribeOrganizationConfigurationCommand extends command(_ep0, _mw0, "DescribeOrganizationConfiguration", DescribeOrganizationConfiguration$) {
1252
1185
  }
1253
1186
 
1254
- class DisableOrganizationAdminAccountCommand extends Command
1255
- .classBuilder()
1256
- .ep(commonParams)
1257
- .m(function (Command, cs, config, o) {
1258
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1259
- })
1260
- .s("AmazonDetective", "DisableOrganizationAdminAccount", {})
1261
- .n("DetectiveClient", "DisableOrganizationAdminAccountCommand")
1262
- .sc(DisableOrganizationAdminAccount$)
1263
- .build() {
1187
+ class DisableOrganizationAdminAccountCommand extends command(_ep0, _mw0, "DisableOrganizationAdminAccount", DisableOrganizationAdminAccount$) {
1264
1188
  }
1265
1189
 
1266
- class DisassociateMembershipCommand extends Command
1267
- .classBuilder()
1268
- .ep(commonParams)
1269
- .m(function (Command, cs, config, o) {
1270
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1271
- })
1272
- .s("AmazonDetective", "DisassociateMembership", {})
1273
- .n("DetectiveClient", "DisassociateMembershipCommand")
1274
- .sc(DisassociateMembership$)
1275
- .build() {
1190
+ class DisassociateMembershipCommand extends command(_ep0, _mw0, "DisassociateMembership", DisassociateMembership$) {
1276
1191
  }
1277
1192
 
1278
- class EnableOrganizationAdminAccountCommand extends Command
1279
- .classBuilder()
1280
- .ep(commonParams)
1281
- .m(function (Command, cs, config, o) {
1282
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1283
- })
1284
- .s("AmazonDetective", "EnableOrganizationAdminAccount", {})
1285
- .n("DetectiveClient", "EnableOrganizationAdminAccountCommand")
1286
- .sc(EnableOrganizationAdminAccount$)
1287
- .build() {
1193
+ class EnableOrganizationAdminAccountCommand extends command(_ep0, _mw0, "EnableOrganizationAdminAccount", EnableOrganizationAdminAccount$) {
1288
1194
  }
1289
1195
 
1290
- class GetInvestigationCommand extends Command
1291
- .classBuilder()
1292
- .ep(commonParams)
1293
- .m(function (Command, cs, config, o) {
1294
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1295
- })
1296
- .s("AmazonDetective", "GetInvestigation", {})
1297
- .n("DetectiveClient", "GetInvestigationCommand")
1298
- .sc(GetInvestigation$)
1299
- .build() {
1196
+ class GetInvestigationCommand extends command(_ep0, _mw0, "GetInvestigation", GetInvestigation$) {
1300
1197
  }
1301
1198
 
1302
- class GetMembersCommand extends Command
1303
- .classBuilder()
1304
- .ep(commonParams)
1305
- .m(function (Command, cs, config, o) {
1306
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1307
- })
1308
- .s("AmazonDetective", "GetMembers", {})
1309
- .n("DetectiveClient", "GetMembersCommand")
1310
- .sc(GetMembers$)
1311
- .build() {
1199
+ class GetMembersCommand extends command(_ep0, _mw0, "GetMembers", GetMembers$) {
1312
1200
  }
1313
1201
 
1314
- class ListDatasourcePackagesCommand extends Command
1315
- .classBuilder()
1316
- .ep(commonParams)
1317
- .m(function (Command, cs, config, o) {
1318
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1319
- })
1320
- .s("AmazonDetective", "ListDatasourcePackages", {})
1321
- .n("DetectiveClient", "ListDatasourcePackagesCommand")
1322
- .sc(ListDatasourcePackages$)
1323
- .build() {
1202
+ class ListDatasourcePackagesCommand extends command(_ep0, _mw0, "ListDatasourcePackages", ListDatasourcePackages$) {
1324
1203
  }
1325
1204
 
1326
- class ListGraphsCommand extends Command
1327
- .classBuilder()
1328
- .ep(commonParams)
1329
- .m(function (Command, cs, config, o) {
1330
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1331
- })
1332
- .s("AmazonDetective", "ListGraphs", {})
1333
- .n("DetectiveClient", "ListGraphsCommand")
1334
- .sc(ListGraphs$)
1335
- .build() {
1205
+ class ListGraphsCommand extends command(_ep0, _mw0, "ListGraphs", ListGraphs$) {
1336
1206
  }
1337
1207
 
1338
- class ListIndicatorsCommand extends Command
1339
- .classBuilder()
1340
- .ep(commonParams)
1341
- .m(function (Command, cs, config, o) {
1342
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1343
- })
1344
- .s("AmazonDetective", "ListIndicators", {})
1345
- .n("DetectiveClient", "ListIndicatorsCommand")
1346
- .sc(ListIndicators$)
1347
- .build() {
1208
+ class ListIndicatorsCommand extends command(_ep0, _mw0, "ListIndicators", ListIndicators$) {
1348
1209
  }
1349
1210
 
1350
- class ListInvestigationsCommand extends Command
1351
- .classBuilder()
1352
- .ep(commonParams)
1353
- .m(function (Command, cs, config, o) {
1354
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1355
- })
1356
- .s("AmazonDetective", "ListInvestigations", {})
1357
- .n("DetectiveClient", "ListInvestigationsCommand")
1358
- .sc(ListInvestigations$)
1359
- .build() {
1211
+ class ListInvestigationsCommand extends command(_ep0, _mw0, "ListInvestigations", ListInvestigations$) {
1360
1212
  }
1361
1213
 
1362
- class ListInvitationsCommand extends Command
1363
- .classBuilder()
1364
- .ep(commonParams)
1365
- .m(function (Command, cs, config, o) {
1366
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1367
- })
1368
- .s("AmazonDetective", "ListInvitations", {})
1369
- .n("DetectiveClient", "ListInvitationsCommand")
1370
- .sc(ListInvitations$)
1371
- .build() {
1214
+ class ListInvitationsCommand extends command(_ep0, _mw0, "ListInvitations", ListInvitations$) {
1372
1215
  }
1373
1216
 
1374
- class ListMembersCommand extends Command
1375
- .classBuilder()
1376
- .ep(commonParams)
1377
- .m(function (Command, cs, config, o) {
1378
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1379
- })
1380
- .s("AmazonDetective", "ListMembers", {})
1381
- .n("DetectiveClient", "ListMembersCommand")
1382
- .sc(ListMembers$)
1383
- .build() {
1217
+ class ListMembersCommand extends command(_ep0, _mw0, "ListMembers", ListMembers$) {
1384
1218
  }
1385
1219
 
1386
- class ListOrganizationAdminAccountsCommand extends Command
1387
- .classBuilder()
1388
- .ep(commonParams)
1389
- .m(function (Command, cs, config, o) {
1390
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1391
- })
1392
- .s("AmazonDetective", "ListOrganizationAdminAccounts", {})
1393
- .n("DetectiveClient", "ListOrganizationAdminAccountsCommand")
1394
- .sc(ListOrganizationAdminAccounts$)
1395
- .build() {
1220
+ class ListOrganizationAdminAccountsCommand extends command(_ep0, _mw0, "ListOrganizationAdminAccounts", ListOrganizationAdminAccounts$) {
1396
1221
  }
1397
1222
 
1398
- class ListTagsForResourceCommand extends Command
1399
- .classBuilder()
1400
- .ep(commonParams)
1401
- .m(function (Command, cs, config, o) {
1402
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1403
- })
1404
- .s("AmazonDetective", "ListTagsForResource", {})
1405
- .n("DetectiveClient", "ListTagsForResourceCommand")
1406
- .sc(ListTagsForResource$)
1407
- .build() {
1223
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1408
1224
  }
1409
1225
 
1410
- class RejectInvitationCommand extends Command
1411
- .classBuilder()
1412
- .ep(commonParams)
1413
- .m(function (Command, cs, config, o) {
1414
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1415
- })
1416
- .s("AmazonDetective", "RejectInvitation", {})
1417
- .n("DetectiveClient", "RejectInvitationCommand")
1418
- .sc(RejectInvitation$)
1419
- .build() {
1226
+ class RejectInvitationCommand extends command(_ep0, _mw0, "RejectInvitation", RejectInvitation$) {
1420
1227
  }
1421
1228
 
1422
- class StartInvestigationCommand extends Command
1423
- .classBuilder()
1424
- .ep(commonParams)
1425
- .m(function (Command, cs, config, o) {
1426
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1427
- })
1428
- .s("AmazonDetective", "StartInvestigation", {})
1429
- .n("DetectiveClient", "StartInvestigationCommand")
1430
- .sc(StartInvestigation$)
1431
- .build() {
1229
+ class StartInvestigationCommand extends command(_ep0, _mw0, "StartInvestigation", StartInvestigation$) {
1432
1230
  }
1433
1231
 
1434
- class StartMonitoringMemberCommand extends Command
1435
- .classBuilder()
1436
- .ep(commonParams)
1437
- .m(function (Command, cs, config, o) {
1438
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1439
- })
1440
- .s("AmazonDetective", "StartMonitoringMember", {})
1441
- .n("DetectiveClient", "StartMonitoringMemberCommand")
1442
- .sc(StartMonitoringMember$)
1443
- .build() {
1232
+ class StartMonitoringMemberCommand extends command(_ep0, _mw0, "StartMonitoringMember", StartMonitoringMember$) {
1444
1233
  }
1445
1234
 
1446
- class TagResourceCommand extends Command
1447
- .classBuilder()
1448
- .ep(commonParams)
1449
- .m(function (Command, cs, config, o) {
1450
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1451
- })
1452
- .s("AmazonDetective", "TagResource", {})
1453
- .n("DetectiveClient", "TagResourceCommand")
1454
- .sc(TagResource$)
1455
- .build() {
1235
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1456
1236
  }
1457
1237
 
1458
- class UntagResourceCommand extends Command
1459
- .classBuilder()
1460
- .ep(commonParams)
1461
- .m(function (Command, cs, config, o) {
1462
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1463
- })
1464
- .s("AmazonDetective", "UntagResource", {})
1465
- .n("DetectiveClient", "UntagResourceCommand")
1466
- .sc(UntagResource$)
1467
- .build() {
1238
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1468
1239
  }
1469
1240
 
1470
- class UpdateDatasourcePackagesCommand extends Command
1471
- .classBuilder()
1472
- .ep(commonParams)
1473
- .m(function (Command, cs, config, o) {
1474
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1475
- })
1476
- .s("AmazonDetective", "UpdateDatasourcePackages", {})
1477
- .n("DetectiveClient", "UpdateDatasourcePackagesCommand")
1478
- .sc(UpdateDatasourcePackages$)
1479
- .build() {
1241
+ class UpdateDatasourcePackagesCommand extends command(_ep0, _mw0, "UpdateDatasourcePackages", UpdateDatasourcePackages$) {
1480
1242
  }
1481
1243
 
1482
- class UpdateInvestigationStateCommand extends Command
1483
- .classBuilder()
1484
- .ep(commonParams)
1485
- .m(function (Command, cs, config, o) {
1486
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1487
- })
1488
- .s("AmazonDetective", "UpdateInvestigationState", {})
1489
- .n("DetectiveClient", "UpdateInvestigationStateCommand")
1490
- .sc(UpdateInvestigationState$)
1491
- .build() {
1244
+ class UpdateInvestigationStateCommand extends command(_ep0, _mw0, "UpdateInvestigationState", UpdateInvestigationState$) {
1492
1245
  }
1493
1246
 
1494
- class UpdateOrganizationConfigurationCommand extends Command
1495
- .classBuilder()
1496
- .ep(commonParams)
1497
- .m(function (Command, cs, config, o) {
1498
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1499
- })
1500
- .s("AmazonDetective", "UpdateOrganizationConfiguration", {})
1501
- .n("DetectiveClient", "UpdateOrganizationConfigurationCommand")
1502
- .sc(UpdateOrganizationConfiguration$)
1503
- .build() {
1247
+ class UpdateOrganizationConfigurationCommand extends command(_ep0, _mw0, "UpdateOrganizationConfiguration", UpdateOrganizationConfiguration$) {
1504
1248
  }
1505
1249
 
1506
1250
  const paginateListDatasourcePackages = createPaginator(DetectiveClient, ListDatasourcePackagesCommand, "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, "AmazonDetective", "DetectiveClient", 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 { AcceptInvitation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AcceptInvitationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonDetective", "AcceptInvitation", {})
13
- .n("DetectiveClient", "AcceptInvitationCommand")
14
- .sc(AcceptInvitation$)
15
- .build() {
3
+ export class AcceptInvitationCommand extends command(_ep0, _mw0, "AcceptInvitation", AcceptInvitation$) {
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 { BatchGetGraphMemberDatasources$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchGetGraphMemberDatasourcesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonDetective", "BatchGetGraphMemberDatasources", {})
13
- .n("DetectiveClient", "BatchGetGraphMemberDatasourcesCommand")
14
- .sc(BatchGetGraphMemberDatasources$)
15
- .build() {
3
+ export class BatchGetGraphMemberDatasourcesCommand extends command(_ep0, _mw0, "BatchGetGraphMemberDatasources", BatchGetGraphMemberDatasources$) {
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 { BatchGetMembershipDatasources$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchGetMembershipDatasourcesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonDetective", "BatchGetMembershipDatasources", {})
13
- .n("DetectiveClient", "BatchGetMembershipDatasourcesCommand")
14
- .sc(BatchGetMembershipDatasources$)
15
- .build() {
3
+ export class BatchGetMembershipDatasourcesCommand extends command(_ep0, _mw0, "BatchGetMembershipDatasources", BatchGetMembershipDatasources$) {
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 { CreateGraph$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateGraphCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonDetective", "CreateGraph", {})
13
- .n("DetectiveClient", "CreateGraphCommand")
14
- .sc(CreateGraph$)
15
- .build() {
3
+ export class CreateGraphCommand extends command(_ep0, _mw0, "CreateGraph", CreateGraph$) {
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 { CreateMembers$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateMembersCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonDetective", "CreateMembers", {})
13
- .n("DetectiveClient", "CreateMembersCommand")
14
- .sc(CreateMembers$)
15
- .build() {
3
+ export class CreateMembersCommand extends command(_ep0, _mw0, "CreateMembers", CreateMembers$) {
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 { DeleteGraph$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteGraphCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonDetective", "DeleteGraph", {})
13
- .n("DetectiveClient", "DeleteGraphCommand")
14
- .sc(DeleteGraph$)
15
- .build() {
3
+ export class DeleteGraphCommand extends command(_ep0, _mw0, "DeleteGraph", DeleteGraph$) {
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 { DeleteMembers$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteMembersCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonDetective", "DeleteMembers", {})
13
- .n("DetectiveClient", "DeleteMembersCommand")
14
- .sc(DeleteMembers$)
15
- .build() {
3
+ export class DeleteMembersCommand extends command(_ep0, _mw0, "DeleteMembers", DeleteMembers$) {
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 { DescribeOrganizationConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeOrganizationConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonDetective", "DescribeOrganizationConfiguration", {})
13
- .n("DetectiveClient", "DescribeOrganizationConfigurationCommand")
14
- .sc(DescribeOrganizationConfiguration$)
15
- .build() {
3
+ export class DescribeOrganizationConfigurationCommand extends command(_ep0, _mw0, "DescribeOrganizationConfiguration", DescribeOrganizationConfiguration$) {
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 { DisableOrganizationAdminAccount$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisableOrganizationAdminAccountCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonDetective", "DisableOrganizationAdminAccount", {})
13
- .n("DetectiveClient", "DisableOrganizationAdminAccountCommand")
14
- .sc(DisableOrganizationAdminAccount$)
15
- .build() {
3
+ export class DisableOrganizationAdminAccountCommand extends command(_ep0, _mw0, "DisableOrganizationAdminAccount", DisableOrganizationAdminAccount$) {
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 { DisassociateMembership$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisassociateMembershipCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonDetective", "DisassociateMembership", {})
13
- .n("DetectiveClient", "DisassociateMembershipCommand")
14
- .sc(DisassociateMembership$)
15
- .build() {
3
+ export class DisassociateMembershipCommand extends command(_ep0, _mw0, "DisassociateMembership", DisassociateMembership$) {
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 { EnableOrganizationAdminAccount$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class EnableOrganizationAdminAccountCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonDetective", "EnableOrganizationAdminAccount", {})
13
- .n("DetectiveClient", "EnableOrganizationAdminAccountCommand")
14
- .sc(EnableOrganizationAdminAccount$)
15
- .build() {
3
+ export class EnableOrganizationAdminAccountCommand extends command(_ep0, _mw0, "EnableOrganizationAdminAccount", EnableOrganizationAdminAccount$) {
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 { GetInvestigation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetInvestigationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonDetective", "GetInvestigation", {})
13
- .n("DetectiveClient", "GetInvestigationCommand")
14
- .sc(GetInvestigation$)
15
- .build() {
3
+ export class GetInvestigationCommand extends command(_ep0, _mw0, "GetInvestigation", GetInvestigation$) {
16
4
  }