@aws-sdk/client-sns 3.943.0 → 3.947.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.
Files changed (77) hide show
  1. package/dist-cjs/index.js +36 -187
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/SNSClient.js +2 -2
  5. package/dist-es/runtimeConfig.browser.js +2 -2
  6. package/dist-es/runtimeConfig.js +2 -3
  7. package/dist-es/schemas/schemas_0.js +36 -187
  8. package/dist-types/SNS.d.ts +1 -1
  9. package/dist-types/SNSClient.d.ts +10 -10
  10. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  11. package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  12. package/dist-types/commands/AddPermissionCommand.d.ts +3 -3
  13. package/dist-types/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +3 -3
  14. package/dist-types/commands/ConfirmSubscriptionCommand.d.ts +3 -3
  15. package/dist-types/commands/CreatePlatformApplicationCommand.d.ts +3 -3
  16. package/dist-types/commands/CreatePlatformEndpointCommand.d.ts +3 -3
  17. package/dist-types/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +3 -3
  18. package/dist-types/commands/CreateTopicCommand.d.ts +3 -3
  19. package/dist-types/commands/DeleteEndpointCommand.d.ts +3 -3
  20. package/dist-types/commands/DeletePlatformApplicationCommand.d.ts +3 -3
  21. package/dist-types/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +3 -3
  22. package/dist-types/commands/DeleteTopicCommand.d.ts +3 -3
  23. package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +3 -3
  24. package/dist-types/commands/GetEndpointAttributesCommand.d.ts +3 -3
  25. package/dist-types/commands/GetPlatformApplicationAttributesCommand.d.ts +3 -3
  26. package/dist-types/commands/GetSMSAttributesCommand.d.ts +3 -3
  27. package/dist-types/commands/GetSMSSandboxAccountStatusCommand.d.ts +3 -3
  28. package/dist-types/commands/GetSubscriptionAttributesCommand.d.ts +3 -3
  29. package/dist-types/commands/GetTopicAttributesCommand.d.ts +3 -3
  30. package/dist-types/commands/ListEndpointsByPlatformApplicationCommand.d.ts +3 -3
  31. package/dist-types/commands/ListOriginationNumbersCommand.d.ts +3 -3
  32. package/dist-types/commands/ListPhoneNumbersOptedOutCommand.d.ts +3 -3
  33. package/dist-types/commands/ListPlatformApplicationsCommand.d.ts +3 -3
  34. package/dist-types/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +3 -3
  35. package/dist-types/commands/ListSubscriptionsByTopicCommand.d.ts +3 -3
  36. package/dist-types/commands/ListSubscriptionsCommand.d.ts +3 -3
  37. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  38. package/dist-types/commands/ListTopicsCommand.d.ts +3 -3
  39. package/dist-types/commands/OptInPhoneNumberCommand.d.ts +3 -3
  40. package/dist-types/commands/PublishBatchCommand.d.ts +3 -3
  41. package/dist-types/commands/PublishCommand.d.ts +3 -3
  42. package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +3 -3
  43. package/dist-types/commands/RemovePermissionCommand.d.ts +3 -3
  44. package/dist-types/commands/SetEndpointAttributesCommand.d.ts +3 -3
  45. package/dist-types/commands/SetPlatformApplicationAttributesCommand.d.ts +3 -3
  46. package/dist-types/commands/SetSMSAttributesCommand.d.ts +3 -3
  47. package/dist-types/commands/SetSubscriptionAttributesCommand.d.ts +3 -3
  48. package/dist-types/commands/SetTopicAttributesCommand.d.ts +3 -3
  49. package/dist-types/commands/SubscribeCommand.d.ts +3 -3
  50. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  51. package/dist-types/commands/UnsubscribeCommand.d.ts +3 -3
  52. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  53. package/dist-types/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +3 -3
  54. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  55. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  56. package/dist-types/extensionConfiguration.d.ts +4 -4
  57. package/dist-types/models/SNSServiceException.d.ts +1 -1
  58. package/dist-types/models/errors.d.ts +1 -1
  59. package/dist-types/pagination/Interfaces.d.ts +1 -1
  60. package/dist-types/pagination/ListEndpointsByPlatformApplicationPaginator.d.ts +1 -1
  61. package/dist-types/pagination/ListOriginationNumbersPaginator.d.ts +1 -1
  62. package/dist-types/pagination/ListPhoneNumbersOptedOutPaginator.d.ts +1 -1
  63. package/dist-types/pagination/ListPlatformApplicationsPaginator.d.ts +1 -1
  64. package/dist-types/pagination/ListSMSSandboxPhoneNumbersPaginator.d.ts +1 -1
  65. package/dist-types/pagination/ListSubscriptionsByTopicPaginator.d.ts +1 -1
  66. package/dist-types/pagination/ListSubscriptionsPaginator.d.ts +1 -1
  67. package/dist-types/pagination/ListTopicsPaginator.d.ts +1 -1
  68. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  69. package/dist-types/runtimeConfig.d.ts +1 -1
  70. package/dist-types/runtimeConfig.native.d.ts +1 -1
  71. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  72. package/dist-types/runtimeExtensions.d.ts +1 -1
  73. package/dist-types/schemas/schemas_0.d.ts +1 -1
  74. package/dist-types/ts3.4/SNSClient.d.ts +3 -3
  75. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  76. package/dist-types/ts3.4/models/SNSServiceException.d.ts +1 -1
  77. package/package.json +13 -12
