@aws-sdk/client-cost-explorer 3.30.0 → 3.34.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 +35 -0
- package/dist/cjs/CostExplorerClient.js +13 -13
- package/dist/cjs/CostExplorerClient.js.map +1 -1
- package/dist/cjs/commands/CreateAnomalyMonitorCommand.js +3 -3
- package/dist/cjs/commands/CreateAnomalyMonitorCommand.js.map +1 -1
- package/dist/cjs/commands/CreateAnomalySubscriptionCommand.js +3 -3
- package/dist/cjs/commands/CreateAnomalySubscriptionCommand.js.map +1 -1
- package/dist/cjs/commands/CreateCostCategoryDefinitionCommand.js +3 -3
- package/dist/cjs/commands/CreateCostCategoryDefinitionCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteAnomalyMonitorCommand.js +3 -3
- package/dist/cjs/commands/DeleteAnomalyMonitorCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteAnomalySubscriptionCommand.js +3 -3
- package/dist/cjs/commands/DeleteAnomalySubscriptionCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteCostCategoryDefinitionCommand.js +3 -3
- package/dist/cjs/commands/DeleteCostCategoryDefinitionCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeCostCategoryDefinitionCommand.js +3 -3
- package/dist/cjs/commands/DescribeCostCategoryDefinitionCommand.js.map +1 -1
- package/dist/cjs/commands/GetAnomaliesCommand.js +3 -3
- package/dist/cjs/commands/GetAnomaliesCommand.js.map +1 -1
- package/dist/cjs/commands/GetAnomalyMonitorsCommand.js +3 -3
- package/dist/cjs/commands/GetAnomalyMonitorsCommand.js.map +1 -1
- package/dist/cjs/commands/GetAnomalySubscriptionsCommand.js +3 -3
- package/dist/cjs/commands/GetAnomalySubscriptionsCommand.js.map +1 -1
- package/dist/cjs/commands/GetCostAndUsageCommand.js +3 -3
- package/dist/cjs/commands/GetCostAndUsageCommand.js.map +1 -1
- package/dist/cjs/commands/GetCostAndUsageWithResourcesCommand.js +3 -3
- package/dist/cjs/commands/GetCostAndUsageWithResourcesCommand.js.map +1 -1
- package/dist/cjs/commands/GetCostCategoriesCommand.js +3 -3
- package/dist/cjs/commands/GetCostCategoriesCommand.js.map +1 -1
- package/dist/cjs/commands/GetCostForecastCommand.js +3 -3
- package/dist/cjs/commands/GetCostForecastCommand.js.map +1 -1
- package/dist/cjs/commands/GetDimensionValuesCommand.js +3 -3
- package/dist/cjs/commands/GetDimensionValuesCommand.js.map +1 -1
- package/dist/cjs/commands/GetReservationCoverageCommand.js +3 -3
- package/dist/cjs/commands/GetReservationCoverageCommand.js.map +1 -1
- package/dist/cjs/commands/GetReservationPurchaseRecommendationCommand.js +3 -3
- package/dist/cjs/commands/GetReservationPurchaseRecommendationCommand.js.map +1 -1
- package/dist/cjs/commands/GetReservationUtilizationCommand.js +3 -3
- package/dist/cjs/commands/GetReservationUtilizationCommand.js.map +1 -1
- package/dist/cjs/commands/GetRightsizingRecommendationCommand.js +3 -3
- package/dist/cjs/commands/GetRightsizingRecommendationCommand.js.map +1 -1
- package/dist/cjs/commands/GetSavingsPlansCoverageCommand.js +3 -3
- package/dist/cjs/commands/GetSavingsPlansCoverageCommand.js.map +1 -1
- package/dist/cjs/commands/GetSavingsPlansPurchaseRecommendationCommand.js +3 -3
- package/dist/cjs/commands/GetSavingsPlansPurchaseRecommendationCommand.js.map +1 -1
- package/dist/cjs/commands/GetSavingsPlansUtilizationCommand.js +3 -3
- package/dist/cjs/commands/GetSavingsPlansUtilizationCommand.js.map +1 -1
- package/dist/cjs/commands/GetSavingsPlansUtilizationDetailsCommand.js +3 -3
- package/dist/cjs/commands/GetSavingsPlansUtilizationDetailsCommand.js.map +1 -1
- package/dist/cjs/commands/GetTagsCommand.js +3 -3
- package/dist/cjs/commands/GetTagsCommand.js.map +1 -1
- package/dist/cjs/commands/GetUsageForecastCommand.js +3 -3
- package/dist/cjs/commands/GetUsageForecastCommand.js.map +1 -1
- package/dist/cjs/commands/ListCostCategoryDefinitionsCommand.js +3 -3
- package/dist/cjs/commands/ListCostCategoryDefinitionsCommand.js.map +1 -1
- package/dist/cjs/commands/ProvideAnomalyFeedbackCommand.js +3 -3
- package/dist/cjs/commands/ProvideAnomalyFeedbackCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateAnomalyMonitorCommand.js +3 -3
- package/dist/cjs/commands/UpdateAnomalyMonitorCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateAnomalySubscriptionCommand.js +3 -3
- package/dist/cjs/commands/UpdateAnomalySubscriptionCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateCostCategoryDefinitionCommand.js +3 -3
- package/dist/cjs/commands/UpdateCostCategoryDefinitionCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +37 -37
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +39 -39
- package/dist/cjs/protocols/Aws_json1_1.js +314 -314
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/CostExplorer.js +1 -19
- package/dist/es/CostExplorer.js.map +1 -1
- package/dist/es/CostExplorerClient.js +1 -24
- package/dist/es/CostExplorerClient.js.map +1 -1
- package/dist/es/commands/CreateAnomalyMonitorCommand.js +2 -28
- package/dist/es/commands/CreateAnomalyMonitorCommand.js.map +1 -1
- package/dist/es/commands/CreateAnomalySubscriptionCommand.js +2 -29
- package/dist/es/commands/CreateAnomalySubscriptionCommand.js.map +1 -1
- package/dist/es/commands/CreateCostCategoryDefinitionCommand.js +2 -27
- package/dist/es/commands/CreateCostCategoryDefinitionCommand.js.map +1 -1
- package/dist/es/commands/DeleteAnomalyMonitorCommand.js +2 -27
- package/dist/es/commands/DeleteAnomalyMonitorCommand.js.map +1 -1
- package/dist/es/commands/DeleteAnomalySubscriptionCommand.js +2 -27
- package/dist/es/commands/DeleteAnomalySubscriptionCommand.js.map +1 -1
- package/dist/es/commands/DeleteCostCategoryDefinitionCommand.js +2 -27
- package/dist/es/commands/DeleteCostCategoryDefinitionCommand.js.map +1 -1
- package/dist/es/commands/DescribeCostCategoryDefinitionCommand.js +2 -28
- package/dist/es/commands/DescribeCostCategoryDefinitionCommand.js.map +1 -1
- package/dist/es/commands/GetAnomaliesCommand.js +2 -28
- package/dist/es/commands/GetAnomaliesCommand.js.map +1 -1
- package/dist/es/commands/GetAnomalyMonitorsCommand.js +2 -28
- package/dist/es/commands/GetAnomalyMonitorsCommand.js.map +1 -1
- package/dist/es/commands/GetAnomalySubscriptionsCommand.js +2 -28
- package/dist/es/commands/GetAnomalySubscriptionsCommand.js.map +1 -1
- package/dist/es/commands/GetCostAndUsageCommand.js +2 -32
- package/dist/es/commands/GetCostAndUsageCommand.js.map +1 -1
- package/dist/es/commands/GetCostAndUsageWithResourcesCommand.js +2 -34
- package/dist/es/commands/GetCostAndUsageWithResourcesCommand.js.map +1 -1
- package/dist/es/commands/GetCostCategoriesCommand.js +2 -30
- package/dist/es/commands/GetCostCategoriesCommand.js.map +1 -1
- package/dist/es/commands/GetCostForecastCommand.js +2 -27
- package/dist/es/commands/GetCostForecastCommand.js.map +1 -1
- package/dist/es/commands/GetDimensionValuesCommand.js +2 -27
- package/dist/es/commands/GetDimensionValuesCommand.js.map +1 -1
- package/dist/es/commands/GetReservationCoverageCommand.js +2 -68
- package/dist/es/commands/GetReservationCoverageCommand.js.map +1 -1
- package/dist/es/commands/GetReservationPurchaseRecommendationCommand.js +2 -36
- package/dist/es/commands/GetReservationPurchaseRecommendationCommand.js.map +1 -1
- package/dist/es/commands/GetReservationUtilizationCommand.js +2 -29
- package/dist/es/commands/GetReservationUtilizationCommand.js.map +1 -1
- package/dist/es/commands/GetRightsizingRecommendationCommand.js +2 -36
- package/dist/es/commands/GetRightsizingRecommendationCommand.js.map +1 -1
- package/dist/es/commands/GetSavingsPlansCoverageCommand.js +2 -50
- package/dist/es/commands/GetSavingsPlansCoverageCommand.js.map +1 -1
- package/dist/es/commands/GetSavingsPlansPurchaseRecommendationCommand.js +2 -27
- package/dist/es/commands/GetSavingsPlansPurchaseRecommendationCommand.js.map +1 -1
- package/dist/es/commands/GetSavingsPlansUtilizationCommand.js +2 -30
- package/dist/es/commands/GetSavingsPlansUtilizationCommand.js.map +1 -1
- package/dist/es/commands/GetSavingsPlansUtilizationDetailsCommand.js +2 -31
- package/dist/es/commands/GetSavingsPlansUtilizationDetailsCommand.js.map +1 -1
- package/dist/es/commands/GetTagsCommand.js +2 -27
- package/dist/es/commands/GetTagsCommand.js.map +1 -1
- package/dist/es/commands/GetUsageForecastCommand.js +2 -27
- package/dist/es/commands/GetUsageForecastCommand.js.map +1 -1
- package/dist/es/commands/ListCostCategoryDefinitionsCommand.js +2 -27
- package/dist/es/commands/ListCostCategoryDefinitionsCommand.js.map +1 -1
- package/dist/es/commands/ProvideAnomalyFeedbackCommand.js +2 -27
- package/dist/es/commands/ProvideAnomalyFeedbackCommand.js.map +1 -1
- package/dist/es/commands/UpdateAnomalyMonitorCommand.js +2 -28
- package/dist/es/commands/UpdateAnomalyMonitorCommand.js.map +1 -1
- package/dist/es/commands/UpdateAnomalySubscriptionCommand.js +2 -27
- package/dist/es/commands/UpdateAnomalySubscriptionCommand.js.map +1 -1
- package/dist/es/commands/UpdateCostCategoryDefinitionCommand.js +2 -27
- package/dist/es/commands/UpdateCostCategoryDefinitionCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -441
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +39 -39
- package/dist/es/pagination/GetSavingsPlansCoveragePaginator.js +16 -28
- package/dist/es/pagination/GetSavingsPlansCoveragePaginator.js.map +1 -1
- package/dist/es/pagination/GetSavingsPlansUtilizationDetailsPaginator.js +16 -28
- package/dist/es/pagination/GetSavingsPlansUtilizationDetailsPaginator.js.map +1 -1
- package/dist/es/pagination/ListCostCategoryDefinitionsPaginator.js +16 -28
- package/dist/es/pagination/ListCostCategoryDefinitionsPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_json1_1.js +550 -555
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/dist/types/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/runtimeConfig.d.ts +1 -0
- package/dist/types/runtimeConfig.native.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -39
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +3 -5
- package/tsconfig.types.json +8 -0
|
@@ -3,39 +3,13 @@ import { DescribeCostCategoryDefinitionRequest, DescribeCostCategoryDefinitionRe
|
|
|
3
3
|
import { deserializeAws_json1_1DescribeCostCategoryDefinitionCommand, serializeAws_json1_1DescribeCostCategoryDefinitionCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Returns the name, ARN, rules, definition, and effective dates of a Cost Category that's defined in the account.</p>
|
|
8
|
-
* <p>You have the option to use <code>EffectiveOn</code> to return a Cost Category that is active on a specific date. If there is no <code>EffectiveOn</code> specified, you’ll see a Cost Category that is effective on the current date. If Cost Category is still effective, <code>EffectiveEnd</code> is omitted in the response. </p>
|
|
9
|
-
* @example
|
|
10
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
11
|
-
* ```javascript
|
|
12
|
-
* import { CostExplorerClient, DescribeCostCategoryDefinitionCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
13
|
-
* // const { CostExplorerClient, DescribeCostCategoryDefinitionCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
14
|
-
* const client = new CostExplorerClient(config);
|
|
15
|
-
* const command = new DescribeCostCategoryDefinitionCommand(input);
|
|
16
|
-
* const response = await client.send(command);
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @see {@link DescribeCostCategoryDefinitionCommandInput} for command's `input` shape.
|
|
20
|
-
* @see {@link DescribeCostCategoryDefinitionCommandOutput} for command's `response` shape.
|
|
21
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
var DescribeCostCategoryDefinitionCommand = /** @class */ (function (_super) {
|
|
6
|
+
var DescribeCostCategoryDefinitionCommand = (function (_super) {
|
|
25
7
|
__extends(DescribeCostCategoryDefinitionCommand, _super);
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
8
|
function DescribeCostCategoryDefinitionCommand(input) {
|
|
29
|
-
var _this =
|
|
30
|
-
// Start section: command_constructor
|
|
31
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
32
10
|
_this.input = input;
|
|
33
11
|
return _this;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
DescribeCostCategoryDefinitionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DescribeCostCategoryDefinitionCommand.js","sourceRoot":"","sources":["../../../commands/DescribeCostCategoryDefinitionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,qCAAqC,EAAE,sCAAsC,EAAE,MAAM,oBAAoB,CAAC;AACnH,OAAO,EACL,2DAA2D,EAC3D,yDAAyD,GAC1D,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"DescribeCostCategoryDefinitionCommand.js","sourceRoot":"","sources":["../../../commands/DescribeCostCategoryDefinitionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,qCAAqC,EAAE,sCAAsC,EAAE,MAAM,oBAAoB,CAAC;AACnH,OAAO,EACL,2DAA2D,EAC3D,yDAAyD,GAC1D,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAkC7D;IAA2D,yDAI1D;IAIC,+CAAqB,KAAiD;QAAtE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA4C;;IAItE,CAAC;IAKD,iEAAiB,GAAjB,UACE,WAAmE,EACnE,aAA+C,EAC/C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,oBAAoB,CAAC;QACxC,IAAM,WAAW,GAAG,uCAAuC,CAAC;QAC5D,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,qCAAqC,CAAC,kBAAkB;YACjF,wBAAwB,EAAE,sCAAsC,CAAC,kBAAkB;SACpF,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,yDAAS,GAAjB,UACE,KAAiD,EACjD,OAAuB;QAEvB,OAAO,yDAAyD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;IAEO,2DAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,2DAA2D,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAIH,4CAAC;AAAD,CAAC,AA5DD,CAA2D,QAAQ,GA4DlE"}
|
|
@@ -3,39 +3,13 @@ import { GetAnomaliesRequest, GetAnomaliesResponse } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_json1_1GetAnomaliesCommand, serializeAws_json1_1GetAnomaliesCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Retrieves all of the cost anomalies detected on your account during the time period that's
|
|
8
|
-
* specified by the <code>DateInterval</code> object. </p>
|
|
9
|
-
* @example
|
|
10
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
11
|
-
* ```javascript
|
|
12
|
-
* import { CostExplorerClient, GetAnomaliesCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
13
|
-
* // const { CostExplorerClient, GetAnomaliesCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
14
|
-
* const client = new CostExplorerClient(config);
|
|
15
|
-
* const command = new GetAnomaliesCommand(input);
|
|
16
|
-
* const response = await client.send(command);
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @see {@link GetAnomaliesCommandInput} for command's `input` shape.
|
|
20
|
-
* @see {@link GetAnomaliesCommandOutput} for command's `response` shape.
|
|
21
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
var GetAnomaliesCommand = /** @class */ (function (_super) {
|
|
6
|
+
var GetAnomaliesCommand = (function (_super) {
|
|
25
7
|
__extends(GetAnomaliesCommand, _super);
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
8
|
function GetAnomaliesCommand(input) {
|
|
29
|
-
var _this =
|
|
30
|
-
// Start section: command_constructor
|
|
31
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
32
10
|
_this.input = input;
|
|
33
11
|
return _this;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
GetAnomaliesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetAnomaliesCommand.js","sourceRoot":"","sources":["../../../commands/GetAnomaliesCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE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kBAAkB;SAClE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,uCAAS,GAAjB,UAAkB,KAA+B,EAAE,OAAuB;QACxE,OAAO,uCAAuC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAEO,yCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,yCAAyC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAIH,0BAAC;AAAD,CAAC,AAtDD,CAAyC,QAAQ,GAsDhD"}
|
|
@@ -3,39 +3,13 @@ import { GetAnomalyMonitorsRequest, GetAnomalyMonitorsResponse } from "../models
|
|
|
3
3
|
import { deserializeAws_json1_1GetAnomalyMonitorsCommand, serializeAws_json1_1GetAnomalyMonitorsCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Retrieves the cost anomaly monitor definitions for your account. You can filter using a
|
|
8
|
-
* list of cost anomaly monitor Amazon Resource Names (ARNs). </p>
|
|
9
|
-
* @example
|
|
10
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
11
|
-
* ```javascript
|
|
12
|
-
* import { CostExplorerClient, GetAnomalyMonitorsCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
13
|
-
* // const { CostExplorerClient, GetAnomalyMonitorsCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
14
|
-
* const client = new CostExplorerClient(config);
|
|
15
|
-
* const command = new GetAnomalyMonitorsCommand(input);
|
|
16
|
-
* const response = await client.send(command);
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @see {@link GetAnomalyMonitorsCommandInput} for command's `input` shape.
|
|
20
|
-
* @see {@link GetAnomalyMonitorsCommandOutput} for command's `response` shape.
|
|
21
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
var GetAnomalyMonitorsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var GetAnomalyMonitorsCommand = (function (_super) {
|
|
25
7
|
__extends(GetAnomalyMonitorsCommand, _super);
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
8
|
function GetAnomalyMonitorsCommand(input) {
|
|
29
|
-
var _this =
|
|
30
|
-
// Start section: command_constructor
|
|
31
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
32
10
|
_this.input = input;
|
|
33
11
|
return _this;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
GetAnomalyMonitorsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetAnomalyMonitorsCommand.js","sourceRoot":"","sources":["../../../commands/GetAnomalyMonitorsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAC3F,OAAO,EACL,+CAA+C,EAC/C,6CAA6C,GAC9C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
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,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,6CAAS,GAAjB,UAAkB,KAAqC,EAAE,OAAuB;QAC9E,OAAO,6CAA6C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAEO,+CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,+CAA+C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAIH,gCAAC;AAAD,CAAC,AAtDD,CAA+C,QAAQ,GAsDtD"}
|
|
@@ -3,39 +3,13 @@ import { GetAnomalySubscriptionsRequest, GetAnomalySubscriptionsResponse } from
|
|
|
3
3
|
import { deserializeAws_json1_1GetAnomalySubscriptionsCommand, serializeAws_json1_1GetAnomalySubscriptionsCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Retrieves the cost anomaly subscription objects for your account. You can filter using a
|
|
8
|
-
* list of cost anomaly monitor Amazon Resource Names (ARNs). </p>
|
|
9
|
-
* @example
|
|
10
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
11
|
-
* ```javascript
|
|
12
|
-
* import { CostExplorerClient, GetAnomalySubscriptionsCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
13
|
-
* // const { CostExplorerClient, GetAnomalySubscriptionsCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
14
|
-
* const client = new CostExplorerClient(config);
|
|
15
|
-
* const command = new GetAnomalySubscriptionsCommand(input);
|
|
16
|
-
* const response = await client.send(command);
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @see {@link GetAnomalySubscriptionsCommandInput} for command's `input` shape.
|
|
20
|
-
* @see {@link GetAnomalySubscriptionsCommandOutput} for command's `response` shape.
|
|
21
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
var GetAnomalySubscriptionsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var GetAnomalySubscriptionsCommand = (function (_super) {
|
|
25
7
|
__extends(GetAnomalySubscriptionsCommand, _super);
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
8
|
function GetAnomalySubscriptionsCommand(input) {
|
|
29
|
-
var _this =
|
|
30
|
-
// Start section: command_constructor
|
|
31
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
32
10
|
_this.input = input;
|
|
33
11
|
return _this;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
GetAnomalySubscriptionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetAnomalySubscriptionsCommand.js","sourceRoot":"","sources":["../../../commands/GetAnomalySubscriptionsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,8BAA8B,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrG,OAAO,EACL,oDAAoD,EACpD,kDAAkD,GACnD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"GetAnomalySubscriptionsCommand.js","sourceRoot":"","sources":["../../../commands/GetAnomalySubscriptionsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,8BAA8B,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrG,OAAO,EACL,oDAAoD,E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OAAuB;QACjE,OAAO,oDAAoD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAIH,qCAAC;AAAD,CAAC,AAtDD,CAAoD,QAAQ,GAsD3D"}
|
|
@@ -3,43 +3,13 @@ import { GetCostAndUsageRequest, GetCostAndUsageResponse } from "../models/model
|
|
|
3
3
|
import { deserializeAws_json1_1GetCostAndUsageCommand, serializeAws_json1_1GetCostAndUsageCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Retrieves cost and usage metrics for your account. You can specify which cost and
|
|
8
|
-
* usage-related metric that you want the request to return. For example, you can specify
|
|
9
|
-
* <code>BlendedCosts</code> or <code>UsageQuantity</code>. You can also filter and group your
|
|
10
|
-
* data by various dimensions, such as <code>SERVICE</code> or <code>AZ</code>, in a specific
|
|
11
|
-
* time range. For a complete list of valid dimensions, see the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetDimensionValues.html">GetDimensionValues</a> operation. Management account in an organization in Organizations have access to all member accounts.</p>
|
|
12
|
-
* <p>For information about filter limitations, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-limits.html">Quotas and restrictions</a> in the <i>Billing and Cost Management User Guide</i>.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { CostExplorerClient, GetCostAndUsageCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
17
|
-
* // const { CostExplorerClient, GetCostAndUsageCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
18
|
-
* const client = new CostExplorerClient(config);
|
|
19
|
-
* const command = new GetCostAndUsageCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link GetCostAndUsageCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link GetCostAndUsageCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
var GetCostAndUsageCommand = /** @class */ (function (_super) {
|
|
6
|
+
var GetCostAndUsageCommand = (function (_super) {
|
|
29
7
|
__extends(GetCostAndUsageCommand, _super);
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
8
|
function GetCostAndUsageCommand(input) {
|
|
33
|
-
var _this =
|
|
34
|
-
// Start section: command_constructor
|
|
35
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
36
10
|
_this.input = input;
|
|
37
11
|
return _this;
|
|
38
|
-
// End section: command_constructor
|
|
39
12
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
13
|
GetCostAndUsageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
44
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetCostAndUsageCommand.js","sourceRoot":"","sources":["../../../commands/GetCostAndUsageCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AACrF,OAAO,EACL,4CAA4C,EAC5C,0CAA0C,GAC3C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"GetCostAndUsageCommand.js","sourceRoot":"","sources":["../../../commands/GetCostAndUsageCommand.ts"],"names":[],"mappings":";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AA0C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAEO,4CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,4CAA4C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAIH,6BAAC;AAAD,CAAC,AAtDD,CAA4C,QAAQ,GAsDnD"}
|
|
@@ -3,45 +3,13 @@ import { GetCostAndUsageWithResourcesRequest, GetCostAndUsageWithResourcesRespon
|
|
|
3
3
|
import { deserializeAws_json1_1GetCostAndUsageWithResourcesCommand, serializeAws_json1_1GetCostAndUsageWithResourcesCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Retrieves cost and usage metrics with resources for your account. You can specify which cost and
|
|
8
|
-
* usage-related metric, such as <code>BlendedCosts</code> or <code>UsageQuantity</code>, that
|
|
9
|
-
* you want the request to return. You can also filter and group your data by various dimensions,
|
|
10
|
-
* such as <code>SERVICE</code> or <code>AZ</code>, in a specific time range. For a complete list
|
|
11
|
-
* of valid dimensions, see the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetDimensionValues.html">GetDimensionValues</a> operation. Management account in an organization in Organizations have access to all member accounts. This API is currently available for the Amazon Elastic Compute Cloud – Compute service only.</p>
|
|
12
|
-
* <note>
|
|
13
|
-
* <p>This is an opt-in only feature. You can enable this feature from the Cost Explorer Settings page. For information on how to access the Settings page, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/ce-access.html">Controlling Access for Cost Explorer</a> in the <i>Billing and Cost Management User Guide</i>.</p>
|
|
14
|
-
* </note>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { CostExplorerClient, GetCostAndUsageWithResourcesCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
19
|
-
* // const { CostExplorerClient, GetCostAndUsageWithResourcesCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
20
|
-
* const client = new CostExplorerClient(config);
|
|
21
|
-
* const command = new GetCostAndUsageWithResourcesCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link GetCostAndUsageWithResourcesCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link GetCostAndUsageWithResourcesCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
|
-
var GetCostAndUsageWithResourcesCommand = /** @class */ (function (_super) {
|
|
6
|
+
var GetCostAndUsageWithResourcesCommand = (function (_super) {
|
|
31
7
|
__extends(GetCostAndUsageWithResourcesCommand, _super);
|
|
32
|
-
// Start section: command_properties
|
|
33
|
-
// End section: command_properties
|
|
34
8
|
function GetCostAndUsageWithResourcesCommand(input) {
|
|
35
|
-
var _this =
|
|
36
|
-
// Start section: command_constructor
|
|
37
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
38
10
|
_this.input = input;
|
|
39
11
|
return _this;
|
|
40
|
-
// End section: command_constructor
|
|
41
12
|
}
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
13
|
GetCostAndUsageWithResourcesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
46
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
47
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetCostAndUsageWithResourcesCommand.js","sourceRoot":"","sources":["../../../commands/GetCostAndUsageWithResourcesCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mCAAmC,EAAE,oCAAoC,EAAE,MAAM,oBAAoB,CAAC;AAC/G,OAAO,EACL,yDAAyD,EACzD,uDAAuD,GACxD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"GetCostAndUsageWithResourcesCommand.js","sourceRoot":"","sources":["../../../commands/GetCostAndUsageWithResourcesCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mCAAmC,EAAE,oCAAoC,EAAE,MAAM,oBAAoB,CAAC;AAC/G,OAAO,EACL,yDAAyD,EACzD,uDAAuD,GACxD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAwC7D;IAAyD,uDAIxD;IAIC,6CAAqB,KAA+C;QAApE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA0C;;IAIpE,CAAC;IAKD,+DAAiB,GAAjB,UACE,WAAmE,EACnE,aAA+C,EAC/C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,oBAAoB,CAAC;QACxC,IAAM,WAAW,GAAG,qCAAqC,CAAC;QAC1D,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,mCAAmC,CAAC,kBAAkB;YAC/E,wBAAwB,EAAE,oCAAoC,CAAC,kBAAkB;SAClF,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,uDAAS,GAAjB,UAAkB,KAA+C,EAAE,OAAuB;QACxF,OAAO,uDAAuD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAEO,yDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,yDAAyD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;IAIH,0CAAC;AAAD,CAAC,AAzDD,CAAyD,QAAQ,GAyDhE"}
|
|
@@ -3,41 +3,13 @@ import { GetCostCategoriesRequest, GetCostCategoriesResponse } from "../models/m
|
|
|
3
3
|
import { deserializeAws_json1_1GetCostCategoriesCommand, serializeAws_json1_1GetCostCategoriesCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Retrieves an array of Cost Category names and values incurred cost.</p>
|
|
8
|
-
* <note>
|
|
9
|
-
* <p>If some Cost Category names and values are not associated with any cost, they will not be returned by this API.</p>
|
|
10
|
-
* </note>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CostExplorerClient, GetCostCategoriesCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
15
|
-
* // const { CostExplorerClient, GetCostCategoriesCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
16
|
-
* const client = new CostExplorerClient(config);
|
|
17
|
-
* const command = new GetCostCategoriesCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link GetCostCategoriesCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link GetCostCategoriesCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
|
-
var GetCostCategoriesCommand = /** @class */ (function (_super) {
|
|
6
|
+
var GetCostCategoriesCommand = (function (_super) {
|
|
27
7
|
__extends(GetCostCategoriesCommand, _super);
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
8
|
function GetCostCategoriesCommand(input) {
|
|
31
|
-
var _this =
|
|
32
|
-
// Start section: command_constructor
|
|
33
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
34
10
|
_this.input = input;
|
|
35
11
|
return _this;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
GetCostCategoriesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetCostCategoriesCommand.js","sourceRoot":"","sources":["../../../commands/GetCostCategoriesCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACzF,OAAO,EACL,8CAA8C,EAC9C,4CAA4C,GAC7C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
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AAuB,CACxB,CAAC;IACJ,CAAC;IAEO,4CAAS,GAAjB,UAAkB,KAAoC,EAAE,OAAuB;QAC7E,OAAO,4CAA4C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAEO,8CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,8CAA8C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAIH,+BAAC;AAAD,CAAC,AAtDD,CAA8C,QAAQ,GAsDrD"}
|
|
@@ -3,38 +3,13 @@ import { GetCostForecastRequest, GetCostForecastResponse } from "../models/model
|
|
|
3
3
|
import { deserializeAws_json1_1GetCostForecastCommand, serializeAws_json1_1GetCostForecastCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Retrieves a forecast for how much Amazon Web Services predicts that you will spend over the forecast time period that you select, based on your past costs. </p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { CostExplorerClient, GetCostForecastCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
12
|
-
* // const { CostExplorerClient, GetCostForecastCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
13
|
-
* const client = new CostExplorerClient(config);
|
|
14
|
-
* const command = new GetCostForecastCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link GetCostForecastCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link GetCostForecastCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var GetCostForecastCommand = /** @class */ (function (_super) {
|
|
6
|
+
var GetCostForecastCommand = (function (_super) {
|
|
24
7
|
__extends(GetCostForecastCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function GetCostForecastCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
GetCostForecastCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetCostForecastCommand.js","sourceRoot":"","sources":["../../../commands/GetCostForecastCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AACrF,OAAO,EACL,4CAA4C,EAC5C,0CAA0C,GAC3C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"GetCostForecastCommand.js","sourceRoot":"","sources":["../../../commands/GetCostForecastCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AACrF,OAAO,EACL,4CAA4C,EAC5C,0CAA0C,GAC3C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAA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 @@ import { GetDimensionValuesRequest, GetDimensionValuesResponse } from "../models
|
|
|
3
3
|
import { deserializeAws_json1_1GetDimensionValuesCommand, serializeAws_json1_1GetDimensionValuesCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Retrieves all available filter values for a specified filter over a period of time. You can search the dimension values for an arbitrary string. </p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { CostExplorerClient, GetDimensionValuesCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
12
|
-
* // const { CostExplorerClient, GetDimensionValuesCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
13
|
-
* const client = new CostExplorerClient(config);
|
|
14
|
-
* const command = new GetDimensionValuesCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link GetDimensionValuesCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link GetDimensionValuesCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var GetDimensionValuesCommand = /** @class */ (function (_super) {
|
|
6
|
+
var GetDimensionValuesCommand = (function (_super) {
|
|
24
7
|
__extends(GetDimensionValuesCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function GetDimensionValuesCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
GetDimensionValuesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetDimensionValuesCommand.js","sourceRoot":"","sources":["../../../commands/GetDimensionValuesCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAC3F,OAAO,EACL,+CAA+C,EAC/C,6CAA6C,GAC9C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"GetDimensionValuesCommand.js","sourceRoot":"","sources":["../../../commands/GetDimensionValuesCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAC3F,OAAO,EACL,+CAA+C,EAC/C,6CAA6C,GAC9C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAA+C,6CAI9C;IAIC,mCAAqB,KAAqC;QAA1D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAgC;;IAI1D,CAAC;IAKD,qDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA+C,EAC/C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,oBAAoB,CAAC;QACxC,IAAM,WAAW,GAAG,2BAA2B,CAAC;QAChD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,yBAAyB,CAAC,kBAAkB;YACrE,wBAAwB,EAAE,0BAA0B,CAAC,kBAAkB;SACxE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,6CAAS,GAAjB,UAAkB,KAAqC,EAAE,OAAuB;QAC9E,OAAO,6CAA6C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAEO,+CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,+CAA+C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAIH,gCAAC;AAAD,CAAC,AAtDD,CAA+C,QAAQ,GAsDtD"}
|
|
@@ -3,79 +3,13 @@ import { GetReservationCoverageRequest, GetReservationCoverageResponse } from ".
|
|
|
3
3
|
import { deserializeAws_json1_1GetReservationCoverageCommand, serializeAws_json1_1GetReservationCoverageCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Retrieves the reservation coverage for your account. This enables you to see how much of your Amazon Elastic Compute Cloud, Amazon ElastiCache, Amazon Relational Database Service, or
|
|
8
|
-
* Amazon Redshift usage is covered by a reservation. An organization's management account can see the coverage of the associated member accounts. This supports dimensions, Cost Categories, and nested expressions.
|
|
9
|
-
* For any time period, you can filter data about reservation usage by the following dimensions:</p>
|
|
10
|
-
* <ul>
|
|
11
|
-
* <li>
|
|
12
|
-
* <p>AZ</p>
|
|
13
|
-
* </li>
|
|
14
|
-
* <li>
|
|
15
|
-
* <p>CACHE_ENGINE</p>
|
|
16
|
-
* </li>
|
|
17
|
-
* <li>
|
|
18
|
-
* <p>DATABASE_ENGINE</p>
|
|
19
|
-
* </li>
|
|
20
|
-
* <li>
|
|
21
|
-
* <p>DEPLOYMENT_OPTION</p>
|
|
22
|
-
* </li>
|
|
23
|
-
* <li>
|
|
24
|
-
* <p>INSTANCE_TYPE</p>
|
|
25
|
-
* </li>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>LINKED_ACCOUNT</p>
|
|
28
|
-
* </li>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>OPERATING_SYSTEM</p>
|
|
31
|
-
* </li>
|
|
32
|
-
* <li>
|
|
33
|
-
* <p>PLATFORM</p>
|
|
34
|
-
* </li>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>REGION</p>
|
|
37
|
-
* </li>
|
|
38
|
-
* <li>
|
|
39
|
-
* <p>SERVICE</p>
|
|
40
|
-
* </li>
|
|
41
|
-
* <li>
|
|
42
|
-
* <p>TAG</p>
|
|
43
|
-
* </li>
|
|
44
|
-
* <li>
|
|
45
|
-
* <p>TENANCY</p>
|
|
46
|
-
* </li>
|
|
47
|
-
* </ul>
|
|
48
|
-
* <p>To determine valid values for a dimension, use the <code>GetDimensionValues</code> operation. </p>
|
|
49
|
-
* @example
|
|
50
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
51
|
-
* ```javascript
|
|
52
|
-
* import { CostExplorerClient, GetReservationCoverageCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
53
|
-
* // const { CostExplorerClient, GetReservationCoverageCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
54
|
-
* const client = new CostExplorerClient(config);
|
|
55
|
-
* const command = new GetReservationCoverageCommand(input);
|
|
56
|
-
* const response = await client.send(command);
|
|
57
|
-
* ```
|
|
58
|
-
*
|
|
59
|
-
* @see {@link GetReservationCoverageCommandInput} for command's `input` shape.
|
|
60
|
-
* @see {@link GetReservationCoverageCommandOutput} for command's `response` shape.
|
|
61
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
62
|
-
*
|
|
63
|
-
*/
|
|
64
|
-
var GetReservationCoverageCommand = /** @class */ (function (_super) {
|
|
6
|
+
var GetReservationCoverageCommand = (function (_super) {
|
|
65
7
|
__extends(GetReservationCoverageCommand, _super);
|
|
66
|
-
// Start section: command_properties
|
|
67
|
-
// End section: command_properties
|
|
68
8
|
function GetReservationCoverageCommand(input) {
|
|
69
|
-
var _this =
|
|
70
|
-
// Start section: command_constructor
|
|
71
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
72
10
|
_this.input = input;
|
|
73
11
|
return _this;
|
|
74
|
-
// End section: command_constructor
|
|
75
12
|
}
|
|
76
|
-
/**
|
|
77
|
-
* @internal
|
|
78
|
-
*/
|
|
79
13
|
GetReservationCoverageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
80
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
81
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetReservationCoverageCommand.js","sourceRoot":"","sources":["../../../commands/GetReservationCoverageCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,6BAA6B,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AACnG,OAAO,EACL,mDAAmD,EACnD,iDAAiD,GAClD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"GetReservationCoverageCommand.js","sourceRoot":"","sources":["../../../commands/GetReservationCoverageCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,6BAA6B,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AACnG,OAAO,EACL,mDAAmD,EACnD,iDAAiD,GAClD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAwE7D;IAAmD,iDAIlD;IAIC,uCAAqB,KAAyC;QAA9D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAoC;;IAI9D,CAAC;IAKD,yDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA+C,EAC/C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,oBAAoB,CAAC;QACxC,IAAM,WAAW,GAAG,+BAA+B,CAAC;QACpD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,6BAA6B,CAAC,kBAAkB;YACzE,wBAAwB,EAAE,8BAA8B,CAAC,kBAAkB;SAC5E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YAC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