@aws-sdk/client-data-pipeline 3.489.0 → 3.495.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/DataPipeline.js +1 -49
- package/dist-cjs/DataPipelineClient.js +1 -43
- package/dist-cjs/commands/ActivatePipelineCommand.js +1 -28
- package/dist-cjs/commands/AddTagsCommand.js +1 -28
- package/dist-cjs/commands/CreatePipelineCommand.js +1 -28
- package/dist-cjs/commands/DeactivatePipelineCommand.js +1 -28
- package/dist-cjs/commands/DeletePipelineCommand.js +1 -28
- package/dist-cjs/commands/DescribeObjectsCommand.js +1 -28
- package/dist-cjs/commands/DescribePipelinesCommand.js +1 -28
- package/dist-cjs/commands/EvaluateExpressionCommand.js +1 -28
- package/dist-cjs/commands/GetPipelineDefinitionCommand.js +1 -28
- package/dist-cjs/commands/ListPipelinesCommand.js +1 -28
- package/dist-cjs/commands/PollForTaskCommand.js +1 -28
- package/dist-cjs/commands/PutPipelineDefinitionCommand.js +1 -28
- package/dist-cjs/commands/QueryObjectsCommand.js +1 -28
- package/dist-cjs/commands/RemoveTagsCommand.js +1 -28
- package/dist-cjs/commands/ReportTaskProgressCommand.js +1 -28
- package/dist-cjs/commands/ReportTaskRunnerHeartbeatCommand.js +1 -28
- package/dist-cjs/commands/SetStatusCommand.js +1 -28
- package/dist-cjs/commands/SetTaskStatusCommand.js +1 -28
- package/dist-cjs/commands/ValidatePipelineDefinitionCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -22
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +1665 -11
- package/dist-cjs/models/DataPipelineServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -81
- package/dist-cjs/pagination/DescribeObjectsPaginator.js +1 -7
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListPipelinesPaginator.js +1 -7
- package/dist-cjs/pagination/QueryObjectsPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -7
- package/dist-cjs/protocols/Aws_json1_1.js +1 -1041
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,1666 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
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 src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
ActivatePipelineCommand: () => ActivatePipelineCommand,
|
|
25
|
+
AddTagsCommand: () => AddTagsCommand,
|
|
26
|
+
CreatePipelineCommand: () => CreatePipelineCommand,
|
|
27
|
+
DataPipeline: () => DataPipeline,
|
|
28
|
+
DataPipelineClient: () => DataPipelineClient,
|
|
29
|
+
DataPipelineServiceException: () => DataPipelineServiceException,
|
|
30
|
+
DeactivatePipelineCommand: () => DeactivatePipelineCommand,
|
|
31
|
+
DeletePipelineCommand: () => DeletePipelineCommand,
|
|
32
|
+
DescribeObjectsCommand: () => DescribeObjectsCommand,
|
|
33
|
+
DescribePipelinesCommand: () => DescribePipelinesCommand,
|
|
34
|
+
EvaluateExpressionCommand: () => EvaluateExpressionCommand,
|
|
35
|
+
GetPipelineDefinitionCommand: () => GetPipelineDefinitionCommand,
|
|
36
|
+
InternalServiceError: () => InternalServiceError,
|
|
37
|
+
InvalidRequestException: () => InvalidRequestException,
|
|
38
|
+
ListPipelinesCommand: () => ListPipelinesCommand,
|
|
39
|
+
OperatorType: () => OperatorType,
|
|
40
|
+
PipelineDeletedException: () => PipelineDeletedException,
|
|
41
|
+
PipelineNotFoundException: () => PipelineNotFoundException,
|
|
42
|
+
PollForTaskCommand: () => PollForTaskCommand,
|
|
43
|
+
PutPipelineDefinitionCommand: () => PutPipelineDefinitionCommand,
|
|
44
|
+
QueryObjectsCommand: () => QueryObjectsCommand,
|
|
45
|
+
RemoveTagsCommand: () => RemoveTagsCommand,
|
|
46
|
+
ReportTaskProgressCommand: () => ReportTaskProgressCommand,
|
|
47
|
+
ReportTaskRunnerHeartbeatCommand: () => ReportTaskRunnerHeartbeatCommand,
|
|
48
|
+
SetStatusCommand: () => SetStatusCommand,
|
|
49
|
+
SetTaskStatusCommand: () => SetTaskStatusCommand,
|
|
50
|
+
TaskNotFoundException: () => TaskNotFoundException,
|
|
51
|
+
TaskStatus: () => TaskStatus,
|
|
52
|
+
ValidatePipelineDefinitionCommand: () => ValidatePipelineDefinitionCommand,
|
|
53
|
+
__Client: () => import_smithy_client.Client,
|
|
54
|
+
paginateDescribeObjects: () => paginateDescribeObjects,
|
|
55
|
+
paginateListPipelines: () => paginateListPipelines,
|
|
56
|
+
paginateQueryObjects: () => paginateQueryObjects
|
|
57
|
+
});
|
|
58
|
+
module.exports = __toCommonJS(src_exports);
|
|
59
|
+
|
|
60
|
+
// src/DataPipelineClient.ts
|
|
61
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
62
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
63
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
64
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
65
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
66
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
67
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
68
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
69
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
// src/endpoint/EndpointParameters.ts
|
|
73
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
74
|
+
return {
|
|
75
|
+
...options,
|
|
76
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
77
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
78
|
+
defaultSigningName: "datapipeline"
|
|
79
|
+
};
|
|
80
|
+
}, "resolveClientEndpointParameters");
|
|
81
|
+
var commonParams = {
|
|
82
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
83
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
84
|
+
Region: { type: "builtInParams", name: "region" },
|
|
85
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
// src/DataPipelineClient.ts
|
|
89
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
90
|
+
|
|
91
|
+
// src/runtimeExtensions.ts
|
|
92
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
93
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
94
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
95
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
96
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
97
|
+
const extensionConfiguration = {
|
|
98
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
99
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
100
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
101
|
+
};
|
|
102
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
103
|
+
return {
|
|
104
|
+
...runtimeConfig,
|
|
105
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
106
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
107
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
108
|
+
};
|
|
109
|
+
}, "resolveRuntimeExtensions");
|
|
110
|
+
|
|
111
|
+
// src/DataPipelineClient.ts
|
|
112
|
+
var _DataPipelineClient = class _DataPipelineClient extends import_smithy_client.Client {
|
|
113
|
+
constructor(...[configuration]) {
|
|
114
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
115
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
116
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
117
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
118
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
119
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
120
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
121
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
122
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
123
|
+
super(_config_8);
|
|
124
|
+
this.config = _config_8;
|
|
125
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
126
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
127
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
128
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
129
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
130
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
131
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
135
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
136
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
137
|
+
*/
|
|
138
|
+
destroy() {
|
|
139
|
+
super.destroy();
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
__name(_DataPipelineClient, "DataPipelineClient");
|
|
143
|
+
var DataPipelineClient = _DataPipelineClient;
|
|
144
|
+
|
|
145
|
+
// src/DataPipeline.ts
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
// src/commands/ActivatePipelineCommand.ts
|
|
149
|
+
|
|
150
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
151
|
+
|
|
152
|
+
var import_types = require("@smithy/types");
|
|
153
|
+
|
|
154
|
+
// src/protocols/Aws_json1_1.ts
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
// src/models/DataPipelineServiceException.ts
|
|
159
|
+
|
|
160
|
+
var _DataPipelineServiceException = class _DataPipelineServiceException extends import_smithy_client.ServiceException {
|
|
161
|
+
/**
|
|
162
|
+
* @internal
|
|
163
|
+
*/
|
|
164
|
+
constructor(options) {
|
|
165
|
+
super(options);
|
|
166
|
+
Object.setPrototypeOf(this, _DataPipelineServiceException.prototype);
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
__name(_DataPipelineServiceException, "DataPipelineServiceException");
|
|
170
|
+
var DataPipelineServiceException = _DataPipelineServiceException;
|
|
171
|
+
|
|
172
|
+
// src/models/models_0.ts
|
|
173
|
+
var _InternalServiceError = class _InternalServiceError extends DataPipelineServiceException {
|
|
174
|
+
/**
|
|
175
|
+
* @internal
|
|
176
|
+
*/
|
|
177
|
+
constructor(opts) {
|
|
178
|
+
super({
|
|
179
|
+
name: "InternalServiceError",
|
|
180
|
+
$fault: "server",
|
|
181
|
+
...opts
|
|
182
|
+
});
|
|
183
|
+
this.name = "InternalServiceError";
|
|
184
|
+
this.$fault = "server";
|
|
185
|
+
Object.setPrototypeOf(this, _InternalServiceError.prototype);
|
|
186
|
+
}
|
|
187
|
+
};
|
|
188
|
+
__name(_InternalServiceError, "InternalServiceError");
|
|
189
|
+
var InternalServiceError = _InternalServiceError;
|
|
190
|
+
var _InvalidRequestException = class _InvalidRequestException extends DataPipelineServiceException {
|
|
191
|
+
/**
|
|
192
|
+
* @internal
|
|
193
|
+
*/
|
|
194
|
+
constructor(opts) {
|
|
195
|
+
super({
|
|
196
|
+
name: "InvalidRequestException",
|
|
197
|
+
$fault: "client",
|
|
198
|
+
...opts
|
|
199
|
+
});
|
|
200
|
+
this.name = "InvalidRequestException";
|
|
201
|
+
this.$fault = "client";
|
|
202
|
+
Object.setPrototypeOf(this, _InvalidRequestException.prototype);
|
|
203
|
+
}
|
|
204
|
+
};
|
|
205
|
+
__name(_InvalidRequestException, "InvalidRequestException");
|
|
206
|
+
var InvalidRequestException = _InvalidRequestException;
|
|
207
|
+
var _PipelineDeletedException = class _PipelineDeletedException extends DataPipelineServiceException {
|
|
208
|
+
/**
|
|
209
|
+
* @internal
|
|
210
|
+
*/
|
|
211
|
+
constructor(opts) {
|
|
212
|
+
super({
|
|
213
|
+
name: "PipelineDeletedException",
|
|
214
|
+
$fault: "client",
|
|
215
|
+
...opts
|
|
216
|
+
});
|
|
217
|
+
this.name = "PipelineDeletedException";
|
|
218
|
+
this.$fault = "client";
|
|
219
|
+
Object.setPrototypeOf(this, _PipelineDeletedException.prototype);
|
|
220
|
+
}
|
|
221
|
+
};
|
|
222
|
+
__name(_PipelineDeletedException, "PipelineDeletedException");
|
|
223
|
+
var PipelineDeletedException = _PipelineDeletedException;
|
|
224
|
+
var _PipelineNotFoundException = class _PipelineNotFoundException extends DataPipelineServiceException {
|
|
225
|
+
/**
|
|
226
|
+
* @internal
|
|
227
|
+
*/
|
|
228
|
+
constructor(opts) {
|
|
229
|
+
super({
|
|
230
|
+
name: "PipelineNotFoundException",
|
|
231
|
+
$fault: "client",
|
|
232
|
+
...opts
|
|
233
|
+
});
|
|
234
|
+
this.name = "PipelineNotFoundException";
|
|
235
|
+
this.$fault = "client";
|
|
236
|
+
Object.setPrototypeOf(this, _PipelineNotFoundException.prototype);
|
|
237
|
+
}
|
|
238
|
+
};
|
|
239
|
+
__name(_PipelineNotFoundException, "PipelineNotFoundException");
|
|
240
|
+
var PipelineNotFoundException = _PipelineNotFoundException;
|
|
241
|
+
var _TaskNotFoundException = class _TaskNotFoundException extends DataPipelineServiceException {
|
|
242
|
+
/**
|
|
243
|
+
* @internal
|
|
244
|
+
*/
|
|
245
|
+
constructor(opts) {
|
|
246
|
+
super({
|
|
247
|
+
name: "TaskNotFoundException",
|
|
248
|
+
$fault: "client",
|
|
249
|
+
...opts
|
|
250
|
+
});
|
|
251
|
+
this.name = "TaskNotFoundException";
|
|
252
|
+
this.$fault = "client";
|
|
253
|
+
Object.setPrototypeOf(this, _TaskNotFoundException.prototype);
|
|
254
|
+
}
|
|
255
|
+
};
|
|
256
|
+
__name(_TaskNotFoundException, "TaskNotFoundException");
|
|
257
|
+
var TaskNotFoundException = _TaskNotFoundException;
|
|
258
|
+
var OperatorType = {
|
|
259
|
+
Between: "BETWEEN",
|
|
260
|
+
Equal: "EQ",
|
|
261
|
+
GreaterThanOrEqual: "GE",
|
|
262
|
+
LessThanOrEqual: "LE",
|
|
263
|
+
ReferenceEqual: "REF_EQ"
|
|
264
|
+
};
|
|
265
|
+
var TaskStatus = {
|
|
266
|
+
FAILED: "FAILED",
|
|
267
|
+
FALSE: "FALSE",
|
|
268
|
+
FINISHED: "FINISHED"
|
|
269
|
+
};
|
|
270
|
+
|
|
271
|
+
// src/protocols/Aws_json1_1.ts
|
|
272
|
+
var se_ActivatePipelineCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
273
|
+
const headers = sharedHeaders("ActivatePipeline");
|
|
274
|
+
let body;
|
|
275
|
+
body = JSON.stringify(se_ActivatePipelineInput(input, context));
|
|
276
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
277
|
+
}, "se_ActivatePipelineCommand");
|
|
278
|
+
var se_AddTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
279
|
+
const headers = sharedHeaders("AddTags");
|
|
280
|
+
let body;
|
|
281
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
282
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
283
|
+
}, "se_AddTagsCommand");
|
|
284
|
+
var se_CreatePipelineCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
285
|
+
const headers = sharedHeaders("CreatePipeline");
|
|
286
|
+
let body;
|
|
287
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
288
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
289
|
+
}, "se_CreatePipelineCommand");
|
|
290
|
+
var se_DeactivatePipelineCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
291
|
+
const headers = sharedHeaders("DeactivatePipeline");
|
|
292
|
+
let body;
|
|
293
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
294
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
295
|
+
}, "se_DeactivatePipelineCommand");
|
|
296
|
+
var se_DeletePipelineCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
297
|
+
const headers = sharedHeaders("DeletePipeline");
|
|
298
|
+
let body;
|
|
299
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
300
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
301
|
+
}, "se_DeletePipelineCommand");
|
|
302
|
+
var se_DescribeObjectsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
303
|
+
const headers = sharedHeaders("DescribeObjects");
|
|
304
|
+
let body;
|
|
305
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
306
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
307
|
+
}, "se_DescribeObjectsCommand");
|
|
308
|
+
var se_DescribePipelinesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
309
|
+
const headers = sharedHeaders("DescribePipelines");
|
|
310
|
+
let body;
|
|
311
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
312
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
313
|
+
}, "se_DescribePipelinesCommand");
|
|
314
|
+
var se_EvaluateExpressionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
315
|
+
const headers = sharedHeaders("EvaluateExpression");
|
|
316
|
+
let body;
|
|
317
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
318
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
319
|
+
}, "se_EvaluateExpressionCommand");
|
|
320
|
+
var se_GetPipelineDefinitionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
321
|
+
const headers = sharedHeaders("GetPipelineDefinition");
|
|
322
|
+
let body;
|
|
323
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
324
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
325
|
+
}, "se_GetPipelineDefinitionCommand");
|
|
326
|
+
var se_ListPipelinesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
327
|
+
const headers = sharedHeaders("ListPipelines");
|
|
328
|
+
let body;
|
|
329
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
330
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
331
|
+
}, "se_ListPipelinesCommand");
|
|
332
|
+
var se_PollForTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
333
|
+
const headers = sharedHeaders("PollForTask");
|
|
334
|
+
let body;
|
|
335
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
336
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
337
|
+
}, "se_PollForTaskCommand");
|
|
338
|
+
var se_PutPipelineDefinitionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
339
|
+
const headers = sharedHeaders("PutPipelineDefinition");
|
|
340
|
+
let body;
|
|
341
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
342
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
343
|
+
}, "se_PutPipelineDefinitionCommand");
|
|
344
|
+
var se_QueryObjectsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
345
|
+
const headers = sharedHeaders("QueryObjects");
|
|
346
|
+
let body;
|
|
347
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
348
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
349
|
+
}, "se_QueryObjectsCommand");
|
|
350
|
+
var se_RemoveTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
351
|
+
const headers = sharedHeaders("RemoveTags");
|
|
352
|
+
let body;
|
|
353
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
354
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
355
|
+
}, "se_RemoveTagsCommand");
|
|
356
|
+
var se_ReportTaskProgressCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
357
|
+
const headers = sharedHeaders("ReportTaskProgress");
|
|
358
|
+
let body;
|
|
359
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
360
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
361
|
+
}, "se_ReportTaskProgressCommand");
|
|
362
|
+
var se_ReportTaskRunnerHeartbeatCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
363
|
+
const headers = sharedHeaders("ReportTaskRunnerHeartbeat");
|
|
364
|
+
let body;
|
|
365
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
366
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
367
|
+
}, "se_ReportTaskRunnerHeartbeatCommand");
|
|
368
|
+
var se_SetStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
369
|
+
const headers = sharedHeaders("SetStatus");
|
|
370
|
+
let body;
|
|
371
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
372
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
373
|
+
}, "se_SetStatusCommand");
|
|
374
|
+
var se_SetTaskStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
375
|
+
const headers = sharedHeaders("SetTaskStatus");
|
|
376
|
+
let body;
|
|
377
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
378
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
379
|
+
}, "se_SetTaskStatusCommand");
|
|
380
|
+
var se_ValidatePipelineDefinitionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
381
|
+
const headers = sharedHeaders("ValidatePipelineDefinition");
|
|
382
|
+
let body;
|
|
383
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
384
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
385
|
+
}, "se_ValidatePipelineDefinitionCommand");
|
|
386
|
+
var de_ActivatePipelineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
387
|
+
if (output.statusCode >= 300) {
|
|
388
|
+
return de_ActivatePipelineCommandError(output, context);
|
|
389
|
+
}
|
|
390
|
+
const data = await parseBody(output.body, context);
|
|
391
|
+
let contents = {};
|
|
392
|
+
contents = (0, import_smithy_client._json)(data);
|
|
393
|
+
const response = {
|
|
394
|
+
$metadata: deserializeMetadata(output),
|
|
395
|
+
...contents
|
|
396
|
+
};
|
|
397
|
+
return response;
|
|
398
|
+
}, "de_ActivatePipelineCommand");
|
|
399
|
+
var de_ActivatePipelineCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
400
|
+
const parsedOutput = {
|
|
401
|
+
...output,
|
|
402
|
+
body: await parseErrorBody(output.body, context)
|
|
403
|
+
};
|
|
404
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
405
|
+
switch (errorCode) {
|
|
406
|
+
case "InternalServiceError":
|
|
407
|
+
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
408
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
409
|
+
case "InvalidRequestException":
|
|
410
|
+
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
411
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
412
|
+
case "PipelineDeletedException":
|
|
413
|
+
case "com.amazonaws.datapipeline#PipelineDeletedException":
|
|
414
|
+
throw await de_PipelineDeletedExceptionRes(parsedOutput, context);
|
|
415
|
+
case "PipelineNotFoundException":
|
|
416
|
+
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
417
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
418
|
+
default:
|
|
419
|
+
const parsedBody = parsedOutput.body;
|
|
420
|
+
return throwDefaultError({
|
|
421
|
+
output,
|
|
422
|
+
parsedBody,
|
|
423
|
+
errorCode
|
|
424
|
+
});
|
|
425
|
+
}
|
|
426
|
+
}, "de_ActivatePipelineCommandError");
|
|
427
|
+
var de_AddTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
428
|
+
if (output.statusCode >= 300) {
|
|
429
|
+
return de_AddTagsCommandError(output, context);
|
|
430
|
+
}
|
|
431
|
+
const data = await parseBody(output.body, context);
|
|
432
|
+
let contents = {};
|
|
433
|
+
contents = (0, import_smithy_client._json)(data);
|
|
434
|
+
const response = {
|
|
435
|
+
$metadata: deserializeMetadata(output),
|
|
436
|
+
...contents
|
|
437
|
+
};
|
|
438
|
+
return response;
|
|
439
|
+
}, "de_AddTagsCommand");
|
|
440
|
+
var de_AddTagsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
441
|
+
const parsedOutput = {
|
|
442
|
+
...output,
|
|
443
|
+
body: await parseErrorBody(output.body, context)
|
|
444
|
+
};
|
|
445
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
446
|
+
switch (errorCode) {
|
|
447
|
+
case "InternalServiceError":
|
|
448
|
+
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
449
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
450
|
+
case "InvalidRequestException":
|
|
451
|
+
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
452
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
453
|
+
case "PipelineDeletedException":
|
|
454
|
+
case "com.amazonaws.datapipeline#PipelineDeletedException":
|
|
455
|
+
throw await de_PipelineDeletedExceptionRes(parsedOutput, context);
|
|
456
|
+
case "PipelineNotFoundException":
|
|
457
|
+
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
458
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
459
|
+
default:
|
|
460
|
+
const parsedBody = parsedOutput.body;
|
|
461
|
+
return throwDefaultError({
|
|
462
|
+
output,
|
|
463
|
+
parsedBody,
|
|
464
|
+
errorCode
|
|
465
|
+
});
|
|
466
|
+
}
|
|
467
|
+
}, "de_AddTagsCommandError");
|
|
468
|
+
var de_CreatePipelineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
469
|
+
if (output.statusCode >= 300) {
|
|
470
|
+
return de_CreatePipelineCommandError(output, context);
|
|
471
|
+
}
|
|
472
|
+
const data = await parseBody(output.body, context);
|
|
473
|
+
let contents = {};
|
|
474
|
+
contents = (0, import_smithy_client._json)(data);
|
|
475
|
+
const response = {
|
|
476
|
+
$metadata: deserializeMetadata(output),
|
|
477
|
+
...contents
|
|
478
|
+
};
|
|
479
|
+
return response;
|
|
480
|
+
}, "de_CreatePipelineCommand");
|
|
481
|
+
var de_CreatePipelineCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
482
|
+
const parsedOutput = {
|
|
483
|
+
...output,
|
|
484
|
+
body: await parseErrorBody(output.body, context)
|
|
485
|
+
};
|
|
486
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
487
|
+
switch (errorCode) {
|
|
488
|
+
case "InternalServiceError":
|
|
489
|
+
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
490
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
491
|
+
case "InvalidRequestException":
|
|
492
|
+
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
493
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
494
|
+
default:
|
|
495
|
+
const parsedBody = parsedOutput.body;
|
|
496
|
+
return throwDefaultError({
|
|
497
|
+
output,
|
|
498
|
+
parsedBody,
|
|
499
|
+
errorCode
|
|
500
|
+
});
|
|
501
|
+
}
|
|
502
|
+
}, "de_CreatePipelineCommandError");
|
|
503
|
+
var de_DeactivatePipelineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
504
|
+
if (output.statusCode >= 300) {
|
|
505
|
+
return de_DeactivatePipelineCommandError(output, context);
|
|
506
|
+
}
|
|
507
|
+
const data = await parseBody(output.body, context);
|
|
508
|
+
let contents = {};
|
|
509
|
+
contents = (0, import_smithy_client._json)(data);
|
|
510
|
+
const response = {
|
|
511
|
+
$metadata: deserializeMetadata(output),
|
|
512
|
+
...contents
|
|
513
|
+
};
|
|
514
|
+
return response;
|
|
515
|
+
}, "de_DeactivatePipelineCommand");
|
|
516
|
+
var de_DeactivatePipelineCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
517
|
+
const parsedOutput = {
|
|
518
|
+
...output,
|
|
519
|
+
body: await parseErrorBody(output.body, context)
|
|
520
|
+
};
|
|
521
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
522
|
+
switch (errorCode) {
|
|
523
|
+
case "InternalServiceError":
|
|
524
|
+
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
525
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
526
|
+
case "InvalidRequestException":
|
|
527
|
+
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
528
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
529
|
+
case "PipelineDeletedException":
|
|
530
|
+
case "com.amazonaws.datapipeline#PipelineDeletedException":
|
|
531
|
+
throw await de_PipelineDeletedExceptionRes(parsedOutput, context);
|
|
532
|
+
case "PipelineNotFoundException":
|
|
533
|
+
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
534
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
535
|
+
default:
|
|
536
|
+
const parsedBody = parsedOutput.body;
|
|
537
|
+
return throwDefaultError({
|
|
538
|
+
output,
|
|
539
|
+
parsedBody,
|
|
540
|
+
errorCode
|
|
541
|
+
});
|
|
542
|
+
}
|
|
543
|
+
}, "de_DeactivatePipelineCommandError");
|
|
544
|
+
var de_DeletePipelineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
545
|
+
if (output.statusCode >= 300) {
|
|
546
|
+
return de_DeletePipelineCommandError(output, context);
|
|
547
|
+
}
|
|
548
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
549
|
+
const response = {
|
|
550
|
+
$metadata: deserializeMetadata(output)
|
|
551
|
+
};
|
|
552
|
+
return response;
|
|
553
|
+
}, "de_DeletePipelineCommand");
|
|
554
|
+
var de_DeletePipelineCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
555
|
+
const parsedOutput = {
|
|
556
|
+
...output,
|
|
557
|
+
body: await parseErrorBody(output.body, context)
|
|
558
|
+
};
|
|
559
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
560
|
+
switch (errorCode) {
|
|
561
|
+
case "InternalServiceError":
|
|
562
|
+
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
563
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
564
|
+
case "InvalidRequestException":
|
|
565
|
+
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
566
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
567
|
+
case "PipelineNotFoundException":
|
|
568
|
+
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
569
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
570
|
+
default:
|
|
571
|
+
const parsedBody = parsedOutput.body;
|
|
572
|
+
return throwDefaultError({
|
|
573
|
+
output,
|
|
574
|
+
parsedBody,
|
|
575
|
+
errorCode
|
|
576
|
+
});
|
|
577
|
+
}
|
|
578
|
+
}, "de_DeletePipelineCommandError");
|
|
579
|
+
var de_DescribeObjectsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
580
|
+
if (output.statusCode >= 300) {
|
|
581
|
+
return de_DescribeObjectsCommandError(output, context);
|
|
582
|
+
}
|
|
583
|
+
const data = await parseBody(output.body, context);
|
|
584
|
+
let contents = {};
|
|
585
|
+
contents = (0, import_smithy_client._json)(data);
|
|
586
|
+
const response = {
|
|
587
|
+
$metadata: deserializeMetadata(output),
|
|
588
|
+
...contents
|
|
589
|
+
};
|
|
590
|
+
return response;
|
|
591
|
+
}, "de_DescribeObjectsCommand");
|
|
592
|
+
var de_DescribeObjectsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
593
|
+
const parsedOutput = {
|
|
594
|
+
...output,
|
|
595
|
+
body: await parseErrorBody(output.body, context)
|
|
596
|
+
};
|
|
597
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
598
|
+
switch (errorCode) {
|
|
599
|
+
case "InternalServiceError":
|
|
600
|
+
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
601
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
602
|
+
case "InvalidRequestException":
|
|
603
|
+
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
604
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
605
|
+
case "PipelineDeletedException":
|
|
606
|
+
case "com.amazonaws.datapipeline#PipelineDeletedException":
|
|
607
|
+
throw await de_PipelineDeletedExceptionRes(parsedOutput, context);
|
|
608
|
+
case "PipelineNotFoundException":
|
|
609
|
+
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
610
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
611
|
+
default:
|
|
612
|
+
const parsedBody = parsedOutput.body;
|
|
613
|
+
return throwDefaultError({
|
|
614
|
+
output,
|
|
615
|
+
parsedBody,
|
|
616
|
+
errorCode
|
|
617
|
+
});
|
|
618
|
+
}
|
|
619
|
+
}, "de_DescribeObjectsCommandError");
|
|
620
|
+
var de_DescribePipelinesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
621
|
+
if (output.statusCode >= 300) {
|
|
622
|
+
return de_DescribePipelinesCommandError(output, context);
|
|
623
|
+
}
|
|
624
|
+
const data = await parseBody(output.body, context);
|
|
625
|
+
let contents = {};
|
|
626
|
+
contents = (0, import_smithy_client._json)(data);
|
|
627
|
+
const response = {
|
|
628
|
+
$metadata: deserializeMetadata(output),
|
|
629
|
+
...contents
|
|
630
|
+
};
|
|
631
|
+
return response;
|
|
632
|
+
}, "de_DescribePipelinesCommand");
|
|
633
|
+
var de_DescribePipelinesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
634
|
+
const parsedOutput = {
|
|
635
|
+
...output,
|
|
636
|
+
body: await parseErrorBody(output.body, context)
|
|
637
|
+
};
|
|
638
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
639
|
+
switch (errorCode) {
|
|
640
|
+
case "InternalServiceError":
|
|
641
|
+
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
642
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
643
|
+
case "InvalidRequestException":
|
|
644
|
+
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
645
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
646
|
+
case "PipelineDeletedException":
|
|
647
|
+
case "com.amazonaws.datapipeline#PipelineDeletedException":
|
|
648
|
+
throw await de_PipelineDeletedExceptionRes(parsedOutput, context);
|
|
649
|
+
case "PipelineNotFoundException":
|
|
650
|
+
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
651
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
652
|
+
default:
|
|
653
|
+
const parsedBody = parsedOutput.body;
|
|
654
|
+
return throwDefaultError({
|
|
655
|
+
output,
|
|
656
|
+
parsedBody,
|
|
657
|
+
errorCode
|
|
658
|
+
});
|
|
659
|
+
}
|
|
660
|
+
}, "de_DescribePipelinesCommandError");
|
|
661
|
+
var de_EvaluateExpressionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
662
|
+
if (output.statusCode >= 300) {
|
|
663
|
+
return de_EvaluateExpressionCommandError(output, context);
|
|
664
|
+
}
|
|
665
|
+
const data = await parseBody(output.body, context);
|
|
666
|
+
let contents = {};
|
|
667
|
+
contents = (0, import_smithy_client._json)(data);
|
|
668
|
+
const response = {
|
|
669
|
+
$metadata: deserializeMetadata(output),
|
|
670
|
+
...contents
|
|
671
|
+
};
|
|
672
|
+
return response;
|
|
673
|
+
}, "de_EvaluateExpressionCommand");
|
|
674
|
+
var de_EvaluateExpressionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
675
|
+
const parsedOutput = {
|
|
676
|
+
...output,
|
|
677
|
+
body: await parseErrorBody(output.body, context)
|
|
678
|
+
};
|
|
679
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
680
|
+
switch (errorCode) {
|
|
681
|
+
case "InternalServiceError":
|
|
682
|
+
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
683
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
684
|
+
case "InvalidRequestException":
|
|
685
|
+
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
686
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
687
|
+
case "PipelineDeletedException":
|
|
688
|
+
case "com.amazonaws.datapipeline#PipelineDeletedException":
|
|
689
|
+
throw await de_PipelineDeletedExceptionRes(parsedOutput, context);
|
|
690
|
+
case "PipelineNotFoundException":
|
|
691
|
+
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
692
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
693
|
+
case "TaskNotFoundException":
|
|
694
|
+
case "com.amazonaws.datapipeline#TaskNotFoundException":
|
|
695
|
+
throw await de_TaskNotFoundExceptionRes(parsedOutput, context);
|
|
696
|
+
default:
|
|
697
|
+
const parsedBody = parsedOutput.body;
|
|
698
|
+
return throwDefaultError({
|
|
699
|
+
output,
|
|
700
|
+
parsedBody,
|
|
701
|
+
errorCode
|
|
702
|
+
});
|
|
703
|
+
}
|
|
704
|
+
}, "de_EvaluateExpressionCommandError");
|
|
705
|
+
var de_GetPipelineDefinitionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
706
|
+
if (output.statusCode >= 300) {
|
|
707
|
+
return de_GetPipelineDefinitionCommandError(output, context);
|
|
708
|
+
}
|
|
709
|
+
const data = await parseBody(output.body, context);
|
|
710
|
+
let contents = {};
|
|
711
|
+
contents = (0, import_smithy_client._json)(data);
|
|
712
|
+
const response = {
|
|
713
|
+
$metadata: deserializeMetadata(output),
|
|
714
|
+
...contents
|
|
715
|
+
};
|
|
716
|
+
return response;
|
|
717
|
+
}, "de_GetPipelineDefinitionCommand");
|
|
718
|
+
var de_GetPipelineDefinitionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
719
|
+
const parsedOutput = {
|
|
720
|
+
...output,
|
|
721
|
+
body: await parseErrorBody(output.body, context)
|
|
722
|
+
};
|
|
723
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
724
|
+
switch (errorCode) {
|
|
725
|
+
case "InternalServiceError":
|
|
726
|
+
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
727
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
728
|
+
case "InvalidRequestException":
|
|
729
|
+
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
730
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
731
|
+
case "PipelineDeletedException":
|
|
732
|
+
case "com.amazonaws.datapipeline#PipelineDeletedException":
|
|
733
|
+
throw await de_PipelineDeletedExceptionRes(parsedOutput, context);
|
|
734
|
+
case "PipelineNotFoundException":
|
|
735
|
+
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
736
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
737
|
+
default:
|
|
738
|
+
const parsedBody = parsedOutput.body;
|
|
739
|
+
return throwDefaultError({
|
|
740
|
+
output,
|
|
741
|
+
parsedBody,
|
|
742
|
+
errorCode
|
|
743
|
+
});
|
|
744
|
+
}
|
|
745
|
+
}, "de_GetPipelineDefinitionCommandError");
|
|
746
|
+
var de_ListPipelinesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
747
|
+
if (output.statusCode >= 300) {
|
|
748
|
+
return de_ListPipelinesCommandError(output, context);
|
|
749
|
+
}
|
|
750
|
+
const data = await parseBody(output.body, context);
|
|
751
|
+
let contents = {};
|
|
752
|
+
contents = (0, import_smithy_client._json)(data);
|
|
753
|
+
const response = {
|
|
754
|
+
$metadata: deserializeMetadata(output),
|
|
755
|
+
...contents
|
|
756
|
+
};
|
|
757
|
+
return response;
|
|
758
|
+
}, "de_ListPipelinesCommand");
|
|
759
|
+
var de_ListPipelinesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
760
|
+
const parsedOutput = {
|
|
761
|
+
...output,
|
|
762
|
+
body: await parseErrorBody(output.body, context)
|
|
763
|
+
};
|
|
764
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
765
|
+
switch (errorCode) {
|
|
766
|
+
case "InternalServiceError":
|
|
767
|
+
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
768
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
769
|
+
case "InvalidRequestException":
|
|
770
|
+
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
771
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
772
|
+
default:
|
|
773
|
+
const parsedBody = parsedOutput.body;
|
|
774
|
+
return throwDefaultError({
|
|
775
|
+
output,
|
|
776
|
+
parsedBody,
|
|
777
|
+
errorCode
|
|
778
|
+
});
|
|
779
|
+
}
|
|
780
|
+
}, "de_ListPipelinesCommandError");
|
|
781
|
+
var de_PollForTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
782
|
+
if (output.statusCode >= 300) {
|
|
783
|
+
return de_PollForTaskCommandError(output, context);
|
|
784
|
+
}
|
|
785
|
+
const data = await parseBody(output.body, context);
|
|
786
|
+
let contents = {};
|
|
787
|
+
contents = (0, import_smithy_client._json)(data);
|
|
788
|
+
const response = {
|
|
789
|
+
$metadata: deserializeMetadata(output),
|
|
790
|
+
...contents
|
|
791
|
+
};
|
|
792
|
+
return response;
|
|
793
|
+
}, "de_PollForTaskCommand");
|
|
794
|
+
var de_PollForTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
795
|
+
const parsedOutput = {
|
|
796
|
+
...output,
|
|
797
|
+
body: await parseErrorBody(output.body, context)
|
|
798
|
+
};
|
|
799
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
800
|
+
switch (errorCode) {
|
|
801
|
+
case "InternalServiceError":
|
|
802
|
+
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
803
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
804
|
+
case "InvalidRequestException":
|
|
805
|
+
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
806
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
807
|
+
case "TaskNotFoundException":
|
|
808
|
+
case "com.amazonaws.datapipeline#TaskNotFoundException":
|
|
809
|
+
throw await de_TaskNotFoundExceptionRes(parsedOutput, context);
|
|
810
|
+
default:
|
|
811
|
+
const parsedBody = parsedOutput.body;
|
|
812
|
+
return throwDefaultError({
|
|
813
|
+
output,
|
|
814
|
+
parsedBody,
|
|
815
|
+
errorCode
|
|
816
|
+
});
|
|
817
|
+
}
|
|
818
|
+
}, "de_PollForTaskCommandError");
|
|
819
|
+
var de_PutPipelineDefinitionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
820
|
+
if (output.statusCode >= 300) {
|
|
821
|
+
return de_PutPipelineDefinitionCommandError(output, context);
|
|
822
|
+
}
|
|
823
|
+
const data = await parseBody(output.body, context);
|
|
824
|
+
let contents = {};
|
|
825
|
+
contents = (0, import_smithy_client._json)(data);
|
|
826
|
+
const response = {
|
|
827
|
+
$metadata: deserializeMetadata(output),
|
|
828
|
+
...contents
|
|
829
|
+
};
|
|
830
|
+
return response;
|
|
831
|
+
}, "de_PutPipelineDefinitionCommand");
|
|
832
|
+
var de_PutPipelineDefinitionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
833
|
+
const parsedOutput = {
|
|
834
|
+
...output,
|
|
835
|
+
body: await parseErrorBody(output.body, context)
|
|
836
|
+
};
|
|
837
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
838
|
+
switch (errorCode) {
|
|
839
|
+
case "InternalServiceError":
|
|
840
|
+
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
841
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
842
|
+
case "InvalidRequestException":
|
|
843
|
+
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
844
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
845
|
+
case "PipelineDeletedException":
|
|
846
|
+
case "com.amazonaws.datapipeline#PipelineDeletedException":
|
|
847
|
+
throw await de_PipelineDeletedExceptionRes(parsedOutput, context);
|
|
848
|
+
case "PipelineNotFoundException":
|
|
849
|
+
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
850
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
851
|
+
default:
|
|
852
|
+
const parsedBody = parsedOutput.body;
|
|
853
|
+
return throwDefaultError({
|
|
854
|
+
output,
|
|
855
|
+
parsedBody,
|
|
856
|
+
errorCode
|
|
857
|
+
});
|
|
858
|
+
}
|
|
859
|
+
}, "de_PutPipelineDefinitionCommandError");
|
|
860
|
+
var de_QueryObjectsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
861
|
+
if (output.statusCode >= 300) {
|
|
862
|
+
return de_QueryObjectsCommandError(output, context);
|
|
863
|
+
}
|
|
864
|
+
const data = await parseBody(output.body, context);
|
|
865
|
+
let contents = {};
|
|
866
|
+
contents = (0, import_smithy_client._json)(data);
|
|
867
|
+
const response = {
|
|
868
|
+
$metadata: deserializeMetadata(output),
|
|
869
|
+
...contents
|
|
870
|
+
};
|
|
871
|
+
return response;
|
|
872
|
+
}, "de_QueryObjectsCommand");
|
|
873
|
+
var de_QueryObjectsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
874
|
+
const parsedOutput = {
|
|
875
|
+
...output,
|
|
876
|
+
body: await parseErrorBody(output.body, context)
|
|
877
|
+
};
|
|
878
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
879
|
+
switch (errorCode) {
|
|
880
|
+
case "InternalServiceError":
|
|
881
|
+
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
882
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
883
|
+
case "InvalidRequestException":
|
|
884
|
+
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
885
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
886
|
+
case "PipelineDeletedException":
|
|
887
|
+
case "com.amazonaws.datapipeline#PipelineDeletedException":
|
|
888
|
+
throw await de_PipelineDeletedExceptionRes(parsedOutput, context);
|
|
889
|
+
case "PipelineNotFoundException":
|
|
890
|
+
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
891
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
892
|
+
default:
|
|
893
|
+
const parsedBody = parsedOutput.body;
|
|
894
|
+
return throwDefaultError({
|
|
895
|
+
output,
|
|
896
|
+
parsedBody,
|
|
897
|
+
errorCode
|
|
898
|
+
});
|
|
899
|
+
}
|
|
900
|
+
}, "de_QueryObjectsCommandError");
|
|
901
|
+
var de_RemoveTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
902
|
+
if (output.statusCode >= 300) {
|
|
903
|
+
return de_RemoveTagsCommandError(output, context);
|
|
904
|
+
}
|
|
905
|
+
const data = await parseBody(output.body, context);
|
|
906
|
+
let contents = {};
|
|
907
|
+
contents = (0, import_smithy_client._json)(data);
|
|
908
|
+
const response = {
|
|
909
|
+
$metadata: deserializeMetadata(output),
|
|
910
|
+
...contents
|
|
911
|
+
};
|
|
912
|
+
return response;
|
|
913
|
+
}, "de_RemoveTagsCommand");
|
|
914
|
+
var de_RemoveTagsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
915
|
+
const parsedOutput = {
|
|
916
|
+
...output,
|
|
917
|
+
body: await parseErrorBody(output.body, context)
|
|
918
|
+
};
|
|
919
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
920
|
+
switch (errorCode) {
|
|
921
|
+
case "InternalServiceError":
|
|
922
|
+
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
923
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
924
|
+
case "InvalidRequestException":
|
|
925
|
+
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
926
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
927
|
+
case "PipelineDeletedException":
|
|
928
|
+
case "com.amazonaws.datapipeline#PipelineDeletedException":
|
|
929
|
+
throw await de_PipelineDeletedExceptionRes(parsedOutput, context);
|
|
930
|
+
case "PipelineNotFoundException":
|
|
931
|
+
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
932
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
933
|
+
default:
|
|
934
|
+
const parsedBody = parsedOutput.body;
|
|
935
|
+
return throwDefaultError({
|
|
936
|
+
output,
|
|
937
|
+
parsedBody,
|
|
938
|
+
errorCode
|
|
939
|
+
});
|
|
940
|
+
}
|
|
941
|
+
}, "de_RemoveTagsCommandError");
|
|
942
|
+
var de_ReportTaskProgressCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
943
|
+
if (output.statusCode >= 300) {
|
|
944
|
+
return de_ReportTaskProgressCommandError(output, context);
|
|
945
|
+
}
|
|
946
|
+
const data = await parseBody(output.body, context);
|
|
947
|
+
let contents = {};
|
|
948
|
+
contents = (0, import_smithy_client._json)(data);
|
|
949
|
+
const response = {
|
|
950
|
+
$metadata: deserializeMetadata(output),
|
|
951
|
+
...contents
|
|
952
|
+
};
|
|
953
|
+
return response;
|
|
954
|
+
}, "de_ReportTaskProgressCommand");
|
|
955
|
+
var de_ReportTaskProgressCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
956
|
+
const parsedOutput = {
|
|
957
|
+
...output,
|
|
958
|
+
body: await parseErrorBody(output.body, context)
|
|
959
|
+
};
|
|
960
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
961
|
+
switch (errorCode) {
|
|
962
|
+
case "InternalServiceError":
|
|
963
|
+
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
964
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
965
|
+
case "InvalidRequestException":
|
|
966
|
+
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
967
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
968
|
+
case "PipelineDeletedException":
|
|
969
|
+
case "com.amazonaws.datapipeline#PipelineDeletedException":
|
|
970
|
+
throw await de_PipelineDeletedExceptionRes(parsedOutput, context);
|
|
971
|
+
case "PipelineNotFoundException":
|
|
972
|
+
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
973
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
974
|
+
case "TaskNotFoundException":
|
|
975
|
+
case "com.amazonaws.datapipeline#TaskNotFoundException":
|
|
976
|
+
throw await de_TaskNotFoundExceptionRes(parsedOutput, context);
|
|
977
|
+
default:
|
|
978
|
+
const parsedBody = parsedOutput.body;
|
|
979
|
+
return throwDefaultError({
|
|
980
|
+
output,
|
|
981
|
+
parsedBody,
|
|
982
|
+
errorCode
|
|
983
|
+
});
|
|
984
|
+
}
|
|
985
|
+
}, "de_ReportTaskProgressCommandError");
|
|
986
|
+
var de_ReportTaskRunnerHeartbeatCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
987
|
+
if (output.statusCode >= 300) {
|
|
988
|
+
return de_ReportTaskRunnerHeartbeatCommandError(output, context);
|
|
989
|
+
}
|
|
990
|
+
const data = await parseBody(output.body, context);
|
|
991
|
+
let contents = {};
|
|
992
|
+
contents = (0, import_smithy_client._json)(data);
|
|
993
|
+
const response = {
|
|
994
|
+
$metadata: deserializeMetadata(output),
|
|
995
|
+
...contents
|
|
996
|
+
};
|
|
997
|
+
return response;
|
|
998
|
+
}, "de_ReportTaskRunnerHeartbeatCommand");
|
|
999
|
+
var de_ReportTaskRunnerHeartbeatCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1000
|
+
const parsedOutput = {
|
|
1001
|
+
...output,
|
|
1002
|
+
body: await parseErrorBody(output.body, context)
|
|
1003
|
+
};
|
|
1004
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1005
|
+
switch (errorCode) {
|
|
1006
|
+
case "InternalServiceError":
|
|
1007
|
+
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
1008
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
1009
|
+
case "InvalidRequestException":
|
|
1010
|
+
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
1011
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1012
|
+
default:
|
|
1013
|
+
const parsedBody = parsedOutput.body;
|
|
1014
|
+
return throwDefaultError({
|
|
1015
|
+
output,
|
|
1016
|
+
parsedBody,
|
|
1017
|
+
errorCode
|
|
1018
|
+
});
|
|
1019
|
+
}
|
|
1020
|
+
}, "de_ReportTaskRunnerHeartbeatCommandError");
|
|
1021
|
+
var de_SetStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1022
|
+
if (output.statusCode >= 300) {
|
|
1023
|
+
return de_SetStatusCommandError(output, context);
|
|
1024
|
+
}
|
|
1025
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1026
|
+
const response = {
|
|
1027
|
+
$metadata: deserializeMetadata(output)
|
|
1028
|
+
};
|
|
1029
|
+
return response;
|
|
1030
|
+
}, "de_SetStatusCommand");
|
|
1031
|
+
var de_SetStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1032
|
+
const parsedOutput = {
|
|
1033
|
+
...output,
|
|
1034
|
+
body: await parseErrorBody(output.body, context)
|
|
1035
|
+
};
|
|
1036
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1037
|
+
switch (errorCode) {
|
|
1038
|
+
case "InternalServiceError":
|
|
1039
|
+
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
1040
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
1041
|
+
case "InvalidRequestException":
|
|
1042
|
+
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
1043
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1044
|
+
case "PipelineDeletedException":
|
|
1045
|
+
case "com.amazonaws.datapipeline#PipelineDeletedException":
|
|
1046
|
+
throw await de_PipelineDeletedExceptionRes(parsedOutput, context);
|
|
1047
|
+
case "PipelineNotFoundException":
|
|
1048
|
+
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
1049
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
1050
|
+
default:
|
|
1051
|
+
const parsedBody = parsedOutput.body;
|
|
1052
|
+
return throwDefaultError({
|
|
1053
|
+
output,
|
|
1054
|
+
parsedBody,
|
|
1055
|
+
errorCode
|
|
1056
|
+
});
|
|
1057
|
+
}
|
|
1058
|
+
}, "de_SetStatusCommandError");
|
|
1059
|
+
var de_SetTaskStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1060
|
+
if (output.statusCode >= 300) {
|
|
1061
|
+
return de_SetTaskStatusCommandError(output, context);
|
|
1062
|
+
}
|
|
1063
|
+
const data = await parseBody(output.body, context);
|
|
1064
|
+
let contents = {};
|
|
1065
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1066
|
+
const response = {
|
|
1067
|
+
$metadata: deserializeMetadata(output),
|
|
1068
|
+
...contents
|
|
1069
|
+
};
|
|
1070
|
+
return response;
|
|
1071
|
+
}, "de_SetTaskStatusCommand");
|
|
1072
|
+
var de_SetTaskStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1073
|
+
const parsedOutput = {
|
|
1074
|
+
...output,
|
|
1075
|
+
body: await parseErrorBody(output.body, context)
|
|
1076
|
+
};
|
|
1077
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1078
|
+
switch (errorCode) {
|
|
1079
|
+
case "InternalServiceError":
|
|
1080
|
+
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
1081
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
1082
|
+
case "InvalidRequestException":
|
|
1083
|
+
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
1084
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1085
|
+
case "PipelineDeletedException":
|
|
1086
|
+
case "com.amazonaws.datapipeline#PipelineDeletedException":
|
|
1087
|
+
throw await de_PipelineDeletedExceptionRes(parsedOutput, context);
|
|
1088
|
+
case "PipelineNotFoundException":
|
|
1089
|
+
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
1090
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
1091
|
+
case "TaskNotFoundException":
|
|
1092
|
+
case "com.amazonaws.datapipeline#TaskNotFoundException":
|
|
1093
|
+
throw await de_TaskNotFoundExceptionRes(parsedOutput, context);
|
|
1094
|
+
default:
|
|
1095
|
+
const parsedBody = parsedOutput.body;
|
|
1096
|
+
return throwDefaultError({
|
|
1097
|
+
output,
|
|
1098
|
+
parsedBody,
|
|
1099
|
+
errorCode
|
|
1100
|
+
});
|
|
1101
|
+
}
|
|
1102
|
+
}, "de_SetTaskStatusCommandError");
|
|
1103
|
+
var de_ValidatePipelineDefinitionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1104
|
+
if (output.statusCode >= 300) {
|
|
1105
|
+
return de_ValidatePipelineDefinitionCommandError(output, context);
|
|
1106
|
+
}
|
|
1107
|
+
const data = await parseBody(output.body, context);
|
|
1108
|
+
let contents = {};
|
|
1109
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1110
|
+
const response = {
|
|
1111
|
+
$metadata: deserializeMetadata(output),
|
|
1112
|
+
...contents
|
|
1113
|
+
};
|
|
1114
|
+
return response;
|
|
1115
|
+
}, "de_ValidatePipelineDefinitionCommand");
|
|
1116
|
+
var de_ValidatePipelineDefinitionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1117
|
+
const parsedOutput = {
|
|
1118
|
+
...output,
|
|
1119
|
+
body: await parseErrorBody(output.body, context)
|
|
1120
|
+
};
|
|
1121
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1122
|
+
switch (errorCode) {
|
|
1123
|
+
case "InternalServiceError":
|
|
1124
|
+
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
1125
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
1126
|
+
case "InvalidRequestException":
|
|
1127
|
+
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
1128
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1129
|
+
case "PipelineDeletedException":
|
|
1130
|
+
case "com.amazonaws.datapipeline#PipelineDeletedException":
|
|
1131
|
+
throw await de_PipelineDeletedExceptionRes(parsedOutput, context);
|
|
1132
|
+
case "PipelineNotFoundException":
|
|
1133
|
+
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
1134
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
1135
|
+
default:
|
|
1136
|
+
const parsedBody = parsedOutput.body;
|
|
1137
|
+
return throwDefaultError({
|
|
1138
|
+
output,
|
|
1139
|
+
parsedBody,
|
|
1140
|
+
errorCode
|
|
1141
|
+
});
|
|
1142
|
+
}
|
|
1143
|
+
}, "de_ValidatePipelineDefinitionCommandError");
|
|
1144
|
+
var de_InternalServiceErrorRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1145
|
+
const body = parsedOutput.body;
|
|
1146
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1147
|
+
const exception = new InternalServiceError({
|
|
1148
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1149
|
+
...deserialized
|
|
1150
|
+
});
|
|
1151
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1152
|
+
}, "de_InternalServiceErrorRes");
|
|
1153
|
+
var de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1154
|
+
const body = parsedOutput.body;
|
|
1155
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1156
|
+
const exception = new InvalidRequestException({
|
|
1157
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1158
|
+
...deserialized
|
|
1159
|
+
});
|
|
1160
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1161
|
+
}, "de_InvalidRequestExceptionRes");
|
|
1162
|
+
var de_PipelineDeletedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1163
|
+
const body = parsedOutput.body;
|
|
1164
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1165
|
+
const exception = new PipelineDeletedException({
|
|
1166
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1167
|
+
...deserialized
|
|
1168
|
+
});
|
|
1169
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1170
|
+
}, "de_PipelineDeletedExceptionRes");
|
|
1171
|
+
var de_PipelineNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1172
|
+
const body = parsedOutput.body;
|
|
1173
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1174
|
+
const exception = new PipelineNotFoundException({
|
|
1175
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1176
|
+
...deserialized
|
|
1177
|
+
});
|
|
1178
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1179
|
+
}, "de_PipelineNotFoundExceptionRes");
|
|
1180
|
+
var de_TaskNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1181
|
+
const body = parsedOutput.body;
|
|
1182
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1183
|
+
const exception = new TaskNotFoundException({
|
|
1184
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1185
|
+
...deserialized
|
|
1186
|
+
});
|
|
1187
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1188
|
+
}, "de_TaskNotFoundExceptionRes");
|
|
1189
|
+
var se_ActivatePipelineInput = /* @__PURE__ */ __name((input, context) => {
|
|
1190
|
+
return (0, import_smithy_client.take)(input, {
|
|
1191
|
+
parameterValues: import_smithy_client._json,
|
|
1192
|
+
pipelineId: [],
|
|
1193
|
+
startTimestamp: (_) => Math.round(_.getTime() / 1e3)
|
|
1194
|
+
});
|
|
1195
|
+
}, "se_ActivatePipelineInput");
|
|
1196
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1197
|
+
httpStatusCode: output.statusCode,
|
|
1198
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1199
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1200
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
1201
|
+
}), "deserializeMetadata");
|
|
1202
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
1203
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(DataPipelineServiceException);
|
|
1204
|
+
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
1205
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1206
|
+
const contents = {
|
|
1207
|
+
protocol,
|
|
1208
|
+
hostname,
|
|
1209
|
+
port,
|
|
1210
|
+
method: "POST",
|
|
1211
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1212
|
+
headers
|
|
1213
|
+
};
|
|
1214
|
+
if (resolvedHostname !== void 0) {
|
|
1215
|
+
contents.hostname = resolvedHostname;
|
|
1216
|
+
}
|
|
1217
|
+
if (body !== void 0) {
|
|
1218
|
+
contents.body = body;
|
|
1219
|
+
}
|
|
1220
|
+
return new import_protocol_http.HttpRequest(contents);
|
|
1221
|
+
}, "buildHttpRpcRequest");
|
|
1222
|
+
function sharedHeaders(operation) {
|
|
1223
|
+
return {
|
|
1224
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1225
|
+
"x-amz-target": `DataPipeline.${operation}`
|
|
1226
|
+
};
|
|
1227
|
+
}
|
|
1228
|
+
__name(sharedHeaders, "sharedHeaders");
|
|
1229
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1230
|
+
if (encoded.length) {
|
|
1231
|
+
return JSON.parse(encoded);
|
|
1232
|
+
}
|
|
1233
|
+
return {};
|
|
1234
|
+
}), "parseBody");
|
|
1235
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
1236
|
+
const value = await parseBody(errorBody, context);
|
|
1237
|
+
value.message = value.message ?? value.Message;
|
|
1238
|
+
return value;
|
|
1239
|
+
}, "parseErrorBody");
|
|
1240
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
1241
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
1242
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
1243
|
+
let cleanValue = rawValue;
|
|
1244
|
+
if (typeof cleanValue === "number") {
|
|
1245
|
+
cleanValue = cleanValue.toString();
|
|
1246
|
+
}
|
|
1247
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
1248
|
+
cleanValue = cleanValue.split(",")[0];
|
|
1249
|
+
}
|
|
1250
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
1251
|
+
cleanValue = cleanValue.split(":")[0];
|
|
1252
|
+
}
|
|
1253
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
1254
|
+
cleanValue = cleanValue.split("#")[1];
|
|
1255
|
+
}
|
|
1256
|
+
return cleanValue;
|
|
1257
|
+
}, "sanitizeErrorCode");
|
|
1258
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1259
|
+
if (headerKey !== void 0) {
|
|
1260
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1261
|
+
}
|
|
1262
|
+
if (data.code !== void 0) {
|
|
1263
|
+
return sanitizeErrorCode(data.code);
|
|
1264
|
+
}
|
|
1265
|
+
if (data["__type"] !== void 0) {
|
|
1266
|
+
return sanitizeErrorCode(data["__type"]);
|
|
1267
|
+
}
|
|
1268
|
+
}, "loadRestJsonErrorCode");
|
|
1269
|
+
|
|
1270
|
+
// src/commands/ActivatePipelineCommand.ts
|
|
1271
|
+
var _ActivatePipelineCommand = class _ActivatePipelineCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1272
|
+
...commonParams
|
|
1273
|
+
}).m(function(Command, cs, config, o) {
|
|
1274
|
+
return [
|
|
1275
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1276
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1277
|
+
];
|
|
1278
|
+
}).s("DataPipeline", "ActivatePipeline", {}).n("DataPipelineClient", "ActivatePipelineCommand").f(void 0, void 0).ser(se_ActivatePipelineCommand).de(de_ActivatePipelineCommand).build() {
|
|
1279
|
+
};
|
|
1280
|
+
__name(_ActivatePipelineCommand, "ActivatePipelineCommand");
|
|
1281
|
+
var ActivatePipelineCommand = _ActivatePipelineCommand;
|
|
1282
|
+
|
|
1283
|
+
// src/commands/AddTagsCommand.ts
|
|
1284
|
+
|
|
1285
|
+
|
|
1286
|
+
|
|
1287
|
+
|
|
1288
|
+
var _AddTagsCommand = class _AddTagsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1289
|
+
...commonParams
|
|
1290
|
+
}).m(function(Command, cs, config, o) {
|
|
1291
|
+
return [
|
|
1292
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1293
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1294
|
+
];
|
|
1295
|
+
}).s("DataPipeline", "AddTags", {}).n("DataPipelineClient", "AddTagsCommand").f(void 0, void 0).ser(se_AddTagsCommand).de(de_AddTagsCommand).build() {
|
|
1296
|
+
};
|
|
1297
|
+
__name(_AddTagsCommand, "AddTagsCommand");
|
|
1298
|
+
var AddTagsCommand = _AddTagsCommand;
|
|
1299
|
+
|
|
1300
|
+
// src/commands/CreatePipelineCommand.ts
|
|
1301
|
+
|
|
1302
|
+
|
|
1303
|
+
|
|
1304
|
+
|
|
1305
|
+
var _CreatePipelineCommand = class _CreatePipelineCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1306
|
+
...commonParams
|
|
1307
|
+
}).m(function(Command, cs, config, o) {
|
|
1308
|
+
return [
|
|
1309
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1310
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1311
|
+
];
|
|
1312
|
+
}).s("DataPipeline", "CreatePipeline", {}).n("DataPipelineClient", "CreatePipelineCommand").f(void 0, void 0).ser(se_CreatePipelineCommand).de(de_CreatePipelineCommand).build() {
|
|
1313
|
+
};
|
|
1314
|
+
__name(_CreatePipelineCommand, "CreatePipelineCommand");
|
|
1315
|
+
var CreatePipelineCommand = _CreatePipelineCommand;
|
|
1316
|
+
|
|
1317
|
+
// src/commands/DeactivatePipelineCommand.ts
|
|
1318
|
+
|
|
1319
|
+
|
|
1320
|
+
|
|
1321
|
+
|
|
1322
|
+
var _DeactivatePipelineCommand = class _DeactivatePipelineCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1323
|
+
...commonParams
|
|
1324
|
+
}).m(function(Command, cs, config, o) {
|
|
1325
|
+
return [
|
|
1326
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1327
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1328
|
+
];
|
|
1329
|
+
}).s("DataPipeline", "DeactivatePipeline", {}).n("DataPipelineClient", "DeactivatePipelineCommand").f(void 0, void 0).ser(se_DeactivatePipelineCommand).de(de_DeactivatePipelineCommand).build() {
|
|
1330
|
+
};
|
|
1331
|
+
__name(_DeactivatePipelineCommand, "DeactivatePipelineCommand");
|
|
1332
|
+
var DeactivatePipelineCommand = _DeactivatePipelineCommand;
|
|
1333
|
+
|
|
1334
|
+
// src/commands/DeletePipelineCommand.ts
|
|
1335
|
+
|
|
1336
|
+
|
|
1337
|
+
|
|
1338
|
+
|
|
1339
|
+
var _DeletePipelineCommand = class _DeletePipelineCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1340
|
+
...commonParams
|
|
1341
|
+
}).m(function(Command, cs, config, o) {
|
|
1342
|
+
return [
|
|
1343
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1344
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1345
|
+
];
|
|
1346
|
+
}).s("DataPipeline", "DeletePipeline", {}).n("DataPipelineClient", "DeletePipelineCommand").f(void 0, void 0).ser(se_DeletePipelineCommand).de(de_DeletePipelineCommand).build() {
|
|
1347
|
+
};
|
|
1348
|
+
__name(_DeletePipelineCommand, "DeletePipelineCommand");
|
|
1349
|
+
var DeletePipelineCommand = _DeletePipelineCommand;
|
|
1350
|
+
|
|
1351
|
+
// src/commands/DescribeObjectsCommand.ts
|
|
1352
|
+
|
|
1353
|
+
|
|
1354
|
+
|
|
1355
|
+
|
|
1356
|
+
var _DescribeObjectsCommand = class _DescribeObjectsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1357
|
+
...commonParams
|
|
1358
|
+
}).m(function(Command, cs, config, o) {
|
|
1359
|
+
return [
|
|
1360
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1361
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1362
|
+
];
|
|
1363
|
+
}).s("DataPipeline", "DescribeObjects", {}).n("DataPipelineClient", "DescribeObjectsCommand").f(void 0, void 0).ser(se_DescribeObjectsCommand).de(de_DescribeObjectsCommand).build() {
|
|
1364
|
+
};
|
|
1365
|
+
__name(_DescribeObjectsCommand, "DescribeObjectsCommand");
|
|
1366
|
+
var DescribeObjectsCommand = _DescribeObjectsCommand;
|
|
1367
|
+
|
|
1368
|
+
// src/commands/DescribePipelinesCommand.ts
|
|
1369
|
+
|
|
1370
|
+
|
|
1371
|
+
|
|
1372
|
+
|
|
1373
|
+
var _DescribePipelinesCommand = class _DescribePipelinesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1374
|
+
...commonParams
|
|
1375
|
+
}).m(function(Command, cs, config, o) {
|
|
1376
|
+
return [
|
|
1377
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1378
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1379
|
+
];
|
|
1380
|
+
}).s("DataPipeline", "DescribePipelines", {}).n("DataPipelineClient", "DescribePipelinesCommand").f(void 0, void 0).ser(se_DescribePipelinesCommand).de(de_DescribePipelinesCommand).build() {
|
|
1381
|
+
};
|
|
1382
|
+
__name(_DescribePipelinesCommand, "DescribePipelinesCommand");
|
|
1383
|
+
var DescribePipelinesCommand = _DescribePipelinesCommand;
|
|
1384
|
+
|
|
1385
|
+
// src/commands/EvaluateExpressionCommand.ts
|
|
1386
|
+
|
|
1387
|
+
|
|
1388
|
+
|
|
1389
|
+
|
|
1390
|
+
var _EvaluateExpressionCommand = class _EvaluateExpressionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1391
|
+
...commonParams
|
|
1392
|
+
}).m(function(Command, cs, config, o) {
|
|
1393
|
+
return [
|
|
1394
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1395
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1396
|
+
];
|
|
1397
|
+
}).s("DataPipeline", "EvaluateExpression", {}).n("DataPipelineClient", "EvaluateExpressionCommand").f(void 0, void 0).ser(se_EvaluateExpressionCommand).de(de_EvaluateExpressionCommand).build() {
|
|
1398
|
+
};
|
|
1399
|
+
__name(_EvaluateExpressionCommand, "EvaluateExpressionCommand");
|
|
1400
|
+
var EvaluateExpressionCommand = _EvaluateExpressionCommand;
|
|
1401
|
+
|
|
1402
|
+
// src/commands/GetPipelineDefinitionCommand.ts
|
|
1403
|
+
|
|
1404
|
+
|
|
1405
|
+
|
|
1406
|
+
|
|
1407
|
+
var _GetPipelineDefinitionCommand = class _GetPipelineDefinitionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1408
|
+
...commonParams
|
|
1409
|
+
}).m(function(Command, cs, config, o) {
|
|
1410
|
+
return [
|
|
1411
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1412
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1413
|
+
];
|
|
1414
|
+
}).s("DataPipeline", "GetPipelineDefinition", {}).n("DataPipelineClient", "GetPipelineDefinitionCommand").f(void 0, void 0).ser(se_GetPipelineDefinitionCommand).de(de_GetPipelineDefinitionCommand).build() {
|
|
1415
|
+
};
|
|
1416
|
+
__name(_GetPipelineDefinitionCommand, "GetPipelineDefinitionCommand");
|
|
1417
|
+
var GetPipelineDefinitionCommand = _GetPipelineDefinitionCommand;
|
|
1418
|
+
|
|
1419
|
+
// src/commands/ListPipelinesCommand.ts
|
|
1420
|
+
|
|
1421
|
+
|
|
1422
|
+
|
|
1423
|
+
|
|
1424
|
+
var _ListPipelinesCommand = class _ListPipelinesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1425
|
+
...commonParams
|
|
1426
|
+
}).m(function(Command, cs, config, o) {
|
|
1427
|
+
return [
|
|
1428
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1429
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1430
|
+
];
|
|
1431
|
+
}).s("DataPipeline", "ListPipelines", {}).n("DataPipelineClient", "ListPipelinesCommand").f(void 0, void 0).ser(se_ListPipelinesCommand).de(de_ListPipelinesCommand).build() {
|
|
1432
|
+
};
|
|
1433
|
+
__name(_ListPipelinesCommand, "ListPipelinesCommand");
|
|
1434
|
+
var ListPipelinesCommand = _ListPipelinesCommand;
|
|
1435
|
+
|
|
1436
|
+
// src/commands/PollForTaskCommand.ts
|
|
1437
|
+
|
|
1438
|
+
|
|
1439
|
+
|
|
1440
|
+
|
|
1441
|
+
var _PollForTaskCommand = class _PollForTaskCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1442
|
+
...commonParams
|
|
1443
|
+
}).m(function(Command, cs, config, o) {
|
|
1444
|
+
return [
|
|
1445
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1446
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1447
|
+
];
|
|
1448
|
+
}).s("DataPipeline", "PollForTask", {}).n("DataPipelineClient", "PollForTaskCommand").f(void 0, void 0).ser(se_PollForTaskCommand).de(de_PollForTaskCommand).build() {
|
|
1449
|
+
};
|
|
1450
|
+
__name(_PollForTaskCommand, "PollForTaskCommand");
|
|
1451
|
+
var PollForTaskCommand = _PollForTaskCommand;
|
|
1452
|
+
|
|
1453
|
+
// src/commands/PutPipelineDefinitionCommand.ts
|
|
1454
|
+
|
|
1455
|
+
|
|
1456
|
+
|
|
1457
|
+
|
|
1458
|
+
var _PutPipelineDefinitionCommand = class _PutPipelineDefinitionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1459
|
+
...commonParams
|
|
1460
|
+
}).m(function(Command, cs, config, o) {
|
|
1461
|
+
return [
|
|
1462
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1463
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1464
|
+
];
|
|
1465
|
+
}).s("DataPipeline", "PutPipelineDefinition", {}).n("DataPipelineClient", "PutPipelineDefinitionCommand").f(void 0, void 0).ser(se_PutPipelineDefinitionCommand).de(de_PutPipelineDefinitionCommand).build() {
|
|
1466
|
+
};
|
|
1467
|
+
__name(_PutPipelineDefinitionCommand, "PutPipelineDefinitionCommand");
|
|
1468
|
+
var PutPipelineDefinitionCommand = _PutPipelineDefinitionCommand;
|
|
1469
|
+
|
|
1470
|
+
// src/commands/QueryObjectsCommand.ts
|
|
1471
|
+
|
|
1472
|
+
|
|
1473
|
+
|
|
1474
|
+
|
|
1475
|
+
var _QueryObjectsCommand = class _QueryObjectsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1476
|
+
...commonParams
|
|
1477
|
+
}).m(function(Command, cs, config, o) {
|
|
1478
|
+
return [
|
|
1479
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1480
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1481
|
+
];
|
|
1482
|
+
}).s("DataPipeline", "QueryObjects", {}).n("DataPipelineClient", "QueryObjectsCommand").f(void 0, void 0).ser(se_QueryObjectsCommand).de(de_QueryObjectsCommand).build() {
|
|
1483
|
+
};
|
|
1484
|
+
__name(_QueryObjectsCommand, "QueryObjectsCommand");
|
|
1485
|
+
var QueryObjectsCommand = _QueryObjectsCommand;
|
|
1486
|
+
|
|
1487
|
+
// src/commands/RemoveTagsCommand.ts
|
|
1488
|
+
|
|
1489
|
+
|
|
1490
|
+
|
|
1491
|
+
|
|
1492
|
+
var _RemoveTagsCommand = class _RemoveTagsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1493
|
+
...commonParams
|
|
1494
|
+
}).m(function(Command, cs, config, o) {
|
|
1495
|
+
return [
|
|
1496
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1497
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1498
|
+
];
|
|
1499
|
+
}).s("DataPipeline", "RemoveTags", {}).n("DataPipelineClient", "RemoveTagsCommand").f(void 0, void 0).ser(se_RemoveTagsCommand).de(de_RemoveTagsCommand).build() {
|
|
1500
|
+
};
|
|
1501
|
+
__name(_RemoveTagsCommand, "RemoveTagsCommand");
|
|
1502
|
+
var RemoveTagsCommand = _RemoveTagsCommand;
|
|
1503
|
+
|
|
1504
|
+
// src/commands/ReportTaskProgressCommand.ts
|
|
1505
|
+
|
|
1506
|
+
|
|
1507
|
+
|
|
1508
|
+
|
|
1509
|
+
var _ReportTaskProgressCommand = class _ReportTaskProgressCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1510
|
+
...commonParams
|
|
1511
|
+
}).m(function(Command, cs, config, o) {
|
|
1512
|
+
return [
|
|
1513
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1514
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1515
|
+
];
|
|
1516
|
+
}).s("DataPipeline", "ReportTaskProgress", {}).n("DataPipelineClient", "ReportTaskProgressCommand").f(void 0, void 0).ser(se_ReportTaskProgressCommand).de(de_ReportTaskProgressCommand).build() {
|
|
1517
|
+
};
|
|
1518
|
+
__name(_ReportTaskProgressCommand, "ReportTaskProgressCommand");
|
|
1519
|
+
var ReportTaskProgressCommand = _ReportTaskProgressCommand;
|
|
1520
|
+
|
|
1521
|
+
// src/commands/ReportTaskRunnerHeartbeatCommand.ts
|
|
1522
|
+
|
|
1523
|
+
|
|
1524
|
+
|
|
1525
|
+
|
|
1526
|
+
var _ReportTaskRunnerHeartbeatCommand = class _ReportTaskRunnerHeartbeatCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1527
|
+
...commonParams
|
|
1528
|
+
}).m(function(Command, cs, config, o) {
|
|
1529
|
+
return [
|
|
1530
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1531
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1532
|
+
];
|
|
1533
|
+
}).s("DataPipeline", "ReportTaskRunnerHeartbeat", {}).n("DataPipelineClient", "ReportTaskRunnerHeartbeatCommand").f(void 0, void 0).ser(se_ReportTaskRunnerHeartbeatCommand).de(de_ReportTaskRunnerHeartbeatCommand).build() {
|
|
1534
|
+
};
|
|
1535
|
+
__name(_ReportTaskRunnerHeartbeatCommand, "ReportTaskRunnerHeartbeatCommand");
|
|
1536
|
+
var ReportTaskRunnerHeartbeatCommand = _ReportTaskRunnerHeartbeatCommand;
|
|
1537
|
+
|
|
1538
|
+
// src/commands/SetStatusCommand.ts
|
|
1539
|
+
|
|
1540
|
+
|
|
1541
|
+
|
|
1542
|
+
|
|
1543
|
+
var _SetStatusCommand = class _SetStatusCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1544
|
+
...commonParams
|
|
1545
|
+
}).m(function(Command, cs, config, o) {
|
|
1546
|
+
return [
|
|
1547
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1548
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1549
|
+
];
|
|
1550
|
+
}).s("DataPipeline", "SetStatus", {}).n("DataPipelineClient", "SetStatusCommand").f(void 0, void 0).ser(se_SetStatusCommand).de(de_SetStatusCommand).build() {
|
|
1551
|
+
};
|
|
1552
|
+
__name(_SetStatusCommand, "SetStatusCommand");
|
|
1553
|
+
var SetStatusCommand = _SetStatusCommand;
|
|
1554
|
+
|
|
1555
|
+
// src/commands/SetTaskStatusCommand.ts
|
|
1556
|
+
|
|
1557
|
+
|
|
1558
|
+
|
|
1559
|
+
|
|
1560
|
+
var _SetTaskStatusCommand = class _SetTaskStatusCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1561
|
+
...commonParams
|
|
1562
|
+
}).m(function(Command, cs, config, o) {
|
|
1563
|
+
return [
|
|
1564
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1565
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1566
|
+
];
|
|
1567
|
+
}).s("DataPipeline", "SetTaskStatus", {}).n("DataPipelineClient", "SetTaskStatusCommand").f(void 0, void 0).ser(se_SetTaskStatusCommand).de(de_SetTaskStatusCommand).build() {
|
|
1568
|
+
};
|
|
1569
|
+
__name(_SetTaskStatusCommand, "SetTaskStatusCommand");
|
|
1570
|
+
var SetTaskStatusCommand = _SetTaskStatusCommand;
|
|
1571
|
+
|
|
1572
|
+
// src/commands/ValidatePipelineDefinitionCommand.ts
|
|
1573
|
+
|
|
1574
|
+
|
|
1575
|
+
|
|
1576
|
+
|
|
1577
|
+
var _ValidatePipelineDefinitionCommand = class _ValidatePipelineDefinitionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1578
|
+
...commonParams
|
|
1579
|
+
}).m(function(Command, cs, config, o) {
|
|
1580
|
+
return [
|
|
1581
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1582
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1583
|
+
];
|
|
1584
|
+
}).s("DataPipeline", "ValidatePipelineDefinition", {}).n("DataPipelineClient", "ValidatePipelineDefinitionCommand").f(void 0, void 0).ser(se_ValidatePipelineDefinitionCommand).de(de_ValidatePipelineDefinitionCommand).build() {
|
|
1585
|
+
};
|
|
1586
|
+
__name(_ValidatePipelineDefinitionCommand, "ValidatePipelineDefinitionCommand");
|
|
1587
|
+
var ValidatePipelineDefinitionCommand = _ValidatePipelineDefinitionCommand;
|
|
1588
|
+
|
|
1589
|
+
// src/DataPipeline.ts
|
|
1590
|
+
var commands = {
|
|
1591
|
+
ActivatePipelineCommand,
|
|
1592
|
+
AddTagsCommand,
|
|
1593
|
+
CreatePipelineCommand,
|
|
1594
|
+
DeactivatePipelineCommand,
|
|
1595
|
+
DeletePipelineCommand,
|
|
1596
|
+
DescribeObjectsCommand,
|
|
1597
|
+
DescribePipelinesCommand,
|
|
1598
|
+
EvaluateExpressionCommand,
|
|
1599
|
+
GetPipelineDefinitionCommand,
|
|
1600
|
+
ListPipelinesCommand,
|
|
1601
|
+
PollForTaskCommand,
|
|
1602
|
+
PutPipelineDefinitionCommand,
|
|
1603
|
+
QueryObjectsCommand,
|
|
1604
|
+
RemoveTagsCommand,
|
|
1605
|
+
ReportTaskProgressCommand,
|
|
1606
|
+
ReportTaskRunnerHeartbeatCommand,
|
|
1607
|
+
SetStatusCommand,
|
|
1608
|
+
SetTaskStatusCommand,
|
|
1609
|
+
ValidatePipelineDefinitionCommand
|
|
1610
|
+
};
|
|
1611
|
+
var _DataPipeline = class _DataPipeline extends DataPipelineClient {
|
|
1612
|
+
};
|
|
1613
|
+
__name(_DataPipeline, "DataPipeline");
|
|
1614
|
+
var DataPipeline = _DataPipeline;
|
|
1615
|
+
(0, import_smithy_client.createAggregatedClient)(commands, DataPipeline);
|
|
1616
|
+
|
|
1617
|
+
// src/pagination/DescribeObjectsPaginator.ts
|
|
1618
|
+
var import_core = require("@smithy/core");
|
|
1619
|
+
var paginateDescribeObjects = (0, import_core.createPaginator)(DataPipelineClient, DescribeObjectsCommand, "marker", "marker", "");
|
|
1620
|
+
|
|
1621
|
+
// src/pagination/ListPipelinesPaginator.ts
|
|
1622
|
+
|
|
1623
|
+
var paginateListPipelines = (0, import_core.createPaginator)(DataPipelineClient, ListPipelinesCommand, "marker", "marker", "");
|
|
1624
|
+
|
|
1625
|
+
// src/pagination/QueryObjectsPaginator.ts
|
|
1626
|
+
|
|
1627
|
+
var paginateQueryObjects = (0, import_core.createPaginator)(DataPipelineClient, QueryObjectsCommand, "marker", "marker", "limit");
|
|
1628
|
+
|
|
1629
|
+
// src/index.ts
|
|
1630
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
1631
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
1632
|
+
0 && (module.exports = {
|
|
1633
|
+
ActivatePipelineCommand,
|
|
1634
|
+
AddTagsCommand,
|
|
1635
|
+
CreatePipelineCommand,
|
|
1636
|
+
DataPipeline,
|
|
1637
|
+
DataPipelineClient,
|
|
1638
|
+
DataPipelineServiceException,
|
|
1639
|
+
DeactivatePipelineCommand,
|
|
1640
|
+
DeletePipelineCommand,
|
|
1641
|
+
DescribeObjectsCommand,
|
|
1642
|
+
DescribePipelinesCommand,
|
|
1643
|
+
EvaluateExpressionCommand,
|
|
1644
|
+
GetPipelineDefinitionCommand,
|
|
1645
|
+
InternalServiceError,
|
|
1646
|
+
InvalidRequestException,
|
|
1647
|
+
ListPipelinesCommand,
|
|
1648
|
+
OperatorType,
|
|
1649
|
+
PipelineDeletedException,
|
|
1650
|
+
PipelineNotFoundException,
|
|
1651
|
+
PollForTaskCommand,
|
|
1652
|
+
PutPipelineDefinitionCommand,
|
|
1653
|
+
QueryObjectsCommand,
|
|
1654
|
+
RemoveTagsCommand,
|
|
1655
|
+
ReportTaskProgressCommand,
|
|
1656
|
+
ReportTaskRunnerHeartbeatCommand,
|
|
1657
|
+
SetStatusCommand,
|
|
1658
|
+
SetTaskStatusCommand,
|
|
1659
|
+
TaskNotFoundException,
|
|
1660
|
+
TaskStatus,
|
|
1661
|
+
ValidatePipelineDefinitionCommand,
|
|
1662
|
+
__Client,
|
|
1663
|
+
paginateDescribeObjects,
|
|
1664
|
+
paginateListPipelines,
|
|
1665
|
+
paginateQueryObjects
|
|
1666
|
+
});
|