@aws-sdk/client-data-pipeline 3.121.0 → 3.130.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/CHANGELOG.md +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +97 -134
- package/dist-es/protocols/Aws_json1_1.js +58 -95
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **codegen:** fix error code parsing when it's a number ([#3371](https://github.com/aws/aws-sdk-js-v3/issues/3371)) ([c2d8522](https://github.com/aws/aws-sdk-js-v3/commit/c2d852279a3d23958521a6ceb4f4c642b0cb1848))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-data-pipeline
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-data-pipeline
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
|
|
7
34
|
|
|
8
35
|
|
|
@@ -1095,68 +1095,63 @@ const deserializeAws_json1_1TaskNotFoundExceptionResponse = async (parsedOutput,
|
|
|
1095
1095
|
};
|
|
1096
1096
|
const serializeAws_json1_1ActivatePipelineInput = (input, context) => {
|
|
1097
1097
|
return {
|
|
1098
|
-
...(input.parameterValues
|
|
1099
|
-
input.parameterValues !== null && {
|
|
1098
|
+
...(input.parameterValues != null && {
|
|
1100
1099
|
parameterValues: serializeAws_json1_1ParameterValueList(input.parameterValues, context),
|
|
1101
1100
|
}),
|
|
1102
|
-
...(input.pipelineId
|
|
1103
|
-
...(input.startTimestamp
|
|
1104
|
-
input.startTimestamp !== null && { startTimestamp: Math.round(input.startTimestamp.getTime() / 1000) }),
|
|
1101
|
+
...(input.pipelineId != null && { pipelineId: input.pipelineId }),
|
|
1102
|
+
...(input.startTimestamp != null && { startTimestamp: Math.round(input.startTimestamp.getTime() / 1000) }),
|
|
1105
1103
|
};
|
|
1106
1104
|
};
|
|
1107
1105
|
const serializeAws_json1_1AddTagsInput = (input, context) => {
|
|
1108
1106
|
return {
|
|
1109
|
-
...(input.pipelineId
|
|
1110
|
-
...(input.tags
|
|
1107
|
+
...(input.pipelineId != null && { pipelineId: input.pipelineId }),
|
|
1108
|
+
...(input.tags != null && { tags: serializeAws_json1_1tagList(input.tags, context) }),
|
|
1111
1109
|
};
|
|
1112
1110
|
};
|
|
1113
1111
|
const serializeAws_json1_1CreatePipelineInput = (input, context) => {
|
|
1114
1112
|
return {
|
|
1115
|
-
...(input.description
|
|
1116
|
-
...(input.name
|
|
1117
|
-
...(input.tags
|
|
1118
|
-
...(input.uniqueId
|
|
1113
|
+
...(input.description != null && { description: input.description }),
|
|
1114
|
+
...(input.name != null && { name: input.name }),
|
|
1115
|
+
...(input.tags != null && { tags: serializeAws_json1_1tagList(input.tags, context) }),
|
|
1116
|
+
...(input.uniqueId != null && { uniqueId: input.uniqueId }),
|
|
1119
1117
|
};
|
|
1120
1118
|
};
|
|
1121
1119
|
const serializeAws_json1_1DeactivatePipelineInput = (input, context) => {
|
|
1122
1120
|
return {
|
|
1123
|
-
...(input.cancelActive
|
|
1124
|
-
...(input.pipelineId
|
|
1121
|
+
...(input.cancelActive != null && { cancelActive: input.cancelActive }),
|
|
1122
|
+
...(input.pipelineId != null && { pipelineId: input.pipelineId }),
|
|
1125
1123
|
};
|
|
1126
1124
|
};
|
|
1127
1125
|
const serializeAws_json1_1DeletePipelineInput = (input, context) => {
|
|
1128
1126
|
return {
|
|
1129
|
-
...(input.pipelineId
|
|
1127
|
+
...(input.pipelineId != null && { pipelineId: input.pipelineId }),
|
|
1130
1128
|
};
|
|
1131
1129
|
};
|
|
1132
1130
|
const serializeAws_json1_1DescribeObjectsInput = (input, context) => {
|
|
1133
1131
|
return {
|
|
1134
|
-
...(input.evaluateExpressions
|
|
1135
|
-
|
|
1136
|
-
...(input.
|
|
1137
|
-
...(input.
|
|
1138
|
-
input.objectIds !== null && { objectIds: serializeAws_json1_1idList(input.objectIds, context) }),
|
|
1139
|
-
...(input.pipelineId !== undefined && input.pipelineId !== null && { pipelineId: input.pipelineId }),
|
|
1132
|
+
...(input.evaluateExpressions != null && { evaluateExpressions: input.evaluateExpressions }),
|
|
1133
|
+
...(input.marker != null && { marker: input.marker }),
|
|
1134
|
+
...(input.objectIds != null && { objectIds: serializeAws_json1_1idList(input.objectIds, context) }),
|
|
1135
|
+
...(input.pipelineId != null && { pipelineId: input.pipelineId }),
|
|
1140
1136
|
};
|
|
1141
1137
|
};
|
|
1142
1138
|
const serializeAws_json1_1DescribePipelinesInput = (input, context) => {
|
|
1143
1139
|
return {
|
|
1144
|
-
...(input.pipelineIds
|
|
1145
|
-
input.pipelineIds !== null && { pipelineIds: serializeAws_json1_1idList(input.pipelineIds, context) }),
|
|
1140
|
+
...(input.pipelineIds != null && { pipelineIds: serializeAws_json1_1idList(input.pipelineIds, context) }),
|
|
1146
1141
|
};
|
|
1147
1142
|
};
|
|
1148
1143
|
const serializeAws_json1_1EvaluateExpressionInput = (input, context) => {
|
|
1149
1144
|
return {
|
|
1150
|
-
...(input.expression
|
|
1151
|
-
...(input.objectId
|
|
1152
|
-
...(input.pipelineId
|
|
1145
|
+
...(input.expression != null && { expression: input.expression }),
|
|
1146
|
+
...(input.objectId != null && { objectId: input.objectId }),
|
|
1147
|
+
...(input.pipelineId != null && { pipelineId: input.pipelineId }),
|
|
1153
1148
|
};
|
|
1154
1149
|
};
|
|
1155
1150
|
const serializeAws_json1_1Field = (input, context) => {
|
|
1156
1151
|
return {
|
|
1157
|
-
...(input.key
|
|
1158
|
-
...(input.refValue
|
|
1159
|
-
...(input.stringValue
|
|
1152
|
+
...(input.key != null && { key: input.key }),
|
|
1153
|
+
...(input.refValue != null && { refValue: input.refValue }),
|
|
1154
|
+
...(input.stringValue != null && { stringValue: input.stringValue }),
|
|
1160
1155
|
};
|
|
1161
1156
|
};
|
|
1162
1157
|
const serializeAws_json1_1fieldList = (input, context) => {
|
|
@@ -1171,8 +1166,8 @@ const serializeAws_json1_1fieldList = (input, context) => {
|
|
|
1171
1166
|
};
|
|
1172
1167
|
const serializeAws_json1_1GetPipelineDefinitionInput = (input, context) => {
|
|
1173
1168
|
return {
|
|
1174
|
-
...(input.pipelineId
|
|
1175
|
-
...(input.version
|
|
1169
|
+
...(input.pipelineId != null && { pipelineId: input.pipelineId }),
|
|
1170
|
+
...(input.version != null && { version: input.version }),
|
|
1176
1171
|
};
|
|
1177
1172
|
};
|
|
1178
1173
|
const serializeAws_json1_1idList = (input, context) => {
|
|
@@ -1187,26 +1182,25 @@ const serializeAws_json1_1idList = (input, context) => {
|
|
|
1187
1182
|
};
|
|
1188
1183
|
const serializeAws_json1_1InstanceIdentity = (input, context) => {
|
|
1189
1184
|
return {
|
|
1190
|
-
...(input.document
|
|
1191
|
-
...(input.signature
|
|
1185
|
+
...(input.document != null && { document: input.document }),
|
|
1186
|
+
...(input.signature != null && { signature: input.signature }),
|
|
1192
1187
|
};
|
|
1193
1188
|
};
|
|
1194
1189
|
const serializeAws_json1_1ListPipelinesInput = (input, context) => {
|
|
1195
1190
|
return {
|
|
1196
|
-
...(input.marker
|
|
1191
|
+
...(input.marker != null && { marker: input.marker }),
|
|
1197
1192
|
};
|
|
1198
1193
|
};
|
|
1199
1194
|
const serializeAws_json1_1Operator = (input, context) => {
|
|
1200
1195
|
return {
|
|
1201
|
-
...(input.type
|
|
1202
|
-
...(input.values
|
|
1203
|
-
input.values !== null && { values: serializeAws_json1_1stringList(input.values, context) }),
|
|
1196
|
+
...(input.type != null && { type: input.type }),
|
|
1197
|
+
...(input.values != null && { values: serializeAws_json1_1stringList(input.values, context) }),
|
|
1204
1198
|
};
|
|
1205
1199
|
};
|
|
1206
1200
|
const serializeAws_json1_1ParameterAttribute = (input, context) => {
|
|
1207
1201
|
return {
|
|
1208
|
-
...(input.key
|
|
1209
|
-
...(input.stringValue
|
|
1202
|
+
...(input.key != null && { key: input.key }),
|
|
1203
|
+
...(input.stringValue != null && { stringValue: input.stringValue }),
|
|
1210
1204
|
};
|
|
1211
1205
|
};
|
|
1212
1206
|
const serializeAws_json1_1ParameterAttributeList = (input, context) => {
|
|
@@ -1221,11 +1215,10 @@ const serializeAws_json1_1ParameterAttributeList = (input, context) => {
|
|
|
1221
1215
|
};
|
|
1222
1216
|
const serializeAws_json1_1ParameterObject = (input, context) => {
|
|
1223
1217
|
return {
|
|
1224
|
-
...(input.attributes
|
|
1225
|
-
input.attributes !== null && {
|
|
1218
|
+
...(input.attributes != null && {
|
|
1226
1219
|
attributes: serializeAws_json1_1ParameterAttributeList(input.attributes, context),
|
|
1227
1220
|
}),
|
|
1228
|
-
...(input.id
|
|
1221
|
+
...(input.id != null && { id: input.id }),
|
|
1229
1222
|
};
|
|
1230
1223
|
};
|
|
1231
1224
|
const serializeAws_json1_1ParameterObjectList = (input, context) => {
|
|
@@ -1240,8 +1233,8 @@ const serializeAws_json1_1ParameterObjectList = (input, context) => {
|
|
|
1240
1233
|
};
|
|
1241
1234
|
const serializeAws_json1_1ParameterValue = (input, context) => {
|
|
1242
1235
|
return {
|
|
1243
|
-
...(input.id
|
|
1244
|
-
...(input.stringValue
|
|
1236
|
+
...(input.id != null && { id: input.id }),
|
|
1237
|
+
...(input.stringValue != null && { stringValue: input.stringValue }),
|
|
1245
1238
|
};
|
|
1246
1239
|
};
|
|
1247
1240
|
const serializeAws_json1_1ParameterValueList = (input, context) => {
|
|
@@ -1256,10 +1249,9 @@ const serializeAws_json1_1ParameterValueList = (input, context) => {
|
|
|
1256
1249
|
};
|
|
1257
1250
|
const serializeAws_json1_1PipelineObject = (input, context) => {
|
|
1258
1251
|
return {
|
|
1259
|
-
...(input.fields
|
|
1260
|
-
|
|
1261
|
-
...(input.
|
|
1262
|
-
...(input.name !== undefined && input.name !== null && { name: input.name }),
|
|
1252
|
+
...(input.fields != null && { fields: serializeAws_json1_1fieldList(input.fields, context) }),
|
|
1253
|
+
...(input.id != null && { id: input.id }),
|
|
1254
|
+
...(input.name != null && { name: input.name }),
|
|
1263
1255
|
};
|
|
1264
1256
|
};
|
|
1265
1257
|
const serializeAws_json1_1PipelineObjectList = (input, context) => {
|
|
@@ -1274,73 +1266,64 @@ const serializeAws_json1_1PipelineObjectList = (input, context) => {
|
|
|
1274
1266
|
};
|
|
1275
1267
|
const serializeAws_json1_1PollForTaskInput = (input, context) => {
|
|
1276
1268
|
return {
|
|
1277
|
-
...(input.hostname
|
|
1278
|
-
...(input.instanceIdentity
|
|
1279
|
-
input.instanceIdentity !== null && {
|
|
1269
|
+
...(input.hostname != null && { hostname: input.hostname }),
|
|
1270
|
+
...(input.instanceIdentity != null && {
|
|
1280
1271
|
instanceIdentity: serializeAws_json1_1InstanceIdentity(input.instanceIdentity, context),
|
|
1281
1272
|
}),
|
|
1282
|
-
...(input.workerGroup
|
|
1273
|
+
...(input.workerGroup != null && { workerGroup: input.workerGroup }),
|
|
1283
1274
|
};
|
|
1284
1275
|
};
|
|
1285
1276
|
const serializeAws_json1_1PutPipelineDefinitionInput = (input, context) => {
|
|
1286
1277
|
return {
|
|
1287
|
-
...(input.parameterObjects
|
|
1288
|
-
input.parameterObjects !== null && {
|
|
1278
|
+
...(input.parameterObjects != null && {
|
|
1289
1279
|
parameterObjects: serializeAws_json1_1ParameterObjectList(input.parameterObjects, context),
|
|
1290
1280
|
}),
|
|
1291
|
-
...(input.parameterValues
|
|
1292
|
-
input.parameterValues !== null && {
|
|
1281
|
+
...(input.parameterValues != null && {
|
|
1293
1282
|
parameterValues: serializeAws_json1_1ParameterValueList(input.parameterValues, context),
|
|
1294
1283
|
}),
|
|
1295
|
-
...(input.pipelineId
|
|
1296
|
-
...(input.pipelineObjects
|
|
1297
|
-
input.pipelineObjects !== null && {
|
|
1284
|
+
...(input.pipelineId != null && { pipelineId: input.pipelineId }),
|
|
1285
|
+
...(input.pipelineObjects != null && {
|
|
1298
1286
|
pipelineObjects: serializeAws_json1_1PipelineObjectList(input.pipelineObjects, context),
|
|
1299
1287
|
}),
|
|
1300
1288
|
};
|
|
1301
1289
|
};
|
|
1302
1290
|
const serializeAws_json1_1Query = (input, context) => {
|
|
1303
1291
|
return {
|
|
1304
|
-
...(input.selectors
|
|
1305
|
-
input.selectors !== null && { selectors: serializeAws_json1_1SelectorList(input.selectors, context) }),
|
|
1292
|
+
...(input.selectors != null && { selectors: serializeAws_json1_1SelectorList(input.selectors, context) }),
|
|
1306
1293
|
};
|
|
1307
1294
|
};
|
|
1308
1295
|
const serializeAws_json1_1QueryObjectsInput = (input, context) => {
|
|
1309
1296
|
return {
|
|
1310
|
-
...(input.limit
|
|
1311
|
-
...(input.marker
|
|
1312
|
-
...(input.pipelineId
|
|
1313
|
-
...(input.query
|
|
1314
|
-
|
|
1315
|
-
...(input.sphere !== undefined && input.sphere !== null && { sphere: input.sphere }),
|
|
1297
|
+
...(input.limit != null && { limit: input.limit }),
|
|
1298
|
+
...(input.marker != null && { marker: input.marker }),
|
|
1299
|
+
...(input.pipelineId != null && { pipelineId: input.pipelineId }),
|
|
1300
|
+
...(input.query != null && { query: serializeAws_json1_1Query(input.query, context) }),
|
|
1301
|
+
...(input.sphere != null && { sphere: input.sphere }),
|
|
1316
1302
|
};
|
|
1317
1303
|
};
|
|
1318
1304
|
const serializeAws_json1_1RemoveTagsInput = (input, context) => {
|
|
1319
1305
|
return {
|
|
1320
|
-
...(input.pipelineId
|
|
1321
|
-
...(input.tagKeys
|
|
1322
|
-
input.tagKeys !== null && { tagKeys: serializeAws_json1_1stringList(input.tagKeys, context) }),
|
|
1306
|
+
...(input.pipelineId != null && { pipelineId: input.pipelineId }),
|
|
1307
|
+
...(input.tagKeys != null && { tagKeys: serializeAws_json1_1stringList(input.tagKeys, context) }),
|
|
1323
1308
|
};
|
|
1324
1309
|
};
|
|
1325
1310
|
const serializeAws_json1_1ReportTaskProgressInput = (input, context) => {
|
|
1326
1311
|
return {
|
|
1327
|
-
...(input.fields
|
|
1328
|
-
|
|
1329
|
-
...(input.taskId !== undefined && input.taskId !== null && { taskId: input.taskId }),
|
|
1312
|
+
...(input.fields != null && { fields: serializeAws_json1_1fieldList(input.fields, context) }),
|
|
1313
|
+
...(input.taskId != null && { taskId: input.taskId }),
|
|
1330
1314
|
};
|
|
1331
1315
|
};
|
|
1332
1316
|
const serializeAws_json1_1ReportTaskRunnerHeartbeatInput = (input, context) => {
|
|
1333
1317
|
return {
|
|
1334
|
-
...(input.hostname
|
|
1335
|
-
...(input.taskrunnerId
|
|
1336
|
-
...(input.workerGroup
|
|
1318
|
+
...(input.hostname != null && { hostname: input.hostname }),
|
|
1319
|
+
...(input.taskrunnerId != null && { taskrunnerId: input.taskrunnerId }),
|
|
1320
|
+
...(input.workerGroup != null && { workerGroup: input.workerGroup }),
|
|
1337
1321
|
};
|
|
1338
1322
|
};
|
|
1339
1323
|
const serializeAws_json1_1Selector = (input, context) => {
|
|
1340
1324
|
return {
|
|
1341
|
-
...(input.fieldName
|
|
1342
|
-
...(input.operator
|
|
1343
|
-
input.operator !== null && { operator: serializeAws_json1_1Operator(input.operator, context) }),
|
|
1325
|
+
...(input.fieldName != null && { fieldName: input.fieldName }),
|
|
1326
|
+
...(input.operator != null && { operator: serializeAws_json1_1Operator(input.operator, context) }),
|
|
1344
1327
|
};
|
|
1345
1328
|
};
|
|
1346
1329
|
const serializeAws_json1_1SelectorList = (input, context) => {
|
|
@@ -1355,20 +1338,18 @@ const serializeAws_json1_1SelectorList = (input, context) => {
|
|
|
1355
1338
|
};
|
|
1356
1339
|
const serializeAws_json1_1SetStatusInput = (input, context) => {
|
|
1357
1340
|
return {
|
|
1358
|
-
...(input.objectIds
|
|
1359
|
-
|
|
1360
|
-
...(input.
|
|
1361
|
-
...(input.status !== undefined && input.status !== null && { status: input.status }),
|
|
1341
|
+
...(input.objectIds != null && { objectIds: serializeAws_json1_1idList(input.objectIds, context) }),
|
|
1342
|
+
...(input.pipelineId != null && { pipelineId: input.pipelineId }),
|
|
1343
|
+
...(input.status != null && { status: input.status }),
|
|
1362
1344
|
};
|
|
1363
1345
|
};
|
|
1364
1346
|
const serializeAws_json1_1SetTaskStatusInput = (input, context) => {
|
|
1365
1347
|
return {
|
|
1366
|
-
...(input.errorId
|
|
1367
|
-
...(input.errorMessage
|
|
1368
|
-
...(input.errorStackTrace
|
|
1369
|
-
|
|
1370
|
-
...(input.
|
|
1371
|
-
...(input.taskStatus !== undefined && input.taskStatus !== null && { taskStatus: input.taskStatus }),
|
|
1348
|
+
...(input.errorId != null && { errorId: input.errorId }),
|
|
1349
|
+
...(input.errorMessage != null && { errorMessage: input.errorMessage }),
|
|
1350
|
+
...(input.errorStackTrace != null && { errorStackTrace: input.errorStackTrace }),
|
|
1351
|
+
...(input.taskId != null && { taskId: input.taskId }),
|
|
1352
|
+
...(input.taskStatus != null && { taskStatus: input.taskStatus }),
|
|
1372
1353
|
};
|
|
1373
1354
|
};
|
|
1374
1355
|
const serializeAws_json1_1stringList = (input, context) => {
|
|
@@ -1383,8 +1364,8 @@ const serializeAws_json1_1stringList = (input, context) => {
|
|
|
1383
1364
|
};
|
|
1384
1365
|
const serializeAws_json1_1Tag = (input, context) => {
|
|
1385
1366
|
return {
|
|
1386
|
-
...(input.key
|
|
1387
|
-
...(input.value
|
|
1367
|
+
...(input.key != null && { key: input.key }),
|
|
1368
|
+
...(input.value != null && { value: input.value }),
|
|
1388
1369
|
};
|
|
1389
1370
|
};
|
|
1390
1371
|
const serializeAws_json1_1tagList = (input, context) => {
|
|
@@ -1399,17 +1380,14 @@ const serializeAws_json1_1tagList = (input, context) => {
|
|
|
1399
1380
|
};
|
|
1400
1381
|
const serializeAws_json1_1ValidatePipelineDefinitionInput = (input, context) => {
|
|
1401
1382
|
return {
|
|
1402
|
-
...(input.parameterObjects
|
|
1403
|
-
input.parameterObjects !== null && {
|
|
1383
|
+
...(input.parameterObjects != null && {
|
|
1404
1384
|
parameterObjects: serializeAws_json1_1ParameterObjectList(input.parameterObjects, context),
|
|
1405
1385
|
}),
|
|
1406
|
-
...(input.parameterValues
|
|
1407
|
-
input.parameterValues !== null && {
|
|
1386
|
+
...(input.parameterValues != null && {
|
|
1408
1387
|
parameterValues: serializeAws_json1_1ParameterValueList(input.parameterValues, context),
|
|
1409
1388
|
}),
|
|
1410
|
-
...(input.pipelineId
|
|
1411
|
-
...(input.pipelineObjects
|
|
1412
|
-
input.pipelineObjects !== null && {
|
|
1389
|
+
...(input.pipelineId != null && { pipelineId: input.pipelineId }),
|
|
1390
|
+
...(input.pipelineObjects != null && {
|
|
1413
1391
|
pipelineObjects: serializeAws_json1_1PipelineObjectList(input.pipelineObjects, context),
|
|
1414
1392
|
}),
|
|
1415
1393
|
};
|
|
@@ -1432,14 +1410,14 @@ const deserializeAws_json1_1DescribeObjectsOutput = (output, context) => {
|
|
|
1432
1410
|
return {
|
|
1433
1411
|
hasMoreResults: (0, smithy_client_1.expectBoolean)(output.hasMoreResults),
|
|
1434
1412
|
marker: (0, smithy_client_1.expectString)(output.marker),
|
|
1435
|
-
pipelineObjects: output.pipelineObjects
|
|
1413
|
+
pipelineObjects: output.pipelineObjects != null
|
|
1436
1414
|
? deserializeAws_json1_1PipelineObjectList(output.pipelineObjects, context)
|
|
1437
1415
|
: undefined,
|
|
1438
1416
|
};
|
|
1439
1417
|
};
|
|
1440
1418
|
const deserializeAws_json1_1DescribePipelinesOutput = (output, context) => {
|
|
1441
1419
|
return {
|
|
1442
|
-
pipelineDescriptionList: output.pipelineDescriptionList
|
|
1420
|
+
pipelineDescriptionList: output.pipelineDescriptionList != null
|
|
1443
1421
|
? deserializeAws_json1_1PipelineDescriptionList(output.pipelineDescriptionList, context)
|
|
1444
1422
|
: undefined,
|
|
1445
1423
|
};
|
|
@@ -1469,13 +1447,13 @@ const deserializeAws_json1_1fieldList = (output, context) => {
|
|
|
1469
1447
|
};
|
|
1470
1448
|
const deserializeAws_json1_1GetPipelineDefinitionOutput = (output, context) => {
|
|
1471
1449
|
return {
|
|
1472
|
-
parameterObjects: output.parameterObjects
|
|
1450
|
+
parameterObjects: output.parameterObjects != null
|
|
1473
1451
|
? deserializeAws_json1_1ParameterObjectList(output.parameterObjects, context)
|
|
1474
1452
|
: undefined,
|
|
1475
|
-
parameterValues: output.parameterValues
|
|
1453
|
+
parameterValues: output.parameterValues != null
|
|
1476
1454
|
? deserializeAws_json1_1ParameterValueList(output.parameterValues, context)
|
|
1477
1455
|
: undefined,
|
|
1478
|
-
pipelineObjects: output.pipelineObjects
|
|
1456
|
+
pipelineObjects: output.pipelineObjects != null
|
|
1479
1457
|
? deserializeAws_json1_1PipelineObjectList(output.pipelineObjects, context)
|
|
1480
1458
|
: undefined,
|
|
1481
1459
|
};
|
|
@@ -1505,9 +1483,7 @@ const deserializeAws_json1_1ListPipelinesOutput = (output, context) => {
|
|
|
1505
1483
|
return {
|
|
1506
1484
|
hasMoreResults: (0, smithy_client_1.expectBoolean)(output.hasMoreResults),
|
|
1507
1485
|
marker: (0, smithy_client_1.expectString)(output.marker),
|
|
1508
|
-
pipelineIdList: output.pipelineIdList
|
|
1509
|
-
? deserializeAws_json1_1pipelineList(output.pipelineIdList, context)
|
|
1510
|
-
: undefined,
|
|
1486
|
+
pipelineIdList: output.pipelineIdList != null ? deserializeAws_json1_1pipelineList(output.pipelineIdList, context) : undefined,
|
|
1511
1487
|
};
|
|
1512
1488
|
};
|
|
1513
1489
|
const deserializeAws_json1_1ParameterAttribute = (output, context) => {
|
|
@@ -1529,9 +1505,7 @@ const deserializeAws_json1_1ParameterAttributeList = (output, context) => {
|
|
|
1529
1505
|
};
|
|
1530
1506
|
const deserializeAws_json1_1ParameterObject = (output, context) => {
|
|
1531
1507
|
return {
|
|
1532
|
-
attributes: output.attributes
|
|
1533
|
-
? deserializeAws_json1_1ParameterAttributeList(output.attributes, context)
|
|
1534
|
-
: undefined,
|
|
1508
|
+
attributes: output.attributes != null ? deserializeAws_json1_1ParameterAttributeList(output.attributes, context) : undefined,
|
|
1535
1509
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
1536
1510
|
};
|
|
1537
1511
|
};
|
|
@@ -1571,14 +1545,10 @@ const deserializeAws_json1_1PipelineDeletedException = (output, context) => {
|
|
|
1571
1545
|
const deserializeAws_json1_1PipelineDescription = (output, context) => {
|
|
1572
1546
|
return {
|
|
1573
1547
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
1574
|
-
fields: output.fields
|
|
1575
|
-
? deserializeAws_json1_1fieldList(output.fields, context)
|
|
1576
|
-
: undefined,
|
|
1548
|
+
fields: output.fields != null ? deserializeAws_json1_1fieldList(output.fields, context) : undefined,
|
|
1577
1549
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
1578
1550
|
pipelineId: (0, smithy_client_1.expectString)(output.pipelineId),
|
|
1579
|
-
tags: output.tags
|
|
1580
|
-
? deserializeAws_json1_1tagList(output.tags, context)
|
|
1581
|
-
: undefined,
|
|
1551
|
+
tags: output.tags != null ? deserializeAws_json1_1tagList(output.tags, context) : undefined,
|
|
1582
1552
|
};
|
|
1583
1553
|
};
|
|
1584
1554
|
const deserializeAws_json1_1PipelineDescriptionList = (output, context) => {
|
|
@@ -1616,9 +1586,7 @@ const deserializeAws_json1_1PipelineNotFoundException = (output, context) => {
|
|
|
1616
1586
|
};
|
|
1617
1587
|
const deserializeAws_json1_1PipelineObject = (output, context) => {
|
|
1618
1588
|
return {
|
|
1619
|
-
fields: output.fields
|
|
1620
|
-
? deserializeAws_json1_1fieldList(output.fields, context)
|
|
1621
|
-
: undefined,
|
|
1589
|
+
fields: output.fields != null ? deserializeAws_json1_1fieldList(output.fields, context) : undefined,
|
|
1622
1590
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
1623
1591
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
1624
1592
|
};
|
|
@@ -1647,18 +1615,16 @@ const deserializeAws_json1_1PipelineObjectMap = (output, context) => {
|
|
|
1647
1615
|
};
|
|
1648
1616
|
const deserializeAws_json1_1PollForTaskOutput = (output, context) => {
|
|
1649
1617
|
return {
|
|
1650
|
-
taskObject: output.taskObject
|
|
1651
|
-
? deserializeAws_json1_1TaskObject(output.taskObject, context)
|
|
1652
|
-
: undefined,
|
|
1618
|
+
taskObject: output.taskObject != null ? deserializeAws_json1_1TaskObject(output.taskObject, context) : undefined,
|
|
1653
1619
|
};
|
|
1654
1620
|
};
|
|
1655
1621
|
const deserializeAws_json1_1PutPipelineDefinitionOutput = (output, context) => {
|
|
1656
1622
|
return {
|
|
1657
1623
|
errored: (0, smithy_client_1.expectBoolean)(output.errored),
|
|
1658
|
-
validationErrors: output.validationErrors
|
|
1624
|
+
validationErrors: output.validationErrors != null
|
|
1659
1625
|
? deserializeAws_json1_1ValidationErrors(output.validationErrors, context)
|
|
1660
1626
|
: undefined,
|
|
1661
|
-
validationWarnings: output.validationWarnings
|
|
1627
|
+
validationWarnings: output.validationWarnings != null
|
|
1662
1628
|
? deserializeAws_json1_1ValidationWarnings(output.validationWarnings, context)
|
|
1663
1629
|
: undefined,
|
|
1664
1630
|
};
|
|
@@ -1666,7 +1632,7 @@ const deserializeAws_json1_1PutPipelineDefinitionOutput = (output, context) => {
|
|
|
1666
1632
|
const deserializeAws_json1_1QueryObjectsOutput = (output, context) => {
|
|
1667
1633
|
return {
|
|
1668
1634
|
hasMoreResults: (0, smithy_client_1.expectBoolean)(output.hasMoreResults),
|
|
1669
|
-
ids: output.ids
|
|
1635
|
+
ids: output.ids != null ? deserializeAws_json1_1idList(output.ids, context) : undefined,
|
|
1670
1636
|
marker: (0, smithy_client_1.expectString)(output.marker),
|
|
1671
1637
|
};
|
|
1672
1638
|
};
|
|
@@ -1711,9 +1677,7 @@ const deserializeAws_json1_1TaskNotFoundException = (output, context) => {
|
|
|
1711
1677
|
const deserializeAws_json1_1TaskObject = (output, context) => {
|
|
1712
1678
|
return {
|
|
1713
1679
|
attemptId: (0, smithy_client_1.expectString)(output.attemptId),
|
|
1714
|
-
objects: output.objects
|
|
1715
|
-
? deserializeAws_json1_1PipelineObjectMap(output.objects, context)
|
|
1716
|
-
: undefined,
|
|
1680
|
+
objects: output.objects != null ? deserializeAws_json1_1PipelineObjectMap(output.objects, context) : undefined,
|
|
1717
1681
|
pipelineId: (0, smithy_client_1.expectString)(output.pipelineId),
|
|
1718
1682
|
taskId: (0, smithy_client_1.expectString)(output.taskId),
|
|
1719
1683
|
};
|
|
@@ -1721,19 +1685,17 @@ const deserializeAws_json1_1TaskObject = (output, context) => {
|
|
|
1721
1685
|
const deserializeAws_json1_1ValidatePipelineDefinitionOutput = (output, context) => {
|
|
1722
1686
|
return {
|
|
1723
1687
|
errored: (0, smithy_client_1.expectBoolean)(output.errored),
|
|
1724
|
-
validationErrors: output.validationErrors
|
|
1688
|
+
validationErrors: output.validationErrors != null
|
|
1725
1689
|
? deserializeAws_json1_1ValidationErrors(output.validationErrors, context)
|
|
1726
1690
|
: undefined,
|
|
1727
|
-
validationWarnings: output.validationWarnings
|
|
1691
|
+
validationWarnings: output.validationWarnings != null
|
|
1728
1692
|
? deserializeAws_json1_1ValidationWarnings(output.validationWarnings, context)
|
|
1729
1693
|
: undefined,
|
|
1730
1694
|
};
|
|
1731
1695
|
};
|
|
1732
1696
|
const deserializeAws_json1_1ValidationError = (output, context) => {
|
|
1733
1697
|
return {
|
|
1734
|
-
errors: output.errors
|
|
1735
|
-
? deserializeAws_json1_1validationMessages(output.errors, context)
|
|
1736
|
-
: undefined,
|
|
1698
|
+
errors: output.errors != null ? deserializeAws_json1_1validationMessages(output.errors, context) : undefined,
|
|
1737
1699
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
1738
1700
|
};
|
|
1739
1701
|
};
|
|
@@ -1762,9 +1724,7 @@ const deserializeAws_json1_1validationMessages = (output, context) => {
|
|
|
1762
1724
|
const deserializeAws_json1_1ValidationWarning = (output, context) => {
|
|
1763
1725
|
return {
|
|
1764
1726
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
1765
|
-
warnings: output.warnings
|
|
1766
|
-
? deserializeAws_json1_1validationMessages(output.warnings, context)
|
|
1767
|
-
: undefined,
|
|
1727
|
+
warnings: output.warnings != null ? deserializeAws_json1_1validationMessages(output.warnings, context) : undefined,
|
|
1768
1728
|
};
|
|
1769
1729
|
};
|
|
1770
1730
|
const deserializeAws_json1_1ValidationWarnings = (output, context) => {
|
|
@@ -1822,6 +1782,9 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
1822
1782
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
1823
1783
|
const sanitizeErrorCode = (rawValue) => {
|
|
1824
1784
|
let cleanValue = rawValue;
|
|
1785
|
+
if (typeof cleanValue === "number") {
|
|
1786
|
+
cleanValue = cleanValue.toString();
|
|
1787
|
+
}
|
|
1825
1788
|
if (cleanValue.indexOf(":") >= 0) {
|
|
1826
1789
|
cleanValue = cleanValue.split(":")[0];
|
|
1827
1790
|
}
|
|
@@ -1435,38 +1435,33 @@ var deserializeAws_json1_1TaskNotFoundExceptionResponse = function (parsedOutput
|
|
|
1435
1435
|
});
|
|
1436
1436
|
}); };
|
|
1437
1437
|
var serializeAws_json1_1ActivatePipelineInput = function (input, context) {
|
|
1438
|
-
return __assign(__assign(__assign({}, (input.parameterValues
|
|
1439
|
-
input.parameterValues !== null && {
|
|
1438
|
+
return __assign(__assign(__assign({}, (input.parameterValues != null && {
|
|
1440
1439
|
parameterValues: serializeAws_json1_1ParameterValueList(input.parameterValues, context),
|
|
1441
|
-
})), (input.pipelineId
|
|
1442
|
-
input.startTimestamp !== null && { startTimestamp: Math.round(input.startTimestamp.getTime() / 1000) }));
|
|
1440
|
+
})), (input.pipelineId != null && { pipelineId: input.pipelineId })), (input.startTimestamp != null && { startTimestamp: Math.round(input.startTimestamp.getTime() / 1000) }));
|
|
1443
1441
|
};
|
|
1444
1442
|
var serializeAws_json1_1AddTagsInput = function (input, context) {
|
|
1445
|
-
return __assign(__assign({}, (input.pipelineId
|
|
1443
|
+
return __assign(__assign({}, (input.pipelineId != null && { pipelineId: input.pipelineId })), (input.tags != null && { tags: serializeAws_json1_1tagList(input.tags, context) }));
|
|
1446
1444
|
};
|
|
1447
1445
|
var serializeAws_json1_1CreatePipelineInput = function (input, context) {
|
|
1448
|
-
return __assign(__assign(__assign(__assign({}, (input.description
|
|
1446
|
+
return __assign(__assign(__assign(__assign({}, (input.description != null && { description: input.description })), (input.name != null && { name: input.name })), (input.tags != null && { tags: serializeAws_json1_1tagList(input.tags, context) })), (input.uniqueId != null && { uniqueId: input.uniqueId }));
|
|
1449
1447
|
};
|
|
1450
1448
|
var serializeAws_json1_1DeactivatePipelineInput = function (input, context) {
|
|
1451
|
-
return __assign(__assign({}, (input.cancelActive
|
|
1449
|
+
return __assign(__assign({}, (input.cancelActive != null && { cancelActive: input.cancelActive })), (input.pipelineId != null && { pipelineId: input.pipelineId }));
|
|
1452
1450
|
};
|
|
1453
1451
|
var serializeAws_json1_1DeletePipelineInput = function (input, context) {
|
|
1454
|
-
return __assign({}, (input.pipelineId
|
|
1452
|
+
return __assign({}, (input.pipelineId != null && { pipelineId: input.pipelineId }));
|
|
1455
1453
|
};
|
|
1456
1454
|
var serializeAws_json1_1DescribeObjectsInput = function (input, context) {
|
|
1457
|
-
return __assign(__assign(__assign(__assign({}, (input.evaluateExpressions
|
|
1458
|
-
input.evaluateExpressions !== null && { evaluateExpressions: input.evaluateExpressions })), (input.marker !== undefined && input.marker !== null && { marker: input.marker })), (input.objectIds !== undefined &&
|
|
1459
|
-
input.objectIds !== null && { objectIds: serializeAws_json1_1idList(input.objectIds, context) })), (input.pipelineId !== undefined && input.pipelineId !== null && { pipelineId: input.pipelineId }));
|
|
1455
|
+
return __assign(__assign(__assign(__assign({}, (input.evaluateExpressions != null && { evaluateExpressions: input.evaluateExpressions })), (input.marker != null && { marker: input.marker })), (input.objectIds != null && { objectIds: serializeAws_json1_1idList(input.objectIds, context) })), (input.pipelineId != null && { pipelineId: input.pipelineId }));
|
|
1460
1456
|
};
|
|
1461
1457
|
var serializeAws_json1_1DescribePipelinesInput = function (input, context) {
|
|
1462
|
-
return __assign({}, (input.pipelineIds
|
|
1463
|
-
input.pipelineIds !== null && { pipelineIds: serializeAws_json1_1idList(input.pipelineIds, context) }));
|
|
1458
|
+
return __assign({}, (input.pipelineIds != null && { pipelineIds: serializeAws_json1_1idList(input.pipelineIds, context) }));
|
|
1464
1459
|
};
|
|
1465
1460
|
var serializeAws_json1_1EvaluateExpressionInput = function (input, context) {
|
|
1466
|
-
return __assign(__assign(__assign({}, (input.expression
|
|
1461
|
+
return __assign(__assign(__assign({}, (input.expression != null && { expression: input.expression })), (input.objectId != null && { objectId: input.objectId })), (input.pipelineId != null && { pipelineId: input.pipelineId }));
|
|
1467
1462
|
};
|
|
1468
1463
|
var serializeAws_json1_1Field = function (input, context) {
|
|
1469
|
-
return __assign(__assign(__assign({}, (input.key
|
|
1464
|
+
return __assign(__assign(__assign({}, (input.key != null && { key: input.key })), (input.refValue != null && { refValue: input.refValue })), (input.stringValue != null && { stringValue: input.stringValue }));
|
|
1470
1465
|
};
|
|
1471
1466
|
var serializeAws_json1_1fieldList = function (input, context) {
|
|
1472
1467
|
return input
|
|
@@ -1479,7 +1474,7 @@ var serializeAws_json1_1fieldList = function (input, context) {
|
|
|
1479
1474
|
});
|
|
1480
1475
|
};
|
|
1481
1476
|
var serializeAws_json1_1GetPipelineDefinitionInput = function (input, context) {
|
|
1482
|
-
return __assign(__assign({}, (input.pipelineId
|
|
1477
|
+
return __assign(__assign({}, (input.pipelineId != null && { pipelineId: input.pipelineId })), (input.version != null && { version: input.version }));
|
|
1483
1478
|
};
|
|
1484
1479
|
var serializeAws_json1_1idList = function (input, context) {
|
|
1485
1480
|
return input
|
|
@@ -1492,17 +1487,16 @@ var serializeAws_json1_1idList = function (input, context) {
|
|
|
1492
1487
|
});
|
|
1493
1488
|
};
|
|
1494
1489
|
var serializeAws_json1_1InstanceIdentity = function (input, context) {
|
|
1495
|
-
return __assign(__assign({}, (input.document
|
|
1490
|
+
return __assign(__assign({}, (input.document != null && { document: input.document })), (input.signature != null && { signature: input.signature }));
|
|
1496
1491
|
};
|
|
1497
1492
|
var serializeAws_json1_1ListPipelinesInput = function (input, context) {
|
|
1498
|
-
return __assign({}, (input.marker
|
|
1493
|
+
return __assign({}, (input.marker != null && { marker: input.marker }));
|
|
1499
1494
|
};
|
|
1500
1495
|
var serializeAws_json1_1Operator = function (input, context) {
|
|
1501
|
-
return __assign(__assign({}, (input.type
|
|
1502
|
-
input.values !== null && { values: serializeAws_json1_1stringList(input.values, context) }));
|
|
1496
|
+
return __assign(__assign({}, (input.type != null && { type: input.type })), (input.values != null && { values: serializeAws_json1_1stringList(input.values, context) }));
|
|
1503
1497
|
};
|
|
1504
1498
|
var serializeAws_json1_1ParameterAttribute = function (input, context) {
|
|
1505
|
-
return __assign(__assign({}, (input.key
|
|
1499
|
+
return __assign(__assign({}, (input.key != null && { key: input.key })), (input.stringValue != null && { stringValue: input.stringValue }));
|
|
1506
1500
|
};
|
|
1507
1501
|
var serializeAws_json1_1ParameterAttributeList = function (input, context) {
|
|
1508
1502
|
return input
|
|
@@ -1515,10 +1509,9 @@ var serializeAws_json1_1ParameterAttributeList = function (input, context) {
|
|
|
1515
1509
|
});
|
|
1516
1510
|
};
|
|
1517
1511
|
var serializeAws_json1_1ParameterObject = function (input, context) {
|
|
1518
|
-
return __assign(__assign({}, (input.attributes
|
|
1519
|
-
input.attributes !== null && {
|
|
1512
|
+
return __assign(__assign({}, (input.attributes != null && {
|
|
1520
1513
|
attributes: serializeAws_json1_1ParameterAttributeList(input.attributes, context),
|
|
1521
|
-
})), (input.id
|
|
1514
|
+
})), (input.id != null && { id: input.id }));
|
|
1522
1515
|
};
|
|
1523
1516
|
var serializeAws_json1_1ParameterObjectList = function (input, context) {
|
|
1524
1517
|
return input
|
|
@@ -1531,7 +1524,7 @@ var serializeAws_json1_1ParameterObjectList = function (input, context) {
|
|
|
1531
1524
|
});
|
|
1532
1525
|
};
|
|
1533
1526
|
var serializeAws_json1_1ParameterValue = function (input, context) {
|
|
1534
|
-
return __assign(__assign({}, (input.id
|
|
1527
|
+
return __assign(__assign({}, (input.id != null && { id: input.id })), (input.stringValue != null && { stringValue: input.stringValue }));
|
|
1535
1528
|
};
|
|
1536
1529
|
var serializeAws_json1_1ParameterValueList = function (input, context) {
|
|
1537
1530
|
return input
|
|
@@ -1544,8 +1537,7 @@ var serializeAws_json1_1ParameterValueList = function (input, context) {
|
|
|
1544
1537
|
});
|
|
1545
1538
|
};
|
|
1546
1539
|
var serializeAws_json1_1PipelineObject = function (input, context) {
|
|
1547
|
-
return __assign(__assign(__assign({}, (input.fields
|
|
1548
|
-
input.fields !== null && { fields: serializeAws_json1_1fieldList(input.fields, context) })), (input.id !== undefined && input.id !== null && { id: input.id })), (input.name !== undefined && input.name !== null && { name: input.name }));
|
|
1540
|
+
return __assign(__assign(__assign({}, (input.fields != null && { fields: serializeAws_json1_1fieldList(input.fields, context) })), (input.id != null && { id: input.id })), (input.name != null && { name: input.name }));
|
|
1549
1541
|
};
|
|
1550
1542
|
var serializeAws_json1_1PipelineObjectList = function (input, context) {
|
|
1551
1543
|
return input
|
|
@@ -1558,45 +1550,36 @@ var serializeAws_json1_1PipelineObjectList = function (input, context) {
|
|
|
1558
1550
|
});
|
|
1559
1551
|
};
|
|
1560
1552
|
var serializeAws_json1_1PollForTaskInput = function (input, context) {
|
|
1561
|
-
return __assign(__assign(__assign({}, (input.hostname
|
|
1562
|
-
input.instanceIdentity !== null && {
|
|
1553
|
+
return __assign(__assign(__assign({}, (input.hostname != null && { hostname: input.hostname })), (input.instanceIdentity != null && {
|
|
1563
1554
|
instanceIdentity: serializeAws_json1_1InstanceIdentity(input.instanceIdentity, context),
|
|
1564
|
-
})), (input.workerGroup
|
|
1555
|
+
})), (input.workerGroup != null && { workerGroup: input.workerGroup }));
|
|
1565
1556
|
};
|
|
1566
1557
|
var serializeAws_json1_1PutPipelineDefinitionInput = function (input, context) {
|
|
1567
|
-
return __assign(__assign(__assign(__assign({}, (input.parameterObjects
|
|
1568
|
-
input.parameterObjects !== null && {
|
|
1558
|
+
return __assign(__assign(__assign(__assign({}, (input.parameterObjects != null && {
|
|
1569
1559
|
parameterObjects: serializeAws_json1_1ParameterObjectList(input.parameterObjects, context),
|
|
1570
|
-
})), (input.parameterValues
|
|
1571
|
-
input.parameterValues !== null && {
|
|
1560
|
+
})), (input.parameterValues != null && {
|
|
1572
1561
|
parameterValues: serializeAws_json1_1ParameterValueList(input.parameterValues, context),
|
|
1573
|
-
})), (input.pipelineId
|
|
1574
|
-
input.pipelineObjects !== null && {
|
|
1562
|
+
})), (input.pipelineId != null && { pipelineId: input.pipelineId })), (input.pipelineObjects != null && {
|
|
1575
1563
|
pipelineObjects: serializeAws_json1_1PipelineObjectList(input.pipelineObjects, context),
|
|
1576
1564
|
}));
|
|
1577
1565
|
};
|
|
1578
1566
|
var serializeAws_json1_1Query = function (input, context) {
|
|
1579
|
-
return __assign({}, (input.selectors
|
|
1580
|
-
input.selectors !== null && { selectors: serializeAws_json1_1SelectorList(input.selectors, context) }));
|
|
1567
|
+
return __assign({}, (input.selectors != null && { selectors: serializeAws_json1_1SelectorList(input.selectors, context) }));
|
|
1581
1568
|
};
|
|
1582
1569
|
var serializeAws_json1_1QueryObjectsInput = function (input, context) {
|
|
1583
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.limit
|
|
1584
|
-
input.query !== null && { query: serializeAws_json1_1Query(input.query, context) })), (input.sphere !== undefined && input.sphere !== null && { sphere: input.sphere }));
|
|
1570
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.limit != null && { limit: input.limit })), (input.marker != null && { marker: input.marker })), (input.pipelineId != null && { pipelineId: input.pipelineId })), (input.query != null && { query: serializeAws_json1_1Query(input.query, context) })), (input.sphere != null && { sphere: input.sphere }));
|
|
1585
1571
|
};
|
|
1586
1572
|
var serializeAws_json1_1RemoveTagsInput = function (input, context) {
|
|
1587
|
-
return __assign(__assign({}, (input.pipelineId
|
|
1588
|
-
input.tagKeys !== null && { tagKeys: serializeAws_json1_1stringList(input.tagKeys, context) }));
|
|
1573
|
+
return __assign(__assign({}, (input.pipelineId != null && { pipelineId: input.pipelineId })), (input.tagKeys != null && { tagKeys: serializeAws_json1_1stringList(input.tagKeys, context) }));
|
|
1589
1574
|
};
|
|
1590
1575
|
var serializeAws_json1_1ReportTaskProgressInput = function (input, context) {
|
|
1591
|
-
return __assign(__assign({}, (input.fields
|
|
1592
|
-
input.fields !== null && { fields: serializeAws_json1_1fieldList(input.fields, context) })), (input.taskId !== undefined && input.taskId !== null && { taskId: input.taskId }));
|
|
1576
|
+
return __assign(__assign({}, (input.fields != null && { fields: serializeAws_json1_1fieldList(input.fields, context) })), (input.taskId != null && { taskId: input.taskId }));
|
|
1593
1577
|
};
|
|
1594
1578
|
var serializeAws_json1_1ReportTaskRunnerHeartbeatInput = function (input, context) {
|
|
1595
|
-
return __assign(__assign(__assign({}, (input.hostname
|
|
1579
|
+
return __assign(__assign(__assign({}, (input.hostname != null && { hostname: input.hostname })), (input.taskrunnerId != null && { taskrunnerId: input.taskrunnerId })), (input.workerGroup != null && { workerGroup: input.workerGroup }));
|
|
1596
1580
|
};
|
|
1597
1581
|
var serializeAws_json1_1Selector = function (input, context) {
|
|
1598
|
-
return __assign(__assign({}, (input.fieldName
|
|
1599
|
-
input.operator !== null && { operator: serializeAws_json1_1Operator(input.operator, context) }));
|
|
1582
|
+
return __assign(__assign({}, (input.fieldName != null && { fieldName: input.fieldName })), (input.operator != null && { operator: serializeAws_json1_1Operator(input.operator, context) }));
|
|
1600
1583
|
};
|
|
1601
1584
|
var serializeAws_json1_1SelectorList = function (input, context) {
|
|
1602
1585
|
return input
|
|
@@ -1609,12 +1592,10 @@ var serializeAws_json1_1SelectorList = function (input, context) {
|
|
|
1609
1592
|
});
|
|
1610
1593
|
};
|
|
1611
1594
|
var serializeAws_json1_1SetStatusInput = function (input, context) {
|
|
1612
|
-
return __assign(__assign(__assign({}, (input.objectIds
|
|
1613
|
-
input.objectIds !== null && { objectIds: serializeAws_json1_1idList(input.objectIds, context) })), (input.pipelineId !== undefined && input.pipelineId !== null && { pipelineId: input.pipelineId })), (input.status !== undefined && input.status !== null && { status: input.status }));
|
|
1595
|
+
return __assign(__assign(__assign({}, (input.objectIds != null && { objectIds: serializeAws_json1_1idList(input.objectIds, context) })), (input.pipelineId != null && { pipelineId: input.pipelineId })), (input.status != null && { status: input.status }));
|
|
1614
1596
|
};
|
|
1615
1597
|
var serializeAws_json1_1SetTaskStatusInput = function (input, context) {
|
|
1616
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.errorId
|
|
1617
|
-
input.errorStackTrace !== null && { errorStackTrace: input.errorStackTrace })), (input.taskId !== undefined && input.taskId !== null && { taskId: input.taskId })), (input.taskStatus !== undefined && input.taskStatus !== null && { taskStatus: input.taskStatus }));
|
|
1598
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.errorId != null && { errorId: input.errorId })), (input.errorMessage != null && { errorMessage: input.errorMessage })), (input.errorStackTrace != null && { errorStackTrace: input.errorStackTrace })), (input.taskId != null && { taskId: input.taskId })), (input.taskStatus != null && { taskStatus: input.taskStatus }));
|
|
1618
1599
|
};
|
|
1619
1600
|
var serializeAws_json1_1stringList = function (input, context) {
|
|
1620
1601
|
return input
|
|
@@ -1627,7 +1608,7 @@ var serializeAws_json1_1stringList = function (input, context) {
|
|
|
1627
1608
|
});
|
|
1628
1609
|
};
|
|
1629
1610
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
1630
|
-
return __assign(__assign({}, (input.key
|
|
1611
|
+
return __assign(__assign({}, (input.key != null && { key: input.key })), (input.value != null && { value: input.value }));
|
|
1631
1612
|
};
|
|
1632
1613
|
var serializeAws_json1_1tagList = function (input, context) {
|
|
1633
1614
|
return input
|
|
@@ -1640,14 +1621,11 @@ var serializeAws_json1_1tagList = function (input, context) {
|
|
|
1640
1621
|
});
|
|
1641
1622
|
};
|
|
1642
1623
|
var serializeAws_json1_1ValidatePipelineDefinitionInput = function (input, context) {
|
|
1643
|
-
return __assign(__assign(__assign(__assign({}, (input.parameterObjects
|
|
1644
|
-
input.parameterObjects !== null && {
|
|
1624
|
+
return __assign(__assign(__assign(__assign({}, (input.parameterObjects != null && {
|
|
1645
1625
|
parameterObjects: serializeAws_json1_1ParameterObjectList(input.parameterObjects, context),
|
|
1646
|
-
})), (input.parameterValues
|
|
1647
|
-
input.parameterValues !== null && {
|
|
1626
|
+
})), (input.parameterValues != null && {
|
|
1648
1627
|
parameterValues: serializeAws_json1_1ParameterValueList(input.parameterValues, context),
|
|
1649
|
-
})), (input.pipelineId
|
|
1650
|
-
input.pipelineObjects !== null && {
|
|
1628
|
+
})), (input.pipelineId != null && { pipelineId: input.pipelineId })), (input.pipelineObjects != null && {
|
|
1651
1629
|
pipelineObjects: serializeAws_json1_1PipelineObjectList(input.pipelineObjects, context),
|
|
1652
1630
|
}));
|
|
1653
1631
|
};
|
|
@@ -1669,14 +1647,14 @@ var deserializeAws_json1_1DescribeObjectsOutput = function (output, context) {
|
|
|
1669
1647
|
return {
|
|
1670
1648
|
hasMoreResults: __expectBoolean(output.hasMoreResults),
|
|
1671
1649
|
marker: __expectString(output.marker),
|
|
1672
|
-
pipelineObjects: output.pipelineObjects
|
|
1650
|
+
pipelineObjects: output.pipelineObjects != null
|
|
1673
1651
|
? deserializeAws_json1_1PipelineObjectList(output.pipelineObjects, context)
|
|
1674
1652
|
: undefined,
|
|
1675
1653
|
};
|
|
1676
1654
|
};
|
|
1677
1655
|
var deserializeAws_json1_1DescribePipelinesOutput = function (output, context) {
|
|
1678
1656
|
return {
|
|
1679
|
-
pipelineDescriptionList: output.pipelineDescriptionList
|
|
1657
|
+
pipelineDescriptionList: output.pipelineDescriptionList != null
|
|
1680
1658
|
? deserializeAws_json1_1PipelineDescriptionList(output.pipelineDescriptionList, context)
|
|
1681
1659
|
: undefined,
|
|
1682
1660
|
};
|
|
@@ -1706,13 +1684,13 @@ var deserializeAws_json1_1fieldList = function (output, context) {
|
|
|
1706
1684
|
};
|
|
1707
1685
|
var deserializeAws_json1_1GetPipelineDefinitionOutput = function (output, context) {
|
|
1708
1686
|
return {
|
|
1709
|
-
parameterObjects: output.parameterObjects
|
|
1687
|
+
parameterObjects: output.parameterObjects != null
|
|
1710
1688
|
? deserializeAws_json1_1ParameterObjectList(output.parameterObjects, context)
|
|
1711
1689
|
: undefined,
|
|
1712
|
-
parameterValues: output.parameterValues
|
|
1690
|
+
parameterValues: output.parameterValues != null
|
|
1713
1691
|
? deserializeAws_json1_1ParameterValueList(output.parameterValues, context)
|
|
1714
1692
|
: undefined,
|
|
1715
|
-
pipelineObjects: output.pipelineObjects
|
|
1693
|
+
pipelineObjects: output.pipelineObjects != null
|
|
1716
1694
|
? deserializeAws_json1_1PipelineObjectList(output.pipelineObjects, context)
|
|
1717
1695
|
: undefined,
|
|
1718
1696
|
};
|
|
@@ -1742,9 +1720,7 @@ var deserializeAws_json1_1ListPipelinesOutput = function (output, context) {
|
|
|
1742
1720
|
return {
|
|
1743
1721
|
hasMoreResults: __expectBoolean(output.hasMoreResults),
|
|
1744
1722
|
marker: __expectString(output.marker),
|
|
1745
|
-
pipelineIdList: output.pipelineIdList
|
|
1746
|
-
? deserializeAws_json1_1pipelineList(output.pipelineIdList, context)
|
|
1747
|
-
: undefined,
|
|
1723
|
+
pipelineIdList: output.pipelineIdList != null ? deserializeAws_json1_1pipelineList(output.pipelineIdList, context) : undefined,
|
|
1748
1724
|
};
|
|
1749
1725
|
};
|
|
1750
1726
|
var deserializeAws_json1_1ParameterAttribute = function (output, context) {
|
|
@@ -1766,9 +1742,7 @@ var deserializeAws_json1_1ParameterAttributeList = function (output, context) {
|
|
|
1766
1742
|
};
|
|
1767
1743
|
var deserializeAws_json1_1ParameterObject = function (output, context) {
|
|
1768
1744
|
return {
|
|
1769
|
-
attributes: output.attributes
|
|
1770
|
-
? deserializeAws_json1_1ParameterAttributeList(output.attributes, context)
|
|
1771
|
-
: undefined,
|
|
1745
|
+
attributes: output.attributes != null ? deserializeAws_json1_1ParameterAttributeList(output.attributes, context) : undefined,
|
|
1772
1746
|
id: __expectString(output.id),
|
|
1773
1747
|
};
|
|
1774
1748
|
};
|
|
@@ -1808,14 +1782,10 @@ var deserializeAws_json1_1PipelineDeletedException = function (output, context)
|
|
|
1808
1782
|
var deserializeAws_json1_1PipelineDescription = function (output, context) {
|
|
1809
1783
|
return {
|
|
1810
1784
|
description: __expectString(output.description),
|
|
1811
|
-
fields: output.fields
|
|
1812
|
-
? deserializeAws_json1_1fieldList(output.fields, context)
|
|
1813
|
-
: undefined,
|
|
1785
|
+
fields: output.fields != null ? deserializeAws_json1_1fieldList(output.fields, context) : undefined,
|
|
1814
1786
|
name: __expectString(output.name),
|
|
1815
1787
|
pipelineId: __expectString(output.pipelineId),
|
|
1816
|
-
tags: output.tags
|
|
1817
|
-
? deserializeAws_json1_1tagList(output.tags, context)
|
|
1818
|
-
: undefined,
|
|
1788
|
+
tags: output.tags != null ? deserializeAws_json1_1tagList(output.tags, context) : undefined,
|
|
1819
1789
|
};
|
|
1820
1790
|
};
|
|
1821
1791
|
var deserializeAws_json1_1PipelineDescriptionList = function (output, context) {
|
|
@@ -1853,9 +1823,7 @@ var deserializeAws_json1_1PipelineNotFoundException = function (output, context)
|
|
|
1853
1823
|
};
|
|
1854
1824
|
var deserializeAws_json1_1PipelineObject = function (output, context) {
|
|
1855
1825
|
return {
|
|
1856
|
-
fields: output.fields
|
|
1857
|
-
? deserializeAws_json1_1fieldList(output.fields, context)
|
|
1858
|
-
: undefined,
|
|
1826
|
+
fields: output.fields != null ? deserializeAws_json1_1fieldList(output.fields, context) : undefined,
|
|
1859
1827
|
id: __expectString(output.id),
|
|
1860
1828
|
name: __expectString(output.name),
|
|
1861
1829
|
};
|
|
@@ -1883,18 +1851,16 @@ var deserializeAws_json1_1PipelineObjectMap = function (output, context) {
|
|
|
1883
1851
|
};
|
|
1884
1852
|
var deserializeAws_json1_1PollForTaskOutput = function (output, context) {
|
|
1885
1853
|
return {
|
|
1886
|
-
taskObject: output.taskObject
|
|
1887
|
-
? deserializeAws_json1_1TaskObject(output.taskObject, context)
|
|
1888
|
-
: undefined,
|
|
1854
|
+
taskObject: output.taskObject != null ? deserializeAws_json1_1TaskObject(output.taskObject, context) : undefined,
|
|
1889
1855
|
};
|
|
1890
1856
|
};
|
|
1891
1857
|
var deserializeAws_json1_1PutPipelineDefinitionOutput = function (output, context) {
|
|
1892
1858
|
return {
|
|
1893
1859
|
errored: __expectBoolean(output.errored),
|
|
1894
|
-
validationErrors: output.validationErrors
|
|
1860
|
+
validationErrors: output.validationErrors != null
|
|
1895
1861
|
? deserializeAws_json1_1ValidationErrors(output.validationErrors, context)
|
|
1896
1862
|
: undefined,
|
|
1897
|
-
validationWarnings: output.validationWarnings
|
|
1863
|
+
validationWarnings: output.validationWarnings != null
|
|
1898
1864
|
? deserializeAws_json1_1ValidationWarnings(output.validationWarnings, context)
|
|
1899
1865
|
: undefined,
|
|
1900
1866
|
};
|
|
@@ -1902,7 +1868,7 @@ var deserializeAws_json1_1PutPipelineDefinitionOutput = function (output, contex
|
|
|
1902
1868
|
var deserializeAws_json1_1QueryObjectsOutput = function (output, context) {
|
|
1903
1869
|
return {
|
|
1904
1870
|
hasMoreResults: __expectBoolean(output.hasMoreResults),
|
|
1905
|
-
ids: output.ids
|
|
1871
|
+
ids: output.ids != null ? deserializeAws_json1_1idList(output.ids, context) : undefined,
|
|
1906
1872
|
marker: __expectString(output.marker),
|
|
1907
1873
|
};
|
|
1908
1874
|
};
|
|
@@ -1947,9 +1913,7 @@ var deserializeAws_json1_1TaskNotFoundException = function (output, context) {
|
|
|
1947
1913
|
var deserializeAws_json1_1TaskObject = function (output, context) {
|
|
1948
1914
|
return {
|
|
1949
1915
|
attemptId: __expectString(output.attemptId),
|
|
1950
|
-
objects: output.objects
|
|
1951
|
-
? deserializeAws_json1_1PipelineObjectMap(output.objects, context)
|
|
1952
|
-
: undefined,
|
|
1916
|
+
objects: output.objects != null ? deserializeAws_json1_1PipelineObjectMap(output.objects, context) : undefined,
|
|
1953
1917
|
pipelineId: __expectString(output.pipelineId),
|
|
1954
1918
|
taskId: __expectString(output.taskId),
|
|
1955
1919
|
};
|
|
@@ -1957,19 +1921,17 @@ var deserializeAws_json1_1TaskObject = function (output, context) {
|
|
|
1957
1921
|
var deserializeAws_json1_1ValidatePipelineDefinitionOutput = function (output, context) {
|
|
1958
1922
|
return {
|
|
1959
1923
|
errored: __expectBoolean(output.errored),
|
|
1960
|
-
validationErrors: output.validationErrors
|
|
1924
|
+
validationErrors: output.validationErrors != null
|
|
1961
1925
|
? deserializeAws_json1_1ValidationErrors(output.validationErrors, context)
|
|
1962
1926
|
: undefined,
|
|
1963
|
-
validationWarnings: output.validationWarnings
|
|
1927
|
+
validationWarnings: output.validationWarnings != null
|
|
1964
1928
|
? deserializeAws_json1_1ValidationWarnings(output.validationWarnings, context)
|
|
1965
1929
|
: undefined,
|
|
1966
1930
|
};
|
|
1967
1931
|
};
|
|
1968
1932
|
var deserializeAws_json1_1ValidationError = function (output, context) {
|
|
1969
1933
|
return {
|
|
1970
|
-
errors: output.errors
|
|
1971
|
-
? deserializeAws_json1_1validationMessages(output.errors, context)
|
|
1972
|
-
: undefined,
|
|
1934
|
+
errors: output.errors != null ? deserializeAws_json1_1validationMessages(output.errors, context) : undefined,
|
|
1973
1935
|
id: __expectString(output.id),
|
|
1974
1936
|
};
|
|
1975
1937
|
};
|
|
@@ -1998,9 +1960,7 @@ var deserializeAws_json1_1validationMessages = function (output, context) {
|
|
|
1998
1960
|
var deserializeAws_json1_1ValidationWarning = function (output, context) {
|
|
1999
1961
|
return {
|
|
2000
1962
|
id: __expectString(output.id),
|
|
2001
|
-
warnings: output.warnings
|
|
2002
|
-
? deserializeAws_json1_1validationMessages(output.warnings, context)
|
|
2003
|
-
: undefined,
|
|
1963
|
+
warnings: output.warnings != null ? deserializeAws_json1_1validationMessages(output.warnings, context) : undefined,
|
|
2004
1964
|
};
|
|
2005
1965
|
};
|
|
2006
1966
|
var deserializeAws_json1_1ValidationWarnings = function (output, context) {
|
|
@@ -2070,6 +2030,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
2070
2030
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
2071
2031
|
var sanitizeErrorCode = function (rawValue) {
|
|
2072
2032
|
var cleanValue = rawValue;
|
|
2033
|
+
if (typeof cleanValue === "number") {
|
|
2034
|
+
cleanValue = cleanValue.toString();
|
|
2035
|
+
}
|
|
2073
2036
|
if (cleanValue.indexOf(":") >= 0) {
|
|
2074
2037
|
cleanValue = cleanValue.split(":")[0];
|
|
2075
2038
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-data-pipeline",
|
|
3
3
|
"description": "AWS SDK for JavaScript Data Pipeline Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.130.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,35 +18,35 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.130.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.130.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.127.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.127.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.127.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.127.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.127.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.127.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.127.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.127.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.130.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.127.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.127.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.127.0",
|
|
40
|
+
"@aws-sdk/types": "3.127.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.127.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.130.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
51
|
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
52
52
|
"tslib": "^2.3.1"
|