@aws-sdk/client-data-pipeline 3.306.0 → 3.309.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/commands/ActivatePipelineCommand.js +2 -2
- package/dist-cjs/commands/AddTagsCommand.js +2 -2
- package/dist-cjs/commands/CreatePipelineCommand.js +2 -2
- package/dist-cjs/commands/DeactivatePipelineCommand.js +2 -2
- package/dist-cjs/commands/DeletePipelineCommand.js +2 -2
- package/dist-cjs/commands/DescribeObjectsCommand.js +2 -2
- package/dist-cjs/commands/DescribePipelinesCommand.js +2 -2
- package/dist-cjs/commands/EvaluateExpressionCommand.js +2 -2
- package/dist-cjs/commands/GetPipelineDefinitionCommand.js +2 -2
- package/dist-cjs/commands/ListPipelinesCommand.js +2 -2
- package/dist-cjs/commands/PollForTaskCommand.js +2 -2
- package/dist-cjs/commands/PutPipelineDefinitionCommand.js +2 -2
- package/dist-cjs/commands/QueryObjectsCommand.js +2 -2
- package/dist-cjs/commands/RemoveTagsCommand.js +2 -2
- package/dist-cjs/commands/ReportTaskProgressCommand.js +2 -2
- package/dist-cjs/commands/ReportTaskRunnerHeartbeatCommand.js +2 -2
- package/dist-cjs/commands/SetStatusCommand.js +2 -2
- package/dist-cjs/commands/SetTaskStatusCommand.js +2 -2
- package/dist-cjs/commands/ValidatePipelineDefinitionCommand.js +2 -2
- package/dist-cjs/protocols/Aws_json1_1.js +374 -404
- package/dist-es/commands/ActivatePipelineCommand.js +3 -3
- package/dist-es/commands/AddTagsCommand.js +3 -3
- package/dist-es/commands/CreatePipelineCommand.js +3 -3
- package/dist-es/commands/DeactivatePipelineCommand.js +3 -3
- package/dist-es/commands/DeletePipelineCommand.js +3 -3
- package/dist-es/commands/DescribeObjectsCommand.js +3 -3
- package/dist-es/commands/DescribePipelinesCommand.js +3 -3
- package/dist-es/commands/EvaluateExpressionCommand.js +3 -3
- package/dist-es/commands/GetPipelineDefinitionCommand.js +3 -3
- package/dist-es/commands/ListPipelinesCommand.js +3 -3
- package/dist-es/commands/PollForTaskCommand.js +3 -3
- package/dist-es/commands/PutPipelineDefinitionCommand.js +3 -3
- package/dist-es/commands/QueryObjectsCommand.js +3 -3
- package/dist-es/commands/RemoveTagsCommand.js +3 -3
- package/dist-es/commands/ReportTaskProgressCommand.js +3 -3
- package/dist-es/commands/ReportTaskRunnerHeartbeatCommand.js +3 -3
- package/dist-es/commands/SetStatusCommand.js +3 -3
- package/dist-es/commands/SetTaskStatusCommand.js +3 -3
- package/dist-es/commands/ValidatePipelineDefinitionCommand.js +3 -3
- package/dist-es/protocols/Aws_json1_1.js +335 -365
- package/dist-types/protocols/Aws_json1_1.d.ts +152 -38
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +38 -38
- package/package.json +6 -6
|
@@ -1,215 +1,215 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.de_ValidatePipelineDefinitionCommand = exports.de_SetTaskStatusCommand = exports.de_SetStatusCommand = exports.de_ReportTaskRunnerHeartbeatCommand = exports.de_ReportTaskProgressCommand = exports.de_RemoveTagsCommand = exports.de_QueryObjectsCommand = exports.de_PutPipelineDefinitionCommand = exports.de_PollForTaskCommand = exports.de_ListPipelinesCommand = exports.de_GetPipelineDefinitionCommand = exports.de_EvaluateExpressionCommand = exports.de_DescribePipelinesCommand = exports.de_DescribeObjectsCommand = exports.de_DeletePipelineCommand = exports.de_DeactivatePipelineCommand = exports.de_CreatePipelineCommand = exports.de_AddTagsCommand = exports.de_ActivatePipelineCommand = exports.se_ValidatePipelineDefinitionCommand = exports.se_SetTaskStatusCommand = exports.se_SetStatusCommand = exports.se_ReportTaskRunnerHeartbeatCommand = exports.se_ReportTaskProgressCommand = exports.se_RemoveTagsCommand = exports.se_QueryObjectsCommand = exports.se_PutPipelineDefinitionCommand = exports.se_PollForTaskCommand = exports.se_ListPipelinesCommand = exports.se_GetPipelineDefinitionCommand = exports.se_EvaluateExpressionCommand = exports.se_DescribePipelinesCommand = exports.se_DescribeObjectsCommand = exports.se_DeletePipelineCommand = exports.se_DeactivatePipelineCommand = exports.se_CreatePipelineCommand = exports.se_AddTagsCommand = exports.se_ActivatePipelineCommand = void 0;
|
|
4
4
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const DataPipelineServiceException_1 = require("../models/DataPipelineServiceException");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
|
-
const
|
|
8
|
+
const se_ActivatePipelineCommand = async (input, context) => {
|
|
9
9
|
const headers = {
|
|
10
10
|
"content-type": "application/x-amz-json-1.1",
|
|
11
11
|
"x-amz-target": "DataPipeline.ActivatePipeline",
|
|
12
12
|
};
|
|
13
13
|
let body;
|
|
14
|
-
body = JSON.stringify(
|
|
14
|
+
body = JSON.stringify(se_ActivatePipelineInput(input, context));
|
|
15
15
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
16
16
|
};
|
|
17
|
-
exports.
|
|
18
|
-
const
|
|
17
|
+
exports.se_ActivatePipelineCommand = se_ActivatePipelineCommand;
|
|
18
|
+
const se_AddTagsCommand = async (input, context) => {
|
|
19
19
|
const headers = {
|
|
20
20
|
"content-type": "application/x-amz-json-1.1",
|
|
21
21
|
"x-amz-target": "DataPipeline.AddTags",
|
|
22
22
|
};
|
|
23
23
|
let body;
|
|
24
|
-
body = JSON.stringify(
|
|
24
|
+
body = JSON.stringify(se_AddTagsInput(input, context));
|
|
25
25
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
26
26
|
};
|
|
27
|
-
exports.
|
|
28
|
-
const
|
|
27
|
+
exports.se_AddTagsCommand = se_AddTagsCommand;
|
|
28
|
+
const se_CreatePipelineCommand = async (input, context) => {
|
|
29
29
|
const headers = {
|
|
30
30
|
"content-type": "application/x-amz-json-1.1",
|
|
31
31
|
"x-amz-target": "DataPipeline.CreatePipeline",
|
|
32
32
|
};
|
|
33
33
|
let body;
|
|
34
|
-
body = JSON.stringify(
|
|
34
|
+
body = JSON.stringify(se_CreatePipelineInput(input, context));
|
|
35
35
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
36
36
|
};
|
|
37
|
-
exports.
|
|
38
|
-
const
|
|
37
|
+
exports.se_CreatePipelineCommand = se_CreatePipelineCommand;
|
|
38
|
+
const se_DeactivatePipelineCommand = async (input, context) => {
|
|
39
39
|
const headers = {
|
|
40
40
|
"content-type": "application/x-amz-json-1.1",
|
|
41
41
|
"x-amz-target": "DataPipeline.DeactivatePipeline",
|
|
42
42
|
};
|
|
43
43
|
let body;
|
|
44
|
-
body = JSON.stringify(
|
|
44
|
+
body = JSON.stringify(se_DeactivatePipelineInput(input, context));
|
|
45
45
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
46
46
|
};
|
|
47
|
-
exports.
|
|
48
|
-
const
|
|
47
|
+
exports.se_DeactivatePipelineCommand = se_DeactivatePipelineCommand;
|
|
48
|
+
const se_DeletePipelineCommand = async (input, context) => {
|
|
49
49
|
const headers = {
|
|
50
50
|
"content-type": "application/x-amz-json-1.1",
|
|
51
51
|
"x-amz-target": "DataPipeline.DeletePipeline",
|
|
52
52
|
};
|
|
53
53
|
let body;
|
|
54
|
-
body = JSON.stringify(
|
|
54
|
+
body = JSON.stringify(se_DeletePipelineInput(input, context));
|
|
55
55
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
56
56
|
};
|
|
57
|
-
exports.
|
|
58
|
-
const
|
|
57
|
+
exports.se_DeletePipelineCommand = se_DeletePipelineCommand;
|
|
58
|
+
const se_DescribeObjectsCommand = async (input, context) => {
|
|
59
59
|
const headers = {
|
|
60
60
|
"content-type": "application/x-amz-json-1.1",
|
|
61
61
|
"x-amz-target": "DataPipeline.DescribeObjects",
|
|
62
62
|
};
|
|
63
63
|
let body;
|
|
64
|
-
body = JSON.stringify(
|
|
64
|
+
body = JSON.stringify(se_DescribeObjectsInput(input, context));
|
|
65
65
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
66
66
|
};
|
|
67
|
-
exports.
|
|
68
|
-
const
|
|
67
|
+
exports.se_DescribeObjectsCommand = se_DescribeObjectsCommand;
|
|
68
|
+
const se_DescribePipelinesCommand = async (input, context) => {
|
|
69
69
|
const headers = {
|
|
70
70
|
"content-type": "application/x-amz-json-1.1",
|
|
71
71
|
"x-amz-target": "DataPipeline.DescribePipelines",
|
|
72
72
|
};
|
|
73
73
|
let body;
|
|
74
|
-
body = JSON.stringify(
|
|
74
|
+
body = JSON.stringify(se_DescribePipelinesInput(input, context));
|
|
75
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
76
|
};
|
|
77
|
-
exports.
|
|
78
|
-
const
|
|
77
|
+
exports.se_DescribePipelinesCommand = se_DescribePipelinesCommand;
|
|
78
|
+
const se_EvaluateExpressionCommand = async (input, context) => {
|
|
79
79
|
const headers = {
|
|
80
80
|
"content-type": "application/x-amz-json-1.1",
|
|
81
81
|
"x-amz-target": "DataPipeline.EvaluateExpression",
|
|
82
82
|
};
|
|
83
83
|
let body;
|
|
84
|
-
body = JSON.stringify(
|
|
84
|
+
body = JSON.stringify(se_EvaluateExpressionInput(input, context));
|
|
85
85
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
86
86
|
};
|
|
87
|
-
exports.
|
|
88
|
-
const
|
|
87
|
+
exports.se_EvaluateExpressionCommand = se_EvaluateExpressionCommand;
|
|
88
|
+
const se_GetPipelineDefinitionCommand = async (input, context) => {
|
|
89
89
|
const headers = {
|
|
90
90
|
"content-type": "application/x-amz-json-1.1",
|
|
91
91
|
"x-amz-target": "DataPipeline.GetPipelineDefinition",
|
|
92
92
|
};
|
|
93
93
|
let body;
|
|
94
|
-
body = JSON.stringify(
|
|
94
|
+
body = JSON.stringify(se_GetPipelineDefinitionInput(input, context));
|
|
95
95
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
96
96
|
};
|
|
97
|
-
exports.
|
|
98
|
-
const
|
|
97
|
+
exports.se_GetPipelineDefinitionCommand = se_GetPipelineDefinitionCommand;
|
|
98
|
+
const se_ListPipelinesCommand = async (input, context) => {
|
|
99
99
|
const headers = {
|
|
100
100
|
"content-type": "application/x-amz-json-1.1",
|
|
101
101
|
"x-amz-target": "DataPipeline.ListPipelines",
|
|
102
102
|
};
|
|
103
103
|
let body;
|
|
104
|
-
body = JSON.stringify(
|
|
104
|
+
body = JSON.stringify(se_ListPipelinesInput(input, context));
|
|
105
105
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
106
106
|
};
|
|
107
|
-
exports.
|
|
108
|
-
const
|
|
107
|
+
exports.se_ListPipelinesCommand = se_ListPipelinesCommand;
|
|
108
|
+
const se_PollForTaskCommand = async (input, context) => {
|
|
109
109
|
const headers = {
|
|
110
110
|
"content-type": "application/x-amz-json-1.1",
|
|
111
111
|
"x-amz-target": "DataPipeline.PollForTask",
|
|
112
112
|
};
|
|
113
113
|
let body;
|
|
114
|
-
body = JSON.stringify(
|
|
114
|
+
body = JSON.stringify(se_PollForTaskInput(input, context));
|
|
115
115
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
116
116
|
};
|
|
117
|
-
exports.
|
|
118
|
-
const
|
|
117
|
+
exports.se_PollForTaskCommand = se_PollForTaskCommand;
|
|
118
|
+
const se_PutPipelineDefinitionCommand = async (input, context) => {
|
|
119
119
|
const headers = {
|
|
120
120
|
"content-type": "application/x-amz-json-1.1",
|
|
121
121
|
"x-amz-target": "DataPipeline.PutPipelineDefinition",
|
|
122
122
|
};
|
|
123
123
|
let body;
|
|
124
|
-
body = JSON.stringify(
|
|
124
|
+
body = JSON.stringify(se_PutPipelineDefinitionInput(input, context));
|
|
125
125
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
126
126
|
};
|
|
127
|
-
exports.
|
|
128
|
-
const
|
|
127
|
+
exports.se_PutPipelineDefinitionCommand = se_PutPipelineDefinitionCommand;
|
|
128
|
+
const se_QueryObjectsCommand = async (input, context) => {
|
|
129
129
|
const headers = {
|
|
130
130
|
"content-type": "application/x-amz-json-1.1",
|
|
131
131
|
"x-amz-target": "DataPipeline.QueryObjects",
|
|
132
132
|
};
|
|
133
133
|
let body;
|
|
134
|
-
body = JSON.stringify(
|
|
134
|
+
body = JSON.stringify(se_QueryObjectsInput(input, context));
|
|
135
135
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
136
136
|
};
|
|
137
|
-
exports.
|
|
138
|
-
const
|
|
137
|
+
exports.se_QueryObjectsCommand = se_QueryObjectsCommand;
|
|
138
|
+
const se_RemoveTagsCommand = async (input, context) => {
|
|
139
139
|
const headers = {
|
|
140
140
|
"content-type": "application/x-amz-json-1.1",
|
|
141
141
|
"x-amz-target": "DataPipeline.RemoveTags",
|
|
142
142
|
};
|
|
143
143
|
let body;
|
|
144
|
-
body = JSON.stringify(
|
|
144
|
+
body = JSON.stringify(se_RemoveTagsInput(input, context));
|
|
145
145
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
146
146
|
};
|
|
147
|
-
exports.
|
|
148
|
-
const
|
|
147
|
+
exports.se_RemoveTagsCommand = se_RemoveTagsCommand;
|
|
148
|
+
const se_ReportTaskProgressCommand = async (input, context) => {
|
|
149
149
|
const headers = {
|
|
150
150
|
"content-type": "application/x-amz-json-1.1",
|
|
151
151
|
"x-amz-target": "DataPipeline.ReportTaskProgress",
|
|
152
152
|
};
|
|
153
153
|
let body;
|
|
154
|
-
body = JSON.stringify(
|
|
154
|
+
body = JSON.stringify(se_ReportTaskProgressInput(input, context));
|
|
155
155
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
156
156
|
};
|
|
157
|
-
exports.
|
|
158
|
-
const
|
|
157
|
+
exports.se_ReportTaskProgressCommand = se_ReportTaskProgressCommand;
|
|
158
|
+
const se_ReportTaskRunnerHeartbeatCommand = async (input, context) => {
|
|
159
159
|
const headers = {
|
|
160
160
|
"content-type": "application/x-amz-json-1.1",
|
|
161
161
|
"x-amz-target": "DataPipeline.ReportTaskRunnerHeartbeat",
|
|
162
162
|
};
|
|
163
163
|
let body;
|
|
164
|
-
body = JSON.stringify(
|
|
164
|
+
body = JSON.stringify(se_ReportTaskRunnerHeartbeatInput(input, context));
|
|
165
165
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
166
166
|
};
|
|
167
|
-
exports.
|
|
168
|
-
const
|
|
167
|
+
exports.se_ReportTaskRunnerHeartbeatCommand = se_ReportTaskRunnerHeartbeatCommand;
|
|
168
|
+
const se_SetStatusCommand = async (input, context) => {
|
|
169
169
|
const headers = {
|
|
170
170
|
"content-type": "application/x-amz-json-1.1",
|
|
171
171
|
"x-amz-target": "DataPipeline.SetStatus",
|
|
172
172
|
};
|
|
173
173
|
let body;
|
|
174
|
-
body = JSON.stringify(
|
|
174
|
+
body = JSON.stringify(se_SetStatusInput(input, context));
|
|
175
175
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
176
176
|
};
|
|
177
|
-
exports.
|
|
178
|
-
const
|
|
177
|
+
exports.se_SetStatusCommand = se_SetStatusCommand;
|
|
178
|
+
const se_SetTaskStatusCommand = async (input, context) => {
|
|
179
179
|
const headers = {
|
|
180
180
|
"content-type": "application/x-amz-json-1.1",
|
|
181
181
|
"x-amz-target": "DataPipeline.SetTaskStatus",
|
|
182
182
|
};
|
|
183
183
|
let body;
|
|
184
|
-
body = JSON.stringify(
|
|
184
|
+
body = JSON.stringify(se_SetTaskStatusInput(input, context));
|
|
185
185
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
186
186
|
};
|
|
187
|
-
exports.
|
|
188
|
-
const
|
|
187
|
+
exports.se_SetTaskStatusCommand = se_SetTaskStatusCommand;
|
|
188
|
+
const se_ValidatePipelineDefinitionCommand = async (input, context) => {
|
|
189
189
|
const headers = {
|
|
190
190
|
"content-type": "application/x-amz-json-1.1",
|
|
191
191
|
"x-amz-target": "DataPipeline.ValidatePipelineDefinition",
|
|
192
192
|
};
|
|
193
193
|
let body;
|
|
194
|
-
body = JSON.stringify(
|
|
194
|
+
body = JSON.stringify(se_ValidatePipelineDefinitionInput(input, context));
|
|
195
195
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
196
196
|
};
|
|
197
|
-
exports.
|
|
198
|
-
const
|
|
197
|
+
exports.se_ValidatePipelineDefinitionCommand = se_ValidatePipelineDefinitionCommand;
|
|
198
|
+
const de_ActivatePipelineCommand = async (output, context) => {
|
|
199
199
|
if (output.statusCode >= 300) {
|
|
200
|
-
return
|
|
200
|
+
return de_ActivatePipelineCommandError(output, context);
|
|
201
201
|
}
|
|
202
202
|
const data = await parseBody(output.body, context);
|
|
203
203
|
let contents = {};
|
|
204
|
-
contents =
|
|
204
|
+
contents = de_ActivatePipelineOutput(data, context);
|
|
205
205
|
const response = {
|
|
206
206
|
$metadata: deserializeMetadata(output),
|
|
207
207
|
...contents,
|
|
208
208
|
};
|
|
209
209
|
return Promise.resolve(response);
|
|
210
210
|
};
|
|
211
|
-
exports.
|
|
212
|
-
const
|
|
211
|
+
exports.de_ActivatePipelineCommand = de_ActivatePipelineCommand;
|
|
212
|
+
const de_ActivatePipelineCommandError = async (output, context) => {
|
|
213
213
|
const parsedOutput = {
|
|
214
214
|
...output,
|
|
215
215
|
body: await parseErrorBody(output.body, context),
|
|
@@ -218,16 +218,16 @@ const deserializeAws_json1_1ActivatePipelineCommandError = async (output, contex
|
|
|
218
218
|
switch (errorCode) {
|
|
219
219
|
case "InternalServiceError":
|
|
220
220
|
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
221
|
-
throw await
|
|
221
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
222
222
|
case "InvalidRequestException":
|
|
223
223
|
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
224
|
-
throw await
|
|
224
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
225
225
|
case "PipelineDeletedException":
|
|
226
226
|
case "com.amazonaws.datapipeline#PipelineDeletedException":
|
|
227
|
-
throw await
|
|
227
|
+
throw await de_PipelineDeletedExceptionRes(parsedOutput, context);
|
|
228
228
|
case "PipelineNotFoundException":
|
|
229
229
|
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
230
|
-
throw await
|
|
230
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
231
231
|
default:
|
|
232
232
|
const parsedBody = parsedOutput.body;
|
|
233
233
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -238,21 +238,21 @@ const deserializeAws_json1_1ActivatePipelineCommandError = async (output, contex
|
|
|
238
238
|
});
|
|
239
239
|
}
|
|
240
240
|
};
|
|
241
|
-
const
|
|
241
|
+
const de_AddTagsCommand = async (output, context) => {
|
|
242
242
|
if (output.statusCode >= 300) {
|
|
243
|
-
return
|
|
243
|
+
return de_AddTagsCommandError(output, context);
|
|
244
244
|
}
|
|
245
245
|
const data = await parseBody(output.body, context);
|
|
246
246
|
let contents = {};
|
|
247
|
-
contents =
|
|
247
|
+
contents = de_AddTagsOutput(data, context);
|
|
248
248
|
const response = {
|
|
249
249
|
$metadata: deserializeMetadata(output),
|
|
250
250
|
...contents,
|
|
251
251
|
};
|
|
252
252
|
return Promise.resolve(response);
|
|
253
253
|
};
|
|
254
|
-
exports.
|
|
255
|
-
const
|
|
254
|
+
exports.de_AddTagsCommand = de_AddTagsCommand;
|
|
255
|
+
const de_AddTagsCommandError = async (output, context) => {
|
|
256
256
|
const parsedOutput = {
|
|
257
257
|
...output,
|
|
258
258
|
body: await parseErrorBody(output.body, context),
|
|
@@ -261,16 +261,16 @@ const deserializeAws_json1_1AddTagsCommandError = async (output, context) => {
|
|
|
261
261
|
switch (errorCode) {
|
|
262
262
|
case "InternalServiceError":
|
|
263
263
|
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
264
|
-
throw await
|
|
264
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
265
265
|
case "InvalidRequestException":
|
|
266
266
|
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
267
|
-
throw await
|
|
267
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
268
268
|
case "PipelineDeletedException":
|
|
269
269
|
case "com.amazonaws.datapipeline#PipelineDeletedException":
|
|
270
|
-
throw await
|
|
270
|
+
throw await de_PipelineDeletedExceptionRes(parsedOutput, context);
|
|
271
271
|
case "PipelineNotFoundException":
|
|
272
272
|
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
273
|
-
throw await
|
|
273
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
274
274
|
default:
|
|
275
275
|
const parsedBody = parsedOutput.body;
|
|
276
276
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -281,21 +281,21 @@ const deserializeAws_json1_1AddTagsCommandError = async (output, context) => {
|
|
|
281
281
|
});
|
|
282
282
|
}
|
|
283
283
|
};
|
|
284
|
-
const
|
|
284
|
+
const de_CreatePipelineCommand = async (output, context) => {
|
|
285
285
|
if (output.statusCode >= 300) {
|
|
286
|
-
return
|
|
286
|
+
return de_CreatePipelineCommandError(output, context);
|
|
287
287
|
}
|
|
288
288
|
const data = await parseBody(output.body, context);
|
|
289
289
|
let contents = {};
|
|
290
|
-
contents =
|
|
290
|
+
contents = de_CreatePipelineOutput(data, context);
|
|
291
291
|
const response = {
|
|
292
292
|
$metadata: deserializeMetadata(output),
|
|
293
293
|
...contents,
|
|
294
294
|
};
|
|
295
295
|
return Promise.resolve(response);
|
|
296
296
|
};
|
|
297
|
-
exports.
|
|
298
|
-
const
|
|
297
|
+
exports.de_CreatePipelineCommand = de_CreatePipelineCommand;
|
|
298
|
+
const de_CreatePipelineCommandError = async (output, context) => {
|
|
299
299
|
const parsedOutput = {
|
|
300
300
|
...output,
|
|
301
301
|
body: await parseErrorBody(output.body, context),
|
|
@@ -304,10 +304,10 @@ const deserializeAws_json1_1CreatePipelineCommandError = async (output, context)
|
|
|
304
304
|
switch (errorCode) {
|
|
305
305
|
case "InternalServiceError":
|
|
306
306
|
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
307
|
-
throw await
|
|
307
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
308
308
|
case "InvalidRequestException":
|
|
309
309
|
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
310
|
-
throw await
|
|
310
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
311
311
|
default:
|
|
312
312
|
const parsedBody = parsedOutput.body;
|
|
313
313
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -318,21 +318,21 @@ const deserializeAws_json1_1CreatePipelineCommandError = async (output, context)
|
|
|
318
318
|
});
|
|
319
319
|
}
|
|
320
320
|
};
|
|
321
|
-
const
|
|
321
|
+
const de_DeactivatePipelineCommand = async (output, context) => {
|
|
322
322
|
if (output.statusCode >= 300) {
|
|
323
|
-
return
|
|
323
|
+
return de_DeactivatePipelineCommandError(output, context);
|
|
324
324
|
}
|
|
325
325
|
const data = await parseBody(output.body, context);
|
|
326
326
|
let contents = {};
|
|
327
|
-
contents =
|
|
327
|
+
contents = de_DeactivatePipelineOutput(data, context);
|
|
328
328
|
const response = {
|
|
329
329
|
$metadata: deserializeMetadata(output),
|
|
330
330
|
...contents,
|
|
331
331
|
};
|
|
332
332
|
return Promise.resolve(response);
|
|
333
333
|
};
|
|
334
|
-
exports.
|
|
335
|
-
const
|
|
334
|
+
exports.de_DeactivatePipelineCommand = de_DeactivatePipelineCommand;
|
|
335
|
+
const de_DeactivatePipelineCommandError = async (output, context) => {
|
|
336
336
|
const parsedOutput = {
|
|
337
337
|
...output,
|
|
338
338
|
body: await parseErrorBody(output.body, context),
|
|
@@ -341,16 +341,16 @@ const deserializeAws_json1_1DeactivatePipelineCommandError = async (output, cont
|
|
|
341
341
|
switch (errorCode) {
|
|
342
342
|
case "InternalServiceError":
|
|
343
343
|
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
344
|
-
throw await
|
|
344
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
345
345
|
case "InvalidRequestException":
|
|
346
346
|
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
347
|
-
throw await
|
|
347
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
348
348
|
case "PipelineDeletedException":
|
|
349
349
|
case "com.amazonaws.datapipeline#PipelineDeletedException":
|
|
350
|
-
throw await
|
|
350
|
+
throw await de_PipelineDeletedExceptionRes(parsedOutput, context);
|
|
351
351
|
case "PipelineNotFoundException":
|
|
352
352
|
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
353
|
-
throw await
|
|
353
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
354
354
|
default:
|
|
355
355
|
const parsedBody = parsedOutput.body;
|
|
356
356
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -361,9 +361,9 @@ const deserializeAws_json1_1DeactivatePipelineCommandError = async (output, cont
|
|
|
361
361
|
});
|
|
362
362
|
}
|
|
363
363
|
};
|
|
364
|
-
const
|
|
364
|
+
const de_DeletePipelineCommand = async (output, context) => {
|
|
365
365
|
if (output.statusCode >= 300) {
|
|
366
|
-
return
|
|
366
|
+
return de_DeletePipelineCommandError(output, context);
|
|
367
367
|
}
|
|
368
368
|
await collectBody(output.body, context);
|
|
369
369
|
const response = {
|
|
@@ -371,8 +371,8 @@ const deserializeAws_json1_1DeletePipelineCommand = async (output, context) => {
|
|
|
371
371
|
};
|
|
372
372
|
return Promise.resolve(response);
|
|
373
373
|
};
|
|
374
|
-
exports.
|
|
375
|
-
const
|
|
374
|
+
exports.de_DeletePipelineCommand = de_DeletePipelineCommand;
|
|
375
|
+
const de_DeletePipelineCommandError = async (output, context) => {
|
|
376
376
|
const parsedOutput = {
|
|
377
377
|
...output,
|
|
378
378
|
body: await parseErrorBody(output.body, context),
|
|
@@ -381,13 +381,13 @@ const deserializeAws_json1_1DeletePipelineCommandError = async (output, context)
|
|
|
381
381
|
switch (errorCode) {
|
|
382
382
|
case "InternalServiceError":
|
|
383
383
|
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
384
|
-
throw await
|
|
384
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
385
385
|
case "InvalidRequestException":
|
|
386
386
|
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
387
|
-
throw await
|
|
387
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
388
388
|
case "PipelineNotFoundException":
|
|
389
389
|
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
390
|
-
throw await
|
|
390
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
391
391
|
default:
|
|
392
392
|
const parsedBody = parsedOutput.body;
|
|
393
393
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -398,21 +398,21 @@ const deserializeAws_json1_1DeletePipelineCommandError = async (output, context)
|
|
|
398
398
|
});
|
|
399
399
|
}
|
|
400
400
|
};
|
|
401
|
-
const
|
|
401
|
+
const de_DescribeObjectsCommand = async (output, context) => {
|
|
402
402
|
if (output.statusCode >= 300) {
|
|
403
|
-
return
|
|
403
|
+
return de_DescribeObjectsCommandError(output, context);
|
|
404
404
|
}
|
|
405
405
|
const data = await parseBody(output.body, context);
|
|
406
406
|
let contents = {};
|
|
407
|
-
contents =
|
|
407
|
+
contents = de_DescribeObjectsOutput(data, context);
|
|
408
408
|
const response = {
|
|
409
409
|
$metadata: deserializeMetadata(output),
|
|
410
410
|
...contents,
|
|
411
411
|
};
|
|
412
412
|
return Promise.resolve(response);
|
|
413
413
|
};
|
|
414
|
-
exports.
|
|
415
|
-
const
|
|
414
|
+
exports.de_DescribeObjectsCommand = de_DescribeObjectsCommand;
|
|
415
|
+
const de_DescribeObjectsCommandError = async (output, context) => {
|
|
416
416
|
const parsedOutput = {
|
|
417
417
|
...output,
|
|
418
418
|
body: await parseErrorBody(output.body, context),
|
|
@@ -421,16 +421,16 @@ const deserializeAws_json1_1DescribeObjectsCommandError = async (output, context
|
|
|
421
421
|
switch (errorCode) {
|
|
422
422
|
case "InternalServiceError":
|
|
423
423
|
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
424
|
-
throw await
|
|
424
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
425
425
|
case "InvalidRequestException":
|
|
426
426
|
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
427
|
-
throw await
|
|
427
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
428
428
|
case "PipelineDeletedException":
|
|
429
429
|
case "com.amazonaws.datapipeline#PipelineDeletedException":
|
|
430
|
-
throw await
|
|
430
|
+
throw await de_PipelineDeletedExceptionRes(parsedOutput, context);
|
|
431
431
|
case "PipelineNotFoundException":
|
|
432
432
|
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
433
|
-
throw await
|
|
433
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
434
434
|
default:
|
|
435
435
|
const parsedBody = parsedOutput.body;
|
|
436
436
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -441,21 +441,21 @@ const deserializeAws_json1_1DescribeObjectsCommandError = async (output, context
|
|
|
441
441
|
});
|
|
442
442
|
}
|
|
443
443
|
};
|
|
444
|
-
const
|
|
444
|
+
const de_DescribePipelinesCommand = async (output, context) => {
|
|
445
445
|
if (output.statusCode >= 300) {
|
|
446
|
-
return
|
|
446
|
+
return de_DescribePipelinesCommandError(output, context);
|
|
447
447
|
}
|
|
448
448
|
const data = await parseBody(output.body, context);
|
|
449
449
|
let contents = {};
|
|
450
|
-
contents =
|
|
450
|
+
contents = de_DescribePipelinesOutput(data, context);
|
|
451
451
|
const response = {
|
|
452
452
|
$metadata: deserializeMetadata(output),
|
|
453
453
|
...contents,
|
|
454
454
|
};
|
|
455
455
|
return Promise.resolve(response);
|
|
456
456
|
};
|
|
457
|
-
exports.
|
|
458
|
-
const
|
|
457
|
+
exports.de_DescribePipelinesCommand = de_DescribePipelinesCommand;
|
|
458
|
+
const de_DescribePipelinesCommandError = async (output, context) => {
|
|
459
459
|
const parsedOutput = {
|
|
460
460
|
...output,
|
|
461
461
|
body: await parseErrorBody(output.body, context),
|
|
@@ -464,16 +464,16 @@ const deserializeAws_json1_1DescribePipelinesCommandError = async (output, conte
|
|
|
464
464
|
switch (errorCode) {
|
|
465
465
|
case "InternalServiceError":
|
|
466
466
|
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
467
|
-
throw await
|
|
467
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
468
468
|
case "InvalidRequestException":
|
|
469
469
|
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
470
|
-
throw await
|
|
470
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
471
471
|
case "PipelineDeletedException":
|
|
472
472
|
case "com.amazonaws.datapipeline#PipelineDeletedException":
|
|
473
|
-
throw await
|
|
473
|
+
throw await de_PipelineDeletedExceptionRes(parsedOutput, context);
|
|
474
474
|
case "PipelineNotFoundException":
|
|
475
475
|
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
476
|
-
throw await
|
|
476
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
477
477
|
default:
|
|
478
478
|
const parsedBody = parsedOutput.body;
|
|
479
479
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -484,21 +484,21 @@ const deserializeAws_json1_1DescribePipelinesCommandError = async (output, conte
|
|
|
484
484
|
});
|
|
485
485
|
}
|
|
486
486
|
};
|
|
487
|
-
const
|
|
487
|
+
const de_EvaluateExpressionCommand = async (output, context) => {
|
|
488
488
|
if (output.statusCode >= 300) {
|
|
489
|
-
return
|
|
489
|
+
return de_EvaluateExpressionCommandError(output, context);
|
|
490
490
|
}
|
|
491
491
|
const data = await parseBody(output.body, context);
|
|
492
492
|
let contents = {};
|
|
493
|
-
contents =
|
|
493
|
+
contents = de_EvaluateExpressionOutput(data, context);
|
|
494
494
|
const response = {
|
|
495
495
|
$metadata: deserializeMetadata(output),
|
|
496
496
|
...contents,
|
|
497
497
|
};
|
|
498
498
|
return Promise.resolve(response);
|
|
499
499
|
};
|
|
500
|
-
exports.
|
|
501
|
-
const
|
|
500
|
+
exports.de_EvaluateExpressionCommand = de_EvaluateExpressionCommand;
|
|
501
|
+
const de_EvaluateExpressionCommandError = async (output, context) => {
|
|
502
502
|
const parsedOutput = {
|
|
503
503
|
...output,
|
|
504
504
|
body: await parseErrorBody(output.body, context),
|
|
@@ -507,19 +507,19 @@ const deserializeAws_json1_1EvaluateExpressionCommandError = async (output, cont
|
|
|
507
507
|
switch (errorCode) {
|
|
508
508
|
case "InternalServiceError":
|
|
509
509
|
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
510
|
-
throw await
|
|
510
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
511
511
|
case "InvalidRequestException":
|
|
512
512
|
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
513
|
-
throw await
|
|
513
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
514
514
|
case "PipelineDeletedException":
|
|
515
515
|
case "com.amazonaws.datapipeline#PipelineDeletedException":
|
|
516
|
-
throw await
|
|
516
|
+
throw await de_PipelineDeletedExceptionRes(parsedOutput, context);
|
|
517
517
|
case "PipelineNotFoundException":
|
|
518
518
|
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
519
|
-
throw await
|
|
519
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
520
520
|
case "TaskNotFoundException":
|
|
521
521
|
case "com.amazonaws.datapipeline#TaskNotFoundException":
|
|
522
|
-
throw await
|
|
522
|
+
throw await de_TaskNotFoundExceptionRes(parsedOutput, context);
|
|
523
523
|
default:
|
|
524
524
|
const parsedBody = parsedOutput.body;
|
|
525
525
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -530,21 +530,21 @@ const deserializeAws_json1_1EvaluateExpressionCommandError = async (output, cont
|
|
|
530
530
|
});
|
|
531
531
|
}
|
|
532
532
|
};
|
|
533
|
-
const
|
|
533
|
+
const de_GetPipelineDefinitionCommand = async (output, context) => {
|
|
534
534
|
if (output.statusCode >= 300) {
|
|
535
|
-
return
|
|
535
|
+
return de_GetPipelineDefinitionCommandError(output, context);
|
|
536
536
|
}
|
|
537
537
|
const data = await parseBody(output.body, context);
|
|
538
538
|
let contents = {};
|
|
539
|
-
contents =
|
|
539
|
+
contents = de_GetPipelineDefinitionOutput(data, context);
|
|
540
540
|
const response = {
|
|
541
541
|
$metadata: deserializeMetadata(output),
|
|
542
542
|
...contents,
|
|
543
543
|
};
|
|
544
544
|
return Promise.resolve(response);
|
|
545
545
|
};
|
|
546
|
-
exports.
|
|
547
|
-
const
|
|
546
|
+
exports.de_GetPipelineDefinitionCommand = de_GetPipelineDefinitionCommand;
|
|
547
|
+
const de_GetPipelineDefinitionCommandError = async (output, context) => {
|
|
548
548
|
const parsedOutput = {
|
|
549
549
|
...output,
|
|
550
550
|
body: await parseErrorBody(output.body, context),
|
|
@@ -553,16 +553,16 @@ const deserializeAws_json1_1GetPipelineDefinitionCommandError = async (output, c
|
|
|
553
553
|
switch (errorCode) {
|
|
554
554
|
case "InternalServiceError":
|
|
555
555
|
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
556
|
-
throw await
|
|
556
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
557
557
|
case "InvalidRequestException":
|
|
558
558
|
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
559
|
-
throw await
|
|
559
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
560
560
|
case "PipelineDeletedException":
|
|
561
561
|
case "com.amazonaws.datapipeline#PipelineDeletedException":
|
|
562
|
-
throw await
|
|
562
|
+
throw await de_PipelineDeletedExceptionRes(parsedOutput, context);
|
|
563
563
|
case "PipelineNotFoundException":
|
|
564
564
|
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
565
|
-
throw await
|
|
565
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
566
566
|
default:
|
|
567
567
|
const parsedBody = parsedOutput.body;
|
|
568
568
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -573,21 +573,21 @@ const deserializeAws_json1_1GetPipelineDefinitionCommandError = async (output, c
|
|
|
573
573
|
});
|
|
574
574
|
}
|
|
575
575
|
};
|
|
576
|
-
const
|
|
576
|
+
const de_ListPipelinesCommand = async (output, context) => {
|
|
577
577
|
if (output.statusCode >= 300) {
|
|
578
|
-
return
|
|
578
|
+
return de_ListPipelinesCommandError(output, context);
|
|
579
579
|
}
|
|
580
580
|
const data = await parseBody(output.body, context);
|
|
581
581
|
let contents = {};
|
|
582
|
-
contents =
|
|
582
|
+
contents = de_ListPipelinesOutput(data, context);
|
|
583
583
|
const response = {
|
|
584
584
|
$metadata: deserializeMetadata(output),
|
|
585
585
|
...contents,
|
|
586
586
|
};
|
|
587
587
|
return Promise.resolve(response);
|
|
588
588
|
};
|
|
589
|
-
exports.
|
|
590
|
-
const
|
|
589
|
+
exports.de_ListPipelinesCommand = de_ListPipelinesCommand;
|
|
590
|
+
const de_ListPipelinesCommandError = async (output, context) => {
|
|
591
591
|
const parsedOutput = {
|
|
592
592
|
...output,
|
|
593
593
|
body: await parseErrorBody(output.body, context),
|
|
@@ -596,10 +596,10 @@ const deserializeAws_json1_1ListPipelinesCommandError = async (output, context)
|
|
|
596
596
|
switch (errorCode) {
|
|
597
597
|
case "InternalServiceError":
|
|
598
598
|
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
599
|
-
throw await
|
|
599
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
600
600
|
case "InvalidRequestException":
|
|
601
601
|
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
602
|
-
throw await
|
|
602
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
603
603
|
default:
|
|
604
604
|
const parsedBody = parsedOutput.body;
|
|
605
605
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -610,21 +610,21 @@ const deserializeAws_json1_1ListPipelinesCommandError = async (output, context)
|
|
|
610
610
|
});
|
|
611
611
|
}
|
|
612
612
|
};
|
|
613
|
-
const
|
|
613
|
+
const de_PollForTaskCommand = async (output, context) => {
|
|
614
614
|
if (output.statusCode >= 300) {
|
|
615
|
-
return
|
|
615
|
+
return de_PollForTaskCommandError(output, context);
|
|
616
616
|
}
|
|
617
617
|
const data = await parseBody(output.body, context);
|
|
618
618
|
let contents = {};
|
|
619
|
-
contents =
|
|
619
|
+
contents = de_PollForTaskOutput(data, context);
|
|
620
620
|
const response = {
|
|
621
621
|
$metadata: deserializeMetadata(output),
|
|
622
622
|
...contents,
|
|
623
623
|
};
|
|
624
624
|
return Promise.resolve(response);
|
|
625
625
|
};
|
|
626
|
-
exports.
|
|
627
|
-
const
|
|
626
|
+
exports.de_PollForTaskCommand = de_PollForTaskCommand;
|
|
627
|
+
const de_PollForTaskCommandError = async (output, context) => {
|
|
628
628
|
const parsedOutput = {
|
|
629
629
|
...output,
|
|
630
630
|
body: await parseErrorBody(output.body, context),
|
|
@@ -633,13 +633,13 @@ const deserializeAws_json1_1PollForTaskCommandError = async (output, context) =>
|
|
|
633
633
|
switch (errorCode) {
|
|
634
634
|
case "InternalServiceError":
|
|
635
635
|
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
636
|
-
throw await
|
|
636
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
637
637
|
case "InvalidRequestException":
|
|
638
638
|
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
639
|
-
throw await
|
|
639
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
640
640
|
case "TaskNotFoundException":
|
|
641
641
|
case "com.amazonaws.datapipeline#TaskNotFoundException":
|
|
642
|
-
throw await
|
|
642
|
+
throw await de_TaskNotFoundExceptionRes(parsedOutput, context);
|
|
643
643
|
default:
|
|
644
644
|
const parsedBody = parsedOutput.body;
|
|
645
645
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -650,21 +650,21 @@ const deserializeAws_json1_1PollForTaskCommandError = async (output, context) =>
|
|
|
650
650
|
});
|
|
651
651
|
}
|
|
652
652
|
};
|
|
653
|
-
const
|
|
653
|
+
const de_PutPipelineDefinitionCommand = async (output, context) => {
|
|
654
654
|
if (output.statusCode >= 300) {
|
|
655
|
-
return
|
|
655
|
+
return de_PutPipelineDefinitionCommandError(output, context);
|
|
656
656
|
}
|
|
657
657
|
const data = await parseBody(output.body, context);
|
|
658
658
|
let contents = {};
|
|
659
|
-
contents =
|
|
659
|
+
contents = de_PutPipelineDefinitionOutput(data, context);
|
|
660
660
|
const response = {
|
|
661
661
|
$metadata: deserializeMetadata(output),
|
|
662
662
|
...contents,
|
|
663
663
|
};
|
|
664
664
|
return Promise.resolve(response);
|
|
665
665
|
};
|
|
666
|
-
exports.
|
|
667
|
-
const
|
|
666
|
+
exports.de_PutPipelineDefinitionCommand = de_PutPipelineDefinitionCommand;
|
|
667
|
+
const de_PutPipelineDefinitionCommandError = async (output, context) => {
|
|
668
668
|
const parsedOutput = {
|
|
669
669
|
...output,
|
|
670
670
|
body: await parseErrorBody(output.body, context),
|
|
@@ -673,16 +673,16 @@ const deserializeAws_json1_1PutPipelineDefinitionCommandError = async (output, c
|
|
|
673
673
|
switch (errorCode) {
|
|
674
674
|
case "InternalServiceError":
|
|
675
675
|
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
676
|
-
throw await
|
|
676
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
677
677
|
case "InvalidRequestException":
|
|
678
678
|
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
679
|
-
throw await
|
|
679
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
680
680
|
case "PipelineDeletedException":
|
|
681
681
|
case "com.amazonaws.datapipeline#PipelineDeletedException":
|
|
682
|
-
throw await
|
|
682
|
+
throw await de_PipelineDeletedExceptionRes(parsedOutput, context);
|
|
683
683
|
case "PipelineNotFoundException":
|
|
684
684
|
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
685
|
-
throw await
|
|
685
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
686
686
|
default:
|
|
687
687
|
const parsedBody = parsedOutput.body;
|
|
688
688
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -693,21 +693,21 @@ const deserializeAws_json1_1PutPipelineDefinitionCommandError = async (output, c
|
|
|
693
693
|
});
|
|
694
694
|
}
|
|
695
695
|
};
|
|
696
|
-
const
|
|
696
|
+
const de_QueryObjectsCommand = async (output, context) => {
|
|
697
697
|
if (output.statusCode >= 300) {
|
|
698
|
-
return
|
|
698
|
+
return de_QueryObjectsCommandError(output, context);
|
|
699
699
|
}
|
|
700
700
|
const data = await parseBody(output.body, context);
|
|
701
701
|
let contents = {};
|
|
702
|
-
contents =
|
|
702
|
+
contents = de_QueryObjectsOutput(data, context);
|
|
703
703
|
const response = {
|
|
704
704
|
$metadata: deserializeMetadata(output),
|
|
705
705
|
...contents,
|
|
706
706
|
};
|
|
707
707
|
return Promise.resolve(response);
|
|
708
708
|
};
|
|
709
|
-
exports.
|
|
710
|
-
const
|
|
709
|
+
exports.de_QueryObjectsCommand = de_QueryObjectsCommand;
|
|
710
|
+
const de_QueryObjectsCommandError = async (output, context) => {
|
|
711
711
|
const parsedOutput = {
|
|
712
712
|
...output,
|
|
713
713
|
body: await parseErrorBody(output.body, context),
|
|
@@ -716,16 +716,16 @@ const deserializeAws_json1_1QueryObjectsCommandError = async (output, context) =
|
|
|
716
716
|
switch (errorCode) {
|
|
717
717
|
case "InternalServiceError":
|
|
718
718
|
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
719
|
-
throw await
|
|
719
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
720
720
|
case "InvalidRequestException":
|
|
721
721
|
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
722
|
-
throw await
|
|
722
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
723
723
|
case "PipelineDeletedException":
|
|
724
724
|
case "com.amazonaws.datapipeline#PipelineDeletedException":
|
|
725
|
-
throw await
|
|
725
|
+
throw await de_PipelineDeletedExceptionRes(parsedOutput, context);
|
|
726
726
|
case "PipelineNotFoundException":
|
|
727
727
|
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
728
|
-
throw await
|
|
728
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
729
729
|
default:
|
|
730
730
|
const parsedBody = parsedOutput.body;
|
|
731
731
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -736,21 +736,21 @@ const deserializeAws_json1_1QueryObjectsCommandError = async (output, context) =
|
|
|
736
736
|
});
|
|
737
737
|
}
|
|
738
738
|
};
|
|
739
|
-
const
|
|
739
|
+
const de_RemoveTagsCommand = async (output, context) => {
|
|
740
740
|
if (output.statusCode >= 300) {
|
|
741
|
-
return
|
|
741
|
+
return de_RemoveTagsCommandError(output, context);
|
|
742
742
|
}
|
|
743
743
|
const data = await parseBody(output.body, context);
|
|
744
744
|
let contents = {};
|
|
745
|
-
contents =
|
|
745
|
+
contents = de_RemoveTagsOutput(data, context);
|
|
746
746
|
const response = {
|
|
747
747
|
$metadata: deserializeMetadata(output),
|
|
748
748
|
...contents,
|
|
749
749
|
};
|
|
750
750
|
return Promise.resolve(response);
|
|
751
751
|
};
|
|
752
|
-
exports.
|
|
753
|
-
const
|
|
752
|
+
exports.de_RemoveTagsCommand = de_RemoveTagsCommand;
|
|
753
|
+
const de_RemoveTagsCommandError = async (output, context) => {
|
|
754
754
|
const parsedOutput = {
|
|
755
755
|
...output,
|
|
756
756
|
body: await parseErrorBody(output.body, context),
|
|
@@ -759,16 +759,16 @@ const deserializeAws_json1_1RemoveTagsCommandError = async (output, context) =>
|
|
|
759
759
|
switch (errorCode) {
|
|
760
760
|
case "InternalServiceError":
|
|
761
761
|
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
762
|
-
throw await
|
|
762
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
763
763
|
case "InvalidRequestException":
|
|
764
764
|
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
765
|
-
throw await
|
|
765
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
766
766
|
case "PipelineDeletedException":
|
|
767
767
|
case "com.amazonaws.datapipeline#PipelineDeletedException":
|
|
768
|
-
throw await
|
|
768
|
+
throw await de_PipelineDeletedExceptionRes(parsedOutput, context);
|
|
769
769
|
case "PipelineNotFoundException":
|
|
770
770
|
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
771
|
-
throw await
|
|
771
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
772
772
|
default:
|
|
773
773
|
const parsedBody = parsedOutput.body;
|
|
774
774
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -779,21 +779,21 @@ const deserializeAws_json1_1RemoveTagsCommandError = async (output, context) =>
|
|
|
779
779
|
});
|
|
780
780
|
}
|
|
781
781
|
};
|
|
782
|
-
const
|
|
782
|
+
const de_ReportTaskProgressCommand = async (output, context) => {
|
|
783
783
|
if (output.statusCode >= 300) {
|
|
784
|
-
return
|
|
784
|
+
return de_ReportTaskProgressCommandError(output, context);
|
|
785
785
|
}
|
|
786
786
|
const data = await parseBody(output.body, context);
|
|
787
787
|
let contents = {};
|
|
788
|
-
contents =
|
|
788
|
+
contents = de_ReportTaskProgressOutput(data, context);
|
|
789
789
|
const response = {
|
|
790
790
|
$metadata: deserializeMetadata(output),
|
|
791
791
|
...contents,
|
|
792
792
|
};
|
|
793
793
|
return Promise.resolve(response);
|
|
794
794
|
};
|
|
795
|
-
exports.
|
|
796
|
-
const
|
|
795
|
+
exports.de_ReportTaskProgressCommand = de_ReportTaskProgressCommand;
|
|
796
|
+
const de_ReportTaskProgressCommandError = async (output, context) => {
|
|
797
797
|
const parsedOutput = {
|
|
798
798
|
...output,
|
|
799
799
|
body: await parseErrorBody(output.body, context),
|
|
@@ -802,19 +802,19 @@ const deserializeAws_json1_1ReportTaskProgressCommandError = async (output, cont
|
|
|
802
802
|
switch (errorCode) {
|
|
803
803
|
case "InternalServiceError":
|
|
804
804
|
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
805
|
-
throw await
|
|
805
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
806
806
|
case "InvalidRequestException":
|
|
807
807
|
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
808
|
-
throw await
|
|
808
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
809
809
|
case "PipelineDeletedException":
|
|
810
810
|
case "com.amazonaws.datapipeline#PipelineDeletedException":
|
|
811
|
-
throw await
|
|
811
|
+
throw await de_PipelineDeletedExceptionRes(parsedOutput, context);
|
|
812
812
|
case "PipelineNotFoundException":
|
|
813
813
|
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
814
|
-
throw await
|
|
814
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
815
815
|
case "TaskNotFoundException":
|
|
816
816
|
case "com.amazonaws.datapipeline#TaskNotFoundException":
|
|
817
|
-
throw await
|
|
817
|
+
throw await de_TaskNotFoundExceptionRes(parsedOutput, context);
|
|
818
818
|
default:
|
|
819
819
|
const parsedBody = parsedOutput.body;
|
|
820
820
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -825,21 +825,21 @@ const deserializeAws_json1_1ReportTaskProgressCommandError = async (output, cont
|
|
|
825
825
|
});
|
|
826
826
|
}
|
|
827
827
|
};
|
|
828
|
-
const
|
|
828
|
+
const de_ReportTaskRunnerHeartbeatCommand = async (output, context) => {
|
|
829
829
|
if (output.statusCode >= 300) {
|
|
830
|
-
return
|
|
830
|
+
return de_ReportTaskRunnerHeartbeatCommandError(output, context);
|
|
831
831
|
}
|
|
832
832
|
const data = await parseBody(output.body, context);
|
|
833
833
|
let contents = {};
|
|
834
|
-
contents =
|
|
834
|
+
contents = de_ReportTaskRunnerHeartbeatOutput(data, context);
|
|
835
835
|
const response = {
|
|
836
836
|
$metadata: deserializeMetadata(output),
|
|
837
837
|
...contents,
|
|
838
838
|
};
|
|
839
839
|
return Promise.resolve(response);
|
|
840
840
|
};
|
|
841
|
-
exports.
|
|
842
|
-
const
|
|
841
|
+
exports.de_ReportTaskRunnerHeartbeatCommand = de_ReportTaskRunnerHeartbeatCommand;
|
|
842
|
+
const de_ReportTaskRunnerHeartbeatCommandError = async (output, context) => {
|
|
843
843
|
const parsedOutput = {
|
|
844
844
|
...output,
|
|
845
845
|
body: await parseErrorBody(output.body, context),
|
|
@@ -848,10 +848,10 @@ const deserializeAws_json1_1ReportTaskRunnerHeartbeatCommandError = async (outpu
|
|
|
848
848
|
switch (errorCode) {
|
|
849
849
|
case "InternalServiceError":
|
|
850
850
|
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
851
|
-
throw await
|
|
851
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
852
852
|
case "InvalidRequestException":
|
|
853
853
|
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
854
|
-
throw await
|
|
854
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
855
855
|
default:
|
|
856
856
|
const parsedBody = parsedOutput.body;
|
|
857
857
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -862,9 +862,9 @@ const deserializeAws_json1_1ReportTaskRunnerHeartbeatCommandError = async (outpu
|
|
|
862
862
|
});
|
|
863
863
|
}
|
|
864
864
|
};
|
|
865
|
-
const
|
|
865
|
+
const de_SetStatusCommand = async (output, context) => {
|
|
866
866
|
if (output.statusCode >= 300) {
|
|
867
|
-
return
|
|
867
|
+
return de_SetStatusCommandError(output, context);
|
|
868
868
|
}
|
|
869
869
|
await collectBody(output.body, context);
|
|
870
870
|
const response = {
|
|
@@ -872,8 +872,8 @@ const deserializeAws_json1_1SetStatusCommand = async (output, context) => {
|
|
|
872
872
|
};
|
|
873
873
|
return Promise.resolve(response);
|
|
874
874
|
};
|
|
875
|
-
exports.
|
|
876
|
-
const
|
|
875
|
+
exports.de_SetStatusCommand = de_SetStatusCommand;
|
|
876
|
+
const de_SetStatusCommandError = async (output, context) => {
|
|
877
877
|
const parsedOutput = {
|
|
878
878
|
...output,
|
|
879
879
|
body: await parseErrorBody(output.body, context),
|
|
@@ -882,16 +882,16 @@ const deserializeAws_json1_1SetStatusCommandError = async (output, context) => {
|
|
|
882
882
|
switch (errorCode) {
|
|
883
883
|
case "InternalServiceError":
|
|
884
884
|
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
885
|
-
throw await
|
|
885
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
886
886
|
case "InvalidRequestException":
|
|
887
887
|
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
888
|
-
throw await
|
|
888
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
889
889
|
case "PipelineDeletedException":
|
|
890
890
|
case "com.amazonaws.datapipeline#PipelineDeletedException":
|
|
891
|
-
throw await
|
|
891
|
+
throw await de_PipelineDeletedExceptionRes(parsedOutput, context);
|
|
892
892
|
case "PipelineNotFoundException":
|
|
893
893
|
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
894
|
-
throw await
|
|
894
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
895
895
|
default:
|
|
896
896
|
const parsedBody = parsedOutput.body;
|
|
897
897
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -902,21 +902,21 @@ const deserializeAws_json1_1SetStatusCommandError = async (output, context) => {
|
|
|
902
902
|
});
|
|
903
903
|
}
|
|
904
904
|
};
|
|
905
|
-
const
|
|
905
|
+
const de_SetTaskStatusCommand = async (output, context) => {
|
|
906
906
|
if (output.statusCode >= 300) {
|
|
907
|
-
return
|
|
907
|
+
return de_SetTaskStatusCommandError(output, context);
|
|
908
908
|
}
|
|
909
909
|
const data = await parseBody(output.body, context);
|
|
910
910
|
let contents = {};
|
|
911
|
-
contents =
|
|
911
|
+
contents = de_SetTaskStatusOutput(data, context);
|
|
912
912
|
const response = {
|
|
913
913
|
$metadata: deserializeMetadata(output),
|
|
914
914
|
...contents,
|
|
915
915
|
};
|
|
916
916
|
return Promise.resolve(response);
|
|
917
917
|
};
|
|
918
|
-
exports.
|
|
919
|
-
const
|
|
918
|
+
exports.de_SetTaskStatusCommand = de_SetTaskStatusCommand;
|
|
919
|
+
const de_SetTaskStatusCommandError = async (output, context) => {
|
|
920
920
|
const parsedOutput = {
|
|
921
921
|
...output,
|
|
922
922
|
body: await parseErrorBody(output.body, context),
|
|
@@ -925,19 +925,19 @@ const deserializeAws_json1_1SetTaskStatusCommandError = async (output, context)
|
|
|
925
925
|
switch (errorCode) {
|
|
926
926
|
case "InternalServiceError":
|
|
927
927
|
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
928
|
-
throw await
|
|
928
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
929
929
|
case "InvalidRequestException":
|
|
930
930
|
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
931
|
-
throw await
|
|
931
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
932
932
|
case "PipelineDeletedException":
|
|
933
933
|
case "com.amazonaws.datapipeline#PipelineDeletedException":
|
|
934
|
-
throw await
|
|
934
|
+
throw await de_PipelineDeletedExceptionRes(parsedOutput, context);
|
|
935
935
|
case "PipelineNotFoundException":
|
|
936
936
|
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
937
|
-
throw await
|
|
937
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
938
938
|
case "TaskNotFoundException":
|
|
939
939
|
case "com.amazonaws.datapipeline#TaskNotFoundException":
|
|
940
|
-
throw await
|
|
940
|
+
throw await de_TaskNotFoundExceptionRes(parsedOutput, context);
|
|
941
941
|
default:
|
|
942
942
|
const parsedBody = parsedOutput.body;
|
|
943
943
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -948,21 +948,21 @@ const deserializeAws_json1_1SetTaskStatusCommandError = async (output, context)
|
|
|
948
948
|
});
|
|
949
949
|
}
|
|
950
950
|
};
|
|
951
|
-
const
|
|
951
|
+
const de_ValidatePipelineDefinitionCommand = async (output, context) => {
|
|
952
952
|
if (output.statusCode >= 300) {
|
|
953
|
-
return
|
|
953
|
+
return de_ValidatePipelineDefinitionCommandError(output, context);
|
|
954
954
|
}
|
|
955
955
|
const data = await parseBody(output.body, context);
|
|
956
956
|
let contents = {};
|
|
957
|
-
contents =
|
|
957
|
+
contents = de_ValidatePipelineDefinitionOutput(data, context);
|
|
958
958
|
const response = {
|
|
959
959
|
$metadata: deserializeMetadata(output),
|
|
960
960
|
...contents,
|
|
961
961
|
};
|
|
962
962
|
return Promise.resolve(response);
|
|
963
963
|
};
|
|
964
|
-
exports.
|
|
965
|
-
const
|
|
964
|
+
exports.de_ValidatePipelineDefinitionCommand = de_ValidatePipelineDefinitionCommand;
|
|
965
|
+
const de_ValidatePipelineDefinitionCommandError = async (output, context) => {
|
|
966
966
|
const parsedOutput = {
|
|
967
967
|
...output,
|
|
968
968
|
body: await parseErrorBody(output.body, context),
|
|
@@ -971,16 +971,16 @@ const deserializeAws_json1_1ValidatePipelineDefinitionCommandError = async (outp
|
|
|
971
971
|
switch (errorCode) {
|
|
972
972
|
case "InternalServiceError":
|
|
973
973
|
case "com.amazonaws.datapipeline#InternalServiceError":
|
|
974
|
-
throw await
|
|
974
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
975
975
|
case "InvalidRequestException":
|
|
976
976
|
case "com.amazonaws.datapipeline#InvalidRequestException":
|
|
977
|
-
throw await
|
|
977
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
978
978
|
case "PipelineDeletedException":
|
|
979
979
|
case "com.amazonaws.datapipeline#PipelineDeletedException":
|
|
980
|
-
throw await
|
|
980
|
+
throw await de_PipelineDeletedExceptionRes(parsedOutput, context);
|
|
981
981
|
case "PipelineNotFoundException":
|
|
982
982
|
case "com.amazonaws.datapipeline#PipelineNotFoundException":
|
|
983
|
-
throw await
|
|
983
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
984
984
|
default:
|
|
985
985
|
const parsedBody = parsedOutput.body;
|
|
986
986
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -991,281 +991,271 @@ const deserializeAws_json1_1ValidatePipelineDefinitionCommandError = async (outp
|
|
|
991
991
|
});
|
|
992
992
|
}
|
|
993
993
|
};
|
|
994
|
-
const
|
|
994
|
+
const de_InternalServiceErrorRes = async (parsedOutput, context) => {
|
|
995
995
|
const body = parsedOutput.body;
|
|
996
|
-
const deserialized =
|
|
996
|
+
const deserialized = de_InternalServiceError(body, context);
|
|
997
997
|
const exception = new models_0_1.InternalServiceError({
|
|
998
998
|
$metadata: deserializeMetadata(parsedOutput),
|
|
999
999
|
...deserialized,
|
|
1000
1000
|
});
|
|
1001
1001
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1002
1002
|
};
|
|
1003
|
-
const
|
|
1003
|
+
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
1004
1004
|
const body = parsedOutput.body;
|
|
1005
|
-
const deserialized =
|
|
1005
|
+
const deserialized = de_InvalidRequestException(body, context);
|
|
1006
1006
|
const exception = new models_0_1.InvalidRequestException({
|
|
1007
1007
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1008
1008
|
...deserialized,
|
|
1009
1009
|
});
|
|
1010
1010
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1011
1011
|
};
|
|
1012
|
-
const
|
|
1012
|
+
const de_PipelineDeletedExceptionRes = async (parsedOutput, context) => {
|
|
1013
1013
|
const body = parsedOutput.body;
|
|
1014
|
-
const deserialized =
|
|
1014
|
+
const deserialized = de_PipelineDeletedException(body, context);
|
|
1015
1015
|
const exception = new models_0_1.PipelineDeletedException({
|
|
1016
1016
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1017
1017
|
...deserialized,
|
|
1018
1018
|
});
|
|
1019
1019
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1020
1020
|
};
|
|
1021
|
-
const
|
|
1021
|
+
const de_PipelineNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1022
1022
|
const body = parsedOutput.body;
|
|
1023
|
-
const deserialized =
|
|
1023
|
+
const deserialized = de_PipelineNotFoundException(body, context);
|
|
1024
1024
|
const exception = new models_0_1.PipelineNotFoundException({
|
|
1025
1025
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1026
1026
|
...deserialized,
|
|
1027
1027
|
});
|
|
1028
1028
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1029
1029
|
};
|
|
1030
|
-
const
|
|
1030
|
+
const de_TaskNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1031
1031
|
const body = parsedOutput.body;
|
|
1032
|
-
const deserialized =
|
|
1032
|
+
const deserialized = de_TaskNotFoundException(body, context);
|
|
1033
1033
|
const exception = new models_0_1.TaskNotFoundException({
|
|
1034
1034
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1035
1035
|
...deserialized,
|
|
1036
1036
|
});
|
|
1037
1037
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1038
1038
|
};
|
|
1039
|
-
const
|
|
1039
|
+
const se_ActivatePipelineInput = (input, context) => {
|
|
1040
1040
|
return {
|
|
1041
|
-
...(input.parameterValues != null && {
|
|
1042
|
-
parameterValues: serializeAws_json1_1ParameterValueList(input.parameterValues, context),
|
|
1043
|
-
}),
|
|
1041
|
+
...(input.parameterValues != null && { parameterValues: se_ParameterValueList(input.parameterValues, context) }),
|
|
1044
1042
|
...(input.pipelineId != null && { pipelineId: input.pipelineId }),
|
|
1045
1043
|
...(input.startTimestamp != null && { startTimestamp: Math.round(input.startTimestamp.getTime() / 1000) }),
|
|
1046
1044
|
};
|
|
1047
1045
|
};
|
|
1048
|
-
const
|
|
1046
|
+
const se_AddTagsInput = (input, context) => {
|
|
1049
1047
|
return {
|
|
1050
1048
|
...(input.pipelineId != null && { pipelineId: input.pipelineId }),
|
|
1051
|
-
...(input.tags != null && { tags:
|
|
1049
|
+
...(input.tags != null && { tags: se_tagList(input.tags, context) }),
|
|
1052
1050
|
};
|
|
1053
1051
|
};
|
|
1054
|
-
const
|
|
1052
|
+
const se_CreatePipelineInput = (input, context) => {
|
|
1055
1053
|
return {
|
|
1056
1054
|
...(input.description != null && { description: input.description }),
|
|
1057
1055
|
...(input.name != null && { name: input.name }),
|
|
1058
|
-
...(input.tags != null && { tags:
|
|
1056
|
+
...(input.tags != null && { tags: se_tagList(input.tags, context) }),
|
|
1059
1057
|
...(input.uniqueId != null && { uniqueId: input.uniqueId }),
|
|
1060
1058
|
};
|
|
1061
1059
|
};
|
|
1062
|
-
const
|
|
1060
|
+
const se_DeactivatePipelineInput = (input, context) => {
|
|
1063
1061
|
return {
|
|
1064
1062
|
...(input.cancelActive != null && { cancelActive: input.cancelActive }),
|
|
1065
1063
|
...(input.pipelineId != null && { pipelineId: input.pipelineId }),
|
|
1066
1064
|
};
|
|
1067
1065
|
};
|
|
1068
|
-
const
|
|
1066
|
+
const se_DeletePipelineInput = (input, context) => {
|
|
1069
1067
|
return {
|
|
1070
1068
|
...(input.pipelineId != null && { pipelineId: input.pipelineId }),
|
|
1071
1069
|
};
|
|
1072
1070
|
};
|
|
1073
|
-
const
|
|
1071
|
+
const se_DescribeObjectsInput = (input, context) => {
|
|
1074
1072
|
return {
|
|
1075
1073
|
...(input.evaluateExpressions != null && { evaluateExpressions: input.evaluateExpressions }),
|
|
1076
1074
|
...(input.marker != null && { marker: input.marker }),
|
|
1077
|
-
...(input.objectIds != null && { objectIds:
|
|
1075
|
+
...(input.objectIds != null && { objectIds: se_idList(input.objectIds, context) }),
|
|
1078
1076
|
...(input.pipelineId != null && { pipelineId: input.pipelineId }),
|
|
1079
1077
|
};
|
|
1080
1078
|
};
|
|
1081
|
-
const
|
|
1079
|
+
const se_DescribePipelinesInput = (input, context) => {
|
|
1082
1080
|
return {
|
|
1083
|
-
...(input.pipelineIds != null && { pipelineIds:
|
|
1081
|
+
...(input.pipelineIds != null && { pipelineIds: se_idList(input.pipelineIds, context) }),
|
|
1084
1082
|
};
|
|
1085
1083
|
};
|
|
1086
|
-
const
|
|
1084
|
+
const se_EvaluateExpressionInput = (input, context) => {
|
|
1087
1085
|
return {
|
|
1088
1086
|
...(input.expression != null && { expression: input.expression }),
|
|
1089
1087
|
...(input.objectId != null && { objectId: input.objectId }),
|
|
1090
1088
|
...(input.pipelineId != null && { pipelineId: input.pipelineId }),
|
|
1091
1089
|
};
|
|
1092
1090
|
};
|
|
1093
|
-
const
|
|
1091
|
+
const se_Field = (input, context) => {
|
|
1094
1092
|
return {
|
|
1095
1093
|
...(input.key != null && { key: input.key }),
|
|
1096
1094
|
...(input.refValue != null && { refValue: input.refValue }),
|
|
1097
1095
|
...(input.stringValue != null && { stringValue: input.stringValue }),
|
|
1098
1096
|
};
|
|
1099
1097
|
};
|
|
1100
|
-
const
|
|
1098
|
+
const se_fieldList = (input, context) => {
|
|
1101
1099
|
return input
|
|
1102
1100
|
.filter((e) => e != null)
|
|
1103
1101
|
.map((entry) => {
|
|
1104
|
-
return
|
|
1102
|
+
return se_Field(entry, context);
|
|
1105
1103
|
});
|
|
1106
1104
|
};
|
|
1107
|
-
const
|
|
1105
|
+
const se_GetPipelineDefinitionInput = (input, context) => {
|
|
1108
1106
|
return {
|
|
1109
1107
|
...(input.pipelineId != null && { pipelineId: input.pipelineId }),
|
|
1110
1108
|
...(input.version != null && { version: input.version }),
|
|
1111
1109
|
};
|
|
1112
1110
|
};
|
|
1113
|
-
const
|
|
1111
|
+
const se_idList = (input, context) => {
|
|
1114
1112
|
return input
|
|
1115
1113
|
.filter((e) => e != null)
|
|
1116
1114
|
.map((entry) => {
|
|
1117
1115
|
return entry;
|
|
1118
1116
|
});
|
|
1119
1117
|
};
|
|
1120
|
-
const
|
|
1118
|
+
const se_InstanceIdentity = (input, context) => {
|
|
1121
1119
|
return {
|
|
1122
1120
|
...(input.document != null && { document: input.document }),
|
|
1123
1121
|
...(input.signature != null && { signature: input.signature }),
|
|
1124
1122
|
};
|
|
1125
1123
|
};
|
|
1126
|
-
const
|
|
1124
|
+
const se_ListPipelinesInput = (input, context) => {
|
|
1127
1125
|
return {
|
|
1128
1126
|
...(input.marker != null && { marker: input.marker }),
|
|
1129
1127
|
};
|
|
1130
1128
|
};
|
|
1131
|
-
const
|
|
1129
|
+
const se_Operator = (input, context) => {
|
|
1132
1130
|
return {
|
|
1133
1131
|
...(input.type != null && { type: input.type }),
|
|
1134
|
-
...(input.values != null && { values:
|
|
1132
|
+
...(input.values != null && { values: se_stringList(input.values, context) }),
|
|
1135
1133
|
};
|
|
1136
1134
|
};
|
|
1137
|
-
const
|
|
1135
|
+
const se_ParameterAttribute = (input, context) => {
|
|
1138
1136
|
return {
|
|
1139
1137
|
...(input.key != null && { key: input.key }),
|
|
1140
1138
|
...(input.stringValue != null && { stringValue: input.stringValue }),
|
|
1141
1139
|
};
|
|
1142
1140
|
};
|
|
1143
|
-
const
|
|
1141
|
+
const se_ParameterAttributeList = (input, context) => {
|
|
1144
1142
|
return input
|
|
1145
1143
|
.filter((e) => e != null)
|
|
1146
1144
|
.map((entry) => {
|
|
1147
|
-
return
|
|
1145
|
+
return se_ParameterAttribute(entry, context);
|
|
1148
1146
|
});
|
|
1149
1147
|
};
|
|
1150
|
-
const
|
|
1148
|
+
const se_ParameterObject = (input, context) => {
|
|
1151
1149
|
return {
|
|
1152
|
-
...(input.attributes != null && {
|
|
1153
|
-
attributes: serializeAws_json1_1ParameterAttributeList(input.attributes, context),
|
|
1154
|
-
}),
|
|
1150
|
+
...(input.attributes != null && { attributes: se_ParameterAttributeList(input.attributes, context) }),
|
|
1155
1151
|
...(input.id != null && { id: input.id }),
|
|
1156
1152
|
};
|
|
1157
1153
|
};
|
|
1158
|
-
const
|
|
1154
|
+
const se_ParameterObjectList = (input, context) => {
|
|
1159
1155
|
return input
|
|
1160
1156
|
.filter((e) => e != null)
|
|
1161
1157
|
.map((entry) => {
|
|
1162
|
-
return
|
|
1158
|
+
return se_ParameterObject(entry, context);
|
|
1163
1159
|
});
|
|
1164
1160
|
};
|
|
1165
|
-
const
|
|
1161
|
+
const se_ParameterValue = (input, context) => {
|
|
1166
1162
|
return {
|
|
1167
1163
|
...(input.id != null && { id: input.id }),
|
|
1168
1164
|
...(input.stringValue != null && { stringValue: input.stringValue }),
|
|
1169
1165
|
};
|
|
1170
1166
|
};
|
|
1171
|
-
const
|
|
1167
|
+
const se_ParameterValueList = (input, context) => {
|
|
1172
1168
|
return input
|
|
1173
1169
|
.filter((e) => e != null)
|
|
1174
1170
|
.map((entry) => {
|
|
1175
|
-
return
|
|
1171
|
+
return se_ParameterValue(entry, context);
|
|
1176
1172
|
});
|
|
1177
1173
|
};
|
|
1178
|
-
const
|
|
1174
|
+
const se_PipelineObject = (input, context) => {
|
|
1179
1175
|
return {
|
|
1180
|
-
...(input.fields != null && { fields:
|
|
1176
|
+
...(input.fields != null && { fields: se_fieldList(input.fields, context) }),
|
|
1181
1177
|
...(input.id != null && { id: input.id }),
|
|
1182
1178
|
...(input.name != null && { name: input.name }),
|
|
1183
1179
|
};
|
|
1184
1180
|
};
|
|
1185
|
-
const
|
|
1181
|
+
const se_PipelineObjectList = (input, context) => {
|
|
1186
1182
|
return input
|
|
1187
1183
|
.filter((e) => e != null)
|
|
1188
1184
|
.map((entry) => {
|
|
1189
|
-
return
|
|
1185
|
+
return se_PipelineObject(entry, context);
|
|
1190
1186
|
});
|
|
1191
1187
|
};
|
|
1192
|
-
const
|
|
1188
|
+
const se_PollForTaskInput = (input, context) => {
|
|
1193
1189
|
return {
|
|
1194
1190
|
...(input.hostname != null && { hostname: input.hostname }),
|
|
1195
|
-
...(input.instanceIdentity != null && {
|
|
1196
|
-
instanceIdentity: serializeAws_json1_1InstanceIdentity(input.instanceIdentity, context),
|
|
1197
|
-
}),
|
|
1191
|
+
...(input.instanceIdentity != null && { instanceIdentity: se_InstanceIdentity(input.instanceIdentity, context) }),
|
|
1198
1192
|
...(input.workerGroup != null && { workerGroup: input.workerGroup }),
|
|
1199
1193
|
};
|
|
1200
1194
|
};
|
|
1201
|
-
const
|
|
1195
|
+
const se_PutPipelineDefinitionInput = (input, context) => {
|
|
1202
1196
|
return {
|
|
1203
1197
|
...(input.parameterObjects != null && {
|
|
1204
|
-
parameterObjects:
|
|
1205
|
-
}),
|
|
1206
|
-
...(input.parameterValues != null && {
|
|
1207
|
-
parameterValues: serializeAws_json1_1ParameterValueList(input.parameterValues, context),
|
|
1198
|
+
parameterObjects: se_ParameterObjectList(input.parameterObjects, context),
|
|
1208
1199
|
}),
|
|
1200
|
+
...(input.parameterValues != null && { parameterValues: se_ParameterValueList(input.parameterValues, context) }),
|
|
1209
1201
|
...(input.pipelineId != null && { pipelineId: input.pipelineId }),
|
|
1210
|
-
...(input.pipelineObjects != null && {
|
|
1211
|
-
pipelineObjects: serializeAws_json1_1PipelineObjectList(input.pipelineObjects, context),
|
|
1212
|
-
}),
|
|
1202
|
+
...(input.pipelineObjects != null && { pipelineObjects: se_PipelineObjectList(input.pipelineObjects, context) }),
|
|
1213
1203
|
};
|
|
1214
1204
|
};
|
|
1215
|
-
const
|
|
1205
|
+
const se_Query = (input, context) => {
|
|
1216
1206
|
return {
|
|
1217
|
-
...(input.selectors != null && { selectors:
|
|
1207
|
+
...(input.selectors != null && { selectors: se_SelectorList(input.selectors, context) }),
|
|
1218
1208
|
};
|
|
1219
1209
|
};
|
|
1220
|
-
const
|
|
1210
|
+
const se_QueryObjectsInput = (input, context) => {
|
|
1221
1211
|
return {
|
|
1222
1212
|
...(input.limit != null && { limit: input.limit }),
|
|
1223
1213
|
...(input.marker != null && { marker: input.marker }),
|
|
1224
1214
|
...(input.pipelineId != null && { pipelineId: input.pipelineId }),
|
|
1225
|
-
...(input.query != null && { query:
|
|
1215
|
+
...(input.query != null && { query: se_Query(input.query, context) }),
|
|
1226
1216
|
...(input.sphere != null && { sphere: input.sphere }),
|
|
1227
1217
|
};
|
|
1228
1218
|
};
|
|
1229
|
-
const
|
|
1219
|
+
const se_RemoveTagsInput = (input, context) => {
|
|
1230
1220
|
return {
|
|
1231
1221
|
...(input.pipelineId != null && { pipelineId: input.pipelineId }),
|
|
1232
|
-
...(input.tagKeys != null && { tagKeys:
|
|
1222
|
+
...(input.tagKeys != null && { tagKeys: se_stringList(input.tagKeys, context) }),
|
|
1233
1223
|
};
|
|
1234
1224
|
};
|
|
1235
|
-
const
|
|
1225
|
+
const se_ReportTaskProgressInput = (input, context) => {
|
|
1236
1226
|
return {
|
|
1237
|
-
...(input.fields != null && { fields:
|
|
1227
|
+
...(input.fields != null && { fields: se_fieldList(input.fields, context) }),
|
|
1238
1228
|
...(input.taskId != null && { taskId: input.taskId }),
|
|
1239
1229
|
};
|
|
1240
1230
|
};
|
|
1241
|
-
const
|
|
1231
|
+
const se_ReportTaskRunnerHeartbeatInput = (input, context) => {
|
|
1242
1232
|
return {
|
|
1243
1233
|
...(input.hostname != null && { hostname: input.hostname }),
|
|
1244
1234
|
...(input.taskrunnerId != null && { taskrunnerId: input.taskrunnerId }),
|
|
1245
1235
|
...(input.workerGroup != null && { workerGroup: input.workerGroup }),
|
|
1246
1236
|
};
|
|
1247
1237
|
};
|
|
1248
|
-
const
|
|
1238
|
+
const se_Selector = (input, context) => {
|
|
1249
1239
|
return {
|
|
1250
1240
|
...(input.fieldName != null && { fieldName: input.fieldName }),
|
|
1251
|
-
...(input.operator != null && { operator:
|
|
1241
|
+
...(input.operator != null && { operator: se_Operator(input.operator, context) }),
|
|
1252
1242
|
};
|
|
1253
1243
|
};
|
|
1254
|
-
const
|
|
1244
|
+
const se_SelectorList = (input, context) => {
|
|
1255
1245
|
return input
|
|
1256
1246
|
.filter((e) => e != null)
|
|
1257
1247
|
.map((entry) => {
|
|
1258
|
-
return
|
|
1248
|
+
return se_Selector(entry, context);
|
|
1259
1249
|
});
|
|
1260
1250
|
};
|
|
1261
|
-
const
|
|
1251
|
+
const se_SetStatusInput = (input, context) => {
|
|
1262
1252
|
return {
|
|
1263
|
-
...(input.objectIds != null && { objectIds:
|
|
1253
|
+
...(input.objectIds != null && { objectIds: se_idList(input.objectIds, context) }),
|
|
1264
1254
|
...(input.pipelineId != null && { pipelineId: input.pipelineId }),
|
|
1265
1255
|
...(input.status != null && { status: input.status }),
|
|
1266
1256
|
};
|
|
1267
1257
|
};
|
|
1268
|
-
const
|
|
1258
|
+
const se_SetTaskStatusInput = (input, context) => {
|
|
1269
1259
|
return {
|
|
1270
1260
|
...(input.errorId != null && { errorId: input.errorId }),
|
|
1271
1261
|
...(input.errorMessage != null && { errorMessage: input.errorMessage }),
|
|
@@ -1274,107 +1264,95 @@ const serializeAws_json1_1SetTaskStatusInput = (input, context) => {
|
|
|
1274
1264
|
...(input.taskStatus != null && { taskStatus: input.taskStatus }),
|
|
1275
1265
|
};
|
|
1276
1266
|
};
|
|
1277
|
-
const
|
|
1267
|
+
const se_stringList = (input, context) => {
|
|
1278
1268
|
return input
|
|
1279
1269
|
.filter((e) => e != null)
|
|
1280
1270
|
.map((entry) => {
|
|
1281
1271
|
return entry;
|
|
1282
1272
|
});
|
|
1283
1273
|
};
|
|
1284
|
-
const
|
|
1274
|
+
const se_Tag = (input, context) => {
|
|
1285
1275
|
return {
|
|
1286
1276
|
...(input.key != null && { key: input.key }),
|
|
1287
1277
|
...(input.value != null && { value: input.value }),
|
|
1288
1278
|
};
|
|
1289
1279
|
};
|
|
1290
|
-
const
|
|
1280
|
+
const se_tagList = (input, context) => {
|
|
1291
1281
|
return input
|
|
1292
1282
|
.filter((e) => e != null)
|
|
1293
1283
|
.map((entry) => {
|
|
1294
|
-
return
|
|
1284
|
+
return se_Tag(entry, context);
|
|
1295
1285
|
});
|
|
1296
1286
|
};
|
|
1297
|
-
const
|
|
1287
|
+
const se_ValidatePipelineDefinitionInput = (input, context) => {
|
|
1298
1288
|
return {
|
|
1299
1289
|
...(input.parameterObjects != null && {
|
|
1300
|
-
parameterObjects:
|
|
1301
|
-
}),
|
|
1302
|
-
...(input.parameterValues != null && {
|
|
1303
|
-
parameterValues: serializeAws_json1_1ParameterValueList(input.parameterValues, context),
|
|
1290
|
+
parameterObjects: se_ParameterObjectList(input.parameterObjects, context),
|
|
1304
1291
|
}),
|
|
1292
|
+
...(input.parameterValues != null && { parameterValues: se_ParameterValueList(input.parameterValues, context) }),
|
|
1305
1293
|
...(input.pipelineId != null && { pipelineId: input.pipelineId }),
|
|
1306
|
-
...(input.pipelineObjects != null && {
|
|
1307
|
-
pipelineObjects: serializeAws_json1_1PipelineObjectList(input.pipelineObjects, context),
|
|
1308
|
-
}),
|
|
1294
|
+
...(input.pipelineObjects != null && { pipelineObjects: se_PipelineObjectList(input.pipelineObjects, context) }),
|
|
1309
1295
|
};
|
|
1310
1296
|
};
|
|
1311
|
-
const
|
|
1297
|
+
const de_ActivatePipelineOutput = (output, context) => {
|
|
1312
1298
|
return {};
|
|
1313
1299
|
};
|
|
1314
|
-
const
|
|
1300
|
+
const de_AddTagsOutput = (output, context) => {
|
|
1315
1301
|
return {};
|
|
1316
1302
|
};
|
|
1317
|
-
const
|
|
1303
|
+
const de_CreatePipelineOutput = (output, context) => {
|
|
1318
1304
|
return {
|
|
1319
1305
|
pipelineId: (0, smithy_client_1.expectString)(output.pipelineId),
|
|
1320
1306
|
};
|
|
1321
1307
|
};
|
|
1322
|
-
const
|
|
1308
|
+
const de_DeactivatePipelineOutput = (output, context) => {
|
|
1323
1309
|
return {};
|
|
1324
1310
|
};
|
|
1325
|
-
const
|
|
1311
|
+
const de_DescribeObjectsOutput = (output, context) => {
|
|
1326
1312
|
return {
|
|
1327
1313
|
hasMoreResults: (0, smithy_client_1.expectBoolean)(output.hasMoreResults),
|
|
1328
1314
|
marker: (0, smithy_client_1.expectString)(output.marker),
|
|
1329
|
-
pipelineObjects: output.pipelineObjects != null
|
|
1330
|
-
? deserializeAws_json1_1PipelineObjectList(output.pipelineObjects, context)
|
|
1331
|
-
: undefined,
|
|
1315
|
+
pipelineObjects: output.pipelineObjects != null ? de_PipelineObjectList(output.pipelineObjects, context) : undefined,
|
|
1332
1316
|
};
|
|
1333
1317
|
};
|
|
1334
|
-
const
|
|
1318
|
+
const de_DescribePipelinesOutput = (output, context) => {
|
|
1335
1319
|
return {
|
|
1336
1320
|
pipelineDescriptionList: output.pipelineDescriptionList != null
|
|
1337
|
-
?
|
|
1321
|
+
? de_PipelineDescriptionList(output.pipelineDescriptionList, context)
|
|
1338
1322
|
: undefined,
|
|
1339
1323
|
};
|
|
1340
1324
|
};
|
|
1341
|
-
const
|
|
1325
|
+
const de_EvaluateExpressionOutput = (output, context) => {
|
|
1342
1326
|
return {
|
|
1343
1327
|
evaluatedExpression: (0, smithy_client_1.expectString)(output.evaluatedExpression),
|
|
1344
1328
|
};
|
|
1345
1329
|
};
|
|
1346
|
-
const
|
|
1330
|
+
const de_Field = (output, context) => {
|
|
1347
1331
|
return {
|
|
1348
1332
|
key: (0, smithy_client_1.expectString)(output.key),
|
|
1349
1333
|
refValue: (0, smithy_client_1.expectString)(output.refValue),
|
|
1350
1334
|
stringValue: (0, smithy_client_1.expectString)(output.stringValue),
|
|
1351
1335
|
};
|
|
1352
1336
|
};
|
|
1353
|
-
const
|
|
1337
|
+
const de_fieldList = (output, context) => {
|
|
1354
1338
|
const retVal = (output || [])
|
|
1355
1339
|
.filter((e) => e != null)
|
|
1356
1340
|
.map((entry) => {
|
|
1357
1341
|
if (entry === null) {
|
|
1358
1342
|
return null;
|
|
1359
1343
|
}
|
|
1360
|
-
return
|
|
1344
|
+
return de_Field(entry, context);
|
|
1361
1345
|
});
|
|
1362
1346
|
return retVal;
|
|
1363
1347
|
};
|
|
1364
|
-
const
|
|
1348
|
+
const de_GetPipelineDefinitionOutput = (output, context) => {
|
|
1365
1349
|
return {
|
|
1366
|
-
parameterObjects: output.parameterObjects != null
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
parameterValues: output.parameterValues != null
|
|
1370
|
-
? deserializeAws_json1_1ParameterValueList(output.parameterValues, context)
|
|
1371
|
-
: undefined,
|
|
1372
|
-
pipelineObjects: output.pipelineObjects != null
|
|
1373
|
-
? deserializeAws_json1_1PipelineObjectList(output.pipelineObjects, context)
|
|
1374
|
-
: undefined,
|
|
1350
|
+
parameterObjects: output.parameterObjects != null ? de_ParameterObjectList(output.parameterObjects, context) : undefined,
|
|
1351
|
+
parameterValues: output.parameterValues != null ? de_ParameterValueList(output.parameterValues, context) : undefined,
|
|
1352
|
+
pipelineObjects: output.pipelineObjects != null ? de_PipelineObjectList(output.pipelineObjects, context) : undefined,
|
|
1375
1353
|
};
|
|
1376
1354
|
};
|
|
1377
|
-
const
|
|
1355
|
+
const de_idList = (output, context) => {
|
|
1378
1356
|
const retVal = (output || [])
|
|
1379
1357
|
.filter((e) => e != null)
|
|
1380
1358
|
.map((entry) => {
|
|
@@ -1385,246 +1363,238 @@ const deserializeAws_json1_1idList = (output, context) => {
|
|
|
1385
1363
|
});
|
|
1386
1364
|
return retVal;
|
|
1387
1365
|
};
|
|
1388
|
-
const
|
|
1366
|
+
const de_InternalServiceError = (output, context) => {
|
|
1389
1367
|
return {
|
|
1390
1368
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
1391
1369
|
};
|
|
1392
1370
|
};
|
|
1393
|
-
const
|
|
1371
|
+
const de_InvalidRequestException = (output, context) => {
|
|
1394
1372
|
return {
|
|
1395
1373
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
1396
1374
|
};
|
|
1397
1375
|
};
|
|
1398
|
-
const
|
|
1376
|
+
const de_ListPipelinesOutput = (output, context) => {
|
|
1399
1377
|
return {
|
|
1400
1378
|
hasMoreResults: (0, smithy_client_1.expectBoolean)(output.hasMoreResults),
|
|
1401
1379
|
marker: (0, smithy_client_1.expectString)(output.marker),
|
|
1402
|
-
pipelineIdList: output.pipelineIdList != null ?
|
|
1380
|
+
pipelineIdList: output.pipelineIdList != null ? de_pipelineList(output.pipelineIdList, context) : undefined,
|
|
1403
1381
|
};
|
|
1404
1382
|
};
|
|
1405
|
-
const
|
|
1383
|
+
const de_ParameterAttribute = (output, context) => {
|
|
1406
1384
|
return {
|
|
1407
1385
|
key: (0, smithy_client_1.expectString)(output.key),
|
|
1408
1386
|
stringValue: (0, smithy_client_1.expectString)(output.stringValue),
|
|
1409
1387
|
};
|
|
1410
1388
|
};
|
|
1411
|
-
const
|
|
1389
|
+
const de_ParameterAttributeList = (output, context) => {
|
|
1412
1390
|
const retVal = (output || [])
|
|
1413
1391
|
.filter((e) => e != null)
|
|
1414
1392
|
.map((entry) => {
|
|
1415
1393
|
if (entry === null) {
|
|
1416
1394
|
return null;
|
|
1417
1395
|
}
|
|
1418
|
-
return
|
|
1396
|
+
return de_ParameterAttribute(entry, context);
|
|
1419
1397
|
});
|
|
1420
1398
|
return retVal;
|
|
1421
1399
|
};
|
|
1422
|
-
const
|
|
1400
|
+
const de_ParameterObject = (output, context) => {
|
|
1423
1401
|
return {
|
|
1424
|
-
attributes: output.attributes != null ?
|
|
1402
|
+
attributes: output.attributes != null ? de_ParameterAttributeList(output.attributes, context) : undefined,
|
|
1425
1403
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
1426
1404
|
};
|
|
1427
1405
|
};
|
|
1428
|
-
const
|
|
1406
|
+
const de_ParameterObjectList = (output, context) => {
|
|
1429
1407
|
const retVal = (output || [])
|
|
1430
1408
|
.filter((e) => e != null)
|
|
1431
1409
|
.map((entry) => {
|
|
1432
1410
|
if (entry === null) {
|
|
1433
1411
|
return null;
|
|
1434
1412
|
}
|
|
1435
|
-
return
|
|
1413
|
+
return de_ParameterObject(entry, context);
|
|
1436
1414
|
});
|
|
1437
1415
|
return retVal;
|
|
1438
1416
|
};
|
|
1439
|
-
const
|
|
1417
|
+
const de_ParameterValue = (output, context) => {
|
|
1440
1418
|
return {
|
|
1441
1419
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
1442
1420
|
stringValue: (0, smithy_client_1.expectString)(output.stringValue),
|
|
1443
1421
|
};
|
|
1444
1422
|
};
|
|
1445
|
-
const
|
|
1423
|
+
const de_ParameterValueList = (output, context) => {
|
|
1446
1424
|
const retVal = (output || [])
|
|
1447
1425
|
.filter((e) => e != null)
|
|
1448
1426
|
.map((entry) => {
|
|
1449
1427
|
if (entry === null) {
|
|
1450
1428
|
return null;
|
|
1451
1429
|
}
|
|
1452
|
-
return
|
|
1430
|
+
return de_ParameterValue(entry, context);
|
|
1453
1431
|
});
|
|
1454
1432
|
return retVal;
|
|
1455
1433
|
};
|
|
1456
|
-
const
|
|
1434
|
+
const de_PipelineDeletedException = (output, context) => {
|
|
1457
1435
|
return {
|
|
1458
1436
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
1459
1437
|
};
|
|
1460
1438
|
};
|
|
1461
|
-
const
|
|
1439
|
+
const de_PipelineDescription = (output, context) => {
|
|
1462
1440
|
return {
|
|
1463
1441
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
1464
|
-
fields: output.fields != null ?
|
|
1442
|
+
fields: output.fields != null ? de_fieldList(output.fields, context) : undefined,
|
|
1465
1443
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
1466
1444
|
pipelineId: (0, smithy_client_1.expectString)(output.pipelineId),
|
|
1467
|
-
tags: output.tags != null ?
|
|
1445
|
+
tags: output.tags != null ? de_tagList(output.tags, context) : undefined,
|
|
1468
1446
|
};
|
|
1469
1447
|
};
|
|
1470
|
-
const
|
|
1448
|
+
const de_PipelineDescriptionList = (output, context) => {
|
|
1471
1449
|
const retVal = (output || [])
|
|
1472
1450
|
.filter((e) => e != null)
|
|
1473
1451
|
.map((entry) => {
|
|
1474
1452
|
if (entry === null) {
|
|
1475
1453
|
return null;
|
|
1476
1454
|
}
|
|
1477
|
-
return
|
|
1455
|
+
return de_PipelineDescription(entry, context);
|
|
1478
1456
|
});
|
|
1479
1457
|
return retVal;
|
|
1480
1458
|
};
|
|
1481
|
-
const
|
|
1459
|
+
const de_PipelineIdName = (output, context) => {
|
|
1482
1460
|
return {
|
|
1483
1461
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
1484
1462
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
1485
1463
|
};
|
|
1486
1464
|
};
|
|
1487
|
-
const
|
|
1465
|
+
const de_pipelineList = (output, context) => {
|
|
1488
1466
|
const retVal = (output || [])
|
|
1489
1467
|
.filter((e) => e != null)
|
|
1490
1468
|
.map((entry) => {
|
|
1491
1469
|
if (entry === null) {
|
|
1492
1470
|
return null;
|
|
1493
1471
|
}
|
|
1494
|
-
return
|
|
1472
|
+
return de_PipelineIdName(entry, context);
|
|
1495
1473
|
});
|
|
1496
1474
|
return retVal;
|
|
1497
1475
|
};
|
|
1498
|
-
const
|
|
1476
|
+
const de_PipelineNotFoundException = (output, context) => {
|
|
1499
1477
|
return {
|
|
1500
1478
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
1501
1479
|
};
|
|
1502
1480
|
};
|
|
1503
|
-
const
|
|
1481
|
+
const de_PipelineObject = (output, context) => {
|
|
1504
1482
|
return {
|
|
1505
|
-
fields: output.fields != null ?
|
|
1483
|
+
fields: output.fields != null ? de_fieldList(output.fields, context) : undefined,
|
|
1506
1484
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
1507
1485
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
1508
1486
|
};
|
|
1509
1487
|
};
|
|
1510
|
-
const
|
|
1488
|
+
const de_PipelineObjectList = (output, context) => {
|
|
1511
1489
|
const retVal = (output || [])
|
|
1512
1490
|
.filter((e) => e != null)
|
|
1513
1491
|
.map((entry) => {
|
|
1514
1492
|
if (entry === null) {
|
|
1515
1493
|
return null;
|
|
1516
1494
|
}
|
|
1517
|
-
return
|
|
1495
|
+
return de_PipelineObject(entry, context);
|
|
1518
1496
|
});
|
|
1519
1497
|
return retVal;
|
|
1520
1498
|
};
|
|
1521
|
-
const
|
|
1499
|
+
const de_PipelineObjectMap = (output, context) => {
|
|
1522
1500
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1523
1501
|
if (value === null) {
|
|
1524
1502
|
return acc;
|
|
1525
1503
|
}
|
|
1526
|
-
acc[key] =
|
|
1504
|
+
acc[key] = de_PipelineObject(value, context);
|
|
1527
1505
|
return acc;
|
|
1528
1506
|
}, {});
|
|
1529
1507
|
};
|
|
1530
|
-
const
|
|
1508
|
+
const de_PollForTaskOutput = (output, context) => {
|
|
1531
1509
|
return {
|
|
1532
|
-
taskObject: output.taskObject != null ?
|
|
1510
|
+
taskObject: output.taskObject != null ? de_TaskObject(output.taskObject, context) : undefined,
|
|
1533
1511
|
};
|
|
1534
1512
|
};
|
|
1535
|
-
const
|
|
1513
|
+
const de_PutPipelineDefinitionOutput = (output, context) => {
|
|
1536
1514
|
return {
|
|
1537
1515
|
errored: (0, smithy_client_1.expectBoolean)(output.errored),
|
|
1538
|
-
validationErrors: output.validationErrors != null
|
|
1539
|
-
|
|
1540
|
-
: undefined,
|
|
1541
|
-
validationWarnings: output.validationWarnings != null
|
|
1542
|
-
? deserializeAws_json1_1ValidationWarnings(output.validationWarnings, context)
|
|
1543
|
-
: undefined,
|
|
1516
|
+
validationErrors: output.validationErrors != null ? de_ValidationErrors(output.validationErrors, context) : undefined,
|
|
1517
|
+
validationWarnings: output.validationWarnings != null ? de_ValidationWarnings(output.validationWarnings, context) : undefined,
|
|
1544
1518
|
};
|
|
1545
1519
|
};
|
|
1546
|
-
const
|
|
1520
|
+
const de_QueryObjectsOutput = (output, context) => {
|
|
1547
1521
|
return {
|
|
1548
1522
|
hasMoreResults: (0, smithy_client_1.expectBoolean)(output.hasMoreResults),
|
|
1549
|
-
ids: output.ids != null ?
|
|
1523
|
+
ids: output.ids != null ? de_idList(output.ids, context) : undefined,
|
|
1550
1524
|
marker: (0, smithy_client_1.expectString)(output.marker),
|
|
1551
1525
|
};
|
|
1552
1526
|
};
|
|
1553
|
-
const
|
|
1527
|
+
const de_RemoveTagsOutput = (output, context) => {
|
|
1554
1528
|
return {};
|
|
1555
1529
|
};
|
|
1556
|
-
const
|
|
1530
|
+
const de_ReportTaskProgressOutput = (output, context) => {
|
|
1557
1531
|
return {
|
|
1558
1532
|
canceled: (0, smithy_client_1.expectBoolean)(output.canceled),
|
|
1559
1533
|
};
|
|
1560
1534
|
};
|
|
1561
|
-
const
|
|
1535
|
+
const de_ReportTaskRunnerHeartbeatOutput = (output, context) => {
|
|
1562
1536
|
return {
|
|
1563
1537
|
terminate: (0, smithy_client_1.expectBoolean)(output.terminate),
|
|
1564
1538
|
};
|
|
1565
1539
|
};
|
|
1566
|
-
const
|
|
1540
|
+
const de_SetTaskStatusOutput = (output, context) => {
|
|
1567
1541
|
return {};
|
|
1568
1542
|
};
|
|
1569
|
-
const
|
|
1543
|
+
const de_Tag = (output, context) => {
|
|
1570
1544
|
return {
|
|
1571
1545
|
key: (0, smithy_client_1.expectString)(output.key),
|
|
1572
1546
|
value: (0, smithy_client_1.expectString)(output.value),
|
|
1573
1547
|
};
|
|
1574
1548
|
};
|
|
1575
|
-
const
|
|
1549
|
+
const de_tagList = (output, context) => {
|
|
1576
1550
|
const retVal = (output || [])
|
|
1577
1551
|
.filter((e) => e != null)
|
|
1578
1552
|
.map((entry) => {
|
|
1579
1553
|
if (entry === null) {
|
|
1580
1554
|
return null;
|
|
1581
1555
|
}
|
|
1582
|
-
return
|
|
1556
|
+
return de_Tag(entry, context);
|
|
1583
1557
|
});
|
|
1584
1558
|
return retVal;
|
|
1585
1559
|
};
|
|
1586
|
-
const
|
|
1560
|
+
const de_TaskNotFoundException = (output, context) => {
|
|
1587
1561
|
return {
|
|
1588
1562
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
1589
1563
|
};
|
|
1590
1564
|
};
|
|
1591
|
-
const
|
|
1565
|
+
const de_TaskObject = (output, context) => {
|
|
1592
1566
|
return {
|
|
1593
1567
|
attemptId: (0, smithy_client_1.expectString)(output.attemptId),
|
|
1594
|
-
objects: output.objects != null ?
|
|
1568
|
+
objects: output.objects != null ? de_PipelineObjectMap(output.objects, context) : undefined,
|
|
1595
1569
|
pipelineId: (0, smithy_client_1.expectString)(output.pipelineId),
|
|
1596
1570
|
taskId: (0, smithy_client_1.expectString)(output.taskId),
|
|
1597
1571
|
};
|
|
1598
1572
|
};
|
|
1599
|
-
const
|
|
1573
|
+
const de_ValidatePipelineDefinitionOutput = (output, context) => {
|
|
1600
1574
|
return {
|
|
1601
1575
|
errored: (0, smithy_client_1.expectBoolean)(output.errored),
|
|
1602
|
-
validationErrors: output.validationErrors != null
|
|
1603
|
-
|
|
1604
|
-
: undefined,
|
|
1605
|
-
validationWarnings: output.validationWarnings != null
|
|
1606
|
-
? deserializeAws_json1_1ValidationWarnings(output.validationWarnings, context)
|
|
1607
|
-
: undefined,
|
|
1576
|
+
validationErrors: output.validationErrors != null ? de_ValidationErrors(output.validationErrors, context) : undefined,
|
|
1577
|
+
validationWarnings: output.validationWarnings != null ? de_ValidationWarnings(output.validationWarnings, context) : undefined,
|
|
1608
1578
|
};
|
|
1609
1579
|
};
|
|
1610
|
-
const
|
|
1580
|
+
const de_ValidationError = (output, context) => {
|
|
1611
1581
|
return {
|
|
1612
|
-
errors: output.errors != null ?
|
|
1582
|
+
errors: output.errors != null ? de_validationMessages(output.errors, context) : undefined,
|
|
1613
1583
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
1614
1584
|
};
|
|
1615
1585
|
};
|
|
1616
|
-
const
|
|
1586
|
+
const de_ValidationErrors = (output, context) => {
|
|
1617
1587
|
const retVal = (output || [])
|
|
1618
1588
|
.filter((e) => e != null)
|
|
1619
1589
|
.map((entry) => {
|
|
1620
1590
|
if (entry === null) {
|
|
1621
1591
|
return null;
|
|
1622
1592
|
}
|
|
1623
|
-
return
|
|
1593
|
+
return de_ValidationError(entry, context);
|
|
1624
1594
|
});
|
|
1625
1595
|
return retVal;
|
|
1626
1596
|
};
|
|
1627
|
-
const
|
|
1597
|
+
const de_validationMessages = (output, context) => {
|
|
1628
1598
|
const retVal = (output || [])
|
|
1629
1599
|
.filter((e) => e != null)
|
|
1630
1600
|
.map((entry) => {
|
|
@@ -1635,20 +1605,20 @@ const deserializeAws_json1_1validationMessages = (output, context) => {
|
|
|
1635
1605
|
});
|
|
1636
1606
|
return retVal;
|
|
1637
1607
|
};
|
|
1638
|
-
const
|
|
1608
|
+
const de_ValidationWarning = (output, context) => {
|
|
1639
1609
|
return {
|
|
1640
1610
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
1641
|
-
warnings: output.warnings != null ?
|
|
1611
|
+
warnings: output.warnings != null ? de_validationMessages(output.warnings, context) : undefined,
|
|
1642
1612
|
};
|
|
1643
1613
|
};
|
|
1644
|
-
const
|
|
1614
|
+
const de_ValidationWarnings = (output, context) => {
|
|
1645
1615
|
const retVal = (output || [])
|
|
1646
1616
|
.filter((e) => e != null)
|
|
1647
1617
|
.map((entry) => {
|
|
1648
1618
|
if (entry === null) {
|
|
1649
1619
|
return null;
|
|
1650
1620
|
}
|
|
1651
|
-
return
|
|
1621
|
+
return de_ValidationWarning(entry, context);
|
|
1652
1622
|
});
|
|
1653
1623
|
return retVal;
|
|
1654
1624
|
};
|