@aws-sdk/client-securitylake 3.750.0 → 3.772.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 (2) hide show
  1. package/dist-cjs/index.js +39 -41
  2. package/package.json +13 -13
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  AccessDeniedException: () => AccessDeniedException,
25
25
  AccessType: () => AccessType,
26
26
  AwsLogSourceName: () => AwsLogSourceName,
@@ -75,7 +75,7 @@ __export(src_exports, {
75
75
  paginateListLogSources: () => paginateListLogSources,
76
76
  paginateListSubscribers: () => paginateListSubscribers
77
77
  });
78
- module.exports = __toCommonJS(src_exports);
78
+ module.exports = __toCommonJS(index_exports);
79
79
 
80
80
  // src/SecurityLakeClient.ts
81
81
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -202,9 +202,9 @@ var SecurityLakeClient = class extends import_smithy_client.Client {
202
202
  this.middlewareStack.use(
203
203
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
204
204
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSecurityLakeHttpAuthSchemeParametersProvider,
205
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
205
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
206
206
  "aws.auth#sigv4": config.credentials
207
- })
207
+ }), "identityProviderConfigProvider")
208
208
  })
209
209
  );
210
210
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -431,10 +431,8 @@ var DataLakeStatus = {
431
431
  var LogSourceResource;
432
432
  ((LogSourceResource3) => {
433
433
  LogSourceResource3.visit = /* @__PURE__ */ __name((value, visitor) => {
434
- if (value.awsLogSource !== void 0)
435
- return visitor.awsLogSource(value.awsLogSource);
436
- if (value.customLogSource !== void 0)
437
- return visitor.customLogSource(value.customLogSource);
434
+ if (value.awsLogSource !== void 0) return visitor.awsLogSource(value.awsLogSource);
435
+ if (value.customLogSource !== void 0) return visitor.customLogSource(value.customLogSource);
438
436
  return visitor._(value.$unknown[0], value.$unknown[1]);
439
437
  }, "visit");
440
438
  })(LogSourceResource || (LogSourceResource = {}));
@@ -474,7 +472,7 @@ var se_CreateAwsLogSourceCommand = /* @__PURE__ */ __name(async (input, context)
474
472
  let body;
475
473
  body = JSON.stringify(
476
474
  (0, import_smithy_client.take)(input, {
477
- sources: (_) => (0, import_smithy_client._json)(_)
475
+ sources: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sources")
478
476
  })
479
477
  );
480
478
  b.m("POST").h(headers).b(body);
@@ -489,8 +487,8 @@ var se_CreateCustomLogSourceCommand = /* @__PURE__ */ __name(async (input, conte
489
487
  let body;
490
488
  body = JSON.stringify(
491
489
  (0, import_smithy_client.take)(input, {
492
- configuration: (_) => (0, import_smithy_client._json)(_),
493
- eventClasses: (_) => (0, import_smithy_client._json)(_),
490
+ configuration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "configuration"),
491
+ eventClasses: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "eventClasses"),
494
492
  sourceName: [],
495
493
  sourceVersion: []
496
494
  })
@@ -507,9 +505,9 @@ var se_CreateDataLakeCommand = /* @__PURE__ */ __name(async (input, context) =>
507
505
  let body;
508
506
  body = JSON.stringify(
509
507
  (0, import_smithy_client.take)(input, {
510
- configurations: (_) => (0, import_smithy_client._json)(_),
508
+ configurations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "configurations"),
511
509
  metaStoreManagerRoleArn: [],
512
- tags: (_) => (0, import_smithy_client._json)(_)
510
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
513
511
  })
514
512
  );
515
513
  b.m("POST").h(headers).b(body);
@@ -541,7 +539,7 @@ var se_CreateDataLakeOrganizationConfigurationCommand = /* @__PURE__ */ __name(a
541
539
  let body;
542
540
  body = JSON.stringify(
543
541
  (0, import_smithy_client.take)(input, {
544
- autoEnableNewAccount: (_) => (0, import_smithy_client._json)(_)
542
+ autoEnableNewAccount: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "autoEnableNewAccount")
545
543
  })
546
544
  );
547
545
  b.m("POST").h(headers).b(body);
@@ -556,12 +554,12 @@ var se_CreateSubscriberCommand = /* @__PURE__ */ __name(async (input, context) =
556
554
  let body;
557
555
  body = JSON.stringify(
558
556
  (0, import_smithy_client.take)(input, {
559
- accessTypes: (_) => (0, import_smithy_client._json)(_),
560
- sources: (_) => (0, import_smithy_client._json)(_),
557
+ accessTypes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "accessTypes"),
558
+ sources: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sources"),
561
559
  subscriberDescription: [],
562
- subscriberIdentity: (_) => (0, import_smithy_client._json)(_),
560
+ subscriberIdentity: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "subscriberIdentity"),
563
561
  subscriberName: [],
564
- tags: (_) => (0, import_smithy_client._json)(_)
562
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
565
563
  })
566
564
  );
567
565
  b.m("POST").h(headers).b(body);
@@ -577,7 +575,7 @@ var se_CreateSubscriberNotificationCommand = /* @__PURE__ */ __name(async (input
577
575
  let body;
578
576
  body = JSON.stringify(
579
577
  (0, import_smithy_client.take)(input, {
580
- configuration: (_) => (0, import_smithy_client._json)(_)
578
+ configuration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "configuration")
581
579
  })
582
580
  );
583
581
  b.m("POST").h(headers).b(body);
@@ -592,7 +590,7 @@ var se_DeleteAwsLogSourceCommand = /* @__PURE__ */ __name(async (input, context)
592
590
  let body;
593
591
  body = JSON.stringify(
594
592
  (0, import_smithy_client.take)(input, {
595
- sources: (_) => (0, import_smithy_client._json)(_)
593
+ sources: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sources")
596
594
  })
597
595
  );
598
596
  b.m("POST").h(headers).b(body);
@@ -619,7 +617,7 @@ var se_DeleteDataLakeCommand = /* @__PURE__ */ __name(async (input, context) =>
619
617
  let body;
620
618
  body = JSON.stringify(
621
619
  (0, import_smithy_client.take)(input, {
622
- regions: (_) => (0, import_smithy_client._json)(_)
620
+ regions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "regions")
623
621
  })
624
622
  );
625
623
  b.m("POST").h(headers).b(body);
@@ -642,7 +640,7 @@ var se_DeleteDataLakeOrganizationConfigurationCommand = /* @__PURE__ */ __name(a
642
640
  let body;
643
641
  body = JSON.stringify(
644
642
  (0, import_smithy_client.take)(input, {
645
- autoEnableNewAccount: (_) => (0, import_smithy_client._json)(_)
643
+ autoEnableNewAccount: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "autoEnableNewAccount")
646
644
  })
647
645
  );
648
646
  b.m("POST").h(headers).b(body);
@@ -699,7 +697,7 @@ var se_GetDataLakeSourcesCommand = /* @__PURE__ */ __name(async (input, context)
699
697
  let body;
700
698
  body = JSON.stringify(
701
699
  (0, import_smithy_client.take)(input, {
702
- accounts: (_) => (0, import_smithy_client._json)(_),
700
+ accounts: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "accounts"),
703
701
  maxResults: [],
704
702
  nextToken: []
705
703
  })
@@ -727,7 +725,7 @@ var se_ListDataLakeExceptionsCommand = /* @__PURE__ */ __name(async (input, cont
727
725
  (0, import_smithy_client.take)(input, {
728
726
  maxResults: [],
729
727
  nextToken: [],
730
- regions: (_) => (0, import_smithy_client._json)(_)
728
+ regions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "regions")
731
729
  })
732
730
  );
733
731
  b.m("POST").h(headers).b(body);
@@ -753,11 +751,11 @@ var se_ListLogSourcesCommand = /* @__PURE__ */ __name(async (input, context) =>
753
751
  let body;
754
752
  body = JSON.stringify(
755
753
  (0, import_smithy_client.take)(input, {
756
- accounts: (_) => (0, import_smithy_client._json)(_),
754
+ accounts: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "accounts"),
757
755
  maxResults: [],
758
756
  nextToken: [],
759
- regions: (_) => (0, import_smithy_client._json)(_),
760
- sources: (_) => (0, import_smithy_client._json)(_)
757
+ regions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "regions"),
758
+ sources: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sources")
761
759
  })
762
760
  );
763
761
  b.m("POST").h(headers).b(body);
@@ -809,7 +807,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
809
807
  let body;
810
808
  body = JSON.stringify(
811
809
  (0, import_smithy_client.take)(input, {
812
- tags: (_) => (0, import_smithy_client._json)(_)
810
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
813
811
  })
814
812
  );
815
813
  b.m("POST").h(headers).b(body);
@@ -836,7 +834,7 @@ var se_UpdateDataLakeCommand = /* @__PURE__ */ __name(async (input, context) =>
836
834
  let body;
837
835
  body = JSON.stringify(
838
836
  (0, import_smithy_client.take)(input, {
839
- configurations: (_) => (0, import_smithy_client._json)(_),
837
+ configurations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "configurations"),
840
838
  metaStoreManagerRoleArn: []
841
839
  })
842
840
  );
@@ -870,9 +868,9 @@ var se_UpdateSubscriberCommand = /* @__PURE__ */ __name(async (input, context) =
870
868
  let body;
871
869
  body = JSON.stringify(
872
870
  (0, import_smithy_client.take)(input, {
873
- sources: (_) => (0, import_smithy_client._json)(_),
871
+ sources: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sources"),
874
872
  subscriberDescription: [],
875
- subscriberIdentity: (_) => (0, import_smithy_client._json)(_),
873
+ subscriberIdentity: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "subscriberIdentity"),
876
874
  subscriberName: []
877
875
  })
878
876
  );
@@ -889,7 +887,7 @@ var se_UpdateSubscriberNotificationCommand = /* @__PURE__ */ __name(async (input
889
887
  let body;
890
888
  body = JSON.stringify(
891
889
  (0, import_smithy_client.take)(input, {
892
- configuration: (_) => (0, import_smithy_client._json)(_)
890
+ configuration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "configuration")
893
891
  })
894
892
  );
895
893
  b.m("PUT").h(headers).b(body);
@@ -966,7 +964,7 @@ var de_CreateSubscriberCommand = /* @__PURE__ */ __name(async (output, context)
966
964
  });
967
965
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
968
966
  const doc = (0, import_smithy_client.take)(data, {
969
- subscriber: (_) => de_SubscriberResource(_, context)
967
+ subscriber: /* @__PURE__ */ __name((_) => de_SubscriberResource(_, context), "subscriber")
970
968
  });
971
969
  Object.assign(contents, doc);
972
970
  return contents;
@@ -1124,7 +1122,7 @@ var de_GetSubscriberCommand = /* @__PURE__ */ __name(async (output, context) =>
1124
1122
  });
1125
1123
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1126
1124
  const doc = (0, import_smithy_client.take)(data, {
1127
- subscriber: (_) => de_SubscriberResource(_, context)
1125
+ subscriber: /* @__PURE__ */ __name((_) => de_SubscriberResource(_, context), "subscriber")
1128
1126
  });
1129
1127
  Object.assign(contents, doc);
1130
1128
  return contents;
@@ -1138,7 +1136,7 @@ var de_ListDataLakeExceptionsCommand = /* @__PURE__ */ __name(async (output, con
1138
1136
  });
1139
1137
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1140
1138
  const doc = (0, import_smithy_client.take)(data, {
1141
- exceptions: (_) => de_DataLakeExceptionList(_, context),
1139
+ exceptions: /* @__PURE__ */ __name((_) => de_DataLakeExceptionList(_, context), "exceptions"),
1142
1140
  nextToken: import_smithy_client.expectString
1143
1141
  });
1144
1142
  Object.assign(contents, doc);
@@ -1183,7 +1181,7 @@ var de_ListSubscribersCommand = /* @__PURE__ */ __name(async (output, context) =
1183
1181
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1184
1182
  const doc = (0, import_smithy_client.take)(data, {
1185
1183
  nextToken: import_smithy_client.expectString,
1186
- subscribers: (_) => de_SubscriberResourceList(_, context)
1184
+ subscribers: /* @__PURE__ */ __name((_) => de_SubscriberResourceList(_, context), "subscribers")
1187
1185
  });
1188
1186
  Object.assign(contents, doc);
1189
1187
  return contents;
@@ -1265,7 +1263,7 @@ var de_UpdateSubscriberCommand = /* @__PURE__ */ __name(async (output, context)
1265
1263
  });
1266
1264
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1267
1265
  const doc = (0, import_smithy_client.take)(data, {
1268
- subscriber: (_) => de_SubscriberResource(_, context)
1266
+ subscriber: /* @__PURE__ */ __name((_) => de_SubscriberResource(_, context), "subscriber")
1269
1267
  });
1270
1268
  Object.assign(contents, doc);
1271
1269
  return contents;
@@ -1411,7 +1409,7 @@ var de_DataLakeException = /* @__PURE__ */ __name((output, context) => {
1411
1409
  exception: import_smithy_client.expectString,
1412
1410
  region: import_smithy_client.expectString,
1413
1411
  remediation: import_smithy_client.expectString,
1414
- timestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
1412
+ timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "timestamp")
1415
1413
  });
1416
1414
  }, "de_DataLakeException");
