@aws-sdk/client-supplychain 3.899.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.
Files changed (2) hide show
  1. package/dist-cjs/index.js +2013 -2168
  2. package/package.json +38 -38
package/dist-cjs/index.js CHANGED
@@ -1,2215 +1,2060 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
-
21
- // src/index.ts
22
- var index_exports = {};
23
- __export(index_exports, {
24
- AccessDeniedException: () => AccessDeniedException,
25
- ConfigurationJobStatus: () => ConfigurationJobStatus,
26
- ConflictException: () => ConflictException,
27
- CreateBillOfMaterialsImportJobCommand: () => CreateBillOfMaterialsImportJobCommand,
28
- CreateDataIntegrationFlowCommand: () => CreateDataIntegrationFlowCommand,
29
- CreateDataIntegrationFlowRequestFilterSensitiveLog: () => CreateDataIntegrationFlowRequestFilterSensitiveLog,
30
- CreateDataLakeDatasetCommand: () => CreateDataLakeDatasetCommand,
31
- CreateDataLakeNamespaceCommand: () => CreateDataLakeNamespaceCommand,
32
- CreateInstanceCommand: () => CreateInstanceCommand,
33
- DataIntegrationEventDatasetLoadStatus: () => DataIntegrationEventDatasetLoadStatus,
34
- DataIntegrationEventDatasetOperationType: () => DataIntegrationEventDatasetOperationType,
35
- DataIntegrationEventType: () => DataIntegrationEventType,
36
- DataIntegrationFlowDedupeStrategyType: () => DataIntegrationFlowDedupeStrategyType,
37
- DataIntegrationFlowExecutionStatus: () => DataIntegrationFlowExecutionStatus,
38
- DataIntegrationFlowFieldPriorityDedupeSortOrder: () => DataIntegrationFlowFieldPriorityDedupeSortOrder,
39
- DataIntegrationFlowFileType: () => DataIntegrationFlowFileType,
40
- DataIntegrationFlowFilterSensitiveLog: () => DataIntegrationFlowFilterSensitiveLog,
41
- DataIntegrationFlowLoadType: () => DataIntegrationFlowLoadType,
42
- DataIntegrationFlowSQLTransformationConfigurationFilterSensitiveLog: () => DataIntegrationFlowSQLTransformationConfigurationFilterSensitiveLog,
43
- DataIntegrationFlowSourceType: () => DataIntegrationFlowSourceType,
44
- DataIntegrationFlowTargetType: () => DataIntegrationFlowTargetType,
45
- DataIntegrationFlowTransformationFilterSensitiveLog: () => DataIntegrationFlowTransformationFilterSensitiveLog,
46
- DataIntegrationFlowTransformationType: () => DataIntegrationFlowTransformationType,
47
- DataLakeDatasetPartitionTransformType: () => DataLakeDatasetPartitionTransformType,
48
- DataLakeDatasetSchemaFieldType: () => DataLakeDatasetSchemaFieldType,
49
- DeleteDataIntegrationFlowCommand: () => DeleteDataIntegrationFlowCommand,
50
- DeleteDataLakeDatasetCommand: () => DeleteDataLakeDatasetCommand,
51
- DeleteDataLakeNamespaceCommand: () => DeleteDataLakeNamespaceCommand,
52
- DeleteInstanceCommand: () => DeleteInstanceCommand,
53
- GetBillOfMaterialsImportJobCommand: () => GetBillOfMaterialsImportJobCommand,
54
- GetDataIntegrationEventCommand: () => GetDataIntegrationEventCommand,
55
- GetDataIntegrationFlowCommand: () => GetDataIntegrationFlowCommand,
56
- GetDataIntegrationFlowExecutionCommand: () => GetDataIntegrationFlowExecutionCommand,
57
- GetDataIntegrationFlowResponseFilterSensitiveLog: () => GetDataIntegrationFlowResponseFilterSensitiveLog,
58
- GetDataLakeDatasetCommand: () => GetDataLakeDatasetCommand,
59
- GetDataLakeNamespaceCommand: () => GetDataLakeNamespaceCommand,
60
- GetInstanceCommand: () => GetInstanceCommand,
61
- InstanceState: () => InstanceState,
62
- InternalServerException: () => InternalServerException,
63
- ListDataIntegrationEventsCommand: () => ListDataIntegrationEventsCommand,
64
- ListDataIntegrationFlowExecutionsCommand: () => ListDataIntegrationFlowExecutionsCommand,
65
- ListDataIntegrationFlowsCommand: () => ListDataIntegrationFlowsCommand,
66
- ListDataIntegrationFlowsResponseFilterSensitiveLog: () => ListDataIntegrationFlowsResponseFilterSensitiveLog,
67
- ListDataLakeDatasetsCommand: () => ListDataLakeDatasetsCommand,
68
- ListDataLakeNamespacesCommand: () => ListDataLakeNamespacesCommand,
69
- ListInstancesCommand: () => ListInstancesCommand,
70
- ListTagsForResourceCommand: () => ListTagsForResourceCommand,
71
- ResourceNotFoundException: () => ResourceNotFoundException,
72
- SendDataIntegrationEventCommand: () => SendDataIntegrationEventCommand,
73
- SendDataIntegrationEventRequestFilterSensitiveLog: () => SendDataIntegrationEventRequestFilterSensitiveLog,
74
- ServiceQuotaExceededException: () => ServiceQuotaExceededException,
75
- SupplyChain: () => SupplyChain,
76
- SupplyChainClient: () => SupplyChainClient,
77
- SupplyChainServiceException: () => SupplyChainServiceException,
78
- TagResourceCommand: () => TagResourceCommand,
79
- ThrottlingException: () => ThrottlingException,
80
- UntagResourceCommand: () => UntagResourceCommand,
81
- UpdateDataIntegrationFlowCommand: () => UpdateDataIntegrationFlowCommand,
82
- UpdateDataIntegrationFlowRequestFilterSensitiveLog: () => UpdateDataIntegrationFlowRequestFilterSensitiveLog,
83
- UpdateDataIntegrationFlowResponseFilterSensitiveLog: () => UpdateDataIntegrationFlowResponseFilterSensitiveLog,
84
- UpdateDataLakeDatasetCommand: () => UpdateDataLakeDatasetCommand,
85
- UpdateDataLakeNamespaceCommand: () => UpdateDataLakeNamespaceCommand,
86
- UpdateInstanceCommand: () => UpdateInstanceCommand,
87
- ValidationException: () => ValidationException,
88
- __Client: () => import_smithy_client.Client,
89
- paginateListDataIntegrationEvents: () => paginateListDataIntegrationEvents,
90
- paginateListDataIntegrationFlowExecutions: () => paginateListDataIntegrationFlowExecutions,
91
- paginateListDataIntegrationFlows: () => paginateListDataIntegrationFlows,
92
- paginateListDataLakeDatasets: () => paginateListDataLakeDatasets,
93
- paginateListDataLakeNamespaces: () => paginateListDataLakeNamespaces,
94
- paginateListInstances: () => paginateListInstances
95
- });
96
- module.exports = __toCommonJS(index_exports);
97
-
98
- // src/SupplyChainClient.ts
99
- var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
100
- var import_middleware_logger = require("@aws-sdk/middleware-logger");
101
- var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
102
- var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
103
- var import_config_resolver = require("@smithy/config-resolver");
104
- var import_core = require("@smithy/core");
105
- var import_middleware_content_length = require("@smithy/middleware-content-length");
106
- var import_middleware_endpoint = require("@smithy/middleware-endpoint");
107
- var import_middleware_retry = require("@smithy/middleware-retry");
108
-
109
- var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
110
-
111
- // src/endpoint/EndpointParameters.ts
112
- var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
113
- return Object.assign(options, {
114
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
115
- useFipsEndpoint: options.useFipsEndpoint ?? false,
116
- defaultSigningName: "scn"
117
- });
118
- }, "resolveClientEndpointParameters");
119
- var commonParams = {
120
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
121
- Endpoint: { type: "builtInParams", name: "endpoint" },
122
- Region: { type: "builtInParams", name: "region" },
123
- 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
+ var uuid = require('@smithy/uuid');
20
+
21
+ const resolveClientEndpointParameters = (options) => {
22
+ return Object.assign(options, {
23
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
24
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
25
+ defaultSigningName: "scn",
26
+ });
27
+ };
28
+ const commonParams = {
29
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
30
+ Endpoint: { type: "builtInParams", name: "endpoint" },
31
+ Region: { type: "builtInParams", name: "region" },
32
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
124
33
  };
125
34
 
126
- // src/SupplyChainClient.ts
127
- var import_runtimeConfig = require("././runtimeConfig");
35
+ const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
36
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
37
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
38
+ let _credentials = runtimeConfig.credentials;
39
+ return {
40
+ setHttpAuthScheme(httpAuthScheme) {
41
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
42
+ if (index === -1) {
43
+ _httpAuthSchemes.push(httpAuthScheme);
44
+ }
45
+ else {
46
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
47
+ }
48
+ },
49
+ httpAuthSchemes() {
50
+ return _httpAuthSchemes;
51
+ },
52
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
53
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
54
+ },
55
+ httpAuthSchemeProvider() {
56
+ return _httpAuthSchemeProvider;
57
+ },
58
+ setCredentials(credentials) {
59
+ _credentials = credentials;
60
+ },
61
+ credentials() {
62
+ return _credentials;
63
+ },
64
+ };
65
+ };
66
+ const resolveHttpAuthRuntimeConfig = (config) => {
67
+ return {
68
+ httpAuthSchemes: config.httpAuthSchemes(),
69
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
70
+ credentials: config.credentials(),
71
+ };
72
+ };
128
73
 
129
- // src/runtimeExtensions.ts
130
- var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
131
- var import_protocol_http = require("@smithy/protocol-http");
132
- var import_smithy_client = require("@smithy/smithy-client");
74
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
75
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
76
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
77
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
78
+ };
133
79
 
134
- // src/auth/httpAuthExtensionConfiguration.ts
135
- var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
136
- const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
137
- let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
138
- let _credentials = runtimeConfig.credentials;
139
- return {
140
- setHttpAuthScheme(httpAuthScheme) {
141
- const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
142
- if (index === -1) {
143
- _httpAuthSchemes.push(httpAuthScheme);
144
- } else {
145
- _httpAuthSchemes.splice(index, 1, httpAuthScheme);
146
- }
147
- },
148
- httpAuthSchemes() {
149
- return _httpAuthSchemes;
150
- },
151
- setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
152
- _httpAuthSchemeProvider = httpAuthSchemeProvider;
153
- },
154
- httpAuthSchemeProvider() {
155
- return _httpAuthSchemeProvider;
156
- },
157
- setCredentials(credentials) {
158
- _credentials = credentials;
159
- },
160
- credentials() {
161
- return _credentials;
80
+ class SupplyChainClient extends smithyClient.Client {
81
+ config;
82
+ constructor(...[configuration]) {
83
+ const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
84
+ super(_config_0);
85
+ this.initConfig = _config_0;
86
+ const _config_1 = resolveClientEndpointParameters(_config_0);
87
+ const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
88
+ const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
89
+ const _config_4 = configResolver.resolveRegionConfig(_config_3);
90
+ const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
91
+ const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
92
+ const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
93
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
94
+ this.config = _config_8;
95
+ this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
96
+ this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
97
+ this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
98
+ this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
99
+ this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
100
+ this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
101
+ this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
102
+ httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultSupplyChainHttpAuthSchemeParametersProvider,
103
+ identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
104
+ "aws.auth#sigv4": config.credentials,
105
+ }),
106
+ }));
107
+ this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
162
108
  }
163
- };
164
- }, "getHttpAuthExtensionConfiguration");
165
- var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
166
- return {
167
- httpAuthSchemes: config.httpAuthSchemes(),
168
- httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
169
- credentials: config.credentials()
170
- };
171
- }, "resolveHttpAuthRuntimeConfig");
172
-
173
- // src/runtimeExtensions.ts
174
- var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
175
- const extensionConfiguration = Object.assign(
176
- (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
177
- (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
178
- (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
179
- getHttpAuthExtensionConfiguration(runtimeConfig)
180
- );
181
- extensions.forEach((extension) => extension.configure(extensionConfiguration));
182
- return Object.assign(
183
- runtimeConfig,
184
- (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
185
- (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
186
- (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
187
- resolveHttpAuthRuntimeConfig(extensionConfiguration)
188
- );
189
- }, "resolveRuntimeExtensions");
109
+ destroy() {
110
+ super.destroy();
111
+ }
112
+ }
190
113
 
191
- // src/SupplyChainClient.ts
192
- var SupplyChainClient = class extends import_smithy_client.Client {
193
- static {
194
- __name(this, "SupplyChainClient");
195
- }
196
- /**
197
- * The resolved configuration of SupplyChainClient class. This is resolved and normalized from the {@link SupplyChainClientConfig | constructor configuration interface}.
198
- */
199
- config;
200
- constructor(...[configuration]) {
201
- const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
202
- super(_config_0);
203
- this.initConfig = _config_0;
204
- const _config_1 = resolveClientEndpointParameters(_config_0);
205
- const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
206
- const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
207
- const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
208
- const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
209
- const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
210
- const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
211
- const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
212
- this.config = _config_8;
213
- this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
214
- this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
215
- this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
216
- this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
217
- this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
218
- this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
219
- this.middlewareStack.use(
220
- (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
221
- httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSupplyChainHttpAuthSchemeParametersProvider,
222
- identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
223
- "aws.auth#sigv4": config.credentials
224
- }), "identityProviderConfigProvider")
225
- })
226
- );
227
- this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
228
- }
229
- /**
230
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
231
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
232
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
233
- */
234
- destroy() {
235
- super.destroy();
236
- }
114
+ class SupplyChainServiceException extends smithyClient.ServiceException {
115
+ constructor(options) {
116
+ super(options);
117
+ Object.setPrototypeOf(this, SupplyChainServiceException.prototype);
118
+ }
119
+ }
120
+
121
+ class AccessDeniedException extends SupplyChainServiceException {
122
+ name = "AccessDeniedException";
123
+ $fault = "client";
124
+ constructor(opts) {
125
+ super({
126
+ name: "AccessDeniedException",
127
+ $fault: "client",
128
+ ...opts,
129
+ });
130
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
+ }
132
+ }
133
+ const ConfigurationJobStatus = {
134
+ FAILED: "FAILED",
135
+ IN_PROGRESS: "IN_PROGRESS",
136
+ NEW: "NEW",
137
+ QUEUED: "QUEUED",
138
+ SUCCESS: "SUCCESS",
237
139
  };
