@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,560 @@
|
|
|
1
|
+
import { SecurityLakeServiceException as __BaseException } from "./SecurityLakeServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
constructor(opts) {
|
|
4
|
+
super({
|
|
5
|
+
name: "AccessDeniedException",
|
|
6
|
+
$fault: "client",
|
|
7
|
+
...opts,
|
|
8
|
+
});
|
|
9
|
+
this.name = "AccessDeniedException";
|
|
10
|
+
this.$fault = "client";
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export var AccessType;
|
|
15
|
+
(function (AccessType) {
|
|
16
|
+
AccessType["LAKEFORMATION"] = "LAKEFORMATION";
|
|
17
|
+
AccessType["S3"] = "S3";
|
|
18
|
+
})(AccessType || (AccessType = {}));
|
|
19
|
+
export class AccountNotFoundException extends __BaseException {
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
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 var OcsfEventClass;
|
|
32
|
+
(function (OcsfEventClass) {
|
|
33
|
+
OcsfEventClass["ACCESS_ACTIVITY"] = "ACCESS_ACTIVITY";
|
|
34
|
+
OcsfEventClass["ACCOUNT_CHANGE"] = "ACCOUNT_CHANGE";
|
|
35
|
+
OcsfEventClass["AUTHENTICATION"] = "AUTHENTICATION";
|
|
36
|
+
OcsfEventClass["AUTHORIZATION"] = "AUTHORIZATION";
|
|
37
|
+
OcsfEventClass["CLOUD_API"] = "CLOUD_API";
|
|
38
|
+
OcsfEventClass["CLOUD_STORAGE"] = "CLOUD_STORAGE";
|
|
39
|
+
OcsfEventClass["CONFIG_STATE"] = "CONFIG_STATE";
|
|
40
|
+
OcsfEventClass["CONTAINER_LIFECYCLE"] = "CONTAINER_LIFECYCLE";
|
|
41
|
+
OcsfEventClass["DATABASE_LIFECYCLE"] = "DATABASE_LIFECYCLE";
|
|
42
|
+
OcsfEventClass["DHCP_ACTIVITY"] = "DHCP_ACTIVITY";
|
|
43
|
+
OcsfEventClass["DNS_ACTIVITY"] = "DNS_ACTIVITY";
|
|
44
|
+
OcsfEventClass["ENTITY_MANAGEMENT_AUDIT"] = "ENTITY_MANAGEMENT_AUDIT";
|
|
45
|
+
OcsfEventClass["FILE_ACTIVITY"] = "FILE_ACTIVITY";
|
|
46
|
+
OcsfEventClass["FTP_ACTIVITY"] = "FTP_ACTIVITY";
|
|
47
|
+
OcsfEventClass["HTTP_ACTIVITY"] = "HTTP_ACTIVITY";
|
|
48
|
+
OcsfEventClass["INVENTORY_INFO"] = "INVENTORY_INFO";
|
|
49
|
+
OcsfEventClass["KERNEL_ACTIVITY"] = "KERNEL_ACTIVITY";
|
|
50
|
+
OcsfEventClass["KERNEL_EXTENSION"] = "KERNEL_EXTENSION";
|
|
51
|
+
OcsfEventClass["MEMORY_ACTIVITY"] = "MEMORY_ACTIVITY";
|
|
52
|
+
OcsfEventClass["MODULE_ACTIVITY"] = "MODULE_ACTIVITY";
|
|
53
|
+
OcsfEventClass["NETWORK_ACTIVITY"] = "NETWORK_ACTIVITY";
|
|
54
|
+
OcsfEventClass["PROCESS_ACTIVITY"] = "PROCESS_ACTIVITY";
|
|
55
|
+
OcsfEventClass["RDP_ACTIVITY"] = "RDP_ACTIVITY";
|
|
56
|
+
OcsfEventClass["REGISTRY_KEY_ACTIVITY"] = "REGISTRY_KEY_ACTIVITY";
|
|
57
|
+
OcsfEventClass["REGISTRY_VALUE_ACTIVITY"] = "REGISTRY_VALUE_ACTIVITY";
|
|
58
|
+
OcsfEventClass["RESOURCE_ACTIVITY"] = "RESOURCE_ACTIVITY";
|
|
59
|
+
OcsfEventClass["RFB_ACTIVITY"] = "RFB_ACTIVITY";
|
|
60
|
+
OcsfEventClass["SCHEDULED_JOB_ACTIVITY"] = "SCHEDULED_JOB_ACTIVITY";
|
|
61
|
+
OcsfEventClass["SECURITY_FINDING"] = "SECURITY_FINDING";
|
|
62
|
+
OcsfEventClass["SMB_ACTIVITY"] = "SMB_ACTIVITY";
|
|
63
|
+
OcsfEventClass["SMTP_ACTIVITY"] = "SMTP_ACTIVITY";
|
|
64
|
+
OcsfEventClass["SSH_ACTIVITY"] = "SSH_ACTIVITY";
|
|
65
|
+
OcsfEventClass["VIRTUAL_MACHINE_ACTIVITY"] = "VIRTUAL_MACHINE_ACTIVITY";
|
|
66
|
+
})(OcsfEventClass || (OcsfEventClass = {}));
|
|
67
|
+
export var SourceStatus;
|
|
68
|
+
(function (SourceStatus) {
|
|
69
|
+
SourceStatus["ACTIVE"] = "ACTIVE";
|
|
70
|
+
SourceStatus["DEACTIVATED"] = "DEACTIVATED";
|
|
71
|
+
SourceStatus["PENDING"] = "PENDING";
|
|
72
|
+
})(SourceStatus || (SourceStatus = {}));
|
|
73
|
+
export var Region;
|
|
74
|
+
(function (Region) {
|
|
75
|
+
Region["AP_NORTHEAST_1"] = "ap-northeast-1";
|
|
76
|
+
Region["AP_SOUTHEAST_2"] = "ap-southeast-2";
|
|
77
|
+
Region["EU_CENTRAL_1"] = "eu-central-1";
|
|
78
|
+
Region["EU_WEST_1"] = "eu-west-1";
|
|
79
|
+
Region["US_EAST_1"] = "us-east-1";
|
|
80
|
+
Region["US_EAST_2"] = "us-east-2";
|
|
81
|
+
Region["US_WEST_2"] = "us-west-2";
|
|
82
|
+
})(Region || (Region = {}));
|
|
83
|
+
export var AwsLogSourceType;
|
|
84
|
+
(function (AwsLogSourceType) {
|
|
85
|
+
AwsLogSourceType["CLOUD_TRAIL"] = "CLOUD_TRAIL";
|
|
86
|
+
AwsLogSourceType["ROUTE53"] = "ROUTE53";
|
|
87
|
+
AwsLogSourceType["SH_FINDINGS"] = "SH_FINDINGS";
|
|
88
|
+
AwsLogSourceType["VPC_FLOW"] = "VPC_FLOW";
|
|
89
|
+
})(AwsLogSourceType || (AwsLogSourceType = {}));
|
|
90
|
+
export class BucketNotFoundException extends __BaseException {
|
|
91
|
+
constructor(opts) {
|
|
92
|
+
super({
|
|
93
|
+
name: "BucketNotFoundException",
|
|
94
|
+
$fault: "client",
|
|
95
|
+
...opts,
|
|
96
|
+
});
|
|
97
|
+
this.name = "BucketNotFoundException";
|
|
98
|
+
this.$fault = "client";
|
|
99
|
+
Object.setPrototypeOf(this, BucketNotFoundException.prototype);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
export class ConcurrentModificationException extends __BaseException {
|
|
103
|
+
constructor(opts) {
|
|
104
|
+
super({
|
|
105
|
+
name: "ConcurrentModificationException",
|
|
106
|
+
$fault: "client",
|
|
107
|
+
...opts,
|
|
108
|
+
});
|
|
109
|
+
this.name = "ConcurrentModificationException";
|
|
110
|
+
this.$fault = "client";
|
|
111
|
+
this.$retryable = {};
|
|
112
|
+
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
export class ConflictException extends __BaseException {
|
|
116
|
+
constructor(opts) {
|
|
117
|
+
super({
|
|
118
|
+
name: "ConflictException",
|
|
119
|
+
$fault: "client",
|
|
120
|
+
...opts,
|
|
121
|
+
});
|
|
122
|
+
this.name = "ConflictException";
|
|
123
|
+
this.$fault = "client";
|
|
124
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
125
|
+
this.resourceId = opts.resourceId;
|
|
126
|
+
this.resourceType = opts.resourceType;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
export class ConflictSourceNamesException extends __BaseException {
|
|
130
|
+
constructor(opts) {
|
|
131
|
+
super({
|
|
132
|
+
name: "ConflictSourceNamesException",
|
|
133
|
+
$fault: "client",
|
|
134
|
+
...opts,
|
|
135
|
+
});
|
|
136
|
+
this.name = "ConflictSourceNamesException";
|
|
137
|
+
this.$fault = "client";
|
|
138
|
+
Object.setPrototypeOf(this, ConflictSourceNamesException.prototype);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
export class ConflictSubscriptionException extends __BaseException {
|
|
142
|
+
constructor(opts) {
|
|
143
|
+
super({
|
|
144
|
+
name: "ConflictSubscriptionException",
|
|
145
|
+
$fault: "client",
|
|
146
|
+
...opts,
|
|
147
|
+
});
|
|
148
|
+
this.name = "ConflictSubscriptionException";
|
|
149
|
+
this.$fault = "client";
|
|
150
|
+
Object.setPrototypeOf(this, ConflictSubscriptionException.prototype);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
export var Dimension;
|
|
154
|
+
(function (Dimension) {
|
|
155
|
+
Dimension["MEMBER"] = "MEMBER";
|
|
156
|
+
Dimension["REGION"] = "REGION";
|
|
157
|
+
Dimension["SOURCE_TYPE"] = "SOURCE_TYPE";
|
|
158
|
+
})(Dimension || (Dimension = {}));
|
|
159
|
+
export class InternalServerException extends __BaseException {
|
|
160
|
+
constructor(opts) {
|
|
161
|
+
super({
|
|
162
|
+
name: "InternalServerException",
|
|
163
|
+
$fault: "server",
|
|
164
|
+
...opts,
|
|
165
|
+
});
|
|
166
|
+
this.name = "InternalServerException";
|
|
167
|
+
this.$fault = "server";
|
|
168
|
+
this.$retryable = {};
|
|
169
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
170
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
174
|
+
constructor(opts) {
|
|
175
|
+
super({
|
|
176
|
+
name: "ResourceNotFoundException",
|
|
177
|
+
$fault: "client",
|
|
178
|
+
...opts,
|
|
179
|
+
});
|
|
180
|
+
this.name = "ResourceNotFoundException";
|
|
181
|
+
this.$fault = "client";
|
|
182
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
183
|
+
this.resourceId = opts.resourceId;
|
|
184
|
+
this.resourceType = opts.resourceType;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
export class S3Exception extends __BaseException {
|
|
188
|
+
constructor(opts) {
|
|
189
|
+
super({
|
|
190
|
+
name: "S3Exception",
|
|
191
|
+
$fault: "client",
|
|
192
|
+
...opts,
|
|
193
|
+
});
|
|
194
|
+
this.name = "S3Exception";
|
|
195
|
+
this.$fault = "client";
|
|
196
|
+
Object.setPrototypeOf(this, S3Exception.prototype);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
export var ValidationExceptionReason;
|
|
200
|
+
(function (ValidationExceptionReason) {
|
|
201
|
+
ValidationExceptionReason["CANNOT_PARSE"] = "cannotParse";
|
|
202
|
+
ValidationExceptionReason["FIELD_VALIDATION_FAILED"] = "fieldValidationFailed";
|
|
203
|
+
ValidationExceptionReason["OTHER"] = "other";
|
|
204
|
+
ValidationExceptionReason["UNKNOWN_OPERATION"] = "unknownOperation";
|
|
205
|
+
})(ValidationExceptionReason || (ValidationExceptionReason = {}));
|
|
206
|
+
export class ValidationException extends __BaseException {
|
|
207
|
+
constructor(opts) {
|
|
208
|
+
super({
|
|
209
|
+
name: "ValidationException",
|
|
210
|
+
$fault: "client",
|
|
211
|
+
...opts,
|
|
212
|
+
});
|
|
213
|
+
this.name = "ValidationException";
|
|
214
|
+
this.$fault = "client";
|
|
215
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
216
|
+
this.reason = opts.reason;
|
|
217
|
+
this.fieldList = opts.fieldList;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
export var StorageClass;
|
|
221
|
+
(function (StorageClass) {
|
|
222
|
+
StorageClass["DEEP_ARCHIVE"] = "DEEP_ARCHIVE";
|
|
223
|
+
StorageClass["EXPIRE"] = "EXPIRE";
|
|
224
|
+
StorageClass["GLACIER"] = "GLACIER";
|
|
225
|
+
StorageClass["GLACIER_IR"] = "GLACIER_IR";
|
|
226
|
+
StorageClass["INTELLIGENT_TIERING"] = "INTELLIGENT_TIERING";
|
|
227
|
+
StorageClass["ONEZONE_IA"] = "ONEZONE_IA";
|
|
228
|
+
StorageClass["STANDARD_IA"] = "STANDARD_IA";
|
|
229
|
+
})(StorageClass || (StorageClass = {}));
|
|
230
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
231
|
+
constructor(opts) {
|
|
232
|
+
super({
|
|
233
|
+
name: "ServiceQuotaExceededException",
|
|
234
|
+
$fault: "client",
|
|
235
|
+
...opts,
|
|
236
|
+
});
|
|
237
|
+
this.name = "ServiceQuotaExceededException";
|
|
238
|
+
this.$fault = "client";
|
|
239
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
240
|
+
this.resourceId = opts.resourceId;
|
|
241
|
+
this.resourceType = opts.resourceType;
|
|
242
|
+
this.serviceCode = opts.serviceCode;
|
|
243
|
+
this.quotaCode = opts.quotaCode;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
export class ThrottlingException extends __BaseException {
|
|
247
|
+
constructor(opts) {
|
|
248
|
+
super({
|
|
249
|
+
name: "ThrottlingException",
|
|
250
|
+
$fault: "client",
|
|
251
|
+
...opts,
|
|
252
|
+
});
|
|
253
|
+
this.name = "ThrottlingException";
|
|
254
|
+
this.$fault = "client";
|
|
255
|
+
this.$retryable = {
|
|
256
|
+
throttling: true,
|
|
257
|
+
};
|
|
258
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
259
|
+
this.serviceCode = opts.serviceCode;
|
|
260
|
+
this.quotaCode = opts.quotaCode;
|
|
261
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
export var SubscriptionProtocolType;
|
|
265
|
+
(function (SubscriptionProtocolType) {
|
|
266
|
+
SubscriptionProtocolType["APP"] = "APP";
|
|
267
|
+
SubscriptionProtocolType["EMAIL"] = "EMAIL";
|
|
268
|
+
SubscriptionProtocolType["EMAIL_JSON"] = "EMAIL_JSON";
|
|
269
|
+
SubscriptionProtocolType["FIREHOSE"] = "FIREHOSE";
|
|
270
|
+
SubscriptionProtocolType["HTTP"] = "HTTP";
|
|
271
|
+
SubscriptionProtocolType["HTTPS"] = "HTTPS";
|
|
272
|
+
SubscriptionProtocolType["LAMBDA"] = "LAMBDA";
|
|
273
|
+
SubscriptionProtocolType["SMS"] = "SMS";
|
|
274
|
+
SubscriptionProtocolType["SQS"] = "SQS";
|
|
275
|
+
})(SubscriptionProtocolType || (SubscriptionProtocolType = {}));
|
|
276
|
+
export var SourceType;
|
|
277
|
+
(function (SourceType) {
|
|
278
|
+
SourceType.visit = (value, visitor) => {
|
|
279
|
+
if (value.awsSourceType !== undefined)
|
|
280
|
+
return visitor.awsSourceType(value.awsSourceType);
|
|
281
|
+
if (value.customSourceType !== undefined)
|
|
282
|
+
return visitor.customSourceType(value.customSourceType);
|
|
283
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
284
|
+
};
|
|
285
|
+
})(SourceType || (SourceType = {}));
|
|
286
|
+
export class InvalidInputException extends __BaseException {
|
|
287
|
+
constructor(opts) {
|
|
288
|
+
super({
|
|
289
|
+
name: "InvalidInputException",
|
|
290
|
+
$fault: "client",
|
|
291
|
+
...opts,
|
|
292
|
+
});
|
|
293
|
+
this.name = "InvalidInputException";
|
|
294
|
+
this.$fault = "client";
|
|
295
|
+
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
export var HttpsMethod;
|
|
299
|
+
(function (HttpsMethod) {
|
|
300
|
+
HttpsMethod["POST"] = "POST";
|
|
301
|
+
HttpsMethod["PUT"] = "PUT";
|
|
302
|
+
})(HttpsMethod || (HttpsMethod = {}));
|
|
303
|
+
export var EndpointProtocol;
|
|
304
|
+
(function (EndpointProtocol) {
|
|
305
|
+
EndpointProtocol["HTTPS"] = "HTTPS";
|
|
306
|
+
EndpointProtocol["SQS"] = "SQS";
|
|
307
|
+
})(EndpointProtocol || (EndpointProtocol = {}));
|
|
308
|
+
export class EventBridgeException extends __BaseException {
|
|
309
|
+
constructor(opts) {
|
|
310
|
+
super({
|
|
311
|
+
name: "EventBridgeException",
|
|
312
|
+
$fault: "client",
|
|
313
|
+
...opts,
|
|
314
|
+
});
|
|
315
|
+
this.name = "EventBridgeException";
|
|
316
|
+
this.$fault = "client";
|
|
317
|
+
Object.setPrototypeOf(this, EventBridgeException.prototype);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
export var SettingsStatus;
|
|
321
|
+
(function (SettingsStatus) {
|
|
322
|
+
SettingsStatus["COMPLETED"] = "COMPLETED";
|
|
323
|
+
SettingsStatus["FAILED"] = "FAILED";
|
|
324
|
+
SettingsStatus["INITIALIZED"] = "INITIALIZED";
|
|
325
|
+
SettingsStatus["PENDING"] = "PENDING";
|
|
326
|
+
})(SettingsStatus || (SettingsStatus = {}));
|
|
327
|
+
export var SubscriptionStatus;
|
|
328
|
+
(function (SubscriptionStatus) {
|
|
329
|
+
SubscriptionStatus["ACTIVE"] = "ACTIVE";
|
|
330
|
+
SubscriptionStatus["DEACTIVATED"] = "DEACTIVATED";
|
|
331
|
+
SubscriptionStatus["PENDING"] = "PENDING";
|
|
332
|
+
SubscriptionStatus["READY"] = "READY";
|
|
333
|
+
})(SubscriptionStatus || (SubscriptionStatus = {}));
|
|
334
|
+
export const LogsStatusFilterSensitiveLog = (obj) => ({
|
|
335
|
+
...obj,
|
|
336
|
+
});
|
|
337
|
+
export const AccountSourcesFilterSensitiveLog = (obj) => ({
|
|
338
|
+
...obj,
|
|
339
|
+
});
|
|
340
|
+
export const AutoEnableNewRegionConfigurationFilterSensitiveLog = (obj) => ({
|
|
341
|
+
...obj,
|
|
342
|
+
});
|
|
343
|
+
export const CreateAwsLogSourceRequestFilterSensitiveLog = (obj) => ({
|
|
344
|
+
...obj,
|
|
345
|
+
});
|
|
346
|
+
export const CreateAwsLogSourceResponseFilterSensitiveLog = (obj) => ({
|
|
347
|
+
...obj,
|
|
348
|
+
});
|
|
349
|
+
export const ValidationExceptionFieldFilterSensitiveLog = (obj) => ({
|
|
350
|
+
...obj,
|
|
351
|
+
});
|
|
352
|
+
export const CreateCustomLogSourceRequestFilterSensitiveLog = (obj) => ({
|
|
353
|
+
...obj,
|
|
354
|
+
});
|
|
355
|
+
export const CreateCustomLogSourceResponseFilterSensitiveLog = (obj) => ({
|
|
356
|
+
...obj,
|
|
357
|
+
});
|
|
358
|
+
export const RetentionSettingFilterSensitiveLog = (obj) => ({
|
|
359
|
+
...obj,
|
|
360
|
+
});
|
|
361
|
+
export const LakeConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
362
|
+
...obj,
|
|
363
|
+
});
|
|
364
|
+
export const CreateDatalakeRequestFilterSensitiveLog = (obj) => ({
|
|
365
|
+
...obj,
|
|
366
|
+
});
|
|
367
|
+
export const CreateDatalakeResponseFilterSensitiveLog = (obj) => ({
|
|
368
|
+
...obj,
|
|
369
|
+
});
|
|
370
|
+
export const CreateDatalakeAutoEnableRequestFilterSensitiveLog = (obj) => ({
|
|
371
|
+
...obj,
|
|
372
|
+
});
|
|
373
|
+
export const CreateDatalakeAutoEnableResponseFilterSensitiveLog = (obj) => ({
|
|
374
|
+
...obj,
|
|
375
|
+
});
|
|
376
|
+
export const CreateDatalakeDelegatedAdminRequestFilterSensitiveLog = (obj) => ({
|
|
377
|
+
...obj,
|
|
378
|
+
});
|
|
379
|
+
export const CreateDatalakeDelegatedAdminResponseFilterSensitiveLog = (obj) => ({
|
|
380
|
+
...obj,
|
|
381
|
+
});
|
|
382
|
+
export const CreateDatalakeExceptionsSubscriptionRequestFilterSensitiveLog = (obj) => ({
|
|
383
|
+
...obj,
|
|
384
|
+
});
|
|
385
|
+
export const CreateDatalakeExceptionsSubscriptionResponseFilterSensitiveLog = (obj) => ({
|
|
386
|
+
...obj,
|
|
387
|
+
});
|
|
388
|
+
export const SourceTypeFilterSensitiveLog = (obj) => {
|
|
389
|
+
if (obj.awsSourceType !== undefined)
|
|
390
|
+
return { awsSourceType: obj.awsSourceType };
|
|
391
|
+
if (obj.customSourceType !== undefined)
|
|
392
|
+
return { customSourceType: obj.customSourceType };
|
|
393
|
+
if (obj.$unknown !== undefined)
|
|
394
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
395
|
+
};
|
|
396
|
+
export const CreateSubscriberRequestFilterSensitiveLog = (obj) => ({
|
|
397
|
+
...obj,
|
|
398
|
+
...(obj.sourceTypes && { sourceTypes: obj.sourceTypes.map((item) => SourceTypeFilterSensitiveLog(item)) }),
|
|
399
|
+
});
|
|
400
|
+
export const CreateSubscriberResponseFilterSensitiveLog = (obj) => ({
|
|
401
|
+
...obj,
|
|
402
|
+
});
|
|
403
|
+
export const CreateSubscriptionNotificationConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
404
|
+
...obj,
|
|
405
|
+
});
|
|
406
|
+
export const CreateSubscriptionNotificationConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
407
|
+
...obj,
|
|
408
|
+
});
|
|
409
|
+
export const DeleteAwsLogSourceRequestFilterSensitiveLog = (obj) => ({
|
|
410
|
+
...obj,
|
|
411
|
+
});
|
|
412
|
+
export const DeleteAwsLogSourceResponseFilterSensitiveLog = (obj) => ({
|
|
413
|
+
...obj,
|
|
414
|
+
});
|
|
415
|
+
export const DeleteCustomLogSourceRequestFilterSensitiveLog = (obj) => ({
|
|
416
|
+
...obj,
|
|
417
|
+
});
|
|
418
|
+
export const DeleteCustomLogSourceResponseFilterSensitiveLog = (obj) => ({
|
|
419
|
+
...obj,
|
|
420
|
+
});
|
|
421
|
+
export const DeleteDatalakeRequestFilterSensitiveLog = (obj) => ({
|
|
422
|
+
...obj,
|
|
423
|
+
});
|
|
424
|
+
export const DeleteDatalakeResponseFilterSensitiveLog = (obj) => ({
|
|
425
|
+
...obj,
|
|
426
|
+
});
|
|
427
|
+
export const DeleteDatalakeAutoEnableRequestFilterSensitiveLog = (obj) => ({
|
|
428
|
+
...obj,
|
|
429
|
+
});
|
|
430
|
+
export const DeleteDatalakeAutoEnableResponseFilterSensitiveLog = (obj) => ({
|
|
431
|
+
...obj,
|
|
432
|
+
});
|
|
433
|
+
export const DeleteDatalakeDelegatedAdminRequestFilterSensitiveLog = (obj) => ({
|
|
434
|
+
...obj,
|
|
435
|
+
});
|
|
436
|
+
export const DeleteDatalakeDelegatedAdminResponseFilterSensitiveLog = (obj) => ({
|
|
437
|
+
...obj,
|
|
438
|
+
});
|
|
439
|
+
export const DeleteDatalakeExceptionsSubscriptionRequestFilterSensitiveLog = (obj) => ({
|
|
440
|
+
...obj,
|
|
441
|
+
});
|
|
442
|
+
export const DeleteDatalakeExceptionsSubscriptionResponseFilterSensitiveLog = (obj) => ({
|
|
443
|
+
...obj,
|
|
444
|
+
});
|
|
445
|
+
export const DeleteSubscriberRequestFilterSensitiveLog = (obj) => ({
|
|
446
|
+
...obj,
|
|
447
|
+
});
|
|
448
|
+
export const DeleteSubscriberResponseFilterSensitiveLog = (obj) => ({
|
|
449
|
+
...obj,
|
|
450
|
+
});
|
|
451
|
+
export const DeleteSubscriptionNotificationConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
452
|
+
...obj,
|
|
453
|
+
});
|
|
454
|
+
export const DeleteSubscriptionNotificationConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
455
|
+
...obj,
|
|
456
|
+
});
|
|
457
|
+
export const FailuresFilterSensitiveLog = (obj) => ({
|
|
458
|
+
...obj,
|
|
459
|
+
});
|
|
460
|
+
export const FailuresResponseFilterSensitiveLog = (obj) => ({
|
|
461
|
+
...obj,
|
|
462
|
+
});
|
|
463
|
+
export const GetDatalakeRequestFilterSensitiveLog = (obj) => ({
|
|
464
|
+
...obj,
|
|
465
|
+
});
|
|
466
|
+
export const LakeConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
467
|
+
...obj,
|
|
468
|
+
});
|
|
469
|
+
export const GetDatalakeResponseFilterSensitiveLog = (obj) => ({
|
|
470
|
+
...obj,
|
|
471
|
+
});
|
|
472
|
+
export const GetDatalakeAutoEnableRequestFilterSensitiveLog = (obj) => ({
|
|
473
|
+
...obj,
|
|
474
|
+
});
|
|
475
|
+
export const GetDatalakeAutoEnableResponseFilterSensitiveLog = (obj) => ({
|
|
476
|
+
...obj,
|
|
477
|
+
});
|
|
478
|
+
export const GetDatalakeExceptionsExpiryRequestFilterSensitiveLog = (obj) => ({
|
|
479
|
+
...obj,
|
|
480
|
+
});
|
|
481
|
+
export const GetDatalakeExceptionsExpiryResponseFilterSensitiveLog = (obj) => ({
|
|
482
|
+
...obj,
|
|
483
|
+
});
|
|
484
|
+
export const GetDatalakeExceptionsSubscriptionRequestFilterSensitiveLog = (obj) => ({
|
|
485
|
+
...obj,
|
|
486
|
+
});
|
|
487
|
+
export const ProtocolAndNotificationEndpointFilterSensitiveLog = (obj) => ({
|
|
488
|
+
...obj,
|
|
489
|
+
});
|
|
490
|
+
export const GetDatalakeExceptionsSubscriptionResponseFilterSensitiveLog = (obj) => ({
|
|
491
|
+
...obj,
|
|
492
|
+
});
|
|
493
|
+
export const GetDatalakeStatusRequestFilterSensitiveLog = (obj) => ({
|
|
494
|
+
...obj,
|
|
495
|
+
});
|
|
496
|
+
export const GetDatalakeStatusResponseFilterSensitiveLog = (obj) => ({
|
|
497
|
+
...obj,
|
|
498
|
+
});
|
|
499
|
+
export const GetSubscriberRequestFilterSensitiveLog = (obj) => ({
|
|
500
|
+
...obj,
|
|
501
|
+
});
|
|
502
|
+
export const SubscriberResourceFilterSensitiveLog = (obj) => ({
|
|
503
|
+
...obj,
|
|
504
|
+
...(obj.sourceTypes && { sourceTypes: obj.sourceTypes.map((item) => SourceTypeFilterSensitiveLog(item)) }),
|
|
505
|
+
});
|
|
506
|
+
export const GetSubscriberResponseFilterSensitiveLog = (obj) => ({
|
|
507
|
+
...obj,
|
|
508
|
+
...(obj.subscriber && { subscriber: SubscriberResourceFilterSensitiveLog(obj.subscriber) }),
|
|
509
|
+
});
|
|
510
|
+
export const ListDatalakeExceptionsRequestFilterSensitiveLog = (obj) => ({
|
|
511
|
+
...obj,
|
|
512
|
+
});
|
|
513
|
+
export const ListDatalakeExceptionsResponseFilterSensitiveLog = (obj) => ({
|
|
514
|
+
...obj,
|
|
515
|
+
});
|
|
516
|
+
export const ListLogSourcesRequestFilterSensitiveLog = (obj) => ({
|
|
517
|
+
...obj,
|
|
518
|
+
});
|
|
519
|
+
export const ListLogSourcesResponseFilterSensitiveLog = (obj) => ({
|
|
520
|
+
...obj,
|
|
521
|
+
});
|
|
522
|
+
export const ListSubscribersRequestFilterSensitiveLog = (obj) => ({
|
|
523
|
+
...obj,
|
|
524
|
+
});
|
|
525
|
+
export const ListSubscribersResponseFilterSensitiveLog = (obj) => ({
|
|
526
|
+
...obj,
|
|
527
|
+
...(obj.subscribers && { subscribers: obj.subscribers.map((item) => SubscriberResourceFilterSensitiveLog(item)) }),
|
|
528
|
+
});
|
|
529
|
+
export const UpdateDatalakeRequestFilterSensitiveLog = (obj) => ({
|
|
530
|
+
...obj,
|
|
531
|
+
});
|
|
532
|
+
export const UpdateDatalakeResponseFilterSensitiveLog = (obj) => ({
|
|
533
|
+
...obj,
|
|
534
|
+
});
|
|
535
|
+
export const UpdateDatalakeExceptionsExpiryRequestFilterSensitiveLog = (obj) => ({
|
|
536
|
+
...obj,
|
|
537
|
+
});
|
|
538
|
+
export const UpdateDatalakeExceptionsExpiryResponseFilterSensitiveLog = (obj) => ({
|
|
539
|
+
...obj,
|
|
540
|
+
});
|
|
541
|
+
export const UpdateDatalakeExceptionsSubscriptionRequestFilterSensitiveLog = (obj) => ({
|
|
542
|
+
...obj,
|
|
543
|
+
});
|
|
544
|
+
export const UpdateDatalakeExceptionsSubscriptionResponseFilterSensitiveLog = (obj) => ({
|
|
545
|
+
...obj,
|
|
546
|
+
});
|
|
547
|
+
export const UpdateSubscriberRequestFilterSensitiveLog = (obj) => ({
|
|
548
|
+
...obj,
|
|
549
|
+
...(obj.sourceTypes && { sourceTypes: obj.sourceTypes.map((item) => SourceTypeFilterSensitiveLog(item)) }),
|
|
550
|
+
});
|
|
551
|
+
export const UpdateSubscriberResponseFilterSensitiveLog = (obj) => ({
|
|
552
|
+
...obj,
|
|
553
|
+
...(obj.subscriber && { subscriber: SubscriberResourceFilterSensitiveLog(obj.subscriber) }),
|
|
554
|
+
});
|
|
555
|
+
export const UpdateSubscriptionNotificationConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
556
|
+
...obj,
|
|
557
|
+
});
|
|
558
|
+
export const UpdateSubscriptionNotificationConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
559
|
+
...obj,
|
|
560
|
+
});
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { GetDatalakeStatusCommand, } from "../commands/GetDatalakeStatusCommand";
|
|
2
|
+
import { SecurityLake } from "../SecurityLake";
|
|
3
|
+
import { SecurityLakeClient } from "../SecurityLakeClient";
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new GetDatalakeStatusCommand(input), ...args);
|
|
6
|
+
};
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.getDatalakeStatus(input, ...args);
|
|
9
|
+
};
|
|
10
|
+
export async function* paginateGetDatalakeStatus(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
14
|
+
while (hasNext) {
|
|
15
|
+
input.nextToken = token;
|
|
16
|
+
input["maxAccountResults"] = config.pageSize;
|
|
17
|
+
if (config.client instanceof SecurityLake) {
|
|
18
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
+
}
|
|
20
|
+
else if (config.client instanceof SecurityLakeClient) {
|
|
21
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
throw new Error("Invalid client, expected SecurityLake | SecurityLakeClient");
|
|
25
|
+
}
|
|
26
|
+
yield page;
|
|
27
|
+
const prevToken = token;
|
|
28
|
+
token = page.nextToken;
|
|
29
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
30
|
+
}
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ListDatalakeExceptionsCommand, } from "../commands/ListDatalakeExceptionsCommand";
|
|
2
|
+
import { SecurityLake } from "../SecurityLake";
|
|
3
|
+
import { SecurityLakeClient } from "../SecurityLakeClient";
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new ListDatalakeExceptionsCommand(input), ...args);
|
|
6
|
+
};
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.listDatalakeExceptions(input, ...args);
|
|
9
|
+
};
|
|
10
|
+
export async function* paginateListDatalakeExceptions(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
14
|
+
while (hasNext) {
|
|
15
|
+
input.nextToken = token;
|
|
16
|
+
input["maxFailures"] = config.pageSize;
|
|
17
|
+
if (config.client instanceof SecurityLake) {
|
|
18
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
+
}
|
|
20
|
+
else if (config.client instanceof SecurityLakeClient) {
|
|
21
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
throw new Error("Invalid client, expected SecurityLake | SecurityLakeClient");
|
|
25
|
+
}
|
|
26
|
+
yield page;
|
|
27
|
+
const prevToken = token;
|
|
28
|
+
token = page.nextToken;
|
|
29
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
30
|
+
}
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ListLogSourcesCommand, } from "../commands/ListLogSourcesCommand";
|
|
2
|
+
import { SecurityLake } from "../SecurityLake";
|
|
3
|
+
import { SecurityLakeClient } from "../SecurityLakeClient";
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new ListLogSourcesCommand(input), ...args);
|
|
6
|
+
};
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.listLogSources(input, ...args);
|
|
9
|
+
};
|
|
10
|
+
export async function* paginateListLogSources(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
14
|
+
while (hasNext) {
|
|
15
|
+
input.nextToken = token;
|
|
16
|
+
input["maxResults"] = config.pageSize;
|
|
17
|
+
if (config.client instanceof SecurityLake) {
|
|
18
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
+
}
|
|
20
|
+
else if (config.client instanceof SecurityLakeClient) {
|
|
21
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
throw new Error("Invalid client, expected SecurityLake | SecurityLakeClient");
|
|
25
|
+
}
|
|
26
|
+
yield page;
|
|
27
|
+
const prevToken = token;
|
|
28
|
+
token = page.nextToken;
|
|
29
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
30
|
+
}
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ListSubscribersCommand, } from "../commands/ListSubscribersCommand";
|
|
2
|
+
import { SecurityLake } from "../SecurityLake";
|
|
3
|
+
import { SecurityLakeClient } from "../SecurityLakeClient";
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new ListSubscribersCommand(input), ...args);
|
|
6
|
+
};
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.listSubscribers(input, ...args);
|
|
9
|
+
};
|
|
10
|
+
export async function* paginateListSubscribers(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
14
|
+
while (hasNext) {
|
|
15
|
+
input.nextToken = token;
|
|
16
|
+
input["maxResults"] = config.pageSize;
|
|
17
|
+
if (config.client instanceof SecurityLake) {
|
|
18
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
+
}
|
|
20
|
+
else if (config.client instanceof SecurityLakeClient) {
|
|
21
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
throw new Error("Invalid client, expected SecurityLake | SecurityLakeClient");
|
|
25
|
+
}
|
|
26
|
+
yield page;
|
|
27
|
+
const prevToken = token;
|
|
28
|
+
token = page.nextToken;
|
|
29
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
30
|
+
}
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|