package/dist-cjs/index.js CHANGED
@@ -784,11 +784,7 @@ var AuthorizationErrorException = [
784
784
  -3,
785
785
  n0,
786
786
  _AEE,
787
- {
788
- [_e]: _c,
789
- [_hE]: 403,
790
- [_aQE]: [`AuthorizationError`, 403],
791
- },
787
+ { [_e]: _c, [_hE]: 403, [_aQE]: [`AuthorizationError`, 403] },
792
788
  [_m],
793
789
  [0],
794
790
  ];
@@ -797,11 +793,7 @@ var BatchEntryIdsNotDistinctException = [
797
793
  -3,
798
794
  n0,
799
795
  _BEINDE,
800
- {
801
- [_e]: _c,
802
- [_hE]: 400,
803
- [_aQE]: [`BatchEntryIdsNotDistinct`, 400],
804
- },
796
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`BatchEntryIdsNotDistinct`, 400] },
805
797
  [_m],
806
798
  [0],
807
799
  ];
@@ -810,11 +802,7 @@ var BatchRequestTooLongException = [
810
802
  -3,
811
803
  n0,
812
804
  _BRTLE,
813
- {
814
- [_e]: _c,
815
- [_hE]: 400,
816
- [_aQE]: [`BatchRequestTooLong`, 400],
817
- },
805
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`BatchRequestTooLong`, 400] },
818
806
  [_m],
819
807
  [0],
820
808
  ];
@@ -833,11 +821,7 @@ var ConcurrentAccessException = [
833
821
  -3,
834
822
  n0,
835
823
  _CAE,
836
- {
837
- [_e]: _c,
838
- [_hE]: 400,
839
- [_aQE]: [`ConcurrentAccess`, 400],
840
- },
824
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`ConcurrentAccess`, 400] },
841
825
  [_m],
842
826
  [0],
843
827
  ];
@@ -889,11 +873,7 @@ var EmptyBatchRequestException = [
889
873
  -3,
890
874
  n0,
891
875
  _EBRE,
892
- {
893
- [_e]: _c,
894
- [_hE]: 400,
895
- [_aQE]: [`EmptyBatchRequest`, 400],
896
- },
876
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`EmptyBatchRequest`, 400] },
897
877
  [_m],
898
878
  [0],
899
879
  ];
@@ -903,11 +883,7 @@ var EndpointDisabledException = [
903
883
  -3,
904
884
  n0,
905
885
  _EDE,
906
- {
907
- [_e]: _c,
908
- [_hE]: 400,
909
- [_aQE]: [`EndpointDisabled`, 400],
910
- },
886
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`EndpointDisabled`, 400] },
911
887
  [_m],
912
888
  [0],
913
889
  ];