238
-
239
- // src/SupplyChain.ts
240
-
241
-
242
- // src/commands/CreateBillOfMaterialsImportJobCommand.ts
243
-
244
- var import_middleware_serde = require("@smithy/middleware-serde");
245
-
246
-
247
- // src/protocols/Aws_restJson1.ts
248
- var import_core2 = require("@aws-sdk/core");
249
-
250
-
251
- var import_uuid = require("@smithy/uuid");
252
-
253
- // src/models/models_0.ts
254
-
255
-
256
- // src/models/SupplyChainServiceException.ts
257
-
258
- var SupplyChainServiceException = class _SupplyChainServiceException extends import_smithy_client.ServiceException {
259
- static {
260
- __name(this, "SupplyChainServiceException");
261
- }
262
- /**
263
- * @internal
264
- */
265
- constructor(options) {
266
- super(options);
267
- Object.setPrototypeOf(this, _SupplyChainServiceException.prototype);
268
- }
140
+ class ConflictException extends SupplyChainServiceException {
141
+ name = "ConflictException";
142
+ $fault = "client";
143
+ constructor(opts) {
144
+ super({
145
+ name: "ConflictException",
146
+ $fault: "client",
147
+ ...opts,
148
+ });
149
+ Object.setPrototypeOf(this, ConflictException.prototype);
150
+ }
151
+ }
152
+ class InternalServerException extends SupplyChainServiceException {
153
+ name = "InternalServerException";
154
+ $fault = "server";
155
+ $retryable = {};
156
+ constructor(opts) {
157
+ super({
158
+ name: "InternalServerException",
159
+ $fault: "server",
160
+ ...opts,
161
+ });
162
+ Object.setPrototypeOf(this, InternalServerException.prototype);
163
+ }
164
+ }
165
+ class ResourceNotFoundException extends SupplyChainServiceException {
166
+ name = "ResourceNotFoundException";
167
+ $fault = "client";
168
+ constructor(opts) {
169
+ super({
170
+ name: "ResourceNotFoundException",
171
+ $fault: "client",
172
+ ...opts,
173
+ });
174
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
175
+ }
176
+ }
177
+ class ServiceQuotaExceededException extends SupplyChainServiceException {
178
+ name = "ServiceQuotaExceededException";
179
+ $fault = "client";
180
+ constructor(opts) {
181
+ super({
182
+ name: "ServiceQuotaExceededException",
183
+ $fault: "client",
184
+ ...opts,
185
+ });
186
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
187
+ }
188
+ }
189
+ class ThrottlingException extends SupplyChainServiceException {
190
+ name = "ThrottlingException";
191
+ $fault = "client";
192
+ $retryable = {
193
+ throttling: true,
194
+ };
195
+ constructor(opts) {
196
+ super({
197
+ name: "ThrottlingException",
198
+ $fault: "client",
199
+ ...opts,
200
+ });
201
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
202
+ }
203
+ }
204
+ class ValidationException extends SupplyChainServiceException {
205
+ name = "ValidationException";
206
+ $fault = "client";
207
+ constructor(opts) {
208
+ super({
209
+ name: "ValidationException",
210
+ $fault: "client",
211
+ ...opts,
212
+ });
213
+ Object.setPrototypeOf(this, ValidationException.prototype);
214
+ }
215
+ }
216
+ const DataIntegrationFlowFieldPriorityDedupeSortOrder = {
217
+ ASC: "ASC",
218
+ DESC: "DESC",
269
219
  };
270
-
271
- // src/models/models_0.ts
272
- var AccessDeniedException = class _AccessDeniedException extends SupplyChainServiceException {
273
- static {
274
- __name(this, "AccessDeniedException");
275
- }
276
- name = "AccessDeniedException";
277
- $fault = "client";
278
- /**
279
- * @internal
280
- */
281
- constructor(opts) {
282
- super({
283
- name: "AccessDeniedException",
284
- $fault: "client",
285
- ...opts
286
- });
287
- Object.setPrototypeOf(this, _AccessDeniedException.prototype);
288
- }
289
- };
290
- var ConfigurationJobStatus = {
291
- FAILED: "FAILED",
292
- IN_PROGRESS: "IN_PROGRESS",
293
- NEW: "NEW",
294
- QUEUED: "QUEUED",
295
- SUCCESS: "SUCCESS"
296
- };
297
- var ConflictException = class _ConflictException extends SupplyChainServiceException {
298
- static {
299
- __name(this, "ConflictException");
300
- }
301
- name = "ConflictException";
302
- $fault = "client";
303
- /**
304
- * @internal
305
- */
306
- constructor(opts) {
307
- super({
308
- name: "ConflictException",
309
- $fault: "client",
310
- ...opts
311
- });
312
- Object.setPrototypeOf(this, _ConflictException.prototype);
313
- }
314
- };
315
- var InternalServerException = class _InternalServerException extends SupplyChainServiceException {
316
- static {
317
- __name(this, "InternalServerException");
318
- }
319
- name = "InternalServerException";
320
- $fault = "server";
321
- $retryable = {};
322
- /**
323
- * @internal
324
- */
325
- constructor(opts) {
326
- super({
327
- name: "InternalServerException",
328
- $fault: "server",
329
- ...opts
330
- });
331
- Object.setPrototypeOf(this, _InternalServerException.prototype);
332
- }
333
- };
334
- var ResourceNotFoundException = class _ResourceNotFoundException extends SupplyChainServiceException {
335
- static {
336
- __name(this, "ResourceNotFoundException");
337
- }
338
- name = "ResourceNotFoundException";
339
- $fault = "client";
340
- /**
341
- * @internal
342
- */
343
- constructor(opts) {
344
- super({
345
- name: "ResourceNotFoundException",
346
- $fault: "client",
347
- ...opts
348
- });
349
- Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
350
- }
351
- };
352
- var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends SupplyChainServiceException {
353
- static {
354
- __name(this, "ServiceQuotaExceededException");
355
- }
356
- name = "ServiceQuotaExceededException";
357
- $fault = "client";
358
- /**
359
- * @internal
360
- */
361
- constructor(opts) {
362
- super({
363
- name: "ServiceQuotaExceededException",
364
- $fault: "client",
365
- ...opts
366
- });
367
- Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
368
- }
369
- };
370
- var ThrottlingException = class _ThrottlingException extends SupplyChainServiceException {
371
- static {
372
- __name(this, "ThrottlingException");
373
- }
374
- name = "ThrottlingException";
375
- $fault = "client";
376
- $retryable = {
377
- throttling: true
378
- };
379
- /**
380
- * @internal
381
- */
382
- constructor(opts) {
383
- super({
384
- name: "ThrottlingException",
385
- $fault: "client",
386
- ...opts
387
- });
388
- Object.setPrototypeOf(this, _ThrottlingException.prototype);
389
- }
390
- };
391
- var ValidationException = class _ValidationException extends SupplyChainServiceException {
392
- static {
393
- __name(this, "ValidationException");
394
- }
395
- name = "ValidationException";
396
- $fault = "client";
397
- /**
398
- * @internal
399
- */
400
- constructor(opts) {
401
- super({
402
- name: "ValidationException",
403
- $fault: "client",
404
- ...opts
405
- });
406
- Object.setPrototypeOf(this, _ValidationException.prototype);
407
- }
408
- };
409
- var DataIntegrationFlowFieldPriorityDedupeSortOrder = {
410
- ASC: "ASC",
411
- DESC: "DESC"
412
- };
413
- var DataIntegrationFlowDedupeStrategyType = {
414
- FIELD_PRIORITY: "FIELD_PRIORITY"
415
- };
416
- var DataIntegrationFlowLoadType = {
417
- INCREMENTAL: "INCREMENTAL",
418
- REPLACE: "REPLACE"
419
- };
420
- var DataIntegrationFlowFileType = {
421
- CSV: "CSV",
422
- JSON: "JSON",
423
- PARQUET: "PARQUET"
424
- };
425
- var DataIntegrationFlowSourceType = {
426
- DATASET: "DATASET",
427
- S3: "S3"
428
- };
429
- var DataIntegrationFlowTargetType = {
430
- DATASET: "DATASET",
431
- S3: "S3"
432
- };
433
- var DataIntegrationFlowTransformationType = {
434
- NONE: "NONE",
435
- SQL: "SQL"
436
- };
437
- var DataLakeDatasetPartitionTransformType = {
438
- DAY: "DAY",
439
- HOUR: "HOUR",
440
- IDENTITY: "IDENTITY",
441
- MONTH: "MONTH",
442
- YEAR: "YEAR"
443
- };
444
- var DataLakeDatasetSchemaFieldType = {
445
- DOUBLE: "DOUBLE",
446
- INT: "INT",
447
- LONG: "LONG",
448
- STRING: "STRING",
449
- TIMESTAMP: "TIMESTAMP"
450
- };
451
- var InstanceState = {
452
- ACTIVE: "Active",
453
- CREATE_FAILED: "CreateFailed",
454
- DELETED: "Deleted",
455
- DELETE_FAILED: "DeleteFailed",
456
- DELETING: "Deleting",
457
- INITIALIZING: "Initializing"
458
- };
459
- var DataIntegrationEventDatasetLoadStatus = {
460
- FAILED: "FAILED",
461
- IN_PROGRESS: "IN_PROGRESS",
462
- SUCCEEDED: "SUCCEEDED"
463
- };
464
- var DataIntegrationEventDatasetOperationType = {
465
- APPEND: "APPEND",
466
- DELETE: "DELETE",
467
- UPSERT: "UPSERT"
468
- };
469
- var DataIntegrationEventType = {
470
- DATASET: "scn.data.dataset",
471
- FORECAST: "scn.data.forecast",
472
- INBOUND_ORDER: "scn.data.inboundorder",
473
- INBOUND_ORDER_LINE: "scn.data.inboundorderline",
474
- INBOUND_ORDER_LINE_SCHEDULE: "scn.data.inboundorderlineschedule",
475
- INVENTORY_LEVEL: "scn.data.inventorylevel",
476
- OUTBOUND_ORDER_LINE: "scn.data.outboundorderline",
477
- OUTBOUND_SHIPMENT: "scn.data.outboundshipment",
478
- PROCESS_HEADER: "scn.data.processheader",
479
- PROCESS_OPERATION: "scn.data.processoperation",
480
- PROCESS_PRODUCT: "scn.data.processproduct",
481
- RESERVATION: "scn.data.reservation",
482
- SHIPMENT: "scn.data.shipment",
483
- SHIPMENT_STOP: "scn.data.shipmentstop",
484
- SHIPMENT_STOP_ORDER: "scn.data.shipmentstoporder",
485
- SUPPLY_PLAN: "scn.data.supplyplan"
486
- };
487
- var DataIntegrationFlowExecutionStatus = {
488
- FAILED: "FAILED",
489
- IN_PROGRESS: "IN_PROGRESS",
490
- SUCCEEDED: "SUCCEEDED"
491
- };
492
- var DataIntegrationFlowSQLTransformationConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
493
- ...obj,
494
- ...obj.query && { query: import_smithy_client.SENSITIVE_STRING }
495
- }), "DataIntegrationFlowSQLTransformationConfigurationFilterSensitiveLog");
496
- var DataIntegrationFlowTransformationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
497
- ...obj,
498
- ...obj.sqlTransformation && {
499
- sqlTransformation: DataIntegrationFlowSQLTransformationConfigurationFilterSensitiveLog(obj.sqlTransformation)
500
- }
501
- }), "DataIntegrationFlowTransformationFilterSensitiveLog");
502
- var CreateDataIntegrationFlowRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
503
- ...obj,
504
- ...obj.transformation && {
505
- transformation: DataIntegrationFlowTransformationFilterSensitiveLog(obj.transformation)
506
- }
507
- }), "CreateDataIntegrationFlowRequestFilterSensitiveLog");
508
- var DataIntegrationFlowFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
509
- ...obj,
510
- ...obj.transformation && {
511
- transformation: DataIntegrationFlowTransformationFilterSensitiveLog(obj.transformation)
512
- }
513
- }), "DataIntegrationFlowFilterSensitiveLog");
514
- var GetDataIntegrationFlowResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
515
- ...obj,
516
- ...obj.flow && { flow: DataIntegrationFlowFilterSensitiveLog(obj.flow) }
517
- }), "GetDataIntegrationFlowResponseFilterSensitiveLog");
518
- var ListDataIntegrationFlowsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
519
- ...obj,
520
- ...obj.flows && { flows: obj.flows.map((item) => DataIntegrationFlowFilterSensitiveLog(item)) }
521
- }), "ListDataIntegrationFlowsResponseFilterSensitiveLog");
522
- var UpdateDataIntegrationFlowRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
523
- ...obj,
524
- ...obj.transformation && {
525
- transformation: DataIntegrationFlowTransformationFilterSensitiveLog(obj.transformation)
526
- }
527
- }), "UpdateDataIntegrationFlowRequestFilterSensitiveLog");
528
- var UpdateDataIntegrationFlowResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
529
- ...obj,
530
- ...obj.flow && { flow: DataIntegrationFlowFilterSensitiveLog(obj.flow) }
531
- }), "UpdateDataIntegrationFlowResponseFilterSensitiveLog");
532
- var SendDataIntegrationEventRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
533
- ...obj,
534
- ...obj.data && { data: import_smithy_client.SENSITIVE_STRING }
535
- }), "SendDataIntegrationEventRequestFilterSensitiveLog");
536
-
537
- // src/protocols/Aws_restJson1.ts
538
- var se_CreateBillOfMaterialsImportJobCommand = /* @__PURE__ */ __name(async (input, context) => {
539
- const b = (0, import_core.requestBuilder)(input, context);
540
- const headers = {
541
- "content-type": "application/json"
542
- };
543
- b.bp("/api/configuration/instances/{instanceId}/bill-of-materials-import-jobs");
544
- b.p("instanceId", () => input.instanceId, "{instanceId}", false);
545
- let body;
546
- body = JSON.stringify(
547
- (0, import_smithy_client.take)(input, {
548
- clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
549
- s3uri: []
550
- })
551
- );
552
- b.m("POST").h(headers).b(body);
553
- return b.build();
554
- }, "se_CreateBillOfMaterialsImportJobCommand");
555
- var se_CreateDataIntegrationFlowCommand = /* @__PURE__ */ __name(async (input, context) => {
556
- const b = (0, import_core.requestBuilder)(input, context);
557
- const headers = {
558
- "content-type": "application/json"
559
- };
560
- b.bp("/api/data-integration/instance/{instanceId}/data-integration-flows/{name}");
561
- b.p("instanceId", () => input.instanceId, "{instanceId}", false);
562
- b.p("name", () => input.name, "{name}", false);
563
- let body;
564
- body = JSON.stringify(
565
- (0, import_smithy_client.take)(input, {
566
- sources: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sources"),
567
- tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
568
- target: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "target"),
569
- transformation: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "transformation")
570
- })
571
- );
572
- b.m("PUT").h(headers).b(body);
573
- return b.build();
574
- }, "se_CreateDataIntegrationFlowCommand");
575
- var se_CreateDataLakeDatasetCommand = /* @__PURE__ */ __name(async (input, context) => {
576
- const b = (0, import_core.requestBuilder)(input, context);
577
- const headers = {
578
- "content-type": "application/json"
579
- };
580
- b.bp("/api/datalake/instance/{instanceId}/namespaces/{namespace}/datasets/{name}");
581
- b.p("instanceId", () => input.instanceId, "{instanceId}", false);
582
- b.p("namespace", () => input.namespace, "{namespace}", false);
583
- b.p("name", () => input.name, "{name}", false);
584
- let body;
585
- body = JSON.stringify(
586
- (0, import_smithy_client.take)(input, {
587
- description: [],
588
- partitionSpec: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "partitionSpec"),
589
- schema: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "schema"),
590
- tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
591
- })
592
- );
593
- b.m("PUT").h(headers).b(body);
594
- return b.build();
595
- }, "se_CreateDataLakeDatasetCommand");
596
- var se_CreateDataLakeNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
597
- const b = (0, import_core.requestBuilder)(input, context);
598
- const headers = {
599
- "content-type": "application/json"
600
- };
601
- b.bp("/api/datalake/instance/{instanceId}/namespaces/{name}");
602
- b.p("instanceId", () => input.instanceId, "{instanceId}", false);
603
- b.p("name", () => input.name, "{name}", false);
604
- let body;
605
- body = JSON.stringify(
606
- (0, import_smithy_client.take)(input, {
607
- description: [],
608
- tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
609
- })
610
- );
611
- b.m("PUT").h(headers).b(body);
612
- return b.build();
613
- }, "se_CreateDataLakeNamespaceCommand");
614
- var se_CreateInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
615
- const b = (0, import_core.requestBuilder)(input, context);
616
- const headers = {
617
- "content-type": "application/json"
618
- };
619
- b.bp("/api/instance");
620
- let body;
621
- body = JSON.stringify(
622
- (0, import_smithy_client.take)(input, {
623
- clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
624
- instanceDescription: [],
625
- instanceName: [],
626
- kmsKeyArn: [],
627
- tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
628
- webAppDnsDomain: []
629
- })
630
- );
631
- b.m("POST").h(headers).b(body);
632
- return b.build();
633
- }, "se_CreateInstanceCommand");
634
- var se_DeleteDataIntegrationFlowCommand = /* @__PURE__ */ __name(async (input, context) => {
635
- const b = (0, import_core.requestBuilder)(input, context);
636
- const headers = {};
637
- b.bp("/api/data-integration/instance/{instanceId}/data-integration-flows/{name}");
638
- b.p("instanceId", () => input.instanceId, "{instanceId}", false);
639
- b.p("name", () => input.name, "{name}", false);
640
- let body;
641
- b.m("DELETE").h(headers).b(body);
642
- return b.build();
643
- }, "se_DeleteDataIntegrationFlowCommand");
644
- var se_DeleteDataLakeDatasetCommand = /* @__PURE__ */ __name(async (input, context) => {
645
- const b = (0, import_core.requestBuilder)(input, context);
646
- const headers = {};
647
- b.bp("/api/datalake/instance/{instanceId}/namespaces/{namespace}/datasets/{name}");
648
- b.p("instanceId", () => input.instanceId, "{instanceId}", false);
649
- b.p("namespace", () => input.namespace, "{namespace}", false);
650
- b.p("name", () => input.name, "{name}", false);
651
- let body;
652
- b.m("DELETE").h(headers).b(body);
653
- return b.build();
654
- }, "se_DeleteDataLakeDatasetCommand");
655
- var se_DeleteDataLakeNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
656
- const b = (0, import_core.requestBuilder)(input, context);
657
- const headers = {};
658
- b.bp("/api/datalake/instance/{instanceId}/namespaces/{name}");
659
- b.p("instanceId", () => input.instanceId, "{instanceId}", false);
660
- b.p("name", () => input.name, "{name}", false);
661
- let body;
662
- b.m("DELETE").h(headers).b(body);
663
- return b.build();
664
- }, "se_DeleteDataLakeNamespaceCommand");
665
- var se_DeleteInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
666
- const b = (0, import_core.requestBuilder)(input, context);
667
- const headers = {};
668
- b.bp("/api/instance/{instanceId}");
669
- b.p("instanceId", () => input.instanceId, "{instanceId}", false);
670
- let body;
671
- b.m("DELETE").h(headers).b(body);
672
- return b.build();
673
- }, "se_DeleteInstanceCommand");
674
- var se_GetBillOfMaterialsImportJobCommand = /* @__PURE__ */ __name(async (input, context) => {
675
- const b = (0, import_core.requestBuilder)(input, context);
676
- const headers = {};
677
- b.bp("/api/configuration/instances/{instanceId}/bill-of-materials-import-jobs/{jobId}");
678
- b.p("instanceId", () => input.instanceId, "{instanceId}", false);
679
- b.p("jobId", () => input.jobId, "{jobId}", false);
680
- let body;
681
- b.m("GET").h(headers).b(body);
682
- return b.build();
683
- }, "se_GetBillOfMaterialsImportJobCommand");
684
- var se_GetDataIntegrationEventCommand = /* @__PURE__ */ __name(async (input, context) => {
685
- const b = (0, import_core.requestBuilder)(input, context);
686
- const headers = {};
687
- b.bp("/api-data/data-integration/instance/{instanceId}/data-integration-events/{eventId}");
688
- b.p("instanceId", () => input.instanceId, "{instanceId}", false);
689
- b.p("eventId", () => input.eventId, "{eventId}", false);
690
- let body;
691
- b.m("GET").h(headers).b(body);
692
- return b.build();
693
- }, "se_GetDataIntegrationEventCommand");
694
- var se_GetDataIntegrationFlowCommand = /* @__PURE__ */ __name(async (input, context) => {
695
- const b = (0, import_core.requestBuilder)(input, context);
696
- const headers = {};
697
- b.bp("/api/data-integration/instance/{instanceId}/data-integration-flows/{name}");
698
- b.p("instanceId", () => input.instanceId, "{instanceId}", false);
699
- b.p("name", () => input.name, "{name}", false);
700
- let body;
701
- b.m("GET").h(headers).b(body);
702
- return b.build();
703
- }, "se_GetDataIntegrationFlowCommand");
704
- var se_GetDataIntegrationFlowExecutionCommand = /* @__PURE__ */ __name(async (input, context) => {
705
- const b = (0, import_core.requestBuilder)(input, context);
706
- const headers = {};
707
- b.bp("/api-data/data-integration/instance/{instanceId}/data-integration-flows/{flowName}/executions/{executionId}");
708
- b.p("instanceId", () => input.instanceId, "{instanceId}", false);
709
- b.p("flowName", () => input.flowName, "{flowName}", false);
710
- b.p("executionId", () => input.executionId, "{executionId}", false);
711
- let body;
712
- b.m("GET").h(headers).b(body);
713
- return b.build();
714
- }, "se_GetDataIntegrationFlowExecutionCommand");
715
- var se_GetDataLakeDatasetCommand = /* @__PURE__ */ __name(async (input, context) => {
716
- const b = (0, import_core.requestBuilder)(input, context);
717
- const headers = {};
718
- b.bp("/api/datalake/instance/{instanceId}/namespaces/{namespace}/datasets/{name}");
719
- b.p("instanceId", () => input.instanceId, "{instanceId}", false);
720
- b.p("namespace", () => input.namespace, "{namespace}", false);
721
- b.p("name", () => input.name, "{name}", false);
722
- let body;
723
- b.m("GET").h(headers).b(body);
724
- return b.build();
725
- }, "se_GetDataLakeDatasetCommand");
726
- var se_GetDataLakeNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
727
- const b = (0, import_core.requestBuilder)(input, context);
728
- const headers = {};
729
- b.bp("/api/datalake/instance/{instanceId}/namespaces/{name}");
730
- b.p("instanceId", () => input.instanceId, "{instanceId}", false);
731
- b.p("name", () => input.name, "{name}", false);
732
- let body;
733
- b.m("GET").h(headers).b(body);
734
- return b.build();
735
- }, "se_GetDataLakeNamespaceCommand");
736
- var se_GetInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
737
- const b = (0, import_core.requestBuilder)(input, context);
738
- const headers = {};
739
- b.bp("/api/instance/{instanceId}");
740
- b.p("instanceId", () => input.instanceId, "{instanceId}", false);
741
- let body;
742
- b.m("GET").h(headers).b(body);
743
- return b.build();
744
- }, "se_GetInstanceCommand");
745
- var se_ListDataIntegrationEventsCommand = /* @__PURE__ */ __name(async (input, context) => {
746
- const b = (0, import_core.requestBuilder)(input, context);
747
- const headers = {};
748
- b.bp("/api-data/data-integration/instance/{instanceId}/data-integration-events");
749
- b.p("instanceId", () => input.instanceId, "{instanceId}", false);
750
- const query = (0, import_smithy_client.map)({
751
- [_eT]: [, input[_eT]],
752
- [_nT]: [, input[_nT]],
753
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
754
- });
755
- let body;
756
- b.m("GET").h(headers).q(query).b(body);
757
- return b.build();
758
- }, "se_ListDataIntegrationEventsCommand");
759
- var se_ListDataIntegrationFlowExecutionsCommand = /* @__PURE__ */ __name(async (input, context) => {
760
- const b = (0, import_core.requestBuilder)(input, context);
761
- const headers = {};
762
- b.bp("/api-data/data-integration/instance/{instanceId}/data-integration-flows/{flowName}/executions");
763
- b.p("instanceId", () => input.instanceId, "{instanceId}", false);
764
- b.p("flowName", () => input.flowName, "{flowName}", false);
765
- const query = (0, import_smithy_client.map)({
766
- [_nT]: [, input[_nT]],
767
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
768
- });
769
- let body;
770
- b.m("GET").h(headers).q(query).b(body);
771
- return b.build();
772
- }, "se_ListDataIntegrationFlowExecutionsCommand");
773
- var se_ListDataIntegrationFlowsCommand = /* @__PURE__ */ __name(async (input, context) => {
774
- const b = (0, import_core.requestBuilder)(input, context);
775
- const headers = {};
776
- b.bp("/api/data-integration/instance/{instanceId}/data-integration-flows");
777
- b.p("instanceId", () => input.instanceId, "{instanceId}", false);
778
- const query = (0, import_smithy_client.map)({
779
- [_nT]: [, input[_nT]],
780
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
781
- });
782
- let body;
783
- b.m("GET").h(headers).q(query).b(body);
784
- return b.build();
785
- }, "se_ListDataIntegrationFlowsCommand");
786
- var se_ListDataLakeDatasetsCommand = /* @__PURE__ */ __name(async (input, context) => {
787
- const b = (0, import_core.requestBuilder)(input, context);
788
- const headers = {};
789
- b.bp("/api/datalake/instance/{instanceId}/namespaces/{namespace}/datasets");
790
- b.p("instanceId", () => input.instanceId, "{instanceId}", false);
791
- b.p("namespace", () => input.namespace, "{namespace}", false);
792
- const query = (0, import_smithy_client.map)({
793
- [_nT]: [, input[_nT]],
794
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
795
- });
796
- let body;
797
- b.m("GET").h(headers).q(query).b(body);
798
- return b.build();
799
- }, "se_ListDataLakeDatasetsCommand");
800
- var se_ListDataLakeNamespacesCommand = /* @__PURE__ */ __name(async (input, context) => {
801
- const b = (0, import_core.requestBuilder)(input, context);
802
- const headers = {};
803
- b.bp("/api/datalake/instance/{instanceId}/namespaces");
804
- b.p("instanceId", () => input.instanceId, "{instanceId}", false);
805
- const query = (0, import_smithy_client.map)({
806
- [_nT]: [, input[_nT]],
807
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
808
- });
809
- let body;
810
- b.m("GET").h(headers).q(query).b(body);
811
- return b.build();
812
- }, "se_ListDataLakeNamespacesCommand");
813
- var se_ListInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {
814
- const b = (0, import_core.requestBuilder)(input, context);
815
- const headers = {};
816
- b.bp("/api/instance");
817
- const query = (0, import_smithy_client.map)({
818
- [_nT]: [, input[_nT]],
819
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
820
- [_iNF]: [() => input.instanceNameFilter !== void 0, () => input[_iNF] || []],
821
- [_iSF]: [() => input.instanceStateFilter !== void 0, () => input[_iSF] || []]
822
- });
823
- let body;
824
- b.m("GET").h(headers).q(query).b(body);
825
- return b.build();
826
- }, "se_ListInstancesCommand");
827
- var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
828
- const b = (0, import_core.requestBuilder)(input, context);
829
- const headers = {};
830
- b.bp("/api/tags/{resourceArn}");
831
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
832
- let body;
833
- b.m("GET").h(headers).b(body);
834
- return b.build();
835
- }, "se_ListTagsForResourceCommand");
836
- var se_SendDataIntegrationEventCommand = /* @__PURE__ */ __name(async (input, context) => {
837
- const b = (0, import_core.requestBuilder)(input, context);
838
- const headers = {
839
- "content-type": "application/json"
840
- };
841
- b.bp("/api-data/data-integration/instance/{instanceId}/data-integration-events");
842
- b.p("instanceId", () => input.instanceId, "{instanceId}", false);
843
- let body;
844
- body = JSON.stringify(
845
- (0, import_smithy_client.take)(input, {
846
- clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
847
- data: [],
848
- datasetTarget: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "datasetTarget"),
849
- eventGroupId: [],
850
- eventTimestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "eventTimestamp"),
851
- eventType: []
852
- })
853
- );
854
- b.m("POST").h(headers).b(body);
855
- return b.build();
856
- }, "se_SendDataIntegrationEventCommand");
857
- var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
858
- const b = (0, import_core.requestBuilder)(input, context);
859
- const headers = {
860
- "content-type": "application/json"
861
- };
862
- b.bp("/api/tags/{resourceArn}");
863
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
864
- let body;
865
- body = JSON.stringify(
866
- (0, import_smithy_client.take)(input, {
867
- tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
868
- })
869
- );
870
- b.m("POST").h(headers).b(body);
871
- return b.build();
872
- }, "se_TagResourceCommand");
873
- var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
874
- const b = (0, import_core.requestBuilder)(input, context);
875
- const headers = {};
876
- b.bp("/api/tags/{resourceArn}");
877
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
878
- const query = (0, import_smithy_client.map)({
879
- [_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]
880
- });
881
- let body;
882
- b.m("DELETE").h(headers).q(query).b(body);
883
- return b.build();
884
- }, "se_UntagResourceCommand");
885
- var se_UpdateDataIntegrationFlowCommand = /* @__PURE__ */ __name(async (input, context) => {
886
- const b = (0, import_core.requestBuilder)(input, context);
887
- const headers = {
888
- "content-type": "application/json"
889
- };
890
- b.bp("/api/data-integration/instance/{instanceId}/data-integration-flows/{name}");
891
- b.p("instanceId", () => input.instanceId, "{instanceId}", false);
892
- b.p("name", () => input.name, "{name}", false);
893
- let body;
894
- body = JSON.stringify(
895
- (0, import_smithy_client.take)(input, {
896
- sources: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sources"),
897
- target: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "target"),
898
- transformation: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "transformation")
899
- })
900
- );
901
- b.m("PATCH").h(headers).b(body);
902
- return b.build();
903
- }, "se_UpdateDataIntegrationFlowCommand");
904
- var se_UpdateDataLakeDatasetCommand = /* @__PURE__ */ __name(async (input, context) => {
905
- const b = (0, import_core.requestBuilder)(input, context);
906
- const headers = {
907
- "content-type": "application/json"
908
- };
909
- b.bp("/api/datalake/instance/{instanceId}/namespaces/{namespace}/datasets/{name}");
910
- b.p("instanceId", () => input.instanceId, "{instanceId}", false);
911
- b.p("namespace", () => input.namespace, "{namespace}", false);
912
- b.p("name", () => input.name, "{name}", false);
913
- let body;
914
- body = JSON.stringify(
915
- (0, import_smithy_client.take)(input, {
916
- description: []
917
- })
918
- );
919
- b.m("PATCH").h(headers).b(body);
920
- return b.build();
921
- }, "se_UpdateDataLakeDatasetCommand");
922
- var se_UpdateDataLakeNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
923
- const b = (0, import_core.requestBuilder)(input, context);
924
- const headers = {
925
- "content-type": "application/json"
926
- };
927
- b.bp("/api/datalake/instance/{instanceId}/namespaces/{name}");
928
- b.p("instanceId", () => input.instanceId, "{instanceId}", false);
929
- b.p("name", () => input.name, "{name}", false);
930
- let body;
931
- body = JSON.stringify(
932
- (0, import_smithy_client.take)(input, {
933
- description: []
934
- })
935
- );
936
- b.m("PATCH").h(headers).b(body);
937
- return b.build();
938
- }, "se_UpdateDataLakeNamespaceCommand");
939
- var se_UpdateInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
940
- const b = (0, import_core.requestBuilder)(input, context);
941
- const headers = {
942
- "content-type": "application/json"
943
- };
944
- b.bp("/api/instance/{instanceId}");
945
- b.p("instanceId", () => input.instanceId, "{instanceId}", false);
946
- let body;
947
- body = JSON.stringify(
948
- (0, import_smithy_client.take)(input, {
949
- instanceDescription: [],
950
- instanceName: []
951
- })
952
- );
953
- b.m("PATCH").h(headers).b(body);
954
- return b.build();
955
- }, "se_UpdateInstanceCommand");
956
- var de_CreateBillOfMaterialsImportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
957
- if (output.statusCode !== 200 && output.statusCode >= 300) {
958
- return de_CommandError(output, context);
959
- }
960
- const contents = (0, import_smithy_client.map)({
961
- $metadata: deserializeMetadata(output)
962
- });
963
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
964
- const doc = (0, import_smithy_client.take)(data, {
965
- jobId: import_smithy_client.expectString
966
- });
967
- Object.assign(contents, doc);
968
- return contents;
969
- }, "de_CreateBillOfMaterialsImportJobCommand");
970
- var de_CreateDataIntegrationFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
971
- if (output.statusCode !== 200 && output.statusCode >= 300) {
972
- return de_CommandError(output, context);
973
- }
974
- const contents = (0, import_smithy_client.map)({
975
- $metadata: deserializeMetadata(output)
976
- });
977
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
978
- const doc = (0, import_smithy_client.take)(data, {
979
- instanceId: import_smithy_client.expectString,
980
- name: import_smithy_client.expectString
981
- });
982
- Object.assign(contents, doc);
983
- return contents;
984
- }, "de_CreateDataIntegrationFlowCommand");
985
- var de_CreateDataLakeDatasetCommand = /* @__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
- dataset: /* @__PURE__ */ __name((_) => de_DataLakeDataset(_, context), "dataset")
995
- });
996
- Object.assign(contents, doc);
997
- return contents;
998
- }, "de_CreateDataLakeDatasetCommand");
999
- var de_CreateDataLakeNamespaceCommand = /* @__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
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1007
- const doc = (0, import_smithy_client.take)(data, {
1008
- namespace: /* @__PURE__ */ __name((_) => de_DataLakeNamespace(_, context), "namespace")
1009
- });
1010
- Object.assign(contents, doc);
1011
- return contents;
1012
- }, "de_CreateDataLakeNamespaceCommand");
1013
- var de_CreateInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
1014
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1015
- return de_CommandError(output, context);
1016
- }
1017
- const contents = (0, import_smithy_client.map)({
1018
- $metadata: deserializeMetadata(output)
1019
- });
1020
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1021
- const doc = (0, import_smithy_client.take)(data, {
1022
- instance: /* @__PURE__ */ __name((_) => de_Instance(_, context), "instance")
1023
- });
1024
- Object.assign(contents, doc);
1025
- return contents;
1026
- }, "de_CreateInstanceCommand");
1027
- var de_DeleteDataIntegrationFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
1028
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1029
- return de_CommandError(output, context);
1030
- }
1031
- const contents = (0, import_smithy_client.map)({
1032
- $metadata: deserializeMetadata(output)
1033
- });
1034
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1035
- const doc = (0, import_smithy_client.take)(data, {
1036
- instanceId: import_smithy_client.expectString,
1037
- name: import_smithy_client.expectString
1038
- });
1039
- Object.assign(contents, doc);
1040
- return contents;
1041
- }, "de_DeleteDataIntegrationFlowCommand");
1042
- var de_DeleteDataLakeDatasetCommand = /* @__PURE__ */ __name(async (output, context) => {
1043
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1044
- return de_CommandError(output, context);
1045
- }
1046
- const contents = (0, import_smithy_client.map)({
1047
- $metadata: deserializeMetadata(output)
1048
- });
1049
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1050
- const doc = (0, import_smithy_client.take)(data, {
1051
- instanceId: import_smithy_client.expectString,
1052
- name: import_smithy_client.expectString,
1053
- namespace: import_smithy_client.expectString
1054
- });
1055
- Object.assign(contents, doc);
1056
- return contents;
1057
- }, "de_DeleteDataLakeDatasetCommand");
1058
- var de_DeleteDataLakeNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => {
1059
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1060
- return de_CommandError(output, context);
1061
- }
1062
- const contents = (0, import_smithy_client.map)({
1063
- $metadata: deserializeMetadata(output)
1064
- });
1065
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1066
- const doc = (0, import_smithy_client.take)(data, {
1067
- instanceId: import_smithy_client.expectString,
1068
- name: import_smithy_client.expectString
1069
- });
1070
- Object.assign(contents, doc);
1071
- return contents;
1072
- }, "de_DeleteDataLakeNamespaceCommand");
1073
- var de_DeleteInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
1074
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1075
- return de_CommandError(output, context);
1076
- }
1077
- const contents = (0, import_smithy_client.map)({
1078
- $metadata: deserializeMetadata(output)
1079
- });
1080
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1081
- const doc = (0, import_smithy_client.take)(data, {
1082
- instance: /* @__PURE__ */ __name((_) => de_Instance(_, context), "instance")
1083
- });
1084
- Object.assign(contents, doc);
1085
- return contents;
1086
- }, "de_DeleteInstanceCommand");
1087
- var de_GetBillOfMaterialsImportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1088
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1089
- return de_CommandError(output, context);
1090
- }
1091
- const contents = (0, import_smithy_client.map)({
1092
- $metadata: deserializeMetadata(output)
1093
- });
1094
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1095
- const doc = (0, import_smithy_client.take)(data, {
1096
- job: import_smithy_client._json
1097
- });
1098
- Object.assign(contents, doc);
1099
- return contents;
1100
- }, "de_GetBillOfMaterialsImportJobCommand");
1101
- var de_GetDataIntegrationEventCommand = /* @__PURE__ */ __name(async (output, context) => {
1102
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1103
- return de_CommandError(output, context);
1104
- }
1105
- const contents = (0, import_smithy_client.map)({
1106
- $metadata: deserializeMetadata(output)
1107
- });
1108
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1109
- const doc = (0, import_smithy_client.take)(data, {
1110
- event: /* @__PURE__ */ __name((_) => de_DataIntegrationEvent(_, context), "event")
1111
- });
1112
- Object.assign(contents, doc);
1113
- return contents;
1114
- }, "de_GetDataIntegrationEventCommand");
1115
- var de_GetDataIntegrationFlowCommand = /* @__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
- flow: /* @__PURE__ */ __name((_) => de_DataIntegrationFlow(_, context), "flow")
1125
- });
1126
- Object.assign(contents, doc);
1127
- return contents;
1128
- }, "de_GetDataIntegrationFlowCommand");
1129
- var de_GetDataIntegrationFlowExecutionCommand = /* @__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
- flowExecution: /* @__PURE__ */ __name((_) => de_DataIntegrationFlowExecution(_, context), "flowExecution")
1139
- });
1140
- Object.assign(contents, doc);
1141
- return contents;
1142
- }, "de_GetDataIntegrationFlowExecutionCommand");
1143
- var de_GetDataLakeDatasetCommand = /* @__PURE__ */ __name(async (output, context) => {
1144
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1145
- return de_CommandError(output, context);
1146
- }
1147
- const contents = (0, import_smithy_client.map)({
1148
- $metadata: deserializeMetadata(output)
1149
- });
1150
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1151
- const doc = (0, import_smithy_client.take)(data, {
1152
- dataset: /* @__PURE__ */ __name((_) => de_DataLakeDataset(_, context), "dataset")
1153
- });
1154
- Object.assign(contents, doc);
1155
- return contents;
1156
- }, "de_GetDataLakeDatasetCommand");
1157
- var de_GetDataLakeNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => {
1158
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1159
- return de_CommandError(output, context);
1160
- }
1161
- const contents = (0, import_smithy_client.map)({
1162
- $metadata: deserializeMetadata(output)
1163
- });
1164
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1165
- const doc = (0, import_smithy_client.take)(data, {
1166
- namespace: /* @__PURE__ */ __name((_) => de_DataLakeNamespace(_, context), "namespace")
1167
- });
1168
- Object.assign(contents, doc);
1169
- return contents;
1170
- }, "de_GetDataLakeNamespaceCommand");
1171
- var de_GetInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
1172
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1173
- return de_CommandError(output, context);
1174
- }
1175
- const contents = (0, import_smithy_client.map)({
1176
- $metadata: deserializeMetadata(output)
1177
- });
1178
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1179
- const doc = (0, import_smithy_client.take)(data, {
1180
- instance: /* @__PURE__ */ __name((_) => de_Instance(_, context), "instance")
1181
- });
1182
- Object.assign(contents, doc);
1183
- return contents;
1184
- }, "de_GetInstanceCommand");
1185
- var de_ListDataIntegrationEventsCommand = /* @__PURE__ */ __name(async (output, context) => {
1186
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1187
- return de_CommandError(output, context);
1188
- }
1189
- const contents = (0, import_smithy_client.map)({
1190
- $metadata: deserializeMetadata(output)
1191
- });
1192
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1193
- const doc = (0, import_smithy_client.take)(data, {
1194
- events: /* @__PURE__ */ __name((_) => de_DataIntegrationEventList(_, context), "events"),
1195
- nextToken: import_smithy_client.expectString
1196
- });
1197
- Object.assign(contents, doc);
1198
- return contents;
1199
- }, "de_ListDataIntegrationEventsCommand");
1200
- var de_ListDataIntegrationFlowExecutionsCommand = /* @__PURE__ */ __name(async (output, context) => {
1201
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1202
- return de_CommandError(output, context);
1203
- }
1204
- const contents = (0, import_smithy_client.map)({
1205
- $metadata: deserializeMetadata(output)
1206
- });
1207
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1208
- const doc = (0, import_smithy_client.take)(data, {
1209
- flowExecutions: /* @__PURE__ */ __name((_) => de_DataIntegrationFlowExecutionList(_, context), "flowExecutions"),
1210
- nextToken: import_smithy_client.expectString
1211
- });
1212
- Object.assign(contents, doc);
1213
- return contents;
1214
- }, "de_ListDataIntegrationFlowExecutionsCommand");
1215
- var de_ListDataIntegrationFlowsCommand = /* @__PURE__ */ __name(async (output, context) => {
1216
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1217
- return de_CommandError(output, context);
1218
- }
1219
- const contents = (0, import_smithy_client.map)({
1220
- $metadata: deserializeMetadata(output)
1221
- });
1222
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1223
- const doc = (0, import_smithy_client.take)(data, {
1224
- flows: /* @__PURE__ */ __name((_) => de_DataIntegrationFlowList(_, context), "flows"),
1225
- nextToken: import_smithy_client.expectString
1226
- });
1227
- Object.assign(contents, doc);
1228
- return contents;
1229
- }, "de_ListDataIntegrationFlowsCommand");
1230
- var de_ListDataLakeDatasetsCommand = /* @__PURE__ */ __name(async (output, context) => {
1231
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1232
- return de_CommandError(output, context);
1233
- }
1234
- const contents = (0, import_smithy_client.map)({
1235
- $metadata: deserializeMetadata(output)
1236
- });
1237
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1238
- const doc = (0, import_smithy_client.take)(data, {
1239
- datasets: /* @__PURE__ */ __name((_) => de_DataLakeDatasetList(_, context), "datasets"),
1240
- nextToken: import_smithy_client.expectString
1241
- });
1242
- Object.assign(contents, doc);
1243
- return contents;
1244
- }, "de_ListDataLakeDatasetsCommand");
1245
- var de_ListDataLakeNamespacesCommand = /* @__PURE__ */ __name(async (output, context) => {
1246
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1247
- return de_CommandError(output, context);
1248
- }
1249
- const contents = (0, import_smithy_client.map)({
1250
- $metadata: deserializeMetadata(output)
1251
- });
1252
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1253
- const doc = (0, import_smithy_client.take)(data, {
1254
- namespaces: /* @__PURE__ */ __name((_) => de_DataLakeNamespaceList(_, context), "namespaces"),
1255
- nextToken: import_smithy_client.expectString
1256
- });
1257
- Object.assign(contents, doc);
1258
- return contents;
1259
- }, "de_ListDataLakeNamespacesCommand");
1260
- var de_ListInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
1261
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1262
- return de_CommandError(output, context);
1263
- }
1264
- const contents = (0, import_smithy_client.map)({
1265
- $metadata: deserializeMetadata(output)
1266
- });
1267
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1268
- const doc = (0, import_smithy_client.take)(data, {
1269
- instances: /* @__PURE__ */ __name((_) => de_InstanceList(_, context), "instances"),
1270
- nextToken: import_smithy_client.expectString
1271
- });
1272
- Object.assign(contents, doc);
1273
- return contents;
1274
- }, "de_ListInstancesCommand");
1275
- var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1276
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1277
- return de_CommandError(output, context);
1278
- }
1279
- const contents = (0, import_smithy_client.map)({
1280
- $metadata: deserializeMetadata(output)
1281
- });
1282
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1283
- const doc = (0, import_smithy_client.take)(data, {
1284
- tags: import_smithy_client._json
1285
- });
1286
- Object.assign(contents, doc);
1287
- return contents;
1288
- }, "de_ListTagsForResourceCommand");
1289
- var de_SendDataIntegrationEventCommand = /* @__PURE__ */ __name(async (output, context) => {
1290
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1291
- return de_CommandError(output, context);
1292
- }
1293
- const contents = (0, import_smithy_client.map)({
1294
- $metadata: deserializeMetadata(output)
1295
- });
1296
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1297
- const doc = (0, import_smithy_client.take)(data, {
1298
- eventId: import_smithy_client.expectString
1299
- });
1300
- Object.assign(contents, doc);
1301
- return contents;
1302
- }, "de_SendDataIntegrationEventCommand");
1303
- var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1304
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1305
- return de_CommandError(output, context);
1306
- }
1307
- const contents = (0, import_smithy_client.map)({
1308
- $metadata: deserializeMetadata(output)
1309
- });
1310
- await (0, import_smithy_client.collectBody)(output.body, context);
1311
- return contents;
1312
- }, "de_TagResourceCommand");
1313
- var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1314
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1315
- return de_CommandError(output, context);
1316
- }
1317
- const contents = (0, import_smithy_client.map)({
1318
- $metadata: deserializeMetadata(output)
1319
- });
1320
- await (0, import_smithy_client.collectBody)(output.body, context);
1321
- return contents;
1322
- }, "de_UntagResourceCommand");
1323
- var de_UpdateDataIntegrationFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
1324
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1325
- return de_CommandError(output, context);
1326
- }
1327
- const contents = (0, import_smithy_client.map)({
1328
- $metadata: deserializeMetadata(output)
1329
- });
1330
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1331
- const doc = (0, import_smithy_client.take)(data, {
1332
- flow: /* @__PURE__ */ __name((_) => de_DataIntegrationFlow(_, context), "flow")
1333
- });
1334
- Object.assign(contents, doc);
1335
- return contents;
1336
- }, "de_UpdateDataIntegrationFlowCommand");
1337
- var de_UpdateDataLakeDatasetCommand = /* @__PURE__ */ __name(async (output, context) => {
1338
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1339
- return de_CommandError(output, context);
1340
- }
1341
- const contents = (0, import_smithy_client.map)({
1342
- $metadata: deserializeMetadata(output)
1343
- });
1344
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1345
- const doc = (0, import_smithy_client.take)(data, {
1346
- dataset: /* @__PURE__ */ __name((_) => de_DataLakeDataset(_, context), "dataset")
1347
- });
1348
- Object.assign(contents, doc);
1349
- return contents;
1350
- }, "de_UpdateDataLakeDatasetCommand");
1351
- var de_UpdateDataLakeNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => {
1352
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1353
- return de_CommandError(output, context);
1354
- }
1355
- const contents = (0, import_smithy_client.map)({
1356
- $metadata: deserializeMetadata(output)
1357
- });
1358
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1359
- const doc = (0, import_smithy_client.take)(data, {
1360
- namespace: /* @__PURE__ */ __name((_) => de_DataLakeNamespace(_, context), "namespace")
1361
- });
1362
- Object.assign(contents, doc);
1363
- return contents;
1364
- }, "de_UpdateDataLakeNamespaceCommand");
1365
- var de_UpdateInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
1366
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1367
- return de_CommandError(output, context);
1368
- }
1369
- const contents = (0, import_smithy_client.map)({
1370
- $metadata: deserializeMetadata(output)
1371
- });
1372
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1373
- const doc = (0, import_smithy_client.take)(data, {
1374
- instance: /* @__PURE__ */ __name((_) => de_Instance(_, context), "instance")
1375
- });
1376
- Object.assign(contents, doc);
1377
- return contents;
1378
- }, "de_UpdateInstanceCommand");
1379
- var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1380
- const parsedOutput = {
1381
- ...output,
1382
- body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
1383
- };
1384
- const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
1385
- switch (errorCode) {
1386
- case "AccessDeniedException":
1387
- case "com.amazonaws.supplychain#AccessDeniedException":
1388
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1389
- case "ConflictException":
1390
- case "com.amazonaws.supplychain#ConflictException":
1391
- throw await de_ConflictExceptionRes(parsedOutput, context);
1392
- case "InternalServerException":
1393
- case "com.amazonaws.supplychain#InternalServerException":
1394
- throw await de_InternalServerExceptionRes(parsedOutput, context);
1395
- case "ResourceNotFoundException":
1396
- case "com.amazonaws.supplychain#ResourceNotFoundException":
1397
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1398
- case "ServiceQuotaExceededException":
1399
- case "com.amazonaws.supplychain#ServiceQuotaExceededException":
1400
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1401
- case "ThrottlingException":
1402
- case "com.amazonaws.supplychain#ThrottlingException":
1403
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1404
- case "ValidationException":
1405
- case "com.amazonaws.supplychain#ValidationException":
1406
- throw await de_ValidationExceptionRes(parsedOutput, context);
1407
- default:
1408
- const parsedBody = parsedOutput.body;
1409
- return throwDefaultError({
1410
- output,
1411
- parsedBody,
1412
- errorCode
1413
- });
1414
- }
1415
- }, "de_CommandError");
1416
- var throwDefaultError = (0, import_smithy_client.withBaseException)(SupplyChainServiceException);
1417
- var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1418
- const contents = (0, import_smithy_client.map)({});
1419
- const data = parsedOutput.body;
1420
- const doc = (0, import_smithy_client.take)(data, {
1421
- message: import_smithy_client.expectString
1422
- });
1423
- Object.assign(contents, doc);
1424
- const exception = new AccessDeniedException({
1425
- $metadata: deserializeMetadata(parsedOutput),
1426
- ...contents
1427
- });
1428
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1429
- }, "de_AccessDeniedExceptionRes");
1430
- var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1431
- const contents = (0, import_smithy_client.map)({});
1432
- const data = parsedOutput.body;
1433
- const doc = (0, import_smithy_client.take)(data, {
1434
- message: import_smithy_client.expectString
1435
- });
1436
- Object.assign(contents, doc);
1437
- const exception = new ConflictException({
1438
- $metadata: deserializeMetadata(parsedOutput),
1439
- ...contents
1440
- });
1441
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1442
- }, "de_ConflictExceptionRes");
1443
- var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1444
- const contents = (0, import_smithy_client.map)({});
1445
- const data = parsedOutput.body;
1446
- const doc = (0, import_smithy_client.take)(data, {
1447
- message: import_smithy_client.expectString
1448
- });
1449
- Object.assign(contents, doc);
1450
- const exception = new InternalServerException({
1451
- $metadata: deserializeMetadata(parsedOutput),
1452
- ...contents
1453
- });
1454
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1455
- }, "de_InternalServerExceptionRes");
1456
- var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1457
- const contents = (0, import_smithy_client.map)({});
1458
- const data = parsedOutput.body;
1459
- const doc = (0, import_smithy_client.take)(data, {
1460
- message: import_smithy_client.expectString
1461
- });
1462
- Object.assign(contents, doc);
1463
- const exception = new ResourceNotFoundException({
1464
- $metadata: deserializeMetadata(parsedOutput),
1465
- ...contents
1466
- });
1467
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1468
- }, "de_ResourceNotFoundExceptionRes");
1469
- var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1470
- const contents = (0, import_smithy_client.map)({});
1471
- const data = parsedOutput.body;
1472
- const doc = (0, import_smithy_client.take)(data, {
1473
- message: import_smithy_client.expectString
1474
- });
1475
- Object.assign(contents, doc);
1476
- const exception = new ServiceQuotaExceededException({
1477
- $metadata: deserializeMetadata(parsedOutput),
1478
- ...contents
1479
- });
1480
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1481
- }, "de_ServiceQuotaExceededExceptionRes");
1482
- var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1483
- const contents = (0, import_smithy_client.map)({});
1484
- const data = parsedOutput.body;
1485
- const doc = (0, import_smithy_client.take)(data, {
1486
- message: import_smithy_client.expectString
1487
- });
1488
- Object.assign(contents, doc);
1489
- const exception = new ThrottlingException({
1490
- $metadata: deserializeMetadata(parsedOutput),
1491
- ...contents
1492
- });
1493
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1494
- }, "de_ThrottlingExceptionRes");
1495
- var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1496
- const contents = (0, import_smithy_client.map)({});
1497
- const data = parsedOutput.body;
1498
- const doc = (0, import_smithy_client.take)(data, {
1499
- message: import_smithy_client.expectString
1500
- });
1501
- Object.assign(contents, doc);
1502
- const exception = new ValidationException({
1503
- $metadata: deserializeMetadata(parsedOutput),
1504
- ...contents
1505
- });
1506
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1507
- }, "de_ValidationExceptionRes");
1508
- var de_DataIntegrationEvent = /* @__PURE__ */ __name((output, context) => {
1509
- return (0, import_smithy_client.take)(output, {
1510
- datasetTargetDetails: import_smithy_client._json,
1511
- eventGroupId: import_smithy_client.expectString,
1512
- eventId: import_smithy_client.expectString,
1513
- eventTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "eventTimestamp"),
1514
- eventType: import_smithy_client.expectString,
1515
- instanceId: import_smithy_client.expectString
1516
- });
1517
- }, "de_DataIntegrationEvent");
1518
- var de_DataIntegrationEventList = /* @__PURE__ */ __name((output, context) => {
1519
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1520
- return de_DataIntegrationEvent(entry, context);
1521
- });
1522
- return retVal;
1523
- }, "de_DataIntegrationEventList");
1524
- var de_DataIntegrationFlow = /* @__PURE__ */ __name((output, context) => {
1525
- return (0, import_smithy_client.take)(output, {
1526
- createdTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdTime"),
1527
- instanceId: import_smithy_client.expectString,
1528
- lastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastModifiedTime"),
1529
- name: import_smithy_client.expectString,
1530
- sources: import_smithy_client._json,
1531
- target: import_smithy_client._json,
1532
- transformation: import_smithy_client._json
1533
- });
1534
- }, "de_DataIntegrationFlow");
1535
- var de_DataIntegrationFlowExecution = /* @__PURE__ */ __name((output, context) => {
1536
- return (0, import_smithy_client.take)(output, {
1537
- endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endTime"),
1538
- executionId: import_smithy_client.expectString,
1539
- flowName: import_smithy_client.expectString,
1540
- instanceId: import_smithy_client.expectString,
1541
- message: import_smithy_client.expectString,
1542
- outputMetadata: import_smithy_client._json,
1543
- sourceInfo: import_smithy_client._json,
1544
- startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime"),
1545
- status: import_smithy_client.expectString
1546
- });
1547
- }, "de_DataIntegrationFlowExecution");
1548
- var de_DataIntegrationFlowExecutionList = /* @__PURE__ */ __name((output, context) => {
1549
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1550
- return de_DataIntegrationFlowExecution(entry, context);
1551
- });
1552
- return retVal;
1553
- }, "de_DataIntegrationFlowExecutionList");
1554
- var de_DataIntegrationFlowList = /* @__PURE__ */ __name((output, context) => {
1555
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1556
- return de_DataIntegrationFlow(entry, context);
1557
- });
1558
- return retVal;
1559
- }, "de_DataIntegrationFlowList");
1560
- var de_DataLakeDataset = /* @__PURE__ */ __name((output, context) => {
1561
- return (0, import_smithy_client.take)(output, {
1562
- arn: import_smithy_client.expectString,
1563
- createdTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdTime"),
1564
- description: import_smithy_client.expectString,
1565
- instanceId: import_smithy_client.expectString,
1566
- lastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastModifiedTime"),
1567
- name: import_smithy_client.expectString,
1568
- namespace: import_smithy_client.expectString,
1569
- partitionSpec: import_smithy_client._json,
1570
- schema: import_smithy_client._json
1571
- });
1572
- }, "de_DataLakeDataset");
1573
- var de_DataLakeDatasetList = /* @__PURE__ */ __name((output, context) => {
1574
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1575
- return de_DataLakeDataset(entry, context);
1576
- });
1577
- return retVal;
1578
- }, "de_DataLakeDatasetList");
1579
- var de_DataLakeNamespace = /* @__PURE__ */ __name((output, context) => {
1580
- return (0, import_smithy_client.take)(output, {
1581
- arn: import_smithy_client.expectString,
1582
- createdTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdTime"),
1583
- description: import_smithy_client.expectString,
1584
- instanceId: import_smithy_client.expectString,
1585
- lastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastModifiedTime"),
1586
- name: import_smithy_client.expectString
1587
- });
1588
- }, "de_DataLakeNamespace");
1589
- var de_DataLakeNamespaceList = /* @__PURE__ */ __name((output, context) => {
1590
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1591
- return de_DataLakeNamespace(entry, context);
1592
- });
1593
- return retVal;
1594
- }, "de_DataLakeNamespaceList");
1595
- var de_Instance = /* @__PURE__ */ __name((output, context) => {
1596
- return (0, import_smithy_client.take)(output, {
1597
- awsAccountId: import_smithy_client.expectString,
1598
- createdTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdTime"),
1599
- errorMessage: import_smithy_client.expectString,
1600
- instanceDescription: import_smithy_client.expectString,
1601
- instanceId: import_smithy_client.expectString,
1602
- instanceName: import_smithy_client.expectString,
1603
- kmsKeyArn: import_smithy_client.expectString,
1604
- lastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastModifiedTime"),
1605
- state: import_smithy_client.expectString,
1606
- versionNumber: import_smithy_client.limitedParseDouble,
1607
- webAppDnsDomain: import_smithy_client.expectString
1608
- });
1609
- }, "de_Instance");
1610
- var de_InstanceList = /* @__PURE__ */ __name((output, context) => {
1611
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1612
- return de_Instance(entry, context);
1613
- });
1614
- return retVal;
1615
- }, "de_InstanceList");
1616
- var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1617
- httpStatusCode: output.statusCode,
1618
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1619
- extendedRequestId: output.headers["x-amz-id-2"],
1620
- cfId: output.headers["x-amz-cf-id"]
1621
- }), "deserializeMetadata");
1622
- var _eT = "eventType";
1623
- var _iNF = "instanceNameFilter";
1624
- var _iSF = "instanceStateFilter";
1625
- var _mR = "maxResults";
1626
- var _nT = "nextToken";
1627
- var _tK = "tagKeys";
1628
-
1629
- // src/commands/CreateBillOfMaterialsImportJobCommand.ts
1630
- var CreateBillOfMaterialsImportJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1631
- return [
1632
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1633
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1634
- ];
1635
- }).s("GalaxyPublicAPIGateway", "CreateBillOfMaterialsImportJob", {}).n("SupplyChainClient", "CreateBillOfMaterialsImportJobCommand").f(void 0, void 0).ser(se_CreateBillOfMaterialsImportJobCommand).de(de_CreateBillOfMaterialsImportJobCommand).build() {
1636
- static {
1637
- __name(this, "CreateBillOfMaterialsImportJobCommand");
1638
- }
220
+ const DataIntegrationFlowDedupeStrategyType = {
221
+ FIELD_PRIORITY: "FIELD_PRIORITY",
1639
222
  };
1640
-
1641
- // src/commands/CreateDataIntegrationFlowCommand.ts
1642
-
1643
-
1644
-
1645
- var CreateDataIntegrationFlowCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1646
- return [
1647
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1648
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1649
- ];
1650
- }).s("GalaxyPublicAPIGateway", "CreateDataIntegrationFlow", {}).n("SupplyChainClient", "CreateDataIntegrationFlowCommand").f(CreateDataIntegrationFlowRequestFilterSensitiveLog, void 0).ser(se_CreateDataIntegrationFlowCommand).de(de_CreateDataIntegrationFlowCommand).build() {
1651
- static {
1652
- __name(this, "CreateDataIntegrationFlowCommand");
1653
- }
223
+ const DataIntegrationFlowLoadType = {
224
+ INCREMENTAL: "INCREMENTAL",
225
+ REPLACE: "REPLACE",
1654
226
  };
1655
-
1656
- // src/commands/CreateDataLakeDatasetCommand.ts
1657
-
1658
-
1659
-
1660
- var CreateDataLakeDatasetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1661
- return [
1662
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1663
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1664
- ];
1665
- }).s("GalaxyPublicAPIGateway", "CreateDataLakeDataset", {}).n("SupplyChainClient", "CreateDataLakeDatasetCommand").f(void 0, void 0).ser(se_CreateDataLakeDatasetCommand).de(de_CreateDataLakeDatasetCommand).build() {
1666
- static {
1667
- __name(this, "CreateDataLakeDatasetCommand");
1668
- }
227
+ const DataIntegrationFlowFileType = {
228
+ CSV: "CSV",
229
+ JSON: "JSON",
230
+ PARQUET: "PARQUET",
1669
231
  };
1670
-
1671
- // src/commands/CreateDataLakeNamespaceCommand.ts
1672
-
1673
-
1674
-
1675
- var CreateDataLakeNamespaceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1676
- return [
1677
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1678
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1679
- ];
1680
- }).s("GalaxyPublicAPIGateway", "CreateDataLakeNamespace", {}).n("SupplyChainClient", "CreateDataLakeNamespaceCommand").f(void 0, void 0).ser(se_CreateDataLakeNamespaceCommand).de(de_CreateDataLakeNamespaceCommand).build() {
1681
- static {
1682
- __name(this, "CreateDataLakeNamespaceCommand");
1683
- }
232
+ const DataIntegrationFlowSourceType = {
233
+ DATASET: "DATASET",
234
+ S3: "S3",
1684
235
  };
1685
-
1686
- // src/commands/CreateInstanceCommand.ts
1687
-
1688
-
1689
-
1690
- var CreateInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1691
- return [
1692
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1693
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1694
- ];
1695
- }).s("GalaxyPublicAPIGateway", "CreateInstance", {}).n("SupplyChainClient", "CreateInstanceCommand").f(void 0, void 0).ser(se_CreateInstanceCommand).de(de_CreateInstanceCommand).build() {
1696
- static {
1697
- __name(this, "CreateInstanceCommand");
1698
- }
236
+ const DataIntegrationFlowTargetType = {
237
+ DATASET: "DATASET",
238
+ S3: "S3",
1699
239
  };
1700
-
1701
- // src/commands/DeleteDataIntegrationFlowCommand.ts
1702
-
1703
-
1704
-
1705
- var DeleteDataIntegrationFlowCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1706
- return [
1707
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1708
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1709
- ];
1710
- }).s("GalaxyPublicAPIGateway", "DeleteDataIntegrationFlow", {}).n("SupplyChainClient", "DeleteDataIntegrationFlowCommand").f(void 0, void 0).ser(se_DeleteDataIntegrationFlowCommand).de(de_DeleteDataIntegrationFlowCommand).build() {
1711
- static {
1712
- __name(this, "DeleteDataIntegrationFlowCommand");
1713
- }
240
+ const DataIntegrationFlowTransformationType = {
241
+ NONE: "NONE",
242
+ SQL: "SQL",
1714
243
  };
1715
-
1716
- // src/commands/DeleteDataLakeDatasetCommand.ts
1717
-
1718
-
1719
-
1720
- var DeleteDataLakeDatasetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1721
- return [
1722
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1723
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1724
- ];
1725
- }).s("GalaxyPublicAPIGateway", "DeleteDataLakeDataset", {}).n("SupplyChainClient", "DeleteDataLakeDatasetCommand").f(void 0, void 0).ser(se_DeleteDataLakeDatasetCommand).de(de_DeleteDataLakeDatasetCommand).build() {
1726
- static {
1727
- __name(this, "DeleteDataLakeDatasetCommand");
1728
- }
244
+ const DataLakeDatasetPartitionTransformType = {
245
+ DAY: "DAY",
246
+ HOUR: "HOUR",
247
+ IDENTITY: "IDENTITY",
248
+ MONTH: "MONTH",
249
+ YEAR: "YEAR",
1729
250
  };
1730
-
1731
- // src/commands/DeleteDataLakeNamespaceCommand.ts
1732
-
1733
-
1734
-
1735
- var DeleteDataLakeNamespaceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1736
- return [
1737
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1738
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1739
- ];
1740
- }).s("GalaxyPublicAPIGateway", "DeleteDataLakeNamespace", {}).n("SupplyChainClient", "DeleteDataLakeNamespaceCommand").f(void 0, void 0).ser(se_DeleteDataLakeNamespaceCommand).de(de_DeleteDataLakeNamespaceCommand).build() {
1741
- static {
1742
- __name(this, "DeleteDataLakeNamespaceCommand");
1743
- }
251
+ const DataLakeDatasetSchemaFieldType = {
252
+ DOUBLE: "DOUBLE",
253
+ INT: "INT",
254
+ LONG: "LONG",
255
+ STRING: "STRING",
256
+ TIMESTAMP: "TIMESTAMP",
1744
257
  };
1745
-
1746
- // src/commands/DeleteInstanceCommand.ts
1747
-
1748
-
1749
-
1750
- var DeleteInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1751
- return [
1752
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1753
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1754
- ];
1755
- }).s("GalaxyPublicAPIGateway", "DeleteInstance", {}).n("SupplyChainClient", "DeleteInstanceCommand").f(void 0, void 0).ser(se_DeleteInstanceCommand).de(de_DeleteInstanceCommand).build() {
1756
- static {
1757
- __name(this, "DeleteInstanceCommand");
1758
- }
258
+ const InstanceState = {
259
+ ACTIVE: "Active",
260
+ CREATE_FAILED: "CreateFailed",
261
+ DELETED: "Deleted",
262
+ DELETE_FAILED: "DeleteFailed",
263
+ DELETING: "Deleting",
264
+ INITIALIZING: "Initializing",
1759
265
  };
1760
-
1761
- // src/commands/GetBillOfMaterialsImportJobCommand.ts
1762
-
1763
-
1764
-
1765
- var GetBillOfMaterialsImportJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1766
- return [
1767
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1768
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1769
- ];
1770
- }).s("GalaxyPublicAPIGateway", "GetBillOfMaterialsImportJob", {}).n("SupplyChainClient", "GetBillOfMaterialsImportJobCommand").f(void 0, void 0).ser(se_GetBillOfMaterialsImportJobCommand).de(de_GetBillOfMaterialsImportJobCommand).build() {
1771
- static {
1772
- __name(this, "GetBillOfMaterialsImportJobCommand");
1773
- }
266
+ const DataIntegrationEventDatasetLoadStatus = {
267
+ FAILED: "FAILED",
268
+ IN_PROGRESS: "IN_PROGRESS",
269
+ SUCCEEDED: "SUCCEEDED",
1774
270
  };
1775
-
1776
- // src/commands/GetDataIntegrationEventCommand.ts
1777
-
1778
-
1779
-
1780
- var GetDataIntegrationEventCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1781
- return [
1782
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1783
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1784
- ];
1785
- }).s("GalaxyPublicAPIGateway", "GetDataIntegrationEvent", {}).n("SupplyChainClient", "GetDataIntegrationEventCommand").f(void 0, void 0).ser(se_GetDataIntegrationEventCommand).de(de_GetDataIntegrationEventCommand).build() {
1786
- static {
1787
- __name(this, "GetDataIntegrationEventCommand");
1788
- }
271
+ const DataIntegrationEventDatasetOperationType = {
272
+ APPEND: "APPEND",
273
+ DELETE: "DELETE",
274
+ UPSERT: "UPSERT",
1789
275
  };
1790
-
1791
- // src/commands/GetDataIntegrationFlowCommand.ts
1792
-
1793
-
1794
-
1795
- var GetDataIntegrationFlowCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1796
- return [
1797
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1798
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1799
- ];
1800
- }).s("GalaxyPublicAPIGateway", "GetDataIntegrationFlow", {}).n("SupplyChainClient", "GetDataIntegrationFlowCommand").f(void 0, GetDataIntegrationFlowResponseFilterSensitiveLog).ser(se_GetDataIntegrationFlowCommand).de(de_GetDataIntegrationFlowCommand).build() {
1801
- static {
1802
- __name(this, "GetDataIntegrationFlowCommand");
1803
- }
276
+ const DataIntegrationEventType = {
277
+ DATASET: "scn.data.dataset",
278
+ FORECAST: "scn.data.forecast",
279
+ INBOUND_ORDER: "scn.data.inboundorder",
280
+ INBOUND_ORDER_LINE: "scn.data.inboundorderline",
281
+ INBOUND_ORDER_LINE_SCHEDULE: "scn.data.inboundorderlineschedule",
282
+ INVENTORY_LEVEL: "scn.data.inventorylevel",
283
+ OUTBOUND_ORDER_LINE: "scn.data.outboundorderline",
284
+ OUTBOUND_SHIPMENT: "scn.data.outboundshipment",
285
+ PROCESS_HEADER: "scn.data.processheader",
286
+ PROCESS_OPERATION: "scn.data.processoperation",
287
+ PROCESS_PRODUCT: "scn.data.processproduct",
288
+ RESERVATION: "scn.data.reservation",
289
+ SHIPMENT: "scn.data.shipment",
290
+ SHIPMENT_STOP: "scn.data.shipmentstop",
291
+ SHIPMENT_STOP_ORDER: "scn.data.shipmentstoporder",
292
+ SUPPLY_PLAN: "scn.data.supplyplan",
1804
293
  };
1805
-
1806
- // src/commands/GetDataIntegrationFlowExecutionCommand.ts
1807
-
1808
-
1809
-
1810
- var GetDataIntegrationFlowExecutionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1811
- return [
1812
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1813
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1814
- ];
1815
- }).s("GalaxyPublicAPIGateway", "GetDataIntegrationFlowExecution", {}).n("SupplyChainClient", "GetDataIntegrationFlowExecutionCommand").f(void 0, void 0).ser(se_GetDataIntegrationFlowExecutionCommand).de(de_GetDataIntegrationFlowExecutionCommand).build() {
1816
- static {
1817
- __name(this, "GetDataIntegrationFlowExecutionCommand");
1818
- }
294
+ const DataIntegrationFlowExecutionStatus = {
295
+ FAILED: "FAILED",
296
+ IN_PROGRESS: "IN_PROGRESS",
297
+ SUCCEEDED: "SUCCEEDED",
1819
298
  };
299
+ const DataIntegrationFlowSQLTransformationConfigurationFilterSensitiveLog = (obj) => ({
300
+ ...obj,
301
+ ...(obj.query && { query: smithyClient.SENSITIVE_STRING }),
302
+ });
303
+ const DataIntegrationFlowTransformationFilterSensitiveLog = (obj) => ({
304
+ ...obj,
305
+ ...(obj.sqlTransformation && {
306
+ sqlTransformation: DataIntegrationFlowSQLTransformationConfigurationFilterSensitiveLog(obj.sqlTransformation),
307
+ }),
308
+ });
309
+ const CreateDataIntegrationFlowRequestFilterSensitiveLog = (obj) => ({
310
+ ...obj,
311
+ ...(obj.transformation && {
312
+ transformation: DataIntegrationFlowTransformationFilterSensitiveLog(obj.transformation),
313
+ }),
314
+ });
315
+ const DataIntegrationFlowFilterSensitiveLog = (obj) => ({
316
+ ...obj,
317
+ ...(obj.transformation && {
318
+ transformation: DataIntegrationFlowTransformationFilterSensitiveLog(obj.transformation),
319
+ }),
320
+ });
321
+ const GetDataIntegrationFlowResponseFilterSensitiveLog = (obj) => ({
322
+ ...obj,
323
+ ...(obj.flow && { flow: DataIntegrationFlowFilterSensitiveLog(obj.flow) }),
324
+ });
325
+ const ListDataIntegrationFlowsResponseFilterSensitiveLog = (obj) => ({
326
+ ...obj,
327
+ ...(obj.flows && { flows: obj.flows.map((item) => DataIntegrationFlowFilterSensitiveLog(item)) }),
328
+ });
329
+ const UpdateDataIntegrationFlowRequestFilterSensitiveLog = (obj) => ({
330
+ ...obj,
331
+ ...(obj.transformation && {
332
+ transformation: DataIntegrationFlowTransformationFilterSensitiveLog(obj.transformation),
333
+ }),
334
+ });
335
+ const UpdateDataIntegrationFlowResponseFilterSensitiveLog = (obj) => ({
336
+ ...obj,
337
+ ...(obj.flow && { flow: DataIntegrationFlowFilterSensitiveLog(obj.flow) }),
338
+ });
339
+ const SendDataIntegrationEventRequestFilterSensitiveLog = (obj) => ({
340
+ ...obj,
341
+ ...(obj.data && { data: smithyClient.SENSITIVE_STRING }),
342
+ });
1820
343
 
1821
- // src/commands/GetDataLakeDatasetCommand.ts
1822
-
1823
-
1824
-
1825
- var GetDataLakeDatasetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1826
- return [
1827
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1828
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1829
- ];
1830
- }).s("GalaxyPublicAPIGateway", "GetDataLakeDataset", {}).n("SupplyChainClient", "GetDataLakeDatasetCommand").f(void 0, void 0).ser(se_GetDataLakeDatasetCommand).de(de_GetDataLakeDatasetCommand).build() {
1831
- static {
1832
- __name(this, "GetDataLakeDatasetCommand");
1833
- }
344
+ const se_CreateBillOfMaterialsImportJobCommand = async (input, context) => {
345
+ const b = core.requestBuilder(input, context);
346
+ const headers = {
347
+ "content-type": "application/json",
348
+ };
349
+ b.bp("/api/configuration/instances/{instanceId}/bill-of-materials-import-jobs");
350
+ b.p("instanceId", () => input.instanceId, "{instanceId}", false);
351
+ let body;
352
+ body = JSON.stringify(smithyClient.take(input, {
353
+ clientToken: [true, (_) => _ ?? uuid.v4()],
354
+ s3uri: [],
355
+ }));
356
+ b.m("POST").h(headers).b(body);
357
+ return b.build();
1834
358
  };
1835
-
1836
- // src/commands/GetDataLakeNamespaceCommand.ts
1837
-
1838
-
1839
-
1840
- var GetDataLakeNamespaceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1841
- return [
1842
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1843
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1844
- ];
1845
- }).s("GalaxyPublicAPIGateway", "GetDataLakeNamespace", {}).n("SupplyChainClient", "GetDataLakeNamespaceCommand").f(void 0, void 0).ser(se_GetDataLakeNamespaceCommand).de(de_GetDataLakeNamespaceCommand).build() {
1846
- static {
1847
- __name(this, "GetDataLakeNamespaceCommand");
1848
- }
359
+ const se_CreateDataIntegrationFlowCommand = async (input, context) => {
360
+ const b = core.requestBuilder(input, context);
361
+ const headers = {
362
+ "content-type": "application/json",
363
+ };
364
+ b.bp("/api/data-integration/instance/{instanceId}/data-integration-flows/{name}");
365
+ b.p("instanceId", () => input.instanceId, "{instanceId}", false);
366
+ b.p("name", () => input.name, "{name}", false);
367
+ let body;
368
+ body = JSON.stringify(smithyClient.take(input, {
369
+ sources: (_) => smithyClient._json(_),
370
+ tags: (_) => smithyClient._json(_),
371
+ target: (_) => smithyClient._json(_),
372
+ transformation: (_) => smithyClient._json(_),
373
+ }));
374
+ b.m("PUT").h(headers).b(body);
375
+ return b.build();
1849
376
  };
1850
-
1851
- // src/commands/GetInstanceCommand.ts
1852
-
1853
-
1854
-
1855
- var GetInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1856
- return [
1857
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1858
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1859
- ];
1860
- }).s("GalaxyPublicAPIGateway", "GetInstance", {}).n("SupplyChainClient", "GetInstanceCommand").f(void 0, void 0).ser(se_GetInstanceCommand).de(de_GetInstanceCommand).build() {
1861
- static {
1862
- __name(this, "GetInstanceCommand");
1863
- }
377
+ const se_CreateDataLakeDatasetCommand = async (input, context) => {
378
+ const b = core.requestBuilder(input, context);
379
+ const headers = {
380
+ "content-type": "application/json",
381
+ };
382
+ b.bp("/api/datalake/instance/{instanceId}/namespaces/{namespace}/datasets/{name}");
383
+ b.p("instanceId", () => input.instanceId, "{instanceId}", false);
384
+ b.p("namespace", () => input.namespace, "{namespace}", false);
385
+ b.p("name", () => input.name, "{name}", false);
386
+ let body;
387
+ body = JSON.stringify(smithyClient.take(input, {
388
+ description: [],
389
+ partitionSpec: (_) => smithyClient._json(_),
390
+ schema: (_) => smithyClient._json(_),
391
+ tags: (_) => smithyClient._json(_),
392
+ }));
393
+ b.m("PUT").h(headers).b(body);
394
+ return b.build();
1864
395
  };
1865
-
1866
- // src/commands/ListDataIntegrationEventsCommand.ts
1867
-
1868
-
1869
-
1870
- var ListDataIntegrationEventsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1871
- return [
1872
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1873
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1874
- ];
1875
- }).s("GalaxyPublicAPIGateway", "ListDataIntegrationEvents", {}).n("SupplyChainClient", "ListDataIntegrationEventsCommand").f(void 0, void 0).ser(se_ListDataIntegrationEventsCommand).de(de_ListDataIntegrationEventsCommand).build() {
1876
- static {
1877
- __name(this, "ListDataIntegrationEventsCommand");
1878
- }
396
+ const se_CreateDataLakeNamespaceCommand = async (input, context) => {
397
+ const b = core.requestBuilder(input, context);
398
+ const headers = {
399
+ "content-type": "application/json",
400
+ };
401
+ b.bp("/api/datalake/instance/{instanceId}/namespaces/{name}");
402
+ b.p("instanceId", () => input.instanceId, "{instanceId}", false);
403
+ b.p("name", () => input.name, "{name}", false);
404
+ let body;
405
+ body = JSON.stringify(smithyClient.take(input, {
406
+ description: [],
407
+ tags: (_) => smithyClient._json(_),
408
+ }));
409
+ b.m("PUT").h(headers).b(body);
410
+ return b.build();
1879
411
  };
1880
-
1881
- // src/commands/ListDataIntegrationFlowExecutionsCommand.ts
1882
-
1883
-
1884
-
1885
- var ListDataIntegrationFlowExecutionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1886
- return [
1887
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1888
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1889
- ];
1890
- }).s("GalaxyPublicAPIGateway", "ListDataIntegrationFlowExecutions", {}).n("SupplyChainClient", "ListDataIntegrationFlowExecutionsCommand").f(void 0, void 0).ser(se_ListDataIntegrationFlowExecutionsCommand).de(de_ListDataIntegrationFlowExecutionsCommand).build() {
1891
- static {
1892
- __name(this, "ListDataIntegrationFlowExecutionsCommand");
1893
- }
412
+ const se_CreateInstanceCommand = async (input, context) => {
413
+ const b = core.requestBuilder(input, context);
414
+ const headers = {
415
+ "content-type": "application/json",
416
+ };
417
+ b.bp("/api/instance");
418
+ let body;
419
+ body = JSON.stringify(smithyClient.take(input, {
420
+ clientToken: [true, (_) => _ ?? uuid.v4()],
421
+ instanceDescription: [],
422
+ instanceName: [],
423
+ kmsKeyArn: [],
424
+ tags: (_) => smithyClient._json(_),
425
+ webAppDnsDomain: [],
426
+ }));
427
+ b.m("POST").h(headers).b(body);
428
+ return b.build();
1894
429
  };
1895
-
1896
- // src/commands/ListDataIntegrationFlowsCommand.ts
1897
-
1898
-
1899
-
1900
- var ListDataIntegrationFlowsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1901
- return [
1902
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1903
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1904
- ];
1905
- }).s("GalaxyPublicAPIGateway", "ListDataIntegrationFlows", {}).n("SupplyChainClient", "ListDataIntegrationFlowsCommand").f(void 0, ListDataIntegrationFlowsResponseFilterSensitiveLog).ser(se_ListDataIntegrationFlowsCommand).de(de_ListDataIntegrationFlowsCommand).build() {
1906
- static {
1907
- __name(this, "ListDataIntegrationFlowsCommand");
1908
- }
430
+ const se_DeleteDataIntegrationFlowCommand = async (input, context) => {
431
+ const b = core.requestBuilder(input, context);
432
+ const headers = {};
433
+ b.bp("/api/data-integration/instance/{instanceId}/data-integration-flows/{name}");
434
+ b.p("instanceId", () => input.instanceId, "{instanceId}", false);
435
+ b.p("name", () => input.name, "{name}", false);
436
+ let body;
437
+ b.m("DELETE").h(headers).b(body);
438
+ return b.build();
1909
439
  };
1910
-
1911
- // src/commands/ListDataLakeDatasetsCommand.ts
1912
-
1913
-
1914
-
1915
- var ListDataLakeDatasetsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1916
- return [
1917
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1918
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1919
- ];
1920
- }).s("GalaxyPublicAPIGateway", "ListDataLakeDatasets", {}).n("SupplyChainClient", "ListDataLakeDatasetsCommand").f(void 0, void 0).ser(se_ListDataLakeDatasetsCommand).de(de_ListDataLakeDatasetsCommand).build() {
1921
- static {
1922
- __name(this, "ListDataLakeDatasetsCommand");
1923
- }
440
+ const se_DeleteDataLakeDatasetCommand = async (input, context) => {
441
+ const b = core.requestBuilder(input, context);
442
+ const headers = {};
443
+ b.bp("/api/datalake/instance/{instanceId}/namespaces/{namespace}/datasets/{name}");
444
+ b.p("instanceId", () => input.instanceId, "{instanceId}", false);
445
+ b.p("namespace", () => input.namespace, "{namespace}", false);
446
+ b.p("name", () => input.name, "{name}", false);
447
+ let body;
448
+ b.m("DELETE").h(headers).b(body);
449
+ return b.build();
1924
450
  };
1925
-
1926
- // src/commands/ListDataLakeNamespacesCommand.ts
1927
-
1928
-
1929
-
1930
- var ListDataLakeNamespacesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1931
- return [
1932
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1933
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1934
- ];
1935
- }).s("GalaxyPublicAPIGateway", "ListDataLakeNamespaces", {}).n("SupplyChainClient", "ListDataLakeNamespacesCommand").f(void 0, void 0).ser(se_ListDataLakeNamespacesCommand).de(de_ListDataLakeNamespacesCommand).build() {
1936
- static {
1937
- __name(this, "ListDataLakeNamespacesCommand");
1938
- }
451
+ const se_DeleteDataLakeNamespaceCommand = async (input, context) => {
452
+ const b = core.requestBuilder(input, context);
453
+ const headers = {};
454
+ b.bp("/api/datalake/instance/{instanceId}/namespaces/{name}");
455
+ b.p("instanceId", () => input.instanceId, "{instanceId}", false);
456
+ b.p("name", () => input.name, "{name}", false);
457
+ let body;
458
+ b.m("DELETE").h(headers).b(body);
459
+ return b.build();
1939
460
  };
1940
-
1941
- // src/commands/ListInstancesCommand.ts
1942
-
1943
-
1944
-
1945
- var ListInstancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1946
- return [
1947
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1948
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1949
- ];
1950
- }).s("GalaxyPublicAPIGateway", "ListInstances", {}).n("SupplyChainClient", "ListInstancesCommand").f(void 0, void 0).ser(se_ListInstancesCommand).de(de_ListInstancesCommand).build() {
1951
- static {
1952
- __name(this, "ListInstancesCommand");
1953
- }
461
+ const se_DeleteInstanceCommand = async (input, context) => {
462
+ const b = core.requestBuilder(input, context);
463
+ const headers = {};
464
+ b.bp("/api/instance/{instanceId}");
465
+ b.p("instanceId", () => input.instanceId, "{instanceId}", false);
466
+ let body;
467
+ b.m("DELETE").h(headers).b(body);
468
+ return b.build();
1954
469
  };
1955
-
1956
- // src/commands/ListTagsForResourceCommand.ts
1957
-
1958
-
1959
-
1960
- var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1961
- return [
1962
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1963
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1964
- ];
1965
- }).s("GalaxyPublicAPIGateway", "ListTagsForResource", {}).n("SupplyChainClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
1966
- static {
1967
- __name(this, "ListTagsForResourceCommand");
1968
- }
470
+ const se_GetBillOfMaterialsImportJobCommand = async (input, context) => {
471
+ const b = core.requestBuilder(input, context);
472
+ const headers = {};
473
+ b.bp("/api/configuration/instances/{instanceId}/bill-of-materials-import-jobs/{jobId}");
474
+ b.p("instanceId", () => input.instanceId, "{instanceId}", false);
475
+ b.p("jobId", () => input.jobId, "{jobId}", false);
476
+ let body;
477
+ b.m("GET").h(headers).b(body);
478
+ return b.build();
1969
479
  };
1970
-
1971
- // src/commands/SendDataIntegrationEventCommand.ts
1972
-
1973
-
1974
-
1975
- var SendDataIntegrationEventCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1976
- return [
1977
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1978
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1979
- ];
1980
- }).s("GalaxyPublicAPIGateway", "SendDataIntegrationEvent", {}).n("SupplyChainClient", "SendDataIntegrationEventCommand").f(SendDataIntegrationEventRequestFilterSensitiveLog, void 0).ser(se_SendDataIntegrationEventCommand).de(de_SendDataIntegrationEventCommand).build() {
1981
- static {
1982
- __name(this, "SendDataIntegrationEventCommand");
1983
- }
480
+ const se_GetDataIntegrationEventCommand = async (input, context) => {
481
+ const b = core.requestBuilder(input, context);
482
+ const headers = {};
483
+ b.bp("/api-data/data-integration/instance/{instanceId}/data-integration-events/{eventId}");
484
+ b.p("instanceId", () => input.instanceId, "{instanceId}", false);
485
+ b.p("eventId", () => input.eventId, "{eventId}", false);
486
+ let body;
487
+ b.m("GET").h(headers).b(body);
488
+ return b.build();
1984
489
  };
1985
-
1986
- // src/commands/TagResourceCommand.ts
1987
-
1988
-
1989
-
1990
- var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1991
- return [
1992
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1993
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1994
- ];
1995
- }).s("GalaxyPublicAPIGateway", "TagResource", {}).n("SupplyChainClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
1996
- static {
1997
- __name(this, "TagResourceCommand");
1998
- }
490
+ const se_GetDataIntegrationFlowCommand = async (input, context) => {
491
+ const b = core.requestBuilder(input, context);
492
+ const headers = {};
493
+ b.bp("/api/data-integration/instance/{instanceId}/data-integration-flows/{name}");
494
+ b.p("instanceId", () => input.instanceId, "{instanceId}", false);
495
+ b.p("name", () => input.name, "{name}", false);
496
+ let body;
497
+ b.m("GET").h(headers).b(body);
498
+ return b.build();
1999
499
  };
2000
-
2001
- // src/commands/UntagResourceCommand.ts
2002
-
2003
-
2004
-
2005
- var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2006
- return [
2007
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2008
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2009
- ];
2010
- }).s("GalaxyPublicAPIGateway", "UntagResource", {}).n("SupplyChainClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
2011
- static {
2012
- __name(this, "UntagResourceCommand");
2013
- }
500
+ const se_GetDataIntegrationFlowExecutionCommand = async (input, context) => {
501
+ const b = core.requestBuilder(input, context);
502
+ const headers = {};
503
+ b.bp("/api-data/data-integration/instance/{instanceId}/data-integration-flows/{flowName}/executions/{executionId}");
504
+ b.p("instanceId", () => input.instanceId, "{instanceId}", false);
505
+ b.p("flowName", () => input.flowName, "{flowName}", false);
506
+ b.p("executionId", () => input.executionId, "{executionId}", false);
507
+ let body;
508
+ b.m("GET").h(headers).b(body);
509
+ return b.build();
2014
510
  };
2015
-
2016
- // src/commands/UpdateDataIntegrationFlowCommand.ts
2017
-
2018
-
2019
-
2020
- var UpdateDataIntegrationFlowCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2021
- return [
2022
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2023
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2024
- ];
2025
- }).s("GalaxyPublicAPIGateway", "UpdateDataIntegrationFlow", {}).n("SupplyChainClient", "UpdateDataIntegrationFlowCommand").f(UpdateDataIntegrationFlowRequestFilterSensitiveLog, UpdateDataIntegrationFlowResponseFilterSensitiveLog).ser(se_UpdateDataIntegrationFlowCommand).de(de_UpdateDataIntegrationFlowCommand).build() {
2026
- static {
2027
- __name(this, "UpdateDataIntegrationFlowCommand");
2028
- }
511
+ const se_GetDataLakeDatasetCommand = async (input, context) => {
512
+ const b = core.requestBuilder(input, context);
513
+ const headers = {};
514
+ b.bp("/api/datalake/instance/{instanceId}/namespaces/{namespace}/datasets/{name}");
515
+ b.p("instanceId", () => input.instanceId, "{instanceId}", false);
516
+ b.p("namespace", () => input.namespace, "{namespace}", false);
517
+ b.p("name", () => input.name, "{name}", false);
518
+ let body;
519
+ b.m("GET").h(headers).b(body);
520
+ return b.build();
2029
521
  };
2030
-
2031
- // src/commands/UpdateDataLakeDatasetCommand.ts
2032
-
2033
-
2034
-
2035
- var UpdateDataLakeDatasetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2036
- return [
2037
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2038
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2039
- ];
2040
- }).s("GalaxyPublicAPIGateway", "UpdateDataLakeDataset", {}).n("SupplyChainClient", "UpdateDataLakeDatasetCommand").f(void 0, void 0).ser(se_UpdateDataLakeDatasetCommand).de(de_UpdateDataLakeDatasetCommand).build() {
2041
- static {
2042
- __name(this, "UpdateDataLakeDatasetCommand");
2043
- }
522
+ const se_GetDataLakeNamespaceCommand = async (input, context) => {
523
+ const b = core.requestBuilder(input, context);
524
+ const headers = {};
525
+ b.bp("/api/datalake/instance/{instanceId}/namespaces/{name}");
526
+ b.p("instanceId", () => input.instanceId, "{instanceId}", false);
527
+ b.p("name", () => input.name, "{name}", false);
528
+ let body;
529
+ b.m("GET").h(headers).b(body);
530
+ return b.build();
2044
531
  };
2045
-
2046
- // src/commands/UpdateDataLakeNamespaceCommand.ts
2047
-
2048
-
2049
-
2050
- var UpdateDataLakeNamespaceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2051
- return [
2052
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2053
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2054
- ];
2055
- }).s("GalaxyPublicAPIGateway", "UpdateDataLakeNamespace", {}).n("SupplyChainClient", "UpdateDataLakeNamespaceCommand").f(void 0, void 0).ser(se_UpdateDataLakeNamespaceCommand).de(de_UpdateDataLakeNamespaceCommand).build() {
2056
- static {
2057
- __name(this, "UpdateDataLakeNamespaceCommand");
2058
- }
532
+ const se_GetInstanceCommand = async (input, context) => {
533
+ const b = core.requestBuilder(input, context);
534
+ const headers = {};
535
+ b.bp("/api/instance/{instanceId}");
536
+ b.p("instanceId", () => input.instanceId, "{instanceId}", false);
537
+ let body;
538
+ b.m("GET").h(headers).b(body);
539
+ return b.build();
2059
540
  };
2060
-
2061
- // src/commands/UpdateInstanceCommand.ts
2062
-
2063
-
2064
-
2065
- var UpdateInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2066
- return [
2067
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2068
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2069
- ];
2070
- }).s("GalaxyPublicAPIGateway", "UpdateInstance", {}).n("SupplyChainClient", "UpdateInstanceCommand").f(void 0, void 0).ser(se_UpdateInstanceCommand).de(de_UpdateInstanceCommand).build() {
2071
- static {
2072
- __name(this, "UpdateInstanceCommand");
2073
- }
541
+ const se_ListDataIntegrationEventsCommand = async (input, context) => {
542
+ const b = core.requestBuilder(input, context);
543
+ const headers = {};
544
+ b.bp("/api-data/data-integration/instance/{instanceId}/data-integration-events");
545
+ b.p("instanceId", () => input.instanceId, "{instanceId}", false);
546
+ const query = smithyClient.map({
547
+ [_eT]: [, input[_eT]],
548
+ [_nT]: [, input[_nT]],
549
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
550
+ });
551
+ let body;
552
+ b.m("GET").h(headers).q(query).b(body);
553
+ return b.build();
2074
554
  };
555
+ const se_ListDataIntegrationFlowExecutionsCommand = async (input, context) => {
556
+ const b = core.requestBuilder(input, context);
557
+ const headers = {};
558
+ b.bp("/api-data/data-integration/instance/{instanceId}/data-integration-flows/{flowName}/executions");
559
+ b.p("instanceId", () => input.instanceId, "{instanceId}", false);
560
+ b.p("flowName", () => input.flowName, "{flowName}", false);
561
+ const query = smithyClient.map({
562
+ [_nT]: [, input[_nT]],
563
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
564
+ });
565
+ let body;
566
+ b.m("GET").h(headers).q(query).b(body);
567
+ return b.build();
568
+ };
569
+ const se_ListDataIntegrationFlowsCommand = async (input, context) => {
570
+ const b = core.requestBuilder(input, context);
571
+ const headers = {};
572
+ b.bp("/api/data-integration/instance/{instanceId}/data-integration-flows");
573
+ b.p("instanceId", () => input.instanceId, "{instanceId}", false);
574
+ const query = smithyClient.map({
575
+ [_nT]: [, input[_nT]],
576
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
577
+ });
578
+ let body;
579
+ b.m("GET").h(headers).q(query).b(body);
580
+ return b.build();
581
+ };
582
+ const se_ListDataLakeDatasetsCommand = async (input, context) => {
583
+ const b = core.requestBuilder(input, context);
584
+ const headers = {};
585
+ b.bp("/api/datalake/instance/{instanceId}/namespaces/{namespace}/datasets");
586
+ b.p("instanceId", () => input.instanceId, "{instanceId}", false);
587
+ b.p("namespace", () => input.namespace, "{namespace}", false);
588
+ const query = smithyClient.map({
589
+ [_nT]: [, input[_nT]],
590
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
591
+ });
592
+ let body;
593
+ b.m("GET").h(headers).q(query).b(body);
594
+ return b.build();
595
+ };
596
+ const se_ListDataLakeNamespacesCommand = async (input, context) => {
597
+ const b = core.requestBuilder(input, context);
598
+ const headers = {};
599
+ b.bp("/api/datalake/instance/{instanceId}/namespaces");
600
+ b.p("instanceId", () => input.instanceId, "{instanceId}", false);
601
+ const query = smithyClient.map({
602
+ [_nT]: [, input[_nT]],
603
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
604
+ });
605
+ let body;
606
+ b.m("GET").h(headers).q(query).b(body);
607
+ return b.build();
608
+ };
609
+ const se_ListInstancesCommand = async (input, context) => {
610
+ const b = core.requestBuilder(input, context);
611
+ const headers = {};
612
+ b.bp("/api/instance");
613
+ const query = smithyClient.map({
614
+ [_nT]: [, input[_nT]],
615
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
616
+ [_iNF]: [() => input.instanceNameFilter !== void 0, () => input[_iNF] || []],
617
+ [_iSF]: [() => input.instanceStateFilter !== void 0, () => input[_iSF] || []],
618
+ });
619
+ let body;
620
+ b.m("GET").h(headers).q(query).b(body);
621
+ return b.build();
622
+ };
623
+ const se_ListTagsForResourceCommand = async (input, context) => {
624
+ const b = core.requestBuilder(input, context);
625
+ const headers = {};
626
+ b.bp("/api/tags/{resourceArn}");
627
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
628
+ let body;
629
+ b.m("GET").h(headers).b(body);
630
+ return b.build();
631
+ };
632
+ const se_SendDataIntegrationEventCommand = async (input, context) => {
633
+ const b = core.requestBuilder(input, context);
634
+ const headers = {
635
+ "content-type": "application/json",
636
+ };
637
+ b.bp("/api-data/data-integration/instance/{instanceId}/data-integration-events");
638
+ b.p("instanceId", () => input.instanceId, "{instanceId}", false);
639
+ let body;
640
+ body = JSON.stringify(smithyClient.take(input, {
641
+ clientToken: [true, (_) => _ ?? uuid.v4()],
642
+ data: [],
643
+ datasetTarget: (_) => smithyClient._json(_),
644
+ eventGroupId: [],
645
+ eventTimestamp: (_) => _.getTime() / 1_000,
646
+ eventType: [],
647
+ }));
648
+ b.m("POST").h(headers).b(body);
649
+ return b.build();
650
+ };
651
+ const se_TagResourceCommand = async (input, context) => {
652
+ const b = core.requestBuilder(input, context);
653
+ const headers = {
654
+ "content-type": "application/json",
655
+ };
656
+ b.bp("/api/tags/{resourceArn}");
657
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
658
+ let body;
659
+ body = JSON.stringify(smithyClient.take(input, {
660
+ tags: (_) => smithyClient._json(_),
661
+ }));
662
+ b.m("POST").h(headers).b(body);
663
+ return b.build();
664
+ };
665
+ const se_UntagResourceCommand = async (input, context) => {
666
+ const b = core.requestBuilder(input, context);
667
+ const headers = {};
668
+ b.bp("/api/tags/{resourceArn}");
669
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
670
+ const query = smithyClient.map({
671
+ [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
672
+ });
673
+ let body;
674
+ b.m("DELETE").h(headers).q(query).b(body);
675
+ return b.build();
676
+ };
677
+ const se_UpdateDataIntegrationFlowCommand = async (input, context) => {
678
+ const b = core.requestBuilder(input, context);
679
+ const headers = {
680
+ "content-type": "application/json",
681
+ };
682
+ b.bp("/api/data-integration/instance/{instanceId}/data-integration-flows/{name}");
683
+ b.p("instanceId", () => input.instanceId, "{instanceId}", false);
684
+ b.p("name", () => input.name, "{name}", false);
685
+ let body;
686
+ body = JSON.stringify(smithyClient.take(input, {
687
+ sources: (_) => smithyClient._json(_),
688
+ target: (_) => smithyClient._json(_),
689
+ transformation: (_) => smithyClient._json(_),
690
+ }));
691
+ b.m("PATCH").h(headers).b(body);
692
+ return b.build();
693
+ };
694
+ const se_UpdateDataLakeDatasetCommand = async (input, context) => {
695
+ const b = core.requestBuilder(input, context);
696
+ const headers = {
697
+ "content-type": "application/json",
698
+ };
699
+ b.bp("/api/datalake/instance/{instanceId}/namespaces/{namespace}/datasets/{name}");
700
+ b.p("instanceId", () => input.instanceId, "{instanceId}", false);
701
+ b.p("namespace", () => input.namespace, "{namespace}", false);
702
+ b.p("name", () => input.name, "{name}", false);
703
+ let body;
704
+ body = JSON.stringify(smithyClient.take(input, {
705
+ description: [],
706
+ }));
707
+ b.m("PATCH").h(headers).b(body);
708
+ return b.build();
709
+ };
710
+ const se_UpdateDataLakeNamespaceCommand = async (input, context) => {
711
+ const b = core.requestBuilder(input, context);
712
+ const headers = {
713
+ "content-type": "application/json",
714
+ };
715
+ b.bp("/api/datalake/instance/{instanceId}/namespaces/{name}");
716
+ b.p("instanceId", () => input.instanceId, "{instanceId}", false);
717
+ b.p("name", () => input.name, "{name}", false);
718
+ let body;
719
+ body = JSON.stringify(smithyClient.take(input, {
720
+ description: [],
721
+ }));
722
+ b.m("PATCH").h(headers).b(body);
723
+ return b.build();
724
+ };
725
+ const se_UpdateInstanceCommand = async (input, context) => {
726
+ const b = core.requestBuilder(input, context);
727
+ const headers = {
728
+ "content-type": "application/json",
729
+ };
730
+ b.bp("/api/instance/{instanceId}");
731
+ b.p("instanceId", () => input.instanceId, "{instanceId}", false);
732
+ let body;
733
+ body = JSON.stringify(smithyClient.take(input, {
734
+ instanceDescription: [],
735
+ instanceName: [],
736
+ }));
737
+ b.m("PATCH").h(headers).b(body);
738
+ return b.build();
739
+ };
740
+ const de_CreateBillOfMaterialsImportJobCommand = async (output, context) => {
741
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
742
+ return de_CommandError(output, context);
743
+ }
744
+ const contents = smithyClient.map({
745
+ $metadata: deserializeMetadata(output),
746
+ });
747
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
748
+ const doc = smithyClient.take(data, {
749
+ jobId: smithyClient.expectString,
750
+ });
751
+ Object.assign(contents, doc);
752
+ return contents;
753
+ };
754
+ const de_CreateDataIntegrationFlowCommand = async (output, context) => {
755
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
756
+ return de_CommandError(output, context);
757
+ }
758
+ const contents = smithyClient.map({
759
+ $metadata: deserializeMetadata(output),
760
+ });
761
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
762
+ const doc = smithyClient.take(data, {
763
+ instanceId: smithyClient.expectString,
764
+ name: smithyClient.expectString,
765
+ });
766
+ Object.assign(contents, doc);
767
+ return contents;
768
+ };
769
+ const de_CreateDataLakeDatasetCommand = async (output, context) => {
770
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
771
+ return de_CommandError(output, context);
772
+ }
773
+ const contents = smithyClient.map({
774
+ $metadata: deserializeMetadata(output),
775
+ });
776
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
777
+ const doc = smithyClient.take(data, {
778
+ dataset: (_) => de_DataLakeDataset(_),
779
+ });
780
+ Object.assign(contents, doc);
781
+ return contents;
782
+ };
783
+ const de_CreateDataLakeNamespaceCommand = async (output, context) => {
784
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
785
+ return de_CommandError(output, context);
786
+ }
787
+ const contents = smithyClient.map({
788
+ $metadata: deserializeMetadata(output),
789
+ });
790
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
791
+ const doc = smithyClient.take(data, {
792
+ namespace: (_) => de_DataLakeNamespace(_),
793
+ });
794
+ Object.assign(contents, doc);
795
+ return contents;
796
+ };
797
+ const de_CreateInstanceCommand = async (output, context) => {
798
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
799
+ return de_CommandError(output, context);
800
+ }
801
+ const contents = smithyClient.map({
802
+ $metadata: deserializeMetadata(output),
803
+ });
804
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
805
+ const doc = smithyClient.take(data, {
806
+ instance: (_) => de_Instance(_),
807
+ });
808
+ Object.assign(contents, doc);
809
+ return contents;
810
+ };
811
+ const de_DeleteDataIntegrationFlowCommand = async (output, context) => {
812
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
813
+ return de_CommandError(output, context);
814
+ }
815
+ const contents = smithyClient.map({
816
+ $metadata: deserializeMetadata(output),
817
+ });
818
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
819
+ const doc = smithyClient.take(data, {
820
+ instanceId: smithyClient.expectString,
821
+ name: smithyClient.expectString,
822
+ });
823
+ Object.assign(contents, doc);
824
+ return contents;
825
+ };
826
+ const de_DeleteDataLakeDatasetCommand = async (output, context) => {
827
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
828
+ return de_CommandError(output, context);
829
+ }
830
+ const contents = smithyClient.map({
831
+ $metadata: deserializeMetadata(output),
832
+ });
833
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
834
+ const doc = smithyClient.take(data, {
835
+ instanceId: smithyClient.expectString,
836
+ name: smithyClient.expectString,
837
+ namespace: smithyClient.expectString,
838
+ });
839
+ Object.assign(contents, doc);
840
+ return contents;
841
+ };
842
+ const de_DeleteDataLakeNamespaceCommand = async (output, context) => {
843
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
844
+ return de_CommandError(output, context);
845
+ }
846
+ const contents = smithyClient.map({
847
+ $metadata: deserializeMetadata(output),
848
+ });
849
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
850
+ const doc = smithyClient.take(data, {
851
+ instanceId: smithyClient.expectString,
852
+ name: smithyClient.expectString,
853
+ });
854
+ Object.assign(contents, doc);
855
+ return contents;
856
+ };
857
+ const de_DeleteInstanceCommand = async (output, context) => {
858
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
859
+ return de_CommandError(output, context);
860
+ }
861
+ const contents = smithyClient.map({
862
+ $metadata: deserializeMetadata(output),
863
+ });
864
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
865
+ const doc = smithyClient.take(data, {
866
+ instance: (_) => de_Instance(_),
867
+ });
868
+ Object.assign(contents, doc);
869
+ return contents;
870
+ };
871
+ const de_GetBillOfMaterialsImportJobCommand = async (output, context) => {
872
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
873
+ return de_CommandError(output, context);
874
+ }
875
+ const contents = smithyClient.map({
876
+ $metadata: deserializeMetadata(output),
877
+ });
878
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
879
+ const doc = smithyClient.take(data, {
880
+ job: smithyClient._json,
881
+ });
882
+ Object.assign(contents, doc);
883
+ return contents;
884
+ };
885
+ const de_GetDataIntegrationEventCommand = async (output, context) => {
886
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
887
+ return de_CommandError(output, context);
888
+ }
889
+ const contents = smithyClient.map({
890
+ $metadata: deserializeMetadata(output),
891
+ });
892
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
893
+ const doc = smithyClient.take(data, {
894
+ event: (_) => de_DataIntegrationEvent(_),
895
+ });
896
+ Object.assign(contents, doc);
897
+ return contents;
898
+ };
899
+ const de_GetDataIntegrationFlowCommand = async (output, context) => {
900
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
901
+ return de_CommandError(output, context);
902
+ }
903
+ const contents = smithyClient.map({
904
+ $metadata: deserializeMetadata(output),
905
+ });
906
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
907
+ const doc = smithyClient.take(data, {
908
+ flow: (_) => de_DataIntegrationFlow(_),
909
+ });
910
+ Object.assign(contents, doc);
911
+ return contents;
912
+ };
913
+ const de_GetDataIntegrationFlowExecutionCommand = async (output, context) => {
914
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
915
+ return de_CommandError(output, context);
916
+ }
917
+ const contents = smithyClient.map({
918
+ $metadata: deserializeMetadata(output),
919
+ });
920
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
921
+ const doc = smithyClient.take(data, {
922
+ flowExecution: (_) => de_DataIntegrationFlowExecution(_),
923
+ });
924
+ Object.assign(contents, doc);
925
+ return contents;
926
+ };
927
+ const de_GetDataLakeDatasetCommand = async (output, context) => {
928
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
929
+ return de_CommandError(output, context);
930
+ }
931
+ const contents = smithyClient.map({
932
+ $metadata: deserializeMetadata(output),
933
+ });
934
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
935
+ const doc = smithyClient.take(data, {
936
+ dataset: (_) => de_DataLakeDataset(_),
937
+ });
938
+ Object.assign(contents, doc);
939
+ return contents;
940
+ };
941
+ const de_GetDataLakeNamespaceCommand = async (output, context) => {
942
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
943
+ return de_CommandError(output, context);
944
+ }
945
+ const contents = smithyClient.map({
946
+ $metadata: deserializeMetadata(output),
947
+ });
948
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
949
+ const doc = smithyClient.take(data, {
950
+ namespace: (_) => de_DataLakeNamespace(_),
951
+ });
952
+ Object.assign(contents, doc);
953
+ return contents;
954
+ };
955
+ const de_GetInstanceCommand = async (output, context) => {
956
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
957
+ return de_CommandError(output, context);
958
+ }
959
+ const contents = smithyClient.map({
960
+ $metadata: deserializeMetadata(output),
961
+ });
962
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
963
+ const doc = smithyClient.take(data, {
964
+ instance: (_) => de_Instance(_),
965
+ });
966
+ Object.assign(contents, doc);
967
+ return contents;
968
+ };
969
+ const de_ListDataIntegrationEventsCommand = async (output, context) => {
970
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
971
+ return de_CommandError(output, context);
972
+ }
973
+ const contents = smithyClient.map({
974
+ $metadata: deserializeMetadata(output),
975
+ });
976
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
977
+ const doc = smithyClient.take(data, {
978
+ events: (_) => de_DataIntegrationEventList(_),
979
+ nextToken: smithyClient.expectString,
980
+ });
981
+ Object.assign(contents, doc);
982
+ return contents;
983
+ };
984
+ const de_ListDataIntegrationFlowExecutionsCommand = async (output, context) => {
985
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
986
+ return de_CommandError(output, context);
987
+ }
988
+ const contents = smithyClient.map({
989
+ $metadata: deserializeMetadata(output),
990
+ });
991
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
992
+ const doc = smithyClient.take(data, {
993
+ flowExecutions: (_) => de_DataIntegrationFlowExecutionList(_),
994
+ nextToken: smithyClient.expectString,
995
+ });
996
+ Object.assign(contents, doc);
997
+ return contents;
998
+ };
999
+ const de_ListDataIntegrationFlowsCommand = async (output, context) => {
1000
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1001
+ return de_CommandError(output, context);
1002
+ }
1003
+ const contents = smithyClient.map({
1004
+ $metadata: deserializeMetadata(output),
1005
+ });
1006
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1007
+ const doc = smithyClient.take(data, {
1008
+ flows: (_) => de_DataIntegrationFlowList(_),
1009
+ nextToken: smithyClient.expectString,
1010
+ });
1011
+ Object.assign(contents, doc);
1012
+ return contents;
1013
+ };
1014
+ const de_ListDataLakeDatasetsCommand = async (output, context) => {
1015
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1016
+ return de_CommandError(output, context);
1017
+ }
1018
+ const contents = smithyClient.map({
1019
+ $metadata: deserializeMetadata(output),
1020
+ });
1021
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1022
+ const doc = smithyClient.take(data, {
1023
+ datasets: (_) => de_DataLakeDatasetList(_),
1024
+ nextToken: smithyClient.expectString,
1025
+ });
1026
+ Object.assign(contents, doc);
1027
+ return contents;
1028
+ };
1029
+ const de_ListDataLakeNamespacesCommand = async (output, context) => {
1030
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1031
+ return de_CommandError(output, context);
1032
+ }
1033
+ const contents = smithyClient.map({
1034
+ $metadata: deserializeMetadata(output),
1035
+ });
1036
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1037
+ const doc = smithyClient.take(data, {
1038
+ namespaces: (_) => de_DataLakeNamespaceList(_),
1039
+ nextToken: smithyClient.expectString,
1040
+ });
1041
+ Object.assign(contents, doc);
1042
+ return contents;
1043
+ };
1044
+ const de_ListInstancesCommand = async (output, context) => {
1045
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1046
+ return de_CommandError(output, context);
1047
+ }
1048
+ const contents = smithyClient.map({
1049
+ $metadata: deserializeMetadata(output),
1050
+ });
1051
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1052
+ const doc = smithyClient.take(data, {
1053
+ instances: (_) => de_InstanceList(_),
1054
+ nextToken: smithyClient.expectString,
1055
+ });
1056
+ Object.assign(contents, doc);
1057
+ return contents;
1058
+ };
1059
+ const de_ListTagsForResourceCommand = async (output, context) => {
1060
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1061
+ return de_CommandError(output, context);
1062
+ }
1063
+ const contents = smithyClient.map({
1064
+ $metadata: deserializeMetadata(output),
1065
+ });
1066
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1067
+ const doc = smithyClient.take(data, {
1068
+ tags: smithyClient._json,
1069
+ });
1070
+ Object.assign(contents, doc);
1071
+ return contents;
1072
+ };
1073
+ const de_SendDataIntegrationEventCommand = async (output, context) => {
1074
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1075
+ return de_CommandError(output, context);
1076
+ }
1077
+ const contents = smithyClient.map({
1078
+ $metadata: deserializeMetadata(output),
1079
+ });
1080
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1081
+ const doc = smithyClient.take(data, {
1082
+ eventId: smithyClient.expectString,
1083
+ });
1084
+ Object.assign(contents, doc);
1085
+ return contents;
1086
+ };
1087
+ const de_TagResourceCommand = async (output, context) => {
1088
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1089
+ return de_CommandError(output, context);
1090
+ }
1091
+ const contents = smithyClient.map({
1092
+ $metadata: deserializeMetadata(output),
1093
+ });
1094
+ await smithyClient.collectBody(output.body, context);
1095
+ return contents;
1096
+ };
1097
+ const de_UntagResourceCommand = async (output, context) => {
1098
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1099
+ return de_CommandError(output, context);
1100
+ }
1101
+ const contents = smithyClient.map({
1102
+ $metadata: deserializeMetadata(output),
1103
+ });
1104
+ await smithyClient.collectBody(output.body, context);
1105
+ return contents;
1106
+ };
1107
+ const de_UpdateDataIntegrationFlowCommand = async (output, context) => {
1108
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1109
+ return de_CommandError(output, context);
1110
+ }
1111
+ const contents = smithyClient.map({
1112
+ $metadata: deserializeMetadata(output),
1113
+ });
1114
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1115
+ const doc = smithyClient.take(data, {
1116
+ flow: (_) => de_DataIntegrationFlow(_),
1117
+ });
1118
+ Object.assign(contents, doc);
1119
+ return contents;
1120
+ };
1121
+ const de_UpdateDataLakeDatasetCommand = async (output, context) => {
1122
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1123
+ return de_CommandError(output, context);
1124
+ }
1125
+ const contents = smithyClient.map({
1126
+ $metadata: deserializeMetadata(output),
1127
+ });
1128
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1129
+ const doc = smithyClient.take(data, {
1130
+ dataset: (_) => de_DataLakeDataset(_),
1131
+ });
1132
+ Object.assign(contents, doc);
1133
+ return contents;
1134
+ };
1135
+ const de_UpdateDataLakeNamespaceCommand = async (output, context) => {
1136
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1137
+ return de_CommandError(output, context);
1138
+ }
1139
+ const contents = smithyClient.map({
1140
+ $metadata: deserializeMetadata(output),
1141
+ });
1142
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1143
+ const doc = smithyClient.take(data, {
1144
+ namespace: (_) => de_DataLakeNamespace(_),
1145
+ });
1146
+ Object.assign(contents, doc);
1147
+ return contents;
1148
+ };
1149
+ const de_UpdateInstanceCommand = async (output, context) => {
1150
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1151
+ return de_CommandError(output, context);
1152
+ }
1153
+ const contents = smithyClient.map({
1154
+ $metadata: deserializeMetadata(output),
1155
+ });
1156
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1157
+ const doc = smithyClient.take(data, {
1158
+ instance: (_) => de_Instance(_),
1159
+ });
1160
+ Object.assign(contents, doc);
1161
+ return contents;
1162
+ };
1163
+ const de_CommandError = async (output, context) => {
1164
+ const parsedOutput = {
1165
+ ...output,
1166
+ body: await core$1.parseJsonErrorBody(output.body, context),
1167
+ };
1168
+ const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1169
+ switch (errorCode) {
1170
+ case "AccessDeniedException":
1171
+ case "com.amazonaws.supplychain#AccessDeniedException":
1172
+ throw await de_AccessDeniedExceptionRes(parsedOutput);
1173
+ case "ConflictException":
1174
+ case "com.amazonaws.supplychain#ConflictException":
1175
+ throw await de_ConflictExceptionRes(parsedOutput);
1176
+ case "InternalServerException":
1177
+ case "com.amazonaws.supplychain#InternalServerException":
1178
+ throw await de_InternalServerExceptionRes(parsedOutput);
1179
+ case "ResourceNotFoundException":
1180
+ case "com.amazonaws.supplychain#ResourceNotFoundException":
1181
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1182
+ case "ServiceQuotaExceededException":
1183
+ case "com.amazonaws.supplychain#ServiceQuotaExceededException":
1184
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
1185
+ case "ThrottlingException":
1186
+ case "com.amazonaws.supplychain#ThrottlingException":
1187
+ throw await de_ThrottlingExceptionRes(parsedOutput);
1188
+ case "ValidationException":
1189
+ case "com.amazonaws.supplychain#ValidationException":
1190
+ throw await de_ValidationExceptionRes(parsedOutput);
1191
+ default:
1192
+ const parsedBody = parsedOutput.body;
1193
+ return throwDefaultError({
1194
+ output,
1195
+ parsedBody,
1196
+ errorCode,
1197
+ });
1198
+ }
1199
+ };
1200
+ const throwDefaultError = smithyClient.withBaseException(SupplyChainServiceException);
1201
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1202
+ const contents = smithyClient.map({});
1203
+ const data = parsedOutput.body;
1204
+ const doc = smithyClient.take(data, {
1205
+ message: smithyClient.expectString,
1206
+ });
1207
+ Object.assign(contents, doc);
1208
+ const exception = new AccessDeniedException({
1209
+ $metadata: deserializeMetadata(parsedOutput),
1210
+ ...contents,
1211
+ });
1212
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1213
+ };
1214
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
1215
+ const contents = smithyClient.map({});
1216
+ const data = parsedOutput.body;
1217
+ const doc = smithyClient.take(data, {
1218
+ message: smithyClient.expectString,
1219
+ });
1220
+ Object.assign(contents, doc);
1221
+ const exception = new ConflictException({
1222
+ $metadata: deserializeMetadata(parsedOutput),
1223
+ ...contents,
1224
+ });
1225
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1226
+ };
1227
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1228
+ const contents = smithyClient.map({});
1229
+ const data = parsedOutput.body;
1230
+ const doc = smithyClient.take(data, {
1231
+ message: smithyClient.expectString,
1232
+ });
1233
+ Object.assign(contents, doc);
1234
+ const exception = new InternalServerException({
1235
+ $metadata: deserializeMetadata(parsedOutput),
1236
+ ...contents,
1237
+ });
1238
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1239
+ };
1240
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1241
+ const contents = smithyClient.map({});
1242
+ const data = parsedOutput.body;
1243
+ const doc = smithyClient.take(data, {
1244
+ message: smithyClient.expectString,
1245
+ });
1246
+ Object.assign(contents, doc);
1247
+ const exception = new ResourceNotFoundException({
1248
+ $metadata: deserializeMetadata(parsedOutput),
1249
+ ...contents,
1250
+ });
1251
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1252
+ };
1253
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1254
+ const contents = smithyClient.map({});
1255
+ const data = parsedOutput.body;
1256
+ const doc = smithyClient.take(data, {
1257
+ message: smithyClient.expectString,
1258
+ });
1259
+ Object.assign(contents, doc);
1260
+ const exception = new ServiceQuotaExceededException({
1261
+ $metadata: deserializeMetadata(parsedOutput),
1262
+ ...contents,
1263
+ });
1264
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1265
+ };
1266
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1267
+ const contents = smithyClient.map({});
1268
+ const data = parsedOutput.body;
1269
+ const doc = smithyClient.take(data, {
1270
+ message: smithyClient.expectString,
1271
+ });
1272
+ Object.assign(contents, doc);
1273
+ const exception = new ThrottlingException({
1274
+ $metadata: deserializeMetadata(parsedOutput),
1275
+ ...contents,
1276
+ });
1277
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1278
+ };
1279
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
1280
+ const contents = smithyClient.map({});
1281
+ const data = parsedOutput.body;
1282
+ const doc = smithyClient.take(data, {
1283
+ message: smithyClient.expectString,
1284
+ });
1285
+ Object.assign(contents, doc);
1286
+ const exception = new ValidationException({
1287
+ $metadata: deserializeMetadata(parsedOutput),
1288
+ ...contents,
1289
+ });
1290
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1291
+ };
1292
+ const de_DataIntegrationEvent = (output, context) => {
1293
+ return smithyClient.take(output, {
1294
+ datasetTargetDetails: smithyClient._json,
1295
+ eventGroupId: smithyClient.expectString,
1296
+ eventId: smithyClient.expectString,
1297
+ eventTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1298
+ eventType: smithyClient.expectString,
1299
+ instanceId: smithyClient.expectString,
1300
+ });
1301
+ };
1302
+ const de_DataIntegrationEventList = (output, context) => {
1303
+ const retVal = (output || [])
1304
+ .filter((e) => e != null)
1305
+ .map((entry) => {
1306
+ return de_DataIntegrationEvent(entry);
1307
+ });
1308
+ return retVal;
1309
+ };
1310
+ const de_DataIntegrationFlow = (output, context) => {
1311
+ return smithyClient.take(output, {
1312
+ createdTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1313
+ instanceId: smithyClient.expectString,
1314
+ lastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1315
+ name: smithyClient.expectString,
1316
+ sources: smithyClient._json,
1317
+ target: smithyClient._json,
1318
+ transformation: smithyClient._json,
1319
+ });
1320
+ };
1321
+ const de_DataIntegrationFlowExecution = (output, context) => {
1322
+ return smithyClient.take(output, {
1323
+ endTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1324
+ executionId: smithyClient.expectString,
1325
+ flowName: smithyClient.expectString,
1326
+ instanceId: smithyClient.expectString,
1327
+ message: smithyClient.expectString,
1328
+ outputMetadata: smithyClient._json,
1329
+ sourceInfo: smithyClient._json,
1330
+ startTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1331
+ status: smithyClient.expectString,
1332
+ });
1333
+ };
1334
+ const de_DataIntegrationFlowExecutionList = (output, context) => {
1335
+ const retVal = (output || [])
1336
+ .filter((e) => e != null)
1337
+ .map((entry) => {
1338
+ return de_DataIntegrationFlowExecution(entry);
1339
+ });
1340
+ return retVal;
1341
+ };
1342
+ const de_DataIntegrationFlowList = (output, context) => {
1343
+ const retVal = (output || [])
1344
+ .filter((e) => e != null)
1345
+ .map((entry) => {
1346
+ return de_DataIntegrationFlow(entry);
1347
+ });
1348
+ return retVal;
1349
+ };
1350
+ const de_DataLakeDataset = (output, context) => {
1351
+ return smithyClient.take(output, {
1352
+ arn: smithyClient.expectString,
1353
+ createdTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1354
+ description: smithyClient.expectString,
1355
+ instanceId: smithyClient.expectString,
1356
+ lastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1357
+ name: smithyClient.expectString,
1358
+ namespace: smithyClient.expectString,
1359
+ partitionSpec: smithyClient._json,
1360
+ schema: smithyClient._json,
1361
+ });
1362
+ };
1363
+ const de_DataLakeDatasetList = (output, context) => {
1364
+ const retVal = (output || [])
1365
+ .filter((e) => e != null)
1366
+ .map((entry) => {
1367
+ return de_DataLakeDataset(entry);
1368
+ });
1369
+ return retVal;
1370
+ };
1371
+ const de_DataLakeNamespace = (output, context) => {
1372
+ return smithyClient.take(output, {
1373
+ arn: smithyClient.expectString,
1374
+ createdTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1375
+ description: smithyClient.expectString,
1376
+ instanceId: smithyClient.expectString,
1377
+ lastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1378
+ name: smithyClient.expectString,
1379
+ });
1380
+ };
1381
+ const de_DataLakeNamespaceList = (output, context) => {
1382
+ const retVal = (output || [])
1383
+ .filter((e) => e != null)
1384
+ .map((entry) => {
1385
+ return de_DataLakeNamespace(entry);
1386
+ });
1387
+ return retVal;
1388
+ };
1389
+ const de_Instance = (output, context) => {
1390
+ return smithyClient.take(output, {
1391
+ awsAccountId: smithyClient.expectString,
1392
+ createdTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1393
+ errorMessage: smithyClient.expectString,
1394
+ instanceDescription: smithyClient.expectString,
1395
+ instanceId: smithyClient.expectString,
1396
+ instanceName: smithyClient.expectString,
1397
+ kmsKeyArn: smithyClient.expectString,
1398
+ lastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1399
+ state: smithyClient.expectString,
1400
+ versionNumber: smithyClient.limitedParseDouble,
1401
+ webAppDnsDomain: smithyClient.expectString,
1402
+ });
1403
+ };
1404
+ const de_InstanceList = (output, context) => {
1405
+ const retVal = (output || [])
1406
+ .filter((e) => e != null)
1407
+ .map((entry) => {
1408
+ return de_Instance(entry);
1409
+ });
1410
+ return retVal;
1411
+ };
1412
+ const deserializeMetadata = (output) => ({
1413
+ httpStatusCode: output.statusCode,
1414
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1415
+ extendedRequestId: output.headers["x-amz-id-2"],
1416
+ cfId: output.headers["x-amz-cf-id"],
1417
+ });
1418
+ const _eT = "eventType";
1419
+ const _iNF = "instanceNameFilter";
1420
+ const _iSF = "instanceStateFilter";
1421
+ const _mR = "maxResults";
1422
+ const _nT = "nextToken";
1423
+ const _tK = "tagKeys";
1424
+
1425
+ class CreateBillOfMaterialsImportJobCommand extends smithyClient.Command
1426
+ .classBuilder()
1427
+ .ep(commonParams)
1428
+ .m(function (Command, cs, config, o) {
1429
+ return [
1430
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1431
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1432
+ ];
1433
+ })
1434
+ .s("GalaxyPublicAPIGateway", "CreateBillOfMaterialsImportJob", {})
1435
+ .n("SupplyChainClient", "CreateBillOfMaterialsImportJobCommand")
1436
+ .f(void 0, void 0)
1437
+ .ser(se_CreateBillOfMaterialsImportJobCommand)
1438
+ .de(de_CreateBillOfMaterialsImportJobCommand)
1439
+ .build() {
1440
+ }
1441
+
1442
+ class CreateDataIntegrationFlowCommand extends smithyClient.Command
1443
+ .classBuilder()
1444
+ .ep(commonParams)
1445
+ .m(function (Command, cs, config, o) {
1446
+ return [
1447
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1448
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1449
+ ];
1450
+ })
1451
+ .s("GalaxyPublicAPIGateway", "CreateDataIntegrationFlow", {})
1452
+ .n("SupplyChainClient", "CreateDataIntegrationFlowCommand")
1453
+ .f(CreateDataIntegrationFlowRequestFilterSensitiveLog, void 0)
1454
+ .ser(se_CreateDataIntegrationFlowCommand)
1455
+ .de(de_CreateDataIntegrationFlowCommand)
1456
+ .build() {
1457
+ }
1458
+
1459
+ class CreateDataLakeDatasetCommand extends smithyClient.Command
1460
+ .classBuilder()
1461
+ .ep(commonParams)
1462
+ .m(function (Command, cs, config, o) {
1463
+ return [
1464
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1465
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1466
+ ];
1467
+ })
1468
+ .s("GalaxyPublicAPIGateway", "CreateDataLakeDataset", {})
1469
+ .n("SupplyChainClient", "CreateDataLakeDatasetCommand")
1470
+ .f(void 0, void 0)
1471
+ .ser(se_CreateDataLakeDatasetCommand)
1472
+ .de(de_CreateDataLakeDatasetCommand)
1473
+ .build() {
1474
+ }
1475
+
1476
+ class CreateDataLakeNamespaceCommand extends smithyClient.Command
1477
+ .classBuilder()
1478
+ .ep(commonParams)
1479
+ .m(function (Command, cs, config, o) {
1480
+ return [
1481
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1482
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1483
+ ];
1484
+ })
1485
+ .s("GalaxyPublicAPIGateway", "CreateDataLakeNamespace", {})
1486
+ .n("SupplyChainClient", "CreateDataLakeNamespaceCommand")
1487
+ .f(void 0, void 0)
1488
+ .ser(se_CreateDataLakeNamespaceCommand)
1489
+ .de(de_CreateDataLakeNamespaceCommand)
1490
+ .build() {
1491
+ }
1492
+
1493
+ class CreateInstanceCommand extends smithyClient.Command
1494
+ .classBuilder()
1495
+ .ep(commonParams)
1496
+ .m(function (Command, cs, config, o) {
1497
+ return [
1498
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1499
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1500
+ ];
1501
+ })
1502
+ .s("GalaxyPublicAPIGateway", "CreateInstance", {})
1503
+ .n("SupplyChainClient", "CreateInstanceCommand")
1504
+ .f(void 0, void 0)
1505
+ .ser(se_CreateInstanceCommand)
1506
+ .de(de_CreateInstanceCommand)
1507
+ .build() {
1508
+ }
1509
+
1510
+ class DeleteDataIntegrationFlowCommand extends smithyClient.Command
1511
+ .classBuilder()
1512
+ .ep(commonParams)
1513
+ .m(function (Command, cs, config, o) {
1514
+ return [
1515
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1516
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1517
+ ];
1518
+ })
1519
+ .s("GalaxyPublicAPIGateway", "DeleteDataIntegrationFlow", {})
1520
+ .n("SupplyChainClient", "DeleteDataIntegrationFlowCommand")
1521
+ .f(void 0, void 0)
1522
+ .ser(se_DeleteDataIntegrationFlowCommand)
1523
+ .de(de_DeleteDataIntegrationFlowCommand)
1524
+ .build() {
1525
+ }
1526
+
1527
+ class DeleteDataLakeDatasetCommand extends smithyClient.Command
1528
+ .classBuilder()
1529
+ .ep(commonParams)
1530
+ .m(function (Command, cs, config, o) {
1531
+ return [
1532
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1533
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1534
+ ];
1535
+ })
1536
+ .s("GalaxyPublicAPIGateway", "DeleteDataLakeDataset", {})
1537
+ .n("SupplyChainClient", "DeleteDataLakeDatasetCommand")
1538
+ .f(void 0, void 0)
1539
+ .ser(se_DeleteDataLakeDatasetCommand)
1540
+ .de(de_DeleteDataLakeDatasetCommand)
1541
+ .build() {
1542
+ }
1543
+
1544
+ class DeleteDataLakeNamespaceCommand extends smithyClient.Command
1545
+ .classBuilder()
1546
+ .ep(commonParams)
1547
+ .m(function (Command, cs, config, o) {
1548
+ return [
1549
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1550
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1551
+ ];
1552
+ })
1553
+ .s("GalaxyPublicAPIGateway", "DeleteDataLakeNamespace", {})
1554
+ .n("SupplyChainClient", "DeleteDataLakeNamespaceCommand")
1555
+ .f(void 0, void 0)
1556
+ .ser(se_DeleteDataLakeNamespaceCommand)
1557
+ .de(de_DeleteDataLakeNamespaceCommand)
1558
+ .build() {
1559
+ }
1560
+
1561
+ class DeleteInstanceCommand extends smithyClient.Command
1562
+ .classBuilder()
1563
+ .ep(commonParams)
1564
+ .m(function (Command, cs, config, o) {
1565
+ return [
1566
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1567
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1568
+ ];
1569
+ })
1570
+ .s("GalaxyPublicAPIGateway", "DeleteInstance", {})
1571
+ .n("SupplyChainClient", "DeleteInstanceCommand")
1572
+ .f(void 0, void 0)
1573
+ .ser(se_DeleteInstanceCommand)
1574
+ .de(de_DeleteInstanceCommand)
1575
+ .build() {
1576
+ }
1577
+
1578
+ class GetBillOfMaterialsImportJobCommand extends smithyClient.Command
1579
+ .classBuilder()
1580
+ .ep(commonParams)
1581
+ .m(function (Command, cs, config, o) {
1582
+ return [
1583
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1584
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1585
+ ];
1586
+ })
1587
+ .s("GalaxyPublicAPIGateway", "GetBillOfMaterialsImportJob", {})
1588
+ .n("SupplyChainClient", "GetBillOfMaterialsImportJobCommand")
1589
+ .f(void 0, void 0)
1590
+ .ser(se_GetBillOfMaterialsImportJobCommand)
1591
+ .de(de_GetBillOfMaterialsImportJobCommand)
1592
+ .build() {
1593
+ }
1594
+
1595
+ class GetDataIntegrationEventCommand extends smithyClient.Command
1596
+ .classBuilder()
1597
+ .ep(commonParams)
1598
+ .m(function (Command, cs, config, o) {
1599
+ return [
1600
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1601
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1602
+ ];
1603
+ })
1604
+ .s("GalaxyPublicAPIGateway", "GetDataIntegrationEvent", {})
1605
+ .n("SupplyChainClient", "GetDataIntegrationEventCommand")
1606
+ .f(void 0, void 0)
1607
+ .ser(se_GetDataIntegrationEventCommand)
1608
+ .de(de_GetDataIntegrationEventCommand)
1609
+ .build() {
1610
+ }
1611
+
1612
+ class GetDataIntegrationFlowCommand extends smithyClient.Command
1613
+ .classBuilder()
1614
+ .ep(commonParams)
1615
+ .m(function (Command, cs, config, o) {
1616
+ return [
1617
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1618
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1619
+ ];
1620
+ })
1621
+ .s("GalaxyPublicAPIGateway", "GetDataIntegrationFlow", {})
1622
+ .n("SupplyChainClient", "GetDataIntegrationFlowCommand")
1623
+ .f(void 0, GetDataIntegrationFlowResponseFilterSensitiveLog)
1624
+ .ser(se_GetDataIntegrationFlowCommand)
1625
+ .de(de_GetDataIntegrationFlowCommand)
1626
+ .build() {
1627
+ }
1628
+
1629
+ class GetDataIntegrationFlowExecutionCommand extends smithyClient.Command
1630
+ .classBuilder()
1631
+ .ep(commonParams)
1632
+ .m(function (Command, cs, config, o) {
1633
+ return [
1634
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1635
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1636
+ ];
1637
+ })
1638
+ .s("GalaxyPublicAPIGateway", "GetDataIntegrationFlowExecution", {})
1639
+ .n("SupplyChainClient", "GetDataIntegrationFlowExecutionCommand")
1640
+ .f(void 0, void 0)
1641
+ .ser(se_GetDataIntegrationFlowExecutionCommand)
1642
+ .de(de_GetDataIntegrationFlowExecutionCommand)
1643
+ .build() {
1644
+ }
1645
+
1646
+ class GetDataLakeDatasetCommand extends smithyClient.Command
1647
+ .classBuilder()
1648
+ .ep(commonParams)
1649
+ .m(function (Command, cs, config, o) {
1650
+ return [
1651
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1652
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1653
+ ];
1654
+ })
1655
+ .s("GalaxyPublicAPIGateway", "GetDataLakeDataset", {})
1656
+ .n("SupplyChainClient", "GetDataLakeDatasetCommand")
1657
+ .f(void 0, void 0)
1658
+ .ser(se_GetDataLakeDatasetCommand)
1659
+ .de(de_GetDataLakeDatasetCommand)
1660
+ .build() {
1661
+ }
1662
+
1663
+ class GetDataLakeNamespaceCommand extends smithyClient.Command
1664
+ .classBuilder()
1665
+ .ep(commonParams)
1666
+ .m(function (Command, cs, config, o) {
1667
+ return [
1668
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1669
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1670
+ ];
1671
+ })
1672
+ .s("GalaxyPublicAPIGateway", "GetDataLakeNamespace", {})
1673
+ .n("SupplyChainClient", "GetDataLakeNamespaceCommand")
1674
+ .f(void 0, void 0)
1675
+ .ser(se_GetDataLakeNamespaceCommand)
1676
+ .de(de_GetDataLakeNamespaceCommand)
1677
+ .build() {
1678
+ }
1679
+
1680
+ class GetInstanceCommand extends smithyClient.Command
1681
+ .classBuilder()
1682
+ .ep(commonParams)
1683
+ .m(function (Command, cs, config, o) {
1684
+ return [
1685
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1686
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1687
+ ];
1688
+ })
1689
+ .s("GalaxyPublicAPIGateway", "GetInstance", {})
1690
+ .n("SupplyChainClient", "GetInstanceCommand")
1691
+ .f(void 0, void 0)
1692
+ .ser(se_GetInstanceCommand)
1693
+ .de(de_GetInstanceCommand)
1694
+ .build() {
1695
+ }
1696
+
1697
+ class ListDataIntegrationEventsCommand extends smithyClient.Command
1698
+ .classBuilder()
1699
+ .ep(commonParams)
1700
+ .m(function (Command, cs, config, o) {
1701
+ return [
1702
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1703
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1704
+ ];
1705
+ })
1706
+ .s("GalaxyPublicAPIGateway", "ListDataIntegrationEvents", {})
1707
+ .n("SupplyChainClient", "ListDataIntegrationEventsCommand")
1708
+ .f(void 0, void 0)
1709
+ .ser(se_ListDataIntegrationEventsCommand)
1710
+ .de(de_ListDataIntegrationEventsCommand)
1711
+ .build() {
1712
+ }
1713
+
1714
+ class ListDataIntegrationFlowExecutionsCommand extends smithyClient.Command
1715
+ .classBuilder()
1716
+ .ep(commonParams)
1717
+ .m(function (Command, cs, config, o) {
1718
+ return [
1719
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1720
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1721
+ ];
1722
+ })
1723
+ .s("GalaxyPublicAPIGateway", "ListDataIntegrationFlowExecutions", {})
1724
+ .n("SupplyChainClient", "ListDataIntegrationFlowExecutionsCommand")
1725
+ .f(void 0, void 0)
1726
+ .ser(se_ListDataIntegrationFlowExecutionsCommand)
1727
+ .de(de_ListDataIntegrationFlowExecutionsCommand)
1728
+ .build() {
1729
+ }
1730
+
1731
+ class ListDataIntegrationFlowsCommand extends smithyClient.Command
1732
+ .classBuilder()
1733
+ .ep(commonParams)
1734
+ .m(function (Command, cs, config, o) {
1735
+ return [
1736
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1737
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1738
+ ];
1739
+ })
1740
+ .s("GalaxyPublicAPIGateway", "ListDataIntegrationFlows", {})
1741
+ .n("SupplyChainClient", "ListDataIntegrationFlowsCommand")
1742
+ .f(void 0, ListDataIntegrationFlowsResponseFilterSensitiveLog)
1743
+ .ser(se_ListDataIntegrationFlowsCommand)
1744
+ .de(de_ListDataIntegrationFlowsCommand)
1745
+ .build() {
1746
+ }
1747
+
1748
+ class ListDataLakeDatasetsCommand extends smithyClient.Command
1749
+ .classBuilder()
1750
+ .ep(commonParams)
1751
+ .m(function (Command, cs, config, o) {
1752
+ return [
1753
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1754
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1755
+ ];
1756
+ })
1757
+ .s("GalaxyPublicAPIGateway", "ListDataLakeDatasets", {})
1758
+ .n("SupplyChainClient", "ListDataLakeDatasetsCommand")
1759
+ .f(void 0, void 0)
1760
+ .ser(se_ListDataLakeDatasetsCommand)
1761
+ .de(de_ListDataLakeDatasetsCommand)
1762
+ .build() {
1763
+ }
1764
+
1765
+ class ListDataLakeNamespacesCommand extends smithyClient.Command
1766
+ .classBuilder()
1767
+ .ep(commonParams)
1768
+ .m(function (Command, cs, config, o) {
1769
+ return [
1770
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1771
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1772
+ ];
1773
+ })
1774
+ .s("GalaxyPublicAPIGateway", "ListDataLakeNamespaces", {})
1775
+ .n("SupplyChainClient", "ListDataLakeNamespacesCommand")
1776
+ .f(void 0, void 0)
1777
+ .ser(se_ListDataLakeNamespacesCommand)
1778
+ .de(de_ListDataLakeNamespacesCommand)
1779
+ .build() {
1780
+ }
1781
+
1782
+ class ListInstancesCommand extends smithyClient.Command
1783
+ .classBuilder()
1784
+ .ep(commonParams)
1785
+ .m(function (Command, cs, config, o) {
1786
+ return [
1787
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1788
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1789
+ ];
1790
+ })
1791
+ .s("GalaxyPublicAPIGateway", "ListInstances", {})
1792
+ .n("SupplyChainClient", "ListInstancesCommand")
1793
+ .f(void 0, void 0)
1794
+ .ser(se_ListInstancesCommand)
1795
+ .de(de_ListInstancesCommand)
1796
+ .build() {
1797
+ }
1798
+
1799
+ class ListTagsForResourceCommand extends smithyClient.Command
1800
+ .classBuilder()
1801
+ .ep(commonParams)
1802
+ .m(function (Command, cs, config, o) {
1803
+ return [
1804
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1805
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1806
+ ];
1807
+ })
1808
+ .s("GalaxyPublicAPIGateway", "ListTagsForResource", {})
1809
+ .n("SupplyChainClient", "ListTagsForResourceCommand")
1810
+ .f(void 0, void 0)
1811
+ .ser(se_ListTagsForResourceCommand)
1812
+ .de(de_ListTagsForResourceCommand)
1813
+ .build() {
1814
+ }
1815
+
1816
+ class SendDataIntegrationEventCommand extends smithyClient.Command
1817
+ .classBuilder()
1818
+ .ep(commonParams)
1819
+ .m(function (Command, cs, config, o) {
1820
+ return [
1821
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1822
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1823
+ ];
1824
+ })
1825
+ .s("GalaxyPublicAPIGateway", "SendDataIntegrationEvent", {})
1826
+ .n("SupplyChainClient", "SendDataIntegrationEventCommand")
1827
+ .f(SendDataIntegrationEventRequestFilterSensitiveLog, void 0)
1828
+ .ser(se_SendDataIntegrationEventCommand)
1829
+ .de(de_SendDataIntegrationEventCommand)
1830
+ .build() {
1831
+ }
1832
+
1833
+ class TagResourceCommand extends smithyClient.Command
1834
+ .classBuilder()
1835
+ .ep(commonParams)
1836
+ .m(function (Command, cs, config, o) {
1837
+ return [
1838
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1839
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1840
+ ];
1841
+ })
1842
+ .s("GalaxyPublicAPIGateway", "TagResource", {})
1843
+ .n("SupplyChainClient", "TagResourceCommand")
1844
+ .f(void 0, void 0)
1845
+ .ser(se_TagResourceCommand)
1846
+ .de(de_TagResourceCommand)
1847
+ .build() {
1848
+ }
1849
+
1850
+ class UntagResourceCommand extends smithyClient.Command
1851
+ .classBuilder()
1852
+ .ep(commonParams)
1853
+ .m(function (Command, cs, config, o) {
1854
+ return [
1855
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1856
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1857
+ ];
1858
+ })
1859
+ .s("GalaxyPublicAPIGateway", "UntagResource", {})
1860
+ .n("SupplyChainClient", "UntagResourceCommand")
1861
+ .f(void 0, void 0)
1862
+ .ser(se_UntagResourceCommand)
1863
+ .de(de_UntagResourceCommand)
1864
+ .build() {
1865
+ }
1866
+
1867
+ class UpdateDataIntegrationFlowCommand extends smithyClient.Command
1868
+ .classBuilder()
1869
+ .ep(commonParams)
1870
+ .m(function (Command, cs, config, o) {
1871
+ return [
1872
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1873
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1874
+ ];
1875
+ })
1876
+ .s("GalaxyPublicAPIGateway", "UpdateDataIntegrationFlow", {})
1877
+ .n("SupplyChainClient", "UpdateDataIntegrationFlowCommand")
1878
+ .f(UpdateDataIntegrationFlowRequestFilterSensitiveLog, UpdateDataIntegrationFlowResponseFilterSensitiveLog)
1879
+ .ser(se_UpdateDataIntegrationFlowCommand)
1880
+ .de(de_UpdateDataIntegrationFlowCommand)
1881
+ .build() {
1882
+ }
1883
+
1884
+ class UpdateDataLakeDatasetCommand extends smithyClient.Command
1885
+ .classBuilder()
1886
+ .ep(commonParams)
1887
+ .m(function (Command, cs, config, o) {
1888
+ return [
1889
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1890
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1891
+ ];
1892
+ })
1893
+ .s("GalaxyPublicAPIGateway", "UpdateDataLakeDataset", {})
1894
+ .n("SupplyChainClient", "UpdateDataLakeDatasetCommand")
1895
+ .f(void 0, void 0)
1896
+ .ser(se_UpdateDataLakeDatasetCommand)
1897
+ .de(de_UpdateDataLakeDatasetCommand)
1898
+ .build() {
1899
+ }
1900
+
1901
+ class UpdateDataLakeNamespaceCommand extends smithyClient.Command
1902
+ .classBuilder()
1903
+ .ep(commonParams)
1904
+ .m(function (Command, cs, config, o) {
1905
+ return [
1906
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1907
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1908
+ ];
1909
+ })
1910
+ .s("GalaxyPublicAPIGateway", "UpdateDataLakeNamespace", {})
1911
+ .n("SupplyChainClient", "UpdateDataLakeNamespaceCommand")
1912
+ .f(void 0, void 0)
1913
+ .ser(se_UpdateDataLakeNamespaceCommand)
1914
+ .de(de_UpdateDataLakeNamespaceCommand)
1915
+ .build() {
1916
+ }
1917
+
1918
+ class UpdateInstanceCommand extends smithyClient.Command
1919
+ .classBuilder()
1920
+ .ep(commonParams)
1921
+ .m(function (Command, cs, config, o) {
1922
+ return [
1923
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1924
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1925
+ ];
1926
+ })
1927
+ .s("GalaxyPublicAPIGateway", "UpdateInstance", {})
1928
+ .n("SupplyChainClient", "UpdateInstanceCommand")
1929
+ .f(void 0, void 0)
1930
+ .ser(se_UpdateInstanceCommand)
1931
+ .de(de_UpdateInstanceCommand)
1932
+ .build() {
1933
+ }
1934
+
1935
+ const commands = {
1936
+ CreateBillOfMaterialsImportJobCommand,
1937
+ CreateDataIntegrationFlowCommand,
1938
+ CreateDataLakeDatasetCommand,
1939
+ CreateDataLakeNamespaceCommand,
1940
+ CreateInstanceCommand,
1941
+ DeleteDataIntegrationFlowCommand,
1942
+ DeleteDataLakeDatasetCommand,
1943
+ DeleteDataLakeNamespaceCommand,
1944
+ DeleteInstanceCommand,
1945
+ GetBillOfMaterialsImportJobCommand,
1946
+ GetDataIntegrationEventCommand,
1947
+ GetDataIntegrationFlowCommand,
1948
+ GetDataIntegrationFlowExecutionCommand,
1949
+ GetDataLakeDatasetCommand,
1950
+ GetDataLakeNamespaceCommand,
1951
+ GetInstanceCommand,
1952
+ ListDataIntegrationEventsCommand,
1953
+ ListDataIntegrationFlowExecutionsCommand,
1954
+ ListDataIntegrationFlowsCommand,
1955
+ ListDataLakeDatasetsCommand,
1956
+ ListDataLakeNamespacesCommand,
1957
+ ListInstancesCommand,
1958
+ ListTagsForResourceCommand,
1959
+ SendDataIntegrationEventCommand,
1960
+ TagResourceCommand,
1961
+ UntagResourceCommand,
1962
+ UpdateDataIntegrationFlowCommand,
1963
+ UpdateDataLakeDatasetCommand,
1964
+ UpdateDataLakeNamespaceCommand,
1965
+ UpdateInstanceCommand,
1966
+ };
1967
+ class SupplyChain extends SupplyChainClient {
1968
+ }
1969
+ smithyClient.createAggregatedClient(commands, SupplyChain);
2075
1970
 
