@aws-sdk/client-healthlake 3.53.0 → 3.55.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/HealthLakeClient.js +13 -13
- package/dist-cjs/commands/CreateFHIRDatastoreCommand.js +3 -3
- package/dist-cjs/commands/DeleteFHIRDatastoreCommand.js +3 -3
- package/dist-cjs/commands/DescribeFHIRDatastoreCommand.js +3 -3
- package/dist-cjs/commands/DescribeFHIRExportJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeFHIRImportJobCommand.js +3 -3
- package/dist-cjs/commands/ListFHIRDatastoresCommand.js +3 -3
- package/dist-cjs/commands/ListFHIRExportJobsCommand.js +3 -3
- package/dist-cjs/commands/ListFHIRImportJobsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/StartFHIRExportJobCommand.js +3 -3
- package/dist-cjs/commands/StartFHIRImportJobCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_0.js +80 -80
- 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/HealthLake.js +13 -13
- package/dist-es/pagination/ListFHIRDatastoresPaginator.js +4 -4
- package/dist-es/pagination/ListFHIRExportJobsPaginator.js +4 -4
- package/dist-es/pagination/ListFHIRImportJobsPaginator.js +4 -4
- package/dist-types/HealthLakeClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/HealthLakeClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -178,7 +178,7 @@ const deserializeAws_json1_0CreateFHIRDatastoreCommandError = async (output, con
|
|
|
178
178
|
$fault: "client",
|
|
179
179
|
$metadata: deserializeMetadata(output),
|
|
180
180
|
});
|
|
181
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
181
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
182
182
|
}
|
|
183
183
|
};
|
|
184
184
|
const deserializeAws_json1_0DeleteFHIRDatastoreCommand = async (output, context) => {
|
|
@@ -229,7 +229,7 @@ const deserializeAws_json1_0DeleteFHIRDatastoreCommandError = async (output, con
|
|
|
229
229
|
$fault: "client",
|
|
230
230
|
$metadata: deserializeMetadata(output),
|
|
231
231
|
});
|
|
232
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
232
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
233
233
|
}
|
|
234
234
|
};
|
|
235
235
|
const deserializeAws_json1_0DescribeFHIRDatastoreCommand = async (output, context) => {
|
|
@@ -274,7 +274,7 @@ const deserializeAws_json1_0DescribeFHIRDatastoreCommandError = async (output, c
|
|
|
274
274
|
$fault: "client",
|
|
275
275
|
$metadata: deserializeMetadata(output),
|
|
276
276
|
});
|
|
277
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
277
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
278
278
|
}
|
|
279
279
|
};
|
|
280
280
|
const deserializeAws_json1_0DescribeFHIRExportJobCommand = async (output, context) => {
|
|
@@ -319,7 +319,7 @@ const deserializeAws_json1_0DescribeFHIRExportJobCommandError = async (output, c
|
|
|
319
319
|
$fault: "client",
|
|
320
320
|
$metadata: deserializeMetadata(output),
|
|
321
321
|
});
|
|
322
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
322
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
323
323
|
}
|
|
324
324
|
};
|
|
325
325
|
const deserializeAws_json1_0DescribeFHIRImportJobCommand = async (output, context) => {
|
|
@@ -364,7 +364,7 @@ const deserializeAws_json1_0DescribeFHIRImportJobCommandError = async (output, c
|
|
|
364
364
|
$fault: "client",
|
|
365
365
|
$metadata: deserializeMetadata(output),
|
|
366
366
|
});
|
|
367
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
367
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
368
368
|
}
|
|
369
369
|
};
|
|
370
370
|
const deserializeAws_json1_0ListFHIRDatastoresCommand = async (output, context) => {
|
|
@@ -406,7 +406,7 @@ const deserializeAws_json1_0ListFHIRDatastoresCommandError = async (output, cont
|
|
|
406
406
|
$fault: "client",
|
|
407
407
|
$metadata: deserializeMetadata(output),
|
|
408
408
|
});
|
|
409
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
409
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
410
410
|
}
|
|
411
411
|
};
|
|
412
412
|
const deserializeAws_json1_0ListFHIRExportJobsCommand = async (output, context) => {
|
|
@@ -454,7 +454,7 @@ const deserializeAws_json1_0ListFHIRExportJobsCommandError = async (output, cont
|
|
|
454
454
|
$fault: "client",
|
|
455
455
|
$metadata: deserializeMetadata(output),
|
|
456
456
|
});
|
|
457
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
457
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
458
458
|
}
|
|
459
459
|
};
|
|
460
460
|
const deserializeAws_json1_0ListFHIRImportJobsCommand = async (output, context) => {
|
|
@@ -502,7 +502,7 @@ const deserializeAws_json1_0ListFHIRImportJobsCommandError = async (output, cont
|
|
|
502
502
|
$fault: "client",
|
|
503
503
|
$metadata: deserializeMetadata(output),
|
|
504
504
|
});
|
|
505
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
505
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
506
506
|
}
|
|
507
507
|
};
|
|
508
508
|
const deserializeAws_json1_0ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -541,7 +541,7 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
|
|
|
541
541
|
$fault: "client",
|
|
542
542
|
$metadata: deserializeMetadata(output),
|
|
543
543
|
});
|
|
544
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
544
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
545
545
|
}
|
|
546
546
|
};
|
|
547
547
|
const deserializeAws_json1_0StartFHIRExportJobCommand = async (output, context) => {
|
|
@@ -589,7 +589,7 @@ const deserializeAws_json1_0StartFHIRExportJobCommandError = async (output, cont
|
|
|
589
589
|
$fault: "client",
|
|
590
590
|
$metadata: deserializeMetadata(output),
|
|
591
591
|
});
|
|
592
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
592
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
593
593
|
}
|
|
594
594
|
};
|
|
595
595
|
const deserializeAws_json1_0StartFHIRImportJobCommand = async (output, context) => {
|
|
@@ -637,7 +637,7 @@ const deserializeAws_json1_0StartFHIRImportJobCommandError = async (output, cont
|
|
|
637
637
|
$fault: "client",
|
|
638
638
|
$metadata: deserializeMetadata(output),
|
|
639
639
|
});
|
|
640
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
640
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
641
641
|
}
|
|
642
642
|
};
|
|
643
643
|
const deserializeAws_json1_0TagResourceCommand = async (output, context) => {
|
|
@@ -676,7 +676,7 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
|
|
|
676
676
|
$fault: "client",
|
|
677
677
|
$metadata: deserializeMetadata(output),
|
|
678
678
|
});
|
|
679
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
679
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
680
680
|
}
|
|
681
681
|
};
|
|
682
682
|
const deserializeAws_json1_0UntagResourceCommand = async (output, context) => {
|
|
@@ -715,7 +715,7 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
|
|
|
715
715
|
$fault: "client",
|
|
716
716
|
$metadata: deserializeMetadata(output),
|
|
717
717
|
});
|
|
718
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
718
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
719
719
|
}
|
|
720
720
|
};
|
|
721
721
|
const deserializeAws_json1_0AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -725,7 +725,7 @@ const deserializeAws_json1_0AccessDeniedExceptionResponse = async (parsedOutput,
|
|
|
725
725
|
$metadata: deserializeMetadata(parsedOutput),
|
|
726
726
|
...deserialized,
|
|
727
727
|
});
|
|
728
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
728
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
729
729
|
};
|
|
730
730
|
const deserializeAws_json1_0ConflictExceptionResponse = async (parsedOutput, context) => {
|
|
731
731
|
const body = parsedOutput.body;
|
|
@@ -734,7 +734,7 @@ const deserializeAws_json1_0ConflictExceptionResponse = async (parsedOutput, con
|
|
|
734
734
|
$metadata: deserializeMetadata(parsedOutput),
|
|
735
735
|
...deserialized,
|
|
736
736
|
});
|
|
737
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
737
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
738
738
|
};
|
|
739
739
|
const deserializeAws_json1_0InternalServerExceptionResponse = async (parsedOutput, context) => {
|
|
740
740
|
const body = parsedOutput.body;
|
|
@@ -743,7 +743,7 @@ const deserializeAws_json1_0InternalServerExceptionResponse = async (parsedOutpu
|
|
|
743
743
|
$metadata: deserializeMetadata(parsedOutput),
|
|
744
744
|
...deserialized,
|
|
745
745
|
});
|
|
746
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
746
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
747
747
|
};
|
|
748
748
|
const deserializeAws_json1_0ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
749
749
|
const body = parsedOutput.body;
|
|
@@ -752,7 +752,7 @@ const deserializeAws_json1_0ResourceNotFoundExceptionResponse = async (parsedOut
|
|
|
752
752
|
$metadata: deserializeMetadata(parsedOutput),
|
|
753
753
|
...deserialized,
|
|
754
754
|
});
|
|
755
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
755
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
756
756
|
};
|
|
757
757
|
const deserializeAws_json1_0ThrottlingExceptionResponse = async (parsedOutput, context) => {
|
|
758
758
|
const body = parsedOutput.body;
|
|
@@ -761,7 +761,7 @@ const deserializeAws_json1_0ThrottlingExceptionResponse = async (parsedOutput, c
|
|
|
761
761
|
$metadata: deserializeMetadata(parsedOutput),
|
|
762
762
|
...deserialized,
|
|
763
763
|
});
|
|
764
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
764
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
765
765
|
};
|
|
766
766
|
const deserializeAws_json1_0ValidationExceptionResponse = async (parsedOutput, context) => {
|
|
767
767
|
const body = parsedOutput.body;
|
|
@@ -770,12 +770,12 @@ const deserializeAws_json1_0ValidationExceptionResponse = async (parsedOutput, c
|
|
|
770
770
|
$metadata: deserializeMetadata(parsedOutput),
|
|
771
771
|
...deserialized,
|
|
772
772
|
});
|
|
773
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
773
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
774
774
|
};
|
|
775
775
|
const serializeAws_json1_0CreateFHIRDatastoreRequest = (input, context) => {
|
|
776
776
|
var _a;
|
|
777
777
|
return {
|
|
778
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
778
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
779
779
|
...(input.DatastoreName !== undefined && input.DatastoreName !== null && { DatastoreName: input.DatastoreName }),
|
|
780
780
|
...(input.DatastoreTypeVersion !== undefined &&
|
|
781
781
|
input.DatastoreTypeVersion !== null && { DatastoreTypeVersion: input.DatastoreTypeVersion }),
|
|
@@ -903,7 +903,7 @@ const serializeAws_json1_0SseConfiguration = (input, context) => {
|
|
|
903
903
|
const serializeAws_json1_0StartFHIRExportJobRequest = (input, context) => {
|
|
904
904
|
var _a;
|
|
905
905
|
return {
|
|
906
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
906
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
907
907
|
...(input.DataAccessRoleArn !== undefined &&
|
|
908
908
|
input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
909
909
|
...(input.DatastoreId !== undefined && input.DatastoreId !== null && { DatastoreId: input.DatastoreId }),
|
|
@@ -917,7 +917,7 @@ const serializeAws_json1_0StartFHIRExportJobRequest = (input, context) => {
|
|
|
917
917
|
const serializeAws_json1_0StartFHIRImportJobRequest = (input, context) => {
|
|
918
918
|
var _a;
|
|
919
919
|
return {
|
|
920
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
920
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
921
921
|
...(input.DataAccessRoleArn !== undefined &&
|
|
922
922
|
input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
923
923
|
...(input.DatastoreId !== undefined && input.DatastoreId !== null && { DatastoreId: input.DatastoreId }),
|
|
@@ -973,33 +973,33 @@ const serializeAws_json1_0UntagResourceRequest = (input, context) => {
|
|
|
973
973
|
};
|
|
974
974
|
const deserializeAws_json1_0AccessDeniedException = (output, context) => {
|
|
975
975
|
return {
|
|
976
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
976
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
977
977
|
};
|
|
978
978
|
};
|
|
979
979
|
const deserializeAws_json1_0ConflictException = (output, context) => {
|
|
980
980
|
return {
|
|
981
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
981
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
982
982
|
};
|
|
983
983
|
};
|
|
984
984
|
const deserializeAws_json1_0CreateFHIRDatastoreResponse = (output, context) => {
|
|
985
985
|
return {
|
|
986
|
-
DatastoreArn: smithy_client_1.expectString(output.DatastoreArn),
|
|
987
|
-
DatastoreEndpoint: smithy_client_1.expectString(output.DatastoreEndpoint),
|
|
988
|
-
DatastoreId: smithy_client_1.expectString(output.DatastoreId),
|
|
989
|
-
DatastoreStatus: smithy_client_1.expectString(output.DatastoreStatus),
|
|
986
|
+
DatastoreArn: (0, smithy_client_1.expectString)(output.DatastoreArn),
|
|
987
|
+
DatastoreEndpoint: (0, smithy_client_1.expectString)(output.DatastoreEndpoint),
|
|
988
|
+
DatastoreId: (0, smithy_client_1.expectString)(output.DatastoreId),
|
|
989
|
+
DatastoreStatus: (0, smithy_client_1.expectString)(output.DatastoreStatus),
|
|
990
990
|
};
|
|
991
991
|
};
|
|
992
992
|
const deserializeAws_json1_0DatastoreProperties = (output, context) => {
|
|
993
993
|
return {
|
|
994
994
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
995
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
995
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
996
996
|
: undefined,
|
|
997
|
-
DatastoreArn: smithy_client_1.expectString(output.DatastoreArn),
|
|
998
|
-
DatastoreEndpoint: smithy_client_1.expectString(output.DatastoreEndpoint),
|
|
999
|
-
DatastoreId: smithy_client_1.expectString(output.DatastoreId),
|
|
1000
|
-
DatastoreName: smithy_client_1.expectString(output.DatastoreName),
|
|
1001
|
-
DatastoreStatus: smithy_client_1.expectString(output.DatastoreStatus),
|
|
1002
|
-
DatastoreTypeVersion: smithy_client_1.expectString(output.DatastoreTypeVersion),
|
|
997
|
+
DatastoreArn: (0, smithy_client_1.expectString)(output.DatastoreArn),
|
|
998
|
+
DatastoreEndpoint: (0, smithy_client_1.expectString)(output.DatastoreEndpoint),
|
|
999
|
+
DatastoreId: (0, smithy_client_1.expectString)(output.DatastoreId),
|
|
1000
|
+
DatastoreName: (0, smithy_client_1.expectString)(output.DatastoreName),
|
|
1001
|
+
DatastoreStatus: (0, smithy_client_1.expectString)(output.DatastoreStatus),
|
|
1002
|
+
DatastoreTypeVersion: (0, smithy_client_1.expectString)(output.DatastoreTypeVersion),
|
|
1003
1003
|
PreloadDataConfig: output.PreloadDataConfig !== undefined && output.PreloadDataConfig !== null
|
|
1004
1004
|
? deserializeAws_json1_0PreloadDataConfig(output.PreloadDataConfig, context)
|
|
1005
1005
|
: undefined,
|
|
@@ -1021,10 +1021,10 @@ const deserializeAws_json1_0DatastorePropertiesList = (output, context) => {
|
|
|
1021
1021
|
};
|
|
1022
1022
|
const deserializeAws_json1_0DeleteFHIRDatastoreResponse = (output, context) => {
|
|
1023
1023
|
return {
|
|
1024
|
-
DatastoreArn: smithy_client_1.expectString(output.DatastoreArn),
|
|
1025
|
-
DatastoreEndpoint: smithy_client_1.expectString(output.DatastoreEndpoint),
|
|
1026
|
-
DatastoreId: smithy_client_1.expectString(output.DatastoreId),
|
|
1027
|
-
DatastoreStatus: smithy_client_1.expectString(output.DatastoreStatus),
|
|
1024
|
+
DatastoreArn: (0, smithy_client_1.expectString)(output.DatastoreArn),
|
|
1025
|
+
DatastoreEndpoint: (0, smithy_client_1.expectString)(output.DatastoreEndpoint),
|
|
1026
|
+
DatastoreId: (0, smithy_client_1.expectString)(output.DatastoreId),
|
|
1027
|
+
DatastoreStatus: (0, smithy_client_1.expectString)(output.DatastoreStatus),
|
|
1028
1028
|
};
|
|
1029
1029
|
};
|
|
1030
1030
|
const deserializeAws_json1_0DescribeFHIRDatastoreResponse = (output, context) => {
|
|
@@ -1050,20 +1050,20 @@ const deserializeAws_json1_0DescribeFHIRImportJobResponse = (output, context) =>
|
|
|
1050
1050
|
};
|
|
1051
1051
|
const deserializeAws_json1_0ExportJobProperties = (output, context) => {
|
|
1052
1052
|
return {
|
|
1053
|
-
DataAccessRoleArn: smithy_client_1.expectString(output.DataAccessRoleArn),
|
|
1054
|
-
DatastoreId: smithy_client_1.expectString(output.DatastoreId),
|
|
1053
|
+
DataAccessRoleArn: (0, smithy_client_1.expectString)(output.DataAccessRoleArn),
|
|
1054
|
+
DatastoreId: (0, smithy_client_1.expectString)(output.DatastoreId),
|
|
1055
1055
|
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
1056
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
1056
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
|
|
1057
1057
|
: undefined,
|
|
1058
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
1059
|
-
JobName: smithy_client_1.expectString(output.JobName),
|
|
1060
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
1061
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1058
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
1059
|
+
JobName: (0, smithy_client_1.expectString)(output.JobName),
|
|
1060
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
1061
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1062
1062
|
OutputDataConfig: output.OutputDataConfig !== undefined && output.OutputDataConfig !== null
|
|
1063
|
-
? deserializeAws_json1_0OutputDataConfig(smithy_client_1.expectUnion(output.OutputDataConfig), context)
|
|
1063
|
+
? deserializeAws_json1_0OutputDataConfig((0, smithy_client_1.expectUnion)(output.OutputDataConfig), context)
|
|
1064
1064
|
: undefined,
|
|
1065
1065
|
SubmitTime: output.SubmitTime !== undefined && output.SubmitTime !== null
|
|
1066
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SubmitTime)))
|
|
1066
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SubmitTime)))
|
|
1067
1067
|
: undefined,
|
|
1068
1068
|
};
|
|
1069
1069
|
};
|
|
@@ -1080,23 +1080,23 @@ const deserializeAws_json1_0ExportJobPropertiesList = (output, context) => {
|
|
|
1080
1080
|
};
|
|
1081
1081
|
const deserializeAws_json1_0ImportJobProperties = (output, context) => {
|
|
1082
1082
|
return {
|
|
1083
|
-
DataAccessRoleArn: smithy_client_1.expectString(output.DataAccessRoleArn),
|
|
1084
|
-
DatastoreId: smithy_client_1.expectString(output.DatastoreId),
|
|
1083
|
+
DataAccessRoleArn: (0, smithy_client_1.expectString)(output.DataAccessRoleArn),
|
|
1084
|
+
DatastoreId: (0, smithy_client_1.expectString)(output.DatastoreId),
|
|
1085
1085
|
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
1086
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
1086
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
|
|
1087
1087
|
: undefined,
|
|
1088
1088
|
InputDataConfig: output.InputDataConfig !== undefined && output.InputDataConfig !== null
|
|
1089
|
-
? deserializeAws_json1_0InputDataConfig(smithy_client_1.expectUnion(output.InputDataConfig), context)
|
|
1089
|
+
? deserializeAws_json1_0InputDataConfig((0, smithy_client_1.expectUnion)(output.InputDataConfig), context)
|
|
1090
1090
|
: undefined,
|
|
1091
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
1092
|
-
JobName: smithy_client_1.expectString(output.JobName),
|
|
1091
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
1092
|
+
JobName: (0, smithy_client_1.expectString)(output.JobName),
|
|
1093
1093
|
JobOutputDataConfig: output.JobOutputDataConfig !== undefined && output.JobOutputDataConfig !== null
|
|
1094
|
-
? deserializeAws_json1_0OutputDataConfig(smithy_client_1.expectUnion(output.JobOutputDataConfig), context)
|
|
1094
|
+
? deserializeAws_json1_0OutputDataConfig((0, smithy_client_1.expectUnion)(output.JobOutputDataConfig), context)
|
|
1095
1095
|
: undefined,
|
|
1096
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
1097
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1096
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
1097
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1098
1098
|
SubmitTime: output.SubmitTime !== undefined && output.SubmitTime !== null
|
|
1099
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SubmitTime)))
|
|
1099
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SubmitTime)))
|
|
1100
1100
|
: undefined,
|
|
1101
1101
|
};
|
|
1102
1102
|
};
|
|
@@ -1112,20 +1112,20 @@ const deserializeAws_json1_0ImportJobPropertiesList = (output, context) => {
|
|
|
1112
1112
|
return retVal;
|
|
1113
1113
|
};
|
|
1114
1114
|
const deserializeAws_json1_0InputDataConfig = (output, context) => {
|
|
1115
|
-
if (smithy_client_1.expectString(output.S3Uri) !== undefined) {
|
|
1116
|
-
return { S3Uri: smithy_client_1.expectString(output.S3Uri) };
|
|
1115
|
+
if ((0, smithy_client_1.expectString)(output.S3Uri) !== undefined) {
|
|
1116
|
+
return { S3Uri: (0, smithy_client_1.expectString)(output.S3Uri) };
|
|
1117
1117
|
}
|
|
1118
1118
|
return { $unknown: Object.entries(output)[0] };
|
|
1119
1119
|
};
|
|
1120
1120
|
const deserializeAws_json1_0InternalServerException = (output, context) => {
|
|
1121
1121
|
return {
|
|
1122
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1122
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1123
1123
|
};
|
|
1124
1124
|
};
|
|
1125
1125
|
const deserializeAws_json1_0KmsEncryptionConfig = (output, context) => {
|
|
1126
1126
|
return {
|
|
1127
|
-
CmkType: smithy_client_1.expectString(output.CmkType),
|
|
1128
|
-
KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
|
|
1127
|
+
CmkType: (0, smithy_client_1.expectString)(output.CmkType),
|
|
1128
|
+
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
1129
1129
|
};
|
|
1130
1130
|
};
|
|
1131
1131
|
const deserializeAws_json1_0ListFHIRDatastoresResponse = (output, context) => {
|
|
@@ -1133,7 +1133,7 @@ const deserializeAws_json1_0ListFHIRDatastoresResponse = (output, context) => {
|
|
|
1133
1133
|
DatastorePropertiesList: output.DatastorePropertiesList !== undefined && output.DatastorePropertiesList !== null
|
|
1134
1134
|
? deserializeAws_json1_0DatastorePropertiesList(output.DatastorePropertiesList, context)
|
|
1135
1135
|
: undefined,
|
|
1136
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
1136
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1137
1137
|
};
|
|
1138
1138
|
};
|
|
1139
1139
|
const deserializeAws_json1_0ListFHIRExportJobsResponse = (output, context) => {
|
|
@@ -1141,7 +1141,7 @@ const deserializeAws_json1_0ListFHIRExportJobsResponse = (output, context) => {
|
|
|
1141
1141
|
ExportJobPropertiesList: output.ExportJobPropertiesList !== undefined && output.ExportJobPropertiesList !== null
|
|
1142
1142
|
? deserializeAws_json1_0ExportJobPropertiesList(output.ExportJobPropertiesList, context)
|
|
1143
1143
|
: undefined,
|
|
1144
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
1144
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1145
1145
|
};
|
|
1146
1146
|
};
|
|
1147
1147
|
const deserializeAws_json1_0ListFHIRImportJobsResponse = (output, context) => {
|
|
@@ -1149,7 +1149,7 @@ const deserializeAws_json1_0ListFHIRImportJobsResponse = (output, context) => {
|
|
|
1149
1149
|
ImportJobPropertiesList: output.ImportJobPropertiesList !== undefined && output.ImportJobPropertiesList !== null
|
|
1150
1150
|
? deserializeAws_json1_0ImportJobPropertiesList(output.ImportJobPropertiesList, context)
|
|
1151
1151
|
: undefined,
|
|
1152
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
1152
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1153
1153
|
};
|
|
1154
1154
|
};
|
|
1155
1155
|
const deserializeAws_json1_0ListTagsForResourceResponse = (output, context) => {
|
|
@@ -1169,18 +1169,18 @@ const deserializeAws_json1_0OutputDataConfig = (output, context) => {
|
|
|
1169
1169
|
};
|
|
1170
1170
|
const deserializeAws_json1_0PreloadDataConfig = (output, context) => {
|
|
1171
1171
|
return {
|
|
1172
|
-
PreloadDataType: smithy_client_1.expectString(output.PreloadDataType),
|
|
1172
|
+
PreloadDataType: (0, smithy_client_1.expectString)(output.PreloadDataType),
|
|
1173
1173
|
};
|
|
1174
1174
|
};
|
|
1175
1175
|
const deserializeAws_json1_0ResourceNotFoundException = (output, context) => {
|
|
1176
1176
|
return {
|
|
1177
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1177
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1178
1178
|
};
|
|
1179
1179
|
};
|
|
1180
1180
|
const deserializeAws_json1_0S3Configuration = (output, context) => {
|
|
1181
1181
|
return {
|
|
1182
|
-
KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
|
|
1183
|
-
S3Uri: smithy_client_1.expectString(output.S3Uri),
|
|
1182
|
+
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
1183
|
+
S3Uri: (0, smithy_client_1.expectString)(output.S3Uri),
|
|
1184
1184
|
};
|
|
1185
1185
|
};
|
|
1186
1186
|
const deserializeAws_json1_0SseConfiguration = (output, context) => {
|
|
@@ -1192,22 +1192,22 @@ const deserializeAws_json1_0SseConfiguration = (output, context) => {
|
|
|
1192
1192
|
};
|
|
1193
1193
|
const deserializeAws_json1_0StartFHIRExportJobResponse = (output, context) => {
|
|
1194
1194
|
return {
|
|
1195
|
-
DatastoreId: smithy_client_1.expectString(output.DatastoreId),
|
|
1196
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
1197
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
1195
|
+
DatastoreId: (0, smithy_client_1.expectString)(output.DatastoreId),
|
|
1196
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
1197
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
1198
1198
|
};
|
|
1199
1199
|
};
|
|
1200
1200
|
const deserializeAws_json1_0StartFHIRImportJobResponse = (output, context) => {
|
|
1201
1201
|
return {
|
|
1202
|
-
DatastoreId: smithy_client_1.expectString(output.DatastoreId),
|
|
1203
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
1204
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
1202
|
+
DatastoreId: (0, smithy_client_1.expectString)(output.DatastoreId),
|
|
1203
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
1204
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
1205
1205
|
};
|
|
1206
1206
|
};
|
|
1207
1207
|
const deserializeAws_json1_0Tag = (output, context) => {
|
|
1208
1208
|
return {
|
|
1209
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
1210
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
1209
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
1210
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
1211
1211
|
};
|
|
1212
1212
|
};
|
|
1213
1213
|
const deserializeAws_json1_0TagList = (output, context) => {
|
|
@@ -1226,7 +1226,7 @@ const deserializeAws_json1_0TagResourceResponse = (output, context) => {
|
|
|
1226
1226
|
};
|
|
1227
1227
|
const deserializeAws_json1_0ThrottlingException = (output, context) => {
|
|
1228
1228
|
return {
|
|
1229
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1229
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1230
1230
|
};
|
|
1231
1231
|
};
|
|
1232
1232
|
const deserializeAws_json1_0UntagResourceResponse = (output, context) => {
|
|
@@ -1234,7 +1234,7 @@ const deserializeAws_json1_0UntagResourceResponse = (output, context) => {
|
|
|
1234
1234
|
};
|
|
1235
1235
|
const deserializeAws_json1_0ValidationException = (output, context) => {
|
|
1236
1236
|
return {
|
|
1237
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1237
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1238
1238
|
};
|
|
1239
1239
|
};
|
|
1240
1240
|
const deserializeMetadata = (output) => {
|
|
@@ -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,
|
package/dist-es/HealthLake.js
CHANGED
|
@@ -25,7 +25,7 @@ var HealthLake = (function (_super) {
|
|
|
25
25
|
}
|
|
26
26
|
else if (typeof cb === "function") {
|
|
27
27
|
if (typeof optionsOrCb !== "object")
|
|
28
|
-
throw new Error("Expect http options but get "
|
|
28
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
29
29
|
this.send(command, optionsOrCb || {}, cb);
|
|
30
30
|
}
|
|
31
31
|
else {
|
|
@@ -39,7 +39,7 @@ var HealthLake = (function (_super) {
|
|
|
39
39
|
}
|
|
40
40
|
else if (typeof cb === "function") {
|
|
41
41
|
if (typeof optionsOrCb !== "object")
|
|
42
|
-
throw new Error("Expect http options but get "
|
|
42
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
43
43
|
this.send(command, optionsOrCb || {}, cb);
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
@@ -53,7 +53,7 @@ var HealthLake = (function (_super) {
|
|
|
53
53
|
}
|
|
54
54
|
else if (typeof cb === "function") {
|
|
55
55
|
if (typeof optionsOrCb !== "object")
|
|
56
|
-
throw new Error("Expect http options but get "
|
|
56
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
57
57
|
this.send(command, optionsOrCb || {}, cb);
|
|
58
58
|
}
|
|
59
59
|
else {
|
|
@@ -67,7 +67,7 @@ var HealthLake = (function (_super) {
|
|
|
67
67
|
}
|
|
68
68
|
else if (typeof cb === "function") {
|
|
69
69
|
if (typeof optionsOrCb !== "object")
|
|
70
|
-
throw new Error("Expect http options but get "
|
|
70
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
71
71
|
this.send(command, optionsOrCb || {}, cb);
|
|
72
72
|
}
|
|
73
73
|
else {
|
|
@@ -81,7 +81,7 @@ var HealthLake = (function (_super) {
|
|
|
81
81
|
}
|
|
82
82
|
else if (typeof cb === "function") {
|
|
83
83
|
if (typeof optionsOrCb !== "object")
|
|
84
|
-
throw new Error("Expect http options but get "
|
|
84
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
85
85
|
this.send(command, optionsOrCb || {}, cb);
|
|
86
86
|
}
|
|
87
87
|
else {
|
|
@@ -95,7 +95,7 @@ var HealthLake = (function (_super) {
|
|
|
95
95
|
}
|
|
96
96
|
else if (typeof cb === "function") {
|
|
97
97
|
if (typeof optionsOrCb !== "object")
|
|
98
|
-
throw new Error("Expect http options but get "
|
|
98
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
99
99
|
this.send(command, optionsOrCb || {}, cb);
|
|
100
100
|
}
|
|
101
101
|
else {
|
|
@@ -109,7 +109,7 @@ var HealthLake = (function (_super) {
|
|
|
109
109
|
}
|
|
110
110
|
else if (typeof cb === "function") {
|
|
111
111
|
if (typeof optionsOrCb !== "object")
|
|
112
|
-
throw new Error("Expect http options but get "
|
|
112
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
113
113
|
this.send(command, optionsOrCb || {}, cb);
|
|
114
114
|
}
|
|
115
115
|
else {
|
|
@@ -123,7 +123,7 @@ var HealthLake = (function (_super) {
|
|
|
123
123
|
}
|
|
124
124
|
else if (typeof cb === "function") {
|
|
125
125
|
if (typeof optionsOrCb !== "object")
|
|
126
|
-
throw new Error("Expect http options but get "
|
|
126
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
127
127
|
this.send(command, optionsOrCb || {}, cb);
|
|
128
128
|
}
|
|
129
129
|
else {
|
|
@@ -137,7 +137,7 @@ var HealthLake = (function (_super) {
|
|
|
137
137
|
}
|
|
138
138
|
else if (typeof cb === "function") {
|
|
139
139
|
if (typeof optionsOrCb !== "object")
|
|
140
|
-
throw new Error("Expect http options but get "
|
|
140
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
141
141
|
this.send(command, optionsOrCb || {}, cb);
|
|
142
142
|
}
|
|
143
143
|
else {
|
|
@@ -151,7 +151,7 @@ var HealthLake = (function (_super) {
|
|
|
151
151
|
}
|
|
152
152
|
else if (typeof cb === "function") {
|
|
153
153
|
if (typeof optionsOrCb !== "object")
|
|
154
|
-
throw new Error("Expect http options but get "
|
|
154
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
155
155
|
this.send(command, optionsOrCb || {}, cb);
|
|
156
156
|
}
|
|
157
157
|
else {
|
|
@@ -165,7 +165,7 @@ var HealthLake = (function (_super) {
|
|
|
165
165
|
}
|
|
166
166
|
else if (typeof cb === "function") {
|
|
167
167
|
if (typeof optionsOrCb !== "object")
|
|
168
|
-
throw new Error("Expect http options but get "
|
|
168
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
169
169
|
this.send(command, optionsOrCb || {}, cb);
|
|
170
170
|
}
|
|
171
171
|
else {
|
|
@@ -179,7 +179,7 @@ var HealthLake = (function (_super) {
|
|
|
179
179
|
}
|
|
180
180
|
else if (typeof cb === "function") {
|
|
181
181
|
if (typeof optionsOrCb !== "object")
|
|
182
|
-
throw new Error("Expect http options but get "
|
|
182
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
183
183
|
this.send(command, optionsOrCb || {}, cb);
|
|
184
184
|
}
|
|
185
185
|
else {
|
|
@@ -193,7 +193,7 @@ var HealthLake = (function (_super) {
|
|
|
193
193
|
}
|
|
194
194
|
else if (typeof cb === "function") {
|
|
195
195
|
if (typeof optionsOrCb !== "object")
|
|
196
|
-
throw new Error("Expect http options but get "
|
|
196
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
197
197
|
this.send(command, optionsOrCb || {}, cb);
|
|
198
198
|
}
|
|
199
199
|
else {
|