@aws-sdk/client-acm 3.54.0 → 3.56.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/ACMClient.js +13 -13
- package/dist-cjs/commands/AddTagsToCertificateCommand.js +3 -3
- package/dist-cjs/commands/DeleteCertificateCommand.js +3 -3
- package/dist-cjs/commands/DescribeCertificateCommand.js +3 -3
- package/dist-cjs/commands/ExportCertificateCommand.js +3 -3
- package/dist-cjs/commands/GetAccountConfigurationCommand.js +3 -3
- package/dist-cjs/commands/GetCertificateCommand.js +3 -3
- package/dist-cjs/commands/ImportCertificateCommand.js +3 -3
- package/dist-cjs/commands/ListCertificatesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForCertificateCommand.js +3 -3
- package/dist-cjs/commands/PutAccountConfigurationCommand.js +3 -3
- package/dist-cjs/commands/RemoveTagsFromCertificateCommand.js +3 -3
- package/dist-cjs/commands/RenewCertificateCommand.js +3 -3
- package/dist-cjs/commands/RequestCertificateCommand.js +3 -3
- package/dist-cjs/commands/ResendValidationEmailCommand.js +3 -3
- package/dist-cjs/commands/UpdateCertificateOptionsCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +96 -96
- 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-cjs/waiters/waitForCertificateValidated.js +3 -3
- package/dist-es/ACM.js +15 -15
- package/dist-es/pagination/ListCertificatesPaginator.js +4 -4
- package/dist-es/waiters/waitForCertificateValidated.js +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +35 -35
|
@@ -202,7 +202,7 @@ const deserializeAws_json1_1AddTagsToCertificateCommandError = async (output, co
|
|
|
202
202
|
$fault: "client",
|
|
203
203
|
$metadata: deserializeMetadata(output),
|
|
204
204
|
});
|
|
205
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
205
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
206
206
|
}
|
|
207
207
|
};
|
|
208
208
|
const deserializeAws_json1_1DeleteCertificateCommand = async (output, context) => {
|
|
@@ -241,7 +241,7 @@ const deserializeAws_json1_1DeleteCertificateCommandError = async (output, conte
|
|
|
241
241
|
$fault: "client",
|
|
242
242
|
$metadata: deserializeMetadata(output),
|
|
243
243
|
});
|
|
244
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
244
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
245
245
|
}
|
|
246
246
|
};
|
|
247
247
|
const deserializeAws_json1_1DescribeCertificateCommand = async (output, context) => {
|
|
@@ -280,7 +280,7 @@ const deserializeAws_json1_1DescribeCertificateCommandError = async (output, con
|
|
|
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_1ExportCertificateCommand = async (output, context) => {
|
|
@@ -322,7 +322,7 @@ const deserializeAws_json1_1ExportCertificateCommandError = async (output, conte
|
|
|
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_1GetAccountConfigurationCommand = async (output, context) => {
|
|
@@ -361,7 +361,7 @@ const deserializeAws_json1_1GetAccountConfigurationCommandError = async (output,
|
|
|
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_1GetCertificateCommand = async (output, context) => {
|
|
@@ -403,7 +403,7 @@ const deserializeAws_json1_1GetCertificateCommandError = async (output, context)
|
|
|
403
403
|
$fault: "client",
|
|
404
404
|
$metadata: deserializeMetadata(output),
|
|
405
405
|
});
|
|
406
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
406
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
407
407
|
}
|
|
408
408
|
};
|
|
409
409
|
const deserializeAws_json1_1ImportCertificateCommand = async (output, context) => {
|
|
@@ -457,7 +457,7 @@ const deserializeAws_json1_1ImportCertificateCommandError = async (output, conte
|
|
|
457
457
|
$fault: "client",
|
|
458
458
|
$metadata: deserializeMetadata(output),
|
|
459
459
|
});
|
|
460
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
460
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
461
461
|
}
|
|
462
462
|
};
|
|
463
463
|
const deserializeAws_json1_1ListCertificatesCommand = async (output, context) => {
|
|
@@ -493,7 +493,7 @@ const deserializeAws_json1_1ListCertificatesCommandError = async (output, contex
|
|
|
493
493
|
$fault: "client",
|
|
494
494
|
$metadata: deserializeMetadata(output),
|
|
495
495
|
});
|
|
496
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
496
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
497
497
|
}
|
|
498
498
|
};
|
|
499
499
|
const deserializeAws_json1_1ListTagsForCertificateCommand = async (output, context) => {
|
|
@@ -532,7 +532,7 @@ const deserializeAws_json1_1ListTagsForCertificateCommandError = async (output,
|
|
|
532
532
|
$fault: "client",
|
|
533
533
|
$metadata: deserializeMetadata(output),
|
|
534
534
|
});
|
|
535
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
535
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
536
536
|
}
|
|
537
537
|
};
|
|
538
538
|
const deserializeAws_json1_1PutAccountConfigurationCommand = async (output, context) => {
|
|
@@ -574,7 +574,7 @@ const deserializeAws_json1_1PutAccountConfigurationCommandError = async (output,
|
|
|
574
574
|
$fault: "client",
|
|
575
575
|
$metadata: deserializeMetadata(output),
|
|
576
576
|
});
|
|
577
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
577
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
578
578
|
}
|
|
579
579
|
};
|
|
580
580
|
const deserializeAws_json1_1RemoveTagsFromCertificateCommand = async (output, context) => {
|
|
@@ -622,7 +622,7 @@ const deserializeAws_json1_1RemoveTagsFromCertificateCommandError = async (outpu
|
|
|
622
622
|
$fault: "client",
|
|
623
623
|
$metadata: deserializeMetadata(output),
|
|
624
624
|
});
|
|
625
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
625
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
626
626
|
}
|
|
627
627
|
};
|
|
628
628
|
const deserializeAws_json1_1RenewCertificateCommand = async (output, context) => {
|
|
@@ -658,7 +658,7 @@ const deserializeAws_json1_1RenewCertificateCommandError = async (output, contex
|
|
|
658
658
|
$fault: "client",
|
|
659
659
|
$metadata: deserializeMetadata(output),
|
|
660
660
|
});
|
|
661
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
661
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
662
662
|
}
|
|
663
663
|
};
|
|
664
664
|
const deserializeAws_json1_1RequestCertificateCommand = async (output, context) => {
|
|
@@ -712,7 +712,7 @@ const deserializeAws_json1_1RequestCertificateCommandError = async (output, cont
|
|
|
712
712
|
$fault: "client",
|
|
713
713
|
$metadata: deserializeMetadata(output),
|
|
714
714
|
});
|
|
715
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
715
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
716
716
|
}
|
|
717
717
|
};
|
|
718
718
|
const deserializeAws_json1_1ResendValidationEmailCommand = async (output, context) => {
|
|
@@ -754,7 +754,7 @@ const deserializeAws_json1_1ResendValidationEmailCommandError = async (output, c
|
|
|
754
754
|
$fault: "client",
|
|
755
755
|
$metadata: deserializeMetadata(output),
|
|
756
756
|
});
|
|
757
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
757
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
758
758
|
}
|
|
759
759
|
};
|
|
760
760
|
const deserializeAws_json1_1UpdateCertificateOptionsCommand = async (output, context) => {
|
|
@@ -796,7 +796,7 @@ const deserializeAws_json1_1UpdateCertificateOptionsCommandError = async (output
|
|
|
796
796
|
$fault: "client",
|
|
797
797
|
$metadata: deserializeMetadata(output),
|
|
798
798
|
});
|
|
799
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
799
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
800
800
|
}
|
|
801
801
|
};
|
|
802
802
|
const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -806,7 +806,7 @@ const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput,
|
|
|
806
806
|
$metadata: deserializeMetadata(parsedOutput),
|
|
807
807
|
...deserialized,
|
|
808
808
|
});
|
|
809
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
809
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
810
810
|
};
|
|
811
811
|
const deserializeAws_json1_1ConflictExceptionResponse = async (parsedOutput, context) => {
|
|
812
812
|
const body = parsedOutput.body;
|
|
@@ -815,7 +815,7 @@ const deserializeAws_json1_1ConflictExceptionResponse = async (parsedOutput, con
|
|
|
815
815
|
$metadata: deserializeMetadata(parsedOutput),
|
|
816
816
|
...deserialized,
|
|
817
817
|
});
|
|
818
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
818
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
819
819
|
};
|
|
820
820
|
const deserializeAws_json1_1InvalidArgsExceptionResponse = async (parsedOutput, context) => {
|
|
821
821
|
const body = parsedOutput.body;
|
|
@@ -824,7 +824,7 @@ const deserializeAws_json1_1InvalidArgsExceptionResponse = async (parsedOutput,
|
|
|
824
824
|
$metadata: deserializeMetadata(parsedOutput),
|
|
825
825
|
...deserialized,
|
|
826
826
|
});
|
|
827
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
827
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
828
828
|
};
|
|
829
829
|
const deserializeAws_json1_1InvalidArnExceptionResponse = async (parsedOutput, context) => {
|
|
830
830
|
const body = parsedOutput.body;
|
|
@@ -833,7 +833,7 @@ const deserializeAws_json1_1InvalidArnExceptionResponse = async (parsedOutput, c
|
|
|
833
833
|
$metadata: deserializeMetadata(parsedOutput),
|
|
834
834
|
...deserialized,
|
|
835
835
|
});
|
|
836
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
836
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
837
837
|
};
|
|
838
838
|
const deserializeAws_json1_1InvalidDomainValidationOptionsExceptionResponse = async (parsedOutput, context) => {
|
|
839
839
|
const body = parsedOutput.body;
|
|
@@ -842,7 +842,7 @@ const deserializeAws_json1_1InvalidDomainValidationOptionsExceptionResponse = as
|
|
|
842
842
|
$metadata: deserializeMetadata(parsedOutput),
|
|
843
843
|
...deserialized,
|
|
844
844
|
});
|
|
845
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
845
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
846
846
|
};
|
|
847
847
|
const deserializeAws_json1_1InvalidParameterExceptionResponse = async (parsedOutput, context) => {
|
|
848
848
|
const body = parsedOutput.body;
|
|
@@ -851,7 +851,7 @@ const deserializeAws_json1_1InvalidParameterExceptionResponse = async (parsedOut
|
|
|
851
851
|
$metadata: deserializeMetadata(parsedOutput),
|
|
852
852
|
...deserialized,
|
|
853
853
|
});
|
|
854
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
854
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
855
855
|
};
|
|
856
856
|
const deserializeAws_json1_1InvalidStateExceptionResponse = async (parsedOutput, context) => {
|
|
857
857
|
const body = parsedOutput.body;
|
|
@@ -860,7 +860,7 @@ const deserializeAws_json1_1InvalidStateExceptionResponse = async (parsedOutput,
|
|
|
860
860
|
$metadata: deserializeMetadata(parsedOutput),
|
|
861
861
|
...deserialized,
|
|
862
862
|
});
|
|
863
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
863
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
864
864
|
};
|
|
865
865
|
const deserializeAws_json1_1InvalidTagExceptionResponse = async (parsedOutput, context) => {
|
|
866
866
|
const body = parsedOutput.body;
|
|
@@ -869,7 +869,7 @@ const deserializeAws_json1_1InvalidTagExceptionResponse = async (parsedOutput, c
|
|
|
869
869
|
$metadata: deserializeMetadata(parsedOutput),
|
|
870
870
|
...deserialized,
|
|
871
871
|
});
|
|
872
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
872
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
873
873
|
};
|
|
874
874
|
const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
875
875
|
const body = parsedOutput.body;
|
|
@@ -878,7 +878,7 @@ const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput
|
|
|
878
878
|
$metadata: deserializeMetadata(parsedOutput),
|
|
879
879
|
...deserialized,
|
|
880
880
|
});
|
|
881
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
881
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
882
882
|
};
|
|
883
883
|
const deserializeAws_json1_1RequestInProgressExceptionResponse = async (parsedOutput, context) => {
|
|
884
884
|
const body = parsedOutput.body;
|
|
@@ -887,7 +887,7 @@ const deserializeAws_json1_1RequestInProgressExceptionResponse = async (parsedOu
|
|
|
887
887
|
$metadata: deserializeMetadata(parsedOutput),
|
|
888
888
|
...deserialized,
|
|
889
889
|
});
|
|
890
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
890
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
891
891
|
};
|
|
892
892
|
const deserializeAws_json1_1ResourceInUseExceptionResponse = async (parsedOutput, context) => {
|
|
893
893
|
const body = parsedOutput.body;
|
|
@@ -896,7 +896,7 @@ const deserializeAws_json1_1ResourceInUseExceptionResponse = async (parsedOutput
|
|
|
896
896
|
$metadata: deserializeMetadata(parsedOutput),
|
|
897
897
|
...deserialized,
|
|
898
898
|
});
|
|
899
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
899
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
900
900
|
};
|
|
901
901
|
const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
902
902
|
const body = parsedOutput.body;
|
|
@@ -905,7 +905,7 @@ const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOut
|
|
|
905
905
|
$metadata: deserializeMetadata(parsedOutput),
|
|
906
906
|
...deserialized,
|
|
907
907
|
});
|
|
908
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
908
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
909
909
|
};
|
|
910
910
|
const deserializeAws_json1_1TagPolicyExceptionResponse = async (parsedOutput, context) => {
|
|
911
911
|
const body = parsedOutput.body;
|
|
@@ -914,7 +914,7 @@ const deserializeAws_json1_1TagPolicyExceptionResponse = async (parsedOutput, co
|
|
|
914
914
|
$metadata: deserializeMetadata(parsedOutput),
|
|
915
915
|
...deserialized,
|
|
916
916
|
});
|
|
917
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
917
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
918
918
|
};
|
|
919
919
|
const deserializeAws_json1_1ThrottlingExceptionResponse = async (parsedOutput, context) => {
|
|
920
920
|
const body = parsedOutput.body;
|
|
@@ -923,7 +923,7 @@ const deserializeAws_json1_1ThrottlingExceptionResponse = async (parsedOutput, c
|
|
|
923
923
|
$metadata: deserializeMetadata(parsedOutput),
|
|
924
924
|
...deserialized,
|
|
925
925
|
});
|
|
926
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
926
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
927
927
|
};
|
|
928
928
|
const deserializeAws_json1_1TooManyTagsExceptionResponse = async (parsedOutput, context) => {
|
|
929
929
|
const body = parsedOutput.body;
|
|
@@ -932,7 +932,7 @@ const deserializeAws_json1_1TooManyTagsExceptionResponse = async (parsedOutput,
|
|
|
932
932
|
$metadata: deserializeMetadata(parsedOutput),
|
|
933
933
|
...deserialized,
|
|
934
934
|
});
|
|
935
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
935
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
936
936
|
};
|
|
937
937
|
const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, context) => {
|
|
938
938
|
const body = parsedOutput.body;
|
|
@@ -941,7 +941,7 @@ const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, c
|
|
|
941
941
|
$metadata: deserializeMetadata(parsedOutput),
|
|
942
942
|
...deserialized,
|
|
943
943
|
});
|
|
944
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
944
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
945
945
|
};
|
|
946
946
|
const serializeAws_json1_1AddTagsToCertificateRequest = (input, context) => {
|
|
947
947
|
return {
|
|
@@ -1180,74 +1180,74 @@ const serializeAws_json1_1UpdateCertificateOptionsRequest = (input, context) =>
|
|
|
1180
1180
|
};
|
|
1181
1181
|
const deserializeAws_json1_1AccessDeniedException = (output, context) => {
|
|
1182
1182
|
return {
|
|
1183
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1183
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1184
1184
|
};
|
|
1185
1185
|
};
|
|
1186
1186
|
const deserializeAws_json1_1CertificateDetail = (output, context) => {
|
|
1187
1187
|
return {
|
|
1188
|
-
CertificateArn: smithy_client_1.expectString(output.CertificateArn),
|
|
1189
|
-
CertificateAuthorityArn: smithy_client_1.expectString(output.CertificateAuthorityArn),
|
|
1188
|
+
CertificateArn: (0, smithy_client_1.expectString)(output.CertificateArn),
|
|
1189
|
+
CertificateAuthorityArn: (0, smithy_client_1.expectString)(output.CertificateAuthorityArn),
|
|
1190
1190
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
1191
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
1191
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
1192
1192
|
: undefined,
|
|
1193
|
-
DomainName: smithy_client_1.expectString(output.DomainName),
|
|
1193
|
+
DomainName: (0, smithy_client_1.expectString)(output.DomainName),
|
|
1194
1194
|
DomainValidationOptions: output.DomainValidationOptions !== undefined && output.DomainValidationOptions !== null
|
|
1195
1195
|
? deserializeAws_json1_1DomainValidationList(output.DomainValidationOptions, context)
|
|
1196
1196
|
: undefined,
|
|
1197
1197
|
ExtendedKeyUsages: output.ExtendedKeyUsages !== undefined && output.ExtendedKeyUsages !== null
|
|
1198
1198
|
? deserializeAws_json1_1ExtendedKeyUsageList(output.ExtendedKeyUsages, context)
|
|
1199
1199
|
: undefined,
|
|
1200
|
-
FailureReason: smithy_client_1.expectString(output.FailureReason),
|
|
1200
|
+
FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
|
|
1201
1201
|
ImportedAt: output.ImportedAt !== undefined && output.ImportedAt !== null
|
|
1202
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ImportedAt)))
|
|
1202
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ImportedAt)))
|
|
1203
1203
|
: undefined,
|
|
1204
1204
|
InUseBy: output.InUseBy !== undefined && output.InUseBy !== null
|
|
1205
1205
|
? deserializeAws_json1_1InUseList(output.InUseBy, context)
|
|
1206
1206
|
: undefined,
|
|
1207
1207
|
IssuedAt: output.IssuedAt !== undefined && output.IssuedAt !== null
|
|
1208
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.IssuedAt)))
|
|
1208
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.IssuedAt)))
|
|
1209
1209
|
: undefined,
|
|
1210
|
-
Issuer: smithy_client_1.expectString(output.Issuer),
|
|
1211
|
-
KeyAlgorithm: smithy_client_1.expectString(output.KeyAlgorithm),
|
|
1210
|
+
Issuer: (0, smithy_client_1.expectString)(output.Issuer),
|
|
1211
|
+
KeyAlgorithm: (0, smithy_client_1.expectString)(output.KeyAlgorithm),
|
|
1212
1212
|
KeyUsages: output.KeyUsages !== undefined && output.KeyUsages !== null
|
|
1213
1213
|
? deserializeAws_json1_1KeyUsageList(output.KeyUsages, context)
|
|
1214
1214
|
: undefined,
|
|
1215
1215
|
NotAfter: output.NotAfter !== undefined && output.NotAfter !== null
|
|
1216
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.NotAfter)))
|
|
1216
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.NotAfter)))
|
|
1217
1217
|
: undefined,
|
|
1218
1218
|
NotBefore: output.NotBefore !== undefined && output.NotBefore !== null
|
|
1219
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.NotBefore)))
|
|
1219
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.NotBefore)))
|
|
1220
1220
|
: undefined,
|
|
1221
1221
|
Options: output.Options !== undefined && output.Options !== null
|
|
1222
1222
|
? deserializeAws_json1_1CertificateOptions(output.Options, context)
|
|
1223
1223
|
: undefined,
|
|
1224
|
-
RenewalEligibility: smithy_client_1.expectString(output.RenewalEligibility),
|
|
1224
|
+
RenewalEligibility: (0, smithy_client_1.expectString)(output.RenewalEligibility),
|
|
1225
1225
|
RenewalSummary: output.RenewalSummary !== undefined && output.RenewalSummary !== null
|
|
1226
1226
|
? deserializeAws_json1_1RenewalSummary(output.RenewalSummary, context)
|
|
1227
1227
|
: undefined,
|
|
1228
|
-
RevocationReason: smithy_client_1.expectString(output.RevocationReason),
|
|
1228
|
+
RevocationReason: (0, smithy_client_1.expectString)(output.RevocationReason),
|
|
1229
1229
|
RevokedAt: output.RevokedAt !== undefined && output.RevokedAt !== null
|
|
1230
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.RevokedAt)))
|
|
1230
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.RevokedAt)))
|
|
1231
1231
|
: undefined,
|
|
1232
|
-
Serial: smithy_client_1.expectString(output.Serial),
|
|
1233
|
-
SignatureAlgorithm: smithy_client_1.expectString(output.SignatureAlgorithm),
|
|
1234
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
1235
|
-
Subject: smithy_client_1.expectString(output.Subject),
|
|
1232
|
+
Serial: (0, smithy_client_1.expectString)(output.Serial),
|
|
1233
|
+
SignatureAlgorithm: (0, smithy_client_1.expectString)(output.SignatureAlgorithm),
|
|
1234
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
1235
|
+
Subject: (0, smithy_client_1.expectString)(output.Subject),
|
|
1236
1236
|
SubjectAlternativeNames: output.SubjectAlternativeNames !== undefined && output.SubjectAlternativeNames !== null
|
|
1237
1237
|
? deserializeAws_json1_1DomainList(output.SubjectAlternativeNames, context)
|
|
1238
1238
|
: undefined,
|
|
1239
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
1239
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
1240
1240
|
};
|
|
1241
1241
|
};
|
|
1242
1242
|
const deserializeAws_json1_1CertificateOptions = (output, context) => {
|
|
1243
1243
|
return {
|
|
1244
|
-
CertificateTransparencyLoggingPreference: smithy_client_1.expectString(output.CertificateTransparencyLoggingPreference),
|
|
1244
|
+
CertificateTransparencyLoggingPreference: (0, smithy_client_1.expectString)(output.CertificateTransparencyLoggingPreference),
|
|
1245
1245
|
};
|
|
1246
1246
|
};
|
|
1247
1247
|
const deserializeAws_json1_1CertificateSummary = (output, context) => {
|
|
1248
1248
|
return {
|
|
1249
|
-
CertificateArn: smithy_client_1.expectString(output.CertificateArn),
|
|
1250
|
-
DomainName: smithy_client_1.expectString(output.DomainName),
|
|
1249
|
+
CertificateArn: (0, smithy_client_1.expectString)(output.CertificateArn),
|
|
1250
|
+
DomainName: (0, smithy_client_1.expectString)(output.DomainName),
|
|
1251
1251
|
};
|
|
1252
1252
|
};
|
|
1253
1253
|
const deserializeAws_json1_1CertificateSummaryList = (output, context) => {
|
|
@@ -1263,7 +1263,7 @@ const deserializeAws_json1_1CertificateSummaryList = (output, context) => {
|
|
|
1263
1263
|
};
|
|
1264
1264
|
const deserializeAws_json1_1ConflictException = (output, context) => {
|
|
1265
1265
|
return {
|
|
1266
|
-
message: smithy_client_1.expectString(output.message),
|
|
1266
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1267
1267
|
};
|
|
1268
1268
|
};
|
|
1269
1269
|
const deserializeAws_json1_1DescribeCertificateResponse = (output, context) => {
|
|
@@ -1280,22 +1280,22 @@ const deserializeAws_json1_1DomainList = (output, context) => {
|
|
|
1280
1280
|
if (entry === null) {
|
|
1281
1281
|
return null;
|
|
1282
1282
|
}
|
|
1283
|
-
return smithy_client_1.expectString(entry);
|
|
1283
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
1284
1284
|
});
|
|
1285
1285
|
return retVal;
|
|
1286
1286
|
};
|
|
1287
1287
|
const deserializeAws_json1_1DomainValidation = (output, context) => {
|
|
1288
1288
|
return {
|
|
1289
|
-
DomainName: smithy_client_1.expectString(output.DomainName),
|
|
1289
|
+
DomainName: (0, smithy_client_1.expectString)(output.DomainName),
|
|
1290
1290
|
ResourceRecord: output.ResourceRecord !== undefined && output.ResourceRecord !== null
|
|
1291
1291
|
? deserializeAws_json1_1ResourceRecord(output.ResourceRecord, context)
|
|
1292
1292
|
: undefined,
|
|
1293
|
-
ValidationDomain: smithy_client_1.expectString(output.ValidationDomain),
|
|
1293
|
+
ValidationDomain: (0, smithy_client_1.expectString)(output.ValidationDomain),
|
|
1294
1294
|
ValidationEmails: output.ValidationEmails !== undefined && output.ValidationEmails !== null
|
|
1295
1295
|
? deserializeAws_json1_1ValidationEmailList(output.ValidationEmails, context)
|
|
1296
1296
|
: undefined,
|
|
1297
|
-
ValidationMethod: smithy_client_1.expectString(output.ValidationMethod),
|
|
1298
|
-
ValidationStatus: smithy_client_1.expectString(output.ValidationStatus),
|
|
1297
|
+
ValidationMethod: (0, smithy_client_1.expectString)(output.ValidationMethod),
|
|
1298
|
+
ValidationStatus: (0, smithy_client_1.expectString)(output.ValidationStatus),
|
|
1299
1299
|
};
|
|
1300
1300
|
};
|
|
1301
1301
|
const deserializeAws_json1_1DomainValidationList = (output, context) => {
|
|
@@ -1311,20 +1311,20 @@ const deserializeAws_json1_1DomainValidationList = (output, context) => {
|
|
|
1311
1311
|
};
|
|
1312
1312
|
const deserializeAws_json1_1ExpiryEventsConfiguration = (output, context) => {
|
|
1313
1313
|
return {
|
|
1314
|
-
DaysBeforeExpiry: smithy_client_1.expectInt32(output.DaysBeforeExpiry),
|
|
1314
|
+
DaysBeforeExpiry: (0, smithy_client_1.expectInt32)(output.DaysBeforeExpiry),
|
|
1315
1315
|
};
|
|
1316
1316
|
};
|
|
1317
1317
|
const deserializeAws_json1_1ExportCertificateResponse = (output, context) => {
|
|
1318
1318
|
return {
|
|
1319
|
-
Certificate: smithy_client_1.expectString(output.Certificate),
|
|
1320
|
-
CertificateChain: smithy_client_1.expectString(output.CertificateChain),
|
|
1321
|
-
PrivateKey: smithy_client_1.expectString(output.PrivateKey),
|
|
1319
|
+
Certificate: (0, smithy_client_1.expectString)(output.Certificate),
|
|
1320
|
+
CertificateChain: (0, smithy_client_1.expectString)(output.CertificateChain),
|
|
1321
|
+
PrivateKey: (0, smithy_client_1.expectString)(output.PrivateKey),
|
|
1322
1322
|
};
|
|
1323
1323
|
};
|
|
1324
1324
|
const deserializeAws_json1_1ExtendedKeyUsage = (output, context) => {
|
|
1325
1325
|
return {
|
|
1326
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
1327
|
-
OID: smithy_client_1.expectString(output.OID),
|
|
1326
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1327
|
+
OID: (0, smithy_client_1.expectString)(output.OID),
|
|
1328
1328
|
};
|
|
1329
1329
|
};
|
|
1330
1330
|
const deserializeAws_json1_1ExtendedKeyUsageList = (output, context) => {
|
|
@@ -1347,13 +1347,13 @@ const deserializeAws_json1_1GetAccountConfigurationResponse = (output, context)
|
|
|
1347
1347
|
};
|
|
1348
1348
|
const deserializeAws_json1_1GetCertificateResponse = (output, context) => {
|
|
1349
1349
|
return {
|
|
1350
|
-
Certificate: smithy_client_1.expectString(output.Certificate),
|
|
1351
|
-
CertificateChain: smithy_client_1.expectString(output.CertificateChain),
|
|
1350
|
+
Certificate: (0, smithy_client_1.expectString)(output.Certificate),
|
|
1351
|
+
CertificateChain: (0, smithy_client_1.expectString)(output.CertificateChain),
|
|
1352
1352
|
};
|
|
1353
1353
|
};
|
|
1354
1354
|
const deserializeAws_json1_1ImportCertificateResponse = (output, context) => {
|
|
1355
1355
|
return {
|
|
1356
|
-
CertificateArn: smithy_client_1.expectString(output.CertificateArn),
|
|
1356
|
+
CertificateArn: (0, smithy_client_1.expectString)(output.CertificateArn),
|
|
1357
1357
|
};
|
|
1358
1358
|
};
|
|
1359
1359
|
const deserializeAws_json1_1InUseList = (output, context) => {
|
|
@@ -1363,43 +1363,43 @@ const deserializeAws_json1_1InUseList = (output, context) => {
|
|
|
1363
1363
|
if (entry === null) {
|
|
1364
1364
|
return null;
|
|
1365
1365
|
}
|
|
1366
|
-
return smithy_client_1.expectString(entry);
|
|
1366
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
1367
1367
|
});
|
|
1368
1368
|
return retVal;
|
|
1369
1369
|
};
|
|
1370
1370
|
const deserializeAws_json1_1InvalidArgsException = (output, context) => {
|
|
1371
1371
|
return {
|
|
1372
|
-
message: smithy_client_1.expectString(output.message),
|
|
1372
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1373
1373
|
};
|
|
1374
1374
|
};
|
|
1375
1375
|
const deserializeAws_json1_1InvalidArnException = (output, context) => {
|
|
1376
1376
|
return {
|
|
1377
|
-
message: smithy_client_1.expectString(output.message),
|
|
1377
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1378
1378
|
};
|
|
1379
1379
|
};
|
|
1380
1380
|
const deserializeAws_json1_1InvalidDomainValidationOptionsException = (output, context) => {
|
|
1381
1381
|
return {
|
|
1382
|
-
message: smithy_client_1.expectString(output.message),
|
|
1382
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1383
1383
|
};
|
|
1384
1384
|
};
|
|
1385
1385
|
const deserializeAws_json1_1InvalidParameterException = (output, context) => {
|
|
1386
1386
|
return {
|
|
1387
|
-
message: smithy_client_1.expectString(output.message),
|
|
1387
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1388
1388
|
};
|
|
1389
1389
|
};
|
|
1390
1390
|
const deserializeAws_json1_1InvalidStateException = (output, context) => {
|
|
1391
1391
|
return {
|
|
1392
|
-
message: smithy_client_1.expectString(output.message),
|
|
1392
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1393
1393
|
};
|
|
1394
1394
|
};
|
|
1395
1395
|
const deserializeAws_json1_1InvalidTagException = (output, context) => {
|
|
1396
1396
|
return {
|
|
1397
|
-
message: smithy_client_1.expectString(output.message),
|
|
1397
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1398
1398
|
};
|
|
1399
1399
|
};
|
|
1400
1400
|
const deserializeAws_json1_1KeyUsage = (output, context) => {
|
|
1401
1401
|
return {
|
|
1402
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
1402
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1403
1403
|
};
|
|
1404
1404
|
};
|
|
1405
1405
|
const deserializeAws_json1_1KeyUsageList = (output, context) => {
|
|
@@ -1415,7 +1415,7 @@ const deserializeAws_json1_1KeyUsageList = (output, context) => {
|
|
|
1415
1415
|
};
|
|
1416
1416
|
const deserializeAws_json1_1LimitExceededException = (output, context) => {
|
|
1417
1417
|
return {
|
|
1418
|
-
message: smithy_client_1.expectString(output.message),
|
|
1418
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1419
1419
|
};
|
|
1420
1420
|
};
|
|
1421
1421
|
const deserializeAws_json1_1ListCertificatesResponse = (output, context) => {
|
|
@@ -1423,7 +1423,7 @@ const deserializeAws_json1_1ListCertificatesResponse = (output, context) => {
|
|
|
1423
1423
|
CertificateSummaryList: output.CertificateSummaryList !== undefined && output.CertificateSummaryList !== null
|
|
1424
1424
|
? deserializeAws_json1_1CertificateSummaryList(output.CertificateSummaryList, context)
|
|
1425
1425
|
: undefined,
|
|
1426
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
1426
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1427
1427
|
};
|
|
1428
1428
|
};
|
|
1429
1429
|
const deserializeAws_json1_1ListTagsForCertificateResponse = (output, context) => {
|
|
@@ -1438,44 +1438,44 @@ const deserializeAws_json1_1RenewalSummary = (output, context) => {
|
|
|
1438
1438
|
DomainValidationOptions: output.DomainValidationOptions !== undefined && output.DomainValidationOptions !== null
|
|
1439
1439
|
? deserializeAws_json1_1DomainValidationList(output.DomainValidationOptions, context)
|
|
1440
1440
|
: undefined,
|
|
1441
|
-
RenewalStatus: smithy_client_1.expectString(output.RenewalStatus),
|
|
1442
|
-
RenewalStatusReason: smithy_client_1.expectString(output.RenewalStatusReason),
|
|
1441
|
+
RenewalStatus: (0, smithy_client_1.expectString)(output.RenewalStatus),
|
|
1442
|
+
RenewalStatusReason: (0, smithy_client_1.expectString)(output.RenewalStatusReason),
|
|
1443
1443
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
1444
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
1444
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
1445
1445
|
: undefined,
|
|
1446
1446
|
};
|
|
1447
1447
|
};
|
|
1448
1448
|
const deserializeAws_json1_1RequestCertificateResponse = (output, context) => {
|
|
1449
1449
|
return {
|
|
1450
|
-
CertificateArn: smithy_client_1.expectString(output.CertificateArn),
|
|
1450
|
+
CertificateArn: (0, smithy_client_1.expectString)(output.CertificateArn),
|
|
1451
1451
|
};
|
|
1452
1452
|
};
|
|
1453
1453
|
const deserializeAws_json1_1RequestInProgressException = (output, context) => {
|
|
1454
1454
|
return {
|
|
1455
|
-
message: smithy_client_1.expectString(output.message),
|
|
1455
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1456
1456
|
};
|
|
1457
1457
|
};
|
|
1458
1458
|
const deserializeAws_json1_1ResourceInUseException = (output, context) => {
|
|
1459
1459
|
return {
|
|
1460
|
-
message: smithy_client_1.expectString(output.message),
|
|
1460
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1461
1461
|
};
|
|
1462
1462
|
};
|
|
1463
1463
|
const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
|
|
1464
1464
|
return {
|
|
1465
|
-
message: smithy_client_1.expectString(output.message),
|
|
1465
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1466
1466
|
};
|
|
1467
1467
|
};
|
|
1468
1468
|
const deserializeAws_json1_1ResourceRecord = (output, context) => {
|
|
1469
1469
|
return {
|
|
1470
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
1471
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
1472
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
1470
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1471
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
1472
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
1473
1473
|
};
|
|
1474
1474
|
};
|
|
1475
1475
|
const deserializeAws_json1_1Tag = (output, context) => {
|
|
1476
1476
|
return {
|
|
1477
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
1478
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
1477
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
1478
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
1479
1479
|
};
|
|
1480
1480
|
};
|
|
1481
1481
|
const deserializeAws_json1_1TagList = (output, context) => {
|
|
@@ -1491,17 +1491,17 @@ const deserializeAws_json1_1TagList = (output, context) => {
|
|
|
1491
1491
|
};
|
|
1492
1492
|
const deserializeAws_json1_1TagPolicyException = (output, context) => {
|
|
1493
1493
|
return {
|
|
1494
|
-
message: smithy_client_1.expectString(output.message),
|
|
1494
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1495
1495
|
};
|
|
1496
1496
|
};
|
|
1497
1497
|
const deserializeAws_json1_1ThrottlingException = (output, context) => {
|
|
1498
1498
|
return {
|
|
1499
|
-
message: smithy_client_1.expectString(output.message),
|
|
1499
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1500
1500
|
};
|
|
1501
1501
|
};
|
|
1502
1502
|
const deserializeAws_json1_1TooManyTagsException = (output, context) => {
|
|
1503
1503
|
return {
|
|
1504
|
-
message: smithy_client_1.expectString(output.message),
|
|
1504
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1505
1505
|
};
|
|
1506
1506
|
};
|
|
1507
1507
|
const deserializeAws_json1_1ValidationEmailList = (output, context) => {
|
|
@@ -1511,13 +1511,13 @@ const deserializeAws_json1_1ValidationEmailList = (output, context) => {
|
|
|
1511
1511
|
if (entry === null) {
|
|
1512
1512
|
return null;
|
|
1513
1513
|
}
|
|
1514
|
-
return smithy_client_1.expectString(entry);
|
|
1514
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
1515
1515
|
});
|
|
1516
1516
|
return retVal;
|
|
1517
1517
|
};
|
|
1518
1518
|
const deserializeAws_json1_1ValidationException = (output, context) => {
|
|
1519
1519
|
return {
|
|
1520
|
-
message: smithy_client_1.expectString(output.message),
|
|
1520
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1521
1521
|
};
|
|
1522
1522
|
};
|
|
1523
1523
|
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,
|