2076
- // src/SupplyChain.ts
2077
- var commands = {
2078
- CreateBillOfMaterialsImportJobCommand,
2079
- CreateDataIntegrationFlowCommand,
2080
- CreateDataLakeDatasetCommand,
2081
- CreateDataLakeNamespaceCommand,
2082
- CreateInstanceCommand,
2083
- DeleteDataIntegrationFlowCommand,
2084
- DeleteDataLakeDatasetCommand,
2085
- DeleteDataLakeNamespaceCommand,
2086
- DeleteInstanceCommand,
2087
- GetBillOfMaterialsImportJobCommand,
2088
- GetDataIntegrationEventCommand,
2089
- GetDataIntegrationFlowCommand,
2090
- GetDataIntegrationFlowExecutionCommand,
2091
- GetDataLakeDatasetCommand,
2092
- GetDataLakeNamespaceCommand,
2093
- GetInstanceCommand,
2094
- ListDataIntegrationEventsCommand,
2095
- ListDataIntegrationFlowExecutionsCommand,
2096
- ListDataIntegrationFlowsCommand,
2097
- ListDataLakeDatasetsCommand,
2098
- ListDataLakeNamespacesCommand,
2099
- ListInstancesCommand,
2100
- ListTagsForResourceCommand,
2101
- SendDataIntegrationEventCommand,
2102
- TagResourceCommand,
2103
- UntagResourceCommand,
2104
- UpdateDataIntegrationFlowCommand,
2105
- UpdateDataLakeDatasetCommand,
2106
- UpdateDataLakeNamespaceCommand,
2107
- UpdateInstanceCommand
2108
- };
2109
- var SupplyChain = class extends SupplyChainClient {
2110
- static {
2111
- __name(this, "SupplyChain");
2112
- }
2113
- };
2114
- (0, import_smithy_client.createAggregatedClient)(commands, SupplyChain);
2115
-
2116
- // src/pagination/ListDataIntegrationEventsPaginator.ts
2117
-
2118
- var paginateListDataIntegrationEvents = (0, import_core.createPaginator)(SupplyChainClient, ListDataIntegrationEventsCommand, "nextToken", "nextToken", "maxResults");
2119
-
2120
- // src/pagination/ListDataIntegrationFlowExecutionsPaginator.ts
2121
-
2122
- var paginateListDataIntegrationFlowExecutions = (0, import_core.createPaginator)(SupplyChainClient, ListDataIntegrationFlowExecutionsCommand, "nextToken", "nextToken", "maxResults");
2123
-
2124
- // src/pagination/ListDataIntegrationFlowsPaginator.ts
2125
-
2126
- var paginateListDataIntegrationFlows = (0, import_core.createPaginator)(SupplyChainClient, ListDataIntegrationFlowsCommand, "nextToken", "nextToken", "maxResults");
2127
-
2128
- // src/pagination/ListDataLakeDatasetsPaginator.ts
1971
+ const paginateListDataIntegrationEvents = core.createPaginator(SupplyChainClient, ListDataIntegrationEventsCommand, "nextToken", "nextToken", "maxResults");
2129
1972
 