@@ -916,11 +892,7 @@ var FilterPolicyLimitExceededException = [
916
892
  -3,
917
893
  n0,
918
894
  _FPLEE,
919
- {
920
- [_e]: _c,
921
- [_hE]: 403,
922
- [_aQE]: [`FilterPolicyLimitExceeded`, 403],
923
- },
895
+ { [_e]: _c, [_hE]: 403, [_aQE]: [`FilterPolicyLimitExceeded`, 403] },
924
896
  [_m],
925
897
  [0],
926
898
  ];
@@ -943,11 +915,7 @@ var InternalErrorException = [
943
915
  -3,
944
916
  n0,
945
917
  _IEE,
946
- {
947
- [_e]: _s,
948
- [_hE]: 500,
949
- [_aQE]: [`InternalError`, 500],
950
- },
918
+ { [_e]: _s, [_hE]: 500, [_aQE]: [`InternalError`, 500] },
951
919
  [_m],
952
920
  [0],
953
921
  ];
@@ -956,11 +924,7 @@ var InvalidBatchEntryIdException = [
956
924
  -3,
957
925
  n0,
958
926
  _IBEIE,
959
- {
960
- [_e]: _c,
961
- [_hE]: 400,
962
- [_aQE]: [`InvalidBatchEntryId`, 400],
963
- },
927
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidBatchEntryId`, 400] },
964
928
  [_m],
965
929
  [0],
966
930
  ];
@@ -969,11 +933,7 @@ var InvalidParameterException = [
969
933
  -3,
970
934
  n0,
971
935
  _IPE,
972
- {
973
- [_e]: _c,
974
- [_hE]: 400,
975
- [_aQE]: [`InvalidParameter`, 400],
976
- },
936
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidParameter`, 400] },
977
937
  [_m],
978
938
  [0],
979
939
  ];
@@ -982,11 +942,7 @@ var InvalidParameterValueException = [
982
942
  -3,
983
943
  n0,
984
944
  _IPVE,
985
- {
986
- [_e]: _c,
987
- [_hE]: 400,
988
- [_aQE]: [`ParameterValueInvalid`, 400],
989
- },
945
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`ParameterValueInvalid`, 400] },
990
946
  [_m],
991
947
  [0],
992
948
  ];
@@ -995,11 +951,7 @@ var InvalidSecurityException = [
995
951
  -3,
996
952
  n0,
997
953
  _ISE,
998
- {
999
- [_e]: _c,
1000
- [_hE]: 403,
1001
- [_aQE]: [`InvalidSecurity`, 403],
1002
- },
954
+ { [_e]: _c, [_hE]: 403, [_aQE]: [`InvalidSecurity`, 403] },
1003
955
  [_m],
1004
956
  [0],
1005
957
  ];
