@aws-sdk/client-cost-explorer 3.395.0 → 3.397.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.
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
4
  const v = "required", w = "fn", x = "argv", y = "ref";
5
5
  const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = "sigv4", h = { [v]: false, "type": "String" }, i = { [v]: true, "default": false, "type": "Boolean" }, j = { [y]: "Endpoint" }, k = { [w]: "booleanEquals", [x]: [{ [y]: "UseFIPS" }, true] }, l = { [w]: "booleanEquals", [x]: [{ [y]: "UseDualStack" }, true] }, m = {}, n = { [w]: "getAttr", [x]: [{ [y]: e }, "name"] }, o = { [w]: "booleanEquals", [x]: [{ [y]: "UseFIPS" }, false] }, p = { [w]: "booleanEquals", [x]: [{ [y]: "UseDualStack" }, false] }, q = { [w]: "booleanEquals", [x]: [true, { [w]: "getAttr", [x]: [{ [y]: e }, "supportsFIPS"] }] }, r = { [w]: "booleanEquals", [x]: [true, { [w]: "getAttr", [x]: [{ [y]: e }, "supportsDualStack"] }] }, s = [k], t = [l], u = [{ [y]: "Region" }];
6
- const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [w]: a, [x]: [j] }], type: b, rules: [{ conditions: s, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: t, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: j, properties: m, headers: m }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [w]: a, [x]: u }], type: b, rules: [{ conditions: [{ [w]: "aws.partition", [x]: u, assign: e }], type: b, rules: [{ conditions: [{ [w]: f, [x]: [n, "aws"] }, o, p], endpoint: { url: "https://ce.us-east-1.amazonaws.com", properties: { authSchemes: [{ name: g, signingName: "ce", signingRegion: "us-east-1" }] }, headers: m }, type: d }, { conditions: [{ [w]: f, [x]: [n, "aws-cn"] }, o, p], endpoint: { url: "https://ce.cn-northwest-1.amazonaws.com.cn", properties: { authSchemes: [{ name: g, signingName: "ce", signingRegion: "cn-northwest-1" }] }, headers: m }, type: d }, { conditions: [k, l], type: b, rules: [{ conditions: [q, r], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ce-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: s, type: b, rules: [{ conditions: [q], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ce-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: t, type: b, rules: [{ conditions: [r], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ce.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://ce.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
6
+ const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [w]: a, [x]: [j] }], type: b, rules: [{ conditions: s, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: t, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: j, properties: m, headers: m }, type: d }] }, { conditions: [{ [w]: a, [x]: u }], type: b, rules: [{ conditions: [{ [w]: "aws.partition", [x]: u, assign: e }], type: b, rules: [{ conditions: [{ [w]: f, [x]: [n, "aws"] }, o, p], endpoint: { url: "https://ce.us-east-1.amazonaws.com", properties: { authSchemes: [{ name: g, signingName: "ce", signingRegion: "us-east-1" }] }, headers: m }, type: d }, { conditions: [{ [w]: f, [x]: [n, "aws-cn"] }, o, p], endpoint: { url: "https://ce.cn-northwest-1.amazonaws.com.cn", properties: { authSchemes: [{ name: g, signingName: "ce", signingRegion: "cn-northwest-1" }] }, headers: m }, type: d }, { conditions: [k, l], type: b, rules: [{ conditions: [q, r], type: b, rules: [{ endpoint: { url: "https://ce-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: s, type: b, rules: [{ conditions: [q], type: b, rules: [{ endpoint: { url: "https://ce-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: t, type: b, rules: [{ conditions: [r], type: b, rules: [{ endpoint: { url: "https://ce.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://ce.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
7
7
  exports.ruleSet = _data;
@@ -1,4 +1,4 @@
1
1
  const v = "required", w = "fn", x = "argv", y = "ref";
2
2
  const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = "sigv4", h = { [v]: false, "type": "String" }, i = { [v]: true, "default": false, "type": "Boolean" }, j = { [y]: "Endpoint" }, k = { [w]: "booleanEquals", [x]: [{ [y]: "UseFIPS" }, true] }, l = { [w]: "booleanEquals", [x]: [{ [y]: "UseDualStack" }, true] }, m = {}, n = { [w]: "getAttr", [x]: [{ [y]: e }, "name"] }, o = { [w]: "booleanEquals", [x]: [{ [y]: "UseFIPS" }, false] }, p = { [w]: "booleanEquals", [x]: [{ [y]: "UseDualStack" }, false] }, q = { [w]: "booleanEquals", [x]: [true, { [w]: "getAttr", [x]: [{ [y]: e }, "supportsFIPS"] }] }, r = { [w]: "booleanEquals", [x]: [true, { [w]: "getAttr", [x]: [{ [y]: e }, "supportsDualStack"] }] }, s = [k], t = [l], u = [{ [y]: "Region" }];
3
- const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [w]: a, [x]: [j] }], type: b, rules: [{ conditions: s, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: t, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: j, properties: m, headers: m }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [w]: a, [x]: u }], type: b, rules: [{ conditions: [{ [w]: "aws.partition", [x]: u, assign: e }], type: b, rules: [{ conditions: [{ [w]: f, [x]: [n, "aws"] }, o, p], endpoint: { url: "https://ce.us-east-1.amazonaws.com", properties: { authSchemes: [{ name: g, signingName: "ce", signingRegion: "us-east-1" }] }, headers: m }, type: d }, { conditions: [{ [w]: f, [x]: [n, "aws-cn"] }, o, p], endpoint: { url: "https://ce.cn-northwest-1.amazonaws.com.cn", properties: { authSchemes: [{ name: g, signingName: "ce", signingRegion: "cn-northwest-1" }] }, headers: m }, type: d }, { conditions: [k, l], type: b, rules: [{ conditions: [q, r], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ce-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: s, type: b, rules: [{ conditions: [q], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ce-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: t, type: b, rules: [{ conditions: [r], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ce.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://ce.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
3
+ const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [w]: a, [x]: [j] }], type: b, rules: [{ conditions: s, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: t, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: j, properties: m, headers: m }, type: d }] }, { conditions: [{ [w]: a, [x]: u }], type: b, rules: [{ conditions: [{ [w]: "aws.partition", [x]: u, assign: e }], type: b, rules: [{ conditions: [{ [w]: f, [x]: [n, "aws"] }, o, p], endpoint: { url: "https://ce.us-east-1.amazonaws.com", properties: { authSchemes: [{ name: g, signingName: "ce", signingRegion: "us-east-1" }] }, headers: m }, type: d }, { conditions: [{ [w]: f, [x]: [n, "aws-cn"] }, o, p], endpoint: { url: "https://ce.cn-northwest-1.amazonaws.com.cn", properties: { authSchemes: [{ name: g, signingName: "ce", signingRegion: "cn-northwest-1" }] }, headers: m }, type: d }, { conditions: [k, l], type: b, rules: [{ conditions: [q, r], type: b, rules: [{ endpoint: { url: "https://ce-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: s, type: b, rules: [{ conditions: [q], type: b, rules: [{ endpoint: { url: "https://ce-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: t, type: b, rules: [{ conditions: [r], type: b, rules: [{ endpoint: { url: "https://ce.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://ce.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
4
4
  export const ruleSet = _data;
@@ -24,7 +24,7 @@ export interface GetSavingsPlanPurchaseRecommendationDetailsCommandOutput extend
24
24
  /**
25
25
  * @public
26
26
  * <p>Retrieves the details for a Savings Plan recommendation. These details include the hourly
27
- * data-points that construct the new cost, coverage, and utilization charts.</p>
27
+ * data-points that construct the cost, coverage, and utilization charts.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -48,6 +48,8 @@ export interface ListCostAllocationTagsCommandOutput extends ListCostAllocationT
48
48
  * // TagKey: "STRING_VALUE", // required
49
49
  * // Type: "AWSGenerated" || "UserDefined", // required
50
50
  * // Status: "Active" || "Inactive", // required
51
+ * // LastUpdatedDate: "STRING_VALUE",
52
+ * // LastUsedDate: "STRING_VALUE",
51
53
  * // },
52
54
  * // ],
53
55
  * // NextToken: "STRING_VALUE",
@@ -3856,6 +3856,16 @@ export interface CostAllocationTag {
3856
3856
  * <p>The status of a cost allocation tag. </p>
3857
3857
  */
3858
3858
  Status: CostAllocationTagStatus | string | undefined;
3859
+ /**
3860
+ * @public
3861
+ * <p>The last date that the tag was either activated or deactivated.</p>
3862
+ */
3863
+ LastUpdatedDate?: string;
3864
+ /**
3865
+ * @public
3866
+ * <p>The last month that the tag was used on an Amazon Web Services resource.</p>
3867
+ */
3868
+ LastUsedDate?: string;
3859
3869
  }
3860
3870
  /**
3861
3871
  * @public
@@ -997,6 +997,8 @@ export interface CostAllocationTag {
997
997
  TagKey: string | undefined;
998
998
  Type: CostAllocationTagType | string | undefined;
999
999
  Status: CostAllocationTagStatus | string | undefined;
1000
+ LastUpdatedDate?: string;
1001
+ LastUsedDate?: string;
1000
1002
  }
1001
1003
  export interface ListCostAllocationTagsResponse {
1002
1004
  CostAllocationTags?: CostAllocationTag[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cost-explorer",
3
3
  "description": "AWS SDK for JavaScript Cost Explorer Client for Node.js, Browser and React Native",
4
- "version": "3.395.0",
4
+ "version": "3.397.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",