2130
- var paginateListDataLakeDatasets = (0, import_core.createPaginator)(SupplyChainClient, ListDataLakeDatasetsCommand, "nextToken", "nextToken", "maxResults");
1973
+ const paginateListDataIntegrationFlowExecutions = core.createPaginator(SupplyChainClient, ListDataIntegrationFlowExecutionsCommand, "nextToken", "nextToken", "maxResults");
2131
1974
 
2132
- // src/pagination/ListDataLakeNamespacesPaginator.ts
1975
+ const paginateListDataIntegrationFlows = core.createPaginator(SupplyChainClient, ListDataIntegrationFlowsCommand, "nextToken", "nextToken", "maxResults");
2133
1976
 
2134
- var paginateListDataLakeNamespaces = (0, import_core.createPaginator)(SupplyChainClient, ListDataLakeNamespacesCommand, "nextToken", "nextToken", "maxResults");
1977
+ const paginateListDataLakeDatasets = core.createPaginator(SupplyChainClient, ListDataLakeDatasetsCommand, "nextToken", "nextToken", "maxResults");
2135
1978
 
2136
- // src/pagination/ListInstancesPaginator.ts
1979
+ const paginateListDataLakeNamespaces = core.createPaginator(SupplyChainClient, ListDataLakeNamespacesCommand, "nextToken", "nextToken", "maxResults");
2137
1980
 
