@aws-sdk/client-cost-explorer 3.782.0 → 3.787.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
@@ -123,6 +123,9 @@ __export(index_exports, {
123
123
  UpdateCostAllocationTagsStatusCommand: () => UpdateCostAllocationTagsStatusCommand,
124
124
  UpdateCostCategoryDefinitionCommand: () => UpdateCostCategoryDefinitionCommand,
125
125
  __Client: () => import_smithy_client.Client,
126
+ paginateGetAnomalies: () => paginateGetAnomalies,
127
+ paginateGetAnomalyMonitors: () => paginateGetAnomalyMonitors,
128
+ paginateGetAnomalySubscriptions: () => paginateGetAnomalySubscriptions,
126
129
  paginateGetSavingsPlansCoverage: () => paginateGetSavingsPlansCoverage,
127
130
  paginateGetSavingsPlansUtilizationDetails: () => paginateGetSavingsPlansUtilizationDetails,
128
131
  paginateListCostAllocationTagBackfillHistory: () => paginateListCostAllocationTagBackfillHistory,
@@ -3133,6 +3136,18 @@ var CostExplorer = class extends CostExplorerClient {
3133
3136
  };
3134
3137
  (0, import_smithy_client.createAggregatedClient)(commands, CostExplorer);
3135
3138
 
3139
+ // src/pagination/GetAnomaliesPaginator.ts
3140
+
3141
+ var paginateGetAnomalies = (0, import_core.createPaginator)(CostExplorerClient, GetAnomaliesCommand, "NextPageToken", "NextPageToken", "MaxResults");
3142
+
3143
+ // src/pagination/GetAnomalyMonitorsPaginator.ts
3144
+
3145
+ var paginateGetAnomalyMonitors = (0, import_core.createPaginator)(CostExplorerClient, GetAnomalyMonitorsCommand, "NextPageToken", "NextPageToken", "MaxResults");
3146
+
3147
+ // src/pagination/GetAnomalySubscriptionsPaginator.ts
3148
+
3149
+ var paginateGetAnomalySubscriptions = (0, import_core.createPaginator)(CostExplorerClient, GetAnomalySubscriptionsCommand, "NextPageToken", "NextPageToken", "MaxResults");
3150
+
3136
3151
  // src/pagination/GetSavingsPlansCoveragePaginator.ts
3137
3152
 
3138
3153
  var paginateGetSavingsPlansCoverage = (0, import_core.createPaginator)(CostExplorerClient, GetSavingsPlansCoverageCommand, "NextToken", "NextToken", "MaxResults");
@@ -3204,6 +3219,9 @@ var paginateListCostCategoryDefinitions = (0, import_core.createPaginator)(CostE
3204
3219
  UpdateAnomalySubscriptionCommand,
3205
3220
  UpdateCostAllocationTagsStatusCommand,
3206
3221
  UpdateCostCategoryDefinitionCommand,
3222
+ paginateGetAnomalies,
3223
+ paginateGetAnomalyMonitors,
3224
+ paginateGetAnomalySubscriptions,
3207
3225
  paginateGetSavingsPlansCoverage,
3208
3226
  paginateGetSavingsPlansUtilizationDetails,
3209
3227
  paginateListCostAllocationTagBackfillHistory,
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { GetAnomaliesCommand, } from "../commands/GetAnomaliesCommand";
3
+ import { CostExplorerClient } from "../CostExplorerClient";
4
+ export const paginateGetAnomalies = createPaginator(CostExplorerClient, GetAnomaliesCommand, "NextPageToken", "NextPageToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { GetAnomalyMonitorsCommand, } from "../commands/GetAnomalyMonitorsCommand";
3
+ import { CostExplorerClient } from "../CostExplorerClient";
4
+ export const paginateGetAnomalyMonitors = createPaginator(CostExplorerClient, GetAnomalyMonitorsCommand, "NextPageToken", "NextPageToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { GetAnomalySubscriptionsCommand, } from "../commands/GetAnomalySubscriptionsCommand";
3
+ import { CostExplorerClient } from "../CostExplorerClient";
4
+ export const paginateGetAnomalySubscriptions = createPaginator(CostExplorerClient, GetAnomalySubscriptionsCommand, "NextPageToken", "NextPageToken", "MaxResults");
@@ -1,3 +1,6 @@
1
+ export * from "./GetAnomaliesPaginator";
2
+ export * from "./GetAnomalyMonitorsPaginator";
3
+ export * from "./GetAnomalySubscriptionsPaginator";
1
4
  export * from "./GetSavingsPlansCoveragePaginator";
2
5
  export * from "./GetSavingsPlansUtilizationDetailsPaginator";
3
6
  export * from "./Interfaces";
@@ -28,7 +28,7 @@ declare const StartCostAllocationTagBackfillCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>
31
- * Request a cost allocation tag backfill. This will backfill the activation status (either <code>active</code> or <code>inactive</code>) for all tag keys from <code>para:BackfillFrom</code> up to the when this request is made.</p>
31
+ * Request a cost allocation tag backfill. This will backfill the activation status (either <code>active</code> or <code>inactive</code>) for all tag keys from <code>para:BackfillFrom</code> up to the time this request is made.</p>
32
32
  * <p>You can request a backfill once every 24 hours.
33
33
  * </p>
34
34
  * @example
@@ -727,7 +727,7 @@ export interface DimensionValues {
727
727
  * <p>Not all dimensions are supported in each API. Refer to the documentation for each
728
728
  * specific API to see what is supported.</p>
729
729
  * <p>
730
- * <code>LINK_ACCOUNT_NAME</code> and <code>SERVICE_CODE</code> can only be used in
730
+ * <code>LINKED_ACCOUNT_NAME</code> and <code>SERVICE_CODE</code> can only be used in
731
731
  * <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategoryRule.html">CostCategoryRule</a>.</p>
732
732
  * <p>
733
733
  * <code>ANOMALY_TOTAL_IMPACT_ABSOLUTE</code> and
@@ -5712,9 +5712,6 @@ export interface GetCostAndUsageWithResourcesRequest {
5712
5712
  * <code>SERVICE</code> and <code>LINKED_ACCOUNT</code> and get the costs that are associated
5713
5713
  * with that account's usage of that service. You can nest <code>Expression</code> objects to
5714
5714
  * define any combination of dimension filters. For more information, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a>. </p>
5715
- * <p>The <code>GetCostAndUsageWithResources</code> operation requires that you either group
5716
- * by or filter by a <code>ResourceId</code>. It requires the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a>
5717
- * <code>"SERVICE = Amazon Elastic Compute Cloud - Compute"</code> in the filter.</p>
5718
5715
  * <p>Valid values for <code>MatchOptions</code> for <code>Dimensions</code> are
5719
5716
  * <code>EQUALS</code> and <code>CASE_SENSITIVE</code>.</p>
5720
5717
  * <p>Valid values for <code>MatchOptions</code> for <code>CostCategories</code> and
@@ -6054,11 +6051,6 @@ export interface GetCostForecastRequest {
6054
6051
  * </li>
6055
6052
  * <li>
6056
6053
  * <p>
6057
- * <code>LINKED_ACCOUNT_NAME</code>
6058
- * </p>
6059
- * </li>
6060
- * <li>
6061
- * <p>
6062
6054
  * <code>OPERATION</code>
6063
6055
  * </p>
6064
6056
  * </li>
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { GetAnomaliesCommandInput, GetAnomaliesCommandOutput } from "../commands/GetAnomaliesCommand";
3
+ import { CostExplorerPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateGetAnomalies: (config: CostExplorerPaginationConfiguration, input: GetAnomaliesCommandInput, ...rest: any[]) => Paginator<GetAnomaliesCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { GetAnomalyMonitorsCommandInput, GetAnomalyMonitorsCommandOutput } from "../commands/GetAnomalyMonitorsCommand";
3
+ import { CostExplorerPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateGetAnomalyMonitors: (config: CostExplorerPaginationConfiguration, input: GetAnomalyMonitorsCommandInput, ...rest: any[]) => Paginator<GetAnomalyMonitorsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { GetAnomalySubscriptionsCommandInput, GetAnomalySubscriptionsCommandOutput } from "../commands/GetAnomalySubscriptionsCommand";
3
+ import { CostExplorerPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateGetAnomalySubscriptions: (config: CostExplorerPaginationConfiguration, input: GetAnomalySubscriptionsCommandInput, ...rest: any[]) => Paginator<GetAnomalySubscriptionsCommandOutput>;
@@ -1,3 +1,6 @@
1
+ export * from "./GetAnomaliesPaginator";
2
+ export * from "./GetAnomalyMonitorsPaginator";
3
+ export * from "./GetAnomalySubscriptionsPaginator";
1
4
  export * from "./GetSavingsPlansCoveragePaginator";
2
5
  export * from "./GetSavingsPlansUtilizationDetailsPaginator";
3
6
  export * from "./Interfaces";
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ GetAnomaliesCommandInput,
4
+ GetAnomaliesCommandOutput,
5
+ } from "../commands/GetAnomaliesCommand";
6
+ import { CostExplorerPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateGetAnomalies: (
8
+ config: CostExplorerPaginationConfiguration,
9
+ input: GetAnomaliesCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<GetAnomaliesCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ GetAnomalyMonitorsCommandInput,
4
+ GetAnomalyMonitorsCommandOutput,
5
+ } from "../commands/GetAnomalyMonitorsCommand";
6
+ import { CostExplorerPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateGetAnomalyMonitors: (
8
+ config: CostExplorerPaginationConfiguration,
9
+ input: GetAnomalyMonitorsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<GetAnomalyMonitorsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ GetAnomalySubscriptionsCommandInput,
4
+ GetAnomalySubscriptionsCommandOutput,
5
+ } from "../commands/GetAnomalySubscriptionsCommand";
6
+ import { CostExplorerPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateGetAnomalySubscriptions: (
8
+ config: CostExplorerPaginationConfiguration,
9
+ input: GetAnomalySubscriptionsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<GetAnomalySubscriptionsCommandOutput>;
@@ -1,3 +1,6 @@
1
+ export * from "./GetAnomaliesPaginator";
2
+ export * from "./GetAnomalyMonitorsPaginator";
3
+ export * from "./GetAnomalySubscriptionsPaginator";
1
4
  export * from "./GetSavingsPlansCoveragePaginator";
2
5
  export * from "./GetSavingsPlansUtilizationDetailsPaginator";
3
6
  export * from "./Interfaces";
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.782.0",
4
+ "version": "3.787.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",
@@ -21,16 +21,16 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.775.0",
24
- "@aws-sdk/credential-provider-node": "3.782.0",
24
+ "@aws-sdk/credential-provider-node": "3.787.0",
25
25
  "@aws-sdk/middleware-host-header": "3.775.0",
26
26
  "@aws-sdk/middleware-logger": "3.775.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
- "@aws-sdk/middleware-user-agent": "3.782.0",
28
+ "@aws-sdk/middleware-user-agent": "3.787.0",
29
29
  "@aws-sdk/region-config-resolver": "3.775.0",
30
30
  "@aws-sdk/types": "3.775.0",
31
- "@aws-sdk/util-endpoints": "3.782.0",
31
+ "@aws-sdk/util-endpoints": "3.787.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.775.0",
33
- "@aws-sdk/util-user-agent-node": "3.782.0",
33
+ "@aws-sdk/util-user-agent-node": "3.787.0",
34
34
  "@smithy/config-resolver": "^4.1.0",
35
35
  "@smithy/core": "^3.2.0",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",