@aws-sdk/client-securitylake 3.928.0 → 3.930.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 +1131 -1213
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/SecurityLakeClient.js +2 -0
- package/dist-es/commands/CreateAwsLogSourceCommand.js +3 -9
- package/dist-es/commands/CreateCustomLogSourceCommand.js +3 -9
- package/dist-es/commands/CreateDataLakeCommand.js +3 -9
- package/dist-es/commands/CreateDataLakeExceptionSubscriptionCommand.js +3 -9
- package/dist-es/commands/CreateDataLakeOrganizationConfigurationCommand.js +3 -9
- package/dist-es/commands/CreateSubscriberCommand.js +3 -9
- package/dist-es/commands/CreateSubscriberNotificationCommand.js +3 -9
- package/dist-es/commands/DeleteAwsLogSourceCommand.js +3 -9
- package/dist-es/commands/DeleteCustomLogSourceCommand.js +3 -9
- package/dist-es/commands/DeleteDataLakeCommand.js +3 -9
- package/dist-es/commands/DeleteDataLakeExceptionSubscriptionCommand.js +3 -9
- package/dist-es/commands/DeleteDataLakeOrganizationConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteSubscriberCommand.js +3 -9
- package/dist-es/commands/DeleteSubscriberNotificationCommand.js +3 -9
- package/dist-es/commands/DeregisterDataLakeDelegatedAdministratorCommand.js +3 -9
- package/dist-es/commands/GetDataLakeExceptionSubscriptionCommand.js +3 -9
- package/dist-es/commands/GetDataLakeOrganizationConfigurationCommand.js +3 -9
- package/dist-es/commands/GetDataLakeSourcesCommand.js +3 -9
- package/dist-es/commands/GetSubscriberCommand.js +3 -9
- package/dist-es/commands/ListDataLakeExceptionsCommand.js +3 -9
- package/dist-es/commands/ListDataLakesCommand.js +3 -9
- package/dist-es/commands/ListLogSourcesCommand.js +3 -9
- package/dist-es/commands/ListSubscribersCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/RegisterDataLakeDelegatedAdministratorCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateDataLakeCommand.js +3 -9
- package/dist-es/commands/UpdateDataLakeExceptionSubscriptionCommand.js +3 -9
- package/dist-es/commands/UpdateSubscriberCommand.js +3 -9
- package/dist-es/commands/UpdateSubscriberNotificationCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -20
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1061 -0
- package/dist-types/SecurityLakeClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +8 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +148 -0
- package/dist-types/ts3.4/SecurityLakeClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +153 -0
- package/package.json +33 -33
- package/dist-es/protocols/Aws_restJson1.js +0 -965
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -281
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -377
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListSubscribers } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListSubscribersCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SecurityLake", "ListSubscribers", {})
|
|
17
13
|
.n("SecurityLakeClient", "ListSubscribersCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListSubscribersCommand)
|
|
20
|
-
.de(de_ListSubscribersCommand)
|
|
14
|
+
.sc(ListSubscribers)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListTagsForResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListTagsForResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SecurityLake", "ListTagsForResource", {})
|
|
17
13
|
.n("SecurityLakeClient", "ListTagsForResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListTagsForResourceCommand)
|
|
20
|
-
.de(de_ListTagsForResourceCommand)
|
|
14
|
+
.sc(ListTagsForResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { RegisterDataLakeDelegatedAdministrator } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RegisterDataLakeDelegatedAdministratorCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SecurityLake", "RegisterDataLakeDelegatedAdministrator", {})
|
|
17
13
|
.n("SecurityLakeClient", "RegisterDataLakeDelegatedAdministratorCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RegisterDataLakeDelegatedAdministratorCommand)
|
|
20
|
-
.de(de_RegisterDataLakeDelegatedAdministratorCommand)
|
|
14
|
+
.sc(RegisterDataLakeDelegatedAdministrator)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SecurityLake", "TagResource", {})
|
|
17
13
|
.n("SecurityLakeClient", "TagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourceCommand)
|
|
20
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SecurityLake", "UntagResource", {})
|
|
17
13
|
.n("SecurityLakeClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateDataLake } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateDataLakeCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SecurityLake", "UpdateDataLake", {})
|
|
17
13
|
.n("SecurityLakeClient", "UpdateDataLakeCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateDataLakeCommand)
|
|
20
|
-
.de(de_UpdateDataLakeCommand)
|
|
14
|
+
.sc(UpdateDataLake)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateDataLakeExceptionSubscription } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateDataLakeExceptionSubscriptionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SecurityLake", "UpdateDataLakeExceptionSubscription", {})
|
|
17
13
|
.n("SecurityLakeClient", "UpdateDataLakeExceptionSubscriptionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateDataLakeExceptionSubscriptionCommand)
|
|
20
|
-
.de(de_UpdateDataLakeExceptionSubscriptionCommand)
|
|
14
|
+
.sc(UpdateDataLakeExceptionSubscription)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateSubscriber } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateSubscriberCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SecurityLake", "UpdateSubscriber", {})
|
|
17
13
|
.n("SecurityLakeClient", "UpdateSubscriberCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateSubscriberCommand)
|
|
20
|
-
.de(de_UpdateSubscriberCommand)
|
|
14
|
+
.sc(UpdateSubscriber)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateSubscriberNotification } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateSubscriberNotificationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SecurityLake", "UpdateSubscriberNotification", {})
|
|
17
13
|
.n("SecurityLakeClient", "UpdateSubscriberNotificationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateSubscriberNotificationCommand)
|
|
20
|
-
.de(de_UpdateSubscriberNotificationCommand)
|
|
14
|
+
.sc(UpdateSubscriberNotification)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -111,16 +111,6 @@ export const DataLakeStatus = {
|
|
|
111
111
|
INITIALIZED: "INITIALIZED",
|
|
112
112
|
PENDING: "PENDING",
|
|
113
113
|
};
|
|
114
|
-
export var LogSourceResource;
|
|
115
|
-
(function (LogSourceResource) {
|
|
116
|
-
LogSourceResource.visit = (value, visitor) => {
|
|
117
|
-
if (value.awsLogSource !== undefined)
|
|
118
|
-
return visitor.awsLogSource(value.awsLogSource);
|
|
119
|
-
if (value.customLogSource !== undefined)
|
|
120
|
-
return visitor.customLogSource(value.customLogSource);
|
|
121
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
122
|
-
};
|
|
123
|
-
})(LogSourceResource || (LogSourceResource = {}));
|
|
124
114
|
export const SubscriberStatus = {
|
|
125
115
|
ACTIVE: "ACTIVE",
|
|
126
116
|
DEACTIVATED: "DEACTIVATED",
|
|
@@ -131,16 +121,6 @@ export const HttpMethod = {
|
|
|
131
121
|
POST: "POST",
|
|
132
122
|
PUT: "PUT",
|
|
133
123
|
};
|
|
134
|
-
export var NotificationConfiguration;
|
|
135
|
-
(function (NotificationConfiguration) {
|
|
136
|
-
NotificationConfiguration.visit = (value, visitor) => {
|
|
137
|
-
if (value.sqsNotificationConfiguration !== undefined)
|
|
138
|
-
return visitor.sqsNotificationConfiguration(value.sqsNotificationConfiguration);
|
|
139
|
-
if (value.httpsNotificationConfiguration !== undefined)
|
|
140
|
-
return visitor.httpsNotificationConfiguration(value.httpsNotificationConfiguration);
|
|
141
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
142
|
-
};
|
|
143
|
-
})(NotificationConfiguration || (NotificationConfiguration = {}));
|
|
144
124
|
export const SourceCollectionStatus = {
|
|
145
125
|
COLLECTING: "COLLECTING",
|
|
146
126
|
MISCONFIGURED: "MISCONFIGURED",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.securitylake" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "SecurityLake",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|