@aws-sdk/client-cost-explorer 3.940.0 → 3.946.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 (87) hide show
  1. package/dist-cjs/index.js +16 -158
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/CostExplorerClient.js +2 -2
  5. package/dist-es/models/enums.js +1 -0
  6. package/dist-es/runtimeConfig.browser.js +2 -2
  7. package/dist-es/runtimeConfig.js +2 -3
  8. package/dist-es/schemas/schemas_0.js +15 -158
  9. package/dist-types/CostExplorer.d.ts +1 -1
  10. package/dist-types/CostExplorerClient.d.ts +10 -10
  11. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  12. package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  13. package/dist-types/commands/CreateAnomalyMonitorCommand.d.ts +3 -3
  14. package/dist-types/commands/CreateAnomalySubscriptionCommand.d.ts +3 -3
  15. package/dist-types/commands/CreateCostCategoryDefinitionCommand.d.ts +3 -3
  16. package/dist-types/commands/DeleteAnomalyMonitorCommand.d.ts +3 -3
  17. package/dist-types/commands/DeleteAnomalySubscriptionCommand.d.ts +3 -3
  18. package/dist-types/commands/DeleteCostCategoryDefinitionCommand.d.ts +3 -3
  19. package/dist-types/commands/DescribeCostCategoryDefinitionCommand.d.ts +3 -3
  20. package/dist-types/commands/GetAnomaliesCommand.d.ts +3 -3
  21. package/dist-types/commands/GetAnomalyMonitorsCommand.d.ts +3 -3
  22. package/dist-types/commands/GetAnomalySubscriptionsCommand.d.ts +3 -3
  23. package/dist-types/commands/GetApproximateUsageRecordsCommand.d.ts +3 -3
  24. package/dist-types/commands/GetCommitmentPurchaseAnalysisCommand.d.ts +4 -4
  25. package/dist-types/commands/GetCostAndUsageCommand.d.ts +3 -3
  26. package/dist-types/commands/GetCostAndUsageComparisonsCommand.d.ts +3 -3
  27. package/dist-types/commands/GetCostAndUsageWithResourcesCommand.d.ts +3 -3
  28. package/dist-types/commands/GetCostCategoriesCommand.d.ts +3 -3
  29. package/dist-types/commands/GetCostComparisonDriversCommand.d.ts +3 -3
  30. package/dist-types/commands/GetCostForecastCommand.d.ts +3 -3
  31. package/dist-types/commands/GetDimensionValuesCommand.d.ts +3 -3
  32. package/dist-types/commands/GetReservationCoverageCommand.d.ts +3 -3
  33. package/dist-types/commands/GetReservationPurchaseRecommendationCommand.d.ts +3 -3
  34. package/dist-types/commands/GetReservationUtilizationCommand.d.ts +3 -3
  35. package/dist-types/commands/GetRightsizingRecommendationCommand.d.ts +3 -3
  36. package/dist-types/commands/GetSavingsPlanPurchaseRecommendationDetailsCommand.d.ts +4 -4
  37. package/dist-types/commands/GetSavingsPlansCoverageCommand.d.ts +3 -3
  38. package/dist-types/commands/GetSavingsPlansPurchaseRecommendationCommand.d.ts +5 -5
  39. package/dist-types/commands/GetSavingsPlansUtilizationCommand.d.ts +3 -3
  40. package/dist-types/commands/GetSavingsPlansUtilizationDetailsCommand.d.ts +3 -3
  41. package/dist-types/commands/GetTagsCommand.d.ts +3 -3
  42. package/dist-types/commands/GetUsageForecastCommand.d.ts +3 -3
  43. package/dist-types/commands/ListCommitmentPurchaseAnalysesCommand.d.ts +4 -4
  44. package/dist-types/commands/ListCostAllocationTagBackfillHistoryCommand.d.ts +3 -3
  45. package/dist-types/commands/ListCostAllocationTagsCommand.d.ts +3 -3
  46. package/dist-types/commands/ListCostCategoryDefinitionsCommand.d.ts +3 -3
  47. package/dist-types/commands/ListSavingsPlansPurchaseRecommendationGenerationCommand.d.ts +3 -3
  48. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  49. package/dist-types/commands/ProvideAnomalyFeedbackCommand.d.ts +3 -3
  50. package/dist-types/commands/StartCommitmentPurchaseAnalysisCommand.d.ts +4 -4
  51. package/dist-types/commands/StartCostAllocationTagBackfillCommand.d.ts +3 -3
  52. package/dist-types/commands/StartSavingsPlansPurchaseRecommendationGenerationCommand.d.ts +3 -3
  53. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  54. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  55. package/dist-types/commands/UpdateAnomalyMonitorCommand.d.ts +3 -3
  56. package/dist-types/commands/UpdateAnomalySubscriptionCommand.d.ts +3 -3
  57. package/dist-types/commands/UpdateCostAllocationTagsStatusCommand.d.ts +3 -3
  58. package/dist-types/commands/UpdateCostCategoryDefinitionCommand.d.ts +3 -3
  59. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  60. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  61. package/dist-types/extensionConfiguration.d.ts +4 -4
  62. package/dist-types/models/CostExplorerServiceException.d.ts +1 -1
  63. package/dist-types/models/enums.d.ts +1 -0
  64. package/dist-types/models/errors.d.ts +1 -1
  65. package/dist-types/models/models_0.d.ts +2 -2
  66. package/dist-types/pagination/GetAnomaliesPaginator.d.ts +1 -1
  67. package/dist-types/pagination/GetAnomalyMonitorsPaginator.d.ts +1 -1
  68. package/dist-types/pagination/GetAnomalySubscriptionsPaginator.d.ts +1 -1
  69. package/dist-types/pagination/GetCostAndUsageComparisonsPaginator.d.ts +1 -1
  70. package/dist-types/pagination/GetCostComparisonDriversPaginator.d.ts +1 -1
  71. package/dist-types/pagination/GetSavingsPlansCoveragePaginator.d.ts +1 -1
  72. package/dist-types/pagination/GetSavingsPlansUtilizationDetailsPaginator.d.ts +1 -1
  73. package/dist-types/pagination/Interfaces.d.ts +1 -1
  74. package/dist-types/pagination/ListCostAllocationTagBackfillHistoryPaginator.d.ts +1 -1
  75. package/dist-types/pagination/ListCostAllocationTagsPaginator.d.ts +1 -1
  76. package/dist-types/pagination/ListCostCategoryDefinitionsPaginator.d.ts +1 -1
  77. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  78. package/dist-types/runtimeConfig.d.ts +1 -1
  79. package/dist-types/runtimeConfig.native.d.ts +1 -1
  80. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  81. package/dist-types/runtimeExtensions.d.ts +1 -1
  82. package/dist-types/schemas/schemas_0.d.ts +1 -1
  83. package/dist-types/ts3.4/CostExplorerClient.d.ts +3 -3
  84. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  85. package/dist-types/ts3.4/models/CostExplorerServiceException.d.ts +1 -1
  86. package/dist-types/ts3.4/models/enums.d.ts +1 -0
  87. package/package.json +13 -12
