@aws-sdk/client-securitylake 3.901.0 → 3.906.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 +1810 -1988
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -1,2035 +1,1857 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
CreateDataLakeExceptionSubscriptionCommand: () => CreateDataLakeExceptionSubscriptionCommand,
|
|
33
|
-
CreateDataLakeOrganizationConfigurationCommand: () => CreateDataLakeOrganizationConfigurationCommand,
|
|
34
|
-
CreateSubscriberCommand: () => CreateSubscriberCommand,
|
|
35
|
-
CreateSubscriberNotificationCommand: () => CreateSubscriberNotificationCommand,
|
|
36
|
-
DataLakeStatus: () => DataLakeStatus,
|
|
37
|
-
DeleteAwsLogSourceCommand: () => DeleteAwsLogSourceCommand,
|
|
38
|
-
DeleteCustomLogSourceCommand: () => DeleteCustomLogSourceCommand,
|
|
39
|
-
DeleteDataLakeCommand: () => DeleteDataLakeCommand,
|
|
40
|
-
DeleteDataLakeExceptionSubscriptionCommand: () => DeleteDataLakeExceptionSubscriptionCommand,
|
|
41
|
-
DeleteDataLakeOrganizationConfigurationCommand: () => DeleteDataLakeOrganizationConfigurationCommand,
|
|
42
|
-
DeleteSubscriberCommand: () => DeleteSubscriberCommand,
|
|
43
|
-
DeleteSubscriberNotificationCommand: () => DeleteSubscriberNotificationCommand,
|
|
44
|
-
DeregisterDataLakeDelegatedAdministratorCommand: () => DeregisterDataLakeDelegatedAdministratorCommand,
|
|
45
|
-
GetDataLakeExceptionSubscriptionCommand: () => GetDataLakeExceptionSubscriptionCommand,
|
|
46
|
-
GetDataLakeOrganizationConfigurationCommand: () => GetDataLakeOrganizationConfigurationCommand,
|
|
47
|
-
GetDataLakeSourcesCommand: () => GetDataLakeSourcesCommand,
|
|
48
|
-
GetSubscriberCommand: () => GetSubscriberCommand,
|
|
49
|
-
HttpMethod: () => HttpMethod,
|
|
50
|
-
InternalServerException: () => InternalServerException,
|
|
51
|
-
ListDataLakeExceptionsCommand: () => ListDataLakeExceptionsCommand,
|
|
52
|
-
ListDataLakesCommand: () => ListDataLakesCommand,
|
|
53
|
-
ListLogSourcesCommand: () => ListLogSourcesCommand,
|
|
54
|
-
ListSubscribersCommand: () => ListSubscribersCommand,
|
|
55
|
-
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
56
|
-
LogSourceResource: () => LogSourceResource,
|
|
57
|
-
NotificationConfiguration: () => NotificationConfiguration,
|
|
58
|
-
RegisterDataLakeDelegatedAdministratorCommand: () => RegisterDataLakeDelegatedAdministratorCommand,
|
|
59
|
-
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
60
|
-
SecurityLake: () => SecurityLake,
|
|
61
|
-
SecurityLakeClient: () => SecurityLakeClient,
|
|
62
|
-
SecurityLakeServiceException: () => SecurityLakeServiceException,
|
|
63
|
-
SourceCollectionStatus: () => SourceCollectionStatus,
|
|
64
|
-
SubscriberStatus: () => SubscriberStatus,
|
|
65
|
-
TagResourceCommand: () => TagResourceCommand,
|
|
66
|
-
ThrottlingException: () => ThrottlingException,
|
|
67
|
-
UntagResourceCommand: () => UntagResourceCommand,
|
|
68
|
-
UpdateDataLakeCommand: () => UpdateDataLakeCommand,
|
|
69
|
-
UpdateDataLakeExceptionSubscriptionCommand: () => UpdateDataLakeExceptionSubscriptionCommand,
|
|
70
|
-
UpdateSubscriberCommand: () => UpdateSubscriberCommand,
|
|
71
|
-
UpdateSubscriberNotificationCommand: () => UpdateSubscriberNotificationCommand,
|
|
72
|
-
__Client: () => import_smithy_client.Client,
|
|
73
|
-
paginateGetDataLakeSources: () => paginateGetDataLakeSources,
|
|
74
|
-
paginateListDataLakeExceptions: () => paginateListDataLakeExceptions,
|
|
75
|
-
paginateListLogSources: () => paginateListLogSources,
|
|
76
|
-
paginateListSubscribers: () => paginateListSubscribers
|
|
77
|
-
});
|
|
78
|
-
module.exports = __toCommonJS(index_exports);
|
|
79
|
-
|
|
80
|
-
// src/SecurityLakeClient.ts
|
|
81
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
82
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
83
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
84
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
85
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
86
|
-
var import_core = require("@smithy/core");
|
|
87
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
88
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
89
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
90
|
-
|
|
91
|
-
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
92
|
-
|
|
93
|
-
// src/endpoint/EndpointParameters.ts
|
|
94
|
-
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
95
|
-
return Object.assign(options, {
|
|
96
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
97
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
98
|
-
defaultSigningName: "securitylake"
|
|
99
|
-
});
|
|
100
|
-
}, "resolveClientEndpointParameters");
|
|
101
|
-
var commonParams = {
|
|
102
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
103
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
104
|
-
Region: { type: "builtInParams", name: "region" },
|
|
105
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
4
|
+
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
+
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
+
var configResolver = require('@smithy/config-resolver');
|
|
8
|
+
var core = require('@smithy/core');
|
|
9
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
12
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
13
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
14
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
15
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
+
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
+
var core$1 = require('@aws-sdk/core');
|
|
19
|
+
|
|
20
|
+
const resolveClientEndpointParameters = (options) => {
|
|
21
|
+
return Object.assign(options, {
|
|
22
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
23
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
24
|
+
defaultSigningName: "securitylake",
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
const commonParams = {
|
|
28
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
29
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
30
|
+
Region: { type: "builtInParams", name: "region" },
|
|
31
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
106
32
|
};
|
|
107
33
|
|
|
108
|
-
|
|
109
|
-
|
|
34
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
37
|
+
let _credentials = runtimeConfig.credentials;
|
|
38
|
+
return {
|
|
39
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
40
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
41
|
+
if (index === -1) {
|
|
42
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
httpAuthSchemes() {
|
|
49
|
+
return _httpAuthSchemes;
|
|
50
|
+
},
|
|
51
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
52
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
53
|
+
},
|
|
54
|
+
httpAuthSchemeProvider() {
|
|
55
|
+
return _httpAuthSchemeProvider;
|
|
56
|
+
},
|
|
57
|
+
setCredentials(credentials) {
|
|
58
|
+
_credentials = credentials;
|
|
59
|
+
},
|
|
60
|
+
credentials() {
|
|
61
|
+
return _credentials;
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
66
|
+
return {
|
|
67
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
68
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
69
|
+
credentials: config.credentials(),
|
|
70
|
+
};
|
|
71
|
+
};
|
|
110
72
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
73
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
74
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
75
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
76
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
77
|
+
};
|
|
115
78
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
79
|
+
class SecurityLakeClient extends smithyClient.Client {
|
|
80
|
+
config;
|
|
81
|
+
constructor(...[configuration]) {
|
|
82
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
83
|
+
super(_config_0);
|
|
84
|
+
this.initConfig = _config_0;
|
|
85
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
86
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
87
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
88
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
89
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
90
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
91
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
|
+
this.config = _config_8;
|
|
94
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
101
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultSecurityLakeHttpAuthSchemeParametersProvider,
|
|
102
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
103
|
+
"aws.auth#sigv4": config.credentials,
|
|
104
|
+
}),
|
|
105
|
+
}));
|
|
106
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
144
107
|
}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
150
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
151
|
-
credentials: config.credentials()
|
|
152
|
-
};
|
|
153
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
154
|
-
|
|
155
|
-
// src/runtimeExtensions.ts
|
|
156
|
-
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
157
|
-
const extensionConfiguration = Object.assign(
|
|
158
|
-
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
159
|
-
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
160
|
-
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
161
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
162
|
-
);
|
|
163
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
164
|
-
return Object.assign(
|
|
165
|
-
runtimeConfig,
|
|
166
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
167
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
168
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
169
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
170
|
-
);
|
|
171
|
-
}, "resolveRuntimeExtensions");
|
|
108
|
+
destroy() {
|
|
109
|
+
super.destroy();
|
|
110
|
+
}
|
|
111
|
+
}
|
|
172
112
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
198
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
199
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
200
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
201
|
-
this.middlewareStack.use(
|
|
202
|
-
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
203
|
-
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSecurityLakeHttpAuthSchemeParametersProvider,
|
|
204
|
-
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
205
|
-
"aws.auth#sigv4": config.credentials
|
|
206
|
-
}), "identityProviderConfigProvider")
|
|
207
|
-
})
|
|
208
|
-
);
|
|
209
|
-
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
210
|
-
}
|
|
211
|
-
/**
|
|
212
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
213
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
214
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
215
|
-
*/
|
|
216
|
-
destroy() {
|
|
217
|
-
super.destroy();
|
|
218
|
-
}
|
|
113
|
+
class SecurityLakeServiceException extends smithyClient.ServiceException {
|
|
114
|
+
constructor(options) {
|
|
115
|
+
super(options);
|
|
116
|
+
Object.setPrototypeOf(this, SecurityLakeServiceException.prototype);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
class AccessDeniedException extends SecurityLakeServiceException {
|
|
121
|
+
name = "AccessDeniedException";
|
|
122
|
+
$fault = "client";
|
|
123
|
+
errorCode;
|
|
124
|
+
constructor(opts) {
|
|
125
|
+
super({
|
|
126
|
+
name: "AccessDeniedException",
|
|
127
|
+
$fault: "client",
|
|
128
|
+
...opts,
|
|
129
|
+
});
|
|
130
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
131
|
+
this.errorCode = opts.errorCode;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
const AccessType = {
|
|
135
|
+
LAKEFORMATION: "LAKEFORMATION",
|
|
136
|
+
S3: "S3",
|
|
219
137
|
};
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
// src/protocols/Aws_restJson1.ts
|
|
230
|
-
var import_core2 = require("@aws-sdk/core");
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
// src/models/SecurityLakeServiceException.ts
|
|
235
|
-
|
|
236
|
-
var SecurityLakeServiceException = class _SecurityLakeServiceException extends import_smithy_client.ServiceException {
|
|
237
|
-
static {
|
|
238
|
-
__name(this, "SecurityLakeServiceException");
|
|
239
|
-
}
|
|
240
|
-
/**
|
|
241
|
-
* @internal
|
|
242
|
-
*/
|
|
243
|
-
constructor(options) {
|
|
244
|
-
super(options);
|
|
245
|
-
Object.setPrototypeOf(this, _SecurityLakeServiceException.prototype);
|
|
246
|
-
}
|
|
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",
|
|
247
147
|
};
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
332
|
-
this.resourceName = opts.resourceName;
|
|
333
|
-
this.resourceType = opts.resourceType;
|
|
334
|
-
}
|
|
335
|
-
};
|
|
336
|
-
var InternalServerException = class _InternalServerException extends SecurityLakeServiceException {
|
|
337
|
-
static {
|
|
338
|
-
__name(this, "InternalServerException");
|
|
339
|
-
}
|
|
340
|
-
name = "InternalServerException";
|
|
341
|
-
$fault = "server";
|
|
342
|
-
$retryable = {};
|
|
343
|
-
/**
|
|
344
|
-
* @internal
|
|
345
|
-
*/
|
|
346
|
-
constructor(opts) {
|
|
347
|
-
super({
|
|
348
|
-
name: "InternalServerException",
|
|
349
|
-
$fault: "server",
|
|
350
|
-
...opts
|
|
351
|
-
});
|
|
352
|
-
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
353
|
-
}
|
|
354
|
-
};
|
|
355
|
-
var ResourceNotFoundException = class _ResourceNotFoundException extends SecurityLakeServiceException {
|
|
356
|
-
static {
|
|
357
|
-
__name(this, "ResourceNotFoundException");
|
|
358
|
-
}
|
|
359
|
-
name = "ResourceNotFoundException";
|
|
360
|
-
$fault = "client";
|
|
361
|
-
/**
|
|
362
|
-
* <p>The name of the resource that could not be found.</p>
|
|
363
|
-
* @public
|
|
364
|
-
*/
|
|
365
|
-
resourceName;
|
|
366
|
-
/**
|
|
367
|
-
* <p>The type of the resource that could not be found.</p>
|
|
368
|
-
* @public
|
|
369
|
-
*/
|
|
370
|
-
resourceType;
|
|
371
|
-
/**
|
|
372
|
-
* @internal
|
|
373
|
-
*/
|
|
374
|
-
constructor(opts) {
|
|
375
|
-
super({
|
|
376
|
-
name: "ResourceNotFoundException",
|
|
377
|
-
$fault: "client",
|
|
378
|
-
...opts
|
|
379
|
-
});
|
|
380
|
-
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
381
|
-
this.resourceName = opts.resourceName;
|
|
382
|
-
this.resourceType = opts.resourceType;
|
|
383
|
-
}
|
|
384
|
-
};
|
|
385
|
-
var ThrottlingException = class _ThrottlingException extends SecurityLakeServiceException {
|
|
386
|
-
static {
|
|
387
|
-
__name(this, "ThrottlingException");
|
|
388
|
-
}
|
|
389
|
-
name = "ThrottlingException";
|
|
390
|
-
$fault = "client";
|
|
391
|
-
$retryable = {
|
|
392
|
-
throttling: true
|
|
393
|
-
};
|
|
394
|
-
/**
|
|
395
|
-
* <p>The code for the service in Service Quotas.</p>
|
|
396
|
-
* @public
|
|
397
|
-
*/
|
|
398
|
-
serviceCode;
|
|
399
|
-
/**
|
|
400
|
-
* <p>That the rate of requests to Security Lake is exceeding the request quotas for your Amazon Web Services account.</p>
|
|
401
|
-
* @public
|
|
402
|
-
*/
|
|
403
|
-
quotaCode;
|
|
404
|
-
/**
|
|
405
|
-
* <p>Retry the request after the specified time.</p>
|
|
406
|
-
* @public
|
|
407
|
-
*/
|
|
408
|
-
retryAfterSeconds;
|
|
409
|
-
/**
|
|
410
|
-
* @internal
|
|
411
|
-
*/
|
|
412
|
-
constructor(opts) {
|
|
413
|
-
super({
|
|
414
|
-
name: "ThrottlingException",
|
|
415
|
-
$fault: "client",
|
|
416
|
-
...opts
|
|
417
|
-
});
|
|
418
|
-
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
419
|
-
this.serviceCode = opts.serviceCode;
|
|
420
|
-
this.quotaCode = opts.quotaCode;
|
|
421
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
422
|
-
}
|
|
423
|
-
};
|
|
424
|
-
var DataLakeStatus = {
|
|
425
|
-
COMPLETED: "COMPLETED",
|
|
426
|
-
FAILED: "FAILED",
|
|
427
|
-
INITIALIZED: "INITIALIZED",
|
|
428
|
-
PENDING: "PENDING"
|
|
429
|
-
};
|
|
430
|
-
var LogSourceResource;
|
|
431
|
-
((LogSourceResource3) => {
|
|
432
|
-
LogSourceResource3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
433
|
-
if (value.awsLogSource !== void 0) return visitor.awsLogSource(value.awsLogSource);
|
|
434
|
-
if (value.customLogSource !== void 0) return visitor.customLogSource(value.customLogSource);
|
|
435
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
436
|
-
}, "visit");
|
|
437
|
-
})(LogSourceResource || (LogSourceResource = {}));
|
|
438
|
-
var SubscriberStatus = {
|
|
439
|
-
ACTIVE: "ACTIVE",
|
|
440
|
-
DEACTIVATED: "DEACTIVATED",
|
|
441
|
-
PENDING: "PENDING",
|
|
442
|
-
READY: "READY"
|
|
443
|
-
};
|
|
444
|
-
var HttpMethod = {
|
|
445
|
-
POST: "POST",
|
|
446
|
-
PUT: "PUT"
|
|
447
|
-
};
|
|
448
|
-
var NotificationConfiguration;
|
|
449
|
-
((NotificationConfiguration3) => {
|
|
450
|
-
NotificationConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
451
|
-
if (value.sqsNotificationConfiguration !== void 0)
|
|
452
|
-
return visitor.sqsNotificationConfiguration(value.sqsNotificationConfiguration);
|
|
453
|
-
if (value.httpsNotificationConfiguration !== void 0)
|
|
454
|
-
return visitor.httpsNotificationConfiguration(value.httpsNotificationConfiguration);
|
|
455
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
456
|
-
}, "visit");
|
|
457
|
-
})(NotificationConfiguration || (NotificationConfiguration = {}));
|
|
458
|
-
var SourceCollectionStatus = {
|
|
459
|
-
COLLECTING: "COLLECTING",
|
|
460
|
-
MISCONFIGURED: "MISCONFIGURED",
|
|
461
|
-
NOT_COLLECTING: "NOT_COLLECTING"
|
|
148
|
+
class BadRequestException extends SecurityLakeServiceException {
|
|
149
|
+
name = "BadRequestException";
|
|
150
|
+
$fault = "client";
|
|
151
|
+
constructor(opts) {
|
|
152
|
+
super({
|
|
153
|
+
name: "BadRequestException",
|
|
154
|
+
$fault: "client",
|
|
155
|
+
...opts,
|
|
156
|
+
});
|
|
157
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
class ConflictException extends SecurityLakeServiceException {
|
|
161
|
+
name = "ConflictException";
|
|
162
|
+
$fault = "client";
|
|
163
|
+
resourceName;
|
|
164
|
+
resourceType;
|
|
165
|
+
constructor(opts) {
|
|
166
|
+
super({
|
|
167
|
+
name: "ConflictException",
|
|
168
|
+
$fault: "client",
|
|
169
|
+
...opts,
|
|
170
|
+
});
|
|
171
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
172
|
+
this.resourceName = opts.resourceName;
|
|
173
|
+
this.resourceType = opts.resourceType;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
class InternalServerException extends SecurityLakeServiceException {
|
|
177
|
+
name = "InternalServerException";
|
|
178
|
+
$fault = "server";
|
|
179
|
+
$retryable = {};
|
|
180
|
+
constructor(opts) {
|
|
181
|
+
super({
|
|
182
|
+
name: "InternalServerException",
|
|
183
|
+
$fault: "server",
|
|
184
|
+
...opts,
|
|
185
|
+
});
|
|
186
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
class ResourceNotFoundException extends SecurityLakeServiceException {
|
|
190
|
+
name = "ResourceNotFoundException";
|
|
191
|
+
$fault = "client";
|
|
192
|
+
resourceName;
|
|
193
|
+
resourceType;
|
|
194
|
+
constructor(opts) {
|
|
195
|
+
super({
|
|
196
|
+
name: "ResourceNotFoundException",
|
|
197
|
+
$fault: "client",
|
|
198
|
+
...opts,
|
|
199
|
+
});
|
|
200
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
201
|
+
this.resourceName = opts.resourceName;
|
|
202
|
+
this.resourceType = opts.resourceType;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
class ThrottlingException extends SecurityLakeServiceException {
|
|
206
|
+
name = "ThrottlingException";
|
|
207
|
+
$fault = "client";
|
|
208
|
+
$retryable = {
|
|
209
|
+
throttling: true,
|
|
210
|
+
};
|
|
211
|
+
serviceCode;
|
|
212
|
+
quotaCode;
|
|
213
|
+
retryAfterSeconds;
|
|
214
|
+
constructor(opts) {
|
|
215
|
+
super({
|
|
216
|
+
name: "ThrottlingException",
|
|
217
|
+
$fault: "client",
|
|
218
|
+
...opts,
|
|
219
|
+
});
|
|
220
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
221
|
+
this.serviceCode = opts.serviceCode;
|
|
222
|
+
this.quotaCode = opts.quotaCode;
|
|
223
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
const DataLakeStatus = {
|
|
227
|
+
COMPLETED: "COMPLETED",
|
|
228
|
+
FAILED: "FAILED",
|
|
229
|
+
INITIALIZED: "INITIALIZED",
|
|
230
|
+
PENDING: "PENDING",
|
|
462
231
|
};
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
return b.build();
|
|
479
|
-
}, "se_CreateAwsLogSourceCommand");
|
|
480
|
-
var se_CreateCustomLogSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
481
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
482
|
-
const headers = {
|
|
483
|
-
"content-type": "application/json"
|
|
484
|
-
};
|
|
485
|
-
b.bp("/v1/datalake/logsources/custom");
|
|
486
|
-
let body;
|
|
487
|
-
body = JSON.stringify(
|
|
488
|
-
(0, import_smithy_client.take)(input, {
|
|
489
|
-
configuration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "configuration"),
|
|
490
|
-
eventClasses: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "eventClasses"),
|
|
491
|
-
sourceName: [],
|
|
492
|
-
sourceVersion: []
|
|
493
|
-
})
|
|
494
|
-
);
|
|
495
|
-
b.m("POST").h(headers).b(body);
|
|
496
|
-
return b.build();
|
|
497
|
-
}, "se_CreateCustomLogSourceCommand");
|
|
498
|
-
var se_CreateDataLakeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
499
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
500
|
-
const headers = {
|
|
501
|
-
"content-type": "application/json"
|
|
502
|
-
};
|
|
503
|
-
b.bp("/v1/datalake");
|
|
504
|
-
let body;
|
|
505
|
-
body = JSON.stringify(
|
|
506
|
-
(0, import_smithy_client.take)(input, {
|
|
507
|
-
configurations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "configurations"),
|
|
508
|
-
metaStoreManagerRoleArn: [],
|
|
509
|
-
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
510
|
-
})
|
|
511
|
-
);
|
|
512
|
-
b.m("POST").h(headers).b(body);
|
|
513
|
-
return b.build();
|
|
514
|
-
}, "se_CreateDataLakeCommand");
|
|
515
|
-
var se_CreateDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
516
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
517
|
-
const headers = {
|
|
518
|
-
"content-type": "application/json"
|
|
519
|
-
};
|
|
520
|
-
b.bp("/v1/datalake/exceptions/subscription");
|
|
521
|
-
let body;
|
|
522
|
-
body = JSON.stringify(
|
|
523
|
-
(0, import_smithy_client.take)(input, {
|
|
524
|
-
exceptionTimeToLive: [],
|
|
525
|
-
notificationEndpoint: [],
|
|
526
|
-
subscriptionProtocol: []
|
|
527
|
-
})
|
|
528
|
-
);
|
|
529
|
-
b.m("POST").h(headers).b(body);
|
|
530
|
-
return b.build();
|
|
531
|
-
}, "se_CreateDataLakeExceptionSubscriptionCommand");
|
|
532
|
-
var se_CreateDataLakeOrganizationConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
533
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
534
|
-
const headers = {
|
|
535
|
-
"content-type": "application/json"
|
|
536
|
-
};
|
|
537
|
-
b.bp("/v1/datalake/organization/configuration");
|
|
538
|
-
let body;
|
|
539
|
-
body = JSON.stringify(
|
|
540
|
-
(0, import_smithy_client.take)(input, {
|
|
541
|
-
autoEnableNewAccount: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "autoEnableNewAccount")
|
|
542
|
-
})
|
|
543
|
-
);
|
|
544
|
-
b.m("POST").h(headers).b(body);
|
|
545
|
-
return b.build();
|
|
546
|
-
}, "se_CreateDataLakeOrganizationConfigurationCommand");
|
|
547
|
-
var se_CreateSubscriberCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
548
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
549
|
-
const headers = {
|
|
550
|
-
"content-type": "application/json"
|
|
551
|
-
};
|
|
552
|
-
b.bp("/v1/subscribers");
|
|
553
|
-
let body;
|
|
554
|
-
body = JSON.stringify(
|
|
555
|
-
(0, import_smithy_client.take)(input, {
|
|
556
|
-
accessTypes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "accessTypes"),
|
|
557
|
-
sources: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sources"),
|
|
558
|
-
subscriberDescription: [],
|
|
559
|
-
subscriberIdentity: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "subscriberIdentity"),
|
|
560
|
-
subscriberName: [],
|
|
561
|
-
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
562
|
-
})
|
|
563
|
-
);
|
|
564
|
-
b.m("POST").h(headers).b(body);
|
|
565
|
-
return b.build();
|
|
566
|
-
}, "se_CreateSubscriberCommand");
|
|
567
|
-
var se_CreateSubscriberNotificationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
568
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
569
|
-
const headers = {
|
|
570
|
-
"content-type": "application/json"
|
|
571
|
-
};
|
|
572
|
-
b.bp("/v1/subscribers/{subscriberId}/notification");
|
|
573
|
-
b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);
|
|
574
|
-
let body;
|
|
575
|
-
body = JSON.stringify(
|
|
576
|
-
(0, import_smithy_client.take)(input, {
|
|
577
|
-
configuration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "configuration")
|
|
578
|
-
})
|
|
579
|
-
);
|
|
580
|
-
b.m("POST").h(headers).b(body);
|
|
581
|
-
return b.build();
|
|
582
|
-
}, "se_CreateSubscriberNotificationCommand");
|
|
583
|
-
var se_DeleteAwsLogSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
584
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
585
|
-
const headers = {
|
|
586
|
-
"content-type": "application/json"
|
|
587
|
-
};
|
|
588
|
-
b.bp("/v1/datalake/logsources/aws/delete");
|
|
589
|
-
let body;
|
|
590
|
-
body = JSON.stringify(
|
|
591
|
-
(0, import_smithy_client.take)(input, {
|
|
592
|
-
sources: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sources")
|
|
593
|
-
})
|
|
594
|
-
);
|
|
595
|
-
b.m("POST").h(headers).b(body);
|
|
596
|
-
return b.build();
|
|
597
|
-
}, "se_DeleteAwsLogSourceCommand");
|
|
598
|
-
var se_DeleteCustomLogSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
599
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
600
|
-
const headers = {};
|
|
601
|
-
b.bp("/v1/datalake/logsources/custom/{sourceName}");
|
|
602
|
-
b.p("sourceName", () => input.sourceName, "{sourceName}", false);
|
|
603
|
-
const query = (0, import_smithy_client.map)({
|
|
604
|
-
[_sV]: [, input[_sV]]
|
|
605
|
-
});
|
|
606
|
-
let body;
|
|
607
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
608
|
-
return b.build();
|
|
609
|
-
}, "se_DeleteCustomLogSourceCommand");
|
|
610
|
-
var se_DeleteDataLakeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
611
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
612
|
-
const headers = {
|
|
613
|
-
"content-type": "application/json"
|
|
614
|
-
};
|
|
615
|
-
b.bp("/v1/datalake/delete");
|
|
616
|
-
let body;
|
|
617
|
-
body = JSON.stringify(
|
|
618
|
-
(0, import_smithy_client.take)(input, {
|
|
619
|
-
regions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "regions")
|
|
620
|
-
})
|
|
621
|
-
);
|
|
622
|
-
b.m("POST").h(headers).b(body);
|
|
623
|
-
return b.build();
|
|
624
|
-
}, "se_DeleteDataLakeCommand");
|
|
625
|
-
var se_DeleteDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
626
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
627
|
-
const headers = {};
|
|
628
|
-
b.bp("/v1/datalake/exceptions/subscription");
|
|
629
|
-
let body;
|
|
630
|
-
b.m("DELETE").h(headers).b(body);
|
|
631
|
-
return b.build();
|
|
632
|
-
}, "se_DeleteDataLakeExceptionSubscriptionCommand");
|
|
633
|
-
var se_DeleteDataLakeOrganizationConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
634
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
635
|
-
const headers = {
|
|
636
|
-
"content-type": "application/json"
|
|
637
|
-
};
|
|
638
|
-
b.bp("/v1/datalake/organization/configuration/delete");
|
|
639
|
-
let body;
|
|
640
|
-
body = JSON.stringify(
|
|
641
|
-
(0, import_smithy_client.take)(input, {
|
|
642
|
-
autoEnableNewAccount: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "autoEnableNewAccount")
|
|
643
|
-
})
|
|
644
|
-
);
|
|
645
|
-
b.m("POST").h(headers).b(body);
|
|
646
|
-
return b.build();
|
|
647
|
-
}, "se_DeleteDataLakeOrganizationConfigurationCommand");
|
|
648
|
-
var se_DeleteSubscriberCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
649
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
650
|
-
const headers = {};
|
|
651
|
-
b.bp("/v1/subscribers/{subscriberId}");
|
|
652
|
-
b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);
|
|
653
|
-
let body;
|
|
654
|
-
b.m("DELETE").h(headers).b(body);
|
|
655
|
-
return b.build();
|
|
656
|
-
}, "se_DeleteSubscriberCommand");
|
|
657
|
-
var se_DeleteSubscriberNotificationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
658
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
659
|
-
const headers = {};
|
|
660
|
-
b.bp("/v1/subscribers/{subscriberId}/notification");
|
|
661
|
-
b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);
|
|
662
|
-
let body;
|
|
663
|
-
b.m("DELETE").h(headers).b(body);
|
|
664
|
-
return b.build();
|
|
665
|
-
}, "se_DeleteSubscriberNotificationCommand");
|
|
666
|
-
var se_DeregisterDataLakeDelegatedAdministratorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
667
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
668
|
-
const headers = {};
|
|
669
|
-
b.bp("/v1/datalake/delegate");
|
|
670
|
-
let body;
|
|
671
|
-
b.m("DELETE").h(headers).b(body);
|
|
672
|
-
return b.build();
|
|
673
|
-
}, "se_DeregisterDataLakeDelegatedAdministratorCommand");
|
|
674
|
-
var se_GetDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
675
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
676
|
-
const headers = {};
|
|
677
|
-
b.bp("/v1/datalake/exceptions/subscription");
|
|
678
|
-
let body;
|
|
679
|
-
b.m("GET").h(headers).b(body);
|
|
680
|
-
return b.build();
|
|
681
|
-
}, "se_GetDataLakeExceptionSubscriptionCommand");
|
|
682
|
-
var se_GetDataLakeOrganizationConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
683
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
684
|
-
const headers = {};
|
|
685
|
-
b.bp("/v1/datalake/organization/configuration");
|
|
686
|
-
let body;
|
|
687
|
-
b.m("GET").h(headers).b(body);
|
|
688
|
-
return b.build();
|
|
689
|
-
}, "se_GetDataLakeOrganizationConfigurationCommand");
|
|
690
|
-
var se_GetDataLakeSourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
691
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
692
|
-
const headers = {
|
|
693
|
-
"content-type": "application/json"
|
|
694
|
-
};
|
|
695
|
-
b.bp("/v1/datalake/sources");
|
|
696
|
-
let body;
|
|
697
|
-
body = JSON.stringify(
|
|
698
|
-
(0, import_smithy_client.take)(input, {
|
|
699
|
-
accounts: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "accounts"),
|
|
700
|
-
maxResults: [],
|
|
701
|
-
nextToken: []
|
|
702
|
-
})
|
|
703
|
-
);
|
|
704
|
-
b.m("POST").h(headers).b(body);
|
|
705
|
-
return b.build();
|
|
706
|
-
}, "se_GetDataLakeSourcesCommand");
|
|
707
|
-
var se_GetSubscriberCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
708
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
709
|
-
const headers = {};
|
|
710
|
-
b.bp("/v1/subscribers/{subscriberId}");
|
|
711
|
-
b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);
|
|
712
|
-
let body;
|
|
713
|
-
b.m("GET").h(headers).b(body);
|
|
714
|
-
return b.build();
|
|
715
|
-
}, "se_GetSubscriberCommand");
|
|
716
|
-
var se_ListDataLakeExceptionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
717
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
718
|
-
const headers = {
|
|
719
|
-
"content-type": "application/json"
|
|
720
|
-
};
|
|
721
|
-
b.bp("/v1/datalake/exceptions");
|
|
722
|
-
let body;
|
|
723
|
-
body = JSON.stringify(
|
|
724
|
-
(0, import_smithy_client.take)(input, {
|
|
725
|
-
maxResults: [],
|
|
726
|
-
nextToken: [],
|
|
727
|
-
regions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "regions")
|
|
728
|
-
})
|
|
729
|
-
);
|
|
730
|
-
b.m("POST").h(headers).b(body);
|
|
731
|
-
return b.build();
|
|
732
|
-
}, "se_ListDataLakeExceptionsCommand");
|
|
733
|
-
var se_ListDataLakesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
734
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
735
|
-
const headers = {};
|
|
736
|
-
b.bp("/v1/datalakes");
|
|
737
|
-
const query = (0, import_smithy_client.map)({
|
|
738
|
-
[_r]: [() => input.regions !== void 0, () => input[_r] || []]
|
|
739
|
-
});
|
|
740
|
-
let body;
|
|
741
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
742
|
-
return b.build();
|
|
743
|
-
}, "se_ListDataLakesCommand");
|
|
744
|
-
var se_ListLogSourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
745
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
746
|
-
const headers = {
|
|
747
|
-
"content-type": "application/json"
|
|
748
|
-
};
|
|
749
|
-
b.bp("/v1/datalake/logsources/list");
|
|
750
|
-
let body;
|
|
751
|
-
body = JSON.stringify(
|
|
752
|
-
(0, import_smithy_client.take)(input, {
|
|
753
|
-
accounts: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "accounts"),
|
|
754
|
-
maxResults: [],
|
|
755
|
-
nextToken: [],
|
|
756
|
-
regions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "regions"),
|
|
757
|
-
sources: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sources")
|
|
758
|
-
})
|
|
759
|
-
);
|
|
760
|
-
b.m("POST").h(headers).b(body);
|
|
761
|
-
return b.build();
|
|
762
|
-
}, "se_ListLogSourcesCommand");
|
|
763
|
-
var se_ListSubscribersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
764
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
765
|
-
const headers = {};
|
|
766
|
-
b.bp("/v1/subscribers");
|
|
767
|
-
const query = (0, import_smithy_client.map)({
|
|
768
|
-
[_nT]: [, input[_nT]],
|
|
769
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
770
|
-
});
|
|
771
|
-
let body;
|
|
772
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
773
|
-
return b.build();
|
|
774
|
-
}, "se_ListSubscribersCommand");
|
|
775
|
-
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
776
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
777
|
-
const headers = {};
|
|
778
|
-
b.bp("/v1/tags/{resourceArn}");
|
|
779
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
780
|
-
let body;
|
|
781
|
-
b.m("GET").h(headers).b(body);
|
|
782
|
-
return b.build();
|
|
783
|
-
}, "se_ListTagsForResourceCommand");
|
|
784
|
-
var se_RegisterDataLakeDelegatedAdministratorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
785
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
786
|
-
const headers = {
|
|
787
|
-
"content-type": "application/json"
|
|
788
|
-
};
|
|
789
|
-
b.bp("/v1/datalake/delegate");
|
|
790
|
-
let body;
|
|
791
|
-
body = JSON.stringify(
|
|
792
|
-
(0, import_smithy_client.take)(input, {
|
|
793
|
-
accountId: []
|
|
794
|
-
})
|
|
795
|
-
);
|
|
796
|
-
b.m("POST").h(headers).b(body);
|
|
797
|
-
return b.build();
|
|
798
|
-
}, "se_RegisterDataLakeDelegatedAdministratorCommand");
|
|
799
|
-
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
800
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
801
|
-
const headers = {
|
|
802
|
-
"content-type": "application/json"
|
|
803
|
-
};
|
|
804
|
-
b.bp("/v1/tags/{resourceArn}");
|
|
805
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
806
|
-
let body;
|
|
807
|
-
body = JSON.stringify(
|
|
808
|
-
(0, import_smithy_client.take)(input, {
|
|
809
|
-
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
810
|
-
})
|
|
811
|
-
);
|
|
812
|
-
b.m("POST").h(headers).b(body);
|
|
813
|
-
return b.build();
|
|
814
|
-
}, "se_TagResourceCommand");
|
|
815
|
-
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
816
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
817
|
-
const headers = {};
|
|
818
|
-
b.bp("/v1/tags/{resourceArn}");
|
|
819
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
820
|
-
const query = (0, import_smithy_client.map)({
|
|
821
|
-
[_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]
|
|
822
|
-
});
|
|
823
|
-
let body;
|
|
824
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
825
|
-
return b.build();
|
|
826
|
-
}, "se_UntagResourceCommand");
|
|
827
|
-
var se_UpdateDataLakeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
828
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
829
|
-
const headers = {
|
|
830
|
-
"content-type": "application/json"
|
|
831
|
-
};
|
|
832
|
-
b.bp("/v1/datalake");
|
|
833
|
-
let body;
|
|
834
|
-
body = JSON.stringify(
|
|
835
|
-
(0, import_smithy_client.take)(input, {
|
|
836
|
-
configurations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "configurations"),
|
|
837
|
-
metaStoreManagerRoleArn: []
|
|
838
|
-
})
|
|
839
|
-
);
|
|
840
|
-
b.m("PUT").h(headers).b(body);
|
|
841
|
-
return b.build();
|
|
842
|
-
}, "se_UpdateDataLakeCommand");
|
|
843
|
-
var se_UpdateDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
844
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
845
|
-
const headers = {
|
|
846
|
-
"content-type": "application/json"
|
|
847
|
-
};
|
|
848
|
-
b.bp("/v1/datalake/exceptions/subscription");
|
|
849
|
-
let body;
|
|
850
|
-
body = JSON.stringify(
|
|
851
|
-
(0, import_smithy_client.take)(input, {
|
|
852
|
-
exceptionTimeToLive: [],
|
|
853
|
-
notificationEndpoint: [],
|
|
854
|
-
subscriptionProtocol: []
|
|
855
|
-
})
|
|
856
|
-
);
|
|
857
|
-
b.m("PUT").h(headers).b(body);
|
|
858
|
-
return b.build();
|
|
859
|
-
}, "se_UpdateDataLakeExceptionSubscriptionCommand");
|
|
860
|
-
var se_UpdateSubscriberCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
861
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
862
|
-
const headers = {
|
|
863
|
-
"content-type": "application/json"
|
|
864
|
-
};
|
|
865
|
-
b.bp("/v1/subscribers/{subscriberId}");
|
|
866
|
-
b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);
|
|
867
|
-
let body;
|
|
868
|
-
body = JSON.stringify(
|
|
869
|
-
(0, import_smithy_client.take)(input, {
|
|
870
|
-
sources: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sources"),
|
|
871
|
-
subscriberDescription: [],
|
|
872
|
-
subscriberIdentity: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "subscriberIdentity"),
|
|
873
|
-
subscriberName: []
|
|
874
|
-
})
|
|
875
|
-
);
|
|
876
|
-
b.m("PUT").h(headers).b(body);
|
|
877
|
-
return b.build();
|
|
878
|
-
}, "se_UpdateSubscriberCommand");
|
|
879
|
-
var se_UpdateSubscriberNotificationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
880
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
881
|
-
const headers = {
|
|
882
|
-
"content-type": "application/json"
|
|
883
|
-
};
|
|
884
|
-
b.bp("/v1/subscribers/{subscriberId}/notification");
|
|
885
|
-
b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);
|
|
886
|
-
let body;
|
|
887
|
-
body = JSON.stringify(
|
|
888
|
-
(0, import_smithy_client.take)(input, {
|
|
889
|
-
configuration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "configuration")
|
|
890
|
-
})
|
|
891
|
-
);
|
|
892
|
-
b.m("PUT").h(headers).b(body);
|
|
893
|
-
return b.build();
|
|
894
|
-
}, "se_UpdateSubscriberNotificationCommand");
|
|
895
|
-
var de_CreateAwsLogSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
896
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
897
|
-
return de_CommandError(output, context);
|
|
898
|
-
}
|
|
899
|
-
const contents = (0, import_smithy_client.map)({
|
|
900
|
-
$metadata: deserializeMetadata(output)
|
|
901
|
-
});
|
|
902
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
903
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
904
|
-
failed: import_smithy_client._json
|
|
905
|
-
});
|
|
906
|
-
Object.assign(contents, doc);
|
|
907
|
-
return contents;
|
|
908
|
-
}, "de_CreateAwsLogSourceCommand");
|
|
909
|
-
var de_CreateCustomLogSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
910
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
911
|
-
return de_CommandError(output, context);
|
|
912
|
-
}
|
|
913
|
-
const contents = (0, import_smithy_client.map)({
|
|
914
|
-
$metadata: deserializeMetadata(output)
|
|
915
|
-
});
|
|
916
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
917
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
918
|
-
source: import_smithy_client._json
|
|
919
|
-
});
|
|
920
|
-
Object.assign(contents, doc);
|
|
921
|
-
return contents;
|
|
922
|
-
}, "de_CreateCustomLogSourceCommand");
|
|
923
|
-
var de_CreateDataLakeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
924
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
925
|
-
return de_CommandError(output, context);
|
|
926
|
-
}
|
|
927
|
-
const contents = (0, import_smithy_client.map)({
|
|
928
|
-
$metadata: deserializeMetadata(output)
|
|
929
|
-
});
|
|
930
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
931
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
932
|
-
dataLakes: import_smithy_client._json
|
|
933
|
-
});
|
|
934
|
-
Object.assign(contents, doc);
|
|
935
|
-
return contents;
|
|
936
|
-
}, "de_CreateDataLakeCommand");
|
|
937
|
-
var de_CreateDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
938
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
939
|
-
return de_CommandError(output, context);
|
|
940
|
-
}
|
|
941
|
-
const contents = (0, import_smithy_client.map)({
|
|
942
|
-
$metadata: deserializeMetadata(output)
|
|
943
|
-
});
|
|
944
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
945
|
-
return contents;
|
|
946
|
-
}, "de_CreateDataLakeExceptionSubscriptionCommand");
|
|
947
|
-
var de_CreateDataLakeOrganizationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
948
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
949
|
-
return de_CommandError(output, context);
|
|
950
|
-
}
|
|
951
|
-
const contents = (0, import_smithy_client.map)({
|
|
952
|
-
$metadata: deserializeMetadata(output)
|
|
953
|
-
});
|
|
954
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
955
|
-
return contents;
|
|
956
|
-
}, "de_CreateDataLakeOrganizationConfigurationCommand");
|
|
957
|
-
var de_CreateSubscriberCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
958
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
959
|
-
return de_CommandError(output, context);
|
|
960
|
-
}
|
|
961
|
-
const contents = (0, import_smithy_client.map)({
|
|
962
|
-
$metadata: deserializeMetadata(output)
|
|
963
|
-
});
|
|
964
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
965
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
966
|
-
subscriber: /* @__PURE__ */ __name((_) => de_SubscriberResource(_, context), "subscriber")
|
|
967
|
-
});
|
|
968
|
-
Object.assign(contents, doc);
|
|
969
|
-
return contents;
|
|
970
|
-
}, "de_CreateSubscriberCommand");
|
|
971
|
-
var de_CreateSubscriberNotificationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
972
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
973
|
-
return de_CommandError(output, context);
|
|
974
|
-
}
|
|
975
|
-
const contents = (0, import_smithy_client.map)({
|
|
976
|
-
$metadata: deserializeMetadata(output)
|
|
977
|
-
});
|
|
978
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
979
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
980
|
-
subscriberEndpoint: import_smithy_client.expectString
|
|
981
|
-
});
|
|
982
|
-
Object.assign(contents, doc);
|
|
983
|
-
return contents;
|
|
984
|
-
}, "de_CreateSubscriberNotificationCommand");
|
|
985
|
-
var de_DeleteAwsLogSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
986
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
987
|
-
return de_CommandError(output, context);
|
|
988
|
-
}
|
|
989
|
-
const contents = (0, import_smithy_client.map)({
|
|
990
|
-
$metadata: deserializeMetadata(output)
|
|
991
|
-
});
|
|
992
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
993
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
994
|
-
failed: import_smithy_client._json
|
|
995
|
-
});
|
|
996
|
-
Object.assign(contents, doc);
|
|
997
|
-
return contents;
|
|
998
|
-
}, "de_DeleteAwsLogSourceCommand");
|
|
999
|
-
var de_DeleteCustomLogSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1000
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1001
|
-
return de_CommandError(output, context);
|
|
1002
|
-
}
|
|
1003
|
-
const contents = (0, import_smithy_client.map)({
|
|
1004
|
-
$metadata: deserializeMetadata(output)
|
|
1005
|
-
});
|
|
1006
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1007
|
-
return contents;
|
|
1008
|
-
}, "de_DeleteCustomLogSourceCommand");
|
|
1009
|
-
var de_DeleteDataLakeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1010
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1011
|
-
return de_CommandError(output, context);
|
|
1012
|
-
}
|
|
1013
|
-
const contents = (0, import_smithy_client.map)({
|
|
1014
|
-
$metadata: deserializeMetadata(output)
|
|
1015
|
-
});
|
|
1016
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1017
|
-
return contents;
|
|
1018
|
-
}, "de_DeleteDataLakeCommand");
|
|
1019
|
-
var de_DeleteDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1020
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1021
|
-
return de_CommandError(output, context);
|
|
1022
|
-
}
|
|
1023
|
-
const contents = (0, import_smithy_client.map)({
|
|
1024
|
-
$metadata: deserializeMetadata(output)
|
|
1025
|
-
});
|
|
1026
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1027
|
-
return contents;
|
|
1028
|
-
}, "de_DeleteDataLakeExceptionSubscriptionCommand");
|
|
1029
|
-
var de_DeleteDataLakeOrganizationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1030
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1031
|
-
return de_CommandError(output, context);
|
|
1032
|
-
}
|
|
1033
|
-
const contents = (0, import_smithy_client.map)({
|
|
1034
|
-
$metadata: deserializeMetadata(output)
|
|
1035
|
-
});
|
|
1036
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1037
|
-
return contents;
|
|
1038
|
-
}, "de_DeleteDataLakeOrganizationConfigurationCommand");
|
|
1039
|
-
var de_DeleteSubscriberCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1040
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1041
|
-
return de_CommandError(output, context);
|
|
1042
|
-
}
|
|
1043
|
-
const contents = (0, import_smithy_client.map)({
|
|
1044
|
-
$metadata: deserializeMetadata(output)
|
|
1045
|
-
});
|
|
1046
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1047
|
-
return contents;
|
|
1048
|
-
}, "de_DeleteSubscriberCommand");
|
|
1049
|
-
var de_DeleteSubscriberNotificationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1050
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1051
|
-
return de_CommandError(output, context);
|
|
1052
|
-
}
|
|
1053
|
-
const contents = (0, import_smithy_client.map)({
|
|
1054
|
-
$metadata: deserializeMetadata(output)
|
|
1055
|
-
});
|
|
1056
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1057
|
-
return contents;
|
|
1058
|
-
}, "de_DeleteSubscriberNotificationCommand");
|
|
1059
|
-
var de_DeregisterDataLakeDelegatedAdministratorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1060
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1061
|
-
return de_CommandError(output, context);
|
|
1062
|
-
}
|
|
1063
|
-
const contents = (0, import_smithy_client.map)({
|
|
1064
|
-
$metadata: deserializeMetadata(output)
|
|
1065
|
-
});
|
|
1066
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1067
|
-
return contents;
|
|
1068
|
-
}, "de_DeregisterDataLakeDelegatedAdministratorCommand");
|
|
1069
|
-
var de_GetDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1070
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1071
|
-
return de_CommandError(output, context);
|
|
1072
|
-
}
|
|
1073
|
-
const contents = (0, import_smithy_client.map)({
|
|
1074
|
-
$metadata: deserializeMetadata(output)
|
|
1075
|
-
});
|
|
1076
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1077
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1078
|
-
exceptionTimeToLive: import_smithy_client.expectLong,
|
|
1079
|
-
notificationEndpoint: import_smithy_client.expectString,
|
|
1080
|
-
subscriptionProtocol: import_smithy_client.expectString
|
|
1081
|
-
});
|
|
1082
|
-
Object.assign(contents, doc);
|
|
1083
|
-
return contents;
|
|
1084
|
-
}, "de_GetDataLakeExceptionSubscriptionCommand");
|
|
1085
|
-
var de_GetDataLakeOrganizationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1086
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1087
|
-
return de_CommandError(output, context);
|
|
1088
|
-
}
|
|
1089
|
-
const contents = (0, import_smithy_client.map)({
|
|
1090
|
-
$metadata: deserializeMetadata(output)
|
|
1091
|
-
});
|
|
1092
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1093
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1094
|
-
autoEnableNewAccount: import_smithy_client._json
|
|
1095
|
-
});
|
|
1096
|
-
Object.assign(contents, doc);
|
|
1097
|
-
return contents;
|
|
1098
|
-
}, "de_GetDataLakeOrganizationConfigurationCommand");
|
|
1099
|
-
var de_GetDataLakeSourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1100
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1101
|
-
return de_CommandError(output, context);
|
|
1102
|
-
}
|
|
1103
|
-
const contents = (0, import_smithy_client.map)({
|
|
1104
|
-
$metadata: deserializeMetadata(output)
|
|
1105
|
-
});
|
|
1106
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1107
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1108
|
-
dataLakeArn: import_smithy_client.expectString,
|
|
1109
|
-
dataLakeSources: import_smithy_client._json,
|
|
1110
|
-
nextToken: import_smithy_client.expectString
|
|
1111
|
-
});
|
|
1112
|
-
Object.assign(contents, doc);
|
|
1113
|
-
return contents;
|
|
1114
|
-
}, "de_GetDataLakeSourcesCommand");
|
|
1115
|
-
var de_GetSubscriberCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1116
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1117
|
-
return de_CommandError(output, context);
|
|
1118
|
-
}
|
|
1119
|
-
const contents = (0, import_smithy_client.map)({
|
|
1120
|
-
$metadata: deserializeMetadata(output)
|
|
1121
|
-
});
|
|
1122
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1123
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1124
|
-
subscriber: /* @__PURE__ */ __name((_) => de_SubscriberResource(_, context), "subscriber")
|
|
1125
|
-
});
|
|
1126
|
-
Object.assign(contents, doc);
|
|
1127
|
-
return contents;
|
|
1128
|
-
}, "de_GetSubscriberCommand");
|
|
1129
|
-
var de_ListDataLakeExceptionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1130
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1131
|
-
return de_CommandError(output, context);
|
|
1132
|
-
}
|
|
1133
|
-
const contents = (0, import_smithy_client.map)({
|
|
1134
|
-
$metadata: deserializeMetadata(output)
|
|
1135
|
-
});
|
|
1136
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1137
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1138
|
-
exceptions: /* @__PURE__ */ __name((_) => de_DataLakeExceptionList(_, context), "exceptions"),
|
|
1139
|
-
nextToken: import_smithy_client.expectString
|
|
1140
|
-
});
|
|
1141
|
-
Object.assign(contents, doc);
|
|
1142
|
-
return contents;
|
|
1143
|
-
}, "de_ListDataLakeExceptionsCommand");
|
|
1144
|
-
var de_ListDataLakesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1145
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1146
|
-
return de_CommandError(output, context);
|
|
1147
|
-
}
|
|
1148
|
-
const contents = (0, import_smithy_client.map)({
|
|
1149
|
-
$metadata: deserializeMetadata(output)
|
|
1150
|
-
});
|
|
1151
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1152
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1153
|
-
dataLakes: import_smithy_client._json
|
|
1154
|
-
});
|
|
1155
|
-
Object.assign(contents, doc);
|
|
1156
|
-
return contents;
|
|
1157
|
-
}, "de_ListDataLakesCommand");
|
|
1158
|
-
var de_ListLogSourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1159
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1160
|
-
return de_CommandError(output, context);
|
|
1161
|
-
}
|
|
1162
|
-
const contents = (0, import_smithy_client.map)({
|
|
1163
|
-
$metadata: deserializeMetadata(output)
|
|
1164
|
-
});
|
|
1165
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1166
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1167
|
-
nextToken: import_smithy_client.expectString,
|
|
1168
|
-
sources: import_smithy_client._json
|
|
1169
|
-
});
|
|
1170
|
-
Object.assign(contents, doc);
|
|
1171
|
-
return contents;
|
|
1172
|
-
}, "de_ListLogSourcesCommand");
|
|
1173
|
-
var de_ListSubscribersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1174
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1175
|
-
return de_CommandError(output, context);
|
|
1176
|
-
}
|
|
1177
|
-
const contents = (0, import_smithy_client.map)({
|
|
1178
|
-
$metadata: deserializeMetadata(output)
|
|
1179
|
-
});
|
|
1180
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1181
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1182
|
-
nextToken: import_smithy_client.expectString,
|
|
1183
|
-
subscribers: /* @__PURE__ */ __name((_) => de_SubscriberResourceList(_, context), "subscribers")
|
|
1184
|
-
});
|
|
1185
|
-
Object.assign(contents, doc);
|
|
1186
|
-
return contents;
|
|
1187
|
-
}, "de_ListSubscribersCommand");
|
|
1188
|
-
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1189
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1190
|
-
return de_CommandError(output, context);
|
|
1191
|
-
}
|
|
1192
|
-
const contents = (0, import_smithy_client.map)({
|
|
1193
|
-
$metadata: deserializeMetadata(output)
|
|
1194
|
-
});
|
|
1195
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1196
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1197
|
-
tags: import_smithy_client._json
|
|
1198
|
-
});
|
|
1199
|
-
Object.assign(contents, doc);
|
|
1200
|
-
return contents;
|
|
1201
|
-
}, "de_ListTagsForResourceCommand");
|
|
1202
|
-
var de_RegisterDataLakeDelegatedAdministratorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1203
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1204
|
-
return de_CommandError(output, context);
|
|
1205
|
-
}
|
|
1206
|
-
const contents = (0, import_smithy_client.map)({
|
|
1207
|
-
$metadata: deserializeMetadata(output)
|
|
1208
|
-
});
|
|
1209
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1210
|
-
return contents;
|
|
1211
|
-
}, "de_RegisterDataLakeDelegatedAdministratorCommand");
|
|
1212
|
-
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1213
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1214
|
-
return de_CommandError(output, context);
|
|
1215
|
-
}
|
|
1216
|
-
const contents = (0, import_smithy_client.map)({
|
|
1217
|
-
$metadata: deserializeMetadata(output)
|
|
1218
|
-
});
|
|
1219
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1220
|
-
return contents;
|
|
1221
|
-
}, "de_TagResourceCommand");
|
|
1222
|
-
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1223
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1224
|
-
return de_CommandError(output, context);
|
|
1225
|
-
}
|
|
1226
|
-
const contents = (0, import_smithy_client.map)({
|
|
1227
|
-
$metadata: deserializeMetadata(output)
|
|
1228
|
-
});
|
|
1229
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1230
|
-
return contents;
|
|
1231
|
-
}, "de_UntagResourceCommand");
|
|
1232
|
-
var de_UpdateDataLakeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1233
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1234
|
-
return de_CommandError(output, context);
|
|
1235
|
-
}
|
|
1236
|
-
const contents = (0, import_smithy_client.map)({
|
|
1237
|
-
$metadata: deserializeMetadata(output)
|
|
1238
|
-
});
|
|
1239
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1240
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1241
|
-
dataLakes: import_smithy_client._json
|
|
1242
|
-
});
|
|
1243
|
-
Object.assign(contents, doc);
|
|
1244
|
-
return contents;
|
|
1245
|
-
}, "de_UpdateDataLakeCommand");
|
|
1246
|
-
var de_UpdateDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1247
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1248
|
-
return de_CommandError(output, context);
|
|
1249
|
-
}
|
|
1250
|
-
const contents = (0, import_smithy_client.map)({
|
|
1251
|
-
$metadata: deserializeMetadata(output)
|
|
1252
|
-
});
|
|
1253
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1254
|
-
return contents;
|
|
1255
|
-
}, "de_UpdateDataLakeExceptionSubscriptionCommand");
|
|
1256
|
-
var de_UpdateSubscriberCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1257
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1258
|
-
return de_CommandError(output, context);
|
|
1259
|
-
}
|
|
1260
|
-
const contents = (0, import_smithy_client.map)({
|
|
1261
|
-
$metadata: deserializeMetadata(output)
|
|
1262
|
-
});
|
|
1263
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1264
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1265
|
-
subscriber: /* @__PURE__ */ __name((_) => de_SubscriberResource(_, context), "subscriber")
|
|
1266
|
-
});
|
|
1267
|
-
Object.assign(contents, doc);
|
|
1268
|
-
return contents;
|
|
1269
|
-
}, "de_UpdateSubscriberCommand");
|
|
1270
|
-
var de_UpdateSubscriberNotificationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1271
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1272
|
-
return de_CommandError(output, context);
|
|
1273
|
-
}
|
|
1274
|
-
const contents = (0, import_smithy_client.map)({
|
|
1275
|
-
$metadata: deserializeMetadata(output)
|
|
1276
|
-
});
|
|
1277
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1278
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1279
|
-
subscriberEndpoint: import_smithy_client.expectString
|
|
1280
|
-
});
|
|
1281
|
-
Object.assign(contents, doc);
|
|
1282
|
-
return contents;
|
|
1283
|
-
}, "de_UpdateSubscriberNotificationCommand");
|
|
1284
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1285
|
-
const parsedOutput = {
|
|
1286
|
-
...output,
|
|
1287
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1288
|
-
};
|
|
1289
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1290
|
-
switch (errorCode) {
|
|
1291
|
-
case "AccessDeniedException":
|
|
1292
|
-
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
1293
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1294
|
-
case "BadRequestException":
|
|
1295
|
-
case "com.amazonaws.securitylake#BadRequestException":
|
|
1296
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1297
|
-
case "ConflictException":
|
|
1298
|
-
case "com.amazonaws.securitylake#ConflictException":
|
|
1299
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1300
|
-
case "InternalServerException":
|
|
1301
|
-
case "com.amazonaws.securitylake#InternalServerException":
|
|
1302
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1303
|
-
case "ResourceNotFoundException":
|
|
1304
|
-
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
1305
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1306
|
-
case "ThrottlingException":
|
|
1307
|
-
case "com.amazonaws.securitylake#ThrottlingException":
|
|
1308
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1309
|
-
default:
|
|
1310
|
-
const parsedBody = parsedOutput.body;
|
|
1311
|
-
return throwDefaultError({
|
|
1312
|
-
output,
|
|
1313
|
-
parsedBody,
|
|
1314
|
-
errorCode
|
|
1315
|
-
});
|
|
1316
|
-
}
|
|
1317
|
-
}, "de_CommandError");
|
|
1318
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(SecurityLakeServiceException);
|
|
1319
|
-
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1320
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1321
|
-
const data = parsedOutput.body;
|
|
1322
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1323
|
-
errorCode: import_smithy_client.expectString,
|
|
1324
|
-
message: import_smithy_client.expectString
|
|
1325
|
-
});
|
|
1326
|
-
Object.assign(contents, doc);
|
|
1327
|
-
const exception = new AccessDeniedException({
|
|
1328
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1329
|
-
...contents
|
|
1330
|
-
});
|
|
1331
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1332
|
-
}, "de_AccessDeniedExceptionRes");
|
|
1333
|
-
var de_BadRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1334
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1335
|
-
const data = parsedOutput.body;
|
|
1336
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1337
|
-
message: import_smithy_client.expectString
|
|
1338
|
-
});
|
|
1339
|
-
Object.assign(contents, doc);
|
|
1340
|
-
const exception = new BadRequestException({
|
|
1341
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1342
|
-
...contents
|
|
1343
|
-
});
|
|
1344
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1345
|
-
}, "de_BadRequestExceptionRes");
|
|
1346
|
-
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1347
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1348
|
-
const data = parsedOutput.body;
|
|
1349
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1350
|
-
message: import_smithy_client.expectString,
|
|
1351
|
-
resourceName: import_smithy_client.expectString,
|
|
1352
|
-
resourceType: import_smithy_client.expectString
|
|
1353
|
-
});
|
|
1354
|
-
Object.assign(contents, doc);
|
|
1355
|
-
const exception = new ConflictException({
|
|
1356
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1357
|
-
...contents
|
|
1358
|
-
});
|
|
1359
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1360
|
-
}, "de_ConflictExceptionRes");
|
|
1361
|
-
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1362
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1363
|
-
const data = parsedOutput.body;
|
|
1364
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1365
|
-
message: import_smithy_client.expectString
|
|
1366
|
-
});
|
|
1367
|
-
Object.assign(contents, doc);
|
|
1368
|
-
const exception = new InternalServerException({
|
|
1369
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1370
|
-
...contents
|
|
1371
|
-
});
|
|
1372
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1373
|
-
}, "de_InternalServerExceptionRes");
|
|
1374
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1375
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1376
|
-
const data = parsedOutput.body;
|
|
1377
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1378
|
-
message: import_smithy_client.expectString,
|
|
1379
|
-
resourceName: import_smithy_client.expectString,
|
|
1380
|
-
resourceType: import_smithy_client.expectString
|
|
1381
|
-
});
|
|
1382
|
-
Object.assign(contents, doc);
|
|
1383
|
-
const exception = new ResourceNotFoundException({
|
|
1384
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1385
|
-
...contents
|
|
1386
|
-
});
|
|
1387
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1388
|
-
}, "de_ResourceNotFoundExceptionRes");
|
|
1389
|
-
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1390
|
-
const contents = (0, import_smithy_client.map)({
|
|
1391
|
-
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, import_smithy_client.strictParseInt32)(parsedOutput.headers[_ra])]
|
|
1392
|
-
});
|
|
1393
|
-
const data = parsedOutput.body;
|
|
1394
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1395
|
-
message: import_smithy_client.expectString,
|
|
1396
|
-
quotaCode: import_smithy_client.expectString,
|
|
1397
|
-
serviceCode: import_smithy_client.expectString
|
|
1398
|
-
});
|
|
1399
|
-
Object.assign(contents, doc);
|
|
1400
|
-
const exception = new ThrottlingException({
|
|
1401
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1402
|
-
...contents
|
|
1403
|
-
});
|
|
1404
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1405
|
-
}, "de_ThrottlingExceptionRes");
|
|
1406
|
-
var de_DataLakeException = /* @__PURE__ */ __name((output, context) => {
|
|
1407
|
-
return (0, import_smithy_client.take)(output, {
|
|
1408
|
-
exception: import_smithy_client.expectString,
|
|
1409
|
-
region: import_smithy_client.expectString,
|
|
1410
|
-
remediation: import_smithy_client.expectString,
|
|
1411
|
-
timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "timestamp")
|
|
1412
|
-
});
|
|
1413
|
-
}, "de_DataLakeException");
|
|
1414
|
-
var de_DataLakeExceptionList = /* @__PURE__ */ __name((output, context) => {
|
|
1415
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1416
|
-
return de_DataLakeException(entry, context);
|
|
1417
|
-
});
|
|
1418
|
-
return retVal;
|
|
1419
|
-
}, "de_DataLakeExceptionList");
|
|
1420
|
-
var de_SubscriberResource = /* @__PURE__ */ __name((output, context) => {
|
|
1421
|
-
return (0, import_smithy_client.take)(output, {
|
|
1422
|
-
accessTypes: import_smithy_client._json,
|
|
1423
|
-
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
1424
|
-
resourceShareArn: import_smithy_client.expectString,
|
|
1425
|
-
resourceShareName: import_smithy_client.expectString,
|
|
1426
|
-
roleArn: import_smithy_client.expectString,
|
|
1427
|
-
s3BucketArn: import_smithy_client.expectString,
|
|
1428
|
-
sources: import_smithy_client._json,
|
|
1429
|
-
subscriberArn: import_smithy_client.expectString,
|
|
1430
|
-
subscriberDescription: import_smithy_client.expectString,
|
|
1431
|
-
subscriberEndpoint: import_smithy_client.expectString,
|
|
1432
|
-
subscriberId: import_smithy_client.expectString,
|
|
1433
|
-
subscriberIdentity: import_smithy_client._json,
|
|
1434
|
-
subscriberName: import_smithy_client.expectString,
|
|
1435
|
-
subscriberStatus: import_smithy_client.expectString,
|
|
1436
|
-
updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
|
|
1437
|
-
});
|
|
1438
|
-
}, "de_SubscriberResource");
|
|
1439
|
-
var de_SubscriberResourceList = /* @__PURE__ */ __name((output, context) => {
|
|
1440
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1441
|
-
return de_SubscriberResource(entry, context);
|
|
1442
|
-
});
|
|
1443
|
-
return retVal;
|
|
1444
|
-
}, "de_SubscriberResourceList");
|
|
1445
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1446
|
-
httpStatusCode: output.statusCode,
|
|
1447
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1448
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1449
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
1450
|
-
}), "deserializeMetadata");
|
|
1451
|
-
var _mR = "maxResults";
|
|
1452
|
-
var _nT = "nextToken";
|
|
1453
|
-
var _r = "regions";
|
|
1454
|
-
var _rAS = "retryAfterSeconds";
|
|
1455
|
-
var _ra = "retry-after";
|
|
1456
|
-
var _sV = "sourceVersion";
|
|
1457
|
-
var _tK = "tagKeys";
|
|
1458
|
-
|
|
1459
|
-
// src/commands/CreateAwsLogSourceCommand.ts
|
|
1460
|
-
var CreateAwsLogSourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1461
|
-
return [
|
|
1462
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1463
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1464
|
-
];
|
|
1465
|
-
}).s("SecurityLake", "CreateAwsLogSource", {}).n("SecurityLakeClient", "CreateAwsLogSourceCommand").f(void 0, void 0).ser(se_CreateAwsLogSourceCommand).de(de_CreateAwsLogSourceCommand).build() {
|
|
1466
|
-
static {
|
|
1467
|
-
__name(this, "CreateAwsLogSourceCommand");
|
|
1468
|
-
}
|
|
232
|
+
exports.LogSourceResource = void 0;
|
|
233
|
+
(function (LogSourceResource) {
|
|
234
|
+
LogSourceResource.visit = (value, visitor) => {
|
|
235
|
+
if (value.awsLogSource !== undefined)
|
|
236
|
+
return visitor.awsLogSource(value.awsLogSource);
|
|
237
|
+
if (value.customLogSource !== undefined)
|
|
238
|
+
return visitor.customLogSource(value.customLogSource);
|
|
239
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
240
|
+
};
|
|
241
|
+
})(exports.LogSourceResource || (exports.LogSourceResource = {}));
|
|
242
|
+
const SubscriberStatus = {
|
|
243
|
+
ACTIVE: "ACTIVE",
|
|
244
|
+
DEACTIVATED: "DEACTIVATED",
|
|
245
|
+
PENDING: "PENDING",
|
|
246
|
+
READY: "READY",
|
|
1469
247
|
};
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
var CreateCustomLogSourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1476
|
-
return [
|
|
1477
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1478
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1479
|
-
];
|
|
1480
|
-
}).s("SecurityLake", "CreateCustomLogSource", {}).n("SecurityLakeClient", "CreateCustomLogSourceCommand").f(void 0, void 0).ser(se_CreateCustomLogSourceCommand).de(de_CreateCustomLogSourceCommand).build() {
|
|
1481
|
-
static {
|
|
1482
|
-
__name(this, "CreateCustomLogSourceCommand");
|
|
1483
|
-
}
|
|
248
|
+
const HttpMethod = {
|
|
249
|
+
POST: "POST",
|
|
250
|
+
PUT: "PUT",
|
|
1484
251
|
};
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
252
|
+
exports.NotificationConfiguration = void 0;
|
|
253
|
+
(function (NotificationConfiguration) {
|
|
254
|
+
NotificationConfiguration.visit = (value, visitor) => {
|
|
255
|
+
if (value.sqsNotificationConfiguration !== undefined)
|
|
256
|
+
return visitor.sqsNotificationConfiguration(value.sqsNotificationConfiguration);
|
|
257
|
+
if (value.httpsNotificationConfiguration !== undefined)
|
|
258
|
+
return visitor.httpsNotificationConfiguration(value.httpsNotificationConfiguration);
|
|
259
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
260
|
+
};
|
|
261
|
+
})(exports.NotificationConfiguration || (exports.NotificationConfiguration = {}));
|
|
262
|
+
const SourceCollectionStatus = {
|
|
263
|
+
COLLECTING: "COLLECTING",
|
|
264
|
+
MISCONFIGURED: "MISCONFIGURED",
|
|
265
|
+
NOT_COLLECTING: "NOT_COLLECTING",
|
|
1499
266
|
};
|
|
1500
267
|
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
})
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
}
|
|
268
|
+
const se_CreateAwsLogSourceCommand = async (input, context) => {
|
|
269
|
+
const b = core.requestBuilder(input, context);
|
|
270
|
+
const headers = {
|
|
271
|
+
"content-type": "application/json",
|
|
272
|
+
};
|
|
273
|
+
b.bp("/v1/datalake/logsources/aws");
|
|
274
|
+
let body;
|
|
275
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
276
|
+
sources: (_) => smithyClient._json(_),
|
|
277
|
+
}));
|
|
278
|
+
b.m("POST").h(headers).b(body);
|
|
279
|
+
return b.build();
|
|
1514
280
|
};
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
281
|
+
const se_CreateCustomLogSourceCommand = async (input, context) => {
|
|
282
|
+
const b = core.requestBuilder(input, context);
|
|
283
|
+
const headers = {
|
|
284
|
+
"content-type": "application/json",
|
|
285
|
+
};
|
|
286
|
+
b.bp("/v1/datalake/logsources/custom");
|
|
287
|
+
let body;
|
|
288
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
289
|
+
configuration: (_) => smithyClient._json(_),
|
|
290
|
+
eventClasses: (_) => smithyClient._json(_),
|
|
291
|
+
sourceName: [],
|
|
292
|
+
sourceVersion: [],
|
|
293
|
+
}));
|
|
294
|
+
b.m("POST").h(headers).b(body);
|
|
295
|
+
return b.build();
|
|
1529
296
|
};
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
297
|
+
const se_CreateDataLakeCommand = async (input, context) => {
|
|
298
|
+
const b = core.requestBuilder(input, context);
|
|
299
|
+
const headers = {
|
|
300
|
+
"content-type": "application/json",
|
|
301
|
+
};
|
|
302
|
+
b.bp("/v1/datalake");
|
|
303
|
+
let body;
|
|
304
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
305
|
+
configurations: (_) => smithyClient._json(_),
|
|
306
|
+
metaStoreManagerRoleArn: [],
|
|
307
|
+
tags: (_) => smithyClient._json(_),
|
|
308
|
+
}));
|
|
309
|
+
b.m("POST").h(headers).b(body);
|
|
310
|
+
return b.build();
|
|
1544
311
|
};
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
312
|
+
const se_CreateDataLakeExceptionSubscriptionCommand = async (input, context) => {
|
|
313
|
+
const b = core.requestBuilder(input, context);
|
|
314
|
+
const headers = {
|
|
315
|
+
"content-type": "application/json",
|
|
316
|
+
};
|
|
317
|
+
b.bp("/v1/datalake/exceptions/subscription");
|
|
318
|
+
let body;
|
|
319
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
320
|
+
exceptionTimeToLive: [],
|
|
321
|
+
notificationEndpoint: [],
|
|
322
|
+
subscriptionProtocol: [],
|
|
323
|
+
}));
|
|
324
|
+
b.m("POST").h(headers).b(body);
|
|
325
|
+
return b.build();
|
|
1559
326
|
};
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
__name(this, "DeleteAwsLogSourceCommand");
|
|
1573
|
-
}
|
|
327
|
+
const se_CreateDataLakeOrganizationConfigurationCommand = async (input, context) => {
|
|
328
|
+
const b = core.requestBuilder(input, context);
|
|
329
|
+
const headers = {
|
|
330
|
+
"content-type": "application/json",
|
|
331
|
+
};
|
|
332
|
+
b.bp("/v1/datalake/organization/configuration");
|
|
333
|
+
let body;
|
|
334
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
335
|
+
autoEnableNewAccount: (_) => smithyClient._json(_),
|
|
336
|
+
}));
|
|
337
|
+
b.m("POST").h(headers).b(body);
|
|
338
|
+
return b.build();
|
|
1574
339
|
};
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
340
|
+
const se_CreateSubscriberCommand = async (input, context) => {
|
|
341
|
+
const b = core.requestBuilder(input, context);
|
|
342
|
+
const headers = {
|
|
343
|
+
"content-type": "application/json",
|
|
344
|
+
};
|
|
345
|
+
b.bp("/v1/subscribers");
|
|
346
|
+
let body;
|
|
347
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
348
|
+
accessTypes: (_) => smithyClient._json(_),
|
|
349
|
+
sources: (_) => smithyClient._json(_),
|
|
350
|
+
subscriberDescription: [],
|
|
351
|
+
subscriberIdentity: (_) => smithyClient._json(_),
|
|
352
|
+
subscriberName: [],
|
|
353
|
+
tags: (_) => smithyClient._json(_),
|
|
354
|
+
}));
|
|
355
|
+
b.m("POST").h(headers).b(body);
|
|
356
|
+
return b.build();
|
|
1589
357
|
};
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
})
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
}
|
|
358
|
+
const se_CreateSubscriberNotificationCommand = async (input, context) => {
|
|
359
|
+
const b = core.requestBuilder(input, context);
|
|
360
|
+
const headers = {
|
|
361
|
+
"content-type": "application/json",
|
|
362
|
+
};
|
|
363
|
+
b.bp("/v1/subscribers/{subscriberId}/notification");
|
|
364
|
+
b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);
|
|
365
|
+
let body;
|
|
366
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
367
|
+
configuration: (_) => smithyClient._json(_),
|
|
368
|
+
}));
|
|
369
|
+
b.m("POST").h(headers).b(body);
|
|
370
|
+
return b.build();
|
|
1604
371
|
};
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
__name(this, "DeleteDataLakeExceptionSubscriptionCommand");
|
|
1618
|
-
}
|
|
372
|
+
const se_DeleteAwsLogSourceCommand = async (input, context) => {
|
|
373
|
+
const b = core.requestBuilder(input, context);
|
|
374
|
+
const headers = {
|
|
375
|
+
"content-type": "application/json",
|
|
376
|
+
};
|
|
377
|
+
b.bp("/v1/datalake/logsources/aws/delete");
|
|
378
|
+
let body;
|
|
379
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
380
|
+
sources: (_) => smithyClient._json(_),
|
|
381
|
+
}));
|
|
382
|
+
b.m("POST").h(headers).b(body);
|
|
383
|
+
return b.build();
|
|
1619
384
|
};
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
static {
|
|
1632
|
-
__name(this, "DeleteDataLakeOrganizationConfigurationCommand");
|
|
1633
|
-
}
|
|
385
|
+
const se_DeleteCustomLogSourceCommand = async (input, context) => {
|
|
386
|
+
const b = core.requestBuilder(input, context);
|
|
387
|
+
const headers = {};
|
|
388
|
+
b.bp("/v1/datalake/logsources/custom/{sourceName}");
|
|
389
|
+
b.p("sourceName", () => input.sourceName, "{sourceName}", false);
|
|
390
|
+
const query = smithyClient.map({
|
|
391
|
+
[_sV]: [, input[_sV]],
|
|
392
|
+
});
|
|
393
|
+
let body;
|
|
394
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
395
|
+
return b.build();
|
|
1634
396
|
};
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
__name(this, "DeleteSubscriberCommand");
|
|
1648
|
-
}
|
|
397
|
+
const se_DeleteDataLakeCommand = async (input, context) => {
|
|
398
|
+
const b = core.requestBuilder(input, context);
|
|
399
|
+
const headers = {
|
|
400
|
+
"content-type": "application/json",
|
|
401
|
+
};
|
|
402
|
+
b.bp("/v1/datalake/delete");
|
|
403
|
+
let body;
|
|
404
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
405
|
+
regions: (_) => smithyClient._json(_),
|
|
406
|
+
}));
|
|
407
|
+
b.m("POST").h(headers).b(body);
|
|
408
|
+
return b.build();
|
|
1649
409
|
};
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1658
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1659
|
-
];
|
|
1660
|
-
}).s("SecurityLake", "DeleteSubscriberNotification", {}).n("SecurityLakeClient", "DeleteSubscriberNotificationCommand").f(void 0, void 0).ser(se_DeleteSubscriberNotificationCommand).de(de_DeleteSubscriberNotificationCommand).build() {
|
|
1661
|
-
static {
|
|
1662
|
-
__name(this, "DeleteSubscriberNotificationCommand");
|
|
1663
|
-
}
|
|
410
|
+
const se_DeleteDataLakeExceptionSubscriptionCommand = async (input, context) => {
|
|
411
|
+
const b = core.requestBuilder(input, context);
|
|
412
|
+
const headers = {};
|
|
413
|
+
b.bp("/v1/datalake/exceptions/subscription");
|
|
414
|
+
let body;
|
|
415
|
+
b.m("DELETE").h(headers).b(body);
|
|
416
|
+
return b.build();
|
|
1664
417
|
};
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
__name(this, "DeregisterDataLakeDelegatedAdministratorCommand");
|
|
1678
|
-
}
|
|
418
|
+
const se_DeleteDataLakeOrganizationConfigurationCommand = async (input, context) => {
|
|
419
|
+
const b = core.requestBuilder(input, context);
|
|
420
|
+
const headers = {
|
|
421
|
+
"content-type": "application/json",
|
|
422
|
+
};
|
|
423
|
+
b.bp("/v1/datalake/organization/configuration/delete");
|
|
424
|
+
let body;
|
|
425
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
426
|
+
autoEnableNewAccount: (_) => smithyClient._json(_),
|
|
427
|
+
}));
|
|
428
|
+
b.m("POST").h(headers).b(body);
|
|
429
|
+
return b.build();
|
|
1679
430
|
};
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1689
|
-
];
|
|
1690
|
-
}).s("SecurityLake", "GetDataLakeExceptionSubscription", {}).n("SecurityLakeClient", "GetDataLakeExceptionSubscriptionCommand").f(void 0, void 0).ser(se_GetDataLakeExceptionSubscriptionCommand).de(de_GetDataLakeExceptionSubscriptionCommand).build() {
|
|
1691
|
-
static {
|
|
1692
|
-
__name(this, "GetDataLakeExceptionSubscriptionCommand");
|
|
1693
|
-
}
|
|
431
|
+
const se_DeleteSubscriberCommand = async (input, context) => {
|
|
432
|
+
const b = core.requestBuilder(input, context);
|
|
433
|
+
const headers = {};
|
|
434
|
+
b.bp("/v1/subscribers/{subscriberId}");
|
|
435
|
+
b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);
|
|
436
|
+
let body;
|
|
437
|
+
b.m("DELETE").h(headers).b(body);
|
|
438
|
+
return b.build();
|
|
1694
439
|
};
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1704
|
-
];
|
|
1705
|
-
}).s("SecurityLake", "GetDataLakeOrganizationConfiguration", {}).n("SecurityLakeClient", "GetDataLakeOrganizationConfigurationCommand").f(void 0, void 0).ser(se_GetDataLakeOrganizationConfigurationCommand).de(de_GetDataLakeOrganizationConfigurationCommand).build() {
|
|
1706
|
-
static {
|
|
1707
|
-
__name(this, "GetDataLakeOrganizationConfigurationCommand");
|
|
1708
|
-
}
|
|
440
|
+
const se_DeleteSubscriberNotificationCommand = async (input, context) => {
|
|
441
|
+
const b = core.requestBuilder(input, context);
|
|
442
|
+
const headers = {};
|
|
443
|
+
b.bp("/v1/subscribers/{subscriberId}/notification");
|
|
444
|
+
b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);
|
|
445
|
+
let body;
|
|
446
|
+
b.m("DELETE").h(headers).b(body);
|
|
447
|
+
return b.build();
|
|
1709
448
|
};
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1718
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1719
|
-
];
|
|
1720
|
-
}).s("SecurityLake", "GetDataLakeSources", {}).n("SecurityLakeClient", "GetDataLakeSourcesCommand").f(void 0, void 0).ser(se_GetDataLakeSourcesCommand).de(de_GetDataLakeSourcesCommand).build() {
|
|
1721
|
-
static {
|
|
1722
|
-
__name(this, "GetDataLakeSourcesCommand");
|
|
1723
|
-
}
|
|
449
|
+
const se_DeregisterDataLakeDelegatedAdministratorCommand = async (input, context) => {
|
|
450
|
+
const b = core.requestBuilder(input, context);
|
|
451
|
+
const headers = {};
|
|
452
|
+
b.bp("/v1/datalake/delegate");
|
|
453
|
+
let body;
|
|
454
|
+
b.m("DELETE").h(headers).b(body);
|
|
455
|
+
return b.build();
|
|
1724
456
|
};
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1733
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1734
|
-
];
|
|
1735
|
-
}).s("SecurityLake", "GetSubscriber", {}).n("SecurityLakeClient", "GetSubscriberCommand").f(void 0, void 0).ser(se_GetSubscriberCommand).de(de_GetSubscriberCommand).build() {
|
|
1736
|
-
static {
|
|
1737
|
-
__name(this, "GetSubscriberCommand");
|
|
1738
|
-
}
|
|
457
|
+
const se_GetDataLakeExceptionSubscriptionCommand = async (input, context) => {
|
|
458
|
+
const b = core.requestBuilder(input, context);
|
|
459
|
+
const headers = {};
|
|
460
|
+
b.bp("/v1/datalake/exceptions/subscription");
|
|
461
|
+
let body;
|
|
462
|
+
b.m("GET").h(headers).b(body);
|
|
463
|
+
return b.build();
|
|
1739
464
|
};
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1748
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1749
|
-
];
|
|
1750
|
-
}).s("SecurityLake", "ListDataLakeExceptions", {}).n("SecurityLakeClient", "ListDataLakeExceptionsCommand").f(void 0, void 0).ser(se_ListDataLakeExceptionsCommand).de(de_ListDataLakeExceptionsCommand).build() {
|
|
1751
|
-
static {
|
|
1752
|
-
__name(this, "ListDataLakeExceptionsCommand");
|
|
1753
|
-
}
|
|
465
|
+
const se_GetDataLakeOrganizationConfigurationCommand = async (input, context) => {
|
|
466
|
+
const b = core.requestBuilder(input, context);
|
|
467
|
+
const headers = {};
|
|
468
|
+
b.bp("/v1/datalake/organization/configuration");
|
|
469
|
+
let body;
|
|
470
|
+
b.m("GET").h(headers).b(body);
|
|
471
|
+
return b.build();
|
|
1754
472
|
};
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
473
|
+
const se_GetDataLakeSourcesCommand = async (input, context) => {
|
|
474
|
+
const b = core.requestBuilder(input, context);
|
|
475
|
+
const headers = {
|
|
476
|
+
"content-type": "application/json",
|
|
477
|
+
};
|
|
478
|
+
b.bp("/v1/datalake/sources");
|
|
479
|
+
let body;
|
|
480
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
481
|
+
accounts: (_) => smithyClient._json(_),
|
|
482
|
+
maxResults: [],
|
|
483
|
+
nextToken: [],
|
|
484
|
+
}));
|
|
485
|
+
b.m("POST").h(headers).b(body);
|
|
486
|
+
return b.build();
|
|
1769
487
|
};
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1779
|
-
];
|
|
1780
|
-
}).s("SecurityLake", "ListLogSources", {}).n("SecurityLakeClient", "ListLogSourcesCommand").f(void 0, void 0).ser(se_ListLogSourcesCommand).de(de_ListLogSourcesCommand).build() {
|
|
1781
|
-
static {
|
|
1782
|
-
__name(this, "ListLogSourcesCommand");
|
|
1783
|
-
}
|
|
488
|
+
const se_GetSubscriberCommand = async (input, context) => {
|
|
489
|
+
const b = core.requestBuilder(input, context);
|
|
490
|
+
const headers = {};
|
|
491
|
+
b.bp("/v1/subscribers/{subscriberId}");
|
|
492
|
+
b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);
|
|
493
|
+
let body;
|
|
494
|
+
b.m("GET").h(headers).b(body);
|
|
495
|
+
return b.build();
|
|
1784
496
|
};
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
497
|
+
const se_ListDataLakeExceptionsCommand = async (input, context) => {
|
|
498
|
+
const b = core.requestBuilder(input, context);
|
|
499
|
+
const headers = {
|
|
500
|
+
"content-type": "application/json",
|
|
501
|
+
};
|
|
502
|
+
b.bp("/v1/datalake/exceptions");
|
|
503
|
+
let body;
|
|
504
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
505
|
+
maxResults: [],
|
|
506
|
+
nextToken: [],
|
|
507
|
+
regions: (_) => smithyClient._json(_),
|
|
508
|
+
}));
|
|
509
|
+
b.m("POST").h(headers).b(body);
|
|
510
|
+
return b.build();
|
|
1799
511
|
};
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
(
|
|
1809
|
-
|
|
1810
|
-
}).s("SecurityLake", "ListTagsForResource", {}).n("SecurityLakeClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1811
|
-
static {
|
|
1812
|
-
__name(this, "ListTagsForResourceCommand");
|
|
1813
|
-
}
|
|
512
|
+
const se_ListDataLakesCommand = async (input, context) => {
|
|
513
|
+
const b = core.requestBuilder(input, context);
|
|
514
|
+
const headers = {};
|
|
515
|
+
b.bp("/v1/datalakes");
|
|
516
|
+
const query = smithyClient.map({
|
|
517
|
+
[_r]: [() => input.regions !== void 0, () => input[_r] || []],
|
|
518
|
+
});
|
|
519
|
+
let body;
|
|
520
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
521
|
+
return b.build();
|
|
1814
522
|
};
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
523
|
+
const se_ListLogSourcesCommand = async (input, context) => {
|
|
524
|
+
const b = core.requestBuilder(input, context);
|
|
525
|
+
const headers = {
|
|
526
|
+
"content-type": "application/json",
|
|
527
|
+
};
|
|
528
|
+
b.bp("/v1/datalake/logsources/list");
|
|
529
|
+
let body;
|
|
530
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
531
|
+
accounts: (_) => smithyClient._json(_),
|
|
532
|
+
maxResults: [],
|
|
533
|
+
nextToken: [],
|
|
534
|
+
regions: (_) => smithyClient._json(_),
|
|
535
|
+
sources: (_) => smithyClient._json(_),
|
|
536
|
+
}));
|
|
537
|
+
b.m("POST").h(headers).b(body);
|
|
538
|
+
return b.build();
|
|
1829
539
|
};
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
static {
|
|
1842
|
-
__name(this, "TagResourceCommand");
|
|
1843
|
-
}
|
|
540
|
+
const se_ListSubscribersCommand = async (input, context) => {
|
|
541
|
+
const b = core.requestBuilder(input, context);
|
|
542
|
+
const headers = {};
|
|
543
|
+
b.bp("/v1/subscribers");
|
|
544
|
+
const query = smithyClient.map({
|
|
545
|
+
[_nT]: [, input[_nT]],
|
|
546
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
547
|
+
});
|
|
548
|
+
let body;
|
|
549
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
550
|
+
return b.build();
|
|
1844
551
|
};
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1854
|
-
];
|
|
1855
|
-
}).s("SecurityLake", "UntagResource", {}).n("SecurityLakeClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
1856
|
-
static {
|
|
1857
|
-
__name(this, "UntagResourceCommand");
|
|
1858
|
-
}
|
|
552
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
553
|
+
const b = core.requestBuilder(input, context);
|
|
554
|
+
const headers = {};
|
|
555
|
+
b.bp("/v1/tags/{resourceArn}");
|
|
556
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
557
|
+
let body;
|
|
558
|
+
b.m("GET").h(headers).b(body);
|
|
559
|
+
return b.build();
|
|
1859
560
|
};
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
__name(this, "UpdateDataLakeCommand");
|
|
1873
|
-
}
|
|
561
|
+
const se_RegisterDataLakeDelegatedAdministratorCommand = async (input, context) => {
|
|
562
|
+
const b = core.requestBuilder(input, context);
|
|
563
|
+
const headers = {
|
|
564
|
+
"content-type": "application/json",
|
|
565
|
+
};
|
|
566
|
+
b.bp("/v1/datalake/delegate");
|
|
567
|
+
let body;
|
|
568
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
569
|
+
accountId: [],
|
|
570
|
+
}));
|
|
571
|
+
b.m("POST").h(headers).b(body);
|
|
572
|
+
return b.build();
|
|
1874
573
|
};
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
})
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
}
|
|
574
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
575
|
+
const b = core.requestBuilder(input, context);
|
|
576
|
+
const headers = {
|
|
577
|
+
"content-type": "application/json",
|
|
578
|
+
};
|
|
579
|
+
b.bp("/v1/tags/{resourceArn}");
|
|
580
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
581
|
+
let body;
|
|
582
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
583
|
+
tags: (_) => smithyClient._json(_),
|
|
584
|
+
}));
|
|
585
|
+
b.m("POST").h(headers).b(body);
|
|
586
|
+
return b.build();
|
|
1889
587
|
};
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
static {
|
|
1902
|
-
__name(this, "UpdateSubscriberCommand");
|
|
1903
|
-
}
|
|
588
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
589
|
+
const b = core.requestBuilder(input, context);
|
|
590
|
+
const headers = {};
|
|
591
|
+
b.bp("/v1/tags/{resourceArn}");
|
|
592
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
593
|
+
const query = smithyClient.map({
|
|
594
|
+
[_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
|
|
595
|
+
});
|
|
596
|
+
let body;
|
|
597
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
598
|
+
return b.build();
|
|
1904
599
|
};
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
})
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
}
|
|
600
|
+
const se_UpdateDataLakeCommand = async (input, context) => {
|
|
601
|
+
const b = core.requestBuilder(input, context);
|
|
602
|
+
const headers = {
|
|
603
|
+
"content-type": "application/json",
|
|
604
|
+
};
|
|
605
|
+
b.bp("/v1/datalake");
|
|
606
|
+
let body;
|
|
607
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
608
|
+
configurations: (_) => smithyClient._json(_),
|
|
609
|
+
metaStoreManagerRoleArn: [],
|
|
610
|
+
}));
|
|
611
|
+
b.m("PUT").h(headers).b(body);
|
|
612
|
+
return b.build();
|
|
1919
613
|
};
|
|
614
|
+
const se_UpdateDataLakeExceptionSubscriptionCommand = async (input, context) => {
|
|
615
|
+
const b = core.requestBuilder(input, context);
|
|
616
|
+
const headers = {
|
|
617
|
+
"content-type": "application/json",
|
|
618
|
+
};
|
|
619
|
+
b.bp("/v1/datalake/exceptions/subscription");
|
|
620
|
+
let body;
|
|
621
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
622
|
+
exceptionTimeToLive: [],
|
|
623
|
+
notificationEndpoint: [],
|
|
624
|
+
subscriptionProtocol: [],
|
|
625
|
+
}));
|
|
626
|
+
b.m("PUT").h(headers).b(body);
|
|
627
|
+
return b.build();
|
|
628
|
+
};
|
|
629
|
+
const se_UpdateSubscriberCommand = async (input, context) => {
|
|
630
|
+
const b = core.requestBuilder(input, context);
|
|
631
|
+
const headers = {
|
|
632
|
+
"content-type": "application/json",
|
|
633
|
+
};
|
|
634
|
+
b.bp("/v1/subscribers/{subscriberId}");
|
|
635
|
+
b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);
|
|
636
|
+
let body;
|
|
637
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
638
|
+
sources: (_) => smithyClient._json(_),
|
|
639
|
+
subscriberDescription: [],
|
|
640
|
+
subscriberIdentity: (_) => smithyClient._json(_),
|
|
641
|
+
subscriberName: [],
|
|
642
|
+
}));
|
|
643
|
+
b.m("PUT").h(headers).b(body);
|
|
644
|
+
return b.build();
|
|
645
|
+
};
|
|
646
|
+
const se_UpdateSubscriberNotificationCommand = async (input, context) => {
|
|
647
|
+
const b = core.requestBuilder(input, context);
|
|
648
|
+
const headers = {
|
|
649
|
+
"content-type": "application/json",
|
|
650
|
+
};
|
|
651
|
+
b.bp("/v1/subscribers/{subscriberId}/notification");
|
|
652
|
+
b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);
|
|
653
|
+
let body;
|
|
654
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
655
|
+
configuration: (_) => smithyClient._json(_),
|
|
656
|
+
}));
|
|
657
|
+
b.m("PUT").h(headers).b(body);
|
|
658
|
+
return b.build();
|
|
659
|
+
};
|
|
660
|
+
const de_CreateAwsLogSourceCommand = async (output, context) => {
|
|
661
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
662
|
+
return de_CommandError(output, context);
|
|
663
|
+
}
|
|
664
|
+
const contents = smithyClient.map({
|
|
665
|
+
$metadata: deserializeMetadata(output),
|
|
666
|
+
});
|
|
667
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
668
|
+
const doc = smithyClient.take(data, {
|
|
669
|
+
failed: smithyClient._json,
|
|
670
|
+
});
|
|
671
|
+
Object.assign(contents, doc);
|
|
672
|
+
return contents;
|
|
673
|
+
};
|
|
674
|
+
const de_CreateCustomLogSourceCommand = async (output, context) => {
|
|
675
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
676
|
+
return de_CommandError(output, context);
|
|
677
|
+
}
|
|
678
|
+
const contents = smithyClient.map({
|
|
679
|
+
$metadata: deserializeMetadata(output),
|
|
680
|
+
});
|
|
681
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
682
|
+
const doc = smithyClient.take(data, {
|
|
683
|
+
source: smithyClient._json,
|
|
684
|
+
});
|
|
685
|
+
Object.assign(contents, doc);
|
|
686
|
+
return contents;
|
|
687
|
+
};
|
|
688
|
+
const de_CreateDataLakeCommand = async (output, context) => {
|
|
689
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
690
|
+
return de_CommandError(output, context);
|
|
691
|
+
}
|
|
692
|
+
const contents = smithyClient.map({
|
|
693
|
+
$metadata: deserializeMetadata(output),
|
|
694
|
+
});
|
|
695
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
696
|
+
const doc = smithyClient.take(data, {
|
|
697
|
+
dataLakes: smithyClient._json,
|
|
698
|
+
});
|
|
699
|
+
Object.assign(contents, doc);
|
|
700
|
+
return contents;
|
|
701
|
+
};
|
|
702
|
+
const de_CreateDataLakeExceptionSubscriptionCommand = async (output, context) => {
|
|
703
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
704
|
+
return de_CommandError(output, context);
|
|
705
|
+
}
|
|
706
|
+
const contents = smithyClient.map({
|
|
707
|
+
$metadata: deserializeMetadata(output),
|
|
708
|
+
});
|
|
709
|
+
await smithyClient.collectBody(output.body, context);
|
|
710
|
+
return contents;
|
|
711
|
+
};
|
|
712
|
+
const de_CreateDataLakeOrganizationConfigurationCommand = async (output, context) => {
|
|
713
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
714
|
+
return de_CommandError(output, context);
|
|
715
|
+
}
|
|
716
|
+
const contents = smithyClient.map({
|
|
717
|
+
$metadata: deserializeMetadata(output),
|
|
718
|
+
});
|
|
719
|
+
await smithyClient.collectBody(output.body, context);
|
|
720
|
+
return contents;
|
|
721
|
+
};
|
|
722
|
+
const de_CreateSubscriberCommand = async (output, context) => {
|
|
723
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
724
|
+
return de_CommandError(output, context);
|
|
725
|
+
}
|
|
726
|
+
const contents = smithyClient.map({
|
|
727
|
+
$metadata: deserializeMetadata(output),
|
|
728
|
+
});
|
|
729
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
730
|
+
const doc = smithyClient.take(data, {
|
|
731
|
+
subscriber: (_) => de_SubscriberResource(_),
|
|
732
|
+
});
|
|
733
|
+
Object.assign(contents, doc);
|
|
734
|
+
return contents;
|
|
735
|
+
};
|
|
736
|
+
const de_CreateSubscriberNotificationCommand = async (output, context) => {
|
|
737
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
738
|
+
return de_CommandError(output, context);
|
|
739
|
+
}
|
|
740
|
+
const contents = smithyClient.map({
|
|
741
|
+
$metadata: deserializeMetadata(output),
|
|
742
|
+
});
|
|
743
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
744
|
+
const doc = smithyClient.take(data, {
|
|
745
|
+
subscriberEndpoint: smithyClient.expectString,
|
|
746
|
+
});
|
|
747
|
+
Object.assign(contents, doc);
|
|
748
|
+
return contents;
|
|
749
|
+
};
|
|
750
|
+
const de_DeleteAwsLogSourceCommand = async (output, context) => {
|
|
751
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
752
|
+
return de_CommandError(output, context);
|
|
753
|
+
}
|
|
754
|
+
const contents = smithyClient.map({
|
|
755
|
+
$metadata: deserializeMetadata(output),
|
|
756
|
+
});
|
|
757
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
758
|
+
const doc = smithyClient.take(data, {
|
|
759
|
+
failed: smithyClient._json,
|
|
760
|
+
});
|
|
761
|
+
Object.assign(contents, doc);
|
|
762
|
+
return contents;
|
|
763
|
+
};
|
|
764
|
+
const de_DeleteCustomLogSourceCommand = async (output, context) => {
|
|
765
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
766
|
+
return de_CommandError(output, context);
|
|
767
|
+
}
|
|
768
|
+
const contents = smithyClient.map({
|
|
769
|
+
$metadata: deserializeMetadata(output),
|
|
770
|
+
});
|
|
771
|
+
await smithyClient.collectBody(output.body, context);
|
|
772
|
+
return contents;
|
|
773
|
+
};
|
|
774
|
+
const de_DeleteDataLakeCommand = async (output, context) => {
|
|
775
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
776
|
+
return de_CommandError(output, context);
|
|
777
|
+
}
|
|
778
|
+
const contents = smithyClient.map({
|
|
779
|
+
$metadata: deserializeMetadata(output),
|
|
780
|
+
});
|
|
781
|
+
await smithyClient.collectBody(output.body, context);
|
|
782
|
+
return contents;
|
|
783
|
+
};
|
|
784
|
+
const de_DeleteDataLakeExceptionSubscriptionCommand = async (output, context) => {
|
|
785
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
786
|
+
return de_CommandError(output, context);
|
|
787
|
+
}
|
|
788
|
+
const contents = smithyClient.map({
|
|
789
|
+
$metadata: deserializeMetadata(output),
|
|
790
|
+
});
|
|
791
|
+
await smithyClient.collectBody(output.body, context);
|
|
792
|
+
return contents;
|
|
793
|
+
};
|
|
794
|
+
const de_DeleteDataLakeOrganizationConfigurationCommand = async (output, context) => {
|
|
795
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
796
|
+
return de_CommandError(output, context);
|
|
797
|
+
}
|
|
798
|
+
const contents = smithyClient.map({
|
|
799
|
+
$metadata: deserializeMetadata(output),
|
|
800
|
+
});
|
|
801
|
+
await smithyClient.collectBody(output.body, context);
|
|
802
|
+
return contents;
|
|
803
|
+
};
|
|
804
|
+
const de_DeleteSubscriberCommand = async (output, context) => {
|
|
805
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
806
|
+
return de_CommandError(output, context);
|
|
807
|
+
}
|
|
808
|
+
const contents = smithyClient.map({
|
|
809
|
+
$metadata: deserializeMetadata(output),
|
|
810
|
+
});
|
|
811
|
+
await smithyClient.collectBody(output.body, context);
|
|
812
|
+
return contents;
|
|
813
|
+
};
|
|
814
|
+
const de_DeleteSubscriberNotificationCommand = async (output, context) => {
|
|
815
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
816
|
+
return de_CommandError(output, context);
|
|
817
|
+
}
|
|
818
|
+
const contents = smithyClient.map({
|
|
819
|
+
$metadata: deserializeMetadata(output),
|
|
820
|
+
});
|
|
821
|
+
await smithyClient.collectBody(output.body, context);
|
|
822
|
+
return contents;
|
|
823
|
+
};
|
|
824
|
+
const de_DeregisterDataLakeDelegatedAdministratorCommand = async (output, context) => {
|
|
825
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
826
|
+
return de_CommandError(output, context);
|
|
827
|
+
}
|
|
828
|
+
const contents = smithyClient.map({
|
|
829
|
+
$metadata: deserializeMetadata(output),
|
|
830
|
+
});
|
|
831
|
+
await smithyClient.collectBody(output.body, context);
|
|
832
|
+
return contents;
|
|
833
|
+
};
|
|
834
|
+
const de_GetDataLakeExceptionSubscriptionCommand = async (output, context) => {
|
|
835
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
836
|
+
return de_CommandError(output, context);
|
|
837
|
+
}
|
|
838
|
+
const contents = smithyClient.map({
|
|
839
|
+
$metadata: deserializeMetadata(output),
|
|
840
|
+
});
|
|
841
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
842
|
+
const doc = smithyClient.take(data, {
|
|
843
|
+
exceptionTimeToLive: smithyClient.expectLong,
|
|
844
|
+
notificationEndpoint: smithyClient.expectString,
|
|
845
|
+
subscriptionProtocol: smithyClient.expectString,
|
|
846
|
+
});
|
|
847
|
+
Object.assign(contents, doc);
|
|
848
|
+
return contents;
|
|
849
|
+
};
|
|
850
|
+
const de_GetDataLakeOrganizationConfigurationCommand = async (output, context) => {
|
|
851
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
852
|
+
return de_CommandError(output, context);
|
|
853
|
+
}
|
|
854
|
+
const contents = smithyClient.map({
|
|
855
|
+
$metadata: deserializeMetadata(output),
|
|
856
|
+
});
|
|
857
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
858
|
+
const doc = smithyClient.take(data, {
|
|
859
|
+
autoEnableNewAccount: smithyClient._json,
|
|
860
|
+
});
|
|
861
|
+
Object.assign(contents, doc);
|
|
862
|
+
return contents;
|
|
863
|
+
};
|
|
864
|
+
const de_GetDataLakeSourcesCommand = async (output, context) => {
|
|
865
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
866
|
+
return de_CommandError(output, context);
|
|
867
|
+
}
|
|
868
|
+
const contents = smithyClient.map({
|
|
869
|
+
$metadata: deserializeMetadata(output),
|
|
870
|
+
});
|
|
871
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
872
|
+
const doc = smithyClient.take(data, {
|
|
873
|
+
dataLakeArn: smithyClient.expectString,
|
|
874
|
+
dataLakeSources: smithyClient._json,
|
|
875
|
+
nextToken: smithyClient.expectString,
|
|
876
|
+
});
|
|
877
|
+
Object.assign(contents, doc);
|
|
878
|
+
return contents;
|
|
879
|
+
};
|
|
880
|
+
const de_GetSubscriberCommand = async (output, context) => {
|
|
881
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
882
|
+
return de_CommandError(output, context);
|
|
883
|
+
}
|
|
884
|
+
const contents = smithyClient.map({
|
|
885
|
+
$metadata: deserializeMetadata(output),
|
|
886
|
+
});
|
|
887
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
888
|
+
const doc = smithyClient.take(data, {
|
|
889
|
+
subscriber: (_) => de_SubscriberResource(_),
|
|
890
|
+
});
|
|
891
|
+
Object.assign(contents, doc);
|
|
892
|
+
return contents;
|
|
893
|
+
};
|
|
894
|
+
const de_ListDataLakeExceptionsCommand = async (output, context) => {
|
|
895
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
896
|
+
return de_CommandError(output, context);
|
|
897
|
+
}
|
|
898
|
+
const contents = smithyClient.map({
|
|
899
|
+
$metadata: deserializeMetadata(output),
|
|
900
|
+
});
|
|
901
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
902
|
+
const doc = smithyClient.take(data, {
|
|
903
|
+
exceptions: (_) => de_DataLakeExceptionList(_),
|
|
904
|
+
nextToken: smithyClient.expectString,
|
|
905
|
+
});
|
|
906
|
+
Object.assign(contents, doc);
|
|
907
|
+
return contents;
|
|
908
|
+
};
|
|
909
|
+
const de_ListDataLakesCommand = async (output, context) => {
|
|
910
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
911
|
+
return de_CommandError(output, context);
|
|
912
|
+
}
|
|
913
|
+
const contents = smithyClient.map({
|
|
914
|
+
$metadata: deserializeMetadata(output),
|
|
915
|
+
});
|
|
916
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
917
|
+
const doc = smithyClient.take(data, {
|
|
918
|
+
dataLakes: smithyClient._json,
|
|
919
|
+
});
|
|
920
|
+
Object.assign(contents, doc);
|
|
921
|
+
return contents;
|
|
922
|
+
};
|
|
923
|
+
const de_ListLogSourcesCommand = async (output, context) => {
|
|
924
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
925
|
+
return de_CommandError(output, context);
|
|
926
|
+
}
|
|
927
|
+
const contents = smithyClient.map({
|
|
928
|
+
$metadata: deserializeMetadata(output),
|
|
929
|
+
});
|
|
930
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
931
|
+
const doc = smithyClient.take(data, {
|
|
932
|
+
nextToken: smithyClient.expectString,
|
|
933
|
+
sources: smithyClient._json,
|
|
934
|
+
});
|
|
935
|
+
Object.assign(contents, doc);
|
|
936
|
+
return contents;
|
|
937
|
+
};
|
|
938
|
+
const de_ListSubscribersCommand = async (output, context) => {
|
|
939
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
940
|
+
return de_CommandError(output, context);
|
|
941
|
+
}
|
|
942
|
+
const contents = smithyClient.map({
|
|
943
|
+
$metadata: deserializeMetadata(output),
|
|
944
|
+
});
|
|
945
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
946
|
+
const doc = smithyClient.take(data, {
|
|
947
|
+
nextToken: smithyClient.expectString,
|
|
948
|
+
subscribers: (_) => de_SubscriberResourceList(_),
|
|
949
|
+
});
|
|
950
|
+
Object.assign(contents, doc);
|
|
951
|
+
return contents;
|
|
952
|
+
};
|
|
953
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
954
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
955
|
+
return de_CommandError(output, context);
|
|
956
|
+
}
|
|
957
|
+
const contents = smithyClient.map({
|
|
958
|
+
$metadata: deserializeMetadata(output),
|
|
959
|
+
});
|
|
960
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
961
|
+
const doc = smithyClient.take(data, {
|
|
962
|
+
tags: smithyClient._json,
|
|
963
|
+
});
|
|
964
|
+
Object.assign(contents, doc);
|
|
965
|
+
return contents;
|
|
966
|
+
};
|
|
967
|
+
const de_RegisterDataLakeDelegatedAdministratorCommand = async (output, context) => {
|
|
968
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
969
|
+
return de_CommandError(output, context);
|
|
970
|
+
}
|
|
971
|
+
const contents = smithyClient.map({
|
|
972
|
+
$metadata: deserializeMetadata(output),
|
|
973
|
+
});
|
|
974
|
+
await smithyClient.collectBody(output.body, context);
|
|
975
|
+
return contents;
|
|
976
|
+
};
|
|
977
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
978
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
979
|
+
return de_CommandError(output, context);
|
|
980
|
+
}
|
|
981
|
+
const contents = smithyClient.map({
|
|
982
|
+
$metadata: deserializeMetadata(output),
|
|
983
|
+
});
|
|
984
|
+
await smithyClient.collectBody(output.body, context);
|
|
985
|
+
return contents;
|
|
986
|
+
};
|
|
987
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
988
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
989
|
+
return de_CommandError(output, context);
|
|
990
|
+
}
|
|
991
|
+
const contents = smithyClient.map({
|
|
992
|
+
$metadata: deserializeMetadata(output),
|
|
993
|
+
});
|
|
994
|
+
await smithyClient.collectBody(output.body, context);
|
|
995
|
+
return contents;
|
|
996
|
+
};
|
|
997
|
+
const de_UpdateDataLakeCommand = async (output, context) => {
|
|
998
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
999
|
+
return de_CommandError(output, context);
|
|
1000
|
+
}
|
|
1001
|
+
const contents = smithyClient.map({
|
|
1002
|
+
$metadata: deserializeMetadata(output),
|
|
1003
|
+
});
|
|
1004
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1005
|
+
const doc = smithyClient.take(data, {
|
|
1006
|
+
dataLakes: smithyClient._json,
|
|
1007
|
+
});
|
|
1008
|
+
Object.assign(contents, doc);
|
|
1009
|
+
return contents;
|
|
1010
|
+
};
|
|
1011
|
+
const de_UpdateDataLakeExceptionSubscriptionCommand = async (output, context) => {
|
|
1012
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1013
|
+
return de_CommandError(output, context);
|
|
1014
|
+
}
|
|
1015
|
+
const contents = smithyClient.map({
|
|
1016
|
+
$metadata: deserializeMetadata(output),
|
|
1017
|
+
});
|
|
1018
|
+
await smithyClient.collectBody(output.body, context);
|
|
1019
|
+
return contents;
|
|
1020
|
+
};
|
|
1021
|
+
const de_UpdateSubscriberCommand = async (output, context) => {
|
|
1022
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1023
|
+
return de_CommandError(output, context);
|
|
1024
|
+
}
|
|
1025
|
+
const contents = smithyClient.map({
|
|
1026
|
+
$metadata: deserializeMetadata(output),
|
|
1027
|
+
});
|
|
1028
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1029
|
+
const doc = smithyClient.take(data, {
|
|
1030
|
+
subscriber: (_) => de_SubscriberResource(_),
|
|
1031
|
+
});
|
|
1032
|
+
Object.assign(contents, doc);
|
|
1033
|
+
return contents;
|
|
1034
|
+
};
|
|
1035
|
+
const de_UpdateSubscriberNotificationCommand = async (output, context) => {
|
|
1036
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1037
|
+
return de_CommandError(output, context);
|
|
1038
|
+
}
|
|
1039
|
+
const contents = smithyClient.map({
|
|
1040
|
+
$metadata: deserializeMetadata(output),
|
|
1041
|
+
});
|
|
1042
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1043
|
+
const doc = smithyClient.take(data, {
|
|
1044
|
+
subscriberEndpoint: smithyClient.expectString,
|
|
1045
|
+
});
|
|
1046
|
+
Object.assign(contents, doc);
|
|
1047
|
+
return contents;
|
|
1048
|
+
};
|
|
1049
|
+
const de_CommandError = async (output, context) => {
|
|
1050
|
+
const parsedOutput = {
|
|
1051
|
+
...output,
|
|
1052
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
1053
|
+
};
|
|
1054
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1055
|
+
switch (errorCode) {
|
|
1056
|
+
case "AccessDeniedException":
|
|
1057
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
1058
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
1059
|
+
case "BadRequestException":
|
|
1060
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
1061
|
+
throw await de_BadRequestExceptionRes(parsedOutput);
|
|
1062
|
+
case "ConflictException":
|
|
1063
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
1064
|
+
throw await de_ConflictExceptionRes(parsedOutput);
|
|
1065
|
+
case "InternalServerException":
|
|
1066
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
1067
|
+
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
1068
|
+
case "ResourceNotFoundException":
|
|
1069
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
1070
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
1071
|
+
case "ThrottlingException":
|
|
1072
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
1073
|
+
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
1074
|
+
default:
|
|
1075
|
+
const parsedBody = parsedOutput.body;
|
|
1076
|
+
return throwDefaultError({
|
|
1077
|
+
output,
|
|
1078
|
+
parsedBody,
|
|
1079
|
+
errorCode,
|
|
1080
|
+
});
|
|
1081
|
+
}
|
|
1082
|
+
};
|
|
1083
|
+
const throwDefaultError = smithyClient.withBaseException(SecurityLakeServiceException);
|
|
1084
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1085
|
+
const contents = smithyClient.map({});
|
|
1086
|
+
const data = parsedOutput.body;
|
|
1087
|
+
const doc = smithyClient.take(data, {
|
|
1088
|
+
errorCode: smithyClient.expectString,
|
|
1089
|
+
message: smithyClient.expectString,
|
|
1090
|
+
});
|
|
1091
|
+
Object.assign(contents, doc);
|
|
1092
|
+
const exception = new AccessDeniedException({
|
|
1093
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1094
|
+
...contents,
|
|
1095
|
+
});
|
|
1096
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1097
|
+
};
|
|
1098
|
+
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
1099
|
+
const contents = smithyClient.map({});
|
|
1100
|
+
const data = parsedOutput.body;
|
|
1101
|
+
const doc = smithyClient.take(data, {
|
|
1102
|
+
message: smithyClient.expectString,
|
|
1103
|
+
});
|
|
1104
|
+
Object.assign(contents, doc);
|
|
1105
|
+
const exception = new BadRequestException({
|
|
1106
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1107
|
+
...contents,
|
|
1108
|
+
});
|
|
1109
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1110
|
+
};
|
|
1111
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1112
|
+
const contents = smithyClient.map({});
|
|
1113
|
+
const data = parsedOutput.body;
|
|
1114
|
+
const doc = smithyClient.take(data, {
|
|
1115
|
+
message: smithyClient.expectString,
|
|
1116
|
+
resourceName: smithyClient.expectString,
|
|
1117
|
+
resourceType: smithyClient.expectString,
|
|
1118
|
+
});
|
|
1119
|
+
Object.assign(contents, doc);
|
|
1120
|
+
const exception = new ConflictException({
|
|
1121
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1122
|
+
...contents,
|
|
1123
|
+
});
|
|
1124
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1125
|
+
};
|
|
1126
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1127
|
+
const contents = smithyClient.map({});
|
|
1128
|
+
const data = parsedOutput.body;
|
|
1129
|
+
const doc = smithyClient.take(data, {
|
|
1130
|
+
message: smithyClient.expectString,
|
|
1131
|
+
});
|
|
1132
|
+
Object.assign(contents, doc);
|
|
1133
|
+
const exception = new InternalServerException({
|
|
1134
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1135
|
+
...contents,
|
|
1136
|
+
});
|
|
1137
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1138
|
+
};
|
|
1139
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1140
|
+
const contents = smithyClient.map({});
|
|
1141
|
+
const data = parsedOutput.body;
|
|
1142
|
+
const doc = smithyClient.take(data, {
|
|
1143
|
+
message: smithyClient.expectString,
|
|
1144
|
+
resourceName: smithyClient.expectString,
|
|
1145
|
+
resourceType: smithyClient.expectString,
|
|
1146
|
+
});
|
|
1147
|
+
Object.assign(contents, doc);
|
|
1148
|
+
const exception = new ResourceNotFoundException({
|
|
1149
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1150
|
+
...contents,
|
|
1151
|
+
});
|
|
1152
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1153
|
+
};
|
|
1154
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1155
|
+
const contents = smithyClient.map({
|
|
1156
|
+
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
|
|
1157
|
+
});
|
|
1158
|
+
const data = parsedOutput.body;
|
|
1159
|
+
const doc = smithyClient.take(data, {
|
|
1160
|
+
message: smithyClient.expectString,
|
|
1161
|
+
quotaCode: smithyClient.expectString,
|
|
1162
|
+
serviceCode: smithyClient.expectString,
|
|
1163
|
+
});
|
|
1164
|
+
Object.assign(contents, doc);
|
|
1165
|
+
const exception = new ThrottlingException({
|
|
1166
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1167
|
+
...contents,
|
|
1168
|
+
});
|
|
1169
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1170
|
+
};
|
|
1171
|
+
const de_DataLakeException = (output, context) => {
|
|
1172
|
+
return smithyClient.take(output, {
|
|
1173
|
+
exception: smithyClient.expectString,
|
|
1174
|
+
region: smithyClient.expectString,
|
|
1175
|
+
remediation: smithyClient.expectString,
|
|
1176
|
+
timestamp: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1177
|
+
});
|
|
1178
|
+
};
|
|
1179
|
+
const de_DataLakeExceptionList = (output, context) => {
|
|
1180
|
+
const retVal = (output || [])
|
|
1181
|
+
.filter((e) => e != null)
|
|
1182
|
+
.map((entry) => {
|
|
1183
|
+
return de_DataLakeException(entry);
|
|
1184
|
+
});
|
|
1185
|
+
return retVal;
|
|
1186
|
+
};
|
|
1187
|
+
const de_SubscriberResource = (output, context) => {
|
|
1188
|
+
return smithyClient.take(output, {
|
|
1189
|
+
accessTypes: smithyClient._json,
|
|
1190
|
+
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1191
|
+
resourceShareArn: smithyClient.expectString,
|
|
1192
|
+
resourceShareName: smithyClient.expectString,
|
|
1193
|
+
roleArn: smithyClient.expectString,
|
|
1194
|
+
s3BucketArn: smithyClient.expectString,
|
|
1195
|
+
sources: smithyClient._json,
|
|
1196
|
+
subscriberArn: smithyClient.expectString,
|
|
1197
|
+
subscriberDescription: smithyClient.expectString,
|
|
1198
|
+
subscriberEndpoint: smithyClient.expectString,
|
|
1199
|
+
subscriberId: smithyClient.expectString,
|
|
1200
|
+
subscriberIdentity: smithyClient._json,
|
|
1201
|
+
subscriberName: smithyClient.expectString,
|
|
1202
|
+
subscriberStatus: smithyClient.expectString,
|
|
1203
|
+
updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1204
|
+
});
|
|
1205
|
+
};
|
|
1206
|
+
const de_SubscriberResourceList = (output, context) => {
|
|
1207
|
+
const retVal = (output || [])
|
|
1208
|
+
.filter((e) => e != null)
|
|
1209
|
+
.map((entry) => {
|
|
1210
|
+
return de_SubscriberResource(entry);
|
|
1211
|
+
});
|
|
1212
|
+
return retVal;
|
|
1213
|
+
};
|
|
1214
|
+
const deserializeMetadata = (output) => ({
|
|
1215
|
+
httpStatusCode: output.statusCode,
|
|
1216
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1217
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1218
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
1219
|
+
});
|
|
1220
|
+
const _mR = "maxResults";
|
|
1221
|
+
const _nT = "nextToken";
|
|
1222
|
+
const _r = "regions";
|
|
1223
|
+
const _rAS = "retryAfterSeconds";
|
|
1224
|
+
const _ra = "retry-after";
|
|
1225
|
+
const _sV = "sourceVersion";
|
|
1226
|
+
const _tK = "tagKeys";
|
|
1227
|
+
|
|
1228
|
+
class CreateAwsLogSourceCommand extends smithyClient.Command
|
|
1229
|
+
.classBuilder()
|
|
1230
|
+
.ep(commonParams)
|
|
1231
|
+
.m(function (Command, cs, config, o) {
|
|
1232
|
+
return [
|
|
1233
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1234
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1235
|
+
];
|
|
1236
|
+
})
|
|
1237
|
+
.s("SecurityLake", "CreateAwsLogSource", {})
|
|
1238
|
+
.n("SecurityLakeClient", "CreateAwsLogSourceCommand")
|
|
1239
|
+
.f(void 0, void 0)
|
|
1240
|
+
.ser(se_CreateAwsLogSourceCommand)
|
|
1241
|
+
.de(de_CreateAwsLogSourceCommand)
|
|
1242
|
+
.build() {
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1245
|
+
class CreateCustomLogSourceCommand extends smithyClient.Command
|
|
1246
|
+
.classBuilder()
|
|
1247
|
+
.ep(commonParams)
|
|
1248
|
+
.m(function (Command, cs, config, o) {
|
|
1249
|
+
return [
|
|
1250
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1251
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1252
|
+
];
|
|
1253
|
+
})
|
|
1254
|
+
.s("SecurityLake", "CreateCustomLogSource", {})
|
|
1255
|
+
.n("SecurityLakeClient", "CreateCustomLogSourceCommand")
|
|
1256
|
+
.f(void 0, void 0)
|
|
1257
|
+
.ser(se_CreateCustomLogSourceCommand)
|
|
1258
|
+
.de(de_CreateCustomLogSourceCommand)
|
|
1259
|
+
.build() {
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1262
|
+
class CreateDataLakeCommand extends smithyClient.Command
|
|
1263
|
+
.classBuilder()
|
|
1264
|
+
.ep(commonParams)
|
|
1265
|
+
.m(function (Command, cs, config, o) {
|
|
1266
|
+
return [
|
|
1267
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1268
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1269
|
+
];
|
|
1270
|
+
})
|
|
1271
|
+
.s("SecurityLake", "CreateDataLake", {})
|
|
1272
|
+
.n("SecurityLakeClient", "CreateDataLakeCommand")
|
|
1273
|
+
.f(void 0, void 0)
|
|
1274
|
+
.ser(se_CreateDataLakeCommand)
|
|
1275
|
+
.de(de_CreateDataLakeCommand)
|
|
1276
|
+
.build() {
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
class CreateDataLakeExceptionSubscriptionCommand extends smithyClient.Command
|
|
1280
|
+
.classBuilder()
|
|
1281
|
+
.ep(commonParams)
|
|
1282
|
+
.m(function (Command, cs, config, o) {
|
|
1283
|
+
return [
|
|
1284
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1285
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1286
|
+
];
|
|
1287
|
+
})
|
|
1288
|
+
.s("SecurityLake", "CreateDataLakeExceptionSubscription", {})
|
|
1289
|
+
.n("SecurityLakeClient", "CreateDataLakeExceptionSubscriptionCommand")
|
|
1290
|
+
.f(void 0, void 0)
|
|
1291
|
+
.ser(se_CreateDataLakeExceptionSubscriptionCommand)
|
|
1292
|
+
.de(de_CreateDataLakeExceptionSubscriptionCommand)
|
|
1293
|
+
.build() {
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
class CreateDataLakeOrganizationConfigurationCommand extends smithyClient.Command
|
|
1297
|
+
.classBuilder()
|
|
1298
|
+
.ep(commonParams)
|
|
1299
|
+
.m(function (Command, cs, config, o) {
|
|
1300
|
+
return [
|
|
1301
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1302
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1303
|
+
];
|
|
1304
|
+
})
|
|
1305
|
+
.s("SecurityLake", "CreateDataLakeOrganizationConfiguration", {})
|
|
1306
|
+
.n("SecurityLakeClient", "CreateDataLakeOrganizationConfigurationCommand")
|
|
1307
|
+
.f(void 0, void 0)
|
|
1308
|
+
.ser(se_CreateDataLakeOrganizationConfigurationCommand)
|
|
1309
|
+
.de(de_CreateDataLakeOrganizationConfigurationCommand)
|
|
1310
|
+
.build() {
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
class CreateSubscriberCommand extends smithyClient.Command
|
|
1314
|
+
.classBuilder()
|
|
1315
|
+
.ep(commonParams)
|
|
1316
|
+
.m(function (Command, cs, config, o) {
|
|
1317
|
+
return [
|
|
1318
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1319
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1320
|
+
];
|
|
1321
|
+
})
|
|
1322
|
+
.s("SecurityLake", "CreateSubscriber", {})
|
|
1323
|
+
.n("SecurityLakeClient", "CreateSubscriberCommand")
|
|
1324
|
+
.f(void 0, void 0)
|
|
1325
|
+
.ser(se_CreateSubscriberCommand)
|
|
1326
|
+
.de(de_CreateSubscriberCommand)
|
|
1327
|
+
.build() {
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
class CreateSubscriberNotificationCommand extends smithyClient.Command
|
|
1331
|
+
.classBuilder()
|
|
1332
|
+
.ep(commonParams)
|
|
1333
|
+
.m(function (Command, cs, config, o) {
|
|
1334
|
+
return [
|
|
1335
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1336
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1337
|
+
];
|
|
1338
|
+
})
|
|
1339
|
+
.s("SecurityLake", "CreateSubscriberNotification", {})
|
|
1340
|
+
.n("SecurityLakeClient", "CreateSubscriberNotificationCommand")
|
|
1341
|
+
.f(void 0, void 0)
|
|
1342
|
+
.ser(se_CreateSubscriberNotificationCommand)
|
|
1343
|
+
.de(de_CreateSubscriberNotificationCommand)
|
|
1344
|
+
.build() {
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
|
+
class DeleteAwsLogSourceCommand extends smithyClient.Command
|
|
1348
|
+
.classBuilder()
|
|
1349
|
+
.ep(commonParams)
|
|
1350
|
+
.m(function (Command, cs, config, o) {
|
|
1351
|
+
return [
|
|
1352
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1353
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1354
|
+
];
|
|
1355
|
+
})
|
|
1356
|
+
.s("SecurityLake", "DeleteAwsLogSource", {})
|
|
1357
|
+
.n("SecurityLakeClient", "DeleteAwsLogSourceCommand")
|
|
1358
|
+
.f(void 0, void 0)
|
|
1359
|
+
.ser(se_DeleteAwsLogSourceCommand)
|
|
1360
|
+
.de(de_DeleteAwsLogSourceCommand)
|
|
1361
|
+
.build() {
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1364
|
+
class DeleteCustomLogSourceCommand extends smithyClient.Command
|
|
1365
|
+
.classBuilder()
|
|
1366
|
+
.ep(commonParams)
|
|
1367
|
+
.m(function (Command, cs, config, o) {
|
|
1368
|
+
return [
|
|
1369
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1370
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1371
|
+
];
|
|
1372
|
+
})
|
|
1373
|
+
.s("SecurityLake", "DeleteCustomLogSource", {})
|
|
1374
|
+
.n("SecurityLakeClient", "DeleteCustomLogSourceCommand")
|
|
1375
|
+
.f(void 0, void 0)
|
|
1376
|
+
.ser(se_DeleteCustomLogSourceCommand)
|
|
1377
|
+
.de(de_DeleteCustomLogSourceCommand)
|
|
1378
|
+
.build() {
|
|
1379
|
+
}
|
|
1380
|
+
|
|
1381
|
+
class DeleteDataLakeCommand extends smithyClient.Command
|
|
1382
|
+
.classBuilder()
|
|
1383
|
+
.ep(commonParams)
|
|
1384
|
+
.m(function (Command, cs, config, o) {
|
|
1385
|
+
return [
|
|
1386
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1387
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1388
|
+
];
|
|
1389
|
+
})
|
|
1390
|
+
.s("SecurityLake", "DeleteDataLake", {})
|
|
1391
|
+
.n("SecurityLakeClient", "DeleteDataLakeCommand")
|
|
1392
|
+
.f(void 0, void 0)
|
|
1393
|
+
.ser(se_DeleteDataLakeCommand)
|
|
1394
|
+
.de(de_DeleteDataLakeCommand)
|
|
1395
|
+
.build() {
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
class DeleteDataLakeExceptionSubscriptionCommand extends smithyClient.Command
|
|
1399
|
+
.classBuilder()
|
|
1400
|
+
.ep(commonParams)
|
|
1401
|
+
.m(function (Command, cs, config, o) {
|
|
1402
|
+
return [
|
|
1403
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1404
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1405
|
+
];
|
|
1406
|
+
})
|
|
1407
|
+
.s("SecurityLake", "DeleteDataLakeExceptionSubscription", {})
|
|
1408
|
+
.n("SecurityLakeClient", "DeleteDataLakeExceptionSubscriptionCommand")
|
|
1409
|
+
.f(void 0, void 0)
|
|
1410
|
+
.ser(se_DeleteDataLakeExceptionSubscriptionCommand)
|
|
1411
|
+
.de(de_DeleteDataLakeExceptionSubscriptionCommand)
|
|
1412
|
+
.build() {
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1415
|
+
class DeleteDataLakeOrganizationConfigurationCommand extends smithyClient.Command
|
|
1416
|
+
.classBuilder()
|
|
1417
|
+
.ep(commonParams)
|
|
1418
|
+
.m(function (Command, cs, config, o) {
|
|
1419
|
+
return [
|
|
1420
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1421
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1422
|
+
];
|
|
1423
|
+
})
|
|
1424
|
+
.s("SecurityLake", "DeleteDataLakeOrganizationConfiguration", {})
|
|
1425
|
+
.n("SecurityLakeClient", "DeleteDataLakeOrganizationConfigurationCommand")
|
|
1426
|
+
.f(void 0, void 0)
|
|
1427
|
+
.ser(se_DeleteDataLakeOrganizationConfigurationCommand)
|
|
1428
|
+
.de(de_DeleteDataLakeOrganizationConfigurationCommand)
|
|
1429
|
+
.build() {
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
class DeleteSubscriberCommand extends smithyClient.Command
|
|
1433
|
+
.classBuilder()
|
|
1434
|
+
.ep(commonParams)
|
|
1435
|
+
.m(function (Command, cs, config, o) {
|
|
1436
|
+
return [
|
|
1437
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1438
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1439
|
+
];
|
|
1440
|
+
})
|
|
1441
|
+
.s("SecurityLake", "DeleteSubscriber", {})
|
|
1442
|
+
.n("SecurityLakeClient", "DeleteSubscriberCommand")
|
|
1443
|
+
.f(void 0, void 0)
|
|
1444
|
+
.ser(se_DeleteSubscriberCommand)
|
|
1445
|
+
.de(de_DeleteSubscriberCommand)
|
|
1446
|
+
.build() {
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
class DeleteSubscriberNotificationCommand extends smithyClient.Command
|
|
1450
|
+
.classBuilder()
|
|
1451
|
+
.ep(commonParams)
|
|
1452
|
+
.m(function (Command, cs, config, o) {
|
|
1453
|
+
return [
|
|
1454
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1455
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1456
|
+
];
|
|
1457
|
+
})
|
|
1458
|
+
.s("SecurityLake", "DeleteSubscriberNotification", {})
|
|
1459
|
+
.n("SecurityLakeClient", "DeleteSubscriberNotificationCommand")
|
|
1460
|
+
.f(void 0, void 0)
|
|
1461
|
+
.ser(se_DeleteSubscriberNotificationCommand)
|
|
1462
|
+
.de(de_DeleteSubscriberNotificationCommand)
|
|
1463
|
+
.build() {
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1466
|
+
class DeregisterDataLakeDelegatedAdministratorCommand extends smithyClient.Command
|
|
1467
|
+
.classBuilder()
|
|
1468
|
+
.ep(commonParams)
|
|
1469
|
+
.m(function (Command, cs, config, o) {
|
|
1470
|
+
return [
|
|
1471
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1472
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1473
|
+
];
|
|
1474
|
+
})
|
|
1475
|
+
.s("SecurityLake", "DeregisterDataLakeDelegatedAdministrator", {})
|
|
1476
|
+
.n("SecurityLakeClient", "DeregisterDataLakeDelegatedAdministratorCommand")
|
|
1477
|
+
.f(void 0, void 0)
|
|
1478
|
+
.ser(se_DeregisterDataLakeDelegatedAdministratorCommand)
|
|
1479
|
+
.de(de_DeregisterDataLakeDelegatedAdministratorCommand)
|
|
1480
|
+
.build() {
|
|
1481
|
+
}
|
|
1482
|
+
|
|
1483
|
+
class GetDataLakeExceptionSubscriptionCommand extends smithyClient.Command
|
|
1484
|
+
.classBuilder()
|
|
1485
|
+
.ep(commonParams)
|
|
1486
|
+
.m(function (Command, cs, config, o) {
|
|
1487
|
+
return [
|
|
1488
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1489
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1490
|
+
];
|
|
1491
|
+
})
|
|
1492
|
+
.s("SecurityLake", "GetDataLakeExceptionSubscription", {})
|
|
1493
|
+
.n("SecurityLakeClient", "GetDataLakeExceptionSubscriptionCommand")
|
|
1494
|
+
.f(void 0, void 0)
|
|
1495
|
+
.ser(se_GetDataLakeExceptionSubscriptionCommand)
|
|
1496
|
+
.de(de_GetDataLakeExceptionSubscriptionCommand)
|
|
1497
|
+
.build() {
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1500
|
+
class GetDataLakeOrganizationConfigurationCommand extends smithyClient.Command
|
|
1501
|
+
.classBuilder()
|
|
1502
|
+
.ep(commonParams)
|
|
1503
|
+
.m(function (Command, cs, config, o) {
|
|
1504
|
+
return [
|
|
1505
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1506
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1507
|
+
];
|
|
1508
|
+
})
|
|
1509
|
+
.s("SecurityLake", "GetDataLakeOrganizationConfiguration", {})
|
|
1510
|
+
.n("SecurityLakeClient", "GetDataLakeOrganizationConfigurationCommand")
|
|
1511
|
+
.f(void 0, void 0)
|
|
1512
|
+
.ser(se_GetDataLakeOrganizationConfigurationCommand)
|
|
1513
|
+
.de(de_GetDataLakeOrganizationConfigurationCommand)
|
|
1514
|
+
.build() {
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1517
|
+
class GetDataLakeSourcesCommand extends smithyClient.Command
|
|
1518
|
+
.classBuilder()
|
|
1519
|
+
.ep(commonParams)
|
|
1520
|
+
.m(function (Command, cs, config, o) {
|
|
1521
|
+
return [
|
|
1522
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1523
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1524
|
+
];
|
|
1525
|
+
})
|
|
1526
|
+
.s("SecurityLake", "GetDataLakeSources", {})
|
|
1527
|
+
.n("SecurityLakeClient", "GetDataLakeSourcesCommand")
|
|
1528
|
+
.f(void 0, void 0)
|
|
1529
|
+
.ser(se_GetDataLakeSourcesCommand)
|
|
1530
|
+
.de(de_GetDataLakeSourcesCommand)
|
|
1531
|
+
.build() {
|
|
1532
|
+
}
|
|
1533
|
+
|
|
1534
|
+
class GetSubscriberCommand extends smithyClient.Command
|
|
1535
|
+
.classBuilder()
|
|
1536
|
+
.ep(commonParams)
|
|
1537
|
+
.m(function (Command, cs, config, o) {
|
|
1538
|
+
return [
|
|
1539
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1540
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1541
|
+
];
|
|
1542
|
+
})
|
|
1543
|
+
.s("SecurityLake", "GetSubscriber", {})
|
|
1544
|
+
.n("SecurityLakeClient", "GetSubscriberCommand")
|
|
1545
|
+
.f(void 0, void 0)
|
|
1546
|
+
.ser(se_GetSubscriberCommand)
|
|
1547
|
+
.de(de_GetSubscriberCommand)
|
|
1548
|
+
.build() {
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1551
|
+
class ListDataLakeExceptionsCommand extends smithyClient.Command
|
|
1552
|
+
.classBuilder()
|
|
1553
|
+
.ep(commonParams)
|
|
1554
|
+
.m(function (Command, cs, config, o) {
|
|
1555
|
+
return [
|
|
1556
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1557
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1558
|
+
];
|
|
1559
|
+
})
|
|
1560
|
+
.s("SecurityLake", "ListDataLakeExceptions", {})
|
|
1561
|
+
.n("SecurityLakeClient", "ListDataLakeExceptionsCommand")
|
|
1562
|
+
.f(void 0, void 0)
|
|
1563
|
+
.ser(se_ListDataLakeExceptionsCommand)
|
|
1564
|
+
.de(de_ListDataLakeExceptionsCommand)
|
|
1565
|
+
.build() {
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
class ListDataLakesCommand extends smithyClient.Command
|
|
1569
|
+
.classBuilder()
|
|
1570
|
+
.ep(commonParams)
|
|
1571
|
+
.m(function (Command, cs, config, o) {
|
|
1572
|
+
return [
|
|
1573
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1574
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1575
|
+
];
|
|
1576
|
+
})
|
|
1577
|
+
.s("SecurityLake", "ListDataLakes", {})
|
|
1578
|
+
.n("SecurityLakeClient", "ListDataLakesCommand")
|
|
1579
|
+
.f(void 0, void 0)
|
|
1580
|
+
.ser(se_ListDataLakesCommand)
|
|
1581
|
+
.de(de_ListDataLakesCommand)
|
|
1582
|
+
.build() {
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
class ListLogSourcesCommand extends smithyClient.Command
|
|
1586
|
+
.classBuilder()
|
|
1587
|
+
.ep(commonParams)
|
|
1588
|
+
.m(function (Command, cs, config, o) {
|
|
1589
|
+
return [
|
|
1590
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1591
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1592
|
+
];
|
|
1593
|
+
})
|
|
1594
|
+
.s("SecurityLake", "ListLogSources", {})
|
|
1595
|
+
.n("SecurityLakeClient", "ListLogSourcesCommand")
|
|
1596
|
+
.f(void 0, void 0)
|
|
1597
|
+
.ser(se_ListLogSourcesCommand)
|
|
1598
|
+
.de(de_ListLogSourcesCommand)
|
|
1599
|
+
.build() {
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1602
|
+
class ListSubscribersCommand extends smithyClient.Command
|
|
1603
|
+
.classBuilder()
|
|
1604
|
+
.ep(commonParams)
|
|
1605
|
+
.m(function (Command, cs, config, o) {
|
|
1606
|
+
return [
|
|
1607
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1608
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1609
|
+
];
|
|
1610
|
+
})
|
|
1611
|
+
.s("SecurityLake", "ListSubscribers", {})
|
|
1612
|
+
.n("SecurityLakeClient", "ListSubscribersCommand")
|
|
1613
|
+
.f(void 0, void 0)
|
|
1614
|
+
.ser(se_ListSubscribersCommand)
|
|
1615
|
+
.de(de_ListSubscribersCommand)
|
|
1616
|
+
.build() {
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
class ListTagsForResourceCommand extends smithyClient.Command
|
|
1620
|
+
.classBuilder()
|
|
1621
|
+
.ep(commonParams)
|
|
1622
|
+
.m(function (Command, cs, config, o) {
|
|
1623
|
+
return [
|
|
1624
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1625
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1626
|
+
];
|
|
1627
|
+
})
|
|
1628
|
+
.s("SecurityLake", "ListTagsForResource", {})
|
|
1629
|
+
.n("SecurityLakeClient", "ListTagsForResourceCommand")
|
|
1630
|
+
.f(void 0, void 0)
|
|
1631
|
+
.ser(se_ListTagsForResourceCommand)
|
|
1632
|
+
.de(de_ListTagsForResourceCommand)
|
|
1633
|
+
.build() {
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1636
|
+
class RegisterDataLakeDelegatedAdministratorCommand extends smithyClient.Command
|
|
1637
|
+
.classBuilder()
|
|
1638
|
+
.ep(commonParams)
|
|
1639
|
+
.m(function (Command, cs, config, o) {
|
|
1640
|
+
return [
|
|
1641
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1642
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1643
|
+
];
|
|
1644
|
+
})
|
|
1645
|
+
.s("SecurityLake", "RegisterDataLakeDelegatedAdministrator", {})
|
|
1646
|
+
.n("SecurityLakeClient", "RegisterDataLakeDelegatedAdministratorCommand")
|
|
1647
|
+
.f(void 0, void 0)
|
|
1648
|
+
.ser(se_RegisterDataLakeDelegatedAdministratorCommand)
|
|
1649
|
+
.de(de_RegisterDataLakeDelegatedAdministratorCommand)
|
|
1650
|
+
.build() {
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1653
|
+
class TagResourceCommand extends smithyClient.Command
|
|
1654
|
+
.classBuilder()
|
|
1655
|
+
.ep(commonParams)
|
|
1656
|
+
.m(function (Command, cs, config, o) {
|
|
1657
|
+
return [
|
|
1658
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1659
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1660
|
+
];
|
|
1661
|
+
})
|
|
1662
|
+
.s("SecurityLake", "TagResource", {})
|
|
1663
|
+
.n("SecurityLakeClient", "TagResourceCommand")
|
|
1664
|
+
.f(void 0, void 0)
|
|
1665
|
+
.ser(se_TagResourceCommand)
|
|
1666
|
+
.de(de_TagResourceCommand)
|
|
1667
|
+
.build() {
|
|
1668
|
+
}
|
|
1669
|
+
|
|
1670
|
+
class UntagResourceCommand extends smithyClient.Command
|
|
1671
|
+
.classBuilder()
|
|
1672
|
+
.ep(commonParams)
|
|
1673
|
+
.m(function (Command, cs, config, o) {
|
|
1674
|
+
return [
|
|
1675
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1676
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1677
|
+
];
|
|
1678
|
+
})
|
|
1679
|
+
.s("SecurityLake", "UntagResource", {})
|
|
1680
|
+
.n("SecurityLakeClient", "UntagResourceCommand")
|
|
1681
|
+
.f(void 0, void 0)
|
|
1682
|
+
.ser(se_UntagResourceCommand)
|
|
1683
|
+
.de(de_UntagResourceCommand)
|
|
1684
|
+
.build() {
|
|
1685
|
+
}
|
|
1686
|
+
|
|
1687
|
+
class UpdateDataLakeCommand extends smithyClient.Command
|
|
1688
|
+
.classBuilder()
|
|
1689
|
+
.ep(commonParams)
|
|
1690
|
+
.m(function (Command, cs, config, o) {
|
|
1691
|
+
return [
|
|
1692
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1693
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1694
|
+
];
|
|
1695
|
+
})
|
|
1696
|
+
.s("SecurityLake", "UpdateDataLake", {})
|
|
1697
|
+
.n("SecurityLakeClient", "UpdateDataLakeCommand")
|
|
1698
|
+
.f(void 0, void 0)
|
|
1699
|
+
.ser(se_UpdateDataLakeCommand)
|
|
1700
|
+
.de(de_UpdateDataLakeCommand)
|
|
1701
|
+
.build() {
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1704
|
+
class UpdateDataLakeExceptionSubscriptionCommand extends smithyClient.Command
|
|
1705
|
+
.classBuilder()
|
|
1706
|
+
.ep(commonParams)
|
|
1707
|
+
.m(function (Command, cs, config, o) {
|
|
1708
|
+
return [
|
|
1709
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1710
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1711
|
+
];
|
|
1712
|
+
})
|
|
1713
|
+
.s("SecurityLake", "UpdateDataLakeExceptionSubscription", {})
|
|
1714
|
+
.n("SecurityLakeClient", "UpdateDataLakeExceptionSubscriptionCommand")
|
|
1715
|
+
.f(void 0, void 0)
|
|
1716
|
+
.ser(se_UpdateDataLakeExceptionSubscriptionCommand)
|
|
1717
|
+
.de(de_UpdateDataLakeExceptionSubscriptionCommand)
|
|
1718
|
+
.build() {
|
|
1719
|
+
}
|
|
1720
|
+
|
|
1721
|
+
class UpdateSubscriberCommand extends smithyClient.Command
|
|
1722
|
+
.classBuilder()
|
|
1723
|
+
.ep(commonParams)
|
|
1724
|
+
.m(function (Command, cs, config, o) {
|
|
1725
|
+
return [
|
|
1726
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1727
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1728
|
+
];
|
|
1729
|
+
})
|
|
1730
|
+
.s("SecurityLake", "UpdateSubscriber", {})
|
|
1731
|
+
.n("SecurityLakeClient", "UpdateSubscriberCommand")
|
|
1732
|
+
.f(void 0, void 0)
|
|
1733
|
+
.ser(se_UpdateSubscriberCommand)
|
|
1734
|
+
.de(de_UpdateSubscriberCommand)
|
|
1735
|
+
.build() {
|
|
1736
|
+
}
|
|
1737
|
+
|
|
1738
|
+
class UpdateSubscriberNotificationCommand extends smithyClient.Command
|
|
1739
|
+
.classBuilder()
|
|
1740
|
+
.ep(commonParams)
|
|
1741
|
+
.m(function (Command, cs, config, o) {
|
|
1742
|
+
return [
|
|
1743
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1744
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1745
|
+
];
|
|
1746
|
+
})
|
|
1747
|
+
.s("SecurityLake", "UpdateSubscriberNotification", {})
|
|
1748
|
+
.n("SecurityLakeClient", "UpdateSubscriberNotificationCommand")
|
|
1749
|
+
.f(void 0, void 0)
|
|
1750
|
+
.ser(se_UpdateSubscriberNotificationCommand)
|
|
1751
|
+
.de(de_UpdateSubscriberNotificationCommand)
|
|
1752
|
+
.build() {
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
const commands = {
|
|
1756
|
+
CreateAwsLogSourceCommand,
|
|
1757
|
+
CreateCustomLogSourceCommand,
|
|
1758
|
+
CreateDataLakeCommand,
|
|
1759
|
+
CreateDataLakeExceptionSubscriptionCommand,
|
|
1760
|
+
CreateDataLakeOrganizationConfigurationCommand,
|
|
1761
|
+
CreateSubscriberCommand,
|
|
1762
|
+
CreateSubscriberNotificationCommand,
|
|
1763
|
+
DeleteAwsLogSourceCommand,
|
|
1764
|
+
DeleteCustomLogSourceCommand,
|
|
1765
|
+
DeleteDataLakeCommand,
|
|
1766
|
+
DeleteDataLakeExceptionSubscriptionCommand,
|
|
1767
|
+
DeleteDataLakeOrganizationConfigurationCommand,
|
|
1768
|
+
DeleteSubscriberCommand,
|
|
1769
|
+
DeleteSubscriberNotificationCommand,
|
|
1770
|
+
DeregisterDataLakeDelegatedAdministratorCommand,
|
|
1771
|
+
GetDataLakeExceptionSubscriptionCommand,
|
|
1772
|
+
GetDataLakeOrganizationConfigurationCommand,
|
|
1773
|
+
GetDataLakeSourcesCommand,
|
|
1774
|
+
GetSubscriberCommand,
|
|
1775
|
+
ListDataLakeExceptionsCommand,
|
|
1776
|
+
ListDataLakesCommand,
|
|
1777
|
+
ListLogSourcesCommand,
|
|
1778
|
+
ListSubscribersCommand,
|
|
1779
|
+
ListTagsForResourceCommand,
|
|
1780
|
+
RegisterDataLakeDelegatedAdministratorCommand,
|
|
1781
|
+
TagResourceCommand,
|
|
1782
|
+
UntagResourceCommand,
|
|
1783
|
+
UpdateDataLakeCommand,
|
|
1784
|
+
UpdateDataLakeExceptionSubscriptionCommand,
|
|
1785
|
+
UpdateSubscriberCommand,
|
|
1786
|
+
UpdateSubscriberNotificationCommand,
|
|
1787
|
+
};
|
|
1788
|
+
class SecurityLake extends SecurityLakeClient {
|
|
1789
|
+
}
|
|
1790
|
+
smithyClient.createAggregatedClient(commands, SecurityLake);
|
|
1920
1791
|
|
|
1921
|
-
|
|
1922
|
-
var commands = {
|
|
1923
|
-
CreateAwsLogSourceCommand,
|
|
1924
|
-
CreateCustomLogSourceCommand,
|
|
1925
|
-
CreateDataLakeCommand,
|
|
1926
|
-
CreateDataLakeExceptionSubscriptionCommand,
|
|
1927
|
-
CreateDataLakeOrganizationConfigurationCommand,
|
|
1928
|
-
CreateSubscriberCommand,
|
|
1929
|
-
CreateSubscriberNotificationCommand,
|
|
1930
|
-
DeleteAwsLogSourceCommand,
|
|
1931
|
-
DeleteCustomLogSourceCommand,
|
|
1932
|
-
DeleteDataLakeCommand,
|
|
1933
|
-
DeleteDataLakeExceptionSubscriptionCommand,
|
|
1934
|
-
DeleteDataLakeOrganizationConfigurationCommand,
|
|
1935
|
-
DeleteSubscriberCommand,
|
|
1936
|
-
DeleteSubscriberNotificationCommand,
|
|
1937
|
-
DeregisterDataLakeDelegatedAdministratorCommand,
|
|
1938
|
-
GetDataLakeExceptionSubscriptionCommand,
|
|
1939
|
-
GetDataLakeOrganizationConfigurationCommand,
|
|
1940
|
-
GetDataLakeSourcesCommand,
|
|
1941
|
-
GetSubscriberCommand,
|
|
1942
|
-
ListDataLakeExceptionsCommand,
|
|
1943
|
-
ListDataLakesCommand,
|
|
1944
|
-
ListLogSourcesCommand,
|
|
1945
|
-
ListSubscribersCommand,
|
|
1946
|
-
ListTagsForResourceCommand,
|
|
1947
|
-
RegisterDataLakeDelegatedAdministratorCommand,
|
|
1948
|
-
TagResourceCommand,
|
|
1949
|
-
UntagResourceCommand,
|
|
1950
|
-
UpdateDataLakeCommand,
|
|
1951
|
-
UpdateDataLakeExceptionSubscriptionCommand,
|
|
1952
|
-
UpdateSubscriberCommand,
|
|
1953
|
-
UpdateSubscriberNotificationCommand
|
|
1954
|
-
};
|
|
1955
|
-
var SecurityLake = class extends SecurityLakeClient {
|
|
1956
|
-
static {
|
|
1957
|
-
__name(this, "SecurityLake");
|
|
1958
|
-
}
|
|
1959
|
-
};
|
|
1960
|
-
(0, import_smithy_client.createAggregatedClient)(commands, SecurityLake);
|
|
1961
|
-
|
|
1962
|
-
// src/pagination/GetDataLakeSourcesPaginator.ts
|
|
1963
|
-
|
|
1964
|
-
var paginateGetDataLakeSources = (0, import_core.createPaginator)(SecurityLakeClient, GetDataLakeSourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
1965
|
-
|
|
1966
|
-
// src/pagination/ListDataLakeExceptionsPaginator.ts
|
|
1967
|
-
|
|
1968
|
-
var paginateListDataLakeExceptions = (0, import_core.createPaginator)(SecurityLakeClient, ListDataLakeExceptionsCommand, "nextToken", "nextToken", "maxResults");
|
|
1969
|
-
|
|
1970
|
-
// src/pagination/ListLogSourcesPaginator.ts
|
|
1792
|
+
const paginateGetDataLakeSources = core.createPaginator(SecurityLakeClient, GetDataLakeSourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
1971
1793
|
|
|
1972
|
-
|
|
1794
|
+
const paginateListDataLakeExceptions = core.createPaginator(SecurityLakeClient, ListDataLakeExceptionsCommand, "nextToken", "nextToken", "maxResults");
|
|
1973
1795
|
|
|
1974
|
-
|
|
1796
|
+
const paginateListLogSources = core.createPaginator(SecurityLakeClient, ListLogSourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
1975
1797
|
|
|
1976
|
-
|
|
1977
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
1798
|
+
const paginateListSubscribers = core.createPaginator(SecurityLakeClient, ListSubscribersCommand, "nextToken", "nextToken", "maxResults");
|
|
1978
1799
|
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
SecurityLakeClient,
|
|
1983
|
-
SecurityLake,
|
|
1984
|
-
$Command,
|
|
1985
|
-
CreateAwsLogSourceCommand,
|
|
1986
|
-
CreateCustomLogSourceCommand,
|
|
1987
|
-
CreateDataLakeCommand,
|
|
1988
|
-
CreateDataLakeExceptionSubscriptionCommand,
|
|
1989
|
-
CreateDataLakeOrganizationConfigurationCommand,
|
|
1990
|
-
CreateSubscriberCommand,
|
|
1991
|
-
CreateSubscriberNotificationCommand,
|
|
1992
|
-
DeleteAwsLogSourceCommand,
|
|
1993
|
-
DeleteCustomLogSourceCommand,
|
|
1994
|
-
DeleteDataLakeCommand,
|
|
1995
|
-
DeleteDataLakeExceptionSubscriptionCommand,
|
|
1996
|
-
DeleteDataLakeOrganizationConfigurationCommand,
|
|
1997
|
-
DeleteSubscriberCommand,
|
|
1998
|
-
DeleteSubscriberNotificationCommand,
|
|
1999
|
-
DeregisterDataLakeDelegatedAdministratorCommand,
|
|
2000
|
-
GetDataLakeExceptionSubscriptionCommand,
|
|
2001
|
-
GetDataLakeOrganizationConfigurationCommand,
|
|
2002
|
-
GetDataLakeSourcesCommand,
|
|
2003
|
-
GetSubscriberCommand,
|
|
2004
|
-
ListDataLakeExceptionsCommand,
|
|
2005
|
-
ListDataLakesCommand,
|
|
2006
|
-
ListLogSourcesCommand,
|
|
2007
|
-
ListSubscribersCommand,
|
|
2008
|
-
ListTagsForResourceCommand,
|
|
2009
|
-
RegisterDataLakeDelegatedAdministratorCommand,
|
|
2010
|
-
TagResourceCommand,
|
|
2011
|
-
UntagResourceCommand,
|
|
2012
|
-
UpdateDataLakeCommand,
|
|
2013
|
-
UpdateDataLakeExceptionSubscriptionCommand,
|
|
2014
|
-
UpdateSubscriberCommand,
|
|
2015
|
-
UpdateSubscriberNotificationCommand,
|
|
2016
|
-
paginateGetDataLakeSources,
|
|
2017
|
-
paginateListDataLakeExceptions,
|
|
2018
|
-
paginateListLogSources,
|
|
2019
|
-
paginateListSubscribers,
|
|
2020
|
-
AccessDeniedException,
|
|
2021
|
-
AccessType,
|
|
2022
|
-
AwsLogSourceName,
|
|
2023
|
-
BadRequestException,
|
|
2024
|
-
ConflictException,
|
|
2025
|
-
InternalServerException,
|
|
2026
|
-
ResourceNotFoundException,
|
|
2027
|
-
ThrottlingException,
|
|
2028
|
-
DataLakeStatus,
|
|
2029
|
-
LogSourceResource,
|
|
2030
|
-
SubscriberStatus,
|
|
2031
|
-
HttpMethod,
|
|
2032
|
-
NotificationConfiguration,
|
|
2033
|
-
SourceCollectionStatus
|
|
1800
|
+
Object.defineProperty(exports, "$Command", {
|
|
1801
|
+
enumerable: true,
|
|
1802
|
+
get: function () { return smithyClient.Command; }
|
|
2034
1803
|
});
|
|
2035
|
-
|
|
1804
|
+
Object.defineProperty(exports, "__Client", {
|
|
1805
|
+
enumerable: true,
|
|
1806
|
+
get: function () { return smithyClient.Client; }
|
|
1807
|
+
});
|
|
1808
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1809
|
+
exports.AccessType = AccessType;
|
|
1810
|
+
exports.AwsLogSourceName = AwsLogSourceName;
|
|
1811
|
+
exports.BadRequestException = BadRequestException;
|
|
1812
|
+
exports.ConflictException = ConflictException;
|
|
1813
|
+
exports.CreateAwsLogSourceCommand = CreateAwsLogSourceCommand;
|
|
1814
|
+
exports.CreateCustomLogSourceCommand = CreateCustomLogSourceCommand;
|
|
1815
|
+
exports.CreateDataLakeCommand = CreateDataLakeCommand;
|
|
1816
|
+
exports.CreateDataLakeExceptionSubscriptionCommand = CreateDataLakeExceptionSubscriptionCommand;
|
|
1817
|
+
exports.CreateDataLakeOrganizationConfigurationCommand = CreateDataLakeOrganizationConfigurationCommand;
|
|
1818
|
+
exports.CreateSubscriberCommand = CreateSubscriberCommand;
|
|
1819
|
+
exports.CreateSubscriberNotificationCommand = CreateSubscriberNotificationCommand;
|
|
1820
|
+
exports.DataLakeStatus = DataLakeStatus;
|
|
1821
|
+
exports.DeleteAwsLogSourceCommand = DeleteAwsLogSourceCommand;
|
|
1822
|
+
exports.DeleteCustomLogSourceCommand = DeleteCustomLogSourceCommand;
|
|
1823
|
+
exports.DeleteDataLakeCommand = DeleteDataLakeCommand;
|
|
1824
|
+
exports.DeleteDataLakeExceptionSubscriptionCommand = DeleteDataLakeExceptionSubscriptionCommand;
|
|
1825
|
+
exports.DeleteDataLakeOrganizationConfigurationCommand = DeleteDataLakeOrganizationConfigurationCommand;
|
|
1826
|
+
exports.DeleteSubscriberCommand = DeleteSubscriberCommand;
|
|
1827
|
+
exports.DeleteSubscriberNotificationCommand = DeleteSubscriberNotificationCommand;
|
|
1828
|
+
exports.DeregisterDataLakeDelegatedAdministratorCommand = DeregisterDataLakeDelegatedAdministratorCommand;
|
|
1829
|
+
exports.GetDataLakeExceptionSubscriptionCommand = GetDataLakeExceptionSubscriptionCommand;
|
|
1830
|
+
exports.GetDataLakeOrganizationConfigurationCommand = GetDataLakeOrganizationConfigurationCommand;
|
|
1831
|
+
exports.GetDataLakeSourcesCommand = GetDataLakeSourcesCommand;
|
|
1832
|
+
exports.GetSubscriberCommand = GetSubscriberCommand;
|
|
1833
|
+
exports.HttpMethod = HttpMethod;
|
|
1834
|
+
exports.InternalServerException = InternalServerException;
|
|
1835
|
+
exports.ListDataLakeExceptionsCommand = ListDataLakeExceptionsCommand;
|
|
1836
|
+
exports.ListDataLakesCommand = ListDataLakesCommand;
|
|
1837
|
+
exports.ListLogSourcesCommand = ListLogSourcesCommand;
|
|
1838
|
+
exports.ListSubscribersCommand = ListSubscribersCommand;
|
|
1839
|
+
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1840
|
+
exports.RegisterDataLakeDelegatedAdministratorCommand = RegisterDataLakeDelegatedAdministratorCommand;
|
|
1841
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1842
|
+
exports.SecurityLake = SecurityLake;
|
|
1843
|
+
exports.SecurityLakeClient = SecurityLakeClient;
|
|
1844
|
+
exports.SecurityLakeServiceException = SecurityLakeServiceException;
|
|
1845
|
+
exports.SourceCollectionStatus = SourceCollectionStatus;
|
|
1846
|
+
exports.SubscriberStatus = SubscriberStatus;
|
|
1847
|
+
exports.TagResourceCommand = TagResourceCommand;
|
|
1848
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1849
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1850
|
+
exports.UpdateDataLakeCommand = UpdateDataLakeCommand;
|
|
1851
|
+
exports.UpdateDataLakeExceptionSubscriptionCommand = UpdateDataLakeExceptionSubscriptionCommand;
|
|
1852
|
+
exports.UpdateSubscriberCommand = UpdateSubscriberCommand;
|
|
1853
|
+
exports.UpdateSubscriberNotificationCommand = UpdateSubscriberNotificationCommand;
|
|
1854
|
+
exports.paginateGetDataLakeSources = paginateGetDataLakeSources;
|
|
1855
|
+
exports.paginateListDataLakeExceptions = paginateListDataLakeExceptions;
|
|
1856
|
+
exports.paginateListLogSources = paginateListLogSources;
|
|
1857
|
+
exports.paginateListSubscribers = paginateListSubscribers;
|