1417
1415
  var de_DataLakeExceptionList = /* @__PURE__ */ __name((output, context) => {
@@ -1423,7 +1421,7 @@ var de_DataLakeExceptionList = /* @__PURE__ */ __name((output, context) => {
1423
1421
  var de_SubscriberResource = /* @__PURE__ */ __name((output, context) => {
1424
1422
  return (0, import_smithy_client.take)(output, {
1425
1423
  accessTypes: import_smithy_client._json,
1426
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1424
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
1427
1425
  resourceShareArn: import_smithy_client.expectString,
1428
1426
  resourceShareName: import_smithy_client.expectString,
1429
1427
  roleArn: import_smithy_client.expectString,
@@ -1436,7 +1434,7 @@ var de_SubscriberResource = /* @__PURE__ */ __name((output, context) => {
1436
1434
  subscriberIdentity: import_smithy_client._json,
1437
1435
  subscriberName: import_smithy_client.expectString,
1438
1436
  subscriberStatus: import_smithy_client.expectString,
1439
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
1437
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
1440
1438
  });
1441
1439
  }, "de_SubscriberResource");
1442
1440
  var de_SubscriberResourceList = /* @__PURE__ */ __name((output, context) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-securitylake",
3
3
  "description": "AWS SDK for JavaScript Securitylake Client for Node.js, Browser and React Native",
4
- "version": "3.750.0",
4
+ "version": "3.772.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-securitylake",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.750.0",
24
- "@aws-sdk/credential-provider-node": "3.750.0",
23
+ "@aws-sdk/core": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.772.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
28
- "@aws-sdk/middleware-user-agent": "3.750.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
+ "@aws-sdk/middleware-user-agent": "3.758.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",
31
31
  "@aws-sdk/util-endpoints": "3.743.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.734.0",
33
- "@aws-sdk/util-user-agent-node": "3.750.0",
33
+ "@aws-sdk/util-user-agent-node": "3.758.0",
34
34
  "@smithy/config-resolver": "^4.0.1",
35
- "@smithy/core": "^3.1.4",
35
+ "@smithy/core": "^3.1.5",
36
36
  "@smithy/fetch-http-handler": "^5.0.1",
37
37
  "@smithy/hash-node": "^4.0.1",
38
38
  "@smithy/invalid-dependency": "^4.0.1",
39
39
  "@smithy/middleware-content-length": "^4.0.1",
40
- "@smithy/middleware-endpoint": "^4.0.5",
41
- "@smithy/middleware-retry": "^4.0.6",
40
+ "@smithy/middleware-endpoint": "^4.0.6",
41
+ "@smithy/middleware-retry": "^4.0.7",
42
42
  "@smithy/middleware-serde": "^4.0.2",
43
43
  "@smithy/middleware-stack": "^4.0.1",
44
44
  "@smithy/node-config-provider": "^4.0.1",
45
- "@smithy/node-http-handler": "^4.0.2",
45
+ "@smithy/node-http-handler": "^4.0.3",
46
46
  "@smithy/protocol-http": "^5.0.1",
47
- "@smithy/smithy-client": "^4.1.5",
47
+ "@smithy/smithy-client": "^4.1.6",
48
48
  "@smithy/types": "^4.1.0",
49
49
  "@smithy/url-parser": "^4.0.1",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.6",
54
- "@smithy/util-defaults-mode-node": "^4.0.6",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.7",
54
+ "@smithy/util-defaults-mode-node": "^4.0.7",
55
55
  "@smithy/util-endpoints": "^3.0.1",
56
56
  "@smithy/util-middleware": "^4.0.1",
57
57
  "@smithy/util-retry": "^4.0.1",