2138
- var paginateListInstances = (0, import_core.createPaginator)(SupplyChainClient, ListInstancesCommand, "nextToken", "nextToken", "maxResults");
2139
- // Annotate the CommonJS export names for ESM import in node:
1981
+ const paginateListInstances = core.createPaginator(SupplyChainClient, ListInstancesCommand, "nextToken", "nextToken", "maxResults");
2140
1982
 
2141
- 0 && (module.exports = {
2142
- SupplyChainServiceException,
2143
- __Client,
2144
- SupplyChainClient,
2145
- SupplyChain,
2146
- $Command,
2147
- CreateBillOfMaterialsImportJobCommand,
2148
- CreateDataIntegrationFlowCommand,
2149
- CreateDataLakeDatasetCommand,
2150
- CreateDataLakeNamespaceCommand,
2151
- CreateInstanceCommand,
2152
- DeleteDataIntegrationFlowCommand,
2153
- DeleteDataLakeDatasetCommand,
2154
- DeleteDataLakeNamespaceCommand,
2155
- DeleteInstanceCommand,
2156
- GetBillOfMaterialsImportJobCommand,
2157
- GetDataIntegrationEventCommand,
2158
- GetDataIntegrationFlowCommand,
2159
- GetDataIntegrationFlowExecutionCommand,
2160
- GetDataLakeDatasetCommand,
2161
- GetDataLakeNamespaceCommand,
2162
- GetInstanceCommand,
2163
- ListDataIntegrationEventsCommand,
2164
- ListDataIntegrationFlowExecutionsCommand,
2165
- ListDataIntegrationFlowsCommand,
2166
- ListDataLakeDatasetsCommand,
2167
- ListDataLakeNamespacesCommand,
2168
- ListInstancesCommand,
2169
- ListTagsForResourceCommand,
2170
- SendDataIntegrationEventCommand,
2171
- TagResourceCommand,
2172
- UntagResourceCommand,
2173
- UpdateDataIntegrationFlowCommand,
2174
- UpdateDataLakeDatasetCommand,
2175
- UpdateDataLakeNamespaceCommand,
2176
- UpdateInstanceCommand,
2177
- paginateListDataIntegrationEvents,
2178
- paginateListDataIntegrationFlowExecutions,
2179
- paginateListDataIntegrationFlows,
2180
- paginateListDataLakeDatasets,
2181
- paginateListDataLakeNamespaces,
2182
- paginateListInstances,
2183
- AccessDeniedException,
2184
- ConfigurationJobStatus,
2185
- ConflictException,
2186
- InternalServerException,
2187
- ResourceNotFoundException,
2188
- ServiceQuotaExceededException,
2189
- ThrottlingException,
2190
- ValidationException,
2191
- DataIntegrationFlowFieldPriorityDedupeSortOrder,
2192
- DataIntegrationFlowDedupeStrategyType,
2193
- DataIntegrationFlowLoadType,
2194
- DataIntegrationFlowFileType,
2195
- DataIntegrationFlowSourceType,
2196
- DataIntegrationFlowTargetType,
2197
- DataIntegrationFlowTransformationType,
2198
- DataLakeDatasetPartitionTransformType,
2199
- DataLakeDatasetSchemaFieldType,
2200
- InstanceState,
2201
- DataIntegrationEventDatasetLoadStatus,
2202
- DataIntegrationEventDatasetOperationType,
2203
- DataIntegrationEventType,
2204
- DataIntegrationFlowExecutionStatus,
2205
- DataIntegrationFlowSQLTransformationConfigurationFilterSensitiveLog,
2206
- DataIntegrationFlowTransformationFilterSensitiveLog,
2207
- CreateDataIntegrationFlowRequestFilterSensitiveLog,
2208
- DataIntegrationFlowFilterSensitiveLog,
2209
- GetDataIntegrationFlowResponseFilterSensitiveLog,
2210
- ListDataIntegrationFlowsResponseFilterSensitiveLog,
2211
- UpdateDataIntegrationFlowRequestFilterSensitiveLog,
2212
- UpdateDataIntegrationFlowResponseFilterSensitiveLog,
2213
- SendDataIntegrationEventRequestFilterSensitiveLog
1983
+ Object.defineProperty(exports, "$Command", {
1984
+ enumerable: true,
1985
+ get: function () { return smithyClient.Command; }
2214
1986
  });
2215
-
1987
+ Object.defineProperty(exports, "__Client", {
1988
+ enumerable: true,
1989
+ get: function () { return smithyClient.Client; }
1990
+ });
1991
+ exports.AccessDeniedException = AccessDeniedException;
1992
+ exports.ConfigurationJobStatus = ConfigurationJobStatus;
1993
+ exports.ConflictException = ConflictException;
1994
+ exports.CreateBillOfMaterialsImportJobCommand = CreateBillOfMaterialsImportJobCommand;
1995
+ exports.CreateDataIntegrationFlowCommand = CreateDataIntegrationFlowCommand;
1996
+ exports.CreateDataIntegrationFlowRequestFilterSensitiveLog = CreateDataIntegrationFlowRequestFilterSensitiveLog;
1997
+ exports.CreateDataLakeDatasetCommand = CreateDataLakeDatasetCommand;
1998
+ exports.CreateDataLakeNamespaceCommand = CreateDataLakeNamespaceCommand;
1999
+ exports.CreateInstanceCommand = CreateInstanceCommand;
2000
+ exports.DataIntegrationEventDatasetLoadStatus = DataIntegrationEventDatasetLoadStatus;
2001
+ exports.DataIntegrationEventDatasetOperationType = DataIntegrationEventDatasetOperationType;
2002
+ exports.DataIntegrationEventType = DataIntegrationEventType;
2003
+ exports.DataIntegrationFlowDedupeStrategyType = DataIntegrationFlowDedupeStrategyType;
2004
+ exports.DataIntegrationFlowExecutionStatus = DataIntegrationFlowExecutionStatus;
2005
+ exports.DataIntegrationFlowFieldPriorityDedupeSortOrder = DataIntegrationFlowFieldPriorityDedupeSortOrder;
2006
+ exports.DataIntegrationFlowFileType = DataIntegrationFlowFileType;
2007
+ exports.DataIntegrationFlowFilterSensitiveLog = DataIntegrationFlowFilterSensitiveLog;
2008
+ exports.DataIntegrationFlowLoadType = DataIntegrationFlowLoadType;
2009
+ exports.DataIntegrationFlowSQLTransformationConfigurationFilterSensitiveLog = DataIntegrationFlowSQLTransformationConfigurationFilterSensitiveLog;
2010
+ exports.DataIntegrationFlowSourceType = DataIntegrationFlowSourceType;
2011
+ exports.DataIntegrationFlowTargetType = DataIntegrationFlowTargetType;
2012
+ exports.DataIntegrationFlowTransformationFilterSensitiveLog = DataIntegrationFlowTransformationFilterSensitiveLog;
2013
+ exports.DataIntegrationFlowTransformationType = DataIntegrationFlowTransformationType;
2014
+ exports.DataLakeDatasetPartitionTransformType = DataLakeDatasetPartitionTransformType;
2015
+ exports.DataLakeDatasetSchemaFieldType = DataLakeDatasetSchemaFieldType;
2016
+ exports.DeleteDataIntegrationFlowCommand = DeleteDataIntegrationFlowCommand;
2017
+ exports.DeleteDataLakeDatasetCommand = DeleteDataLakeDatasetCommand;
2018
+ exports.DeleteDataLakeNamespaceCommand = DeleteDataLakeNamespaceCommand;
2019
+ exports.DeleteInstanceCommand = DeleteInstanceCommand;
2020
+ exports.GetBillOfMaterialsImportJobCommand = GetBillOfMaterialsImportJobCommand;
2021
+ exports.GetDataIntegrationEventCommand = GetDataIntegrationEventCommand;
2022
+ exports.GetDataIntegrationFlowCommand = GetDataIntegrationFlowCommand;
2023
+ exports.GetDataIntegrationFlowExecutionCommand = GetDataIntegrationFlowExecutionCommand;
2024
+ exports.GetDataIntegrationFlowResponseFilterSensitiveLog = GetDataIntegrationFlowResponseFilterSensitiveLog;
2025
+ exports.GetDataLakeDatasetCommand = GetDataLakeDatasetCommand;
2026
+ exports.GetDataLakeNamespaceCommand = GetDataLakeNamespaceCommand;
2027
+ exports.GetInstanceCommand = GetInstanceCommand;
2028
+ exports.InstanceState = InstanceState;
2029
+ exports.InternalServerException = InternalServerException;
2030
+ exports.ListDataIntegrationEventsCommand = ListDataIntegrationEventsCommand;
2031
+ exports.ListDataIntegrationFlowExecutionsCommand = ListDataIntegrationFlowExecutionsCommand;
2032
+ exports.ListDataIntegrationFlowsCommand = ListDataIntegrationFlowsCommand;
2033
+ exports.ListDataIntegrationFlowsResponseFilterSensitiveLog = ListDataIntegrationFlowsResponseFilterSensitiveLog;
2034
+ exports.ListDataLakeDatasetsCommand = ListDataLakeDatasetsCommand;
2035
+ exports.ListDataLakeNamespacesCommand = ListDataLakeNamespacesCommand;
2036
+ exports.ListInstancesCommand = ListInstancesCommand;
2037
+ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2038
+ exports.ResourceNotFoundException = ResourceNotFoundException;
2039
+ exports.SendDataIntegrationEventCommand = SendDataIntegrationEventCommand;
2040
+ exports.SendDataIntegrationEventRequestFilterSensitiveLog = SendDataIntegrationEventRequestFilterSensitiveLog;
2041
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
2042
+ exports.SupplyChain = SupplyChain;
2043
+ exports.SupplyChainClient = SupplyChainClient;
2044
+ exports.SupplyChainServiceException = SupplyChainServiceException;
2045
+ exports.TagResourceCommand = TagResourceCommand;
2046
+ exports.ThrottlingException = ThrottlingException;
2047
+ exports.UntagResourceCommand = UntagResourceCommand;
2048
+ exports.UpdateDataIntegrationFlowCommand = UpdateDataIntegrationFlowCommand;
2049
+ exports.UpdateDataIntegrationFlowRequestFilterSensitiveLog = UpdateDataIntegrationFlowRequestFilterSensitiveLog;
2050
+ exports.UpdateDataIntegrationFlowResponseFilterSensitiveLog = UpdateDataIntegrationFlowResponseFilterSensitiveLog;
2051
+ exports.UpdateDataLakeDatasetCommand = UpdateDataLakeDatasetCommand;
2052
+ exports.UpdateDataLakeNamespaceCommand = UpdateDataLakeNamespaceCommand;
2053
+ exports.UpdateInstanceCommand = UpdateInstanceCommand;
2054
+ exports.ValidationException = ValidationException;
2055
+ exports.paginateListDataIntegrationEvents = paginateListDataIntegrationEvents;
2056
+ exports.paginateListDataIntegrationFlowExecutions = paginateListDataIntegrationFlowExecutions;
2057
+ exports.paginateListDataIntegrationFlows = paginateListDataIntegrationFlows;
2058
+ exports.paginateListDataLakeDatasets = paginateListDataLakeDatasets;
2059
+ exports.paginateListDataLakeNamespaces = paginateListDataLakeNamespaces;
2060
+ exports.paginateListInstances = paginateListInstances;