@aws-sdk/client-securityhub 3.602.0 → 3.608.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.
package/dist-cjs/index.js CHANGED
@@ -1170,12 +1170,9 @@ var se_DescribeHubCommand = /* @__PURE__ */ __name(async (input, context) => {
1170
1170
  }, "se_DescribeHubCommand");
1171
1171
  var se_DescribeOrganizationConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
1172
1172
  const b = (0, import_core.requestBuilder)(input, context);
1173
- const headers = {
1174
- "content-type": "application/json"
1175
- };
1173
+ const headers = {};
1176
1174
  b.bp("/organization/configuration");
1177
1175
  let body;
1178
- body = "";
1179
1176
  b.m("GET").h(headers).b(body);
1180
1177
  return b.build();
1181
1178
  }, "se_DescribeOrganizationConfigurationCommand");
@@ -1243,34 +1240,25 @@ var se_DisableOrganizationAdminAccountCommand = /* @__PURE__ */ __name(async (in
1243
1240
  }, "se_DisableOrganizationAdminAccountCommand");
1244
1241
  var se_DisableSecurityHubCommand = /* @__PURE__ */ __name(async (input, context) => {
1245
1242
  const b = (0, import_core.requestBuilder)(input, context);
1246
- const headers = {
1247
- "content-type": "application/json"
1248
- };
1243
+ const headers = {};
1249
1244
  b.bp("/accounts");
1250
1245
  let body;
1251
- body = "";
1252
1246
  b.m("DELETE").h(headers).b(body);
1253
1247
  return b.build();
1254
1248
  }, "se_DisableSecurityHubCommand");
1255
1249
  var se_DisassociateFromAdministratorAccountCommand = /* @__PURE__ */ __name(async (input, context) => {
1256
1250
  const b = (0, import_core.requestBuilder)(input, context);
1257
- const headers = {
1258
- "content-type": "application/json"
1259
- };
1251
+ const headers = {};
1260
1252
  b.bp("/administrator/disassociate");
1261
1253
  let body;
1262
- body = "";
1263
1254
  b.m("POST").h(headers).b(body);
1264
1255
  return b.build();
1265
1256
  }, "se_DisassociateFromAdministratorAccountCommand");
1266
1257
  var se_DisassociateFromMasterAccountCommand = /* @__PURE__ */ __name(async (input, context) => {
1267
1258
  const b = (0, import_core.requestBuilder)(input, context);
1268
- const headers = {
1269
- "content-type": "application/json"
1270
- };
1259
+ const headers = {};
1271
1260
  b.bp("/master/disassociate");
1272
1261
  let body;
1273
- body = "";
1274
1262
  b.m("POST").h(headers).b(body);
1275
1263
  return b.build();
1276
1264
  }, "se_DisassociateFromMasterAccountCommand");
@@ -1338,12 +1326,9 @@ var se_EnableSecurityHubCommand = /* @__PURE__ */ __name(async (input, context)
1338
1326
  }, "se_EnableSecurityHubCommand");
1339
1327
  var se_GetAdministratorAccountCommand = /* @__PURE__ */ __name(async (input, context) => {
1340
1328
  const b = (0, import_core.requestBuilder)(input, context);
1341
- const headers = {
1342
- "content-type": "application/json"
1343
- };
1329
+ const headers = {};
1344
1330
  b.bp("/administrator");
1345
1331
  let body;
1346
- body = "";
1347
1332
  b.m("GET").h(headers).b(body);
1348
1333
  return b.build();
1349
1334
  }, "se_GetAdministratorAccountCommand");
@@ -1462,23 +1447,17 @@ var se_GetInsightsCommand = /* @__PURE__ */ __name(async (input, context) => {
1462
1447
  }, "se_GetInsightsCommand");
1463
1448
  var se_GetInvitationsCountCommand = /* @__PURE__ */ __name(async (input, context) => {
1464
1449
  const b = (0, import_core.requestBuilder)(input, context);
1465
- const headers = {
1466
- "content-type": "application/json"
1467
- };
1450
+ const headers = {};
1468
1451
  b.bp("/invitations/count");
1469
1452
  let body;
1470
- body = "";
1471
1453
  b.m("GET").h(headers).b(body);
1472
1454
  return b.build();
1473
1455
  }, "se_GetInvitationsCountCommand");