@@ -1008,11 +960,7 @@ var InvalidStateException = [
1008
960
  -3,
1009
961
  n0,
1010
962
  _ISEn,
1011
- {
1012
- [_e]: _c,
1013
- [_hE]: 400,
1014
- [_aQE]: [`InvalidState`, 400],
1015
- },
963
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidState`, 400] },
1016
964
  [_m],
1017
965
  [0],
1018
966
  ];
@@ -1021,11 +969,7 @@ var KMSAccessDeniedException = [
1021
969
  -3,
1022
970
  n0,
1023
971
  _KMSADE,
1024
- {
1025
- [_e]: _c,
1026
- [_hE]: 400,
1027
- [_aQE]: [`KMSAccessDenied`, 400],
1028
- },
972
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`KMSAccessDenied`, 400] },
1029
973
  [_m],
1030
974
  [0],
1031
975
  ];
@@ -1034,11 +978,7 @@ var KMSDisabledException = [
1034
978
  -3,
1035
979
  n0,
1036
980
  _KMSDE,
1037
- {
1038
- [_e]: _c,
1039
- [_hE]: 400,
1040
- [_aQE]: [`KMSDisabled`, 400],
1041
- },
981
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`KMSDisabled`, 400] },
1042
982
  [_m],
1043
983
  [0],
1044
984
  ];
@@ -1047,11 +987,7 @@ var KMSInvalidStateException = [
1047
987
  -3,
1048
988
  n0,
1049
989
  _KMSISE,
1050
- {
1051
- [_e]: _c,
1052
- [_hE]: 400,
1053
- [_aQE]: [`KMSInvalidState`, 400],
1054
- },
990
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`KMSInvalidState`, 400] },
1055
991
  [_m],
1056
992
  [0],
1057
993
  ];
@@ -1060,11 +996,7 @@ var KMSNotFoundException = [
1060
996
  -3,
1061
997
  n0,
1062
998
  _KMSNFE,
1063
- {
1064
- [_e]: _c,
1065
- [_hE]: 400,
1066
- [_aQE]: [`KMSNotFound`, 400],
1067
- },
999
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`KMSNotFound`, 400] },
1068
1000
  [_m],
1069
1001
  [0],
1070
1002
  ];
@@ -1073,11 +1005,7 @@ var KMSOptInRequired = [
1073
1005
  -3,
1074
1006
  n0,
1075
1007
  _KMSOIR,
1076
- {
1077
- [_e]: _c,
1078
- [_hE]: 403,
1079
- [_aQE]: [`KMSOptInRequired`, 403],
1080
- },
1008
+ { [_e]: _c, [_hE]: 403, [_aQE]: [`KMSOptInRequired`, 403] },
1081
1009
  [_m],
1082
1010
  [0],
1083
1011
  ];
@@ -1086,11 +1014,7 @@ var KMSThrottlingException = [
1086
1014
  -3,
1087
1015
  n0,
1088
1016
  _KMSTE,
1089
- {
1090
- [_e]: _c,
1091
- [_hE]: 400,
1092
- [_aQE]: [`KMSThrottling`, 400],
1093
- },
1017
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`KMSThrottling`, 400] },
1094
1018
  [_m],
1095
1019
  [0],
1096
1020
  ];
@@ -1160,11 +1084,7 @@ var NotFoundException = [
1160
1084
  -3,
1161
1085
  n0,
1162
1086
  _NFE,
1163
- {
1164
- [_e]: _c,
1165
- [_hE]: 404,
1166
- [_aQE]: [`NotFound`, 404],
1167
- },
1087
+ { [_e]: _c, [_hE]: 404, [_aQE]: [`NotFound`, 404] },
1168
1088
  [_m],
1169
1089
  [0],
1170
1090
  ];
@@ -1173,11 +1093,7 @@ var OptedOutException = [
1173
1093
  -3,
1174
1094
  n0,
1175
1095
  _OOE,
1176
- {
1177
- [_e]: _c,
1178
- [_hE]: 400,
1179
- [_aQE]: [`OptedOut`, 400],
1180
- },
1096
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`OptedOut`, 400] },
1181
1097
  [_m],
1182
1098
  [0],
1183
1099
  ];
@@ -1197,11 +1113,7 @@ var PlatformApplicationDisabledException = [
1197
1113
  -3,
1198
1114
  n0,
1199
1115
  _PADE,
1200
- {
1201
- [_e]: _c,
1202
- [_hE]: 400,
1203
- [_aQE]: [`PlatformApplicationDisabled`, 400],
1204
- },
1116
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`PlatformApplicationDisabled`, 400] },
1205
1117
  [_m],
1206
1118
  [0],
1207
1119
  ];
@@ -1246,11 +1158,7 @@ var ReplayLimitExceededException = [
1246
1158
  -3,
1247
1159
  n0,
1248
1160
  _RLEE,
1249
- {
1250
- [_e]: _c,
1251
- [_hE]: 403,
1252
- [_aQE]: [`ReplayLimitExceeded`, 403],
1253
- },
1161
+ { [_e]: _c, [_hE]: 403, [_aQE]: [`ReplayLimitExceeded`, 403] },
1254
1162
  [_m],
1255
1163
  [0],
1256
1164
  ];
@@ -1259,11 +1167,7 @@ var ResourceNotFoundException = [
1259
1167
  -3,
1260
1168
  n0,
1261
1169
  _RNFE,
1262
- {
1263
- [_e]: _c,
1264
- [_hE]: 404,
1265
- [_aQE]: [`ResourceNotFound`, 404],
1266
- },
1170
+ { [_e]: _c, [_hE]: 404, [_aQE]: [`ResourceNotFound`, 404] },
1267
1171
  [_m],
1268
1172
  [0],
1269
1173
  ];
@@ -1286,11 +1190,7 @@ var StaleTagException = [
1286
1190
  -3,
1287
1191
  n0,
1288
1192
  _STE,
1289
- {
1290
- [_e]: _c,
1291
- [_hE]: 400,
1292
- [_aQE]: [`StaleTag`, 400],
1293
- },
1193
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`StaleTag`, 400] },
1294
1194
  [_m],
1295
1195
  [0],
1296
1196
  ];
@@ -1302,11 +1202,7 @@ var SubscriptionLimitExceededException = [
1302
1202
  -3,
1303
1203
  n0,
1304
1204
  _SLEE,
1305
- {
1306
- [_e]: _c,
1307
- [_hE]: 403,
1308
- [_aQE]: [`SubscriptionLimitExceeded`, 403],
1309
- },
1205
+ { [_e]: _c, [_hE]: 403, [_aQE]: [`SubscriptionLimitExceeded`, 403] },
1310
1206
  [_m],
1311
1207
  [0],
1312
1208
  ];
@@ -1316,11 +1212,7 @@ var TagLimitExceededException = [
1316
1212
  -3,
1317
1213
  n0,
1318
1214
  _TLEE,
1319
- {
1320
- [_e]: _c,
1321
- [_hE]: 400,
1322
- [_aQE]: [`TagLimitExceeded`, 400],
1323
- },
1215
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`TagLimitExceeded`, 400] },
1324
1216
  [_m],
1325
1217
  [0],
1326
1218
  ];
@@ -1329,11 +1221,7 @@ var TagPolicyException = [
1329
1221
  -3,
1330
1222
  n0,
1331
1223
  _TPE,
1332
- {
1333
- [_e]: _c,
1334
- [_hE]: 400,
1335
- [_aQE]: [`TagPolicy`, 400],
1336
- },
1224
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`TagPolicy`, 400] },
1337
1225
  [_m],
1338
1226
  [0],
1339
1227
  ];
@@ -1344,11 +1232,7 @@ var ThrottledException = [
1344
1232
  -3,
1345
1233
  n0,
1346
1234
  _TE,
1347
- {
1348
- [_e]: _c,
1349
- [_hE]: 429,
1350
- [_aQE]: [`Throttled`, 429],
1351
- },
1235
+ { [_e]: _c, [_hE]: 429, [_aQE]: [`Throttled`, 429] },
1352
1236
  [_m],
1353
1237
  [0],
1354
1238
  ];
@@ -1357,11 +1241,7 @@ var TooManyEntriesInBatchRequestException = [
1357
1241
  -3,
1358
1242
  n0,
1359
1243
  _TMEIBRE,
1360
- {
1361
- [_e]: _c,
1362
- [_hE]: 400,
1363
- [_aQE]: [`TooManyEntriesInBatchRequest`, 400],
1364
- },
1244
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`TooManyEntriesInBatchRequest`, 400] },
1365
1245
  [_m],
1366
1246
  [0],
1367
1247
  ];
@@ -1371,11 +1251,7 @@ var TopicLimitExceededException = [
1371
1251
  -3,
1372
1252
  n0,
1373
1253
  _TLEEo,
1374
- {
1375
- [_e]: _c,
1376
- [_hE]: 403,
1377
- [_aQE]: [`TopicLimitExceeded`, 403],
1378
- },
1254
+ { [_e]: _c, [_hE]: 403, [_aQE]: [`TopicLimitExceeded`, 403] },
1379
1255
  [_m],
1380
1256
  [0],
1381
1257
  ];
@@ -1387,11 +1263,7 @@ var UserErrorException = [
1387
1263
  -3,
1388
1264
  n0,
1389
1265
  _UEE,
1390
- {
1391
- [_e]: _c,
1392
- [_hE]: 400,
1393
- [_aQE]: [`UserError`, 400],
1394
- },
1266
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`UserError`, 400] },
1395
1267
  [_m],
1396
1268
  [0],
1397
1269
  ];
@@ -1400,25 +1272,12 @@ var ValidationException = [
1400
1272
  -3,
1401
1273
  n0,
1402
1274
  _VE,
1403
- {
1404
- [_e]: _c,
1405
- [_hE]: 400,
1406
- [_aQE]: [`ValidationException`, 400],
1407
- },
1275
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`ValidationException`, 400] },
1408
1276
  [_M],
1409
1277
  [0],
1410
1278
  ];
1411
1279
  schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1412
- var VerificationException = [
1413
- -3,
1414
- n0,
1415
- _VEe,
1416
- {
1417
- [_e]: _c,
1418
- },
1419
- [_M, _St],
1420
- [0, 0],
1421
- ];
1280
+ var VerificationException = [-3, n0, _VEe, { [_e]: _c }, [_M, _St], [0, 0]];
1422
1281
  schema.TypeRegistry.for(n0).registerError(VerificationException, VerificationException$1);
1423
1282
  var VerifySMSSandboxPhoneNumberInput = [
1424
1283
  3,
@@ -1448,18 +1307,8 @@ var MessageAttributeMap = [
1448
1307
  n0,
1449
1308
  _MAM,
1450
1309
  0,
1451
- [
1452
- 0,
1453
- {
1454
- [_xN]: _N,
1455
- },
1456
- ],
1457
- [
1458
- () => MessageAttributeValue,
1459
- {
1460
- [_xN]: _V,
1461
- },
1462
- ],
1310
+ [0, { [_xN]: _N }],
1311
+ [() => MessageAttributeValue, { [_xN]: _V }],
1463
1312
  ];
1464
1313
  var AddPermission = [9, n0, _AP, 0, () => AddPermissionInput, () => __Unit];
1465
1314
  var CheckIfPhoneNumberIsOptedOut = [
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
8
8
  const config_resolver_1 = require("@smithy/config-resolver");
9
9
  const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
10
10
  const invalid_dependency_1 = require("@smithy/invalid-dependency");
11
+ const smithy_client_1 = require("@smithy/smithy-client");
11
12
  const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
13
+ const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
12
14
  const util_retry_1 = require("@smithy/util-retry");
13
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
14
- const smithy_client_1 = require("@smithy/smithy-client");
15
- const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
16
16
  const getRuntimeConfig = (config) => {
17
17
  const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
18
18
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
11
11
  const middleware_retry_1 = require("@smithy/middleware-retry");
12
12
  const node_config_provider_1 = require("@smithy/node-config-provider");
13
13
  const node_http_handler_1 = require("@smithy/node-http-handler");
14
+ const smithy_client_1 = require("@smithy/smithy-client");
14
15
  const util_body_length_node_1 = require("@smithy/util-body-length-node");
16
+ const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
15
17
  const util_retry_1 = require("@smithy/util-retry");
16
18
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
17
- const smithy_client_1 = require("@smithy/smithy-client");
18
- const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
19
- const smithy_client_2 = require("@smithy/smithy-client");
20
19
  const getRuntimeConfig = (config) => {
21
- (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
20
+ (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
22
21
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
22
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
23
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
7
  import { getSchemaSerdePlugin } from "@smithy/core/schema";
8
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
9
- import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
10
- import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
9
+ import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
10
+ import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
11
11
  import { Client as __Client, } from "@smithy/smithy-client";
12
12
  import { defaultSNSHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
13
13
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
5
5
  import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
6
  import { invalidProvider } from "@smithy/invalid-dependency";
7
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
7
8
  import { calculateBodyLength } from "@smithy/util-body-length-browser";
9
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
8
10
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
9
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
10
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
11
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
12
12
  export const getRuntimeConfig = (config) => {
13
13
  const defaultsMode = resolveDefaultsModeConfig(config);
14
14
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
7
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
+ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
10
11
  import { calculateBodyLength } from "@smithy/util-body-length-node";
12
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
11
13
  import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
12
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
14
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
15
- import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
16
15
  export const getRuntimeConfig = (config) => {
17
16
  emitWarningIfUnsupportedVersion(process.version);
18
17
  const defaultsMode = resolveDefaultsModeConfig(config);