@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.
Files changed (34) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +2 -2
  3. package/dist-cjs/CostExplorer.js +45 -0
  4. package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
  5. package/dist-cjs/commands/TagResourceCommand.js +36 -0
  6. package/dist-cjs/commands/UntagResourceCommand.js +36 -0
  7. package/dist-cjs/commands/index.js +3 -0
  8. package/dist-cjs/models/models_0.js +62 -4
  9. package/dist-cjs/protocols/Aws_json1_1.js +259 -2
  10. package/dist-es/CostExplorer.js +45 -0
  11. package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
  12. package/dist-es/commands/TagResourceCommand.js +39 -0
  13. package/dist-es/commands/UntagResourceCommand.js +39 -0
  14. package/dist-es/commands/index.js +3 -0
  15. package/dist-es/models/models_0.js +43 -0
  16. package/dist-es/protocols/Aws_json1_1.js +296 -4
  17. package/dist-types/CostExplorer.d.ts +28 -1
  18. package/dist-types/CostExplorerClient.d.ts +5 -2
  19. package/dist-types/commands/ListTagsForResourceCommand.d.ts +36 -0
  20. package/dist-types/commands/TagResourceCommand.d.ts +38 -0
  21. package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
  22. package/dist-types/commands/UpdateAnomalyMonitorCommand.d.ts +1 -1
  23. package/dist-types/commands/index.d.ts +3 -0
  24. package/dist-types/models/models_0.d.ts +252 -4
  25. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  26. package/dist-types/ts3.4/CostExplorer.d.ts +15 -0
  27. package/dist-types/ts3.4/CostExplorerClient.d.ts +5 -2
  28. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  32. package/dist-types/ts3.4/models/models_0.d.ts +75 -0
  33. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +9 -0
  34. package/package.json +6 -6
@@ -2,7 +2,7 @@ import { __assign, __awaiter, __generator, __read } from "tslib";
2
2
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
3
3
  import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectString as __expectString, limitedParseDouble as __limitedParseDouble, serializeFloat as __serializeFloat, } from "@aws-sdk/smithy-client";
4
4
  import { CostExplorerServiceException as __BaseException } from "../models/CostExplorerServiceException";
5
- import { BillExpirationException, DataUnavailableException, InvalidNextTokenException, LimitExceededException, RequestChangedException, ResourceNotFoundException, ServiceQuotaExceededException, UnknownMonitorException, UnknownSubscriptionException, UnresolvableUsageUnitException, } from "../models/models_0";
5
+ import { BillExpirationException, DataUnavailableException, InvalidNextTokenException, LimitExceededException, RequestChangedException, ResourceNotFoundException, ServiceQuotaExceededException, TooManyTagsException, UnknownMonitorException, UnknownSubscriptionException, UnresolvableUsageUnitException, } from "../models/models_0";
6
6
  export var serializeAws_json1_1CreateAnomalyMonitorCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
7
7
  var headers, body;
8
8
  return __generator(this, function (_a) {
@@ -289,6 +289,17 @@ export var serializeAws_json1_1ListCostCategoryDefinitionsCommand = function (in
289
289
  return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
290
290
  });
291
291
  }); };
292
+ export var serializeAws_json1_1ListTagsForResourceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
293
+ var headers, body;
294
+ return __generator(this, function (_a) {
295
+ headers = {
296
+ "content-type": "application/x-amz-json-1.1",
297
+ "x-amz-target": "AWSInsightsIndexService.ListTagsForResource",
298
+ };
299
+ body = JSON.stringify(serializeAws_json1_1ListTagsForResourceRequest(input, context));
300
+ return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
301
+ });
302
+ }); };
292
303
  export var serializeAws_json1_1ProvideAnomalyFeedbackCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
293
304
  var headers, body;
294
305
  return __generator(this, function (_a) {
@@ -300,6 +311,28 @@ export var serializeAws_json1_1ProvideAnomalyFeedbackCommand = function (input,
300
311
  return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
301
312
  });
302
313
  }); };
314
+ export var serializeAws_json1_1TagResourceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
315
+ var headers, body;
316
+ return __generator(this, function (_a) {
317
+ headers = {
318
+ "content-type": "application/x-amz-json-1.1",
319
+ "x-amz-target": "AWSInsightsIndexService.TagResource",
320
+ };
321
+ body = JSON.stringify(serializeAws_json1_1TagResourceRequest(input, context));
322
+ return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
323
+ });
324
+ }); };
325
+ export var serializeAws_json1_1UntagResourceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
326
+ var headers, body;
327
+ return __generator(this, function (_a) {
328
+ headers = {
329
+ "content-type": "application/x-amz-json-1.1",
330
+ "x-amz-target": "AWSInsightsIndexService.UntagResource",
331
+ };
332
+ body = JSON.stringify(serializeAws_json1_1UntagResourceRequest(input, context));
333
+ return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
334
+ });
335
+ }); };
303
336
  export var serializeAws_json1_1UpdateAnomalyMonitorCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
304
337
  var headers, body;
