@aws-sdk/client-cost-explorer 3.716.0 → 3.717.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -1905,6 +1905,7 @@ var se_GetAnomaliesRequest = /* @__PURE__ */ __name((input, context) => {
1905
1905
  }, "se_GetAnomaliesRequest");
1906
1906
  var se_GetCostAndUsageRequest = /* @__PURE__ */ __name((input, context) => {
1907
1907
  return (0, import_smithy_client.take)(input, {
1908
+ BillingViewArn: [],
1908
1909
  Filter: (_) => se_Expression(_, context),
1909
1910
  Granularity: [],
1910
1911
  GroupBy: import_smithy_client._json,
@@ -1915,6 +1916,7 @@ var se_GetCostAndUsageRequest = /* @__PURE__ */ __name((input, context) => {
1915
1916
  }, "se_GetCostAndUsageRequest");
1916
1917
  var se_GetCostAndUsageWithResourcesRequest = /* @__PURE__ */ __name((input, context) => {
1917
1918
  return (0, import_smithy_client.take)(input, {
1919
+ BillingViewArn: [],
1918
1920
  Filter: (_) => se_Expression(_, context),
1919
1921
  Granularity: [],
1920
1922
  GroupBy: import_smithy_client._json,
@@ -1925,6 +1927,7 @@ var se_GetCostAndUsageWithResourcesRequest = /* @__PURE__ */ __name((input, cont
1925
1927
  }, "se_GetCostAndUsageWithResourcesRequest");
1926
1928
  var se_GetCostCategoriesRequest = /* @__PURE__ */ __name((input, context) => {
1927
1929
  return (0, import_smithy_client.take)(input, {
1930
+ BillingViewArn: [],
1928
1931
  CostCategoryName: [],
1929
1932
  Filter: (_) => se_Expression(_, context),
1930
1933
  MaxResults: [],
@@ -1936,6 +1939,7 @@ var se_GetCostCategoriesRequest = /* @__PURE__ */ __name((input, context) => {
1936
1939
  }, "se_GetCostCategoriesRequest");
1937
1940
  var se_GetCostForecastRequest = /* @__PURE__ */ __name((input, context) => {
1938
1941
  return (0, import_smithy_client.take)(input, {
1942
+ BillingViewArn: [],
1939
1943
  Filter: (_) => se_Expression(_, context),
1940
1944
  Granularity: [],
1941
1945
  Metric: [],
@@ -1945,6 +1949,7 @@ var se_GetCostForecastRequest = /* @__PURE__ */ __name((input, context) => {
1945
1949
  }, "se_GetCostForecastRequest");
1946
1950
  var se_GetDimensionValuesRequest = /* @__PURE__ */ __name((input, context) => {
1947
1951
  return (0, import_smithy_client.take)(input, {
1952
+ BillingViewArn: [],
1948
1953
  Context: [],
1949
1954
  Dimension: [],
1950
1955
  Filter: (_) => se_Expression(_, context),
@@ -2045,6 +2050,7 @@ var se_GetSavingsPlansUtilizationRequest = /* @__PURE__ */ __name((input, contex
2045
2050
  }, "se_GetSavingsPlansUtilizationRequest");
2046
2051
  var se_GetTagsRequest = /* @__PURE__ */ __name((input, context) => {
2047
2052
  return (0, import_smithy_client.take)(input, {
2053
+ BillingViewArn: [],
2048
2054
  Filter: (_) => se_Expression(_, context),
2049
2055
  MaxResults: [],
2050
2056
  NextPageToken: [],
@@ -2056,6 +2062,7 @@ var se_GetTagsRequest = /* @__PURE__ */ __name((input, context) => {
2056
2062
  }, "se_GetTagsRequest");
2057
2063
  var se_GetUsageForecastRequest = /* @__PURE__ */ __name((input, context) => {
2058
2064
  return (0, import_smithy_client.take)(input, {
2065
+ BillingViewArn: [],
2059
2066
  Filter: (_) => se_Expression(_, context),
2060
2067
  Granularity: [],
2061
2068
  Metric: [],
@@ -1120,6 +1120,7 @@ const se_GetAnomaliesRequest = (input, context) => {
1120
1120
  };
1121
1121
  const se_GetCostAndUsageRequest = (input, context) => {
1122
1122
  return take(input, {
1123
+ BillingViewArn: [],
1123
1124
  Filter: (_) => se_Expression(_, context),
1124
1125
  Granularity: [],
1125
1126
  GroupBy: _json,
@@ -1130,6 +1131,7 @@ const se_GetCostAndUsageRequest = (input, context) => {
1130
1131
  };
1131
1132
  const se_GetCostAndUsageWithResourcesRequest = (input, context) => {
1132
1133
  return take(input, {
1134
+ BillingViewArn: [],
1133
1135
  Filter: (_) => se_Expression(_, context),
1134
1136
  Granularity: [],
1135
1137
  GroupBy: _json,
@@ -1140,6 +1142,7 @@ const se_GetCostAndUsageWithResourcesRequest = (input, context) => {
1140
1142
  };
1141
1143
  const se_GetCostCategoriesRequest = (input, context) => {
1142
1144
  return take(input, {
1145
+ BillingViewArn: [],
1143
1146
  CostCategoryName: [],
1144
1147
  Filter: (_) => se_Expression(_, context),
1145
1148
  MaxResults: [],
@@ -1151,6 +1154,7 @@ const se_GetCostCategoriesRequest = (input, context) => {
1151
1154
  };
1152
1155
  const se_GetCostForecastRequest = (input, context) => {
1153
1156
  return take(input, {
1157
+ BillingViewArn: [],
1154
1158
  Filter: (_) => se_Expression(_, context),
1155
1159
  Granularity: [],
1156
1160
  Metric: [],
@@ -1160,6 +1164,7 @@ const se_GetCostForecastRequest = (input, context) => {
1160
1164
  };
1161
1165
  const se_GetDimensionValuesRequest = (input, context) => {
1162
1166
  return take(input, {
1167
+ BillingViewArn: [],
1163
1168
  Context: [],
1164
1169
  Dimension: [],
1165
1170
  Filter: (_) => se_Expression(_, context),
@@ -1260,6 +1265,7 @@ const se_GetSavingsPlansUtilizationRequest = (input, context) => {
1260
1265
  };
1261
1266
  const se_GetTagsRequest = (input, context) => {
1262
1267
  return take(input, {
1268
+ BillingViewArn: [],
1263
1269
  Filter: (_) => se_Expression(_, context),
1264
1270
  MaxResults: [],
1265
1271
  NextPageToken: [],
@@ -1271,6 +1277,7 @@ const se_GetTagsRequest = (input, context) => {
1271
1277
  };
1272
1278
  const se_GetUsageForecastRequest = (input, context) => {
1273
1279
  return take(input, {
1280
+ BillingViewArn: [],
1274
1281
  Filter: (_) => se_Expression(_, context),
1275
1282
  Granularity: [],
1276
1283
  Metric: [],
@@ -122,6 +122,7 @@ declare const GetCostAndUsageCommand_base: {
122
122
  * Key: "STRING_VALUE",
123
123
  * },
124
124
  * ],
125
+ * BillingViewArn: "STRING_VALUE",
125
126
  * NextPageToken: "STRING_VALUE",
126
127
  * };
127
128
  * const command = new GetCostAndUsageCommand(input);
@@ -196,6 +197,9 @@ declare const GetCostAndUsageCommand_base: {
196
197
  * <p>Your request parameters changed between pages. Try again with the old parameters or
197
198
  * without a pagination token.</p>
198
199
  *
200
+ * @throws {@link ResourceNotFoundException} (client fault)
201
+ * <p> The specified ARN in the request doesn't exist. </p>
202
+ *
199
203
  * @throws {@link CostExplorerServiceException}
200
204
  * <p>Base exception class for all service exceptions from CostExplorer service.</p>
201
205
  *
@@ -129,6 +129,7 @@ declare const GetCostAndUsageWithResourcesCommand_base: {
129
129
  * Key: "STRING_VALUE",
130
130
  * },
131
131
  * ],
132
+ * BillingViewArn: "STRING_VALUE",
132
133
  * NextPageToken: "STRING_VALUE",
133
134
  * };
134
135
  * const command = new GetCostAndUsageWithResourcesCommand(input);
@@ -203,6 +204,9 @@ declare const GetCostAndUsageWithResourcesCommand_base: {
203
204
  * <p>Your request parameters changed between pages. Try again with the old parameters or
204
205
  * without a pagination token.</p>
205
206
  *
207
+ * @throws {@link ResourceNotFoundException} (client fault)
208
+ * <p> The specified ARN in the request doesn't exist. </p>
209
+ *
206
210
  * @throws {@link CostExplorerServiceException}
207
211
  * <p>Base exception class for all service exceptions from CostExplorer service.</p>
208
212
  *
@@ -118,6 +118,7 @@ declare const GetCostCategoriesCommand_base: {
118
118
  * SortOrder: "ASCENDING" || "DESCENDING",
119
119
  * },
120
120
  * ],
121
+ * BillingViewArn: "STRING_VALUE",
121
122
  * MaxResults: Number("int"),
122
123
  * NextPageToken: "STRING_VALUE",
123
124
  * };
@@ -159,6 +160,9 @@ declare const GetCostCategoriesCommand_base: {
159
160
  * <p>Your request parameters changed between pages. Try again with the old parameters or
160
161
  * without a pagination token.</p>
161
162
  *
163
+ * @throws {@link ResourceNotFoundException} (client fault)
164
+ * <p> The specified ARN in the request doesn't exist. </p>
165
+ *
162
166
  * @throws {@link CostExplorerServiceException}
163
167
  * <p>Base exception class for all service exceptions from CostExplorer service.</p>
164
168
  *
@@ -109,6 +109,7 @@ declare const GetCostForecastCommand_base: {
109
109
  * MatchOptions: "<MatchOptions>",
110
110
  * },
111
111
  * },
112
+ * BillingViewArn: "STRING_VALUE",
112
113
  * PredictionIntervalLevel: Number("int"),
113
114
  * };
114
115
  * const command = new GetCostForecastCommand(input);
@@ -145,6 +146,9 @@ declare const GetCostForecastCommand_base: {
145
146
  * @throws {@link LimitExceededException} (client fault)
146
147
  * <p>You made too many calls in a short period of time. Try again later.</p>
147
148
  *
149
+ * @throws {@link ResourceNotFoundException} (client fault)
150
+ * <p> The specified ARN in the request doesn't exist. </p>
151
+ *
148
152
  * @throws {@link CostExplorerServiceException}
149
153
  * <p>Base exception class for all service exceptions from CostExplorer service.</p>
150
154
  *
@@ -116,6 +116,7 @@ declare const GetDimensionValuesCommand_base: {
116
116
  * SortOrder: "ASCENDING" || "DESCENDING",
117
117
  * },
118
118
  * ],
119
+ * BillingViewArn: "STRING_VALUE",
119
120
  * MaxResults: Number("int"),
120
121
  * NextPageToken: "STRING_VALUE",
121
122
  * };
@@ -159,6 +160,9 @@ declare const GetDimensionValuesCommand_base: {
159
160
  * <p>Your request parameters changed between pages. Try again with the old parameters or
160
161
  * without a pagination token.</p>
161
162
  *
163
+ * @throws {@link ResourceNotFoundException} (client fault)
164
+ * <p> The specified ARN in the request doesn't exist. </p>
165
+ *
162
166
  * @throws {@link CostExplorerServiceException}
163
167
  * <p>Base exception class for all service exceptions from CostExplorer service.</p>
164
168
  *
@@ -115,6 +115,7 @@ declare const GetTagsCommand_base: {
115
115
  * SortOrder: "ASCENDING" || "DESCENDING",
116
116
  * },
117
117
  * ],
118
+ * BillingViewArn: "STRING_VALUE",
118
119
  * MaxResults: Number("int"),
119
120
  * NextPageToken: "STRING_VALUE",
120
121
  * };
@@ -153,6 +154,9 @@ declare const GetTagsCommand_base: {
153
154
  * <p>Your request parameters changed between pages. Try again with the old parameters or
154
155
  * without a pagination token.</p>
155
156
  *
157
+ * @throws {@link ResourceNotFoundException} (client fault)
158
+ * <p> The specified ARN in the request doesn't exist. </p>
159
+ *
156
160
  * @throws {@link CostExplorerServiceException}
157
161
  * <p>Base exception class for all service exceptions from CostExplorer service.</p>
158
162
  *
@@ -109,6 +109,7 @@ declare const GetUsageForecastCommand_base: {
109
109
  * MatchOptions: "<MatchOptions>",
110
110
  * },
111
111
  * },
112
+ * BillingViewArn: "STRING_VALUE",
112
113
  * PredictionIntervalLevel: Number("int"),
113
114
  * };
114
115
  * const command = new GetUsageForecastCommand(input);
@@ -145,6 +146,9 @@ declare const GetUsageForecastCommand_base: {
145
146
  * @throws {@link LimitExceededException} (client fault)
146
147
  * <p>You made too many calls in a short period of time. Try again later.</p>
147
148
  *
149
+ * @throws {@link ResourceNotFoundException} (client fault)
150
+ * <p> The specified ARN in the request doesn't exist. </p>
151
+ *
148
152
  * @throws {@link UnresolvableUsageUnitException} (client fault)
149
153
  * <p>Cost Explorer was unable to identify the usage unit. Provide
150
154
  * <code>UsageType/UsageTypeGroup</code> filter selections that contain matching units,
@@ -5669,6 +5669,15 @@ export interface GetCostAndUsageRequest {
5669
5669
  * @public
5670
5670
  */
5671
5671
  GroupBy?: GroupDefinition[] | undefined;
5672
+ /**
5673
+ * <p>The Amazon Resource Name (ARN) that uniquely identifies a specific billing view. The ARN
5674
+ * is used to specify which particular billing view you want to interact with or retrieve
5675
+ * information from when making API calls related to Amazon Web Services Billing and Cost
5676
+ * Management features. The BillingViewArn can be retrieved by calling the ListBillingViews
5677
+ * API.</p>
5678
+ * @public
5679
+ */
5680
+ BillingViewArn?: string | undefined;
5672
5681
  /**
5673
5682
  * <p>The token to retrieve the next set of results. Amazon Web Services provides the token
5674
5683
  * when the response from a previous call has more results than the maximum page size.</p>
@@ -5743,6 +5752,15 @@ export interface GetCostAndUsageWithResourcesRequest {
5743
5752
  * @public
5744
5753
  */
5745
5754
  GroupBy?: GroupDefinition[] | undefined;
5755
+ /**
5756
+ * <p>The Amazon Resource Name (ARN) that uniquely identifies a specific billing view. The ARN
5757
+ * is used to specify which particular billing view you want to interact with or retrieve
5758
+ * information from when making API calls related to Amazon Web Services Billing and Cost
5759
+ * Management features. The BillingViewArn can be retrieved by calling the ListBillingViews
5760
+ * API.</p>
5761
+ * @public
5762
+ */
5763
+ BillingViewArn?: string | undefined;
5746
5764
  /**
5747
5765
  * <p>The token to retrieve the next set of results. Amazon Web Services provides the token
5748
5766
  * when the response from a previous call has more results than the maximum page size.</p>
@@ -5946,6 +5964,15 @@ export interface GetCostCategoriesRequest {
5946
5964
  * @public
5947
5965
  */
5948
5966
  SortBy?: SortDefinition[] | undefined;
5967
+ /**
5968
+ * <p>The Amazon Resource Name (ARN) that uniquely identifies a specific billing view. The ARN
5969
+ * is used to specify which particular billing view you want to interact with or retrieve
5970
+ * information from when making API calls related to Amazon Web Services Billing and Cost
5971
+ * Management features. The BillingViewArn can be retrieved by calling the ListBillingViews
5972
+ * API.</p>
5973
+ * @public
5974
+ */
5975
+ BillingViewArn?: string | undefined;
5949
5976
  /**
5950
5977
  * <p>This field is only used when the <code>SortBy</code> value is provided in the
5951
5978
  * request.</p>
@@ -6129,6 +6156,15 @@ export interface GetCostForecastRequest {
6129
6156
  * @public
6130
6157
  */
6131
6158
  Filter?: Expression | undefined;
6159
+ /**
6160
+ * <p>The Amazon Resource Name (ARN) that uniquely identifies a specific billing view. The ARN
6161
+ * is used to specify which particular billing view you want to interact with or retrieve
6162
+ * information from when making API calls related to Amazon Web Services Billing and Cost
6163
+ * Management features. The BillingViewArn can be retrieved by calling the ListBillingViews
6164
+ * API.</p>
6165
+ * @public
6166
+ */
6167
+ BillingViewArn?: string | undefined;
6132
6168
  /**
6133
6169
  * <p>Cost Explorer always returns the mean forecast as a single point. You can request a
6134
6170
  * prediction interval around the mean by specifying a confidence level. The higher the
@@ -6518,6 +6554,15 @@ export interface GetDimensionValuesRequest {
6518
6554
  * @public
6519
6555
  */
6520
6556
  SortBy?: SortDefinition[] | undefined;
6557
+ /**
6558
+ * <p>The Amazon Resource Name (ARN) that uniquely identifies a specific billing view. The ARN
6559
+ * is used to specify which particular billing view you want to interact with or retrieve
6560
+ * information from when making API calls related to Amazon Web Services Billing and Cost
6561
+ * Management features. The BillingViewArn can be retrieved by calling the ListBillingViews
6562
+ * API.</p>
6563
+ * @public
6564
+ */
6565
+ BillingViewArn?: string | undefined;
6521
6566
  /**
6522
6567
  * <p>This field is only used when SortBy is provided in the request. The maximum number of
6523
6568
  * objects that are returned for this request. If MaxResults isn't specified with SortBy, the
@@ -7847,6 +7892,15 @@ export interface GetTagsRequest {
7847
7892
  * @public
7848
7893
  */
7849
7894
  SortBy?: SortDefinition[] | undefined;
7895
+ /**
7896
+ * <p>The Amazon Resource Name (ARN) that uniquely identifies a specific billing view. The ARN
7897
+ * is used to specify which particular billing view you want to interact with or retrieve
7898
+ * information from when making API calls related to Amazon Web Services Billing and Cost
7899
+ * Management features. The BillingViewArn can be retrieved by calling the ListBillingViews
7900
+ * API.</p>
7901
+ * @public
7902
+ */
7903
+ BillingViewArn?: string | undefined;
7850
7904
  /**
7851
7905
  * <p>This field is only used when SortBy is provided in the request. The maximum number of
7852
7906
  * objects that are returned for this request. If MaxResults isn't specified with SortBy, the
@@ -8022,6 +8076,15 @@ export interface GetUsageForecastRequest {
8022
8076
  * @public
8023
8077
  */
8024
8078
  Filter?: Expression | undefined;
8079
+ /**
8080
+ * <p>The Amazon Resource Name (ARN) that uniquely identifies a specific billing view. The ARN
8081
+ * is used to specify which particular billing view you want to interact with or retrieve
8082
+ * information from when making API calls related to Amazon Web Services Billing and Cost
8083
+ * Management features. The BillingViewArn can be retrieved by calling the ListBillingViews
8084
+ * API.</p>
8085
+ * @public
8086
+ */
8087
+ BillingViewArn?: string | undefined;
8025
8088
  /**
8026
8089
  * <p>Amazon Web Services Cost Explorer always returns the mean forecast as a single point.
8027
8090
  * You can request a prediction interval around the mean by specifying a confidence level. The
@@ -1371,6 +1371,7 @@ export interface GetCostAndUsageRequest {
1371
1371
  Filter?: Expression | undefined;
1372
1372
  Metrics: string[] | undefined;
1373
1373
  GroupBy?: GroupDefinition[] | undefined;
1374
+ BillingViewArn?: string | undefined;
1374
1375
  NextPageToken?: string | undefined;
1375
1376
  }
1376
1377
  export interface GetCostAndUsageWithResourcesRequest {
@@ -1379,6 +1380,7 @@ export interface GetCostAndUsageWithResourcesRequest {
1379
1380
  Filter: Expression | undefined;
1380
1381
  Metrics?: string[] | undefined;
1381
1382
  GroupBy?: GroupDefinition[] | undefined;
1383
+ BillingViewArn?: string | undefined;
1382
1384
  NextPageToken?: string | undefined;
1383
1385
  }
1384
1386
  export interface GetCostCategoriesRequest {
@@ -1387,6 +1389,7 @@ export interface GetCostCategoriesRequest {
1387
1389
  CostCategoryName?: string | undefined;
1388
1390
  Filter?: Expression | undefined;
1389
1391
  SortBy?: SortDefinition[] | undefined;
1392
+ BillingViewArn?: string | undefined;
1390
1393
  MaxResults?: number | undefined;
1391
1394
  NextPageToken?: string | undefined;
1392
1395
  }
@@ -1395,6 +1398,7 @@ export interface GetCostForecastRequest {
1395
1398
  Metric: Metric | undefined;
1396
1399
  Granularity: Granularity | undefined;
1397
1400
  Filter?: Expression | undefined;
1401
+ BillingViewArn?: string | undefined;
1398
1402
  PredictionIntervalLevel?: number | undefined;
1399
1403
  }
1400
1404
  export interface GetDimensionValuesRequest {
@@ -1404,6 +1408,7 @@ export interface GetDimensionValuesRequest {
1404
1408
  Context?: Context | undefined;
1405
1409
  Filter?: Expression | undefined;
1406
1410
  SortBy?: SortDefinition[] | undefined;
1411
+ BillingViewArn?: string | undefined;
1407
1412
  MaxResults?: number | undefined;
1408
1413
  NextPageToken?: string | undefined;
1409
1414
  }
@@ -1485,6 +1490,7 @@ export interface GetTagsRequest {
1485
1490
  TagKey?: string | undefined;
1486
1491
  Filter?: Expression | undefined;
1487
1492
  SortBy?: SortDefinition[] | undefined;
1493
+ BillingViewArn?: string | undefined;
1488
1494
  MaxResults?: number | undefined;
1489
1495
  NextPageToken?: string | undefined;
1490
1496
  }
@@ -1493,6 +1499,7 @@ export interface GetUsageForecastRequest {
1493
1499
  Metric: Metric | undefined;
1494
1500
  Granularity: Granularity | undefined;
1495
1501
  Filter?: Expression | undefined;
1502
+ BillingViewArn?: string | undefined;
1496
1503
  PredictionIntervalLevel?: number | undefined;
1497
1504
  }
1498
1505
  export interface UpdateAnomalySubscriptionRequest {
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.716.0",
4
+ "version": "3.717.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cost-explorer",