@aws-sdk/client-securitylake 3.1074.0 → 3.1076.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 +1282 -15
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/package.json +8 -8
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -46
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/SecurityLakeServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -93
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -971
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
-
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
4
|
exports.$Command = Command;
|
|
6
5
|
exports.__Client = Client;
|
|
7
|
-
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
-
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
-
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
-
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
-
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
-
const {
|
|
13
|
-
const {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
|
+
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
8
|
+
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
9
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
10
|
+
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
|
+
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
|
+
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
|
|
17
|
+
const defaultSecurityLakeHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
|
+
return {
|
|
19
|
+
operation: getSmithyContext(context).operation,
|
|
20
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
21
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
22
|
+
})(),
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
26
|
+
return {
|
|
27
|
+
schemeId: "aws.auth#sigv4",
|
|
28
|
+
signingProperties: {
|
|
29
|
+
name: "securitylake",
|
|
30
|
+
region: authParameters.region,
|
|
31
|
+
},
|
|
32
|
+
propertiesExtractor: (config, context) => ({
|
|
33
|
+
signingProperties: {
|
|
34
|
+
config,
|
|
35
|
+
context,
|
|
36
|
+
},
|
|
37
|
+
}),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
const defaultSecurityLakeHttpAuthSchemeProvider = (authParameters) => {
|
|
41
|
+
const options = [];
|
|
42
|
+
switch (authParameters.operation) {
|
|
43
|
+
default: {
|
|
44
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return options;
|
|
48
|
+
};
|
|
49
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
50
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
51
|
+
return Object.assign(config_0, {
|
|
52
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
53
|
+
});
|
|
54
|
+
};
|
|
19
55
|
|
|
20
56
|
const resolveClientEndpointParameters = (options) => {
|
|
21
57
|
return Object.assign(options, {
|
|
@@ -31,6 +67,1101 @@ const commonParams = {
|
|
|
31
67
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
68
|
};
|
|
33
69
|
|
|
70
|
+
var version = "3.1075.0";
|
|
71
|
+
var packageInfo = {
|
|
72
|
+
version: version};
|
|
73
|
+
|
|
74
|
+
const k = "ref";
|
|
75
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
76
|
+
const _data = {
|
|
77
|
+
conditions: [
|
|
78
|
+
[c, [g]],
|
|
79
|
+
[c, j],
|
|
80
|
+
["aws.partition", j, d],
|
|
81
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
82
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
83
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
84
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
|
|
85
|
+
],
|
|
86
|
+
results: [
|
|
87
|
+
[a],
|
|
88
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
89
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
90
|
+
[g, i],
|
|
91
|
+
["https://securitylake-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
92
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
93
|
+
["https://securitylake-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
94
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
95
|
+
["https://securitylake.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
96
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
97
|
+
["https://securitylake.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
98
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
99
|
+
]
|
|
100
|
+
};
|
|
101
|
+
const root = 2;
|
|
102
|
+
const r = 100_000_000;
|
|
103
|
+
const nodes = new Int32Array([
|
|
104
|
+
-1, 1, -1,
|
|
105
|
+
0, 12, 3,
|
|
106
|
+
1, 4, r + 11,
|
|
107
|
+
2, 5, r + 11,
|
|
108
|
+
3, 8, 6,
|
|
109
|
+
4, 7, r + 10,
|
|
110
|
+
5, r + 8, r + 9,
|
|
111
|
+
4, 10, 9,
|
|
112
|
+
6, r + 6, r + 7,
|
|
113
|
+
5, 11, r + 5,
|
|
114
|
+
6, r + 4, r + 5,
|
|
115
|
+
3, r + 1, 13,
|
|
116
|
+
4, r + 2, r + 3,
|
|
117
|
+
]);
|
|
118
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
119
|
+
|
|
120
|
+
const cache = new EndpointCache({
|
|
121
|
+
size: 50,
|
|
122
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
123
|
+
});
|
|
124
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
125
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
126
|
+
endpointParams: endpointParams,
|
|
127
|
+
logger: context.logger,
|
|
128
|
+
}));
|
|
129
|
+
};
|
|
130
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
131
|
+
|
|
132
|
+
class SecurityLakeServiceException extends ServiceException {
|
|
133
|
+
constructor(options) {
|
|
134
|
+
super(options);
|
|
135
|
+
Object.setPrototypeOf(this, SecurityLakeServiceException.prototype);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
class AccessDeniedException extends SecurityLakeServiceException {
|
|
140
|
+
name = "AccessDeniedException";
|
|
141
|
+
$fault = "client";
|
|
142
|
+
errorCode;
|
|
143
|
+
constructor(opts) {
|
|
144
|
+
super({
|
|
145
|
+
name: "AccessDeniedException",
|
|
146
|
+
$fault: "client",
|
|
147
|
+
...opts,
|
|
148
|
+
});
|
|
149
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
150
|
+
this.errorCode = opts.errorCode;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
class BadRequestException extends SecurityLakeServiceException {
|
|
154
|
+
name = "BadRequestException";
|
|
155
|
+
$fault = "client";
|
|
156
|
+
constructor(opts) {
|
|
157
|
+
super({
|
|
158
|
+
name: "BadRequestException",
|
|
159
|
+
$fault: "client",
|
|
160
|
+
...opts,
|
|
161
|
+
});
|
|
162
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
class ConflictException extends SecurityLakeServiceException {
|
|
166
|
+
name = "ConflictException";
|
|
167
|
+
$fault = "client";
|
|
168
|
+
resourceName;
|
|
169
|
+
resourceType;
|
|
170
|
+
constructor(opts) {
|
|
171
|
+
super({
|
|
172
|
+
name: "ConflictException",
|
|
173
|
+
$fault: "client",
|
|
174
|
+
...opts,
|
|
175
|
+
});
|
|
176
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
177
|
+
this.resourceName = opts.resourceName;
|
|
178
|
+
this.resourceType = opts.resourceType;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
class InternalServerException extends SecurityLakeServiceException {
|
|
182
|
+
name = "InternalServerException";
|
|
183
|
+
$fault = "server";
|
|
184
|
+
$retryable = {};
|
|
185
|
+
constructor(opts) {
|
|
186
|
+
super({
|
|
187
|
+
name: "InternalServerException",
|
|
188
|
+
$fault: "server",
|
|
189
|
+
...opts,
|
|
190
|
+
});
|
|
191
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
class ResourceNotFoundException extends SecurityLakeServiceException {
|
|
195
|
+
name = "ResourceNotFoundException";
|
|
196
|
+
$fault = "client";
|
|
197
|
+
resourceName;
|
|
198
|
+
resourceType;
|
|
199
|
+
constructor(opts) {
|
|
200
|
+
super({
|
|
201
|
+
name: "ResourceNotFoundException",
|
|
202
|
+
$fault: "client",
|
|
203
|
+
...opts,
|
|
204
|
+
});
|
|
205
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
206
|
+
this.resourceName = opts.resourceName;
|
|
207
|
+
this.resourceType = opts.resourceType;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
class ThrottlingException extends SecurityLakeServiceException {
|
|
211
|
+
name = "ThrottlingException";
|
|
212
|
+
$fault = "client";
|
|
213
|
+
$retryable = {
|
|
214
|
+
throttling: true,
|
|
215
|
+
};
|
|
216
|
+
serviceCode;
|
|
217
|
+
quotaCode;
|
|
218
|
+
retryAfterSeconds;
|
|
219
|
+
constructor(opts) {
|
|
220
|
+
super({
|
|
221
|
+
name: "ThrottlingException",
|
|
222
|
+
$fault: "client",
|
|
223
|
+
...opts,
|
|
224
|
+
});
|
|
225
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
226
|
+
this.serviceCode = opts.serviceCode;
|
|
227
|
+
this.quotaCode = opts.quotaCode;
|
|
228
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
const _ADE = "AccessDeniedException";
|
|
233
|
+
const _AI = "AwsIdentity";
|
|
234
|
+
const _ALSC = "AwsLogSourceConfiguration";
|
|
235
|
+
const _ALSCL = "AwsLogSourceConfigurationList";
|
|
236
|
+
const _ALSR = "AwsLogSourceResource";
|
|
237
|
+
const _ALSRL = "AwsLogSourceResourceList";
|
|
238
|
+
const _BRE = "BadRequestException";
|
|
239
|
+
const _CALS = "CreateAwsLogSource";
|
|
240
|
+
const _CALSR = "CreateAwsLogSourceRequest";
|
|
241
|
+
const _CALSRr = "CreateAwsLogSourceResponse";
|
|
242
|
+
const _CCLS = "CreateCustomLogSource";
|
|
243
|
+
const _CCLSR = "CreateCustomLogSourceRequest";
|
|
244
|
+
const _CCLSRr = "CreateCustomLogSourceResponse";
|
|
245
|
+
const _CDL = "CreateDataLake";
|
|
246
|
+
const _CDLES = "CreateDataLakeExceptionSubscription";
|
|
247
|
+
const _CDLESR = "CreateDataLakeExceptionSubscriptionRequest";
|
|
248
|
+
const _CDLESRr = "CreateDataLakeExceptionSubscriptionResponse";
|
|
249
|
+
const _CDLOC = "CreateDataLakeOrganizationConfiguration";
|
|
250
|
+
const _CDLOCR = "CreateDataLakeOrganizationConfigurationRequest";
|
|
251
|
+
const _CDLOCRr = "CreateDataLakeOrganizationConfigurationResponse";
|
|
252
|
+
const _CDLR = "CreateDataLakeRequest";
|
|
253
|
+
const _CDLRr = "CreateDataLakeResponse";
|
|
254
|
+
const _CE = "ConflictException";
|
|
255
|
+
const _CLSA = "CustomLogSourceAttributes";
|
|
256
|
+
const _CLSC = "CustomLogSourceConfiguration";
|
|
257
|
+
const _CLSCC = "CustomLogSourceCrawlerConfiguration";
|
|
258
|
+
const _CLSP = "CustomLogSourceProvider";
|
|
259
|
+
const _CLSR = "CustomLogSourceResource";
|
|
260
|
+
const _CS = "CreateSubscriber";
|
|
261
|
+
const _CSN = "CreateSubscriberNotification";
|
|
262
|
+
const _CSNR = "CreateSubscriberNotificationRequest";
|
|
263
|
+
const _CSNRr = "CreateSubscriberNotificationResponse";
|
|
264
|
+
const _CSR = "CreateSubscriberRequest";
|
|
265
|
+
const _CSRr = "CreateSubscriberResponse";
|
|
266
|
+
const _DALS = "DeleteAwsLogSource";
|
|
267
|
+
const _DALSR = "DeleteAwsLogSourceRequest";
|
|
268
|
+
const _DALSRe = "DeleteAwsLogSourceResponse";
|
|
269
|
+
const _DCLS = "DeleteCustomLogSource";
|
|
270
|
+
const _DCLSR = "DeleteCustomLogSourceRequest";
|
|
271
|
+
const _DCLSRe = "DeleteCustomLogSourceResponse";
|
|
272
|
+
const _DDL = "DeleteDataLake";
|
|
273
|
+
const _DDLDA = "DeregisterDataLakeDelegatedAdministrator";
|
|
274
|
+
const _DDLDAR = "DeregisterDataLakeDelegatedAdministratorRequest";
|
|
275
|
+
const _DDLDARe = "DeregisterDataLakeDelegatedAdministratorResponse";
|
|
276
|
+
const _DDLES = "DeleteDataLakeExceptionSubscription";
|
|
277
|
+
const _DDLESR = "DeleteDataLakeExceptionSubscriptionRequest";
|
|
278
|
+
const _DDLESRe = "DeleteDataLakeExceptionSubscriptionResponse";
|
|
279
|
+
const _DDLOC = "DeleteDataLakeOrganizationConfiguration";
|
|
280
|
+
const _DDLOCR = "DeleteDataLakeOrganizationConfigurationRequest";
|
|
281
|
+
const _DDLOCRe = "DeleteDataLakeOrganizationConfigurationResponse";
|
|
282
|
+
const _DDLR = "DeleteDataLakeRequest";
|
|
283
|
+
const _DDLRe = "DeleteDataLakeResponse";
|
|
284
|
+
const _DLAENAC = "DataLakeAutoEnableNewAccountConfiguration";
|
|
285
|
+
const _DLAENACL = "DataLakeAutoEnableNewAccountConfigurationList";
|
|
286
|
+
const _DLC = "DataLakeConfiguration";
|
|
287
|
+
const _DLCL = "DataLakeConfigurationList";
|
|
288
|
+
const _DLE = "DataLakeException";
|
|
289
|
+
const _DLEC = "DataLakeEncryptionConfiguration";
|
|
290
|
+
const _DLEL = "DataLakeExceptionList";
|
|
291
|
+
const _DLLC = "DataLakeLifecycleConfiguration";
|
|
292
|
+
const _DLLE = "DataLakeLifecycleExpiration";
|
|
293
|
+
const _DLLT = "DataLakeLifecycleTransition";
|
|
294
|
+
const _DLLTL = "DataLakeLifecycleTransitionList";
|
|
295
|
+
const _DLR = "DataLakeResource";
|
|
296
|
+
const _DLRC = "DataLakeReplicationConfiguration";
|
|
297
|
+
const _DLRL = "DataLakeResourceList";
|
|
298
|
+
const _DLS = "DataLakeSource";
|
|
299
|
+
const _DLSL = "DataLakeSourceList";
|
|
300
|
+
const _DLSS = "DataLakeSourceStatus";
|
|
301
|
+
const _DLSSL = "DataLakeSourceStatusList";
|
|
302
|
+
const _DLUE = "DataLakeUpdateException";
|
|
303
|
+
const _DLUS = "DataLakeUpdateStatus";
|
|
304
|
+
const _DS = "DeleteSubscriber";
|
|
305
|
+
const _DSN = "DeleteSubscriberNotification";
|
|
306
|
+
const _DSNR = "DeleteSubscriberNotificationRequest";
|
|
307
|
+
const _DSNRe = "DeleteSubscriberNotificationResponse";
|
|
308
|
+
const _DSR = "DeleteSubscriberRequest";
|
|
309
|
+
const _DSRe = "DeleteSubscriberResponse";
|
|
310
|
+
const _GDLES = "GetDataLakeExceptionSubscription";
|
|
311
|
+
const _GDLESR = "GetDataLakeExceptionSubscriptionRequest";
|
|
312
|
+
const _GDLESRe = "GetDataLakeExceptionSubscriptionResponse";
|
|
313
|
+
const _GDLOC = "GetDataLakeOrganizationConfiguration";
|
|
314
|
+
const _GDLOCR = "GetDataLakeOrganizationConfigurationRequest";
|
|
315
|
+
const _GDLOCRe = "GetDataLakeOrganizationConfigurationResponse";
|
|
316
|
+
const _GDLS = "GetDataLakeSources";
|
|
317
|
+
const _GDLSR = "GetDataLakeSourcesRequest";
|
|
318
|
+
const _GDLSRe = "GetDataLakeSourcesResponse";
|
|
319
|
+
const _GS = "GetSubscriber";
|
|
320
|
+
const _GSR = "GetSubscriberRequest";
|
|
321
|
+
const _GSRe = "GetSubscriberResponse";
|
|
322
|
+
const _HNC = "HttpsNotificationConfiguration";
|
|
323
|
+
const _ISE = "InternalServerException";
|
|
324
|
+
const _LDL = "ListDataLakes";
|
|
325
|
+
const _LDLE = "ListDataLakeExceptions";
|
|
326
|
+
const _LDLER = "ListDataLakeExceptionsRequest";
|
|
327
|
+
const _LDLERi = "ListDataLakeExceptionsResponse";
|
|
328
|
+
const _LDLR = "ListDataLakesRequest";
|
|
329
|
+
const _LDLRi = "ListDataLakesResponse";
|
|
330
|
+
const _LLS = "ListLogSources";
|
|
331
|
+
const _LLSR = "ListLogSourcesRequest";
|
|
332
|
+
const _LLSRi = "ListLogSourcesResponse";
|
|
333
|
+
const _LS = "LogSource";
|
|
334
|
+
const _LSL = "LogSourceList";
|
|
335
|
+
const _LSR = "ListSubscribersRequest";
|
|
336
|
+
const _LSRL = "LogSourceResourceList";
|
|
337
|
+
const _LSRi = "ListSubscribersResponse";
|
|
338
|
+
const _LSRo = "LogSourceResource";
|
|
339
|
+
const _LSi = "ListSubscribers";
|
|
340
|
+
const _LTFR = "ListTagsForResource";
|
|
341
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
342
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
343
|
+
const _NC = "NotificationConfiguration";
|
|
344
|
+
const _RA = "Retry-After";
|
|
345
|
+
const _RDLDA = "RegisterDataLakeDelegatedAdministrator";
|
|
346
|
+
const _RDLDAR = "RegisterDataLakeDelegatedAdministratorRequest";
|
|
347
|
+
const _RDLDARe = "RegisterDataLakeDelegatedAdministratorResponse";
|
|
348
|
+
const _RNFE = "ResourceNotFoundException";
|
|
349
|
+
const _SNC = "SqsNotificationConfiguration";
|
|
350
|
+
const _SR = "SubscriberResource";
|
|
351
|
+
const _SRL = "SubscriberResourceList";
|
|
352
|
+
const _T = "Tag";
|
|
353
|
+
const _TE = "ThrottlingException";
|
|
354
|
+
const _TL = "TagList";
|
|
355
|
+
const _TR = "TagResource";
|
|
356
|
+
const _TRR = "TagResourceRequest";
|
|
357
|
+
const _TRRa = "TagResourceResponse";
|
|
358
|
+
const _UDL = "UpdateDataLake";
|
|
359
|
+
const _UDLES = "UpdateDataLakeExceptionSubscription";
|
|
360
|
+
const _UDLESR = "UpdateDataLakeExceptionSubscriptionRequest";
|
|
361
|
+
const _UDLESRp = "UpdateDataLakeExceptionSubscriptionResponse";
|
|
362
|
+
const _UDLR = "UpdateDataLakeRequest";
|
|
363
|
+
const _UDLRp = "UpdateDataLakeResponse";
|
|
364
|
+
const _UR = "UntagResource";
|
|
365
|
+
const _URR = "UntagResourceRequest";
|
|
366
|
+
const _URRn = "UntagResourceResponse";
|
|
367
|
+
const _US = "UpdateSubscriber";
|
|
368
|
+
const _USN = "UpdateSubscriberNotification";
|
|
369
|
+
const _USNR = "UpdateSubscriberNotificationRequest";
|
|
370
|
+
const _USNRp = "UpdateSubscriberNotificationResponse";
|
|
371
|
+
const _USR = "UpdateSubscriberRequest";
|
|
372
|
+
const _USRp = "UpdateSubscriberResponse";
|
|
373
|
+
const _a = "accounts";
|
|
374
|
+
const _aAKN = "authorizationApiKeyName";
|
|
375
|
+
const _aAKV = "authorizationApiKeyValue";
|
|
376
|
+
const _aENA = "autoEnableNewAccount";
|
|
377
|
+
const _aI = "accountId";
|
|
378
|
+
const _aLS = "awsLogSource";
|
|
379
|
+
const _aT = "accessTypes";
|
|
380
|
+
const _ac = "account";
|
|
381
|
+
const _at = "attributes";
|
|
382
|
+
const _c = "client";
|
|
383
|
+
const _cA = "crawlerArn";
|
|
384
|
+
const _cAr = "createdAt";
|
|
385
|
+
const _cC = "crawlerConfiguration";
|
|
386
|
+
const _cLS = "customLogSource";
|
|
387
|
+
const _cS = "createStatus";
|
|
388
|
+
const _co = "configuration";
|
|
389
|
+
const _cod = "code";
|
|
390
|
+
const _con = "configurations";
|
|
391
|
+
const _d = "days";
|
|
392
|
+
const _dA = "databaseArn";
|
|
393
|
+
const _dL = "dataLakes";
|
|
394
|
+
const _dLA = "dataLakeArn";
|
|
395
|
+
const _dLS = "dataLakeSources";
|
|
396
|
+
const _e = "error";
|
|
397
|
+
const _eC = "errorCode";
|
|
398
|
+
const _eCn = "encryptionConfiguration";
|
|
399
|
+
const _eCv = "eventClasses";
|
|
400
|
+
const _eI = "externalId";
|
|
401
|
+
const _eTTL = "exceptionTimeToLive";
|
|
402
|
+
const _en = "endpoint";
|
|
403
|
+
const _ex = "exception";
|
|
404
|
+
const _exc = "exceptions";
|
|
405
|
+
const _exp = "expiration";
|
|
406
|
+
const _f = "failed";
|
|
407
|
+
const _h = "http";
|
|
408
|
+
const _hE = "httpError";
|
|
409
|
+
const _hH = "httpHeader";
|
|
410
|
+
const _hM = "httpMethod";
|
|
411
|
+
const _hNC = "httpsNotificationConfiguration";
|
|
412
|
+
const _hQ = "httpQuery";
|
|
413
|
+
const _k = "key";
|
|
414
|
+
const _kKI = "kmsKeyId";
|
|
415
|
+
const _l = "location";
|
|
416
|
+
const _lC = "lifecycleConfiguration";
|
|
417
|
+
const _m = "message";
|
|
418
|
+
const _mR = "maxResults";
|
|
419
|
+
const _mSMRA = "metaStoreManagerRoleArn";
|
|
420
|
+
const _nE = "notificationEndpoint";
|
|
421
|
+
const _nT = "nextToken";
|
|
422
|
+
const _p = "principal";
|
|
423
|
+
const _pI = "providerIdentity";
|
|
424
|
+
const _pr = "provider";
|
|
425
|
+
const _qC = "quotaCode";
|
|
426
|
+
const _r = "regions";
|
|
427
|
+
const _rA = "roleArn";
|
|
428
|
+
const _rAS = "retryAfterSeconds";
|
|
429
|
+
const _rAe = "resourceArn";
|
|
430
|
+
const _rC = "replicationConfiguration";
|
|
431
|
+
const _rI = "requestId";
|
|
432
|
+
const _rN = "resourceName";
|
|
433
|
+
const _rSA = "resourceShareArn";
|
|
434
|
+
const _rSN = "resourceShareName";
|
|
435
|
+
const _rT = "resourceType";
|
|
436
|
+
const _re = "region";
|
|
437
|
+
const _rea = "reason";
|
|
438
|
+
const _rem = "remediation";
|
|
439
|
+
const _res = "resource";
|
|
440
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.securitylake";
|
|
441
|
+
const _sA = "subscriberArn";
|
|
442
|
+
const _sBA = "s3BucketArn";
|
|
443
|
+
const _sC = "serviceCode";
|
|
444
|
+
const _sCt = "storageClass";
|
|
445
|
+
const _sD = "subscriberDescription";
|
|
446
|
+
const _sE = "subscriberEndpoint";
|
|
447
|
+
const _sI = "subscriberId";
|
|
448
|
+
const _sIu = "subscriberIdentity";
|
|
449
|
+
const _sN = "sourceName";
|
|
450
|
+
const _sNC = "sqsNotificationConfiguration";
|
|
451
|
+
const _sNu = "subscriberName";
|
|
452
|
+
const _sP = "subscriptionProtocol";
|
|
453
|
+
const _sS = "sourceStatuses";
|
|
454
|
+
const _sSu = "subscriberStatus";
|
|
455
|
+
const _sV = "sourceVersion";
|
|
456
|
+
const _se = "server";
|
|
457
|
+
const _so = "sources";
|
|
458
|
+
const _sou = "source";
|
|
459
|
+
const _st = "status";
|
|
460
|
+
const _su = "subscriber";
|
|
461
|
+
const _sub = "subscribers";
|
|
462
|
+
const _t = "tags";
|
|
463
|
+
const _tA = "tableArn";
|
|
464
|
+
const _tK = "tagKeys";
|
|
465
|
+
const _tRA = "targetRoleArn";
|
|
466
|
+
const _ti = "timestamp";
|
|
467
|
+
const _tr = "transitions";
|
|
468
|
+
const _uA = "updatedAt";
|
|
469
|
+
const _uS = "updateStatus";
|
|
470
|
+
const _v = "value";
|
|
471
|
+
const n0 = "com.amazonaws.securitylake";
|
|
472
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
473
|
+
var SecurityLakeServiceException$ = [-3, _s, "SecurityLakeServiceException", 0, [], []];
|
|
474
|
+
_s_registry.registerError(SecurityLakeServiceException$, SecurityLakeServiceException);
|
|
475
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
476
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
477
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
478
|
+
[_m, _eC],
|
|
479
|
+
[0, 0]
|
|
480
|
+
];
|
|
481
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
482
|
+
var BadRequestException$ = [-3, n0, _BRE,
|
|
483
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
484
|
+
[_m],
|
|
485
|
+
[0]
|
|
486
|
+
];
|
|
487
|
+
n0_registry.registerError(BadRequestException$, BadRequestException);
|
|
488
|
+
var ConflictException$ = [-3, n0, _CE,
|
|
489
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
490
|
+
[_m, _rN, _rT],
|
|
491
|
+
[0, 0, 0]
|
|
492
|
+
];
|
|
493
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
494
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
495
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
496
|
+
[_m],
|
|
497
|
+
[0]
|
|
498
|
+
];
|
|
499
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
500
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
501
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
502
|
+
[_m, _rN, _rT],
|
|
503
|
+
[0, 0, 0]
|
|
504
|
+
];
|
|
505
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
506
|
+
var ThrottlingException$ = [-3, n0, _TE,
|
|
507
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
508
|
+
[_m, _sC, _qC, _rAS],
|
|
509
|
+
[0, 0, 0, [1, { [_hH]: _RA }]]
|
|
510
|
+
];
|
|
511
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
512
|
+
const errorTypeRegistries = [
|
|
513
|
+
_s_registry,
|
|
514
|
+
n0_registry,
|
|
515
|
+
];
|
|
516
|
+
var AwsIdentity$ = [3, n0, _AI,
|
|
517
|
+
0,
|
|
518
|
+
[_p, _eI],
|
|
519
|
+
[0, 0], 2
|
|
520
|
+
];
|
|
521
|
+
var AwsLogSourceConfiguration$ = [3, n0, _ALSC,
|
|
522
|
+
0,
|
|
523
|
+
[_r, _sN, _a, _sV],
|
|
524
|
+
[64 | 0, 0, 64 | 0, 0], 2
|
|
525
|
+
];
|
|
526
|
+
var AwsLogSourceResource$ = [3, n0, _ALSR,
|
|
527
|
+
0,
|
|
528
|
+
[_sN, _sV],
|
|
529
|
+
[0, 0]
|
|
530
|
+
];
|
|
531
|
+
var CreateAwsLogSourceRequest$ = [3, n0, _CALSR,
|
|
532
|
+
0,
|
|
533
|
+
[_so],
|
|
534
|
+
[() => AwsLogSourceConfigurationList], 1
|
|
535
|
+
];
|
|
536
|
+
var CreateAwsLogSourceResponse$ = [3, n0, _CALSRr,
|
|
537
|
+
0,
|
|
538
|
+
[_f],
|
|
539
|
+
[64 | 0]
|
|
540
|
+
];
|
|
541
|
+
var CreateCustomLogSourceRequest$ = [3, n0, _CCLSR,
|
|
542
|
+
0,
|
|
543
|
+
[_sN, _co, _sV, _eCv],
|
|
544
|
+
[0, () => CustomLogSourceConfiguration$, 0, 64 | 0], 2
|
|
545
|
+
];
|
|
546
|
+
var CreateCustomLogSourceResponse$ = [3, n0, _CCLSRr,
|
|
547
|
+
0,
|
|
548
|
+
[_sou],
|
|
549
|
+
[() => CustomLogSourceResource$]
|
|
550
|
+
];
|
|
551
|
+
var CreateDataLakeExceptionSubscriptionRequest$ = [3, n0, _CDLESR,
|
|
552
|
+
0,
|
|
553
|
+
[_sP, _nE, _eTTL],
|
|
554
|
+
[0, 0, 1], 2
|
|
555
|
+
];
|
|
556
|
+
var CreateDataLakeExceptionSubscriptionResponse$ = [3, n0, _CDLESRr,
|
|
557
|
+
0,
|
|
558
|
+
[],
|
|
559
|
+
[]
|
|
560
|
+
];
|
|
561
|
+
var CreateDataLakeOrganizationConfigurationRequest$ = [3, n0, _CDLOCR,
|
|
562
|
+
0,
|
|
563
|
+
[_aENA],
|
|
564
|
+
[() => DataLakeAutoEnableNewAccountConfigurationList]
|
|
565
|
+
];
|
|
566
|
+
var CreateDataLakeOrganizationConfigurationResponse$ = [3, n0, _CDLOCRr,
|
|
567
|
+
0,
|
|
568
|
+
[],
|
|
569
|
+
[]
|
|
570
|
+
];
|
|
571
|
+
var CreateDataLakeRequest$ = [3, n0, _CDLR,
|
|
572
|
+
0,
|
|
573
|
+
[_con, _mSMRA, _t],
|
|
574
|
+
[() => DataLakeConfigurationList, 0, () => TagList], 2
|
|
575
|
+
];
|
|
576
|
+
var CreateDataLakeResponse$ = [3, n0, _CDLRr,
|
|
577
|
+
0,
|
|
578
|
+
[_dL],
|
|
579
|
+
[() => DataLakeResourceList]
|
|
580
|
+
];
|
|
581
|
+
var CreateSubscriberNotificationRequest$ = [3, n0, _CSNR,
|
|
582
|
+
0,
|
|
583
|
+
[_sI, _co],
|
|
584
|
+
[[0, 1], () => NotificationConfiguration$], 2
|
|
585
|
+
];
|
|
586
|
+
var CreateSubscriberNotificationResponse$ = [3, n0, _CSNRr,
|
|
587
|
+
0,
|
|
588
|
+
[_sE],
|
|
589
|
+
[0]
|
|
590
|
+
];
|
|
591
|
+
var CreateSubscriberRequest$ = [3, n0, _CSR,
|
|
592
|
+
0,
|
|
593
|
+
[_sIu, _sNu, _so, _sD, _aT, _t],
|
|
594
|
+
[() => AwsIdentity$, 0, () => LogSourceResourceList, 0, 64 | 0, () => TagList], 3
|
|
595
|
+
];
|
|
596
|
+
var CreateSubscriberResponse$ = [3, n0, _CSRr,
|
|
597
|
+
0,
|
|
598
|
+
[_su],
|
|
599
|
+
[() => SubscriberResource$]
|
|
600
|
+
];
|
|
601
|
+
var CustomLogSourceAttributes$ = [3, n0, _CLSA,
|
|
602
|
+
0,
|
|
603
|
+
[_cA, _dA, _tA],
|
|
604
|
+
[0, 0, 0]
|
|
605
|
+
];
|
|
606
|
+
var CustomLogSourceConfiguration$ = [3, n0, _CLSC,
|
|
607
|
+
0,
|
|
608
|
+
[_cC, _pI],
|
|
609
|
+
[() => CustomLogSourceCrawlerConfiguration$, () => AwsIdentity$], 2
|
|
610
|
+
];
|
|
611
|
+
var CustomLogSourceCrawlerConfiguration$ = [3, n0, _CLSCC,
|
|
612
|
+
0,
|
|
613
|
+
[_rA],
|
|
614
|
+
[0], 1
|
|
615
|
+
];
|
|
616
|
+
var CustomLogSourceProvider$ = [3, n0, _CLSP,
|
|
617
|
+
0,
|
|
618
|
+
[_rA, _l],
|
|
619
|
+
[0, 0]
|
|
620
|
+
];
|
|
621
|
+
var CustomLogSourceResource$ = [3, n0, _CLSR,
|
|
622
|
+
0,
|
|
623
|
+
[_sN, _sV, _pr, _at],
|
|
624
|
+
[0, 0, () => CustomLogSourceProvider$, () => CustomLogSourceAttributes$]
|
|
625
|
+
];
|
|
626
|
+
var DataLakeAutoEnableNewAccountConfiguration$ = [3, n0, _DLAENAC,
|
|
627
|
+
0,
|
|
628
|
+
[_re, _so],
|
|
629
|
+
[0, () => AwsLogSourceResourceList], 2
|
|
630
|
+
];
|
|
631
|
+
var DataLakeConfiguration$ = [3, n0, _DLC,
|
|
632
|
+
0,
|
|
633
|
+
[_re, _eCn, _lC, _rC],
|
|
634
|
+
[0, () => DataLakeEncryptionConfiguration$, () => DataLakeLifecycleConfiguration$, () => DataLakeReplicationConfiguration$], 1
|
|
635
|
+
];
|
|
636
|
+
var DataLakeEncryptionConfiguration$ = [3, n0, _DLEC,
|
|
637
|
+
0,
|
|
638
|
+
[_kKI],
|
|
639
|
+
[0]
|
|
640
|
+
];
|
|
641
|
+
var DataLakeException$ = [3, n0, _DLE,
|
|
642
|
+
0,
|
|
643
|
+
[_re, _ex, _rem, _ti],
|
|
644
|
+
[0, 0, 0, 5]
|
|
645
|
+
];
|
|
646
|
+
var DataLakeLifecycleConfiguration$ = [3, n0, _DLLC,
|
|
647
|
+
0,
|
|
648
|
+
[_exp, _tr],
|
|
649
|
+
[() => DataLakeLifecycleExpiration$, () => DataLakeLifecycleTransitionList]
|
|
650
|
+
];
|
|
651
|
+
var DataLakeLifecycleExpiration$ = [3, n0, _DLLE,
|
|
652
|
+
0,
|
|
653
|
+
[_d],
|
|
654
|
+
[1]
|
|
655
|
+
];
|
|
656
|
+
var DataLakeLifecycleTransition$ = [3, n0, _DLLT,
|
|
657
|
+
0,
|
|
658
|
+
[_sCt, _d],
|
|
659
|
+
[0, 1]
|
|
660
|
+
];
|
|
661
|
+
var DataLakeReplicationConfiguration$ = [3, n0, _DLRC,
|
|
662
|
+
0,
|
|
663
|
+
[_r, _rA],
|
|
664
|
+
[64 | 0, 0]
|
|
665
|
+
];
|
|
666
|
+
var DataLakeResource$ = [3, n0, _DLR,
|
|
667
|
+
0,
|
|
668
|
+
[_dLA, _re, _sBA, _eCn, _lC, _rC, _cS, _uS],
|
|
669
|
+
[0, 0, 0, () => DataLakeEncryptionConfiguration$, () => DataLakeLifecycleConfiguration$, () => DataLakeReplicationConfiguration$, 0, () => DataLakeUpdateStatus$], 2
|
|
670
|
+
];
|
|
671
|
+
var DataLakeSource$ = [3, n0, _DLS,
|
|
672
|
+
0,
|
|
673
|
+
[_ac, _sN, _eCv, _sS],
|
|
674
|
+
[0, 0, 64 | 0, () => DataLakeSourceStatusList]
|
|
675
|
+
];
|
|
676
|
+
var DataLakeSourceStatus$ = [3, n0, _DLSS,
|
|
677
|
+
0,
|
|
678
|
+
[_res, _st],
|
|
679
|
+
[0, 0]
|
|
680
|
+
];
|
|
681
|
+
var DataLakeUpdateException$ = [3, n0, _DLUE,
|
|
682
|
+
0,
|
|
683
|
+
[_rea, _cod],
|
|
684
|
+
[0, 0]
|
|
685
|
+
];
|
|
686
|
+
var DataLakeUpdateStatus$ = [3, n0, _DLUS,
|
|
687
|
+
0,
|
|
688
|
+
[_rI, _st, _ex],
|
|
689
|
+
[0, 0, () => DataLakeUpdateException$]
|
|
690
|
+
];
|
|
691
|
+
var DeleteAwsLogSourceRequest$ = [3, n0, _DALSR,
|
|
692
|
+
0,
|
|
693
|
+
[_so],
|
|
694
|
+
[() => AwsLogSourceConfigurationList], 1
|
|
695
|
+
];
|
|
696
|
+
var DeleteAwsLogSourceResponse$ = [3, n0, _DALSRe,
|
|
697
|
+
0,
|
|
698
|
+
[_f],
|
|
699
|
+
[64 | 0]
|
|
700
|
+
];
|
|
701
|
+
var DeleteCustomLogSourceRequest$ = [3, n0, _DCLSR,
|
|
702
|
+
0,
|
|
703
|
+
[_sN, _sV],
|
|
704
|
+
[[0, 1], [0, { [_hQ]: _sV }]], 1
|
|
705
|
+
];
|
|
706
|
+
var DeleteCustomLogSourceResponse$ = [3, n0, _DCLSRe,
|
|
707
|
+
0,
|
|
708
|
+
[],
|
|
709
|
+
[]
|
|
710
|
+
];
|
|
711
|
+
var DeleteDataLakeExceptionSubscriptionRequest$ = [3, n0, _DDLESR,
|
|
712
|
+
0,
|
|
713
|
+
[],
|
|
714
|
+
[]
|
|
715
|
+
];
|
|
716
|
+
var DeleteDataLakeExceptionSubscriptionResponse$ = [3, n0, _DDLESRe,
|
|
717
|
+
0,
|
|
718
|
+
[],
|
|
719
|
+
[]
|
|
720
|
+
];
|
|
721
|
+
var DeleteDataLakeOrganizationConfigurationRequest$ = [3, n0, _DDLOCR,
|
|
722
|
+
0,
|
|
723
|
+
[_aENA],
|
|
724
|
+
[() => DataLakeAutoEnableNewAccountConfigurationList]
|
|
725
|
+
];
|
|
726
|
+
var DeleteDataLakeOrganizationConfigurationResponse$ = [3, n0, _DDLOCRe,
|
|
727
|
+
0,
|
|
728
|
+
[],
|
|
729
|
+
[]
|
|
730
|
+
];
|
|
731
|
+
var DeleteDataLakeRequest$ = [3, n0, _DDLR,
|
|
732
|
+
0,
|
|
733
|
+
[_r],
|
|
734
|
+
[64 | 0], 1
|
|
735
|
+
];
|
|
736
|
+
var DeleteDataLakeResponse$ = [3, n0, _DDLRe,
|
|
737
|
+
0,
|
|
738
|
+
[],
|
|
739
|
+
[]
|
|
740
|
+
];
|
|
741
|
+
var DeleteSubscriberNotificationRequest$ = [3, n0, _DSNR,
|
|
742
|
+
0,
|
|
743
|
+
[_sI],
|
|
744
|
+
[[0, 1]], 1
|
|
745
|
+
];
|
|
746
|
+
var DeleteSubscriberNotificationResponse$ = [3, n0, _DSNRe,
|
|
747
|
+
0,
|
|
748
|
+
[],
|
|
749
|
+
[]
|
|
750
|
+
];
|
|
751
|
+
var DeleteSubscriberRequest$ = [3, n0, _DSR,
|
|
752
|
+
0,
|
|
753
|
+
[_sI],
|
|
754
|
+
[[0, 1]], 1
|
|
755
|
+
];
|
|
756
|
+
var DeleteSubscriberResponse$ = [3, n0, _DSRe,
|
|
757
|
+
0,
|
|
758
|
+
[],
|
|
759
|
+
[]
|
|
760
|
+
];
|
|
761
|
+
var DeregisterDataLakeDelegatedAdministratorRequest$ = [3, n0, _DDLDAR,
|
|
762
|
+
0,
|
|
763
|
+
[],
|
|
764
|
+
[]
|
|
765
|
+
];
|
|
766
|
+
var DeregisterDataLakeDelegatedAdministratorResponse$ = [3, n0, _DDLDARe,
|
|
767
|
+
0,
|
|
768
|
+
[],
|
|
769
|
+
[]
|
|
770
|
+
];
|
|
771
|
+
var GetDataLakeExceptionSubscriptionRequest$ = [3, n0, _GDLESR,
|
|
772
|
+
0,
|
|
773
|
+
[],
|
|
774
|
+
[]
|
|
775
|
+
];
|
|
776
|
+
var GetDataLakeExceptionSubscriptionResponse$ = [3, n0, _GDLESRe,
|
|
777
|
+
0,
|
|
778
|
+
[_sP, _nE, _eTTL],
|
|
779
|
+
[0, 0, 1]
|
|
780
|
+
];
|
|
781
|
+
var GetDataLakeOrganizationConfigurationRequest$ = [3, n0, _GDLOCR,
|
|
782
|
+
0,
|
|
783
|
+
[],
|
|
784
|
+
[]
|
|
785
|
+
];
|
|
786
|
+
var GetDataLakeOrganizationConfigurationResponse$ = [3, n0, _GDLOCRe,
|
|
787
|
+
0,
|
|
788
|
+
[_aENA],
|
|
789
|
+
[() => DataLakeAutoEnableNewAccountConfigurationList]
|
|
790
|
+
];
|
|
791
|
+
var GetDataLakeSourcesRequest$ = [3, n0, _GDLSR,
|
|
792
|
+
0,
|
|
793
|
+
[_a, _mR, _nT],
|
|
794
|
+
[64 | 0, 1, 0]
|
|
795
|
+
];
|
|
796
|
+
var GetDataLakeSourcesResponse$ = [3, n0, _GDLSRe,
|
|
797
|
+
0,
|
|
798
|
+
[_dLA, _dLS, _nT],
|
|
799
|
+
[0, () => DataLakeSourceList, 0]
|
|
800
|
+
];
|
|
801
|
+
var GetSubscriberRequest$ = [3, n0, _GSR,
|
|
802
|
+
0,
|
|
803
|
+
[_sI],
|
|
804
|
+
[[0, 1]], 1
|
|
805
|
+
];
|
|
806
|
+
var GetSubscriberResponse$ = [3, n0, _GSRe,
|
|
807
|
+
0,
|
|
808
|
+
[_su],
|
|
809
|
+
[() => SubscriberResource$]
|
|
810
|
+
];
|
|
811
|
+
var HttpsNotificationConfiguration$ = [3, n0, _HNC,
|
|
812
|
+
0,
|
|
813
|
+
[_en, _tRA, _aAKN, _aAKV, _hM],
|
|
814
|
+
[0, 0, 0, 0, 0], 2
|
|
815
|
+
];
|
|
816
|
+
var ListDataLakeExceptionsRequest$ = [3, n0, _LDLER,
|
|
817
|
+
0,
|
|
818
|
+
[_r, _mR, _nT],
|
|
819
|
+
[64 | 0, 1, 0]
|
|
820
|
+
];
|
|
821
|
+
var ListDataLakeExceptionsResponse$ = [3, n0, _LDLERi,
|
|
822
|
+
0,
|
|
823
|
+
[_exc, _nT],
|
|
824
|
+
[() => DataLakeExceptionList, 0]
|
|
825
|
+
];
|
|
826
|
+
var ListDataLakesRequest$ = [3, n0, _LDLR,
|
|
827
|
+
0,
|
|
828
|
+
[_r],
|
|
829
|
+
[[64 | 0, { [_hQ]: _r }]]
|
|
830
|
+
];
|
|
831
|
+
var ListDataLakesResponse$ = [3, n0, _LDLRi,
|
|
832
|
+
0,
|
|
833
|
+
[_dL],
|
|
834
|
+
[() => DataLakeResourceList]
|
|
835
|
+
];
|
|
836
|
+
var ListLogSourcesRequest$ = [3, n0, _LLSR,
|
|
837
|
+
0,
|
|
838
|
+
[_a, _r, _so, _mR, _nT],
|
|
839
|
+
[64 | 0, 64 | 0, () => LogSourceResourceList, 1, 0]
|
|
840
|
+
];
|
|
841
|
+
var ListLogSourcesResponse$ = [3, n0, _LLSRi,
|
|
842
|
+
0,
|
|
843
|
+
[_so, _nT],
|
|
844
|
+
[() => LogSourceList, 0]
|
|
845
|
+
];
|
|
846
|
+
var ListSubscribersRequest$ = [3, n0, _LSR,
|
|
847
|
+
0,
|
|
848
|
+
[_nT, _mR],
|
|
849
|
+
[[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
|
|
850
|
+
];
|
|
851
|
+
var ListSubscribersResponse$ = [3, n0, _LSRi,
|
|
852
|
+
0,
|
|
853
|
+
[_sub, _nT],
|
|
854
|
+
[() => SubscriberResourceList, 0]
|
|
855
|
+
];
|
|
856
|
+
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
857
|
+
0,
|
|
858
|
+
[_rAe],
|
|
859
|
+
[[0, 1]], 1
|
|
860
|
+
];
|
|
861
|
+
var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
862
|
+
0,
|
|
863
|
+
[_t],
|
|
864
|
+
[() => TagList]
|
|
865
|
+
];
|
|
866
|
+
var LogSource$ = [3, n0, _LS,
|
|
867
|
+
0,
|
|
868
|
+
[_ac, _re, _so],
|
|
869
|
+
[0, 0, () => LogSourceResourceList]
|
|
870
|
+
];
|
|
871
|
+
var RegisterDataLakeDelegatedAdministratorRequest$ = [3, n0, _RDLDAR,
|
|
872
|
+
0,
|
|
873
|
+
[_aI],
|
|
874
|
+
[0], 1
|
|
875
|
+
];
|
|
876
|
+
var RegisterDataLakeDelegatedAdministratorResponse$ = [3, n0, _RDLDARe,
|
|
877
|
+
0,
|
|
878
|
+
[],
|
|
879
|
+
[]
|
|
880
|
+
];
|
|
881
|
+
var SqsNotificationConfiguration$ = [3, n0, _SNC,
|
|
882
|
+
0,
|
|
883
|
+
[],
|
|
884
|
+
[]
|
|
885
|
+
];
|
|
886
|
+
var SubscriberResource$ = [3, n0, _SR,
|
|
887
|
+
0,
|
|
888
|
+
[_sI, _sA, _sIu, _sNu, _so, _sD, _aT, _rA, _sBA, _sE, _sSu, _rSA, _rSN, _cAr, _uA],
|
|
889
|
+
[0, 0, () => AwsIdentity$, 0, () => LogSourceResourceList, 0, 64 | 0, 0, 0, 0, 0, 0, 0, 5, 5], 5
|
|
890
|
+
];
|
|
891
|
+
var Tag$ = [3, n0, _T,
|
|
892
|
+
0,
|
|
893
|
+
[_k, _v],
|
|
894
|
+
[0, 0], 2
|
|
895
|
+
];
|
|
896
|
+
var TagResourceRequest$ = [3, n0, _TRR,
|
|
897
|
+
0,
|
|
898
|
+
[_rAe, _t],
|
|
899
|
+
[[0, 1], () => TagList], 2
|
|
900
|
+
];
|
|
901
|
+
var TagResourceResponse$ = [3, n0, _TRRa,
|
|
902
|
+
0,
|
|
903
|
+
[],
|
|
904
|
+
[]
|
|
905
|
+
];
|
|
906
|
+
var UntagResourceRequest$ = [3, n0, _URR,
|
|
907
|
+
0,
|
|
908
|
+
[_rAe, _tK],
|
|
909
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
|
|
910
|
+
];
|
|
911
|
+
var UntagResourceResponse$ = [3, n0, _URRn,
|
|
912
|
+
0,
|
|
913
|
+
[],
|
|
914
|
+
[]
|
|
915
|
+
];
|
|
916
|
+
var UpdateDataLakeExceptionSubscriptionRequest$ = [3, n0, _UDLESR,
|
|
917
|
+
0,
|
|
918
|
+
[_sP, _nE, _eTTL],
|
|
919
|
+
[0, 0, 1], 2
|
|
920
|
+
];
|
|
921
|
+
var UpdateDataLakeExceptionSubscriptionResponse$ = [3, n0, _UDLESRp,
|
|
922
|
+
0,
|
|
923
|
+
[],
|
|
924
|
+
[]
|
|
925
|
+
];
|
|
926
|
+
var UpdateDataLakeRequest$ = [3, n0, _UDLR,
|
|
927
|
+
0,
|
|
928
|
+
[_con, _mSMRA],
|
|
929
|
+
[() => DataLakeConfigurationList, 0], 1
|
|
930
|
+
];
|
|
931
|
+
var UpdateDataLakeResponse$ = [3, n0, _UDLRp,
|
|
932
|
+
0,
|
|
933
|
+
[_dL],
|
|
934
|
+
[() => DataLakeResourceList]
|
|
935
|
+
];
|
|
936
|
+
var UpdateSubscriberNotificationRequest$ = [3, n0, _USNR,
|
|
937
|
+
0,
|
|
938
|
+
[_sI, _co],
|
|
939
|
+
[[0, 1], () => NotificationConfiguration$], 2
|
|
940
|
+
];
|
|
941
|
+
var UpdateSubscriberNotificationResponse$ = [3, n0, _USNRp,
|
|
942
|
+
0,
|
|
943
|
+
[_sE],
|
|
944
|
+
[0]
|
|
945
|
+
];
|
|
946
|
+
var UpdateSubscriberRequest$ = [3, n0, _USR,
|
|
947
|
+
0,
|
|
948
|
+
[_sI, _sIu, _sNu, _sD, _so],
|
|
949
|
+
[[0, 1], () => AwsIdentity$, 0, 0, () => LogSourceResourceList], 1
|
|
950
|
+
];
|
|
951
|
+
var UpdateSubscriberResponse$ = [3, n0, _USRp,
|
|
952
|
+
0,
|
|
953
|
+
[_su],
|
|
954
|
+
[() => SubscriberResource$]
|
|
955
|
+
];
|
|
956
|
+
var AwsLogSourceConfigurationList = [1, n0, _ALSCL,
|
|
957
|
+
0, () => AwsLogSourceConfiguration$
|
|
958
|
+
];
|
|
959
|
+
var AwsLogSourceResourceList = [1, n0, _ALSRL,
|
|
960
|
+
0, () => AwsLogSourceResource$
|
|
961
|
+
];
|
|
962
|
+
var DataLakeAutoEnableNewAccountConfigurationList = [1, n0, _DLAENACL,
|
|
963
|
+
0, () => DataLakeAutoEnableNewAccountConfiguration$
|
|
964
|
+
];
|
|
965
|
+
var DataLakeConfigurationList = [1, n0, _DLCL,
|
|
966
|
+
0, () => DataLakeConfiguration$
|
|
967
|
+
];
|
|
968
|
+
var DataLakeExceptionList = [1, n0, _DLEL,
|
|
969
|
+
0, () => DataLakeException$
|
|
970
|
+
];
|
|
971
|
+
var DataLakeLifecycleTransitionList = [1, n0, _DLLTL,
|
|
972
|
+
0, () => DataLakeLifecycleTransition$
|
|
973
|
+
];
|
|
974
|
+
var DataLakeResourceList = [1, n0, _DLRL,
|
|
975
|
+
0, () => DataLakeResource$
|
|
976
|
+
];
|
|
977
|
+
var DataLakeSourceList = [1, n0, _DLSL,
|
|
978
|
+
0, () => DataLakeSource$
|
|
979
|
+
];
|
|
980
|
+
var DataLakeSourceStatusList = [1, n0, _DLSSL,
|
|
981
|
+
0, () => DataLakeSourceStatus$
|
|
982
|
+
];
|
|
983
|
+
var LogSourceList = [1, n0, _LSL,
|
|
984
|
+
0, () => LogSource$
|
|
985
|
+
];
|
|
986
|
+
var LogSourceResourceList = [1, n0, _LSRL,
|
|
987
|
+
0, () => LogSourceResource$
|
|
988
|
+
];
|
|
989
|
+
var SubscriberResourceList = [1, n0, _SRL,
|
|
990
|
+
0, () => SubscriberResource$
|
|
991
|
+
];
|
|
992
|
+
var TagList = [1, n0, _TL,
|
|
993
|
+
0, () => Tag$
|
|
994
|
+
];
|
|
995
|
+
var LogSourceResource$ = [4, n0, _LSRo,
|
|
996
|
+
0,
|
|
997
|
+
[_aLS, _cLS],
|
|
998
|
+
[() => AwsLogSourceResource$, () => CustomLogSourceResource$]
|
|
999
|
+
];
|
|
1000
|
+
var NotificationConfiguration$ = [4, n0, _NC,
|
|
1001
|
+
0,
|
|
1002
|
+
[_sNC, _hNC],
|
|
1003
|
+
[() => SqsNotificationConfiguration$, () => HttpsNotificationConfiguration$]
|
|
1004
|
+
];
|
|
1005
|
+
var CreateAwsLogSource$ = [9, n0, _CALS,
|
|
1006
|
+
{ [_h]: ["POST", "/v1/datalake/logsources/aws", 200] }, () => CreateAwsLogSourceRequest$, () => CreateAwsLogSourceResponse$
|
|
1007
|
+
];
|
|
1008
|
+
var CreateCustomLogSource$ = [9, n0, _CCLS,
|
|
1009
|
+
{ [_h]: ["POST", "/v1/datalake/logsources/custom", 200] }, () => CreateCustomLogSourceRequest$, () => CreateCustomLogSourceResponse$
|
|
1010
|
+
];
|
|
1011
|
+
var CreateDataLake$ = [9, n0, _CDL,
|
|
1012
|
+
{ [_h]: ["POST", "/v1/datalake", 200] }, () => CreateDataLakeRequest$, () => CreateDataLakeResponse$
|
|
1013
|
+
];
|
|
1014
|
+
var CreateDataLakeExceptionSubscription$ = [9, n0, _CDLES,
|
|
1015
|
+
{ [_h]: ["POST", "/v1/datalake/exceptions/subscription", 200] }, () => CreateDataLakeExceptionSubscriptionRequest$, () => CreateDataLakeExceptionSubscriptionResponse$
|
|
1016
|
+
];
|
|
1017
|
+
var CreateDataLakeOrganizationConfiguration$ = [9, n0, _CDLOC,
|
|
1018
|
+
{ [_h]: ["POST", "/v1/datalake/organization/configuration", 200] }, () => CreateDataLakeOrganizationConfigurationRequest$, () => CreateDataLakeOrganizationConfigurationResponse$
|
|
1019
|
+
];
|
|
1020
|
+
var CreateSubscriber$ = [9, n0, _CS,
|
|
1021
|
+
{ [_h]: ["POST", "/v1/subscribers", 200] }, () => CreateSubscriberRequest$, () => CreateSubscriberResponse$
|
|
1022
|
+
];
|
|
1023
|
+
var CreateSubscriberNotification$ = [9, n0, _CSN,
|
|
1024
|
+
{ [_h]: ["POST", "/v1/subscribers/{subscriberId}/notification", 200] }, () => CreateSubscriberNotificationRequest$, () => CreateSubscriberNotificationResponse$
|
|
1025
|
+
];
|
|
1026
|
+
var DeleteAwsLogSource$ = [9, n0, _DALS,
|
|
1027
|
+
{ [_h]: ["POST", "/v1/datalake/logsources/aws/delete", 200] }, () => DeleteAwsLogSourceRequest$, () => DeleteAwsLogSourceResponse$
|
|
1028
|
+
];
|
|
1029
|
+
var DeleteCustomLogSource$ = [9, n0, _DCLS,
|
|
1030
|
+
{ [_h]: ["DELETE", "/v1/datalake/logsources/custom/{sourceName}", 200] }, () => DeleteCustomLogSourceRequest$, () => DeleteCustomLogSourceResponse$
|
|
1031
|
+
];
|
|
1032
|
+
var DeleteDataLake$ = [9, n0, _DDL,
|
|
1033
|
+
{ [_h]: ["POST", "/v1/datalake/delete", 200] }, () => DeleteDataLakeRequest$, () => DeleteDataLakeResponse$
|
|
1034
|
+
];
|
|
1035
|
+
var DeleteDataLakeExceptionSubscription$ = [9, n0, _DDLES,
|
|
1036
|
+
{ [_h]: ["DELETE", "/v1/datalake/exceptions/subscription", 200] }, () => DeleteDataLakeExceptionSubscriptionRequest$, () => DeleteDataLakeExceptionSubscriptionResponse$
|
|
1037
|
+
];
|
|
1038
|
+
var DeleteDataLakeOrganizationConfiguration$ = [9, n0, _DDLOC,
|
|
1039
|
+
{ [_h]: ["POST", "/v1/datalake/organization/configuration/delete", 200] }, () => DeleteDataLakeOrganizationConfigurationRequest$, () => DeleteDataLakeOrganizationConfigurationResponse$
|
|
1040
|
+
];
|
|
1041
|
+
var DeleteSubscriber$ = [9, n0, _DS,
|
|
1042
|
+
{ [_h]: ["DELETE", "/v1/subscribers/{subscriberId}", 200] }, () => DeleteSubscriberRequest$, () => DeleteSubscriberResponse$
|
|
1043
|
+
];
|
|
1044
|
+
var DeleteSubscriberNotification$ = [9, n0, _DSN,
|
|
1045
|
+
{ [_h]: ["DELETE", "/v1/subscribers/{subscriberId}/notification", 200] }, () => DeleteSubscriberNotificationRequest$, () => DeleteSubscriberNotificationResponse$
|
|
1046
|
+
];
|
|
1047
|
+
var DeregisterDataLakeDelegatedAdministrator$ = [9, n0, _DDLDA,
|
|
1048
|
+
{ [_h]: ["DELETE", "/v1/datalake/delegate", 200] }, () => DeregisterDataLakeDelegatedAdministratorRequest$, () => DeregisterDataLakeDelegatedAdministratorResponse$
|
|
1049
|
+
];
|
|
1050
|
+
var GetDataLakeExceptionSubscription$ = [9, n0, _GDLES,
|
|
1051
|
+
{ [_h]: ["GET", "/v1/datalake/exceptions/subscription", 200] }, () => GetDataLakeExceptionSubscriptionRequest$, () => GetDataLakeExceptionSubscriptionResponse$
|
|
1052
|
+
];
|
|
1053
|
+
var GetDataLakeOrganizationConfiguration$ = [9, n0, _GDLOC,
|
|
1054
|
+
{ [_h]: ["GET", "/v1/datalake/organization/configuration", 200] }, () => GetDataLakeOrganizationConfigurationRequest$, () => GetDataLakeOrganizationConfigurationResponse$
|
|
1055
|
+
];
|
|
1056
|
+
var GetDataLakeSources$ = [9, n0, _GDLS,
|
|
1057
|
+
{ [_h]: ["POST", "/v1/datalake/sources", 200] }, () => GetDataLakeSourcesRequest$, () => GetDataLakeSourcesResponse$
|
|
1058
|
+
];
|
|
1059
|
+
var GetSubscriber$ = [9, n0, _GS,
|
|
1060
|
+
{ [_h]: ["GET", "/v1/subscribers/{subscriberId}", 200] }, () => GetSubscriberRequest$, () => GetSubscriberResponse$
|
|
1061
|
+
];
|
|
1062
|
+
var ListDataLakeExceptions$ = [9, n0, _LDLE,
|
|
1063
|
+
{ [_h]: ["POST", "/v1/datalake/exceptions", 200] }, () => ListDataLakeExceptionsRequest$, () => ListDataLakeExceptionsResponse$
|
|
1064
|
+
];
|
|
1065
|
+
var ListDataLakes$ = [9, n0, _LDL,
|
|
1066
|
+
{ [_h]: ["GET", "/v1/datalakes", 200] }, () => ListDataLakesRequest$, () => ListDataLakesResponse$
|
|
1067
|
+
];
|
|
1068
|
+
var ListLogSources$ = [9, n0, _LLS,
|
|
1069
|
+
{ [_h]: ["POST", "/v1/datalake/logsources/list", 200] }, () => ListLogSourcesRequest$, () => ListLogSourcesResponse$
|
|
1070
|
+
];
|
|
1071
|
+
var ListSubscribers$ = [9, n0, _LSi,
|
|
1072
|
+
{ [_h]: ["GET", "/v1/subscribers", 200] }, () => ListSubscribersRequest$, () => ListSubscribersResponse$
|
|
1073
|
+
];
|
|
1074
|
+
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
1075
|
+
{ [_h]: ["GET", "/v1/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
1076
|
+
];
|
|
1077
|
+
var RegisterDataLakeDelegatedAdministrator$ = [9, n0, _RDLDA,
|
|
1078
|
+
{ [_h]: ["POST", "/v1/datalake/delegate", 200] }, () => RegisterDataLakeDelegatedAdministratorRequest$, () => RegisterDataLakeDelegatedAdministratorResponse$
|
|
1079
|
+
];
|
|
1080
|
+
var TagResource$ = [9, n0, _TR,
|
|
1081
|
+
{ [_h]: ["POST", "/v1/tags/{resourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
|
|
1082
|
+
];
|
|
1083
|
+
var UntagResource$ = [9, n0, _UR,
|
|
1084
|
+
{ [_h]: ["DELETE", "/v1/tags/{resourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
1085
|
+
];
|
|
1086
|
+
var UpdateDataLake$ = [9, n0, _UDL,
|
|
1087
|
+
{ [_h]: ["PUT", "/v1/datalake", 200] }, () => UpdateDataLakeRequest$, () => UpdateDataLakeResponse$
|
|
1088
|
+
];
|
|
1089
|
+
var UpdateDataLakeExceptionSubscription$ = [9, n0, _UDLES,
|
|
1090
|
+
{ [_h]: ["PUT", "/v1/datalake/exceptions/subscription", 200] }, () => UpdateDataLakeExceptionSubscriptionRequest$, () => UpdateDataLakeExceptionSubscriptionResponse$
|
|
1091
|
+
];
|
|
1092
|
+
var UpdateSubscriber$ = [9, n0, _US,
|
|
1093
|
+
{ [_h]: ["PUT", "/v1/subscribers/{subscriberId}", 200] }, () => UpdateSubscriberRequest$, () => UpdateSubscriberResponse$
|
|
1094
|
+
];
|
|
1095
|
+
var UpdateSubscriberNotification$ = [9, n0, _USN,
|
|
1096
|
+
{ [_h]: ["PUT", "/v1/subscribers/{subscriberId}/notification", 200] }, () => UpdateSubscriberNotificationRequest$, () => UpdateSubscriberNotificationResponse$
|
|
1097
|
+
];
|
|
1098
|
+
|
|
1099
|
+
const getRuntimeConfig$1 = (config) => {
|
|
1100
|
+
return {
|
|
1101
|
+
apiVersion: "2018-05-10",
|
|
1102
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
1103
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
1104
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
1105
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
1106
|
+
extensions: config?.extensions ?? [],
|
|
1107
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSecurityLakeHttpAuthSchemeProvider,
|
|
1108
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
1109
|
+
{
|
|
1110
|
+
schemeId: "aws.auth#sigv4",
|
|
1111
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
1112
|
+
signer: new AwsSdkSigV4Signer(),
|
|
1113
|
+
},
|
|
1114
|
+
],
|
|
1115
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
1116
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
1117
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
1118
|
+
defaultNamespace: "com.amazonaws.securitylake",
|
|
1119
|
+
errorTypeRegistries,
|
|
1120
|
+
version: "2018-05-10",
|
|
1121
|
+
serviceTarget: "SecurityLake",
|
|
1122
|
+
},
|
|
1123
|
+
serviceId: config?.serviceId ?? "SecurityLake",
|
|
1124
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
1125
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
1126
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
1127
|
+
};
|
|
1128
|
+
};
|
|
1129
|
+
|
|
1130
|
+
const getRuntimeConfig = (config) => {
|
|
1131
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
1132
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
1133
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
1134
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
1135
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
1136
|
+
const loaderConfig = {
|
|
1137
|
+
profile: config?.profile,
|
|
1138
|
+
logger: clientSharedValues.logger,
|
|
1139
|
+
};
|
|
1140
|
+
return {
|
|
1141
|
+
...clientSharedValues,
|
|
1142
|
+
...config,
|
|
1143
|
+
runtime: "node",
|
|
1144
|
+
defaultsMode,
|
|
1145
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
1146
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
1147
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
1148
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
1149
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
1150
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
1151
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
1152
|
+
retryMode: config?.retryMode ??
|
|
1153
|
+
loadConfig({
|
|
1154
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
1155
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
1156
|
+
}, config),
|
|
1157
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
1158
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
1159
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1160
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1161
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
1162
|
+
};
|
|
1163
|
+
};
|
|
1164
|
+
|
|
34
1165
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
1166
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
1167
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -570,45 +1701,181 @@ const SourceCollectionStatus = {
|
|
|
570
1701
|
NOT_COLLECTING: "NOT_COLLECTING",
|
|
571
1702
|
};
|
|
572
1703
|
|
|
1704
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1705
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
573
1706
|
exports.AccessType = AccessType;
|
|
1707
|
+
exports.AwsIdentity$ = AwsIdentity$;
|
|
1708
|
+
exports.AwsLogSourceConfiguration$ = AwsLogSourceConfiguration$;
|
|
574
1709
|
exports.AwsLogSourceName = AwsLogSourceName;
|
|
1710
|
+
exports.AwsLogSourceResource$ = AwsLogSourceResource$;
|
|
1711
|
+
exports.BadRequestException = BadRequestException;
|
|
1712
|
+
exports.BadRequestException$ = BadRequestException$;
|
|
1713
|
+
exports.ConflictException = ConflictException;
|
|
1714
|
+
exports.ConflictException$ = ConflictException$;
|
|
1715
|
+
exports.CreateAwsLogSource$ = CreateAwsLogSource$;
|
|
575
1716
|
exports.CreateAwsLogSourceCommand = CreateAwsLogSourceCommand;
|
|
1717
|
+
exports.CreateAwsLogSourceRequest$ = CreateAwsLogSourceRequest$;
|
|
1718
|
+
exports.CreateAwsLogSourceResponse$ = CreateAwsLogSourceResponse$;
|
|
1719
|
+
exports.CreateCustomLogSource$ = CreateCustomLogSource$;
|
|
576
1720
|
exports.CreateCustomLogSourceCommand = CreateCustomLogSourceCommand;
|
|
1721
|
+
exports.CreateCustomLogSourceRequest$ = CreateCustomLogSourceRequest$;
|
|
1722
|
+
exports.CreateCustomLogSourceResponse$ = CreateCustomLogSourceResponse$;
|
|
1723
|
+
exports.CreateDataLake$ = CreateDataLake$;
|
|
577
1724
|
exports.CreateDataLakeCommand = CreateDataLakeCommand;
|
|
1725
|
+
exports.CreateDataLakeExceptionSubscription$ = CreateDataLakeExceptionSubscription$;
|
|
578
1726
|
exports.CreateDataLakeExceptionSubscriptionCommand = CreateDataLakeExceptionSubscriptionCommand;
|
|
1727
|
+
exports.CreateDataLakeExceptionSubscriptionRequest$ = CreateDataLakeExceptionSubscriptionRequest$;
|
|
1728
|
+
exports.CreateDataLakeExceptionSubscriptionResponse$ = CreateDataLakeExceptionSubscriptionResponse$;
|
|
1729
|
+
exports.CreateDataLakeOrganizationConfiguration$ = CreateDataLakeOrganizationConfiguration$;
|
|
579
1730
|
exports.CreateDataLakeOrganizationConfigurationCommand = CreateDataLakeOrganizationConfigurationCommand;
|
|
1731
|
+
exports.CreateDataLakeOrganizationConfigurationRequest$ = CreateDataLakeOrganizationConfigurationRequest$;
|
|
1732
|
+
exports.CreateDataLakeOrganizationConfigurationResponse$ = CreateDataLakeOrganizationConfigurationResponse$;
|
|
1733
|
+
exports.CreateDataLakeRequest$ = CreateDataLakeRequest$;
|
|
1734
|
+
exports.CreateDataLakeResponse$ = CreateDataLakeResponse$;
|
|
1735
|
+
exports.CreateSubscriber$ = CreateSubscriber$;
|
|
580
1736
|
exports.CreateSubscriberCommand = CreateSubscriberCommand;
|
|
1737
|
+
exports.CreateSubscriberNotification$ = CreateSubscriberNotification$;
|
|
581
1738
|
exports.CreateSubscriberNotificationCommand = CreateSubscriberNotificationCommand;
|
|
1739
|
+
exports.CreateSubscriberNotificationRequest$ = CreateSubscriberNotificationRequest$;
|
|
1740
|
+
exports.CreateSubscriberNotificationResponse$ = CreateSubscriberNotificationResponse$;
|
|
1741
|
+
exports.CreateSubscriberRequest$ = CreateSubscriberRequest$;
|
|
1742
|
+
exports.CreateSubscriberResponse$ = CreateSubscriberResponse$;
|
|
1743
|
+
exports.CustomLogSourceAttributes$ = CustomLogSourceAttributes$;
|
|
1744
|
+
exports.CustomLogSourceConfiguration$ = CustomLogSourceConfiguration$;
|
|
1745
|
+
exports.CustomLogSourceCrawlerConfiguration$ = CustomLogSourceCrawlerConfiguration$;
|
|
1746
|
+
exports.CustomLogSourceProvider$ = CustomLogSourceProvider$;
|
|
1747
|
+
exports.CustomLogSourceResource$ = CustomLogSourceResource$;
|
|
1748
|
+
exports.DataLakeAutoEnableNewAccountConfiguration$ = DataLakeAutoEnableNewAccountConfiguration$;
|
|
1749
|
+
exports.DataLakeConfiguration$ = DataLakeConfiguration$;
|
|
1750
|
+
exports.DataLakeEncryptionConfiguration$ = DataLakeEncryptionConfiguration$;
|
|
1751
|
+
exports.DataLakeException$ = DataLakeException$;
|
|
1752
|
+
exports.DataLakeLifecycleConfiguration$ = DataLakeLifecycleConfiguration$;
|
|
1753
|
+
exports.DataLakeLifecycleExpiration$ = DataLakeLifecycleExpiration$;
|
|
1754
|
+
exports.DataLakeLifecycleTransition$ = DataLakeLifecycleTransition$;
|
|
1755
|
+
exports.DataLakeReplicationConfiguration$ = DataLakeReplicationConfiguration$;
|
|
1756
|
+
exports.DataLakeResource$ = DataLakeResource$;
|
|
1757
|
+
exports.DataLakeSource$ = DataLakeSource$;
|
|
1758
|
+
exports.DataLakeSourceStatus$ = DataLakeSourceStatus$;
|
|
582
1759
|
exports.DataLakeStatus = DataLakeStatus;
|
|
1760
|
+
exports.DataLakeUpdateException$ = DataLakeUpdateException$;
|
|
1761
|
+
exports.DataLakeUpdateStatus$ = DataLakeUpdateStatus$;
|
|
1762
|
+
exports.DeleteAwsLogSource$ = DeleteAwsLogSource$;
|
|
583
1763
|
exports.DeleteAwsLogSourceCommand = DeleteAwsLogSourceCommand;
|
|
1764
|
+
exports.DeleteAwsLogSourceRequest$ = DeleteAwsLogSourceRequest$;
|
|
1765
|
+
exports.DeleteAwsLogSourceResponse$ = DeleteAwsLogSourceResponse$;
|
|
1766
|
+
exports.DeleteCustomLogSource$ = DeleteCustomLogSource$;
|
|
584
1767
|
exports.DeleteCustomLogSourceCommand = DeleteCustomLogSourceCommand;
|
|
1768
|
+
exports.DeleteCustomLogSourceRequest$ = DeleteCustomLogSourceRequest$;
|
|
1769
|
+
exports.DeleteCustomLogSourceResponse$ = DeleteCustomLogSourceResponse$;
|
|
1770
|
+
exports.DeleteDataLake$ = DeleteDataLake$;
|
|
585
1771
|
exports.DeleteDataLakeCommand = DeleteDataLakeCommand;
|
|
1772
|
+
exports.DeleteDataLakeExceptionSubscription$ = DeleteDataLakeExceptionSubscription$;
|
|
586
1773
|
exports.DeleteDataLakeExceptionSubscriptionCommand = DeleteDataLakeExceptionSubscriptionCommand;
|
|
1774
|
+
exports.DeleteDataLakeExceptionSubscriptionRequest$ = DeleteDataLakeExceptionSubscriptionRequest$;
|
|
1775
|
+
exports.DeleteDataLakeExceptionSubscriptionResponse$ = DeleteDataLakeExceptionSubscriptionResponse$;
|
|
1776
|
+
exports.DeleteDataLakeOrganizationConfiguration$ = DeleteDataLakeOrganizationConfiguration$;
|
|
587
1777
|
exports.DeleteDataLakeOrganizationConfigurationCommand = DeleteDataLakeOrganizationConfigurationCommand;
|
|
1778
|
+
exports.DeleteDataLakeOrganizationConfigurationRequest$ = DeleteDataLakeOrganizationConfigurationRequest$;
|
|
1779
|
+
exports.DeleteDataLakeOrganizationConfigurationResponse$ = DeleteDataLakeOrganizationConfigurationResponse$;
|
|
1780
|
+
exports.DeleteDataLakeRequest$ = DeleteDataLakeRequest$;
|
|
1781
|
+
exports.DeleteDataLakeResponse$ = DeleteDataLakeResponse$;
|
|
1782
|
+
exports.DeleteSubscriber$ = DeleteSubscriber$;
|
|
588
1783
|
exports.DeleteSubscriberCommand = DeleteSubscriberCommand;
|
|
1784
|
+
exports.DeleteSubscriberNotification$ = DeleteSubscriberNotification$;
|
|
589
1785
|
exports.DeleteSubscriberNotificationCommand = DeleteSubscriberNotificationCommand;
|
|
1786
|
+
exports.DeleteSubscriberNotificationRequest$ = DeleteSubscriberNotificationRequest$;
|
|
1787
|
+
exports.DeleteSubscriberNotificationResponse$ = DeleteSubscriberNotificationResponse$;
|
|
1788
|
+
exports.DeleteSubscriberRequest$ = DeleteSubscriberRequest$;
|
|
1789
|
+
exports.DeleteSubscriberResponse$ = DeleteSubscriberResponse$;
|
|
1790
|
+
exports.DeregisterDataLakeDelegatedAdministrator$ = DeregisterDataLakeDelegatedAdministrator$;
|
|
590
1791
|
exports.DeregisterDataLakeDelegatedAdministratorCommand = DeregisterDataLakeDelegatedAdministratorCommand;
|
|
1792
|
+
exports.DeregisterDataLakeDelegatedAdministratorRequest$ = DeregisterDataLakeDelegatedAdministratorRequest$;
|
|
1793
|
+
exports.DeregisterDataLakeDelegatedAdministratorResponse$ = DeregisterDataLakeDelegatedAdministratorResponse$;
|
|
1794
|
+
exports.GetDataLakeExceptionSubscription$ = GetDataLakeExceptionSubscription$;
|
|
591
1795
|
exports.GetDataLakeExceptionSubscriptionCommand = GetDataLakeExceptionSubscriptionCommand;
|
|
1796
|
+
exports.GetDataLakeExceptionSubscriptionRequest$ = GetDataLakeExceptionSubscriptionRequest$;
|
|
1797
|
+
exports.GetDataLakeExceptionSubscriptionResponse$ = GetDataLakeExceptionSubscriptionResponse$;
|
|
1798
|
+
exports.GetDataLakeOrganizationConfiguration$ = GetDataLakeOrganizationConfiguration$;
|
|
592
1799
|
exports.GetDataLakeOrganizationConfigurationCommand = GetDataLakeOrganizationConfigurationCommand;
|
|
1800
|
+
exports.GetDataLakeOrganizationConfigurationRequest$ = GetDataLakeOrganizationConfigurationRequest$;
|
|
1801
|
+
exports.GetDataLakeOrganizationConfigurationResponse$ = GetDataLakeOrganizationConfigurationResponse$;
|
|
1802
|
+
exports.GetDataLakeSources$ = GetDataLakeSources$;
|
|
593
1803
|
exports.GetDataLakeSourcesCommand = GetDataLakeSourcesCommand;
|
|
1804
|
+
exports.GetDataLakeSourcesRequest$ = GetDataLakeSourcesRequest$;
|
|
1805
|
+
exports.GetDataLakeSourcesResponse$ = GetDataLakeSourcesResponse$;
|
|
1806
|
+
exports.GetSubscriber$ = GetSubscriber$;
|
|
594
1807
|
exports.GetSubscriberCommand = GetSubscriberCommand;
|
|
1808
|
+
exports.GetSubscriberRequest$ = GetSubscriberRequest$;
|
|
1809
|
+
exports.GetSubscriberResponse$ = GetSubscriberResponse$;
|
|
595
1810
|
exports.HttpMethod = HttpMethod;
|
|
1811
|
+
exports.HttpsNotificationConfiguration$ = HttpsNotificationConfiguration$;
|
|
1812
|
+
exports.InternalServerException = InternalServerException;
|
|
1813
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
1814
|
+
exports.ListDataLakeExceptions$ = ListDataLakeExceptions$;
|
|
596
1815
|
exports.ListDataLakeExceptionsCommand = ListDataLakeExceptionsCommand;
|
|
1816
|
+
exports.ListDataLakeExceptionsRequest$ = ListDataLakeExceptionsRequest$;
|
|
1817
|
+
exports.ListDataLakeExceptionsResponse$ = ListDataLakeExceptionsResponse$;
|
|
1818
|
+
exports.ListDataLakes$ = ListDataLakes$;
|
|
597
1819
|
exports.ListDataLakesCommand = ListDataLakesCommand;
|
|
1820
|
+
exports.ListDataLakesRequest$ = ListDataLakesRequest$;
|
|
1821
|
+
exports.ListDataLakesResponse$ = ListDataLakesResponse$;
|
|
1822
|
+
exports.ListLogSources$ = ListLogSources$;
|
|
598
1823
|
exports.ListLogSourcesCommand = ListLogSourcesCommand;
|
|
1824
|
+
exports.ListLogSourcesRequest$ = ListLogSourcesRequest$;
|
|
1825
|
+
exports.ListLogSourcesResponse$ = ListLogSourcesResponse$;
|
|
1826
|
+
exports.ListSubscribers$ = ListSubscribers$;
|
|
599
1827
|
exports.ListSubscribersCommand = ListSubscribersCommand;
|
|
1828
|
+
exports.ListSubscribersRequest$ = ListSubscribersRequest$;
|
|
1829
|
+
exports.ListSubscribersResponse$ = ListSubscribersResponse$;
|
|
1830
|
+
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
600
1831
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1832
|
+
exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
|
|
1833
|
+
exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
|
|
1834
|
+
exports.LogSource$ = LogSource$;
|
|
1835
|
+
exports.LogSourceResource$ = LogSourceResource$;
|
|
1836
|
+
exports.NotificationConfiguration$ = NotificationConfiguration$;
|
|
1837
|
+
exports.RegisterDataLakeDelegatedAdministrator$ = RegisterDataLakeDelegatedAdministrator$;
|
|
601
1838
|
exports.RegisterDataLakeDelegatedAdministratorCommand = RegisterDataLakeDelegatedAdministratorCommand;
|
|
1839
|
+
exports.RegisterDataLakeDelegatedAdministratorRequest$ = RegisterDataLakeDelegatedAdministratorRequest$;
|
|
1840
|
+
exports.RegisterDataLakeDelegatedAdministratorResponse$ = RegisterDataLakeDelegatedAdministratorResponse$;
|
|
1841
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1842
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
602
1843
|
exports.SecurityLake = SecurityLake;
|
|
603
1844
|
exports.SecurityLakeClient = SecurityLakeClient;
|
|
1845
|
+
exports.SecurityLakeServiceException = SecurityLakeServiceException;
|
|
1846
|
+
exports.SecurityLakeServiceException$ = SecurityLakeServiceException$;
|
|
604
1847
|
exports.SourceCollectionStatus = SourceCollectionStatus;
|
|
1848
|
+
exports.SqsNotificationConfiguration$ = SqsNotificationConfiguration$;
|
|
1849
|
+
exports.SubscriberResource$ = SubscriberResource$;
|
|
605
1850
|
exports.SubscriberStatus = SubscriberStatus;
|
|
1851
|
+
exports.Tag$ = Tag$;
|
|
1852
|
+
exports.TagResource$ = TagResource$;
|
|
606
1853
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1854
|
+
exports.TagResourceRequest$ = TagResourceRequest$;
|
|
1855
|
+
exports.TagResourceResponse$ = TagResourceResponse$;
|
|
1856
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1857
|
+
exports.ThrottlingException$ = ThrottlingException$;
|
|
1858
|
+
exports.UntagResource$ = UntagResource$;
|
|
607
1859
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1860
|
+
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
|
1861
|
+
exports.UntagResourceResponse$ = UntagResourceResponse$;
|
|
1862
|
+
exports.UpdateDataLake$ = UpdateDataLake$;
|
|
608
1863
|
exports.UpdateDataLakeCommand = UpdateDataLakeCommand;
|
|
1864
|
+
exports.UpdateDataLakeExceptionSubscription$ = UpdateDataLakeExceptionSubscription$;
|
|
609
1865
|
exports.UpdateDataLakeExceptionSubscriptionCommand = UpdateDataLakeExceptionSubscriptionCommand;
|
|
1866
|
+
exports.UpdateDataLakeExceptionSubscriptionRequest$ = UpdateDataLakeExceptionSubscriptionRequest$;
|
|
1867
|
+
exports.UpdateDataLakeExceptionSubscriptionResponse$ = UpdateDataLakeExceptionSubscriptionResponse$;
|
|
1868
|
+
exports.UpdateDataLakeRequest$ = UpdateDataLakeRequest$;
|
|
1869
|
+
exports.UpdateDataLakeResponse$ = UpdateDataLakeResponse$;
|
|
1870
|
+
exports.UpdateSubscriber$ = UpdateSubscriber$;
|
|
610
1871
|
exports.UpdateSubscriberCommand = UpdateSubscriberCommand;
|
|
1872
|
+
exports.UpdateSubscriberNotification$ = UpdateSubscriberNotification$;
|
|
611
1873
|
exports.UpdateSubscriberNotificationCommand = UpdateSubscriberNotificationCommand;
|
|
1874
|
+
exports.UpdateSubscriberNotificationRequest$ = UpdateSubscriberNotificationRequest$;
|
|
1875
|
+
exports.UpdateSubscriberNotificationResponse$ = UpdateSubscriberNotificationResponse$;
|
|
1876
|
+
exports.UpdateSubscriberRequest$ = UpdateSubscriberRequest$;
|
|
1877
|
+
exports.UpdateSubscriberResponse$ = UpdateSubscriberResponse$;
|
|
1878
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
612
1879
|
exports.paginateGetDataLakeSources = paginateGetDataLakeSources;
|
|
613
1880
|
exports.paginateListDataLakeExceptions = paginateListDataLakeExceptions;
|
|
614
1881
|
exports.paginateListLogSources = paginateListLogSources;
|