@aws-sdk/client-cost-explorer 3.58.0 → 3.72.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/README.md +2 -2
- package/dist-cjs/CostExplorer.js +45 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +62 -4
- package/dist-cjs/protocols/Aws_json1_1.js +259 -2
- package/dist-es/CostExplorer.js +45 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +43 -0
- package/dist-es/protocols/Aws_json1_1.js +296 -4
- package/dist-types/CostExplorer.d.ts +28 -1
- package/dist-types/CostExplorerClient.d.ts +5 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +36 -0
- package/dist-types/commands/TagResourceCommand.d.ts +38 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
- package/dist-types/commands/UpdateAnomalyMonitorCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +252 -4
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/CostExplorer.d.ts +15 -0
- package/dist-types/ts3.4/CostExplorerClient.d.ts +5 -2
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +75 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +9 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.72.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.71.0...v3.72.0) (2022-04-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-cost-explorer
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.67.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.66.0...v3.67.0) (2022-04-08)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-cost-explorer
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.61.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.60.0...v3.61.0) (2022-03-31)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** update clients for 03/22/2022 & 03/23/2022 ([#3498](https://github.com/aws/aws-sdk-js-v3/issues/3498)) ([fc18e5c](https://github.com/aws/aws-sdk-js-v3/commit/fc18e5c1b339dc71946edd83b28bf71cf4f8eba3))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.58.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.57.0...v3.58.0) (2022-03-28)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-cost-explorer
|
package/README.md
CHANGED
|
@@ -130,7 +130,7 @@ but they are supported by the send operation.
|
|
|
130
130
|
```js
|
|
131
131
|
// callbacks.
|
|
132
132
|
client.send(command, (err, data) => {
|
|
133
|
-
//
|
|
133
|
+
// process err and data.
|
|
134
134
|
});
|
|
135
135
|
```
|
|
136
136
|
|
|
@@ -164,7 +164,7 @@ client
|
|
|
164
164
|
|
|
165
165
|
// callbacks.
|
|
166
166
|
client.createAnomalyMonitor(params, (err, data) => {
|
|
167
|
-
//
|
|
167
|
+
// process err and data.
|
|
168
168
|
});
|
|
169
169
|
```
|
|
170
170
|
|
package/dist-cjs/CostExplorer.js
CHANGED
|
@@ -27,7 +27,10 @@ const GetSavingsPlansUtilizationDetailsCommand_1 = require("./commands/GetSaving
|
|
|
27
27
|
const GetTagsCommand_1 = require("./commands/GetTagsCommand");
|
|
28
28
|
const GetUsageForecastCommand_1 = require("./commands/GetUsageForecastCommand");
|
|
29
29
|
const ListCostCategoryDefinitionsCommand_1 = require("./commands/ListCostCategoryDefinitionsCommand");
|
|
30
|
+
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
30
31
|
const ProvideAnomalyFeedbackCommand_1 = require("./commands/ProvideAnomalyFeedbackCommand");
|
|
32
|
+
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
33
|
+
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
31
34
|
const UpdateAnomalyMonitorCommand_1 = require("./commands/UpdateAnomalyMonitorCommand");
|
|
32
35
|
const UpdateAnomalySubscriptionCommand_1 = require("./commands/UpdateAnomalySubscriptionCommand");
|
|
33
36
|
const UpdateCostCategoryDefinitionCommand_1 = require("./commands/UpdateCostCategoryDefinitionCommand");
|
|
@@ -397,6 +400,20 @@ class CostExplorer extends CostExplorerClient_1.CostExplorerClient {
|
|
|
397
400
|
return this.send(command, optionsOrCb);
|
|
398
401
|
}
|
|
399
402
|
}
|
|
403
|
+
listTagsForResource(args, optionsOrCb, cb) {
|
|
404
|
+
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
405
|
+
if (typeof optionsOrCb === "function") {
|
|
406
|
+
this.send(command, optionsOrCb);
|
|
407
|
+
}
|
|
408
|
+
else if (typeof cb === "function") {
|
|
409
|
+
if (typeof optionsOrCb !== "object")
|
|
410
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
411
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
412
|
+
}
|
|
413
|
+
else {
|
|
414
|
+
return this.send(command, optionsOrCb);
|
|
415
|
+
}
|
|
416
|
+
}
|
|
400
417
|
provideAnomalyFeedback(args, optionsOrCb, cb) {
|
|
401
418
|
const command = new ProvideAnomalyFeedbackCommand_1.ProvideAnomalyFeedbackCommand(args);
|
|
402
419
|
if (typeof optionsOrCb === "function") {
|
|
@@ -411,6 +428,34 @@ class CostExplorer extends CostExplorerClient_1.CostExplorerClient {
|
|
|
411
428
|
return this.send(command, optionsOrCb);
|
|
412
429
|
}
|
|
413
430
|
}
|
|
431
|
+
tagResource(args, optionsOrCb, cb) {
|
|
432
|
+
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
433
|
+
if (typeof optionsOrCb === "function") {
|
|
434
|
+
this.send(command, optionsOrCb);
|
|
435
|
+
}
|
|
436
|
+
else if (typeof cb === "function") {
|
|
437
|
+
if (typeof optionsOrCb !== "object")
|
|
438
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
439
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
440
|
+
}
|
|
441
|
+
else {
|
|
442
|
+
return this.send(command, optionsOrCb);
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
untagResource(args, optionsOrCb, cb) {
|
|
446
|
+
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
447
|
+
if (typeof optionsOrCb === "function") {
|
|
448
|
+
this.send(command, optionsOrCb);
|
|
449
|
+
}
|
|
450
|
+
else if (typeof cb === "function") {
|
|
451
|
+
if (typeof optionsOrCb !== "object")
|
|
452
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
453
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
454
|
+
}
|
|
455
|
+
else {
|
|
456
|
+
return this.send(command, optionsOrCb);
|
|
457
|
+
}
|
|
458
|
+
}
|
|
414
459
|
updateAnomalyMonitor(args, optionsOrCb, cb) {
|
|
415
460
|
const command = new UpdateAnomalyMonitorCommand_1.UpdateAnomalyMonitorCommand(args);
|
|
416
461
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListTagsForResourceCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "CostExplorerClient";
|
|
18
|
+
const commandName = "ListTagsForResourceCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListTagsForResourceRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListTagsForResourceResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ListTagsForResourceCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ListTagsForResourceCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TagResourceCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class TagResourceCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "CostExplorerClient";
|
|
18
|
+
const commandName = "TagResourceCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.TagResourceRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.TagResourceResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1TagResourceCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1TagResourceCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.TagResourceCommand = TagResourceCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UntagResourceCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class UntagResourceCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "CostExplorerClient";
|
|
18
|
+
const commandName = "UntagResourceCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.UntagResourceRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.UntagResourceResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1UntagResourceCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1UntagResourceCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -27,7 +27,10 @@ tslib_1.__exportStar(require("./GetSavingsPlansUtilizationDetailsCommand"), expo
|
|
|
27
27
|
tslib_1.__exportStar(require("./GetTagsCommand"), exports);
|
|
28
28
|
tslib_1.__exportStar(require("./GetUsageForecastCommand"), exports);
|
|
29
29
|
tslib_1.__exportStar(require("./ListCostCategoryDefinitionsCommand"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
30
31
|
tslib_1.__exportStar(require("./ProvideAnomalyFeedbackCommand"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
33
|
+
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
31
34
|
tslib_1.__exportStar(require("./UpdateAnomalyMonitorCommand"), exports);
|
|
32
35
|
tslib_1.__exportStar(require("./UpdateAnomalySubscriptionCommand"), exports);
|
|
33
36
|
tslib_1.__exportStar(require("./UpdateCostCategoryDefinitionCommand"), exports);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.DescribeCostCategoryDefinitionResponse = exports.UpdateCostCategoryDefinitionRequest = exports.GetAnomalyMonitorsResponse = exports.CreateCostCategoryDefinitionRequest = exports.CostCategory = exports.CreateAnomalyMonitorRequest = exports.GetUsageForecastRequest = exports.GetTagsRequest = exports.GetSavingsPlansUtilizationRequest = exports.GetSavingsPlansUtilizationDetailsRequest = exports.GetSavingsPlansPurchaseRecommendationRequest = exports.GetSavingsPlansCoverageRequest = exports.GetRightsizingRecommendationRequest = exports.GetReservationUtilizationRequest = exports.GetReservationPurchaseRecommendationRequest = exports.GetReservationCoverageRequest = exports.GetDimensionValuesRequest = exports.GetCostForecastRequest = exports.GetCostCategoriesRequest = exports.GetCostAndUsageWithResourcesRequest = exports.GetCostAndUsageRequest = exports.CostCategoryRule = exports.AnomalyMonitor = exports.Expression = exports.UpdateCostCategoryDefinitionResponse = exports.UpdateAnomalySubscriptionResponse = exports.UpdateAnomalySubscriptionRequest = exports.UpdateAnomalyMonitorResponse = exports.UpdateAnomalyMonitorRequest = void 0;
|
|
3
|
+
exports.GetAnomaliesRequest = exports.TotalImpactFilter = exports.NumericOperator = exports.CostCategoryProcessingStatus = exports.CostCategoryStatus = exports.CostCategoryStatusComponent = exports.DescribeCostCategoryDefinitionRequest = exports.ResourceNotFoundException = exports.DeleteCostCategoryDefinitionResponse = exports.DeleteCostCategoryDefinitionRequest = exports.UnknownSubscriptionException = exports.DeleteAnomalySubscriptionResponse = exports.DeleteAnomalySubscriptionRequest = exports.DeleteAnomalyMonitorResponse = exports.DeleteAnomalyMonitorRequest = exports.ServiceQuotaExceededException = exports.CreateCostCategoryDefinitionResponse = exports.CostCategorySplitChargeRule = exports.CostCategorySplitChargeRuleParameter = exports.CostCategorySplitChargeRuleParameterType = exports.CostCategorySplitChargeMethod = exports.CostCategoryRuleVersion = exports.CostCategoryRuleType = exports.CostCategoryInheritedValueDimension = exports.CostCategoryInheritedValueDimensionName = exports.UnknownMonitorException = exports.CreateAnomalySubscriptionResponse = exports.CreateAnomalySubscriptionRequest = exports.LimitExceededException = exports.CreateAnomalyMonitorResponse = exports.ResourceTag = exports.AnomalySubscription = exports.Subscriber = exports.SubscriberType = exports.SubscriberStatus = exports.AnomalySubscriptionFrequency = exports.MonitorType = exports.TagValues = exports.DimensionValues = exports.Dimension = exports.CostCategoryValues = exports.MatchOption = exports.MonitorDimension = exports.AnomalyDateInterval = exports.Anomaly = exports.RootCause = exports.Impact = exports.AnomalyFeedbackType = exports.AnomalyScore = exports.AccountScope = void 0;
|
|
4
|
+
exports.GetReservationPurchaseRecommendationResponse = exports.ReservationPurchaseRecommendation = exports.ReservationPurchaseRecommendationSummary = exports.ReservationPurchaseRecommendationDetail = exports.InstanceDetails = exports.RedshiftInstanceDetails = exports.RDSInstanceDetails = exports.ESInstanceDetails = exports.ElastiCacheInstanceDetails = exports.EC2InstanceDetails = exports.ReservationPurchaseRecommendationMetadata = exports.TermInYears = exports.ServiceSpecification = exports.EC2Specification = exports.OfferingClass = exports.PaymentOption = exports.LookbackPeriodInDays = exports.GetReservationCoverageResponse = exports.CoverageByTime = exports.ReservationCoverageGroup = exports.Coverage = exports.CoverageNormalizedUnits = exports.CoverageHours = exports.CoverageCost = exports.GetDimensionValuesResponse = exports.Context = exports.GetCostForecastResponse = exports.ForecastResult = exports.Metric = exports.GetCostCategoriesResponse = exports.SortDefinition = exports.SortOrder = exports.GetCostAndUsageWithResourcesResponse = exports.RequestChangedException = exports.GetCostAndUsageResponse = exports.ResultByTime = exports.Group = exports.MetricValue = exports.DimensionValuesWithAttributes = exports.DateInterval = exports.GroupDefinition = exports.GroupDefinitionType = exports.Granularity = exports.DataUnavailableException = exports.BillExpirationException = exports.GetAnomalySubscriptionsResponse = exports.GetAnomalySubscriptionsRequest = exports.GetAnomalyMonitorsRequest = exports.InvalidNextTokenException = exports.GetAnomaliesResponse = void 0;
|
|
5
|
+
exports.ListTagsForResourceRequest = exports.ListCostCategoryDefinitionsResponse = exports.CostCategoryReference = exports.ListCostCategoryDefinitionsRequest = exports.UnresolvableUsageUnitException = exports.GetUsageForecastResponse = exports.GetTagsResponse = exports.GetSavingsPlansUtilizationDetailsResponse = exports.SavingsPlansUtilizationDetail = exports.SavingsPlansDataType = exports.GetSavingsPlansUtilizationResponse = exports.SavingsPlansUtilizationAggregates = exports.SavingsPlansUtilizationByTime = exports.SavingsPlansUtilization = exports.SavingsPlansSavings = exports.SavingsPlansAmortizedCommitment = exports.GetSavingsPlansPurchaseRecommendationResponse = exports.SavingsPlansPurchaseRecommendation = exports.SavingsPlansPurchaseRecommendationSummary = exports.SavingsPlansPurchaseRecommendationDetail = exports.SavingsPlansDetails = exports.SavingsPlansPurchaseRecommendationMetadata = exports.SupportedSavingsPlansType = exports.GetSavingsPlansCoverageResponse = exports.SavingsPlansCoverage = exports.SavingsPlansCoverageData = exports.GetRightsizingRecommendationResponse = exports.RightsizingRecommendationSummary = exports.RightsizingRecommendation = exports.TerminateRecommendationDetail = exports.RightsizingType = exports.ModifyRecommendationDetail = exports.TargetInstance = exports.PlatformDifference = exports.FindingReasonCode = exports.CurrentInstance = exports.ResourceUtilization = exports.EC2ResourceUtilization = exports.NetworkResourceUtilization = exports.EBSResourceUtilization = exports.DiskResourceUtilization = exports.ResourceDetails = exports.EC2ResourceDetails = exports.RightsizingRecommendationMetadata = exports.RightsizingRecommendationConfiguration = exports.RecommendationTarget = exports.GetReservationUtilizationResponse = exports.UtilizationByTime = exports.ReservationUtilizationGroup = exports.ReservationAggregates = void 0;
|
|
6
|
+
exports.DescribeCostCategoryDefinitionResponse = exports.UpdateCostCategoryDefinitionRequest = exports.GetAnomalyMonitorsResponse = exports.CreateCostCategoryDefinitionRequest = exports.CostCategory = exports.CreateAnomalyMonitorRequest = exports.GetUsageForecastRequest = exports.GetTagsRequest = exports.GetSavingsPlansUtilizationRequest = exports.GetSavingsPlansUtilizationDetailsRequest = exports.GetSavingsPlansPurchaseRecommendationRequest = exports.GetSavingsPlansCoverageRequest = exports.GetRightsizingRecommendationRequest = exports.GetReservationUtilizationRequest = exports.GetReservationPurchaseRecommendationRequest = exports.GetReservationCoverageRequest = exports.GetDimensionValuesRequest = exports.GetCostForecastRequest = exports.GetCostCategoriesRequest = exports.GetCostAndUsageWithResourcesRequest = exports.GetCostAndUsageRequest = exports.CostCategoryRule = exports.AnomalyMonitor = exports.Expression = exports.UpdateCostCategoryDefinitionResponse = exports.UpdateAnomalySubscriptionResponse = exports.UpdateAnomalySubscriptionRequest = exports.UpdateAnomalyMonitorResponse = exports.UpdateAnomalyMonitorRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TooManyTagsException = exports.TagResourceResponse = exports.TagResourceRequest = exports.ProvideAnomalyFeedbackResponse = exports.ProvideAnomalyFeedbackRequest = exports.ListTagsForResourceResponse = void 0;
|
|
7
7
|
const CostExplorerServiceException_1 = require("./CostExplorerServiceException");
|
|
8
8
|
var AccountScope;
|
|
9
9
|
(function (AccountScope) {
|
|
@@ -146,6 +146,12 @@ var AnomalySubscription;
|
|
|
146
146
|
...obj,
|
|
147
147
|
});
|
|
148
148
|
})(AnomalySubscription = exports.AnomalySubscription || (exports.AnomalySubscription = {}));
|
|
149
|
+
var ResourceTag;
|
|
150
|
+
(function (ResourceTag) {
|
|
151
|
+
ResourceTag.filterSensitiveLog = (obj) => ({
|
|
152
|
+
...obj,
|
|
153
|
+
});
|
|
154
|
+
})(ResourceTag = exports.ResourceTag || (exports.ResourceTag = {}));
|
|
149
155
|
var CreateAnomalyMonitorResponse;
|
|
150
156
|
(function (CreateAnomalyMonitorResponse) {
|
|
151
157
|
CreateAnomalyMonitorResponse.filterSensitiveLog = (obj) => ({
|
|
@@ -315,6 +321,7 @@ class ResourceNotFoundException extends CostExplorerServiceException_1.CostExplo
|
|
|
315
321
|
this.$fault = "client";
|
|
316
322
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
317
323
|
this.Message = opts.Message;
|
|
324
|
+
this.ResourceName = opts.ResourceName;
|
|
318
325
|
}
|
|
319
326
|
}
|
|
320
327
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
@@ -1012,6 +1019,18 @@ var ListCostCategoryDefinitionsResponse;
|
|
|
1012
1019
|
...obj,
|
|
1013
1020
|
});
|
|
1014
1021
|
})(ListCostCategoryDefinitionsResponse = exports.ListCostCategoryDefinitionsResponse || (exports.ListCostCategoryDefinitionsResponse = {}));
|
|
1022
|
+
var ListTagsForResourceRequest;
|
|
1023
|
+
(function (ListTagsForResourceRequest) {
|
|
1024
|
+
ListTagsForResourceRequest.filterSensitiveLog = (obj) => ({
|
|
1025
|
+
...obj,
|
|
1026
|
+
});
|
|
1027
|
+
})(ListTagsForResourceRequest = exports.ListTagsForResourceRequest || (exports.ListTagsForResourceRequest = {}));
|
|
1028
|
+
var ListTagsForResourceResponse;
|
|
1029
|
+
(function (ListTagsForResourceResponse) {
|
|
1030
|
+
ListTagsForResourceResponse.filterSensitiveLog = (obj) => ({
|
|
1031
|
+
...obj,
|
|
1032
|
+
});
|
|
1033
|
+
})(ListTagsForResourceResponse = exports.ListTagsForResourceResponse || (exports.ListTagsForResourceResponse = {}));
|
|
1015
1034
|
var ProvideAnomalyFeedbackRequest;
|
|
1016
1035
|
(function (ProvideAnomalyFeedbackRequest) {
|
|
1017
1036
|
ProvideAnomalyFeedbackRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1024,6 +1043,45 @@ var ProvideAnomalyFeedbackResponse;
|
|
|
1024
1043
|
...obj,
|
|
1025
1044
|
});
|
|
1026
1045
|
})(ProvideAnomalyFeedbackResponse = exports.ProvideAnomalyFeedbackResponse || (exports.ProvideAnomalyFeedbackResponse = {}));
|
|
1046
|
+
var TagResourceRequest;
|
|
1047
|
+
(function (TagResourceRequest) {
|
|
1048
|
+
TagResourceRequest.filterSensitiveLog = (obj) => ({
|
|
1049
|
+
...obj,
|
|
1050
|
+
});
|
|
1051
|
+
})(TagResourceRequest = exports.TagResourceRequest || (exports.TagResourceRequest = {}));
|
|
1052
|
+
var TagResourceResponse;
|
|
1053
|
+
(function (TagResourceResponse) {
|
|
1054
|
+
TagResourceResponse.filterSensitiveLog = (obj) => ({
|
|
1055
|
+
...obj,
|
|
1056
|
+
});
|
|
1057
|
+
})(TagResourceResponse = exports.TagResourceResponse || (exports.TagResourceResponse = {}));
|
|
1058
|
+
class TooManyTagsException extends CostExplorerServiceException_1.CostExplorerServiceException {
|
|
1059
|
+
constructor(opts) {
|
|
1060
|
+
super({
|
|
1061
|
+
name: "TooManyTagsException",
|
|
1062
|
+
$fault: "client",
|
|
1063
|
+
...opts,
|
|
1064
|
+
});
|
|
1065
|
+
this.name = "TooManyTagsException";
|
|
1066
|
+
this.$fault = "client";
|
|
1067
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
1068
|
+
this.Message = opts.Message;
|
|
1069
|
+
this.ResourceName = opts.ResourceName;
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1072
|
+
exports.TooManyTagsException = TooManyTagsException;
|
|
1073
|
+
var UntagResourceRequest;
|
|
1074
|
+
(function (UntagResourceRequest) {
|
|
1075
|
+
UntagResourceRequest.filterSensitiveLog = (obj) => ({
|
|
1076
|
+
...obj,
|
|
1077
|
+
});
|
|
1078
|
+
})(UntagResourceRequest = exports.UntagResourceRequest || (exports.UntagResourceRequest = {}));
|
|
1079
|
+
var UntagResourceResponse;
|
|
1080
|
+
(function (UntagResourceResponse) {
|
|
1081
|
+
UntagResourceResponse.filterSensitiveLog = (obj) => ({
|
|
1082
|
+
...obj,
|
|
1083
|
+
});
|
|
1084
|
+
})(UntagResourceResponse = exports.UntagResourceResponse || (exports.UntagResourceResponse = {}));
|
|
1027
1085
|
var UpdateAnomalyMonitorRequest;
|
|
1028
1086
|
(function (UpdateAnomalyMonitorRequest) {
|
|
1029
1087
|
UpdateAnomalyMonitorRequest.filterSensitiveLog = (obj) => ({
|