package/dist-cjs/index.js CHANGED
@@ -961,17 +961,7 @@ var AnalysisDetails = [
961
961
  [_SPPAD],
962
962
  [() => SavingsPlansPurchaseAnalysisDetails],
963
963
  ];
964
- var AnalysisNotFoundException = [
965
- -3,
966
- n0,
967
- _ANFE,
968
- {
969
- [_e]: _c,
970
- [_hE]: 400,
971
- },
972
- [_M],
973
- [0],
974
- ];
964
+ var AnalysisNotFoundException = [-3, n0, _ANFE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
975
965
  schema.TypeRegistry.for(n0).registerError(AnalysisNotFoundException, AnalysisNotFoundException$1);
976
966
  var AnalysisSummary = [
977
967
  3,
@@ -1007,39 +997,11 @@ var AnomalySubscription = [
1007
997
  [_SA, _AIc, _MAL, _S, _T, _Fr, _SN, _TE],
1008
998
  [0, 0, 64 | 0, () => Subscribers, 1, 0, 0, () => Expression],
1009
999
  ];
1010
- var BackfillLimitExceededException = [
1011
- -3,
1012
- n0,
1013
- _BLEE,
1014
- {
1015
- [_e]: _c,
1016
- [_hE]: 400,
1017
- },
1018
- [_M],
1019
- [0],
1020
- ];
1000
+ var BackfillLimitExceededException = [-3, n0, _BLEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
1021
1001
  schema.TypeRegistry.for(n0).registerError(BackfillLimitExceededException, BackfillLimitExceededException$1);
1022
- var BillExpirationException = [
1023
- -3,
1024
- n0,
1025
- _BEE,
1026
- {
1027
- [_e]: _c,
1028
- },
1029
- [_M],
1030
- [0],
1031
- ];
1002
+ var BillExpirationException = [-3, n0, _BEE, { [_e]: _c }, [_M], [0]];
1032
1003
  schema.TypeRegistry.for(n0).registerError(BillExpirationException, BillExpirationException$1);
1033
- var BillingViewHealthStatusException = [
1034
- -3,
1035
- n0,
1036
- _BVHSE,
1037
- {
1038
- [_e]: _c,
1039
- },
1040
- [_M],
1041
- [0],
1042
- ];
1004
+ var BillingViewHealthStatusException = [-3, n0, _BVHSE, { [_e]: _c }, [_M], [0]];
1043
1005
  schema.TypeRegistry.for(n0).registerError(BillingViewHealthStatusException, BillingViewHealthStatusException$1);
1044
1006
  var CommitmentPurchaseAnalysisConfiguration = [
1045
1007
  3,
@@ -1177,16 +1139,7 @@ var CurrentInstance = [
1177
1139
  [_RI, _IN, _Tag, _RD, _RU, _RCHILP, _SPCHILP, _ODHILP, _TRHILP, _MC, _CCu],
1178
1140
  [0, 0, () => TagValuesList, () => ResourceDetails, () => ResourceUtilization, 0, 0, 0, 0, 0, 0],
1179
1141
  ];
1180
- var DataUnavailableException = [
1181
- -3,
1182
- n0,
1183
- _DUE,
1184
- {
1185
- [_e]: _c,
1186
- },
1187
- [_M],
1188
- [0],
1189
- ];
1142
+ var DataUnavailableException = [-3, n0, _DUE, { [_e]: _c }, [_M], [0]];
1190
1143
  schema.TypeRegistry.for(n0).registerError(DataUnavailableException, DataUnavailableException$1);
1191
1144
  var DateInterval = [3, n0, _DI, 0, [_Sta, _E], [0, 0]];
1192
1145
  var DeleteAnomalyMonitorRequest = [3, n0, _DAMR, 0, [_MA], [0]];
@@ -1280,17 +1233,7 @@ var ForecastResult = [
1280
1233
  [_TP, _MV, _PILB, _PIUB],
1281
1234
  [() => DateInterval, 0, 0, 0],
1282
1235
  ];
1283
- var GenerationExistsException = [
1284
- -3,
1285
- n0,
1286
- _GEE,
1287
- {
1288
- [_e]: _c,
1289
- [_hE]: 400,
1290
- },
1291
- [_M],
1292
- [0],
1293
- ];
1236
+ var GenerationExistsException = [-3, n0, _GEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
1294
1237
  schema.TypeRegistry.for(n0).registerError(GenerationExistsException, GenerationExistsException$1);
1295
1238
  var GenerationSummary = [3, n0, _GS, 0, [_RIe, _GSe, _GST, _GCT, _ECT], [0, 0, 0, 0, 0]];
1296
1239
  var GetAnomaliesRequest = [
@@ -1657,27 +1600,9 @@ var InstanceDetails = [
1657
1600
  () => MemoryDBInstanceDetails,
1658
1601
  ],
1659
1602
  ];
1660
- var InvalidNextTokenException = [
1661
- -3,
1662
- n0,
1663
- _INTE,
1664
- {
1665
- [_e]: _c,
1666
- },
1667
- [_M],
1668
- [0],
1669
- ];
1603
+ var InvalidNextTokenException = [-3, n0, _INTE, { [_e]: _c }, [_M], [0]];
1670
1604
  schema.TypeRegistry.for(n0).registerError(InvalidNextTokenException, InvalidNextTokenException$1);
1671
- var LimitExceededException = [
1672
- -3,
1673
- n0,
1674
- _LEE,
1675
- {
1676
- [_e]: _c,
1677
- },
1678
- [_M],
1679
- [0],
1680
- ];
1605
+ var LimitExceededException = [-3, n0, _LEE, { [_e]: _c }, [_M], [0]];
1681
1606
  schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
1682
1607
  var ListCommitmentPurchaseAnalysesRequest = [
1683
1608
  3,
@@ -1836,16 +1761,7 @@ var RedshiftInstanceDetails = [
1836
1761
  [_Fa, _NT, _Re, _CG, _SFE],
1837
1762
  [0, 0, 0, 2, 2],
1838
1763
  ];
1839
- var RequestChangedException = [
1840
- -3,
1841
- n0,
1842
- _RCE,
1843
- {
1844
- [_e]: _c,
1845
- },
1846
- [_M],
1847
- [0],
1848
- ];
1764
+ var RequestChangedException = [-3, n0, _RCE, { [_e]: _c }, [_M], [0]];
1849
1765
  schema.TypeRegistry.for(n0).registerError(RequestChangedException, RequestChangedException$1);
1850
1766
  var ReservationAggregates = [
1851
1767
  3,
@@ -1956,17 +1872,7 @@ var ReservationUtilizationGroup = [
1956
1872
  ];
1957
1873
  var ReservedCapacityDetails = [3, n0, _RCD, 0, [_DDBCD], [() => DynamoDBCapacityDetails]];
1958
1874
  var ResourceDetails = [3, n0, _RD, 0, [_ECRD], [() => EC2ResourceDetails]];
1959
- var ResourceNotFoundException = [
1960
- -3,
1961
- n0,
1962
- _RNFE,
1963
- {
1964
- [_e]: _c,
1965
- [_hE]: 404,
1966
- },
1967
- [_M, _RN],
1968
- [0, 0],
1969
- ];
1875
+ var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M, _RN], [0, 0]];
1970
1876
  schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
1971
1877
  var ResourceTag = [3, n0, _RTe, 0, [_K, _Va], [0, 0]];
1972
1878
  var ResourceUtilization = [3, n0, _RU, 0, [_ECRU], [() => EC2ResourceUtilization]];
@@ -2146,17 +2052,7 @@ var SavingsPlansUtilizationDetail = [
2146
2052
  [_SPA, _At, _Ut, _Sa, _AC],
2147
2053
  [0, 128 | 0, () => SavingsPlansUtilization, () => SavingsPlansSavings, () => SavingsPlansAmortizedCommitment],
2148
2054
  ];
2149
- var ServiceQuotaExceededException = [
2150
- -3,
2151
- n0,
2152
- _SQEE,
2153
- {
2154
- [_e]: _c,
2155
- [_hE]: 402,
2156
- },
2157
- [_M],
2158
- [0],
2159
- ];
2055
+ var ServiceQuotaExceededException = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_M], [0]];
2160
2056
  schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
2161
2057
  var ServiceSpecification = [3, n0, _SSe, 0, [_ECS], [() => EC2Specification]];
2162
2058
  var SortDefinition = [3, n0, _SDo, 0, [_K, _SO], [0, 0]];
@@ -2214,53 +2110,14 @@ var TargetInstance = [
2214
2110
  [0, 0, 0, 2, () => ResourceDetails, () => ResourceUtilization, 64 | 0],
2215
2111
  ];
2216
2112
  var TerminateRecommendationDetail = [3, n0, _TRD, 0, [_EMS, _CCu], [0, 0]];
2217
- var TooManyTagsException = [
2218
- -3,
2219
- n0,
2220
- _TMTE,
2221
- {
2222
- [_e]: _c,
2223
- [_hE]: 400,
2224
- },
2225
- [_M, _RN],
2226
- [0, 0],
2227
- ];
2113
+ var TooManyTagsException = [-3, n0, _TMTE, { [_e]: _c, [_hE]: 400 }, [_M, _RN], [0, 0]];
2228
2114
  schema.TypeRegistry.for(n0).registerError(TooManyTagsException, TooManyTagsException$1);
2229
2115
  var TotalImpactFilter = [3, n0, _TIF, 0, [_NO, _SV, _EV], [0, 1, 1]];
2230
- var UnknownMonitorException = [
2231
- -3,
2232
- n0,
2233
- _UME,
2234
- {
2235
- [_e]: _c,
2236
- [_hE]: 404,
2237
- },
2238
- [_M],
2239
- [0],
2240
- ];
2116
+ var UnknownMonitorException = [-3, n0, _UME, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
2241
2117
  schema.TypeRegistry.for(n0).registerError(UnknownMonitorException, UnknownMonitorException$1);
2242
- var UnknownSubscriptionException = [
2243
- -3,
2244
- n0,
2245
- _USE,
2246
- {
2247
- [_e]: _c,
2248
- [_hE]: 404,
2249
- },
2250
- [_M],
2251
- [0],
2252
- ];
2118
+ var UnknownSubscriptionException = [-3, n0, _USE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
2253
2119
  schema.TypeRegistry.for(n0).registerError(UnknownSubscriptionException, UnknownSubscriptionException$1);
2254
- var UnresolvableUsageUnitException = [
2255
- -3,
2256
- n0,
2257
- _UUUE,
2258
- {
2259
- [_e]: _c,
2260
- },
2261
- [_M],
2262
- [0],
2263
- ];
2120
+ var UnresolvableUsageUnitException = [-3, n0, _UUUE, { [_e]: _c }, [_M], [0]];
2264
2121
  schema.TypeRegistry.for(n0).registerError(UnresolvableUsageUnitException, UnresolvableUsageUnitException$1);
2265
2122
  var UntagResourceRequest = [3, n0, _URR, 0, [_RAe, _RTK], [0, 64 | 0]];
2266
2123
  var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
@@ -3392,6 +3249,7 @@ const PaymentOption = {
3392
3249
  };
3393
3250
  const SupportedSavingsPlansType = {
3394
3251
  COMPUTE_SP: "COMPUTE_SP",
3252
+ DATABASE_SP: "DATABASE_SP",
3395
3253
  EC2_INSTANCE_SP: "EC2_INSTANCE_SP",
3396
3254
  SAGEMAKER_SP: "SAGEMAKER_SP",
3397
3255
  };
@@ -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 { defaultCostExplorerHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
13
13
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
@@ -21,6 +21,7 @@ export const PaymentOption = {
21
21
  };
22
22
  export const SupportedSavingsPlansType = {
23
23
  COMPUTE_SP: "COMPUTE_SP",
24
+ DATABASE_SP: "DATABASE_SP",
24
25
  EC2_INSTANCE_SP: "EC2_INSTANCE_SP",
25
26
  SAGEMAKER_SP: "SAGEMAKER_SP",
26
27
  };
@@ -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);
@@ -630,17 +630,7 @@ export var AnalysisDetails = [
630
630
  [_SPPAD],
631
631
  [() => SavingsPlansPurchaseAnalysisDetails],
632
632
  ];
633
- export var AnalysisNotFoundException = [
634
- -3,
635
- n0,
636
- _ANFE,
637
- {
638
- [_e]: _c,
639
- [_hE]: 400,
640
- },
641
- [_M],
642
- [0],
643
- ];
633
+ export var AnalysisNotFoundException = [-3, n0, _ANFE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
644
634
  TypeRegistry.for(n0).registerError(AnalysisNotFoundException, __AnalysisNotFoundException);
645
635
  export var AnalysisSummary = [
646
636
  3,
@@ -676,39 +666,11 @@ export var AnomalySubscription = [
676
666
  [_SA, _AIc, _MAL, _S, _T, _Fr, _SN, _TE],
677
667
  [0, 0, 64 | 0, () => Subscribers, 1, 0, 0, () => Expression],
678
668
  ];
679
- export var BackfillLimitExceededException = [
680
- -3,
681
- n0,
682
- _BLEE,
683
- {
684
- [_e]: _c,
685
- [_hE]: 400,
686
- },
687
- [_M],
688
- [0],
689
- ];
669
+ export var BackfillLimitExceededException = [-3, n0, _BLEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
690
670
  TypeRegistry.for(n0).registerError(BackfillLimitExceededException, __BackfillLimitExceededException);
691
- export var BillExpirationException = [
692
- -3,
693
- n0,
694
- _BEE,
695
- {
696
- [_e]: _c,
697
- },
698
- [_M],
699
- [0],
700
- ];
671
+ export var BillExpirationException = [-3, n0, _BEE, { [_e]: _c }, [_M], [0]];
701
672
  TypeRegistry.for(n0).registerError(BillExpirationException, __BillExpirationException);
702
- export var BillingViewHealthStatusException = [
703
- -3,
704
- n0,
705
- _BVHSE,
706
- {
707
- [_e]: _c,
708
- },
709
- [_M],
710
- [0],
711
- ];
673
+ export var BillingViewHealthStatusException = [-3, n0, _BVHSE, { [_e]: _c }, [_M], [0]];
712
674
  TypeRegistry.for(n0).registerError(BillingViewHealthStatusException, __BillingViewHealthStatusException);
713
675
  export var CommitmentPurchaseAnalysisConfiguration = [
714
676
  3,
@@ -846,16 +808,7 @@ export var CurrentInstance = [
846
808
  [_RI, _IN, _Tag, _RD, _RU, _RCHILP, _SPCHILP, _ODHILP, _TRHILP, _MC, _CCu],
847
809
  [0, 0, () => TagValuesList, () => ResourceDetails, () => ResourceUtilization, 0, 0, 0, 0, 0, 0],
848
810
  ];
849
- export var DataUnavailableException = [
850
- -3,
851
- n0,
852
- _DUE,
853
- {
854
- [_e]: _c,
855
- },
856
- [_M],
857
- [0],
858
- ];
811
+ export var DataUnavailableException = [-3, n0, _DUE, { [_e]: _c }, [_M], [0]];
859
812
  TypeRegistry.for(n0).registerError(DataUnavailableException, __DataUnavailableException);
860
813
  export var DateInterval = [3, n0, _DI, 0, [_Sta, _E], [0, 0]];
861
814
  export var DeleteAnomalyMonitorRequest = [3, n0, _DAMR, 0, [_MA], [0]];
@@ -949,17 +902,7 @@ export var ForecastResult = [
949
902
  [_TP, _MV, _PILB, _PIUB],
950
903
  [() => DateInterval, 0, 0, 0],
951
904
  ];
952
- export var GenerationExistsException = [
953
- -3,
954
- n0,
955
- _GEE,
956
- {
957
- [_e]: _c,
958
- [_hE]: 400,
959
- },
960
- [_M],
961
- [0],
962
- ];
905
+ export var GenerationExistsException = [-3, n0, _GEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
963
906
  TypeRegistry.for(n0).registerError(GenerationExistsException, __GenerationExistsException);
964
907
  export var GenerationSummary = [3, n0, _GS, 0, [_RIe, _GSe, _GST, _GCT, _ECT], [0, 0, 0, 0, 0]];
965
908
  export var GetAnomaliesRequest = [
@@ -1326,27 +1269,9 @@ export var InstanceDetails = [
1326
1269
  () => MemoryDBInstanceDetails,
1327
1270
  ],
1328
1271
  ];
1329
- export var InvalidNextTokenException = [
1330
- -3,
1331
- n0,
1332
- _INTE,
1333
- {
1334
- [_e]: _c,
1335
- },
1336
- [_M],
1337
- [0],
1338
- ];
1272
+ export var InvalidNextTokenException = [-3, n0, _INTE, { [_e]: _c }, [_M], [0]];
1339
1273
  TypeRegistry.for(n0).registerError(InvalidNextTokenException, __InvalidNextTokenException);
1340
- export var LimitExceededException = [
1341
- -3,
1342
- n0,
1343
- _LEE,
1344
- {
1345
- [_e]: _c,
1346
- },
1347
- [_M],
1348
- [0],
1349
- ];
1274
+ export var LimitExceededException = [-3, n0, _LEE, { [_e]: _c }, [_M], [0]];
1350
1275
  TypeRegistry.for(n0).registerError(LimitExceededException, __LimitExceededException);
1351
1276
  export var ListCommitmentPurchaseAnalysesRequest = [
1352
1277
  3,
@@ -1505,16 +1430,7 @@ export var RedshiftInstanceDetails = [
1505
1430
  [_Fa, _NT, _Re, _CG, _SFE],
1506
1431
  [0, 0, 0, 2, 2],
1507
1432
  ];
1508
- export var RequestChangedException = [
1509
- -3,
1510
- n0,
1511
- _RCE,
1512
- {
1513
- [_e]: _c,
1514
- },
1515
- [_M],
1516
- [0],
1517
- ];
1433
+ export var RequestChangedException = [-3, n0, _RCE, { [_e]: _c }, [_M], [0]];
1518
1434
  TypeRegistry.for(n0).registerError(RequestChangedException, __RequestChangedException);
1519
1435
  export var ReservationAggregates = [
1520
1436
  3,
@@ -1625,17 +1541,7 @@ export var ReservationUtilizationGroup = [
1625
1541
  ];
1626
1542
  export var ReservedCapacityDetails = [3, n0, _RCD, 0, [_DDBCD], [() => DynamoDBCapacityDetails]];
1627
1543
  export var ResourceDetails = [3, n0, _RD, 0, [_ECRD], [() => EC2ResourceDetails]];
1628
- export var ResourceNotFoundException = [
1629
- -3,
1630
- n0,
1631
- _RNFE,
1632
- {
1633
- [_e]: _c,
1634
- [_hE]: 404,
1635
- },
1636
- [_M, _RN],
1637
- [0, 0],
1638
- ];
1544
+ export var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M, _RN], [0, 0]];
1639
1545
  TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
1640
1546
  export var ResourceTag = [3, n0, _RTe, 0, [_K, _Va], [0, 0]];
1641
1547
  export var ResourceUtilization = [3, n0, _RU, 0, [_ECRU], [() => EC2ResourceUtilization]];
@@ -1815,17 +1721,7 @@ export var SavingsPlansUtilizationDetail = [
1815
1721
  [_SPA, _At, _Ut, _Sa, _AC],
1816
1722
  [0, 128 | 0, () => SavingsPlansUtilization, () => SavingsPlansSavings, () => SavingsPlansAmortizedCommitment],
1817
1723
  ];
1818
- export var ServiceQuotaExceededException = [
1819
- -3,
1820
- n0,
1821
- _SQEE,
1822
- {
1823
- [_e]: _c,
1824
- [_hE]: 402,
1825
- },
1826
- [_M],
1827
- [0],
1828
- ];
1724
+ export var ServiceQuotaExceededException = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_M], [0]];
1829
1725
  TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
1830
1726
  export var ServiceSpecification = [3, n0, _SSe, 0, [_ECS], [() => EC2Specification]];
1831
1727
  export var SortDefinition = [3, n0, _SDo, 0, [_K, _SO], [0, 0]];
@@ -1883,53 +1779,14 @@ export var TargetInstance = [
1883
1779
  [0, 0, 0, 2, () => ResourceDetails, () => ResourceUtilization, 64 | 0],
1884
1780
  ];
1885
1781
  export var TerminateRecommendationDetail = [3, n0, _TRD, 0, [_EMS, _CCu], [0, 0]];
1886
- export var TooManyTagsException = [
1887
- -3,
1888
- n0,
1889
- _TMTE,
1890
- {
1891
- [_e]: _c,
1892
- [_hE]: 400,
1893
- },
1894
- [_M, _RN],
1895
- [0, 0],
1896
- ];
1782
+ export var TooManyTagsException = [-3, n0, _TMTE, { [_e]: _c, [_hE]: 400 }, [_M, _RN], [0, 0]];
1897
1783
  TypeRegistry.for(n0).registerError(TooManyTagsException, __TooManyTagsException);
1898
1784
  export var TotalImpactFilter = [3, n0, _TIF, 0, [_NO, _SV, _EV], [0, 1, 1]];
1899
- export var UnknownMonitorException = [
1900
- -3,
1901
- n0,
1902
- _UME,
1903
- {
1904
- [_e]: _c,
1905
- [_hE]: 404,
1906
- },
1907
- [_M],
1908
- [0],
1909
- ];
1785
+ export var UnknownMonitorException = [-3, n0, _UME, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
1910
1786
  TypeRegistry.for(n0).registerError(UnknownMonitorException, __UnknownMonitorException);
1911
- export var UnknownSubscriptionException = [
1912
- -3,
1913
- n0,
1914
- _USE,
1915
- {
1916
- [_e]: _c,
1917
- [_hE]: 404,
1918
- },
1919
- [_M],
1920
- [0],
1921
- ];
1787
+ export var UnknownSubscriptionException = [-3, n0, _USE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
1922
1788
  TypeRegistry.for(n0).registerError(UnknownSubscriptionException, __UnknownSubscriptionException);
1923
- export var UnresolvableUsageUnitException = [
1924
- -3,
1925
- n0,
1926
- _UUUE,
1927
- {
1928
- [_e]: _c,
1929
- },
1930
- [_M],
1931
- [0],
1932
- ];
1789
+ export var UnresolvableUsageUnitException = [-3, n0, _UUUE, { [_e]: _c }, [_M], [0]];
1933
1790
  TypeRegistry.for(n0).registerError(UnresolvableUsageUnitException, __UnresolvableUsageUnitException);
1934
1791
  export var UntagResourceRequest = [3, n0, _URR, 0, [_RAe, _RTK], [0, 64 | 0]];
1935
1792
  export var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
@@ -1,4 +1,4 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { CreateAnomalyMonitorCommandInput, CreateAnomalyMonitorCommandOutput } from "./commands/CreateAnomalyMonitorCommand";
3
3
  import { CreateAnomalySubscriptionCommandInput, CreateAnomalySubscriptionCommandOutput } from "./commands/CreateAnomalySubscriptionCommand";
4
4
  import { CreateCostCategoryDefinitionCommandInput, CreateCostCategoryDefinitionCommandOutput } from "./commands/CreateCostCategoryDefinitionCommand";
@@ -1,12 +1,12 @@
1
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
- import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
4
- import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
- import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
- import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
- import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
- import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
1
+ import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
+ import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
4
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
+ import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
+ import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { CreateAnomalyMonitorCommandInput, CreateAnomalyMonitorCommandOutput } from "./commands/CreateAnomalyMonitorCommand";
11
11
  import { CreateAnomalySubscriptionCommandInput, CreateAnomalySubscriptionCommandOutput } from "./commands/CreateAnomalySubscriptionCommand";
12
12
  import { CreateCostCategoryDefinitionCommandInput, CreateCostCategoryDefinitionCommandOutput } from "./commands/CreateCostCategoryDefinitionCommand";
@@ -54,7 +54,7 @@ import { UpdateAnomalySubscriptionCommandInput, UpdateAnomalySubscriptionCommand
54
54
  import { UpdateCostAllocationTagsStatusCommandInput, UpdateCostAllocationTagsStatusCommandOutput } from "./commands/UpdateCostAllocationTagsStatusCommand";
55
55
  import { UpdateCostCategoryDefinitionCommandInput, UpdateCostCategoryDefinitionCommandOutput } from "./commands/UpdateCostCategoryDefinitionCommand";
56
56
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
57
- import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
57
+ import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
58
58
  export { __Client };
59
59
  /**
60
60
  * @public
@@ -1,5 +1,5 @@
1
- import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
- import { CostExplorerHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
1
+ import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
2
+ import type { CostExplorerHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,6 +1,6 @@
1
1
  import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
- import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
- import { CostExplorerClientResolvedConfig } from "../CostExplorerClient";
2
+ import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
+ import { type CostExplorerClientResolvedConfig } from "../CostExplorerClient";
4
4
  /**
5
5
  * @internal
6
6
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
4
- import { CreateAnomalyMonitorRequest, CreateAnomalyMonitorResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
4
+ import type { CreateAnomalyMonitorRequest, CreateAnomalyMonitorResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
4
- import { CreateAnomalySubscriptionRequest, CreateAnomalySubscriptionResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
4
+ import type { CreateAnomalySubscriptionRequest, CreateAnomalySubscriptionResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
4
- import { CreateCostCategoryDefinitionRequest, CreateCostCategoryDefinitionResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
4
+ import type { CreateCostCategoryDefinitionRequest, CreateCostCategoryDefinitionResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */