@aws-sdk/client-data-pipeline 3.54.1 → 3.58.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 +24 -0
- package/dist-cjs/DataPipelineClient.js +13 -13
- package/dist-cjs/commands/ActivatePipelineCommand.js +3 -3
- package/dist-cjs/commands/AddTagsCommand.js +3 -3
- package/dist-cjs/commands/CreatePipelineCommand.js +3 -3
- package/dist-cjs/commands/DeactivatePipelineCommand.js +3 -3
- package/dist-cjs/commands/DeletePipelineCommand.js +3 -3
- package/dist-cjs/commands/DescribeObjectsCommand.js +3 -3
- package/dist-cjs/commands/DescribePipelinesCommand.js +3 -3
- package/dist-cjs/commands/EvaluateExpressionCommand.js +3 -3
- package/dist-cjs/commands/GetPipelineDefinitionCommand.js +3 -3
- package/dist-cjs/commands/ListPipelinesCommand.js +3 -3
- package/dist-cjs/commands/PollForTaskCommand.js +3 -3
- package/dist-cjs/commands/PutPipelineDefinitionCommand.js +3 -3
- package/dist-cjs/commands/QueryObjectsCommand.js +3 -3
- package/dist-cjs/commands/RemoveTagsCommand.js +3 -3
- package/dist-cjs/commands/ReportTaskProgressCommand.js +3 -3
- package/dist-cjs/commands/ReportTaskRunnerHeartbeatCommand.js +3 -3
- package/dist-cjs/commands/SetStatusCommand.js +3 -3
- package/dist-cjs/commands/SetTaskStatusCommand.js +3 -3
- package/dist-cjs/commands/ValidatePipelineDefinitionCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +65 -65
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/DataPipeline.js +19 -19
- package/dist-es/pagination/DescribeObjectsPaginator.js +4 -4
- package/dist-es/pagination/ListPipelinesPaginator.js +4 -4
- package/dist-es/pagination/QueryObjectsPaginator.js +4 -4
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -237,7 +237,7 @@ const deserializeAws_json1_1ActivatePipelineCommandError = async (output, contex
|
|
|
237
237
|
$fault: "client",
|
|
238
238
|
$metadata: deserializeMetadata(output),
|
|
239
239
|
});
|
|
240
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
240
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
241
241
|
}
|
|
242
242
|
};
|
|
243
243
|
const deserializeAws_json1_1AddTagsCommand = async (output, context) => {
|
|
@@ -282,7 +282,7 @@ const deserializeAws_json1_1AddTagsCommandError = async (output, context) => {
|
|
|
282
282
|
$fault: "client",
|
|
283
283
|
$metadata: deserializeMetadata(output),
|
|
284
284
|
});
|
|
285
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
285
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
286
286
|
}
|
|
287
287
|
};
|
|
288
288
|
const deserializeAws_json1_1CreatePipelineCommand = async (output, context) => {
|
|
@@ -321,7 +321,7 @@ const deserializeAws_json1_1CreatePipelineCommandError = async (output, context)
|
|
|
321
321
|
$fault: "client",
|
|
322
322
|
$metadata: deserializeMetadata(output),
|
|
323
323
|
});
|
|
324
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
324
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
325
325
|
}
|
|
326
326
|
};
|
|
327
327
|
const deserializeAws_json1_1DeactivatePipelineCommand = async (output, context) => {
|
|
@@ -366,7 +366,7 @@ const deserializeAws_json1_1DeactivatePipelineCommandError = async (output, cont
|
|
|
366
366
|
$fault: "client",
|
|
367
367
|
$metadata: deserializeMetadata(output),
|
|
368
368
|
});
|
|
369
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
369
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
370
370
|
}
|
|
371
371
|
};
|
|
372
372
|
const deserializeAws_json1_1DeletePipelineCommand = async (output, context) => {
|
|
@@ -405,7 +405,7 @@ const deserializeAws_json1_1DeletePipelineCommandError = async (output, context)
|
|
|
405
405
|
$fault: "client",
|
|
406
406
|
$metadata: deserializeMetadata(output),
|
|
407
407
|
});
|
|
408
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
408
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
409
409
|
}
|
|
410
410
|
};
|
|
411
411
|
const deserializeAws_json1_1DescribeObjectsCommand = async (output, context) => {
|
|
@@ -450,7 +450,7 @@ const deserializeAws_json1_1DescribeObjectsCommandError = async (output, context
|
|
|
450
450
|
$fault: "client",
|
|
451
451
|
$metadata: deserializeMetadata(output),
|
|
452
452
|
});
|
|
453
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
453
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
454
454
|
}
|
|
455
455
|
};
|
|
456
456
|
const deserializeAws_json1_1DescribePipelinesCommand = async (output, context) => {
|
|
@@ -495,7 +495,7 @@ const deserializeAws_json1_1DescribePipelinesCommandError = async (output, conte
|
|
|
495
495
|
$fault: "client",
|
|
496
496
|
$metadata: deserializeMetadata(output),
|
|
497
497
|
});
|
|
498
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
498
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
499
499
|
}
|
|
500
500
|
};
|
|
501
501
|
const deserializeAws_json1_1EvaluateExpressionCommand = async (output, context) => {
|
|
@@ -543,7 +543,7 @@ const deserializeAws_json1_1EvaluateExpressionCommandError = async (output, cont
|
|
|
543
543
|
$fault: "client",
|
|
544
544
|
$metadata: deserializeMetadata(output),
|
|
545
545
|
});
|
|
546
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
546
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
547
547
|
}
|
|
548
548
|
};
|
|
549
549
|
const deserializeAws_json1_1GetPipelineDefinitionCommand = async (output, context) => {
|
|
@@ -588,7 +588,7 @@ const deserializeAws_json1_1GetPipelineDefinitionCommandError = async (output, c
|
|
|
588
588
|
$fault: "client",
|
|
589
589
|
$metadata: deserializeMetadata(output),
|
|
590
590
|
});
|
|
591
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
591
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
592
592
|
}
|
|
593
593
|
};
|
|
594
594
|
const deserializeAws_json1_1ListPipelinesCommand = async (output, context) => {
|
|
@@ -627,7 +627,7 @@ const deserializeAws_json1_1ListPipelinesCommandError = async (output, context)
|
|
|
627
627
|
$fault: "client",
|
|
628
628
|
$metadata: deserializeMetadata(output),
|
|
629
629
|
});
|
|
630
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
630
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
631
631
|
}
|
|
632
632
|
};
|
|
633
633
|
const deserializeAws_json1_1PollForTaskCommand = async (output, context) => {
|
|
@@ -669,7 +669,7 @@ const deserializeAws_json1_1PollForTaskCommandError = async (output, context) =>
|
|
|
669
669
|
$fault: "client",
|
|
670
670
|
$metadata: deserializeMetadata(output),
|
|
671
671
|
});
|
|
672
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
672
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
673
673
|
}
|
|
674
674
|
};
|
|
675
675
|
const deserializeAws_json1_1PutPipelineDefinitionCommand = async (output, context) => {
|
|
@@ -714,7 +714,7 @@ const deserializeAws_json1_1PutPipelineDefinitionCommandError = async (output, c
|
|
|
714
714
|
$fault: "client",
|
|
715
715
|
$metadata: deserializeMetadata(output),
|
|
716
716
|
});
|
|
717
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
717
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
718
718
|
}
|
|
719
719
|
};
|
|
720
720
|
const deserializeAws_json1_1QueryObjectsCommand = async (output, context) => {
|
|
@@ -759,7 +759,7 @@ const deserializeAws_json1_1QueryObjectsCommandError = async (output, context) =
|
|
|
759
759
|
$fault: "client",
|
|
760
760
|
$metadata: deserializeMetadata(output),
|
|
761
761
|
});
|
|
762
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
762
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
763
763
|
}
|
|
764
764
|
};
|
|
765
765
|
const deserializeAws_json1_1RemoveTagsCommand = async (output, context) => {
|
|
@@ -804,7 +804,7 @@ const deserializeAws_json1_1RemoveTagsCommandError = async (output, context) =>
|
|
|
804
804
|
$fault: "client",
|
|
805
805
|
$metadata: deserializeMetadata(output),
|
|
806
806
|
});
|
|
807
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
807
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
808
808
|
}
|
|
809
809
|
};
|
|
810
810
|
const deserializeAws_json1_1ReportTaskProgressCommand = async (output, context) => {
|
|
@@ -852,7 +852,7 @@ const deserializeAws_json1_1ReportTaskProgressCommandError = async (output, cont
|
|
|
852
852
|
$fault: "client",
|
|
853
853
|
$metadata: deserializeMetadata(output),
|
|
854
854
|
});
|
|
855
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
855
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
856
856
|
}
|
|
857
857
|
};
|
|
858
858
|
const deserializeAws_json1_1ReportTaskRunnerHeartbeatCommand = async (output, context) => {
|
|
@@ -891,7 +891,7 @@ const deserializeAws_json1_1ReportTaskRunnerHeartbeatCommandError = async (outpu
|
|
|
891
891
|
$fault: "client",
|
|
892
892
|
$metadata: deserializeMetadata(output),
|
|
893
893
|
});
|
|
894
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
894
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
895
895
|
}
|
|
896
896
|
};
|
|
897
897
|
const deserializeAws_json1_1SetStatusCommand = async (output, context) => {
|
|
@@ -933,7 +933,7 @@ const deserializeAws_json1_1SetStatusCommandError = async (output, context) => {
|
|
|
933
933
|
$fault: "client",
|
|
934
934
|
$metadata: deserializeMetadata(output),
|
|
935
935
|
});
|
|
936
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
936
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
937
937
|
}
|
|
938
938
|
};
|
|
939
939
|
const deserializeAws_json1_1SetTaskStatusCommand = async (output, context) => {
|
|
@@ -981,7 +981,7 @@ const deserializeAws_json1_1SetTaskStatusCommandError = async (output, context)
|
|
|
981
981
|
$fault: "client",
|
|
982
982
|
$metadata: deserializeMetadata(output),
|
|
983
983
|
});
|
|
984
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
984
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
985
985
|
}
|
|
986
986
|
};
|
|
987
987
|
const deserializeAws_json1_1ValidatePipelineDefinitionCommand = async (output, context) => {
|
|
@@ -1026,7 +1026,7 @@ const deserializeAws_json1_1ValidatePipelineDefinitionCommandError = async (outp
|
|
|
1026
1026
|
$fault: "client",
|
|
1027
1027
|
$metadata: deserializeMetadata(output),
|
|
1028
1028
|
});
|
|
1029
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1029
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1030
1030
|
}
|
|
1031
1031
|
};
|
|
1032
1032
|
const deserializeAws_json1_1InternalServiceErrorResponse = async (parsedOutput, context) => {
|
|
@@ -1036,7 +1036,7 @@ const deserializeAws_json1_1InternalServiceErrorResponse = async (parsedOutput,
|
|
|
1036
1036
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1037
1037
|
...deserialized,
|
|
1038
1038
|
});
|
|
1039
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1039
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1040
1040
|
};
|
|
1041
1041
|
const deserializeAws_json1_1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
|
|
1042
1042
|
const body = parsedOutput.body;
|
|
@@ -1045,7 +1045,7 @@ const deserializeAws_json1_1InvalidRequestExceptionResponse = async (parsedOutpu
|
|
|
1045
1045
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1046
1046
|
...deserialized,
|
|
1047
1047
|
});
|
|
1048
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1048
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1049
1049
|
};
|
|
1050
1050
|
const deserializeAws_json1_1PipelineDeletedExceptionResponse = async (parsedOutput, context) => {
|
|
1051
1051
|
const body = parsedOutput.body;
|
|
@@ -1054,7 +1054,7 @@ const deserializeAws_json1_1PipelineDeletedExceptionResponse = async (parsedOutp
|
|
|
1054
1054
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1055
1055
|
...deserialized,
|
|
1056
1056
|
});
|
|
1057
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1057
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1058
1058
|
};
|
|
1059
1059
|
const deserializeAws_json1_1PipelineNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
1060
1060
|
const body = parsedOutput.body;
|
|
@@ -1063,7 +1063,7 @@ const deserializeAws_json1_1PipelineNotFoundExceptionResponse = async (parsedOut
|
|
|
1063
1063
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1064
1064
|
...deserialized,
|
|
1065
1065
|
});
|
|
1066
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1066
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1067
1067
|
};
|
|
1068
1068
|
const deserializeAws_json1_1TaskNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
1069
1069
|
const body = parsedOutput.body;
|
|
@@ -1072,7 +1072,7 @@ const deserializeAws_json1_1TaskNotFoundExceptionResponse = async (parsedOutput,
|
|
|
1072
1072
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1073
1073
|
...deserialized,
|
|
1074
1074
|
});
|
|
1075
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1075
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1076
1076
|
};
|
|
1077
1077
|
const serializeAws_json1_1ActivatePipelineInput = (input, context) => {
|
|
1078
1078
|
return {
|
|
@@ -1403,7 +1403,7 @@ const deserializeAws_json1_1AddTagsOutput = (output, context) => {
|
|
|
1403
1403
|
};
|
|
1404
1404
|
const deserializeAws_json1_1CreatePipelineOutput = (output, context) => {
|
|
1405
1405
|
return {
|
|
1406
|
-
pipelineId: smithy_client_1.expectString(output.pipelineId),
|
|
1406
|
+
pipelineId: (0, smithy_client_1.expectString)(output.pipelineId),
|
|
1407
1407
|
};
|
|
1408
1408
|
};
|
|
1409
1409
|
const deserializeAws_json1_1DeactivatePipelineOutput = (output, context) => {
|
|
@@ -1411,8 +1411,8 @@ const deserializeAws_json1_1DeactivatePipelineOutput = (output, context) => {
|
|
|
1411
1411
|
};
|
|
1412
1412
|
const deserializeAws_json1_1DescribeObjectsOutput = (output, context) => {
|
|
1413
1413
|
return {
|
|
1414
|
-
hasMoreResults: smithy_client_1.expectBoolean(output.hasMoreResults),
|
|
1415
|
-
marker: smithy_client_1.expectString(output.marker),
|
|
1414
|
+
hasMoreResults: (0, smithy_client_1.expectBoolean)(output.hasMoreResults),
|
|
1415
|
+
marker: (0, smithy_client_1.expectString)(output.marker),
|
|
1416
1416
|
pipelineObjects: output.pipelineObjects !== undefined && output.pipelineObjects !== null
|
|
1417
1417
|
? deserializeAws_json1_1PipelineObjectList(output.pipelineObjects, context)
|
|
1418
1418
|
: undefined,
|
|
@@ -1427,14 +1427,14 @@ const deserializeAws_json1_1DescribePipelinesOutput = (output, context) => {
|
|
|
1427
1427
|
};
|
|
1428
1428
|
const deserializeAws_json1_1EvaluateExpressionOutput = (output, context) => {
|
|
1429
1429
|
return {
|
|
1430
|
-
evaluatedExpression: smithy_client_1.expectString(output.evaluatedExpression),
|
|
1430
|
+
evaluatedExpression: (0, smithy_client_1.expectString)(output.evaluatedExpression),
|
|
1431
1431
|
};
|
|
1432
1432
|
};
|
|
1433
1433
|
const deserializeAws_json1_1Field = (output, context) => {
|
|
1434
1434
|
return {
|
|
1435
|
-
key: smithy_client_1.expectString(output.key),
|
|
1436
|
-
refValue: smithy_client_1.expectString(output.refValue),
|
|
1437
|
-
stringValue: smithy_client_1.expectString(output.stringValue),
|
|
1435
|
+
key: (0, smithy_client_1.expectString)(output.key),
|
|
1436
|
+
refValue: (0, smithy_client_1.expectString)(output.refValue),
|
|
1437
|
+
stringValue: (0, smithy_client_1.expectString)(output.stringValue),
|
|
1438
1438
|
};
|
|
1439
1439
|
};
|
|
1440
1440
|
const deserializeAws_json1_1fieldList = (output, context) => {
|
|
@@ -1468,24 +1468,24 @@ const deserializeAws_json1_1idList = (output, context) => {
|
|
|
1468
1468
|
if (entry === null) {
|
|
1469
1469
|
return null;
|
|
1470
1470
|
}
|
|
1471
|
-
return smithy_client_1.expectString(entry);
|
|
1471
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
1472
1472
|
});
|
|
1473
1473
|
return retVal;
|
|
1474
1474
|
};
|
|
1475
1475
|
const deserializeAws_json1_1InternalServiceError = (output, context) => {
|
|
1476
1476
|
return {
|
|
1477
|
-
message: smithy_client_1.expectString(output.message),
|
|
1477
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1478
1478
|
};
|
|
1479
1479
|
};
|
|
1480
1480
|
const deserializeAws_json1_1InvalidRequestException = (output, context) => {
|
|
1481
1481
|
return {
|
|
1482
|
-
message: smithy_client_1.expectString(output.message),
|
|
1482
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1483
1483
|
};
|
|
1484
1484
|
};
|
|
1485
1485
|
const deserializeAws_json1_1ListPipelinesOutput = (output, context) => {
|
|
1486
1486
|
return {
|
|
1487
|
-
hasMoreResults: smithy_client_1.expectBoolean(output.hasMoreResults),
|
|
1488
|
-
marker: smithy_client_1.expectString(output.marker),
|
|
1487
|
+
hasMoreResults: (0, smithy_client_1.expectBoolean)(output.hasMoreResults),
|
|
1488
|
+
marker: (0, smithy_client_1.expectString)(output.marker),
|
|
1489
1489
|
pipelineIdList: output.pipelineIdList !== undefined && output.pipelineIdList !== null
|
|
1490
1490
|
? deserializeAws_json1_1pipelineList(output.pipelineIdList, context)
|
|
1491
1491
|
: undefined,
|
|
@@ -1493,8 +1493,8 @@ const deserializeAws_json1_1ListPipelinesOutput = (output, context) => {
|
|
|
1493
1493
|
};
|
|
1494
1494
|
const deserializeAws_json1_1ParameterAttribute = (output, context) => {
|
|
1495
1495
|
return {
|
|
1496
|
-
key: smithy_client_1.expectString(output.key),
|
|
1497
|
-
stringValue: smithy_client_1.expectString(output.stringValue),
|
|
1496
|
+
key: (0, smithy_client_1.expectString)(output.key),
|
|
1497
|
+
stringValue: (0, smithy_client_1.expectString)(output.stringValue),
|
|
1498
1498
|
};
|
|
1499
1499
|
};
|
|
1500
1500
|
const deserializeAws_json1_1ParameterAttributeList = (output, context) => {
|
|
@@ -1513,7 +1513,7 @@ const deserializeAws_json1_1ParameterObject = (output, context) => {
|
|
|
1513
1513
|
attributes: output.attributes !== undefined && output.attributes !== null
|
|
1514
1514
|
? deserializeAws_json1_1ParameterAttributeList(output.attributes, context)
|
|
1515
1515
|
: undefined,
|
|
1516
|
-
id: smithy_client_1.expectString(output.id),
|
|
1516
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
1517
1517
|
};
|
|
1518
1518
|
};
|
|
1519
1519
|
const deserializeAws_json1_1ParameterObjectList = (output, context) => {
|
|
@@ -1529,8 +1529,8 @@ const deserializeAws_json1_1ParameterObjectList = (output, context) => {
|
|
|
1529
1529
|
};
|
|
1530
1530
|
const deserializeAws_json1_1ParameterValue = (output, context) => {
|
|
1531
1531
|
return {
|
|
1532
|
-
id: smithy_client_1.expectString(output.id),
|
|
1533
|
-
stringValue: smithy_client_1.expectString(output.stringValue),
|
|
1532
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
1533
|
+
stringValue: (0, smithy_client_1.expectString)(output.stringValue),
|
|
1534
1534
|
};
|
|
1535
1535
|
};
|
|
1536
1536
|
const deserializeAws_json1_1ParameterValueList = (output, context) => {
|
|
@@ -1546,17 +1546,17 @@ const deserializeAws_json1_1ParameterValueList = (output, context) => {
|
|
|
1546
1546
|
};
|
|
1547
1547
|
const deserializeAws_json1_1PipelineDeletedException = (output, context) => {
|
|
1548
1548
|
return {
|
|
1549
|
-
message: smithy_client_1.expectString(output.message),
|
|
1549
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1550
1550
|
};
|
|
1551
1551
|
};
|
|
1552
1552
|
const deserializeAws_json1_1PipelineDescription = (output, context) => {
|
|
1553
1553
|
return {
|
|
1554
|
-
description: smithy_client_1.expectString(output.description),
|
|
1554
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
1555
1555
|
fields: output.fields !== undefined && output.fields !== null
|
|
1556
1556
|
? deserializeAws_json1_1fieldList(output.fields, context)
|
|
1557
1557
|
: undefined,
|
|
1558
|
-
name: smithy_client_1.expectString(output.name),
|
|
1559
|
-
pipelineId: smithy_client_1.expectString(output.pipelineId),
|
|
1558
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
1559
|
+
pipelineId: (0, smithy_client_1.expectString)(output.pipelineId),
|
|
1560
1560
|
tags: output.tags !== undefined && output.tags !== null
|
|
1561
1561
|
? deserializeAws_json1_1tagList(output.tags, context)
|
|
1562
1562
|
: undefined,
|
|
@@ -1575,8 +1575,8 @@ const deserializeAws_json1_1PipelineDescriptionList = (output, context) => {
|
|
|
1575
1575
|
};
|
|
1576
1576
|
const deserializeAws_json1_1PipelineIdName = (output, context) => {
|
|
1577
1577
|
return {
|
|
1578
|
-
id: smithy_client_1.expectString(output.id),
|
|
1579
|
-
name: smithy_client_1.expectString(output.name),
|
|
1578
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
1579
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
1580
1580
|
};
|
|
1581
1581
|
};
|
|
1582
1582
|
const deserializeAws_json1_1pipelineList = (output, context) => {
|
|
@@ -1592,7 +1592,7 @@ const deserializeAws_json1_1pipelineList = (output, context) => {
|
|
|
1592
1592
|
};
|
|
1593
1593
|
const deserializeAws_json1_1PipelineNotFoundException = (output, context) => {
|
|
1594
1594
|
return {
|
|
1595
|
-
message: smithy_client_1.expectString(output.message),
|
|
1595
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1596
1596
|
};
|
|
1597
1597
|
};
|
|
1598
1598
|
const deserializeAws_json1_1PipelineObject = (output, context) => {
|
|
@@ -1600,8 +1600,8 @@ const deserializeAws_json1_1PipelineObject = (output, context) => {
|
|
|
1600
1600
|
fields: output.fields !== undefined && output.fields !== null
|
|
1601
1601
|
? deserializeAws_json1_1fieldList(output.fields, context)
|
|
1602
1602
|
: undefined,
|
|
1603
|
-
id: smithy_client_1.expectString(output.id),
|
|
1604
|
-
name: smithy_client_1.expectString(output.name),
|
|
1603
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
1604
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
1605
1605
|
};
|
|
1606
1606
|
};
|
|
1607
1607
|
const deserializeAws_json1_1PipelineObjectList = (output, context) => {
|
|
@@ -1635,7 +1635,7 @@ const deserializeAws_json1_1PollForTaskOutput = (output, context) => {
|
|
|
1635
1635
|
};
|
|
1636
1636
|
const deserializeAws_json1_1PutPipelineDefinitionOutput = (output, context) => {
|
|
1637
1637
|
return {
|
|
1638
|
-
errored: smithy_client_1.expectBoolean(output.errored),
|
|
1638
|
+
errored: (0, smithy_client_1.expectBoolean)(output.errored),
|
|
1639
1639
|
validationErrors: output.validationErrors !== undefined && output.validationErrors !== null
|
|
1640
1640
|
? deserializeAws_json1_1ValidationErrors(output.validationErrors, context)
|
|
1641
1641
|
: undefined,
|
|
@@ -1646,9 +1646,9 @@ const deserializeAws_json1_1PutPipelineDefinitionOutput = (output, context) => {
|
|
|
1646
1646
|
};
|
|
1647
1647
|
const deserializeAws_json1_1QueryObjectsOutput = (output, context) => {
|
|
1648
1648
|
return {
|
|
1649
|
-
hasMoreResults: smithy_client_1.expectBoolean(output.hasMoreResults),
|
|
1649
|
+
hasMoreResults: (0, smithy_client_1.expectBoolean)(output.hasMoreResults),
|
|
1650
1650
|
ids: output.ids !== undefined && output.ids !== null ? deserializeAws_json1_1idList(output.ids, context) : undefined,
|
|
1651
|
-
marker: smithy_client_1.expectString(output.marker),
|
|
1651
|
+
marker: (0, smithy_client_1.expectString)(output.marker),
|
|
1652
1652
|
};
|
|
1653
1653
|
};
|
|
1654
1654
|
const deserializeAws_json1_1RemoveTagsOutput = (output, context) => {
|
|
@@ -1656,12 +1656,12 @@ const deserializeAws_json1_1RemoveTagsOutput = (output, context) => {
|
|
|
1656
1656
|
};
|
|
1657
1657
|
const deserializeAws_json1_1ReportTaskProgressOutput = (output, context) => {
|
|
1658
1658
|
return {
|
|
1659
|
-
canceled: smithy_client_1.expectBoolean(output.canceled),
|
|
1659
|
+
canceled: (0, smithy_client_1.expectBoolean)(output.canceled),
|
|
1660
1660
|
};
|
|
1661
1661
|
};
|
|
1662
1662
|
const deserializeAws_json1_1ReportTaskRunnerHeartbeatOutput = (output, context) => {
|
|
1663
1663
|
return {
|
|
1664
|
-
terminate: smithy_client_1.expectBoolean(output.terminate),
|
|
1664
|
+
terminate: (0, smithy_client_1.expectBoolean)(output.terminate),
|
|
1665
1665
|
};
|
|
1666
1666
|
};
|
|
1667
1667
|
const deserializeAws_json1_1SetTaskStatusOutput = (output, context) => {
|
|
@@ -1669,8 +1669,8 @@ const deserializeAws_json1_1SetTaskStatusOutput = (output, context) => {
|
|
|
1669
1669
|
};
|
|
1670
1670
|
const deserializeAws_json1_1Tag = (output, context) => {
|
|
1671
1671
|
return {
|
|
1672
|
-
key: smithy_client_1.expectString(output.key),
|
|
1673
|
-
value: smithy_client_1.expectString(output.value),
|
|
1672
|
+
key: (0, smithy_client_1.expectString)(output.key),
|
|
1673
|
+
value: (0, smithy_client_1.expectString)(output.value),
|
|
1674
1674
|
};
|
|
1675
1675
|
};
|
|
1676
1676
|
const deserializeAws_json1_1tagList = (output, context) => {
|
|
@@ -1686,22 +1686,22 @@ const deserializeAws_json1_1tagList = (output, context) => {
|
|
|
1686
1686
|
};
|
|
1687
1687
|
const deserializeAws_json1_1TaskNotFoundException = (output, context) => {
|
|
1688
1688
|
return {
|
|
1689
|
-
message: smithy_client_1.expectString(output.message),
|
|
1689
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1690
1690
|
};
|
|
1691
1691
|
};
|
|
1692
1692
|
const deserializeAws_json1_1TaskObject = (output, context) => {
|
|
1693
1693
|
return {
|
|
1694
|
-
attemptId: smithy_client_1.expectString(output.attemptId),
|
|
1694
|
+
attemptId: (0, smithy_client_1.expectString)(output.attemptId),
|
|
1695
1695
|
objects: output.objects !== undefined && output.objects !== null
|
|
1696
1696
|
? deserializeAws_json1_1PipelineObjectMap(output.objects, context)
|
|
1697
1697
|
: undefined,
|
|
1698
|
-
pipelineId: smithy_client_1.expectString(output.pipelineId),
|
|
1699
|
-
taskId: smithy_client_1.expectString(output.taskId),
|
|
1698
|
+
pipelineId: (0, smithy_client_1.expectString)(output.pipelineId),
|
|
1699
|
+
taskId: (0, smithy_client_1.expectString)(output.taskId),
|
|
1700
1700
|
};
|
|
1701
1701
|
};
|
|
1702
1702
|
const deserializeAws_json1_1ValidatePipelineDefinitionOutput = (output, context) => {
|
|
1703
1703
|
return {
|
|
1704
|
-
errored: smithy_client_1.expectBoolean(output.errored),
|
|
1704
|
+
errored: (0, smithy_client_1.expectBoolean)(output.errored),
|
|
1705
1705
|
validationErrors: output.validationErrors !== undefined && output.validationErrors !== null
|
|
1706
1706
|
? deserializeAws_json1_1ValidationErrors(output.validationErrors, context)
|
|
1707
1707
|
: undefined,
|
|
@@ -1715,7 +1715,7 @@ const deserializeAws_json1_1ValidationError = (output, context) => {
|
|
|
1715
1715
|
errors: output.errors !== undefined && output.errors !== null
|
|
1716
1716
|
? deserializeAws_json1_1validationMessages(output.errors, context)
|
|
1717
1717
|
: undefined,
|
|
1718
|
-
id: smithy_client_1.expectString(output.id),
|
|
1718
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
1719
1719
|
};
|
|
1720
1720
|
};
|
|
1721
1721
|
const deserializeAws_json1_1ValidationErrors = (output, context) => {
|
|
@@ -1736,13 +1736,13 @@ const deserializeAws_json1_1validationMessages = (output, context) => {
|
|
|
1736
1736
|
if (entry === null) {
|
|
1737
1737
|
return null;
|
|
1738
1738
|
}
|
|
1739
|
-
return smithy_client_1.expectString(entry);
|
|
1739
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
1740
1740
|
});
|
|
1741
1741
|
return retVal;
|
|
1742
1742
|
};
|
|
1743
1743
|
const deserializeAws_json1_1ValidationWarning = (output, context) => {
|
|
1744
1744
|
return {
|
|
1745
|
-
id: smithy_client_1.expectString(output.id),
|
|
1745
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
1746
1746
|
warnings: output.warnings !== undefined && output.warnings !== null
|
|
1747
1747
|
? deserializeAws_json1_1validationMessages(output.warnings, context)
|
|
1748
1748
|
: undefined,
|
|
@@ -17,9 +17,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
17
17
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
18
18
|
const getRuntimeConfig = (config) => {
|
|
19
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
-
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
20
|
+
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
21
21
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
22
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
23
23
|
return {
|
|
24
24
|
...clientSharedValues,
|
|
25
25
|
...config,
|
|
@@ -29,9 +29,9 @@ const getRuntimeConfig = (config) => {
|
|
|
29
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
30
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
31
31
|
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
32
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
33
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
34
|
-
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
34
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
35
35
|
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
36
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
37
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
@@ -19,9 +19,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
19
19
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
20
20
|
const getRuntimeConfig = (config) => {
|
|
21
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
22
|
-
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
22
|
+
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
23
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
24
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
25
|
return {
|
|
26
26
|
...clientSharedValues,
|
|
27
27
|
...config,
|
|
@@ -30,19 +30,19 @@ const getRuntimeConfig = (config) => {
|
|
|
30
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
31
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
32
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
33
|
-
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : client_sts_1.decorateDefaultCredentialProvider(credential_provider_node_1.defaultProvider),
|
|
34
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
-
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
-
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
33
|
+
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
34
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
+
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
37
37
|
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
|
|
39
39
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
40
|
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
41
|
}),
|
|
42
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
43
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
44
|
-
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
-
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
44
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
46
46
|
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
|
|
47
47
|
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
|
|
48
48
|
};
|
|
@@ -5,7 +5,7 @@ const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
7
|
var _a;
|
|
8
|
-
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
8
|
+
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
9
9
|
return {
|
|
10
10
|
...browserDefaults,
|
|
11
11
|
...config,
|