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