@aws-sdk/client-cost-explorer 3.489.0 → 3.495.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/dist-cjs/CostExplorer.js +1 -87
- package/dist-cjs/CostExplorerClient.js +1 -43
- package/dist-cjs/commands/CreateAnomalyMonitorCommand.js +1 -28
- package/dist-cjs/commands/CreateAnomalySubscriptionCommand.js +1 -28
- package/dist-cjs/commands/CreateCostCategoryDefinitionCommand.js +1 -28
- package/dist-cjs/commands/DeleteAnomalyMonitorCommand.js +1 -28
- package/dist-cjs/commands/DeleteAnomalySubscriptionCommand.js +1 -28
- package/dist-cjs/commands/DeleteCostCategoryDefinitionCommand.js +1 -28
- package/dist-cjs/commands/DescribeCostCategoryDefinitionCommand.js +1 -28
- package/dist-cjs/commands/GetAnomaliesCommand.js +1 -28
- package/dist-cjs/commands/GetAnomalyMonitorsCommand.js +1 -28
- package/dist-cjs/commands/GetAnomalySubscriptionsCommand.js +1 -28
- package/dist-cjs/commands/GetCostAndUsageCommand.js +1 -28
- package/dist-cjs/commands/GetCostAndUsageWithResourcesCommand.js +1 -28
- package/dist-cjs/commands/GetCostCategoriesCommand.js +1 -28
- package/dist-cjs/commands/GetCostForecastCommand.js +1 -28
- package/dist-cjs/commands/GetDimensionValuesCommand.js +1 -28
- package/dist-cjs/commands/GetReservationCoverageCommand.js +1 -28
- package/dist-cjs/commands/GetReservationPurchaseRecommendationCommand.js +1 -28
- package/dist-cjs/commands/GetReservationUtilizationCommand.js +1 -28
- package/dist-cjs/commands/GetRightsizingRecommendationCommand.js +1 -28
- package/dist-cjs/commands/GetSavingsPlanPurchaseRecommendationDetailsCommand.js +1 -28
- package/dist-cjs/commands/GetSavingsPlansCoverageCommand.js +1 -28
- package/dist-cjs/commands/GetSavingsPlansPurchaseRecommendationCommand.js +1 -28
- package/dist-cjs/commands/GetSavingsPlansUtilizationCommand.js +1 -28
- package/dist-cjs/commands/GetSavingsPlansUtilizationDetailsCommand.js +1 -28
- package/dist-cjs/commands/GetTagsCommand.js +1 -28
- package/dist-cjs/commands/GetUsageForecastCommand.js +1 -28
- package/dist-cjs/commands/ListCostAllocationTagsCommand.js +1 -28
- package/dist-cjs/commands/ListCostCategoryDefinitionsCommand.js +1 -28
- package/dist-cjs/commands/ListSavingsPlansPurchaseRecommendationGenerationCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/ProvideAnomalyFeedbackCommand.js +1 -28
- package/dist-cjs/commands/StartSavingsPlansPurchaseRecommendationGenerationCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateAnomalyMonitorCommand.js +1 -28
- package/dist-cjs/commands/UpdateAnomalySubscriptionCommand.js +1 -28
- package/dist-cjs/commands/UpdateCostAllocationTagsStatusCommand.js +1 -28
- package/dist-cjs/commands/UpdateCostCategoryDefinitionCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -41
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +3695 -11
- package/dist-cjs/models/CostExplorerServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -389
- package/dist-cjs/pagination/GetSavingsPlansCoveragePaginator.js +1 -7
- package/dist-cjs/pagination/GetSavingsPlansUtilizationDetailsPaginator.js +1 -7
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListCostAllocationTagsPaginator.js +1 -7
- package/dist-cjs/pagination/ListCostCategoryDefinitionsPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -8
- package/dist-cjs/protocols/Aws_json1_1.js +1 -2322
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,3696 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
AccountScope: () => AccountScope,
|
|
25
|
+
AnomalyFeedbackType: () => AnomalyFeedbackType,
|
|
26
|
+
AnomalySubscriptionFrequency: () => AnomalySubscriptionFrequency,
|
|
27
|
+
BillExpirationException: () => BillExpirationException,
|
|
28
|
+
Context: () => Context,
|
|
29
|
+
CostAllocationTagStatus: () => CostAllocationTagStatus,
|
|
30
|
+
CostAllocationTagType: () => CostAllocationTagType,
|
|
31
|
+
CostCategoryInheritedValueDimensionName: () => CostCategoryInheritedValueDimensionName,
|
|
32
|
+
CostCategoryRuleType: () => CostCategoryRuleType,
|
|
33
|
+
CostCategoryRuleVersion: () => CostCategoryRuleVersion,
|
|
34
|
+
CostCategorySplitChargeMethod: () => CostCategorySplitChargeMethod,
|
|
35
|
+
CostCategorySplitChargeRuleParameterType: () => CostCategorySplitChargeRuleParameterType,
|
|
36
|
+
CostCategoryStatus: () => CostCategoryStatus,
|
|
37
|
+
CostCategoryStatusComponent: () => CostCategoryStatusComponent,
|
|
38
|
+
CostExplorer: () => CostExplorer,
|
|
39
|
+
CostExplorerClient: () => CostExplorerClient,
|
|
40
|
+
CostExplorerServiceException: () => CostExplorerServiceException,
|
|
41
|
+
CreateAnomalyMonitorCommand: () => CreateAnomalyMonitorCommand,
|
|
42
|
+
CreateAnomalySubscriptionCommand: () => CreateAnomalySubscriptionCommand,
|
|
43
|
+
CreateCostCategoryDefinitionCommand: () => CreateCostCategoryDefinitionCommand,
|
|
44
|
+
DataUnavailableException: () => DataUnavailableException,
|
|
45
|
+
DeleteAnomalyMonitorCommand: () => DeleteAnomalyMonitorCommand,
|
|
46
|
+
DeleteAnomalySubscriptionCommand: () => DeleteAnomalySubscriptionCommand,
|
|
47
|
+
DeleteCostCategoryDefinitionCommand: () => DeleteCostCategoryDefinitionCommand,
|
|
48
|
+
DescribeCostCategoryDefinitionCommand: () => DescribeCostCategoryDefinitionCommand,
|
|
49
|
+
Dimension: () => Dimension,
|
|
50
|
+
FindingReasonCode: () => FindingReasonCode,
|
|
51
|
+
GenerationExistsException: () => GenerationExistsException,
|
|
52
|
+
GenerationStatus: () => GenerationStatus,
|
|
53
|
+
GetAnomaliesCommand: () => GetAnomaliesCommand,
|
|
54
|
+
GetAnomalyMonitorsCommand: () => GetAnomalyMonitorsCommand,
|
|
55
|
+
GetAnomalySubscriptionsCommand: () => GetAnomalySubscriptionsCommand,
|
|
56
|
+
GetCostAndUsageCommand: () => GetCostAndUsageCommand,
|
|
57
|
+
GetCostAndUsageWithResourcesCommand: () => GetCostAndUsageWithResourcesCommand,
|
|
58
|
+
GetCostCategoriesCommand: () => GetCostCategoriesCommand,
|
|
59
|
+
GetCostForecastCommand: () => GetCostForecastCommand,
|
|
60
|
+
GetDimensionValuesCommand: () => GetDimensionValuesCommand,
|
|
61
|
+
GetReservationCoverageCommand: () => GetReservationCoverageCommand,
|
|
62
|
+
GetReservationPurchaseRecommendationCommand: () => GetReservationPurchaseRecommendationCommand,
|
|
63
|
+
GetReservationUtilizationCommand: () => GetReservationUtilizationCommand,
|
|
64
|
+
GetRightsizingRecommendationCommand: () => GetRightsizingRecommendationCommand,
|
|
65
|
+
GetSavingsPlanPurchaseRecommendationDetailsCommand: () => GetSavingsPlanPurchaseRecommendationDetailsCommand,
|
|
66
|
+
GetSavingsPlansCoverageCommand: () => GetSavingsPlansCoverageCommand,
|
|
67
|
+
GetSavingsPlansPurchaseRecommendationCommand: () => GetSavingsPlansPurchaseRecommendationCommand,
|
|
68
|
+
GetSavingsPlansUtilizationCommand: () => GetSavingsPlansUtilizationCommand,
|
|
69
|
+
GetSavingsPlansUtilizationDetailsCommand: () => GetSavingsPlansUtilizationDetailsCommand,
|
|
70
|
+
GetTagsCommand: () => GetTagsCommand,
|
|
71
|
+
GetUsageForecastCommand: () => GetUsageForecastCommand,
|
|
72
|
+
Granularity: () => Granularity,
|
|
73
|
+
GroupDefinitionType: () => GroupDefinitionType,
|
|
74
|
+
InvalidNextTokenException: () => InvalidNextTokenException,
|
|
75
|
+
LimitExceededException: () => LimitExceededException,
|
|
76
|
+
ListCostAllocationTagsCommand: () => ListCostAllocationTagsCommand,
|
|
77
|
+
ListCostCategoryDefinitionsCommand: () => ListCostCategoryDefinitionsCommand,
|
|
78
|
+
ListSavingsPlansPurchaseRecommendationGenerationCommand: () => ListSavingsPlansPurchaseRecommendationGenerationCommand,
|
|
79
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
80
|
+
LookbackPeriodInDays: () => LookbackPeriodInDays,
|
|
81
|
+
MatchOption: () => MatchOption,
|
|
82
|
+
Metric: () => Metric,
|
|
83
|
+
MonitorDimension: () => MonitorDimension,
|
|
84
|
+
MonitorType: () => MonitorType,
|
|
85
|
+
NumericOperator: () => NumericOperator,
|
|
86
|
+
OfferingClass: () => OfferingClass,
|
|
87
|
+
PaymentOption: () => PaymentOption,
|
|
88
|
+
PlatformDifference: () => PlatformDifference,
|
|
89
|
+
ProvideAnomalyFeedbackCommand: () => ProvideAnomalyFeedbackCommand,
|
|
90
|
+
RecommendationTarget: () => RecommendationTarget,
|
|
91
|
+
RequestChangedException: () => RequestChangedException,
|
|
92
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
93
|
+
RightsizingType: () => RightsizingType,
|
|
94
|
+
SavingsPlansDataType: () => SavingsPlansDataType,
|
|
95
|
+
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
96
|
+
SortOrder: () => SortOrder,
|
|
97
|
+
StartSavingsPlansPurchaseRecommendationGenerationCommand: () => StartSavingsPlansPurchaseRecommendationGenerationCommand,
|
|
98
|
+
SubscriberStatus: () => SubscriberStatus,
|
|
99
|
+
SubscriberType: () => SubscriberType,
|
|
100
|
+
SupportedSavingsPlansType: () => SupportedSavingsPlansType,
|
|
101
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
102
|
+
TermInYears: () => TermInYears,
|
|
103
|
+
TooManyTagsException: () => TooManyTagsException,
|
|
104
|
+
UnknownMonitorException: () => UnknownMonitorException,
|
|
105
|
+
UnknownSubscriptionException: () => UnknownSubscriptionException,
|
|
106
|
+
UnresolvableUsageUnitException: () => UnresolvableUsageUnitException,
|
|
107
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
108
|
+
UpdateAnomalyMonitorCommand: () => UpdateAnomalyMonitorCommand,
|
|
109
|
+
UpdateAnomalySubscriptionCommand: () => UpdateAnomalySubscriptionCommand,
|
|
110
|
+
UpdateCostAllocationTagsStatusCommand: () => UpdateCostAllocationTagsStatusCommand,
|
|
111
|
+
UpdateCostCategoryDefinitionCommand: () => UpdateCostCategoryDefinitionCommand,
|
|
112
|
+
__Client: () => import_smithy_client.Client,
|
|
113
|
+
paginateGetSavingsPlansCoverage: () => paginateGetSavingsPlansCoverage,
|
|
114
|
+
paginateGetSavingsPlansUtilizationDetails: () => paginateGetSavingsPlansUtilizationDetails,
|
|
115
|
+
paginateListCostAllocationTags: () => paginateListCostAllocationTags,
|
|
116
|
+
paginateListCostCategoryDefinitions: () => paginateListCostCategoryDefinitions
|
|
117
|
+
});
|
|
118
|
+
module.exports = __toCommonJS(src_exports);
|
|
119
|
+
|
|
120
|
+
// src/CostExplorerClient.ts
|
|
121
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
122
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
123
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
124
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
125
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
126
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
127
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
128
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
129
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
// src/endpoint/EndpointParameters.ts
|
|
133
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
134
|
+
return {
|
|
135
|
+
...options,
|
|
136
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
137
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
138
|
+
defaultSigningName: "ce"
|
|
139
|
+
};
|
|
140
|
+
}, "resolveClientEndpointParameters");
|
|
141
|
+
var commonParams = {
|
|
142
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
143
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
144
|
+
Region: { type: "builtInParams", name: "region" },
|
|
145
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
// src/CostExplorerClient.ts
|
|
149
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
150
|
+
|
|
151
|
+
// src/runtimeExtensions.ts
|
|
152
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
153
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
154
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
155
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
156
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
157
|
+
const extensionConfiguration = {
|
|
158
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
159
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
160
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
161
|
+
};
|
|
162
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
163
|
+
return {
|
|
164
|
+
...runtimeConfig,
|
|
165
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
166
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
167
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
168
|
+
};
|
|
169
|
+
}, "resolveRuntimeExtensions");
|
|
170
|
+
|
|
171
|
+
// src/CostExplorerClient.ts
|
|
172
|
+
var _CostExplorerClient = class _CostExplorerClient extends import_smithy_client.Client {
|
|
173
|
+
constructor(...[configuration]) {
|
|
174
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
175
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
176
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
177
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
178
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
179
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
180
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
181
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
182
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
183
|
+
super(_config_8);
|
|
184
|
+
this.config = _config_8;
|
|
185
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
186
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
187
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
188
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
189
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
190
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
191
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
195
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
196
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
197
|
+
*/
|
|
198
|
+
destroy() {
|
|
199
|
+
super.destroy();
|
|
200
|
+
}
|
|
201
|
+
};
|
|
202
|
+
__name(_CostExplorerClient, "CostExplorerClient");
|
|
203
|
+
var CostExplorerClient = _CostExplorerClient;
|
|
204
|
+
|
|
205
|
+
// src/CostExplorer.ts
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
// src/commands/CreateAnomalyMonitorCommand.ts
|
|
209
|
+
|
|
210
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
211
|
+
|
|
212
|
+
var import_types = require("@smithy/types");
|
|
213
|
+
|
|
214
|
+
// src/protocols/Aws_json1_1.ts
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
// src/models/CostExplorerServiceException.ts
|
|
219
|
+
|
|
220
|
+
var _CostExplorerServiceException = class _CostExplorerServiceException extends import_smithy_client.ServiceException {
|
|
221
|
+
/**
|
|
222
|
+
* @internal
|
|
223
|
+
*/
|
|
224
|
+
constructor(options) {
|
|
225
|
+
super(options);
|
|
226
|
+
Object.setPrototypeOf(this, _CostExplorerServiceException.prototype);
|
|
227
|
+
}
|
|
228
|
+
};
|
|
229
|
+
__name(_CostExplorerServiceException, "CostExplorerServiceException");
|
|
230
|
+
var CostExplorerServiceException = _CostExplorerServiceException;
|
|
231
|
+
|
|
232
|
+
// src/models/models_0.ts
|
|
233
|
+
var AccountScope = {
|
|
234
|
+
LINKED: "LINKED",
|
|
235
|
+
PAYER: "PAYER"
|
|
236
|
+
};
|
|
237
|
+
var AnomalyFeedbackType = {
|
|
238
|
+
NO: "NO",
|
|
239
|
+
PLANNED_ACTIVITY: "PLANNED_ACTIVITY",
|
|
240
|
+
YES: "YES"
|
|
241
|
+
};
|
|
242
|
+
var MonitorDimension = {
|
|
243
|
+
SERVICE: "SERVICE"
|
|
244
|
+
};
|
|
245
|
+
var MatchOption = {
|
|
246
|
+
ABSENT: "ABSENT",
|
|
247
|
+
CASE_INSENSITIVE: "CASE_INSENSITIVE",
|
|
248
|
+
CASE_SENSITIVE: "CASE_SENSITIVE",
|
|
249
|
+
CONTAINS: "CONTAINS",
|
|
250
|
+
ENDS_WITH: "ENDS_WITH",
|
|
251
|
+
EQUALS: "EQUALS",
|
|
252
|
+
GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL",
|
|
253
|
+
STARTS_WITH: "STARTS_WITH"
|
|
254
|
+
};
|
|
255
|
+
var Dimension = {
|
|
256
|
+
AGREEMENT_END_DATE_TIME_AFTER: "AGREEMENT_END_DATE_TIME_AFTER",
|
|
257
|
+
AGREEMENT_END_DATE_TIME_BEFORE: "AGREEMENT_END_DATE_TIME_BEFORE",
|
|
258
|
+
ANOMALY_TOTAL_IMPACT_ABSOLUTE: "ANOMALY_TOTAL_IMPACT_ABSOLUTE",
|
|
259
|
+
ANOMALY_TOTAL_IMPACT_PERCENTAGE: "ANOMALY_TOTAL_IMPACT_PERCENTAGE",
|
|
260
|
+
AZ: "AZ",
|
|
261
|
+
BILLING_ENTITY: "BILLING_ENTITY",
|
|
262
|
+
CACHE_ENGINE: "CACHE_ENGINE",
|
|
263
|
+
DATABASE_ENGINE: "DATABASE_ENGINE",
|
|
264
|
+
DEPLOYMENT_OPTION: "DEPLOYMENT_OPTION",
|
|
265
|
+
INSTANCE_TYPE: "INSTANCE_TYPE",
|
|
266
|
+
INSTANCE_TYPE_FAMILY: "INSTANCE_TYPE_FAMILY",
|
|
267
|
+
INVOICING_ENTITY: "INVOICING_ENTITY",
|
|
268
|
+
LEGAL_ENTITY_NAME: "LEGAL_ENTITY_NAME",
|
|
269
|
+
LINKED_ACCOUNT: "LINKED_ACCOUNT",
|
|
270
|
+
LINKED_ACCOUNT_NAME: "LINKED_ACCOUNT_NAME",
|
|
271
|
+
OPERATING_SYSTEM: "OPERATING_SYSTEM",
|
|
272
|
+
OPERATION: "OPERATION",
|
|
273
|
+
PAYMENT_OPTION: "PAYMENT_OPTION",
|
|
274
|
+
PLATFORM: "PLATFORM",
|
|
275
|
+
PURCHASE_TYPE: "PURCHASE_TYPE",
|
|
276
|
+
RECORD_TYPE: "RECORD_TYPE",
|
|
277
|
+
REGION: "REGION",
|
|
278
|
+
RESERVATION_ID: "RESERVATION_ID",
|
|
279
|
+
RESOURCE_ID: "RESOURCE_ID",
|
|
280
|
+
RIGHTSIZING_TYPE: "RIGHTSIZING_TYPE",
|
|
281
|
+
SAVINGS_PLANS_TYPE: "SAVINGS_PLANS_TYPE",
|
|
282
|
+
SAVINGS_PLAN_ARN: "SAVINGS_PLAN_ARN",
|
|
283
|
+
SCOPE: "SCOPE",
|
|
284
|
+
SERVICE: "SERVICE",
|
|
285
|
+
SERVICE_CODE: "SERVICE_CODE",
|
|
286
|
+
SUBSCRIPTION_ID: "SUBSCRIPTION_ID",
|
|
287
|
+
TENANCY: "TENANCY",
|
|
288
|
+
USAGE_TYPE: "USAGE_TYPE",
|
|
289
|
+
USAGE_TYPE_GROUP: "USAGE_TYPE_GROUP"
|
|
290
|
+
};
|
|
291
|
+
var MonitorType = {
|
|
292
|
+
CUSTOM: "CUSTOM",
|
|
293
|
+
DIMENSIONAL: "DIMENSIONAL"
|
|
294
|
+
};
|
|
295
|
+
var AnomalySubscriptionFrequency = {
|
|
296
|
+
DAILY: "DAILY",
|
|
297
|
+
IMMEDIATE: "IMMEDIATE",
|
|
298
|
+
WEEKLY: "WEEKLY"
|
|
299
|
+
};
|
|
300
|
+
var SubscriberStatus = {
|
|
301
|
+
CONFIRMED: "CONFIRMED",
|
|
302
|
+
DECLINED: "DECLINED"
|
|
303
|
+
};
|
|
304
|
+
var SubscriberType = {
|
|
305
|
+
EMAIL: "EMAIL",
|
|
306
|
+
SNS: "SNS"
|
|
307
|
+
};
|
|
308
|
+
var _LimitExceededException = class _LimitExceededException extends CostExplorerServiceException {
|
|
309
|
+
/**
|
|
310
|
+
* @internal
|
|
311
|
+
*/
|
|
312
|
+
constructor(opts) {
|
|
313
|
+
super({
|
|
314
|
+
name: "LimitExceededException",
|
|
315
|
+
$fault: "client",
|
|
316
|
+
...opts
|
|
317
|
+
});
|
|
318
|
+
this.name = "LimitExceededException";
|
|
319
|
+
this.$fault = "client";
|
|
320
|
+
Object.setPrototypeOf(this, _LimitExceededException.prototype);
|
|
321
|
+
this.Message = opts.Message;
|
|
322
|
+
}
|
|
323
|
+
};
|
|
324
|
+
__name(_LimitExceededException, "LimitExceededException");
|
|
325
|
+
var LimitExceededException = _LimitExceededException;
|
|
326
|
+
var _UnknownMonitorException = class _UnknownMonitorException extends CostExplorerServiceException {
|
|
327
|
+
/**
|
|
328
|
+
* @internal
|
|
329
|
+
*/
|
|
330
|
+
constructor(opts) {
|
|
331
|
+
super({
|
|
332
|
+
name: "UnknownMonitorException",
|
|
333
|
+
$fault: "client",
|
|
334
|
+
...opts
|
|
335
|
+
});
|
|
336
|
+
this.name = "UnknownMonitorException";
|
|
337
|
+
this.$fault = "client";
|
|
338
|
+
Object.setPrototypeOf(this, _UnknownMonitorException.prototype);
|
|
339
|
+
this.Message = opts.Message;
|
|
340
|
+
}
|
|
341
|
+
};
|
|
342
|
+
__name(_UnknownMonitorException, "UnknownMonitorException");
|
|
343
|
+
var UnknownMonitorException = _UnknownMonitorException;
|
|
344
|
+
var CostCategoryInheritedValueDimensionName = {
|
|
345
|
+
LINKED_ACCOUNT_NAME: "LINKED_ACCOUNT_NAME",
|
|
346
|
+
TAG: "TAG"
|
|
347
|
+
};
|
|
348
|
+
var CostCategoryRuleType = {
|
|
349
|
+
INHERITED_VALUE: "INHERITED_VALUE",
|
|
350
|
+
REGULAR: "REGULAR"
|
|
351
|
+
};
|
|
352
|
+
var CostCategoryRuleVersion = {
|
|
353
|
+
CostCategoryExpressionV1: "CostCategoryExpression.v1"
|
|
354
|
+
};
|
|
355
|
+
var CostCategorySplitChargeMethod = {
|
|
356
|
+
EVEN: "EVEN",
|
|
357
|
+
FIXED: "FIXED",
|
|
358
|
+
PROPORTIONAL: "PROPORTIONAL"
|
|
359
|
+
};
|
|
360
|
+
var CostCategorySplitChargeRuleParameterType = {
|
|
361
|
+
ALLOCATION_PERCENTAGES: "ALLOCATION_PERCENTAGES"
|
|
362
|
+
};
|
|
363
|
+
var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends CostExplorerServiceException {
|
|
364
|
+
/**
|
|
365
|
+
* @internal
|
|
366
|
+
*/
|
|
367
|
+
constructor(opts) {
|
|
368
|
+
super({
|
|
369
|
+
name: "ServiceQuotaExceededException",
|
|
370
|
+
$fault: "client",
|
|
371
|
+
...opts
|
|
372
|
+
});
|
|
373
|
+
this.name = "ServiceQuotaExceededException";
|
|
374
|
+
this.$fault = "client";
|
|
375
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
376
|
+
this.Message = opts.Message;
|
|
377
|
+
}
|
|
378
|
+
};
|
|
379
|
+
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
|
|
380
|
+
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
|
|
381
|
+
var _UnknownSubscriptionException = class _UnknownSubscriptionException extends CostExplorerServiceException {
|
|
382
|
+
/**
|
|
383
|
+
* @internal
|
|
384
|
+
*/
|
|
385
|
+
constructor(opts) {
|
|
386
|
+
super({
|
|
387
|
+
name: "UnknownSubscriptionException",
|
|
388
|
+
$fault: "client",
|
|
389
|
+
...opts
|
|
390
|
+
});
|
|
391
|
+
this.name = "UnknownSubscriptionException";
|
|
392
|
+
this.$fault = "client";
|
|
393
|
+
Object.setPrototypeOf(this, _UnknownSubscriptionException.prototype);
|
|
394
|
+
this.Message = opts.Message;
|
|
395
|
+
}
|
|
396
|
+
};
|
|
397
|
+
__name(_UnknownSubscriptionException, "UnknownSubscriptionException");
|
|
398
|
+
var UnknownSubscriptionException = _UnknownSubscriptionException;
|
|
399
|
+
var _ResourceNotFoundException = class _ResourceNotFoundException extends CostExplorerServiceException {
|
|
400
|
+
/**
|
|
401
|
+
* @internal
|
|
402
|
+
*/
|
|
403
|
+
constructor(opts) {
|
|
404
|
+
super({
|
|
405
|
+
name: "ResourceNotFoundException",
|
|
406
|
+
$fault: "client",
|
|
407
|
+
...opts
|
|
408
|
+
});
|
|
409
|
+
this.name = "ResourceNotFoundException";
|
|
410
|
+
this.$fault = "client";
|
|
411
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
412
|
+
this.Message = opts.Message;
|
|
413
|
+
this.ResourceName = opts.ResourceName;
|
|
414
|
+
}
|
|
415
|
+
};
|
|
416
|
+
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
417
|
+
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
418
|
+
var CostCategoryStatusComponent = {
|
|
419
|
+
COST_EXPLORER: "COST_EXPLORER"
|
|
420
|
+
};
|
|
421
|
+
var CostCategoryStatus = {
|
|
422
|
+
APPLIED: "APPLIED",
|
|
423
|
+
PROCESSING: "PROCESSING"
|
|
424
|
+
};
|
|
425
|
+
var NumericOperator = {
|
|
426
|
+
BETWEEN: "BETWEEN",
|
|
427
|
+
EQUAL: "EQUAL",
|
|
428
|
+
GREATER_THAN: "GREATER_THAN",
|
|
429
|
+
GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL",
|
|
430
|
+
LESS_THAN: "LESS_THAN",
|
|
431
|
+
LESS_THAN_OR_EQUAL: "LESS_THAN_OR_EQUAL"
|
|
432
|
+
};
|
|
433
|
+
var _InvalidNextTokenException = class _InvalidNextTokenException extends CostExplorerServiceException {
|
|
434
|
+
/**
|
|
435
|
+
* @internal
|
|
436
|
+
*/
|
|
437
|
+
constructor(opts) {
|
|
438
|
+
super({
|
|
439
|
+
name: "InvalidNextTokenException",
|
|
440
|
+
$fault: "client",
|
|
441
|
+
...opts
|
|
442
|
+
});
|
|
443
|
+
this.name = "InvalidNextTokenException";
|
|
444
|
+
this.$fault = "client";
|
|
445
|
+
Object.setPrototypeOf(this, _InvalidNextTokenException.prototype);
|
|
446
|
+
this.Message = opts.Message;
|
|
447
|
+
}
|
|
448
|
+
};
|
|
449
|
+
__name(_InvalidNextTokenException, "InvalidNextTokenException");
|
|
450
|
+
var InvalidNextTokenException = _InvalidNextTokenException;
|
|
451
|
+
var _BillExpirationException = class _BillExpirationException extends CostExplorerServiceException {
|
|
452
|
+
/**
|
|
453
|
+
* @internal
|
|
454
|
+
*/
|
|
455
|
+
constructor(opts) {
|
|
456
|
+
super({
|
|
457
|
+
name: "BillExpirationException",
|
|
458
|
+
$fault: "client",
|
|
459
|
+
...opts
|
|
460
|
+
});
|
|
461
|
+
this.name = "BillExpirationException";
|
|
462
|
+
this.$fault = "client";
|
|
463
|
+
Object.setPrototypeOf(this, _BillExpirationException.prototype);
|
|
464
|
+
this.Message = opts.Message;
|
|
465
|
+
}
|
|
466
|
+
};
|
|
467
|
+
__name(_BillExpirationException, "BillExpirationException");
|
|
468
|
+
var BillExpirationException = _BillExpirationException;
|
|
469
|
+
var _DataUnavailableException = class _DataUnavailableException extends CostExplorerServiceException {
|
|
470
|
+
/**
|
|
471
|
+
* @internal
|
|
472
|
+
*/
|
|
473
|
+
constructor(opts) {
|
|
474
|
+
super({
|
|
475
|
+
name: "DataUnavailableException",
|
|
476
|
+
$fault: "client",
|
|
477
|
+
...opts
|
|
478
|
+
});
|
|
479
|
+
this.name = "DataUnavailableException";
|
|
480
|
+
this.$fault = "client";
|
|
481
|
+
Object.setPrototypeOf(this, _DataUnavailableException.prototype);
|
|
482
|
+
this.Message = opts.Message;
|
|
483
|
+
}
|
|
484
|
+
};
|
|
485
|
+
__name(_DataUnavailableException, "DataUnavailableException");
|
|
486
|
+
var DataUnavailableException = _DataUnavailableException;
|
|
487
|
+
var Granularity = {
|
|
488
|
+
DAILY: "DAILY",
|
|
489
|
+
HOURLY: "HOURLY",
|
|
490
|
+
MONTHLY: "MONTHLY"
|
|
491
|
+
};
|
|
492
|
+
var GroupDefinitionType = {
|
|
493
|
+
COST_CATEGORY: "COST_CATEGORY",
|
|
494
|
+
DIMENSION: "DIMENSION",
|
|
495
|
+
TAG: "TAG"
|
|
496
|
+
};
|
|
497
|
+
var _RequestChangedException = class _RequestChangedException extends CostExplorerServiceException {
|
|
498
|
+
/**
|
|
499
|
+
* @internal
|
|
500
|
+
*/
|
|
501
|
+
constructor(opts) {
|
|
502
|
+
super({
|
|
503
|
+
name: "RequestChangedException",
|
|
504
|
+
$fault: "client",
|
|
505
|
+
...opts
|
|
506
|
+
});
|
|
507
|
+
this.name = "RequestChangedException";
|
|
508
|
+
this.$fault = "client";
|
|
509
|
+
Object.setPrototypeOf(this, _RequestChangedException.prototype);
|
|
510
|
+
this.Message = opts.Message;
|
|
511
|
+
}
|
|
512
|
+
};
|
|
513
|
+
__name(_RequestChangedException, "RequestChangedException");
|
|
514
|
+
var RequestChangedException = _RequestChangedException;
|
|
515
|
+
var SortOrder = {
|
|
516
|
+
ASCENDING: "ASCENDING",
|
|
517
|
+
DESCENDING: "DESCENDING"
|
|
518
|
+
};
|
|
519
|
+
var Metric = {
|
|
520
|
+
AMORTIZED_COST: "AMORTIZED_COST",
|
|
521
|
+
BLENDED_COST: "BLENDED_COST",
|
|
522
|
+
NET_AMORTIZED_COST: "NET_AMORTIZED_COST",
|
|
523
|
+
NET_UNBLENDED_COST: "NET_UNBLENDED_COST",
|
|
524
|
+
NORMALIZED_USAGE_AMOUNT: "NORMALIZED_USAGE_AMOUNT",
|
|
525
|
+
UNBLENDED_COST: "UNBLENDED_COST",
|
|
526
|
+
USAGE_QUANTITY: "USAGE_QUANTITY"
|
|
527
|
+
};
|
|
528
|
+
var Context = {
|
|
529
|
+
COST_AND_USAGE: "COST_AND_USAGE",
|
|
530
|
+
RESERVATIONS: "RESERVATIONS",
|
|
531
|
+
SAVINGS_PLANS: "SAVINGS_PLANS"
|
|
532
|
+
};
|
|
533
|
+
var LookbackPeriodInDays = {
|
|
534
|
+
SEVEN_DAYS: "SEVEN_DAYS",
|
|
535
|
+
SIXTY_DAYS: "SIXTY_DAYS",
|
|
536
|
+
THIRTY_DAYS: "THIRTY_DAYS"
|
|
537
|
+
};
|
|
538
|
+
var PaymentOption = {
|
|
539
|
+
ALL_UPFRONT: "ALL_UPFRONT",
|
|
540
|
+
HEAVY_UTILIZATION: "HEAVY_UTILIZATION",
|
|
541
|
+
LIGHT_UTILIZATION: "LIGHT_UTILIZATION",
|
|
542
|
+
MEDIUM_UTILIZATION: "MEDIUM_UTILIZATION",
|
|
543
|
+
NO_UPFRONT: "NO_UPFRONT",
|
|
544
|
+
PARTIAL_UPFRONT: "PARTIAL_UPFRONT"
|
|
545
|
+
};
|
|
546
|
+
var OfferingClass = {
|
|
547
|
+
CONVERTIBLE: "CONVERTIBLE",
|
|
548
|
+
STANDARD: "STANDARD"
|
|
549
|
+
};
|
|
550
|
+
var TermInYears = {
|
|
551
|
+
ONE_YEAR: "ONE_YEAR",
|
|
552
|
+
THREE_YEARS: "THREE_YEARS"
|
|
553
|
+
};
|
|
554
|
+
var RecommendationTarget = {
|
|
555
|
+
CROSS_INSTANCE_FAMILY: "CROSS_INSTANCE_FAMILY",
|
|
556
|
+
SAME_INSTANCE_FAMILY: "SAME_INSTANCE_FAMILY"
|
|
557
|
+
};
|
|
558
|
+
var FindingReasonCode = {
|
|
559
|
+
CPU_OVER_PROVISIONED: "CPU_OVER_PROVISIONED",
|
|
560
|
+
CPU_UNDER_PROVISIONED: "CPU_UNDER_PROVISIONED",
|
|
561
|
+
DISK_IOPS_OVER_PROVISIONED: "DISK_IOPS_OVER_PROVISIONED",
|
|
562
|
+
DISK_IOPS_UNDER_PROVISIONED: "DISK_IOPS_UNDER_PROVISIONED",
|
|
563
|
+
DISK_THROUGHPUT_OVER_PROVISIONED: "DISK_THROUGHPUT_OVER_PROVISIONED",
|
|
564
|
+
DISK_THROUGHPUT_UNDER_PROVISIONED: "DISK_THROUGHPUT_UNDER_PROVISIONED",
|
|
565
|
+
EBS_IOPS_OVER_PROVISIONED: "EBS_IOPS_OVER_PROVISIONED",
|
|
566
|
+
EBS_IOPS_UNDER_PROVISIONED: "EBS_IOPS_UNDER_PROVISIONED",
|
|
567
|
+
EBS_THROUGHPUT_OVER_PROVISIONED: "EBS_THROUGHPUT_OVER_PROVISIONED",
|
|
568
|
+
EBS_THROUGHPUT_UNDER_PROVISIONED: "EBS_THROUGHPUT_UNDER_PROVISIONED",
|
|
569
|
+
MEMORY_OVER_PROVISIONED: "MEMORY_OVER_PROVISIONED",
|
|
570
|
+
MEMORY_UNDER_PROVISIONED: "MEMORY_UNDER_PROVISIONED",
|
|
571
|
+
NETWORK_BANDWIDTH_OVER_PROVISIONED: "NETWORK_BANDWIDTH_OVER_PROVISIONED",
|
|
572
|
+
NETWORK_BANDWIDTH_UNDER_PROVISIONED: "NETWORK_BANDWIDTH_UNDER_PROVISIONED",
|
|
573
|
+
NETWORK_PPS_OVER_PROVISIONED: "NETWORK_PPS_OVER_PROVISIONED",
|
|
574
|
+
NETWORK_PPS_UNDER_PROVISIONED: "NETWORK_PPS_UNDER_PROVISIONED"
|
|
575
|
+
};
|
|
576
|
+
var PlatformDifference = {
|
|
577
|
+
HYPERVISOR: "HYPERVISOR",
|
|
578
|
+
INSTANCE_STORE_AVAILABILITY: "INSTANCE_STORE_AVAILABILITY",
|
|
579
|
+
NETWORK_INTERFACE: "NETWORK_INTERFACE",
|
|
580
|
+
STORAGE_INTERFACE: "STORAGE_INTERFACE",
|
|
581
|
+
VIRTUALIZATION_TYPE: "VIRTUALIZATION_TYPE"
|
|
582
|
+
};
|
|
583
|
+
var RightsizingType = {
|
|
584
|
+
MODIFY: "MODIFY",
|
|
585
|
+
TERMINATE: "TERMINATE"
|
|
586
|
+
};
|
|
587
|
+
var SupportedSavingsPlansType = {
|
|
588
|
+
COMPUTE_SP: "COMPUTE_SP",
|
|
589
|
+
EC2_INSTANCE_SP: "EC2_INSTANCE_SP",
|
|
590
|
+
SAGEMAKER_SP: "SAGEMAKER_SP"
|
|
591
|
+
};
|
|
592
|
+
var SavingsPlansDataType = {
|
|
593
|
+
AMORTIZED_COMMITMENT: "AMORTIZED_COMMITMENT",
|
|
594
|
+
ATTRIBUTES: "ATTRIBUTES",
|
|
595
|
+
SAVINGS: "SAVINGS",
|
|
596
|
+
UTILIZATION: "UTILIZATION"
|
|
597
|
+
};
|
|
598
|
+
var _UnresolvableUsageUnitException = class _UnresolvableUsageUnitException extends CostExplorerServiceException {
|
|
599
|
+
/**
|
|
600
|
+
* @internal
|
|
601
|
+
*/
|
|
602
|
+
constructor(opts) {
|
|
603
|
+
super({
|
|
604
|
+
name: "UnresolvableUsageUnitException",
|
|
605
|
+
$fault: "client",
|
|
606
|
+
...opts
|
|
607
|
+
});
|
|
608
|
+
this.name = "UnresolvableUsageUnitException";
|
|
609
|
+
this.$fault = "client";
|
|
610
|
+
Object.setPrototypeOf(this, _UnresolvableUsageUnitException.prototype);
|
|
611
|
+
this.Message = opts.Message;
|
|
612
|
+
}
|
|
613
|
+
};
|
|
614
|
+
__name(_UnresolvableUsageUnitException, "UnresolvableUsageUnitException");
|
|
615
|
+
var UnresolvableUsageUnitException = _UnresolvableUsageUnitException;
|
|
616
|
+
var CostAllocationTagStatus = {
|
|
617
|
+
ACTIVE: "Active",
|
|
618
|
+
INACTIVE: "Inactive"
|
|
619
|
+
};
|
|
620
|
+
var CostAllocationTagType = {
|
|
621
|
+
AWS_GENERATED: "AWSGenerated",
|
|
622
|
+
USER_DEFINED: "UserDefined"
|
|
623
|
+
};
|
|
624
|
+
var GenerationStatus = {
|
|
625
|
+
FAILED: "FAILED",
|
|
626
|
+
PROCESSING: "PROCESSING",
|
|
627
|
+
SUCCEEDED: "SUCCEEDED"
|
|
628
|
+
};
|
|
629
|
+
var _GenerationExistsException = class _GenerationExistsException extends CostExplorerServiceException {
|
|
630
|
+
/**
|
|
631
|
+
* @internal
|
|
632
|
+
*/
|
|
633
|
+
constructor(opts) {
|
|
634
|
+
super({
|
|
635
|
+
name: "GenerationExistsException",
|
|
636
|
+
$fault: "client",
|
|
637
|
+
...opts
|
|
638
|
+
});
|
|
639
|
+
this.name = "GenerationExistsException";
|
|
640
|
+
this.$fault = "client";
|
|
641
|
+
Object.setPrototypeOf(this, _GenerationExistsException.prototype);
|
|
642
|
+
this.Message = opts.Message;
|
|
643
|
+
}
|
|
644
|
+
};
|
|
645
|
+
__name(_GenerationExistsException, "GenerationExistsException");
|
|
646
|
+
var GenerationExistsException = _GenerationExistsException;
|
|
647
|
+
var _TooManyTagsException = class _TooManyTagsException extends CostExplorerServiceException {
|
|
648
|
+
/**
|
|
649
|
+
* @internal
|
|
650
|
+
*/
|
|
651
|
+
constructor(opts) {
|
|
652
|
+
super({
|
|
653
|
+
name: "TooManyTagsException",
|
|
654
|
+
$fault: "client",
|
|
655
|
+
...opts
|
|
656
|
+
});
|
|
657
|
+
this.name = "TooManyTagsException";
|
|
658
|
+
this.$fault = "client";
|
|
659
|
+
Object.setPrototypeOf(this, _TooManyTagsException.prototype);
|
|
660
|
+
this.Message = opts.Message;
|
|
661
|
+
this.ResourceName = opts.ResourceName;
|
|
662
|
+
}
|
|
663
|
+
};
|
|
664
|
+
__name(_TooManyTagsException, "TooManyTagsException");
|
|
665
|
+
var TooManyTagsException = _TooManyTagsException;
|
|
666
|
+
|
|
667
|
+
// src/protocols/Aws_json1_1.ts
|
|
668
|
+
var se_CreateAnomalyMonitorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
669
|
+
const headers = sharedHeaders("CreateAnomalyMonitor");
|
|
670
|
+
let body;
|
|
671
|
+
body = JSON.stringify(se_CreateAnomalyMonitorRequest(input, context));
|
|
672
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
673
|
+
}, "se_CreateAnomalyMonitorCommand");
|
|
674
|
+
var se_CreateAnomalySubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
675
|
+
const headers = sharedHeaders("CreateAnomalySubscription");
|
|
676
|
+
let body;
|
|
677
|
+
body = JSON.stringify(se_CreateAnomalySubscriptionRequest(input, context));
|
|
678
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
679
|
+
}, "se_CreateAnomalySubscriptionCommand");
|
|
680
|
+
var se_CreateCostCategoryDefinitionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
681
|
+
const headers = sharedHeaders("CreateCostCategoryDefinition");
|
|
682
|
+
let body;
|
|
683
|
+
body = JSON.stringify(se_CreateCostCategoryDefinitionRequest(input, context));
|
|
684
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
685
|
+
}, "se_CreateCostCategoryDefinitionCommand");
|
|
686
|
+
var se_DeleteAnomalyMonitorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
687
|
+
const headers = sharedHeaders("DeleteAnomalyMonitor");
|
|
688
|
+
let body;
|
|
689
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
690
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
691
|
+
}, "se_DeleteAnomalyMonitorCommand");
|
|
692
|
+
var se_DeleteAnomalySubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
693
|
+
const headers = sharedHeaders("DeleteAnomalySubscription");
|
|
694
|
+
let body;
|
|
695
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
696
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
697
|
+
}, "se_DeleteAnomalySubscriptionCommand");
|
|
698
|
+
var se_DeleteCostCategoryDefinitionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
699
|
+
const headers = sharedHeaders("DeleteCostCategoryDefinition");
|
|
700
|
+
let body;
|
|
701
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
702
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
703
|
+
}, "se_DeleteCostCategoryDefinitionCommand");
|
|
704
|
+
var se_DescribeCostCategoryDefinitionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
705
|
+
const headers = sharedHeaders("DescribeCostCategoryDefinition");
|
|
706
|
+
let body;
|
|
707
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
708
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
709
|
+
}, "se_DescribeCostCategoryDefinitionCommand");
|
|
710
|
+
var se_GetAnomaliesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
711
|
+
const headers = sharedHeaders("GetAnomalies");
|
|
712
|
+
let body;
|
|
713
|
+
body = JSON.stringify(se_GetAnomaliesRequest(input, context));
|
|
714
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
715
|
+
}, "se_GetAnomaliesCommand");
|
|
716
|
+
var se_GetAnomalyMonitorsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
717
|
+
const headers = sharedHeaders("GetAnomalyMonitors");
|
|
718
|
+
let body;
|
|
719
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
720
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
721
|
+
}, "se_GetAnomalyMonitorsCommand");
|
|
722
|
+
var se_GetAnomalySubscriptionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
723
|
+
const headers = sharedHeaders("GetAnomalySubscriptions");
|
|
724
|
+
let body;
|
|
725
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
726
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
727
|
+
}, "se_GetAnomalySubscriptionsCommand");
|
|
728
|
+
var se_GetCostAndUsageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
729
|
+
const headers = sharedHeaders("GetCostAndUsage");
|
|
730
|
+
let body;
|
|
731
|
+
body = JSON.stringify(se_GetCostAndUsageRequest(input, context));
|
|
732
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
733
|
+
}, "se_GetCostAndUsageCommand");
|
|
734
|
+
var se_GetCostAndUsageWithResourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
735
|
+
const headers = sharedHeaders("GetCostAndUsageWithResources");
|
|
736
|
+
let body;
|
|
737
|
+
body = JSON.stringify(se_GetCostAndUsageWithResourcesRequest(input, context));
|
|
738
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
739
|
+
}, "se_GetCostAndUsageWithResourcesCommand");
|
|
740
|
+
var se_GetCostCategoriesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
741
|
+
const headers = sharedHeaders("GetCostCategories");
|
|
742
|
+
let body;
|
|
743
|
+
body = JSON.stringify(se_GetCostCategoriesRequest(input, context));
|
|
744
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
745
|
+
}, "se_GetCostCategoriesCommand");
|
|
746
|
+
var se_GetCostForecastCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
747
|
+
const headers = sharedHeaders("GetCostForecast");
|
|
748
|
+
let body;
|
|
749
|
+
body = JSON.stringify(se_GetCostForecastRequest(input, context));
|
|
750
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
751
|
+
}, "se_GetCostForecastCommand");
|
|
752
|
+
var se_GetDimensionValuesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
753
|
+
const headers = sharedHeaders("GetDimensionValues");
|
|
754
|
+
let body;
|
|
755
|
+
body = JSON.stringify(se_GetDimensionValuesRequest(input, context));
|
|
756
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
757
|
+
}, "se_GetDimensionValuesCommand");
|
|
758
|
+
var se_GetReservationCoverageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
759
|
+
const headers = sharedHeaders("GetReservationCoverage");
|
|
760
|
+
let body;
|
|
761
|
+
body = JSON.stringify(se_GetReservationCoverageRequest(input, context));
|
|
762
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
763
|
+
}, "se_GetReservationCoverageCommand");
|
|
764
|
+
var se_GetReservationPurchaseRecommendationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
765
|
+
const headers = sharedHeaders("GetReservationPurchaseRecommendation");
|
|
766
|
+
let body;
|
|
767
|
+
body = JSON.stringify(se_GetReservationPurchaseRecommendationRequest(input, context));
|
|
768
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
769
|
+
}, "se_GetReservationPurchaseRecommendationCommand");
|
|
770
|
+
var se_GetReservationUtilizationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
771
|
+
const headers = sharedHeaders("GetReservationUtilization");
|
|
772
|
+
let body;
|
|
773
|
+
body = JSON.stringify(se_GetReservationUtilizationRequest(input, context));
|
|
774
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
775
|
+
}, "se_GetReservationUtilizationCommand");
|
|
776
|
+
var se_GetRightsizingRecommendationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
777
|
+
const headers = sharedHeaders("GetRightsizingRecommendation");
|
|
778
|
+
let body;
|
|
779
|
+
body = JSON.stringify(se_GetRightsizingRecommendationRequest(input, context));
|
|
780
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
781
|
+
}, "se_GetRightsizingRecommendationCommand");
|
|
782
|
+
var se_GetSavingsPlanPurchaseRecommendationDetailsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
783
|
+
const headers = sharedHeaders("GetSavingsPlanPurchaseRecommendationDetails");
|
|
784
|
+
let body;
|
|
785
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
786
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
787
|
+
}, "se_GetSavingsPlanPurchaseRecommendationDetailsCommand");
|
|
788
|
+
var se_GetSavingsPlansCoverageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
789
|
+
const headers = sharedHeaders("GetSavingsPlansCoverage");
|
|
790
|
+
let body;
|
|
791
|
+
body = JSON.stringify(se_GetSavingsPlansCoverageRequest(input, context));
|
|
792
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
793
|
+
}, "se_GetSavingsPlansCoverageCommand");
|
|
794
|
+
var se_GetSavingsPlansPurchaseRecommendationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
795
|
+
const headers = sharedHeaders("GetSavingsPlansPurchaseRecommendation");
|
|
796
|
+
let body;
|
|
797
|
+
body = JSON.stringify(se_GetSavingsPlansPurchaseRecommendationRequest(input, context));
|
|
798
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
799
|
+
}, "se_GetSavingsPlansPurchaseRecommendationCommand");
|
|
800
|
+
var se_GetSavingsPlansUtilizationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
801
|
+
const headers = sharedHeaders("GetSavingsPlansUtilization");
|
|
802
|
+
let body;
|
|
803
|
+
body = JSON.stringify(se_GetSavingsPlansUtilizationRequest(input, context));
|
|
804
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
805
|
+
}, "se_GetSavingsPlansUtilizationCommand");
|
|
806
|
+
var se_GetSavingsPlansUtilizationDetailsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
807
|
+
const headers = sharedHeaders("GetSavingsPlansUtilizationDetails");
|
|
808
|
+
let body;
|
|
809
|
+
body = JSON.stringify(se_GetSavingsPlansUtilizationDetailsRequest(input, context));
|
|
810
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
811
|
+
}, "se_GetSavingsPlansUtilizationDetailsCommand");
|
|
812
|
+
var se_GetTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
813
|
+
const headers = sharedHeaders("GetTags");
|
|
814
|
+
let body;
|
|
815
|
+
body = JSON.stringify(se_GetTagsRequest(input, context));
|
|
816
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
817
|
+
}, "se_GetTagsCommand");
|
|
818
|
+
var se_GetUsageForecastCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
819
|
+
const headers = sharedHeaders("GetUsageForecast");
|
|
820
|
+
let body;
|
|
821
|
+
body = JSON.stringify(se_GetUsageForecastRequest(input, context));
|
|
822
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
823
|
+
}, "se_GetUsageForecastCommand");
|
|
824
|
+
var se_ListCostAllocationTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
825
|
+
const headers = sharedHeaders("ListCostAllocationTags");
|
|
826
|
+
let body;
|
|
827
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
828
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
829
|
+
}, "se_ListCostAllocationTagsCommand");
|
|
830
|
+
var se_ListCostCategoryDefinitionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
831
|
+
const headers = sharedHeaders("ListCostCategoryDefinitions");
|
|
832
|
+
let body;
|
|
833
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
834
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
835
|
+
}, "se_ListCostCategoryDefinitionsCommand");
|
|
836
|
+
var se_ListSavingsPlansPurchaseRecommendationGenerationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
837
|
+
const headers = sharedHeaders("ListSavingsPlansPurchaseRecommendationGeneration");
|
|
838
|
+
let body;
|
|
839
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
840
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
841
|
+
}, "se_ListSavingsPlansPurchaseRecommendationGenerationCommand");
|
|
842
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
843
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
844
|
+
let body;
|
|
845
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
846
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
847
|
+
}, "se_ListTagsForResourceCommand");
|
|
848
|
+
var se_ProvideAnomalyFeedbackCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
849
|
+
const headers = sharedHeaders("ProvideAnomalyFeedback");
|
|
850
|
+
let body;
|
|
851
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
852
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
853
|
+
}, "se_ProvideAnomalyFeedbackCommand");
|
|
854
|
+
var se_StartSavingsPlansPurchaseRecommendationGenerationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
855
|
+
const headers = sharedHeaders("StartSavingsPlansPurchaseRecommendationGeneration");
|
|
856
|
+
let body;
|
|
857
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
858
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
859
|
+
}, "se_StartSavingsPlansPurchaseRecommendationGenerationCommand");
|
|
860
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
861
|
+
const headers = sharedHeaders("TagResource");
|
|
862
|
+
let body;
|
|
863
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
864
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
865
|
+
}, "se_TagResourceCommand");
|
|
866
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
867
|
+
const headers = sharedHeaders("UntagResource");
|
|
868
|
+
let body;
|
|
869
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
870
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
871
|
+
}, "se_UntagResourceCommand");
|
|
872
|
+
var se_UpdateAnomalyMonitorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
873
|
+
const headers = sharedHeaders("UpdateAnomalyMonitor");
|
|
874
|
+
let body;
|
|
875
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
876
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
877
|
+
}, "se_UpdateAnomalyMonitorCommand");
|
|
878
|
+
var se_UpdateAnomalySubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
879
|
+
const headers = sharedHeaders("UpdateAnomalySubscription");
|
|
880
|
+
let body;
|
|
881
|
+
body = JSON.stringify(se_UpdateAnomalySubscriptionRequest(input, context));
|
|
882
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
883
|
+
}, "se_UpdateAnomalySubscriptionCommand");
|
|
884
|
+
var se_UpdateCostAllocationTagsStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
885
|
+
const headers = sharedHeaders("UpdateCostAllocationTagsStatus");
|
|
886
|
+
let body;
|
|
887
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
888
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
889
|
+
}, "se_UpdateCostAllocationTagsStatusCommand");
|
|
890
|
+
var se_UpdateCostCategoryDefinitionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
891
|
+
const headers = sharedHeaders("UpdateCostCategoryDefinition");
|
|
892
|
+
let body;
|
|
893
|
+
body = JSON.stringify(se_UpdateCostCategoryDefinitionRequest(input, context));
|
|
894
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
895
|
+
}, "se_UpdateCostCategoryDefinitionCommand");
|
|
896
|
+
var de_CreateAnomalyMonitorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
897
|
+
if (output.statusCode >= 300) {
|
|
898
|
+
return de_CreateAnomalyMonitorCommandError(output, context);
|
|
899
|
+
}
|
|
900
|
+
const data = await parseBody(output.body, context);
|
|
901
|
+
let contents = {};
|
|
902
|
+
contents = (0, import_smithy_client._json)(data);
|
|
903
|
+
const response = {
|
|
904
|
+
$metadata: deserializeMetadata(output),
|
|
905
|
+
...contents
|
|
906
|
+
};
|
|
907
|
+
return response;
|
|
908
|
+
}, "de_CreateAnomalyMonitorCommand");
|
|
909
|
+
var de_CreateAnomalyMonitorCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
910
|
+
const parsedOutput = {
|
|
911
|
+
...output,
|
|
912
|
+
body: await parseErrorBody(output.body, context)
|
|
913
|
+
};
|
|
914
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
915
|
+
switch (errorCode) {
|
|
916
|
+
case "LimitExceededException":
|
|
917
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
918
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
919
|
+
default:
|
|
920
|
+
const parsedBody = parsedOutput.body;
|
|
921
|
+
return throwDefaultError({
|
|
922
|
+
output,
|
|
923
|
+
parsedBody,
|
|
924
|
+
errorCode
|
|
925
|
+
});
|
|
926
|
+
}
|
|
927
|
+
}, "de_CreateAnomalyMonitorCommandError");
|
|
928
|
+
var de_CreateAnomalySubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
929
|
+
if (output.statusCode >= 300) {
|
|
930
|
+
return de_CreateAnomalySubscriptionCommandError(output, context);
|
|
931
|
+
}
|
|
932
|
+
const data = await parseBody(output.body, context);
|
|
933
|
+
let contents = {};
|
|
934
|
+
contents = (0, import_smithy_client._json)(data);
|
|
935
|
+
const response = {
|
|
936
|
+
$metadata: deserializeMetadata(output),
|
|
937
|
+
...contents
|
|
938
|
+
};
|
|
939
|
+
return response;
|
|
940
|
+
}, "de_CreateAnomalySubscriptionCommand");
|
|
941
|
+
var de_CreateAnomalySubscriptionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
942
|
+
const parsedOutput = {
|
|
943
|
+
...output,
|
|
944
|
+
body: await parseErrorBody(output.body, context)
|
|
945
|
+
};
|
|
946
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
947
|
+
switch (errorCode) {
|
|
948
|
+
case "LimitExceededException":
|
|
949
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
950
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
951
|
+
case "UnknownMonitorException":
|
|
952
|
+
case "com.amazonaws.costexplorer#UnknownMonitorException":
|
|
953
|
+
throw await de_UnknownMonitorExceptionRes(parsedOutput, context);
|
|
954
|
+
default:
|
|
955
|
+
const parsedBody = parsedOutput.body;
|
|
956
|
+
return throwDefaultError({
|
|
957
|
+
output,
|
|
958
|
+
parsedBody,
|
|
959
|
+
errorCode
|
|
960
|
+
});
|
|
961
|
+
}
|
|
962
|
+
}, "de_CreateAnomalySubscriptionCommandError");
|
|
963
|
+
var de_CreateCostCategoryDefinitionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
964
|
+
if (output.statusCode >= 300) {
|
|
965
|
+
return de_CreateCostCategoryDefinitionCommandError(output, context);
|
|
966
|
+
}
|
|
967
|
+
const data = await parseBody(output.body, context);
|
|
968
|
+
let contents = {};
|
|
969
|
+
contents = (0, import_smithy_client._json)(data);
|
|
970
|
+
const response = {
|
|
971
|
+
$metadata: deserializeMetadata(output),
|
|
972
|
+
...contents
|
|
973
|
+
};
|
|
974
|
+
return response;
|
|
975
|
+
}, "de_CreateCostCategoryDefinitionCommand");
|
|
976
|
+
var de_CreateCostCategoryDefinitionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
977
|
+
const parsedOutput = {
|
|
978
|
+
...output,
|
|
979
|
+
body: await parseErrorBody(output.body, context)
|
|
980
|
+
};
|
|
981
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
982
|
+
switch (errorCode) {
|
|
983
|
+
case "LimitExceededException":
|
|
984
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
985
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
986
|
+
case "ServiceQuotaExceededException":
|
|
987
|
+
case "com.amazonaws.costexplorer#ServiceQuotaExceededException":
|
|
988
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
989
|
+
default:
|
|
990
|
+
const parsedBody = parsedOutput.body;
|
|
991
|
+
return throwDefaultError({
|
|
992
|
+
output,
|
|
993
|
+
parsedBody,
|
|
994
|
+
errorCode
|
|
995
|
+
});
|
|
996
|
+
}
|
|
997
|
+
}, "de_CreateCostCategoryDefinitionCommandError");
|
|
998
|
+
var de_DeleteAnomalyMonitorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
999
|
+
if (output.statusCode >= 300) {
|
|
1000
|
+
return de_DeleteAnomalyMonitorCommandError(output, context);
|
|
1001
|
+
}
|
|
1002
|
+
const data = await parseBody(output.body, context);
|
|
1003
|
+
let contents = {};
|
|
1004
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1005
|
+
const response = {
|
|
1006
|
+
$metadata: deserializeMetadata(output),
|
|
1007
|
+
...contents
|
|
1008
|
+
};
|
|
1009
|
+
return response;
|
|
1010
|
+
}, "de_DeleteAnomalyMonitorCommand");
|
|
1011
|
+
var de_DeleteAnomalyMonitorCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1012
|
+
const parsedOutput = {
|
|
1013
|
+
...output,
|
|
1014
|
+
body: await parseErrorBody(output.body, context)
|
|
1015
|
+
};
|
|
1016
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1017
|
+
switch (errorCode) {
|
|
1018
|
+
case "LimitExceededException":
|
|
1019
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1020
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1021
|
+
case "UnknownMonitorException":
|
|
1022
|
+
case "com.amazonaws.costexplorer#UnknownMonitorException":
|
|
1023
|
+
throw await de_UnknownMonitorExceptionRes(parsedOutput, context);
|
|
1024
|
+
default:
|
|
1025
|
+
const parsedBody = parsedOutput.body;
|
|
1026
|
+
return throwDefaultError({
|
|
1027
|
+
output,
|
|
1028
|
+
parsedBody,
|
|
1029
|
+
errorCode
|
|
1030
|
+
});
|
|
1031
|
+
}
|
|
1032
|
+
}, "de_DeleteAnomalyMonitorCommandError");
|
|
1033
|
+
var de_DeleteAnomalySubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1034
|
+
if (output.statusCode >= 300) {
|
|
1035
|
+
return de_DeleteAnomalySubscriptionCommandError(output, context);
|
|
1036
|
+
}
|
|
1037
|
+
const data = await parseBody(output.body, context);
|
|
1038
|
+
let contents = {};
|
|
1039
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1040
|
+
const response = {
|
|
1041
|
+
$metadata: deserializeMetadata(output),
|
|
1042
|
+
...contents
|
|
1043
|
+
};
|
|
1044
|
+
return response;
|
|
1045
|
+
}, "de_DeleteAnomalySubscriptionCommand");
|
|
1046
|
+
var de_DeleteAnomalySubscriptionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1047
|
+
const parsedOutput = {
|
|
1048
|
+
...output,
|
|
1049
|
+
body: await parseErrorBody(output.body, context)
|
|
1050
|
+
};
|
|
1051
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1052
|
+
switch (errorCode) {
|
|
1053
|
+
case "LimitExceededException":
|
|
1054
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1055
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1056
|
+
case "UnknownSubscriptionException":
|
|
1057
|
+
case "com.amazonaws.costexplorer#UnknownSubscriptionException":
|
|
1058
|
+
throw await de_UnknownSubscriptionExceptionRes(parsedOutput, context);
|
|
1059
|
+
default:
|
|
1060
|
+
const parsedBody = parsedOutput.body;
|
|
1061
|
+
return throwDefaultError({
|
|
1062
|
+
output,
|
|
1063
|
+
parsedBody,
|
|
1064
|
+
errorCode
|
|
1065
|
+
});
|
|
1066
|
+
}
|
|
1067
|
+
}, "de_DeleteAnomalySubscriptionCommandError");
|
|
1068
|
+
var de_DeleteCostCategoryDefinitionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1069
|
+
if (output.statusCode >= 300) {
|
|
1070
|
+
return de_DeleteCostCategoryDefinitionCommandError(output, context);
|
|
1071
|
+
}
|
|
1072
|
+
const data = await parseBody(output.body, context);
|
|
1073
|
+
let contents = {};
|
|
1074
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1075
|
+
const response = {
|
|
1076
|
+
$metadata: deserializeMetadata(output),
|
|
1077
|
+
...contents
|
|
1078
|
+
};
|
|
1079
|
+
return response;
|
|
1080
|
+
}, "de_DeleteCostCategoryDefinitionCommand");
|
|
1081
|
+
var de_DeleteCostCategoryDefinitionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1082
|
+
const parsedOutput = {
|
|
1083
|
+
...output,
|
|
1084
|
+
body: await parseErrorBody(output.body, context)
|
|
1085
|
+
};
|
|
1086
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1087
|
+
switch (errorCode) {
|
|
1088
|
+
case "LimitExceededException":
|
|
1089
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1090
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1091
|
+
case "ResourceNotFoundException":
|
|
1092
|
+
case "com.amazonaws.costexplorer#ResourceNotFoundException":
|
|
1093
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1094
|
+
default:
|
|
1095
|
+
const parsedBody = parsedOutput.body;
|
|
1096
|
+
return throwDefaultError({
|
|
1097
|
+
output,
|
|
1098
|
+
parsedBody,
|
|
1099
|
+
errorCode
|
|
1100
|
+
});
|
|
1101
|
+
}
|
|
1102
|
+
}, "de_DeleteCostCategoryDefinitionCommandError");
|
|
1103
|
+
var de_DescribeCostCategoryDefinitionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1104
|
+
if (output.statusCode >= 300) {
|
|
1105
|
+
return de_DescribeCostCategoryDefinitionCommandError(output, context);
|
|
1106
|
+
}
|
|
1107
|
+
const data = await parseBody(output.body, context);
|
|
1108
|
+
let contents = {};
|
|
1109
|
+
contents = de_DescribeCostCategoryDefinitionResponse(data, context);
|
|
1110
|
+
const response = {
|
|
1111
|
+
$metadata: deserializeMetadata(output),
|
|
1112
|
+
...contents
|
|
1113
|
+
};
|
|
1114
|
+
return response;
|
|
1115
|
+
}, "de_DescribeCostCategoryDefinitionCommand");
|
|
1116
|
+
var de_DescribeCostCategoryDefinitionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1117
|
+
const parsedOutput = {
|
|
1118
|
+
...output,
|
|
1119
|
+
body: await parseErrorBody(output.body, context)
|
|
1120
|
+
};
|
|
1121
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1122
|
+
switch (errorCode) {
|
|
1123
|
+
case "LimitExceededException":
|
|
1124
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1125
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1126
|
+
case "ResourceNotFoundException":
|
|
1127
|
+
case "com.amazonaws.costexplorer#ResourceNotFoundException":
|
|
1128
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1129
|
+
default:
|
|
1130
|
+
const parsedBody = parsedOutput.body;
|
|
1131
|
+
return throwDefaultError({
|
|
1132
|
+
output,
|
|
1133
|
+
parsedBody,
|
|
1134
|
+
errorCode
|
|
1135
|
+
});
|
|
1136
|
+
}
|
|
1137
|
+
}, "de_DescribeCostCategoryDefinitionCommandError");
|
|
1138
|
+
var de_GetAnomaliesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1139
|
+
if (output.statusCode >= 300) {
|
|
1140
|
+
return de_GetAnomaliesCommandError(output, context);
|
|
1141
|
+
}
|
|
1142
|
+
const data = await parseBody(output.body, context);
|
|
1143
|
+
let contents = {};
|
|
1144
|
+
contents = de_GetAnomaliesResponse(data, context);
|
|
1145
|
+
const response = {
|
|
1146
|
+
$metadata: deserializeMetadata(output),
|
|
1147
|
+
...contents
|
|
1148
|
+
};
|
|
1149
|
+
return response;
|
|
1150
|
+
}, "de_GetAnomaliesCommand");
|
|
1151
|
+
var de_GetAnomaliesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1152
|
+
const parsedOutput = {
|
|
1153
|
+
...output,
|
|
1154
|
+
body: await parseErrorBody(output.body, context)
|
|
1155
|
+
};
|
|
1156
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1157
|
+
switch (errorCode) {
|
|
1158
|
+
case "InvalidNextTokenException":
|
|
1159
|
+
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
1160
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1161
|
+
case "LimitExceededException":
|
|
1162
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1163
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1164
|
+
default:
|
|
1165
|
+
const parsedBody = parsedOutput.body;
|
|
1166
|
+
return throwDefaultError({
|
|
1167
|
+
output,
|
|
1168
|
+
parsedBody,
|
|
1169
|
+
errorCode
|
|
1170
|
+
});
|
|
1171
|
+
}
|
|
1172
|
+
}, "de_GetAnomaliesCommandError");
|
|
1173
|
+
var de_GetAnomalyMonitorsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1174
|
+
if (output.statusCode >= 300) {
|
|
1175
|
+
return de_GetAnomalyMonitorsCommandError(output, context);
|
|
1176
|
+
}
|
|
1177
|
+
const data = await parseBody(output.body, context);
|
|
1178
|
+
let contents = {};
|
|
1179
|
+
contents = de_GetAnomalyMonitorsResponse(data, context);
|
|
1180
|
+
const response = {
|
|
1181
|
+
$metadata: deserializeMetadata(output),
|
|
1182
|
+
...contents
|
|
1183
|
+
};
|
|
1184
|
+
return response;
|
|
1185
|
+
}, "de_GetAnomalyMonitorsCommand");
|
|
1186
|
+
var de_GetAnomalyMonitorsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1187
|
+
const parsedOutput = {
|
|
1188
|
+
...output,
|
|
1189
|
+
body: await parseErrorBody(output.body, context)
|
|
1190
|
+
};
|
|
1191
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1192
|
+
switch (errorCode) {
|
|
1193
|
+
case "InvalidNextTokenException":
|
|
1194
|
+
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
1195
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1196
|
+
case "LimitExceededException":
|
|
1197
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1198
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1199
|
+
case "UnknownMonitorException":
|
|
1200
|
+
case "com.amazonaws.costexplorer#UnknownMonitorException":
|
|
1201
|
+
throw await de_UnknownMonitorExceptionRes(parsedOutput, context);
|
|
1202
|
+
default:
|
|
1203
|
+
const parsedBody = parsedOutput.body;
|
|
1204
|
+
return throwDefaultError({
|
|
1205
|
+
output,
|
|
1206
|
+
parsedBody,
|
|
1207
|
+
errorCode
|
|
1208
|
+
});
|
|
1209
|
+
}
|
|
1210
|
+
}, "de_GetAnomalyMonitorsCommandError");
|
|
1211
|
+
var de_GetAnomalySubscriptionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1212
|
+
if (output.statusCode >= 300) {
|
|
1213
|
+
return de_GetAnomalySubscriptionsCommandError(output, context);
|
|
1214
|
+
}
|
|
1215
|
+
const data = await parseBody(output.body, context);
|
|
1216
|
+
let contents = {};
|
|
1217
|
+
contents = de_GetAnomalySubscriptionsResponse(data, context);
|
|
1218
|
+
const response = {
|
|
1219
|
+
$metadata: deserializeMetadata(output),
|
|
1220
|
+
...contents
|
|
1221
|
+
};
|
|
1222
|
+
return response;
|
|
1223
|
+
}, "de_GetAnomalySubscriptionsCommand");
|
|
1224
|
+
var de_GetAnomalySubscriptionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1225
|
+
const parsedOutput = {
|
|
1226
|
+
...output,
|
|
1227
|
+
body: await parseErrorBody(output.body, context)
|
|
1228
|
+
};
|
|
1229
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1230
|
+
switch (errorCode) {
|
|
1231
|
+
case "InvalidNextTokenException":
|
|
1232
|
+
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
1233
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1234
|
+
case "LimitExceededException":
|
|
1235
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1236
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1237
|
+
case "UnknownSubscriptionException":
|
|
1238
|
+
case "com.amazonaws.costexplorer#UnknownSubscriptionException":
|
|
1239
|
+
throw await de_UnknownSubscriptionExceptionRes(parsedOutput, context);
|
|
1240
|
+
default:
|
|
1241
|
+
const parsedBody = parsedOutput.body;
|
|
1242
|
+
return throwDefaultError({
|
|
1243
|
+
output,
|
|
1244
|
+
parsedBody,
|
|
1245
|
+
errorCode
|
|
1246
|
+
});
|
|
1247
|
+
}
|
|
1248
|
+
}, "de_GetAnomalySubscriptionsCommandError");
|
|
1249
|
+
var de_GetCostAndUsageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1250
|
+
if (output.statusCode >= 300) {
|
|
1251
|
+
return de_GetCostAndUsageCommandError(output, context);
|
|
1252
|
+
}
|
|
1253
|
+
const data = await parseBody(output.body, context);
|
|
1254
|
+
let contents = {};
|
|
1255
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1256
|
+
const response = {
|
|
1257
|
+
$metadata: deserializeMetadata(output),
|
|
1258
|
+
...contents
|
|
1259
|
+
};
|
|
1260
|
+
return response;
|
|
1261
|
+
}, "de_GetCostAndUsageCommand");
|
|
1262
|
+
var de_GetCostAndUsageCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1263
|
+
const parsedOutput = {
|
|
1264
|
+
...output,
|
|
1265
|
+
body: await parseErrorBody(output.body, context)
|
|
1266
|
+
};
|
|
1267
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1268
|
+
switch (errorCode) {
|
|
1269
|
+
case "BillExpirationException":
|
|
1270
|
+
case "com.amazonaws.costexplorer#BillExpirationException":
|
|
1271
|
+
throw await de_BillExpirationExceptionRes(parsedOutput, context);
|
|
1272
|
+
case "DataUnavailableException":
|
|
1273
|
+
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
1274
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
1275
|
+
case "InvalidNextTokenException":
|
|
1276
|
+
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
1277
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1278
|
+
case "LimitExceededException":
|
|
1279
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1280
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1281
|
+
case "RequestChangedException":
|
|
1282
|
+
case "com.amazonaws.costexplorer#RequestChangedException":
|
|
1283
|
+
throw await de_RequestChangedExceptionRes(parsedOutput, context);
|
|
1284
|
+
default:
|
|
1285
|
+
const parsedBody = parsedOutput.body;
|
|
1286
|
+
return throwDefaultError({
|
|
1287
|
+
output,
|
|
1288
|
+
parsedBody,
|
|
1289
|
+
errorCode
|
|
1290
|
+
});
|
|
1291
|
+
}
|
|
1292
|
+
}, "de_GetCostAndUsageCommandError");
|
|
1293
|
+
var de_GetCostAndUsageWithResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1294
|
+
if (output.statusCode >= 300) {
|
|
1295
|
+
return de_GetCostAndUsageWithResourcesCommandError(output, context);
|
|
1296
|
+
}
|
|
1297
|
+
const data = await parseBody(output.body, context);
|
|
1298
|
+
let contents = {};
|
|
1299
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1300
|
+
const response = {
|
|
1301
|
+
$metadata: deserializeMetadata(output),
|
|
1302
|
+
...contents
|
|
1303
|
+
};
|
|
1304
|
+
return response;
|
|
1305
|
+
}, "de_GetCostAndUsageWithResourcesCommand");
|
|
1306
|
+
var de_GetCostAndUsageWithResourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1307
|
+
const parsedOutput = {
|
|
1308
|
+
...output,
|
|
1309
|
+
body: await parseErrorBody(output.body, context)
|
|
1310
|
+
};
|
|
1311
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1312
|
+
switch (errorCode) {
|
|
1313
|
+
case "BillExpirationException":
|
|
1314
|
+
case "com.amazonaws.costexplorer#BillExpirationException":
|
|
1315
|
+
throw await de_BillExpirationExceptionRes(parsedOutput, context);
|
|
1316
|
+
case "DataUnavailableException":
|
|
1317
|
+
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
1318
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
1319
|
+
case "InvalidNextTokenException":
|
|
1320
|
+
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
1321
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1322
|
+
case "LimitExceededException":
|
|
1323
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1324
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1325
|
+
case "RequestChangedException":
|
|
1326
|
+
case "com.amazonaws.costexplorer#RequestChangedException":
|
|
1327
|
+
throw await de_RequestChangedExceptionRes(parsedOutput, context);
|
|
1328
|
+
default:
|
|
1329
|
+
const parsedBody = parsedOutput.body;
|
|
1330
|
+
return throwDefaultError({
|
|
1331
|
+
output,
|
|
1332
|
+
parsedBody,
|
|
1333
|
+
errorCode
|
|
1334
|
+
});
|
|
1335
|
+
}
|
|
1336
|
+
}, "de_GetCostAndUsageWithResourcesCommandError");
|
|
1337
|
+
var de_GetCostCategoriesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1338
|
+
if (output.statusCode >= 300) {
|
|
1339
|
+
return de_GetCostCategoriesCommandError(output, context);
|
|
1340
|
+
}
|
|
1341
|
+
const data = await parseBody(output.body, context);
|
|
1342
|
+
let contents = {};
|
|
1343
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1344
|
+
const response = {
|
|
1345
|
+
$metadata: deserializeMetadata(output),
|
|
1346
|
+
...contents
|
|
1347
|
+
};
|
|
1348
|
+
return response;
|
|
1349
|
+
}, "de_GetCostCategoriesCommand");
|
|
1350
|
+
var de_GetCostCategoriesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1351
|
+
const parsedOutput = {
|
|
1352
|
+
...output,
|
|
1353
|
+
body: await parseErrorBody(output.body, context)
|
|
1354
|
+
};
|
|
1355
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1356
|
+
switch (errorCode) {
|
|
1357
|
+
case "BillExpirationException":
|
|
1358
|
+
case "com.amazonaws.costexplorer#BillExpirationException":
|
|
1359
|
+
throw await de_BillExpirationExceptionRes(parsedOutput, context);
|
|
1360
|
+
case "DataUnavailableException":
|
|
1361
|
+
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
1362
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
1363
|
+
case "InvalidNextTokenException":
|
|
1364
|
+
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
1365
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1366
|
+
case "LimitExceededException":
|
|
1367
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1368
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1369
|
+
case "RequestChangedException":
|
|
1370
|
+
case "com.amazonaws.costexplorer#RequestChangedException":
|
|
1371
|
+
throw await de_RequestChangedExceptionRes(parsedOutput, context);
|
|
1372
|
+
default:
|
|
1373
|
+
const parsedBody = parsedOutput.body;
|
|
1374
|
+
return throwDefaultError({
|
|
1375
|
+
output,
|
|
1376
|
+
parsedBody,
|
|
1377
|
+
errorCode
|
|
1378
|
+
});
|
|
1379
|
+
}
|
|
1380
|
+
}, "de_GetCostCategoriesCommandError");
|
|
1381
|
+
var de_GetCostForecastCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1382
|
+
if (output.statusCode >= 300) {
|
|
1383
|
+
return de_GetCostForecastCommandError(output, context);
|
|
1384
|
+
}
|
|
1385
|
+
const data = await parseBody(output.body, context);
|
|
1386
|
+
let contents = {};
|
|
1387
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1388
|
+
const response = {
|
|
1389
|
+
$metadata: deserializeMetadata(output),
|
|
1390
|
+
...contents
|
|
1391
|
+
};
|
|
1392
|
+
return response;
|
|
1393
|
+
}, "de_GetCostForecastCommand");
|
|
1394
|
+
var de_GetCostForecastCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1395
|
+
const parsedOutput = {
|
|
1396
|
+
...output,
|
|
1397
|
+
body: await parseErrorBody(output.body, context)
|
|
1398
|
+
};
|
|
1399
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1400
|
+
switch (errorCode) {
|
|
1401
|
+
case "DataUnavailableException":
|
|
1402
|
+
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
1403
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
1404
|
+
case "LimitExceededException":
|
|
1405
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1406
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1407
|
+
default:
|
|
1408
|
+
const parsedBody = parsedOutput.body;
|
|
1409
|
+
return throwDefaultError({
|
|
1410
|
+
output,
|
|
1411
|
+
parsedBody,
|
|
1412
|
+
errorCode
|
|
1413
|
+
});
|
|
1414
|
+
}
|
|
1415
|
+
}, "de_GetCostForecastCommandError");
|
|
1416
|
+
var de_GetDimensionValuesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1417
|
+
if (output.statusCode >= 300) {
|
|
1418
|
+
return de_GetDimensionValuesCommandError(output, context);
|
|
1419
|
+
}
|
|
1420
|
+
const data = await parseBody(output.body, context);
|
|
1421
|
+
let contents = {};
|
|
1422
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1423
|
+
const response = {
|
|
1424
|
+
$metadata: deserializeMetadata(output),
|
|
1425
|
+
...contents
|
|
1426
|
+
};
|
|
1427
|
+
return response;
|
|
1428
|
+
}, "de_GetDimensionValuesCommand");
|
|
1429
|
+
var de_GetDimensionValuesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1430
|
+
const parsedOutput = {
|
|
1431
|
+
...output,
|
|
1432
|
+
body: await parseErrorBody(output.body, context)
|
|
1433
|
+
};
|
|
1434
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1435
|
+
switch (errorCode) {
|
|
1436
|
+
case "BillExpirationException":
|
|
1437
|
+
case "com.amazonaws.costexplorer#BillExpirationException":
|
|
1438
|
+
throw await de_BillExpirationExceptionRes(parsedOutput, context);
|
|
1439
|
+
case "DataUnavailableException":
|
|
1440
|
+
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
1441
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
1442
|
+
case "InvalidNextTokenException":
|
|
1443
|
+
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
1444
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1445
|
+
case "LimitExceededException":
|
|
1446
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1447
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1448
|
+
case "RequestChangedException":
|
|
1449
|
+
case "com.amazonaws.costexplorer#RequestChangedException":
|
|
1450
|
+
throw await de_RequestChangedExceptionRes(parsedOutput, context);
|
|
1451
|
+
default:
|
|
1452
|
+
const parsedBody = parsedOutput.body;
|
|
1453
|
+
return throwDefaultError({
|
|
1454
|
+
output,
|
|
1455
|
+
parsedBody,
|
|
1456
|
+
errorCode
|
|
1457
|
+
});
|
|
1458
|
+
}
|
|
1459
|
+
}, "de_GetDimensionValuesCommandError");
|
|
1460
|
+
var de_GetReservationCoverageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1461
|
+
if (output.statusCode >= 300) {
|
|
1462
|
+
return de_GetReservationCoverageCommandError(output, context);
|
|
1463
|
+
}
|
|
1464
|
+
const data = await parseBody(output.body, context);
|
|
1465
|
+
let contents = {};
|
|
1466
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1467
|
+
const response = {
|
|
1468
|
+
$metadata: deserializeMetadata(output),
|
|
1469
|
+
...contents
|
|
1470
|
+
};
|
|
1471
|
+
return response;
|
|
1472
|
+
}, "de_GetReservationCoverageCommand");
|
|
1473
|
+
var de_GetReservationCoverageCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1474
|
+
const parsedOutput = {
|
|
1475
|
+
...output,
|
|
1476
|
+
body: await parseErrorBody(output.body, context)
|
|
1477
|
+
};
|
|
1478
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1479
|
+
switch (errorCode) {
|
|
1480
|
+
case "DataUnavailableException":
|
|
1481
|
+
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
1482
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
1483
|
+
case "InvalidNextTokenException":
|
|
1484
|
+
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
1485
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1486
|
+
case "LimitExceededException":
|
|
1487
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1488
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1489
|
+
default:
|
|
1490
|
+
const parsedBody = parsedOutput.body;
|
|
1491
|
+
return throwDefaultError({
|
|
1492
|
+
output,
|
|
1493
|
+
parsedBody,
|
|
1494
|
+
errorCode
|
|
1495
|
+
});
|
|
1496
|
+
}
|
|
1497
|
+
}, "de_GetReservationCoverageCommandError");
|
|
1498
|
+
var de_GetReservationPurchaseRecommendationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1499
|
+
if (output.statusCode >= 300) {
|
|
1500
|
+
return de_GetReservationPurchaseRecommendationCommandError(output, context);
|
|
1501
|
+
}
|
|
1502
|
+
const data = await parseBody(output.body, context);
|
|
1503
|
+
let contents = {};
|
|
1504
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1505
|
+
const response = {
|
|
1506
|
+
$metadata: deserializeMetadata(output),
|
|
1507
|
+
...contents
|
|
1508
|
+
};
|
|
1509
|
+
return response;
|
|
1510
|
+
}, "de_GetReservationPurchaseRecommendationCommand");
|
|
1511
|
+
var de_GetReservationPurchaseRecommendationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1512
|
+
const parsedOutput = {
|
|
1513
|
+
...output,
|
|
1514
|
+
body: await parseErrorBody(output.body, context)
|
|
1515
|
+
};
|
|
1516
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1517
|
+
switch (errorCode) {
|
|
1518
|
+
case "DataUnavailableException":
|
|
1519
|
+
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
1520
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
1521
|
+
case "InvalidNextTokenException":
|
|
1522
|
+
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
1523
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1524
|
+
case "LimitExceededException":
|
|
1525
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1526
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1527
|
+
default:
|
|
1528
|
+
const parsedBody = parsedOutput.body;
|
|
1529
|
+
return throwDefaultError({
|
|
1530
|
+
output,
|
|
1531
|
+
parsedBody,
|
|
1532
|
+
errorCode
|
|
1533
|
+
});
|
|
1534
|
+
}
|
|
1535
|
+
}, "de_GetReservationPurchaseRecommendationCommandError");
|
|
1536
|
+
var de_GetReservationUtilizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1537
|
+
if (output.statusCode >= 300) {
|
|
1538
|
+
return de_GetReservationUtilizationCommandError(output, context);
|
|
1539
|
+
}
|
|
1540
|
+
const data = await parseBody(output.body, context);
|
|
1541
|
+
let contents = {};
|
|
1542
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1543
|
+
const response = {
|
|
1544
|
+
$metadata: deserializeMetadata(output),
|
|
1545
|
+
...contents
|
|
1546
|
+
};
|
|
1547
|
+
return response;
|
|
1548
|
+
}, "de_GetReservationUtilizationCommand");
|
|
1549
|
+
var de_GetReservationUtilizationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1550
|
+
const parsedOutput = {
|
|
1551
|
+
...output,
|
|
1552
|
+
body: await parseErrorBody(output.body, context)
|
|
1553
|
+
};
|
|
1554
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1555
|
+
switch (errorCode) {
|
|
1556
|
+
case "DataUnavailableException":
|
|
1557
|
+
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
1558
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
1559
|
+
case "InvalidNextTokenException":
|
|
1560
|
+
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
1561
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1562
|
+
case "LimitExceededException":
|
|
1563
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1564
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1565
|
+
default:
|
|
1566
|
+
const parsedBody = parsedOutput.body;
|
|
1567
|
+
return throwDefaultError({
|
|
1568
|
+
output,
|
|
1569
|
+
parsedBody,
|
|
1570
|
+
errorCode
|
|
1571
|
+
});
|
|
1572
|
+
}
|
|
1573
|
+
}, "de_GetReservationUtilizationCommandError");
|
|
1574
|
+
var de_GetRightsizingRecommendationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1575
|
+
if (output.statusCode >= 300) {
|
|
1576
|
+
return de_GetRightsizingRecommendationCommandError(output, context);
|
|
1577
|
+
}
|
|
1578
|
+
const data = await parseBody(output.body, context);
|
|
1579
|
+
let contents = {};
|
|
1580
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1581
|
+
const response = {
|
|
1582
|
+
$metadata: deserializeMetadata(output),
|
|
1583
|
+
...contents
|
|
1584
|
+
};
|
|
1585
|
+
return response;
|
|
1586
|
+
}, "de_GetRightsizingRecommendationCommand");
|
|
1587
|
+
var de_GetRightsizingRecommendationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1588
|
+
const parsedOutput = {
|
|
1589
|
+
...output,
|
|
1590
|
+
body: await parseErrorBody(output.body, context)
|
|
1591
|
+
};
|
|
1592
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1593
|
+
switch (errorCode) {
|
|
1594
|
+
case "InvalidNextTokenException":
|
|
1595
|
+
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
1596
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1597
|
+
case "LimitExceededException":
|
|
1598
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1599
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1600
|
+
default:
|
|
1601
|
+
const parsedBody = parsedOutput.body;
|
|
1602
|
+
return throwDefaultError({
|
|
1603
|
+
output,
|
|
1604
|
+
parsedBody,
|
|
1605
|
+
errorCode
|
|
1606
|
+
});
|
|
1607
|
+
}
|
|
1608
|
+
}, "de_GetRightsizingRecommendationCommandError");
|
|
1609
|
+
var de_GetSavingsPlanPurchaseRecommendationDetailsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1610
|
+
if (output.statusCode >= 300) {
|
|
1611
|
+
return de_GetSavingsPlanPurchaseRecommendationDetailsCommandError(output, context);
|
|
1612
|
+
}
|
|
1613
|
+
const data = await parseBody(output.body, context);
|
|
1614
|
+
let contents = {};
|
|
1615
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1616
|
+
const response = {
|
|
1617
|
+
$metadata: deserializeMetadata(output),
|
|
1618
|
+
...contents
|
|
1619
|
+
};
|
|
1620
|
+
return response;
|
|
1621
|
+
}, "de_GetSavingsPlanPurchaseRecommendationDetailsCommand");
|
|
1622
|
+
var de_GetSavingsPlanPurchaseRecommendationDetailsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1623
|
+
const parsedOutput = {
|
|
1624
|
+
...output,
|
|
1625
|
+
body: await parseErrorBody(output.body, context)
|
|
1626
|
+
};
|
|
1627
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1628
|
+
switch (errorCode) {
|
|
1629
|
+
case "DataUnavailableException":
|
|
1630
|
+
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
1631
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
1632
|
+
case "LimitExceededException":
|
|
1633
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1634
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1635
|
+
default:
|
|
1636
|
+
const parsedBody = parsedOutput.body;
|
|
1637
|
+
return throwDefaultError({
|
|
1638
|
+
output,
|
|
1639
|
+
parsedBody,
|
|
1640
|
+
errorCode
|
|
1641
|
+
});
|
|
1642
|
+
}
|
|
1643
|
+
}, "de_GetSavingsPlanPurchaseRecommendationDetailsCommandError");
|
|
1644
|
+
var de_GetSavingsPlansCoverageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1645
|
+
if (output.statusCode >= 300) {
|
|
1646
|
+
return de_GetSavingsPlansCoverageCommandError(output, context);
|
|
1647
|
+
}
|
|
1648
|
+
const data = await parseBody(output.body, context);
|
|
1649
|
+
let contents = {};
|
|
1650
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1651
|
+
const response = {
|
|
1652
|
+
$metadata: deserializeMetadata(output),
|
|
1653
|
+
...contents
|
|
1654
|
+
};
|
|
1655
|
+
return response;
|
|
1656
|
+
}, "de_GetSavingsPlansCoverageCommand");
|
|
1657
|
+
var de_GetSavingsPlansCoverageCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1658
|
+
const parsedOutput = {
|
|
1659
|
+
...output,
|
|
1660
|
+
body: await parseErrorBody(output.body, context)
|
|
1661
|
+
};
|
|
1662
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1663
|
+
switch (errorCode) {
|
|
1664
|
+
case "DataUnavailableException":
|
|
1665
|
+
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
1666
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
1667
|
+
case "InvalidNextTokenException":
|
|
1668
|
+
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
1669
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1670
|
+
case "LimitExceededException":
|
|
1671
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1672
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1673
|
+
default:
|
|
1674
|
+
const parsedBody = parsedOutput.body;
|
|
1675
|
+
return throwDefaultError({
|
|
1676
|
+
output,
|
|
1677
|
+
parsedBody,
|
|
1678
|
+
errorCode
|
|
1679
|
+
});
|
|
1680
|
+
}
|
|
1681
|
+
}, "de_GetSavingsPlansCoverageCommandError");
|
|
1682
|
+
var de_GetSavingsPlansPurchaseRecommendationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1683
|
+
if (output.statusCode >= 300) {
|
|
1684
|
+
return de_GetSavingsPlansPurchaseRecommendationCommandError(output, context);
|
|
1685
|
+
}
|
|
1686
|
+
const data = await parseBody(output.body, context);
|
|
1687
|
+
let contents = {};
|
|
1688
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1689
|
+
const response = {
|
|
1690
|
+
$metadata: deserializeMetadata(output),
|
|
1691
|
+
...contents
|
|
1692
|
+
};
|
|
1693
|
+
return response;
|
|
1694
|
+
}, "de_GetSavingsPlansPurchaseRecommendationCommand");
|
|
1695
|
+
var de_GetSavingsPlansPurchaseRecommendationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1696
|
+
const parsedOutput = {
|
|
1697
|
+
...output,
|
|
1698
|
+
body: await parseErrorBody(output.body, context)
|
|
1699
|
+
};
|
|
1700
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1701
|
+
switch (errorCode) {
|
|
1702
|
+
case "InvalidNextTokenException":
|
|
1703
|
+
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
1704
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1705
|
+
case "LimitExceededException":
|
|
1706
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1707
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1708
|
+
default:
|
|
1709
|
+
const parsedBody = parsedOutput.body;
|
|
1710
|
+
return throwDefaultError({
|
|
1711
|
+
output,
|
|
1712
|
+
parsedBody,
|
|
1713
|
+
errorCode
|
|
1714
|
+
});
|
|
1715
|
+
}
|
|
1716
|
+
}, "de_GetSavingsPlansPurchaseRecommendationCommandError");
|
|
1717
|
+
var de_GetSavingsPlansUtilizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1718
|
+
if (output.statusCode >= 300) {
|
|
1719
|
+
return de_GetSavingsPlansUtilizationCommandError(output, context);
|
|
1720
|
+
}
|
|
1721
|
+
const data = await parseBody(output.body, context);
|
|
1722
|
+
let contents = {};
|
|
1723
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1724
|
+
const response = {
|
|
1725
|
+
$metadata: deserializeMetadata(output),
|
|
1726
|
+
...contents
|
|
1727
|
+
};
|
|
1728
|
+
return response;
|
|
1729
|
+
}, "de_GetSavingsPlansUtilizationCommand");
|
|
1730
|
+
var de_GetSavingsPlansUtilizationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1731
|
+
const parsedOutput = {
|
|
1732
|
+
...output,
|
|
1733
|
+
body: await parseErrorBody(output.body, context)
|
|
1734
|
+
};
|
|
1735
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1736
|
+
switch (errorCode) {
|
|
1737
|
+
case "DataUnavailableException":
|
|
1738
|
+
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
1739
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
1740
|
+
case "LimitExceededException":
|
|
1741
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1742
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1743
|
+
default:
|
|
1744
|
+
const parsedBody = parsedOutput.body;
|
|
1745
|
+
return throwDefaultError({
|
|
1746
|
+
output,
|
|
1747
|
+
parsedBody,
|
|
1748
|
+
errorCode
|
|
1749
|
+
});
|
|
1750
|
+
}
|
|
1751
|
+
}, "de_GetSavingsPlansUtilizationCommandError");
|
|
1752
|
+
var de_GetSavingsPlansUtilizationDetailsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1753
|
+
if (output.statusCode >= 300) {
|
|
1754
|
+
return de_GetSavingsPlansUtilizationDetailsCommandError(output, context);
|
|
1755
|
+
}
|
|
1756
|
+
const data = await parseBody(output.body, context);
|
|
1757
|
+
let contents = {};
|
|
1758
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1759
|
+
const response = {
|
|
1760
|
+
$metadata: deserializeMetadata(output),
|
|
1761
|
+
...contents
|
|
1762
|
+
};
|
|
1763
|
+
return response;
|
|
1764
|
+
}, "de_GetSavingsPlansUtilizationDetailsCommand");
|
|
1765
|
+
var de_GetSavingsPlansUtilizationDetailsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1766
|
+
const parsedOutput = {
|
|
1767
|
+
...output,
|
|
1768
|
+
body: await parseErrorBody(output.body, context)
|
|
1769
|
+
};
|
|
1770
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1771
|
+
switch (errorCode) {
|
|
1772
|
+
case "DataUnavailableException":
|
|
1773
|
+
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
1774
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
1775
|
+
case "InvalidNextTokenException":
|
|
1776
|
+
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
1777
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1778
|
+
case "LimitExceededException":
|
|
1779
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1780
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1781
|
+
default:
|
|
1782
|
+
const parsedBody = parsedOutput.body;
|
|
1783
|
+
return throwDefaultError({
|
|
1784
|
+
output,
|
|
1785
|
+
parsedBody,
|
|
1786
|
+
errorCode
|
|
1787
|
+
});
|
|
1788
|
+
}
|
|
1789
|
+
}, "de_GetSavingsPlansUtilizationDetailsCommandError");
|
|
1790
|
+
var de_GetTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1791
|
+
if (output.statusCode >= 300) {
|
|
1792
|
+
return de_GetTagsCommandError(output, context);
|
|
1793
|
+
}
|
|
1794
|
+
const data = await parseBody(output.body, context);
|
|
1795
|
+
let contents = {};
|
|
1796
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1797
|
+
const response = {
|
|
1798
|
+
$metadata: deserializeMetadata(output),
|
|
1799
|
+
...contents
|
|
1800
|
+
};
|
|
1801
|
+
return response;
|
|
1802
|
+
}, "de_GetTagsCommand");
|
|
1803
|
+
var de_GetTagsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1804
|
+
const parsedOutput = {
|
|
1805
|
+
...output,
|
|
1806
|
+
body: await parseErrorBody(output.body, context)
|
|
1807
|
+
};
|
|
1808
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1809
|
+
switch (errorCode) {
|
|
1810
|
+
case "BillExpirationException":
|
|
1811
|
+
case "com.amazonaws.costexplorer#BillExpirationException":
|
|
1812
|
+
throw await de_BillExpirationExceptionRes(parsedOutput, context);
|
|
1813
|
+
case "DataUnavailableException":
|
|
1814
|
+
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
1815
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
1816
|
+
case "InvalidNextTokenException":
|
|
1817
|
+
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
1818
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1819
|
+
case "LimitExceededException":
|
|
1820
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1821
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1822
|
+
case "RequestChangedException":
|
|
1823
|
+
case "com.amazonaws.costexplorer#RequestChangedException":
|
|
1824
|
+
throw await de_RequestChangedExceptionRes(parsedOutput, context);
|
|
1825
|
+
default:
|
|
1826
|
+
const parsedBody = parsedOutput.body;
|
|
1827
|
+
return throwDefaultError({
|
|
1828
|
+
output,
|
|
1829
|
+
parsedBody,
|
|
1830
|
+
errorCode
|
|
1831
|
+
});
|
|
1832
|
+
}
|
|
1833
|
+
}, "de_GetTagsCommandError");
|
|
1834
|
+
var de_GetUsageForecastCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1835
|
+
if (output.statusCode >= 300) {
|
|
1836
|
+
return de_GetUsageForecastCommandError(output, context);
|
|
1837
|
+
}
|
|
1838
|
+
const data = await parseBody(output.body, context);
|
|
1839
|
+
let contents = {};
|
|
1840
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1841
|
+
const response = {
|
|
1842
|
+
$metadata: deserializeMetadata(output),
|
|
1843
|
+
...contents
|
|
1844
|
+
};
|
|
1845
|
+
return response;
|
|
1846
|
+
}, "de_GetUsageForecastCommand");
|
|
1847
|
+
var de_GetUsageForecastCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1848
|
+
const parsedOutput = {
|
|
1849
|
+
...output,
|
|
1850
|
+
body: await parseErrorBody(output.body, context)
|
|
1851
|
+
};
|
|
1852
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1853
|
+
switch (errorCode) {
|
|
1854
|
+
case "DataUnavailableException":
|
|
1855
|
+
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
1856
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
1857
|
+
case "LimitExceededException":
|
|
1858
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1859
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1860
|
+
case "UnresolvableUsageUnitException":
|
|
1861
|
+
case "com.amazonaws.costexplorer#UnresolvableUsageUnitException":
|
|
1862
|
+
throw await de_UnresolvableUsageUnitExceptionRes(parsedOutput, context);
|
|
1863
|
+
default:
|
|
1864
|
+
const parsedBody = parsedOutput.body;
|
|
1865
|
+
return throwDefaultError({
|
|
1866
|
+
output,
|
|
1867
|
+
parsedBody,
|
|
1868
|
+
errorCode
|
|
1869
|
+
});
|
|
1870
|
+
}
|
|
1871
|
+
}, "de_GetUsageForecastCommandError");
|
|
1872
|
+
var de_ListCostAllocationTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1873
|
+
if (output.statusCode >= 300) {
|
|
1874
|
+
return de_ListCostAllocationTagsCommandError(output, context);
|
|
1875
|
+
}
|
|
1876
|
+
const data = await parseBody(output.body, context);
|
|
1877
|
+
let contents = {};
|
|
1878
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1879
|
+
const response = {
|
|
1880
|
+
$metadata: deserializeMetadata(output),
|
|
1881
|
+
...contents
|
|
1882
|
+
};
|
|
1883
|
+
return response;
|
|
1884
|
+
}, "de_ListCostAllocationTagsCommand");
|
|
1885
|
+
var de_ListCostAllocationTagsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1886
|
+
const parsedOutput = {
|
|
1887
|
+
...output,
|
|
1888
|
+
body: await parseErrorBody(output.body, context)
|
|
1889
|
+
};
|
|
1890
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1891
|
+
switch (errorCode) {
|
|
1892
|
+
case "InvalidNextTokenException":
|
|
1893
|
+
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
1894
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1895
|
+
case "LimitExceededException":
|
|
1896
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1897
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1898
|
+
default:
|
|
1899
|
+
const parsedBody = parsedOutput.body;
|
|
1900
|
+
return throwDefaultError({
|
|
1901
|
+
output,
|
|
1902
|
+
parsedBody,
|
|
1903
|
+
errorCode
|
|
1904
|
+
});
|
|
1905
|
+
}
|
|
1906
|
+
}, "de_ListCostAllocationTagsCommandError");
|
|
1907
|
+
var de_ListCostCategoryDefinitionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1908
|
+
if (output.statusCode >= 300) {
|
|
1909
|
+
return de_ListCostCategoryDefinitionsCommandError(output, context);
|
|
1910
|
+
}
|
|
1911
|
+
const data = await parseBody(output.body, context);
|
|
1912
|
+
let contents = {};
|
|
1913
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1914
|
+
const response = {
|
|
1915
|
+
$metadata: deserializeMetadata(output),
|
|
1916
|
+
...contents
|
|
1917
|
+
};
|
|
1918
|
+
return response;
|
|
1919
|
+
}, "de_ListCostCategoryDefinitionsCommand");
|
|
1920
|
+
var de_ListCostCategoryDefinitionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1921
|
+
const parsedOutput = {
|
|
1922
|
+
...output,
|
|
1923
|
+
body: await parseErrorBody(output.body, context)
|
|
1924
|
+
};
|
|
1925
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1926
|
+
switch (errorCode) {
|
|
1927
|
+
case "LimitExceededException":
|
|
1928
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1929
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1930
|
+
default:
|
|
1931
|
+
const parsedBody = parsedOutput.body;
|
|
1932
|
+
return throwDefaultError({
|
|
1933
|
+
output,
|
|
1934
|
+
parsedBody,
|
|
1935
|
+
errorCode
|
|
1936
|
+
});
|
|
1937
|
+
}
|
|
1938
|
+
}, "de_ListCostCategoryDefinitionsCommandError");
|
|
1939
|
+
var de_ListSavingsPlansPurchaseRecommendationGenerationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1940
|
+
if (output.statusCode >= 300) {
|
|
1941
|
+
return de_ListSavingsPlansPurchaseRecommendationGenerationCommandError(output, context);
|
|
1942
|
+
}
|
|
1943
|
+
const data = await parseBody(output.body, context);
|
|
1944
|
+
let contents = {};
|
|
1945
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1946
|
+
const response = {
|
|
1947
|
+
$metadata: deserializeMetadata(output),
|
|
1948
|
+
...contents
|
|
1949
|
+
};
|
|
1950
|
+
return response;
|
|
1951
|
+
}, "de_ListSavingsPlansPurchaseRecommendationGenerationCommand");
|
|
1952
|
+
var de_ListSavingsPlansPurchaseRecommendationGenerationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1953
|
+
const parsedOutput = {
|
|
1954
|
+
...output,
|
|
1955
|
+
body: await parseErrorBody(output.body, context)
|
|
1956
|
+
};
|
|
1957
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1958
|
+
switch (errorCode) {
|
|
1959
|
+
case "DataUnavailableException":
|
|
1960
|
+
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
1961
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
1962
|
+
case "InvalidNextTokenException":
|
|
1963
|
+
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
1964
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1965
|
+
case "LimitExceededException":
|
|
1966
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1967
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1968
|
+
default:
|
|
1969
|
+
const parsedBody = parsedOutput.body;
|
|
1970
|
+
return throwDefaultError({
|
|
1971
|
+
output,
|
|
1972
|
+
parsedBody,
|
|
1973
|
+
errorCode
|
|
1974
|
+
});
|
|
1975
|
+
}
|
|
1976
|
+
}, "de_ListSavingsPlansPurchaseRecommendationGenerationCommandError");
|
|
1977
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1978
|
+
if (output.statusCode >= 300) {
|
|
1979
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1980
|
+
}
|
|
1981
|
+
const data = await parseBody(output.body, context);
|
|
1982
|
+
let contents = {};
|
|
1983
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1984
|
+
const response = {
|
|
1985
|
+
$metadata: deserializeMetadata(output),
|
|
1986
|
+
...contents
|
|
1987
|
+
};
|
|
1988
|
+
return response;
|
|
1989
|
+
}, "de_ListTagsForResourceCommand");
|
|
1990
|
+
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1991
|
+
const parsedOutput = {
|
|
1992
|
+
...output,
|
|
1993
|
+
body: await parseErrorBody(output.body, context)
|
|
1994
|
+
};
|
|
1995
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1996
|
+
switch (errorCode) {
|
|
1997
|
+
case "LimitExceededException":
|
|
1998
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1999
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2000
|
+
case "ResourceNotFoundException":
|
|
2001
|
+
case "com.amazonaws.costexplorer#ResourceNotFoundException":
|
|
2002
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2003
|
+
default:
|
|
2004
|
+
const parsedBody = parsedOutput.body;
|
|
2005
|
+
return throwDefaultError({
|
|
2006
|
+
output,
|
|
2007
|
+
parsedBody,
|
|
2008
|
+
errorCode
|
|
2009
|
+
});
|
|
2010
|
+
}
|
|
2011
|
+
}, "de_ListTagsForResourceCommandError");
|
|
2012
|
+
var de_ProvideAnomalyFeedbackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2013
|
+
if (output.statusCode >= 300) {
|
|
2014
|
+
return de_ProvideAnomalyFeedbackCommandError(output, context);
|
|
2015
|
+
}
|
|
2016
|
+
const data = await parseBody(output.body, context);
|
|
2017
|
+
let contents = {};
|
|
2018
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2019
|
+
const response = {
|
|
2020
|
+
$metadata: deserializeMetadata(output),
|
|
2021
|
+
...contents
|
|
2022
|
+
};
|
|
2023
|
+
return response;
|
|
2024
|
+
}, "de_ProvideAnomalyFeedbackCommand");
|
|
2025
|
+
var de_ProvideAnomalyFeedbackCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2026
|
+
const parsedOutput = {
|
|
2027
|
+
...output,
|
|
2028
|
+
body: await parseErrorBody(output.body, context)
|
|
2029
|
+
};
|
|
2030
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2031
|
+
switch (errorCode) {
|
|
2032
|
+
case "LimitExceededException":
|
|
2033
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
2034
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2035
|
+
default:
|
|
2036
|
+
const parsedBody = parsedOutput.body;
|
|
2037
|
+
return throwDefaultError({
|
|
2038
|
+
output,
|
|
2039
|
+
parsedBody,
|
|
2040
|
+
errorCode
|
|
2041
|
+
});
|
|
2042
|
+
}
|
|
2043
|
+
}, "de_ProvideAnomalyFeedbackCommandError");
|
|
2044
|
+
var de_StartSavingsPlansPurchaseRecommendationGenerationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2045
|
+
if (output.statusCode >= 300) {
|
|
2046
|
+
return de_StartSavingsPlansPurchaseRecommendationGenerationCommandError(output, context);
|
|
2047
|
+
}
|
|
2048
|
+
const data = await parseBody(output.body, context);
|
|
2049
|
+
let contents = {};
|
|
2050
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2051
|
+
const response = {
|
|
2052
|
+
$metadata: deserializeMetadata(output),
|
|
2053
|
+
...contents
|
|
2054
|
+
};
|
|
2055
|
+
return response;
|
|
2056
|
+
}, "de_StartSavingsPlansPurchaseRecommendationGenerationCommand");
|
|
2057
|
+
var de_StartSavingsPlansPurchaseRecommendationGenerationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2058
|
+
const parsedOutput = {
|
|
2059
|
+
...output,
|
|
2060
|
+
body: await parseErrorBody(output.body, context)
|
|
2061
|
+
};
|
|
2062
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2063
|
+
switch (errorCode) {
|
|
2064
|
+
case "DataUnavailableException":
|
|
2065
|
+
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
2066
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
2067
|
+
case "GenerationExistsException":
|
|
2068
|
+
case "com.amazonaws.costexplorer#GenerationExistsException":
|
|
2069
|
+
throw await de_GenerationExistsExceptionRes(parsedOutput, context);
|
|
2070
|
+
case "LimitExceededException":
|
|
2071
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
2072
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2073
|
+
case "ServiceQuotaExceededException":
|
|
2074
|
+
case "com.amazonaws.costexplorer#ServiceQuotaExceededException":
|
|
2075
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2076
|
+
default:
|
|
2077
|
+
const parsedBody = parsedOutput.body;
|
|
2078
|
+
return throwDefaultError({
|
|
2079
|
+
output,
|
|
2080
|
+
parsedBody,
|
|
2081
|
+
errorCode
|
|
2082
|
+
});
|
|
2083
|
+
}
|
|
2084
|
+
}, "de_StartSavingsPlansPurchaseRecommendationGenerationCommandError");
|
|
2085
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2086
|
+
if (output.statusCode >= 300) {
|
|
2087
|
+
return de_TagResourceCommandError(output, context);
|
|
2088
|
+
}
|
|
2089
|
+
const data = await parseBody(output.body, context);
|
|
2090
|
+
let contents = {};
|
|
2091
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2092
|
+
const response = {
|
|
2093
|
+
$metadata: deserializeMetadata(output),
|
|
2094
|
+
...contents
|
|
2095
|
+
};
|
|
2096
|
+
return response;
|
|
2097
|
+
}, "de_TagResourceCommand");
|
|
2098
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2099
|
+
const parsedOutput = {
|
|
2100
|
+
...output,
|
|
2101
|
+
body: await parseErrorBody(output.body, context)
|
|
2102
|
+
};
|
|
2103
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2104
|
+
switch (errorCode) {
|
|
2105
|
+
case "LimitExceededException":
|
|
2106
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
2107
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2108
|
+
case "ResourceNotFoundException":
|
|
2109
|
+
case "com.amazonaws.costexplorer#ResourceNotFoundException":
|
|
2110
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2111
|
+
case "TooManyTagsException":
|
|
2112
|
+
case "com.amazonaws.costexplorer#TooManyTagsException":
|
|
2113
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
2114
|
+
default:
|
|
2115
|
+
const parsedBody = parsedOutput.body;
|
|
2116
|
+
return throwDefaultError({
|
|
2117
|
+
output,
|
|
2118
|
+
parsedBody,
|
|
2119
|
+
errorCode
|
|
2120
|
+
});
|
|
2121
|
+
}
|
|
2122
|
+
}, "de_TagResourceCommandError");
|
|
2123
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2124
|
+
if (output.statusCode >= 300) {
|
|
2125
|
+
return de_UntagResourceCommandError(output, context);
|
|
2126
|
+
}
|
|
2127
|
+
const data = await parseBody(output.body, context);
|
|
2128
|
+
let contents = {};
|
|
2129
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2130
|
+
const response = {
|
|
2131
|
+
$metadata: deserializeMetadata(output),
|
|
2132
|
+
...contents
|
|
2133
|
+
};
|
|
2134
|
+
return response;
|
|
2135
|
+
}, "de_UntagResourceCommand");
|
|
2136
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2137
|
+
const parsedOutput = {
|
|
2138
|
+
...output,
|
|
2139
|
+
body: await parseErrorBody(output.body, context)
|
|
2140
|
+
};
|
|
2141
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2142
|
+
switch (errorCode) {
|
|
2143
|
+
case "LimitExceededException":
|
|
2144
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
2145
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2146
|
+
case "ResourceNotFoundException":
|
|
2147
|
+
case "com.amazonaws.costexplorer#ResourceNotFoundException":
|
|
2148
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2149
|
+
default:
|
|
2150
|
+
const parsedBody = parsedOutput.body;
|
|
2151
|
+
return throwDefaultError({
|
|
2152
|
+
output,
|
|
2153
|
+
parsedBody,
|
|
2154
|
+
errorCode
|
|
2155
|
+
});
|
|
2156
|
+
}
|
|
2157
|
+
}, "de_UntagResourceCommandError");
|
|
2158
|
+
var de_UpdateAnomalyMonitorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2159
|
+
if (output.statusCode >= 300) {
|
|
2160
|
+
return de_UpdateAnomalyMonitorCommandError(output, context);
|
|
2161
|
+
}
|
|
2162
|
+
const data = await parseBody(output.body, context);
|
|
2163
|
+
let contents = {};
|
|
2164
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2165
|
+
const response = {
|
|
2166
|
+
$metadata: deserializeMetadata(output),
|
|
2167
|
+
...contents
|
|
2168
|
+
};
|
|
2169
|
+
return response;
|
|
2170
|
+
}, "de_UpdateAnomalyMonitorCommand");
|
|
2171
|
+
var de_UpdateAnomalyMonitorCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2172
|
+
const parsedOutput = {
|
|
2173
|
+
...output,
|
|
2174
|
+
body: await parseErrorBody(output.body, context)
|
|
2175
|
+
};
|
|
2176
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2177
|
+
switch (errorCode) {
|
|
2178
|
+
case "LimitExceededException":
|
|
2179
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
2180
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2181
|
+
case "UnknownMonitorException":
|
|
2182
|
+
case "com.amazonaws.costexplorer#UnknownMonitorException":
|
|
2183
|
+
throw await de_UnknownMonitorExceptionRes(parsedOutput, context);
|
|
2184
|
+
default:
|
|
2185
|
+
const parsedBody = parsedOutput.body;
|
|
2186
|
+
return throwDefaultError({
|
|
2187
|
+
output,
|
|
2188
|
+
parsedBody,
|
|
2189
|
+
errorCode
|
|
2190
|
+
});
|
|
2191
|
+
}
|
|
2192
|
+
}, "de_UpdateAnomalyMonitorCommandError");
|
|
2193
|
+
var de_UpdateAnomalySubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2194
|
+
if (output.statusCode >= 300) {
|
|
2195
|
+
return de_UpdateAnomalySubscriptionCommandError(output, context);
|
|
2196
|
+
}
|
|
2197
|
+
const data = await parseBody(output.body, context);
|
|
2198
|
+
let contents = {};
|
|
2199
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2200
|
+
const response = {
|
|
2201
|
+
$metadata: deserializeMetadata(output),
|
|
2202
|
+
...contents
|
|
2203
|
+
};
|
|
2204
|
+
return response;
|
|
2205
|
+
}, "de_UpdateAnomalySubscriptionCommand");
|
|
2206
|
+
var de_UpdateAnomalySubscriptionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2207
|
+
const parsedOutput = {
|
|
2208
|
+
...output,
|
|
2209
|
+
body: await parseErrorBody(output.body, context)
|
|
2210
|
+
};
|
|
2211
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2212
|
+
switch (errorCode) {
|
|
2213
|
+
case "LimitExceededException":
|
|
2214
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
2215
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2216
|
+
case "UnknownMonitorException":
|
|
2217
|
+
case "com.amazonaws.costexplorer#UnknownMonitorException":
|
|
2218
|
+
throw await de_UnknownMonitorExceptionRes(parsedOutput, context);
|
|
2219
|
+
case "UnknownSubscriptionException":
|
|
2220
|
+
case "com.amazonaws.costexplorer#UnknownSubscriptionException":
|
|
2221
|
+
throw await de_UnknownSubscriptionExceptionRes(parsedOutput, context);
|
|
2222
|
+
default:
|
|
2223
|
+
const parsedBody = parsedOutput.body;
|
|
2224
|
+
return throwDefaultError({
|
|
2225
|
+
output,
|
|
2226
|
+
parsedBody,
|
|
2227
|
+
errorCode
|
|
2228
|
+
});
|
|
2229
|
+
}
|
|
2230
|
+
}, "de_UpdateAnomalySubscriptionCommandError");
|
|
2231
|
+
var de_UpdateCostAllocationTagsStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2232
|
+
if (output.statusCode >= 300) {
|
|
2233
|
+
return de_UpdateCostAllocationTagsStatusCommandError(output, context);
|
|
2234
|
+
}
|
|
2235
|
+
const data = await parseBody(output.body, context);
|
|
2236
|
+
let contents = {};
|
|
2237
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2238
|
+
const response = {
|
|
2239
|
+
$metadata: deserializeMetadata(output),
|
|
2240
|
+
...contents
|
|
2241
|
+
};
|
|
2242
|
+
return response;
|
|
2243
|
+
}, "de_UpdateCostAllocationTagsStatusCommand");
|
|
2244
|
+
var de_UpdateCostAllocationTagsStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2245
|
+
const parsedOutput = {
|
|
2246
|
+
...output,
|
|
2247
|
+
body: await parseErrorBody(output.body, context)
|
|
2248
|
+
};
|
|
2249
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2250
|
+
switch (errorCode) {
|
|
2251
|
+
case "LimitExceededException":
|
|
2252
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
2253
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2254
|
+
default:
|
|
2255
|
+
const parsedBody = parsedOutput.body;
|
|
2256
|
+
return throwDefaultError({
|
|
2257
|
+
output,
|
|
2258
|
+
parsedBody,
|
|
2259
|
+
errorCode
|
|
2260
|
+
});
|
|
2261
|
+
}
|
|
2262
|
+
}, "de_UpdateCostAllocationTagsStatusCommandError");
|
|
2263
|
+
var de_UpdateCostCategoryDefinitionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2264
|
+
if (output.statusCode >= 300) {
|
|
2265
|
+
return de_UpdateCostCategoryDefinitionCommandError(output, context);
|
|
2266
|
+
}
|
|
2267
|
+
const data = await parseBody(output.body, context);
|
|
2268
|
+
let contents = {};
|
|
2269
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2270
|
+
const response = {
|
|
2271
|
+
$metadata: deserializeMetadata(output),
|
|
2272
|
+
...contents
|
|
2273
|
+
};
|
|
2274
|
+
return response;
|
|
2275
|
+
}, "de_UpdateCostCategoryDefinitionCommand");
|
|
2276
|
+
var de_UpdateCostCategoryDefinitionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2277
|
+
const parsedOutput = {
|
|
2278
|
+
...output,
|
|
2279
|
+
body: await parseErrorBody(output.body, context)
|
|
2280
|
+
};
|
|
2281
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2282
|
+
switch (errorCode) {
|
|
2283
|
+
case "LimitExceededException":
|
|
2284
|
+
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
2285
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2286
|
+
case "ResourceNotFoundException":
|
|
2287
|
+
case "com.amazonaws.costexplorer#ResourceNotFoundException":
|
|
2288
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2289
|
+
case "ServiceQuotaExceededException":
|
|
2290
|
+
case "com.amazonaws.costexplorer#ServiceQuotaExceededException":
|
|
2291
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2292
|
+
default:
|
|
2293
|
+
const parsedBody = parsedOutput.body;
|
|
2294
|
+
return throwDefaultError({
|
|
2295
|
+
output,
|
|
2296
|
+
parsedBody,
|
|
2297
|
+
errorCode
|
|
2298
|
+
});
|
|
2299
|
+
}
|
|
2300
|
+
}, "de_UpdateCostCategoryDefinitionCommandError");
|
|
2301
|
+
var de_BillExpirationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2302
|
+
const body = parsedOutput.body;
|
|
2303
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2304
|
+
const exception = new BillExpirationException({
|
|
2305
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2306
|
+
...deserialized
|
|
2307
|
+
});
|
|
2308
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2309
|
+
}, "de_BillExpirationExceptionRes");
|
|
2310
|
+
var de_DataUnavailableExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2311
|
+
const body = parsedOutput.body;
|
|
2312
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2313
|
+
const exception = new DataUnavailableException({
|
|
2314
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2315
|
+
...deserialized
|
|
2316
|
+
});
|
|
2317
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2318
|
+
}, "de_DataUnavailableExceptionRes");
|
|
2319
|
+
var de_GenerationExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2320
|
+
const body = parsedOutput.body;
|
|
2321
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2322
|
+
const exception = new GenerationExistsException({
|
|
2323
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2324
|
+
...deserialized
|
|
2325
|
+
});
|
|
2326
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2327
|
+
}, "de_GenerationExistsExceptionRes");
|
|
2328
|
+
var de_InvalidNextTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2329
|
+
const body = parsedOutput.body;
|
|
2330
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2331
|
+
const exception = new InvalidNextTokenException({
|
|
2332
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2333
|
+
...deserialized
|
|
2334
|
+
});
|
|
2335
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2336
|
+
}, "de_InvalidNextTokenExceptionRes");
|
|
2337
|
+
var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2338
|
+
const body = parsedOutput.body;
|
|
2339
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2340
|
+
const exception = new LimitExceededException({
|
|
2341
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2342
|
+
...deserialized
|
|
2343
|
+
});
|
|
2344
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2345
|
+
}, "de_LimitExceededExceptionRes");
|
|
2346
|
+
var de_RequestChangedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2347
|
+
const body = parsedOutput.body;
|
|
2348
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2349
|
+
const exception = new RequestChangedException({
|
|
2350
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2351
|
+
...deserialized
|
|
2352
|
+
});
|
|
2353
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2354
|
+
}, "de_RequestChangedExceptionRes");
|
|
2355
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2356
|
+
const body = parsedOutput.body;
|
|
2357
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2358
|
+
const exception = new ResourceNotFoundException({
|
|
2359
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2360
|
+
...deserialized
|
|
2361
|
+
});
|
|
2362
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2363
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
2364
|
+
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2365
|
+
const body = parsedOutput.body;
|
|
2366
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2367
|
+
const exception = new ServiceQuotaExceededException({
|
|
2368
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2369
|
+
...deserialized
|
|
2370
|
+
});
|
|
2371
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2372
|
+
}, "de_ServiceQuotaExceededExceptionRes");
|
|
2373
|
+
var de_TooManyTagsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2374
|
+
const body = parsedOutput.body;
|
|
2375
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2376
|
+
const exception = new TooManyTagsException({
|
|
2377
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2378
|
+
...deserialized
|
|
2379
|
+
});
|
|
2380
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2381
|
+
}, "de_TooManyTagsExceptionRes");
|
|
2382
|
+
var de_UnknownMonitorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2383
|
+
const body = parsedOutput.body;
|
|
2384
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2385
|
+
const exception = new UnknownMonitorException({
|
|
2386
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2387
|
+
...deserialized
|
|
2388
|
+
});
|
|
2389
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2390
|
+
}, "de_UnknownMonitorExceptionRes");
|
|
2391
|
+
var de_UnknownSubscriptionExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2392
|
+
const body = parsedOutput.body;
|
|
2393
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2394
|
+
const exception = new UnknownSubscriptionException({
|
|
2395
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2396
|
+
...deserialized
|
|
2397
|
+
});
|
|
2398
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2399
|
+
}, "de_UnknownSubscriptionExceptionRes");
|
|
2400
|
+
var de_UnresolvableUsageUnitExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2401
|
+
const body = parsedOutput.body;
|
|
2402
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2403
|
+
const exception = new UnresolvableUsageUnitException({
|
|
2404
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2405
|
+
...deserialized
|
|
2406
|
+
});
|
|
2407
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2408
|
+
}, "de_UnresolvableUsageUnitExceptionRes");
|
|
2409
|
+
var se_AnomalyMonitor = /* @__PURE__ */ __name((input, context) => {
|
|
2410
|
+
return (0, import_smithy_client.take)(input, {
|
|
2411
|
+
CreationDate: [],
|
|
2412
|
+
DimensionalValueCount: [],
|
|
2413
|
+
LastEvaluatedDate: [],
|
|
2414
|
+
LastUpdatedDate: [],
|
|
2415
|
+
MonitorArn: [],
|
|
2416
|
+
MonitorDimension: [],
|
|
2417
|
+
MonitorName: [],
|
|
2418
|
+
MonitorSpecification: (_) => se_Expression(_, context),
|
|
2419
|
+
MonitorType: []
|
|
2420
|
+
});
|
|
2421
|
+
}, "se_AnomalyMonitor");
|
|
2422
|
+
var se_AnomalySubscription = /* @__PURE__ */ __name((input, context) => {
|
|
2423
|
+
return (0, import_smithy_client.take)(input, {
|
|
2424
|
+
AccountId: [],
|
|
2425
|
+
Frequency: [],
|
|
2426
|
+
MonitorArnList: import_smithy_client._json,
|
|
2427
|
+
Subscribers: import_smithy_client._json,
|
|
2428
|
+
SubscriptionArn: [],
|
|
2429
|
+
SubscriptionName: [],
|
|
2430
|
+
Threshold: import_smithy_client.serializeFloat,
|
|
2431
|
+
ThresholdExpression: (_) => se_Expression(_, context)
|
|
2432
|
+
});
|
|
2433
|
+
}, "se_AnomalySubscription");
|
|
2434
|
+
var se_CostCategoryRule = /* @__PURE__ */ __name((input, context) => {
|
|
2435
|
+
return (0, import_smithy_client.take)(input, {
|
|
2436
|
+
InheritedValue: import_smithy_client._json,
|
|
2437
|
+
Rule: (_) => se_Expression(_, context),
|
|
2438
|
+
Type: [],
|
|
2439
|
+
Value: []
|
|
2440
|
+
});
|
|
2441
|
+
}, "se_CostCategoryRule");
|
|
2442
|
+
var se_CostCategoryRulesList = /* @__PURE__ */ __name((input, context) => {
|
|
2443
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
2444
|
+
return se_CostCategoryRule(entry, context);
|
|
2445
|
+
});
|
|
2446
|
+
}, "se_CostCategoryRulesList");
|
|
2447
|
+
var se_CreateAnomalyMonitorRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2448
|
+
return (0, import_smithy_client.take)(input, {
|
|
2449
|
+
AnomalyMonitor: (_) => se_AnomalyMonitor(_, context),
|
|
2450
|
+
ResourceTags: import_smithy_client._json
|
|
2451
|
+
});
|
|
2452
|
+
}, "se_CreateAnomalyMonitorRequest");
|
|
2453
|
+
var se_CreateAnomalySubscriptionRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2454
|
+
return (0, import_smithy_client.take)(input, {
|
|
2455
|
+
AnomalySubscription: (_) => se_AnomalySubscription(_, context),
|
|
2456
|
+
ResourceTags: import_smithy_client._json
|
|
2457
|
+
});
|
|
2458
|
+
}, "se_CreateAnomalySubscriptionRequest");
|
|
2459
|
+
var se_CreateCostCategoryDefinitionRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2460
|
+
return (0, import_smithy_client.take)(input, {
|
|
2461
|
+
DefaultValue: [],
|
|
2462
|
+
EffectiveStart: [],
|
|
2463
|
+
Name: [],
|
|
2464
|
+
ResourceTags: import_smithy_client._json,
|
|
2465
|
+
RuleVersion: [],
|
|
2466
|
+
Rules: (_) => se_CostCategoryRulesList(_, context),
|
|
2467
|
+
SplitChargeRules: import_smithy_client._json
|
|
2468
|
+
});
|
|
2469
|
+
}, "se_CreateCostCategoryDefinitionRequest");
|
|
2470
|
+
var se_Expression = /* @__PURE__ */ __name((input, context) => {
|
|
2471
|
+
return (0, import_smithy_client.take)(input, {
|
|
2472
|
+
And: (_) => se_Expressions(_, context),
|
|
2473
|
+
CostCategories: import_smithy_client._json,
|
|
2474
|
+
Dimensions: import_smithy_client._json,
|
|
2475
|
+
Not: (_) => se_Expression(_, context),
|
|
2476
|
+
Or: (_) => se_Expressions(_, context),
|
|
2477
|
+
Tags: import_smithy_client._json
|
|
2478
|
+
});
|
|
2479
|
+
}, "se_Expression");
|
|
2480
|
+
var se_Expressions = /* @__PURE__ */ __name((input, context) => {
|
|
2481
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
2482
|
+
return se_Expression(entry, context);
|
|
2483
|
+
});
|
|
2484
|
+
}, "se_Expressions");
|
|
2485
|
+
var se_GetAnomaliesRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2486
|
+
return (0, import_smithy_client.take)(input, {
|
|
2487
|
+
DateInterval: import_smithy_client._json,
|
|
2488
|
+
Feedback: [],
|
|
2489
|
+
MaxResults: [],
|
|
2490
|
+
MonitorArn: [],
|
|
2491
|
+
NextPageToken: [],
|
|
2492
|
+
TotalImpact: (_) => se_TotalImpactFilter(_, context)
|
|
2493
|
+
});
|
|
2494
|
+
}, "se_GetAnomaliesRequest");
|
|
2495
|
+
var se_GetCostAndUsageRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2496
|
+
return (0, import_smithy_client.take)(input, {
|
|
2497
|
+
Filter: (_) => se_Expression(_, context),
|
|
2498
|
+
Granularity: [],
|
|
2499
|
+
GroupBy: import_smithy_client._json,
|
|
2500
|
+
Metrics: import_smithy_client._json,
|
|
2501
|
+
NextPageToken: [],
|
|
2502
|
+
TimePeriod: import_smithy_client._json
|
|
2503
|
+
});
|
|
2504
|
+
}, "se_GetCostAndUsageRequest");
|
|
2505
|
+
var se_GetCostAndUsageWithResourcesRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2506
|
+
return (0, import_smithy_client.take)(input, {
|
|
2507
|
+
Filter: (_) => se_Expression(_, context),
|
|
2508
|
+
Granularity: [],
|
|
2509
|
+
GroupBy: import_smithy_client._json,
|
|
2510
|
+
Metrics: import_smithy_client._json,
|
|
2511
|
+
NextPageToken: [],
|
|
2512
|
+
TimePeriod: import_smithy_client._json
|
|
2513
|
+
});
|
|
2514
|
+
}, "se_GetCostAndUsageWithResourcesRequest");
|
|
2515
|
+
var se_GetCostCategoriesRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2516
|
+
return (0, import_smithy_client.take)(input, {
|
|
2517
|
+
CostCategoryName: [],
|
|
2518
|
+
Filter: (_) => se_Expression(_, context),
|
|
2519
|
+
MaxResults: [],
|
|
2520
|
+
NextPageToken: [],
|
|
2521
|
+
SearchString: [],
|
|
2522
|
+
SortBy: import_smithy_client._json,
|
|
2523
|
+
TimePeriod: import_smithy_client._json
|
|
2524
|
+
});
|
|
2525
|
+
}, "se_GetCostCategoriesRequest");
|
|
2526
|
+
var se_GetCostForecastRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2527
|
+
return (0, import_smithy_client.take)(input, {
|
|
2528
|
+
Filter: (_) => se_Expression(_, context),
|
|
2529
|
+
Granularity: [],
|
|
2530
|
+
Metric: [],
|
|
2531
|
+
PredictionIntervalLevel: [],
|
|
2532
|
+
TimePeriod: import_smithy_client._json
|
|
2533
|
+
});
|
|
2534
|
+
}, "se_GetCostForecastRequest");
|
|
2535
|
+
var se_GetDimensionValuesRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2536
|
+
return (0, import_smithy_client.take)(input, {
|
|
2537
|
+
Context: [],
|
|
2538
|
+
Dimension: [],
|
|
2539
|
+
Filter: (_) => se_Expression(_, context),
|
|
2540
|
+
MaxResults: [],
|
|
2541
|
+
NextPageToken: [],
|
|
2542
|
+
SearchString: [],
|
|
2543
|
+
SortBy: import_smithy_client._json,
|
|
2544
|
+
TimePeriod: import_smithy_client._json
|
|
2545
|
+
});
|
|
2546
|
+
}, "se_GetDimensionValuesRequest");
|
|
2547
|
+
var se_GetReservationCoverageRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2548
|
+
return (0, import_smithy_client.take)(input, {
|
|
2549
|
+
Filter: (_) => se_Expression(_, context),
|
|
2550
|
+
Granularity: [],
|
|
2551
|
+
GroupBy: import_smithy_client._json,
|
|
2552
|
+
MaxResults: [],
|
|
2553
|
+
Metrics: import_smithy_client._json,
|
|
2554
|
+
NextPageToken: [],
|
|
2555
|
+
SortBy: import_smithy_client._json,
|
|
2556
|
+
TimePeriod: import_smithy_client._json
|
|
2557
|
+
});
|
|
2558
|
+
}, "se_GetReservationCoverageRequest");
|
|
2559
|
+
var se_GetReservationPurchaseRecommendationRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2560
|
+
return (0, import_smithy_client.take)(input, {
|
|
2561
|
+
AccountId: [],
|
|
2562
|
+
AccountScope: [],
|
|
2563
|
+
Filter: (_) => se_Expression(_, context),
|
|
2564
|
+
LookbackPeriodInDays: [],
|
|
2565
|
+
NextPageToken: [],
|
|
2566
|
+
PageSize: [],
|
|
2567
|
+
PaymentOption: [],
|
|
2568
|
+
Service: [],
|
|
2569
|
+
ServiceSpecification: import_smithy_client._json,
|
|
2570
|
+
TermInYears: []
|
|
2571
|
+
});
|
|
2572
|
+
}, "se_GetReservationPurchaseRecommendationRequest");
|
|
2573
|
+
var se_GetReservationUtilizationRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2574
|
+
return (0, import_smithy_client.take)(input, {
|
|
2575
|
+
Filter: (_) => se_Expression(_, context),
|
|
2576
|
+
Granularity: [],
|
|
2577
|
+
GroupBy: import_smithy_client._json,
|
|
2578
|
+
MaxResults: [],
|
|
2579
|
+
NextPageToken: [],
|
|
2580
|
+
SortBy: import_smithy_client._json,
|
|
2581
|
+
TimePeriod: import_smithy_client._json
|
|
2582
|
+
});
|
|
2583
|
+
}, "se_GetReservationUtilizationRequest");
|
|
2584
|
+
var se_GetRightsizingRecommendationRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2585
|
+
return (0, import_smithy_client.take)(input, {
|
|
2586
|
+
Configuration: import_smithy_client._json,
|
|
2587
|
+
Filter: (_) => se_Expression(_, context),
|
|
2588
|
+
NextPageToken: [],
|
|
2589
|
+
PageSize: [],
|
|
2590
|
+
Service: []
|
|
2591
|
+
});
|
|
2592
|
+
}, "se_GetRightsizingRecommendationRequest");
|
|
2593
|
+
var se_GetSavingsPlansCoverageRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2594
|
+
return (0, import_smithy_client.take)(input, {
|
|
2595
|
+
Filter: (_) => se_Expression(_, context),
|
|
2596
|
+
Granularity: [],
|
|
2597
|
+
GroupBy: import_smithy_client._json,
|
|
2598
|
+
MaxResults: [],
|
|
2599
|
+
Metrics: import_smithy_client._json,
|
|
2600
|
+
NextToken: [],
|
|
2601
|
+
SortBy: import_smithy_client._json,
|
|
2602
|
+
TimePeriod: import_smithy_client._json
|
|
2603
|
+
});
|
|
2604
|
+
}, "se_GetSavingsPlansCoverageRequest");
|
|
2605
|
+
var se_GetSavingsPlansPurchaseRecommendationRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2606
|
+
return (0, import_smithy_client.take)(input, {
|
|
2607
|
+
AccountScope: [],
|
|
2608
|
+
Filter: (_) => se_Expression(_, context),
|
|
2609
|
+
LookbackPeriodInDays: [],
|
|
2610
|
+
NextPageToken: [],
|
|
2611
|
+
PageSize: [],
|
|
2612
|
+
PaymentOption: [],
|
|
2613
|
+
SavingsPlansType: [],
|
|
2614
|
+
TermInYears: []
|
|
2615
|
+
});
|
|
2616
|
+
}, "se_GetSavingsPlansPurchaseRecommendationRequest");
|
|
2617
|
+
var se_GetSavingsPlansUtilizationDetailsRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2618
|
+
return (0, import_smithy_client.take)(input, {
|
|
2619
|
+
DataType: import_smithy_client._json,
|
|
2620
|
+
Filter: (_) => se_Expression(_, context),
|
|
2621
|
+
MaxResults: [],
|
|
2622
|
+
NextToken: [],
|
|
2623
|
+
SortBy: import_smithy_client._json,
|
|
2624
|
+
TimePeriod: import_smithy_client._json
|
|
2625
|
+
});
|
|
2626
|
+
}, "se_GetSavingsPlansUtilizationDetailsRequest");
|
|
2627
|
+
var se_GetSavingsPlansUtilizationRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2628
|
+
return (0, import_smithy_client.take)(input, {
|
|
2629
|
+
Filter: (_) => se_Expression(_, context),
|
|
2630
|
+
Granularity: [],
|
|
2631
|
+
SortBy: import_smithy_client._json,
|
|
2632
|
+
TimePeriod: import_smithy_client._json
|
|
2633
|
+
});
|
|
2634
|
+
}, "se_GetSavingsPlansUtilizationRequest");
|
|
2635
|
+
var se_GetTagsRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2636
|
+
return (0, import_smithy_client.take)(input, {
|
|
2637
|
+
Filter: (_) => se_Expression(_, context),
|
|
2638
|
+
MaxResults: [],
|
|
2639
|
+
NextPageToken: [],
|
|
2640
|
+
SearchString: [],
|
|
2641
|
+
SortBy: import_smithy_client._json,
|
|
2642
|
+
TagKey: [],
|
|
2643
|
+
TimePeriod: import_smithy_client._json
|
|
2644
|
+
});
|
|
2645
|
+
}, "se_GetTagsRequest");
|
|
2646
|
+
var se_GetUsageForecastRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2647
|
+
return (0, import_smithy_client.take)(input, {
|
|
2648
|
+
Filter: (_) => se_Expression(_, context),
|
|
2649
|
+
Granularity: [],
|
|
2650
|
+
Metric: [],
|
|
2651
|
+
PredictionIntervalLevel: [],
|
|
2652
|
+
TimePeriod: import_smithy_client._json
|
|
2653
|
+
});
|
|
2654
|
+
}, "se_GetUsageForecastRequest");
|
|
2655
|
+
var se_TotalImpactFilter = /* @__PURE__ */ __name((input, context) => {
|
|
2656
|
+
return (0, import_smithy_client.take)(input, {
|
|
2657
|
+
EndValue: import_smithy_client.serializeFloat,
|
|
2658
|
+
NumericOperator: [],
|
|
2659
|
+
StartValue: import_smithy_client.serializeFloat
|
|
2660
|
+
});
|
|
2661
|
+
}, "se_TotalImpactFilter");
|
|
2662
|
+
var se_UpdateAnomalySubscriptionRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2663
|
+
return (0, import_smithy_client.take)(input, {
|
|
2664
|
+
Frequency: [],
|
|
2665
|
+
MonitorArnList: import_smithy_client._json,
|
|
2666
|
+
Subscribers: import_smithy_client._json,
|
|
2667
|
+
SubscriptionArn: [],
|
|
2668
|
+
SubscriptionName: [],
|
|
2669
|
+
Threshold: import_smithy_client.serializeFloat,
|
|
2670
|
+
ThresholdExpression: (_) => se_Expression(_, context)
|
|
2671
|
+
});
|
|
2672
|
+
}, "se_UpdateAnomalySubscriptionRequest");
|
|
2673
|
+
var se_UpdateCostCategoryDefinitionRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2674
|
+
return (0, import_smithy_client.take)(input, {
|
|
2675
|
+
CostCategoryArn: [],
|
|
2676
|
+
DefaultValue: [],
|
|
2677
|
+
EffectiveStart: [],
|
|
2678
|
+
RuleVersion: [],
|
|
2679
|
+
Rules: (_) => se_CostCategoryRulesList(_, context),
|
|
2680
|
+
SplitChargeRules: import_smithy_client._json
|
|
2681
|
+
});
|
|
2682
|
+
}, "se_UpdateCostCategoryDefinitionRequest");
|
|
2683
|
+
var de_Anomalies = /* @__PURE__ */ __name((output, context) => {
|
|
2684
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2685
|
+
return de_Anomaly(entry, context);
|
|
2686
|
+
});
|
|
2687
|
+
return retVal;
|
|
2688
|
+
}, "de_Anomalies");
|
|
2689
|
+
var de_Anomaly = /* @__PURE__ */ __name((output, context) => {
|
|
2690
|
+
return (0, import_smithy_client.take)(output, {
|
|
2691
|
+
AnomalyEndDate: import_smithy_client.expectString,
|
|
2692
|
+
AnomalyId: import_smithy_client.expectString,
|
|
2693
|
+
AnomalyScore: (_) => de_AnomalyScore(_, context),
|
|
2694
|
+
AnomalyStartDate: import_smithy_client.expectString,
|
|
2695
|
+
DimensionValue: import_smithy_client.expectString,
|
|
2696
|
+
Feedback: import_smithy_client.expectString,
|
|
2697
|
+
Impact: (_) => de_Impact(_, context),
|
|
2698
|
+
MonitorArn: import_smithy_client.expectString,
|
|
2699
|
+
RootCauses: import_smithy_client._json
|
|
2700
|
+
});
|
|
2701
|
+
}, "de_Anomaly");
|
|
2702
|
+
var de_AnomalyMonitor = /* @__PURE__ */ __name((output, context) => {
|
|
2703
|
+
return (0, import_smithy_client.take)(output, {
|
|
2704
|
+
CreationDate: import_smithy_client.expectString,
|
|
2705
|
+
DimensionalValueCount: import_smithy_client.expectInt32,
|
|
2706
|
+
LastEvaluatedDate: import_smithy_client.expectString,
|
|
2707
|
+
LastUpdatedDate: import_smithy_client.expectString,
|
|
2708
|
+
MonitorArn: import_smithy_client.expectString,
|
|
2709
|
+
MonitorDimension: import_smithy_client.expectString,
|
|
2710
|
+
MonitorName: import_smithy_client.expectString,
|
|
2711
|
+
MonitorSpecification: (_) => de_Expression(_, context),
|
|
2712
|
+
MonitorType: import_smithy_client.expectString
|
|
2713
|
+
});
|
|
2714
|
+
}, "de_AnomalyMonitor");
|
|
2715
|
+
var de_AnomalyMonitors = /* @__PURE__ */ __name((output, context) => {
|
|
2716
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2717
|
+
return de_AnomalyMonitor(entry, context);
|
|
2718
|
+
});
|
|
2719
|
+
return retVal;
|
|
2720
|
+
}, "de_AnomalyMonitors");
|
|
2721
|
+
var de_AnomalyScore = /* @__PURE__ */ __name((output, context) => {
|
|
2722
|
+
return (0, import_smithy_client.take)(output, {
|
|
2723
|
+
CurrentScore: import_smithy_client.limitedParseDouble,
|
|
2724
|
+
MaxScore: import_smithy_client.limitedParseDouble
|
|
2725
|
+
});
|
|
2726
|
+
}, "de_AnomalyScore");
|
|
2727
|
+
var de_AnomalySubscription = /* @__PURE__ */ __name((output, context) => {
|
|
2728
|
+
return (0, import_smithy_client.take)(output, {
|
|
2729
|
+
AccountId: import_smithy_client.expectString,
|
|
2730
|
+
Frequency: import_smithy_client.expectString,
|
|
2731
|
+
MonitorArnList: import_smithy_client._json,
|
|
2732
|
+
Subscribers: import_smithy_client._json,
|
|
2733
|
+
SubscriptionArn: import_smithy_client.expectString,
|
|
2734
|
+
SubscriptionName: import_smithy_client.expectString,
|
|
2735
|
+
Threshold: import_smithy_client.limitedParseDouble,
|
|
2736
|
+
ThresholdExpression: (_) => de_Expression(_, context)
|
|
2737
|
+
});
|
|
2738
|
+
}, "de_AnomalySubscription");
|
|
2739
|
+
var de_AnomalySubscriptions = /* @__PURE__ */ __name((output, context) => {
|
|
2740
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2741
|
+
return de_AnomalySubscription(entry, context);
|
|
2742
|
+
});
|
|
2743
|
+
return retVal;
|
|
2744
|
+
}, "de_AnomalySubscriptions");
|
|
2745
|
+
var de_CostCategory = /* @__PURE__ */ __name((output, context) => {
|
|
2746
|
+
return (0, import_smithy_client.take)(output, {
|
|
2747
|
+
CostCategoryArn: import_smithy_client.expectString,
|
|
2748
|
+
DefaultValue: import_smithy_client.expectString,
|
|
2749
|
+
EffectiveEnd: import_smithy_client.expectString,
|
|
2750
|
+
EffectiveStart: import_smithy_client.expectString,
|
|
2751
|
+
Name: import_smithy_client.expectString,
|
|
2752
|
+
ProcessingStatus: import_smithy_client._json,
|
|
2753
|
+
RuleVersion: import_smithy_client.expectString,
|
|
2754
|
+
Rules: (_) => de_CostCategoryRulesList(_, context),
|
|
2755
|
+
SplitChargeRules: import_smithy_client._json
|
|
2756
|
+
});
|
|
2757
|
+
}, "de_CostCategory");
|
|
2758
|
+
var de_CostCategoryRule = /* @__PURE__ */ __name((output, context) => {
|
|
2759
|
+
return (0, import_smithy_client.take)(output, {
|
|
2760
|
+
InheritedValue: import_smithy_client._json,
|
|
2761
|
+
Rule: (_) => de_Expression(_, context),
|
|
2762
|
+
Type: import_smithy_client.expectString,
|
|
2763
|
+
Value: import_smithy_client.expectString
|
|
2764
|
+
});
|
|
2765
|
+
}, "de_CostCategoryRule");
|
|
2766
|
+
var de_CostCategoryRulesList = /* @__PURE__ */ __name((output, context) => {
|
|
2767
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2768
|
+
return de_CostCategoryRule(entry, context);
|
|
2769
|
+
});
|
|
2770
|
+
return retVal;
|
|
2771
|
+
}, "de_CostCategoryRulesList");
|
|
2772
|
+
var de_DescribeCostCategoryDefinitionResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2773
|
+
return (0, import_smithy_client.take)(output, {
|
|
2774
|
+
CostCategory: (_) => de_CostCategory(_, context)
|
|
2775
|
+
});
|
|
2776
|
+
}, "de_DescribeCostCategoryDefinitionResponse");
|
|
2777
|
+
var de_Expression = /* @__PURE__ */ __name((output, context) => {
|
|
2778
|
+
return (0, import_smithy_client.take)(output, {
|
|
2779
|
+
And: (_) => de_Expressions(_, context),
|
|
2780
|
+
CostCategories: import_smithy_client._json,
|
|
2781
|
+
Dimensions: import_smithy_client._json,
|
|
2782
|
+
Not: (_) => de_Expression(_, context),
|
|
2783
|
+
Or: (_) => de_Expressions(_, context),
|
|
2784
|
+
Tags: import_smithy_client._json
|
|
2785
|
+
});
|
|
2786
|
+
}, "de_Expression");
|
|
2787
|
+
var de_Expressions = /* @__PURE__ */ __name((output, context) => {
|
|
2788
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2789
|
+
return de_Expression(entry, context);
|
|
2790
|
+
});
|
|
2791
|
+
return retVal;
|
|
2792
|
+
}, "de_Expressions");
|
|
2793
|
+
var de_GetAnomaliesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2794
|
+
return (0, import_smithy_client.take)(output, {
|
|
2795
|
+
Anomalies: (_) => de_Anomalies(_, context),
|
|
2796
|
+
NextPageToken: import_smithy_client.expectString
|
|
2797
|
+
});
|
|
2798
|
+
}, "de_GetAnomaliesResponse");
|
|
2799
|
+
var de_GetAnomalyMonitorsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2800
|
+
return (0, import_smithy_client.take)(output, {
|
|
2801
|
+
AnomalyMonitors: (_) => de_AnomalyMonitors(_, context),
|
|
2802
|
+
NextPageToken: import_smithy_client.expectString
|
|
2803
|
+
});
|
|
2804
|
+
}, "de_GetAnomalyMonitorsResponse");
|
|
2805
|
+
var de_GetAnomalySubscriptionsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2806
|
+
return (0, import_smithy_client.take)(output, {
|
|
2807
|
+
AnomalySubscriptions: (_) => de_AnomalySubscriptions(_, context),
|
|
2808
|
+
NextPageToken: import_smithy_client.expectString
|
|
2809
|
+
});
|
|
2810
|
+
}, "de_GetAnomalySubscriptionsResponse");
|
|
2811
|
+
var de_Impact = /* @__PURE__ */ __name((output, context) => {
|
|
2812
|
+
return (0, import_smithy_client.take)(output, {
|
|
2813
|
+
MaxImpact: import_smithy_client.limitedParseDouble,
|
|
2814
|
+
TotalActualSpend: import_smithy_client.limitedParseDouble,
|
|
2815
|
+
TotalExpectedSpend: import_smithy_client.limitedParseDouble,
|
|
2816
|
+
TotalImpact: import_smithy_client.limitedParseDouble,
|
|
2817
|
+
TotalImpactPercentage: import_smithy_client.limitedParseDouble
|
|
2818
|
+
});
|
|
2819
|
+
}, "de_Impact");
|
|
2820
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
2821
|
+
httpStatusCode: output.statusCode,
|
|
2822
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2823
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2824
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
2825
|
+
}), "deserializeMetadata");
|
|
2826
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
2827
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(CostExplorerServiceException);
|
|
2828
|
+
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
2829
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2830
|
+
const contents = {
|
|
2831
|
+
protocol,
|
|
2832
|
+
hostname,
|
|
2833
|
+
port,
|
|
2834
|
+
method: "POST",
|
|
2835
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
2836
|
+
headers
|
|
2837
|
+
};
|
|
2838
|
+
if (resolvedHostname !== void 0) {
|
|
2839
|
+
contents.hostname = resolvedHostname;
|
|
2840
|
+
}
|
|
2841
|
+
if (body !== void 0) {
|
|
2842
|
+
contents.body = body;
|
|
2843
|
+
}
|
|
2844
|
+
return new import_protocol_http.HttpRequest(contents);
|
|
2845
|
+
}, "buildHttpRpcRequest");
|
|
2846
|
+
function sharedHeaders(operation) {
|
|
2847
|
+
return {
|
|
2848
|
+
"content-type": "application/x-amz-json-1.1",
|
|
2849
|
+
"x-amz-target": `AWSInsightsIndexService.${operation}`
|
|
2850
|
+
};
|
|
2851
|
+
}
|
|
2852
|
+
__name(sharedHeaders, "sharedHeaders");
|
|
2853
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2854
|
+
if (encoded.length) {
|
|
2855
|
+
return JSON.parse(encoded);
|
|
2856
|
+
}
|
|
2857
|
+
return {};
|
|
2858
|
+
}), "parseBody");
|
|
2859
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
2860
|
+
const value = await parseBody(errorBody, context);
|
|
2861
|
+
value.message = value.message ?? value.Message;
|
|
2862
|
+
return value;
|
|
2863
|
+
}, "parseErrorBody");
|
|
2864
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
2865
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
2866
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
2867
|
+
let cleanValue = rawValue;
|
|
2868
|
+
if (typeof cleanValue === "number") {
|
|
2869
|
+
cleanValue = cleanValue.toString();
|
|
2870
|
+
}
|
|
2871
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
2872
|
+
cleanValue = cleanValue.split(",")[0];
|
|
2873
|
+
}
|
|
2874
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
2875
|
+
cleanValue = cleanValue.split(":")[0];
|
|
2876
|
+
}
|
|
2877
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
2878
|
+
cleanValue = cleanValue.split("#")[1];
|
|
2879
|
+
}
|
|
2880
|
+
return cleanValue;
|
|
2881
|
+
}, "sanitizeErrorCode");
|
|
2882
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
2883
|
+
if (headerKey !== void 0) {
|
|
2884
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
2885
|
+
}
|
|
2886
|
+
if (data.code !== void 0) {
|
|
2887
|
+
return sanitizeErrorCode(data.code);
|
|
2888
|
+
}
|
|
2889
|
+
if (data["__type"] !== void 0) {
|
|
2890
|
+
return sanitizeErrorCode(data["__type"]);
|
|
2891
|
+
}
|
|
2892
|
+
}, "loadRestJsonErrorCode");
|
|
2893
|
+
|
|
2894
|
+
// src/commands/CreateAnomalyMonitorCommand.ts
|
|
2895
|
+
var _CreateAnomalyMonitorCommand = class _CreateAnomalyMonitorCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2896
|
+
...commonParams
|
|
2897
|
+
}).m(function(Command, cs, config, o) {
|
|
2898
|
+
return [
|
|
2899
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2900
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2901
|
+
];
|
|
2902
|
+
}).s("AWSInsightsIndexService", "CreateAnomalyMonitor", {}).n("CostExplorerClient", "CreateAnomalyMonitorCommand").f(void 0, void 0).ser(se_CreateAnomalyMonitorCommand).de(de_CreateAnomalyMonitorCommand).build() {
|
|
2903
|
+
};
|
|
2904
|
+
__name(_CreateAnomalyMonitorCommand, "CreateAnomalyMonitorCommand");
|
|
2905
|
+
var CreateAnomalyMonitorCommand = _CreateAnomalyMonitorCommand;
|
|
2906
|
+
|
|
2907
|
+
// src/commands/CreateAnomalySubscriptionCommand.ts
|
|
2908
|
+
|
|
2909
|
+
|
|
2910
|
+
|
|
2911
|
+
|
|
2912
|
+
var _CreateAnomalySubscriptionCommand = class _CreateAnomalySubscriptionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2913
|
+
...commonParams
|
|
2914
|
+
}).m(function(Command, cs, config, o) {
|
|
2915
|
+
return [
|
|
2916
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2917
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2918
|
+
];
|
|
2919
|
+
}).s("AWSInsightsIndexService", "CreateAnomalySubscription", {}).n("CostExplorerClient", "CreateAnomalySubscriptionCommand").f(void 0, void 0).ser(se_CreateAnomalySubscriptionCommand).de(de_CreateAnomalySubscriptionCommand).build() {
|
|
2920
|
+
};
|
|
2921
|
+
__name(_CreateAnomalySubscriptionCommand, "CreateAnomalySubscriptionCommand");
|
|
2922
|
+
var CreateAnomalySubscriptionCommand = _CreateAnomalySubscriptionCommand;
|
|
2923
|
+
|
|
2924
|
+
// src/commands/CreateCostCategoryDefinitionCommand.ts
|
|
2925
|
+
|
|
2926
|
+
|
|
2927
|
+
|
|
2928
|
+
|
|
2929
|
+
var _CreateCostCategoryDefinitionCommand = class _CreateCostCategoryDefinitionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2930
|
+
...commonParams
|
|
2931
|
+
}).m(function(Command, cs, config, o) {
|
|
2932
|
+
return [
|
|
2933
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2934
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2935
|
+
];
|
|
2936
|
+
}).s("AWSInsightsIndexService", "CreateCostCategoryDefinition", {}).n("CostExplorerClient", "CreateCostCategoryDefinitionCommand").f(void 0, void 0).ser(se_CreateCostCategoryDefinitionCommand).de(de_CreateCostCategoryDefinitionCommand).build() {
|
|
2937
|
+
};
|
|
2938
|
+
__name(_CreateCostCategoryDefinitionCommand, "CreateCostCategoryDefinitionCommand");
|
|
2939
|
+
var CreateCostCategoryDefinitionCommand = _CreateCostCategoryDefinitionCommand;
|
|
2940
|
+
|
|
2941
|
+
// src/commands/DeleteAnomalyMonitorCommand.ts
|
|
2942
|
+
|
|
2943
|
+
|
|
2944
|
+
|
|
2945
|
+
|
|
2946
|
+
var _DeleteAnomalyMonitorCommand = class _DeleteAnomalyMonitorCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2947
|
+
...commonParams
|
|
2948
|
+
}).m(function(Command, cs, config, o) {
|
|
2949
|
+
return [
|
|
2950
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2951
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2952
|
+
];
|
|
2953
|
+
}).s("AWSInsightsIndexService", "DeleteAnomalyMonitor", {}).n("CostExplorerClient", "DeleteAnomalyMonitorCommand").f(void 0, void 0).ser(se_DeleteAnomalyMonitorCommand).de(de_DeleteAnomalyMonitorCommand).build() {
|
|
2954
|
+
};
|
|
2955
|
+
__name(_DeleteAnomalyMonitorCommand, "DeleteAnomalyMonitorCommand");
|
|
2956
|
+
var DeleteAnomalyMonitorCommand = _DeleteAnomalyMonitorCommand;
|
|
2957
|
+
|
|
2958
|
+
// src/commands/DeleteAnomalySubscriptionCommand.ts
|
|
2959
|
+
|
|
2960
|
+
|
|
2961
|
+
|
|
2962
|
+
|
|
2963
|
+
var _DeleteAnomalySubscriptionCommand = class _DeleteAnomalySubscriptionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2964
|
+
...commonParams
|
|
2965
|
+
}).m(function(Command, cs, config, o) {
|
|
2966
|
+
return [
|
|
2967
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2968
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2969
|
+
];
|
|
2970
|
+
}).s("AWSInsightsIndexService", "DeleteAnomalySubscription", {}).n("CostExplorerClient", "DeleteAnomalySubscriptionCommand").f(void 0, void 0).ser(se_DeleteAnomalySubscriptionCommand).de(de_DeleteAnomalySubscriptionCommand).build() {
|
|
2971
|
+
};
|
|
2972
|
+
__name(_DeleteAnomalySubscriptionCommand, "DeleteAnomalySubscriptionCommand");
|
|
2973
|
+
var DeleteAnomalySubscriptionCommand = _DeleteAnomalySubscriptionCommand;
|
|
2974
|
+
|
|
2975
|
+
// src/commands/DeleteCostCategoryDefinitionCommand.ts
|
|
2976
|
+
|
|
2977
|
+
|
|
2978
|
+
|
|
2979
|
+
|
|
2980
|
+
var _DeleteCostCategoryDefinitionCommand = class _DeleteCostCategoryDefinitionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2981
|
+
...commonParams
|
|
2982
|
+
}).m(function(Command, cs, config, o) {
|
|
2983
|
+
return [
|
|
2984
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2985
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2986
|
+
];
|
|
2987
|
+
}).s("AWSInsightsIndexService", "DeleteCostCategoryDefinition", {}).n("CostExplorerClient", "DeleteCostCategoryDefinitionCommand").f(void 0, void 0).ser(se_DeleteCostCategoryDefinitionCommand).de(de_DeleteCostCategoryDefinitionCommand).build() {
|
|
2988
|
+
};
|
|
2989
|
+
__name(_DeleteCostCategoryDefinitionCommand, "DeleteCostCategoryDefinitionCommand");
|
|
2990
|
+
var DeleteCostCategoryDefinitionCommand = _DeleteCostCategoryDefinitionCommand;
|
|
2991
|
+
|
|
2992
|
+
// src/commands/DescribeCostCategoryDefinitionCommand.ts
|
|
2993
|
+
|
|
2994
|
+
|
|
2995
|
+
|
|
2996
|
+
|
|
2997
|
+
var _DescribeCostCategoryDefinitionCommand = class _DescribeCostCategoryDefinitionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2998
|
+
...commonParams
|
|
2999
|
+
}).m(function(Command, cs, config, o) {
|
|
3000
|
+
return [
|
|
3001
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3002
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3003
|
+
];
|
|
3004
|
+
}).s("AWSInsightsIndexService", "DescribeCostCategoryDefinition", {}).n("CostExplorerClient", "DescribeCostCategoryDefinitionCommand").f(void 0, void 0).ser(se_DescribeCostCategoryDefinitionCommand).de(de_DescribeCostCategoryDefinitionCommand).build() {
|
|
3005
|
+
};
|
|
3006
|
+
__name(_DescribeCostCategoryDefinitionCommand, "DescribeCostCategoryDefinitionCommand");
|
|
3007
|
+
var DescribeCostCategoryDefinitionCommand = _DescribeCostCategoryDefinitionCommand;
|
|
3008
|
+
|
|
3009
|
+
// src/commands/GetAnomaliesCommand.ts
|
|
3010
|
+
|
|
3011
|
+
|
|
3012
|
+
|
|
3013
|
+
|
|
3014
|
+
var _GetAnomaliesCommand = class _GetAnomaliesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3015
|
+
...commonParams
|
|
3016
|
+
}).m(function(Command, cs, config, o) {
|
|
3017
|
+
return [
|
|
3018
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3019
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3020
|
+
];
|
|
3021
|
+
}).s("AWSInsightsIndexService", "GetAnomalies", {}).n("CostExplorerClient", "GetAnomaliesCommand").f(void 0, void 0).ser(se_GetAnomaliesCommand).de(de_GetAnomaliesCommand).build() {
|
|
3022
|
+
};
|
|
3023
|
+
__name(_GetAnomaliesCommand, "GetAnomaliesCommand");
|
|
3024
|
+
var GetAnomaliesCommand = _GetAnomaliesCommand;
|
|
3025
|
+
|
|
3026
|
+
// src/commands/GetAnomalyMonitorsCommand.ts
|
|
3027
|
+
|
|
3028
|
+
|
|
3029
|
+
|
|
3030
|
+
|
|
3031
|
+
var _GetAnomalyMonitorsCommand = class _GetAnomalyMonitorsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3032
|
+
...commonParams
|
|
3033
|
+
}).m(function(Command, cs, config, o) {
|
|
3034
|
+
return [
|
|
3035
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3036
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3037
|
+
];
|
|
3038
|
+
}).s("AWSInsightsIndexService", "GetAnomalyMonitors", {}).n("CostExplorerClient", "GetAnomalyMonitorsCommand").f(void 0, void 0).ser(se_GetAnomalyMonitorsCommand).de(de_GetAnomalyMonitorsCommand).build() {
|
|
3039
|
+
};
|
|
3040
|
+
__name(_GetAnomalyMonitorsCommand, "GetAnomalyMonitorsCommand");
|
|
3041
|
+
var GetAnomalyMonitorsCommand = _GetAnomalyMonitorsCommand;
|
|
3042
|
+
|
|
3043
|
+
// src/commands/GetAnomalySubscriptionsCommand.ts
|
|
3044
|
+
|
|
3045
|
+
|
|
3046
|
+
|
|
3047
|
+
|
|
3048
|
+
var _GetAnomalySubscriptionsCommand = class _GetAnomalySubscriptionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3049
|
+
...commonParams
|
|
3050
|
+
}).m(function(Command, cs, config, o) {
|
|
3051
|
+
return [
|
|
3052
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3053
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3054
|
+
];
|
|
3055
|
+
}).s("AWSInsightsIndexService", "GetAnomalySubscriptions", {}).n("CostExplorerClient", "GetAnomalySubscriptionsCommand").f(void 0, void 0).ser(se_GetAnomalySubscriptionsCommand).de(de_GetAnomalySubscriptionsCommand).build() {
|
|
3056
|
+
};
|
|
3057
|
+
__name(_GetAnomalySubscriptionsCommand, "GetAnomalySubscriptionsCommand");
|
|
3058
|
+
var GetAnomalySubscriptionsCommand = _GetAnomalySubscriptionsCommand;
|
|
3059
|
+
|
|
3060
|
+
// src/commands/GetCostAndUsageCommand.ts
|
|
3061
|
+
|
|
3062
|
+
|
|
3063
|
+
|
|
3064
|
+
|
|
3065
|
+
var _GetCostAndUsageCommand = class _GetCostAndUsageCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3066
|
+
...commonParams
|
|
3067
|
+
}).m(function(Command, cs, config, o) {
|
|
3068
|
+
return [
|
|
3069
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3070
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3071
|
+
];
|
|
3072
|
+
}).s("AWSInsightsIndexService", "GetCostAndUsage", {}).n("CostExplorerClient", "GetCostAndUsageCommand").f(void 0, void 0).ser(se_GetCostAndUsageCommand).de(de_GetCostAndUsageCommand).build() {
|
|
3073
|
+
};
|
|
3074
|
+
__name(_GetCostAndUsageCommand, "GetCostAndUsageCommand");
|
|
3075
|
+
var GetCostAndUsageCommand = _GetCostAndUsageCommand;
|
|
3076
|
+
|
|
3077
|
+
// src/commands/GetCostAndUsageWithResourcesCommand.ts
|
|
3078
|
+
|
|
3079
|
+
|
|
3080
|
+
|
|
3081
|
+
|
|
3082
|
+
var _GetCostAndUsageWithResourcesCommand = class _GetCostAndUsageWithResourcesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3083
|
+
...commonParams
|
|
3084
|
+
}).m(function(Command, cs, config, o) {
|
|
3085
|
+
return [
|
|
3086
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3087
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3088
|
+
];
|
|
3089
|
+
}).s("AWSInsightsIndexService", "GetCostAndUsageWithResources", {}).n("CostExplorerClient", "GetCostAndUsageWithResourcesCommand").f(void 0, void 0).ser(se_GetCostAndUsageWithResourcesCommand).de(de_GetCostAndUsageWithResourcesCommand).build() {
|
|
3090
|
+
};
|
|
3091
|
+
__name(_GetCostAndUsageWithResourcesCommand, "GetCostAndUsageWithResourcesCommand");
|
|
3092
|
+
var GetCostAndUsageWithResourcesCommand = _GetCostAndUsageWithResourcesCommand;
|
|
3093
|
+
|
|
3094
|
+
// src/commands/GetCostCategoriesCommand.ts
|
|
3095
|
+
|
|
3096
|
+
|
|
3097
|
+
|
|
3098
|
+
|
|
3099
|
+
var _GetCostCategoriesCommand = class _GetCostCategoriesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3100
|
+
...commonParams
|
|
3101
|
+
}).m(function(Command, cs, config, o) {
|
|
3102
|
+
return [
|
|
3103
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3104
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3105
|
+
];
|
|
3106
|
+
}).s("AWSInsightsIndexService", "GetCostCategories", {}).n("CostExplorerClient", "GetCostCategoriesCommand").f(void 0, void 0).ser(se_GetCostCategoriesCommand).de(de_GetCostCategoriesCommand).build() {
|
|
3107
|
+
};
|
|
3108
|
+
__name(_GetCostCategoriesCommand, "GetCostCategoriesCommand");
|
|
3109
|
+
var GetCostCategoriesCommand = _GetCostCategoriesCommand;
|
|
3110
|
+
|
|
3111
|
+
// src/commands/GetCostForecastCommand.ts
|
|
3112
|
+
|
|
3113
|
+
|
|
3114
|
+
|
|
3115
|
+
|
|
3116
|
+
var _GetCostForecastCommand = class _GetCostForecastCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3117
|
+
...commonParams
|
|
3118
|
+
}).m(function(Command, cs, config, o) {
|
|
3119
|
+
return [
|
|
3120
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3121
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3122
|
+
];
|
|
3123
|
+
}).s("AWSInsightsIndexService", "GetCostForecast", {}).n("CostExplorerClient", "GetCostForecastCommand").f(void 0, void 0).ser(se_GetCostForecastCommand).de(de_GetCostForecastCommand).build() {
|
|
3124
|
+
};
|
|
3125
|
+
__name(_GetCostForecastCommand, "GetCostForecastCommand");
|
|
3126
|
+
var GetCostForecastCommand = _GetCostForecastCommand;
|
|
3127
|
+
|
|
3128
|
+
// src/commands/GetDimensionValuesCommand.ts
|
|
3129
|
+
|
|
3130
|
+
|
|
3131
|
+
|
|
3132
|
+
|
|
3133
|
+
var _GetDimensionValuesCommand = class _GetDimensionValuesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3134
|
+
...commonParams
|
|
3135
|
+
}).m(function(Command, cs, config, o) {
|
|
3136
|
+
return [
|
|
3137
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3138
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3139
|
+
];
|
|
3140
|
+
}).s("AWSInsightsIndexService", "GetDimensionValues", {}).n("CostExplorerClient", "GetDimensionValuesCommand").f(void 0, void 0).ser(se_GetDimensionValuesCommand).de(de_GetDimensionValuesCommand).build() {
|
|
3141
|
+
};
|
|
3142
|
+
__name(_GetDimensionValuesCommand, "GetDimensionValuesCommand");
|
|
3143
|
+
var GetDimensionValuesCommand = _GetDimensionValuesCommand;
|
|
3144
|
+
|
|
3145
|
+
// src/commands/GetReservationCoverageCommand.ts
|
|
3146
|
+
|
|
3147
|
+
|
|
3148
|
+
|
|
3149
|
+
|
|
3150
|
+
var _GetReservationCoverageCommand = class _GetReservationCoverageCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3151
|
+
...commonParams
|
|
3152
|
+
}).m(function(Command, cs, config, o) {
|
|
3153
|
+
return [
|
|
3154
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3155
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3156
|
+
];
|
|
3157
|
+
}).s("AWSInsightsIndexService", "GetReservationCoverage", {}).n("CostExplorerClient", "GetReservationCoverageCommand").f(void 0, void 0).ser(se_GetReservationCoverageCommand).de(de_GetReservationCoverageCommand).build() {
|
|
3158
|
+
};
|
|
3159
|
+
__name(_GetReservationCoverageCommand, "GetReservationCoverageCommand");
|
|
3160
|
+
var GetReservationCoverageCommand = _GetReservationCoverageCommand;
|
|
3161
|
+
|
|
3162
|
+
// src/commands/GetReservationPurchaseRecommendationCommand.ts
|
|
3163
|
+
|
|
3164
|
+
|
|
3165
|
+
|
|
3166
|
+
|
|
3167
|
+
var _GetReservationPurchaseRecommendationCommand = class _GetReservationPurchaseRecommendationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3168
|
+
...commonParams
|
|
3169
|
+
}).m(function(Command, cs, config, o) {
|
|
3170
|
+
return [
|
|
3171
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3172
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3173
|
+
];
|
|
3174
|
+
}).s("AWSInsightsIndexService", "GetReservationPurchaseRecommendation", {}).n("CostExplorerClient", "GetReservationPurchaseRecommendationCommand").f(void 0, void 0).ser(se_GetReservationPurchaseRecommendationCommand).de(de_GetReservationPurchaseRecommendationCommand).build() {
|
|
3175
|
+
};
|
|
3176
|
+
__name(_GetReservationPurchaseRecommendationCommand, "GetReservationPurchaseRecommendationCommand");
|
|
3177
|
+
var GetReservationPurchaseRecommendationCommand = _GetReservationPurchaseRecommendationCommand;
|
|
3178
|
+
|
|
3179
|
+
// src/commands/GetReservationUtilizationCommand.ts
|
|
3180
|
+
|
|
3181
|
+
|
|
3182
|
+
|
|
3183
|
+
|
|
3184
|
+
var _GetReservationUtilizationCommand = class _GetReservationUtilizationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3185
|
+
...commonParams
|
|
3186
|
+
}).m(function(Command, cs, config, o) {
|
|
3187
|
+
return [
|
|
3188
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3189
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3190
|
+
];
|
|
3191
|
+
}).s("AWSInsightsIndexService", "GetReservationUtilization", {}).n("CostExplorerClient", "GetReservationUtilizationCommand").f(void 0, void 0).ser(se_GetReservationUtilizationCommand).de(de_GetReservationUtilizationCommand).build() {
|
|
3192
|
+
};
|
|
3193
|
+
__name(_GetReservationUtilizationCommand, "GetReservationUtilizationCommand");
|
|
3194
|
+
var GetReservationUtilizationCommand = _GetReservationUtilizationCommand;
|
|
3195
|
+
|
|
3196
|
+
// src/commands/GetRightsizingRecommendationCommand.ts
|
|
3197
|
+
|
|
3198
|
+
|
|
3199
|
+
|
|
3200
|
+
|
|
3201
|
+
var _GetRightsizingRecommendationCommand = class _GetRightsizingRecommendationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3202
|
+
...commonParams
|
|
3203
|
+
}).m(function(Command, cs, config, o) {
|
|
3204
|
+
return [
|
|
3205
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3206
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3207
|
+
];
|
|
3208
|
+
}).s("AWSInsightsIndexService", "GetRightsizingRecommendation", {}).n("CostExplorerClient", "GetRightsizingRecommendationCommand").f(void 0, void 0).ser(se_GetRightsizingRecommendationCommand).de(de_GetRightsizingRecommendationCommand).build() {
|
|
3209
|
+
};
|
|
3210
|
+
__name(_GetRightsizingRecommendationCommand, "GetRightsizingRecommendationCommand");
|
|
3211
|
+
var GetRightsizingRecommendationCommand = _GetRightsizingRecommendationCommand;
|
|
3212
|
+
|
|
3213
|
+
// src/commands/GetSavingsPlanPurchaseRecommendationDetailsCommand.ts
|
|
3214
|
+
|
|
3215
|
+
|
|
3216
|
+
|
|
3217
|
+
|
|
3218
|
+
var _GetSavingsPlanPurchaseRecommendationDetailsCommand = class _GetSavingsPlanPurchaseRecommendationDetailsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3219
|
+
...commonParams
|
|
3220
|
+
}).m(function(Command, cs, config, o) {
|
|
3221
|
+
return [
|
|
3222
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3223
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3224
|
+
];
|
|
3225
|
+
}).s("AWSInsightsIndexService", "GetSavingsPlanPurchaseRecommendationDetails", {}).n("CostExplorerClient", "GetSavingsPlanPurchaseRecommendationDetailsCommand").f(void 0, void 0).ser(se_GetSavingsPlanPurchaseRecommendationDetailsCommand).de(de_GetSavingsPlanPurchaseRecommendationDetailsCommand).build() {
|
|
3226
|
+
};
|
|
3227
|
+
__name(_GetSavingsPlanPurchaseRecommendationDetailsCommand, "GetSavingsPlanPurchaseRecommendationDetailsCommand");
|
|
3228
|
+
var GetSavingsPlanPurchaseRecommendationDetailsCommand = _GetSavingsPlanPurchaseRecommendationDetailsCommand;
|
|
3229
|
+
|
|
3230
|
+
// src/commands/GetSavingsPlansCoverageCommand.ts
|
|
3231
|
+
|
|
3232
|
+
|
|
3233
|
+
|
|
3234
|
+
|
|
3235
|
+
var _GetSavingsPlansCoverageCommand = class _GetSavingsPlansCoverageCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3236
|
+
...commonParams
|
|
3237
|
+
}).m(function(Command, cs, config, o) {
|
|
3238
|
+
return [
|
|
3239
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3240
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3241
|
+
];
|
|
3242
|
+
}).s("AWSInsightsIndexService", "GetSavingsPlansCoverage", {}).n("CostExplorerClient", "GetSavingsPlansCoverageCommand").f(void 0, void 0).ser(se_GetSavingsPlansCoverageCommand).de(de_GetSavingsPlansCoverageCommand).build() {
|
|
3243
|
+
};
|
|
3244
|
+
__name(_GetSavingsPlansCoverageCommand, "GetSavingsPlansCoverageCommand");
|
|
3245
|
+
var GetSavingsPlansCoverageCommand = _GetSavingsPlansCoverageCommand;
|
|
3246
|
+
|
|
3247
|
+
// src/commands/GetSavingsPlansPurchaseRecommendationCommand.ts
|
|
3248
|
+
|
|
3249
|
+
|
|
3250
|
+
|
|
3251
|
+
|
|
3252
|
+
var _GetSavingsPlansPurchaseRecommendationCommand = class _GetSavingsPlansPurchaseRecommendationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3253
|
+
...commonParams
|
|
3254
|
+
}).m(function(Command, cs, config, o) {
|
|
3255
|
+
return [
|
|
3256
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3257
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3258
|
+
];
|
|
3259
|
+
}).s("AWSInsightsIndexService", "GetSavingsPlansPurchaseRecommendation", {}).n("CostExplorerClient", "GetSavingsPlansPurchaseRecommendationCommand").f(void 0, void 0).ser(se_GetSavingsPlansPurchaseRecommendationCommand).de(de_GetSavingsPlansPurchaseRecommendationCommand).build() {
|
|
3260
|
+
};
|
|
3261
|
+
__name(_GetSavingsPlansPurchaseRecommendationCommand, "GetSavingsPlansPurchaseRecommendationCommand");
|
|
3262
|
+
var GetSavingsPlansPurchaseRecommendationCommand = _GetSavingsPlansPurchaseRecommendationCommand;
|
|
3263
|
+
|
|
3264
|
+
// src/commands/GetSavingsPlansUtilizationCommand.ts
|
|
3265
|
+
|
|
3266
|
+
|
|
3267
|
+
|
|
3268
|
+
|
|
3269
|
+
var _GetSavingsPlansUtilizationCommand = class _GetSavingsPlansUtilizationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3270
|
+
...commonParams
|
|
3271
|
+
}).m(function(Command, cs, config, o) {
|
|
3272
|
+
return [
|
|
3273
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3274
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3275
|
+
];
|
|
3276
|
+
}).s("AWSInsightsIndexService", "GetSavingsPlansUtilization", {}).n("CostExplorerClient", "GetSavingsPlansUtilizationCommand").f(void 0, void 0).ser(se_GetSavingsPlansUtilizationCommand).de(de_GetSavingsPlansUtilizationCommand).build() {
|
|
3277
|
+
};
|
|
3278
|
+
__name(_GetSavingsPlansUtilizationCommand, "GetSavingsPlansUtilizationCommand");
|
|
3279
|
+
var GetSavingsPlansUtilizationCommand = _GetSavingsPlansUtilizationCommand;
|
|
3280
|
+
|
|
3281
|
+
// src/commands/GetSavingsPlansUtilizationDetailsCommand.ts
|
|
3282
|
+
|
|
3283
|
+
|
|
3284
|
+
|
|
3285
|
+
|
|
3286
|
+
var _GetSavingsPlansUtilizationDetailsCommand = class _GetSavingsPlansUtilizationDetailsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3287
|
+
...commonParams
|
|
3288
|
+
}).m(function(Command, cs, config, o) {
|
|
3289
|
+
return [
|
|
3290
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3291
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3292
|
+
];
|
|
3293
|
+
}).s("AWSInsightsIndexService", "GetSavingsPlansUtilizationDetails", {}).n("CostExplorerClient", "GetSavingsPlansUtilizationDetailsCommand").f(void 0, void 0).ser(se_GetSavingsPlansUtilizationDetailsCommand).de(de_GetSavingsPlansUtilizationDetailsCommand).build() {
|
|
3294
|
+
};
|
|
3295
|
+
__name(_GetSavingsPlansUtilizationDetailsCommand, "GetSavingsPlansUtilizationDetailsCommand");
|
|
3296
|
+
var GetSavingsPlansUtilizationDetailsCommand = _GetSavingsPlansUtilizationDetailsCommand;
|
|
3297
|
+
|
|
3298
|
+
// src/commands/GetTagsCommand.ts
|
|
3299
|
+
|
|
3300
|
+
|
|
3301
|
+
|
|
3302
|
+
|
|
3303
|
+
var _GetTagsCommand = class _GetTagsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3304
|
+
...commonParams
|
|
3305
|
+
}).m(function(Command, cs, config, o) {
|
|
3306
|
+
return [
|
|
3307
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3308
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3309
|
+
];
|
|
3310
|
+
}).s("AWSInsightsIndexService", "GetTags", {}).n("CostExplorerClient", "GetTagsCommand").f(void 0, void 0).ser(se_GetTagsCommand).de(de_GetTagsCommand).build() {
|
|
3311
|
+
};
|
|
3312
|
+
__name(_GetTagsCommand, "GetTagsCommand");
|
|
3313
|
+
var GetTagsCommand = _GetTagsCommand;
|
|
3314
|
+
|
|
3315
|
+
// src/commands/GetUsageForecastCommand.ts
|
|
3316
|
+
|
|
3317
|
+
|
|
3318
|
+
|
|
3319
|
+
|
|
3320
|
+
var _GetUsageForecastCommand = class _GetUsageForecastCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3321
|
+
...commonParams
|
|
3322
|
+
}).m(function(Command, cs, config, o) {
|
|
3323
|
+
return [
|
|
3324
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3325
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3326
|
+
];
|
|
3327
|
+
}).s("AWSInsightsIndexService", "GetUsageForecast", {}).n("CostExplorerClient", "GetUsageForecastCommand").f(void 0, void 0).ser(se_GetUsageForecastCommand).de(de_GetUsageForecastCommand).build() {
|
|
3328
|
+
};
|
|
3329
|
+
__name(_GetUsageForecastCommand, "GetUsageForecastCommand");
|
|
3330
|
+
var GetUsageForecastCommand = _GetUsageForecastCommand;
|
|
3331
|
+
|
|
3332
|
+
// src/commands/ListCostAllocationTagsCommand.ts
|
|
3333
|
+
|
|
3334
|
+
|
|
3335
|
+
|
|
3336
|
+
|
|
3337
|
+
var _ListCostAllocationTagsCommand = class _ListCostAllocationTagsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3338
|
+
...commonParams
|
|
3339
|
+
}).m(function(Command, cs, config, o) {
|
|
3340
|
+
return [
|
|
3341
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3342
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3343
|
+
];
|
|
3344
|
+
}).s("AWSInsightsIndexService", "ListCostAllocationTags", {}).n("CostExplorerClient", "ListCostAllocationTagsCommand").f(void 0, void 0).ser(se_ListCostAllocationTagsCommand).de(de_ListCostAllocationTagsCommand).build() {
|
|
3345
|
+
};
|
|
3346
|
+
__name(_ListCostAllocationTagsCommand, "ListCostAllocationTagsCommand");
|
|
3347
|
+
var ListCostAllocationTagsCommand = _ListCostAllocationTagsCommand;
|
|
3348
|
+
|
|
3349
|
+
// src/commands/ListCostCategoryDefinitionsCommand.ts
|
|
3350
|
+
|
|
3351
|
+
|
|
3352
|
+
|
|
3353
|
+
|
|
3354
|
+
var _ListCostCategoryDefinitionsCommand = class _ListCostCategoryDefinitionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3355
|
+
...commonParams
|
|
3356
|
+
}).m(function(Command, cs, config, o) {
|
|
3357
|
+
return [
|
|
3358
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3359
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3360
|
+
];
|
|
3361
|
+
}).s("AWSInsightsIndexService", "ListCostCategoryDefinitions", {}).n("CostExplorerClient", "ListCostCategoryDefinitionsCommand").f(void 0, void 0).ser(se_ListCostCategoryDefinitionsCommand).de(de_ListCostCategoryDefinitionsCommand).build() {
|
|
3362
|
+
};
|
|
3363
|
+
__name(_ListCostCategoryDefinitionsCommand, "ListCostCategoryDefinitionsCommand");
|
|
3364
|
+
var ListCostCategoryDefinitionsCommand = _ListCostCategoryDefinitionsCommand;
|
|
3365
|
+
|
|
3366
|
+
// src/commands/ListSavingsPlansPurchaseRecommendationGenerationCommand.ts
|
|
3367
|
+
|
|
3368
|
+
|
|
3369
|
+
|
|
3370
|
+
|
|
3371
|
+
var _ListSavingsPlansPurchaseRecommendationGenerationCommand = class _ListSavingsPlansPurchaseRecommendationGenerationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3372
|
+
...commonParams
|
|
3373
|
+
}).m(function(Command, cs, config, o) {
|
|
3374
|
+
return [
|
|
3375
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3376
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3377
|
+
];
|
|
3378
|
+
}).s("AWSInsightsIndexService", "ListSavingsPlansPurchaseRecommendationGeneration", {}).n("CostExplorerClient", "ListSavingsPlansPurchaseRecommendationGenerationCommand").f(void 0, void 0).ser(se_ListSavingsPlansPurchaseRecommendationGenerationCommand).de(de_ListSavingsPlansPurchaseRecommendationGenerationCommand).build() {
|
|
3379
|
+
};
|
|
3380
|
+
__name(_ListSavingsPlansPurchaseRecommendationGenerationCommand, "ListSavingsPlansPurchaseRecommendationGenerationCommand");
|
|
3381
|
+
var ListSavingsPlansPurchaseRecommendationGenerationCommand = _ListSavingsPlansPurchaseRecommendationGenerationCommand;
|
|
3382
|
+
|
|
3383
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
3384
|
+
|
|
3385
|
+
|
|
3386
|
+
|
|
3387
|
+
|
|
3388
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3389
|
+
...commonParams
|
|
3390
|
+
}).m(function(Command, cs, config, o) {
|
|
3391
|
+
return [
|
|
3392
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3393
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3394
|
+
];
|
|
3395
|
+
}).s("AWSInsightsIndexService", "ListTagsForResource", {}).n("CostExplorerClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
3396
|
+
};
|
|
3397
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
3398
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
3399
|
+
|
|
3400
|
+
// src/commands/ProvideAnomalyFeedbackCommand.ts
|
|
3401
|
+
|
|
3402
|
+
|
|
3403
|
+
|
|
3404
|
+
|
|
3405
|
+
var _ProvideAnomalyFeedbackCommand = class _ProvideAnomalyFeedbackCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3406
|
+
...commonParams
|
|
3407
|
+
}).m(function(Command, cs, config, o) {
|
|
3408
|
+
return [
|
|
3409
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3410
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3411
|
+
];
|
|
3412
|
+
}).s("AWSInsightsIndexService", "ProvideAnomalyFeedback", {}).n("CostExplorerClient", "ProvideAnomalyFeedbackCommand").f(void 0, void 0).ser(se_ProvideAnomalyFeedbackCommand).de(de_ProvideAnomalyFeedbackCommand).build() {
|
|
3413
|
+
};
|
|
3414
|
+
__name(_ProvideAnomalyFeedbackCommand, "ProvideAnomalyFeedbackCommand");
|
|
3415
|
+
var ProvideAnomalyFeedbackCommand = _ProvideAnomalyFeedbackCommand;
|
|
3416
|
+
|
|
3417
|
+
// src/commands/StartSavingsPlansPurchaseRecommendationGenerationCommand.ts
|
|
3418
|
+
|
|
3419
|
+
|
|
3420
|
+
|
|
3421
|
+
|
|
3422
|
+
var _StartSavingsPlansPurchaseRecommendationGenerationCommand = class _StartSavingsPlansPurchaseRecommendationGenerationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3423
|
+
...commonParams
|
|
3424
|
+
}).m(function(Command, cs, config, o) {
|
|
3425
|
+
return [
|
|
3426
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3427
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3428
|
+
];
|
|
3429
|
+
}).s("AWSInsightsIndexService", "StartSavingsPlansPurchaseRecommendationGeneration", {}).n("CostExplorerClient", "StartSavingsPlansPurchaseRecommendationGenerationCommand").f(void 0, void 0).ser(se_StartSavingsPlansPurchaseRecommendationGenerationCommand).de(de_StartSavingsPlansPurchaseRecommendationGenerationCommand).build() {
|
|
3430
|
+
};
|
|
3431
|
+
__name(_StartSavingsPlansPurchaseRecommendationGenerationCommand, "StartSavingsPlansPurchaseRecommendationGenerationCommand");
|
|
3432
|
+
var StartSavingsPlansPurchaseRecommendationGenerationCommand = _StartSavingsPlansPurchaseRecommendationGenerationCommand;
|
|
3433
|
+
|
|
3434
|
+
// src/commands/TagResourceCommand.ts
|
|
3435
|
+
|
|
3436
|
+
|
|
3437
|
+
|
|
3438
|
+
|
|
3439
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3440
|
+
...commonParams
|
|
3441
|
+
}).m(function(Command, cs, config, o) {
|
|
3442
|
+
return [
|
|
3443
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3444
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3445
|
+
];
|
|
3446
|
+
}).s("AWSInsightsIndexService", "TagResource", {}).n("CostExplorerClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
3447
|
+
};
|
|
3448
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
3449
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
3450
|
+
|
|
3451
|
+
// src/commands/UntagResourceCommand.ts
|
|
3452
|
+
|
|
3453
|
+
|
|
3454
|
+
|
|
3455
|
+
|
|
3456
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3457
|
+
...commonParams
|
|
3458
|
+
}).m(function(Command, cs, config, o) {
|
|
3459
|
+
return [
|
|
3460
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3461
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3462
|
+
];
|
|
3463
|
+
}).s("AWSInsightsIndexService", "UntagResource", {}).n("CostExplorerClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
3464
|
+
};
|
|
3465
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
3466
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
3467
|
+
|
|
3468
|
+
// src/commands/UpdateAnomalyMonitorCommand.ts
|
|
3469
|
+
|
|
3470
|
+
|
|
3471
|
+
|
|
3472
|
+
|
|
3473
|
+
var _UpdateAnomalyMonitorCommand = class _UpdateAnomalyMonitorCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3474
|
+
...commonParams
|
|
3475
|
+
}).m(function(Command, cs, config, o) {
|
|
3476
|
+
return [
|
|
3477
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3478
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3479
|
+
];
|
|
3480
|
+
}).s("AWSInsightsIndexService", "UpdateAnomalyMonitor", {}).n("CostExplorerClient", "UpdateAnomalyMonitorCommand").f(void 0, void 0).ser(se_UpdateAnomalyMonitorCommand).de(de_UpdateAnomalyMonitorCommand).build() {
|
|
3481
|
+
};
|
|
3482
|
+
__name(_UpdateAnomalyMonitorCommand, "UpdateAnomalyMonitorCommand");
|
|
3483
|
+
var UpdateAnomalyMonitorCommand = _UpdateAnomalyMonitorCommand;
|
|
3484
|
+
|
|
3485
|
+
// src/commands/UpdateAnomalySubscriptionCommand.ts
|
|
3486
|
+
|
|
3487
|
+
|
|
3488
|
+
|
|
3489
|
+
|
|
3490
|
+
var _UpdateAnomalySubscriptionCommand = class _UpdateAnomalySubscriptionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3491
|
+
...commonParams
|
|
3492
|
+
}).m(function(Command, cs, config, o) {
|
|
3493
|
+
return [
|
|
3494
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3495
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3496
|
+
];
|
|
3497
|
+
}).s("AWSInsightsIndexService", "UpdateAnomalySubscription", {}).n("CostExplorerClient", "UpdateAnomalySubscriptionCommand").f(void 0, void 0).ser(se_UpdateAnomalySubscriptionCommand).de(de_UpdateAnomalySubscriptionCommand).build() {
|
|
3498
|
+
};
|
|
3499
|
+
__name(_UpdateAnomalySubscriptionCommand, "UpdateAnomalySubscriptionCommand");
|
|
3500
|
+
var UpdateAnomalySubscriptionCommand = _UpdateAnomalySubscriptionCommand;
|
|
3501
|
+
|
|
3502
|
+
// src/commands/UpdateCostAllocationTagsStatusCommand.ts
|
|
3503
|
+
|
|
3504
|
+
|
|
3505
|
+
|
|
3506
|
+
|
|
3507
|
+
var _UpdateCostAllocationTagsStatusCommand = class _UpdateCostAllocationTagsStatusCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3508
|
+
...commonParams
|
|
3509
|
+
}).m(function(Command, cs, config, o) {
|
|
3510
|
+
return [
|
|
3511
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3512
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3513
|
+
];
|
|
3514
|
+
}).s("AWSInsightsIndexService", "UpdateCostAllocationTagsStatus", {}).n("CostExplorerClient", "UpdateCostAllocationTagsStatusCommand").f(void 0, void 0).ser(se_UpdateCostAllocationTagsStatusCommand).de(de_UpdateCostAllocationTagsStatusCommand).build() {
|
|
3515
|
+
};
|
|
3516
|
+
__name(_UpdateCostAllocationTagsStatusCommand, "UpdateCostAllocationTagsStatusCommand");
|
|
3517
|
+
var UpdateCostAllocationTagsStatusCommand = _UpdateCostAllocationTagsStatusCommand;
|
|
3518
|
+
|
|
3519
|
+
// src/commands/UpdateCostCategoryDefinitionCommand.ts
|
|
3520
|
+
|
|
3521
|
+
|
|
3522
|
+
|
|
3523
|
+
|
|
3524
|
+
var _UpdateCostCategoryDefinitionCommand = class _UpdateCostCategoryDefinitionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3525
|
+
...commonParams
|
|
3526
|
+
}).m(function(Command, cs, config, o) {
|
|
3527
|
+
return [
|
|
3528
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3529
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3530
|
+
];
|
|
3531
|
+
}).s("AWSInsightsIndexService", "UpdateCostCategoryDefinition", {}).n("CostExplorerClient", "UpdateCostCategoryDefinitionCommand").f(void 0, void 0).ser(se_UpdateCostCategoryDefinitionCommand).de(de_UpdateCostCategoryDefinitionCommand).build() {
|
|
3532
|
+
};
|
|
3533
|
+
__name(_UpdateCostCategoryDefinitionCommand, "UpdateCostCategoryDefinitionCommand");
|
|
3534
|
+
var UpdateCostCategoryDefinitionCommand = _UpdateCostCategoryDefinitionCommand;
|
|
3535
|
+
|
|
3536
|
+
// src/CostExplorer.ts
|
|
3537
|
+
var commands = {
|
|
3538
|
+
CreateAnomalyMonitorCommand,
|
|
3539
|
+
CreateAnomalySubscriptionCommand,
|
|
3540
|
+
CreateCostCategoryDefinitionCommand,
|
|
3541
|
+
DeleteAnomalyMonitorCommand,
|
|
3542
|
+
DeleteAnomalySubscriptionCommand,
|
|
3543
|
+
DeleteCostCategoryDefinitionCommand,
|
|
3544
|
+
DescribeCostCategoryDefinitionCommand,
|
|
3545
|
+
GetAnomaliesCommand,
|
|
3546
|
+
GetAnomalyMonitorsCommand,
|
|
3547
|
+
GetAnomalySubscriptionsCommand,
|
|
3548
|
+
GetCostAndUsageCommand,
|
|
3549
|
+
GetCostAndUsageWithResourcesCommand,
|
|
3550
|
+
GetCostCategoriesCommand,
|
|
3551
|
+
GetCostForecastCommand,
|
|
3552
|
+
GetDimensionValuesCommand,
|
|
3553
|
+
GetReservationCoverageCommand,
|
|
3554
|
+
GetReservationPurchaseRecommendationCommand,
|
|
3555
|
+
GetReservationUtilizationCommand,
|
|
3556
|
+
GetRightsizingRecommendationCommand,
|
|
3557
|
+
GetSavingsPlanPurchaseRecommendationDetailsCommand,
|
|
3558
|
+
GetSavingsPlansCoverageCommand,
|
|
3559
|
+
GetSavingsPlansPurchaseRecommendationCommand,
|
|
3560
|
+
GetSavingsPlansUtilizationCommand,
|
|
3561
|
+
GetSavingsPlansUtilizationDetailsCommand,
|
|
3562
|
+
GetTagsCommand,
|
|
3563
|
+
GetUsageForecastCommand,
|
|
3564
|
+
ListCostAllocationTagsCommand,
|
|
3565
|
+
ListCostCategoryDefinitionsCommand,
|
|
3566
|
+
ListSavingsPlansPurchaseRecommendationGenerationCommand,
|
|
3567
|
+
ListTagsForResourceCommand,
|
|
3568
|
+
ProvideAnomalyFeedbackCommand,
|
|
3569
|
+
StartSavingsPlansPurchaseRecommendationGenerationCommand,
|
|
3570
|
+
TagResourceCommand,
|
|
3571
|
+
UntagResourceCommand,
|
|
3572
|
+
UpdateAnomalyMonitorCommand,
|
|
3573
|
+
UpdateAnomalySubscriptionCommand,
|
|
3574
|
+
UpdateCostAllocationTagsStatusCommand,
|
|
3575
|
+
UpdateCostCategoryDefinitionCommand
|
|
3576
|
+
};
|
|
3577
|
+
var _CostExplorer = class _CostExplorer extends CostExplorerClient {
|
|
3578
|
+
};
|
|
3579
|
+
__name(_CostExplorer, "CostExplorer");
|
|
3580
|
+
var CostExplorer = _CostExplorer;
|
|
3581
|
+
(0, import_smithy_client.createAggregatedClient)(commands, CostExplorer);
|
|
3582
|
+
|
|
3583
|
+
// src/pagination/GetSavingsPlansCoveragePaginator.ts
|
|
3584
|
+
var import_core = require("@smithy/core");
|
|
3585
|
+
var paginateGetSavingsPlansCoverage = (0, import_core.createPaginator)(CostExplorerClient, GetSavingsPlansCoverageCommand, "NextToken", "NextToken", "MaxResults");
|
|
3586
|
+
|
|
3587
|
+
// src/pagination/GetSavingsPlansUtilizationDetailsPaginator.ts
|
|
3588
|
+
|
|
3589
|
+
var paginateGetSavingsPlansUtilizationDetails = (0, import_core.createPaginator)(CostExplorerClient, GetSavingsPlansUtilizationDetailsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3590
|
+
|
|
3591
|
+
// src/pagination/ListCostAllocationTagsPaginator.ts
|
|
3592
|
+
|
|
3593
|
+
var paginateListCostAllocationTags = (0, import_core.createPaginator)(CostExplorerClient, ListCostAllocationTagsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3594
|
+
|
|
3595
|
+
// src/pagination/ListCostCategoryDefinitionsPaginator.ts
|
|
3596
|
+
|
|
3597
|
+
var paginateListCostCategoryDefinitions = (0, import_core.createPaginator)(CostExplorerClient, ListCostCategoryDefinitionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3598
|
+
|
|
3599
|
+
// src/index.ts
|
|
3600
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
3601
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
3602
|
+
0 && (module.exports = {
|
|
3603
|
+
AccountScope,
|
|
3604
|
+
AnomalyFeedbackType,
|
|
3605
|
+
AnomalySubscriptionFrequency,
|
|
3606
|
+
BillExpirationException,
|
|
3607
|
+
Context,
|
|
3608
|
+
CostAllocationTagStatus,
|
|
3609
|
+
CostAllocationTagType,
|
|
3610
|
+
CostCategoryInheritedValueDimensionName,
|
|
3611
|
+
CostCategoryRuleType,
|
|
3612
|
+
CostCategoryRuleVersion,
|
|
3613
|
+
CostCategorySplitChargeMethod,
|
|
3614
|
+
CostCategorySplitChargeRuleParameterType,
|
|
3615
|
+
CostCategoryStatus,
|
|
3616
|
+
CostCategoryStatusComponent,
|
|
3617
|
+
CostExplorer,
|
|
3618
|
+
CostExplorerClient,
|
|
3619
|
+
CostExplorerServiceException,
|
|
3620
|
+
CreateAnomalyMonitorCommand,
|
|
3621
|
+
CreateAnomalySubscriptionCommand,
|
|
3622
|
+
CreateCostCategoryDefinitionCommand,
|
|
3623
|
+
DataUnavailableException,
|
|
3624
|
+
DeleteAnomalyMonitorCommand,
|
|
3625
|
+
DeleteAnomalySubscriptionCommand,
|
|
3626
|
+
DeleteCostCategoryDefinitionCommand,
|
|
3627
|
+
DescribeCostCategoryDefinitionCommand,
|
|
3628
|
+
Dimension,
|
|
3629
|
+
FindingReasonCode,
|
|
3630
|
+
GenerationExistsException,
|
|
3631
|
+
GenerationStatus,
|
|
3632
|
+
GetAnomaliesCommand,
|
|
3633
|
+
GetAnomalyMonitorsCommand,
|
|
3634
|
+
GetAnomalySubscriptionsCommand,
|
|
3635
|
+
GetCostAndUsageCommand,
|
|
3636
|
+
GetCostAndUsageWithResourcesCommand,
|
|
3637
|
+
GetCostCategoriesCommand,
|
|
3638
|
+
GetCostForecastCommand,
|
|
3639
|
+
GetDimensionValuesCommand,
|
|
3640
|
+
GetReservationCoverageCommand,
|
|
3641
|
+
GetReservationPurchaseRecommendationCommand,
|
|
3642
|
+
GetReservationUtilizationCommand,
|
|
3643
|
+
GetRightsizingRecommendationCommand,
|
|
3644
|
+
GetSavingsPlanPurchaseRecommendationDetailsCommand,
|
|
3645
|
+
GetSavingsPlansCoverageCommand,
|
|
3646
|
+
GetSavingsPlansPurchaseRecommendationCommand,
|
|
3647
|
+
GetSavingsPlansUtilizationCommand,
|
|
3648
|
+
GetSavingsPlansUtilizationDetailsCommand,
|
|
3649
|
+
GetTagsCommand,
|
|
3650
|
+
GetUsageForecastCommand,
|
|
3651
|
+
Granularity,
|
|
3652
|
+
GroupDefinitionType,
|
|
3653
|
+
InvalidNextTokenException,
|
|
3654
|
+
LimitExceededException,
|
|
3655
|
+
ListCostAllocationTagsCommand,
|
|
3656
|
+
ListCostCategoryDefinitionsCommand,
|
|
3657
|
+
ListSavingsPlansPurchaseRecommendationGenerationCommand,
|
|
3658
|
+
ListTagsForResourceCommand,
|
|
3659
|
+
LookbackPeriodInDays,
|
|
3660
|
+
MatchOption,
|
|
3661
|
+
Metric,
|
|
3662
|
+
MonitorDimension,
|
|
3663
|
+
MonitorType,
|
|
3664
|
+
NumericOperator,
|
|
3665
|
+
OfferingClass,
|
|
3666
|
+
PaymentOption,
|
|
3667
|
+
PlatformDifference,
|
|
3668
|
+
ProvideAnomalyFeedbackCommand,
|
|
3669
|
+
RecommendationTarget,
|
|
3670
|
+
RequestChangedException,
|
|
3671
|
+
ResourceNotFoundException,
|
|
3672
|
+
RightsizingType,
|
|
3673
|
+
SavingsPlansDataType,
|
|
3674
|
+
ServiceQuotaExceededException,
|
|
3675
|
+
SortOrder,
|
|
3676
|
+
StartSavingsPlansPurchaseRecommendationGenerationCommand,
|
|
3677
|
+
SubscriberStatus,
|
|
3678
|
+
SubscriberType,
|
|
3679
|
+
SupportedSavingsPlansType,
|
|
3680
|
+
TagResourceCommand,
|
|
3681
|
+
TermInYears,
|
|
3682
|
+
TooManyTagsException,
|
|
3683
|
+
UnknownMonitorException,
|
|
3684
|
+
UnknownSubscriptionException,
|
|
3685
|
+
UnresolvableUsageUnitException,
|
|
3686
|
+
UntagResourceCommand,
|
|
3687
|
+
UpdateAnomalyMonitorCommand,
|
|
3688
|
+
UpdateAnomalySubscriptionCommand,
|
|
3689
|
+
UpdateCostAllocationTagsStatusCommand,
|
|
3690
|
+
UpdateCostCategoryDefinitionCommand,
|
|
3691
|
+
__Client,
|
|
3692
|
+
paginateGetSavingsPlansCoverage,
|
|
3693
|
+
paginateGetSavingsPlansUtilizationDetails,
|
|
3694
|
+
paginateListCostAllocationTags,
|
|
3695
|
+
paginateListCostCategoryDefinitions
|
|
3696
|
+
});
|