@aws-sdk/client-securitylake 3.523.0 → 3.529.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 +26 -63
- package/dist-es/models/models_0.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +2 -40
- package/dist-types/commands/CreateAwsLogSourceCommand.d.ts +1 -1
- package/dist-types/commands/CreateDataLakeOrganizationConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/CreateSubscriberCommand.d.ts +2 -2
- package/dist-types/commands/DeleteAwsLogSourceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDataLakeOrganizationConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/GetDataLakeOrganizationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetSubscriberCommand.d.ts +1 -1
- package/dist-types/commands/ListLogSourcesCommand.d.ts +2 -2
- package/dist-types/commands/ListSubscribersCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDataLakeCommand.d.ts +1 -0
- package/dist-types/commands/UpdateSubscriberCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +13 -4
- package/dist-types/ts3.4/models/models_0.d.ts +6 -3
- package/package.json +17 -17
- package/dist-cjs/SecurityLake.js +0 -1
- package/dist-cjs/SecurityLakeClient.js +0 -1
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -1
- package/dist-cjs/commands/CreateAwsLogSourceCommand.js +0 -1
- package/dist-cjs/commands/CreateCustomLogSourceCommand.js +0 -1
- package/dist-cjs/commands/CreateDataLakeCommand.js +0 -1
- package/dist-cjs/commands/CreateDataLakeExceptionSubscriptionCommand.js +0 -1
- package/dist-cjs/commands/CreateDataLakeOrganizationConfigurationCommand.js +0 -1
- package/dist-cjs/commands/CreateSubscriberCommand.js +0 -1
- package/dist-cjs/commands/CreateSubscriberNotificationCommand.js +0 -1
- package/dist-cjs/commands/DeleteAwsLogSourceCommand.js +0 -1
- package/dist-cjs/commands/DeleteCustomLogSourceCommand.js +0 -1
- package/dist-cjs/commands/DeleteDataLakeCommand.js +0 -1
- package/dist-cjs/commands/DeleteDataLakeExceptionSubscriptionCommand.js +0 -1
- package/dist-cjs/commands/DeleteDataLakeOrganizationConfigurationCommand.js +0 -1
- package/dist-cjs/commands/DeleteSubscriberCommand.js +0 -1
- package/dist-cjs/commands/DeleteSubscriberNotificationCommand.js +0 -1
- package/dist-cjs/commands/DeregisterDataLakeDelegatedAdministratorCommand.js +0 -1
- package/dist-cjs/commands/GetDataLakeExceptionSubscriptionCommand.js +0 -1
- package/dist-cjs/commands/GetDataLakeOrganizationConfigurationCommand.js +0 -1
- package/dist-cjs/commands/GetDataLakeSourcesCommand.js +0 -1
- package/dist-cjs/commands/GetSubscriberCommand.js +0 -1
- package/dist-cjs/commands/ListDataLakeExceptionsCommand.js +0 -1
- package/dist-cjs/commands/ListDataLakesCommand.js +0 -1
- package/dist-cjs/commands/ListLogSourcesCommand.js +0 -1
- package/dist-cjs/commands/ListSubscribersCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/RegisterDataLakeDelegatedAdministratorCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateDataLakeCommand.js +0 -1
- package/dist-cjs/commands/UpdateDataLakeExceptionSubscriptionCommand.js +0 -1
- package/dist-cjs/commands/UpdateSubscriberCommand.js +0 -1
- package/dist-cjs/commands/UpdateSubscriberNotificationCommand.js +0 -1
- package/dist-cjs/commands/index.js +0 -1
- package/dist-cjs/endpoint/EndpointParameters.js +0 -1
- package/dist-cjs/extensionConfiguration.js +0 -1
- package/dist-cjs/models/SecurityLakeServiceException.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/GetDataLakeSourcesPaginator.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListDataLakeExceptionsPaginator.js +0 -1
- package/dist-cjs/pagination/ListLogSourcesPaginator.js +0 -1
- package/dist-cjs/pagination/ListSubscribersPaginator.js +0 -1
- package/dist-cjs/pagination/index.js +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1
- package/dist-cjs/runtimeExtensions.js +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -230,6 +230,7 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
230
230
|
var import_types = require("@smithy/types");
|
|
231
231
|
|
|
232
232
|
// src/protocols/Aws_restJson1.ts
|
|
233
|
+
var import_core2 = require("@aws-sdk/core");
|
|
233
234
|
|
|
234
235
|
|
|
235
236
|
|
|
@@ -272,11 +273,13 @@ var AccessType = {
|
|
|
272
273
|
};
|
|
273
274
|
var AwsLogSourceName = {
|
|
274
275
|
CLOUD_TRAIL_MGMT: "CLOUD_TRAIL_MGMT",
|
|
276
|
+
EKS_AUDIT: "EKS_AUDIT",
|
|
275
277
|
LAMBDA_EXECUTION: "LAMBDA_EXECUTION",
|
|
276
278
|
ROUTE53: "ROUTE53",
|
|
277
279
|
S3_DATA: "S3_DATA",
|
|
278
280
|
SH_FINDINGS: "SH_FINDINGS",
|
|
279
|
-
VPC_FLOW: "VPC_FLOW"
|
|
281
|
+
VPC_FLOW: "VPC_FLOW",
|
|
282
|
+
WAF: "WAF"
|
|
280
283
|
};
|
|
281
284
|
var _BadRequestException = class _BadRequestException extends SecurityLakeServiceException {
|
|
282
285
|
/**
|
|
@@ -803,7 +806,8 @@ var se_UpdateDataLakeCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
803
806
|
let body;
|
|
804
807
|
body = JSON.stringify(
|
|
805
808
|
(0, import_smithy_client.take)(input, {
|
|
806
|
-
configurations: (_) => (0, import_smithy_client._json)(_)
|
|
809
|
+
configurations: (_) => (0, import_smithy_client._json)(_),
|
|
810
|
+
metaStoreManagerRoleArn: []
|
|
807
811
|
})
|
|
808
812
|
);
|
|
809
813
|
b.m("PUT").h(headers).b(body);
|
|
@@ -868,7 +872,7 @@ var de_CreateAwsLogSourceCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
868
872
|
const contents = (0, import_smithy_client.map)({
|
|
869
873
|
$metadata: deserializeMetadata(output)
|
|
870
874
|
});
|
|
871
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
875
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
872
876
|
const doc = (0, import_smithy_client.take)(data, {
|
|
873
877
|
failed: import_smithy_client._json
|
|
874
878
|
});
|
|
@@ -882,7 +886,7 @@ var de_CreateCustomLogSourceCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
882
886
|
const contents = (0, import_smithy_client.map)({
|
|
883
887
|
$metadata: deserializeMetadata(output)
|
|
884
888
|
});
|
|
885
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
889
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
886
890
|
const doc = (0, import_smithy_client.take)(data, {
|
|
887
891
|
source: import_smithy_client._json
|
|
888
892
|
});
|
|
@@ -896,7 +900,7 @@ var de_CreateDataLakeCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
896
900
|
const contents = (0, import_smithy_client.map)({
|
|
897
901
|
$metadata: deserializeMetadata(output)
|
|
898
902
|
});
|
|
899
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
903
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
900
904
|
const doc = (0, import_smithy_client.take)(data, {
|
|
901
905
|
dataLakes: import_smithy_client._json
|
|
902
906
|
});
|
|
@@ -930,7 +934,7 @@ var de_CreateSubscriberCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
930
934
|
const contents = (0, import_smithy_client.map)({
|
|
931
935
|
$metadata: deserializeMetadata(output)
|
|
932
936
|
});
|
|
933
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
937
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
934
938
|
const doc = (0, import_smithy_client.take)(data, {
|
|
935
939
|
subscriber: (_) => de_SubscriberResource(_, context)
|
|
936
940
|
});
|
|
@@ -944,7 +948,7 @@ var de_CreateSubscriberNotificationCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
944
948
|
const contents = (0, import_smithy_client.map)({
|
|
945
949
|
$metadata: deserializeMetadata(output)
|
|
946
950
|
});
|
|
947
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
951
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
948
952
|
const doc = (0, import_smithy_client.take)(data, {
|
|
949
953
|
subscriberEndpoint: import_smithy_client.expectString
|
|
950
954
|
});
|
|
@@ -958,7 +962,7 @@ var de_DeleteAwsLogSourceCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
958
962
|
const contents = (0, import_smithy_client.map)({
|
|
959
963
|
$metadata: deserializeMetadata(output)
|
|
960
964
|
});
|
|
961
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
965
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
962
966
|
const doc = (0, import_smithy_client.take)(data, {
|
|
963
967
|
failed: import_smithy_client._json
|
|
964
968
|
});
|
|
@@ -1042,7 +1046,7 @@ var de_GetDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (o
|
|
|
1042
1046
|
const contents = (0, import_smithy_client.map)({
|
|
1043
1047
|
$metadata: deserializeMetadata(output)
|
|
1044
1048
|
});
|
|
1045
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1049
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1046
1050
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1047
1051
|
exceptionTimeToLive: import_smithy_client.expectLong,
|
|
1048
1052
|
notificationEndpoint: import_smithy_client.expectString,
|
|
@@ -1058,7 +1062,7 @@ var de_GetDataLakeOrganizationConfigurationCommand = /* @__PURE__ */ __name(asyn
|
|
|
1058
1062
|
const contents = (0, import_smithy_client.map)({
|
|
1059
1063
|
$metadata: deserializeMetadata(output)
|
|
1060
1064
|
});
|
|
1061
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1065
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1062
1066
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1063
1067
|
autoEnableNewAccount: import_smithy_client._json
|
|
1064
1068
|
});
|
|
@@ -1072,7 +1076,7 @@ var de_GetDataLakeSourcesCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1072
1076
|
const contents = (0, import_smithy_client.map)({
|
|
1073
1077
|
$metadata: deserializeMetadata(output)
|
|
1074
1078
|
});
|
|
1075
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1079
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1076
1080
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1077
1081
|
dataLakeArn: import_smithy_client.expectString,
|
|
1078
1082
|
dataLakeSources: import_smithy_client._json,
|
|
@@ -1088,7 +1092,7 @@ var de_GetSubscriberCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1088
1092
|
const contents = (0, import_smithy_client.map)({
|
|
1089
1093
|
$metadata: deserializeMetadata(output)
|
|
1090
1094
|
});
|
|
1091
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1095
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1092
1096
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1093
1097
|
subscriber: (_) => de_SubscriberResource(_, context)
|
|
1094
1098
|
});
|
|
@@ -1102,7 +1106,7 @@ var de_ListDataLakeExceptionsCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1102
1106
|
const contents = (0, import_smithy_client.map)({
|
|
1103
1107
|
$metadata: deserializeMetadata(output)
|
|
1104
1108
|
});
|
|
1105
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1109
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1106
1110
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1107
1111
|
exceptions: (_) => de_DataLakeExceptionList(_, context),
|
|
1108
1112
|
nextToken: import_smithy_client.expectString
|
|
@@ -1117,7 +1121,7 @@ var de_ListDataLakesCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1117
1121
|
const contents = (0, import_smithy_client.map)({
|
|
1118
1122
|
$metadata: deserializeMetadata(output)
|
|
1119
1123
|
});
|
|
1120
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1124
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1121
1125
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1122
1126
|
dataLakes: import_smithy_client._json
|
|
1123
1127
|
});
|
|
@@ -1131,7 +1135,7 @@ var de_ListLogSourcesCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1131
1135
|
const contents = (0, import_smithy_client.map)({
|
|
1132
1136
|
$metadata: deserializeMetadata(output)
|
|
1133
1137
|
});
|
|
1134
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1138
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1135
1139
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1136
1140
|
nextToken: import_smithy_client.expectString,
|
|
1137
1141
|
sources: import_smithy_client._json
|
|
@@ -1146,7 +1150,7 @@ var de_ListSubscribersCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1146
1150
|
const contents = (0, import_smithy_client.map)({
|
|
1147
1151
|
$metadata: deserializeMetadata(output)
|
|
1148
1152
|
});
|
|
1149
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1153
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1150
1154
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1151
1155
|
nextToken: import_smithy_client.expectString,
|
|
1152
1156
|
subscribers: (_) => de_SubscriberResourceList(_, context)
|
|
@@ -1161,7 +1165,7 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1161
1165
|
const contents = (0, import_smithy_client.map)({
|
|
1162
1166
|
$metadata: deserializeMetadata(output)
|
|
1163
1167
|
});
|
|
1164
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1168
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1165
1169
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1166
1170
|
tags: import_smithy_client._json
|
|
1167
1171
|
});
|
|
@@ -1205,7 +1209,7 @@ var de_UpdateDataLakeCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1205
1209
|
const contents = (0, import_smithy_client.map)({
|
|
1206
1210
|
$metadata: deserializeMetadata(output)
|
|
1207
1211
|
});
|
|
1208
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1212
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1209
1213
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1210
1214
|
dataLakes: import_smithy_client._json
|
|
1211
1215
|
});
|
|
@@ -1229,7 +1233,7 @@ var de_UpdateSubscriberCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1229
1233
|
const contents = (0, import_smithy_client.map)({
|
|
1230
1234
|
$metadata: deserializeMetadata(output)
|
|
1231
1235
|
});
|
|
1232
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1236
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1233
1237
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1234
1238
|
subscriber: (_) => de_SubscriberResource(_, context)
|
|
1235
1239
|
});
|
|
@@ -1243,7 +1247,7 @@ var de_UpdateSubscriberNotificationCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
1243
1247
|
const contents = (0, import_smithy_client.map)({
|
|
1244
1248
|
$metadata: deserializeMetadata(output)
|
|
1245
1249
|
});
|
|
1246
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1250
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1247
1251
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1248
1252
|
subscriberEndpoint: import_smithy_client.expectString
|
|
1249
1253
|
});
|
|
@@ -1253,9 +1257,9 @@ var de_UpdateSubscriberNotificationCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
1253
1257
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1254
1258
|
const parsedOutput = {
|
|
1255
1259
|
...output,
|
|
1256
|
-
body: await
|
|
1260
|
+
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1257
1261
|
};
|
|
1258
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1262
|
+
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1259
1263
|
switch (errorCode) {
|
|
1260
1264
|
case "AccessDeniedException":
|
|
1261
1265
|
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
@@ -1417,7 +1421,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
1417
1421
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1418
1422
|
cfId: output.headers["x-amz-cf-id"]
|
|
1419
1423
|
}), "deserializeMetadata");
|
|
1420
|
-
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
1421
1424
|
var _mR = "maxResults";
|
|
1422
1425
|
var _nT = "nextToken";
|
|
1423
1426
|
var _r = "regions";
|
|
@@ -1425,46 +1428,6 @@ var _rAS = "retryAfterSeconds";
|
|
|
1425
1428
|
var _ra = "retry-after";
|
|
1426
1429
|
var _sV = "sourceVersion";
|
|
1427
1430
|
var _tK = "tagKeys";
|
|
1428
|
-
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1429
|
-
if (encoded.length) {
|
|
1430
|
-
return JSON.parse(encoded);
|
|
1431
|
-
}
|
|
1432
|
-
return {};
|
|
1433
|
-
}), "parseBody");
|
|
1434
|
-
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
1435
|
-
const value = await parseBody(errorBody, context);
|
|
1436
|
-
value.message = value.message ?? value.Message;
|
|
1437
|
-
return value;
|
|
1438
|
-
}, "parseErrorBody");
|
|
1439
|
-
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
1440
|
-
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
1441
|
-
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
1442
|
-
let cleanValue = rawValue;
|
|
1443
|
-
if (typeof cleanValue === "number") {
|
|
1444
|
-
cleanValue = cleanValue.toString();
|
|
1445
|
-
}
|
|
1446
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
1447
|
-
cleanValue = cleanValue.split(",")[0];
|
|
1448
|
-
}
|
|
1449
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
1450
|
-
cleanValue = cleanValue.split(":")[0];
|
|
1451
|
-
}
|
|
1452
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
1453
|
-
cleanValue = cleanValue.split("#")[1];
|
|
1454
|
-
}
|
|
1455
|
-
return cleanValue;
|
|
1456
|
-
}, "sanitizeErrorCode");
|
|
1457
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1458
|
-
if (headerKey !== void 0) {
|
|
1459
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1460
|
-
}
|
|
1461
|
-
if (data.code !== void 0) {
|
|
1462
|
-
return sanitizeErrorCode(data.code);
|
|
1463
|
-
}
|
|
1464
|
-
if (data["__type"] !== void 0) {
|
|
1465
|
-
return sanitizeErrorCode(data["__type"]);
|
|
1466
|
-
}
|
|
1467
|
-
}, "loadRestJsonErrorCode");
|
|
1468
1431
|
|
|
1469
1432
|
// src/commands/CreateAwsLogSourceCommand.ts
|
|
1470
1433
|
var _CreateAwsLogSourceCommand = class _CreateAwsLogSourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
@@ -18,11 +18,13 @@ export const AccessType = {
|
|
|
18
18
|
};
|
|
19
19
|
export const AwsLogSourceName = {
|
|
20
20
|
CLOUD_TRAIL_MGMT: "CLOUD_TRAIL_MGMT",
|
|
21
|
+
EKS_AUDIT: "EKS_AUDIT",
|
|
21
22
|
LAMBDA_EXECUTION: "LAMBDA_EXECUTION",
|
|
22
23
|
ROUTE53: "ROUTE53",
|
|
23
24
|
S3_DATA: "S3_DATA",
|
|
24
25
|
SH_FINDINGS: "SH_FINDINGS",
|
|
25
26
|
VPC_FLOW: "VPC_FLOW",
|
|
27
|
+
WAF: "WAF",
|
|
26
28
|
};
|
|
27
29
|
export class BadRequestException extends __BaseException {
|
|
28
30
|
constructor(opts) {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
1
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
2
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
4
|
import { AccessDeniedException, BadRequestException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, } from "../models/models_0";
|
|
@@ -358,6 +359,7 @@ export const se_UpdateDataLakeCommand = async (input, context) => {
|
|
|
358
359
|
let body;
|
|
359
360
|
body = JSON.stringify(take(input, {
|
|
360
361
|
configurations: (_) => _json(_),
|
|
362
|
+
metaStoreManagerRoleArn: [],
|
|
361
363
|
}));
|
|
362
364
|
b.m("PUT").h(headers).b(body);
|
|
363
365
|
return b.build();
|
|
@@ -981,43 +983,3 @@ const _rAS = "retryAfterSeconds";
|
|
|
981
983
|
const _ra = "retry-after";
|
|
982
984
|
const _sV = "sourceVersion";
|
|
983
985
|
const _tK = "tagKeys";
|
|
984
|
-
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
985
|
-
if (encoded.length) {
|
|
986
|
-
return JSON.parse(encoded);
|
|
987
|
-
}
|
|
988
|
-
return {};
|
|
989
|
-
});
|
|
990
|
-
const parseErrorBody = async (errorBody, context) => {
|
|
991
|
-
const value = await parseBody(errorBody, context);
|
|
992
|
-
value.message = value.message ?? value.Message;
|
|
993
|
-
return value;
|
|
994
|
-
};
|
|
995
|
-
const loadRestJsonErrorCode = (output, data) => {
|
|
996
|
-
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
997
|
-
const sanitizeErrorCode = (rawValue) => {
|
|
998
|
-
let cleanValue = rawValue;
|
|
999
|
-
if (typeof cleanValue === "number") {
|
|
1000
|
-
cleanValue = cleanValue.toString();
|
|
1001
|
-
}
|
|
1002
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
1003
|
-
cleanValue = cleanValue.split(",")[0];
|
|
1004
|
-
}
|
|
1005
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
1006
|
-
cleanValue = cleanValue.split(":")[0];
|
|
1007
|
-
}
|
|
1008
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
1009
|
-
cleanValue = cleanValue.split("#")[1];
|
|
1010
|
-
}
|
|
1011
|
-
return cleanValue;
|
|
1012
|
-
};
|
|
1013
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1014
|
-
if (headerKey !== undefined) {
|
|
1015
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1016
|
-
}
|
|
1017
|
-
if (data.code !== undefined) {
|
|
1018
|
-
return sanitizeErrorCode(data.code);
|
|
1019
|
-
}
|
|
1020
|
-
if (data["__type"] !== undefined) {
|
|
1021
|
-
return sanitizeErrorCode(data["__type"]);
|
|
1022
|
-
}
|
|
1023
|
-
};
|
|
@@ -48,7 +48,7 @@ declare const CreateAwsLogSourceCommand_base: {
|
|
|
48
48
|
* regions: [ // RegionList // required
|
|
49
49
|
* "STRING_VALUE",
|
|
50
50
|
* ],
|
|
51
|
-
* sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA", // required
|
|
51
|
+
* sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA" || "EKS_AUDIT" || "WAF", // required
|
|
52
52
|
* sourceVersion: "STRING_VALUE",
|
|
53
53
|
* },
|
|
54
54
|
* ],
|
|
@@ -36,12 +36,12 @@ declare const CreateDataLakeOrganizationConfigurationCommand_base: {
|
|
|
36
36
|
* // const { SecurityLakeClient, CreateDataLakeOrganizationConfigurationCommand } = require("@aws-sdk/client-securitylake"); // CommonJS import
|
|
37
37
|
* const client = new SecurityLakeClient(config);
|
|
38
38
|
* const input = { // CreateDataLakeOrganizationConfigurationRequest
|
|
39
|
-
* autoEnableNewAccount: [ // DataLakeAutoEnableNewAccountConfigurationList
|
|
39
|
+
* autoEnableNewAccount: [ // DataLakeAutoEnableNewAccountConfigurationList
|
|
40
40
|
* { // DataLakeAutoEnableNewAccountConfiguration
|
|
41
41
|
* region: "STRING_VALUE", // required
|
|
42
42
|
* sources: [ // AwsLogSourceResourceList // required
|
|
43
43
|
* { // AwsLogSourceResource
|
|
44
|
-
* sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA",
|
|
44
|
+
* sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA" || "EKS_AUDIT" || "WAF",
|
|
45
45
|
* sourceVersion: "STRING_VALUE",
|
|
46
46
|
* },
|
|
47
47
|
* ],
|
|
@@ -44,7 +44,7 @@ declare const CreateSubscriberCommand_base: {
|
|
|
44
44
|
* sources: [ // LogSourceResourceList // required
|
|
45
45
|
* { // LogSourceResource Union: only one key present
|
|
46
46
|
* awsLogSource: { // AwsLogSourceResource
|
|
47
|
-
* sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA",
|
|
47
|
+
* sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA" || "EKS_AUDIT" || "WAF",
|
|
48
48
|
* sourceVersion: "STRING_VALUE",
|
|
49
49
|
* },
|
|
50
50
|
* customLogSource: { // CustomLogSourceResource
|
|
@@ -87,7 +87,7 @@ declare const CreateSubscriberCommand_base: {
|
|
|
87
87
|
* // sources: [ // LogSourceResourceList // required
|
|
88
88
|
* // { // LogSourceResource Union: only one key present
|
|
89
89
|
* // awsLogSource: { // AwsLogSourceResource
|
|
90
|
-
* // sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA",
|
|
90
|
+
* // sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA" || "EKS_AUDIT" || "WAF",
|
|
91
91
|
* // sourceVersion: "STRING_VALUE",
|
|
92
92
|
* // },
|
|
93
93
|
* // customLogSource: { // CustomLogSourceResource
|
|
@@ -48,7 +48,7 @@ declare const DeleteAwsLogSourceCommand_base: {
|
|
|
48
48
|
* regions: [ // RegionList // required
|
|
49
49
|
* "STRING_VALUE",
|
|
50
50
|
* ],
|
|
51
|
-
* sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA", // required
|
|
51
|
+
* sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA" || "EKS_AUDIT" || "WAF", // required
|
|
52
52
|
* sourceVersion: "STRING_VALUE",
|
|
53
53
|
* },
|
|
54
54
|
* ],
|
|
@@ -36,12 +36,12 @@ declare const DeleteDataLakeOrganizationConfigurationCommand_base: {
|
|
|
36
36
|
* // const { SecurityLakeClient, DeleteDataLakeOrganizationConfigurationCommand } = require("@aws-sdk/client-securitylake"); // CommonJS import
|
|
37
37
|
* const client = new SecurityLakeClient(config);
|
|
38
38
|
* const input = { // DeleteDataLakeOrganizationConfigurationRequest
|
|
39
|
-
* autoEnableNewAccount: [ // DataLakeAutoEnableNewAccountConfigurationList
|
|
39
|
+
* autoEnableNewAccount: [ // DataLakeAutoEnableNewAccountConfigurationList
|
|
40
40
|
* { // DataLakeAutoEnableNewAccountConfiguration
|
|
41
41
|
* region: "STRING_VALUE", // required
|
|
42
42
|
* sources: [ // AwsLogSourceResourceList // required
|
|
43
43
|
* { // AwsLogSourceResource
|
|
44
|
-
* sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA",
|
|
44
|
+
* sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA" || "EKS_AUDIT" || "WAF",
|
|
45
45
|
* sourceVersion: "STRING_VALUE",
|
|
46
46
|
* },
|
|
47
47
|
* ],
|
|
@@ -44,7 +44,7 @@ declare const GetDataLakeOrganizationConfigurationCommand_base: {
|
|
|
44
44
|
* // region: "STRING_VALUE", // required
|
|
45
45
|
* // sources: [ // AwsLogSourceResourceList // required
|
|
46
46
|
* // { // AwsLogSourceResource
|
|
47
|
-
* // sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA",
|
|
47
|
+
* // sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA" || "EKS_AUDIT" || "WAF",
|
|
48
48
|
* // sourceVersion: "STRING_VALUE",
|
|
49
49
|
* // },
|
|
50
50
|
* // ],
|
|
@@ -52,7 +52,7 @@ declare const GetSubscriberCommand_base: {
|
|
|
52
52
|
* // sources: [ // LogSourceResourceList // required
|
|
53
53
|
* // { // LogSourceResource Union: only one key present
|
|
54
54
|
* // awsLogSource: { // AwsLogSourceResource
|
|
55
|
-
* // sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA",
|
|
55
|
+
* // sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA" || "EKS_AUDIT" || "WAF",
|
|
56
56
|
* // sourceVersion: "STRING_VALUE",
|
|
57
57
|
* // },
|
|
58
58
|
* // customLogSource: { // CustomLogSourceResource
|
|
@@ -43,7 +43,7 @@ declare const ListLogSourcesCommand_base: {
|
|
|
43
43
|
* sources: [ // LogSourceResourceList
|
|
44
44
|
* { // LogSourceResource Union: only one key present
|
|
45
45
|
* awsLogSource: { // AwsLogSourceResource
|
|
46
|
-
* sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA",
|
|
46
|
+
* sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA" || "EKS_AUDIT" || "WAF",
|
|
47
47
|
* sourceVersion: "STRING_VALUE",
|
|
48
48
|
* },
|
|
49
49
|
* customLogSource: { // CustomLogSourceResource
|
|
@@ -74,7 +74,7 @@ declare const ListLogSourcesCommand_base: {
|
|
|
74
74
|
* // sources: [ // LogSourceResourceList
|
|
75
75
|
* // { // LogSourceResource Union: only one key present
|
|
76
76
|
* // awsLogSource: { // AwsLogSourceResource
|
|
77
|
-
* // sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA",
|
|
77
|
+
* // sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA" || "EKS_AUDIT" || "WAF",
|
|
78
78
|
* // sourceVersion: "STRING_VALUE",
|
|
79
79
|
* // },
|
|
80
80
|
* // customLogSource: { // CustomLogSourceResource
|
|
@@ -54,7 +54,7 @@ declare const ListSubscribersCommand_base: {
|
|
|
54
54
|
* // sources: [ // LogSourceResourceList // required
|
|
55
55
|
* // { // LogSourceResource Union: only one key present
|
|
56
56
|
* // awsLogSource: { // AwsLogSourceResource
|
|
57
|
-
* // sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA",
|
|
57
|
+
* // sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA" || "EKS_AUDIT" || "WAF",
|
|
58
58
|
* // sourceVersion: "STRING_VALUE",
|
|
59
59
|
* // },
|
|
60
60
|
* // customLogSource: { // CustomLogSourceResource
|
|
@@ -45,7 +45,7 @@ declare const UpdateSubscriberCommand_base: {
|
|
|
45
45
|
* sources: [ // LogSourceResourceList
|
|
46
46
|
* { // LogSourceResource Union: only one key present
|
|
47
47
|
* awsLogSource: { // AwsLogSourceResource
|
|
48
|
-
* sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA",
|
|
48
|
+
* sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA" || "EKS_AUDIT" || "WAF",
|
|
49
49
|
* sourceVersion: "STRING_VALUE",
|
|
50
50
|
* },
|
|
51
51
|
* customLogSource: { // CustomLogSourceResource
|
|
@@ -79,7 +79,7 @@ declare const UpdateSubscriberCommand_base: {
|
|
|
79
79
|
* // sources: [ // LogSourceResourceList // required
|
|
80
80
|
* // { // LogSourceResource Union: only one key present
|
|
81
81
|
* // awsLogSource: { // AwsLogSourceResource
|
|
82
|
-
* // sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA",
|
|
82
|
+
* // sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA" || "EKS_AUDIT" || "WAF",
|
|
83
83
|
* // sourceVersion: "STRING_VALUE",
|
|
84
84
|
* // },
|
|
85
85
|
* // customLogSource: { // CustomLogSourceResource
|
|
@@ -54,11 +54,13 @@ export interface AwsIdentity {
|
|
|
54
54
|
*/
|
|
55
55
|
export declare const AwsLogSourceName: {
|
|
56
56
|
readonly CLOUD_TRAIL_MGMT: "CLOUD_TRAIL_MGMT";
|
|
57
|
+
readonly EKS_AUDIT: "EKS_AUDIT";
|
|
57
58
|
readonly LAMBDA_EXECUTION: "LAMBDA_EXECUTION";
|
|
58
59
|
readonly ROUTE53: "ROUTE53";
|
|
59
60
|
readonly S3_DATA: "S3_DATA";
|
|
60
61
|
readonly SH_FINDINGS: "SH_FINDINGS";
|
|
61
62
|
readonly VPC_FLOW: "VPC_FLOW";
|
|
63
|
+
readonly WAF: "WAF";
|
|
62
64
|
};
|
|
63
65
|
/**
|
|
64
66
|
* @public
|
|
@@ -442,7 +444,7 @@ export interface CreateCustomLogSourceRequest {
|
|
|
442
444
|
* @public
|
|
443
445
|
* <p>The configuration for the third-party custom source.</p>
|
|
444
446
|
*/
|
|
445
|
-
configuration
|
|
447
|
+
configuration: CustomLogSourceConfiguration | undefined;
|
|
446
448
|
}
|
|
447
449
|
/**
|
|
448
450
|
* @public
|
|
@@ -848,7 +850,7 @@ export interface CreateDataLakeOrganizationConfigurationRequest {
|
|
|
848
850
|
* <p>Enable Security Lake with the specified configuration settings, to begin collecting security
|
|
849
851
|
* data for new accounts in your organization.</p>
|
|
850
852
|
*/
|
|
851
|
-
autoEnableNewAccount
|
|
853
|
+
autoEnableNewAccount?: DataLakeAutoEnableNewAccountConfiguration[];
|
|
852
854
|
}
|
|
853
855
|
/**
|
|
854
856
|
* @public
|
|
@@ -1240,7 +1242,7 @@ export interface DeleteDataLakeOrganizationConfigurationRequest {
|
|
|
1240
1242
|
* @public
|
|
1241
1243
|
* <p>Turns off automatic enablement of Security Lake for member accounts that are added to an organization.</p>
|
|
1242
1244
|
*/
|
|
1243
|
-
autoEnableNewAccount
|
|
1245
|
+
autoEnableNewAccount?: DataLakeAutoEnableNewAccountConfiguration[];
|
|
1244
1246
|
}
|
|
1245
1247
|
/**
|
|
1246
1248
|
* @public
|
|
@@ -1614,6 +1616,13 @@ export interface UpdateDataLakeRequest {
|
|
|
1614
1616
|
* <p>Specify the Region or Regions that will contribute data to the rollup region.</p>
|
|
1615
1617
|
*/
|
|
1616
1618
|
configurations: DataLakeConfiguration[] | undefined;
|
|
1619
|
+
/**
|
|
1620
|
+
* @public
|
|
1621
|
+
* <p>The Amazon Resource Name (ARN) used to create and update the Glue table.
|
|
1622
|
+
* This table contains partitions generated by the ingestion and normalization of
|
|
1623
|
+
* Amazon Web Services log sources and custom sources.</p>
|
|
1624
|
+
*/
|
|
1625
|
+
metaStoreManagerRoleArn?: string;
|
|
1617
1626
|
}
|
|
1618
1627
|
/**
|
|
1619
1628
|
* @public
|
|
@@ -1828,7 +1837,7 @@ export interface ListSubscribersResponse {
|
|
|
1828
1837
|
export interface ListTagsForResourceRequest {
|
|
1829
1838
|
/**
|
|
1830
1839
|
* @public
|
|
1831
|
-
* <p>The Amazon Resource Name (ARN) of the Amazon Security Lake resource to retrieve the tags
|
|
1840
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon Security Lake resource for which you want to retrieve the tags.</p>
|
|
1832
1841
|
*/
|
|
1833
1842
|
resourceArn: string | undefined;
|
|
1834
1843
|
}
|
|
@@ -19,11 +19,13 @@ export interface AwsIdentity {
|
|
|
19
19
|
}
|
|
20
20
|
export declare const AwsLogSourceName: {
|
|
21
21
|
readonly CLOUD_TRAIL_MGMT: "CLOUD_TRAIL_MGMT";
|
|
22
|
+
readonly EKS_AUDIT: "EKS_AUDIT";
|
|
22
23
|
readonly LAMBDA_EXECUTION: "LAMBDA_EXECUTION";
|
|
23
24
|
readonly ROUTE53: "ROUTE53";
|
|
24
25
|
readonly S3_DATA: "S3_DATA";
|
|
25
26
|
readonly SH_FINDINGS: "SH_FINDINGS";
|
|
26
27
|
readonly VPC_FLOW: "VPC_FLOW";
|
|
28
|
+
readonly WAF: "WAF";
|
|
27
29
|
};
|
|
28
30
|
export type AwsLogSourceName =
|
|
29
31
|
(typeof AwsLogSourceName)[keyof typeof AwsLogSourceName];
|
|
@@ -98,7 +100,7 @@ export interface CreateCustomLogSourceRequest {
|
|
|
98
100
|
sourceName: string | undefined;
|
|
99
101
|
sourceVersion?: string;
|
|
100
102
|
eventClasses?: string[];
|
|
101
|
-
configuration
|
|
103
|
+
configuration: CustomLogSourceConfiguration | undefined;
|
|
102
104
|
}
|
|
103
105
|
export interface CustomLogSourceAttributes {
|
|
104
106
|
crawlerArn?: string;
|
|
@@ -192,7 +194,7 @@ export interface DataLakeAutoEnableNewAccountConfiguration {
|
|
|
192
194
|
sources: AwsLogSourceResource[] | undefined;
|
|
193
195
|
}
|
|
194
196
|
export interface CreateDataLakeOrganizationConfigurationRequest {
|
|
195
|
-
autoEnableNewAccount
|
|
197
|
+
autoEnableNewAccount?: DataLakeAutoEnableNewAccountConfiguration[];
|
|
196
198
|
}
|
|
197
199
|
export interface CreateDataLakeOrganizationConfigurationResponse {}
|
|
198
200
|
export type LogSourceResource =
|
|
@@ -323,7 +325,7 @@ export interface DeleteDataLakeRequest {
|
|
|
323
325
|
}
|
|
324
326
|
export interface DeleteDataLakeResponse {}
|
|
325
327
|
export interface DeleteDataLakeOrganizationConfigurationRequest {
|
|
326
|
-
autoEnableNewAccount
|
|
328
|
+
autoEnableNewAccount?: DataLakeAutoEnableNewAccountConfiguration[];
|
|
327
329
|
}
|
|
328
330
|
export interface DeleteDataLakeOrganizationConfigurationResponse {}
|
|
329
331
|
export interface GetDataLakeOrganizationConfigurationRequest {}
|
|
@@ -381,6 +383,7 @@ export interface ListLogSourcesResponse {
|
|
|
381
383
|
}
|
|
382
384
|
export interface UpdateDataLakeRequest {
|
|
383
385
|
configurations: DataLakeConfiguration[] | undefined;
|
|
386
|
+
metaStoreManagerRoleArn?: string;
|
|
384
387
|
}
|
|
385
388
|
export interface UpdateDataLakeResponse {
|
|
386
389
|
dataLakes?: DataLakeResource[];
|
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.
|
|
4
|
+
"version": "3.529.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,40 +20,40 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.529.0",
|
|
24
|
+
"@aws-sdk/core": "3.529.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.529.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.523.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.523.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.523.0",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.525.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.525.0",
|
|
31
31
|
"@aws-sdk/types": "3.523.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.525.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.523.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.1.
|
|
36
|
-
"@smithy/core": "^1.3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.525.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.1.4",
|
|
36
|
+
"@smithy/core": "^1.3.5",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.4.3",
|
|
38
38
|
"@smithy/hash-node": "^2.1.3",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.1.3",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.1.3",
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.4.
|
|
42
|
-
"@smithy/middleware-retry": "^2.1.
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.4.4",
|
|
42
|
+
"@smithy/middleware-retry": "^2.1.4",
|
|
43
43
|
"@smithy/middleware-serde": "^2.1.3",
|
|
44
44
|
"@smithy/middleware-stack": "^2.1.3",
|
|
45
|
-
"@smithy/node-config-provider": "^2.2.
|
|
45
|
+
"@smithy/node-config-provider": "^2.2.4",
|
|
46
46
|
"@smithy/node-http-handler": "^2.4.1",
|
|
47
47
|
"@smithy/protocol-http": "^3.2.1",
|
|
48
|
-
"@smithy/smithy-client": "^2.4.
|
|
48
|
+
"@smithy/smithy-client": "^2.4.2",
|
|
49
49
|
"@smithy/types": "^2.10.1",
|
|
50
50
|
"@smithy/url-parser": "^2.1.3",
|
|
51
51
|
"@smithy/util-base64": "^2.1.1",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.1.1",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.1.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.2.
|
|
56
|
-
"@smithy/util-endpoints": "^1.1.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.1.4",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.2.3",
|
|
56
|
+
"@smithy/util-endpoints": "^1.1.4",
|
|
57
57
|
"@smithy/util-middleware": "^2.1.3",
|
|
58
58
|
"@smithy/util-retry": "^2.1.3",
|
|
59
59
|
"@smithy/util-utf8": "^2.1.1",
|
package/dist-cjs/SecurityLake.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|