@aws-sdk/client-support 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/SupportClient.js +13 -13
- package/dist-cjs/commands/AddAttachmentsToSetCommand.js +3 -3
- package/dist-cjs/commands/AddCommunicationToCaseCommand.js +3 -3
- package/dist-cjs/commands/CreateCaseCommand.js +3 -3
- package/dist-cjs/commands/DescribeAttachmentCommand.js +3 -3
- package/dist-cjs/commands/DescribeCasesCommand.js +3 -3
- package/dist-cjs/commands/DescribeCommunicationsCommand.js +3 -3
- package/dist-cjs/commands/DescribeServicesCommand.js +3 -3
- package/dist-cjs/commands/DescribeSeverityLevelsCommand.js +3 -3
- package/dist-cjs/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.js +3 -3
- package/dist-cjs/commands/DescribeTrustedAdvisorCheckResultCommand.js +3 -3
- package/dist-cjs/commands/DescribeTrustedAdvisorCheckSummariesCommand.js +3 -3
- package/dist-cjs/commands/DescribeTrustedAdvisorChecksCommand.js +3 -3
- package/dist-cjs/commands/RefreshTrustedAdvisorCheckCommand.js +3 -3
- package/dist-cjs/commands/ResolveCaseCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +90 -90
- 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/Support.js +14 -14
- package/dist-es/pagination/DescribeCasesPaginator.js +4 -4
- package/dist-es/pagination/DescribeCommunicationsPaginator.js +4 -4
- package/dist-types/SupportClient.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/SupportClient.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
|
@@ -190,7 +190,7 @@ const deserializeAws_json1_1AddAttachmentsToSetCommandError = async (output, con
|
|
|
190
190
|
$fault: "client",
|
|
191
191
|
$metadata: deserializeMetadata(output),
|
|
192
192
|
});
|
|
193
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
193
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
194
194
|
}
|
|
195
195
|
};
|
|
196
196
|
const deserializeAws_json1_1AddCommunicationToCaseCommand = async (output, context) => {
|
|
@@ -235,7 +235,7 @@ const deserializeAws_json1_1AddCommunicationToCaseCommandError = async (output,
|
|
|
235
235
|
$fault: "client",
|
|
236
236
|
$metadata: deserializeMetadata(output),
|
|
237
237
|
});
|
|
238
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
238
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
239
239
|
}
|
|
240
240
|
};
|
|
241
241
|
const deserializeAws_json1_1CreateCaseCommand = async (output, context) => {
|
|
@@ -280,7 +280,7 @@ const deserializeAws_json1_1CreateCaseCommandError = async (output, context) =>
|
|
|
280
280
|
$fault: "client",
|
|
281
281
|
$metadata: deserializeMetadata(output),
|
|
282
282
|
});
|
|
283
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
283
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
284
284
|
}
|
|
285
285
|
};
|
|
286
286
|
const deserializeAws_json1_1DescribeAttachmentCommand = async (output, context) => {
|
|
@@ -322,7 +322,7 @@ const deserializeAws_json1_1DescribeAttachmentCommandError = async (output, cont
|
|
|
322
322
|
$fault: "client",
|
|
323
323
|
$metadata: deserializeMetadata(output),
|
|
324
324
|
});
|
|
325
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
325
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
326
326
|
}
|
|
327
327
|
};
|
|
328
328
|
const deserializeAws_json1_1DescribeCasesCommand = async (output, context) => {
|
|
@@ -361,7 +361,7 @@ const deserializeAws_json1_1DescribeCasesCommandError = async (output, context)
|
|
|
361
361
|
$fault: "client",
|
|
362
362
|
$metadata: deserializeMetadata(output),
|
|
363
363
|
});
|
|
364
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
364
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
365
365
|
}
|
|
366
366
|
};
|
|
367
367
|
const deserializeAws_json1_1DescribeCommunicationsCommand = async (output, context) => {
|
|
@@ -400,7 +400,7 @@ const deserializeAws_json1_1DescribeCommunicationsCommandError = async (output,
|
|
|
400
400
|
$fault: "client",
|
|
401
401
|
$metadata: deserializeMetadata(output),
|
|
402
402
|
});
|
|
403
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
403
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
404
404
|
}
|
|
405
405
|
};
|
|
406
406
|
const deserializeAws_json1_1DescribeServicesCommand = async (output, context) => {
|
|
@@ -436,7 +436,7 @@ const deserializeAws_json1_1DescribeServicesCommandError = async (output, contex
|
|
|
436
436
|
$fault: "client",
|
|
437
437
|
$metadata: deserializeMetadata(output),
|
|
438
438
|
});
|
|
439
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
439
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
440
440
|
}
|
|
441
441
|
};
|
|
442
442
|
const deserializeAws_json1_1DescribeSeverityLevelsCommand = async (output, context) => {
|
|
@@ -472,7 +472,7 @@ const deserializeAws_json1_1DescribeSeverityLevelsCommandError = async (output,
|
|
|
472
472
|
$fault: "client",
|
|
473
473
|
$metadata: deserializeMetadata(output),
|
|
474
474
|
});
|
|
475
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
475
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
476
476
|
}
|
|
477
477
|
};
|
|
478
478
|
const deserializeAws_json1_1DescribeTrustedAdvisorCheckRefreshStatusesCommand = async (output, context) => {
|
|
@@ -508,7 +508,7 @@ const deserializeAws_json1_1DescribeTrustedAdvisorCheckRefreshStatusesCommandErr
|
|
|
508
508
|
$fault: "client",
|
|
509
509
|
$metadata: deserializeMetadata(output),
|
|
510
510
|
});
|
|
511
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
511
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
512
512
|
}
|
|
513
513
|
};
|
|
514
514
|
const deserializeAws_json1_1DescribeTrustedAdvisorCheckResultCommand = async (output, context) => {
|
|
@@ -544,7 +544,7 @@ const deserializeAws_json1_1DescribeTrustedAdvisorCheckResultCommandError = asyn
|
|
|
544
544
|
$fault: "client",
|
|
545
545
|
$metadata: deserializeMetadata(output),
|
|
546
546
|
});
|
|
547
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
547
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
548
548
|
}
|
|
549
549
|
};
|
|
550
550
|
const deserializeAws_json1_1DescribeTrustedAdvisorChecksCommand = async (output, context) => {
|
|
@@ -580,7 +580,7 @@ const deserializeAws_json1_1DescribeTrustedAdvisorChecksCommandError = async (ou
|
|
|
580
580
|
$fault: "client",
|
|
581
581
|
$metadata: deserializeMetadata(output),
|
|
582
582
|
});
|
|
583
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
583
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
584
584
|
}
|
|
585
585
|
};
|
|
586
586
|
const deserializeAws_json1_1DescribeTrustedAdvisorCheckSummariesCommand = async (output, context) => {
|
|
@@ -616,7 +616,7 @@ const deserializeAws_json1_1DescribeTrustedAdvisorCheckSummariesCommandError = a
|
|
|
616
616
|
$fault: "client",
|
|
617
617
|
$metadata: deserializeMetadata(output),
|
|
618
618
|
});
|
|
619
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
619
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
620
620
|
}
|
|
621
621
|
};
|
|
622
622
|
const deserializeAws_json1_1RefreshTrustedAdvisorCheckCommand = async (output, context) => {
|
|
@@ -652,7 +652,7 @@ const deserializeAws_json1_1RefreshTrustedAdvisorCheckCommandError = async (outp
|
|
|
652
652
|
$fault: "client",
|
|
653
653
|
$metadata: deserializeMetadata(output),
|
|
654
654
|
});
|
|
655
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
655
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
656
656
|
}
|
|
657
657
|
};
|
|
658
658
|
const deserializeAws_json1_1ResolveCaseCommand = async (output, context) => {
|
|
@@ -691,7 +691,7 @@ const deserializeAws_json1_1ResolveCaseCommandError = async (output, context) =>
|
|
|
691
691
|
$fault: "client",
|
|
692
692
|
$metadata: deserializeMetadata(output),
|
|
693
693
|
});
|
|
694
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
694
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
695
695
|
}
|
|
696
696
|
};
|
|
697
697
|
const deserializeAws_json1_1AttachmentIdNotFoundResponse = async (parsedOutput, context) => {
|
|
@@ -701,7 +701,7 @@ const deserializeAws_json1_1AttachmentIdNotFoundResponse = async (parsedOutput,
|
|
|
701
701
|
$metadata: deserializeMetadata(parsedOutput),
|
|
702
702
|
...deserialized,
|
|
703
703
|
});
|
|
704
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
704
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
705
705
|
};
|
|
706
706
|
const deserializeAws_json1_1AttachmentLimitExceededResponse = async (parsedOutput, context) => {
|
|
707
707
|
const body = parsedOutput.body;
|
|
@@ -710,7 +710,7 @@ const deserializeAws_json1_1AttachmentLimitExceededResponse = async (parsedOutpu
|
|
|
710
710
|
$metadata: deserializeMetadata(parsedOutput),
|
|
711
711
|
...deserialized,
|
|
712
712
|
});
|
|
713
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
713
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
714
714
|
};
|
|
715
715
|
const deserializeAws_json1_1AttachmentSetExpiredResponse = async (parsedOutput, context) => {
|
|
716
716
|
const body = parsedOutput.body;
|
|
@@ -719,7 +719,7 @@ const deserializeAws_json1_1AttachmentSetExpiredResponse = async (parsedOutput,
|
|
|
719
719
|
$metadata: deserializeMetadata(parsedOutput),
|
|
720
720
|
...deserialized,
|
|
721
721
|
});
|
|
722
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
722
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
723
723
|
};
|
|
724
724
|
const deserializeAws_json1_1AttachmentSetIdNotFoundResponse = async (parsedOutput, context) => {
|
|
725
725
|
const body = parsedOutput.body;
|
|
@@ -728,7 +728,7 @@ const deserializeAws_json1_1AttachmentSetIdNotFoundResponse = async (parsedOutpu
|
|
|
728
728
|
$metadata: deserializeMetadata(parsedOutput),
|
|
729
729
|
...deserialized,
|
|
730
730
|
});
|
|
731
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
731
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
732
732
|
};
|
|
733
733
|
const deserializeAws_json1_1AttachmentSetSizeLimitExceededResponse = async (parsedOutput, context) => {
|
|
734
734
|
const body = parsedOutput.body;
|
|
@@ -737,7 +737,7 @@ const deserializeAws_json1_1AttachmentSetSizeLimitExceededResponse = async (pars
|
|
|
737
737
|
$metadata: deserializeMetadata(parsedOutput),
|
|
738
738
|
...deserialized,
|
|
739
739
|
});
|
|
740
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
740
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
741
741
|
};
|
|
742
742
|
const deserializeAws_json1_1CaseCreationLimitExceededResponse = async (parsedOutput, context) => {
|
|
743
743
|
const body = parsedOutput.body;
|
|
@@ -746,7 +746,7 @@ const deserializeAws_json1_1CaseCreationLimitExceededResponse = async (parsedOut
|
|
|
746
746
|
$metadata: deserializeMetadata(parsedOutput),
|
|
747
747
|
...deserialized,
|
|
748
748
|
});
|
|
749
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
749
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
750
750
|
};
|
|
751
751
|
const deserializeAws_json1_1CaseIdNotFoundResponse = async (parsedOutput, context) => {
|
|
752
752
|
const body = parsedOutput.body;
|
|
@@ -755,7 +755,7 @@ const deserializeAws_json1_1CaseIdNotFoundResponse = async (parsedOutput, contex
|
|
|
755
755
|
$metadata: deserializeMetadata(parsedOutput),
|
|
756
756
|
...deserialized,
|
|
757
757
|
});
|
|
758
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
758
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
759
759
|
};
|
|
760
760
|
const deserializeAws_json1_1DescribeAttachmentLimitExceededResponse = async (parsedOutput, context) => {
|
|
761
761
|
const body = parsedOutput.body;
|
|
@@ -764,7 +764,7 @@ const deserializeAws_json1_1DescribeAttachmentLimitExceededResponse = async (par
|
|
|
764
764
|
$metadata: deserializeMetadata(parsedOutput),
|
|
765
765
|
...deserialized,
|
|
766
766
|
});
|
|
767
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
767
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
768
768
|
};
|
|
769
769
|
const deserializeAws_json1_1InternalServerErrorResponse = async (parsedOutput, context) => {
|
|
770
770
|
const body = parsedOutput.body;
|
|
@@ -773,7 +773,7 @@ const deserializeAws_json1_1InternalServerErrorResponse = async (parsedOutput, c
|
|
|
773
773
|
$metadata: deserializeMetadata(parsedOutput),
|
|
774
774
|
...deserialized,
|
|
775
775
|
});
|
|
776
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
776
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
777
777
|
};
|
|
778
778
|
const serializeAws_json1_1AddAttachmentsToSetRequest = (input, context) => {
|
|
779
779
|
return {
|
|
@@ -949,35 +949,35 @@ const serializeAws_json1_1StringList = (input, context) => {
|
|
|
949
949
|
};
|
|
950
950
|
const deserializeAws_json1_1AddAttachmentsToSetResponse = (output, context) => {
|
|
951
951
|
return {
|
|
952
|
-
attachmentSetId: smithy_client_1.expectString(output.attachmentSetId),
|
|
953
|
-
expiryTime: smithy_client_1.expectString(output.expiryTime),
|
|
952
|
+
attachmentSetId: (0, smithy_client_1.expectString)(output.attachmentSetId),
|
|
953
|
+
expiryTime: (0, smithy_client_1.expectString)(output.expiryTime),
|
|
954
954
|
};
|
|
955
955
|
};
|
|
956
956
|
const deserializeAws_json1_1AddCommunicationToCaseResponse = (output, context) => {
|
|
957
957
|
return {
|
|
958
|
-
result: smithy_client_1.expectBoolean(output.result),
|
|
958
|
+
result: (0, smithy_client_1.expectBoolean)(output.result),
|
|
959
959
|
};
|
|
960
960
|
};
|
|
961
961
|
const deserializeAws_json1_1Attachment = (output, context) => {
|
|
962
962
|
return {
|
|
963
963
|
data: output.data !== undefined && output.data !== null ? context.base64Decoder(output.data) : undefined,
|
|
964
|
-
fileName: smithy_client_1.expectString(output.fileName),
|
|
964
|
+
fileName: (0, smithy_client_1.expectString)(output.fileName),
|
|
965
965
|
};
|
|
966
966
|
};
|
|
967
967
|
const deserializeAws_json1_1AttachmentDetails = (output, context) => {
|
|
968
968
|
return {
|
|
969
|
-
attachmentId: smithy_client_1.expectString(output.attachmentId),
|
|
970
|
-
fileName: smithy_client_1.expectString(output.fileName),
|
|
969
|
+
attachmentId: (0, smithy_client_1.expectString)(output.attachmentId),
|
|
970
|
+
fileName: (0, smithy_client_1.expectString)(output.fileName),
|
|
971
971
|
};
|
|
972
972
|
};
|
|
973
973
|
const deserializeAws_json1_1AttachmentIdNotFound = (output, context) => {
|
|
974
974
|
return {
|
|
975
|
-
message: smithy_client_1.expectString(output.message),
|
|
975
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
976
976
|
};
|
|
977
977
|
};
|
|
978
978
|
const deserializeAws_json1_1AttachmentLimitExceeded = (output, context) => {
|
|
979
979
|
return {
|
|
980
|
-
message: smithy_client_1.expectString(output.message),
|
|
980
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
981
981
|
};
|
|
982
982
|
};
|
|
983
983
|
const deserializeAws_json1_1AttachmentSet = (output, context) => {
|
|
@@ -993,47 +993,47 @@ const deserializeAws_json1_1AttachmentSet = (output, context) => {
|
|
|
993
993
|
};
|
|
994
994
|
const deserializeAws_json1_1AttachmentSetExpired = (output, context) => {
|
|
995
995
|
return {
|
|
996
|
-
message: smithy_client_1.expectString(output.message),
|
|
996
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
997
997
|
};
|
|
998
998
|
};
|
|
999
999
|
const deserializeAws_json1_1AttachmentSetIdNotFound = (output, context) => {
|
|
1000
1000
|
return {
|
|
1001
|
-
message: smithy_client_1.expectString(output.message),
|
|
1001
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1002
1002
|
};
|
|
1003
1003
|
};
|
|
1004
1004
|
const deserializeAws_json1_1AttachmentSetSizeLimitExceeded = (output, context) => {
|
|
1005
1005
|
return {
|
|
1006
|
-
message: smithy_client_1.expectString(output.message),
|
|
1006
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1007
1007
|
};
|
|
1008
1008
|
};
|
|
1009
1009
|
const deserializeAws_json1_1CaseCreationLimitExceeded = (output, context) => {
|
|
1010
1010
|
return {
|
|
1011
|
-
message: smithy_client_1.expectString(output.message),
|
|
1011
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1012
1012
|
};
|
|
1013
1013
|
};
|
|
1014
1014
|
const deserializeAws_json1_1CaseDetails = (output, context) => {
|
|
1015
1015
|
return {
|
|
1016
|
-
caseId: smithy_client_1.expectString(output.caseId),
|
|
1017
|
-
categoryCode: smithy_client_1.expectString(output.categoryCode),
|
|
1016
|
+
caseId: (0, smithy_client_1.expectString)(output.caseId),
|
|
1017
|
+
categoryCode: (0, smithy_client_1.expectString)(output.categoryCode),
|
|
1018
1018
|
ccEmailAddresses: output.ccEmailAddresses !== undefined && output.ccEmailAddresses !== null
|
|
1019
1019
|
? deserializeAws_json1_1CcEmailAddressList(output.ccEmailAddresses, context)
|
|
1020
1020
|
: undefined,
|
|
1021
|
-
displayId: smithy_client_1.expectString(output.displayId),
|
|
1022
|
-
language: smithy_client_1.expectString(output.language),
|
|
1021
|
+
displayId: (0, smithy_client_1.expectString)(output.displayId),
|
|
1022
|
+
language: (0, smithy_client_1.expectString)(output.language),
|
|
1023
1023
|
recentCommunications: output.recentCommunications !== undefined && output.recentCommunications !== null
|
|
1024
1024
|
? deserializeAws_json1_1RecentCaseCommunications(output.recentCommunications, context)
|
|
1025
1025
|
: undefined,
|
|
1026
|
-
serviceCode: smithy_client_1.expectString(output.serviceCode),
|
|
1027
|
-
severityCode: smithy_client_1.expectString(output.severityCode),
|
|
1028
|
-
status: smithy_client_1.expectString(output.status),
|
|
1029
|
-
subject: smithy_client_1.expectString(output.subject),
|
|
1030
|
-
submittedBy: smithy_client_1.expectString(output.submittedBy),
|
|
1031
|
-
timeCreated: smithy_client_1.expectString(output.timeCreated),
|
|
1026
|
+
serviceCode: (0, smithy_client_1.expectString)(output.serviceCode),
|
|
1027
|
+
severityCode: (0, smithy_client_1.expectString)(output.severityCode),
|
|
1028
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
1029
|
+
subject: (0, smithy_client_1.expectString)(output.subject),
|
|
1030
|
+
submittedBy: (0, smithy_client_1.expectString)(output.submittedBy),
|
|
1031
|
+
timeCreated: (0, smithy_client_1.expectString)(output.timeCreated),
|
|
1032
1032
|
};
|
|
1033
1033
|
};
|
|
1034
1034
|
const deserializeAws_json1_1CaseIdNotFound = (output, context) => {
|
|
1035
1035
|
return {
|
|
1036
|
-
message: smithy_client_1.expectString(output.message),
|
|
1036
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1037
1037
|
};
|
|
1038
1038
|
};
|
|
1039
1039
|
const deserializeAws_json1_1CaseList = (output, context) => {
|
|
@@ -1049,8 +1049,8 @@ const deserializeAws_json1_1CaseList = (output, context) => {
|
|
|
1049
1049
|
};
|
|
1050
1050
|
const deserializeAws_json1_1Category = (output, context) => {
|
|
1051
1051
|
return {
|
|
1052
|
-
code: smithy_client_1.expectString(output.code),
|
|
1053
|
-
name: smithy_client_1.expectString(output.name),
|
|
1052
|
+
code: (0, smithy_client_1.expectString)(output.code),
|
|
1053
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
1054
1054
|
};
|
|
1055
1055
|
};
|
|
1056
1056
|
const deserializeAws_json1_1CategoryList = (output, context) => {
|
|
@@ -1071,7 +1071,7 @@ const deserializeAws_json1_1CcEmailAddressList = (output, context) => {
|
|
|
1071
1071
|
if (entry === null) {
|
|
1072
1072
|
return null;
|
|
1073
1073
|
}
|
|
1074
|
-
return smithy_client_1.expectString(entry);
|
|
1074
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
1075
1075
|
});
|
|
1076
1076
|
return retVal;
|
|
1077
1077
|
};
|
|
@@ -1080,10 +1080,10 @@ const deserializeAws_json1_1Communication = (output, context) => {
|
|
|
1080
1080
|
attachmentSet: output.attachmentSet !== undefined && output.attachmentSet !== null
|
|
1081
1081
|
? deserializeAws_json1_1AttachmentSet(output.attachmentSet, context)
|
|
1082
1082
|
: undefined,
|
|
1083
|
-
body: smithy_client_1.expectString(output.body),
|
|
1084
|
-
caseId: smithy_client_1.expectString(output.caseId),
|
|
1085
|
-
submittedBy: smithy_client_1.expectString(output.submittedBy),
|
|
1086
|
-
timeCreated: smithy_client_1.expectString(output.timeCreated),
|
|
1083
|
+
body: (0, smithy_client_1.expectString)(output.body),
|
|
1084
|
+
caseId: (0, smithy_client_1.expectString)(output.caseId),
|
|
1085
|
+
submittedBy: (0, smithy_client_1.expectString)(output.submittedBy),
|
|
1086
|
+
timeCreated: (0, smithy_client_1.expectString)(output.timeCreated),
|
|
1087
1087
|
};
|
|
1088
1088
|
};
|
|
1089
1089
|
const deserializeAws_json1_1CommunicationList = (output, context) => {
|
|
@@ -1099,12 +1099,12 @@ const deserializeAws_json1_1CommunicationList = (output, context) => {
|
|
|
1099
1099
|
};
|
|
1100
1100
|
const deserializeAws_json1_1CreateCaseResponse = (output, context) => {
|
|
1101
1101
|
return {
|
|
1102
|
-
caseId: smithy_client_1.expectString(output.caseId),
|
|
1102
|
+
caseId: (0, smithy_client_1.expectString)(output.caseId),
|
|
1103
1103
|
};
|
|
1104
1104
|
};
|
|
1105
1105
|
const deserializeAws_json1_1DescribeAttachmentLimitExceeded = (output, context) => {
|
|
1106
1106
|
return {
|
|
1107
|
-
message: smithy_client_1.expectString(output.message),
|
|
1107
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1108
1108
|
};
|
|
1109
1109
|
};
|
|
1110
1110
|
const deserializeAws_json1_1DescribeAttachmentResponse = (output, context) => {
|
|
@@ -1119,7 +1119,7 @@ const deserializeAws_json1_1DescribeCasesResponse = (output, context) => {
|
|
|
1119
1119
|
cases: output.cases !== undefined && output.cases !== null
|
|
1120
1120
|
? deserializeAws_json1_1CaseList(output.cases, context)
|
|
1121
1121
|
: undefined,
|
|
1122
|
-
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
1122
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
1123
1123
|
};
|
|
1124
1124
|
};
|
|
1125
1125
|
const deserializeAws_json1_1DescribeCommunicationsResponse = (output, context) => {
|
|
@@ -1127,7 +1127,7 @@ const deserializeAws_json1_1DescribeCommunicationsResponse = (output, context) =
|
|
|
1127
1127
|
communications: output.communications !== undefined && output.communications !== null
|
|
1128
1128
|
? deserializeAws_json1_1CommunicationList(output.communications, context)
|
|
1129
1129
|
: undefined,
|
|
1130
|
-
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
1130
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
1131
1131
|
};
|
|
1132
1132
|
};
|
|
1133
1133
|
const deserializeAws_json1_1DescribeServicesResponse = (output, context) => {
|
|
@@ -1174,7 +1174,7 @@ const deserializeAws_json1_1DescribeTrustedAdvisorCheckSummariesResponse = (outp
|
|
|
1174
1174
|
};
|
|
1175
1175
|
const deserializeAws_json1_1InternalServerError = (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_1RecentCaseCommunications = (output, context) => {
|
|
@@ -1182,7 +1182,7 @@ const deserializeAws_json1_1RecentCaseCommunications = (output, context) => {
|
|
|
1182
1182
|
communications: output.communications !== undefined && output.communications !== null
|
|
1183
1183
|
? deserializeAws_json1_1CommunicationList(output.communications, context)
|
|
1184
1184
|
: undefined,
|
|
1185
|
-
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
1185
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
1186
1186
|
};
|
|
1187
1187
|
};
|
|
1188
1188
|
const deserializeAws_json1_1RefreshTrustedAdvisorCheckResponse = (output, context) => {
|
|
@@ -1194,8 +1194,8 @@ const deserializeAws_json1_1RefreshTrustedAdvisorCheckResponse = (output, contex
|
|
|
1194
1194
|
};
|
|
1195
1195
|
const deserializeAws_json1_1ResolveCaseResponse = (output, context) => {
|
|
1196
1196
|
return {
|
|
1197
|
-
finalCaseStatus: smithy_client_1.expectString(output.finalCaseStatus),
|
|
1198
|
-
initialCaseStatus: smithy_client_1.expectString(output.initialCaseStatus),
|
|
1197
|
+
finalCaseStatus: (0, smithy_client_1.expectString)(output.finalCaseStatus),
|
|
1198
|
+
initialCaseStatus: (0, smithy_client_1.expectString)(output.initialCaseStatus),
|
|
1199
1199
|
};
|
|
1200
1200
|
};
|
|
1201
1201
|
const deserializeAws_json1_1Service = (output, context) => {
|
|
@@ -1203,8 +1203,8 @@ const deserializeAws_json1_1Service = (output, context) => {
|
|
|
1203
1203
|
categories: output.categories !== undefined && output.categories !== null
|
|
1204
1204
|
? deserializeAws_json1_1CategoryList(output.categories, context)
|
|
1205
1205
|
: undefined,
|
|
1206
|
-
code: smithy_client_1.expectString(output.code),
|
|
1207
|
-
name: smithy_client_1.expectString(output.name),
|
|
1206
|
+
code: (0, smithy_client_1.expectString)(output.code),
|
|
1207
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
1208
1208
|
};
|
|
1209
1209
|
};
|
|
1210
1210
|
const deserializeAws_json1_1ServiceList = (output, context) => {
|
|
@@ -1220,8 +1220,8 @@ const deserializeAws_json1_1ServiceList = (output, context) => {
|
|
|
1220
1220
|
};
|
|
1221
1221
|
const deserializeAws_json1_1SeverityLevel = (output, context) => {
|
|
1222
1222
|
return {
|
|
1223
|
-
code: smithy_client_1.expectString(output.code),
|
|
1224
|
-
name: smithy_client_1.expectString(output.name),
|
|
1223
|
+
code: (0, smithy_client_1.expectString)(output.code),
|
|
1224
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
1225
1225
|
};
|
|
1226
1226
|
};
|
|
1227
1227
|
const deserializeAws_json1_1SeverityLevelsList = (output, context) => {
|
|
@@ -1242,7 +1242,7 @@ const deserializeAws_json1_1StringList = (output, context) => {
|
|
|
1242
1242
|
if (entry === null) {
|
|
1243
1243
|
return null;
|
|
1244
1244
|
}
|
|
1245
|
-
return smithy_client_1.expectString(entry);
|
|
1245
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
1246
1246
|
});
|
|
1247
1247
|
return retVal;
|
|
1248
1248
|
};
|
|
@@ -1255,13 +1255,13 @@ const deserializeAws_json1_1TrustedAdvisorCategorySpecificSummary = (output, con
|
|
|
1255
1255
|
};
|
|
1256
1256
|
const deserializeAws_json1_1TrustedAdvisorCheckDescription = (output, context) => {
|
|
1257
1257
|
return {
|
|
1258
|
-
category: smithy_client_1.expectString(output.category),
|
|
1259
|
-
description: smithy_client_1.expectString(output.description),
|
|
1260
|
-
id: smithy_client_1.expectString(output.id),
|
|
1258
|
+
category: (0, smithy_client_1.expectString)(output.category),
|
|
1259
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
1260
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
1261
1261
|
metadata: output.metadata !== undefined && output.metadata !== null
|
|
1262
1262
|
? deserializeAws_json1_1StringList(output.metadata, context)
|
|
1263
1263
|
: undefined,
|
|
1264
|
-
name: smithy_client_1.expectString(output.name),
|
|
1264
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
1265
1265
|
};
|
|
1266
1266
|
};
|
|
1267
1267
|
const deserializeAws_json1_1TrustedAdvisorCheckList = (output, context) => {
|
|
@@ -1277,9 +1277,9 @@ const deserializeAws_json1_1TrustedAdvisorCheckList = (output, context) => {
|
|
|
1277
1277
|
};
|
|
1278
1278
|
const deserializeAws_json1_1TrustedAdvisorCheckRefreshStatus = (output, context) => {
|
|
1279
1279
|
return {
|
|
1280
|
-
checkId: smithy_client_1.expectString(output.checkId),
|
|
1281
|
-
millisUntilNextRefreshable: smithy_client_1.expectLong(output.millisUntilNextRefreshable),
|
|
1282
|
-
status: smithy_client_1.expectString(output.status),
|
|
1280
|
+
checkId: (0, smithy_client_1.expectString)(output.checkId),
|
|
1281
|
+
millisUntilNextRefreshable: (0, smithy_client_1.expectLong)(output.millisUntilNextRefreshable),
|
|
1282
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
1283
1283
|
};
|
|
1284
1284
|
};
|
|
1285
1285
|
const deserializeAws_json1_1TrustedAdvisorCheckRefreshStatusList = (output, context) => {
|
|
@@ -1298,15 +1298,15 @@ const deserializeAws_json1_1TrustedAdvisorCheckResult = (output, context) => {
|
|
|
1298
1298
|
categorySpecificSummary: output.categorySpecificSummary !== undefined && output.categorySpecificSummary !== null
|
|
1299
1299
|
? deserializeAws_json1_1TrustedAdvisorCategorySpecificSummary(output.categorySpecificSummary, context)
|
|
1300
1300
|
: undefined,
|
|
1301
|
-
checkId: smithy_client_1.expectString(output.checkId),
|
|
1301
|
+
checkId: (0, smithy_client_1.expectString)(output.checkId),
|
|
1302
1302
|
flaggedResources: output.flaggedResources !== undefined && output.flaggedResources !== null
|
|
1303
1303
|
? deserializeAws_json1_1TrustedAdvisorResourceDetailList(output.flaggedResources, context)
|
|
1304
1304
|
: undefined,
|
|
1305
1305
|
resourcesSummary: output.resourcesSummary !== undefined && output.resourcesSummary !== null
|
|
1306
1306
|
? deserializeAws_json1_1TrustedAdvisorResourcesSummary(output.resourcesSummary, context)
|
|
1307
1307
|
: undefined,
|
|
1308
|
-
status: smithy_client_1.expectString(output.status),
|
|
1309
|
-
timestamp: smithy_client_1.expectString(output.timestamp),
|
|
1308
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
1309
|
+
timestamp: (0, smithy_client_1.expectString)(output.timestamp),
|
|
1310
1310
|
};
|
|
1311
1311
|
};
|
|
1312
1312
|
const deserializeAws_json1_1TrustedAdvisorCheckSummary = (output, context) => {
|
|
@@ -1314,13 +1314,13 @@ const deserializeAws_json1_1TrustedAdvisorCheckSummary = (output, context) => {
|
|
|
1314
1314
|
categorySpecificSummary: output.categorySpecificSummary !== undefined && output.categorySpecificSummary !== null
|
|
1315
1315
|
? deserializeAws_json1_1TrustedAdvisorCategorySpecificSummary(output.categorySpecificSummary, context)
|
|
1316
1316
|
: undefined,
|
|
1317
|
-
checkId: smithy_client_1.expectString(output.checkId),
|
|
1318
|
-
hasFlaggedResources: smithy_client_1.expectBoolean(output.hasFlaggedResources),
|
|
1317
|
+
checkId: (0, smithy_client_1.expectString)(output.checkId),
|
|
1318
|
+
hasFlaggedResources: (0, smithy_client_1.expectBoolean)(output.hasFlaggedResources),
|
|
1319
1319
|
resourcesSummary: output.resourcesSummary !== undefined && output.resourcesSummary !== null
|
|
1320
1320
|
? deserializeAws_json1_1TrustedAdvisorResourcesSummary(output.resourcesSummary, context)
|
|
1321
1321
|
: undefined,
|
|
1322
|
-
status: smithy_client_1.expectString(output.status),
|
|
1323
|
-
timestamp: smithy_client_1.expectString(output.timestamp),
|
|
1322
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
1323
|
+
timestamp: (0, smithy_client_1.expectString)(output.timestamp),
|
|
1324
1324
|
};
|
|
1325
1325
|
};
|
|
1326
1326
|
const deserializeAws_json1_1TrustedAdvisorCheckSummaryList = (output, context) => {
|
|
@@ -1336,19 +1336,19 @@ const deserializeAws_json1_1TrustedAdvisorCheckSummaryList = (output, context) =
|
|
|
1336
1336
|
};
|
|
1337
1337
|
const deserializeAws_json1_1TrustedAdvisorCostOptimizingSummary = (output, context) => {
|
|
1338
1338
|
return {
|
|
1339
|
-
estimatedMonthlySavings: smithy_client_1.limitedParseDouble(output.estimatedMonthlySavings),
|
|
1340
|
-
estimatedPercentMonthlySavings: smithy_client_1.limitedParseDouble(output.estimatedPercentMonthlySavings),
|
|
1339
|
+
estimatedMonthlySavings: (0, smithy_client_1.limitedParseDouble)(output.estimatedMonthlySavings),
|
|
1340
|
+
estimatedPercentMonthlySavings: (0, smithy_client_1.limitedParseDouble)(output.estimatedPercentMonthlySavings),
|
|
1341
1341
|
};
|
|
1342
1342
|
};
|
|
1343
1343
|
const deserializeAws_json1_1TrustedAdvisorResourceDetail = (output, context) => {
|
|
1344
1344
|
return {
|
|
1345
|
-
isSuppressed: smithy_client_1.expectBoolean(output.isSuppressed),
|
|
1345
|
+
isSuppressed: (0, smithy_client_1.expectBoolean)(output.isSuppressed),
|
|
1346
1346
|
metadata: output.metadata !== undefined && output.metadata !== null
|
|
1347
1347
|
? deserializeAws_json1_1StringList(output.metadata, context)
|
|
1348
1348
|
: undefined,
|
|
1349
|
-
region: smithy_client_1.expectString(output.region),
|
|
1350
|
-
resourceId: smithy_client_1.expectString(output.resourceId),
|
|
1351
|
-
status: smithy_client_1.expectString(output.status),
|
|
1349
|
+
region: (0, smithy_client_1.expectString)(output.region),
|
|
1350
|
+
resourceId: (0, smithy_client_1.expectString)(output.resourceId),
|
|
1351
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
1352
1352
|
};
|
|
1353
1353
|
};
|
|
1354
1354
|
const deserializeAws_json1_1TrustedAdvisorResourceDetailList = (output, context) => {
|
|
@@ -1364,10 +1364,10 @@ const deserializeAws_json1_1TrustedAdvisorResourceDetailList = (output, context)
|
|
|
1364
1364
|
};
|
|
1365
1365
|
const deserializeAws_json1_1TrustedAdvisorResourcesSummary = (output, context) => {
|
|
1366
1366
|
return {
|
|
1367
|
-
resourcesFlagged: smithy_client_1.expectLong(output.resourcesFlagged),
|
|
1368
|
-
resourcesIgnored: smithy_client_1.expectLong(output.resourcesIgnored),
|
|
1369
|
-
resourcesProcessed: smithy_client_1.expectLong(output.resourcesProcessed),
|
|
1370
|
-
resourcesSuppressed: smithy_client_1.expectLong(output.resourcesSuppressed),
|
|
1367
|
+
resourcesFlagged: (0, smithy_client_1.expectLong)(output.resourcesFlagged),
|
|
1368
|
+
resourcesIgnored: (0, smithy_client_1.expectLong)(output.resourcesIgnored),
|
|
1369
|
+
resourcesProcessed: (0, smithy_client_1.expectLong)(output.resourcesProcessed),
|
|
1370
|
+
resourcesSuppressed: (0, smithy_client_1.expectLong)(output.resourcesSuppressed),
|
|
1371
1371
|
};
|
|
1372
1372
|
};
|
|
1373
1373
|
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,
|