1474
1456
  var se_GetMasterAccountCommand = /* @__PURE__ */ __name(async (input, context) => {
1475
1457
  const b = (0, import_core.requestBuilder)(input, context);
1476
- const headers = {
1477
- "content-type": "application/json"
1478
- };
1458
+ const headers = {};
1479
1459
  b.bp("/master");
1480
1460
  let body;
1481
- body = "";
1482
1461
  b.m("GET").h(headers).b(body);
1483
1462
  return b.build();
1484
1463
  }, "se_GetMasterAccountCommand");
@@ -380,12 +380,9 @@ export const se_DescribeHubCommand = async (input, context) => {
380
380
  };
381
381
  export const se_DescribeOrganizationConfigurationCommand = async (input, context) => {
382
382
  const b = rb(input, context);
383
- const headers = {
384
- "content-type": "application/json",
385
- };
383
+ const headers = {};
386
384
  b.bp("/organization/configuration");
387
385
  let body;
388
- body = "";
389
386
  b.m("GET").h(headers).b(body);
390
387
  return b.build();
391
388
  };
@@ -451,34 +448,25 @@ export const se_DisableOrganizationAdminAccountCommand = async (input, context)
451
448
  };
452
449
  export const se_DisableSecurityHubCommand = async (input, context) => {
453
450
  const b = rb(input, context);
454
- const headers = {
455
- "content-type": "application/json",
456
- };
451
+ const headers = {};
457
452
  b.bp("/accounts");
458
453
  let body;
459
- body = "";
460
454
  b.m("DELETE").h(headers).b(body);
461
455
  return b.build();
462
456
  };
463
457
  export const se_DisassociateFromAdministratorAccountCommand = async (input, context) => {
464
458
  const b = rb(input, context);
465
- const headers = {
466
- "content-type": "application/json",
467
- };
459
+ const headers = {};
468
460
  b.bp("/administrator/disassociate");
469
461
  let body;
470
- body = "";
471
462
  b.m("POST").h(headers).b(body);
472
463
  return b.build();
473
464
  };
474
465
  export const se_DisassociateFromMasterAccountCommand = async (input, context) => {
475
466
  const b = rb(input, context);
476
- const headers = {
477
- "content-type": "application/json",
478
- };
467
+ const headers = {};
479
468
  b.bp("/master/disassociate");
480
469
  let body;
481
- body = "";
482
470
  b.m("POST").h(headers).b(body);
483
471
  return b.build();
484
472
  };
@@ -538,12 +526,9 @@ export const se_EnableSecurityHubCommand = async (input, context) => {
538
526
  };
539
527
  export const se_GetAdministratorAccountCommand = async (input, context) => {
540
528
  const b = rb(input, context);
541
- const headers = {
542
- "content-type": "application/json",
543
- };
529
+ const headers = {};
544
530
  b.bp("/administrator");
545
531
  let body;
546
- body = "";
547
532
  b.m("GET").h(headers).b(body);
548
533
  return b.build();
549
534
  };
@@ -652,23 +637,17 @@ export const se_GetInsightsCommand = async (input, context) => {
652
637
  };
653
638
  export const se_GetInvitationsCountCommand = async (input, context) => {
654
639
  const b = rb(input, context);
655
- const headers = {
656
- "content-type": "application/json",
657
- };
640
+ const headers = {};
658
641
  b.bp("/invitations/count");
659
642
  let body;
660
- body = "";
661
643
  b.m("GET").h(headers).b(body);
662
644
  return b.build();
663
645
  };
664
646
  export const se_GetMasterAccountCommand = async (input, context) => {
665
647
  const b = rb(input, context);
666
- const headers = {
667
- "content-type": "application/json",
668
- };
648
+ const headers = {};
669
649
  b.bp("/master");
670
650
  let body;
671
- body = "";
672
651
  b.m("GET").h(headers).b(body);
673
652
  return b.build();
674
653
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-securityhub",
3
3
  "description": "AWS SDK for JavaScript Securityhub Client for Node.js, Browser and React Native",
4
- "version": "3.602.0",
4
+ "version": "3.608.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-securityhub",
@@ -20,8 +20,8 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.600.0",
24
- "@aws-sdk/client-sts": "3.600.0",
23
+ "@aws-sdk/client-sso-oidc": "3.606.0",
24
+ "@aws-sdk/client-sts": "3.606.0",
25
25
  "@aws-sdk/core": "3.598.0",
26
26
  "@aws-sdk/credential-provider-node": "3.600.0",
27
27
  "@aws-sdk/middleware-host-header": "3.598.0",