@aws-sdk/client-securitylake 3.338.0 → 3.342.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/README.md +39 -60
- package/dist-cjs/SecurityLake.js +36 -40
- package/dist-cjs/commands/{UpdateDatalakeCommand.js → CreateDataLakeCommand.js} +7 -7
- package/dist-cjs/commands/CreateDataLakeExceptionSubscriptionCommand.js +46 -0
- package/dist-cjs/commands/CreateDataLakeOrganizationConfigurationCommand.js +46 -0
- package/dist-cjs/commands/{DeleteDatalakeDelegatedAdminCommand.js → CreateSubscriberNotificationCommand.js} +7 -7
- package/dist-cjs/commands/{CreateDatalakeCommand.js → DeleteDataLakeCommand.js} +7 -7
- package/dist-cjs/commands/DeleteDataLakeExceptionSubscriptionCommand.js +46 -0
- package/dist-cjs/commands/DeleteDataLakeOrganizationConfigurationCommand.js +46 -0
- package/dist-cjs/commands/{CreateDatalakeDelegatedAdminCommand.js → DeleteSubscriberNotificationCommand.js} +7 -7
- package/dist-cjs/commands/DeregisterDataLakeDelegatedAdministratorCommand.js +46 -0
- package/dist-cjs/commands/{CreateDatalakeAutoEnableCommand.js → GetDataLakeExceptionSubscriptionCommand.js} +7 -7
- package/dist-cjs/commands/{DeleteDatalakeExceptionsSubscriptionCommand.js → GetDataLakeOrganizationConfigurationCommand.js} +7 -7
- package/dist-cjs/commands/{GetDatalakeStatusCommand.js → GetDataLakeSourcesCommand.js} +7 -7
- package/dist-cjs/commands/{ListDatalakeExceptionsCommand.js → ListDataLakeExceptionsCommand.js} +7 -7
- package/dist-cjs/commands/{GetDatalakeCommand.js → ListDataLakesCommand.js} +7 -7
- package/dist-cjs/commands/{CreateDatalakeExceptionsSubscriptionCommand.js → RegisterDataLakeDelegatedAdministratorCommand.js} +7 -7
- package/dist-cjs/commands/{DeleteDatalakeCommand.js → UpdateDataLakeCommand.js} +7 -7
- package/dist-cjs/commands/UpdateDataLakeExceptionSubscriptionCommand.js +46 -0
- package/dist-cjs/commands/{DeleteDatalakeAutoEnableCommand.js → UpdateSubscriberNotificationCommand.js} +7 -7
- package/dist-cjs/commands/index.js +18 -20
- package/dist-cjs/models/models_0.js +43 -235
- package/dist-cjs/pagination/{GetDatalakeStatusPaginator.js → GetDataLakeSourcesPaginator.js} +6 -6
- package/dist-cjs/pagination/{ListDatalakeExceptionsPaginator.js → ListDataLakeExceptionsPaginator.js} +6 -6
- package/dist-cjs/pagination/index.js +2 -2
- package/dist-cjs/protocols/Aws_restJson1.js +531 -769
- package/dist-es/SecurityLake.js +36 -40
- package/dist-es/commands/{UpdateDatalakeCommand.js → CreateDataLakeCommand.js} +6 -6
- package/dist-es/commands/{UpdateDatalakeExceptionsSubscriptionCommand.js → CreateDataLakeExceptionSubscriptionCommand.js} +6 -6
- package/dist-es/commands/CreateDataLakeOrganizationConfigurationCommand.js +42 -0
- package/dist-es/commands/{DeleteDatalakeDelegatedAdminCommand.js → CreateSubscriberNotificationCommand.js} +6 -6
- package/dist-es/commands/{CreateDatalakeCommand.js → DeleteDataLakeCommand.js} +6 -6
- package/dist-es/commands/{CreateDatalakeExceptionsSubscriptionCommand.js → DeleteDataLakeExceptionSubscriptionCommand.js} +6 -6
- package/dist-es/commands/DeleteDataLakeOrganizationConfigurationCommand.js +42 -0
- package/dist-es/commands/{CreateDatalakeDelegatedAdminCommand.js → DeleteSubscriberNotificationCommand.js} +6 -6
- package/dist-es/commands/DeregisterDataLakeDelegatedAdministratorCommand.js +42 -0
- package/dist-es/commands/{GetDatalakeExceptionsSubscriptionCommand.js → GetDataLakeExceptionSubscriptionCommand.js} +6 -6
- package/dist-es/commands/{DeleteDatalakeExceptionsSubscriptionCommand.js → GetDataLakeOrganizationConfigurationCommand.js} +6 -6
- package/dist-es/commands/{GetDatalakeStatusCommand.js → GetDataLakeSourcesCommand.js} +6 -6
- package/dist-es/commands/{ListDatalakeExceptionsCommand.js → ListDataLakeExceptionsCommand.js} +6 -6
- package/dist-es/commands/{GetDatalakeCommand.js → ListDataLakesCommand.js} +6 -6
- package/dist-es/commands/RegisterDataLakeDelegatedAdministratorCommand.js +42 -0
- package/dist-es/commands/{DeleteDatalakeCommand.js → UpdateDataLakeCommand.js} +6 -6
- package/dist-es/commands/{CreateDatalakeAutoEnableCommand.js → UpdateDataLakeExceptionSubscriptionCommand.js} +6 -6
- package/dist-es/commands/{GetDatalakeExceptionsExpiryCommand.js → UpdateSubscriberNotificationCommand.js} +6 -6
- package/dist-es/commands/index.js +18 -20
- package/dist-es/models/models_0.js +41 -224
- package/dist-es/pagination/{GetDatalakeStatusPaginator.js → GetDataLakeSourcesPaginator.js} +4 -4
- package/dist-es/pagination/{ListDatalakeExceptionsPaginator.js → ListDataLakeExceptionsPaginator.js} +4 -4
- package/dist-es/pagination/index.js +2 -2
- package/dist-es/protocols/Aws_restJson1.js +491 -725
- package/dist-types/SecurityLake.d.ts +96 -115
- package/dist-types/SecurityLakeClient.d.ts +24 -31
- package/dist-types/commands/CreateAwsLogSourceCommand.d.ts +22 -41
- package/dist-types/commands/CreateCustomLogSourceCommand.d.ts +39 -23
- package/dist-types/commands/CreateDataLakeCommand.d.ts +172 -0
- package/dist-types/commands/CreateDataLakeExceptionSubscriptionCommand.d.ts +99 -0
- package/dist-types/commands/CreateDataLakeOrganizationConfigurationCommand.d.ts +108 -0
- package/dist-types/commands/CreateSubscriberCommand.d.ts +78 -32
- package/dist-types/commands/CreateSubscriberNotificationCommand.d.ts +110 -0
- package/dist-types/commands/DeleteAwsLogSourceCommand.d.ts +29 -39
- package/dist-types/commands/DeleteCustomLogSourceCommand.d.ts +15 -18
- package/dist-types/commands/{DeleteDatalakeCommand.d.ts → DeleteDataLakeCommand.d.ts} +33 -33
- package/dist-types/commands/DeleteDataLakeExceptionSubscriptionCommand.d.ts +95 -0
- package/dist-types/commands/DeleteDataLakeOrganizationConfigurationCommand.d.ts +110 -0
- package/dist-types/commands/DeleteSubscriberCommand.d.ts +15 -21
- package/dist-types/commands/DeleteSubscriberNotificationCommand.d.ts +97 -0
- package/dist-types/commands/DeregisterDataLakeDelegatedAdministratorCommand.d.ts +96 -0
- package/dist-types/commands/GetDataLakeExceptionSubscriptionCommand.d.ts +98 -0
- package/dist-types/commands/GetDataLakeOrganizationConfigurationCommand.d.ts +108 -0
- package/dist-types/commands/GetDataLakeSourcesCommand.d.ts +119 -0
- package/dist-types/commands/GetSubscriberCommand.d.ts +47 -28
- package/dist-types/commands/{ListDatalakeExceptionsCommand.d.ts → ListDataLakeExceptionsCommand.d.ts} +39 -36
- package/dist-types/commands/ListDataLakesCommand.d.ts +136 -0
- package/dist-types/commands/ListLogSourcesCommand.d.ts +60 -29
- package/dist-types/commands/ListSubscribersCommand.d.ts +46 -30
- package/dist-types/commands/RegisterDataLakeDelegatedAdministratorCommand.d.ts +98 -0
- package/dist-types/commands/UpdateDataLakeCommand.d.ts +158 -0
- package/dist-types/commands/UpdateDataLakeExceptionSubscriptionCommand.d.ts +99 -0
- package/dist-types/commands/UpdateSubscriberCommand.d.ts +73 -42
- package/dist-types/commands/UpdateSubscriberNotificationCommand.d.ts +109 -0
- package/dist-types/commands/index.d.ts +18 -20
- package/dist-types/index.d.ts +4 -9
- package/dist-types/models/models_0.d.ts +985 -906
- package/dist-types/pagination/GetDataLakeSourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDataLakeExceptionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -2
- package/dist-types/protocols/Aws_restJson1.d.ts +94 -112
- package/dist-types/ts3.4/SecurityLake.d.ts +243 -271
- package/dist-types/ts3.4/SecurityLakeClient.d.ts +91 -103
- package/dist-types/ts3.4/commands/{CreateDatalakeCommand.d.ts → CreateDataLakeCommand.d.ts} +11 -11
- package/dist-types/ts3.4/commands/{GetDatalakeExceptionsSubscriptionCommand.d.ts → CreateDataLakeExceptionSubscriptionCommand.d.ts} +13 -13
- package/dist-types/ts3.4/commands/{CreateDatalakeExceptionsSubscriptionCommand.d.ts → CreateDataLakeOrganizationConfigurationCommand.d.ts} +13 -13
- package/dist-types/ts3.4/commands/{DeleteDatalakeDelegatedAdminCommand.d.ts → CreateSubscriberNotificationCommand.d.ts} +13 -13
- package/dist-types/ts3.4/commands/{DeleteDatalakeCommand.d.ts → DeleteDataLakeCommand.d.ts} +11 -11
- package/dist-types/ts3.4/commands/DeleteDataLakeExceptionSubscriptionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteDataLakeOrganizationConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/{CreateDatalakeDelegatedAdminCommand.d.ts → DeleteSubscriberNotificationCommand.d.ts} +13 -13
- package/dist-types/ts3.4/commands/DeregisterDataLakeDelegatedAdministratorCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/{DeleteDatalakeAutoEnableCommand.d.ts → GetDataLakeExceptionSubscriptionCommand.d.ts} +13 -13
- package/dist-types/ts3.4/commands/{DeleteDatalakeExceptionsSubscriptionCommand.d.ts → GetDataLakeOrganizationConfigurationCommand.d.ts} +13 -13
- package/dist-types/ts3.4/commands/GetDataLakeSourcesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/{ListDatalakeExceptionsCommand.d.ts → ListDataLakeExceptionsCommand.d.ts} +13 -13
- package/dist-types/ts3.4/commands/{GetDatalakeStatusCommand.d.ts → ListDataLakesCommand.d.ts} +11 -12
- package/dist-types/ts3.4/commands/RegisterDataLakeDelegatedAdministratorCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/{UpdateDatalakeCommand.d.ts → UpdateDataLakeCommand.d.ts} +11 -11
- package/dist-types/ts3.4/commands/UpdateDataLakeExceptionSubscriptionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/{CreateDatalakeAutoEnableCommand.d.ts → UpdateSubscriberNotificationCommand.d.ts} +13 -13
- package/dist-types/ts3.4/commands/index.d.ts +18 -20
- package/dist-types/ts3.4/models/models_0.d.ts +315 -431
- package/dist-types/ts3.4/pagination/GetDataLakeSourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDataLakeExceptionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -2
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +131 -155
- package/package.json +28 -28
- package/dist-cjs/commands/CreateSubscriptionNotificationConfigurationCommand.js +0 -46
- package/dist-cjs/commands/DeleteSubscriptionNotificationConfigurationCommand.js +0 -46
- package/dist-cjs/commands/GetDatalakeAutoEnableCommand.js +0 -46
- package/dist-cjs/commands/GetDatalakeExceptionsExpiryCommand.js +0 -46
- package/dist-cjs/commands/GetDatalakeExceptionsSubscriptionCommand.js +0 -46
- package/dist-cjs/commands/UpdateDatalakeExceptionsExpiryCommand.js +0 -46
- package/dist-cjs/commands/UpdateDatalakeExceptionsSubscriptionCommand.js +0 -46
- package/dist-cjs/commands/UpdateSubscriptionNotificationConfigurationCommand.js +0 -46
- package/dist-es/commands/CreateSubscriptionNotificationConfigurationCommand.js +0 -42
- package/dist-es/commands/DeleteDatalakeAutoEnableCommand.js +0 -42
- package/dist-es/commands/DeleteSubscriptionNotificationConfigurationCommand.js +0 -42
- package/dist-es/commands/GetDatalakeAutoEnableCommand.js +0 -42
- package/dist-es/commands/UpdateDatalakeExceptionsExpiryCommand.js +0 -42
- package/dist-es/commands/UpdateSubscriptionNotificationConfigurationCommand.js +0 -42
- package/dist-types/commands/CreateDatalakeAutoEnableCommand.d.ts +0 -98
- package/dist-types/commands/CreateDatalakeCommand.d.ts +0 -137
- package/dist-types/commands/CreateDatalakeDelegatedAdminCommand.d.ts +0 -89
- package/dist-types/commands/CreateDatalakeExceptionsSubscriptionCommand.d.ts +0 -91
- package/dist-types/commands/CreateSubscriptionNotificationConfigurationCommand.d.ts +0 -109
- package/dist-types/commands/DeleteDatalakeAutoEnableCommand.d.ts +0 -101
- package/dist-types/commands/DeleteDatalakeDelegatedAdminCommand.d.ts +0 -89
- package/dist-types/commands/DeleteDatalakeExceptionsSubscriptionCommand.d.ts +0 -90
- package/dist-types/commands/DeleteSubscriptionNotificationConfigurationCommand.d.ts +0 -100
- package/dist-types/commands/GetDatalakeAutoEnableCommand.d.ts +0 -98
- package/dist-types/commands/GetDatalakeCommand.d.ts +0 -120
- package/dist-types/commands/GetDatalakeExceptionsExpiryCommand.d.ts +0 -91
- package/dist-types/commands/GetDatalakeExceptionsSubscriptionCommand.d.ts +0 -92
- package/dist-types/commands/GetDatalakeStatusCommand.d.ts +0 -109
- package/dist-types/commands/UpdateDatalakeCommand.d.ts +0 -108
- package/dist-types/commands/UpdateDatalakeExceptionsExpiryCommand.d.ts +0 -91
- package/dist-types/commands/UpdateDatalakeExceptionsSubscriptionCommand.d.ts +0 -91
- package/dist-types/commands/UpdateSubscriptionNotificationConfigurationCommand.d.ts +0 -108
- package/dist-types/pagination/GetDatalakeStatusPaginator.d.ts +0 -7
- package/dist-types/pagination/ListDatalakeExceptionsPaginator.d.ts +0 -7
- package/dist-types/ts3.4/commands/CreateSubscriptionNotificationConfigurationCommand.d.ts +0 -42
- package/dist-types/ts3.4/commands/DeleteSubscriptionNotificationConfigurationCommand.d.ts +0 -42
- package/dist-types/ts3.4/commands/GetDatalakeAutoEnableCommand.d.ts +0 -42
- package/dist-types/ts3.4/commands/GetDatalakeCommand.d.ts +0 -35
- package/dist-types/ts3.4/commands/GetDatalakeExceptionsExpiryCommand.d.ts +0 -42
- package/dist-types/ts3.4/commands/UpdateDatalakeExceptionsExpiryCommand.d.ts +0 -42
- package/dist-types/ts3.4/commands/UpdateDatalakeExceptionsSubscriptionCommand.d.ts +0 -42
- package/dist-types/ts3.4/commands/UpdateSubscriptionNotificationConfigurationCommand.d.ts +0 -42
- package/dist-types/ts3.4/pagination/GetDatalakeStatusPaginator.d.ts +0 -11
- package/dist-types/ts3.4/pagination/ListDatalakeExceptionsPaginator.d.ts +0 -11
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_ListDataLakesCommand, se_ListDataLakesCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export { $Command };
|
|
6
|
-
export class
|
|
6
|
+
export class ListDataLakesCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
8
8
|
return {
|
|
9
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -18,11 +18,11 @@ export class GetDatalakeCommand extends $Command {
|
|
|
18
18
|
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListDataLakesCommand.getEndpointParameterInstructions()));
|
|
22
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
23
23
|
const { logger } = configuration;
|
|
24
24
|
const clientName = "SecurityLakeClient";
|
|
25
|
-
const commandName = "
|
|
25
|
+
const commandName = "ListDataLakesCommand";
|
|
26
26
|
const handlerExecutionContext = {
|
|
27
27
|
logger,
|
|
28
28
|
clientName,
|
|
@@ -34,9 +34,9 @@ export class GetDatalakeCommand extends $Command {
|
|
|
34
34
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
35
|
}
|
|
36
36
|
serialize(input, context) {
|
|
37
|
-
return
|
|
37
|
+
return se_ListDataLakesCommand(input, context);
|
|
38
38
|
}
|
|
39
39
|
deserialize(output, context) {
|
|
40
|
-
return
|
|
40
|
+
return de_ListDataLakesCommand(output, context);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_RegisterDataLakeDelegatedAdministratorCommand, se_RegisterDataLakeDelegatedAdministratorCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class RegisterDataLakeDelegatedAdministratorCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, RegisterDataLakeDelegatedAdministratorCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "SecurityLakeClient";
|
|
25
|
+
const commandName = "RegisterDataLakeDelegatedAdministratorCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_RegisterDataLakeDelegatedAdministratorCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_RegisterDataLakeDelegatedAdministratorCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_UpdateDataLakeCommand, se_UpdateDataLakeCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export { $Command };
|
|
6
|
-
export class
|
|
6
|
+
export class UpdateDataLakeCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
8
8
|
return {
|
|
9
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -18,11 +18,11 @@ export class DeleteDatalakeCommand extends $Command {
|
|
|
18
18
|
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateDataLakeCommand.getEndpointParameterInstructions()));
|
|
22
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
23
23
|
const { logger } = configuration;
|
|
24
24
|
const clientName = "SecurityLakeClient";
|
|
25
|
-
const commandName = "
|
|
25
|
+
const commandName = "UpdateDataLakeCommand";
|
|
26
26
|
const handlerExecutionContext = {
|
|
27
27
|
logger,
|
|
28
28
|
clientName,
|
|
@@ -34,9 +34,9 @@ export class DeleteDatalakeCommand extends $Command {
|
|
|
34
34
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
35
|
}
|
|
36
36
|
serialize(input, context) {
|
|
37
|
-
return
|
|
37
|
+
return se_UpdateDataLakeCommand(input, context);
|
|
38
38
|
}
|
|
39
39
|
deserialize(output, context) {
|
|
40
|
-
return
|
|
40
|
+
return de_UpdateDataLakeCommand(output, context);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_UpdateDataLakeExceptionSubscriptionCommand, se_UpdateDataLakeExceptionSubscriptionCommand, } from "../protocols/Aws_restJson1";
|
|
5
5
|
export { $Command };
|
|
6
|
-
export class
|
|
6
|
+
export class UpdateDataLakeExceptionSubscriptionCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
8
8
|
return {
|
|
9
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -18,11 +18,11 @@ export class CreateDatalakeAutoEnableCommand extends $Command {
|
|
|
18
18
|
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateDataLakeExceptionSubscriptionCommand.getEndpointParameterInstructions()));
|
|
22
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
23
23
|
const { logger } = configuration;
|
|
24
24
|
const clientName = "SecurityLakeClient";
|
|
25
|
-
const commandName = "
|
|
25
|
+
const commandName = "UpdateDataLakeExceptionSubscriptionCommand";
|
|
26
26
|
const handlerExecutionContext = {
|
|
27
27
|
logger,
|
|
28
28
|
clientName,
|
|
@@ -34,9 +34,9 @@ export class CreateDatalakeAutoEnableCommand extends $Command {
|
|
|
34
34
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
35
|
}
|
|
36
36
|
serialize(input, context) {
|
|
37
|
-
return
|
|
37
|
+
return se_UpdateDataLakeExceptionSubscriptionCommand(input, context);
|
|
38
38
|
}
|
|
39
39
|
deserialize(output, context) {
|
|
40
|
-
return
|
|
40
|
+
return de_UpdateDataLakeExceptionSubscriptionCommand(output, context);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_UpdateSubscriberNotificationCommand, se_UpdateSubscriberNotificationCommand, } from "../protocols/Aws_restJson1";
|
|
5
5
|
export { $Command };
|
|
6
|
-
export class
|
|
6
|
+
export class UpdateSubscriberNotificationCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
8
8
|
return {
|
|
9
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -18,11 +18,11 @@ export class GetDatalakeExceptionsExpiryCommand extends $Command {
|
|
|
18
18
|
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateSubscriberNotificationCommand.getEndpointParameterInstructions()));
|
|
22
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
23
23
|
const { logger } = configuration;
|
|
24
24
|
const clientName = "SecurityLakeClient";
|
|
25
|
-
const commandName = "
|
|
25
|
+
const commandName = "UpdateSubscriberNotificationCommand";
|
|
26
26
|
const handlerExecutionContext = {
|
|
27
27
|
logger,
|
|
28
28
|
clientName,
|
|
@@ -34,9 +34,9 @@ export class GetDatalakeExceptionsExpiryCommand extends $Command {
|
|
|
34
34
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
35
|
}
|
|
36
36
|
serialize(input, context) {
|
|
37
|
-
return
|
|
37
|
+
return se_UpdateSubscriberNotificationCommand(input, context);
|
|
38
38
|
}
|
|
39
39
|
deserialize(output, context) {
|
|
40
|
-
return
|
|
40
|
+
return de_UpdateSubscriberNotificationCommand(output, context);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -1,30 +1,28 @@
|
|
|
1
1
|
export * from "./CreateAwsLogSourceCommand";
|
|
2
2
|
export * from "./CreateCustomLogSourceCommand";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./CreateDatalakeExceptionsSubscriptionCommand";
|
|
3
|
+
export * from "./CreateDataLakeCommand";
|
|
4
|
+
export * from "./CreateDataLakeExceptionSubscriptionCommand";
|
|
5
|
+
export * from "./CreateDataLakeOrganizationConfigurationCommand";
|
|
7
6
|
export * from "./CreateSubscriberCommand";
|
|
8
|
-
export * from "./
|
|
7
|
+
export * from "./CreateSubscriberNotificationCommand";
|
|
9
8
|
export * from "./DeleteAwsLogSourceCommand";
|
|
10
9
|
export * from "./DeleteCustomLogSourceCommand";
|
|
11
|
-
export * from "./
|
|
12
|
-
export * from "./
|
|
13
|
-
export * from "./
|
|
14
|
-
export * from "./DeleteDatalakeExceptionsSubscriptionCommand";
|
|
10
|
+
export * from "./DeleteDataLakeCommand";
|
|
11
|
+
export * from "./DeleteDataLakeExceptionSubscriptionCommand";
|
|
12
|
+
export * from "./DeleteDataLakeOrganizationConfigurationCommand";
|
|
15
13
|
export * from "./DeleteSubscriberCommand";
|
|
16
|
-
export * from "./
|
|
17
|
-
export * from "./
|
|
18
|
-
export * from "./
|
|
19
|
-
export * from "./
|
|
20
|
-
export * from "./
|
|
21
|
-
export * from "./GetDatalakeStatusCommand";
|
|
14
|
+
export * from "./DeleteSubscriberNotificationCommand";
|
|
15
|
+
export * from "./DeregisterDataLakeDelegatedAdministratorCommand";
|
|
16
|
+
export * from "./GetDataLakeExceptionSubscriptionCommand";
|
|
17
|
+
export * from "./GetDataLakeOrganizationConfigurationCommand";
|
|
18
|
+
export * from "./GetDataLakeSourcesCommand";
|
|
22
19
|
export * from "./GetSubscriberCommand";
|
|
23
|
-
export * from "./
|
|
20
|
+
export * from "./ListDataLakeExceptionsCommand";
|
|
21
|
+
export * from "./ListDataLakesCommand";
|
|
24
22
|
export * from "./ListLogSourcesCommand";
|
|
25
23
|
export * from "./ListSubscribersCommand";
|
|
26
|
-
export * from "./
|
|
27
|
-
export * from "./
|
|
28
|
-
export * from "./
|
|
24
|
+
export * from "./RegisterDataLakeDelegatedAdministratorCommand";
|
|
25
|
+
export * from "./UpdateDataLakeCommand";
|
|
26
|
+
export * from "./UpdateDataLakeExceptionSubscriptionCommand";
|
|
29
27
|
export * from "./UpdateSubscriberCommand";
|
|
30
|
-
export * from "./
|
|
28
|
+
export * from "./UpdateSubscriberNotificationCommand";
|
|
@@ -16,96 +16,24 @@ export const AccessType = {
|
|
|
16
16
|
LAKEFORMATION: "LAKEFORMATION",
|
|
17
17
|
S3: "S3",
|
|
18
18
|
};
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
name: "AccountNotFoundException",
|
|
23
|
-
$fault: "client",
|
|
24
|
-
...opts,
|
|
25
|
-
});
|
|
26
|
-
this.name = "AccountNotFoundException";
|
|
27
|
-
this.$fault = "client";
|
|
28
|
-
Object.setPrototypeOf(this, AccountNotFoundException.prototype);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
export const OcsfEventClass = {
|
|
32
|
-
ACCESS_ACTIVITY: "ACCESS_ACTIVITY",
|
|
33
|
-
ACCOUNT_CHANGE: "ACCOUNT_CHANGE",
|
|
34
|
-
AUTHENTICATION: "AUTHENTICATION",
|
|
35
|
-
AUTHORIZATION: "AUTHORIZATION",
|
|
36
|
-
CLOUD_API: "CLOUD_API",
|
|
37
|
-
CLOUD_STORAGE: "CLOUD_STORAGE",
|
|
38
|
-
CONFIG_STATE: "CONFIG_STATE",
|
|
39
|
-
CONTAINER_LIFECYCLE: "CONTAINER_LIFECYCLE",
|
|
40
|
-
DATABASE_LIFECYCLE: "DATABASE_LIFECYCLE",
|
|
41
|
-
DHCP_ACTIVITY: "DHCP_ACTIVITY",
|
|
42
|
-
DNS_ACTIVITY: "DNS_ACTIVITY",
|
|
43
|
-
ENTITY_MANAGEMENT_AUDIT: "ENTITY_MANAGEMENT_AUDIT",
|
|
44
|
-
FILE_ACTIVITY: "FILE_ACTIVITY",
|
|
45
|
-
FTP_ACTIVITY: "FTP_ACTIVITY",
|
|
46
|
-
HTTP_ACTIVITY: "HTTP_ACTIVITY",
|
|
47
|
-
INVENTORY_INFO: "INVENTORY_INFO",
|
|
48
|
-
KERNEL_ACTIVITY: "KERNEL_ACTIVITY",
|
|
49
|
-
KERNEL_EXTENSION: "KERNEL_EXTENSION",
|
|
50
|
-
MEMORY_ACTIVITY: "MEMORY_ACTIVITY",
|
|
51
|
-
MODULE_ACTIVITY: "MODULE_ACTIVITY",
|
|
52
|
-
NETWORK_ACTIVITY: "NETWORK_ACTIVITY",
|
|
53
|
-
PROCESS_ACTIVITY: "PROCESS_ACTIVITY",
|
|
54
|
-
RDP_ACTIVITY: "RDP_ACTIVITY",
|
|
55
|
-
REGISTRY_KEY_ACTIVITY: "REGISTRY_KEY_ACTIVITY",
|
|
56
|
-
REGISTRY_VALUE_ACTIVITY: "REGISTRY_VALUE_ACTIVITY",
|
|
57
|
-
RESOURCE_ACTIVITY: "RESOURCE_ACTIVITY",
|
|
58
|
-
RFB_ACTIVITY: "RFB_ACTIVITY",
|
|
59
|
-
SCHEDULED_JOB_ACTIVITY: "SCHEDULED_JOB_ACTIVITY",
|
|
60
|
-
SECURITY_FINDING: "SECURITY_FINDING",
|
|
61
|
-
SMB_ACTIVITY: "SMB_ACTIVITY",
|
|
62
|
-
SMTP_ACTIVITY: "SMTP_ACTIVITY",
|
|
63
|
-
SSH_ACTIVITY: "SSH_ACTIVITY",
|
|
64
|
-
VIRTUAL_MACHINE_ACTIVITY: "VIRTUAL_MACHINE_ACTIVITY",
|
|
65
|
-
};
|
|
66
|
-
export const SourceStatus = {
|
|
67
|
-
ACTIVE: "ACTIVE",
|
|
68
|
-
DEACTIVATED: "DEACTIVATED",
|
|
69
|
-
PENDING: "PENDING",
|
|
70
|
-
};
|
|
71
|
-
export const Region = {
|
|
72
|
-
AP_NORTHEAST_1: "ap-northeast-1",
|
|
73
|
-
AP_SOUTHEAST_2: "ap-southeast-2",
|
|
74
|
-
EU_CENTRAL_1: "eu-central-1",
|
|
75
|
-
EU_WEST_1: "eu-west-1",
|
|
76
|
-
US_EAST_1: "us-east-1",
|
|
77
|
-
US_EAST_2: "us-east-2",
|
|
78
|
-
US_WEST_2: "us-west-2",
|
|
79
|
-
};
|
|
80
|
-
export const AwsLogSourceType = {
|
|
81
|
-
CLOUD_TRAIL: "CLOUD_TRAIL",
|
|
19
|
+
export const AwsLogSourceName = {
|
|
20
|
+
CLOUD_TRAIL_MGMT: "CLOUD_TRAIL_MGMT",
|
|
21
|
+
LAMBDA_EXECUTION: "LAMBDA_EXECUTION",
|
|
82
22
|
ROUTE53: "ROUTE53",
|
|
23
|
+
S3_DATA: "S3_DATA",
|
|
83
24
|
SH_FINDINGS: "SH_FINDINGS",
|
|
84
25
|
VPC_FLOW: "VPC_FLOW",
|
|
85
26
|
};
|
|
86
|
-
export class
|
|
27
|
+
export class BadRequestException extends __BaseException {
|
|
87
28
|
constructor(opts) {
|
|
88
29
|
super({
|
|
89
|
-
name: "
|
|
30
|
+
name: "BadRequestException",
|
|
90
31
|
$fault: "client",
|
|
91
32
|
...opts,
|
|
92
33
|
});
|
|
93
|
-
this.name = "
|
|
34
|
+
this.name = "BadRequestException";
|
|
94
35
|
this.$fault = "client";
|
|
95
|
-
Object.setPrototypeOf(this,
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
export class ConcurrentModificationException extends __BaseException {
|
|
99
|
-
constructor(opts) {
|
|
100
|
-
super({
|
|
101
|
-
name: "ConcurrentModificationException",
|
|
102
|
-
$fault: "client",
|
|
103
|
-
...opts,
|
|
104
|
-
});
|
|
105
|
-
this.name = "ConcurrentModificationException";
|
|
106
|
-
this.$fault = "client";
|
|
107
|
-
this.$retryable = {};
|
|
108
|
-
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
36
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
109
37
|
}
|
|
110
38
|
}
|
|
111
39
|
export class ConflictException extends __BaseException {
|
|
@@ -118,39 +46,10 @@ export class ConflictException extends __BaseException {
|
|
|
118
46
|
this.name = "ConflictException";
|
|
119
47
|
this.$fault = "client";
|
|
120
48
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
121
|
-
this.
|
|
49
|
+
this.resourceName = opts.resourceName;
|
|
122
50
|
this.resourceType = opts.resourceType;
|
|
123
51
|
}
|
|
124
52
|
}
|
|
125
|
-
export class ConflictSourceNamesException extends __BaseException {
|
|
126
|
-
constructor(opts) {
|
|
127
|
-
super({
|
|
128
|
-
name: "ConflictSourceNamesException",
|
|
129
|
-
$fault: "client",
|
|
130
|
-
...opts,
|
|
131
|
-
});
|
|
132
|
-
this.name = "ConflictSourceNamesException";
|
|
133
|
-
this.$fault = "client";
|
|
134
|
-
Object.setPrototypeOf(this, ConflictSourceNamesException.prototype);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
export class ConflictSubscriptionException extends __BaseException {
|
|
138
|
-
constructor(opts) {
|
|
139
|
-
super({
|
|
140
|
-
name: "ConflictSubscriptionException",
|
|
141
|
-
$fault: "client",
|
|
142
|
-
...opts,
|
|
143
|
-
});
|
|
144
|
-
this.name = "ConflictSubscriptionException";
|
|
145
|
-
this.$fault = "client";
|
|
146
|
-
Object.setPrototypeOf(this, ConflictSubscriptionException.prototype);
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
export const Dimension = {
|
|
150
|
-
MEMBER: "MEMBER",
|
|
151
|
-
REGION: "REGION",
|
|
152
|
-
SOURCE_TYPE: "SOURCE_TYPE",
|
|
153
|
-
};
|
|
154
53
|
export class InternalServerException extends __BaseException {
|
|
155
54
|
constructor(opts) {
|
|
156
55
|
super({
|
|
@@ -162,7 +61,6 @@ export class InternalServerException extends __BaseException {
|
|
|
162
61
|
this.$fault = "server";
|
|
163
62
|
this.$retryable = {};
|
|
164
63
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
165
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
166
64
|
}
|
|
167
65
|
}
|
|
168
66
|
export class ResourceNotFoundException extends __BaseException {
|
|
@@ -175,67 +73,10 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
175
73
|
this.name = "ResourceNotFoundException";
|
|
176
74
|
this.$fault = "client";
|
|
177
75
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
178
|
-
this.
|
|
76
|
+
this.resourceName = opts.resourceName;
|
|
179
77
|
this.resourceType = opts.resourceType;
|
|
180
78
|
}
|
|
181
79
|
}
|
|
182
|
-
export class S3Exception extends __BaseException {
|
|
183
|
-
constructor(opts) {
|
|
184
|
-
super({
|
|
185
|
-
name: "S3Exception",
|
|
186
|
-
$fault: "client",
|
|
187
|
-
...opts,
|
|
188
|
-
});
|
|
189
|
-
this.name = "S3Exception";
|
|
190
|
-
this.$fault = "client";
|
|
191
|
-
Object.setPrototypeOf(this, S3Exception.prototype);
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
export const ValidationExceptionReason = {
|
|
195
|
-
CANNOT_PARSE: "cannotParse",
|
|
196
|
-
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
197
|
-
OTHER: "other",
|
|
198
|
-
UNKNOWN_OPERATION: "unknownOperation",
|
|
199
|
-
};
|
|
200
|
-
export class ValidationException extends __BaseException {
|
|
201
|
-
constructor(opts) {
|
|
202
|
-
super({
|
|
203
|
-
name: "ValidationException",
|
|
204
|
-
$fault: "client",
|
|
205
|
-
...opts,
|
|
206
|
-
});
|
|
207
|
-
this.name = "ValidationException";
|
|
208
|
-
this.$fault = "client";
|
|
209
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
210
|
-
this.reason = opts.reason;
|
|
211
|
-
this.fieldList = opts.fieldList;
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
export const StorageClass = {
|
|
215
|
-
DEEP_ARCHIVE: "DEEP_ARCHIVE",
|
|
216
|
-
EXPIRE: "EXPIRE",
|
|
217
|
-
GLACIER: "GLACIER",
|
|
218
|
-
GLACIER_IR: "GLACIER_IR",
|
|
219
|
-
INTELLIGENT_TIERING: "INTELLIGENT_TIERING",
|
|
220
|
-
ONEZONE_IA: "ONEZONE_IA",
|
|
221
|
-
STANDARD_IA: "STANDARD_IA",
|
|
222
|
-
};
|
|
223
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
224
|
-
constructor(opts) {
|
|
225
|
-
super({
|
|
226
|
-
name: "ServiceQuotaExceededException",
|
|
227
|
-
$fault: "client",
|
|
228
|
-
...opts,
|
|
229
|
-
});
|
|
230
|
-
this.name = "ServiceQuotaExceededException";
|
|
231
|
-
this.$fault = "client";
|
|
232
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
233
|
-
this.resourceId = opts.resourceId;
|
|
234
|
-
this.resourceType = opts.resourceType;
|
|
235
|
-
this.serviceCode = opts.serviceCode;
|
|
236
|
-
this.quotaCode = opts.quotaCode;
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
80
|
export class ThrottlingException extends __BaseException {
|
|
240
81
|
constructor(opts) {
|
|
241
82
|
super({
|
|
@@ -254,68 +95,44 @@ export class ThrottlingException extends __BaseException {
|
|
|
254
95
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
255
96
|
}
|
|
256
97
|
}
|
|
257
|
-
export const
|
|
258
|
-
APP: "APP",
|
|
259
|
-
EMAIL: "EMAIL",
|
|
260
|
-
EMAIL_JSON: "EMAIL_JSON",
|
|
261
|
-
FIREHOSE: "FIREHOSE",
|
|
262
|
-
HTTP: "HTTP",
|
|
263
|
-
HTTPS: "HTTPS",
|
|
264
|
-
LAMBDA: "LAMBDA",
|
|
265
|
-
SMS: "SMS",
|
|
266
|
-
SQS: "SQS",
|
|
267
|
-
};
|
|
268
|
-
export var SourceType;
|
|
269
|
-
(function (SourceType) {
|
|
270
|
-
SourceType.visit = (value, visitor) => {
|
|
271
|
-
if (value.awsSourceType !== undefined)
|
|
272
|
-
return visitor.awsSourceType(value.awsSourceType);
|
|
273
|
-
if (value.customSourceType !== undefined)
|
|
274
|
-
return visitor.customSourceType(value.customSourceType);
|
|
275
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
276
|
-
};
|
|
277
|
-
})(SourceType || (SourceType = {}));
|
|
278
|
-
export class InvalidInputException extends __BaseException {
|
|
279
|
-
constructor(opts) {
|
|
280
|
-
super({
|
|
281
|
-
name: "InvalidInputException",
|
|
282
|
-
$fault: "client",
|
|
283
|
-
...opts,
|
|
284
|
-
});
|
|
285
|
-
this.name = "InvalidInputException";
|
|
286
|
-
this.$fault = "client";
|
|
287
|
-
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
export const HttpsMethod = {
|
|
291
|
-
POST: "POST",
|
|
292
|
-
PUT: "PUT",
|
|
293
|
-
};
|
|
294
|
-
export const EndpointProtocol = {
|
|
295
|
-
HTTPS: "HTTPS",
|
|
296
|
-
SQS: "SQS",
|
|
297
|
-
};
|
|
298
|
-
export class EventBridgeException extends __BaseException {
|
|
299
|
-
constructor(opts) {
|
|
300
|
-
super({
|
|
301
|
-
name: "EventBridgeException",
|
|
302
|
-
$fault: "client",
|
|
303
|
-
...opts,
|
|
304
|
-
});
|
|
305
|
-
this.name = "EventBridgeException";
|
|
306
|
-
this.$fault = "client";
|
|
307
|
-
Object.setPrototypeOf(this, EventBridgeException.prototype);
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
export const SettingsStatus = {
|
|
98
|
+
export const DataLakeStatus = {
|
|
311
99
|
COMPLETED: "COMPLETED",
|
|
312
100
|
FAILED: "FAILED",
|
|
313
101
|
INITIALIZED: "INITIALIZED",
|
|
314
102
|
PENDING: "PENDING",
|
|
315
103
|
};
|
|
316
|
-
export
|
|
104
|
+
export var LogSourceResource;
|
|
105
|
+
(function (LogSourceResource) {
|
|
106
|
+
LogSourceResource.visit = (value, visitor) => {
|
|
107
|
+
if (value.awsLogSource !== undefined)
|
|
108
|
+
return visitor.awsLogSource(value.awsLogSource);
|
|
109
|
+
if (value.customLogSource !== undefined)
|
|
110
|
+
return visitor.customLogSource(value.customLogSource);
|
|
111
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
112
|
+
};
|
|
113
|
+
})(LogSourceResource || (LogSourceResource = {}));
|
|
114
|
+
export const SubscriberStatus = {
|
|
317
115
|
ACTIVE: "ACTIVE",
|
|
318
116
|
DEACTIVATED: "DEACTIVATED",
|
|
319
117
|
PENDING: "PENDING",
|
|
320
118
|
READY: "READY",
|
|
321
119
|
};
|
|
120
|
+
export const HttpMethod = {
|
|
121
|
+
POST: "POST",
|
|
122
|
+
PUT: "PUT",
|
|
123
|
+
};
|
|
124
|
+
export var NotificationConfiguration;
|
|
125
|
+
(function (NotificationConfiguration) {
|
|
126
|
+
NotificationConfiguration.visit = (value, visitor) => {
|
|
127
|
+
if (value.sqsNotificationConfiguration !== undefined)
|
|
128
|
+
return visitor.sqsNotificationConfiguration(value.sqsNotificationConfiguration);
|
|
129
|
+
if (value.httpsNotificationConfiguration !== undefined)
|
|
130
|
+
return visitor.httpsNotificationConfiguration(value.httpsNotificationConfiguration);
|
|
131
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
132
|
+
};
|
|
133
|
+
})(NotificationConfiguration || (NotificationConfiguration = {}));
|
|
134
|
+
export const SourceCollectionStatus = {
|
|
135
|
+
COLLECTING: "COLLECTING",
|
|
136
|
+
MISCONFIGURED: "MISCONFIGURED",
|
|
137
|
+
NOT_COLLECTING: "NOT_COLLECTING",
|
|
138
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GetDataLakeSourcesCommand, } from "../commands/GetDataLakeSourcesCommand";
|
|
2
2
|
import { SecurityLakeClient } from "../SecurityLakeClient";
|
|
3
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
-
return await client.send(new
|
|
4
|
+
return await client.send(new GetDataLakeSourcesCommand(input), ...args);
|
|
5
5
|
};
|
|
6
|
-
export async function*
|
|
6
|
+
export async function* paginateGetDataLakeSources(config, input, ...additionalArguments) {
|
|
7
7
|
let token = config.startingToken || undefined;
|
|
8
8
|
let hasNext = true;
|
|
9
9
|
let page;
|
|
10
10
|
while (hasNext) {
|
|
11
11
|
input.nextToken = token;
|
|
12
|
-
input["
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
13
|
if (config.client instanceof SecurityLakeClient) {
|
|
14
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
15
|
}
|
package/dist-es/pagination/{ListDatalakeExceptionsPaginator.js → ListDataLakeExceptionsPaginator.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ListDataLakeExceptionsCommand, } from "../commands/ListDataLakeExceptionsCommand";
|
|
2
2
|
import { SecurityLakeClient } from "../SecurityLakeClient";
|
|
3
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
-
return await client.send(new
|
|
4
|
+
return await client.send(new ListDataLakeExceptionsCommand(input), ...args);
|
|
5
5
|
};
|
|
6
|
-
export async function*
|
|
6
|
+
export async function* paginateListDataLakeExceptions(config, input, ...additionalArguments) {
|
|
7
7
|
let token = config.startingToken || undefined;
|
|
8
8
|
let hasNext = true;
|
|
9
9
|
let page;
|
|
10
10
|
while (hasNext) {
|
|
11
11
|
input.nextToken = token;
|
|
12
|
-
input["
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
13
|
if (config.client instanceof SecurityLakeClient) {
|
|
14
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
15
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./
|
|
1
|
+
export * from "./GetDataLakeSourcesPaginator";
|
|
2
2
|
export * from "./Interfaces";
|
|
3
|
-
export * from "./
|
|
3
|
+
export * from "./ListDataLakeExceptionsPaginator";
|
|
4
4
|
export * from "./ListLogSourcesPaginator";
|
|
5
5
|
export * from "./ListSubscribersPaginator";
|