305
338
  return __generator(this, function (_a) {
@@ -1821,6 +1854,60 @@ var deserializeAws_json1_1ListCostCategoryDefinitionsCommandError = function (ou
1821
1854
  }
1822
1855
  });
1823
1856
  }); };
1857
+ export var deserializeAws_json1_1ListTagsForResourceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1858
+ var data, contents, response;
1859
+ return __generator(this, function (_a) {
1860
+ switch (_a.label) {
1861
+ case 0:
1862
+ if (output.statusCode >= 300) {
1863
+ return [2, deserializeAws_json1_1ListTagsForResourceCommandError(output, context)];
1864
+ }
1865
+ return [4, parseBody(output.body, context)];
1866
+ case 1:
1867
+ data = _a.sent();
1868
+ contents = {};
1869
+ contents = deserializeAws_json1_1ListTagsForResourceResponse(data, context);
1870
+ response = __assign({ $metadata: deserializeMetadata(output) }, contents);
1871
+ return [2, Promise.resolve(response)];
1872
+ }
1873
+ });
1874
+ }); };
1875
+ var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1876
+ var parsedOutput, _a, response, errorCode, _b, parsedBody;
1877
+ var _c;
1878
+ return __generator(this, function (_d) {
1879
+ switch (_d.label) {
1880
+ case 0:
1881
+ _a = [__assign({}, output)];
1882
+ _c = {};
1883
+ return [4, parseBody(output.body, context)];
1884
+ case 1:
1885
+ parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
1886
+ errorCode = "UnknownError";
1887
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1888
+ _b = errorCode;
1889
+ switch (_b) {
1890
+ case "LimitExceededException": return [3, 2];
1891
+ case "com.amazonaws.costexplorer#LimitExceededException": return [3, 2];
1892
+ case "ResourceNotFoundException": return [3, 4];
1893
+ case "com.amazonaws.costexplorer#ResourceNotFoundException": return [3, 4];
1894
+ }
1895
+ return [3, 6];
1896
+ case 2: return [4, deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context)];
1897
+ case 3: throw _d.sent();
1898
+ case 4: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
1899
+ case 5: throw _d.sent();
1900
+ case 6:
1901
+ parsedBody = parsedOutput.body;
1902
+ response = new __BaseException({
1903
+ name: parsedBody.code || parsedBody.Code || errorCode,
1904
+ $fault: "client",
1905
+ $metadata: deserializeMetadata(output),
1906
+ });
1907
+ throw __decorateServiceException(response, parsedBody);
1908
+ }
1909
+ });
1910
+ }); };
1824
1911
  export var deserializeAws_json1_1ProvideAnomalyFeedbackCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1825
1912
  var data, contents, response;
1826
1913
  return __generator(this, function (_a) {
@@ -1871,6 +1958,118 @@ var deserializeAws_json1_1ProvideAnomalyFeedbackCommandError = function (output,
1871
1958
  }
1872
1959
  });
1873
1960
  }); };
