@aws-sdk/client-securitylake 3.220.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/LICENSE +201 -0
- package/README.md +219 -0
- package/dist-cjs/SecurityLake.js +457 -0
- package/dist-cjs/SecurityLakeClient.js +40 -0
- package/dist-cjs/commands/CreateAwsLogSourceCommand.js +46 -0
- package/dist-cjs/commands/CreateCustomLogSourceCommand.js +46 -0
- package/dist-cjs/commands/CreateDatalakeAutoEnableCommand.js +46 -0
- package/dist-cjs/commands/CreateDatalakeCommand.js +46 -0
- package/dist-cjs/commands/CreateDatalakeDelegatedAdminCommand.js +46 -0
- package/dist-cjs/commands/CreateDatalakeExceptionsSubscriptionCommand.js +46 -0
- package/dist-cjs/commands/CreateSubscriberCommand.js +46 -0
- package/dist-cjs/commands/CreateSubscriptionNotificationConfigurationCommand.js +46 -0
- package/dist-cjs/commands/DeleteAwsLogSourceCommand.js +46 -0
- package/dist-cjs/commands/DeleteCustomLogSourceCommand.js +46 -0
- package/dist-cjs/commands/DeleteDatalakeAutoEnableCommand.js +46 -0
- package/dist-cjs/commands/DeleteDatalakeCommand.js +46 -0
- package/dist-cjs/commands/DeleteDatalakeDelegatedAdminCommand.js +46 -0
- package/dist-cjs/commands/DeleteDatalakeExceptionsSubscriptionCommand.js +46 -0
- package/dist-cjs/commands/DeleteSubscriberCommand.js +46 -0
- package/dist-cjs/commands/DeleteSubscriptionNotificationConfigurationCommand.js +46 -0
- package/dist-cjs/commands/GetDatalakeAutoEnableCommand.js +46 -0
- package/dist-cjs/commands/GetDatalakeCommand.js +46 -0
- package/dist-cjs/commands/GetDatalakeExceptionsExpiryCommand.js +46 -0
- package/dist-cjs/commands/GetDatalakeExceptionsSubscriptionCommand.js +46 -0
- package/dist-cjs/commands/GetDatalakeStatusCommand.js +46 -0
- package/dist-cjs/commands/GetSubscriberCommand.js +46 -0
- package/dist-cjs/commands/ListDatalakeExceptionsCommand.js +46 -0
- package/dist-cjs/commands/ListLogSourcesCommand.js +46 -0
- package/dist-cjs/commands/ListSubscribersCommand.js +46 -0
- package/dist-cjs/commands/UpdateDatalakeCommand.js +46 -0
- package/dist-cjs/commands/UpdateDatalakeExceptionsExpiryCommand.js +46 -0
- package/dist-cjs/commands/UpdateDatalakeExceptionsSubscriptionCommand.js +46 -0
- package/dist-cjs/commands/UpdateSubscriberCommand.js +46 -0
- package/dist-cjs/commands/UpdateSubscriptionNotificationConfigurationCommand.js +46 -0
- package/dist-cjs/commands/index.js +33 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +312 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/SecurityLakeServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +652 -0
- package/dist-cjs/pagination/GetDatalakeStatusPaginator.js +36 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListDatalakeExceptionsPaginator.js +36 -0
- package/dist-cjs/pagination/ListLogSourcesPaginator.js +36 -0
- package/dist-cjs/pagination/ListSubscribersPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2809 -0
- package/dist-cjs/runtimeConfig.browser.js +42 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +18 -0
- package/dist-es/SecurityLake.js +453 -0
- package/dist-es/SecurityLakeClient.js +36 -0
- package/dist-es/commands/CreateAwsLogSourceCommand.js +42 -0
- package/dist-es/commands/CreateCustomLogSourceCommand.js +42 -0
- package/dist-es/commands/CreateDatalakeAutoEnableCommand.js +42 -0
- package/dist-es/commands/CreateDatalakeCommand.js +42 -0
- package/dist-es/commands/CreateDatalakeDelegatedAdminCommand.js +42 -0
- package/dist-es/commands/CreateDatalakeExceptionsSubscriptionCommand.js +42 -0
- package/dist-es/commands/CreateSubscriberCommand.js +42 -0
- package/dist-es/commands/CreateSubscriptionNotificationConfigurationCommand.js +42 -0
- package/dist-es/commands/DeleteAwsLogSourceCommand.js +42 -0
- package/dist-es/commands/DeleteCustomLogSourceCommand.js +42 -0
- package/dist-es/commands/DeleteDatalakeAutoEnableCommand.js +42 -0
- package/dist-es/commands/DeleteDatalakeCommand.js +42 -0
- package/dist-es/commands/DeleteDatalakeDelegatedAdminCommand.js +42 -0
- package/dist-es/commands/DeleteDatalakeExceptionsSubscriptionCommand.js +42 -0
- package/dist-es/commands/DeleteSubscriberCommand.js +42 -0
- package/dist-es/commands/DeleteSubscriptionNotificationConfigurationCommand.js +42 -0
- package/dist-es/commands/GetDatalakeAutoEnableCommand.js +42 -0
- package/dist-es/commands/GetDatalakeCommand.js +42 -0
- package/dist-es/commands/GetDatalakeExceptionsExpiryCommand.js +42 -0
- package/dist-es/commands/GetDatalakeExceptionsSubscriptionCommand.js +42 -0
- package/dist-es/commands/GetDatalakeStatusCommand.js +42 -0
- package/dist-es/commands/GetSubscriberCommand.js +42 -0
- package/dist-es/commands/ListDatalakeExceptionsCommand.js +42 -0
- package/dist-es/commands/ListLogSourcesCommand.js +42 -0
- package/dist-es/commands/ListSubscribersCommand.js +42 -0
- package/dist-es/commands/UpdateDatalakeCommand.js +42 -0
- package/dist-es/commands/UpdateDatalakeExceptionsExpiryCommand.js +42 -0
- package/dist-es/commands/UpdateDatalakeExceptionsSubscriptionCommand.js +42 -0
- package/dist-es/commands/UpdateSubscriberCommand.js +42 -0
- package/dist-es/commands/UpdateSubscriptionNotificationConfigurationCommand.js +42 -0
- package/dist-es/commands/index.js +30 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +309 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/SecurityLakeServiceException.js +7 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +560 -0
- package/dist-es/pagination/GetDatalakeStatusPaginator.js +32 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListDatalakeExceptionsPaginator.js +32 -0
- package/dist-es/pagination/ListLogSourcesPaginator.js +32 -0
- package/dist-es/pagination/ListSubscribersPaginator.js +32 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +2745 -0
- package/dist-es/runtimeConfig.browser.js +37 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +14 -0
- package/dist-types/SecurityLake.d.ts +303 -0
- package/dist-types/SecurityLakeClient.d.ts +185 -0
- package/dist-types/commands/CreateAwsLogSourceCommand.d.ts +51 -0
- package/dist-types/commands/CreateCustomLogSourceCommand.d.ts +42 -0
- package/dist-types/commands/CreateDatalakeAutoEnableCommand.d.ts +38 -0
- package/dist-types/commands/CreateDatalakeCommand.d.ts +49 -0
- package/dist-types/commands/CreateDatalakeDelegatedAdminCommand.d.ts +39 -0
- package/dist-types/commands/CreateDatalakeExceptionsSubscriptionCommand.d.ts +38 -0
- package/dist-types/commands/CreateSubscriberCommand.d.ts +37 -0
- package/dist-types/commands/CreateSubscriptionNotificationConfigurationCommand.d.ts +38 -0
- package/dist-types/commands/DeleteAwsLogSourceCommand.d.ts +53 -0
- package/dist-types/commands/DeleteCustomLogSourceCommand.d.ts +37 -0
- package/dist-types/commands/DeleteDatalakeAutoEnableCommand.d.ts +42 -0
- package/dist-types/commands/DeleteDatalakeCommand.d.ts +43 -0
- package/dist-types/commands/DeleteDatalakeDelegatedAdminCommand.d.ts +37 -0
- package/dist-types/commands/DeleteDatalakeExceptionsSubscriptionCommand.d.ts +37 -0
- package/dist-types/commands/DeleteSubscriberCommand.d.ts +37 -0
- package/dist-types/commands/DeleteSubscriptionNotificationConfigurationCommand.d.ts +38 -0
- package/dist-types/commands/GetDatalakeAutoEnableCommand.d.ts +37 -0
- package/dist-types/commands/GetDatalakeCommand.d.ts +37 -0
- package/dist-types/commands/GetDatalakeExceptionsExpiryCommand.d.ts +38 -0
- package/dist-types/commands/GetDatalakeExceptionsSubscriptionCommand.d.ts +37 -0
- package/dist-types/commands/GetDatalakeStatusCommand.d.ts +37 -0
- package/dist-types/commands/GetSubscriberCommand.d.ts +37 -0
- package/dist-types/commands/ListDatalakeExceptionsCommand.d.ts +37 -0
- package/dist-types/commands/ListLogSourcesCommand.d.ts +37 -0
- package/dist-types/commands/ListSubscribersCommand.d.ts +37 -0
- package/dist-types/commands/UpdateDatalakeCommand.d.ts +40 -0
- package/dist-types/commands/UpdateDatalakeExceptionsExpiryCommand.d.ts +40 -0
- package/dist-types/commands/UpdateDatalakeExceptionsSubscriptionCommand.d.ts +37 -0
- package/dist-types/commands/UpdateSubscriberCommand.d.ts +37 -0
- package/dist-types/commands/UpdateSubscriptionNotificationConfigurationCommand.d.ts +38 -0
- package/dist-types/commands/index.d.ts +30 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/SecurityLakeServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1497 -0
- package/dist-types/pagination/GetDatalakeStatusPaginator.d.ts +4 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListDatalakeExceptionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListLogSourcesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSubscribersPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +92 -0
- package/dist-types/runtimeConfig.browser.d.ts +42 -0
- package/dist-types/runtimeConfig.d.ts +42 -0
- package/dist-types/runtimeConfig.native.d.ts +41 -0
- package/dist-types/runtimeConfig.shared.d.ts +16 -0
- package/dist-types/ts3.4/SecurityLake.d.ts +556 -0
- package/dist-types/ts3.4/SecurityLakeClient.d.ts +292 -0
- package/dist-types/ts3.4/commands/CreateAwsLogSourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateCustomLogSourceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateDatalakeAutoEnableCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateDatalakeCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/CreateDatalakeDelegatedAdminCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateDatalakeExceptionsSubscriptionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateSubscriberCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/CreateSubscriptionNotificationConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteAwsLogSourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteCustomLogSourceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteDatalakeAutoEnableCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteDatalakeCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteDatalakeDelegatedAdminCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteDatalakeExceptionsSubscriptionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteSubscriberCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteSubscriptionNotificationConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetDatalakeAutoEnableCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetDatalakeCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetDatalakeExceptionsExpiryCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetDatalakeExceptionsSubscriptionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetDatalakeStatusCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetSubscriberCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListDatalakeExceptionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListLogSourcesCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListSubscribersCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateDatalakeCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateDatalakeExceptionsExpiryCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateDatalakeExceptionsSubscriptionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateSubscriberCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateSubscriptionNotificationConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +30 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/SecurityLakeServiceException.d.ts +7 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +746 -0
- package/dist-types/ts3.4/pagination/GetDatalakeStatusPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
- package/dist-types/ts3.4/pagination/ListDatalakeExceptionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListLogSourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSubscribersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +365 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +88 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +88 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +77 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +16 -0
- package/package.json +101 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import packageInfo from "../package.json";
|
|
2
|
+
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
4
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
8
|
+
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
9
|
+
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
10
|
+
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
12
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
13
|
+
export const getRuntimeConfig = (config) => {
|
|
14
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
15
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
16
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
17
|
+
return {
|
|
18
|
+
...clientSharedValues,
|
|
19
|
+
...config,
|
|
20
|
+
runtime: "browser",
|
|
21
|
+
defaultsMode,
|
|
22
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
23
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
24
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
25
|
+
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
26
|
+
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
27
|
+
region: config?.region ?? invalidProvider("Region is missing"),
|
|
28
|
+
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
29
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
30
|
+
sha256: config?.sha256 ?? Sha256,
|
|
31
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
32
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
33
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
34
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
35
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import packageInfo from "../package.json";
|
|
2
|
+
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
3
|
+
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
4
|
+
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
|
+
import { Hash } from "@aws-sdk/hash-node";
|
|
6
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
8
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
10
|
+
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
11
|
+
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
12
|
+
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
15
|
+
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
|
+
export const getRuntimeConfig = (config) => {
|
|
17
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
18
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
19
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
20
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
21
|
+
return {
|
|
22
|
+
...clientSharedValues,
|
|
23
|
+
...config,
|
|
24
|
+
runtime: "node",
|
|
25
|
+
defaultsMode,
|
|
26
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
27
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
|
|
28
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
29
|
+
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
30
|
+
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
31
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
32
|
+
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
33
|
+
retryMode: config?.retryMode ??
|
|
34
|
+
loadNodeConfig({
|
|
35
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
|
+
}),
|
|
38
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
41
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
42
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
43
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
|
+
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
|
+
export const getRuntimeConfig = (config) => {
|
|
4
|
+
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
5
|
+
return {
|
|
6
|
+
...browserDefaults,
|
|
7
|
+
...config,
|
|
8
|
+
runtime: "react-native",
|
|
9
|
+
sha256: config?.sha256 ?? Sha256,
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { NoOpLogger } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { parseUrl } from "@aws-sdk/url-parser";
|
|
3
|
+
import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
|
|
4
|
+
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
5
|
+
export const getRuntimeConfig = (config) => ({
|
|
6
|
+
apiVersion: "2018-05-10",
|
|
7
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
8
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
9
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
10
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
11
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
12
|
+
serviceId: config?.serviceId ?? "SecurityLake",
|
|
13
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
14
|
+
});
|
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { CreateAwsLogSourceCommandInput, CreateAwsLogSourceCommandOutput } from "./commands/CreateAwsLogSourceCommand";
|
|
3
|
+
import { CreateCustomLogSourceCommandInput, CreateCustomLogSourceCommandOutput } from "./commands/CreateCustomLogSourceCommand";
|
|
4
|
+
import { CreateDatalakeAutoEnableCommandInput, CreateDatalakeAutoEnableCommandOutput } from "./commands/CreateDatalakeAutoEnableCommand";
|
|
5
|
+
import { CreateDatalakeCommandInput, CreateDatalakeCommandOutput } from "./commands/CreateDatalakeCommand";
|
|
6
|
+
import { CreateDatalakeDelegatedAdminCommandInput, CreateDatalakeDelegatedAdminCommandOutput } from "./commands/CreateDatalakeDelegatedAdminCommand";
|
|
7
|
+
import { CreateDatalakeExceptionsSubscriptionCommandInput, CreateDatalakeExceptionsSubscriptionCommandOutput } from "./commands/CreateDatalakeExceptionsSubscriptionCommand";
|
|
8
|
+
import { CreateSubscriberCommandInput, CreateSubscriberCommandOutput } from "./commands/CreateSubscriberCommand";
|
|
9
|
+
import { CreateSubscriptionNotificationConfigurationCommandInput, CreateSubscriptionNotificationConfigurationCommandOutput } from "./commands/CreateSubscriptionNotificationConfigurationCommand";
|
|
10
|
+
import { DeleteAwsLogSourceCommandInput, DeleteAwsLogSourceCommandOutput } from "./commands/DeleteAwsLogSourceCommand";
|
|
11
|
+
import { DeleteCustomLogSourceCommandInput, DeleteCustomLogSourceCommandOutput } from "./commands/DeleteCustomLogSourceCommand";
|
|
12
|
+
import { DeleteDatalakeAutoEnableCommandInput, DeleteDatalakeAutoEnableCommandOutput } from "./commands/DeleteDatalakeAutoEnableCommand";
|
|
13
|
+
import { DeleteDatalakeCommandInput, DeleteDatalakeCommandOutput } from "./commands/DeleteDatalakeCommand";
|
|
14
|
+
import { DeleteDatalakeDelegatedAdminCommandInput, DeleteDatalakeDelegatedAdminCommandOutput } from "./commands/DeleteDatalakeDelegatedAdminCommand";
|
|
15
|
+
import { DeleteDatalakeExceptionsSubscriptionCommandInput, DeleteDatalakeExceptionsSubscriptionCommandOutput } from "./commands/DeleteDatalakeExceptionsSubscriptionCommand";
|
|
16
|
+
import { DeleteSubscriberCommandInput, DeleteSubscriberCommandOutput } from "./commands/DeleteSubscriberCommand";
|
|
17
|
+
import { DeleteSubscriptionNotificationConfigurationCommandInput, DeleteSubscriptionNotificationConfigurationCommandOutput } from "./commands/DeleteSubscriptionNotificationConfigurationCommand";
|
|
18
|
+
import { GetDatalakeAutoEnableCommandInput, GetDatalakeAutoEnableCommandOutput } from "./commands/GetDatalakeAutoEnableCommand";
|
|
19
|
+
import { GetDatalakeCommandInput, GetDatalakeCommandOutput } from "./commands/GetDatalakeCommand";
|
|
20
|
+
import { GetDatalakeExceptionsExpiryCommandInput, GetDatalakeExceptionsExpiryCommandOutput } from "./commands/GetDatalakeExceptionsExpiryCommand";
|
|
21
|
+
import { GetDatalakeExceptionsSubscriptionCommandInput, GetDatalakeExceptionsSubscriptionCommandOutput } from "./commands/GetDatalakeExceptionsSubscriptionCommand";
|
|
22
|
+
import { GetDatalakeStatusCommandInput, GetDatalakeStatusCommandOutput } from "./commands/GetDatalakeStatusCommand";
|
|
23
|
+
import { GetSubscriberCommandInput, GetSubscriberCommandOutput } from "./commands/GetSubscriberCommand";
|
|
24
|
+
import { ListDatalakeExceptionsCommandInput, ListDatalakeExceptionsCommandOutput } from "./commands/ListDatalakeExceptionsCommand";
|
|
25
|
+
import { ListLogSourcesCommandInput, ListLogSourcesCommandOutput } from "./commands/ListLogSourcesCommand";
|
|
26
|
+
import { ListSubscribersCommandInput, ListSubscribersCommandOutput } from "./commands/ListSubscribersCommand";
|
|
27
|
+
import { UpdateDatalakeCommandInput, UpdateDatalakeCommandOutput } from "./commands/UpdateDatalakeCommand";
|
|
28
|
+
import { UpdateDatalakeExceptionsExpiryCommandInput, UpdateDatalakeExceptionsExpiryCommandOutput } from "./commands/UpdateDatalakeExceptionsExpiryCommand";
|
|
29
|
+
import { UpdateDatalakeExceptionsSubscriptionCommandInput, UpdateDatalakeExceptionsSubscriptionCommandOutput } from "./commands/UpdateDatalakeExceptionsSubscriptionCommand";
|
|
30
|
+
import { UpdateSubscriberCommandInput, UpdateSubscriberCommandOutput } from "./commands/UpdateSubscriberCommand";
|
|
31
|
+
import { UpdateSubscriptionNotificationConfigurationCommandInput, UpdateSubscriptionNotificationConfigurationCommandOutput } from "./commands/UpdateSubscriptionNotificationConfigurationCommand";
|
|
32
|
+
import { SecurityLakeClient } from "./SecurityLakeClient";
|
|
33
|
+
/**
|
|
34
|
+
* <note>
|
|
35
|
+
* <p>Amazon Security Lake is in preview release. Your use of the Amazon Security Lake
|
|
36
|
+
* preview is subject to Section 2 of the <a href="http://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a>("Betas and Previews").</p>
|
|
37
|
+
* </note>
|
|
38
|
+
* <p>Amazon Security Lake is a fully-managed security data lake service. You can use Security Lake to automatically centralize
|
|
39
|
+
* security data from cloud, on-premises, and custom sources into a data lake that's stored in your account. Security Lake
|
|
40
|
+
* helps you analyze security data, so you can get a more complete understanding of your security posture across the entire organization and improve the protection of your workloads, applications, and data.</p>
|
|
41
|
+
* <p>The data lake is backed by Amazon Simple Storage Service (Amazon S3) buckets, and
|
|
42
|
+
* you retain ownership over your data.</p>
|
|
43
|
+
* <p>Security Lake automates the collection of security-related log and event data from integrated
|
|
44
|
+
* Amazon Web Services. and third-party services and manages the lifecycle of data with customizable
|
|
45
|
+
* retention and replication settings. Security Lake also converts ingested data into Apache Parquet format and a
|
|
46
|
+
* standard open-source schema called the Open Cybersecurity Schema Framework (OCSF).</p>
|
|
47
|
+
* <p>Other Amazon Web Services and third-party services can subscribe to the data that's stored in Security Lake for
|
|
48
|
+
* incident response and security data analytics.</p>
|
|
49
|
+
*/
|
|
50
|
+
export declare class SecurityLake extends SecurityLakeClient {
|
|
51
|
+
/**
|
|
52
|
+
* <p>Adds a natively-supported Amazon Web Services service as a Security Lake source. Enables
|
|
53
|
+
* source types for member accounts in required Regions, based on specified parameters. You
|
|
54
|
+
* can choose any source type in any Region for accounts that are either part of a trusted
|
|
55
|
+
* organization or standalone accounts. At least one of the three dimensions is a mandatory
|
|
56
|
+
* input to this API. However, any combination of the three dimensions can be supplied to this
|
|
57
|
+
* API. </p>
|
|
58
|
+
* <p>By default, dimension refers to the entire set. When you don't provide a dimension,
|
|
59
|
+
* Security Lake assumes that the missing dimension refers to the entire set. This is overridden
|
|
60
|
+
* when you supply any one of the inputs. For instance, when members is not specified, the API
|
|
61
|
+
* disables all Security Lake member accounts for sources. Similarly, when Regions are not
|
|
62
|
+
* specified, Security Lake is disabled for all the Regions where Security Lake is available as a
|
|
63
|
+
* service.</p>
|
|
64
|
+
* <p>You can use this API only to enable a natively-supported Amazon Web Services services as
|
|
65
|
+
* a source. Use <code>CreateCustomLogSource</code> to enable data collection from a custom
|
|
66
|
+
* source. </p>
|
|
67
|
+
*/
|
|
68
|
+
createAwsLogSource(args: CreateAwsLogSourceCommandInput, options?: __HttpHandlerOptions): Promise<CreateAwsLogSourceCommandOutput>;
|
|
69
|
+
createAwsLogSource(args: CreateAwsLogSourceCommandInput, cb: (err: any, data?: CreateAwsLogSourceCommandOutput) => void): void;
|
|
70
|
+
createAwsLogSource(args: CreateAwsLogSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAwsLogSourceCommandOutput) => void): void;
|
|
71
|
+
/**
|
|
72
|
+
* <p>Adds a third-party custom source in Amazon Security Lake, from the Region where you want to
|
|
73
|
+
* create a custom source. Security Lake can collect logs and events from third-party custom
|
|
74
|
+
* sources. After creating the appropriate API roles, use this API to add a custom source name
|
|
75
|
+
* in Security Lake. This operation creates a partition in the Security Lake S3 bucket as the target
|
|
76
|
+
* location for log files from the custom source, an associated Glue table, and
|
|
77
|
+
* an Glue crawler.</p>
|
|
78
|
+
*/
|
|
79
|
+
createCustomLogSource(args: CreateCustomLogSourceCommandInput, options?: __HttpHandlerOptions): Promise<CreateCustomLogSourceCommandOutput>;
|
|
80
|
+
createCustomLogSource(args: CreateCustomLogSourceCommandInput, cb: (err: any, data?: CreateCustomLogSourceCommandOutput) => void): void;
|
|
81
|
+
createCustomLogSource(args: CreateCustomLogSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCustomLogSourceCommandOutput) => void): void;
|
|
82
|
+
/**
|
|
83
|
+
* <p>Initializes an Amazon Security Lake instance with the provided (or default) configuration. You can enable Security Lake in Regions with customized settings in advance before enabling log collection in Regions. You can either use the <code>enableAll</code> parameter to
|
|
84
|
+
* specify all Regions or you can specify the Regions you want to enable Security Lake using the
|
|
85
|
+
* <code>Regions</code> parameter and configure these Regions using the
|
|
86
|
+
* <code>configurations</code> parameter. When the <code>CreateDataLake</code> API is called
|
|
87
|
+
* multiple times, if that Region is already enabled, it will update the Region if
|
|
88
|
+
* configuration for that Region is provided. If that Region is a new Region, it will be set
|
|
89
|
+
* up with the customized configurations if it is specified. </p>
|
|
90
|
+
* <p>When you enable Security Lake, it starts ingesting security data after the
|
|
91
|
+
* <code>CreateAwsLogSource</code> call. This includes ingesting security
|
|
92
|
+
* data from sources, storing data, and making data accessible to subscribers. Security Lake also
|
|
93
|
+
* enables all the existing settings and resources that it stores or maintains for your
|
|
94
|
+
* account in the current Region, including security log and event data. For more information,
|
|
95
|
+
* see the Amazon Security Lake User Guide.</p>
|
|
96
|
+
*/
|
|
97
|
+
createDatalake(args: CreateDatalakeCommandInput, options?: __HttpHandlerOptions): Promise<CreateDatalakeCommandOutput>;
|
|
98
|
+
createDatalake(args: CreateDatalakeCommandInput, cb: (err: any, data?: CreateDatalakeCommandOutput) => void): void;
|
|
99
|
+
createDatalake(args: CreateDatalakeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDatalakeCommandOutput) => void): void;
|
|
100
|
+
/**
|
|
101
|
+
* <p>Automatically enable Security Lake in the specified Regions to begin ingesting security
|
|
102
|
+
* data. When you choose to enable organization accounts automatically, then Security Lake begins to enable new accounts as member accounts as they are added to the organization. Security Lake does not enable existing organization accounts that are not yet enabled.</p>
|
|
103
|
+
*/
|
|
104
|
+
createDatalakeAutoEnable(args: CreateDatalakeAutoEnableCommandInput, options?: __HttpHandlerOptions): Promise<CreateDatalakeAutoEnableCommandOutput>;
|
|
105
|
+
createDatalakeAutoEnable(args: CreateDatalakeAutoEnableCommandInput, cb: (err: any, data?: CreateDatalakeAutoEnableCommandOutput) => void): void;
|
|
106
|
+
createDatalakeAutoEnable(args: CreateDatalakeAutoEnableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDatalakeAutoEnableCommandOutput) => void): void;
|
|
107
|
+
/**
|
|
108
|
+
* <p>Designates the Security Lake administrator account for the organization. This API can only
|
|
109
|
+
* be called by the organization management account. The organization management account
|
|
110
|
+
* cannot be the delegated administrator account.</p>
|
|
111
|
+
*/
|
|
112
|
+
createDatalakeDelegatedAdmin(args: CreateDatalakeDelegatedAdminCommandInput, options?: __HttpHandlerOptions): Promise<CreateDatalakeDelegatedAdminCommandOutput>;
|
|
113
|
+
createDatalakeDelegatedAdmin(args: CreateDatalakeDelegatedAdminCommandInput, cb: (err: any, data?: CreateDatalakeDelegatedAdminCommandOutput) => void): void;
|
|
114
|
+
createDatalakeDelegatedAdmin(args: CreateDatalakeDelegatedAdminCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDatalakeDelegatedAdminCommandOutput) => void): void;
|
|
115
|
+
/**
|
|
116
|
+
* <p>Creates the specified notification subscription in Security Lake. Creates the specified
|
|
117
|
+
* subscription notifications in the specified organization. </p>
|
|
118
|
+
*/
|
|
119
|
+
createDatalakeExceptionsSubscription(args: CreateDatalakeExceptionsSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<CreateDatalakeExceptionsSubscriptionCommandOutput>;
|
|
120
|
+
createDatalakeExceptionsSubscription(args: CreateDatalakeExceptionsSubscriptionCommandInput, cb: (err: any, data?: CreateDatalakeExceptionsSubscriptionCommandOutput) => void): void;
|
|
121
|
+
createDatalakeExceptionsSubscription(args: CreateDatalakeExceptionsSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDatalakeExceptionsSubscriptionCommandOutput) => void): void;
|
|
122
|
+
/**
|
|
123
|
+
* <p>Creates a subscription permission for accounts that are already enabled in Security Lake.</p>
|
|
124
|
+
*/
|
|
125
|
+
createSubscriber(args: CreateSubscriberCommandInput, options?: __HttpHandlerOptions): Promise<CreateSubscriberCommandOutput>;
|
|
126
|
+
createSubscriber(args: CreateSubscriberCommandInput, cb: (err: any, data?: CreateSubscriberCommandOutput) => void): void;
|
|
127
|
+
createSubscriber(args: CreateSubscriberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSubscriberCommandOutput) => void): void;
|
|
128
|
+
/**
|
|
129
|
+
* <p>Creates the specified notification subscription in Security Lake. Creates the specified
|
|
130
|
+
* subscription notifications from the specified organization. </p>
|
|
131
|
+
*/
|
|
132
|
+
createSubscriptionNotificationConfiguration(args: CreateSubscriptionNotificationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateSubscriptionNotificationConfigurationCommandOutput>;
|
|
133
|
+
createSubscriptionNotificationConfiguration(args: CreateSubscriptionNotificationConfigurationCommandInput, cb: (err: any, data?: CreateSubscriptionNotificationConfigurationCommandOutput) => void): void;
|
|
134
|
+
createSubscriptionNotificationConfiguration(args: CreateSubscriptionNotificationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSubscriptionNotificationConfigurationCommandOutput) => void): void;
|
|
135
|
+
/**
|
|
136
|
+
* <p>Removes a natively-supported Amazon Web Services service as a Amazon Security Lake source. When you remove the
|
|
137
|
+
* source, Security Lake stops collecting data from that source, and subscribers can no
|
|
138
|
+
* longer consume new data from the source. Subscribers can still consume data that Amazon
|
|
139
|
+
* Security Lake collected from the source before disablement.</p>
|
|
140
|
+
* <p>You can choose any source type in any Region for accounts that are either part of a
|
|
141
|
+
* trusted organization or standalone accounts. At least one of the three dimensions is a
|
|
142
|
+
* mandatory input to this API. However, any combination of the three dimensions can be
|
|
143
|
+
* supplied to this API. </p>
|
|
144
|
+
* <p>By default, dimension refers to the entire set. This is overridden when you supply any
|
|
145
|
+
* one of the inputs. For instance, when members is not specified, the API disables all
|
|
146
|
+
* Security Lake member accounts for sources. Similarly, when Regions are not specified, Security Lake
|
|
147
|
+
* is disabled for all the Regions where Security Lake is available as a service.</p>
|
|
148
|
+
* <p>You can use this API to remove a natively-supported Amazon Web Services service as a source. Use
|
|
149
|
+
* <code>DeregisterCustomData</code> to remove a custom source.</p>
|
|
150
|
+
* <p>When you don't provide a dimension, Security Lake assumes that the missing dimension refers
|
|
151
|
+
* to the entire set. For example, if you don't provide specific accounts, the API applies to
|
|
152
|
+
* the entire set of accounts in your organization.</p>
|
|
153
|
+
*/
|
|
154
|
+
deleteAwsLogSource(args: DeleteAwsLogSourceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAwsLogSourceCommandOutput>;
|
|
155
|
+
deleteAwsLogSource(args: DeleteAwsLogSourceCommandInput, cb: (err: any, data?: DeleteAwsLogSourceCommandOutput) => void): void;
|
|
156
|
+
deleteAwsLogSource(args: DeleteAwsLogSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAwsLogSourceCommandOutput) => void): void;
|
|
157
|
+
/**
|
|
158
|
+
* <p>Removes a custom log source from Security Lake.</p>
|
|
159
|
+
*/
|
|
160
|
+
deleteCustomLogSource(args: DeleteCustomLogSourceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCustomLogSourceCommandOutput>;
|
|
161
|
+
deleteCustomLogSource(args: DeleteCustomLogSourceCommandInput, cb: (err: any, data?: DeleteCustomLogSourceCommandOutput) => void): void;
|
|
162
|
+
deleteCustomLogSource(args: DeleteCustomLogSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCustomLogSourceCommandOutput) => void): void;
|
|
163
|
+
/**
|
|
164
|
+
* <p>When you delete Amazon Security Lake from your account, Security Lake is disabled in all Regions.
|
|
165
|
+
* Also, this API automatically performs the off-boarding steps to off-board the account from
|
|
166
|
+
* Security Lake . This includes ingesting security data from sources, storing data, and making
|
|
167
|
+
* data accessible to subscribers. Security Lake also deletes all the existing settings and
|
|
168
|
+
* resources that it stores or maintains for your account in the current Region, including
|
|
169
|
+
* security log and event data. <code>DeleteDatalake</code> does not delete the S3 bucket
|
|
170
|
+
* which is owned by the Amazon Web Services account. For more information, see the Amazon Security Lake User Guide.</p>
|
|
171
|
+
*/
|
|
172
|
+
deleteDatalake(args: DeleteDatalakeCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDatalakeCommandOutput>;
|
|
173
|
+
deleteDatalake(args: DeleteDatalakeCommandInput, cb: (err: any, data?: DeleteDatalakeCommandOutput) => void): void;
|
|
174
|
+
deleteDatalake(args: DeleteDatalakeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDatalakeCommandOutput) => void): void;
|
|
175
|
+
/**
|
|
176
|
+
* <p>Automatically delete Security Lake in the specified Regions to stop ingesting security data. When you delete Amazon Security Lake from your account, Security Lake is disabled in all Regions. Also, this API
|
|
177
|
+
* automatically performs the off-boarding steps to off-board the account from Security Lake .
|
|
178
|
+
* This includes ingesting security data from sources, storing data, and making data
|
|
179
|
+
* accessible to subscribers. Security Lake also deletes all the existing settings and resources that
|
|
180
|
+
* it stores or maintains for your account in the current Region, including security log and
|
|
181
|
+
* event data. For more information, see the Amazon Security Lake User Guide. </p>
|
|
182
|
+
*/
|
|
183
|
+
deleteDatalakeAutoEnable(args: DeleteDatalakeAutoEnableCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDatalakeAutoEnableCommandOutput>;
|
|
184
|
+
deleteDatalakeAutoEnable(args: DeleteDatalakeAutoEnableCommandInput, cb: (err: any, data?: DeleteDatalakeAutoEnableCommandOutput) => void): void;
|
|
185
|
+
deleteDatalakeAutoEnable(args: DeleteDatalakeAutoEnableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDatalakeAutoEnableCommandOutput) => void): void;
|
|
186
|
+
/**
|
|
187
|
+
* <p>Deletes the Security Lake administrator account for the organization. This API can only be called by the organization management account. The organization management account cannot be the delegated administrator account.</p>
|
|
188
|
+
*/
|
|
189
|
+
deleteDatalakeDelegatedAdmin(args: DeleteDatalakeDelegatedAdminCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDatalakeDelegatedAdminCommandOutput>;
|
|
190
|
+
deleteDatalakeDelegatedAdmin(args: DeleteDatalakeDelegatedAdminCommandInput, cb: (err: any, data?: DeleteDatalakeDelegatedAdminCommandOutput) => void): void;
|
|
191
|
+
deleteDatalakeDelegatedAdmin(args: DeleteDatalakeDelegatedAdminCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDatalakeDelegatedAdminCommandOutput) => void): void;
|
|
192
|
+
/**
|
|
193
|
+
* <p>Deletes the specified notification subscription in Security Lake. Deletes the specified subscription notifications in the specified organization.</p>
|
|
194
|
+
*/
|
|
195
|
+
deleteDatalakeExceptionsSubscription(args: DeleteDatalakeExceptionsSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDatalakeExceptionsSubscriptionCommandOutput>;
|
|
196
|
+
deleteDatalakeExceptionsSubscription(args: DeleteDatalakeExceptionsSubscriptionCommandInput, cb: (err: any, data?: DeleteDatalakeExceptionsSubscriptionCommandOutput) => void): void;
|
|
197
|
+
deleteDatalakeExceptionsSubscription(args: DeleteDatalakeExceptionsSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDatalakeExceptionsSubscriptionCommandOutput) => void): void;
|
|
198
|
+
/**
|
|
199
|
+
* <p>Deletes the specified subscription permissions to Security Lake. Deletes the specified subscription permissions from the specified organization. </p>
|
|
200
|
+
*/
|
|
201
|
+
deleteSubscriber(args: DeleteSubscriberCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSubscriberCommandOutput>;
|
|
202
|
+
deleteSubscriber(args: DeleteSubscriberCommandInput, cb: (err: any, data?: DeleteSubscriberCommandOutput) => void): void;
|
|
203
|
+
deleteSubscriber(args: DeleteSubscriberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSubscriberCommandOutput) => void): void;
|
|
204
|
+
/**
|
|
205
|
+
* <p>Deletes the specified notification subscription in Security Lake. Deletes the specified
|
|
206
|
+
* subscription notifications from the specified organization. </p>
|
|
207
|
+
*/
|
|
208
|
+
deleteSubscriptionNotificationConfiguration(args: DeleteSubscriptionNotificationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSubscriptionNotificationConfigurationCommandOutput>;
|
|
209
|
+
deleteSubscriptionNotificationConfiguration(args: DeleteSubscriptionNotificationConfigurationCommandInput, cb: (err: any, data?: DeleteSubscriptionNotificationConfigurationCommandOutput) => void): void;
|
|
210
|
+
deleteSubscriptionNotificationConfiguration(args: DeleteSubscriptionNotificationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSubscriptionNotificationConfigurationCommandOutput) => void): void;
|
|
211
|
+
/**
|
|
212
|
+
* <p>Retrieve the Security Lake configuration object for the specified account ID. This API does not take input parameters. </p>
|
|
213
|
+
*/
|
|
214
|
+
getDatalake(args: GetDatalakeCommandInput, options?: __HttpHandlerOptions): Promise<GetDatalakeCommandOutput>;
|
|
215
|
+
getDatalake(args: GetDatalakeCommandInput, cb: (err: any, data?: GetDatalakeCommandOutput) => void): void;
|
|
216
|
+
getDatalake(args: GetDatalakeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDatalakeCommandOutput) => void): void;
|
|
217
|
+
/**
|
|
218
|
+
* <p>Retrieves the configuration that will be automatically set up for accounts added to the organization after the organization has on boarded to Amazon Security Lake. This API does not take input parameters.</p>
|
|
219
|
+
*/
|
|
220
|
+
getDatalakeAutoEnable(args: GetDatalakeAutoEnableCommandInput, options?: __HttpHandlerOptions): Promise<GetDatalakeAutoEnableCommandOutput>;
|
|
221
|
+
getDatalakeAutoEnable(args: GetDatalakeAutoEnableCommandInput, cb: (err: any, data?: GetDatalakeAutoEnableCommandOutput) => void): void;
|
|
222
|
+
getDatalakeAutoEnable(args: GetDatalakeAutoEnableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDatalakeAutoEnableCommandOutput) => void): void;
|
|
223
|
+
/**
|
|
224
|
+
* <p>Retrieves the expiration period and time-to-live (TTL) for which the exception message will remain. Exceptions are stored by default, for a 2 week period of time from when a record was
|
|
225
|
+
* created in Security Lake. This API does not take input parameters. This API does not take input parameters.</p>
|
|
226
|
+
*/
|
|
227
|
+
getDatalakeExceptionsExpiry(args: GetDatalakeExceptionsExpiryCommandInput, options?: __HttpHandlerOptions): Promise<GetDatalakeExceptionsExpiryCommandOutput>;
|
|
228
|
+
getDatalakeExceptionsExpiry(args: GetDatalakeExceptionsExpiryCommandInput, cb: (err: any, data?: GetDatalakeExceptionsExpiryCommandOutput) => void): void;
|
|
229
|
+
getDatalakeExceptionsExpiry(args: GetDatalakeExceptionsExpiryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDatalakeExceptionsExpiryCommandOutput) => void): void;
|
|
230
|
+
/**
|
|
231
|
+
* <p>Retrieves the details of exception notifications for the account in Amazon Security Lake.</p>
|
|
232
|
+
*/
|
|
233
|
+
getDatalakeExceptionsSubscription(args: GetDatalakeExceptionsSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<GetDatalakeExceptionsSubscriptionCommandOutput>;
|
|
234
|
+
getDatalakeExceptionsSubscription(args: GetDatalakeExceptionsSubscriptionCommandInput, cb: (err: any, data?: GetDatalakeExceptionsSubscriptionCommandOutput) => void): void;
|
|
235
|
+
getDatalakeExceptionsSubscription(args: GetDatalakeExceptionsSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDatalakeExceptionsSubscriptionCommandOutput) => void): void;
|
|
236
|
+
/**
|
|
237
|
+
* <p>Retrieve the Security Lake configuration object for the specified account ID. This API does not take input parameters. </p>
|
|
238
|
+
*/
|
|
239
|
+
getDatalakeStatus(args: GetDatalakeStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetDatalakeStatusCommandOutput>;
|
|
240
|
+
getDatalakeStatus(args: GetDatalakeStatusCommandInput, cb: (err: any, data?: GetDatalakeStatusCommandOutput) => void): void;
|
|
241
|
+
getDatalakeStatus(args: GetDatalakeStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDatalakeStatusCommandOutput) => void): void;
|
|
242
|
+
/**
|
|
243
|
+
* <p>Retrieves subscription information for the specified subscription ID.</p>
|
|
244
|
+
*/
|
|
245
|
+
getSubscriber(args: GetSubscriberCommandInput, options?: __HttpHandlerOptions): Promise<GetSubscriberCommandOutput>;
|
|
246
|
+
getSubscriber(args: GetSubscriberCommandInput, cb: (err: any, data?: GetSubscriberCommandOutput) => void): void;
|
|
247
|
+
getSubscriber(args: GetSubscriberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSubscriberCommandOutput) => void): void;
|
|
248
|
+
/**
|
|
249
|
+
* <p>List the Amazon Security Lake exceptions that you can use to find the source of problems and fix them.</p>
|
|
250
|
+
*/
|
|
251
|
+
listDatalakeExceptions(args: ListDatalakeExceptionsCommandInput, options?: __HttpHandlerOptions): Promise<ListDatalakeExceptionsCommandOutput>;
|
|
252
|
+
listDatalakeExceptions(args: ListDatalakeExceptionsCommandInput, cb: (err: any, data?: ListDatalakeExceptionsCommandOutput) => void): void;
|
|
253
|
+
listDatalakeExceptions(args: ListDatalakeExceptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDatalakeExceptionsCommandOutput) => void): void;
|
|
254
|
+
/**
|
|
255
|
+
* <p>Lists the log sources in the current region.</p>
|
|
256
|
+
*/
|
|
257
|
+
listLogSources(args: ListLogSourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListLogSourcesCommandOutput>;
|
|
258
|
+
listLogSources(args: ListLogSourcesCommandInput, cb: (err: any, data?: ListLogSourcesCommandOutput) => void): void;
|
|
259
|
+
listLogSources(args: ListLogSourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLogSourcesCommandOutput) => void): void;
|
|
260
|
+
/**
|
|
261
|
+
* <p>List all subscribers for the specific Security Lake account ID.</p>
|
|
262
|
+
*/
|
|
263
|
+
listSubscribers(args: ListSubscribersCommandInput, options?: __HttpHandlerOptions): Promise<ListSubscribersCommandOutput>;
|
|
264
|
+
listSubscribers(args: ListSubscribersCommandInput, cb: (err: any, data?: ListSubscribersCommandOutput) => void): void;
|
|
265
|
+
listSubscribers(args: ListSubscribersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSubscribersCommandOutput) => void): void;
|
|
266
|
+
/**
|
|
267
|
+
* <p>Amazon Security Lake allows you to specify where to store your security data and for how long.
|
|
268
|
+
* You can specify a rollup Region to consolidate data from multiple regions. </p>
|
|
269
|
+
* <p>You can update the properties of a Region or source. Input can either be directly
|
|
270
|
+
* specified to the API. </p>
|
|
271
|
+
*/
|
|
272
|
+
updateDatalake(args: UpdateDatalakeCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDatalakeCommandOutput>;
|
|
273
|
+
updateDatalake(args: UpdateDatalakeCommandInput, cb: (err: any, data?: UpdateDatalakeCommandOutput) => void): void;
|
|
274
|
+
updateDatalake(args: UpdateDatalakeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDatalakeCommandOutput) => void): void;
|
|
275
|
+
/**
|
|
276
|
+
* <p>Update the expiration period for the exception message to your preferred time, and control
|
|
277
|
+
* the time-to-live (TTL) for the exception message to remain.
|
|
278
|
+
* Exceptions are stored by default, for a 2 week period of time from when a record was
|
|
279
|
+
* created in Security Lake. </p>
|
|
280
|
+
*/
|
|
281
|
+
updateDatalakeExceptionsExpiry(args: UpdateDatalakeExceptionsExpiryCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDatalakeExceptionsExpiryCommandOutput>;
|
|
282
|
+
updateDatalakeExceptionsExpiry(args: UpdateDatalakeExceptionsExpiryCommandInput, cb: (err: any, data?: UpdateDatalakeExceptionsExpiryCommandOutput) => void): void;
|
|
283
|
+
updateDatalakeExceptionsExpiry(args: UpdateDatalakeExceptionsExpiryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDatalakeExceptionsExpiryCommandOutput) => void): void;
|
|
284
|
+
/**
|
|
285
|
+
* <p>Update the subscription notification for exception notification.</p>
|
|
286
|
+
*/
|
|
287
|
+
updateDatalakeExceptionsSubscription(args: UpdateDatalakeExceptionsSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDatalakeExceptionsSubscriptionCommandOutput>;
|
|
288
|
+
updateDatalakeExceptionsSubscription(args: UpdateDatalakeExceptionsSubscriptionCommandInput, cb: (err: any, data?: UpdateDatalakeExceptionsSubscriptionCommandOutput) => void): void;
|
|
289
|
+
updateDatalakeExceptionsSubscription(args: UpdateDatalakeExceptionsSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDatalakeExceptionsSubscriptionCommandOutput) => void): void;
|
|
290
|
+
/**
|
|
291
|
+
* <p>Update the subscription permission for the given Security Lake account ID.</p>
|
|
292
|
+
*/
|
|
293
|
+
updateSubscriber(args: UpdateSubscriberCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSubscriberCommandOutput>;
|
|
294
|
+
updateSubscriber(args: UpdateSubscriberCommandInput, cb: (err: any, data?: UpdateSubscriberCommandOutput) => void): void;
|
|
295
|
+
updateSubscriber(args: UpdateSubscriberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSubscriberCommandOutput) => void): void;
|
|
296
|
+
/**
|
|
297
|
+
* <p>Create a new subscription notification or add the existing subscription notification
|
|
298
|
+
* setting for the specified subscription ID.</p>
|
|
299
|
+
*/
|
|
300
|
+
updateSubscriptionNotificationConfiguration(args: UpdateSubscriptionNotificationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSubscriptionNotificationConfigurationCommandOutput>;
|
|
301
|
+
updateSubscriptionNotificationConfiguration(args: UpdateSubscriptionNotificationConfigurationCommandInput, cb: (err: any, data?: UpdateSubscriptionNotificationConfigurationCommandOutput) => void): void;
|
|
302
|
+
updateSubscriptionNotificationConfiguration(args: UpdateSubscriptionNotificationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSubscriptionNotificationConfigurationCommandOutput) => void): void;
|
|
303
|
+
}
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware-endpoint";
|
|
3
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
4
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
5
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
6
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
|
+
import { CreateAwsLogSourceCommandInput, CreateAwsLogSourceCommandOutput } from "./commands/CreateAwsLogSourceCommand";
|
|
11
|
+
import { CreateCustomLogSourceCommandInput, CreateCustomLogSourceCommandOutput } from "./commands/CreateCustomLogSourceCommand";
|
|
12
|
+
import { CreateDatalakeAutoEnableCommandInput, CreateDatalakeAutoEnableCommandOutput } from "./commands/CreateDatalakeAutoEnableCommand";
|
|
13
|
+
import { CreateDatalakeCommandInput, CreateDatalakeCommandOutput } from "./commands/CreateDatalakeCommand";
|
|
14
|
+
import { CreateDatalakeDelegatedAdminCommandInput, CreateDatalakeDelegatedAdminCommandOutput } from "./commands/CreateDatalakeDelegatedAdminCommand";
|
|
15
|
+
import { CreateDatalakeExceptionsSubscriptionCommandInput, CreateDatalakeExceptionsSubscriptionCommandOutput } from "./commands/CreateDatalakeExceptionsSubscriptionCommand";
|
|
16
|
+
import { CreateSubscriberCommandInput, CreateSubscriberCommandOutput } from "./commands/CreateSubscriberCommand";
|
|
17
|
+
import { CreateSubscriptionNotificationConfigurationCommandInput, CreateSubscriptionNotificationConfigurationCommandOutput } from "./commands/CreateSubscriptionNotificationConfigurationCommand";
|
|
18
|
+
import { DeleteAwsLogSourceCommandInput, DeleteAwsLogSourceCommandOutput } from "./commands/DeleteAwsLogSourceCommand";
|
|
19
|
+
import { DeleteCustomLogSourceCommandInput, DeleteCustomLogSourceCommandOutput } from "./commands/DeleteCustomLogSourceCommand";
|
|
20
|
+
import { DeleteDatalakeAutoEnableCommandInput, DeleteDatalakeAutoEnableCommandOutput } from "./commands/DeleteDatalakeAutoEnableCommand";
|
|
21
|
+
import { DeleteDatalakeCommandInput, DeleteDatalakeCommandOutput } from "./commands/DeleteDatalakeCommand";
|
|
22
|
+
import { DeleteDatalakeDelegatedAdminCommandInput, DeleteDatalakeDelegatedAdminCommandOutput } from "./commands/DeleteDatalakeDelegatedAdminCommand";
|
|
23
|
+
import { DeleteDatalakeExceptionsSubscriptionCommandInput, DeleteDatalakeExceptionsSubscriptionCommandOutput } from "./commands/DeleteDatalakeExceptionsSubscriptionCommand";
|
|
24
|
+
import { DeleteSubscriberCommandInput, DeleteSubscriberCommandOutput } from "./commands/DeleteSubscriberCommand";
|
|
25
|
+
import { DeleteSubscriptionNotificationConfigurationCommandInput, DeleteSubscriptionNotificationConfigurationCommandOutput } from "./commands/DeleteSubscriptionNotificationConfigurationCommand";
|
|
26
|
+
import { GetDatalakeAutoEnableCommandInput, GetDatalakeAutoEnableCommandOutput } from "./commands/GetDatalakeAutoEnableCommand";
|
|
27
|
+
import { GetDatalakeCommandInput, GetDatalakeCommandOutput } from "./commands/GetDatalakeCommand";
|
|
28
|
+
import { GetDatalakeExceptionsExpiryCommandInput, GetDatalakeExceptionsExpiryCommandOutput } from "./commands/GetDatalakeExceptionsExpiryCommand";
|
|
29
|
+
import { GetDatalakeExceptionsSubscriptionCommandInput, GetDatalakeExceptionsSubscriptionCommandOutput } from "./commands/GetDatalakeExceptionsSubscriptionCommand";
|
|
30
|
+
import { GetDatalakeStatusCommandInput, GetDatalakeStatusCommandOutput } from "./commands/GetDatalakeStatusCommand";
|
|
31
|
+
import { GetSubscriberCommandInput, GetSubscriberCommandOutput } from "./commands/GetSubscriberCommand";
|
|
32
|
+
import { ListDatalakeExceptionsCommandInput, ListDatalakeExceptionsCommandOutput } from "./commands/ListDatalakeExceptionsCommand";
|
|
33
|
+
import { ListLogSourcesCommandInput, ListLogSourcesCommandOutput } from "./commands/ListLogSourcesCommand";
|
|
34
|
+
import { ListSubscribersCommandInput, ListSubscribersCommandOutput } from "./commands/ListSubscribersCommand";
|
|
35
|
+
import { UpdateDatalakeCommandInput, UpdateDatalakeCommandOutput } from "./commands/UpdateDatalakeCommand";
|
|
36
|
+
import { UpdateDatalakeExceptionsExpiryCommandInput, UpdateDatalakeExceptionsExpiryCommandOutput } from "./commands/UpdateDatalakeExceptionsExpiryCommand";
|
|
37
|
+
import { UpdateDatalakeExceptionsSubscriptionCommandInput, UpdateDatalakeExceptionsSubscriptionCommandOutput } from "./commands/UpdateDatalakeExceptionsSubscriptionCommand";
|
|
38
|
+
import { UpdateSubscriberCommandInput, UpdateSubscriberCommandOutput } from "./commands/UpdateSubscriberCommand";
|
|
39
|
+
import { UpdateSubscriptionNotificationConfigurationCommandInput, UpdateSubscriptionNotificationConfigurationCommandOutput } from "./commands/UpdateSubscriptionNotificationConfigurationCommand";
|
|
40
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
41
|
+
export declare type ServiceInputTypes = CreateAwsLogSourceCommandInput | CreateCustomLogSourceCommandInput | CreateDatalakeAutoEnableCommandInput | CreateDatalakeCommandInput | CreateDatalakeDelegatedAdminCommandInput | CreateDatalakeExceptionsSubscriptionCommandInput | CreateSubscriberCommandInput | CreateSubscriptionNotificationConfigurationCommandInput | DeleteAwsLogSourceCommandInput | DeleteCustomLogSourceCommandInput | DeleteDatalakeAutoEnableCommandInput | DeleteDatalakeCommandInput | DeleteDatalakeDelegatedAdminCommandInput | DeleteDatalakeExceptionsSubscriptionCommandInput | DeleteSubscriberCommandInput | DeleteSubscriptionNotificationConfigurationCommandInput | GetDatalakeAutoEnableCommandInput | GetDatalakeCommandInput | GetDatalakeExceptionsExpiryCommandInput | GetDatalakeExceptionsSubscriptionCommandInput | GetDatalakeStatusCommandInput | GetSubscriberCommandInput | ListDatalakeExceptionsCommandInput | ListLogSourcesCommandInput | ListSubscribersCommandInput | UpdateDatalakeCommandInput | UpdateDatalakeExceptionsExpiryCommandInput | UpdateDatalakeExceptionsSubscriptionCommandInput | UpdateSubscriberCommandInput | UpdateSubscriptionNotificationConfigurationCommandInput;
|
|
42
|
+
export declare type ServiceOutputTypes = CreateAwsLogSourceCommandOutput | CreateCustomLogSourceCommandOutput | CreateDatalakeAutoEnableCommandOutput | CreateDatalakeCommandOutput | CreateDatalakeDelegatedAdminCommandOutput | CreateDatalakeExceptionsSubscriptionCommandOutput | CreateSubscriberCommandOutput | CreateSubscriptionNotificationConfigurationCommandOutput | DeleteAwsLogSourceCommandOutput | DeleteCustomLogSourceCommandOutput | DeleteDatalakeAutoEnableCommandOutput | DeleteDatalakeCommandOutput | DeleteDatalakeDelegatedAdminCommandOutput | DeleteDatalakeExceptionsSubscriptionCommandOutput | DeleteSubscriberCommandOutput | DeleteSubscriptionNotificationConfigurationCommandOutput | GetDatalakeAutoEnableCommandOutput | GetDatalakeCommandOutput | GetDatalakeExceptionsExpiryCommandOutput | GetDatalakeExceptionsSubscriptionCommandOutput | GetDatalakeStatusCommandOutput | GetSubscriberCommandOutput | ListDatalakeExceptionsCommandOutput | ListLogSourcesCommandOutput | ListSubscribersCommandOutput | UpdateDatalakeCommandOutput | UpdateDatalakeExceptionsExpiryCommandOutput | UpdateDatalakeExceptionsSubscriptionCommandOutput | UpdateSubscriberCommandOutput | UpdateSubscriptionNotificationConfigurationCommandOutput;
|
|
43
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
44
|
+
/**
|
|
45
|
+
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
46
|
+
*/
|
|
47
|
+
requestHandler?: __HttpHandler;
|
|
48
|
+
/**
|
|
49
|
+
* A constructor for a class implementing the {@link __Hash} interface
|
|
50
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
sha256?: __HashConstructor;
|
|
54
|
+
/**
|
|
55
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
56
|
+
* @internal
|
|
57
|
+
*/
|
|
58
|
+
urlParser?: __UrlParser;
|
|
59
|
+
/**
|
|
60
|
+
* A function that can calculate the length of a request body.
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
63
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
64
|
+
/**
|
|
65
|
+
* A function that converts a stream into an array of bytes.
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
68
|
+
streamCollector?: __StreamCollector;
|
|
69
|
+
/**
|
|
70
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
base64Decoder?: __Decoder;
|
|
74
|
+
/**
|
|
75
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
base64Encoder?: __Encoder;
|
|
79
|
+
/**
|
|
80
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
utf8Decoder?: __Decoder;
|
|
84
|
+
/**
|
|
85
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
utf8Encoder?: __Encoder;
|
|
89
|
+
/**
|
|
90
|
+
* The runtime environment.
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
runtime?: string;
|
|
94
|
+
/**
|
|
95
|
+
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
96
|
+
* trait of an operation.
|
|
97
|
+
*/
|
|
98
|
+
disableHostPrefix?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
101
|
+
*/
|
|
102
|
+
maxAttempts?: number | __Provider<number>;
|
|
103
|
+
/**
|
|
104
|
+
* Specifies which retry algorithm to use.
|
|
105
|
+
*/
|
|
106
|
+
retryMode?: string | __Provider<string>;
|
|
107
|
+
/**
|
|
108
|
+
* Optional logger for logging debug/info/warn/error.
|
|
109
|
+
*/
|
|
110
|
+
logger?: __Logger;
|
|
111
|
+
/**
|
|
112
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
113
|
+
*/
|
|
114
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
115
|
+
/**
|
|
116
|
+
* Enables FIPS compatible endpoints.
|
|
117
|
+
*/
|
|
118
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
119
|
+
/**
|
|
120
|
+
* Unique service identifier.
|
|
121
|
+
* @internal
|
|
122
|
+
*/
|
|
123
|
+
serviceId?: string;
|
|
124
|
+
/**
|
|
125
|
+
* The AWS region to which this client will send requests
|
|
126
|
+
*/
|
|
127
|
+
region?: string | __Provider<string>;
|
|
128
|
+
/**
|
|
129
|
+
* Default credentials provider; Not available in browser runtime.
|
|
130
|
+
* @internal
|
|
131
|
+
*/
|
|
132
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
133
|
+
/**
|
|
134
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
135
|
+
* @internal
|
|
136
|
+
*/
|
|
137
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
138
|
+
/**
|
|
139
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
140
|
+
*/
|
|
141
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
142
|
+
}
|
|
143
|
+
declare type SecurityLakeClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
144
|
+
/**
|
|
145
|
+
* The configuration interface of SecurityLakeClient class constructor that set the region, credentials and other options.
|
|
146
|
+
*/
|
|
147
|
+
export interface SecurityLakeClientConfig extends SecurityLakeClientConfigType {
|
|
148
|
+
}
|
|
149
|
+
declare type SecurityLakeClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
150
|
+
/**
|
|
151
|
+
* The resolved configuration interface of SecurityLakeClient class. This is resolved and normalized from the {@link SecurityLakeClientConfig | constructor configuration interface}.
|
|
152
|
+
*/
|
|
153
|
+
export interface SecurityLakeClientResolvedConfig extends SecurityLakeClientResolvedConfigType {
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* <note>
|
|
157
|
+
* <p>Amazon Security Lake is in preview release. Your use of the Amazon Security Lake
|
|
158
|
+
* preview is subject to Section 2 of the <a href="http://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a>("Betas and Previews").</p>
|
|
159
|
+
* </note>
|
|
160
|
+
* <p>Amazon Security Lake is a fully-managed security data lake service. You can use Security Lake to automatically centralize
|
|
161
|
+
* security data from cloud, on-premises, and custom sources into a data lake that's stored in your account. Security Lake
|
|
162
|
+
* helps you analyze security data, so you can get a more complete understanding of your security posture across the entire organization and improve the protection of your workloads, applications, and data.</p>
|
|
163
|
+
* <p>The data lake is backed by Amazon Simple Storage Service (Amazon S3) buckets, and
|
|
164
|
+
* you retain ownership over your data.</p>
|
|
165
|
+
* <p>Security Lake automates the collection of security-related log and event data from integrated
|
|
166
|
+
* Amazon Web Services. and third-party services and manages the lifecycle of data with customizable
|
|
167
|
+
* retention and replication settings. Security Lake also converts ingested data into Apache Parquet format and a
|
|
168
|
+
* standard open-source schema called the Open Cybersecurity Schema Framework (OCSF).</p>
|
|
169
|
+
* <p>Other Amazon Web Services and third-party services can subscribe to the data that's stored in Security Lake for
|
|
170
|
+
* incident response and security data analytics.</p>
|
|
171
|
+
*/
|
|
172
|
+
export declare class SecurityLakeClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SecurityLakeClientResolvedConfig> {
|
|
173
|
+
/**
|
|
174
|
+
* The resolved configuration of SecurityLakeClient class. This is resolved and normalized from the {@link SecurityLakeClientConfig | constructor configuration interface}.
|
|
175
|
+
*/
|
|
176
|
+
readonly config: SecurityLakeClientResolvedConfig;
|
|
177
|
+
constructor(configuration: SecurityLakeClientConfig);
|
|
178
|
+
/**
|
|
179
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
180
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
181
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
182
|
+
*/
|
|
183
|
+
destroy(): void;
|
|
184
|
+
}
|
|
185
|
+
export {};
|