@aws-sdk/client-securitylake 3.933.0 → 3.935.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +36 -35
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +35 -0
- package/dist-es/models/errors.js +93 -0
- package/dist-es/models/models_0.js +1 -128
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +83 -0
- package/dist-types/models/errors.d.ts +125 -0
- package/dist-types/models/models_0.d.ts +1 -208
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +45 -0
- package/dist-types/ts3.4/models/errors.d.ts +54 -0
- package/dist-types/ts3.4/models/models_0.d.ts +8 -99
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -131,20 +131,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends SecurityLakeSe
|
|
|
131
131
|
this.errorCode = opts.errorCode;
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
|
-
const AccessType = {
|
|
135
|
-
LAKEFORMATION: "LAKEFORMATION",
|
|
136
|
-
S3: "S3",
|
|
137
|
-
};
|
|
138
|
-
const AwsLogSourceName = {
|
|
139
|
-
CLOUD_TRAIL_MGMT: "CLOUD_TRAIL_MGMT",
|
|
140
|
-
EKS_AUDIT: "EKS_AUDIT",
|
|
141
|
-
LAMBDA_EXECUTION: "LAMBDA_EXECUTION",
|
|
142
|
-
ROUTE53: "ROUTE53",
|
|
143
|
-
S3_DATA: "S3_DATA",
|
|
144
|
-
SH_FINDINGS: "SH_FINDINGS",
|
|
145
|
-
VPC_FLOW: "VPC_FLOW",
|
|
146
|
-
WAF: "WAF",
|
|
147
|
-
};
|
|
148
134
|
let BadRequestException$1 = class BadRequestException extends SecurityLakeServiceException$1 {
|
|
149
135
|
name = "BadRequestException";
|
|
150
136
|
$fault = "client";
|
|
@@ -223,27 +209,6 @@ let ThrottlingException$1 = class ThrottlingException extends SecurityLakeServic
|
|
|
223
209
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
224
210
|
}
|
|
225
211
|
};
|
|
226
|
-
const DataLakeStatus = {
|
|
227
|
-
COMPLETED: "COMPLETED",
|
|
228
|
-
FAILED: "FAILED",
|
|
229
|
-
INITIALIZED: "INITIALIZED",
|
|
230
|
-
PENDING: "PENDING",
|
|
231
|
-
};
|
|
232
|
-
const SubscriberStatus = {
|
|
233
|
-
ACTIVE: "ACTIVE",
|
|
234
|
-
DEACTIVATED: "DEACTIVATED",
|
|
235
|
-
PENDING: "PENDING",
|
|
236
|
-
READY: "READY",
|
|
237
|
-
};
|
|
238
|
-
const HttpMethod = {
|
|
239
|
-
POST: "POST",
|
|
240
|
-
PUT: "PUT",
|
|
241
|
-
};
|
|
242
|
-
const SourceCollectionStatus = {
|
|
243
|
-
COLLECTING: "COLLECTING",
|
|
244
|
-
MISCONFIGURED: "MISCONFIGURED",
|
|
245
|
-
NOT_COLLECTING: "NOT_COLLECTING",
|
|
246
|
-
};
|
|
247
212
|
|
|
248
213
|
const _ADE = "AccessDeniedException";
|
|
249
214
|
const _AI = "AwsIdentity";
|
|
@@ -1715,6 +1680,42 @@ const paginateListLogSources = core.createPaginator(SecurityLakeClient, ListLogS
|
|
|
1715
1680
|
|
|
1716
1681
|
const paginateListSubscribers = core.createPaginator(SecurityLakeClient, ListSubscribersCommand, "nextToken", "nextToken", "maxResults");
|
|
1717
1682
|
|
|
1683
|
+
const AccessType = {
|
|
1684
|
+
LAKEFORMATION: "LAKEFORMATION",
|
|
1685
|
+
S3: "S3",
|
|
1686
|
+
};
|
|
1687
|
+
const AwsLogSourceName = {
|
|
1688
|
+
CLOUD_TRAIL_MGMT: "CLOUD_TRAIL_MGMT",
|
|
1689
|
+
EKS_AUDIT: "EKS_AUDIT",
|
|
1690
|
+
LAMBDA_EXECUTION: "LAMBDA_EXECUTION",
|
|
1691
|
+
ROUTE53: "ROUTE53",
|
|
1692
|
+
S3_DATA: "S3_DATA",
|
|
1693
|
+
SH_FINDINGS: "SH_FINDINGS",
|
|
1694
|
+
VPC_FLOW: "VPC_FLOW",
|
|
1695
|
+
WAF: "WAF",
|
|
1696
|
+
};
|
|
1697
|
+
const DataLakeStatus = {
|
|
1698
|
+
COMPLETED: "COMPLETED",
|
|
1699
|
+
FAILED: "FAILED",
|
|
1700
|
+
INITIALIZED: "INITIALIZED",
|
|
1701
|
+
PENDING: "PENDING",
|
|
1702
|
+
};
|
|
1703
|
+
const SubscriberStatus = {
|
|
1704
|
+
ACTIVE: "ACTIVE",
|
|
1705
|
+
DEACTIVATED: "DEACTIVATED",
|
|
1706
|
+
PENDING: "PENDING",
|
|
1707
|
+
READY: "READY",
|
|
1708
|
+
};
|
|
1709
|
+
const HttpMethod = {
|
|
1710
|
+
POST: "POST",
|
|
1711
|
+
PUT: "PUT",
|
|
1712
|
+
};
|
|
1713
|
+
const SourceCollectionStatus = {
|
|
1714
|
+
COLLECTING: "COLLECTING",
|
|
1715
|
+
MISCONFIGURED: "MISCONFIGURED",
|
|
1716
|
+
NOT_COLLECTING: "NOT_COLLECTING",
|
|
1717
|
+
};
|
|
1718
|
+
|
|
1718
1719
|
Object.defineProperty(exports, "$Command", {
|
|
1719
1720
|
enumerable: true,
|
|
1720
1721
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./SecurityLakeClient";
|
|
|
2
2
|
export * from "./SecurityLake";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { SecurityLakeServiceException } from "./models/SecurityLakeServiceException";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export const AccessType = {
|
|
2
|
+
LAKEFORMATION: "LAKEFORMATION",
|
|
3
|
+
S3: "S3",
|
|
4
|
+
};
|
|
5
|
+
export const AwsLogSourceName = {
|
|
6
|
+
CLOUD_TRAIL_MGMT: "CLOUD_TRAIL_MGMT",
|
|
7
|
+
EKS_AUDIT: "EKS_AUDIT",
|
|
8
|
+
LAMBDA_EXECUTION: "LAMBDA_EXECUTION",
|
|
9
|
+
ROUTE53: "ROUTE53",
|
|
10
|
+
S3_DATA: "S3_DATA",
|
|
11
|
+
SH_FINDINGS: "SH_FINDINGS",
|
|
12
|
+
VPC_FLOW: "VPC_FLOW",
|
|
13
|
+
WAF: "WAF",
|
|
14
|
+
};
|
|
15
|
+
export const DataLakeStatus = {
|
|
16
|
+
COMPLETED: "COMPLETED",
|
|
17
|
+
FAILED: "FAILED",
|
|
18
|
+
INITIALIZED: "INITIALIZED",
|
|
19
|
+
PENDING: "PENDING",
|
|
20
|
+
};
|
|
21
|
+
export const SubscriberStatus = {
|
|
22
|
+
ACTIVE: "ACTIVE",
|
|
23
|
+
DEACTIVATED: "DEACTIVATED",
|
|
24
|
+
PENDING: "PENDING",
|
|
25
|
+
READY: "READY",
|
|
26
|
+
};
|
|
27
|
+
export const HttpMethod = {
|
|
28
|
+
POST: "POST",
|
|
29
|
+
PUT: "PUT",
|
|
30
|
+
};
|
|
31
|
+
export const SourceCollectionStatus = {
|
|
32
|
+
COLLECTING: "COLLECTING",
|
|
33
|
+
MISCONFIGURED: "MISCONFIGURED",
|
|
34
|
+
NOT_COLLECTING: "NOT_COLLECTING",
|
|
35
|
+
};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { SecurityLakeServiceException as __BaseException } from "./SecurityLakeServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
errorCode;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "AccessDeniedException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
this.errorCode = opts.errorCode;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class BadRequestException extends __BaseException {
|
|
17
|
+
name = "BadRequestException";
|
|
18
|
+
$fault = "client";
|
|
19
|
+
constructor(opts) {
|
|
20
|
+
super({
|
|
21
|
+
name: "BadRequestException",
|
|
22
|
+
$fault: "client",
|
|
23
|
+
...opts,
|
|
24
|
+
});
|
|
25
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
export class ConflictException extends __BaseException {
|
|
29
|
+
name = "ConflictException";
|
|
30
|
+
$fault = "client";
|
|
31
|
+
resourceName;
|
|
32
|
+
resourceType;
|
|
33
|
+
constructor(opts) {
|
|
34
|
+
super({
|
|
35
|
+
name: "ConflictException",
|
|
36
|
+
$fault: "client",
|
|
37
|
+
...opts,
|
|
38
|
+
});
|
|
39
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
40
|
+
this.resourceName = opts.resourceName;
|
|
41
|
+
this.resourceType = opts.resourceType;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export class InternalServerException extends __BaseException {
|
|
45
|
+
name = "InternalServerException";
|
|
46
|
+
$fault = "server";
|
|
47
|
+
$retryable = {};
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "InternalServerException",
|
|
51
|
+
$fault: "server",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
58
|
+
name = "ResourceNotFoundException";
|
|
59
|
+
$fault = "client";
|
|
60
|
+
resourceName;
|
|
61
|
+
resourceType;
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "ResourceNotFoundException",
|
|
65
|
+
$fault: "client",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
69
|
+
this.resourceName = opts.resourceName;
|
|
70
|
+
this.resourceType = opts.resourceType;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
export class ThrottlingException extends __BaseException {
|
|
74
|
+
name = "ThrottlingException";
|
|
75
|
+
$fault = "client";
|
|
76
|
+
$retryable = {
|
|
77
|
+
throttling: true,
|
|
78
|
+
};
|
|
79
|
+
serviceCode;
|
|
80
|
+
quotaCode;
|
|
81
|
+
retryAfterSeconds;
|
|
82
|
+
constructor(opts) {
|
|
83
|
+
super({
|
|
84
|
+
name: "ThrottlingException",
|
|
85
|
+
$fault: "client",
|
|
86
|
+
...opts,
|
|
87
|
+
});
|
|
88
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
89
|
+
this.serviceCode = opts.serviceCode;
|
|
90
|
+
this.quotaCode = opts.quotaCode;
|
|
91
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
@@ -1,128 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
errorCode;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "AccessDeniedException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
-
this.errorCode = opts.errorCode;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export const AccessType = {
|
|
17
|
-
LAKEFORMATION: "LAKEFORMATION",
|
|
18
|
-
S3: "S3",
|
|
19
|
-
};
|
|
20
|
-
export const AwsLogSourceName = {
|
|
21
|
-
CLOUD_TRAIL_MGMT: "CLOUD_TRAIL_MGMT",
|
|
22
|
-
EKS_AUDIT: "EKS_AUDIT",
|
|
23
|
-
LAMBDA_EXECUTION: "LAMBDA_EXECUTION",
|
|
24
|
-
ROUTE53: "ROUTE53",
|
|
25
|
-
S3_DATA: "S3_DATA",
|
|
26
|
-
SH_FINDINGS: "SH_FINDINGS",
|
|
27
|
-
VPC_FLOW: "VPC_FLOW",
|
|
28
|
-
WAF: "WAF",
|
|
29
|
-
};
|
|
30
|
-
export class BadRequestException extends __BaseException {
|
|
31
|
-
name = "BadRequestException";
|
|
32
|
-
$fault = "client";
|
|
33
|
-
constructor(opts) {
|
|
34
|
-
super({
|
|
35
|
-
name: "BadRequestException",
|
|
36
|
-
$fault: "client",
|
|
37
|
-
...opts,
|
|
38
|
-
});
|
|
39
|
-
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
export class ConflictException extends __BaseException {
|
|
43
|
-
name = "ConflictException";
|
|
44
|
-
$fault = "client";
|
|
45
|
-
resourceName;
|
|
46
|
-
resourceType;
|
|
47
|
-
constructor(opts) {
|
|
48
|
-
super({
|
|
49
|
-
name: "ConflictException",
|
|
50
|
-
$fault: "client",
|
|
51
|
-
...opts,
|
|
52
|
-
});
|
|
53
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
54
|
-
this.resourceName = opts.resourceName;
|
|
55
|
-
this.resourceType = opts.resourceType;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
export class InternalServerException extends __BaseException {
|
|
59
|
-
name = "InternalServerException";
|
|
60
|
-
$fault = "server";
|
|
61
|
-
$retryable = {};
|
|
62
|
-
constructor(opts) {
|
|
63
|
-
super({
|
|
64
|
-
name: "InternalServerException",
|
|
65
|
-
$fault: "server",
|
|
66
|
-
...opts,
|
|
67
|
-
});
|
|
68
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
72
|
-
name = "ResourceNotFoundException";
|
|
73
|
-
$fault = "client";
|
|
74
|
-
resourceName;
|
|
75
|
-
resourceType;
|
|
76
|
-
constructor(opts) {
|
|
77
|
-
super({
|
|
78
|
-
name: "ResourceNotFoundException",
|
|
79
|
-
$fault: "client",
|
|
80
|
-
...opts,
|
|
81
|
-
});
|
|
82
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
83
|
-
this.resourceName = opts.resourceName;
|
|
84
|
-
this.resourceType = opts.resourceType;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
export class ThrottlingException extends __BaseException {
|
|
88
|
-
name = "ThrottlingException";
|
|
89
|
-
$fault = "client";
|
|
90
|
-
$retryable = {
|
|
91
|
-
throttling: true,
|
|
92
|
-
};
|
|
93
|
-
serviceCode;
|
|
94
|
-
quotaCode;
|
|
95
|
-
retryAfterSeconds;
|
|
96
|
-
constructor(opts) {
|
|
97
|
-
super({
|
|
98
|
-
name: "ThrottlingException",
|
|
99
|
-
$fault: "client",
|
|
100
|
-
...opts,
|
|
101
|
-
});
|
|
102
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
103
|
-
this.serviceCode = opts.serviceCode;
|
|
104
|
-
this.quotaCode = opts.quotaCode;
|
|
105
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
export const DataLakeStatus = {
|
|
109
|
-
COMPLETED: "COMPLETED",
|
|
110
|
-
FAILED: "FAILED",
|
|
111
|
-
INITIALIZED: "INITIALIZED",
|
|
112
|
-
PENDING: "PENDING",
|
|
113
|
-
};
|
|
114
|
-
export const SubscriberStatus = {
|
|
115
|
-
ACTIVE: "ACTIVE",
|
|
116
|
-
DEACTIVATED: "DEACTIVATED",
|
|
117
|
-
PENDING: "PENDING",
|
|
118
|
-
READY: "READY",
|
|
119
|
-
};
|
|
120
|
-
export const HttpMethod = {
|
|
121
|
-
POST: "POST",
|
|
122
|
-
PUT: "PUT",
|
|
123
|
-
};
|
|
124
|
-
export const SourceCollectionStatus = {
|
|
125
|
-
COLLECTING: "COLLECTING",
|
|
126
|
-
MISCONFIGURED: "MISCONFIGURED",
|
|
127
|
-
NOT_COLLECTING: "NOT_COLLECTING",
|
|
128
|
-
};
|
|
1
|
+
export {};
|
|
@@ -239,7 +239,7 @@ const _uS = "updateStatus";
|
|
|
239
239
|
const _v = "value";
|
|
240
240
|
const n0 = "com.amazonaws.securitylake";
|
|
241
241
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
242
|
-
import { AccessDeniedException as __AccessDeniedException, BadRequestException as __BadRequestException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, } from "../models/
|
|
242
|
+
import { AccessDeniedException as __AccessDeniedException, BadRequestException as __BadRequestException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, } from "../models/errors";
|
|
243
243
|
import { SecurityLakeServiceException as __SecurityLakeServiceException } from "../models/SecurityLakeServiceException";
|
|
244
244
|
export var AccessDeniedException = [
|
|
245
245
|
-3,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -35,5 +35,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
35
35
|
export type { SecurityLakeExtensionConfiguration } from "./extensionConfiguration";
|
|
36
36
|
export * from "./commands";
|
|
37
37
|
export * from "./pagination";
|
|
38
|
-
export * from "./models";
|
|
38
|
+
export * from "./models/enums";
|
|
39
|
+
export * from "./models/errors";
|
|
40
|
+
export type * from "./models/models_0";
|
|
39
41
|
export { SecurityLakeServiceException } from "./models/SecurityLakeServiceException";
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const AccessType: {
|
|
6
|
+
readonly LAKEFORMATION: "LAKEFORMATION";
|
|
7
|
+
readonly S3: "S3";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type AccessType = (typeof AccessType)[keyof typeof AccessType];
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
* @enum
|
|
16
|
+
*/
|
|
17
|
+
export declare const AwsLogSourceName: {
|
|
18
|
+
readonly CLOUD_TRAIL_MGMT: "CLOUD_TRAIL_MGMT";
|
|
19
|
+
readonly EKS_AUDIT: "EKS_AUDIT";
|
|
20
|
+
readonly LAMBDA_EXECUTION: "LAMBDA_EXECUTION";
|
|
21
|
+
readonly ROUTE53: "ROUTE53";
|
|
22
|
+
readonly S3_DATA: "S3_DATA";
|
|
23
|
+
readonly SH_FINDINGS: "SH_FINDINGS";
|
|
24
|
+
readonly VPC_FLOW: "VPC_FLOW";
|
|
25
|
+
readonly WAF: "WAF";
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
export type AwsLogSourceName = (typeof AwsLogSourceName)[keyof typeof AwsLogSourceName];
|
|
31
|
+
/**
|
|
32
|
+
* @public
|
|
33
|
+
* @enum
|
|
34
|
+
*/
|
|
35
|
+
export declare const DataLakeStatus: {
|
|
36
|
+
readonly COMPLETED: "COMPLETED";
|
|
37
|
+
readonly FAILED: "FAILED";
|
|
38
|
+
readonly INITIALIZED: "INITIALIZED";
|
|
39
|
+
readonly PENDING: "PENDING";
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
export type DataLakeStatus = (typeof DataLakeStatus)[keyof typeof DataLakeStatus];
|
|
45
|
+
/**
|
|
46
|
+
* @public
|
|
47
|
+
* @enum
|
|
48
|
+
*/
|
|
49
|
+
export declare const SubscriberStatus: {
|
|
50
|
+
readonly ACTIVE: "ACTIVE";
|
|
51
|
+
readonly DEACTIVATED: "DEACTIVATED";
|
|
52
|
+
readonly PENDING: "PENDING";
|
|
53
|
+
readonly READY: "READY";
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
export type SubscriberStatus = (typeof SubscriberStatus)[keyof typeof SubscriberStatus];
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
* @enum
|
|
62
|
+
*/
|
|
63
|
+
export declare const HttpMethod: {
|
|
64
|
+
readonly POST: "POST";
|
|
65
|
+
readonly PUT: "PUT";
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export type HttpMethod = (typeof HttpMethod)[keyof typeof HttpMethod];
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
* @enum
|
|
74
|
+
*/
|
|
75
|
+
export declare const SourceCollectionStatus: {
|
|
76
|
+
readonly COLLECTING: "COLLECTING";
|
|
77
|
+
readonly MISCONFIGURED: "MISCONFIGURED";
|
|
78
|
+
readonly NOT_COLLECTING: "NOT_COLLECTING";
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export type SourceCollectionStatus = (typeof SourceCollectionStatus)[keyof typeof SourceCollectionStatus];
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { SecurityLakeServiceException as __BaseException } from "./SecurityLakeServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>You do not have sufficient access to perform this action. Access denied errors appear when Amazon Security Lake explicitly or implicitly denies an authorization
|
|
5
|
+
* request. An explicit denial occurs when a policy contains a Deny statement for the specific
|
|
6
|
+
* Amazon Web Services action. An implicit denial occurs when there is no applicable Deny statement and also
|
|
7
|
+
* no applicable Allow statement.</p>
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
11
|
+
readonly name: "AccessDeniedException";
|
|
12
|
+
readonly $fault: "client";
|
|
13
|
+
/**
|
|
14
|
+
* <p>A coded string to provide more information about the access denied exception. You can use the error code to check the exception type.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
errorCode?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* @internal
|
|
20
|
+
*/
|
|
21
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* <p>The request is malformed or contains an error such as an invalid parameter value or a missing required parameter.</p>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export declare class BadRequestException extends __BaseException {
|
|
28
|
+
readonly name: "BadRequestException";
|
|
29
|
+
readonly $fault: "client";
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
37
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
38
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
39
|
+
* this exception.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
export declare class ConflictException extends __BaseException {
|
|
43
|
+
readonly name: "ConflictException";
|
|
44
|
+
readonly $fault: "client";
|
|
45
|
+
/**
|
|
46
|
+
* <p>The resource name.</p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
resourceName?: string | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* <p>The resource type.</p>
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
resourceType?: string | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
*/
|
|
58
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* <p>Internal service exceptions are sometimes caused by transient issues. Before you start
|
|
62
|
+
* troubleshooting, perform the operation again.</p>
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export declare class InternalServerException extends __BaseException {
|
|
66
|
+
readonly name: "InternalServerException";
|
|
67
|
+
readonly $fault: "server";
|
|
68
|
+
$retryable: {};
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* <p>The resource could not be found.</p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
79
|
+
readonly name: "ResourceNotFoundException";
|
|
80
|
+
readonly $fault: "client";
|
|
81
|
+
/**
|
|
82
|
+
* <p>The name of the resource that could not be found.</p>
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
resourceName?: string | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* <p>The type of the resource that could not be found.</p>
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
resourceType?: string | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export declare class ThrottlingException extends __BaseException {
|
|
101
|
+
readonly name: "ThrottlingException";
|
|
102
|
+
readonly $fault: "client";
|
|
103
|
+
$retryable: {
|
|
104
|
+
throttling: boolean;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* <p>The code for the service in Service Quotas.</p>
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
serviceCode?: string | undefined;
|
|
111
|
+
/**
|
|
112
|
+
* <p>That the rate of requests to Security Lake is exceeding the request quotas for your Amazon Web Services account.</p>
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
quotaCode?: string | undefined;
|
|
116
|
+
/**
|
|
117
|
+
* <p>Retry the request after the specified time.</p>
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
retryAfterSeconds?: number | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* @internal
|
|
123
|
+
*/
|
|
124
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
125
|
+
}
|
|
@@ -1,37 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SecurityLakeServiceException as __BaseException } from "./SecurityLakeServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* <p>You do not have sufficient access to perform this action. Access denied errors appear when Amazon Security Lake explicitly or implicitly denies an authorization
|
|
5
|
-
* request. An explicit denial occurs when a policy contains a Deny statement for the specific
|
|
6
|
-
* Amazon Web Services action. An implicit denial occurs when there is no applicable Deny statement and also
|
|
7
|
-
* no applicable Allow statement.</p>
|
|
8
|
-
* @public
|
|
9
|
-
*/
|
|
10
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
11
|
-
readonly name: "AccessDeniedException";
|
|
12
|
-
readonly $fault: "client";
|
|
13
|
-
/**
|
|
14
|
-
* <p>A coded string to provide more information about the access denied exception. You can use the error code to check the exception type.</p>
|
|
15
|
-
* @public
|
|
16
|
-
*/
|
|
17
|
-
errorCode?: string | undefined;
|
|
18
|
-
/**
|
|
19
|
-
* @internal
|
|
20
|
-
*/
|
|
21
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* @public
|
|
25
|
-
* @enum
|
|
26
|
-
*/
|
|
27
|
-
export declare const AccessType: {
|
|
28
|
-
readonly LAKEFORMATION: "LAKEFORMATION";
|
|
29
|
-
readonly S3: "S3";
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* @public
|
|
33
|
-
*/
|
|
34
|
-
export type AccessType = (typeof AccessType)[keyof typeof AccessType];
|
|
1
|
+
import { AccessType, AwsLogSourceName, DataLakeStatus, HttpMethod, SourceCollectionStatus, SubscriberStatus } from "./enums";
|
|
35
2
|
/**
|
|
36
3
|
* <p>The Amazon Web Services identity.</p>
|
|
37
4
|
* @public
|
|
@@ -48,24 +15,6 @@ export interface AwsIdentity {
|
|
|
48
15
|
*/
|
|
49
16
|
externalId: string | undefined;
|
|
50
17
|
}
|
|
51
|
-
/**
|
|
52
|
-
* @public
|
|
53
|
-
* @enum
|
|
54
|
-
*/
|
|
55
|
-
export declare const AwsLogSourceName: {
|
|
56
|
-
readonly CLOUD_TRAIL_MGMT: "CLOUD_TRAIL_MGMT";
|
|
57
|
-
readonly EKS_AUDIT: "EKS_AUDIT";
|
|
58
|
-
readonly LAMBDA_EXECUTION: "LAMBDA_EXECUTION";
|
|
59
|
-
readonly ROUTE53: "ROUTE53";
|
|
60
|
-
readonly S3_DATA: "S3_DATA";
|
|
61
|
-
readonly SH_FINDINGS: "SH_FINDINGS";
|
|
62
|
-
readonly VPC_FLOW: "VPC_FLOW";
|
|
63
|
-
readonly WAF: "WAF";
|
|
64
|
-
};
|
|
65
|
-
/**
|
|
66
|
-
* @public
|
|
67
|
-
*/
|
|
68
|
-
export type AwsLogSourceName = (typeof AwsLogSourceName)[keyof typeof AwsLogSourceName];
|
|
69
18
|
/**
|
|
70
19
|
* <p>To add a natively-supported Amazon Web Services service as a log source, use these
|
|
71
20
|
* parameters to specify the configuration settings for the log source. </p>
|
|
@@ -110,43 +59,6 @@ export interface AwsLogSourceResource {
|
|
|
110
59
|
*/
|
|
111
60
|
sourceVersion?: string | undefined;
|
|
112
61
|
}
|
|
113
|
-
/**
|
|
114
|
-
* <p>The request is malformed or contains an error such as an invalid parameter value or a missing required parameter.</p>
|
|
115
|
-
* @public
|
|
116
|
-
*/
|
|
117
|
-
export declare class BadRequestException extends __BaseException {
|
|
118
|
-
readonly name: "BadRequestException";
|
|
119
|
-
readonly $fault: "client";
|
|
120
|
-
/**
|
|
121
|
-
* @internal
|
|
122
|
-
*/
|
|
123
|
-
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
124
|
-
}
|
|
125
|
-
/**
|
|
126
|
-
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
127
|
-
* occurs when the previous write did not have time to propagate to the host serving the
|
|
128
|
-
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
129
|
-
* this exception.</p>
|
|
130
|
-
* @public
|
|
131
|
-
*/
|
|
132
|
-
export declare class ConflictException extends __BaseException {
|
|
133
|
-
readonly name: "ConflictException";
|
|
134
|
-
readonly $fault: "client";
|
|
135
|
-
/**
|
|
136
|
-
* <p>The resource name.</p>
|
|
137
|
-
* @public
|
|
138
|
-
*/
|
|
139
|
-
resourceName?: string | undefined;
|
|
140
|
-
/**
|
|
141
|
-
* <p>The resource type.</p>
|
|
142
|
-
* @public
|
|
143
|
-
*/
|
|
144
|
-
resourceType?: string | undefined;
|
|
145
|
-
/**
|
|
146
|
-
* @internal
|
|
147
|
-
*/
|
|
148
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
149
|
-
}
|
|
150
62
|
/**
|
|
151
63
|
* @public
|
|
152
64
|
*/
|
|
@@ -169,72 +81,6 @@ export interface CreateAwsLogSourceResponse {
|
|
|
169
81
|
*/
|
|
170
82
|
failed?: string[] | undefined;
|
|
171
83
|
}
|
|
172
|
-
/**
|
|
173
|
-
* <p>Internal service exceptions are sometimes caused by transient issues. Before you start
|
|
174
|
-
* troubleshooting, perform the operation again.</p>
|
|
175
|
-
* @public
|
|
176
|
-
*/
|
|
177
|
-
export declare class InternalServerException extends __BaseException {
|
|
178
|
-
readonly name: "InternalServerException";
|
|
179
|
-
readonly $fault: "server";
|
|
180
|
-
$retryable: {};
|
|
181
|
-
/**
|
|
182
|
-
* @internal
|
|
183
|
-
*/
|
|
184
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
185
|
-
}
|
|
186
|
-
/**
|
|
187
|
-
* <p>The resource could not be found.</p>
|
|
188
|
-
* @public
|
|
189
|
-
*/
|
|
190
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
191
|
-
readonly name: "ResourceNotFoundException";
|
|
192
|
-
readonly $fault: "client";
|
|
193
|
-
/**
|
|
194
|
-
* <p>The name of the resource that could not be found.</p>
|
|
195
|
-
* @public
|
|
196
|
-
*/
|
|
197
|
-
resourceName?: string | undefined;
|
|
198
|
-
/**
|
|
199
|
-
* <p>The type of the resource that could not be found.</p>
|
|
200
|
-
* @public
|
|
201
|
-
*/
|
|
202
|
-
resourceType?: string | undefined;
|
|
203
|
-
/**
|
|
204
|
-
* @internal
|
|
205
|
-
*/
|
|
206
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
207
|
-
}
|
|
208
|
-
/**
|
|
209
|
-
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
210
|
-
* @public
|
|
211
|
-
*/
|
|
212
|
-
export declare class ThrottlingException extends __BaseException {
|
|
213
|
-
readonly name: "ThrottlingException";
|
|
214
|
-
readonly $fault: "client";
|
|
215
|
-
$retryable: {
|
|
216
|
-
throttling: boolean;
|
|
217
|
-
};
|
|
218
|
-
/**
|
|
219
|
-
* <p>The code for the service in Service Quotas.</p>
|
|
220
|
-
* @public
|
|
221
|
-
*/
|
|
222
|
-
serviceCode?: string | undefined;
|
|
223
|
-
/**
|
|
224
|
-
* <p>That the rate of requests to Security Lake is exceeding the request quotas for your Amazon Web Services account.</p>
|
|
225
|
-
* @public
|
|
226
|
-
*/
|
|
227
|
-
quotaCode?: string | undefined;
|
|
228
|
-
/**
|
|
229
|
-
* <p>Retry the request after the specified time.</p>
|
|
230
|
-
* @public
|
|
231
|
-
*/
|
|
232
|
-
retryAfterSeconds?: number | undefined;
|
|
233
|
-
/**
|
|
234
|
-
* @internal
|
|
235
|
-
*/
|
|
236
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
237
|
-
}
|
|
238
84
|
/**
|
|
239
85
|
* <p>The configuration used for the Glue Crawler for a third-party custom source.</p>
|
|
240
86
|
* @public
|
|
@@ -543,20 +389,6 @@ export interface CreateDataLakeRequest {
|
|
|
543
389
|
*/
|
|
544
390
|
tags?: Tag[] | undefined;
|
|
545
391
|
}
|
|
546
|
-
/**
|
|
547
|
-
* @public
|
|
548
|
-
* @enum
|
|
549
|
-
*/
|
|
550
|
-
export declare const DataLakeStatus: {
|
|
551
|
-
readonly COMPLETED: "COMPLETED";
|
|
552
|
-
readonly FAILED: "FAILED";
|
|
553
|
-
readonly INITIALIZED: "INITIALIZED";
|
|
554
|
-
readonly PENDING: "PENDING";
|
|
555
|
-
};
|
|
556
|
-
/**
|
|
557
|
-
* @public
|
|
558
|
-
*/
|
|
559
|
-
export type DataLakeStatus = (typeof DataLakeStatus)[keyof typeof DataLakeStatus];
|
|
560
392
|
/**
|
|
561
393
|
* <p>The details of the last <code>UpdateDataLake</code> or <code>DeleteDataLake</code>
|
|
562
394
|
* API request which failed.</p>
|
|
@@ -800,20 +632,6 @@ export interface CreateSubscriberRequest {
|
|
|
800
632
|
*/
|
|
801
633
|
tags?: Tag[] | undefined;
|
|
802
634
|
}
|
|
803
|
-
/**
|
|
804
|
-
* @public
|
|
805
|
-
* @enum
|
|
806
|
-
*/
|
|
807
|
-
export declare const SubscriberStatus: {
|
|
808
|
-
readonly ACTIVE: "ACTIVE";
|
|
809
|
-
readonly DEACTIVATED: "DEACTIVATED";
|
|
810
|
-
readonly PENDING: "PENDING";
|
|
811
|
-
readonly READY: "READY";
|
|
812
|
-
};
|
|
813
|
-
/**
|
|
814
|
-
* @public
|
|
815
|
-
*/
|
|
816
|
-
export type SubscriberStatus = (typeof SubscriberStatus)[keyof typeof SubscriberStatus];
|
|
817
635
|
/**
|
|
818
636
|
* <p>Provides details about the Amazon Security Lake account subscription. Subscribers are notified
|
|
819
637
|
* of new objects for a source as the data is written to your Amazon S3 bucket for
|
|
@@ -918,18 +736,6 @@ export interface CreateSubscriberResponse {
|
|
|
918
736
|
*/
|
|
919
737
|
subscriber?: SubscriberResource | undefined;
|
|
920
738
|
}
|
|
921
|
-
/**
|
|
922
|
-
* @public
|
|
923
|
-
* @enum
|
|
924
|
-
*/
|
|
925
|
-
export declare const HttpMethod: {
|
|
926
|
-
readonly POST: "POST";
|
|
927
|
-
readonly PUT: "PUT";
|
|
928
|
-
};
|
|
929
|
-
/**
|
|
930
|
-
* @public
|
|
931
|
-
*/
|
|
932
|
-
export type HttpMethod = (typeof HttpMethod)[keyof typeof HttpMethod];
|
|
933
739
|
/**
|
|
934
740
|
* <p>The configurations used for HTTPS subscriber notification.</p>
|
|
935
741
|
* @public
|
|
@@ -1155,19 +961,6 @@ export interface GetDataLakeSourcesRequest {
|
|
|
1155
961
|
*/
|
|
1156
962
|
nextToken?: string | undefined;
|
|
1157
963
|
}
|
|
1158
|
-
/**
|
|
1159
|
-
* @public
|
|
1160
|
-
* @enum
|
|
1161
|
-
*/
|
|
1162
|
-
export declare const SourceCollectionStatus: {
|
|
1163
|
-
readonly COLLECTING: "COLLECTING";
|
|
1164
|
-
readonly MISCONFIGURED: "MISCONFIGURED";
|
|
1165
|
-
readonly NOT_COLLECTING: "NOT_COLLECTING";
|
|
1166
|
-
};
|
|
1167
|
-
/**
|
|
1168
|
-
* @public
|
|
1169
|
-
*/
|
|
1170
|
-
export type SourceCollectionStatus = (typeof SourceCollectionStatus)[keyof typeof SourceCollectionStatus];
|
|
1171
964
|
/**
|
|
1172
965
|
* <p>Retrieves the Logs status for the Amazon Security Lake account.</p>
|
|
1173
966
|
* @public
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { SecurityLakeExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { SecurityLakeServiceException } from "./models/SecurityLakeServiceException";
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export declare const AccessType: {
|
|
2
|
+
readonly LAKEFORMATION: "LAKEFORMATION";
|
|
3
|
+
readonly S3: "S3";
|
|
4
|
+
};
|
|
5
|
+
export type AccessType = (typeof AccessType)[keyof typeof AccessType];
|
|
6
|
+
export declare const AwsLogSourceName: {
|
|
7
|
+
readonly CLOUD_TRAIL_MGMT: "CLOUD_TRAIL_MGMT";
|
|
8
|
+
readonly EKS_AUDIT: "EKS_AUDIT";
|
|
9
|
+
readonly LAMBDA_EXECUTION: "LAMBDA_EXECUTION";
|
|
10
|
+
readonly ROUTE53: "ROUTE53";
|
|
11
|
+
readonly S3_DATA: "S3_DATA";
|
|
12
|
+
readonly SH_FINDINGS: "SH_FINDINGS";
|
|
13
|
+
readonly VPC_FLOW: "VPC_FLOW";
|
|
14
|
+
readonly WAF: "WAF";
|
|
15
|
+
};
|
|
16
|
+
export type AwsLogSourceName =
|
|
17
|
+
(typeof AwsLogSourceName)[keyof typeof AwsLogSourceName];
|
|
18
|
+
export declare const DataLakeStatus: {
|
|
19
|
+
readonly COMPLETED: "COMPLETED";
|
|
20
|
+
readonly FAILED: "FAILED";
|
|
21
|
+
readonly INITIALIZED: "INITIALIZED";
|
|
22
|
+
readonly PENDING: "PENDING";
|
|
23
|
+
};
|
|
24
|
+
export type DataLakeStatus =
|
|
25
|
+
(typeof DataLakeStatus)[keyof typeof DataLakeStatus];
|
|
26
|
+
export declare const SubscriberStatus: {
|
|
27
|
+
readonly ACTIVE: "ACTIVE";
|
|
28
|
+
readonly DEACTIVATED: "DEACTIVATED";
|
|
29
|
+
readonly PENDING: "PENDING";
|
|
30
|
+
readonly READY: "READY";
|
|
31
|
+
};
|
|
32
|
+
export type SubscriberStatus =
|
|
33
|
+
(typeof SubscriberStatus)[keyof typeof SubscriberStatus];
|
|
34
|
+
export declare const HttpMethod: {
|
|
35
|
+
readonly POST: "POST";
|
|
36
|
+
readonly PUT: "PUT";
|
|
37
|
+
};
|
|
38
|
+
export type HttpMethod = (typeof HttpMethod)[keyof typeof HttpMethod];
|
|
39
|
+
export declare const SourceCollectionStatus: {
|
|
40
|
+
readonly COLLECTING: "COLLECTING";
|
|
41
|
+
readonly MISCONFIGURED: "MISCONFIGURED";
|
|
42
|
+
readonly NOT_COLLECTING: "NOT_COLLECTING";
|
|
43
|
+
};
|
|
44
|
+
export type SourceCollectionStatus =
|
|
45
|
+
(typeof SourceCollectionStatus)[keyof typeof SourceCollectionStatus];
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { SecurityLakeServiceException as __BaseException } from "./SecurityLakeServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
errorCode?: string | undefined;
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export declare class BadRequestException extends __BaseException {
|
|
12
|
+
readonly name: "BadRequestException";
|
|
13
|
+
readonly $fault: "client";
|
|
14
|
+
constructor(
|
|
15
|
+
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
export declare class ConflictException extends __BaseException {
|
|
19
|
+
readonly name: "ConflictException";
|
|
20
|
+
readonly $fault: "client";
|
|
21
|
+
resourceName?: string | undefined;
|
|
22
|
+
resourceType?: string | undefined;
|
|
23
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
24
|
+
}
|
|
25
|
+
export declare class InternalServerException extends __BaseException {
|
|
26
|
+
readonly name: "InternalServerException";
|
|
27
|
+
readonly $fault: "server";
|
|
28
|
+
$retryable: {};
|
|
29
|
+
constructor(
|
|
30
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
34
|
+
readonly name: "ResourceNotFoundException";
|
|
35
|
+
readonly $fault: "client";
|
|
36
|
+
resourceName?: string | undefined;
|
|
37
|
+
resourceType?: string | undefined;
|
|
38
|
+
constructor(
|
|
39
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
export declare class ThrottlingException extends __BaseException {
|
|
43
|
+
readonly name: "ThrottlingException";
|
|
44
|
+
readonly $fault: "client";
|
|
45
|
+
$retryable: {
|
|
46
|
+
throttling: boolean;
|
|
47
|
+
};
|
|
48
|
+
serviceCode?: string | undefined;
|
|
49
|
+
quotaCode?: string | undefined;
|
|
50
|
+
retryAfterSeconds?: number | undefined;
|
|
51
|
+
constructor(
|
|
52
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
53
|
+
);
|
|
54
|
+
}
|
|
@@ -1,34 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
);
|
|
10
|
-
}
|
|
11
|
-
export declare const AccessType: {
|
|
12
|
-
readonly LAKEFORMATION: "LAKEFORMATION";
|
|
13
|
-
readonly S3: "S3";
|
|
14
|
-
};
|
|
15
|
-
export type AccessType = (typeof AccessType)[keyof typeof AccessType];
|
|
1
|
+
import {
|
|
2
|
+
AccessType,
|
|
3
|
+
AwsLogSourceName,
|
|
4
|
+
DataLakeStatus,
|
|
5
|
+
HttpMethod,
|
|
6
|
+
SourceCollectionStatus,
|
|
7
|
+
SubscriberStatus,
|
|
8
|
+
} from "./enums";
|
|
16
9
|
export interface AwsIdentity {
|
|
17
10
|
principal: string | undefined;
|
|
18
11
|
externalId: string | undefined;
|
|
19
12
|
}
|
|
20
|
-
export declare const AwsLogSourceName: {
|
|
21
|
-
readonly CLOUD_TRAIL_MGMT: "CLOUD_TRAIL_MGMT";
|
|
22
|
-
readonly EKS_AUDIT: "EKS_AUDIT";
|
|
23
|
-
readonly LAMBDA_EXECUTION: "LAMBDA_EXECUTION";
|
|
24
|
-
readonly ROUTE53: "ROUTE53";
|
|
25
|
-
readonly S3_DATA: "S3_DATA";
|
|
26
|
-
readonly SH_FINDINGS: "SH_FINDINGS";
|
|
27
|
-
readonly VPC_FLOW: "VPC_FLOW";
|
|
28
|
-
readonly WAF: "WAF";
|
|
29
|
-
};
|
|
30
|
-
export type AwsLogSourceName =
|
|
31
|
-
(typeof AwsLogSourceName)[keyof typeof AwsLogSourceName];
|
|
32
13
|
export interface AwsLogSourceConfiguration {
|
|
33
14
|
accounts?: string[] | undefined;
|
|
34
15
|
regions: string[] | undefined;
|
|
@@ -39,56 +20,12 @@ export interface AwsLogSourceResource {
|
|
|
39
20
|
sourceName?: AwsLogSourceName | undefined;
|
|
40
21
|
sourceVersion?: string | undefined;
|
|
41
22
|
}
|
|
42
|
-
export declare class BadRequestException extends __BaseException {
|
|
43
|
-
readonly name: "BadRequestException";
|
|
44
|
-
readonly $fault: "client";
|
|
45
|
-
constructor(
|
|
46
|
-
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
47
|
-
);
|
|
48
|
-
}
|
|
49
|
-
export declare class ConflictException extends __BaseException {
|
|
50
|
-
readonly name: "ConflictException";
|
|
51
|
-
readonly $fault: "client";
|
|
52
|
-
resourceName?: string | undefined;
|
|
53
|
-
resourceType?: string | undefined;
|
|
54
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
55
|
-
}
|
|
56
23
|
export interface CreateAwsLogSourceRequest {
|
|
57
24
|
sources: AwsLogSourceConfiguration[] | undefined;
|
|
58
25
|
}
|
|
59
26
|
export interface CreateAwsLogSourceResponse {
|
|
60
27
|
failed?: string[] | undefined;
|
|
61
28
|
}
|
|
62
|
-
export declare class InternalServerException extends __BaseException {
|
|
63
|
-
readonly name: "InternalServerException";
|
|
64
|
-
readonly $fault: "server";
|
|
65
|
-
$retryable: {};
|
|
66
|
-
constructor(
|
|
67
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
68
|
-
);
|
|
69
|
-
}
|
|
70
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
71
|
-
readonly name: "ResourceNotFoundException";
|
|
72
|
-
readonly $fault: "client";
|
|
73
|
-
resourceName?: string | undefined;
|
|
74
|
-
resourceType?: string | undefined;
|
|
75
|
-
constructor(
|
|
76
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
77
|
-
);
|
|
78
|
-
}
|
|
79
|
-
export declare class ThrottlingException extends __BaseException {
|
|
80
|
-
readonly name: "ThrottlingException";
|
|
81
|
-
readonly $fault: "client";
|
|
82
|
-
$retryable: {
|
|
83
|
-
throttling: boolean;
|
|
84
|
-
};
|
|
85
|
-
serviceCode?: string | undefined;
|
|
86
|
-
quotaCode?: string | undefined;
|
|
87
|
-
retryAfterSeconds?: number | undefined;
|
|
88
|
-
constructor(
|
|
89
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
29
|
export interface CustomLogSourceCrawlerConfiguration {
|
|
93
30
|
roleArn: string | undefined;
|
|
94
31
|
}
|
|
@@ -153,14 +90,6 @@ export interface CreateDataLakeRequest {
|
|
|
153
90
|
metaStoreManagerRoleArn: string | undefined;
|
|
154
91
|
tags?: Tag[] | undefined;
|
|
155
92
|
}
|
|
156
|
-
export declare const DataLakeStatus: {
|
|
157
|
-
readonly COMPLETED: "COMPLETED";
|
|
158
|
-
readonly FAILED: "FAILED";
|
|
159
|
-
readonly INITIALIZED: "INITIALIZED";
|
|
160
|
-
readonly PENDING: "PENDING";
|
|
161
|
-
};
|
|
162
|
-
export type DataLakeStatus =
|
|
163
|
-
(typeof DataLakeStatus)[keyof typeof DataLakeStatus];
|
|
164
93
|
export interface DataLakeUpdateException {
|
|
165
94
|
reason?: string | undefined;
|
|
166
95
|
code?: string | undefined;
|
|
@@ -233,14 +162,6 @@ export interface CreateSubscriberRequest {
|
|
|
233
162
|
accessTypes?: AccessType[] | undefined;
|
|
234
163
|
tags?: Tag[] | undefined;
|
|
235
164
|
}
|
|
236
|
-
export declare const SubscriberStatus: {
|
|
237
|
-
readonly ACTIVE: "ACTIVE";
|
|
238
|
-
readonly DEACTIVATED: "DEACTIVATED";
|
|
239
|
-
readonly PENDING: "PENDING";
|
|
240
|
-
readonly READY: "READY";
|
|
241
|
-
};
|
|
242
|
-
export type SubscriberStatus =
|
|
243
|
-
(typeof SubscriberStatus)[keyof typeof SubscriberStatus];
|
|
244
165
|
export interface SubscriberResource {
|
|
245
166
|
subscriberId: string | undefined;
|
|
246
167
|
subscriberArn: string | undefined;
|
|
@@ -261,11 +182,6 @@ export interface SubscriberResource {
|
|
|
261
182
|
export interface CreateSubscriberResponse {
|
|
262
183
|
subscriber?: SubscriberResource | undefined;
|
|
263
184
|
}
|
|
264
|
-
export declare const HttpMethod: {
|
|
265
|
-
readonly POST: "POST";
|
|
266
|
-
readonly PUT: "PUT";
|
|
267
|
-
};
|
|
268
|
-
export type HttpMethod = (typeof HttpMethod)[keyof typeof HttpMethod];
|
|
269
185
|
export interface HttpsNotificationConfiguration {
|
|
270
186
|
endpoint: string | undefined;
|
|
271
187
|
authorizationApiKeyName?: string | undefined;
|
|
@@ -341,13 +257,6 @@ export interface GetDataLakeSourcesRequest {
|
|
|
341
257
|
maxResults?: number | undefined;
|
|
342
258
|
nextToken?: string | undefined;
|
|
343
259
|
}
|
|
344
|
-
export declare const SourceCollectionStatus: {
|
|
345
|
-
readonly COLLECTING: "COLLECTING";
|
|
346
|
-
readonly MISCONFIGURED: "MISCONFIGURED";
|
|
347
|
-
readonly NOT_COLLECTING: "NOT_COLLECTING";
|
|
348
|
-
};
|
|
349
|
-
export type SourceCollectionStatus =
|
|
350
|
-
(typeof SourceCollectionStatus)[keyof typeof SourceCollectionStatus];
|
|
351
260
|
export interface DataLakeSourceStatus {
|
|
352
261
|
resource?: string | undefined;
|
|
353
262
|
status?: SourceCollectionStatus | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-securitylake",
|
|
3
3
|
"description": "AWS SDK for JavaScript Securitylake Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.935.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-securitylake",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|