1961
+ export var deserializeAws_json1_1TagResourceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1962
+ var data, contents, response;
1963
+ return __generator(this, function (_a) {
1964
+ switch (_a.label) {
1965
+ case 0:
1966
+ if (output.statusCode >= 300) {
1967
+ return [2, deserializeAws_json1_1TagResourceCommandError(output, context)];
1968
+ }
1969
+ return [4, parseBody(output.body, context)];
1970
+ case 1:
1971
+ data = _a.sent();
1972
+ contents = {};
1973
+ contents = deserializeAws_json1_1TagResourceResponse(data, context);
1974
+ response = __assign({ $metadata: deserializeMetadata(output) }, contents);
1975
+ return [2, Promise.resolve(response)];
1976
+ }
1977
+ });
1978
+ }); };
1979
+ var deserializeAws_json1_1TagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1980
+ var parsedOutput, _a, response, errorCode, _b, parsedBody;
1981
+ var _c;
1982
+ return __generator(this, function (_d) {
1983
+ switch (_d.label) {
1984
+ case 0:
1985
+ _a = [__assign({}, output)];
1986
+ _c = {};
1987
+ return [4, parseBody(output.body, context)];
1988
+ case 1:
1989
+ parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
1990
+ errorCode = "UnknownError";
1991
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1992
+ _b = errorCode;
1993
+ switch (_b) {
1994
+ case "LimitExceededException": return [3, 2];
1995
+ case "com.amazonaws.costexplorer#LimitExceededException": return [3, 2];
1996
+ case "ResourceNotFoundException": return [3, 4];
1997
+ case "com.amazonaws.costexplorer#ResourceNotFoundException": return [3, 4];
1998
+ case "TooManyTagsException": return [3, 6];
1999
+ case "com.amazonaws.costexplorer#TooManyTagsException": return [3, 6];
2000
+ }
2001
+ return [3, 8];
2002
+ case 2: return [4, deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context)];
2003
+ case 3: throw _d.sent();
2004
+ case 4: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
2005
+ case 5: throw _d.sent();
2006
+ case 6: return [4, deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context)];
2007
+ case 7: throw _d.sent();
2008
+ case 8:
2009
+ parsedBody = parsedOutput.body;
2010
+ response = new __BaseException({
2011
+ name: parsedBody.code || parsedBody.Code || errorCode,
2012
+ $fault: "client",
2013
+ $metadata: deserializeMetadata(output),
2014
+ });
2015
+ throw __decorateServiceException(response, parsedBody);
2016
+ }
2017
+ });
2018
+ }); };
2019
+ export var deserializeAws_json1_1UntagResourceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
2020
+ var data, contents, response;
2021
+ return __generator(this, function (_a) {
2022
+ switch (_a.label) {
2023
+ case 0:
2024
+ if (output.statusCode >= 300) {
2025
+ return [2, deserializeAws_json1_1UntagResourceCommandError(output, context)];
2026
+ }
2027
+ return [4, parseBody(output.body, context)];
2028
+ case 1:
2029
+ data = _a.sent();
2030
+ contents = {};
2031
+ contents = deserializeAws_json1_1UntagResourceResponse(data, context);
2032
+ response = __assign({ $metadata: deserializeMetadata(output) }, contents);
2033
+ return [2, Promise.resolve(response)];
2034
+ }
2035
+ });
2036
+ }); };
2037
+ var deserializeAws_json1_1UntagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
2038
+ var parsedOutput, _a, response, errorCode, _b, parsedBody;
2039
+ var _c;
2040
+ return __generator(this, function (_d) {
2041
+ switch (_d.label) {
2042
+ case 0:
2043
+ _a = [__assign({}, output)];
2044
+ _c = {};
2045
+ return [4, parseBody(output.body, context)];
2046
+ case 1:
2047
+ parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
2048
+ errorCode = "UnknownError";
2049
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2050
+ _b = errorCode;
2051
+ switch (_b) {
2052
+ case "LimitExceededException": return [3, 2];
2053
+ case "com.amazonaws.costexplorer#LimitExceededException": return [3, 2];
2054
+ case "ResourceNotFoundException": return [3, 4];
2055
+ case "com.amazonaws.costexplorer#ResourceNotFoundException": return [3, 4];
2056
+ }
2057
+ return [3, 6];
2058
+ case 2: return [4, deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context)];
2059
+ case 3: throw _d.sent();
2060
+ case 4: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
2061
+ case 5: throw _d.sent();
2062
+ case 6:
2063
+ parsedBody = parsedOutput.body;
2064
+ response = new __BaseException({
2065
+ name: parsedBody.code || parsedBody.Code || errorCode,
2066
+ $fault: "client",
2067
+ $metadata: deserializeMetadata(output),
2068
+ });
2069
+ throw __decorateServiceException(response, parsedBody);
2070
+ }
2071
+ });
2072
+ }); };
1874
2073
  export var deserializeAws_json1_1UpdateAnomalyMonitorCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1875
2074
  var data, contents, response;
1876
2075
  return __generator(this, function (_a) {
@@ -2104,6 +2303,15 @@ var deserializeAws_json1_1ServiceQuotaExceededExceptionResponse = function (pars
2104
2303
  return [2, __decorateServiceException(exception, body)];
2105
2304
  });
2106
2305
  }); };
2306
+ var deserializeAws_json1_1TooManyTagsExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
2307
+ var body, deserialized, exception;
2308
+ return __generator(this, function (_a) {
2309
+ body = parsedOutput.body;
2310
+ deserialized = deserializeAws_json1_1TooManyTagsException(body, context);
2311
+ exception = new TooManyTagsException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
2312
+ return [2, __decorateServiceException(exception, body)];
2313
+ });
2314
+ }); };
2107
2315
  var deserializeAws_json1_1UnknownMonitorExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
2108
2316
  var body, deserialized, exception;
2109
2317
  return __generator(this, function (_a) {
@@ -2234,19 +2442,28 @@ var serializeAws_json1_1CostCategoryValues = function (input, context) {
2234
2442
  input.Values !== null && { Values: serializeAws_json1_1Values(input.Values, context) }));
2235
2443
  };
2236
2444
  var serializeAws_json1_1CreateAnomalyMonitorRequest = function (input, context) {
2237
- return __assign({}, (input.AnomalyMonitor !== undefined &&
2445
+ return __assign(__assign({}, (input.AnomalyMonitor !== undefined &&
2238
2446
  input.AnomalyMonitor !== null && {
2239
2447
  AnomalyMonitor: serializeAws_json1_1AnomalyMonitor(input.AnomalyMonitor, context),
2448
+ })), (input.ResourceTags !== undefined &&
2449
+ input.ResourceTags !== null && {
2450
+ ResourceTags: serializeAws_json1_1ResourceTagList(input.ResourceTags, context),
2240
2451
  }));
2241
2452
  };
2242
2453
  var serializeAws_json1_1CreateAnomalySubscriptionRequest = function (input, context) {
2243
- return __assign({}, (input.AnomalySubscription !== undefined &&
2454
+ return __assign(__assign({}, (input.AnomalySubscription !== undefined &&
2244
2455
  input.AnomalySubscription !== null && {
2245
2456
  AnomalySubscription: serializeAws_json1_1AnomalySubscription(input.AnomalySubscription, context),
2457
+ })), (input.ResourceTags !== undefined &&
2458
+ input.ResourceTags !== null && {
2459
+ ResourceTags: serializeAws_json1_1ResourceTagList(input.ResourceTags, context),
2246
2460
  }));
2247
2461
  };
2248
2462
  var serializeAws_json1_1CreateCostCategoryDefinitionRequest = function (input, context) {
2249
- return __assign(__assign(__assign(__assign(__assign({}, (input.DefaultValue !== undefined && input.DefaultValue !== null && { DefaultValue: input.DefaultValue })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.RuleVersion !== undefined && input.RuleVersion !== null && { RuleVersion: input.RuleVersion })), (input.Rules !== undefined &&
2463
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.DefaultValue !== undefined && input.DefaultValue !== null && { DefaultValue: input.DefaultValue })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.ResourceTags !== undefined &&
2464
+ input.ResourceTags !== null && {
2465
+ ResourceTags: serializeAws_json1_1ResourceTagList(input.ResourceTags, context),
2466
+ })), (input.RuleVersion !== undefined && input.RuleVersion !== null && { RuleVersion: input.RuleVersion })), (input.Rules !== undefined &&
2250
2467
  input.Rules !== null && { Rules: serializeAws_json1_1CostCategoryRulesList(input.Rules, context) })), (input.SplitChargeRules !== undefined &&
2251
2468
  input.SplitChargeRules !== null && {
2252
2469
  SplitChargeRules: serializeAws_json1_1CostCategorySplitChargeRulesList(input.SplitChargeRules, context),
@@ -2431,6 +2648,9 @@ var serializeAws_json1_1GroupDefinitions = function (input, context) {
2431
2648
  var serializeAws_json1_1ListCostCategoryDefinitionsRequest = function (input, context) {
2432
2649
  return __assign(__assign(__assign({}, (input.EffectiveOn !== undefined && input.EffectiveOn !== null && { EffectiveOn: input.EffectiveOn })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
2433
2650
  };
2651
+ var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
2652
+ return __assign({}, (input.ResourceArn !== undefined && input.ResourceArn !== null && { ResourceArn: input.ResourceArn }));
2653
+ };
2434
2654
  var serializeAws_json1_1MatchOptions = function (input, context) {
2435
2655
  return input
2436
2656
  .filter(function (e) { return e != null; })
@@ -2464,6 +2684,29 @@ var serializeAws_json1_1MonitorArnList = function (input, context) {
2464
2684
  var serializeAws_json1_1ProvideAnomalyFeedbackRequest = function (input, context) {
2465
2685
  return __assign(__assign({}, (input.AnomalyId !== undefined && input.AnomalyId !== null && { AnomalyId: input.AnomalyId })), (input.Feedback !== undefined && input.Feedback !== null && { Feedback: input.Feedback }));
2466
2686
  };
2687
+ var serializeAws_json1_1ResourceTag = function (input, context) {
2688
+ return __assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
2689
+ };
2690
+ var serializeAws_json1_1ResourceTagKeyList = function (input, context) {
2691
+ return input
2692
+ .filter(function (e) { return e != null; })
2693
+ .map(function (entry) {
2694
+ if (entry === null) {
2695
+ return null;
2696
+ }
2697
+ return entry;
2698
+ });
2699
+ };
2700
+ var serializeAws_json1_1ResourceTagList = function (input, context) {
2701
+ return input
2702
+ .filter(function (e) { return e != null; })
2703
+ .map(function (entry) {
2704
+ if (entry === null) {
2705
+ return null;
2706
+ }
2707
+ return serializeAws_json1_1ResourceTag(entry, context);
2708
+ });
2709
+ };
2467
2710
  var serializeAws_json1_1RightsizingRecommendationConfiguration = function (input, context) {
2468
2711
  return __assign(__assign({}, (input.BenefitsConsidered !== undefined &&
2469
2712
  input.BenefitsConsidered !== null && { BenefitsConsidered: input.BenefitsConsidered })), (input.RecommendationTarget !== undefined &&
@@ -2511,6 +2754,12 @@ var serializeAws_json1_1Subscribers = function (input, context) {
2511
2754
  return serializeAws_json1_1Subscriber(entry, context);
2512
2755
  });
2513
2756
  };
2757
+ var serializeAws_json1_1TagResourceRequest = function (input, context) {
2758
+ return __assign(__assign({}, (input.ResourceArn !== undefined && input.ResourceArn !== null && { ResourceArn: input.ResourceArn })), (input.ResourceTags !== undefined &&
2759
+ input.ResourceTags !== null && {
2760
+ ResourceTags: serializeAws_json1_1ResourceTagList(input.ResourceTags, context),
2761
+ }));
2762
+ };
2514
2763
  var serializeAws_json1_1TagValues = function (input, context) {
2515
2764
  return __assign(__assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.MatchOptions !== undefined &&
2516
2765
  input.MatchOptions !== null && { MatchOptions: serializeAws_json1_1MatchOptions(input.MatchOptions, context) })), (input.Values !== undefined &&
@@ -2521,6 +2770,12 @@ var serializeAws_json1_1TotalImpactFilter = function (input, context) {
2521
2770
  input.NumericOperator !== null && { NumericOperator: input.NumericOperator })), (input.StartValue !== undefined &&
2522
2771
  input.StartValue !== null && { StartValue: __serializeFloat(input.StartValue) }));
2523
2772
  };
2773
+ var serializeAws_json1_1UntagResourceRequest = function (input, context) {
2774
+ return __assign(__assign({}, (input.ResourceArn !== undefined && input.ResourceArn !== null && { ResourceArn: input.ResourceArn })), (input.ResourceTagKeys !== undefined &&
2775
+ input.ResourceTagKeys !== null && {
2776
+ ResourceTagKeys: serializeAws_json1_1ResourceTagKeyList(input.ResourceTagKeys, context),
2777
+ }));
2778
+ };
2524
2779
  var serializeAws_json1_1UpdateAnomalyMonitorRequest = function (input, context) {
2525
2780
  return __assign(__assign({}, (input.MonitorArn !== undefined && input.MonitorArn !== null && { MonitorArn: input.MonitorArn })), (input.MonitorName !== undefined && input.MonitorName !== null && { MonitorName: input.MonitorName }));
2526
2781
  };
@@ -3430,6 +3685,13 @@ var deserializeAws_json1_1ListCostCategoryDefinitionsResponse = function (output
3430
3685
  NextToken: __expectString(output.NextToken),
3431
3686
  };
3432
3687
  };
3688
+ var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
3689
+ return {
3690
+ ResourceTags: output.ResourceTags !== undefined && output.ResourceTags !== null
3691
+ ? deserializeAws_json1_1ResourceTagList(output.ResourceTags, context)
3692
+ : undefined,
3693
+ };
3694
+ };
3433
3695
  var deserializeAws_json1_1MatchOptions = function (output, context) {
3434
3696
  var retVal = (output || [])
3435
3697
  .filter(function (e) { return e != null; })
@@ -3678,8 +3940,26 @@ var deserializeAws_json1_1ResourceDetails = function (output, context) {
3678
3940
  var deserializeAws_json1_1ResourceNotFoundException = function (output, context) {
3679
3941
  return {
3680
3942
  Message: __expectString(output.Message),
3943
+ ResourceName: __expectString(output.ResourceName),
3944
+ };
3945
+ };
3946
+ var deserializeAws_json1_1ResourceTag = function (output, context) {
3947
+ return {
3948
+ Key: __expectString(output.Key),
3949
+ Value: __expectString(output.Value),
3681
3950
  };
3682
3951
  };
3952
+ var deserializeAws_json1_1ResourceTagList = function (output, context) {
3953
+ var retVal = (output || [])
3954
+ .filter(function (e) { return e != null; })
3955
+ .map(function (entry) {
3956
+ if (entry === null) {
3957
+ return null;
3958
+ }
3959
+ return deserializeAws_json1_1ResourceTag(entry, context);
3960
+ });
3961
+ return retVal;
3962
+ };
3683
3963
  var deserializeAws_json1_1ResourceUtilization = function (output, context) {
3684
3964
  return {
3685
3965
  EC2ResourceUtilization: output.EC2ResourceUtilization !== undefined && output.EC2ResourceUtilization !== null
@@ -4023,6 +4303,9 @@ var deserializeAws_json1_1TagList = function (output, context) {
4023
4303
  });
4024
4304
  return retVal;
4025
4305
  };
4306
+ var deserializeAws_json1_1TagResourceResponse = function (output, context) {
4307
+ return {};
4308
+ };
4026
4309
  var deserializeAws_json1_1TagValues = function (output, context) {
4027
4310
  return {
4028
4311
  Key: __expectString(output.Key),
@@ -4079,6 +4362,12 @@ var deserializeAws_json1_1TerminateRecommendationDetail = function (output, cont
4079
4362
  EstimatedMonthlySavings: __expectString(output.EstimatedMonthlySavings),
4080
4363
  };
4081
4364
  };
4365
+ var deserializeAws_json1_1TooManyTagsException = function (output, context) {
4366
+ return {
4367
+ Message: __expectString(output.Message),
4368
+ ResourceName: __expectString(output.ResourceName),
4369
+ };
4370
+ };
4082
4371
  var deserializeAws_json1_1UnknownMonitorException = function (output, context) {
4083
4372
  return {
4084
4373
  Message: __expectString(output.Message),
@@ -4094,6 +4383,9 @@ var deserializeAws_json1_1UnresolvableUsageUnitException = function (output, con
4094
4383
  Message: __expectString(output.Message),
4095
4384
  };
4096
4385
  };
4386
+ var deserializeAws_json1_1UntagResourceResponse = function (output, context) {
4387
+ return {};
4388
+ };
4097
4389
  var deserializeAws_json1_1UpdateAnomalyMonitorResponse = function (output, context) {
4098
4390
  return {
4099
4391
  MonitorArn: __expectString(output.MonitorArn),
@@ -25,7 +25,10 @@ import { GetSavingsPlansUtilizationDetailsCommandInput, GetSavingsPlansUtilizati
25
25
  import { GetTagsCommandInput, GetTagsCommandOutput } from "./commands/GetTagsCommand";
26
26
  import { GetUsageForecastCommandInput, GetUsageForecastCommandOutput } from "./commands/GetUsageForecastCommand";
27
27
  import { ListCostCategoryDefinitionsCommandInput, ListCostCategoryDefinitionsCommandOutput } from "./commands/ListCostCategoryDefinitionsCommand";
28
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
28
29
  import { ProvideAnomalyFeedbackCommandInput, ProvideAnomalyFeedbackCommandOutput } from "./commands/ProvideAnomalyFeedbackCommand";
30
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
31
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
29
32
  import { UpdateAnomalyMonitorCommandInput, UpdateAnomalyMonitorCommandOutput } from "./commands/UpdateAnomalyMonitorCommand";
30
33
  import { UpdateAnomalySubscriptionCommandInput, UpdateAnomalySubscriptionCommandOutput } from "./commands/UpdateAnomalySubscriptionCommand";
31
34
  import { UpdateCostCategoryDefinitionCommandInput, UpdateCostCategoryDefinitionCommandOutput } from "./commands/UpdateCostCategoryDefinitionCommand";
@@ -318,15 +321,39 @@ export declare class CostExplorer extends CostExplorerClient {
318
321
  listCostCategoryDefinitions(args: ListCostCategoryDefinitionsCommandInput, options?: __HttpHandlerOptions): Promise<ListCostCategoryDefinitionsCommandOutput>;
319
322
  listCostCategoryDefinitions(args: ListCostCategoryDefinitionsCommandInput, cb: (err: any, data?: ListCostCategoryDefinitionsCommandOutput) => void): void;
320
323
  listCostCategoryDefinitions(args: ListCostCategoryDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCostCategoryDefinitionsCommandOutput) => void): void;
324
+ /**
325
+ * <p>Returns a list of resource tags associated with the resource specified by the Amazon Resource Name (ARN).
326
+ * </p>
327
+ */
328
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
329
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
330
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
321
331
  /**
322
332
  * <p>Modifies the feedback property of a given cost anomaly. </p>
323
333
  */
324
334
  provideAnomalyFeedback(args: ProvideAnomalyFeedbackCommandInput, options?: __HttpHandlerOptions): Promise<ProvideAnomalyFeedbackCommandOutput>;
325
335
  provideAnomalyFeedback(args: ProvideAnomalyFeedbackCommandInput, cb: (err: any, data?: ProvideAnomalyFeedbackCommandOutput) => void): void;
326
336
  provideAnomalyFeedback(args: ProvideAnomalyFeedbackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ProvideAnomalyFeedbackCommandOutput) => void): void;
337
+ /**
338
+ * <p>An API operation for adding one or more tags (key-value pairs) to a resource.</p>
339
+ * <p>You can use the <code>TagResource</code> operation with a resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value you specify replaces the previous value for that tag.</p>
340
+ * <p>
341
+ * Although the maximum number of array members is 200, user-tag maximum is 50. The remaining are reserved for Amazon Web Services use.</p>
342
+ */
343
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
344
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
345
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
346
+ /**
347
+ * <p>
348
+ * Removes one or more tags from a resource. Specify only tag key(s) in your request. Do not specify the value.
349
+ * </p>
350
+ */
351
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
352
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
353
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
327
354
  /**
328
355
  * <p>Updates an existing cost anomaly monitor. The changes made are applied going forward, and
329
- * doesn'tt change anomalies detected in the past. </p>
356
+ * doesn't change anomalies detected in the past. </p>
330
357
  */
331
358
  updateAnomalyMonitor(args: UpdateAnomalyMonitorCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAnomalyMonitorCommandOutput>;
332
359
  updateAnomalyMonitor(args: UpdateAnomalyMonitorCommandInput, cb: (err: any, data?: UpdateAnomalyMonitorCommandOutput) => void): void;
@@ -32,12 +32,15 @@ import { GetSavingsPlansUtilizationDetailsCommandInput, GetSavingsPlansUtilizati
32
32
  import { GetTagsCommandInput, GetTagsCommandOutput } from "./commands/GetTagsCommand";
33
33
  import { GetUsageForecastCommandInput, GetUsageForecastCommandOutput } from "./commands/GetUsageForecastCommand";
34
34
  import { ListCostCategoryDefinitionsCommandInput, ListCostCategoryDefinitionsCommandOutput } from "./commands/ListCostCategoryDefinitionsCommand";
35
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
35
36
  import { ProvideAnomalyFeedbackCommandInput, ProvideAnomalyFeedbackCommandOutput } from "./commands/ProvideAnomalyFeedbackCommand";
37
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
38
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
36
39
  import { UpdateAnomalyMonitorCommandInput, UpdateAnomalyMonitorCommandOutput } from "./commands/UpdateAnomalyMonitorCommand";
37
40
  import { UpdateAnomalySubscriptionCommandInput, UpdateAnomalySubscriptionCommandOutput } from "./commands/UpdateAnomalySubscriptionCommand";
38
41
  import { UpdateCostCategoryDefinitionCommandInput, UpdateCostCategoryDefinitionCommandOutput } from "./commands/UpdateCostCategoryDefinitionCommand";
39
- export declare type ServiceInputTypes = CreateAnomalyMonitorCommandInput | CreateAnomalySubscriptionCommandInput | CreateCostCategoryDefinitionCommandInput | DeleteAnomalyMonitorCommandInput | DeleteAnomalySubscriptionCommandInput | DeleteCostCategoryDefinitionCommandInput | DescribeCostCategoryDefinitionCommandInput | GetAnomaliesCommandInput | GetAnomalyMonitorsCommandInput | GetAnomalySubscriptionsCommandInput | GetCostAndUsageCommandInput | GetCostAndUsageWithResourcesCommandInput | GetCostCategoriesCommandInput | GetCostForecastCommandInput | GetDimensionValuesCommandInput | GetReservationCoverageCommandInput | GetReservationPurchaseRecommendationCommandInput | GetReservationUtilizationCommandInput | GetRightsizingRecommendationCommandInput | GetSavingsPlansCoverageCommandInput | GetSavingsPlansPurchaseRecommendationCommandInput | GetSavingsPlansUtilizationCommandInput | GetSavingsPlansUtilizationDetailsCommandInput | GetTagsCommandInput | GetUsageForecastCommandInput | ListCostCategoryDefinitionsCommandInput | ProvideAnomalyFeedbackCommandInput | UpdateAnomalyMonitorCommandInput | UpdateAnomalySubscriptionCommandInput | UpdateCostCategoryDefinitionCommandInput;
40
- export declare type ServiceOutputTypes = CreateAnomalyMonitorCommandOutput | CreateAnomalySubscriptionCommandOutput | CreateCostCategoryDefinitionCommandOutput | DeleteAnomalyMonitorCommandOutput | DeleteAnomalySubscriptionCommandOutput | DeleteCostCategoryDefinitionCommandOutput | DescribeCostCategoryDefinitionCommandOutput | GetAnomaliesCommandOutput | GetAnomalyMonitorsCommandOutput | GetAnomalySubscriptionsCommandOutput | GetCostAndUsageCommandOutput | GetCostAndUsageWithResourcesCommandOutput | GetCostCategoriesCommandOutput | GetCostForecastCommandOutput | GetDimensionValuesCommandOutput | GetReservationCoverageCommandOutput | GetReservationPurchaseRecommendationCommandOutput | GetReservationUtilizationCommandOutput | GetRightsizingRecommendationCommandOutput | GetSavingsPlansCoverageCommandOutput | GetSavingsPlansPurchaseRecommendationCommandOutput | GetSavingsPlansUtilizationCommandOutput | GetSavingsPlansUtilizationDetailsCommandOutput | GetTagsCommandOutput | GetUsageForecastCommandOutput | ListCostCategoryDefinitionsCommandOutput | ProvideAnomalyFeedbackCommandOutput | UpdateAnomalyMonitorCommandOutput | UpdateAnomalySubscriptionCommandOutput | UpdateCostCategoryDefinitionCommandOutput;
42
+ export declare type ServiceInputTypes = CreateAnomalyMonitorCommandInput | CreateAnomalySubscriptionCommandInput | CreateCostCategoryDefinitionCommandInput | DeleteAnomalyMonitorCommandInput | DeleteAnomalySubscriptionCommandInput | DeleteCostCategoryDefinitionCommandInput | DescribeCostCategoryDefinitionCommandInput | GetAnomaliesCommandInput | GetAnomalyMonitorsCommandInput | GetAnomalySubscriptionsCommandInput | GetCostAndUsageCommandInput | GetCostAndUsageWithResourcesCommandInput | GetCostCategoriesCommandInput | GetCostForecastCommandInput | GetDimensionValuesCommandInput | GetReservationCoverageCommandInput | GetReservationPurchaseRecommendationCommandInput | GetReservationUtilizationCommandInput | GetRightsizingRecommendationCommandInput | GetSavingsPlansCoverageCommandInput | GetSavingsPlansPurchaseRecommendationCommandInput | GetSavingsPlansUtilizationCommandInput | GetSavingsPlansUtilizationDetailsCommandInput | GetTagsCommandInput | GetUsageForecastCommandInput | ListCostCategoryDefinitionsCommandInput | ListTagsForResourceCommandInput | ProvideAnomalyFeedbackCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnomalyMonitorCommandInput | UpdateAnomalySubscriptionCommandInput | UpdateCostCategoryDefinitionCommandInput;
43
+ export declare type ServiceOutputTypes = CreateAnomalyMonitorCommandOutput | CreateAnomalySubscriptionCommandOutput | CreateCostCategoryDefinitionCommandOutput | DeleteAnomalyMonitorCommandOutput | DeleteAnomalySubscriptionCommandOutput | DeleteCostCategoryDefinitionCommandOutput | DescribeCostCategoryDefinitionCommandOutput | GetAnomaliesCommandOutput | GetAnomalyMonitorsCommandOutput | GetAnomalySubscriptionsCommandOutput | GetCostAndUsageCommandOutput | GetCostAndUsageWithResourcesCommandOutput | GetCostCategoriesCommandOutput | GetCostForecastCommandOutput | GetDimensionValuesCommandOutput | GetReservationCoverageCommandOutput | GetReservationPurchaseRecommendationCommandOutput | GetReservationUtilizationCommandOutput | GetRightsizingRecommendationCommandOutput | GetSavingsPlansCoverageCommandOutput | GetSavingsPlansPurchaseRecommendationCommandOutput | GetSavingsPlansUtilizationCommandOutput | GetSavingsPlansUtilizationDetailsCommandOutput | GetTagsCommandOutput | GetUsageForecastCommandOutput | ListCostCategoryDefinitionsCommandOutput | ListTagsForResourceCommandOutput | ProvideAnomalyFeedbackCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnomalyMonitorCommandOutput | UpdateAnomalySubscriptionCommandOutput | UpdateCostCategoryDefinitionCommandOutput;
41
44
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
42
45
  /**
43
46
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -0,0 +1,36 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
4
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
5
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
6
+ }
7
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Returns a list of resource tags associated with the resource specified by the Amazon Resource Name (ARN).
11
+ * </p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { CostExplorerClient, ListTagsForResourceCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
16
+ * // const { CostExplorerClient, ListTagsForResourceCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
17
+ * const client = new CostExplorerClient(config);
18
+ * const command = new ListTagsForResourceCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
23
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
24
+ * @see {@link CostExplorerClientResolvedConfig | config} for CostExplorerClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CostExplorerClientResolvedConfig> {
28
+ readonly input: ListTagsForResourceCommandInput;
29
+ constructor(input: ListTagsForResourceCommandInput);
30
+ /**
31
+ * @internal
32
+ */
33
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -0,0 +1,38 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
4
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
5
+ export interface TagResourceCommandInput extends TagResourceRequest {
6
+ }
7
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>An API operation for adding one or more tags (key-value pairs) to a resource.</p>
11
+ * <p>You can use the <code>TagResource</code> operation with a resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value you specify replaces the previous value for that tag.</p>
12
+ * <p>
13
+ * Although the maximum number of array members is 200, user-tag maximum is 50. The remaining are reserved for Amazon Web Services use.</p>
14
+ * @example
15
+ * Use a bare-bones client and the command you need to make an API call.
16
+ * ```javascript
17
+ * import { CostExplorerClient, TagResourceCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
18
+ * // const { CostExplorerClient, TagResourceCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
19
+ * const client = new CostExplorerClient(config);
20
+ * const command = new TagResourceCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
25
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
26
+ * @see {@link CostExplorerClientResolvedConfig | config} for CostExplorerClient's `config` shape.
27
+ *
28
+ */
29
+ export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, CostExplorerClientResolvedConfig> {
30
+ readonly input: TagResourceCommandInput;
31
+ constructor(input: TagResourceCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,37 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
4
+ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
5
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
6
+ }
7
+ export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>
11
+ * Removes one or more tags from a resource. Specify only tag key(s) in your request. Do not specify the value.
12
+ * </p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { CostExplorerClient, UntagResourceCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
17
+ * // const { CostExplorerClient, UntagResourceCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
18
+ * const client = new CostExplorerClient(config);
19
+ * const command = new UntagResourceCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
24
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
25
+ * @see {@link CostExplorerClientResolvedConfig | config} for CostExplorerClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, CostExplorerClientResolvedConfig> {
29
+ readonly input: UntagResourceCommandInput;
30
+ constructor(input: UntagResourceCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -8,7 +8,7 @@ export interface UpdateAnomalyMonitorCommandOutput extends UpdateAnomalyMonitorR
8
8
  }
9
9
  /**
10
10
  * <p>Updates an existing cost anomaly monitor. The changes made are applied going forward, and
11
- * doesn'tt change anomalies detected in the past. </p>
11
+ * doesn't change anomalies detected in the past. </p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
14
14
  * ```javascript
@@ -24,7 +24,10 @@ export * from "./GetSavingsPlansUtilizationDetailsCommand";
24
24
  export * from "./GetTagsCommand";
25
25
  export * from "./GetUsageForecastCommand";
26
26
  export * from "./ListCostCategoryDefinitionsCommand";
27
+ export * from "./ListTagsForResourceCommand";
27
28
  export * from "./ProvideAnomalyFeedbackCommand";
29
+ export * from "./TagResourceCommand";
30
+ export * from "./UntagResourceCommand";
28
31
  export * from "./UpdateAnomalyMonitorCommand";
29
32
  export * from "./UpdateAnomalySubscriptionCommand";
30
33
  export * from "./UpdateCostCategoryDefinitionCommand";